@konnectio/core 4.2.36 → 4.3.1

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 (91) hide show
  1. package/dist/{ActionField-BcrrcZZB.js → ActionField-NdulJ0sj.js} +2 -2
  2. package/dist/ActionField-NdulJ0sj.js.br +0 -0
  3. package/dist/ActionField-NdulJ0sj.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-D9AU4ixh.js → AvailabilitySkeleton-BlugWG0g.js} +5 -5
  5. package/dist/AvailabilitySkeleton-BlugWG0g.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-BlugWG0g.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js} +2 -2
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js.gz +0 -0
  10. package/dist/{CheckoutWindow-DWFK2IZh.js → CheckoutWindow-CdAiqIDw.js} +2 -2
  11. package/dist/CheckoutWindow-CdAiqIDw.js.br +0 -0
  12. package/dist/CheckoutWindow-CdAiqIDw.js.gz +0 -0
  13. package/dist/{ErrorMessage-C1YWACa7.js → ErrorMessage-C8HsnG1r.js} +2 -2
  14. package/dist/ErrorMessage-C8HsnG1r.js.br +0 -0
  15. package/dist/ErrorMessage-C8HsnG1r.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-CDMjMdcO.js → EventAvailabilityForm-78aeZEOH.js} +3 -3
  17. package/dist/EventAvailabilityForm-78aeZEOH.js.br +0 -0
  18. package/dist/EventAvailabilityForm-78aeZEOH.js.gz +0 -0
  19. package/dist/{Field-CMaYNFTv.js → Field-BxSrgrQ5.js} +3 -3
  20. package/dist/Field-BxSrgrQ5.js.br +0 -0
  21. package/dist/Field-BxSrgrQ5.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js} +2 -2
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js → SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js} +90 -90
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js.gz +0 -0
  28. package/dist/{TermsOfService-BfaRso6d.js → TermsOfService-Bfud-yjT.js} +3 -3
  29. package/dist/TermsOfService-Bfud-yjT.js.br +0 -0
  30. package/dist/TermsOfService-Bfud-yjT.js.gz +0 -0
  31. package/dist/_-COCg3q6j.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-Vlaciaq-.js → _.vue_vue_type_style_index_0_lang-CPvUCrel.js} +2 -2
  33. package/dist/_.vue_vue_type_style_index_0_lang-CPvUCrel.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-CPvUCrel.js.gz +0 -0
  35. package/dist/availability.js +32 -29
  36. package/dist/availability.js.br +0 -0
  37. package/dist/availability.js.gz +0 -0
  38. package/dist/cancel-reservation.js +3 -3
  39. package/dist/cancel-reservation.js.br +0 -0
  40. package/dist/cancel-reservation.js.gz +0 -0
  41. package/dist/event.js +190 -187
  42. package/dist/event.js.br +0 -0
  43. package/dist/event.js.gz +0 -0
  44. package/dist/gift-card-validation.js +7 -7
  45. package/dist/gift-card-validation.js.br +0 -0
  46. package/dist/gift-card-validation.js.gz +0 -0
  47. package/dist/gift-card.js +79 -76
  48. package/dist/gift-card.js.br +0 -0
  49. package/dist/gift-card.js.gz +0 -0
  50. package/dist/{giftCard-CDAm25oD.js → giftCard-DpJ3HhSP.js} +2 -2
  51. package/dist/giftCard-DpJ3HhSP.js.br +0 -0
  52. package/dist/giftCard-DpJ3HhSP.js.gz +0 -0
  53. package/dist/hotel.js +2686 -3241
  54. package/dist/hotel.js.br +0 -0
  55. package/dist/hotel.js.gz +0 -0
  56. package/dist/index-BZyqtOJw.js +560 -0
  57. package/dist/index-BZyqtOJw.js.br +0 -0
  58. package/dist/index-BZyqtOJw.js.gz +0 -0
  59. package/dist/{masonry.plugin-85XDu7Qy.js → masonry.plugin-CPn7JWhD.js} +5 -5
  60. package/dist/masonry.plugin-CPn7JWhD.js.br +0 -0
  61. package/dist/{masonry.plugin-85XDu7Qy.js.gz → masonry.plugin-CPn7JWhD.js.gz} +0 -0
  62. package/dist/polyfill.js +1 -1
  63. package/dist/polyfill.js.br +0 -0
  64. package/dist/polyfill.js.gz +0 -0
  65. package/package.json +1 -1
  66. package/dist/ActionField-BcrrcZZB.js.br +0 -0
  67. package/dist/ActionField-BcrrcZZB.js.gz +0 -0
  68. package/dist/AvailabilitySkeleton-D9AU4ixh.js.br +0 -0
  69. package/dist/AvailabilitySkeleton-D9AU4ixh.js.gz +0 -0
  70. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js.br +0 -0
  71. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js.gz +0 -0
  72. package/dist/CheckoutWindow-DWFK2IZh.js.br +0 -0
  73. package/dist/CheckoutWindow-DWFK2IZh.js.gz +0 -0
  74. package/dist/ErrorMessage-C1YWACa7.js.br +0 -0
  75. package/dist/ErrorMessage-C1YWACa7.js.gz +0 -0
  76. package/dist/EventAvailabilityForm-CDMjMdcO.js.br +0 -0
  77. package/dist/EventAvailabilityForm-CDMjMdcO.js.gz +0 -0
  78. package/dist/Field-CMaYNFTv.js.br +0 -0
  79. package/dist/Field-CMaYNFTv.js.gz +0 -0
  80. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js.br +0 -0
  81. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js.gz +0 -0
  82. package/dist/SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js.br +0 -0
  83. package/dist/SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js.gz +0 -0
  84. package/dist/TermsOfService-BfaRso6d.js.br +0 -0
  85. package/dist/TermsOfService-BfaRso6d.js.gz +0 -0
  86. package/dist/_-Bu1sX50B.js +0 -5
  87. package/dist/_.vue_vue_type_style_index_0_lang-Vlaciaq-.js.br +0 -0
  88. package/dist/_.vue_vue_type_style_index_0_lang-Vlaciaq-.js.gz +0 -0
  89. package/dist/giftCard-CDAm25oD.js.br +0 -0
  90. package/dist/giftCard-CDAm25oD.js.gz +0 -0
  91. package/dist/masonry.plugin-85XDu7Qy.js.br +0 -0
