@konnectio/core 4.0.58 → 4.0.60

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 (69) hide show
  1. package/dist/{ActionField-SljqGQe4.js → ActionField-CVdLZg_F.js} +3 -3
  2. package/dist/ActionField-CVdLZg_F.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-VxFPbzvu.js → AvailabilitySkeleton-D8hRAFp-.js} +22 -23
  4. package/dist/AvailabilitySkeleton-D8hRAFp-.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js +8668 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js.br +0 -0
  7. package/dist/{CheckoutWindow-BsR9w1sU.js → CheckoutWindow-DUl3c-Tr.js} +40 -40
  8. package/dist/CheckoutWindow-DUl3c-Tr.js.br +0 -0
  9. package/dist/{ErrorMessage-Bv8Sjw4c.js → ErrorMessage-Dt3tVome.js} +3 -3
  10. package/dist/ErrorMessage-Dt3tVome.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-Cjn9eC1i.js → EventAvailabilityForm-DqV-7Yhd.js} +5 -5
  12. package/dist/EventAvailabilityForm-DqV-7Yhd.js.br +0 -0
  13. package/dist/{Field-Dv-tx0DG.js → Field-Bir0Q2Cn.js} +3 -3
  14. package/dist/Field-Bir0Q2Cn.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js} +2313 -2421
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js.br +0 -0
  17. package/dist/TermsOfService-Bi-4Y-Eu.js +36 -0
  18. package/dist/TermsOfService-Bi-4Y-Eu.js.br +0 -0
  19. package/dist/{_-3oY9YKKN.js → _-BaPwdDXA.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-Cm6NL02H.js → _.vue_vue_type_style_index_0_lang-9DUPh09R.js} +5 -5
  21. package/dist/_.vue_vue_type_style_index_0_lang-9DUPh09R.js.br +0 -0
  22. package/dist/{_commonjsHelpers-BljBhQM7.js → _commonjsHelpers-4acPj2Ir.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-D0NAFAC9.js → _sentry-release-injection-file-CSY2pTJK.js} +4169 -4273
  24. package/dist/_sentry-release-injection-file-CSY2pTJK.js.br +0 -0
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +2 -2
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +211 -210
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +22 -21
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +60 -59
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/giftCard-DrbtM1MV.js +126 -0
  36. package/dist/giftCard-DrbtM1MV.js.br +0 -0
  37. package/dist/hotel.js +26 -25
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/masonry.plugin-CoSanVEe.js +10375 -0
  40. package/dist/masonry.plugin-CoSanVEe.js.br +0 -0
  41. package/dist/{mitt-bU37KQKU.js → mitt-Ciy52c7q.js} +96 -96
  42. package/dist/mitt-Ciy52c7q.js.br +0 -0
  43. package/dist/polyfill.js +16983 -14766
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style-Bf1WJ5oD.js +2328 -0
  46. package/dist/style-Bf1WJ5oD.js.br +0 -0
  47. package/dist/style.css +1 -1
  48. package/dist/style.css.br +0 -0
  49. package/package.json +18 -18
  50. package/dist/ActionField-SljqGQe4.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-VxFPbzvu.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js +0 -8652
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js.br +0 -0
  54. package/dist/CheckoutWindow-BsR9w1sU.js.br +0 -0
  55. package/dist/ErrorMessage-Bv8Sjw4c.js.br +0 -0
  56. package/dist/EventAvailabilityForm-Cjn9eC1i.js.br +0 -0
  57. package/dist/Field-Dv-tx0DG.js.br +0 -0
  58. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js.br +0 -0
  59. package/dist/TermsOfService-DudxcmqT.js +0 -36
  60. package/dist/TermsOfService-DudxcmqT.js.br +0 -0
  61. package/dist/_.vue_vue_type_style_index_0_lang-Cm6NL02H.js.br +0 -0
  62. package/dist/_sentry-release-injection-file-D0NAFAC9.js.br +0 -0
  63. package/dist/giftCard-vxErFkoV.js +0 -134
  64. package/dist/giftCard-vxErFkoV.js.br +0 -0
  65. package/dist/masonry.plugin-BKhDyXyM.js +0 -12766
  66. package/dist/masonry.plugin-BKhDyXyM.js.br +0 -0
  67. package/dist/mitt-bU37KQKU.js.br +0 -0
  68. package/dist/tracing-CMlyHB3J.js +0 -2537
  69. package/dist/tracing-CMlyHB3J.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,57 +1,58 @@
