@konnectio/core 4.3.3 → 4.3.5

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 (109) hide show
  1. package/dist/{ActionField-BsmMIhW6.js → ActionField-C0uqT9TO.js} +3 -3
  2. package/dist/ActionField-C0uqT9TO.js.br +0 -0
  3. package/dist/ActionField-C0uqT9TO.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-D3iv0cT1.js → AvailabilitySkeleton-B0qSOV-W.js} +6 -6
  5. package/dist/AvailabilitySkeleton-B0qSOV-W.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-B0qSOV-W.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-XzdmauPt.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BB5zSvHn.js} +3 -3
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BB5zSvHn.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BB5zSvHn.js.gz +0 -0
  10. package/dist/{CheckoutWindow-CF2-eaiR.js → CheckoutWindow-GZZy3I4m.js} +5 -5
  11. package/dist/CheckoutWindow-GZZy3I4m.js.br +0 -0
  12. package/dist/CheckoutWindow-GZZy3I4m.js.gz +0 -0
  13. package/dist/{ErrorMessage-rPcq7mbu.js → ErrorMessage-DfhtPfQF.js} +5 -5
  14. package/dist/ErrorMessage-DfhtPfQF.js.br +0 -0
  15. package/dist/{ErrorMessage-rPcq7mbu.js.gz → ErrorMessage-DfhtPfQF.js.gz} +0 -0
  16. package/dist/{EventAvailabilityForm-CcQwnzol.js → EventAvailabilityForm-CM_ysKJf.js} +4 -4
  17. package/dist/EventAvailabilityForm-CM_ysKJf.js.br +0 -0
  18. package/dist/EventAvailabilityForm-CM_ysKJf.js.gz +0 -0
  19. package/dist/{Field-Dw5FVydD.js → Field-C9vcaq-u.js} +4 -4
  20. package/dist/Field-C9vcaq-u.js.br +0 -0
  21. package/dist/Field-C9vcaq-u.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-NEWgHGKm.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DebFKr60.js} +3 -3
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DebFKr60.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DebFKr60.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-Cev1TH7y.js → SelectField.vue_vue_type_style_index_0_lang-BjMa6MRV.js} +1312 -1306
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-BjMa6MRV.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-BjMa6MRV.js.gz +0 -0
  28. package/dist/{TermsOfService-D_lDtdlp.js → TermsOfService-DL_eDJ7X.js} +4 -4
  29. package/dist/TermsOfService-DL_eDJ7X.js.br +0 -0
  30. package/dist/TermsOfService-DL_eDJ7X.js.gz +0 -0
  31. package/dist/_-DASiMfrt.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-CW619CRS.js → _.vue_vue_type_style_index_0_lang-VyBR_1N3.js} +3 -3
  33. package/dist/_.vue_vue_type_style_index_0_lang-VyBR_1N3.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-VyBR_1N3.js.gz +0 -0
  35. package/dist/availability.js +7 -7
  36. package/dist/availability.js.br +0 -0
  37. package/dist/availability.js.gz +0 -0
  38. package/dist/cancel-reservation.js +7 -7
  39. package/dist/cancel-reservation.js.br +0 -0
  40. package/dist/cancel-reservation.js.gz +0 -0
  41. package/dist/core.css +1 -1
  42. package/dist/core.css.br +0 -0
  43. package/dist/core.css.gz +0 -0
  44. package/dist/deep-link.js +1 -1
  45. package/dist/deep-link.js.br +0 -0
  46. package/dist/deep-link.js.gz +0 -0
  47. package/dist/event.js +10 -10
  48. package/dist/event.js.br +0 -0
  49. package/dist/event.js.gz +0 -0
  50. package/dist/gift-card-validation.js +9 -9
  51. package/dist/gift-card-validation.js.br +0 -0
  52. package/dist/gift-card-validation.js.gz +0 -0
  53. package/dist/gift-card.js +11 -11
  54. package/dist/gift-card.js.br +0 -0
  55. package/dist/gift-card.js.gz +0 -0
  56. package/dist/{giftCard-C5SFtGL4.js → giftCard-BF1EBzmF.js} +3 -3
  57. package/dist/giftCard-BF1EBzmF.js.br +0 -0
  58. package/dist/giftCard-BF1EBzmF.js.gz +0 -0
  59. package/dist/hotel.js +1556 -1549
  60. package/dist/hotel.js.br +0 -0
  61. package/dist/hotel.js.gz +0 -0
  62. package/dist/{index-Dp94FdK7.js → index-C-yDrdqC.js} +196 -186
  63. package/dist/index-C-yDrdqC.js.br +0 -0
  64. package/dist/index-C-yDrdqC.js.gz +0 -0
  65. package/dist/{masonry.plugin-DnqS8CJ4.js → masonry.plugin-CbVvhZRu.js} +6 -6
  66. package/dist/masonry.plugin-CbVvhZRu.js.br +0 -0
  67. package/dist/masonry.plugin-CbVvhZRu.js.gz +0 -0
  68. package/dist/{mitt-CWSmi8M-.js → mitt-bGMsQrYA.js} +1951 -1949
  69. package/dist/mitt-bGMsQrYA.js.br +0 -0
  70. package/dist/mitt-bGMsQrYA.js.gz +0 -0
  71. package/dist/polyfill.js +6065 -5759
  72. package/dist/polyfill.js.br +0 -0
  73. package/dist/polyfill.js.gz +0 -0
  74. package/dist/{style-DJF9fHLt.js → style-C4ivj8SO.js} +2 -2
  75. package/dist/style-C4ivj8SO.js.br +0 -0
  76. package/dist/style-C4ivj8SO.js.gz +0 -0
  77. package/package.json +14 -14
  78. package/dist/ActionField-BsmMIhW6.js.br +0 -0
  79. package/dist/ActionField-BsmMIhW6.js.gz +0 -0
  80. package/dist/AvailabilitySkeleton-D3iv0cT1.js.br +0 -0
  81. package/dist/AvailabilitySkeleton-D3iv0cT1.js.gz +0 -0
  82. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-XzdmauPt.js.br +0 -0
  83. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-XzdmauPt.js.gz +0 -0
  84. package/dist/CheckoutWindow-CF2-eaiR.js.br +0 -0
  85. package/dist/CheckoutWindow-CF2-eaiR.js.gz +0 -0
  86. package/dist/ErrorMessage-rPcq7mbu.js.br +0 -0
  87. package/dist/EventAvailabilityForm-CcQwnzol.js.br +0 -0
  88. package/dist/EventAvailabilityForm-CcQwnzol.js.gz +0 -0
  89. package/dist/Field-Dw5FVydD.js.br +0 -0
  90. package/dist/Field-Dw5FVydD.js.gz +0 -0
  91. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-NEWgHGKm.js.br +0 -0
  92. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-NEWgHGKm.js.gz +0 -0
  93. package/dist/SelectField.vue_vue_type_style_index_0_lang-Cev1TH7y.js.br +0 -0
  94. package/dist/SelectField.vue_vue_type_style_index_0_lang-Cev1TH7y.js.gz +0 -0
  95. package/dist/TermsOfService-D_lDtdlp.js.br +0 -0
  96. package/dist/TermsOfService-D_lDtdlp.js.gz +0 -0
  97. package/dist/_-CQSv_VJ6.js +0 -5
  98. package/dist/_.vue_vue_type_style_index_0_lang-CW619CRS.js.br +0 -0
  99. package/dist/_.vue_vue_type_style_index_0_lang-CW619CRS.js.gz +0 -0
  100. package/dist/giftCard-C5SFtGL4.js.br +0 -0
  101. package/dist/giftCard-C5SFtGL4.js.gz +0 -0
  102. package/dist/index-Dp94FdK7.js.br +0 -0
  103. package/dist/index-Dp94FdK7.js.gz +0 -0
  104. package/dist/masonry.plugin-DnqS8CJ4.js.br +0 -0
  105. package/dist/masonry.plugin-DnqS8CJ4.js.gz +0 -0
  106. package/dist/mitt-CWSmi8M-.js.br +0 -0
  107. package/dist/mitt-CWSmi8M-.js.gz +0 -0
  108. package/dist/style-DJF9fHLt.js.br +0 -0
  109. package/dist/style-DJF9fHLt.js.gz +0 -0
