@tarxemo/customer_support 1.0.4 → 1.0.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.
package/dist/index.es.js CHANGED
@@ -1,181 +1,52 @@
1
- var At = Object.defineProperty;
2
- var Tt = (e, t, n) => t in e ? At(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var Ue = (e, t, n) => Tt(e, typeof t != "symbol" ? t + "" : t, n);
4
- import b, { forwardRef as Qe, createElement as we, useState as J, useRef as Ye, useEffect as Re, useCallback as te } from "react";
5
- /**
6
- * @license lucide-react v0.469.0 - ISC
7
- *
8
- * This source code is licensed under the ISC license.
9
- * See the LICENSE file in the root directory of this source tree.
10
- */
11
- const Ct = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), et = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim();
12
- /**
13
- * @license lucide-react v0.469.0 - ISC
14
- *
15
- * This source code is licensed under the ISC license.
16
- * See the LICENSE file in the root directory of this source tree.
17
- */
18
- var Nt = {
19
- xmlns: "http://www.w3.org/2000/svg",
20
- width: 24,
21
- height: 24,
22
- viewBox: "0 0 24 24",
23
- fill: "none",
24
- stroke: "currentColor",
25
- strokeWidth: 2,
26
- strokeLinecap: "round",
27
- strokeLinejoin: "round"
28
- };
29
- /**
30
- * @license lucide-react v0.469.0 - ISC
31
- *
32
- * This source code is licensed under the ISC license.
33
- * See the LICENSE file in the root directory of this source tree.
34
- */
35
- const xt = Qe(
36
- ({
37
- color: e = "currentColor",
38
- size: t = 24,
39
- strokeWidth: n = 2,
40
- absoluteStrokeWidth: r,
41
- className: s = "",
42
- children: o,
43
- iconNode: i,
44
- ...a
45
- }, d) => we(
46
- "svg",
47
- {
48
- ref: d,
49
- ...Nt,
50
- width: t,
51
- height: t,
52
- stroke: e,
53
- strokeWidth: r ? Number(n) * 24 / Number(t) : n,
54
- className: et("lucide", s),
55
- ...a
56
- },
57
- [
58
- ...i.map(([u, l]) => we(u, l)),
59
- ...Array.isArray(o) ? o : [o]
60
- ]
61
- )
62
- );
63
- /**
64
- * @license lucide-react v0.469.0 - ISC
65
- *
66
- * This source code is licensed under the ISC license.
67
- * See the LICENSE file in the root directory of this source tree.
68
- */
69
- const V = (e, t) => {
70
- const n = Qe(
71
- ({ className: r, ...s }, o) => we(xt, {
72
- ref: o,
73
- iconNode: t,
74
- className: et(`lucide-${Ct(e)}`, r),
75
- ...s
76
- })
77
- );
78
- return n.displayName = `${e}`, n;
79
- };
80
- /**
81
- * @license lucide-react v0.469.0 - ISC
82
- *
83
- * This source code is licensed under the ISC license.
84
- * See the LICENSE file in the root directory of this source tree.
85
- */
86
- const Pt = V("ExternalLink", [
87
- ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
88
- ["path", { d: "M10 14 21 3", key: "gplh6r" }],
89
- ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
90
- ]);
91
- /**
92
- * @license lucide-react v0.469.0 - ISC
93
- *
94
- * This source code is licensed under the ISC license.
95
- * See the LICENSE file in the root directory of this source tree.
96
- */
97
- const Dt = V("LoaderCircle", [
98
- ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
99
- ]);
100
- /**
101
- * @license lucide-react v0.469.0 - ISC
102
- *
103
- * This source code is licensed under the ISC license.
104
- * See the LICENSE file in the root directory of this source tree.
105
- */
106
- const Ft = V("MessageCircle", [
107
- ["path", { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z", key: "vv11sd" }]
108
- ]);
109
- /**
110
- * @license lucide-react v0.469.0 - ISC
111
- *
112
- * This source code is licensed under the ISC license.
113
- * See the LICENSE file in the root directory of this source tree.
114
- */
115
- const Ut = V("Send", [
116
- [
117
- "path",
118
- {
119
- d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",
120
- key: "1ffxy3"
121
- }
122
- ],
123
- ["path", { d: "m21.854 2.147-10.94 10.939", key: "12cjpa" }]
124
- ]);
125
- /**
126
- * @license lucide-react v0.469.0 - ISC
127
- *
128
- * This source code is licensed under the ISC license.
129
- * See the LICENSE file in the root directory of this source tree.
130
- */
131
- const Lt = V("X", [
132
- ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
133
- ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
134
- ]);
135
- function tt(e, t) {
1
+ var St = Object.defineProperty;
2
+ var Rt = (e, t, n) => t in e ? St(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var De = (e, t, n) => Rt(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import b, { useState as J, useRef as Ge, useEffect as ge, useCallback as ee } from "react";
5
+ import { ExternalLink as Ot, Send as _t, X as Tt, Loader2 as At, MessageCircle as Ct } from "lucide-react";
6
+ function Qe(e, t) {
136
7
  return function() {
137
8
  return e.apply(t, arguments);
138
9
  };
139
10
  }
140
- const { toString: kt } = Object.prototype, { getPrototypeOf: Oe } = Object, { iterator: ae, toStringTag: nt } = Symbol, ce = /* @__PURE__ */ ((e) => (t) => {
141
- const n = kt.call(t);
11
+ const { toString: Nt } = Object.prototype, { getPrototypeOf: Se } = Object, { iterator: ie, toStringTag: Ye } = Symbol, ae = /* @__PURE__ */ ((e) => (t) => {
12
+ const n = Nt.call(t);
142
13
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
143
- })(/* @__PURE__ */ Object.create(null)), P = (e) => (e = e.toLowerCase(), (t) => ce(t) === e), le = (e) => (t) => typeof t === e, { isArray: H } = Array, q = le("undefined");
144
- function K(e) {
145
- return e !== null && !q(e) && e.constructor !== null && !q(e.constructor) && C(e.constructor.isBuffer) && e.constructor.isBuffer(e);
14
+ })(/* @__PURE__ */ Object.create(null)), P = (e) => (e = e.toLowerCase(), (t) => ae(t) === e), ce = (e) => (t) => typeof t === e, { isArray: q } = Array, H = ce("undefined");
15
+ function V(e) {
16
+ return e !== null && !H(e) && e.constructor !== null && !H(e.constructor) && C(e.constructor.isBuffer) && e.constructor.isBuffer(e);
146
17
  }
147
- const rt = P("ArrayBuffer");
148
- function Bt(e) {
18
+ const Ze = P("ArrayBuffer");
19
+ function xt(e) {
149
20
  let t;
150
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && rt(e.buffer), t;
21
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ze(e.buffer), t;
151
22
  }
152
- const It = le("string"), C = le("function"), st = le("number"), W = (e) => e !== null && typeof e == "object", jt = (e) => e === !0 || e === !1, re = (e) => {
153
- if (ce(e) !== "object")
23
+ const Pt = ce("string"), C = ce("function"), et = ce("number"), K = (e) => e !== null && typeof e == "object", Dt = (e) => e === !0 || e === !1, ne = (e) => {
24
+ if (ae(e) !== "object")
154
25
  return !1;
155
- const t = Oe(e);
156
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(nt in e) && !(ae in e);
157
- }, Mt = (e) => {
158
- if (!W(e) || K(e))
26
+ const t = Se(e);
27
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ye in e) && !(ie in e);
28
+ }, Ft = (e) => {
29
+ if (!K(e) || V(e))
159
30
  return !1;
160
31
  try {
161
32
  return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
162
33
  } catch {
163
34
  return !1;
164
35
  }
165
- }, $t = P("Date"), qt = P("File"), Ht = P("Blob"), zt = P("FileList"), vt = (e) => W(e) && C(e.pipe), Jt = (e) => {
36
+ }, Ut = P("Date"), Lt = P("File"), kt = P("Blob"), Bt = P("FileList"), It = (e) => K(e) && C(e.pipe), jt = (e) => {
166
37
  let t;
167
- return e && (typeof FormData == "function" && e instanceof FormData || C(e.append) && ((t = ce(e)) === "formdata" || // detect form-data instance
38
+ return e && (typeof FormData == "function" && e instanceof FormData || C(e.append) && ((t = ae(e)) === "formdata" || // detect form-data instance
168
39
  t === "object" && C(e.toString) && e.toString() === "[object FormData]"));
169
- }, Vt = P("URLSearchParams"), [Kt, Wt, Xt, Gt] = ["ReadableStream", "Request", "Response", "Headers"].map(P), Zt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
170
- function X(e, t, { allOwnKeys: n = !1 } = {}) {
40
+ }, Mt = P("URLSearchParams"), [$t, Ht, qt, zt] = ["ReadableStream", "Request", "Response", "Headers"].map(P), vt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
41
+ function W(e, t, { allOwnKeys: n = !1 } = {}) {
171
42
  if (e === null || typeof e > "u")
172
43
  return;
173
44
  let r, s;
174
- if (typeof e != "object" && (e = [e]), H(e))
45
+ if (typeof e != "object" && (e = [e]), q(e))
175
46
  for (r = 0, s = e.length; r < s; r++)
176
47
  t.call(null, e[r], r, e);
177
48
  else {
178
- if (K(e))
49
+ if (V(e))
179
50
  return;
180
51
  const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
181
52
  let a;
@@ -183,8 +54,8 @@ function X(e, t, { allOwnKeys: n = !1 } = {}) {
183
54
  a = o[r], t.call(null, e[a], a, e);
184
55
  }
185
56
  }
186
- function ot(e, t) {
187
- if (K(e))
57
+ function tt(e, t) {
58
+ if (V(e))
188
59
  return null;
189
60
  t = t.toLowerCase();
190
61
  const n = Object.keys(e);
@@ -194,19 +65,19 @@ function ot(e, t) {
194
65
  return s;
195
66
  return null;
196
67
  }
197
- const I = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, it = (e) => !q(e) && e !== I;
198
- function Ee() {
199
- const { caseless: e, skipUndefined: t } = it(this) && this || {}, n = {}, r = (s, o) => {
200
- const i = e && ot(n, o) || o;
201
- re(n[i]) && re(s) ? n[i] = Ee(n[i], s) : re(s) ? n[i] = Ee({}, s) : H(s) ? n[i] = s.slice() : (!t || !q(s)) && (n[i] = s);
68
+ const I = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, nt = (e) => !H(e) && e !== I;
69
+ function ye() {
70
+ const { caseless: e, skipUndefined: t } = nt(this) && this || {}, n = {}, r = (s, o) => {
71
+ const i = e && tt(n, o) || o;
72
+ ne(n[i]) && ne(s) ? n[i] = ye(n[i], s) : ne(s) ? n[i] = ye({}, s) : q(s) ? n[i] = s.slice() : (!t || !H(s)) && (n[i] = s);
202
73
  };
203
74
  for (let s = 0, o = arguments.length; s < o; s++)
204
- arguments[s] && X(arguments[s], r);
75
+ arguments[s] && W(arguments[s], r);
205
76
  return n;
206
77
  }
207
- const Qt = (e, t, n, { allOwnKeys: r } = {}) => (X(t, (s, o) => {
78
+ const Jt = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (s, o) => {
208
79
  n && C(s) ? Object.defineProperty(e, o, {
209
- value: tt(s, n),
80
+ value: Qe(s, n),
210
81
  writable: !0,
211
82
  enumerable: !0,
212
83
  configurable: !0
@@ -216,7 +87,7 @@ const Qt = (e, t, n, { allOwnKeys: r } = {}) => (X(t, (s, o) => {
216
87
  enumerable: !0,
217
88
  configurable: !0
218
89
  });
219
- }, { allOwnKeys: r }), e), Yt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), en = (e, t, n, r) => {
90
+ }, { allOwnKeys: r }), e), Vt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Kt = (e, t, n, r) => {
220
91
  e.prototype = Object.create(t.prototype, r), Object.defineProperty(e.prototype, "constructor", {
221
92
  value: e,
222
93
  writable: !0,
@@ -225,55 +96,55 @@ const Qt = (e, t, n, { allOwnKeys: r } = {}) => (X(t, (s, o) => {
225
96
  }), Object.defineProperty(e, "super", {
226
97
  value: t.prototype
227
98
  }), n && Object.assign(e.prototype, n);
228
- }, tn = (e, t, n, r) => {
99
+ }, Wt = (e, t, n, r) => {
229
100
  let s, o, i;
230
101
  const a = {};
231
102
  if (t = t || {}, e == null) return t;
232
103
  do {
233
104
  for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
234
105
  i = s[o], (!r || r(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
235
- e = n !== !1 && Oe(e);
106
+ e = n !== !1 && Se(e);
236
107
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
237
108
  return t;
238
- }, nn = (e, t, n) => {
109
+ }, Xt = (e, t, n) => {
239
110
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
240
111
  const r = e.indexOf(t, n);
241
112
  return r !== -1 && r === n;
242
- }, rn = (e) => {
113
+ }, Gt = (e) => {
243
114
  if (!e) return null;
244
- if (H(e)) return e;
115
+ if (q(e)) return e;
245
116
  let t = e.length;
246
- if (!st(t)) return null;
117
+ if (!et(t)) return null;
247
118
  const n = new Array(t);
248
119
  for (; t-- > 0; )
249
120
  n[t] = e[t];
250
121
  return n;
251
- }, sn = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Oe(Uint8Array)), on = (e, t) => {
252
- const r = (e && e[ae]).call(e);
122
+ }, Qt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Se(Uint8Array)), Yt = (e, t) => {
123
+ const r = (e && e[ie]).call(e);
253
124
  let s;
254
125
  for (; (s = r.next()) && !s.done; ) {
255
126
  const o = s.value;
256
127
  t.call(e, o[0], o[1]);
257
128
  }
258
- }, an = (e, t) => {
129
+ }, Zt = (e, t) => {
259
130
  let n;
260
131
  const r = [];
261
132
  for (; (n = e.exec(t)) !== null; )
262
133
  r.push(n);
263
134
  return r;
264
- }, cn = P("HTMLFormElement"), ln = (e) => e.toLowerCase().replace(
135
+ }, en = P("HTMLFormElement"), tn = (e) => e.toLowerCase().replace(
265
136
  /[-_\s]([a-z\d])(\w*)/g,
266
137
  function(n, r, s) {
267
138
  return r.toUpperCase() + s;
268
139
  }
269
- ), Le = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), un = P("RegExp"), at = (e, t) => {
140
+ ), Fe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), nn = P("RegExp"), rt = (e, t) => {
270
141
  const n = Object.getOwnPropertyDescriptors(e), r = {};
271
- X(n, (s, o) => {
142
+ W(n, (s, o) => {
272
143
  let i;
273
144
  (i = t(s, o, e)) !== !1 && (r[o] = i || s);
274
145
  }), Object.defineProperties(e, r);
275
- }, fn = (e) => {
276
- at(e, (t, n) => {
146
+ }, rn = (e) => {
147
+ rt(e, (t, n) => {
277
148
  if (C(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
278
149
  return !1;
279
150
  const r = e[n];
@@ -287,107 +158,107 @@ const Qt = (e, t, n, { allOwnKeys: r } = {}) => (X(t, (s, o) => {
287
158
  });
288
159
  }
289
160
  });
290
- }, dn = (e, t) => {
161
+ }, sn = (e, t) => {
291
162
  const n = {}, r = (s) => {
292
163
  s.forEach((o) => {
293
164
  n[o] = !0;
294
165
  });
295
166
  };
296
- return H(e) ? r(e) : r(String(e).split(t)), n;
297
- }, pn = () => {
298
- }, mn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
299
- function hn(e) {
300
- return !!(e && C(e.append) && e[nt] === "FormData" && e[ae]);
167
+ return q(e) ? r(e) : r(String(e).split(t)), n;
168
+ }, on = () => {
169
+ }, an = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
170
+ function cn(e) {
171
+ return !!(e && C(e.append) && e[Ye] === "FormData" && e[ie]);
301
172
  }
302
- const yn = (e) => {
173
+ const ln = (e) => {
303
174
  const t = new Array(10), n = (r, s) => {
304
- if (W(r)) {
175
+ if (K(r)) {
305
176
  if (t.indexOf(r) >= 0)
306
177
  return;
307
- if (K(r))
178
+ if (V(r))
308
179
  return r;
309
180
  if (!("toJSON" in r)) {
310
181
  t[s] = r;
311
- const o = H(r) ? [] : {};
312
- return X(r, (i, a) => {
182
+ const o = q(r) ? [] : {};
183
+ return W(r, (i, a) => {
313
184
  const d = n(i, s + 1);
314
- !q(d) && (o[a] = d);
185
+ !H(d) && (o[a] = d);
315
186
  }), t[s] = void 0, o;
316
187
  }
317
188
  }
318
189
  return r;
319
190
  };
320
191
  return n(e, 0);
321
- }, wn = P("AsyncFunction"), En = (e) => e && (W(e) || C(e)) && C(e.then) && C(e.catch), ct = ((e, t) => e ? setImmediate : t ? ((n, r) => (I.addEventListener("message", ({ source: s, data: o }) => {
192
+ }, un = P("AsyncFunction"), fn = (e) => e && (K(e) || C(e)) && C(e.then) && C(e.catch), st = ((e, t) => e ? setImmediate : t ? ((n, r) => (I.addEventListener("message", ({ source: s, data: o }) => {
322
193
  s === I && o === n && r.length && r.shift()();
323
194
  }, !1), (s) => {
324
195
  r.push(s), I.postMessage(n, "*");
325
196
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
326
197
  typeof setImmediate == "function",
327
198
  C(I.postMessage)
328
- ), bn = typeof queueMicrotask < "u" ? queueMicrotask.bind(I) : typeof process < "u" && process.nextTick || ct, gn = (e) => e != null && C(e[ae]), c = {
329
- isArray: H,
330
- isArrayBuffer: rt,
331
- isBuffer: K,
332
- isFormData: Jt,
333
- isArrayBufferView: Bt,
334
- isString: It,
335
- isNumber: st,
336
- isBoolean: jt,
337
- isObject: W,
338
- isPlainObject: re,
339
- isEmptyObject: Mt,
340
- isReadableStream: Kt,
341
- isRequest: Wt,
342
- isResponse: Xt,
343
- isHeaders: Gt,
344
- isUndefined: q,
345
- isDate: $t,
346
- isFile: qt,
347
- isBlob: Ht,
348
- isRegExp: un,
199
+ ), dn = typeof queueMicrotask < "u" ? queueMicrotask.bind(I) : typeof process < "u" && process.nextTick || st, pn = (e) => e != null && C(e[ie]), c = {
200
+ isArray: q,
201
+ isArrayBuffer: Ze,
202
+ isBuffer: V,
203
+ isFormData: jt,
204
+ isArrayBufferView: xt,
205
+ isString: Pt,
206
+ isNumber: et,
207
+ isBoolean: Dt,
208
+ isObject: K,
209
+ isPlainObject: ne,
210
+ isEmptyObject: Ft,
211
+ isReadableStream: $t,
212
+ isRequest: Ht,
213
+ isResponse: qt,
214
+ isHeaders: zt,
215
+ isUndefined: H,
216
+ isDate: Ut,
217
+ isFile: Lt,
218
+ isBlob: kt,
219
+ isRegExp: nn,
349
220
  isFunction: C,
350
- isStream: vt,
351
- isURLSearchParams: Vt,
352
- isTypedArray: sn,
353
- isFileList: zt,
354
- forEach: X,
355
- merge: Ee,
356
- extend: Qt,
357
- trim: Zt,
358
- stripBOM: Yt,
359
- inherits: en,
360
- toFlatObject: tn,
361
- kindOf: ce,
221
+ isStream: It,
222
+ isURLSearchParams: Mt,
223
+ isTypedArray: Qt,
224
+ isFileList: Bt,
225
+ forEach: W,
226
+ merge: ye,
227
+ extend: Jt,
228
+ trim: vt,
229
+ stripBOM: Vt,
230
+ inherits: Kt,
231
+ toFlatObject: Wt,
232
+ kindOf: ae,
362
233
  kindOfTest: P,
363
- endsWith: nn,
364
- toArray: rn,
365
- forEachEntry: on,
366
- matchAll: an,
367
- isHTMLForm: cn,
368
- hasOwnProperty: Le,
369
- hasOwnProp: Le,
234
+ endsWith: Xt,
235
+ toArray: Gt,
236
+ forEachEntry: Yt,
237
+ matchAll: Zt,
238
+ isHTMLForm: en,
239
+ hasOwnProperty: Fe,
240
+ hasOwnProp: Fe,
370
241
  // an alias to avoid ESLint no-prototype-builtins detection
371
- reduceDescriptors: at,
372
- freezeMethods: fn,
373
- toObjectSet: dn,
374
- toCamelCase: ln,
375
- noop: pn,
376
- toFiniteNumber: mn,
377
- findKey: ot,
242
+ reduceDescriptors: rt,
243
+ freezeMethods: rn,
244
+ toObjectSet: sn,
245
+ toCamelCase: tn,
246
+ noop: on,
247
+ toFiniteNumber: an,
248
+ findKey: tt,
378
249
  global: I,
379
- isContextDefined: it,
380
- isSpecCompliantForm: hn,
381
- toJSONObject: yn,
382
- isAsyncFn: wn,
383
- isThenable: En,
384
- setImmediate: ct,
385
- asap: bn,
386
- isIterable: gn
250
+ isContextDefined: nt,
251
+ isSpecCompliantForm: cn,
252
+ toJSONObject: ln,
253
+ isAsyncFn: un,
254
+ isThenable: fn,
255
+ setImmediate: st,
256
+ asap: dn,
257
+ isIterable: pn
387
258
  };
388
- let w = class lt extends Error {
259
+ let w = class ot extends Error {
389
260
  static from(t, n, r, s, o, i) {
390
- const a = new lt(t.message, n || t.code, r, s, o);
261
+ const a = new ot(t.message, n || t.code, r, s, o);
391
262
  return a.cause = t, a.name = t.name, i && Object.assign(a, i), a;
392
263
  }
393
264
  /**
@@ -436,25 +307,25 @@ w.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
436
307
  w.ERR_CANCELED = "ERR_CANCELED";
437
308
  w.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
438
309
  w.ERR_INVALID_URL = "ERR_INVALID_URL";
439
- const Sn = null;
440
- function be(e) {
310
+ const mn = null;
311
+ function we(e) {
441
312
  return c.isPlainObject(e) || c.isArray(e);
442
313
  }
443
- function ut(e) {
314
+ function it(e) {
444
315
  return c.endsWith(e, "[]") ? e.slice(0, -2) : e;
445
316
  }
446
- function ke(e, t, n) {
317
+ function Ue(e, t, n) {
447
318
  return e ? e.concat(t).map(function(s, o) {
448
- return s = ut(s), !n && o ? "[" + s + "]" : s;
319
+ return s = it(s), !n && o ? "[" + s + "]" : s;
449
320
  }).join(n ? "." : "") : t;
450
321
  }
451
- function Rn(e) {
452
- return c.isArray(e) && !e.some(be);
322
+ function hn(e) {
323
+ return c.isArray(e) && !e.some(we);
453
324
  }
454
- const On = c.toFlatObject(c, {}, null, function(t) {
325
+ const yn = c.toFlatObject(c, {}, null, function(t) {
455
326
  return /^is[A-Z]/.test(t);
456
327
  });
457
- function ue(e, t, n) {
328
+ function le(e, t, n) {
458
329
  if (!c.isObject(e))
459
330
  throw new TypeError("target must be an object");
460
331
  t = t || new FormData(), n = c.toFlatObject(n, {
@@ -482,21 +353,21 @@ function ue(e, t, n) {
482
353
  if (f && !m && typeof f == "object") {
483
354
  if (c.endsWith(h, "{}"))
484
355
  h = r ? h : h.slice(0, -2), f = JSON.stringify(f);
485
- else if (c.isArray(f) && Rn(f) || (c.isFileList(f) || c.endsWith(h, "[]")) && (g = c.toArray(f)))
486
- return h = ut(h), g.forEach(function(y, S) {
356
+ else if (c.isArray(f) && hn(f) || (c.isFileList(f) || c.endsWith(h, "[]")) && (g = c.toArray(f)))
357
+ return h = it(h), g.forEach(function(y, S) {
487
358
  !(c.isUndefined(y) || y === null) && t.append(
488
359
  // eslint-disable-next-line no-nested-ternary
489
- i === !0 ? ke([h], S, o) : i === null ? h : h + "[]",
360
+ i === !0 ? Ue([h], S, o) : i === null ? h : h + "[]",
490
361
  u(y)
491
362
  );
492
363
  }), !1;
493
364
  }
494
- return be(f) ? !0 : (t.append(ke(m, h, o), u(f)), !1);
365
+ return we(f) ? !0 : (t.append(Ue(m, h, o), u(f)), !1);
495
366
  }
496
- const p = [], E = Object.assign(On, {
367
+ const p = [], E = Object.assign(yn, {
497
368
  defaultVisitor: l,
498
369
  convertValue: u,
499
- isVisitable: be
370
+ isVisitable: we
500
371
  });
501
372
  function _(f, h) {
502
373
  if (!c.isUndefined(f)) {
@@ -517,7 +388,7 @@ function ue(e, t, n) {
517
388
  throw new TypeError("data must be an object");
518
389
  return _(e), t;
519
390
  }
520
- function Be(e) {
391
+ function Le(e) {
521
392
  const t = {
522
393
  "!": "%21",
523
394
  "'": "%27",
@@ -531,38 +402,38 @@ function Be(e) {
531
402
  return t[r];
532
403
  });
533
404
  }
534
- function _e(e, t) {
535
- this._pairs = [], e && ue(e, this, t);
405
+ function Re(e, t) {
406
+ this._pairs = [], e && le(e, this, t);
536
407
  }
537
- const ft = _e.prototype;
538
- ft.append = function(t, n) {
408
+ const at = Re.prototype;
409
+ at.append = function(t, n) {
539
410
  this._pairs.push([t, n]);
540
411
  };
541
- ft.toString = function(t) {
412
+ at.toString = function(t) {
542
413
  const n = t ? function(r) {
543
- return t.call(this, r, Be);
544
- } : Be;
414
+ return t.call(this, r, Le);
415
+ } : Le;
545
416
  return this._pairs.map(function(s) {
546
417
  return n(s[0]) + "=" + n(s[1]);
547
418
  }, "").join("&");
548
419
  };
549
- function _n(e) {
420
+ function wn(e) {
550
421
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
551
422
  }
552
- function dt(e, t, n) {
423
+ function ct(e, t, n) {
553
424
  if (!t)
554
425
  return e;
555
- const r = n && n.encode || _n, s = c.isFunction(n) ? {
426
+ const r = n && n.encode || wn, s = c.isFunction(n) ? {
556
427
  serialize: n
557
428
  } : n, o = s && s.serialize;
558
429
  let i;
559
- if (o ? i = o(t, s) : i = c.isURLSearchParams(t) ? t.toString() : new _e(t, s).toString(r), i) {
430
+ if (o ? i = o(t, s) : i = c.isURLSearchParams(t) ? t.toString() : new Re(t, s).toString(r), i) {
560
431
  const a = e.indexOf("#");
561
432
  a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
562
433
  }
563
434
  return e;
564
435
  }
565
- class Ie {
436
+ class ke {
566
437
  constructor() {
567
438
  this.handlers = [];
568
439
  }
@@ -617,42 +488,42 @@ class Ie {
617
488
  });
618
489
  }
619
490
  }
620
- const pt = {
491
+ const lt = {
621
492
  silentJSONParsing: !0,
622
493
  forcedJSONParsing: !0,
623
494
  clarifyTimeoutError: !1
624
- }, An = typeof URLSearchParams < "u" ? URLSearchParams : _e, Tn = typeof FormData < "u" ? FormData : null, Cn = typeof Blob < "u" ? Blob : null, Nn = {
495
+ }, En = typeof URLSearchParams < "u" ? URLSearchParams : Re, bn = typeof FormData < "u" ? FormData : null, gn = typeof Blob < "u" ? Blob : null, Sn = {
625
496
  isBrowser: !0,
626
497
  classes: {
627
- URLSearchParams: An,
628
- FormData: Tn,
629
- Blob: Cn
498
+ URLSearchParams: En,
499
+ FormData: bn,
500
+ Blob: gn
630
501
  },
631
502
  protocols: ["http", "https", "file", "blob", "url", "data"]
632
- }, Ae = typeof window < "u" && typeof document < "u", ge = typeof navigator == "object" && navigator || void 0, xn = Ae && (!ge || ["ReactNative", "NativeScript", "NS"].indexOf(ge.product) < 0), Pn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
633
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Dn = Ae && window.location.href || "http://localhost", Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
503
+ }, Oe = typeof window < "u" && typeof document < "u", Ee = typeof navigator == "object" && navigator || void 0, Rn = Oe && (!Ee || ["ReactNative", "NativeScript", "NS"].indexOf(Ee.product) < 0), On = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
504
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", _n = Oe && window.location.href || "http://localhost", Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
634
505
  __proto__: null,
635
- hasBrowserEnv: Ae,
636
- hasStandardBrowserEnv: xn,
637
- hasStandardBrowserWebWorkerEnv: Pn,
638
- navigator: ge,
639
- origin: Dn
640
- }, Symbol.toStringTag, { value: "Module" })), A = {
641
- ...Fn,
642
- ...Nn
506
+ hasBrowserEnv: Oe,
507
+ hasStandardBrowserEnv: Rn,
508
+ hasStandardBrowserWebWorkerEnv: On,
509
+ navigator: Ee,
510
+ origin: _n
511
+ }, Symbol.toStringTag, { value: "Module" })), T = {
512
+ ...Tn,
513
+ ...Sn
643
514
  };
644
- function Un(e, t) {
645
- return ue(e, new A.classes.URLSearchParams(), {
515
+ function An(e, t) {
516
+ return le(e, new T.classes.URLSearchParams(), {
646
517
  visitor: function(n, r, s, o) {
647
- return A.isNode && c.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
518
+ return T.isNode && c.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
648
519
  },
649
520
  ...t
650
521
  });
651
522
  }
652
- function Ln(e) {
523
+ function Cn(e) {
653
524
  return c.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
654
525
  }
655
- function kn(e) {
526
+ function Nn(e) {
656
527
  const t = {}, n = Object.keys(e);
657
528
  let r;
658
529
  const s = n.length;
@@ -661,22 +532,22 @@ function kn(e) {
661
532
  o = n[r], t[o] = e[o];
662
533
  return t;
663
534
  }
664
- function mt(e) {
535
+ function ut(e) {
665
536
  function t(n, r, s, o) {
666
537
  let i = n[o++];
667
538
  if (i === "__proto__") return !0;
668
539
  const a = Number.isFinite(+i), d = o >= n.length;
669
- return i = !i && c.isArray(s) ? s.length : i, d ? (c.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !a) : ((!s[i] || !c.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && c.isArray(s[i]) && (s[i] = kn(s[i])), !a);
540
+ return i = !i && c.isArray(s) ? s.length : i, d ? (c.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !a) : ((!s[i] || !c.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && c.isArray(s[i]) && (s[i] = Nn(s[i])), !a);
670
541
  }
671
542
  if (c.isFormData(e) && c.isFunction(e.entries)) {
672
543
  const n = {};
673
544
  return c.forEachEntry(e, (r, s) => {
674
- t(Ln(r), s, n, 0);
545
+ t(Cn(r), s, n, 0);
675
546
  }), n;
676
547
  }
677
548
  return null;
678
549
  }
679
- function Bn(e, t, n) {
550
+ function xn(e, t, n) {
680
551
  if (c.isString(e))
681
552
  try {
682
553
  return (t || JSON.parse)(e), c.trim(e);
@@ -686,13 +557,13 @@ function Bn(e, t, n) {
686
557
  }
687
558
  return (n || JSON.stringify)(e);
688
559
  }
689
- const G = {
690
- transitional: pt,
560
+ const X = {
561
+ transitional: lt,
691
562
  adapter: ["xhr", "http", "fetch"],
692
563
  transformRequest: [function(t, n) {
693
564
  const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = c.isObject(t);
694
565
  if (o && c.isHTMLForm(t) && (t = new FormData(t)), c.isFormData(t))
695
- return s ? JSON.stringify(mt(t)) : t;
566
+ return s ? JSON.stringify(ut(t)) : t;
696
567
  if (c.isArrayBuffer(t) || c.isBuffer(t) || c.isStream(t) || c.isFile(t) || c.isBlob(t) || c.isReadableStream(t))
697
568
  return t;
698
569
  if (c.isArrayBufferView(t))
@@ -702,20 +573,20 @@ const G = {
702
573
  let a;
703
574
  if (o) {
704
575
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
705
- return Un(t, this.formSerializer).toString();
576
+ return An(t, this.formSerializer).toString();
706
577
  if ((a = c.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
707
578
  const d = this.env && this.env.FormData;
708
- return ue(
579
+ return le(
709
580
  a ? { "files[]": t } : t,
710
581
  d && new d(),
711
582
  this.formSerializer
712
583
  );
713
584
  }
714
585
  }
715
- return o || s ? (n.setContentType("application/json", !1), Bn(t)) : t;
586
+ return o || s ? (n.setContentType("application/json", !1), xn(t)) : t;
716
587
  }],
717
588
  transformResponse: [function(t) {
718
- const n = this.transitional || G.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
589
+ const n = this.transitional || X.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
719
590
  if (c.isResponse(t) || c.isReadableStream(t))
720
591
  return t;
721
592
  if (t && c.isString(t) && (r && !this.responseType || s)) {
@@ -739,8 +610,8 @@ const G = {
739
610
  maxContentLength: -1,
740
611
  maxBodyLength: -1,
741
612
  env: {
742
- FormData: A.classes.FormData,
743
- Blob: A.classes.Blob
613
+ FormData: T.classes.FormData,
614
+ Blob: T.classes.Blob
744
615
  },
745
616
  validateStatus: function(t) {
746
617
  return t >= 200 && t < 300;
@@ -753,9 +624,9 @@ const G = {
753
624
  }
754
625
  };
755
626
  c.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
756
- G.headers[e] = {};
627
+ X.headers[e] = {};
757
628
  });
758
- const In = c.toObjectSet([
629
+ const Pn = c.toObjectSet([
759
630
  "age",
760
631
  "authorization",
761
632
  "content-length",
@@ -773,29 +644,29 @@ const In = c.toObjectSet([
773
644
  "referer",
774
645
  "retry-after",
775
646
  "user-agent"
776
- ]), jn = (e) => {
647
+ ]), Dn = (e) => {
777
648
  const t = {};
778
649
  let n, r, s;
779
650
  return e && e.split(`
780
651
  `).forEach(function(i) {
781
- s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && In[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
652
+ s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && Pn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
782
653
  }), t;
783
- }, je = Symbol("internals");
654
+ }, Be = Symbol("internals");
784
655
  function v(e) {
785
656
  return e && String(e).trim().toLowerCase();
786
657
  }
787
- function se(e) {
788
- return e === !1 || e == null ? e : c.isArray(e) ? e.map(se) : String(e);
658
+ function re(e) {
659
+ return e === !1 || e == null ? e : c.isArray(e) ? e.map(re) : String(e);
789
660
  }
790
- function Mn(e) {
661
+ function Fn(e) {
791
662
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
792
663
  let r;
793
664
  for (; r = n.exec(e); )
794
665
  t[r[1]] = r[2];
795
666
  return t;
796
667
  }
797
- const $n = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
798
- function me(e, t, n, r, s) {
668
+ const Un = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
669
+ function pe(e, t, n, r, s) {
799
670
  if (c.isFunction(r))
800
671
  return r.call(this, t, n);
801
672
  if (s && (t = n), !!c.isString(t)) {
@@ -805,10 +676,10 @@ function me(e, t, n, r, s) {
805
676
  return r.test(t);
806
677
  }
807
678
  }
808
- function qn(e) {
679
+ function Ln(e) {
809
680
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
810
681
  }
811
- function Hn(e, t) {
682
+ function kn(e, t) {
812
683
  const n = c.toCamelCase(" " + t);
813
684
  ["get", "set", "has"].forEach((r) => {
814
685
  Object.defineProperty(e, r + n, {
@@ -830,13 +701,13 @@ let N = class {
830
701
  if (!l)
831
702
  throw new Error("header name must be a non-empty string");
832
703
  const p = c.findKey(s, l);
833
- (!p || s[p] === void 0 || u === !0 || u === void 0 && s[p] !== !1) && (s[p || d] = se(a));
704
+ (!p || s[p] === void 0 || u === !0 || u === void 0 && s[p] !== !1) && (s[p || d] = re(a));
834
705
  }
835
706
  const i = (a, d) => c.forEach(a, (u, l) => o(u, l, d));
836
707
  if (c.isPlainObject(t) || t instanceof this.constructor)
837
708
  i(t, n);
838
- else if (c.isString(t) && (t = t.trim()) && !$n(t))
839
- i(jn(t), n);
709
+ else if (c.isString(t) && (t = t.trim()) && !Un(t))
710
+ i(Dn(t), n);
840
711
  else if (c.isObject(t) && c.isIterable(t)) {
841
712
  let a = {}, d, u;
842
713
  for (const l of t) {
@@ -857,7 +728,7 @@ let N = class {
857
728
  if (!n)
858
729
  return s;
859
730
  if (n === !0)
860
- return Mn(s);
731
+ return Fn(s);
861
732
  if (c.isFunction(n))
862
733
  return n.call(this, s, r);
863
734
  if (c.isRegExp(n))
@@ -869,7 +740,7 @@ let N = class {
869
740
  has(t, n) {
870
741
  if (t = v(t), t) {
871
742
  const r = c.findKey(this, t);
872
- return !!(r && this[r] !== void 0 && (!n || me(this, this[r], r, n)));
743
+ return !!(r && this[r] !== void 0 && (!n || pe(this, this[r], r, n)));
873
744
  }
874
745
  return !1;
875
746
  }
@@ -879,7 +750,7 @@ let N = class {
879
750
  function o(i) {
880
751
  if (i = v(i), i) {
881
752
  const a = c.findKey(r, i);
882
- a && (!n || me(r, r[a], a, n)) && (delete r[a], s = !0);
753
+ a && (!n || pe(r, r[a], a, n)) && (delete r[a], s = !0);
883
754
  }
884
755
  }
885
756
  return c.isArray(t) ? t.forEach(o) : o(t), s;
@@ -889,7 +760,7 @@ let N = class {
889
760
  let r = n.length, s = !1;
890
761
  for (; r--; ) {
891
762
  const o = n[r];
892
- (!t || me(this, this[o], o, t, !0)) && (delete this[o], s = !0);
763
+ (!t || pe(this, this[o], o, t, !0)) && (delete this[o], s = !0);
893
764
  }
894
765
  return s;
895
766
  }
@@ -898,11 +769,11 @@ let N = class {
898
769
  return c.forEach(this, (s, o) => {
899
770
  const i = c.findKey(r, o);
900
771
  if (i) {
901
- n[i] = se(s), delete n[o];
772
+ n[i] = re(s), delete n[o];
902
773
  return;
903
774
  }
904
- const a = t ? qn(o) : String(o).trim();
905
- a !== o && delete n[o], n[a] = se(s), r[a] = !0;
775
+ const a = t ? Ln(o) : String(o).trim();
776
+ a !== o && delete n[o], n[a] = re(s), r[a] = !0;
906
777
  }), this;
907
778
  }
908
779
  concat(...t) {
@@ -935,12 +806,12 @@ let N = class {
935
806
  return n.forEach((s) => r.set(s)), r;
936
807
  }
937
808
  static accessor(t) {
938
- const r = (this[je] = this[je] = {
809
+ const r = (this[Be] = this[Be] = {
939
810
  accessors: {}
940
811
  }).accessors, s = this.prototype;
941
812
  function o(i) {
942
813
  const a = v(i);
943
- r[a] || (Hn(s, i), r[a] = !0);
814
+ r[a] || (kn(s, i), r[a] = !0);
944
815
  }
945
816
  return c.isArray(t) ? t.forEach(o) : o(t), this;
946
817
  }
@@ -956,17 +827,17 @@ c.reduceDescriptors(N.prototype, ({ value: e }, t) => {
956
827
  };
957
828
  });
958
829
  c.freezeMethods(N);
959
- function he(e, t) {
960
- const n = this || G, r = t || n, s = N.from(r.headers);
830
+ function me(e, t) {
831
+ const n = this || X, r = t || n, s = N.from(r.headers);
961
832
  let o = r.data;
962
833
  return c.forEach(e, function(a) {
963
834
  o = a.call(n, o, s.normalize(), t ? t.status : void 0);
964
835
  }), s.normalize(), o;
965
836
  }
966
- function ht(e) {
837
+ function ft(e) {
967
838
  return !!(e && e.__CANCEL__);
968
839
  }
969
- let Z = class extends w {
840
+ let G = class extends w {
970
841
  /**
971
842
  * A `CanceledError` is an object that is thrown when an operation is canceled.
972
843
  *
@@ -980,7 +851,7 @@ let Z = class extends w {
980
851
  super(t ?? "canceled", w.ERR_CANCELED, n, r), this.name = "CanceledError", this.__CANCEL__ = !0;
981
852
  }
982
853
  };
983
- function yt(e, t, n) {
854
+ function dt(e, t, n) {
984
855
  const r = n.config.validateStatus;
985
856
  !n.status || !r || r(n.status) ? e(n) : t(new w(
986
857
  "Request failed with status code " + n.status,
@@ -990,11 +861,11 @@ function yt(e, t, n) {
990
861
  n
991
862
  ));
992
863
  }
993
- function zn(e) {
864
+ function Bn(e) {
994
865
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
995
866
  return t && t[1] || "";
996
867
  }
997
- function vn(e, t) {
868
+ function In(e, t) {
998
869
  e = e || 10;
999
870
  const n = new Array(e), r = new Array(e);
1000
871
  let s = 0, o = 0, i;
@@ -1010,7 +881,7 @@ function vn(e, t) {
1010
881
  return _ ? Math.round(E * 1e3 / _) : void 0;
1011
882
  };
1012
883
  }
1013
- function Jn(e, t) {
884
+ function jn(e, t) {
1014
885
  let n = 0, r = 1e3 / t, s, o;
1015
886
  const i = (u, l = Date.now()) => {
1016
887
  n = l, s = null, o && (clearTimeout(o), o = null), e(...u);
@@ -1022,10 +893,10 @@ function Jn(e, t) {
1022
893
  }, r - p)));
1023
894
  }, () => s && i(s)];
1024
895
  }
1025
- const ie = (e, t, n = 3) => {
896
+ const oe = (e, t, n = 3) => {
1026
897
  let r = 0;
1027
- const s = vn(50, 250);
1028
- return Jn((o) => {
898
+ const s = In(50, 250);
899
+ return jn((o) => {
1029
900
  const i = o.loaded, a = o.lengthComputable ? o.total : void 0, d = i - r, u = s(d), l = i <= a;
1030
901
  r = i;
1031
902
  const p = {
@@ -1041,17 +912,17 @@ const ie = (e, t, n = 3) => {
1041
912
  };
1042
913
  e(p);
1043
914
  }, n);
1044
- }, Me = (e, t) => {
915
+ }, Ie = (e, t) => {
1045
916
  const n = e != null;
1046
917
  return [(r) => t[0]({
1047
918
  lengthComputable: n,
1048
919
  total: e,
1049
920
  loaded: r
1050
921
  }), t[1]];
1051
- }, $e = (e) => (...t) => c.asap(() => e(...t)), Vn = A.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, A.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1052
- new URL(A.origin),
1053
- A.navigator && /(msie|trident)/i.test(A.navigator.userAgent)
1054
- ) : () => !0, Kn = A.hasStandardBrowserEnv ? (
922
+ }, je = (e) => (...t) => c.asap(() => e(...t)), Mn = T.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, T.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
923
+ new URL(T.origin),
924
+ T.navigator && /(msie|trident)/i.test(T.navigator.userAgent)
925
+ ) : () => !0, $n = T.hasStandardBrowserEnv ? (
1055
926
  // Standard browser envs support document.cookie
1056
927
  {
1057
928
  write(e, t, n, r, s, o, i) {
@@ -1080,17 +951,17 @@ const ie = (e, t, n = 3) => {
1080
951
  }
1081
952
  }
1082
953
  );
1083
- function Wn(e) {
954
+ function Hn(e) {
1084
955
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
1085
956
  }
1086
- function Xn(e, t) {
957
+ function qn(e, t) {
1087
958
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1088
959
  }
1089
- function wt(e, t, n) {
1090
- let r = !Wn(t);
1091
- return e && (r || n == !1) ? Xn(e, t) : t;
960
+ function pt(e, t, n) {
961
+ let r = !Hn(t);
962
+ return e && (r || n == !1) ? qn(e, t) : t;
1092
963
  }
1093
- const qe = (e) => e instanceof N ? { ...e } : e;
964
+ const Me = (e) => e instanceof N ? { ...e } : e;
1094
965
  function M(e, t) {
1095
966
  t = t || {};
1096
967
  const n = {};
@@ -1148,21 +1019,21 @@ function M(e, t) {
1148
1019
  socketPath: i,
1149
1020
  responseEncoding: i,
1150
1021
  validateStatus: a,
1151
- headers: (u, l, p) => s(qe(u), qe(l), p, !0)
1022
+ headers: (u, l, p) => s(Me(u), Me(l), p, !0)
1152
1023
  };
1153
1024
  return c.forEach(Object.keys({ ...e, ...t }), function(l) {
1154
1025
  const p = d[l] || s, E = p(e[l], t[l], l);
1155
1026
  c.isUndefined(E) && p !== a || (n[l] = E);
1156
1027
  }), n;
1157
1028
  }
1158
- const Et = (e) => {
1029
+ const mt = (e) => {
1159
1030
  const t = M({}, e);
1160
1031
  let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: a } = t;
1161
- if (t.headers = i = N.from(i), t.url = dt(wt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
1032
+ if (t.headers = i = N.from(i), t.url = ct(pt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
1162
1033
  "Authorization",
1163
1034
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1164
1035
  ), c.isFormData(n)) {
1165
- if (A.hasStandardBrowserEnv || A.hasStandardBrowserWebWorkerEnv)
1036
+ if (T.hasStandardBrowserEnv || T.hasStandardBrowserWebWorkerEnv)
1166
1037
  i.setContentType(void 0);
1167
1038
  else if (c.isFunction(n.getHeaders)) {
1168
1039
  const d = n.getHeaders(), u = ["content-type", "content-length"];
@@ -1171,14 +1042,14 @@ const Et = (e) => {
1171
1042
  });
1172
1043
  }
1173
1044
  }
1174
- if (A.hasStandardBrowserEnv && (r && c.isFunction(r) && (r = r(t)), r || r !== !1 && Vn(t.url))) {
1175
- const d = s && o && Kn.read(o);
1045
+ if (T.hasStandardBrowserEnv && (r && c.isFunction(r) && (r = r(t)), r || r !== !1 && Mn(t.url))) {
1046
+ const d = s && o && $n.read(o);
1176
1047
  d && i.set(s, d);
1177
1048
  }
1178
1049
  return t;
1179
- }, Gn = typeof XMLHttpRequest < "u", Zn = Gn && function(e) {
1050
+ }, zn = typeof XMLHttpRequest < "u", vn = zn && function(e) {
1180
1051
  return new Promise(function(n, r) {
1181
- const s = Et(e);
1052
+ const s = mt(e);
1182
1053
  let o = s.data;
1183
1054
  const i = N.from(s.headers).normalize();
1184
1055
  let { responseType: a, onUploadProgress: d, onDownloadProgress: u } = s, l, p, E, _, f;
@@ -1192,7 +1063,7 @@ const Et = (e) => {
1192
1063
  return;
1193
1064
  const y = N.from(
1194
1065
  "getAllResponseHeaders" in m && m.getAllResponseHeaders()
1195
- ), T = {
1066
+ ), A = {
1196
1067
  data: !a || a === "text" || a === "json" ? m.responseText : m.response,
1197
1068
  status: m.status,
1198
1069
  statusText: m.statusText,
@@ -1200,41 +1071,41 @@ const Et = (e) => {
1200
1071
  config: e,
1201
1072
  request: m
1202
1073
  };
1203
- yt(function(x) {
1074
+ dt(function(x) {
1204
1075
  n(x), h();
1205
1076
  }, function(x) {
1206
1077
  r(x), h();
1207
- }, T), m = null;
1078
+ }, A), m = null;
1208
1079
  }
1209
1080
  "onloadend" in m ? m.onloadend = g : m.onreadystatechange = function() {
1210
1081
  !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(g);
1211
1082
  }, m.onabort = function() {
1212
1083
  m && (r(new w("Request aborted", w.ECONNABORTED, e, m)), m = null);
1213
1084
  }, m.onerror = function(S) {
1214
- const T = S && S.message ? S.message : "Network Error", U = new w(T, w.ERR_NETWORK, e, m);
1085
+ const A = S && S.message ? S.message : "Network Error", U = new w(A, w.ERR_NETWORK, e, m);
1215
1086
  U.event = S || null, r(U), m = null;
1216
1087
  }, m.ontimeout = function() {
1217
1088
  let S = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
1218
- const T = s.transitional || pt;
1089
+ const A = s.transitional || lt;
1219
1090
  s.timeoutErrorMessage && (S = s.timeoutErrorMessage), r(new w(
1220
1091
  S,
1221
- T.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
1092
+ A.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
1222
1093
  e,
1223
1094
  m
1224
1095
  )), m = null;
1225
- }, o === void 0 && i.setContentType(null), "setRequestHeader" in m && c.forEach(i.toJSON(), function(S, T) {
1226
- m.setRequestHeader(T, S);
1227
- }), c.isUndefined(s.withCredentials) || (m.withCredentials = !!s.withCredentials), a && a !== "json" && (m.responseType = s.responseType), u && ([E, f] = ie(u, !0), m.addEventListener("progress", E)), d && m.upload && ([p, _] = ie(d), m.upload.addEventListener("progress", p), m.upload.addEventListener("loadend", _)), (s.cancelToken || s.signal) && (l = (y) => {
1228
- m && (r(!y || y.type ? new Z(null, e, m) : y), m.abort(), m = null);
1096
+ }, o === void 0 && i.setContentType(null), "setRequestHeader" in m && c.forEach(i.toJSON(), function(S, A) {
1097
+ m.setRequestHeader(A, S);
1098
+ }), c.isUndefined(s.withCredentials) || (m.withCredentials = !!s.withCredentials), a && a !== "json" && (m.responseType = s.responseType), u && ([E, f] = oe(u, !0), m.addEventListener("progress", E)), d && m.upload && ([p, _] = oe(d), m.upload.addEventListener("progress", p), m.upload.addEventListener("loadend", _)), (s.cancelToken || s.signal) && (l = (y) => {
1099
+ m && (r(!y || y.type ? new G(null, e, m) : y), m.abort(), m = null);
1229
1100
  }, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
1230
- const R = zn(s.url);
1231
- if (R && A.protocols.indexOf(R) === -1) {
1101
+ const R = Bn(s.url);
1102
+ if (R && T.protocols.indexOf(R) === -1) {
1232
1103
  r(new w("Unsupported protocol " + R + ":", w.ERR_BAD_REQUEST, e));
1233
1104
  return;
1234
1105
  }
1235
1106
  m.send(o || null);
1236
1107
  });
1237
- }, Qn = (e, t) => {
1108
+ }, Jn = (e, t) => {
1238
1109
  const { length: n } = e = e ? e.filter(Boolean) : [];
1239
1110
  if (t || n) {
1240
1111
  let r = new AbortController(), s;
@@ -1242,7 +1113,7 @@ const Et = (e) => {
1242
1113
  if (!s) {
1243
1114
  s = !0, a();
1244
1115
  const l = u instanceof Error ? u : this.reason;
1245
- r.abort(l instanceof w ? l : new Z(l instanceof Error ? l.message : l));
1116
+ r.abort(l instanceof w ? l : new G(l instanceof Error ? l.message : l));
1246
1117
  }
1247
1118
  };
1248
1119
  let i = t && setTimeout(() => {
@@ -1257,7 +1128,7 @@ const Et = (e) => {
1257
1128
  const { signal: d } = r;
1258
1129
  return d.unsubscribe = () => c.asap(a), d;
1259
1130
  }
1260
- }, Yn = function* (e, t) {
1131
+ }, Vn = function* (e, t) {
1261
1132
  let n = e.byteLength;
1262
1133
  if (n < t) {
1263
1134
  yield e;
@@ -1266,10 +1137,10 @@ const Et = (e) => {
1266
1137
  let r = 0, s;
1267
1138
  for (; r < n; )
1268
1139
  s = r + t, yield e.slice(r, s), r = s;
1269
- }, er = async function* (e, t) {
1270
- for await (const n of tr(e))
1271
- yield* Yn(n, t);
1272
- }, tr = async function* (e) {
1140
+ }, Kn = async function* (e, t) {
1141
+ for await (const n of Wn(e))
1142
+ yield* Vn(n, t);
1143
+ }, Wn = async function* (e) {
1273
1144
  if (e[Symbol.asyncIterator]) {
1274
1145
  yield* e;
1275
1146
  return;
@@ -1285,8 +1156,8 @@ const Et = (e) => {
1285
1156
  } finally {
1286
1157
  await t.cancel();
1287
1158
  }
1288
- }, He = (e, t, n, r) => {
1289
- const s = er(e, t);
1159
+ }, $e = (e, t, n, r) => {
1160
+ const s = Kn(e, t);
1290
1161
  let o = 0, i, a = (d) => {
1291
1162
  i || (i = !0, r && r(d));
1292
1163
  };
@@ -1314,36 +1185,36 @@ const Et = (e) => {
1314
1185
  }, {
1315
1186
  highWaterMark: 2
1316
1187
  });
1317
- }, ze = 64 * 1024, { isFunction: ne } = c, nr = (({ Request: e, Response: t }) => ({
1188
+ }, He = 64 * 1024, { isFunction: te } = c, Xn = (({ Request: e, Response: t }) => ({
1318
1189
  Request: e,
1319
1190
  Response: t
1320
1191
  }))(c.global), {
1321
- ReadableStream: ve,
1322
- TextEncoder: Je
1323
- } = c.global, Ve = (e, ...t) => {
1192
+ ReadableStream: qe,
1193
+ TextEncoder: ze
1194
+ } = c.global, ve = (e, ...t) => {
1324
1195
  try {
1325
1196
  return !!e(...t);
1326
1197
  } catch {
1327
1198
  return !1;
1328
1199
  }
1329
- }, rr = (e) => {
1200
+ }, Gn = (e) => {
1330
1201
  e = c.merge.call({
1331
1202
  skipUndefined: !0
1332
- }, nr, e);
1333
- const { fetch: t, Request: n, Response: r } = e, s = t ? ne(t) : typeof fetch == "function", o = ne(n), i = ne(r);
1203
+ }, Xn, e);
1204
+ const { fetch: t, Request: n, Response: r } = e, s = t ? te(t) : typeof fetch == "function", o = te(n), i = te(r);
1334
1205
  if (!s)
1335
1206
  return !1;
1336
- const a = s && ne(ve), d = s && (typeof Je == "function" ? /* @__PURE__ */ ((f) => (h) => f.encode(h))(new Je()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), u = o && a && Ve(() => {
1207
+ const a = s && te(qe), d = s && (typeof ze == "function" ? /* @__PURE__ */ ((f) => (h) => f.encode(h))(new ze()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), u = o && a && ve(() => {
1337
1208
  let f = !1;
1338
- const h = new n(A.origin, {
1339
- body: new ve(),
1209
+ const h = new n(T.origin, {
1210
+ body: new qe(),
1340
1211
  method: "POST",
1341
1212
  get duplex() {
1342
1213
  return f = !0, "half";
1343
1214
  }
1344
1215
  }).headers.has("Content-Type");
1345
1216
  return f && !h;
1346
- }), l = i && a && Ve(() => c.isReadableStream(new r("").body)), p = {
1217
+ }), l = i && a && ve(() => c.isReadableStream(new r("").body)), p = {
1347
1218
  stream: l && ((f) => f.body)
1348
1219
  };
1349
1220
  s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
@@ -1360,7 +1231,7 @@ const Et = (e) => {
1360
1231
  if (c.isBlob(f))
1361
1232
  return f.size;
1362
1233
  if (c.isSpecCompliantForm(f))
1363
- return (await new n(A.origin, {
1234
+ return (await new n(T.origin, {
1364
1235
  method: "POST",
1365
1236
  body: f
1366
1237
  }).arrayBuffer()).byteLength;
@@ -1380,68 +1251,68 @@ const Et = (e) => {
1380
1251
  signal: R,
1381
1252
  cancelToken: y,
1382
1253
  timeout: S,
1383
- onDownloadProgress: T,
1254
+ onDownloadProgress: A,
1384
1255
  onUploadProgress: U,
1385
1256
  responseType: x,
1386
- headers: de,
1257
+ headers: fe,
1387
1258
  withCredentials: Q = "same-origin",
1388
- fetchOptions: Ce
1389
- } = Et(f), Ne = t || fetch;
1259
+ fetchOptions: Te
1260
+ } = mt(f), Ae = t || fetch;
1390
1261
  x = x ? (x + "").toLowerCase() : "text";
1391
- let Y = Qn([R, y && y.toAbortSignal()], S), z = null;
1262
+ let Y = Jn([R, y && y.toAbortSignal()], S), z = null;
1392
1263
  const B = Y && Y.unsubscribe && (() => {
1393
1264
  Y.unsubscribe();
1394
1265
  });
1395
- let xe;
1266
+ let Ce;
1396
1267
  try {
1397
- if (U && u && m !== "get" && m !== "head" && (xe = await _(de, g)) !== 0) {
1268
+ if (U && u && m !== "get" && m !== "head" && (Ce = await _(fe, g)) !== 0) {
1398
1269
  let k = new n(h, {
1399
1270
  method: "POST",
1400
1271
  body: g,
1401
1272
  duplex: "half"
1402
1273
  }), $;
1403
- if (c.isFormData(g) && ($ = k.headers.get("content-type")) && de.setContentType($), k.body) {
1404
- const [pe, ee] = Me(
1405
- xe,
1406
- ie($e(U))
1274
+ if (c.isFormData(g) && ($ = k.headers.get("content-type")) && fe.setContentType($), k.body) {
1275
+ const [de, Z] = Ie(
1276
+ Ce,
1277
+ oe(je(U))
1407
1278
  );
1408
- g = He(k.body, ze, pe, ee);
1279
+ g = $e(k.body, He, de, Z);
1409
1280
  }
1410
1281
  }
1411
1282
  c.isString(Q) || (Q = Q ? "include" : "omit");
1412
- const D = o && "credentials" in n.prototype, Pe = {
1413
- ...Ce,
1283
+ const D = o && "credentials" in n.prototype, Ne = {
1284
+ ...Te,
1414
1285
  signal: Y,
1415
1286
  method: m.toUpperCase(),
1416
- headers: de.normalize().toJSON(),
1287
+ headers: fe.normalize().toJSON(),
1417
1288
  body: g,
1418
1289
  duplex: "half",
1419
1290
  credentials: D ? Q : void 0
1420
1291
  };
1421
- z = o && new n(h, Pe);
1422
- let L = await (o ? Ne(z, Ce) : Ne(h, Pe));
1423
- const De = l && (x === "stream" || x === "response");
1424
- if (l && (T || De && B)) {
1292
+ z = o && new n(h, Ne);
1293
+ let L = await (o ? Ae(z, Te) : Ae(h, Ne));
1294
+ const xe = l && (x === "stream" || x === "response");
1295
+ if (l && (A || xe && B)) {
1425
1296
  const k = {};
1426
- ["status", "statusText", "headers"].forEach((Fe) => {
1427
- k[Fe] = L[Fe];
1297
+ ["status", "statusText", "headers"].forEach((Pe) => {
1298
+ k[Pe] = L[Pe];
1428
1299
  });
1429
- const $ = c.toFiniteNumber(L.headers.get("content-length")), [pe, ee] = T && Me(
1300
+ const $ = c.toFiniteNumber(L.headers.get("content-length")), [de, Z] = A && Ie(
1430
1301
  $,
1431
- ie($e(T), !0)
1302
+ oe(je(A), !0)
1432
1303
  ) || [];
1433
1304
  L = new r(
1434
- He(L.body, ze, pe, () => {
1435
- ee && ee(), B && B();
1305
+ $e(L.body, He, de, () => {
1306
+ Z && Z(), B && B();
1436
1307
  }),
1437
1308
  k
1438
1309
  );
1439
1310
  }
1440
1311
  x = x || "text";
1441
- let _t = await p[c.findKey(p, x) || "text"](L, f);
1442
- return !De && B && B(), await new Promise((k, $) => {
1443
- yt(k, $, {
1444
- data: _t,
1312
+ let gt = await p[c.findKey(p, x) || "text"](L, f);
1313
+ return !xe && B && B(), await new Promise((k, $) => {
1314
+ dt(k, $, {
1315
+ data: gt,
1445
1316
  headers: N.from(L.headers),
1446
1317
  status: L.status,
1447
1318
  statusText: L.statusText,
@@ -1458,27 +1329,27 @@ const Et = (e) => {
1458
1329
  ) : w.from(D, D && D.code, f, z);
1459
1330
  }
1460
1331
  };
1461
- }, sr = /* @__PURE__ */ new Map(), bt = (e) => {
1332
+ }, Qn = /* @__PURE__ */ new Map(), ht = (e) => {
1462
1333
  let t = e && e.env || {};
1463
1334
  const { fetch: n, Request: r, Response: s } = t, o = [
1464
1335
  r,
1465
1336
  s,
1466
1337
  n
1467
1338
  ];
1468
- let i = o.length, a = i, d, u, l = sr;
1339
+ let i = o.length, a = i, d, u, l = Qn;
1469
1340
  for (; a--; )
1470
- d = o[a], u = l.get(d), u === void 0 && l.set(d, u = a ? /* @__PURE__ */ new Map() : rr(t)), l = u;
1341
+ d = o[a], u = l.get(d), u === void 0 && l.set(d, u = a ? /* @__PURE__ */ new Map() : Gn(t)), l = u;
1471
1342
  return u;
1472
1343
  };
1473
- bt();
1474
- const Te = {
1475
- http: Sn,
1476
- xhr: Zn,
1344
+ ht();
1345
+ const _e = {
1346
+ http: mn,
1347
+ xhr: vn,
1477
1348
  fetch: {
1478
- get: bt
1349
+ get: ht
1479
1350
  }
1480
1351
  };
1481
- c.forEach(Te, (e, t) => {
1352
+ c.forEach(_e, (e, t) => {
1482
1353
  if (e) {
1483
1354
  try {
1484
1355
  Object.defineProperty(e, "name", { value: t });
@@ -1487,8 +1358,8 @@ c.forEach(Te, (e, t) => {
1487
1358
  Object.defineProperty(e, "adapterName", { value: t });
1488
1359
  }
1489
1360
  });
1490
- const Ke = (e) => `- ${e}`, or = (e) => c.isFunction(e) || e === null || e === !1;
1491
- function ir(e, t) {
1361
+ const Je = (e) => `- ${e}`, Yn = (e) => c.isFunction(e) || e === null || e === !1;
1362
+ function Zn(e, t) {
1492
1363
  e = c.isArray(e) ? e : [e];
1493
1364
  const { length: n } = e;
1494
1365
  let r, s;
@@ -1496,7 +1367,7 @@ function ir(e, t) {
1496
1367
  for (let i = 0; i < n; i++) {
1497
1368
  r = e[i];
1498
1369
  let a;
1499
- if (s = r, !or(r) && (s = Te[(a = String(r)).toLowerCase()], s === void 0))
1370
+ if (s = r, !Yn(r) && (s = _e[(a = String(r)).toLowerCase()], s === void 0))
1500
1371
  throw new w(`Unknown adapter '${a}'`);
1501
1372
  if (s && (c.isFunction(s) || (s = s.get(t))))
1502
1373
  break;
@@ -1507,8 +1378,8 @@ function ir(e, t) {
1507
1378
  ([d, u]) => `adapter ${d} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
1508
1379
  );
1509
1380
  let a = n ? i.length > 1 ? `since :
1510
- ` + i.map(Ke).join(`
1511
- `) : " " + Ke(i[0]) : "as no adapter specified";
1381
+ ` + i.map(Je).join(`
1382
+ `) : " " + Je(i[0]) : "as no adapter specified";
1512
1383
  throw new w(
1513
1384
  "There is no suitable adapter to dispatch the request " + a,
1514
1385
  "ERR_NOT_SUPPORT"
@@ -1516,50 +1387,50 @@ function ir(e, t) {
1516
1387
  }
1517
1388
  return s;
1518
1389
  }
1519
- const gt = {
1390
+ const yt = {
1520
1391
  /**
1521
1392
  * Resolve an adapter from a list of adapter names or functions.
1522
1393
  * @type {Function}
1523
1394
  */
1524
- getAdapter: ir,
1395
+ getAdapter: Zn,
1525
1396
  /**
1526
1397
  * Exposes all known adapters
1527
1398
  * @type {Object<string, Function|Object>}
1528
1399
  */
1529
- adapters: Te
1400
+ adapters: _e
1530
1401
  };
1531
- function ye(e) {
1402
+ function he(e) {
1532
1403
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1533
- throw new Z(null, e);
1404
+ throw new G(null, e);
1534
1405
  }
1535
- function We(e) {
1536
- return ye(e), e.headers = N.from(e.headers), e.data = he.call(
1406
+ function Ve(e) {
1407
+ return he(e), e.headers = N.from(e.headers), e.data = me.call(
1537
1408
  e,
1538
1409
  e.transformRequest
1539
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), gt.getAdapter(e.adapter || G.adapter, e)(e).then(function(r) {
1540
- return ye(e), r.data = he.call(
1410
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), yt.getAdapter(e.adapter || X.adapter, e)(e).then(function(r) {
1411
+ return he(e), r.data = me.call(
1541
1412
  e,
1542
1413
  e.transformResponse,
1543
1414
  r
1544
1415
  ), r.headers = N.from(r.headers), r;
1545
1416
  }, function(r) {
1546
- return ht(r) || (ye(e), r && r.response && (r.response.data = he.call(
1417
+ return ft(r) || (he(e), r && r.response && (r.response.data = me.call(
1547
1418
  e,
1548
1419
  e.transformResponse,
1549
1420
  r.response
1550
1421
  ), r.response.headers = N.from(r.response.headers))), Promise.reject(r);
1551
1422
  });
1552
1423
  }
1553
- const St = "1.13.4", fe = {};
1424
+ const wt = "1.13.4", ue = {};
1554
1425
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1555
- fe[e] = function(r) {
1426
+ ue[e] = function(r) {
1556
1427
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1557
1428
  };
1558
1429
  });
1559
- const Xe = {};
1560
- fe.transitional = function(t, n, r) {
1430
+ const Ke = {};
1431
+ ue.transitional = function(t, n, r) {
1561
1432
  function s(o, i) {
1562
- return "[Axios v" + St + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1433
+ return "[Axios v" + wt + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1563
1434
  }
1564
1435
  return (o, i, a) => {
1565
1436
  if (t === !1)
@@ -1567,7 +1438,7 @@ fe.transitional = function(t, n, r) {
1567
1438
  s(i, " has been removed" + (n ? " in " + n : "")),
1568
1439
  w.ERR_DEPRECATED
1569
1440
  );
1570
- return n && !Xe[i] && (Xe[i] = !0, console.warn(
1441
+ return n && !Ke[i] && (Ke[i] = !0, console.warn(
1571
1442
  s(
1572
1443
  i,
1573
1444
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -1575,10 +1446,10 @@ fe.transitional = function(t, n, r) {
1575
1446
  )), t ? t(o, i, a) : !0;
1576
1447
  };
1577
1448
  };
1578
- fe.spelling = function(t) {
1449
+ ue.spelling = function(t) {
1579
1450
  return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1580
1451
  };
1581
- function ar(e, t, n) {
1452
+ function er(e, t, n) {
1582
1453
  if (typeof e != "object")
1583
1454
  throw new w("options must be an object", w.ERR_BAD_OPTION_VALUE);
1584
1455
  const r = Object.keys(e);
@@ -1595,15 +1466,15 @@ function ar(e, t, n) {
1595
1466
  throw new w("Unknown option " + o, w.ERR_BAD_OPTION);
1596
1467
  }
1597
1468
  }
1598
- const oe = {
1599
- assertOptions: ar,
1600
- validators: fe
1601
- }, F = oe.validators;
1469
+ const se = {
1470
+ assertOptions: er,
1471
+ validators: ue
1472
+ }, F = se.validators;
1602
1473
  let j = class {
1603
1474
  constructor(t) {
1604
1475
  this.defaults = t || {}, this.interceptors = {
1605
- request: new Ie(),
1606
- response: new Ie()
1476
+ request: new ke(),
1477
+ response: new ke()
1607
1478
  };
1608
1479
  }
1609
1480
  /**
@@ -1634,16 +1505,16 @@ let j = class {
1634
1505
  _request(t, n) {
1635
1506
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = M(this.defaults, n);
1636
1507
  const { transitional: r, paramsSerializer: s, headers: o } = n;
1637
- r !== void 0 && oe.assertOptions(r, {
1508
+ r !== void 0 && se.assertOptions(r, {
1638
1509
  silentJSONParsing: F.transitional(F.boolean),
1639
1510
  forcedJSONParsing: F.transitional(F.boolean),
1640
1511
  clarifyTimeoutError: F.transitional(F.boolean)
1641
1512
  }, !1), s != null && (c.isFunction(s) ? n.paramsSerializer = {
1642
1513
  serialize: s
1643
- } : oe.assertOptions(s, {
1514
+ } : se.assertOptions(s, {
1644
1515
  encode: F.function,
1645
1516
  serialize: F.function
1646
- }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), oe.assertOptions(n, {
1517
+ }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), se.assertOptions(n, {
1647
1518
  baseUrl: F.spelling("baseURL"),
1648
1519
  withXsrfToken: F.spelling("withXSRFToken")
1649
1520
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1668,7 +1539,7 @@ let j = class {
1668
1539
  });
1669
1540
  let l, p = 0, E;
1670
1541
  if (!d) {
1671
- const f = [We.bind(this), void 0];
1542
+ const f = [Ve.bind(this), void 0];
1672
1543
  for (f.unshift(...a), f.push(...u), E = f.length, l = Promise.resolve(n); p < E; )
1673
1544
  l = l.then(f[p++], f[p++]);
1674
1545
  return l;
@@ -1685,7 +1556,7 @@ let j = class {
1685
1556
  }
1686
1557
  }
1687
1558
  try {
1688
- l = We.call(this, _);
1559
+ l = Ve.call(this, _);
1689
1560
  } catch (f) {
1690
1561
  return Promise.reject(f);
1691
1562
  }
@@ -1695,8 +1566,8 @@ let j = class {
1695
1566
  }
1696
1567
  getUri(t) {
1697
1568
  t = M(this.defaults, t);
1698
- const n = wt(t.baseURL, t.url, t.allowAbsoluteUrls);
1699
- return dt(n, t.params, t.paramsSerializer);
1569
+ const n = pt(t.baseURL, t.url, t.allowAbsoluteUrls);
1570
+ return ct(n, t.params, t.paramsSerializer);
1700
1571
  }
1701
1572
  };
1702
1573
  c.forEach(["delete", "get", "head", "options"], function(t) {
@@ -1723,7 +1594,7 @@ c.forEach(["post", "put", "patch"], function(t) {
1723
1594
  }
1724
1595
  j.prototype[t] = n(), j.prototype[t + "Form"] = n(!0);
1725
1596
  });
1726
- let cr = class Rt {
1597
+ let tr = class Et {
1727
1598
  constructor(t) {
1728
1599
  if (typeof t != "function")
1729
1600
  throw new TypeError("executor must be a function.");
@@ -1747,7 +1618,7 @@ let cr = class Rt {
1747
1618
  r.unsubscribe(o);
1748
1619
  }, i;
1749
1620
  }, t(function(o, i, a) {
1750
- r.reason || (r.reason = new Z(o, i, a), n(r.reason));
1621
+ r.reason || (r.reason = new G(o, i, a), n(r.reason));
1751
1622
  });
1752
1623
  }
1753
1624
  /**
@@ -1789,22 +1660,22 @@ let cr = class Rt {
1789
1660
  static source() {
1790
1661
  let t;
1791
1662
  return {
1792
- token: new Rt(function(s) {
1663
+ token: new Et(function(s) {
1793
1664
  t = s;
1794
1665
  }),
1795
1666
  cancel: t
1796
1667
  };
1797
1668
  }
1798
1669
  };
1799
- function lr(e) {
1670
+ function nr(e) {
1800
1671
  return function(n) {
1801
1672
  return e.apply(null, n);
1802
1673
  };
1803
1674
  }
1804
- function ur(e) {
1675
+ function rr(e) {
1805
1676
  return c.isObject(e) && e.isAxiosError === !0;
1806
1677
  }
1807
- const Se = {
1678
+ const be = {
1808
1679
  Continue: 100,
1809
1680
  SwitchingProtocols: 101,
1810
1681
  Processing: 102,
@@ -1875,56 +1746,56 @@ const Se = {
1875
1746
  SslHandshakeFailed: 525,
1876
1747
  InvalidSslCertificate: 526
1877
1748
  };
1878
- Object.entries(Se).forEach(([e, t]) => {
1879
- Se[t] = e;
1749
+ Object.entries(be).forEach(([e, t]) => {
1750
+ be[t] = e;
1880
1751
  });
1881
- function Ot(e) {
1882
- const t = new j(e), n = tt(j.prototype.request, t);
1752
+ function bt(e) {
1753
+ const t = new j(e), n = Qe(j.prototype.request, t);
1883
1754
  return c.extend(n, j.prototype, t, { allOwnKeys: !0 }), c.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1884
- return Ot(M(e, s));
1755
+ return bt(M(e, s));
1885
1756
  }, n;
1886
1757
  }
1887
- const O = Ot(G);
1758
+ const O = bt(X);
1888
1759
  O.Axios = j;
1889
- O.CanceledError = Z;
1890
- O.CancelToken = cr;
1891
- O.isCancel = ht;
1892
- O.VERSION = St;
1893
- O.toFormData = ue;
1760
+ O.CanceledError = G;
1761
+ O.CancelToken = tr;
1762
+ O.isCancel = ft;
1763
+ O.VERSION = wt;
1764
+ O.toFormData = le;
1894
1765
  O.AxiosError = w;
1895
1766
  O.Cancel = O.CanceledError;
1896
1767
  O.all = function(t) {
1897
1768
  return Promise.all(t);
1898
1769
  };
1899
- O.spread = lr;
1900
- O.isAxiosError = ur;
1770
+ O.spread = nr;
1771
+ O.isAxiosError = rr;
1901
1772
  O.mergeConfig = M;
1902
1773
  O.AxiosHeaders = N;
1903
- O.formToJSON = (e) => mt(c.isHTMLForm(e) ? new FormData(e) : e);
1904
- O.getAdapter = gt.getAdapter;
1905
- O.HttpStatusCode = Se;
1774
+ O.formToJSON = (e) => ut(c.isHTMLForm(e) ? new FormData(e) : e);
1775
+ O.getAdapter = yt.getAdapter;
1776
+ O.HttpStatusCode = be;
1906
1777
  O.default = O;
1907
1778
  const {
1908
- Axios: _r,
1909
- AxiosError: Ar,
1910
- CanceledError: Tr,
1911
- isCancel: Cr,
1912
- CancelToken: Nr,
1913
- VERSION: xr,
1914
- all: Pr,
1915
- Cancel: Dr,
1916
- isAxiosError: Fr,
1917
- spread: Ur,
1918
- toFormData: Lr,
1919
- AxiosHeaders: kr,
1920
- HttpStatusCode: Br,
1921
- formToJSON: Ir,
1922
- getAdapter: jr,
1923
- mergeConfig: Mr
1924
- } = O, fr = "http://localhost:8000/api";
1925
- class dr {
1926
- constructor(t, n = fr) {
1927
- Ue(this, "client");
1779
+ Axios: Er,
1780
+ AxiosError: br,
1781
+ CanceledError: gr,
1782
+ isCancel: Sr,
1783
+ CancelToken: Rr,
1784
+ VERSION: Or,
1785
+ all: _r,
1786
+ Cancel: Tr,
1787
+ isAxiosError: Ar,
1788
+ spread: Cr,
1789
+ toFormData: Nr,
1790
+ AxiosHeaders: xr,
1791
+ HttpStatusCode: Pr,
1792
+ formToJSON: Dr,
1793
+ getAdapter: Fr,
1794
+ mergeConfig: Ur
1795
+ } = O, sr = "http://localhost:8000/api";
1796
+ class or {
1797
+ constructor(t, n = sr) {
1798
+ De(this, "client");
1928
1799
  this.client = O.create({
1929
1800
  baseURL: n,
1930
1801
  headers: {
@@ -1988,7 +1859,7 @@ class dr {
1988
1859
  this.client.defaults.baseURL = t;
1989
1860
  }
1990
1861
  }
1991
- function Ge(e, t) {
1862
+ function We(e, t) {
1992
1863
  const [n, r] = J(() => {
1993
1864
  try {
1994
1865
  const o = window.localStorage.getItem(e);
@@ -2006,21 +1877,21 @@ function Ge(e, t) {
2006
1877
  }
2007
1878
  }];
2008
1879
  }
2009
- function Ze() {
1880
+ function Xe() {
2010
1881
  return `session_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`;
2011
1882
  }
2012
- const pr = "customer_support_session_id", mr = "customer_support_messages";
2013
- function hr(e) {
2014
- const { apiKey: t, baseUrl: n, onError: r } = e, [s, o] = Ge(mr, []), [i, a] = Ge(
2015
- pr,
2016
- Ze()
2017
- ), [d, u] = J(!1), [l, p] = J(null), E = Ye(null);
2018
- Re(() => {
2019
- E.current = new dr(t, n);
1883
+ const ir = "customer_support_session_id", ar = "customer_support_messages";
1884
+ function cr(e) {
1885
+ const { apiKey: t, baseUrl: n, onError: r } = e, [s, o] = We(ar, []), [i, a] = We(
1886
+ ir,
1887
+ Xe()
1888
+ ), [d, u] = J(!1), [l, p] = J(null), E = Ge(null);
1889
+ ge(() => {
1890
+ E.current = new or(t, n);
2020
1891
  }, [t, n]);
2021
- const _ = te(() => {
1892
+ const _ = ee(() => {
2022
1893
  p(null);
2023
- }, []), f = te(
1894
+ }, []), f = ee(
2024
1895
  async (g) => {
2025
1896
  if (!E.current) {
2026
1897
  const y = new Error("API client not initialized");
@@ -2044,23 +1915,23 @@ function hr(e) {
2044
1915
  timestamp: /* @__PURE__ */ new Date(),
2045
1916
  sources: y.sources
2046
1917
  };
2047
- o((T) => [...T, S]), y.session_id !== i && a(y.session_id);
1918
+ o((A) => [...A, S]), y.session_id !== i && a(y.session_id);
2048
1919
  } catch (y) {
2049
1920
  const S = y instanceof Error ? y : new Error("Failed to send message");
2050
1921
  p(S), r == null || r(S);
2051
- const T = {
1922
+ const A = {
2052
1923
  id: `error_${Date.now()}`,
2053
1924
  role: "ASSISTANT",
2054
1925
  content: `Sorry, I encountered an error: ${S.message}`,
2055
1926
  timestamp: /* @__PURE__ */ new Date()
2056
1927
  };
2057
- o((U) => [...U, T]);
1928
+ o((U) => [...U, A]);
2058
1929
  } finally {
2059
1930
  u(!1);
2060
1931
  }
2061
1932
  },
2062
1933
  [i, r, o, a]
2063
- ), h = te(async () => {
1934
+ ), h = ee(async () => {
2064
1935
  if (!(!E.current || !i)) {
2065
1936
  u(!0), p(null);
2066
1937
  try {
@@ -2078,8 +1949,8 @@ function hr(e) {
2078
1949
  u(!1);
2079
1950
  }
2080
1951
  }
2081
- }, [i, r, o]), m = te(() => {
2082
- o([]), a(Ze());
1952
+ }, [i, r, o]), m = ee(() => {
1953
+ o([]), a(Xe());
2083
1954
  }, [o, a]);
2084
1955
  return {
2085
1956
  messages: s,
@@ -2092,7 +1963,7 @@ function hr(e) {
2092
1963
  clearHistory: m
2093
1964
  };
2094
1965
  }
2095
- const yr = ({ message: e }) => {
1966
+ const lr = ({ message: e }) => {
2096
1967
  const t = e.role === "USER", n = e.timestamp instanceof Date ? e.timestamp : new Date(e.timestamp);
2097
1968
  return /* @__PURE__ */ b.createElement("div", { className: `cs-message ${t ? "cs-message--user" : "cs-message--assistant"}` }, /* @__PURE__ */ b.createElement("div", { className: "cs-message__content" }, /* @__PURE__ */ b.createElement("p", { className: "cs-message__text" }, e.content), e.sources && e.sources.length > 0 && /* @__PURE__ */ b.createElement("div", { className: "cs-message__sources" }, /* @__PURE__ */ b.createElement("p", { className: "cs-message__sources-title" }, "Sources:"), /* @__PURE__ */ b.createElement("ul", { className: "cs-message__sources-list" }, e.sources.map((r, s) => /* @__PURE__ */ b.createElement("li", { key: s, className: "cs-message__source-item" }, /* @__PURE__ */ b.createElement(
2098
1969
  "a",
@@ -2102,10 +1973,10 @@ const yr = ({ message: e }) => {
2102
1973
  rel: "noopener noreferrer",
2103
1974
  className: "cs-message__source-link"
2104
1975
  },
2105
- /* @__PURE__ */ b.createElement(Pt, { size: 12 }),
1976
+ /* @__PURE__ */ b.createElement(Ot, { size: 12 }),
2106
1977
  /* @__PURE__ */ b.createElement("span", null, r.title)
2107
1978
  ), /* @__PURE__ */ b.createElement("span", { className: "cs-message__source-similarity" }, Math.round(r.similarity * 100), "% match")))))), /* @__PURE__ */ b.createElement("time", { className: "cs-message__time", dateTime: n.toISOString() }, n.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })));
2108
- }, wr = ({
1979
+ }, ur = ({
2109
1980
  onSendMessage: e,
2110
1981
  isLoading: t,
2111
1982
  placeholder: n = "Type your message..."
@@ -2135,9 +2006,9 @@ const yr = ({ message: e }) => {
2135
2006
  disabled: !r.trim() || t,
2136
2007
  "aria-label": "Send message"
2137
2008
  },
2138
- /* @__PURE__ */ b.createElement(Ut, { size: 20 })
2009
+ /* @__PURE__ */ b.createElement(_t, { size: 20 })
2139
2010
  ));
2140
- }, Er = ({
2011
+ }, fr = ({
2141
2012
  messages: e,
2142
2013
  onSendMessage: t,
2143
2014
  onClose: n,
@@ -2146,8 +2017,8 @@ const yr = ({ message: e }) => {
2146
2017
  placeholder: o,
2147
2018
  welcomeMessage: i = "Hi! How can I help you today?"
2148
2019
  }) => {
2149
- const a = Ye(null);
2150
- return Re(() => {
2020
+ const a = Ge(null);
2021
+ return ge(() => {
2151
2022
  var d;
2152
2023
  (d = a.current) == null || d.scrollIntoView({ behavior: "smooth" });
2153
2024
  }, [e]), /* @__PURE__ */ b.createElement("div", { className: "cs-window" }, /* @__PURE__ */ b.createElement("div", { className: "cs-window__header" }, /* @__PURE__ */ b.createElement("h3", { className: "cs-window__title" }, "Customer Support"), /* @__PURE__ */ b.createElement(
@@ -2157,16 +2028,16 @@ const yr = ({ message: e }) => {
2157
2028
  onClick: n,
2158
2029
  "aria-label": "Close chat"
2159
2030
  },
2160
- /* @__PURE__ */ b.createElement(Lt, { size: 20 })
2161
- )), /* @__PURE__ */ b.createElement("div", { className: "cs-window__messages" }, e.length === 0 && !r && /* @__PURE__ */ b.createElement("div", { className: "cs-window__welcome" }, /* @__PURE__ */ b.createElement("p", null, i)), e.map((d) => /* @__PURE__ */ b.createElement(yr, { key: d.id, message: d })), r && /* @__PURE__ */ b.createElement("div", { className: "cs-window__typing" }, /* @__PURE__ */ b.createElement(Dt, { size: 20, className: "cs-window__typing-icon" }), /* @__PURE__ */ b.createElement("span", null, "Thinking...")), s && /* @__PURE__ */ b.createElement("div", { className: "cs-window__error" }, /* @__PURE__ */ b.createElement("p", null, s.message)), /* @__PURE__ */ b.createElement("div", { ref: a })), /* @__PURE__ */ b.createElement("div", { className: "cs-window__input-wrapper" }, /* @__PURE__ */ b.createElement(
2162
- wr,
2031
+ /* @__PURE__ */ b.createElement(Tt, { size: 20 })
2032
+ )), /* @__PURE__ */ b.createElement("div", { className: "cs-window__messages" }, e.length === 0 && !r && /* @__PURE__ */ b.createElement("div", { className: "cs-window__welcome" }, /* @__PURE__ */ b.createElement("p", null, i)), e.map((d) => /* @__PURE__ */ b.createElement(lr, { key: d.id, message: d })), r && /* @__PURE__ */ b.createElement("div", { className: "cs-window__typing" }, /* @__PURE__ */ b.createElement(At, { size: 20, className: "cs-window__typing-icon" }), /* @__PURE__ */ b.createElement("span", null, "Thinking...")), s && /* @__PURE__ */ b.createElement("div", { className: "cs-window__error" }, /* @__PURE__ */ b.createElement("p", null, s.message)), /* @__PURE__ */ b.createElement("div", { ref: a })), /* @__PURE__ */ b.createElement("div", { className: "cs-window__input-wrapper" }, /* @__PURE__ */ b.createElement(
2033
+ ur,
2163
2034
  {
2164
2035
  onSendMessage: t,
2165
2036
  isLoading: r,
2166
2037
  placeholder: o
2167
2038
  }
2168
2039
  )));
2169
- }, $r = ({
2040
+ }, Lr = ({
2170
2041
  apiKey: e,
2171
2042
  baseUrl: t,
2172
2043
  theme: n,
@@ -2184,12 +2055,12 @@ const yr = ({ message: e }) => {
2184
2055
  isLoading: f,
2185
2056
  error: h,
2186
2057
  clearError: m
2187
- } = hr({
2058
+ } = cr({
2188
2059
  apiKey: e,
2189
2060
  baseUrl: t,
2190
2061
  onError: a
2191
2062
  });
2192
- Re(() => {
2063
+ ge(() => {
2193
2064
  if (n) {
2194
2065
  const y = document.documentElement;
2195
2066
  n.primaryColor && y.style.setProperty("--cs-primary-color", n.primaryColor), n.secondaryColor && y.style.setProperty("--cs-secondary-color", n.secondaryColor), n.backgroundColor && y.style.setProperty("--cs-bg-color", n.backgroundColor), n.textColor && y.style.setProperty("--cs-text-color", n.textColor), n.fontFamily && y.style.setProperty("--cs-font-family", n.fontFamily), n.borderRadius && y.style.setProperty("--cs-border-radius", n.borderRadius), n.buttonColor && y.style.setProperty("--cs-button-color", n.buttonColor), n.userMessageColor && y.style.setProperty("--cs-user-message-color", n.userMessageColor), n.assistantMessageColor && y.style.setProperty("--cs-assistant-message-color", n.assistantMessageColor);
@@ -2204,7 +2075,7 @@ const yr = ({ message: e }) => {
2204
2075
  p(!l), h && m();
2205
2076
  };
2206
2077
  return /* @__PURE__ */ b.createElement("div", { className: `cs-widget cs-widget--${r} ${i}` }, l && /* @__PURE__ */ b.createElement(
2207
- Er,
2078
+ fr,
2208
2079
  {
2209
2080
  messages: E,
2210
2081
  onSendMessage: g,
@@ -2222,17 +2093,17 @@ const yr = ({ message: e }) => {
2222
2093
  "aria-label": l ? "Close chat" : "Open chat",
2223
2094
  "aria-expanded": l
2224
2095
  },
2225
- /* @__PURE__ */ b.createElement(Ft, { size: 24 }),
2096
+ /* @__PURE__ */ b.createElement(Ct, { size: 24 }),
2226
2097
  !l && E.length > 0 && /* @__PURE__ */ b.createElement("span", { className: "cs-widget__badge" }, E.filter((y) => y.role === "ASSISTANT").length)
2227
2098
  ));
2228
2099
  };
2229
2100
  export {
2230
- wr as ChatInput,
2231
- yr as ChatMessage,
2232
- Er as ChatWindow,
2233
- dr as CustomerSupportAPIClient,
2234
- $r as CustomerSupportWidget,
2235
- hr as useCustomerSupport,
2236
- Ge as useLocalStorage
2101
+ ur as ChatInput,
2102
+ lr as ChatMessage,
2103
+ fr as ChatWindow,
2104
+ or as CustomerSupportAPIClient,
2105
+ Lr as CustomerSupportWidget,
2106
+ cr as useCustomerSupport,
2107
+ We as useLocalStorage
2237
2108
  };
2238
2109
  //# sourceMappingURL=index.es.js.map