@konnectio/core 4.0.68 → 4.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/{ActionField-_CEmKSlf.js → ActionField-Cvrd0oT4.js} +15 -15
  2. package/dist/ActionField-Cvrd0oT4.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CHDZOB_s.js → AvailabilitySkeleton-C9hYCt8n.js} +7 -7
  4. package/dist/AvailabilitySkeleton-C9hYCt8n.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DjFIhQhI.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js} +378 -377
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js.br +0 -0
  7. package/dist/{CheckoutWindow-BzoYJ5v5.js → CheckoutWindow-Jd7cv0fV.js} +5 -5
  8. package/dist/CheckoutWindow-Jd7cv0fV.js.br +0 -0
  9. package/dist/{ErrorMessage-Cc8QanBP.js → ErrorMessage-CY9XqT_-.js} +4 -4
  10. package/dist/ErrorMessage-CY9XqT_-.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CdmiDieo.js → EventAvailabilityForm-liW326n_.js} +25 -25
  12. package/dist/EventAvailabilityForm-liW326n_.js.br +0 -0
  13. package/dist/{Field-DMMbo6LE.js → Field-DBjYUlqg.js} +9 -9
  14. package/dist/Field-DBjYUlqg.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js} +832 -826
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js.br +0 -0
  17. package/dist/{TermsOfService-YxQsHH5-.js → TermsOfService-DoPiQYS7.js} +6 -6
  18. package/dist/TermsOfService-DoPiQYS7.js.br +0 -0
  19. package/dist/{_-DZrN6t_6.js → _-IWx6O9VX.js} +3 -3
  20. package/dist/{_.vue_vue_type_style_index_0_lang-C4mV4F7L.js → _.vue_vue_type_style_index_0_lang-DGEXmj4f.js} +7 -7
  21. package/dist/_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.br +0 -0
  22. package/dist/_commonjsHelpers-DLzKE872.js +2650 -0
  23. package/dist/_commonjsHelpers-DLzKE872.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-Bgn3HK9h.js → _sentry-release-injection-file-BLCF_5fD.js} +3 -3
  25. package/dist/_sentry-release-injection-file-BLCF_5fD.js.br +0 -0
  26. package/dist/availability.js +21 -22
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +2 -2
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +19 -20
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +23 -24
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +54 -55
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-D-wdGVBh.js → giftCard-gaWxo7v2.js} +15 -15
  37. package/dist/giftCard-gaWxo7v2.js.br +0 -0
  38. package/dist/hotel.js +748 -749
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-D3cbfEtC.js → masonry.plugin-C7YeIXYO.js} +10 -10
  41. package/dist/masonry.plugin-C7YeIXYO.js.br +0 -0
  42. package/dist/{mitt-BWKhoTz3.js → mitt-tOYHzZHa.js} +2 -2
  43. package/dist/mitt-tOYHzZHa.js.br +0 -0
  44. package/dist/polyfill.js +13672 -4661
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-B8UHQIzP.js → style-iCfvULKs.js} +2 -2
  47. package/dist/style-iCfvULKs.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/package.json +1 -1
  51. package/dist/ActionField-_CEmKSlf.js.br +0 -0
  52. package/dist/AvailabilitySkeleton-CHDZOB_s.js.br +0 -0
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DjFIhQhI.js.br +0 -0
  54. package/dist/CheckoutWindow-BzoYJ5v5.js.br +0 -0
  55. package/dist/ErrorMessage-Cc8QanBP.js.br +0 -0
  56. package/dist/EventAvailabilityForm-CdmiDieo.js.br +0 -0
  57. package/dist/Field-DMMbo6LE.js.br +0 -0
  58. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js.br +0 -0
  59. package/dist/TermsOfService-YxQsHH5-.js.br +0 -0
  60. package/dist/_.vue_vue_type_style_index_0_lang-C4mV4F7L.js.br +0 -0
  61. package/dist/_commonjsHelpers-BqFuLgLz.js +0 -25
  62. package/dist/_commonjsHelpers-BqFuLgLz.js.br +0 -0
  63. package/dist/_sentry-release-injection-file-Bgn3HK9h.js.br +0 -0
  64. package/dist/giftCard-D-wdGVBh.js.br +0 -0
  65. package/dist/masonry.plugin-D3cbfEtC.js.br +0 -0
  66. package/dist/mitt-BWKhoTz3.js.br +0 -0
  67. package/dist/sentry-D-KvzqAy.js +0 -1452
  68. package/dist/sentry-D-KvzqAy.js.br +0 -0
  69. package/dist/style-B8UHQIzP.js.br +0 -0
