@konnectio/core 4.3.2 → 4.3.4

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 (97) hide show
  1. package/dist/{ActionField-CJSfD00B.js → ActionField-aNzOb2ZE.js} +6 -6
  2. package/dist/ActionField-aNzOb2ZE.js.br +0 -0
  3. package/dist/ActionField-aNzOb2ZE.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-DahaxHPu.js → AvailabilitySkeleton-BEQboDHw.js} +16 -16
  5. package/dist/AvailabilitySkeleton-BEQboDHw.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-BEQboDHw.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js} +2 -2
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js.gz +0 -0
  10. package/dist/{CheckoutWindow-O_qYS9cd.js → CheckoutWindow-BmHYd2-t.js} +2 -2
  11. package/dist/CheckoutWindow-BmHYd2-t.js.br +0 -0
  12. package/dist/CheckoutWindow-BmHYd2-t.js.gz +0 -0
  13. package/dist/{ErrorMessage-CyJcdPZh.js → ErrorMessage-CR6nsvpG.js} +2 -2
  14. package/dist/ErrorMessage-CR6nsvpG.js.br +0 -0
  15. package/dist/ErrorMessage-CR6nsvpG.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-BHriF2rh.js → EventAvailabilityForm-BifH0nPI.js} +7 -7
  17. package/dist/EventAvailabilityForm-BifH0nPI.js.br +0 -0
  18. package/dist/EventAvailabilityForm-BifH0nPI.js.gz +0 -0
  19. package/dist/{Field-DqD7cEr0.js → Field-B2jdmjrN.js} +3 -3
  20. package/dist/Field-B2jdmjrN.js.br +0 -0
  21. package/dist/Field-B2jdmjrN.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js} +2 -2
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js → SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js} +1901 -1857
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js.gz +0 -0
  28. package/dist/{TermsOfService-DEcUhi2o.js → TermsOfService-DbQt3pLi.js} +3 -3
  29. package/dist/TermsOfService-DbQt3pLi.js.br +0 -0
  30. package/dist/TermsOfService-DbQt3pLi.js.gz +0 -0
  31. package/dist/_-CCH1RDZD.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js → _.vue_vue_type_style_index_0_lang-DRp7kMrC.js} +2 -2
  33. package/dist/_.vue_vue_type_style_index_0_lang-DRp7kMrC.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-DRp7kMrC.js.gz +0 -0
  35. package/dist/availability.js +6 -6
  36. package/dist/availability.js.br +0 -0
  37. package/dist/availability.js.gz +0 -0
  38. package/dist/cancel-reservation.js +3 -3
  39. package/dist/cancel-reservation.js.br +0 -0
  40. package/dist/cancel-reservation.js.gz +0 -0
  41. package/dist/core.css +1 -1
  42. package/dist/core.css.br +0 -0
  43. package/dist/core.css.gz +0 -0
  44. package/dist/event.js +619 -597
  45. package/dist/event.js.br +0 -0
  46. package/dist/event.js.gz +0 -0
  47. package/dist/gift-card-validation.js +7 -7
  48. package/dist/gift-card-validation.js.br +0 -0
  49. package/dist/gift-card-validation.js.gz +0 -0
  50. package/dist/gift-card.js +23 -23
  51. package/dist/gift-card.js.br +0 -0
  52. package/dist/gift-card.js.gz +0 -0
  53. package/dist/{giftCard-DQSmKUJS.js → giftCard-DuYeuLQX.js} +10 -10
  54. package/dist/giftCard-DuYeuLQX.js.br +0 -0
  55. package/dist/giftCard-DuYeuLQX.js.gz +0 -0
  56. package/dist/hotel.js +482 -476
  57. package/dist/hotel.js.br +0 -0
  58. package/dist/hotel.js.gz +0 -0
  59. package/dist/{index-BuCHQzvO.js → index-DmkBVtIQ.js} +214 -206
  60. package/dist/index-DmkBVtIQ.js.br +0 -0
  61. package/dist/index-DmkBVtIQ.js.gz +0 -0
  62. package/dist/{masonry.plugin-CK1Ecitm.js → masonry.plugin-BX6FQ1DO.js} +5 -5
  63. package/dist/masonry.plugin-BX6FQ1DO.js.br +0 -0
  64. package/dist/masonry.plugin-BX6FQ1DO.js.gz +0 -0
  65. package/dist/polyfill.js +6065 -5759
  66. package/dist/polyfill.js.br +0 -0
  67. package/dist/polyfill.js.gz +0 -0
  68. package/package.json +11 -11
  69. package/dist/ActionField-CJSfD00B.js.br +0 -0
  70. package/dist/ActionField-CJSfD00B.js.gz +0 -0
  71. package/dist/AvailabilitySkeleton-DahaxHPu.js.br +0 -0
  72. package/dist/AvailabilitySkeleton-DahaxHPu.js.gz +0 -0
  73. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js.br +0 -0
  74. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js.gz +0 -0
  75. package/dist/CheckoutWindow-O_qYS9cd.js.br +0 -0
  76. package/dist/CheckoutWindow-O_qYS9cd.js.gz +0 -0
  77. package/dist/ErrorMessage-CyJcdPZh.js.br +0 -0
  78. package/dist/ErrorMessage-CyJcdPZh.js.gz +0 -0
  79. package/dist/EventAvailabilityForm-BHriF2rh.js.br +0 -0
  80. package/dist/EventAvailabilityForm-BHriF2rh.js.gz +0 -0
  81. package/dist/Field-DqD7cEr0.js.br +0 -0
  82. package/dist/Field-DqD7cEr0.js.gz +0 -0
  83. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js.br +0 -0
  84. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js.gz +0 -0
  85. package/dist/SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js.br +0 -0
  86. package/dist/SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js.gz +0 -0
  87. package/dist/TermsOfService-DEcUhi2o.js.br +0 -0
  88. package/dist/TermsOfService-DEcUhi2o.js.gz +0 -0
  89. package/dist/_-Dr00NgKV.js +0 -5
  90. package/dist/_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.br +0 -0
  91. package/dist/_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.gz +0 -0
  92. package/dist/giftCard-DQSmKUJS.js.br +0 -0
  93. package/dist/giftCard-DQSmKUJS.js.gz +0 -0
  94. package/dist/index-BuCHQzvO.js.br +0 -0
  95. package/dist/index-BuCHQzvO.js.gz +0 -0
  96. package/dist/masonry.plugin-CK1Ecitm.js.br +0 -0
  97. package/dist/masonry.plugin-CK1Ecitm.js.gz +0 -0
package/dist/hotel.js CHANGED
@@ -1,14 +1,14 @@
1
- import { d as Dt, h as A, b as M, e as y, i as Z, F as ut, v as Ct, J as Ke, K as jn, a as rt, L as Yn, j as Ti, n as Se, M as wr, u as Jt, s as Ft, r as Gt, N as Pr, g as l, z as gt, A as Cr, w as it, t as O, E as xe, G as Ne, f as B, q as Xn, C as Tr, c as Tt, x as io, O as Ko, o as lo, D as rn, S as Mr, P as xr, k as Sr, _ as Ar, l as Ir, m as Or, p as zr } from "./mitt-CWSmi8M-.js";
2
- import { f as Er } from "./index-BuCHQzvO.js";
1
+ import { d as Dt, h as A, b as x, e as y, i as Z, F as ut, v as Ct, J as Ke, K as jn, a as at, L as Yn, j as Ti, n as Se, M as wr, u as Jt, s as Ft, r as Gt, N as Pr, g as l, z as gt, A as Cr, w as it, t as O, E as xe, G as Ne, f as B, q as Xn, C as Tr, c as Tt, x as io, O as Jo, o as lo, D as rn, S as Mr, P as xr, k as Sr, _ as Ar, l as Ir, m as Or, p as zr } from "./mitt-CWSmi8M-.js";
2
+ import { f as Er } from "./index-DmkBVtIQ.js";
3
3
  import { G as Br } from "./style-DJF9fHLt.js";