@@ -1,14 +1,14 @@
1
- import { g as j } from "./_commonjsHelpers-DaMA6jEr.js";
2
- var b = { exports: {} }, y = { exports: {} }, U = y.exports, P;
3
- function V() {
4
- return P || (P = 1, function(e, t) {
5
- (function(o, r) {
6
- e.exports = r();
7
- })(U, function() {
1
+ import { g as V } from "./_commonjsHelpers-DaMA6jEr.js";
2
+ var b = { exports: {} }, y = { exports: {} }, j = y.exports, P;
3
+ function B() {
4
+ return P || (P = 1, function(e, r) {
5
+ (function(o, t) {
6
+ e.exports = t();
7
+ })(j, function() {
8
8
  function o(a) {
9
9
  return !isNaN(parseFloat(a)) && isFinite(a);
10
10
  }
11
- function r(a) {
11
+ function t(a) {
12
12
  return a.charAt(0).toUpperCase() + a.substring(1);
13
13
  }
14
14
  function s(a) {
@@ -16,11 +16,11 @@ function V() {
16
16
  return this[a];
17
17
  };
18
18
  }
19
- var f = ["isConstructor", "isEval", "isNative", "isToplevel"], d = ["columnNumber", "lineNumber"], l = ["fileName", "functionName", "source"], i = ["args"], m = ["evalOrigin"], n = f.concat(d, l, i, m);
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
20
  function c(a) {
21
21
  if (a)
22
22
  for (var p = 0; p < n.length; p++)
23
- a[n[p]] !== void 0 && this["set" + r(n[p])](a[n[p]]);
23
+ a[n[p]] !== void 0 && this["set" + t(n[p])](a[n[p]]);
24
24
  }
25
25
  c.prototype = {
26
26
  getArgs: function() {
@@ -43,51 +43,51 @@ function V() {
43
43
  throw new TypeError("Eval Origin must be an Object or StackFrame");
44
44
  },
45
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;
46
+ var a = this.getFileName() || "", p = this.getLineNumber() || "", v = this.getColumnNumber() || "", S = this.getFunctionName() || "";
47
+ return this.getIsEval() ? a ? "[eval] (" + a + ":" + p + ":" + v + ")" : "[eval]:" + p + ":" + v : S ? S + " (" + a + ":" + p + ":" + v + ")" : a + ":" + p + ":" + v;
48
48
  }
49
49
  }, c.fromString = function(p) {
50
- var v = p.indexOf("("), E = p.lastIndexOf(")"), A = p.substring(0, v), F = p.substring(v + 1, E).split(","), k = p.substring(E + 1);
51
- if (k.indexOf("@") === 0)
52
- var x = /@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(k, ""), I = x[1], T = x[2], q = x[3];
50
+ var v = p.indexOf("("), S = p.lastIndexOf(")"), F = p.substring(0, v), I = p.substring(v + 1, S).split(","), O = p.substring(S + 1);
51
+ if (O.indexOf("@") === 0)
52
+ var k = /@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(O, ""), T = k[1], q = k[2], U = k[3];
53
53
  return new c({
54
- functionName: A,
55
- args: F || void 0,
56
- fileName: I,
57
- lineNumber: T || void 0,
58
- columnNumber: q || void 0
54
+ functionName: F,
55
+ args: I || void 0,
56
+ fileName: T,
57
+ lineNumber: q || void 0,
58
+ columnNumber: U || void 0
59
59
  });
60
60
  };
61
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) {
62
+ c.prototype["get" + t(f[u])] = s(f[u]), c.prototype["set" + t(f[u])] = /* @__PURE__ */ function(a) {
63
63
  return function(p) {
64
64
  this[a] = !!p;
65
65
  };
66
66
  }(f[u]);
67
67
  for (var h = 0; h < d.length; h++)
68
- c.prototype["get" + r(d[h])] = s(d[h]), c.prototype["set" + r(d[h])] = /* @__PURE__ */ function(a) {
68
+ c.prototype["get" + t(d[h])] = s(d[h]), c.prototype["set" + t(d[h])] = /* @__PURE__ */ function(a) {
69
69
  return function(p) {
70
70
  if (!o(p))
71
71
  throw new TypeError(a + " must be a Number");
72
72
  this[a] = Number(p);
73
73
  };
74
74
  }(d[h]);
75
- for (var g = 0; g < l.length; g++)
76
- c.prototype["get" + r(l[g])] = s(l[g]), c.prototype["set" + r(l[g])] = /* @__PURE__ */ function(a) {
75
+ for (var m = 0; m < l.length; m++)
76
+ c.prototype["get" + t(l[m])] = s(l[m]), c.prototype["set" + t(l[m])] = /* @__PURE__ */ function(a) {
77
77
  return function(p) {
78
78
  this[a] = String(p);
79
79
  };
80
- }(l[g]);
80
+ }(l[m]);
81
81
  return c;
82
82
  });
83
83
  }(y)), y.exports;
84
84
  }
85
- var B = b.exports, $;
86
- function J() {
87
- return $ || ($ = 1, function(e, t) {
88
- (function(o, r) {
89
- e.exports = r(V());
90
- })(B, function(r) {
85
+ var J = b.exports, $;
86
+ function L() {
87
+ return $ || ($ = 1, function(e, r) {
88
+ (function(o, t) {
89
+ e.exports = t(B());
90
+ })(J, function(t) {
91
91
  var s = /(^|@)\S+:\d+/, f = /^\s*at .*(\S+:\d+|\(native\))/m, d = /^(eval@)?(\[native code])?$/;
92
92
  return {
93
93
  /**
@@ -109,21 +109,21 @@ function J() {
109
109
  extractLocation: function(i) {
110
110
  if (i.indexOf(":") === -1)
111
111
  return [i];
112
- var m = /(.+?)(?::(\d+))?(?::(\d+))?$/, n = m.exec(i.replace(/[()]/g, ""));
112
+ var g = /(.+?)(?::(\d+))?(?::(\d+))?$/, n = g.exec(i.replace(/[()]/g, ""));
113
113
  return [n[1], n[2] || void 0, n[3] || void 0];
114
114
  },
115
115
  parseV8OrIE: function(i) {
116
- var m = i.stack.split(`
116
+ var g = i.stack.split(`
117
117
  `).filter(function(n) {
118
118
  return !!n.match(f);
119
119
  }, this);
120
- return m.map(function(n) {
120
+ return g.map(function(n) {
121
121
  n.indexOf("(eval ") > -1 && (n = n.replace(/eval code/g, "eval").replace(/(\(eval at [^()]*)|(,.*$)/g, ""));
122
122
  var c = n.replace(/^\s+/, "").replace(/\(eval code/g, "(").replace(/^.*?\s+/, ""), u = c.match(/ (\(.+\)$)/);
123
123
  c = u ? c.replace(u[0], "") : c;
124
- var h = this.extractLocation(u ? u[1] : c), g = u && c || void 0, a = ["eval", "<anonymous>"].indexOf(h[0]) > -1 ? void 0 : h[0];
125
- return new r({
126
- functionName: g,
124
+ var h = this.extractLocation(u ? u[1] : c), m = u && c || void 0, a = ["eval", "<anonymous>"].indexOf(h[0]) > -1 ? void 0 : h[0];
125
+ return new t({
126
+ functionName: m,
127
127
  fileName: a,
128
128
  lineNumber: h[1],
129
129
  columnNumber: h[2],
@@ -132,21 +132,21 @@ function J() {
132
132
  }, this);
133
133
  },
134
134
  parseFFOrSafari: function(i) {
135
- var m = i.stack.split(`
135
+ var g = i.stack.split(`
136
136
  `).filter(function(n) {
137
137
  return !n.match(d);
138
138
  }, this);
139
- return m.map(function(n) {
139
+ return g.map(function(n) {
140
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({
141
+ return new t({
142
142
  functionName: n
143
143
  });
144
- var c = /((.*".+"[^@]*)?[^@]*)(?:@)/, u = n.match(c), h = u && u[1] ? u[1] : void 0, g = this.extractLocation(n.replace(c, ""));
145
- return new r({
144
+ var c = /((.*".+"[^@]*)?[^@]*)(?:@)/, u = n.match(c), h = u && u[1] ? u[1] : void 0, m = this.extractLocation(n.replace(c, ""));
145
+ return new t({
146
146
  functionName: h,
147
- fileName: g[0],
148
- lineNumber: g[1],
149
- columnNumber: g[2],
147
+ fileName: m[0],
148
+ lineNumber: m[1],
149
+ columnNumber: m[2],
150
150
  source: n
151
151
  });
152
152
  }, this);
@@ -158,26 +158,26 @@ function J() {
158
158
  `).length ? this.parseOpera9(i) : i.stack ? this.parseOpera11(i) : this.parseOpera10(i);
159
159
  },
160
160
  parseOpera9: function(i) {
161
- for (var m = /Line (\d+).*script (?:in )?(\S+)/i, n = i.message.split(`
161
+ for (var g = /Line (\d+).*script (?:in )?(\S+)/i, n = i.message.split(`
162
162
  `), c = [], u = 2, h = n.length; u < h; u += 2) {
163
- var g = m.exec(n[u]);
164
- g && c.push(new r({
165
- fileName: g[2],
166
- lineNumber: g[1],
163
+ var m = g.exec(n[u]);
164
+ m && c.push(new t({
165
+ fileName: m[2],
166
+ lineNumber: m[1],
167
167
  source: n[u]
168
168
  }));
169
169
  }
170
170
  return c;
171
171
  },
172
172
  parseOpera10: function(i) {
173
- for (var m = /Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i, n = i.stacktrace.split(`
173
+ for (var g = /Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i, n = i.stacktrace.split(`
174
174
  `), c = [], u = 0, h = n.length; u < h; u += 2) {
175
- var g = m.exec(n[u]);
176
- g && c.push(
177
- new r({
178
- functionName: g[3] || void 0,
179
- fileName: g[2],
180
- lineNumber: g[1],
175
+ var m = g.exec(n[u]);
176
+ m && c.push(
177
+ new t({
178
+ functionName: m[3] || void 0,
179
+ fileName: m[2],
180
+ lineNumber: m[1],
181
181
  source: n[u]
182
182
  })
183
183
  );
@@ -186,16 +186,16 @@ function J() {
186
186
  },
187
187
  // Opera 10.65+ Error.stack very similar to FF/Safari
188
188
  parseOpera11: function(i) {
189
- var m = i.stack.split(`
189
+ var g = i.stack.split(`
190
190
  `).filter(function(n) {
191
191
  return !!n.match(s) && !n.match(/^Error created at/);
192
192
  }, this);
193
- return m.map(function(n) {
194
- var c = n.split("@"), u = this.extractLocation(c.pop()), h = c.shift() || "", g = h.replace(/<anonymous function(: (\w+))?>/, "$2").replace(/\([^)]*\)/g, "") || void 0, a;
193
+ return g.map(function(n) {
194
+ var c = n.split("@"), u = this.extractLocation(c.pop()), h = c.shift() || "", m = h.replace(/<anonymous function(: (\w+))?>/, "$2").replace(/\([^)]*\)/g, "") || void 0, a;
195
195
  h.match(/\(([^)]*)\)/) && (a = h.replace(/^[^(]+\(([^)]*)\)$/, "$1"));
196
196
  var p = a === void 0 || a === "[arguments not available]" ? void 0 : a.split(",");
197
- return new r({
198
- functionName: g,
197
+ return new t({
198
+ functionName: m,
199
199
  args: p,
200
200
  fileName: u[0],
201
201
  lineNumber: u[1],
@@ -208,59 +208,59 @@ function J() {
208
208
  });
209
209
  }(b)), b.exports;
210
210
  }
211
- var D = J();
212
- const G = /* @__PURE__ */ j(D);
213
- var N = '"1.1.0"', L = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", M = '"4.3.3"';
214
- function w(e, t, o) {
215
- return o && !e && console.error(`Flare JavaScript client v${N}: ${t}`), !!e;
211
+ var D = L();
212
+ const G = /* @__PURE__ */ V(D);
213
+ var N = '"1.1.0"', H = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", M = '"4.3.5"';
214
+ function w(e, r, o) {
215
+ return o && !e && console.error(`Flare JavaScript client v${N}: ${r}`), !!e;
216
216
  }
217
- function X(e, t) {
217
+ function X(e, r) {
218
218
  return w(
219
219
  e,
220
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
221
+ r
222
222
  );
223
223
  }
224
- function H(e, t) {
225
- return w("canSolve" in e, "A solution provider without a [canSolve] property was added.", t) && w(
224
+ function K(e, r) {
225
+ return w("canSolve" in e, "A solution provider without a [canSolve] property was added.", r) && w(
226
226
  "getSolutions" in e,
227
227
  "A solution provider without a [getSolutions] property was added.",
228
- t
228
+ r
229
229
  );
230
230
  }
231
- function K(e) {
232
- let t = [];
233
- const o = JSON.stringify(e, function(r, s) {
231
+ function z(e) {
232
+ let r = [];
233
+ const o = JSON.stringify(e, function(t, s) {
234
234
  if (typeof s == "object" && s !== null) {
235
- if (t.indexOf(s) !== -1)
235
+ if (r.indexOf(s) !== -1)
236
236
  try {
237
237
  return JSON.parse(JSON.stringify(s));
238
238
  } catch {
239
239
  return;
240
240
  }
241
- t.push(s);
241
+ r.push(s);
242
242
  }
243
243
  return s;
244
244
  });
245
- return t = null, o;
245
+ return r = null, o;
246
246
  }
247
- function z(e) {
248
- return e.reduce((t, o) => t.concat(o), []);
247
+ function W(e) {
248
+ return e.reduce((r, o) => r.concat(o), []);
249
249
  }
250
- function O() {
250
+ function x() {
251
251
  return Math.round(Date.now() / 1e3);
252
252
  }
253
- var Q = class {
254
- report(e, t, o, r) {
255
- return fetch(t, {
253
+ var Y = class {
254
+ report(e, r, o, t) {
255
+ return fetch(r, {
256
256
  method: "POST",
257
257
  headers: {
258
258
  "Content-Type": "application/json",
259
259
  "X-Api-Token": o ?? "",
260
260
  "X-Requested-With": "XMLHttpRequest",
261
- "X-Report-Browser-Extension-Errors": JSON.stringify(r)
261
+ "X-Report-Browser-Extension-Errors": JSON.stringify(t)
262
262
  },
263
- body: K({
263
+ body: z({
264
264
  ...e,
265
265
  key: o
266
266
  })
@@ -272,18 +272,18 @@ var Q = class {
272
272
  );
273
273
  }
274
274
  };
275
- function W() {
275
+ function Q() {
276
276
  return window.document.cookie ? {
277
277
  cookies: window.document.cookie.split("; ").reduce(
278
- (e, t) => {
279
- const [o, r] = t.split(/=/);
280
- return e[o] = r, e;
278
+ (e, r) => {
279
+ const [o, t] = r.split(/=/);
280
+ return e[o] = t, e;
281
281
  },
282
282
  {}
283
283
  )
284
284
  } : {};
285
285
  }
286
- function Y() {
286
+ function Z() {
287
287
  return {
288
288
  request: {
289
289
  url: window.document.location.href,
@@ -293,51 +293,51 @@ function Y() {
293
293
  }
294
294
  };
295
295
  }
296
- function Z() {
296
+ function ee() {
297
297
  if (!window.location.search)
298
298
  return {};
299
299
  const e = {};
300
- return new URLSearchParams(window.location.search).forEach((t, o) => {
301
- e[o] = t;
300
+ return new URLSearchParams(window.location.search).forEach((r, o) => {
301
+ e[o] = r;
302
302
  }), { request_data: { queryString: e } };
303
303
  }
304
304
  function _(e) {
305
305
  return typeof window > "u" ? e : {
306
- ...W(),
307
- ...Y(),
306
+ ...Q(),
308
307
  ...Z(),
308
+ ...ee(),
309
309
  ...e
310
310
  };
311
311
  }
312
- function ee(e, t, o = {}) {
313
- return new Promise((r) => {
312
+ function re(e, r, o = {}) {
313
+ return new Promise((t) => {
314
314
  const s = e.reduce(
315
- (f, d) => (f.push(Promise.resolve(d.canSolve(t, o))), f),
315
+ (f, d) => (f.push(Promise.resolve(d.canSolve(r, o))), f),
316
316
  []
317
317
  );
318
318
  Promise.all(s).then((f) => {
319
319
  const d = [];
320
320
  f.forEach((l, i) => {
321
321
  l && d.push(
322
- Promise.resolve(e[i].getSolutions(t, o))
322
+ Promise.resolve(e[i].getSolutions(r, o))
323
323
  );
324
324
  }), Promise.all(d).then((l) => {
325
- r(z(l));
325
+ t(W(l));
326
326
  });
327
327
  });
328
328
  });
329
329
  }
330
330
  var R = {};
331
- function re(e, t, o) {
332
- return new Promise((r) => {
333
- if (!e || !t)
334
- return r({
331
+ function te(e, r, o) {
332
+ return new Promise((t) => {
333
+ if (!e || !r)
334
+ return t({
335
335
  codeSnippet: {
336
- 0: `Could not read from file: missing file URL or line number. URL: ${e} lineNumber: ${t}`
336
+ 0: `Could not read from file: missing file URL or line number. URL: ${e} lineNumber: ${r}`
337
337
  },
338
338
  trimmedColumnNumber: null
339
339
  });
340
- te(e).then((s) => r(s ? ne(s, t, o) : {
340
+ ne(e).then((s) => t(s ? oe(s, r, o) : {
341
341
  codeSnippet: {
342
342
  0: `Could not read from file: Error while opening file at URL ${e}`
343
343
  },
@@ -345,38 +345,38 @@ function re(e, t, o) {
345
345
  }));
346
346
  });
347
347
  }
348
- function te(e) {
349
- return R[e] ? Promise.resolve(R[e]) : fetch(e).then((t) => t.status !== 200 ? null : t.text()).catch(() => null);
348
+ function ne(e) {
349
+ return R[e] ? Promise.resolve(R[e]) : fetch(e).then((r) => r.status !== 200 ? null : r.text()).catch(() => null);
350
350
  }
351
- function ne(e, t, o, r = 1e3, s = 40) {
351
+ function oe(e, r, o, t = 1e3, s = 40) {
352
352
  const f = {};
353
353
  let d = null;
354
354
  const l = e.split(`
355
355
  `);
356
356
  for (let i = -s / 2; i <= s / 2; i++) {
357
- const m = t + i;
358
- if (m >= 0 && l[m]) {
359
- const n = m + 1;
360
- if (l[m].length > r) {
361
- if (o && o + r / 2 > r) {
362
- f[n] = l[m].substr(
363
- o - Math.round(r / 2),
364
- r
365
- ), n === t && (d = Math.round(r / 2));
357
+ const g = r + i;
358
+ if (g >= 0 && l[g]) {
359
+ const n = g + 1;
360
+ if (l[g].length > t) {
361
+ if (o && o + t / 2 > t) {
362
+ f[n] = l[g].substr(
363
+ o - Math.round(t / 2),
364
+ t
365
+ ), n === r && (d = Math.round(t / 2));
366
366
  continue;
367
367
  }
368
- f[n] = l[m].substr(0, r) + "…";
368
+ f[n] = l[g].substr(0, t) + "…";
369
369
  continue;
370
370
  }
371
- f[n] = l[m];
371
+ f[n] = l[g];
372
372
  }
373
373
  }
374
374
  return { codeSnippet: f, trimmedColumnNumber: d };
375
375
  }
376
- function C(e, t) {
376
+ function C(e, r) {
377
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([
378
+ if (!ie(e))
379
+ return w(!1, "Couldn't generate stacktrace of below error:", r), r && console.error(e), o([
380
380
  {
381
381
  line_number: 0,
382
382
  column_number: 0,
@@ -390,13 +390,13 @@ function C(e, t) {
390
390
  }
391
391
  ]);
392
392
  Promise.all(
393
- G.parse(e).map((r) => new Promise((s) => {
394
- re(r.fileName, r.lineNumber, r.columnNumber).then((f) => {
393
+ G.parse(e).map((t) => new Promise((s) => {
394
+ te(t.fileName, t.lineNumber, t.columnNumber).then((f) => {
395
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",
396
+ line_number: t.lineNumber || 1,
397
+ column_number: t.columnNumber || 1,
398
+ method: t.functionName || "Anonymous or unknown function",
399
+ file: t.fileName || "Unknown file",
400
400
  code_snippet: f.codeSnippet,
401
401
  trimmed_column_number: f.trimmedColumnNumber,
402
402
  class: ""
@@ -406,11 +406,11 @@ function C(e, t) {
406
406
  ).then(o);
407
407
  });
408
408
  }
409
- function oe(e) {
409
+ function ie(e) {
410
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
411
  }
412
- var ie = class {
413
- constructor(e = new Q()) {
412
+ var ae = class {
413
+ constructor(e = new Y()) {
414
414
  this.api = e, this.config = {
415
415
  key: null,
416
416
  version: N,
@@ -420,12 +420,12 @@ var ie = class {
420
420
  reportingUrl: "https://reporting.flareapp.io/api/reports",
421
421
  reportBrowserExtensionErrors: !1,
422
422
  debug: !1,
423
- beforeEvaluate: (t) => t,
424
- beforeSubmit: (t) => t
423
+ beforeEvaluate: (r) => r,
424
+ beforeSubmit: (r) => r
425
425
  }, this.glows = [], this.context = { context: {} }, this.solutionProviders = [];
426
426
  }
427
- light(e = L, t = !1) {
428
- return this.config.key = e, this.config.debug = t, this;
427
+ light(e = H, r = !1) {
428
+ return this.config.key = e, this.config.debug = r, this;
429
429
  }
430
430
  configure(e) {
431
431
  return this.config = { ...this.config, ...e }, this;
@@ -433,68 +433,68 @@ var ie = class {
433
433
  test() {
434
434
  return this.report(new Error("The Flare client is set up correctly!"));
435
435
  }
436
- glow(e, t = "info", o = []) {
437
- const r = O();
436
+ glow(e, r = "info", o = []) {
437
+ const t = x();
438
438
  return this.glows.push({
439
439
  name: e,
440
- message_level: t,
440
+ message_level: r,
441
441
  meta_data: o,
442
- time: r,
443
- microtime: r
442
+ time: t,
443
+ microtime: t
444
444
  }), this.glows.length > this.config.maxGlowsPerReport && (this.glows = this.glows.slice(this.glows.length - this.config.maxGlowsPerReport)), this;
445
445
  }
446
446
  clearGlows() {
447
447
  return this.glows = [], this;
448
448
  }
449
- addContext(e, t) {
450
- return this.context.context[e] = t, this;
449
+ addContext(e, r) {
450
+ return this.context.context[e] = r, this;
451
451
  }
452
- addContextGroup(e, t) {
453
- return this.context[e] = t, this;
452
+ addContextGroup(e, r) {
453
+ return this.context[e] = r, this;
454
454
  }
455
455
  registerSolutionProvider(e) {
456
- return H(e, this.config.debug) ? (this.solutionProviders.push(e), this) : this;
456
+ return K(e, this.config.debug) ? (this.solutionProviders.push(e), this) : this;
457
457
  }
458
- async report(e, t = {}, o = {}) {
458
+ async report(e, r = {}, o = {}) {
459
459
  if (!await this.config.beforeEvaluate(e))
460
460
  return;
461
- const s = await this.createReportFromError(e, t, o);
461
+ const s = await this.createReportFromError(e, r, o);
462
462
  if (s)
463
463
  return this.sendReport(s);
464
464
  }
465
- async reportMessage(e, t = {}, o = "Log") {
466
- const r = await C(Error(), this.config.debug);
467
- r.shift(), this.sendReport({
465
+ async reportMessage(e, r = {}, o = "Log") {
466
+ const t = await C(Error(), this.config.debug);
467
+ t.shift(), this.sendReport({
468
468
  notifier: `Flare JavaScript client v${N}`,
469
469
  exception_class: o,
470
- seen_at: O(),
470
+ seen_at: x(),
471
471
  message: e,
472
472
  language: "javascript",
473
473
  glows: this.glows,
474
- context: _({ ...t, ...this.context }),
475
- stacktrace: r,
474
+ context: _({ ...r, ...this.context }),
475
+ stacktrace: t,
476
476
  sourcemap_version_id: this.config.sourcemapVersion,
477
477
  solutions: [],
478
478
  stage: this.config.stage
479
479
  });
480
480
  }
481
- createReportFromError(e, t = {}, o = {}) {
481
+ createReportFromError(e, r = {}, o = {}) {
482
482
  if (!w(e, "No error provided.", this.config.debug))
483
483
  return Promise.resolve(!1);
484
- const r = O();
484
+ const t = x();
485
485
  return Promise.all([
486
- ee(this.solutionProviders, e, o),
486
+ re(this.solutionProviders, e, o),
487
487
  C(e, this.config.debug)
488
488
  ]).then((s) => {
489
489
  const [f, d] = s;
490
490
  return w(d.length, "Couldn't generate stacktrace of this error: " + e, this.config.debug), {
491
491
  notifier: `Flare JavaScript client v${N}`,
492
492
  exception_class: e.constructor && e.constructor.name ? e.constructor.name : "undefined",
493
- seen_at: r,
493
+ seen_at: t,
494
494
  message: e.message,
495
495
  language: "javascript",
496
496
  glows: this.glows,
497
- context: _({ ...t, ...this.context }),
497
+ context: _({ ...r, ...this.context }),
498
498
  stacktrace: d,
499
499
  sourcemap_version_id: this.config.sourcemapVersion,
500
500
  solutions: f,
@@ -505,10 +505,10 @@ var ie = class {
505
505
  async sendReport(e) {
506
506
  if (!X(this.config.key, this.config.debug))
507
507
  return;
508
- const t = await this.config.beforeSubmit(e);
509
- if (t)
508
+ const r = await this.config.beforeSubmit(e);
509
+ if (r)
510
510
  return this.api.report(
511
- t,
511
+ r,
512
512
  this.config.reportingUrl,
513
513
  this.config.key,
514
514
  this.config.reportBrowserExtensionErrors
@@ -525,24 +525,23 @@ var ie = class {
525
525
  this.config.stage = e ?? "";
526
526
  }
527
527
  };
528
- function ae() {
528
+ function se() {
529
529
  if (typeof window > "u")
530
530
  return;
531
531
  const e = window.flare;
532
532
  if (!window || !e)
533
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);
534
+ const r = window.onerror, o = window.onunhandledrejection;
535
+ window.onerror = (t, s, f, d, l) => {
536
+ l && e.report(l), typeof r == "function" && r(t, s, f, d, l);
537
+ }, window.onunhandledrejection = (t) => {
538
+ t.reason instanceof Error && e.report(t.reason), typeof o == "function" && o(t);
539
539
  };
540
540
  }
541
- var S = new ie();
542
- typeof window < "u" && window && (window.flare = S, ae());
543
- const se = [
541
+ var E = new ae();
542
+ typeof window < "u" && window && (window.flare = E, se());
543
+ const A = [
544
544
  "fancybox",
545
- ".fancybox",
546
545
  "jQuery",
547
546
  "Modernizr",
548
547
  "cssua",
@@ -558,23 +557,34 @@ const se = [
558
557
  "Divi",
559
558
  "gsap",
560
559
  "Swiper",
561
- "$(...).fancybox",
560
+ "mailchimp",
561
+ "_AutofillCallbackHandler",
562
+ "$(...)",
562
563
  "imagesLoaded",
563
- "jQuery(...).tooltip",
564
- "jQuery(...).scrollspy"
564
+ "accessing a cross-origin frame",
565
+ "scrollspy",
566
+ "No layout mode: packery",
567
+ "Vimeo",
568
+ "Network Error",
569
+ "Request aborted",
570
+ "timeout exceeded",
571
+ "Loading chunk",
572
+ "TrackerStorageType"
565
573
  ];
566
- S.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), S.addContext("version", "4.3.3"), S.beforeEvaluate = (e) => (se.forEach((t) => {
567
- if (e.message.includes(t))
568
- return !1;
569
- }), e);
574
+ E.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), E.addContext("version", "4.3.5"), E.beforeEvaluate = (e) => {
575
+ for (let r = 0; r < A.length; r++)
576
+ if (e.message.includes(A[r]))
577
+ return !1;
578
+ return e;
579
+ };
570
580
  function ue(e) {
571
- const t = e.config.errorHandler;
572
- e.config.errorHandler = (o, r, s) => {
573
- const f = r && r.$options && r.$options.name ? r.$options.name : "AnonymousComponent", d = {
581
+ const r = e.config.errorHandler;
582
+ e.config.errorHandler = (o, t, s) => {
583
+ const f = t && t.$options && t.$options.name ? t.$options.name : "AnonymousComponent", d = {
574
584
  vue: { info: s, componentName: f }
575
585
  };
576
- if (S.report(o, d, { vue: { vm: r, info: s } }), typeof t == "function") {
577
- t(o, r, s);
586
+ if (E.report(o, d, { vue: { vm: t, info: s } }), typeof r == "function") {
587
+ r(o, t, s);
578
588
  return;
579
589
  }
580
590
  throw o;
@@ -583,4 +593,4 @@ function ue(e) {
583
593
  export {
584
594
  ue as f
585
595
  };
586
- //# sourceMappingURL=index-Dp94FdK7.js.map
596
+ //# sourceMappingURL=index-C-yDrdqC.js.map