@konnectio/core 4.2.5 → 4.2.6

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 (52) hide show
  1. package/dist/{ActionField-CfuzREZx.js → ActionField-C3UWUX9Y.js} +2 -2
  2. package/dist/ActionField-C3UWUX9Y.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DB0Dlo0Q.js → AvailabilitySkeleton-D9inaLwa.js} +5 -5
  4. package/dist/AvailabilitySkeleton-D9inaLwa.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BTzgEpHP.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang--4XmSwhy.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang--4XmSwhy.js.br +0 -0
  7. package/dist/{CheckoutWindow-BHAusoq3.js → CheckoutWindow-CpKTfcY0.js} +2 -2
  8. package/dist/CheckoutWindow-CpKTfcY0.js.br +0 -0
  9. package/dist/{ErrorMessage-BGgy6DBf.js → ErrorMessage-D2VA_Cqt.js} +2 -2
  10. package/dist/ErrorMessage-D2VA_Cqt.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-D0YMUBAD.js → EventAvailabilityForm-Dv1l0ZiW.js} +3 -3
  12. package/dist/EventAvailabilityForm-Dv1l0ZiW.js.br +0 -0
  13. package/dist/{Field-Cs3fpSXX.js → Field-DImJroRR.js} +3 -3
  14. package/dist/Field-DImJroRR.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-6XrUq9bg.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-EYTt0u4J.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BdsA6lLD.js → SelectField.vue_vue_type_style_index_0_lang-CRibXGhn.js} +376 -374
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-CRibXGhn.js.br +0 -0
  18. package/dist/{TermsOfService-DFLoCWqK.js → TermsOfService-BdnzuaIV.js} +3 -3
  19. package/dist/_-bS2mOZqg.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CFg-09HK.js → _.vue_vue_type_style_index_0_lang-BLljgKMs.js} +2 -2
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/event.js +7 -7
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +7 -7
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +8 -8
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-DYFnUEPg.js → giftCard-Cuws4EFv.js} +2 -2
  34. package/dist/giftCard-Cuws4EFv.js.br +0 -0
  35. package/dist/hotel.js +834 -835
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-CJuT9t_2.js → masonry.plugin-BZfBitRX.js} +5 -5
  38. package/dist/masonry.plugin-BZfBitRX.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +1 -1
  42. package/dist/ActionField-CfuzREZx.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-DB0Dlo0Q.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BTzgEpHP.js.br +0 -0
  45. package/dist/CheckoutWindow-BHAusoq3.js.br +0 -0
  46. package/dist/ErrorMessage-BGgy6DBf.js.br +0 -0
  47. package/dist/EventAvailabilityForm-D0YMUBAD.js.br +0 -0
  48. package/dist/Field-Cs3fpSXX.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-BdsA6lLD.js.br +0 -0
  50. package/dist/_-Dhew6VtV.js +0 -5
  51. package/dist/giftCard-DYFnUEPg.js.br +0 -0
  52. package/dist/masonry.plugin-CJuT9t_2.js.br +0 -0
@@ -1,4 +1,4 @@
1
- import { ak as Zs, D as Qn, aa as e1, ab as t1, a3 as n1, r as N, al as a1, am as Dt, an as o1, a8 as yt, o as Zn, Q as za, X as el, $ as Ii, c as d, g as J, ao as r1, I as D, H as Rt, s as Jt, _ as i1, ap as s1, d as qe, W as l1, a as Ve, b as M, n as We, h as j, i as le, f as tn, e as q, t as Fe, q as ve, K as pa, F as rr, u as tl, x as Hn, J as Vn, w as mn, N as nl, E as hn, aq as c1, ar as u1, j as ir, a4 as Ue, a5 as Ze, v as Ri, a6 as Uo, L as f1, G as _i, T as d1 } from "./mitt-BJqPn_wb.js";
1
+ import { ak as Zs, D as Qn, aa as e1, ab as t1, a3 as n1, r as N, al as a1, am as Dt, an as o1, a8 as yt, o as Zn, Q as za, X as el, $ as Ii, c as d, g as J, ao as r1, I as D, H as Rt, s as Jt, _ as i1, ap as s1, d as qe, W as l1, a as Ve, b as M, n as We, h as j, i as le, f as tn, e as q, t as Be, q as ye, K as pa, F as rr, u as tl, x as Hn, J as Vn, w as mn, N as nl, E as hn, aq as c1, ar as u1, j as ir, a4 as Ue, a5 as Ze, v as Ri, a6 as Uo, L as f1, G as _i, T as d1 } from "./mitt-BJqPn_wb.js";
2
2
  function qr(e) {
3
3
  return e1() ? (t1(e), !0) : !1;
4
4
  }
@@ -324,12 +324,12 @@ function Q(e, t, n, a = {}) {
324
324
  );
325
325
  Qn(g, () => oe(), { flush: r });
326
326
  let z = !1;
