@konnectio/core 4.10.0 → 4.10.1

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 (98) hide show
  1. package/dist/{ActionField-Cwfe6KBs.js → ActionField-B1nCUlz0.js} +1 -1
  2. package/dist/ActionField-B1nCUlz0.js.br +0 -0
  3. package/dist/ActionField-B1nCUlz0.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-BXTm1DgH.js → AvailabilitySkeleton-BKWVa_Kj.js} +2 -2
  5. package/dist/AvailabilitySkeleton-BKWVa_Kj.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-BKWVa_Kj.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BCgkfVVt.js → CheckoutWindow-BaRiF6IY.js} +1 -1
  8. package/dist/CheckoutWindow-BaRiF6IY.js.br +0 -0
  9. package/dist/CheckoutWindow-BaRiF6IY.js.gz +0 -0
  10. package/dist/{ErrorMessage-Alqi2PZ0.js → ErrorMessage-XkHGRDpA.js} +1 -1
  11. package/dist/ErrorMessage-XkHGRDpA.js.br +0 -0
  12. package/dist/{ErrorMessage-Alqi2PZ0.js.gz → ErrorMessage-XkHGRDpA.js.gz} +0 -0
  13. package/dist/{EventAvailabilityForm-DBap0Kxe.js → EventAvailabilityForm-CsvnSC2t.js} +2 -2
  14. package/dist/EventAvailabilityForm-CsvnSC2t.js.br +0 -0
  15. package/dist/EventAvailabilityForm-CsvnSC2t.js.gz +0 -0
  16. package/dist/{Field-D-WYPKBC.js → Field-CvT2_Plp.js} +1 -1
  17. package/dist/Field-CvT2_Plp.js.br +0 -0
  18. package/dist/Field-CvT2_Plp.js.gz +0 -0
  19. package/dist/{HotelAvailabilityForm-Ddy04ofm.js → HotelAvailabilityForm-DE-jn1Xx.js} +2 -2
  20. package/dist/HotelAvailabilityForm-DE-jn1Xx.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-DE-jn1Xx.js.gz +0 -0
  22. package/dist/{SelectField-B3wekl1-.js → SelectField-DAHiMxb3.js} +382 -376
  23. package/dist/SelectField-DAHiMxb3.js.br +0 -0
  24. package/dist/SelectField-DAHiMxb3.js.gz +0 -0
  25. package/dist/{TermsOfService-DKw3z30m.js → TermsOfService-Dh8Lzefs.js} +2 -2
  26. package/dist/TermsOfService-Dh8Lzefs.js.br +0 -0
  27. package/dist/TermsOfService-Dh8Lzefs.js.gz +0 -0
  28. package/dist/{_-BGvq5fCt.js → _-Boaxs6AH.js} +1 -1
  29. package/dist/_-Boaxs6AH.js.br +0 -0
  30. package/dist/_-Boaxs6AH.js.gz +0 -0
  31. package/dist/availability.js +7 -7
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +4 -4
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/{dist-BdHuZAPN.js → dist-BweXkPML.js} +2 -2
  41. package/dist/dist-BweXkPML.js.br +0 -0
  42. package/dist/{dist-BdHuZAPN.js.gz → dist-BweXkPML.js.gz} +0 -0
  43. package/dist/{dist-DJrSdVOh.js → dist-DUKktdIt.js} +4 -4
  44. package/dist/dist-DUKktdIt.js.br +0 -0
  45. package/dist/dist-DUKktdIt.js.gz +0 -0
  46. package/dist/event.js +8 -8
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +7 -7
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +9 -9
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-Q9I7zCe1.js → giftCard-CBkjruJ_.js} +1 -1
  56. package/dist/giftCard-CBkjruJ_.js.br +0 -0
  57. package/dist/giftCard-CBkjruJ_.js.gz +0 -0
  58. package/dist/hotel.js +837 -808
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/polyfill.js +1 -1
  62. package/dist/polyfill.js.br +0 -0
  63. package/dist/polyfill.js.gz +0 -0
  64. package/dist/{style-CF_APJTq.js → style-BeIyuIIp.js} +1 -1
  65. package/dist/style-BeIyuIIp.js.br +0 -0
  66. package/dist/style-BeIyuIIp.js.gz +0 -0
  67. package/dist-wix/availability.js +13 -13
  68. package/dist-wix/event.js +4 -4
  69. package/dist-wix/gift-card-validation.js +30 -30
  70. package/dist-wix/gift-card.js +15 -15
  71. package/dist-wix/hotel.js +6 -6
  72. package/package.json +1 -1
  73. package/dist/ActionField-Cwfe6KBs.js.br +0 -0
  74. package/dist/ActionField-Cwfe6KBs.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-BXTm1DgH.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-BXTm1DgH.js.gz +0 -0
  77. package/dist/CheckoutWindow-BCgkfVVt.js.br +0 -0
  78. package/dist/CheckoutWindow-BCgkfVVt.js.gz +0 -0
  79. package/dist/ErrorMessage-Alqi2PZ0.js.br +0 -0
  80. package/dist/EventAvailabilityForm-DBap0Kxe.js.br +0 -0
  81. package/dist/EventAvailabilityForm-DBap0Kxe.js.gz +0 -0
  82. package/dist/Field-D-WYPKBC.js.br +0 -0
  83. package/dist/Field-D-WYPKBC.js.gz +0 -0
  84. package/dist/HotelAvailabilityForm-Ddy04ofm.js.br +0 -0
  85. package/dist/HotelAvailabilityForm-Ddy04ofm.js.gz +0 -0
  86. package/dist/SelectField-B3wekl1-.js.br +0 -0
  87. package/dist/SelectField-B3wekl1-.js.gz +0 -0
  88. package/dist/TermsOfService-DKw3z30m.js.br +0 -0
  89. package/dist/TermsOfService-DKw3z30m.js.gz +0 -3
  90. package/dist/_-BGvq5fCt.js.br +0 -0
  91. package/dist/_-BGvq5fCt.js.gz +0 -0
  92. package/dist/dist-BdHuZAPN.js.br +0 -0
  93. package/dist/dist-DJrSdVOh.js.br +0 -0
  94. package/dist/dist-DJrSdVOh.js.gz +0 -0
  95. package/dist/giftCard-Q9I7zCe1.js.br +0 -0
  96. package/dist/giftCard-Q9I7zCe1.js.gz +0 -0
  97. package/dist/style-CF_APJTq.js.br +0 -0
  98. package/dist/style-CF_APJTq.js.gz +0 -0
package/dist/hotel.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { r as e, t } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { A as n, At as r, D as i, E as a, F as o, I as s, K as c, L as l, M as u, N as d, Nt as f, O as p, P as m, Pt as h, Q as g, R as _, S as ee, St as te, _t as ne, a as v, at as re, bt as y, et as b, f as x, gt as S, h as C, i as ie, it as w, j as T, jt as E, lt as D, mt as ae, n as O, o as k, p as A, q as j, st as M, u as N, ut as P, w as F, wt as I, z as R } from "./i18n-_behsDNX.js";
3
- import { t as z } from "./dist-BdHuZAPN.js";
4
- import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, Q as ge, R as _e, S as B, T as ve, W as ye, X as be, Y as xe, Z as Se, _ as Ce, at as we, b as Te, ct as Ee, it as De, j as Oe, lt as ke, n as Ae, r as je, t as V, tt as Me, v as Ne, x as H, z as Pe } from "./SelectField-B3wekl1-.js";
5
- import { a as Fe, c as Ie, i as Le, l as Re, n as ze, o as Be, s as Ve, t as He } from "./CheckoutWindow-BCgkfVVt.js";
6
- import { n as Ue, t as We } from "./AvailabilitySkeleton-BXTm1DgH.js";
7
- import { t as Ge } from "./HotelAvailabilityForm-Ddy04ofm.js";
8
- import { t as Ke } from "./style-CF_APJTq.js";
9
- import { t as U } from "./ActionField-Cwfe6KBs.js";
10
- import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./dist-DJrSdVOh.js";
11
- import { t as nt } from "./TermsOfService-DKw3z30m.js";
2
+ import { A as n, At as r, D as i, E as a, F as o, I as s, K as c, L as l, M as u, N as d, Nt as f, O as p, P as m, Pt as h, Q as g, R as _, S as ee, St as te, _t as ne, a as v, at as re, bt as y, et as b, f as x, gt as S, h as C, i as ie, it as w, j as T, jt as E, lt as D, mt as O, n as k, o as A, p as j, q as M, st as N, u as P, ut as F, w as I, wt as R, z } from "./i18n-_behsDNX.js";
3
+ import { t as ae } from "./dist-BweXkPML.js";
4
+ import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, Q as B, R as ge, S as V, T as _e, W as ve, X as ye, Y as be, Z as xe, _ as Se, at as Ce, b as we, ct as Te, it as Ee, j as De, lt as Oe, n as ke, r as Ae, t as je, tt as Me, v as Ne, x as H, z as Pe } from "./SelectField-DAHiMxb3.js";
5
+ import { a as Fe, c as Ie, i as Le, l as Re, n as ze, o as Be, s as Ve, t as He } from "./CheckoutWindow-BaRiF6IY.js";
6
+ import { n as Ue, t as We } from "./AvailabilitySkeleton-BKWVa_Kj.js";
7
+ import { t as Ge } from "./HotelAvailabilityForm-DE-jn1Xx.js";
8
+ import { t as Ke } from "./style-BeIyuIIp.js";
9
+ import { t as U } from "./ActionField-B1nCUlz0.js";
10
+ import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./dist-DUKktdIt.js";
11
+ import { t as nt } from "./TermsOfService-Dh8Lzefs.js";
12
12
  //#region node_modules/inner-image-zoom/src/utils/images.js
13
13
  function rt(e, t) {
14
14
  return t ? {
@@ -91,7 +91,7 @@ function mt(e, t) {
91
91
  }
92
92
  //#endregion
93
93
  //#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
94
- var ht = R({
94
+ var ht = z({
95
95
  name: "InnerImageZoom",
96
96
  props: {
97
97
  moveType: {
@@ -240,7 +240,7 @@ function xt(e, t, n, r, i, o) {
240
240
  }],
241
241
  ref: "img",
242
242
  style: { width: `${e.width}px` }
243
- }, P({
243
+ }, F({
244
244
  touchstart: e.isZoomed ? () => {} : e.handleTouchStart,
245
245
  click: e.handleClick,
246
246
  mouseenter: e.isTouch ? () => {} : e.handleMouseEnter,
@@ -279,7 +279,7 @@ function xt(e, t, n, r, i, o) {
279
279
  transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
280
280
  },
281
281
  src: e.zoomSrc || e.src
282
- }, P({
282
+ }, F({
283
283
  load: e.handleLoad,
284
284
  touchstart: e.handleDragStart,
285
285
  touchend: e.handleDragEnd,
@@ -292,7 +292,7 @@ function xt(e, t, n, r, i, o) {
292
292
  class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
293
293
  "aria-label": "Zoom Out",
294
294
  style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
295
- onClick: t[0] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
295
+ onClick: t[0] ||= I((...t) => e.handleClose && e.handleClose(...t), ["stop"])
296
296
  }, null, 6)) : d("", !0)])])) : (b(), m(a, { key: 1 }, [T("img", c({
297
297
  class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
298
298
  alt: "",
@@ -303,7 +303,7 @@ function xt(e, t, n, r, i, o) {
303
303
  transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
304
304
  },
305
305
  src: e.zoomSrc || e.src
306
- }, P({
306
+ }, F({
307
307
  load: e.handleLoad,
308
308
  touchstart: e.handleDragStart,
309
309
  touchend: e.handleDragEnd,
@@ -315,14 +315,14 @@ function xt(e, t, n, r, i, o) {
315
315
  type: "button",
316
316
  "aria-label": "Zoom Out",
317
317
  style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
318
- onClick: t[1] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
318
+ onClick: t[1] ||= I((...t) => e.handleClose && e.handleClose(...t), ["stop"])
319
319
  }, null, 6)) : d("", !0)], 64))], 64)) : d("", !0),
320
320
  !e.isZoomed && !e.hideHint ? (b(), m("span", bt)) : d("", !0)
321
321
  ], 16);
322
322
  }
323
323
  //#endregion
324
324
  //#region node_modules/vue-inner-image-zoom/src/index.js
325
- var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]), q = { key: 0 }, St = { key: 1 }, Ct = { class: "konnectio-hotel-reservation-warning" }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { class: "konnectio-hotel-reservation-warning" }, Et = { key: 2 }, Dt = { class: "konnectio-hotel-reservation-title" }, J = { class: "konnectio-hotel-reservation-information" }, Ot = { class: "konnectio-hotel-reservation-guests" }, kt = { key: 0 }, At = {
325
+ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]), q = { key: 0 }, St = { key: 1 }, Ct = { class: "konnectio-hotel-reservation-warning" }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { class: "konnectio-hotel-reservation-warning" }, Et = { key: 2 }, Dt = { class: "konnectio-hotel-reservation-title" }, J = { class: "konnectio-hotel-reservation-information" }, Ot = { class: "konnectio-hotel-reservation-guests" }, kt = { key: 0 }, At = {
326
326
  key: 0,
327
327
  class: "konnectio-hotel-reservation-room-name"
328
328
  }, jt = ["onClick"], Mt = { key: 0 }, Nt = { key: 1 }, Pt = { class: "konnectio-hotel-reservation-title" }, Ft = {
@@ -334,7 +334,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
334
334
  }, Y = {
335
335
  key: 1,
336
336
  class: "konnectio-accept-terms"
337
- }, Ht = { class: "konnectio-hotel-reservation-tooltip" }, X = /*#__PURE__*/ B(/* @__PURE__ */ R({
337
+ }, Ht = { class: "konnectio-hotel-reservation-tooltip" }, X = /*#__PURE__*/ V(/* @__PURE__ */ z({
338
338
  __name: "HotelReservationForm",
339
339
  props: {
340
340
  forceArrivalTime: {},
@@ -362,24 +362,24 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
362
362
  prevCallback: {}
363
363
  },
364
364
  setup(e) {
365
- let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(ce()), { hasArrivalDepartureInputs: s } = ce(), { arrivalTime: c, departureTime: f, roomDisplay: p, templateID: g, totalPrice: _, areListingsLoading: te, getSelectedPackageRooms: x, templateRoomUnits: E, selectedPackage: D, discountVouchers: ae, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: j, locationMismatch: N, newsMails: P, termsOfService: R, discountCode: z, hasTermOfService: se, acceptTerms: le, totalTemplateAddonPrice: ue, totalRooms: de, totalAdults: fe, totalChildren: me, weekendFee: _e, selectedMemberCardData: B, appliedDiscountCode: ve, guestDiscountCode: ye, isValidatingDiscountCode: be } = C(he()), { hasHotelLocations: Se } = C(oe()), { removeRoom: Ce, validateDiscountCode: we, getMandatoryRoomGroupAddons: Te, getTemplateRoomUnitPrice: Ee, resetDiscountVoucher: De, setGuestDiscountCode: Oe, clearGuestDiscountCode: ke, fetchAvailabilityData: Ae } = he(), { getHotelLocationName: je } = oe(), V = I(!1);
365
+ let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(ce()), { hasArrivalDepartureInputs: s } = ce(), { arrivalTime: c, departureTime: f, roomDisplay: p, templateID: g, totalPrice: _, areListingsLoading: te, getSelectedPackageRooms: x, templateRoomUnits: E, selectedPackage: D, discountVouchers: O, currentArrivalDate: k, currentDepartureDate: A, datesMismatch: j, currentLocation: M, locationMismatch: P, newsMails: F, termsOfService: z, discountCode: ae, hasTermOfService: se, acceptTerms: le, totalTemplateAddonPrice: ue, totalRooms: de, totalAdults: fe, totalChildren: me, weekendFee: ge, selectedMemberCardData: V, appliedDiscountCode: _e, guestDiscountCode: ve, isValidatingDiscountCode: ye } = C(he()), { hasHotelLocations: xe } = C(oe()), { removeRoom: Se, validateDiscountCode: Ce, getMandatoryRoomGroupAddons: we, getTemplateRoomUnitPrice: Te, resetDiscountVoucher: Ee, setGuestDiscountCode: De, clearGuestDiscountCode: Oe, fetchAvailabilityData: ke } = he(), { getHotelLocationName: Ae } = oe(), je = R(!1);
366
366
  function Ne(e) {
367
- Oe(e), Ae();
367
+ De(e), ke();
368
368
  }
369
369
  function Fe() {
370
- ke(), Ae();
370
+ Oe(), ke();
371
371
  }
372
372
  function Ie(e) {
373
373
  return e.reduce((e, { totalPrice: t }) => e + t, 0);
374
374
  }
375
375
  return (v, C) => {
376
- let I = M("tooltip");
376
+ let R = N("tooltip");
377
377
  return b(), u(qe, {
378
- "discount-code": r(z),
379
- "onUpdate:discountCode": C[4] ||= (e) => y(z) ? z.value = e : null,
380
- "validate-discount-code": r(we),
378
+ "discount-code": r(ae),
379
+ "onUpdate:discountCode": C[4] ||= (e) => y(ae) ? ae.value = e : null,
380
+ "validate-discount-code": r(Ce),
381
381
  "total-price": r(_),
382
- "weekend-fee": r(_e),
382
+ "weekend-fee": r(ge),
383
383
  "show-gift-card": e.showGiftCard,
384
384
  "availability-discount": e.availabilityDiscount,
385
385
  "deal-flow": e.dealFlow,
@@ -387,10 +387,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
387
387
  "is-sidebar-loading": r(te),
388
388
  notice: r(t)("hotel.reservationNotice"),
389
389
  "prev-callback": e.prevCallback,
390
- "applied-discount-code": r(ve),
391
- "guest-discount-code": r(ye),
392
- "is-validating-discount-code": r(be),
393
- "on-reset-discount-code": r(De),
390
+ "applied-discount-code": r(_e),
391
+ "guest-discount-code": r(ve),
392
+ "is-validating-discount-code": r(ye),
393
+ "on-reset-discount-code": r(Ee),
394
394
  "on-apply-availability-discount": Ne,
395
395
  "on-clear-availability-discount": Fe
396
396
  }, o({
@@ -409,7 +409,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
409
409
  T("b", null, [T("span", null, h(r(Me)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
410
410
  key: 0,
411
411
  class: "konnectio-hotel-reservation-remove",
412
- onClick: F((e) => r(Ce)(n, s, a.configIdx), ["prevent"])
412
+ onClick: I((e) => r(Se)(n, s, a.configIdx), ["prevent"])
413
413
  }, [l(H, {
414
414
  icon: "times",
415
415
  type: "fas",
@@ -426,13 +426,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
426
426
  type: "fas",
427
427
  color: "font"
428
428
  }), T("span", null, h(e.children), 1)])) : d("", !0)])]),
429
- T("b", null, [T("span", null, h(r(Me)(r(Ee)(e.roomGroupId, e.adults, e.children) + r(_e), r(i))), 1)]),
430
- (b(!0), m(a, null, w(r(Te)(e.roomGroupId), (e) => (b(), m(a, { key: e.addonID }, [T("span", null, "- " + h(e.name), 1), T("b", null, [T("span", null, h(r(Me)(e.price, r(i))), 1)])], 64))), 128))
429
+ T("b", null, [T("span", null, h(r(Me)(r(Te)(e.roomGroupId, e.adults, e.children) + r(ge), r(i))), 1)]),
430
+ (b(!0), m(a, null, w(r(we)(e.roomGroupId), (e) => (b(), m(a, { key: e.addonID }, [T("span", null, "- " + h(e.name), 1), T("b", null, [T("span", null, h(r(Me)(e.price, r(i))), 1)])], 64))), 128))
431
431
  ]))), 128)), r(ue) ? (b(), m("li", zt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Me)(r(ue), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
432
432
  actions: S(() => [T("ul", Bt, [
433
433
  r(n) ? d("", !0) : (b(), m("div", Vt, [l(Le, {
434
- modelValue: r(P),
435
- "onUpdate:modelValue": C[0] ||= (e) => y(P) ? P.value = e : null,
434
+ modelValue: r(F),
435
+ "onUpdate:modelValue": C[0] ||= (e) => y(F) ? F.value = e : null,
436
436
  type: "checkbox",
437
437
  name: "newsletter",
438
438
  label: r(t)("booking.reservation.newsletterSignUp")
@@ -450,28 +450,28 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
450
450
  }, {
451
451
  terms: S(() => [T("a", {
452
452
  class: "konnectio-accept-terms-link",
453
- onClick: C[1] ||= F((e) => V.value = !0, ["prevent"])
454
- }, [T("span", null, h(r(xe)(r(t)("general.termsAndConditions"))), 1)])]),
453
+ onClick: C[1] ||= I((e) => je.value = !0, ["prevent"])
454
+ }, [T("span", null, h(r(be)(r(t)("general.termsAndConditions"))), 1)])]),
455
455
  _: 1
456
456
  })]),
457
457
  _: 1
458
458
  }, 8, ["modelValue"])])) : d("", !0),
459
459
  re(v.$slots, "actions", {}, void 0, !0),
460
460
  l(nt, {
461
- modelValue: V.value,
462
- "onUpdate:modelValue": C[3] ||= (e) => V.value = e,
463
- description: r(R)
461
+ modelValue: je.value,
462
+ "onUpdate:modelValue": C[3] ||= (e) => je.value = e,
463
+ description: r(z)
464
464
  }, null, 8, ["modelValue", "description"])
465
465
  ])]),
466
466
  navigation: S(() => [re(v.$slots, "navigation", {}, void 0, !0)]),
467
467
  "mobile-under-price": S(() => [
468
468
  T("span", null, h(r(t)("general.for")) + ": ", 1),
469
- T("b", null, h(r(Pe)(r(O), r(k))) + " " + h(r(xe)(r(Pe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
469
+ T("b", null, h(r(Pe)(r(k), r(A))) + " " + h(r(be)(r(Pe)(r(k), r(A)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
470
470
  ne((b(), m("span", Ht, [l(H, {
471
471
  icon: "circle-info",
472
472
  type: "fas"
473
- })])), [[I, {
474
- content: `<span>(${r(ge)(r(O))} - ${r(ge)(r(k))})</span>`,
473
+ })])), [[R, {
474
+ content: `<span>(${r(B)(r(k))} - ${r(B)(r(A))})</span>`,
475
475
  classes: ["tooltip", "konnectio-tooltip"],
476
476
  html: !0
477
477
  }]])
@@ -482,25 +482,25 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
482
482
  T("span", null, h(`${r(de)} ${r(de) === 1 ? r(t)("booking.reservation.room") : r(t)("booking.reservation.rooms")}`), 1)
483
483
  ]),
484
484
  _: 2
485
- }, [isNaN(r(j)) ? void 0 : {
485
+ }, [isNaN(r(M)) ? void 0 : {
486
486
  name: "reservation-summary",
487
487
  fn: S(() => [
488
- e.dealFlow && r(ve) ? (b(), m("li", q, [T("span", null, h(r(t)("dealCode.label")), 1), T("b", null, h(r(ve)), 1)])) : d("", !0),
489
- r(Se) ? (b(), m("li", St, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(je)(r(j))), 1), ne(T("span", Ct, [l(H, {
488
+ e.dealFlow && r(_e) ? (b(), m("li", q, [T("span", null, h(r(t)("dealCode.label")), 1), T("b", null, h(r(_e)), 1)])) : d("", !0),
489
+ r(xe) ? (b(), m("li", St, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(Ae)(r(M))), 1), ne(T("span", Ct, [l(H, {
490
490
  icon: "exclamation-triangle",
491
491
  type: "fas"
492
- })], 512), [[ee, r(N)]])])])) : d("", !0),
493
- T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(ge)(r(O))}, ${r(c)}` : r(ge)(r(O))), 1), ne(T("span", wt, [l(H, {
492
+ })], 512), [[ee, r(P)]])])])) : d("", !0),
493
+ T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(M)) ? `${r(B)(r(k))}, ${r(c)}` : r(B)(r(k))), 1), ne(T("span", wt, [l(H, {
494
494
  icon: "exclamation-triangle",
495
495
  type: "fas"
496
- })], 512), [[ee, r(A)]])])]),
497
- T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(ge)(r(k))}, ${r(f)}` : r(ge)(r(k))), 1), ne(T("span", Tt, [l(H, {
496
+ })], 512), [[ee, r(j)]])])]),
497
+ T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(M)) ? `${r(B)(r(A))}, ${r(f)}` : r(B)(r(A))), 1), ne(T("span", Tt, [l(H, {
498
498
  icon: "exclamation-triangle",
499
499
  type: "fas"
500
- })], 512), [[ee, r(A)]])])]),
501
- T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Pe)(r(O), r(k))) + " " + h(r(xe)(r(Pe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
502
- r(B) && r(B).providesDiscount ? (b(), m("li", Et, [T("span", null, h(r(B).shortDescription), 1), T("b", null, "-" + h(r(B).discountPercent) + "%", 1)])) : d("", !0),
503
- r(ae) ? (b(!0), m(a, { key: 3 }, w(r(ae), (e) => (b(), m("li", { key: e.id }, [T("span", null, h(`${r(t)("general.discountCode")} (${e.value})`), 1), T("b", null, h(e.key), 1)]))), 128)) : d("", !0)
500
+ })], 512), [[ee, r(j)]])])]),
501
+ T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Pe)(r(k), r(A))) + " " + h(r(be)(r(Pe)(r(k), r(A)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
502
+ r(V) && r(V).providesDiscount ? (b(), m("li", Et, [T("span", null, h(r(V).shortDescription), 1), T("b", null, "-" + h(r(V).discountPercent) + "%", 1)])) : d("", !0),
503
+ r(O) ? (b(!0), m(a, { key: 3 }, w(r(O), (e) => (b(), m("li", { key: e.id }, [T("span", null, h(`${r(t)("general.discountCode")} (${e.value})`), 1), T("b", null, h(e.key), 1)]))), 128)) : d("", !0)
504
504
  ]),
505
505
  key: "0"
506
506
  }]), 1032, [
@@ -522,10 +522,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
522
522
  ]);
523
523
  };
524
524
  }
