@konnectio/core 4.1.35 → 4.1.37

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-DCNmZZiv.js → ActionField-aVduAM49.js} +7 -7
  2. package/dist/ActionField-aVduAM49.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-hxyWfYPt.js → AvailabilitySkeleton-BQkzT2xY.js} +5 -5
  4. package/dist/AvailabilitySkeleton-BQkzT2xY.js.br +0 -0
  5. package/dist/{DateField.vue_vue_type_style_index_0_lang-NuM1ccef.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CImmjifJ.js} +335 -335
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CImmjifJ.js.br +0 -0
  7. package/dist/{CheckoutWindow-g8MDS77k.js → CheckoutWindow-Dpw9kObY.js} +2 -2
  8. package/dist/CheckoutWindow-Dpw9kObY.js.br +0 -0
  9. package/dist/{ErrorMessage-BepY_jfx.js → ErrorMessage-A5fWHfoh.js} +20 -19
  10. package/dist/ErrorMessage-A5fWHfoh.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BXiK3AtP.js → EventAvailabilityForm-CKpywJRM.js} +3 -3
  12. package/dist/EventAvailabilityForm-CKpywJRM.js.br +0 -0
  13. package/dist/{Field-C9QNlfAq.js → Field-mFqXwZF5.js} +3 -3
  14. package/dist/Field-mFqXwZF5.js.br +0 -0
  15. package/dist/{_-B2bj92F_.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DQvEOwUv.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-DvnzQIPc.js → SelectField.vue_vue_type_style_index_0_lang-BXl_h0i1.js} +3413 -3572
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-BXl_h0i1.js.br +0 -0
  18. package/dist/{TermsOfService-CbQ2ath8.js → TermsOfService-CLhwmEUs.js} +3 -3
  19. package/dist/_-DNmHEzwh.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CZTIy2SW.js → _.vue_vue_type_style_index_0_lang-sCAESZ1X.js} +7 -7
  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 +353 -352
  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-Dppuc1NQ.js → giftCard-BWZEbq_L.js} +2 -2
  34. package/dist/giftCard-BWZEbq_L.js.br +0 -0
  35. package/dist/hotel.js +8 -8
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-B3apLjvx.js → masonry.plugin-DmHHrUrJ.js} +82 -82
  38. package/dist/masonry.plugin-DmHHrUrJ.js.br +0 -0
  39. package/dist/polyfill.js +4772 -4696
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +15 -15
  42. package/dist/ActionField-DCNmZZiv.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-hxyWfYPt.js.br +0 -0
  44. package/dist/CheckoutWindow-g8MDS77k.js.br +0 -0
  45. package/dist/DateField.vue_vue_type_style_index_0_lang-NuM1ccef.js.br +0 -0
  46. package/dist/ErrorMessage-BepY_jfx.js.br +0 -0
  47. package/dist/EventAvailabilityForm-BXiK3AtP.js.br +0 -0
  48. package/dist/Field-C9QNlfAq.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-DvnzQIPc.js.br +0 -0
  50. package/dist/_-DrE9RYpP.js +0 -5
  51. package/dist/giftCard-Dppuc1NQ.js.br +0 -0
  52. package/dist/masonry.plugin-B3apLjvx.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,47 +1,48 @@