327
- const $ = (x) => {
327
+ const U = (x) => {
328
328
  y && !z || oe(x);
329
329
  }, H = (x) => {
330
330
  y && !z || ne(x);
331
331
  };
332
- f && s && (n instanceof Storage ? vn(f, "storage", $, { passive: !0 }) : vn(f, Bi, H)), y ? S1(() => {
332
+ f && s && (n instanceof Storage ? vn(f, "storage", U, { passive: !0 }) : vn(f, Bi, H)), y ? S1(() => {
333
333
  z = !0, oe();
334
334
  }) : oe();
335
335
  function ie(x, B) {
@@ -358,7 +358,7 @@ function Q(e, t, n, a = {}) {
358
358
  C(B);
359
359
  }
360
360
  }
361
- function he(x) {
361
+ function ge(x) {
362
362
  const B = x ? x.newValue : n.getItem(g.value);
363
363
  if (B == null)
364
364
  return l && b != null && n.setItem(g.value, w.write(b)), b;
@@ -376,7 +376,7 @@ function Q(e, t, n, a = {}) {
376
376
  if (!(x && x.key !== g.value)) {
377
377
  L();
378
378
  try {
379
- x?.newValue !== w.write(p.value) && (p.value = he(x));
379
+ x?.newValue !== w.write(p.value) && (p.value = ge(x));
380
380
  } catch (B) {
381
381
  C(B);
382
382
  } finally {
@@ -527,11 +527,11 @@ function _1(e, t) {
527
527
  t[a].indexOf(e) >= 0 && (n[a] = !0);
528
528
  return n;
529
529
  }
530
- function Ne(e = null) {
530
+ function Oe(e = null) {
531
531
  this.j = {}, this.jr = [], this.jd = null, this.t = e;
532
532
  }
533
- Ne.groups = {};
534
- Ne.prototype = {
533
+ Oe.groups = {};
534
+ Oe.prototype = {
535
535
  accepts() {
536
536
  return !!this.t;
537
537
  },
@@ -584,9 +584,9 @@ Ne.prototype = {
584
584
  * @returns {State<T>} taken after the given input
585
585
  */
586
586
  tr(e, t, n, a) {
587
- a = a || Ne.groups;
587
+ a = a || Oe.groups;
588
588
  let o;
589
- return t && t.j ? o = t : (o = new Ne(t), n && a && Wt(t, n, a)), this.jr.push([e, o]), o;
589
+ return t && t.j ? o = t : (o = new Oe(t), n && a && Wt(t, n, a)), this.jr.push([e, o]), o;
590
590
  },
591
591
  /**
592
592
  * Short for "take transitions", will take as many sequential transitions as
@@ -634,13 +634,13 @@ Ne.prototype = {
634
634
  * @returns {State<T>} taken after the given input
635
635
  */
636
636
  tt(e, t, n, a) {
637
- a = a || Ne.groups;
637
+ a = a || Oe.groups;
638
638
  const o = this;
639
639
  if (t && t.j)
640
640
  return o.j[e] = t, t;
641
641
  const r = t;
642
642
  let i, s = o.go(e);
643
- if (s ? (i = new Ne(), yn(i.j, s.j), i.jr.push.apply(i.jr, s.jr), i.jd = s.jd, i.t = s.t) : i = new Ne(), r) {
643
+ if (s ? (i = new Oe(), yn(i.j, s.j), i.jr.push.apply(i.jr, s.jr), i.jd = s.jd, i.t = s.t) : i = new Oe(), r) {
644
644
  if (a)
645
645
  if (i.t && typeof i.t == "string") {
646
646
  const l = yn(_1(i.t, a), n);
@@ -651,7 +651,7 @@ Ne.prototype = {
651
651
  return o.j[e] = i, i;
652
652
  }
653
653
  };
654
- const _ = (e, t, n, a, o) => e.ta(t, n, a, o), te = (e, t, n, a, o) => e.tr(t, n, a, o), $i = (e, t, n, a, o) => e.ts(t, n, a, o), T = (e, t, n, a, o) => e.tt(t, n, a, o), gt = "WORD", fr = "UWORD", sl = "ASCIINUMERICAL", ll = "ALPHANUMERICAL", qn = "LOCALHOST", dr = "TLD", pr = "UTLD", Aa = "SCHEME", dn = "SLASH_SCHEME", Yr = "NUM", mr = "WS", Jr = "NL", In = "OPENBRACE", Rn = "CLOSEBRACE", Pa = "OPENBRACKET", Da = "CLOSEBRACKET", xa = "OPENPAREN", Ma = "CLOSEPAREN", Ia = "OPENANGLEBRACKET", Ra = "CLOSEANGLEBRACKET", _a = "FULLWIDTHLEFTPAREN", Fa = "FULLWIDTHRIGHTPAREN", Ba = "LEFTCORNERBRACKET", $a = "RIGHTCORNERBRACKET", Ua = "LEFTWHITECORNERBRACKET", ja = "RIGHTWHITECORNERBRACKET", Ha = "FULLWIDTHLESSTHAN", Va = "FULLWIDTHGREATERTHAN", Wa = "AMPERSAND", qa = "APOSTROPHE", Ka = "ASTERISK", Ot = "AT", Ga = "BACKSLASH", Ya = "BACKTICK", Ja = "CARET", zt = "COLON", Xr = "COMMA", Xa = "DOLLAR", tt = "DOT", Qa = "EQUALS", Qr = "EXCLAMATION", _e = "HYPHEN", _n = "PERCENT", Za = "PIPE", eo = "PLUS", to = "POUND", Fn = "QUERY", Zr = "QUOTE", cl = "FULLWIDTHMIDDLEDOT", ei = "SEMI", nt = "SLASH", Bn = "TILDE", no = "UNDERSCORE", ul = "EMOJI", ao = "SYM";
654
+ const _ = (e, t, n, a, o) => e.ta(t, n, a, o), te = (e, t, n, a, o) => e.tr(t, n, a, o), $i = (e, t, n, a, o) => e.ts(t, n, a, o), T = (e, t, n, a, o) => e.tt(t, n, a, o), gt = "WORD", fr = "UWORD", sl = "ASCIINUMERICAL", ll = "ALPHANUMERICAL", qn = "LOCALHOST", dr = "TLD", pr = "UTLD", Aa = "SCHEME", dn = "SLASH_SCHEME", Yr = "NUM", mr = "WS", Jr = "NL", In = "OPENBRACE", Rn = "CLOSEBRACE", Pa = "OPENBRACKET", Da = "CLOSEBRACKET", xa = "OPENPAREN", Ma = "CLOSEPAREN", Ia = "OPENANGLEBRACKET", Ra = "CLOSEANGLEBRACKET", _a = "FULLWIDTHLEFTPAREN", Fa = "FULLWIDTHRIGHTPAREN", Ba = "LEFTCORNERBRACKET", $a = "RIGHTCORNERBRACKET", Ua = "LEFTWHITECORNERBRACKET", ja = "RIGHTWHITECORNERBRACKET", Ha = "FULLWIDTHLESSTHAN", Va = "FULLWIDTHGREATERTHAN", Wa = "AMPERSAND", qa = "APOSTROPHE", Ka = "ASTERISK", Ot = "AT", Ga = "BACKSLASH", Ya = "BACKTICK", Ja = "CARET", zt = "COLON", Xr = "COMMA", Xa = "DOLLAR", tt = "DOT", Qa = "EQUALS", Qr = "EXCLAMATION", Fe = "HYPHEN", _n = "PERCENT", Za = "PIPE", eo = "PLUS", to = "POUND", Fn = "QUERY", Zr = "QUOTE", cl = "FULLWIDTHMIDDLEDOT", ei = "SEMI", nt = "SLASH", Bn = "TILDE", no = "UNDERSCORE", ul = "EMOJI", ao = "SYM";
655
655
  var fl = /* @__PURE__ */ Object.freeze({
656
656
  __proto__: null,
657
657
  ALPHANUMERICAL: ll,
@@ -679,7 +679,7 @@ var fl = /* @__PURE__ */ Object.freeze({
679
679
  FULLWIDTHLESSTHAN: Ha,
680
680
  FULLWIDTHMIDDLEDOT: cl,
681
681
  FULLWIDTHRIGHTPAREN: Fa,
682
- HYPHEN: _e,
682
+ HYPHEN: Fe,
683
683
  LEFTCORNERBRACKET: Ba,
684
684
  LEFTWHITECORNERBRACKET: Ua,
685
685
  LOCALHOST: qn,
@@ -715,9 +715,9 @@ const mt = /[a-z]/, On = /\p{L}/u, Ho = /\p{Emoji}/u, ht = /\d/, Vo = /\s/, Ui =
715
715
  let ga = null, va = null;
716
716
  function $1(e = []) {
717
717
  const t = {};
718
- Ne.groups = t;
719
- const n = new Ne();
720
- ga == null && (ga = ji(D1)), va == null && (va = ji(x1)), T(n, "'", qa), T(n, "{", In), T(n, "}", Rn), T(n, "[", Pa), T(n, "]", Da), T(n, "(", xa), T(n, ")", Ma), T(n, "<", Ia), T(n, ">", Ra), T(n, "(", _a), T(n, ")", Fa), T(n, "「", Ba), T(n, "」", $a), T(n, "『", Ua), T(n, "』", ja), T(n, "<", Ha), T(n, ">", Va), T(n, "&", Wa), T(n, "*", Ka), T(n, "@", Ot), T(n, "`", Ya), T(n, "^", Ja), T(n, ":", zt), T(n, ",", Xr), T(n, "$", Xa), T(n, ".", tt), T(n, "=", Qa), T(n, "!", Qr), T(n, "-", _e), T(n, "%", _n), T(n, "|", Za), T(n, "+", eo), T(n, "#", to), T(n, "?", Fn), T(n, '"', Zr), T(n, "/", nt), T(n, ";", ei), T(n, "~", Bn), T(n, "_", no), T(n, "\\", Ga), T(n, "・", cl);
718
+ Oe.groups = t;
719
+ const n = new Oe();
720
+ ga == null && (ga = ji(D1)), va == null && (va = ji(x1)), T(n, "'", qa), T(n, "{", In), T(n, "}", Rn), T(n, "[", Pa), T(n, "]", Da), T(n, "(", xa), T(n, ")", Ma), T(n, "<", Ia), T(n, ">", Ra), T(n, "(", _a), T(n, ")", Fa), T(n, "「", Ba), T(n, "」", $a), T(n, "『", Ua), T(n, "』", ja), T(n, "<", Ha), T(n, ">", Va), T(n, "&", Wa), T(n, "*", Ka), T(n, "@", Ot), T(n, "`", Ya), T(n, "^", Ja), T(n, ":", zt), T(n, ",", Xr), T(n, "$", Xa), T(n, ".", tt), T(n, "=", Qa), T(n, "!", Qr), T(n, "-", Fe), T(n, "%", _n), T(n, "|", Za), T(n, "+", eo), T(n, "#", to), T(n, "?", Fn), T(n, '"', Zr), T(n, "/", nt), T(n, ";", ei), T(n, "~", Bn), T(n, "_", no), T(n, "\\", Ga), T(n, "・", cl);
721
721
  const a = te(n, ht, Yr, {
722
722
  [sr]: !0
723
723
  });
@@ -776,7 +776,7 @@ function $1(e = []) {
776
776
  }
777
777
  return $i(n, "localhost", qn, {
778
778
  ascii: !0
779
- }), n.jd = new Ne(ao), {
779
+ }), n.jd = new Oe(ao), {
780
780
  start: n,
781
781
  tokens: yn({
782
782
  groups: t
@@ -817,9 +817,9 @@ function Et(e, t, n, a, o) {
817
817
  const i = t.length;
818
818
  for (let s = 0; s < i - 1; s++) {
819
819
  const l = t[s];
820
- e.j[l] ? r = e.j[l] : (r = new Ne(a), r.jr = o.slice(), e.j[l] = r), e = r;
820
+ e.j[l] ? r = e.j[l] : (r = new Oe(a), r.jr = o.slice(), e.j[l] = r), e = r;
821
821
  }
822
- return r = new Ne(n), r.jr = o.slice(), e.j[t[i - 1]] = r, r;
822
+ return r = new Oe(n), r.jr = o.slice(), e.j[t[i - 1]] = r, r;
823
823
  }
824
824
  function ji(e) {
825
825
  const t = [], n = [];
@@ -1069,39 +1069,39 @@ const Vi = uo("email", {
1069
1069
  const e = this.tk;
1070
1070
  return e.length >= 2 && e[0].t !== qn && e[1].t === zt;
1071
1071
  }
1072
- }), Re = (e) => new Ne(e);
1072
+ }), _e = (e) => new Oe(e);
1073
1073
  function H1({
1074
1074
  groups: e
1075
1075
  }) {
1076
- const t = e.domain.concat([Wa, Ka, Ot, Ga, Ya, Ja, Xa, Qa, _e, Yr, _n, Za, eo, to, nt, ao, Bn, no]), n = [qa, zt, Xr, tt, Qr, _n, Fn, Zr, ei, Ia, Ra, In, Rn, Da, Pa, xa, Ma, _a, Fa, Ba, $a, Ua, ja, Ha, Va], a = [Wa, qa, Ka, Ga, Ya, Ja, Xa, Qa, _e, In, Rn, _n, Za, eo, to, Fn, nt, ao, Bn, no], o = Re(), r = T(o, Bn);
1076
+ const t = e.domain.concat([Wa, Ka, Ot, Ga, Ya, Ja, Xa, Qa, Fe, Yr, _n, Za, eo, to, nt, ao, Bn, no]), n = [qa, zt, Xr, tt, Qr, _n, Fn, Zr, ei, Ia, Ra, In, Rn, Da, Pa, xa, Ma, _a, Fa, Ba, $a, Ua, ja, Ha, Va], a = [Wa, qa, Ka, Ga, Ya, Ja, Xa, Qa, Fe, In, Rn, _n, Za, eo, to, Fn, nt, ao, Bn, no], o = _e(), r = T(o, Bn);
1077
1077
  _(r, a, r), _(r, e.domain, r);
1078
- const i = Re(), s = Re(), l = Re();
1078
+ const i = _e(), s = _e(), l = _e();
1079
1079
  _(o, e.domain, i), _(o, e.scheme, s), _(o, e.slashscheme, l), _(i, a, r), _(i, e.domain, i);
1080
1080
  const c = T(i, Ot);
1081
1081
  T(r, Ot, c), T(s, Ot, c), T(l, Ot, c);
1082
1082
  const u = T(r, tt);
1083
1083
  _(u, a, r), _(u, e.domain, r);
1084
- const f = Re();
1084
+ const f = _e();
1085
1085
  _(c, e.domain, f), _(f, e.domain, f);
1086
1086
  const m = T(f, tt);
1087
1087
  _(m, e.domain, f);
1088
- const C = Re(Vi);
1088
+ const C = _e(Vi);
1089
1089
  _(m, e.tld, C), _(m, e.utld, C), T(c, qn, C);
1090
- const y = T(f, _e);
1091
- T(y, _e, y), _(y, e.domain, f), _(C, e.domain, f), T(C, tt, m), T(C, _e, y);
1090
+ const y = T(f, Fe);
1091
+ T(y, Fe, y), _(y, e.domain, f), _(C, e.domain, f), T(C, tt, m), T(C, Fe, y);
1092
1092
  const p = T(C, zt);
1093
1093
  _(p, e.numeric, Vi);
1094
- const g = T(i, _e), b = T(i, tt);
1095
- T(g, _e, g), _(g, e.domain, i), _(b, a, r), _(b, e.domain, i);
1096
- const v = Re(ya);
1097
- _(b, e.tld, v), _(b, e.utld, v), _(v, e.domain, i), _(v, a, r), T(v, tt, b), T(v, _e, g), T(v, Ot, c);
1098
- const w = T(v, zt), L = Re(ya);
1094
+ const g = T(i, Fe), b = T(i, tt);
1095
+ T(g, Fe, g), _(g, e.domain, i), _(b, a, r), _(b, e.domain, i);
1096
+ const v = _e(ya);
1097
+ _(b, e.tld, v), _(b, e.utld, v), _(v, e.domain, i), _(v, a, r), T(v, tt, b), T(v, Fe, g), T(v, Ot, c);
1098
+ const w = T(v, zt), L = _e(ya);
1099
1099
  _(w, e.numeric, L);
1100
- const S = Re(ya), z = Re();
1100
+ const S = _e(ya), z = _e();
1101
1101
  _(S, t, S), _(S, n, z), _(z, t, S), _(z, n, z), T(v, nt, S), T(L, nt, S);
1102
- const $ = T(s, zt), H = T(l, zt), ie = T(H, nt), G = T(ie, nt);
1103
- _(s, e.domain, i), T(s, tt, b), T(s, _e, g), _(l, e.domain, i), T(l, tt, b), T(l, _e, g), _($, e.domain, S), T($, nt, S), T($, Fn, S), _(G, e.domain, S), _(G, t, S), T(G, nt, S);
1104
- const he = [
1102
+ const U = T(s, zt), H = T(l, zt), ie = T(H, nt), G = T(ie, nt);
1103
+ _(s, e.domain, i), T(s, tt, b), T(s, Fe, g), _(l, e.domain, i), T(l, tt, b), T(l, Fe, g), _(U, e.domain, S), T(U, nt, S), T(U, Fn, S), _(G, e.domain, S), _(G, t, S), T(G, nt, S);
1104
+ const ge = [
1105
1105
  [In, Rn],
1106
1106
  // {}
1107
1107
  [Pa, Da],
@@ -1119,12 +1119,12 @@ function H1({
1119
1119
  [Ha, Va]
1120
1120
  // <>
1121
1121
  ];
1122
- for (let oe = 0; oe < he.length; oe++) {
1123
- const [ne, x] = he[oe], B = T(S, ne);
1122
+ for (let oe = 0; oe < ge.length; oe++) {
1123
+ const [ne, x] = ge[oe], B = T(S, ne);
1124
1124
  T(z, ne, B), T(B, x, S);
1125
- const V = Re(ya);
1125
+ const V = _e(ya);
1126
1126
  _(B, t, V);
1127
- const se = Re();
1127
+ const se = _e();
1128
1128
  _(B, n), _(V, t, V), _(V, n, se), _(se, t, V), _(se, n, se), T(V, x, S), T(se, x, S);
1129
1129
  }
1130
1130
  return T(o, qn, v), T(o, Jr, j1), {
@@ -1154,7 +1154,7 @@ function Ko(e, t, n) {
1154
1154
  const a = n[0].s, o = n[n.length - 1].e, r = t.slice(a, o);
1155
1155
  return new e(r, n);
1156
1156
  }
1157
- const de = {
1157
+ const pe = {
1158
1158
  scanner: null,
1159
1159
  parser: null,
1160
1160
  tokenQueue: [],
@@ -1163,21 +1163,21 @@ const de = {
1163
1163
  initialized: !1
1164
1164
  };
1165
1165
  function W1() {
1166
- de.scanner = $1(de.customSchemes);
1167
- for (let e = 0; e < de.tokenQueue.length; e++)
1168
- de.tokenQueue[e][1]({
1169
- scanner: de.scanner
1166
+ pe.scanner = $1(pe.customSchemes);
1167
+ for (let e = 0; e < pe.tokenQueue.length; e++)
1168
+ pe.tokenQueue[e][1]({
1169
+ scanner: pe.scanner
1170
1170
  });
1171
- de.parser = H1(de.scanner.tokens);
1172
- for (let e = 0; e < de.pluginQueue.length; e++)
1173
- de.pluginQueue[e][1]({
1174
- scanner: de.scanner,
1175
- parser: de.parser
1171
+ pe.parser = H1(pe.scanner.tokens);
1172
+ for (let e = 0; e < pe.pluginQueue.length; e++)
1173
+ pe.pluginQueue[e][1]({
1174
+ scanner: pe.scanner,
1175
+ parser: pe.parser
1176
1176
  });
1177
- return de.initialized = !0, de;
1177
+ return pe.initialized = !0, pe;
1178
1178
  }
1179
1179
  function ml(e) {
1180
- return de.initialized || W1(), V1(de.parser.start, e, dl(de.scanner.start, e));
1180
+ return pe.initialized || W1(), V1(pe.parser.start, e, dl(pe.scanner.start, e));
1181
1181
  }
1182
1182
  ml.scan = dl;
1183
1183
  var q1 = {
@@ -1209,7 +1209,7 @@ var q1 = {
1209
1209
  }, e;
1210
1210
  }()
1211
1211
  ), X1 = /[\t\n\f ]/, Q1 = /[A-Za-z]/, Z1 = /\r\n?/g;
1212
- function fe(e) {
1212
+ function de(e) {
1213
1213
  return X1.test(e);
1214
1214
  }
1215
1215
  function qi(e) {
@@ -1280,21 +1280,21 @@ var tu = (
1280
1280
  },
1281
1281
  doctype: function() {
1282
1282
  var o = this.consume();
1283
- fe(o) && this.transitionTo(
1283
+ de(o) && this.transitionTo(
1284
1284
  "beforeDoctypeName"
1285
1285
  /* beforeDoctypeName */
1286
1286
  );
1287
1287
  },
1288
1288
  beforeDoctypeName: function() {
1289
1289
  var o = this.consume();
1290
- fe(o) || (this.transitionTo(
1290
+ de(o) || (this.transitionTo(
1291
1291
  "doctypeName"
1292
1292
  /* doctypeName */
1293
1293
  ), this.delegate.appendToDoctypeName && this.delegate.appendToDoctypeName(o.toLowerCase()));
1294
1294
  },
1295
1295
  doctypeName: function() {
1296
1296
  var o = this.consume();
1297
- fe(o) ? this.transitionTo(
1297
+ de(o) ? this.transitionTo(
1298
1298
  "afterDoctypeName"
1299
1299
  /* afterDoctypeName */
1300
1300
  ) : o === ">" ? (this.delegate.endDoctype && this.delegate.endDoctype(), this.transitionTo(
@@ -1304,7 +1304,7 @@ var tu = (
1304
1304
  },
1305
1305
  afterDoctypeName: function() {
1306
1306
  var o = this.consume();
1307
- if (!fe(o))
1307
+ if (!de(o))
1308
1308
  if (o === ">")
1309
1309
  this.delegate.endDoctype && this.delegate.endDoctype(), this.transitionTo(
1310
1310
  "beforeData"
@@ -1323,7 +1323,7 @@ var tu = (
1323
1323
  },
1324
1324
  afterDoctypePublicKeyword: function() {
1325
1325
  var o = this.peek();
1326
- fe(o) ? (this.transitionTo(
1326
+ de(o) ? (this.transitionTo(
1327
1327
  "beforeDoctypePublicIdentifier"
1328
1328
  /* beforeDoctypePublicIdentifier */
1329
1329
  ), this.consume()) : o === '"' ? (this.transitionTo(
@@ -1359,7 +1359,7 @@ var tu = (
1359
1359
  },
1360
1360
  afterDoctypePublicIdentifier: function() {
1361
1361
  var o = this.consume();
1362
- fe(o) ? this.transitionTo(
1362
+ de(o) ? this.transitionTo(
1363
1363
  "betweenDoctypePublicAndSystemIdentifiers"
1364
1364
  /* betweenDoctypePublicAndSystemIdentifiers */
1365
1365
  ) : o === ">" ? (this.delegate.endDoctype && this.delegate.endDoctype(), this.transitionTo(
@@ -1375,7 +1375,7 @@ var tu = (
1375
1375
  },
1376
1376
  betweenDoctypePublicAndSystemIdentifiers: function() {
1377
1377
  var o = this.consume();
1378
- fe(o) || (o === ">" ? (this.delegate.endDoctype && this.delegate.endDoctype(), this.transitionTo(
1378
+ de(o) || (o === ">" ? (this.delegate.endDoctype && this.delegate.endDoctype(), this.transitionTo(
1379
1379
  "beforeData"
1380
1380
  /* beforeData */
1381
1381
  )) : o === '"' ? this.transitionTo(
@@ -1408,7 +1408,7 @@ var tu = (
1408
1408
  },
1409
1409
  afterDoctypeSystemIdentifier: function() {
1410
1410
  var o = this.consume();
1411
- fe(o) || o === ">" && (this.delegate.endDoctype && this.delegate.endDoctype(), this.transitionTo(
1411
+ de(o) || o === ">" && (this.delegate.endDoctype && this.delegate.endDoctype(), this.transitionTo(
1412
1412
  "beforeData"
1413
1413
  /* beforeData */
1414
1414
  ));
@@ -1468,7 +1468,7 @@ var tu = (
1468
1468
  },
1469
1469
  tagName: function() {
1470
1470
  var o = this.consume();
1471
- fe(o) ? this.transitionTo(
1471
+ de(o) ? this.transitionTo(
1472
1472
  "beforeAttributeName"
1473
1473
  /* beforeAttributeName */
1474
1474
  ) : o === "/" ? this.transitionTo(
@@ -1481,7 +1481,7 @@ var tu = (
1481
1481
  },
1482
1482
  endTagName: function() {
1483
1483
  var o = this.consume();
1484
- fe(o) ? (this.transitionTo(
1484
+ de(o) ? (this.transitionTo(
1485
1485
  "beforeAttributeName"
1486
1486
  /* beforeAttributeName */
1487
1487
  ), this.tagNameBuffer = "") : o === "/" ? (this.transitionTo(
@@ -1494,7 +1494,7 @@ var tu = (
1494
1494
  },
1495
1495
  beforeAttributeName: function() {
1496
1496
  var o = this.peek();
1497
- if (fe(o)) {
1497
+ if (de(o)) {
1498
1498
  this.consume();
1499
1499
  return;
1500
1500
  } else o === "/" ? (this.transitionTo(
@@ -1513,7 +1513,7 @@ var tu = (
1513
1513
  },
1514
1514
  attributeName: function() {
1515
1515
  var o = this.peek();
1516
- fe(o) ? (this.transitionTo(
1516
+ de(o) ? (this.transitionTo(
1517
1517
  "afterAttributeName"
1518
1518
  /* afterAttributeName */
1519
1519
  ), this.consume()) : o === "/" ? (this.delegate.beginAttributeValue(!1), this.delegate.finishAttributeValue(), this.consume(), this.transitionTo(
@@ -1529,7 +1529,7 @@ var tu = (
1529
1529
  },
1530
1530
  afterAttributeName: function() {
1531
1531
  var o = this.peek();
1532
- if (fe(o)) {
1532
+ if (de(o)) {
1533
1533
  this.consume();
1534
1534
  return;
1535
1535
  } else o === "/" ? (this.delegate.beginAttributeValue(!1), this.delegate.finishAttributeValue(), this.consume(), this.transitionTo(
@@ -1548,7 +1548,7 @@ var tu = (
1548
1548
  },
1549
1549
  beforeAttributeValue: function() {
1550
1550
  var o = this.peek();
1551
- fe(o) ? this.consume() : o === '"' ? (this.transitionTo(
1551
+ de(o) ? this.consume() : o === '"' ? (this.transitionTo(
1552
1552
  "attributeValueDoubleQuoted"
1553
1553
  /* attributeValueDoubleQuoted */
1554
1554
  ), this.delegate.beginAttributeValue(!0), this.consume()) : o === "'" ? (this.transitionTo(
@@ -1578,7 +1578,7 @@ var tu = (
1578
1578
  },
1579
1579
  attributeValueUnquoted: function() {
1580
1580
  var o = this.peek();
1581
- fe(o) ? (this.delegate.finishAttributeValue(), this.consume(), this.transitionTo(
1581
+ de(o) ? (this.delegate.finishAttributeValue(), this.consume(), this.transitionTo(
1582
1582
  "beforeAttributeName"
1583
1583
  /* beforeAttributeName */
1584
1584
  )) : o === "/" ? (this.delegate.finishAttributeValue(), this.consume(), this.transitionTo(
@@ -1591,7 +1591,7 @@ var tu = (
1591
1591
  },
1592
1592
  afterAttributeValueQuoted: function() {
1593
1593
  var o = this.peek();
1594
- fe(o) ? (this.consume(), this.transitionTo(
1594
+ de(o) ? (this.consume(), this.transitionTo(
1595
1595
  "beforeAttributeName"
1596
1596
  /* beforeAttributeName */
1597
1597
  )) : o === "/" ? (this.consume(), this.transitionTo(
@@ -1912,7 +1912,7 @@ function fu(e) {
1912
1912
  }
1913
1913
  return t;
1914
1914
  }
1915
- var vr = /* @__PURE__ */ ((e) => (e[e.Accept = 0] = "Accept", e[e.Error = 1] = "Error", e[e.Cancel = 2] = "Cancel", e[e.Close = 3] = "Close", e[e.Open = 4] = "Open", e[e.CheckResult = 5] = "CheckResult", e))(vr || {}), re = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.PerUnit = 1] = "PerUnit", e[e.PerPerson = 2] = "PerPerson", e[e.PerAdult = 3] = "PerAdult", e[e.PerChild = 4] = "PerChild", e[e.PerNight = 5] = "PerNight", e[e.PerPersonPerNight = 6] = "PerPersonPerNight", e[e.PerAdultPerNight = 7] = "PerAdultPerNight", e[e.PerChildPerNight = 8] = "PerChildPerNight", e[e.Consumption = 9] = "Consumption", e[e.EarlyCheckIn = 10] = "EarlyCheckIn", e[e.EarlyCheckOut = 11] = "EarlyCheckOut", e[e.OneTimePayment = 12] = "OneTimePayment", e))(re || {}), du = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.Mandatory = 1] = "Mandatory", e[e.OptionalSingle = 2] = "OptionalSingle", e[e.OptionalMultiple = 3] = "OptionalMultiple", e[e.DefaultSingle = 4] = "DefaultSingle", e))(du || {}), qt = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.AskForCreditCard = 2] = "AskForCreditCard", e[e.Stripe = 18] = "Stripe", e[e.DIBS = 47] = "DIBS", e[e.EasyPay = 56] = "EasyPay", e[e.ReePay = 57] = "ReePay", e))(qt || {}), pu = /* @__PURE__ */ ((e) => (e.Selective = "selective", e.Wholesale = "wholesale", e.Simplified = "simplified", e.Template = "template", e.Event = "event", e))(pu || {}), mu = /* @__PURE__ */ ((e) => (e.Default = "default", e.Minimal = "minimal", e))(mu || {}), hu = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.WaitingForResponse = 1] = "WaitingForResponse", e[e.ReadyToPay = 2] = "ReadyToPay", e[e.PaymentSuccess = 3] = "PaymentSuccess", e))(hu || {}), yr = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Hourly = 1] = "Hourly", e[e.FullDayEvent = 2] = "FullDayEvent", e[e.Weekly = 3] = "Weekly", e))(yr || {}), Ee = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.AvailabilityState = 1] = "AvailabilityState", e[e.ReservationState = 2] = "ReservationState", e[e.PaymentState = 3] = "PaymentState", e))(Ee || {}), gu = /* @__PURE__ */ ((e) => (e[e.NoShow = 1] = "NoShow", e[e.Other = 2] = "Other", e[e.Regret = 3] = "Regret", e[e.Sickness = 5] = "Sickness", e[e.Postponed = 6] = "Postponed", e[e.OnlinePaymentFailure = 7] = "OnlinePaymentFailure", e[e.TestBooking = 8] = "TestBooking", e[e.Corona = 9] = "Corona", e[e.BookingMistake = 10] = "BookingMistake", e[e.MissingPayment = 11] = "MissingPayment", e[e.BadWeather = 12] = "BadWeather", e))(gu || {});
1915
+ var vr = /* @__PURE__ */ ((e) => (e[e.Accept = 0] = "Accept", e[e.Error = 1] = "Error", e[e.Cancel = 2] = "Cancel", e[e.Close = 3] = "Close", e[e.Open = 4] = "Open", e[e.CheckResult = 5] = "CheckResult", e))(vr || {}), re = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.PerUnit = 1] = "PerUnit", e[e.PerPerson = 2] = "PerPerson", e[e.PerAdult = 3] = "PerAdult", e[e.PerChild = 4] = "PerChild", e[e.PerNight = 5] = "PerNight", e[e.PerPersonPerNight = 6] = "PerPersonPerNight", e[e.PerAdultPerNight = 7] = "PerAdultPerNight", e[e.PerChildPerNight = 8] = "PerChildPerNight", e[e.Consumption = 9] = "Consumption", e[e.EarlyCheckIn = 10] = "EarlyCheckIn", e[e.EarlyCheckOut = 11] = "EarlyCheckOut", e[e.OneTimePayment = 12] = "OneTimePayment", e))(re || {}), du = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.Mandatory = 1] = "Mandatory", e[e.OptionalSingle = 2] = "OptionalSingle", e[e.OptionalMultiple = 3] = "OptionalMultiple", e[e.DefaultSingle = 4] = "DefaultSingle", e))(du || {}), qt = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.AskForCreditCard = 2] = "AskForCreditCard", e[e.Stripe = 18] = "Stripe", e[e.DIBS = 47] = "DIBS", e[e.EasyPay = 56] = "EasyPay", e[e.ReePay = 57] = "ReePay", e))(qt || {}), pu = /* @__PURE__ */ ((e) => (e.Selective = "selective", e.Wholesale = "wholesale", e.Simplified = "simplified", e.Template = "template", e.Event = "event", e))(pu || {}), mu = /* @__PURE__ */ ((e) => (e.Default = "default", e.Minimal = "minimal", e))(mu || {}), hu = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.WaitingForResponse = 1] = "WaitingForResponse", e[e.ReadyToPay = 2] = "ReadyToPay", e[e.PaymentSuccess = 3] = "PaymentSuccess", e))(hu || {}), yr = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Hourly = 1] = "Hourly", e[e.FullDayEvent = 2] = "FullDayEvent", e[e.Weekly = 3] = "Weekly", e))(yr || {}), Ne = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.AvailabilityState = 1] = "AvailabilityState", e[e.ReservationState = 2] = "ReservationState", e[e.PaymentState = 3] = "PaymentState", e))(Ne || {}), gu = /* @__PURE__ */ ((e) => (e[e.NoShow = 1] = "NoShow", e[e.Other = 2] = "Other", e[e.Regret = 3] = "Regret", e[e.Sickness = 5] = "Sickness", e[e.Postponed = 6] = "Postponed", e[e.OnlinePaymentFailure = 7] = "OnlinePaymentFailure", e[e.TestBooking = 8] = "TestBooking", e[e.Corona = 9] = "Corona", e[e.BookingMistake = 10] = "BookingMistake", e[e.MissingPayment = 11] = "MissingPayment", e[e.BadWeather = 12] = "BadWeather", e))(gu || {});
1916
1916
  function Sp(e) {
1917
1917
  switch (e) {
1918
1918
  case re.PerUnit:
@@ -2004,7 +2004,7 @@ function yl(e, t) {
2004
2004
  const n = new Date(e), a = new Date(t), o = a.getTime() - n.getTime();
2005
2005
  return Math.round(o / (1e3 * 60 * 60 * 24));
2006
2006
  }
2007
- function ye(e = !1) {
2007
+ function be(e = !1) {
2008
2008
  return e ? document.documentElement.lang || "en-US" : document.documentElement.lang.slice(0, 2) || "en";
2009
2009
  }
2010
2010
  function fo(e = 10) {
@@ -2018,7 +2018,7 @@ function kp(e, t = 0, n = !1) {
2018
2018
  let a = new Date(e);
2019
2019
  a = new Date(a.setDate(a.getDate() + t));
2020
2020
  let o;
2021
- switch (ye()) {
2021
+ switch (be()) {
2022
2022
  case "da":
2023
2023
  case "se":
2024
2024
  o = { 0: "jan", 1: "feb", 2: "mar", 3: "apr", 4: "maj", 5: "jun", 6: "jul", 7: "aug", 8: "sep", 9: "okt", 10: "nov", 11: "dec" };
@@ -2064,7 +2064,7 @@ function Np(e) {
2064
2064
  let t = "-";
2065
2065
  const n = [6, 7], a = Cu(e, !1);
2066
2066
  let o;
2067
- switch (ye()) {
2067
+ switch (be()) {
2068
2068
  case "da":
2069
2069
  o = { 1: "Mandage", 2: "Tirsdage", 3: "Onsdage", 4: "Torsdage", 5: "Fredage", 6: "Lørdage", 7: "Søndage" };
2070
2070
  break;
@@ -2089,7 +2089,7 @@ function Op(e, t) {
2089
2089
  }
2090
2090
  function zp(e, t) {
2091
2091
  if (t)
2092
- return new Intl.NumberFormat(ye(!0), { style: "currency", currency: t }).format(e);
2092
+ return new Intl.NumberFormat(be(!0), { style: "currency", currency: t }).format(e);
2093
2093
  }
2094
2094
  function Pp(e) {
2095
2095
  return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
@@ -2246,22 +2246,22 @@ const { toString: Lu } = Object.prototype, { getPrototypeOf: ni } = Object, { it
2246
2246
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
2247
2247
  })(/* @__PURE__ */ Object.create(null)), Ke = (e) => (e = e.toLowerCase(), (t) => mo(t) === e), ho = (e) => (t) => typeof t === e, { isArray: Cn } = Array, Gn = ho("undefined");
2248
2248
  function ku(e) {
2249
- return e !== null && !Gn(e) && e.constructor !== null && !Gn(e.constructor) && Se(e.constructor.isBuffer) && e.constructor.isBuffer(e);
2249
+ return e !== null && !Gn(e) && e.constructor !== null && !Gn(e.constructor) && Te(e.constructor.isBuffer) && e.constructor.isBuffer(e);
2250
2250
  }
2251
2251
  const Sl = Ke("ArrayBuffer");
2252
2252
  function Eu(e) {
2253
2253
  let t;
2254
2254
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Sl(e.buffer), t;
2255
2255
  }
2256
- const Nu = ho("string"), Se = ho("function"), Tl = ho("number"), go = (e) => e !== null && typeof e == "object", Ou = (e) => e === !0 || e === !1, La = (e) => {
2256
+ const Nu = ho("string"), Te = ho("function"), Tl = ho("number"), go = (e) => e !== null && typeof e == "object", Ou = (e) => e === !0 || e === !1, La = (e) => {
2257
2257
  if (mo(e) !== "object")
2258
2258
  return !1;
2259
2259
  const t = ni(e);
2260
2260
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(wl in e) && !(po in e);
2261
- }, zu = Ke("Date"), Pu = Ke("File"), Du = Ke("Blob"), xu = Ke("FileList"), Mu = (e) => go(e) && Se(e.pipe), Iu = (e) => {
2261
+ }, zu = Ke("Date"), Pu = Ke("File"), Du = Ke("Blob"), xu = Ke("FileList"), Mu = (e) => go(e) && Te(e.pipe), Iu = (e) => {
2262
2262
  let t;
2263
- return e && (typeof FormData == "function" && e instanceof FormData || Se(e.append) && ((t = mo(e)) === "formdata" || // detect form-data instance
2264
- t === "object" && Se(e.toString) && e.toString() === "[object FormData]"));
2263
+ return e && (typeof FormData == "function" && e instanceof FormData || Te(e.append) && ((t = mo(e)) === "formdata" || // detect form-data instance
2264
+ t === "object" && Te(e.toString) && e.toString() === "[object FormData]"));
2265
2265
  }, Ru = Ke("URLSearchParams"), [_u, Fu, Bu, $u] = ["ReadableStream", "Request", "Response", "Headers"].map(Ke), Uu = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
2266
2266
  function ea(e, t, { allOwnKeys: n = !1 } = {}) {
2267
2267
  if (e === null || typeof e > "u")
@@ -2297,7 +2297,7 @@ function wr() {
2297
2297
  return t;
2298
2298
  }
2299
2299
  const ju = (e, t, n, { allOwnKeys: a } = {}) => (ea(t, (o, r) => {
2300
- n && Se(o) ? e[r] = Cl(o, n) : e[r] = o;
2300
+ n && Te(o) ? e[r] = Cl(o, n) : e[r] = o;
2301
2301
  }, { allOwnKeys: a }), e), Hu = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Vu = (e, t, n, a) => {
2302
2302
  e.prototype = Object.create(t.prototype, a), e.prototype.constructor = e, Object.defineProperty(e, "super", {
2303
2303
  value: t.prototype
@@ -2351,10 +2351,10 @@ const ju = (e, t, n, { allOwnKeys: a } = {}) => (ea(t, (o, r) => {
2351
2351
  }), Object.defineProperties(e, a);
2352
2352
  }, e2 = (e) => {
2353
2353
  kl(e, (t, n) => {
2354
- if (Se(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
2354
+ if (Te(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
2355
2355
  return !1;
2356
2356
  const a = e[n];
2357
- if (Se(a)) {
2357
+ if (Te(a)) {
2358
2358
  if (t.enumerable = !1, "writable" in t) {
2359
2359
  t.writable = !1;
2360
2360
  return;
@@ -2374,7 +2374,7 @@ const ju = (e, t, n, { allOwnKeys: a } = {}) => (ea(t, (o, r) => {
2374
2374
  }, n2 = () => {
2375
2375
  }, a2 = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
2376
2376
  function o2(e) {
2377
- return !!(e && Se(e.append) && e[wl] === "FormData" && e[po]);
2377
+ return !!(e && Te(e.append) && e[wl] === "FormData" && e[po]);
2378
2378
  }
2379
2379
  const r2 = (e) => {
2380
2380
  const t = new Array(10), n = (a, o) => {
@@ -2393,14 +2393,14 @@ const r2 = (e) => {
2393
2393
  return a;
2394
2394
  };
2395
2395
  return n(e, 0);
2396
- }, i2 = Ke("AsyncFunction"), s2 = (e) => e && (go(e) || Se(e)) && Se(e.then) && Se(e.catch), El = ((e, t) => e ? setImmediate : t ? ((n, a) => (Kt.addEventListener("message", ({ source: o, data: r }) => {
2396
+ }, i2 = Ke("AsyncFunction"), s2 = (e) => e && (go(e) || Te(e)) && Te(e.then) && Te(e.catch), El = ((e, t) => e ? setImmediate : t ? ((n, a) => (Kt.addEventListener("message", ({ source: o, data: r }) => {
2397
2397
  o === Kt && r === n && a.length && a.shift()();
2398
2398
  }, !1), (o) => {
2399
2399
  a.push(o), Kt.postMessage(n, "*");
2400
2400
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
2401
2401
  typeof setImmediate == "function",
2402
- Se(Kt.postMessage)
2403
- ), l2 = typeof queueMicrotask < "u" ? queueMicrotask.bind(Kt) : typeof process < "u" && process.nextTick || El, c2 = (e) => e != null && Se(e[po]), h = {
2402
+ Te(Kt.postMessage)
2403
+ ), l2 = typeof queueMicrotask < "u" ? queueMicrotask.bind(Kt) : typeof process < "u" && process.nextTick || El, c2 = (e) => e != null && Te(e[po]), h = {
2404
2404
  isArray: Cn,
2405
2405
  isArrayBuffer: Sl,
2406
2406
  isBuffer: ku,
@@ -2420,7 +2420,7 @@ const r2 = (e) => {
2420
2420
  isFile: Pu,
2421
2421
  isBlob: Du,
2422
2422
  isRegExp: Zu,
2423
- isFunction: Se,
2423
+ isFunction: Te,
2424
2424
  isStream: Mu,
2425
2425
  isURLSearchParams: Ru,
2426
2426
  isTypedArray: Gu,
@@ -2709,14 +2709,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", C2
2709
2709
  hasStandardBrowserWebWorkerEnv: b2,
2710
2710
  navigator: Tr,
2711
2711
  origin: C2
2712
- }, Symbol.toStringTag, { value: "Module" })), pe = {
2712
+ }, Symbol.toStringTag, { value: "Module" })), me = {
2713
2713
  ...w2,
2714
2714
  ...v2
2715
2715
  };
2716
2716
  function S2(e, t) {
2717
- return vo(e, new pe.classes.URLSearchParams(), Object.assign({
2717
+ return vo(e, new me.classes.URLSearchParams(), Object.assign({
2718
2718
  visitor: function(n, a, o, r) {
2719
- return pe.isNode && h.isBuffer(n) ? (this.append(a, n.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
2719
+ return me.isNode && h.isBuffer(n) ? (this.append(a, n.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
2720
2720
  }
2721
2721
  }, t));
2722
2722
  }
@@ -2810,8 +2810,8 @@ const ta = {
2810
2810
  maxContentLength: -1,
2811
2811
  maxBodyLength: -1,
2812
2812
  env: {
2813
- FormData: pe.classes.FormData,
2814
- Blob: pe.classes.Blob
2813
+ FormData: me.classes.FormData,
2814
+ Blob: me.classes.Blob
2815
2815
  },
2816
2816
  validateStatus: function(t) {
2817
2817
  return t >= 200 && t < 300;
@@ -2890,7 +2890,7 @@ function P2(e, t) {
2890
2890
  });
2891
2891
  });
2892
2892
  }
2893
- let Te = class {
2893
+ let Ae = class {
2894
2894
  constructor(t) {
2895
2895
  t && this.set(t);
2896
2896
  }
@@ -3016,8 +3016,8 @@ let Te = class {
3016
3016
  return h.isArray(t) ? t.forEach(r) : r(t), this;
3017
3017
  }
3018
3018
  };
3019
- Te.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
3020
- h.reduceDescriptors(Te.prototype, ({ value: e }, t) => {
3019
+ Ae.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
3020
+ h.reduceDescriptors(Ae.prototype, ({ value: e }, t) => {
3021
3021
  let n = t[0].toUpperCase() + t.slice(1);
3022
3022
  return {
3023
3023
  get: () => e,
@@ -3026,9 +3026,9 @@ h.reduceDescriptors(Te.prototype, ({ value: e }, t) => {
3026
3026
  }
3027
3027
  };
3028
3028
  });
3029
- h.freezeMethods(Te);
3029
+ h.freezeMethods(Ae);
3030
3030
  function Jo(e, t) {
3031
- const n = this || ta, a = t || n, o = Te.from(a.headers);
3031
+ const n = this || ta, a = t || n, o = Ae.from(a.headers);
3032
3032
  let r = a.data;
3033
3033
  return h.forEach(e, function(s) {
3034
3034
  r = s.call(n, r, o.normalize(), t ? t.status : void 0);
@@ -3111,10 +3111,10 @@ const ro = (e, t, n = 3) => {
3111
3111
  total: e,
3112
3112
  loaded: a
3113
3113
  }), t[1]];
3114
- }, as = (e) => (...t) => h.asap(() => e(...t)), I2 = pe.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, pe.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
3115
- new URL(pe.origin),
3116
- pe.navigator && /(msie|trident)/i.test(pe.navigator.userAgent)
3117
- ) : () => !0, R2 = pe.hasStandardBrowserEnv ? (
3114
+ }, as = (e) => (...t) => h.asap(() => e(...t)), I2 = me.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, me.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
3115
+ new URL(me.origin),
3116
+ me.navigator && /(msie|trident)/i.test(me.navigator.userAgent)
3117
+ ) : () => !0, R2 = me.hasStandardBrowserEnv ? (
3118
3118
  // Standard browser envs support document.cookie
3119
3119
  {
3120
3120
  write(e, t, n, a, o, r) {
@@ -3151,7 +3151,7 @@ function _l(e, t, n) {
3151
3151
  let a = !_2(t);
3152
3152
  return e && (a || n == !1) ? F2(e, t) : t;
3153
3153
  }
3154
- const os = (e) => e instanceof Te ? { ...e } : e;
3154
+ const os = (e) => e instanceof Ae ? { ...e } : e;
3155
3155
  function Xt(e, t) {
3156
3156
  t = t || {};
3157
3157
  const n = {};
@@ -3219,20 +3219,20 @@ function Xt(e, t) {
3219
3219
  const Fl = (e) => {
3220
3220
  const t = Xt({}, e);
3221
3221
  let { data: n, withXSRFToken: a, xsrfHeaderName: o, xsrfCookieName: r, headers: i, auth: s } = t;
3222
- t.headers = i = Te.from(i), t.url = Dl(_l(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), s && i.set(
3222
+ t.headers = i = Ae.from(i), t.url = Dl(_l(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), s && i.set(
3223
3223
  "Authorization",
3224
3224
  "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
3225
3225
  );
3226
3226
  let l;
3227
3227
  if (h.isFormData(n)) {
3228
- if (pe.hasStandardBrowserEnv || pe.hasStandardBrowserWebWorkerEnv)
3228
+ if (me.hasStandardBrowserEnv || me.hasStandardBrowserWebWorkerEnv)
3229
3229
  i.setContentType(void 0);
3230
3230
  else if ((l = i.getContentType()) !== !1) {
3231
3231
  const [c, ...u] = l ? l.split(";").map((f) => f.trim()).filter(Boolean) : [];
3232
3232
  i.setContentType([c || "multipart/form-data", ...u].join("; "));
3233
3233
  }
3234
3234
  }
3235
- if (pe.hasStandardBrowserEnv && (a && h.isFunction(a) && (a = a(t)), a || a !== !1 && I2(t.url))) {
3235
+ if (me.hasStandardBrowserEnv && (a && h.isFunction(a) && (a = a(t)), a || a !== !1 && I2(t.url))) {
3236
3236
  const c = o && r && R2.read(r);
3237
3237
  c && i.set(o, c);
3238
3238
  }
@@ -3241,7 +3241,7 @@ const Fl = (e) => {
3241
3241
  return new Promise(function(n, a) {
3242
3242
  const o = Fl(e);
3243
3243
  let r = o.data;
3244
- const i = Te.from(o.headers).normalize();
3244
+ const i = Ae.from(o.headers).normalize();
3245
3245
  let { responseType: s, onUploadProgress: l, onDownloadProgress: c } = o, u, f, m, C, y;
3246
3246
  function p() {
3247
3247
  C && C(), y && y(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
@@ -3251,7 +3251,7 @@ const Fl = (e) => {
3251
3251
  function b() {
3252
3252
  if (!g)
3253
3253
  return;
3254
- const w = Te.from(
3254
+ const w = Ae.from(
3255
3255
  "getAllResponseHeaders" in g && g.getAllResponseHeaders()
3256
3256
  ), S = {
3257
3257
  data: !s || s === "text" || s === "json" ? g.responseText : g.response,
@@ -3261,10 +3261,10 @@ const Fl = (e) => {
3261
3261
  config: e,
3262
3262
  request: g
3263
3263
  };
3264
- Rl(function($) {
3265
- n($), p();
3266
- }, function($) {
3267
- a($), p();
3264
+ Rl(function(U) {
3265
+ n(U), p();
3266
+ }, function(U) {
3267
+ a(U), p();
3268
3268
  }, S), g = null;
3269
3269
  }
3270
3270
  "onloadend" in g ? g.onloadend = b : g.onreadystatechange = function() {
@@ -3288,7 +3288,7 @@ const Fl = (e) => {
3288
3288
  g && (a(!w || w.type ? new wn(null, e, g) : w), g.abort(), g = null);
3289
3289
  }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
3290
3290
  const v = D2(o.url);
3291
- if (v && pe.protocols.indexOf(v) === -1) {
3291
+ if (v && me.protocols.indexOf(v) === -1) {
3292
3292
  a(new I("Unsupported protocol " + v + ":", I.ERR_BAD_REQUEST, e));
3293
3293
  return;
3294
3294
  }
@@ -3382,7 +3382,7 @@ const Fl = (e) => {
3382
3382
  }
3383
3383
  }, q2 = Bl && $l(() => {
3384
3384
  let e = !1;
3385
- const t = new Request(pe.origin, {
3385
+ const t = new Request(me.origin, {
3386
3386
  body: new ReadableStream(),
3387
3387
  method: "POST",
3388
3388
  get duplex() {
@@ -3406,7 +3406,7 @@ const K2 = async (e) => {
3406
3406
  if (h.isBlob(e))
3407
3407
  return e.size;
3408
3408
  if (h.isSpecCompliantForm(e))
3409
- return (await new Request(pe.origin, {
3409
+ return (await new Request(me.origin, {
3410
3410
  method: "POST",
3411
3411
  body: e
3412
3412
  }).arrayBuffer()).byteLength;
@@ -3446,11 +3446,11 @@ const K2 = async (e) => {
3446
3446
  duplex: "half"
3447
3447
  }), z;
3448
3448
  if (h.isFormData(a) && (z = S.headers.get("content-type")) && u.setContentType(z), S.body) {
3449
- const [$, H] = ns(
3449
+ const [U, H] = ns(
3450
3450
  g,
3451
3451
  ro(as(l))
3452
3452
  );
3453
- a = rs(S.body, is, $, H);
3453
+ a = rs(S.body, is, U, H);
3454
3454
  }
3455
3455
  }
3456
3456
  h.isString(f) || (f = f ? "include" : "omit");
@@ -3471,12 +3471,12 @@ const K2 = async (e) => {
3471
3471
  ["status", "statusText", "headers"].forEach((ie) => {
3472
3472
  S[ie] = v[ie];
3473
3473
  });
3474
- const z = h.toFiniteNumber(v.headers.get("content-length")), [$, H] = s && ns(
3474
+ const z = h.toFiniteNumber(v.headers.get("content-length")), [U, H] = s && ns(
3475
3475
  z,
3476
3476
  ro(as(s), !0)
3477
3477
  ) || [];
3478
3478
  v = new Response(
3479
- rs(v.body, is, $, () => {
3479
+ rs(v.body, is, U, () => {
3480
3480
  H && H(), p && p();
3481
3481
  }),
3482
3482
  S
@@ -3487,7 +3487,7 @@ const K2 = async (e) => {
3487
3487
  return !w && p && p(), await new Promise((S, z) => {
3488
3488
  Rl(S, z, {
3489
3489
  data: L,
3490
- headers: Te.from(v.headers),
3490
+ headers: Ae.from(v.headers),
3491
3491
  status: v.status,
3492
3492
  statusText: v.statusText,
3493
3493
  config: e,
@@ -3552,7 +3552,7 @@ function Xo(e) {
3552
3552
  throw new wn(null, e);
3553
3553
  }
3554
3554
  function ls(e) {
3555
- return Xo(e), e.headers = Te.from(e.headers), e.data = Jo.call(
3555
+ return Xo(e), e.headers = Ae.from(e.headers), e.data = Jo.call(
3556
3556
  e,
3557
3557
  e.transformRequest
3558
3558
  ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ul.getAdapter(e.adapter || ta.adapter)(e).then(function(a) {
@@ -3560,13 +3560,13 @@ function ls(e) {
3560
3560
  e,
3561
3561
  e.transformResponse,
3562
3562
  a
3563
- ), a.headers = Te.from(a.headers), a;
3563
+ ), a.headers = Ae.from(a.headers), a;
3564
3564
  }, function(a) {
3565
3565
  return Il(a) || (Xo(e), a && a.response && (a.response.data = Jo.call(
3566
3566
  e,
3567
3567
  e.transformResponse,
3568
3568
  a.response
3569
- ), a.response.headers = Te.from(a.response.headers))), Promise.reject(a);
3569
+ ), a.response.headers = Ae.from(a.response.headers))), Promise.reject(a);
3570
3570
  });
3571
3571
  }
3572
3572
  const jl = "1.9.0", bo = {};
@@ -3675,7 +3675,7 @@ let Yt = class {
3675
3675
  (y) => {
3676
3676
  delete r[y];
3677
3677
  }
3678
- ), n.headers = Te.concat(i, r);
3678
+ ), n.headers = Ae.concat(i, r);
3679
3679
  const s = [];
3680
3680
  let l = !0;
3681
3681
  this.interceptors.request.forEach(function(p) {
@@ -3912,7 +3912,7 @@ ae.all = function(t) {
3912
3912
  ae.spread = Z2;
3913
3913
  ae.isAxiosError = e0;
3914
3914
  ae.mergeConfig = Xt;
3915
- ae.AxiosHeaders = Te;
3915
+ ae.AxiosHeaders = Ae;
3916
3916
  ae.formToJSON = (e) => Ml(h.isHTMLForm(e) ? new FormData(e) : e);
3917
3917
  ae.getAdapter = Ul.getAdapter;
3918
3918
  ae.HttpStatusCode = kr;
@@ -4012,18 +4012,18 @@ let Wl = {};
4012
4012
  const ql = (e = {}) => {
4013
4013
  const t = o0();
4014
4014
  Wl = Nr(t, e);
4015
- }, Oe = () => Wl, Qt = (...e) => {
4016
- const { globalObjectName: t } = Oe();
4015
+ }, ze = () => Wl, Qt = (...e) => {
4016
+ const { globalObjectName: t } = ze();
4017
4017
  !Co() || typeof window[t] > "u" || window[t](...e);
4018
4018
  }, ri = (...e) => {
4019
- const { config: t, includes: n } = Oe();
4019
+ const { config: t, includes: n } = ze();
4020
4020
  if (Qt("config", t.id, ...e), Array.isArray(n))
4021
4021
  for (const a of n)
4022
4022
  Qt("config", a.id, ...e);
4023
4023
  }, fs = (e, t) => {
4024
4024
  Co() && (window[`ga-disable-${e}`] = t);
4025
4025
  }, Kl = (e = !0) => {
4026
- const { config: t, includes: n } = Oe();
4026
+ const { config: t, includes: n } = ze();
4027
4027
  if (fs(t.id, e), Array.isArray(n))
4028
4028
  for (const a of n)
4029
4029
  fs(a.id, e);
@@ -4032,7 +4032,7 @@ const ql = (e = {}) => {
4032
4032
  }, r0 = () => {
4033
4033
  Kl(!1);
4034
4034
  }, He = (e, t = {}) => {
4035
- const { includes: n, defaultGroupName: a } = Oe();
4035
+ const { includes: n, defaultGroupName: a } = ze();
4036
4036
  t.send_to == null && Array.isArray(n) && n.length && (t.send_to = n.map((o) => o.id).concat(a)), Qt("event", e, t);
4037
4037
  };
4038
4038
  let Yl;
@@ -4050,7 +4050,7 @@ const i0 = (e) => {
4050
4050
  const {
4051
4051
  pageTrackerUseFullPath: n,
4052
4052
  pageTrackerPrependBase: a
4053
- } = Oe(), o = ii(), r = o?.options.base, i = n ? e.fullPath : e.path;
4053
+ } = ze(), o = ii(), r = o?.options.base, i = n ? e.fullPath : e.path;
4054
4054
  t = {
4055
4055
  ...e.name && { page_title: e.name },
4056
4056
  page_path: a ? a0(i, r) : i
@@ -4059,7 +4059,7 @@ const i0 = (e) => {
4059
4059
  t = e;
4060
4060
  t.page_location == null && (t.page_location = window.location.href), t.send_page_view == null && (t.send_page_view = !0), He("page_view", t);
4061
4061
  }, Xl = (e) => {
4062
- const { appName: t } = Oe();
4062
+ const { appName: t } = ze();
4063
4063
  if (!e)
4064
4064
  return;
4065
4065
  let n;
@@ -4104,7 +4104,7 @@ const i0 = (e) => {
4104
4104
  send_page_view: !1,
4105
4105
  ...e
4106
4106
  }), Zl = () => {
4107
- const { config: e, includes: t } = Oe();
4107
+ const { config: e, includes: t } = ze();
4108
4108
  if (Qt("config", e.id, ds(e.params)), Array.isArray(t))
4109
4109
  for (const n of t)
4110
4110
  Qt("config", n.id, ds(n.params));
@@ -4114,7 +4114,7 @@ const i0 = (e) => {
4114
4114
  pageTrackerTemplate: a,
4115
4115
  pageTrackerScreenviewEnabled: o,
4116
4116
  pageTrackerSkipSamePath: r
4117
- } = Oe();
4117
+ } = ze();
4118
4118
  if (r && e.path === t.path)
4119
4119
  return;
4120
4120
  let i = e;
@@ -4127,10 +4127,10 @@ const i0 = (e) => {
4127
4127
  }
4128
4128
  Jl(i);
4129
4129
  }, ms = (e) => {
4130
- const { pageTrackerExcludedRoutes: t } = Oe();
4130
+ const { pageTrackerExcludedRoutes: t } = ze();
4131
4131
  return t.includes(e.path) || t.includes(e.name);
4132
4132
  }, h0 = () => {
4133
- const { onBeforeTrack: e, onAfterTrack: t } = Oe(), n = ii();
4133
+ const { onBeforeTrack: e, onAfterTrack: t } = ze(), n = ii();
4134
4134
  n.isReady().then(() => {
4135
4135
  za().then(() => {
4136
4136
  const { currentRoute: a } = n;
@@ -4144,7 +4144,7 @@ const i0 = (e) => {
4144
4144
  }, g0 = () => {
4145
4145
  if (!Co())
4146
4146
  return;
4147
- const { enabled: e, globalObjectName: t, globalDataLayerName: n } = Oe();
4147
+ const { enabled: e, globalObjectName: t, globalDataLayerName: n } = ze();
4148
4148
  return window[t] == null && (window[n] = window[n] || [], window[t] = function() {
4149
4149
  window[n].push(arguments);
4150
4150
  }), window[t]("js", /* @__PURE__ */ new Date()), e || Gl(), window[t];
@@ -4160,7 +4160,7 @@ const i0 = (e) => {
4160
4160
  deferScriptLoad: s,
4161
4161
  pageTrackerEnabled: l,
4162
4162
  disableScriptLoad: c
4163
- } = Oe(), u = !!(l && ii());
4163
+ } = ze(), u = !!(l && ii());
4164
4164
  if (g0(), u ? h0() : Zl(), !c)
4165
4165
  return t0(`${r}?id=${o.id}&l=${a}`, {
4166
4166
  preconnectOrigin: i,
@@ -4169,14 +4169,14 @@ const i0 = (e) => {
4169
4169
  e && e(window[n]);
4170
4170
  }).catch((f) => (t && t(f), f));
4171
4171
  }, Jp = (e, t, n) => {
4172
- m0(e), ql(t), i0(n), Oe().bootstrap && ec();
4172
+ m0(e), ql(t), i0(n), ze().bootstrap && ec();
4173
4173
  }, tc = Rt("applyGiftCard", () => {
4174
4174
  const { display: e } = nn(), t = N(0), n = N(""), a = N(""), o = N(""), r = N(!1), i = N(!1);
4175
4175
  async function s() {
4176
4176
  n.value !== "" ? (i.value = !0, await ce().get("/gift-card/validate", {
4177
4177
  params: {
4178
4178
  giftcardCode: n.value,
4179
- lang: ye()
4179
+ lang: be()
4180
4180
  }
4181
4181
  }).then((c) => {
4182
4182
  const {
@@ -4265,15 +4265,15 @@ const i0 = (e) => {
4265
4265
  checkoutKey: S.easyPayment.checkoutSecretKey,
4266
4266
  paymentId: S.easyPayment.paymentID,
4267
4267
  containerId: "konnectio-payment-checkout",
4268
- language: ye() === "da" ? "da-DK" : "en-GB"
4269
- }, $ = new Dibs.Checkout(z);
4270
- $.on("payment-completed", () => {
4268
+ language: be() === "da" ? "da-DK" : "en-GB"
4269
+ }, U = new Dibs.Checkout(z);
4270
+ U.on("payment-completed", () => {
4271
4271
  console.log("Konnectio: Payment completed!"), b(), e({
4272
4272
  message: D.t("alert.success.payment"),
4273
4273
  type: "success"
4274
4274
  }), L();
4275
- }), $.on("pay-initialized", () => {
4276
- $.send("payment-order-finalized", !0);
4275
+ }), U.on("pay-initialized", () => {
4276
+ U.send("payment-order-finalized", !0);
4277
4277
  });
4278
4278
  }
4279
4279
  else
@@ -4304,11 +4304,11 @@ const i0 = (e) => {
4304
4304
  const e = li(), t = oc(), n = nc(), { voucher: a, amount: o } = Jt(tc()), { display: r } = nn(), { metaData: i } = Jt(bt()), s = bt(), l = N({}), c = d(() => {
4305
4305
  const E = [];
4306
4306
  for (const P in l.value) {
4307
- const U = parseInt(P), W = se.value.roomGroups.find((Lt) => Lt.id === U), $e = W?.title || "", Qe = {
4308
- roomGroupID: U,
4309
- title: $e
4307
+ const $ = parseInt(P), W = se.value.roomGroups.find((Lt) => Lt.id === $), fe = W?.title || "", Qe = {
4308
+ roomGroupID: $,
4309
+ title: fe
4310
4310
  }, Ht = [];
4311
- l.value[U].forEach((Lt) => {
4311
+ l.value[$].forEach((Lt) => {
4312
4312
  const kn = Lt.id, fa = W?.rates.find((En) => En.id === kn);
4313
4313
  if (fa) {
4314
4314
  const { name: En, occupantRates: Mo, addons: Io } = fa, ki = {
@@ -4325,7 +4325,7 @@ const i0 = (e) => {
4325
4325
  const { adultsCount: Oi, childrenCount: zi } = _o;
4326
4326
  let { totalPrice: Pi } = _o;
4327
4327
  Xe.value && (Pi = Xe.value.offer.rooms.find(
4328
- (kt) => kt.ratePlanID === kn && kt.roomGroupID === U
4328
+ (kt) => kt.ratePlanID === kn && kt.roomGroupID === $
4329
4329
  )?.totalPrice);
4330
4330
  const Di = [];
4331
4331
  if (!Io) continue;
@@ -4375,8 +4375,8 @@ const i0 = (e) => {
4375
4375
  function u() {
4376
4376
  for (const E in l.value) {
4377
4377
  const P = parseInt(E);
4378
- l.value[P].forEach((U) => {
4379
- U.config.forEach((W) => {
4378
+ l.value[P].forEach(($) => {
4379
+ $.config.forEach((W) => {
4380
4380
  W.units = 0;
4381
4381
  });
4382
4382
  });
@@ -4384,29 +4384,29 @@ const i0 = (e) => {
4384
4384
  }
4385
4385
  const f = d(() => ee.value ? ee.value.addons.length === 0 : c.value.every((E) => !m(E)));
4386
4386
  function m(E) {
4387
- return !E.variants?.every((P) => P.rooms?.every((U) => ue(P.addons, U.childrenCount).length === 0));
4387
+ return !E.variants?.every((P) => P.rooms?.every(($) => ue(P.addons, $.childrenCount).length === 0));
4388
4388
  }
4389
4389
  const C = d(() => c.value.length > 0);
4390
- function y(E, P, U) {
4391
- l.value[E][P].config[U].units = 0;
4390
+ function y(E, P, $) {
4391
+ l.value[E][P].config[$].units = 0;
4392
4392
  }
4393
4393
  const p = d(() => {
4394
4394
  const E = [];
4395
- for (const P in Pe.value) {
4396
- const U = parseInt(P), W = Pe.value[U];
4395
+ for (const P in De.value) {
4396
+ const $ = parseInt(P), W = De.value[$];
4397
4397
  if (W > 0) {
4398
4398
  const {
4399
- price: $e,
4399
+ price: fe,
4400
4400
  name: Qe,
4401
4401
  quantityStrategy: Ht
4402
- } = ee.value.addons.find((Lt) => Lt.id === U);
4402
+ } = ee.value.addons.find((Lt) => Lt.id === $);
4403
4403
  E.push({
4404
- addonID: U,
4404
+ addonID: $,
4405
4405
  name: Qe,
4406
- price: $e,
4406
+ price: fe,
4407
4407
  quantity: W,
4408
4408
  totalPrice: br(
4409
- $e,
4409
+ fe,
4410
4410
  Ht,
4411
4411
  e.nights,
4412
4412
  e.adults,
@@ -4419,25 +4419,25 @@ const i0 = (e) => {
4419
4419
  }), g = d(() => p.value.reduce((E, { totalPrice: P }) => E + P, 0)), b = d(() => {
4420
4420
  let E = 0;
4421
4421
  const P = 0 - o.value;
4422
- if (Me.value)
4423
- E = P + Ce.value + g.value + v.value;
4422
+ if (Ie.value)
4423
+ E = P + we.value + g.value + v.value;
4424
4424
  else {
4425
- const U = c.value.flatMap(({ variants: W }) => W).flatMap(({ rooms: W }) => W).reduce((W, { totalPrice: $e }) => W + $e, P);
4426
- E = c.value.flatMap(({ variants: W }) => W).flatMap(({ rooms: W }) => W).flatMap(({ roomAddons: W }) => W).reduce((W, { totalPrice: $e }) => W + $e, U);
4425
+ const $ = c.value.flatMap(({ variants: W }) => W).flatMap(({ rooms: W }) => W).reduce((W, { totalPrice: fe }) => W + fe, P);
4426
+ E = c.value.flatMap(({ variants: W }) => W).flatMap(({ rooms: W }) => W).flatMap(({ roomAddons: W }) => W).reduce((W, { totalPrice: fe }) => W + fe, $);
4427
4427
  }
4428
4428
  return E;
4429
- }), v = d(() => k.value ? k.value.weekendFee : 0), w = d(() => c.value.flatMap(({ variants: E }) => E).flatMap(({ rooms: E }) => E)), L = d(() => Me.value ? 1 : w.value.length), S = d(() => Me.value ? he.value : w.value.reduce((E, { adultsCount: P }) => E + P, 0)), z = d(() => Me.value ? oe.value : w.value.reduce((E, { childrenCount: P }) => E + P, 0)), $ = d(() => S.value > 0 ? S.value !== e.adults : !1), H = d(() => z.value > 0 ? z.value !== e.children : !1), ie = N(e.arrivalDate), G = N(e.departureDate), he = N(e.adults), oe = N(e.children), ne = N(e.location || NaN), x = d(() => ie.value !== e.arrivalDate && G.value !== e.departureDate), B = d(() => ne.value !== e.location), V = d(() => x.value || B.value), se = N({}), R = N(!0), X = N(
4429
+ }), v = d(() => k.value ? k.value.weekendFee : 0), w = d(() => c.value.flatMap(({ variants: E }) => E).flatMap(({ rooms: E }) => E)), L = d(() => Ie.value ? 1 : w.value.length), S = d(() => Ie.value ? ge.value : w.value.reduce((E, { adultsCount: P }) => E + P, 0)), z = d(() => Ie.value ? oe.value : w.value.reduce((E, { childrenCount: P }) => E + P, 0)), U = d(() => S.value > 0 ? S.value !== e.adults : !1), H = d(() => z.value > 0 ? z.value !== e.children : !1), ie = N(e.arrivalDate), G = N(e.departureDate), ge = N(e.adults), oe = N(e.children), ne = N(e.location || NaN), x = d(() => ie.value !== e.arrivalDate && G.value !== e.departureDate), B = d(() => ne.value !== e.location), V = d(() => x.value || B.value), se = N({}), R = N(!0), X = N(
4430
4430
  0
4431
4431
  /* InitialState */
4432
- ), be = N(NaN), Pe = N({}), Ae = N(NaN), an = N(""), Ft = N(""), ge = N(""), Ge = N(""), it = N(""), st = N(null), lt = Q("konnectio_name", "", void 0, { serializer: Y.string }), Bt = Q("konnectio_nameTitle", 2, void 0, { serializer: Y.number }), De = Q("konnectio_email", "", void 0, { serializer: Y.string }), Ye = Q("konnectio_phone", "", void 0, { serializer: Y.string }), ct = Q("konnectio_company", "", void 0, { serializer: Y.string }), ut = Q("konnectio_postal", "", void 0, { serializer: Y.string }), xe = Q("konnectio_city", "", void 0, { serializer: Y.string }), $t = Q("konnectio_country", 57, void 0, { serializer: Y.number }), ft = Q("konnectio_address", "", void 0, { serializer: Y.string }), Tt = Q("konnectio_sortingKeys", {
4432
+ ), Ce = N(NaN), De = N({}), Le = N(NaN), an = N(""), Ft = N(""), ve = N(""), Ge = N(""), it = N(""), st = N(null), lt = Q("konnectio_name", "", void 0, { serializer: Y.string }), Bt = Q("konnectio_nameTitle", 2, void 0, { serializer: Y.number }), xe = Q("konnectio_email", "", void 0, { serializer: Y.string }), Ye = Q("konnectio_phone", "", void 0, { serializer: Y.string }), ct = Q("konnectio_company", "", void 0, { serializer: Y.string }), ut = Q("konnectio_postal", "", void 0, { serializer: Y.string }), Me = Q("konnectio_city", "", void 0, { serializer: Y.string }), $t = Q("konnectio_country", 57, void 0, { serializer: Y.number }), ft = Q("konnectio_address", "", void 0, { serializer: Y.string }), Tt = Q("konnectio_sortingKeys", {
4433
4433
  pricesFrom: !1
4434
- }, void 0, { serializer: Y.object }), rn = N(""), sn = N(""), Ut = N(!1), dt = N(!1), jt = N(!1), Me = d(() => !isNaN(be.value)), ln = d(() => s.metaData.hotels.findIndex((E) => E.id === e.location) || 0), Le = d(() => s.metaData.hotels[ln.value]), F = d(() => s.metaData.hotels && s.metaData.hotels.length > 1), Ie = d(() => s.metaData.hotels ? s.metaData.hotels.flatMap((E) => ({
4434
+ }, void 0, { serializer: Y.object }), rn = N(""), sn = N(""), Ut = N(!1), dt = N(!1), jt = N(!1), Ie = d(() => !isNaN(Ce.value)), ln = d(() => s.metaData.hotels.findIndex((E) => E.id === e.location) || 0), ke = d(() => s.metaData.hotels[ln.value]), F = d(() => s.metaData.hotels && s.metaData.hotels.length > 1), Re = d(() => s.metaData.hotels ? s.metaData.hotels.flatMap((E) => ({
4435
4435
  id: E.id,
4436
4436
  name: E.name
4437
- })) : []), cn = d(() => !!st.value), un = d(() => Le.value.termsOfService ? Le.value.termsOfService : ""), ko = d(() => Le.value.hotelMapImage ? Le.value.hotelMapImage : null), oa = d(() => un.value !== ""), ra = d(() => Le.value.country ? Le.value.country.name : ""), Eo = d(() => s.metaData.countries ? s.metaData.countries : []), No = d(() => Le.value.name ? Le.value.name : ""), Oo = d(() => s.metaData && Object.keys(s.metaData).length !== 0), ia = d(() => Object.keys(se.value).length !== 0), zo = d(() => !(!lt.value[1] || !De.value || !(Ye.value.length >= 5) || !ut.value || !xe.value || !ft.value)), Po = d(() => X.value === 1 && R.value), Do = d(() => X.value === 3 && R.value), sa = d(() => ia.value ? se.value.templates.concat(se.value.specialTemplates) : []), k = d(() => {
4437
+ })) : []), cn = d(() => !!st.value), un = d(() => ke.value.termsOfService ? ke.value.termsOfService : ""), ko = d(() => ke.value.hotelMapImage ? ke.value.hotelMapImage : null), oa = d(() => un.value !== ""), ra = d(() => ke.value.country ? ke.value.country.name : ""), Eo = d(() => s.metaData.countries ? s.metaData.countries : []), No = d(() => ke.value.name ? ke.value.name : ""), Oo = d(() => s.metaData && Object.keys(s.metaData).length !== 0), ia = d(() => Object.keys(se.value).length !== 0), zo = d(() => !(!lt.value[1] || !xe.value || !(Ye.value.length >= 5) || !ut.value || !Me.value || !ft.value)), Po = d(() => X.value === 1 && R.value), Do = d(() => X.value === 3 && R.value), sa = d(() => ia.value ? se.value.templates.concat(se.value.specialTemplates) : []), k = d(() => {
4438
4438
  if (sa.value.length > 0)
4439
4439
  return sa.value.find(
4440
- (E) => E.id === be.value
4440
+ (E) => E.id === Ce.value
4441
4441
  );
4442
4442
  });
4443
4443
  function K(E) {
@@ -4449,12 +4449,14 @@ const i0 = (e) => {
4449
4449
  const ee = d(() => {
4450
4450
  if (k.value)
4451
4451
  return k.value.templateRoomGroups.find(
4452
- (E) => E.id === Ae.value
4452
+ (E) => E.id === Le.value
4453
4453
  );
4454
- }), Ce = d(() => Xe.value ? Xe.value.offer.offerTemplates[0].totalPrice : ee.value?.extraPrice || 0);
4454
+ }), we = d(() => Xe.value ? Xe.value.offer.offerTemplates[0].totalPrice : ee.value?.extraPrice || 0);
4455
4455
  function ue(E, P) {
4456
- let U = [];
4457
- return E && (U = E.filter((W) => !((W.quantityStrategy === re.PerChild || W.quantityStrategy === re.PerChildPerNight) && P == 0))), U;
4456
+ let $ = [];
4457
+ E && ($ = E.filter((fe) => !((fe.quantityStrategy === re.PerChild || fe.quantityStrategy === re.PerChildPerNight) && P == 0)));
4458
+ const W = Object.groupBy($, (fe) => fe.image ? 0 : 1);
4459
+ return W[0] ? W[0].concat(W[1] || []) : $;
4458
4460
  }
4459
4461
  function pt(E) {
4460
4462
  return se.value.roomGroups.find(
@@ -4467,13 +4469,13 @@ const i0 = (e) => {
4467
4469
  [REQUESTED ARRIVAL]: ${E} \r
4468
4470
  [REQUESTED DEPARTURE]: ${P}`;
4469
4471
  }
4470
- function Be(E, P, U, W) {
4471
- const Qe = (P ? U : W ? Ft.value : ge.value).split(":");
4472
+ function $e(E, P, $, W) {
4473
+ const Qe = (P ? $ : W ? Ft.value : ve.value).split(":");
4472
4474
  return vu(
4473
4475
  new Date(E).setUTCHours(parseInt(Qe[0]), parseInt(Qe[1]), 0, 0)
4474
4476
  );
4475
4477
  }
4476
- function ke(E) {
4478
+ function Ee(E) {
4477
4479
  return yl(
4478
4480
  e.arrivalDate,
4479
4481
  e.departureDate
@@ -4484,7 +4486,7 @@ const i0 = (e) => {
4484
4486
  try {
4485
4487
  const E = (await ce().get("/hotel/metadata", {
4486
4488
  params: {
4487
- language: ye()
4489
+ language: be()
4488
4490
  }
4489
4491
  })).data;
4490
4492
  i.value = E;
@@ -4505,10 +4507,10 @@ const i0 = (e) => {
4505
4507
  message: D.t("alert.success.guestDiscountCodeApplied"),
4506
4508
  type: "success"
4507
4509
  });
4508
- const U = P.data.guestDiscount;
4509
- return Tn.value = U, Ai(U.id), e.updateDates(
4510
- new Date(U.periods[0].fromDate),
4511
- new Date(U.periods[0].toDate)
4510
+ const $ = P.data.guestDiscount;
4511
+ return Tn.value = $, Ai($.id), e.updateDates(
4512
+ new Date($.periods[0].fromDate),
4513
+ new Date($.periods[0].toDate)
4512
4514
  ), !0;
4513
4515
  }
4514
4516
  return r({
@@ -4535,14 +4537,14 @@ const i0 = (e) => {
4535
4537
  childrenCount: e.children,
4536
4538
  roomGroupIds: s.hasActiveIdFilter ? s.activeIdFilter : null,
4537
4539
  guestDiscountId: cn.value ? st.value : null,
4538
- language: ye(),
4540
+ language: be(),
4539
4541
  hotelId: E
4540
4542
  }
4541
4543
  });
4542
4544
  P.status !== 200 ? r({
4543
4545
  message: `${D.t("booking.other.errorMessage")} (HTTP: ${P.status})`,
4544
4546
  type: "warning"
4545
- }) : (se.value = P.data, he.value = e.adults, oe.value = e.children, ie.value = e.arrivalDate, G.value = e.departureDate, ne.value = e.location, Ft.value = s.defaultArrivalTime(ne.value), ge.value = s.defaultDepartureTime(ne.value), si.emit("scrollToTop"), t.viewItemList());
4547
+ }) : (se.value = P.data, ge.value = e.adults, oe.value = e.children, ie.value = e.arrivalDate, G.value = e.departureDate, ne.value = e.location, Ft.value = s.defaultArrivalTime(ne.value), ve.value = s.defaultDepartureTime(ne.value), si.emit("scrollToTop"), t.viewItemList());
4546
4548
  } catch {
4547
4549
  r({
4548
4550
  message: D.t("alert.error.couldntFetchListings"),
@@ -4556,8 +4558,8 @@ const i0 = (e) => {
4556
4558
  }
4557
4559
  function xo(E = !1) {
4558
4560
  const P = [];
4559
- isNaN(be.value) ? c.value.forEach(({ variants: $e, roomGroupID: Qe }) => {
4560
- $e?.forEach(({ rooms: Ht, ratePlanID: Lt }) => {
4561
+ isNaN(Ce.value) ? c.value.forEach(({ variants: fe, roomGroupID: Qe }) => {
4562
+ fe?.forEach(({ rooms: Ht, ratePlanID: Lt }) => {
4561
4563
  Ht?.forEach(({ adultsCount: kn, childrenCount: fa, roomAddons: En, roomId: Mo }) => {
4562
4564
  P.push({
4563
4565
  roomGroupID: Qe,
@@ -4567,7 +4569,7 @@ const i0 = (e) => {
4567
4569
  guest: {
4568
4570
  name: lt.value,
4569
4571
  phone: Ye.value,
4570
- email: De.value
4572
+ email: xe.value
4571
4573
  },
4572
4574
  roomAddons: En,
4573
4575
  selectedRoomID: Mo
@@ -4575,48 +4577,48 @@ const i0 = (e) => {
4575
4577
  });
4576
4578
  });
4577
4579
  }) : P.push({
4578
- templateID: be.value,
4579
- roomGroupID: Ae.value,
4580
+ templateID: Ce.value,
4581
+ roomGroupID: Le.value,
4580
4582
  ratePlanID: null,
4581
- adultsCount: he.value,
4583
+ adultsCount: ge.value,
4582
4584
  childrenCount: oe.value,
4583
4585
  roomAddons: p.value,
4584
4586
  guest: {
4585
4587
  title: Gi(Bt.value),
4586
4588
  guestID: 0,
4587
4589
  name: lt.value,
4588
- email: De.value,
4590
+ email: xe.value,
4589
4591
  phone: Ye.value,
4590
4592
  newsmails: Ut.value
4591
4593
  }
4592
4594
  });
4593
- let U = ne.value;
4594
- return isNaN(U) && (U = null), {
4595
+ let $ = ne.value;
4596
+ return isNaN($) && ($ = null), {
4595
4597
  offerID: Xe.value ? Xe.value.offer.id : null,
4596
4598
  totalPrice: b.value,
4597
4599
  fromDate: je(ie.value),
4598
4600
  toDate: je(G.value),
4599
- hotelId: U,
4601
+ hotelId: $,
4600
4602
  guest: {
4601
4603
  travellingFor: an.value,
4602
4604
  title: Gi(Bt.value),
4603
4605
  guestID: 0,
4604
4606
  name: lt.value,
4605
- email: De.value,
4607
+ email: xe.value,
4606
4608
  firmName: ct.value,
4607
4609
  phone: Ye.value,
4608
4610
  country: $t.value,
4609
4611
  address1: ft.value,
4610
4612
  postal: String(ut.value),
4611
- city: xe.value,
4613
+ city: Me.value,
4612
4614
  newsmails: Ut.value
4613
4615
  },
4614
4616
  giftCardCode: a.value,
4615
4617
  discountCode: E ? it.value : Ge.value,
4616
4618
  selectedRooms: P,
4617
4619
  remark: Je(
4618
- Be(ie.value, !s.hasUserArrivalSelection(ne.value), s.defaultArrivalTime(ne.value), !0),
4619
- Be(G.value, !s.hasUserDepartureSelection(ne.value), s.defaultDepartureTime(ne.value), !1)
4620
+ $e(ie.value, !s.hasUserArrivalSelection(ne.value), s.defaultArrivalTime(ne.value), !0),
4621
+ $e(G.value, !s.hasUserDepartureSelection(ne.value), s.defaultDepartureTime(ne.value), !1)
4620
4622
  ),
4621
4623
  checkoutUrl: window.location.origin,
4622
4624
  privacyUrl: window.location.origin,
@@ -4660,12 +4662,12 @@ const i0 = (e) => {
4660
4662
  });
4661
4663
  return;
4662
4664
  }
4663
- X.value = 3, R.value = !0, await ce().post("/hotel/create-reservation", xo(!0)).then((U) => {
4665
+ X.value = 3, R.value = !0, await ce().post("/hotel/create-reservation", xo(!0)).then(($) => {
4664
4666
  dt.value = !1, R.value = !1;
4665
4667
  try {
4666
4668
  n.pay({
4667
4669
  callback: E,
4668
- response: U.data
4670
+ response: $.data
4669
4671
  });
4670
4672
  } catch {
4671
4673
  X.value = 2, r({
@@ -4673,9 +4675,9 @@ const i0 = (e) => {
4673
4675
  type: "warning"
4674
4676
  });
4675
4677
  }
4676
- }).catch((U) => {
4678
+ }).catch(($) => {
4677
4679
  R.value = !1;
4678
- const { status: W } = U.response;
4680
+ const { status: W } = $.response;
4679
4681
  W === 503 ? (X.value = 1, r({
4680
4682
  message: D.t("alert.error.noRoomAvailable"),
4681
4683
  type: "warning"
@@ -4688,12 +4690,12 @@ const i0 = (e) => {
4688
4690
  async function qc({
4689
4691
  id: E,
4690
4692
  reason: P,
4691
- remark: U
4693
+ remark: $
4692
4694
  }) {
4693
4695
  await ce().post("/hotel/cancel-reservation", {
4694
4696
  id: E,
4695
4697
  reason: P,
4696
- remark: U
4698
+ remark: $
4697
4699
  });
4698
4700
  }
4699
4701
  function Ai(E) {
@@ -4703,7 +4705,7 @@ const i0 = (e) => {
4703
4705
  st.value = null;
4704
4706
  }
4705
4707
  function Li() {
4706
- be.value = NaN, Ae.value = NaN, Pe.value = {};
4708
+ Ce.value = NaN, Le.value = NaN, De.value = {};
4707
4709
  }
4708
4710
  function Gc() {
4709
4711
  u(), Ti(), Li();
@@ -4712,7 +4714,7 @@ const i0 = (e) => {
4712
4714
  Ln();
4713
4715
  }
4714
4716
  return {
4715
- adultsMismatch: $,
4717
+ adultsMismatch: U,
4716
4718
  childrenMismatch: H,
4717
4719
  totalRooms: L,
4718
4720
  totalAdults: S,
@@ -4723,7 +4725,7 @@ const i0 = (e) => {
4723
4725
  hasTermOfService: oa,
4724
4726
  currentDepartureDate: G,
4725
4727
  currentArrivalDate: ie,
4726
- currentAdults: he,
4728
+ currentAdults: ge,
4727
4729
  currentChildren: oe,
4728
4730
  currentLocation: ne,
4729
4731
  isValidatingDiscountCode: ua,
@@ -4738,11 +4740,11 @@ const i0 = (e) => {
4738
4740
  validateDiscountCode: Hc,
4739
4741
  setGuestDiscountId: Ai,
4740
4742
  clearGuestDiscountId: Kc,
4741
- isTemplateReservation: Me,
4743
+ isTemplateReservation: Ie,
4742
4744
  selectionHasNoAddons: f,
4743
4745
  guestDiscountName: la,
4744
4746
  hasHotelList: F,
4745
- hotelList: Ie,
4747
+ hotelList: Re,
4746
4748
  areListingsLoading: Po,
4747
4749
  roomSelect: l,
4748
4750
  removeRoom: y,
@@ -4751,19 +4753,19 @@ const i0 = (e) => {
4751
4753
  availabilityData: se,
4752
4754
  isLoading: R,
4753
4755
  moduleState: X,
4754
- templateAddons: Pe,
4755
- templateID: be,
4756
- roomGroupID: Ae,
4756
+ templateAddons: De,
4757
+ templateID: Ce,
4758
+ roomGroupID: Le,
4757
4759
  travelingFor: an,
4758
4760
  arrivalTime: Ft,
4759
- departureTime: ge,
4761
+ departureTime: ve,
4760
4762
  name: lt,
4761
4763
  nameTitle: Bt,
4762
- email: De,
4764
+ email: xe,
4763
4765
  phone: Ye,
4764
4766
  firmName: ct,
4765
4767
  postal: ut,
4766
- city: xe,
4768
+ city: Me,
4767
4769
  country: $t,
4768
4770
  address: ft,
4769
4771
  remark: rn,
@@ -4781,7 +4783,7 @@ const i0 = (e) => {
4781
4783
  isPaymentLoading: Do,
4782
4784
  getSingleListing: pt,
4783
4785
  getSpecifiedPackageRoom: K,
4784
- getBasePrice: ke,
4786
+ getBasePrice: Ee,
4785
4787
  getSelectedPackageRoom: ee,
4786
4788
  isReservationFormFilled: zo,
4787
4789
  hasValidRoomSelection: C,
@@ -4795,7 +4797,7 @@ const i0 = (e) => {
4795
4797
  cancelReservation: qc,
4796
4798
  hasAvailableRoomAddons: m,
4797
4799
  checkGuestDiscount: ca,
4798
- templateRoomTotalPrice: Ce,
4800
+ templateRoomTotalPrice: we,
4799
4801
  discountPayload: Xe,
4800
4802
  acceptTerms: jt,
4801
4803
  sortingKeys: Tt,
@@ -4899,7 +4901,7 @@ const i0 = (e) => {
4899
4901
  viewItemList: r
4900
4902
  };
4901
4903
  }), bt = Rt("utilities", () => {
4902
- const e = li(), t = oc(), { display: n } = nn(), a = Q("k_utils_settings", {}, void 0, { serializer: Y.object }), o = N([]), r = N({}), i = d(() => (F) => o.value[F] ? !o.value[F].disableChildSelection : !0), s = d(() => (F) => o.value[F] ? !o.value[F].hideArrivalDepartureInputs : !1), l = d(() => (F) => o.value[F] ? !o.value[F].disableArrivalUserSelection : !1), c = d(() => (F) => o.value[F] ? !o.value[F].disableDepartureUserSelection : !1), u = d(() => (F) => o.value[F].arrivalEarliest), f = d(() => (F) => o.value[F].arrivalDefault), m = d(() => (F) => o.value[F].arrivalLatest), C = d(() => (F) => o.value[F].departureEarliest), y = d(() => (F) => o.value[F].departureDefault), p = d(() => (F) => o.value[F].departureLatest), g = d(() => a.value.maximumNightsAvailable), b = d(() => a.value.enableTracking), v = d(() => a.value.googleApiKey), w = d(() => a.value.recaptchaSiteKey), L = d(() => a.value.defaultAdultAmount), S = d(() => a.value.defaultChildAmount), z = d(() => a.value.maxAdultAmount), $ = d(() => a.value.maxChildAmount), H = d(() => a.value.firstSelectableDateOffset), ie = d(() => a.value.lastSelectableDateOffset), G = d(() => a.value.hideTitle), he = d(() => a.value.headerHeight), oe = d(() => a.value.enableStickyHeader), ne = d(() => a.value.disableNamePrefix), x = d(() => a.value.disableGiftCardVoucher), B = d(() => a.value.disableDiscountVoucher), V = d(() => a.value.disablePricesFrom), se = d(() => a.value.hideAvailableRoomAmount), R = d(() => a.value.disableNewsletterSignup), X = d(() => a.value.disableTravelingFor), be = d(() => a.value.disableTravelingForBleasure), Pe = d(() => a.value.disableCompanyField), Ae = d(() => a.value.hideEventLength), an = d(() => a.value.hideEventEndTime), Ft = d(() => a.value.hideAvailabilityNotice), ge = d(() => a.value.autoSelectRateId), Ge = d(() => a.value.splitBookingCalendar), it = d(() => a.value.hideEventGuestAmount), st = d(() => a.value.hideOptionalLabel), lt = d(() => a.value.enableMultipleConfigurations), Bt = d(() => a.value.selectGiftCardAsDefault), De = N(null), Ye = N(""), ct = N(!1), ut = d(() => `Bearer ${Ye.value}`), xe = d(() => !!r.value && !!r.value.hotels), $t = d(() => xe.value ? r.value.hotels[0].currency.currencyCode : ""), ft = d(() => xe.value ? r.value.hotels[0].currency.id : NaN), on = d(() => xe.value ? r.value.hotels[0].name : ""), Tt = d(() => xe.value && r.value.hotels[0].paymentGatewayId || qt.None), rn = d(() => !!w.value), sn = d(() => !!De.value), Ut = d(() => {
4904
+ const e = li(), t = oc(), { display: n } = nn(), a = Q("k_utils_settings", {}, void 0, { serializer: Y.object }), o = N([]), r = N({}), i = d(() => (F) => o.value[F] ? !o.value[F].disableChildSelection : !0), s = d(() => (F) => o.value[F] ? !o.value[F].hideArrivalDepartureInputs : !1), l = d(() => (F) => o.value[F] ? !o.value[F].disableArrivalUserSelection : !1), c = d(() => (F) => o.value[F] ? !o.value[F].disableDepartureUserSelection : !1), u = d(() => (F) => o.value[F].arrivalEarliest), f = d(() => (F) => o.value[F].arrivalDefault), m = d(() => (F) => o.value[F].arrivalLatest), C = d(() => (F) => o.value[F].departureEarliest), y = d(() => (F) => o.value[F].departureDefault), p = d(() => (F) => o.value[F].departureLatest), g = d(() => a.value.maximumNightsAvailable), b = d(() => a.value.enableTracking), v = d(() => a.value.googleApiKey), w = d(() => a.value.recaptchaSiteKey), L = d(() => a.value.defaultAdultAmount), S = d(() => a.value.defaultChildAmount), z = d(() => a.value.maxAdultAmount), U = d(() => a.value.maxChildAmount), H = d(() => a.value.firstSelectableDateOffset), ie = d(() => a.value.lastSelectableDateOffset), G = d(() => a.value.hideTitle), ge = d(() => a.value.headerHeight), oe = d(() => a.value.enableStickyHeader), ne = d(() => a.value.disableNamePrefix), x = d(() => a.value.disableGiftCardVoucher), B = d(() => a.value.disableDiscountVoucher), V = d(() => a.value.disablePricesFrom), se = d(() => a.value.hideAvailableRoomAmount), R = d(() => a.value.disableNewsletterSignup), X = d(() => a.value.disableTravelingFor), Ce = d(() => a.value.disableTravelingForBleasure), De = d(() => a.value.disableCompanyField), Le = d(() => a.value.hideEventLength), an = d(() => a.value.hideEventEndTime), Ft = d(() => a.value.hideAvailabilityNotice), ve = d(() => a.value.autoSelectRateId), Ge = d(() => a.value.splitBookingCalendar), it = d(() => a.value.hideEventGuestAmount), st = d(() => a.value.hideOptionalLabel), lt = d(() => a.value.enableMultipleConfigurations), Bt = d(() => a.value.selectGiftCardAsDefault), xe = N(null), Ye = N(""), ct = N(!1), ut = d(() => `Bearer ${Ye.value}`), Me = d(() => !!r.value && !!r.value.hotels), $t = d(() => Me.value ? r.value.hotels[0].currency.currencyCode : ""), ft = d(() => Me.value ? r.value.hotels[0].currency.id : NaN), on = d(() => Me.value ? r.value.hotels[0].name : ""), Tt = d(() => Me.value && r.value.hotels[0].paymentGatewayId || qt.None), rn = d(() => !!w.value), sn = d(() => !!xe.value), Ut = d(() => {
4903
4905
  let F = !0;
4904
4906
  return (Tt.value === qt.None || Tt.value === qt.AskForCreditCard) && (F = !1), F;
4905
4907
  });
@@ -4909,12 +4911,12 @@ const i0 = (e) => {
4909
4911
  async function jt(F = "none") {
4910
4912
  try {
4911
4913
  if (F !== "none") {
4912
- const Ie = (await ce().get(`/${F}/metadata`, {
4914
+ const Re = (await ce().get(`/${F}/metadata`, {
4913
4915
  params: {
4914
- language: ye()
4916
+ language: be()
4915
4917
  }
4916
4918
  })).data;
4917
- r.value = Ie, Ie.success !== void 0 ? ct.value = !Ie.success : ct.value = !1;
4919
+ r.value = Re, Re.success !== void 0 ? ct.value = !Re.success : ct.value = !1;
4918
4920
  }
4919
4921
  } catch {
4920
4922
  n({
@@ -4923,28 +4925,28 @@ const i0 = (e) => {
4923
4925
  });
4924
4926
  }
4925
4927
  }
4926
- async function Me() {
4928
+ async function Ie() {
4927
4929
  await ce().get("/utility/get-settings-and-translations").then((F) => {
4928
- const { settings: Ie, hotelSettings: cn, translations: un } = F.data;
4929
- a.value = Ie, o.value = cn, isNaN(e.adults) && (e.adults = Ie.defaultAdultAmount), isNaN(e.children) && (e.children = Ie.defaultChildAmount), s1(un), t.setup();
4930
+ const { settings: Re, hotelSettings: cn, translations: un } = F.data;
4931
+ a.value = Re, o.value = cn, isNaN(e.adults) && (e.adults = Re.defaultAdultAmount), isNaN(e.children) && (e.children = Re.defaultChildAmount), s1(un), t.setup();
4930
4932
  });
4931
4933
  }
4932
4934
  function ln(F) {
4933
- De.value = F;
4935
+ xe.value = F;
4934
4936
  }
4935
- function Le() {
4936
- De.value = null;
4937
+ function ke() {
4938
+ xe.value = null;
4937
4939
  }
4938
4940
  return {
4939
4941
  setAccessToken: dt,
4940
- fetchUtilities: Me,
4942
+ fetchUtilities: Ie,
4941
4943
  fetchMetadata: jt,
4942
- clearActiveIdFilter: Le,
4944
+ clearActiveIdFilter: ke,
4943
4945
  setActiveIdFilter: ln,
4944
4946
  enableMultipleConfigurations: lt,
4945
4947
  selectGiftCardAsDefault: Bt,
4946
4948
  hideOptionalLabel: st,
4947
- activeIdFilter: De,
4949
+ activeIdFilter: xe,
4948
4950
  hasActiveIdFilter: sn,
4949
4951
  hasChildSelection: i,
4950
4952
  hasArrivalDepartureInputs: s,
@@ -4958,16 +4960,16 @@ const i0 = (e) => {
4958
4960
  latestDepartureTime: p,
4959
4961
  hotelSettings: o,
4960
4962
  splitBookingCalendar: Ge,
4961
- autoSelectRateId: ge,
4962
- hideEventLength: Ae,
4963
+ autoSelectRateId: ve,
4964
+ hideEventLength: Le,
4963
4965
  hideEventEndTime: an,
4964
4966
  disableDiscountVoucher: B,
4965
- disableTravelingForBleasure: be,
4967
+ disableTravelingForBleasure: Ce,
4966
4968
  enableStickyHeader: oe,
4967
4969
  hasPaymentGateway: Ut,
4968
4970
  hasError: ct,
4969
4971
  name: on,
4970
- hasMetadata: xe,
4972
+ hasMetadata: Me,
4971
4973
  paymentGatewayId: Tt,
4972
4974
  metaData: r,
4973
4975
  currency: $t,
@@ -4980,18 +4982,18 @@ const i0 = (e) => {
4980
4982
  defaultAdultAmount: L,
4981
4983
  defaultChildAmount: S,
4982
4984
  maxAdultAmount: z,
4983
- maxChildAmount: $,
4985
+ maxChildAmount: U,
4984
4986
  firstSelectableDateOffset: H,
4985
4987
  lastSelectableDateOffset: ie,
4986
4988
  hideTitle: G,
4987
- headerHeight: he,
4989
+ headerHeight: ge,
4988
4990
  disableNamePrefix: ne,
4989
4991
  disableGiftCardVoucher: x,
4990
4992
  disablePricesFrom: V,
4991
4993
  hideAvailableRoomAmount: se,
4992
4994
  disableNewsletterSignup: R,
4993
4995
  disableTravelingFor: X,
4994
- disableCompanyField: Pe,
4996
+ disableCompanyField: De,
4995
4997
  isRecaptchaEnabled: rn,
4996
4998
  hideAvailabilityNotice: Ft,
4997
4999
  hideEventGuestAmount: it,
@@ -5012,20 +5014,20 @@ function ce() {
5012
5014
  headers: {
5013
5015
  Accept: "application/json",
5014
5016
  Authorization: rc.value,
5015
- "Konnectio-Version": "4.2.5",
5017
+ "Konnectio-Version": "4.2.6",
5016
5018
  "Konnectio-Ref": y0.ref
5017
5019
  }
5018
5020
  });
5019
5021
  }
5020
5022
  const C0 = Rt("event", () => {
5021
- const e = nc(), { voucher: t } = Jt(tc()), { display: n } = nn(), { metaData: a } = Jt(bt()), o = bt(), r = li(), i = N({}), s = d(() => Object.keys(i.value).length > 0), l = N(void 0), c = N(!0), u = N(Ee.InitialState), f = N(NaN), m = N(1), C = N(NaN), y = N(NaN), p = N(""), g = Q("konnectio_name", "", void 0, { serializer: Y.string }), b = Q("konnectio_phone", "", void 0, { serializer: Y.string }), v = Q("konnectio_email", "", void 0, { serializer: Y.string }), w = N(""), L = N(""), S = N({}), z = N({}), $ = N("");
5023
+ const e = nc(), { voucher: t } = Jt(tc()), { display: n } = nn(), { metaData: a } = Jt(bt()), o = bt(), r = li(), i = N({}), s = d(() => Object.keys(i.value).length > 0), l = N(void 0), c = N(!0), u = N(Ne.InitialState), f = N(NaN), m = N(1), C = N(NaN), y = N(NaN), p = N(""), g = Q("konnectio_name", "", void 0, { serializer: Y.string }), b = Q("konnectio_phone", "", void 0, { serializer: Y.string }), v = Q("konnectio_email", "", void 0, { serializer: Y.string }), w = N(""), L = N(""), S = N({}), z = N({}), U = N("");
5022
5024
  function H(k) {
5023
5025
  return k ? k.templateId !== void 0 : !1;
5024
5026
  }
5025
- const ie = d(() => o.metaData.hotels.findIndex((k) => k.id === r.eventLocation) || 0), G = d(() => o.metaData.hotels[ie.value]), he = d(() => G.value ? G.value.maxNumberPerBooking : 1 / 0), oe = d(() => G.value.name ? G.value.name : ""), ne = d(() => G.value.subtitle ? G.value.subtitle : ""), x = d(() => G.value.timezone ? G.value.timezone : ""), B = N(r.eventDate), V = N(r.eventLocation), se = d(() => B.value !== r.eventDate), R = d(() => V.value !== r.eventLocation), X = d(() => se.value || R.value), be = d(() => r.eventDate.toISOString()), Pe = d(() => H(l.value)), Ae = d(() => H(l.value) ? l.value.numberOfDays : m.value), an = d(() => H(l.value) ? l.value.packageCount : 0), Ft = d(() => H(l.value) ? l.value.fromDate : ""), ge = d(() => i.value.events !== void 0 ? i.value.events.flatMap((k) => k.events).find((k) => k.id === C.value) : void 0), Ge = d(() => ge.value ? ge.value.length : void 0), it = d(() => H(l.value) ? l.value.templateId : 0), st = d(() => i.value.events), lt = d(() => i.value.events.filter((k) => k.isAvailable === !1 && je(k.fromDate) !== je(B.value))), Bt = d(() => i.value.templates), De = d(() => i.value.events.length > 0), Ye = d(() => i.value.templates.length > 0), ct = d(() => ge.value && ge.value.eventRateType ? ge.value.eventRateType : yr.None), ut = d(() => {
5027
+ const ie = d(() => o.metaData.hotels.findIndex((k) => k.id === r.eventLocation) || 0), G = d(() => o.metaData.hotels[ie.value]), ge = d(() => G.value ? G.value.maxNumberPerBooking : 1 / 0), oe = d(() => G.value.name ? G.value.name : ""), ne = d(() => G.value.subtitle ? G.value.subtitle : ""), x = d(() => G.value.timezone ? G.value.timezone : ""), B = N(r.eventDate), V = N(r.eventLocation), se = d(() => B.value !== r.eventDate), R = d(() => V.value !== r.eventLocation), X = d(() => se.value || R.value), Ce = d(() => r.eventDate.toISOString()), De = d(() => H(l.value)), Le = d(() => H(l.value) ? l.value.numberOfDays : m.value), an = d(() => H(l.value) ? l.value.packageCount : 0), Ft = d(() => H(l.value) ? l.value.fromDate : ""), ve = d(() => i.value.events !== void 0 ? i.value.events.flatMap((k) => k.events).find((k) => k.id === C.value) : void 0), Ge = d(() => ve.value ? ve.value.length : void 0), it = d(() => H(l.value) ? l.value.templateId : 0), st = d(() => i.value.events), lt = d(() => i.value.events.filter((k) => k.isAvailable === !1 && je(k.fromDate) !== je(B.value))), Bt = d(() => i.value.templates), xe = d(() => i.value.events.length > 0), Ye = d(() => i.value.templates.length > 0), ct = d(() => ve.value && ve.value.eventRateType ? ve.value.eventRateType : yr.None), ut = d(() => {
5026
5028
  if (!H(l.value))
5027
5029
  return l.value;
5028
- }), xe = d(() => {
5030
+ }), Me = d(() => {
5029
5031
  if (ut.value !== void 0) {
5030
5032
  const k = ut.value.find(
5031
5033
  (K) => K.time === p.value
@@ -5039,35 +5041,35 @@ const C0 = Rt("event", () => {
5039
5041
  return l.value.rooms;
5040
5042
  });
5041
5043
  function ft(k, K, ee) {
5042
- let Ce = 0;
5044
+ let we = 0;
5043
5045
  if (H(l.value)) {
5044
5046
  const ue = l.value.rooms[ee];
5045
5047
  if (ue) {
5046
5048
  const pt = ue.addons, Je = S.value[`${K}.${k}.${ee}`] || 0;
5047
5049
  if (Je > 0) {
5048
- const Be = pt?.find((At) => At.id === k), ke = typeof Je == "boolean" ? 1 : Je;
5049
- Ce += br(Be?.price, Be?.quantityStrategy, Ae.value, ue.adultPerRoom) * ke;
5050
+ const $e = pt?.find((At) => At.id === k), Ee = typeof Je == "boolean" ? 1 : Je;
5051
+ we += br($e?.price, $e?.quantityStrategy, Le.value, ue.adultPerRoom) * Ee;
5050
5052
  }
5051
5053
  }
5052
5054
  } else {
5053
5055
  const ue = z.value[k] || 0;
5054
5056
  if (ue > 0) {
5055
- const pt = ge.value?.products?.find((Je) => Je.id === k);
5056
- pt && (Ce += pt.price * ue);
5057
+ const pt = ve.value?.products?.find((Je) => Je.id === k);
5058
+ pt && (we += pt.price * ue);
5057
5059
  }
5058
5060
  }
5059
- return Ce;
5061
+ return we;
5060
5062
  }
5061
5063
  function on(k, K) {
5062
5064
  let ee = 0;
5063
5065
  if (H(l.value))
5064
- for (const Ce in S.value) {
5065
- const ue = Ce.split(".");
5066
+ for (const we in S.value) {
5067
+ const ue = we.split(".");
5066
5068
  parseInt(ue[0]) === k && parseInt(ue[2]) === K && (ee += ft(parseInt(ue[1]), k, K));
5067
5069
  }
5068
5070
  else
5069
- for (const Ce in z.value)
5070
- ee += ft(parseInt(Ce)) * m.value;
5071
+ for (const we in z.value)
5072
+ ee += ft(parseInt(we)) * m.value;
5071
5073
  return ee;
5072
5074
  }
5073
5075
  const Tt = d(() => H(l.value) && l.value.totalPrice || 0), rn = d(() => {
@@ -5078,7 +5080,7 @@ const C0 = Rt("event", () => {
5078
5080
  ) || 0;
5079
5081
  {
5080
5082
  let k = on();
5081
- return k += xe.value, k;
5083
+ return k += Me.value, k;
5082
5084
  }
5083
5085
  }), sn = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((k) => k.weekendFee).reduce((k, K) => k + K, 0) || 0), Ut = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((k) => k.roomUpgrade).reduce((k, K) => k + K, 0) || 0), dt = d(() => {
5084
5086
  const k = z.value;
@@ -5086,16 +5088,16 @@ const C0 = Rt("event", () => {
5086
5088
  for (const ee in k)
5087
5089
  K += Number.isNaN(k[ee]) ? 0 : k[ee];
5088
5090
  return K;
5089
- }), jt = d(() => dt.value > 0), Me = d(() => !H(l.value) && ge.value ? ge.value.products.length > 0 : !1), ln = d(() => Me.value ? jt.value : !0), Le = d(() => ct.value !== yr.FullDayEvent && !Pe.value), F = d(() => !!(g.value !== "" && v.value !== "" && b.value.length >= 5 && ln.value && (!Le.value || p.value !== "")));
5090
- function Ie(k) {
5091
- return u.value === Ee.ReservationState && C.value === k && c.value;
5091
+ }), jt = d(() => dt.value > 0), Ie = d(() => !H(l.value) && ve.value ? ve.value.products.length > 0 : !1), ln = d(() => Ie.value ? jt.value : !0), ke = d(() => ct.value !== yr.FullDayEvent && !De.value), F = d(() => !!(g.value !== "" && v.value !== "" && b.value.length >= 5 && ln.value && (!ke.value || p.value !== "")));
5092
+ function Re(k) {
5093
+ return u.value === Ne.ReservationState && C.value === k && c.value;
5092
5094
  }
5093
- const cn = d(() => !(u.value === Ee.InitialState && c.value)), un = d(() => !(u.value === Ee.AvailabilityState && c.value)), ko = d(() => l.value !== void 0), oa = d(() => u.value === Ee.PaymentState && c.value);
5095
+ const cn = d(() => !(u.value === Ne.InitialState && c.value)), un = d(() => !(u.value === Ne.AvailabilityState && c.value)), ko = d(() => l.value !== void 0), oa = d(() => u.value === Ne.PaymentState && c.value);
5094
5096
  async function ra() {
5095
5097
  try {
5096
5098
  const k = (await ce().get("/event/metadata", {
5097
5099
  params: {
5098
- language: ye()
5100
+ language: be()
5099
5101
  }
5100
5102
  })).data;
5101
5103
  a.value = k;
@@ -5107,7 +5109,7 @@ const C0 = Rt("event", () => {
5107
5109
  }
5108
5110
  }
5109
5111
  async function Eo() {
5110
- u.value = Ee.AvailabilityState, c.value = !0;
5112
+ u.value = Ne.AvailabilityState, c.value = !0;
5111
5113
  const k = Pt.tz(x.value, new Date(r.eventDate)).setHours(12, 0, 0, 0), K = Pt.tz(x.value).setHours(12, 0, 0, 0);
5112
5114
  if (k < K && (r.eventDate = Pt.tz(x.value)), isNaN(r.eventLocation)) {
5113
5115
  n({
@@ -5119,7 +5121,7 @@ const C0 = Rt("event", () => {
5119
5121
  try {
5120
5122
  const ee = (await ce().get("/event/v2/get", {
5121
5123
  params: {
5122
- language: ye(),
5124
+ language: be(),
5123
5125
  date: je(r.eventDate),
5124
5126
  restaurantId: r.eventLocation,
5125
5127
  eventId: o.hasActiveIdFilter ? o.activeIdFilter : null
@@ -5134,11 +5136,11 @@ const C0 = Rt("event", () => {
5134
5136
  }
5135
5137
  }
5136
5138
  async function No(k) {
5137
- u.value = Ee.ReservationState, c.value = !0;
5139
+ u.value = Ne.ReservationState, c.value = !0;
5138
5140
  try {
5139
5141
  const K = (await ce().get("/event/get-template", {
5140
5142
  params: {
5141
- language: ye(),
5143
+ language: be(),
5142
5144
  date: je(B.value),
5143
5145
  templateId: C.value,
5144
5146
  restaurantId: V.value,
@@ -5150,18 +5152,18 @@ const C0 = Rt("event", () => {
5150
5152
  type: "warning"
5151
5153
  }) : (l.value = K, k()), c.value = !1;
5152
5154
  } catch {
5153
- c.value = !1, u.value = Ee.AvailabilityState, n({
5155
+ c.value = !1, u.value = Ne.AvailabilityState, n({
5154
5156
  message: D.t("alert.error.couldntFetchEvent"),
5155
5157
  type: "warning"
5156
5158
  });
5157
5159
  }
5158
5160
  }
5159
5161
  async function Oo(k) {
5160
- u.value = Ee.ReservationState, c.value = !0;
5162
+ u.value = Ne.ReservationState, c.value = !0;
5161
5163
  try {
5162
5164
  const K = (await ce().get("/event/vacant-times", {
5163
5165
  params: {
5164
- language: ye(),
5166
+ language: be(),
5165
5167
  date: je(B.value),
5166
5168
  numberOfPeople: isNaN(f.value) ? 1 : f.value,
5167
5169
  eventId: C.value,
@@ -5169,21 +5171,21 @@ const C0 = Rt("event", () => {
5169
5171
  restaurantId: V.value
5170
5172
  }
5171
5173
  })).data;
5172
- l.value = K, c.value = !1, Me.value ? k() : k(2);
5174
+ l.value = K, c.value = !1, Ie.value ? k() : k(2);
5173
5175
  } catch {
5174
- c.value = !1, u.value = Ee.AvailabilityState, n({
5176
+ c.value = !1, u.value = Ne.AvailabilityState, n({
5175
5177
  message: D.t("alert.error.couldntFetchEvent"),
5176
5178
  type: "warning"
5177
5179
  });
5178
5180
  }
5179
5181
  }
5180
5182
  async function ia() {
5181
- if ($.value !== "")
5183
+ if (U.value !== "")
5182
5184
  try {
5183
5185
  const k = (await ce().post("/event/validate-discount-code", {
5184
- language: ye(),
5186
+ language: be(),
5185
5187
  date: B.value,
5186
- discountCode: $.value,
5188
+ discountCode: U.value,
5187
5189
  restaurantId: V.value
5188
5190
  })).data;
5189
5191
  console.log(k);
@@ -5200,31 +5202,31 @@ const C0 = Rt("event", () => {
5200
5202
  });
5201
5203
  }
5202
5204
  async function zo(k) {
5203
- u.value = Ee.PaymentState, c.value = !0;
5205
+ u.value = Ne.PaymentState, c.value = !0;
5204
5206
  const K = () => {
5205
- c.value = !1, u.value = Ee.ReservationState, n({
5207
+ c.value = !1, u.value = Ne.ReservationState, n({
5206
5208
  message: D.t("booking.other.errorMessage"),
5207
5209
  type: "warning"
5208
5210
  });
5209
5211
  };
5210
- let ee, Ce, ue;
5212
+ let ee, we, ue;
5211
5213
  const pt = [];
5212
5214
  if (H(l.value))
5213
- $t.value?.forEach((ke, At) => {
5215
+ $t.value?.forEach((Ee, At) => {
5214
5216
  const Tn = [];
5215
5217
  let la = 0;
5216
5218
  for (const ca in S.value) {
5217
5219
  const An = ca.split("."), Ln = S.value[ca];
5218
- parseInt(An[0]) === ke.roomGroupId && parseInt(An[2]) === At && Ln > 0 && (Tn.push({
5220
+ parseInt(An[0]) === Ee.roomGroupId && parseInt(An[2]) === At && Ln > 0 && (Tn.push({
5219
5221
  id: la,
5220
5222
  addonID: parseInt(An[1]),
5221
5223
  quantity: Ln
5222
5224
  }), la++);
5223
5225
  }
5224
5226
  pt.push({
5225
- adultPerRoom: ke.adultPerRoom,
5226
- count: ke.count,
5227
- roomGroupID: ke.roomGroupId,
5227
+ adultPerRoom: Ee.adultPerRoom,
5228
+ count: Ee.count,
5229
+ roomGroupID: Ee.roomGroupId,
5228
5230
  addons: Tn
5229
5231
  });
5230
5232
  }), ee = {
@@ -5235,18 +5237,18 @@ const C0 = Rt("event", () => {
5235
5237
  fromDate: je(B.value)
5236
5238
  };
5237
5239
  else {
5238
- Ce = [], ue = p.value;
5239
- for (const ke in z.value) {
5240
- const At = z.value[parseInt(ke)];
5241
- At > 0 && Ce.push({
5242
- id: parseInt(ke),
5240
+ we = [], ue = p.value;
5241
+ for (const Ee in z.value) {
5242
+ const At = z.value[parseInt(Ee)];
5243
+ At > 0 && we.push({
5244
+ id: parseInt(Ee),
5243
5245
  quantity: At
5244
5246
  });
5245
5247
  }
5246
5248
  }
5247
5249
  let Je = "/event/book-template";
5248
- const Be = {
5249
- language: ye(),
5250
+ const $e = {
5251
+ language: be(),
5250
5252
  restaurantId: V.value,
5251
5253
  date: je(B.value),
5252
5254
  name: g.value,
@@ -5254,17 +5256,17 @@ const C0 = Rt("event", () => {
5254
5256
  phone: b.value,
5255
5257
  remark: w.value,
5256
5258
  numberOfPeople: isNaN(f.value) ? dt.value : f.value,
5257
- days: Ae.value > 0 ? Ae.value : 1,
5259
+ days: Le.value > 0 ? Le.value : 1,
5258
5260
  allergyFood: L.value,
5259
- discountCode: $.value,
5261
+ discountCode: U.value,
5260
5262
  giftCardCode: t.value,
5261
5263
  checkoutUrl: window.location.origin,
5262
5264
  privacyUrl: window.location.origin
5263
5265
  };
5264
- H(l.value) ? Be.templateGroup = ee : (Be.time = ue, Be.eventId = C.value, Be.products = Ce, Je = "/event/book-event"), await ce().post(Je, Be).then((ke) => {
5266
+ H(l.value) ? $e.templateGroup = ee : ($e.time = ue, $e.eventId = C.value, $e.products = we, Je = "/event/book-event"), await ce().post(Je, $e).then((Ee) => {
5265
5267
  c.value = !1, e.pay({
5266
5268
  callback: k,
5267
- response: ke.data
5269
+ response: Ee.data
5268
5270
  });
5269
5271
  }).catch(() => K());
5270
5272
  }
@@ -5272,7 +5274,7 @@ const C0 = Rt("event", () => {
5272
5274
  l.value = void 0, S.value = {}, z.value = {}, p.value = "", k && r.resetEventDate();
5273
5275
  }
5274
5276
  function Do(k) {
5275
- Pe.value || Me.value ? k() : k(2);
5277
+ De.value || Ie.value ? k() : k(2);
5276
5278
  }
5277
5279
  async function sa() {
5278
5280
  await Promise.all([ra(), r.fetchMetadata()]);
@@ -5284,7 +5286,7 @@ const C0 = Rt("event", () => {
5284
5286
  currentEventLocation: V,
5285
5287
  metaData: a,
5286
5288
  listingData: i,
5287
- tableBasePrice: xe,
5289
+ tableBasePrice: Me,
5288
5290
  availabilityData: l,
5289
5291
  isLoading: c,
5290
5292
  moduleState: u,
@@ -5295,25 +5297,25 @@ const C0 = Rt("event", () => {
5295
5297
  arrivalTime: p,
5296
5298
  addons: S,
5297
5299
  products: z,
5298
- discountCode: $,
5300
+ discountCode: U,
5299
5301
  name: g,
5300
5302
  phone: b,
5301
5303
  email: v,
5302
5304
  remark: w,
5303
- isTemplateEvent: Pe,
5304
- maxNumberOfPeople: he,
5305
+ isTemplateEvent: De,
5306
+ maxNumberOfPeople: ge,
5305
5307
  title: oe,
5306
5308
  subtitle: ne,
5307
- date: be,
5308
- numberOfTotalDays: Ae,
5309
+ date: Ce,
5310
+ numberOfTotalDays: Le,
5309
5311
  numberOfRooms: an,
5310
5312
  fromDate: Ft,
5311
- getEventData: ge,
5313
+ getEventData: ve,
5312
5314
  length: Ge,
5313
5315
  templateId: it,
5314
5316
  getEvents: st,
5315
5317
  getTemplates: Bt,
5316
- hasEvents: De,
5318
+ hasEvents: xe,
5317
5319
  hasTemplates: Ye,
5318
5320
  basePrice: Tt,
5319
5321
  totalPrice: rn,
@@ -5321,14 +5323,14 @@ const C0 = Rt("event", () => {
5321
5323
  getEventTableData: ut,
5322
5324
  roomUpgrade: Ut,
5323
5325
  weekendFee: sn,
5324
- hasProducts: Me,
5326
+ hasProducts: Ie,
5325
5327
  eventRateType: ct,
5326
5328
  isReservationFormFilled: F,
5327
5329
  isMetadataAvailable: cn,
5328
5330
  areListingsAvailable: un,
5329
5331
  isAvailabilityDataAvailable: ko,
5330
5332
  isPaymentLoading: oa,
5331
- isEventListingLoading: Ie,
5333
+ isEventListingLoading: Re,
5332
5334
  fetchMetadata: ra,
5333
5335
  fetchListings: Eo,
5334
5336
  getTemplateAvailability: No,
@@ -5343,7 +5345,7 @@ const C0 = Rt("event", () => {
5343
5345
  hasListingData: s,
5344
5346
  hasSelectedProducts: jt,
5345
5347
  totalSelectedProducts: dt,
5346
- requiresArrivalTime: Le,
5348
+ requiresArrivalTime: ke,
5347
5349
  hasSelectedRequiredProducts: ln,
5348
5350
  getUnavailableEvents: lt,
5349
5351
  timezone: x
@@ -5354,19 +5356,19 @@ const C0 = Rt("event", () => {
5354
5356
  if (y.value)
5355
5357
  return o.value.hotels.some((X) => X.id === R);
5356
5358
  }
5357
- const w = Q("k_event_loc", NaN, void 0, { serializer: Y.number }), L = Q("k_event_loc_c", NaN, void 0, { serializer: Y.number }), S = Q("k_event_date", vs(), void 0, { serializer: Y.date }), z = d(() => !!o.value && o.value.events.length > 1), $ = d(() => o.value ? o.value.events : []);
5359
+ const w = Q("k_event_loc", NaN, void 0, { serializer: Y.number }), L = Q("k_event_loc_c", NaN, void 0, { serializer: Y.number }), S = Q("k_event_date", vs(), void 0, { serializer: Y.date }), z = d(() => !!o.value && o.value.events.length > 1), U = d(() => o.value ? o.value.events : []);
5358
5360
  function H(R) {
5359
5361
  if (y.value)
5360
5362
  return o.value.events.some((X) => X.id === R);
5361
5363
  }
5362
5364
  function ie(R) {
5363
- const X = g.value.find(({ id: be }) => be === R);
5365
+ const X = g.value.find(({ id: Ce }) => Ce === R);
5364
5366
  return X ? X.name : "";
5365
5367
  }
5366
5368
  function G() {
5367
5369
  r.value = ys();
5368
5370
  }
5369
- function he(R) {
5371
+ function ge(R) {
5370
5372
  S.value = R, e.fetchListings();
5371
5373
  }
5372
5374
  function oe(R, X) {
@@ -5375,11 +5377,11 @@ const C0 = Rt("event", () => {
5375
5377
  function ne({
5376
5378
  adults: R,
5377
5379
  children: X,
5378
- arrivalDate: be,
5379
- departureDate: Pe,
5380
- location: Ae = NaN
5380
+ arrivalDate: Ce,
5381
+ departureDate: De,
5382
+ location: Le = NaN
5381
5383
  }) {
5382
- G(), s.value = R, l.value = X, c.value = be, u.value = Pe, f.value = Ae;
5384
+ G(), s.value = R, l.value = X, c.value = Ce, u.value = De, f.value = Le;
5383
5385
  }
5384
5386
  function x({ date: R, location: X }) {
5385
5387
  S.value = R, w.value = X;
@@ -5394,7 +5396,7 @@ const C0 = Rt("event", () => {
5394
5396
  try {
5395
5397
  const R = (await ce().get("/availability/metadata", {
5396
5398
  params: {
5397
- language: ye()
5399
+ language: be()
5398
5400
  }
5399
5401
  })).data;
5400
5402
  o.value = R, i.value && V(), R.defaultHotelId && (isNaN(m.value) ? m.value = R.defaultHotelId : m.value !== R.defaultHotelId && (m.value = R.defaultHotelId, f.value = m.value), isNaN(f.value) && (f.value = R.defaultHotelId)), R.defaultEventId && (isNaN(L.value) ? L.value = R.defaultEventId : L.value !== R.defaultEventId && (L.value = R.defaultEventId, w.value = L.value), isNaN(w.value) && (w.value = R.defaultEventId));
@@ -5420,7 +5422,7 @@ const C0 = Rt("event", () => {
5420
5422
  hasHotelLocations: p,
5421
5423
  hasEventLocations: z,
5422
5424
  hotelLocations: g,
5423
- eventLocations: $,
5425
+ eventLocations: U,
5424
5426
  eventLocationControl: L,
5425
5427
  controlLocation: m,
5426
5428
  hasSelectedLocation: C,
@@ -5434,7 +5436,7 @@ const C0 = Rt("event", () => {
5434
5436
  isValidRestaurantId: H,
5435
5437
  getHotelLocationName: ie,
5436
5438
  resetEventDate: B,
5437
- updateEventDate: he
5439
+ updateEventDate: ge
5438
5440
  };
5439
5441
  });
5440
5442
  /*!
@@ -5552,7 +5554,7 @@ var A0 = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, L0
5552
5554
  GROUP: "duotone-group",
5553
5555
  PRIMARY: "primary",
5554
5556
  SECONDARY: "secondary"
5555
- }, fc = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], me = "classic", wo = "duotone", E0 = "sharp", N0 = "sharp-duotone", dc = [me, wo, E0, N0], O0 = {
5557
+ }, fc = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], he = "classic", wo = "duotone", E0 = "sharp", N0 = "sharp-duotone", dc = [he, wo, E0, N0], O0 = {
5556
5558
  classic: {
5557
5559
  900: "fas",
5558
5560
  400: "far",
@@ -5789,22 +5791,22 @@ const Ct = "___FONT_AWESOME___", Pr = 16, mc = "fa", hc = "svg-inline--fa", Zt =
5789
5791
  function na(e) {
5790
5792
  return new Proxy(e, {
5791
5793
  get(t, n) {
5792
- return n in t ? t[n] : t[me];
5794
+ return n in t ? t[n] : t[he];
5793
5795
  }
5794
5796
  });
5795
5797
  }
5796
5798
  const vc = A({}, uc);
5797
- vc[me] = A(A(A(A({}, {
5799
+ vc[he] = A(A(A(A({}, {
5798
5800
  "fa-duotone": "duotone"
5799
- }), uc[me]), Ts.kit), Ts["kit-duotone"]);
5801
+ }), uc[he]), Ts.kit), Ts["kit-duotone"]);
5800
5802
  const X0 = na(vc), xr = A({}, D0);
5801
- xr[me] = A(A(A(A({}, {
5803
+ xr[he] = A(A(A(A({}, {
5802
5804
  duotone: "fad"
5803
- }), xr[me]), As.kit), As["kit-duotone"]);
5805
+ }), xr[he]), As.kit), As["kit-duotone"]);
5804
5806
  const ks = na(xr), Mr = A({}, Or);
5805
- Mr[me] = A(A({}, Mr[me]), _0.kit);
5807
+ Mr[he] = A(A({}, Mr[he]), _0.kit);
5806
5808
  const di = na(Mr), Ir = A({}, U0);
5807
- Ir[me] = A(A({}, Ir[me]), I0.kit);
5809
+ Ir[he] = A(A({}, Ir[he]), I0.kit);
5808
5810
  na(Ir);
5809
5811
  const Q0 = A0, yc = "fa-layers-text", Z0 = L0, ef = A({}, O0);
5810
5812
  na(ef);
@@ -5824,7 +5826,7 @@ Z && typeof Z.querySelector == "function" && [["data-family-prefix", "familyPref
5824
5826
  });
5825
5827
  const bc = {
5826
5828
  styleDefault: "solid",
5827
- familyDefault: me,
5829
+ familyDefault: he,
5828
5830
  cssPrefix: mc,
5829
5831
  replacementClass: hc,
5830
5832
  autoReplaceSvg: !0,
@@ -6687,7 +6689,7 @@ const Dc = () => ({
6687
6689
  rest: []
6688
6690
  });
6689
6691
  function Tf(e) {
6690
- let t = me;
6692
+ let t = he;
6691
6693
  const n = Ac.reduce((a, o) => (a[o] = "".concat(O.cssPrefix, "-").concat(o), a), {});
6692
6694
  return dc.forEach((a) => {
6693
6695
  (e.includes(n[a]) || e.some((o) => yf[a].includes(o))) && (t = a);
@@ -6696,7 +6698,7 @@ function Tf(e) {
6696
6698
  function To(e) {
6697
6699
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6698
6700
  const {
6699
- family: n = me
6701
+ family: n = he
6700
6702
  } = t, a = X0[n][e];
6701
6703
  if (n === wo && !e)
6702
6704
  return "fad";
@@ -6752,7 +6754,7 @@ function Lf(e, t, n) {
6752
6754
  iconName: o
6753
6755
  };
6754
6756
  }
6755
- const kf = dc.filter((e) => e !== me || e !== wo), Ef = Object.keys(Or).filter((e) => e !== me).map((e) => Object.keys(Or[e])).flat();
6757
+ const kf = dc.filter((e) => e !== he || e !== wo), Ef = Object.keys(Or).filter((e) => e !== he).map((e) => Object.keys(Or[e])).flat();
6756
6758
  function Nf(e) {
6757
6759
  const {
6758
6760
  values: t,
@@ -6778,7 +6780,7 @@ class Of {
6778
6780
  const o = n.reduce(this._pullDefinitions, {});
6779
6781
  Object.keys(o).forEach((r) => {
6780
6782
  this.definitions[r] = A(A({}, this.definitions[r] || {}), o[r]), _r(r, o[r]);
6781
- const i = di[me][r];
6783
+ const i = di[he][r];
6782
6784
  i && _r(i, o[r]), zc();
6783
6785
  });
6784
6786
  }
@@ -6902,7 +6904,7 @@ const xc = new Of(), Df = () => {
6902
6904
  };
6903
6905
  }
6904
6906
  }
6905
- }, ze = {
6907
+ }, Pe = {
6906
6908
  noAuto: Df,
6907
6909
  config: O,
6908
6910
  dom: xf,
@@ -6915,7 +6917,7 @@ const xc = new Of(), Df = () => {
6915
6917
  const {
6916
6918
  autoReplaceSvgRoot: t = Z
6917
6919
  } = e;
6918
- (Object.keys(rt.styles).length > 0 || O.autoFetchSvg) && St && O.autoReplaceSvg && ze.dom.i2svg({
6920
+ (Object.keys(rt.styles).length > 0 || O.autoFetchSvg) && St && O.autoReplaceSvg && Pe.dom.i2svg({
6919
6921
  node: t
6920
6922
  });
6921
6923
  };
@@ -7737,8 +7739,8 @@ function Us(e, t) {
7737
7739
  iconName: v,
7738
7740
  extra: L,
7739
7741
  watchable: !0
7740
- })), $ = Z.createElementNS("http://www.w3.org/2000/svg", "svg");
7741
- t === "::before" ? e.insertBefore($, e.firstChild) : e.appendChild($), $.outerHTML = z.map((H) => aa(H)).join(`
7742
+ })), U = Z.createElementNS("http://www.w3.org/2000/svg", "svg");
7743
+ t === "::before" ? e.insertBefore(U, e.firstChild) : e.appendChild(U), U.outerHTML = z.map((H) => aa(H)).join(`
7742
7744
  `), e.removeAttribute(n), a();
7743
7745
  }).catch(o);
7744
7746
  } else
@@ -8080,19 +8082,19 @@ var y4 = {
8080
8082
  }
8081
8083
  }, w4 = [pf, o4, r4, i4, s4, m4, h4, g4, y4, b4, C4];
8082
8084
  Pf(w4, {
8083
- mixoutsTo: ze
8085
+ mixoutsTo: Pe
8084
8086
  });
8085
- ze.noAuto;
8086
- ze.config;
8087
- const S4 = ze.library;
8088
- ze.dom;
8089
- const Wr = ze.parse;
8090
- ze.findIconDefinition;
8091
- ze.toHtml;
8092
- const T4 = ze.icon;
8093
- ze.layer;
8094
- ze.text;
8095
- ze.counter;
8087
+ Pe.noAuto;
8088
+ Pe.config;
8089
+ const S4 = Pe.library;
8090
+ Pe.dom;
8091
+ const Wr = Pe.parse;
8092
+ Pe.findIconDefinition;
8093
+ Pe.toHtml;
8094
+ const T4 = Pe.icon;
8095
+ Pe.layer;
8096
+ Pe.text;
8097
+ Pe.counter;
8096
8098
  function qs(e, t) {
8097
8099
  var n = Object.keys(e);
8098
8100
  if (Object.getOwnPropertySymbols) {
@@ -8107,7 +8109,7 @@ function vt(e) {
8107
8109
  for (var t = 1; t < arguments.length; t++) {
8108
8110
  var n = arguments[t] != null ? arguments[t] : {};
8109
8111
  t % 2 ? qs(Object(n), !0).forEach(function(a) {
8110
- we(e, a, n[a]);
8112
+ Se(e, a, n[a]);
8111
8113
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qs(Object(n)).forEach(function(a) {
8112
8114
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
8113
8115
  });
@@ -8136,7 +8138,7 @@ function co(e) {
8136
8138
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8137
8139
  }, co(e);
8138
8140
  }
8139
- function we(e, t, n) {
8141
+ function Se(e, t, n) {
8140
8142
  return t = L4(t), t in e ? Object.defineProperty(e, t, {
8141
8143
  value: n,
8142
8144
  enumerable: !0,
@@ -8176,8 +8178,8 @@ var N4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
8176
8178
  L.push(n(b, v[S], w));
8177
8179
  else {
8178
8180
  L = {};
8179
- for (var $ in v)
8180
- Object.prototype.hasOwnProperty.call(v, $) && (L[b($, w)] = n(b, v[$], w));
8181
+ for (var U in v)
8182
+ Object.prototype.hasOwnProperty.call(v, U) && (L[b(U, w)] = n(b, v[U], w));
8181
8183
  }
8182
8184
  return L;
8183
8185
  }, a = function(b, v) {
@@ -8292,7 +8294,7 @@ function x4() {
8292
8294
  }
8293
8295
  }
8294
8296
  function or(e, t) {
8295
- return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? we({}, e, t) : {};
8297
+ return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? Se({}, e, t) : {};
8296
8298
  }
8297
8299
  function M4(e) {
8298
8300
  var t, n = (t = {
@@ -8305,7 +8307,7 @@ function M4(e) {
8305
8307
  "fa-flip": e.flip === !0,
8306
8308
  "fa-flip-horizontal": e.flip === "horizontal" || e.flip === "both",
8307
8309
  "fa-flip-vertical": e.flip === "vertical" || e.flip === "both"
8308
- }, we(we(we(we(we(we(we(we(we(we(t, "fa-".concat(e.size), e.size !== null), "fa-rotate-".concat(e.rotation), e.rotation !== null), "fa-pull-".concat(e.pull), e.pull !== null), "fa-swap-opacity", e.swapOpacity), "fa-bounce", e.bounce), "fa-shake", e.shake), "fa-beat", e.beat), "fa-fade", e.fade), "fa-beat-fade", e.beatFade), "fa-flash", e.flash), we(we(t, "fa-spin-pulse", e.spinPulse), "fa-spin-reverse", e.spinReverse));
8310
+ }, Se(Se(Se(Se(Se(Se(Se(Se(Se(Se(t, "fa-".concat(e.size), e.size !== null), "fa-rotate-".concat(e.rotation), e.rotation !== null), "fa-pull-".concat(e.pull), e.pull !== null), "fa-swap-opacity", e.swapOpacity), "fa-bounce", e.bounce), "fa-shake", e.shake), "fa-beat", e.beat), "fa-fade", e.fade), "fa-beat-fade", e.beatFade), "fa-flash", e.flash), Se(Se(t, "fa-spin-pulse", e.spinPulse), "fa-spin-reverse", e.spinReverse));
8309
8311
  return Object.keys(n).map(function(a) {
8310
8312
  return n[a] ? a : null;
8311
8313
  }).filter(function(a) {
@@ -9029,7 +9031,7 @@ const y6 = {
9029
9031
  tn(Xn, {
9030
9032
  icon: t[J(a)]
9031
9033
  }, null, 8, ["icon"]),
9032
- q("span", null, Fe(J(n)), 1)
9034
+ q("span", null, Be(J(n)), 1)
9033
9035
  ])) : le("", !0)
9034
9036
  ], 2));
9035
9037
  }
@@ -9096,7 +9098,7 @@ const y6 = {
9096
9098
  a.setProperty("--accentColor", n.value.accentColor), a.setProperty("--accentColorSecondary", n.value.accentColorSecondary), a.setProperty("--buttonBackground", n.value.buttonBackground), a.setProperty("--buttonBorder", n.value.buttonBorder), a.setProperty("--buttonBorderRadius", n.value.buttonBorderRadius), a.setProperty("--buttonColor", n.value.buttonColor), a.setProperty("--buttonFontFamily", n.value.buttonFontFamily), a.setProperty("--buttonFontSize", n.value.buttonFontSize), a.setProperty("--buttonFontWeight", n.value.buttonFontWeight), a.setProperty("--buttonTextTransform", n.value.buttonTextTransform), a.setProperty("--dangerColor", n.value.dangerColor), a.setProperty("--fontColor", n.value.fontColor), a.setProperty("--fontFamily", n.value.fontFamily), a.setProperty("--fontWeight", n.value.fontWeight), a.setProperty("--fontSize", n.value.fontSize), a.setProperty("--grayColor", n.value.grayColor), a.setProperty("--headerColor", n.value.headerColor), a.setProperty("--headerFontFamily", n.value.headerFontFamily), a.setProperty("--headerLetterSpacing", n.value.headerLetterSpacing), a.setProperty("--headerTextTransform", n.value.headerTextTransform), a.setProperty("--inputBackground", n.value.inputBackground), a.setProperty("--inputBorder", n.value.inputBorder), a.setProperty("--inputBorderRadius", n.value.inputBorderRadius), a.setProperty("--inputBorderWidth", n.value.inputBorderWidth), a.setProperty("--inputFontColor", n.value.inputFontColor), a.setProperty("--inputFontWeight", n.value.inputFontWeight), a.setProperty("--inputFontSize", n.value.inputFontSize), a.setProperty("--labelFontColor", n.value.labelFontColor), a.setProperty("--labelFontWeight", n.value.labelFontWeight), a.setProperty("--labelFontSize", n.value.labelFontSize), a.setProperty("--labelPadding", n.value.labelPadding), a.setProperty("--labelTextTransform", n.value.labelTextTransform), a.setProperty("--linkColor", n.value.linkColor), a.setProperty("--linkHoverColor", n.value.linkHoverColor), a.setProperty("--loadingColor", n.value.loadingColor), a.setProperty("--panelBackground", n.value.panelBackground), a.setProperty("--panelBorder", n.value.panelBorder), a.setProperty("--panelBorderRadius", n.value.panelBorderRadius), a.setProperty("--panelInnerPadding", n.value.panelInnerPadding), a.setProperty("--panelMaxWidth", n.value.panelMaxWidth), a.setProperty("--panelPadding", n.value.panelPadding), a.setProperty("--panelSectionBackground", n.value.panelSectionBackground), a.setProperty("--panelSectionBorder", n.value.panelSectionBorder), a.setProperty("--panelSectionBorderRadius", n.value.panelSectionBorderRadius), a.setProperty("--panelShadow", n.value.panelShadow), a.setProperty("--successColor", n.value.successColor), a.setProperty("--stepBarBorderRadius", n.value.stepBarBorderRadius), a.setProperty("--stepBarBackground", n.value.stepBarBackground);
9097
9099
  }), (a, o) => (M(), j("div", null, [
9098
9100
  q("div", Qd, [
9099
- ve(a.$slots, "default", {}, void 0, !0)
9101
+ ye(a.$slots, "default", {}, void 0, !0)
9100
9102
  ]),
9101
9103
  tn(Xd, { "local-domain": "global" })
9102
9104
  ]));
@@ -9188,8 +9190,8 @@ const r3 = /* @__PURE__ */ _t(n3, [["render", o3], ["__scopeId", "data-v-88ad2e2
9188
9190
  "icon-color": i.iconColor
9189
9191
  }, null, 8, ["icon", "type", "icon-color"])) : le("", !0)
9190
9192
  ]),
9191
- i.label ? (M(), j("span", l3, Fe(i.label), 1)) : le("", !0),
9192
- i.subLabel ? (M(), j("span", c3, Fe(i.subLabel), 1)) : le("", !0),
9193
+ i.label ? (M(), j("span", l3, Be(i.label), 1)) : le("", !0),
9194
+ i.subLabel ? (M(), j("span", c3, Be(i.subLabel), 1)) : le("", !0),
9193
9195
  q("i", u3, [
9194
9196
  tn(Xn, {
9195
9197
  icon: "chevron-right",
@@ -9252,12 +9254,12 @@ const r3 = /* @__PURE__ */ _t(n3, [["render", o3], ["__scopeId", "data-v-88ad2e2
9252
9254
  type: l.iconType
9253
9255
  }, null, 8, ["icon", "icon-color", "type"])) : le("", !0),
9254
9256
  q("span", null, [
9255
- Hn(Fe(l.label) + " ", 1),
9256
- !J(a) && !l.required && !l.noOptionalLabel && !l.readonly ? (M(), j("span", m3, "(" + Fe(J(n)("booking.reservation.optional")) + ")", 1)) : le("", !0)
9257
+ Hn(Be(l.label) + " ", 1),
9258
+ !J(a) && !l.required && !l.noOptionalLabel && !l.readonly ? (M(), j("span", m3, "(" + Be(J(n)("booking.reservation.optional")) + ")", 1)) : le("", !0)
9257
9259
  ])
9258
9260
  ], 2),
9259
9261
  l.description && l.descriptionPlacement === "label" ? (M(), j("div", h3, [
9260
- q("span", null, Fe(`(${l.description})`), 1)
9262
+ q("span", null, Be(`(${l.description})`), 1)
9261
9263
  ])) : le("", !0)
9262
9264
  ], 8, p3)) : le("", !0),
9263
9265
  q("div", {
@@ -9280,7 +9282,7 @@ const r3 = /* @__PURE__ */ _t(n3, [["render", o3], ["__scopeId", "data-v-88ad2e2
9280
9282
  type: l.iconType
9281
9283
  }, null, 8, ["icon", "icon-color", "type"])
9282
9284
  ], 8, g3)) : le("", !0),
9283
- ve(l.$slots, "default")
9285
+ ye(l.$slots, "default")
9284
9286
  ], 2),
9285
9287
  l.description && l.descriptionPlacement === "field" ? (M(), j("div", v3, [
9286
9288
  q("span", { innerHTML: l.description }, null, 8, y3)
@@ -9658,7 +9660,7 @@ const Zp = /* @__PURE__ */ qe({
9658
9660
  ]),
9659
9661
  p.suffix ? (M(), j("div", P3, [
9660
9662
  q("div", null, [
9661
- q("span", null, Fe(p.suffix), 1)
9663
+ q("span", null, Be(p.suffix), 1)
9662
9664
  ])
9663
9665
  ])) : le("", !0),
9664
9666
  p.clipboard ? (M(), j("div", D3, [
@@ -9667,7 +9669,7 @@ const Zp = /* @__PURE__ */ qe({
9667
9669
  class: "konnectio-copy-button",
9668
9670
  onClick: g[2] || (g[2] = ir((v) => J(l)(s.value), ["prevent"]))
9669
9671
  }, [
9670
- q("span", null, Fe(J(a)("general.copy")), 1)
9672
+ q("span", null, Be(J(a)("general.copy")), 1)
9671
9673
  ])
9672
9674
  ])), [
9673
9675
  [b, {
@@ -9682,9 +9684,9 @@ const Zp = /* @__PURE__ */ qe({
9682
9684
  u.value !== 1 / 0 ? (M(), j("div", x3, [
9683
9685
  q("span", {
9684
9686
  class: We({ danger: u.value <= 15 })
9685
- }, Fe(u.value), 3),
9687
+ }, Be(u.value), 3),
9686
9688
  g[3] || (g[3] = Hn("/")),
9687
- q("small", null, Fe(p.limit), 1)
9689
+ q("small", null, Be(p.limit), 1)
9688
9690
  ])) : le("", !0)
9689
9691
  ]),
9690
9692
  _: 1
@@ -10337,7 +10339,7 @@ function yp(e, t, n, a, o, r) {
10337
10339
  dir: n.dir,
10338
10340
  class: We(["v-select", r.stateClasses])
10339
10341
  }, [
10340
- ve(e.$slots, "header", Ue(Ze(r.scope.header))),
10342
+ ye(e.$slots, "header", Ue(Ze(r.scope.header))),
10341
10343
  q("div", {
10342
10344
  id: `vs${n.uid}__combobox`,
10343
10345
  ref: "toggle",
@@ -10349,7 +10351,7 @@ function yp(e, t, n, a, o, r) {
10349
10351
  onMousedown: t[1] || (t[1] = (s) => r.toggleDropdown(s))
10350
10352
  }, [
10351
10353
  q("div", lp, [
10352
- (M(!0), j(rr, null, Ri(r.selectedValue, (s, l) => ve(e.$slots, "selected-option-container", {
10354
+ (M(!0), j(rr, null, Ri(r.selectedValue, (s, l) => ye(e.$slots, "selected-option-container", {
10353
10355
  option: r.normalizeOptionForSlot(s),
10354
10356
  deselect: r.deselect,
10355
10357
  multiple: n.multiple,
@@ -10359,8 +10361,8 @@ function yp(e, t, n, a, o, r) {
10359
10361
  key: n.getOptionKey(s),
10360
10362
  class: "vs__selected"
10361
10363
  }, [
10362
- ve(e.$slots, "selected-option", Ue(Ze(r.normalizeOptionForSlot(s))), () => [
10363
- Hn(Fe(n.getOptionLabel(s)), 1)
10364
+ ye(e.$slots, "selected-option", Ue(Ze(r.normalizeOptionForSlot(s))), () => [
10365
+ Hn(Be(n.getOptionLabel(s)), 1)
10364
10366
  ]),
10365
10367
  n.multiple ? (M(), j("button", {
10366
10368
  key: 0,
@@ -10377,7 +10379,7 @@ function yp(e, t, n, a, o, r) {
10377
10379
  ], 8, cp)) : le("", !0)
10378
10380
  ]))
10379
10381
  ])), 256)),
10380
- ve(e.$slots, "search", Ue(Ze(r.scope.search)), () => [
10382
+ ye(e.$slots, "search", Ue(Ze(r.scope.search)), () => [
10381
10383
  q("input", Vn({ class: "vs__search" }, r.scope.search.attributes, f1(r.scope.search.events)), null, 16)
10382
10384
  ])
10383
10385
  ], 512),
@@ -10395,10 +10397,10 @@ function yp(e, t, n, a, o, r) {
10395
10397
  ], 8, fp), [
10396
10398
  [_i, r.showClearButton]
10397
10399
  ]),
10398
- ve(e.$slots, "open-indicator", Ue(Ze(r.scope.openIndicator)), () => [
10400
+ ye(e.$slots, "open-indicator", Ue(Ze(r.scope.openIndicator)), () => [
10399
10401
  n.noDrop ? le("", !0) : (M(), Ve(Uo(r.childComponents.OpenIndicator), Ue(Vn({ key: 0 }, r.scope.openIndicator.attributes)), null, 16))
10400
10402
  ]),
10401
- ve(e.$slots, "spinner", Ue(Ze(r.scope.spinner)), () => [
10403
+ ye(e.$slots, "spinner", Ue(Ze(r.scope.spinner)), () => [
10402
10404
  hn(q("div", dp, "Loading...", 512), [
10403
10405
  [_i, e.mutableLoading]
10404
10406
  ])
@@ -10417,7 +10419,7 @@ function yp(e, t, n, a, o, r) {
10417
10419
  onMousedown: t[2] || (t[2] = ir((...s) => r.onMousedown && r.onMousedown(...s), ["prevent"])),
10418
10420
  onMouseup: t[3] || (t[3] = (...s) => r.onMouseUp && r.onMouseUp(...s))
10419
10421
  }, [
10420
- ve(e.$slots, "list-header", Ue(Ze(r.scope.listHeader))),
10422
+ ye(e.$slots, "list-header", Ue(Ze(r.scope.listHeader))),
10421
10423
  (M(!0), j(rr, null, Ri(r.filteredOptions, (s, l) => (M(), j("li", {
10422
10424
  id: `vs${n.uid}__option-${l}`,
10423
10425
  key: n.getOptionKey(s),
@@ -10432,16 +10434,16 @@ function yp(e, t, n, a, o, r) {
10432
10434
  onMouseover: (c) => n.selectable(s) ? e.typeAheadPointer = l : null,
10433
10435
  onClick: ir((c) => n.selectable(s) ? r.select(s) : null, ["prevent", "stop"])
10434
10436
  }, [
10435
- ve(e.$slots, "option", Ue(Ze(r.normalizeOptionForSlot(s))), () => [
10436
- Hn(Fe(n.getOptionLabel(s)), 1)
10437
+ ye(e.$slots, "option", Ue(Ze(r.normalizeOptionForSlot(s))), () => [
10438
+ Hn(Be(n.getOptionLabel(s)), 1)
10437
10439
  ])
10438
10440
  ], 42, mp))), 128)),
10439
10441
  r.filteredOptions.length === 0 ? (M(), j("li", hp, [
10440
- ve(e.$slots, "no-options", Ue(Ze(r.scope.noOptions)), () => [
10442
+ ye(e.$slots, "no-options", Ue(Ze(r.scope.noOptions)), () => [
10441
10443
  gp
10442
10444
  ])
10443
10445
  ])) : le("", !0),
10444
- ve(e.$slots, "list-footer", Ue(Ze(r.scope.listFooter)))
10446
+ ye(e.$slots, "list-footer", Ue(Ze(r.scope.listFooter)))
10445
10447
  ], 40, pp)), [
10446
10448
  [i]
10447
10449
  ]) : (M(), j("ul", {
@@ -10453,7 +10455,7 @@ function yp(e, t, n, a, o, r) {
10453
10455
  ]),
10454
10456
  _: 3
10455
10457
  }, 8, ["name"]),
10456
- ve(e.$slots, "footer", Ue(Ze(r.scope.footer)))
10458
+ ye(e.$slots, "footer", Ue(Ze(r.scope.footer)))
10457
10459
  ], 10, ip);
10458
10460
  }
10459
10461
  const bp = /* @__PURE__ */ Si(rp, [["render", yp]]), tm = /* @__PURE__ */ qe({
@@ -10521,10 +10523,10 @@ const bp = /* @__PURE__ */ Si(rp, [["render", yp]]), tm = /* @__PURE__ */ qe({
10521
10523
  "onOption:selected": i
10522
10524
  }, {
10523
10525
  option: mn((u) => [
10524
- ve(l.$slots, "option", { data: u })
10526
+ ye(l.$slots, "option", { data: u })
10525
10527
  ]),
10526
10528
  "selected-option": mn((u) => [
10527
- ve(l.$slots, "selected-option", { data: u })
10529
+ ye(l.$slots, "selected-option", { data: u })
10528
10530
  ]),
10529
10531
  _: 3
10530
10532
  }, 8, ["modelValue", "label", "input-id", "reduce", "get-option-label", "placeholder", "options", "multiple", "taggable", "autocomplete", "clearable", "noDrop", "searchable"])
@@ -10576,9 +10578,9 @@ export {
10576
10578
  Ep as t,
10577
10579
  li as u,
10578
10580
  Jp as v,
10579
- ye as w,
10581
+ be as w,
10580
10582
  Ci as x,
10581
10583
  tc as y,
10582
10584
  nc as z
10583
10585
  };
10584
- //# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-BdsA6lLD.js.map
10586
+ //# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-CRibXGhn.js.map