package/dist/gift-card.js CHANGED
@@ -1,18 +1,17 @@
1
- import { d as T, r as Y, c as J, a as i, b as k, w as C, e as l, g as m, f as a, u as e, i as f, n as Q, t as q, h as oe, z as ne, o as ie, S as se, A as I, B as M, F as re, s as de, v as b, p as ue, j as ce, k as pe } from "./_sentry-release-injection-file-Bgn3HK9h.js";
2
- import { u as B, T as me, s as K, c as fe, l as ve, i as be, m as _e } from "./mitt-BWKhoTz3.js";
3
- import { c as he } from "./sentry-D-KvzqAy.js";
4
- import { a as ge, c as S, p as ye, E as ke, _ as x, d as Ce, n as Ve, L as we, T as L, b as $e, C as Fe, m as Ee } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js";
5
- import { G as Pe } from "./style-B8UHQIzP.js";
6
- import { u as D } from "./giftCard-D-wdGVBh.js";
7
- import { _ as Ue } from "./_.vue_vue_type_style_index_0_lang-C4mV4F7L.js";
8
- import { a as Se, C as Te, P as Ae, _ as Ie } from "./CheckoutWindow-BzoYJ5v5.js";
9
- import { F as U } from "./Field-DMMbo6LE.js";
10
- import { E as Me } from "./ErrorMessage-Cc8QanBP.js";
11
- import { S as Le } from "./TermsOfService-YxQsHH5-.js";
1
+ import { d as T, r as Y, c as J, a as i, b as k, w as C, e as l, g as m, f as a, u as e, i as f, n as Q, t as L, h as oe, z as ne, o as ie, S as se, A as I, B as M, F as de, s as re, v as b, p as ue, j as ce, k as pe } from "./_sentry-release-injection-file-BLCF_5fD.js";
2
+ import { u as B, T as me, s as K, c as fe, l as ve, i as be, m as _e } from "./mitt-tOYHzZHa.js";
3
+ import { a as he, d as S, q as ge, E as ye, _ as x, e as ke, o as Ce, L as Ve, T as q, b as we, C as $e, c as Fe, n as Ee } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js";
4
+ import { G as Pe } from "./style-iCfvULKs.js";
5
+ import { u as D } from "./giftCard-gaWxo7v2.js";
6
+ import { _ as Ue } from "./_.vue_vue_type_style_index_0_lang-DGEXmj4f.js";
7
+ import { a as Se, C as Te, P as Ae, _ as Ie } from "./CheckoutWindow-Jd7cv0fV.js";
8
+ import { F as U } from "./Field-DBjYUlqg.js";
9
+ import { E as Me } from "./ErrorMessage-CY9XqT_-.js";
10
+ import { S as qe } from "./TermsOfService-DoPiQYS7.js";
12
11
  (function() {
13
12
  try {
14
- var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, r = new Error().stack;
15
- r && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[r] = "788a2c57-7c62-457c-9ca0-6fc9b5346c2f", d._sentryDebugIdIdentifier = "sentry-dbid-788a2c57-7c62-457c-9ca0-6fc9b5346c2f");
13
+ var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
14
+ d && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[d] = "cc6062d2-cd6a-4f70-bda7-d00872be3ddd", r._sentryDebugIdIdentifier = "sentry-dbid-cc6062d2-cd6a-4f70-bda7-d00872be3ddd");
16
15
  } catch {
17
16
  }
