@konnectio/core 4.1.36 → 4.1.38

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