@neuctra/authix 1.2.22 → 1.2.24

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.
@@ -7,11 +7,11 @@ function Ut(t, e) {
7
7
  const { toString: ur } = Object.prototype, { getPrototypeOf: nt } = Object, { iterator: Le, toStringTag: _t } = Symbol, Fe = /* @__PURE__ */ ((t) => (e) => {
8
8
  const n = ur.call(e);
9
9
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), oe = (t) => (t = t.toLowerCase(), (e) => Fe(e) === t), qe = (t) => (e) => typeof e === t, { isArray: je } = Array, we = qe("undefined");
10
+ })(/* @__PURE__ */ Object.create(null)), ae = (t) => (t = t.toLowerCase(), (e) => Fe(e) === t), qe = (t) => (e) => typeof e === t, { isArray: je } = Array, we = qe("undefined");
11
11
  function Te(t) {
12
12
  return t !== null && !we(t) && t.constructor !== null && !we(t.constructor) && te(t.constructor.isBuffer) && t.constructor.isBuffer(t);
13
13
  }
14
- const $t = oe("ArrayBuffer");
14
+ const $t = ae("ArrayBuffer");
15
15
  function pr(t) {
16
16
  let e;
17
17
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && $t(t.buffer), e;
@@ -29,11 +29,11 @@ const fr = qe("string"), te = qe("function"), Dt = qe("number"), Re = (t) => t !
29
29
  } catch {
30
30
  return !1;
31
31
  }
