@neuctra/authix 1.1.2 → 1.1.4

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.
@@ -1,27 +1,27 @@
1
- import At, { forwardRef as _t, createElement as Ze, useState as I, useEffect as ie, useRef as ut } from "react";
2
- function Nt(e, t) {
1
+ import _t, { forwardRef as Nt, createElement as Ze, useState as I, useEffect as se, useRef as ut } from "react";
2
+ function $t(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
5
5
  };
6
6
  }
7
- const { toString: ur } = Object.prototype, { getPrototypeOf: ot } = Object, { iterator: Le, toStringTag: $t } = Symbol, Me = /* @__PURE__ */ ((e) => (t) => {
8
- const r = ur.call(t);
7
+ const { toString: pr } = Object.prototype, { getPrototypeOf: ot } = Object, { iterator: Le, toStringTag: Ut } = Symbol, Me = /* @__PURE__ */ ((e) => (t) => {
8
+ const r = pr.call(t);
9
9
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), oe = (e) => (e = e.toLowerCase(), (t) => Me(t) === e), Be = (e) => (t) => typeof t === e, { isArray: je } = Array, be = Be("undefined");
10
+ })(/* @__PURE__ */ Object.create(null)), ae = (e) => (e = e.toLowerCase(), (t) => Me(t) === e), Be = (e) => (t) => typeof t === e, { isArray: je } = Array, be = Be("undefined");
11
11
  function Te(e) {
12
12
  return e !== null && !be(e) && e.constructor !== null && !be(e.constructor) && te(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
13
  }
14
- const Ut = oe("ArrayBuffer");
15
- function pr(e) {
14
+ const Dt = ae("ArrayBuffer");
15
+ function fr(e) {
16
16
  let t;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ut(e.buffer), t;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Dt(e.buffer), t;
18
18
  }
19
- const fr = Be("string"), te = Be("function"), Dt = Be("number"), Re = (e) => e !== null && typeof e == "object", xr = (e) => e === !0 || e === !1, _e = (e) => {
19
+ const xr = Be("string"), te = Be("function"), Ft = Be("number"), Re = (e) => e !== null && typeof e == "object", hr = (e) => e === !0 || e === !1, _e = (e) => {
20
20
  if (Me(e) !== "object")
21
21
  return !1;
22
22
  const t = ot(e);
23
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !($t in e) && !(Le in e);
24
- }, hr = (e) => {
23
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ut in e) && !(Le in e);
24
+ }, gr = (e) => {
25
25
  if (!Re(e) || Te(e))
26
26
  return !1;
27
27
  try {
@@ -29,11 +29,11 @@ const fr = Be("string"), te = Be("function"), Dt = Be("number"), Re = (e) => e !
29
29
  } catch {
30
30
  return !1;
31
31
  }
32
- }, gr = oe("Date"), mr = oe("File"), yr = oe("Blob"), br = oe("FileList"), wr = (e) => Re(e) && te(e.pipe), jr = (e) => {
32
+ }, mr = ae("Date"), yr = ae("File"), br = ae("Blob"), wr = ae("FileList"), jr = (e) => Re(e) && te(e.pipe), vr = (e) => {
33
33
  let t;
34
34
  return e && (typeof FormData == "function" && e instanceof FormData || te(e.append) && ((t = Me(e)) === "formdata" || // detect form-data instance
35
35
  t === "object" && te(e.toString) && e.toString() === "[object FormData]"));
36
- }, vr = oe("URLSearchParams"), [Sr, kr, Er, Cr] = ["ReadableStream", "Request", "Response", "Headers"].map(oe), Tr = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
36
+ }, Sr = ae("URLSearchParams"), [kr, Er, Cr, Tr] = ["ReadableStream", "Request", "Response", "Headers"].map(ae), Rr = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
37
37
  function Ie(e, t, { allOwnKeys: r = !1 } = {}) {
38
38
  if (e === null || typeof e > "u")
39
39
  return;
@@ -50,7 +50,7 @@ function Ie(e, t, { allOwnKeys: r = !1 } = {}) {
50
50
  l = i[s], t.call(null, e[l], l, e);
51
51
  }
52
52
  }
53
- function Ft(e, t) {
53
+ function Lt(e, t) {
54
54
  if (Te(e))
55
55
  return null;
56
56
  t = t.toLowerCase();
@@ -61,23 +61,23 @@ function Ft(e, t) {
61
61
  return o;
62
62
  return null;
63
63
  }
64
- const pe = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Lt = (e) => !be(e) && e !== pe;
64
+ const pe = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Mt = (e) => !be(e) && e !== pe;
65
65
  function Qe() {
66
- const { caseless: e, skipUndefined: t } = Lt(this) && this || {}, r = {}, s = (o, i) => {
67
- const a = e && Ft(r, i) || i;
66
+ const { caseless: e, skipUndefined: t } = Mt(this) && this || {}, r = {}, s = (o, i) => {
67
+ const a = e && Lt(r, i) || i;
68
68
  _e(r[a]) && _e(o) ? r[a] = Qe(r[a], o) : _e(o) ? r[a] = Qe({}, o) : je(o) ? r[a] = o.slice() : (!t || !be(o)) && (r[a] = o);
69
69
  };
70
70
  for (let o = 0, i = arguments.length; o < i; o++)
71
71
  arguments[o] && Ie(arguments[o], s);
72
72
  return r;
73
73
  }
74
- const Rr = (e, t, r, { allOwnKeys: s } = {}) => (Ie(t, (o, i) => {
75
- r && te(o) ? e[i] = Nt(o, r) : e[i] = o;
76
- }, { allOwnKeys: s }), e), Ir = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Pr = (e, t, r, s) => {
74
+ const Ir = (e, t, r, { allOwnKeys: s } = {}) => (Ie(t, (o, i) => {
75
+ r && te(o) ? e[i] = $t(o, r) : e[i] = o;
76
+ }, { allOwnKeys: s }), e), Pr = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Or = (e, t, r, s) => {
77
77
  e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
78
78
  value: t.prototype
79
79
  }), r && Object.assign(e.prototype, r);
80
- }, Or = (e, t, r, s) => {
80
+ }, zr = (e, t, r, s) => {
81
81
  let o, i, a;
82
82
  const l = {};
83
83
  if (t = t || {}, e == null) return t;
@@ -87,45 +87,45 @@ const Rr = (e, t, r, { allOwnKeys: s } = {}) => (Ie(t, (o, i) => {
87
87
  e = r !== !1 && ot(e);
88
88
  } while (e && (!r || r(e, t)) && e !== Object.prototype);
89
89
  return t;
90
- }, zr = (e, t, r) => {
90
+ }, Ar = (e, t, r) => {
91
91
  e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
92
92
  const s = e.indexOf(t, r);
93
93
  return s !== -1 && s === r;
94
- }, Ar = (e) => {
94
+ }, _r = (e) => {
95
95
  if (!e) return null;
96
96
  if (je(e)) return e;
97
97
  let t = e.length;
98
- if (!Dt(t)) return null;
98
+ if (!Ft(t)) return null;
99
99
  const r = new Array(t);
100
100
  for (; t-- > 0; )
101
101
  r[t] = e[t];
102
102
  return r;
103
- }, _r = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ot(Uint8Array)), Nr = (e, t) => {
103
+ }, Nr = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ot(Uint8Array)), $r = (e, t) => {
104
104
  const s = (e && e[Le]).call(e);
105
105
  let o;
106
106
  for (; (o = s.next()) && !o.done; ) {
107
107
  const i = o.value;
108
108
  t.call(e, i[0], i[1]);
109
109
  }
110
- }, $r = (e, t) => {
110
+ }, Ur = (e, t) => {
111
111
  let r;
112
112
  const s = [];
113
113
  for (; (r = e.exec(t)) !== null; )
114
114
  s.push(r);
115
115
  return s;
116
- }, Ur = oe("HTMLFormElement"), Dr = (e) => e.toLowerCase().replace(
116
+ }, Dr = ae("HTMLFormElement"), Fr = (e) => e.toLowerCase().replace(
117
117
  /[-_\s]([a-z\d])(\w*)/g,
118
118
  function(r, s, o) {
119
119
  return s.toUpperCase() + o;
120
120
  }
121
- ), pt = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Fr = oe("RegExp"), Mt = (e, t) => {
121
+ ), pt = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Lr = ae("RegExp"), Bt = (e, t) => {
122
122
  const r = Object.getOwnPropertyDescriptors(e), s = {};
123
123
  Ie(r, (o, i) => {
124
124
  let a;
125
125
  (a = t(o, i, e)) !== !1 && (s[i] = a || o);
126
126
  }), Object.defineProperties(e, s);
127
- }, Lr = (e) => {
128
- Mt(e, (t, r) => {
127
+ }, Mr = (e) => {
128
+ Bt(e, (t, r) => {
129
129
  if (te(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
130
130
  return !1;
131
131
  const s = e[r];
@@ -139,19 +139,19 @@ const Rr = (e, t, r, { allOwnKeys: s } = {}) => (Ie(t, (o, i) => {
139
139
  });
140
140
  }
141
141
  });
142
- }, Mr = (e, t) => {
142
+ }, Br = (e, t) => {
143
143
  const r = {}, s = (o) => {
144
144
  o.forEach((i) => {
145
145
  r[i] = !0;
146
146
  });
147
147
  };
148
148
  return je(e) ? s(e) : s(String(e).split(t)), r;
149
- }, Br = () => {
150
- }, Wr = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
151
- function qr(e) {
152
- return !!(e && te(e.append) && e[$t] === "FormData" && e[Le]);
149
+ }, Wr = () => {
150
+ }, qr = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
151
+ function Hr(e) {
152
+ return !!(e && te(e.append) && e[Ut] === "FormData" && e[Le]);
153
153
  }
154
- const Hr = (e) => {
154
+ const Vr = (e) => {
155
155
  const t = new Array(10), r = (s, o) => {
156
156
  if (Re(s)) {
157
157
  if (t.indexOf(s) >= 0)
@@ -170,72 +170,72 @@ const Hr = (e) => {
170
170
  return s;
171
171
  };
172
172
  return r(e, 0);
173
- }, Vr = oe("AsyncFunction"), Yr = (e) => e && (Re(e) || te(e)) && te(e.then) && te(e.catch), Bt = ((e, t) => e ? setImmediate : t ? ((r, s) => (pe.addEventListener("message", ({ source: o, data: i }) => {
173
+ }, Yr = ae("AsyncFunction"), Kr = (e) => e && (Re(e) || te(e)) && te(e.then) && te(e.catch), Wt = ((e, t) => e ? setImmediate : t ? ((r, s) => (pe.addEventListener("message", ({ source: o, data: i }) => {
174
174
  o === pe && i === r && s.length && s.shift()();
175
175
  }, !1), (o) => {
176
176
  s.push(o), pe.postMessage(r, "*");
177
177
  }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
178
178
  typeof setImmediate == "function",
179
179
  te(pe.postMessage)
180
- ), Kr = typeof queueMicrotask < "u" ? queueMicrotask.bind(pe) : typeof process < "u" && process.nextTick || Bt, Jr = (e) => e != null && te(e[Le]), u = {
180
+ ), Jr = typeof queueMicrotask < "u" ? queueMicrotask.bind(pe) : typeof process < "u" && process.nextTick || Wt, Xr = (e) => e != null && te(e[Le]), u = {
181
181
  isArray: je,
182
- isArrayBuffer: Ut,
182
+ isArrayBuffer: Dt,
183
183
  isBuffer: Te,
184
- isFormData: jr,
185
- isArrayBufferView: pr,
186
- isString: fr,
187
- isNumber: Dt,
188
- isBoolean: xr,
184
+ isFormData: vr,
185
+ isArrayBufferView: fr,
186
+ isString: xr,
187
+ isNumber: Ft,
188
+ isBoolean: hr,
189
189
  isObject: Re,
190
190
  isPlainObject: _e,
191
- isEmptyObject: hr,
192
- isReadableStream: Sr,
193
- isRequest: kr,
194
- isResponse: Er,
195
- isHeaders: Cr,
191
+ isEmptyObject: gr,
192
+ isReadableStream: kr,
193
+ isRequest: Er,
194
+ isResponse: Cr,
195
+ isHeaders: Tr,
196
196
  isUndefined: be,
197
- isDate: gr,
198
- isFile: mr,
199
- isBlob: yr,
200
- isRegExp: Fr,
197
+ isDate: mr,
198
+ isFile: yr,
199
+ isBlob: br,
200
+ isRegExp: Lr,
201
201
  isFunction: te,
202
- isStream: wr,
203
- isURLSearchParams: vr,
204
- isTypedArray: _r,
205
- isFileList: br,
202
+ isStream: jr,
203
+ isURLSearchParams: Sr,
204
+ isTypedArray: Nr,
205
+ isFileList: wr,
206
206
  forEach: Ie,
207
207
  merge: Qe,
208
- extend: Rr,
209
- trim: Tr,
210
- stripBOM: Ir,
211
- inherits: Pr,
212
- toFlatObject: Or,
208
+ extend: Ir,
209
+ trim: Rr,
210
+ stripBOM: Pr,
211
+ inherits: Or,
212
+ toFlatObject: zr,
213
213
  kindOf: Me,
214
- kindOfTest: oe,
215
- endsWith: zr,
216
- toArray: Ar,
217
- forEachEntry: Nr,
218
- matchAll: $r,
219
- isHTMLForm: Ur,
214
+ kindOfTest: ae,
215
+ endsWith: Ar,
216
+ toArray: _r,
217
+ forEachEntry: $r,
218
+ matchAll: Ur,
219
+ isHTMLForm: Dr,
220
220
  hasOwnProperty: pt,
221
221
  hasOwnProp: pt,
222
222
  // an alias to avoid ESLint no-prototype-builtins detection
223
- reduceDescriptors: Mt,
224
- freezeMethods: Lr,
225
- toObjectSet: Mr,
226
- toCamelCase: Dr,
227
- noop: Br,
228
- toFiniteNumber: Wr,
229
- findKey: Ft,
223
+ reduceDescriptors: Bt,
224
+ freezeMethods: Mr,
225
+ toObjectSet: Br,
226
+ toCamelCase: Fr,
227
+ noop: Wr,
228
+ toFiniteNumber: qr,
229
+ findKey: Lt,
230
230
  global: pe,
231
- isContextDefined: Lt,
232
- isSpecCompliantForm: qr,
233
- toJSONObject: Hr,
234
- isAsyncFn: Vr,
235
- isThenable: Yr,
236
- setImmediate: Bt,
237
- asap: Kr,
238
- isIterable: Jr
231
+ isContextDefined: Mt,
232
+ isSpecCompliantForm: Hr,
233
+ toJSONObject: Vr,
234
+ isAsyncFn: Yr,
235
+ isThenable: Kr,
236
+ setImmediate: Wt,
237
+ asap: Jr,
238
+ isIterable: Xr
239
239
  };
240
240
  function A(e, t, r, s, o) {
241
241
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), s && (this.request = s), o && (this.response = o, this.status = o.status ? o.status : null);
@@ -261,7 +261,7 @@ u.inherits(A, Error, {
261
261
  };
262
262
  }
263
263
  });
264
- const Wt = A.prototype, qt = {};
264
+ const qt = A.prototype, Ht = {};
265
265
  [
266
266
  "ERR_BAD_OPTION_VALUE",
267
267
  "ERR_BAD_OPTION",
@@ -277,34 +277,34 @@ const Wt = A.prototype, qt = {};
277
277
  "ERR_INVALID_URL"
278
278
  // eslint-disable-next-line func-names
279
279
  ].forEach((e) => {
280
- qt[e] = { value: e };
280
+ Ht[e] = { value: e };
281
281
  });
282
- Object.defineProperties(A, qt);
283
- Object.defineProperty(Wt, "isAxiosError", { value: !0 });
282
+ Object.defineProperties(A, Ht);
283
+ Object.defineProperty(qt, "isAxiosError", { value: !0 });
284
284
  A.from = (e, t, r, s, o, i) => {
285
- const a = Object.create(Wt);
285
+ const a = Object.create(qt);
286
286
  u.toFlatObject(e, a, function(c) {
287
287
  return c !== Error.prototype;
288
288
  }, (p) => p !== "isAxiosError");
289
289
  const l = e && e.message ? e.message : "Error", h = t == null && e ? e.code : t;
290
290
  return A.call(a, l, h, r, s, o), e && a.cause == null && Object.defineProperty(a, "cause", { value: e, configurable: !0 }), a.name = e && e.name || "Error", i && Object.assign(a, i), a;
291
291
  };
292
- const Xr = null;
292
+ const Gr = null;
293
293
  function et(e) {
294
294
  return u.isPlainObject(e) || u.isArray(e);
295
295
  }
296
- function Ht(e) {
296
+ function Vt(e) {
297
297
  return u.endsWith(e, "[]") ? e.slice(0, -2) : e;
298
298
  }
299
299
  function ft(e, t, r) {
300
300
  return e ? e.concat(t).map(function(o, i) {
301
- return o = Ht(o), !r && i ? "[" + o + "]" : o;
301
+ return o = Vt(o), !r && i ? "[" + o + "]" : o;
302
302
  }).join(r ? "." : "") : t;
303
303
  }
304
- function Gr(e) {
304
+ function Zr(e) {
305
305
  return u.isArray(e) && !e.some(et);
306
306
  }
307
- const Zr = u.toFlatObject(u, {}, null, function(t) {
307
+ const Qr = u.toFlatObject(u, {}, null, function(t) {
308
308
  return /^is[A-Z]/.test(t);
309
309
  });
310
310
  function We(e, t, r) {
@@ -335,8 +335,8 @@ function We(e, t, r) {
335
335
  if (d && !g && typeof d == "object") {
336
336
  if (u.endsWith(b, "{}"))
337
337
  b = s ? b : b.slice(0, -2), d = JSON.stringify(d);
338
- else if (u.isArray(d) && Gr(d) || (u.isFileList(d) || u.endsWith(b, "[]")) && ($ = u.toArray(d)))
339
- return b = Ht(b), $.forEach(function(P, E) {
338
+ else if (u.isArray(d) && Zr(d) || (u.isFileList(d) || u.endsWith(b, "[]")) && ($ = u.toArray(d)))
339
+ return b = Vt(b), $.forEach(function(P, E) {
340
340
  !(u.isUndefined(P) || P === null) && t.append(
341
341
  // eslint-disable-next-line no-nested-ternary
342
342
  a === !0 ? ft([b], E, i) : a === null ? b : b + "[]",
@@ -346,7 +346,7 @@ function We(e, t, r) {
346
346
  }
347
347
  return et(d) ? !0 : (t.append(ft(g, b, i), p(d)), !1);
348
348
  }
349
- const m = [], R = Object.assign(Zr, {
349
+ const m = [], R = Object.assign(Qr, {
350
350
  defaultVisitor: c,
351
351
  convertValue: p,
352
352
  isVisitable: et
@@ -387,11 +387,11 @@ function xt(e) {
387
387
  function at(e, t) {
388
388
  this._pairs = [], e && We(e, this, t);
389
389
  }
390
- const Vt = at.prototype;
391
- Vt.append = function(t, r) {
390
+ const Yt = at.prototype;
391
+ Yt.append = function(t, r) {
392
392
  this._pairs.push([t, r]);
393
393
  };
394
- Vt.toString = function(t) {
394
+ Yt.toString = function(t) {
395
395
  const r = t ? function(s) {
396
396
  return t.call(this, s, xt);
397
397
  } : xt;
@@ -399,13 +399,13 @@ Vt.toString = function(t) {
399
399
  return r(o[0]) + "=" + r(o[1]);
400
400
  }, "").join("&");
401
401
  };
402
- function Qr(e) {
402
+ function en(e) {
403
403
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
404
404
  }
405
- function Yt(e, t, r) {
405
+ function Kt(e, t, r) {
406
406
  if (!t)
407
407
  return e;
408
- const s = r && r.encode || Qr;
408
+ const s = r && r.encode || en;
409
409
  u.isFunction(r) && (r = {
410
410
  serialize: r
411
411
  });
@@ -471,31 +471,31 @@ class ht {
471
471
  });
472
472
  }
473
473
  }
474
- const Kt = {
474
+ const Jt = {
475
475
  silentJSONParsing: !0,
476
476
  forcedJSONParsing: !0,
477
477
  clarifyTimeoutError: !1
478
- }, en = typeof URLSearchParams < "u" ? URLSearchParams : at, tn = typeof FormData < "u" ? FormData : null, rn = typeof Blob < "u" ? Blob : null, nn = {
478
+ }, tn = typeof URLSearchParams < "u" ? URLSearchParams : at, rn = typeof FormData < "u" ? FormData : null, nn = typeof Blob < "u" ? Blob : null, sn = {
479
479
  isBrowser: !0,
480
480
  classes: {
481
- URLSearchParams: en,
482
- FormData: tn,
483
- Blob: rn
481
+ URLSearchParams: tn,
482
+ FormData: rn,
483
+ Blob: nn
484
484
  },
485
485
  protocols: ["http", "https", "file", "blob", "url", "data"]
486
- }, it = typeof window < "u" && typeof document < "u", tt = typeof navigator == "object" && navigator || void 0, sn = it && (!tt || ["ReactNative", "NativeScript", "NS"].indexOf(tt.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", tt = typeof navigator == "object" && navigator || void 0, on = it && (!tt || ["ReactNative", "NativeScript", "NS"].indexOf(tt.product) < 0), an = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
487
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ln = it && window.location.href || "http://localhost", cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
488
488
  __proto__: null,
489
489
  hasBrowserEnv: it,
490
- hasStandardBrowserEnv: sn,
491
- hasStandardBrowserWebWorkerEnv: on,
490
+ hasStandardBrowserEnv: on,
491
+ hasStandardBrowserWebWorkerEnv: an,
492
492
  navigator: tt,
493
- origin: an
493
+ origin: ln
494
494
  }, Symbol.toStringTag, { value: "Module" })), ee = {
495
- ...ln,
496
- ...nn
495
+ ...cn,
496
+ ...sn
497
497
  };
498
- function cn(e, t) {
498
+ function dn(e, t) {
499
499
  return We(e, new ee.classes.URLSearchParams(), {
500
500
  visitor: function(r, s, o, i) {
501
501
  return ee.isNode && u.isBuffer(r) ? (this.append(s, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
@@ -503,10 +503,10 @@ function cn(e, t) {
503
503
  ...t
504
504
  });
505
505
  }
506
- function dn(e) {
506
+ function un(e) {
507
507
  return u.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
508
508
  }
509
- function un(e) {
509
+ function pn(e) {
510
510
  const t = {}, r = Object.keys(e);
511
511
  let s;
512
512
  const o = r.length;
@@ -515,22 +515,22 @@ function un(e) {
515
515
  i = r[s], t[i] = e[i];
516
516
  return t;
517
517
  }
518
- function Jt(e) {
518
+ function Xt(e) {
519
519
  function t(r, s, o, i) {
520
520
  let a = r[i++];
521
521
  if (a === "__proto__") return !0;
522
522
  const l = Number.isFinite(+a), h = i >= r.length;
523
- return a = !a && u.isArray(o) ? o.length : a, h ? (u.hasOwnProp(o, a) ? o[a] = [o[a], s] : o[a] = s, !l) : ((!o[a] || !u.isObject(o[a])) && (o[a] = []), t(r, s, o[a], i) && u.isArray(o[a]) && (o[a] = un(o[a])), !l);
523
+ return a = !a && u.isArray(o) ? o.length : a, h ? (u.hasOwnProp(o, a) ? o[a] = [o[a], s] : o[a] = s, !l) : ((!o[a] || !u.isObject(o[a])) && (o[a] = []), t(r, s, o[a], i) && u.isArray(o[a]) && (o[a] = pn(o[a])), !l);
524
524
  }
525
525
  if (u.isFormData(e) && u.isFunction(e.entries)) {
526
526
  const r = {};
527
527
  return u.forEachEntry(e, (s, o) => {
528
- t(dn(s), o, r, 0);
528
+ t(un(s), o, r, 0);
529
529
  }), r;
530
530
  }
531
531
  return null;
532
532
  }
533
- function pn(e, t, r) {
533
+ function fn(e, t, r) {
534
534
  if (u.isString(e))
535
535
  try {
536
536
  return (t || JSON.parse)(e), u.trim(e);
@@ -541,12 +541,12 @@ function pn(e, t, r) {
541
541
  return (r || JSON.stringify)(e);
542
542
  }
543
543
  const Pe = {
544
- transitional: Kt,
544
+ transitional: Jt,
545
545
  adapter: ["xhr", "http", "fetch"],
546
546
  transformRequest: [function(t, r) {
547
547
  const s = r.getContentType() || "", o = s.indexOf("application/json") > -1, i = u.isObject(t);
548
548
  if (i && u.isHTMLForm(t) && (t = new FormData(t)), u.isFormData(t))
549
- return o ? JSON.stringify(Jt(t)) : t;
549
+ return o ? JSON.stringify(Xt(t)) : t;
550
550
  if (u.isArrayBuffer(t) || u.isBuffer(t) || u.isStream(t) || u.isFile(t) || u.isBlob(t) || u.isReadableStream(t))
551
551
  return t;
552
552
  if (u.isArrayBufferView(t))
@@ -556,7 +556,7 @@ const Pe = {
556
556
  let l;
557
557
  if (i) {
558
558
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
559
- return cn(t, this.formSerializer).toString();
559
+ return dn(t, this.formSerializer).toString();
560
560
  if ((l = u.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
561
561
  const h = this.env && this.env.FormData;
562
562
  return We(
@@ -566,7 +566,7 @@ const Pe = {
566
566
  );
567
567
  }
568
568
  }
569
- return i || o ? (r.setContentType("application/json", !1), pn(t)) : t;
569
+ return i || o ? (r.setContentType("application/json", !1), fn(t)) : t;
570
570
  }],
571
571
  transformResponse: [function(t) {
572
572
  const r = this.transitional || Pe.transitional, s = r && r.forcedJSONParsing, o = this.responseType === "json";
@@ -609,7 +609,7 @@ const Pe = {
609
609
  u.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
610
610
  Pe.headers[e] = {};
611
611
  });
612
- const fn = u.toObjectSet([
612
+ const xn = u.toObjectSet([
613
613
  "age",
614
614
  "authorization",
615
615
  "content-length",
@@ -627,12 +627,12 @@ const fn = u.toObjectSet([
627
627
  "referer",
628
628
  "retry-after",
629
629
  "user-agent"
630
- ]), xn = (e) => {
630
+ ]), hn = (e) => {
631
631
  const t = {};
632
632
  let r, s, o;
633
633
  return e && e.split(`
634
634
  `).forEach(function(a) {
635
- o = a.indexOf(":"), r = a.substring(0, o).trim().toLowerCase(), s = a.substring(o + 1).trim(), !(!r || t[r] && fn[r]) && (r === "set-cookie" ? t[r] ? t[r].push(s) : t[r] = [s] : t[r] = t[r] ? t[r] + ", " + s : s);
635
+ o = a.indexOf(":"), r = a.substring(0, o).trim().toLowerCase(), s = a.substring(o + 1).trim(), !(!r || t[r] && xn[r]) && (r === "set-cookie" ? t[r] ? t[r].push(s) : t[r] = [s] : t[r] = t[r] ? t[r] + ", " + s : s);
636
636
  }), t;
637
637
  }, gt = Symbol("internals");
638
638
  function ke(e) {
@@ -641,14 +641,14 @@ function ke(e) {
641
641
  function Ne(e) {
642
642
  return e === !1 || e == null ? e : u.isArray(e) ? e.map(Ne) : String(e);
643
643
  }
644
- function hn(e) {
644
+ function gn(e) {
645
645
  const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
646
646
  let s;
647
647
  for (; s = r.exec(e); )
648
648
  t[s[1]] = s[2];
649
649
  return t;
650
650
  }
651
- const gn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
651
+ const mn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
652
652
  function Ke(e, t, r, s, o) {
653
653
  if (u.isFunction(s))
654
654
  return s.call(this, t, r);
@@ -659,10 +659,10 @@ function Ke(e, t, r, s, o) {
659
659
  return s.test(t);
660
660
  }
661
661
  }
662
- function mn(e) {
662
+ function yn(e) {
663
663
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, s) => r.toUpperCase() + s);
664
664
  }
665
- function yn(e, t) {
665
+ function bn(e, t) {
666
666
  const r = u.toCamelCase(" " + t);
667
667
  ["get", "set", "has"].forEach((s) => {
668
668
  Object.defineProperty(e, s + r, {
@@ -689,8 +689,8 @@ let re = class {
689
689
  const a = (l, h) => u.forEach(l, (p, c) => i(p, c, h));
690
690
  if (u.isPlainObject(t) || t instanceof this.constructor)
691
691
  a(t, r);
692
- else if (u.isString(t) && (t = t.trim()) && !gn(t))
693
- a(xn(t), r);
692
+ else if (u.isString(t) && (t = t.trim()) && !mn(t))
693
+ a(hn(t), r);
694
694
  else if (u.isObject(t) && u.isIterable(t)) {
695
695
  let l = {}, h, p;
696
696
  for (const c of t) {
@@ -711,7 +711,7 @@ let re = class {
711
711
  if (!r)
712
712
  return o;
713
713
  if (r === !0)
714
- return hn(o);
714
+ return gn(o);
715
715
  if (u.isFunction(r))
716
716
  return r.call(this, o, s);
717
717
  if (u.isRegExp(r))
@@ -755,7 +755,7 @@ let re = class {
755
755
  r[a] = Ne(o), delete r[i];
756
756
  return;
757
757
  }
758
- const l = t ? mn(i) : String(i).trim();
758
+ const l = t ? yn(i) : String(i).trim();
759
759
  l !== i && delete r[i], r[l] = Ne(o), s[l] = !0;
760
760
  }), this;
761
761
  }
@@ -794,7 +794,7 @@ let re = class {
794
794
  }).accessors, o = this.prototype;
795
795
  function i(a) {
796
796
  const l = ke(a);
797
- s[l] || (yn(o, a), s[l] = !0);
797
+ s[l] || (bn(o, a), s[l] = !0);
798
798
  }
799
799
  return u.isArray(t) ? t.forEach(i) : i(t), this;
800
800
  }
@@ -817,7 +817,7 @@ function Je(e, t) {
817
817
  i = l.call(r, i, o.normalize(), t ? t.status : void 0);
818
818
  }), o.normalize(), i;
819
819
  }
820
- function Xt(e) {
820
+ function Gt(e) {
821
821
  return !!(e && e.__CANCEL__);
822
822
  }
823
823
  function ve(e, t, r) {
@@ -826,7 +826,7 @@ function ve(e, t, r) {
826
826
  u.inherits(ve, A, {
827
827
  __CANCEL__: !0
828
828
  });
829
- function Gt(e, t, r) {
829
+ function Zt(e, t, r) {
830
830
  const s = r.config.validateStatus;
831
831
  !r.status || !s || s(r.status) ? e(r) : t(new A(
832
832
  "Request failed with status code " + r.status,
@@ -836,11 +836,11 @@ function Gt(e, t, r) {
836
836
  r
837
837
  ));
838
838
  }
839
- function bn(e) {
839
+ function wn(e) {
840
840
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
841
841
  return t && t[1] || "";
842
842
  }
843
- function wn(e, t) {
843
+ function jn(e, t) {
844
844
  e = e || 10;
845
845
  const r = new Array(e), s = new Array(e);
846
846
  let o = 0, i = 0, a;
@@ -856,7 +856,7 @@ function wn(e, t) {
856
856
  return v ? Math.round(R * 1e3 / v) : void 0;
857
857
  };
858
858
  }
859
- function jn(e, t) {
859
+ function vn(e, t) {
860
860
  let r = 0, s = 1e3 / t, o, i;
861
861
  const a = (p, c = Date.now()) => {
862
862
  r = c, o = null, i && (clearTimeout(i), i = null), e(...p);
@@ -870,8 +870,8 @@ function jn(e, t) {
870
870
  }
871
871
  const Fe = (e, t, r = 3) => {
872
872
  let s = 0;
873
- const o = wn(50, 250);
874
- return jn((i) => {
873
+ const o = jn(50, 250);
874
+ return vn((i) => {
875
875
  const a = i.loaded, l = i.lengthComputable ? i.total : void 0, h = a - s, p = o(h), c = a <= l;
876
876
  s = a;
877
877
  const m = {
@@ -894,10 +894,10 @@ const Fe = (e, t, r = 3) => {
894
894
  total: e,
895
895
  loaded: s
896
896
  }), t[1]];
897
- }, yt = (e) => (...t) => u.asap(() => e(...t)), vn = ee.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (r) => (r = new URL(r, ee.origin), e.protocol === r.protocol && e.host === r.host && (t || e.port === r.port)))(
897
+ }, yt = (e) => (...t) => u.asap(() => e(...t)), Sn = ee.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (r) => (r = new URL(r, ee.origin), e.protocol === r.protocol && e.host === r.host && (t || e.port === r.port)))(
898
898
  new URL(ee.origin),
899
899
  ee.navigator && /(msie|trident)/i.test(ee.navigator.userAgent)
900
- ) : () => !0, Sn = ee.hasStandardBrowserEnv ? (
900
+ ) : () => !0, kn = ee.hasStandardBrowserEnv ? (
901
901
  // Standard browser envs support document.cookie
902
902
  {
903
903
  write(e, t, r, s, o, i) {
@@ -924,15 +924,15 @@ const Fe = (e, t, r = 3) => {
924
924
  }
925
925
  }
926
926
  );
927
- function kn(e) {
927
+ function En(e) {
928
928
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
929
929
  }
930
- function En(e, t) {
930
+ function Cn(e, t) {
931
931
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
932
932
  }
933
- function Zt(e, t, r) {
934
- let s = !kn(t);
935
- return e && (s || r == !1) ? En(e, t) : t;
933
+ function Qt(e, t, r) {
934
+ let s = !En(t);
935
+ return e && (s || r == !1) ? Cn(e, t) : t;
936
936
  }
937
937
  const bt = (e) => e instanceof re ? { ...e } : e;
938
938
  function he(e, t) {
@@ -999,10 +999,10 @@ function he(e, t) {
999
999
  u.isUndefined(R) && m !== l || (r[c] = R);
1000
1000
  }), r;
1001
1001
  }
1002
- const Qt = (e) => {
1002
+ const er = (e) => {
1003
1003
  const t = he({}, e);
1004
1004
  let { data: r, withXSRFToken: s, xsrfHeaderName: o, xsrfCookieName: i, headers: a, auth: l } = t;
1005
- if (t.headers = a = re.from(a), t.url = Yt(Zt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && a.set(
1005
+ if (t.headers = a = re.from(a), t.url = Kt(Qt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && a.set(
1006
1006
  "Authorization",
1007
1007
  "Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
1008
1008
  ), u.isFormData(r)) {
@@ -1015,14 +1015,14 @@ const Qt = (e) => {
1015
1015
  });
1016
1016
  }
1017
1017
  }
1018
- if (ee.hasStandardBrowserEnv && (s && u.isFunction(s) && (s = s(t)), s || s !== !1 && vn(t.url))) {
1019
- const h = o && i && Sn.read(i);
1018
+ if (ee.hasStandardBrowserEnv && (s && u.isFunction(s) && (s = s(t)), s || s !== !1 && Sn(t.url))) {
1019
+ const h = o && i && kn.read(i);
1020
1020
  h && a.set(o, h);
1021
1021
  }
1022
1022
  return t;
1023
- }, Cn = typeof XMLHttpRequest < "u", Tn = Cn && function(e) {
1023
+ }, Tn = typeof XMLHttpRequest < "u", Rn = Tn && function(e) {
1024
1024
  return new Promise(function(r, s) {
1025
- const o = Qt(e);
1025
+ const o = er(e);
1026
1026
  let i = o.data;
1027
1027
  const a = re.from(o.headers).normalize();
1028
1028
  let { responseType: l, onUploadProgress: h, onDownloadProgress: p } = o, c, m, R, v, d;
@@ -1044,7 +1044,7 @@ const Qt = (e) => {
1044
1044
  config: e,
1045
1045
  request: g
1046
1046
  };
1047
- Gt(function(O) {
1047
+ Zt(function(O) {
1048
1048
  r(O), b();
1049
1049
  }, function(O) {
1050
1050
  s(O), b();
@@ -1059,7 +1059,7 @@ const Qt = (e) => {
1059
1059
  y.event = E || null, s(y), g = null;
1060
1060
  }, g.ontimeout = function() {
1061
1061
  let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1062
- const L = o.transitional || Kt;
1062
+ const L = o.transitional || Jt;
1063
1063
  o.timeoutErrorMessage && (E = o.timeoutErrorMessage), s(new A(
1064
1064
  E,
1065
1065
  L.clarifyTimeoutError ? A.ETIMEDOUT : A.ECONNABORTED,
@@ -1071,14 +1071,14 @@ const Qt = (e) => {
1071
1071
  }), u.isUndefined(o.withCredentials) || (g.withCredentials = !!o.withCredentials), l && l !== "json" && (g.responseType = o.responseType), p && ([R, d] = Fe(p, !0), g.addEventListener("progress", R)), h && g.upload && ([m, v] = Fe(h), g.upload.addEventListener("progress", m), g.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (c = (P) => {
1072
1072
  g && (s(!P || P.type ? new ve(null, e, g) : P), g.abort(), g = null);
1073
1073
  }, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
1074
- const _ = bn(o.url);
1074
+ const _ = wn(o.url);
1075
1075
  if (_ && ee.protocols.indexOf(_) === -1) {
1076
1076
  s(new A("Unsupported protocol " + _ + ":", A.ERR_BAD_REQUEST, e));
1077
1077
  return;
1078
1078
  }
1079
1079
  g.send(i || null);
1080
1080
  });
1081
- }, Rn = (e, t) => {
1081
+ }, In = (e, t) => {
1082
1082
  const { length: r } = e = e ? e.filter(Boolean) : [];
1083
1083
  if (t || r) {
1084
1084
  let s = new AbortController(), o;
@@ -1101,7 +1101,7 @@ const Qt = (e) => {
1101
1101
  const { signal: h } = s;
1102
1102
  return h.unsubscribe = () => u.asap(l), h;
1103
1103
  }
1104
- }, In = function* (e, t) {
1104
+ }, Pn = function* (e, t) {
1105
1105
  let r = e.byteLength;
1106
1106
  if (r < t) {
1107
1107
  yield e;
@@ -1110,10 +1110,10 @@ const Qt = (e) => {
1110
1110
  let s = 0, o;
1111
1111
  for (; s < r; )
1112
1112
  o = s + t, yield e.slice(s, o), s = o;
1113
- }, Pn = async function* (e, t) {
1114
- for await (const r of On(e))
1115
- yield* In(r, t);
1116
- }, On = async function* (e) {
1113
+ }, On = async function* (e, t) {
1114
+ for await (const r of zn(e))
1115
+ yield* Pn(r, t);
1116
+ }, zn = async function* (e) {
1117
1117
  if (e[Symbol.asyncIterator]) {
1118
1118
  yield* e;
1119
1119
  return;
@@ -1130,7 +1130,7 @@ const Qt = (e) => {
1130
1130
  await t.cancel();
1131
1131
  }
1132
1132
  }, wt = (e, t, r, s) => {
1133
- const o = Pn(e, t);
1133
+ const o = On(e, t);
1134
1134
  let i = 0, a, l = (h) => {
1135
1135
  a || (a = !0, s && s(h));
1136
1136
  };
@@ -1158,7 +1158,7 @@ const Qt = (e) => {
1158
1158
  }, {
1159
1159
  highWaterMark: 2
1160
1160
  });
1161
- }, jt = 64 * 1024, { isFunction: ze } = u, zn = (({ Request: e, Response: t }) => ({
1161
+ }, jt = 64 * 1024, { isFunction: ze } = u, An = (({ Request: e, Response: t }) => ({
1162
1162
  Request: e,
1163
1163
  Response: t
1164
1164
  }))(u.global), {
@@ -1170,10 +1170,10 @@ const Qt = (e) => {
1170
1170
  } catch {
1171
1171
  return !1;
1172
1172
  }
1173
- }, An = (e) => {
1173
+ }, _n = (e) => {
1174
1174
  e = u.merge.call({
1175
1175
  skipUndefined: !0
1176
- }, zn, e);
1176
+ }, An, e);
1177
1177
  const { fetch: t, Request: r, Response: s } = e, o = t ? ze(t) : typeof fetch == "function", i = ze(r), a = ze(s);
1178
1178
  if (!o)
1179
1179
  return !1;
@@ -1230,9 +1230,9 @@ const Qt = (e) => {
1230
1230
  headers: w,
1231
1231
  withCredentials: D = "same-origin",
1232
1232
  fetchOptions: K
1233
- } = Qt(d), U = t || fetch;
1233
+ } = er(d), U = t || fetch;
1234
1234
  O = O ? (O + "").toLowerCase() : "text";
1235
- let Y = Rn([_, P && P.toAbortSignal()], E), Q = null;
1235
+ let Y = In([_, P && P.toAbortSignal()], E), Q = null;
1236
1236
  const S = Y && Y.unsubscribe && (() => {
1237
1237
  Y.unsubscribe();
1238
1238
  });
@@ -1284,7 +1284,7 @@ const Qt = (e) => {
1284
1284
  O = O || "text";
1285
1285
  let x = await m[u.findKey(m, O) || "text"](T, d);
1286
1286
  return !V && S && S(), await new Promise((k, N) => {
1287
- Gt(k, N, {
1287
+ Zt(k, N, {
1288
1288
  data: x,
1289
1289
  headers: re.from(T.headers),
1290
1290
  status: T.status,
@@ -1302,24 +1302,24 @@ const Qt = (e) => {
1302
1302
  ) : A.from(M, M && M.code, d, Q);
1303
1303
  }
1304
1304
  };
1305
- }, _n = /* @__PURE__ */ new Map(), er = (e) => {
1305
+ }, Nn = /* @__PURE__ */ new Map(), tr = (e) => {
1306
1306
  let t = e ? e.env : {};
1307
1307
  const { fetch: r, Request: s, Response: o } = t, i = [
1308
1308
  s,
1309
1309
  o,
1310
1310
  r
1311
1311
  ];
1312
- let a = i.length, l = a, h, p, c = _n;
1312
+ let a = i.length, l = a, h, p, c = Nn;
1313
1313
  for (; l--; )
1314
- h = i[l], p = c.get(h), p === void 0 && c.set(h, p = l ? /* @__PURE__ */ new Map() : An(t)), c = p;
1314
+ h = i[l], p = c.get(h), p === void 0 && c.set(h, p = l ? /* @__PURE__ */ new Map() : _n(t)), c = p;
1315
1315
  return p;
1316
1316
  };
1317
- er();
1317
+ tr();
1318
1318
  const rt = {
1319
- http: Xr,
1320
- xhr: Tn,
1319
+ http: Gr,
1320
+ xhr: Rn,
1321
1321
  fetch: {
1322
- get: er
1322
+ get: tr
1323
1323
  }
1324
1324
  };
1325
1325
  u.forEach(rt, (e, t) => {
@@ -1331,7 +1331,7 @@ u.forEach(rt, (e, t) => {
1331
1331
  Object.defineProperty(e, "adapterName", { value: t });
1332
1332
  }
1333
1333
  });
1334
- const Et = (e) => `- ${e}`, Nn = (e) => u.isFunction(e) || e === null || e === !1, tr = {
1334
+ const Et = (e) => `- ${e}`, $n = (e) => u.isFunction(e) || e === null || e === !1, rr = {
1335
1335
  getAdapter: (e, t) => {
1336
1336
  e = u.isArray(e) ? e : [e];
1337
1337
  const { length: r } = e;
@@ -1340,7 +1340,7 @@ const Et = (e) => `- ${e}`, Nn = (e) => u.isFunction(e) || e === null || e === !
1340
1340
  for (let a = 0; a < r; a++) {
1341
1341
  s = e[a];
1342
1342
  let l;
1343
- if (o = s, !Nn(s) && (o = rt[(l = String(s)).toLowerCase()], o === void 0))
1343
+ if (o = s, !$n(s) && (o = rt[(l = String(s)).toLowerCase()], o === void 0))
1344
1344
  throw new A(`Unknown adapter '${l}'`);
1345
1345
  if (o && (u.isFunction(o) || (o = o.get(t))))
1346
1346
  break;
@@ -1370,21 +1370,21 @@ function Ct(e) {
1370
1370
  return Xe(e), e.headers = re.from(e.headers), e.data = Je.call(
1371
1371
  e,
1372
1372
  e.transformRequest
1373
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), tr.getAdapter(e.adapter || Pe.adapter, e)(e).then(function(s) {
1373
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), rr.getAdapter(e.adapter || Pe.adapter, e)(e).then(function(s) {
1374
1374
  return Xe(e), s.data = Je.call(
1375
1375
  e,
1376
1376
  e.transformResponse,
1377
1377
  s
1378
1378
  ), s.headers = re.from(s.headers), s;
1379
1379
  }, function(s) {
1380
- return Xt(s) || (Xe(e), s && s.response && (s.response.data = Je.call(
1380
+ return Gt(s) || (Xe(e), s && s.response && (s.response.data = Je.call(
1381
1381
  e,
1382
1382
  e.transformResponse,
1383
1383
  s.response
1384
1384
  ), s.response.headers = re.from(s.response.headers))), Promise.reject(s);
1385
1385
  });
1386
1386
  }
1387
- const rr = "1.12.2", qe = {};
1387
+ const nr = "1.12.2", qe = {};
1388
1388
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1389
1389
  qe[e] = function(s) {
1390
1390
  return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -1393,7 +1393,7 @@ const rr = "1.12.2", qe = {};
1393
1393
  const Tt = {};
1394
1394
  qe.transitional = function(t, r, s) {
1395
1395
  function o(i, a) {
1396
- return "[Axios v" + rr + "] Transitional option '" + i + "'" + a + (s ? ". " + s : "");
1396
+ return "[Axios v" + nr + "] Transitional option '" + i + "'" + a + (s ? ". " + s : "");
1397
1397
  }
1398
1398
  return (i, a, l) => {
1399
1399
  if (t === !1)
@@ -1412,7 +1412,7 @@ qe.transitional = function(t, r, s) {
1412
1412
  qe.spelling = function(t) {
1413
1413
  return (r, s) => (console.warn(`${s} is likely a misspelling of ${t}`), !0);
1414
1414
  };
1415
- function $n(e, t, r) {
1415
+ function Un(e, t, r) {
1416
1416
  if (typeof e != "object")
1417
1417
  throw new A("options must be an object", A.ERR_BAD_OPTION_VALUE);
1418
1418
  const s = Object.keys(e);
@@ -1430,9 +1430,9 @@ function $n(e, t, r) {
1430
1430
  }
1431
1431
  }
1432
1432
  const $e = {
1433
- assertOptions: $n,
1433
+ assertOptions: Un,
1434
1434
  validators: qe
1435
- }, ae = $e.validators;
1435
+ }, ie = $e.validators;
1436
1436
  let fe = class {
1437
1437
  constructor(t) {
1438
1438
  this.defaults = t || {}, this.interceptors = {
@@ -1469,17 +1469,17 @@ let fe = class {
1469
1469
  typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = he(this.defaults, r);
1470
1470
  const { transitional: s, paramsSerializer: o, headers: i } = r;
1471
1471
  s !== void 0 && $e.assertOptions(s, {
1472
- silentJSONParsing: ae.transitional(ae.boolean),
1473
- forcedJSONParsing: ae.transitional(ae.boolean),
1474
- clarifyTimeoutError: ae.transitional(ae.boolean)
1472
+ silentJSONParsing: ie.transitional(ie.boolean),
1473
+ forcedJSONParsing: ie.transitional(ie.boolean),
1474
+ clarifyTimeoutError: ie.transitional(ie.boolean)
1475
1475
  }, !1), o != null && (u.isFunction(o) ? r.paramsSerializer = {
1476
1476
  serialize: o
1477
1477
  } : $e.assertOptions(o, {
1478
- encode: ae.function,
1479
- serialize: ae.function
1478
+ encode: ie.function,
1479
+ serialize: ie.function
1480
1480
  }, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), $e.assertOptions(r, {
1481
- baseUrl: ae.spelling("baseURL"),
1482
- withXsrfToken: ae.spelling("withXSRFToken")
1481
+ baseUrl: ie.spelling("baseURL"),
1482
+ withXsrfToken: ie.spelling("withXSRFToken")
1483
1483
  }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
1484
1484
  let a = i && u.merge(
1485
1485
  i.common,
@@ -1529,8 +1529,8 @@ let fe = class {
1529
1529
  }
1530
1530
  getUri(t) {
1531
1531
  t = he(this.defaults, t);
1532
- const r = Zt(t.baseURL, t.url, t.allowAbsoluteUrls);
1533
- return Yt(r, t.params, t.paramsSerializer);
1532
+ const r = Qt(t.baseURL, t.url, t.allowAbsoluteUrls);
1533
+ return Kt(r, t.params, t.paramsSerializer);
1534
1534
  }
1535
1535
  };
1536
1536
  u.forEach(["delete", "get", "head", "options"], function(t) {
@@ -1557,7 +1557,7 @@ u.forEach(["post", "put", "patch"], function(t) {
1557
1557
  }
1558
1558
  fe.prototype[t] = r(), fe.prototype[t + "Form"] = r(!0);
1559
1559
  });
1560
- let Un = class nr {
1560
+ let Dn = class sr {
1561
1561
  constructor(t) {
1562
1562
  if (typeof t != "function")
1563
1563
  throw new TypeError("executor must be a function.");
@@ -1623,19 +1623,19 @@ let Un = class nr {
1623
1623
  static source() {
1624
1624
  let t;
1625
1625
  return {
1626
- token: new nr(function(o) {
1626
+ token: new sr(function(o) {
1627
1627
  t = o;
1628
1628
  }),
1629
1629
  cancel: t
1630
1630
  };
1631
1631
  }
1632
1632
  };
1633
- function Dn(e) {
1633
+ function Fn(e) {
1634
1634
  return function(r) {
1635
1635
  return e.apply(null, r);
1636
1636
  };
1637
1637
  }
1638
- function Fn(e) {
1638
+ function Ln(e) {
1639
1639
  return u.isObject(e) && e.isAxiosError === !0;
1640
1640
  }
1641
1641
  const nt = {
@@ -1706,30 +1706,30 @@ const nt = {
1706
1706
  Object.entries(nt).forEach(([e, t]) => {
1707
1707
  nt[t] = e;
1708
1708
  });
1709
- function sr(e) {
1710
- const t = new fe(e), r = Nt(fe.prototype.request, t);
1709
+ function or(e) {
1710
+ const t = new fe(e), r = $t(fe.prototype.request, t);
1711
1711
  return u.extend(r, fe.prototype, t, { allOwnKeys: !0 }), u.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
1712
- return sr(he(e, o));
1712
+ return or(he(e, o));
1713
1713
  }, r;
1714
1714
  }
1715
- const W = sr(Pe);
1715
+ const W = or(Pe);
1716
1716
  W.Axios = fe;
1717
1717
  W.CanceledError = ve;
1718
- W.CancelToken = Un;
1719
- W.isCancel = Xt;
1720
- W.VERSION = rr;
1718
+ W.CancelToken = Dn;
1719
+ W.isCancel = Gt;
1720
+ W.VERSION = nr;
1721
1721
  W.toFormData = We;
1722
1722
  W.AxiosError = A;
1723
1723
  W.Cancel = W.CanceledError;
1724
1724
  W.all = function(t) {
1725
1725
  return Promise.all(t);
1726
1726
  };
1727
- W.spread = Dn;
1728
- W.isAxiosError = Fn;
1727
+ W.spread = Fn;
1728
+ W.isAxiosError = Ln;
1729
1729
  W.mergeConfig = he;
1730
1730
  W.AxiosHeaders = re;
1731
- W.formToJSON = (e) => Jt(u.isHTMLForm(e) ? new FormData(e) : e);
1732
- W.getAdapter = tr.getAdapter;
1731
+ W.formToJSON = (e) => Xt(u.isHTMLForm(e) ? new FormData(e) : e);
1732
+ W.getAdapter = rr.getAdapter;
1733
1733
  W.HttpStatusCode = nt;
1734
1734
  W.default = W;
1735
1735
  const {
@@ -2002,7 +2002,7 @@ var Ae = { exports: {} }, Ee = {};
2002
2002
  * LICENSE file in the root directory of this source tree.
2003
2003
  */
2004
2004
  var Rt;
2005
- function Ln() {
2005
+ function Mn() {
2006
2006
  if (Rt) return Ee;
2007
2007
  Rt = 1;
2008
2008
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
@@ -2034,7 +2034,7 @@ var Ce = {};
2034
2034
  * LICENSE file in the root directory of this source tree.
2035
2035
  */
2036
2036
  var It;
2037
- function Mn() {
2037
+ function Bn() {
2038
2038
  return It || (It = 1, process.env.NODE_ENV !== "production" && (function() {
2039
2039
  function e(x) {
2040
2040
  if (x == null) return null;
@@ -2189,10 +2189,10 @@ function Mn() {
2189
2189
  else m(X);
2190
2190
  if (Y.call(k, "key")) {
2191
2191
  X = e(x);
2192
- var se = Object.keys(k).filter(function(me) {
2192
+ var oe = Object.keys(k).filter(function(me) {
2193
2193
  return me !== "key";
2194
2194
  });
2195
- B = 0 < se.length ? "{key: someKey, " + se.join(": ..., ") + ": ...}" : "{key: someKey}", V[X + B] || (se = 0 < se.length ? "{" + se.join(": ..., ") + ": ...}" : "{}", console.error(
2195
+ B = 0 < oe.length ? "{key: someKey, " + oe.join(": ..., ") + ": ...}" : "{key: someKey}", V[X + B] || (oe = 0 < oe.length ? "{" + oe.join(": ..., ") + ": ...}" : "{}", console.error(
2196
2196
  `A props object containing a "key" prop is being spread into JSX:
2197
2197
  let props = %s;
2198
2198
  <%s {...props} />
@@ -2201,7 +2201,7 @@ React keys must be passed directly to JSX without using spread:
2201
2201
  <%s key={someKey} {...props} />`,
2202
2202
  B,
2203
2203
  X,
2204
- se,
2204
+ oe,
2205
2205
  X
2206
2206
  ), V[X + B] = !0);
2207
2207
  }
@@ -2227,7 +2227,7 @@ React keys must be passed directly to JSX without using spread:
2227
2227
  function m(x) {
2228
2228
  typeof x == "object" && x !== null && x.$$typeof === v && x._store && (x._store.validated = 1);
2229
2229
  }
2230
- var R = At, v = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), _ = Symbol.for("react.consumer"), P = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), K = Symbol.for("react.client.reference"), U = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, Q = Array.isArray, S = console.createTask ? console.createTask : function() {
2230
+ var R = _t, v = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), _ = Symbol.for("react.consumer"), P = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), K = Symbol.for("react.client.reference"), U = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, Q = Array.isArray, S = console.createTask ? console.createTask : function() {
2231
2231
  return null;
2232
2232
  };
2233
2233
  R = {
@@ -2267,11 +2267,11 @@ React keys must be passed directly to JSX without using spread:
2267
2267
  })()), Ce;
2268
2268
  }
2269
2269
  var Pt;
2270
- function Bn() {
2271
- return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? Ae.exports = Ln() : Ae.exports = Mn()), Ae.exports;
2270
+ function Wn() {
2271
+ return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? Ae.exports = Mn() : Ae.exports = Bn()), Ae.exports;
2272
2272
  }
2273
- var n = Bn();
2274
- const Wn = async (e, t) => {
2273
+ var n = Wn();
2274
+ const qn = async (e, t) => {
2275
2275
  const { name: r, email: s, password: o, appId: i, phone: a, address: l, avatarUrl: h, isActive: p = !0, role: c = "user" } = e, { baseUrl: m, apiKey: R } = t;
2276
2276
  if (!R)
2277
2277
  throw new Error("API key is required for signup");
@@ -2332,13 +2332,13 @@ const Wn = async (e, t) => {
2332
2332
  * This source code is licensed under the ISC license.
2333
2333
  * See the LICENSE file in the root directory of this source tree.
2334
2334
  */
2335
- const qn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Hn = (e) => e.replace(
2335
+ const Hn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Vn = (e) => e.replace(
2336
2336
  /^([A-Z])|[\s-_]+(\w)/g,
2337
2337
  (t, r, s) => s ? s.toUpperCase() : r.toLowerCase()
2338
2338
  ), Ot = (e) => {
2339
- const t = Hn(e);
2339
+ const t = Vn(e);
2340
2340
  return t.charAt(0).toUpperCase() + t.slice(1);
2341
- }, or = (...e) => e.filter((t, r, s) => !!t && t.trim() !== "" && s.indexOf(t) === r).join(" ").trim(), Vn = (e) => {
2341
+ }, ar = (...e) => e.filter((t, r, s) => !!t && t.trim() !== "" && s.indexOf(t) === r).join(" ").trim(), Yn = (e) => {
2342
2342
  for (const t in e)
2343
2343
  if (t.startsWith("aria-") || t === "role" || t === "title")
2344
2344
  return !0;
@@ -2349,7 +2349,7 @@ const qn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Hn = (
2349
2349
  * This source code is licensed under the ISC license.
2350
2350
  * See the LICENSE file in the root directory of this source tree.
2351
2351
  */
2352
- var Yn = {
2352
+ var Kn = {
2353
2353
  xmlns: "http://www.w3.org/2000/svg",
2354
2354
  width: 24,
2355
2355
  height: 24,
@@ -2366,7 +2366,7 @@ var Yn = {
2366
2366
  * This source code is licensed under the ISC license.
2367
2367
  * See the LICENSE file in the root directory of this source tree.
2368
2368
  */
2369
- const Kn = _t(
2369
+ const Jn = Nt(
2370
2370
  ({
2371
2371
  color: e = "currentColor",
2372
2372
  size: t = 24,
@@ -2380,13 +2380,13 @@ const Kn = _t(
2380
2380
  "svg",
2381
2381
  {
2382
2382
  ref: h,
2383
- ...Yn,
2383
+ ...Kn,
2384
2384
  width: t,
2385
2385
  height: t,
2386
2386
  stroke: e,
2387
2387
  strokeWidth: s ? Number(r) * 24 / Number(t) : r,
2388
- className: or("lucide", o),
2389
- ...!i && !Vn(l) && { "aria-hidden": "true" },
2388
+ className: ar("lucide", o),
2389
+ ...!i && !Yn(l) && { "aria-hidden": "true" },
2390
2390
  ...l
2391
2391
  },
2392
2392
  [
@@ -2402,12 +2402,12 @@ const Kn = _t(
2402
2402
  * See the LICENSE file in the root directory of this source tree.
2403
2403
  */
2404
2404
  const q = (e, t) => {
2405
- const r = _t(
2406
- ({ className: s, ...o }, i) => Ze(Kn, {
2405
+ const r = Nt(
2406
+ ({ className: s, ...o }, i) => Ze(Jn, {
2407
2407
  ref: i,
2408
2408
  iconNode: t,
2409
- className: or(
2410
- `lucide-${qn(Ot(e))}`,
2409
+ className: ar(
2410
+ `lucide-${Hn(Ot(e))}`,
2411
2411
  `lucide-${e}`,
2412
2412
  s
2413
2413
  ),
@@ -2422,7 +2422,7 @@ const q = (e, t) => {
2422
2422
  * This source code is licensed under the ISC license.
2423
2423
  * See the LICENSE file in the root directory of this source tree.
2424
2424
  */
2425
- const Jn = [
2425
+ const Xn = [
2426
2426
  [
2427
2427
  "path",
2428
2428
  {
@@ -2431,74 +2431,74 @@ const Jn = [
2431
2431
  }
2432
2432
  ],
2433
2433
  ["circle", { cx: "12", cy: "13", r: "3", key: "1vg3eu" }]
2434
- ], st = q("camera", Jn);
2434
+ ], st = q("camera", Xn);
2435
2435
  /**
2436
2436
  * @license lucide-react v0.544.0 - ISC
2437
2437
  *
2438
2438
  * This source code is licensed under the ISC license.
2439
2439
  * See the LICENSE file in the root directory of this source tree.
2440
2440
  */
2441
- const Xn = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Gn = q("chevron-down", Xn);
2441
+ const Gn = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Zn = q("chevron-down", Gn);
2442
2442
  /**
2443
2443
  * @license lucide-react v0.544.0 - ISC
2444
2444
  *
2445
2445
  * This source code is licensed under the ISC license.
2446
2446
  * See the LICENSE file in the root directory of this source tree.
2447
2447
  */
2448
- const Zn = [
2448
+ const Qn = [
2449
2449
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
2450
2450
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
2451
2451
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
2452
- ], ce = q("circle-alert", Zn);
2452
+ ], ce = q("circle-alert", Qn);
2453
2453
  /**
2454
2454
  * @license lucide-react v0.544.0 - ISC
2455
2455
  *
2456
2456
  * This source code is licensed under the ISC license.
2457
2457
  * See the LICENSE file in the root directory of this source tree.
2458
2458
  */
2459
- const Qn = [
2459
+ const es = [
2460
2460
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
2461
2461
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
2462
- ], xe = q("circle-check-big", Qn);
2462
+ ], xe = q("circle-check-big", es);
2463
2463
  /**
2464
2464
  * @license lucide-react v0.544.0 - ISC
2465
2465
  *
2466
2466
  * This source code is licensed under the ISC license.
2467
2467
  * See the LICENSE file in the root directory of this source tree.
2468
2468
  */
2469
- const es = [
2469
+ const ts = [
2470
2470
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
2471
2471
  ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
2472
- ], Ge = q("circle-check", es);
2472
+ ], Ge = q("circle-check", ts);
2473
2473
  /**
2474
2474
  * @license lucide-react v0.544.0 - ISC
2475
2475
  *
2476
2476
  * This source code is licensed under the ISC license.
2477
2477
  * See the LICENSE file in the root directory of this source tree.
2478
2478
  */
2479
- const ts = [
2479
+ const rs = [
2480
2480
  ["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
2481
2481
  ["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
2482
2482
  ["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
2483
- ], rs = q("database", ts);
2483
+ ], ns = q("database", rs);
2484
2484
  /**
2485
2485
  * @license lucide-react v0.544.0 - ISC
2486
2486
  *
2487
2487
  * This source code is licensed under the ISC license.
2488
2488
  * See the LICENSE file in the root directory of this source tree.
2489
2489
  */
2490
- const ns = [
2490
+ const ss = [
2491
2491
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
2492
2492
  ["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
2493
2493
  ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
2494
- ], ss = q("ellipsis-vertical", ns);
2494
+ ], os = q("ellipsis-vertical", ss);
2495
2495
  /**
2496
2496
  * @license lucide-react v0.544.0 - ISC
2497
2497
  *
2498
2498
  * This source code is licensed under the ISC license.
2499
2499
  * See the LICENSE file in the root directory of this source tree.
2500
2500
  */
2501
- const os = [
2501
+ const as = [
2502
2502
  [
2503
2503
  "path",
2504
2504
  {
@@ -2515,14 +2515,14 @@ const os = [
2515
2515
  }
2516
2516
  ],
2517
2517
  ["path", { d: "m2 2 20 20", key: "1ooewy" }]
2518
- ], lt = q("eye-off", os);
2518
+ ], lt = q("eye-off", as);
2519
2519
  /**
2520
2520
  * @license lucide-react v0.544.0 - ISC
2521
2521
  *
2522
2522
  * This source code is licensed under the ISC license.
2523
2523
  * See the LICENSE file in the root directory of this source tree.
2524
2524
  */
2525
- const as = [
2525
+ const is = [
2526
2526
  [
2527
2527
  "path",
2528
2528
  {
@@ -2531,14 +2531,14 @@ const as = [
2531
2531
  }
2532
2532
  ],
2533
2533
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
2534
- ], ct = q("eye", as);
2534
+ ], ct = q("eye", is);
2535
2535
  /**
2536
2536
  * @license lucide-react v0.544.0 - ISC
2537
2537
  *
2538
2538
  * This source code is licensed under the ISC license.
2539
2539
  * See the LICENSE file in the root directory of this source tree.
2540
2540
  */
2541
- const is = [
2541
+ const ls = [
2542
2542
  ["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
2543
2543
  [
2544
2544
  "path",
@@ -2547,25 +2547,25 @@ const is = [
2547
2547
  key: "r6nss1"
2548
2548
  }
2549
2549
  ]
2550
- ], ls = q("house", is);
2550
+ ], cs = q("house", ls);
2551
2551
  /**
2552
2552
  * @license lucide-react v0.544.0 - ISC
2553
2553
  *
2554
2554
  * This source code is licensed under the ISC license.
2555
2555
  * See the LICENSE file in the root directory of this source tree.
2556
2556
  */
2557
- const cs = [
2557
+ const ds = [
2558
2558
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
2559
2559
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
2560
2560
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
2561
- ], ar = q("image", cs);
2561
+ ], ir = q("image", ds);
2562
2562
  /**
2563
2563
  * @license lucide-react v0.544.0 - ISC
2564
2564
  *
2565
2565
  * This source code is licensed under the ISC license.
2566
2566
  * See the LICENSE file in the root directory of this source tree.
2567
2567
  */
2568
- const ds = [
2568
+ const us = [
2569
2569
  [
2570
2570
  "path",
2571
2571
  {
@@ -2574,43 +2574,43 @@ const ds = [
2574
2574
  }
2575
2575
  ],
2576
2576
  ["circle", { cx: "16.5", cy: "7.5", r: ".5", fill: "currentColor", key: "w0ekpg" }]
2577
- ], ir = q("key-round", ds);
2577
+ ], lr = q("key-round", us);
2578
2578
  /**
2579
2579
  * @license lucide-react v0.544.0 - ISC
2580
2580
  *
2581
2581
  * This source code is licensed under the ISC license.
2582
2582
  * See the LICENSE file in the root directory of this source tree.
2583
2583
  */
2584
- const us = [
2584
+ const ps = [
2585
2585
  ["path", { d: "m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4", key: "g0fldk" }],
2586
2586
  ["path", { d: "m21 2-9.6 9.6", key: "1j0ho8" }],
2587
2587
  ["circle", { cx: "7.5", cy: "15.5", r: "5.5", key: "yqb3hr" }]
2588
- ], lr = q("key", us);
2588
+ ], cr = q("key", ps);
2589
2589
  /**
2590
2590
  * @license lucide-react v0.544.0 - ISC
2591
2591
  *
2592
2592
  * This source code is licensed under the ISC license.
2593
2593
  * See the LICENSE file in the root directory of this source tree.
2594
2594
  */
2595
- const ps = [
2595
+ const fs = [
2596
2596
  ["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
2597
2597
  ["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
2598
2598
  ["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
2599
- ], fs = q("link-2", ps);
2599
+ ], xs = q("link-2", fs);
2600
2600
  /**
2601
2601
  * @license lucide-react v0.544.0 - ISC
2602
2602
  *
2603
2603
  * This source code is licensed under the ISC license.
2604
2604
  * See the LICENSE file in the root directory of this source tree.
2605
2605
  */
2606
- const xs = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], de = q("loader-circle", xs);
2606
+ const hs = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], de = q("loader-circle", hs);
2607
2607
  /**
2608
2608
  * @license lucide-react v0.544.0 - ISC
2609
2609
  *
2610
2610
  * This source code is licensed under the ISC license.
2611
2611
  * See the LICENSE file in the root directory of this source tree.
2612
2612
  */
2613
- const hs = [
2613
+ const gs = [
2614
2614
  ["path", { d: "M12 2v4", key: "3427ic" }],
2615
2615
  ["path", { d: "m16.2 7.8 2.9-2.9", key: "r700ao" }],
2616
2616
  ["path", { d: "M18 12h4", key: "wj9ykh" }],
@@ -2619,45 +2619,45 @@ const hs = [
2619
2619
  ["path", { d: "m4.9 19.1 2.9-2.9", key: "bwix9q" }],
2620
2620
  ["path", { d: "M2 12h4", key: "j09sii" }],
2621
2621
  ["path", { d: "m4.9 4.9 2.9 2.9", key: "giyufr" }]
2622
- ], gs = q("loader", hs);
2622
+ ], ms = q("loader", gs);
2623
2623
  /**
2624
2624
  * @license lucide-react v0.544.0 - ISC
2625
2625
  *
2626
2626
  * This source code is licensed under the ISC license.
2627
2627
  * See the LICENSE file in the root directory of this source tree.
2628
2628
  */
2629
- const ms = [
2629
+ const ys = [
2630
2630
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
2631
2631
  ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
2632
- ], ye = q("lock", ms);
2632
+ ], ye = q("lock", ys);
2633
2633
  /**
2634
2634
  * @license lucide-react v0.544.0 - ISC
2635
2635
  *
2636
2636
  * This source code is licensed under the ISC license.
2637
2637
  * See the LICENSE file in the root directory of this source tree.
2638
2638
  */
2639
- const ys = [
2639
+ const bs = [
2640
2640
  ["path", { d: "m16 17 5-5-5-5", key: "1bji2h" }],
2641
2641
  ["path", { d: "M21 12H9", key: "dn1m92" }],
2642
2642
  ["path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4", key: "1uf3rs" }]
2643
- ], dt = q("log-out", ys);
2643
+ ], dt = q("log-out", bs);
2644
2644
  /**
2645
2645
  * @license lucide-react v0.544.0 - ISC
2646
2646
  *
2647
2647
  * This source code is licensed under the ISC license.
2648
2648
  * See the LICENSE file in the root directory of this source tree.
2649
2649
  */
2650
- const bs = [
2650
+ const ws = [
2651
2651
  ["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
2652
2652
  ["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
2653
- ], ge = q("mail", bs);
2653
+ ], ge = q("mail", ws);
2654
2654
  /**
2655
2655
  * @license lucide-react v0.544.0 - ISC
2656
2656
  *
2657
2657
  * This source code is licensed under the ISC license.
2658
2658
  * See the LICENSE file in the root directory of this source tree.
2659
2659
  */
2660
- const ws = [
2660
+ const js = [
2661
2661
  [
2662
2662
  "path",
2663
2663
  {
@@ -2666,14 +2666,14 @@ const ws = [
2666
2666
  }
2667
2667
  ],
2668
2668
  ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
2669
- ], js = q("map-pin", ws);
2669
+ ], vs = q("map-pin", js);
2670
2670
  /**
2671
2671
  * @license lucide-react v0.544.0 - ISC
2672
2672
  *
2673
2673
  * This source code is licensed under the ISC license.
2674
2674
  * See the LICENSE file in the root directory of this source tree.
2675
2675
  */
2676
- const vs = [
2676
+ const Ss = [
2677
2677
  ["path", { d: "M13 21h8", key: "1jsn5i" }],
2678
2678
  [
2679
2679
  "path",
@@ -2682,14 +2682,14 @@ const vs = [
2682
2682
  key: "1a8usu"
2683
2683
  }
2684
2684
  ]
2685
- ], Ss = q("pen-line", vs);
2685
+ ], ks = q("pen-line", Ss);
2686
2686
  /**
2687
2687
  * @license lucide-react v0.544.0 - ISC
2688
2688
  *
2689
2689
  * This source code is licensed under the ISC license.
2690
2690
  * See the LICENSE file in the root directory of this source tree.
2691
2691
  */
2692
- const ks = [
2692
+ const Es = [
2693
2693
  [
2694
2694
  "path",
2695
2695
  {
@@ -2697,14 +2697,14 @@ const ks = [
2697
2697
  key: "9njp5v"
2698
2698
  }
2699
2699
  ]
2700
- ], Es = q("phone", ks);
2700
+ ], Cs = q("phone", Es);
2701
2701
  /**
2702
2702
  * @license lucide-react v0.544.0 - ISC
2703
2703
  *
2704
2704
  * This source code is licensed under the ISC license.
2705
2705
  * See the LICENSE file in the root directory of this source tree.
2706
2706
  */
2707
- const Cs = [
2707
+ const Ts = [
2708
2708
  [
2709
2709
  "path",
2710
2710
  {
@@ -2714,14 +2714,14 @@ const Cs = [
2714
2714
  ],
2715
2715
  ["path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7", key: "1ydtos" }],
2716
2716
  ["path", { d: "M7 3v4a1 1 0 0 0 1 1h7", key: "t51u73" }]
2717
- ], Ts = q("save", Cs);
2717
+ ], Rs = q("save", Ts);
2718
2718
  /**
2719
2719
  * @license lucide-react v0.544.0 - ISC
2720
2720
  *
2721
2721
  * This source code is licensed under the ISC license.
2722
2722
  * See the LICENSE file in the root directory of this source tree.
2723
2723
  */
2724
- const Rs = [
2724
+ const Is = [
2725
2725
  [
2726
2726
  "path",
2727
2727
  {
@@ -2730,14 +2730,14 @@ const Rs = [
2730
2730
  }
2731
2731
  ],
2732
2732
  ["path", { d: "m21.854 2.147-10.94 10.939", key: "12cjpa" }]
2733
- ], cr = q("send", Rs);
2733
+ ], dr = q("send", Is);
2734
2734
  /**
2735
2735
  * @license lucide-react v0.544.0 - ISC
2736
2736
  *
2737
2737
  * This source code is licensed under the ISC license.
2738
2738
  * See the LICENSE file in the root directory of this source tree.
2739
2739
  */
2740
- const Is = [
2740
+ const Ps = [
2741
2741
  [
2742
2742
  "path",
2743
2743
  {
@@ -2746,14 +2746,14 @@ const Is = [
2746
2746
  }
2747
2747
  ],
2748
2748
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
2749
- ], Ps = q("settings", Is);
2749
+ ], Os = q("settings", Ps);
2750
2750
  /**
2751
2751
  * @license lucide-react v0.544.0 - ISC
2752
2752
  *
2753
2753
  * This source code is licensed under the ISC license.
2754
2754
  * See the LICENSE file in the root directory of this source tree.
2755
2755
  */
2756
- const Os = [
2756
+ const zs = [
2757
2757
  [
2758
2758
  "path",
2759
2759
  {
@@ -2761,27 +2761,27 @@ const Os = [
2761
2761
  key: "oel41y"
2762
2762
  }
2763
2763
  ]
2764
- ], dr = q("shield", Os);
2764
+ ], ur = q("shield", zs);
2765
2765
  /**
2766
2766
  * @license lucide-react v0.544.0 - ISC
2767
2767
  *
2768
2768
  * This source code is licensed under the ISC license.
2769
2769
  * See the LICENSE file in the root directory of this source tree.
2770
2770
  */
2771
- const zs = [
2771
+ const As = [
2772
2772
  ["path", { d: "M10 11v6", key: "nco0om" }],
2773
2773
  ["path", { d: "M14 11v6", key: "outv1u" }],
2774
2774
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
2775
2775
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
2776
2776
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
2777
- ], Ue = q("trash-2", zs);
2777
+ ], Ue = q("trash-2", As);
2778
2778
  /**
2779
2779
  * @license lucide-react v0.544.0 - ISC
2780
2780
  *
2781
2781
  * This source code is licensed under the ISC license.
2782
2782
  * See the LICENSE file in the root directory of this source tree.
2783
2783
  */
2784
- const As = [
2784
+ const _s = [
2785
2785
  [
2786
2786
  "path",
2787
2787
  {
@@ -2791,39 +2791,39 @@ const As = [
2791
2791
  ],
2792
2792
  ["path", { d: "M12 9v4", key: "juzpu7" }],
2793
2793
  ["path", { d: "M12 17h.01", key: "p32p05" }]
2794
- ], zt = q("triangle-alert", As);
2794
+ ], zt = q("triangle-alert", _s);
2795
2795
  /**
2796
2796
  * @license lucide-react v0.544.0 - ISC
2797
2797
  *
2798
2798
  * This source code is licensed under the ISC license.
2799
2799
  * See the LICENSE file in the root directory of this source tree.
2800
2800
  */
2801
- const _s = [
2801
+ const Ns = [
2802
2802
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
2803
2803
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
2804
2804
  ["line", { x1: "17", x2: "22", y1: "8", y2: "13", key: "3nzzx3" }],
2805
2805
  ["line", { x1: "22", x2: "17", y1: "8", y2: "13", key: "1swrse" }]
2806
- ], Ns = q("user-x", _s);
2806
+ ], $s = q("user-x", Ns);
2807
2807
  /**
2808
2808
  * @license lucide-react v0.544.0 - ISC
2809
2809
  *
2810
2810
  * This source code is licensed under the ISC license.
2811
2811
  * See the LICENSE file in the root directory of this source tree.
2812
2812
  */
2813
- const $s = [
2813
+ const Us = [
2814
2814
  ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
2815
2815
  ["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
2816
- ], we = q("user", $s);
2816
+ ], we = q("user", Us);
2817
2817
  /**
2818
2818
  * @license lucide-react v0.544.0 - ISC
2819
2819
  *
2820
2820
  * This source code is licensed under the ISC license.
2821
2821
  * See the LICENSE file in the root directory of this source tree.
2822
2822
  */
2823
- const Us = [
2823
+ const Ds = [
2824
2824
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
2825
2825
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
2826
- ], Oe = q("x", Us), De = {
2826
+ ], Oe = q("x", Ds), De = {
2827
2827
  baseUrl: "",
2828
2828
  apiKey: "",
2829
2829
  appId: ""
@@ -2864,7 +2864,7 @@ const Us = [
2864
2864
  const x = {
2865
2865
  ...g,
2866
2866
  appId: d
2867
- }, k = await Wn(x, { baseUrl: R, apiKey: v });
2867
+ }, k = await qn(x, { baseUrl: R, apiKey: v });
2868
2868
  O({ type: "success", text: "Account created successfully!" }), c && c(k);
2869
2869
  } catch (x) {
2870
2870
  const k = x.message || "Signup failed. Please try again.";
@@ -3196,7 +3196,7 @@ const Us = [
3196
3196
  ),
3197
3197
  /* @__PURE__ */ n.jsxs("div", { style: { position: "relative" }, children: [
3198
3198
  /* @__PURE__ */ n.jsx(
3199
- ar,
3199
+ ir,
3200
3200
  {
3201
3201
  size: 20,
3202
3202
  style: {
@@ -3288,7 +3288,7 @@ const Us = [
3288
3288
  },
3289
3289
  children: E ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
3290
3290
  /* @__PURE__ */ n.jsx(
3291
- gs,
3291
+ ms,
3292
3292
  {
3293
3293
  size: 18,
3294
3294
  style: { animation: "spin 1s linear infinite" }
@@ -3330,7 +3330,7 @@ const Us = [
3330
3330
  ]
3331
3331
  }
3332
3332
  );
3333
- }, Ds = async (e, t) => {
3333
+ }, Fs = async (e, t) => {
3334
3334
  const { email: r, password: s, appId: o } = e, { baseUrl: i, apiKey: a } = t;
3335
3335
  if (!a)
3336
3336
  throw new Error("API key is required for login");
@@ -3375,7 +3375,7 @@ const Us = [
3375
3375
  }), S = window.innerWidth < 768, Z = l ? "#ffffff" : "#111827", M = l ? "#a1a1aa" : "#6b7280", F = l ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.02)", T = l ? "rgba(255,255,255,0.1)" : "rgba(0,0,0,0.1)", V = async (f) => {
3376
3376
  f.preventDefault(), L(!0), O(null);
3377
3377
  try {
3378
- const j = await Ds(
3378
+ const j = await Fs(
3379
3379
  { email: w, password: K, appId: v },
3380
3380
  { baseUrl: m, apiKey: R }
3381
3381
  );
@@ -3764,7 +3764,7 @@ const Us = [
3764
3764
  ),
3765
3765
  /* @__PURE__ */ n.jsxs("div", { style: { position: "relative" }, children: [
3766
3766
  /* @__PURE__ */ n.jsx(
3767
- ir,
3767
+ lr,
3768
3768
  {
3769
3769
  size: 20,
3770
3770
  style: {
@@ -3925,7 +3925,8 @@ const Us = [
3925
3925
  )
3926
3926
  }
3927
3927
  );
3928
- }, Fs = () => {
3928
+ }, Ls = () => {
3929
+ if (typeof window > "u") return !1;
3929
3930
  try {
3930
3931
  const e = localStorage.getItem("userInfo");
3931
3932
  return !!(e && e !== "undefined" && e !== "null");
@@ -3938,16 +3939,25 @@ const Us = [
3938
3939
  width: r,
3939
3940
  height: s
3940
3941
  }) => {
3941
- if (!Fs()) return /* @__PURE__ */ n.jsx(n.Fragment, { children: t });
3942
- const o = {
3943
- display: "inline-flex",
3944
- alignItems: "center",
3945
- verticalAlign: "middle",
3946
- ...r ? { width: r } : {},
3947
- ...s ? { height: s } : {}
3948
- };
3949
- return /* @__PURE__ */ n.jsx("span", { style: o, children: e });
3950
- }, Ls = () => {
3942
+ const [o, i] = I(!1);
3943
+ return se(() => {
3944
+ const a = () => i(Ls());
3945
+ return a(), window.addEventListener("storage", a), () => window.removeEventListener("storage", a);
3946
+ }, []), o ? /* @__PURE__ */ n.jsx(
3947
+ "span",
3948
+ {
3949
+ style: {
3950
+ display: "inline-flex",
3951
+ alignItems: "center",
3952
+ verticalAlign: "middle",
3953
+ width: r,
3954
+ height: s
3955
+ },
3956
+ children: e
3957
+ }
3958
+ ) : /* @__PURE__ */ n.jsx(n.Fragment, { children: t });
3959
+ }, At = () => {
3960
+ if (typeof window > "u") return !1;
3951
3961
  try {
3952
3962
  const e = localStorage.getItem("userInfo");
3953
3963
  return !!(e && e !== "undefined" && e !== "null");
@@ -3960,15 +3970,23 @@ const Us = [
3960
3970
  width: r,
3961
3971
  height: s
3962
3972
  }) => {
3963
- if (Ls()) return /* @__PURE__ */ n.jsx(n.Fragment, { children: t });
3964
- const o = {
3965
- display: "inline-flex",
3966
- alignItems: "center",
3967
- verticalAlign: "middle",
3968
- ...r ? { width: r } : {},
3969
- ...s ? { height: s } : {}
3970
- };
3971
- return /* @__PURE__ */ n.jsx("span", { style: o, children: e });
3973
+ const [o, i] = I(!At());
3974
+ return se(() => {
3975
+ const a = () => i(!At());
3976
+ return a(), window.addEventListener("storage", a), () => window.removeEventListener("storage", a);
3977
+ }, []), o ? /* @__PURE__ */ n.jsx(
3978
+ "span",
3979
+ {
3980
+ style: {
3981
+ display: "inline-flex",
3982
+ alignItems: "center",
3983
+ verticalAlign: "middle",
3984
+ width: r,
3985
+ height: s
3986
+ },
3987
+ children: e
3988
+ }
3989
+ ) : /* @__PURE__ */ n.jsx(n.Fragment, { children: t });
3972
3990
  }, Ms = ({
3973
3991
  isOpen: e,
3974
3992
  onClose: t,
@@ -3979,7 +3997,7 @@ const Us = [
3979
3997
  colors: a
3980
3998
  }) => {
3981
3999
  const { baseUrl: l, apiKey: h, appId: p } = Se(), [c, m] = I(!1), [R, v] = I(""), [d, b] = I("warning"), [g, $] = I(!1);
3982
- if (ie(() => {
4000
+ if (se(() => {
3983
4001
  const y = () => {
3984
4002
  $(window.innerWidth < 640);
3985
4003
  };
@@ -4142,11 +4160,11 @@ const Us = [
4142
4160
  },
4143
4161
  children: [
4144
4162
  {
4145
- icon: /* @__PURE__ */ n.jsx(rs, { size: 16 }),
4163
+ icon: /* @__PURE__ */ n.jsx(ns, { size: 16 }),
4146
4164
  text: "All your data will be permanently deleted"
4147
4165
  },
4148
4166
  {
4149
- icon: /* @__PURE__ */ n.jsx(Ns, { size: 16 }),
4167
+ icon: /* @__PURE__ */ n.jsx($s, { size: 16 }),
4150
4168
  text: "This action cannot be reversed"
4151
4169
  },
4152
4170
  {
@@ -4578,7 +4596,7 @@ const Us = [
4578
4596
  },
4579
4597
  children: [
4580
4598
  /* @__PURE__ */ n.jsx(
4581
- dr,
4599
+ ur,
4582
4600
  {
4583
4601
  size: 18,
4584
4602
  style: { color: a.accent, flexShrink: 0 }
@@ -4830,12 +4848,12 @@ const Us = [
4830
4848
  colors: s
4831
4849
  }) => {
4832
4850
  const [o, i] = I(""), [a, l] = I(!1), [h, p] = I(!1), [c, m] = I({ isValid: !1, message: "", type: null });
4833
- if (ie(() => {
4851
+ if (se(() => {
4834
4852
  const d = () => {
4835
4853
  p(window.innerWidth < 640);
4836
4854
  };
4837
4855
  return d(), window.addEventListener("resize", d), () => window.removeEventListener("resize", d);
4838
- }, []), ie(() => {
4856
+ }, []), se(() => {
4839
4857
  if (!o.trim()) {
4840
4858
  m({ isValid: !1, message: "", type: null });
4841
4859
  return;
@@ -5012,7 +5030,7 @@ const Us = [
5012
5030
  gap: "6px"
5013
5031
  },
5014
5032
  children: [
5015
- /* @__PURE__ */ n.jsx(fs, { size: 16 }),
5033
+ /* @__PURE__ */ n.jsx(xs, { size: 16 }),
5016
5034
  "Avatar URL"
5017
5035
  ]
5018
5036
  }
@@ -5058,7 +5076,7 @@ const Us = [
5058
5076
  transform: "translateY(-50%)",
5059
5077
  color: s.textTertiary
5060
5078
  },
5061
- children: /* @__PURE__ */ n.jsx(ar, { size: 18 })
5079
+ children: /* @__PURE__ */ n.jsx(ir, { size: 18 })
5062
5080
  }
5063
5081
  )
5064
5082
  ] }),
@@ -5291,7 +5309,7 @@ const Us = [
5291
5309
  newPassword: !1,
5292
5310
  confirmPassword: !1
5293
5311
  }), [$, _] = I(!1);
5294
- if (At.useEffect(() => {
5312
+ if (_t.useEffect(() => {
5295
5313
  const w = () => {
5296
5314
  _(window.innerWidth < 640);
5297
5315
  };
@@ -5337,7 +5355,7 @@ const Us = [
5337
5355
  {
5338
5356
  field: "currentPassword",
5339
5357
  label: "Current Password",
5340
- icon: /* @__PURE__ */ n.jsx(lr, { size: 18 })
5358
+ icon: /* @__PURE__ */ n.jsx(cr, { size: 18 })
5341
5359
  },
5342
5360
  {
5343
5361
  field: "newPassword",
@@ -5792,7 +5810,7 @@ const Us = [
5792
5810
  a && /* @__PURE__ */ n.jsxs("div", { className: "form-group", children: [
5793
5811
  /* @__PURE__ */ n.jsx("label", { style: { color: p.textSecondary }, children: "OTP" }),
5794
5812
  /* @__PURE__ */ n.jsxs("div", { className: "input-container", children: [
5795
- /* @__PURE__ */ n.jsx(ir, { size: 18, style: { color: p.textTertiary }, "aria-hidden": "true" }),
5813
+ /* @__PURE__ */ n.jsx(lr, { size: 18, style: { color: p.textTertiary }, "aria-hidden": "true" }),
5796
5814
  /* @__PURE__ */ n.jsx(
5797
5815
  "input",
5798
5816
  {
@@ -5841,7 +5859,7 @@ const Us = [
5841
5859
  },
5842
5860
  "aria-label": l ? "Sending OTP" : "Send OTP",
5843
5861
  children: [
5844
- l ? /* @__PURE__ */ n.jsx(de, { size: 16, className: "spinner", "aria-hidden": "true" }) : /* @__PURE__ */ n.jsx(cr, { size: 16, "aria-hidden": "true" }),
5862
+ l ? /* @__PURE__ */ n.jsx(de, { size: 16, className: "spinner", "aria-hidden": "true" }) : /* @__PURE__ */ n.jsx(dr, { size: 16, "aria-hidden": "true" }),
5845
5863
  l ? "Sending..." : "Send OTP"
5846
5864
  ]
5847
5865
  }
@@ -6023,7 +6041,7 @@ const Us = [
6023
6041
  }, 150);
6024
6042
  return () => clearTimeout(C);
6025
6043
  };
6026
- ie(() => {
6044
+ se(() => {
6027
6045
  const C = (H) => {
6028
6046
  const G = document.querySelector(".dropdown-container");
6029
6047
  G && !G.contains(H.target) && j();
@@ -6097,7 +6115,7 @@ const Us = [
6097
6115
  } catch (H) {
6098
6116
  return console.error("Avatar update error:", H), f("error", "Failed to update avatar"), !1;
6099
6117
  }
6100
- }, se = async () => {
6118
+ }, oe = async () => {
6101
6119
  if (c) {
6102
6120
  $(!0);
6103
6121
  try {
@@ -6127,7 +6145,7 @@ const Us = [
6127
6145
  console.error("User check failed:", H), localStorage.removeItem("userInfo"), m(null);
6128
6146
  }
6129
6147
  };
6130
- ie(() => {
6148
+ se(() => {
6131
6149
  (() => {
6132
6150
  if (t)
6133
6151
  m(t), v(!1), le(t.id);
@@ -6140,7 +6158,7 @@ const Us = [
6140
6158
  v(!1);
6141
6159
  }
6142
6160
  })();
6143
- }, [t]), ie(() => {
6161
+ }, [t]), se(() => {
6144
6162
  c?.email && V((C) => ({ ...C, email: c.email }));
6145
6163
  }, [c?.email]);
6146
6164
  const me = (C, H) => {
@@ -6265,14 +6283,14 @@ const Us = [
6265
6283
  value: c.phone || "Not set",
6266
6284
  name: "phone",
6267
6285
  type: "tel",
6268
- icon: Es
6286
+ icon: Cs
6269
6287
  },
6270
6288
  {
6271
6289
  label: "Address",
6272
6290
  value: c.address || "Not provided",
6273
6291
  name: "address",
6274
6292
  type: "text",
6275
- icon: js
6293
+ icon: vs
6276
6294
  }
6277
6295
  ];
6278
6296
  return /* @__PURE__ */ n.jsxs(
@@ -6391,7 +6409,7 @@ const Us = [
6391
6409
  rel: "noopener noreferrer",
6392
6410
  style: { position: "absolute", top: "18px", left: "18px" },
6393
6411
  children: /* @__PURE__ */ n.jsx(
6394
- ls,
6412
+ cs,
6395
6413
  {
6396
6414
  size: 20,
6397
6415
  style: {
@@ -6546,7 +6564,7 @@ const Us = [
6546
6564
  /* @__PURE__ */ n.jsxs(
6547
6565
  "button",
6548
6566
  {
6549
- onClick: se,
6567
+ onClick: oe,
6550
6568
  disabled: g,
6551
6569
  style: {
6552
6570
  background: `linear-gradient(to right, ${z.accent}, ${z.accentHover})`,
@@ -6575,7 +6593,7 @@ const Us = [
6575
6593
  style: { animation: "spin 1s linear infinite" },
6576
6594
  "aria-hidden": "true"
6577
6595
  }
6578
- ) : /* @__PURE__ */ n.jsx(Ts, { size: 16, "aria-hidden": "true" }),
6596
+ ) : /* @__PURE__ */ n.jsx(Rs, { size: 16, "aria-hidden": "true" }),
6579
6597
  g ? "Saving..." : "Save Changes"
6580
6598
  ]
6581
6599
  }
@@ -6604,7 +6622,7 @@ const Us = [
6604
6622
  flex: window.innerWidth < 1024 ? "1" : "auto"
6605
6623
  },
6606
6624
  children: [
6607
- /* @__PURE__ */ n.jsx(Ss, { size: 16, "aria-hidden": "true" }),
6625
+ /* @__PURE__ */ n.jsx(ks, { size: 16, "aria-hidden": "true" }),
6608
6626
  "Edit Profile"
6609
6627
  ]
6610
6628
  }
@@ -6641,7 +6659,7 @@ const Us = [
6641
6659
  style: { animation: "spin 1s linear infinite" },
6642
6660
  "aria-hidden": "true"
6643
6661
  }
6644
- ) : /* @__PURE__ */ n.jsx(cr, { size: 14, "aria-hidden": "true" }),
6662
+ ) : /* @__PURE__ */ n.jsx(dr, { size: 14, "aria-hidden": "true" }),
6645
6663
  M ? "Sending..." : "Verify Email"
6646
6664
  ]
6647
6665
  }
@@ -6671,7 +6689,7 @@ const Us = [
6671
6689
  },
6672
6690
  onClick: () => U(!K),
6673
6691
  children: [
6674
- /* @__PURE__ */ n.jsx(ss, { size: 16, "aria-hidden": "true" }),
6692
+ /* @__PURE__ */ n.jsx(os, { size: 16, "aria-hidden": "true" }),
6675
6693
  "More Actions"
6676
6694
  ]
6677
6695
  }
@@ -6719,7 +6737,7 @@ const Us = [
6719
6737
  onMouseEnter: (C) => C.currentTarget.style.backgroundColor = z.surfaceLight,
6720
6738
  onMouseLeave: (C) => C.currentTarget.style.backgroundColor = "transparent",
6721
6739
  children: [
6722
- /* @__PURE__ */ n.jsx(lr, { size: 14, "aria-hidden": "true" }),
6740
+ /* @__PURE__ */ n.jsx(cr, { size: 14, "aria-hidden": "true" }),
6723
6741
  "Change Password"
6724
6742
  ]
6725
6743
  }
@@ -6950,7 +6968,7 @@ const Us = [
6950
6968
  gap: "8px"
6951
6969
  },
6952
6970
  children: [
6953
- /* @__PURE__ */ n.jsx(dr, { size: 20, "aria-hidden": "true" }),
6971
+ /* @__PURE__ */ n.jsx(ur, { size: 20, "aria-hidden": "true" }),
6954
6972
  "Security Status"
6955
6973
  ]
6956
6974
  }
@@ -7228,7 +7246,7 @@ const Us = [
7228
7246
  logoutLabel: d = "Sign Out"
7229
7247
  }) => {
7230
7248
  const { baseUrl: b, apiKey: g, appId: $ } = Se(), [_, P] = I(!1), [E, L] = I(null), [y, O] = I(!0), [w, D] = I(null), K = ut(null), U = ut(null), [Y, Q] = I(!1), [S, Z] = I(!1);
7231
- ie(() => {
7249
+ se(() => {
7232
7250
  const f = () => {
7233
7251
  Z(window.innerWidth < 768);
7234
7252
  };
@@ -7253,7 +7271,7 @@ const Us = [
7253
7271
  D(J), j.response?.status === 404 && (localStorage.removeItem("userInfo"), L(null));
7254
7272
  }
7255
7273
  };
7256
- ie(() => {
7274
+ se(() => {
7257
7275
  (async () => {
7258
7276
  try {
7259
7277
  if (O(!0), D(null), o) {
@@ -7278,15 +7296,15 @@ const Us = [
7278
7296
  O(!1);
7279
7297
  }
7280
7298
  })();
7281
- }, [o]), ie(() => {
7299
+ }, [o]), se(() => {
7282
7300
  const f = () => {
7283
7301
  if (_ && U.current) {
7284
- const j = U.current.getBoundingClientRect(), J = window.innerWidth, ne = window.innerHeight, X = 280, se = 300, le = J - j.right, me = j.left, z = ne - j.bottom, He = le >= X || le > me;
7285
- Q(He), z < se && j.top > se;
7302
+ const j = U.current.getBoundingClientRect(), J = window.innerWidth, ne = window.innerHeight, X = 280, oe = 300, le = J - j.right, me = j.left, z = ne - j.bottom, He = le >= X || le > me;
7303
+ Q(He), z < oe && j.top > oe;
7286
7304
  }
7287
7305
  };
7288
7306
  return f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
7289
- }, [_]), ie(() => {
7307
+ }, [_]), se(() => {
7290
7308
  const f = (ne) => {
7291
7309
  K.current && !K.current.contains(ne.target) && !U.current?.contains(ne.target) && P(!1);
7292
7310
  }, j = (ne) => {
@@ -7641,7 +7659,7 @@ const Us = [
7641
7659
  E?.email && /* @__PURE__ */ n.jsx("div", { style: T.userEmail, title: E.email, children: E.email })
7642
7660
  ] }),
7643
7661
  /* @__PURE__ */ n.jsx(
7644
- Gn,
7662
+ Zn,
7645
7663
  {
7646
7664
  size: S ? 14 : 16,
7647
7665
  style: T.chevron,
@@ -7715,7 +7733,7 @@ const Us = [
7715
7733
  role: "menuitem",
7716
7734
  tabIndex: 0,
7717
7735
  children: [
7718
- /* @__PURE__ */ n.jsx(Ps, { style: T.icon, "aria-hidden": "true" }),
7736
+ /* @__PURE__ */ n.jsx(Os, { style: T.icon, "aria-hidden": "true" }),
7719
7737
  /* @__PURE__ */ n.jsx("span", { style: T.menuItemText, children: R })
7720
7738
  ]
7721
7739
  }