525
- }), [["__scopeId", "data-v-4f766755"]]), Ut = { class: "konnectio-panel" }, Wt = { id: "konnectio-hotel-guest-discount-title" }, Gt = ["innerHTML"], Kt = /*#__PURE__*/ B(/* @__PURE__ */ R({
525
+ }), [["__scopeId", "data-v-4f766755"]]), Ut = { class: "konnectio-panel" }, Wt = { id: "konnectio-hotel-guest-discount-title" }, Gt = ["innerHTML"], Kt = /*#__PURE__*/ V(/* @__PURE__ */ z({
526
526
  __name: "GuestDiscountForm",
527
527
  setup(e) {
528
- let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = I();
528
+ let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = R();
529
529
  async function s() {
530
530
  if (!o.value) {
531
531
  a({
@@ -545,7 +545,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
545
545
  }
546
546
  return (e, n) => (b(), m("form", {
547
547
  id: "konnectio-hotel-guest-discount",
548
- onSubmit: n[1] ||= F(() => {}, ["prevent"])
548
+ onSubmit: n[1] ||= I(() => {}, ["prevent"])
549
549
  }, [T("div", Ut, [
550
550
  T("h3", Wt, [T("span", null, h(r(t)("guestDiscount.title")), 1)]),
551
551
  T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8, Gt),
@@ -567,11 +567,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
567
567
  ])
568
568
  ])], 32));
569
569
  }
570
- }), [["__scopeId", "data-v-de955b0c"]]), qt = { class: "konnectio-panel" }, Jt = { id: "konnectio-hotel-discount-code-title" }, Yt = ["innerHTML"], Z = /*#__PURE__*/ B(/* @__PURE__ */ R({
570
+ }), [["__scopeId", "data-v-de955b0c"]]), qt = { class: "konnectio-panel" }, Jt = { id: "konnectio-hotel-discount-code-title" }, Yt = ["innerHTML"], Z = /*#__PURE__*/ V(/* @__PURE__ */ z({
571
571
  __name: "DiscountCodeForm",
572
572
  setup(e) {
573
- let { t } = v(), i = x("history"), a = he(), { display: o } = me(), { location: s, hotelLocations: c } = C(oe()), { requireDealCode: f } = C(a), p = n(() => f.value ? "dealCode" : "discountCode"), g = I();
574
- async function _() {
573
+ let { t } = v(), i = x("history"), a = he(), { display: o } = me(), { location: s, hotelLocations: c } = C(oe()), { requireDealCode: f } = C(a), p = n(() => f.value ? "dealCode" : "discountCode"), g = R(), _ = R(!1);
574
+ async function ee() {
575
575
  if (!g.value) {
576
576
  o({
577
577
  message: t("alert.error.discountCodeEmpty"),
@@ -579,15 +579,20 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
579
579
  });
580
580
  return;
581
581
  }
582
- i.discount = g.value.toString(), a.setGuestDiscountCode(g.value.toString()), a.fetchAvailabilityData();
582
+ i.discount = g.value.toString(), a.setGuestDiscountCode(g.value.toString()), _.value = !0;
583
+ try {
584
+ await a.fetchAvailabilityData();
585
+ } finally {
586
+ _.value = !1;
587
+ }
583
588
  }
584
589
  return (e, n) => (b(), m("form", {
585
590
  id: "konnectio-hotel-discount-code",
586
- onSubmit: n[2] ||= F(() => {}, ["prevent"])
591
+ onSubmit: n[2] ||= I(() => {}, ["prevent"])
587
592
  }, [T("div", qt, [
588
593
  T("h3", Jt, [T("span", null, h(r(t)(`${p.value}.title`)), 1)]),
589
594
  T("p", { innerHTML: r(t)(`${p.value}.description`) }, null, 8, Yt),
590
- r(c).length > 1 ? (b(), u(V, {
595
+ r(c).length > 1 ? (b(), u(je, {
591
596
  key: 0,
592
597
  modelValue: r(s),
593
598
  "onUpdate:modelValue": n[0] ||= (e) => y(s) ? s.value = e : null,
@@ -616,15 +621,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
616
621
  icon: "tags",
617
622
  "button-icon": "paper-plane-top",
618
623
  secondary: "",
619
- onAction: _
624
+ "is-loading": _.value,
625
+ onAction: ee
620
626
  }, null, 8, [
621
627
  "modelValue",
622
628
  "label",
623
- "button-label"
629
+ "button-label",
630
+ "is-loading"
624
631
  ])
625
632
  ])], 32));
626
633
  }
627
- }), [["__scopeId", "data-v-d6165b0a"]]), Xt = { class: "konnectio-room-config-option" }, Zt = { key: 0 }, Qt = { class: "konnectio-selected-room-config" }, $t = { class: "konnectio-selected-room-config-people" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config-price" }, nn = /*#__PURE__*/ B(/* @__PURE__ */ R({
634
+ }), [["__scopeId", "data-v-63bc74db"]]), Xt = { class: "konnectio-room-config-option" }, Zt = { key: 0 }, Qt = { class: "konnectio-selected-room-config" }, $t = { class: "konnectio-selected-room-config-people" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config-price" }, nn = /*#__PURE__*/ V(/* @__PURE__ */ z({
628
635
  __name: "RoomConfigField",
629
636
  props: {
630
637
  modelValue: {},
@@ -649,7 +656,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
649
656
  get: () => c.modelValue,
650
657
  set: (e) => f(e)
651
658
  });
652
- return (t, n) => (b(), u(V, {
659
+ return (t, n) => (b(), u(je, {
653
660
  modelValue: p.value,
654
661
  "onUpdate:modelValue": n[0] ||= (e) => p.value = e,
655
662
  label: e.label,
@@ -953,7 +960,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
953
960
  function D(e, t, n) {
954
961
  this.x = n ? Math.round(e) : e, this.y = n ? Math.round(t) : t;
955
962
  }
956
- var ae = Math.trunc || function(e) {
963
+ var O = Math.trunc || function(e) {
957
964
  return e > 0 ? Math.floor(e) : Math.ceil(e);
958
965
  };
959
966
  D.prototype = {
@@ -961,13 +968,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
961
968
  return new D(this.x, this.y);
962
969
  },
963
970
  add: function(e) {
964
- return this.clone()._add(O(e));
971
+ return this.clone()._add(k(e));
965
972
  },
966
973
  _add: function(e) {
967
974
  return this.x += e.x, this.y += e.y, this;
968
975
  },
969
976
  subtract: function(e) {
970
- return this.clone()._subtract(O(e));
977
+ return this.clone()._subtract(k(e));
971
978
  },
972
979
  _subtract: function(e) {
973
980
  return this.x -= e.x, this.y -= e.y, this;
@@ -1012,45 +1019,45 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1012
1019
  return this.clone()._trunc();
1013
1020
  },
1014
1021
  _trunc: function() {
1015
- return this.x = ae(this.x), this.y = ae(this.y), this;
1022
+ return this.x = O(this.x), this.y = O(this.y), this;
1016
1023
  },
1017
1024
  distanceTo: function(e) {
1018
- e = O(e);
1025
+ e = k(e);
1019
1026
  var t = e.x - this.x, n = e.y - this.y;
1020
1027
  return Math.sqrt(t * t + n * n);
1021
1028
  },
1022
1029
  equals: function(e) {
1023
- return e = O(e), e.x === this.x && e.y === this.y;
1030
+ return e = k(e), e.x === this.x && e.y === this.y;
1024
1031
  },
1025
1032
  contains: function(e) {
1026
- return e = O(e), Math.abs(e.x) <= Math.abs(this.x) && Math.abs(e.y) <= Math.abs(this.y);
1033
+ return e = k(e), Math.abs(e.x) <= Math.abs(this.x) && Math.abs(e.y) <= Math.abs(this.y);
1027
1034
  },
1028
1035
  toString: function() {
1029
1036
  return "Point(" + u(this.x) + ", " + u(this.y) + ")";
1030
1037
  }
1031
1038
  };
1032
- function O(e, t, n) {
1039
+ function k(e, t, n) {
1033
1040
  return e instanceof D ? e : _(e) ? new D(e[0], e[1]) : e == null ? e : typeof e == "object" && "x" in e && "y" in e ? new D(e.x, e.y) : new D(e, t, n);
1034
1041
  }
1035
- function k(e, t) {
1042
+ function A(e, t) {
1036
1043
  if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
1037
1044
  }
1038
- k.prototype = {
1045
+ A.prototype = {
1039
1046
  extend: function(e) {
1040
1047
  var t, n;
1041
1048
  if (!e) return this;
1042
- if (e instanceof D || typeof e[0] == "number" || "x" in e) t = n = O(e);
1043
- else if (e = A(e), t = e.min, n = e.max, !t || !n) return this;
1049
+ if (e instanceof D || typeof e[0] == "number" || "x" in e) t = n = k(e);
1050
+ else if (e = j(e), t = e.min, n = e.max, !t || !n) return this;
1044
1051
  return !this.min && !this.max ? (this.min = t.clone(), this.max = n.clone()) : (this.min.x = Math.min(t.x, this.min.x), this.max.x = Math.max(n.x, this.max.x), this.min.y = Math.min(t.y, this.min.y), this.max.y = Math.max(n.y, this.max.y)), this;
1045
1052
  },
1046
1053
  getCenter: function(e) {
1047
- return O((this.min.x + this.max.x) / 2, (this.min.y + this.max.y) / 2, e);
1054
+ return k((this.min.x + this.max.x) / 2, (this.min.y + this.max.y) / 2, e);
1048
1055
  },
1049
1056
  getBottomLeft: function() {
1050
- return O(this.min.x, this.max.y);
1057
+ return k(this.min.x, this.max.y);
1051
1058
  },
1052
1059
  getTopRight: function() {
1053
- return O(this.max.x, this.min.y);
1060
+ return k(this.max.x, this.min.y);
1054
1061
  },
1055
1062
  getTopLeft: function() {
1056
1063
  return this.min;
@@ -1063,15 +1070,15 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1063
1070
  },
1064
1071
  contains: function(e) {
1065
1072
  var t, n;
1066
- return e = typeof e[0] == "number" || e instanceof D ? O(e) : A(e), e instanceof k ? (t = e.min, n = e.max) : t = n = e, t.x >= this.min.x && n.x <= this.max.x && t.y >= this.min.y && n.y <= this.max.y;
1073
+ return e = typeof e[0] == "number" || e instanceof D ? k(e) : j(e), e instanceof A ? (t = e.min, n = e.max) : t = n = e, t.x >= this.min.x && n.x <= this.max.x && t.y >= this.min.y && n.y <= this.max.y;
1067
1074
  },
1068
1075
  intersects: function(e) {
1069
- e = A(e);
1076
+ e = j(e);
1070
1077
  var t = this.min, n = this.max, r = e.min, i = e.max, a = i.x >= t.x && r.x <= n.x, o = i.y >= t.y && r.y <= n.y;
1071
1078
  return a && o;
1072
1079
  },
1073
1080
  overlaps: function(e) {
1074
- e = A(e);
1081
+ e = j(e);
1075
1082
  var t = this.min, n = this.max, r = e.min, i = e.max, a = i.x > t.x && r.x < n.x, o = i.y > t.y && r.y < n.y;
1076
1083
  return a && o;
1077
1084
  },
@@ -1080,33 +1087,33 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1080
1087
  },
1081
1088
  pad: function(e) {
1082
1089
  var t = this.min, n = this.max, r = Math.abs(t.x - n.x) * e, i = Math.abs(t.y - n.y) * e;
1083
- return A(O(t.x - r, t.y - i), O(n.x + r, n.y + i));
1090
+ return j(k(t.x - r, t.y - i), k(n.x + r, n.y + i));
1084
1091
  },
1085
1092
  equals: function(e) {
1086
- return e ? (e = A(e), this.min.equals(e.getTopLeft()) && this.max.equals(e.getBottomRight())) : !1;
1093
+ return e ? (e = j(e), this.min.equals(e.getTopLeft()) && this.max.equals(e.getBottomRight())) : !1;
1087
1094
  }
1088
1095
  };
1089
- function A(e, t) {
1090
- return !e || e instanceof k ? e : new k(e, t);
1091
- }
1092
1096
  function j(e, t) {
1097
+ return !e || e instanceof A ? e : new A(e, t);
1098
+ }
1099
+ function M(e, t) {
1093
1100
  if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
1094
1101
  }
1095
- j.prototype = {
1102
+ M.prototype = {
1096
1103
  extend: function(e) {
1097
1104
  var t = this._southWest, n = this._northEast, r, i;
1098
- if (e instanceof N) r = e, i = e;
1099
- else if (e instanceof j) {
1105
+ if (e instanceof P) r = e, i = e;
1106
+ else if (e instanceof M) {
1100
1107
  if (r = e._southWest, i = e._northEast, !r || !i) return this;
1101
- } else return e ? this.extend(P(e) || M(e)) : this;
1102
- return !t && !n ? (this._southWest = new N(r.lat, r.lng), this._northEast = new N(i.lat, i.lng)) : (t.lat = Math.min(r.lat, t.lat), t.lng = Math.min(r.lng, t.lng), n.lat = Math.max(i.lat, n.lat), n.lng = Math.max(i.lng, n.lng)), this;
1108
+ } else return e ? this.extend(F(e) || N(e)) : this;
1109
+ return !t && !n ? (this._southWest = new P(r.lat, r.lng), this._northEast = new P(i.lat, i.lng)) : (t.lat = Math.min(r.lat, t.lat), t.lng = Math.min(r.lng, t.lng), n.lat = Math.max(i.lat, n.lat), n.lng = Math.max(i.lng, n.lng)), this;
1103
1110
  },
1104
1111
  pad: function(e) {
1105
1112
  var t = this._southWest, n = this._northEast, r = Math.abs(t.lat - n.lat) * e, i = Math.abs(t.lng - n.lng) * e;
1106
- return new j(new N(t.lat - r, t.lng - i), new N(n.lat + r, n.lng + i));
1113
+ return new M(new P(t.lat - r, t.lng - i), new P(n.lat + r, n.lng + i));
1107
1114
  },
1108
1115
  getCenter: function() {
1109
- return new N((this._southWest.lat + this._northEast.lat) / 2, (this._southWest.lng + this._northEast.lng) / 2);
1116
+ return new P((this._southWest.lat + this._northEast.lat) / 2, (this._southWest.lng + this._northEast.lng) / 2);
1110
1117
  },
1111
1118
  getSouthWest: function() {
1112
1119
  return this._southWest;
@@ -1115,10 +1122,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1115
1122
  return this._northEast;
1116
1123
  },
1117
1124
  getNorthWest: function() {
1118
- return new N(this.getNorth(), this.getWest());
1125
+ return new P(this.getNorth(), this.getWest());
1119
1126
  },
1120
1127
  getSouthEast: function() {
1121
- return new N(this.getSouth(), this.getEast());
1128
+ return new P(this.getSouth(), this.getEast());
1122
1129
  },
1123
1130
  getWest: function() {
1124
1131
  return this._southWest.lng;
@@ -1133,17 +1140,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1133
1140
  return this._northEast.lat;
1134
1141
  },
1135
1142
  contains: function(e) {
1136
- e = typeof e[0] == "number" || e instanceof N || "lat" in e ? P(e) : M(e);
1143
+ e = typeof e[0] == "number" || e instanceof P || "lat" in e ? F(e) : N(e);
1137
1144
  var t = this._southWest, n = this._northEast, r, i;
1138
- return e instanceof j ? (r = e.getSouthWest(), i = e.getNorthEast()) : r = i = e, r.lat >= t.lat && i.lat <= n.lat && r.lng >= t.lng && i.lng <= n.lng;
1145
+ return e instanceof M ? (r = e.getSouthWest(), i = e.getNorthEast()) : r = i = e, r.lat >= t.lat && i.lat <= n.lat && r.lng >= t.lng && i.lng <= n.lng;
1139
1146
  },
1140
1147
  intersects: function(e) {
1141
- e = M(e);
1148
+ e = N(e);
1142
1149
  var t = this._southWest, n = this._northEast, r = e.getSouthWest(), i = e.getNorthEast(), a = i.lat >= t.lat && r.lat <= n.lat, o = i.lng >= t.lng && r.lng <= n.lng;
1143
1150
  return a && o;
1144
1151
  },
1145
1152
  overlaps: function(e) {
1146
- e = M(e);
1153
+ e = N(e);
1147
1154
  var t = this._southWest, n = this._northEast, r = e.getSouthWest(), i = e.getNorthEast(), a = i.lat > t.lat && r.lat < n.lat, o = i.lng > t.lng && r.lng < n.lng;
1148
1155
  return a && o;
1149
1156
  },
@@ -1156,44 +1163,44 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1156
1163
  ].join(",");
1157
1164
  },
1158
1165
  equals: function(e, t) {
1159
- return e ? (e = M(e), this._southWest.equals(e.getSouthWest(), t) && this._northEast.equals(e.getNorthEast(), t)) : !1;
1166
+ return e ? (e = N(e), this._southWest.equals(e.getSouthWest(), t) && this._northEast.equals(e.getNorthEast(), t)) : !1;
1160
1167
  },
1161
1168
  isValid: function() {
1162
1169
  return !!(this._southWest && this._northEast);
1163
1170
  }
1164
1171
  };
1165
- function M(e, t) {
1166
- return e instanceof j ? e : new j(e, t);
1172
+ function N(e, t) {
1173
+ return e instanceof M ? e : new M(e, t);
1167
1174
  }
1168
- function N(e, t, n) {
1175
+ function P(e, t, n) {
1169
1176
  if (isNaN(e) || isNaN(t)) throw Error("Invalid LatLng object: (" + e + ", " + t + ")");
1170
1177
  this.lat = +e, this.lng = +t, n !== void 0 && (this.alt = +n);
1171
1178
  }
1172
- N.prototype = {
1179
+ P.prototype = {
1173
1180
  equals: function(e, t) {
1174
- return e ? (e = P(e), Math.max(Math.abs(this.lat - e.lat), Math.abs(this.lng - e.lng)) <= (t === void 0 ? 1e-9 : t)) : !1;
1181
+ return e ? (e = F(e), Math.max(Math.abs(this.lat - e.lat), Math.abs(this.lng - e.lng)) <= (t === void 0 ? 1e-9 : t)) : !1;
1175
1182
  },
1176
1183
  toString: function(e) {
1177
1184
  return "LatLng(" + u(this.lat, e) + ", " + u(this.lng, e) + ")";
1178
1185
  },
1179
1186
  distanceTo: function(e) {
1180
- return I.distance(this, P(e));
1187
+ return R.distance(this, F(e));
1181
1188
  },
1182
1189
  wrap: function() {
1183
- return I.wrapLatLng(this);
1190
+ return R.wrapLatLng(this);
1184
1191
  },
1185
1192
  toBounds: function(e) {
1186
1193
  var t = 180 * e / 40075017, n = t / Math.cos(Math.PI / 180 * this.lat);
1187
- return M([this.lat - t, this.lng - n], [this.lat + t, this.lng + n]);
1194
+ return N([this.lat - t, this.lng - n], [this.lat + t, this.lng + n]);
1188
1195
  },
1189
1196
  clone: function() {
1190
- return new N(this.lat, this.lng, this.alt);
1197
+ return new P(this.lat, this.lng, this.alt);
1191
1198
  }
1192
1199
  };
1193
- function P(e, t, n) {
1194
- return e instanceof N ? e : _(e) && typeof e[0] != "object" ? e.length === 3 ? new N(e[0], e[1], e[2]) : e.length === 2 ? new N(e[0], e[1]) : null : e == null ? e : typeof e == "object" && "lat" in e ? new N(e.lat, "lng" in e ? e.lng : e.lon, e.alt) : t === void 0 ? null : new N(e, t, n);
1200
+ function F(e, t, n) {
1201
+ return e instanceof P ? e : _(e) && typeof e[0] != "object" ? e.length === 3 ? new P(e[0], e[1], e[2]) : e.length === 2 ? new P(e[0], e[1]) : null : e == null ? e : typeof e == "object" && "lat" in e ? new P(e.lat, "lng" in e ? e.lng : e.lon, e.alt) : t === void 0 ? null : new P(e, t, n);
1195
1202
  }
1196
- var F = {
1203
+ var I = {
1197
1204
  latLngToPoint: function(e, t) {
1198
1205
  var n = this.projection.project(e), r = this.scale(t);
1199
1206
  return this.transformation._transform(n, r);
@@ -1217,28 +1224,28 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1217
1224
  getProjectedBounds: function(e) {
1218
1225
  if (this.infinite) return null;
1219
1226
  var t = this.projection.bounds, n = this.scale(e);
1220
- return new k(this.transformation.transform(t.min, n), this.transformation.transform(t.max, n));
1227
+ return new A(this.transformation.transform(t.min, n), this.transformation.transform(t.max, n));
1221
1228
  },
1222
1229
  infinite: !1,
1223
1230
  wrapLatLng: function(e) {
1224
1231
  var t = this.wrapLng ? c(e.lng, this.wrapLng, !0) : e.lng, n = this.wrapLat ? c(e.lat, this.wrapLat, !0) : e.lat, r = e.alt;
1225
- return new N(n, t, r);
1232
+ return new P(n, t, r);
1226
1233
  },
1227
1234
  wrapLatLngBounds: function(e) {
1228
1235
  var t = e.getCenter(), n = this.wrapLatLng(t), r = t.lat - n.lat, i = t.lng - n.lng;
1229
1236
  if (r === 0 && i === 0) return e;
1230
1237
  var a = e.getSouthWest(), o = e.getNorthEast();
1231
- return new j(new N(a.lat - r, a.lng - i), new N(o.lat - r, o.lng - i));
1238
+ return new M(new P(a.lat - r, a.lng - i), new P(o.lat - r, o.lng - i));
1232
1239
  }
1233
- }, I = n({}, F, {
1240
+ }, R = n({}, I, {
1234
1241
  wrapLng: [-180, 180],
1235
1242
  R: 6371e3,
1236
1243
  distance: function(e, t) {
1237
1244
  var n = Math.PI / 180, r = e.lat * n, i = t.lat * n, a = Math.sin((t.lat - e.lat) * n / 2), o = Math.sin((t.lng - e.lng) * n / 2), s = a * a + Math.cos(r) * Math.cos(i) * o * o, c = 2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s));
1238
1245
  return this.R * c;
1239
1246
  }
1240
- }), R = 6378137, z = {
1241
- R,
1247
+ }), z = 6378137, ae = {
1248
+ R: z,
1242
1249
  MAX_LATITUDE: 85.0511287798,
1243
1250
  project: function(e) {
1244
1251
  var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
@@ -1246,11 +1253,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1246
1253
  },
1247
1254
  unproject: function(e) {
1248
1255
  var t = 180 / Math.PI;
1249
- return new N((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
1256
+ return new P((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
1250
1257
  },
1251
1258
  bounds: (function() {
1252
- var e = R * Math.PI;
1253
- return new k([-e, -e], [e, e]);
1259
+ var e = z * Math.PI;
1260
+ return new A([-e, -e], [e, e]);
1254
1261
  })()
1255
1262
  };
1256
1263
  function oe(e, t, n, r) {
@@ -1274,11 +1281,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1274
1281
  function se(e, t, n, r) {
1275
1282
  return new oe(e, t, n, r);
1276
1283
  }
1277
- var ce = n({}, I, {
1284
+ var ce = n({}, R, {
1278
1285
  code: "EPSG:3857",
1279
- projection: z,
1286
+ projection: ae,
1280
1287
  transformation: function() {
1281
- var e = .5 / (Math.PI * z.R);
1288
+ var e = .5 / (Math.PI * ae.R);
1282
1289
  return se(e, .5, -e, .5);
1283
1290
  }()
1284
1291
  }), le = n({}, ce, { code: "EPSG:900913" });
@@ -1293,7 +1300,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1293
1300
  }
1294
1301
  return n || "M0 0";
1295
1302
  }
1296
- var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Ke("webkit"), _e = Ke("android"), B = Ke("android 2") || Ke("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = _e && Ke("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !he && Ke("chrome"), Se = Ke("gecko") && !ge && !be && !pe, Ce = !xe && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !B, ke = "MozPerspective" in fe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, je = typeof orientation < "u" || Ke("mobile"), V = je && ge, Me = je && Oe, Ne = !window.PointerEvent && window.MSPointerEvent, H = !!(window.PointerEvent || Ne), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || H), Ie = je && be, Le = je && Se, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
1303
+ var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), B = Ke("webkit"), ge = Ke("android"), V = Ke("android 2") || Ke("android 3"), _e = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ve = ge && Ke("Google") && _e < 537 && !("AudioNode" in window), ye = !!window.opera, be = !he && Ke("chrome"), xe = Ke("gecko") && !B && !ye && !pe, Se = !be && Ke("safari"), Ce = Ke("phantom"), we = "OTransition" in fe, Te = navigator.platform.indexOf("Win") === 0, Ee = pe && "transition" in fe, De = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !V, Oe = "MozPerspective" in fe, ke = !window.L_DISABLE_3D && (Ee || De || Oe) && !we && !Ce, Ae = typeof orientation < "u" || Ke("mobile"), je = Ae && B, Me = Ae && De, Ne = !window.PointerEvent && window.MSPointerEvent, H = !!(window.PointerEvent || Ne), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || H), Ie = Ae && ye, Le = Ae && xe, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
1297
1304
  var e = !1;
1298
1305
  try {
1299
1306
  var t = Object.defineProperty({}, "passive", { get: function() {
@@ -1324,23 +1331,23 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1324
1331
  ie: pe,
1325
1332
  ielt9: me,
1326
1333
  edge: he,
1327
- webkit: ge,
1328
- android: _e,
1329
- android23: B,
1330
- androidStock: ye,
1331
- opera: be,
1332
- chrome: xe,
1333
- gecko: Se,
1334
- safari: Ce,
1335
- phantom: we,
1336
- opera12: Te,
1337
- win: Ee,
1338
- ie3d: De,
1339
- webkit3d: Oe,
1340
- gecko3d: ke,
1341
- any3d: Ae,
1342
- mobile: je,
1343
- mobileWebkit: V,
1334
+ webkit: B,
1335
+ android: ge,
1336
+ android23: V,
1337
+ androidStock: ve,
1338
+ opera: ye,
1339
+ chrome: be,
1340
+ gecko: xe,
1341
+ safari: Se,
1342
+ phantom: Ce,
1343
+ opera12: we,
1344
+ win: Te,
1345
+ ie3d: Ee,
1346
+ webkit3d: De,
1347
+ gecko3d: Oe,
1348
+ any3d: ke,
1349
+ mobile: Ae,
1350
+ mobileWebkit: je,
1344
1351
  mobileWebkit3d: Me,
1345
1352
  msPointer: Ne,
1346
1353
  pointer: H,
@@ -1751,10 +1758,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1751
1758
  trackResize: !0
1752
1759
  },
1753
1760
  initialize: function(e, t) {
1754
- t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = mt && U.any3d && !U.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), Y(this._proxy, ht, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1761
+ t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(F(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = mt && U.any3d && !U.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), Y(this._proxy, ht, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1755
1762
  },
1756
1763
  setView: function(e, t, r) {
1757
- return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(P(e), t, this.options.maxBounds), r ||= {}, this._stop(), this._loaded && !r.reset && r !== !0 && (r.animate !== void 0 && (r.zoom = n({ animate: r.animate }, r.zoom), r.pan = n({
1764
+ return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(F(e), t, this.options.maxBounds), r ||= {}, this._stop(), this._loaded && !r.reset && r !== !0 && (r.animate !== void 0 && (r.zoom = n({ animate: r.animate }, r.zoom), r.pan = n({
1758
1765
  animate: r.animate,
1759
1766
  duration: r.duration
1760
1767
  }, r.pan)), this._zoom === t ? this._tryAnimatedPan(e, r.pan) : this._tryAnimatedZoom && this._tryAnimatedZoom(e, t, r.zoom)) ? (clearTimeout(this._sizeTimer), this) : (this._resetView(e, t, r.pan && r.pan.noMoveStart), this);
@@ -1773,8 +1780,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1773
1780
  return this.setView(o, t, { zoom: n });
1774
1781
  },
1775
1782
  _getBoundsCenterZoom: function(e, t) {
1776
- t ||= {}, e = e.getBounds ? e.getBounds() : M(e);
1777
- var n = O(t.paddingTopLeft || t.padding || [0, 0]), r = O(t.paddingBottomRight || t.padding || [0, 0]), i = this.getBoundsZoom(e, !1, n.add(r));
1783
+ t ||= {}, e = e.getBounds ? e.getBounds() : N(e);
1784
+ var n = k(t.paddingTopLeft || t.padding || [0, 0]), r = k(t.paddingBottomRight || t.padding || [0, 0]), i = this.getBoundsZoom(e, !1, n.add(r));
1778
1785
  if (i = typeof t.maxZoom == "number" ? Math.min(t.maxZoom, i) : i, i === Infinity) return {
1779
1786
  center: e.getCenter(),
1780
1787
  zoom: i
@@ -1786,7 +1793,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1786
1793
  };
1787
1794
  },
1788
1795
  fitBounds: function(e, t) {
1789
- if (e = M(e), !e.isValid()) throw Error("Bounds are not valid.");
1796
+ if (e = N(e), !e.isValid()) throw Error("Bounds are not valid.");
1790
1797
  var n = this._getBoundsCenterZoom(e, t);
1791
1798
  return this.setView(n.center, n.zoom, t);
1792
1799
  },
@@ -1797,7 +1804,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1797
1804
  return this.setView(e, this._zoom, { pan: t });
1798
1805
  },
1799
1806
  panBy: function(e, t) {
1800
- if (e = O(e).round(), t ||= {}, !e.x && !e.y) return this.fire("moveend");
1807
+ if (e = k(e).round(), t ||= {}, !e.x && !e.y) return this.fire("moveend");
1801
1808
  if (t.animate !== !0 && !this.getSize().contains(e)) return this._resetView(this.unproject(this.project(this.getCenter()).add(e)), this.getZoom()), this;
1802
1809
  if (this._panAnim || (this._panAnim = new rn(), this._panAnim.on({
1803
1810
  step: this._onPanTransitionStep,
@@ -1813,7 +1820,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1813
1820
  if (n ||= {}, n.animate === !1 || !U.any3d) return this.setView(e, t, n);
1814
1821
  this._stop();
1815
1822
  var r = this.project(this.getCenter()), i = this.project(e), a = this.getSize(), o = this._zoom;
1816
- e = P(e), t = t === void 0 ? o : t;
1823
+ e = F(e), t = t === void 0 ? o : t;
1817
1824
  var s = Math.max(a.x, a.y), c = s * this.getZoomScale(o, t), l = i.distanceTo(r) || 1, u = 1.42, d = u * u;
1818
1825
  function f(e) {
1819
1826
  var t = e ? -1 : 1, n = e ? c : s, r = (c * c - s * s + t * d * d * l * l) / (2 * n * d * l), i = Math.sqrt(r * r + 1) - r;
@@ -1850,7 +1857,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1850
1857
  return this.flyTo(n.center, n.zoom, t);
1851
1858
  },
1852
1859
  setMaxBounds: function(e) {
1853
- return e = M(e), this.listens("moveend", this._panInsideMaxBounds) && this.off("moveend", this._panInsideMaxBounds), e.isValid() ? (this.options.maxBounds = e, this._loaded && this._panInsideMaxBounds(), this.on("moveend", this._panInsideMaxBounds)) : (this.options.maxBounds = null, this);
1860
+ return e = N(e), this.listens("moveend", this._panInsideMaxBounds) && this.off("moveend", this._panInsideMaxBounds), e.isValid() ? (this.options.maxBounds = e, this._loaded && this._panInsideMaxBounds(), this.on("moveend", this._panInsideMaxBounds)) : (this.options.maxBounds = null, this);
1854
1861
  },
1855
1862
  setMinZoom: function(e) {
1856
1863
  var t = this.options.minZoom;
@@ -1862,12 +1869,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1862
1869
  },
1863
1870
  panInsideBounds: function(e, t) {
1864
1871
  this._enforcingBounds = !0;
1865
- var n = this.getCenter(), r = this._limitCenter(n, this._zoom, M(e));
1872
+ var n = this.getCenter(), r = this._limitCenter(n, this._zoom, N(e));
1866
1873
  return n.equals(r) || this.panTo(r, t), this._enforcingBounds = !1, this;
1867
1874
  },
1868
1875
  panInside: function(e, t) {
1869
1876
  t ||= {};
1870
- var n = O(t.paddingTopLeft || t.padding || [0, 0]), r = O(t.paddingBottomRight || t.padding || [0, 0]), i = this.project(this.getCenter()), a = this.project(e), o = this.getPixelBounds(), s = A([o.min.add(n), o.max.subtract(r)]), c = s.getSize();
1877
+ var n = k(t.paddingTopLeft || t.padding || [0, 0]), r = k(t.paddingBottomRight || t.padding || [0, 0]), i = this.project(this.getCenter()), a = this.project(e), o = this.getPixelBounds(), s = j([o.min.add(n), o.max.subtract(r)]), c = s.getSize();
1871
1878
  if (!s.contains(a)) {
1872
1879
  this._enforcingBounds = !0;
1873
1880
  var l = a.subtract(s.getCenter()), u = s.extend(a).getSize().subtract(c);
@@ -1917,7 +1924,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1917
1924
  },
1918
1925
  _handleGeolocationResponse: function(e) {
1919
1926
  if (this._container._leaflet_id) {
1920
- var t = e.coords.latitude, n = e.coords.longitude, r = new N(t, n), i = r.toBounds(e.coords.accuracy * 2), a = this._locateOptions;
1927
+ var t = e.coords.latitude, n = e.coords.longitude, r = new P(t, n), i = r.toBounds(e.coords.accuracy * 2), a = this._locateOptions;
1921
1928
  if (a.setView) {
1922
1929
  var o = this.getBoundsZoom(i);
1923
1930
  this.setView(r, a.maxZoom ? Math.min(o, a.maxZoom) : o);
@@ -1959,7 +1966,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1959
1966
  },
1960
1967
  getBounds: function() {
1961
1968
  var e = this.getPixelBounds();
1962
- return new j(this.unproject(e.getBottomLeft()), this.unproject(e.getTopRight()));
1969
+ return new M(this.unproject(e.getBottomLeft()), this.unproject(e.getTopRight()));
1963
1970
  },
1964
1971
  getMinZoom: function() {
1965
1972
  return this.options.minZoom === void 0 ? this._layersMinZoom || 0 : this.options.minZoom;
@@ -1968,8 +1975,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1968
1975
  return this.options.maxZoom === void 0 ? this._layersMaxZoom === void 0 ? Infinity : this._layersMaxZoom : this.options.maxZoom;
1969
1976
  },
1970
1977
  getBoundsZoom: function(e, t, n) {
1971
- e = M(e), n = O(n || [0, 0]);
1972
- var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = A(this.project(s, r), this.project(o, r)).getSize(), u = U.any3d ? this.options.zoomSnap : 1, d = c.x / l.x, f = c.y / l.y, p = t ? Math.max(d, f) : Math.min(d, f);
1978
+ e = N(e), n = k(n || [0, 0]);
1979
+ var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = j(this.project(s, r), this.project(o, r)).getSize(), u = U.any3d ? this.options.zoomSnap : 1, d = c.x / l.x, f = c.y / l.y, p = t ? Math.max(d, f) : Math.min(d, f);
1973
1980
  return r = this.getScaleZoom(p, r), u && (r = Math.round(r / (u / 100)) * (u / 100), r = t ? Math.ceil(r / u) * u : Math.floor(r / u) * u), Math.max(i, Math.min(a, r));
1974
1981
  },
1975
1982
  getSize: function() {
@@ -1977,7 +1984,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
1977
1984
  },
1978
1985
  getPixelBounds: function(e, t) {
1979
1986
  var n = this._getTopLeftPoint(e, t);
1980
- return new k(n, n.add(this.getSize()));
1987
+ return new A(n, n.add(this.getSize()));
1981
1988
  },
1982
1989
  getPixelOrigin: function() {
1983
1990
  return this._checkIfLoaded(), this._pixelOrigin;
@@ -2005,39 +2012,39 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2005
2012
  return isNaN(r) ? Infinity : r;
2006
2013
  },
2007
2014
  project: function(e, t) {
2008
- return t = t === void 0 ? this._zoom : t, this.options.crs.latLngToPoint(P(e), t);
2015
+ return t = t === void 0 ? this._zoom : t, this.options.crs.latLngToPoint(F(e), t);
2009
2016
  },
2010
2017
  unproject: function(e, t) {
2011
- return t = t === void 0 ? this._zoom : t, this.options.crs.pointToLatLng(O(e), t);
2018
+ return t = t === void 0 ? this._zoom : t, this.options.crs.pointToLatLng(k(e), t);
2012
2019
  },
2013
2020
  layerPointToLatLng: function(e) {
2014
- var t = O(e).add(this.getPixelOrigin());
2021
+ var t = k(e).add(this.getPixelOrigin());
2015
2022
  return this.unproject(t);
2016
2023
  },
2017
2024
  latLngToLayerPoint: function(e) {
2018
- return this.project(P(e))._round()._subtract(this.getPixelOrigin());
2025
+ return this.project(F(e))._round()._subtract(this.getPixelOrigin());
2019
2026
  },
2020
2027
  wrapLatLng: function(e) {
2021
- return this.options.crs.wrapLatLng(P(e));
2028
+ return this.options.crs.wrapLatLng(F(e));
2022
2029
  },
2023
2030
  wrapLatLngBounds: function(e) {
2024
- return this.options.crs.wrapLatLngBounds(M(e));
2031
+ return this.options.crs.wrapLatLngBounds(N(e));
2025
2032
  },
2026
2033
  distance: function(e, t) {
2027
- return this.options.crs.distance(P(e), P(t));
2034
+ return this.options.crs.distance(F(e), F(t));
2028
2035
  },
2029
2036
  containerPointToLayerPoint: function(e) {
2030
- return O(e).subtract(this._getMapPanePos());
2037
+ return k(e).subtract(this._getMapPanePos());
2031
2038
  },
2032
2039
  layerPointToContainerPoint: function(e) {
2033
- return O(e).add(this._getMapPanePos());
2040
+ return k(e).add(this._getMapPanePos());
2034
2041
  },
2035
2042
  containerPointToLatLng: function(e) {
2036
- var t = this.containerPointToLayerPoint(O(e));
2043
+ var t = this.containerPointToLayerPoint(k(e));
2037
2044
  return this.layerPointToLatLng(t);
2038
2045
  },
2039
2046
  latLngToContainerPoint: function(e) {
2040
- return this.layerPointToContainerPoint(this.latLngToLayerPoint(P(e)));
2047
+ return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(e)));
2041
2048
  },
2042
2049
  mouseEventToContainerPoint: function(e) {
2043
2050
  return Qt(e, this._container);
@@ -2194,7 +2201,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2194
2201
  },
2195
2202
  _latLngBoundsToNewLayerBounds: function(e, t, n) {
2196
2203
  var r = this._getNewPixelOrigin(n, t);
2197
- return A([
2204
+ return j([
2198
2205
  this.project(e.getSouthWest(), t)._subtract(r),
2199
2206
  this.project(e.getNorthWest(), t)._subtract(r),
2200
2207
  this.project(e.getSouthEast(), t)._subtract(r),
@@ -2209,16 +2216,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2209
2216
  },
2210
2217
  _limitCenter: function(e, t, n) {
2211
2218
  if (!n) return e;
2212
- var r = this.project(e, t), i = this.getSize().divideBy(2), a = new k(r.subtract(i), r.add(i)), o = this._getBoundsOffset(a, n, t);
2219
+ var r = this.project(e, t), i = this.getSize().divideBy(2), a = new A(r.subtract(i), r.add(i)), o = this._getBoundsOffset(a, n, t);
2213
2220
  return Math.abs(o.x) <= 1 && Math.abs(o.y) <= 1 ? e : this.unproject(r.add(o), t);
2214
2221
  },
2215
2222
  _limitOffset: function(e, t) {
2216
2223
  if (!t) return e;
2217
- var n = this.getPixelBounds(), r = new k(n.min.add(e), n.max.add(e));
2224
+ var n = this.getPixelBounds(), r = new A(n.min.add(e), n.max.add(e));
2218
2225
  return e.add(this._getBoundsOffset(r, t));
2219
2226
  },
2220
2227
  _getBoundsOffset: function(e, t, n) {
2221
- var r = A(this.project(t.getNorthEast(), n), this.project(t.getSouthWest(), n)), i = r.min.subtract(e.min), a = r.max.subtract(e.max);
2228
+ var r = j(this.project(t.getNorthEast(), n), this.project(t.getSouthWest(), n)), i = r.min.subtract(e.min), a = r.max.subtract(e.max);
2222
2229
  return new D(this._rebound(i.x, -a.x), this._rebound(i.y, -a.y));
2223
2230
  },
2224
2231
  _rebound: function(e, t) {
@@ -2667,24 +2674,24 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2667
2674
  var n, r, i, a, o, s, c, l, u;
2668
2675
  if (!e || e.length === 0) throw Error("latlngs not passed");
2669
2676
  Fn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
2670
- var d = P([0, 0]), f = M(e);
2677
+ var d = F([0, 0]), f = N(e);
2671
2678
  f.getNorthWest().distanceTo(f.getSouthWest()) * f.getNorthEast().distanceTo(f.getNorthWest()) < 1700 && (d = xn(e));
2672
2679
  var p = e.length, m = [];
2673
2680
  for (n = 0; n < p; n++) {
2674
- var h = P(e[n]);
2675
- m.push(t.project(P([h.lat - d.lat, h.lng - d.lng])));
2681
+ var h = F(e[n]);
2682
+ m.push(t.project(F([h.lat - d.lat, h.lng - d.lng])));
2676
2683
  }
2677
2684
  for (s = c = l = 0, n = 0, r = p - 1; n < p; r = n++) i = m[n], a = m[r], o = i.y * a.x - a.y * i.x, c += (i.x + a.x) * o, l += (i.y + a.y) * o, s += o * 3;
2678
2685
  u = s === 0 ? m[0] : [c / s, l / s];
2679
- var g = t.unproject(O(u));
2680
- return P([g.lat + d.lat, g.lng + d.lng]);
2686
+ var g = t.unproject(k(u));
2687
+ return F([g.lat + d.lat, g.lng + d.lng]);
2681
2688
  }
2682
2689
  function xn(e) {
2683
2690
  for (var t = 0, n = 0, r = 0, i = 0; i < e.length; i++) {
2684
- var a = P(e[i]);
2691
+ var a = F(e[i]);
2685
2692
  t += a.lat, n += a.lng, r++;
2686
2693
  }
2687
- return P([t / r, n / r]);
2694
+ return F([t / r, n / r]);
2688
2695
  }
2689
2696
  var Sn = {
2690
2697
  __proto__: null,
@@ -2750,16 +2757,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2750
2757
  function In(e) {
2751
2758
  return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Fn(e);
2752
2759
  }
2753
- function $(e, t) {
2760
+ function Ln(e, t) {
2754
2761
  var n, r, i, a, o, s, c, l;
2755
2762
  if (!e || e.length === 0) throw Error("latlngs not passed");
2756
2763
  Fn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
2757
- var u = P([0, 0]), d = M(e);
2764
+ var u = F([0, 0]), d = N(e);
2758
2765
  d.getNorthWest().distanceTo(d.getSouthWest()) * d.getNorthEast().distanceTo(d.getNorthWest()) < 1700 && (u = xn(e));
2759
2766
  var f = e.length, p = [];
2760
2767
  for (n = 0; n < f; n++) {
2761
- var m = P(e[n]);
2762
- p.push(t.project(P([m.lat - u.lat, m.lng - u.lng])));
2768
+ var m = F(e[n]);
2769
+ p.push(t.project(F([m.lat - u.lat, m.lng - u.lng])));
2763
2770
  }
2764
2771
  for (n = 0, r = 0; n < f - 1; n++) r += p[n].distanceTo(p[n + 1]) / 2;
2765
2772
  if (r === 0) l = p[0];
@@ -2767,10 +2774,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2767
2774
  c = (a - r) / i, l = [s.x - c * (s.x - o.x), s.y - c * (s.y - o.y)];
2768
2775
  break;
2769
2776
  }
2770
- var h = t.unproject(O(l));
2771
- return P([h.lat + u.lat, h.lng + u.lng]);
2777
+ var h = t.unproject(k(l));
2778
+ return F([h.lat + u.lat, h.lng + u.lng]);
2772
2779
  }
2773
- var Ln = {
2780
+ var Rn = {
2774
2781
  __proto__: null,
2775
2782
  simplify: Cn,
2776
2783
  pointToSegmentDistance: wn,
@@ -2781,45 +2788,45 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2781
2788
  _sqClosestPointOnSegment: Pn,
2782
2789
  isFlat: Fn,
2783
2790
  _flat: In,
2784
- polylineCenter: $
2785
- }, Rn = {
2791
+ polylineCenter: Ln
2792
+ }, zn = {
2786
2793
  project: function(e) {
2787
2794
  return new D(e.lng, e.lat);
2788
2795
  },
2789
2796
  unproject: function(e) {
2790
- return new N(e.y, e.x);
2797
+ return new P(e.y, e.x);
2791
2798
  },
2792
- bounds: new k([-180, -90], [180, 90])
2793
- }, zn = {
2799
+ bounds: new A([-180, -90], [180, 90])
2800
+ }, Bn = {
2794
2801
  R: 6378137,
2795
2802
  R_MINOR: 6356752.314245179,
2796
- bounds: new k([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),
2803
+ bounds: new A([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),
2797
2804
  project: function(e) {
2798
2805
  var t = Math.PI / 180, n = this.R, r = e.lat * t, i = this.R_MINOR / n, a = Math.sqrt(1 - i * i), o = a * Math.sin(r), s = Math.tan(Math.PI / 4 - r / 2) / ((1 - o) / (1 + o)) ** (a / 2);
2799
2806
  return r = -n * Math.log(Math.max(s, 1e-10)), new D(e.lng * t * n, r);
2800
2807
  },
2801
2808
  unproject: function(e) {
2802
2809
  for (var t = 180 / Math.PI, n = this.R, r = this.R_MINOR / n, i = Math.sqrt(1 - r * r), a = Math.exp(-e.y / n), o = Math.PI / 2 - 2 * Math.atan(a), s = 0, c = .1, l; s < 15 && Math.abs(c) > 1e-7; s++) l = i * Math.sin(o), l = ((1 - l) / (1 + l)) ** (i / 2), c = Math.PI / 2 - 2 * Math.atan(a * l) - o, o += c;
2803
- return new N(o * t, e.x * t / n);
2810
+ return new P(o * t, e.x * t / n);
2804
2811
  }
2805
- }, Bn = {
2812
+ }, Vn = {
2806
2813
  __proto__: null,
2807
- LonLat: Rn,
2808
- Mercator: zn,
2809
- SphericalMercator: z
2810
- }, Vn = n({}, I, {
2814
+ LonLat: zn,
2815
+ Mercator: Bn,
2816
+ SphericalMercator: ae
2817
+ }, Hn = n({}, R, {
2811
2818
  code: "EPSG:3395",
2812
- projection: zn,
2819
+ projection: Bn,
2813
2820
  transformation: function() {
2814
- var e = .5 / (Math.PI * zn.R);
2821
+ var e = .5 / (Math.PI * Bn.R);
2815
2822
  return se(e, .5, -e, .5);
2816
2823
  }()
2817
- }), Hn = n({}, I, {
2824
+ }), Un = n({}, R, {
2818
2825
  code: "EPSG:4326",
2819
- projection: Rn,
2826
+ projection: zn,
2820
2827
  transformation: se(1 / 180, 1, -1 / 180, .5)
2821
- }), Un = n({}, F, {
2822
- projection: Rn,
2828
+ }), Wn = n({}, I, {
2829
+ projection: zn,
2823
2830
  transformation: se(1, 0, -1, 0),
2824
2831
  scale: function(e) {
2825
2832
  return 2 ** e;
@@ -2833,8 +2840,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2833
2840
  },
2834
2841
  infinite: !0
2835
2842
  });
2836
- F.Earth = I, F.EPSG3395 = Vn, F.EPSG3857 = ce, F.EPSG900913 = le, F.EPSG4326 = Hn, F.Simple = Un;
2837
- var Wn = E.extend({
2843
+ I.Earth = R, I.EPSG3395 = Hn, I.EPSG3857 = ce, I.EPSG900913 = le, I.EPSG4326 = Un, I.Simple = Wn;
2844
+ var Gn = E.extend({
2838
2845
  options: {
2839
2846
  pane: "overlayPane",
2840
2847
  attribution: null,
@@ -2911,7 +2918,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2911
2918
  this._layersMaxZoom = t === -Infinity ? void 0 : t, this._layersMinZoom = e === Infinity ? void 0 : e, n !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
2912
2919
  }
2913
2920
  });
2914
- var Gn = Wn.extend({
2921
+ var Kn = Gn.extend({
2915
2922
  initialize: function(e, t) {
2916
2923
  p(this, t), this._layers = {};
2917
2924
  var n, r;
@@ -2959,14 +2966,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2959
2966
  getLayerId: function(e) {
2960
2967
  return o(e);
2961
2968
  }
2962
- }), Kn = function(e, t) {
2963
- return new Gn(e, t);
2964
- }, qn = Gn.extend({
2969
+ }), qn = function(e, t) {
2970
+ return new Kn(e, t);
2971
+ }, Jn = Kn.extend({
2965
2972
  addLayer: function(e) {
2966
- return this.hasLayer(e) ? this : (e.addEventParent(this), Gn.prototype.addLayer.call(this, e), this.fire("layeradd", { layer: e }));
2973
+ return this.hasLayer(e) ? this : (e.addEventParent(this), Kn.prototype.addLayer.call(this, e), this.fire("layeradd", { layer: e }));
2967
2974
  },
2968
2975
  removeLayer: function(e) {
2969
- return this.hasLayer(e) ? (e in this._layers && (e = this._layers[e]), e.removeEventParent(this), Gn.prototype.removeLayer.call(this, e), this.fire("layerremove", { layer: e })) : this;
2976
+ return this.hasLayer(e) ? (e in this._layers && (e = this._layers[e]), e.removeEventParent(this), Kn.prototype.removeLayer.call(this, e), this.fire("layerremove", { layer: e })) : this;
2970
2977
  },
2971
2978
  setStyle: function(e) {
2972
2979
  return this.invoke("setStyle", e);
@@ -2978,16 +2985,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
2978
2985
  return this.invoke("bringToBack");
2979
2986
  },
2980
2987
  getBounds: function() {
2981
- var e = new j();
2988
+ var e = new M();
2982
2989
  for (var t in this._layers) {
2983
2990
  var n = this._layers[t];
2984
2991
  e.extend(n.getBounds ? n.getBounds() : n.getLatLng());
2985
2992
  }
2986
2993
  return e;
2987
2994
  }
2988
- }), Jn = function(e, t) {
2989
- return new qn(e, t);
2990
- }, Yn = ie.extend({
2995
+ }), Yn = function(e, t) {
2996
+ return new Jn(e, t);
2997
+ }, Xn = ie.extend({
2991
2998
  options: {
2992
2999
  popupAnchor: [0, 0],
2993
3000
  tooltipAnchor: [0, 0],
@@ -3014,7 +3021,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3014
3021
  _setIconStyles: function(e, t) {
3015
3022
  var n = this.options, r = n[t + "Size"];
3016
3023
  typeof r == "number" && (r = [r, r]);
3017
- var i = O(r), a = O(t === "shadow" && n.shadowAnchor || n.iconAnchor || i && i.divideBy(2, !0));
3024
+ var i = k(r), a = k(t === "shadow" && n.shadowAnchor || n.iconAnchor || i && i.divideBy(2, !0));
3018
3025
  e.className = "leaflet-marker-" + t + " " + (n.className || ""), a && (e.style.marginLeft = -a.x + "px", e.style.marginTop = -a.y + "px"), i && (e.style.width = i.x + "px", e.style.height = i.y + "px");
3019
3026
  },
3020
3027
  _createImg: function(e, t) {
@@ -3024,10 +3031,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3024
3031
  return U.retina && this.options[e + "RetinaUrl"] || this.options[e + "Url"];
3025
3032
  }
3026
3033
  });
3027
- function Xn(e) {
3028
- return new Yn(e);
3034
+ function Zn(e) {
3035
+ return new Xn(e);
3029
3036
  }
3030
- var Zn = Yn.extend({
3037
+ var Qn = Xn.extend({
3031
3038
  options: {
3032
3039
  iconUrl: "marker-icon.png",
3033
3040
  iconRetinaUrl: "marker-icon-2x.png",
@@ -3039,7 +3046,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3039
3046
  shadowSize: [41, 41]
3040
3047
  },
3041
3048
  _getIconUrl: function(e) {
3042
- return typeof Zn.imagePath != "string" && (Zn.imagePath = this._detectIconPath()), (this.options.imagePath || Zn.imagePath) + Yn.prototype._getIconUrl.call(this, e);
3049
+ return typeof Qn.imagePath != "string" && (Qn.imagePath = this._detectIconPath()), (this.options.imagePath || Qn.imagePath) + Xn.prototype._getIconUrl.call(this, e);
3043
3050
  },
3044
3051
  _stripUrl: function(e) {
3045
3052
  var t = function(e, t, n) {
@@ -3054,7 +3061,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3054
3061
  var n = document.querySelector("link[href$=\"leaflet.css\"]");
3055
3062
  return n ? n.href.substring(0, n.href.length - 11 - 1) : "";
3056
3063
  }
3057
- }), Qn = hn.extend({
3064
+ }), $n = hn.extend({
3058
3065
  initialize: function(e) {
3059
3066
  this._marker = e;
3060
3067
  },
@@ -3079,9 +3086,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3079
3086
  return this._draggable && this._draggable._moved;
3080
3087
  },
3081
3088
  _adjustPan: function(e) {
3082
- var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = A(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
3089
+ var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = j(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
3083
3090
  if (!c.contains(a)) {
3084
- var l = O((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
3091
+ var l = k((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
3085
3092
  n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = x(this._adjustPan.bind(this, e));
3086
3093
  }
3087
3094
  },
@@ -3098,9 +3105,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3098
3105
  _onDragEnd: function(e) {
3099
3106
  S(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
3100
3107
  }
3101
- }), $n = Wn.extend({
3108
+ }), er = Gn.extend({
3102
3109
  options: {
3103
- icon: new Zn(),
3110
+ icon: new Qn(),
3104
3111
  interactive: !0,
3105
3112
  keyboard: !0,
3106
3113
  title: "",
@@ -3119,7 +3126,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3119
3126
  autoPanSpeed: 10
3120
3127
  },
3121
3128
  initialize: function(e, t) {
3122
- p(this, t), this._latlng = P(e);
3129
+ p(this, t), this._latlng = F(e);
3123
3130
  },
3124
3131
  onAdd: function(e) {
3125
3132
  this._zoomAnimated = this._zoomAnimated && e.options.markerZoomAnimation, this._zoomAnimated && e.on("zoomanim", this._animateZoom, this), this._initIcon(), this.update();
@@ -3138,7 +3145,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3138
3145
  },
3139
3146
  setLatLng: function(e) {
3140
3147
  var t = this._latlng;
3141
- return this._latlng = P(e), this.update(), this.fire("move", {
3148
+ return this._latlng = F(e), this.update(), this.fire("move", {
3142
3149
  oldLatLng: t,
3143
3150
  latlng: this._latlng
3144
3151
  });
@@ -3191,9 +3198,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3191
3198
  this._setPos(t);
3192
3199
  },
3193
3200
  _initInteraction: function() {
3194
- if (this.options.interactive && (K(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Qn)) {
3201
+ if (this.options.interactive && (K(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), $n)) {
3195
3202
  var e = this.options.draggable;
3196
- this.dragging && (e = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Qn(this), e && this.dragging.enable();
3203
+ this.dragging && (e = this.dragging.enabled(), this.dragging.disable()), this.dragging = new $n(this), e && this.dragging.enable();
3197
3204
  }
3198
3205
  },
3199
3206
  setOpacity: function(e) {
@@ -3212,7 +3219,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3212
3219
  _panOnFocus: function() {
3213
3220
  var e = this._map;
3214
3221
  if (e) {
3215
- var t = this.options.icon.options, n = t.iconSize ? O(t.iconSize) : O(0, 0), r = t.iconAnchor ? O(t.iconAnchor) : O(0, 0);
3222
+ var t = this.options.icon.options, n = t.iconSize ? k(t.iconSize) : k(0, 0), r = t.iconAnchor ? k(t.iconAnchor) : k(0, 0);
3216
3223
  e.panInside(this._latlng, {
3217
3224
  paddingTopLeft: r,
3218
3225
  paddingBottomRight: n.subtract(r)
@@ -3226,10 +3233,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3226
3233
  return this.options.icon.options.tooltipAnchor;
3227
3234
  }
3228
3235
  });
3229
- function er(e, t) {
3230
- return new $n(e, t);
3236
+ function tr(e, t) {
3237
+ return new er(e, t);
3231
3238
  }
3232
- var tr = Wn.extend({
3239
+ var nr = Gn.extend({
3233
3240
  options: {
3234
3241
  stroke: !0,
3235
3242
  color: "#3388ff",
@@ -3276,17 +3283,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3276
3283
  _clickTolerance: function() {
3277
3284
  return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
3278
3285
  }
3279
- }), nr = tr.extend({
3286
+ }), rr = nr.extend({
3280
3287
  options: {
3281
3288
  fill: !0,
3282
3289
  radius: 10
3283
3290
  },
3284
3291
  initialize: function(e, t) {
3285
- p(this, t), this._latlng = P(e), this._radius = this.options.radius;
3292
+ p(this, t), this._latlng = F(e), this._radius = this.options.radius;
3286
3293
  },
3287
3294
  setLatLng: function(e) {
3288
3295
  var t = this._latlng;
3289
- return this._latlng = P(e), this.redraw(), this.fire("move", {
3296
+ return this._latlng = F(e), this.redraw(), this.fire("move", {
3290
3297
  oldLatLng: t,
3291
3298
  latlng: this._latlng
3292
3299
  });
@@ -3302,14 +3309,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3302
3309
  },
3303
3310
  setStyle: function(e) {
3304
3311
  var t = e && e.radius || this._radius;
3305
- return tr.prototype.setStyle.call(this, e), this.setRadius(t), this;
3312
+ return nr.prototype.setStyle.call(this, e), this.setRadius(t), this;
3306
3313
  },
3307
3314
  _project: function() {
3308
3315
  this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
3309
3316
  },
3310
3317
  _updateBounds: function() {
3311
3318
  var e = this._radius, t = this._radiusY || e, n = this._clickTolerance(), r = [e + n, t + n];
3312
- this._pxBounds = new k(this._point.subtract(r), this._point.add(r));
3319
+ this._pxBounds = new A(this._point.subtract(r), this._point.add(r));
3313
3320
  },
3314
3321
  _update: function() {
3315
3322
  this._map && this._updatePath();
@@ -3324,12 +3331,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3324
3331
  return e.distanceTo(this._point) <= this._radius + this._clickTolerance();
3325
3332
  }
3326
3333
  });
3327
- function rr(e, t) {
3328
- return new nr(e, t);
3334
+ function ir(e, t) {
3335
+ return new rr(e, t);
3329
3336
  }
3330
- var ir = nr.extend({
3337
+ var ar = rr.extend({
3331
3338
  initialize: function(e, t, r) {
3332
- if (typeof t == "number" && (t = n({}, r, { radius: t })), p(this, t), this._latlng = P(e), isNaN(this.options.radius)) throw Error("Circle radius cannot be NaN");
3339
+ if (typeof t == "number" && (t = n({}, r, { radius: t })), p(this, t), this._latlng = F(e), isNaN(this.options.radius)) throw Error("Circle radius cannot be NaN");
3333
3340
  this._mRadius = this.options.radius;
3334
3341
  },
3335
3342
  setRadius: function(e) {
@@ -3340,13 +3347,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3340
3347
  },
3341
3348
  getBounds: function() {
3342
3349
  var e = [this._radius, this._radiusY || this._radius];
3343
- return new j(this._map.layerPointToLatLng(this._point.subtract(e)), this._map.layerPointToLatLng(this._point.add(e)));
3350
+ return new M(this._map.layerPointToLatLng(this._point.subtract(e)), this._map.layerPointToLatLng(this._point.add(e)));
3344
3351
  },
3345
- setStyle: tr.prototype.setStyle,
3352
+ setStyle: nr.prototype.setStyle,
3346
3353
  _project: function() {
3347
3354
  var e = this._latlng.lng, t = this._latlng.lat, n = this._map, r = n.options.crs;
3348
- if (r.distance === I.distance) {
3349
- var i = Math.PI / 180, a = this._mRadius / I.R / i, o = n.project([t + a, e]), s = n.project([t - a, e]), c = o.add(s).divideBy(2), l = n.unproject(c).lat, u = Math.acos((Math.cos(a * i) - Math.sin(t * i) * Math.sin(l * i)) / (Math.cos(t * i) * Math.cos(l * i))) / i;
3355
+ if (r.distance === R.distance) {
3356
+ var i = Math.PI / 180, a = this._mRadius / R.R / i, o = n.project([t + a, e]), s = n.project([t - a, e]), c = o.add(s).divideBy(2), l = n.unproject(c).lat, u = Math.acos((Math.cos(a * i) - Math.sin(t * i) * Math.sin(l * i)) / (Math.cos(t * i) * Math.cos(l * i))) / i;
3350
3357
  (isNaN(u) || u === 0) && (u = a / Math.cos(Math.PI / 180 * t)), this._point = c.subtract(n.getPixelOrigin()), this._radius = isNaN(u) ? 0 : c.x - n.project([l, e - u]).x, this._radiusY = c.y - o.y;
3351
3358
  } else {
3352
3359
  var d = r.unproject(r.project(this._latlng).subtract([this._mRadius, 0]));
@@ -3355,10 +3362,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3355
3362
  this._updateBounds();
3356
3363
  }
3357
3364
  });
3358
- function ar(e, t, n) {
3359
- return new ir(e, t, n);
3365
+ function or(e, t, n) {
3366
+ return new ar(e, t, n);
3360
3367
  }
3361
- var or = tr.extend({
3368
+ var sr = nr.extend({
3362
3369
  options: {
3363
3370
  smoothFactor: 1,
3364
3371
  noClip: !1
@@ -3385,34 +3392,34 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3385
3392
  },
3386
3393
  getCenter: function() {
3387
3394
  if (!this._map) throw Error("Must add layer to map before using getCenter()");
3388
- return $(this._defaultShape(), this._map.options.crs);
3395
+ return Ln(this._defaultShape(), this._map.options.crs);
3389
3396
  },
3390
3397
  getBounds: function() {
3391
3398
  return this._bounds;
3392
3399
  },
3393
3400
  addLatLng: function(e, t) {
3394
- return t ||= this._defaultShape(), e = P(e), t.push(e), this._bounds.extend(e), this.redraw();
3401
+ return t ||= this._defaultShape(), e = F(e), t.push(e), this._bounds.extend(e), this.redraw();
3395
3402
  },
3396
3403
  _setLatLngs: function(e) {
3397
- this._bounds = new j(), this._latlngs = this._convertLatLngs(e);
3404
+ this._bounds = new M(), this._latlngs = this._convertLatLngs(e);
3398
3405
  },
3399
3406
  _defaultShape: function() {
3400
3407
  return Fn(this._latlngs) ? this._latlngs : this._latlngs[0];
3401
3408
  },
3402
3409
  _convertLatLngs: function(e) {
3403
- for (var t = [], n = Fn(e), r = 0, i = e.length; r < i; r++) n ? (t[r] = P(e[r]), this._bounds.extend(t[r])) : t[r] = this._convertLatLngs(e[r]);
3410
+ for (var t = [], n = Fn(e), r = 0, i = e.length; r < i; r++) n ? (t[r] = F(e[r]), this._bounds.extend(t[r])) : t[r] = this._convertLatLngs(e[r]);
3404
3411
  return t;
3405
3412
  },
3406
3413
  _project: function() {
3407
- var e = new k();
3414
+ var e = new A();
3408
3415
  this._rings = [], this._projectLatlngs(this._latlngs, this._rings, e), this._bounds.isValid() && e.isValid() && (this._rawPxBounds = e, this._updateBounds());
3409
3416
  },
3410
3417
  _updateBounds: function() {
3411
3418
  var e = this._clickTolerance(), t = new D(e, e);
3412
- this._rawPxBounds && (this._pxBounds = new k([this._rawPxBounds.min.subtract(t), this._rawPxBounds.max.add(t)]));
3419
+ this._rawPxBounds && (this._pxBounds = new A([this._rawPxBounds.min.subtract(t), this._rawPxBounds.max.add(t)]));
3413
3420
  },
3414
3421
  _projectLatlngs: function(e, t, n) {
3415
- var r = e[0] instanceof N, i = e.length, a, o;
3422
+ var r = e[0] instanceof P, i = e.length, a, o;
3416
3423
  if (r) {
3417
3424
  for (o = [], a = 0; a < i; a++) o[a] = this._map.latLngToLayerPoint(e[a]), n.extend(o[a]);
3418
3425
  t.push(o);
@@ -3445,11 +3452,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3445
3452
  return !1;
3446
3453
  }
3447
3454
  });
3448
- function sr(e, t) {
3449
- return new or(e, t);
3455
+ function cr(e, t) {
3456
+ return new sr(e, t);
3450
3457
  }
3451
- or._flat = In;
3452
- var cr = or.extend({
3458
+ sr._flat = In;
3459
+ var lr = sr.extend({
3453
3460
  options: { fill: !0 },
3454
3461
  isEmpty: function() {
3455
3462
  return !this._latlngs.length || !this._latlngs[0].length;
@@ -3459,18 +3466,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3459
3466
  return bn(this._defaultShape(), this._map.options.crs);
3460
3467
  },
3461
3468
  _convertLatLngs: function(e) {
3462
- var t = or.prototype._convertLatLngs.call(this, e), n = t.length;
3463
- return n >= 2 && t[0] instanceof N && t[0].equals(t[n - 1]) && t.pop(), t;
3469
+ var t = sr.prototype._convertLatLngs.call(this, e), n = t.length;
3470
+ return n >= 2 && t[0] instanceof P && t[0].equals(t[n - 1]) && t.pop(), t;
3464
3471
  },
3465
3472
  _setLatLngs: function(e) {
3466
- or.prototype._setLatLngs.call(this, e), Fn(this._latlngs) && (this._latlngs = [this._latlngs]);
3473
+ sr.prototype._setLatLngs.call(this, e), Fn(this._latlngs) && (this._latlngs = [this._latlngs]);
3467
3474
  },
3468
3475
  _defaultShape: function() {
3469
3476
  return Fn(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
3470
3477
  },
3471
3478
  _clipPoints: function() {
3472
3479
  var e = this._renderer._bounds, t = this.options.weight, n = new D(t, t);
3473
- if (e = new k(e.min.subtract(n), e.max.add(n)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(e))) {
3480
+ if (e = new A(e.min.subtract(n), e.max.add(n)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(e))) {
3474
3481
  if (this.options.noClip) {
3475
3482
  this._parts = this._rings;
3476
3483
  return;
@@ -3485,13 +3492,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3485
3492
  var t = !1, n, r, i, a, o, s, c, l;
3486
3493
  if (!this._pxBounds || !this._pxBounds.contains(e)) return !1;
3487
3494
  for (a = 0, c = this._parts.length; a < c; a++) for (n = this._parts[a], o = 0, l = n.length, s = l - 1; o < l; s = o++) r = n[o], i = n[s], r.y > e.y != i.y > e.y && e.x < (i.x - r.x) * (e.y - r.y) / (i.y - r.y) + r.x && (t = !t);
3488
- return t || or.prototype._containsPoint.call(this, e, !0);
3495
+ return t || sr.prototype._containsPoint.call(this, e, !0);
3489
3496
  }
3490
3497
  });
3491
- function lr(e, t) {
3492
- return new cr(e, t);
3498
+ function ur(e, t) {
3499
+ return new lr(e, t);
3493
3500
  }
3494
- var ur = qn.extend({
3501
+ var dr = Jn.extend({
3495
3502
  initialize: function(e, t) {
3496
3503
  p(this, t), this._layers = {}, e && this.addData(e);
3497
3504
  },
@@ -3503,8 +3510,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3503
3510
  }
3504
3511
  var a = this.options;
3505
3512
  if (a.filter && !a.filter(e)) return this;
3506
- var o = dr(e, a);
3507
- return o ? (o.feature = vr(e), o.defaultOptions = o.options, this.resetStyle(o), a.onEachFeature && a.onEachFeature(e, o), this.addLayer(o)) : this;
3513
+ var o = fr(e, a);
3514
+ return o ? (o.feature = yr(e), o.defaultOptions = o.options, this.resetStyle(o), a.onEachFeature && a.onEachFeature(e, o), this.addLayer(o)) : this;
3508
3515
  },
3509
3516
  resetStyle: function(e) {
3510
3517
  return e === void 0 ? this.eachLayer(this.resetStyle, this) : (e.options = n({}, e.defaultOptions), this._setLayerStyle(e, this.options.style), this);
@@ -3518,92 +3525,92 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3518
3525
  e.setStyle && (typeof t == "function" && (t = t(e.feature)), e.setStyle(t));
3519
3526
  }
3520
3527
  });
3521
- function dr(e, t) {
3522
- var n = e.type === "Feature" ? e.geometry : e, r = n ? n.coordinates : null, i = [], a = t && t.pointToLayer, o = t && t.coordsToLatLng || pr, s, c, l, u;
3528
+ function fr(e, t) {
3529
+ var n = e.type === "Feature" ? e.geometry : e, r = n ? n.coordinates : null, i = [], a = t && t.pointToLayer, o = t && t.coordsToLatLng || mr, s, c, l, u;
3523
3530
  if (!r && !n) return null;
3524
3531
  switch (n.type) {
3525
- case "Point": return s = o(r), fr(a, e, s, t);
3532
+ case "Point": return s = o(r), pr(a, e, s, t);
3526
3533
  case "MultiPoint":
3527
- for (l = 0, u = r.length; l < u; l++) s = o(r[l]), i.push(fr(a, e, s, t));
3528
- return new qn(i);
3534
+ for (l = 0, u = r.length; l < u; l++) s = o(r[l]), i.push(pr(a, e, s, t));
3535
+ return new Jn(i);
3529
3536
  case "LineString":
3530
- case "MultiLineString": return c = mr(r, n.type === "LineString" ? 0 : 1, o), new or(c, t);
3537
+ case "MultiLineString": return c = hr(r, n.type === "LineString" ? 0 : 1, o), new sr(c, t);
3531
3538
  case "Polygon":
3532
- case "MultiPolygon": return c = mr(r, n.type === "Polygon" ? 1 : 2, o), new cr(c, t);
3539
+ case "MultiPolygon": return c = hr(r, n.type === "Polygon" ? 1 : 2, o), new lr(c, t);
3533
3540
  case "GeometryCollection":
3534
3541
  for (l = 0, u = n.geometries.length; l < u; l++) {
3535
- var d = dr({
3542
+ var d = fr({
3536
3543
  geometry: n.geometries[l],
3537
3544
  type: "Feature",
3538
3545
  properties: e.properties
3539
3546
  }, t);
3540
3547
  d && i.push(d);
3541
3548
  }
3542
- return new qn(i);
3549
+ return new Jn(i);
3543
3550
  case "FeatureCollection":
3544
3551
  for (l = 0, u = n.features.length; l < u; l++) {
3545
- var f = dr(n.features[l], t);
3552
+ var f = fr(n.features[l], t);
3546
3553
  f && i.push(f);
3547
3554
  }
3548
- return new qn(i);
3555
+ return new Jn(i);
3549
3556
  default: throw Error("Invalid GeoJSON object.");
3550
3557
  }
3551
3558
  }
3552
- function fr(e, t, n, r) {
3553
- return e ? e(t, n) : new $n(n, r && r.markersInheritOptions && r);
3559
+ function pr(e, t, n, r) {
3560
+ return e ? e(t, n) : new er(n, r && r.markersInheritOptions && r);
3554
3561
  }
3555
- function pr(e) {
3556
- return new N(e[1], e[0], e[2]);
3562
+ function mr(e) {
3563
+ return new P(e[1], e[0], e[2]);
3557
3564
  }
3558
- function mr(e, t, n) {
3559
- for (var r = [], i = 0, a = e.length, o; i < a; i++) o = t ? mr(e[i], t - 1, n) : (n || pr)(e[i]), r.push(o);
3565
+ function hr(e, t, n) {
3566
+ for (var r = [], i = 0, a = e.length, o; i < a; i++) o = t ? hr(e[i], t - 1, n) : (n || mr)(e[i]), r.push(o);
3560
3567
  return r;
3561
3568
  }
3562
- function hr(e, t) {
3563
- return e = P(e), e.alt === void 0 ? [u(e.lng, t), u(e.lat, t)] : [
3569
+ function gr(e, t) {
3570
+ return e = F(e), e.alt === void 0 ? [u(e.lng, t), u(e.lat, t)] : [
3564
3571
  u(e.lng, t),
3565
3572
  u(e.lat, t),
3566
3573
  u(e.alt, t)
3567
3574
  ];
3568
3575
  }
3569
- function gr(e, t, n, r) {
3570
- for (var i = [], a = 0, o = e.length; a < o; a++) i.push(t ? gr(e[a], Fn(e[a]) ? 0 : t - 1, n, r) : hr(e[a], r));
3576
+ function _r(e, t, n, r) {
3577
+ for (var i = [], a = 0, o = e.length; a < o; a++) i.push(t ? _r(e[a], Fn(e[a]) ? 0 : t - 1, n, r) : gr(e[a], r));
3571
3578
  return !t && n && i.length > 0 && i.push(i[0].slice()), i;
3572
3579
  }
3573
- function _r(e, t) {
3574
- return e.feature ? n({}, e.feature, { geometry: t }) : vr(t);
3580
+ function vr(e, t) {
3581
+ return e.feature ? n({}, e.feature, { geometry: t }) : yr(t);
3575
3582
  }
3576
- function vr(e) {
3583
+ function yr(e) {
3577
3584
  return e.type === "Feature" || e.type === "FeatureCollection" ? e : {
3578
3585
  type: "Feature",
3579
3586
  properties: {},
3580
3587
  geometry: e
3581
3588
  };
3582
3589
  }
3583
- var yr = { toGeoJSON: function(e) {
3584
- return _r(this, {
3590
+ var br = { toGeoJSON: function(e) {
3591
+ return vr(this, {
3585
3592
  type: "Point",
3586
- coordinates: hr(this.getLatLng(), e)
3593
+ coordinates: gr(this.getLatLng(), e)
3587
3594
  });
3588
3595
  } };
3589
- $n.include(yr), ir.include(yr), nr.include(yr), or.include({ toGeoJSON: function(e) {
3590
- var t = !Fn(this._latlngs), n = gr(this._latlngs, +!!t, !1, e);
3591
- return _r(this, {
3596
+ er.include(br), ar.include(br), rr.include(br), sr.include({ toGeoJSON: function(e) {
3597
+ var t = !Fn(this._latlngs), n = _r(this._latlngs, +!!t, !1, e);
3598
+ return vr(this, {
3592
3599
  type: (t ? "Multi" : "") + "LineString",
3593
3600
  coordinates: n
3594
3601
  });
3595
- } }), cr.include({ toGeoJSON: function(e) {
3596
- var t = !Fn(this._latlngs), n = t && !Fn(this._latlngs[0]), r = gr(this._latlngs, n ? 2 : +!!t, !0, e);
3597
- return t || (r = [r]), _r(this, {
3602
+ } }), lr.include({ toGeoJSON: function(e) {
3603
+ var t = !Fn(this._latlngs), n = t && !Fn(this._latlngs[0]), r = _r(this._latlngs, n ? 2 : +!!t, !0, e);
3604
+ return t || (r = [r]), vr(this, {
3598
3605
  type: (n ? "Multi" : "") + "Polygon",
3599
3606
  coordinates: r
3600
3607
  });
3601
- } }), Gn.include({
3608
+ } }), Kn.include({
3602
3609
  toMultiPoint: function(e) {
3603
3610
  var t = [];
3604
3611
  return this.eachLayer(function(n) {
3605
3612
  t.push(n.toGeoJSON(e).geometry.coordinates);
3606
- }), _r(this, {
3613
+ }), vr(this, {
3607
3614
  type: "MultiPoint",
3608
3615
  coordinates: t
3609
3616
  });
@@ -3617,11 +3624,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3617
3624
  var i = t.toGeoJSON(e);
3618
3625
  if (n) r.push(i.geometry);
3619
3626
  else {
3620
- var a = vr(i);
3627
+ var a = yr(i);
3621
3628
  a.type === "FeatureCollection" ? r.push.apply(r, a.features) : r.push(a);
3622
3629
  }
3623
3630
  }
3624
- }), n ? _r(this, {
3631
+ }), n ? vr(this, {
3625
3632
  geometries: r,
3626
3633
  type: "GeometryCollection"
3627
3634
  }) : {
@@ -3630,10 +3637,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3630
3637
  };
3631
3638
  }
3632
3639
  });
3633
- function br(e, t) {
3634
- return new ur(e, t);
3640
+ function xr(e, t) {
3641
+ return new dr(e, t);
3635
3642
  }
3636
- var xr = br, Sr = Wn.extend({
3643
+ var Sr = xr, Cr = Gn.extend({
3637
3644
  options: {
3638
3645
  opacity: 1,
3639
3646
  alt: "",
@@ -3644,7 +3651,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3644
3651
  className: ""
3645
3652
  },
3646
3653
  initialize: function(e, t, n) {
3647
- this._url = e, this._bounds = M(t), p(this, n);
3654
+ this._url = e, this._bounds = N(t), p(this, n);
3648
3655
  },
3649
3656
  onAdd: function() {
3650
3657
  this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (K(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
@@ -3668,7 +3675,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3668
3675
  return this._url = e, this._image && (this._image.src = e), this;
3669
3676
  },
3670
3677
  setBounds: function(e) {
3671
- return this._bounds = M(e), this._map && this._reset(), this;
3678
+ return this._bounds = N(e), this._map && this._reset(), this;
3672
3679
  },
3673
3680
  getEvents: function() {
3674
3681
  var e = {
@@ -3699,7 +3706,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3699
3706
  Dt(this._image, n, t);
3700
3707
  },
3701
3708
  _reset: function() {
3702
- var e = this._image, t = new k(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())), n = t.getSize();
3709
+ var e = this._image, t = new A(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())), n = t.getSize();
3703
3710
  J(e, t.min), e.style.width = n.x + "px", e.style.height = n.y + "px";
3704
3711
  },
3705
3712
  _updateOpacity: function() {
@@ -3716,9 +3723,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3716
3723
  getCenter: function() {
3717
3724
  return this._bounds.getCenter();
3718
3725
  }
3719
- }), Cr = function(e, t, n) {
3720
- return new Sr(e, t, n);
3721
- }, wr = Sr.extend({
3726
+ }), wr = function(e, t, n) {
3727
+ return new Cr(e, t, n);
3728
+ }, Tr = Cr.extend({
3722
3729
  options: {
3723
3730
  autoplay: !0,
3724
3731
  loop: !0,
@@ -3740,17 +3747,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3740
3747
  }
3741
3748
  }
3742
3749
  });
3743
- function Tr(e, t, n) {
3744
- return new wr(e, t, n);
3750
+ function Er(e, t, n) {
3751
+ return new Tr(e, t, n);
3745
3752
  }
3746
- var Er = Sr.extend({ _initImage: function() {
3753
+ var Dr = Cr.extend({ _initImage: function() {
3747
3754
  var e = this._image = this._url;
3748
3755
  K(e, "leaflet-image-layer"), this._zoomAnimated && K(e, "leaflet-zoom-animated"), this.options.className && K(e, this.options.className), e.onselectstart = l, e.onmousemove = l;
3749
3756
  } });
3750
- function Dr(e, t, n) {
3751
- return new Er(e, t, n);
3757
+ function Or(e, t, n) {
3758
+ return new Dr(e, t, n);
3752
3759
  }
3753
- var Or = Wn.extend({
3760
+ var kr = Gn.extend({
3754
3761
  options: {
3755
3762
  interactive: !1,
3756
3763
  offset: [0, 0],
@@ -3759,7 +3766,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3759
3766
  content: ""
3760
3767
  },
3761
3768
  initialize: function(e, t) {
3762
- e && (e instanceof N || _(e)) ? (this._latlng = P(e), p(this, t)) : (p(this, e), this._source = t), this.options.content && (this._content = this.options.content);
3769
+ e && (e instanceof P || _(e)) ? (this._latlng = F(e), p(this, t)) : (p(this, e), this._source = t), this.options.content && (this._content = this.options.content);
3763
3770
  },
3764
3771
  openOn: function(e) {
3765
3772
  return e = arguments.length ? e : this._source._map, e.hasLayer(this) || e.addLayer(this), this;
@@ -3780,7 +3787,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3780
3787
  return this._latlng;
3781
3788
  },
3782
3789
  setLatLng: function(e) {
3783
- return this._latlng = P(e), this._map && (this._updatePosition(), this._adjustPan()), this;
3790
+ return this._latlng = F(e), this._map && (this._updatePosition(), this._adjustPan()), this;
3784
3791
  },
3785
3792
  getContent: function() {
3786
3793
  return this._content;
@@ -3813,7 +3820,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3813
3820
  _prepareOpen: function(e) {
3814
3821
  var t = this._source;
3815
3822
  if (!t._map) return !1;
3816
- if (t instanceof qn) {
3823
+ if (t instanceof Jn) {
3817
3824
  t = null;
3818
3825
  var n = this._source._layers;
3819
3826
  for (var r in n) if (n[r]._map) {
@@ -3844,7 +3851,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3844
3851
  },
3845
3852
  _updatePosition: function() {
3846
3853
  if (this._map) {
3847
- var e = this._map.latLngToLayerPoint(this._latlng), t = O(this.options.offset), n = this._getAnchor();
3854
+ var e = this._map.latLngToLayerPoint(this._latlng), t = k(this.options.offset), n = this._getAnchor();
3848
3855
  this._zoomAnimated ? J(this._container, e.add(n)) : t = t.add(e).add(n);
3849
3856
  var r = this._containerBottom = -t.y, i = this._containerLeft = -Math.round(this._containerWidth / 2) + t.x;
3850
3857
  this._container.style.bottom = r + "px", this._container.style.left = i + "px";
@@ -3857,11 +3864,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3857
3864
  Q.include({ _initOverlay: function(e, t, n, r) {
3858
3865
  var i = t;
3859
3866
  return i instanceof e || (i = new e(r).setContent(t)), n && i.setLatLng(n), i;
3860
- } }), Wn.include({ _initOverlay: function(e, t, n, r) {
3867
+ } }), Gn.include({ _initOverlay: function(e, t, n, r) {
3861
3868
  var i = n;
3862
3869
  return i instanceof e ? (p(i, r), i._source = this) : (i = t && !r ? t : new e(r, this), i.setContent(n)), i;
3863
3870
  } });
3864
- var kr = Or.extend({
3871
+ var Ar = kr.extend({
3865
3872
  options: {
3866
3873
  pane: "popupPane",
3867
3874
  offset: [0, 7],
@@ -3879,16 +3886,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3879
3886
  className: ""
3880
3887
  },
3881
3888
  openOn: function(e) {
3882
- return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this, Or.prototype.openOn.call(this, e);
3889
+ return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this, kr.prototype.openOn.call(this, e);
3883
3890
  },
3884
3891
  onAdd: function(e) {
3885
- Or.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof tr || this._source.on("preclick", qt));
3892
+ kr.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof nr || this._source.on("preclick", qt));
3886
3893
  },
3887
3894
  onRemove: function(e) {
3888
- Or.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof tr || this._source.off("preclick", qt));
3895
+ kr.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof nr || this._source.off("preclick", qt));
3889
3896
  },
3890
3897
  getEvents: function() {
3891
- var e = Or.prototype.getEvents.call(this);
3898
+ var e = kr.prototype.getEvents.call(this);
3892
3899
  return (this.options.closeOnClick === void 0 ? this._map.options.closePopupOnClick : this.options.closeOnClick) && (e.preclick = this.close), this.options.keepInView && (e.moveend = this._adjustPan), e;
3893
3900
  },
3894
3901
  _initLayout: function() {
@@ -3920,26 +3927,26 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3920
3927
  }
3921
3928
  var e = this._map, t = parseInt(_t(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new D(this._containerLeft, -n - this._containerBottom);
3922
3929
  i._add(Ot(this._container));
3923
- var a = e.layerPointToContainerPoint(i), o = O(this.options.autoPanPadding), s = O(this.options.autoPanPaddingTopLeft || o), c = O(this.options.autoPanPaddingBottomRight || o), l = e.getSize(), u = 0, d = 0;
3930
+ var a = e.layerPointToContainerPoint(i), o = k(this.options.autoPanPadding), s = k(this.options.autoPanPaddingTopLeft || o), c = k(this.options.autoPanPaddingBottomRight || o), l = e.getSize(), u = 0, d = 0;
3924
3931
  a.x + r + c.x > l.x && (u = a.x + r - l.x + c.x), a.x - u - s.x < 0 && (u = a.x - s.x), a.y + n + c.y > l.y && (d = a.y + n - l.y + c.y), a.y - d - s.y < 0 && (d = a.y - s.y), (u || d) && (this.options.keepInView && (this._autopanning = !0), e.fire("autopanstart").panBy([u, d]));
3925
3932
  }
3926
3933
  },
3927
3934
  _getAnchor: function() {
3928
- return O(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
3935
+ return k(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
3929
3936
  }
3930
- }), Ar = function(e, t) {
3931
- return new kr(e, t);
3937
+ }), jr = function(e, t) {
3938
+ return new Ar(e, t);
3932
3939
  };
3933
3940
  Q.mergeOptions({ closePopupOnClick: !0 }), Q.include({
3934
3941
  openPopup: function(e, t, n) {
3935
- return this._initOverlay(kr, e, t, n).openOn(this), this;
3942
+ return this._initOverlay(Ar, e, t, n).openOn(this), this;
3936
3943
  },
3937
3944
  closePopup: function(e) {
3938
3945
  return e = arguments.length ? e : this._popup, e && e.close(), this;
3939
3946
  }
3940
- }), Wn.include({
3947
+ }), Gn.include({
3941
3948
  bindPopup: function(e, t) {
3942
- return this._popup = this._initOverlay(kr, this._popup, e, t), this._popupHandlersAdded ||= (this.on({
3949
+ return this._popup = this._initOverlay(Ar, this._popup, e, t), this._popupHandlersAdded ||= (this.on({
3943
3950
  click: this._openPopup,
3944
3951
  keypress: this._onKeyPress,
3945
3952
  remove: this.closePopup,
@@ -3955,7 +3962,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3955
3962
  }), this._popupHandlersAdded = !1, null), this;
3956
3963
  },
3957
3964
  openPopup: function(e) {
3958
- return this._popup && (this instanceof qn || (this._popup._source = this), this._popup._prepareOpen(e || this._latlng) && this._popup.openOn(this._map)), this;
3965
+ return this._popup && (this instanceof Jn || (this._popup._source = this), this._popup._prepareOpen(e || this._latlng) && this._popup.openOn(this._map)), this;
3959
3966
  },
3960
3967
  closePopup: function() {
3961
3968
  return this._popup && this._popup.close(), this;
@@ -3976,7 +3983,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3976
3983
  if (!(!this._popup || !this._map)) {
3977
3984
  Xt(e);
3978
3985
  var t = e.layer || e.target;
3979
- if (this._popup._source === t && !(t instanceof tr)) {
3986
+ if (this._popup._source === t && !(t instanceof nr)) {
3980
3987
  this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(e.latlng);
3981
3988
  return;
3982
3989
  }
@@ -3990,7 +3997,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
3990
3997
  e.originalEvent.keyCode === 13 && this._openPopup(e);
3991
3998
  }
3992
3999
  });
3993
- var jr = Or.extend({
4000
+ var Mr = kr.extend({
3994
4001
  options: {
3995
4002
  pane: "tooltipPane",
3996
4003
  offset: [0, 0],
@@ -4000,13 +4007,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4000
4007
  opacity: .9
4001
4008
  },
4002
4009
  onAdd: function(e) {
4003
- Or.prototype.onAdd.call(this, e), this.setOpacity(this.options.opacity), e.fire("tooltipopen", { tooltip: this }), this._source && (this.addEventParent(this._source), this._source.fire("tooltipopen", { tooltip: this }, !0));
4010
+ kr.prototype.onAdd.call(this, e), this.setOpacity(this.options.opacity), e.fire("tooltipopen", { tooltip: this }), this._source && (this.addEventParent(this._source), this._source.fire("tooltipopen", { tooltip: this }, !0));
4004
4011
  },
4005
4012
  onRemove: function(e) {
4006
- Or.prototype.onRemove.call(this, e), e.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
4013
+ kr.prototype.onRemove.call(this, e), e.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
4007
4014
  },
4008
4015
  getEvents: function() {
4009
- var e = Or.prototype.getEvents.call(this);
4016
+ var e = kr.prototype.getEvents.call(this);
4010
4017
  return this.options.permanent || (e.preclick = this.close), e;
4011
4018
  },
4012
4019
  _initLayout: function() {
@@ -4016,8 +4023,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4016
4023
  _updateLayout: function() {},
4017
4024
  _adjustPan: function() {},
4018
4025
  _setPosition: function(e) {
4019
- var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u = O(this.options.offset), d = this._getAnchor();
4020
- s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(O(t, n, !0)).add(u).add(d), q(i, "leaflet-tooltip-right"), q(i, "leaflet-tooltip-left"), q(i, "leaflet-tooltip-top"), q(i, "leaflet-tooltip-bottom"), K(i, "leaflet-tooltip-" + s), J(i, e);
4026
+ var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u = k(this.options.offset), d = this._getAnchor();
4027
+ s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(k(t, n, !0)).add(u).add(d), q(i, "leaflet-tooltip-right"), q(i, "leaflet-tooltip-left"), q(i, "leaflet-tooltip-top"), q(i, "leaflet-tooltip-bottom"), K(i, "leaflet-tooltip-" + s), J(i, e);
4021
4028
  },
4022
4029
  _updatePosition: function() {
4023
4030
  var e = this._map.latLngToLayerPoint(this._latlng);
@@ -4031,21 +4038,21 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4031
4038
  this._setPosition(t);
4032
4039
  },
4033
4040
  _getAnchor: function() {
4034
- return O(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
4041
+ return k(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
4035
4042
  }
4036
- }), Mr = function(e, t) {
4037
- return new jr(e, t);
4043
+ }), Nr = function(e, t) {
4044
+ return new Mr(e, t);
4038
4045
  };
4039
4046
  Q.include({
4040
4047
  openTooltip: function(e, t, n) {
4041
- return this._initOverlay(jr, e, t, n).openOn(this), this;
4048
+ return this._initOverlay(Mr, e, t, n).openOn(this), this;
4042
4049
  },
4043
4050
  closeTooltip: function(e) {
4044
4051
  return e.close(), this;
4045
4052
  }
4046
- }), Wn.include({
4053
+ }), Gn.include({
4047
4054
  bindTooltip: function(e, t) {
4048
- return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(jr, this._tooltip, e, t), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
4055
+ return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(Mr, this._tooltip, e, t), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
4049
4056
  },
4050
4057
  unbindTooltip: function() {
4051
4058
  return this._tooltip &&= (this._initTooltipInteractions(!0), this.closeTooltip(), null), this;
@@ -4060,7 +4067,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4060
4067
  }
4061
4068
  },
4062
4069
  openTooltip: function(e) {
4063
- return this._tooltip && (this instanceof qn || (this._tooltip._source = this), this._tooltip._prepareOpen(e) && (this._tooltip.openOn(this._map), this.getElement ? this._setAriaDescribedByOnLayer(this) : this.eachLayer && this.eachLayer(this._setAriaDescribedByOnLayer, this))), this;
4070
+ return this._tooltip && (this instanceof Jn || (this._tooltip._source = this), this._tooltip._prepareOpen(e) && (this._tooltip.openOn(this._map), this.getElement ? this._setAriaDescribedByOnLayer(this) : this.eachLayer && this.eachLayer(this._setAriaDescribedByOnLayer, this))), this;
4064
4071
  },
4065
4072
  closeTooltip: function() {
4066
4073
  if (this._tooltip) return this._tooltip.close();
@@ -4108,7 +4115,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4108
4115
  this._tooltip.options.sticky && e.originalEvent && (n = this._map.mouseEventToContainerPoint(e.originalEvent), r = this._map.containerPointToLayerPoint(n), t = this._map.layerPointToLatLng(r)), this._tooltip.setLatLng(t);
4109
4116
  }
4110
4117
  });
4111
- var Nr = Yn.extend({
4118
+ var Pr = Xn.extend({
4112
4119
  options: {
4113
4120
  iconSize: [12, 12],
4114
4121
  html: !1,
@@ -4118,7 +4125,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4118
4125
  createIcon: function(e) {
4119
4126
  var t = e && e.tagName === "DIV" ? e : document.createElement("div"), n = this.options;
4120
4127
  if (n.html instanceof Element ? (vt(t), t.appendChild(n.html)) : t.innerHTML = n.html === !1 ? "" : n.html, n.bgPos) {
4121
- var r = O(n.bgPos);
4128
+ var r = k(n.bgPos);
4122
4129
  t.style.backgroundPosition = -r.x + "px " + -r.y + "px";
4123
4130
  }
4124
4131
  return this._setIconStyles(t, "icon"), t;
@@ -4127,11 +4134,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4127
4134
  return null;
4128
4135
  }
4129
4136
  });
4130
- function Pr(e) {
4131
- return new Nr(e);
4137
+ function Fr(e) {
4138
+ return new Pr(e);
4132
4139
  }
4133
- Yn.Default = Zn;
4134
- var Fr = Wn.extend({
4140
+ Xn.Default = Qn;
4141
+ var Ir = Gn.extend({
4135
4142
  options: {
4136
4143
  tileSize: 256,
4137
4144
  opacity: 1,
@@ -4315,14 +4322,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4315
4322
  },
4316
4323
  _getTiledPixelBounds: function(e) {
4317
4324
  var t = this._map, n = t._animatingZoom ? Math.max(t._animateToZoom, t.getZoom()) : t.getZoom(), r = t.getZoomScale(n, this._tileZoom), i = t.project(e, this._tileZoom).floor(), a = t.getSize().divideBy(r * 2);
4318
- return new k(i.subtract(a), i.add(a));
4325
+ return new A(i.subtract(a), i.add(a));
4319
4326
  },
4320
4327
  _update: function(e) {
4321
4328
  var t = this._map;
4322
4329
  if (t) {
4323
4330
  var n = this._clampZoom(t.getZoom());
4324
4331
  if (e === void 0 && (e = t.getCenter()), this._tileZoom !== void 0) {
4325
- var r = this._getTiledPixelBounds(e), i = this._pxBoundsToTileRange(r), a = i.getCenter(), o = [], s = this.options.keepBuffer, c = new k(i.getBottomLeft().subtract([s, -s]), i.getTopRight().add([s, -s]));
4332
+ var r = this._getTiledPixelBounds(e), i = this._pxBoundsToTileRange(r), a = i.getCenter(), o = [], s = this.options.keepBuffer, c = new A(i.getBottomLeft().subtract([s, -s]), i.getTopRight().add([s, -s]));
4326
4333
  if (!(isFinite(i.min.x) && isFinite(i.min.y) && isFinite(i.max.x) && isFinite(i.max.y))) throw Error("Attempted to load an infinite number of tiles");
4327
4334
  for (var l in this._tiles) {
4328
4335
  var u = this._tiles[l].coords;
@@ -4358,7 +4365,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4358
4365
  }
4359
4366
  if (!this.options.bounds) return !0;
4360
4367
  var r = this._tileCoordsToBounds(e);
4361
- return M(this.options.bounds).overlaps(r);
4368
+ return N(this.options.bounds).overlaps(r);
4362
4369
  },
4363
4370
  _keyToBounds: function(e) {
4364
4371
  return this._tileCoordsToBounds(this._keyToTileCoords(e));
@@ -4368,7 +4375,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4368
4375
  return [t.unproject(r, e.z), t.unproject(i, e.z)];
4369
4376
  },
4370
4377
  _tileCoordsToBounds: function(e) {
4371
- var t = this._tileCoordsToNwSe(e), n = new j(t[0], t[1]);
4378
+ var t = this._tileCoordsToNwSe(e), n = new M(t[0], t[1]);
4372
4379
  return this.options.noWrap || (n = this._map.wrapLatLngBounds(n)), n;
4373
4380
  },
4374
4381
  _tileCoordsToKey: function(e) {
@@ -4422,17 +4429,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4422
4429
  },
4423
4430
  _pxBoundsToTileRange: function(e) {
4424
4431
  var t = this.getTileSize();
4425
- return new k(e.min.unscaleBy(t).floor(), e.max.unscaleBy(t).ceil().subtract([1, 1]));
4432
+ return new A(e.min.unscaleBy(t).floor(), e.max.unscaleBy(t).ceil().subtract([1, 1]));
4426
4433
  },
4427
4434
  _noTilesToLoad: function() {
4428
4435
  for (var e in this._tiles) if (!this._tiles[e].loaded) return !1;
4429
4436
  return !0;
4430
4437
  }
4431
4438
  });
4432
- function Ir(e) {
4433
- return new Fr(e);
4439
+ function Lr(e) {
4440
+ return new Ir(e);
4434
4441
  }
4435
- var Lr = Fr.extend({
4442
+ var Rr = Ir.extend({
4436
4443
  options: {
4437
4444
  minZoom: 0,
4438
4445
  maxZoom: 18,
@@ -4500,16 +4507,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4500
4507
  },
4501
4508
  _removeTile: function(e) {
4502
4509
  var t = this._tiles[e];
4503
- if (t) return t.el.setAttribute("src", te), Fr.prototype._removeTile.call(this, e);
4510
+ if (t) return t.el.setAttribute("src", te), Ir.prototype._removeTile.call(this, e);
4504
4511
  },
4505
4512
  _tileReady: function(e, t, n) {
4506
- if (!(!this._map || n && n.getAttribute("src") === te)) return Fr.prototype._tileReady.call(this, e, t, n);
4513
+ if (!(!this._map || n && n.getAttribute("src") === te)) return Ir.prototype._tileReady.call(this, e, t, n);
4507
4514
  }
4508
4515
  });
4509
- function Rr(e, t) {
4510
- return new Lr(e, t);
4516
+ function zr(e, t) {
4517
+ return new Rr(e, t);
4511
4518
  }
4512
- var zr = Lr.extend({
4519
+ var Br = Rr.extend({
4513
4520
  defaultWmsParams: {
4514
4521
  service: "WMS",
4515
4522
  request: "GetMap",
@@ -4534,10 +4541,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4534
4541
  onAdd: function(e) {
4535
4542
  this._crs = this.options.crs || e.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
4536
4543
  var t = this._wmsVersion >= 1.3 ? "crs" : "srs";
4537
- this.wmsParams[t] = this._crs.code, Lr.prototype.onAdd.call(this, e);
4544
+ this.wmsParams[t] = this._crs.code, Rr.prototype.onAdd.call(this, e);
4538
4545
  },
4539
4546
  getTileUrl: function(e) {
4540
- var t = this._tileCoordsToNwSe(e), n = this._crs, r = A(n.project(t[0]), n.project(t[1])), i = r.min, a = r.max, o = (this._wmsVersion >= 1.3 && this._crs === Hn ? [
4547
+ var t = this._tileCoordsToNwSe(e), n = this._crs, r = j(n.project(t[0]), n.project(t[1])), i = r.min, a = r.max, o = (this._wmsVersion >= 1.3 && this._crs === Un ? [
4541
4548
  i.y,
4542
4549
  i.x,
4543
4550
  a.y,
@@ -4547,18 +4554,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4547
4554
  i.y,
4548
4555
  a.x,
4549
4556
  a.y
4550
- ]).join(","), s = Lr.prototype.getTileUrl.call(this, e);
4557
+ ]).join(","), s = Rr.prototype.getTileUrl.call(this, e);
4551
4558
  return s + m(this.wmsParams, s, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + o;
4552
4559
  },
4553
4560
  setParams: function(e, t) {
4554
4561
  return n(this.wmsParams, e), t || this.redraw(), this;
4555
4562
  }
4556
4563
  });
4557
- function Br(e, t) {
4558
- return new zr(e, t);
4564
+ function Vr(e, t) {
4565
+ return new Br(e, t);
4559
4566
  }
4560
- Lr.WMS = zr, Rr.wms = Br;
4561
- var Vr = Wn.extend({
4567
+ Rr.WMS = Br, zr.wms = Vr;
4568
+ var Hr = Gn.extend({
4562
4569
  options: { padding: .1 },
4563
4570
  initialize: function(e) {
4564
4571
  p(this, e), o(this), this._layers = this._layers || {};
@@ -4599,19 +4606,19 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4599
4606
  },
4600
4607
  _update: function() {
4601
4608
  var e = this.options.padding, t = this._map.getSize(), n = this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();
4602
- this._bounds = new k(n, n.add(t.multiplyBy(1 + e * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
4609
+ this._bounds = new A(n, n.add(t.multiplyBy(1 + e * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
4603
4610
  }
4604
- }), Hr = Vr.extend({
4611
+ }), Ur = Hr.extend({
4605
4612
  options: { tolerance: 0 },
4606
4613
  getEvents: function() {
4607
- var e = Vr.prototype.getEvents.call(this);
4614
+ var e = Hr.prototype.getEvents.call(this);
4608
4615
  return e.viewprereset = this._onViewPreReset, e;
4609
4616
  },
4610
4617
  _onViewPreReset: function() {
4611
4618
  this._postponeUpdatePaths = !0;
4612
4619
  },
4613
4620
  onAdd: function() {
4614
- Vr.prototype.onAdd.call(this), this._draw();
4621
+ Hr.prototype.onAdd.call(this), this._draw();
4615
4622
  },
4616
4623
  _initContainer: function() {
4617
4624
  var e = this._container = document.createElement("canvas");
@@ -4629,13 +4636,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4629
4636
  },
4630
4637
  _update: function() {
4631
4638
  if (!(this._map._animatingZoom && this._bounds)) {
4632
- Vr.prototype._update.call(this);
4639
+ Hr.prototype._update.call(this);
4633
4640
  var e = this._bounds, t = this._container, n = e.getSize(), r = U.retina ? 2 : 1;
4634
4641
  J(t, e.min), t.width = r * n.x, t.height = r * n.y, t.style.width = n.x + "px", t.style.height = n.y + "px", U.retina && this._ctx.scale(2, 2), this._ctx.translate(-e.min.x, -e.min.y), this.fire("update");
4635
4642
  }
4636
4643
  },
4637
4644
  _reset: function() {
4638
- Vr.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
4645
+ Hr.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
4639
4646
  },
4640
4647
  _initPath: function(e) {
4641
4648
  this._updateDashArray(e), this._layers[o(e)] = e;
@@ -4675,7 +4682,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4675
4682
  _extendRedrawBounds: function(e) {
4676
4683
  if (e._pxBounds) {
4677
4684
  var t = (e.options.weight || 0) + 1;
4678
- this._redrawBounds = this._redrawBounds || new k(), this._redrawBounds.extend(e._pxBounds.min.subtract([t, t])), this._redrawBounds.extend(e._pxBounds.max.add([t, t]));
4685
+ this._redrawBounds = this._redrawBounds || new A(), this._redrawBounds.extend(e._pxBounds.min.subtract([t, t])), this._redrawBounds.extend(e._pxBounds.max.add([t, t]));
4679
4686
  }
4680
4687
  },
4681
4688
  _redraw: function() {
@@ -4764,10 +4771,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4764
4771
  }
4765
4772
  }
4766
4773
  });
4767
- function Ur(e) {
4768
- return U.canvas ? new Hr(e) : null;
4774
+ function Wr(e) {
4775
+ return U.canvas ? new Ur(e) : null;
4769
4776
  }
4770
- var Wr = (function() {
4777
+ var Gr = (function() {
4771
4778
  try {
4772
4779
  return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function(e) {
4773
4780
  return document.createElement("<lvml:" + e + " class=\"lvml\">");
@@ -4776,16 +4783,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4776
4783
  return function(e) {
4777
4784
  return document.createElement("<" + e + " xmlns=\"urn:schemas-microsoft.com:vml\" class=\"lvml\">");
4778
4785
  };
4779
- })(), Gr = {
4786
+ })(), Kr = {
4780
4787
  _initContainer: function() {
4781
4788
  this._container = W("div", "leaflet-vml-container");
4782
4789
  },
4783
4790
  _update: function() {
4784
- this._map._animatingZoom || (Vr.prototype._update.call(this), this.fire("update"));
4791
+ this._map._animatingZoom || (Hr.prototype._update.call(this), this.fire("update"));
4785
4792
  },
4786
4793
  _initPath: function(e) {
4787
- var t = e._container = Wr("shape");
4788
- K(t, "leaflet-vml-shape " + (this.options.className || "")), t.coordsize = "1 1", e._path = Wr("path"), t.appendChild(e._path), this._updateStyle(e), this._layers[o(e)] = e;
4794
+ var t = e._container = Gr("shape");
4795
+ K(t, "leaflet-vml-shape " + (this.options.className || "")), t.coordsize = "1 1", e._path = Gr("path"), t.appendChild(e._path), this._updateStyle(e), this._layers[o(e)] = e;
4789
4796
  },
4790
4797
  _addPath: function(e) {
4791
4798
  var t = e._container;
@@ -4797,7 +4804,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4797
4804
  },
4798
4805
  _updateStyle: function(e) {
4799
4806
  var t = e._stroke, n = e._fill, r = e.options, i = e._container;
4800
- i.stroked = !!r.stroke, i.filled = !!r.fill, r.stroke ? (t ||= e._stroke = Wr("stroke"), i.appendChild(t), t.weight = r.weight + "px", t.color = r.color, t.opacity = r.opacity, r.dashArray ? t.dashStyle = _(r.dashArray) ? r.dashArray.join(" ") : r.dashArray.replace(/( *, *)/g, " ") : t.dashStyle = "", t.endcap = r.lineCap.replace("butt", "flat"), t.joinstyle = r.lineJoin) : t && (i.removeChild(t), e._stroke = null), r.fill ? (n ||= e._fill = Wr("fill"), i.appendChild(n), n.color = r.fillColor || r.color, n.opacity = r.fillOpacity) : n && (i.removeChild(n), e._fill = null);
4807
+ i.stroked = !!r.stroke, i.filled = !!r.fill, r.stroke ? (t ||= e._stroke = Gr("stroke"), i.appendChild(t), t.weight = r.weight + "px", t.color = r.color, t.opacity = r.opacity, r.dashArray ? t.dashStyle = _(r.dashArray) ? r.dashArray.join(" ") : r.dashArray.replace(/( *, *)/g, " ") : t.dashStyle = "", t.endcap = r.lineCap.replace("butt", "flat"), t.joinstyle = r.lineJoin) : t && (i.removeChild(t), e._stroke = null), r.fill ? (n ||= e._fill = Gr("fill"), i.appendChild(n), n.color = r.fillColor || r.color, n.opacity = r.fillOpacity) : n && (i.removeChild(n), e._fill = null);
4801
4808
  },
4802
4809
  _updateCircle: function(e) {
4803
4810
  var t = e._point.round(), n = Math.round(e._radius), r = Math.round(e._radiusY || n);
@@ -4812,16 +4819,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4812
4819
  _bringToBack: function(e) {
4813
4820
  bt(e._container);
4814
4821
  }
4815
- }, Kr = U.vml ? Wr : ue, qr = Vr.extend({
4822
+ }, qr = U.vml ? Gr : ue, Jr = Hr.extend({
4816
4823
  _initContainer: function() {
4817
- this._container = Kr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Kr("g"), this._container.appendChild(this._rootGroup);
4824
+ this._container = qr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = qr("g"), this._container.appendChild(this._rootGroup);
4818
4825
  },
4819
4826
  _destroyContainer: function() {
4820
4827
  G(this._container), X(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
4821
4828
  },
4822
4829
  _update: function() {
4823
4830
  if (!(this._map._animatingZoom && this._bounds)) {
4824
- Vr.prototype._update.call(this);
4831
+ Hr.prototype._update.call(this);
4825
4832
  var e = this._bounds, t = e.getSize(), n = this._container;
4826
4833
  (!this._svgSize || !this._svgSize.equals(t)) && (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)), J(n, e.min), n.setAttribute("viewBox", [
4827
4834
  e.min.x,
@@ -4832,7 +4839,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4832
4839
  }
4833
4840
  },
4834
4841
  _initPath: function(e) {
4835
- var t = e._path = Kr("path");
4842
+ var t = e._path = qr("path");
4836
4843
  e.options.className && K(t, e.options.className), e.options.interactive && K(t, "leaflet-interactive"), this._updateStyle(e), this._layers[o(e)] = e;
4837
4844
  },
4838
4845
  _addPath: function(e) {
@@ -4865,9 +4872,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4865
4872
  bt(e._path);
4866
4873
  }
4867
4874
  });
4868
- U.vml && qr.include(Gr);
4869
- function Jr(e) {
4870
- return U.svg || U.vml ? new qr(e) : null;
4875
+ U.vml && Jr.include(Kr);
4876
+ function Yr(e) {
4877
+ return U.svg || U.vml ? new Jr(e) : null;
4871
4878
  }
4872
4879
  Q.include({
4873
4880
  getRenderer: function(e) {
@@ -4880,18 +4887,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4880
4887
  return t === void 0 && (t = this._createRenderer({ pane: e }), this._paneRenderers[e] = t), t;
4881
4888
  },
4882
4889
  _createRenderer: function(e) {
4883
- return this.options.preferCanvas && Ur(e) || Jr(e);
4890
+ return this.options.preferCanvas && Wr(e) || Yr(e);
4884
4891
  }
4885
4892
  });
4886
- var Yr = cr.extend({
4893
+ var Xr = lr.extend({
4887
4894
  initialize: function(e, t) {
4888
- cr.prototype.initialize.call(this, this._boundsToLatLngs(e), t);
4895
+ lr.prototype.initialize.call(this, this._boundsToLatLngs(e), t);
4889
4896
  },
4890
4897
  setBounds: function(e) {
4891
4898
  return this.setLatLngs(this._boundsToLatLngs(e));
4892
4899
  },
4893
4900
  _boundsToLatLngs: function(e) {
4894
- return e = M(e), [
4901
+ return e = N(e), [
4895
4902
  e.getSouthWest(),
4896
4903
  e.getNorthWest(),
4897
4904
  e.getNorthEast(),
@@ -4899,11 +4906,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4899
4906
  ];
4900
4907
  }
4901
4908
  });
4902
- function Xr(e, t) {
4903
- return new Yr(e, t);
4909
+ function Zr(e, t) {
4910
+ return new Xr(e, t);
4904
4911
  }
4905
- qr.create = Kr, qr.pointsToPath = de, ur.geometryToLayer = dr, ur.coordsToLatLng = pr, ur.coordsToLatLngs = mr, ur.latLngToCoords = hr, ur.latLngsToCoords = gr, ur.getFeature = _r, ur.asFeature = vr, Q.mergeOptions({ boxZoom: !0 });
4906
- var Zr = hn.extend({
4912
+ Jr.create = qr, Jr.pointsToPath = de, dr.geometryToLayer = fr, dr.coordsToLatLng = mr, dr.coordsToLatLngs = hr, dr.latLngToCoords = gr, dr.latLngsToCoords = _r, dr.getFeature = vr, dr.asFeature = yr, Q.mergeOptions({ boxZoom: !0 });
4913
+ var Qr = hn.extend({
4907
4914
  initialize: function(e) {
4908
4915
  this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
4909
4916
  },
@@ -4936,7 +4943,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4936
4943
  },
4937
4944
  _onMouseMove: function(e) {
4938
4945
  this._moved || (this._moved = !0, this._box = W("div", "leaflet-zoom-box", this._container), K(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(e);
4939
- var t = new k(this._point, this._startPoint), n = t.getSize();
4946
+ var t = new A(this._point, this._startPoint), n = t.getSize();
4940
4947
  J(this._box, t.min), this._box.style.width = n.x + "px", this._box.style.height = n.y + "px";
4941
4948
  },
4942
4949
  _finish: function() {
@@ -4950,7 +4957,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4950
4957
  _onMouseUp: function(e) {
4951
4958
  if ((e.which === 1 || e.button === 1) && (this._finish(), this._moved)) {
4952
4959
  this._clearDeferredResetState(), this._resetStateTimeout = setTimeout(i(this._resetState, this), 0);
4953
- var t = new j(this._map.containerPointToLatLng(this._startPoint), this._map.containerPointToLatLng(this._point));
4960
+ var t = new M(this._map.containerPointToLatLng(this._startPoint), this._map.containerPointToLatLng(this._point));
4954
4961
  this._map.fitBounds(t).fire("boxzoomend", { boxZoomBounds: t });
4955
4962
  }
4956
4963
  },
@@ -4958,8 +4965,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4958
4965
  e.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
4959
4966
  }
4960
4967
  });
4961
- Q.addInitHook("addHandler", "boxZoom", Zr), Q.mergeOptions({ doubleClickZoom: !0 });
4962
- var Qr = hn.extend({
4968
+ Q.addInitHook("addHandler", "boxZoom", Qr), Q.mergeOptions({ doubleClickZoom: !0 });
4969
+ var $r = hn.extend({
4963
4970
  addHooks: function() {
4964
4971
  this._map.on("dblclick", this._onDoubleClick, this);
4965
4972
  },
@@ -4971,7 +4978,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4971
4978
  t.options.doubleClickZoom === "center" ? t.setZoom(i) : t.setZoomAround(e.containerPoint, i);
4972
4979
  }
4973
4980
  });
4974
- Q.addInitHook("addHandler", "doubleClickZoom", Qr), Q.mergeOptions({
4981
+ Q.addInitHook("addHandler", "doubleClickZoom", $r), Q.mergeOptions({
4975
4982
  dragging: !0,
4976
4983
  inertia: !0,
4977
4984
  inertiaDeceleration: 3400,
@@ -4980,7 +4987,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
4980
4987
  worldCopyJump: !1,
4981
4988
  maxBoundsViscosity: 0
4982
4989
  });
4983
- var $r = hn.extend({
4990
+ var ei = hn.extend({
4984
4991
  addHooks: function() {
4985
4992
  if (!this._draggable) {
4986
4993
  var e = this._map;
@@ -5004,8 +5011,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
5004
5011
  _onDragStart: function() {
5005
5012
  var e = this._map;
5006
5013
  if (e._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
5007
- var t = M(this._map.options.maxBounds);
5008
- this._offsetLimit = A(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1), this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
5014
+ var t = N(this._map.options.maxBounds);
5015
+ this._offsetLimit = j(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1), this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
5009
5016
  } else this._offsetLimit = null;
5010
5017
  e.fire("movestart").fire("dragstart"), e.options.inertia && (this._positions = [], this._times = []);
5011
5018
  },
@@ -5053,11 +5060,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
5053
5060
  }
5054
5061
  }
5055
5062
  });
5056
- Q.addInitHook("addHandler", "dragging", $r), Q.mergeOptions({
5063
+ Q.addInitHook("addHandler", "dragging", ei), Q.mergeOptions({
5057
5064
  keyboard: !0,
5058
5065
  keyboardPanDelta: 80
5059
5066
  });
5060
- var ei = hn.extend({
5067
+ var $ = hn.extend({
5061
5068
  keyCodes: {
5062
5069
  left: [37],
5063
5070
  right: [39],
@@ -5135,7 +5142,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
5135
5142
  var t = e.keyCode, n = this._map, r;
5136
5143
  if (t in this._panKeys) {
5137
5144
  if (!n._panAnim || !n._panAnim._inProgress) {
5138
- if (r = this._panKeys[t], e.shiftKey && (r = O(r).multiplyBy(3)), n.options.maxBounds && (r = n._limitOffset(O(r), n.options.maxBounds)), n.options.worldCopyJump) {
5145
+ if (r = this._panKeys[t], e.shiftKey && (r = k(r).multiplyBy(3)), n.options.maxBounds && (r = n._limitOffset(k(r), n.options.maxBounds)), n.options.worldCopyJump) {
5139
5146
  var i = n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(r)));
5140
5147
  n.panTo(i);
5141
5148
  } else n.panBy(r);
@@ -5147,7 +5154,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
5147
5154
  }
5148
5155
  }
5149
5156
  });
5150
- Q.addInitHook("addHandler", "keyboard", ei), Q.mergeOptions({
5157
+ Q.addInitHook("addHandler", "keyboard", $), Q.mergeOptions({
5151
5158
  scrollWheelZoom: !0,
5152
5159
  wheelDebounceTime: 40,
5153
5160
  wheelPxPerZoomLevel: 60
@@ -5263,7 +5270,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
5263
5270
  this._zooming = !1, S(this._animRequest), X(document, "touchmove", this._onTouchMove, this), X(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));
5264
5271
  }
5265
5272
  });
5266
- Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser = U, e.CRS = F, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = ie, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = hn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = gn, e.Path = tr, e.Point = D, e.PolyUtil = Sn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = oe, e.Util = C, e.VideoOverlay = wr, e.bind = i, e.bounds = A, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = sn, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = P, e.latLngBounds = M, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = O, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = se, e.version = t, e.videoOverlay = Tr;
5273
+ Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Qr, Q.DoubleClickZoom = $r, Q.Drag = ei, Q.Keyboard = $, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = A, e.Browser = U, e.CRS = I, e.Canvas = Ur, e.Circle = ar, e.CircleMarker = rr, e.Class = ie, e.Control = on, e.DivIcon = Pr, e.DivOverlay = kr, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = Jn, e.GeoJSON = dr, e.GridLayer = Ir, e.Handler = hn, e.Icon = Xn, e.ImageOverlay = Cr, e.LatLng = P, e.LatLngBounds = M, e.Layer = Gn, e.LayerGroup = Kn, e.LineUtil = Rn, e.Map = Q, e.Marker = er, e.Mixin = gn, e.Path = nr, e.Point = D, e.PolyUtil = Sn, e.Polygon = lr, e.Polyline = sr, e.Popup = Ar, e.PosAnimation = rn, e.Projection = Vn, e.Rectangle = Xr, e.Renderer = Hr, e.SVG = Jr, e.SVGOverlay = Dr, e.TileLayer = Rr, e.Tooltip = Mr, e.Transformation = oe, e.Util = C, e.VideoOverlay = Tr, e.bind = i, e.bounds = j, e.canvas = Wr, e.circle = or, e.circleMarker = ir, e.control = sn, e.divIcon = Fr, e.extend = n, e.featureGroup = Yn, e.geoJSON = xr, e.geoJson = Sr, e.gridLayer = Lr, e.icon = Zn, e.imageOverlay = wr, e.latLng = F, e.latLngBounds = N, e.layerGroup = qn, e.map = an, e.marker = tr, e.point = k, e.polygon = ur, e.polyline = cr, e.popup = jr, e.rectangle = Zr, e.setOptions = p, e.stamp = o, e.svg = Yr, e.svgOverlay = Or, e.tileLayer = zr, e.tooltip = Nr, e.transformation = se, e.version = t, e.videoOverlay = Er;
5267
5274
  var ai = window.L;
5268
5275
  e.noConflict = function() {
5269
5276
  return window.L = ai, this;
@@ -6010,7 +6017,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
6010
6017
  } }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
6011
6018
  });
6012
6019
  })))();
6013
- var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", an = /*#__PURE__*/ B(/* @__PURE__ */ R({
6020
+ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", an = /*#__PURE__*/ V(/* @__PURE__ */ z({
6014
6021
  __name: "Map",
6015
6022
  props: {
6016
6023
  modelValue: {},
@@ -6018,7 +6025,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6018
6025
  },
6019
6026
  emits: ["update:modelValue", "callback"],
6020
6027
  setup(e, { emit: t }) {
6021
- let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = rn.default.Util.extend(rn.default.CRS.Simple, { transformation: new rn.default.Transformation(1, 0, 1, 0) }), c = I(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = rn.default.icon({
6028
+ let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = rn.default.Util.extend(rn.default.CRS.Simple, { transformation: new rn.default.Transformation(1, 0, 1, 0) }), c = R(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = rn.default.icon({
6022
6029
  iconUrl: Q,
6023
6030
  iconSize: [32, 37],
6024
6031
  iconAnchor: [16, 37]
@@ -6052,7 +6059,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6052
6059
  });
6053
6060
  });
6054
6061
  }
6055
- let { stop: m } = N(c, ([{ isIntersecting: e }]) => {
6062
+ let { stop: m } = P(c, ([{ isIntersecting: e }]) => {
6056
6063
  e && (m(), p());
6057
6064
  }), h = n({
6058
6065
  get: () => a.modelValue,
@@ -6078,7 +6085,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6078
6085
  }), [["__scopeId", "data-v-c36a3ba7"]]), on = { style: {
6079
6086
  height: "100%",
6080
6087
  width: "100%"
6081
- } }, sn = /* @__PURE__ */ R({
6088
+ } }, sn = /* @__PURE__ */ z({
6082
6089
  __name: "MapSelector",
6083
6090
  props: {
6084
6091
  roomList: {},
@@ -6087,7 +6094,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6087
6094
  },
6088
6095
  emits: ["update:config"],
6089
6096
  setup(e, { emit: t }) {
6090
- let { t: i } = v(), a = I(NaN), o = n(() => !isNaN(a.value)), s = e, c = t;
6097
+ let { t: i } = v(), a = R(NaN), o = n(() => !isNaN(a.value)), s = e, c = t;
6091
6098
  function d() {
6092
6099
  o.value && (c("update:config", {
6093
6100
  ...s.config,
@@ -6117,7 +6124,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6117
6124
  }, pn = {
6118
6125
  key: 1,
6119
6126
  class: "konnectio-listing-units-body"
6120
- }, mn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6127
+ }, mn = /*#__PURE__*/ V(/* @__PURE__ */ z({
6121
6128
  __name: "Hotel",
6122
6129
  props: {
6123
6130
  room: {},
@@ -6125,14 +6132,14 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6125
6132
  callback: { type: Function }
6126
6133
  },
6127
6134
  setup(e) {
6128
- let t = I(!1);
6135
+ let t = R(!1);
6129
6136
  function i() {
6130
6137
  t.value = !0;
6131
6138
  }
6132
6139
  function o(e) {
6133
6140
  c.callback(e), t.value = !1;
6134
6141
  }
6135
- let { t: s } = v(), c = e, f = I([]);
6142
+ let { t: s } = v(), c = e, f = R([]);
6136
6143
  function p() {
6137
6144
  let e = f.value.length;
6138
6145
  le(e);
@@ -6143,18 +6150,18 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6143
6150
  let ee = n(() => c.room.rates.map((e) => ({
6144
6151
  label: e.name,
6145
6152
  value: e.id
6146
- }))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(ce()), { location: x } = C(oe()), { roomSelect: ie, isSearchOutdated: D } = C(he()), { addToCart: O, removeFromCart: k } = se(), A = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), j = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), M = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), N = (e, t) => A(e, t) ? A(e, t)?.rooms : null, P = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6153
+ }))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(ce()), { location: x } = C(oe()), { roomSelect: ie, isSearchOutdated: D } = C(he()), { addToCart: k, removeFromCart: A } = se(), j = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), M = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), N = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), P = (e, t) => j(e, t) ? j(e, t)?.rooms : null, F = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6147
6154
  value: e.index,
6148
6155
  price: e.totalPrice,
6149
6156
  adults: e.adultsCount,
6150
6157
  children: e.childrenCount,
6151
6158
  hasBreakfast: e.hasBreakfast
6152
- })) || [], R = n(() => c.room.rates.length > 1);
6153
- function z(e, t) {
6159
+ })) || [], z = n(() => c.room.rates.length > 1);
6160
+ function ae(e, t) {
6154
6161
  f.value[e].config[0].id = c.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
6155
6162
  }
6156
6163
  function le(e = 0) {
6157
- R.value ? ne.value ? f.value[e] = {
6164
+ z.value ? ne.value ? f.value[e] = {
6158
6165
  id: c.room.bestRateMatch || void 0,
6159
6166
  config: [{
6160
6167
  id: c.room.bestRateMatch && !isNaN(c.room.bestRateMatch) ? c.room.rates.find((e) => e.id === c.room.bestRateMatch)?.occupantRateIndex : NaN,
@@ -6181,19 +6188,19 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6181
6188
  le();
6182
6189
  });
6183
6190
  let ue = n(() => JSON.parse(JSON.stringify(f.value)));
6184
- return ae(ue, (e, t) => {
6191
+ return O(ue, (e, t) => {
6185
6192
  t.length > 0 && e.forEach((n, r) => {
6186
6193
  t[r] && n.config.forEach((n, i) => {
6187
6194
  let a = n.units, o = t[r].config[i].units;
6188
6195
  if (a !== o) {
6189
6196
  if (a > o) {
6190
6197
  let t = f.value[r].config[i].addons;
6191
- t.push(y.value(x.value) ? t[0] ?? ye(c.room.rates.find((t) => t.id === e[r].id)?.addons) : ye(c.room.rates.find((t) => t.id === e[r].id)?.addons)), O({
6198
+ t.push(y.value(x.value) ? t[0] ?? ve(c.room.rates.find((t) => t.id === e[r].id)?.addons) : ve(c.room.rates.find((t) => t.id === e[r].id)?.addons)), k({
6192
6199
  id: c.room.id,
6193
6200
  name: c.room.title,
6194
6201
  value: c.room.rates[r].rackRate
6195
6202
  });
6196
- } else f.value[r].config[i].addons.pop(), k({
6203
+ } else f.value[r].config[i].addons.pop(), A({
6197
6204
  id: c.room.id,
6198
6205
  name: c.room.title,
6199
6206
  value: c.room.rates[r].rackRate
@@ -6201,7 +6208,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6201
6208
  }
6202
6209
  });
6203
6210
  });
6204
- }, { deep: !0 }), ae(f, () => {
6211
+ }, { deep: !0 }), O(f, () => {
6205
6212
  ie.value[c.room.id] = f.value;
6206
6213
  }, { deep: !0 }), (n, c) => (b(), u(Xe, {
6207
6214
  type: "hotel",
@@ -6212,19 +6219,19 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6212
6219
  layout: e.layout,
6213
6220
  facilities: e.room.facilities,
6214
6221
  "prices-from": e.room.pricesFrom,
6215
- "includes-breakfast": M.value
6222
+ "includes-breakfast": N.value
6216
6223
  }, {
6217
6224
  action: S(() => [T("div", { class: E(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": f.value.length > 1 }]) }, [(b(!0), m(a, null, w(f.value, (n, u) => (b(), m("div", {
6218
6225
  key: n.id,
6219
6226
  class: "konnectio-hotel-room"
6220
- }, [R.value ? (b(), m("div", cn, [l(V, {
6227
+ }, [z.value ? (b(), m("div", cn, [l(je, {
6221
6228
  modelValue: n.id,
6222
6229
  "onUpdate:modelValue": (e) => n.id = e,
6223
6230
  label: r(s)("hotel.roomVariant"),
6224
6231
  placeholder: r(s)("hotel.chooseARoomVariant"),
6225
6232
  options: ee.value,
6226
6233
  searchable: !1,
6227
- onChanged: (e) => z(u, e)
6234
+ onChanged: (e) => ae(u, e)
6228
6235
  }, null, 8, [
6229
6236
  "modelValue",
6230
6237
  "onUpdate:modelValue",
@@ -6251,8 +6258,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6251
6258
  "icon-type": "fas",
6252
6259
  label: r(s)("general.guests"),
6253
6260
  description: f === 0 ? void 0 : `${r(s)("general.maximumGuests")}: ${f}`,
6254
- options: P(u),
6255
- readonly: !(P(u).length > 1)
6261
+ options: F(u),
6262
+ readonly: !(F(u).length > 1)
6256
6263
  }, null, 8, [
6257
6264
  "modelValue",
6258
6265
  "onUpdate:modelValue",
@@ -6260,7 +6267,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6260
6267
  "description",
6261
6268
  "options",
6262
6269
  "readonly"
6263
- ])]), j.value ? (b(), m("div", pn, [l(Ne, {
6270
+ ])]), M.value ? (b(), m("div", pn, [l(Ne, {
6264
6271
  onClickEvent: i,
6265
6272
  label: r(s)("hotel.selectRoomOnMap"),
6266
6273
  secondary: "",
@@ -6278,26 +6285,26 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6278
6285
  "room-list",
6279
6286
  "config",
6280
6287
  "onUpdate:config"
6281
- ])])) : (b(), m("ul", fn, [l(je, {
6288
+ ])])) : (b(), m("ul", fn, [l(Ae, {
6282
6289
  modelValue: a.units,
6283
6290
  "onUpdate:modelValue": (e) => a.units = e,
6284
- description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${N(n.id, a.id)}`,
6291
+ description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${P(n.id, a.id)}`,
6285
6292
  icon: "house",
6286
6293
  "icon-type": "fas",
6287
6294
  "icon-placement": "label",
6288
6295
  label: r(s)("booking.availability.units"),
6289
6296
  minValue: 0,
6290
- "max-value": N(u, a.id) || Infinity
6297
+ "max-value": P(u, a.id) || Infinity
6291
6298
  }, null, 8, [
6292
6299
  "modelValue",
6293
6300
  "onUpdate:modelValue",
6294
6301
  "description",
6295
6302
  "label",
6296
6303
  "max-value"
6297
- ])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) && R.value ? (b(), m("button", {
6304
+ ])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) && z.value ? (b(), m("button", {
6298
6305
  key: 0,
6299
6306
  class: "konnectio-hotel-add-extra-room link",
6300
- onClick: F(p, ["prevent"])
6307
+ onClick: I(p, ["prevent"])
6301
6308
  }, [T("span", null, h(r(s)("hotel.addExtraVariant")), 1)])) : d("", !0)], 2)]),
6302
6309
  _: 1
6303
6310
  }, 8, [
@@ -6314,7 +6321,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6314
6321
  }), [["__scopeId", "data-v-c7b61560"]]), hn = { class: "konnectio-template-side-panel" }, gn = { class: "konnectio-template-side-panel-listings" }, _n = { class: "konnectio-template-room-config" }, vn = { class: "konnectio-template-room-units" }, yn = { class: "konnectio-template-room-unit-header" }, bn = { class: "konnectio-template-footer" }, xn = {
6315
6322
  key: 0,
6316
6323
  class: "konnectio-template-selection-preview"
6317
- }, Sn = { class: "konnectio-template-selection-item-header" }, Cn = { class: "konnectio-template-selection-item-name" }, wn = { class: "konnectio-template-selection-item-price" }, Tn = { class: "konnectio-template-selection-item-units" }, En = /*#__PURE__*/ B(/* @__PURE__ */ R({
6324
+ }, Sn = { class: "konnectio-template-selection-item-header" }, Cn = { class: "konnectio-template-selection-item-name" }, wn = { class: "konnectio-template-selection-item-price" }, Tn = { class: "konnectio-template-selection-item-units" }, En = /*#__PURE__*/ V(/* @__PURE__ */ z({
6318
6325
  __name: "Template",
6319
6326
  props: {
6320
6327
  title: {},
@@ -6325,85 +6332,85 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6325
6332
  callback: { type: Function }
6326
6333
  },
6327
6334
  setup(e) {
6328
- let { t } = v(), i = ce(), o = he(), { location: c, adults: f, children: p } = C(oe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: ne, currentAdults: re, currentChildren: y } = C(o), { currency: x } = C(i), { clearRoomSelection: ie } = o, { addToCart: D } = se(), { hasChildSelection: O, hasSharedAddonSelection: k } = i, A = e, M = I(!1), N = f.value || 1, P = p.value || 0, F = te({}), R = n(() => {
6335
+ let { t } = v(), i = ce(), o = he(), { location: c, adults: f, children: p } = C(oe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: ne, currentAdults: re, currentChildren: y } = C(o), { currency: x } = C(i), { clearRoomSelection: ie } = o, { addToCart: D } = se(), { hasChildSelection: k, hasSharedAddonSelection: A } = i, j = e, N = R(!1), P = f.value || 1, F = p.value || 0, I = te({}), z = n(() => {
6329
6336
  function e(e, t) {
6330
- return M.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
6337
+ return N.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
6331
6338
  }
6332
- let t = A.roomGroups?.slice().sort(e) || [];
6339
+ let t = j.roomGroups?.slice().sort(e) || [];
6333
6340
  return t.forEach((e) => {
6334
- F[e.id] || (F[e.id] = {
6341
+ I[e.id] || (I[e.id] = {
6335
6342
  units: 0,
6336
6343
  configs: [{
6337
- adults: N,
6338
- children: P
6344
+ adults: P,
6345
+ children: F
6339
6346
  }]
6340
6347
  });
6341
6348
  }), t;
6342
6349
  });
6343
- function z(e) {
6344
- return R.value.find((t) => t.id === e);
6350
+ function ae(e) {
6351
+ return z.value.find((t) => t.id === e);
6345
6352
  }
6346
6353
  function le(e) {
6347
- let t = z(e);
6348
- if (!t) return N;
6354
+ let t = ae(e);
6355
+ if (!t) return P;
6349
6356
  let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
6350
- return Math.max(n, N);
6357
+ return Math.max(n, P);
6351
6358
  }
6352
6359
  function ue(e) {
6353
- let t = z(e);
6354
- return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(P, 1) : 0;
6360
+ let t = ae(e);
6361
+ return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(F, 1) : 0;
6355
6362
  }
6356
6363
  function de(e) {
6357
- let t = z(e);
6364
+ let t = ae(e);
6358
6365
  return t && t.availableRoomCount || 1;
6359
6366
  }
6360
6367
  function pe(e) {
6361
- let t = z(e);
6362
- return t ? t.extraPrice + A.weekendFee : 0;
6368
+ let t = ae(e);
6369
+ return t ? t.extraPrice + j.weekendFee : 0;
6363
6370
  }
6364
- ae(() => ({ ...F }), () => {
6365
- Object.keys(F).forEach((e) => {
6366
- let t = F[Number(e)], n = t.units, r = t.configs.length;
6371
+ O(() => ({ ...I }), () => {
6372
+ Object.keys(I).forEach((e) => {
6373
+ let t = I[Number(e)], n = t.units, r = t.configs.length;
6367
6374
  if (n > r) for (let e = r; e < n; e++) t.configs.push({
6368
- adults: N,
6369
- children: P
6375
+ adults: P,
6376
+ children: F
6370
6377
  });
6371
6378
  else n < r && t.configs.splice(n);
6372
6379
  });
6373
6380
  }, { deep: !0 });
6374
6381
  let me = n(() => {
6375
- JSON.stringify(F);
6382
+ JSON.stringify(I);
6376
6383
  let e = {};
6377
- return R.value.forEach((t) => {
6378
- let n = F[t.id];
6384
+ return z.value.forEach((t) => {
6385
+ let n = I[t.id];
6379
6386
  if (!n) {
6380
6387
  e[t.id] = [];
6381
6388
  return;
6382
6389
  }
6383
- e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children, N, P));
6390
+ e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children, P, F));
6384
6391
  }), e;
6385
6392
  });
6386
- function ge(e, t) {
6393
+ function B(e, t) {
6387
6394
  return me.value[e]?.[t] ?? 0;
6388
6395
  }
6389
- function _e() {
6396
+ function ge() {
6390
6397
  let e = 0;
6391
- return R.value.forEach((t) => {
6392
- let n = F[t.id];
6398
+ return z.value.forEach((t) => {
6399
+ let n = I[t.id];
6393
6400
  if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
6394
- let n = ge(t.id, r);
6395
- e += n + A.weekendFee;
6401
+ let n = B(t.id, r);
6402
+ e += n + j.weekendFee;
6396
6403
  }
6397
6404
  }), e;
6398
6405
  }
6399
- function B() {
6400
- return Object.values(F).reduce((e, t) => e + t.units, 0);
6406
+ function V() {
6407
+ return Object.values(I).reduce((e, t) => e + t.units, 0);
6401
6408
  }
6402
- let ve = n(() => R.value.filter((e) => F[e.id]?.units > 0).map((e) => {
6403
- let t = F[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
6409
+ let _e = n(() => z.value.filter((e) => I[e.id]?.units > 0).map((e) => {
6410
+ let t = I[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
6404
6411
  adults: t.adults,
6405
6412
  children: t.children,
6406
- price: ge(e.id, n) + A.weekendFee
6413
+ price: B(e.id, n) + j.weekendFee
6407
6414
  }));
6408
6415
  return {
6409
6416
  id: e.id,
@@ -6412,27 +6419,27 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6412
6419
  units: n
6413
6420
  };
6414
6421
  }));
6415
- ae(ve, () => {
6416
- j(() => window.dispatchEvent(new Event("resize")));
6422
+ O(_e, () => {
6423
+ M(() => window.dispatchEvent(new Event("resize")));
6417
6424
  });
6418
- function be() {
6419
- if (!Object.values(F).some((e) => e.units > 0)) return;
6425
+ function ye() {
6426
+ if (!Object.values(I).some((e) => e.units > 0)) return;
6420
6427
  ie();
6421
6428
  let e = [], t = 0, n = 0;
6422
- if (R.value.forEach((r) => {
6423
- let i = F[r.id];
6429
+ if (z.value.forEach((r) => {
6430
+ let i = I[r.id];
6424
6431
  if (!i || i.units === 0) return;
6425
- let a = i.configs.slice(0, i.units), o = k(c.value) ? {} : null;
6432
+ let a = i.configs.slice(0, i.units), o = A(c.value) ? {} : null;
6426
6433
  e.push({
6427
6434
  roomGroupId: r.id,
6428
6435
  unitConfigs: a.map((e) => ({
6429
6436
  adults: e.adults,
6430
6437
  children: e.children,
6431
- addons: o ?? ye(r.addons)
6438
+ addons: o ?? ve(r.addons)
6432
6439
  }))
6433
6440
  }), _.value ||= r.id;
6434
6441
  for (let e = 0; e < i.units; e++) {
6435
- let t = ge(r.id, e);
6442
+ let t = B(r.id, e);
6436
6443
  D({
6437
6444
  id: r.id,
6438
6445
  name: r.title,
@@ -6442,17 +6449,17 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6442
6449
  a.forEach((e) => {
6443
6450
  t += e.adults, n += e.children;
6444
6451
  });
6445
- }), ee.value = e, g.value = A.templateId, re.value = t, y.value = n, A.hideAddons === !1 && ne.value === !1) {
6446
- A.callback(1);
6452
+ }), ee.value = e, g.value = j.templateId, re.value = t, y.value = n, j.hideAddons === !1 && ne.value === !1) {
6453
+ j.callback(1);
6447
6454
  return;
6448
6455
  }
6449
- A.callback(2);
6456
+ j.callback(2);
6450
6457
  }
6451
6458
  return (n, i) => (b(), u(Be, {
6452
6459
  title: e.title,
6453
6460
  subtitle: r(t)("booking.availability.selectATemplateRoom")
6454
6461
  }, {
6455
- footer: S(() => [T("div", bn, [ve.value.length > 0 ? (b(), m("div", xn, [(b(!0), m(a, null, w(ve.value, (e) => (b(), m("div", {
6462
+ footer: S(() => [T("div", bn, [_e.value.length > 0 ? (b(), m("div", xn, [(b(!0), m(a, null, w(_e.value, (e) => (b(), m("div", {
6456
6463
  key: e.id,
6457
6464
  class: "konnectio-template-selection-item"
6458
6465
  }, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(Me)(e.totalPrice, r(x))), 1)]), T("div", Tn, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
@@ -6463,12 +6470,12 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6463
6470
  e.children > 0 ? (b(), m(a, { key: 0 }, [s(" , " + h(e.children) + " " + h(r(t)("availability.children")), 1)], 64)) : d("", !0),
6464
6471
  s(" · " + h(r(Me)(e.price, r(x))), 1)
6465
6472
  ]))), 128))])]))), 128))])) : d("", !0), l(Ne, {
6466
- onClickEvent: be,
6467
- label: `${B() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(Me)(_e(), r(x))})`,
6468
- disabled: B() === 0,
6473
+ onClickEvent: ye,
6474
+ label: `${V() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(Me)(ge(), r(x))})`,
6475
+ disabled: V() === 0,
6469
6476
  "full-width": ""
6470
6477
  }, null, 8, ["label", "disabled"])])]),
6471
- default: S(() => [T("div", hn, [T("div", gn, [(b(!0), m(a, null, w(R.value, (e) => (b(), u(Xe, {
6478
+ default: S(() => [T("div", hn, [T("div", gn, [(b(!0), m(a, null, w(z.value, (e) => (b(), u(Xe, {
6472
6479
  key: e.id,
6473
6480
  type: "hotel",
6474
6481
  "listing-id": e.id,
@@ -6480,9 +6487,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6480
6487
  "includes-breakfast": !1,
6481
6488
  "hide-info-button": !0
6482
6489
  }, {
6483
- action: S(() => [T("div", _n, [T("div", vn, [l(je, {
6484
- modelValue: F[e.id].units,
6485
- "onUpdate:modelValue": (t) => F[e.id].units = t,
6490
+ action: S(() => [T("div", _n, [T("div", vn, [l(Ae, {
6491
+ modelValue: I[e.id].units,
6492
+ "onUpdate:modelValue": (t) => I[e.id].units = t,
6486
6493
  label: r(t)("booking.availability.units"),
6487
6494
  icon: "house",
6488
6495
  "icon-type": "fas",
@@ -6495,10 +6502,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6495
6502
  "onUpdate:modelValue",
6496
6503
  "label",
6497
6504
  "max-value"
6498
- ])]), (b(!0), m(a, null, w(F[e.id].configs, (n, i) => (b(), m("div", {
6505
+ ])]), (b(!0), m(a, null, w(I[e.id].configs, (n, i) => (b(), m("div", {
6499
6506
  key: i,
6500
6507
  class: "konnectio-template-room-unit-config"
6501
- }, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(Me)(ge(e.id, i), r(x))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(O)(r(c)) }]) }, [l(je, {
6508
+ }, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(Me)(B(e.id, i), r(x))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(k)(r(c)) }]) }, [l(Ae, {
6502
6509
  modelValue: n.adults,
6503
6510
  "onUpdate:modelValue": (e) => n.adults = e,
6504
6511
  label: r(t)("availability.adults"),
@@ -6515,7 +6522,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6515
6522
  "label",
6516
6523
  "description",
6517
6524
  "max-value"
6518
- ]), r(O)(r(c)) ? (b(), u(je, {
6525
+ ]), r(k)(r(c)) ? (b(), u(Ae, {
6519
6526
  key: 0,
6520
6527
  modelValue: n.children,
6521
6528
  "onUpdate:modelValue": (e) => n.children = e,
@@ -6546,7 +6553,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6546
6553
  _: 1
6547
6554
  }, 8, ["title", "subtitle"]));
6548
6555
  }
6549
- }), [["__scopeId", "data-v-9cb8e8f4"]]), Dn = { class: "konnectio-template-select-package" }, On = /* @__PURE__ */ R({
6556
+ }), [["__scopeId", "data-v-9cb8e8f4"]]), Dn = { class: "konnectio-template-select-package" }, On = /* @__PURE__ */ z({
6550
6557
  __name: "Template",
6551
6558
  props: {
6552
6559
  id: {},
@@ -6559,7 +6566,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6559
6566
  callback: { type: Function }
6560
6567
  },
6561
6568
  setup(e) {
6562
- let { t } = v(), i = e, { isSearchOutdated: a } = C(he()), o = n(() => i.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + i.weekendFee), s = I(!1);
6569
+ let { t } = v(), i = e, { isSearchOutdated: a } = C(he()), o = n(() => i.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + i.weekendFee), s = R(!1);
6563
6570
  function c() {
6564
6571
  s.value = !0;
6565
6572
  }
@@ -6572,7 +6579,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6572
6579
  name: e.name,
6573
6580
  description: e.description,
6574
6581
  gallery: e.images,
6575
- layout: r(we).Template,
6582
+ layout: r(Ce).Template,
6576
6583
  "includes-breakfast": !1,
6577
6584
  "hide-info-button": !1,
6578
6585
  "prices-from": o.value
@@ -6610,7 +6617,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6610
6617
  "prices-from"
6611
6618
  ]));
6612
6619
  }
6613
- }), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6620
+ }), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/ V(/* @__PURE__ */ z({
6614
6621
  __name: "SpecialOffer",
6615
6622
  props: {
6616
6623
  id: {},
@@ -6623,7 +6630,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6623
6630
  roomGroups: {}
6624
6631
  },
6625
6632
  setup(e) {
6626
- let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = I([]), c = n(() => Pe(o.fromDate, o.toDate) === 1);
6633
+ let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = R([]), c = n(() => Pe(o.fromDate, o.toDate) === 1);
6627
6634
  function d() {
6628
6635
  s.value.length > 0 ? i(s.value[0], s.value[1]) : a({
6629
6636
  message: t("alert.error.selectDates"),
@@ -6638,7 +6645,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6638
6645
  name: e.name,
6639
6646
  description: e.description,
6640
6647
  gallery: e.images,
6641
- layout: r(we).Template,
6648
+ layout: r(Ce).Template,
6642
6649
  "includes-breakfast": !1,
6643
6650
  "hide-info-button": !1,
6644
6651
  "to-date": e.toDate,
@@ -6668,7 +6675,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6668
6675
  "readonly"
6669
6676
  ]), T("div", An, [l(Ne, {
6670
6677
  label: r(t)("availability.buttonLabel"),
6671
- onClick: F(d, ["prevent"])
6678
+ onClick: I(d, ["prevent"])
6672
6679
  }, null, 8, ["label"])])])]),
6673
6680
  _: 1
6674
6681
  }, 8, [
@@ -6681,7 +6688,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6681
6688
  "from-date"
6682
6689
  ]));
6683
6690
  }
6684
- }), [["__scopeId", "data-v-8f8a4dff"]]), Mn = /* @__PURE__ */ R({
6691
+ }), [["__scopeId", "data-v-8f8a4dff"]]), Mn = /* @__PURE__ */ z({
6685
6692
  __name: "TimeField",
6686
6693
  props: {
6687
6694
  modelValue: {},
@@ -6703,8 +6710,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6703
6710
  function i(e) {
6704
6711
  n("update:modelValue", e);
6705
6712
  }
6706
- let a = I(r.modelValue);
6707
- return ae(a, (e) => {
6713
+ let a = R(r.modelValue);
6714
+ return O(a, (e) => {
6708
6715
  i(e);
6709
6716
  }), (t, n) => (b(), u(Ue, {
6710
6717
  modelValue: a.value,
@@ -6738,7 +6745,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6738
6745
  }), Nn = { style: {
6739
6746
  display: "flex",
6740
6747
  "align-items": "baseline"
6741
- } }, Pn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6748
+ } }, Pn = /*#__PURE__*/ V(/* @__PURE__ */ z({
6742
6749
  __name: "CountryField",
6743
6750
  props: {
6744
6751
  modelValue: {},
@@ -6765,7 +6772,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6765
6772
  get: () => o.modelValue,
6766
6773
  set: (e) => s(e)
6767
6774
  });
6768
- return (t, n) => (b(), u(V, {
6775
+ return (t, n) => (b(), u(je, {
6769
6776
  modelValue: c.value,
6770
6777
  "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
6771
6778
  label: e.label,
@@ -6788,7 +6795,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6788
6795
  "error"
6789
6796
  ]));
6790
6797
  }
6791
- }), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6798
+ }), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/ V(/* @__PURE__ */ z({
6792
6799
  __name: "NameField",
6793
6800
  props: {
6794
6801
  modelValue: {},
@@ -6825,17 +6832,17 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6825
6832
  },
6826
6833
  emits: ["update:modelValue", "update:title"],
6827
6834
  setup(e, { emit: t }) {
6828
- let n = e, i = t, a = n.id || Se(), o = I(""), s = I(2);
6835
+ let n = e, i = t, a = n.id || xe(), o = R(""), s = R(2);
6829
6836
  function c() {
6830
6837
  i("update:modelValue", o.value);
6831
6838
  }
6832
- ae(s, (e) => {
6839
+ O(s, (e) => {
6833
6840
  i("update:title", e);
6834
6841
  });
6835
6842
  let { t: f } = v();
6836
6843
  return g(() => {
6837
6844
  n.modelValue && (o.value = n.modelValue), n.title && (s.value = n.title);
6838
- }), (t, n) => (b(), u(Ce, {
6845
+ }), (t, n) => (b(), u(Se, {
6839
6846
  label: e.label,
6840
6847
  id: r(a),
6841
6848
  required: e.required,
@@ -6844,11 +6851,11 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6844
6851
  limit: e.limit,
6845
6852
  error: e.error
6846
6853
  }, {
6847
- default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(V, {
6854
+ default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(je, {
6848
6855
  key: 0,
6849
6856
  modelValue: s.value,
6850
6857
  "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
6851
- id: r(Se)(),
6858
+ id: r(xe)(),
6852
6859
  icon: e.icon,
6853
6860
  "icon-color": e.iconColor,
6854
6861
  "icon-type": e.iconType,
@@ -6885,7 +6892,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6885
6892
  "icon-type",
6886
6893
  "options",
6887
6894
  "readonly"
6888
- ])), l(Ae, {
6895
+ ])), l(ke, {
6889
6896
  modelValue: o.value,
6890
6897
  "onUpdate:modelValue": n[1] ||= (e) => o.value = e,
6891
6898
  type: "text",
@@ -6921,101 +6928,101 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6921
6928
  "error"
6922
6929
  ]));
6923
6930
  }
6924
- }), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, $ = { class: "hotel-skeleton-content" }, Ln = { class: "hotel-skeleton-sidebar" }, Rn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6931
+ }), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/ V(/* @__PURE__ */ z({
6925
6932
  __name: "HotelSkeleton",
6926
6933
  setup(e) {
6927
- return (e, t) => (b(), m("div", In, [T("div", $, [l(We, { hotel: "" }), l(Ze)]), T("div", Ln, [l(Qe)])]));
6934
+ return (e, t) => (b(), m("div", In, [T("div", Ln, [l(We, { hotel: "" }), l(Ze)]), T("div", Rn, [l(Qe)])]));
6928
6935
  }
6929
- }), [["__scopeId", "data-v-2ff36444"]]), zn = { id: "booking-availability-container" }, Bn = { id: "booking-availability-controls" }, Vn = {
6936
+ }), [["__scopeId", "data-v-2ff36444"]]), Bn = { id: "booking-availability-container" }, Vn = { id: "booking-availability-controls" }, Hn = {
6930
6937
  key: 0,
6931
6938
  id: "konnectio-hotel-deal-no-availability",
6932
6939
  class: "konnectio-panel konnectio-filter-notice"
6933
- }, Hn = {
6940
+ }, Un = {
6934
6941
  key: 1,
6935
6942
  class: "konnectio-panel konnectio-filter-notice"
6936
- }, Un = ["innerHTML"], Wn = {
6943
+ }, Wn = ["innerHTML"], Gn = {
6937
6944
  key: 2,
6938
6945
  class: "konnectio-panel konnectio-filter-notice"
6939
- }, Gn = ["innerHTML"], Kn = {
6946
+ }, Kn = ["innerHTML"], qn = {
6940
6947
  key: 3,
6941
6948
  class: "konnectio-panel konnectio-filter-notice"
6942
- }, qn = { key: 5 }, Jn = { key: 0 }, Yn = {
6949
+ }, Jn = { key: 5 }, Yn = { key: 0 }, Xn = {
6943
6950
  key: 0,
6944
6951
  id: "booking-availability-packages"
6945
- }, Xn = {
6952
+ }, Zn = {
6946
6953
  key: 0,
6947
6954
  class: "konnectio-hotel-availability-title"
6948
- }, Zn = { id: "booking-availability-packages-wrapper" }, Qn = { key: 1 }, $n = {
6955
+ }, Qn = { id: "booking-availability-packages-wrapper" }, $n = { key: 1 }, er = {
6949
6956
  key: 0,
6950
6957
  class: "konnectio-hotel-availability-title"
6951
- }, er = { id: "konnectio-listings" }, tr = {
6958
+ }, tr = { id: "konnectio-listings" }, nr = {
6952
6959
  key: 0,
6953
6960
  class: "konnectio-hotel-availability-title"
6954
- }, nr = { id: "konnectio-listings" }, rr = {
6961
+ }, rr = { id: "konnectio-listings" }, ir = {
6955
6962
  key: 0,
6956
6963
  id: "booking-availability-packages"
6957
- }, ir = { class: "konnectio-hotel-availability-title" }, ar = { id: "booking-availability-packages-wrapper" }, or = {
6964
+ }, ar = { class: "konnectio-hotel-availability-title" }, or = { id: "booking-availability-packages-wrapper" }, sr = {
6958
6965
  key: 3,
6959
6966
  id: "booking-availability-no-listings",
6960
6967
  class: "konnectio-panel"
6961
- }, sr = {
6968
+ }, cr = {
6962
6969
  key: 1,
6963
6970
  id: "reservation-availability-next-dates"
6964
- }, cr = { class: "konnectio-panel konnectio-filter-notice" }, lr = ["innerHTML"], ur = { class: "konnectio-hotel-availability-title" }, dr = { class: "reservation-special-offers-grid" }, fr = ["title"], pr = { key: 0 }, mr = {
6971
+ }, lr = { class: "konnectio-panel konnectio-filter-notice" }, ur = ["innerHTML"], dr = { class: "konnectio-hotel-availability-title" }, fr = { class: "reservation-special-offers-grid" }, pr = ["title"], mr = { key: 0 }, hr = {
6965
6972
  key: 2,
6966
6973
  id: "booking-availability-no-listings",
6967
6974
  class: "konnectio-panel"
6968
- }, hr = {
6975
+ }, gr = {
6969
6976
  key: 6,
6970
6977
  class: "konnectio-panel"
6971
- }, gr = {
6978
+ }, _r = {
6972
6979
  key: 7,
6973
6980
  class: "konnectio-listing-loading"
6974
- }, _r = { class: "konnectio-hotel-availability-warning" }, vr = { class: "konnectio-hotel-availability-warning" }, yr = { class: "konnectio-panel" }, br = {
6981
+ }, vr = { class: "konnectio-hotel-availability-warning" }, yr = { class: "konnectio-hotel-availability-warning" }, br = { class: "konnectio-panel" }, xr = {
6975
6982
  key: 0,
6976
6983
  class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
6977
- }, xr = ["innerHTML"], Sr = {
6984
+ }, Sr = ["innerHTML"], Cr = {
6978
6985
  key: 0,
6979
6986
  id: "konnectio-hotel-addons"
6980
- }, Cr = { key: 0 }, wr = {
6987
+ }, wr = { key: 0 }, Tr = {
6981
6988
  key: 0,
6982
6989
  class: "konnectio-addons-included"
6983
- }, Tr = ["innerHTML"], Er = {
6990
+ }, Er = ["innerHTML"], Dr = {
6984
6991
  key: 1,
6985
6992
  class: "konnectio-table with-lines without-header"
6986
- }, Dr = { class: "konnectio-event-addons-price" }, Or = { key: 1 }, kr = {
6993
+ }, Or = { class: "konnectio-event-addons-price" }, kr = { key: 1 }, Ar = {
6987
6994
  key: 0,
6988
6995
  class: "konnectio-table-addons-image"
6989
- }, Ar = ["innerHTML"], jr = { class: "konnectio-table-addons-option" }, Mr = {
6996
+ }, jr = ["innerHTML"], Mr = { class: "konnectio-table-addons-option" }, Nr = {
6990
6997
  key: 1,
6991
6998
  id: "konnectio-hotel-addons"
6992
- }, Nr = {
6999
+ }, Pr = {
6993
7000
  key: 0,
6994
7001
  class: "konnectio-addons-included"
6995
- }, Pr = ["innerHTML"], Fr = {
7002
+ }, Fr = ["innerHTML"], Ir = {
6996
7003
  key: 1,
6997
7004
  class: "konnectio-table with-lines without-header"
6998
- }, Ir = {
7005
+ }, Lr = {
6999
7006
  key: 0,
7000
7007
  class: "konnectio-hotel-reservation-room-name"
7001
- }, Lr = {
7008
+ }, Rr = {
7002
7009
  key: 0,
7003
7010
  class: "konnectio-table-addons-image"
7004
- }, Rr = ["innerHTML"], zr = { class: "konnectio-table-addons-option" }, Br = { class: "konnectio-panel" }, Vr = {
7011
+ }, zr = ["innerHTML"], Br = { class: "konnectio-table-addons-option" }, Vr = { class: "konnectio-panel" }, Hr = {
7005
7012
  key: 0,
7006
7013
  class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
7007
- }, Hr = ["innerHTML"], Ur = { key: 0 }, Wr = { key: 1 }, Gr = {
7008
- key: 2,
7014
+ }, Ur = ["innerHTML"], Wr = { key: 0 }, Gr = { key: 1 }, Kr = {
7015
+ key: 3,
7009
7016
  class: "konnectio-show-on-mobile"
7010
- }, Kr = { class: "konnectio-split-inputs" }, qr = {
7017
+ }, qr = { class: "konnectio-split-inputs" }, Jr = {
7011
7018
  key: 0,
7012
7019
  class: "konnectio-hotel-member-card-mockup"
7013
- }, Jr = ["src"], Yr = { class: "konnectio-hotel-member-card-details" }, Xr = { key: 0 }, Zr = { key: 0 }, Qr = /*@__PURE__*/ R({
7020
+ }, Yr = ["src"], Xr = { class: "konnectio-hotel-member-card-details" }, Zr = { key: 0 }, Qr = { key: 0 }, $r = /*@__PURE__*/ z({
7014
7021
  name: "HotelLayout",
7015
7022
  __name: "Hotel",
7016
7023
  props: {
7017
7024
  accessToken: {},
7018
- headerLayout: { default: De.Minimal },
7025
+ headerLayout: { default: Ee.Minimal },
7019
7026
  onlyShow: { default: "everything" },
7020
7027
  hideAddons: { default: "no" },
7021
7028
  disableDefaultLocation: { default: "no" },
@@ -7033,36 +7040,39 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7033
7040
  styling: {}
7034
7041
  },
7035
7042
  setup(e) {
7036
- let t = _(() => import("./_-BGvq5fCt.js").then((e) => e.n)), o = e, { t: c } = v(), f = he();
7043
+ let t = _(() => import("./_-Boaxs6AH.js").then((e) => e.n)), o = e, { t: c } = v(), f = he();
7037
7044
  f.requireDealCode = o.requireDealCode === "yes";
7038
- let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: O, isReservationFormFilled: k, travelingFor: A, arrivalTime: j, departureTime: M, name: N, nameTitle: P, email: F, phone: I, firmName: R, postal: z, city: fe, address: B, country: ye, remark: xe, allergies: Se, roomSelect: Ce, roomDisplay: we, hasValidRoomSelection: De, availabilityData: V, selectionHasNoAddons: Pe, isAvailabilityDataAvailable: Be, getSelectedPackageRooms: Ue, selectedPackage: We, isSearchOutdated: Ke, isTemplateReservation: U, newsMails: qe, adultsMismatch: Xe, childrenMismatch: Ze, totalAdults: Qe, totalChildren: tt, hasGuestDiscountId: nt, hasGuestDiscountCode: rt, guestDiscountId: it, guestDiscountName: at, guestDiscountCode: ot, hasMemberCards: st, memberCardList: ct, selectedMemberCard: lt, memberCardControlNumber: ut, memberCardNumber: dt, selectedMemberCardObject: ft, selectedMemberCardData: pt, discountCode: mt, appliedDiscountCode: ht, discountPayload: gt, dealResolved: _t, dealNoAvailability: W } = C(f), { isHostedCheckoutActive: G } = C(Oe()), { adults: vt, children: yt, location: bt, arrivalDate: xt, departureDate: q, hasHotelLocations: St } = C(oe()), { isValidHotelId: Ct, updateDates: wt } = oe(), { currency: Tt, enableTracking: Et, disableNamePrefix: Dt, disableTravelingFor: J, disableTravelingForBleasure: Ot, disableCompanyField: kt, hasPaymentGateway: At, maxAdultAmount: jt, maxChildAmount: Mt, defaultAdultAmount: Nt, defaultChildAmount: Pt, disableNewsletterSignup: Ft, hasActiveIdFilter: It, hotelSettings: Lt } = C(ce()), { hasArrivalDepartureInputs: Rt, hasUserArrivalSelection: zt, hasUserDepartureSelection: Bt, earliestArrivalTime: Vt, latestArrivalTime: Y, earliestDepartureTime: Ht, latestDepartureTime: Ut, hasSharedAddonSelection: Wt, setActiveIdFilter: Gt, clearActiveIdFilter: qt } = ce(), { beginCheckout: Jt } = se(), { display: Yt } = me(), { createReservation: Xt, fetchMetadata: Zt, fetchAvailabilityData: Qt, filterAddons: $t, hasAvailableRoomAddons: en, checkGuestDiscount: tn, setGuestDiscountCode: nn, validateMemberCard: rn, onOverviewReset: Q, resetDealFlow: an, validateDiscountCode: on, reservationPayload: sn } = he();
7039
- Re.useHttpClient(Ve(ve()));
7040
- let cn = Ie("post", "/hotel/create-reservation", sn());
7041
- cn.setValidationTimeout(600);
7042
- function ln(e) {
7043
- cn.setData(sn()), cn.validate(e);
7044
- }
7045
- function un(e) {
7046
- return cn.errors[e];
7047
- }
7048
- ae(N, () => ln("guest.name")), ae(F, () => ln("guest.email")), ae(I, () => ln("guest.phone")), ae(ye, () => ln("guest.country")), ae(B, () => ln("guest.address1")), ae(z, () => ln("guest.postal")), ae(fe, () => ln("guest.city"));
7049
- let dn = n(() => o.sortOrder === "desc"), fn = n(() => o.requireDiscountCode === "yes" && !rt.value || o.requireDealCode === "yes" && !_t.value);
7050
- function pn(e, t) {
7051
- return $t(e, t ?? 0).filter((e) => e.cardinality === ke.Mandatory);
7045
+ let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: k, isReservationFormFilled: A, totalPrice: j, travelingFor: M, arrivalTime: N, departureTime: P, name: F, nameTitle: I, email: R, confirmEmail: z, phone: ae, firmName: fe, postal: V, city: ve, address: be, country: xe, remark: Se, allergies: Ce, roomSelect: Ee, roomDisplay: je, hasValidRoomSelection: Pe, availabilityData: Be, selectionHasNoAddons: Ue, isAvailabilityDataAvailable: We, getSelectedPackageRooms: Ke, selectedPackage: U, isSearchOutdated: qe, isTemplateReservation: Xe, newsMails: Ze, adultsMismatch: Qe, childrenMismatch: tt, totalAdults: nt, totalChildren: rt, hasGuestDiscountId: it, hasGuestDiscountCode: at, guestDiscountId: ot, guestDiscountName: st, guestDiscountCode: ct, hasMemberCards: lt, memberCardList: ut, selectedMemberCard: dt, memberCardControlNumber: ft, memberCardNumber: pt, selectedMemberCardObject: mt, selectedMemberCardData: ht, discountCode: gt, appliedDiscountCode: _t, discountPayload: W, dealResolved: G, dealNoAvailability: vt } = C(f), { isHostedCheckoutActive: yt } = C(De()), { adults: bt, children: xt, location: q, arrivalDate: St, departureDate: Ct, hasHotelLocations: wt } = C(oe()), { isValidHotelId: Tt, updateDates: Et } = oe(), { currency: Dt, enableTracking: J, disableNamePrefix: Ot, disableTravelingFor: kt, disableTravelingForBleasure: At, disableCompanyField: jt, hasPaymentGateway: Mt, maxAdultAmount: Nt, maxChildAmount: Pt, defaultAdultAmount: Ft, defaultChildAmount: It, disableNewsletterSignup: Lt, requireEmailConfirmation: Rt, hasActiveIdFilter: zt, hotelSettings: Bt } = C(ce()), { hasArrivalDepartureInputs: Vt, hasUserArrivalSelection: Y, hasUserDepartureSelection: Ht, earliestArrivalTime: Ut, latestArrivalTime: Wt, earliestDepartureTime: Gt, latestDepartureTime: qt, hasSharedAddonSelection: Jt, setActiveIdFilter: Yt, clearActiveIdFilter: Xt } = ce(), { beginCheckout: Zt } = se(), { display: Qt } = me(), { createReservation: $t, fetchMetadata: en, fetchAvailabilityData: tn, filterAddons: nn, hasAvailableRoomAddons: rn, checkGuestDiscount: Q, setGuestDiscountCode: an, validateMemberCard: on, onOverviewReset: sn, resetDealFlow: cn, validateDiscountCode: ln, reservationPayload: un } = he();
7046
+ Re.useHttpClient(Ve(_e()));
7047
+ let dn = Ie("post", "/hotel/create-reservation", un());
7048
+ dn.setValidationTimeout(600);
7049
+ function fn(e) {
7050
+ dn.setData(un()), dn.validate(e);
7051
+ }
7052
+ function pn(e) {
7053
+ return dn.errors[e];
7054
+ }
7055
+ let hn = n(() => {
7056
+ if (Rt.value && z.value !== "" && z.value !== R.value) return c("booking.reservation.confirmEmailError");
7057
+ });
7058
+ O(F, () => fn("guest.name")), O(R, () => fn("guest.email")), O(ae, () => fn("guest.phone")), O(xe, () => fn("guest.country")), O(be, () => fn("guest.address1")), O(V, () => fn("guest.postal")), O(ve, () => fn("guest.city"));
7059
+ let gn = n(() => o.sortOrder === "desc"), _n = n(() => o.requireDiscountCode === "yes" && !at.value || o.requireDealCode === "yes" && !G.value);
7060
+ function vn(e, t) {
7061
+ return nn(e, t ?? 0).filter((e) => e.cardinality === Oe.Mandatory);
7052
7062
  }
7053
- function hn(e, t) {
7054
- return $t(e, t ?? 0).filter((e) => e.cardinality !== ke.Mandatory);
7063
+ function yn(e, t) {
7064
+ return nn(e, t ?? 0).filter((e) => e.cardinality !== Oe.Mandatory);
7055
7065
  }
7056
- function gn(e) {
7066
+ function bn(e) {
7057
7067
  let t = [];
7058
- return Wt(p.value) ? (e?.forEach((e) => {
7068
+ return Jt(p.value) ? (e?.forEach((e) => {
7059
7069
  let n = t.find((t) => t.configIdx === e.configIdx);
7060
7070
  n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
7061
7071
  }), t) : e ?? [];
7062
7072
  }
7063
- let _n = n(() => {
7073
+ let xn = n(() => {
7064
7074
  let e = [];
7065
- return Wt(p.value) ? re.value.forEach((t) => {
7075
+ return Jt(p.value) ? re.value.forEach((t) => {
7066
7076
  let n = e.find((e) => e.roomGroupId === t.roomGroupId);
7067
7077
  n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
7068
7078
  }) : re.value.forEach((t, n) => {
@@ -7072,7 +7082,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7072
7082
  unitTotal: re.value.filter((e) => e.roomGroupId === t.roomGroupId).length
7073
7083
  });
7074
7084
  }), e;
7075
- }), vn = n(() => [
7085
+ }), Sn = n(() => [
7076
7086
  {
7077
7087
  id: "availability",
7078
7088
  label: c("booking.availability.title"),
@@ -7097,7 +7107,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7097
7107
  label: c("booking.confirmation.title"),
7098
7108
  icon: "calendar-check"
7099
7109
  }
7100
- ]), yn = n(() => {
7110
+ ]), Cn = n(() => {
7101
7111
  let e = [{
7102
7112
  label: c("booking.reservation.business"),
7103
7113
  value: "Business"
@@ -7105,150 +7115,150 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7105
7115
  label: c("booking.reservation.pleasure"),
7106
7116
  value: "Pleasure"
7107
7117
  }];
7108
- return Ot.value || e.push({
7118
+ return At.value || e.push({
7109
7119
  label: c("booking.reservation.bleasure"),
7110
7120
  value: "Bleasure"
7111
7121
  }), e;
7112
- }), bn = n(() => {
7113
- let e = V.value.roomGroups.slice();
7122
+ }), wn = n(() => {
7123
+ let e = Be.value.roomGroups.slice();
7114
7124
  function t(e, t) {
7115
- return dn.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
7125
+ return gn.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
7116
7126
  }
7117
7127
  return o.sortBy === "price" && (e = e.sort(t)), e.reduce((e, t) => {
7118
7128
  let n = t.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms";
7119
7129
  return (e[n] ??= []).push(t), e;
7120
7130
  }, {});
7121
7131
  });
7122
- function xn(e) {
7132
+ function Tn(e) {
7123
7133
  return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
7124
7134
  }
7125
- let Sn = n(() => {
7126
- let e = V.value.templates.slice();
7135
+ let En = n(() => {
7136
+ let e = Be.value.templates.slice();
7127
7137
  return o.sortBy === "price" && e.sort((e, t) => {
7128
- let n = xn(e), r = xn(t);
7129
- return dn.value ? r - n : n - r;
7138
+ let n = Tn(e), r = Tn(t);
7139
+ return gn.value ? r - n : n - r;
7130
7140
  }), e;
7131
- }), Cn = n(() => {
7132
- let e = V.value.specialTemplates.slice();
7141
+ }), Dn = n(() => {
7142
+ let e = Be.value.specialTemplates.slice();
7133
7143
  return o.sortBy === "price" && e.sort((e, t) => {
7134
- let n = xn(e), r = xn(t);
7135
- return dn.value ? r - n : n - r;
7144
+ let n = Tn(e), r = Tn(t);
7145
+ return gn.value ? r - n : n - r;
7136
7146
  }), e;
7137
- }), wn = n(() => o.hideAddons === "yes" || U.value && o.hideAddons === "packages" || !U.value && o.hideAddons === "rooms");
7138
- function Tn(e) {
7147
+ }), kn = n(() => o.hideAddons === "yes" || Xe.value && o.hideAddons === "packages" || !Xe.value && o.hideAddons === "rooms");
7148
+ function An(e) {
7139
7149
  let t = $.discount;
7140
7150
  if (o.requireDealCode === "yes") {
7141
7151
  e();
7142
7152
  return;
7143
7153
  }
7144
- t && t !== ht.value ? (mt.value = t, on()) : rt.value && !gt.value && ot.value !== ht.value && (mt.value = ot.value, on()), e();
7154
+ t && t !== _t.value ? (gt.value = t, ln()) : at.value && !W.value && ct.value !== _t.value && (gt.value = ct.value, ln()), e();
7145
7155
  }
7146
- function En(e) {
7147
- wn.value || Pe.value ? e(2) : e();
7156
+ function Nn(e) {
7157
+ kn.value || Ue.value ? e(2) : e();
7148
7158
  }
7149
- async function Dn(e, t) {
7150
- let n = await Xt(e, t);
7151
- n && cn.setErrors(n);
7159
+ async function In(e, t) {
7160
+ let n = await $t(e, t);
7161
+ n && dn.setErrors(n);
7152
7162
  }
7153
- function kn() {
7154
- if ((bt.value === void 0 || isNaN(bt.value)) && St.value) {
7155
- Yt({
7163
+ function Ln() {
7164
+ if ((q.value === void 0 || isNaN(q.value)) && wt.value) {
7165
+ Qt({
7156
7166
  message: c("alert.error.selectHotelId"),
7157
7167
  type: "error"
7158
7168
  });
7159
7169
  return;
7160
7170
  }
7161
- Qt();
7171
+ tn();
7162
7172
  }
7163
- function An() {
7173
+ function Rn() {
7164
7174
  let e = x("history", { removeNullishValues: !0 });
7165
- qt(), e.id = void 0, Qt();
7175
+ Xt(), e.id = void 0, tn();
7166
7176
  }
7167
- function Nn(e) {
7168
- Et.value && Jt(), o.requireDealCode !== "yes" && rt.value && !gt.value && ot.value !== ht.value && (mt.value = ot.value, on()), wn.value || Pe.value ? e(2) : e();
7177
+ function $r(e) {
7178
+ J.value && Zt(), o.requireDealCode !== "yes" && at.value && !W.value && ct.value !== _t.value && (gt.value = ct.value, ln()), kn.value || Ue.value ? e(2) : e();
7169
7179
  }
7170
- function In() {
7171
- let e = bt.value;
7172
- o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Lt.value[e] && (Lt.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Lt.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Lt.value[e].departureDefault = o.forceDepartureTime));
7180
+ function ei() {
7181
+ let e = q.value;
7182
+ o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Bt.value[e] && (Bt.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Bt.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Bt.value[e].departureDefault = o.forceDepartureTime));
7173
7183
  }
7174
7184
  let $ = x("history", { removeNullishValues: !0 });
7175
- async function Ln() {
7176
- In();
7185
+ async function ti() {
7186
+ ei();
7177
7187
  let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), r = parseInt($.n), i = $.ci, a = $.co, s = $.id, l = parseInt($.gid), u = $.discount, d = !1;
7178
- if (isNaN(e) || (e > jt.value ? vt.value = jt.value : vt.value = e, vt.value === Nt.value && ($.a = void 0)), isNaN(t) || (t > Mt.value ? yt.value = Mt.value : yt.value = t, yt.value === Pt.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (Ct(n) ? (bt.value = n, d = !0) : ($.hid = void 0, Yt({
7188
+ if (isNaN(e) || (e > Nt.value ? bt.value = Nt.value : bt.value = e, bt.value === Ft.value && ($.a = void 0)), isNaN(t) || (t > Pt.value ? xt.value = Pt.value : xt.value = t, xt.value === It.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (Tt(n) ? (q.value = n, d = !0) : ($.hid = void 0, Qt({
7179
7189
  message: c("alert.error.hotelIdNotFound"),
7180
7190
  type: "error"
7181
7191
  }))), i && a) {
7182
7192
  if (de(i) && de(a)) {
7183
- let e = new Date(be(i).setHours(12, 0, 0, 0)), t = new Date(be(a).setHours(12, 0, 0, 0));
7184
- e <= t ? (xt.value = e, q.value = t) : ($.ci = void 0, $.co = void 0, Yt({
7193
+ let e = new Date(ye(i).setHours(12, 0, 0, 0)), t = new Date(ye(a).setHours(12, 0, 0, 0));
7194
+ e <= t ? (St.value = e, Ct.value = t) : ($.ci = void 0, $.co = void 0, Qt({
7185
7195
  message: c("alert.error.invalidDateRange"),
7186
7196
  type: "error"
7187
7197
  }));
7188
- } else Yt({
7198
+ } else Qt({
7189
7199
  message: c("alert.error.wrongDateFormat"),
7190
7200
  type: "error"
7191
7201
  });
7192
7202
  }
7193
- if (s && Gt(s), l) {
7194
- await tn(l) || delete $.gid;
7203
+ if (s && Yt(s), l) {
7204
+ await Q(l) || delete $.gid;
7195
7205
  return;
7196
7206
  }
7197
- u && nn(u), o.disableDefaultLocation === "yes" && d === !1 ? (bt.value = void 0, p.value = NaN) : Qt();
7207
+ u && an(u), o.disableDefaultLocation === "yes" && d === !1 ? (q.value = void 0, p.value = NaN) : tn();
7198
7208
  }
7199
- return (n, o) => (b(), u(Te, { styling: e.styling }, {
7200
- default: S(() => [(b(), u(i, { onResolve: Ln }, {
7209
+ return (n, o) => (b(), u(we, { styling: e.styling }, {
7210
+ default: S(() => [(b(), u(i, { onResolve: ti }, {
7201
7211
  default: S(() => [l(r(t), {
7202
7212
  id: "konnectio-hotel-module",
7203
7213
  "access-token": e.accessToken,
7204
- callback: r(Zt)
7214
+ callback: r(en)
7205
7215
  }, {
7206
7216
  default: S(() => [
7207
- ne(l(Kt, { onCallback: Ln }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(nt)]]),
7208
- ne(l(Z, null, null, 512), [[ee, fn.value]]),
7217
+ ne(l(Kt, { onCallback: ti }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(it)]]),
7218
+ ne(l(Z, null, null, 512), [[ee, _n.value]]),
7209
7219
  ne(l(et, {
7210
7220
  layout: e.headerLayout,
7211
- steps: vn.value,
7212
- onReset: r(Q)
7221
+ steps: Sn.value,
7222
+ onReset: r(sn)
7213
7223
  }, {
7214
7224
  availability: S(({ next: t }) => [l(X, {
7215
7225
  "show-remove-room": !0,
7216
7226
  "availability-discount": "",
7217
7227
  "deal-flow": e.requireDealCode === "yes"
7218
7228
  }, {
7219
- form: S(() => [T("div", zn, [
7220
- T("div", Bn, [l(Ge, {
7229
+ form: S(() => [T("div", Bn, [
7230
+ T("div", Vn, [l(Ge, {
7221
7231
  booking: !0,
7222
7232
  "selected-location": Number(e.selectedLocation),
7223
7233
  "disable-default-location": e.disableDefaultLocation === "yes",
7224
- "hide-locations": e.hideLocations === "yes" || r(_t)
7234
+ "hide-locations": e.hideLocations === "yes" || r(G)
7225
7235
  }, null, 8, [
7226
7236
  "selected-location",
7227
7237
  "disable-default-location",
7228
7238
  "hide-locations"
7229
7239
  ])]),
7230
- r(W) ? (b(), m("div", Vn, [
7240
+ r(vt) ? (b(), m("div", Hn, [
7231
7241
  T("h3", null, h(r(c)("dealCode.noAvailabilityTitle")), 1),
7232
7242
  T("p", null, h(r(c)("dealCode.noAvailabilityBody")), 1),
7233
7243
  l(Ne, {
7234
7244
  label: r(c)("dealCode.tryAnotherCode"),
7235
7245
  secondary: "",
7236
- onClickEvent: r(an)
7246
+ onClickEvent: r(cn)
7237
7247
  }, null, 8, ["label", "onClickEvent"])
7238
7248
  ])) : d("", !0),
7239
- r(nt) ? (b(), m("div", Hn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(at) ? r(at) : r(it)}</b>` }) }, null, 8, Un)])) : d("", !0),
7240
- r(rt) && !r(_t) ? (b(), m("div", Wn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(ot)}</b>` }) }, null, 8, Gn)])) : d("", !0),
7241
- r(It) ? (b(), m("div", Kn, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
7249
+ r(it) ? (b(), m("div", Un, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(st) ? r(st) : r(ot)}</b>` }) }, null, 8, Wn)])) : d("", !0),
7250
+ r(at) && !r(G) ? (b(), m("div", Gn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(ct)}</b>` }) }, null, 8, Kn)])) : d("", !0),
7251
+ r(zt) ? (b(), m("div", qn, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
7242
7252
  class: "link",
7243
- onClick: o[0] ||= (e) => An()
7253
+ onClick: o[0] ||= (e) => Rn()
7244
7254
  }, h(r(c)("general.filteredListingShowAll")), 1)])])) : d("", !0),
7245
7255
  d("", !0),
7246
- !r(D) && r(Be) ? (b(), m("div", qn, [bn.value.camping && bn.value.camping.length > 0 && e.onlyShow !== "non-camping" || bn.value.rooms && bn.value.rooms.length > 0 || r(V).templates.length > 0 || r(V).specialTemplates.length > 0 && !r(It) ? (b(), m("div", Jn, [
7247
- r(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", Yn, [e.onlyShow !== "packages" && !r(_t) ? (b(), m("h2", Xn, [l(H, {
7256
+ !r(D) && r(We) ? (b(), m("div", Jn, [wn.value.camping && wn.value.camping.length > 0 && e.onlyShow !== "non-camping" || wn.value.rooms && wn.value.rooms.length > 0 || r(Be).templates.length > 0 || r(Be).specialTemplates.length > 0 && !r(zt) ? (b(), m("div", Yn, [
7257
+ r(Be).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", Xn, [e.onlyShow !== "packages" && !r(G) ? (b(), m("h2", Zn, [l(H, {
7248
7258
  icon: "box",
7249
7259
  type: "fal",
7250
7260
  color: "header"
7251
- }), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])) : d("", !0), T("ul", Zn, [(b(!0), m(a, null, w(Sn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(On, {
7261
+ }), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])) : d("", !0), T("ul", Qn, [(b(!0), m(a, null, w(En.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(On, {
7252
7262
  key: n,
7253
7263
  id: n,
7254
7264
  description: o,
@@ -7268,28 +7278,28 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7268
7278
  "callback",
7269
7279
  "hide-addons"
7270
7280
  ]))), 128))])])) : d("", !0),
7271
- r(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", Qn, [bn.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(V).templates.length > 0 && e.onlyShow !== "rooms" && !r(_t) ? (b(), m("h2", $n, [l(H, {
7281
+ r(Be).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", $n, [wn.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(Be).templates.length > 0 && e.onlyShow !== "rooms" && !r(G) ? (b(), m("h2", er, [l(H, {
7272
7282
  icon: "house",
7273
7283
  type: "fal",
7274
7284
  color: "header"
7275
- }), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", er, [(b(!0), m(a, null, w(bn.value.rooms, (e, n) => (b(), u(mn, {
7285
+ }), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", tr, [(b(!0), m(a, null, w(wn.value.rooms, (e, n) => (b(), u(mn, {
7276
7286
  room: e,
7277
7287
  key: n,
7278
7288
  callback: t
7279
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), bn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(V).templates.length > 0 && e.onlyShow !== "camping" && !r(_t) ? (b(), m("h2", tr, [l(H, {
7289
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), wn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(Be).templates.length > 0 && e.onlyShow !== "camping" && !r(G) ? (b(), m("h2", nr, [l(H, {
7280
7290
  icon: "map-location-dot",
7281
7291
  type: "fal",
7282
7292
  color: "header"
7283
- }), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", nr, [(b(!0), m(a, null, w(bn.value.camping, (e, n) => (b(), u(mn, {
7293
+ }), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", rr, [(b(!0), m(a, null, w(wn.value.camping, (e, n) => (b(), u(mn, {
7284
7294
  room: e,
7285
7295
  key: n,
7286
7296
  callback: t
7287
7297
  }, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0)])) : d("", !0),
7288
- r(It) ? d("", !0) : (b(), m(a, { key: 2 }, [r(V).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", rr, [T("h2", ir, [l(H, {
7298
+ r(zt) ? d("", !0) : (b(), m(a, { key: 2 }, [r(Be).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", ir, [T("h2", ar, [l(H, {
7289
7299
  icon: "sparkles",
7290
7300
  type: "fal",
7291
7301
  color: "header"
7292
- }), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", ar, [(b(!0), m(a, null, w(Cn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(jn, {
7302
+ }), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", or, [(b(!0), m(a, null, w(Dn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(jn, {
7293
7303
  key: e,
7294
7304
  id: e,
7295
7305
  description: i,
@@ -7309,17 +7319,17 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7309
7319
  "weekendFee",
7310
7320
  "room-groups"
7311
7321
  ]))), 128))])])) : d("", !0)], 64)),
7312
- (r(V).templates.length === 0 && e.onlyShow !== "rooms" || r(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", or, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
7313
- ])) : r(V).nextAvailableDates.length > 0 ? (b(), m("div", sr, [
7314
- T("div", cr, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, lr)]),
7315
- T("h2", ur, [l(H, {
7322
+ (r(Be).templates.length === 0 && e.onlyShow !== "rooms" || r(Be).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", sr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
7323
+ ])) : r(Be).nextAvailableDates.length > 0 ? (b(), m("div", cr, [
7324
+ T("div", lr, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, ur)]),
7325
+ T("h2", dr, [l(H, {
7316
7326
  icon: "calendar-circle-exclamation",
7317
7327
  type: "fal",
7318
7328
  color: "header"
7319
7329
  }), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
7320
- T("ul", dr, [(b(!0), m(a, null, w(r(V).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
7321
- T("h3", { title: `${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}`), 1)], 8, fr),
7322
- T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", pr, [l(H, {
7330
+ T("ul", fr, [(b(!0), m(a, null, w(r(Be).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
7331
+ T("h3", { title: `${r(B)(e.fromDate, 0, !0)} - ${r(B)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(B)(e.fromDate, 0, !0)} - ${r(B)(e.toDate, 0, !0)}`), 1)], 8, pr),
7332
+ T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", mr, [l(H, {
7323
7333
  icon: "house",
7324
7334
  type: "fal",
7325
7335
  color: "header"
@@ -7327,79 +7337,79 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7327
7337
  icon: "money-bill",
7328
7338
  type: "fal",
7329
7339
  color: "header"
7330
- }), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Me)(e.priceStartFrom, r(Tt))), 1)])]),
7340
+ }), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Me)(e.priceStartFrom, r(Dt))), 1)])]),
7331
7341
  l(Ne, {
7332
7342
  label: r(c)("booking.availability.selectDates"),
7333
7343
  "full-width": "",
7334
- onClickEvent: (t) => r(wt)(r(be)(e.fromDate), r(be)(e.toDate))
7344
+ onClickEvent: (t) => r(Et)(r(ye)(e.fromDate), r(ye)(e.toDate))
7335
7345
  }, null, 8, ["label", "onClickEvent"])
7336
7346
  ]))), 128))])
7337
- ])) : (b(), m("div", mr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(r(p)) && !r(D) ? (b(), m("div", hr, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", gr, [
7347
+ ])) : (b(), m("div", hr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(r(p)) && !r(D) ? (b(), m("div", gr, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", _r, [
7338
7348
  l($e),
7339
7349
  l($e),
7340
7350
  l($e)
7341
7351
  ]))
7342
7352
  ])]),
7343
7353
  navigation: S(() => [
7344
- r(Ke) ? (b(), u(Ne, {
7354
+ r(qe) ? (b(), u(Ne, {
7345
7355
  key: 0,
7346
7356
  label: isNaN(r(p)) ? r(c)("availability.buttonLabel") : r(c)("general.searchAgain"),
7347
7357
  "is-loading": r(D),
7348
7358
  "full-width": "",
7349
- onClickEvent: o[2] ||= (e) => kn()
7359
+ onClickEvent: o[2] ||= (e) => Ln()
7350
7360
  }, null, 8, ["label", "is-loading"])) : (b(), u(Ne, {
7351
7361
  key: 1,
7352
- label: r(Pe) || wn.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
7353
- disabled: !r(De),
7362
+ label: r(Ue) || kn.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
7363
+ disabled: !r(Pe),
7354
7364
  "full-width": "",
7355
- onClickEvent: (e) => Nn(t)
7365
+ onClickEvent: (e) => $r(t)
7356
7366
  }, null, 8, [
7357
7367
  "label",
7358
7368
  "disabled",
7359
7369
  "onClickEvent"
7360
7370
  ])),
7361
- ne(T("span", _r, [l(H, {
7371
+ ne(T("span", vr, [l(H, {
7362
7372
  icon: "exclamation-triangle",
7363
7373
  type: "fas"
7364
7374
  }), T("span", null, h(r(c)("hotel.mismatchingAdults", {
7365
- searchAdults: r(vt),
7366
- selectedAdults: r(Qe)
7367
- })), 1)], 512), [[ee, r(Xe)]]),
7368
- ne(T("span", vr, [l(H, {
7375
+ searchAdults: r(bt),
7376
+ selectedAdults: r(nt)
7377
+ })), 1)], 512), [[ee, r(Qe)]]),
7378
+ ne(T("span", yr, [l(H, {
7369
7379
  icon: "exclamation-triangle",
7370
7380
  type: "fas"
7371
7381
  }), T("span", null, h(r(c)("hotel.mismatchingChildren", {
7372
- searchChildren: r(yt),
7373
- selectedChildren: r(tt)
7374
- })), 1)], 512), [[ee, r(Ze)]])
7382
+ searchChildren: r(xt),
7383
+ selectedChildren: r(rt)
7384
+ })), 1)], 512), [[ee, r(tt)]])
7375
7385
  ]),
7376
7386
  _: 2
7377
7387
  }, 1032, ["deal-flow"])]),
7378
- addons: S(({ next: t, prev: n }) => [r(Be) ? (b(), u(X, {
7388
+ addons: S(({ next: t, prev: n }) => [r(We) ? (b(), u(X, {
7379
7389
  key: 0,
7380
- "prev-callback": () => En(n),
7390
+ "prev-callback": () => Nn(n),
7381
7391
  "deal-flow": e.requireDealCode === "yes"
7382
7392
  }, {
7383
- form: S(() => [T("form", yr, [
7393
+ form: S(() => [T("form", br, [
7384
7394
  T("h2", null, [T("span", null, h(r(c)("booking.reservation.addons")), 1)]),
7385
- r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", br, [T("p", {
7395
+ r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", xr, [T("p", {
7386
7396
  innerHTML: r(c)("hotel.addonTopNotice"),
7387
7397
  class: "konnectio-wysiwyg"
7388
- }, null, 8, xr)])) : d("", !0),
7389
- T("div", null, [isNaN(r(g)) ? (b(), m("div", Sr, [(b(!0), m(a, null, w(r(we), (e) => (b(), m(a, { key: e.roomGroupID }, [r(en)(e) ? (b(), m("ul", Cr, [(b(!0), m(a, null, w(e.variants, (t, n) => (b(), m("li", { key: t.ratePlanID }, [T("h4", null, [T("span", null, h(r(pe)(e.title)), 1)]), (b(!0), m(a, null, w(gn(t.rooms), (i) => (b(), m(a, { key: `${i.configIdx}-${i.roomIdx}` }, [pn(t.addons, i.childrenCount).length > 0 ? (b(), m("div", wr, [T("h5", null, [l(H, {
7398
+ }, null, 8, Sr)])) : d("", !0),
7399
+ T("div", null, [isNaN(r(g)) ? (b(), m("div", Cr, [(b(!0), m(a, null, w(r(je), (e) => (b(), m(a, { key: e.roomGroupID }, [r(rn)(e) ? (b(), m("ul", wr, [(b(!0), m(a, null, w(e.variants, (t, n) => (b(), m("li", { key: t.ratePlanID }, [T("h4", null, [T("span", null, h(r(pe)(e.title)), 1)]), (b(!0), m(a, null, w(bn(t.rooms), (i) => (b(), m(a, { key: `${i.configIdx}-${i.roomIdx}` }, [vn(t.addons, i.childrenCount).length > 0 ? (b(), m("div", Tr, [T("h5", null, [l(H, {
7390
7400
  icon: "check-circle",
7391
7401
  type: "fas"
7392
- }), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(pn(t.addons, i.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
7402
+ }), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(vn(t.addons, i.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
7393
7403
  T("b", null, h(r(pe)(t)), 1),
7394
- T("span", null, h(r(Me)(n, r(Tt))) + " " + h(r(le)(i)), 1),
7404
+ T("span", null, h(r(Me)(n, r(Dt))) + " " + h(r(le)(i)), 1),
7395
7405
  a ? (b(), m("p", {
7396
7406
  key: 0,
7397
- innerHTML: r(_e)(a)
7398
- }, null, 8, Tr)) : d("", !0)
7399
- ])]))), 128))])])) : d("", !0), hn(t.addons, i.childrenCount).length > 0 ? (b(), m("table", Er, [T("thead", null, [T("tr", null, [
7407
+ innerHTML: r(ge)(a)
7408
+ }, null, 8, Er)) : d("", !0)
7409
+ ])]))), 128))])])) : d("", !0), yn(t.addons, i.childrenCount).length > 0 ? (b(), m("table", Dr, [T("thead", null, [T("tr", null, [
7400
7410
  T("th", null, [T("span", null, h(r(pe)(t.name)), 1)]),
7401
7411
  d("", !0),
7402
- T("th", Dr, [T("b", null, [
7412
+ T("th", Or, [T("b", null, [
7403
7413
  l(H, {
7404
7414
  icon: "male",
7405
7415
  type: "fas",
@@ -7412,22 +7422,22 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7412
7422
  type: "fas",
7413
7423
  color: "font"
7414
7424
  })) : d("", !0),
7415
- i.childrenCount > 0 ? (b(), m("span", Or, h(i.childrenCount), 1)) : d("", !0)
7425
+ i.childrenCount > 0 ? (b(), m("span", kr, h(i.childrenCount), 1)) : d("", !0)
7416
7426
  ])])
7417
- ])]), T("tbody", null, [(b(!0), m(a, null, w(hn(t.addons, i.childrenCount), ({ cardinality: t, quantityStrategy: a, maximumNumber: o, id: s, name: c, price: f, image: p, description: g }) => (b(), m("tr", { key: s }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": p }]) }, [p ? (b(), m("div", kr, [l(r(K), {
7427
+ ])]), T("tbody", null, [(b(!0), m(a, null, w(yn(t.addons, i.childrenCount), ({ cardinality: t, quantityStrategy: a, maximumNumber: o, id: s, name: c, price: f, image: p, description: g }) => (b(), m("tr", { key: s }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": p }]) }, [p ? (b(), m("div", Ar, [l(r(K), {
7418
7428
  src: p,
7419
7429
  "zoom-scale": 1
7420
7430
  }, null, 8, ["src"])])) : d("", !0), T("div", null, [
7421
7431
  T("b", null, h(r(pe)(c)), 1),
7422
- T("span", null, h(r(Me)(f, r(Tt))) + " " + h(r(le)(a)), 1),
7432
+ T("span", null, h(r(Me)(f, r(Dt))) + " " + h(r(le)(a)), 1),
7423
7433
  g ? (b(), m("p", {
7424
7434
  key: 0,
7425
- innerHTML: r(_e)(g)
7426
- }, null, 8, Ar)) : d("", !0)
7427
- ])], 2), T("td", jr, [r(Ce)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), u(je, {
7435
+ innerHTML: r(ge)(g)
7436
+ }, null, 8, jr)) : d("", !0)
7437
+ ])], 2), T("td", Mr, [r(Ee)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), u(Ae, {
7428
7438
  key: 0,
7429
- modelValue: r(Ce)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s],
7430
- "onUpdate:modelValue": (t) => r(Ce)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s] = t,
7439
+ modelValue: r(Ee)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s],
7440
+ "onUpdate:modelValue": (t) => r(Ee)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s] = t,
7431
7441
  small: !0,
7432
7442
  "min-value": 0,
7433
7443
  "max-value": r(ue)(t, o)
@@ -7435,31 +7445,31 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7435
7445
  "modelValue",
7436
7446
  "onUpdate:modelValue",
7437
7447
  "max-value"
7438
- ])) : d("", !0)])]))), 128))])])) : d("", !0)], 64))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(re).length > 0 ? (b(), m("div", Mr, [T("div", null, [T("h4", null, [T("span", null, h(r(We)?.name), 1)]), (b(!0), m(a, null, w(_n.value, (e) => (b(), m(a, { key: `${e.roomGroupId}-${e.configIdx}` }, [pn(r(Ue).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("div", Nr, [T("h5", null, [l(H, {
7448
+ ])) : d("", !0)])]))), 128))])])) : d("", !0)], 64))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(re).length > 0 ? (b(), m("div", Nr, [T("div", null, [T("h4", null, [T("span", null, h(r(U)?.name), 1)]), (b(!0), m(a, null, w(xn.value, (e) => (b(), m(a, { key: `${e.roomGroupId}-${e.configIdx}` }, [vn(r(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("div", Pr, [T("h5", null, [l(H, {
7439
7449
  icon: "check-circle",
7440
7450
  type: "fas"
7441
- }), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(pn(r(Ue).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
7451
+ }), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(vn(r(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
7442
7452
  T("b", null, h(r(pe)(t)), 1),
7443
- T("span", null, h(r(Me)(n, r(Tt))) + " " + h(r(le)(i)), 1),
7453
+ T("span", null, h(r(Me)(n, r(Dt))) + " " + h(r(le)(i)), 1),
7444
7454
  a ? (b(), m("p", {
7445
7455
  key: 0,
7446
- innerHTML: r(_e)(a)
7447
- }, null, 8, Pr)) : d("", !0)
7448
- ])]))), 128))])])) : d("", !0), hn(r(Ue).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("table", Fr, [T("thead", null, [T("tr", null, [
7449
- T("th", null, [T("span", null, h(r(pe)(r(Ue).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Ir, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
7456
+ innerHTML: r(ge)(a)
7457
+ }, null, 8, Fr)) : d("", !0)
7458
+ ])]))), 128))])])) : d("", !0), yn(r(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("table", Ir, [T("thead", null, [T("tr", null, [
7459
+ T("th", null, [T("span", null, h(r(pe)(r(Ke).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Lr, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
7450
7460
  d("", !0),
7451
- o[24] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
7452
- ])]), T("tbody", null, [(b(!0), m(a, null, w(hn(r(Ue).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: i, id: a, name: o, price: s, description: c, image: u }) => (b(), m("tr", { key: a }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": u }]) }, [u ? (b(), m("div", Lr, [l(r(K), {
7461
+ o[25] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
7462
+ ])]), T("tbody", null, [(b(!0), m(a, null, w(yn(r(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: i, id: a, name: o, price: s, description: c, image: u }) => (b(), m("tr", { key: a }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": u }]) }, [u ? (b(), m("div", Rr, [l(r(K), {
7453
7463
  src: u,
7454
7464
  "zoom-scale": 1
7455
7465
  }, null, 8, ["src"])])) : d("", !0), T("div", null, [
7456
7466
  T("b", null, h(r(pe)(o)), 1),
7457
- T("span", null, h(r(Me)(s, r(Tt))) + " " + h(r(le)(n)), 1),
7467
+ T("span", null, h(r(Me)(s, r(Dt))) + " " + h(r(le)(n)), 1),
7458
7468
  c ? (b(), m("p", {
7459
7469
  key: 0,
7460
- innerHTML: r(_e)(c)
7461
- }, null, 8, Rr)) : d("", !0)
7462
- ])], 2), T("td", zr, [l(je, {
7470
+ innerHTML: r(ge)(c)
7471
+ }, null, 8, zr)) : d("", !0)
7472
+ ])], 2), T("td", Br, [l(Ae, {
7463
7473
  modelValue: r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
7464
7474
  "onUpdate:modelValue": (t) => r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
7465
7475
  small: !0,
@@ -7474,46 +7484,46 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7474
7484
  navigation: S(() => [l(Ne, {
7475
7485
  label: r(c)("general.startReservation"),
7476
7486
  "full-width": "",
7477
- onClickEvent: (e) => Tn(t)
7487
+ onClickEvent: (e) => An(t)
7478
7488
  }, null, 8, ["label", "onClickEvent"])]),
7479
7489
  _: 2
7480
7490
  }, 1032, ["prev-callback", "deal-flow"])) : d("", !0)]),
7481
- reservation: S(({ next: t, prev: n, reset: i }) => [r(Be) ? (b(), u(X, {
7491
+ reservation: S(({ next: t, prev: n, reset: i }) => [r(We) ? (b(), u(X, {
7482
7492
  key: 0,
7483
- "prev-callback": () => En(n),
7493
+ "prev-callback": () => Nn(n),
7484
7494
  "show-terms-notice": !0,
7485
7495
  "show-gift-card": !0,
7486
7496
  "deal-flow": e.requireDealCode === "yes"
7487
7497
  }, {
7488
- form: S(() => [T("form", Br, [
7498
+ form: S(() => [T("form", Vr, [
7489
7499
  T("h2", null, [T("span", null, h(r(c)("booking.reservation.detailsTitle")), 1)]),
7490
- r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Vr, [T("p", {
7500
+ r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Hr, [T("p", {
7491
7501
  innerHTML: r(c)("hotel.reservationTopNotice"),
7492
7502
  class: "konnectio-wysiwyg"
7493
- }, null, 8, Hr)])) : d("", !0),
7494
- r(Rt)(r(p)) && r(zt)(r(p)) && r(Bt)(r(p)) ? (b(), m("ul", {
7503
+ }, null, 8, Ur)])) : d("", !0),
7504
+ r(Vt)(r(p)) && r(Y)(r(p)) && r(Ht)(r(p)) ? (b(), m("ul", {
7495
7505
  key: 1,
7496
- class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(zt)(r(p)) && r(Bt)(r(p)) }])
7497
- }, [r(zt)(r(p)) ? (b(), m("li", Ur, [l(Mn, {
7498
- modelValue: r(j),
7499
- "onUpdate:modelValue": o[3] ||= (e) => y(j) ? j.value = e : null,
7506
+ class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(Y)(r(p)) && r(Ht)(r(p)) }])
7507
+ }, [r(Y)(r(p)) ? (b(), m("li", Wr, [l(Mn, {
7508
+ modelValue: r(N),
7509
+ "onUpdate:modelValue": o[3] ||= (e) => y(N) ? N.value = e : null,
7500
7510
  label: r(c)("booking.reservation.arrivalTime"),
7501
7511
  icon: "hourglass-start",
7502
- "min-time": r(Vt)(r(p)),
7503
- "max-time": r(Y)(r(p)),
7512
+ "min-time": r(Ut)(r(p)),
7513
+ "max-time": r(Wt)(r(p)),
7504
7514
  required: ""
7505
7515
  }, null, 8, [
7506
7516
  "modelValue",
7507
7517
  "label",
7508
7518
  "min-time",
7509
7519
  "max-time"
7510
- ])])) : d("", !0), r(Bt)(r(p)) ? (b(), m("li", Wr, [l(Mn, {
7511
- modelValue: r(M),
7512
- "onUpdate:modelValue": o[4] ||= (e) => y(M) ? M.value = e : null,
7520
+ ])])) : d("", !0), r(Ht)(r(p)) ? (b(), m("li", Gr, [l(Mn, {
7521
+ modelValue: r(P),
7522
+ "onUpdate:modelValue": o[4] ||= (e) => y(P) ? P.value = e : null,
7513
7523
  label: r(c)("booking.reservation.departureTime"),
7514
7524
  icon: "hourglass-end",
7515
- "min-time": r(Ht)(r(p)),
7516
- "max-time": r(Ut)(r(p)),
7525
+ "min-time": r(Gt)(r(p)),
7526
+ "max-time": r(qt)(r(p)),
7517
7527
  required: ""
7518
7528
  }, null, 8, [
7519
7529
  "modelValue",
@@ -7522,15 +7532,15 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7522
7532
  "max-time"
7523
7533
  ])])) : d("", !0)], 2)) : d("", !0),
7524
7534
  l(Fn, {
7525
- modelValue: r(N),
7526
- "onUpdate:modelValue": o[5] ||= (e) => y(N) ? N.value = e : null,
7527
- title: r(P),
7528
- "onUpdate:title": o[6] ||= (e) => y(P) ? P.value = e : null,
7529
- "exclude-title": r(Dt),
7535
+ modelValue: r(F),
7536
+ "onUpdate:modelValue": o[5] ||= (e) => y(F) ? F.value = e : null,
7537
+ title: r(I),
7538
+ "onUpdate:title": o[6] ||= (e) => y(I) ? I.value = e : null,
7539
+ "exclude-title": r(Ot),
7530
7540
  label: r(c)("booking.reservation.name"),
7531
7541
  icon: "user-alt",
7532
7542
  placeholder: r(c)("booking.reservation.namePlaceholder"),
7533
- error: un("guest.name"),
7543
+ error: pn("guest.name"),
7534
7544
  required: ""
7535
7545
  }, null, 8, [
7536
7546
  "modelValue",
@@ -7540,9 +7550,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7540
7550
  "placeholder",
7541
7551
  "error"
7542
7552
  ]),
7543
- l(Ae, {
7544
- modelValue: r(F),
7545
- "onUpdate:modelValue": o[7] ||= (e) => y(F) ? F.value = e : null,
7553
+ l(ke, {
7554
+ modelValue: r(R),
7555
+ "onUpdate:modelValue": o[7] ||= (e) => y(R) ? R.value = e : null,
7546
7556
  type: "email",
7547
7557
  name: "email",
7548
7558
  autocomplete: "email",
@@ -7550,7 +7560,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7550
7560
  label: r(c)("booking.reservation.email"),
7551
7561
  icon: "at",
7552
7562
  placeholder: r(c)("booking.reservation.emailPlaceholder"),
7553
- error: un("guest.email"),
7563
+ error: pn("guest.email"),
7554
7564
  required: ""
7555
7565
  }, null, 8, [
7556
7566
  "modelValue",
@@ -7558,17 +7568,36 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7558
7568
  "placeholder",
7559
7569
  "error"
7560
7570
  ]),
7561
- r(Ft) ? d("", !0) : (b(), m("div", Gr, [l(Le, {
7562
- modelValue: r(qe),
7563
- "onUpdate:modelValue": o[8] ||= (e) => y(qe) ? qe.value = e : null,
7571
+ r(Rt) ? (b(), u(ke, {
7572
+ key: 2,
7573
+ modelValue: r(z),
7574
+ "onUpdate:modelValue": o[8] ||= (e) => y(z) ? z.value = e : null,
7575
+ type: "email",
7576
+ name: "confirm-email",
7577
+ autocomplete: "off",
7578
+ inputmode: "email",
7579
+ label: r(c)("booking.reservation.confirmEmail"),
7580
+ icon: "at",
7581
+ placeholder: r(c)("booking.reservation.confirmEmailPlaceholder"),
7582
+ error: hn.value,
7583
+ required: ""
7584
+ }, null, 8, [
7585
+ "modelValue",
7586
+ "label",
7587
+ "placeholder",
7588
+ "error"
7589
+ ])) : d("", !0),
7590
+ r(Lt) ? d("", !0) : (b(), m("div", Kr, [l(Le, {
7591
+ modelValue: r(Ze),
7592
+ "onUpdate:modelValue": o[9] ||= (e) => y(Ze) ? Ze.value = e : null,
7564
7593
  type: "checkbox",
7565
7594
  name: "newsletter",
7566
7595
  label: r(c)("booking.reservation.newsletterSignUp")
7567
7596
  }, null, 8, ["modelValue", "label"])])),
7568
- r(kt) ? d("", !0) : (b(), u(Ae, {
7569
- key: 3,
7570
- modelValue: r(R),
7571
- "onUpdate:modelValue": o[9] ||= (e) => y(R) ? R.value = e : null,
7597
+ r(jt) ? d("", !0) : (b(), u(ke, {
7598
+ key: 4,
7599
+ modelValue: r(fe),
7600
+ "onUpdate:modelValue": o[10] ||= (e) => y(fe) ? fe.value = e : null,
7572
7601
  type: "text",
7573
7602
  name: "firm",
7574
7603
  autocomplete: "firm",
@@ -7581,12 +7610,12 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7581
7610
  "placeholder"
7582
7611
  ])),
7583
7612
  l(Fe, {
7584
- modelValue: r(I),
7585
- "onUpdate:modelValue": o[10] ||= (e) => y(I) ? I.value = e : null,
7613
+ modelValue: r(ae),
7614
+ "onUpdate:modelValue": o[11] ||= (e) => y(ae) ? ae.value = e : null,
7586
7615
  icon: "phone-office",
7587
7616
  label: r(c)("booking.reservation.phone"),
7588
7617
  placeholder: r(c)("booking.reservation.phonePlaceholder"),
7589
- error: un("guest.phone"),
7618
+ error: pn("guest.phone"),
7590
7619
  required: ""
7591
7620
  }, null, 8, [
7592
7621
  "modelValue",
@@ -7595,12 +7624,12 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7595
7624
  "error"
7596
7625
  ]),
7597
7626
  l(Pn, {
7598
- modelValue: r(ye),
7599
- "onUpdate:modelValue": o[11] ||= (e) => y(ye) ? ye.value = e : null,
7627
+ modelValue: r(xe),
7628
+ "onUpdate:modelValue": o[12] ||= (e) => y(xe) ? xe.value = e : null,
7600
7629
  label: r(c)("booking.reservation.country"),
7601
7630
  placeholder: r(c)("booking.reservation.countryPlaceholder"),
7602
7631
  options: r(ie),
7603
- error: un("guest.country"),
7632
+ error: pn("guest.country"),
7604
7633
  required: ""
7605
7634
  }, null, 8, [
7606
7635
  "modelValue",
@@ -7609,16 +7638,16 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7609
7638
  "options",
7610
7639
  "error"
7611
7640
  ]),
7612
- l(Ae, {
7613
- modelValue: r(B),
7614
- "onUpdate:modelValue": o[12] ||= (e) => y(B) ? B.value = e : null,
7641
+ l(ke, {
7642
+ modelValue: r(be),
7643
+ "onUpdate:modelValue": o[13] ||= (e) => y(be) ? be.value = e : null,
7615
7644
  type: "textarea",
7616
7645
  name: "address",
7617
7646
  autocomplete: "street-address",
7618
7647
  label: r(c)("booking.reservation.streetAddress"),
7619
7648
  icon: "map-marked",
7620
7649
  placeholder: r(c)("booking.reservation.streetAddressPlaceholder"),
7621
- error: un("guest.address1"),
7650
+ error: pn("guest.address1"),
7622
7651
  required: ""
7623
7652
  }, null, 8, [
7624
7653
  "modelValue",
@@ -7626,32 +7655,32 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7626
7655
  "placeholder",
7627
7656
  "error"
7628
7657
  ]),
7629
- T("ul", Kr, [T("li", null, [l(Ae, {
7630
- modelValue: r(z),
7631
- "onUpdate:modelValue": o[13] ||= (e) => y(z) ? z.value = e : null,
7658
+ T("ul", qr, [T("li", null, [l(ke, {
7659
+ modelValue: r(V),
7660
+ "onUpdate:modelValue": o[14] ||= (e) => y(V) ? V.value = e : null,
7632
7661
  type: "text",
7633
7662
  name: "postal",
7634
7663
  autocomplete: "postal-code",
7635
7664
  label: r(c)("booking.reservation.postal"),
7636
7665
  icon: "mailbox",
7637
7666
  placeholder: r(c)("booking.reservation.postalPlaceholder"),
7638
- error: un("guest.postal"),
7667
+ error: pn("guest.postal"),
7639
7668
  required: ""
7640
7669
  }, null, 8, [
7641
7670
  "modelValue",
7642
7671
  "label",
7643
7672
  "placeholder",
7644
7673
  "error"
7645
- ])]), T("li", null, [l(Ae, {
7646
- modelValue: r(fe),
7647
- "onUpdate:modelValue": o[14] ||= (e) => y(fe) ? fe.value = e : null,
7674
+ ])]), T("li", null, [l(ke, {
7675
+ modelValue: r(ve),
7676
+ "onUpdate:modelValue": o[15] ||= (e) => y(ve) ? ve.value = e : null,
7648
7677
  type: "text",
7649
7678
  name: "city",
7650
7679
  autocomplete: "address-level2",
7651
7680
  label: r(c)("booking.reservation.city"),
7652
7681
  icon: "city",
7653
7682
  placeholder: r(c)("booking.reservation.cityPlaceholder"),
7654
- error: un("guest.city"),
7683
+ error: pn("guest.city"),
7655
7684
  required: ""
7656
7685
  }, null, 8, [
7657
7686
  "modelValue",
@@ -7659,10 +7688,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7659
7688
  "placeholder",
7660
7689
  "error"
7661
7690
  ])])]),
7662
- e.hideRemarks === "yes" ? d("", !0) : (b(), u(Ae, {
7663
- key: 4,
7664
- modelValue: r(xe),
7665
- "onUpdate:modelValue": o[15] ||= (e) => y(xe) ? xe.value = e : null,
7691
+ e.hideRemarks === "yes" ? d("", !0) : (b(), u(ke, {
7692
+ key: 5,
7693
+ modelValue: r(Se),
7694
+ "onUpdate:modelValue": o[16] ||= (e) => y(Se) ? Se.value = e : null,
7666
7695
  type: "textarea",
7667
7696
  label: r(c)("booking.reservation.remark"),
7668
7697
  icon: "info-circle",
@@ -7672,10 +7701,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7672
7701
  "label",
7673
7702
  "placeholder"
7674
7703
  ])),
7675
- e.hideAllergies === "yes" ? d("", !0) : (b(), u(Ae, {
7676
- key: 5,
7677
- modelValue: r(Se),
7678
- "onUpdate:modelValue": o[16] ||= (e) => y(Se) ? Se.value = e : null,
7704
+ e.hideAllergies === "yes" ? d("", !0) : (b(), u(ke, {
7705
+ key: 6,
7706
+ modelValue: r(Ce),
7707
+ "onUpdate:modelValue": o[17] ||= (e) => y(Ce) ? Ce.value = e : null,
7679
7708
  type: "textarea",
7680
7709
  label: r(c)("booking.reservation.allergies"),
7681
7710
  icon: "allergies",
@@ -7685,36 +7714,36 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7685
7714
  "label",
7686
7715
  "placeholder"
7687
7716
  ])),
7688
- r(J) ? d("", !0) : (b(), u(Je, {
7689
- key: 6,
7690
- modelValue: r(A),
7691
- "onUpdate:modelValue": o[17] ||= (e) => y(A) ? A.value = e : null,
7717
+ r(kt) ? d("", !0) : (b(), u(Je, {
7718
+ key: 7,
7719
+ modelValue: r(M),
7720
+ "onUpdate:modelValue": o[18] ||= (e) => y(M) ? M.value = e : null,
7692
7721
  label: r(c)("booking.reservation.purposeOfStay"),
7693
7722
  name: "travelingFor",
7694
- checkboxes: yn.value
7723
+ checkboxes: Cn.value
7695
7724
  }, null, 8, [
7696
7725
  "modelValue",
7697
7726
  "label",
7698
7727
  "checkboxes"
7699
7728
  ])),
7700
- r(st) ? (b(), m(a, { key: 7 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(ft) ? (b(), m("div", qr, [T("img", { src: r(pt)?.iconUrl }, null, 8, Jr), T("ul", Yr, [
7701
- T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(pt)?.shortDescription })), 1)]),
7702
- T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(ft).cardNumber), 1)]),
7703
- r(ft).controlNr ? (b(), m("li", Xr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(ft).controlNr), 1)])) : d("", !0)
7729
+ r(lt) ? (b(), m(a, { key: 8 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(mt) ? (b(), m("div", Jr, [T("img", { src: r(ht)?.iconUrl }, null, 8, Yr), T("ul", Xr, [
7730
+ T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(ht)?.shortDescription })), 1)]),
7731
+ T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(mt).cardNumber), 1)]),
7732
+ r(mt).controlNr ? (b(), m("li", Zr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(mt).controlNr), 1)])) : d("", !0)
7704
7733
  ])])) : (b(), m(a, { key: 1 }, [l(Je, {
7705
- modelValue: r(lt),
7706
- "onUpdate:modelValue": o[18] ||= (e) => y(lt) ? lt.value = e : null,
7734
+ modelValue: r(dt),
7735
+ "onUpdate:modelValue": o[19] ||= (e) => y(dt) ? dt.value = e : null,
7707
7736
  label: r(c)("hotel.memberCards.selectCard"),
7708
7737
  name: "memberCard",
7709
- checkboxes: r(ct)
7738
+ checkboxes: r(ut)
7710
7739
  }, null, 8, [
7711
7740
  "modelValue",
7712
7741
  "label",
7713
7742
  "checkboxes"
7714
- ]), r(lt) ? (b(), m("form", Zr, [
7715
- l(Ae, {
7716
- modelValue: r(dt),
7717
- "onUpdate:modelValue": o[19] ||= (e) => y(dt) ? dt.value = e : null,
7743
+ ]), r(dt) ? (b(), m("form", Qr, [
7744
+ l(ke, {
7745
+ modelValue: r(pt),
7746
+ "onUpdate:modelValue": o[20] ||= (e) => y(pt) ? pt.value = e : null,
7718
7747
  type: "number",
7719
7748
  label: r(c)("hotel.memberCards.cardNumber"),
7720
7749
  icon: "credit-card",
@@ -7725,10 +7754,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7725
7754
  "label",
7726
7755
  "placeholder"
7727
7756
  ]),
7728
- r(lt) === r(Ee).FirmaCard ? (b(), u(Ae, {
7757
+ r(dt) === r(Te).FirmaCard ? (b(), u(ke, {
7729
7758
  key: 0,
7730
- modelValue: r(ut),
7731
- "onUpdate:modelValue": o[20] ||= (e) => y(ut) ? ut.value = e : null,
7759
+ modelValue: r(ft),
7760
+ "onUpdate:modelValue": o[21] ||= (e) => y(ft) ? ft.value = e : null,
7732
7761
  type: "text",
7733
7762
  label: r(c)("hotel.memberCards.cardControlNumber"),
7734
7763
  icon: "id-card",
@@ -7739,10 +7768,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7739
7768
  "label",
7740
7769
  "placeholder"
7741
7770
  ])) : d("", !0),
7742
- r(lt) === r(Ee).DaneAge ? (b(), u(Ae, {
7771
+ r(dt) === r(Te).DaneAge ? (b(), u(ke, {
7743
7772
  key: 1,
7744
- modelValue: r(z),
7745
- "onUpdate:modelValue": o[21] ||= (e) => y(z) ? z.value = e : null,
7773
+ modelValue: r(V),
7774
+ "onUpdate:modelValue": o[22] ||= (e) => y(V) ? V.value = e : null,
7746
7775
  type: "text",
7747
7776
  name: "postal",
7748
7777
  autocomplete: "postal-code",
@@ -7758,16 +7787,16 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7758
7787
  l(Ne, {
7759
7788
  label: r(c)("hotel.memberCards.validateAndSelectCard"),
7760
7789
  "full-width": "",
7761
- onClickEvent: r(rn)
7790
+ onClickEvent: r(on)
7762
7791
  }, null, 8, ["label", "onClickEvent"])
7763
7792
  ])) : d("", !0)], 64))], 64)) : d("", !0)
7764
7793
  ])]),
7765
- navigation: S(() => [T("div", null, [r(G) ? (b(), u(ze, { key: 0 })) : d("", !0), l(Ne, {
7766
- label: r(At) ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
7767
- disabled: !r(k),
7768
- "is-loading": r(O) || r(G),
7794
+ navigation: S(() => [T("div", null, [r(yt) ? (b(), u(ze, { key: 0 })) : d("", !0), l(Ne, {
7795
+ label: r(Mt) && r(j) > 0 ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
7796
+ disabled: !r(A),
7797
+ "is-loading": r(k) || r(yt),
7769
7798
  "full-width": "",
7770
- onClickEvent: (e) => Dn(t, i)
7799
+ onClickEvent: (e) => In(t, i)
7771
7800
  }, null, 8, [
7772
7801
  "label",
7773
7802
  "disabled",
@@ -7783,20 +7812,20 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7783
7812
  "layout",
7784
7813
  "steps",
7785
7814
  "onReset"
7786
- ]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(nt)) && !fn.value]])
7815
+ ]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(it)) && !_n.value]])
7787
7816
  ]),
7788
7817
  _: 1
7789
7818
  }, 8, ["access-token", "callback"])]),
7790
- fallback: S(() => [l(Rn)]),
7819
+ fallback: S(() => [l(zn)]),
7791
7820
  _: 1
7792
7821
  }))]),
7793
7822
  _: 1
7794
7823
  }, 8, ["styling"]));
7795
7824
  }
7796
- }), $r = /*#__PURE__*/ B(Qr, [["__scopeId", "data-v-5b5973ca"]]);
7825
+ }), ei = /*#__PURE__*/ V($r, [["__scopeId", "data-v-d13aaa2e"]]);
7797
7826
  //#endregion
7798
7827
  //#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
7799
- function ei(e, t) {
7828
+ function $(e, t) {
7800
7829
  if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
7801
7830
  let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
7802
7831
  if (!e.plugins.get(r)) {
@@ -7815,7 +7844,7 @@ function ti(e, t = {}) {
7815
7844
  entries: r,
7816
7845
  hooks: void 0,
7817
7846
  render: () => e(i),
7818
- use: (e) => ei(i, e),
7847
+ use: (e) => $(i, e),
7819
7848
  push(e, t) {
7820
7849
  let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
7821
7850
  delete o.head, delete o.onRendered, delete o._index;
@@ -7954,7 +7983,7 @@ function gi(e, t, n) {
7954
7983
  //#region node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs
7955
7984
  function _i(e, t, n) {
7956
7985
  let r = e.push, i = e;
7957
- i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => ei(i, e), i.render = () => n(i);
7986
+ i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => $(i, e), i.render = () => n(i);
7958
7987
  function a() {
7959
7988
  t.callHook("entries:updated", i), i._b || i.render();
7960
7989
  }
@@ -8430,8 +8459,8 @@ function $i(e = {}) {
8430
8459
  }
8431
8460
  //#endregion
8432
8461
  //#region src/entries/hotel.ts
8433
- var ea = A(), ta = /* @__PURE__ */ $i(), na = k("konnectio-hotel", $r, (e) => {
8434
- e.use(z), e.use(ta), e.use(ea), e.use(O), e.use(tt), e.use(Ke);
8462
+ var ea = j(), ta = /* @__PURE__ */ $i(), na = A("konnectio-hotel", ei, (e) => {
8463
+ e.use(ae), e.use(ta), e.use(ea), e.use(k), e.use(tt), e.use(Ke);
8435
8464
  });
8436
8465
  //#endregion
8437
8466
  export { na as default };