@konnectio/core 4.5.10 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/README.md +274 -274
  2. package/dist/{ActionField-DRRWeUYM.js → ActionField-DcJ46kr8.js} +4 -4
  3. package/dist/ActionField-DcJ46kr8.js.br +0 -0
  4. package/dist/ActionField-DcJ46kr8.js.gz +0 -0
  5. package/dist/{AvailabilitySkeleton-Dts-myrc.js → AvailabilitySkeleton-D_WemNm7.js} +2677 -2639
  6. package/dist/AvailabilitySkeleton-D_WemNm7.js.br +0 -0
  7. package/dist/AvailabilitySkeleton-D_WemNm7.js.gz +0 -0
  8. package/dist/{CheckoutWindow-BHVG2dxQ.js → CheckoutWindow-Cxf3LsRu.js} +11 -11
  9. package/dist/CheckoutWindow-Cxf3LsRu.js.br +0 -0
  10. package/dist/CheckoutWindow-Cxf3LsRu.js.gz +0 -0
  11. package/dist/{ErrorMessage-B9Z6kWVl.js → ErrorMessage-CWRDhW-r.js} +4 -4
  12. package/dist/ErrorMessage-CWRDhW-r.js.br +0 -0
  13. package/dist/ErrorMessage-CWRDhW-r.js.gz +0 -0
  14. package/dist/{EventAvailabilityForm-kkiWxezV.js → EventAvailabilityForm--wnnA59l.js} +5 -5
  15. package/dist/EventAvailabilityForm--wnnA59l.js.br +0 -0
  16. package/dist/EventAvailabilityForm--wnnA59l.js.gz +0 -0
  17. package/dist/{Field-uy59BBE5.js → Field-C0HFlyA-.js} +9 -9
  18. package/dist/Field-C0HFlyA-.js.br +0 -0
  19. package/dist/Field-C0HFlyA-.js.gz +0 -0
  20. package/dist/{HotelAvailabilityForm-BorqaKO9.js → HotelAvailabilityForm-CXhF2zZd.js} +5 -5
  21. package/dist/HotelAvailabilityForm-CXhF2zZd.js.br +0 -0
  22. package/dist/HotelAvailabilityForm-CXhF2zZd.js.gz +0 -0
  23. package/dist/{SelectField-Deugng4e.js → SelectField-BuepNFGh.js} +2834 -2512
  24. package/dist/SelectField-BuepNFGh.js.br +0 -0
  25. package/dist/SelectField-BuepNFGh.js.gz +0 -0
  26. package/dist/{TermsOfService-B0e2zZ1G.js → TermsOfService-CI6N0yyP.js} +5 -5
  27. package/dist/TermsOfService-CI6N0yyP.js.br +0 -0
  28. package/dist/TermsOfService-CI6N0yyP.js.gz +1 -0
  29. package/dist/{_-BLU96am3.js → _-CrX9aXtd.js} +4 -4
  30. package/dist/_-CrX9aXtd.js.br +0 -0
  31. package/dist/_-CrX9aXtd.js.gz +0 -0
  32. package/dist/availability.js +29 -42
  33. package/dist/availability.js.br +0 -0
  34. package/dist/availability.js.gz +0 -0
  35. package/dist/cancel-reservation.js +34 -47
  36. package/dist/cancel-reservation.js.br +0 -0
  37. package/dist/cancel-reservation.js.gz +0 -0
  38. package/dist/core.css +1 -1
  39. package/dist/core.css.br +0 -0
  40. package/dist/core.css.gz +0 -0
  41. package/dist/deep-link.js +11 -24
  42. package/dist/deep-link.js.br +0 -0
  43. package/dist/deep-link.js.gz +0 -0
  44. package/dist/{dist-CkHp-kIg.js → dist-Bmb1V_bQ.js} +290 -231
  45. package/dist/dist-Bmb1V_bQ.js.br +0 -0
  46. package/dist/dist-Bmb1V_bQ.js.gz +0 -0
  47. package/dist/event.js +144 -160
  48. package/dist/event.js.br +0 -0
  49. package/dist/event.js.gz +0 -0
  50. package/dist/gift-card-validation.js +37 -50
  51. package/dist/gift-card-validation.js.br +0 -0
  52. package/dist/gift-card-validation.js.gz +0 -0
  53. package/dist/gift-card.js +93 -105
  54. package/dist/gift-card.js.br +0 -0
  55. package/dist/gift-card.js.gz +0 -0
  56. package/dist/{giftCard-D4xa9d4r.js → giftCard-4K4sLoYc.js} +2 -2
  57. package/dist/giftCard-4K4sLoYc.js.br +0 -0
  58. package/dist/giftCard-4K4sLoYc.js.gz +0 -0
  59. package/dist/hotel.js +978 -945
  60. package/dist/hotel.js.br +0 -0
  61. package/dist/hotel.js.gz +0 -0
  62. package/dist/{masonry.plugin-DeTZh8E2.js → masonry.plugin-CB5zqVnY.js} +2864 -3816
  63. package/dist/masonry.plugin-CB5zqVnY.js.br +0 -0
  64. package/dist/masonry.plugin-CB5zqVnY.js.gz +0 -0
  65. package/dist/{mitt-Dp_pykgV.js → mitt-D_sfUt2u.js} +3462 -3343
  66. package/dist/mitt-D_sfUt2u.js.br +0 -0
  67. package/dist/mitt-D_sfUt2u.js.gz +0 -0
  68. package/dist/polyfill.js +27 -27
  69. package/dist/polyfill.js.br +0 -0
  70. package/dist/polyfill.js.gz +0 -0
  71. package/dist/rolldown-runtime-Dqa2HsxW.js.gz +2 -0
  72. package/dist/{style-CyChAn2F.js → style-DxH0isic.js} +4 -4
  73. package/dist/style-DxH0isic.js.br +0 -0
  74. package/dist/style-DxH0isic.js.gz +0 -0
  75. package/dist-wix/availability.js +1116 -0
  76. package/dist-wix/event.js +1117 -0
  77. package/dist-wix/gift-card-validation.js +1106 -0
  78. package/dist-wix/gift-card.js +1115 -0
  79. package/dist-wix/hotel.js +1117 -0
  80. package/package.json +121 -121
  81. package/dist/ActionField-DRRWeUYM.js.br +0 -0
  82. package/dist/ActionField-DRRWeUYM.js.gz +0 -0
  83. package/dist/AvailabilitySkeleton-Dts-myrc.js.br +0 -0
  84. package/dist/AvailabilitySkeleton-Dts-myrc.js.gz +0 -0
  85. package/dist/CheckoutWindow-BHVG2dxQ.js.br +0 -0
  86. package/dist/CheckoutWindow-BHVG2dxQ.js.gz +0 -0
  87. package/dist/ErrorMessage-B9Z6kWVl.js.br +0 -0
  88. package/dist/ErrorMessage-B9Z6kWVl.js.gz +0 -0
  89. package/dist/EventAvailabilityForm-kkiWxezV.js.br +0 -0
  90. package/dist/EventAvailabilityForm-kkiWxezV.js.gz +0 -0
  91. package/dist/Field-uy59BBE5.js.br +0 -0
  92. package/dist/Field-uy59BBE5.js.gz +0 -0
  93. package/dist/HotelAvailabilityForm-BorqaKO9.js.br +0 -0
  94. package/dist/HotelAvailabilityForm-BorqaKO9.js.gz +0 -0
  95. package/dist/SelectField-Deugng4e.js.br +0 -0
  96. package/dist/SelectField-Deugng4e.js.gz +0 -0
  97. package/dist/TermsOfService-B0e2zZ1G.js.br +0 -0
  98. package/dist/TermsOfService-B0e2zZ1G.js.gz +0 -1
  99. package/dist/_-BLU96am3.js.br +0 -0
  100. package/dist/_-BLU96am3.js.gz +0 -0
  101. package/dist/chunk-BPfpcrXh.js.gz +0 -0
  102. package/dist/dist-CkHp-kIg.js.br +0 -0
  103. package/dist/dist-CkHp-kIg.js.gz +0 -0
  104. package/dist/giftCard-D4xa9d4r.js.br +0 -0
  105. package/dist/giftCard-D4xa9d4r.js.gz +0 -9
  106. package/dist/masonry.plugin-DeTZh8E2.js.br +0 -0
  107. package/dist/masonry.plugin-DeTZh8E2.js.gz +0 -0
  108. package/dist/mitt-Dp_pykgV.js.br +0 -0
  109. package/dist/mitt-Dp_pykgV.js.gz +0 -0
  110. package/dist/style-CyChAn2F.js.br +0 -0
  111. package/dist/style-CyChAn2F.js.gz +0 -0
  112. /package/dist/{chunk-BPfpcrXh.js → rolldown-runtime-Dqa2HsxW.js} +0 -0
  113. /package/dist/{chunk-BPfpcrXh.js.br → rolldown-runtime-Dqa2HsxW.js.br} +0 -0
package/dist/hotel.js CHANGED
@@ -1,16 +1,16 @@
1
- import { r as e, t } from "./chunk-BPfpcrXh.js";
2
- import { $ as n, A as r, At as i, C as a, D as o, Dt as s, E as c, Et as l, H as u, M as d, N as f, O as p, P as m, S as h, T as g, V as _, Y as v, _ as ee, a as te, at as ne, bt as y, c as re, dt as b, et as x, ft as S, gt as C, it as w, j as ie, k as T, kt as ae, lt as E, nt as oe, o as D, p as O, q as k, r as A, s as j, t as M, u as N, vt as P, x as F, y as se } from "./mitt-Dp_pykgV.js";
3
- import { t as ce } from "./dist-CkHp-kIg.js";
4
- import { B as le, C as ue, D as de, E as fe, F as pe, G as me, H as he, I as ge, J as _e, L as ve, M as ye, O as be, Q as xe, S as I, U as Se, W as Ce, Z as R, _ as we, b as Te, ct as Ee, dt as De, n as Oe, nt as ke, r as Ae, t as je, tt as Me, v as z, x as B } from "./SelectField-Deugng4e.js";
5
- import { n as Ne, t as Pe } from "./AvailabilitySkeleton-Dts-myrc.js";
6
- import { t as Fe } from "./HotelAvailabilityForm-BorqaKO9.js";
7
- import { t as Ie } from "./style-CyChAn2F.js";
8
- import { t as Le } from "./ActionField-DRRWeUYM.js";
9
- import { a as Re, c as ze, i as Be, l as Ve, n as He, o as Ue, r as We, s as Ge, t as Ke, u as qe } from "./masonry.plugin-DeTZh8E2.js";
10
- import { a as Je, i as V, r as Ye, t as Xe } from "./CheckoutWindow-BHVG2dxQ.js";
11
- import { t as Ze } from "./TermsOfService-B0e2zZ1G.js";
1
+ import { r as e, t } from "./rolldown-runtime-Dqa2HsxW.js";
2
+ import { $ as n, A as r, At as i, C as a, D as o, Dt as s, E as c, Et as l, H as u, M as d, N as f, O as p, P as m, S as h, T as g, V as _, Y as v, _ as ee, a as te, at as ne, bt as y, c as re, dt as b, et as x, ft as S, gt as C, it as w, j as ie, k as T, kt as ae, lt as E, nt as oe, o as D, q as O, r as k, s as A, t as j, u as M, vt as N, x as P, y as F } from "./mitt-D_sfUt2u.js";
3
+ import { t as se } from "./dist-Bmb1V_bQ.js";
4
+ import { B as ce, C as le, D as ue, E as de, F as fe, G as pe, H as me, I as he, J as I, L as ge, M as _e, O as ve, Q as ye, S as R, U as be, W as xe, Z as Se, _ as z, b as Ce, ct as we, ft as Te, n as Ee, nt as De, r as Oe, t as ke, tt as Ae, v as je, x as B } from "./SelectField-BuepNFGh.js";
5
+ import { n as Me, t as Ne } from "./AvailabilitySkeleton-D_WemNm7.js";
6
+ import { t as Pe } from "./HotelAvailabilityForm-CXhF2zZd.js";
7
+ import { t as Fe } from "./style-DxH0isic.js";
8
+ import { t as Ie } from "./ActionField-DcJ46kr8.js";
9
+ import { a as Le, c as Re, i as ze, l as Be, n as Ve, o as He, r as Ue, s as We, t as Ge, u as Ke } from "./masonry.plugin-CB5zqVnY.js";
10
+ import { a as qe, i as Je, r as V, t as Ye } from "./CheckoutWindow-Cxf3LsRu.js";
11
+ import { t as Xe } from "./TermsOfService-CI6N0yyP.js";
12
12
  //#region node_modules/inner-image-zoom/src/utils/images.js
