@konnectio/core 4.1.7 → 4.1.8

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-DjTI464b.js → ActionField-Dk-DXAwr.js} +2 -2
  2. package/dist/ActionField-Dk-DXAwr.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BRDT9bRg.js → AvailabilitySkeleton-DYRL3P88.js} +5 -5
  4. package/dist/AvailabilitySkeleton-DYRL3P88.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-wugi72k0.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-nsT92tpR.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-nsT92tpR.js.br +0 -0
  7. package/dist/{CheckoutWindow-CL1xtDPl.js → CheckoutWindow-C6ZIbVCh.js} +2 -2
  8. package/dist/CheckoutWindow-C6ZIbVCh.js.br +0 -0
  9. package/dist/{ErrorMessage-C7foQSgj.js → ErrorMessage-B1KkvQPj.js} +2 -2
  10. package/dist/ErrorMessage-B1KkvQPj.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DtxVFkKn.js → EventAvailabilityForm-CG8qrEj0.js} +3 -3
  12. package/dist/EventAvailabilityForm-CG8qrEj0.js.br +0 -0
  13. package/dist/{Field-CyVn3yqj.js → Field-CWGwwLaj.js} +3 -3
  14. package/dist/Field-CWGwwLaj.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Buq-W8Ku.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Uqwv8Dsu.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-B2eUiZ4y.js → SelectField.vue_vue_type_style_index_0_lang-D9nK6TDz.js} +136 -136
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-D9nK6TDz.js.br +0 -0
  18. package/dist/{TermsOfService-BaCz03JB.js → TermsOfService-DzFprATa.js} +3 -3
  19. package/dist/_-DpUIPKVA.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DypmLO3s.js → _.vue_vue_type_style_index_0_lang-Blibp75Y.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-87XblX68.js → giftCard-Bly36GyN.js} +2 -2
  34. package/dist/giftCard-Bly36GyN.js.br +0 -0
  35. package/dist/hotel.js +997 -991
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-WqxIRraz.js → masonry.plugin-BH-453dy.js} +6 -6
  38. package/dist/masonry.plugin-BH-453dy.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +2 -2
  42. package/dist/ActionField-DjTI464b.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-BRDT9bRg.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-wugi72k0.js.br +0 -0
  45. package/dist/CheckoutWindow-CL1xtDPl.js.br +0 -0
  46. package/dist/ErrorMessage-C7foQSgj.js.br +0 -0
  47. package/dist/EventAvailabilityForm-DtxVFkKn.js.br +0 -0
  48. package/dist/Field-CyVn3yqj.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-B2eUiZ4y.js.br +0 -0
  50. package/dist/_-JpqFvzMW.js +0 -5
  51. package/dist/giftCard-87XblX68.js.br +0 -0
  52. package/dist/masonry.plugin-WqxIRraz.js.br +0 -0
@@ -1,4 +1,4 @@
1
- import { r as E, aj as ll, D as Hn, ab as i1, ac as s1, a8 as pt, o as Vn, M as Ca, U as cl, W as Ii, c as d, i as Q, ak as to, al as l1, I as P, H as Dt, am as Dr, an as no, s as dn, _ as c1, ao as u1, d as Ke, P as f1, a as z, b as We, n as qe, g as $, f as Xt, e as K, t as He, j as le, q as ye, Y as oa, F as ao, a3 as In, w as cn, u as d1, E as un, ap as p1, aq as m1, h as ro, v as Ta, J as ul, a1 as $e, a2 as et, z as Ri, a4 as Pr, ar as h1, G as _i, T as g1 } from "./mitt-tv_9an17.js";
1
+ import { r as E, aj as ll, D as Hn, ab as i1, ac as s1, a8 as pt, o as Vn, M as Ca, U as cl, W as Ii, c as d, i as Q, ak as to, al as l1, I as P, H as Pt, am as Dr, an as no, s as dn, _ as c1, ao as u1, d as Ke, P as f1, a as z, b as We, n as qe, g as $, f as Xt, e as K, t as He, j as le, q as ye, Y as oa, F as ao, a3 as In, w as cn, u as d1, E as un, ap as p1, aq as m1, h as ro, v as Ta, J as ul, a1 as $e, a2 as et, z as Ri, a4 as Pr, ar as h1, G as _i, T as g1 } from "./mitt-tv_9an17.js";
2
2
  function Wo(e) {
3
3
  return i1() ? (s1(e), !0) : !1;
4
4
  }
@@ -499,7 +499,7 @@ const I1 = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4
499
499
  function B1(e, t) {
500
500
  return e in t || (t[e] = []), t[e];
501
501
  }