package/dist/hotel.js.br CHANGED
Binary file
package/dist/hotel.js.gz CHANGED
Binary file
@@ -0,0 +1,560 @@
1
+ import { g as U } from "./_commonjsHelpers-DaMA6jEr.js";
2
+ var b = { exports: {} }, S = { exports: {} }, V = S.exports, x;
3
+ function j() {
4
+ return x || (x = 1, function(e, t) {
5
+ (function(o, r) {
6
+ e.exports = r();
7
+ })(V, function() {
8
+ function o(a) {
9
+ return !isNaN(parseFloat(a)) && isFinite(a);
10
+ }
11
+ function r(a) {
12
+ return a.charAt(0).toUpperCase() + a.substring(1);
13
+ }
14
+ function s(a) {
15
+ return function() {
16
+ return this[a];
17
+ };
18
+ }
19
+ var f = ["isConstructor", "isEval", "isNative", "isToplevel"], d = ["columnNumber", "lineNumber"], l = ["fileName", "functionName", "source"], i = ["args"], g = ["evalOrigin"], n = f.concat(d, l, i, g);
20
+ function c(a) {
21
+ if (a)
22
+ for (var p = 0; p < n.length; p++)
23
+ a[n[p]] !== void 0 && this["set" + r(n[p])](a[n[p]]);
24
+ }
25
+ c.prototype = {
26
+ getArgs: function() {
27
+ return this.args;
28
+ },
29
+ setArgs: function(a) {
30
+ if (Object.prototype.toString.call(a) !== "[object Array]")
31
+ throw new TypeError("Args must be an Array");
32
+ this.args = a;
33
+ },
34
+ getEvalOrigin: function() {
35
+ return this.evalOrigin;
36
+ },
37
+ setEvalOrigin: function(a) {
38
+ if (a instanceof c)
39
+ this.evalOrigin = a;
40
+ else if (a instanceof Object)
41
+ this.evalOrigin = new c(a);
42
+ else
43
+ throw new TypeError("Eval Origin must be an Object or StackFrame");
44
+ },
45
+ toString: function() {
46
+ var a = this.getFileName() || "", p = this.getLineNumber() || "", v = this.getColumnNumber() || "", E = this.getFunctionName() || "";
47
+ return this.getIsEval() ? a ? "[eval] (" + a + ":" + p + ":" + v + ")" : "[eval]:" + p + ":" + v : E ? E + " (" + a + ":" + p + ":" + v + ")" : a + ":" + p + ":" + v;
48
+ }
49
+ }, c.fromString = function(p) {
50
+ var v = p.indexOf("("), E = p.lastIndexOf(")"), F = p.substring(0, v), A = p.substring(v + 1, E).split(","), k = p.substring(E + 1);
51
+ if (k.indexOf("@") === 0)
52
+ var y = /@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(k, ""), I = y[1], T = y[2], q = y[3];
53
+ return new c({
54
+ functionName: F,
55
+ args: A || void 0,
56
+ fileName: I,
57
+ lineNumber: T || void 0,
58
+ columnNumber: q || void 0
59
+ });
60
+ };
61
+ for (var u = 0; u < f.length; u++)
62
+ c.prototype["get" + r(f[u])] = s(f[u]), c.prototype["set" + r(f[u])] = /* @__PURE__ */ function(a) {
63
+ return function(p) {
64
+ this[a] = !!p;
65
+ };
66
+ }(f[u]);
67
+ for (var m = 0; m < d.length; m++)
68
+ c.prototype["get" + r(d[m])] = s(d[m]), c.prototype["set" + r(d[m])] = /* @__PURE__ */ function(a) {
69
+ return function(p) {
70
+ if (!o(p))
71
+ throw new TypeError(a + " must be a Number");
72
+ this[a] = Number(p);
73
+ };
74
+ }(d[m]);
75
+ for (var h = 0; h < l.length; h++)
76
+ c.prototype["get" + r(l[h])] = s(l[h]), c.prototype["set" + r(l[h])] = /* @__PURE__ */ function(a) {
77
+ return function(p) {
78
+ this[a] = String(p);
79
+ };
80
+ }(l[h]);
81
+ return c;
82
+ });
83
+ }(S)), S.exports;
84
+ }
85
+ var J = b.exports, P;
86
+ function G() {
87
+ return P || (P = 1, function(e, t) {
88
+ (function(o, r) {
89
+ e.exports = r(j());
90
+ })(J, function(r) {
91
+ var s = /(^|@)\S+:\d+/, f = /^\s*at .*(\S+:\d+|\(native\))/m, d = /^(eval@)?(\[native code])?$/;
92
+ return {
93
+ /**
94
+ * Given an Error object, extract the most information from it.
95
+ *
96
+ * @param {Error} error object
97
+ * @return {Array} of StackFrames
98
+ */
99
+ parse: function(i) {
100
+ if (typeof i.stacktrace < "u" || typeof i["opera#sourceloc"] < "u")
101
+ return this.parseOpera(i);
102
+ if (i.stack && i.stack.match(f))
103
+ return this.parseV8OrIE(i);
104
+ if (i.stack)
105
+ return this.parseFFOrSafari(i);
106
+ throw new Error("Cannot parse given Error object");
107
+ },
108
+ // Separate line and column numbers from a string of the form: (URI:Line:Column)
109
+ extractLocation: function(i) {
110
+ if (i.indexOf(":") === -1)
111
+ return [i];
112
+ var g = /(.+?)(?::(\d+))?(?::(\d+))?$/, n = g.exec(i.replace(/[()]/g, ""));
113
+ return [n[1], n[2] || void 0, n[3] || void 0];
114
+ },
115
+ parseV8OrIE: function(i) {
116
+ var g = i.stack.split(`
117
+ `).filter(function(n) {
118
+ return !!n.match(f);
119
+ }, this);
120
+ return g.map(function(n) {
121
+ n.indexOf("(eval ") > -1 && (n = n.replace(/eval code/g, "eval").replace(/(\(eval at [^()]*)|(,.*$)/g, ""));
122
+ var c = n.replace(/^\s+/, "").replace(/\(eval code/g, "(").replace(/^.*?\s+/, ""), u = c.match(/ (\(.+\)$)/);
123
+ c = u ? c.replace(u[0], "") : c;
124
+ var m = this.extractLocation(u ? u[1] : c), h = u && c || void 0, a = ["eval", "<anonymous>"].indexOf(m[0]) > -1 ? void 0 : m[0];
125
+ return new r({
126
+ functionName: h,
127
+ fileName: a,
128
+ lineNumber: m[1],
129
+ columnNumber: m[2],
130
+ source: n
131
+ });
132
+ }, this);
133
+ },
134
+ parseFFOrSafari: function(i) {
135
+ var g = i.stack.split(`
136
+ `).filter(function(n) {
137
+ return !n.match(d);
138
+ }, this);
139
+ return g.map(function(n) {
140
+ if (n.indexOf(" > eval") > -1 && (n = n.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g, ":$1")), n.indexOf("@") === -1 && n.indexOf(":") === -1)
141
+ return new r({
142
+ functionName: n
143
+ });
144
+ var c = /((.*".+"[^@]*)?[^@]*)(?:@)/, u = n.match(c), m = u && u[1] ? u[1] : void 0, h = this.extractLocation(n.replace(c, ""));
145
+ return new r({
146
+ functionName: m,
147
+ fileName: h[0],
148
+ lineNumber: h[1],
149
+ columnNumber: h[2],
150
+ source: n
151
+ });
152
+ }, this);
153
+ },
154
+ parseOpera: function(i) {
155
+ return !i.stacktrace || i.message.indexOf(`
156
+ `) > -1 && i.message.split(`
157
+ `).length > i.stacktrace.split(`
158
+ `).length ? this.parseOpera9(i) : i.stack ? this.parseOpera11(i) : this.parseOpera10(i);
159
+ },
160
+ parseOpera9: function(i) {
161
+ for (var g = /Line (\d+).*script (?:in )?(\S+)/i, n = i.message.split(`
162
+ `), c = [], u = 2, m = n.length; u < m; u += 2) {
163
+ var h = g.exec(n[u]);
164
+ h && c.push(new r({
165
+ fileName: h[2],
166
+ lineNumber: h[1],
167
+ source: n[u]
168
+ }));
169
+ }
170
+ return c;
171
+ },
172
+ parseOpera10: function(i) {
173
+ for (var g = /Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i, n = i.stacktrace.split(`
174
+ `), c = [], u = 0, m = n.length; u < m; u += 2) {
175
+ var h = g.exec(n[u]);
176
+ h && c.push(
177
+ new r({
178
+ functionName: h[3] || void 0,
179
+ fileName: h[2],
180
+ lineNumber: h[1],
181
+ source: n[u]
182
+ })
183
+ );
184
+ }
185
+ return c;
186
+ },
187
+ // Opera 10.65+ Error.stack very similar to FF/Safari
188
+ parseOpera11: function(i) {
189
+ var g = i.stack.split(`
190
+ `).filter(function(n) {
191
+ return !!n.match(s) && !n.match(/^Error created at/);
192
+ }, this);
193
+ return g.map(function(n) {
194
+ var c = n.split("@"), u = this.extractLocation(c.pop()), m = c.shift() || "", h = m.replace(/<anonymous function(: (\w+))?>/, "$2").replace(/\([^)]*\)/g, "") || void 0, a;
195
+ m.match(/\(([^)]*)\)/) && (a = m.replace(/^[^(]+\(([^)]*)\)$/, "$1"));
196
+ var p = a === void 0 || a === "[arguments not available]" ? void 0 : a.split(",");
197
+ return new r({
198
+ functionName: h,
199
+ args: p,
200
+ fileName: u[0],
201
+ lineNumber: u[1],
202
+ columnNumber: u[2],
203
+ source: n
204
+ });
205
+ }, this);
206
+ }
207
+ };
208
+ });
209
+ }(b)), b.exports;
210
+ }
211
+ var X = G();
212
+ const H = /* @__PURE__ */ U(X);
213
+ var N = '"1.1.0"', M = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", B = '"4.3.1"';
214
+ function w(e, t, o) {
215
+ return o && !e && console.error(`Flare JavaScript client v${N}: ${t}`), !!e;
216
+ }
217
+ function D(e, t) {
218
+ return w(
219
+ e,
220
+ "The client was not yet initialised with an API key. Run client.light('<flare-project-key>') when you initialise your app. If you are running in dev mode and didn't run the light command on purpose, you can ignore this error.",
221
+ t
222
+ );
223
+ }
224
+ function K(e, t) {
225
+ return w("canSolve" in e, "A solution provider without a [canSolve] property was added.", t) && w(
226
+ "getSolutions" in e,
227
+ "A solution provider without a [getSolutions] property was added.",
228
+ t
229
+ );
230
+ }
231
+ function L(e) {
232
+ let t = [];
233
+ const o = JSON.stringify(e, function(r, s) {
234
+ if (typeof s == "object" && s !== null) {
235
+ if (t.indexOf(s) !== -1)
236
+ try {
237
+ return JSON.parse(JSON.stringify(s));
238
+ } catch {
239
+ return;
240
+ }
241
+ t.push(s);
242
+ }
243
+ return s;
244
+ });
245
+ return t = null, o;
246
+ }
247
+ function z(e) {
248
+ return e.reduce((t, o) => t.concat(o), []);
249
+ }
250
+ function O() {
251
+ return Math.round(Date.now() / 1e3);
252
+ }
253
+ var W = class {
254
+ report(e, t, o, r) {
255
+ return fetch(t, {
256
+ method: "POST",
257
+ headers: {
258
+ "Content-Type": "application/json",
259
+ "X-Api-Token": o ?? "",
260
+ "X-Requested-With": "XMLHttpRequest",
261
+ "X-Report-Browser-Extension-Errors": JSON.stringify(r)
262
+ },
263
+ body: L({
264
+ ...e,
265
+ key: o
266
+ })
267
+ }).then(
268
+ (s) => {
269
+ s.status !== 204 && console.error(`Received response with status ${s.status} from Flare`);
270
+ },
271
+ (s) => console.error(s)
272
+ );
273
+ }
274
+ };
275
+ function Y() {
276
+ return window.document.cookie ? {
277
+ cookies: window.document.cookie.split("; ").reduce(
278
+ (e, t) => {
279
+ const [o, r] = t.split(/=/);
280
+ return e[o] = r, e;
281
+ },
282
+ {}
283
+ )
284
+ } : {};
285
+ }
286
+ function Z() {
287
+ return {
288
+ request: {
289
+ url: window.document.location.href,
290
+ useragent: window.navigator.userAgent,
291
+ referrer: window.document.referrer,
292
+ readyState: window.document.readyState
293
+ }
294
+ };
295
+ }
296
+ function Q() {
297
+ if (!window.location.search)
298
+ return {};
299
+ const e = {};
300
+ return new URLSearchParams(window.location.search).forEach((t, o) => {
301
+ e[o] = t;
302
+ }), { request_data: { queryString: e } };
303
+ }
304
+ function $(e) {
305
+ return typeof window > "u" ? e : {
306
+ ...Y(),
307
+ ...Z(),
308
+ ...Q(),
309
+ ...e
310
+ };
311
+ }
312
+ function ee(e, t, o = {}) {
313
+ return new Promise((r) => {
314
+ const s = e.reduce(
315
+ (f, d) => (f.push(Promise.resolve(d.canSolve(t, o))), f),
316
+ []
317
+ );
318
+ Promise.all(s).then((f) => {
319
+ const d = [];
320
+ f.forEach((l, i) => {
321
+ l && d.push(
322
+ Promise.resolve(e[i].getSolutions(t, o))
323
+ );
324
+ }), Promise.all(d).then((l) => {
325
+ r(z(l));
326
+ });
327
+ });
328
+ });
329
+ }
330
+ var _ = {};
331
+ function re(e, t, o) {
332
+ return new Promise((r) => {
333
+ if (!e || !t)
334
+ return r({
335
+ codeSnippet: {
336
+ 0: `Could not read from file: missing file URL or line number. URL: ${e} lineNumber: ${t}`
337
+ },
338
+ trimmedColumnNumber: null
339
+ });
340
+ te(e).then((s) => r(s ? ne(s, t, o) : {
341
+ codeSnippet: {
342
+ 0: `Could not read from file: Error while opening file at URL ${e}`
343
+ },
344
+ trimmedColumnNumber: null
345
+ }));
346
+ });
347
+ }
348
+ function te(e) {
349
+ return _[e] ? Promise.resolve(_[e]) : fetch(e).then((t) => t.status !== 200 ? null : t.text()).catch(() => null);
350
+ }
351
+ function ne(e, t, o, r = 1e3, s = 40) {
352
+ const f = {};
353
+ let d = null;
354
+ const l = e.split(`
355
+ `);
356
+ for (let i = -s / 2; i <= s / 2; i++) {
357
+ const g = t + i;
358
+ if (g >= 0 && l[g]) {
359
+ const n = g + 1;
360
+ if (l[g].length > r) {
361
+ if (o && o + r / 2 > r) {
362
+ f[n] = l[g].substr(
363
+ o - Math.round(r / 2),
364
+ r
365
+ ), n === t && (d = Math.round(r / 2));
366
+ continue;
367
+ }
368
+ f[n] = l[g].substr(0, r) + "…";
369
+ continue;
370
+ }
371
+ f[n] = l[g];
372
+ }
373
+ }
374
+ return { codeSnippet: f, trimmedColumnNumber: d };
375
+ }
376
+ function R(e, t) {
377
+ return new Promise((o) => {
378
+ if (!oe(e))
379
+ return w(!1, "Couldn't generate stacktrace of below error:", t), t && console.error(e), o([
380
+ {
381
+ line_number: 0,
382
+ column_number: 0,
383
+ method: "unknown",
384
+ file: "unknown",
385
+ code_snippet: {
386
+ 0: "Could not read from file: stacktrace missing"
387
+ },
388
+ trimmed_column_number: null,
389
+ class: "unknown"
390
+ }
391
+ ]);
392
+ Promise.all(
393
+ H.parse(e).map((r) => new Promise((s) => {
394
+ re(r.fileName, r.lineNumber, r.columnNumber).then((f) => {
395
+ s({
396
+ line_number: r.lineNumber || 1,
397
+ column_number: r.columnNumber || 1,
398
+ method: r.functionName || "Anonymous or unknown function",
399
+ file: r.fileName || "Unknown file",
400
+ code_snippet: f.codeSnippet,
401
+ trimmed_column_number: f.trimmedColumnNumber,
402
+ class: ""
403
+ });
404
+ });
405
+ }))
406
+ ).then(o);
407
+ });
408
+ }
409
+ function oe(e) {
410
+ return !!e && (!!e.stack || !!e.stacktrace || !!e["opera#sourceloc"]) && typeof (e.stack || e.stacktrace || e["opera#sourceloc"]) == "string" && e.stack !== `${e.name}: ${e.message}`;
411
+ }
412
+ var ie = class {
413
+ constructor(e = new W()) {
414
+ this.api = e, this.config = {
415
+ key: null,
416
+ version: N,
417
+ sourcemapVersion: B,
418
+ stage: "",
419
+ maxGlowsPerReport: 30,
420
+ reportingUrl: "https://reporting.flareapp.io/api/reports",
421
+ reportBrowserExtensionErrors: !1,
422
+ debug: !1,
423
+ beforeEvaluate: (t) => t,
424
+ beforeSubmit: (t) => t
425
+ }, this.glows = [], this.context = { context: {} }, this.solutionProviders = [];
426
+ }
427
+ light(e = M, t = !1) {
428
+ return this.config.key = e, this.config.debug = t, this;
429
+ }
430
+ configure(e) {
431
+ return this.config = { ...this.config, ...e }, this;
432
+ }
433
+ test() {
434
+ return this.report(new Error("The Flare client is set up correctly!"));
435
+ }
436
+ glow(e, t = "info", o = []) {
437
+ const r = O();
438
+ return this.glows.push({
439
+ name: e,
440
+ message_level: t,
441
+ meta_data: o,
442
+ time: r,
443
+ microtime: r
444
+ }), this.glows.length > this.config.maxGlowsPerReport && (this.glows = this.glows.slice(this.glows.length - this.config.maxGlowsPerReport)), this;
445
+ }
446
+ clearGlows() {
447
+ return this.glows = [], this;
448
+ }
449
+ addContext(e, t) {
450
+ return this.context.context[e] = t, this;
451
+ }
452
+ addContextGroup(e, t) {
453
+ return this.context[e] = t, this;
454
+ }
455
+ registerSolutionProvider(e) {
456
+ return K(e, this.config.debug) ? (this.solutionProviders.push(e), this) : this;
457
+ }
458
+ async report(e, t = {}, o = {}) {
459
+ if (!await this.config.beforeEvaluate(e))
460
+ return;
461
+ const s = await this.createReportFromError(e, t, o);
462
+ if (s)
463
+ return this.sendReport(s);
464
+ }
465
+ async reportMessage(e, t = {}, o = "Log") {
466
+ const r = await R(Error(), this.config.debug);
467
+ r.shift(), this.sendReport({
468
+ notifier: `Flare JavaScript client v${N}`,
469
+ exception_class: o,
470
+ seen_at: O(),
471
+ message: e,
472
+ language: "javascript",
473
+ glows: this.glows,
474
+ context: $({ ...t, ...this.context }),
475
+ stacktrace: r,
476
+ sourcemap_version_id: this.config.sourcemapVersion,
477
+ solutions: [],
478
+ stage: this.config.stage
479
+ });
480
+ }
481
+ createReportFromError(e, t = {}, o = {}) {
482
+ if (!w(e, "No error provided.", this.config.debug))
483
+ return Promise.resolve(!1);
484
+ const r = O();
485
+ return Promise.all([
486
+ ee(this.solutionProviders, e, o),
487
+ R(e, this.config.debug)
488
+ ]).then((s) => {
489
+ const [f, d] = s;
490
+ return w(d.length, "Couldn't generate stacktrace of this error: " + e, this.config.debug), {
491
+ notifier: `Flare JavaScript client v${N}`,
492
+ exception_class: e.constructor && e.constructor.name ? e.constructor.name : "undefined",
493
+ seen_at: r,
494
+ message: e.message,
495
+ language: "javascript",
496
+ glows: this.glows,
497
+ context: $({ ...t, ...this.context }),
498
+ stacktrace: d,
499
+ sourcemap_version_id: this.config.sourcemapVersion,
500
+ solutions: f,
501
+ stage: this.config.stage
502
+ };
503
+ });
504
+ }
505
+ async sendReport(e) {
506
+ if (!D(this.config.key, this.config.debug))
507
+ return;
508
+ const t = await this.config.beforeSubmit(e);
509
+ if (t)
510
+ return this.api.report(
511
+ t,
512
+ this.config.reportingUrl,
513
+ this.config.key,
514
+ this.config.reportBrowserExtensionErrors
515
+ );
516
+ }
517
+ // Deprecated, the following methods exist for backwards compatibility.
518
+ set beforeEvaluate(e) {
519
+ this.config.beforeEvaluate = e ?? "";
520
+ }
521
+ set beforeSubmit(e) {
522
+ this.config.beforeSubmit = e ?? "";
523
+ }
524
+ set stage(e) {
525
+ this.config.stage = e ?? "";
526
+ }
527
+ };
528
+ function ae() {
529
+ if (typeof window > "u")
530
+ return;
531
+ const e = window.flare;
532
+ if (!window || !e)
533
+ return;
534
+ const t = window.onerror, o = window.onunhandledrejection;
535
+ window.onerror = (r, s, f, d, l) => {
536
+ l && e.report(l), typeof t == "function" && t(r, s, f, d, l);
537
+ }, window.onunhandledrejection = (r) => {
538
+ r.reason instanceof Error && e.report(r.reason), typeof o == "function" && o(r);
539
+ };
540
+ }
541
+ var C = new ie();
542
+ typeof window < "u" && window && (window.flare = C, ae());
543
+ function ce(e) {
544
+ const t = e.config.errorHandler;
545
+ e.config.errorHandler = (o, r, s) => {
546
+ const f = r && r.$options && r.$options.name ? r.$options.name : "AnonymousComponent", d = {
547
+ vue: { info: s, componentName: f }
548
+ };
549
+ if (C.report(o, d, { vue: { vm: r, info: s } }), typeof t == "function") {
550
+ t(o, r, s);
551
+ return;
552
+ }
553
+ throw o;
554
+ };
555
+ }
556
+ export {
557
+ ce as a,
558
+ C as f
559
+ };
560
+ //# sourceMappingURL=index-BZyqtOJw.js.map
Binary file
Binary file
@@ -1,8 +1,8 @@
1
1
  import { d as defineComponent, F as Fragment, Q as Comment, R as Text, U as h, V as getCurrentInstance, W as resolveComponent, r as ref, c as computed$1, D as watch, o as onMounted, h as createElementBlock, b as openBlock, a as createBlock, i as createCommentVNode, w as withCtx, v as renderList, e as createBaseVNode, j as withModifiers, f as createVNode, g as unref, n as normalizeClass, u as useI18n, s as storeToRefs, X as inject, N as resolveDirective, A as createSlots, E as withDirectives, t as toDisplayString, Y as reactive, Z as onUnmounted, K as normalizeStyle, q as renderSlot, $ as nextTick, G as vShow, x as createTextVNode, a0 as mergeModels, y as useSlots, a1 as useModel, T as Transition, z as isRef, _ as _mitt } from "./mitt-CWSmi8M-.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, g as useEventStore, u as useAvailabilityStore, f as useUtilityStore, T as TextField, K as convertDescription, B as BookingLayout, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, w as InputField, J as BookingHeaderLayout, N as emitter, v as getUserLanguage, x as useApplyGiftCardStore, e as Clickable, y as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js";