13
- function Qe(e, t) {
13
+ function Ze(e, t) {
14
14
  return t ? {
15
15
  width: window.innerWidth,
16
16
  height: window.innerHeight,
@@ -18,10 +18,10 @@ function Qe(e, t) {
18
18
  top: 0
19
19
  } : e.getBoundingClientRect();
20
20
  }
21
- function $e(e, t) {
21
+ function Qe(e, t) {
22
22
  return e && window.matchMedia && window.matchMedia(`(max-width: ${t}px)`).matches;
23
23
  }
24
- function et() {
24
+ function $e() {
25
25
  return {
26
26
  onLoadCallback: null,
27
27
  bounds: {},
@@ -31,19 +31,19 @@ function et() {
31
31
  scaledDimensions: {}
32
32
  };
33
33
  }
34
- function tt(e, t, n, r) {
34
+ function et(e, t, n, r) {
35
35
  return {
36
36
  x: e - n,
37
37
  y: t - r
38
38
  };
39
39
  }
40
- function nt(e, t) {
40
+ function tt(e, t) {
41
41
  return {
42
42
  x: (t.width - e.width) / e.width,
43
43
  y: (t.height - e.height) / e.height
44
44
  };
45
45
  }
46
- function rt(e, t) {
46
+ function nt(e, t) {
47
47
  return {
48
48
  width: e.naturalWidth * t,
49
49
  height: e.naturalHeight * t
@@ -51,39 +51,39 @@ function rt(e, t) {
51
51
  }
52
52
  //#endregion
53
53
  //#region node_modules/inner-image-zoom/src/utils/events.js
54
- function it(e) {
54
+ function rt(e) {
55
55
  return {
56
56
  x: typeof e.pageX == "number" ? e.pageX : e.changedTouches[0].pageX,
57
57
  y: typeof e.pageY == "number" ? e.pageY : e.changedTouches[0].pageY
58
58
  };
59
59
  }
60
- function at(e, t, n) {
60
+ function it(e, t, n) {
61
61
  let r = (e.pageX - (window.pageXOffset + t.bounds.left)) * -t.ratios.x, i = (e.pageY - (window.pageYOffset + t.bounds.top)) * -t.ratios.y;
62
62
  return {
63
63
  pageX: r + (n ? (window.innerWidth - t.bounds.width) / 2 : 0),
64
64
  pageY: i + (n ? (window.innerHeight - t.bounds.height) / 2 : 0)
65
65
  };
66
66
  }
67
- function ot(e, t) {
67
+ function at(e, t) {
68
68
  let n = Math.abs(e.pageX - t.eventPosition.x), r = Math.abs(e.pageY - t.eventPosition.y);
69
69
  return n > 5 || r > 5;
70
70
  }
71
- function st(e, t) {
72
- let n = lt(e, t);
71
+ function ot(e, t) {
72
+ let n = ct(e, t);
73
73
  return {
74
74
  left: Math.max(Math.min(n.x, t.bounds.width), 0) * -t.ratios.x,
75
75
  top: Math.max(Math.min(n.y, t.bounds.height), 0) * -t.ratios.y
76
76
  };
77
77
  }
78
- function ct(e, t) {
79
- let n = lt(e, t);
78
+ function st(e, t) {
79
+ let n = ct(e, t);
80
80
  return {
81
81
  left: Math.max(Math.min(n.x, 0), (t.scaledDimensions.width - t.bounds.width) * -1),
82
82
  top: Math.max(Math.min(n.y, 0), (t.scaledDimensions.height - t.bounds.height) * -1)
83
83
  };
84
84
  }
85
- function lt(e, t) {
86
- let n = it(e);
85
+ function ct(e, t) {
86
+ let n = rt(e);
87
87
  return {
88
88
  x: n.x - t.offsets.x,
89
89
  y: n.y - t.offsets.y
@@ -91,7 +91,7 @@ function lt(e, t) {
91
91
  }
92
92
  //#endregion
93
93
  //#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
94
- var ut = m({
94
+ var lt = m({
95
95
  name: "InnerImageZoom",
96
96
  props: {
97
97
  moveType: {
@@ -149,7 +149,7 @@ var ut = m({
149
149
  };
150
150
  },
151
151
  created() {
152
- this.imgProps = et(), $e(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
152
+ this.imgProps = $e(), Qe(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
153
153
  },
154
154
  computed: {
155
155
  validSources: function() {
@@ -164,7 +164,7 @@ var ut = m({
164
164
  this.isActive = !0, this.zoomType === "hover" && !this.isZoomed && this.handleClick(e);
165
165
  },
166
166
  handleTouchStart() {
167
- this.isTouch = !0, this.isFullscreen = $e(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
167
+ this.isTouch = !0, this.isFullscreen = Qe(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
168
168
  },
169
169
  handleClick(e) {
170
170
  if (this.isZoomed) {
@@ -174,23 +174,23 @@ var ut = m({
174
174
  this.isTouch && (this.isActive = !0), this.imgProps.zoomImg ? (this.handleLoad({ target: this.imgProps.zoomImg }), this.zoomIn(e)) : this.imgProps.onLoadCallback = this.zoomIn.bind(this, e);
175
175
  },
176
176
  handleLoad(e) {
177
- let t = rt(e.target, this.zoomScale);
178
- this.imgProps.zoomImg = e.target, this.imgProps.zoomImg.setAttribute("width", t.width), this.imgProps.zoomImg.setAttribute("height", t.height), this.imgProps.scaledDimensions = t, this.imgProps.bounds = Qe(this.$refs.img, !1), this.imgProps.ratios = nt(this.imgProps.bounds, t), this.imgProps.onLoadCallback && (this.imgProps.onLoadCallback(), this.imgProps.onLoadCallback = null);
177
+ let t = nt(e.target, this.zoomScale);
178
+ this.imgProps.zoomImg = e.target, this.imgProps.zoomImg.setAttribute("width", t.width), this.imgProps.zoomImg.setAttribute("height", t.height), this.imgProps.scaledDimensions = t, this.imgProps.bounds = Ze(this.$refs.img, !1), this.imgProps.ratios = tt(this.imgProps.bounds, t), this.imgProps.onLoadCallback && (this.imgProps.onLoadCallback(), this.imgProps.onLoadCallback = null);
179
179
  },
180
180
  handleMouseMove(e) {
181
- let t = st(e, this.imgProps);
181
+ let t = ot(e, this.imgProps);
182
182
  this.left = t.left, this.top = t.top;
183
183
  },
184
184
  handleDragStart(e) {
185
- let t = it(e);
186
- this.imgProps.offsets = tt(t.x, t.y, this.imgProps.zoomImg.offsetLeft, this.imgProps.zoomImg.offsetTop), this.imgProps.zoomImg.addEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove, { passive: !0 }), this.isTouch || (this.imgProps.eventPosition = t);
185
+ let t = rt(e);
186
+ this.imgProps.offsets = et(t.x, t.y, this.imgProps.zoomImg.offsetLeft, this.imgProps.zoomImg.offsetTop), this.imgProps.zoomImg.addEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove, { passive: !0 }), this.isTouch || (this.imgProps.eventPosition = t);
187
187
  },
188
188
  handleDragMove(e) {
189
- let t = ct(e, this.imgProps);
189
+ let t = st(e, this.imgProps);
190
190
  this.left = t.left, this.top = t.top;
191
191
  },
192
192
  handleDragEnd(e) {
193
- this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging = ot(e, this.imgProps));
193
+ this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging = at(e, this.imgProps));
194
194
  },
195
195
  handleMouseLeave(e) {
196
196
  this.currentMoveType === "drag" && this.isZoomed ? this.handleDragEnd(e) : this.handleClose();
@@ -198,16 +198,16 @@ var ut = m({
198
198
  handleClose() {
199
199
  this.zoomOut(() => {
200
200
  setTimeout(() => {
201
- (this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps = et()), this.isTouch = !1, this.isFullscreen = !1, this.currentMoveType = this.moveType;
201
+ (this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps = $e()), this.isTouch = !1, this.isFullscreen = !1, this.currentMoveType = this.moveType;
202
202
  }, this.isFullscreen ? 0 : this.fadeDuration);
203
203
  });
204
204
  },
205
205
  initialMove(e) {
206
- this.imgProps.offsets = tt(window.pageXOffset, window.pageYOffset, -this.imgProps.bounds.left, -this.imgProps.bounds.top), this.handleMouseMove(e);
206
+ this.imgProps.offsets = et(window.pageXOffset, window.pageYOffset, -this.imgProps.bounds.left, -this.imgProps.bounds.top), this.handleMouseMove(e);
207
207
  },
208
208
  initialDragMove(e) {
209
- let t = at(e, this.imgProps, this.isFullscreen);
210
- this.imgProps.bounds = Qe(this.$refs.img, this.isFullscreen), this.imgProps.offsets = tt(0, 0, 0, 0), this.handleDragMove({
209
+ let t = it(e, this.imgProps, this.isFullscreen);
210
+ this.imgProps.bounds = Ze(this.$refs.img, this.isFullscreen), this.imgProps.offsets = et(0, 0, 0, 0), this.handleDragMove({
211
211
  ...t,
212
212
  preventDefault: () => {},
213
213
  stopPropagation: () => {}
@@ -220,19 +220,19 @@ var ut = m({
220
220
  this.isZoomed = !1, this.afterZoomOut && this.afterZoomOut(), e && e();
221
221
  }
222
222
  }
223
- }), dt = { key: 0 }, ft = [
223
+ }), ut = { key: 0 }, dt = [
224
224
  "src",
225
225
  "width",
226
226
  "height"
227
- ], pt = [
227
+ ], ft = [
228
228
  "src",
229
229
  "width",
230
230
  "height"
231
- ], mt = { class: "iiz__zoom-portal" }, ht = ["src"], gt = ["src"], _t = {
231
+ ], pt = { class: "iiz__zoom-portal" }, mt = ["src"], ht = ["src"], gt = {
232
232
  key: 1,
233
233
  class: "iiz__btn iiz__hint"
234
234
  };
235
- function vt(e, t, r, i, l, u) {
235
+ function _t(e, t, r, i, l, u) {
236
236
  return v(), T("figure", _({
237
237
  class: ["iiz", {
238
238
  ...e.className && { [e.className]: e.className },
@@ -247,7 +247,7 @@ function vt(e, t, r, i, l, u) {
247
247
  mousemove: e.currentMoveType === "drag" || !e.isZoomed ? () => {} : e.handleMouseMove,
248
248
  mouseleave: e.isTouch ? () => {} : e.handleMouseLeave
249
249
  }, !0)), [
250
- c("div", { style: ae({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (v(), T("picture", dt, [(v(!0), T(F, null, n(e.validSources, (e, t) => (v(), T("source", _({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), c("img", _(e.imgAttributes, {
250
+ c("div", { style: ae({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (v(), T("picture", ut, [(v(!0), T(P, null, n(e.validSources, (e, t) => (v(), T("source", _({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), c("img", _(e.imgAttributes, {
251
251
  class: ["iiz__img", [e.imgAttributes.className || "", {
252
252
  "iiz__img--hidden": e.isZoomed,
253
253
  "iiz__img--abs": e.createSpacer
@@ -256,7 +256,7 @@ function vt(e, t, r, i, l, u) {
256
256
  src: e.src,
257
257
  width: e.width,
258
258
  height: e.height
259
- }), null, 16, ft)])) : (v(), T("img", _({ key: 1 }, e.imgAttributes, {
259
+ }), null, 16, dt)])) : (v(), T("img", _({ key: 1 }, e.imgAttributes, {
260
260
  class: ["iiz__img", [e.imgAttributes.className || "", {
261
261
  "iiz__img--hidden": e.isZoomed,
262
262
  "iiz__img--abs": e.createSpacer
@@ -265,11 +265,11 @@ function vt(e, t, r, i, l, u) {
265
265
  src: e.src,
266
266
  width: e.width,
267
267
  height: e.height
268
- }), null, 16, pt))], 4),
269
- e.isActive ? (v(), T(F, { key: 0 }, [e.isFullscreen ? (v(), o(a, {
268
+ }), null, 16, ft))], 4),
269
+ e.isActive ? (v(), T(P, { key: 0 }, [e.isFullscreen ? (v(), o(a, {
270
270
  key: 0,
271
271
  to: "body"
272
- }, [c("div", mt, [c("img", _({
272
+ }, [c("div", pt, [c("img", _({
273
273
  class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
274
274
  alt: "",
275
275
  draggable: !1,
@@ -286,14 +286,14 @@ function vt(e, t, r, i, l, u) {
286
286
  mousedown: e.handleDragStart,
287
287
  mouseup: e.handleDragEnd,
288
288
  click: e.handleClick
289
- }, !0)), null, 16, ht), !e.hideCloseButton && e.currentMoveType === "drag" ? (v(), T("button", {
289
+ }, !0)), null, 16, mt), !e.hideCloseButton && e.currentMoveType === "drag" ? (v(), T("button", {
290
290
  key: 0,
291
291
  type: "button",
292
292
  class: s(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
293
293
  "aria-label": "Zoom Out",
294
294
  style: ae({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
295
- onClick: t[0] ||= se((...t) => e.handleClose && e.handleClose(...t), ["stop"])
296
- }, null, 6)) : p("", !0)])])) : (v(), T(F, { key: 1 }, [c("img", _({
295
+ onClick: t[0] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
296
+ }, null, 6)) : p("", !0)])])) : (v(), T(P, { key: 1 }, [c("img", _({
297
297
  class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
298
298
  alt: "",
299
299
  draggable: !1,
@@ -309,32 +309,32 @@ function vt(e, t, r, i, l, u) {
309
309
  touchend: e.handleDragEnd,
310
310
  mousedown: e.handleDragStart,
311
311
  mouseup: e.handleDragEnd
312
- }, !0)), null, 16, gt), !e.hideCloseButton && e.currentMoveType === "drag" ? (v(), T("button", {
312
+ }, !0)), null, 16, ht), !e.hideCloseButton && e.currentMoveType === "drag" ? (v(), T("button", {
313
313
  key: 0,
314
314
  class: s(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
315
315
  type: "button",
316
316
  "aria-label": "Zoom Out",
317
317
  style: ae({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
318
- onClick: t[1] ||= se((...t) => e.handleClose && e.handleClose(...t), ["stop"])
318
+ onClick: t[1] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
319
319
  }, null, 6)) : p("", !0)], 64))], 64)) : p("", !0),
320
- !e.isZoomed && !e.hideHint ? (v(), T("span", _t)) : p("", !0)
320
+ !e.isZoomed && !e.hideHint ? (v(), T("span", gt)) : p("", !0)
321
321
  ], 16);
322
322
  }
323
323
  //#endregion
324
324
  //#region node_modules/vue-inner-image-zoom/src/index.js
325
- var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]]), H = { key: 0 }, U = { class: "konnectio-hotel-reservation-warning" }, bt = { class: "konnectio-hotel-reservation-warning" }, xt = { class: "konnectio-hotel-reservation-warning" }, St = { key: 1 }, Ct = { class: "konnectio-hotel-reservation-title" }, W = { class: "konnectio-hotel-reservation-information" }, G = { class: "konnectio-hotel-reservation-guests" }, wt = { key: 0 }, Tt = {
325
+ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]]), yt = { key: 0 }, H = { class: "konnectio-hotel-reservation-warning" }, U = { class: "konnectio-hotel-reservation-warning" }, bt = { class: "konnectio-hotel-reservation-warning" }, xt = { key: 1 }, St = { class: "konnectio-hotel-reservation-title" }, Ct = { class: "konnectio-hotel-reservation-information" }, W = { class: "konnectio-hotel-reservation-guests" }, G = { key: 0 }, wt = {
326
326
  key: 0,
327
327
  class: "konnectio-hotel-reservation-room-name"
328
- }, K = ["onClick"], Et = { key: 0 }, Dt = { key: 1 }, Ot = { class: "konnectio-hotel-reservation-title" }, q = {
328
+ }, Tt = ["onClick"], K = { key: 0 }, Et = { key: 1 }, Dt = { class: "konnectio-hotel-reservation-title" }, Ot = {
329
329
  key: 0,
330
330
  class: "konnectio-hotel-reservation-room-name"
331
- }, kt = { class: "konnectio-hotel-reservation-information" }, At = { class: "konnectio-hotel-reservation-guests" }, jt = { key: 0 }, Mt = { key: 0 }, Nt = { class: "konnectio-reservation-actions" }, Pt = {
331
+ }, q = { class: "konnectio-hotel-reservation-information" }, kt = { class: "konnectio-hotel-reservation-guests" }, At = { key: 0 }, jt = { key: 0 }, Mt = { class: "konnectio-reservation-actions" }, Nt = {
332
332
  key: 0,
333
333
  class: "konnectio-newsletter-signup"
334
- }, Ft = {
334
+ }, Pt = {
335
335
  key: 1,
336
336
  class: "konnectio-accept-terms"
337
- }, It = { class: "konnectio-hotel-reservation-tooltip" }, Lt = /* @__PURE__ */ I(/* @__PURE__ */ m({
337
+ }, Ft = { class: "konnectio-hotel-reservation-tooltip" }, It = /*#__PURE__*/ R(/* @__PURE__ */ m({
338
338
  __name: "HotelReservationForm",
339
339
  props: {
340
340
  forceArrivalTime: {},
@@ -358,83 +358,83 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
358
358
  prevCallback: {}
359
359
  },
360
360
  setup(e) {
361
- let { t } = D(), { disableNewsletterSignup: a, currency: s } = N(fe()), { hasArrivalDepartureInputs: u } = fe(), { arrivalTime: f, departureTime: m, roomDisplay: h, templateID: g, totalPrice: _, areListingsLoading: ne, getSelectedPackageRooms: re, templateRoomUnits: w, selectedPackage: ie, discountVouchers: ae, currentArrivalDate: E, currentDepartureDate: O, datesMismatch: k, currentLocation: A, locationMismatch: j, newsMails: M, termsOfService: P, discountCode: ce, hasTermOfService: le, acceptTerms: de, totalTemplateAddonPrice: he, totalRooms: ge, totalAdults: ye, totalChildren: xe, weekendFee: I, selectedMemberCardData: Ce, appliedDiscountCode: R, guestDiscountCode: we, isValidatingDiscountCode: Te } = N(be()), { hasHotelLocations: Ee } = N(ue()), { removeRoom: De, validateDiscountCode: Oe, getMandatoryRoomGroupAddons: ke, resetDiscountVoucher: Ae, setGuestDiscountCode: je, clearGuestDiscountCode: Me, fetchAvailabilityData: z } = be(), { getHotelLocationName: Ne } = ue(), Pe = y(!1);
361
+ let { t } = D(), { disableNewsletterSignup: a, currency: s } = M(de()), { hasArrivalDepartureInputs: u } = de(), { arrivalTime: f, departureTime: m, roomDisplay: h, templateID: g, totalPrice: _, areListingsLoading: ne, getSelectedPackageRooms: re, templateRoomUnits: w, selectedPackage: ie, discountVouchers: ae, currentArrivalDate: E, currentDepartureDate: O, datesMismatch: k, currentLocation: A, locationMismatch: j, newsMails: N, termsOfService: se, discountCode: ce, hasTermOfService: ue, acceptTerms: me, totalTemplateAddonPrice: he, totalRooms: _e, totalAdults: ye, totalChildren: R, weekendFee: xe, selectedMemberCardData: Se, appliedDiscountCode: z, guestDiscountCode: Ce, isValidatingDiscountCode: we } = M(ve()), { hasHotelLocations: Te } = M(le()), { removeRoom: Ee, validateDiscountCode: De, getMandatoryRoomGroupAddons: Oe, resetDiscountVoucher: ke, setGuestDiscountCode: Ae, clearGuestDiscountCode: je, fetchAvailabilityData: Me } = ve(), { getHotelLocationName: Ne } = le(), Pe = y(!1);
362
362
  function Fe(e) {
363
- je(e), z();
363
+ Ae(e), Me();
364
364
  }
365
365
  function Ie() {
366
- Me(), z();
366
+ je(), Me();
367
367
  }
368
368
  function Le(e) {
369
369
  return e.reduce((e, { totalPrice: t }) => e + t, 0);
370
370
  }
371
371
  return (y, D) => {
372
- let N = oe("tooltip");
373
- return v(), o(Ue, {
372
+ let M = oe("tooltip");
373
+ return v(), o(He, {
374
374
  "discount-code": l(ce),
375
375
  "onUpdate:discountCode": D[4] ||= (e) => C(ce) ? ce.value = e : null,
376
- "validate-discount-code": l(Oe),
376
+ "validate-discount-code": l(De),
377
377
  "total-price": l(_),
378
- "weekend-fee": l(I),
378
+ "weekend-fee": l(xe),
379
379
  "show-gift-card": e.showGiftCard,
380
380
  "availability-discount": e.availabilityDiscount,
381
381
  "show-terms-notice": e.showTermsNotice,
382
382
  "is-sidebar-loading": l(ne),
383
383
  notice: l(t)("hotel.reservationNotice"),
384
384
  "prev-callback": e.prevCallback,
385
- "applied-discount-code": l(R),
386
- "guest-discount-code": l(we),
387
- "is-validating-discount-code": l(Te),
388
- "on-reset-discount-code": l(Ae),
385
+ "applied-discount-code": l(z),
386
+ "guest-discount-code": l(Ce),
387
+ "is-validating-discount-code": l(we),
388
+ "on-reset-discount-code": l(ke),
389
389
  "on-apply-availability-discount": Fe,
390
390
  "on-clear-availability-discount": Ie
391
391
  }, r({
392
392
  form: b(() => [x(y.$slots, "form", {}, void 0, !0)]),
393
- "price-summary": b(() => [isNaN(l(g)) && l(h).length > 0 ? (v(!0), T(F, { key: 0 }, n(l(h), ({ roomGroupID: r, title: a, variants: o }) => (v(), T("div", { key: r }, [c("h6", null, [c("span", null, i(l(pe)(a)), 1)]), (v(!0), T(F, null, n(o, (a, o) => (v(), T("div", { key: o }, [(v(!0), T(F, null, n(a.rooms, (n, u) => (v(), T("ul", { key: u }, [c("li", null, [
394
- c("span", Ct, i(l(pe)(a.name)), 1),
395
- c("span", W, [c("span", G, [c("span", null, [d(B, {
393
+ "price-summary": b(() => [isNaN(l(g)) && l(h).length > 0 ? (v(!0), T(P, { key: 0 }, n(l(h), ({ roomGroupID: r, title: a, variants: o }) => (v(), T("div", { key: r }, [c("h6", null, [c("span", null, i(l(fe)(a)), 1)]), (v(!0), T(P, null, n(o, (a, o) => (v(), T("div", { key: o }, [(v(!0), T(P, null, n(a.rooms, (n, u) => (v(), T("ul", { key: u }, [c("li", null, [
394
+ c("span", St, i(l(fe)(a.name)), 1),
395
+ c("span", Ct, [c("span", W, [c("span", null, [d(B, {
396
396
  icon: "male",
397
397
  type: "fas",
398
398
  color: "font"
399
- }), c("span", null, i(n.adultsCount), 1)]), n.childrenCount > 0 ? (v(), T("span", wt, [d(B, {
399
+ }), c("span", null, i(n.adultsCount), 1)]), n.childrenCount > 0 ? (v(), T("span", G, [d(B, {
400
400
  icon: "child",
401
401
  type: "fas",
402
402
  color: "font"
403
- }), c("span", null, i(n.childrenCount), 1)])) : p("", !0)]), n.roomName ? (v(), T("span", Tt, "(" + i(n.roomName) + ")", 1)) : p("", !0)]),
404
- c("b", null, [c("span", null, i(l(_e)(n.totalPrice, l(s))), 1), e.showRemoveRoom ? (v(), T("span", {
403
+ }), c("span", null, i(n.childrenCount), 1)])) : p("", !0)]), n.roomName ? (v(), T("span", wt, "(" + i(n.roomName) + ")", 1)) : p("", !0)]),
404
+ c("b", null, [c("span", null, i(l(I)(n.totalPrice, l(s))), 1), e.showRemoveRoom ? (v(), T("span", {
405
405
  key: 0,
406
406
  class: "konnectio-hotel-reservation-remove",
407
- onClick: se((e) => l(De)(r, o, n.configIdx), ["prevent"])
407
+ onClick: F((e) => l(Ee)(r, o, n.configIdx), ["prevent"])
408
408
  }, [d(B, {
409
409
  icon: "times",
410
410
  type: "fas",
411
411
  "icon-color": "#ff0000"
412
- })], 8, K)) : p("", !0)])
413
- ]), Le(n.roomAddons) > 0 ? (v(), T("li", Et, [c("span", null, i(l(t)("general.addons")), 1), c("b", null, i(l(_e)(Le(n.roomAddons), l(s))), 1)])) : p("", !0)]))), 128))]))), 128))]))), 128)) : p("", !0), l(w).length > 0 && l(ie) ? (v(), T("div", Dt, [c("h6", null, [c("span", null, i(l(pe)(l(ie).name)), 1)]), c("div", null, [c("ul", null, [(v(!0), T(F, null, n(l(w), (e, r) => (v(), T("li", { key: r }, [
414
- c("span", Ot, [c("span", null, i(l(pe)(l(re).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), l(w).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (v(), T("span", q, "(" + i(l(t)("booking.reservation.room")) + " " + i(l(w).slice(0, r + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : p("", !0)]),
415
- c("span", kt, [c("span", At, [c("span", null, [d(B, {
412
+ })], 8, Tt)) : p("", !0)])
413
+ ]), Le(n.roomAddons) > 0 ? (v(), T("li", K, [c("span", null, i(l(t)("general.addons")), 1), c("b", null, i(l(I)(Le(n.roomAddons), l(s))), 1)])) : p("", !0)]))), 128))]))), 128))]))), 128)) : p("", !0), l(w).length > 0 && l(ie) ? (v(), T("div", Et, [c("h6", null, [c("span", null, i(l(fe)(l(ie).name)), 1)]), c("div", null, [c("ul", null, [(v(!0), T(P, null, n(l(w), (e, r) => (v(), T("li", { key: r }, [
414
+ c("span", Dt, [c("span", null, i(l(fe)(l(re).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), l(w).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (v(), T("span", Ot, "(" + i(l(t)("booking.reservation.room")) + " " + i(l(w).slice(0, r + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : p("", !0)]),
415
+ c("span", q, [c("span", kt, [c("span", null, [d(B, {
416
416
  icon: "male",
417
417
  type: "fas",
418
418
  color: "font"
419
- }), c("span", null, i(e.adults), 1)]), e.children > 0 ? (v(), T("span", jt, [d(B, {
419
+ }), c("span", null, i(e.adults), 1)]), e.children > 0 ? (v(), T("span", At, [d(B, {
420
420
  icon: "child",
421
421
  type: "fas",
422
422
  color: "font"
423
423
  }), c("span", null, i(e.children), 1)])) : p("", !0)])]),
424
- c("b", null, [c("span", null, i(l(_e)((l(re).find((t) => t.id === e.roomGroupId)?.extraPrice ?? 0) + l(I), l(s))), 1)]),
425
- l(ke)(e.roomGroupId) ? (v(!0), T(F, { key: 0 }, n(l(ke)(e.roomGroupId), (e) => (v(), T(F, null, [c("span", null, "- " + i(e.name), 1), c("b", null, [c("span", null, i(l(_e)(e.price, l(s))), 1)])], 64))), 256)) : p("", !0)
426
- ]))), 128)), l(he) ? (v(), T("li", Mt, [c("span", null, i(l(t)("general.addons")), 1), c("b", null, i(l(_e)(l(he), l(s))), 1)])) : p("", !0)])])])) : p("", !0)]),
427
- actions: b(() => [c("ul", Nt, [
428
- l(a) ? p("", !0) : (v(), T("div", Pt, [d(Ye, {
429
- modelValue: l(M),
430
- "onUpdate:modelValue": D[0] ||= (e) => C(M) ? M.value = e : null,
424
+ c("b", null, [c("span", null, i(l(I)((l(re).find((t) => t.id === e.roomGroupId)?.extraPrice ?? 0) + l(xe), l(s))), 1)]),
425
+ l(Oe)(e.roomGroupId) ? (v(!0), T(P, { key: 0 }, n(l(Oe)(e.roomGroupId), (e) => (v(), T(P, null, [c("span", null, "- " + i(e.name), 1), c("b", null, [c("span", null, i(l(I)(e.price, l(s))), 1)])], 64))), 256)) : p("", !0)
426
+ ]))), 128)), l(he) ? (v(), T("li", jt, [c("span", null, i(l(t)("general.addons")), 1), c("b", null, i(l(I)(l(he), l(s))), 1)])) : p("", !0)])])])) : p("", !0)]),
427
+ actions: b(() => [c("ul", Mt, [
428
+ l(a) ? p("", !0) : (v(), T("div", Nt, [d(V, {
429
+ modelValue: l(N),
430
+ "onUpdate:modelValue": D[0] ||= (e) => C(N) ? N.value = e : null,
431
431
  type: "checkbox",
432
432
  name: "newsletter",
433
433
  label: l(t)("booking.reservation.newsletterSignUp")
434
434
  }, null, 8, ["modelValue", "label"])])),
435
- l(le) ? (v(), T("div", Ft, [d(Ye, {
436
- modelValue: l(de),
437
- "onUpdate:modelValue": D[2] ||= (e) => C(de) ? de.value = e : null,
435
+ l(ue) ? (v(), T("div", Pt, [d(V, {
436
+ modelValue: l(me),
437
+ "onUpdate:modelValue": D[2] ||= (e) => C(me) ? me.value = e : null,
438
438
  type: "checkbox",
439
439
  name: "terms"
440
440
  }, {
@@ -445,56 +445,56 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
445
445
  }, {
446
446
  terms: b(() => [c("a", {
447
447
  class: "konnectio-accept-terms-link",
448
- onClick: D[1] ||= se((e) => Pe.value = !0, ["prevent"])
449
- }, [c("span", null, i(l(Se)(l(t)("general.termsAndConditions"))), 1)])]),
448
+ onClick: D[1] ||= F((e) => Pe.value = !0, ["prevent"])
449
+ }, [c("span", null, i(l(be)(l(t)("general.termsAndConditions"))), 1)])]),
450
450
  _: 1
451
451
  })]),
452
452
  _: 1
453
453
  }, 8, ["modelValue"])])) : p("", !0),
454
454
  x(y.$slots, "actions", {}, void 0, !0),
455
- d(Ze, {
455
+ d(Xe, {
456
456
  modelValue: Pe.value,
457
457
  "onUpdate:modelValue": D[3] ||= (e) => Pe.value = e,
458
- description: l(P)
458
+ description: l(se)
459
459
  }, null, 8, ["modelValue", "description"])
460
460
  ])]),
461
461
  navigation: b(() => [x(y.$slots, "navigation", {}, void 0, !0)]),
462
462
  "mobile-under-price": b(() => [
463
463
  c("span", null, i(l(t)("general.for")) + ": ", 1),
464
- c("b", null, i(l(ve)(l(E), l(O))) + " " + i(l(Se)(l(ve)(l(E), l(O)) === 1 ? l(t)("booking.reservation.night") : l(t)("booking.reservation.nights"))), 1),
465
- S((v(), T("span", It, [d(B, {
464
+ c("b", null, i(l(ge)(l(E), l(O))) + " " + i(l(be)(l(ge)(l(E), l(O)) === 1 ? l(t)("booking.reservation.night") : l(t)("booking.reservation.nights"))), 1),
465
+ S((v(), T("span", Ft, [d(B, {
466
466
  icon: "circle-info",
467
467
  type: "fas"
468
- })])), [[N, {
469
- content: `<span>(${l(me)(l(E))} - ${l(me)(l(O))})</span>`,
468
+ })])), [[M, {
469
+ content: `<span>(${l(pe)(l(E))} - ${l(pe)(l(O))})</span>`,
470
470
  classes: ["tooltip", "konnectio-tooltip"],
471
471
  html: !0
472
472
  }]])
473
473
  ]),
474
474
  "mobile-summary": b(() => [
475
475
  c("span", null, i(`${l(ye)} ${l(ye) === 1 ? l(t)("general.adult") : l(t)("general.adults")}`), 1),
476
- c("span", null, i(`${l(xe)} ${l(xe) === 1 ? l(t)("general.child") : l(t)("general.children")}`), 1),
477
- c("span", null, i(`${l(ge)} ${l(ge) === 1 ? l(t)("booking.reservation.room") : l(t)("booking.reservation.rooms")}`), 1)
476
+ c("span", null, i(`${l(R)} ${l(R) === 1 ? l(t)("general.child") : l(t)("general.children")}`), 1),
477
+ c("span", null, i(`${l(_e)} ${l(_e) === 1 ? l(t)("booking.reservation.room") : l(t)("booking.reservation.rooms")}`), 1)
478
478
  ]),
479
479
  _: 2
480
480
  }, [isNaN(l(A)) ? void 0 : {
481
481
  name: "reservation-summary",
482
482
  fn: b(() => [
483
- l(Ee) ? (v(), T("li", H, [c("span", null, i(l(t)("general.location")), 1), c("b", null, [c("span", null, i(l(Ne)(l(A))), 1), S(c("span", U, [d(B, {
483
+ l(Te) ? (v(), T("li", yt, [c("span", null, i(l(t)("general.location")), 1), c("b", null, [c("span", null, i(l(Ne)(l(A))), 1), S(c("span", H, [d(B, {
484
484
  icon: "exclamation-triangle",
485
485
  type: "fas"
486
486
  })], 512), [[ee, l(j)]])])])) : p("", !0),
487
- c("li", null, [c("span", null, i(l(t)("booking.reservation.arrival")), 1), c("b", null, [c("span", null, i(l(u)(l(A)) ? `${l(me)(l(E))}, ${l(f)}` : l(me)(l(E))), 1), S(c("span", bt, [d(B, {
487
+ c("li", null, [c("span", null, i(l(t)("booking.reservation.arrival")), 1), c("b", null, [c("span", null, i(l(u)(l(A)) ? `${l(pe)(l(E))}, ${l(f)}` : l(pe)(l(E))), 1), S(c("span", U, [d(B, {
488
488
  icon: "exclamation-triangle",
489
489
  type: "fas"
490
490
  })], 512), [[ee, l(k)]])])]),
491
- c("li", null, [c("span", null, i(l(t)("booking.reservation.departure")), 1), c("b", null, [c("span", null, i(l(u)(l(A)) ? `${l(me)(l(O))}, ${l(m)}` : l(me)(l(O))), 1), S(c("span", xt, [d(B, {
491
+ c("li", null, [c("span", null, i(l(t)("booking.reservation.departure")), 1), c("b", null, [c("span", null, i(l(u)(l(A)) ? `${l(pe)(l(O))}, ${l(m)}` : l(pe)(l(O))), 1), S(c("span", bt, [d(B, {
492
492
  icon: "exclamation-triangle",
493
493
  type: "fas"
494
494
  })], 512), [[ee, l(k)]])])]),
495
- c("li", null, [c("span", null, i(l(t)("booking.reservation.nights")), 1), c("b", null, i(l(ve)(l(E), l(O))) + " " + i(l(Se)(l(ve)(l(E), l(O)) === 1 ? l(t)("booking.reservation.night") : l(t)("booking.reservation.nights"))), 1)]),
496
- l(Ce) && l(Ce).providesDiscount ? (v(), T("li", St, [c("span", null, i(l(Ce).shortDescription), 1), c("b", null, "-" + i(l(Ce).discountPercent) + "%", 1)])) : p("", !0),
497
- l(ae) ? (v(!0), T(F, { key: 2 }, n(l(ae), (e) => (v(), T("li", { key: e.id }, [c("span", null, i(`${l(t)("general.discountCode")} (${e.value})`), 1), c("b", null, i(e.key), 1)]))), 128)) : p("", !0)
495
+ c("li", null, [c("span", null, i(l(t)("booking.reservation.nights")), 1), c("b", null, i(l(ge)(l(E), l(O))) + " " + i(l(be)(l(ge)(l(E), l(O)) === 1 ? l(t)("booking.reservation.night") : l(t)("booking.reservation.nights"))), 1)]),
496
+ l(Se) && l(Se).providesDiscount ? (v(), T("li", xt, [c("span", null, i(l(Se).shortDescription), 1), c("b", null, "-" + i(l(Se).discountPercent) + "%", 1)])) : p("", !0),
497
+ l(ae) ? (v(!0), T(P, { key: 2 }, n(l(ae), (e) => (v(), T("li", { key: e.id }, [c("span", null, i(`${l(t)("general.discountCode")} (${e.value})`), 1), c("b", null, i(e.key), 1)]))), 128)) : p("", !0)
498
498
  ]),
499
499
  key: "0"
500
500
  }]), 1032, [
@@ -515,10 +515,10 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
515
515
  ]);
516
516
  };
517
517
  }
518
- }), [["__scopeId", "data-v-a875cf1e"]]), Rt = { id: "konnectio-hotel-guest-discount" }, zt = { class: "konnectio-panel" }, Bt = { id: "konnectio-hotel-guest-discount-title" }, Vt = ["innerHTML"], Ht = /* @__PURE__ */ I(/* @__PURE__ */ m({
518
+ }), [["__scopeId", "data-v-d1dc9622"]]), Lt = { class: "konnectio-panel" }, Rt = { id: "konnectio-hotel-guest-discount-title" }, zt = ["innerHTML"], Bt = /*#__PURE__*/ R(/* @__PURE__ */ m({
519
519
  __name: "GuestDiscountForm",
520
520
  setup(e) {
521
- let { t } = D(), n = De("history"), r = be(), { display: a } = ye(), o = y();
521
+ let { t } = D(), n = Te("history"), r = ve(), { display: a } = _e(), o = y();
522
522
  async function s() {
523
523
  if (!o.value) {
524
524
  a({
@@ -536,10 +536,13 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
536
536
  }
537
537
  await r.checkGuestDiscount(o.value) && (n.gid = o.value.toString());
538
538
  }
539
- return (e, n) => (v(), T("form", Rt, [c("div", zt, [
540
- c("h3", Bt, [c("span", null, i(l(t)("guestDiscount.title")), 1)]),
541
- c("p", { innerHTML: l(t)("guestDiscount.description") }, null, 8, Vt),
542
- d(Le, {
539
+ return (e, n) => (v(), T("form", {
540
+ id: "konnectio-hotel-guest-discount",
541
+ onSubmit: n[1] ||= F(() => {}, ["prevent"])
542
+ }, [c("div", Lt, [
543
+ c("h3", Rt, [c("span", null, i(l(t)("guestDiscount.title")), 1)]),
544
+ c("p", { innerHTML: l(t)("guestDiscount.description") }, null, 8, zt),
545
+ d(Ie, {
543
546
  modelValue: o.value,
544
547
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
545
548
  label: l(t)("guestDiscount.guestDiscountCode"),
@@ -555,9 +558,47 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
555
558
  "label",
556
559
  "button-label"
557
560
  ])
558
- ])]));
561
+ ])], 32));
562
+ }
563
+ }), [["__scopeId", "data-v-a9efb719"]]), Vt = { class: "konnectio-panel" }, Ht = { id: "konnectio-hotel-discount-code-title" }, J = ["innerHTML"], Ut = /*#__PURE__*/ R(/* @__PURE__ */ m({
564
+ __name: "DiscountCodeForm",
565
+ setup(e) {
566
+ let { t } = D(), n = Te("history"), r = ve(), { display: a } = _e(), o = y();
567
+ async function s() {
568
+ if (!o.value) {
569
+ a({
570
+ message: t("alert.error.discountCodeEmpty"),
571
+ type: "error"
572
+ });
573
+ return;
574
+ }
575
+ n.discount = o.value.toString(), r.setGuestDiscountCode(o.value.toString());
576
+ }
577
+ return (e, n) => (v(), T("form", {
578
+ id: "konnectio-hotel-discount-code",
579
+ onSubmit: n[1] ||= F(() => {}, ["prevent"])
580
+ }, [c("div", Vt, [
581
+ c("h3", Ht, [c("span", null, i(l(t)("discountCode.title")), 1)]),
582
+ c("p", { innerHTML: l(t)("discountCode.description") }, null, 8, J),
583
+ d(Ie, {
584
+ modelValue: o.value,
585
+ "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
586
+ label: l(t)("discountCode.label"),
587
+ placeholder: "XXXXXX",
588
+ inputType: "text",
589
+ "button-label": l(t)("discountCode.submitButton"),
590
+ icon: "tags",
591
+ "button-icon": "paper-plane-top",
592
+ secondary: "",
593
+ onAction: s
594
+ }, null, 8, [
595
+ "modelValue",
596
+ "label",
597
+ "button-label"
598
+ ])
599
+ ])], 32));
559
600
  }
560
- }), [["__scopeId", "data-v-1e2214de"]]), J = { class: "konnectio-room-config-option" }, Ut = { key: 0 }, Y = { class: "konnectio-selected-room-config" }, Wt = { class: "konnectio-selected-room-config-people" }, Gt = { key: 0 }, Kt = { class: "konnectio-selected-room-config-price" }, qt = /* @__PURE__ */ I(/* @__PURE__ */ m({
601
+ }), [["__scopeId", "data-v-c5281a3a"]]), Y = { class: "konnectio-room-config-option" }, Wt = { key: 0 }, Gt = { class: "konnectio-selected-room-config" }, Kt = { class: "konnectio-selected-room-config-people" }, qt = { key: 0 }, Jt = { class: "konnectio-selected-room-config-price" }, Yt = /*#__PURE__*/ R(/* @__PURE__ */ m({
561
602
  __name: "RoomConfigField",
562
603
  props: {
563
604
  modelValue: {},
@@ -574,7 +615,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
574
615
  },
575
616
  emits: ["update:modelValue"],
576
617
  setup(e, { emit: t }) {
577
- let { t: n } = D(), { currency: r } = N(fe()), a = t, s = e;
618
+ let { t: n } = D(), { currency: r } = M(de()), a = t, s = e;
578
619
  function u(e) {
579
620
  a("update:modelValue", e);
580
621
  }
@@ -582,7 +623,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
582
623
  get: () => s.modelValue,
583
624
  set: (e) => u(e)
584
625
  });
585
- return (t, a) => (v(), o(je, {
626
+ return (t, a) => (v(), o(ke, {
586
627
  modelValue: f.value,
587
628
  "onUpdate:modelValue": a[0] ||= (e) => f.value = e,
588
629
  label: e.label,
@@ -595,20 +636,20 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
595
636
  required: e.required,
596
637
  searchable: !1
597
638
  }, {
598
- option: b(({ data: e }) => [c("span", J, [c("div", null, [
639
+ option: b(({ data: e }) => [c("span", Y, [c("div", null, [
599
640
  d(B, {
600
641
  icon: "male",
601
642
  type: "fas",
602
643
  color: "font"
603
644
  }),
604
645
  c("span", null, i(`${e.adults}`), 1),
605
- e.children > 0 ? (v(), T("span", Ut, [d(B, {
646
+ e.children > 0 ? (v(), T("span", Wt, [d(B, {
606
647
  icon: "child",
607
648
  type: "fas",
608
649
  color: "font"
609
650
  }), c("span", null, i(`${e.children}`), 1)])) : p("", !0)
610
- ]), c("span", null, i(`(${l(_e)(e.price, l(r))})`), 1)])]),
611
- "selected-option": b(({ data: e }) => [c("div", Y, [c("div", Wt, [c("div", null, [p("", !0), c("span", null, i(`${e.adults} ${e.adults === 1 ? l(n)("general.adult") : l(n)("general.adults")}`), 1)]), e.children > 0 ? (v(), T("div", Gt, [p("", !0), c("span", null, i(`& ${e.children} ${e.children === 1 ? l(n)("general.child") : l(n)("general.children")}`), 1)])) : p("", !0)]), c("div", Kt, [a[1] ||= c("span", null, null, -1), ie(" " + i(`(${l(_e)(e.price, l(r))})`), 1)])])]),
651
+ ]), c("span", null, i(`(${l(I)(e.price, l(r))})`), 1)])]),
652
+ "selected-option": b(({ data: e }) => [c("div", Gt, [c("div", Kt, [c("div", null, [p("", !0), c("span", null, i(`${e.adults} ${e.adults === 1 ? l(n)("general.adult") : l(n)("general.adults")}`), 1)]), e.children > 0 ? (v(), T("div", qt, [p("", !0), c("span", null, i(`& ${e.children} ${e.children === 1 ? l(n)("general.child") : l(n)("general.children")}`), 1)])) : p("", !0)]), c("div", Jt, [a[1] ||= c("span", null, null, -1), ie(" " + i(`(${l(I)(e.price, l(r))})`), 1)])])]),
612
653
  _: 1
613
654
  }, 8, [
614
655
  "modelValue",
@@ -618,7 +659,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
618
659
  "required"
619
660
  ]));
620
661
  }
621
- }), [["__scopeId", "data-v-f960b7b6"]]), X = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
662
+ }), [["__scopeId", "data-v-c4045bfc"]]), X = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
622
663
  (function(n, r) {
623
664
  typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n = typeof globalThis < "u" ? globalThis : n || self, r(n.leaflet = {}));
624
665
  })(e, (function(e) {
@@ -1226,7 +1267,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
1226
1267
  }
1227
1268
  return n || "M0 0";
1228
1269
  }
1229
- var he = document.documentElement.style, ge = "ActiveXObject" in window, _e = ge && !document.addEventListener, ve = "msLaunchUri" in navigator && !("documentMode" in document), ye = Je("webkit"), be = Je("android"), xe = Je("android 2") || Je("android 3"), I = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Se = be && Je("Google") && I < 537 && !("AudioNode" in window), Ce = !!window.opera, R = !ve && Je("chrome"), we = Je("gecko") && !ye && !Ce && !ge, Te = !R && Je("safari"), Ee = Je("phantom"), De = "OTransition" in he, Oe = navigator.platform.indexOf("Win") === 0, ke = ge && "transition" in he, Ae = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !xe, je = "MozPerspective" in he, Me = !window.L_DISABLE_3D && (ke || Ae || je) && !De && !Ee, z = typeof orientation < "u" || Je("mobile"), B = z && ye, Ne = z && Ae, Pe = !window.PointerEvent && window.MSPointerEvent, Fe = !!(window.PointerEvent || Pe), Ie = "ontouchstart" in window || !!window.TouchEvent, Le = !window.L_NO_TOUCH && (Ie || Fe), Re = z && Ce, ze = z && we, Be = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Ve = function() {
1270
+ var he = document.documentElement.style, I = "ActiveXObject" in window, ge = I && !document.addEventListener, _e = "msLaunchUri" in navigator && !("documentMode" in document), ve = Je("webkit"), ye = Je("android"), R = Je("android 2") || Je("android 3"), be = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), xe = ye && Je("Google") && be < 537 && !("AudioNode" in window), Se = !!window.opera, z = !_e && Je("chrome"), Ce = Je("gecko") && !ve && !Se && !I, we = !z && Je("safari"), Te = Je("phantom"), Ee = "OTransition" in he, De = navigator.platform.indexOf("Win") === 0, Oe = I && "transition" in he, ke = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !R, Ae = "MozPerspective" in he, je = !window.L_DISABLE_3D && (Oe || ke || Ae) && !Ee && !Te, B = typeof orientation < "u" || Je("mobile"), Me = B && ve, Ne = B && ke, Pe = !window.PointerEvent && window.MSPointerEvent, Fe = !!(window.PointerEvent || Pe), Ie = "ontouchstart" in window || !!window.TouchEvent, Le = !window.L_NO_TOUCH && (Ie || Fe), Re = B && Se, ze = B && Ce, Be = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Ve = function() {
1230
1271
  var e = !1;
1231
1272
  try {
1232
1273
  var t = Object.defineProperty({}, "passive", { get: function() {
@@ -1254,26 +1295,26 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
1254
1295
  return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
1255
1296
  }
1256
1297
  var V = {
1257
- ie: ge,
1258
- ielt9: _e,
1259
- edge: ve,
1260
- webkit: ye,
1261
- android: be,
1262
- android23: xe,
1263
- androidStock: Se,
1264
- opera: Ce,
1265
- chrome: R,
1266
- gecko: we,
1267
- safari: Te,
1268
- phantom: Ee,
1269
- opera12: De,
1270
- win: Oe,
1271
- ie3d: ke,
1272
- webkit3d: Ae,
1273
- gecko3d: je,
1274
- any3d: Me,
1275
- mobile: z,
1276
- mobileWebkit: B,
1298
+ ie: I,
1299
+ ielt9: ge,
1300
+ edge: _e,
1301
+ webkit: ve,
1302
+ android: ye,
1303
+ android23: R,
1304
+ androidStock: xe,
1305
+ opera: Se,
1306
+ chrome: z,
1307
+ gecko: Ce,
1308
+ safari: we,
1309
+ phantom: Te,
1310
+ opera12: Ee,
1311
+ win: De,
1312
+ ie3d: Oe,
1313
+ webkit3d: ke,
1314
+ gecko3d: Ae,
1315
+ any3d: je,
1316
+ mobile: B,
1317
+ mobileWebkit: Me,
1277
1318
  mobileWebkit3d: Ne,
1278
1319
  msPointer: Pe,
1279
1320
  pointer: Fe,
@@ -1586,20 +1627,20 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
1586
1627
  if (!a) return this;
1587
1628
  !V.touchNative && V.pointer && t.indexOf("touch") === 0 ? it(e, t, a) : V.touch && t === "dblclick" ? mt(e, a) : "removeEventListener" in e ? e.removeEventListener(Gt[t] || t, a, !1) : e.detachEvent("on" + t, a), e[Ut][i] = null;
1588
1629
  }
1589
- function X(e) {
1590
- return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
1591
- }
1592
1630
  function Jt(e) {
1593
- return Kt(e, "wheel", X), this;
1631
+ return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
1594
1632
  }
1595
1633
  function Yt(e) {
1596
- return J(e, "mousedown touchstart dblclick contextmenu", X), e._leaflet_disable_click = !0, this;
1634
+ return Kt(e, "wheel", Jt), this;
1635
+ }
1636
+ function X(e) {
1637
+ return J(e, "mousedown touchstart dblclick contextmenu", Jt), e._leaflet_disable_click = !0, this;
1597
1638
  }
1598
1639
  function Z(e) {
1599
1640
  return e.preventDefault ? e.preventDefault() : e.returnValue = !1, this;
1600
1641
  }
1601
1642
  function Xt(e) {
1602
- return Z(e), X(e), this;
1643
+ return Z(e), Jt(e), this;
1603
1644
  }
1604
1645
  function Zt(e) {
1605
1646
  if (e.composedPath) return e.composedPath();
@@ -1629,9 +1670,9 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
1629
1670
  __proto__: null,
1630
1671
  on: J,
1631
1672
  off: Y,
1632
- stopPropagation: X,
1633
- disableScrollPropagation: Jt,
1634
- disableClickPropagation: Yt,
1673
+ stopPropagation: Jt,
1674
+ disableScrollPropagation: Yt,
1675
+ disableClickPropagation: X,
1635
1676
  preventDefault: Z,
1636
1677
  stop: Xt,
1637
1678
  getPropagationPath: Zt,
@@ -2213,7 +2254,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2213
2254
  function an(e, t) {
2214
2255
  return new Q(e, t);
2215
2256
  }
2216
- var $ = w.extend({
2257
+ var on = w.extend({
2217
2258
  options: { position: "topright" },
2218
2259
  initialize: function(e) {
2219
2260
  p(this, e);
@@ -2239,8 +2280,8 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2239
2280
  _refocusOnMap: function(e) {
2240
2281
  this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
2241
2282
  }
2242
- }), on = function(e) {
2243
- return new $(e);
2283
+ }), $ = function(e) {
2284
+ return new on(e);
2244
2285
  };
2245
2286
  Q.include({
2246
2287
  addControl: function(e) {
@@ -2262,7 +2303,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2262
2303
  U(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
2263
2304
  }
2264
2305
  });
2265
- var sn = $.extend({
2306
+ var sn = on.extend({
2266
2307
  options: {
2267
2308
  collapsed: !0,
2268
2309
  position: "topright",
@@ -2283,7 +2324,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2283
2324
  return this._container;
2284
2325
  },
2285
2326
  addTo: function(e) {
2286
- return $.prototype.addTo.call(this, e), this._expandIfNotCollapsed();
2327
+ return on.prototype.addTo.call(this, e), this._expandIfNotCollapsed();
2287
2328
  },
2288
2329
  onRemove: function() {
2289
2330
  this._map.off("zoomend", this._checkDisabledLayers, this);
@@ -2310,7 +2351,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2310
2351
  },
2311
2352
  _initLayout: function() {
2312
2353
  var e = "leaflet-control-layers", t = this._container = H("div", e), n = this.options.collapsed;
2313
- t.setAttribute("aria-haspopup", !0), Yt(t), Jt(t);
2354
+ t.setAttribute("aria-haspopup", !0), X(t), Yt(t);
2314
2355
  var r = this._section = H("section", e + "-list");
2315
2356
  n && (this._map.on("click", this.collapse, this), J(t, {
2316
2357
  mouseenter: this._expandSafely,
@@ -2388,7 +2429,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2388
2429
  }
2389
2430
  }), cn = function(e, t, n) {
2390
2431
  return new sn(e, t, n);
2391
- }, ln = $.extend({
2432
+ }, ln = on.extend({
2392
2433
  options: {
2393
2434
  position: "topleft",
2394
2435
  zoomInText: "<span aria-hidden=\"true\">+</span>",
@@ -2417,7 +2458,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2417
2458
  },
2418
2459
  _createButton: function(e, t, n, r, i) {
2419
2460
  var a = H("a", n, r);
2420
- return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t), Yt(a), J(a, "click", Xt), J(a, "click", i, this), J(a, "click", this._refocusOnMap, this), a;
2461
+ return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t), X(a), J(a, "click", Xt), J(a, "click", i, this), J(a, "click", this._refocusOnMap, this), a;
2421
2462
  },
2422
2463
  _updateDisabled: function() {
2423
2464
  var e = this._map, t = "leaflet-disabled";
@@ -2429,7 +2470,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2429
2470
  });
2430
2471
  var un = function(e) {
2431
2472
  return new ln(e);
2432
- }, dn = $.extend({
2473
+ }, dn = on.extend({
2433
2474
  options: {
2434
2475
  position: "bottomleft",
2435
2476
  maxWidth: 100,
@@ -2470,7 +2511,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2470
2511
  }
2471
2512
  }), fn = function(e) {
2472
2513
  return new dn(e);
2473
- }, pn = $.extend({
2514
+ }, pn = on.extend({
2474
2515
  options: {
2475
2516
  position: "bottomright",
2476
2517
  prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (V.inlineSvg ? "<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg> " : "") + "Leaflet</a>"
@@ -2479,7 +2520,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2479
2520
  p(this, e), this._attributions = {};
2480
2521
  },
2481
2522
  onAdd: function(e) {
2482
- for (var t in e.attributionControl = this, this._container = H("div", "leaflet-control-attribution"), Yt(this._container), e._layers) e._layers[t].getAttribution && this.addAttribution(e._layers[t].getAttribution());
2523
+ for (var t in e.attributionControl = this, this._container = H("div", "leaflet-control-attribution"), X(this._container), e._layers) e._layers[t].getAttribution && this.addAttribution(e._layers[t].getAttribution());
2483
2524
  return this._update(), e.on("layeradd", this._addAttribution, this), this._container;
2484
2525
  },
2485
2526
  onRemove: function(e) {
@@ -2510,7 +2551,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
2510
2551
  });
2511
2552
  Q.mergeOptions({ attributionControl: !0 }), Q.addInitHook(function() {
2512
2553
  this.options.attributionControl && new pn().addTo(this);
2513
- }), $.Layers = sn, $.Zoom = ln, $.Scale = dn, $.Attribution = pn, on.layers = cn, on.zoom = un, on.scale = fn, on.attribution = function(e) {
2554
+ }), on.Layers = sn, on.Zoom = ln, on.Scale = dn, on.Attribution = pn, $.layers = cn, $.zoom = un, $.scale = fn, $.attribution = function(e) {
2514
2555
  return new pn(e);
2515
2556
  };
2516
2557
  var mn = w.extend({
@@ -3813,10 +3854,10 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
3813
3854
  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);
3814
3855
  },
3815
3856
  onAdd: function(e) {
3816
- 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", X));
3857
+ 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", Jt));
3817
3858
  },
3818
3859
  onRemove: function(e) {
3819
- 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", X));
3860
+ 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", Jt));
3820
3861
  },
3821
3862
  getEvents: function() {
3822
3863
  var e = Or.prototype.getEvents.call(this);
@@ -3824,7 +3865,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
3824
3865
  },
3825
3866
  _initLayout: function() {
3826
3867
  var e = "leaflet-popup", t = this._container = H("div", e + " " + (this.options.className || "") + " leaflet-zoom-animated"), n = this._wrapper = H("div", e + "-content-wrapper", t);
3827
- if (this._contentNode = H("div", e + "-content", n), Yt(t), Jt(this._contentNode), J(t, "contextmenu", X), this._tipContainer = H("div", e + "-tip-container", t), this._tip = H("div", e + "-tip", this._tipContainer), this.options.closeButton) {
3868
+ if (this._contentNode = H("div", e + "-content", n), X(t), Yt(this._contentNode), J(t, "contextmenu", Jt), this._tipContainer = H("div", e + "-tip-container", t), this._tip = H("div", e + "-tip", this._tipContainer), this.options.closeButton) {
3828
3869
  var r = this._closeButton = H("a", e + "-close-button", t);
3829
3870
  r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">&#215;</span>", J(r, "click", function(e) {
3830
3871
  Z(e), this.close();
@@ -4199,7 +4240,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
4199
4240
  var i = Math.floor(e / 2), a = Math.floor(t / 2), o = n - 1, s = new E(+i, +a);
4200
4241
  s.z = +o;
4201
4242
  var c = this._tileCoordsToKey(s), l = this._tiles[c];
4202
- return l && l.active ? (l.retain = !0, !0) : (l && l.loaded && (l.retain = !0), o > r ? this._retainParent(i, a, o, r) : !1);
4243
+ return l && l.active ? (l.retain = !0, !0) : (l && l.loaded && (l.retain = !0), o > r && this._retainParent(i, a, o, r));
4203
4244
  },
4204
4245
  _retainChildren: function(e, t, n, r) {
4205
4246
  for (var i = 2 * e; i < 2 * e + 2; i++) for (var a = 2 * t; a < 2 * t + 2; a++) {
@@ -5192,7 +5233,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
5192
5233
  this._zooming = !1, S(this._animRequest), Y(document, "touchmove", this._onTouchMove, this), Y(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));
5193
5234
  }
5194
5235
  });
5195
- 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 = O, e.Browser = V, e.CRS = P, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = w, e.Control = $, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Ht, e.Draggable = _n, e.Evented = ae, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = M, e.LatLngBounds = A, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, 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 = le, e.Util = C, e.VideoOverlay = wr, e.bind = i, e.bounds = k, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = on, 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 = N, e.latLngBounds = j, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = D, 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 = ue, e.version = t, e.videoOverlay = Tr;
5236
+ 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 = O, e.Browser = V, e.CRS = P, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = w, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Ht, e.Draggable = _n, e.Evented = ae, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = M, e.LatLngBounds = A, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, 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 = le, e.Util = C, e.VideoOverlay = wr, e.bind = i, e.bounds = k, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = $, 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 = N, e.latLngBounds = j, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = D, 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 = ue, e.version = t, e.videoOverlay = Tr;
5196
5237
  var ai = window.L;
5197
5238
  e.noConflict = function() {
5198
5239
  return window.L = ai, this;
@@ -5939,7 +5980,7 @@ var yt = /* @__PURE__ */ I(ut, [["render", vt], ["__scopeId", "data-v-71b2d8af"]
5939
5980
  } }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
5940
5981
  });
5941
5982
  })))();
5942
- var Jt = "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=", Yt = /* @__PURE__ */ I(/* @__PURE__ */ m({
5983
+ var Z = "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=", Xt = /*#__PURE__*/ R(/* @__PURE__ */ m({
5943
5984
  __name: "Map",
5944
5985
  props: {
5945
5986
  modelValue: {},
@@ -5947,8 +5988,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
5947
5988
  },
5948
5989
  emits: ["update:modelValue", "callback"],
5949
5990
  setup(e, { emit: t }) {
5950
- let { t: n } = D(), r = t, i = e, { hotelMapImage: a } = N(be()), o = X.default.Util.extend(X.default.CRS.Simple, { transformation: new X.default.Transformation(1, 0, 1, 0) }), s = y(), l = g(() => a.value?.url), u = g(() => a.value?.height), d = g(() => a.value?.width), f = X.default.icon({
5951
- iconUrl: Jt,
5991
+ let { t: n } = D(), r = t, i = e, { hotelMapImage: a } = M(ve()), o = X.default.Util.extend(X.default.CRS.Simple, { transformation: new X.default.Transformation(1, 0, 1, 0) }), s = y(), l = g(() => a.value?.url), u = g(() => a.value?.height), d = g(() => a.value?.width), f = X.default.icon({
5992
+ iconUrl: Z,
5952
5993
  iconSize: [32, 37],
5953
5994
  iconAnchor: [16, 37]
5954
5995
  });
@@ -5981,7 +6022,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
5981
6022
  });
5982
6023
  });
5983
6024
  }
5984
- let { stop: m } = Ee(s, ([{ isIntersecting: e }]) => {
6025
+ let { stop: m } = we(s, ([{ isIntersecting: e }]) => {
5985
6026
  e && (m(), p());
5986
6027
  }), h = g({
5987
6028
  get: () => i.modelValue,
@@ -6004,10 +6045,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6004
6045
  class: "konnectio-leaflet-map"
6005
6046
  }, null, 512)).cacheIndex = 0, w(1), t[0]);
6006
6047
  }
6007
- }), [["__scopeId", "data-v-736acc95"]]), Z = { style: {
6048
+ }), [["__scopeId", "data-v-bdbc420d"]]), Zt = { style: {
6008
6049
  height: "100%",
6009
6050
  width: "100%"
6010
- } }, Xt = /* @__PURE__ */ m({
6051
+ } }, Qt = /* @__PURE__ */ m({
6011
6052
  __name: "MapSelector",
6012
6053
  props: {
6013
6054
  roomList: {},
@@ -6019,8 +6060,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6019
6060
  function a() {
6020
6061
  r.value && (i.config.units = 1, i.config.roomId = n.value, i.callback());
6021
6062
  }
6022
- return (r, i) => (v(), o(Je, { title: l(t)("hotel.selectRoomOnMapTitle") }, {
6023
- default: b(() => [c("div", Z, [d(Yt, {
6063
+ return (r, i) => (v(), o(qe, { title: l(t)("hotel.selectRoomOnMapTitle") }, {
6064
+ default: b(() => [c("div", Zt, [d(Xt, {
6024
6065
  modelValue: n.value,
6025
6066
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
6026
6067
  rooms: e.roomList,
@@ -6029,19 +6070,19 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6029
6070
  _: 1
6030
6071
  }, 8, ["title"]));
6031
6072
  }
6032
- }), Zt = {
6073
+ }), $t = {
6033
6074
  key: 0,
6034
6075
  class: "konnectio-hotel-select-rate"
6035
- }, Qt = {
6076
+ }, en = {
6036
6077
  key: 0,
6037
6078
  class: "konnectio-hotel-select-rate-removal"
6038
- }, $t = { key: 1 }, en = { class: "konnectio-listing-config-body" }, tn = {
6079
+ }, tn = { key: 1 }, nn = { class: "konnectio-listing-config-body" }, rn = {
6039
6080
  key: 0,
6040
6081
  class: "konnectio-listing-units-body"
6041
- }, nn = {
6082
+ }, Q = {
6042
6083
  key: 1,
6043
6084
  class: "konnectio-listing-units-body"
6044
- }, rn = /* @__PURE__ */ I(/* @__PURE__ */ m({
6085
+ }, an = /*#__PURE__*/ R(/* @__PURE__ */ m({
6045
6086
  __name: "Hotel",
6046
6087
  props: {
6047
6088
  room: {},
@@ -6059,7 +6100,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6059
6100
  let { t: u } = D(), f = e, m = y([]);
6060
6101
  function h() {
6061
6102
  let e = m.value.length;
6062
- P(e);
6103
+ se(e);
6063
6104
  }
6064
6105
  function _(e) {
6065
6106
  m.value.splice(e, 1);
@@ -6067,17 +6108,17 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6067
6108
  let ee = g(() => f.room.rates.map((e) => ({
6068
6109
  label: e.name,
6069
6110
  value: e.id
6070
- }))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re } = N(fe()), { roomSelect: x, isSearchOutdated: S } = N(be()), { addToCart: C, removeFromCart: w } = de(), ie = (e, t) => f.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), ae = g(() => f.room.roomList.some((e) => e.mapImageX && e.mapImageY)), oe = g(() => f.room.rates.every((e) => e.isBreakfastIncluded === !0)), O = (e, t) => ie(e, t) ? ie(e, t)?.rooms : null, A = (e) => f.room.rates.length > 0 && f.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6111
+ }))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re } = M(de()), { roomSelect: x, isSearchOutdated: S } = M(ve()), { addToCart: C, removeFromCart: w } = ue(), ie = (e, t) => f.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), ae = g(() => f.room.roomList.some((e) => e.mapImageX && e.mapImageY)), oe = g(() => f.room.rates.every((e) => e.isBreakfastIncluded === !0)), k = (e, t) => ie(e, t) ? ie(e, t)?.rooms : null, A = (e) => f.room.rates.length > 0 && f.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6071
6112
  value: e.index,
6072
6113
  price: e.totalPrice,
6073
6114
  adults: e.adultsCount,
6074
6115
  children: e.childrenCount,
6075
6116
  hasBreakfast: e.hasBreakfast
6076
6117
  })) || [], j = g(() => f.room.rates.length > 1);
6077
- function M(e, t) {
6118
+ function N(e, t) {
6078
6119
  m.value[e].config[0].id = f.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
6079
6120
  }
6080
- function P(e = 0) {
6121
+ function se(e = 0) {
6081
6122
  j.value ? ne.value ? m.value[e] = {
6082
6123
  id: f.room.bestRateMatch || void 0,
6083
6124
  config: [{
@@ -6101,8 +6142,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6101
6142
  }]
6102
6143
  };
6103
6144
  }
6104
- return k(() => {
6105
- P();
6145
+ return O(() => {
6146
+ se();
6106
6147
  }), E(g(() => JSON.parse(JSON.stringify(m.value))), (e, t) => {
6107
6148
  t.length > 0 && e.forEach((e, n) => {
6108
6149
  t[n] && e.config.forEach((e, r) => {
@@ -6120,7 +6161,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6120
6161
  });
6121
6162
  }, { deep: !0 }), E(m, () => {
6122
6163
  x.value[f.room.id] = m.value;
6123
- }, { deep: !0 }), (f, g) => (v(), o(qe, {
6164
+ }, { deep: !0 }), (f, g) => (v(), o(Ke, {
6124
6165
  type: "hotel",
6125
6166
  "listing-id": e.room.id,
6126
6167
  gallery: e.room.images,
@@ -6131,17 +6172,17 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6131
6172
  "prices-from": e.room.pricesFrom,
6132
6173
  "includes-breakfast": oe.value
6133
6174
  }, {
6134
- action: b(() => [c("div", { class: s(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": m.value.length > 1 }]) }, [(v(!0), T(F, null, n(m.value, (i, o) => (v(), T("div", {
6175
+ action: b(() => [c("div", { class: s(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": m.value.length > 1 }]) }, [(v(!0), T(P, null, n(m.value, (i, o) => (v(), T("div", {
6135
6176
  key: i.id,
6136
6177
  class: "konnectio-hotel-room"
6137
- }, [j.value ? (v(), T("div", Zt, [d(je, {
6178
+ }, [j.value ? (v(), T("div", $t, [d(ke, {
6138
6179
  modelValue: i.id,
6139
6180
  "onUpdate:modelValue": (e) => i.id = e,
6140
6181
  label: l(u)("hotel.roomVariant"),
6141
6182
  placeholder: l(u)("hotel.chooseARoomVariant"),
6142
6183
  options: ee.value,
6143
6184
  searchable: !1,
6144
- onChanged: (e) => M(o, e)
6185
+ onChanged: (e) => N(o, e)
6145
6186
  }, null, 8, [
6146
6187
  "modelValue",
6147
6188
  "onUpdate:modelValue",
@@ -6149,19 +6190,19 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6149
6190
  "placeholder",
6150
6191
  "options",
6151
6192
  "onChanged"
6152
- ]), m.value.length > 1 ? (v(), T("div", Qt, [d(z, {
6193
+ ]), m.value.length > 1 ? (v(), T("div", en, [d(je, {
6153
6194
  style: { "--buttonBackground": "var(--dangerColor)" },
6154
6195
  icon: "trash-alt",
6155
6196
  "icon-type": "fas",
6156
6197
  onClickEvent: (e) => _(o),
6157
6198
  secondary: ""
6158
- }, null, 8, ["onClickEvent"])])) : p("", !0)])) : p("", !0), i.id ? (v(), T("div", $t, [(v(!0), T(F, null, n(e.room.rates, ({ id: o, maximumOccupants: s }) => (v(), T("div", {
6199
+ }, null, 8, ["onClickEvent"])])) : p("", !0)])) : p("", !0), i.id ? (v(), T("div", tn, [(v(!0), T(P, null, n(e.room.rates, ({ id: o, maximumOccupants: s }) => (v(), T("div", {
6159
6200
  key: o,
6160
6201
  class: "konnectio-listing-action-selective-i"
6161
- }, [i.id === o ? (v(!0), T(F, { key: 0 }, n(i.config, (n, f) => (v(), T("div", {
6202
+ }, [i.id === o ? (v(!0), T(P, { key: 0 }, n(i.config, (n, f) => (v(), T("div", {
6162
6203
  key: f,
6163
6204
  class: "konnectio-listing-action-selective"
6164
- }, [c("ul", en, [d(qt, {
6205
+ }, [c("ul", nn, [d(Yt, {
6165
6206
  modelValue: n.id,
6166
6207
  "onUpdate:modelValue": (e) => n.id = e,
6167
6208
  icon: "male",
@@ -6177,13 +6218,13 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6177
6218
  "description",
6178
6219
  "options",
6179
6220
  "readonly"
6180
- ])]), ae.value ? (v(), T("div", nn, [d(z, {
6221
+ ])]), ae.value ? (v(), T("div", Q, [d(je, {
6181
6222
  onClickEvent: r,
6182
6223
  label: l(u)("hotel.selectRoomOnMap"),
6183
6224
  secondary: "",
6184
6225
  "full-width": "",
6185
6226
  disabled: l(S)
6186
- }, null, 8, ["label", "disabled"]), d(Xt, {
6227
+ }, null, 8, ["label", "disabled"]), d(Qt, {
6187
6228
  modelValue: t.value,
6188
6229
  "onUpdate:modelValue": g[0] ||= (e) => t.value = e,
6189
6230
  "room-list": e.room.roomList,
@@ -6193,16 +6234,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6193
6234
  "modelValue",
6194
6235
  "room-list",
6195
6236
  "config"
6196
- ])])) : (v(), T("ul", tn, [d(Ae, {
6237
+ ])])) : (v(), T("ul", rn, [d(Oe, {
6197
6238
  modelValue: n.units,
6198
6239
  "onUpdate:modelValue": (e) => n.units = e,
6199
- description: l(te) ? void 0 : `${l(u)("booking.availability.availableUnits")}: ${O(i.id, n.id)}`,
6240
+ description: l(te) ? void 0 : `${l(u)("booking.availability.availableUnits")}: ${k(i.id, n.id)}`,
6200
6241
  icon: "house",
6201
6242
  "icon-type": "fas",
6202
6243
  "icon-placement": "label",
6203
6244
  label: l(u)("booking.availability.units"),
6204
6245
  minValue: 0,
6205
- "max-value": O(o, n.id) || Infinity
6246
+ "max-value": k(o, n.id) || Infinity
6206
6247
  }, null, 8, [
6207
6248
  "modelValue",
6208
6249
  "onUpdate:modelValue",
@@ -6212,7 +6253,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6212
6253
  ])]))]))), 128)) : p("", !0)]))), 128))])) : p("", !0)]))), 128)), l(re) && j.value ? (v(), T("button", {
6213
6254
  key: 0,
6214
6255
  class: "konnectio-hotel-add-extra-room link",
6215
- onClick: se(h, ["prevent"])
6256
+ onClick: F(h, ["prevent"])
6216
6257
  }, [c("span", null, i(l(u)("hotel.addExtraVariant")), 1)])) : p("", !0)], 2)]),
6217
6258
  _: 1
6218
6259
  }, 8, [
@@ -6226,10 +6267,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6226
6267
  "includes-breakfast"
6227
6268
  ]));
6228
6269
  }
6229
- }), [["__scopeId", "data-v-9389e689"]]), Q = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" }, $ = { class: "konnectio-template-room-config" }, on = { class: "konnectio-template-room-units" }, sn = { class: "konnectio-template-room-unit-header" }, cn = { class: "konnectio-template-footer" }, ln = {
6270
+ }), [["__scopeId", "data-v-a4489b39"]]), on = { class: "konnectio-template-side-panel" }, $ = { class: "konnectio-template-side-panel-listings" }, sn = { class: "konnectio-template-room-config" }, cn = { class: "konnectio-template-room-units" }, ln = { class: "konnectio-template-room-unit-header" }, un = { class: "konnectio-template-footer" }, dn = {
6230
6271
  key: 0,
6231
6272
  class: "konnectio-template-selection-preview"
6232
- }, un = { class: "konnectio-template-selection-item-header" }, dn = { class: "konnectio-template-selection-item-name" }, fn = { class: "konnectio-template-selection-item-price" }, pn = { class: "konnectio-template-selection-item-units" }, mn = /* @__PURE__ */ I(/* @__PURE__ */ m({
6273
+ }, fn = { class: "konnectio-template-selection-item-header" }, pn = { class: "konnectio-template-selection-item-name" }, mn = { class: "konnectio-template-selection-item-price" }, hn = { class: "konnectio-template-selection-item-units" }, gn = /*#__PURE__*/ R(/* @__PURE__ */ m({
6233
6274
  __name: "Template",
6234
6275
  props: {
6235
6276
  title: {},
@@ -6240,7 +6281,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6240
6281
  callback: { type: Function }
6241
6282
  },
6242
6283
  setup(e) {
6243
- let { t } = D(), r = fe(), a = be(), { location: f } = N(ue()), { templateID: m, roomGroupID: h, templateRoomSelections: _, selectionHasNoAddons: ee, currentAdults: te, currentChildren: ne } = N(a), { currency: re } = N(r), { clearRoomSelection: x } = a, { addToCart: S } = de(), { hasChildSelection: C } = r, w = e, ae = y(!1), oe = te.value || 1, O = ne.value || 0, k = P({}), A = g(() => {
6284
+ let { t } = D(), r = de(), a = ve(), { location: f } = M(le()), { templateID: m, roomGroupID: h, templateRoomSelections: _, selectionHasNoAddons: ee, currentAdults: te, currentChildren: ne } = M(a), { currency: re } = M(r), { clearRoomSelection: x } = a, { addToCart: S } = ue(), { hasChildSelection: C } = r, w = e, ae = y(!1), oe = te.value || 1, O = ne.value || 0, k = N({}), A = g(() => {
6244
6285
  function e(e, t) {
6245
6286
  return ae.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
6246
6287
  }
@@ -6258,7 +6299,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6258
6299
  function j(e) {
6259
6300
  return A.value.find((t) => t.id === e);
6260
6301
  }
6261
- function M(e) {
6302
+ function F(e) {
6262
6303
  let t = j(e);
6263
6304
  if (!t) return oe;
6264
6305
  let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
@@ -6272,7 +6313,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6272
6313
  let t = j(e);
6273
6314
  return t && t.availableRoomCount || 1;
6274
6315
  }
6275
- function le(e) {
6316
+ function fe(e) {
6276
6317
  let t = j(e);
6277
6318
  return t ? t.extraPrice + w.weekendFee : 0;
6278
6319
  }
@@ -6318,7 +6359,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6318
6359
  function ge() {
6319
6360
  return Object.values(k).reduce((e, t) => e + t.units, 0);
6320
6361
  }
6321
- let ve = g(() => A.value.filter((e) => k[e.id]?.units > 0).map((e) => {
6362
+ let _e = g(() => A.value.filter((e) => k[e.id]?.units > 0).map((e) => {
6322
6363
  let t = k[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
6323
6364
  adults: t.adults,
6324
6365
  children: t.children,
@@ -6331,7 +6372,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6331
6372
  units: n
6332
6373
  };
6333
6374
  }));
6334
- E(ve, () => {
6375
+ E(_e, () => {
6335
6376
  u(() => window.dispatchEvent(new Event("resize")));
6336
6377
  });
6337
6378
  function ye() {
@@ -6367,39 +6408,39 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6367
6408
  }
6368
6409
  w.callback(2);
6369
6410
  }
6370
- return (r, a) => (v(), o(Je, {
6411
+ return (r, a) => (v(), o(qe, {
6371
6412
  title: e.title,
6372
6413
  subtitle: l(t)("booking.availability.selectATemplateRoom")
6373
6414
  }, {
6374
- footer: b(() => [c("div", cn, [ve.value.length > 0 ? (v(), T("div", ln, [(v(!0), T(F, null, n(ve.value, (e) => (v(), T("div", {
6415
+ footer: b(() => [c("div", un, [_e.value.length > 0 ? (v(), T("div", dn, [(v(!0), T(P, null, n(_e.value, (e) => (v(), T("div", {
6375
6416
  key: e.id,
6376
6417
  class: "konnectio-template-selection-item"
6377
- }, [c("div", un, [c("span", dn, i(e.title), 1), c("span", fn, i(l(_e)(e.totalPrice, l(re))), 1)]), c("div", pn, [(v(!0), T(F, null, n(e.units, (e, n) => (v(), T("span", {
6418
+ }, [c("div", fn, [c("span", pn, i(e.title), 1), c("span", mn, i(l(I)(e.totalPrice, l(re))), 1)]), c("div", hn, [(v(!0), T(P, null, n(e.units, (e, n) => (v(), T("span", {
6378
6419
  key: n,
6379
6420
  class: "konnectio-template-selection-unit"
6380
6421
  }, [
6381
6422
  ie(i(l(t)("booking.reservation.room")) + " " + i(n + 1) + ": " + i(e.adults) + " " + i(l(t)("availability.adults")) + " ", 1),
6382
- e.children > 0 ? (v(), T(F, { key: 0 }, [ie(" , " + i(e.children) + " " + i(l(t)("availability.children")), 1)], 64)) : p("", !0),
6383
- ie(" · " + i(l(_e)(e.price, l(re))), 1)
6384
- ]))), 128))])]))), 128))])) : p("", !0), d(z, {
6423
+ e.children > 0 ? (v(), T(P, { key: 0 }, [ie(" , " + i(e.children) + " " + i(l(t)("availability.children")), 1)], 64)) : p("", !0),
6424
+ ie(" · " + i(l(I)(e.price, l(re))), 1)
6425
+ ]))), 128))])]))), 128))])) : p("", !0), d(je, {
6385
6426
  onClickEvent: ye,
6386
- label: `${ge() > 1 ? l(t)("booking.availability.selectTheseRooms") : l(t)("booking.availability.selectThisRoom")} (${l(_e)(he(), l(re))})`,
6427
+ label: `${ge() > 1 ? l(t)("booking.availability.selectTheseRooms") : l(t)("booking.availability.selectThisRoom")} (${l(I)(he(), l(re))})`,
6387
6428
  disabled: ge() === 0,
6388
6429
  "full-width": ""
6389
6430
  }, null, 8, ["label", "disabled"])])]),
6390
- default: b(() => [c("div", Q, [c("div", an, [(v(!0), T(F, null, n(A.value, (e) => (v(), o(qe, {
6431
+ default: b(() => [c("div", on, [c("div", $, [(v(!0), T(P, null, n(A.value, (e) => (v(), o(Ke, {
6391
6432
  key: e.id,
6392
6433
  type: "hotel",
6393
6434
  "listing-id": e.id,
6394
6435
  name: e.title,
6395
6436
  description: e.description,
6396
6437
  facilities: e.facilities,
6397
- "prices-from": le(e.id),
6438
+ "prices-from": fe(e.id),
6398
6439
  gallery: e.images,
6399
6440
  "includes-breakfast": !1,
6400
6441
  "hide-info-button": !0
6401
6442
  }, {
6402
- action: b(() => [c("div", $, [c("div", on, [d(Ae, {
6443
+ action: b(() => [c("div", sn, [c("div", cn, [d(Oe, {
6403
6444
  modelValue: k[e.id].units,
6404
6445
  "onUpdate:modelValue": (t) => k[e.id].units = t,
6405
6446
  label: l(t)("booking.availability.units"),
@@ -6414,10 +6455,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6414
6455
  "onUpdate:modelValue",
6415
6456
  "label",
6416
6457
  "max-value"
6417
- ])]), (v(!0), T(F, null, n(k[e.id].configs, (n, r) => (v(), T("div", {
6458
+ ])]), (v(!0), T(P, null, n(k[e.id].configs, (n, r) => (v(), T("div", {
6418
6459
  key: r,
6419
6460
  class: "konnectio-template-room-unit-config"
6420
- }, [c("div", sn, [c("span", null, i(l(t)("booking.reservation.room")) + " " + i(r + 1), 1), c("span", null, i(l(_e)(me(e.id, r), l(re))), 1)]), c("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !l(C)(l(f)) }]) }, [d(Ae, {
6461
+ }, [c("div", ln, [c("span", null, i(l(t)("booking.reservation.room")) + " " + i(r + 1), 1), c("span", null, i(l(I)(me(e.id, r), l(re))), 1)]), c("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !l(C)(l(f)) }]) }, [d(Oe, {
6421
6462
  modelValue: n.adults,
6422
6463
  "onUpdate:modelValue": (e) => n.adults = e,
6423
6464
  label: l(t)("availability.adults"),
@@ -6426,7 +6467,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6426
6467
  "icon-type": "fas",
6427
6468
  "icon-placement": "label",
6428
6469
  "min-value": 1,
6429
- "max-value": M(e.id),
6470
+ "max-value": F(e.id),
6430
6471
  controls: !0
6431
6472
  }, null, 8, [
6432
6473
  "modelValue",
@@ -6434,7 +6475,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6434
6475
  "label",
6435
6476
  "description",
6436
6477
  "max-value"
6437
- ]), l(C)(l(f)) ? (v(), o(Ae, {
6478
+ ]), l(C)(l(f)) ? (v(), o(Oe, {
6438
6479
  key: 0,
6439
6480
  modelValue: n.children,
6440
6481
  "onUpdate:modelValue": (e) => n.children = e,
@@ -6465,7 +6506,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6465
6506
  _: 1
6466
6507
  }, 8, ["title", "subtitle"]));
6467
6508
  }
6468
- }), [["__scopeId", "data-v-77984e47"]]), hn = { class: "konnectio-template-select-package" }, gn = /* @__PURE__ */ m({
6509
+ }), [["__scopeId", "data-v-a6431abd"]]), _n = { class: "konnectio-template-select-package" }, vn = /* @__PURE__ */ m({
6469
6510
  __name: "Template",
6470
6511
  props: {
6471
6512
  id: {},
@@ -6478,31 +6519,31 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6478
6519
  callback: { type: Function }
6479
6520
  },
6480
6521
  setup(e) {
6481
- let { t } = D(), n = e, { isSearchOutdated: r } = N(be()), i = g(() => n.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + n.weekendFee), a = y(!1);
6522
+ let { t } = D(), n = e, { isSearchOutdated: r } = M(ve()), i = g(() => n.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + n.weekendFee), a = y(!1);
6482
6523
  function s() {
6483
6524
  a.value = !0;
6484
6525
  }
6485
6526
  function u(e) {
6486
6527
  n.callback(e), a.value = !1;
6487
6528
  }
6488
- return (n, f) => (v(), o(qe, {
6529
+ return (n, f) => (v(), o(Ke, {
6489
6530
  type: "template",
6490
6531
  "listing-id": e.id,
6491
6532
  name: e.name,
6492
6533
  description: e.description,
6493
6534
  gallery: e.images,
6494
- layout: l(xe).Template,
6535
+ layout: l(ye).Template,
6495
6536
  "includes-breakfast": !1,
6496
6537
  "hide-info-button": !1,
6497
6538
  "prices-from": i.value
6498
6539
  }, {
6499
- action: b(() => [c("div", hn, [d(z, {
6540
+ action: b(() => [c("div", _n, [d(je, {
6500
6541
  onClickEvent: s,
6501
6542
  label: l(t)("booking.availability.selectPackage"),
6502
6543
  "full-width": "",
6503
6544
  disabled: l(r)
6504
6545
  }, null, 8, ["label", "disabled"])])]),
6505
- default: b(() => [d(mn, {
6546
+ default: b(() => [d(gn, {
6506
6547
  modelValue: a.value,
6507
6548
  "onUpdate:modelValue": f[0] ||= (e) => a.value = e,
6508
6549
  title: e.name,
@@ -6529,7 +6570,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6529
6570
  "prices-from"
6530
6571
  ]));
6531
6572
  }
6532
- }), _n = { class: "konnectio-special-offer-availability" }, vn = { class: "konnectio-special-offer-availability-button" }, yn = /* @__PURE__ */ I(/* @__PURE__ */ m({
6573
+ }), yn = { class: "konnectio-special-offer-availability" }, bn = { class: "konnectio-special-offer-availability-button" }, xn = /*#__PURE__*/ R(/* @__PURE__ */ m({
6533
6574
  __name: "SpecialOffer",
6534
6575
  props: {
6535
6576
  id: {},
@@ -6542,29 +6583,29 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6542
6583
  roomGroups: {}
6543
6584
  },
6544
6585
  setup(e) {
6545
- let { t } = D(), { updateDates: n } = ue(), { display: r } = ye(), i = e, a = y([]), s = g(() => ve(i.fromDate, i.toDate) === 1);
6586
+ let { t } = D(), { updateDates: n } = le(), { display: r } = _e(), i = e, a = y([]), s = g(() => ge(i.fromDate, i.toDate) === 1);
6546
6587
  function u() {
6547
6588
  a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
6548
6589
  message: t("alert.error.selectDates"),
6549
6590
  type: "error"
6550
6591
  });
6551
6592
  }
6552
- return k(() => {
6593
+ return O(() => {
6553
6594
  s.value && (a.value = [new Date(i.fromDate), new Date(i.toDate)]);
6554
- }), (n, r) => (v(), o(qe, {
6595
+ }), (n, r) => (v(), o(Ke, {
6555
6596
  type: "template",
6556
6597
  "listing-id": e.id,
6557
6598
  name: e.name,
6558
6599
  description: e.description,
6559
6600
  gallery: e.images,
6560
- layout: l(xe).Template,
6601
+ layout: l(ye).Template,
6561
6602
  "includes-breakfast": !1,
6562
6603
  "hide-info-button": !1,
6563
6604
  "to-date": e.toDate,
6564
6605
  "from-date": e.fromDate,
6565
6606
  "disable-deep-link": !0
6566
6607
  }, {
6567
- action: b(() => [c("div", _n, [d(Ne, {
6608
+ action: b(() => [c("div", yn, [d(Me, {
6568
6609
  modelValue: a.value,
6569
6610
  "onUpdate:modelValue": r[0] ||= (e) => a.value = e,
6570
6611
  label: l(t)("availability.checkInOut"),
@@ -6585,9 +6626,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6585
6626
  "min-date",
6586
6627
  "max-date",
6587
6628
  "readonly"
6588
- ]), c("div", vn, [d(z, {
6629
+ ]), c("div", bn, [d(je, {
6589
6630
  label: l(t)("availability.buttonLabel"),
6590
- onClick: se(u, ["prevent"])
6631
+ onClick: F(u, ["prevent"])
6591
6632
  }, null, 8, ["label"])])])]),
6592
6633
  _: 1
6593
6634
  }, 8, [
@@ -6600,7 +6641,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6600
6641
  "from-date"
6601
6642
  ]));
6602
6643
  }
6603
- }), [["__scopeId", "data-v-8f8a4dff"]]), bn = /* @__PURE__ */ m({
6644
+ }), [["__scopeId", "data-v-47edd09f"]]), Sn = /* @__PURE__ */ m({
6604
6645
  __name: "TimeField",
6605
6646
  props: {
6606
6647
  modelValue: {},
@@ -6625,7 +6666,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6625
6666
  let a = y(r.modelValue);
6626
6667
  return E(a, (e) => {
6627
6668
  i(e);
6628
- }), (t, n) => (v(), o(Ne, {
6669
+ }), (t, n) => (v(), o(Me, {
6629
6670
  modelValue: a.value,
6630
6671
  "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
6631
6672
  type: "time",
@@ -6654,10 +6695,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6654
6695
  "max-time"
6655
6696
  ]));
6656
6697
  }
6657
- }), xn = { style: {
6698
+ }), Cn = { style: {
6658
6699
  display: "flex",
6659
6700
  "align-items": "baseline"
6660
- } }, Sn = /* @__PURE__ */ I(/* @__PURE__ */ m({
6701
+ } }, wn = /*#__PURE__*/ R(/* @__PURE__ */ m({
6661
6702
  __name: "CountryField",
6662
6703
  props: {
6663
6704
  modelValue: {},
@@ -6683,7 +6724,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6683
6724
  get: () => a.modelValue,
6684
6725
  set: (e) => u(e)
6685
6726
  });
6686
- return (t, r) => (v(), o(je, {
6727
+ return (t, r) => (v(), o(ke, {
6687
6728
  modelValue: d.value,
6688
6729
  "onUpdate:modelValue": r[0] ||= (e) => d.value = e,
6689
6730
  label: e.label,
@@ -6694,7 +6735,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6694
6735
  required: e.required
6695
6736
  }, {
6696
6737
  option: b(({ data: e }) => [c("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), c("span", null, i(e.name), 1)]),
6697
- "selected-option": b(({ data: e }) => [c("div", xn, [c("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), c("span", null, i(e.name), 1)])]),
6738
+ "selected-option": b(({ data: e }) => [c("div", Cn, [c("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), c("span", null, i(e.name), 1)])]),
6698
6739
  _: 1
6699
6740
  }, 8, [
6700
6741
  "modelValue",
@@ -6704,7 +6745,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6704
6745
  "required"
6705
6746
  ]));
6706
6747
  }
6707
- }), [["__scopeId", "data-v-13aea6ce"]]), Cn = /* @__PURE__ */ I(/* @__PURE__ */ m({
6748
+ }), [["__scopeId", "data-v-a94e1728"]]), Tn = /*#__PURE__*/ R(/* @__PURE__ */ m({
6708
6749
  __name: "NameField",
6709
6750
  props: {
6710
6751
  modelValue: {},
@@ -6740,7 +6781,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6740
6781
  },
6741
6782
  emits: ["update:modelValue", "update:title"],
6742
6783
  setup(e, { emit: t }) {
6743
- let n = e, r = t, i = n.id || Ce(), a = y(""), u = y(2);
6784
+ let n = e, r = t, i = n.id || xe(), a = y(""), u = y(2);
6744
6785
  function f() {
6745
6786
  r("update:modelValue", a.value);
6746
6787
  }
@@ -6748,9 +6789,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6748
6789
  r("update:title", e);
6749
6790
  });
6750
6791
  let { t: m } = D();
6751
- return k(() => {
6792
+ return O(() => {
6752
6793
  n.modelValue && (a.value = n.modelValue), n.title && (u.value = n.title);
6753
- }), (t, n) => (v(), o(we, {
6794
+ }), (t, n) => (v(), o(z, {
6754
6795
  label: e.label,
6755
6796
  id: l(i),
6756
6797
  required: e.required,
@@ -6758,11 +6799,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6758
6799
  readonly: e.readonly,
6759
6800
  limit: e.limit
6760
6801
  }, {
6761
- default: b(() => [c("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? p("", !0) : (v(), o(je, {
6802
+ default: b(() => [c("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? p("", !0) : (v(), o(ke, {
6762
6803
  key: 0,
6763
6804
  modelValue: u.value,
6764
6805
  "onUpdate:modelValue": n[0] ||= (e) => u.value = e,
6765
- id: l(Ce)(),
6806
+ id: l(xe)(),
6766
6807
  icon: e.icon,
6767
6808
  "icon-color": e.iconColor,
6768
6809
  "icon-type": e.iconType,
@@ -6799,7 +6840,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6799
6840
  "icon-type",
6800
6841
  "options",
6801
6842
  "readonly"
6802
- ])), d(Oe, {
6843
+ ])), d(Ee, {
6803
6844
  modelValue: a.value,
6804
6845
  "onUpdate:modelValue": n[1] ||= (e) => a.value = e,
6805
6846
  type: "text",
@@ -6834,85 +6875,85 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6834
6875
  "limit"
6835
6876
  ]));
6836
6877
  }
6837
- }), [["__scopeId", "data-v-4ad63bd6"]]), wn = { class: "hotel-skeleton" }, Tn = { class: "hotel-skeleton-content" }, En = { class: "hotel-skeleton-sidebar" }, Dn = /* @__PURE__ */ I(/* @__PURE__ */ m({
6878
+ }), [["__scopeId", "data-v-9d27a2bc"]]), En = { class: "hotel-skeleton" }, Dn = { class: "hotel-skeleton-content" }, On = { class: "hotel-skeleton-sidebar" }, kn = /*#__PURE__*/ R(/* @__PURE__ */ m({
6838
6879
  __name: "HotelSkeleton",
6839
6880
  setup(e) {
6840
- return (e, t) => (v(), T("div", wn, [c("div", Tn, [d(Pe, { hotel: "" }), d(We)]), c("div", En, [d(Ge)])]));
6881
+ return (e, t) => (v(), T("div", En, [c("div", Dn, [d(Ne, { hotel: "" }), d(Ue)]), c("div", On, [d(We)])]));
6841
6882
  }
6842
- }), [["__scopeId", "data-v-2ff36444"]]), On = { id: "booking-availability-container" }, kn = { id: "booking-availability-controls" }, An = {
6883
+ }), [["__scopeId", "data-v-1bb21da4"]]), An = { id: "booking-availability-container" }, jn = { id: "booking-availability-controls" }, Mn = {
6843
6884
  key: 0,
6844
6885
  class: "konnectio-panel konnectio-filter-notice"
6845
- }, jn = ["innerHTML"], Mn = {
6886
+ }, Nn = ["innerHTML"], Pn = {
6846
6887
  key: 1,
6847
6888
  class: "konnectio-panel konnectio-filter-notice"
6848
- }, Nn = ["innerHTML"], Pn = {
6889
+ }, Fn = ["innerHTML"], In = {
6849
6890
  key: 2,
6850
6891
  class: "konnectio-panel konnectio-filter-notice"
6851
- }, Fn = { key: 4 }, In = { key: 0 }, Ln = {
6892
+ }, Ln = { key: 4 }, Rn = { key: 0 }, zn = {
6852
6893
  key: 0,
6853
6894
  id: "booking-availability-packages"
6854
- }, Rn = {
6895
+ }, Bn = {
6855
6896
  key: 0,
6856
6897
  class: "konnectio-hotel-availability-title"
6857
- }, zn = { id: "booking-availability-packages-wrapper" }, Bn = { key: 1 }, Vn = {
6898
+ }, Vn = { id: "booking-availability-packages-wrapper" }, Hn = { key: 1 }, Un = {
6858
6899
  key: 0,
6859
6900
  class: "konnectio-hotel-availability-title"
6860
- }, Hn = { id: "konnectio-listings" }, Un = {
6901
+ }, Wn = { id: "konnectio-listings" }, Gn = {
6861
6902
  key: 0,
6862
6903
  class: "konnectio-hotel-availability-title"
6863
- }, Wn = { id: "konnectio-listings" }, Gn = {
6904
+ }, Kn = { id: "konnectio-listings" }, qn = {
6864
6905
  key: 0,
6865
6906
  id: "booking-availability-packages"
6866
- }, Kn = { class: "konnectio-hotel-availability-title" }, qn = { id: "booking-availability-packages-wrapper" }, Jn = {
6907
+ }, Jn = { class: "konnectio-hotel-availability-title" }, Yn = { id: "booking-availability-packages-wrapper" }, Xn = {
6867
6908
  key: 3,
6868
6909
  id: "booking-availability-no-listings",
6869
6910
  class: "konnectio-panel"
6870
- }, Yn = {
6911
+ }, Zn = {
6871
6912
  key: 1,
6872
6913
  id: "reservation-availability-next-dates"
6873
- }, Xn = { class: "konnectio-panel konnectio-filter-notice" }, Zn = ["innerHTML"], Qn = { class: "konnectio-hotel-availability-title" }, $n = { class: "reservation-special-offers-grid" }, er = ["title"], tr = { key: 0 }, nr = {
6914
+ }, Qn = { class: "konnectio-panel konnectio-filter-notice" }, $n = ["innerHTML"], er = { class: "konnectio-hotel-availability-title" }, tr = { class: "reservation-special-offers-grid" }, nr = ["title"], rr = { key: 0 }, ir = {
6874
6915
  key: 2,
6875
6916
  id: "booking-availability-no-listings",
6876
6917
  class: "konnectio-panel"
6877
- }, rr = {
6918
+ }, ar = {
6878
6919
  key: 5,
6879
6920
  class: "konnectio-panel"
6880
- }, ir = {
6921
+ }, or = {
6881
6922
  key: 6,
6882
6923
  class: "konnectio-listing-loading"
6883
- }, ar = { class: "konnectio-hotel-availability-warning" }, or = { class: "konnectio-hotel-availability-warning" }, sr = { class: "konnectio-panel" }, cr = {
6924
+ }, sr = { class: "konnectio-hotel-availability-warning" }, cr = { class: "konnectio-hotel-availability-warning" }, lr = { class: "konnectio-panel" }, ur = {
6884
6925
  key: 0,
6885
6926
  class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
6886
- }, lr = ["innerHTML"], ur = {
6927
+ }, dr = ["innerHTML"], fr = {
6887
6928
  key: 0,
6888
6929
  id: "konnectio-hotel-addons"
6889
- }, dr = { key: 0 }, fr = { class: "konnectio-event-addons-price" }, pr = { key: 1 }, mr = {
6930
+ }, pr = { key: 0 }, mr = { class: "konnectio-event-addons-price" }, hr = { key: 1 }, gr = {
6890
6931
  key: 0,
6891
6932
  class: "konnectio-table-addons-image"
6892
- }, hr = ["innerHTML"], gr = { class: "konnectio-table-addons-option" }, _r = {
6933
+ }, _r = ["innerHTML"], vr = { class: "konnectio-table-addons-option" }, yr = {
6893
6934
  key: 1,
6894
6935
  id: "konnectio-hotel-addons"
6895
- }, vr = {
6936
+ }, br = {
6896
6937
  key: 0,
6897
6938
  class: "konnectio-hotel-reservation-room-name"
6898
- }, yr = {
6939
+ }, xr = {
6899
6940
  key: 0,
6900
6941
  class: "konnectio-table-addons-image"
6901
- }, br = ["innerHTML"], xr = { class: "konnectio-table-addons-option" }, Sr = { class: "konnectio-panel" }, Cr = {
6942
+ }, Sr = ["innerHTML"], Cr = { class: "konnectio-table-addons-option" }, wr = { class: "konnectio-panel" }, Tr = {
6902
6943
  key: 0,
6903
6944
  class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
6904
- }, wr = ["innerHTML"], Tr = { key: 0 }, Er = { key: 1 }, Dr = {
6945
+ }, Er = ["innerHTML"], Dr = { key: 0 }, Or = { key: 1 }, kr = {
6905
6946
  key: 2,
6906
6947
  class: "konnectio-show-on-mobile"
6907
- }, Or = { class: "konnectio-split-inputs" }, kr = {
6948
+ }, Ar = { class: "konnectio-split-inputs" }, jr = {
6908
6949
  key: 0,
6909
6950
  class: "konnectio-hotel-member-card-mockup"
6910
- }, Ar = ["src"], jr = { class: "konnectio-hotel-member-card-details" }, Mr = { key: 0 }, Nr = { key: 0 }, Pr = /* @__PURE__ */ I(/* @__PURE__ */ m({
6951
+ }, Mr = ["src"], Nr = { class: "konnectio-hotel-member-card-details" }, Pr = { key: 0 }, Fr = { key: 0 }, Ir = /*#__PURE__*/ R(/* @__PURE__ */ m({
6911
6952
  name: "HotelLayout",
6912
6953
  __name: "Hotel",
6913
6954
  props: {
6914
6955
  accessToken: {},
6915
- headerLayout: { default: R.Minimal },
6956
+ headerLayout: { default: Se.Minimal },
6916
6957
  onlyShow: { default: "everything" },
6917
6958
  hideAddons: { default: "no" },
6918
6959
  disableDefaultLocation: { default: "no" },
@@ -6923,12 +6964,13 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6923
6964
  forceArrivalTime: {},
6924
6965
  forceDepartureTime: {},
6925
6966
  requireGuestDiscountId: { default: "no" },
6967
+ requireDiscountCode: { default: "no" },
6926
6968
  sortBy: { default: "default" },
6927
6969
  sortOrder: { default: "asc" },
6928
6970
  styling: {}
6929
6971
  },
6930
6972
  setup(e) {
6931
- let t = f(() => import("./_-BLU96am3.js").then((e) => e.n)), r = e, { t: a } = D(), { currentLocation: u, templateID: m, templateRoomSelections: _, templateRoomUnits: te, countries: ne, areListingsLoading: y, isPaymentLoading: re, isReservationFormFilled: x, travelingFor: w, arrivalTime: ae, departureTime: E, name: oe, nameTitle: O, email: k, phone: A, firmName: j, postal: M, city: P, address: se, country: ce, remark: ve, allergies: xe, roomSelect: I, roomDisplay: Se, hasValidRoomSelection: Ce, availabilityData: R, selectionHasNoAddons: we, isAvailabilityDataAvailable: Ee, getSelectedPackageRooms: je, selectedPackage: Ne, isSearchOutdated: Pe, isTemplateReservation: Ie, newsMails: Le, adultsMismatch: He, childrenMismatch: Ue, totalAdults: We, totalChildren: Ge, hasGuestDiscountId: Ke, hasGuestDiscountCode: qe, guestDiscountId: Je, guestDiscountName: Ze, guestDiscountCode: Qe, hasMemberCards: $e, memberCardList: et, selectedMemberCard: tt, memberCardControlNumber: nt, memberCardNumber: rt, selectedMemberCardObject: it, selectedMemberCardData: at, discountCode: ot, discountPayload: st } = N(be()), { adults: ct, children: lt, location: ut, arrivalDate: dt, departureDate: ft, hasHotelLocations: pt } = N(ue()), { isValidHotelId: mt, updateDates: ht } = ue(), { currency: gt, enableTracking: _t, disableNamePrefix: vt, disableTravelingFor: H, disableTravelingForBleasure: U, disableCompanyField: bt, hasPaymentGateway: xt, maxAdultAmount: St, maxChildAmount: Ct, defaultAdultAmount: W, defaultChildAmount: G, disableNewsletterSignup: wt, hasActiveIdFilter: Tt, hotelSettings: K } = N(fe()), { hasArrivalDepartureInputs: Et, hasUserArrivalSelection: Dt, hasUserDepartureSelection: Ot, earliestArrivalTime: q, latestArrivalTime: kt, earliestDepartureTime: At, latestDepartureTime: jt, setActiveIdFilter: Mt, clearActiveIdFilter: Nt } = fe(), { beginCheckout: Pt } = de(), { display: Ft } = ye(), { createReservation: It, fetchMetadata: Rt, fetchAvailabilityData: zt, filterAddons: Bt, hasAvailableRoomAddons: Vt, checkGuestDiscount: J, setGuestDiscountCode: Ut, validateMemberCard: Y, onOverviewReset: Wt, validateDiscountCode: Gt } = be(), Kt = g(() => r.sortOrder === "desc"), qt = g(() => [
6973
+ let t = f(() => import("./_-CrX9aXtd.js").then((e) => e.n)), r = e, { t: a } = D(), { currentLocation: u, templateID: m, templateRoomSelections: _, templateRoomUnits: te, countries: ne, areListingsLoading: y, isPaymentLoading: re, isReservationFormFilled: x, travelingFor: w, arrivalTime: ae, departureTime: E, name: oe, nameTitle: O, email: k, phone: A, firmName: j, postal: N, city: F, address: se, country: ge, remark: ye, allergies: R, roomSelect: be, roomDisplay: xe, hasValidRoomSelection: Se, availabilityData: z, selectionHasNoAddons: we, isAvailabilityDataAvailable: ke, getSelectedPackageRooms: Me, selectedPackage: Ne, isSearchOutdated: Fe, isTemplateReservation: Ie, newsMails: Ve, adultsMismatch: He, childrenMismatch: Ue, totalAdults: We, totalChildren: Ge, hasGuestDiscountId: Ke, hasGuestDiscountCode: qe, guestDiscountId: Xe, guestDiscountName: Ze, guestDiscountCode: Qe, hasMemberCards: $e, memberCardList: et, selectedMemberCard: tt, memberCardControlNumber: nt, memberCardNumber: rt, selectedMemberCardObject: it, selectedMemberCardData: at, discountCode: ot, discountPayload: st } = M(ve()), { adults: ct, children: lt, location: ut, arrivalDate: dt, departureDate: ft, hasHotelLocations: pt } = M(le()), { isValidHotelId: mt, updateDates: ht } = le(), { currency: gt, enableTracking: _t, disableNamePrefix: yt, disableTravelingFor: H, disableTravelingForBleasure: U, disableCompanyField: bt, hasPaymentGateway: xt, maxAdultAmount: St, maxChildAmount: Ct, defaultAdultAmount: W, defaultChildAmount: G, disableNewsletterSignup: wt, hasActiveIdFilter: Tt, hotelSettings: K } = M(de()), { hasArrivalDepartureInputs: Et, hasUserArrivalSelection: Dt, hasUserDepartureSelection: Ot, earliestArrivalTime: q, latestArrivalTime: kt, earliestDepartureTime: At, latestDepartureTime: jt, setActiveIdFilter: Mt, clearActiveIdFilter: Nt } = de(), { beginCheckout: Pt } = ue(), { display: Ft } = _e(), { createReservation: Lt, fetchMetadata: Rt, fetchAvailabilityData: zt, filterAddons: Vt, hasAvailableRoomAddons: Ht, checkGuestDiscount: J, setGuestDiscountCode: Y, validateMemberCard: Wt, onOverviewReset: Gt, validateDiscountCode: Kt } = ve(), qt = g(() => r.sortOrder === "desc"), Jt = g(() => [
6932
6974
  {
6933
6975
  id: "availability",
6934
6976
  label: a("booking.availability.title"),
@@ -6953,7 +6995,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6953
6995
  label: a("booking.confirmation.title"),
6954
6996
  icon: "calendar-check"
6955
6997
  }
6956
- ]), X = g(() => {
6998
+ ]), Yt = g(() => {
6957
6999
  let e = [{
6958
7000
  label: a("booking.reservation.business"),
6959
7001
  value: "Business"
@@ -6965,40 +7007,40 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6965
7007
  label: a("booking.reservation.bleasure"),
6966
7008
  value: "Bleasure"
6967
7009
  }), e;
6968
- }), Jt = g(() => {
6969
- let e = R.value.roomGroups.slice();
7010
+ }), X = g(() => {
7011
+ let e = z.value.roomGroups.slice();
6970
7012
  function t(e, t) {
6971
- return Kt.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
7013
+ return qt.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
6972
7014
  }
6973
7015
  return r.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
6974
7016
  });
6975
- function Yt(e) {
7017
+ function Z(e) {
6976
7018
  return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
6977
7019
  }
6978
- let Z = g(() => {
6979
- let e = R.value.templates.slice();
7020
+ let Xt = g(() => {
7021
+ let e = z.value.templates.slice();
6980
7022
  return r.sortBy === "price" && e.sort((e, t) => {
6981
- let n = Yt(e), r = Yt(t);
6982
- return Kt.value ? r - n : n - r;
7023
+ let n = Z(e), r = Z(t);
7024
+ return qt.value ? r - n : n - r;
6983
7025
  }), e;
6984
- }), Xt = g(() => {
6985
- let e = R.value.specialTemplates.slice();
7026
+ }), Zt = g(() => {
7027
+ let e = z.value.specialTemplates.slice();
6986
7028
  return r.sortBy === "price" && e.sort((e, t) => {
6987
- let n = Yt(e), r = Yt(t);
6988
- return Kt.value ? r - n : n - r;
7029
+ let n = Z(e), r = Z(t);
7030
+ return qt.value ? r - n : n - r;
6989
7031
  }), e;
6990
- }), Zt = g(() => r.hideAddons === "yes" || Ie.value && r.hideAddons === "packages" || !Ie.value && r.hideAddons === "rooms");
6991
- function Qt(e) {
7032
+ }), Qt = g(() => r.hideAddons === "yes" || Ie.value && r.hideAddons === "packages" || !Ie.value && r.hideAddons === "rooms");
7033
+ function $t(e) {
6992
7034
  let t = $.discount;
6993
- t ? (ot.value = t, Gt()) : qe.value && !st.value && (ot.value = Qe.value, Gt()), e();
7035
+ t ? (ot.value = t, Kt()) : qe.value && !st.value && (ot.value = Qe.value, Kt()), e();
6994
7036
  }
6995
- function $t(e) {
6996
- Zt.value || we.value ? e(2) : e();
7037
+ function en(e) {
7038
+ Qt.value || we.value ? e(2) : e();
6997
7039
  }
6998
- async function en(e, t) {
6999
- await It(e, t);
7040
+ async function tn(e, t) {
7041
+ await Lt(e, t);
7000
7042
  }
7001
- function tn() {
7043
+ function nn() {
7002
7044
  if (isNaN(ut.value) && pt.value) {
7003
7045
  Ft({
7004
7046
  message: a("alert.error.selectHotelId"),
@@ -7008,24 +7050,24 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7008
7050
  }
7009
7051
  zt();
7010
7052
  }
7011
- function nn() {
7012
- let e = De("history", { removeNullishValues: !0 });
7053
+ function rn() {
7054
+ let e = Te("history", { removeNullishValues: !0 });
7013
7055
  Nt(), e.id = void 0, zt();
7014
7056
  }
7015
7057
  function Q(e) {
7016
- _t.value && Pt(), qe.value && !st.value && (ot.value = Qe.value, Gt()), Zt.value || we.value ? e(2) : e();
7058
+ _t.value && Pt(), qe.value && !st.value && (ot.value = Qe.value, Kt()), Qt.value || we.value ? e(2) : e();
7017
7059
  }
7018
- function an() {
7019
- r.forceArrivalTime && r.forceDepartureTime && (K.value[ut.value].disableArrivalUserSelection = !0, r.forceArrivalTime && (K.value[ut.value].arrivalDefault = r.forceArrivalTime), r.forceDepartureTime && (K.value[ut.value].departureDefault = r.forceDepartureTime));
7060
+ function on() {
7061
+ r.forceArrivalTime && r.forceDepartureTime && K.value[ut.value] && (K.value[ut.value].disableArrivalUserSelection = !0, r.forceArrivalTime && (K.value[ut.value].arrivalDefault = r.forceArrivalTime), r.forceDepartureTime && (K.value[ut.value].departureDefault = r.forceDepartureTime));
7020
7062
  }
7021
- let $ = De("history", { removeNullishValues: !0 });
7022
- async function on() {
7023
- an();
7063
+ let $ = Te("history", { removeNullishValues: !0 });
7064
+ async function sn() {
7065
+ on();
7024
7066
  let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), i = parseInt($.n), o = $.ci, s = $.co, c = $.id, l = parseInt($.gid), d = $.discount, f = !1;
7025
7067
  if (isNaN(e) || (e > St.value ? ct.value = St.value : ct.value = e, ct.value === W.value && ($.a = void 0)), isNaN(t) || (t > Ct.value ? lt.value = Ct.value : lt.value = t, lt.value === G.value && ($.c = void 0)), isNaN(i) || i > 0 && ($.n = void 0), isNaN(n) || (mt(n) ? (ut.value = n, f = !0) : ($.hid = void 0, Ft({
7026
7068
  message: a("alert.error.hotelIdNotFound"),
7027
7069
  type: "error"
7028
- }))), o && s) if (he(o) && he(s)) {
7070
+ }))), o && s) if (me(o) && me(s)) {
7029
7071
  let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
7030
7072
  e <= t ? (dt.value = e, ft.value = t) : ($.ci = void 0, $.co = void 0, Ft({
7031
7073
  message: a("alert.error.invalidDateRange"),
@@ -7039,527 +7081,420 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7039
7081
  await J(l) || ($.gid = void 0);
7040
7082
  return;
7041
7083
  }
7042
- d && Ut(d), r.disableDefaultLocation === "yes" && f === !1 ? (ut.value = void 0, u.value = void 0) : zt();
7084
+ d && Y(d), r.disableDefaultLocation === "yes" && f === !1 ? (ut.value = void 0, u.value = void 0) : zt();
7043
7085
  }
7044
- return (r, f) => (v(), o(Te, { styling: e.styling }, {
7045
- default: b(() => [(v(), o(h, { onResolve: on }, {
7086
+ return (r, f) => (v(), o(Ce, { styling: e.styling }, {
7087
+ default: b(() => [(v(), o(h, { onResolve: sn }, {
7046
7088
  default: b(() => [d(l(t), {
7047
7089
  id: "konnectio-hotel-module",
7048
7090
  "access-token": e.accessToken,
7049
7091
  callback: l(Rt)
7050
7092
  }, {
7051
- default: b(() => [S(d(Ht, { onCallback: on }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !l(Ke)]]), S(d(ze, {
7052
- layout: e.headerLayout,
7053
- steps: qt.value,
7054
- onReset: l(Wt)
7055
- }, {
7056
- availability: b(({ next: t }) => [d(Lt, {
7057
- "show-remove-room": !0,
7058
- "availability-discount": ""
7093
+ default: b(() => [
7094
+ S(d(Bt, { onCallback: sn }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !l(Ke)]]),
7095
+ S(d(Ut, null, null, 512), [[ee, e.requireDiscountCode === "yes" && !l(qe)]]),
7096
+ S(d(Re, {
7097
+ layout: e.headerLayout,
7098
+ steps: Jt.value,
7099
+ onReset: l(Gt)
7059
7100
  }, {
7060
- form: b(() => [c("div", On, [
7061
- c("div", kn, [d(Fe, {
7062
- booking: !0,
7063
- "selected-location": Number(e.selectedLocation),
7064
- "disable-default-location": e.disableDefaultLocation === "yes",
7065
- "hide-locations": e.hideLocations === "yes"
7066
- }, null, 8, [
7067
- "selected-location",
7068
- "disable-default-location",
7069
- "hide-locations"
7070
- ])]),
7071
- l(Ke) ? (v(), T("div", An, [c("span", { innerHTML: l(a)("guestDiscount.displayMessage", { name: `<b>${l(Ze) ? l(Ze) : l(Je)}</b>` }) }, null, 8, jn)])) : p("", !0),
7072
- l(qe) ? (v(), T("div", Mn, [c("span", { innerHTML: l(a)("guestDiscount.displayMessage", { name: `<b>${l(Qe)}</b>` }) }, null, 8, Nn)])) : p("", !0),
7073
- l(Tt) ? (v(), T("div", Pn, [c("span", null, [ie(i(l(a)("general.filteredListingNotice")) + " ", 1), c("button", {
7074
- class: "link",
7075
- onClick: f[0] ||= (e) => nn()
7076
- }, i(l(a)("general.filteredListingShowAll")), 1)])])) : p("", !0),
7077
- p("", !0),
7078
- !l(y) && l(Ee) ? (v(), T("div", Fn, [Jt.value.camping && Jt.value.camping.length > 0 && e.onlyShow !== "non-camping" || Jt.value.rooms && Jt.value.rooms.length > 0 || l(R).templates.length > 0 || l(R).specialTemplates.length > 0 ? (v(), T("div", In, [
7079
- l(R).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (v(), T("div", Ln, [e.onlyShow === "packages" ? p("", !0) : (v(), T("h2", Rn, [d(B, {
7080
- icon: "box",
7081
- type: "fal",
7082
- color: "header"
7083
- }), c("span", null, i(l(a)("booking.availability.packagesTitle")), 1)])), c("ul", zn, [(v(!0), T(F, null, n(Z.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: c }) => (v(), o(gn, {
7084
- key: n,
7085
- id: n,
7086
- description: s,
7087
- name: r,
7088
- images: a,
7089
- weekendFee: c,
7090
- "room-groups": i,
7091
- callback: t,
7092
- "hide-addons": e.hideAddons === "yes" || e.hideAddons === "packages"
7101
+ availability: b(({ next: t }) => [d(It, {
7102
+ "show-remove-room": !0,
7103
+ "availability-discount": ""
7104
+ }, {
7105
+ form: b(() => [c("div", An, [
7106
+ c("div", jn, [d(Pe, {
7107
+ booking: !0,
7108
+ "selected-location": Number(e.selectedLocation),
7109
+ "disable-default-location": e.disableDefaultLocation === "yes",
7110
+ "hide-locations": e.hideLocations === "yes"
7093
7111
  }, null, 8, [
7094
- "id",
7095
- "description",
7096
- "name",
7097
- "images",
7098
- "weekendFee",
7099
- "room-groups",
7100
- "callback",
7101
- "hide-addons"
7102
- ]))), 128))])])) : p("", !0),
7103
- l(R).roomGroups.length > 0 && e.onlyShow !== "packages" ? (v(), T("div", Bn, [Jt.value.rooms && e.onlyShow !== "camping" ? (v(), T(F, { key: 0 }, [l(R).templates.length > 0 && e.onlyShow !== "rooms" ? (v(), T("h2", Vn, [d(B, {
7104
- icon: "house",
7105
- type: "fal",
7106
- color: "header"
7107
- }), c("span", null, i(l(a)("booking.availability.roomsTitle")), 1)])) : p("", !0), c("ul", Hn, [(v(!0), T(F, null, n(Jt.value.rooms, (e, n) => (v(), o(rn, {
7108
- room: e,
7109
- key: n,
7110
- callback: t
7111
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0), Jt.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (v(), T(F, { key: 1 }, [l(R).templates.length > 0 && e.onlyShow !== "camping" ? (v(), T("h2", Un, [d(B, {
7112
- icon: "map-location-dot",
7113
- type: "fal",
7114
- color: "header"
7115
- }), c("span", null, i(l(a)("booking.availability.campingTitle")), 1)])) : p("", !0), c("ul", Wn, [(v(!0), T(F, null, n(Jt.value.camping, (e, n) => (v(), o(rn, {
7116
- room: e,
7117
- key: n,
7118
- callback: t
7119
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0)])) : p("", !0),
7120
- l(Tt) ? p("", !0) : (v(), T(F, { key: 2 }, [l(R).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (v(), T("div", Gn, [c("h2", Kn, [d(B, {
7121
- icon: "sparkles",
7122
- type: "fal",
7123
- color: "header"
7124
- }), c("span", null, i(l(a)("hotel.specialOffers")), 1)]), c("ul", qn, [(v(!0), T(F, null, n(Xt.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: c }) => (v(), o(yn, {
7125
- key: e,
7126
- id: e,
7127
- description: i,
7128
- name: t,
7129
- images: r,
7130
- fromDate: s,
7131
- toDate: c,
7132
- weekendFee: a,
7133
- "room-groups": n
7134
- }, null, 8, [
7135
- "id",
7136
- "description",
7137
- "name",
7138
- "images",
7139
- "fromDate",
7140
- "toDate",
7141
- "weekendFee",
7142
- "room-groups"
7143
- ]))), 128))])])) : p("", !0)], 64)),
7144
- (l(R).templates.length === 0 && e.onlyShow !== "rooms" || l(R).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (v(), T("div", Jn, [c("span", null, i(l(a)("booking.availability.nothingAvailable")), 1)])) : p("", !0)
7145
- ])) : l(R).nextAvailableDates.length > 0 ? (v(), T("div", Yn, [
7146
- c("div", Xn, [c("span", { innerHTML: l(a)("hotel.everyRoomIsBooked") }, null, 8, Zn)]),
7147
- c("h2", Qn, [d(B, {
7148
- icon: "calendar-circle-exclamation",
7149
- type: "fal",
7150
- color: "header"
7151
- }), c("span", null, i(l(a)("booking.availability.nextAvailableDates")), 1)]),
7152
- c("ul", $n, [(v(!0), T(F, null, n(l(R).nextAvailableDates, (e, t) => (v(), T("li", { key: t }, [
7153
- c("h3", { title: `${l(me)(e.fromDate, 0, !0)} - ${l(me)(e.toDate, 0, !0)}` }, [c("span", null, i(`${l(me)(e.fromDate, 0, !0)} - ${l(me)(e.toDate, 0, !0)}`), 1)], 8, er),
7154
- c("ul", null, [isNaN(e.roomCount) ? p("", !0) : (v(), T("li", tr, [d(B, {
7112
+ "selected-location",
7113
+ "disable-default-location",
7114
+ "hide-locations"
7115
+ ])]),
7116
+ l(Ke) ? (v(), T("div", Mn, [c("span", { innerHTML: l(a)("guestDiscount.displayMessage", { name: `<b>${l(Ze) ? l(Ze) : l(Xe)}</b>` }) }, null, 8, Nn)])) : p("", !0),
7117
+ l(qe) ? (v(), T("div", Pn, [c("span", { innerHTML: l(a)("guestDiscount.displayMessage", { name: `<b>${l(Qe)}</b>` }) }, null, 8, Fn)])) : p("", !0),
7118
+ l(Tt) ? (v(), T("div", In, [c("span", null, [ie(i(l(a)("general.filteredListingNotice")) + " ", 1), c("button", {
7119
+ class: "link",
7120
+ onClick: f[0] ||= (e) => rn()
7121
+ }, i(l(a)("general.filteredListingShowAll")), 1)])])) : p("", !0),
7122
+ p("", !0),
7123
+ !l(y) && l(ke) ? (v(), T("div", Ln, [X.value.camping && X.value.camping.length > 0 && e.onlyShow !== "non-camping" || X.value.rooms && X.value.rooms.length > 0 || l(z).templates.length > 0 || l(z).specialTemplates.length > 0 ? (v(), T("div", Rn, [
7124
+ l(z).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (v(), T("div", zn, [e.onlyShow === "packages" ? p("", !0) : (v(), T("h2", Bn, [d(B, {
7125
+ icon: "box",
7126
+ type: "fal",
7127
+ color: "header"
7128
+ }), c("span", null, i(l(a)("booking.availability.packagesTitle")), 1)])), c("ul", Vn, [(v(!0), T(P, null, n(Xt.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: c }) => (v(), o(vn, {
7129
+ key: n,
7130
+ id: n,
7131
+ description: s,
7132
+ name: r,
7133
+ images: a,
7134
+ weekendFee: c,
7135
+ "room-groups": i,
7136
+ callback: t,
7137
+ "hide-addons": e.hideAddons === "yes" || e.hideAddons === "packages"
7138
+ }, null, 8, [
7139
+ "id",
7140
+ "description",
7141
+ "name",
7142
+ "images",
7143
+ "weekendFee",
7144
+ "room-groups",
7145
+ "callback",
7146
+ "hide-addons"
7147
+ ]))), 128))])])) : p("", !0),
7148
+ l(z).roomGroups.length > 0 && e.onlyShow !== "packages" ? (v(), T("div", Hn, [X.value.rooms && e.onlyShow !== "camping" ? (v(), T(P, { key: 0 }, [l(z).templates.length > 0 && e.onlyShow !== "rooms" ? (v(), T("h2", Un, [d(B, {
7155
7149
  icon: "house",
7156
7150
  type: "fal",
7157
7151
  color: "header"
7158
- }), c("span", null, i(l(a)("booking.availability.units")) + ": " + i(e.roomCount), 1)])), c("li", null, [d(B, {
7159
- icon: "money-bill",
7152
+ }), c("span", null, i(l(a)("booking.availability.roomsTitle")), 1)])) : p("", !0), c("ul", Wn, [(v(!0), T(P, null, n(X.value.rooms, (e, n) => (v(), o(an, {
7153
+ room: e,
7154
+ key: n,
7155
+ callback: t
7156
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0), X.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (v(), T(P, { key: 1 }, [l(z).templates.length > 0 && e.onlyShow !== "camping" ? (v(), T("h2", Gn, [d(B, {
7157
+ icon: "map-location-dot",
7160
7158
  type: "fal",
7161
7159
  color: "header"
7162
- }), c("span", null, i(l(a)("booking.availability.pricesFrom")) + ": " + i(l(_e)(e.priceStartFrom, l(gt))), 1)])]),
7163
- d(z, {
7164
- label: l(a)("booking.availability.selectDates"),
7165
- "full-width": "",
7166
- onClickEvent: (t) => l(ht)(new Date(e.fromDate), new Date(e.toDate))
7167
- }, null, 8, ["label", "onClickEvent"])
7168
- ]))), 128))])
7169
- ])) : (v(), T("div", nr, [c("span", null, i(l(a)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(l(u)) && !l(y) ? (v(), T("div", rr, [c("span", null, i(l(a)("alert.info.selectHotelToStart")), 1)])) : (v(), T("div", ir, [
7170
- d(Be),
7171
- d(Be),
7172
- d(Be)
7173
- ]))
7174
- ])]),
7175
- navigation: b(() => [
7176
- l(Pe) ? (v(), o(z, {
7177
- key: 0,
7178
- label: isNaN(l(u)) ? l(a)("availability.buttonLabel") : l(a)("general.searchAgain"),
7179
- "is-loading": l(y),
7180
- "full-width": "",
7181
- onClickEvent: f[2] ||= (e) => tn()
7182
- }, null, 8, ["label", "is-loading"])) : (v(), o(z, {
7183
- key: 1,
7184
- label: l(we) || Zt.value ? l(a)("booking.availability.nextButton") : l(a)("general.chooseAddons"),
7185
- disabled: !l(Ce),
7186
- "full-width": "",
7187
- onClickEvent: (e) => Q(t)
7188
- }, null, 8, [
7189
- "label",
7190
- "disabled",
7191
- "onClickEvent"
7192
- ])),
7193
- S(c("span", ar, [d(B, {
7194
- icon: "exclamation-triangle",
7195
- type: "fas"
7196
- }), c("span", null, i(l(a)("hotel.mismatchingAdults", {
7197
- searchAdults: l(ct),
7198
- selectedAdults: l(We)
7199
- })), 1)], 512), [[ee, l(He)]]),
7200
- S(c("span", or, [d(B, {
7201
- icon: "exclamation-triangle",
7202
- type: "fas"
7203
- }), c("span", null, i(l(a)("hotel.mismatchingChildren", {
7204
- searchChildren: l(lt),
7205
- selectedChildren: l(Ge)
7206
- })), 1)], 512), [[ee, l(Ue)]])
7207
- ]),
7208
- _: 2
7209
- }, 1024)]),
7210
- addons: b(({ next: e, prev: t }) => [l(Ee) ? (v(), o(Lt, {
7211
- key: 0,
7212
- "prev-callback": () => $t(t)
7213
- }, {
7214
- form: b(() => [c("form", sr, [
7215
- c("h2", null, [c("span", null, i(l(a)("booking.reservation.addons")), 1)]),
7216
- l(a)("hotel.addonTopNotice") && l(a)("hotel.addonTopNotice") !== "<br>" ? (v(), T("div", cr, [c("p", {
7217
- innerHTML: l(a)("hotel.addonTopNotice"),
7218
- class: "konnectio-wysiwyg"
7219
- }, null, 8, lr)])) : p("", !0),
7220
- c("div", null, [isNaN(l(m)) ? (v(), T("div", ur, [(v(!0), T(F, null, n(l(Se), (e) => (v(), T(F, { key: e.roomGroupID }, [l(Vt)(e) ? (v(), T("ul", dr, [(v(!0), T(F, null, n(e.variants, (t, r) => (v(), T("li", { key: t.ratePlanID }, [c("h4", null, [c("span", null, i(l(pe)(e.title)), 1)]), (v(!0), T(F, null, n(t.rooms, (a, u) => (v(), T("table", {
7221
- key: u,
7222
- class: "konnectio-table with-lines without-header"
7223
- }, [c("thead", null, [c("tr", null, [
7224
- c("th", null, [c("span", null, i(l(pe)(t.name)), 1)]),
7225
- p("", !0),
7226
- c("th", fr, [c("b", null, [
7227
- d(B, {
7228
- icon: "male",
7229
- type: "fas",
7230
- color: "font"
7231
- }),
7232
- c("span", null, i(a.adultsCount), 1),
7233
- a.childrenCount > 0 ? (v(), o(B, {
7160
+ }), c("span", null, i(l(a)("booking.availability.campingTitle")), 1)])) : p("", !0), c("ul", Kn, [(v(!0), T(P, null, n(X.value.camping, (e, n) => (v(), o(an, {
7161
+ room: e,
7162
+ key: n,
7163
+ callback: t
7164
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0)])) : p("", !0),
7165
+ l(Tt) ? p("", !0) : (v(), T(P, { key: 2 }, [l(z).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (v(), T("div", qn, [c("h2", Jn, [d(B, {
7166
+ icon: "sparkles",
7167
+ type: "fal",
7168
+ color: "header"
7169
+ }), c("span", null, i(l(a)("hotel.specialOffers")), 1)]), c("ul", Yn, [(v(!0), T(P, null, n(Zt.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: c }) => (v(), o(xn, {
7170
+ key: e,
7171
+ id: e,
7172
+ description: i,
7173
+ name: t,
7174
+ images: r,
7175
+ fromDate: s,
7176
+ toDate: c,
7177
+ weekendFee: a,
7178
+ "room-groups": n
7179
+ }, null, 8, [
7180
+ "id",
7181
+ "description",
7182
+ "name",
7183
+ "images",
7184
+ "fromDate",
7185
+ "toDate",
7186
+ "weekendFee",
7187
+ "room-groups"
7188
+ ]))), 128))])])) : p("", !0)], 64)),
7189
+ (l(z).templates.length === 0 && e.onlyShow !== "rooms" || l(z).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (v(), T("div", Xn, [c("span", null, i(l(a)("booking.availability.nothingAvailable")), 1)])) : p("", !0)
7190
+ ])) : l(z).nextAvailableDates.length > 0 ? (v(), T("div", Zn, [
7191
+ c("div", Qn, [c("span", { innerHTML: l(a)("hotel.everyRoomIsBooked") }, null, 8, $n)]),
7192
+ c("h2", er, [d(B, {
7193
+ icon: "calendar-circle-exclamation",
7194
+ type: "fal",
7195
+ color: "header"
7196
+ }), c("span", null, i(l(a)("booking.availability.nextAvailableDates")), 1)]),
7197
+ c("ul", tr, [(v(!0), T(P, null, n(l(z).nextAvailableDates, (e, t) => (v(), T("li", { key: t }, [
7198
+ c("h3", { title: `${l(pe)(e.fromDate, 0, !0)} - ${l(pe)(e.toDate, 0, !0)}` }, [c("span", null, i(`${l(pe)(e.fromDate, 0, !0)} - ${l(pe)(e.toDate, 0, !0)}`), 1)], 8, nr),
7199
+ c("ul", null, [isNaN(e.roomCount) ? p("", !0) : (v(), T("li", rr, [d(B, {
7200
+ icon: "house",
7201
+ type: "fal",
7202
+ color: "header"
7203
+ }), c("span", null, i(l(a)("booking.availability.units")) + ": " + i(e.roomCount), 1)])), c("li", null, [d(B, {
7204
+ icon: "money-bill",
7205
+ type: "fal",
7206
+ color: "header"
7207
+ }), c("span", null, i(l(a)("booking.availability.pricesFrom")) + ": " + i(l(I)(e.priceStartFrom, l(gt))), 1)])]),
7208
+ d(je, {
7209
+ label: l(a)("booking.availability.selectDates"),
7210
+ "full-width": "",
7211
+ onClickEvent: (t) => l(ht)(new Date(e.fromDate), new Date(e.toDate))
7212
+ }, null, 8, ["label", "onClickEvent"])
7213
+ ]))), 128))])
7214
+ ])) : (v(), T("div", ir, [c("span", null, i(l(a)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(l(u)) && !l(y) ? (v(), T("div", ar, [c("span", null, i(l(a)("alert.info.selectHotelToStart")), 1)])) : (v(), T("div", or, [
7215
+ d(ze),
7216
+ d(ze),
7217
+ d(ze)
7218
+ ]))
7219
+ ])]),
7220
+ navigation: b(() => [
7221
+ l(Fe) ? (v(), o(je, {
7222
+ key: 0,
7223
+ label: isNaN(l(u)) ? l(a)("availability.buttonLabel") : l(a)("general.searchAgain"),
7224
+ "is-loading": l(y),
7225
+ "full-width": "",
7226
+ onClickEvent: f[2] ||= (e) => nn()
7227
+ }, null, 8, ["label", "is-loading"])) : (v(), o(je, {
7228
+ key: 1,
7229
+ label: l(we) || Qt.value ? l(a)("booking.availability.nextButton") : l(a)("general.chooseAddons"),
7230
+ disabled: !l(Se),
7231
+ "full-width": "",
7232
+ onClickEvent: (e) => Q(t)
7233
+ }, null, 8, [
7234
+ "label",
7235
+ "disabled",
7236
+ "onClickEvent"
7237
+ ])),
7238
+ S(c("span", sr, [d(B, {
7239
+ icon: "exclamation-triangle",
7240
+ type: "fas"
7241
+ }), c("span", null, i(l(a)("hotel.mismatchingAdults", {
7242
+ searchAdults: l(ct),
7243
+ selectedAdults: l(We)
7244
+ })), 1)], 512), [[ee, l(He)]]),
7245
+ S(c("span", cr, [d(B, {
7246
+ icon: "exclamation-triangle",
7247
+ type: "fas"
7248
+ }), c("span", null, i(l(a)("hotel.mismatchingChildren", {
7249
+ searchChildren: l(lt),
7250
+ selectedChildren: l(Ge)
7251
+ })), 1)], 512), [[ee, l(Ue)]])
7252
+ ]),
7253
+ _: 2
7254
+ }, 1024)]),
7255
+ addons: b(({ next: e, prev: t }) => [l(ke) ? (v(), o(It, {
7256
+ key: 0,
7257
+ "prev-callback": () => en(t)
7258
+ }, {
7259
+ form: b(() => [c("form", lr, [
7260
+ c("h2", null, [c("span", null, i(l(a)("booking.reservation.addons")), 1)]),
7261
+ l(a)("hotel.addonTopNotice") && l(a)("hotel.addonTopNotice") !== "<br>" ? (v(), T("div", ur, [c("p", {
7262
+ innerHTML: l(a)("hotel.addonTopNotice"),
7263
+ class: "konnectio-wysiwyg"
7264
+ }, null, 8, dr)])) : p("", !0),
7265
+ c("div", null, [isNaN(l(m)) ? (v(), T("div", fr, [(v(!0), T(P, null, n(l(xe), (e) => (v(), T(P, { key: e.roomGroupID }, [l(Ht)(e) ? (v(), T("ul", pr, [(v(!0), T(P, null, n(e.variants, (t, r) => (v(), T("li", { key: t.ratePlanID }, [c("h4", null, [c("span", null, i(l(fe)(e.title)), 1)]), (v(!0), T(P, null, n(t.rooms, (a, u) => (v(), T("table", {
7266
+ key: u,
7267
+ class: "konnectio-table with-lines without-header"
7268
+ }, [c("thead", null, [c("tr", null, [
7269
+ c("th", null, [c("span", null, i(l(fe)(t.name)), 1)]),
7270
+ p("", !0),
7271
+ c("th", mr, [c("b", null, [
7272
+ d(B, {
7273
+ icon: "male",
7274
+ type: "fas",
7275
+ color: "font"
7276
+ }),
7277
+ c("span", null, i(a.adultsCount), 1),
7278
+ a.childrenCount > 0 ? (v(), o(B, {
7279
+ key: 0,
7280
+ icon: "child",
7281
+ type: "fas",
7282
+ color: "font"
7283
+ })) : p("", !0),
7284
+ a.childrenCount > 0 ? (v(), T("span", hr, i(a.childrenCount), 1)) : p("", !0)
7285
+ ])])
7286
+ ])]), c("tbody", null, [(v(!0), T(P, null, n(l(Vt)(t.addons, a.childrenCount), ({ cardinality: t, quantityStrategy: n, maximumNumber: u, id: f, name: m, price: h, image: g, description: _ }) => (v(), T("tr", { key: f }, [c("td", { class: s(["konnectio-table-addons-information", { "has-image": g }]) }, [g ? (v(), T("div", gr, [d(l(vt), {
7287
+ src: g,
7288
+ "zoom-scale": 1
7289
+ }, null, 8, ["src"])])) : p("", !0), c("div", null, [
7290
+ c("b", null, i(l(fe)(m)), 1),
7291
+ c("span", null, i(l(I)(h, l(gt))) + " " + i(l(ce)(n)), 1),
7292
+ _ ? (v(), T("p", {
7234
7293
  key: 0,
7235
- icon: "child",
7236
- type: "fas",
7237
- color: "font"
7238
- })) : p("", !0),
7239
- a.childrenCount > 0 ? (v(), T("span", pr, i(a.childrenCount), 1)) : p("", !0)
7240
- ])])
7241
- ])]), c("tbody", null, [(v(!0), T(F, null, n(l(Bt)(t.addons, a.childrenCount), ({ cardinality: t, quantityStrategy: n, maximumNumber: u, id: f, name: m, price: h, image: g, description: _ }) => (v(), T("tr", { key: f }, [c("td", { class: s(["konnectio-table-addons-information", { "has-image": g }]) }, [g ? (v(), T("div", mr, [d(l(yt), {
7242
- src: g,
7243
- "zoom-scale": 1
7244
- }, null, 8, ["src"])])) : p("", !0), c("div", null, [
7245
- c("b", null, i(l(pe)(m)), 1),
7246
- c("span", null, i(l(_e)(h, l(gt))) + " " + i(l(le)(n)), 1),
7247
- _ ? (v(), T("p", {
7294
+ innerHTML: l(he)(_)
7295
+ }, null, 8, _r)) : p("", !0)
7296
+ ])], 2), c("td", vr, [l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx] ? (v(), T(P, { key: 0 }, [t === l(De).Mandatory ? (v(), o(Oe, {
7248
7297
  key: 0,
7249
- innerHTML: l(ge)(_)
7250
- }, null, 8, hr)) : p("", !0)
7251
- ])], 2), c("td", gr, [l(I)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx] ? (v(), T(F, { key: 0 }, [t === l(ke).Mandatory ? (v(), o(Ae, {
7252
- key: 0,
7253
- "model-value": 1,
7254
- small: !0,
7255
- "min-value": 1,
7256
- "max-value": 1,
7257
- readonly: ""
7258
- })) : (v(), o(Ae, {
7259
- key: 1,
7260
- modelValue: l(I)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx][f],
7261
- "onUpdate:modelValue": (t) => l(I)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx][f] = t,
7262
- small: !0,
7263
- "min-value": 0,
7264
- "max-value": u || Infinity
7265
- }, null, 8, [
7266
- "modelValue",
7267
- "onUpdate:modelValue",
7268
- "max-value"
7269
- ]))], 64)) : p("", !0)])]))), 128))])]))), 128))]))), 128))])) : p("", !0)], 64))), 128))])) : l(te).length > 0 ? (v(), T("div", _r, [c("div", null, [c("h4", null, [c("span", null, i(l(Ne)?.name), 1)]), (v(!0), T(F, null, n(l(te), (e, t) => (v(), T("table", {
7270
- key: t,
7271
- class: "konnectio-table with-lines without-header"
7272
- }, [c("thead", null, [c("tr", null, [
7273
- c("th", null, [c("span", null, i(l(pe)(l(je).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), l(te).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (v(), T("span", vr, "(" + i(l(a)("booking.reservation.room")) + " " + i(l(te).slice(0, t + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : p("", !0)]),
7274
- p("", !0),
7275
- f[24] ||= c("th", { class: "konnectio-event-addons-price" }, null, -1)
7276
- ])]), c("tbody", null, [(v(!0), T(F, null, n(l(Bt)(l(je).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: a, name: u, price: f, description: m, image: h }) => (v(), T("tr", { key: a }, [c("td", { class: s(["konnectio-table-addons-information", { "has-image": h }]) }, [h ? (v(), T("div", yr, [d(l(yt), {
7277
- src: h,
7278
- "zoom-scale": 1
7279
- }, null, 8, ["src"])])) : p("", !0), c("div", null, [
7280
- c("b", null, i(l(pe)(u)), 1),
7281
- c("span", null, i(l(_e)(f, l(gt))) + " " + i(l(le)(n)), 1),
7282
- m ? (v(), T("p", {
7298
+ "model-value": 1,
7299
+ small: !0,
7300
+ "min-value": 1,
7301
+ "max-value": 1,
7302
+ readonly: ""
7303
+ })) : (v(), o(Oe, {
7304
+ key: 1,
7305
+ modelValue: l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx][f],
7306
+ "onUpdate:modelValue": (t) => l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx][f] = t,
7307
+ small: !0,
7308
+ "min-value": 0,
7309
+ "max-value": u || Infinity
7310
+ }, null, 8, [
7311
+ "modelValue",
7312
+ "onUpdate:modelValue",
7313
+ "max-value"
7314
+ ]))], 64)) : p("", !0)])]))), 128))])]))), 128))]))), 128))])) : p("", !0)], 64))), 128))])) : l(te).length > 0 ? (v(), T("div", yr, [c("div", null, [c("h4", null, [c("span", null, i(l(Ne)?.name), 1)]), (v(!0), T(P, null, n(l(te), (e, t) => (v(), T("table", {
7315
+ key: t,
7316
+ class: "konnectio-table with-lines without-header"
7317
+ }, [c("thead", null, [c("tr", null, [
7318
+ c("th", null, [c("span", null, i(l(fe)(l(Me).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), l(te).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (v(), T("span", br, "(" + i(l(a)("booking.reservation.room")) + " " + i(l(te).slice(0, t + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : p("", !0)]),
7319
+ p("", !0),
7320
+ f[24] ||= c("th", { class: "konnectio-event-addons-price" }, null, -1)
7321
+ ])]), c("tbody", null, [(v(!0), T(P, null, n(l(Vt)(l(Me).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: a, name: u, price: f, description: m, image: h }) => (v(), T("tr", { key: a }, [c("td", { class: s(["konnectio-table-addons-information", { "has-image": h }]) }, [h ? (v(), T("div", xr, [d(l(vt), {
7322
+ src: h,
7323
+ "zoom-scale": 1
7324
+ }, null, 8, ["src"])])) : p("", !0), c("div", null, [
7325
+ c("b", null, i(l(fe)(u)), 1),
7326
+ c("span", null, i(l(I)(f, l(gt))) + " " + i(l(ce)(n)), 1),
7327
+ m ? (v(), T("p", {
7328
+ key: 0,
7329
+ innerHTML: l(he)(m)
7330
+ }, null, 8, Sr)) : p("", !0)
7331
+ ])], 2), c("td", Cr, [t === l(De).Mandatory ? (v(), o(Oe, {
7283
7332
  key: 0,
7284
- innerHTML: l(ge)(m)
7285
- }, null, 8, br)) : p("", !0)
7286
- ])], 2), c("td", xr, [t === l(ke).Mandatory ? (v(), o(Ae, {
7287
- key: 0,
7288
- "model-value": 1,
7289
- small: !0,
7290
- "min-value": 1,
7291
- "max-value": 1,
7292
- readonly: ""
7293
- })) : (v(), o(Ae, {
7294
- key: 1,
7295
- modelValue: l(_)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
7296
- "onUpdate:modelValue": (t) => l(_)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
7297
- small: !0,
7298
- "min-value": 0,
7299
- "max-value": r || Infinity
7300
- }, null, 8, [
7301
- "modelValue",
7302
- "onUpdate:modelValue",
7303
- "max-value"
7304
- ]))])]))), 128))])]))), 128))])])) : p("", !0)])
7305
- ])]),
7306
- navigation: b(() => [d(z, {
7307
- label: l(a)("general.startReservation"),
7308
- "full-width": "",
7309
- onClickEvent: (t) => Qt(e)
7310
- }, null, 8, ["label", "onClickEvent"])]),
7311
- _: 2
7312
- }, 1032, ["prev-callback"])) : p("", !0)]),
7313
- reservation: b(({ next: t, prev: n, reset: r }) => [l(Ee) ? (v(), o(Lt, {
7314
- key: 0,
7315
- "prev-callback": () => $t(n),
7316
- "show-terms-notice": !0,
7317
- "show-gift-card": !0
7318
- }, {
7319
- form: b(() => [c("form", Sr, [
7320
- c("h2", null, [c("span", null, i(l(a)("booking.reservation.detailsTitle")), 1)]),
7321
- l(a)("hotel.reservationTopNotice") && l(a)("hotel.reservationTopNotice") !== "<br>" ? (v(), T("div", Cr, [c("p", {
7322
- innerHTML: l(a)("hotel.reservationTopNotice"),
7323
- class: "konnectio-wysiwyg"
7324
- }, null, 8, wr)])) : p("", !0),
7325
- l(Et)(l(u)) && l(Dt)(l(u)) && l(Ot)(l(u)) ? (v(), T("ul", {
7326
- key: 1,
7327
- class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": l(Dt)(l(u)) && l(Ot)(l(u)) }])
7328
- }, [l(Dt)(l(u)) ? (v(), T("li", Tr, [d(bn, {
7329
- modelValue: l(ae),
7330
- "onUpdate:modelValue": f[3] ||= (e) => C(ae) ? ae.value = e : null,
7331
- label: l(a)("booking.reservation.arrivalTime"),
7332
- icon: "hourglass-start",
7333
- "min-time": l(q)(l(u)),
7334
- "max-time": l(kt)(l(u)),
7335
- required: ""
7336
- }, null, 8, [
7337
- "modelValue",
7338
- "label",
7339
- "min-time",
7340
- "max-time"
7341
- ])])) : p("", !0), l(Ot)(l(u)) ? (v(), T("li", Er, [d(bn, {
7342
- modelValue: l(E),
7343
- "onUpdate:modelValue": f[4] ||= (e) => C(E) ? E.value = e : null,
7344
- label: l(a)("booking.reservation.departureTime"),
7345
- icon: "hourglass-end",
7346
- "min-time": l(At)(l(u)),
7347
- "max-time": l(jt)(l(u)),
7348
- required: ""
7349
- }, null, 8, [
7350
- "modelValue",
7351
- "label",
7352
- "min-time",
7353
- "max-time"
7354
- ])])) : p("", !0)], 2)) : p("", !0),
7355
- d(Cn, {
7356
- modelValue: l(oe),
7357
- "onUpdate:modelValue": f[5] ||= (e) => C(oe) ? oe.value = e : null,
7358
- title: l(O),
7359
- "onUpdate:title": f[6] ||= (e) => C(O) ? O.value = e : null,
7360
- "exclude-title": l(vt),
7361
- label: l(a)("booking.reservation.name"),
7362
- icon: "user-alt",
7363
- placeholder: l(a)("booking.reservation.namePlaceholder"),
7364
- required: ""
7365
- }, null, 8, [
7366
- "modelValue",
7367
- "title",
7368
- "exclude-title",
7369
- "label",
7370
- "placeholder"
7371
- ]),
7372
- d(Oe, {
7373
- modelValue: l(k),
7374
- "onUpdate:modelValue": f[7] ||= (e) => C(k) ? k.value = e : null,
7375
- type: "email",
7376
- name: "email",
7377
- autocomplete: "email",
7378
- inputmode: "email",
7379
- label: l(a)("booking.reservation.email"),
7380
- icon: "at",
7381
- placeholder: l(a)("booking.reservation.emailPlaceholder"),
7382
- required: ""
7383
- }, null, 8, [
7384
- "modelValue",
7385
- "label",
7386
- "placeholder"
7387
- ]),
7388
- l(wt) ? p("", !0) : (v(), T("div", Dr, [d(Ye, {
7389
- modelValue: l(Le),
7390
- "onUpdate:modelValue": f[8] ||= (e) => C(Le) ? Le.value = e : null,
7391
- type: "checkbox",
7392
- name: "newsletter",
7393
- label: l(a)("booking.reservation.newsletterSignUp")
7394
- }, null, 8, ["modelValue", "label"])])),
7395
- l(bt) ? p("", !0) : (v(), o(Oe, {
7396
- key: 3,
7397
- modelValue: l(j),
7398
- "onUpdate:modelValue": f[9] ||= (e) => C(j) ? j.value = e : null,
7399
- type: "text",
7400
- name: "firm",
7401
- autocomplete: "firm",
7402
- label: l(a)("booking.reservation.companyName"),
7403
- icon: "id-card",
7404
- placeholder: l(a)("booking.reservation.companyNamePlaceholder")
7405
- }, null, 8, [
7406
- "modelValue",
7407
- "label",
7408
- "placeholder"
7409
- ])),
7410
- d(V, {
7411
- modelValue: l(A),
7412
- "onUpdate:modelValue": f[10] ||= (e) => C(A) ? A.value = e : null,
7413
- icon: "phone-office",
7414
- label: l(a)("booking.reservation.phone"),
7415
- placeholder: l(a)("booking.reservation.phonePlaceholder"),
7416
- required: ""
7417
- }, null, 8, [
7418
- "modelValue",
7419
- "label",
7420
- "placeholder"
7421
- ]),
7422
- d(Sn, {
7423
- modelValue: l(ce),
7424
- "onUpdate:modelValue": f[11] ||= (e) => C(ce) ? ce.value = e : null,
7425
- label: l(a)("booking.reservation.country"),
7426
- placeholder: l(a)("booking.reservation.countryPlaceholder"),
7427
- options: l(ne),
7428
- required: ""
7429
- }, null, 8, [
7430
- "modelValue",
7431
- "label",
7432
- "placeholder",
7433
- "options"
7434
- ]),
7435
- d(Oe, {
7436
- modelValue: l(se),
7437
- "onUpdate:modelValue": f[12] ||= (e) => C(se) ? se.value = e : null,
7438
- type: "textarea",
7439
- name: "address",
7440
- autocomplete: "street-address",
7441
- label: l(a)("booking.reservation.streetAddress"),
7442
- icon: "map-marked",
7443
- placeholder: l(a)("booking.reservation.streetAddressPlaceholder"),
7444
- required: ""
7445
- }, null, 8, [
7446
- "modelValue",
7447
- "label",
7448
- "placeholder"
7449
- ]),
7450
- c("ul", Or, [c("li", null, [d(Oe, {
7451
- modelValue: l(M),
7452
- "onUpdate:modelValue": f[13] ||= (e) => C(M) ? M.value = e : null,
7453
- type: "text",
7454
- name: "postal",
7455
- autocomplete: "postal-code",
7456
- label: l(a)("booking.reservation.postal"),
7457
- icon: "mailbox",
7458
- placeholder: l(a)("booking.reservation.postalPlaceholder"),
7459
- required: ""
7460
- }, null, 8, [
7461
- "modelValue",
7462
- "label",
7463
- "placeholder"
7464
- ])]), c("li", null, [d(Oe, {
7465
- modelValue: l(P),
7466
- "onUpdate:modelValue": f[14] ||= (e) => C(P) ? P.value = e : null,
7467
- type: "text",
7468
- name: "city",
7469
- autocomplete: "address-level2",
7470
- label: l(a)("booking.reservation.city"),
7471
- icon: "city",
7472
- placeholder: l(a)("booking.reservation.cityPlaceholder"),
7473
- required: ""
7474
- }, null, 8, [
7475
- "modelValue",
7476
- "label",
7477
- "placeholder"
7478
- ])])]),
7479
- e.hideRemarks === "yes" ? p("", !0) : (v(), o(Oe, {
7480
- key: 4,
7481
- modelValue: l(ve),
7482
- "onUpdate:modelValue": f[15] ||= (e) => C(ve) ? ve.value = e : null,
7483
- type: "textarea",
7484
- label: l(a)("booking.reservation.remark"),
7485
- icon: "info-circle",
7486
- placeholder: l(a)("booking.reservation.remarkPlaceholder")
7487
- }, null, 8, [
7488
- "modelValue",
7489
- "label",
7490
- "placeholder"
7491
- ])),
7492
- e.hideAllergies === "yes" ? p("", !0) : (v(), o(Oe, {
7493
- key: 5,
7494
- modelValue: l(xe),
7495
- "onUpdate:modelValue": f[16] ||= (e) => C(xe) ? xe.value = e : null,
7496
- type: "textarea",
7497
- label: l(a)("booking.reservation.allergies"),
7498
- icon: "allergies",
7499
- placeholder: l(a)("booking.reservation.allergiesPlaceholder")
7500
- }, null, 8, [
7501
- "modelValue",
7502
- "label",
7503
- "placeholder"
7504
- ])),
7505
- l(H) ? p("", !0) : (v(), o(Ve, {
7506
- key: 6,
7507
- modelValue: l(w),
7508
- "onUpdate:modelValue": f[17] ||= (e) => C(w) ? w.value = e : null,
7509
- label: l(a)("booking.reservation.purposeOfStay"),
7510
- name: "travelingFor",
7511
- checkboxes: X.value
7512
- }, null, 8, [
7513
- "modelValue",
7514
- "label",
7515
- "checkboxes"
7516
- ])),
7517
- l($e) ? (v(), T(F, { key: 7 }, [c("h3", null, [c("span", null, i(l(a)("hotel.memberCards.title")), 1)]), l(it) ? (v(), T("div", kr, [c("img", { src: l(at)?.iconUrl }, null, 8, Ar), c("ul", jr, [
7518
- c("li", null, [c("span", null, i(l(a)("hotel.memberCards.selectedCard", { cardName: l(at)?.shortDescription })), 1)]),
7519
- c("li", null, [c("span", null, i(l(a)("hotel.memberCards.cardNumber")) + ": " + i(l(it).cardNumber), 1)]),
7520
- l(it).controlNr ? (v(), T("li", Mr, [c("span", null, i(l(a)("hotel.memberCards.controlNumber")) + ": " + i(l(it).controlNr), 1)])) : p("", !0)
7521
- ])])) : (v(), T(F, { key: 1 }, [d(Ve, {
7522
- modelValue: l(tt),
7523
- "onUpdate:modelValue": f[18] ||= (e) => C(tt) ? tt.value = e : null,
7524
- label: l(a)("hotel.memberCards.selectCard"),
7525
- name: "memberCard",
7526
- checkboxes: l(et)
7527
- }, null, 8, [
7528
- "modelValue",
7529
- "label",
7530
- "checkboxes"
7531
- ]), l(tt) ? (v(), T("form", Nr, [
7532
- d(Oe, {
7533
- modelValue: l(rt),
7534
- "onUpdate:modelValue": f[19] ||= (e) => C(rt) ? rt.value = e : null,
7535
- type: "number",
7536
- label: l(a)("hotel.memberCards.cardNumber"),
7537
- icon: "credit-card",
7538
- placeholder: l(a)("hotel.memberCards.cardNumberPlaceholder"),
7333
+ "model-value": 1,
7334
+ small: !0,
7335
+ "min-value": 1,
7336
+ "max-value": 1,
7337
+ readonly: ""
7338
+ })) : (v(), o(Oe, {
7339
+ key: 1,
7340
+ modelValue: l(_)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
7341
+ "onUpdate:modelValue": (t) => l(_)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
7342
+ small: !0,
7343
+ "min-value": 0,
7344
+ "max-value": r || Infinity
7345
+ }, null, 8, [
7346
+ "modelValue",
7347
+ "onUpdate:modelValue",
7348
+ "max-value"
7349
+ ]))])]))), 128))])]))), 128))])])) : p("", !0)])
7350
+ ])]),
7351
+ navigation: b(() => [d(je, {
7352
+ label: l(a)("general.startReservation"),
7353
+ "full-width": "",
7354
+ onClickEvent: (t) => $t(e)
7355
+ }, null, 8, ["label", "onClickEvent"])]),
7356
+ _: 2
7357
+ }, 1032, ["prev-callback"])) : p("", !0)]),
7358
+ reservation: b(({ next: t, prev: n, reset: r }) => [l(ke) ? (v(), o(It, {
7359
+ key: 0,
7360
+ "prev-callback": () => en(n),
7361
+ "show-terms-notice": !0,
7362
+ "show-gift-card": !0
7363
+ }, {
7364
+ form: b(() => [c("form", wr, [
7365
+ c("h2", null, [c("span", null, i(l(a)("booking.reservation.detailsTitle")), 1)]),
7366
+ l(a)("hotel.reservationTopNotice") && l(a)("hotel.reservationTopNotice") !== "<br>" ? (v(), T("div", Tr, [c("p", {
7367
+ innerHTML: l(a)("hotel.reservationTopNotice"),
7368
+ class: "konnectio-wysiwyg"
7369
+ }, null, 8, Er)])) : p("", !0),
7370
+ l(Et)(l(u)) && l(Dt)(l(u)) && l(Ot)(l(u)) ? (v(), T("ul", {
7371
+ key: 1,
7372
+ class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": l(Dt)(l(u)) && l(Ot)(l(u)) }])
7373
+ }, [l(Dt)(l(u)) ? (v(), T("li", Dr, [d(Sn, {
7374
+ modelValue: l(ae),
7375
+ "onUpdate:modelValue": f[3] ||= (e) => C(ae) ? ae.value = e : null,
7376
+ label: l(a)("booking.reservation.arrivalTime"),
7377
+ icon: "hourglass-start",
7378
+ "min-time": l(q)(l(u)),
7379
+ "max-time": l(kt)(l(u)),
7380
+ required: ""
7381
+ }, null, 8, [
7382
+ "modelValue",
7383
+ "label",
7384
+ "min-time",
7385
+ "max-time"
7386
+ ])])) : p("", !0), l(Ot)(l(u)) ? (v(), T("li", Or, [d(Sn, {
7387
+ modelValue: l(E),
7388
+ "onUpdate:modelValue": f[4] ||= (e) => C(E) ? E.value = e : null,
7389
+ label: l(a)("booking.reservation.departureTime"),
7390
+ icon: "hourglass-end",
7391
+ "min-time": l(At)(l(u)),
7392
+ "max-time": l(jt)(l(u)),
7393
+ required: ""
7394
+ }, null, 8, [
7395
+ "modelValue",
7396
+ "label",
7397
+ "min-time",
7398
+ "max-time"
7399
+ ])])) : p("", !0)], 2)) : p("", !0),
7400
+ d(Tn, {
7401
+ modelValue: l(oe),
7402
+ "onUpdate:modelValue": f[5] ||= (e) => C(oe) ? oe.value = e : null,
7403
+ title: l(O),
7404
+ "onUpdate:title": f[6] ||= (e) => C(O) ? O.value = e : null,
7405
+ "exclude-title": l(yt),
7406
+ label: l(a)("booking.reservation.name"),
7407
+ icon: "user-alt",
7408
+ placeholder: l(a)("booking.reservation.namePlaceholder"),
7539
7409
  required: ""
7540
7410
  }, null, 8, [
7541
7411
  "modelValue",
7412
+ "title",
7413
+ "exclude-title",
7542
7414
  "label",
7543
7415
  "placeholder"
7544
7416
  ]),
7545
- l(tt) === l(Me).FirmaCard ? (v(), o(Oe, {
7546
- key: 0,
7547
- modelValue: l(nt),
7548
- "onUpdate:modelValue": f[20] ||= (e) => C(nt) ? nt.value = e : null,
7417
+ d(Ee, {
7418
+ modelValue: l(k),
7419
+ "onUpdate:modelValue": f[7] ||= (e) => C(k) ? k.value = e : null,
7420
+ type: "email",
7421
+ name: "email",
7422
+ autocomplete: "email",
7423
+ inputmode: "email",
7424
+ label: l(a)("booking.reservation.email"),
7425
+ icon: "at",
7426
+ placeholder: l(a)("booking.reservation.emailPlaceholder"),
7427
+ required: ""
7428
+ }, null, 8, [
7429
+ "modelValue",
7430
+ "label",
7431
+ "placeholder"
7432
+ ]),
7433
+ l(wt) ? p("", !0) : (v(), T("div", kr, [d(V, {
7434
+ modelValue: l(Ve),
7435
+ "onUpdate:modelValue": f[8] ||= (e) => C(Ve) ? Ve.value = e : null,
7436
+ type: "checkbox",
7437
+ name: "newsletter",
7438
+ label: l(a)("booking.reservation.newsletterSignUp")
7439
+ }, null, 8, ["modelValue", "label"])])),
7440
+ l(bt) ? p("", !0) : (v(), o(Ee, {
7441
+ key: 3,
7442
+ modelValue: l(j),
7443
+ "onUpdate:modelValue": f[9] ||= (e) => C(j) ? j.value = e : null,
7549
7444
  type: "text",
7550
- label: l(a)("hotel.memberCards.cardControlNumber"),
7445
+ name: "firm",
7446
+ autocomplete: "firm",
7447
+ label: l(a)("booking.reservation.companyName"),
7551
7448
  icon: "id-card",
7552
- placeholder: l(a)("hotel.memberCards.cardControlNumberPlaceholder"),
7449
+ placeholder: l(a)("booking.reservation.companyNamePlaceholder")
7450
+ }, null, 8, [
7451
+ "modelValue",
7452
+ "label",
7453
+ "placeholder"
7454
+ ])),
7455
+ d(Je, {
7456
+ modelValue: l(A),
7457
+ "onUpdate:modelValue": f[10] ||= (e) => C(A) ? A.value = e : null,
7458
+ icon: "phone-office",
7459
+ label: l(a)("booking.reservation.phone"),
7460
+ placeholder: l(a)("booking.reservation.phonePlaceholder"),
7553
7461
  required: ""
7554
7462
  }, null, 8, [
7555
7463
  "modelValue",
7556
7464
  "label",
7557
7465
  "placeholder"
7558
- ])) : p("", !0),
7559
- l(tt) === l(Me).DaneAge ? (v(), o(Oe, {
7560
- key: 1,
7561
- modelValue: l(M),
7562
- "onUpdate:modelValue": f[21] ||= (e) => C(M) ? M.value = e : null,
7466
+ ]),
7467
+ d(wn, {
7468
+ modelValue: l(ge),
7469
+ "onUpdate:modelValue": f[11] ||= (e) => C(ge) ? ge.value = e : null,
7470
+ label: l(a)("booking.reservation.country"),
7471
+ placeholder: l(a)("booking.reservation.countryPlaceholder"),
7472
+ options: l(ne),
7473
+ required: ""
7474
+ }, null, 8, [
7475
+ "modelValue",
7476
+ "label",
7477
+ "placeholder",
7478
+ "options"
7479
+ ]),
7480
+ d(Ee, {
7481
+ modelValue: l(se),
7482
+ "onUpdate:modelValue": f[12] ||= (e) => C(se) ? se.value = e : null,
7483
+ type: "textarea",
7484
+ name: "address",
7485
+ autocomplete: "street-address",
7486
+ label: l(a)("booking.reservation.streetAddress"),
7487
+ icon: "map-marked",
7488
+ placeholder: l(a)("booking.reservation.streetAddressPlaceholder"),
7489
+ required: ""
7490
+ }, null, 8, [
7491
+ "modelValue",
7492
+ "label",
7493
+ "placeholder"
7494
+ ]),
7495
+ c("ul", Ar, [c("li", null, [d(Ee, {
7496
+ modelValue: l(N),
7497
+ "onUpdate:modelValue": f[13] ||= (e) => C(N) ? N.value = e : null,
7563
7498
  type: "text",
7564
7499
  name: "postal",
7565
7500
  autocomplete: "postal-code",
@@ -7571,80 +7506,191 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7571
7506
  "modelValue",
7572
7507
  "label",
7573
7508
  "placeholder"
7574
- ])) : p("", !0),
7575
- d(z, {
7576
- label: l(a)("hotel.memberCards.validateAndSelectCard"),
7577
- "full-width": "",
7578
- onClickEvent: l(Y)
7579
- }, null, 8, ["label", "onClickEvent"])
7580
- ])) : p("", !0)], 64))], 64)) : p("", !0)
7581
- ])]),
7582
- navigation: b(() => [c("div", null, [d(z, {
7583
- label: l(xt) ? l(a)("booking.reservation.nextButton") : l(a)("general.confirmReservation"),
7584
- disabled: !l(x),
7585
- "is-loading": l(re),
7586
- "full-width": "",
7587
- onClickEvent: (e) => en(t, r)
7588
- }, null, 8, [
7589
- "label",
7590
- "disabled",
7591
- "is-loading",
7592
- "onClickEvent"
7593
- ])])]),
7594
- _: 2
7595
- }, 1032, ["prev-callback"])) : p("", !0)]),
7596
- payment: b(({ prev: e }) => [d(Xe), p("", !0)]),
7597
- confirmation: b(() => [d(Re, { message: l(a)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
7598
- _: 1
7599
- }, 8, [
7600
- "layout",
7601
- "steps",
7602
- "onReset"
7603
- ]), [[ee, e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && l(Ke)]])]),
7509
+ ])]), c("li", null, [d(Ee, {
7510
+ modelValue: l(F),
7511
+ "onUpdate:modelValue": f[14] ||= (e) => C(F) ? F.value = e : null,
7512
+ type: "text",
7513
+ name: "city",
7514
+ autocomplete: "address-level2",
7515
+ label: l(a)("booking.reservation.city"),
7516
+ icon: "city",
7517
+ placeholder: l(a)("booking.reservation.cityPlaceholder"),
7518
+ required: ""
7519
+ }, null, 8, [
7520
+ "modelValue",
7521
+ "label",
7522
+ "placeholder"
7523
+ ])])]),
7524
+ e.hideRemarks === "yes" ? p("", !0) : (v(), o(Ee, {
7525
+ key: 4,
7526
+ modelValue: l(ye),
7527
+ "onUpdate:modelValue": f[15] ||= (e) => C(ye) ? ye.value = e : null,
7528
+ type: "textarea",
7529
+ label: l(a)("booking.reservation.remark"),
7530
+ icon: "info-circle",
7531
+ placeholder: l(a)("booking.reservation.remarkPlaceholder")
7532
+ }, null, 8, [
7533
+ "modelValue",
7534
+ "label",
7535
+ "placeholder"
7536
+ ])),
7537
+ e.hideAllergies === "yes" ? p("", !0) : (v(), o(Ee, {
7538
+ key: 5,
7539
+ modelValue: l(R),
7540
+ "onUpdate:modelValue": f[16] ||= (e) => C(R) ? R.value = e : null,
7541
+ type: "textarea",
7542
+ label: l(a)("booking.reservation.allergies"),
7543
+ icon: "allergies",
7544
+ placeholder: l(a)("booking.reservation.allergiesPlaceholder")
7545
+ }, null, 8, [
7546
+ "modelValue",
7547
+ "label",
7548
+ "placeholder"
7549
+ ])),
7550
+ l(H) ? p("", !0) : (v(), o(Be, {
7551
+ key: 6,
7552
+ modelValue: l(w),
7553
+ "onUpdate:modelValue": f[17] ||= (e) => C(w) ? w.value = e : null,
7554
+ label: l(a)("booking.reservation.purposeOfStay"),
7555
+ name: "travelingFor",
7556
+ checkboxes: Yt.value
7557
+ }, null, 8, [
7558
+ "modelValue",
7559
+ "label",
7560
+ "checkboxes"
7561
+ ])),
7562
+ l($e) ? (v(), T(P, { key: 7 }, [c("h3", null, [c("span", null, i(l(a)("hotel.memberCards.title")), 1)]), l(it) ? (v(), T("div", jr, [c("img", { src: l(at)?.iconUrl }, null, 8, Mr), c("ul", Nr, [
7563
+ c("li", null, [c("span", null, i(l(a)("hotel.memberCards.selectedCard", { cardName: l(at)?.shortDescription })), 1)]),
7564
+ c("li", null, [c("span", null, i(l(a)("hotel.memberCards.cardNumber")) + ": " + i(l(it).cardNumber), 1)]),
7565
+ l(it).controlNr ? (v(), T("li", Pr, [c("span", null, i(l(a)("hotel.memberCards.controlNumber")) + ": " + i(l(it).controlNr), 1)])) : p("", !0)
7566
+ ])])) : (v(), T(P, { key: 1 }, [d(Be, {
7567
+ modelValue: l(tt),
7568
+ "onUpdate:modelValue": f[18] ||= (e) => C(tt) ? tt.value = e : null,
7569
+ label: l(a)("hotel.memberCards.selectCard"),
7570
+ name: "memberCard",
7571
+ checkboxes: l(et)
7572
+ }, null, 8, [
7573
+ "modelValue",
7574
+ "label",
7575
+ "checkboxes"
7576
+ ]), l(tt) ? (v(), T("form", Fr, [
7577
+ d(Ee, {
7578
+ modelValue: l(rt),
7579
+ "onUpdate:modelValue": f[19] ||= (e) => C(rt) ? rt.value = e : null,
7580
+ type: "number",
7581
+ label: l(a)("hotel.memberCards.cardNumber"),
7582
+ icon: "credit-card",
7583
+ placeholder: l(a)("hotel.memberCards.cardNumberPlaceholder"),
7584
+ required: ""
7585
+ }, null, 8, [
7586
+ "modelValue",
7587
+ "label",
7588
+ "placeholder"
7589
+ ]),
7590
+ l(tt) === l(Ae).FirmaCard ? (v(), o(Ee, {
7591
+ key: 0,
7592
+ modelValue: l(nt),
7593
+ "onUpdate:modelValue": f[20] ||= (e) => C(nt) ? nt.value = e : null,
7594
+ type: "text",
7595
+ label: l(a)("hotel.memberCards.cardControlNumber"),
7596
+ icon: "id-card",
7597
+ placeholder: l(a)("hotel.memberCards.cardControlNumberPlaceholder"),
7598
+ required: ""
7599
+ }, null, 8, [
7600
+ "modelValue",
7601
+ "label",
7602
+ "placeholder"
7603
+ ])) : p("", !0),
7604
+ l(tt) === l(Ae).DaneAge ? (v(), o(Ee, {
7605
+ key: 1,
7606
+ modelValue: l(N),
7607
+ "onUpdate:modelValue": f[21] ||= (e) => C(N) ? N.value = e : null,
7608
+ type: "text",
7609
+ name: "postal",
7610
+ autocomplete: "postal-code",
7611
+ label: l(a)("booking.reservation.postal"),
7612
+ icon: "mailbox",
7613
+ placeholder: l(a)("booking.reservation.postalPlaceholder"),
7614
+ required: ""
7615
+ }, null, 8, [
7616
+ "modelValue",
7617
+ "label",
7618
+ "placeholder"
7619
+ ])) : p("", !0),
7620
+ d(je, {
7621
+ label: l(a)("hotel.memberCards.validateAndSelectCard"),
7622
+ "full-width": "",
7623
+ onClickEvent: l(Wt)
7624
+ }, null, 8, ["label", "onClickEvent"])
7625
+ ])) : p("", !0)], 64))], 64)) : p("", !0)
7626
+ ])]),
7627
+ navigation: b(() => [c("div", null, [d(je, {
7628
+ label: l(xt) ? l(a)("booking.reservation.nextButton") : l(a)("general.confirmReservation"),
7629
+ disabled: !l(x),
7630
+ "is-loading": l(re),
7631
+ "full-width": "",
7632
+ onClickEvent: (e) => tn(t, r)
7633
+ }, null, 8, [
7634
+ "label",
7635
+ "disabled",
7636
+ "is-loading",
7637
+ "onClickEvent"
7638
+ ])])]),
7639
+ _: 2
7640
+ }, 1032, ["prev-callback"])) : p("", !0)]),
7641
+ payment: b(({ prev: e }) => [d(Ye), p("", !0)]),
7642
+ confirmation: b(() => [d(Le, { message: l(a)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
7643
+ _: 1
7644
+ }, 8, [
7645
+ "layout",
7646
+ "steps",
7647
+ "onReset"
7648
+ ]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && l(Ke)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && l(qe))]])
7649
+ ]),
7604
7650
  _: 1
7605
7651
  }, 8, ["access-token", "callback"])]),
7606
- fallback: b(() => [d(Dn)]),
7652
+ fallback: b(() => [d(kn)]),
7607
7653
  _: 1
7608
7654
  }))]),
7609
7655
  _: 1
7610
7656
  }, 8, ["styling"]));
7611
7657
  }
7612
- }), [["__scopeId", "data-v-ca58f4e6"]]);
7658
+ }), [["__scopeId", "data-v-4e0c91b3"]]);
7613
7659
  //#endregion
7614
7660
  //#region node_modules/unhead/node_modules/hookable/dist/index.mjs
7615
- function Fr(e, t = {}, n) {
7661
+ function Lr(e, t = {}, n) {
7616
7662
  for (let r in e) {
7617
7663
  let i = e[r], a = n ? `${n}:${r}` : r;
7618
- typeof i == "object" && i ? Fr(i, t, a) : typeof i == "function" && (t[a] = i);
7664
+ typeof i == "object" && i ? Lr(i, t, a) : typeof i == "function" && (t[a] = i);
7619
7665
  }
7620
7666
  return t;
7621
7667
  }
7622
- var Ir = /* @__PURE__ */ (() => {
7668
+ var Rr = /* @__PURE__ */ (() => {
7623
7669
  if (console.createTask) return console.createTask;
7624
7670
  let e = { run: (e) => e() };
7625
7671
  return () => e;
7626
7672
  })();
7627
- function Lr(e, t, n, r) {
7673
+ function zr(e, t, n, r) {
7628
7674
  for (let i = n; i < e.length; i += 1) try {
7629
7675
  let n = r ? r.run(() => e[i](...t)) : e[i](...t);
7630
- if (n && typeof n.then == "function") return Promise.resolve(n).then(() => Lr(e, t, i + 1, r));
7676
+ if (n && typeof n.then == "function") return Promise.resolve(n).then(() => zr(e, t, i + 1, r));
7631
7677
  } catch (e) {
7632
7678
  return Promise.reject(e);
7633
7679
  }
7634
7680
  }
7635
- function Rr(e, t, n) {
7636
- if (e.length > 0) return Lr(e, t, 0, Ir(n));
7681
+ function Br(e, t, n) {
7682
+ if (e.length > 0) return zr(e, t, 0, Rr(n));
7637
7683
  }
7638
- function zr(e, t, n) {
7684
+ function Vr(e, t, n) {
7639
7685
  if (e.length > 0) {
7640
- let r = Ir(n);
7686
+ let r = Rr(n);
7641
7687
  return Promise.all(e.map((e) => r.run(() => e(...t))));
7642
7688
  }
7643
7689
  }
7644
- function Br(e, t) {
7690
+ function Hr(e, t) {
7645
7691
  for (let n of [...e]) n(t);
7646
7692
  }
7647
- var Vr = class {
7693
+ var Ur = class {
7648
7694
  _hooks;
7649
7695
  _before;
7650
7696
  _after;
@@ -7695,24 +7741,24 @@ var Vr = class {
7695
7741
  for (let t in e) this.deprecateHook(t, e[t]);
7696
7742
  }
7697
7743
  addHooks(e) {
7698
- let t = Fr(e), n = Object.keys(t).map((e) => this.hook(e, t[e]));
7744
+ let t = Lr(e), n = Object.keys(t).map((e) => this.hook(e, t[e]));
7699
7745
  return () => {
7700
7746
  for (let e of n) e();
7701
7747
  n.length = 0;
7702
7748
  };
7703
7749
  }
7704
7750
  removeHooks(e) {
7705
- let t = Fr(e);
7751
+ let t = Lr(e);
7706
7752
  for (let e in t) this.removeHook(e, t[e]);
7707
7753
  }
7708
7754
  removeAllHooks() {
7709
7755
  this._hooks = {};
7710
7756
  }
7711
7757
  callHook(e, ...t) {
7712
- return this.callHookWith(Rr, e, t);
7758
+ return this.callHookWith(Br, e, t);
7713
7759
  }
7714
7760
  callHookParallel(e, ...t) {
7715
- return this.callHookWith(zr, e, t);
7761
+ return this.callHookWith(Vr, e, t);
7716
7762
  }
7717
7763
  callHookWith(e, t, n) {
7718
7764
  let r = this._before || this._after ? {
@@ -7720,11 +7766,11 @@ var Vr = class {
7720
7766
  args: n,
7721
7767
  context: {}
7722
7768
  } : void 0;
7723
- this._before && Br(this._before, r);
7769
+ this._before && Hr(this._before, r);
7724
7770
  let i = e(this._hooks[t] ? [...this._hooks[t]] : [], n, t);
7725
7771
  return i instanceof Promise ? i.finally(() => {
7726
- this._after && r && Br(this._after, r);
7727
- }) : (this._after && r && Br(this._after, r), i);
7772
+ this._after && r && Hr(this._after, r);
7773
+ }) : (this._after && r && Hr(this._after, r), i);
7728
7774
  }
7729
7775
  beforeEach(e) {
7730
7776
  return this._before = this._before || [], this._before.push(e), () => {
@@ -7743,30 +7789,30 @@ var Vr = class {
7743
7789
  };
7744
7790
  }
7745
7791
  };
7746
- function Hr() {
7747
- return new Vr();
7792
+ function Wr() {
7793
+ return new Ur();
7748
7794
  }
7749
7795
  //#endregion
7750
7796
  //#region node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs
7751
- var Ur = /* @__PURE__ */ new Set([
7797
+ var Gr = /* @__PURE__ */ new Set([
7752
7798
  "link",
7753
7799
  "style",
7754
7800
  "script",
7755
7801
  "noscript"
7756
- ]), Wr = /* @__PURE__ */ new Set([
7802
+ ]), Kr = /* @__PURE__ */ new Set([
7757
7803
  "title",
7758
7804
  "titleTemplate",
7759
7805
  "script",
7760
7806
  "style",
7761
7807
  "noscript"
7762
- ]), Gr = /* @__PURE__ */ new Set([
7808
+ ]), qr = /* @__PURE__ */ new Set([
7763
7809
  "base",
7764
7810
  "meta",
7765
7811
  "link",
7766
7812
  "style",
7767
7813
  "script",
7768
7814
  "noscript"
7769
- ]), Kr = /* @__PURE__ */ new Set([
7815
+ ]), Jr = /* @__PURE__ */ new Set([
7770
7816
  "title",
7771
7817
  "base",
7772
7818
  "htmlAttrs",
@@ -7776,14 +7822,14 @@ var Ur = /* @__PURE__ */ new Set([
7776
7822
  "style",
7777
7823
  "script",
7778
7824
  "noscript"
7779
- ]), qr = /* @__PURE__ */ new Set([
7825
+ ]), Yr = /* @__PURE__ */ new Set([
7780
7826
  "base",
7781
7827
  "title",
7782
7828
  "titleTemplate",
7783
7829
  "bodyAttrs",
7784
7830
  "htmlAttrs",
7785
7831
  "templateParams"
7786
- ]), Jr = /* @__PURE__ */ new Set([
7832
+ ]), Xr = /* @__PURE__ */ new Set([
7787
7833
  "key",
7788
7834
  "tagPosition",
7789
7835
  "tagPriority",
@@ -7791,11 +7837,11 @@ var Ur = /* @__PURE__ */ new Set([
7791
7837
  "innerHTML",
7792
7838
  "textContent",
7793
7839
  "processTemplateParams"
7794
- ]), Yr = /* @__PURE__ */ new Set([
7840
+ ]), Zr = /* @__PURE__ */ new Set([
7795
7841
  "templateParams",
7796
7842
  "htmlAttrs",
7797
7843
  "bodyAttrs"
7798
- ]), Xr = /* @__PURE__ */ new Set([
7844
+ ]), Qr = /* @__PURE__ */ new Set([
7799
7845
  "theme-color",
7800
7846
  "google-site-verification",
7801
7847
  "og",
@@ -7804,23 +7850,23 @@ var Ur = /* @__PURE__ */ new Set([
7804
7850
  "profile",
7805
7851
  "twitter",
7806
7852
  "author"
7807
- ]), Zr = [
7853
+ ]), $r = [
7808
7854
  "name",
7809
7855
  "property",
7810
7856
  "http-equiv"
7811
- ], Qr = /* @__PURE__ */ new Set([
7857
+ ], ei = /* @__PURE__ */ new Set([
7812
7858
  "viewport",
7813
7859
  "description",
7814
7860
  "keywords",
7815
7861
  "robots"
7816
7862
  ]);
7817
- function $r(e) {
7863
+ function ti(e) {
7818
7864
  let t = e.split(":");
7819
- return t.length ? Xr.has(t[1]) : !1;
7865
+ return t.length ? Qr.has(t[1]) : !1;
7820
7866
  }
7821
- function ei(e) {
7867
+ function ni(e) {
7822
7868
  let { props: t, tag: n } = e;
7823
- if (qr.has(n)) return n;
7869
+ if (Yr.has(n)) return n;
7824
7870
  if (n === "link" && t.rel === "canonical") return "canonical";
7825
7871
  if (n === "link" && t.rel === "alternate") {
7826
7872
  if (t.hreflang) return `alternate:${t.hreflang}`;
@@ -7828,34 +7874,34 @@ function ei(e) {
7828
7874
  }
7829
7875
  if (t.charset) return "charset";
7830
7876
  if (e.tag === "meta") {
7831
- for (let r of Zr) if (t[r] !== void 0) {
7832
- let i = t[r], a = i && typeof i == "string" && i.includes(":"), o = i && Qr.has(i);
7877
+ for (let r of $r) if (t[r] !== void 0) {
7878
+ let i = t[r], a = i && typeof i == "string" && i.includes(":"), o = i && ei.has(i);
7833
7879
  return `${n}:${i}${!(a || o) && e.key ? `:key:${e.key}` : ""}`;
7834
7880
  }
7835
7881
  }
7836
7882
  if (e.key) return `${n}:key:${e.key}`;
7837
7883
  if (t.id) return `${n}:id:${t.id}`;
7838
7884
  if (n === "link" && t.rel === "alternate") return `alternate:${t.href || ""}`;
7839
- if (Wr.has(n)) {
7885
+ if (Kr.has(n)) {
7840
7886
  let t = e.textContent || e.innerHTML;
7841
7887
  if (t) return `${n}:content:${t}`;
7842
7888
  }
7843
7889
  }
7844
- function ti(e) {
7890
+ function ri(e) {
7845
7891
  return e._h || e._d || e.textContent || e.innerHTML || `${e.tag}:${Object.entries(e.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`;
7846
7892
  }
7847
- function ni(e, t, n) {
7893
+ function ii(e, t, n) {
7848
7894
  typeof e == "function" && (!n || n !== "titleTemplate" && !(n[0] === "o" && n[1] === "n")) && (e = e());
7849
7895
  let r = t ? t(n, e) : e;
7850
- if (Array.isArray(r)) return r.map((e) => ni(e, t));
7896
+ if (Array.isArray(r)) return r.map((e) => ii(e, t));
7851
7897
  if (r?.constructor === Object) {
7852
7898
  let e = {};
7853
- for (let n of Object.keys(r)) e[n] = ni(r[n], t, n);
7899
+ for (let n of Object.keys(r)) e[n] = ii(r[n], t, n);
7854
7900
  return e;
7855
7901
  }
7856
7902
  return r;
7857
7903
  }
7858
- function ri(e, t) {
7904
+ function ai(e, t) {
7859
7905
  let n = e === "style" ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set();
7860
7906
  function r(t) {
7861
7907
  if (t == null || t === void 0) return;
@@ -7869,10 +7915,10 @@ function ri(e, t) {
7869
7915
  i && i !== "false" && (e === "style" ? n.set(String(t).trim(), String(i)) : r(t));
7870
7916
  }), n;
7871
7917
  }
7872
- function ii(e, t) {
7918
+ function oi(e, t) {
7873
7919
  if (e.props = e.props || {}, !t) return e;
7874
7920
  if (e.tag === "templateParams") return e.props = t, e;
7875
- let n = Gr.has(e.tag) || e.tag === "htmlAttrs" || e.tag === "bodyAttrs";
7921
+ let n = qr.has(e.tag) || e.tag === "htmlAttrs" || e.tag === "bodyAttrs";
7876
7922
  return Object.entries(t).forEach(([r, i]) => {
7877
7923
  if (r === "__proto__" || r === "constructor" || r === "prototype") return;
7878
7924
  if (i === null) {
@@ -7880,10 +7926,10 @@ function ii(e, t) {
7880
7926
  return;
7881
7927
  }
7882
7928
  if (r === "class" || r === "style") {
7883
- e.props[r] = ri(r, i);
7929
+ e.props[r] = ai(r, i);
7884
7930
  return;
7885
7931
  }
7886
- if (Jr.has(r)) {
7932
+ if (Xr.has(r)) {
7887
7933
  if ((r === "textContent" || r === "innerHTML") && typeof i == "object") {
7888
7934
  let n = t.type;
7889
7935
  if (t.type || (n = "application/json"), !n?.endsWith("json") && n !== "speculationrules") return;
@@ -7895,12 +7941,12 @@ function ii(e, t) {
7895
7941
  s === "true" || s === "" ? e.props[o] = a || c ? s : !0 : !i && a && s === "false" ? e.props[o] = "false" : i !== void 0 && (e.props[o] = i);
7896
7942
  }), e;
7897
7943
  }
7898
- function ai(e, t) {
7899
- let n = ii({
7944
+ function si(e, t) {
7945
+ let n = oi({
7900
7946
  tag: e,
7901
7947
  props: {}
7902
7948
  }, typeof t == "object" && typeof t != "function" ? t : { [e === "script" || e === "noscript" || e === "style" ? "innerHTML" : "textContent"]: t });
7903
- return n.key && Ur.has(n.tag) && (n.props["data-hid"] = n._h = n.key), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((e) => ({
7949
+ return n.key && Gr.has(n.tag) && (n.props["data-hid"] = n._h = n.key), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((e) => ({
7904
7950
  ...n,
7905
7951
  props: {
7906
7952
  ...n.props,
@@ -7908,7 +7954,7 @@ function ai(e, t) {
7908
7954
  }
7909
7955
  })) : n;
7910
7956
  }
7911
- function oi(e, t) {
7957
+ function ci(e, t) {
7912
7958
  if (!e) return [];
7913
7959
  typeof e == "function" && (e = e());
7914
7960
  let n = (e, n) => {
@@ -7917,20 +7963,20 @@ function oi(e, t) {
7917
7963
  };
7918
7964
  e = n(void 0, e);
7919
7965
  let r = [];
7920
- return e = ni(e, n), Object.entries(e || {}).forEach(([e, t]) => {
7921
- if (t !== void 0) for (let n of Array.isArray(t) ? t : [t]) r.push(ai(e, n));
7966
+ return e = ii(e, n), Object.entries(e || {}).forEach(([e, t]) => {
7967
+ if (t !== void 0) for (let n of Array.isArray(t) ? t : [t]) r.push(si(e, n));
7922
7968
  }), r.flat();
7923
7969
  }
7924
7970
  //#endregion
7925
7971
  //#region node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs
7926
- var si = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, ci = {
7972
+ var li = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, ui = {
7927
7973
  base: -10,
7928
7974
  title: 10
7929
- }, li = {
7975
+ }, di = {
7930
7976
  critical: -8,
7931
7977
  high: -1,
7932
7978
  low: 2
7933
- }, ui = {
7979
+ }, fi = {
7934
7980
  meta: {
7935
7981
  "content-security-policy": -30,
7936
7982
  charset: -20,
@@ -7954,34 +8000,34 @@ var si = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, ci = {
7954
8000
  imported: 40,
7955
8001
  sync: 60
7956
8002
  }
7957
- }, di = /@import/, fi = (e) => e === "" || e === !0;
7958
- function pi(e, t) {
8003
+ }, pi = /@import/, mi = (e) => e === "" || e === !0;
8004
+ function hi(e, t) {
7959
8005
  if (typeof t.tagPriority == "number") return t.tagPriority;
7960
- let n = 100, r = li[t.tagPriority] || 0, i = e.resolvedOptions.disableCapoSorting ? {
8006
+ let n = 100, r = di[t.tagPriority] || 0, i = e.resolvedOptions.disableCapoSorting ? {
7961
8007
  link: {},
7962
8008
  script: {},
7963
8009
  style: {}
7964
- } : ui;
7965
- if (t.tag in ci) n = ci[t.tag];
8010
+ } : fi;
8011
+ if (t.tag in ui) n = ui[t.tag];
7966
8012
  else if (t.tag === "meta") {
7967
8013
  let e = t.props["http-equiv"] === "content-security-policy" ? "content-security-policy" : t.props.charset ? "charset" : t.props.name === "viewport" ? "viewport" : null;
7968
- e && (n = ui.meta[e]);
8014
+ e && (n = fi.meta[e]);
7969
8015
  } else if (t.tag === "link" && t.props.rel) n = i.link[t.props.rel];
7970
8016
  else if (t.tag === "script") {
7971
8017
  let e = String(t.props.type);
7972
- fi(t.props.async) ? n = i.script.async : t.props.src && !fi(t.props.defer) && !fi(t.props.async) && e !== "module" && !e.endsWith("json") || t.innerHTML && !e.endsWith("json") ? n = i.script.sync : (fi(t.props.defer) && t.props.src && !fi(t.props.async) || e === "module") && (n = i.script.defer);
7973
- } else t.tag === "style" && (n = t.innerHTML && di.test(t.innerHTML) ? i.style.imported : i.style.sync);
8018
+ mi(t.props.async) ? n = i.script.async : t.props.src && !mi(t.props.defer) && !mi(t.props.async) && e !== "module" && !e.endsWith("json") || t.innerHTML && !e.endsWith("json") ? n = i.script.sync : (mi(t.props.defer) && t.props.src && !mi(t.props.async) || e === "module") && (n = i.script.defer);
8019
+ } else t.tag === "style" && (n = t.innerHTML && pi.test(t.innerHTML) ? i.style.imported : i.style.sync);
7974
8020
  return (n || 100) + r;
7975
8021
  }
7976
8022
  //#endregion
7977
8023
  //#region node_modules/unhead/dist/shared/unhead.CaI5ZD4O.mjs
7978
- function mi(e, t) {
8024
+ function gi(e, t) {
7979
8025
  let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
7980
8026
  e.plugins.get(r) || (e.plugins.set(r, n), e.hooks.addHooks(n.hooks || {}));
7981
8027
  }
7982
- /* @__NO_SIDE_EFFECTS__ */
7983
- function hi(e = {}) {
7984
- let t = Hr();
8028
+ // @__NO_SIDE_EFFECTS__
8029
+ function _i(e = {}) {
8030
+ let t = Wr();
7985
8031
  t.addHooks(e.hooks || {});
7986
8032
  let n = !e.document, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), o = {
7987
8033
  _entryCount: 1,
@@ -7994,7 +8040,7 @@ function hi(e = {}) {
7994
8040
  headEntries() {
7995
8041
  return [...r.values()];
7996
8042
  },
7997
- use: (e) => mi(o, e),
8043
+ use: (e) => gi(o, e),
7998
8044
  push(e, i) {
7999
8045
  let s = { ...i || {} };
8000
8046
  delete s.head;
@@ -8027,27 +8073,27 @@ function hi(e = {}) {
8027
8073
  let i = r.get(n);
8028
8074
  if (i) {
8029
8075
  let n = {
8030
- tags: oi(i.input, e.propResolvers || []).map((e) => Object.assign(e, i.options)),
8076
+ tags: ci(i.input, e.propResolvers || []).map((e) => Object.assign(e, i.options)),
8031
8077
  entry: i
8032
8078
  };
8033
- await t.callHook("entries:normalize", n), i._tags = n.tags.map((e, t) => (e._w = pi(o, e), e._p = (i._i << 10) + t, e._d = ei(e), e._d || (e._h = ti(e)), e));
8079
+ await t.callHook("entries:normalize", n), i._tags = n.tags.map((e, t) => (e._w = hi(o, e), e._p = (i._i << 10) + t, e._d = ni(e), e._d || (e._h = ri(e)), e));
8034
8080
  }
8035
8081
  }
8036
8082
  let i = !1;
8037
8083
  n.entries.flatMap((e) => (e._tags || []).map((e) => ({
8038
8084
  ...e,
8039
8085
  props: { ...e.props }
8040
- }))).sort(si).reduce((e, t) => {
8086
+ }))).sort(li).reduce((e, t) => {
8041
8087
  let n = t._d || t._h;
8042
8088
  if (!e.has(n)) return e.set(n, t);
8043
8089
  let r = e.get(n);
8044
- if ((t?.tagDuplicateStrategy || (Yr.has(t.tag) ? "merge" : null) || (t.key && t.key === r.key ? "merge" : null)) === "merge") {
8090
+ if ((t?.tagDuplicateStrategy || (Zr.has(t.tag) ? "merge" : null) || (t.key && t.key === r.key ? "merge" : null)) === "merge") {
8045
8091
  let i = { ...r.props };
8046
8092
  Object.entries(t.props).forEach(([e, t]) => i[e] = e === "style" ? new Map([...r.props.style || /* @__PURE__ */ new Map(), ...t]) : e === "class" ? /* @__PURE__ */ new Set([...r.props.class || /* @__PURE__ */ new Set(), ...t]) : t), e.set(n, {
8047
8093
  ...t,
8048
8094
  props: i
8049
8095
  });
8050
- } else t._p >> 10 == r._p >> 10 && t.tag === "meta" && $r(n) ? (e.set(n, Object.assign([...Array.isArray(r) ? r : [r], t], t)), i = !0) : (t._w === r._w ? t._p > r._p : t?._w < r?._w) && e.set(n, t);
8096
+ } else t._p >> 10 == r._p >> 10 && t.tag === "meta" && ti(n) ? (e.set(n, Object.assign([...Array.isArray(r) ? r : [r], t], t)), i = !0) : (t._w === r._w ? t._p > r._p : t?._w < r?._w) && e.set(n, t);
8051
8097
  return e;
8052
8098
  }, n.tagMap);
8053
8099
  let s = n.tagMap.get("title"), c = n.tagMap.get("titleTemplate");
@@ -8061,11 +8107,11 @@ function hi(e = {}) {
8061
8107
  }) : (c.tag = "title", c.textContent = t);
8062
8108
  }
8063
8109
  }
8064
- n.tags = Array.from(n.tagMap.values()), i && (n.tags = n.tags.flat().sort(si)), await t.callHook("tags:beforeResolve", n), await t.callHook("tags:resolve", n), await t.callHook("tags:afterResolve", n);
8110
+ n.tags = Array.from(n.tagMap.values()), i && (n.tags = n.tags.flat().sort(li)), await t.callHook("tags:beforeResolve", n), await t.callHook("tags:resolve", n), await t.callHook("tags:afterResolve", n);
8065
8111
  let l = [];
8066
8112
  for (let e of n.tags) {
8067
8113
  let { innerHTML: t, tag: n, props: r } = e;
8068
- Kr.has(n) && (Object.keys(r).length === 0 && !e.innerHTML && !e.textContent || n === "meta" && !r.content && !r["http-equiv"] && !r.charset || (n === "script" && t && (String(r.type).endsWith("json") ? e.innerHTML = (typeof t == "string" ? t : JSON.stringify(t)).replace(/</g, "\\u003C") : typeof t == "string" && (e.innerHTML = t.replace(RegExp(`</${n}`, "g"), `<\\/${n}`)), e._d = ei(e)), l.push(e)));
8114
+ Jr.has(n) && (Object.keys(r).length === 0 && !e.innerHTML && !e.textContent || n === "meta" && !r.content && !r["http-equiv"] && !r.charset || (n === "script" && t && (String(r.type).endsWith("json") ? e.innerHTML = (typeof t == "string" ? t : JSON.stringify(t)).replace(/</g, "\\u003C") : typeof t == "string" && (e.innerHTML = t.replace(RegExp(`</${n}`, "g"), `<\\/${n}`)), e._d = ni(e)), l.push(e)));
8069
8115
  }
8070
8116
  return l;
8071
8117
  },
@@ -8074,11 +8120,11 @@ function hi(e = {}) {
8074
8120
  o.dirty = !0, t.callHook("entries:updated", o);
8075
8121
  }
8076
8122
  };
8077
- return (e?.plugins || []).forEach((e) => mi(o, e)), o.hooks.callHook("init", o), e.init?.forEach((e) => e && o.push(e)), o;
8123
+ return (e?.plugins || []).forEach((e) => gi(o, e)), o.hooks.callHook("init", o), e.init?.forEach((e) => e && o.push(e)), o;
8078
8124
  }
8079
8125
  //#endregion
8080
8126
  //#region node_modules/unhead/dist/client.mjs
8081
- async function gi(e, t = {}) {
8127
+ async function vi(e, t = {}) {
8082
8128
  let n = t.document || e.resolvedOptions.document;
8083
8129
  if (!n || !e.dirty) return;
8084
8130
  let r = {
@@ -8094,7 +8140,7 @@ async function gi(e, t = {}) {
8094
8140
  id: (t ? `${e._d}:${t}` : e._d) || e._h,
8095
8141
  shouldRender: !0
8096
8142
  };
8097
- return e._d && $r(e._d) && r.set(e._d, t + 1), n;
8143
+ return e._d && ti(e._d) && r.set(e._d, t + 1), n;
8098
8144
  }));
8099
8145
  });
8100
8146
  }), a = e._dom;
@@ -8107,15 +8153,15 @@ async function gi(e, t = {}) {
8107
8153
  let t = n[e]?.children;
8108
8154
  for (let e of t) {
8109
8155
  let t = e.tagName.toLowerCase();
8110
- if (!Gr.has(t)) continue;
8111
- let n = ii({
8156
+ if (!qr.has(t)) continue;
8157
+ let n = oi({
8112
8158
  tag: t,
8113
8159
  props: {}
8114
8160
  }, {
8115
8161
  innerHTML: e.innerHTML,
8116
8162
  ...e.getAttributeNames().reduce((t, n) => (t[n] = e.getAttribute(n), t), {}) || {}
8117
8163
  });
8118
- if (n.key = e.getAttribute("data-hid") || void 0, n._d = ei(n) || ti(n), a.elMap.has(n._d)) {
8164
+ if (n.key = e.getAttribute("data-hid") || void 0, n._d = ni(n) || ri(n), a.elMap.has(n._d)) {
8119
8165
  let t = 1, r = n._d;
8120
8166
  for (; a.elMap.has(r);) r = `${n._d}:${t++}`;
8121
8167
  a.elMap.set(r, e);
@@ -8169,7 +8215,7 @@ async function gi(e, t = {}) {
8169
8215
  n.title = t.textContent, o("title", "", () => n.title = a.title);
8170
8216
  continue;
8171
8217
  }
8172
- e.$el = e.$el || a.elMap.get(i), e.$el ? s(e) : Gr.has(t.tag) && c.push(e);
8218
+ e.$el = e.$el || a.elMap.get(i), e.$el ? s(e) : qr.has(t.tag) && c.push(e);
8173
8219
  }
8174
8220
  }
8175
8221
  for (let e of c) {
@@ -8184,11 +8230,11 @@ async function gi(e, t = {}) {
8184
8230
  e._domUpdatePromise = void 0, e.dirty = !1;
8185
8231
  }), e._domUpdatePromise;
8186
8232
  }
8187
- function _i(e = {}) {
8188
- let t = e.domOptions?.render || gi;
8233
+ function yi(e = {}) {
8234
+ let t = e.domOptions?.render || vi;
8189
8235
  e.document = e.document || (typeof window < "u" ? document : void 0);
8190
8236
  let n = e.document?.head.querySelector("script[id=\"unhead:payload\"]")?.innerHTML || !1;
8191
- return /* @__PURE__ */ hi({
8237
+ return /* @__PURE__ */ _i({
8192
8238
  ...e,
8193
8239
  plugins: [...e.plugins || [], {
8194
8240
  key: "client",
@@ -8197,7 +8243,7 @@ function _i(e = {}) {
8197
8243
  init: [n ? JSON.parse(n) : !1, ...e.init || []]
8198
8244
  });
8199
8245
  }
8200
- function vi(e, t) {
8246
+ function bi(e, t) {
8201
8247
  let n = 0;
8202
8248
  return () => {
8203
8249
  let r = ++n;
@@ -8208,40 +8254,27 @@ function vi(e, t) {
8208
8254
  }
8209
8255
  //#endregion
8210
8256
  //#region node_modules/@unhead/vue/dist/shared/vue.Cr7xSEtD.mjs
8211
- var yi = "usehead";
8212
- /* @__NO_SIDE_EFFECTS__ */
8213
- function bi(e) {
8257
+ var xi = "usehead";
8258
+ // @__NO_SIDE_EFFECTS__
8259
+ function Si(e) {
8214
8260
  return { install(t) {
8215
- t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(yi, e);
8261
+ t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(xi, e);
8216
8262
  } }.install;
8217
8263
  }
8218
8264
  //#endregion
8219
8265
  //#region node_modules/@unhead/vue/dist/client.mjs
8220
- /* @__NO_SIDE_EFFECTS__ */
8221
- function xi(e = {}) {
8222
- let t = _i({
8223
- domOptions: { render: vi(() => gi(t), (e) => setTimeout(e, 0)) },
8266
+ // @__NO_SIDE_EFFECTS__
8267
+ function Ci(e = {}) {
8268
+ let t = yi({
8269
+ domOptions: { render: bi(() => vi(t), (e) => setTimeout(e, 0)) },
8224
8270
  ...e
8225
8271
  });
8226
- return t.install = /* @__PURE__ */ bi(t), t;
8272
+ return t.install = /* @__PURE__ */ Si(t), t;
8227
8273
  }
8228
8274
  //#endregion
8229
8275
  //#region src/entries/hotel.ts
8230
- var Si = re(), Ci = /* @__PURE__ */ xi(), wi = M(), Ti = class extends HTMLElement {
8231
- vueApp;
8232
- constructor() {
8233
- super();
8234
- }
8235
- disconnectedCallback() {
8236
- this.vueApp.unmount();
8237
- }
8238
- connectedCallback() {
8239
- let e = j(Pr, this.attributes);
8240
- this.vueApp = O(Pr, e), this.vueApp.provide("emitter", wi), this.vueApp.use(ce), this.vueApp.use(Ci), this.vueApp.use(Si), this.vueApp.use(Ke), this.vueApp.use(A), this.vueApp.use(He), this.vueApp.use(Ie);
8241
- let t = document.createElement("div");
8242
- this.vueApp.mount(t), this.appendChild(t.children[0]);
8243
- }
8244
- };
8245
- window.customElements.define("konnectio-hotel", Ti);
8276
+ var wi = re(), Ti = /* @__PURE__ */ Ci(), Ei = j(), Di = A("konnectio-hotel", Ir, (e) => {
8277
+ e.provide("emitter", Ei), e.use(se), e.use(Ti), e.use(wi), e.use(Ge), e.use(k), e.use(Ve), e.use(Fe);
8278
+ });
8246
8279
  //#endregion
8247
- export { Ti as default };
8280
+ export { Di as default };