18
17
  })();
@@ -24,7 +23,7 @@ import { S as Le } from "./TermsOfService-YxQsHH5-.js";
24
23
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
25
24
  );
26
25
  }
27
- const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-selector-wrapper" }, Re = { class: "media-selector-tools" }, De = { key: 0 }, xe = { key: 1 }, He = { key: 2 }, je = ["src"], Ne = /* @__PURE__ */ T({
26
+ const Le = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-selector-wrapper" }, Re = { class: "media-selector-tools" }, De = { key: 0 }, xe = { key: 1 }, He = { key: 2 }, je = ["src"], Ne = /* @__PURE__ */ T({
28
27
  __name: "MediaSelector",
29
28
  props: {
30
29
  modelValue: {},
@@ -34,8 +33,8 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
34
33
  required: { type: Boolean, default: !1 }
35
34
  },
36
35
  emits: ["update:modelValue"],
37
- setup(d, { emit: r }) {
38
- const c = r, o = d, { t: p } = B(), { display: _ } = ge(), v = Y(), h = J(() => o.modelValue.base64 !== "");
36
+ setup(r, { emit: d }) {
37
+ const c = d, o = r, { t: p } = B(), { display: _ } = he(), v = Y(), h = J(() => o.modelValue.base64 !== "");
39
38
  function V(t) {
40
39
  c("update:modelValue", t);
41
40
  }
@@ -66,13 +65,13 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
66
65
  let t;
67
66
  (t = v.value.files) instanceof FileList && j(t[0], V);
68
67
  }
69
- return (t, u) => (i(), k(ye, {
68
+ return (t, u) => (i(), k(ge, {
70
69
  label: t.label,
71
70
  required: t.required,
72
71
  type: "media"
73
72
  }, {
74
73
  default: C(() => [
75
- l("div", qe, [
74
+ l("div", Le, [
76
75
  l("input", {
77
76
  ref_key: "fileInput",
78
77
  ref: v,
@@ -130,9 +129,9 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
130
129
  }, 8, ["label", "required"]));
131
130
  }
132
131
  });
133
- function O(d) {
134
- const r = d;
135
- r.__i18n = r.__i18n || [], r.__i18n.push({
132
+ function O(r) {
133
+ const d = r;
134
+ d.__i18n = d.__i18n || [], d.__i18n.push({
136
135
  locale: "",
137
136
  resource: {
138
137
  da: {
@@ -153,15 +152,15 @@ function O(d) {
153
152
  typeof O == "function" && O(Ne);
154
153
  const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-form" }, Oe = /* @__PURE__ */ T({
155
154
  __name: "GiftCardSkeleton",
156
- setup(d) {
157
- return (r, c) => (i(), m("div", ze, [
155
+ setup(r) {
156
+ return (d, c) => (i(), m("div", ze, [
158
157
  l("div", Ke, [
159
158
  a(U),
160
159
  a(U),
161
160
  a(U),
162
161
  a(U),
163
162
  a(U, { "is-text-area": "" }),
164
- a(ke, { height: "44px" })
163
+ a(ye, { height: "44px" })
165
164
  ])
166
165
  ]));
167
166
  }
@@ -171,8 +170,8 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
171
170
  content: {},
172
171
  buttonLabel: {}
173
172
  },
174
- setup(d) {
175
- const { t: r } = B(), c = Y(!1);
173
+ setup(r) {
174
+ const { t: d } = B(), c = Y(!1);
176
175
  return (o, p) => (i(), m("div", Ye, [
177
176
  a(e(me), {
178
177
  keypath: "general.termsAndConditionsNotice",
@@ -180,7 +179,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
180
179
  scope: "global"
181
180
  }, {
182
181
  button: C(() => [
183
- l("i", null, '"' + q(o.buttonLabel) + '"', 1)
182
+ l("i", null, '"' + L(o.buttonLabel) + '"', 1)
184
183
  ]),
185
184
  terms: C(() => [
186
185
  l("a", {
@@ -188,12 +187,12 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
188
187
  target: "_blank",
189
188
  onClick: p[0] || (p[0] = oe((_) => c.value = !0, ["prevent"]))
190
189
  }, [
191
- l("span", null, q(e(r)("general.termsAndConditions")), 1)
190
+ l("span", null, L(e(d)("general.termsAndConditions")), 1)
192
191
  ])
193
192
  ]),
194
193
  _: 1
195
194
  }),
196
- a(Le, {
195
+ a(qe, {
197
196
  modelValue: c.value,
198
197
  "onUpdate:modelValue": p[1] || (p[1] = (_) => c.value = _),
199
198
  description: o.content
@@ -202,19 +201,19 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
202
201
  }
203
202
  }), Qe = /* @__PURE__ */ x(Je, [["__scopeId", "data-v-f587c956"]]), Xe = /* @__PURE__ */ T({
204
203
  __name: "GiftCard",
205
- setup(d) {
206
- const { t: r } = B(), c = D();
204
+ setup(r) {
205
+ const { t: d } = B(), c = D();
207
206
  return (o, p) => (i(), k(Qe, {
208
207
  content: e(c).termsOfService,
209
- "button-label": e(r)("giftCard.orderGiftCard")
208
+ "button-label": e(d)("giftCard.orderGiftCard")
210
209
  }, null, 8, ["content", "button-label"]));
211
210
  }
212
- }), Ze = (d) => (ue("data-v-278e1031"), d = d(), ce(), d), el = ["data-layout"], ll = { id: "konnectio-gift-card-wrapper" }, tl = { id: "konnectio-gift-card-title" }, al = { id: "konnectio-gift-card-content" }, ol = { id: "konnectio-gift-card-payment" }, nl = ["innerHTML"], il = { key: 0 }, sl = {
211
+ }), Ze = (r) => (ue("data-v-278e1031"), r = r(), ce(), r), el = ["data-layout"], ll = { id: "konnectio-gift-card-wrapper" }, tl = { id: "konnectio-gift-card-title" }, al = { id: "konnectio-gift-card-content" }, ol = { id: "konnectio-gift-card-payment" }, nl = ["innerHTML"], il = { key: 0 }, sl = {
213
212
  key: 0,
214
213
  id: "konnectio-select-place-type"
215
- }, rl = {
214
+ }, dl = {
216
215
  class: /* @__PURE__ */ Q(["konnectio-label", "required"])
217
- }, dl = { id: "konnectio-select-place-type-input" }, ul = ["innerHTML"], cl = {
216
+ }, rl = { id: "konnectio-select-place-type-input" }, ul = ["innerHTML"], cl = {
218
217
  key: 0,
219
218
  id: "konnectio-gift-card-order"
220
219
  }, pl = { class: "konnectio-panel" }, ml = {
@@ -232,10 +231,10 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
232
231
  placeType: {},
233
232
  styling: {}
234
233
  },
235
- setup(d) {
236
- const r = d, c = J(() => ({
234
+ setup(r) {
235
+ const d = r, c = J(() => ({
237
236
  panelMaxWidth: "800px",
238
- ...r.styling
237
+ ...d.styling
239
238
  })), { t: o } = B(), {
240
239
  name: p,
241
240
  email: _,
@@ -254,13 +253,13 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
254
253
  hasFilledForm: P,
255
254
  hasForcedPlaceType: R,
256
255
  isWaitingForResponse: F
257
- } = K(D()), { initialize: X, orderGiftCard: N, fetchMetadata: Z } = D(), { isRecaptchaEnabled: ee, currency: le, hasError: te } = K(Ce());
256
+ } = K(D()), { initialize: X, orderGiftCard: N, fetchMetadata: Z } = D(), { isRecaptchaEnabled: ee, currency: le, hasError: te } = K(ke());
258
257
  return ne(t, () => {
259
258
  $.value = void 0;
260
259
  }), ie(() => {
261
- const E = r.placeType ? parseInt(r.placeType) : void 0;
260
+ const E = d.placeType ? parseInt(d.placeType) : void 0;
262
261
  X(E);
263
- }), (E, s) => (i(), k(Fe, { styling: c.value }, {
262
+ }), (E, s) => (i(), k($e, { styling: c.value }, {
264
263
  default: C(() => [
265
264
  (i(), k(se, null, {
266
265
  default: C(() => [
@@ -281,7 +280,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
281
280
  }, [
282
281
  l("div", ll, [
283
282
  l("h2", tl, [
284
- l("span", null, q(e(o)("giftCard.title")), 1)
283
+ l("span", null, L(e(o)("giftCard.title")), 1)
285
284
  ]),
286
285
  l("div", al, [
287
286
  I(l("div", ol, [
@@ -297,12 +296,12 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
297
296
  l("form", null, [
298
297
  e(R) ? f("", !0) : (i(), m("div", il, [
299
298
  e(g) ? (i(), m("div", sl, [
300
- l("label", rl, [
301
- l("span", null, q(e(o)("giftCard.selectType")), 1)
299
+ l("label", dl, [
300
+ l("span", null, L(e(o)("giftCard.selectType")), 1)
302
301
  ]),
303
- l("div", dl, [
302
+ l("div", rl, [
304
303
  l("ul", null, [
305
- (i(!0), m(re, null, de(e(g), (n, z) => (i(), m("li", { key: z }, [
304
+ (i(!0), m(de, null, re(e(g), (n, z) => (i(), m("li", { key: z }, [
306
305
  a(Te, {
307
306
  modelValue: e(t),
308
307
  "onUpdate:modelValue": s[0] || (s[0] = (ae) => b(t) ? t.value = ae : null),
@@ -313,7 +312,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
313
312
  }, null, 8, ["modelValue", "val", "label"])
314
313
  ]))), 128))
315
314
  ]),
316
- e(g)[e(t)] && e(g)[e(t)].data.length > 1 ? (i(), k(Ve, {
315
+ e(g)[e(t)] && e(g)[e(t)].data.length > 1 ? (i(), k(Ce, {
317
316
  key: 0,
318
317
  modelValue: e($),
319
318
  "onUpdate:modelValue": s[1] || (s[1] = (n) => b($) ? $.value = n : null),
@@ -324,9 +323,9 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
324
323
  required: ""
325
324
  }, null, 8, ["modelValue", "placeholder", "options"])) : f("", !0)
326
325
  ])
327
- ])) : (i(), k(we, { key: 1 }))
326
+ ])) : (i(), k(Ve, { key: 1 }))
328
327
  ])),
329
- a(L, {
328
+ a(q, {
330
329
  modelValue: e(p),
331
330
  "onUpdate:modelValue": s[2] || (s[2] = (n) => b(p) ? p.value = n : null),
332
331
  type: "text",
@@ -337,7 +336,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
337
336
  placeholder: e(o)("giftCard.namePlaceholder"),
338
337
  required: ""
339
338
  }, null, 8, ["modelValue", "label", "placeholder"]),
340
- a(L, {
339
+ a(q, {
341
340
  modelValue: e(_),
342
341
  "onUpdate:modelValue": s[3] || (s[3] = (n) => b(_) ? _.value = n : null),
343
342
  type: "email",
@@ -356,7 +355,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
356
355
  placeholder: e(o)("giftCard.phonePlaceholder"),
357
356
  required: ""
358
357
  }, null, 8, ["modelValue", "label", "placeholder"]),
359
- a(L, {
358
+ a(q, {
360
359
  modelValue: e(h),
361
360
  "onUpdate:modelValue": s[5] || (s[5] = (n) => b(h) ? h.value = n : null),
362
361
  type: "number",
@@ -369,7 +368,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
369
368
  }, null, 8, ["modelValue", "label", "placeholder", "suffix"]),
370
369
  f("", !0),
371
370
  f("", !0),
372
- a($e, {
371
+ a(we, {
373
372
  modelValue: e(w),
374
373
  "onUpdate:modelValue": s[8] || (s[8] = (n) => b(w) ? w.value = n : null),
375
374
  label: e(o)("giftCard.quantity"),
@@ -401,7 +400,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
401
400
  ])
402
401
  ])) : f("", !0),
403
402
  e(u) ? (i(), m("div", ml, [
404
- a(L, {
403
+ a(q, {
405
404
  modelValue: e(V),
406
405
  "onUpdate:modelValue": s[10] || (s[10] = (n) => b(V) ? V.value = n : null),
407
406
  type: "textarea",
@@ -456,8 +455,8 @@ class yl extends HTMLElement {
456
455
  this.vueApp.unmount();
457
456
  }
458
457
  connectedCallback() {
459
- const r = ve(W, this.attributes);
460
- this.vueApp = pe(W, r), he(this.vueApp), this.vueApp.provide("emitter", gl), this.vueApp.use(hl), this.vueApp.use(be), this.vueApp.use(Pe), this.vueApp.use(Ee, { bootstrap: !0 });
458
+ const d = ve(W, this.attributes);
459
+ this.vueApp = pe(W, d), Fe(this.vueApp), this.vueApp.provide("emitter", gl), this.vueApp.use(hl), this.vueApp.use(be), this.vueApp.use(Pe), this.vueApp.use(Ee, { bootstrap: !0 });
461
460
  const c = document.createElement("div");
462
461
  this.vueApp.mount(c), this.appendChild(c.children[0]);
463
462
  }
Binary file
@@ -1,27 +1,27 @@
1
- import { r as H, a as J, d as A, G as o, t as S, S as k, v as O, o as x, w as Q } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js";
2
- import { d as X, s as Y, a as P } from "./mitt-BWKhoTz3.js";
3
- import { r as t, c as a } from "./_sentry-release-injection-file-Bgn3HK9h.js";
1
+ import { t as H, a as J, e as A, G as o, v as b, S as k, w as O, p as x, x as Q } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js";
2
+ import { d as X, s as Y, a as P } from "./mitt-tOYHzZHa.js";
3
+ import { r as t, c as a } from "./_sentry-release-injection-file-BLCF_5fD.js";
4
4
  (function() {
5
5
  try {
6
6
  var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, c = new Error().stack;
7
- c && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[c] = "20ccc654-5baf-4857-b773-9469a0a79b74", r._sentryDebugIdIdentifier = "sentry-dbid-20ccc654-5baf-4857-b773-9469a0a79b74");
7
+ c && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[c] = "3da52fa2-86af-46d0-ab79-060d55c767d4", r._sentryDebugIdIdentifier = "sentry-dbid-3da52fa2-86af-46d0-ab79-060d55c767d4");
8
8
  } catch {
9
9
  }
10
10
  })();
11
11
  {
12
- var v = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
13
- v._sentryModuleMetadata = v._sentryModuleMetadata || {}, v._sentryModuleMetadata[new Error().stack] = Object.assign(
12
+ var f = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
13
+ f._sentryModuleMetadata = f._sentryModuleMetadata || {}, f._sentryModuleMetadata[new Error().stack] = Object.assign(
14
14
  {},
15
- v._sentryModuleMetadata[new Error().stack],
15
+ f._sentryModuleMetadata[new Error().stack],
16
16
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
17
17
  );
18
18
  }
19
19
  const te = X("giftCard", () => {
20
- const { pay: r } = H(), { display: c } = J(), { bearerToken: f, metaData: I, currencyId: j, hasError: T } = Y(A()), F = A(), n = t(o.InitialState), p = S("konnectio_name", "", void 0, { serializer: k.string }), g = S("konnectio_email", "", void 0, { serializer: k.string }), y = S("konnectio_phone", "", void 0, { serializer: k.string }), m = t(""), _ = t(1), C = t(!0), D = t(""), u = t({
20
+ const { pay: r } = H(), { display: c } = J(), { bearerToken: v, metaData: I, currencyId: j, hasError: T } = Y(A()), F = A(), n = t(o.InitialState), p = b("konnectio_name", "", void 0, { serializer: k.string }), g = b("konnectio_email", "", void 0, { serializer: k.string }), y = b("konnectio_phone", "", void 0, { serializer: k.string }), m = t(""), _ = t(1), C = t(!0), D = t(""), u = t({
21
21
  base64: "",
22
22
  type: "",
23
23
  name: ""
24
- }), E = t(void 0), h = t(0), d = t(!1), w = t(0), M = a(() => F.hasMetadata ? F.metaData.hotels[0] : {}), U = a(() => M.value.termsOfService ? M.value.termsOfService : ""), W = a(() => n.value === o.InitialState || n.value === o.WaitingForResponse), L = a(() => n.value === o.ReadyToPay), q = a(() => n.value === o.PaymentSuccess), b = a(() => {
24
+ }), E = t(void 0), h = t(0), d = t(!1), w = t(0), M = a(() => F.hasMetadata ? F.metaData.hotels[0] : {}), U = a(() => M.value.termsOfService ? M.value.termsOfService : ""), W = a(() => n.value === o.InitialState || n.value === o.WaitingForResponse), L = a(() => n.value === o.ReadyToPay), q = a(() => n.value === o.PaymentSuccess), S = a(() => {
25
25
  const e = {
26
26
  1: {
27
27
  label: P.t("giftCard.hotelType"),
@@ -40,9 +40,9 @@ const te = X("giftCard", () => {
40
40
  }), R = a(() => w.value !== 0), i = a(() => {
41
41
  let e;
42
42
  if (R.value)
43
- e = b.value[w.value].data[0];
43
+ e = S.value[w.value].data[0];
44
44
  else if (h.value !== 0) {
45
- const l = E.value, s = b.value[h.value].data;
45
+ const l = E.value, s = S.value[h.value].data;
46
46
  s.length === 1 ? e = s[0] : l !== void 0 && s.forEach((z) => {
47
47
  String(z.id) === String(l) && (e = z);
48
48
  });
@@ -56,7 +56,7 @@ const te = X("giftCard", () => {
56
56
  language: x()
57
57
  },
58
58
  headers: {
59
- Authorization: f.value,
59
+ Authorization: v.value,
60
60
  Accept: "application/json"
61
61
  }
62
62
  })).data;
@@ -88,7 +88,7 @@ const te = X("giftCard", () => {
88
88
  placeID: i.value ? i.value.id : void 0
89
89
  }, {
90
90
  headers: {
91
- Authorization: f.value,
91
+ Authorization: v.value,
92
92
  Accept: "application/json"
93
93
  }
94
94
  }).then((e) => {
@@ -117,7 +117,7 @@ const te = X("giftCard", () => {
117
117
  showFormPage: W,
118
118
  showPaymentPage: L,
119
119
  showConfirmationPage: q,
120
- places: b,
120
+ places: S,
121
121
  hasFilledForm: B,
122
122
  hasForcedPlaceType: R,
123
123
  isWaitingForResponse: N,
@@ -131,4 +131,4 @@ const te = X("giftCard", () => {
131
131
  export {
132
132
  te as u
133
133
  };
134
- //# sourceMappingURL=giftCard-D-wdGVBh.js.map
134
+ //# sourceMappingURL=giftCard-gaWxo7v2.js.map
Binary file