1
- import { d as Z, r as Ye, c as ae, a as l, b as T, w as p, l as ne, u as e, e as t, f, g as c, i as v, t as o, m as Ze, q as Qe, s as j, F as R, v as M, S as We, x as _e, h as $e, p as Je, j as Ke, k as Xe } from "./_sentry-release-injection-file-D0NAFAC9.js";
2
- import { u as se, s as q, c as xe, i as et, m as tt } from "./mitt-bU37KQKU.js";
3
- import { a as Oe, l as nt, b as oe, s as le, c as be, B as ot, _ as ie, d as he, e as Ae, I as fe, f as lt, g as ge, h as G, u as we, i as at, T as x, O as st, C as it, j as rt, k as dt, m as ct } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js";
4
- import { B as ut, R as mt, L as Se, S as pt, M as vt, C as bt, T as ft, V as gt, G as ht } from "./masonry.plugin-BKhDyXyM.js";
5
- import { c as kt, t as ee, g as Ve, e as yt, m as De, a as Ee, b as Te, d as _t, f as Pe, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js";
6
- import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-Cm6NL02H.js";
7
- import { C as wt, P as Vt, a as Dt } from "./CheckoutWindow-BsR9w1sU.js";
8
- import { E as Et } from "./EventAvailabilityForm-Cjn9eC1i.js";
1
+ import { d as Z, r as Ye, c as ae, a as l, b as T, w as p, l as ne, u as e, e as t, f as g, g as d, i as v, t as o, m as Ze, q as Qe, s as j, F as R, v as U, S as We, x as _e, h as $e, p as Je, j as Ke, k as Xe } from "./_sentry-release-injection-file-CSY2pTJK.js";
2
+ import { u as se, s as q, c as xe, i as et, m as tt } from "./mitt-Ciy52c7q.js";
3
+ import { a as Ae, l as nt, b as oe, s as le, c as be, B as ot, _ as ie, d as he, e as Oe, I as ge, f as lt, g as fe, h as G, u as we, i as at, T as x, O as st, C as it, j as rt, k as ct, m as dt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
4
+ import { G as ut } from "./style-Bf1WJ5oD.js";
5
+ import { e as mt, c as pt, t as ee, g as Ve, m as De, a as Ee, b as Te, d as vt, f as Pe, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js";
6
+ import { _ as bt } from "./_.vue_vue_type_style_index_0_lang-9DUPh09R.js";
7
+ import { B as gt, R as ft, L as Se, S as ht, M as kt, C as yt, T as _t, V as $t } from "./masonry.plugin-CoSanVEe.js";
8
+ import { C as wt, P as Vt, a as Dt } from "./CheckoutWindow-DUl3c-Tr.js";
9
+ import { E as Et } from "./EventAvailabilityForm-DqV-7Yhd.js";
9
10
  (function() {
10
11
  try {
11
12
  var u = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
12
- n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "24b16f45-5e62-48b6-9398-6ee1aeffbd8e", u._sentryDebugIdIdentifier = "sentry-dbid-24b16f45-5e62-48b6-9398-6ee1aeffbd8e");
13
+ n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "6712057b-ad28-414e-8e31-6ed9cd78fc1d", u._sentryDebugIdIdentifier = "sentry-dbid-6712057b-ad28-414e-8e31-6ed9cd78fc1d");
13
14
  } catch {
14
15
  }
15
16
  })();
16
17
  function Tt(u) {
17
18
  return (n) => {
18
- const d = Math[u], m = d(n);
19
+ const m = (u ? Math[u] : Math.trunc)(n);
19
20
  return m === 0 ? 0 : m;
20
21
  };
21
22
  }
22
- function Pt(u, n, d) {
23
- const g = _t().locale ?? yt, s = kt(u, n);
23
+ function Pt(u, n, r) {
24
+ const m = vt(), f = r?.locale ?? m.locale ?? mt, s = pt(u, n);
24
25
  if (isNaN(s))
25
26
  throw new RangeError("Invalid time value");
26
- const b = Object.assign({}, d, {
27
- addSuffix: d?.addSuffix,
27
+ const b = Object.assign({}, r, {
28
+ addSuffix: r?.addSuffix,
28
29
  comparison: s
29
30
  });
30
- let $, r;
31
- s > 0 ? ($ = ee(n), r = ee(u)) : ($ = ee(u), r = ee(n));
32
- const h = Tt("round"), y = r.getTime() - $.getTime(), E = y / Pe, V = Ve(r) - Ve($), P = (y - V) / Pe, U = d?.unit;
31
+ let $, c;
32
+ s > 0 ? ($ = ee(n), c = ee(u)) : ($ = ee(u), c = ee(n));
33
+ const h = Tt(r?.roundingMethod ?? "round"), y = c.getTime() - $.getTime(), E = y / Pe, w = Ve(c) - Ve($), P = (y - w) / Pe, I = r?.unit;
33
34
  let _;
34
- if (E < 1 ? _ = "second" : E < 60 ? _ = "minute" : E < De ? _ = "hour" : P < Ee ? _ = "day" : P < Te ? _ = "month" : _ = "year", _ === "second") {
35
+ if (I ? _ = I : E < 1 ? _ = "second" : E < 60 ? _ = "minute" : E < De ? _ = "hour" : P < Ee ? _ = "day" : P < Te ? _ = "month" : _ = "year", _ === "second") {
35
36
  const i = h(y / 1e3);
36
- return g.formatDistance("xSeconds", i, b);
37
+ return f.formatDistance("xSeconds", i, b);
37
38
  } else if (_ === "minute") {
38
39
  const i = h(E);
39
- return g.formatDistance("xMinutes", i, b);
40
+ return f.formatDistance("xMinutes", i, b);
40
41
  } else if (_ === "hour") {
41
42
  const i = h(E / 60);
42
- return g.formatDistance("xHours", i, b);
43
+ return f.formatDistance("xHours", i, b);
43
44
  } else if (_ === "day") {
44
45
  const i = h(P / De);
45
- return g.formatDistance("xDays", i, b);
46
+ return f.formatDistance("xDays", i, b);
46
47
  } else if (_ === "month") {
47
48
  const i = h(P / Ee);
48
- return i === 12 && U !== "month" ? g.formatDistance("xYears", 1, b) : g.formatDistance("xMonths", i, b);
49
+ return i === 12 && I !== "month" ? f.formatDistance("xYears", 1, b) : f.formatDistance("xMonths", i, b);
49
50
  } else {
50
51
  const i = h(P / Te);
51
- return g.formatDistance("xYears", i, b);
52
+ return f.formatDistance("xYears", i, b);
52
53
  }
53
54
  }
54
- const Ot = { class: "konnectio-event-listing-action" }, At = { class: "konnectio-event-listing-action-button" }, St = /* @__PURE__ */ Z({
55
+ const At = { class: "konnectio-event-listing-action" }, Ot = { class: "konnectio-event-listing-action-button" }, St = /* @__PURE__ */ Z({
55
56
  __name: "_",
56
57
  props: {
57
58
  name: {},
@@ -74,28 +75,28 @@ const Ot = { class: "konnectio-event-listing-action" }, At = { class: "konnectio
74
75
  callback: {}
75
76
  },
76
77
  setup(u) {
77
- const { t: n } = se(), d = u, { display: m } = Oe(), {
78
- maxNumberOfPeople: g,
78
+ const { t: n } = se(), r = u, { display: m } = Ae(), {
79
+ maxNumberOfPeople: f,
79
80
  numberOfPeople: s,
80
81
  eventId: b,
81
82
  currentEventDate: $,
82
- tableGroupId: r
83
+ tableGroupId: c
83
84
  } = q(Y()), {
84
85
  getTemplateAvailability: h,
85
86
  getEventAvailability: y,
86
87
  isEventListingLoading: E
87
- } = Y(), V = Ye(0), P = ae(() => E(d.listingId)), U = () => {
88
- V.value > 0 ? (b.value = d.listingId, s.value = V.value, h(d.callback)) : m({
88
+ } = Y(), w = Ye(0), P = ae(() => E(r.listingId)), I = () => {
89
+ w.value > 0 ? (b.value = r.listingId, s.value = w.value, h(r.callback)) : m({
89
90
  type: "error",
90
91
  message: n("alert.error.selectPeople")
91
92
  });
92
93
  }, _ = () => {
93
- V.value > 0 ? (b.value = d.listingId, r.value = d.tableGroupId, s.value = V.value, y(d.callback)) : m({
94
+ w.value > 0 ? (b.value = r.listingId, c.value = r.tableGroupId, s.value = w.value, y(r.callback)) : m({
94
95
  type: "error",
95
96
  message: n("alert.error.selectPeople")
96
97
  });
97
98
  };
98
- return (i, I) => (l(), T(ut, {
99
+ return (i, L) => (l(), T(gt, {
99
100
  type: "event",
100
101
  "listing-id": i.listingId,
101
102
  gallery: i.gallery,
@@ -106,28 +107,28 @@ const Ot = { class: "konnectio-event-listing-action" }, At = { class: "konnectio
106
107
  layout: e(ot).Event
107
108
  }, {
108
109
  description: p(() => [
109
- ne(i.$slots, "description", { maxNumberOfPeople: e(g) }, void 0, !0)
110
+ ne(i.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
110
111
  ]),
111
112
  action: p(() => [
112
- t("div", Ot, [
113
- f(oe, {
114
- modelValue: V.value,
115
- "onUpdate:modelValue": I[0] || (I[0] = (B) => V.value = B),
113
+ t("div", At, [
114
+ g(oe, {
115
+ modelValue: w.value,
116
+ "onUpdate:modelValue": L[0] || (L[0] = (N) => w.value = N),
116
117
  label: e(n)("event.numberOfGuests"),
117
118
  icon: "users",
118
119
  "icon-type": "fas",
119
120
  "icon-placement": "label",
120
121
  description: i.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${i.maxGuests} ${e(nt)(e(n)("general.guests"))}` : void 0,
121
122
  "min-value": 0,
122
- "max-value": i.maxOnlineReservationLimit || i.maxGuests || e(g) || 1 / 0
123
+ "max-value": i.maxOnlineReservationLimit || i.maxGuests || e(f) || 1 / 0
123
124
  }, null, 8, ["modelValue", "label", "description", "max-value"]),
124
- t("div", At, [
125
- f(be, {
125
+ t("div", Ot, [
126
+ g(be, {
126
127
  label: i.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
127
128
  disabled: i.soldOut,
128
129
  "is-loading": P.value,
129
130
  "sub-label": e(le)(e($)),
130
- onClickEvent: I[1] || (I[1] = (B) => i.type === "event" ? _() : U())
131
+ onClickEvent: L[1] || (L[1] = (N) => i.type === "event" ? _() : I())
131
132
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
132
133
  ])
133
134
  ])
@@ -161,7 +162,7 @@ const Lt = {
161
162
  callback: {}
162
163
  },
163
164
  setup(u) {
164
- const n = u, { t: d } = se(), { hideEventLength: m } = q(he()), g = ae(() => {
165
+ const n = u, { t: r } = se(), { hideEventLength: m } = q(he()), f = ae(() => {
165
166
  const s = n.length.split(":");
166
167
  return console.log(s), Pt(
167
168
  new Date(2e3, 0, 1, Number(s[0]), Number(s[1]), 0),
@@ -181,29 +182,29 @@ const Lt = {
181
182
  callback: s.callback
182
183
  }, {
183
184
  description: p(() => [
184
- s.description ? (l(), c("p", {
185
+ s.description ? (l(), d("p", {
185
186
  key: 0,
186
- innerHTML: e(Ae)(s.description)
187
+ innerHTML: e(Oe)(s.description)
187
188
  }, null, 8, Ct)) : v("", !0),
188
189
  t("ul", It, [
189
190
  v("", !0),
190
- e(m) ? v("", !0) : (l(), c("li", Lt, [
191
+ e(m) ? v("", !0) : (l(), d("li", Lt, [
191
192
  t("div", null, [
192
- f(fe, {
193
+ g(ge, {
193
194
  icon: "calendar-clock",
194
195
  color: "header"
195
196
  }),
196
- t("span", null, o(e(d)("event.lengthOfEvent")), 1)
197
+ t("span", null, o(e(r)("event.lengthOfEvent")), 1)
197
198
  ]),
198
- t("span", null, o(g.value), 1)
199
+ t("span", null, o(f.value), 1)
199
200
  ])),
200
201
  t("li", Bt, [
201
202
  t("div", null, [
202
- f(fe, {
203
+ g(ge, {
203
204
  icon: "calendar-clock",
204
205
  color: "header"
205
206
  }),
206
- t("span", null, o(e(d)("event.startAndEndTime")), 1)
207
+ t("span", null, o(e(r)("event.startAndEndTime")), 1)
207
208
  ]),
208
209
  t("span", null, o(e(lt)(s.timeFrom, s.timeTo)), 1)
209
210
  ])
@@ -212,7 +213,7 @@ const Lt = {
212
213
  _: 1
213
214
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
214
215
  }
215
- }), Rt = /* @__PURE__ */ ie(Nt, [["__scopeId", "data-v-93456ccd"]]), Mt = ["innerHTML"], Ut = /* @__PURE__ */ Z({
216
+ }), Mt = /* @__PURE__ */ ie(Nt, [["__scopeId", "data-v-93456ccd"]]), Rt = ["innerHTML"], Ut = /* @__PURE__ */ Z({
216
217
  __name: "Template",
217
218
  props: {
218
219
  name: {},
@@ -229,7 +230,7 @@ const Lt = {
229
230
  callback: {}
230
231
  },
231
232
  setup(u) {
232
- const n = u, d = ae(() => {
233
+ const n = u, r = ae(() => {
233
234
  if (n.image)
234
235
  return [{
235
236
  large: n.image,
@@ -238,9 +239,9 @@ const Lt = {
238
239
  url: n.image
239
240
  }];
240
241
  });
241
- return (m, g) => (l(), T(Ce, {
242
+ return (m, f) => (l(), T(Ce, {
242
243
  "listing-id": m.listingId,
243
- gallery: d.value,
244
+ gallery: r.value,
244
245
  name: m.name,
245
246
  description: m.description,
246
247
  "prices-from": m.fromPrice,
@@ -249,10 +250,10 @@ const Lt = {
249
250
  callback: m.callback
250
251
  }, {
251
252
  description: p(() => [
252
- m.description ? (l(), c("p", {
253
+ m.description ? (l(), d("p", {
253
254
  key: 0,
254
- innerHTML: e(Ae)(m.description)
255
- }, null, 8, Mt)) : v("", !0)
255
+ innerHTML: e(Oe)(m.description)
256
+ }, null, 8, Rt)) : v("", !0)
256
257
  ]),
257
258
  _: 1
258
259
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
@@ -264,50 +265,50 @@ const Lt = {
264
265
  showTermsNotice: { type: Boolean, default: !1 }
265
266
  },
266
267
  setup(u) {
267
- const { t: n } = se(), d = Ze(), {
268
+ const { t: n } = se(), r = Ze(), {
268
269
  areListingsAvailable: m,
269
- arrivalTime: g,
270
+ arrivalTime: f,
270
271
  numberOfPeople: s,
271
272
  numberOfRooms: b,
272
273
  numberOfTotalDays: $,
273
- isTemplateEvent: r,
274
+ isTemplateEvent: c,
274
275
  currentEventDate: h,
275
276
  length: y,
276
277
  fromDate: E,
277
- tableBasePrice: V,
278
+ tableBasePrice: w,
278
279
  getTemplateData: P,
279
- basePrice: U,
280
+ basePrice: I,
280
281
  totalPrice: _,
281
282
  weekendFee: i,
282
- roomUpgrade: I,
283
- discountCode: B
284
- } = q(Y()), { totalAddonPrice: re, validateDiscountCode: de } = Y(), { currency: K, hideEventLength: ce } = q(he());
285
- return (F, X) => (l(), T(mt, {
286
- "discount-code": e(B),
287
- "onUpdate:discountCode": X[0] || (X[0] = (H) => M(B) ? B.value = H : null),
288
- "validate-discount-code": e(de),
283
+ roomUpgrade: L,
284
+ discountCode: N
285
+ } = q(Y()), { totalAddonPrice: re, validateDiscountCode: ce } = Y(), { currency: K, hideEventLength: de } = q(he());
286
+ return (F, X) => (l(), T(ft, {
287
+ "discount-code": e(N),
288
+ "onUpdate:discountCode": X[0] || (X[0] = (H) => U(N) ? N.value = H : null),
289
+ "validate-discount-code": e(ce),
289
290
  "show-gift-card": F.showGiftCard,
290
291
  "show-terms-notice": F.showTermsNotice,
291
292
  "is-sidebar-loading": !e(m),
292
- "base-price": e(U),
293
+ "base-price": e(I),
293
294
  "total-price": e(_),
294
295
  "weekend-fee": e(i),
295
- "room-upgrade": e(I),
296
+ "room-upgrade": e(L),
296
297
  notice: e(n)("event.reservationNotice")
297
298
  }, Qe({
298
299
  form: p(() => [
299
300
  ne(F.$slots, "form")
300
301
  ]),
301
302
  "reservation-summary": p(() => [
302
- e(r) ? (l(), c("li", Ft, [
303
+ e(c) ? (l(), d("li", Ft, [
303
304
  t("span", null, o(e(n)("booking.reservation.arrival")), 1),
304
305
  t("b", null, o(e(le)(e(E))), 1)
305
306
  ])) : v("", !0),
306
- e(r) ? (l(), c("li", Gt, [
307
+ e(c) ? (l(), d("li", Gt, [
307
308
  t("span", null, o(e(n)("booking.reservation.departure")), 1),
308
309
  t("b", null, o(e(le)(e(E), e($))), 1)
309
310
  ])) : v("", !0),
310
- e(r) ? v("", !0) : (l(), c("li", qt, [
311
+ e(c) ? v("", !0) : (l(), d("li", qt, [
311
312
  t("span", null, o(e(n)("general.date")), 1),
312
313
  t("b", null, o(e(le)(e(h))), 1)
313
314
  ])),
@@ -315,31 +316,31 @@ const Lt = {
315
316
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
316
317
  t("b", null, o(e(s)), 1)
317
318
  ]),
318
- e(r) ? (l(), c("li", zt, [
319
+ e(c) ? (l(), d("li", zt, [
319
320
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
320
321
  t("b", null, o(e(b)), 1)
321
322
  ])) : v("", !0),
322
- e(r) ? (l(), c("li", Ht, [
323
+ e(c) ? (l(), d("li", Ht, [
323
324
  t("span", null, o(e(n)("event.numberOfDays")), 1),
324
325
  t("b", null, o(e($)), 1)
325
326
  ])) : v("", !0),
326
- !e(r) && e(g) ? (l(), c("li", jt, [
327
+ !e(c) && e(f) ? (l(), d("li", jt, [
327
328
  t("span", null, o(e(n)("event.startOfEvent")), 1),
328
- t("b", null, o(e(ge)(e(g))), 1)
329
+ t("b", null, o(e(fe)(e(f))), 1)
329
330
  ])) : v("", !0),
330
- !e(r) && e(y) && !e(ce) ? (l(), c("li", Yt, [
331
+ !e(c) && e(y) && !e(de) ? (l(), d("li", Yt, [
331
332
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
332
- t("b", null, o(e(ge)(e(y))), 1)
333
+ t("b", null, o(e(fe)(e(y))), 1)
333
334
  ])) : v("", !0)
334
335
  ]),
335
336
  "price-summary": p(() => [
336
- !e(r) && e(V) > 0 ? (l(), c("li", Zt, [
337
+ !e(c) && e(w) > 0 ? (l(), d("li", Zt, [
337
338
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
338
- t("b", null, o(e(G)(e(V), e(K))), 1)
339
+ t("b", null, o(e(G)(e(w), e(K))), 1)
339
340
  ])) : v("", !0),
340
- e(P) ? (l(!0), c(R, { key: 1 }, j(e(P), ({ roomGroupId: H }, N) => (l(), c("li", { key: H }, [
341
- t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(N + 1), 1),
342
- t("b", null, o(e(G)(e(re)(H, N), e(K))), 1)
341
+ e(P) ? (l(!0), d(R, { key: 1 }, j(e(P), ({ roomGroupId: H }, M) => (l(), d("li", { key: H }, [
342
+ t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(M + 1), 1),
343
+ t("b", null, o(e(G)(e(re)(H, M), e(K))), 1)
343
344
  ]))), 128)) : v("", !0)
344
345
  ]),
345
346
  navigation: p(() => [
@@ -347,7 +348,7 @@ const Lt = {
347
348
  ]),
348
349
  _: 2
349
350
  }, [
350
- e(d).sidebar ? {
351
+ e(r).sidebar ? {
351
352
  name: "sidebar",
352
353
  fn: p(() => [
353
354
  ne(F.$slots, "sidebar")
@@ -359,17 +360,17 @@ const Lt = {
359
360
  }), Qt = { class: "event-skeleton" }, Wt = { class: "event-skeleton-content" }, Jt = { class: "event-skeleton-sidebar" }, Kt = /* @__PURE__ */ Z({
360
361
  __name: "EventSkeleton",
361
362
  setup(u) {
362
- return (n, d) => (l(), c("div", Qt, [
363
+ return (n, r) => (l(), d("div", Qt, [
363
364
  t("div", Wt, [
364
- f(Se)
365
+ g(Se)
365
366
  ]),
366
367
  t("div", Jt, [
367
368
  v("", !0),
368
- f(pt)
369
+ g(ht)
369
370
  ])
370
371
  ]));
371
372
  }
372
- }), Xt = /* @__PURE__ */ ie(Kt, [["__scopeId", "data-v-3e15c4e3"]]), z = (u) => (Je("data-v-62ec24db"), u = u(), Ke(), u), xt = {
373
+ }), Xt = /* @__PURE__ */ ie(Kt, [["__scopeId", "data-v-3e15c4e3"]]), z = (u) => (Je("data-v-58c8f46a"), u = u(), Ke(), u), xt = {
373
374
  key: 0,
374
375
  id: "konnectio-event-listings-wrapper"
375
376
  };
@@ -380,7 +381,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
380
381
  }, on = { class: "konnectio-panel" }, ln = {
381
382
  key: 0,
382
383
  id: "konnectio-event-addons"
383
- }, an = { class: "konnectio-table with-lines" }, sn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), rn = { class: "konnectio-event-addons-price" }, dn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), cn = { class: "konnectio-event-addons-input" }, un = { class: "konnectio-event-addons-price" }, mn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("td", null, null, -1)), pn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("td", null, null, -1)), vn = { class: "konnectio-event-addons-price" }, bn = { key: 1 }, fn = { class: "konnectio-label required" }, gn = { class: "konnectio-table with-lines" }, hn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), kn = { class: "konnectio-event-addons-price" }, yn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), _n = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), $n = { class: "konnectio-event-addons-input" }, wn = { class: "konnectio-event-addons-price" }, Vn = ["onClick"], Dn = { class: "konnectio-panel" }, En = ["onClick"], Tn = /* @__PURE__ */ Z({
384
+ }, an = { class: "konnectio-table with-lines" }, sn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), rn = { class: "konnectio-event-addons-price" }, cn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), dn = { class: "konnectio-event-addons-input" }, un = { class: "konnectio-event-addons-price" }, mn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("td", null, null, -1)), pn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("td", null, null, -1)), vn = { class: "konnectio-event-addons-price" }, bn = { key: 1 }, gn = { class: "konnectio-label required" }, fn = { class: "konnectio-table with-lines" }, hn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), kn = { class: "konnectio-event-addons-price" }, yn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), _n = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), $n = { class: "konnectio-event-addons-input" }, wn = { class: "konnectio-event-addons-price" }, Vn = ["onClick"], Dn = { class: "konnectio-panel" }, En = ["onClick"], Tn = /* @__PURE__ */ Z({
384
385
  name: "EventLayout",
385
386
  __name: "Event",
386
387
  props: {
@@ -391,38 +392,38 @@ const tn = { class: "konnectio-event-listings" }, nn = {
391
392
  },
392
393
  setup(u) {
393
394
  const { t: n } = se(), {
394
- addons: d,
395
+ addons: r,
395
396
  products: m,
396
- numberOfDays: g,
397
+ numberOfDays: f,
397
398
  name: s,
398
399
  phone: b,
399
400
  email: $,
400
- remark: r,
401
+ remark: c,
401
402
  allergies: h,
402
403
  arrivalTime: y,
403
404
  hasEvents: E,
404
- hasTemplates: V,
405
+ hasTemplates: w,
405
406
  getEvents: P,
406
- getTemplates: U,
407
+ getTemplates: I,
407
408
  getEventData: _,
408
409
  getTemplateData: i,
409
- getEventTableData: I,
410
- hasProducts: B,
410
+ getEventTableData: L,
411
+ hasProducts: N,
411
412
  eventRateType: re,
412
- areListingsAvailable: de,
413
+ areListingsAvailable: ce,
413
414
  isAvailabilityDataAvailable: K,
414
- hasListingData: ce,
415
+ hasListingData: de,
415
416
  isPaymentLoading: F,
416
417
  isReservationFormFilled: X,
417
418
  requiresArrivalTime: H
418
- } = q(Y()), { currency: N } = q(he()), { eventDate: Ie, eventLocation: Le } = q(we()), { isValidRestaurantId: Be } = we(), {
419
+ } = q(Y()), { currency: M } = q(he()), { eventDate: Ie, eventLocation: Le } = q(we()), { isValidRestaurantId: Be } = we(), {
419
420
  initialize: Ne,
420
- fetchListings: Re,
421
- createBooking: Me,
421
+ fetchListings: Me,
422
+ createBooking: Re,
422
423
  localAddonPrice: ke,
423
424
  totalAddonPrice: Ue,
424
425
  reset: ye
425
- } = Y(), { display: ue } = Oe(), Fe = [
426
+ } = Y(), { display: ue } = Ae(), Fe = [
426
427
  {
427
428
  id: "availability",
428
429
  label: n("booking.availability.title"),
@@ -449,22 +450,22 @@ const tn = { class: "konnectio-event-listings" }, nn = {
449
450
  icon: "calendar-check"
450
451
  }
451
452
  ], Ge = ae(() => {
452
- const w = [];
453
- return I.value && I.value.forEach((k) => {
454
- w.push({
455
- label: ge(k.time),
453
+ const V = [];
454
+ return L.value && L.value.forEach((k) => {
455
+ V.push({
456
+ label: fe(k.time),
456
457
  value: k.time
457
458
  });
458
- }), w;
459
+ }), V;
459
460
  });
460
461
  function qe() {
461
- const w = rt("hash-params", {
462
+ const V = rt("hash-params", {
462
463
  removeNullishValues: !0
463
- }), k = parseInt(w.rid), S = w.d, O = parseInt(w.eid);
464
+ }), k = parseInt(V.rid), S = V.d, A = parseInt(V.eid);
464
465
  if (S)
465
- if (dt(S)) {
466
- const C = new Date(S), L = C.setHours(12, 0, 0, 0), D = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
467
- L >= D ? (Ie.value = C, w.d = void 0) : ue({
466
+ if (ct(S)) {
467
+ const C = new Date(S), B = C.setHours(12, 0, 0, 0), D = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
468
+ B >= D ? (Ie.value = C, V.d = void 0) : ue({
468
469
  message: n("alert.error.invalidDateRange"),
469
470
  type: "error"
470
471
  });
@@ -473,44 +474,44 @@ const tn = { class: "konnectio-event-listings" }, nn = {
473
474
  message: n("alert.error.wrongDateFormat"),
474
475
  type: "error"
475
476
  });
476
- isNaN(k) || (Be(k) ? (Le.value = k, w.rid = void 0) : ue({
477
+ isNaN(k) || (Be(k) ? Le.value = k : ue({
477
478
  message: n("alert.error.hotelIdNotFound"),
478
479
  type: "error"
479
480
  }));
480
481
  let a;
481
- isNaN(O) || (a = O), Re(a);
482
+ isNaN(A) || (a = A), Me(a);
482
483
  }
483
- return (w, k) => (l(), T(it, { styling: w.styling }, {
484
+ return (V, k) => (l(), T(it, { styling: V.styling }, {
484
485
  default: p(() => [
485
486
  (l(), T(We, { onResolve: qe }, {
486
487
  default: p(() => [
487
- f($t, {
488
+ g(bt, {
488
489
  id: "konnectio-event-module",
489
- "access-token": w.accessToken,
490
+ "access-token": V.accessToken,
490
491
  callback: e(Ne)
491
492
  }, {
492
493
  default: p(() => [
493
- f(vt, { steps: Fe }, {
494
+ g(kt, { steps: Fe }, {
494
495
  availability: p(({ next: S }) => [
495
- f(ve, null, {
496
+ g(ve, null, {
496
497
  sidebar: p(() => [
497
- f(Et, {
498
+ g(Et, {
498
499
  redirection: !1,
499
- "selected-location": Number(w.selectedLocation)
500
+ "selected-location": Number(V.selectedLocation)
500
501
  }, null, 8, ["selected-location"])
501
502
  ]),
502
503
  form: p(() => [
503
- e(ce) && e(de) ? (l(), c("div", xt, [
504
- e(E) && w.onlyShow !== "templates" ? (l(), c(R, { key: 0 }, [
504
+ e(de) && e(ce) ? (l(), d("div", xt, [
505
+ e(E) && V.onlyShow !== "templates" ? (l(), d(R, { key: 0 }, [
505
506
  v("", !0),
506
507
  t("ul", en, [
507
- (l(!0), c(R, null, j(e(P), ({
508
- id: O,
508
+ (l(!0), d(R, null, j(e(P), ({
509
+ id: A,
509
510
  days: a,
510
511
  name: C,
511
- timeFrom: L,
512
+ timeFrom: B,
512
513
  timeTo: D,
513
- fromDate: A,
514
+ fromDate: O,
514
515
  toDate: Q,
515
516
  tableGroupId: W,
516
517
  description: me,
@@ -519,53 +520,53 @@ const tn = { class: "konnectio-event-listings" }, nn = {
519
520
  images: ze,
520
521
  maxOnlineReservationLimit: He,
521
522
  maxPaxPerReservation: je
522
- }) => (l(), T(Rt, {
523
- key: O,
523
+ }) => (l(), T(Mt, {
524
+ key: A,
524
525
  type: "event",
525
- "listing-id": O,
526
+ "listing-id": A,
526
527
  "table-group-id": W,
527
528
  description: me,
528
529
  name: C,
529
530
  length: J,
530
531
  gallery: ze,
531
532
  days: a,
532
- "from-date": A,
533
+ "from-date": O,
533
534
  "to-date": Q,
534
535
  "max-online-reservation-limit": je || He,
535
- "time-from": L,
536
+ "time-from": B,
536
537
  "time-to": D,
537
538
  "sold-out": pe,
538
539
  callback: S
539
540
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "callback"]))), 128))
540
541
  ])
541
542
  ], 64)) : v("", !0),
542
- e(V) && w.onlyShow !== "events" ? (l(), c(R, { key: 1 }, [
543
+ e(w) && V.onlyShow !== "events" ? (l(), d(R, { key: 1 }, [
543
544
  v("", !0),
544
545
  t("ul", tn, [
545
- (l(!0), c(R, null, j(e(U), ({
546
- id: O,
546
+ (l(!0), d(R, null, j(e(I), ({
547
+ id: A,
547
548
  name: a,
548
549
  fromDate: C,
549
- toDate: L,
550
+ toDate: B,
550
551
  minimumPersonCount: D,
551
- fromPrice: A,
552
+ fromPrice: O,
552
553
  description: Q,
553
554
  imageUrl: W
554
555
  }) => (l(), T(Ut, {
555
- key: O,
556
- "listing-id": O,
556
+ key: A,
557
+ "listing-id": A,
557
558
  name: a,
558
559
  image: W,
559
560
  description: Q,
560
561
  "from-date": C,
561
- "to-date": L,
562
+ "to-date": B,
562
563
  "minimum-person-count": D,
563
- fromPrice: A,
564
+ fromPrice: O,
564
565
  callback: S
565
566
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
566
567
  ])
567
568
  ], 64)) : v("", !0),
568
- !e(E) && !e(V) || !e(E) && w.onlyShow === "events" || !e(V) && w.onlyShow === "templates" ? (l(), c("div", nn, [
569
+ !e(E) && !e(w) || !e(E) && V.onlyShow === "events" || !e(w) && V.onlyShow === "templates" ? (l(), d("div", nn, [
569
570
  t("span", null, o(e(n)("event.nothingAvailable")), 1)
570
571
  ])) : v("", !0)
571
572
  ])) : (l(), T(Se, { key: 1 }))
@@ -573,28 +574,28 @@ const tn = { class: "konnectio-event-listings" }, nn = {
573
574
  _: 2
574
575
  }, 1024)
575
576
  ]),
576
- addons: p(({ next: S, prev: O }) => [
577
+ addons: p(({ next: S, prev: A }) => [
577
578
  e(K) ? (l(), T(ve, { key: 0 }, {
578
579
  form: p(() => [
579
580
  t("form", on, [
580
581
  t("h2", null, [
581
582
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
582
583
  ]),
583
- e(i) && e(i).length > 0 ? (l(), c("ul", ln, [
584
- (l(!0), c(R, null, j(e(i), ({
584
+ e(i) && e(i).length > 0 ? (l(), d("ul", ln, [
585
+ (l(!0), d(R, null, j(e(i), ({
585
586
  roomGroupId: a,
586
587
  addons: C,
587
- adultPerRoom: L
588
- }, D) => (l(), c("li", { key: a }, [
588
+ adultPerRoom: B
589
+ }, D) => (l(), d("li", { key: a }, [
589
590
  t("h5", null, [
590
591
  t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(D + 1), 1),
591
592
  _e(" ("),
592
- f(fe, {
593
+ g(ge, {
593
594
  icon: "male",
594
595
  type: "fas",
595
596
  color: "header"
596
597
  }),
597
- _e(" " + o(L) + ") ", 1)
598
+ _e(" " + o(B) + ") ", 1)
598
599
  ]),
599
600
  t("table", an, [
600
601
  t("thead", null, [
@@ -609,34 +610,34 @@ const tn = { class: "konnectio-event-listings" }, nn = {
609
610
  ])
610
611
  ]),
611
612
  t("tbody", null, [
612
- (l(!0), c(R, null, j(C, ({
613
- id: A,
613
+ (l(!0), d(R, null, j(C, ({
614
+ id: O,
614
615
  cardinality: Q,
615
616
  name: W,
616
617
  price: me,
617
618
  quantityStrategy: pe
618
- }) => (l(), c("tr", { key: A }, [
619
+ }) => (l(), d("tr", { key: O }, [
619
620
  t("td", null, [
620
621
  t("b", null, o(W), 1),
621
- dn,
622
- t("span", null, o(e(G)(me, e(N))) + " " + o(e(at)(pe)), 1)
622
+ cn,
623
+ t("span", null, o(e(G)(me, e(M))) + " " + o(e(at)(pe)), 1)
623
624
  ]),
624
- t("td", cn, [
625
+ t("td", dn, [
625
626
  Q === 3 ? (l(), T(oe, {
626
627
  key: 0,
627
- modelValue: e(d)[`${a}.${A}.${D}`],
628
- "onUpdate:modelValue": (J) => e(d)[`${a}.${A}.${D}`] = J,
628
+ modelValue: e(r)[`${a}.${O}.${D}`],
629
+ "onUpdate:modelValue": (J) => e(r)[`${a}.${O}.${D}`] = J,
629
630
  small: !0,
630
631
  "min-value": 0
631
632
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), T(wt, {
632
633
  key: 1,
633
- modelValue: e(d)[`${a}.${A}.${D}`],
634
- "onUpdate:modelValue": (J) => e(d)[`${a}.${A}.${D}`] = J,
634
+ modelValue: e(r)[`${a}.${O}.${D}`],
635
+ "onUpdate:modelValue": (J) => e(r)[`${a}.${O}.${D}`] = J,
635
636
  numeric: !0
636
637
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
637
638
  ]),
638
639
  t("td", un, [
639
- t("span", null, o(e(G)(e(ke)(A, a, D), e(N))), 1)
640
+ t("span", null, o(e(G)(e(ke)(O, a, D), e(M))), 1)
640
641
  ])
641
642
  ]))), 128))
642
643
  ]),
@@ -646,7 +647,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
646
647
  pn,
647
648
  t("td", vn, [
648
649
  t("u", null, [
649
- t("span", null, o(e(G)(e(Ue)(a, D), e(N))), 1)
650
+ t("span", null, o(e(G)(e(Ue)(a, D), e(M))), 1)
650
651
  ])
651
652
  ])
652
653
  ])
@@ -654,11 +655,11 @@ const tn = { class: "konnectio-event-listings" }, nn = {
654
655
  ])
655
656
  ]))), 128))
656
657
  ])) : v("", !0),
657
- e(B) ? (l(), c("div", bn, [
658
- t("label", fn, [
658
+ e(N) ? (l(), d("div", bn, [
659
+ t("label", gn, [
659
660
  t("span", null, o(e(n)("event.selectProducts")), 1)
660
661
  ]),
661
- t("table", gn, [
662
+ t("table", fn, [
662
663
  t("thead", null, [
663
664
  t("tr", null, [
664
665
  t("th", null, [
@@ -671,7 +672,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
671
672
  ])
672
673
  ]),
673
674
  t("tbody", null, [
674
- (l(!0), c(R, null, j(e(_).products, ({ productID: a, productName: C, price: L, description: D }) => (l(), c("tr", { key: a }, [
675
+ (l(!0), d(R, null, j(e(_).products, ({ productID: a, productName: C, price: B, description: D }) => (l(), d("tr", { key: a }, [
675
676
  t("td", null, [
676
677
  t("b", null, [
677
678
  t("span", null, o(C), 1)
@@ -679,18 +680,18 @@ const tn = { class: "konnectio-event-listings" }, nn = {
679
680
  yn,
680
681
  t("span", null, o(D), 1),
681
682
  _n,
682
- t("span", null, o(e(G)(L, e(N))), 1)
683
+ t("span", null, o(e(G)(B, e(M))), 1)
683
684
  ]),
684
685
  t("td", $n, [
685
- f(oe, {
686
+ g(oe, {
686
687
  modelValue: e(m)[a],
687
- "onUpdate:modelValue": (A) => e(m)[a] = A,
688
+ "onUpdate:modelValue": (O) => e(m)[a] = O,
688
689
  small: !0,
689
690
  "min-value": 0
690
691
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
691
692
  ]),
692
693
  t("td", wn, [
693
- t("span", null, o(e(G)(e(ke)(a), e(N))), 1)
694
+ t("span", null, o(e(G)(e(ke)(a), e(M))), 1)
694
695
  ])
695
696
  ]))), 128))
696
697
  ])
@@ -699,14 +700,14 @@ const tn = { class: "konnectio-event-listings" }, nn = {
699
700
  ])
700
701
  ]),
701
702
  navigation: p(() => [
702
- f(be, {
703
+ g(be, {
703
704
  label: e(n)("event.startReservation"),
704
705
  "full-width": "",
705
706
  onClickEvent: S
706
707
  }, null, 8, ["label", "onClickEvent"]),
707
708
  t("button", {
708
709
  class: "konnectio-abort-reservation link",
709
- onClick: $e((a) => e(ye)(O), ["prevent"])
710
+ onClick: $e((a) => e(ye)(A), ["prevent"])
710
711
  }, [
711
712
  t("span", null, o(e(n)("general.goAStepBack")), 1)
712
713
  ], 8, Vn)
@@ -714,8 +715,8 @@ const tn = { class: "konnectio-event-listings" }, nn = {
714
715
  _: 2
715
716
  }, 1024)) : v("", !0)
716
717
  ]),
717
- reservation: p(({ next: S, prev: O }) => [
718
- f(ve, {
718
+ reservation: p(({ next: S, prev: A }) => [
719
+ g(ve, {
719
720
  "show-terms-notice": !0,
720
721
  "show-gift-card": !0
721
722
  }, {
@@ -724,18 +725,18 @@ const tn = { class: "konnectio-event-listings" }, nn = {
724
725
  t("h2", null, [
725
726
  t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
726
727
  ]),
727
- f(x, {
728
+ g(x, {
728
729
  modelValue: e(s),
729
- "onUpdate:modelValue": k[0] || (k[0] = (a) => M(s) ? s.value = a : null),
730
+ "onUpdate:modelValue": k[0] || (k[0] = (a) => U(s) ? s.value = a : null),
730
731
  type: "text",
731
732
  label: e(n)("booking.reservation.name"),
732
733
  icon: "user-alt",
733
734
  placeholder: e(n)("booking.reservation.namePlaceholder"),
734
735
  required: ""
735
736
  }, null, 8, ["modelValue", "label", "placeholder"]),
736
- f(x, {
737
+ g(x, {
737
738
  modelValue: e($),
738
- "onUpdate:modelValue": k[1] || (k[1] = (a) => M($) ? $.value = a : null),
739
+ "onUpdate:modelValue": k[1] || (k[1] = (a) => U($) ? $.value = a : null),
739
740
  label: e(n)("booking.reservation.email"),
740
741
  type: "email",
741
742
  name: "email",
@@ -744,18 +745,18 @@ const tn = { class: "konnectio-event-listings" }, nn = {
744
745
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
745
746
  required: ""
746
747
  }, null, 8, ["modelValue", "label", "placeholder"]),
747
- f(Vt, {
748
+ g(Vt, {
748
749
  modelValue: e(b),
749
- "onUpdate:modelValue": k[2] || (k[2] = (a) => M(b) ? b.value = a : null),
750
+ "onUpdate:modelValue": k[2] || (k[2] = (a) => U(b) ? b.value = a : null),
750
751
  label: e(n)("booking.reservation.phone"),
751
752
  icon: "phone-office",
752
753
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
753
754
  required: ""
754
755
  }, null, 8, ["modelValue", "label", "placeholder"]),
755
- e(H) ? (l(), T(bt, {
756
+ e(H) ? (l(), T(yt, {
756
757
  key: 0,
757
758
  modelValue: e(y),
758
- "onUpdate:modelValue": k[3] || (k[3] = (a) => M(y) ? y.value = a : null),
759
+ "onUpdate:modelValue": k[3] || (k[3] = (a) => U(y) ? y.value = a : null),
759
760
  label: e(n)("event.selectArrivalTime"),
760
761
  name: "eventTimeTable",
761
762
  checkboxes: Ge.value,
@@ -763,23 +764,23 @@ const tn = { class: "konnectio-event-listings" }, nn = {
763
764
  }, null, 8, ["modelValue", "label", "checkboxes"])) : v("", !0),
764
765
  e(re) === e(st).FullDayEvent ? (l(), T(oe, {
765
766
  key: 1,
766
- modelValue: e(g),
767
- "onUpdate:modelValue": k[4] || (k[4] = (a) => M(g) ? g.value = a : null),
767
+ modelValue: e(f),
768
+ "onUpdate:modelValue": k[4] || (k[4] = (a) => U(f) ? f.value = a : null),
768
769
  label: e(n)("event.numberOfDays"),
769
770
  "min-value": 1,
770
771
  required: ""
771
772
  }, null, 8, ["modelValue", "label"])) : v("", !0),
772
- f(x, {
773
- modelValue: e(r),
774
- "onUpdate:modelValue": k[5] || (k[5] = (a) => M(r) ? r.value = a : null),
773
+ g(x, {
774
+ modelValue: e(c),
775
+ "onUpdate:modelValue": k[5] || (k[5] = (a) => U(c) ? c.value = a : null),
775
776
  type: "textarea",
776
777
  label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
777
778
  icon: "info-circle",
778
779
  placeholder: e(n)("booking.reservation.remarkPlaceholder")
779
780
  }, null, 8, ["modelValue", "label", "placeholder"]),
780
- f(x, {
781
+ g(x, {
781
782
  modelValue: e(h),
782
- "onUpdate:modelValue": k[6] || (k[6] = (a) => M(h) ? h.value = a : null),
783
+ "onUpdate:modelValue": k[6] || (k[6] = (a) => U(h) ? h.value = a : null),
783
784
  type: "textarea",
784
785
  label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
785
786
  icon: "allergies",
@@ -788,16 +789,16 @@ const tn = { class: "konnectio-event-listings" }, nn = {
788
789
  ])
789
790
  ]),
790
791
  navigation: p(() => [
791
- f(be, {
792
+ g(be, {
792
793
  label: e(n)("general.confirmReservation"),
793
794
  "is-loading": e(F),
794
795
  disabled: !e(X),
795
796
  "full-width": "",
796
- onClickEvent: (a) => e(Me)(S)
797
+ onClickEvent: (a) => e(Re)(S)
797
798
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"]),
798
799
  t("button", {
799
800
  class: "konnectio-abort-reservation link",
800
- onClick: $e((a) => e(ye)(O), ["prevent"])
801
+ onClick: $e((a) => e(ye)(A), ["prevent"])
801
802
  }, [
802
803
  t("span", null, o(e(n)("general.goAStepBack")), 1)
803
804
  ], 8, En)
@@ -806,10 +807,10 @@ const tn = { class: "konnectio-event-listings" }, nn = {
806
807
  }, 1024)
807
808
  ]),
808
809
  payment: p(() => [
809
- f(Dt)
810
+ g(Dt)
810
811
  ]),
811
812
  confirmation: p(() => [
812
- f(ft, {
813
+ g(_t, {
813
814
  message: e(n)("event.confirmationMessage")
814
815
  }, null, 8, ["message"])
815
816
  ]),
@@ -820,7 +821,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
820
821
  }, 8, ["access-token", "callback"])
821
822
  ]),
822
823
  fallback: p(() => [
823
- f(Xt)
824
+ g(Xt)
824
825
  ]),
825
826
  _: 1
826
827
  }))
@@ -828,8 +829,8 @@ const tn = { class: "konnectio-event-listings" }, nn = {
828
829
  _: 1
829
830
  }, 8, ["styling"]));
830
831
  }
831
- }), te = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-62ec24db"]]), Pn = xe(), On = tt();
832
- class An extends HTMLElement {
832
+ }), te = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-58c8f46a"]]), Pn = xe(), An = tt();
833
+ class On extends HTMLElement {
833
834
  vueApp;
834
835
  constructor() {
835
836
  super();
@@ -839,25 +840,25 @@ class An extends HTMLElement {
839
840
  }
840
841
  connectedCallback() {
841
842
  const n = typeof te == "function" ? te.options : te;
842
- let d = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
843
- const m = (r) => r.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (h, y) => (y ? "-" : "") + h.toLowerCase()), g = (r) => r.replace(/-./g, (h) => h[1].toUpperCase()), s = {};
844
- d = d.map(m);
843
+ let r = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
844
+ const m = (c) => c.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (h, y) => (y ? "-" : "") + h.toLowerCase()), f = (c) => c.replace(/-./g, (h) => h[1].toUpperCase()), s = {};
845
+ r = r.map(m);
845
846
  const b = {};
846
- for (const r of this.attributes) {
847
- const y = r.name.split(".");
848
- y.length > 1 && (b[y[0]] || (b[y[0]] = {}), b[y[0]][g(y[1])] = r.value);
847
+ for (const c of this.attributes) {
848
+ const y = c.name.split(".");
849
+ y.length > 1 && (b[y[0]] || (b[y[0]] = {}), b[y[0]][f(y[1])] = c.value);
849
850
  }
850
- for (const r of d) {
851
- let h = this.attributes.getNamedItem(r)?.value;
852
- b.hasOwnProperty(r) && (h = b[r]), s[r] = h;
851
+ for (const c of r) {
852
+ let h = this.attributes.getNamedItem(c)?.value;
853
+ b.hasOwnProperty(c) && (h = b[c]), s[c] = h;
853
854
  }
854
- this.vueApp = Xe(te, s), this.vueApp.provide("emitter", On), this.vueApp.use(et), this.vueApp.use(Pn), this.vueApp.use(gt), this.vueApp.use(ht), this.vueApp.use(ct, { bootstrap: !0 });
855
+ this.vueApp = Xe(te, s), this.vueApp.provide("emitter", An), this.vueApp.use(et), this.vueApp.use(Pn), this.vueApp.use($t), this.vueApp.use(ut), this.vueApp.use(dt, { bootstrap: !0 });
855
856
  const $ = document.createElement("div");
856
857
  this.vueApp.mount($), this.appendChild($.children[0]);
857
858
  }
858
859
  }
859
- window.customElements.define("konnectio-event", An);
860
+ window.customElements.define("konnectio-event", On);
860
861
  export {
861
- An as default
862
+ On as default
862
863
  };
863
864
  //# sourceMappingURL=event.js.map