3
- import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-DWFK2IZh.js";
4
- import { A as ActionField } from "./ActionField-BcrrcZZB.js";
5
- import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, g as useEventStore, u as useAvailabilityStore, f as useUtilityStore, T as TextField, K as convertDescription, B as BookingLayout, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, w as InputField, J as BookingHeaderLayout, N as emitter, v as getUserLanguage, x as useApplyGiftCardStore, e as Clickable, y as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js";
3
+ import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-CdAiqIDw.js";
4
+ import { A as ActionField } from "./ActionField-NdulJ0sj.js";
5
+ import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js";
6
6
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -10847,4 +10847,4 @@ export {
10847
10847
  StickyPlugin as a,
10848
10848
  ListingSkeleton as b
10849
10849
  };
10850
- //# sourceMappingURL=masonry.plugin-85XDu7Qy.js.map
10850
+ //# sourceMappingURL=masonry.plugin-CPn7JWhD.js.map
package/dist/polyfill.js CHANGED
@@ -10920,5 +10920,5 @@ Vx();
10920
10920
  b = new ResizeObserver(g), I = new MutationObserver(q), A();
10921
10921
  }
10922
10922
  })()();
10923
- console.log("Konnectio production release: 4.2.36");
10923
+ console.log("Konnectio production release: 4.3.1");
10924
10924
  //# sourceMappingURL=polyfill.js.map
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konnectio/core",
3
- "version": "4.2.36",
3
+ "version": "4.3.1",
4
4
  "author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
5
5
  "homepage": "https://konnectio.com",
6
6
  "description": "Konnectio Core Frontend Integration.",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +0,0 @@
1
- import { _ as f } from "./_.vue_vue_type_style_index_0_lang-Vlaciaq-.js";
2
- export {
3
- f as default
4
- };
5
- //# sourceMappingURL=_-Bu1sX50B.js.map
Binary file
Binary file