502
- function Ut(e, t, n) {
502
+ function $t(e, t, n) {
503
503
  t[oo] && (t[En] = !0, t[Ln] = !0), t[io] && (t[En] = !0, t[so] = !0), t[En] && (t[Ln] = !0), t[so] && (t[Ln] = !0), t[Ln] && (t[lo] = !0), t[ml] && (t[lo] = !0);
504
504
  for (const a in t) {
505
505
  const r = B1(a, n);
@@ -571,7 +571,7 @@ Pe.prototype = {
571
571
  tr(e, t, n, a) {
572
572
  a = a || Pe.groups;
573
573
  let r;
574
- return t && t.j ? r = t : (r = new Pe(t), n && a && Ut(t, n, a)), this.jr.push([e, r]), r;
574
+ return t && t.j ? r = t : (r = new Pe(t), n && a && $t(t, n, a)), this.jr.push([e, r]), r;
575
575
  },
576
576
  /**
577
577
  * Short for "take transitions", will take as many sequential transitions as
@@ -629,8 +629,8 @@ Pe.prototype = {
629
629
  if (a)
630
630
  if (i.t && typeof i.t == "string") {
631
631
  const l = mn(j1(i.t, a), n);
632
- Ut(o, l, a);
633
- } else n && Ut(o, n, a);
632
+ $t(o, l, a);
633
+ } else n && $t(o, n, a);
634
634
  i.t = o;
635
635
  }
636
636
  return r.j[e] = i, i;
@@ -738,16 +738,16 @@ function H1(e = []) {
738
738
  Tt(n, la[p], uo, ft, C);
739
739
  for (let p = 0; p < ca.length; p++)
740
740
  Tt(n, ca[p], fo, co, b);
741
- Ut(uo, {
741
+ $t(uo, {
742
742
  tld: !0,
743
743
  ascii: !0
744
- }, t), Ut(fo, {
744
+ }, t), $t(fo, {
745
745
  utld: !0,
746
746
  alpha: !0
747
- }, t), Tt(n, "file", ha, ft, C), Tt(n, "mailto", ha, ft, C), Tt(n, "http", sn, ft, C), Tt(n, "https", sn, ft, C), Tt(n, "ftp", sn, ft, C), Tt(n, "ftps", sn, ft, C), Ut(ha, {
747
+ }, t), Tt(n, "file", ha, ft, C), Tt(n, "mailto", ha, ft, C), Tt(n, "http", sn, ft, C), Tt(n, "https", sn, ft, C), Tt(n, "ftp", sn, ft, C), Tt(n, "ftps", sn, ft, C), $t(ha, {
748
748
  scheme: !0,
749
749
  ascii: !0
750
- }, t), Ut(sn, {
750
+ }, t), $t(sn, {
751
751
  slashscheme: !0,
752
752
  ascii: !0
753
753
  }, t), e = e.sort((p, g) => p[0] > g[0] ? 1 : -1);
@@ -1897,7 +1897,7 @@ function mu(e) {
1897
1897
  }
1898
1898
  return t;
1899
1899
  }
1900
- var go = /* @__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))(go || {}), oe = /* @__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))(oe || {}), hu = /* @__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))(hu || {}), $t = /* @__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))($t || {}), gu = /* @__PURE__ */ ((e) => (e.Selective = "selective", e.Wholesale = "wholesale", e.Simplified = "simplified", e.Template = "template", e.Event = "event", e))(gu || {}), vu = /* @__PURE__ */ ((e) => (e.Default = "default", e.Minimal = "minimal", e))(vu || {}), yu = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.WaitingForResponse = 1] = "WaitingForResponse", e[e.ReadyToPay = 2] = "ReadyToPay", e[e.PaymentSuccess = 3] = "PaymentSuccess", e))(yu || {}), vo = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Hourly = 1] = "Hourly", e[e.FullDayEvent = 2] = "FullDayEvent", e[e.Weekly = 3] = "Weekly", e))(vo || {}), De = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.AvailabilityState = 1] = "AvailabilityState", e[e.ReservationState = 2] = "ReservationState", e[e.PaymentState = 3] = "PaymentState", e))(De || {}), bu = /* @__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))(bu || {});
1900
+ var go = /* @__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))(go || {}), oe = /* @__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))(oe || {}), hu = /* @__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))(hu || {}), Ht = /* @__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))(Ht || {}), gu = /* @__PURE__ */ ((e) => (e.Selective = "selective", e.Wholesale = "wholesale", e.Simplified = "simplified", e.Template = "template", e.Event = "event", e))(gu || {}), vu = /* @__PURE__ */ ((e) => (e.Default = "default", e.Minimal = "minimal", e))(vu || {}), yu = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.WaitingForResponse = 1] = "WaitingForResponse", e[e.ReadyToPay = 2] = "ReadyToPay", e[e.PaymentSuccess = 3] = "PaymentSuccess", e))(yu || {}), vo = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Hourly = 1] = "Hourly", e[e.FullDayEvent = 2] = "FullDayEvent", e[e.Weekly = 3] = "Weekly", e))(vo || {}), De = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.AvailabilityState = 1] = "AvailabilityState", e[e.ReservationState = 2] = "ReservationState", e[e.PaymentState = 3] = "PaymentState", e))(De || {}), bu = /* @__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))(bu || {});
1901
1901
  function _p(e) {
1902
1902
  switch (e) {
1903
1903
  case oe.PerUnit:
@@ -2064,7 +2064,7 @@ function Br(e) {
2064
2064
  const n = e.split(":");
2065
2065
  return n[2] && (t = `${n[0]}:${n[1]}`), t;
2066
2066
  }
2067
- function Ht(e) {
2067
+ function Nt(e) {
2068
2068
  const t = new Date(e), n = "" + t.getFullYear();
2069
2069
  let a = "" + (t.getMonth() + 1), r = "" + t.getDate();
2070
2070
  return a.length < 2 && (a = "0" + a), r.length < 2 && (r = "0" + r), [n, a, r].join("-");
@@ -4075,7 +4075,7 @@ ie.formToJSON = (e) => Vl(h.isHTMLForm(e) ? new FormData(e) : e);
4075
4075
  ie.getAdapter = Xl.getAdapter;
4076
4076
  ie.HttpStatusCode = Lo;
4077
4077
  ie.default = ie;
4078
- const Zt = Dt("alert", () => {
4078
+ const Zt = Pt("alert", () => {
4079
4079
  const e = E(""), t = E("default"), n = E("NotActive"), a = E(NaN), r = E("global");
4080
4080
  function o({ message: i, type: s = "default" }) {
4081
4081
  e.value = i, t.value = s, n.value !== "NotActive" ? (n.value = "KeepActive", clearTimeout(a.value), a.value = window.setTimeout(() => {
@@ -4349,7 +4349,7 @@ var A0 = function() {
4349
4349
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 ? arguments[2] : void 0;
4350
4350
  x0(t), tc(n), L0(a), xe().bootstrap && cc();
4351
4351
  };
4352
- const uc = Dt("applyGiftCard", () => {
4352
+ const uc = Pt("applyGiftCard", () => {
4353
4353
  const { display: e } = Zt(), t = E(0), n = E(""), a = E(""), r = E(""), o = E(!1), i = E(!1);
4354
4354
  async function s() {
4355
4355
  n.value !== "" ? (i.value = !0, await de().get("/gift-card/validate", {
@@ -4392,8 +4392,8 @@ const uc = Dt("applyGiftCard", () => {
4392
4392
  apply: s,
4393
4393
  reset: l
4394
4394
  };
4395
- }), fc = Dt("payment", () => {
4396
- const { display: e } = Zt(), { paymentGatewayId: t } = dn(Nt()), n = E({}), a = E(), r = E(NaN), o = d(() => t.value !== $t.None), i = d(() => n.value && n.value.guest ? n.value.guest.name : ""), s = d(() => n.value && n.value.guest ? n.value.guest.email : ""), l = d(() => n.value && n.value.guest ? n.value.guest.phone : ""), c = d(() => n.value.adults), u = d(() => n.value.children), f = d(() => n.value.totalPrice || 0), m = d(() => n.value.totalVAT || 0), C = d(() => n.value.offerDate), b = d(() => f.value - m.value), p = d(() => n.value.orderLines), g = d(() => p.value ? p.value.length > 0 : !1);
4395
+ }), fc = Pt("payment", () => {
4396
+ const { display: e } = Zt(), { paymentGatewayId: t } = dn(Et()), n = E({}), a = E(), r = E(NaN), o = d(() => t.value !== Ht.None), i = d(() => n.value && n.value.guest ? n.value.guest.name : ""), s = d(() => n.value && n.value.guest ? n.value.guest.email : ""), l = d(() => n.value && n.value.guest ? n.value.guest.phone : ""), c = d(() => n.value.adults), u = d(() => n.value.children), f = d(() => n.value.totalPrice || 0), m = d(() => n.value.totalVAT || 0), C = d(() => n.value.offerDate), b = d(() => f.value - m.value), p = d(() => n.value.orderLines), g = d(() => p.value ? p.value.length > 0 : !1);
4397
4397
  function y() {
4398
4398
  de().put("/capture/confirm", {
4399
4399
  confirmationId: a.value
@@ -4423,7 +4423,7 @@ const uc = Dt("applyGiftCard", () => {
4423
4423
  type: "warning"
4424
4424
  });
4425
4425
  else if (n.value = T.offer, a.value = T.confirmationId, r.value = T.offer.id, T.easyPayment)
4426
- if (L(), t.value === $t.ReePay) {
4426
+ if (L(), t.value === Ht.ReePay) {
4427
4427
  const D = new Reepay.EmbeddedCheckout(
4428
4428
  T.easyPayment.paymentID,
4429
4429
  { html_element: "konnectio-payment-checkout" }
@@ -4479,8 +4479,8 @@ const uc = Dt("applyGiftCard", () => {
4479
4479
  pay: v,
4480
4480
  clearOfferId: w
4481
4481
  };
4482
- }), R0 = c1, li = R0(), dc = Dt("hotel", () => {
4483
- const e = ci(), t = pc(), n = fc(), { voucher: a, amount: r } = dn(uc()), { display: o } = Zt(), { metaData: i } = dn(Nt()), s = Nt(), l = E({}), c = d(() => {
4482
+ }), R0 = c1, li = R0(), dc = Pt("hotel", () => {
4483
+ const e = ci(), t = pc(), n = fc(), { voucher: a, amount: r } = dn(uc()), { display: o } = Zt(), { metaData: i } = dn(Et()), s = Et(), l = E({}), c = d(() => {
4484
4484
  const k = [];
4485
4485
  for (const x in l.value) {
4486
4486
  const U = parseInt(x), B = se.value.roomGroups.find((wt) => wt.id === U), Ue = B?.title || "", Qe = {
@@ -4488,10 +4488,10 @@ const uc = Dt("applyGiftCard", () => {
4488
4488
  title: Ue
4489
4489
  };
4490
4490
  l.value[U].forEach((wt) => {
4491
- const Bt = wt.id, aa = B?.rates.find((Cn) => Cn.id === Bt), wn = [];
4491
+ const jt = wt.id, aa = B?.rates.find((Cn) => Cn.id === jt), wn = [];
4492
4492
  if (aa) {
4493
4493
  const { name: Cn, occupantRates: Ar, addons: Sr } = aa, Ni = {
4494
- ratePlanID: Bt,
4494
+ ratePlanID: jt,
4495
4495
  name: Cn,
4496
4496
  addons: Sr
4497
4497
  }, Lr = [];
@@ -4504,7 +4504,7 @@ const uc = Dt("applyGiftCard", () => {
4504
4504
  const { adultsCount: Oi, childrenCount: Di } = Nr;
4505
4505
  let { totalPrice: Pi } = Nr;
4506
4506
  Oe.value && (Pi = Oe.value.offer.rooms.find(
4507
- (Ct) => Ct.ratePlanID === Bt && Ct.roomGroupID === U
4507
+ (Ct) => Ct.ratePlanID === jt && Ct.roomGroupID === U
4508
4508
  )?.totalPrice);
4509
4509
  const zi = [];
4510
4510
  if (!Sr) continue;
@@ -4578,7 +4578,7 @@ const uc = Dt("applyGiftCard", () => {
4578
4578
  price: Ue,
4579
4579
  name: Qe,
4580
4580
  quantityStrategy: wt
4581
- } = N.value.addons.find((Bt) => Bt.id === U);
4581
+ } = N.value.addons.find((jt) => jt.id === U);
4582
4582
  k.push({
4583
4583
  addonID: U,
4584
4584
  name: Qe,
@@ -4608,9 +4608,9 @@ const uc = Dt("applyGiftCard", () => {
4608
4608
  }), v = d(() => st.value ? st.value.weekendFee : 0), w = d(() => c.value.flatMap(({ variants: k }) => k).flatMap(({ rooms: k }) => k)), L = d(() => ce.value ? 1 : w.value.length), T = d(() => ce.value ? M.value : w.value.reduce((k, { adultsCount: x }) => k + x, 0)), D = d(() => ce.value ? W.value : w.value.reduce((k, { childrenCount: x }) => k + x, 0)), j = d(() => T.value > 0 ? T.value !== e.adults : !1), H = d(() => D.value > 0 ? D.value !== e.children : !1), ee = E(e.arrivalDate), Y = E(e.departureDate), M = E(e.adults), W = E(e.children), V = E(e.location || NaN), he = d(() => ee.value !== e.arrivalDate && Y.value !== e.departureDate), ae = d(() => V.value !== e.location), ne = d(() => he.value || ae.value), se = E({}), _ = E(!0), J = E(
4609
4609
  0
4610
4610
  /* InitialState */
