@konnectio/core 4.11.1 → 4.11.3

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 (116) hide show
  1. package/dist/{ActionField-CD7A8umF.js → ActionField-dg0RS8gf.js} +16 -17
  2. package/dist/ActionField-dg0RS8gf.js.br +0 -0
  3. package/dist/ActionField-dg0RS8gf.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-D_EldM2s.js → AvailabilitySkeleton-uoeeP_5d.js} +2374 -2900
  5. package/dist/AvailabilitySkeleton-uoeeP_5d.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-uoeeP_5d.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BYvzbPyY.js → CheckoutWindow-DXRVoh-J.js} +579 -655
  8. package/dist/CheckoutWindow-DXRVoh-J.js.br +0 -0
  9. package/dist/CheckoutWindow-DXRVoh-J.js.gz +0 -0
  10. package/dist/{ErrorMessage-GCkS8yEW.js → ErrorMessage-OQ4r9QGR.js} +12 -14
  11. package/dist/ErrorMessage-OQ4r9QGR.js.br +0 -0
  12. package/dist/ErrorMessage-OQ4r9QGR.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-f-BUsWJ-.js → EventAvailabilityForm-B4pOCkcm.js} +29 -30
  14. package/dist/EventAvailabilityForm-B4pOCkcm.js.br +0 -0
  15. package/dist/EventAvailabilityForm-B4pOCkcm.js.gz +0 -0
  16. package/dist/{Field-TMCJPa0F.js → Field-DpRx5gtJ.js} +6 -7
  17. package/dist/Field-DpRx5gtJ.js.br +0 -0
  18. package/dist/Field-DpRx5gtJ.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-BSM-KcqG.js +312 -0
  20. package/dist/HotelAvailabilityForm-BSM-KcqG.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-BSM-KcqG.js.gz +0 -0
  22. package/dist/{SelectField-DSkOZgE4.js → SelectField-CEEffgaQ.js} +3462 -2858
  23. package/dist/SelectField-CEEffgaQ.js.br +0 -0
  24. package/dist/SelectField-CEEffgaQ.js.gz +0 -0
  25. package/dist/{TermsOfService-D9W3pXOi.js → TermsOfService-C4YZ5zhE.js} +5 -6
  26. package/dist/TermsOfService-C4YZ5zhE.js.br +0 -0
  27. package/dist/TermsOfService-C4YZ5zhE.js.gz +0 -0
  28. package/dist/_-DM-h5BQz.js +24 -0
  29. package/dist/_-DM-h5BQz.js.br +0 -0
  30. package/dist/_-DM-h5BQz.js.gz +0 -0
  31. package/dist/availability.js +24 -25
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +57 -62
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/deep-link.js +15 -16
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-Vu9z8BNS.js → dist-BQy2-bMP.js} +168 -139
  44. package/dist/dist-BQy2-bMP.js.br +0 -0
  45. package/dist/dist-BQy2-bMP.js.gz +0 -0
  46. package/dist/{dist-YUX9nmGu.js → dist-Q9kXoafy.js} +705 -756
  47. package/dist/dist-Q9kXoafy.js.br +0 -0
  48. package/dist/dist-Q9kXoafy.js.gz +0 -0
  49. package/dist/event.js +334 -344
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +42 -43
  53. package/dist/gift-card-validation.js.br +0 -0
  54. package/dist/gift-card-validation.js.gz +0 -0
  55. package/dist/gift-card.js +157 -161
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-DwGwHq7_.js → giftCard-DO4ELDIx.js} +14 -15
  59. package/dist/giftCard-DO4ELDIx.js.br +0 -0
  60. package/dist/giftCard-DO4ELDIx.js.gz +0 -0
  61. package/dist/hotel.js +983 -1145
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{i18n-BU9Enb5i.js → i18n-Dq3VKG7w.js} +4004 -3647
  65. package/dist/i18n-Dq3VKG7w.js.br +0 -0
  66. package/dist/i18n-Dq3VKG7w.js.gz +0 -0
  67. package/dist/polyfill.js +905 -818
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-QGRDbDUS.js} +2 -3
  71. package/dist/rolldown-runtime-QGRDbDUS.js.br +0 -0
  72. package/dist/rolldown-runtime-QGRDbDUS.js.gz +0 -0
  73. package/dist/style-xK2dve9W.js +1284 -0
  74. package/dist/style-xK2dve9W.js.br +0 -0
  75. package/dist/style-xK2dve9W.js.gz +0 -0
  76. package/dist-wix/availability.js +42 -34
  77. package/dist-wix/event.js +54 -46
  78. package/dist-wix/gift-card-validation.js +39 -31
  79. package/dist-wix/gift-card.js +43 -35
  80. package/dist-wix/hotel.js +54 -46
  81. package/package.json +32 -32
  82. package/dist/ActionField-CD7A8umF.js.br +0 -0
  83. package/dist/ActionField-CD7A8umF.js.gz +0 -0
  84. package/dist/AvailabilitySkeleton-D_EldM2s.js.br +0 -0
  85. package/dist/AvailabilitySkeleton-D_EldM2s.js.gz +0 -0
  86. package/dist/CheckoutWindow-BYvzbPyY.js.br +0 -0
  87. package/dist/CheckoutWindow-BYvzbPyY.js.gz +0 -0
  88. package/dist/ErrorMessage-GCkS8yEW.js.br +0 -0
  89. package/dist/ErrorMessage-GCkS8yEW.js.gz +0 -0
  90. package/dist/EventAvailabilityForm-f-BUsWJ-.js.br +0 -0
  91. package/dist/EventAvailabilityForm-f-BUsWJ-.js.gz +0 -0
  92. package/dist/Field-TMCJPa0F.js.br +0 -0
  93. package/dist/Field-TMCJPa0F.js.gz +0 -0
  94. package/dist/HotelAvailabilityForm-BjaKmdM9.js +0 -322
  95. package/dist/HotelAvailabilityForm-BjaKmdM9.js.br +0 -0
  96. package/dist/HotelAvailabilityForm-BjaKmdM9.js.gz +0 -0
  97. package/dist/SelectField-DSkOZgE4.js.br +0 -0
  98. package/dist/SelectField-DSkOZgE4.js.gz +0 -0
  99. package/dist/TermsOfService-D9W3pXOi.js.br +0 -0
  100. package/dist/TermsOfService-D9W3pXOi.js.gz +0 -0
  101. package/dist/_-DY1GJjiW.js +0 -25
  102. package/dist/_-DY1GJjiW.js.br +0 -0
  103. package/dist/_-DY1GJjiW.js.gz +0 -0
  104. package/dist/dist-Vu9z8BNS.js.br +0 -0
  105. package/dist/dist-Vu9z8BNS.js.gz +0 -0
  106. package/dist/dist-YUX9nmGu.js.br +0 -0
  107. package/dist/dist-YUX9nmGu.js.gz +0 -0
  108. package/dist/giftCard-DwGwHq7_.js.br +0 -0
  109. package/dist/giftCard-DwGwHq7_.js.gz +0 -0
  110. package/dist/i18n-BU9Enb5i.js.br +0 -0
  111. package/dist/i18n-BU9Enb5i.js.gz +0 -0
  112. package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
  113. package/dist/rolldown-runtime-B0aSnxlc.js.gz +0 -5
  114. package/dist/style-E-j_0DIE.js +0 -1711
  115. package/dist/style-E-j_0DIE.js.br +0 -0
  116. package/dist/style-E-j_0DIE.js.gz +0 -0