4
- import { R as Zr, B as an, L as Dr, S as Nr, M as Rr, T as Vr, C as Jo, b as Kn, V as Hr, a as Fr } from "./masonry.plugin-CK1Ecitm.js";
5
- import { _ as Qt, f as Re, b as fe, u as Mi, I as Pt, s as ce, k as ki, l as Jn, q as Pe, o as se, r as no, a as uo, d as ln, E as Gr, F as vs, e as oe, h as wi, B as ys, H as Qo, w as Ur, T as ne, J as $r, M as ts, p as es, K as Wr, N as is, C as qr, t as ns } from "./SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js";
6
- import { A as jr, H as Yr } from "./AvailabilitySkeleton-DahaxHPu.js";
7
- import { S as Xr } from "./TermsOfService-DEcUhi2o.js";
8
- import { a as oo, B as bs, C as Kr, P as Jr } from "./CheckoutWindow-O_qYS9cd.js";
9
- import { A as Qr } from "./ActionField-CJSfD00B.js";
4
+ import { R as Zr, B as an, L as Dr, S as Nr, M as Rr, T as Vr, C as Qo, b as Kn, V as Hr, a as Fr } from "./masonry.plugin-BX6FQ1DO.js";
5
+ import { _ as Qt, f as Re, b as fe, u as Mi, I as Pt, s as ce, m as ki, l as Jn, r as Pe, p as se, t as no, a as uo, d as ln, F as Gr, h as ho, e as oe, i as wi, B as ys, H as ts, x as Ur, T as ne, J as $r, M as es, q as is, K as Wr, N as ns, C as qr, v as os } from "./SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js";
6
+ import { A as jr, H as Yr } from "./AvailabilitySkeleton-BEQboDHw.js";
7
+ import { S as Xr } from "./TermsOfService-DbQt3pLi.js";
8
+ import { a as oo, B as bs, C as Kr, P as Jr } from "./CheckoutWindow-BmHYd2-t.js";
9
+ import { A as Qr } from "./ActionField-aNzOb2ZE.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-B_vADqmB.js";
11
+ import { _ as Ls } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js";
12
12
  function so(h, f = {}, d) {
13
13
  for (const m in h) {
14
14
  const w = h[m], o = d ? `${d}:${m}` : m;
@@ -137,7 +137,7 @@ class sa {
137
137
  function ra() {
138
138
  return new sa();
139
139
  }
140
- function os(h, f) {
140
+ function ss(h, f) {
141
141
  return f ? {
142
142
  width: window.innerWidth,
143
143
  height: window.innerHeight,
@@ -145,10 +145,10 @@ function os(h, f) {
145
145
  top: 0
146
146
  } : h.getBoundingClientRect();
147
147
  }
148
- function ss(h, f) {
148
+ function rs(h, f) {
149
149
  return h && window.matchMedia && window.matchMedia(`(max-width: ${f}px)`).matches;
150
150
  }
151
- function rs() {
151
+ function as() {
152
152
  return {
153
153
  onLoadCallback: null,
154
154
  bounds: {},
@@ -272,7 +272,7 @@ const fa = Dt({
272
272
  };
273
273
  },
274
274
  created() {
275
- this.imgProps = rs(), ss(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
275
+ this.imgProps = as(), rs(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
276
276
  },
277
277
  computed: {
278
278
  validSources: function() {
@@ -287,7 +287,7 @@ const fa = Dt({
287
287
  this.isActive = !0, this.zoomType === "hover" && !this.isZoomed && this.handleClick(h);
288
288
  },
289
289
  handleTouchStart() {
290
- this.isTouch = !0, this.isFullscreen = ss(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
290
+ this.isTouch = !0, this.isFullscreen = rs(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
291
291
  },
292
292
  handleClick(h) {
293
293
  if (this.isZoomed) {
@@ -298,7 +298,7 @@ const fa = Dt({
298
298
  },
299
299
  handleLoad(h) {
300
300
  const f = la(h.target, this.zoomScale);
301
- this.imgProps.zoomImg = h.target, this.imgProps.zoomImg.setAttribute("width", f.width), this.imgProps.zoomImg.setAttribute("height", f.height), this.imgProps.scaledDimensions = f, this.imgProps.bounds = os(this.$refs.img, !1), this.imgProps.ratios = aa(this.imgProps.bounds, f), this.imgProps.onLoadCallback && (this.imgProps.onLoadCallback(), this.imgProps.onLoadCallback = null);
301
+ this.imgProps.zoomImg = h.target, this.imgProps.zoomImg.setAttribute("width", f.width), this.imgProps.zoomImg.setAttribute("height", f.height), this.imgProps.scaledDimensions = f, this.imgProps.bounds = ss(this.$refs.img, !1), this.imgProps.ratios = aa(this.imgProps.bounds, f), this.imgProps.onLoadCallback && (this.imgProps.onLoadCallback(), this.imgProps.onLoadCallback = null);
302
302
  },
303
303
  handleMouseMove(h) {
304
304
  const f = da(h, this.imgProps);
@@ -329,7 +329,7 @@ const fa = Dt({
329
329
  this.zoomOut(() => {
330
330
  setTimeout(
331
331
  () => {
332
- (this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps = rs()), this.isTouch = !1, this.isFullscreen = !1, this.currentMoveType = this.moveType;
332
+ (this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps = as()), this.isTouch = !1, this.isFullscreen = !1, this.currentMoveType = this.moveType;
333
333
  },
334
334
  this.isFullscreen ? 0 : this.fadeDuration
335
335
  );
@@ -345,7 +345,7 @@ const fa = Dt({
345
345
  },
346
346
  initialDragMove(h) {
347
347
  const f = ua(h, this.imgProps, this.isFullscreen);
348
- this.imgProps.bounds = os(this.$refs.img, this.isFullscreen), this.imgProps.offsets = to(0, 0, 0, 0), this.handleDragMove({
348
+ this.imgProps.bounds = ss(this.$refs.img, this.isFullscreen), this.imgProps.offsets = to(0, 0, 0, 0), this.handleDragMove({
349
349
  ...f,
350
350
  preventDefault: () => {
351
351
  },
@@ -365,7 +365,7 @@ const fa = Dt({
365
365
  class: "iiz__btn iiz__hint"
366
366
  };
367
367
  function La(h, f, d, m, w, o) {
368
- return M(), A("figure", Ke({
368
+ return x(), A("figure", Ke({
369
369
  class: ["iiz", {
370
370
  ...h.className && { [h.className]: h.className },
371
371
  "iiz--drag": h.currentMoveType === "drag"
@@ -390,8 +390,8 @@ function La(h, f, d, m, w, o) {
390
390
  paddingTop: h.createSpacer ? `${(h.height || 0) / (h.width || 0) * 100}%` : void 0
391
391
  })
392
392
  }, [
393
- h.validSources ? (M(), A("picture", pa, [
394
- (M(!0), A(ut, null, Ct(h.validSources, (r, u) => (M(), A("source", Ke({ key: u }, { ref_for: !0 }, r), null, 16))), 128)),
393
+ h.validSources ? (x(), A("picture", pa, [
394
+ (x(!0), A(ut, null, Ct(h.validSources, (r, u) => (x(), A("source", Ke({ key: u }, { ref_for: !0 }, r), null, 16))), 128)),
395
395
  y("img", Ke(h.imgAttributes, {
396
396
  class: ["iiz__img", [h.imgAttributes.className || "", { "iiz__img--hidden": h.isZoomed, "iiz__img--abs": h.createSpacer }]],
397
397
  style: {
@@ -401,7 +401,7 @@ function La(h, f, d, m, w, o) {
401
401
  width: h.width,
402
402
  height: h.height
403
403
  }), null, 16, ma)
404
- ])) : (M(), A("img", Ke({ key: 1 }, h.imgAttributes, {
404
+ ])) : (x(), A("img", Ke({ key: 1 }, h.imgAttributes, {
405
405
  class: ["iiz__img", [h.imgAttributes.className || "", { "iiz__img--hidden": h.isZoomed, "iiz__img--abs": h.createSpacer }]],
406
406
  style: {
407
407
  transition: `linear 0ms opacity ${h.isZoomed ? h.fadeDuration : 0}ms, linear 0ms visibility ${h.isZoomed ? h.fadeDuration : 0}ms`
@@ -411,8 +411,8 @@ function La(h, f, d, m, w, o) {
411
411
  height: h.height
412
412
  }), null, 16, _a))
413
413
  ], 4),
414
- h.isActive ? (M(), A(ut, { key: 0 }, [
415
- h.isFullscreen ? (M(), rt(wr, {
414
+ h.isActive ? (x(), A(ut, { key: 0 }, [
415
+ h.isFullscreen ? (x(), at(wr, {
416
416
  key: 0,
417
417
  to: "body"
418
418
  }, [
@@ -435,7 +435,7 @@ function La(h, f, d, m, w, o) {
435
435
  mouseup: h.handleDragEnd,
436
436
  click: h.handleClick
437
437
  }, !0)), null, 16, va),
438
- !h.hideCloseButton && h.currentMoveType === "drag" ? (M(), A("button", {
438
+ !h.hideCloseButton && h.currentMoveType === "drag" ? (x(), A("button", {
439
439
  key: 0,
440
440
  type: "button",
441
441
  class: Se(["iiz__btn iiz__close", { "iiz__close--visible": h.isZoomed }]),
@@ -446,7 +446,7 @@ function La(h, f, d, m, w, o) {
446
446
  onClick: f[0] || (f[0] = Ti((...r) => h.handleClose && h.handleClose(...r), ["stop"]))
447
447
  }, null, 6)) : Z("", !0)
448
448
  ])
449
- ])) : (M(), A(ut, { key: 1 }, [
449
+ ])) : (x(), A(ut, { key: 1 }, [
450
450
  y("img", Ke({
451
451
  class: ["iiz__zoom-img", { "iiz__zoom-img--visible": h.isZoomed }],
452
452
  alt: "",
@@ -464,7 +464,7 @@ function La(h, f, d, m, w, o) {
464
464
  mousedown: h.handleDragStart,
465
465
  mouseup: h.handleDragEnd
466
466
  }, !0)), null, 16, ya),
467
- !h.hideCloseButton && h.currentMoveType === "drag" ? (M(), A("button", {
467
+ !h.hideCloseButton && h.currentMoveType === "drag" ? (x(), A("button", {
468
468
  key: 0,
469
469
  class: Se(["iiz__btn iiz__close", { "iiz__close--visible": h.isZoomed }]),
470
470
  type: "button",
@@ -476,7 +476,7 @@ function La(h, f, d, m, w, o) {
476
476
  }, null, 6)) : Z("", !0)
477
477
  ], 64))
478
478
  ], 64)) : Z("", !0),
479
- !h.isZoomed && !h.hideHint ? (M(), A("span", ba)) : Z("", !0)
479
+ !h.isZoomed && !h.hideHint ? (x(), A("span", ba)) : Z("", !0)
480
480
  ], 16);
481
481
  }
482
482
  const ka = /* @__PURE__ */ Qt(fa, [["render", La], ["__scopeId", "data-v-71b2d8af"]]), wa = { key: 0 }, Pa = { class: "konnectio-hotel-reservation-warning" }, Ca = { class: "konnectio-hotel-reservation-warning" }, Ta = { class: "konnectio-hotel-reservation-warning" }, Ma = { class: "konnectio-hotel-reservation-title" }, xa = { class: "konnectio-hotel-reservation-information" }, Sa = { class: "konnectio-hotel-reservation-guests" }, Aa = { key: 0 }, Ia = {
@@ -514,13 +514,13 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
514
514
  getSelectedPackageRoom: v,
515
515
  selectedPackage: P,
516
516
  discountVouchers: g,
517
- currentArrivalDate: x,
517
+ currentArrivalDate: M,
518
518
  currentDepartureDate: C,
519
519
  datesMismatch: N,
520
520
  currentLocation: I,
521
521
  locationMismatch: z,
522
522
  newsMails: R,
523
- termsOfService: at,
523
+ termsOfService: nt,
524
524
  discountCode: lt,
525
525
  hasTermOfService: vt,
526
526
  acceptTerms: Mt,
@@ -531,37 +531,37 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
531
531
  templateRoomTotalPrice: q,
532
532
  weekendFee: At
533
533
  } = Ft(fe()), { hasHotelLocations: ht } = Ft(Mi()), { removeRoom: Vt, validateDiscountCode: dt, getMandatoryRoomGroupAddons: zt } = fe(), { getHotelLocationName: G } = Mi(), pe = Gt(!1);
534
- function U(nt) {
535
- return nt.reduce((bt, { totalPrice: Y }) => bt + Y, 0);
534
+ function U(ot) {
535
+ return ot.reduce((bt, { totalPrice: Y }) => bt + Y, 0);
536
536
  }
537
- return (nt, ct) => {
537
+ return (ot, ct) => {
538
538
  const bt = Pr("tooltip");
539
- return M(), rt(Zr, {
539
+ return x(), at(Zr, {
540
540
  "discount-code": l(lt),
541
541
  "onUpdate:discountCode": ct[4] || (ct[4] = (Y) => gt(lt) ? lt.value = Y : null),
542
542
  "validate-discount-code": l(dt),
543
543
  "total-price": l(_),
544
544
  "weekend-fee": l(At),
545
- "show-gift-card": nt.showGiftCard,
546
- "show-terms-notice": nt.showTermsNotice,
545
+ "show-gift-card": ot.showGiftCard,
546
+ "show-terms-notice": ot.showTermsNotice,
547
547
  "is-sidebar-loading": l(b),
548
548
  notice: l(f)("hotel.reservationNotice"),
549
- "prev-callback": nt.prevCallback
549
+ "prev-callback": ot.prevCallback
550
550
  }, Cr({
551
551
  form: it(() => [
552
- Xn(nt.$slots, "form", {}, void 0, !0)
552
+ Xn(ot.$slots, "form", {}, void 0, !0)
553
553
  ]),
554
554
  "price-summary": it(() => [
555
- isNaN(l(c)) && l(u).length > 0 ? (M(!0), A(ut, { key: 0 }, Ct(l(u), ({
555
+ isNaN(l(c)) && l(u).length > 0 ? (x(!0), A(ut, { key: 0 }, Ct(l(u), ({
556
556
  roomGroupID: Y,
557
- title: ot,
557
+ title: st,
558
558
  variants: Q
559
- }) => (M(), A("div", { key: Y }, [
559
+ }) => (x(), A("div", { key: Y }, [
560
560
  y("h6", null, [
561
- y("span", null, O(l(Pe)(ot)), 1)
561
+ y("span", null, O(l(Pe)(st)), 1)
562
562
  ]),
563
- (M(!0), A(ut, null, Ct(Q, (Et, Ut) => (M(), A("div", { key: Ut }, [
564
- (M(!0), A(ut, null, Ct(Et.rooms, (Ht, $t) => (M(), A("ul", { key: $t }, [
563
+ (x(!0), A(ut, null, Ct(Q, (Et, Ut) => (x(), A("div", { key: Ut }, [
564
+ (x(!0), A(ut, null, Ct(Et.rooms, (Ht, $t) => (x(), A("ul", { key: $t }, [
565
565
  y("li", null, [
566
566
  y("span", Ma, O(l(Pe)(Et.name)), 1),
567
567
  y("span", xa, [
@@ -574,7 +574,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
574
574
  }),
575
575
  y("span", null, O(Ht.adultsCount), 1)
576
576
  ]),
577
- Ht.childrenCount > 0 ? (M(), A("span", Aa, [
577
+ Ht.childrenCount > 0 ? (x(), A("span", Aa, [
578
578
  B(Pt, {
579
579
  icon: "child",
580
580
  type: "fas",
@@ -583,21 +583,21 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
583
583
  y("span", null, O(Ht.childrenCount), 1)
584
584
  ])) : Z("", !0)
585
585
  ]),
586
- Ht.roomName ? (M(), A("span", Ia, "(" + O(Ht.roomName) + ")", 1)) : Z("", !0)
586
+ Ht.roomName ? (x(), A("span", Ia, "(" + O(Ht.roomName) + ")", 1)) : Z("", !0)
587
587
  ]),
588
588
  y("b", null, [
589
589
  y("span", null, O(l(se)(Ht.totalPrice, l(m))), 1),
590
590
  Z("", !0)
591
591
  ])
592
592
  ]),
593
- U(Ht.roomAddons) > 0 ? (M(), A("li", Oa, [
593
+ U(Ht.roomAddons) > 0 ? (x(), A("li", Oa, [
594
594
  y("span", null, O(l(f)("general.addons")), 1),
595
595
  y("b", null, O(l(se)(U(Ht.roomAddons), l(m))), 1)
596
596
  ])) : Z("", !0)
597
597
  ]))), 128))
598
598
  ]))), 128))
599
599
  ]))), 128)) : Z("", !0),
600
- l(v) && l(P) ? (M(), A("div", za, [
600
+ l(v) && l(P) ? (x(), A("div", za, [
601
601
  y("h6", null, [
602
602
  y("span", null, O(l(Pe)(l(P).name)), 1)
603
603
  ]),
@@ -610,14 +610,14 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
610
610
  y("b", null, [
611
611
  y("span", null, O(l(se)(l(q), l(m))), 1)
612
612
  ]),
613
- l(zt)(l(v).id) ? (M(!0), A(ut, { key: 0 }, Ct(l(zt)(l(v).id), (Y) => (M(), A(ut, null, [
613
+ l(zt)(l(v).id) ? (x(!0), A(ut, { key: 0 }, Ct(l(zt)(l(v).id), (Y) => (x(), A(ut, null, [
614
614
  y("span", null, "- " + O(Y.name), 1),
615
615
  y("b", null, [
616
616
  y("span", null, O(l(se)(Y.price, l(m))), 1)
617
617
  ])
618
618
  ], 64))), 256)) : Z("", !0)
619
619
  ]),
620
- l(xt) ? (M(), A("li", Ea, [
620
+ l(xt) ? (x(), A("li", Ea, [
621
621
  y("span", null, O(l(f)("general.addons")), 1),
622
622
  y("b", null, O(l(se)(l(xt), l(m))), 1)
623
623
  ])) : Z("", !0)
@@ -627,7 +627,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
627
627
  ]),
628
628
  actions: it(() => [
629
629
  y("ul", Ba, [
630
- l(d) ? Z("", !0) : (M(), A("div", Za, [
630
+ l(d) ? Z("", !0) : (x(), A("div", Za, [
631
631
  B(oo, {
632
632
  modelValue: l(R),
633
633
  "onUpdate:modelValue": ct[0] || (ct[0] = (Y) => gt(R) ? R.value = Y : null),
@@ -636,7 +636,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
636
636
  label: l(f)("booking.reservation.newsletterSignUp")
637
637
  }, null, 8, ["modelValue", "label"])
638
638
  ])),
639
- l(vt) ? (M(), A("div", Da, [
639
+ l(vt) ? (x(), A("div", Da, [
640
640
  B(oo, {
641
641
  modelValue: l(Mt),
642
642
  "onUpdate:modelValue": ct[2] || (ct[2] = (Y) => gt(Mt) ? Mt.value = Y : null),
@@ -663,28 +663,28 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
663
663
  _: 1
664
664
  }, 8, ["modelValue"])
665
665
  ])) : Z("", !0),
666
- Xn(nt.$slots, "actions", {}, void 0, !0),
666
+ Xn(ot.$slots, "actions", {}, void 0, !0),
667
667
  B(Xr, {
668
668
  modelValue: pe.value,
669
669
  "onUpdate:modelValue": ct[3] || (ct[3] = (Y) => pe.value = Y),
670
- description: l(at)
670
+ description: l(nt)
671
671
  }, null, 8, ["modelValue", "description"])
672
672
  ])
673
673
  ]),
674
674
  navigation: it(() => [
675
- Xn(nt.$slots, "navigation", {}, void 0, !0)
675
+ Xn(ot.$slots, "navigation", {}, void 0, !0)
676
676
  ]),
677
677
  "mobile-under-price": it(() => [
678
678
  y("span", null, O(l(f)("general.for")) + ": ", 1),
679
- y("b", null, O(l(ki)(l(x), l(C))) + " " + O(l(Jn)(l(ki)(l(x), l(C)) === 1 ? l(f)("booking.reservation.night") : l(f)("booking.reservation.nights"))), 1),
680
- xe((M(), A("span", Na, [
679
+ y("b", null, O(l(ki)(l(M), l(C))) + " " + O(l(Jn)(l(ki)(l(M), l(C)) === 1 ? l(f)("booking.reservation.night") : l(f)("booking.reservation.nights"))), 1),
680
+ xe((x(), A("span", Na, [
681
681
  B(Pt, {
682
682
  icon: "circle-info",
683
683
  type: "fas"
684
684
  })
685
685
  ])), [
686
686
  [bt, {
687
- content: `<span>(${l(ce)(l(x))} - ${l(ce)(l(C))})</span>`,
687
+ content: `<span>(${l(ce)(l(M))} - ${l(ce)(l(C))})</span>`,
688
688
  classes: ["tooltip", "konnectio-tooltip"],
689
689
  html: !0
690
690
  }]
@@ -700,7 +700,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
700
700
  isNaN(l(I)) ? void 0 : {
701
701
  name: "reservation-summary",
702
702
  fn: it(() => [
703
- l(ht) ? (M(), A("li", wa, [
703
+ l(ht) ? (x(), A("li", wa, [
704
704
  y("span", null, O(l(f)("general.location")), 1),
705
705
  y("b", null, [
706
706
  y("span", null, O(l(G)(l(I))), 1),
@@ -717,7 +717,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
717
717
  y("li", null, [
718
718
  y("span", null, O(l(f)("booking.reservation.arrival")), 1),
719
719
  y("b", null, [
720
- y("span", null, O(l(w)(l(I)) ? `${l(ce)(l(x))}, ${l(o)}` : l(ce)(l(x))), 1),
720
+ y("span", null, O(l(w)(l(I)) ? `${l(ce)(l(M))}, ${l(o)}` : l(ce)(l(M))), 1),
721
721
  xe(y("span", Ca, [
722
722
  B(Pt, {
723
723
  icon: "exclamation-triangle",
@@ -744,9 +744,9 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
744
744
  ]),
745
745
  y("li", null, [
746
746
  y("span", null, O(l(f)("booking.reservation.nights")), 1),
747
- y("b", null, O(l(ki)(l(x), l(C))) + " " + O(l(Jn)(l(ki)(l(x), l(C)) === 1 ? l(f)("booking.reservation.night") : l(f)("booking.reservation.nights"))), 1)
747
+ y("b", null, O(l(ki)(l(M), l(C))) + " " + O(l(Jn)(l(ki)(l(M), l(C)) === 1 ? l(f)("booking.reservation.night") : l(f)("booking.reservation.nights"))), 1)
748
748
  ]),
749
- l(g) ? (M(!0), A(ut, { key: 1 }, Ct(l(g), (Y) => (M(), A("li", {
749
+ l(g) ? (x(!0), A(ut, { key: 1 }, Ct(l(g), (Y) => (x(), A("li", {
750
750
  key: Y.id
751
751
  }, [
752
752
  y("span", null, O(`${l(f)("general.discountCode")} (${Y.value})`), 1),
@@ -779,7 +779,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
779
779
  }
780
780
  await m.checkGuestDiscount(o.value) && (d.gid = o.value.toString());
781
781
  }
782
- return (u, c) => (M(), A("form", Va, [
782
+ return (u, c) => (x(), A("form", Va, [
783
783
  y("div", Ha, [
784
784
  y("h3", Fa, [
785
785
  y("span", null, O(l(f)("guestDiscount.title")), 1)
@@ -821,7 +821,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
821
821
  get: () => o.modelValue,
822
822
  set: (c) => r(c)
823
823
  });
824
- return (c, _) => (M(), rt(ln, {
824
+ return (c, _) => (x(), at(ln, {
825
825
  modelValue: u.value,
826
826
  "onUpdate:modelValue": _[0] || (_[0] = (b) => u.value = b),
827
827
  label: c.label,
@@ -843,7 +843,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
843
843
  color: "font"
844
844
  }),
845
845
  y("span", null, O(`${b.adults}`), 1),
846
- b.children > 0 ? (M(), A("span", qa, [
846
+ b.children > 0 ? (x(), A("span", qa, [
847
847
  B(Pt, {
848
848
  icon: "child",
849
849
  type: "fas",
@@ -862,7 +862,7 @@ const Oa = { key: 0 }, za = { key: 1 }, Ea = { key: 0 }, Ba = { class: "konnecti
862
862
  Z("", !0),
863
863
  y("span", null, O(`${b.adults} ${b.adults === 1 ? l(d)("general.adult") : l(d)("general.adults")}`), 1)
864
864
  ]),
865
- b.children > 0 ? (M(), A("div", Xa, [
865
+ b.children > 0 ? (x(), A("div", Xa, [
866
866
  Z("", !0),
867
867
  y("span", null, O(`& ${b.children} ${b.children === 1 ? l(d)("general.child") : l(d)("general.children")}`), 1)
868
868
  ])) : Z("", !0)
@@ -882,9 +882,9 @@ var Pi = { exports: {} };
882
882
  * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
883
883
  * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
884
884
  */
885
- var tl = Pi.exports, as;
885
+ var tl = Pi.exports, ls;
886
886
  function el() {
887
- return as || (as = 1, function(h, f) {
887
+ return ls || (ls = 1, function(h, f) {
888
888
  (function(d, m) {
889
889
  m(f);
890
890
  })(tl, function(d) {
@@ -942,7 +942,7 @@ function el() {
942
942
  function g(t) {
943
943
  return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "");
944
944
  }
945
- function x(t) {
945
+ function M(t) {
946
946
  return g(t).split(/\s+/);
947
947
  }
948
948
  function C(t, e) {
@@ -969,7 +969,7 @@ function el() {
969
969
  var R = Array.isArray || function(t) {
970
970
  return Object.prototype.toString.call(t) === "[object Array]";
971
971
  };
972
- function at(t, e) {
972
+ function nt(t, e) {
973
973
  for (var i = 0; i < t.length; i++)
974
974
  if (t[i] === e)
975
975
  return i;
@@ -1010,12 +1010,12 @@ function el() {
1010
1010
  falseFn: v,
1011
1011
  formatNum: P,
1012
1012
  trim: g,
1013
- splitWords: x,
1013
+ splitWords: M,
1014
1014
  setOptions: C,
1015
1015
  getParamString: N,
1016
1016
  template: z,
1017
1017
  isArray: R,
1018
- indexOf: at,
1018
+ indexOf: nt,
1019
1019
  emptyImageUrl: lt,
1020
1020
  requestFn: Nt,
1021
1021
  cancelFn: W,
@@ -1069,7 +1069,7 @@ function el() {
1069
1069
  for (var n in t)
1070
1070
  this._on(n, t[n], e);
1071
1071
  else {
1072
- t = x(t);
1072
+ t = M(t);
1073
1073
  for (var s = 0, a = t.length; s < a; s++)
1074
1074
  this._on(t[s], e, i);
1075
1075
  }
@@ -1093,7 +1093,7 @@ function el() {
1093
1093
  for (var n in t)
1094
1094
  this._off(n, t[n], e);
1095
1095
  else {
1096
- t = x(t);
1096
+ t = M(t);
1097
1097
  for (var s = arguments.length === 1, a = 0, p = t.length; a < p; a++)
1098
1098
  s ? this._off(t[a]) : this._off(t[a], e, i);
1099
1099
  }
@@ -1195,7 +1195,7 @@ function el() {
1195
1195
  for (var n in t)
1196
1196
  this._on(n, t[n], e, !0);
1197
1197
  else {
1198
- t = x(t);
1198
+ t = M(t);
1199
1199
  for (var s = 0, a = t.length; s < a; s++)
1200
1200
  this._on(t[s], e, i, !0);
1201
1201
  }
@@ -1337,12 +1337,12 @@ function el() {
1337
1337
  function U(t, e, i) {
1338
1338
  return t instanceof G ? t : R(t) ? new G(t[0], t[1]) : t == null ? t : typeof t == "object" && "x" in t && "y" in t ? new G(t.x, t.y) : new G(t, e, i);
1339
1339
  }
1340
- function nt(t, e) {
1340
+ function ot(t, e) {
1341
1341
  if (t)
1342
1342
  for (var i = e ? [t, e] : t, n = 0, s = i.length; n < s; n++)
1343
1343
  this.extend(i[n]);
1344
1344
  }
1345
- nt.prototype = {
1345
+ ot.prototype = {
1346
1346
  // @method extend(point: Point): this
1347
1347
  // Extends the bounds to contain the given point.
1348
1348
  // @alternative
@@ -1399,7 +1399,7 @@ function el() {
1399
1399
  // Returns `true` if the rectangle contains the given point.
1400
1400
  contains: function(t) {
1401
1401
  var e, i;
1402
- return typeof t[0] == "number" || t instanceof G ? t = U(t) : t = ct(t), t instanceof nt ? (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;
1402
+ return typeof t[0] == "number" || t instanceof G ? t = U(t) : t = ct(t), t instanceof ot ? (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;
1403
1403
  },
1404
1404
  // @method intersects(otherBounds: Bounds): Boolean
1405
1405
  // Returns `true` if the rectangle intersects the given bounds. Two bounds
@@ -1440,7 +1440,7 @@ function el() {
1440
1440
  }
1441
1441
  };
1442
1442
  function ct(t, e) {
1443
- return !t || t instanceof nt ? t : new nt(t, e);
1443
+ return !t || t instanceof ot ? t : new ot(t, e);
1444
1444
  }
1445
1445
  function bt(t, e) {
1446
1446
  if (t)
@@ -1455,14 +1455,14 @@ function el() {
1455
1455
  // Extend the bounds to contain the given bounds
1456
1456
  extend: function(t) {
1457
1457
  var e = this._southWest, i = this._northEast, n, s;
1458
- if (t instanceof ot)
1458
+ if (t instanceof st)
1459
1459
  n = t, s = t;
1460
1460
  else if (t instanceof bt) {
1461
1461
  if (n = t._southWest, s = t._northEast, !n || !s)
1462
1462
  return this;
1463
1463
  } else
1464
1464
  return t ? this.extend(Q(t) || Y(t)) : this;
1465
- return !e && !i ? (this._southWest = new ot(n.lat, n.lng), this._northEast = new ot(s.lat, s.lng)) : (e.lat = Math.min(n.lat, e.lat), e.lng = Math.min(n.lng, e.lng), i.lat = Math.max(s.lat, i.lat), i.lng = Math.max(s.lng, i.lng)), this;
1465
+ return !e && !i ? (this._southWest = new st(n.lat, n.lng), this._northEast = new st(s.lat, s.lng)) : (e.lat = Math.min(n.lat, e.lat), e.lng = Math.min(n.lng, e.lng), i.lat = Math.max(s.lat, i.lat), i.lng = Math.max(s.lng, i.lng)), this;
1466
1466
  },
1467
1467
  // @method pad(bufferRatio: Number): LatLngBounds
1468
1468
  // Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.
@@ -1471,14 +1471,14 @@ function el() {
1471
1471
  pad: function(t) {
1472
1472
  var e = this._southWest, i = this._northEast, n = Math.abs(e.lat - i.lat) * t, s = Math.abs(e.lng - i.lng) * t;
1473
1473
  return new bt(
1474
- new ot(e.lat - n, e.lng - s),
1475
- new ot(i.lat + n, i.lng + s)
1474
+ new st(e.lat - n, e.lng - s),
1475
+ new st(i.lat + n, i.lng + s)
1476
1476
  );
1477
1477
  },
1478
1478
  // @method getCenter(): LatLng
1479
1479
  // Returns the center point of the bounds.
1480
1480
  getCenter: function() {
1481
- return new ot(
1481
+ return new st(
1482
1482
  (this._southWest.lat + this._northEast.lat) / 2,
1483
1483
  (this._southWest.lng + this._northEast.lng) / 2
1484
1484
  );
@@ -1496,12 +1496,12 @@ function el() {
1496
1496
  // @method getNorthWest(): LatLng
1497
1497
  // Returns the north-west point of the bounds.
1498
1498
  getNorthWest: function() {
1499
- return new ot(this.getNorth(), this.getWest());
1499
+ return new st(this.getNorth(), this.getWest());
1500
1500
  },
1501
1501
  // @method getSouthEast(): LatLng
1502
1502
  // Returns the south-east point of the bounds.
1503
1503
  getSouthEast: function() {
1504
- return new ot(this.getSouth(), this.getEast());
1504
+ return new st(this.getSouth(), this.getEast());
1505
1505
  },
1506
1506
  // @method getWest(): Number
1507
1507
  // Returns the west longitude of the bounds
@@ -1529,7 +1529,7 @@ function el() {
1529
1529
  // @method contains (latlng: LatLng): Boolean
1530
1530
  // Returns `true` if the rectangle contains the given point.
1531
1531
  contains: function(t) {
1532
- typeof t[0] == "number" || t instanceof ot || "lat" in t ? t = Q(t) : t = Y(t);
1532
+ typeof t[0] == "number" || t instanceof st || "lat" in t ? t = Q(t) : t = Y(t);
1533
1533
  var e = this._southWest, i = this._northEast, n, s;
1534
1534
  return t instanceof bt ? (n = t.getSouthWest(), s = t.getNorthEast()) : n = s = t, n.lat >= e.lat && s.lat <= i.lat && n.lng >= e.lng && s.lng <= i.lng;
1535
1535
  },
@@ -1566,12 +1566,12 @@ function el() {
1566
1566
  function Y(t, e) {
1567
1567
  return t instanceof bt ? t : new bt(t, e);
1568
1568
  }
1569
- function ot(t, e, i) {
1569
+ function st(t, e, i) {
1570
1570
  if (isNaN(t) || isNaN(e))
1571
1571
  throw new Error("Invalid LatLng object: (" + t + ", " + e + ")");
1572
1572
  this.lat = +t, this.lng = +e, i !== void 0 && (this.alt = +i);
1573
1573
  }
1574
- ot.prototype = {
1574
+ st.prototype = {
1575
1575
  // @method equals(otherLatLng: LatLng, maxMargin?: Number): Boolean
1576
1576
  // Returns `true` if the given `LatLng` point is at the same position (within a small margin of error). The margin of error can be overridden by setting `maxMargin` to a small number.
1577
1577
  equals: function(t, e) {
@@ -1609,11 +1609,11 @@ function el() {
1609
1609
  );
1610
1610
  },
1611
1611
  clone: function() {
1612
- return new ot(this.lat, this.lng, this.alt);
1612
+ return new st(this.lat, this.lng, this.alt);
1613
1613
  }
1614
1614
  };
1615
1615
  function Q(t, e, i) {
1616
- return t instanceof ot ? t : R(t) && typeof t[0] != "object" ? t.length === 3 ? new ot(t[0], t[1], t[2]) : t.length === 2 ? new ot(t[0], t[1]) : null : t == null ? t : typeof t == "object" && "lat" in t ? new ot(t.lat, "lng" in t ? t.lng : t.lon, t.alt) : e === void 0 ? null : new ot(t, e, i);
1616
+ return t instanceof st ? t : R(t) && typeof t[0] != "object" ? t.length === 3 ? new st(t[0], t[1], t[2]) : t.length === 2 ? new st(t[0], t[1]) : null : t == null ? t : typeof t == "object" && "lat" in t ? new st(t.lat, "lng" in t ? t.lng : t.lon, t.alt) : e === void 0 ? null : new st(t, e, i);
1617
1617
  }
1618
1618
  var Et = {
1619
1619
  // @method latLngToPoint(latlng: LatLng, zoom: Number): Point
@@ -1660,7 +1660,7 @@ function el() {
1660
1660
  if (this.infinite)
1661
1661
  return null;
1662
1662
  var e = this.projection.bounds, i = this.scale(t), n = this.transformation.transform(e.min, i), s = this.transformation.transform(e.max, i);
1663
- return new nt(n, s);
1663
+ return new ot(n, s);
1664
1664
  },
1665
1665
  // @method distance(latlng1: LatLng, latlng2: LatLng): Number
1666
1666
  // Returns the distance between two geographical coordinates.
@@ -1684,7 +1684,7 @@ function el() {
1684
1684
  // CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.
1685
1685
  wrapLatLng: function(t) {
1686
1686
  var e = this.wrapLng ? b(t.lng, this.wrapLng, !0) : t.lng, i = this.wrapLat ? b(t.lat, this.wrapLat, !0) : t.lat, n = t.alt;
1687
- return new ot(i, e, n);
1687
+ return new st(i, e, n);
1688
1688
  },
1689
1689
  // @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds
1690
1690
  // Returns a `LatLngBounds` with the same size as the given one, ensuring
@@ -1694,7 +1694,7 @@ function el() {
1694
1694
  var e = t.getCenter(), i = this.wrapLatLng(e), n = e.lat - i.lat, s = e.lng - i.lng;
1695
1695
  if (n === 0 && s === 0)
1696
1696
  return t;
1697
- var a = t.getSouthWest(), p = t.getNorthEast(), k = new ot(a.lat - n, a.lng - s), T = new ot(p.lat - n, p.lng - s);
1697
+ var a = t.getSouthWest(), p = t.getNorthEast(), k = new st(a.lat - n, a.lng - s), T = new st(p.lat - n, p.lng - s);
1698
1698
  return new bt(k, T);
1699
1699
  }
1700
1700
  }, Ut = w({}, Et, {
@@ -1720,14 +1720,14 @@ function el() {
1720
1720
  },
1721
1721
  unproject: function(t) {
1722
1722
  var e = 180 / Math.PI;
1723
- return new ot(
1723
+ return new st(
1724
1724
  (2 * Math.atan(Math.exp(t.y / this.R)) - Math.PI / 2) * e,
1725
1725
  t.x * e / this.R
1726
1726
  );
1727
1727
  },
1728
1728
  bounds: function() {
1729
1729
  var t = Ht * Math.PI;
1730
- return new nt([-t, -t], [t, t]);
1730
+ return new ot([-t, -t], [t, t]);
1731
1731
  }()
1732
1732
  };
1733
1733
  function Ce(t, e, i, n) {
@@ -1909,7 +1909,7 @@ function el() {
1909
1909
  return;
1910
1910
  }
1911
1911
  if (!(a.pointerType === "mouse" || a.sourceCapabilities && !a.sourceCapabilities.firesTouchEvents)) {
1912
- var p = fo(a);
1912
+ var p = po(a);
1913
1913
  if (!(p.some(function(T) {
1914
1914
  return T instanceof HTMLLabelElement && T.attributes.for;
1915
1915
  }) && !p.some(function(T) {
@@ -1972,7 +1972,7 @@ function el() {
1972
1972
  }
1973
1973
  function K(t, e) {
1974
1974
  if (t.classList !== void 0)
1975
- for (var i = x(e), n = 0, s = i.length; n < s; n++)
1975
+ for (var i = M(e), n = 0, s = i.length; n < s; n++)
1976
1976
  t.classList.add(i[n]);
1977
1977
  else if (!hi(t, e)) {
1978
1978
  var a = Gi(t);
@@ -2052,7 +2052,7 @@ function el() {
2052
2052
  function Wi() {
2053
2053
  $i && ($i.style.outlineStyle = Sn, $i = void 0, Sn = void 0, mt(window, "keydown", Wi));
2054
2054
  }
2055
- function ho(t) {
2055
+ function co(t) {
2056
2056
  do
2057
2057
  t = t.parentNode;
2058
2058
  while ((!t.offsetWidth || !t.offsetHeight) && t !== document.body);
@@ -2098,7 +2098,7 @@ function el() {
2098
2098
  enableImageDrag: xn,
2099
2099
  preventOutline: An,
2100
2100
  restoreOutline: Wi,
2101
- getSizedParentNode: ho,
2101
+ getSizedParentNode: co,
2102
2102
  getScale: In
2103
2103
  };
2104
2104
  function X(t, e, i, n) {
@@ -2106,7 +2106,7 @@ function el() {
2106
2106
  for (var s in e)
2107
2107
  zn(t, s, e[s], i);
2108
2108
  else {
2109
- e = x(e);
2109
+ e = M(e);
2110
2110
  for (var a = 0, p = e.length; a < p; a++)
2111
2111
  zn(t, e[a], i, n);
2112
2112
  }
@@ -2115,20 +2115,20 @@ function el() {
2115
2115
  var ue = "_leaflet_events";
2116
2116
  function mt(t, e, i, n) {
2117
2117
  if (arguments.length === 1)
2118
- co(t), delete t[ue];
2118
+ fo(t), delete t[ue];
2119
2119
  else if (e && typeof e == "object")
2120
2120
  for (var s in e)
2121
2121
  En(t, s, e[s], i);
2122
- else if (e = x(e), arguments.length === 2)
2123
- co(t, function(k) {
2124
- return at(e, k) !== -1;
2122
+ else if (e = M(e), arguments.length === 2)
2123
+ fo(t, function(k) {
2124
+ return nt(e, k) !== -1;
2125
2125
  });
2126
2126
  else
2127
2127
  for (var a = 0, p = e.length; a < p; a++)
2128
2128
  En(t, e[a], i, n);
2129
2129
  return this;
2130
2130
  }
2131
- function co(t, e) {
2131
+ function fo(t, e) {
2132
2132
  for (var i in t[ue]) {
2133
2133
  var n = i.split(/\d/)[0];
2134
2134
  (!e || e(n)) && En(t, n, null, null, i);
@@ -2172,14 +2172,14 @@ function el() {
2172
2172
  function Ze(t) {
2173
2173
  return It(t), Be(t), this;
2174
2174
  }
2175
- function fo(t) {
2175
+ function po(t) {
2176
2176
  if (t.composedPath)
2177
2177
  return t.composedPath();
2178
2178
  for (var e = [], i = t.target; i; )
2179
2179
  e.push(i), i = i.parentNode;
2180
2180
  return e;
2181
2181
  }
2182
- function po(t, e) {
2182
+ function mo(t, e) {
2183
2183
  if (!e)
2184
2184
  return new G(t.clientX, t.clientY);
2185
2185
  var i = In(e), n = i.boundingClientRect;
@@ -2191,7 +2191,7 @@ function el() {
2191
2191
  );
2192
2192
  }
2193
2193
  var As = V.linux && V.chrome ? window.devicePixelRatio : V.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
2194
- function mo(t) {
2194
+ function _o(t) {
2195
2195
  return V.edge ? t.wheelDeltaY / 2 : (
2196
2196
  // Don't trust window-geometry-based delta
2197
2197
  t.deltaY && t.deltaMode === 0 ? -t.deltaY / As : (
@@ -2239,13 +2239,13 @@ function el() {
2239
2239
  disableClickPropagation: pi,
2240
2240
  preventDefault: It,
2241
2241
  stop: Ze,
2242
- getPropagationPath: fo,
2243
- getMousePosition: po,
2244
- getWheelDelta: mo,
2242
+ getPropagationPath: po,
2243
+ getMousePosition: mo,
2244
+ getWheelDelta: _o,
2245
2245
  isExternalTarget: Zn,
2246
2246
  addListener: X,
2247
2247
  removeListener: mt
2248
- }, _o = zt.extend({
2248
+ }, go = zt.extend({
2249
2249
  // @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
2250
2250
  // Run an animation of a given element to a new position, optionally setting
2251
2251
  // duration in seconds (`0.25` by default) and easing linearity factor (3rd
@@ -2276,7 +2276,7 @@ function el() {
2276
2276
  _easeOut: function(t) {
2277
2277
  return 1 - Math.pow(1 - t, this._easeOutPower);
2278
2278
  }
2279
- }), st = zt.extend({
2279
+ }), rt = zt.extend({
2280
2280
  options: {
2281
2281
  // @section Map State Options
2282
2282
  // @option crs: CRS = L.CRS.EPSG3857
@@ -2435,7 +2435,7 @@ function el() {
2435
2435
  return this.fire("moveend");
2436
2436
  if (e.animate !== !0 && !this.getSize().contains(t))
2437
2437
  return this._resetView(this.unproject(this.project(this.getCenter()).add(t)), this.getZoom()), this;
2438
- if (this._panAnim || (this._panAnim = new _o(), this._panAnim.on({
2438
+ if (this._panAnim || (this._panAnim = new go(), this._panAnim.on({
2439
2439
  step: this._onPanTransitionStep,
2440
2440
  end: this._onPanTransitionEnd
2441
2441
  }, this)), e.noMoveStart || this.fire("movestart"), e.animate !== !1) {
@@ -2457,7 +2457,7 @@ function el() {
2457
2457
  t = Q(t), e = e === void 0 ? p : e;
2458
2458
  var k = Math.max(a.x, a.y), T = k * this.getZoomScale(p, e), S = s.distanceTo(n) || 1, E = 1.42, $ = E * E;
2459
2459
  function tt(wt) {
2460
- var sn = wt ? -1 : 1, yr = wt ? T : k, br = T * T - k * k + sn * $ * $ * S * S, Lr = 2 * yr * $ * S, qn = br / Lr, Xo = Math.sqrt(qn * qn + 1) - qn, kr = Xo < 1e-9 ? -18 : Math.log(Xo);
2460
+ var sn = wt ? -1 : 1, yr = wt ? T : k, br = T * T - k * k + sn * $ * $ * S * S, Lr = 2 * yr * $ * S, qn = br / Lr, Ko = Math.sqrt(qn * qn + 1) - qn, kr = Ko < 1e-9 ? -18 : Math.log(Ko);
2461
2461
  return kr;
2462
2462
  }
2463
2463
  function Zt(wt) {
@@ -2479,16 +2479,16 @@ function el() {
2479
2479
  function _r(wt) {
2480
2480
  return 1 - Math.pow(1 - wt, 1.5);
2481
2481
  }
2482
- var gr = Date.now(), jo = (tt(1) - Rt) / E, vr = i.duration ? 1e3 * i.duration : 1e3 * jo * 0.8;
2483
- function Yo() {
2484
- var wt = (Date.now() - gr) / vr, sn = _r(wt) * jo;
2485
- wt <= 1 ? (this._flyToFrame = j(Yo, this), this._move(
2482
+ var gr = Date.now(), Yo = (tt(1) - Rt) / E, vr = i.duration ? 1e3 * i.duration : 1e3 * Yo * 0.8;
2483
+ function Xo() {
2484
+ var wt = (Date.now() - gr) / vr, sn = _r(wt) * Yo;
2485
+ wt <= 1 ? (this._flyToFrame = j(Xo, this), this._move(
2486
2486
  this.unproject(n.add(s.subtract(n).multiplyBy(mr(sn) / S)), p),
2487
2487
  this.getScaleZoom(k / Xe(sn), p),
2488
2488
  { flyTo: !0 }
2489
2489
  )) : this._move(t, e)._moveEnd(!0);
2490
2490
  }
2491
- return this._moveStart(!0, i.noMoveStart), Yo.call(this), this;
2491
+ return this._moveStart(!0, i.noMoveStart), Xo.call(this), this;
2492
2492
  },
2493
2493
  // @method flyToBounds(bounds: LatLngBounds, options?: fitBounds options): this
2494
2494
  // Sets the view of the map with a smooth animation like [`flyTo`](#map-flyto),
@@ -2612,7 +2612,7 @@ function el() {
2612
2612
  },
2613
2613
  _handleGeolocationResponse: function(t) {
2614
2614
  if (this._container._leaflet_id) {
2615
- var e = t.coords.latitude, i = t.coords.longitude, n = new ot(e, i), s = n.toBounds(t.coords.accuracy * 2), a = this._locateOptions;
2615
+ var e = t.coords.latitude, i = t.coords.longitude, n = new st(e, i), s = n.toBounds(t.coords.accuracy * 2), a = this._locateOptions;
2616
2616
  if (a.setView) {
2617
2617
  var p = this.getBoundsZoom(s);
2618
2618
  this.setView(n, a.maxZoom ? Math.min(p, a.maxZoom) : p);
@@ -2714,7 +2714,7 @@ function el() {
2714
2714
  // coordinates (sometimes useful in layer and overlay implementations).
2715
2715
  getPixelBounds: function(t, e) {
2716
2716
  var i = this._getTopLeftPoint(t, e);
2717
- return new nt(i, i.add(this.getSize()));
2717
+ return new ot(i, i.add(this.getSize()));
2718
2718
  },
2719
2719
  // TODO: Check semantics - isn't the pixel origin the 0,0 coord relative to
2720
2720
  // the map pane? "left point of the map layer" can be confusing, specially
@@ -2846,7 +2846,7 @@ function el() {
2846
2846
  // Given a MouseEvent object, returns the pixel coordinate relative to the
2847
2847
  // map container where the event took place.
2848
2848
  mouseEventToContainerPoint: function(t) {
2849
- return po(t, this._container);
2849
+ return mo(t, this._container);
2850
2850
  },
2851
2851
  // @method mouseEventToLayerPoint(ev: MouseEvent): Point
2852
2852
  // Given a MouseEvent object, returns the pixel coordinate relative to
@@ -2985,7 +2985,7 @@ function el() {
2985
2985
  T.containerPoint = S ? this.latLngToContainerPoint(k.getLatLng()) : this.mouseEventToContainerPoint(t), T.layerPoint = this.containerPointToLayerPoint(T.containerPoint), T.latlng = S ? k.getLatLng() : this.layerPointToLatLng(T.layerPoint);
2986
2986
  }
2987
2987
  for (p = 0; p < s.length; p++)
2988
- if (s[p].fire(e, T, !0), T.originalEvent._stopped || s[p].options.bubblingMouseEvents === !1 && at(this._mouseEvents, e) !== -1)
2988
+ if (s[p].fire(e, T, !0), T.originalEvent._stopped || s[p].options.bubblingMouseEvents === !1 && nt(this._mouseEvents, e) !== -1)
2989
2989
  return;
2990
2990
  }
2991
2991
  },
@@ -3045,14 +3045,14 @@ function el() {
3045
3045
  _limitCenter: function(t, e, i) {
3046
3046
  if (!i)
3047
3047
  return t;
3048
- var n = this.project(t, e), s = this.getSize().divideBy(2), a = new nt(n.subtract(s), n.add(s)), p = this._getBoundsOffset(a, i, e);
3048
+ var n = this.project(t, e), s = this.getSize().divideBy(2), a = new ot(n.subtract(s), n.add(s)), p = this._getBoundsOffset(a, i, e);
3049
3049
  return Math.abs(p.x) <= 1 && Math.abs(p.y) <= 1 ? t : this.unproject(n.add(p), e);
3050
3050
  },
3051
3051
  // adjust offset for view to get inside bounds
3052
3052
  _limitOffset: function(t, e) {
3053
3053
  if (!e)
3054
3054
  return t;
3055
- var i = this.getPixelBounds(), n = new nt(i.min.add(t), i.max.add(t));
3055
+ var i = this.getPixelBounds(), n = new ot(i.min.add(t), i.max.add(t));
3056
3056
  return t.add(this._getBoundsOffset(n, e));
3057
3057
  },
3058
3058
  // returns offset needed for pxBounds to get inside maxBounds at a specified zoom
@@ -3122,7 +3122,7 @@ function el() {
3122
3122
  }
3123
3123
  });
3124
3124
  function Os(t, e) {
3125
- return new st(t, e);
3125
+ return new rt(t, e);
3126
3126
  }
3127
3127
  var ee = ht.extend({
3128
3128
  // @section
@@ -3174,7 +3174,7 @@ function el() {
3174
3174
  }), mi = function(t) {
3175
3175
  return new ee(t);
3176
3176
  };
3177
- st.include({
3177
+ rt.include({
3178
3178
  // @method addControl(control: Control): this
3179
3179
  // Adds the given control to the map
3180
3180
  addControl: function(t) {
@@ -3199,7 +3199,7 @@ function el() {
3199
3199
  _t(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
3200
3200
  }
3201
3201
  });
3202
- var go = ee.extend({
3202
+ var vo = ee.extend({
3203
3203
  // @section
3204
3204
  // @aka Control.Layers options
3205
3205
  options: {
@@ -3368,7 +3368,7 @@ function el() {
3368
3368
  });
3369
3369
  }
3370
3370
  }), zs = function(t, e, i) {
3371
- return new go(t, e, i);
3371
+ return new vo(t, e, i);
3372
3372
  }, Dn = ee.extend({
3373
3373
  // @section
3374
3374
  // @aka Control.Zoom options
@@ -3427,14 +3427,14 @@ function el() {
3427
3427
  yt(this._zoomInButton, e), yt(this._zoomOutButton, e), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || t._zoom === t.getMinZoom()) && (K(this._zoomOutButton, e), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || t._zoom === t.getMaxZoom()) && (K(this._zoomInButton, e), this._zoomInButton.setAttribute("aria-disabled", "true"));
3428
3428
  }
3429
3429
  });
3430
- st.mergeOptions({
3430
+ rt.mergeOptions({
3431
3431
  zoomControl: !0
3432
- }), st.addInitHook(function() {
3432
+ }), rt.addInitHook(function() {
3433
3433
  this.options.zoomControl && (this.zoomControl = new Dn(), this.addControl(this.zoomControl));
3434
3434
  });
3435
3435
  var Es = function(t) {
3436
3436
  return new Dn(t);
3437
- }, vo = ee.extend({
3437
+ }, yo = ee.extend({
3438
3438
  // @section
3439
3439
  // @aka Control.Scale options
3440
3440
  options: {
@@ -3487,7 +3487,7 @@ function el() {
3487
3487
  return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
3488
3488
  }
3489
3489
  }), Bs = function(t) {
3490
- return new vo(t);
3490
+ return new yo(t);
3491
3491
  }, Zs = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', Nn = ee.extend({
3492
3492
  // @section
3493
3493
  // @aka Control.Attribution options
@@ -3539,15 +3539,15 @@ function el() {
3539
3539
  }
3540
3540
  }
3541
3541
  });
3542
- st.mergeOptions({
3542
+ rt.mergeOptions({
3543
3543
  attributionControl: !0
3544
- }), st.addInitHook(function() {
3544
+ }), rt.addInitHook(function() {
3545
3545
  this.options.attributionControl && new Nn().addTo(this);
3546
3546
  });
3547
3547
  var Ds = function(t) {
3548
3548
  return new Nn(t);
3549
3549
  };
3550
- ee.Layers = go, ee.Zoom = Dn, ee.Scale = vo, ee.Attribution = Nn, mi.layers = zs, mi.zoom = Es, mi.scale = Bs, mi.attribution = Ds;
3550
+ ee.Layers = vo, ee.Zoom = Dn, ee.Scale = yo, ee.Attribution = Nn, mi.layers = zs, mi.zoom = Es, mi.scale = Bs, mi.attribution = Ds;
3551
3551
  var he = ht.extend({
3552
3552
  initialize: function(t) {
3553
3553
  this._map = t;
@@ -3577,7 +3577,7 @@ function el() {
3577
3577
  he.addTo = function(t, e) {
3578
3578
  return t.addHandler(e, this), this;
3579
3579
  };
3580
- var Ns = { Events: dt }, yo = V.touch ? "touchstart mousedown" : "mousedown", Te = zt.extend({
3580
+ var Ns = { Events: dt }, bo = V.touch ? "touchstart mousedown" : "mousedown", Te = zt.extend({
3581
3581
  options: {
3582
3582
  // @section
3583
3583
  // @aka Draggable options
@@ -3594,12 +3594,12 @@ function el() {
3594
3594
  // @method enable()
3595
3595
  // Enables the dragging ability
3596
3596
  enable: function() {
3597
- this._enabled || (X(this._dragStartTarget, yo, this._onDown, this), this._enabled = !0);
3597
+ this._enabled || (X(this._dragStartTarget, bo, this._onDown, this), this._enabled = !0);
3598
3598
  },
3599
3599
  // @method disable()
3600
3600
  // Disables the dragging ability
3601
3601
  disable: function() {
3602
- this._enabled && (Te._dragging === this && this.finishDrag(!0), mt(this._dragStartTarget, yo, this._onDown, this), this._enabled = !1, this._moved = !1);
3602
+ this._enabled && (Te._dragging === this && this.finishDrag(!0), mt(this._dragStartTarget, bo, this._onDown, this), this._enabled = !1, this._moved = !1);
3603
3603
  },
3604
3604
  _onDown: function(t) {
3605
3605
  if (this._enabled && (this._moved = !1, !hi(this._element, "leaflet-zoom-anim"))) {
@@ -3609,7 +3609,7 @@ function el() {
3609
3609
  }
3610
3610
  if (!(Te._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (Te._dragging = this, this._preventOutline && An(this._element), Mn(), di(), !this._moving)) {
3611
3611
  this.fire("down");
3612
- var e = t.touches ? t.touches[0] : t, i = ho(this._element);
3612
+ var e = t.touches ? t.touches[0] : t, i = co(this._element);
3613
3613
  this._startPoint = new G(e.clientX, e.clientY), this._startPos = Ee(this._element), this._parentScale = In(i);
3614
3614
  var n = t.type === "mousedown";
3615
3615
  X(document, n ? "mousemove" : "touchmove", this._onMove, this), X(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
@@ -3642,7 +3642,7 @@ function el() {
3642
3642
  });
3643
3643
  }
3644
3644
  });
3645
- function bo(t, e, i) {
3645
+ function Lo(t, e, i) {
3646
3646
  var n, s = [1, 4, 2, 8], a, p, k, T, S, E, $, tt;
3647
3647
  for (a = 0, E = t.length; a < E; a++)
3648
3648
  t[a]._code = De(t[a], e);
@@ -3653,7 +3653,7 @@ function el() {
3653
3653
  }
3654
3654
  return t;
3655
3655
  }
3656
- function Lo(t, e) {
3656
+ function ko(t, e) {
3657
3657
  var i, n, s, a, p, k, T, S, E;
3658
3658
  if (!t || t.length === 0)
3659
3659
  throw new Error("latlngs not passed");
@@ -3680,17 +3680,17 @@ function el() {
3680
3680
  }
3681
3681
  var Rs = {
3682
3682
  __proto__: null,
3683
- clipPolygon: bo,
3684
- polygonCenter: Lo,
3683
+ clipPolygon: Lo,
3684
+ polygonCenter: ko,
3685
3685
  centroid: Rn
3686
3686
  };
3687
- function ko(t, e) {
3687
+ function wo(t, e) {
3688
3688
  if (!e || !t.length)
3689
3689
  return t.slice();
3690
3690
  var i = e * e;
3691
3691
  return t = Fs(t, i), t = Hs(t, i), t;
3692
3692
  }
3693
- function wo(t, e, i) {
3693
+ function Po(t, e, i) {
3694
3694
  return Math.sqrt(_i(t, e, i, !0));
3695
3695
  }
3696
3696
  function Vs(t, e, i) {
@@ -3715,10 +3715,10 @@ function el() {
3715
3715
  Gs(t[n], t[s]) > e && (i.push(t[n]), s = n);
3716
3716
  return s < a - 1 && i.push(t[a - 1]), i;
3717
3717
  }
3718
- var Po;
3719
- function Co(t, e, i, n, s) {
3720
- var a = n ? Po : De(t, i), p = De(e, i), k, T, S;
3721
- for (Po = p; ; ) {
3718
+ var Co;
3719
+ function To(t, e, i, n, s) {
3720
+ var a = n ? Co : De(t, i), p = De(e, i), k, T, S;
3721
+ for (Co = p; ; ) {
3722
3722
  if (!(a | p))
3723
3723
  return [t, e];
3724
3724
  if (a & p)
@@ -3745,10 +3745,10 @@ function el() {
3745
3745
  function Xt(t) {
3746
3746
  return !R(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
3747
3747
  }
3748
- function To(t) {
3748
+ function Mo(t) {
3749
3749
  return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Xt(t);
3750
3750
  }
3751
- function Mo(t, e) {
3751
+ function xo(t, e) {
3752
3752
  var i, n, s, a, p, k, T, S;
3753
3753
  if (!t || t.length === 0)
3754
3754
  throw new Error("latlngs not passed");
@@ -3778,28 +3778,28 @@ function el() {
3778
3778
  }
3779
3779
  var Us = {
3780
3780
  __proto__: null,
3781
- simplify: ko,
3782
- pointToSegmentDistance: wo,
3781
+ simplify: wo,
3782
+ pointToSegmentDistance: Po,
3783
3783
  closestPointOnSegment: Vs,
3784
- clipSegment: Co,
3784
+ clipSegment: To,
3785
3785
  _getEdgeIntersection: qi,
3786
3786
  _getBitCode: De,
3787
3787
  _sqClosestPointOnSegment: _i,
3788
3788
  isFlat: Xt,
3789
- _flat: To,
3790
- polylineCenter: Mo
3789
+ _flat: Mo,
3790
+ polylineCenter: xo
3791
3791
  }, Hn = {
3792
3792
  project: function(t) {
3793
3793
  return new G(t.lng, t.lat);
3794
3794
  },
3795
3795
  unproject: function(t) {
3796
- return new ot(t.y, t.x);
3796
+ return new st(t.y, t.x);
3797
3797
  },
3798
- bounds: new nt([-180, -90], [180, 90])
3798
+ bounds: new ot([-180, -90], [180, 90])
3799
3799
  }, Fn = {
3800
3800
  R: 6378137,
3801
3801
  R_MINOR: 6356752314245179e-9,
3802
- bounds: new nt([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
3802
+ bounds: new ot([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
3803
3803
  project: function(t) {
3804
3804
  var e = Math.PI / 180, i = this.R, n = t.lat * e, s = this.R_MINOR / i, a = Math.sqrt(1 - s * s), p = a * Math.sin(n), k = Math.tan(Math.PI / 4 - n / 2) / Math.pow((1 - p) / (1 + p), a / 2);
3805
3805
  return n = -i * Math.log(Math.max(k, 1e-10)), new G(t.lng * e * i, n);
@@ -3807,7 +3807,7 @@ function el() {
3807
3807
  unproject: function(t) {
3808
3808
  for (var e = 180 / Math.PI, i = this.R, n = this.R_MINOR / i, s = Math.sqrt(1 - n * n), a = Math.exp(-t.y / i), p = Math.PI / 2 - 2 * Math.atan(a), k = 0, T = 0.1, S; k < 15 && Math.abs(T) > 1e-7; k++)
3809
3809
  S = s * Math.sin(p), S = Math.pow((1 - S) / (1 + S), s / 2), T = Math.PI / 2 - 2 * Math.atan(a * S) - p, p += T;
3810
- return new ot(p * e, t.x * e / i);
3810
+ return new st(p * e, t.x * e / i);
3811
3811
  }
3812
3812
  }, $s = {
3813
3813
  __proto__: null,
@@ -3821,7 +3821,7 @@ function el() {
3821
3821
  var t = 0.5 / (Math.PI * Fn.R);
3822
3822
  return me(t, 0.5, -t, 0.5);
3823
3823
  }()
3824
- }), xo = w({}, Ut, {
3824
+ }), So = w({}, Ut, {
3825
3825
  code: "EPSG:4326",
3826
3826
  projection: Hn,
3827
3827
  transformation: me(1 / 180, 1, -1 / 180, 0.5)
@@ -3840,7 +3840,7 @@ function el() {
3840
3840
  },
3841
3841
  infinite: !0
3842
3842
  });
3843
- Et.Earth = Ut, Et.EPSG3395 = Ws, Et.EPSG3857 = _e, Et.EPSG900913 = xi, Et.EPSG4326 = xo, Et.Simple = qs;
3843
+ Et.Earth = Ut, Et.EPSG3395 = Ws, Et.EPSG3857 = _e, Et.EPSG900913 = xi, Et.EPSG4326 = So, Et.Simple = qs;
3844
3844
  var ie = zt.extend({
3845
3845
  // Classes extending `L.Layer` will inherit the following options:
3846
3846
  options: {
@@ -3904,7 +3904,7 @@ function el() {
3904
3904
  }
3905
3905
  }
3906
3906
  });
3907
- st.include({
3907
+ rt.include({
3908
3908
  // @method addLayer(layer: Layer): this
3909
3909
  // Adds the given layer to the map
3910
3910
  addLayer: function(t) {
@@ -4197,7 +4197,7 @@ function el() {
4197
4197
  var i = document.querySelector('link[href$="leaflet.css"]');
4198
4198
  return i ? i.href.substring(0, i.href.length - 11 - 1) : "";
4199
4199
  }
4200
- }), So = he.extend({
4200
+ }), Ao = he.extend({
4201
4201
  initialize: function(t) {
4202
4202
  this._marker = t;
4203
4203
  },
@@ -4395,9 +4395,9 @@ function el() {
4395
4395
  this._setPos(e);
4396
4396
  },
4397
4397
  _initInteraction: function() {
4398
- if (this.options.interactive && (K(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), So)) {
4398
+ if (this.options.interactive && (K(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Ao)) {
4399
4399
  var t = this.options.draggable;
4400
- this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new So(this), t && this.dragging.enable();
4400
+ this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Ao(this), t && this.dragging.enable();
4401
4401
  }
4402
4402
  },
4403
4403
  // @method setOpacity(opacity: Number): this
@@ -4563,7 +4563,7 @@ function el() {
4563
4563
  },
4564
4564
  _updateBounds: function() {
4565
4565
  var t = this._radius, e = this._radiusY || t, i = this._clickTolerance(), n = [t + i, e + i];
4566
- this._pxBounds = new nt(this._point.subtract(n), this._point.add(n));
4566
+ this._pxBounds = new ot(this._point.subtract(n), this._point.add(n));
4567
4567
  },
4568
4568
  _update: function() {
4569
4569
  this._map && this._updatePath();
@@ -4669,7 +4669,7 @@ function el() {
4669
4669
  getCenter: function() {
4670
4670
  if (!this._map)
4671
4671
  throw new Error("Must add layer to map before using getCenter()");
4672
- return Mo(this._defaultShape(), this._map.options.crs);
4672
+ return xo(this._defaultShape(), this._map.options.crs);
4673
4673
  },
4674
4674
  // @method getBounds(): LatLngBounds
4675
4675
  // Returns the `LatLngBounds` of the path.
@@ -4696,19 +4696,19 @@ function el() {
4696
4696
  return e;
4697
4697
  },
4698
4698
  _project: function() {
4699
- var t = new nt();
4699
+ var t = new ot();
4700
4700
  this._rings = [], this._projectLatlngs(this._latlngs, this._rings, t), this._bounds.isValid() && t.isValid() && (this._rawPxBounds = t, this._updateBounds());
4701
4701
  },
4702
4702
  _updateBounds: function() {
4703
4703
  var t = this._clickTolerance(), e = new G(t, t);
4704
- this._rawPxBounds && (this._pxBounds = new nt([
4704
+ this._rawPxBounds && (this._pxBounds = new ot([
4705
4705
  this._rawPxBounds.min.subtract(e),
4706
4706
  this._rawPxBounds.max.add(e)
4707
4707
  ]));
4708
4708
  },
4709
4709
  // recursively turns latlngs into a set of rings with projected coordinates
4710
4710
  _projectLatlngs: function(t, e, i) {
4711
- var n = t[0] instanceof ot, s = t.length, a, p;
4711
+ var n = t[0] instanceof st, s = t.length, a, p;
4712
4712
  if (n) {
4713
4713
  for (p = [], a = 0; a < s; a++)
4714
4714
  p[a] = this._map.latLngToLayerPoint(t[a]), i.extend(p[a]);
@@ -4728,13 +4728,13 @@ function el() {
4728
4728
  var e = this._parts, i, n, s, a, p, k, T;
4729
4729
  for (i = 0, s = 0, a = this._rings.length; i < a; i++)
4730
4730
  for (T = this._rings[i], n = 0, p = T.length; n < p - 1; n++)
4731
- k = Co(T[n], T[n + 1], t, n, !0), k && (e[s] = e[s] || [], e[s].push(k[0]), (k[1] !== T[n + 1] || n === p - 2) && (e[s].push(k[1]), s++));
4731
+ k = To(T[n], T[n + 1], t, n, !0), k && (e[s] = e[s] || [], e[s].push(k[0]), (k[1] !== T[n + 1] || n === p - 2) && (e[s].push(k[1]), s++));
4732
4732
  }
4733
4733
  },
4734
4734
  // simplify each clipped part of the polyline for performance
4735
4735
  _simplifyPoints: function() {
4736
4736
  for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++)
4737
- t[i] = ko(t[i], e);
4737
+ t[i] = wo(t[i], e);
4738
4738
  },
4739
4739
  _update: function() {
4740
4740
  this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
@@ -4749,7 +4749,7 @@ function el() {
4749
4749
  return !1;
4750
4750
  for (i = 0, a = this._parts.length; i < a; i++)
4751
4751
  for (k = this._parts[i], n = 0, p = k.length, s = p - 1; n < p; s = n++)
4752
- if (!(!e && n === 0) && wo(t, k[s], k[n]) <= T)
4752
+ if (!(!e && n === 0) && Po(t, k[s], k[n]) <= T)
4753
4753
  return !0;
4754
4754
  return !1;
4755
4755
  }
@@ -4757,7 +4757,7 @@ function el() {
4757
4757
  function tr(t, e) {
4758
4758
  return new be(t, e);
4759
4759
  }
4760
- be._flat = To;
4760
+ be._flat = Mo;
4761
4761
  var qe = be.extend({
4762
4762
  options: {
4763
4763
  fill: !0
@@ -4770,11 +4770,11 @@ function el() {
4770
4770
  getCenter: function() {
4771
4771
  if (!this._map)
4772
4772
  throw new Error("Must add layer to map before using getCenter()");
4773
- return Lo(this._defaultShape(), this._map.options.crs);
4773
+ return ko(this._defaultShape(), this._map.options.crs);
4774
4774
  },
4775
4775
  _convertLatLngs: function(t) {
4776
4776
  var e = be.prototype._convertLatLngs.call(this, t), i = e.length;
4777
- return i >= 2 && e[0] instanceof ot && e[0].equals(e[i - 1]) && e.pop(), e;
4777
+ return i >= 2 && e[0] instanceof st && e[0].equals(e[i - 1]) && e.pop(), e;
4778
4778
  },
4779
4779
  _setLatLngs: function(t) {
4780
4780
  be.prototype._setLatLngs.call(this, t), Xt(this._latlngs) && (this._latlngs = [this._latlngs]);
@@ -4784,13 +4784,13 @@ function el() {
4784
4784
  },
4785
4785
  _clipPoints: function() {
4786
4786
  var t = this._renderer._bounds, e = this.options.weight, i = new G(e, e);
4787
- if (t = new nt(t.min.subtract(i), t.max.add(i)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(t))) {
4787
+ if (t = new ot(t.min.subtract(i), t.max.add(i)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(t))) {
4788
4788
  if (this.options.noClip) {
4789
4789
  this._parts = this._rings;
4790
4790
  return;
4791
4791
  }
4792
4792
  for (var n = 0, s = this._rings.length, a; n < s; n++)
4793
- a = bo(this._rings[n], t, !0), a.length && this._parts.push(a);
4793
+ a = Lo(this._rings[n], t, !0), a.length && this._parts.push(a);
4794
4794
  }
4795
4795
  },
4796
4796
  _updatePath: function() {
@@ -4901,10 +4901,10 @@ function el() {
4901
4901
  return null;
4902
4902
  switch (i.type) {
4903
4903
  case "Point":
4904
- return k = p(n), Ao(a, t, k, e);
4904
+ return k = p(n), Io(a, t, k, e);
4905
4905
  case "MultiPoint":
4906
4906
  for (S = 0, E = n.length; S < E; S++)
4907
- k = p(n[S]), s.push(Ao(a, t, k, e));
4907
+ k = p(n[S]), s.push(Io(a, t, k, e));
4908
4908
  return new ye(s);
4909
4909
  case "LineString":
4910
4910
  case "MultiLineString":
@@ -4932,11 +4932,11 @@ function el() {
4932
4932
  throw new Error("Invalid GeoJSON object.");
4933
4933
  }
4934
4934
  }
4935
- function Ao(t, e, i, n) {
4935
+ function Io(t, e, i, n) {
4936
4936
  return t ? t(e, i) : new ji(i, n && n.markersInheritOptions && n);
4937
4937
  }
4938
4938
  function Un(t) {
4939
- return new ot(t[1], t[0], t[2]);
4939
+ return new st(t[1], t[0], t[2]);
4940
4940
  }
4941
4941
  function Ki(t, e, i) {
4942
4942
  for (var n = [], s = 0, a = t.length, p; s < a; s++)
@@ -5022,10 +5022,10 @@ function el() {
5022
5022
  };
5023
5023
  }
5024
5024
  });
5025
- function Io(t, e) {
5025
+ function Oo(t, e) {
5026
5026
  return new Le(t, e);
5027
5027
  }
5028
- var ir = Io, tn = ie.extend({
5028
+ var ir = Oo, tn = ie.extend({
5029
5029
  // @section
5030
5030
  // @aka ImageOverlay options
5031
5031
  options: {
@@ -5126,7 +5126,7 @@ function el() {
5126
5126
  ze(this._image, i, e);
5127
5127
  },
5128
5128
  _reset: function() {
5129
- var t = this._image, e = new nt(
5129
+ var t = this._image, e = new ot(
5130
5130
  this._map.latLngToLayerPoint(this._bounds.getNorthWest()),
5131
5131
  this._map.latLngToLayerPoint(this._bounds.getSouthEast())
5132
5132
  ), i = e.getSize();
@@ -5150,7 +5150,7 @@ function el() {
5150
5150
  }
5151
5151
  }), nr = function(t, e, i) {
5152
5152
  return new tn(t, e, i);
5153
- }, Oo = tn.extend({
5153
+ }, zo = tn.extend({
5154
5154
  // @section
5155
5155
  // @aka VideoOverlay options
5156
5156
  options: {
@@ -5191,9 +5191,9 @@ function el() {
5191
5191
  // used by this overlay.
5192
5192
  });
5193
5193
  function or(t, e, i) {
5194
- return new Oo(t, e, i);
5194
+ return new zo(t, e, i);
5195
5195
  }
5196
- var zo = tn.extend({
5196
+ var Eo = tn.extend({
5197
5197
  _initImage: function() {
5198
5198
  var t = this._image = this._url;
5199
5199
  K(t, "leaflet-image-layer"), this._zoomAnimated && K(t, "leaflet-zoom-animated"), this.options.className && K(t, this.options.className), t.onselectstart = v, t.onmousemove = v;
@@ -5203,7 +5203,7 @@ function el() {
5203
5203
  // used by this overlay.
5204
5204
  });
5205
5205
  function sr(t, e, i) {
5206
- return new zo(t, e, i);
5206
+ return new Eo(t, e, i);
5207
5207
  }
5208
5208
  var de = ie.extend({
5209
5209
  // @section
@@ -5227,7 +5227,7 @@ function el() {
5227
5227
  content: ""
5228
5228
  },
5229
5229
  initialize: function(t, e) {
5230
- t && (t instanceof ot || R(t)) ? (this._latlng = Q(t), C(this, e)) : (C(this, t), this._source = e), this.options.content && (this._content = this.options.content);
5230
+ t && (t instanceof st || R(t)) ? (this._latlng = Q(t), C(this, e)) : (C(this, t), this._source = e), this.options.content && (this._content = this.options.content);
5231
5231
  },
5232
5232
  // @method openOn(map: Map): this
5233
5233
  // Adds the overlay to the map.
@@ -5362,7 +5362,7 @@ function el() {
5362
5362
  return [0, 0];
5363
5363
  }
5364
5364
  });
5365
- st.include({
5365
+ rt.include({
5366
5366
  _initOverlay: function(t, e, i, n) {
5367
5367
  var s = e;
5368
5368
  return s instanceof t || (s = new t(n).setContent(e)), i && s.setLatLng(i), s;
@@ -5491,9 +5491,9 @@ function el() {
5491
5491
  }), rr = function(t, e) {
5492
5492
  return new en(t, e);
5493
5493
  };
5494
- st.mergeOptions({
5494
+ rt.mergeOptions({
5495
5495
  closePopupOnClick: !0
5496
- }), st.include({
5496
+ }), rt.include({
5497
5497
  // @method openPopup(popup: Popup): this
5498
5498
  // Opens the specified popup while closing the previously opened (to make sure only one is opened at one time for usability).
5499
5499
  // @alternative
@@ -5643,7 +5643,7 @@ function el() {
5643
5643
  }), ar = function(t, e) {
5644
5644
  return new nn(t, e);
5645
5645
  };
5646
- st.include({
5646
+ rt.include({
5647
5647
  // @method openTooltip(tooltip: Tooltip): this
5648
5648
  // Opens the specified tooltip.
5649
5649
  // @alternative
@@ -5741,7 +5741,7 @@ function el() {
5741
5741
  this._tooltip.options.sticky && t.originalEvent && (i = this._map.mouseEventToContainerPoint(t.originalEvent), n = this._map.containerPointToLayerPoint(i), e = this._map.layerPointToLatLng(n)), this._tooltip.setLatLng(e);
5742
5742
  }
5743
5743
  });
5744
- var Eo = We.extend({
5744
+ var Bo = We.extend({
5745
5745
  options: {
5746
5746
  // @section
5747
5747
  // @aka DivIcon options
@@ -5771,7 +5771,7 @@ function el() {
5771
5771
  }
5772
5772
  });
5773
5773
  function lr(t) {
5774
- return new Eo(t);
5774
+ return new Bo(t);
5775
5775
  }
5776
5776
  We.Default = gi;
5777
5777
  var vi = ie.extend({
@@ -6040,7 +6040,7 @@ function el() {
6040
6040
  },
6041
6041
  _getTiledPixelBounds: function(t) {
6042
6042
  var e = this._map, i = e._animatingZoom ? Math.max(e._animateToZoom, e.getZoom()) : e.getZoom(), n = e.getZoomScale(i, this._tileZoom), s = e.project(t, this._tileZoom).floor(), a = e.getSize().divideBy(n * 2);
6043
- return new nt(s.subtract(a), s.add(a));
6043
+ return new ot(s.subtract(a), s.add(a));
6044
6044
  },
6045
6045
  // Private method to load tiles in the grid's active zoom level according to map bounds
6046
6046
  _update: function(t) {
@@ -6048,7 +6048,7 @@ function el() {
6048
6048
  if (e) {
6049
6049
  var i = this._clampZoom(e.getZoom());
6050
6050
  if (t === void 0 && (t = e.getCenter()), this._tileZoom !== void 0) {
6051
- var n = this._getTiledPixelBounds(t), s = this._pxBoundsToTileRange(n), a = s.getCenter(), p = [], k = this.options.keepBuffer, T = new nt(
6051
+ var n = this._getTiledPixelBounds(t), s = this._pxBoundsToTileRange(n), a = s.getCenter(), p = [], k = this.options.keepBuffer, T = new ot(
6052
6052
  s.getBottomLeft().subtract([k, -k]),
6053
6053
  s.getTopRight().add([k, -k])
6054
6054
  );
@@ -6162,7 +6162,7 @@ function el() {
6162
6162
  },
6163
6163
  _pxBoundsToTileRange: function(t) {
6164
6164
  var e = this.getTileSize();
6165
- return new nt(
6165
+ return new ot(
6166
6166
  t.min.unscaleBy(e).floor(),
6167
6167
  t.max.unscaleBy(e).ceil().subtract([1, 1])
6168
6168
  );
@@ -6297,10 +6297,10 @@ function el() {
6297
6297
  return vi.prototype._tileReady.call(this, t, e, i);
6298
6298
  }
6299
6299
  });
6300
- function Bo(t, e) {
6300
+ function Zo(t, e) {
6301
6301
  return new Ye(t, e);
6302
6302
  }
6303
- var Zo = Ye.extend({
6303
+ var Do = Ye.extend({
6304
6304
  // @section
6305
6305
  // @aka TileLayer.WMS options
6306
6306
  // If any custom options not documented here are used, they will be sent to the
@@ -6349,7 +6349,7 @@ function el() {
6349
6349
  this.wmsParams[e] = this._crs.code, Ye.prototype.onAdd.call(this, t);
6350
6350
  },
6351
6351
  getTileUrl: function(t) {
6352
- var e = this._tileCoordsToNwSe(t), i = this._crs, n = ct(i.project(e[0]), i.project(e[1])), s = n.min, a = n.max, p = (this._wmsVersion >= 1.3 && this._crs === xo ? [s.y, s.x, a.y, a.x] : [s.x, s.y, a.x, a.y]).join(","), k = Ye.prototype.getTileUrl.call(this, t);
6352
+ var e = this._tileCoordsToNwSe(t), i = this._crs, n = ct(i.project(e[0]), i.project(e[1])), s = n.min, a = n.max, p = (this._wmsVersion >= 1.3 && this._crs === So ? [s.y, s.x, a.y, a.x] : [s.x, s.y, a.x, a.y]).join(","), k = Ye.prototype.getTileUrl.call(this, t);
6353
6353
  return k + N(this.wmsParams, k, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + p;
6354
6354
  },
6355
6355
  // @method setParams(params: Object, noRedraw?: Boolean): this
@@ -6359,9 +6359,9 @@ function el() {
6359
6359
  }
6360
6360
  });
6361
6361
  function hr(t, e) {
6362
- return new Zo(t, e);
6362
+ return new Do(t, e);
6363
6363
  }
6364
- Ye.WMS = Zo, Bo.wms = hr;
6364
+ Ye.WMS = Do, Zo.wms = hr;
6365
6365
  var ke = ie.extend({
6366
6366
  // @section
6367
6367
  // @aka Renderer options
@@ -6414,9 +6414,9 @@ function el() {
6414
6414
  },
6415
6415
  _update: function() {
6416
6416
  var t = this.options.padding, e = this._map.getSize(), i = this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();
6417
- this._bounds = new nt(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
6417
+ this._bounds = new ot(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
6418
6418
  }
6419
- }), Do = ke.extend({
6419
+ }), No = ke.extend({
6420
6420
  // @section
6421
6421
  // @aka Canvas options
6422
6422
  options: {
@@ -6500,7 +6500,7 @@ function el() {
6500
6500
  _extendRedrawBounds: function(t) {
6501
6501
  if (t._pxBounds) {
6502
6502
  var e = (t.options.weight || 0) + 1;
6503
- this._redrawBounds = this._redrawBounds || new nt(), this._redrawBounds.extend(t._pxBounds.min.subtract([e, e])), this._redrawBounds.extend(t._pxBounds.max.add([e, e]));
6503
+ this._redrawBounds = this._redrawBounds || new ot(), this._redrawBounds.extend(t._pxBounds.min.subtract([e, e])), this._redrawBounds.extend(t._pxBounds.max.add([e, e]));
6504
6504
  }
6505
6505
  },
6506
6506
  _redraw: function() {
@@ -6600,8 +6600,8 @@ function el() {
6600
6600
  }
6601
6601
  }
6602
6602
  });
6603
- function No(t) {
6604
- return V.canvas ? new Do(t) : null;
6603
+ function Ro(t) {
6604
+ return V.canvas ? new No(t) : null;
6605
6605
  }
6606
6606
  var yi = function() {
6607
6607
  try {
@@ -6700,10 +6700,10 @@ function el() {
6700
6700
  }
6701
6701
  });
6702
6702
  V.vml && bi.include(dr);
6703
- function Ro(t) {
6703
+ function Vo(t) {
6704
6704
  return V.svg || V.vml ? new bi(t) : null;
6705
6705
  }
6706
- st.include({
6706
+ rt.include({
6707
6707
  // @namespace Map; @method getRenderer(layer: Path): Renderer
6708
6708
  // Returns the instance of `Renderer` that should be used to render the given
6709
6709
  // `Path`. It will ensure that the `renderer` options of the map and paths
@@ -6719,10 +6719,10 @@ function el() {
6719
6719
  return e === void 0 && (e = this._createRenderer({ pane: t }), this._paneRenderers[t] = e), e;
6720
6720
  },
6721
6721
  _createRenderer: function(t) {
6722
- return this.options.preferCanvas && No(t) || Ro(t);
6722
+ return this.options.preferCanvas && Ro(t) || Vo(t);
6723
6723
  }
6724
6724
  });
6725
- var Vo = qe.extend({
6725
+ var Ho = qe.extend({
6726
6726
  initialize: function(t, e) {
6727
6727
  qe.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
6728
6728
  },
@@ -6741,15 +6741,15 @@ function el() {
6741
6741
  }
6742
6742
  });
6743
6743
  function cr(t, e) {
6744
- return new Vo(t, e);
6744
+ return new Ho(t, e);
6745
6745
  }
6746
- bi.create = on, bi.pointsToPath = Ie, Le.geometryToLayer = Xi, Le.coordsToLatLng = Un, Le.coordsToLatLngs = Ki, Le.latLngToCoords = $n, Le.latLngsToCoords = Ji, Le.getFeature = je, Le.asFeature = Qi, st.mergeOptions({
6746
+ bi.create = on, bi.pointsToPath = Ie, Le.geometryToLayer = Xi, Le.coordsToLatLng = Un, Le.coordsToLatLngs = Ki, Le.latLngToCoords = $n, Le.latLngsToCoords = Ji, Le.getFeature = je, Le.asFeature = Qi, rt.mergeOptions({
6747
6747
  // @option boxZoom: Boolean = true
6748
6748
  // Whether the map can be zoomed to a rectangular area specified by
6749
6749
  // dragging the mouse while pressing the shift key.
6750
6750
  boxZoom: !0
6751
6751
  });
6752
- var Ho = he.extend({
6752
+ var Fo = he.extend({
6753
6753
  initialize: function(t) {
6754
6754
  this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
6755
6755
  },
@@ -6783,7 +6783,7 @@ function el() {
6783
6783
  },
6784
6784
  _onMouseMove: function(t) {
6785
6785
  this._moved || (this._moved = !0, this._box = et("div", "leaflet-zoom-box", this._container), K(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(t);
6786
- var e = new nt(this._point, this._startPoint), i = e.getSize();
6786
+ var e = new ot(this._point, this._startPoint), i = e.getSize();
6787
6787
  kt(this._box, e.min), this._box.style.width = i.x + "px", this._box.style.height = i.y + "px";
6788
6788
  },
6789
6789
  _finish: function() {
@@ -6808,7 +6808,7 @@ function el() {
6808
6808
  t.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
6809
6809
  }
6810
6810
  });
6811
- st.addInitHook("addHandler", "boxZoom", Ho), st.mergeOptions({
6811
+ rt.addInitHook("addHandler", "boxZoom", Fo), rt.mergeOptions({
6812
6812
  // @option doubleClickZoom: Boolean|String = true
6813
6813
  // Whether the map can be zoomed in by double clicking on it and
6814
6814
  // zoomed out by double clicking while holding shift. If passed
@@ -6816,7 +6816,7 @@ function el() {
6816
6816
  // view regardless of where the mouse was.
6817
6817
  doubleClickZoom: !0
6818
6818
  });
6819
- var Fo = he.extend({
6819
+ var Go = he.extend({
6820
6820
  addHooks: function() {
6821
6821
  this._map.on("dblclick", this._onDoubleClick, this);
6822
6822
  },
@@ -6828,7 +6828,7 @@ function el() {
6828
6828
  e.options.doubleClickZoom === "center" ? e.setZoom(s) : e.setZoomAround(t.containerPoint, s);
6829
6829
  }
6830
6830
  });
6831
- st.addInitHook("addHandler", "doubleClickZoom", Fo), st.mergeOptions({
6831
+ rt.addInitHook("addHandler", "doubleClickZoom", Go), rt.mergeOptions({
6832
6832
  // @option dragging: Boolean = true
6833
6833
  // Whether the map is draggable with mouse/touch or not.
6834
6834
  dragging: !0,
@@ -6863,7 +6863,7 @@ function el() {
6863
6863
  // solid, preventing the user from dragging outside the bounds.
6864
6864
  maxBoundsViscosity: 0
6865
6865
  });
6866
- var Go = he.extend({
6866
+ var Uo = he.extend({
6867
6867
  addHooks: function() {
6868
6868
  if (!this._draggable) {
6869
6869
  var t = this._map;
@@ -6942,7 +6942,7 @@ function el() {
6942
6942
  }
6943
6943
  }
6944
6944
  });
6945
- st.addInitHook("addHandler", "dragging", Go), st.mergeOptions({
6945
+ rt.addInitHook("addHandler", "dragging", Uo), rt.mergeOptions({
6946
6946
  // @option keyboard: Boolean = true
6947
6947
  // Makes the map focusable and allows users to navigate the map with keyboard
6948
6948
  // arrows and `+`/`-` keys.
@@ -6951,7 +6951,7 @@ function el() {
6951
6951
  // Amount of pixels to pan when pressing an arrow key.
6952
6952
  keyboardPanDelta: 80
6953
6953
  });
6954
- var Uo = he.extend({
6954
+ var $o = he.extend({
6955
6955
  keyCodes: {
6956
6956
  left: [37],
6957
6957
  right: [39],
@@ -7040,7 +7040,7 @@ function el() {
7040
7040
  }
7041
7041
  }
7042
7042
  });
7043
- st.addInitHook("addHandler", "keyboard", Uo), st.mergeOptions({
7043
+ rt.addInitHook("addHandler", "keyboard", $o), rt.mergeOptions({
7044
7044
  // @section Mouse wheel options
7045
7045
  // @option scrollWheelZoom: Boolean|String = true
7046
7046
  // Whether the map can be zoomed by using the mouse wheel. If passed `'center'`,
@@ -7056,7 +7056,7 @@ function el() {
7056
7056
  // faster (and vice versa).
7057
7057
  wheelPxPerZoomLevel: 60
7058
7058
  });
7059
- var $o = he.extend({
7059
+ var Wo = he.extend({
7060
7060
  addHooks: function() {
7061
7061
  X(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
7062
7062
  },
@@ -7064,7 +7064,7 @@ function el() {
7064
7064
  mt(this._map._container, "wheel", this._onWheelScroll, this);
7065
7065
  },
7066
7066
  _onWheelScroll: function(t) {
7067
- var e = mo(t), i = this._map.options.wheelDebounceTime;
7067
+ var e = _o(t), i = this._map.options.wheelDebounceTime;
7068
7068
  this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
7069
7069
  var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
7070
7070
  clearTimeout(this._timer), this._timer = setTimeout(r(this._performZoom, this), n), Ze(t);
@@ -7076,9 +7076,9 @@ function el() {
7076
7076
  this._delta = 0, this._startTime = null, p && (t.options.scrollWheelZoom === "center" ? t.setZoom(e + p) : t.setZoomAround(this._lastMousePos, e + p));
7077
7077
  }
7078
7078
  });
7079
- st.addInitHook("addHandler", "scrollWheelZoom", $o);
7079
+ rt.addInitHook("addHandler", "scrollWheelZoom", Wo);
7080
7080
  var fr = 600;
7081
- st.mergeOptions({
7081
+ rt.mergeOptions({
7082
7082
  // @section Touch interaction options
7083
7083
  // @option tapHold: Boolean
7084
7084
  // Enables simulation of `contextmenu` event, default is `true` for mobile Safari.
@@ -7088,7 +7088,7 @@ function el() {
7088
7088
  // for it to be considered a valid tap.
7089
7089
  tapTolerance: 15
7090
7090
  });
7091
- var Wo = he.extend({
7091
+ var qo = he.extend({
7092
7092
  addHooks: function() {
7093
7093
  X(this._map._container, "touchstart", this._onDown, this);
7094
7094
  },
@@ -7132,7 +7132,7 @@ function el() {
7132
7132
  i._simulated = !0, e.target.dispatchEvent(i);
7133
7133
  }
7134
7134
  });
7135
- st.addInitHook("addHandler", "tapHold", Wo), st.mergeOptions({
7135
+ rt.addInitHook("addHandler", "tapHold", qo), rt.mergeOptions({
7136
7136
  // @section Touch interaction options
7137
7137
  // @option touchZoom: Boolean|String = *
7138
7138
  // Whether the map can be zoomed by touch-dragging with two fingers. If
@@ -7145,7 +7145,7 @@ function el() {
7145
7145
  // and then bounce back when pinch-zooming.
7146
7146
  bounceAtZoomLimits: !0
7147
7147
  });
7148
- var qo = he.extend({
7148
+ var jo = he.extend({
7149
7149
  addHooks: function() {
7150
7150
  K(this._map._container, "leaflet-touch-zoom"), X(this._map._container, "touchstart", this._onTouchStart, this);
7151
7151
  },
@@ -7184,7 +7184,7 @@ function el() {
7184
7184
  this._zooming = !1, q(this._animRequest), mt(document, "touchmove", this._onTouchMove, this), mt(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));
7185
7185
  }
7186
7186
  });
7187
- 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, d.Bounds = nt, d.Browser = V, d.CRS = Et, d.Canvas = Do, d.Circle = Gn, d.CircleMarker = Yi, d.Class = ht, d.Control = ee, d.DivIcon = Eo, d.DivOverlay = de, d.DomEvent = Is, d.DomUtil = Ss, d.Draggable = Te, d.Evented = zt, d.FeatureGroup = ye, d.GeoJSON = Le, d.GridLayer = vi, d.Handler = he, d.Icon = We, d.ImageOverlay = tn, d.LatLng = ot, d.LatLngBounds = bt, d.Layer = ie, d.LayerGroup = $e, d.LineUtil = Us, d.Map = st, d.Marker = ji, d.Mixin = Ns, d.Path = Me, d.Point = G, d.PolyUtil = Rs, d.Polygon = qe, d.Polyline = be, d.Popup = en, d.PosAnimation = _o, d.Projection = $s, d.Rectangle = Vo, d.Renderer = ke, d.SVG = bi, d.SVGOverlay = zo, d.TileLayer = Ye, d.Tooltip = nn, d.Transformation = Ce, d.Util = At, d.VideoOverlay = Oo, d.bind = r, d.bounds = ct, d.canvas = No, d.circle = Qs, d.circleMarker = Js, d.control = mi, d.divIcon = lr, d.extend = w, d.featureGroup = Ys, d.geoJSON = Io, d.geoJson = ir, d.gridLayer = ur, d.icon = Xs, d.imageOverlay = nr, d.latLng = Q, d.latLngBounds = Y, d.layerGroup = js, d.map = Os, d.marker = Ks, d.point = U, d.polygon = er, d.polyline = tr, d.popup = rr, d.rectangle = cr, d.setOptions = C, d.stamp = c, d.svg = Ro, d.svgOverlay = sr, d.tileLayer = Bo, d.tooltip = ar, d.transformation = me, d.version = m, d.videoOverlay = or;
7187
+ rt.addInitHook("addHandler", "touchZoom", jo), rt.BoxZoom = Fo, rt.DoubleClickZoom = Go, rt.Drag = Uo, rt.Keyboard = $o, rt.ScrollWheelZoom = Wo, rt.TapHold = qo, rt.TouchZoom = jo, d.Bounds = ot, d.Browser = V, d.CRS = Et, d.Canvas = No, d.Circle = Gn, d.CircleMarker = Yi, d.Class = ht, d.Control = ee, d.DivIcon = Bo, d.DivOverlay = de, d.DomEvent = Is, d.DomUtil = Ss, d.Draggable = Te, d.Evented = zt, d.FeatureGroup = ye, d.GeoJSON = Le, d.GridLayer = vi, d.Handler = he, d.Icon = We, d.ImageOverlay = tn, d.LatLng = st, d.LatLngBounds = bt, d.Layer = ie, d.LayerGroup = $e, d.LineUtil = Us, d.Map = rt, d.Marker = ji, d.Mixin = Ns, d.Path = Me, d.Point = G, d.PolyUtil = Rs, d.Polygon = qe, d.Polyline = be, d.Popup = en, d.PosAnimation = go, d.Projection = $s, d.Rectangle = Ho, d.Renderer = ke, d.SVG = bi, d.SVGOverlay = Eo, d.TileLayer = Ye, d.Tooltip = nn, d.Transformation = Ce, d.Util = At, d.VideoOverlay = zo, d.bind = r, d.bounds = ct, d.canvas = Ro, d.circle = Qs, d.circleMarker = Js, d.control = mi, d.divIcon = lr, d.extend = w, d.featureGroup = Ys, d.geoJSON = Oo, d.geoJson = ir, d.gridLayer = ur, d.icon = Xs, d.imageOverlay = nr, d.latLng = Q, d.latLngBounds = Y, d.layerGroup = js, d.map = Os, d.marker = Ks, d.point = U, d.polygon = er, d.polyline = tr, d.popup = rr, d.rectangle = cr, d.setOptions = C, d.stamp = c, d.svg = Vo, d.svgOverlay = sr, d.tileLayer = Zo, d.tooltip = ar, d.transformation = me, d.version = m, d.videoOverlay = or;
7188
7188
  var pr = window.L;
7189
7189
  d.noConflict = function() {
7190
7190
  return window.L = pr, this;
@@ -7194,9 +7194,9 @@ function el() {
7194
7194
  }
7195
7195
  var il = el();
7196
7196
  const we = /* @__PURE__ */ ta(il);
7197
- var Ci = { exports: {} }, nl = Ci.exports, ls;
7197
+ var Ci = { exports: {} }, nl = Ci.exports, us;
7198
7198
  function ol() {
7199
- return ls || (ls = 1, function(h, f) {
7199
+ return us || (us = 1, function(h, f) {
7200
7200
  (function(d, m) {
7201
7201
  m(f);
7202
7202
  })(nl, function(d) {
@@ -7271,18 +7271,18 @@ function ol() {
7271
7271
  addLayers: function(o, r) {
7272
7272
  if (!L.Util.isArray(o))
7273
7273
  return this.addLayer(o);
7274
- var u = this._featureGroup, c = this._nonPointGroup, _ = this.options.chunkedLoading, b = this.options.chunkInterval, v = this.options.chunkProgress, P = o.length, g = 0, x = !0, C;
7274
+ var u = this._featureGroup, c = this._nonPointGroup, _ = this.options.chunkedLoading, b = this.options.chunkInterval, v = this.options.chunkProgress, P = o.length, g = 0, M = !0, C;
7275
7275
  if (this._map) {
7276
7276
  var N = (/* @__PURE__ */ new Date()).getTime(), I = L.bind(function() {
7277
7277
  var R = (/* @__PURE__ */ new Date()).getTime();
7278
7278
  for (this._map && this._unspiderfy && this._unspiderfy(); g < P; g++) {
7279
7279
  if (_ && g % 200 === 0) {
7280
- var at = (/* @__PURE__ */ new Date()).getTime() - R;
7281
- if (at > b)
7280
+ var nt = (/* @__PURE__ */ new Date()).getTime() - R;
7281
+ if (nt > b)
7282
7282
  break;
7283
7283
  }
7284
7284
  if (C = o[g], C instanceof L.LayerGroup) {
7285
- x && (o = o.slice(), x = !1), this._extractNonGroupLayers(C, o), P = o.length;
7285
+ M && (o = o.slice(), M = !1), this._extractNonGroupLayers(C, o), P = o.length;
7286
7286
  continue;
7287
7287
  }
7288
7288
  if (!C.getLatLng) {
@@ -7300,7 +7300,7 @@ function ol() {
7300
7300
  } else
7301
7301
  for (var z = this._needsClustering; g < P; g++) {
7302
7302
  if (C = o[g], C instanceof L.LayerGroup) {
7303
- x && (o = o.slice(), x = !1), this._extractNonGroupLayers(C, o), P = o.length;
7303
+ M && (o = o.slice(), M = !1), this._extractNonGroupLayers(C, o), P = o.length;
7304
7304
  continue;
7305
7305
  }
7306
7306
  if (!C.getLatLng) {
@@ -7470,8 +7470,8 @@ function ol() {
7470
7470
  _removeLayer: function(o, r, u) {
7471
7471
  var c = this._gridClusters, _ = this._gridUnclustered, b = this._featureGroup, v = this._map, P = Math.floor(this._map.getMinZoom());
7472
7472
  r && this._removeFromGridUnclustered(o, this._maxZoom);
7473
- var g = o.__parent, x = g._markers, C;
7474
- for (this._arraySplice(x, o); g && (g._childCount--, g._boundsNeedUpdate = !0, !(g._zoom < P)); )
7473
+ var g = o.__parent, M = g._markers, C;
7474
+ for (this._arraySplice(M, o); g && (g._childCount--, g._boundsNeedUpdate = !0, !(g._zoom < P)); )
7475
7475
  r && g._childCount <= 1 ? (C = g._markers[0] === o ? g._markers[1] : g._markers[0], c[g._zoom].removeObject(g, v.project(g._cLatLng, g._zoom)), _[g._zoom].addObject(C, v.project(C.getLatLng(), g._zoom)), this._arraySplice(g.__parent._childClusters, g), g.__parent._markers.push(C), C.__parent = g.__parent, g._icon && (b.removeLayer(g), u || b.addLayer(C))) : g._iconNeedsUpdate = !0, g = g.__parent;
7476
7476
  delete o.__parent;
7477
7477
  },
@@ -7555,9 +7555,9 @@ function ol() {
7555
7555
  if (P = c[r].getNearObject(b), P) {
7556
7556
  var g = P.__parent;
7557
7557
  g && this._removeLayer(P, !1);
7558
- var x = new this._markerCluster(this, r, P, o);
7559
- u[r].addObject(x, this._map.project(x._cLatLng, r)), P.__parent = x, o.__parent = x;
7560
- var C = x;
7558
+ var M = new this._markerCluster(this, r, P, o);
7559
+ u[r].addObject(M, this._map.project(M._cLatLng, r)), P.__parent = M, o.__parent = M;
7560
+ var C = M;
7561
7561
  for (v = r - 1; v > g._zoom; v--)
7562
7562
  C = new this._markerCluster(this, v, C), u[v].addObject(C, this._map.project(P.getLatLng(), v));
7563
7563
  g._addChild(C), this._removeFromGridUnclustered(P, r);
@@ -7685,9 +7685,9 @@ function ol() {
7685
7685
  _animationZoomIn: function(o, r) {
7686
7686
  var u = this._getExpandedVisibleBounds(), c = this._featureGroup, _ = Math.floor(this._map.getMinZoom()), b;
7687
7687
  this._ignoreMove = !0, this._topClusterLevel._recursively(u, o, _, function(v) {
7688
- var P = v._latlng, g = v._markers, x;
7688
+ var P = v._latlng, g = v._markers, M;
7689
7689
  for (u.contains(P) || (P = null), v._isSingleParent() && o + 1 === r ? (c.removeLayer(v), v._recursivelyAddChildrenToMap(null, r, u)) : (v.clusterHide(), v._recursivelyAddChildrenToMap(P, r, u)), b = g.length - 1; b >= 0; b--)
7690
- x = g[b], u.contains(x._latlng) || c.removeLayer(x);
7690
+ M = g[b], u.contains(M._latlng) || c.removeLayer(M);
7691
7691
  }), this._forceLayout(), this._topClusterLevel._recursivelyBecomeVisible(u, r), c.eachLayer(function(v) {
7692
7692
  !(v instanceof L.MarkerCluster) && v._icon && v.clusterShow();
7693
7693
  }), this._topClusterLevel._recursively(u, o, r, function(v) {
@@ -7941,22 +7941,22 @@ function ol() {
7941
7941
  return v.splice(P, 1), g === 1 && delete b[u], !0;
7942
7942
  },
7943
7943
  eachObject: function(o, r) {
7944
- var u, c, _, b, v, P, g, x = this._grid;
7945
- for (u in x) {
7946
- v = x[u];
7944
+ var u, c, _, b, v, P, g, M = this._grid;
7945
+ for (u in M) {
7946
+ v = M[u];
7947
7947
  for (c in v)
7948
7948
  for (P = v[c], _ = 0, b = P.length; _ < b; _++)
7949
7949
  g = o.call(r, P[_]), g && (_--, b--);
7950
7950
  }
7951
7951
  },
7952
7952
  getNearObject: function(o) {
7953
- var r = this._getCoord(o.x), u = this._getCoord(o.y), c, _, b, v, P, g, x, C, N = this._objectPoint, I = this._sqCellSize, z = null;
7953
+ var r = this._getCoord(o.x), u = this._getCoord(o.y), c, _, b, v, P, g, M, C, N = this._objectPoint, I = this._sqCellSize, z = null;
7954
7954
  for (c = u - 1; c <= u + 1; c++)
7955
7955
  if (v = this._grid[c], v) {
7956
7956
  for (_ = r - 1; _ <= r + 1; _++)
7957
7957
  if (P = v[_], P)
7958
7958
  for (b = 0, g = P.length; b < g; b++)
7959
- x = P[b], C = this._sqDist(N[L.Util.stamp(x)], o), (C < I || C <= I && z === null) && (I = C, z = x);
7959
+ M = P[b], C = this._sqDist(N[L.Util.stamp(M)], o), (C < I || C <= I && z === null) && (I = C, z = M);
7960
7960
  }
7961
7961
  return z;
7962
7962
  },
@@ -8021,15 +8021,15 @@ function ol() {
8021
8021
  * @returns {Array}
8022
8022
  */
8023
8023
  getConvexHull: function(o) {
8024
- var r = !1, u = !1, c = !1, _ = !1, b = null, v = null, P = null, g = null, x = null, C = null, N;
8024
+ var r = !1, u = !1, c = !1, _ = !1, b = null, v = null, P = null, g = null, M = null, C = null, N;
8025
8025
  for (N = o.length - 1; N >= 0; N--) {
8026
8026
  var I = o[N];
8027
8027
  (r === !1 || I.lat > r) && (b = I, r = I.lat), (u === !1 || I.lat < u) && (v = I, u = I.lat), (c === !1 || I.lng > c) && (P = I, c = I.lng), (_ === !1 || I.lng < _) && (g = I, _ = I.lng);
8028
8028
  }
8029
- u !== r ? (C = v, x = b) : (C = g, x = P);
8029
+ u !== r ? (C = v, M = b) : (C = g, M = P);
8030
8030
  var z = [].concat(
8031
- this.buildConvexHull([C, x], o),
8032
- this.buildConvexHull([x, C], o)
8031
+ this.buildConvexHull([C, M], o),
8032
+ this.buildConvexHull([M, C], o)
8033
8033
  );
8034
8034
  return z;
8035
8035
  }
@@ -8085,9 +8085,9 @@ function ol() {
8085
8085
  }
8086
8086
  }), L.MarkerClusterNonAnimated = L.MarkerCluster.extend({
8087
8087
  _animationSpiderfy: function(o, r) {
8088
- var u = this._group, c = u._map, _ = u._featureGroup, b = this._group.options.spiderLegPolylineOptions, v, P, g, x;
8088
+ var u = this._group, c = u._map, _ = u._featureGroup, b = this._group.options.spiderLegPolylineOptions, v, P, g, M;
8089
8089
  for (u._ignoreMove = !0, v = 0; v < o.length; v++)
8090
- x = c.layerPointToLatLng(r[v]), P = o[v], g = new L.Polyline([this._latlng, x], b), c.addLayer(g), P._spiderLeg = g, P._preSpiderfyLatlng = P._latlng, P.setLatLng(x), P.setZIndexOffset && P.setZIndexOffset(1e6), _.addLayer(P);
8090
+ M = c.layerPointToLatLng(r[v]), P = o[v], g = new L.Polyline([this._latlng, M], b), c.addLayer(g), P._spiderLeg = g, P._preSpiderfyLatlng = P._latlng, P.setLatLng(M), P.setZIndexOffset && P.setZIndexOffset(1e6), _.addLayer(P);
8091
8091
  this.setOpacity(0.3), u._ignoreMove = !1, u.fire("spiderfied", {
8092
8092
  cluster: this,
8093
8093
  markers: o
@@ -8098,9 +8098,9 @@ function ol() {
8098
8098
  }
8099
8099
  }), L.MarkerCluster.include({
8100
8100
  _animationSpiderfy: function(o, r) {
8101
- var u = this, c = this._group, _ = c._map, b = c._featureGroup, v = this._latlng, P = _.latLngToLayerPoint(v), g = L.Path.SVG, x = L.extend({}, this._group.options.spiderLegPolylineOptions), C = x.opacity, N, I, z, R, at, lt;
8102
- for (C === void 0 && (C = L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity), g ? (x.opacity = 0, x.className = (x.className || "") + " leaflet-cluster-spider-leg") : x.opacity = C, c._ignoreMove = !0, N = 0; N < o.length; N++)
8103
- I = o[N], lt = _.layerPointToLatLng(r[N]), z = new L.Polyline([v, lt], x), _.addLayer(z), I._spiderLeg = z, g && (R = z._path, at = R.getTotalLength() + 0.1, R.style.strokeDasharray = at, R.style.strokeDashoffset = at), I.setZIndexOffset && I.setZIndexOffset(1e6), I.clusterHide && I.clusterHide(), b.addLayer(I), I._setPos && I._setPos(P);
8101
+ var u = this, c = this._group, _ = c._map, b = c._featureGroup, v = this._latlng, P = _.latLngToLayerPoint(v), g = L.Path.SVG, M = L.extend({}, this._group.options.spiderLegPolylineOptions), C = M.opacity, N, I, z, R, nt, lt;
8102
+ for (C === void 0 && (C = L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity), g ? (M.opacity = 0, M.className = (M.className || "") + " leaflet-cluster-spider-leg") : M.opacity = C, c._ignoreMove = !0, N = 0; N < o.length; N++)
8103
+ I = o[N], lt = _.layerPointToLatLng(r[N]), z = new L.Polyline([v, lt], M), _.addLayer(z), I._spiderLeg = z, g && (R = z._path, nt = R.getTotalLength() + 0.1, R.style.strokeDasharray = nt, R.style.strokeDashoffset = nt), I.setZIndexOffset && I.setZIndexOffset(1e6), I.clusterHide && I.clusterHide(), b.addLayer(I), I._setPos && I._setPos(P);
8104
8104
  for (c._forceLayout(), c._animationStart(), N = o.length - 1; N >= 0; N--)
8105
8105
  lt = _.layerPointToLatLng(r[N]), I = o[N], I._preSpiderfyLatlng = I._latlng, I.setLatLng(lt), I.clusterShow && I.clusterShow(), g && (z = I._spiderLeg, R = z._path, R.style.strokeDashoffset = 0, z.setStyle({ opacity: C }));
8106
8106
  this.setOpacity(0.3), c._ignoreMove = !1, setTimeout(function() {
@@ -8111,15 +8111,15 @@ function ol() {
8111
8111
  }, 200);
8112
8112
  },
8113
8113
  _animationUnspiderfy: function(o) {
8114
- var r = this, u = this._group, c = u._map, _ = u._featureGroup, b = o ? c._latLngToNewLayerPoint(this._latlng, o.zoom, o.center) : c.latLngToLayerPoint(this._latlng), v = this.getAllChildMarkers(null, !0), P = L.Path.SVG, g, x, C, N, I, z;
8115
- for (u._ignoreMove = !0, u._animationStart(), this.setOpacity(1), x = v.length - 1; x >= 0; x--)
8116
- g = v[x], g._preSpiderfyLatlng && (g.closePopup(), g.setLatLng(g._preSpiderfyLatlng), delete g._preSpiderfyLatlng, z = !0, g._setPos && (g._setPos(b), z = !1), g.clusterHide && (g.clusterHide(), z = !1), z && _.removeLayer(g), P && (C = g._spiderLeg, N = C._path, I = N.getTotalLength() + 0.1, N.style.strokeDashoffset = I, C.setStyle({ opacity: 0 })));
8114
+ var r = this, u = this._group, c = u._map, _ = u._featureGroup, b = o ? c._latLngToNewLayerPoint(this._latlng, o.zoom, o.center) : c.latLngToLayerPoint(this._latlng), v = this.getAllChildMarkers(null, !0), P = L.Path.SVG, g, M, C, N, I, z;
8115
+ for (u._ignoreMove = !0, u._animationStart(), this.setOpacity(1), M = v.length - 1; M >= 0; M--)
8116
+ g = v[M], g._preSpiderfyLatlng && (g.closePopup(), g.setLatLng(g._preSpiderfyLatlng), delete g._preSpiderfyLatlng, z = !0, g._setPos && (g._setPos(b), z = !1), g.clusterHide && (g.clusterHide(), z = !1), z && _.removeLayer(g), P && (C = g._spiderLeg, N = C._path, I = N.getTotalLength() + 0.1, N.style.strokeDashoffset = I, C.setStyle({ opacity: 0 })));
8117
8117
  u._ignoreMove = !1, setTimeout(function() {
8118
8118
  var R = 0;
8119
- for (x = v.length - 1; x >= 0; x--)
8120
- g = v[x], g._spiderLeg && R++;
8121
- for (x = v.length - 1; x >= 0; x--)
8122
- g = v[x], g._spiderLeg && (g.clusterShow && g.clusterShow(), g.setZIndexOffset && g.setZIndexOffset(0), R > 1 && _.removeLayer(g), c.removeLayer(g._spiderLeg), delete g._spiderLeg);
8119
+ for (M = v.length - 1; M >= 0; M--)
8120
+ g = v[M], g._spiderLeg && R++;
8121
+ for (M = v.length - 1; M >= 0; M--)
8122
+ g = v[M], g._spiderLeg && (g.clusterShow && g.clusterShow(), g.setZIndexOffset && g.setZIndexOffset(0), R > 1 && _.removeLayer(g), c.removeLayer(g._spiderLeg), delete g._spiderLeg);
8123
8123
  u._animationEnd(), u.fire("unspiderfied", {
8124
8124
  cluster: r,
8125
8125
  markers: v
@@ -8238,18 +8238,18 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8238
8238
  crs: r
8239
8239
  }), R = [[0, 0], [_.value, b.value]];
8240
8240
  we.imageOverlay(c.value, R).addTo(z);
8241
- const at = we.markerClusterGroup({
8241
+ const nt = we.markerClusterGroup({
8242
8242
  showCoverageOnHover: !1
8243
8243
  }), lt = new we.LatLngBounds(C.value.map(({ y: vt, x: Mt }) => [vt, Mt]));
8244
8244
  C.value.forEach(({ y: vt, x: Mt, name: xt, id: Nt }) => {
8245
- at.addLayer(we.marker([vt, Mt], {
8245
+ nt.addLayer(we.marker([vt, Mt], {
8246
8246
  icon: v,
8247
8247
  title: xt,
8248
8248
  alt: xt,
8249
8249
  riseOnHover: !0,
8250
8250
  autoPanOnFocus: !0
8251
8251
  }).bindPopup(`<h3 class="konnectio-leaflet-map-popup-title"><span>${xt}</span></h3><button class="konnectio-leaflet-map-popup-button" data-id="${Nt}">${d("hotel.selectRoomOnMap")}</button>`));
8252
- }), z.addLayer(at), z.invalidateSize(), z.fitBounds(lt), z.on("popupopen", (vt) => {
8252
+ }), z.addLayer(nt), z.invalidateSize(), z.fitBounds(lt), z.on("popupopen", (vt) => {
8253
8253
  const Mt = vt.popup._contentNode.querySelector(".konnectio-leaflet-map-popup-button");
8254
8254
  Mt?.addEventListener("click", () => {
8255
8255
  const xt = parseInt(Mt.getAttribute("data-id"));
@@ -8259,7 +8259,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8259
8259
  }
8260
8260
  const { stop: g } = Gr(u, ([{ isIntersecting: z }]) => {
8261
8261
  z && (g(), P());
8262
- }), x = Tt({
8262
+ }), M = Tt({
8263
8263
  get: () => w.modelValue,
8264
8264
  set: (z) => N(z)
8265
8265
  }), C = Tt(() => w.rooms.map((z) => ({
@@ -8272,13 +8272,13 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8272
8272
  m("update:modelValue", z);
8273
8273
  }
8274
8274
  function I(z) {
8275
- isNaN(z) ? console.log("Invalid room ID selected:", z) : (x.value = z, m("callback"));
8275
+ isNaN(z) ? console.log("Invalid room ID selected:", z) : (M.value = z, m("callback"));
8276
8276
  }
8277
- return (z, R) => R[0] || (Ko(-1, !0), (R[0] = y("div", {
8277
+ return (z, R) => R[0] || (Jo(-1, !0), (R[0] = y("div", {
8278
8278
  ref_key: "mapContainer",
8279
8279
  ref: u,
8280
8280
  class: "konnectio-leaflet-map"
8281
- }, null, 512)).cacheIndex = 0, Ko(1), R[0]);
8281
+ }, null, 512)).cacheIndex = 0, Jo(1), R[0]);
8282
8282
  }
8283
8283
  }), al = /* @__PURE__ */ Qt(rl, [["__scopeId", "data-v-bdbc420d"]]), ll = { style: { height: "100%", width: "100%" } }, ul = /* @__PURE__ */ Dt({
8284
8284
  __name: "MapSelector",
@@ -8292,7 +8292,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8292
8292
  function o() {
8293
8293
  m.value && (w.config.units = 1, w.config.roomId = d.value, w.callback());
8294
8294
  }
8295
- return (r, u) => (M(), rt(bs, {
8295
+ return (r, u) => (x(), at(bs, {
8296
8296
  title: l(f)("hotel.selectRoomOnMapTitle")
8297
8297
  }, {
8298
8298
  default: it(() => [
@@ -8346,7 +8346,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8346
8346
  const _ = Tt(() => o.room.rates.map((W) => ({
8347
8347
  label: W.name,
8348
8348
  value: W.id
8349
- }))), { hideAvailableRoomAmount: b, autoSelectRateId: v, enableMultipleConfigurations: P } = Ft(Re()), { roomSelect: g, isSearchOutdated: x } = Ft(fe()), { addToCart: C, removeFromCart: N } = vs(), I = (W, j) => o.room.rates.find((q) => q.id === W)?.occupantRates.find((q) => q.index === j), z = Tt(() => o.room.roomList.some((W) => W.mapImageX && W.mapImageY)), R = Tt(() => o.room.rates.every((W) => W.isBreakfastIncluded === !0)), at = (W, j) => I(W, j) ? I(W, j)?.rooms : null, lt = (W) => o.room.rates.length > 0 ? o.room.rates.find((j) => j.id === W)?.occupantRates.map((j) => ({
8349
+ }))), { hideAvailableRoomAmount: b, autoSelectRateId: v, enableMultipleConfigurations: P } = Ft(Re()), { roomSelect: g, isSearchOutdated: M } = Ft(fe()), { addToCart: C, removeFromCart: N } = ho(), I = (W, j) => o.room.rates.find((q) => q.id === W)?.occupantRates.find((q) => q.index === j), z = Tt(() => o.room.roomList.some((W) => W.mapImageX && W.mapImageY)), R = Tt(() => o.room.rates.every((W) => W.isBreakfastIncluded === !0)), nt = (W, j) => I(W, j) ? I(W, j)?.rooms : null, lt = (W) => o.room.rates.length > 0 ? o.room.rates.find((j) => j.id === W)?.occupantRates.map((j) => ({
8350
8350
  value: j.index,
8351
8351
  price: j.totalPrice,
8352
8352
  adults: j.adultsCount,
@@ -8401,7 +8401,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8401
8401
  });
8402
8402
  }, { deep: !0 }), rn(r, () => {
8403
8403
  g.value[o.room.id] = r.value;
8404
- }, { deep: !0 }), (W, j) => (M(), rt(an, {
8404
+ }, { deep: !0 }), (W, j) => (x(), at(an, {
8405
8405
  type: "hotel",
8406
8406
  "listing-id": W.room.id,
8407
8407
  gallery: W.room.images,
@@ -8419,11 +8419,11 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8419
8419
  { "konnectio-multiple-configurations": r.value.length > 1 }
8420
8420
  ])
8421
8421
  }, [
8422
- (M(!0), A(ut, null, Ct(r.value, (q, At) => (M(), A("div", {
8422
+ (x(!0), A(ut, null, Ct(r.value, (q, At) => (x(), A("div", {
8423
8423
  key: q.id,
8424
8424
  class: "konnectio-hotel-room"
8425
8425
  }, [
8426
- vt.value ? (M(), A("div", hl, [
8426
+ vt.value ? (x(), A("div", hl, [
8427
8427
  B(ln, {
8428
8428
  modelValue: q.id,
8429
8429
  "onUpdate:modelValue": (ht) => q.id = ht,
@@ -8433,7 +8433,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8433
8433
  searchable: !1,
8434
8434
  onChanged: (ht) => Mt(At, ht)
8435
8435
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"]),
8436
- r.value.length > 1 ? (M(), A("div", dl, [
8436
+ r.value.length > 1 ? (x(), A("div", dl, [
8437
8437
  B(oe, {
8438
8438
  style: { "--buttonBackground": "var(--dangerColor)" },
8439
8439
  icon: "trash-alt",
@@ -8443,15 +8443,15 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8443
8443
  }, null, 8, ["onClickEvent"])
8444
8444
  ])) : Z("", !0)
8445
8445
  ])) : Z("", !0),
8446
- q.id ? (M(), A("div", cl, [
8447
- (M(!0), A(ut, null, Ct(W.room.rates, ({
8446
+ q.id ? (x(), A("div", cl, [
8447
+ (x(!0), A(ut, null, Ct(W.room.rates, ({
8448
8448
  id: ht,
8449
8449
  maximumOccupants: Vt
8450
- }) => (M(), A("div", {
8450
+ }) => (x(), A("div", {
8451
8451
  key: ht,
8452
8452
  class: "konnectio-listing-action-selective-i"
8453
8453
  }, [
8454
- q.id === ht ? (M(!0), A(ut, { key: 0 }, Ct(q.config, (dt, zt) => (M(), A("div", {
8454
+ q.id === ht ? (x(!0), A(ut, { key: 0 }, Ct(q.config, (dt, zt) => (x(), A("div", {
8455
8455
  key: zt,
8456
8456
  class: "konnectio-listing-action-selective"
8457
8457
  }, [
@@ -8467,13 +8467,13 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8467
8467
  readonly: !(lt(ht).length > 1)
8468
8468
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
8469
8469
  ]),
8470
- z.value ? (M(), A("div", ml, [
8470
+ z.value ? (x(), A("div", ml, [
8471
8471
  B(oe, {
8472
8472
  onClickEvent: d,
8473
8473
  label: l(w)("hotel.selectRoomOnMap"),
8474
8474
  secondary: "",
8475
8475
  "full-width": "",
8476
- disabled: l(x)
8476
+ disabled: l(M)
8477
8477
  }, null, 8, ["label", "disabled"]),
8478
8478
  B(ul, {
8479
8479
  modelValue: f.value,
@@ -8482,24 +8482,24 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8482
8482
  config: dt,
8483
8483
  callback: m
8484
8484
  }, null, 8, ["modelValue", "room-list", "config"])
8485
- ])) : (M(), A("ul", pl, [
8485
+ ])) : (x(), A("ul", pl, [
8486
8486
  B(wi, {
8487
8487
  modelValue: dt.units,
8488
8488
  "onUpdate:modelValue": (G) => dt.units = G,
8489
- description: l(b) ? void 0 : `${l(w)("booking.availability.availableUnits")}: ${at(q.id, dt.id)}`,
8489
+ description: l(b) ? void 0 : `${l(w)("booking.availability.availableUnits")}: ${nt(q.id, dt.id)}`,
8490
8490
  icon: "house",
8491
8491
  "icon-type": "fas",
8492
8492
  "icon-placement": "label",
8493
8493
  label: l(w)("booking.availability.units"),
8494
8494
  minValue: 0,
8495
- "max-value": at(ht, dt.id) || 1 / 0
8495
+ "max-value": nt(ht, dt.id) || 1 / 0
8496
8496
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
8497
8497
  ]))
8498
8498
  ]))), 128)) : Z("", !0)
8499
8499
  ]))), 128))
8500
8500
  ])) : Z("", !0)
8501
8501
  ]))), 128)),
8502
- l(P) && vt.value ? (M(), A("button", {
8502
+ l(P) && vt.value ? (x(), A("button", {
8503
8503
  key: 0,
8504
8504
  class: "konnectio-hotel-add-extra-room link",
8505
8505
  onClick: Ti(u, ["prevent"])
@@ -8511,7 +8511,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8511
8511
  _: 1
8512
8512
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
8513
8513
  }
8514
- }), us = /* @__PURE__ */ Qt(_l, [["__scopeId", "data-v-a4489b39"]]), gl = { class: "konnectio-template-side-panel" }, vl = { class: "konnectio-template-side-panel-listings" }, yl = /* @__PURE__ */ Dt({
8514
+ }), hs = /* @__PURE__ */ Qt(_l, [["__scopeId", "data-v-a4489b39"]]), gl = { class: "konnectio-template-side-panel" }, vl = { class: "konnectio-template-side-panel-listings" }, yl = /* @__PURE__ */ Dt({
8515
8515
  __name: "Template",
8516
8516
  props: {
8517
8517
  title: {},
@@ -8521,49 +8521,55 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8521
8521
  callback: { type: Function }
8522
8522
  },
8523
8523
  setup(h) {
8524
- const { t: f } = Jt(), { templateID: d, roomGroupID: m, selectionHasNoAddons: w } = Ft(fe()), { currency: o } = Ft(Re()), { clearRoomSelection: r } = fe(), u = h, c = Gt(!0), _ = Tt(() => {
8525
- function v(P, g) {
8526
- return c.value === !0 ? P.extraPrice > g.extraPrice ? -1 : 1 : P.extraPrice > g.extraPrice ? 1 : -1;
8524
+ const { t: f } = Jt(), { templateID: d, roomGroupID: m, selectionHasNoAddons: w } = Ft(fe()), { currency: o } = Ft(Re()), { clearRoomSelection: r } = fe(), { addToCart: u } = ho(), c = h, _ = Gt(!0), b = Tt(() => {
8525
+ function P(g, M) {
8526
+ return _.value === !0 ? g.extraPrice > M.extraPrice ? -1 : 1 : g.extraPrice > M.extraPrice ? 1 : -1;
8527
8527
  }
8528
- return u.roomGroups?.slice().sort(v);
8528
+ return c.roomGroups?.slice().sort(P);
8529
8529
  });
8530
- function b(v) {
8531
- if (d.value = u.templateId, m.value = v, r(), u.hideAddons === !1 && w.value == !1) {
8532
- u.callback(1);
8530
+ function v(P) {
8531
+ d.value = c.templateId, m.value = P, r();
8532
+ const g = c.roomGroups?.find((M) => M.id === P);
8533
+ if (g && u({
8534
+ id: g.id,
8535
+ name: g.title,
8536
+ value: g.extraPrice
8537
+ }), c.hideAddons === !1 && w.value == !1) {
8538
+ c.callback(1);
8533
8539
  return;
8534
8540
  }
8535
- u.callback(2);
8541
+ c.callback(2);
8536
8542
  }
8537
- return (v, P) => (M(), rt(bs, {
8538
- title: v.title,
8543
+ return (P, g) => (x(), at(bs, {
8544
+ title: P.title,
8539
8545
  subtitle: l(f)("booking.availability.selectATemplateRoom")
8540
8546
  }, {
8541
8547
  default: it(() => [
8542
8548
  y("div", gl, [
8543
8549
  y("div", vl, [
8544
- (M(!0), A(ut, null, Ct(_.value, ({
8545
- id: g,
8546
- title: x,
8547
- description: C,
8548
- images: N,
8549
- facilities: I,
8550
- extraPrice: z
8551
- }) => (M(), rt(an, {
8550
+ (x(!0), A(ut, null, Ct(b.value, ({
8551
+ id: M,
8552
+ title: C,
8553
+ description: N,
8554
+ images: I,
8555
+ facilities: z,
8556
+ extraPrice: R
8557
+ }) => (x(), at(an, {
8552
8558
  type: "hotel",
8553
- key: g,
8554
- "listing-id": g,
8555
- name: x,
8556
- description: C,
8557
- facilities: I,
8558
- gallery: N,
8559
+ key: M,
8560
+ "listing-id": M,
8561
+ name: C,
8562
+ description: N,
8563
+ facilities: z,
8564
+ gallery: I,
8559
8565
  "includes-breakfast": !1,
8560
8566
  "hide-info-button": !0
8561
8567
  }, {
8562
8568
  action: it(() => [
8563
8569
  y("div", null, [
8564
8570
  B(oe, {
8565
- onClickEvent: (R) => b(g),
8566
- label: `${l(f)("booking.availability.selectThisRoom")} (${l(se)(z, l(o))})`,
8571
+ onClickEvent: (nt) => v(M),
8572
+ label: `${l(f)("booking.availability.selectThisRoom")} (${l(se)(R, l(o))})`,
8567
8573
  "full-width": ""
8568
8574
  }, null, 8, ["onClickEvent", "label"])
8569
8575
  ])
@@ -8576,7 +8582,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8576
8582
  _: 1
8577
8583
  }, 8, ["title", "subtitle"]));
8578
8584
  }
8579
- }), bl = /* @__PURE__ */ Qt(yl, [["__scopeId", "data-v-a323d25a"]]), Ll = { class: "konnectio-template-select-package" }, kl = /* @__PURE__ */ Dt({
8585
+ }), bl = /* @__PURE__ */ Qt(yl, [["__scopeId", "data-v-8bc6a548"]]), Ll = { class: "konnectio-template-select-package" }, kl = /* @__PURE__ */ Dt({
8580
8586
  __name: "Template",
8581
8587
  props: {
8582
8588
  id: {},
@@ -8599,7 +8605,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8599
8605
  function u(c) {
8600
8606
  d.callback(c), o.value = !1;
8601
8607
  }
8602
- return (c, _) => (M(), rt(an, {
8608
+ return (c, _) => (x(), at(an, {
8603
8609
  type: "template",
8604
8610
  "listing-id": c.id,
8605
8611
  name: c.name,
@@ -8656,7 +8662,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8656
8662
  }
8657
8663
  return lo(() => {
8658
8664
  r.value && (o.value = [new Date(w.fromDate), new Date(w.toDate)]);
8659
- }), (c, _) => (M(), rt(an, {
8665
+ }), (c, _) => (x(), at(an, {
8660
8666
  type: "template",
8661
8667
  "listing-id": c.id,
8662
8668
  name: c.name,
@@ -8696,7 +8702,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8696
8702
  _: 1
8697
8703
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
8698
8704
  }
8699
- }), Tl = /* @__PURE__ */ Qt(Cl, [["__scopeId", "data-v-47edd09f"]]), hs = /* @__PURE__ */ Dt({
8705
+ }), Tl = /* @__PURE__ */ Qt(Cl, [["__scopeId", "data-v-47edd09f"]]), ds = /* @__PURE__ */ Dt({
8700
8706
  __name: "TimeField",
8701
8707
  props: {
8702
8708
  modelValue: {},
@@ -8721,7 +8727,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8721
8727
  const o = Gt(m.modelValue);
8722
8728
  return rn(o, (r) => {
8723
8729
  w(r);
8724
- }), (r, u) => (M(), rt(Ls, {
8730
+ }), (r, u) => (x(), at(Ls, {
8725
8731
  modelValue: o.value,
8726
8732
  "onUpdate:modelValue": u[0] || (u[0] = (c) => o.value = c),
8727
8733
  type: "time",
@@ -8758,7 +8764,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8758
8764
  get: () => w.modelValue,
8759
8765
  set: (u) => o(u)
8760
8766
  });
8761
- return (u, c) => (M(), rt(ln, {
8767
+ return (u, c) => (x(), at(ln, {
8762
8768
  modelValue: r.value,
8763
8769
  "onUpdate:modelValue": c[0] || (c[0] = (_) => r.value = _),
8764
8770
  label: u.label,
@@ -8806,7 +8812,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8806
8812
  },
8807
8813
  emits: ["update:modelValue", "update:title"],
8808
8814
  setup(h, { emit: f }) {
8809
- const d = h, m = f, w = d.id || Qo(), o = Gt(""), r = Gt(2);
8815
+ const d = h, m = f, w = d.id || ts(), o = Gt(""), r = Gt(2);
8810
8816
  function u() {
8811
8817
  m("update:modelValue", o.value);
8812
8818
  }
@@ -8816,7 +8822,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8816
8822
  const { t: c } = Jt();
8817
8823
  return lo(() => {
8818
8824
  d.modelValue && (o.value = d.modelValue), d.title && (r.value = d.title);
8819
- }), (_, b) => (M(), rt(Ur, {
8825
+ }), (_, b) => (x(), at(Ur, {
8820
8826
  label: _.label,
8821
8827
  id: l(w),
8822
8828
  required: _.required,
@@ -8831,11 +8837,11 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8831
8837
  { "no-title": _.excludeTitle }
8832
8838
  ])
8833
8839
  }, [
8834
- _.excludeTitle ? Z("", !0) : (M(), rt(ln, {
8840
+ _.excludeTitle ? Z("", !0) : (x(), at(ln, {
8835
8841
  key: 0,
8836
8842
  modelValue: r.value,
8837
8843
  "onUpdate:modelValue": b[0] || (b[0] = (v) => r.value = v),
8838
- id: l(Qo)(),
8844
+ id: l(ts)(),
8839
8845
  icon: _.icon,
8840
8846
  "icon-color": _.iconColor,
8841
8847
  "icon-type": _.iconType,
@@ -8889,7 +8895,7 @@ const sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8889
8895
  }), Il = /* @__PURE__ */ Qt(Al, [["__scopeId", "data-v-9d27a2bc"]]), Ol = { class: "hotel-skeleton" }, zl = { class: "hotel-skeleton-content" }, El = { class: "hotel-skeleton-sidebar" }, Bl = /* @__PURE__ */ Dt({
8890
8896
  __name: "HotelSkeleton",
8891
8897
  setup(h) {
8892
- return (f, d) => (M(), A("div", Ol, [
8898
+ return (f, d) => (x(), A("div", Ol, [
8893
8899
  y("div", zl, [
8894
8900
  B(jr, { hotel: "" }),
8895
8901
  B(Dr)
@@ -8982,7 +8988,7 @@ const Du = /* @__PURE__ */ Dt({
8982
8988
  styling: {}
8983
8989
  },
8984
8990
  setup(h) {
8985
- const f = xr(() => import("./_-Dr00NgKV.js")), d = h, { t: m } = Jt(), {
8991
+ const f = xr(() => import("./_-CCH1RDZD.js")), d = h, { t: m } = Jt(), {
8986
8992
  currentLocation: w,
8987
8993
  templateID: o,
8988
8994
  templateAddons: r,
@@ -8993,13 +8999,13 @@ const Du = /* @__PURE__ */ Dt({
8993
8999
  travelingFor: v,
8994
9000
  arrivalTime: P,
8995
9001
  departureTime: g,
8996
- name: x,
9002
+ name: M,
8997
9003
  nameTitle: C,
8998
9004
  email: N,
8999
9005
  phone: I,
9000
9006
  firmName: z,
9001
9007
  postal: R,
9002
- city: at,
9008
+ city: nt,
9003
9009
  address: lt,
9004
9010
  country: vt,
9005
9011
  remark: Mt,
@@ -9016,11 +9022,11 @@ const Du = /* @__PURE__ */ Dt({
9016
9022
  currentChildren: G,
9017
9023
  isTemplateReservation: pe,
9018
9024
  newsMails: U,
9019
- adultsMismatch: nt,
9025
+ adultsMismatch: ot,
9020
9026
  childrenMismatch: ct,
9021
9027
  totalAdults: bt,
9022
9028
  totalChildren: Y,
9023
- hasGuestDiscountId: ot,
9029
+ hasGuestDiscountId: st,
9024
9030
  guestDiscountId: Q,
9025
9031
  guestDiscountName: Et,
9026
9032
  hasMemberCards: Ut,
@@ -9062,7 +9068,7 @@ const Du = /* @__PURE__ */ Dt({
9062
9068
  latestDepartureTime: pn,
9063
9069
  setActiveIdFilter: mn,
9064
9070
  clearActiveIdFilter: _n
9065
- } = Re(), { beginCheckout: gn } = vs(), { display: Fe } = uo(), {
9071
+ } = Re(), { beginCheckout: gn } = ho(), { display: Fe } = uo(), {
9066
9072
  resetTemplate: vn,
9067
9073
  resetDiscountVoucher: ai,
9068
9074
  createReservation: yn,
@@ -9157,7 +9163,7 @@ const Du = /* @__PURE__ */ Dt({
9157
9163
  message: m("alert.error.hotelIdNotFound"),
9158
9164
  type: "error"
9159
9165
  }))), F && Bt)
9160
- if (ns(F) && ns(Bt)) {
9166
+ if (os(F) && os(Bt)) {
9161
9167
  const jt = new Date(F), ae = new Date(Bt);
9162
9168
  jt <= ae ? (Ve.value = jt, un.value = ae) : (D.ci = void 0, D.co = void 0, Fe({
9163
9169
  message: m("alert.error.invalidDateRange"),
@@ -9174,9 +9180,9 @@ const Du = /* @__PURE__ */ Dt({
9174
9180
  }
9175
9181
  d.disableDefaultLocation === "yes" && te === !1 ? (re.value = void 0, w.value = void 0) : li();
9176
9182
  }
9177
- return (D, H) => (M(), rt(qr, { styling: D.styling }, {
9183
+ return (D, H) => (x(), at(qr, { styling: D.styling }, {
9178
9184
  default: it(() => [
9179
- (M(), rt(Mr, { onResolve: ui }, {
9185
+ (x(), at(Mr, { onResolve: ui }, {
9180
9186
  default: it(() => [
9181
9187
  B(l(f), {
9182
9188
  id: "konnectio-hotel-module",
@@ -9185,7 +9191,7 @@ const Du = /* @__PURE__ */ Dt({
9185
9191
  }, {
9186
9192
  default: it(() => [
9187
9193
  xe(B($a, { onCallback: ui }, null, 512), [
9188
- [Ne, D.requireGuestDiscountId === "yes" && !l(ot)]
9194
+ [Ne, D.requireGuestDiscountId === "yes" && !l(st)]
9189
9195
  ]),
9190
9196
  xe(B(Rr, {
9191
9197
  layout: D.headerLayout,
@@ -9204,12 +9210,12 @@ const Du = /* @__PURE__ */ Dt({
9204
9210
  "hide-locations": D.hideLocations === "yes"
9205
9211
  }, null, 8, ["selected-location", "disable-default-location", "hide-locations"])
9206
9212
  ]),
9207
- l(ot) ? (M(), A("div", Rl, [
9213
+ l(st) ? (x(), A("div", Rl, [
9208
9214
  y("span", {
9209
9215
  innerHTML: l(m)("guestDiscount.displayMessage", { name: `<b>${l(Et) ? l(Et) : l(Q)}</b>` })
9210
9216
  }, null, 8, Vl)
9211
9217
  ])) : Z("", !0),
9212
- l(ni) ? (M(), A("div", Hl, [
9218
+ l(ni) ? (x(), A("div", Hl, [
9213
9219
  y("span", null, [
9214
9220
  io(O(l(m)("general.filteredListingNotice")) + " ", 1),
9215
9221
  y("button", {
@@ -9219,10 +9225,10 @@ const Du = /* @__PURE__ */ Dt({
9219
9225
  ])
9220
9226
  ])) : Z("", !0),
9221
9227
  Z("", !0),
9222
- !l(c) && l(ht) ? (M(), A("div", Fl, [
9223
- qt.value.camping && qt.value.camping.length > 0 && D.onlyShow !== "non-camping" || qt.value.rooms && qt.value.rooms.length > 0 || l(q).templates.length > 0 || l(q).specialTemplates.length > 0 ? (M(), A("div", Gl, [
9224
- l(q).templates.length > 0 && D.onlyShow !== "rooms" && D.onlyShow !== "camping" ? (M(), A("div", Ul, [
9225
- D.onlyShow !== "packages" ? (M(), A("h2", $l, [
9228
+ !l(c) && l(ht) ? (x(), A("div", Fl, [
9229
+ qt.value.camping && qt.value.camping.length > 0 && D.onlyShow !== "non-camping" || qt.value.rooms && qt.value.rooms.length > 0 || l(q).templates.length > 0 || l(q).specialTemplates.length > 0 ? (x(), A("div", Gl, [
9230
+ l(q).templates.length > 0 && D.onlyShow !== "rooms" && D.onlyShow !== "camping" ? (x(), A("div", Ul, [
9231
+ D.onlyShow !== "packages" ? (x(), A("h2", $l, [
9226
9232
  B(Pt, {
9227
9233
  icon: "box",
9228
9234
  type: "fal",
@@ -9231,14 +9237,14 @@ const Du = /* @__PURE__ */ Dt({
9231
9237
  y("span", null, O(l(m)("booking.availability.packagesTitle")), 1)
9232
9238
  ])) : Z("", !0),
9233
9239
  y("ul", Wl, [
9234
- (M(!0), A(ut, null, Ct(l(q).templates, ({
9240
+ (x(!0), A(ut, null, Ct(l(q).templates, ({
9235
9241
  id: J,
9236
9242
  name: ft,
9237
9243
  templateRoomGroups: F,
9238
9244
  images: Bt,
9239
9245
  description: pt,
9240
9246
  weekendFee: Ot
9241
- }) => (M(), rt(kl, {
9247
+ }) => (x(), at(kl, {
9242
9248
  key: J,
9243
9249
  id: J,
9244
9250
  description: pt,
@@ -9251,9 +9257,9 @@ const Du = /* @__PURE__ */ Dt({
9251
9257
  }, null, 8, ["id", "description", "name", "images", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
9252
9258
  ])
9253
9259
  ])) : Z("", !0),
9254
- l(q).roomGroups.length > 0 && D.onlyShow !== "packages" ? (M(), A("div", ql, [
9255
- qt.value.rooms && D.onlyShow !== "camping" ? (M(), A(ut, { key: 0 }, [
9256
- l(q).templates.length > 0 && D.onlyShow !== "rooms" ? (M(), A("h2", jl, [
9260
+ l(q).roomGroups.length > 0 && D.onlyShow !== "packages" ? (x(), A("div", ql, [
9261
+ qt.value.rooms && D.onlyShow !== "camping" ? (x(), A(ut, { key: 0 }, [
9262
+ l(q).templates.length > 0 && D.onlyShow !== "rooms" ? (x(), A("h2", jl, [
9257
9263
  B(Pt, {
9258
9264
  icon: "house",
9259
9265
  type: "fal",
@@ -9262,15 +9268,15 @@ const Du = /* @__PURE__ */ Dt({
9262
9268
  y("span", null, O(l(m)("booking.availability.roomsTitle")), 1)
9263
9269
  ])) : Z("", !0),
9264
9270
  y("ul", Yl, [
9265
- (M(!0), A(ut, null, Ct(qt.value.rooms, (J, ft) => (M(), rt(us, {
9271
+ (x(!0), A(ut, null, Ct(qt.value.rooms, (J, ft) => (x(), at(hs, {
9266
9272
  room: J,
9267
9273
  key: ft,
9268
9274
  callback: Lt
9269
9275
  }, null, 8, ["room", "callback"]))), 128))
9270
9276
  ])
9271
9277
  ], 64)) : Z("", !0),
9272
- qt.value.camping && D.onlyShow !== "rooms" && D.onlyShow !== "non-camping" ? (M(), A(ut, { key: 1 }, [
9273
- l(q).templates.length > 0 && D.onlyShow !== "camping" ? (M(), A("h2", Xl, [
9278
+ qt.value.camping && D.onlyShow !== "rooms" && D.onlyShow !== "non-camping" ? (x(), A(ut, { key: 1 }, [
9279
+ l(q).templates.length > 0 && D.onlyShow !== "camping" ? (x(), A("h2", Xl, [
9274
9280
  B(Pt, {
9275
9281
  icon: "map-location-dot",
9276
9282
  type: "fal",
@@ -9279,7 +9285,7 @@ const Du = /* @__PURE__ */ Dt({
9279
9285
  y("span", null, O(l(m)("booking.availability.campingTitle")), 1)
9280
9286
  ])) : Z("", !0),
9281
9287
  y("ul", Kl, [
9282
- (M(!0), A(ut, null, Ct(qt.value.camping, (J, ft) => (M(), rt(us, {
9288
+ (x(!0), A(ut, null, Ct(qt.value.camping, (J, ft) => (x(), at(hs, {
9283
9289
  room: J,
9284
9290
  key: ft,
9285
9291
  callback: Lt
@@ -9287,8 +9293,8 @@ const Du = /* @__PURE__ */ Dt({
9287
9293
  ])
9288
9294
  ], 64)) : Z("", !0)
9289
9295
  ])) : Z("", !0),
9290
- l(ni) ? Z("", !0) : (M(), A(ut, { key: 2 }, [
9291
- l(q).specialTemplates.length > 0 && D.onlyShow !== "rooms" ? (M(), A("div", Jl, [
9296
+ l(ni) ? Z("", !0) : (x(), A(ut, { key: 2 }, [
9297
+ l(q).specialTemplates.length > 0 && D.onlyShow !== "rooms" ? (x(), A("div", Jl, [
9292
9298
  y("h2", Ql, [
9293
9299
  B(Pt, {
9294
9300
  icon: "sparkles",
@@ -9298,7 +9304,7 @@ const Du = /* @__PURE__ */ Dt({
9298
9304
  y("span", null, O(l(m)("hotel.specialOffers")), 1)
9299
9305
  ]),
9300
9306
  y("ul", tu, [
9301
- (M(!0), A(ut, null, Ct(l(q).specialTemplates, ({
9307
+ (x(!0), A(ut, null, Ct(l(q).specialTemplates, ({
9302
9308
  id: J,
9303
9309
  name: ft,
9304
9310
  templateRoomGroups: F,
@@ -9307,7 +9313,7 @@ const Du = /* @__PURE__ */ Dt({
9307
9313
  weekendFee: Ot,
9308
9314
  fromDate: te,
9309
9315
  toDate: jt
9310
- }) => (M(), rt(Tl, {
9316
+ }) => (x(), at(Tl, {
9311
9317
  key: J,
9312
9318
  id: J,
9313
9319
  description: pt,
@@ -9321,12 +9327,12 @@ const Du = /* @__PURE__ */ Dt({
9321
9327
  ])
9322
9328
  ])) : Z("", !0)
9323
9329
  ], 64)),
9324
- (l(q).templates.length === 0 && D.onlyShow !== "rooms" || l(q).roomGroups.length === 0 && D.onlyShow !== "packages") && (D.onlyShow === "rooms" || D.onlyShow === "packages") ? (M(), A("div", eu, [
9330
+ (l(q).templates.length === 0 && D.onlyShow !== "rooms" || l(q).roomGroups.length === 0 && D.onlyShow !== "packages") && (D.onlyShow === "rooms" || D.onlyShow === "packages") ? (x(), A("div", eu, [
9325
9331
  y("span", null, O(l(m)("booking.availability.nothingAvailable")), 1)
9326
9332
  ])) : Z("", !0)
9327
- ])) : l(q).nextAvailableDates.length === 0 ? (M(), A("div", iu, [
9333
+ ])) : l(q).nextAvailableDates.length === 0 ? (x(), A("div", iu, [
9328
9334
  y("span", null, O(l(m)("booking.availability.nothingAvailable")), 1)
9329
- ])) : (M(), A("div", nu, [
9335
+ ])) : (x(), A("div", nu, [
9330
9336
  y("h2", ou, [
9331
9337
  B(Pt, {
9332
9338
  icon: "calendar-circle-exclamation",
@@ -9336,14 +9342,14 @@ const Du = /* @__PURE__ */ Dt({
9336
9342
  y("span", null, O(l(m)("booking.availability.nextAvailableDates")), 1)
9337
9343
  ]),
9338
9344
  y("ul", su, [
9339
- (M(!0), A(ut, null, Ct(l(q).nextAvailableDates, (J, ft) => (M(), A("li", { key: ft }, [
9345
+ (x(!0), A(ut, null, Ct(l(q).nextAvailableDates, (J, ft) => (x(), A("li", { key: ft }, [
9340
9346
  y("h3", {
9341
9347
  title: `${l(ce)(J.fromDate, 0, !0)} - ${l(ce)(J.toDate, 0, !0)}`
9342
9348
  }, [
9343
9349
  y("span", null, O(`${l(ce)(J.fromDate, 0, !0)} - ${l(ce)(J.toDate, 0, !0)}`), 1)
9344
9350
  ], 8, ru),
9345
9351
  y("ul", null, [
9346
- isNaN(J.roomCount) ? Z("", !0) : (M(), A("li", au, [
9352
+ isNaN(J.roomCount) ? Z("", !0) : (x(), A("li", au, [
9347
9353
  B(Pt, {
9348
9354
  icon: "house",
9349
9355
  type: "fal",
@@ -9368,9 +9374,9 @@ const Du = /* @__PURE__ */ Dt({
9368
9374
  ]))), 128))
9369
9375
  ])
9370
9376
  ]))
9371
- ])) : isNaN(l(w)) && !l(c) ? (M(), A("div", lu, [
9377
+ ])) : isNaN(l(w)) && !l(c) ? (x(), A("div", lu, [
9372
9378
  y("span", null, O(l(m)("alert.info.selectHotelToStart")), 1)
9373
- ])) : (M(), A("div", uu, [
9379
+ ])) : (x(), A("div", uu, [
9374
9380
  B(Kn),
9375
9381
  B(Kn),
9376
9382
  B(Kn)
@@ -9378,13 +9384,13 @@ const Du = /* @__PURE__ */ Dt({
9378
9384
  ])
9379
9385
  ]),
9380
9386
  navigation: it(() => [
9381
- l(zt) ? (M(), rt(oe, {
9387
+ l(zt) ? (x(), at(oe, {
9382
9388
  key: 0,
9383
9389
  label: isNaN(l(w)) ? l(m)("availability.buttonLabel") : l(m)("general.searchAgain"),
9384
9390
  "is-loading": l(c),
9385
9391
  "full-width": "",
9386
9392
  onClickEvent: H[2] || (H[2] = (J) => Ln())
9387
- }, null, 8, ["label", "is-loading"])) : (M(), rt(oe, {
9393
+ }, null, 8, ["label", "is-loading"])) : (x(), at(oe, {
9388
9394
  key: 1,
9389
9395
  label: l(At) || Ge.value ? l(m)("booking.availability.nextButton") : l(m)("general.chooseAddons"),
9390
9396
  disabled: !l(j),
@@ -9398,7 +9404,7 @@ const Du = /* @__PURE__ */ Dt({
9398
9404
  }),
9399
9405
  y("span", null, O(l(m)("hotel.mismatchingAdults", { searchAdults: l(Ae), selectedAdults: l(bt) })), 1)
9400
9406
  ], 512), [
9401
- [Ne, l(nt)]
9407
+ [Ne, l(ot)]
9402
9408
  ]),
9403
9409
  xe(y("span", du, [
9404
9410
  B(Pt, {
@@ -9414,7 +9420,7 @@ const Du = /* @__PURE__ */ Dt({
9414
9420
  }, 1024)
9415
9421
  ]),
9416
9422
  addons: it(({ next: Lt, prev: J }) => [
9417
- l(ht) ? (M(), rt(eo, {
9423
+ l(ht) ? (x(), at(eo, {
9418
9424
  key: 0,
9419
9425
  "prev-callback": () => ge(J)
9420
9426
  }, {
@@ -9423,25 +9429,25 @@ const Du = /* @__PURE__ */ Dt({
9423
9429
  y("h2", null, [
9424
9430
  y("span", null, O(l(m)("booking.reservation.addons")), 1)
9425
9431
  ]),
9426
- l(m)("hotel.addonTopNotice") && l(m)("hotel.addonTopNotice") !== "<br>" ? (M(), A("div", fu, [
9432
+ l(m)("hotel.addonTopNotice") && l(m)("hotel.addonTopNotice") !== "<br>" ? (x(), A("div", fu, [
9427
9433
  y("p", {
9428
9434
  innerHTML: l(m)("hotel.addonTopNotice"),
9429
9435
  class: "konnectio-wysiwyg"
9430
9436
  }, null, 8, pu)
9431
9437
  ])) : Z("", !0),
9432
9438
  y("div", null, [
9433
- isNaN(l(o)) ? (M(), A("div", mu, [
9434
- (M(!0), A(ut, null, Ct(l(W), (ft) => (M(), A(ut, {
9439
+ isNaN(l(o)) ? (x(), A("div", mu, [
9440
+ (x(!0), A(ut, null, Ct(l(W), (ft) => (x(), A(ut, {
9435
9441
  key: ft.roomGroupID
9436
9442
  }, [
9437
- l(Wt)(ft) ? (M(), A("ul", _u, [
9438
- (M(!0), A(ut, null, Ct(ft.variants, (F, Bt) => (M(), A("li", {
9443
+ l(Wt)(ft) ? (x(), A("ul", _u, [
9444
+ (x(!0), A(ut, null, Ct(ft.variants, (F, Bt) => (x(), A("li", {
9439
9445
  key: F.ratePlanID
9440
9446
  }, [
9441
9447
  y("h4", null, [
9442
9448
  y("span", null, O(l(Pe)(ft.title)), 1)
9443
9449
  ]),
9444
- (M(!0), A(ut, null, Ct(F.rooms, (pt, Ot) => (M(), A("table", {
9450
+ (x(!0), A(ut, null, Ct(F.rooms, (pt, Ot) => (x(), A("table", {
9445
9451
  key: Ot,
9446
9452
  class: "konnectio-table with-lines without-header"
9447
9453
  }, [
@@ -9459,19 +9465,19 @@ const Du = /* @__PURE__ */ Dt({
9459
9465
  color: "font"
9460
9466
  }),
9461
9467
  y("span", null, O(pt.adultsCount), 1),
9462
- pt.childrenCount > 0 ? (M(), rt(Pt, {
9468
+ pt.childrenCount > 0 ? (x(), at(Pt, {
9463
9469
  key: 0,
9464
9470
  icon: "child",
9465
9471
  type: "fas",
9466
9472
  color: "font"
9467
9473
  })) : Z("", !0),
9468
- pt.childrenCount > 0 ? (M(), A("span", vu, O(pt.childrenCount), 1)) : Z("", !0)
9474
+ pt.childrenCount > 0 ? (x(), A("span", vu, O(pt.childrenCount), 1)) : Z("", !0)
9469
9475
  ])
9470
9476
  ])
9471
9477
  ])
9472
9478
  ]),
9473
9479
  y("tbody", null, [
9474
- (M(!0), A(ut, null, Ct(l(Di)(F.addons, pt.childrenCount), ({
9480
+ (x(!0), A(ut, null, Ct(l(Di)(F.addons, pt.childrenCount), ({
9475
9481
  cardinality: te,
9476
9482
  quantityStrategy: jt,
9477
9483
  maximumNumber: ae,
@@ -9480,11 +9486,11 @@ const Du = /* @__PURE__ */ Dt({
9480
9486
  price: Ue,
9481
9487
  image: le,
9482
9488
  description: ve
9483
- }) => (M(), A("tr", { key: et }, [
9489
+ }) => (x(), A("tr", { key: et }, [
9484
9490
  y("td", {
9485
9491
  class: Se(["konnectio-table-addons-information", { "has-image": le }])
9486
9492
  }, [
9487
- le ? (M(), A("div", yu, [
9493
+ le ? (x(), A("div", yu, [
9488
9494
  B(l(ka), {
9489
9495
  src: le,
9490
9496
  "zoom-scale": 1
@@ -9492,23 +9498,23 @@ const Du = /* @__PURE__ */ Dt({
9492
9498
  ])) : Z("", !0),
9493
9499
  y("div", null, [
9494
9500
  y("b", null, O(l(Pe)(_t)), 1),
9495
- y("span", null, O(l(se)(Ue, l(He))) + " " + O(l(es)(jt)), 1),
9496
- ve ? (M(), A("p", {
9501
+ y("span", null, O(l(se)(Ue, l(He))) + " " + O(l(is)(jt)), 1),
9502
+ ve ? (x(), A("p", {
9497
9503
  key: 0,
9498
9504
  innerHTML: l(Wr)(ve)
9499
9505
  }, null, 8, bu)) : Z("", !0)
9500
9506
  ])
9501
9507
  ], 2),
9502
9508
  y("td", Lu, [
9503
- l(Nt)[ft.roomGroupID][Bt].config[pt.configIdx].addons[pt.roomIdx] ? (M(), A(ut, { key: 0 }, [
9504
- te === l(is).Mandatory ? (M(), rt(wi, {
9509
+ l(Nt)[ft.roomGroupID][Bt].config[pt.configIdx].addons[pt.roomIdx] ? (x(), A(ut, { key: 0 }, [
9510
+ te === l(ns).Mandatory ? (x(), at(wi, {
9505
9511
  key: 0,
9506
9512
  "model-value": 1,
9507
9513
  small: !0,
9508
9514
  "min-value": 1,
9509
9515
  "max-value": 1,
9510
9516
  readonly: ""
9511
- })) : (M(), rt(wi, {
9517
+ })) : (x(), at(wi, {
9512
9518
  key: 1,
9513
9519
  modelValue: l(Nt)[ft.roomGroupID][Bt].config[pt.configIdx].addons[pt.roomIdx][et],
9514
9520
  "onUpdate:modelValue": (hi) => l(Nt)[ft.roomGroupID][Bt].config[pt.configIdx].addons[pt.roomIdx][et] = hi,
@@ -9524,7 +9530,7 @@ const Du = /* @__PURE__ */ Dt({
9524
9530
  ]))), 128))
9525
9531
  ])) : Z("", !0)
9526
9532
  ], 64))), 128))
9527
- ])) : l(Vt) ? (M(), A("div", ku, [
9533
+ ])) : l(Vt) ? (x(), A("div", ku, [
9528
9534
  y("div", null, [
9529
9535
  y("h4", null, [
9530
9536
  y("span", null, O(l(dt).name), 1)
@@ -9540,27 +9546,27 @@ const Du = /* @__PURE__ */ Dt({
9540
9546
  ])
9541
9547
  ]),
9542
9548
  y("tbody", null, [
9543
- (M(!0), A(ut, null, Ct(l(Di)(l(Vt).addons, l(G)), ({
9549
+ (x(!0), A(ut, null, Ct(l(Di)(l(Vt).addons, l(G)), ({
9544
9550
  cardinality: ft,
9545
9551
  quantityStrategy: F,
9546
9552
  maximumNumber: Bt,
9547
9553
  id: pt,
9548
9554
  name: Ot,
9549
9555
  price: te
9550
- }) => (M(), A("tr", { key: pt }, [
9556
+ }) => (x(), A("tr", { key: pt }, [
9551
9557
  y("td", Pu, [
9552
9558
  y("b", null, O(l(Pe)(Ot)), 1),
9553
- y("span", null, O(l(se)(te, l(He))) + " " + O(l(es)(F)), 1)
9559
+ y("span", null, O(l(se)(te, l(He))) + " " + O(l(is)(F)), 1)
9554
9560
  ]),
9555
9561
  y("td", Cu, [
9556
- ft === l(is).Mandatory ? (M(), rt(wi, {
9562
+ ft === l(ns).Mandatory ? (x(), at(wi, {
9557
9563
  key: 0,
9558
9564
  "model-value": 1,
9559
9565
  small: !0,
9560
9566
  "min-value": 1,
9561
9567
  "max-value": 1,
9562
9568
  readonly: ""
9563
- })) : (M(), rt(wi, {
9569
+ })) : (x(), at(wi, {
9564
9570
  key: 1,
9565
9571
  modelValue: l(r)[pt],
9566
9572
  "onUpdate:modelValue": (jt) => l(r)[pt] = jt,
@@ -9588,7 +9594,7 @@ const Du = /* @__PURE__ */ Dt({
9588
9594
  }, 1032, ["prev-callback"])) : Z("", !0)
9589
9595
  ]),
9590
9596
  reservation: it(({ next: Lt, prev: J, reset: ft }) => [
9591
- l(ht) ? (M(), rt(eo, {
9597
+ l(ht) ? (x(), at(eo, {
9592
9598
  key: 0,
9593
9599
  "prev-callback": () => ge(J),
9594
9600
  "show-terms-notice": !0,
@@ -9599,18 +9605,18 @@ const Du = /* @__PURE__ */ Dt({
9599
9605
  y("h2", null, [
9600
9606
  y("span", null, O(l(m)("booking.reservation.detailsTitle")), 1)
9601
9607
  ]),
9602
- l(m)("hotel.reservationTopNotice") && l(m)("hotel.reservationTopNotice") !== "<br>" ? (M(), A("div", Mu, [
9608
+ l(m)("hotel.reservationTopNotice") && l(m)("hotel.reservationTopNotice") !== "<br>" ? (x(), A("div", Mu, [
9603
9609
  y("p", {
9604
9610
  innerHTML: l(m)("hotel.reservationTopNotice"),
9605
9611
  class: "konnectio-wysiwyg"
9606
9612
  }, null, 8, xu)
9607
9613
  ])) : Z("", !0),
9608
- l(Oe)(l(w)) && l(si)(l(w)) && l(ri)(l(w)) ? (M(), A("ul", {
9614
+ l(Oe)(l(w)) && l(si)(l(w)) && l(ri)(l(w)) ? (x(), A("ul", {
9609
9615
  key: 1,
9610
9616
  class: Se(["konnectio-reservation-timepicker", { "konnectio-split-inputs": l(si)(l(w)) && l(ri)(l(w)) }])
9611
9617
  }, [
9612
- l(si)(l(w)) ? (M(), A("li", Su, [
9613
- B(hs, {
9618
+ l(si)(l(w)) ? (x(), A("li", Su, [
9619
+ B(ds, {
9614
9620
  modelValue: l(P),
9615
9621
  "onUpdate:modelValue": H[3] || (H[3] = (F) => gt(P) ? P.value = F : null),
9616
9622
  label: l(m)("booking.reservation.arrivalTime"),
@@ -9620,8 +9626,8 @@ const Du = /* @__PURE__ */ Dt({
9620
9626
  required: ""
9621
9627
  }, null, 8, ["modelValue", "label", "min-time", "max-time"])
9622
9628
  ])) : Z("", !0),
9623
- l(ri)(l(w)) ? (M(), A("li", Au, [
9624
- B(hs, {
9629
+ l(ri)(l(w)) ? (x(), A("li", Au, [
9630
+ B(ds, {
9625
9631
  modelValue: l(g),
9626
9632
  "onUpdate:modelValue": H[4] || (H[4] = (F) => gt(g) ? g.value = F : null),
9627
9633
  label: l(m)("booking.reservation.departureTime"),
@@ -9633,8 +9639,8 @@ const Du = /* @__PURE__ */ Dt({
9633
9639
  ])) : Z("", !0)
9634
9640
  ], 2)) : Z("", !0),
9635
9641
  B(Il, {
9636
- modelValue: l(x),
9637
- "onUpdate:modelValue": H[5] || (H[5] = (F) => gt(x) ? x.value = F : null),
9642
+ modelValue: l(M),
9643
+ "onUpdate:modelValue": H[5] || (H[5] = (F) => gt(M) ? M.value = F : null),
9638
9644
  title: l(C),
9639
9645
  "onUpdate:title": H[6] || (H[6] = (F) => gt(C) ? C.value = F : null),
9640
9646
  "exclude-title": l(dn),
@@ -9655,7 +9661,7 @@ const Du = /* @__PURE__ */ Dt({
9655
9661
  placeholder: l(m)("booking.reservation.emailPlaceholder"),
9656
9662
  required: ""
9657
9663
  }, null, 8, ["modelValue", "label", "placeholder"]),
9658
- l(ii) ? Z("", !0) : (M(), A("div", Iu, [
9664
+ l(ii) ? Z("", !0) : (x(), A("div", Iu, [
9659
9665
  B(oo, {
9660
9666
  modelValue: l(U),
9661
9667
  "onUpdate:modelValue": H[8] || (H[8] = (F) => gt(U) ? U.value = F : null),
@@ -9664,7 +9670,7 @@ const Du = /* @__PURE__ */ Dt({
9664
9670
  label: l(m)("booking.reservation.newsletterSignUp")
9665
9671
  }, null, 8, ["modelValue", "label"])
9666
9672
  ])),
9667
- l(Oi) ? Z("", !0) : (M(), rt(ne, {
9673
+ l(Oi) ? Z("", !0) : (x(), at(ne, {
9668
9674
  key: 3,
9669
9675
  modelValue: l(z),
9670
9676
  "onUpdate:modelValue": H[9] || (H[9] = (F) => gt(z) ? z.value = F : null),
@@ -9718,8 +9724,8 @@ const Du = /* @__PURE__ */ Dt({
9718
9724
  ]),
9719
9725
  y("li", null, [
9720
9726
  B(ne, {
9721
- modelValue: l(at),
9722
- "onUpdate:modelValue": H[14] || (H[14] = (F) => gt(at) ? at.value = F : null),
9727
+ modelValue: l(nt),
9728
+ "onUpdate:modelValue": H[14] || (H[14] = (F) => gt(nt) ? nt.value = F : null),
9723
9729
  type: "text",
9724
9730
  name: "city",
9725
9731
  autocomplete: "address-level2",
@@ -9730,7 +9736,7 @@ const Du = /* @__PURE__ */ Dt({
9730
9736
  }, null, 8, ["modelValue", "label", "placeholder"])
9731
9737
  ])
9732
9738
  ]),
9733
- D.hideRemarks !== "yes" ? (M(), rt(ne, {
9739
+ D.hideRemarks !== "yes" ? (x(), at(ne, {
9734
9740
  key: 4,
9735
9741
  modelValue: l(Mt),
9736
9742
  "onUpdate:modelValue": H[15] || (H[15] = (F) => gt(Mt) ? Mt.value = F : null),
@@ -9739,7 +9745,7 @@ const Du = /* @__PURE__ */ Dt({
9739
9745
  icon: "info-circle",
9740
9746
  placeholder: l(m)("booking.reservation.remarkPlaceholder")
9741
9747
  }, null, 8, ["modelValue", "label", "placeholder"])) : Z("", !0),
9742
- D.hideAllergies !== "yes" ? (M(), rt(ne, {
9748
+ D.hideAllergies !== "yes" ? (x(), at(ne, {
9743
9749
  key: 5,
9744
9750
  modelValue: l(xt),
9745
9751
  "onUpdate:modelValue": H[16] || (H[16] = (F) => gt(xt) ? xt.value = F : null),
@@ -9748,7 +9754,7 @@ const Du = /* @__PURE__ */ Dt({
9748
9754
  icon: "allergies",
9749
9755
  placeholder: l(m)("booking.reservation.allergiesPlaceholder")
9750
9756
  }, null, 8, ["modelValue", "label", "placeholder"])) : Z("", !0),
9751
- l(Qe) ? Z("", !0) : (M(), rt(Jo, {
9757
+ l(Qe) ? Z("", !0) : (x(), at(Qo, {
9752
9758
  key: 6,
9753
9759
  modelValue: l(v),
9754
9760
  "onUpdate:modelValue": H[17] || (H[17] = (F) => gt(v) ? v.value = F : null),
@@ -9756,11 +9762,11 @@ const Du = /* @__PURE__ */ Dt({
9756
9762
  name: "travelingFor",
9757
9763
  checkboxes: Hi.value
9758
9764
  }, null, 8, ["modelValue", "label", "checkboxes"])),
9759
- l(Ut) ? (M(), A(ut, { key: 7 }, [
9765
+ l(Ut) ? (x(), A(ut, { key: 7 }, [
9760
9766
  y("h3", null, [
9761
9767
  y("span", null, O(l(m)("hotel.memberCards.title")), 1)
9762
9768
  ]),
9763
- l(_e) ? (M(), A("div", zu, [
9769
+ l(_e) ? (x(), A("div", zu, [
9764
9770
  io(O(l(xi)) + " ", 1),
9765
9771
  y("img", {
9766
9772
  src: l(xi).iconUrl
@@ -9772,16 +9778,16 @@ const Du = /* @__PURE__ */ Dt({
9772
9778
  }),
9773
9779
  y("span", null, O(l(m)("hotel.memberCards.selectedCard", { cardType: l(_e).cardType })), 1),
9774
9780
  y("span", null, O(l(m)("hotel.memberCards.cardNumber", { cardNumber: l(_e).cardNumber })), 1),
9775
- l(_e).controlNr ? (M(), A("span", Bu, O(l(m)("hotel.memberCards.controlNumber", { controlNumber: l(_e).controlNr })), 1)) : Z("", !0)
9776
- ])) : (M(), A(ut, { key: 1 }, [
9777
- B(Jo, {
9781
+ l(_e).controlNr ? (x(), A("span", Bu, O(l(m)("hotel.memberCards.controlNumber", { controlNumber: l(_e).controlNr })), 1)) : Z("", !0)
9782
+ ])) : (x(), A(ut, { key: 1 }, [
9783
+ B(Qo, {
9778
9784
  modelValue: l($t),
9779
9785
  "onUpdate:modelValue": H[18] || (H[18] = (F) => gt($t) ? $t.value = F : null),
9780
9786
  label: l(m)("hotel.memberCards.selectCard"),
9781
9787
  name: "memberCard",
9782
9788
  checkboxes: l(Ht)
9783
9789
  }, null, 8, ["modelValue", "label", "checkboxes"]),
9784
- l($t) ? (M(), A("form", Zu, [
9790
+ l($t) ? (x(), A("form", Zu, [
9785
9791
  B(ne, {
9786
9792
  modelValue: l(me),
9787
9793
  "onUpdate:modelValue": H[19] || (H[19] = (F) => gt(me) ? me.value = F : null),
@@ -9791,7 +9797,7 @@ const Du = /* @__PURE__ */ Dt({
9791
9797
  placeholder: l(m)("hotel.memberCards.cardNumberPlaceholder"),
9792
9798
  required: ""
9793
9799
  }, null, 8, ["modelValue", "label", "placeholder"]),
9794
- l($t) === l(ts).FirmaCard ? (M(), rt(ne, {
9800
+ l($t) === l(es).FirmaCard ? (x(), at(ne, {
9795
9801
  key: 0,
9796
9802
  modelValue: l(Ce),
9797
9803
  "onUpdate:modelValue": H[20] || (H[20] = (F) => gt(Ce) ? Ce.value = F : null),
@@ -9801,7 +9807,7 @@ const Du = /* @__PURE__ */ Dt({
9801
9807
  placeholder: l(m)("hotel.memberCards.cardControlNumberPlaceholder"),
9802
9808
  required: ""
9803
9809
  }, null, 8, ["modelValue", "label", "placeholder"])) : Z("", !0),
9804
- l($t) === l(ts).DaneAge ? (M(), rt(ne, {
9810
+ l($t) === l(es).DaneAge ? (x(), at(ne, {
9805
9811
  key: 1,
9806
9812
  modelValue: l(R),
9807
9813
  "onUpdate:modelValue": H[21] || (H[21] = (F) => gt(R) ? R.value = F : null),
@@ -9848,7 +9854,7 @@ const Du = /* @__PURE__ */ Dt({
9848
9854
  ]),
9849
9855
  _: 1
9850
9856
  }, 8, ["layout", "steps", "onReset"]), [
9851
- [Ne, D.requireGuestDiscountId === "no" || D.requireGuestDiscountId === "yes" && l(ot)]
9857
+ [Ne, D.requireGuestDiscountId === "no" || D.requireGuestDiscountId === "yes" && l(st)]
9852
9858
  ])
9853
9859
  ]),
9854
9860
  _: 1
@@ -9863,7 +9869,7 @@ const Du = /* @__PURE__ */ Dt({
9863
9869
  _: 1
9864
9870
  }, 8, ["styling"]));
9865
9871
  }
9866
- }), ds = /* @__PURE__ */ Qt(Du, [["__scopeId", "data-v-9757cb32"]]), Nu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Ru = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), cs = /* @__PURE__ */ new Set([
9872
+ }), cs = /* @__PURE__ */ Qt(Du, [["__scopeId", "data-v-9757cb32"]]), Nu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Ru = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), fs = /* @__PURE__ */ new Set([
9867
9873
  "base",
9868
9874
  "meta",
9869
9875
  "link",
@@ -9924,7 +9930,7 @@ function ro(h) {
9924
9930
  return `${d}:content:${m}`;
9925
9931
  }
9926
9932
  }
9927
- function fs(h) {
9933
+ function ps(h) {
9928
9934
  const f = h._h || h._d;
9929
9935
  if (f)
9930
9936
  return f;
@@ -10004,14 +10010,14 @@ function Yu(h, f) {
10004
10010
  m.push(ju(w, r));
10005
10011
  }), m.flat();
10006
10012
  }
10007
- const ps = (h, f) => h._w === f._w ? h._p - f._p : h._w - f._w, ms = {
10013
+ const ms = (h, f) => h._w === f._w ? h._p - f._p : h._w - f._w, _s = {
10008
10014
  base: -10,
10009
10015
  title: 10
10010
10016
  }, Xu = {
10011
10017
  critical: -8,
10012
10018
  high: -1,
10013
10019
  low: 2
10014
- }, _s = {
10020
+ }, gs = {
10015
10021
  meta: {
10016
10022
  "content-security-policy": -30,
10017
10023
  charset: -20,
@@ -10044,16 +10050,16 @@ function Ju(h, f) {
10044
10050
  link: {},
10045
10051
  script: {},
10046
10052
  style: {}
10047
- } : _s;
10048
- if (f.tag in ms)
10049
- d = ms[f.tag];
10053
+ } : gs;
10054
+ if (f.tag in _s)
10055
+ d = _s[f.tag];
10050
10056
  else if (f.tag === "meta") {
10051
10057
  const o = f.props["http-equiv"] === "content-security-policy" ? "content-security-policy" : f.props.charset ? "charset" : f.props.name === "viewport" ? "viewport" : null;
10052
- o && (d = _s.meta[o]);
10058
+ o && (d = gs.meta[o]);
10053
10059
  } else f.tag === "link" && f.props.rel ? d = w.link[f.props.rel] : f.tag === "script" ? Li(f.props.async) ? d = w.script.async : f.props.src && !Li(f.props.defer) && !Li(f.props.async) && f.props.type !== "module" && !f.props.type?.endsWith("json") ? d = w.script.sync : Li(f.props.defer) && f.props.src && !Li(f.props.async) && (d = w.script.defer) : f.tag === "style" && (d = f.innerHTML && Ku.test(f.innerHTML) ? w.style.imported : w.style.sync);
10054
10060
  return (d || 100) + m;
10055
10061
  }
10056
- function gs(h, f) {
10062
+ function vs(h, f) {
10057
10063
  const d = typeof f == "function" ? f(h) : f, m = d.key || String(h.plugins.size + 1);
10058
10064
  h.plugins.get(m) || (h.plugins.set(m, d), h.hooks.addHooks(d.hooks || {}));
10059
10065
  }
@@ -10073,7 +10079,7 @@ function Qu(h = {}) {
10073
10079
  headEntries() {
10074
10080
  return [...m.values()];
10075
10081
  },
10076
- use: (u) => gs(r, u),
10082
+ use: (u) => vs(r, u),
10077
10083
  push(u, c) {
10078
10084
  const _ = { ...c || {} };
10079
10085
  delete _.head;
@@ -10102,26 +10108,26 @@ function Qu(h = {}) {
10102
10108
  o.delete(P);
10103
10109
  const g = m.get(P);
10104
10110
  if (g) {
10105
- const x = {
10111
+ const M = {
10106
10112
  tags: Yu(g.input, h.propResolvers || []).map((C) => Object.assign(C, g.options)),
10107
10113
  entry: g
10108
10114
  };
10109
- await f.callHook("entries:normalize", x), g._tags = x.tags.map((C, N) => (C._w = Ju(r, C), C._p = (g._i << 10) + N, C._d = ro(C), C));
10115
+ await f.callHook("entries:normalize", M), g._tags = M.tags.map((C, N) => (C._w = Ju(r, C), C._p = (g._i << 10) + N, C._d = ro(C), C));
10110
10116
  }
10111
10117
  }
10112
10118
  let c = !1;
10113
- u.entries.flatMap((P) => (P._tags || []).map((g) => ({ ...g, props: { ...g.props } }))).sort(ps).reduce((P, g) => {
10114
- const x = String(g._d || g._p);
10115
- if (!P.has(x))
10116
- return P.set(x, g);
10117
- const C = P.get(x);
10119
+ u.entries.flatMap((P) => (P._tags || []).map((g) => ({ ...g, props: { ...g.props } }))).sort(ms).reduce((P, g) => {
10120
+ const M = String(g._d || g._p);
10121
+ if (!P.has(M))
10122
+ return P.set(M, g);
10123
+ const C = P.get(M);
10118
10124
  if ((g?.tagDuplicateStrategy || (Gu.has(g.tag) ? "merge" : null) || (g.key && g.key === C.key ? "merge" : null)) === "merge") {
10119
10125
  const I = { ...C.props };
10120
10126
  Object.entries(g.props).forEach(([z, R]) => (
10121
10127
  // @ts-expect-error untyped
10122
10128
  I[z] = z === "style" ? new Map([...C.props.style || /* @__PURE__ */ new Map(), ...R]) : z === "class" ? /* @__PURE__ */ new Set([...C.props.class || /* @__PURE__ */ new Set(), ...R]) : R
10123
- )), P.set(x, { ...g, props: I });
10124
- } else g._p >> 10 === C._p >> 10 && g.tag === "meta" && Cs(x) ? (P.set(x, Object.assign([...Array.isArray(C) ? C : [C], g], g)), c = !0) : (g._w === C._w ? g._p > C._p : g?._w < C?._w) && P.set(x, g);
10129
+ )), P.set(M, { ...g, props: I });
10130
+ } else g._p >> 10 === C._p >> 10 && g.tag === "meta" && Cs(M) ? (P.set(M, Object.assign([...Array.isArray(C) ? C : [C], g], g)), c = !0) : (g._w === C._w ? g._p > C._p : g?._w < C?._w) && P.set(M, g);
10125
10131
  return P;
10126
10132
  }, u.tagMap);
10127
10133
  const _ = u.tagMap.get("title"), b = u.tagMap.get("titleTemplate");
@@ -10132,16 +10138,16 @@ function Qu(h = {}) {
10132
10138
  typeof g == "string" && !r.plugins.has("template-params") && (g = g.replace("%s", _?.textContent || "")), _ ? g === null ? u.tagMap.delete("title") : u.tagMap.set("title", { ..._, textContent: g }) : (b.tag = "title", b.textContent = g);
10133
10139
  }
10134
10140
  }
10135
- u.tags = Array.from(u.tagMap.values()), c && (u.tags = u.tags.flat().sort(ps)), await f.callHook("tags:beforeResolve", u), await f.callHook("tags:resolve", u), await f.callHook("tags:afterResolve", u);
10141
+ u.tags = Array.from(u.tagMap.values()), c && (u.tags = u.tags.flat().sort(ms)), await f.callHook("tags:beforeResolve", u), await f.callHook("tags:resolve", u), await f.callHook("tags:afterResolve", u);
10136
10142
  const v = [];
10137
10143
  for (const P of u.tags) {
10138
- const { innerHTML: g, tag: x, props: C } = P;
10139
- if (Vu.has(x) && !(Object.keys(C).length === 0 && !P.innerHTML && !P.textContent) && !(x === "meta" && !C.content && !C["http-equiv"] && !C.charset)) {
10140
- if (x === "script" && g) {
10144
+ const { innerHTML: g, tag: M, props: C } = P;
10145
+ if (Vu.has(M) && !(Object.keys(C).length === 0 && !P.innerHTML && !P.textContent) && !(M === "meta" && !C.content && !C["http-equiv"] && !C.charset)) {
10146
+ if (M === "script" && g) {
10141
10147
  if (C.type?.endsWith("json")) {
10142
10148
  const N = typeof g == "string" ? g : JSON.stringify(g);
10143
10149
  P.innerHTML = N.replace(/</g, "\\u003C");
10144
- } else typeof g == "string" && (P.innerHTML = g.replace(new RegExp(`</${x}`, "g"), `<\\/${x}`));
10150
+ } else typeof g == "string" && (P.innerHTML = g.replace(new RegExp(`</${M}`, "g"), `<\\/${M}`));
10145
10151
  P._d = ro(P);
10146
10152
  }
10147
10153
  v.push(P);
@@ -10155,7 +10161,7 @@ function Qu(h = {}) {
10155
10161
  r.dirty = !0, f.callHook("entries:updated", r);
10156
10162
  }
10157
10163
  };
10158
- return (h?.plugins || []).forEach((u) => gs(r, u)), r.hooks.callHook("init", r), h.init?.forEach((u) => u && r.push(u)), r;
10164
+ return (h?.plugins || []).forEach((u) => vs(r, u)), r.hooks.callHook("init", r), h.init?.forEach((u) => u && r.push(u)), r;
10159
10165
  }
10160
10166
  async function Ms(h, f = {}) {
10161
10167
  const d = f.document || h.resolvedOptions.document;
@@ -10165,12 +10171,12 @@ async function Ms(h, f = {}) {
10165
10171
  if (await h.hooks.callHook("dom:beforeRender", m), !!m.shouldRender)
10166
10172
  return h._domUpdatePromise || (h._domUpdatePromise = new Promise(async (w) => {
10167
10173
  const o = /* @__PURE__ */ new Map(), r = new Promise((g) => {
10168
- h.resolveTags().then((x) => {
10174
+ h.resolveTags().then((M) => {
10169
10175
  g(
10170
- x.map((C) => {
10176
+ M.map((C) => {
10171
10177
  const N = o.get(C._d) || 0, I = {
10172
10178
  tag: C,
10173
- id: (N ? `${C._d}:${N}` : C._d) || fs(C),
10179
+ id: (N ? `${C._d}:${N}` : C._d) || ps(C),
10174
10180
  shouldRender: !0
10175
10181
  };
10176
10182
  return C._d && Cs(C._d) && o.set(C._d, N + 1), I;
@@ -10185,16 +10191,16 @@ async function Ms(h, f = {}) {
10185
10191
  elMap: (/* @__PURE__ */ new Map()).set("htmlAttrs", d.documentElement).set("bodyAttrs", d.body)
10186
10192
  };
10187
10193
  for (const g of ["body", "head"]) {
10188
- const x = d[g]?.children;
10189
- for (const C of x) {
10194
+ const M = d[g]?.children;
10195
+ for (const C of M) {
10190
10196
  const N = C.tagName.toLowerCase();
10191
- if (!cs.has(N))
10197
+ if (!fs.has(N))
10192
10198
  continue;
10193
10199
  const I = Ts({ tag: N, props: {} }, {
10194
10200
  innerHTML: C.innerHTML,
10195
10201
  ...C.getAttributeNames().reduce((z, R) => (z[R] = C.getAttribute(R), z), {}) || {}
10196
10202
  });
10197
- if (I.key = C.getAttribute("data-hid") || void 0, I._d = ro(I) || fs(I), u.elMap.has(I._d)) {
10203
+ if (I.key = C.getAttribute("data-hid") || void 0, I._d = ro(I) || ps(I), u.elMap.has(I._d)) {
10198
10204
  let z = 1, R = I._d;
10199
10205
  for (; u.elMap.has(R); )
10200
10206
  R = `${I._d}:${z++}`;
@@ -10205,46 +10211,46 @@ async function Ms(h, f = {}) {
10205
10211
  }
10206
10212
  }
10207
10213
  u.pendingSideEffects = { ...u.sideEffects }, u.sideEffects = {};
10208
- function c(g, x, C) {
10209
- const N = `${g}:${x}`;
10214
+ function c(g, M, C) {
10215
+ const N = `${g}:${M}`;
10210
10216
  u.sideEffects[N] = C, delete u.pendingSideEffects[N];
10211
10217
  }
10212
- function _({ id: g, $el: x, tag: C }) {
10218
+ function _({ id: g, $el: M, tag: C }) {
10213
10219
  const N = C.tag.endsWith("Attrs");
10214
- u.elMap.set(g, x), N || (C.textContent && C.textContent !== x.textContent && (x.textContent = C.textContent), C.innerHTML && C.innerHTML !== x.innerHTML && (x.innerHTML = C.innerHTML), c(g, "el", () => {
10215
- x?.remove(), u.elMap.delete(g);
10220
+ u.elMap.set(g, M), N || (C.textContent && C.textContent !== M.textContent && (M.textContent = C.textContent), C.innerHTML && C.innerHTML !== M.innerHTML && (M.innerHTML = C.innerHTML), c(g, "el", () => {
10221
+ M?.remove(), u.elMap.delete(g);
10216
10222
  }));
10217
10223
  for (const I in C.props) {
10218
10224
  if (!Object.prototype.hasOwnProperty.call(C.props, I))
10219
10225
  continue;
10220
10226
  const z = C.props[I];
10221
10227
  if (I.startsWith("on") && typeof z == "function") {
10222
- const at = x?.dataset;
10223
- if (at && at[`${I}fired`]) {
10228
+ const nt = M?.dataset;
10229
+ if (nt && nt[`${I}fired`]) {
10224
10230
  const lt = I.slice(0, -5);
10225
- z.call(x, new Event(lt.substring(2)));
10231
+ z.call(M, new Event(lt.substring(2)));
10226
10232
  }
10227
- x.getAttribute(`data-${I}`) !== "" && ((C.tag === "bodyAttrs" ? d.defaultView : x).addEventListener(
10233
+ M.getAttribute(`data-${I}`) !== "" && ((C.tag === "bodyAttrs" ? d.defaultView : M).addEventListener(
10228
10234
  // onload -> load
10229
10235
  I.substring(2),
10230
- z.bind(x)
10231
- ), x.setAttribute(`data-${I}`, ""));
10236
+ z.bind(M)
10237
+ ), M.setAttribute(`data-${I}`, ""));
10232
10238
  continue;
10233
10239
  }
10234
10240
  const R = `attr:${I}`;
10235
10241
  if (I === "class") {
10236
10242
  if (!z)
10237
10243
  continue;
10238
- for (const at of z)
10239
- N && c(g, `${R}:${at}`, () => x.classList.remove(at)), !x.classList.contains(at) && x.classList.add(at);
10244
+ for (const nt of z)
10245
+ N && c(g, `${R}:${nt}`, () => M.classList.remove(nt)), !M.classList.contains(nt) && M.classList.add(nt);
10240
10246
  } else if (I === "style") {
10241
10247
  if (!z)
10242
10248
  continue;
10243
- for (const [at, lt] of z)
10244
- c(g, `${R}:${at}`, () => {
10245
- x.style.removeProperty(at);
10246
- }), x.style.setProperty(at, lt);
10247
- } else z !== !1 && z !== null && (x.getAttribute(I) !== z && x.setAttribute(I, z === !0 ? "" : String(z)), N && c(g, R, () => x.removeAttribute(I)));
10249
+ for (const [nt, lt] of z)
10250
+ c(g, `${R}:${nt}`, () => {
10251
+ M.style.removeProperty(nt);
10252
+ }), M.style.setProperty(nt, lt);
10253
+ } else z !== !1 && z !== null && (M.getAttribute(I) !== z && M.setAttribute(I, z === !0 ? "" : String(z)), N && c(g, R, () => M.removeAttribute(I)));
10248
10254
  }
10249
10255
  }
10250
10256
  const b = [], v = {
@@ -10253,18 +10259,18 @@ async function Ms(h, f = {}) {
10253
10259
  head: void 0
10254
10260
  }, P = await r;
10255
10261
  for (const g of P) {
10256
- const { tag: x, shouldRender: C, id: N } = g;
10262
+ const { tag: M, shouldRender: C, id: N } = g;
10257
10263
  if (C) {
10258
- if (x.tag === "title") {
10259
- d.title = x.textContent, c("title", "", () => d.title = u.title);
10264
+ if (M.tag === "title") {
10265
+ d.title = M.textContent, c("title", "", () => d.title = u.title);
10260
10266
  continue;
10261
10267
  }
10262
- g.$el = g.$el || u.elMap.get(N), g.$el ? _(g) : cs.has(x.tag) && b.push(g);
10268
+ g.$el = g.$el || u.elMap.get(N), g.$el ? _(g) : fs.has(M.tag) && b.push(g);
10263
10269
  }
10264
10270
  }
10265
10271
  for (const g of b) {
10266
- const x = g.tag.tagPosition || "head";
10267
- g.$el = d.createElement(g.tag.tag), _(g), v[x] = v[x] || d.createDocumentFragment(), v[x].appendChild(g.$el);
10272
+ const M = g.tag.tagPosition || "head";
10273
+ g.$el = d.createElement(g.tag.tag), _(g), v[M] = v[M] || d.createDocumentFragment(), v[M].appendChild(g.$el);
10268
10274
  }
10269
10275
  for (const g of P)
10270
10276
  await h.hooks.callHook("dom:renderTag", g, d, c);
@@ -10333,8 +10339,8 @@ class uh extends HTMLElement {
10333
10339
  this.vueApp.unmount();
10334
10340
  }
10335
10341
  connectedCallback() {
10336
- const f = Ir(ds, this.attributes);
10337
- this.vueApp = Or(ds, f), this.vueApp.provide("emitter", lh), this.vueApp.use(Er), this.vueApp.use(rh), this.vueApp.use(sh), this.vueApp.use(Hr), this.vueApp.use(zr), this.vueApp.use(Fr), this.vueApp.use(Br);
10342
+ const f = Ir(cs, this.attributes);
10343
+ this.vueApp = Or(cs, f), this.vueApp.provide("emitter", lh), this.vueApp.use(Er), this.vueApp.use(rh), this.vueApp.use(sh), this.vueApp.use(Hr), this.vueApp.use(zr), this.vueApp.use(Fr), this.vueApp.use(Br);
10338
10344
  const d = document.createElement("div");
10339
10345
  this.vueApp.mount(d), this.appendChild(d.children[0]);
10340
10346
  }