4611
- ), Ce = E(NaN), Ie = E({}), Re = E(NaN), Qt = E(""), zt = E(""), ge = E(""), Se = E(""), Ge = E(""), Be = X("konnectio_name", "", void 0, { serializer: G.string }), xt = X("konnectio_nameTitle", 2, void 0, { serializer: G.number }), Le = X("konnectio_email", "", void 0, { serializer: G.string }), it = X("konnectio_phone", "", void 0, { serializer: G.string }), en = X("konnectio_company", "", void 0, { serializer: G.string }), vt = X("konnectio_postal", "", void 0, { serializer: G.string }), je = X("konnectio_city", "", void 0, { serializer: G.string }), Mt = X("konnectio_country", 57, void 0, { serializer: G.number }), yt = X("konnectio_address", "", void 0, { serializer: G.string }), It = X("konnectio_sortingKeys", {
4611
+ ), Ce = E(NaN), Ie = E({}), Re = E(NaN), Qt = E(""), xt = E(""), ge = E(""), Se = E(""), Ge = E(""), Be = X("konnectio_name", "", void 0, { serializer: G.string }), Mt = X("konnectio_nameTitle", 2, void 0, { serializer: G.number }), Le = X("konnectio_email", "", void 0, { serializer: G.string }), it = X("konnectio_phone", "", void 0, { serializer: G.string }), en = X("konnectio_company", "", void 0, { serializer: G.string }), vt = X("konnectio_postal", "", void 0, { serializer: G.string }), je = X("konnectio_city", "", void 0, { serializer: G.string }), It = X("konnectio_country", 57, void 0, { serializer: G.number }), yt = X("konnectio_address", "", void 0, { serializer: G.string }), Rt = X("konnectio_sortingKeys", {
4612
4612
  pricesFrom: !1
4613
- }, void 0, { serializer: G.object }), Rt = E(""), nn = E(""), _t = E(!1), an = E(!1), I = E(!1), ce = d(() => !isNaN(Ce.value)), bt = d(() => s.metaData.hotels.findIndex((k) => k.id === e.location) || 0), Ne = d(() => s.metaData.hotels[bt.value]), Jn = d(() => s.metaData.hotels && s.metaData.hotels.length > 1), mr = d(() => s.metaData.hotels ? s.metaData.hotels.flatMap((k) => ({
4613
+ }, void 0, { serializer: G.object }), _t = E(""), nn = E(""), Ft = E(!1), an = E(!1), I = E(!1), ce = d(() => !isNaN(Ce.value)), bt = d(() => s.metaData.hotels.findIndex((k) => k.id === e.location) || 0), Ne = d(() => s.metaData.hotels[bt.value]), Jn = d(() => s.metaData.hotels && s.metaData.hotels.length > 1), mr = d(() => s.metaData.hotels ? s.metaData.hotels.flatMap((k) => ({
4614
4614
  id: k.id,
4615
4615
  name: k.name
4616
4616
  })) : []), Xn = d(() => Ne.value.termsOfService ? Ne.value.termsOfService : ""), hr = d(() => Ne.value.hotelMapImage ? Ne.value.hotelMapImage : null), Zn = d(() => Xn.value !== ""), gr = d(() => Ne.value.country ? Ne.value.country.name : ""), vr = d(() => s.metaData.countries ? s.metaData.countries : []), Qn = d(() => Ne.value.name ? Ne.value.name : ""), yr = d(() => s.metaData && Object.keys(s.metaData).length !== 0), ea = d(() => Object.keys(se.value).length !== 0), br = d(() => !(!Be.value[1] || !Le.value || !(it.value.length >= 5) || !vt.value || !je.value || !yt.value)), wr = d(() => J.value === 1 && _.value), Cr = d(() => J.value === 3 && _.value), ta = d(() => ea.value ? se.value.templates.concat(se.value.specialTemplates) : []), st = d(() => {
@@ -4641,13 +4641,13 @@ const uc = Dt("applyGiftCard", () => {
4641
4641
  );
4642
4642
  }
4643
4643
  function ve(k, x) {
4644
- return `[REMARKS]: ${Rt.value} \r
4644
+ return `[REMARKS]: ${_t.value} \r
4645
4645
  [ALLERGIES]: ${nn.value} \r
4646
4646
  [REQUESTED ARRIVAL]: ${k} \r
4647
4647
  [REQUESTED DEPARTURE]: ${x}`;
4648
4648
  }
4649
4649
  function Je(k, x, U, B) {
4650
- const Qe = (x ? U : B ? zt.value : ge.value).split(":");
4650
+ const Qe = (x ? U : B ? xt.value : ge.value).split(":");
4651
4651
  return wu(
4652
4652
  new Date(k).setUTCHours(parseInt(Qe[0]), parseInt(Qe[1]), 0, 0)
4653
4653
  );
@@ -4682,8 +4682,8 @@ const uc = Dt("applyGiftCard", () => {
4682
4682
  try {
4683
4683
  const B = await de().get("/hotel/availability", {
4684
4684
  params: {
4685
- fromDate: Ht(e.arrivalDate),
4686
- toDate: Ht(e.departureDate),
4685
+ fromDate: Nt(e.arrivalDate),
4686
+ toDate: Nt(e.departureDate),
4687
4687
  adultsCount: e.adults,
4688
4688
  childrenCount: e.children,
4689
4689
  roomGroupIds: s.hasActiveIdFilter ? s.activeIdFilter : null,
@@ -4695,7 +4695,7 @@ const uc = Dt("applyGiftCard", () => {
4695
4695
  B.status !== 200 ? o({
4696
4696
  message: `${P.t("booking.other.errorMessage")} (HTTP: ${B.status})`,
4697
4697
  type: "warning"
4698
- }) : (se.value = B.data, M.value = e.adults, W.value = e.children, ee.value = e.arrivalDate, Y.value = e.departureDate, V.value = e.location, zt.value = s.defaultArrivalTime(V.value), ge.value = s.defaultDepartureTime(V.value), li.emit("scrollToTop"), t.viewItemList());
4698
+ }) : (se.value = B.data, M.value = e.adults, W.value = e.children, ee.value = e.arrivalDate, Y.value = e.departureDate, V.value = e.location, xt.value = s.defaultArrivalTime(V.value), ge.value = s.defaultDepartureTime(V.value), li.emit("scrollToTop"), t.viewItemList());
4699
4699
  } catch {
4700
4700
  o({
4701
4701
  message: P.t("alert.error.couldntFetchListings"),
@@ -4710,11 +4710,11 @@ const uc = Dt("applyGiftCard", () => {
4710
4710
  function rn(k = !1) {
4711
4711
  const x = [];
4712
4712
  isNaN(Ce.value) ? c.value.forEach(({ variants: Ue, roomGroupID: Qe }) => {
4713
- Ue?.forEach(({ rooms: wt, ratePlanID: Bt }) => {
4713
+ Ue?.forEach(({ rooms: wt, ratePlanID: jt }) => {
4714
4714
  wt?.forEach(({ adultsCount: aa, childrenCount: wn, roomAddons: Cn, roomId: Ar }) => {
4715
4715
  x.push({
4716
4716
  roomGroupID: Qe,
4717
- ratePlanID: Bt,
4717
+ ratePlanID: jt,
4718
4718
  adultsCount: aa,
4719
4719
  childrenCount: wn,
4720
4720
  guest: {
@@ -4735,34 +4735,34 @@ const uc = Dt("applyGiftCard", () => {
4735
4735
  childrenCount: W.value,
4736
4736
  roomAddons: p.value,
4737
4737
  guest: {
4738
- title: Yi(xt.value),
4738
+ title: Yi(Mt.value),
4739
4739
  guestID: 0,
4740
4740
  name: Be.value,
4741
4741
  email: Le.value,
4742
4742
  phone: it.value,
4743
- newsmails: _t.value
4743
+ newsmails: Ft.value
4744
4744
  }
4745
4745
  });
4746
4746
  let U = V.value;
4747
4747
  return isNaN(U) && (U = null), {
4748
4748
  offerID: Oe.value ? Oe.value.offer.id : null,
4749
4749
  totalPrice: y.value,
4750
- fromDate: Ht(ee.value),
4751
- toDate: Ht(Y.value),
4750
+ fromDate: Nt(ee.value),
4751
+ toDate: Nt(Y.value),
4752
4752
  hotelId: U,
4753
4753
  guest: {
4754
4754
  travellingFor: Qt.value,
4755
- title: Yi(xt.value),
4755
+ title: Yi(Mt.value),
4756
4756
  guestID: 0,
4757
4757
  name: Be.value,
4758
4758
  email: Le.value,
4759
4759
  firmName: en.value,
4760
4760
  phone: it.value,
4761
- country: Mt.value,
4761
+ country: It.value,
4762
4762
  address1: yt.value,
4763
4763
  postal: String(vt.value),
4764
4764
  city: je.value,
4765
- newsmails: _t.value
4765
+ newsmails: Ft.value
4766
4766
  },
4767
4767
  giftCardCode: a.value,
4768
4768
  discountCode: k ? Ge.value : Se.value,
@@ -4776,10 +4776,10 @@ const uc = Dt("applyGiftCard", () => {
4776
4776
  termsOfserviceURL: window.location.origin
4777
4777
  };
4778
4778
  }
4779
- const Oe = E(), Ft = E(!1);
4779
+ const Oe = E(), Bt = E(!1);
4780
4780
  async function bn() {
4781
- Se.value !== "" ? (Ft.value = !0, de().post("/hotel/validate-discount-code", rn()).then((k) => {
4782
- Ft.value = !1;
4781
+ Se.value !== "" ? (Bt.value = !0, de().post("/hotel/validate-discount-code", rn()).then((k) => {
4782
+ Bt.value = !1;
4783
4783
  const x = k.data;
4784
4784
  x.discountApplyed === !0 ? (Oe.value = x, Ge.value = Se.value, Se.value = "", o({
4785
4785
  message: P.t("alert.success.discountCodeApplied"),
@@ -4792,7 +4792,7 @@ const uc = Dt("applyGiftCard", () => {
4792
4792
  type: "error"
4793
4793
  });
4794
4794
  }).catch(() => {
4795
- Ft.value = !1, o({
4795
+ Bt.value = !1, o({
4796
4796
  message: `${P.t("alert.error.discountCodeValidation")}`,
4797
4797
  type: "warning"
4798
4798
  });
@@ -4873,7 +4873,7 @@ const uc = Dt("applyGiftCard", () => {
4873
4873
  currentAdults: M,
4874
4874
  currentChildren: W,
4875
4875
  currentLocation: V,
4876
- isValidatingDiscountCode: Ft,
4876
+ isValidatingDiscountCode: Bt,
4877
4877
  discountVouchers: na,
4878
4878
  discountCode: Se,
4879
4879
  datesMismatch: he,
@@ -4897,20 +4897,20 @@ const uc = Dt("applyGiftCard", () => {
4897
4897
  templateID: Ce,
4898
4898
  roomGroupID: Re,
4899
4899
  travelingFor: Qt,
4900
- arrivalTime: zt,
4900
+ arrivalTime: xt,
4901
4901
  departureTime: ge,
4902
4902
  name: Be,
4903
- nameTitle: xt,
4903
+ nameTitle: Mt,
4904
4904
  email: Le,
4905
4905
  phone: it,
4906
4906
  firmName: en,
4907
4907
  postal: vt,
4908
4908
  city: je,
4909
- country: Mt,
4909
+ country: It,
4910
4910
  address: yt,
4911
- remark: Rt,
4911
+ remark: _t,
4912
4912
  allergies: nn,
4913
- newsMails: _t,
4913
+ newsMails: Ft,
4914
4914
  roomDisplay: c,
4915
4915
  isPaymentInitialized: an,
4916
4916
  hotelCountry: gr,
@@ -4939,12 +4939,12 @@ const uc = Dt("applyGiftCard", () => {
4939
4939
  templateRoomTotalPrice: q,
4940
4940
  discountPayload: Oe,
4941
4941
  acceptTerms: I,
4942
- sortingKeys: It,
4942
+ sortingKeys: Rt,
4943
4943
  weekendFee: v,
4944
4944
  hotelMapImage: hr
4945
4945
  };
4946
- }), pc = Dt("tracking", () => {
4947
- const e = Nt(), t = dc(), n = d(() => {
4946
+ }), pc = Pt("tracking", () => {
4947
+ const e = Et(), t = dc(), n = d(() => {
4948
4948
  const m = [];
4949
4949
  return t.roomDisplay.forEach(({ variants: C }) => {
4950
4950
  C?.forEach(({ rooms: b, name: p }) => {
@@ -5039,15 +5039,15 @@ const uc = Dt("applyGiftCard", () => {
5039
5039
  beginCheckout: f,
5040
5040
  viewItemList: o
5041
5041
  };
5042
- }), Nt = Dt("utilities", () => {
5043
- const e = ci(), t = pc(), { display: n } = Zt(), a = X("k_utils_settings", {}, void 0, { serializer: G.object }), r = E([]), o = E({}), i = d(() => (I) => r.value[I] ? !r.value[I].disableChildSelection : !0), s = d(() => (I) => r.value[I] ? !r.value[I].hideArrivalDepartureInputs : !1), l = d(() => (I) => r.value[I] ? !r.value[I].disableArrivalUserSelection : !1), c = d(() => (I) => r.value[I] ? !r.value[I].disableDepartureUserSelection : !1), u = d(() => (I) => r.value[I].arrivalEarliest), f = d(() => (I) => r.value[I].arrivalDefault), m = d(() => (I) => r.value[I].arrivalLatest), C = d(() => (I) => r.value[I].departureEarliest), b = d(() => (I) => r.value[I].departureDefault), p = d(() => (I) => r.value[I].departureLatest), g = d(() => a.value.maximumNightsAvailable), y = d(() => a.value.enableTracking), v = d(() => a.value.googleApiKey), w = d(() => a.value.recaptchaSiteKey), L = d(() => a.value.defaultAdultAmount), T = d(() => a.value.defaultChildAmount), D = d(() => a.value.maxAdultAmount), j = d(() => a.value.maxChildAmount), H = d(() => a.value.firstSelectableDateOffset), ee = d(() => a.value.lastSelectableDateOffset), Y = d(() => a.value.hideTitle), M = d(() => a.value.headerHeight), W = d(() => a.value.enableStickyHeader), V = d(() => a.value.disableNamePrefix), he = d(() => a.value.disableGiftCardVoucher), ae = d(() => a.value.disableDiscountVoucher), ne = d(() => a.value.disablePricesFrom), se = d(() => a.value.hideAvailableRoomAmount), _ = d(() => a.value.disableNewsletterSignup), J = d(() => a.value.disableTravelingFor), Ce = d(() => a.value.disableTravelingForBleasure), Ie = d(() => a.value.disableCompanyField), Re = d(() => a.value.hideEventLength), Qt = d(() => a.value.hideAvailabilityNotice), zt = d(() => a.value.autoSelectRateId), ge = d(() => a.value.splitBookingCalendar), Se = E(NaN), Ge = E(""), Be = E(!1), xt = d(() => `Bearer ${Ge.value}`), Le = d(() => !!o.value && !!o.value.hotels), it = d(() => Le.value ? o.value.hotels[0].currency.currencyCode : ""), en = d(() => Le.value ? o.value.hotels[0].currency.id : NaN), vt = d(() => Le.value ? o.value.hotels[0].name : ""), je = d(() => Le.value && o.value.hotels[0].paymentGatewayId || $t.None), Mt = d(() => !!w.value), yt = d(() => !isNaN(Se.value)), tn = d(() => {
5042
+ }), Et = Pt("utilities", () => {
5043
+ const e = ci(), t = pc(), { display: n } = Zt(), a = X("k_utils_settings", {}, void 0, { serializer: G.object }), r = E([]), o = E({}), i = d(() => (I) => r.value[I] ? !r.value[I].disableChildSelection : !0), s = d(() => (I) => r.value[I] ? !r.value[I].hideArrivalDepartureInputs : !1), l = d(() => (I) => r.value[I] ? !r.value[I].disableArrivalUserSelection : !1), c = d(() => (I) => r.value[I] ? !r.value[I].disableDepartureUserSelection : !1), u = d(() => (I) => r.value[I].arrivalEarliest), f = d(() => (I) => r.value[I].arrivalDefault), m = d(() => (I) => r.value[I].arrivalLatest), C = d(() => (I) => r.value[I].departureEarliest), b = d(() => (I) => r.value[I].departureDefault), p = d(() => (I) => r.value[I].departureLatest), g = d(() => a.value.maximumNightsAvailable), y = d(() => a.value.enableTracking), v = d(() => a.value.googleApiKey), w = d(() => a.value.recaptchaSiteKey), L = d(() => a.value.defaultAdultAmount), T = d(() => a.value.defaultChildAmount), D = d(() => a.value.maxAdultAmount), j = d(() => a.value.maxChildAmount), H = d(() => a.value.firstSelectableDateOffset), ee = d(() => a.value.lastSelectableDateOffset), Y = d(() => a.value.hideTitle), M = d(() => a.value.headerHeight), W = d(() => a.value.enableStickyHeader), V = d(() => a.value.disableNamePrefix), he = d(() => a.value.disableGiftCardVoucher), ae = d(() => a.value.disableDiscountVoucher), ne = d(() => a.value.disablePricesFrom), se = d(() => a.value.hideAvailableRoomAmount), _ = d(() => a.value.disableNewsletterSignup), J = d(() => a.value.disableTravelingFor), Ce = d(() => a.value.disableTravelingForBleasure), Ie = d(() => a.value.disableCompanyField), Re = d(() => a.value.hideEventLength), Qt = d(() => a.value.hideAvailabilityNotice), xt = d(() => a.value.autoSelectRateId), ge = d(() => a.value.splitBookingCalendar), Se = E(NaN), Ge = E(""), Be = E(!1), Mt = d(() => `Bearer ${Ge.value}`), Le = d(() => !!o.value && !!o.value.hotels), it = d(() => Le.value ? o.value.hotels[0].currency.currencyCode : ""), en = d(() => Le.value ? o.value.hotels[0].currency.id : NaN), vt = d(() => Le.value ? o.value.hotels[0].name : ""), je = d(() => Le.value && o.value.hotels[0].paymentGatewayId || Ht.None), It = d(() => !!w.value), yt = d(() => !isNaN(Se.value)), tn = d(() => {
5044
5044
  let I = !0;
5045
- return (je.value === $t.None || je.value === $t.AskForCreditCard) && (I = !1), I;
5045
+ return (je.value === Ht.None || je.value === Ht.AskForCreditCard) && (I = !1), I;
5046
5046
  });
5047
- async function It(I) {
5047
+ async function Rt(I) {
5048
5048
  Ge.value = I, await F0();
5049
5049
  }
5050
- async function Rt(I = "none") {
5050
+ async function _t(I = "none") {
5051
5051
  try {
5052
5052
  if (I !== "none") {
5053
5053
  const ce = (await de().get(`/${I}/metadata`, {
@@ -5070,18 +5070,18 @@ const uc = Dt("applyGiftCard", () => {
5070
5070
  a.value = ce, r.value = bt, isNaN(e.adults) && (e.adults = ce.defaultAdultAmount), isNaN(e.children) && (e.children = ce.defaultChildAmount), u1(Ne), t.setup();
5071
5071
  });
5072
5072
  }
5073
- function _t(I) {
5073
+ function Ft(I) {
5074
5074
  Se.value = I;
5075
5075
  }
5076
5076
  function an() {
5077
5077
  Se.value = NaN;
5078
5078
  }
5079
5079
  return {
5080
- setAccessToken: It,
5080
+ setAccessToken: Rt,
5081
5081
  fetchUtilities: nn,
5082
- fetchMetadata: Rt,
5082
+ fetchMetadata: _t,
5083
5083
  clearActiveIdFilter: an,
5084
- setActiveIdFilter: _t,
5084
+ setActiveIdFilter: Ft,
5085
5085
  activeIdFilter: Se,
5086
5086
  hasActiveIdFilter: yt,
5087
5087
  hasChildSelection: i,
@@ -5096,7 +5096,7 @@ const uc = Dt("applyGiftCard", () => {
5096
5096
  latestDepartureTime: p,
5097
5097
  hotelSettings: r,
5098
5098
  splitBookingCalendar: ge,
5099
- autoSelectRateId: zt,
5099
+ autoSelectRateId: xt,
5100
5100
  hideEventLength: Re,
5101
5101
  disableDiscountVoucher: ae,
5102
5102
  disableTravelingForBleasure: Ce,
@@ -5109,7 +5109,7 @@ const uc = Dt("applyGiftCard", () => {
5109
5109
  metaData: o,
5110
5110
  currency: it,
5111
5111
  currencyId: en,
5112
- bearerToken: xt,
5112
+ bearerToken: Mt,
5113
5113
  maximumNightsAvailable: g,
5114
5114
  enableTracking: y,
5115
5115
  googleApiKey: v,
@@ -5129,7 +5129,7 @@ const uc = Dt("applyGiftCard", () => {
5129
5129
  disableNewsletterSignup: _,
5130
5130
  disableTravelingFor: J,
5131
5131
  disableCompanyField: Ie,
5132
- isRecaptchaEnabled: Mt,
5132
+ isRecaptchaEnabled: It,
5133
5133
  hideAvailabilityNotice: Qt,
5134
5134
  settings: a
5135
5135
  };
@@ -5139,7 +5139,7 @@ const _0 = M1("history", {
5139
5139
  removeNullishValues: !0
5140
5140
  });
5141
5141
  async function F0() {
5142
- const e = Nt();
5142
+ const e = Et();
5143
5143
  return mc.value = e.bearerToken, Promise.resolve();
5144
5144
  }
5145
5145
  function de() {
@@ -5148,20 +5148,20 @@ function de() {
5148
5148
  headers: {
5149
5149
  Accept: "application/json",
5150
5150
  Authorization: mc.value,
5151
- "Konnectio-Version": "4.1.7",
5151
+ "Konnectio-Version": "4.1.8",
5152
5152
  "Konnectio-Ref": _0.ref
5153
5153
  }
5154
5154
  });
5155
5155
  }
5156
- const B0 = Dt("event", () => {
5157
- const e = fc(), { voucher: t } = dn(uc()), { display: n } = Zt(), { metaData: a } = dn(Nt()), r = Nt(), o = ci(), i = E({}), s = d(() => Object.keys(i.value).length > 0), l = E(void 0), c = E(!0), u = E(De.InitialState), f = E(NaN), m = E(1), C = E(NaN), b = E(NaN), p = E(""), g = X("konnectio_name", "", void 0, { serializer: G.string }), y = X("konnectio_phone", "", void 0, { serializer: G.string }), v = X("konnectio_email", "", void 0, { serializer: G.string }), w = E(""), L = E(""), T = E({}), D = E({}), j = E("");
5156
+ const B0 = Pt("event", () => {
5157
+ const e = fc(), { voucher: t } = dn(uc()), { display: n } = Zt(), { metaData: a } = dn(Et()), r = Et(), o = ci(), i = E({}), s = d(() => Object.keys(i.value).length > 0), l = E(void 0), c = E(!0), u = E(De.InitialState), f = E(NaN), m = E(1), C = E(NaN), b = E(NaN), p = E(""), g = X("konnectio_name", "", void 0, { serializer: G.string }), y = X("konnectio_phone", "", void 0, { serializer: G.string }), v = X("konnectio_email", "", void 0, { serializer: G.string }), w = E(""), L = E(""), T = E({}), D = E({}), j = E("");
5158
5158
  function H(N) {
5159
5159
  return N ? N.templateId !== void 0 : !1;
5160
5160
  }
5161
- const ee = d(() => r.metaData.hotels.findIndex((N) => N.id === o.eventLocation) || 0), Y = d(() => r.metaData.hotels[ee.value]), M = d(() => Y.value ? Y.value.maxNumberPerBooking : 1 / 0), W = d(() => Y.value.name ? Y.value.name : ""), V = d(() => Y.value.subtitle ? Y.value.subtitle : ""), he = d(() => Y.value.timezone ? Y.value.timezone : ""), ae = E(o.eventDate), ne = E(o.eventLocation), se = d(() => ae.value !== o.eventDate), _ = d(() => ne.value !== o.eventLocation), J = d(() => se.value || _.value), Ce = d(() => o.eventDate.toISOString()), Ie = d(() => H(l.value)), Re = d(() => H(l.value) ? l.value.numberOfDays : m.value), Qt = d(() => H(l.value) ? l.value.packageCount : 0), zt = d(() => H(l.value) ? l.value.fromDate : ""), ge = d(() => i.value.events !== void 0 ? i.value.events.find((N) => N.id === C.value) : void 0), Se = d(() => ge.value ? ge.value.length : void 0), Ge = d(() => H(l.value) ? l.value.templateId : 0), Be = d(() => i.value.events.filter((N) => N.isAvailable === !0)), xt = d(() => i.value.events.filter((N) => N.isAvailable === !1)), Le = d(() => i.value.templates), it = d(() => i.value.events.length > 0), en = d(() => i.value.templates.length > 0), vt = d(() => ge.value && ge.value.eventRateType ? ge.value.eventRateType : vo.None), je = d(() => {
5161
+ const ee = d(() => r.metaData.hotels.findIndex((N) => N.id === o.eventLocation) || 0), Y = d(() => r.metaData.hotels[ee.value]), M = d(() => Y.value ? Y.value.maxNumberPerBooking : 1 / 0), W = d(() => Y.value.name ? Y.value.name : ""), V = d(() => Y.value.subtitle ? Y.value.subtitle : ""), he = d(() => Y.value.timezone ? Y.value.timezone : ""), ae = E(o.eventDate), ne = E(o.eventLocation), se = d(() => ae.value !== o.eventDate), _ = d(() => ne.value !== o.eventLocation), J = d(() => se.value || _.value), Ce = d(() => o.eventDate.toISOString()), Ie = d(() => H(l.value)), Re = d(() => H(l.value) ? l.value.numberOfDays : m.value), Qt = d(() => H(l.value) ? l.value.packageCount : 0), xt = d(() => H(l.value) ? l.value.fromDate : ""), ge = d(() => i.value.events !== void 0 ? i.value.events.find((N) => N.id === C.value) : void 0), Se = d(() => ge.value ? ge.value.length : void 0), Ge = d(() => H(l.value) ? l.value.templateId : 0), Be = d(() => i.value.events.filter((N) => N.isAvailable === !0)), Mt = d(() => i.value.events.filter((N) => N.isAvailable === !1)), Le = d(() => i.value.templates), it = d(() => i.value.events.length > 0), en = d(() => i.value.templates.length > 0), vt = d(() => ge.value && ge.value.eventRateType ? ge.value.eventRateType : vo.None), je = d(() => {
5162
5162
  if (!H(l.value))
5163
5163
  return l.value;
5164
- }), Mt = d(() => {
5164
+ }), It = d(() => {
5165
5165
  if (je.value !== void 0) {
5166
5166
  const N = je.value.find(
5167
5167
  (q) => q.time === p.value
@@ -5194,7 +5194,7 @@ const B0 = Dt("event", () => {
5194
5194
  }
5195
5195
  return Ee;
5196
5196
  }
5197
- function It(N, q) {
5197
+ function Rt(N, q) {
5198
5198
  let re = 0;
5199
5199
  if (H(l.value))
5200
5200
  for (const Ee in T.value) {
@@ -5206,17 +5206,17 @@ const B0 = Dt("event", () => {
5206
5206
  re += tn(parseInt(Ee)) * m.value;
5207
5207
  return re;
5208
5208
  }
5209
- const Rt = d(() => H(l.value) && l.value.totalPrice || 0), nn = d(() => {
5209
+ const _t = d(() => H(l.value) && l.value.totalPrice || 0), nn = d(() => {
5210
5210
  if (H(l.value))
5211
5211
  return l.value.rooms === void 0 ? NaN : l.value.rooms.flatMap((N) => N.roomGroupId).reduce(
5212
- (N, q, re) => N + It(q, re),
5213
- Rt.value
5212
+ (N, q, re) => N + Rt(q, re),
5213
+ _t.value
5214
5214
  ) || 0;
5215
5215
  {
5216
- let N = It();
5217
- return N += Mt.value, N;
5216
+ let N = Rt();
5217
+ return N += It.value, N;
5218
5218
  }
5219
- }), _t = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((N) => N.weekendFee).reduce((N, q) => N + q, 0) || 0), an = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((N) => N.roomUpgrade).reduce((N, q) => N + q, 0) || 0), I = d(() => {
5219
+ }), Ft = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((N) => N.weekendFee).reduce((N, q) => N + q, 0) || 0), an = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((N) => N.roomUpgrade).reduce((N, q) => N + q, 0) || 0), I = d(() => {
5220
5220
  const N = D.value;
5221
5221
  let q = 0;
5222
5222
  for (const re in N)
@@ -5256,7 +5256,7 @@ const B0 = Dt("event", () => {
5256
5256
  const re = (await de().get("/event/get", {
5257
5257
  params: {
5258
5258
  language: be(),
5259
- date: Ht(o.eventDate),
5259
+ date: Nt(o.eventDate),
5260
5260
  restaurantId: o.eventLocation,
5261
5261
  eventId: r.hasActiveIdFilter ? r.activeIdFilter : null
5262
5262
  }
@@ -5275,7 +5275,7 @@ const B0 = Dt("event", () => {
5275
5275
  const q = (await de().get("/event/get-template", {
5276
5276
  params: {
5277
5277
  language: be(),
5278
- date: Ht(ae.value),
5278
+ date: Nt(ae.value),
5279
5279
  templateId: C.value,
5280
5280
  restaurantId: ne.value,
5281
5281
  numberOfPeople: isNaN(f.value) ? 0 : f.value
@@ -5298,8 +5298,8 @@ const B0 = Dt("event", () => {
5298
5298
  const q = (await de().get("/event/vacant-times", {
5299
5299
  params: {
5300
5300
  language: be(),
5301
- date: ae.value,
5302
- numberOfPeople: isNaN(f.value) ? 0 : f.value,
5301
+ date: Nt(ae.value),
5302
+ numberOfPeople: isNaN(f.value) ? 1 : f.value,
5303
5303
  eventId: C.value,
5304
5304
  tableGroupId: b.value,
5305
5305
  restaurantId: ne.value
@@ -5349,8 +5349,8 @@ const B0 = Dt("event", () => {
5349
5349
  yt.value?.forEach((ke, lt) => {
5350
5350
  const rn = [];
5351
5351
  let Oe = 0;
5352
- for (const Ft in T.value) {
5353
- const bn = Ft.split("."), na = T.value[Ft];
5352
+ for (const Bt in T.value) {
5353
+ const bn = Bt.split("."), na = T.value[Bt];
5354
5354
  parseInt(bn[0]) === ke.roomGroupId && parseInt(bn[2]) === lt && na > 0 && (rn.push({
5355
5355
  id: Oe,
5356
5356
  addonID: parseInt(bn[1]),
@@ -5382,7 +5382,7 @@ const B0 = Dt("event", () => {
5382
5382
  const Ze = {
5383
5383
  language: be(),
5384
5384
  restaurantId: ne.value,
5385
- date: Ht(ae.value),
5385
+ date: Nt(ae.value),
5386
5386
  name: g.value,
5387
5387
  email: v.value,
5388
5388
  phone: y.value,
@@ -5418,7 +5418,7 @@ const B0 = Dt("event", () => {
5418
5418
  currentEventLocation: ne,
5419
5419
  metaData: a,
5420
5420
  listingData: i,
5421
- tableBasePrice: Mt,
5421
+ tableBasePrice: It,
5422
5422
  availabilityData: l,
5423
5423
  isLoading: c,
5424
5424
  moduleState: u,
@@ -5441,7 +5441,7 @@ const B0 = Dt("event", () => {
5441
5441
  date: Ce,
5442
5442
  numberOfTotalDays: Re,
5443
5443
  numberOfRooms: Qt,
5444
- fromDate: zt,
5444
+ fromDate: xt,
5445
5445
  getEventData: ge,
5446
5446
  length: Se,
5447
5447
  templateId: Ge,
@@ -5449,12 +5449,12 @@ const B0 = Dt("event", () => {
5449
5449
  getTemplates: Le,
5450
5450
  hasEvents: it,
5451
5451
  hasTemplates: en,
5452
- basePrice: Rt,
5452
+ basePrice: _t,
5453
5453
  totalPrice: nn,
5454
5454
  getTemplateData: yt,
5455
5455
  getEventTableData: je,
5456
5456
  roomUpgrade: an,
5457
- weekendFee: _t,
5457
+ weekendFee: Ft,
5458
5458
  hasProducts: bt,
5459
5459
  eventRateType: vt,
5460
5460
  isReservationFormFilled: mr,
@@ -5469,7 +5469,7 @@ const B0 = Dt("event", () => {
5469
5469
  getEventAvailability: br,
5470
5470
  validateDiscountCode: wr,
5471
5471
  localAddonPrice: tn,
5472
- totalAddonPrice: It,
5472
+ totalAddonPrice: Rt,
5473
5473
  createBooking: Cr,
5474
5474
  reset: ta,
5475
5475
  initialize: Tr,
@@ -5479,11 +5479,11 @@ const B0 = Dt("event", () => {
5479
5479
  totalSelectedProducts: I,
5480
5480
  requiresArrivalTime: Jn,
5481
5481
  hasSelectedRequiredProducts: Ne,
5482
- getUnavailableEvents: xt,
5482
+ getUnavailableEvents: Mt,
5483
5483
  timezone: he
5484
5484
  };
5485
- }), Ss = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), Ls = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), Ns = () => /* @__PURE__ */ new Date(), Es = () => new Date((/* @__PURE__ */ new Date()).getTime() + 12 * 60 * 60 * 1e3), ci = Dt("availability", () => {
5486
- const e = B0(), t = dc(), n = Nt(), { display: a } = Zt(), r = E({}), o = X("k_avail_expiry", Es(), void 0, { serializer: G.date }), i = d(() => o.value === void 0 ? !1 : o.value < /* @__PURE__ */ new Date()), s = X("k_hotel_adults", NaN, void 0, { serializer: G.number }), l = X("k_hotel_children", NaN, void 0, { serializer: G.number }), c = X("k_hotel_arrival", Ss(), void 0, { serializer: G.date }), u = X("k_hotel_departure", Ls(), void 0, { serializer: G.date }), f = X("k_hotel_loc", void 0, void 0, { serializer: G.number }), m = X("k_hotel_loc_c", NaN, void 0, { serializer: G.number }), C = X("k_hotel_has_selected_loc", !1, void 0, { serializer: G.boolean }), b = d(() => Object.keys(r.value).length > 0), p = d(() => b.value && r.value.hotels.length > 1), g = d(() => r.value ? r.value.hotels : []), y = d(() => Nl(c.value, u.value));
5485
+ }), Ss = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), Ls = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), Ns = () => /* @__PURE__ */ new Date(), Es = () => new Date((/* @__PURE__ */ new Date()).getTime() + 12 * 60 * 60 * 1e3), ci = Pt("availability", () => {
5486
+ const e = B0(), t = dc(), n = Et(), { display: a } = Zt(), r = E({}), o = X("k_avail_expiry", Es(), void 0, { serializer: G.date }), i = d(() => o.value === void 0 ? !1 : o.value < /* @__PURE__ */ new Date()), s = X("k_hotel_adults", NaN, void 0, { serializer: G.number }), l = X("k_hotel_children", NaN, void 0, { serializer: G.number }), c = X("k_hotel_arrival", Ss(), void 0, { serializer: G.date }), u = X("k_hotel_departure", Ls(), void 0, { serializer: G.date }), f = X("k_hotel_loc", void 0, void 0, { serializer: G.number }), m = X("k_hotel_loc_c", NaN, void 0, { serializer: G.number }), C = X("k_hotel_has_selected_loc", !1, void 0, { serializer: G.boolean }), b = d(() => Object.keys(r.value).length > 0), p = d(() => b.value && r.value.hotels.length > 1), g = d(() => r.value ? r.value.hotels : []), y = d(() => Nl(c.value, u.value));
5487
5487
  function v(_) {
5488
5488
  if (b.value)
5489
5489
  return r.value.hotels.some((J) => J.id === _);
@@ -5631,8 +5631,8 @@ try {
5631
5631
  }
5632
5632
  const {
5633
5633
  userAgent: Ds = ""
5634
- } = ui.navigator || {}, Et = ui, Z = hc, Ps = gc, fa = vc;
5635
- Et.document;
5634
+ } = ui.navigator || {}, kt = ui, Z = hc, Ps = gc, fa = vc;
5635
+ kt.document;
5636
5636
  const gt = !!Z.documentElement && !!Z.head && typeof Z.addEventListener == "function" && typeof Z.createElement == "function", yc = ~Ds.indexOf("MSIE") || ~Ds.indexOf("Trident/");
5637
5637
  var H0 = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, V0 = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i, bc = {
5638
5638
  classic: {
@@ -5949,7 +5949,7 @@ Mo[me] = S(S({}, Mo[me]), ef.kit);
5949
5949
  Yn(Mo);
5950
5950
  const yf = H0, Ec = "fa-layers-text", bf = V0, wf = S({}, Y0);
5951
5951
  Yn(wf);
5952
- const Cf = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Gr = W0, Tf = [...Q0, ...df], xn = Et.FontAwesomeConfig || {};
5952
+ const Cf = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Gr = W0, Tf = [...Q0, ...df], xn = kt.FontAwesomeConfig || {};
5953
5953
  function Af(e) {
5954
5954
  var t = Z.querySelector("script[" + e + "]");
5955
5955
  if (t)
@@ -6002,7 +6002,7 @@ Object.defineProperty(O, "familyPrefix", {
6002
6002
  return hn.cssPrefix;
6003
6003
  }
6004
6004
  });
6005
- Et.FontAwesomeConfig = O;
6005
+ kt.FontAwesomeConfig = O;
6006
6006
  const Mn = [];
6007
6007
  function Lf(e) {
6008
6008
  return Mn.push(e), () => {
@@ -6673,7 +6673,7 @@ var zf = {
6673
6673
  };
6674
6674
  }
6675
6675
  };
6676
- const ht = Et || {};
6676
+ const ht = kt || {};
6677
6677
  ht[mt] || (ht[mt] = {});
6678
6678
  ht[mt].styles || (ht[mt].styles = {});
6679
6679
  ht[mt].hooks || (ht[mt].hooks = {});
@@ -6819,7 +6819,7 @@ function Uf(e) {
6819
6819
  iconName: null
6820
6820
  };
6821
6821
  }
6822
- function kt() {
6822
+ function Ot() {
6823
6823
  return gi;
6824
6824
  }
6825
6825
  const Uc = () => ({
@@ -6907,7 +6907,7 @@ function Kf(e) {
6907
6907
  const m = J0.get(n).defaultShortPrefixId;
6908
6908
  a.prefix = m, a.iconName = Wt(a.prefix, a.iconName) || a.iconName;
6909
6909
  }
6910
- return (a.prefix === "fa" || r === "fa") && (a.prefix = kt() || "fas"), a;
6910
+ return (a.prefix === "fa" || r === "fa") && (a.prefix = Ot() || "fas"), a;
6911
6911
  }
6912
6912
  class Yf {
6913
6913
  constructor() {
@@ -6979,7 +6979,7 @@ function Jt(e) {
6979
6979
  o.apply(null, n);
6980
6980
  });
6981
6981
  }
6982
- function Ot() {
6982
+ function Dt() {
6983
6983
  const e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
6984
6984
  return fn[e] ? fn[e].apply(null, t) : void 0;
6985
6985
  }
@@ -6988,7 +6988,7 @@ function Fo(e) {
6988
6988
  let {
6989
6989
  iconName: t
6990
6990
  } = e;
6991
- const n = e.prefix || kt();
6991
+ const n = e.prefix || Ot();
6992
6992
  if (t)
6993
6993
  return t = Wt(n, t) || t, _s($c.definitions, n, t) || _s(ot.styles, n, t);
6994
6994
  }
@@ -6997,7 +6997,7 @@ const $c = new Yf(), Xf = () => {
6997
6997
  }, Zf = {
6998
6998
  i2svg: function() {
6999
6999
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7000
- return gt ? (Jt("beforeI2svg", e), Ot("pseudoElements2svg", e), Ot("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
7000
+ return gt ? (Jt("beforeI2svg", e), Dt("pseudoElements2svg", e), Dt("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
7001
7001
  },
7002
7002
  watch: function() {
7003
7003
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -7031,12 +7031,12 @@ const $c = new Yf(), Xf = () => {
7031
7031
  skipLookups: !0
7032
7032
  });
7033
7033
  return {
7034
- prefix: t.prefix || kt(),
7034
+ prefix: t.prefix || Ot(),
7035
7035
  iconName: Wt(t.prefix, t.iconName) || t.iconName
7036
7036
  };
7037
7037
  }
7038
7038
  if (typeof e == "string") {
7039
- const t = kt();
7039
+ const t = Ot();
7040
7040
  return {
7041
7041
  prefix: t,
7042
7042
  iconName: Wt(t, e) || e
@@ -7177,10 +7177,10 @@ function yi(e) {
7177
7177
  }), {
7178
7178
  children: w,
7179
7179
  attributes: L
7180
- } = n.found && t.found ? Ot("generateAbstractMask", v) || {
7180
+ } = n.found && t.found ? Dt("generateAbstractMask", v) || {
7181
7181
  children: [],
7182
7182
  attributes: {}
7183
- } : Ot("generateAbstractIcon", v) || {
7183
+ } : Dt("generateAbstractIcon", v) || {
7184
7184
  children: [],
7185
7185
  attributes: {}
7186
7186
  };
@@ -7296,7 +7296,7 @@ function od(e, t) {
7296
7296
  }
7297
7297
  function jo(e, t) {
7298
7298
  let n = t;
7299
- return t === "fa" && O.styleDefault !== null && (t = kt()), new Promise((a, r) => {
7299
+ return t === "fa" && O.styleDefault !== null && (t = Ot()), new Promise((a, r) => {
7300
7300
  if (n === "fa") {
7301
7301
  const o = jc(e) || {};
7302
7302
  e = o.iconName || e, t = o.prefix || t;
@@ -7306,7 +7306,7 @@ function jo(e, t) {
7306
7306
  return a(Bo(o));
7307
7307
  }
7308
7308
  od(e, t), a(S(S({}, rd), {}, {
7309
- icon: O.showMissingIcons && e ? Ot("missingIconAbstract") || {} : {}
7309
+ icon: O.showMissingIcons && e ? Dt("missingIconAbstract") || {} : {}
7310
7310
  }));
7311
7311
  });
7312
7312
  }
@@ -7400,7 +7400,7 @@ function Wc(e, t) {
7400
7400
  n();
7401
7401
  else {
7402
7402
  let a = Vs;
7403
- O.mutateApproach === hf && (a = Et.requestAnimationFrame || Vs), a(() => {
7403
+ O.mutateApproach === hf && (a = kt.requestAnimationFrame || Vs), a(() => {
7404
7404
  const r = cd(), o = bi.begin("mutate");
7405
7405
  e.map(r), o(), n();
7406
7406
  });
@@ -7425,7 +7425,7 @@ function Ws(e) {
7425
7425
  } = e;
7426
7426
  Qa = new Ps((o) => {
7427
7427
  if (wi) return;
7428
- const i = kt();
7428
+ const i = Ot();
7429
7429
  yn(o).forEach((s) => {
7430
7430
  if (s.type === "childList" && s.addedNodes.length > 0 && !Hs(s.addedNodes[0]) && (O.searchPseudoElements && a(s.target), t(s.target)), s.type === "attributes" && s.target.parentNode && O.searchPseudoElements && a(s.target.parentNode), s.type === "attributes" && Hs(s.target) && ~Cf.indexOf(s.attributeName))
7431
7431
  if (s.attributeName === "class" && sd(s.target)) {
@@ -7457,7 +7457,7 @@ function md(e) {
7457
7457
  function hd(e) {
7458
7458
  const t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "";
7459
7459
  let r = dr(mi(e));
7460
- return r.prefix || (r.prefix = kt()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = jf(r.prefix, e.innerText) || vi(r.prefix, Io(e.innerText))), !r.iconName && O.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
7460
+ return r.prefix || (r.prefix = Ot()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = jf(r.prefix, e.innerText) || vi(r.prefix, Io(e.innerText))), !r.iconName && O.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
7461
7461
  }
7462
7462
  function gd(e) {
7463
7463
  const t = yn(e.attributes).reduce((r, o) => (r.name !== "class" && r.name !== "style" && (r[o.name] = o.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
@@ -7521,7 +7521,7 @@ function Kc(e) {
7521
7521
  const t = O.autoReplaceSvg === "nest" ? qs(e, {
7522
7522
  styleParser: !1
7523
7523
  }) : qs(e);
7524
- return ~t.extra.classes.indexOf(Ec) ? Ot("generateLayersText", e, t) : Ot("generateSvgReplacementMutation", e, t);
7524
+ return ~t.extra.classes.indexOf(Ec) ? Dt("generateLayersText", e, t) : Dt("generateSvgReplacementMutation", e, t);
7525
7525
  }
7526
7526
  function bd() {
7527
7527
  return [...Z0, ...Oo];
@@ -7697,7 +7697,7 @@ var Ad = {
7697
7697
  const s = ur(i);
7698
7698
  s.length > 0 && (a.style = s);
7699
7699
  let l;
7700
- return hi(o) && (l = Ot("generateAbstractTransformGrouping", {
7700
+ return hi(o) && (l = Dt("generateAbstractTransformGrouping", {
7701
7701
  main: r,
7702
7702
  transform: o,
7703
7703
  containerWidth: r.width,
@@ -7848,7 +7848,7 @@ function Js(e, t) {
7848
7848
  return new Promise((a, r) => {
7849
7849
  if (e.getAttribute(n) !== null)
7850
7850
  return a();
7851
- const i = yn(e.children).filter((m) => m.getAttribute(Po) === t)[0], s = Et.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), c = l.match(bf), u = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
7851
+ const i = yn(e.children).filter((m) => m.getAttribute(Po) === t)[0], s = kt.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), c = l.match(bf), u = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
7852
7852
  if (i && !c)
7853
7853
  return e.removeChild(i), a();
7854
7854
  if (c && f !== "none" && f !== "") {
@@ -8065,7 +8065,7 @@ var _d = {
8065
8065
  return {
8066
8066
  parseNodeAttributes(e, t) {
8067
8067
  const n = t.getAttribute("data-fa-mask"), a = n ? dr(n.split(" ").map((r) => r.trim())) : Uc();
8068
- return a.prefix || (a.prefix = kt()), e.mask = a, e.maskId = t.getAttribute("data-fa-mask-id"), e;
8068
+ return a.prefix || (a.prefix = Ot()), e.mask = a, e.maskId = t.getAttribute("data-fa-mask-id"), e;
8069
8069
  }
8070
8070
  };
8071
8071
  },
@@ -8141,7 +8141,7 @@ var _d = {
8141
8141
  }, Fd = {
8142
8142
  provides(e) {
8143
8143
  let t = !1;
8144
- Et.matchMedia && (t = Et.matchMedia("(prefers-reduced-motion: reduce)").matches), e.missingIconAbstract = function() {
8144
+ kt.matchMedia && (t = kt.matchMedia("(prefers-reduced-motion: reduce)").matches), e.missingIconAbstract = function() {
8145
8145
  const n = [], a = {
8146
8146
  fill: "currentColor"
8147
8147
  }, r = {
@@ -9128,12 +9128,12 @@ const I4 = {
9128
9128
  rotation: t.rotate ? 180 : void 0
9129
9129
  }, null, 8, ["class", "icon", "rotation"]));
9130
9130
  }
9131
- }), Pt = (e, t) => {
9131
+ }), zt = (e, t) => {
9132
9132
  const n = e.__vccOpts || e;
9133
9133
  for (const [a, r] of t)
9134
9134
  n[a] = r;
9135
9135
  return n;
9136
- }, $n = /* @__PURE__ */ Pt(u3, [["__scopeId", "data-v-f031ff8e"]]), f3 = {
9136
+ }, $n = /* @__PURE__ */ zt(u3, [["__scopeId", "data-v-f031ff8e"]]), f3 = {
9137
9137
  key: 0,
9138
9138
  class: "konnectio-alert-message"
9139
9139
  }, d3 = /* @__PURE__ */ Ke({
@@ -9164,7 +9164,7 @@ const I4 = {
9164
9164
  ])) : le("", !0)
9165
9165
  ], 2));
9166
9166
  }
9167
- }), p3 = /* @__PURE__ */ Pt(d3, [["__scopeId", "data-v-77aacf97"]]), m3 = { class: "konnectio-container" }, h3 = /* @__PURE__ */ Ke({
9167
+ }), p3 = /* @__PURE__ */ zt(d3, [["__scopeId", "data-v-77aacf97"]]), m3 = { class: "konnectio-container" }, h3 = /* @__PURE__ */ Ke({
9168
9168
  __name: "Container",
9169
9169
  props: {
9170
9170
  styling: {}
@@ -9225,7 +9225,7 @@ const I4 = {
9225
9225
  Xt(p3, { "local-domain": "global" })
9226
9226
  ]));
9227
9227
  }
9228
- }), Yp = /* @__PURE__ */ Pt(h3, [["__scopeId", "data-v-1e5e1df1"]]), g3 = /* @__PURE__ */ Ke({
9228
+ }), Yp = /* @__PURE__ */ zt(h3, [["__scopeId", "data-v-1e5e1df1"]]), g3 = /* @__PURE__ */ Ke({
9229
9229
  __name: "Loading",
9230
9230
  props: {
9231
9231
  color: {},
@@ -9252,13 +9252,13 @@ const I4 = {
9252
9252
  }, null, 4)
9253
9253
  ], 2));
9254
9254
  }
9255
- }), v3 = /* @__PURE__ */ Pt(g3, [["__scopeId", "data-v-38453619"]]), y3 = {}, b3 = { class: "konnectio-spinner" };
9255
+ }), v3 = /* @__PURE__ */ zt(g3, [["__scopeId", "data-v-38453619"]]), y3 = {}, b3 = { class: "konnectio-spinner" };
9256
9256
  function w3(e, t) {
9257
9257
  return z(), $("div", b3, t[0] || (t[0] = [
9258
9258
  K("span", null, null, -1)
9259
9259
  ]));
9260
9260
  }
9261
- const C3 = /* @__PURE__ */ Pt(y3, [["render", w3], ["__scopeId", "data-v-88ad2e2d"]]), T3 = ["type", "tabindex", "disabled"], A3 = { style: { "--accentColor": "var(--buttonColor)" } }, S3 = {
9261
+ const C3 = /* @__PURE__ */ zt(y3, [["render", w3], ["__scopeId", "data-v-88ad2e2d"]]), T3 = ["type", "tabindex", "disabled"], A3 = { style: { "--accentColor": "var(--buttonColor)" } }, S3 = {
9262
9262
  key: 0,
9263
9263
  class: "konnectio-button-label"
9264
9264
  }, L3 = {
@@ -9323,7 +9323,7 @@ const C3 = /* @__PURE__ */ Pt(y3, [["render", w3], ["__scopeId", "data-v-88ad2e2
9323
9323
  ], 64))
9324
9324
  ], 10, T3));
9325
9325
  }
9326
- }), Gp = /* @__PURE__ */ Pt(E3, [["__scopeId", "data-v-82f75bda"]]), k3 = { class: "konnectio-input-field" }, O3 = ["for"], D3 = {
9326
+ }), Gp = /* @__PURE__ */ zt(E3, [["__scopeId", "data-v-82f75bda"]]), k3 = { class: "konnectio-input-field" }, O3 = ["for"], D3 = {
9327
9327
  key: 0,
9328
9328
  class: "konnectio-description-label"
9329
9329
  }, P3 = ["for"], z3 = {
@@ -9407,9 +9407,9 @@ const C3 = /* @__PURE__ */ Pt(y3, [["render", w3], ["__scopeId", "data-v-88ad2e2
9407
9407
  ])) : le("", !0)
9408
9408
  ]));
9409
9409
  }
9410
- }), Ci = /* @__PURE__ */ Pt(M3, [["__scopeId", "data-v-51cbdc62"]]);
9410
+ }), Ci = /* @__PURE__ */ zt(M3, [["__scopeId", "data-v-51cbdc62"]]);
9411
9411
  /*! vue-number-input v2.0.1 | (c) 2018-present Chen Fengyuan | MIT */
9412
- const jt = Number.isNaN || window.isNaN, I3 = /^-?(?:\d+|\d+\.\d+|\.\d+)(?:[eE][-+]?\d+)?$/, R3 = /\.\d*(?:0|9){10}\d*$/, al = (e, t = 1e11) => R3.test(String(e)) ? Math.round(e * t) / t : e;
9412
+ const Ut = Number.isNaN || window.isNaN, I3 = /^-?(?:\d+|\d+\.\d+|\.\d+)(?:[eE][-+]?\d+)?$/, R3 = /\.\d*(?:0|9){10}\d*$/, al = (e, t = 1e11) => R3.test(String(e)) ? Math.round(e * t) / t : e;
9413
9413
  var Ti = Ke({
9414
9414
  name: "VueNumberInput",
9415
9415
  props: {
@@ -9470,14 +9470,14 @@ var Ti = Ke({
9470
9470
  * @returns {boolean} Return `true` if it is decreasable, else `false`.
9471
9471
  */
9472
9472
  increasable() {
9473
- return jt(this.value) || this.value < this.max;
9473
+ return Ut(this.value) || this.value < this.max;
9474
9474
  },
9475
9475
  /**
9476
9476
  * Indicate if the value is decreasable.
9477
9477
  * @returns {boolean} Return `true` if it is decreasable, else `false`.
9478
9478
  */
9479
9479
  decreasable() {
9480
- return jt(this.value) || this.value > this.min;
9480
+ return Ut(this.value) || this.value > this.min;
9481
9481
  }
9482
9482
  },
9483
9483
  watch: {
@@ -9485,12 +9485,12 @@ var Ti = Ke({
9485
9485
  immediate: !0,
9486
9486
  handler(e, t) {
9487
9487
  // Avoid triggering change event when created
9488
- !(jt(e) && typeof t > "u") && e !== this.value && this.setValue(e);
9488
+ !(Ut(e) && typeof t > "u") && e !== this.value && this.setValue(e);
9489
9489
  }
9490
9490
  }
9491
9491
  },
9492
9492
  methods: {
9493
- isNaN: jt,
9493
+ isNaN: Ut,
9494
9494
  /**
9495
9495
  * Change event handler.
9496
9496
  * @param {string} value - The new value.
@@ -9512,7 +9512,7 @@ var Ti = Ke({
9512
9512
  decrease() {
9513
9513
  if (this.decreasable) {
9514
9514
  let { value: e } = this;
9515
- jt(e) && (e = 0), this.setValue(al(e - this.step));
9515
+ Ut(e) && (e = 0), this.setValue(al(e - this.step));
9516
9516
  }
9517
9517
  },
9518
9518
  /**
@@ -9521,7 +9521,7 @@ var Ti = Ke({
9521
9521
  increase() {
9522
9522
  if (this.increasable) {
9523
9523
  let { value: e } = this;
9524
- jt(e) && (e = 0), this.setValue(al(e + this.step));
9524
+ Ut(e) && (e = 0), this.setValue(al(e + this.step));
9525
9525
  }
9526
9526
  },
9527
9527
  /**
@@ -9531,7 +9531,7 @@ var Ti = Ke({
9531
9531
  setValue(e) {
9532
9532
  const t = this.value;
9533
9533
  let n = typeof e != "number" ? parseFloat(e) : e;
9534
- jt(n) || (this.min <= this.max && (n = Math.min(this.max, Math.max(this.min, n))), this.rounded && (n = Math.round(n))), this.value = n, n === t && (this.$refs.input.value = String(n)), this.$emit("update:modelValue", n, t);
9534
+ Ut(n) || (this.min <= this.max && (n = Math.min(this.max, Math.max(this.min, n))), this.rounded && (n = Math.round(n))), this.value = n, n === t && (this.$refs.input.value = String(n)), this.$emit("update:modelValue", n, t);
9535
9535
  }
9536
9536
  }
9537
9537
  });
@@ -9809,7 +9809,7 @@ const Jp = /* @__PURE__ */ Ke({
9809
9809
  }, 8, ["label", "id", "icon", "icon-color", "icon-type", "required", "type", "readonly", "description", "limit"]);
9810
9810
  };
9811
9811
  }
9812
- }), Xp = /* @__PURE__ */ Pt(G3, [["__scopeId", "data-v-625fc55b"]]);
9812
+ }), Xp = /* @__PURE__ */ zt(G3, [["__scopeId", "data-v-625fc55b"]]);
9813
9813
  var J3 = Object.defineProperty, X3 = Object.defineProperties, Z3 = Object.getOwnPropertyDescriptors, rl = Object.getOwnPropertySymbols, Q3 = Object.prototype.hasOwnProperty, ep = Object.prototype.propertyIsEnumerable, ol = (e, t, n) => t in e ? J3(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, on = (e, t) => {
9814
9814
  for (var n in t || (t = {}))
9815
9815
  Q3.call(t, n) && ol(e, n, t[n]);
@@ -10668,10 +10668,10 @@ export {
10668
10668
  li as N,
10669
10669
  vo as O,
10670
10670
  Fp as P,
10671
- $t as Q,
10671
+ Ht as Q,
10672
10672
  G as S,
10673
10673
  Xp as T,
10674
- Pt as _,
10674
+ zt as _,
10675
10675
  Zt as a,
10676
10676
  dc as b,
10677
10677
  Zp as c,
@@ -10679,7 +10679,7 @@ export {
10679
10679
  bu as e,
10680
10680
  B0 as f,
10681
10681
  Jp as g,
10682
- Nt as h,
10682
+ Et as h,
10683
10683
  Vp as i,
10684
10684
  Hp as j,
10685
10685
  Nl as k,
@@ -10699,4 +10699,4 @@ export {
10699
10699
  uc as y,
10700
10700
  fc as z
10701
10701
  };
10702
- //# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-B2eUiZ4y.js.map
10702
+ //# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-D9nK6TDz.js.map