package/dist/event.js CHANGED
@@ -1,20 +1,20 @@
1
- import { A as e, At as t, D as n, E as r, Et as i, F as a, I as o, L as s, M as c, N as l, P as u, Pt as d, Q as f, a as p, at as m, bt as h, et as g, f as _, ft as v, gt as y, h as b, it as x, j as S, jt as C, mt as w, n as T, o as E, p as D, w as O, wt as k, z as A } from "./i18n-BU9Enb5i.js";
2
- import { t as j } from "./dist-YUX9nmGu.js";
3
- import { $ as M, C as N, D as P, E as F, G as I, H as ee, J as te, L as ne, N as re, Q as L, S as R, T as ie, V as z, X as ae, Y as oe, at as se, b as ce, j as le, lt as ue, n as B, nt as V, r as H, rt as de, tt as U, ut as fe, v as W, w as G, x as K, z as q } from "./SelectField-DSkOZgE4.js";
4
- import { a as pe, c as me, i as he, l as ge, n as _e, s as ve, t as ye } from "./CheckoutWindow-BYvzbPyY.js";
5
- import { t as be } from "./_-DY1GJjiW.js";
6
- import { a as J, c as xe, d as Se, f as Ce, i as we, l as Te, n as Ee, o as De, r as Oe, s as ke, u as Ae } from "./AvailabilitySkeleton-D_EldM2s.js";
7
- import { t as je } from "./EventAvailabilityForm-f-BUsWJ-.js";
8
- import { t as Me } from "./style-E-j_0DIE.js";
9
- import { a as Y, c as Ne, i as Pe, l as Fe, n as Ie, o as Le, s as Re, t as ze, u as Be } from "./dist-Vu9z8BNS.js";
10
- //#region node_modules/date-fns/formatDistanceStrict.js
11
- function X(e, t, n) {
12
- let r = xe(), i = n?.locale ?? r.locale ?? Oe, a = J(e, t);
1
+ import { A as e, Ct as t, D as n, Dt as r, E as i, F as a, I as o, L as s, M as c, N as l, Ot as u, P as d, Q as f, _t as p, a as m, et as h, f as g, ft as _, h as v, j as y, jt as b, mt as x, n as S, nt as C, o as w, p as T, rt as E, ut as D, w as O, xt as k, z as A } from "./i18n-Dq3VKG7w.js";
2
+ import { t as j } from "./style-xK2dve9W.js";
3
+ import { a as ee, c as te, i as ne, l as M, n as re, s as ie, t as ae } from "./CheckoutWindow-DXRVoh-J.js";
4
+ import { $ as N, B as oe, C as se, F as ce, J as P, K as le, L as F, S as I, T as ue, U as de, X as L, Z as fe, b as R, ct as pe, et as z, g as B, j as me, k as he, n as V, q as H, r as U, rt as W, st as ge, tt as _e, v as ve, w as G, x as ye, y as K, z as be } from "./SelectField-CEEffgaQ.js";
5
+ import { t as xe } from "./_-DM-h5BQz.js";
6
+ import { a as q, c as Se, d as Ce, f as we, i as Te, l as Ee, n as De, o as Oe, r as ke, s as Ae, u as je } from "./AvailabilitySkeleton-uoeeP_5d.js";
7
+ import { a as Me, c as Ne, i as Pe, l as J, n as Fe, o as Ie, s as Le, t as Re, u as ze } from "./dist-BQy2-bMP.js";
8
+ import { t as Be } from "./EventAvailabilityForm-B4pOCkcm.js";
9
+ import { t as Ve } from "./dist-Q9kXoafy.js";
10
+ // node_modules/date-fns/formatDistanceStrict.js
11
+ function Y(e, t, n) {
12
+ let r = Se(), i = n?.locale ?? r.locale ?? ke, a = q(e, t);
13
13
  if (isNaN(a)) throw RangeError("Invalid time value");
14
14
  let o = Object.assign({}, n, {
15
15
  addSuffix: n?.addSuffix,
16
16
  comparison: a
17
- }), [s, c] = De(n?.in, ...a > 0 ? [t, e] : [e, t]), l = we(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / Te, f = (u - (ke(c) - ke(s))) / Te, p = n?.unit, m;
17
+ }), [s, c] = Oe(n?.in, ...a > 0 ? [t, e] : [e, t]), l = Te(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / Ee, f = (u - (Ae(c) - Ae(s))) / Ee, p = n?.unit, m;
18
18
  if (m = p || (d < 1 ? "second" : d < 60 ? "minute" : d < 1440 ? "hour" : f < 43200 ? "day" : f < 525600 ? "month" : "year"), m === "second") {
19
19
  let e = l(u / 1e3);
20
20
  return i.formatDistance("xSeconds", e, o);
@@ -28,21 +28,20 @@ function X(e, t, n) {
28
28
  return i.formatDistance("xHours", e, o);
29
29
  }
30
30
  if (m === "day") {
31
- let e = l(f / Ae);
31
+ let e = l(f / je);
32
32
  return i.formatDistance("xDays", e, o);
33
33
  }
34
34
  if (m === "month") {
35
- let e = l(f / Se);
35
+ let e = l(f / Ce);
36
36
  return e === 12 && p !== "month" ? i.formatDistance("xYears", 1, o) : i.formatDistance("xMonths", e, o);
37
37
  }
38
38
  {
39
- let e = l(f / Ce);
39
+ let e = l(f / we);
40
40
  return i.formatDistance("xYears", e, o);
41
41
  }
42
42
  }
43
- //#endregion
44
- //#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
45
- var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R(/* @__PURE__ */ A({
43
+ // src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
44
+ var X = { class: "konnectio-event-listing-action-button" }, He = /*#__PURE__*/ R(/* @__PURE__ */ A({
46
45
  __name: "_",
47
46
  props: {
48
47
  name: {},
@@ -72,69 +71,61 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
72
71
  },
73
72
  callback: {}
74
73
  },
75
- setup(n) {
76
- let { t: r } = p(), i = n, { display: a } = re(), { hideEventGuestAmount: o } = b(F()), { maxNumberOfPeople: u, numberOfPeople: d, eventId: f, currentEventDate: h, tableGroupId: _ } = b(G()), { getTemplateAvailability: v, getEventAvailability: x, isEventListingLoading: w } = G(), { addToCart: T } = P(), E = e(() => i.maxGuests || i.maxOnlineReservationLimit || u.value || Infinity), D = k(0), O = e(() => w(i.listingId)), A = () => {
77
- if (!i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
78
- a({
79
- type: "error",
80
- message: r("alert.error.selectPeople")
81
- });
82
- return;
83
- }
84
- i.trackingEnabled && T({
74
+ setup(t) {
75
+ let { t: n } = m(), i = t, { display: a } = me(), { hideEventGuestAmount: o } = v(G()), { maxNumberOfPeople: d, numberOfPeople: f, eventId: p, currentEventDate: g, tableGroupId: _ } = v(I()), { getTemplateAvailability: b, getEventAvailability: S, isEventListingLoading: C } = I(), { addToCart: w } = ue(), T = e(() => i.maxGuests || i.maxOnlineReservationLimit || d.value || Infinity), D = k(0), O = e(() => C(i.listingId)), A = () => {
76
+ !i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value)) ? a({
77
+ type: "error",
78
+ message: n("alert.error.selectPeople")
79
+ }) : (i.trackingEnabled && w({
85
80
  id: i.listingId,
86
81
  name: i.name,
87
82
  value: i.fromPrice || 0
88
- }), f.value = i.listingId, d.value = i.useNumberOfProductsForPersons ? NaN : D.value, v(i.callback);
83
+ }), p.value = i.listingId, f.value = i.useNumberOfProductsForPersons ? NaN : D.value, b(i.callback));
89
84
  }, j = () => {
90
- if (!i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
91
- a({
92
- type: "error",
93
- message: r("alert.error.selectPeople")
94
- });
95
- return;
96
- }
97
- i.trackingEnabled && T({
85
+ !i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value)) ? a({
86
+ type: "error",
87
+ message: n("alert.error.selectPeople")
88
+ }) : (i.trackingEnabled && w({
98
89
  id: i.listingId,
99
90
  name: i.name,
100
91
  value: i.fromPrice || 0
101
- }), f.value = i.listingId, _.value = i.tableGroupId, d.value = i.useNumberOfProductsForPersons ? NaN : D.value, x(i.callback);
92
+ }), p.value = i.listingId, _.value = i.tableGroupId, f.value = i.useNumberOfProductsForPersons ? NaN : D.value, S(i.callback));
102
93
  };
103
- return (e, i) => (g(), c(Fe, {
94
+ return (e, i) => (h(), c(J, {
104
95
  type: "event",
105
- "listing-id": n.listingId,
106
- gallery: n.gallery,
107
- name: n.name,
108
- description: n.description,
109
- "prices-from": n.fromPrice,
110
- "to-date": n.toDate,
111
- layout: t(se).Event,
112
- "disable-deep-link": n.disableDeepLink
96
+ "listing-id": t.listingId,
97
+ gallery: t.gallery,
98
+ name: t.name,
99
+ description: t.description,
100
+ "prices-from": t.fromPrice,
101
+ "to-date": t.toDate,
102
+ layout: r(W).Event,
103
+ "disable-deep-link": t.disableDeepLink
113
104
  }, {
114
- description: y(() => [m(e.$slots, "description", { maxNumberOfPeople: t(u) }, void 0, !0)]),
115
- action: y(() => [m(e.$slots, "action", {}, () => [S("div", { class: C(["konnectio-event-listing-action", { "no-selectable-people": n.useNumberOfProductsForPersons }]) }, [n.useNumberOfProductsForPersons ? l("", !0) : (g(), c(H, {
105
+ description: x(() => [E(e.$slots, "description", { maxNumberOfPeople: r(d) }, void 0, !0)]),
106
+ action: x(() => [E(e.$slots, "action", {}, () => [y("div", { class: u(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? l("", !0) : (h(), c(U, {
116
107
  key: 0,
117
108
  modelValue: D.value,
118
109
  "onUpdate:modelValue": i[0] ||= (e) => D.value = e,
119
- label: t(r)("event.numberOfGuests"),
110
+ label: r(n)("event.numberOfGuests"),
120
111
  icon: "users",
121
112
  "icon-type": "fas",
122
113
  "icon-placement": "label",
123
- description: E.value <= 20 && !t(o) ? `${t(r)("general.availableFor")}: 1 - ${E.value} ${t(oe)(t(r)("general.guests"))}` : void 0,
114
+ description: T.value <= 20 && !r(o) ? `${r(n)("general.availableFor")}: 1 - ${T.value} ${r(H)(r(n)("general.guests"))}` : void 0,
124
115
  "min-value": 0,
125
- "max-value": E.value
116
+ "max-value": T.value
126
117
  }, null, 8, [
127
118
  "modelValue",
128
119
  "label",
129
120
  "description",
130
121
  "max-value"
131
- ])), S("div", Z, [s(W, {
132
- label: n.soldOut ? t(r)("event.soldOut") : t(r)("event.bookNowButton"),
133
- disabled: n.soldOut,
122
+ ])), y("div", X, [s(B, {
123
+ label: t.soldOut ? r(n)("event.soldOut") : r(n)("event.bookNowButton"),
124
+ disabled: t.soldOut,
134
125
  "is-loading": O.value,
135
126
  "full-width": "",
136
- "sub-label": t(L)(t(h)),
137
- onClickEvent: i[1] ||= (e) => n.type === "event" ? j() : A()
127
+ "sub-label": r(L)(r(g)),
128
+ onClickEvent: i[1] ||= (e) => t.type === "event" ? j() : A()
138
129
  }, null, 8, [
139
130
  "label",
140
131
  "disabled",
@@ -153,13 +144,13 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
153
144
  "disable-deep-link"
154
145
  ]));
155
146
  }
156
- }), [["__scopeId", "data-v-bfd98c31"]]), He = { class: "konnectio-event-listing-information-new" }, Ue = {
147
+ }), [["__scopeId", "data-v-bfd98c31"]]), Ue = { class: "konnectio-event-listing-information-new" }, We = {
157
148
  key: 1,
158
149
  class: "konnectio-pill-button"
159
- }, We = {
150
+ }, Ge = {
160
151
  key: 2,
161
152
  class: "konnectio-pill-button"
162
- }, Ge = { key: 0 }, Ke = { key: 1 }, Q = /*#__PURE__*/ R(/* @__PURE__ */ A({
153
+ }, Ke = { key: 0 }, qe = { key: 1 }, Z = /*#__PURE__*/ R(/* @__PURE__ */ A({
163
154
  __name: "Event",
164
155
  props: {
165
156
  name: {},
@@ -181,42 +172,42 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
181
172
  trackingEnabled: { type: Boolean },
182
173
  callback: {}
183
174
  },
184
- setup(n) {
185
- let r = n, { t: i } = p(), { hideEventLength: a, hideEventEndTime: o } = b(F()), f = e(() => {
186
- if (!r.length) return;
187
- let e = r.length.split(":");
188
- return X(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
175
+ setup(t) {
176
+ let n = t, { t: i } = m(), { hideEventLength: a, hideEventEndTime: o } = v(G()), u = e(() => {
177
+ if (!n.length) return;
178
+ let e = n.length.split(":");
179
+ return Y(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
189
180
  });
190
- return (e, r) => (g(), c(Ve, {
191
- "listing-id": n.listingId,
192
- name: n.name,
193
- description: n.description,
194
- gallery: n.gallery,
195
- "prices-from": n.fromPrice,
196
- "table-group-id": n.tableGroupId,
197
- "max-guests": n.maxOnlineReservationLimit,
198
- "use-number-of-products-for-persons": n.useNumberOfProductsForPersons,
199
- "to-date": n.toDate,
200
- "sold-out": n.soldOut,
181
+ return (e, n) => (h(), c(He, {
182
+ "listing-id": t.listingId,
183
+ name: t.name,
184
+ description: t.description,
185
+ gallery: t.gallery,
186
+ "prices-from": t.fromPrice,
187
+ "table-group-id": t.tableGroupId,
188
+ "max-guests": t.maxOnlineReservationLimit,
189
+ "use-number-of-products-for-persons": t.useNumberOfProductsForPersons,
190
+ "to-date": t.toDate,
191
+ "sold-out": t.soldOut,
201
192
  type: "event",
202
- "tracking-enabled": n.trackingEnabled,
203
- callback: n.callback
193
+ "tracking-enabled": t.trackingEnabled,
194
+ callback: t.callback
204
195
  }, {
205
- description: y(() => [n.description ? (g(), c(Be, {
196
+ description: x(() => [t.description ? (h(), c(ze, {
206
197
  key: 0,
207
- text: n.description
208
- }, null, 8, ["text"])) : l("", !0), S("ul", He, [
198
+ text: t.description
199
+ }, null, 8, ["text"])) : l("", !0), y("ul", Ue, [
209
200
  l("", !0),
210
- !t(a) && f.value ? (g(), u("li", Ue, [S("div", null, [s(K, {
201
+ !r(a) && u.value ? (h(), d("li", We, [y("div", null, [s(K, {
211
202
  icon: "calendar-clock",
212
203
  color: "header"
213
- }), S("span", null, d(t(i)("event.lengthOfEvent")), 1)]), S("span", null, d(f.value), 1)])) : l("", !0),
214
- n.timeFrom ? (g(), u("li", We, [S("div", null, [s(K, {
204
+ }), y("span", null, b(r(i)("event.lengthOfEvent")), 1)]), y("span", null, b(u.value), 1)])) : l("", !0),
205
+ t.timeFrom ? (h(), d("li", Ge, [y("div", null, [s(K, {
215
206
  icon: "calendar-clock",
216
207
  color: "header"
217
- }), S("span", null, d(t(i)("event.startAndEndTime")), 1)]), t(o) ? (g(), u("span", Ke, d(t(V)(n.timeFrom)), 1)) : (g(), u("span", Ge, d(t(de)(n.timeFrom, n.timeTo)), 1))])) : l("", !0)
208
+ }), y("span", null, b(r(i)("event.startAndEndTime")), 1)]), r(o) ? (h(), d("span", qe, b(r(z)(t.timeFrom)), 1)) : (h(), d("span", Ke, b(r(_e)(t.timeFrom, t.timeTo)), 1))])) : l("", !0)
218
209
  ])]),
219
- action: y(() => [m(e.$slots, "action", {}, void 0, !0)]),
210
+ action: x(() => [E(e.$slots, "action", {}, void 0, !0)]),
220
211
  _: 3
221
212
  }, 8, [
222
213
  "listing-id",
@@ -233,10 +224,10 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
233
224
  "callback"
234
225
  ]));
235
226
  }
236
- }), [["__scopeId", "data-v-2ecac268"]]), qe = {
227
+ }), [["__scopeId", "data-v-2ecac268"]]), Je = {
237
228
  key: 0,
238
229
  class: "konnectio-event-grouped-listings-container"
239
- }, Je = { class: "konnectio-event-grouped-listings" }, Ye = /*#__PURE__*/ R(/* @__PURE__ */ A({
230
+ }, Ye = { class: "konnectio-event-grouped-listings" }, Xe = /*#__PURE__*/ R(/* @__PURE__ */ A({
240
231
  __name: "Event",
241
232
  props: {
242
233
  name: {},
@@ -245,7 +236,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
245
236
  callback: { type: Function }
246
237
  },
247
238
  setup(e) {
248
- return (t, n) => e.events && e.events.length > 1 ? (g(), u("div", qe, [l("", !0), S("ul", Je, [(g(!0), u(r, null, x(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, tableGroupId: o, description: s, soldOut: l, length: u, images: d, maxOnlineReservationLimit: f, maxPaxPerReservation: p, useNumberOfProductsForPersons: m, maxTicketsLimit: h }) => (g(), c(Q, {
239
+ return (t, n) => e.events && e.events.length > 1 ? (h(), d("div", Je, [l("", !0), y("ul", Ye, [(h(!0), d(i, null, C(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, tableGroupId: o, description: s, soldOut: l, length: u, images: d, maxOnlineReservationLimit: f, maxPaxPerReservation: p, useNumberOfProductsForPersons: m, maxTicketsLimit: g }) => (h(), c(Z, {
249
240
  key: t,
250
241
  type: "event",
251
242
  "listing-id": t,
@@ -255,7 +246,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
255
246
  length: u,
256
247
  gallery: d,
257
248
  days: n,
258
- "max-online-reservation-limit": p || f || h || void 0,
249
+ "max-online-reservation-limit": p || f || g || void 0,
259
250
  "time-from": i,
260
251
  "time-to": a,
261
252
  "sold-out": l,
@@ -277,7 +268,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
277
268
  "use-number-of-products-for-persons",
278
269
  "tracking-enabled",
279
270
  "callback"
280
- ]))), 128))])])) : e.events ? (g(), c(Q, {
271
+ ]))), 128))])])) : e.events ? (h(), c(Z, {
281
272
  key: e.events[0].id,
282
273
  type: "event",
283
274
  "listing-id": e.events[0].id,
@@ -315,7 +306,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
315
306
  "callback"
316
307
  ])) : l("", !0);
317
308
  }
318
- }), [["__scopeId", "data-v-1c96b9a2"]]), Xe = { class: "konnectio-special-offer-availability" }, Ze = { class: "konnectio-special-offer-availability-button" }, Qe = { class: "konnectio-warning-notice" }, $e = { key: 0 }, et = { key: 1 }, $ = /*#__PURE__*/ R(/* @__PURE__ */ A({
309
+ }), [["__scopeId", "data-v-1c96b9a2"]]), Ze = { class: "konnectio-special-offer-availability" }, Qe = { class: "konnectio-special-offer-availability-button" }, $e = { class: "konnectio-warning-notice" }, et = { key: 0 }, tt = { key: 1 }, Q = /*#__PURE__*/ R(/* @__PURE__ */ A({
319
310
  __name: "NextEvent",
320
311
  props: {
321
312
  name: {},
@@ -336,15 +327,15 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
336
327
  trackingEnabled: { type: Boolean },
337
328
  callback: { type: Function }
338
329
  },
339
- setup(n) {
340
- let { t: r } = p(), { updateEventDate: i } = N(), { display: a } = re(), l = k(), m = n;
341
- function h() {
330
+ setup(t) {
331
+ let { t: n } = m(), { updateEventDate: i } = ye(), { display: a } = me(), l = k(), u = t;
332
+ function p() {
342
333
  l.value ? i(l.value) : a({
343
- message: r("alert.error.selectDate"),
334
+ message: n("alert.error.selectDate"),
344
335
  type: "error"
345
336
  });
346
337
  }
347
- let _ = e(() => q(m.fromDate, m.toDate) <= 1), v = e(() => [
338
+ let g = e(() => F(u.fromDate, u.toDate) <= 1), _ = e(() => [
348
339
  0,
349
340
  1,
350
341
  2,
@@ -352,41 +343,41 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
352
343
  4,
353
344
  5,
354
345
  6
355
- ].filter((e) => !z(m.days).includes(e))), b = e(() => m.fromDate === "0001-01-01T00:00:00Z" ? new Date(m.toDate) : q(m.fromDate, /* @__PURE__ */ new Date()) <= 0 ? /* @__PURE__ */ new Date() : new Date(m.fromDate));
346
+ ].filter((e) => !be(u.days).includes(e))), v = e(() => u.fromDate === "0001-01-01T00:00:00Z" ? new Date(u.toDate) : F(u.fromDate, /* @__PURE__ */ new Date()) <= 0 ? /* @__PURE__ */ new Date() : new Date(u.fromDate));
356
347
  return f(() => {
357
- _.value && (l.value = new Date(m.fromDate));
358
- }), (e, i) => (g(), c(Q, {
359
- name: n.name,
360
- description: n.description,
361
- "from-date": n.fromDate,
362
- "to-date": n.toDate,
363
- length: n.length,
364
- "time-from": n.timeFrom,
365
- "time-to": n.timeTo,
366
- gallery: n.gallery,
367
- days: n.days,
368
- "listing-id": n.listingId,
369
- "table-group-id": n.tableGroupId,
370
- "max-online-reservation-limit": n.maxOnlineReservationLimit,
371
- "minimum-person-count": n.minimumPersonCount,
372
- "use-number-of-products-for-persons": n.useNumberOfProductsForPersons,
373
- "tracking-enabled": n.trackingEnabled,
374
- "sold-out": n.soldOut,
375
- callback: n.callback,
348
+ g.value && (l.value = new Date(u.fromDate));
349
+ }), (e, i) => (h(), c(Z, {
350
+ name: t.name,
351
+ description: t.description,
352
+ "from-date": t.fromDate,
353
+ "to-date": t.toDate,
354
+ length: t.length,
355
+ "time-from": t.timeFrom,
356
+ "time-to": t.timeTo,
357
+ gallery: t.gallery,
358
+ days: t.days,
359
+ "listing-id": t.listingId,
360
+ "table-group-id": t.tableGroupId,
361
+ "max-online-reservation-limit": t.maxOnlineReservationLimit,
362
+ "minimum-person-count": t.minimumPersonCount,
363
+ "use-number-of-products-for-persons": t.useNumberOfProductsForPersons,
364
+ "tracking-enabled": t.trackingEnabled,
365
+ "sold-out": t.soldOut,
366
+ callback: t.callback,
376
367
  "disable-deep-link": !0
377
368
  }, {
378
- action: y(() => [S("div", null, [S("div", Xe, [s(Ee, {
369
+ action: x(() => [y("div", null, [y("div", Ze, [s(De, {
379
370
  modelValue: l.value,
380
371
  "onUpdate:modelValue": i[0] ||= (e) => l.value = e,
381
- label: `${t(r)("event.selectDate")}*`,
382
- placeholder: t(r)("event.selectDate"),
372
+ label: `${r(n)("event.selectDate")}*`,
373
+ placeholder: r(n)("event.selectDate"),
383
374
  "icon-type": "fas",
384
375
  "icon-placement": "label",
385
- readonly: _.value,
386
- "start-date": b.value,
387
- "min-date": b.value,
388
- "max-date": new Date(n.toDate),
389
- "disabled-week-days": v.value
376
+ readonly: g.value,
377
+ "start-date": v.value,
378
+ "min-date": v.value,
379
+ "max-date": new Date(t.toDate),
380
+ "disabled-week-days": _.value
390
381
  }, null, 8, [
391
382
  "modelValue",
392
383
  "label",
@@ -396,10 +387,10 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
396
387
  "min-date",
397
388
  "max-date",
398
389
  "disabled-week-days"
399
- ]), S("div", Ze, [s(W, {
400
- label: t(r)("availability.buttonLabel"),
401
- onClick: O(h, ["prevent"])
402
- }, null, 8, ["label"])])]), S("div", Qe, [_.value ? (g(), u("span", $e, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(L)(n.fromDate)), 1)])) : (g(), u("span", et, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(M)(n.days)), 1)]))])])]),
390
+ ]), y("div", Qe, [s(B, {
391
+ label: r(n)("availability.buttonLabel"),
392
+ onClick: O(p, ["prevent"])
393
+ }, null, 8, ["label"])])]), y("div", $e, [g.value ? (h(), d("span", et, [o("*" + b(r(n)("event.canBeBooked")) + " ", 1), y("u", null, b(r(L)(t.fromDate)), 1)])) : (h(), d("span", tt, [o("*" + b(r(n)("event.canBeBooked")) + " ", 1), y("u", null, b(r(fe)(t.days)), 1)]))])])]),
403
394
  _: 1
404
395
  }, 8, [
405
396
  "name",
@@ -421,10 +412,10 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
421
412
  "callback"
422
413
  ]));
423
414
  }
424
- }), [["__scopeId", "data-v-76846960"]]), tt = {
415
+ }), [["__scopeId", "data-v-76846960"]]), nt = {
425
416
  key: 0,
426
417
  class: "konnectio-event-grouped-listings-container"
427
- }, nt = { class: "konnectio-event-grouped-listings" }, rt = /*#__PURE__*/ R(/* @__PURE__ */ A({
418
+ }, rt = { class: "konnectio-event-grouped-listings" }, it = /*#__PURE__*/ R(/* @__PURE__ */ A({
428
419
  __name: "NextEvent",
429
420
  props: {
430
421
  name: {},
@@ -433,7 +424,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
433
424
  callback: { type: Function }
434
425
  },
435
426
  setup(e) {
436
- return (t, n) => e.events && e.events.length > 1 ? (g(), u("div", tt, [l("", !0), S("ul", nt, [(g(!0), u(r, null, x(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, fromDate: o, toDate: s, tableGroupId: l, description: u, soldOut: d, length: f, images: p, maxOnlineReservationLimit: m, maxPaxPerReservation: h, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (g(), c($, {
427
+ return (t, n) => e.events && e.events.length > 1 ? (h(), d("div", nt, [l("", !0), y("ul", rt, [(h(!0), d(i, null, C(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, fromDate: o, toDate: s, tableGroupId: l, description: u, soldOut: d, length: f, images: p, maxOnlineReservationLimit: m, maxPaxPerReservation: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (h(), c(Q, {
437
428
  key: t,
438
429
  type: "event",
439
430
  "listing-id": t,
@@ -445,7 +436,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
445
436
  days: n,
446
437
  "from-date": o,
447
438
  "to-date": s,
448
- "max-online-reservation-limit": h || m || v || void 0,
439
+ "max-online-reservation-limit": g || m || v || void 0,
449
440
  "time-from": i,
450
441
  "time-to": a,
451
442
  "sold-out": d,
@@ -469,7 +460,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
469
460
  "use-number-of-products-for-persons",
470
461
  "tracking-enabled",
471
462
  "callback"
472
- ]))), 128))])])) : e.events ? (g(), c($, {
463
+ ]))), 128))])])) : e.events ? (h(), c(Q, {
473
464
  key: e.events[0].id,
474
465
  type: "event",
475
466
  "listing-id": e.events[0].id,
@@ -507,7 +498,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
507
498
  "callback"
508
499
  ])) : l("", !0);
509
500
  }
510
- }), [["__scopeId", "data-v-56a468d4"]]), it = ["innerHTML"], at = /*#__PURE__*/ R(/* @__PURE__ */ A({
501
+ }), [["__scopeId", "data-v-56a468d4"]]), at = ["innerHTML"], ot = /*#__PURE__*/ R(/* @__PURE__ */ A({
511
502
  __name: "FallbackEvent",
512
503
  props: {
513
504
  name: {},
@@ -520,8 +511,8 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
520
511
  callback: { type: Function }
521
512
  },
522
513
  setup(e) {
523
- let { t: n } = p();
524
- return (r, i) => (g(), c(Q, {
514
+ let { t } = m();
515
+ return (n, i) => (h(), c(Z, {
525
516
  name: e.name,
526
517
  description: e.description,
527
518
  "from-date": e.fromDate,
@@ -532,10 +523,10 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
532
523
  callback: e.callback,
533
524
  "disable-deep-link": !0
534
525
  }, {
535
- action: y(() => [S("div", {
526
+ action: x(() => [y("div", {
536
527
  class: "konnectio-filter-notice konnectio-top-message",
537
- innerHTML: t(n)("event.notAvailable", { name: `<b>${e.name}</b>` })
538
- }, null, 8, it)]),
528
+ innerHTML: r(t)("event.notAvailable", { name: `<b>${e.name}</b>` })
529
+ }, null, 8, at)]),
539
530
  _: 1
540
531
  }, 8, [
541
532
  "name",
@@ -548,7 +539,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
548
539
  "callback"
549
540
  ]));
550
541
  }
551
- }), [["__scopeId", "data-v-aca89b02"]]), ot = /* @__PURE__ */ A({
542
+ }), [["__scopeId", "data-v-aca89b02"]]), st = /* @__PURE__ */ A({
552
543
  __name: "Template",
553
544
  props: {
554
545
  name: {},
@@ -565,7 +556,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
565
556
  callback: {}
566
557
  },
567
558
  setup(e) {
568
- return (t, n) => (g(), c(Ve, {
559
+ return (t, n) => (h(), c(He, {
569
560
  "listing-id": e.listingId,
570
561
  gallery: e.images,
571
562
  name: e.name,
@@ -586,7 +577,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
586
577
  "callback"
587
578
  ]));
588
579
  }
589
- }), st = {
580
+ }), $ = {
590
581
  key: 0,
591
582
  class: "konnectio-panel konnectio-reservation-notice-mobile"
592
583
  }, ct = ["innerHTML"], lt = { key: 0 }, ut = { key: 1 }, dt = { key: 2 }, ft = { key: 0 }, pt = { key: 4 }, mt = { key: 5 }, ht = { key: 6 }, gt = { key: 0 }, _t = { key: 0 }, vt = { key: 1 }, yt = {
@@ -606,47 +597,47 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
606
597
  prevCallback: {}
607
598
  },
608
599
  setup(e) {
609
- let { t: n } = p(), i = v(), { areListingsAvailable: o, arrivalTime: s, numberOfPeople: f, numberOfRooms: _, numberOfTotalDays: C, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: M, roomUpgrade: N, discountCode: P, totalSelectedProducts: I, discountValue: ee, appliedDiscountCode: te } = b(G()), { totalAddonPrice: ne, validateDiscountCode: re } = G(), { currency: R, hideEventLength: ie } = b(F()), z = n("event.reservationNotice");
610
- return (p, v) => (g(), c(Y, {
611
- "discount-code": t(P),
612
- "onUpdate:discountCode": v[0] ||= (e) => h(P) ? P.value = e : null,
613
- "validate-discount-code": t(re),
600
+ let { t } = m(), n = D(), { areListingsAvailable: o, arrivalTime: s, numberOfPeople: u, numberOfRooms: f, numberOfTotalDays: g, isTemplateEvent: _, currentEventDate: S, length: w, fromDate: T, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: ee, roomUpgrade: te, discountCode: ne, totalSelectedProducts: M, discountValue: re, appliedDiscountCode: ie } = v(I()), { totalAddonPrice: ae, validateDiscountCode: oe } = I(), { currency: se, hideEventLength: ce } = v(G()), P = t("event.reservationNotice");
601
+ return (m, v) => (h(), c(Me, {
602
+ "discount-code": r(ne),
603
+ "onUpdate:discountCode": v[0] ||= (e) => p(ne) ? ne.value = e : null,
604
+ "validate-discount-code": r(oe),
614
605
  "show-gift-card": e.showGiftCard,
615
606
  "show-terms-notice": e.showTermsNotice,
616
- "is-sidebar-loading": !t(o),
617
- "base-price": t(A),
618
- "total-price": t(j),
619
- "weekend-fee": t(M),
620
- "room-upgrade": t(N),
621
- notice: t(z),
607
+ "is-sidebar-loading": !r(o),
608
+ "base-price": r(A),
609
+ "total-price": r(j),
610
+ "weekend-fee": r(ee),
611
+ "room-upgrade": r(te),
612
+ notice: r(P),
622
613
  "prev-callback": e.prevCallback
623
614
  }, a({
624
- form: y(() => [m(p.$slots, "form", {}, void 0, !0), t(z) ? (g(), u("div", st, [S("p", {
625
- innerHTML: t(z),
615
+ form: x(() => [E(m.$slots, "form", {}, void 0, !0), r(P) ? (h(), d("div", $, [y("p", {
616
+ innerHTML: r(P),
626
617
  class: "konnectio-wysiwyg"
627
618
  }, null, 8, ct)])) : l("", !0)]),
628
- "reservation-summary": y(() => [
629
- t(w) ? l("", !0) : (g(), u("li", lt, [S("span", null, d(t(n)("general.date")), 1), S("b", null, d(t(L)(t(T))), 1)])),
630
- t(f) > 0 ? (g(), u("li", ut, [S("span", null, d(t(n)("event.numberOfGuests")), 1), S("b", null, d(t(f)), 1)])) : l("", !0),
631
- !t(w) && t(I) > 0 ? (g(), u("li", dt, [S("span", null, d(t(n)("event.numberOfProducts")), 1), S("b", null, d(t(I)), 1)])) : l("", !0),
632
- t(w) ? (g(), u(r, { key: 3 }, [
633
- S("li", null, [S("span", null, d(t(n)("booking.reservation.arrival")), 1), S("b", null, d(t(L)(t(D))), 1)]),
634
- S("li", null, [S("span", null, d(t(n)("booking.reservation.departure")), 1), S("b", null, d(t(L)(t(D), t(C))), 1)]),
635
- S("li", null, [S("span", null, d(t(n)("event.numberOfRooms")), 1), S("b", null, d(t(_)), 1)]),
636
- t(C) > 0 ? (g(), u("li", ft, [S("span", null, d(t(n)("event.numberOfDays")), 1), S("b", null, d(t(C)), 1)])) : l("", !0)
619
+ "reservation-summary": x(() => [
620
+ r(_) ? l("", !0) : (h(), d("li", lt, [y("span", null, b(r(t)("general.date")), 1), y("b", null, b(r(L)(r(S))), 1)])),
621
+ r(u) > 0 ? (h(), d("li", ut, [y("span", null, b(r(t)("event.numberOfGuests")), 1), y("b", null, b(r(u)), 1)])) : l("", !0),
622
+ !r(_) && r(M) > 0 ? (h(), d("li", dt, [y("span", null, b(r(t)("event.numberOfProducts")), 1), y("b", null, b(r(M)), 1)])) : l("", !0),
623
+ r(_) ? (h(), d(i, { key: 3 }, [
624
+ y("li", null, [y("span", null, b(r(t)("booking.reservation.arrival")), 1), y("b", null, b(r(L)(r(T))), 1)]),
625
+ y("li", null, [y("span", null, b(r(t)("booking.reservation.departure")), 1), y("b", null, b(r(L)(r(T), r(g))), 1)]),
626
+ y("li", null, [y("span", null, b(r(t)("event.numberOfRooms")), 1), y("b", null, b(r(f)), 1)]),
627
+ r(g) > 0 ? (h(), d("li", ft, [y("span", null, b(r(t)("event.numberOfDays")), 1), y("b", null, b(r(g)), 1)])) : l("", !0)
637
628
  ], 64)) : l("", !0),
638
- !t(w) && t(s) ? (g(), u("li", pt, [S("span", null, d(t(n)("event.startOfEvent")), 1), S("b", null, d(t(V)(t(s))), 1)])) : l("", !0),
639
- !t(w) && t(E) && !t(ie) ? (g(), u("li", mt, [S("span", null, d(t(n)("event.lengthOfEvent")), 1), S("b", null, d(t(V)(t(E))), 1)])) : l("", !0),
640
- t(ee) ? (g(), u("li", ht, [S("span", null, d(t(n)("general.discountCode")), 1), S("b", null, d(t(te)), 1)])) : l("", !0)
629
+ !r(_) && r(s) ? (h(), d("li", pt, [y("span", null, b(r(t)("event.startOfEvent")), 1), y("b", null, b(r(z)(r(s))), 1)])) : l("", !0),
630
+ !r(_) && r(w) && !r(ce) ? (h(), d("li", mt, [y("span", null, b(r(t)("event.lengthOfEvent")), 1), y("b", null, b(r(z)(r(w))), 1)])) : l("", !0),
631
+ r(re) ? (h(), d("li", ht, [y("span", null, b(r(t)("general.discountCode")), 1), y("b", null, b(r(ie)), 1)])) : l("", !0)
641
632
  ]),
642
- "price-summary": y(() => [!t(w) && t(O) > 0 ? (g(), u("li", gt, [S("span", null, d(t(n)("booking.availability.basePrice")), 1), S("b", null, d(t(U)(t(O), t(R))), 1)])) : l("", !0), t(k) ? (g(!0), u(r, { key: 1 }, x(t(k), ({ roomGroupId: e }, i) => (g(), u(r, null, [t(ne)(e, i) > 0 ? (g(), u("li", { key: e }, [S("span", null, d(t(n)("booking.reservation.addons")) + " - " + d(t(n)("booking.reservation.room")) + " #" + d(i + 1), 1), S("b", null, d(t(U)(t(ne)(e, i), t(R))), 1)])) : l("", !0)], 64))), 256)) : l("", !0)]),
643
- navigation: y(() => [m(p.$slots, "navigation", {}, void 0, !0)]),
644
- "mobile-under-price": y(() => [t(w) && t(C) > 0 ? (g(), u("div", _t, [S("span", null, d(t(L)(t(D))) + " - " + d(t(L)(t(D), t(C))), 1)])) : (g(), u("div", vt, [S("span", null, d(t(L)(t(T))), 1)]))]),
645
- "mobile-summary": y(() => [!t(w) && t(I) > 0 ? (g(), u("span", yt, d(t(n)("event.numberOfProducts")) + ": " + d(t(I)), 1)) : l("", !0)]),
633
+ "price-summary": x(() => [!r(_) && r(O) > 0 ? (h(), d("li", gt, [y("span", null, b(r(t)("booking.availability.basePrice")), 1), y("b", null, b(r(N)(r(O), r(se))), 1)])) : l("", !0), r(k) ? (h(!0), d(i, { key: 1 }, C(r(k), ({ roomGroupId: e }, n) => (h(), d(i, null, [r(ae)(e, n) > 0 ? (h(), d("li", { key: e }, [y("span", null, b(r(t)("booking.reservation.addons")) + " - " + b(r(t)("booking.reservation.room")) + " #" + b(n + 1), 1), y("b", null, b(r(N)(r(ae)(e, n), r(se))), 1)])) : l("", !0)], 64))), 256)) : l("", !0)]),
634
+ navigation: x(() => [E(m.$slots, "navigation", {}, void 0, !0)]),
635
+ "mobile-under-price": x(() => [r(_) && r(g) > 0 ? (h(), d("div", _t, [y("span", null, b(r(L)(r(T))) + " - " + b(r(L)(r(T), r(g))), 1)])) : (h(), d("div", vt, [y("span", null, b(r(L)(r(S))), 1)]))]),
636
+ "mobile-summary": x(() => [!r(_) && r(M) > 0 ? (h(), d("span", yt, b(r(t)("event.numberOfProducts")) + ": " + b(r(M)), 1)) : l("", !0)]),
646
637
  _: 2
647
- }, [t(i).sidebar ? {
638
+ }, [r(n).sidebar ? {
648
639
  name: "sidebar",
649
- fn: y(() => [m(p.$slots, "sidebar", {}, void 0, !0)]),
640
+ fn: x(() => [E(m.$slots, "sidebar", {}, void 0, !0)]),
650
641
  key: "0"
651
642
  } : void 0]), 1032, [
652
643
  "discount-code",
@@ -665,7 +656,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
665
656
  }), [["__scopeId", "data-v-c1e1c642"]]), xt = { class: "event-skeleton" }, St = { class: "event-skeleton-content" }, Ct = { class: "event-skeleton-sidebar" }, wt = /*#__PURE__*/ R(/* @__PURE__ */ A({
666
657
  __name: "EventSkeleton",
667
658
  setup(e) {
668
- return (e, t) => (g(), u("div", xt, [S("div", St, [s(Ie)]), S("div", Ct, [l("", !0), s(Le)])]));
659
+ return (e, t) => (h(), d("div", xt, [y("div", St, [s(Fe)]), y("div", Ct, [l("", !0), s(Ie)])]));
669
660
  }
670
661
  }), [["__scopeId", "data-v-af0e7efb"]]), Tt = {
671
662
  key: 0,
@@ -703,40 +694,40 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
703
694
  styling: {}
704
695
  },
705
696
  setup(a) {
706
- let f = a, { t: m } = p(), v = G(), { isHostedCheckoutActive: C } = b(le()), { addons: T, products: E, numberOfDays: D, flagOnTable: O, numberOfHighChairs: k, name: A, phone: j, email: M, remark: L, allergies: R, arrivalTime: z, hasEvents: oe, hasTemplates: se, getTemplates: de, getEventData: q, getTemplateData: J, getEventTableData: xe, hasProducts: Se, eventRateType: Ce, areListingsAvailable: we, isAvailabilityDataAvailable: Te, hasListingData: Ee, listingsFetchFailed: De, isPaymentLoading: Oe, isReservationFormFilled: ke, requiresArrivalTime: Ae, hasSelectedRequiredProducts: Me, getUnavailableEvents: Y, hasFallbackEvents: Fe, getFallbackEvents: Le, excludeEventIds: ze } = b(v), Be = e(() => v.getSortedEvents(f.sortOrder)), { currency: X, enableTracking: Z } = b(F()), { setActiveIdFilter: Ve } = F(), { eventDate: He, eventLocation: Ue } = b(N()), { isValidRestaurantId: We } = N(), { initialize: Ge, fetchListings: Ke, createBooking: Q, bookingPayload: qe, localAddonPrice: Je, totalAddonPrice: Xe, reset: Ze, goBack: Qe } = G(), { beginEventCheckout: $e } = P(), { display: et } = re();
707
- ge.useHttpClient(ve(ie()));
708
- let $ = i(), tt;
709
- function nt() {
710
- let { url: e, data: t } = qe();
711
- if (!$.value || tt !== e) {
712
- let n = me("post", e, t);
713
- n.setValidationTimeout(600), tt = e, $.value = n;
697
+ let u = a, { t: f } = m(), S = I(), { isHostedCheckoutActive: w } = v(he()), { addons: T, products: E, numberOfDays: D, flagOnTable: O, numberOfHighChairs: k, name: A, phone: j, email: F, remark: L, allergies: fe, arrivalTime: R, hasEvents: H, hasTemplates: W, getTemplates: _e, getEventData: be, getTemplateData: q, getEventTableData: Se, hasProducts: Ce, eventRateType: we, areListingsAvailable: Te, isAvailabilityDataAvailable: Ee, hasListingData: De, listingsFetchFailed: Oe, isPaymentLoading: ke, isReservationFormFilled: Ae, requiresArrivalTime: je, hasSelectedRequiredProducts: Me, getUnavailableEvents: J, hasFallbackEvents: Ie, getFallbackEvents: Re, excludeEventIds: ze } = v(S), Ve = e(() => S.getSortedEvents(u.sortOrder)), { currency: Y, enableTracking: X } = v(G()), { setActiveIdFilter: He } = G(), { eventDate: Ue, eventLocation: We } = v(ye()), { isValidRestaurantId: Ge } = ye(), { initialize: Ke, fetchListings: qe, createBooking: Z, bookingPayload: Je, localAddonPrice: Ye, totalAddonPrice: Ze, reset: Qe, goBack: $e } = I(), { beginEventCheckout: et } = ue(), { display: tt } = me();
698
+ M.useHttpClient(te(se()));
699
+ let Q = t(), nt;
700
+ function rt() {
701
+ let { url: e, data: t } = Je();
702
+ if (!Q.value || nt !== e) {
703
+ let n = ie("post", e, t);
704
+ n.setValidationTimeout(600), nt = e, Q.value = n;
714
705
  }
715
- return $.value;
706
+ return Q.value;
716
707
  }
717
- function it(e) {
718
- let t = nt();
719
- t.setData(qe().data), t.validate(e);
708
+ function at(e) {
709
+ let t = rt();
710
+ t.setData(Je().data), t.validate(e);
720
711
  }
721
- function st(e) {
722
- return $.value?.errors[e];
712
+ function $(e) {
713
+ return Q.value?.errors[e];
723
714
  }
724
- w(A, () => it("name")), w(M, () => it("email")), w(j, () => it("phone"));
715
+ _(A, () => at("name")), _(F, () => at("email")), _(j, () => at("phone"));
725
716
  let ct = e(() => [
726
717
  {
727
718
  id: "availability",
728
- label: m("booking.availability.title"),
719
+ label: f("booking.availability.title"),
729
720
  icon: "search"
730
721
  },
731
722
  {
732
723
  id: "addons",
733
- label: m("general.addons"),
724
+ label: f("general.addons"),
734
725
  icon: "shopping-cart",
735
726
  hidden: !1
736
727
  },
737
728
  {
738
729
  id: "reservation",
739
- label: m("booking.reservation.title"),
730
+ label: f("booking.reservation.title"),
740
731
  icon: "concierge-bell"
741
732
  },
742
733
  {
@@ -745,71 +736,71 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
745
736
  },
746
737
  {
747
738
  id: "confirmation",
748
- label: m("booking.confirmation.title"),
739
+ label: f("booking.confirmation.title"),
749
740
  icon: "calendar-check"
750
741
  }
751
742
  ]), lt = e(() => {
752
743
  let e = [];
753
- return xe.value && xe.value.forEach((t) => {
744
+ return Se.value && Se.value.forEach((t) => {
754
745
  e.find((e) => e.value === t.time) || e.push({
755
- label: V(t.time),
746
+ label: z(t.time),
756
747
  value: t.time
757
748
  });
758
749
  }), e;
759
750
  });
760
751
  function ut() {
761
- Ze(f.resetDate === "yes");
752
+ Qe(u.resetDate === "yes");
762
753
  }
763
754
  async function dt(e) {
764
- Z.value && $e();
765
- let t = await Q(e);
766
- t && nt().setErrors(t);
755
+ X.value && et();
756
+ let t = await Z(e);
757
+ t && rt().setErrors(t);
767
758
  }
768
759
  function ft() {
769
- let e = _("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
760
+ let e = g("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
770
761
  if (n) {
771
- if (te(n)) {
772
- let t = ae(n);
773
- t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? (He.value = t, e.d = void 0) : (et({
774
- message: m("alert.error.invalidDateRange"),
762
+ if (le(n)) {
763
+ let t = P(n);
764
+ t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? (Ue.value = t, e.d = void 0) : (tt({
765
+ message: f("alert.error.invalidDateRange"),
775
766
  type: "error"
776
767
  }), e.d = void 0);
777
- } else et({
778
- message: m("alert.error.wrongDateFormat"),
768
+ } else tt({
769
+ message: f("alert.error.wrongDateFormat"),
779
770
  type: "error"
780
771
  });
781
772
  }
782
- isNaN(t) || (We(t) ? Ue.value = t : (e.rid = void 0, et({
783
- message: m("alert.error.hotelIdNotFound"),
773
+ isNaN(t) || (Ge(t) ? We.value = t : (e.rid = void 0, tt({
774
+ message: f("alert.error.hotelIdNotFound"),
784
775
  type: "error"
785
- }))), isNaN(r) || Ve(String(r)), f.excludeEventIds && (ze.value = f.excludeEventIds), Ke();
776
+ }))), isNaN(r) || He(String(r)), u.excludeEventIds && (ze.value = u.excludeEventIds), qe();
786
777
  }
787
- return (e, i) => (g(), c(ce, { styling: a.styling }, {
788
- default: y(() => [(g(), c(n, { onResolve: ft }, {
789
- default: y(() => [s(be, {
778
+ return (e, t) => (h(), c(ve, { styling: a.styling }, {
779
+ default: x(() => [(h(), c(n, { onResolve: ft }, {
780
+ default: x(() => [s(xe, {
790
781
  id: "konnectio-event-module",
791
782
  "access-token": a.accessToken,
792
- callback: t(Ge)
783
+ callback: r(Ke)
793
784
  }, {
794
- default: y(() => [s(Re, {
785
+ default: x(() => [s(Le, {
795
786
  steps: ct.value,
796
787
  onReset: ut
797
788
  }, {
798
- availability: y(({ next: e }) => [s(bt, null, {
799
- sidebar: y(() => [s(je, {
789
+ availability: x(({ next: e }) => [s(bt, null, {
790
+ sidebar: x(() => [s(Be, {
800
791
  redirection: !1,
801
792
  "selected-location": Number(a.selectedLocation),
802
793
  "hide-locations": a.hideLocations === "yes"
803
794
  }, null, 8, ["selected-location", "hide-locations"])]),
804
- form: y(() => [t(Ee) && t(we) ? (g(), u("div", Tt, [
805
- t(Fe) ? (g(), u("ul", Et, [(g(!0), u(r, null, x(t(Le), ({ id: n, name: r, description: i, images: a }) => (g(), c(at, {
806
- key: n,
795
+ form: x(() => [r(De) && r(Te) ? (h(), d("div", Tt, [
796
+ r(Ie) ? (h(), d("ul", Et, [(h(!0), d(i, null, C(r(Re), ({ id: t, name: n, description: i, images: a }) => (h(), c(ot, {
797
+ key: t,
807
798
  type: "event",
808
- "listing-id": n,
799
+ "listing-id": t,
809
800
  description: i,
810
- name: r,
801
+ name: n,
811
802
  gallery: a,
812
- "tracking-enabled": t(Z),
803
+ "tracking-enabled": r(X),
813
804
  callback: e
814
805
  }, null, 8, [
815
806
  "listing-id",
@@ -819,33 +810,33 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
819
810
  "tracking-enabled",
820
811
  "callback"
821
812
  ]))), 128))])) : l("", !0),
822
- Be.value.length > 0 && t(Y).length > 0 ? (g(), u("h2", Dt, [s(K, {
813
+ Ve.value.length > 0 && r(J).length > 0 ? (h(), d("h2", Dt, [s(K, {
823
814
  icon: "calendar-clock",
824
815
  type: "fal",
825
816
  color: "header"
826
- }), S("span", null, d(t(m)("event.availableNow")), 1)])) : l("", !0),
827
- S("ul", Ot, [t(oe) && a.onlyShow !== "templates" ? (g(!0), u(r, { key: 0 }, x(Be.value, (n) => (g(), c(Ye, {
828
- key: n.name,
829
- name: n.name,
830
- events: n.events ?? [],
831
- "tracking-enabled": t(Z),
817
+ }), y("span", null, b(r(f)("event.availableNow")), 1)])) : l("", !0),
818
+ y("ul", Ot, [r(H) && a.onlyShow !== "templates" ? (h(!0), d(i, { key: 0 }, C(Ve.value, (t) => (h(), c(Xe, {
819
+ key: t.name,
820
+ name: t.name,
821
+ events: t.events ?? [],
822
+ "tracking-enabled": r(X),
832
823
  callback: e
833
824
  }, null, 8, [
834
825
  "name",
835
826
  "events",
836
827
  "tracking-enabled",
837
828
  "callback"
838
- ]))), 128)) : l("", !0), t(se) && a.onlyShow !== "events" ? (g(!0), u(r, { key: 1 }, x(t(de), ({ id: n, name: r, fromDate: i, toDate: a, minimumPersonCount: o, fromPrice: s, description: l, images: u }) => (g(), c(ot, {
839
- key: n,
840
- "listing-id": n,
841
- name: r,
829
+ ]))), 128)) : l("", !0), r(W) && a.onlyShow !== "events" ? (h(!0), d(i, { key: 1 }, C(r(_e), ({ id: t, name: n, fromDate: i, toDate: a, minimumPersonCount: o, fromPrice: s, description: l, images: u }) => (h(), c(st, {
830
+ key: t,
831
+ "listing-id": t,
832
+ name: n,
842
833
  images: u,
843
834
  description: l,
844
835
  "from-date": i,
845
836
  "to-date": a,
846
837
  "minimum-person-count": o,
847
838
  fromPrice: s,
848
- "tracking-enabled": t(Z),
839
+ "tracking-enabled": r(X),
849
840
  callback: e
850
841
  }, null, 8, [
851
842
  "listing-id",
@@ -859,15 +850,15 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
859
850
  "tracking-enabled",
860
851
  "callback"
861
852
  ]))), 128)) : l("", !0)]),
862
- t(Y).length > 0 && a.onlyShow !== "templates" ? (g(), u(r, { key: 2 }, [S("h2", kt, [s(K, {
853
+ r(J).length > 0 && a.onlyShow !== "templates" ? (h(), d(i, { key: 2 }, [y("h2", kt, [s(K, {
863
854
  icon: "calendar-circle-exclamation",
864
855
  type: "fal",
865
856
  color: "header"
866
- }), S("span", null, d(t(m)("event.availableLater")), 1)]), S("ul", At, [(g(!0), u(r, null, x(t(Y), (n) => (g(), c(rt, {
867
- key: n.name,
868
- name: n.name,
869
- events: n.events ?? [],
870
- "tracking-enabled": t(Z),
857
+ }), y("span", null, b(r(f)("event.availableLater")), 1)]), y("ul", At, [(h(!0), d(i, null, C(r(J), (t) => (h(), c(it, {
858
+ key: t.name,
859
+ name: t.name,
860
+ events: t.events ?? [],
861
+ "tracking-enabled": r(X),
871
862
  callback: e
872
863
  }, null, 8, [
873
864
  "name",
@@ -875,86 +866,86 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
875
866
  "tracking-enabled",
876
867
  "callback"
877
868
  ]))), 128))])], 64)) : l("", !0),
878
- (!t(oe) && !t(se) || !t(oe) && a.onlyShow === "events" || !t(se) && a.onlyShow === "templates") && !t(Fe) ? (g(), u("div", {
869
+ (!r(H) && !r(W) || !r(H) && a.onlyShow === "events" || !r(W) && a.onlyShow === "templates") && !r(Ie) ? (h(), d("div", {
879
870
  key: 3,
880
871
  class: "konnectio-panel",
881
- innerHTML: t(m)("event.nothingAvailable")
872
+ innerHTML: r(f)("event.nothingAvailable")
882
873
  }, null, 8, jt)) : l("", !0)
883
- ])) : t(De) && t(we) ? (g(), u("div", Mt, [S("span", null, d(t(m)("alert.error.couldntFetchListings")), 1), s(W, {
884
- label: t(m)("general.searchAgain"),
874
+ ])) : r(Oe) && r(Te) ? (h(), d("div", Mt, [y("span", null, b(r(f)("alert.error.couldntFetchListings")), 1), s(B, {
875
+ label: r(f)("general.searchAgain"),
885
876
  "full-width": "",
886
- onClickEvent: i[0] ||= (e) => t(Ke)()
887
- }, null, 8, ["label"])])) : (g(), c(Ie, { key: 2 }))]),
877
+ onClickEvent: t[0] ||= (e) => r(qe)()
878
+ }, null, 8, ["label"])])) : (h(), c(Fe, { key: 2 }))]),
888
879
  _: 2
889
880
  }, 1024)]),
890
- addons: y(({ next: e, prev: n }) => [t(Te) ? (g(), c(bt, {
881
+ addons: x(({ next: e, prev: n }) => [r(Ee) ? (h(), c(bt, {
891
882
  key: 0,
892
- "prev-callback": () => t(Qe)(n)
883
+ "prev-callback": () => r($e)(n)
893
884
  }, {
894
- form: y(() => [S("form", Nt, [
895
- S("h2", null, [S("span", null, d(t(m)("event.selectProducts")), 1)]),
896
- t(J) && t(J).length > 0 ? (g(), u("ul", Pt, [(g(!0), u(r, null, x(t(J), ({ roomGroupId: e, addons: n, adultPerRoom: a }, l) => (g(), u("li", { key: e }, [S("h5", null, [
897
- S("span", null, d(t(m)("booking.reservation.room")) + " #" + d(l + 1), 1),
898
- i[10] ||= o(" (", -1),
885
+ form: x(() => [y("form", Nt, [
886
+ y("h2", null, [y("span", null, b(r(f)("event.selectProducts")), 1)]),
887
+ r(q) && r(q).length > 0 ? (h(), d("ul", Pt, [(h(!0), d(i, null, C(r(q), ({ roomGroupId: e, addons: n, adultPerRoom: a }, l) => (h(), d("li", { key: e }, [y("h5", null, [
888
+ y("span", null, b(r(f)("booking.reservation.room")) + " #" + b(l + 1), 1),
889
+ t[10] ||= o(" (", -1),
899
890
  s(K, {
900
891
  icon: "male",
901
892
  type: "fas",
902
893
  color: "header"
903
894
  }),
904
- o(" " + d(a) + ") ", 1)
905
- ]), S("table", Ft, [
906
- S("thead", null, [S("tr", null, [
907
- S("th", null, [S("span", null, d(t(m)("booking.reservation.addons")), 1)]),
908
- i[11] ||= S("th", { class: "konnectio-event-addons-input" }, null, -1),
909
- S("th", It, [S("span", null, d(t(m)("booking.availability.price")), 1)])
895
+ o(" " + b(a) + ") ", 1)
896
+ ]), y("table", Ft, [
897
+ y("thead", null, [y("tr", null, [
898
+ y("th", null, [y("span", null, b(r(f)("booking.reservation.addons")), 1)]),
899
+ t[11] ||= y("th", { class: "konnectio-event-addons-input" }, null, -1),
900
+ y("th", It, [y("span", null, b(r(f)("booking.availability.price")), 1)])
910
901
  ])]),
911
- S("tbody", null, [(g(!0), u(r, null, x(n, ({ id: n, cardinality: r, name: a, price: o, quantityStrategy: s }) => (g(), u("tr", { key: n }, [
912
- S("td", null, [
913
- S("b", null, d(a), 1),
914
- i[12] ||= S("br", null, null, -1),
915
- S("span", null, d(t(U)(o, t(X))) + " " + d(t(I)(s)), 1)
902
+ y("tbody", null, [(h(!0), d(i, null, C(n, ({ id: n, cardinality: i, name: a, price: o, quantityStrategy: s }) => (h(), d("tr", { key: n }, [
903
+ y("td", null, [
904
+ y("b", null, b(a), 1),
905
+ t[12] ||= y("br", null, null, -1),
906
+ y("span", null, b(r(N)(o, r(Y))) + " " + b(r(de)(s)), 1)
916
907
  ]),
917
- S("td", Lt, [r === t(ue).Mandatory ? (g(), c(H, {
908
+ y("td", Lt, [i === r(ge).Mandatory ? (h(), c(U, {
918
909
  key: 0,
919
910
  "model-value": 1,
920
911
  small: !0,
921
912
  "min-value": 1,
922
913
  "max-value": 1,
923
914
  readonly: ""
924
- })) : (g(), c(H, {
915
+ })) : (h(), c(U, {
925
916
  key: 1,
926
- modelValue: t(T)[`${e}.${n}.${l}`],
927
- "onUpdate:modelValue": (r) => t(T)[`${e}.${n}.${l}`] = r,
917
+ modelValue: r(T)[`${e}.${n}.${l}`],
918
+ "onUpdate:modelValue": (t) => r(T)[`${e}.${n}.${l}`] = t,
928
919
  small: !0,
929
920
  "min-value": 0,
930
- "max-value": t(ee)(r)
921
+ "max-value": r(oe)(i)
931
922
  }, null, 8, [
932
923
  "modelValue",
933
924
  "onUpdate:modelValue",
934
925
  "max-value"
935
926
  ]))]),
936
- S("td", Rt, [S("span", null, d(t(U)(t(Je)(n, e, l), t(X))), 1)])
927
+ y("td", Rt, [y("span", null, b(r(N)(r(Ye)(n, e, l), r(Y))), 1)])
937
928
  ]))), 128))]),
938
- S("tfoot", null, [S("tr", null, [
939
- i[13] ||= S("td", null, null, -1),
940
- i[14] ||= S("td", null, null, -1),
941
- S("td", zt, [S("u", null, [S("span", null, d(t(U)(t(Xe)(e, l), t(X))), 1)])])
929
+ y("tfoot", null, [y("tr", null, [
930
+ t[13] ||= y("td", null, null, -1),
931
+ t[14] ||= y("td", null, null, -1),
932
+ y("td", zt, [y("u", null, [y("span", null, b(r(N)(r(Ze)(e, l), r(Y))), 1)])])
942
933
  ])])
943
934
  ])]))), 128))])) : l("", !0),
944
- t(Se) ? (g(), u("table", Bt, [S("tbody", null, [(g(!0), u(r, null, x(t(q).products, ({ id: e, name: n, price: r, description: i }) => (g(), u("tr", { key: e }, [S("td", Vt, [
945
- S("b", null, [S("span", null, d(t(ne)(n)), 1)]),
946
- i && i !== n ? (g(), u("span", Ht, d(t(ne)(i)), 1)) : l("", !0),
947
- S("u", null, d(t(U)(r, t(X))), 1)
948
- ]), S("td", Ut, [s(H, {
949
- modelValue: t(E)[e],
950
- "onUpdate:modelValue": (n) => t(E)[e] = n,
935
+ r(Ce) ? (h(), d("table", Bt, [y("tbody", null, [(h(!0), d(i, null, C(r(be).products, ({ id: e, name: t, price: n, description: i }) => (h(), d("tr", { key: e }, [y("td", Vt, [
936
+ y("b", null, [y("span", null, b(r(ce)(t)), 1)]),
937
+ i && i !== t ? (h(), d("span", Ht, b(r(ce)(i)), 1)) : l("", !0),
938
+ y("u", null, b(r(N)(n, r(Y))), 1)
939
+ ]), y("td", Ut, [s(U, {
940
+ modelValue: r(E)[e],
941
+ "onUpdate:modelValue": (t) => r(E)[e] = t,
951
942
  small: !0,
952
943
  "min-value": 0
953
944
  }, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : l("", !0)
954
945
  ])]),
955
- navigation: y(() => [s(W, {
956
- label: t(m)("event.startReservation"),
957
- disabled: !t(Me),
946
+ navigation: x(() => [s(B, {
947
+ label: r(f)("event.startReservation"),
948
+ disabled: !r(Me),
958
949
  "full-width": "",
959
950
  onClickEvent: e
960
951
  }, null, 8, [
@@ -964,21 +955,21 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
964
955
  ])]),
965
956
  _: 2
966
957
  }, 1032, ["prev-callback"])) : l("", !0)]),
967
- reservation: y(({ next: e, prev: n }) => [s(bt, {
958
+ reservation: x(({ next: e, prev: n }) => [s(bt, {
968
959
  "show-terms-notice": !0,
969
960
  "show-gift-card": !0,
970
- "prev-callback": () => t(Qe)(n)
961
+ "prev-callback": () => r($e)(n)
971
962
  }, {
972
- form: y(() => [S("form", Wt, [
973
- S("h2", null, [S("span", null, d(t(m)("booking.reservation.detailsTitle")), 1)]),
974
- s(B, {
975
- modelValue: t(A),
976
- "onUpdate:modelValue": i[1] ||= (e) => h(A) ? A.value = e : null,
963
+ form: x(() => [y("form", Wt, [
964
+ y("h2", null, [y("span", null, b(r(f)("booking.reservation.detailsTitle")), 1)]),
965
+ s(V, {
966
+ modelValue: r(A),
967
+ "onUpdate:modelValue": t[1] ||= (e) => p(A) ? A.value = e : null,
977
968
  type: "text",
978
- label: t(m)("booking.reservation.name"),
969
+ label: r(f)("booking.reservation.name"),
979
970
  icon: "user-alt",
980
- placeholder: t(m)("booking.reservation.namePlaceholder"),
981
- error: st("name"),
971
+ placeholder: r(f)("booking.reservation.namePlaceholder"),
972
+ error: $("name"),
982
973
  required: ""
983
974
  }, null, 8, [
984
975
  "modelValue",
@@ -986,16 +977,16 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
986
977
  "placeholder",
987
978
  "error"
988
979
  ]),
989
- s(B, {
990
- modelValue: t(M),
991
- "onUpdate:modelValue": i[2] ||= (e) => h(M) ? M.value = e : null,
992
- label: t(m)("booking.reservation.email"),
980
+ s(V, {
981
+ modelValue: r(F),
982
+ "onUpdate:modelValue": t[2] ||= (e) => p(F) ? F.value = e : null,
983
+ label: r(f)("booking.reservation.email"),
993
984
  type: "email",
994
985
  name: "email",
995
986
  autocomplete: "email",
996
987
  icon: "at",
997
- placeholder: t(m)("booking.reservation.emailPlaceholder"),
998
- error: st("email"),
988
+ placeholder: r(f)("booking.reservation.emailPlaceholder"),
989
+ error: $("email"),
999
990
  required: ""
1000
991
  }, null, 8, [
1001
992
  "modelValue",
@@ -1003,13 +994,13 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
1003
994
  "placeholder",
1004
995
  "error"
1005
996
  ]),
1006
- s(pe, {
1007
- modelValue: t(j),
1008
- "onUpdate:modelValue": i[3] ||= (e) => h(j) ? j.value = e : null,
1009
- label: t(m)("booking.reservation.phone"),
997
+ s(ee, {
998
+ modelValue: r(j),
999
+ "onUpdate:modelValue": t[3] ||= (e) => p(j) ? j.value = e : null,
1000
+ label: r(f)("booking.reservation.phone"),
1010
1001
  icon: "phone-office",
1011
- placeholder: t(m)("booking.reservation.phonePlaceholder"),
1012
- error: st("phone"),
1002
+ placeholder: r(f)("booking.reservation.phonePlaceholder"),
1003
+ error: $("phone"),
1013
1004
  required: ""
1014
1005
  }, null, 8, [
1015
1006
  "modelValue",
@@ -1017,11 +1008,11 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
1017
1008
  "placeholder",
1018
1009
  "error"
1019
1010
  ]),
1020
- t(Ae) ? (g(), c(Ne, {
1011
+ r(je) ? (h(), c(Ne, {
1021
1012
  key: 0,
1022
- modelValue: t(z),
1023
- "onUpdate:modelValue": i[4] ||= (e) => h(z) ? z.value = e : null,
1024
- label: t(m)("event.selectArrivalTime"),
1013
+ modelValue: r(R),
1014
+ "onUpdate:modelValue": t[4] ||= (e) => p(R) ? R.value = e : null,
1015
+ label: r(f)("event.selectArrivalTime"),
1025
1016
  name: "eventTimeTable",
1026
1017
  checkboxes: lt.value,
1027
1018
  required: ""
@@ -1030,59 +1021,59 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
1030
1021
  "label",
1031
1022
  "checkboxes"
1032
1023
  ])) : l("", !0),
1033
- t(Ce) === t(fe).FullDayEvent ? (g(), c(H, {
1024
+ r(we) === r(pe).FullDayEvent ? (h(), c(U, {
1034
1025
  key: 1,
1035
- modelValue: t(D),
1036
- "onUpdate:modelValue": i[5] ||= (e) => h(D) ? D.value = e : null,
1037
- label: t(m)("event.numberOfDays"),
1026
+ modelValue: r(D),
1027
+ "onUpdate:modelValue": t[5] ||= (e) => p(D) ? D.value = e : null,
1028
+ label: r(f)("event.numberOfDays"),
1038
1029
  "min-value": 1,
1039
1030
  required: ""
1040
1031
  }, null, 8, ["modelValue", "label"])) : l("", !0),
1041
- a.showHighChairs === "yes" ? (g(), c(H, {
1032
+ a.showHighChairs === "yes" ? (h(), c(U, {
1042
1033
  key: 2,
1043
- modelValue: t(k),
1044
- "onUpdate:modelValue": i[6] ||= (e) => h(k) ? k.value = e : null,
1045
- label: t(m)("event.numberOfHighChairs"),
1034
+ modelValue: r(k),
1035
+ "onUpdate:modelValue": t[6] ||= (e) => p(k) ? k.value = e : null,
1036
+ label: r(f)("event.numberOfHighChairs"),
1046
1037
  icon: "baby",
1047
1038
  "no-optional-label": !1
1048
1039
  }, null, 8, ["modelValue", "label"])) : l("", !0),
1049
- a.showFlagOnTable === "yes" ? (g(), c(he, {
1040
+ a.showFlagOnTable === "yes" ? (h(), c(ne, {
1050
1041
  key: 3,
1051
- modelValue: t(O),
1052
- "onUpdate:modelValue": i[7] ||= (e) => h(O) ? O.value = e : null,
1053
- label: t(m)("event.flagOnTable")
1042
+ modelValue: r(O),
1043
+ "onUpdate:modelValue": t[7] ||= (e) => p(O) ? O.value = e : null,
1044
+ label: r(f)("event.flagOnTable")
1054
1045
  }, null, 8, ["modelValue", "label"])) : l("", !0),
1055
- a.hideRemarks === "yes" ? l("", !0) : (g(), c(B, {
1046
+ a.hideRemarks === "yes" ? l("", !0) : (h(), c(V, {
1056
1047
  key: 4,
1057
- modelValue: t(L),
1058
- "onUpdate:modelValue": i[8] ||= (e) => h(L) ? L.value = e : null,
1048
+ modelValue: r(L),
1049
+ "onUpdate:modelValue": t[8] ||= (e) => p(L) ? L.value = e : null,
1059
1050
  type: "textarea",
1060
- label: t(m)("booking.reservation.remark"),
1051
+ label: r(f)("booking.reservation.remark"),
1061
1052
  icon: "info-circle",
1062
- placeholder: t(m)("booking.reservation.remarkPlaceholder")
1053
+ placeholder: r(f)("booking.reservation.remarkPlaceholder")
1063
1054
  }, null, 8, [
1064
1055
  "modelValue",
1065
1056
  "label",
1066
1057
  "placeholder"
1067
1058
  ])),
1068
- a.hideAllergies !== "yes" && t(q)?.showAllergyFoodFieldOnline ? (g(), c(B, {
1059
+ a.hideAllergies !== "yes" && r(be)?.showAllergyFoodFieldOnline ? (h(), c(V, {
1069
1060
  key: 5,
1070
- modelValue: t(R),
1071
- "onUpdate:modelValue": i[9] ||= (e) => h(R) ? R.value = e : null,
1061
+ modelValue: r(fe),
1062
+ "onUpdate:modelValue": t[9] ||= (e) => p(fe) ? fe.value = e : null,
1072
1063
  type: "textarea",
1073
- label: t(m)("booking.reservation.allergies"),
1064
+ label: r(f)("booking.reservation.allergies"),
1074
1065
  icon: "allergies",
1075
- placeholder: t(m)("booking.reservation.allergiesPlaceholder")
1066
+ placeholder: r(f)("booking.reservation.allergiesPlaceholder")
1076
1067
  }, null, 8, [
1077
1068
  "modelValue",
1078
1069
  "label",
1079
1070
  "placeholder"
1080
1071
  ])) : l("", !0)
1081
1072
  ])]),
1082
- navigation: y(() => [t(C) ? (g(), c(_e, { key: 0 })) : l("", !0), s(W, {
1083
- label: t(m)("general.confirmReservation"),
1084
- "is-loading": t(Oe) || t(C),
1085
- disabled: !t(ke),
1073
+ navigation: x(() => [r(w) ? (h(), c(re, { key: 0 })) : l("", !0), s(B, {
1074
+ label: r(f)("general.confirmReservation"),
1075
+ "is-loading": r(ke) || r(w),
1076
+ disabled: !r(Ae),
1086
1077
  "full-width": "",
1087
1078
  onClickEvent: (t) => dt(e)
1088
1079
  }, null, 8, [
@@ -1093,20 +1084,19 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
1093
1084
  ])]),
1094
1085
  _: 2
1095
1086
  }, 1032, ["prev-callback"])]),
1096
- payment: y(() => [s(ye)]),
1097
- confirmation: y(() => [s(Pe, { message: t(m)("event.confirmationMessage") }, null, 8, ["message"])]),
1087
+ payment: x(() => [s(ae)]),
1088
+ confirmation: x(() => [s(Pe, { message: r(f)("event.confirmationMessage") }, null, 8, ["message"])]),
1098
1089
  _: 1
1099
1090
  }, 8, ["steps"])]),
1100
1091
  _: 1
1101
1092
  }, 8, ["access-token", "callback"])]),
1102
- fallback: y(() => [s(wt)]),
1093
+ fallback: x(() => [s(wt)]),
1103
1094
  _: 1
1104
1095
  }))]),
1105
1096
  _: 1
1106
1097
  }, 8, ["styling"]));
1107
1098
  }
1108
- }), [["__scopeId", "data-v-a5263005"]]), Kt = D(), qt = E("konnectio-event", Gt, (e) => {
1109
- e.use(j), e.use(T), e.use(Kt), e.use(Me), e.use(ze);
1099
+ }), [["__scopeId", "data-v-a5263005"]]), Kt = T(), qt = w("konnectio-event", Gt, (e) => {
1100
+ e.use(Ve), e.use(S), e.use(Kt), e.use(j), e.use(Re);
1110
1101
  });
1111
- //#endregion
1112
1102
  export { qt as default };