@neuctra/authix 1.1.77 → 1.1.78

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.
@@ -4,23 +4,23 @@ function Nt(t, e) {
4
4
  return t.apply(e, arguments);
5
5
  };
6
6
  }
7
- const { toString: xr } = Object.prototype, { getPrototypeOf: st } = Object, { iterator: qe, toStringTag: Dt } = Symbol, Me = /* @__PURE__ */ ((t) => (e) => {
7
+ const { toString: xr } = Object.prototype, { getPrototypeOf: st } = Object, { iterator: qe, toStringTag: $t } = Symbol, Me = /* @__PURE__ */ ((t) => (e) => {
8
8
  const r = xr.call(e);
9
9
  return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
10
10
  })(/* @__PURE__ */ Object.create(null)), ae = (t) => (t = t.toLowerCase(), (e) => Me(e) === t), We = (t) => (e) => typeof e === t, { isArray: we } = Array, ye = We("undefined");
11
11
  function Re(t) {
12
12
  return t !== null && !ye(t) && t.constructor !== null && !ye(t.constructor) && re(t.constructor.isBuffer) && t.constructor.isBuffer(t);
13
13
  }
14
- const $t = ae("ArrayBuffer");
14
+ const Dt = ae("ArrayBuffer");
15
15
  function hr(t) {
16
16
  let e;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && $t(t.buffer), e;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Dt(t.buffer), e;
18
18
  }
19
19
  const mr = We("string"), re = We("function"), Ft = We("number"), Pe = (t) => t !== null && typeof t == "object", gr = (t) => t === !0 || t === !1, Ue = (t) => {
20
20
  if (Me(t) !== "object")
21
21
  return !1;
22
22
  const e = st(t);
23
- return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Dt in t) && !(qe in t);
23
+ return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !($t in t) && !(qe in t);
24
24
  }, yr = (t) => {
25
25
  if (!Pe(t) || Re(t))
26
26
  return !1;
@@ -100,7 +100,7 @@ const Or = (t, e, r, { allOwnKeys: s } = {}) => (Ie(e, (i, o) => {
100
100
  for (; e-- > 0; )
101
101
  r[e] = t[e];
102
102
  return r;
103
- }, Dr = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && st(Uint8Array)), $r = (t, e) => {
103
+ }, $r = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && st(Uint8Array)), Dr = (t, e) => {
104
104
  const s = (t && t[qe]).call(t);
105
105
  let i;
106
106
  for (; (i = s.next()) && !i.done; ) {
@@ -149,7 +149,7 @@ const Or = (t, e, r, { allOwnKeys: s } = {}) => (Ie(e, (i, o) => {
149
149
  }, Hr = () => {
150
150
  }, Vr = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
151
151
  function Yr(t) {
152
- return !!(t && re(t.append) && t[Dt] === "FormData" && t[qe]);
152
+ return !!(t && re(t.append) && t[$t] === "FormData" && t[qe]);
153
153
  }
154
154
  const Kr = (t) => {
155
155
  const e = new Array(10), r = (s, i) => {
@@ -179,7 +179,7 @@ const Kr = (t) => {
179
179
  re(fe.postMessage)
180
180
  ), Xr = typeof queueMicrotask < "u" ? queueMicrotask.bind(fe) : typeof process < "u" && process.nextTick || Wt, Zr = (t) => t != null && re(t[qe]), f = {
181
181
  isArray: we,
182
- isArrayBuffer: $t,
182
+ isArrayBuffer: Dt,
183
183
  isBuffer: Re,
184
184
  isFormData: kr,
185
185
  isArrayBufferView: hr,
@@ -201,7 +201,7 @@ const Kr = (t) => {
201
201
  isFunction: re,
202
202
  isStream: Sr,
203
203
  isURLSearchParams: Er,
204
- isTypedArray: Dr,
204
+ isTypedArray: $r,
205
205
  isFileList: vr,
206
206
  forEach: Ie,
207
207
  merge: Ze,
@@ -214,7 +214,7 @@ const Kr = (t) => {
214
214
  kindOfTest: ae,
215
215
  endsWith: Ur,
216
216
  toArray: Nr,
217
- forEachEntry: $r,
217
+ forEachEntry: Dr,
218
218
  matchAll: Fr,
219
219
  isHTMLForm: Lr,
220
220
  hasOwnProperty: xt,
@@ -237,10 +237,10 @@ const Kr = (t) => {
237
237
  asap: Xr,
238
238
  isIterable: Zr
239
239
  };
240
- function $(t, e, r, s, i) {
240
+ function D(t, e, r, s, i) {
241
241
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), r && (this.config = r), s && (this.request = s), i && (this.response = i, this.status = i.status ? i.status : null);
242
242
  }
243
- f.inherits($, Error, {
243
+ f.inherits(D, Error, {
244
244
  toJSON: function() {
245
245
  return {
246
246
  // Standard
@@ -261,7 +261,7 @@ f.inherits($, Error, {
261
261
  };
262
262
  }
263
263
  });
264
- const Bt = $.prototype, Ht = {};
264
+ const Bt = D.prototype, Ht = {};
265
265
  [
266
266
  "ERR_BAD_OPTION_VALUE",
267
267
  "ERR_BAD_OPTION",
@@ -279,15 +279,15 @@ const Bt = $.prototype, Ht = {};
279
279
  ].forEach((t) => {
280
280
  Ht[t] = { value: t };
281
281
  });
282
- Object.defineProperties($, Ht);
282
+ Object.defineProperties(D, Ht);
283
283
  Object.defineProperty(Bt, "isAxiosError", { value: !0 });
284
- $.from = (t, e, r, s, i, o) => {
284
+ D.from = (t, e, r, s, i, o) => {
285
285
  const a = Object.create(Bt);
286
286
  f.toFlatObject(t, a, function(d) {
287
287
  return d !== Error.prototype;
288
288
  }, (u) => u !== "isAxiosError");
289
289
  const c = t && t.message ? t.message : "Error", h = e == null && t ? t.code : e;
290
- return $.call(a, c, h, r, 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 D.call(a, c, h, r, 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;
291
291
  };
292
292
  const Qr = null;
293
293
  function Qe(t) {
@@ -327,7 +327,7 @@ function Be(t, e, r) {
327
327
  if (f.isBoolean(p))
328
328
  return p.toString();
329
329
  if (!h && f.isBlob(p))
330
- throw new $("Blob is not supported. Use a Buffer instead.");
330
+ throw new D("Blob is not supported. Use a Buffer instead.");
331
331
  return f.isArrayBuffer(p) || f.isTypedArray(p) ? h && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
332
332
  }
333
333
  function d(p, w, x) {
@@ -578,7 +578,7 @@ const Oe = {
578
578
  return JSON.parse(e, this.parseReviver);
579
579
  } catch (c) {
580
580
  if (a)
581
- throw c.name === "SyntaxError" ? $.from(c, $.ERR_BAD_RESPONSE, this, null, this.response) : c;
581
+ throw c.name === "SyntaxError" ? D.from(c, D.ERR_BAD_RESPONSE, this, null, this.response) : c;
582
582
  }
583
583
  }
584
584
  return e;
@@ -821,16 +821,16 @@ function Xt(t) {
821
821
  return !!(t && t.__CANCEL__);
822
822
  }
823
823
  function je(t, e, r) {
824
- $.call(this, t ?? "canceled", $.ERR_CANCELED, e, r), this.name = "CanceledError";
824
+ D.call(this, t ?? "canceled", D.ERR_CANCELED, e, r), this.name = "CanceledError";
825
825
  }
826
- f.inherits(je, $, {
826
+ f.inherits(je, D, {
827
827
  __CANCEL__: !0
828
828
  });
829
829
  function Zt(t, e, r) {
830
830
  const s = r.config.validateStatus;
831
- !r.status || !s || s(r.status) ? t(r) : e(new $(
831
+ !r.status || !s || s(r.status) ? t(r) : e(new D(
832
832
  "Request failed with status code " + r.status,
833
- [$.ERR_BAD_REQUEST, $.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
833
+ [D.ERR_BAD_REQUEST, D.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
834
834
  r.config,
835
835
  r.request,
836
836
  r
@@ -1053,16 +1053,16 @@ const er = (t) => {
1053
1053
  "onloadend" in x ? x.onloadend = C : x.onreadystatechange = function() {
1054
1054
  !x || x.readyState !== 4 || x.status === 0 && !(x.responseURL && x.responseURL.indexOf("file:") === 0) || setTimeout(C);
1055
1055
  }, x.onabort = function() {
1056
- x && (s(new $("Request aborted", $.ECONNABORTED, t, x)), x = null);
1056
+ x && (s(new D("Request aborted", D.ECONNABORTED, t, x)), x = null);
1057
1057
  }, x.onerror = function(y) {
1058
- const _ = y && y.message ? y.message : "Network Error", g = new $(_, $.ERR_NETWORK, t, x);
1058
+ const _ = y && y.message ? y.message : "Network Error", g = new D(_, D.ERR_NETWORK, t, x);
1059
1059
  g.event = y || null, s(g), x = null;
1060
1060
  }, x.ontimeout = function() {
1061
1061
  let y = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
1062
1062
  const _ = i.transitional || Jt;
1063
- i.timeoutErrorMessage && (y = i.timeoutErrorMessage), s(new $(
1063
+ i.timeoutErrorMessage && (y = i.timeoutErrorMessage), s(new D(
1064
1064
  y,
1065
- _.clarifyTimeoutError ? $.ETIMEDOUT : $.ECONNABORTED,
1065
+ _.clarifyTimeoutError ? D.ETIMEDOUT : D.ECONNABORTED,
1066
1066
  t,
1067
1067
  x
1068
1068
  )), x = null;
@@ -1073,7 +1073,7 @@ const er = (t) => {
1073
1073
  }, i.cancelToken && i.cancelToken.subscribe(d), i.signal && (i.signal.aborted ? d() : i.signal.addEventListener("abort", d)));
1074
1074
  const T = vn(i.url);
1075
1075
  if (T && ee.protocols.indexOf(T) === -1) {
1076
- s(new $("Unsupported protocol " + T + ":", $.ERR_BAD_REQUEST, t));
1076
+ s(new D("Unsupported protocol " + T + ":", D.ERR_BAD_REQUEST, t));
1077
1077
  return;
1078
1078
  }
1079
1079
  x.send(o || null);
@@ -1086,11 +1086,11 @@ const er = (t) => {
1086
1086
  if (!i) {
1087
1087
  i = !0, c();
1088
1088
  const d = u instanceof Error ? u : this.reason;
1089
- s.abort(d instanceof $ ? d : new je(d instanceof Error ? d.message : d));
1089
+ s.abort(d instanceof D ? d : new je(d instanceof Error ? d.message : d));
1090
1090
  }
1091
1091
  };
1092
1092
  let a = e && setTimeout(() => {
1093
- a = null, o(new $(`timeout ${e} of ms exceeded`, $.ETIMEDOUT));
1093
+ a = null, o(new D(`timeout ${e} of ms exceeded`, D.ETIMEDOUT));
1094
1094
  }, e);
1095
1095
  const c = () => {
1096
1096
  t && (a && clearTimeout(a), a = null, t.forEach((u) => {
@@ -1195,7 +1195,7 @@ const er = (t) => {
1195
1195
  let C = w && w[p];
1196
1196
  if (C)
1197
1197
  return C.call(w);
1198
- throw new $(`Response type '${p}' is not supported`, $.ERR_NOT_SUPPORT, x);
1198
+ throw new D(`Response type '${p}' is not supported`, D.ERR_NOT_SUPPORT, x);
1199
1199
  });
1200
1200
  });
1201
1201
  const P = async (p) => {
@@ -1295,21 +1295,21 @@ const er = (t) => {
1295
1295
  });
1296
1296
  } catch (W) {
1297
1297
  throw z && z(), W && W.name === "TypeError" && /Load failed|fetch/i.test(W.message) ? Object.assign(
1298
- new $("Network Error", $.ERR_NETWORK, p, V),
1298
+ new D("Network Error", D.ERR_NETWORK, p, V),
1299
1299
  {
1300
1300
  cause: W.cause || W
1301
1301
  }
1302
- ) : $.from(W, W && W.code, p, V);
1302
+ ) : D.from(W, W && W.code, p, V);
1303
1303
  }
1304
1304
  };
1305
- }, Dn = /* @__PURE__ */ new Map(), tr = (t) => {
1305
+ }, $n = /* @__PURE__ */ new Map(), tr = (t) => {
1306
1306
  let e = t ? t.env : {};
1307
1307
  const { fetch: r, Request: s, Response: i } = e, o = [
1308
1308
  s,
1309
1309
  i,
1310
1310
  r
1311
1311
  ];
1312
- let a = o.length, c = a, h, u, d = Dn;
1312
+ let a = o.length, c = a, h, u, d = $n;
1313
1313
  for (; c--; )
1314
1314
  h = o[c], u = d.get(h), u === void 0 && d.set(h, u = c ? /* @__PURE__ */ new Map() : Nn(e)), d = u;
1315
1315
  return u;
@@ -1331,7 +1331,7 @@ f.forEach(tt, (t, e) => {
1331
1331
  Object.defineProperty(t, "adapterName", { value: e });
1332
1332
  }
1333
1333
  });
1334
- const Tt = (t) => `- ${t}`, $n = (t) => f.isFunction(t) || t === null || t === !1, rr = {
1334
+ const Tt = (t) => `- ${t}`, Dn = (t) => f.isFunction(t) || t === null || t === !1, rr = {
1335
1335
  getAdapter: (t, e) => {
1336
1336
  t = f.isArray(t) ? t : [t];
1337
1337
  const { length: r } = t;
@@ -1340,8 +1340,8 @@ const Tt = (t) => `- ${t}`, $n = (t) => f.isFunction(t) || t === null || t === !
1340
1340
  for (let a = 0; a < r; a++) {
1341
1341
  s = t[a];
1342
1342
  let c;
1343
- if (i = s, !$n(s) && (i = tt[(c = String(s)).toLowerCase()], i === void 0))
1344
- throw new $(`Unknown adapter '${c}'`);
1343
+ if (i = s, !Dn(s) && (i = tt[(c = String(s)).toLowerCase()], i === void 0))
1344
+ throw new D(`Unknown adapter '${c}'`);
1345
1345
  if (i && (f.isFunction(i) || (i = i.get(e))))
1346
1346
  break;
1347
1347
  o[c || "#" + a] = i;
@@ -1353,7 +1353,7 @@ const Tt = (t) => `- ${t}`, $n = (t) => f.isFunction(t) || t === null || t === !
1353
1353
  let c = r ? a.length > 1 ? `since :
1354
1354
  ` + a.map(Tt).join(`
1355
1355
  `) : " " + Tt(a[0]) : "as no adapter specified";
1356
- throw new $(
1356
+ throw new D(
1357
1357
  "There is no suitable adapter to dispatch the request " + c,
1358
1358
  "ERR_NOT_SUPPORT"
1359
1359
  );
@@ -1397,9 +1397,9 @@ He.transitional = function(e, r, s) {
1397
1397
  }
1398
1398
  return (o, a, c) => {
1399
1399
  if (e === !1)
1400
- throw new $(
1400
+ throw new D(
1401
1401
  i(a, " has been removed" + (r ? " in " + r : "")),
1402
- $.ERR_DEPRECATED
1402
+ D.ERR_DEPRECATED
1403
1403
  );
1404
1404
  return r && !Pt[a] && (Pt[a] = !0, console.warn(
1405
1405
  i(
@@ -1414,7 +1414,7 @@ He.spelling = function(e) {
1414
1414
  };
1415
1415
  function Fn(t, e, r) {
1416
1416
  if (typeof t != "object")
1417
- throw new $("options must be an object", $.ERR_BAD_OPTION_VALUE);
1417
+ throw new D("options must be an object", D.ERR_BAD_OPTION_VALUE);
1418
1418
  const s = Object.keys(t);
1419
1419
  let i = s.length;
1420
1420
  for (; i-- > 0; ) {
@@ -1422,17 +1422,17 @@ function Fn(t, e, r) {
1422
1422
  if (a) {
1423
1423
  const c = t[o], h = c === void 0 || a(c, o, t);
1424
1424
  if (h !== !0)
1425
- throw new $("option " + o + " must be " + h, $.ERR_BAD_OPTION_VALUE);
1425
+ throw new D("option " + o + " must be " + h, D.ERR_BAD_OPTION_VALUE);
1426
1426
  continue;
1427
1427
  }
1428
1428
  if (r !== !0)
1429
- throw new $("Unknown option " + o, $.ERR_BAD_OPTION);
1429
+ throw new D("Unknown option " + o, D.ERR_BAD_OPTION);
1430
1430
  }
1431
1431
  }
1432
- const De = {
1432
+ const $e = {
1433
1433
  assertOptions: Fn,
1434
1434
  validators: He
1435
- }, ce = De.validators;
1435
+ }, ce = $e.validators;
1436
1436
  let xe = class {
1437
1437
  constructor(e) {
1438
1438
  this.defaults = e || {}, this.interceptors = {
@@ -1468,16 +1468,16 @@ let xe = class {
1468
1468
  _request(e, r) {
1469
1469
  typeof e == "string" ? (r = r || {}, r.url = e) : r = e || {}, r = he(this.defaults, r);
1470
1470
  const { transitional: s, paramsSerializer: i, headers: o } = r;
1471
- s !== void 0 && De.assertOptions(s, {
1471
+ s !== void 0 && $e.assertOptions(s, {
1472
1472
  silentJSONParsing: ce.transitional(ce.boolean),
1473
1473
  forcedJSONParsing: ce.transitional(ce.boolean),
1474
1474
  clarifyTimeoutError: ce.transitional(ce.boolean)
1475
1475
  }, !1), i != null && (f.isFunction(i) ? r.paramsSerializer = {
1476
1476
  serialize: i
1477
- } : De.assertOptions(i, {
1477
+ } : $e.assertOptions(i, {
1478
1478
  encode: ce.function,
1479
1479
  serialize: ce.function
1480
- }, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), De.assertOptions(r, {
1480
+ }, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), $e.assertOptions(r, {
1481
1481
  baseUrl: ce.spelling("baseURL"),
1482
1482
  withXsrfToken: ce.spelling("withXSRFToken")
1483
1483
  }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
@@ -1719,7 +1719,7 @@ J.CancelToken = Ln;
1719
1719
  J.isCancel = Xt;
1720
1720
  J.VERSION = nr;
1721
1721
  J.toFormData = Be;
1722
- J.AxiosError = $;
1722
+ J.AxiosError = D;
1723
1723
  J.Cancel = J.CanceledError;
1724
1724
  J.all = function(e) {
1725
1725
  return Promise.all(e);
@@ -1914,15 +1914,16 @@ class ui {
1914
1914
  if (typeof window > "u")
1915
1915
  return { authenticated: !1 };
1916
1916
  try {
1917
- return await this.request(
1917
+ const e = await this.request(
1918
1918
  "GET",
1919
1919
  "/users/session",
1920
1920
  void 0,
1921
1921
  {},
1922
1922
  !0
1923
1923
  );
1924
+ return e.authenticated ? document.cookie = `a_s_b=true; path=/; max-age=${1440 * 60}; Secure; SameSite=Lax` : document.cookie = "a_s_b=; path=/; max-age=0", e;
1924
1925
  } catch {
1925
- return { authenticated: !1 };
1926
+ return document.cookie = "a_s_b=; path=/; max-age=0", { authenticated: !1 };
1926
1927
  }
1927
1928
  }
1928
1929
  /**
@@ -2990,14 +2991,14 @@ const Ns = [
2990
2991
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
2991
2992
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
2992
2993
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
2993
- ], $e = q("trash-2", Ns);
2994
+ ], De = q("trash-2", Ns);
2994
2995
  /**
2995
2996
  * @license lucide-react v0.544.0 - ISC
2996
2997
  *
2997
2998
  * This source code is licensed under the ISC license.
2998
2999
  * See the LICENSE file in the root directory of this source tree.
2999
3000
  */
3000
- const Ds = [
3001
+ const $s = [
3001
3002
  [
3002
3003
  "path",
3003
3004
  {
@@ -3007,19 +3008,19 @@ const Ds = [
3007
3008
  ],
3008
3009
  ["path", { d: "M12 9v4", key: "juzpu7" }],
3009
3010
  ["path", { d: "M12 17h.01", key: "p32p05" }]
3010
- ], _t = q("triangle-alert", Ds);
3011
+ ], _t = q("triangle-alert", $s);
3011
3012
  /**
3012
3013
  * @license lucide-react v0.544.0 - ISC
3013
3014
  *
3014
3015
  * This source code is licensed under the ISC license.
3015
3016
  * See the LICENSE file in the root directory of this source tree.
3016
3017
  */
3017
- const $s = [
3018
+ const Ds = [
3018
3019
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
3019
3020
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
3020
3021
  ["line", { x1: "17", x2: "22", y1: "8", y2: "13", key: "3nzzx3" }],
3021
3022
  ["line", { x1: "22", x2: "17", y1: "8", y2: "13", key: "1swrse" }]
3022
- ], Fs = q("user-x", $s);
3023
+ ], Fs = q("user-x", Ds);
3023
3024
  /**
3024
3025
  * @license lucide-react v0.544.0 - ISC
3025
3026
  *
@@ -4354,7 +4355,7 @@ const qs = [
4354
4355
  color: "white",
4355
4356
  flexShrink: 0
4356
4357
  },
4357
- children: /* @__PURE__ */ n.jsx($e, { size: 20 })
4358
+ children: /* @__PURE__ */ n.jsx(De, { size: 20 })
4358
4359
  }
4359
4360
  ),
4360
4361
  /* @__PURE__ */ n.jsx("div", { children: /* @__PURE__ */ n.jsx(
@@ -4553,7 +4554,7 @@ const qs = [
4553
4554
  y.currentTarget.style.transform = "translateY(0)", y.currentTarget.style.boxShadow = "0 4px 12px rgba(239, 68, 68, 0.4)";
4554
4555
  },
4555
4556
  children: [
4556
- /* @__PURE__ */ n.jsx($e, { size: 16 }),
4557
+ /* @__PURE__ */ n.jsx(De, { size: 16 }),
4557
4558
  "Continue to Delete"
4558
4559
  ]
4559
4560
  }
@@ -4743,7 +4744,7 @@ const qs = [
4743
4744
  C && !h && (y.currentTarget.style.transform = "translateY(0)", y.currentTarget.style.boxShadow = "0 4px 12px rgba(239, 68, 68, 0.4)");
4744
4745
  },
4745
4746
  children: [
4746
- /* @__PURE__ */ n.jsx($e, { size: 16 }),
4747
+ /* @__PURE__ */ n.jsx(De, { size: 16 }),
4747
4748
  "Yes, Delete My Account"
4748
4749
  ]
4749
4750
  }
@@ -6480,7 +6481,7 @@ const qs = [
6480
6481
  const pt = (k, N) => {
6481
6482
  let H = parseInt(k.replace("#", ""), 16), Q = (H >> 16) + N, le = (H >> 8 & 255) + N, Se = (H & 255) + N;
6482
6483
  return Q = Math.min(255, Math.max(0, Q)), le = Math.min(255, Math.max(0, le)), Se = Math.min(255, Math.max(0, Se)), `#${(Se | le << 8 | Q << 16).toString(16).padStart(6, "0")}`;
6483
- }, D = r ? {
6484
+ }, $ = r ? {
6484
6485
  background: "#000000",
6485
6486
  surface: "#09090b",
6486
6487
  surfaceLight: "#27272a",
@@ -6519,7 +6520,7 @@ const qs = [
6519
6520
  display: "flex",
6520
6521
  alignItems: "center",
6521
6522
  justifyContent: "center",
6522
- color: D.textPrimary,
6523
+ color: $.textPrimary,
6523
6524
  fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, sans-serif"
6524
6525
  },
6525
6526
  children: /* @__PURE__ */ n.jsxs(
@@ -6537,12 +6538,12 @@ const qs = [
6537
6538
  ie,
6538
6539
  {
6539
6540
  size: 40,
6540
- color: D.accent,
6541
+ color: $.accent,
6541
6542
  style: { animation: "spin 1s linear infinite" },
6542
6543
  "aria-hidden": "true"
6543
6544
  }
6544
6545
  ),
6545
- /* @__PURE__ */ n.jsx("p", { style: { color: D.textTertiary, margin: 0 }, children: "Loading your profile..." })
6546
+ /* @__PURE__ */ n.jsx("p", { style: { color: $.textTertiary, margin: 0 }, children: "Loading your profile..." })
6546
6547
  ]
6547
6548
  }
6548
6549
  )
@@ -6558,7 +6559,7 @@ const qs = [
6558
6559
  display: "flex",
6559
6560
  alignItems: "center",
6560
6561
  justifyContent: "center",
6561
- color: D.textPrimary,
6562
+ color: $.textPrimary,
6562
6563
  fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, sans-serif"
6563
6564
  },
6564
6565
  children: /* @__PURE__ */ n.jsxs(
@@ -6572,8 +6573,8 @@ const qs = [
6572
6573
  textAlign: "center"
6573
6574
  },
6574
6575
  children: [
6575
- /* @__PURE__ */ n.jsx(se, { size: 40, color: D.error, "aria-hidden": "true" }),
6576
- /* @__PURE__ */ n.jsx("p", { style: { color: D.textTertiary, margin: 0 }, children: "No profile found. Please log in again." })
6576
+ /* @__PURE__ */ n.jsx(se, { size: 40, color: $.error, "aria-hidden": "true" }),
6577
+ /* @__PURE__ */ n.jsx("p", { style: { color: $.textTertiary, margin: 0 }, children: "No profile found. Please log in again." })
6577
6578
  ]
6578
6579
  }
6579
6580
  )
@@ -6617,7 +6618,7 @@ const qs = [
6617
6618
  display: "flex",
6618
6619
  alignItems: "center",
6619
6620
  justifyContent: "center",
6620
- color: D.textPrimary,
6621
+ color: $.textPrimary,
6621
6622
  fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, sans-serif",
6622
6623
  lineHeight: 1.5,
6623
6624
  minHeight: "80vh"
@@ -6703,7 +6704,7 @@ const qs = [
6703
6704
  "section",
6704
6705
  {
6705
6706
  style: {
6706
- backgroundColor: D.surface,
6707
+ backgroundColor: $.surface,
6707
6708
  borderRadius: "16px",
6708
6709
  position: "relative",
6709
6710
  padding: "24px",
@@ -6757,7 +6758,7 @@ const qs = [
6757
6758
  borderRadius: "50%",
6758
6759
  objectFit: "cover",
6759
6760
  boxShadow: "0 10px 25px -5px rgba(0, 0, 0, 0.3)",
6760
- border: `3px solid ${D.border}`
6761
+ border: `3px solid ${$.border}`
6761
6762
  },
6762
6763
  width: 128,
6763
6764
  height: 128,
@@ -6772,7 +6773,7 @@ const qs = [
6772
6773
  position: "absolute",
6773
6774
  bottom: "8px",
6774
6775
  right: "8px",
6775
- backgroundColor: D.accent,
6776
+ backgroundColor: $.accent,
6776
6777
  color: "white",
6777
6778
  padding: "8px",
6778
6779
  borderRadius: "50%",
@@ -6799,7 +6800,7 @@ const qs = [
6799
6800
  fontSize: "24px",
6800
6801
  fontWeight: 600,
6801
6802
  margin: "0 0 4px 0",
6802
- color: D.textPrimary
6803
+ color: $.textPrimary
6803
6804
  },
6804
6805
  children: d.name
6805
6806
  }
@@ -6808,7 +6809,7 @@ const qs = [
6808
6809
  "p",
6809
6810
  {
6810
6811
  style: {
6811
- color: D.textTertiary,
6812
+ color: $.textTertiary,
6812
6813
  margin: "0 0 8px 0"
6813
6814
  },
6814
6815
  children: d.email
@@ -6819,7 +6820,7 @@ const qs = [
6819
6820
  {
6820
6821
  style: {
6821
6822
  backgroundColor: d.isVerified ? r ? "rgba(16, 185, 129, 0.1)" : "rgba(16, 185, 129, 0.05)" : r ? "rgba(245, 158, 11, 0.1)" : "rgba(245, 158, 11, 0.05)",
6822
- color: d.isVerified ? D.success : D.warning,
6823
+ color: d.isVerified ? $.success : $.warning,
6823
6824
  border: `1px solid ${d.isVerified ? r ? "rgba(16, 185, 129, 0.3)" : "rgba(16, 185, 129, 0.2)" : r ? "rgba(245, 158, 11, 0.3)" : "rgba(245, 158, 11, 0.2)"}`,
6824
6825
  padding: "6px 12px",
6825
6826
  borderRadius: "20px",
@@ -6853,9 +6854,9 @@ const qs = [
6853
6854
  {
6854
6855
  onClick: () => w(!1),
6855
6856
  style: {
6856
- backgroundColor: D.surfaceLight,
6857
- border: `1px solid ${D.border}`,
6858
- color: D.textPrimary,
6857
+ backgroundColor: $.surfaceLight,
6858
+ border: `1px solid ${$.border}`,
6859
+ color: $.textPrimary,
6859
6860
  padding: "10px 20px",
6860
6861
  borderRadius: "6px",
6861
6862
  borderStyle: "solid",
@@ -6883,7 +6884,7 @@ const qs = [
6883
6884
  onClick: ve,
6884
6885
  disabled: x,
6885
6886
  style: {
6886
- background: `linear-gradient(to right, ${D.accent}, ${D.accentHover})`,
6887
+ background: `linear-gradient(to right, ${$.accent}, ${$.accentHover})`,
6887
6888
  opacity: x ? 0.7 : 1,
6888
6889
  color: "white",
6889
6890
  padding: "10px 20px",
@@ -6920,7 +6921,7 @@ const qs = [
6920
6921
  {
6921
6922
  onClick: () => w(!0),
6922
6923
  style: {
6923
- background: `linear-gradient(to right, ${D.accent}, ${D.accentHover})`,
6924
+ background: `linear-gradient(to right, ${$.accent}, ${$.accentHover})`,
6924
6925
  color: "white",
6925
6926
  padding: "10px 20px",
6926
6927
  borderRadius: "6px",
@@ -6985,8 +6986,8 @@ const qs = [
6985
6986
  "button",
6986
6987
  {
6987
6988
  style: {
6988
- backgroundColor: D.surfaceLight,
6989
- color: D.textPrimary,
6989
+ backgroundColor: $.surfaceLight,
6990
+ color: $.textPrimary,
6990
6991
  padding: "10px 20px",
6991
6992
  borderRadius: "6px",
6992
6993
  border: "none",
@@ -7019,8 +7020,8 @@ const qs = [
7019
7020
  bottom: "100%",
7020
7021
  left: 0,
7021
7022
  right: 0,
7022
- backgroundColor: D.surface,
7023
- border: `1px solid ${D.border}`,
7023
+ backgroundColor: $.surface,
7024
+ border: `1px solid ${$.border}`,
7024
7025
  borderRadius: "12px 12px 0 0",
7025
7026
  boxShadow: "0 -8px 24px rgba(0, 0, 0, 0.25)",
7026
7027
  zIndex: 200,
@@ -7040,7 +7041,7 @@ const qs = [
7040
7041
  padding: "14px 18px",
7041
7042
  backgroundColor: "transparent",
7042
7043
  border: "none",
7043
- color: D.textPrimary,
7044
+ color: $.textPrimary,
7044
7045
  cursor: "pointer",
7045
7046
  transition: "all 0.2s ease",
7046
7047
  fontSize: "13px",
@@ -7050,7 +7051,7 @@ const qs = [
7050
7051
  gap: "8px",
7051
7052
  textAlign: "left"
7052
7053
  },
7053
- onMouseEnter: (k) => k.currentTarget.style.backgroundColor = D.surfaceLight,
7054
+ onMouseEnter: (k) => k.currentTarget.style.backgroundColor = $.surfaceLight,
7054
7055
  onMouseLeave: (k) => k.currentTarget.style.backgroundColor = "transparent",
7055
7056
  children: [
7056
7057
  /* @__PURE__ */ n.jsx(ct, { size: 14, "aria-hidden": "true" }),
@@ -7115,7 +7116,7 @@ const qs = [
7115
7116
  },
7116
7117
  onMouseLeave: (k) => k.currentTarget.style.backgroundColor = "transparent",
7117
7118
  children: [
7118
- /* @__PURE__ */ n.jsx($e, { size: 14, "aria-hidden": "true" }),
7119
+ /* @__PURE__ */ n.jsx(De, { size: 14, "aria-hidden": "true" }),
7119
7120
  "Delete Account"
7120
7121
  ]
7121
7122
  }
@@ -7144,7 +7145,7 @@ const qs = [
7144
7145
  "section",
7145
7146
  {
7146
7147
  style: {
7147
- backgroundColor: D.surface,
7148
+ backgroundColor: $.surface,
7148
7149
  borderRadius: "16px",
7149
7150
  padding: "24px",
7150
7151
  boxShadow: "0 1px 3px rgba(0, 0, 0, 0.1)"
@@ -7157,7 +7158,7 @@ const qs = [
7157
7158
  fontSize: "20px",
7158
7159
  fontWeight: 600,
7159
7160
  margin: "0 0 24px 0",
7160
- color: D.textSecondary,
7161
+ color: $.textSecondary,
7161
7162
  display: "flex",
7162
7163
  alignItems: "center",
7163
7164
  gap: "8px"
@@ -7195,7 +7196,7 @@ const qs = [
7195
7196
  "label",
7196
7197
  {
7197
7198
  style: {
7198
- color: D.textTertiary,
7199
+ color: $.textTertiary,
7199
7200
  fontSize: "12px",
7200
7201
  fontWeight: 500,
7201
7202
  display: "flex",
@@ -7222,7 +7223,7 @@ const qs = [
7222
7223
  borderRadius: "8px",
7223
7224
  border: `1px solid ${a}`,
7224
7225
  backgroundColor: "transparent",
7225
- color: D.textPrimary,
7226
+ color: $.textPrimary,
7226
7227
  fontSize: "12px",
7227
7228
  outline: "none",
7228
7229
  transition: "border-color 0.2s ease",
@@ -7245,7 +7246,7 @@ const qs = [
7245
7246
  display: "flex",
7246
7247
  alignItems: "center",
7247
7248
  boxSizing: "border-box",
7248
- color: D.textPrimary,
7249
+ color: $.textPrimary,
7249
7250
  backgroundColor: r ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.05)"
7250
7251
  },
7251
7252
  children: k.value
@@ -7265,7 +7266,7 @@ const qs = [
7265
7266
  "section",
7266
7267
  {
7267
7268
  style: {
7268
- backgroundColor: D.surface,
7269
+ backgroundColor: $.surface,
7269
7270
  borderRadius: "16px",
7270
7271
  padding: "30px 24px",
7271
7272
  boxShadow: "0 1px 3px rgba(0, 0, 0, 0.1)"
@@ -7278,7 +7279,7 @@ const qs = [
7278
7279
  fontSize: "20px",
7279
7280
  fontWeight: 600,
7280
7281
  margin: "0 0 24px 0",
7281
- color: D.textSecondary,
7282
+ color: $.textSecondary,
7282
7283
  display: "flex",
7283
7284
  alignItems: "center",
7284
7285
  gap: "8px"
@@ -7315,7 +7316,7 @@ const qs = [
7315
7316
  display: "flex",
7316
7317
  alignItems: "center",
7317
7318
  gap: "12px",
7318
- color: D.textSecondary
7319
+ color: $.textSecondary
7319
7320
  },
7320
7321
  children: [
7321
7322
  /* @__PURE__ */ n.jsx(pe, { size: 16, "aria-hidden": "true" }),
@@ -7336,11 +7337,11 @@ const qs = [
7336
7337
  gap: "6px",
7337
7338
  ...d.isVerified ? {
7338
7339
  backgroundColor: r ? "rgba(16, 185, 129, 0.1)" : "rgba(16, 185, 129, 0.05)",
7339
- color: D.success,
7340
+ color: $.success,
7340
7341
  border: `1px solid ${r ? "rgba(16, 185, 129, 0.3)" : "rgba(16, 185, 129, 0.2)"}`
7341
7342
  } : {
7342
7343
  backgroundColor: r ? "rgba(245, 158, 11, 0.1)" : "rgba(245, 158, 11, 0.05)",
7343
- color: D.warning,
7344
+ color: $.warning,
7344
7345
  border: `1px solid ${r ? "rgba(245, 158, 11, 0.3)" : "rgba(245, 158, 11, 0.2)"}`
7345
7346
  }
7346
7347
  },
@@ -7368,7 +7369,7 @@ const qs = [
7368
7369
  "p",
7369
7370
  {
7370
7371
  style: {
7371
- color: D.textTertiary,
7372
+ color: $.textTertiary,
7372
7373
  fontSize: "12px",
7373
7374
  margin: 0
7374
7375
  },
@@ -7399,7 +7400,7 @@ const qs = [
7399
7400
  A(!1);
7400
7401
  },
7401
7402
  onUpdate: oe,
7402
- colors: D
7403
+ colors: $
7403
7404
  }
7404
7405
  ),
7405
7406
  /* @__PURE__ */ n.jsx(
@@ -7410,7 +7411,7 @@ const qs = [
7410
7411
  onClose: () => _(!1),
7411
7412
  onSuccess: (k) => j("success", k),
7412
7413
  onError: (k) => j("error", k),
7413
- colors: D
7414
+ colors: $
7414
7415
  }
7415
7416
  ),
7416
7417
  /* @__PURE__ */ n.jsx(
@@ -7422,7 +7423,7 @@ const qs = [
7422
7423
  onClose: () => v(!1),
7423
7424
  onSuccess: (k) => j("success", k),
7424
7425
  onError: (k) => j("error", k),
7425
- colors: D
7426
+ colors: $
7426
7427
  }
7427
7428
  ),
7428
7429
  /* @__PURE__ */ n.jsx(
@@ -7439,7 +7440,7 @@ const qs = [
7439
7440
  otpSent: L,
7440
7441
  verifying: b,
7441
7442
  user: d,
7442
- colors: D,
7443
+ colors: $,
7443
7444
  darkMode: r
7444
7445
  }
7445
7446
  ),