32
- }, mr = oe("Date"), gr = oe("File"), yr = oe("Blob"), br = oe("FileList"), wr = (t) => Re(t) && te(t.pipe), jr = (t) => {
32
+ }, mr = ae("Date"), gr = ae("File"), yr = ae("Blob"), br = ae("FileList"), wr = (t) => Re(t) && te(t.pipe), jr = (t) => {
33
33
  let e;
34
34
  return t && (typeof FormData == "function" && t instanceof FormData || te(t.append) && ((e = Fe(t)) === "formdata" || // detect form-data instance
35
35
  e === "object" && te(t.toString) && t.toString() === "[object FormData]"));
36
- }, vr = oe("URLSearchParams"), [Sr, kr, Er, Cr] = ["ReadableStream", "Request", "Response", "Headers"].map(oe), Tr = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
36
+ }, vr = ae("URLSearchParams"), [Sr, kr, Er, Cr] = ["ReadableStream", "Request", "Response", "Headers"].map(ae), Tr = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
37
37
  function Pe(t, e, { allOwnKeys: n = !1 } = {}) {
38
38
  if (t === null || typeof t > "u")
39
39
  return;
@@ -44,10 +44,10 @@ function Pe(t, e, { allOwnKeys: n = !1 } = {}) {
44
44
  else {
45
45
  if (Te(t))
46
46
  return;
47
- const o = n ? Object.getOwnPropertyNames(t) : Object.keys(t), a = o.length;
47
+ const a = n ? Object.getOwnPropertyNames(t) : Object.keys(t), o = a.length;
48
48
  let c;
49
- for (s = 0; s < a; s++)
50
- c = o[s], e.call(null, t[c], c, t);
49
+ for (s = 0; s < o; s++)
50
+ c = a[s], e.call(null, t[c], c, t);
51
51
  }
52
52
  }
53
53
  function Nt(t, e) {
@@ -63,27 +63,27 @@ function Nt(t, e) {
63
63
  }
64
64
  const fe = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Lt = (t) => !we(t) && t !== fe;
65
65
  function Ge() {
66
- const { caseless: t, skipUndefined: e } = Lt(this) && this || {}, n = {}, s = (i, o) => {
67
- const a = t && Nt(n, o) || o;
68
- Ue(n[a]) && Ue(i) ? n[a] = Ge(n[a], i) : Ue(i) ? n[a] = Ge({}, i) : je(i) ? n[a] = i.slice() : (!e || !we(i)) && (n[a] = i);
66
+ const { caseless: t, skipUndefined: e } = Lt(this) && this || {}, n = {}, s = (i, a) => {
67
+ const o = t && Nt(n, a) || a;
68
+ Ue(n[o]) && Ue(i) ? n[o] = Ge(n[o], i) : Ue(i) ? n[o] = Ge({}, i) : je(i) ? n[o] = i.slice() : (!e || !we(i)) && (n[o] = i);
69
69
  };
70
- for (let i = 0, o = arguments.length; i < o; i++)
70
+ for (let i = 0, a = arguments.length; i < a; i++)
71
71
  arguments[i] && Pe(arguments[i], s);
72
72
  return n;
73
73
  }
74
- const Rr = (t, e, n, { allOwnKeys: s } = {}) => (Pe(e, (i, o) => {
75
- n && te(i) ? t[o] = Ut(i, n) : t[o] = i;
74
+ const Rr = (t, e, n, { allOwnKeys: s } = {}) => (Pe(e, (i, a) => {
75
+ n && te(i) ? t[a] = Ut(i, n) : t[a] = i;
76
76
  }, { allOwnKeys: s }), t), Pr = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ir = (t, e, n, s) => {
77
77
  t.prototype = Object.create(e.prototype, s), t.prototype.constructor = t, Object.defineProperty(t, "super", {
78
78
  value: e.prototype
79
79
  }), n && Object.assign(t.prototype, n);
80
80
  }, Or = (t, e, n, s) => {
81
- let i, o, a;
81
+ let i, a, o;
82
82
  const c = {};
83
83
  if (e = e || {}, t == null) return e;
84
84
  do {
85
- for (i = Object.getOwnPropertyNames(t), o = i.length; o-- > 0; )
86
- a = i[o], (!s || s(a, t, e)) && !c[a] && (e[a] = t[a], c[a] = !0);
85
+ for (i = Object.getOwnPropertyNames(t), a = i.length; a-- > 0; )
86
+ o = i[a], (!s || s(o, t, e)) && !c[o] && (e[o] = t[o], c[o] = !0);
87
87
  t = n !== !1 && nt(t);
88
88
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
89
89
  return e;
@@ -104,8 +104,8 @@ const Rr = (t, e, n, { allOwnKeys: s } = {}) => (Pe(e, (i, o) => {
104
104
  const s = (t && t[Le]).call(t);
105
105
  let i;
106
106
  for (; (i = s.next()) && !i.done; ) {
107
- const o = i.value;
108
- e.call(t, o[0], o[1]);
107
+ const a = i.value;
108
+ e.call(t, a[0], a[1]);
109
109
  }
110
110
  }, $r = (t, e) => {
111
111
  let n;
@@ -113,16 +113,16 @@ const Rr = (t, e, n, { allOwnKeys: s } = {}) => (Pe(e, (i, o) => {
113
113
  for (; (n = t.exec(e)) !== null; )
114
114
  s.push(n);
115
115
  return s;
116
- }, Dr = oe("HTMLFormElement"), Nr = (t) => t.toLowerCase().replace(
116
+ }, Dr = ae("HTMLFormElement"), Nr = (t) => t.toLowerCase().replace(
117
117
  /[-_\s]([a-z\d])(\w*)/g,
118
118
  function(n, s, i) {
119
119
  return s.toUpperCase() + i;
120
120
  }
121
- ), pt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Lr = oe("RegExp"), Ft = (t, e) => {
121
+ ), pt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Lr = ae("RegExp"), Ft = (t, e) => {
122
122
  const n = Object.getOwnPropertyDescriptors(t), s = {};
123
- Pe(n, (i, o) => {
124
- let a;
125
- (a = e(i, o, t)) !== !1 && (s[o] = a || i);
123
+ Pe(n, (i, a) => {
124
+ let o;
125
+ (o = e(i, a, t)) !== !1 && (s[a] = o || i);
126
126
  }), Object.defineProperties(t, s);
127
127
  }, Fr = (t) => {
128
128
  Ft(t, (e, n) => {
@@ -141,8 +141,8 @@ const Rr = (t, e, n, { allOwnKeys: s } = {}) => (Pe(e, (i, o) => {
141
141
  });
142
142
  }, qr = (t, e) => {
143
143
  const n = {}, s = (i) => {
144
- i.forEach((o) => {
145
- n[o] = !0;
144
+ i.forEach((a) => {
145
+ n[a] = !0;
146
146
  });
147
147
  };
148
148
  return je(t) ? s(t) : s(String(t).split(e)), n;
@@ -160,18 +160,18 @@ const Hr = (t) => {
160
160
  return s;
161
161
  if (!("toJSON" in s)) {
162
162
  e[i] = s;
163
- const o = je(s) ? [] : {};
164
- return Pe(s, (a, c) => {
165
- const d = n(a, i + 1);
166
- !we(d) && (o[c] = d);
167
- }), e[i] = void 0, o;
163
+ const a = je(s) ? [] : {};
164
+ return Pe(s, (o, c) => {
165
+ const d = n(o, i + 1);
166
+ !we(d) && (a[c] = d);
167
+ }), e[i] = void 0, a;
168
168
  }
169
169
  }
170
170
  return s;
171
171
  };
172
172
  return n(t, 0);
173
- }, Vr = oe("AsyncFunction"), Yr = (t) => t && (Re(t) || te(t)) && te(t.then) && te(t.catch), qt = ((t, e) => t ? setImmediate : e ? ((n, s) => (fe.addEventListener("message", ({ source: i, data: o }) => {
174
- i === fe && o === n && s.length && s.shift()();
173
+ }, Vr = ae("AsyncFunction"), Yr = (t) => t && (Re(t) || te(t)) && te(t.then) && te(t.catch), qt = ((t, e) => t ? setImmediate : e ? ((n, s) => (fe.addEventListener("message", ({ source: i, data: a }) => {
174
+ i === fe && a === n && s.length && s.shift()();
175
175
  }, !1), (i) => {
176
176
  s.push(i), fe.postMessage(n, "*");
177
177
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
@@ -211,7 +211,7 @@ const Hr = (t) => {
211
211
  inherits: Ir,
212
212
  toFlatObject: Or,
213
213
  kindOf: Fe,
214
- kindOfTest: oe,
214
+ kindOfTest: ae,
215
215
  endsWith: Ar,
216
216
  toArray: zr,
217
217
  forEachEntry: _r,
@@ -281,13 +281,13 @@ const Mt = $.prototype, Wt = {};
281
281
  });
282
282
  Object.defineProperties($, Wt);
283
283
  Object.defineProperty(Mt, "isAxiosError", { value: !0 });
284
- $.from = (t, e, n, s, i, o) => {
285
- const a = Object.create(Mt);
286
- f.toFlatObject(t, a, function(p) {
284
+ $.from = (t, e, n, s, i, a) => {
285
+ const o = Object.create(Mt);
286
+ f.toFlatObject(t, o, function(p) {
287
287
  return p !== Error.prototype;
288
288
  }, (x) => x !== "isAxiosError");
289
289
  const c = t && t.message ? t.message : "Error", d = e == null && t ? t.code : e;
290
- return $.call(a, c, d, n, s, i), t && a.cause == null && Object.defineProperty(a, "cause", { value: t, configurable: !0 }), a.name = t && t.name || "Error", o && Object.assign(a, o), a;
290
+ return $.call(o, c, d, n, s, i), t && o.cause == null && Object.defineProperty(o, "cause", { value: t, configurable: !0 }), o.name = t && t.name || "Error", a && Object.assign(o, a), o;
291
291
  };
292
292
  const Gr = null;
293
293
  function Xe(t) {
@@ -297,8 +297,8 @@ function Bt(t) {
297
297
  return f.endsWith(t, "[]") ? t.slice(0, -2) : t;
298
298
  }
299
299
  function ft(t, e, n) {
300
- return t ? t.concat(e).map(function(i, o) {
301
- return i = Bt(i), !n && o ? "[" + i + "]" : i;
300
+ return t ? t.concat(e).map(function(i, a) {
301
+ return i = Bt(i), !n && a ? "[" + i + "]" : i;
302
302
  }).join(n ? "." : "") : e;
303
303
  }
304
304
  function Xr(t) {
@@ -317,7 +317,7 @@ function Me(t, e, n) {
317
317
  }, !1, function(w, h) {
318
318
  return !f.isUndefined(h[w]);
319
319
  });
320
- const s = n.metaTokens, i = n.visitor || p, o = n.dots, a = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && f.isSpecCompliantForm(e);
320
+ const s = n.metaTokens, i = n.visitor || p, a = n.dots, o = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && f.isSpecCompliantForm(e);
321
321
  if (!f.isFunction(i))
322
322
  throw new TypeError("visitor must be a function");
323
323
  function x(u) {
@@ -339,12 +339,12 @@ function Me(t, e, n) {
339
339
  return w = Bt(w), I.forEach(function(g, U) {
340
340
  !(f.isUndefined(g) || g === null) && e.append(
341
341
  // eslint-disable-next-line no-nested-ternary
342
- a === !0 ? ft([w], U, o) : a === null ? w : w + "[]",
342
+ o === !0 ? ft([w], U, a) : o === null ? w : w + "[]",
343
343
  x(g)
344
344
  );
345
345
  }), !1;
346
346
  }
347
- return Xe(u) ? !0 : (e.append(ft(h, w, o), x(u)), !1);
347
+ return Xe(u) ? !0 : (e.append(ft(h, w, a), x(u)), !1);
348
348
  }
349
349
  const y = [], k = Object.assign(Zr, {
350
350
  defaultVisitor: p,
@@ -410,10 +410,10 @@ function Vt(t, e, n) {
410
410
  serialize: n
411
411
  });
412
412
  const i = n && n.serialize;
413
- let o;
414
- if (i ? o = i(e, n) : o = f.isURLSearchParams(e) ? e.toString() : new st(e, n).toString(s), o) {
415
- const a = t.indexOf("#");
416
- a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + o;
413
+ let a;
414
+ if (i ? a = i(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new st(e, n).toString(s), a) {
415
+ const o = t.indexOf("#");
416
+ o !== -1 && (t = t.slice(0, o)), t += (t.indexOf("?") === -1 ? "?" : "&") + a;
417
417
  }
418
418
  return t;
419
419
  }
@@ -483,22 +483,22 @@ const Yt = {
483
483
  Blob: rn
484
484
  },
485
485
  protocols: ["http", "https", "file", "blob", "url", "data"]
486
- }, it = typeof window < "u" && typeof document < "u", Ze = typeof navigator == "object" && navigator || void 0, sn = it && (!Ze || ["ReactNative", "NativeScript", "NS"].indexOf(Ze.product) < 0), on = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
487
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", an = it && window.location.href || "http://localhost", ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
486
+ }, it = typeof window < "u" && typeof document < "u", Ze = typeof navigator == "object" && navigator || void 0, sn = it && (!Ze || ["ReactNative", "NativeScript", "NS"].indexOf(Ze.product) < 0), an = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
487
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", on = it && window.location.href || "http://localhost", ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
488
488
  __proto__: null,
489
489
  hasBrowserEnv: it,
490
490
  hasStandardBrowserEnv: sn,
491
- hasStandardBrowserWebWorkerEnv: on,
491
+ hasStandardBrowserWebWorkerEnv: an,
492
492
  navigator: Ze,
493
- origin: an
493
+ origin: on
494
494
  }, Symbol.toStringTag, { value: "Module" })), Q = {
495
495
  ...ln,
496
496
  ...nn
497
497
  };
498
498
  function cn(t, e) {
499
499
  return Me(t, new Q.classes.URLSearchParams(), {
500
- visitor: function(n, s, i, o) {
501
- return Q.isNode && f.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
500
+ visitor: function(n, s, i, a) {
501
+ return Q.isNode && f.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
502
502
  },
503
503
  ...e
504
504
  });
@@ -510,17 +510,17 @@ function un(t) {
510
510
  const e = {}, n = Object.keys(t);
511
511
  let s;
512
512
  const i = n.length;
513
- let o;
513
+ let a;
514
514
  for (s = 0; s < i; s++)
515
- o = n[s], e[o] = t[o];
515
+ a = n[s], e[a] = t[a];
516
516
  return e;
517
517
  }
518
518
  function Kt(t) {
519
- function e(n, s, i, o) {
520
- let a = n[o++];
521
- if (a === "__proto__") return !0;
522
- const c = Number.isFinite(+a), d = o >= n.length;
523
- return a = !a && f.isArray(i) ? i.length : a, d ? (f.hasOwnProp(i, a) ? i[a] = [i[a], s] : i[a] = s, !c) : ((!i[a] || !f.isObject(i[a])) && (i[a] = []), e(n, s, i[a], o) && f.isArray(i[a]) && (i[a] = un(i[a])), !c);
519
+ function e(n, s, i, a) {
520
+ let o = n[a++];
521
+ if (o === "__proto__") return !0;
522
+ const c = Number.isFinite(+o), d = a >= n.length;
523
+ return o = !o && f.isArray(i) ? i.length : o, d ? (f.hasOwnProp(i, o) ? i[o] = [i[o], s] : i[o] = s, !c) : ((!i[o] || !f.isObject(i[o])) && (i[o] = []), e(n, s, i[o], a) && f.isArray(i[o]) && (i[o] = un(i[o])), !c);
524
524
  }
525
525
  if (f.isFormData(t) && f.isFunction(t.entries)) {
526
526
  const n = {};
@@ -544,8 +544,8 @@ const Ie = {
544
544
  transitional: Yt,
545
545
  adapter: ["xhr", "http", "fetch"],
546
546
  transformRequest: [function(e, n) {
547
- const s = n.getContentType() || "", i = s.indexOf("application/json") > -1, o = f.isObject(e);
548
- if (o && f.isHTMLForm(e) && (e = new FormData(e)), f.isFormData(e))
547
+ const s = n.getContentType() || "", i = s.indexOf("application/json") > -1, a = f.isObject(e);
548
+ if (a && f.isHTMLForm(e) && (e = new FormData(e)), f.isFormData(e))
549
549
  return i ? JSON.stringify(Kt(e)) : e;
550
550
  if (f.isArrayBuffer(e) || f.isBuffer(e) || f.isStream(e) || f.isFile(e) || f.isBlob(e) || f.isReadableStream(e))
551
551
  return e;
@@ -554,7 +554,7 @@ const Ie = {
554
554
  if (f.isURLSearchParams(e))
555
555
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
556
556
  let c;
557
- if (o) {
557
+ if (a) {
558
558
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
559
559
  return cn(e, this.formSerializer).toString();
560
560
  if ((c = f.isFileList(e)) || s.indexOf("multipart/form-data") > -1) {
@@ -566,18 +566,18 @@ const Ie = {
566
566
  );
567
567
  }
568
568
  }
569
- return o || i ? (n.setContentType("application/json", !1), pn(e)) : e;
569
+ return a || i ? (n.setContentType("application/json", !1), pn(e)) : e;
570
570
  }],
571
571
  transformResponse: [function(e) {
572
572
  const n = this.transitional || Ie.transitional, s = n && n.forcedJSONParsing, i = this.responseType === "json";
573
573
  if (f.isResponse(e) || f.isReadableStream(e))
574
574
  return e;
575
575
  if (e && f.isString(e) && (s && !this.responseType || i)) {
576
- const a = !(n && n.silentJSONParsing) && i;
576
+ const o = !(n && n.silentJSONParsing) && i;
577
577
  try {
578
578
  return JSON.parse(e, this.parseReviver);
579
579
  } catch (c) {
580
- if (a)
580
+ if (o)
581
581
  throw c.name === "SyntaxError" ? $.from(c, $.ERR_BAD_RESPONSE, this, null, this.response) : c;
582
582
  }
583
583
  }
@@ -631,8 +631,8 @@ const fn = f.toObjectSet([
631
631
  const e = {};
632
632
  let n, s, i;
633
633
  return t && t.split(`
634
- `).forEach(function(a) {
635
- i = a.indexOf(":"), n = a.substring(0, i).trim().toLowerCase(), s = a.substring(i + 1).trim(), !(!n || e[n] && fn[n]) && (n === "set-cookie" ? e[n] ? e[n].push(s) : e[n] = [s] : e[n] = e[n] ? e[n] + ", " + s : s);
634
+ `).forEach(function(o) {
635
+ i = o.indexOf(":"), n = o.substring(0, i).trim().toLowerCase(), s = o.substring(i + 1).trim(), !(!n || e[n] && fn[n]) && (n === "set-cookie" ? e[n] ? e[n].push(s) : e[n] = [s] : e[n] = e[n] ? e[n] + ", " + s : s);
636
636
  }), e;
637
637
  }, mt = Symbol("internals");
638
638
  function Se(t) {
@@ -666,8 +666,8 @@ function yn(t, e) {
666
666
  const n = f.toCamelCase(" " + e);
667
667
  ["get", "set", "has"].forEach((s) => {
668
668
  Object.defineProperty(t, s + n, {
669
- value: function(i, o, a) {
670
- return this[s].call(this, e, i, o, a);
669
+ value: function(i, a, o) {
670
+ return this[s].call(this, e, i, a, o);
671
671
  },
672
672
  configurable: !0
673
673
  });
@@ -679,18 +679,18 @@ let re = class {
679
679
  }
680
680
  set(e, n, s) {
681
681
  const i = this;
682
- function o(c, d, x) {
682
+ function a(c, d, x) {
683
683
  const p = Se(d);
684
684
  if (!p)
685
685
  throw new Error("header name must be a non-empty string");
686
686
  const y = f.findKey(i, p);
687
687
  (!y || i[y] === void 0 || x === !0 || x === void 0 && i[y] !== !1) && (i[y || d] = _e(c));
688
688
  }
689
- const a = (c, d) => f.forEach(c, (x, p) => o(x, p, d));
689
+ const o = (c, d) => f.forEach(c, (x, p) => a(x, p, d));
690
690
  if (f.isPlainObject(e) || e instanceof this.constructor)
691
- a(e, n);
691
+ o(e, n);
692
692
  else if (f.isString(e) && (e = e.trim()) && !mn(e))
693
- a(xn(e), n);
693
+ o(xn(e), n);
694
694
  else if (f.isObject(e) && f.isIterable(e)) {
695
695
  let c = {}, d, x;
696
696
  for (const p of e) {
@@ -698,9 +698,9 @@ let re = class {
698
698
  throw TypeError("Object iterator must return a key-value pair");
699
699
  c[x = p[0]] = (d = c[x]) ? f.isArray(d) ? [...d, p[1]] : [d, p[1]] : p[1];
700
700
  }
701
- a(c, n);
701
+ o(c, n);
702
702
  } else
703
- e != null && o(n, e, s);
703
+ e != null && a(n, e, s);
704
704
  return this;
705
705
  }
706
706
  get(e, n) {
@@ -730,33 +730,33 @@ let re = class {
730
730
  delete(e, n) {
731
731
  const s = this;
732
732
  let i = !1;
733
- function o(a) {
734
- if (a = Se(a), a) {
735
- const c = f.findKey(s, a);
733
+ function a(o) {
734
+ if (o = Se(o), o) {
735
+ const c = f.findKey(s, o);
736
736
  c && (!n || He(s, s[c], c, n)) && (delete s[c], i = !0);
737
737
  }
738
738
  }
739
- return f.isArray(e) ? e.forEach(o) : o(e), i;
739
+ return f.isArray(e) ? e.forEach(a) : a(e), i;
740
740
  }
741
741
  clear(e) {
742
742
  const n = Object.keys(this);
743
743
  let s = n.length, i = !1;
744
744
  for (; s--; ) {
745
- const o = n[s];
746
- (!e || He(this, this[o], o, e, !0)) && (delete this[o], i = !0);
745
+ const a = n[s];
746
+ (!e || He(this, this[a], a, e, !0)) && (delete this[a], i = !0);
747
747
  }
748
748
  return i;
749
749
  }
750
750
  normalize(e) {
751
751
  const n = this, s = {};
752
- return f.forEach(this, (i, o) => {
753
- const a = f.findKey(s, o);
754
- if (a) {
755
- n[a] = _e(i), delete n[o];
752
+ return f.forEach(this, (i, a) => {
753
+ const o = f.findKey(s, a);
754
+ if (o) {
755
+ n[o] = _e(i), delete n[a];
756
756
  return;
757
757
  }
758
- const c = e ? gn(o) : String(o).trim();
759
- c !== o && delete n[o], n[c] = _e(i), s[c] = !0;
758
+ const c = e ? gn(a) : String(a).trim();
759
+ c !== a && delete n[a], n[c] = _e(i), s[c] = !0;
760
760
  }), this;
761
761
  }
762
762
  concat(...e) {
@@ -792,11 +792,11 @@ let re = class {
792
792
  const s = (this[mt] = this[mt] = {
793
793
  accessors: {}
794
794
  }).accessors, i = this.prototype;
795
- function o(a) {
796
- const c = Se(a);
797
- s[c] || (yn(i, a), s[c] = !0);
795
+ function a(o) {
796
+ const c = Se(o);
797
+ s[c] || (yn(i, o), s[c] = !0);
798
798
  }
799
- return f.isArray(e) ? e.forEach(o) : o(e), this;
799
+ return f.isArray(e) ? e.forEach(a) : a(e), this;
800
800
  }
801
801
  };
802
802
  re.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
@@ -812,10 +812,10 @@ f.reduceDescriptors(re.prototype, ({ value: t }, e) => {
812
812
  f.freezeMethods(re);
813
813
  function Ve(t, e) {
814
814
  const n = this || Ie, s = e || n, i = re.from(s.headers);
815
- let o = s.data;
815
+ let a = s.data;
816
816
  return f.forEach(t, function(c) {
817
- o = c.call(n, o, i.normalize(), e ? e.status : void 0);
818
- }), i.normalize(), o;
817
+ a = c.call(n, a, i.normalize(), e ? e.status : void 0);
818
+ }), i.normalize(), a;
819
819
  }
820
820
  function Jt(t) {
821
821
  return !!(t && t.__CANCEL__);
@@ -843,45 +843,45 @@ function bn(t) {
843
843
  function wn(t, e) {
844
844
  t = t || 10;
845
845
  const n = new Array(t), s = new Array(t);
846
- let i = 0, o = 0, a;
846
+ let i = 0, a = 0, o;
847
847
  return e = e !== void 0 ? e : 1e3, function(d) {
848
- const x = Date.now(), p = s[o];
849
- a || (a = x), n[i] = d, s[i] = x;
850
- let y = o, k = 0;
848
+ const x = Date.now(), p = s[a];
849
+ o || (o = x), n[i] = d, s[i] = x;
850
+ let y = a, k = 0;
851
851
  for (; y !== i; )
852
852
  k += n[y++], y = y % t;
853
- if (i = (i + 1) % t, i === o && (o = (o + 1) % t), x - a < e)
853
+ if (i = (i + 1) % t, i === a && (a = (a + 1) % t), x - o < e)
854
854
  return;
855
855
  const E = p && x - p;
856
856
  return E ? Math.round(k * 1e3 / E) : void 0;
857
857
  };
858
858
  }
859
859
  function jn(t, e) {
860
- let n = 0, s = 1e3 / e, i, o;
861
- const a = (x, p = Date.now()) => {
862
- n = p, i = null, o && (clearTimeout(o), o = null), t(...x);
860
+ let n = 0, s = 1e3 / e, i, a;
861
+ const o = (x, p = Date.now()) => {
862
+ n = p, i = null, a && (clearTimeout(a), a = null), t(...x);
863
863
  };
864
864
  return [(...x) => {
865
865
  const p = Date.now(), y = p - n;
866
- y >= s ? a(x, p) : (i = x, o || (o = setTimeout(() => {
867
- o = null, a(i);
866
+ y >= s ? o(x, p) : (i = x, a || (a = setTimeout(() => {
867
+ a = null, o(i);
868
868
  }, s - y)));
869
- }, () => i && a(i)];
869
+ }, () => i && o(i)];
870
870
  }
871
871
  const Ne = (t, e, n = 3) => {
872
872
  let s = 0;
873
873
  const i = wn(50, 250);
874
- return jn((o) => {
875
- const a = o.loaded, c = o.lengthComputable ? o.total : void 0, d = a - s, x = i(d), p = a <= c;
876
- s = a;
874
+ return jn((a) => {
875
+ const o = a.loaded, c = a.lengthComputable ? a.total : void 0, d = o - s, x = i(d), p = o <= c;
876
+ s = o;
877
877
  const y = {
878
- loaded: a,
878
+ loaded: o,
879
879
  total: c,
880
- progress: c ? a / c : void 0,
880
+ progress: c ? o / c : void 0,
881
881
  bytes: d,
882
882
  rate: x || void 0,
883
- estimated: x && c && p ? (c - a) / x : void 0,
884
- event: o,
883
+ estimated: x && c && p ? (c - o) / x : void 0,
884
+ event: a,
885
885
  lengthComputable: c != null,
886
886
  [e ? "download" : "upload"]: !0
887
887
  };
@@ -900,9 +900,9 @@ const Ne = (t, e, n = 3) => {
900
900
  ) : () => !0, Sn = Q.hasStandardBrowserEnv ? (
901
901
  // Standard browser envs support document.cookie
902
902
  {
903
- write(t, e, n, s, i, o) {
904
- const a = [t + "=" + encodeURIComponent(e)];
905
- f.isNumber(n) && a.push("expires=" + new Date(n).toGMTString()), f.isString(s) && a.push("path=" + s), f.isString(i) && a.push("domain=" + i), o === !0 && a.push("secure"), document.cookie = a.join("; ");
903
+ write(t, e, n, s, i, a) {
904
+ const o = [t + "=" + encodeURIComponent(e)];
905
+ f.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), f.isString(s) && o.push("path=" + s), f.isString(i) && o.push("domain=" + i), a === !0 && o.push("secure"), document.cookie = o.join("; ");
906
906
  },
907
907
  read(t) {
908
908
  const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
@@ -947,11 +947,11 @@ function me(t, e) {
947
947
  return s(void 0, x, y, k);
948
948
  } else return s(x, p, y, k);
949
949
  }
950
- function o(x, p) {
950
+ function a(x, p) {
951
951
  if (!f.isUndefined(p))
952
952
  return s(void 0, p);
953
953
  }
954
- function a(x, p) {
954
+ function o(x, p) {
955
955
  if (f.isUndefined(p)) {
956
956
  if (!f.isUndefined(x))
957
957
  return s(void 0, x);
@@ -964,33 +964,33 @@ function me(t, e) {
964
964
  return s(void 0, x);
965
965
  }
966
966
  const d = {
967
- url: o,
968
- method: o,
969
- data: o,
970
- baseURL: a,
971
- transformRequest: a,
972
- transformResponse: a,
973
- paramsSerializer: a,
974
- timeout: a,
975
- timeoutMessage: a,
976
- withCredentials: a,
977
- withXSRFToken: a,
978
- adapter: a,
979
- responseType: a,
980
- xsrfCookieName: a,
981
- xsrfHeaderName: a,
982
- onUploadProgress: a,
983
- onDownloadProgress: a,
984
- decompress: a,
985
- maxContentLength: a,
986
- maxBodyLength: a,
987
- beforeRedirect: a,
988
- transport: a,
989
- httpAgent: a,
990
- httpsAgent: a,
991
- cancelToken: a,
992
- socketPath: a,
993
- responseEncoding: a,
967
+ url: a,
968
+ method: a,
969
+ data: a,
970
+ baseURL: o,
971
+ transformRequest: o,
972
+ transformResponse: o,
973
+ paramsSerializer: o,
974
+ timeout: o,
975
+ timeoutMessage: o,
976
+ withCredentials: o,
977
+ withXSRFToken: o,
978
+ adapter: o,
979
+ responseType: o,
980
+ xsrfCookieName: o,
981
+ xsrfHeaderName: o,
982
+ onUploadProgress: o,
983
+ onDownloadProgress: o,
984
+ decompress: o,
985
+ maxContentLength: o,
986
+ maxBodyLength: o,
987
+ beforeRedirect: o,
988
+ transport: o,
989
+ httpAgent: o,
990
+ httpsAgent: o,
991
+ cancelToken: o,
992
+ socketPath: o,
993
+ responseEncoding: o,
994
994
  validateStatus: c,
995
995
  headers: (x, p, y) => i(bt(x), bt(p), y, !0)
996
996
  };
@@ -1001,30 +1001,30 @@ function me(t, e) {
1001
1001
  }
1002
1002
  const Zt = (t) => {
1003
1003
  const e = me({}, t);
1004
- let { data: n, withXSRFToken: s, xsrfHeaderName: i, xsrfCookieName: o, headers: a, auth: c } = e;
1005
- if (e.headers = a = re.from(a), e.url = Vt(Xt(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), c && a.set(
1004
+ let { data: n, withXSRFToken: s, xsrfHeaderName: i, xsrfCookieName: a, headers: o, auth: c } = e;
1005
+ if (e.headers = o = re.from(o), e.url = Vt(Xt(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), c && o.set(
1006
1006
  "Authorization",
1007
1007
  "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
1008
1008
  ), f.isFormData(n)) {
1009
1009
  if (Q.hasStandardBrowserEnv || Q.hasStandardBrowserWebWorkerEnv)
1010
- a.setContentType(void 0);
1010
+ o.setContentType(void 0);
1011
1011
  else if (f.isFunction(n.getHeaders)) {
1012
1012
  const d = n.getHeaders(), x = ["content-type", "content-length"];
1013
1013
  Object.entries(d).forEach(([p, y]) => {
1014
- x.includes(p.toLowerCase()) && a.set(p, y);
1014
+ x.includes(p.toLowerCase()) && o.set(p, y);
1015
1015
  });
1016
1016
  }
1017
1017
  }
1018
1018
  if (Q.hasStandardBrowserEnv && (s && f.isFunction(s) && (s = s(e)), s || s !== !1 && vn(e.url))) {
1019
- const d = i && o && Sn.read(o);
1020
- d && a.set(i, d);
1019
+ const d = i && a && Sn.read(a);
1020
+ d && o.set(i, d);
1021
1021
  }
1022
1022
  return e;
1023
1023
  }, Cn = typeof XMLHttpRequest < "u", Tn = Cn && function(t) {
1024
1024
  return new Promise(function(n, s) {
1025
1025
  const i = Zt(t);
1026
- let o = i.data;
1027
- const a = re.from(i.headers).normalize();
1026
+ let a = i.data;
1027
+ const o = re.from(i.headers).normalize();
1028
1028
  let { responseType: c, onUploadProgress: d, onDownloadProgress: x } = i, p, y, k, E, u;
1029
1029
  function w() {
1030
1030
  E && E(), u && u(), i.cancelToken && i.cancelToken.unsubscribe(p), i.signal && i.signal.removeEventListener("abort", p);
@@ -1066,7 +1066,7 @@ const Zt = (t) => {
1066
1066
  t,
1067
1067
  h
1068
1068
  )), h = null;
1069
- }, o === void 0 && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function(U, N) {
1069
+ }, a === void 0 && o.setContentType(null), "setRequestHeader" in h && f.forEach(o.toJSON(), function(U, N) {
1070
1070
  h.setRequestHeader(N, U);
1071
1071
  }), f.isUndefined(i.withCredentials) || (h.withCredentials = !!i.withCredentials), c && c !== "json" && (h.responseType = i.responseType), x && ([k, u] = Ne(x, !0), h.addEventListener("progress", k)), d && h.upload && ([y, E] = Ne(d), h.upload.addEventListener("progress", y), h.upload.addEventListener("loadend", E)), (i.cancelToken || i.signal) && (p = (g) => {
1072
1072
  h && (s(!g || g.type ? new ve(null, t, h) : g), h.abort(), h = null);
@@ -1076,28 +1076,28 @@ const Zt = (t) => {
1076
1076
  s(new $("Unsupported protocol " + C + ":", $.ERR_BAD_REQUEST, t));
1077
1077
  return;
1078
1078
  }
1079
- h.send(o || null);
1079
+ h.send(a || null);
1080
1080
  });
1081
1081
  }, Rn = (t, e) => {
1082
1082
  const { length: n } = t = t ? t.filter(Boolean) : [];
1083
1083
  if (e || n) {
1084
1084
  let s = new AbortController(), i;
1085
- const o = function(x) {
1085
+ const a = function(x) {
1086
1086
  if (!i) {
1087
1087
  i = !0, c();
1088
1088
  const p = x instanceof Error ? x : this.reason;
1089
1089
  s.abort(p instanceof $ ? p : new ve(p instanceof Error ? p.message : p));
1090
1090
  }
1091
1091
  };
1092
- let a = e && setTimeout(() => {
1093
- a = null, o(new $(`timeout ${e} of ms exceeded`, $.ETIMEDOUT));
1092
+ let o = e && setTimeout(() => {
1093
+ o = null, a(new $(`timeout ${e} of ms exceeded`, $.ETIMEDOUT));
1094
1094
  }, e);
1095
1095
  const c = () => {
1096
- t && (a && clearTimeout(a), a = null, t.forEach((x) => {
1097
- x.unsubscribe ? x.unsubscribe(o) : x.removeEventListener("abort", o);
1096
+ t && (o && clearTimeout(o), o = null, t.forEach((x) => {
1097
+ x.unsubscribe ? x.unsubscribe(a) : x.removeEventListener("abort", a);
1098
1098
  }), t = null);
1099
1099
  };
1100
- t.forEach((x) => x.addEventListener("abort", o));
1100
+ t.forEach((x) => x.addEventListener("abort", a));
1101
1101
  const { signal: d } = s;
1102
1102
  return d.unsubscribe = () => f.asap(c), d;
1103
1103
  }
@@ -1131,8 +1131,8 @@ const Zt = (t) => {
1131
1131
  }
1132
1132
  }, wt = (t, e, n, s) => {
1133
1133
  const i = In(t, e);
1134
- let o = 0, a, c = (d) => {
1135
- a || (a = !0, s && s(d));
1134
+ let a = 0, o, c = (d) => {
1135
+ o || (o = !0, s && s(d));
1136
1136
  };
1137
1137
  return new ReadableStream({
1138
1138
  async pull(d) {
@@ -1144,7 +1144,7 @@ const Zt = (t) => {
1144
1144
  }
1145
1145
  let y = p.byteLength;
1146
1146
  if (n) {
1147
- let k = o += y;
1147
+ let k = a += y;
1148
1148
  n(k);
1149
1149
  }
1150
1150
  d.enqueue(new Uint8Array(p));
@@ -1174,10 +1174,10 @@ const Zt = (t) => {
1174
1174
  t = f.merge.call({
1175
1175
  skipUndefined: !0
1176
1176
  }, An, t);
1177
- const { fetch: e, Request: n, Response: s } = t, i = e ? Ae(e) : typeof fetch == "function", o = Ae(n), a = Ae(s);
1177
+ const { fetch: e, Request: n, Response: s } = t, i = e ? Ae(e) : typeof fetch == "function", a = Ae(n), o = Ae(s);
1178
1178
  if (!i)
1179
1179
  return !1;
1180
- const c = i && Ae(vt), d = i && (typeof St == "function" ? /* @__PURE__ */ ((u) => (w) => u.encode(w))(new St()) : async (u) => new Uint8Array(await new n(u).arrayBuffer())), x = o && c && kt(() => {
1180
+ const c = i && Ae(vt), d = i && (typeof St == "function" ? /* @__PURE__ */ ((u) => (w) => u.encode(w))(new St()) : async (u) => new Uint8Array(await new n(u).arrayBuffer())), x = a && c && kt(() => {
1181
1181
  let u = !1;
1182
1182
  const w = new n(Q.origin, {
1183
1183
  body: new vt(),
@@ -1187,7 +1187,7 @@ const Zt = (t) => {
1187
1187
  }
1188
1188
  }).headers.has("Content-Type");
1189
1189
  return u && !w;
1190
- }), p = a && c && kt(() => f.isReadableStream(new s("").body)), y = {
1190
+ }), p = o && c && kt(() => f.isReadableStream(new s("").body)), y = {
1191
1191
  stream: p && ((u) => u.body)
1192
1192
  };
1193
1193
  i && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((u) => {
@@ -1253,7 +1253,7 @@ const Zt = (t) => {
1253
1253
  }
1254
1254
  }
1255
1255
  f.isString(O) || (O = O ? "include" : "omit");
1256
- const M = o && "credentials" in n.prototype, J = {
1256
+ const M = a && "credentials" in n.prototype, J = {
1257
1257
  ...X,
1258
1258
  signal: R,
1259
1259
  method: h.toUpperCase(),
@@ -1262,8 +1262,8 @@ const Zt = (t) => {
1262
1262
  duplex: "half",
1263
1263
  credentials: M ? O : void 0
1264
1264
  };
1265
- G = o && new n(w, J);
1266
- let H = await (o ? W(G, X) : W(w, J));
1265
+ G = a && new n(w, J);
1266
+ let H = await (a ? W(G, X) : W(w, J));
1267
1267
  const L = p && (j === "stream" || j === "response");
1268
1268
  if (p && (N || L && T)) {
1269
1269
  const l = {};
@@ -1304,14 +1304,14 @@ const Zt = (t) => {
1304
1304
  };
1305
1305
  }, Un = /* @__PURE__ */ new Map(), Qt = (t) => {
1306
1306
  let e = t ? t.env : {};
1307
- const { fetch: n, Request: s, Response: i } = e, o = [
1307
+ const { fetch: n, Request: s, Response: i } = e, a = [
1308
1308
  s,
1309
1309
  i,
1310
1310
  n
1311
1311
  ];
1312
- let a = o.length, c = a, d, x, p = Un;
1312
+ let o = a.length, c = o, d, x, p = Un;
1313
1313
  for (; c--; )
1314
- d = o[c], x = p.get(d), x === void 0 && p.set(d, x = c ? /* @__PURE__ */ new Map() : zn(e)), p = x;
1314
+ d = a[c], x = p.get(d), x === void 0 && p.set(d, x = c ? /* @__PURE__ */ new Map() : zn(e)), p = x;
1315
1315
  return x;
1316
1316
  };
1317
1317
  Qt();
@@ -1336,23 +1336,23 @@ const Et = (t) => `- ${t}`, _n = (t) => f.isFunction(t) || t === null || t === !
1336
1336
  t = f.isArray(t) ? t : [t];
1337
1337
  const { length: n } = t;
1338
1338
  let s, i;
1339
- const o = {};
1340
- for (let a = 0; a < n; a++) {
1341
- s = t[a];
1339
+ const a = {};
1340
+ for (let o = 0; o < n; o++) {
1341
+ s = t[o];
1342
1342
  let c;
1343
1343
  if (i = s, !_n(s) && (i = Qe[(c = String(s)).toLowerCase()], i === void 0))
1344
1344
  throw new $(`Unknown adapter '${c}'`);
1345
1345
  if (i && (f.isFunction(i) || (i = i.get(e))))
1346
1346
  break;
1347
- o[c || "#" + a] = i;
1347
+ a[c || "#" + o] = i;
1348
1348
  }
1349
1349
  if (!i) {
1350
- const a = Object.entries(o).map(
1350
+ const o = Object.entries(a).map(
1351
1351
  ([d, x]) => `adapter ${d} ` + (x === !1 ? "is not supported by the environment" : "is not available in the build")
1352
1352
  );
1353
- let c = n ? a.length > 1 ? `since :
1354
- ` + a.map(Et).join(`
1355
- `) : " " + Et(a[0]) : "as no adapter specified";
1353
+ let c = n ? o.length > 1 ? `since :
1354
+ ` + o.map(Et).join(`
1355
+ `) : " " + Et(o[0]) : "as no adapter specified";
1356
1356
  throw new $(
1357
1357
  "There is no suitable adapter to dispatch the request " + c,
1358
1358
  "ERR_NOT_SUPPORT"
@@ -1392,21 +1392,21 @@ const tr = "1.12.2", We = {};
1392
1392
  });
1393
1393
  const Tt = {};
1394
1394
  We.transitional = function(e, n, s) {
1395
- function i(o, a) {
1396
- return "[Axios v" + tr + "] Transitional option '" + o + "'" + a + (s ? ". " + s : "");
1395
+ function i(a, o) {
1396
+ return "[Axios v" + tr + "] Transitional option '" + a + "'" + o + (s ? ". " + s : "");
1397
1397
  }
1398
- return (o, a, c) => {
1398
+ return (a, o, c) => {
1399
1399
  if (e === !1)
1400
1400
  throw new $(
1401
- i(a, " has been removed" + (n ? " in " + n : "")),
1401
+ i(o, " has been removed" + (n ? " in " + n : "")),
1402
1402
  $.ERR_DEPRECATED
1403
1403
  );
1404
- return n && !Tt[a] && (Tt[a] = !0, console.warn(
1404
+ return n && !Tt[o] && (Tt[o] = !0, console.warn(
1405
1405
  i(
1406
- a,
1406
+ o,
1407
1407
  " has been deprecated since v" + n + " and will be removed in the near future"
1408
1408
  )
1409
- )), e ? e(o, a, c) : !0;
1409
+ )), e ? e(a, o, c) : !0;
1410
1410
  };
1411
1411
  };
1412
1412
  We.spelling = function(e) {
@@ -1418,15 +1418,15 @@ function $n(t, e, n) {
1418
1418
  const s = Object.keys(t);
1419
1419
  let i = s.length;
1420
1420
  for (; i-- > 0; ) {
1421
- const o = s[i], a = e[o];
1422
- if (a) {
1423
- const c = t[o], d = c === void 0 || a(c, o, t);
1421
+ const a = s[i], o = e[a];
1422
+ if (o) {
1423
+ const c = t[a], d = c === void 0 || o(c, a, t);
1424
1424
  if (d !== !0)
1425
- throw new $("option " + o + " must be " + d, $.ERR_BAD_OPTION_VALUE);
1425
+ throw new $("option " + a + " must be " + d, $.ERR_BAD_OPTION_VALUE);
1426
1426
  continue;
1427
1427
  }
1428
1428
  if (n !== !0)
1429
- throw new $("Unknown option " + o, $.ERR_BAD_OPTION);
1429
+ throw new $("Unknown option " + a, $.ERR_BAD_OPTION);
1430
1430
  }
1431
1431
  }
1432
1432
  const $e = {
@@ -1455,10 +1455,10 @@ let xe = class {
1455
1455
  if (s instanceof Error) {
1456
1456
  let i = {};
1457
1457
  Error.captureStackTrace ? Error.captureStackTrace(i) : i = new Error();
1458
- const o = i.stack ? i.stack.replace(/^.+\n/, "") : "";
1458
+ const a = i.stack ? i.stack.replace(/^.+\n/, "") : "";
1459
1459
  try {
1460
- s.stack ? o && !String(s.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (s.stack += `
1461
- ` + o) : s.stack = o;
1460
+ s.stack ? a && !String(s.stack).endsWith(a.replace(/^.+\n.+\n/, "")) && (s.stack += `
1461
+ ` + a) : s.stack = a;
1462
1462
  } catch {
1463
1463
  }
1464
1464
  }
@@ -1467,7 +1467,7 @@ let xe = class {
1467
1467
  }
1468
1468
  _request(e, n) {
1469
1469
  typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = me(this.defaults, n);
1470
- const { transitional: s, paramsSerializer: i, headers: o } = n;
1470
+ const { transitional: s, paramsSerializer: i, headers: a } = n;
1471
1471
  s !== void 0 && $e.assertOptions(s, {
1472
1472
  silentJSONParsing: ce.transitional(ce.boolean),
1473
1473
  forcedJSONParsing: ce.transitional(ce.boolean),
@@ -1481,16 +1481,16 @@ let xe = class {
1481
1481
  baseUrl: ce.spelling("baseURL"),
1482
1482
  withXsrfToken: ce.spelling("withXSRFToken")
1483
1483
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1484
- let a = o && f.merge(
1485
- o.common,
1486
- o[n.method]
1484
+ let o = a && f.merge(
1485
+ a.common,
1486
+ a[n.method]
1487
1487
  );
1488
- o && f.forEach(
1488
+ a && f.forEach(
1489
1489
  ["delete", "get", "head", "post", "put", "patch", "common"],
1490
1490
  (u) => {
1491
- delete o[u];
1491
+ delete a[u];
1492
1492
  }
1493
- ), n.headers = re.concat(a, o);
1493
+ ), n.headers = re.concat(o, a);
1494
1494
  const c = [];
1495
1495
  let d = !0;
1496
1496
  this.interceptors.request.forEach(function(w) {
@@ -1544,14 +1544,14 @@ f.forEach(["delete", "get", "head", "options"], function(e) {
1544
1544
  });
1545
1545
  f.forEach(["post", "put", "patch"], function(e) {
1546
1546
  function n(s) {
1547
- return function(o, a, c) {
1547
+ return function(a, o, c) {
1548
1548
  return this.request(me(c || {}, {
1549
1549
  method: e,
1550
1550
  headers: s ? {
1551
1551
  "Content-Type": "multipart/form-data"
1552
1552
  } : {},
1553
- url: o,
1554
- data: a
1553
+ url: a,
1554
+ data: o
1555
1555
  }));
1556
1556
  };
1557
1557
  }
@@ -1562,26 +1562,26 @@ let Dn = class rr {
1562
1562
  if (typeof e != "function")
1563
1563
  throw new TypeError("executor must be a function.");
1564
1564
  let n;
1565
- this.promise = new Promise(function(o) {
1566
- n = o;
1565
+ this.promise = new Promise(function(a) {
1566
+ n = a;
1567
1567
  });
1568
1568
  const s = this;
1569
1569
  this.promise.then((i) => {
1570
1570
  if (!s._listeners) return;
1571
- let o = s._listeners.length;
1572
- for (; o-- > 0; )
1573
- s._listeners[o](i);
1571
+ let a = s._listeners.length;
1572
+ for (; a-- > 0; )
1573
+ s._listeners[a](i);
1574
1574
  s._listeners = null;
1575
1575
  }), this.promise.then = (i) => {
1576
- let o;
1577
- const a = new Promise((c) => {
1578
- s.subscribe(c), o = c;
1576
+ let a;
1577
+ const o = new Promise((c) => {
1578
+ s.subscribe(c), a = c;
1579
1579
  }).then(i);
1580
- return a.cancel = function() {
1581
- s.unsubscribe(o);
1582
- }, a;
1583
- }, e(function(o, a, c) {
1584
- s.reason || (s.reason = new ve(o, a, c), n(s.reason));
1580
+ return o.cancel = function() {
1581
+ s.unsubscribe(a);
1582
+ }, o;
1583
+ }, e(function(a, o, c) {
1584
+ s.reason || (s.reason = new ve(a, o, c), n(s.reason));
1585
1585
  });
1586
1586
  }
1587
1587
  /**
@@ -1747,8 +1747,8 @@ const {
1747
1747
  AxiosHeaders: ni,
1748
1748
  HttpStatusCode: si,
1749
1749
  formToJSON: ii,
1750
- getAdapter: oi,
1751
- mergeConfig: ai
1750
+ getAdapter: ai,
1751
+ mergeConfig: oi
1752
1752
  } = K;
1753
1753
  class li {
1754
1754
  baseUrl;
@@ -1781,25 +1781,25 @@ class li {
1781
1781
  * @param data Optional request body
1782
1782
  * @param extraHeaders Optional custom headers
1783
1783
  */
1784
- async request(e, n, s, i = {}, o = !1) {
1784
+ async request(e, n, s, i = {}, a = !1) {
1785
1785
  try {
1786
- const a = {
1786
+ const o = {
1787
1787
  ...this.appId ? { appId: this.appId } : {},
1788
1788
  ...s || {}
1789
1789
  };
1790
1790
  return (await this.client.request({
1791
1791
  url: n,
1792
1792
  method: e,
1793
- data: a,
1793
+ data: o,
1794
1794
  headers: i,
1795
- withCredentials: o
1795
+ withCredentials: a
1796
1796
  // 👈 override axios default
1797
1797
  })).data;
1798
- } catch (a) {
1799
- throw K.isAxiosError(a) ? {
1800
- message: a.response?.data?.message || a.message || "Request failed",
1801
- status: a.response?.status ?? 0
1802
- } : { message: a.message || "Unexpected error occurred" };
1798
+ } catch (o) {
1799
+ throw K.isAxiosError(o) ? {
1800
+ message: o.response?.data?.message || o.message || "Request failed",
1801
+ status: o.response?.status ?? 0
1802
+ } : { message: o.message || "Unexpected error occurred" };
1803
1803
  }
1804
1804
  }
1805
1805
  // ================= USERS =================
@@ -2084,7 +2084,7 @@ class li {
2084
2084
  throw new Error("searchUserDataByKeys: 'userId' is required");
2085
2085
  const i = new URLSearchParams(
2086
2086
  Object.entries(s).reduce(
2087
- (o, [a, c]) => (c != null && (o[a] = String(c)), o),
2087
+ (a, [o, c]) => (c != null && (a[o] = String(c)), a),
2088
2088
  {}
2089
2089
  )
2090
2090
  ).toString();
@@ -2110,15 +2110,15 @@ class li {
2110
2110
  * - Future filter ready
2111
2111
  */
2112
2112
  async getUserData(e) {
2113
- const { userId: n, limit: s = 20, cursor: i, type: o } = e;
2113
+ const { userId: n, limit: s = 20, cursor: i, type: a } = e;
2114
2114
  if (!n)
2115
2115
  throw new Error("getUserData: 'userId' is required");
2116
- const a = `/users/${encodeURIComponent(n)}/data`, c = new URLSearchParams();
2117
- c.append("limit", String(s)), i && c.append("cursor", i), o && c.append("type", o);
2116
+ const o = `/users/${encodeURIComponent(n)}/data`, c = new URLSearchParams();
2117
+ c.append("limit", String(s)), i && c.append("cursor", i), a && c.append("type", a);
2118
2118
  const d = c.toString();
2119
2119
  return await this.request(
2120
2120
  "GET",
2121
- d ? `${a}?${d}` : a,
2121
+ d ? `${o}?${d}` : o,
2122
2122
  void 0,
2123
2123
  {},
2124
2124
  !1
@@ -2249,12 +2249,12 @@ class li {
2249
2249
  const n = this.appId;
2250
2250
  if (!n)
2251
2251
  throw new Error("getAppUsersData: 'appId' is required");
2252
- const { category: s, limit: i = 20, cursor: o } = e;
2253
- let a = s ? `/app/${encodeURIComponent(n)}/users-data/${encodeURIComponent(s)}` : `/app/${encodeURIComponent(n)}/users-data`;
2252
+ const { category: s, limit: i = 20, cursor: a } = e;
2253
+ let o = `/app/${encodeURIComponent(n)}/users-data`;
2254
2254
  const c = new URLSearchParams();
2255
- i && c.append("limit", String(i)), o && c.append("cursor", o);
2255
+ s && c.append("category", s), c.append("limit", String(i)), a && c.append("cursor", a);
2256
2256
  const d = c.toString();
2257
- return d && (a += `?${d}`), await this.request("GET", a, void 0, {}, !1);
2257
+ return d && (o += `?${d}`), await this.request("GET", o, void 0, {}, !1);
2258
2258
  }
2259
2259
  /**
2260
2260
  * 👥 Get all app users (Paginated + Load More + Filters)
@@ -2272,8 +2272,8 @@ class li {
2272
2272
  const n = this.appId;
2273
2273
  if (!n)
2274
2274
  throw new Error("getAllAppUsers: 'appId' is required");
2275
- const { limit: s = 20, cursor: i, search: o, role: a, isActive: c, isVerified: d } = e, x = `/app/${encodeURIComponent(n)}/users`, p = new URLSearchParams();
2276
- p.append("limit", String(s)), i && p.append("cursor", i), o && p.append("search", o), a && p.append("role", a), typeof c == "boolean" && p.append("isActive", String(c)), typeof d == "boolean" && p.append("isVerified", String(d));
2275
+ const { limit: s = 20, cursor: i, search: a, role: o, isActive: c, isVerified: d } = e, x = `/app/${encodeURIComponent(n)}/users`, p = new URLSearchParams();
2276
+ p.append("limit", String(s)), i && p.append("cursor", i), a && p.append("search", a), o && p.append("role", o), typeof c == "boolean" && p.append("isActive", String(c)), typeof d == "boolean" && p.append("isVerified", String(d));
2277
2277
  const y = p.toString();
2278
2278
  return await this.request(
2279
2279
  "GET",
@@ -2399,19 +2399,19 @@ function Fn() {
2399
2399
  if (Rt) return ke;
2400
2400
  Rt = 1;
2401
2401
  var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
2402
- function n(s, i, o) {
2403
- var a = null;
2404
- if (o !== void 0 && (a = "" + o), i.key !== void 0 && (a = "" + i.key), "key" in i) {
2405
- o = {};
2402
+ function n(s, i, a) {
2403
+ var o = null;
2404
+ if (a !== void 0 && (o = "" + a), i.key !== void 0 && (o = "" + i.key), "key" in i) {
2405
+ a = {};
2406
2406
  for (var c in i)
2407
- c !== "key" && (o[c] = i[c]);
2408
- } else o = i;
2409
- return i = o.ref, {
2407
+ c !== "key" && (a[c] = i[c]);
2408
+ } else a = i;
2409
+ return i = a.ref, {
2410
2410
  $$typeof: t,
2411
2411
  type: s,
2412
- key: a,
2412
+ key: o,
2413
2413
  ref: i !== void 0 ? i : null,
2414
- props: o
2414
+ props: a
2415
2415
  };
2416
2416
  }
2417
2417
  return ke.Fragment = e, ke.jsx = n, ke.jsxs = n, ke;
@@ -2507,10 +2507,10 @@ function qn() {
2507
2507
  var l = R.A;
2508
2508
  return l === null ? null : l.getOwner();
2509
2509
  }
2510
- function o() {
2510
+ function a() {
2511
2511
  return Error("react-stack-top-frame");
2512
2512
  }
2513
- function a(l) {
2513
+ function o(l) {
2514
2514
  if (G.call(l, "key")) {
2515
2515
  var m = Object.getOwnPropertyDescriptor(l, "key").get;
2516
2516
  if (m && m.isReactWarning) return !1;
@@ -2535,7 +2535,7 @@ function qn() {
2535
2535
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
2536
2536
  )), l = this.props.ref, l !== void 0 ? l : null;
2537
2537
  }
2538
- function x(l, m, S, D, ne, ae) {
2538
+ function x(l, m, S, D, ne, oe) {
2539
2539
  var B = S.ref;
2540
2540
  return l = {
2541
2541
  $$typeof: u,
@@ -2565,10 +2565,10 @@ function qn() {
2565
2565
  configurable: !1,
2566
2566
  enumerable: !1,
2567
2567
  writable: !0,
2568
- value: ae
2568
+ value: oe
2569
2569
  }), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
2570
2570
  }
2571
- function p(l, m, S, D, ne, ae) {
2571
+ function p(l, m, S, D, ne, oe) {
2572
2572
  var B = m.children;
2573
2573
  if (B !== void 0)
2574
2574
  if (D)
@@ -2599,7 +2599,7 @@ React keys must be passed directly to JSX without using spread:
2599
2599
  B
2600
2600
  ), Y[B + D] = !0);
2601
2601
  }
2602
- if (B = null, S !== void 0 && (n(S), B = "" + S), a(m) && (n(m.key), B = "" + m.key), "key" in m) {
2602
+ if (B = null, S !== void 0 && (n(S), B = "" + S), o(m) && (n(m.key), B = "" + m.key), "key" in m) {
2603
2603
  S = {};
2604
2604
  for (var ye in m)
2605
2605
  ye !== "key" && (S[ye] = m[ye]);
@@ -2613,7 +2613,7 @@ React keys must be passed directly to JSX without using spread:
2613
2613
  S,
2614
2614
  i(),
2615
2615
  ne,
2616
- ae
2616
+ oe
2617
2617
  );
2618
2618
  }
2619
2619
  function y(l) {
@@ -2632,8 +2632,8 @@ React keys must be passed directly to JSX without using spread:
2632
2632
  };
2633
2633
  var M, J = {}, H = E.react_stack_bottom_frame.bind(
2634
2634
  E,
2635
- o
2636
- )(), L = A(s(o)), Y = {};
2635
+ a
2636
+ )(), L = A(s(a)), Y = {};
2637
2637
  Ee.Fragment = h, Ee.jsx = function(l, m, S) {
2638
2638
  var D = 1e4 > R.recentlyCreatedOwnerStacks++;
2639
2639
  return p(
@@ -2709,8 +2709,8 @@ const Yn = zt(
2709
2709
  strokeWidth: n = 2,
2710
2710
  absoluteStrokeWidth: s,
2711
2711
  className: i = "",
2712
- children: o,
2713
- iconNode: a,
2712
+ children: a,
2713
+ iconNode: o,
2714
2714
  ...c
2715
2715
  }, d) => Je(
2716
2716
  "svg",
@@ -2722,12 +2722,12 @@ const Yn = zt(
2722
2722
  stroke: t,
2723
2723
  strokeWidth: s ? Number(n) * 24 / Number(e) : n,
2724
2724
  className: sr("lucide", i),
2725
- ...!o && !Hn(c) && { "aria-hidden": "true" },
2725
+ ...!a && !Hn(c) && { "aria-hidden": "true" },
2726
2726
  ...c
2727
2727
  },
2728
2728
  [
2729
- ...a.map(([x, p]) => Je(x, p)),
2730
- ...Array.isArray(o) ? o : [o]
2729
+ ...o.map(([x, p]) => Je(x, p)),
2730
+ ...Array.isArray(a) ? a : [a]
2731
2731
  ]
2732
2732
  )
2733
2733
  );
@@ -2739,8 +2739,8 @@ const Yn = zt(
2739
2739
  */
2740
2740
  const F = (t, e) => {
2741
2741
  const n = zt(
2742
- ({ className: s, ...i }, o) => Je(Yn, {
2743
- ref: o,
2742
+ ({ className: s, ...i }, a) => Je(Yn, {
2743
+ ref: a,
2744
2744
  iconNode: e,
2745
2745
  className: sr(
2746
2746
  `lucide-${Wn(Ot(t))}`,
@@ -2850,7 +2850,7 @@ const ss = [
2850
2850
  * This source code is licensed under the ISC license.
2851
2851
  * See the LICENSE file in the root directory of this source tree.
2852
2852
  */
2853
- const os = [
2853
+ const as = [
2854
2854
  [
2855
2855
  "path",
2856
2856
  {
@@ -2867,14 +2867,14 @@ const os = [
2867
2867
  }
2868
2868
  ],
2869
2869
  ["path", { d: "m2 2 20 20", key: "1ooewy" }]
2870
- ], ot = F("eye-off", os);
2870
+ ], at = F("eye-off", as);
2871
2871
  /**
2872
2872
  * @license lucide-react v0.544.0 - ISC
2873
2873
  *
2874
2874
  * This source code is licensed under the ISC license.
2875
2875
  * See the LICENSE file in the root directory of this source tree.
2876
2876
  */
2877
- const as = [
2877
+ const os = [
2878
2878
  [
2879
2879
  "path",
2880
2880
  {
@@ -2883,7 +2883,7 @@ const as = [
2883
2883
  }
2884
2884
  ],
2885
2885
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
2886
- ], at = F("eye", as);
2886
+ ], ot = F("eye", os);
2887
2887
  /**
2888
2888
  * @license lucide-react v0.544.0 - ISC
2889
2889
  *
@@ -2926,7 +2926,7 @@ const us = [
2926
2926
  }
2927
2927
  ],
2928
2928
  ["circle", { cx: "16.5", cy: "7.5", r: ".5", fill: "currentColor", key: "w0ekpg" }]
2929
- ], or = F("key-round", us);
2929
+ ], ar = F("key-round", us);
2930
2930
  /**
2931
2931
  * @license lucide-react v0.544.0 - ISC
2932
2932
  *
@@ -3175,11 +3175,11 @@ const Ds = [
3175
3175
  const Ns = [
3176
3176
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
3177
3177
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
3178
- ], Oe = F("x", Ns), ar = cr(null), ci = ({
3178
+ ], Oe = F("x", Ns), or = cr(null), ci = ({
3179
3179
  authix: t,
3180
3180
  children: e
3181
- }) => /* @__PURE__ */ r.jsx(ar.Provider, { value: t, children: e }), ge = () => {
3182
- const t = dr(ar);
3181
+ }) => /* @__PURE__ */ r.jsx(or.Provider, { value: t, children: e }), ge = () => {
3182
+ const t = dr(or);
3183
3183
  if (!t)
3184
3184
  throw new Error("useAuthix must be used inside <AuthixProvider />");
3185
3185
  return t;
@@ -3189,8 +3189,8 @@ const Ns = [
3189
3189
  title: n = "Create Your Account",
3190
3190
  subtitle: s = "Join our platform today",
3191
3191
  primaryColor: i = "#00C214",
3192
- gradient: o = "linear-gradient(135deg, #22c55e, #00C214)",
3193
- darkMode: a = !0,
3192
+ gradient: a = "linear-gradient(135deg, #22c55e, #00C214)",
3193
+ darkMode: o = !0,
3194
3194
  // Only avatar is optional
3195
3195
  showAvatar: c = !1,
3196
3196
  roles: d = [],
@@ -3207,7 +3207,7 @@ const Ns = [
3207
3207
  password: "",
3208
3208
  role: d.length ? d[0] : "user",
3209
3209
  ...c && { avatarUrl: "" }
3210
- }, [w, h] = P(u), [I, C] = P(!1), [g, U] = P(!1), [N, b] = P(null), [j, q] = P({}), [O, X] = P(!1), W = a ? "#ffffff" : "#111827", R = a ? "#a1a1aa" : "#6b7280", G = a ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.02)", T = a ? "rgba(255,255,255,0.1)" : "rgba(0,0,0,0.1)";
3210
+ }, [w, h] = P(u), [I, C] = P(!1), [g, U] = P(!1), [N, b] = P(null), [j, q] = P({}), [O, X] = P(!1), W = o ? "#ffffff" : "#111827", R = o ? "#a1a1aa" : "#6b7280", G = o ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.02)", T = o ? "rgba(255,255,255,0.1)" : "rgba(0,0,0,0.1)";
3211
3211
  Ce.useEffect(() => {
3212
3212
  if (typeof window < "u") {
3213
3213
  const L = () => X(window.innerWidth < 768);
@@ -3276,7 +3276,7 @@ const Ns = [
3276
3276
  flexDirection: "column",
3277
3277
  borderRadius: "10px",
3278
3278
  fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
3279
- backgroundColor: a ? "#000000" : "#ffffff",
3279
+ backgroundColor: o ? "#000000" : "#ffffff",
3280
3280
  padding: O ? "30px 24px" : "20px 28px"
3281
3281
  },
3282
3282
  children: [
@@ -3411,9 +3411,9 @@ const Ns = [
3411
3411
  left: 0,
3412
3412
  width: "50%",
3413
3413
  height: "100%",
3414
- backgroundColor: a ? "#000000" : "#ffffff",
3414
+ backgroundColor: o ? "#000000" : "#ffffff",
3415
3415
  // dark/light background
3416
- boxShadow: a ? "0 1px 3px rgba(255,255,255,0.05)" : "0 1px 3px rgba(0,0,0,0.1)",
3416
+ boxShadow: o ? "0 1px 3px rgba(255,255,255,0.05)" : "0 1px 3px rgba(0,0,0,0.1)",
3417
3417
  // subtle shadow
3418
3418
  borderRadius: "10px",
3419
3419
  transition: "transform 0.3s ease, background-color 0.3s ease",
@@ -3432,7 +3432,7 @@ const Ns = [
3432
3432
  zIndex: 10,
3433
3433
  border: "none",
3434
3434
  background: "transparent",
3435
- color: w.role === d[0] ? i : a ? "#9ca3af" : "#6b7280",
3435
+ color: w.role === d[0] ? i : o ? "#9ca3af" : "#6b7280",
3436
3436
  // theme-aware inactive color
3437
3437
  fontWeight: w.role === d[0] ? 600 : 500,
3438
3438
  fontSize: "14px",
@@ -3454,7 +3454,7 @@ const Ns = [
3454
3454
  zIndex: 10,
3455
3455
  border: "none",
3456
3456
  background: "transparent",
3457
- color: w.role === d[1] ? i : a ? "#9ca3af" : "#6b7280",
3457
+ color: w.role === d[1] ? i : o ? "#9ca3af" : "#6b7280",
3458
3458
  fontWeight: w.role === d[1] ? 600 : 500,
3459
3459
  fontSize: "14px",
3460
3460
  display: "flex",
@@ -3639,7 +3639,7 @@ const Ns = [
3639
3639
  cursor: "pointer",
3640
3640
  padding: "4px"
3641
3641
  },
3642
- children: I ? /* @__PURE__ */ r.jsx(ot, { size: 20 }) : /* @__PURE__ */ r.jsx(at, { size: 20 })
3642
+ children: I ? /* @__PURE__ */ r.jsx(at, { size: 20 }) : /* @__PURE__ */ r.jsx(ot, { size: 20 })
3643
3643
  }
3644
3644
  )
3645
3645
  ] }),
@@ -3751,7 +3751,7 @@ const Ns = [
3751
3751
  disabled: g,
3752
3752
  style: {
3753
3753
  padding: "12px",
3754
- background: o,
3754
+ background: a,
3755
3755
  color: "#fff",
3756
3756
  border: "none",
3757
3757
  borderRadius: "10px",
@@ -3814,8 +3814,8 @@ const Ns = [
3814
3814
  title: n = "Sign In to Your Account",
3815
3815
  subtitle: s = "Welcome back! Please enter your details",
3816
3816
  primaryColor: i = "#00C214",
3817
- gradient: o = "linear-gradient(135deg, #22c55e, #00C214)",
3818
- darkMode: a = !0,
3817
+ gradient: a = "linear-gradient(135deg, #22c55e, #00C214)",
3818
+ darkMode: o = !0,
3819
3819
  signupUrl: c,
3820
3820
  onSuccess: d,
3821
3821
  onError: x
@@ -3824,7 +3824,7 @@ const Ns = [
3824
3824
  email: "",
3825
3825
  otp: "",
3826
3826
  newPassword: ""
3827
- }), [W, R] = P(!1), G = a ? "#ffffff" : "#111827", T = a ? "#a1a1aa" : "#6b7280", A = a ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.02)", M = a ? "rgba(255,255,255,0.1)" : "rgba(0,0,0,0.1)";
3827
+ }), [W, R] = P(!1), G = o ? "#ffffff" : "#111827", T = o ? "#a1a1aa" : "#6b7280", A = o ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.02)", M = o ? "rgba(255,255,255,0.1)" : "rgba(0,0,0,0.1)";
3828
3828
  Ce.useEffect(() => {
3829
3829
  if (typeof window < "u") {
3830
3830
  const m = () => R(window.innerWidth < 768);
@@ -3838,8 +3838,8 @@ const Ns = [
3838
3838
  if (!D)
3839
3839
  throw new Error(S.message || "Login failed");
3840
3840
  if (typeof document < "u") {
3841
- const ne = "a_s_b", ae = "true", B = /* @__PURE__ */ new Date();
3842
- B.setTime(B.getTime() + 1440 * 60 * 1e3), document.cookie = `${ne}=${ae}; path=/; expires=${B.toUTCString()}; SameSite=Lax`;
3841
+ const ne = "a_s_b", oe = "true", B = /* @__PURE__ */ new Date();
3842
+ B.setTime(B.getTime() + 1440 * 60 * 1e3), document.cookie = `${ne}=${oe}; path=/; expires=${B.toUTCString()}; SameSite=Lax`;
3843
3843
  }
3844
3844
  U({ type: "success", text: `Welcome ${D.name}` }), d?.(D);
3845
3845
  } catch (S) {
@@ -3921,7 +3921,7 @@ const Ns = [
3921
3921
  flexDirection: "column",
3922
3922
  borderRadius: "10px",
3923
3923
  fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
3924
- backgroundColor: a ? "#000000" : "#ffffff",
3924
+ backgroundColor: o ? "#000000" : "#ffffff",
3925
3925
  padding: W ? "30px 24px" : "18px 28px"
3926
3926
  },
3927
3927
  children: [
@@ -4001,7 +4001,7 @@ const Ns = [
4001
4001
  style: {
4002
4002
  fontSize: "14px",
4003
4003
  fontWeight: 500,
4004
- color: a ? "#ffffff" : "#000000"
4004
+ color: o ? "#ffffff" : "#000000"
4005
4005
  },
4006
4006
  children: "Email Address"
4007
4007
  }
@@ -4047,7 +4047,7 @@ const Ns = [
4047
4047
  style: {
4048
4048
  fontSize: "14px",
4049
4049
  fontWeight: 500,
4050
- color: a ? "#ffffff" : "#000000"
4050
+ color: o ? "#ffffff" : "#000000"
4051
4051
  },
4052
4052
  children: "Password"
4053
4053
  }
@@ -4093,7 +4093,7 @@ const Ns = [
4093
4093
  color: T,
4094
4094
  cursor: "pointer"
4095
4095
  },
4096
- children: w ? /* @__PURE__ */ r.jsx(ot, { size: 20 }) : /* @__PURE__ */ r.jsx(at, { size: 20 })
4096
+ children: w ? /* @__PURE__ */ r.jsx(at, { size: 20 }) : /* @__PURE__ */ r.jsx(ot, { size: 20 })
4097
4097
  }
4098
4098
  )
4099
4099
  ] })
@@ -4146,7 +4146,7 @@ const Ns = [
4146
4146
  disabled: I,
4147
4147
  style: {
4148
4148
  padding: "12px",
4149
- background: o,
4149
+ background: a,
4150
4150
  color: "#fff",
4151
4151
  border: "none",
4152
4152
  borderRadius: "10px",
@@ -4177,7 +4177,7 @@ const Ns = [
4177
4177
  style: {
4178
4178
  fontSize: "14px",
4179
4179
  fontWeight: 500,
4180
- color: a ? "#ffffff" : "#000000"
4180
+ color: o ? "#ffffff" : "#000000"
4181
4181
  },
4182
4182
  children: "Email Address"
4183
4183
  }
@@ -4228,14 +4228,14 @@ const Ns = [
4228
4228
  style: {
4229
4229
  fontSize: "14px",
4230
4230
  fontWeight: 500,
4231
- color: a ? "#ffffff" : "#000000"
4231
+ color: o ? "#ffffff" : "#000000"
4232
4232
  },
4233
4233
  children: "One-Time Password (OTP)"
4234
4234
  }
4235
4235
  ),
4236
4236
  /* @__PURE__ */ r.jsxs("div", { style: { position: "relative" }, children: [
4237
4237
  /* @__PURE__ */ r.jsx(
4238
- or,
4238
+ ar,
4239
4239
  {
4240
4240
  size: 20,
4241
4241
  style: {
@@ -4279,7 +4279,7 @@ const Ns = [
4279
4279
  style: {
4280
4280
  fontSize: "14px",
4281
4281
  fontWeight: 500,
4282
- color: a ? "#ffffff" : "#000000"
4282
+ color: o ? "#ffffff" : "#000000"
4283
4283
  },
4284
4284
  children: "New Password"
4285
4285
  }
@@ -4322,7 +4322,7 @@ const Ns = [
4322
4322
  disabled: I,
4323
4323
  style: {
4324
4324
  padding: "12px",
4325
- background: o,
4325
+ background: a,
4326
4326
  color: "#fff",
4327
4327
  border: "none",
4328
4328
  fontSize: "14px",
@@ -4407,7 +4407,7 @@ const Ns = [
4407
4407
  const c = window.document.cookie.split(";").map((d) => d.trim()).find((d) => d.startsWith("a_s_b="))?.split("=")[1] === "true";
4408
4408
  s(c ? "authenticated" : "unauthenticated");
4409
4409
  }, []);
4410
- const i = (o) => typeof o == "function" ? o() : o;
4410
+ const i = (a) => typeof a == "function" ? a() : a;
4411
4411
  return n === "loading" ? null : n === "unauthenticated" ? /* @__PURE__ */ r.jsx(r.Fragment, { children: i(e) }) : /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
4412
4412
  }, fi = ({
4413
4413
  children: t,
@@ -4420,7 +4420,7 @@ const Ns = [
4420
4420
  const c = window.document.cookie.split(";").map((d) => d.trim()).find((d) => d.startsWith("a_s_b="))?.split("=")[1] === "true";
4421
4421
  s(c ? "authenticated" : "unauthenticated");
4422
4422
  }, []);
4423
- const i = (o) => typeof o == "function" ? o() : o;
4423
+ const i = (a) => typeof a == "function" ? a() : a;
4424
4424
  return n === "loading" ? null : n === "authenticated" ? /* @__PURE__ */ r.jsx(r.Fragment, { children: i(e) }) : /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
4425
4425
  }, Ls = ({
4426
4426
  isOpen: t,
@@ -4428,9 +4428,9 @@ const Ns = [
4428
4428
  onSuccess: n,
4429
4429
  onError: s,
4430
4430
  userId: i,
4431
- colors: o
4431
+ colors: a
4432
4432
  }) => {
4433
- const a = ge(), [c, d] = P(!1), [x, p] = P(""), [y, k] = P("warning"), [E, u] = P(!1);
4433
+ const o = ge(), [c, d] = P(!1), [x, p] = P(""), [y, k] = P("warning"), [E, u] = P(!1);
4434
4434
  if (ee(() => {
4435
4435
  if (typeof window > "u") return;
4436
4436
  const g = () => {
@@ -4441,7 +4441,7 @@ const Ns = [
4441
4441
  const w = async () => {
4442
4442
  d(!0), k("processing");
4443
4443
  try {
4444
- const g = await a.deleteUser({
4444
+ const g = await o.deleteUser({
4445
4445
  userId: i
4446
4446
  });
4447
4447
  g.success ? (n(g.message || "Account deleted successfully"), k("success"), setTimeout(() => {
@@ -4500,7 +4500,7 @@ const Ns = [
4500
4500
  "h3",
4501
4501
  {
4502
4502
  style: {
4503
- color: o.textPrimary,
4503
+ color: a.textPrimary,
4504
4504
  margin: 0,
4505
4505
  fontSize: "20px",
4506
4506
  fontWeight: 700,
@@ -4520,7 +4520,7 @@ const Ns = [
4520
4520
  style: {
4521
4521
  background: "transparent",
4522
4522
  border: "none",
4523
- color: o.textTertiary,
4523
+ color: a.textTertiary,
4524
4524
  cursor: "pointer",
4525
4525
  padding: "8px",
4526
4526
  borderRadius: "8px",
@@ -4533,10 +4533,10 @@ const Ns = [
4533
4533
  transition: "all 0.2s ease"
4534
4534
  },
4535
4535
  onMouseOver: (g) => {
4536
- g.currentTarget.style.backgroundColor = o.border, g.currentTarget.style.color = o.textPrimary;
4536
+ g.currentTarget.style.backgroundColor = a.border, g.currentTarget.style.color = a.textPrimary;
4537
4537
  },
4538
4538
  onMouseOut: (g) => {
4539
- g.currentTarget.style.backgroundColor = "transparent", g.currentTarget.style.color = o.textTertiary;
4539
+ g.currentTarget.style.backgroundColor = "transparent", g.currentTarget.style.color = a.textTertiary;
4540
4540
  },
4541
4541
  children: /* @__PURE__ */ r.jsx(Oe, { size: 20 })
4542
4542
  }
@@ -4551,8 +4551,8 @@ const Ns = [
4551
4551
  display: "flex",
4552
4552
  gap: "16px",
4553
4553
  padding: "20px",
4554
- background: `${o.error}15`,
4555
- border: `1px solid ${o.error}30`,
4554
+ background: `${a.error}15`,
4555
+ border: `1px solid ${a.error}30`,
4556
4556
  borderRadius: "12px",
4557
4557
  marginBottom: "20px"
4558
4558
  },
@@ -4561,7 +4561,7 @@ const Ns = [
4561
4561
  "div",
4562
4562
  {
4563
4563
  style: {
4564
- color: o.error,
4564
+ color: a.error,
4565
4565
  flexShrink: 0,
4566
4566
  display: "flex",
4567
4567
  alignItems: "flex-start"
@@ -4574,7 +4574,7 @@ const Ns = [
4574
4574
  "h4",
4575
4575
  {
4576
4576
  style: {
4577
- color: o.textPrimary,
4577
+ color: a.textPrimary,
4578
4578
  margin: "0 0 12px 0",
4579
4579
  fontSize: "16px",
4580
4580
  fontWeight: 600
@@ -4611,10 +4611,10 @@ const Ns = [
4611
4611
  alignItems: "center",
4612
4612
  gap: "10px",
4613
4613
  fontSize: "14px",
4614
- color: o.textSecondary
4614
+ color: a.textSecondary
4615
4615
  },
4616
4616
  children: [
4617
- /* @__PURE__ */ r.jsx("div", { style: { color: o.error, flexShrink: 0 }, children: g.icon }),
4617
+ /* @__PURE__ */ r.jsx("div", { style: { color: a.error, flexShrink: 0 }, children: g.icon }),
4618
4618
  /* @__PURE__ */ r.jsx("span", { children: g.text })
4619
4619
  ]
4620
4620
  },
@@ -4644,9 +4644,9 @@ const Ns = [
4644
4644
  style: {
4645
4645
  padding: "10px 24px",
4646
4646
  borderRadius: "10px",
4647
- border: `1.5px solid ${o.border}`,
4647
+ border: `1.5px solid ${a.border}`,
4648
4648
  background: "transparent",
4649
- color: o.textPrimary,
4649
+ color: a.textPrimary,
4650
4650
  fontSize: "14px",
4651
4651
  fontWeight: 500,
4652
4652
  cursor: "pointer",
@@ -4655,7 +4655,7 @@ const Ns = [
4655
4655
  transition: "all 0.2s ease"
4656
4656
  },
4657
4657
  onMouseOver: (g) => {
4658
- g.currentTarget.style.backgroundColor = o.border, g.currentTarget.style.transform = "translateY(-1px)";
4658
+ g.currentTarget.style.backgroundColor = a.border, g.currentTarget.style.transform = "translateY(-1px)";
4659
4659
  },
4660
4660
  onMouseOut: (g) => {
4661
4661
  g.currentTarget.style.backgroundColor = "transparent", g.currentTarget.style.transform = "translateY(0)";
@@ -4734,7 +4734,7 @@ const Ns = [
4734
4734
  "h3",
4735
4735
  {
4736
4736
  style: {
4737
- color: o.textPrimary,
4737
+ color: a.textPrimary,
4738
4738
  margin: 0,
4739
4739
  fontSize: "20px",
4740
4740
  fontWeight: 700,
@@ -4751,7 +4751,7 @@ const Ns = [
4751
4751
  "p",
4752
4752
  {
4753
4753
  style: {
4754
- color: o.textSecondary,
4754
+ color: a.textSecondary,
4755
4755
  marginBottom: "16px",
4756
4756
  fontSize: "14px",
4757
4757
  lineHeight: "1.5"
@@ -4759,7 +4759,7 @@ const Ns = [
4759
4759
  children: [
4760
4760
  "Type",
4761
4761
  " ",
4762
- /* @__PURE__ */ r.jsx("strong", { style: { color: o.textPrimary }, children: '"delete my account"' }),
4762
+ /* @__PURE__ */ r.jsx("strong", { style: { color: a.textPrimary }, children: '"delete my account"' }),
4763
4763
  " ",
4764
4764
  "to confirm:"
4765
4765
  ]
@@ -4776,16 +4776,16 @@ const Ns = [
4776
4776
  width: "100%",
4777
4777
  padding: "14px 16px",
4778
4778
  borderRadius: "10px",
4779
- border: `2px solid ${h ? o.success : o.error}`,
4779
+ border: `2px solid ${h ? a.success : a.error}`,
4780
4780
  backgroundColor: "transparent",
4781
- color: o.textPrimary,
4781
+ color: a.textPrimary,
4782
4782
  fontSize: "15px",
4783
4783
  outline: "none",
4784
4784
  transition: "all 0.2s ease",
4785
4785
  boxSizing: "border-box"
4786
4786
  },
4787
4787
  onFocus: (g) => {
4788
- g.target.style.boxShadow = `0 0 0 3px ${o.accent}20`;
4788
+ g.target.style.boxShadow = `0 0 0 3px ${a.accent}20`;
4789
4789
  },
4790
4790
  onBlur: (g) => {
4791
4791
  g.target.style.boxShadow = "none";
@@ -4801,7 +4801,7 @@ const Ns = [
4801
4801
  alignItems: "center",
4802
4802
  gap: "8px",
4803
4803
  marginTop: "10px",
4804
- color: o.success,
4804
+ color: a.success,
4805
4805
  fontSize: "14px",
4806
4806
  fontWeight: 500
4807
4807
  },
@@ -4832,9 +4832,9 @@ const Ns = [
4832
4832
  style: {
4833
4833
  padding: "10px 24px",
4834
4834
  borderRadius: "10px",
4835
- border: `1.5px solid ${o.border}`,
4835
+ border: `1.5px solid ${a.border}`,
4836
4836
  background: "transparent",
4837
- color: o.textPrimary,
4837
+ color: a.textPrimary,
4838
4838
  fontSize: "14px",
4839
4839
  fontWeight: 500,
4840
4840
  cursor: "pointer",
@@ -4843,7 +4843,7 @@ const Ns = [
4843
4843
  transition: "all 0.2s ease"
4844
4844
  },
4845
4845
  onMouseOver: (g) => {
4846
- g.currentTarget.style.backgroundColor = o.border, g.currentTarget.style.transform = "translateY(-1px)";
4846
+ g.currentTarget.style.backgroundColor = a.border, g.currentTarget.style.transform = "translateY(-1px)";
4847
4847
  },
4848
4848
  onMouseOut: (g) => {
4849
4849
  g.currentTarget.style.backgroundColor = "transparent", g.currentTarget.style.transform = "translateY(0)";
@@ -4933,7 +4933,7 @@ const Ns = [
4933
4933
  "h3",
4934
4934
  {
4935
4935
  style: {
4936
- color: o.textPrimary,
4936
+ color: a.textPrimary,
4937
4937
  margin: 0,
4938
4938
  fontSize: "20px",
4939
4939
  fontWeight: 700,
@@ -4946,7 +4946,7 @@ const Ns = [
4946
4946
  "p",
4947
4947
  {
4948
4948
  style: {
4949
- color: o.textTertiary,
4949
+ color: a.textTertiary,
4950
4950
  margin: "4px 0 0 0",
4951
4951
  fontSize: "14px",
4952
4952
  lineHeight: "1.4"
@@ -4980,7 +4980,7 @@ const Ns = [
4980
4980
  padding: "12px",
4981
4981
  borderRadius: "8px",
4982
4982
  transition: "all 0.2s ease",
4983
- backgroundColor: g.active ? `${o.accent}10` : "transparent"
4983
+ backgroundColor: g.active ? `${a.accent}10` : "transparent"
4984
4984
  },
4985
4985
  children: [
4986
4986
  /* @__PURE__ */ r.jsx(
@@ -4990,9 +4990,9 @@ const Ns = [
4990
4990
  width: "8px",
4991
4991
  height: "8px",
4992
4992
  borderRadius: "50%",
4993
- backgroundColor: g.active ? o.accent : o.textTertiary,
4993
+ backgroundColor: g.active ? a.accent : a.textTertiary,
4994
4994
  transition: "all 0.3s ease",
4995
- boxShadow: g.active ? `0 0 0 4px ${o.accent}20` : "none"
4995
+ boxShadow: g.active ? `0 0 0 4px ${a.accent}20` : "none"
4996
4996
  }
4997
4997
  }
4998
4998
  ),
@@ -5001,7 +5001,7 @@ const Ns = [
5001
5001
  {
5002
5002
  style: {
5003
5003
  fontSize: "14px",
5004
- color: g.active ? o.textPrimary : o.textSecondary,
5004
+ color: g.active ? a.textPrimary : a.textSecondary,
5005
5005
  fontWeight: g.active ? 500 : 400
5006
5006
  },
5007
5007
  children: g.text
@@ -5021,17 +5021,17 @@ const Ns = [
5021
5021
  alignItems: "center",
5022
5022
  gap: "10px",
5023
5023
  padding: "16px",
5024
- background: `${o.accent}10`,
5024
+ background: `${a.accent}10`,
5025
5025
  borderRadius: "10px",
5026
5026
  fontSize: "14px",
5027
- color: o.textSecondary
5027
+ color: a.textSecondary
5028
5028
  },
5029
5029
  children: [
5030
5030
  /* @__PURE__ */ r.jsx(
5031
5031
  rt,
5032
5032
  {
5033
5033
  size: 18,
5034
- style: { color: o.accent, flexShrink: 0 }
5034
+ style: { color: a.accent, flexShrink: 0 }
5035
5035
  }
5036
5036
  ),
5037
5037
  /* @__PURE__ */ r.jsx("span", { children: "You will be redirected to the login page shortly" })
@@ -5073,7 +5073,7 @@ const Ns = [
5073
5073
  "h3",
5074
5074
  {
5075
5075
  style: {
5076
- color: o.textPrimary,
5076
+ color: a.textPrimary,
5077
5077
  margin: 0,
5078
5078
  fontSize: "20px",
5079
5079
  fontWeight: 700,
@@ -5086,7 +5086,7 @@ const Ns = [
5086
5086
  "p",
5087
5087
  {
5088
5088
  style: {
5089
- color: o.textTertiary,
5089
+ color: a.textTertiary,
5090
5090
  margin: "4px 0 0 0",
5091
5091
  fontSize: "14px",
5092
5092
  lineHeight: "1.4"
@@ -5104,8 +5104,8 @@ const Ns = [
5104
5104
  style: {
5105
5105
  textAlign: "center",
5106
5106
  padding: "20px",
5107
- background: `${o.success}10`,
5108
- border: `1px solid ${o.success}20`,
5107
+ background: `${a.success}10`,
5108
+ border: `1px solid ${a.success}20`,
5109
5109
  borderRadius: "12px",
5110
5110
  marginBottom: "24px"
5111
5111
  },
@@ -5115,7 +5115,7 @@ const Ns = [
5115
5115
  {
5116
5116
  size: 48,
5117
5117
  style: {
5118
- color: o.success,
5118
+ color: a.success,
5119
5119
  marginBottom: "12px",
5120
5120
  display: "block",
5121
5121
  margin: "0 auto 12px auto"
@@ -5126,7 +5126,7 @@ const Ns = [
5126
5126
  "p",
5127
5127
  {
5128
5128
  style: {
5129
- color: o.textPrimary,
5129
+ color: a.textPrimary,
5130
5130
  fontSize: "16px",
5131
5131
  fontWeight: 600,
5132
5132
  margin: "0 0 8px 0"
@@ -5138,7 +5138,7 @@ const Ns = [
5138
5138
  "p",
5139
5139
  {
5140
5140
  style: {
5141
- color: o.textSecondary,
5141
+ color: a.textSecondary,
5142
5142
  fontSize: "14px",
5143
5143
  margin: 0,
5144
5144
  lineHeight: "1.5"
@@ -5157,10 +5157,10 @@ const Ns = [
5157
5157
  alignItems: "center",
5158
5158
  gap: "10px",
5159
5159
  padding: "16px",
5160
- background: `${o.accent}10`,
5160
+ background: `${a.accent}10`,
5161
5161
  borderRadius: "10px",
5162
5162
  fontSize: "14px",
5163
- color: o.textSecondary,
5163
+ color: a.textSecondary,
5164
5164
  justifyContent: "center"
5165
5165
  },
5166
5166
  children: [
@@ -5170,7 +5170,7 @@ const Ns = [
5170
5170
  size: 16,
5171
5171
  style: {
5172
5172
  animation: "spin 1s linear infinite",
5173
- color: o.accent
5173
+ color: a.accent
5174
5174
  }
5175
5175
  }
5176
5176
  ),
@@ -5202,8 +5202,8 @@ const Ns = [
5202
5202
  "div",
5203
5203
  {
5204
5204
  style: {
5205
- backgroundColor: o.surface,
5206
- border: `1px solid ${o.border}`,
5205
+ backgroundColor: a.surface,
5206
+ border: `1px solid ${a.border}`,
5207
5207
  borderRadius: "20px",
5208
5208
  width: "100%",
5209
5209
  maxWidth: "480px",
@@ -5279,7 +5279,7 @@ const Ns = [
5279
5279
  onUpdate: n,
5280
5280
  colors: s
5281
5281
  }) => {
5282
- const [i, o] = P(""), [a, c] = P(!1), [d, x] = P(!1), [p, y] = P({ isValid: !1, message: "", type: null });
5282
+ const [i, a] = P(""), [o, c] = P(!1), [d, x] = P(!1), [p, y] = P({ isValid: !1, message: "", type: null });
5283
5283
  if (ee(() => {
5284
5284
  if (typeof window > "u") return;
5285
5285
  const u = () => {
@@ -5314,7 +5314,7 @@ const Ns = [
5314
5314
  if (!(!i || !p.isValid)) {
5315
5315
  c(!0);
5316
5316
  try {
5317
- await n(i) && (o(""), e());
5317
+ await n(i) && (a(""), e());
5318
5318
  } finally {
5319
5319
  c(!1);
5320
5320
  }
@@ -5476,7 +5476,7 @@ const Ns = [
5476
5476
  id: "avatar-url",
5477
5477
  placeholder: "https://example.com/your-avatar.jpg",
5478
5478
  value: i,
5479
- onChange: (u) => o(u.target.value),
5479
+ onChange: (u) => a(u.target.value),
5480
5480
  style: {
5481
5481
  width: "100%",
5482
5482
  padding: "14px 16px",
@@ -5496,7 +5496,7 @@ const Ns = [
5496
5496
  onBlur: (u) => {
5497
5497
  u.target.style.borderColor = p.type === "error" ? s.error : p.type === "success" ? s.success : s.border, u.target.style.boxShadow = "none";
5498
5498
  },
5499
- disabled: a
5499
+ disabled: o
5500
5500
  }
5501
5501
  ),
5502
5502
  /* @__PURE__ */ r.jsx(
@@ -5596,7 +5596,7 @@ const Ns = [
5596
5596
  "button",
5597
5597
  {
5598
5598
  onClick: e,
5599
- disabled: a,
5599
+ disabled: o,
5600
5600
  style: {
5601
5601
  padding: "10px 24px",
5602
5602
  borderRadius: "10px",
@@ -5605,17 +5605,17 @@ const Ns = [
5605
5605
  color: s.textPrimary,
5606
5606
  fontSize: "14px",
5607
5607
  fontWeight: 500,
5608
- cursor: a ? "not-allowed" : "pointer",
5608
+ cursor: o ? "not-allowed" : "pointer",
5609
5609
  flex: d ? "none" : 1,
5610
5610
  minWidth: d ? "100%" : "120px",
5611
- opacity: a ? 0.6 : 1,
5611
+ opacity: o ? 0.6 : 1,
5612
5612
  transition: "all 0.2s ease"
5613
5613
  },
5614
5614
  onMouseOver: (u) => {
5615
- a || (u.currentTarget.style.backgroundColor = s.border, u.currentTarget.style.transform = "translateY(-1px)");
5615
+ o || (u.currentTarget.style.backgroundColor = s.border, u.currentTarget.style.transform = "translateY(-1px)");
5616
5616
  },
5617
5617
  onMouseOut: (u) => {
5618
- a || (u.currentTarget.style.backgroundColor = "transparent", u.currentTarget.style.transform = "translateY(0)");
5618
+ o || (u.currentTarget.style.backgroundColor = "transparent", u.currentTarget.style.transform = "translateY(0)");
5619
5619
  },
5620
5620
  children: "Cancel"
5621
5621
  }
@@ -5624,7 +5624,7 @@ const Ns = [
5624
5624
  "button",
5625
5625
  {
5626
5626
  onClick: k,
5627
- disabled: a || !p.isValid,
5627
+ disabled: o || !p.isValid,
5628
5628
  style: {
5629
5629
  padding: "10px 24px",
5630
5630
  borderRadius: "10px",
@@ -5633,24 +5633,24 @@ const Ns = [
5633
5633
  color: "#fff",
5634
5634
  fontSize: "14px",
5635
5635
  fontWeight: 600,
5636
- cursor: a || !p.isValid ? "not-allowed" : "pointer",
5636
+ cursor: o || !p.isValid ? "not-allowed" : "pointer",
5637
5637
  flex: d ? "none" : 1,
5638
5638
  minWidth: d ? "100%" : "140px",
5639
- opacity: a || !p.isValid ? 0.6 : 1,
5639
+ opacity: o || !p.isValid ? 0.6 : 1,
5640
5640
  display: "flex",
5641
5641
  alignItems: "center",
5642
5642
  justifyContent: "center",
5643
5643
  gap: "8px",
5644
5644
  transition: "all 0.2s ease",
5645
- boxShadow: a || !p.isValid ? "none" : `0 4px 12px ${s.accent}40`
5645
+ boxShadow: o || !p.isValid ? "none" : `0 4px 12px ${s.accent}40`
5646
5646
  },
5647
5647
  onMouseOver: (u) => {
5648
- !a && p.isValid && (u.currentTarget.style.transform = "translateY(-1px)", u.currentTarget.style.boxShadow = `0 6px 20px ${s.accent}60`);
5648
+ !o && p.isValid && (u.currentTarget.style.transform = "translateY(-1px)", u.currentTarget.style.boxShadow = `0 6px 20px ${s.accent}60`);
5649
5649
  },
5650
5650
  onMouseOut: (u) => {
5651
- !a && p.isValid && (u.currentTarget.style.transform = "translateY(0)", u.currentTarget.style.boxShadow = `0 4px 12px ${s.accent}40`);
5651
+ !o && p.isValid && (u.currentTarget.style.transform = "translateY(0)", u.currentTarget.style.boxShadow = `0 4px 12px ${s.accent}40`);
5652
5652
  },
5653
- children: a ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
5653
+ children: o ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
5654
5654
  /* @__PURE__ */ r.jsx(
5655
5655
  se,
5656
5656
  {
@@ -5731,9 +5731,9 @@ const Ns = [
5731
5731
  onSuccess: n,
5732
5732
  onError: s,
5733
5733
  userId: i,
5734
- colors: o
5734
+ colors: a
5735
5735
  }) => {
5736
- const a = ge(), [c, d] = P({
5736
+ const o = ge(), [c, d] = P({
5737
5737
  currentPassword: "",
5738
5738
  newPassword: "",
5739
5739
  confirmPassword: ""
@@ -5761,7 +5761,7 @@ const Ns = [
5761
5761
  if (b.preventDefault(), !!g()) {
5762
5762
  k(!0);
5763
5763
  try {
5764
- const { data: j } = await a.changePassword({
5764
+ const { data: j } = await o.changePassword({
5765
5765
  currentPassword: c.currentPassword,
5766
5766
  newPassword: c.newPassword,
5767
5767
  userId: i
@@ -5812,8 +5812,8 @@ const Ns = [
5812
5812
  "div",
5813
5813
  {
5814
5814
  style: {
5815
- backgroundColor: o.surface,
5816
- border: `1px solid ${o.border}`,
5815
+ backgroundColor: a.surface,
5816
+ border: `1px solid ${a.border}`,
5817
5817
  borderRadius: "16px",
5818
5818
  maxWidth: "440px",
5819
5819
  width: "100%",
@@ -5852,11 +5852,11 @@ const Ns = [
5852
5852
  width: "40px",
5853
5853
  height: "40px",
5854
5854
  borderRadius: "10px",
5855
- background: `linear-gradient(135deg, ${o.accent}20, ${o.accent}40)`,
5855
+ background: `linear-gradient(135deg, ${a.accent}20, ${a.accent}40)`,
5856
5856
  display: "flex",
5857
5857
  alignItems: "center",
5858
5858
  justifyContent: "center",
5859
- color: o.accent,
5859
+ color: a.accent,
5860
5860
  flexShrink: 0
5861
5861
  },
5862
5862
  children: /* @__PURE__ */ r.jsx(be, { size: 20 })
@@ -5866,7 +5866,7 @@ const Ns = [
5866
5866
  "h3",
5867
5867
  {
5868
5868
  style: {
5869
- color: o.textPrimary,
5869
+ color: a.textPrimary,
5870
5870
  margin: 0,
5871
5871
  fontSize: "18px",
5872
5872
  fontWeight: 600,
@@ -5886,7 +5886,7 @@ const Ns = [
5886
5886
  style: {
5887
5887
  background: "transparent",
5888
5888
  border: "none",
5889
- color: o.textTertiary,
5889
+ color: a.textTertiary,
5890
5890
  cursor: "pointer",
5891
5891
  padding: "8px",
5892
5892
  borderRadius: "8px",
@@ -5898,10 +5898,10 @@ const Ns = [
5898
5898
  justifyContent: "center"
5899
5899
  },
5900
5900
  onMouseOver: (b) => {
5901
- b.currentTarget.style.backgroundColor = o.border, b.currentTarget.style.color = o.textPrimary;
5901
+ b.currentTarget.style.backgroundColor = a.border, b.currentTarget.style.color = a.textPrimary;
5902
5902
  },
5903
5903
  onMouseOut: (b) => {
5904
- b.currentTarget.style.backgroundColor = "transparent", b.currentTarget.style.color = o.textTertiary;
5904
+ b.currentTarget.style.backgroundColor = "transparent", b.currentTarget.style.color = a.textTertiary;
5905
5905
  },
5906
5906
  children: /* @__PURE__ */ r.jsx(Oe, { size: 20 })
5907
5907
  }
@@ -5925,7 +5925,7 @@ const Ns = [
5925
5925
  style: {
5926
5926
  display: "block",
5927
5927
  marginBottom: "8px",
5928
- color: o.textPrimary,
5928
+ color: a.textPrimary,
5929
5929
  fontSize: "14px",
5930
5930
  fontWeight: 500,
5931
5931
  lineHeight: "1.4"
@@ -5942,7 +5942,7 @@ const Ns = [
5942
5942
  left: "14px",
5943
5943
  top: "50%",
5944
5944
  transform: "translateY(-50%)",
5945
- color: o.textTertiary,
5945
+ color: a.textTertiary,
5946
5946
  zIndex: 2
5947
5947
  },
5948
5948
  children: q
@@ -5961,19 +5961,19 @@ const Ns = [
5961
5961
  width: "100%",
5962
5962
  padding: "14px 48px 14px 44px",
5963
5963
  borderRadius: "10px",
5964
- border: `1.5px solid ${x[b] ? o.error : o.border}`,
5964
+ border: `1.5px solid ${x[b] ? a.error : a.border}`,
5965
5965
  backgroundColor: "transparent",
5966
- color: o.textPrimary,
5966
+ color: a.textPrimary,
5967
5967
  fontSize: "15px",
5968
5968
  outline: "none",
5969
5969
  transition: "all 0.2s ease",
5970
5970
  boxSizing: "border-box"
5971
5971
  },
5972
5972
  onFocus: (O) => {
5973
- O.target.style.borderColor = o.accent, O.target.style.boxShadow = `0 0 0 3px ${o.accent}20`;
5973
+ O.target.style.borderColor = a.accent, O.target.style.boxShadow = `0 0 0 3px ${a.accent}20`;
5974
5974
  },
5975
5975
  onBlur: (O) => {
5976
- O.target.style.borderColor = x[b] ? o.error : o.border, O.target.style.boxShadow = "none";
5976
+ O.target.style.borderColor = x[b] ? a.error : a.border, O.target.style.boxShadow = "none";
5977
5977
  }
5978
5978
  }
5979
5979
  ),
@@ -5990,7 +5990,7 @@ const Ns = [
5990
5990
  background: "transparent",
5991
5991
  border: "none",
5992
5992
  cursor: "pointer",
5993
- color: o.textTertiary,
5993
+ color: a.textTertiary,
5994
5994
  padding: "4px",
5995
5995
  borderRadius: "4px",
5996
5996
  width: "32px",
@@ -6000,12 +6000,12 @@ const Ns = [
6000
6000
  justifyContent: "center"
6001
6001
  },
6002
6002
  onMouseOver: (O) => {
6003
- O.currentTarget.style.backgroundColor = o.border, O.currentTarget.style.color = o.textPrimary;
6003
+ O.currentTarget.style.backgroundColor = a.border, O.currentTarget.style.color = a.textPrimary;
6004
6004
  },
6005
6005
  onMouseOut: (O) => {
6006
- O.currentTarget.style.backgroundColor = "transparent", O.currentTarget.style.color = o.textTertiary;
6006
+ O.currentTarget.style.backgroundColor = "transparent", O.currentTarget.style.color = a.textTertiary;
6007
6007
  },
6008
- children: E[b] ? /* @__PURE__ */ r.jsx(ot, { size: 18 }) : /* @__PURE__ */ r.jsx(at, { size: 18 })
6008
+ children: E[b] ? /* @__PURE__ */ r.jsx(at, { size: 18 }) : /* @__PURE__ */ r.jsx(ot, { size: 18 })
6009
6009
  }
6010
6010
  )
6011
6011
  ] }),
@@ -6014,7 +6014,7 @@ const Ns = [
6014
6014
  {
6015
6015
  style: {
6016
6016
  fontSize: "13px",
6017
- color: o.error,
6017
+ color: a.error,
6018
6018
  marginTop: "6px",
6019
6019
  display: "flex",
6020
6020
  alignItems: "center",
@@ -6050,9 +6050,9 @@ const Ns = [
6050
6050
  style: {
6051
6051
  padding: "14px 24px",
6052
6052
  borderRadius: "10px",
6053
- border: `1.5px solid ${o.border}`,
6053
+ border: `1.5px solid ${a.border}`,
6054
6054
  background: "transparent",
6055
- color: o.textPrimary,
6055
+ color: a.textPrimary,
6056
6056
  fontSize: "14px",
6057
6057
  fontWeight: 500,
6058
6058
  cursor: y ? "not-allowed" : "pointer",
@@ -6062,7 +6062,7 @@ const Ns = [
6062
6062
  transition: "all 0.2s ease"
6063
6063
  },
6064
6064
  onMouseOver: (b) => {
6065
- y || (b.currentTarget.style.backgroundColor = o.border, b.currentTarget.style.transform = "translateY(-1px)");
6065
+ y || (b.currentTarget.style.backgroundColor = a.border, b.currentTarget.style.transform = "translateY(-1px)");
6066
6066
  },
6067
6067
  onMouseOut: (b) => {
6068
6068
  y || (b.currentTarget.style.backgroundColor = "transparent", b.currentTarget.style.transform = "translateY(0)");
@@ -6079,7 +6079,7 @@ const Ns = [
6079
6079
  padding: "14px 24px",
6080
6080
  borderRadius: "10px",
6081
6081
  border: "none",
6082
- background: `linear-gradient(135deg, ${o.accent}, ${o.accent}E6)`,
6082
+ background: `linear-gradient(135deg, ${a.accent}, ${a.accent}E6)`,
6083
6083
  color: "#fff",
6084
6084
  fontSize: "14px",
6085
6085
  fontWeight: 600,
@@ -6092,13 +6092,13 @@ const Ns = [
6092
6092
  justifyContent: "center",
6093
6093
  gap: "8px",
6094
6094
  transition: "all 0.2s ease",
6095
- boxShadow: y ? "none" : `0 4px 12px ${o.accent}40`
6095
+ boxShadow: y ? "none" : `0 4px 12px ${a.accent}40`
6096
6096
  },
6097
6097
  onMouseOver: (b) => {
6098
- y || (b.currentTarget.style.transform = "translateY(-1px)", b.currentTarget.style.boxShadow = `0 6px 20px ${o.accent}60`);
6098
+ y || (b.currentTarget.style.transform = "translateY(-1px)", b.currentTarget.style.boxShadow = `0 6px 20px ${a.accent}60`);
6099
6099
  },
6100
6100
  onMouseOut: (b) => {
6101
- y || (b.currentTarget.style.transform = "translateY(0)", b.currentTarget.style.boxShadow = `0 4px 12px ${o.accent}40`);
6101
+ y || (b.currentTarget.style.transform = "translateY(0)", b.currentTarget.style.boxShadow = `0 4px 12px ${a.accent}40`);
6102
6102
  },
6103
6103
  children: y ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
6104
6104
  /* @__PURE__ */ r.jsx(
@@ -6133,12 +6133,12 @@ const Ns = [
6133
6133
  }
6134
6134
 
6135
6135
  .change-password-modal::-webkit-scrollbar-thumb {
6136
- background: ${o.border};
6136
+ background: ${a.border};
6137
6137
  border-radius: 3px;
6138
6138
  }
6139
6139
 
6140
6140
  .change-password-modal::-webkit-scrollbar-thumb:hover {
6141
- background: ${o.textTertiary};
6141
+ background: ${a.textTertiary};
6142
6142
  }
6143
6143
 
6144
6144
  /* Mobile responsiveness */
@@ -6168,8 +6168,8 @@ const Ns = [
6168
6168
  onVerify: n,
6169
6169
  onSendOTP: s,
6170
6170
  verifyFormData: i,
6171
- setVerifyFormData: o,
6172
- otpSent: a,
6171
+ setVerifyFormData: a,
6172
+ otpSent: o,
6173
6173
  verifying: c,
6174
6174
  user: d,
6175
6175
  colors: x,
@@ -6177,7 +6177,7 @@ const Ns = [
6177
6177
  }) => {
6178
6178
  if (!t) return null;
6179
6179
  const y = () => {
6180
- e(), o({ email: d?.email || "", otp: "" });
6180
+ e(), a({ email: d?.email || "", otp: "" });
6181
6181
  };
6182
6182
  return /* @__PURE__ */ r.jsxs(
6183
6183
  "div",
@@ -6226,7 +6226,7 @@ const Ns = [
6226
6226
  {
6227
6227
  type: "email",
6228
6228
  value: i.email,
6229
- onChange: (k) => o((E) => ({
6229
+ onChange: (k) => a((E) => ({
6230
6230
  ...E,
6231
6231
  email: k.target.value
6232
6232
  })),
@@ -6243,11 +6243,11 @@ const Ns = [
6243
6243
  )
6244
6244
  ] })
6245
6245
  ] }),
6246
- a && /* @__PURE__ */ r.jsxs("div", { className: "form-group", children: [
6246
+ o && /* @__PURE__ */ r.jsxs("div", { className: "form-group", children: [
6247
6247
  /* @__PURE__ */ r.jsx("label", { style: { color: x.textSecondary }, children: "OTP" }),
6248
6248
  /* @__PURE__ */ r.jsxs("div", { className: "input-container", children: [
6249
6249
  /* @__PURE__ */ r.jsx(
6250
- or,
6250
+ ar,
6251
6251
  {
6252
6252
  size: 18,
6253
6253
  style: { color: x.textTertiary },
@@ -6259,7 +6259,7 @@ const Ns = [
6259
6259
  {
6260
6260
  type: "text",
6261
6261
  value: i.otp,
6262
- onChange: (k) => o((E) => ({
6262
+ onChange: (k) => a((E) => ({
6263
6263
  ...E,
6264
6264
  otp: k.target.value
6265
6265
  })),
@@ -6276,7 +6276,7 @@ const Ns = [
6276
6276
  )
6277
6277
  ] })
6278
6278
  ] }),
6279
- /* @__PURE__ */ r.jsx("div", { className: "modal-actions", children: a ? /* @__PURE__ */ r.jsxs(
6279
+ /* @__PURE__ */ r.jsx("div", { className: "modal-actions", children: o ? /* @__PURE__ */ r.jsxs(
6280
6280
  "button",
6281
6281
  {
6282
6282
  type: "submit",
@@ -6472,7 +6472,7 @@ const Ns = [
6472
6472
  onVerify: s,
6473
6473
  primaryColor: i = "#00C212"
6474
6474
  }) => {
6475
- const o = ge(), [a, c] = P(null), [d, x] = P(), [p, y] = P(!0), [k, E] = P(!1), [u, w] = P(!1), [h, I] = P(!1), [C, g] = P(!1), [U, N] = P(!1), [b, j] = P(!1), [q, O] = P(!1), [X, W] = P(!1), [R, G] = P(null), [T, A] = P(!1), [M, J] = P({
6475
+ const a = ge(), [o, c] = P(null), [d, x] = P(), [p, y] = P(!0), [k, E] = P(!1), [u, w] = P(!1), [h, I] = P(!1), [C, g] = P(!1), [U, N] = P(!1), [b, j] = P(!1), [q, O] = P(!1), [X, W] = P(!1), [R, G] = P(null), [T, A] = P(!1), [M, J] = P({
6476
6476
  email: "",
6477
6477
  otp: ""
6478
6478
  }), [H, L] = P(!1), [Y, l] = P(!1);
@@ -6511,7 +6511,7 @@ const Ns = [
6511
6511
  }
6512
6512
  try {
6513
6513
  l(!0);
6514
- const v = await o.requestEmailVerificationOTP({
6514
+ const v = await a.requestEmailVerificationOTP({
6515
6515
  userId: d.id,
6516
6516
  email: M.email
6517
6517
  }), _ = v?.data?.success ?? v?.success, V = v?.data?.message ?? v?.message;
@@ -6533,7 +6533,7 @@ const Ns = [
6533
6533
  }
6534
6534
  try {
6535
6535
  l(!0);
6536
- const _ = await o.verifyEmail({
6536
+ const _ = await a.verifyEmail({
6537
6537
  email: M.email,
6538
6538
  otp: M.otp
6539
6539
  }), V = _?.data?.success ?? _?.success, Z = _?.data?.message ?? _?.message;
@@ -6549,10 +6549,10 @@ const Ns = [
6549
6549
  } finally {
6550
6550
  l(!1);
6551
6551
  }
6552
- }, ae = async (v) => {
6552
+ }, oe = async (v) => {
6553
6553
  if (!d) return !1;
6554
6554
  try {
6555
- const _ = await o.updateUser({
6555
+ const _ = await a.updateUser({
6556
6556
  userId: d.id,
6557
6557
  avatarUrl: v
6558
6558
  });
@@ -6574,7 +6574,7 @@ const Ns = [
6574
6574
  if (d) {
6575
6575
  w(!0);
6576
6576
  try {
6577
- const v = d.email, _ = await o.updateUser({
6577
+ const v = d.email, _ = await a.updateUser({
6578
6578
  userId: d.id,
6579
6579
  ...d
6580
6580
  });
@@ -6600,7 +6600,7 @@ const Ns = [
6600
6600
  }
6601
6601
  }, le = async (v) => {
6602
6602
  try {
6603
- const _ = await o.checkIfUserExists(v);
6603
+ const _ = await a.checkIfUserExists(v);
6604
6604
  _?.success === !0 && _?.exists === !1 && (console.warn("❌ User does not exist on server. Clearing session..."), localStorage.removeItem("userInfo"), x(null));
6605
6605
  } catch (_) {
6606
6606
  console.error("⚠️ User validation request failed:", _);
@@ -6610,9 +6610,9 @@ const Ns = [
6610
6610
  (async () => {
6611
6611
  try {
6612
6612
  y(!0);
6613
- const _ = await o.checkUserSession();
6613
+ const _ = await a.checkUserSession();
6614
6614
  if (_.user?.id) {
6615
- const V = _.user.id, Z = await o.getUserProfile({ userId: V });
6615
+ const V = _.user.id, Z = await a.getUserProfile({ userId: V });
6616
6616
  if (Z.user) {
6617
6617
  const de = Z.user;
6618
6618
  x(de), le(V);
@@ -6845,14 +6845,14 @@ const Ns = [
6845
6845
  display: "grid",
6846
6846
  gap: "24px",
6847
6847
  gridTemplateColumns: "1fr",
6848
- ...a && window.innerWidth >= 1024 && {
6848
+ ...o && window.innerWidth >= 1024 && {
6849
6849
  gridTemplateColumns: "1fr 2fr",
6850
6850
  gap: "10px"
6851
6851
  },
6852
- ...a && window.innerWidth >= 768 && a && window.innerWidth < 1024 && {
6852
+ ...o && window.innerWidth >= 768 && o && window.innerWidth < 1024 && {
6853
6853
  gap: "10px"
6854
6854
  },
6855
- ...a && window.innerWidth >= 600 && a && window.innerWidth < 768 && {
6855
+ ...o && window.innerWidth >= 600 && o && window.innerWidth < 768 && {
6856
6856
  gap: "28px"
6857
6857
  }
6858
6858
  },
@@ -7052,7 +7052,7 @@ const Ns = [
7052
7052
  gap: "8px",
7053
7053
  textDecoration: "none",
7054
7054
  minHeight: "36px",
7055
- flex: a && window.innerWidth < 1024 ? "1" : "auto"
7055
+ flex: o && window.innerWidth < 1024 ? "1" : "auto"
7056
7056
  },
7057
7057
  children: [
7058
7058
  /* @__PURE__ */ r.jsx(Oe, { size: 16, "aria-hidden": "true" }),
@@ -7082,7 +7082,7 @@ const Ns = [
7082
7082
  gap: "8px",
7083
7083
  textDecoration: "none",
7084
7084
  minHeight: "36px",
7085
- flex: a && window.innerWidth < 1024 ? "1" : "auto"
7085
+ flex: o && window.innerWidth < 1024 ? "1" : "auto"
7086
7086
  },
7087
7087
  children: [
7088
7088
  u ? /* @__PURE__ */ r.jsx(
@@ -7118,7 +7118,7 @@ const Ns = [
7118
7118
  gap: "8px",
7119
7119
  textDecoration: "none",
7120
7120
  minHeight: "36px",
7121
- flex: a && window.innerWidth < 1024 ? "1" : "auto"
7121
+ flex: o && window.innerWidth < 1024 ? "1" : "auto"
7122
7122
  },
7123
7123
  children: [
7124
7124
  /* @__PURE__ */ r.jsx(ks, { size: 16, "aria-hidden": "true" }),
@@ -7148,7 +7148,7 @@ const Ns = [
7148
7148
  gap: "8px",
7149
7149
  minHeight: "36px",
7150
7150
  opacity: T ? 0.7 : 1,
7151
- flex: a && window.innerWidth < 1024 ? "1" : "auto"
7151
+ flex: o && window.innerWidth < 1024 ? "1" : "auto"
7152
7152
  },
7153
7153
  children: [
7154
7154
  T ? /* @__PURE__ */ r.jsx(
@@ -7358,7 +7358,7 @@ const Ns = [
7358
7358
  display: "grid",
7359
7359
  gap: "20px",
7360
7360
  gridTemplateColumns: "1fr",
7361
- ...a && window.innerWidth >= 600 && {
7361
+ ...o && window.innerWidth >= 600 && {
7362
7362
  gridTemplateColumns: "1fr 1fr",
7363
7363
  gap: "20px"
7364
7364
  }
@@ -7582,7 +7582,7 @@ const Ns = [
7582
7582
  onClose: () => {
7583
7583
  I(!1);
7584
7584
  },
7585
- onUpdate: ae,
7585
+ onUpdate: oe,
7586
7586
  colors: z
7587
7587
  }
7588
7588
  ),
@@ -7724,9 +7724,9 @@ const Ns = [
7724
7724
  onLogout: n,
7725
7725
  varient: s = "classic",
7726
7726
  propUser: i,
7727
- className: o = "",
7727
+ className: a = "",
7728
7728
  // New URL props with defaults
7729
- profileUrl: a,
7729
+ profileUrl: o,
7730
7730
  settingsUrl: c,
7731
7731
  // Menu item visibility with defaults
7732
7732
  showProfileMenuItem: d = !0,
@@ -7780,9 +7780,9 @@ const Ns = [
7780
7780
  if (typeof window > "u") return;
7781
7781
  const l = () => {
7782
7782
  if (!h || !O.current) return;
7783
- const m = O.current.getBoundingClientRect(), S = window.innerWidth, D = window.innerHeight, ne = 280, ae = S - m.right, B = m.left;
7783
+ const m = O.current.getBoundingClientRect(), S = window.innerWidth, D = window.innerHeight, ne = 280, oe = S - m.right, B = m.left;
7784
7784
  D - m.bottom;
7785
- const le = ae >= ne || ae > B;
7785
+ const le = oe >= ne || oe > B;
7786
7786
  W(le);
7787
7787
  };
7788
7788
  return l(), window.addEventListener("resize", l), () => window.removeEventListener("resize", l);
@@ -8079,7 +8079,7 @@ const Ns = [
8079
8079
  }
8080
8080
  }, J = (l, m) => {
8081
8081
  (l.key === "Enter" || l.key === " ") && (l.preventDefault(), m());
8082
- }, H = () => a || C?.profileUrl, L = () => {
8082
+ }, H = () => o || C?.profileUrl, L = () => {
8083
8083
  const l = H();
8084
8084
  l && window.open(l, "_self", "noopener,noreferrer");
8085
8085
  }, Y = () => {
@@ -8090,7 +8090,7 @@ const Ns = [
8090
8090
  {
8091
8091
  style: A.wrapper,
8092
8092
  ref: q,
8093
- className: o,
8093
+ className: a,
8094
8094
  role: "menu",
8095
8095
  "aria-label": "User menu",
8096
8096
  children: [
@@ -8409,13 +8409,13 @@ const Ns = [
8409
8409
  ]
8410
8410
  }
8411
8411
  );
8412
- const [o, a] = P(!1), [c, d] = P({
8412
+ const [a, o] = P(!1), [c, d] = P({
8413
8413
  email: t?.email || "",
8414
8414
  otp: ""
8415
8415
  }), [x, p] = P(!1), [y, k] = P(!1), [E, u] = P(null);
8416
8416
  Ce.useEffect(() => {
8417
8417
  if (typeof window < "u") {
8418
- const b = () => a(window.innerWidth < 768);
8418
+ const b = () => o(window.innerWidth < 768);
8419
8419
  return b(), window.addEventListener("resize", b), () => window.removeEventListener("resize", b);
8420
8420
  }
8421
8421
  }, []);
@@ -8527,7 +8527,7 @@ const Ns = [
8527
8527
  onSubmit: g,
8528
8528
  style: {
8529
8529
  width: "100%",
8530
- maxWidth: o ? "340px" : "400px",
8530
+ maxWidth: a ? "340px" : "400px",
8531
8531
  display: "flex",
8532
8532
  flexDirection: "column",
8533
8533
  gap: 20,