1
- import { d as q, u as ne, s as Y, c as j, r as Fe, a as $, b as o, g as e, w as m, q as Q, e as t, n as xe, i as c, f as v, h as r, t as l, F as C, v as G, o as et, j as tt, x as ue, y as nt, z as U, A as at, S as ot, k as lt, _ as st, l as it, m as rt, p as ut } from "./mitt-CgrYtI2g.js";
2
- import { a as Pe, f as J, B as dt, g as re, l as ct, s as z, e as de, _ as W, h as ce, I as te, i as mt, j as me, u as he, k as pt, m as vt, n as bt, o as Z, T as ie, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-DvnzQIPc.js";
1
+ import { d as q, u as oe, s as z, c as W, r as Fe, a as P, b as o, g as e, w as m, q as J, e as t, n as xe, i as c, f as p, h as r, t as l, F as S, v as U, o as et, j as tt, x as de, y as nt, z as M, A as at, S as ot, k as lt, _ as st, l as it, m as rt, p as ut } from "./mitt-CgrYtI2g.js";
2
+ import { a as Pe, f as ae, g as K, B as dt, h as ue, l as ct, s as G, e as ce, _ as Z, I as ne, i as mt, j as me, u as he, k as pt, m as vt, n as bt, o as Q, T as re, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-BXl_h0i1.js";
3
3
  import { G as Pt } from "./style-B_8a8HvR.js";
4
- import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-CZTIy2SW.js";
5
- import { B as wt, _ as _t, R as Et, L as Le, S as Ot, M as Vt, T as Tt, C as Nt, V as Ft, a as Lt } from "./masonry.plugin-B3apLjvx.js";
6
- import { g as Bt, e as Ct, c as St, n as At, a as _e, m as Ee, b as Oe, d as Ve, f as Te, _ as It } from "./DateField.vue_vue_type_style_index_0_lang-NuM1ccef.js";
7
- import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-g8MDS77k.js";
8
- import { E as Gt } from "./EventAvailabilityForm-BXiK3AtP.js";
9
- function zt(w) {
4
+ import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-sCAESZ1X.js";
5
+ import { B as wt, _ as _t, R as Et, L as Le, S as Ot, M as Vt, T as Tt, C as Nt, V as Ft, a as Lt } from "./masonry.plugin-DmHHrUrJ.js";
6
+ import { g as Bt, e as Ct, c as St, n as At, a as _e, m as Ee, b as Oe, d as Ve, f as Te, _ as It } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CImmjifJ.js";
7
+ import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-Dpw9kObY.js";
8
+ import { E as Gt } from "./EventAvailabilityForm-CKpywJRM.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DQvEOwUv.js";
10
+ function zt($) {
10
11
  return (n) => {
11
- const k = (w ? Math[w] : Math.trunc)(n);
12
- return k === 0 ? 0 : k;
12
+ const g = ($ ? Math[$] : Math.trunc)(n);
13
+ return g === 0 ? 0 : g;
13
14
  };
14
15
  }
15
- function qt(w, n, a) {
16
- const k = Bt(), p = a?.locale ?? k.locale ?? Ct, f = St(w, n);
17
- if (isNaN(f))
16
+ function qt($, n, a) {
17
+ const g = Bt(), v = a?.locale ?? g.locale ?? Ct, b = St($, n);
18
+ if (isNaN(b))
18
19
  throw new RangeError("Invalid time value");
19
20
  const i = Object.assign({}, a, {
20
21
  addSuffix: a?.addSuffix,
21
- comparison: f
22
- }), [y, h] = At(
22
+ comparison: b
23
+ }), [f, k] = At(
23
24
  a?.in,
24
- ...f > 0 ? [n, w] : [w, n]
25
- ), s = zt("round"), O = h.getTime() - y.getTime(), D = O / Te, N = _e(h) - _e(y), b = (O - N) / Te, S = a?.unit;
26
- let _;
27
- if (D < 1 ? _ = "second" : D < 60 ? _ = "minute" : D < Ee ? _ = "hour" : b < Oe ? _ = "day" : b < Ve ? _ = "month" : _ = "year", _ === "second") {
28
- const P = s(O / 1e3);
29
- return p.formatDistance("xSeconds", P, i);
30
- } else if (_ === "minute") {
31
- const P = s(D);
32
- return p.formatDistance("xMinutes", P, i);
33
- } else if (_ === "hour") {
34
- const P = s(D / 60);
35
- return p.formatDistance("xHours", P, i);
36
- } else if (_ === "day") {
37
- const P = s(b / Ee);
38
- return p.formatDistance("xDays", P, i);
39
- } else if (_ === "month") {
40
- const P = s(b / Oe);
41
- return P === 12 && S !== "month" ? p.formatDistance("xYears", 1, i) : p.formatDistance("xMonths", P, i);
25
+ ...b > 0 ? [n, $] : [$, n]
26
+ ), s = zt("round"), O = k.getTime() - f.getTime(), h = O / Te, L = _e(k) - _e(f), E = (O - L) / Te, V = a?.unit;
27
+ let w;
28
+ if (h < 1 ? w = "second" : h < 60 ? w = "minute" : h < Ee ? w = "hour" : E < Oe ? w = "day" : E < Ve ? w = "month" : w = "year", w === "second") {
29
+ const D = s(O / 1e3);
30
+ return v.formatDistance("xSeconds", D, i);
31
+ } else if (w === "minute") {
32
+ const D = s(h);
33
+ return v.formatDistance("xMinutes", D, i);
34
+ } else if (w === "hour") {
35
+ const D = s(h / 60);
36
+ return v.formatDistance("xHours", D, i);
37
+ } else if (w === "day") {
38
+ const D = s(E / Ee);
39
+ return v.formatDistance("xDays", D, i);
40
+ } else if (w === "month") {
41
+ const D = s(E / Oe);
42
+ return D === 12 && V !== "month" ? v.formatDistance("xYears", 1, i) : v.formatDistance("xMonths", D, i);
42
43
  } else {
43
- const P = s(b / Ve);
44
- return p.formatDistance("xYears", P, i);
44
+ const D = s(E / Ve);
45
+ return v.formatDistance("xYears", D, i);
45
46
  }
46
47
  }
47
48
  const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__ */ q({
@@ -68,78 +69,80 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
68
69
  disableDeepLink: { type: Boolean, default: !1 },
69
70
  callback: {}
70
71
  },
71
- setup(w) {
72
- const { t: n } = ne(), a = w, { display: k } = Pe(), {
73
- maxNumberOfPeople: p,
74
- numberOfPeople: f,
75
- eventId: i,
76
- currentEventDate: y,
77
- tableGroupId: h
78
- } = Y(J()), {
79
- getTemplateAvailability: s,
80
- getEventAvailability: O,
81
- isEventListingLoading: D
82
- } = J(), N = j(() => a.maxGuests || a.maxOnlineReservationLimit || p.value || 1 / 0), b = Fe(0), S = j(() => D(a.listingId)), _ = () => {
83
- if (!a.useNumberOfProductsForPersons && (b.value === 0 || isNaN(b.value))) {
84
- k({
72
+ setup($) {
73
+ const { t: n } = oe(), a = $, { display: g } = Pe(), {
74
+ hideEventGuestAmount: v
75
+ } = z(ae()), {
76
+ maxNumberOfPeople: b,
77
+ numberOfPeople: i,
78
+ eventId: f,
79
+ currentEventDate: k,
80
+ tableGroupId: s
81
+ } = z(K()), {
82
+ getTemplateAvailability: O,
83
+ getEventAvailability: h,
84
+ isEventListingLoading: L
85
+ } = K(), E = W(() => a.maxGuests || a.maxOnlineReservationLimit || b.value || 1 / 0), V = Fe(0), w = W(() => L(a.listingId)), D = () => {
86
+ if (!a.useNumberOfProductsForPersons && (V.value === 0 || isNaN(V.value))) {
87
+ g({
85
88
  type: "error",
86
89
  message: n("alert.error.selectPeople")
87
90
  });
88
91
  return;
89
92
  }
90
- i.value = a.listingId, f.value = a.useNumberOfProductsForPersons ? NaN : b.value, s(a.callback);
91
- }, P = () => {
92
- if (!a.useNumberOfProductsForPersons && (b.value === 0 || isNaN(b.value))) {
93
- k({
93
+ f.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : V.value, O(a.callback);
94
+ }, H = () => {
95
+ if (!a.useNumberOfProductsForPersons && (V.value === 0 || isNaN(V.value))) {
96
+ g({
94
97
  type: "error",
95
98
  message: n("alert.error.selectPeople")
96
99
  });
97
100
  return;
98
101
  }
99
- i.value = a.listingId, h.value = a.tableGroupId, f.value = a.useNumberOfProductsForPersons ? NaN : b.value, O(a.callback);
102
+ f.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : V.value, h(a.callback);
100
103
  };
101
- return (g, F) => (o(), $(wt, {
104
+ return (y, C) => (o(), P(wt, {
102
105
  type: "event",
103
- "listing-id": g.listingId,
104
- gallery: g.gallery,
105
- name: g.name,
106
- description: g.description,
107
- "prices-from": g.fromPrice,
108
- "to-date": g.toDate,
106
+ "listing-id": y.listingId,
107
+ gallery: y.gallery,
108
+ name: y.name,
109
+ description: y.description,
110
+ "prices-from": y.fromPrice,
111
+ "to-date": y.toDate,
109
112
  layout: e(dt).Event,
110
- "disable-deep-link": g.disableDeepLink
113
+ "disable-deep-link": y.disableDeepLink
111
114
  }, {
112
115
  description: m(() => [
113
- Q(g.$slots, "description", { maxNumberOfPeople: e(p) }, void 0, !0)
116
+ J(y.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
114
117
  ]),
115
118
  action: m(() => [
116
- Q(g.$slots, "action", {}, () => [
119
+ J(y.$slots, "action", {}, () => [
117
120
  t("div", {
118
121
  class: xe([
119
122
  "konnectio-event-listing-action",
120
- { "no-selectable-people": g.useNumberOfProductsForPersons }
123
+ { "no-selectable-people": y.useNumberOfProductsForPersons }
121
124
  ])
122
125
  }, [
123
- g.useNumberOfProductsForPersons ? c("", !0) : (o(), $(re, {
126
+ y.useNumberOfProductsForPersons ? c("", !0) : (o(), P(ue, {
124
127
  key: 0,
125
- modelValue: b.value,
126
- "onUpdate:modelValue": F[0] || (F[0] = (I) => b.value = I),
128
+ modelValue: V.value,
129
+ "onUpdate:modelValue": C[0] || (C[0] = (Y) => V.value = Y),
127
130
  label: e(n)("event.numberOfGuests"),
128
131
  icon: "users",
129
132
  "icon-type": "fas",
130
133
  "icon-placement": "label",
131
- description: N.value <= 20 ? `${e(n)("general.availableFor")}: 1 - ${N.value} ${e(ct)(e(n)("general.guests"))}` : void 0,
134
+ description: E.value <= 20 && !e(v) ? `${e(n)("general.availableFor")}: 1 - ${E.value} ${e(ct)(e(n)("general.guests"))}` : void 0,
132
135
  "min-value": 0,
133
- "max-value": N.value
136
+ "max-value": E.value
134
137
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
135
138
  t("div", Ht, [
136
- v(de, {
137
- label: g.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
138
- disabled: g.soldOut,
139
- "is-loading": S.value,
139
+ p(ce, {
140
+ label: y.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
141
+ disabled: y.soldOut,
142
+ "is-loading": w.value,
140
143
  "full-width": "",
141
- "sub-label": e(z)(e(y)),
142
- onClickEvent: F[1] || (F[1] = (I) => g.type === "event" ? P() : _())
144
+ "sub-label": e(G)(e(k)),
145
+ onClickEvent: C[1] || (C[1] = (Y) => y.type === "event" ? H() : D())
143
146
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
144
147
  ])
145
148
  ], 2)
@@ -148,7 +151,7 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
148
151
  _: 3
149
152
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
150
153
  }
151
- }), Be = /* @__PURE__ */ W(Yt, [["__scopeId", "data-v-bc1ea827"]]), jt = { class: "konnectio-event-listing-information-new" };
154
+ }), Be = /* @__PURE__ */ Z(Yt, [["__scopeId", "data-v-5bd6f82e"]]), jt = { class: "konnectio-event-listing-information-new" };
152
155
  const Wt = {
153
156
  key: 1,
154
157
  class: "konnectio-pill-button"
@@ -174,18 +177,18 @@ const Wt = {
174
177
  trackingEnabled: { type: Boolean },
175
178
  callback: {}
176
179
  },
177
- setup(w) {
178
- const n = w, { t: a } = ne(), {
179
- hideEventLength: k,
180
- hideEventEndTime: p
181
- } = Y(ce()), f = j(() => {
180
+ setup($) {
181
+ const n = $, { t: a } = oe(), {
182
+ hideEventLength: g,
183
+ hideEventEndTime: v
184
+ } = z(ae()), b = W(() => {
182
185
  const i = n.length.split(":");
183
186
  return qt(
184
187
  new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
185
188
  new Date(2e3, 0, 1, 0, 0, 0)
186
189
  );
187
190
  });
188
- return (i, y) => (o(), $(Be, {
191
+ return (i, f) => (o(), P(Be, {
189
192
  "listing-id": i.listingId,
190
193
  name: i.name,
191
194
  description: i.description,
@@ -200,41 +203,41 @@ const Wt = {
200
203
  callback: i.callback
201
204
  }, {
202
205
  description: m(() => [
203
- i.description ? (o(), $(_t, {
206
+ i.description ? (o(), P(_t, {
204
207
  key: 0,
205
208
  text: i.description
206
209
  }, null, 8, ["text"])) : c("", !0),
207
210
  t("ul", jt, [
208
211
  c("", !0),
209
- e(k) ? c("", !0) : (o(), r("li", Wt, [
212
+ e(g) ? c("", !0) : (o(), r("li", Wt, [
210
213
  t("div", null, [
211
- v(te, {
214
+ p(ne, {
212
215
  icon: "calendar-clock",
213
216
  color: "header"
214
217
  }),
215
218
  t("span", null, l(e(a)("event.lengthOfEvent")), 1)
216
219
  ]),
217
- t("span", null, l(f.value), 1)
220
+ t("span", null, l(b.value), 1)
218
221
  ])),
219
222
  t("li", Zt, [
220
223
  t("div", null, [
221
- v(te, {
224
+ p(ne, {
222
225
  icon: "calendar-clock",
223
226
  color: "header"
224
227
  }),
225
228
  t("span", null, l(e(a)("event.startAndEndTime")), 1)
226
229
  ]),
227
- e(p) ? (o(), r("span", Jt, l(e(me)(i.timeFrom)), 1)) : (o(), r("span", Qt, l(e(mt)(i.timeFrom, i.timeTo)), 1))
230
+ e(v) ? (o(), r("span", Jt, l(e(me)(i.timeFrom)), 1)) : (o(), r("span", Qt, l(e(mt)(i.timeFrom, i.timeTo)), 1))
228
231
  ])
229
232
  ])
230
233
  ]),
231
234
  action: m(() => [
232
- Q(i.$slots, "action", {}, void 0, !0)
235
+ J(i.$slots, "action", {}, void 0, !0)
233
236
  ]),
234
237
  _: 3
235
238
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
236
239
  }
237
- }), De = /* @__PURE__ */ W(Kt, [["__scopeId", "data-v-4edad4b3"]]), Xt = {
240
+ }), De = /* @__PURE__ */ Z(Kt, [["__scopeId", "data-v-47a0d2c1"]]), Xt = {
238
241
  key: 0,
239
242
  class: "konnectio-event-grouped-listings-container"
240
243
  }, xt = { class: "konnectio-event-grouped-listings" }, en = /* @__PURE__ */ q({
@@ -244,46 +247,44 @@ const Wt = {
244
247
  events: {},
245
248
  callback: { type: Function }
246
249
  },
247
- setup(w) {
250
+ setup($) {
248
251
  return (n, a) => n.events && n.events.length > 1 ? (o(), r("div", Xt, [
249
252
  c("", !0),
250
253
  t("ul", xt, [
251
- (o(!0), r(C, null, G(n.events, ({
252
- id: k,
253
- days: p,
254
- name: f,
254
+ (o(!0), r(S, null, U(n.events, ({
255
+ id: g,
256
+ days: v,
257
+ name: b,
255
258
  timeFrom: i,
256
- timeTo: y,
257
- fromDate: h,
258
- toDate: s,
259
- tableGroupId: O,
260
- description: D,
261
- soldOut: N,
262
- length: b,
263
- images: S,
264
- maxOnlineReservationLimit: _,
265
- maxPaxPerReservation: P,
266
- useNumberOfProductsForPersons: g,
267
- maxTicketsLimit: F
268
- }) => (o(), $(De, {
269
- key: k,
259
+ timeTo: f,
260
+ tableGroupId: k,
261
+ description: s,
262
+ soldOut: O,
263
+ length: h,
264
+ images: L,
265
+ maxOnlineReservationLimit: E,
266
+ maxPaxPerReservation: V,
267
+ useNumberOfProductsForPersons: w,
268
+ maxTicketsLimit: D
269
+ }) => (o(), P(De, {
270
+ key: g,
270
271
  type: "event",
271
- "listing-id": k,
272
- "table-group-id": O,
273
- description: D,
274
- name: f,
275
- length: b,
276
- gallery: S,
277
- days: p,
278
- "max-online-reservation-limit": P || _ || F,
272
+ "listing-id": g,
273
+ "table-group-id": k,
274
+ description: s,
275
+ name: b,
276
+ length: h,
277
+ gallery: L,
278
+ days: v,
279
+ "max-online-reservation-limit": V || E || D,
279
280
  "time-from": i,
280
- "time-to": y,
281
- "sold-out": N,
282
- "use-number-of-products-for-persons": g,
281
+ "time-to": f,
282
+ "sold-out": O,
283
+ "use-number-of-products-for-persons": w,
283
284
  callback: n.callback
284
285
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
285
286
  ])
286
- ])) : n.events ? (o(), $(De, {
287
+ ])) : n.events ? (o(), P(De, {
287
288
  key: n.events[0].id,
288
289
  type: "event",
289
290
  "listing-id": n.events[0].id,
@@ -303,7 +304,7 @@ const Wt = {
303
304
  callback: n.callback
304
305
  }, 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", "use-number-of-products-for-persons", "callback"])) : c("", !0);
305
306
  }
306
- }), tn = /* @__PURE__ */ W(en, [["__scopeId", "data-v-3a92c817"]]), nn = { class: "konnectio-special-offer-availability" }, an = { class: "konnectio-special-offer-availability-button" }, on = { class: "konnectio-warning-notice" }, ln = { key: 0 }, sn = { key: 1 }, rn = /* @__PURE__ */ q({
307
+ }), tn = /* @__PURE__ */ Z(en, [["__scopeId", "data-v-71c9af93"]]), nn = { class: "konnectio-special-offer-availability" }, an = { class: "konnectio-special-offer-availability-button" }, on = { class: "konnectio-warning-notice" }, ln = { key: 0 }, sn = { key: 1 }, rn = /* @__PURE__ */ q({
307
308
  __name: "NextEvent",
308
309
  props: {
309
310
  name: {},
@@ -324,18 +325,18 @@ const Wt = {
324
325
  trackingEnabled: { type: Boolean },
325
326
  callback: { type: Function }
326
327
  },
327
- setup(w) {
328
- const { t: n } = ne(), { updateEventDate: a } = he(), { display: k } = Pe(), p = Fe(), f = w;
328
+ setup($) {
329
+ const { t: n } = oe(), { updateEventDate: a } = he(), { display: g } = Pe(), v = Fe(), b = $;
329
330
  function i() {
330
- p.value ? a(p.value) : k({
331
+ v.value ? a(v.value) : g({
331
332
  message: n("alert.error.selectDate"),
332
333
  type: "error"
333
334
  });
334
335
  }
335
- const y = j(() => pt(f.fromDate, f.toDate) <= 1), h = j(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(f.days).includes(s)));
336
+ const f = W(() => pt(b.fromDate, b.toDate) <= 1), k = W(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(b.days).includes(s)));
336
337
  return et(() => {
337
- y.value && (p.value = new Date(f.fromDate));
338
- }), (s, O) => (o(), $(De, {
338
+ f.value && (v.value = new Date(b.fromDate));
339
+ }), (s, O) => (o(), P(De, {
339
340
  name: s.name,
340
341
  description: s.description,
341
342
  "from-date": s.fromDate,
@@ -358,32 +359,32 @@ const Wt = {
358
359
  action: m(() => [
359
360
  t("div", null, [
360
361
  t("div", nn, [
361
- v(It, {
362
- modelValue: p.value,
363
- "onUpdate:modelValue": O[0] || (O[0] = (D) => p.value = D),
362
+ p(It, {
363
+ modelValue: v.value,
364
+ "onUpdate:modelValue": O[0] || (O[0] = (h) => v.value = h),
364
365
  label: `${e(n)("event.selectDate")}*`,
365
366
  placeholder: e(n)("event.selectDate"),
366
367
  "icon-type": "fas",
367
368
  "icon-placement": "label",
368
- readonly: y.value,
369
+ readonly: f.value,
369
370
  "start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
370
371
  "min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
371
372
  "max-date": new Date(s.toDate),
372
- "disabled-week-days": h.value
373
+ "disabled-week-days": k.value
373
374
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
374
375
  t("div", an, [
375
- v(de, {
376
+ p(ce, {
376
377
  label: e(n)("availability.buttonLabel"),
377
378
  onClick: tt(i, ["prevent"])
378
379
  }, null, 8, ["label"])
379
380
  ])
380
381
  ]),
381
382
  t("div", on, [
382
- y.value ? (o(), r("span", ln, [
383
- ue("*" + l(e(n)("event.canBeBooked")) + " ", 1),
384
- t("u", null, l(e(z)(s.fromDate)), 1)
383
+ f.value ? (o(), r("span", ln, [
384
+ de("*" + l(e(n)("event.canBeBooked")) + " ", 1),
385
+ t("u", null, l(e(G)(s.fromDate)), 1)
385
386
  ])) : (o(), r("span", sn, [
386
- ue("*" + l(e(n)("event.canBeBooked")) + " ", 1),
387
+ de("*" + l(e(n)("event.canBeBooked")) + " ", 1),
387
388
  t("u", null, l(e(bt)(s.days)), 1)
388
389
  ]))
389
390
  ])
@@ -392,7 +393,7 @@ const Wt = {
392
393
  _: 1
393
394
  }, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
394
395
  }
395
- }), un = /* @__PURE__ */ W(rn, [["__scopeId", "data-v-f6aed3b0"]]), dn = /* @__PURE__ */ q({
396
+ }), un = /* @__PURE__ */ Z(rn, [["__scopeId", "data-v-f6aed3b0"]]), dn = /* @__PURE__ */ q({
396
397
  __name: "Template",
397
398
  props: {
398
399
  name: {},
@@ -408,8 +409,8 @@ const Wt = {
408
409
  trackingEnabled: { type: Boolean },
409
410
  callback: {}
410
411
  },
411
- setup(w) {
412
- return (n, a) => (o(), $(Be, {
412
+ setup($) {
413
+ return (n, a) => (o(), P(Be, {
413
414
  "listing-id": n.listingId,
414
415
  gallery: n.images,
415
416
  name: n.name,
@@ -430,133 +431,133 @@ const Wt = {
430
431
  showTermsNotice: { type: Boolean, default: !1 },
431
432
  prevCallback: {}
432
433
  },
433
- setup(w) {
434
- const { t: n } = ne(), a = nt(), {
435
- areListingsAvailable: k,
436
- arrivalTime: p,
437
- numberOfPeople: f,
434
+ setup($) {
435
+ const { t: n } = oe(), a = nt(), {
436
+ areListingsAvailable: g,
437
+ arrivalTime: v,
438
+ numberOfPeople: b,
438
439
  numberOfRooms: i,
439
- numberOfTotalDays: y,
440
- isTemplateEvent: h,
440
+ numberOfTotalDays: f,
441
+ isTemplateEvent: k,
441
442
  currentEventDate: s,
442
443
  length: O,
443
- fromDate: D,
444
- tableBasePrice: N,
445
- getTemplateData: b,
446
- basePrice: S,
447
- totalPrice: _,
448
- weekendFee: P,
449
- roomUpgrade: g,
450
- discountCode: F,
451
- totalSelectedProducts: I
452
- } = Y(J()), { totalAddonPrice: ae, validateDiscountCode: pe } = J(), { currency: oe, hideEventLength: ve } = Y(ce());
453
- return (M, le) => (o(), $(Et, {
454
- "discount-code": e(F),
455
- "onUpdate:discountCode": le[0] || (le[0] = (H) => U(F) ? F.value = H : null),
444
+ fromDate: h,
445
+ tableBasePrice: L,
446
+ getTemplateData: E,
447
+ basePrice: V,
448
+ totalPrice: w,
449
+ weekendFee: D,
450
+ roomUpgrade: H,
451
+ discountCode: y,
452
+ totalSelectedProducts: C
453
+ } = z(K()), { totalAddonPrice: Y, validateDiscountCode: pe } = K(), { currency: le, hideEventLength: ve } = z(ae());
454
+ return (R, se) => (o(), P(Et, {
455
+ "discount-code": e(y),
456
+ "onUpdate:discountCode": se[0] || (se[0] = (j) => M(y) ? y.value = j : null),
456
457
  "validate-discount-code": e(pe),
457
- "show-gift-card": M.showGiftCard,
458
- "show-terms-notice": M.showTermsNotice,
459
- "is-sidebar-loading": !e(k),
460
- "base-price": e(S),
461
- "total-price": e(_),
462
- "weekend-fee": e(P),
463
- "room-upgrade": e(g),
458
+ "show-gift-card": R.showGiftCard,
459
+ "show-terms-notice": R.showTermsNotice,
460
+ "is-sidebar-loading": !e(g),
461
+ "base-price": e(V),
462
+ "total-price": e(w),
463
+ "weekend-fee": e(D),
464
+ "room-upgrade": e(H),
464
465
  notice: e(n)("event.reservationNotice"),
465
- "prev-callback": M.prevCallback
466
+ "prev-callback": R.prevCallback
466
467
  }, at({
467
468
  form: m(() => [
468
- Q(M.$slots, "form", {}, void 0, !0)
469
+ J(R.$slots, "form", {}, void 0, !0)
469
470
  ]),
470
471
  "reservation-summary": m(() => [
471
- e(h) ? c("", !0) : (o(), r("li", cn, [
472
+ e(k) ? c("", !0) : (o(), r("li", cn, [
472
473
  t("span", null, l(e(n)("general.date")), 1),
473
- t("b", null, l(e(z)(e(s))), 1)
474
+ t("b", null, l(e(G)(e(s))), 1)
474
475
  ])),
475
- e(f) > 0 ? (o(), r("li", mn, [
476
+ e(b) > 0 ? (o(), r("li", mn, [
476
477
  t("span", null, l(e(n)("event.numberOfGuests")), 1),
477
- t("b", null, l(e(f)), 1)
478
+ t("b", null, l(e(b)), 1)
478
479
  ])) : c("", !0),
479
- !e(h) && e(I) > 0 ? (o(), r("li", pn, [
480
+ !e(k) && e(C) > 0 ? (o(), r("li", pn, [
480
481
  t("span", null, l(e(n)("event.numberOfProducts")), 1),
481
- t("b", null, l(e(I)), 1)
482
+ t("b", null, l(e(C)), 1)
482
483
  ])) : c("", !0),
483
- e(h) ? (o(), r(C, { key: 3 }, [
484
+ e(k) ? (o(), r(S, { key: 3 }, [
484
485
  t("li", null, [
485
486
  t("span", null, l(e(n)("booking.reservation.arrival")), 1),
486
- t("b", null, l(e(z)(e(D))), 1)
487
+ t("b", null, l(e(G)(e(h))), 1)
487
488
  ]),
488
489
  t("li", null, [
489
490
  t("span", null, l(e(n)("booking.reservation.departure")), 1),
490
- t("b", null, l(e(z)(e(D), e(y))), 1)
491
+ t("b", null, l(e(G)(e(h), e(f))), 1)
491
492
  ]),
492
493
  t("li", null, [
493
494
  t("span", null, l(e(n)("event.numberOfRooms")), 1),
494
495
  t("b", null, l(e(i)), 1)
495
496
  ]),
496
- e(y) > 0 ? (o(), r("li", vn, [
497
+ e(f) > 0 ? (o(), r("li", vn, [
497
498
  t("span", null, l(e(n)("event.numberOfDays")), 1),
498
- t("b", null, l(e(y)), 1)
499
+ t("b", null, l(e(f)), 1)
499
500
  ])) : c("", !0)
500
501
  ], 64)) : c("", !0),
501
- !e(h) && e(p) ? (o(), r("li", bn, [
502
+ !e(k) && e(v) ? (o(), r("li", bn, [
502
503
  t("span", null, l(e(n)("event.startOfEvent")), 1),
503
- t("b", null, l(e(me)(e(p))), 1)
504
+ t("b", null, l(e(me)(e(v))), 1)
504
505
  ])) : c("", !0),
505
- !e(h) && e(O) && !e(ve) ? (o(), r("li", fn, [
506
+ !e(k) && e(O) && !e(ve) ? (o(), r("li", fn, [
506
507
  t("span", null, l(e(n)("event.lengthOfEvent")), 1),
507
508
  t("b", null, l(e(me)(e(O))), 1)
508
509
  ])) : c("", !0)
509
510
  ]),
510
511
  "price-summary": m(() => [
511
- !e(h) && e(N) > 0 ? (o(), r("li", gn, [
512
+ !e(k) && e(L) > 0 ? (o(), r("li", gn, [
512
513
  t("span", null, l(e(n)("booking.availability.basePrice")), 1),
513
- t("b", null, l(e(Z)(e(N), e(oe))), 1)
514
+ t("b", null, l(e(Q)(e(L), e(le))), 1)
514
515
  ])) : c("", !0),
515
- e(b) ? (o(!0), r(C, { key: 1 }, G(e(b), ({ roomGroupId: H }, K) => (o(), r(C, null, [
516
- e(ae)(H, K) > 0 ? (o(), r("li", { key: H }, [
517
- t("span", null, l(e(n)("booking.reservation.addons")) + " - " + l(e(n)("booking.reservation.room")) + " #" + l(K + 1), 1),
518
- t("b", null, l(e(Z)(e(ae)(H, K), e(oe))), 1)
516
+ e(E) ? (o(!0), r(S, { key: 1 }, U(e(E), ({ roomGroupId: j }, X) => (o(), r(S, null, [
517
+ e(Y)(j, X) > 0 ? (o(), r("li", { key: j }, [
518
+ t("span", null, l(e(n)("booking.reservation.addons")) + " - " + l(e(n)("booking.reservation.room")) + " #" + l(X + 1), 1),
519
+ t("b", null, l(e(Q)(e(Y)(j, X), e(le))), 1)
519
520
  ])) : c("", !0)
520
521
  ], 64))), 256)) : c("", !0)
521
522
  ]),
522
523
  navigation: m(() => [
523
- Q(M.$slots, "navigation", {}, void 0, !0)
524
+ J(R.$slots, "navigation", {}, void 0, !0)
524
525
  ]),
525
526
  "mobile-under-price": m(() => [
526
- e(h) && e(y) > 0 ? (o(), r("div", kn, [
527
- t("span", null, l(e(z)(e(D))) + " - " + l(e(z)(e(D), e(y))), 1)
527
+ e(k) && e(f) > 0 ? (o(), r("div", kn, [
528
+ t("span", null, l(e(G)(e(h))) + " - " + l(e(G)(e(h), e(f))), 1)
528
529
  ])) : (o(), r("div", yn, [
529
- t("span", null, l(e(z)(e(s))), 1)
530
+ t("span", null, l(e(G)(e(s))), 1)
530
531
  ]))
531
532
  ]),
532
533
  "mobile-summary": m(() => [
533
- !e(h) && e(I) > 0 ? (o(), r("span", hn, l(e(n)("event.numberOfProducts")) + ": " + l(e(I)), 1)) : c("", !0)
534
+ !e(k) && e(C) > 0 ? (o(), r("span", hn, l(e(n)("event.numberOfProducts")) + ": " + l(e(C)), 1)) : c("", !0)
534
535
  ]),
535
536
  _: 2
536
537
  }, [
537
538
  e(a).sidebar ? {
538
539
  name: "sidebar",
539
540
  fn: m(() => [
540
- Q(M.$slots, "sidebar", {}, void 0, !0)
541
+ J(R.$slots, "sidebar", {}, void 0, !0)
541
542
  ]),
542
543
  key: "0"
543
544
  } : void 0
544
545
  ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
545
546
  }
546
- }), ye = /* @__PURE__ */ W(Dn, [["__scopeId", "data-v-9b28e490"]]), Pn = { class: "event-skeleton" }, $n = { class: "event-skeleton-content" }, wn = { class: "event-skeleton-sidebar" }, _n = /* @__PURE__ */ q({
547
+ }), ye = /* @__PURE__ */ Z(Dn, [["__scopeId", "data-v-9b28e490"]]), Pn = { class: "event-skeleton" }, $n = { class: "event-skeleton-content" }, wn = { class: "event-skeleton-sidebar" }, _n = /* @__PURE__ */ q({
547
548
  __name: "EventSkeleton",
548
- setup(w) {
549
+ setup($) {
549
550
  return (n, a) => (o(), r("div", Pn, [
550
551
  t("div", $n, [
551
- v(Le)
552
+ p(Le)
552
553
  ]),
553
554
  t("div", wn, [
554
555
  c("", !0),
555
- v(Ot)
556
+ p(Ot)
556
557
  ])
557
558
  ]));
558
559
  }
559
- }), En = /* @__PURE__ */ W(_n, [["__scopeId", "data-v-3e15c4e3"]]), On = {
560
+ }), En = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-3e15c4e3"]]), On = {
560
561
  key: 0,
561
562
  id: "konnectio-event-listings-wrapper"
562
563
  }, Vn = {
@@ -579,35 +580,35 @@ const Wt = {
579
580
  hideLocations: { default: "no" },
580
581
  styling: {}
581
582
  },
582
- setup(w) {
583
- const n = w, { t: a } = ne(), {
584
- addons: k,
585
- products: p,
586
- numberOfDays: f,
583
+ setup($) {
584
+ const n = $, { t: a } = oe(), {
585
+ addons: g,
586
+ products: v,
587
+ numberOfDays: b,
587
588
  name: i,
588
- phone: y,
589
- email: h,
589
+ phone: f,
590
+ email: k,
590
591
  remark: s,
591
592
  allergies: O,
592
- arrivalTime: D,
593
- hasEvents: N,
594
- hasTemplates: b,
595
- getEvents: S,
596
- getTemplates: _,
597
- getEventData: P,
598
- getTemplateData: g,
599
- getEventTableData: F,
600
- hasProducts: I,
601
- eventRateType: ae,
593
+ arrivalTime: h,
594
+ hasEvents: L,
595
+ hasTemplates: E,
596
+ getEvents: V,
597
+ getTemplates: w,
598
+ getEventData: D,
599
+ getTemplateData: H,
600
+ getEventTableData: y,
601
+ hasProducts: C,
602
+ eventRateType: Y,
602
603
  areListingsAvailable: pe,
603
- isAvailabilityDataAvailable: oe,
604
+ isAvailabilityDataAvailable: le,
604
605
  hasListingData: ve,
605
- isPaymentLoading: M,
606
- isReservationFormFilled: le,
607
- requiresArrivalTime: H,
608
- hasSelectedRequiredProducts: K,
606
+ isPaymentLoading: R,
607
+ isReservationFormFilled: se,
608
+ requiresArrivalTime: j,
609
+ hasSelectedRequiredProducts: X,
609
610
  getUnavailableEvents: be
610
- } = Y(J()), { currency: se } = Y(ce()), { setActiveIdFilter: Ce } = ce(), { eventDate: Se, eventLocation: Ae } = Y(he()), { isValidRestaurantId: Ie } = he(), {
611
+ } = z(K()), { currency: ie } = z(ae()), { setActiveIdFilter: Ce } = ae(), { eventDate: Se, eventLocation: Ae } = z(he()), { isValidRestaurantId: Ie } = he(), {
611
612
  initialize: Re,
612
613
  fetchListings: Me,
613
614
  createBooking: Ue,
@@ -615,7 +616,7 @@ const Wt = {
615
616
  totalAddonPrice: ze,
616
617
  reset: qe,
617
618
  goBack: $e
618
- } = J(), { display: fe } = Pe(), He = j(() => [
619
+ } = K(), { display: fe } = Pe(), He = W(() => [
619
620
  {
620
621
  id: "availability",
621
622
  label: a("booking.availability.title"),
@@ -641,26 +642,26 @@ const Wt = {
641
642
  label: a("booking.confirmation.title"),
642
643
  icon: "calendar-check"
643
644
  }
644
- ]), Ye = j(() => {
645
- const E = [];
646
- return F.value && F.value.forEach((d) => {
647
- E.find((L) => L.value === d.time) || E.push({
645
+ ]), Ye = W(() => {
646
+ const _ = [];
647
+ return y.value && y.value.forEach((d) => {
648
+ _.find((F) => F.value === d.time) || _.push({
648
649
  label: me(d.time),
649
650
  value: d.time
650
651
  });
651
- }), E;
652
+ }), _;
652
653
  });
653
654
  function je() {
654
655
  qe(n.resetDate === "yes");
655
656
  }
656
657
  function We() {
657
- const E = yt("history", {
658
+ const _ = yt("history", {
658
659
  removeNullishValues: !0
659
- }), d = parseInt(E.rid), L = E.d, V = parseInt(E.eid);
660
- if (L)
661
- if (ht(L)) {
662
- const u = new Date(L), A = u.setHours(12, 0, 0, 0), R = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
663
- A >= R ? (Se.value = u, E.d = void 0) : fe({
660
+ }), d = parseInt(_.rid), F = _.d, T = parseInt(_.eid);
661
+ if (F)
662
+ if (ht(F)) {
663
+ const u = new Date(F), A = u.setHours(12, 0, 0, 0), I = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
664
+ A >= I ? (Se.value = u, _.d = void 0) : fe({
664
665
  message: a("alert.error.invalidDateRange"),
665
666
  type: "error"
666
667
  });
@@ -669,38 +670,38 @@ const Wt = {
669
670
  message: a("alert.error.wrongDateFormat"),
670
671
  type: "error"
671
672
  });
672
- isNaN(d) || (Ie(d) ? Ae.value = d : (E.rid = void 0, fe({
673
+ isNaN(d) || (Ie(d) ? Ae.value = d : (_.rid = void 0, fe({
673
674
  message: a("alert.error.hotelIdNotFound"),
674
675
  type: "error"
675
- }))), isNaN(V) || Ce(V), Me();
676
+ }))), isNaN(T) || Ce(T), Me();
676
677
  }
677
- return (E, d) => (o(), $(kt, { styling: E.styling }, {
678
+ return (_, d) => (o(), P(kt, { styling: _.styling }, {
678
679
  default: m(() => [
679
- (o(), $(ot, { onResolve: We }, {
680
+ (o(), P(ot, { onResolve: We }, {
680
681
  default: m(() => [
681
- v($t, {
682
+ p($t, {
682
683
  id: "konnectio-event-module",
683
- "access-token": E.accessToken,
684
+ "access-token": _.accessToken,
684
685
  callback: e(Re)
685
686
  }, {
686
687
  default: m(() => [
687
- v(Vt, {
688
+ p(Vt, {
688
689
  steps: He.value,
689
690
  onReset: je
690
691
  }, {
691
- availability: m(({ next: L }) => [
692
- v(ye, null, {
692
+ availability: m(({ next: F }) => [
693
+ p(ye, null, {
693
694
  sidebar: m(() => [
694
- v(Gt, {
695
+ p(Gt, {
695
696
  redirection: !1,
696
- "selected-location": Number(E.selectedLocation),
697
- "hide-locations": E.hideLocations === "yes"
697
+ "selected-location": Number(_.selectedLocation),
698
+ "hide-locations": _.hideLocations === "yes"
698
699
  }, null, 8, ["selected-location", "hide-locations"])
699
700
  ]),
700
701
  form: m(() => [
701
702
  e(ve) && e(pe) ? (o(), r("div", On, [
702
- e(S).length > 0 && e(be).length > 0 ? (o(), r("h2", Vn, [
703
- v(te, {
703
+ e(V).length > 0 && e(be).length > 0 ? (o(), r("h2", Vn, [
704
+ p(ne, {
704
705
  icon: "calendar-clock",
705
706
  type: "fal",
706
707
  color: "header"
@@ -708,36 +709,36 @@ const Wt = {
708
709
  t("span", null, l(e(a)("event.availableNow")), 1)
709
710
  ])) : c("", !0),
710
711
  t("ul", Tn, [
711
- e(N) && E.onlyShow !== "templates" ? (o(!0), r(C, { key: 0 }, G(e(S), (V) => (o(), $(tn, {
712
- name: V.name,
713
- events: V.events,
714
- callback: L
712
+ e(L) && _.onlyShow !== "templates" ? (o(!0), r(S, { key: 0 }, U(e(V), (T) => (o(), P(tn, {
713
+ name: T.name,
714
+ events: T.events,
715
+ callback: F
715
716
  }, null, 8, ["name", "events", "callback"]))), 256)) : c("", !0),
716
- e(b) && E.onlyShow !== "events" ? (o(!0), r(C, { key: 1 }, G(e(_), ({
717
- id: V,
717
+ e(E) && _.onlyShow !== "events" ? (o(!0), r(S, { key: 1 }, U(e(w), ({
718
+ id: T,
718
719
  name: u,
719
720
  fromDate: A,
720
- toDate: R,
721
- minimumPersonCount: T,
721
+ toDate: I,
722
+ minimumPersonCount: N,
722
723
  fromPrice: B,
723
- description: X,
724
- images: x
725
- }) => (o(), $(dn, {
726
- key: V,
727
- "listing-id": V,
724
+ description: x,
725
+ images: ee
726
+ }) => (o(), P(dn, {
727
+ key: T,
728
+ "listing-id": T,
728
729
  name: u,
729
- images: x,
730
- description: X,
730
+ images: ee,
731
+ description: x,
731
732
  "from-date": A,
732
- "to-date": R,
733
- "minimum-person-count": T,
733
+ "to-date": I,
734
+ "minimum-person-count": N,
734
735
  fromPrice: B,
735
- callback: L
736
+ callback: F
736
737
  }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : c("", !0)
737
738
  ]),
738
- e(be).length > 0 && E.onlyShow !== "templates" ? (o(), r(C, { key: 1 }, [
739
+ e(be).length > 0 && _.onlyShow !== "templates" ? (o(), r(S, { key: 1 }, [
739
740
  t("h2", Nn, [
740
- v(te, {
741
+ p(ne, {
741
742
  icon: "calendar-circle-exclamation",
742
743
  type: "fal",
743
744
  color: "header"
@@ -745,79 +746,79 @@ const Wt = {
745
746
  t("span", null, l(e(a)("event.availableLater")), 1)
746
747
  ]),
747
748
  t("ul", Fn, [
748
- (o(!0), r(C, null, G(e(be), ({
749
- id: V,
749
+ (o(!0), r(S, null, U(e(be), ({
750
+ id: T,
750
751
  days: u,
751
752
  name: A,
752
- timeFrom: R,
753
- timeTo: T,
753
+ timeFrom: I,
754
+ timeTo: N,
754
755
  fromDate: B,
755
- toDate: X,
756
- tableGroupId: x,
756
+ toDate: x,
757
+ tableGroupId: ee,
757
758
  description: ge,
758
759
  soldOut: ke,
759
- length: ee,
760
+ length: te,
760
761
  images: Ze,
761
762
  maxOnlineReservationLimit: Qe,
762
763
  maxPaxPerReservation: Je,
763
764
  useNumberOfProductsForPersons: Ke,
764
765
  maxTicketsLimit: Xe
765
- }) => (o(), $(un, {
766
- key: V,
766
+ }) => (o(), P(un, {
767
+ key: T,
767
768
  type: "event",
768
- "listing-id": V,
769
- "table-group-id": x,
769
+ "listing-id": T,
770
+ "table-group-id": ee,
770
771
  description: ge,
771
772
  name: A,
772
- length: ee,
773
+ length: te,
773
774
  gallery: Ze,
774
775
  days: u,
775
776
  "from-date": B,
776
- "to-date": X,
777
+ "to-date": x,
777
778
  "max-online-reservation-limit": Je || Qe || Xe,
778
- "time-from": R,
779
- "time-to": T,
779
+ "time-from": I,
780
+ "time-to": N,
780
781
  "sold-out": ke,
781
782
  "use-number-of-products-for-persons": Ke,
782
- callback: L
783
+ callback: F
783
784
  }, 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", "use-number-of-products-for-persons", "callback"]))), 128))
784
785
  ])
785
786
  ], 64)) : c("", !0),
786
- !e(N) && !e(b) || !e(N) && E.onlyShow === "events" || !e(b) && E.onlyShow === "templates" ? (o(), r("div", {
787
+ !e(L) && !e(E) || !e(L) && _.onlyShow === "events" || !e(E) && _.onlyShow === "templates" ? (o(), r("div", {
787
788
  key: 2,
788
789
  class: "konnectio-panel",
789
790
  innerHTML: e(a)("event.nothingAvailable")
790
791
  }, null, 8, Ln)) : c("", !0)
791
- ])) : (o(), $(Le, { key: 1 }))
792
+ ])) : (o(), P(Le, { key: 1 }))
792
793
  ]),
793
794
  _: 2
794
795
  }, 1024)
795
796
  ]),
796
- addons: m(({ next: L, prev: V }) => [
797
- e(oe) ? (o(), $(ye, {
797
+ addons: m(({ next: F, prev: T }) => [
798
+ e(le) ? (o(), P(ye, {
798
799
  key: 0,
799
- "prev-callback": () => e($e)(V)
800
+ "prev-callback": () => e($e)(T)
800
801
  }, {
801
802
  form: m(() => [
802
803
  t("form", Bn, [
803
804
  t("h2", null, [
804
805
  t("span", null, l(e(a)("event.selectProducts")), 1)
805
806
  ]),
806
- e(g) && e(g).length > 0 ? (o(), r("ul", Cn, [
807
- (o(!0), r(C, null, G(e(g), ({
807
+ e(H) && e(H).length > 0 ? (o(), r("ul", Cn, [
808
+ (o(!0), r(S, null, U(e(H), ({
808
809
  roomGroupId: u,
809
810
  addons: A,
810
- adultPerRoom: R
811
- }, T) => (o(), r("li", { key: u }, [
811
+ adultPerRoom: I
812
+ }, N) => (o(), r("li", { key: u }, [
812
813
  t("h5", null, [
813
- t("span", null, l(e(a)("booking.reservation.room")) + " #" + l(T + 1), 1),
814
- d[7] || (d[7] = ue(" (")),
815
- v(te, {
814
+ t("span", null, l(e(a)("booking.reservation.room")) + " #" + l(N + 1), 1),
815
+ d[7] || (d[7] = de(" (")),
816
+ p(ne, {
816
817
  icon: "male",
817
818
  type: "fas",
818
819
  color: "header"
819
820
  }),
820
- ue(" " + l(R) + ") ", 1)
821
+ de(" " + l(I) + ") ", 1)
821
822
  ]),
822
823
  t("table", Sn, [
823
824
  t("thead", null, [
@@ -832,34 +833,34 @@ const Wt = {
832
833
  ])
833
834
  ]),
834
835
  t("tbody", null, [
835
- (o(!0), r(C, null, G(A, ({
836
+ (o(!0), r(S, null, U(A, ({
836
837
  id: B,
837
- cardinality: X,
838
- name: x,
838
+ cardinality: x,
839
+ name: ee,
839
840
  price: ge,
840
841
  quantityStrategy: ke
841
842
  }) => (o(), r("tr", { key: B }, [
842
843
  t("td", null, [
843
- t("b", null, l(x), 1),
844
+ t("b", null, l(ee), 1),
844
845
  d[9] || (d[9] = t("br", null, null, -1)),
845
- t("span", null, l(e(Z)(ge, e(se))) + " " + l(e(gt)(ke)), 1)
846
+ t("span", null, l(e(Q)(ge, e(ie))) + " " + l(e(gt)(ke)), 1)
846
847
  ]),
847
848
  t("td", In, [
848
- X === 3 ? (o(), $(re, {
849
+ x === 3 ? (o(), P(ue, {
849
850
  key: 0,
850
- modelValue: e(k)[`${u}.${B}.${T}`],
851
- "onUpdate:modelValue": (ee) => e(k)[`${u}.${B}.${T}`] = ee,
851
+ modelValue: e(g)[`${u}.${B}.${N}`],
852
+ "onUpdate:modelValue": (te) => e(g)[`${u}.${B}.${N}`] = te,
852
853
  small: !0,
853
854
  "min-value": 0
854
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), $(Ut, {
855
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), P(Ut, {
855
856
  key: 1,
856
- modelValue: e(k)[`${u}.${B}.${T}`],
857
- "onUpdate:modelValue": (ee) => e(k)[`${u}.${B}.${T}`] = ee,
857
+ modelValue: e(g)[`${u}.${B}.${N}`],
858
+ "onUpdate:modelValue": (te) => e(g)[`${u}.${B}.${N}`] = te,
858
859
  numeric: !0
859
860
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
860
861
  ]),
861
862
  t("td", Rn, [
862
- t("span", null, l(e(Z)(e(Ge)(B, u, T), e(se))), 1)
863
+ t("span", null, l(e(Q)(e(Ge)(B, u, N), e(ie))), 1)
863
864
  ])
864
865
  ]))), 128))
865
866
  ]),
@@ -869,7 +870,7 @@ const Wt = {
869
870
  d[11] || (d[11] = t("td", null, null, -1)),
870
871
  t("td", Mn, [
871
872
  t("u", null, [
872
- t("span", null, l(e(Z)(e(ze)(u, T), e(se))), 1)
873
+ t("span", null, l(e(Q)(e(ze)(u, N), e(ie))), 1)
873
874
  ])
874
875
  ])
875
876
  ])
@@ -877,20 +878,20 @@ const Wt = {
877
878
  ])
878
879
  ]))), 128))
879
880
  ])) : c("", !0),
880
- e(I) ? (o(), r("table", Un, [
881
+ e(C) ? (o(), r("table", Un, [
881
882
  t("tbody", null, [
882
- (o(!0), r(C, null, G(e(P).products, ({ id: u, name: A, price: R, description: T }) => (o(), r("tr", { key: u }, [
883
+ (o(!0), r(S, null, U(e(D).products, ({ id: u, name: A, price: I, description: N }) => (o(), r("tr", { key: u }, [
883
884
  t("td", Gn, [
884
885
  t("b", null, [
885
886
  t("span", null, l(e(we)(A)), 1)
886
887
  ]),
887
- T && T !== A ? (o(), r("span", zn, l(e(we)(T)), 1)) : c("", !0),
888
- t("u", null, l(e(Z)(R, e(se))), 1)
888
+ N && N !== A ? (o(), r("span", zn, l(e(we)(N)), 1)) : c("", !0),
889
+ t("u", null, l(e(Q)(I, e(ie))), 1)
889
890
  ]),
890
891
  t("td", qn, [
891
- v(re, {
892
- modelValue: e(p)[u],
893
- "onUpdate:modelValue": (B) => e(p)[u] = B,
892
+ p(ue, {
893
+ modelValue: e(v)[u],
894
+ "onUpdate:modelValue": (B) => e(v)[u] = B,
894
895
  small: !0,
895
896
  "min-value": 0
896
897
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -901,39 +902,39 @@ const Wt = {
901
902
  ])
902
903
  ]),
903
904
  navigation: m(() => [
904
- v(de, {
905
+ p(ce, {
905
906
  label: e(a)("event.startReservation"),
906
- disabled: !e(K),
907
+ disabled: !e(X),
907
908
  "full-width": "",
908
- onClickEvent: L
909
+ onClickEvent: F
909
910
  }, null, 8, ["label", "disabled", "onClickEvent"])
910
911
  ]),
911
912
  _: 2
912
913
  }, 1032, ["prev-callback"])) : c("", !0)
913
914
  ]),
914
- reservation: m(({ next: L, prev: V }) => [
915
- v(ye, {
915
+ reservation: m(({ next: F, prev: T }) => [
916
+ p(ye, {
916
917
  "show-terms-notice": !0,
917
918
  "show-gift-card": !0,
918
- "prev-callback": () => e($e)(V)
919
+ "prev-callback": () => e($e)(T)
919
920
  }, {
920
921
  form: m(() => [
921
922
  t("form", Hn, [
922
923
  t("h2", null, [
923
924
  t("span", null, l(e(a)("booking.reservation.detailsTitle")), 1)
924
925
  ]),
925
- v(ie, {
926
+ p(re, {
926
927
  modelValue: e(i),
927
- "onUpdate:modelValue": d[0] || (d[0] = (u) => U(i) ? i.value = u : null),
928
+ "onUpdate:modelValue": d[0] || (d[0] = (u) => M(i) ? i.value = u : null),
928
929
  type: "text",
929
930
  label: e(a)("booking.reservation.name"),
930
931
  icon: "user-alt",
931
932
  placeholder: e(a)("booking.reservation.namePlaceholder"),
932
933
  required: ""
933
934
  }, null, 8, ["modelValue", "label", "placeholder"]),
934
- v(ie, {
935
- modelValue: e(h),
936
- "onUpdate:modelValue": d[1] || (d[1] = (u) => U(h) ? h.value = u : null),
935
+ p(re, {
936
+ modelValue: e(k),
937
+ "onUpdate:modelValue": d[1] || (d[1] = (u) => M(k) ? k.value = u : null),
937
938
  label: e(a)("booking.reservation.email"),
938
939
  type: "email",
939
940
  name: "email",
@@ -942,42 +943,42 @@ const Wt = {
942
943
  placeholder: e(a)("booking.reservation.emailPlaceholder"),
943
944
  required: ""
944
945
  }, null, 8, ["modelValue", "label", "placeholder"]),
945
- v(Mt, {
946
- modelValue: e(y),
947
- "onUpdate:modelValue": d[2] || (d[2] = (u) => U(y) ? y.value = u : null),
946
+ p(Mt, {
947
+ modelValue: e(f),
948
+ "onUpdate:modelValue": d[2] || (d[2] = (u) => M(f) ? f.value = u : null),
948
949
  label: e(a)("booking.reservation.phone"),
949
950
  icon: "phone-office",
950
951
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
951
952
  required: ""
952
953
  }, null, 8, ["modelValue", "label", "placeholder"]),
953
- e(H) ? (o(), $(Nt, {
954
+ e(j) ? (o(), P(Nt, {
954
955
  key: 0,
955
- modelValue: e(D),
956
- "onUpdate:modelValue": d[3] || (d[3] = (u) => U(D) ? D.value = u : null),
956
+ modelValue: e(h),
957
+ "onUpdate:modelValue": d[3] || (d[3] = (u) => M(h) ? h.value = u : null),
957
958
  label: e(a)("event.selectArrivalTime"),
958
959
  name: "eventTimeTable",
959
960
  checkboxes: Ye.value,
960
961
  required: ""
961
962
  }, null, 8, ["modelValue", "label", "checkboxes"])) : c("", !0),
962
- e(ae) === e(ft).FullDayEvent ? (o(), $(re, {
963
+ e(Y) === e(ft).FullDayEvent ? (o(), P(ue, {
963
964
  key: 1,
964
- modelValue: e(f),
965
- "onUpdate:modelValue": d[4] || (d[4] = (u) => U(f) ? f.value = u : null),
965
+ modelValue: e(b),
966
+ "onUpdate:modelValue": d[4] || (d[4] = (u) => M(b) ? b.value = u : null),
966
967
  label: e(a)("event.numberOfDays"),
967
968
  "min-value": 1,
968
969
  required: ""
969
970
  }, null, 8, ["modelValue", "label"])) : c("", !0),
970
- v(ie, {
971
+ p(re, {
971
972
  modelValue: e(s),
972
- "onUpdate:modelValue": d[5] || (d[5] = (u) => U(s) ? s.value = u : null),
973
+ "onUpdate:modelValue": d[5] || (d[5] = (u) => M(s) ? s.value = u : null),
973
974
  type: "textarea",
974
975
  label: `${e(a)("booking.reservation.remark")} (${e(a)("booking.reservation.optional")})`,
975
976
  icon: "info-circle",
976
977
  placeholder: e(a)("booking.reservation.remarkPlaceholder")
977
978
  }, null, 8, ["modelValue", "label", "placeholder"]),
978
- v(ie, {
979
+ p(re, {
979
980
  modelValue: e(O),
980
- "onUpdate:modelValue": d[6] || (d[6] = (u) => U(O) ? O.value = u : null),
981
+ "onUpdate:modelValue": d[6] || (d[6] = (u) => M(O) ? O.value = u : null),
981
982
  type: "textarea",
982
983
  label: `${e(a)("booking.reservation.allergies")} (${e(a)("booking.reservation.optional")})`,
983
984
  icon: "allergies",
@@ -986,22 +987,22 @@ const Wt = {
986
987
  ])
987
988
  ]),
988
989
  navigation: m(() => [
989
- v(de, {
990
+ p(ce, {
990
991
  label: e(a)("general.confirmReservation"),
991
- "is-loading": e(M),
992
- disabled: !e(le),
992
+ "is-loading": e(R),
993
+ disabled: !e(se),
993
994
  "full-width": "",
994
- onClickEvent: (u) => e(Ue)(L)
995
+ onClickEvent: (u) => e(Ue)(F)
995
996
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
996
997
  ]),
997
998
  _: 2
998
999
  }, 1032, ["prev-callback"])
999
1000
  ]),
1000
1001
  payment: m(() => [
1001
- v(Rt)
1002
+ p(Rt)
1002
1003
  ]),
1003
1004
  confirmation: m(() => [
1004
- v(Tt, {
1005
+ p(Tt, {
1005
1006
  message: e(a)("event.confirmationMessage")
1006
1007
  }, null, 8, ["message"])
1007
1008
  ]),
@@ -1012,7 +1013,7 @@ const Wt = {
1012
1013
  }, 8, ["access-token", "callback"])
1013
1014
  ]),
1014
1015
  fallback: m(() => [
1015
- v(En)
1016
+ p(En)
1016
1017
  ]),
1017
1018
  _: 1
1018
1019
  }))
@@ -1020,7 +1021,7 @@ const Wt = {
1020
1021
  _: 1
1021
1022
  }, 8, ["styling"]));
1022
1023
  }
1023
- }), Ne = /* @__PURE__ */ W(Yn, [["__scopeId", "data-v-8e82dc21"]]), jn = lt(), Wn = st, Zn = Wn();
1024
+ }), Ne = /* @__PURE__ */ Z(Yn, [["__scopeId", "data-v-8e82dc21"]]), jn = lt(), Wn = st, Zn = Wn();
1024
1025
  class Qn extends HTMLElement {
1025
1026
  vueApp;
1026
1027
  constructor() {