l-min-components 1.8.494 → 1.8.495

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,14 +1,14 @@
1
- import K, { useState as P, useRef as W, useEffect as e1, useCallback as L, useMemo as t6 } from "react";
2
- import { j as v, a as t, b as B } from "./axiosConfig-239b8dbe.js";
3
- if (typeof $1 > "u")
4
- var $1 = window;
5
- var j1 = {
1
+ import K, { useState as P, useRef as W, useEffect as e1, useCallback as v, useMemo as n6 } from "react";
2
+ import { j as m, a as t, b as B } from "./axiosConfig-239b8dbe.js";
3
+ if (typeof e6 > "u")
4
+ var e6 = window;
5
+ var P1 = {
6
6
  color: void 0,
7
7
  size: void 0,
8
8
  className: void 0,
9
9
  style: void 0,
10
10
  attr: void 0
11
- }, k1 = K.createContext && K.createContext(j1), J = globalThis && globalThis.__assign || function() {
11
+ }, k1 = K.createContext && K.createContext(P1), J = globalThis && globalThis.__assign || function() {
12
12
  return J = Object.assign || function(e) {
13
13
  for (var n, i = 1, o = arguments.length; i < o; i++) {
14
14
  n = arguments[i];
@@ -17,7 +17,7 @@ var j1 = {
17
17
  }
18
18
  return e;
19
19
  }, J.apply(this, arguments);
20
- }, e6 = globalThis && globalThis.__rest || function(e, n) {
20
+ }, i6 = globalThis && globalThis.__rest || function(e, n) {
21
21
  var i = {};
22
22
  for (var o in e)
23
23
  Object.prototype.hasOwnProperty.call(e, o) && n.indexOf(o) < 0 && (i[o] = e[o]);
@@ -26,23 +26,23 @@ var j1 = {
26
26
  n.indexOf(o[d]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[d]) && (i[o[d]] = e[o[d]]);
27
27
  return i;
28
28
  };
29
- function R1(e) {
29
+ function F1(e) {
30
30
  return e && e.map(function(n, i) {
31
31
  return K.createElement(n.tag, J({
32
32
  key: i
33
- }, n.attr), R1(n.child));
33
+ }, n.attr), F1(n.child));
34
34
  });
35
35
  }
36
36
  function G(e) {
37
37
  return function(n) {
38
- return K.createElement(n6, J({
38
+ return K.createElement(o6, J({
39
39
  attr: J({}, e.attr)
40
- }, n), R1(e.child));
40
+ }, n), F1(e.child));
41
41
  };
42
42
  }
43
- function n6(e) {
43
+ function o6(e) {
44
44
  var n = function(i) {
45
- var o = e.attr, d = e.size, l = e.title, w = e6(e, ["attr", "size", "title"]), f = d || i.size || "1em", g;
45
+ var o = e.attr, d = e.size, l = e.title, w = i6(e, ["attr", "size", "title"]), f = d || i.size || "1em", g;
46
46
  return i.className && (g = i.className), e.className && (g = (g ? g + " " : "") + e.className), K.createElement("svg", J({
47
47
  stroke: "currentColor",
48
48
  fill: "currentColor",
@@ -59,9 +59,9 @@ function n6(e) {
59
59
  };
60
60
  return k1 !== void 0 ? K.createElement(k1.Consumer, null, function(i) {
61
61
  return n(i);
62
- }) : n(j1);
62
+ }) : n(P1);
63
63
  }
64
- const i6 = [
64
+ const r6 = [
65
65
  {
66
66
  name: "English",
67
67
  flag: "https://flagcdn.com/w40/us.png",
@@ -127,7 +127,7 @@ const i6 = [
127
127
  flag: "https://flagcdn.com/w40/dk.png",
128
128
  slug: "da"
129
129
  }
130
- ], L7 = {
130
+ ], M7 = {
131
131
  en: "https://flagcdn.com/w40/us.png",
132
132
  es: "https://flagcdn.com/w40/es.png",
133
133
  pt: "https://flagcdn.com/w40/pt.png",
@@ -141,7 +141,7 @@ const i6 = [
141
141
  ja: "https://flagcdn.com/w40/jp.png",
142
142
  tl: "https://flagcdn.com/w40/ph.png",
143
143
  da: "https://flagcdn.com/w40/dk.png"
144
- }, o6 = () => /* @__PURE__ */ v(
144
+ }, s6 = () => /* @__PURE__ */ m(
145
145
  "svg",
146
146
  {
147
147
  width: "21",
@@ -192,7 +192,7 @@ const i6 = [
192
192
  )
193
193
  ]
194
194
  }
195
- ), P1 = o6, r6 = ({ width: e, height: n, stroke: i }) => /* @__PURE__ */ v(
195
+ ), E1 = s6, a6 = ({ width: e, height: n, stroke: i }) => /* @__PURE__ */ m(
196
196
  "svg",
197
197
  {
198
198
  width: e || "21",
@@ -234,7 +234,7 @@ const i6 = [
234
234
  )
235
235
  ]
236
236
  }
237
- ), F1 = r6, s6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
237
+ ), z1 = a6, l6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
238
238
  "svg",
239
239
  {
240
240
  width: e || "21",
@@ -273,7 +273,7 @@ const i6 = [
273
273
  )
274
274
  ]
275
275
  }
276
- ), E1 = s6, a6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
276
+ ), O1 = l6, c6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
277
277
  "svg",
278
278
  {
279
279
  width: e || "21",
@@ -289,7 +289,7 @@ const i6 = [
289
289
  }
290
290
  )
291
291
  }
292
- ), z1 = a6, l6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
292
+ ), G1 = c6, d6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
293
293
  "svg",
294
294
  {
295
295
  width: e || "14",
@@ -335,7 +335,7 @@ const i6 = [
335
335
  )
336
336
  ]
337
337
  }
338
- ), O1 = l6, c6 = ({ width: e, height: n, stroke: i }) => /* @__PURE__ */ v(
338
+ ), W1 = d6, h6 = ({ width: e, height: n, stroke: i }) => /* @__PURE__ */ m(
339
339
  "svg",
340
340
  {
341
341
  width: e || "21",
@@ -432,7 +432,7 @@ const i6 = [
432
432
  )
433
433
  ]
434
434
  }
435
- ), G1 = c6, d6 = () => /* @__PURE__ */ t(
435
+ ), J1 = h6, C6 = () => /* @__PURE__ */ t(
436
436
  "svg",
437
437
  {
438
438
  width: "23",
@@ -448,29 +448,29 @@ const i6 = [
448
448
  }
449
449
  )
450
450
  }
451
- ), W1 = d6, l1 = "learngual:language-changed", X = "en", h6 = i6.map((e) => e.slug);
451
+ ), q1 = C6, l1 = "learngual:language-changed", X = "en", u6 = r6.map((e) => e.slug);
452
452
  window.translationCache || (window.translationCache = {});
453
453
  window.translationCache._inflight || (window.translationCache._inflight = {});
454
- const V1 = window.location.hostname.includes("staging") || window.location.hostname.includes("localhost") || window.location.hostname.includes("demo-test-01") ? "learngual-bucket" : "learngual-production", C6 = 60 * 60 * 1e3, u6 = `https://${V1}.sfo3.digitaloceanspaces.com/${V1}/media/media/translations/`, m1 = (e = X) => String(e || X).trim().toLowerCase(), L1 = (e) => String(e || "").trim().toLowerCase(), H1 = (e = "en") => m1(e).toUpperCase(), p1 = (e) => h6.includes(L1(e)), w6 = () => typeof navigator > "u" ? X : m1(navigator.language || X).slice(0, 2), f6 = (e) => {
454
+ const V1 = window.location.hostname.includes("staging") || window.location.hostname.includes("localhost") || window.location.hostname.includes("demo-test-01") ? "learngual-bucket" : "learngual-production", w6 = 60 * 60 * 1e3, f6 = `https://${V1}.sfo3.digitaloceanspaces.com/${V1}/media/media/translations/`, m1 = (e = X) => String(e || X).trim().toLowerCase(), L1 = (e) => String(e || "").trim().toLowerCase(), H1 = (e = "en") => m1(e).toUpperCase(), p1 = (e) => u6.includes(L1(e)), p6 = () => typeof navigator > "u" ? X : m1(navigator.language || X).slice(0, 2), g6 = (e) => {
455
455
  const n = L1(e);
456
456
  return p1(n) ? n : X;
457
- }, p6 = () => {
457
+ }, m6 = () => {
458
458
  const e = localStorage == null ? void 0 : localStorage.getItem("defaultLang");
459
459
  if (p1(e))
460
460
  return L1(e);
461
- const n = w6();
461
+ const n = p6();
462
462
  return p1(n) ? n : X;
463
463
  }, i1 = (e) => {
464
- const n = f6(e);
464
+ const n = g6(e);
465
465
  return localStorage.setItem("defaultLang", n), n;
466
- }, g6 = (e = []) => {
466
+ }, L6 = (e = []) => {
467
467
  const [n, i] = P(
468
- () => i1(p6())
468
+ () => i1(m6())
469
469
  ), [o, d] = P("en"), [l, w] = P(!1), f = W(null), g = W("en"), D = W(0);
470
470
  e1(() => {
471
471
  g.current = o;
472
472
  }, [o]);
473
- const j = L((Z) => {
473
+ const S = v((Z) => {
474
474
  const k = i1(Z);
475
475
  window.dispatchEvent(
476
476
  new CustomEvent(l1, {
@@ -492,7 +492,7 @@ const V1 = window.location.hostname.includes("staging") || window.location.hostn
492
492
  var y;
493
493
  const x = i1((y = M == null ? void 0 : M.detail) == null ? void 0 : y.language);
494
494
  i(
495
- (S) => S === x ? S : x
495
+ (j) => j === x ? j : x
496
496
  );
497
497
  };
498
498
  return window.addEventListener("storage", Z), window.addEventListener(l1, k), () => {
@@ -507,27 +507,27 @@ const V1 = window.location.hostname.includes("staging") || window.location.hostn
507
507
  return window.translationCache._inflight[M];
508
508
  const y = (async () => {
509
509
  try {
510
- const S = await fetch(
511
- `${u6}${Z == null ? void 0 : Z.toUpperCase()}/qFpINMa05DrgUgzO0PEboReejximpq2r3VL2AmFZAwIq6fTN3A.json`
510
+ const j = await fetch(
511
+ `${f6}${Z == null ? void 0 : Z.toUpperCase()}/qFpINMa05DrgUgzO0PEboReejximpq2r3VL2AmFZAwIq6fTN3A.json`
512
512
  );
513
- if (!S.ok)
514
- throw new Error(`Failed to fetch translations: ${S.status}`);
515
- const F = await S.json();
513
+ if (!j.ok)
514
+ throw new Error(`Failed to fetch translations: ${j.status}`);
515
+ const F = await j.json();
516
516
  return window.translationCache[M] = {
517
517
  data: F,
518
518
  timestamp: k,
519
- expires: k + C6
519
+ expires: k + w6
520
520
  }, F;
521
- } catch (S) {
522
- if (console.error("Failed to fetch master translations:", S), x && x.data)
521
+ } catch (j) {
522
+ if (console.error("Failed to fetch master translations:", j), x && x.data)
523
523
  return x.data;
524
- throw S;
524
+ throw j;
525
525
  } finally {
526
526
  delete window.translationCache._inflight[M];
527
527
  }
528
528
  })();
529
529
  return window.translationCache._inflight[M] = y, y;
530
- }, q = L(
530
+ }, q = v(
531
531
  (Z, k = {}) => {
532
532
  if ((o == null ? void 0 : o.toLowerCase()) === "en")
533
533
  return c1(Z, k);
@@ -563,7 +563,7 @@ const V1 = window.location.hostname.includes("staging") || window.location.hostn
563
563
  })();
564
564
  }, [n]), {
565
565
  defaultLang: n,
566
- setDefaultLang: j,
566
+ setDefaultLang: S,
567
567
  handleTranslate: $,
568
568
  translations: {},
569
569
  findText: q,
@@ -574,35 +574,35 @@ const V1 = window.location.hostname.includes("staging") || window.location.hostn
574
574
  function c1(e, n) {
575
575
  return e == null ? void 0 : e.replace(/\{(\w+)\}/g, (o, d) => n[d] !== void 0 ? n[d] : o);
576
576
  }
577
- const v7 = g6;
578
- function M7(e) {
577
+ const k7 = L6;
578
+ function V7(e) {
579
579
  return G({ tag: "svg", attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" } }] })(e);
580
580
  }
581
- function k7(e) {
581
+ function H7(e) {
582
582
  return G({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z" } }] })(e);
583
583
  }
584
- function m6(e) {
584
+ function v6(e) {
585
585
  return G({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z" } }] })(e);
586
586
  }
587
- function V7(e) {
587
+ function x7(e) {
588
588
  return G({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z" } }] })(e);
589
589
  }
590
- function H7(e) {
590
+ function A7(e) {
591
591
  return G({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm-16 328c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160zm112 0c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160z" } }] })(e);
592
592
  }
593
- function x7(e) {
593
+ function Z7(e) {
594
594
  return G({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z" } }] })(e);
595
595
  }
596
- function L6(e) {
596
+ function M6(e) {
597
597
  return G({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M202.021 0C122.202 0 70.503 32.703 29.914 91.026c-7.363 10.58-5.093 25.086 5.178 32.874l43.138 32.709c10.373 7.865 25.132 6.026 33.253-4.148 25.049-31.381 43.63-49.449 82.757-49.449 30.764 0 68.816 19.799 68.816 49.631 0 22.552-18.617 34.134-48.993 51.164-35.423 19.86-82.299 44.576-82.299 106.405V320c0 13.255 10.745 24 24 24h72.471c13.255 0 24-10.745 24-24v-5.773c0-42.86 125.268-44.645 125.268-160.627C377.504 66.256 286.902 0 202.021 0zM192 373.459c-38.196 0-69.271 31.075-69.271 69.271 0 38.195 31.075 69.27 69.271 69.27s69.271-31.075 69.271-69.271-31.075-69.27-69.271-69.27z" } }] })(e);
598
598
  }
599
- function v6(e) {
599
+ function k6(e) {
600
600
  return G({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z" } }] })(e);
601
601
  }
602
- function M6(e) {
602
+ function V6(e) {
603
603
  return G({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z" } }] })(e);
604
604
  }
605
- const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABIwSURBVHgBnVprbBzXdT53Xjv7Xi5fK5GUKOplyXb9iF8VAlhOY8PNo0iAGkHROMif1ujPIn0ZAWwlPwoY/VHABVL4VwoUddoiKNw6AdzAtdnEcWTHsmzZShyLIimJjyW5XHKXu7Oz87r9zp3d5ZISG9pDjHZ2dubOd8895zvfOSNBn3I7d+6ctvTyyzbZNDTXdCfKG7V7mkHwmUhGdwtNK5GkkqHrZOoaaURlU9dnDRmWDVN7/UA6/+bIYGZB8yzne9PTDfqUm6BPuJ0j0twv/t5kIMVDQsh7F6q1r85U1scrTccK8bukiAyhkwbQhtBICEEa0Js4tgyNbBznkwlvMJ2ez6ZSPzGMxCsiCOcvtuVvpqeng0+C5ZOAF3/x2JlhoScfwfO/IoX4XKPdHv7F3DVRbjQpkpIM3YCVJekAbhqwuhYPn8CxrvGukS5DsnRBmUSChjLpKJfKruok3pNSvBhq0euDD55dwqpG+wFk0D63px975IFI15/CdB/GPCaDKNAuLy/TarOpLMA4DSEpacauYuOTN6tzbGEClmlQ4EfUbHvk+D6tNRtYIKOUtVOPY81u06R2vnL+jRdw2/R+MP1Wy//+sWOJO05NfkkL6du4/HY8xOK7Fjc26a3565TQJeUThrJ0MZ2gXNKkTCpB2VyK7GSG0qkUWQmLJFYm8gNaWd+g5dUardWb1PJCGs4maSg7gHH4GvJIRO9rmniu6sgf/9P0tPupwHNAt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Z/JmPJsreWUEJRThm6W4u4a3MVvl5EgymCa98IoelcYwcVK1b2uj4vKwtCX3f3+X4Pd2/8BUTSehuP6JPEAAAAASUVORK5CYII=", o1 = ({ width: e, height: n, fill: i, onClick: o }) => /* @__PURE__ */ v(
605
+ const H6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABIwSURBVHgBnVprbBzXdT53Xjv7Xi5fK5GUKOplyXb9iF8VAlhOY8PNo0iAGkHROMif1ujPIn0ZAWwlPwoY/VHABVL4VwoUddoiKNw6AdzAtdnEcWTHsmzZShyLIimJjyW5XHKXu7Oz87r9zp3d5ZISG9pDjHZ2dubOd8895zvfOSNBn3I7d+6ctvTyyzbZNDTXdCfKG7V7mkHwmUhGdwtNK5GkkqHrZOoaaURlU9dnDRmWDVN7/UA6/+bIYGZB8yzne9PTDfqUm6BPuJ0j0twv/t5kIMVDQsh7F6q1r85U1scrTccK8bukiAyhkwbQhtBICEEa0Js4tgyNbBznkwlvMJ2ez6ZSPzGMxCsiCOcvtuVvpqeng0+C5ZOAF3/x2JlhoScfwfO/IoX4XKPdHv7F3DVRbjQpkpIM3YCVJekAbhqwuhYPn8CxrvGukS5DsnRBmUSChjLpKJfKruok3pNSvBhq0euDD55dwqpG+wFk0D63px975IFI15/CdB/GPCaDKNAuLy/TarOpLMA4DSEpacauYuOTN6tzbGEClmlQ4EfUbHvk+D6tNRtYIKOUtVOPY81u06R2vnL+jRdw2/R+MP1Wy//+sWOJO05NfkkL6du4/HY8xOK7Fjc26a3565TQJeUThrJ0MZ2gXNKkTCpB2VyK7GSG0qkUWQmLJFYm8gNaWd+g5dUardWb1PJCGs4maSg7gHH4GvJIRO9rmniu6sgf/9P0tPupwHNAtt55Y1yL5DMktK/hVIYv5vV0PY/Oz82TrQd0OG9R1sYOwLlsglLJJGUzKcoUMphAga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pd2/8BUTSehuP6JPEAAAAASUVORK5CYII=", o1 = ({ width: e, height: n, fill: i, onClick: o }) => /* @__PURE__ */ m(
606
606
  "svg",
607
607
  {
608
608
  onClick: o,
@@ -644,7 +644,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
644
644
  )
645
645
  ]
646
646
  }
647
- ), r1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
647
+ ), r1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
648
648
  "svg",
649
649
  {
650
650
  xmlns: "http://www.w3.org/2000/svg",
@@ -707,7 +707,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
707
707
  }
708
708
  )
709
709
  }
710
- ), V6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
710
+ ), x6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
711
711
  "svg",
712
712
  {
713
713
  width: e || "24",
@@ -763,7 +763,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
763
763
  }
764
764
  )
765
765
  }
766
- ), H6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
766
+ ), A6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
767
767
  "svg",
768
768
  {
769
769
  xmlns: "http://www.w3.org/2000/svg",
@@ -812,7 +812,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
812
812
  )
813
813
  ]
814
814
  }
815
- ), d1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
815
+ ), d1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
816
816
  "svg",
817
817
  {
818
818
  xmlns: "http://www.w3.org/2000/svg",
@@ -863,7 +863,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
863
863
  )
864
864
  ]
865
865
  }
866
- ), h1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
866
+ ), h1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
867
867
  "svg",
868
868
  {
869
869
  xmlns: "http://www.w3.org/2000/svg",
@@ -888,7 +888,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
888
888
  )
889
889
  ]
890
890
  }
891
- ), C1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
891
+ ), C1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
892
892
  "svg",
893
893
  {
894
894
  width: e || "24",
@@ -947,7 +947,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
947
947
  )
948
948
  ]
949
949
  }
950
- ), B1 = ({ width: e, height: n }) => /* @__PURE__ */ v(
950
+ ), B1 = ({ width: e, height: n }) => /* @__PURE__ */ m(
951
951
  "svg",
952
952
  {
953
953
  width: e || "24",
@@ -1006,7 +1006,83 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1006
1006
  )
1007
1007
  ]
1008
1008
  }
1009
- ), u1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
1009
+ ), I1 = ({ width: e, height: n }) => /* @__PURE__ */ m(
1010
+ "svg",
1011
+ {
1012
+ width: e || "24",
1013
+ height: n || "25",
1014
+ viewBox: "0 0 24 25",
1015
+ fill: "none",
1016
+ xmlns: "http://www.w3.org/2000/svg",
1017
+ children: [
1018
+ /* @__PURE__ */ t(
1019
+ "path",
1020
+ {
1021
+ d: "M14 3.17969H8C5.79086 3.17969 4 4.97055 4 7.17969V17.1797C4 19.3888 5.79086 21.1797 8 21.1797H16C18.2091 21.1797 20 19.3888 20 17.1797V9.17969L14 3.17969Z",
1022
+ stroke: "white",
1023
+ strokeWidth: "1.5",
1024
+ strokeLinecap: "round",
1025
+ strokeLinejoin: "round"
1026
+ }
1027
+ ),
1028
+ /* @__PURE__ */ t(
1029
+ "path",
1030
+ {
1031
+ d: "M14 3.17969V7.17969C14 8.28426 14.8954 9.17969 16 9.17969H20",
1032
+ stroke: "white",
1033
+ strokeWidth: "1.5",
1034
+ strokeLinecap: "round",
1035
+ strokeLinejoin: "round"
1036
+ }
1037
+ ),
1038
+ /* @__PURE__ */ t(
1039
+ "path",
1040
+ {
1041
+ d: "M8 14.1797L10.15 16.1797L14.5 11.6797",
1042
+ stroke: "white",
1043
+ strokeWidth: "1.5",
1044
+ strokeLinecap: "round",
1045
+ strokeLinejoin: "round"
1046
+ }
1047
+ ),
1048
+ /* @__PURE__ */ t(
1049
+ "path",
1050
+ {
1051
+ d: "M8 8.17969H10.5",
1052
+ stroke: "white",
1053
+ strokeWidth: "1.5",
1054
+ strokeLinecap: "round",
1055
+ strokeLinejoin: "round"
1056
+ }
1057
+ )
1058
+ ]
1059
+ }
1060
+ ), D1 = ({ width: e, height: n }) => /* @__PURE__ */ m(
1061
+ "svg",
1062
+ {
1063
+ width: e || "24",
1064
+ height: n || "25",
1065
+ viewBox: "0 0 24 25",
1066
+ fill: "none",
1067
+ xmlns: "http://www.w3.org/2000/svg",
1068
+ children: [
1069
+ /* @__PURE__ */ t(
1070
+ "path",
1071
+ {
1072
+ d: "M14.25 2.92969H8C5.37665 2.92969 3.25 5.05634 3.25 7.67969V16.6797C3.25 19.303 5.37665 21.4297 8 21.4297H16C18.6234 21.4297 20.75 19.303 20.75 16.6797V9.42969H16C14.4812 9.42969 13.25 8.19847 13.25 6.67969V2.92969H14.25ZM8.75 13.1597C8.45711 12.8668 7.98289 12.8668 7.69 13.1597C7.39711 13.4526 7.39711 13.9268 7.69 14.2197L9.62 16.1497C9.91289 16.4426 10.3871 16.4426 10.68 16.1497L14.81 12.0197C15.1029 11.7268 15.1029 11.2526 14.81 10.9597C14.5171 10.6668 14.0429 10.6668 13.75 10.9597L10.15 14.5597L8.75 13.1597ZM8.25 8.92969H10.75C11.1642 8.92969 11.5 8.5939 11.5 8.17969C11.5 7.76547 11.1642 7.42969 10.75 7.42969H8.25C7.83579 7.42969 7.5 7.76547 7.5 8.17969C7.5 8.5939 7.83579 8.92969 8.25 8.92969Z",
1073
+ fill: "white"
1074
+ }
1075
+ ),
1076
+ /* @__PURE__ */ t(
1077
+ "path",
1078
+ {
1079
+ d: "M14.75 3.98969V6.67969C14.75 7.37005 15.3096 7.92969 16 7.92969H19.25L14.75 3.98969Z",
1080
+ fill: "white"
1081
+ }
1082
+ )
1083
+ ]
1084
+ }
1085
+ ), u1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
1010
1086
  "svg",
1011
1087
  {
1012
1088
  xmlns: "http://www.w3.org/2000/svg",
@@ -1055,7 +1131,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1055
1131
  }
1056
1132
  )
1057
1133
  }
1058
- ), I1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
1134
+ ), b1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
1059
1135
  "svg",
1060
1136
  {
1061
1137
  xmlns: "http://www.w3.org/2000/svg",
@@ -1094,7 +1170,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1094
1170
  )
1095
1171
  ]
1096
1172
  }
1097
- ), D1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
1173
+ ), N1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
1098
1174
  "svg",
1099
1175
  {
1100
1176
  xmlns: "http://www.w3.org/2000/svg",
@@ -1119,7 +1195,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1119
1195
  )
1120
1196
  ]
1121
1197
  }
1122
- ), b1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
1198
+ ), U1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
1123
1199
  "svg",
1124
1200
  {
1125
1201
  xmlns: "http://www.w3.org/2000/svg",
@@ -1138,7 +1214,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1138
1214
  }
1139
1215
  )
1140
1216
  }
1141
- ), N1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
1217
+ ), T1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
1142
1218
  "svg",
1143
1219
  {
1144
1220
  xmlns: "http://www.w3.org/2000/svg",
@@ -1156,7 +1232,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1156
1232
  }
1157
1233
  )
1158
1234
  }
1159
- ), x6 = ({ width: e, height: n, fill: i, onClick: o }) => /* @__PURE__ */ t(
1235
+ ), Z6 = ({ width: e, height: n, fill: i, onClick: o }) => /* @__PURE__ */ t(
1160
1236
  "svg",
1161
1237
  {
1162
1238
  xmlns: "http://www.w3.org/2000/svg",
@@ -1174,7 +1250,7 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1174
1250
  }
1175
1251
  )
1176
1252
  }
1177
- ), A6 = ({ width: e, height: n, fill: i, onClick: o }) => /* @__PURE__ */ t(
1253
+ ), y6 = ({ width: e, height: n, fill: i, onClick: o }) => /* @__PURE__ */ t(
1178
1254
  "div",
1179
1255
  {
1180
1256
  style: {
@@ -1206,90 +1282,90 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1206
1282
  }
1207
1283
  )
1208
1284
  }
1209
- ), A7 = {
1285
+ ), y7 = {
1210
1286
  name: "John Doe",
1211
1287
  handle: "@johndoe",
1212
- avatar: k6
1213
- }, Z7 = [
1288
+ avatar: H6
1289
+ }, B7 = [
1214
1290
  {
1215
1291
  path: "https://www.learngual.com/developer",
1216
1292
  label: "Learning",
1217
- icon: /* @__PURE__ */ t(P1, {})
1293
+ icon: /* @__PURE__ */ t(E1, {})
1218
1294
  },
1219
1295
  {
1220
1296
  path: "https://comingsoon.learngual.com/community",
1221
1297
  label: "Community",
1222
- icon: /* @__PURE__ */ t(F1, {})
1298
+ icon: /* @__PURE__ */ t(z1, {})
1223
1299
  },
1224
1300
  {
1225
1301
  path: "https://comingsoon.learngual.com/fun",
1226
1302
  label: "Fun",
1227
- icon: /* @__PURE__ */ t(G1, {})
1303
+ icon: /* @__PURE__ */ t(J1, {})
1228
1304
  },
1229
1305
  {
1230
1306
  path: "https://comingsoon.learngual.com/explore",
1231
1307
  label: "Explore",
1232
- icon: /* @__PURE__ */ t(E1, {})
1308
+ icon: /* @__PURE__ */ t(O1, {})
1233
1309
  },
1234
1310
  {
1235
1311
  path: "https://comingsoon.learngual.com/connect",
1236
1312
  label: "Connect",
1237
- icon: /* @__PURE__ */ t(z1, {})
1313
+ icon: /* @__PURE__ */ t(G1, {})
1238
1314
  },
1239
1315
  {
1240
1316
  path: "https://comingsoon.learngual.com/dictionary",
1241
1317
  label: "Dictionary",
1242
- icon: /* @__PURE__ */ t(O1, {})
1318
+ icon: /* @__PURE__ */ t(W1, {})
1243
1319
  },
1244
1320
  {
1245
1321
  path: window.location.hostname.includes("ca") ? "https://demo.learngual.ca/type-select" : "https://demo.learngual.com/type-select",
1246
1322
  label: "Demo",
1247
- icon: /* @__PURE__ */ t(W1, {})
1323
+ icon: /* @__PURE__ */ t(q1, {})
1248
1324
  }
1249
- ], y7 = (e) => [
1325
+ ], I7 = (e) => [
1250
1326
  {
1251
1327
  path: `${window.location.hostname.includes("localhost") || window.location.hostname.includes("staging") ? `https://559staging.learngual.${window.location.hostname.includes(".ca") ? "ca" : "com"}/${e}` : `https://www.learngual.${window.location.hostname.includes(".ca") ? "ca" : "com"}/${e}`}`,
1252
1328
  label: "Learning",
1253
- icon: /* @__PURE__ */ t(P1, {})
1329
+ icon: /* @__PURE__ */ t(E1, {})
1254
1330
  },
1255
1331
  {
1256
1332
  path: "https://comingsoon.learngual.com/community",
1257
1333
  label: "Community",
1258
- icon: /* @__PURE__ */ t(F1, {})
1334
+ icon: /* @__PURE__ */ t(z1, {})
1259
1335
  },
1260
1336
  {
1261
1337
  path: "https://comingsoon.learngual.com/fun",
1262
1338
  label: "Fun",
1263
- icon: /* @__PURE__ */ t(G1, {})
1339
+ icon: /* @__PURE__ */ t(J1, {})
1264
1340
  },
1265
1341
  {
1266
1342
  path: "https://comingsoon.learngual.com/explore",
1267
1343
  label: "Explore",
1268
- icon: /* @__PURE__ */ t(E1, {})
1344
+ icon: /* @__PURE__ */ t(O1, {})
1269
1345
  },
1270
1346
  {
1271
1347
  path: "https://comingsoon.learngual.com/connect",
1272
1348
  label: "Connect",
1273
- icon: /* @__PURE__ */ t(z1, {})
1349
+ icon: /* @__PURE__ */ t(G1, {})
1274
1350
  },
1275
1351
  {
1276
1352
  path: "https://comingsoon.learngual.com/dictionary",
1277
1353
  label: "Dictionary",
1278
- icon: /* @__PURE__ */ t(O1, {})
1354
+ icon: /* @__PURE__ */ t(W1, {})
1279
1355
  },
1280
1356
  {
1281
1357
  path: `${window.location.hostname.includes("staging") ? `https://demo-test-01.learngual${window.location.hostname.includes("ca") ? ".ca/type-select" : ".com/type-select"}` : `https://demo.learngual${window.location.hostname.includes("ca") ? ".ca/type-select" : ".com/type-select"}`}`,
1282
1358
  label: "Demo",
1283
- icon: /* @__PURE__ */ t(W1, {})
1359
+ icon: /* @__PURE__ */ t(q1, {})
1284
1360
  }
1285
- ], B7 = [
1361
+ ], D7 = [
1286
1362
  {
1287
1363
  userType: "developer",
1288
1364
  routes: [
1289
1365
  {
1290
1366
  path: "/developer",
1291
- icon: /* @__PURE__ */ t(x6, {}),
1292
- iconActive: /* @__PURE__ */ t(A6, {}),
1367
+ icon: /* @__PURE__ */ t(Z6, {}),
1368
+ iconActive: /* @__PURE__ */ t(y6, {}),
1293
1369
  text: "API"
1294
1370
  // notifications: 2,
1295
1371
  },
@@ -1331,16 +1407,16 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1331
1407
  iconActive: /* @__PURE__ */ t(r1, {}),
1332
1408
  text: "Reports"
1333
1409
  },
1334
- // {
1335
- // path: "/enterprise/assessment",
1336
- // icon: <AssessmentIcon />,
1337
- // iconActive: <AssessmentIconActive />,
1338
- // text: "Assessment",
1339
- // },
1410
+ {
1411
+ path: "/enterprise/assessment",
1412
+ icon: /* @__PURE__ */ t(I1, {}),
1413
+ iconActive: /* @__PURE__ */ t(D1, {}),
1414
+ text: "Assessment"
1415
+ },
1340
1416
  {
1341
1417
  path: "/enterprise/manage-teams",
1342
- icon: /* @__PURE__ */ t(V6, {}),
1343
- iconActive: /* @__PURE__ */ t(H6, {}),
1418
+ icon: /* @__PURE__ */ t(x6, {}),
1419
+ iconActive: /* @__PURE__ */ t(A6, {}),
1344
1420
  text: "Manage teams"
1345
1421
  },
1346
1422
  {
@@ -1358,14 +1434,14 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1358
1434
  },
1359
1435
  {
1360
1436
  path: "/enterprise/announcements",
1361
- icon: /* @__PURE__ */ t(I1, {}),
1362
- iconActive: /* @__PURE__ */ t(D1, {}),
1437
+ icon: /* @__PURE__ */ t(b1, {}),
1438
+ iconActive: /* @__PURE__ */ t(N1, {}),
1363
1439
  text: "Announcements"
1364
1440
  },
1365
1441
  {
1366
1442
  path: "/enterprise/file-manager",
1367
- icon: /* @__PURE__ */ t(b1, {}),
1368
- iconActive: /* @__PURE__ */ t(N1, {}),
1443
+ icon: /* @__PURE__ */ t(U1, {}),
1444
+ iconActive: /* @__PURE__ */ t(T1, {}),
1369
1445
  text: "File manager"
1370
1446
  }
1371
1447
  ]
@@ -1392,12 +1468,12 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1392
1468
  text: "Reports"
1393
1469
  // disabled: true,
1394
1470
  },
1395
- // {
1396
- // path: "/instructor/assessment",
1397
- // icon: <AssessmentIcon />,
1398
- // iconActive: <AssessmentIconActive />,
1399
- // text: "Assessment",
1400
- // },
1471
+ {
1472
+ path: "/instructor/assessment",
1473
+ icon: /* @__PURE__ */ t(I1, {}),
1474
+ iconActive: /* @__PURE__ */ t(D1, {}),
1475
+ text: "Manage assessment"
1476
+ },
1401
1477
  // {
1402
1478
  // path: "/instructor/manage-students",
1403
1479
  // icon: <ManageStudentsIcon />,
@@ -1419,8 +1495,8 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1419
1495
  },
1420
1496
  {
1421
1497
  path: "/instructor/announcements",
1422
- icon: /* @__PURE__ */ t(I1, {}),
1423
- iconActive: /* @__PURE__ */ t(D1, {}),
1498
+ icon: /* @__PURE__ */ t(b1, {}),
1499
+ iconActive: /* @__PURE__ */ t(N1, {}),
1424
1500
  text: "Announcements"
1425
1501
  },
1426
1502
  {
@@ -1432,8 +1508,8 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1432
1508
  },
1433
1509
  {
1434
1510
  path: "/instructor/file-manager",
1435
- icon: /* @__PURE__ */ t(b1, {}),
1436
- iconActive: /* @__PURE__ */ t(N1, {}),
1511
+ icon: /* @__PURE__ */ t(U1, {}),
1512
+ iconActive: /* @__PURE__ */ t(T1, {}),
1437
1513
  text: "File manager"
1438
1514
  }
1439
1515
  ]
@@ -1498,13 +1574,13 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1498
1574
  text: "Dashboard",
1499
1575
  notifications: 1
1500
1576
  },
1501
- { path: "/courses", icon: /* @__PURE__ */ t(m6, {}), text: "Courses" },
1502
- { path: "/teams", icon: /* @__PURE__ */ t(M6, {}), text: "My teams" },
1503
- { path: "/profile", icon: /* @__PURE__ */ t(v6, {}), text: "Profile" },
1504
- { path: "/help", icon: /* @__PURE__ */ t(L6, {}), text: "Help" }
1577
+ { path: "/courses", icon: /* @__PURE__ */ t(v6, {}), text: "Courses" },
1578
+ { path: "/teams", icon: /* @__PURE__ */ t(V6, {}), text: "My teams" },
1579
+ { path: "/profile", icon: /* @__PURE__ */ t(k6, {}), text: "Profile" },
1580
+ { path: "/help", icon: /* @__PURE__ */ t(M6, {}), text: "Help" }
1505
1581
  ]
1506
1582
  }
1507
- ], U1 = (e = "") => {
1583
+ ], j1 = (e = "") => {
1508
1584
  const i = document.cookie.split(";").find((o) => {
1509
1585
  if (o = o.trim(), o.startsWith(e.trim() + "="))
1510
1586
  return !0;
@@ -1513,11 +1589,11 @@ const k6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAvCAYAAABzJ5OsAA
1513
1589
  };
1514
1590
  function f1(e, n = 500) {
1515
1591
  const [i, o] = P(
1516
- () => U1(e)
1592
+ () => j1(e)
1517
1593
  );
1518
1594
  return e1(() => {
1519
1595
  const d = setInterval(() => {
1520
- const l = U1(e);
1596
+ const l = j1(e);
1521
1597
  l !== i && (console.log(
1522
1598
  `Cookie '${e}' changed from '${i}' to '${l}'`
1523
1599
  ), o(l));
@@ -1525,21 +1601,21 @@ function f1(e, n = 500) {
1525
1601
  return () => clearInterval(d);
1526
1602
  }, [e, n, i]), i;
1527
1603
  }
1528
- const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1604
+ const B6 = 5 * 1024 * 1024, g1 = (e) => {
1529
1605
  if (!e)
1530
1606
  return "";
1531
1607
  const n = String(e).toLowerCase();
1532
1608
  return n.startsWith("instructor") ? "instructor" : n === "enterprise" ? "enterprise" : n === "personal" || n === "student" ? "personal" : n;
1533
- }, y6 = (e, n) => {
1609
+ }, I6 = (e, n) => {
1534
1610
  const i = g1(e);
1535
1611
  return i === "instructor" ? n ? `/instructor/${n}/files/` : "/instructor/files/" : i === "enterprise" ? "/enterprise/files/" : "/files/";
1536
- }, B6 = (e = "") => e.startsWith("/") ? e.slice(1) : e, T = (e = {}, n) => n ? {
1612
+ }, D6 = (e = "") => e.startsWith("/") ? e.slice(1) : e, T = (e = {}, n) => n ? {
1537
1613
  ...e,
1538
1614
  params: {
1539
1615
  _account: n,
1540
1616
  ...e.params || {}
1541
1617
  }
1542
- } : e, J1 = async ({
1618
+ } : e, K1 = async ({
1543
1619
  url: e,
1544
1620
  file: n,
1545
1621
  headers: i = {},
@@ -1556,7 +1632,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1556
1632
  throw new Error(`Upload failed with status ${d.status}.`);
1557
1633
  const l = d.headers.get("etag") || d.headers.get("ETag");
1558
1634
  return { response: d, etag: l };
1559
- }, I6 = ({ file: e, uploadUrls: n, partSize: i }) => {
1635
+ }, b6 = ({ file: e, uploadUrls: n, partSize: i }) => {
1560
1636
  if (!e || !Array.isArray(n))
1561
1637
  return [];
1562
1638
  if (!i)
@@ -1572,16 +1648,16 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1572
1648
  body: e.slice(w, f)
1573
1649
  };
1574
1650
  });
1575
- }, D6 = async ({
1651
+ }, N6 = async ({
1576
1652
  file: e,
1577
1653
  uploadUrls: n,
1578
- partSize: i = Z6,
1654
+ partSize: i = B6,
1579
1655
  headers: o = {},
1580
1656
  parts: d
1581
1657
  }) => {
1582
- const l = d || I6({ file: e, uploadUrls: n, partSize: i }), w = [];
1658
+ const l = d || b6({ file: e, uploadUrls: n, partSize: i }), w = [];
1583
1659
  for (const f of l) {
1584
- const { etag: g } = await J1({
1660
+ const { etag: g } = await K1({
1585
1661
  url: f.url,
1586
1662
  file: f.body,
1587
1663
  headers: o,
@@ -1595,8 +1671,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1595
1671
  });
1596
1672
  }
1597
1673
  return w;
1598
- }, b6 = (e = {}) => {
1599
- const n = f1("defaultAccountType"), i = f1("defaultAccountID"), o = f1("affiliateAccount"), d = t6(
1674
+ }, U6 = (e = {}) => {
1675
+ const n = f1("defaultAccountType"), i = f1("defaultAccountID"), o = f1("affiliateAccount"), d = n6(
1600
1676
  () => ({
1601
1677
  accountType: g1(
1602
1678
  e.accountType || n
@@ -1613,7 +1689,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1613
1689
  i,
1614
1690
  o
1615
1691
  ]
1616
- ), l = L(
1692
+ ), l = v(
1617
1693
  (c = {}) => ({
1618
1694
  accountType: g1(
1619
1695
  c.accountType || d.accountType
@@ -1622,34 +1698,34 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1622
1698
  enterpriseAccountId: c.enterpriseAccountId || c.affiliateAccountId || d.enterpriseAccountId
1623
1699
  }),
1624
1700
  [d]
1625
- ), w = L(
1701
+ ), w = v(
1626
1702
  (c) => {
1627
1703
  const C = l(c);
1628
- return `/media/v2${y6(
1704
+ return `/media/v2${I6(
1629
1705
  C.accountType,
1630
1706
  C.enterpriseAccountId
1631
1707
  )}`;
1632
1708
  },
1633
1709
  [l]
1634
- ), f = L(
1710
+ ), f = v(
1635
1711
  (c, C) => `${w(C)}${c}/`,
1636
1712
  [w]
1637
- ), g = L(
1713
+ ), g = v(
1638
1714
  (c, C) => `${w(C)}${c}/stream/`,
1639
1715
  [w]
1640
- ), D = L(
1641
- (c, C, h) => `${w(h)}${c}/stream/${B6(C)}`,
1716
+ ), D = v(
1717
+ (c, C, h) => `${w(h)}${c}/stream/${D6(C)}`,
1642
1718
  [w]
1643
- ), j = L(
1719
+ ), S = v(
1644
1720
  (c, C) => `${w(C)}${c}/download/`,
1645
1721
  [w]
1646
- ), _ = L(
1722
+ ), _ = v(
1647
1723
  async (c, { context: C, config: h } = {}) => {
1648
1724
  const u = l(C), p = w(u);
1649
1725
  return B.post(p, c, T(h, u.accountId));
1650
1726
  },
1651
1727
  [w, l]
1652
- ), q = L(
1728
+ ), q = v(
1653
1729
  async ({ params: c, context: C, config: h } = {}) => {
1654
1730
  const u = l(C), p = w(u), V = {
1655
1731
  ...h || {},
@@ -1661,7 +1737,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1661
1737
  return B.get(p, T(V, u.accountId));
1662
1738
  },
1663
1739
  [w, l]
1664
- ), $ = L(
1740
+ ), $ = v(
1665
1741
  async (c, { context: C, config: h } = {}) => {
1666
1742
  const u = l(C);
1667
1743
  return B.get(
@@ -1670,7 +1746,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1670
1746
  );
1671
1747
  },
1672
1748
  [f, l]
1673
- ), Z = L(
1749
+ ), Z = v(
1674
1750
  async (c, C, { context: h, config: u } = {}) => {
1675
1751
  const p = l(h);
1676
1752
  return B.patch(
@@ -1680,7 +1756,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1680
1756
  );
1681
1757
  },
1682
1758
  [f, l]
1683
- ), k = L(
1759
+ ), k = v(
1684
1760
  async (c, { context: C, config: h } = {}) => {
1685
1761
  const u = l(C);
1686
1762
  return B.delete(
@@ -1689,19 +1765,19 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1689
1765
  );
1690
1766
  },
1691
1767
  [f, l]
1692
- ), M = L(
1768
+ ), M = v(
1693
1769
  async (c, C, { context: h, config: u } = {}) => {
1694
1770
  const p = l(h), V = `${f(c, p)}presign_upload_urls/`;
1695
1771
  return B.post(V, C, T(u, p.accountId));
1696
1772
  },
1697
1773
  [f, l]
1698
- ), x = L(
1774
+ ), x = v(
1699
1775
  async (c, C, { context: h, config: u } = {}) => {
1700
1776
  const p = l(h), V = `${f(c, p)}confirm_upload/`;
1701
1777
  return B.post(V, C, T(u, p.accountId));
1702
1778
  },
1703
1779
  [f, l]
1704
- ), y = L(
1780
+ ), y = v(
1705
1781
  async (c, { context: C, config: h } = {}) => {
1706
1782
  const u = l(C);
1707
1783
  return B.get(
@@ -1710,16 +1786,16 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1710
1786
  );
1711
1787
  },
1712
1788
  [g, l]
1713
- ), S = L(
1789
+ ), j = v(
1714
1790
  async (c, { context: C, config: h } = {}) => {
1715
1791
  const u = l(C);
1716
1792
  return B.get(
1717
- j(c, u),
1793
+ S(c, u),
1718
1794
  T(h, u.accountId)
1719
1795
  );
1720
1796
  },
1721
- [j, l]
1722
- ), F = L(
1797
+ [S, l]
1798
+ ), F = v(
1723
1799
  async (c, C, { context: h, config: u } = {}) => {
1724
1800
  const p = l(h);
1725
1801
  return B.get(
@@ -1728,7 +1804,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1728
1804
  );
1729
1805
  },
1730
1806
  [D, l]
1731
- ), I = L(
1807
+ ), I = v(
1732
1808
  async (c, { context: C, preferHls: h } = {}) => {
1733
1809
  if (!c)
1734
1810
  return null;
@@ -1778,11 +1854,11 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1778
1854
  return H && console.error("Failed to resolve presigned URL:", H), null;
1779
1855
  },
1780
1856
  [g, l]
1781
- ), Y = L(
1857
+ ), Y = v(
1782
1858
  async (c, { context: C } = {}) => {
1783
1859
  if (!c)
1784
1860
  return null;
1785
- const h = l(C), u = j(c, h), p = {
1861
+ const h = l(C), u = S(c, h), p = {
1786
1862
  ...T({}, h.accountId),
1787
1863
  maxRedirects: 5
1788
1864
  };
@@ -1819,20 +1895,20 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1819
1895
  }
1820
1896
  return V && console.error("Failed to resolve download URL:", V), null;
1821
1897
  },
1822
- [j, l]
1823
- ), E = L(
1898
+ [S, l]
1899
+ ), E = v(
1824
1900
  (c, C) => {
1825
1901
  const h = l(C), u = g(c, h);
1826
1902
  return `${B.defaults.baseURL || ""}${u}`;
1827
1903
  },
1828
1904
  [g, l]
1829
- ), N = L(
1905
+ ), N = v(
1830
1906
  (c, C) => {
1831
- const h = l(C), u = j(c, h);
1907
+ const h = l(C), u = S(c, h);
1832
1908
  return `${B.defaults.baseURL || ""}${u}`;
1833
1909
  },
1834
- [j, l]
1835
- ), z = L(
1910
+ [S, l]
1911
+ ), z = v(
1836
1912
  async ({ category: c, context: C, config: h } = {}) => {
1837
1913
  const u = l(C), p = `${w(u)}download-all-deletable-files/`, V = {
1838
1914
  ...h || {},
@@ -1844,7 +1920,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1844
1920
  return B.get(p, T(V, u.accountId));
1845
1921
  },
1846
1922
  [w, l]
1847
- ), m = L(
1923
+ ), L = v(
1848
1924
  async (c, { context: C, config: h } = {}) => {
1849
1925
  if (!c || !Array.isArray(c) || c.length === 0)
1850
1926
  throw new Error("downloadFiles requires a non-empty array of file IDs.");
@@ -1852,15 +1928,15 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1852
1928
  return B.post(p, { ids: c }, T(h, u.accountId));
1853
1929
  },
1854
1930
  [w, l]
1855
- ), A = L((c, C) => {
1931
+ ), A = v((c, C) => {
1856
1932
  const h = document.createElement("a");
1857
1933
  h.href = c, C && (h.download = C), h.target = "_blank", document.body.appendChild(h), h.click(), document.body.removeChild(h);
1858
- }, []), t1 = L(
1934
+ }, []), t1 = v(
1859
1935
  async (c, { filenames: C = {}, context: h, config: u } = {}) => {
1860
1936
  var V;
1861
1937
  const p = { success: [], failed: [] };
1862
1938
  try {
1863
- const H = await m(c, { context: h, config: u }), s = ((V = H == null ? void 0 : H.data) == null ? void 0 : V.results) || [];
1939
+ const H = await L(c, { context: h, config: u }), s = ((V = H == null ? void 0 : H.data) == null ? void 0 : V.results) || [];
1864
1940
  for (const a of s)
1865
1941
  try {
1866
1942
  A(a.url, C[a.id]), p.success.push(a.id);
@@ -1875,8 +1951,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1875
1951
  }
1876
1952
  return p;
1877
1953
  },
1878
- [m, A]
1879
- ), n1 = L(
1954
+ [L, A]
1955
+ ), n1 = v(
1880
1956
  async ({ category: c, filenames: C = {}, context: h, config: u } = {}) => {
1881
1957
  var V;
1882
1958
  const p = { success: [], failed: [] };
@@ -1903,7 +1979,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1903
1979
  buildFileUrl: f,
1904
1980
  buildStreamUrl: g,
1905
1981
  buildStreamPathUrl: D,
1906
- buildDownloadUrl: j,
1982
+ buildDownloadUrl: S,
1907
1983
  buildStreamUrlWithAccount: E,
1908
1984
  buildDownloadUrlWithAccount: N,
1909
1985
  // CRUD operations
@@ -1915,22 +1991,22 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1915
1991
  // Upload operations
1916
1992
  presignUploadUrls: M,
1917
1993
  confirmUpload: x,
1918
- uploadToPresignedUrl: J1,
1919
- uploadMultipartParts: D6,
1994
+ uploadToPresignedUrl: K1,
1995
+ uploadMultipartParts: N6,
1920
1996
  // Playback/download
1921
1997
  requestStream: y,
1922
1998
  requestStreamPath: F,
1923
- requestDownload: S,
1999
+ requestDownload: j,
1924
2000
  resolvePresignedUrl: I,
1925
2001
  resolveDownloadUrl: Y,
1926
2002
  // V2 Bulk download operations
1927
2003
  downloadAllDeletableFiles: z,
1928
- downloadFiles: m,
2004
+ downloadFiles: L,
1929
2005
  bulkDownloadFiles: t1,
1930
2006
  bulkDownloadDeletableFiles: n1,
1931
2007
  triggerBrowserDownload: A
1932
2008
  };
1933
- }, I7 = b6, v1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
2009
+ }, b7 = U6, v1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
1934
2010
  "svg",
1935
2011
  {
1936
2012
  xmlns: "http://www.w3.org/2000/svg",
@@ -1981,7 +2057,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
1981
2057
  )
1982
2058
  ]
1983
2059
  }
1984
- ), M1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
2060
+ ), M1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
1985
2061
  "svg",
1986
2062
  {
1987
2063
  xmlns: "http://www.w3.org/2000/svg",
@@ -2032,7 +2108,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2032
2108
  )
2033
2109
  ]
2034
2110
  }
2035
- ), N6 = () => /* @__PURE__ */ t(
2111
+ ), T6 = () => /* @__PURE__ */ t(
2036
2112
  "svg",
2037
2113
  {
2038
2114
  width: "24",
@@ -2048,7 +2124,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2048
2124
  }
2049
2125
  )
2050
2126
  }
2051
- ), U6 = () => /* @__PURE__ */ t(
2127
+ ), j6 = () => /* @__PURE__ */ t(
2052
2128
  "svg",
2053
2129
  {
2054
2130
  width: "24",
@@ -2064,7 +2140,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2064
2140
  }
2065
2141
  )
2066
2142
  }
2067
- ), T6 = () => /* @__PURE__ */ v(
2143
+ ), S6 = () => /* @__PURE__ */ m(
2068
2144
  "svg",
2069
2145
  {
2070
2146
  width: "24",
@@ -2091,7 +2167,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2091
2167
  ) }) })
2092
2168
  ]
2093
2169
  }
2094
- ), S6 = () => /* @__PURE__ */ v(
2170
+ ), R6 = () => /* @__PURE__ */ m(
2095
2171
  "svg",
2096
2172
  {
2097
2173
  width: "24",
@@ -2118,7 +2194,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2118
2194
  ) }) })
2119
2195
  ]
2120
2196
  }
2121
- ), j6 = () => /* @__PURE__ */ v(
2197
+ ), P6 = () => /* @__PURE__ */ m(
2122
2198
  "svg",
2123
2199
  {
2124
2200
  width: "24",
@@ -2145,7 +2221,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2145
2221
  ) }) })
2146
2222
  ]
2147
2223
  }
2148
- ), R6 = () => /* @__PURE__ */ v(
2224
+ ), F6 = () => /* @__PURE__ */ m(
2149
2225
  "svg",
2150
2226
  {
2151
2227
  width: "24",
@@ -2172,7 +2248,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2172
2248
  ) }) })
2173
2249
  ]
2174
2250
  }
2175
- ), P6 = () => /* @__PURE__ */ v(
2251
+ ), E6 = () => /* @__PURE__ */ m(
2176
2252
  "svg",
2177
2253
  {
2178
2254
  width: "24",
@@ -2199,7 +2275,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2199
2275
  ) }) })
2200
2276
  ]
2201
2277
  }
2202
- ), F6 = () => /* @__PURE__ */ v(
2278
+ ), z6 = () => /* @__PURE__ */ m(
2203
2279
  "svg",
2204
2280
  {
2205
2281
  width: "24",
@@ -2226,7 +2302,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2226
2302
  ) }) })
2227
2303
  ]
2228
2304
  }
2229
- ), E6 = () => /* @__PURE__ */ t(
2305
+ ), O6 = () => /* @__PURE__ */ t(
2230
2306
  "svg",
2231
2307
  {
2232
2308
  width: "24",
@@ -2245,7 +2321,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2245
2321
  }
2246
2322
  )
2247
2323
  }
2248
- ), z6 = () => /* @__PURE__ */ t(
2324
+ ), G6 = () => /* @__PURE__ */ t(
2249
2325
  "svg",
2250
2326
  {
2251
2327
  width: "24",
@@ -2264,7 +2340,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2264
2340
  }
2265
2341
  )
2266
2342
  }
2267
- ), O6 = () => /* @__PURE__ */ t(
2343
+ ), W6 = () => /* @__PURE__ */ t(
2268
2344
  "svg",
2269
2345
  {
2270
2346
  width: "24",
@@ -2283,7 +2359,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2283
2359
  }
2284
2360
  )
2285
2361
  }
2286
- ), G6 = () => /* @__PURE__ */ t(
2362
+ ), J6 = () => /* @__PURE__ */ t(
2287
2363
  "svg",
2288
2364
  {
2289
2365
  width: "24",
@@ -2302,7 +2378,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2302
2378
  }
2303
2379
  )
2304
2380
  }
2305
- ), q1 = () => /* @__PURE__ */ t(
2381
+ ), Y1 = () => /* @__PURE__ */ t(
2306
2382
  "svg",
2307
2383
  {
2308
2384
  width: "24",
@@ -2318,7 +2394,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2318
2394
  }
2319
2395
  )
2320
2396
  }
2321
- ), K1 = () => /* @__PURE__ */ t(
2397
+ ), Q1 = () => /* @__PURE__ */ t(
2322
2398
  "svg",
2323
2399
  {
2324
2400
  width: "24",
@@ -2334,7 +2410,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2334
2410
  }
2335
2411
  )
2336
2412
  }
2337
- ), W6 = () => /* @__PURE__ */ v(
2413
+ ), q6 = () => /* @__PURE__ */ m(
2338
2414
  "svg",
2339
2415
  {
2340
2416
  width: "20",
@@ -2370,7 +2446,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2370
2446
  )
2371
2447
  ]
2372
2448
  }
2373
- ), J6 = () => /* @__PURE__ */ v(
2449
+ ), K6 = () => /* @__PURE__ */ m(
2374
2450
  "svg",
2375
2451
  {
2376
2452
  width: "20",
@@ -2406,7 +2482,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2406
2482
  )
2407
2483
  ]
2408
2484
  }
2409
- ), Y1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
2485
+ ), X1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
2410
2486
  "svg",
2411
2487
  {
2412
2488
  xmlns: "http://www.w3.org/2000/svg",
@@ -2447,7 +2523,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2447
2523
  )
2448
2524
  ]
2449
2525
  }
2450
- ), Q1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
2526
+ ), _1 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
2451
2527
  "svg",
2452
2528
  {
2453
2529
  xmlns: "http://www.w3.org/2000/svg",
@@ -2488,7 +2564,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2488
2564
  )
2489
2565
  ]
2490
2566
  }
2491
- ), q6 = () => /* @__PURE__ */ t(
2567
+ ), Y6 = () => /* @__PURE__ */ t(
2492
2568
  "svg",
2493
2569
  {
2494
2570
  width: "16",
@@ -2504,7 +2580,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2504
2580
  }
2505
2581
  )
2506
2582
  }
2507
- ), K6 = () => /* @__PURE__ */ t(
2583
+ ), Q6 = () => /* @__PURE__ */ t(
2508
2584
  "svg",
2509
2585
  {
2510
2586
  width: "16",
@@ -2520,7 +2596,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2520
2596
  }
2521
2597
  )
2522
2598
  }
2523
- ), Y6 = () => /* @__PURE__ */ v(
2599
+ ), X6 = () => /* @__PURE__ */ m(
2524
2600
  "svg",
2525
2601
  {
2526
2602
  width: "24",
@@ -2547,7 +2623,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2547
2623
  ) }) })
2548
2624
  ]
2549
2625
  }
2550
- ), Q6 = () => /* @__PURE__ */ v(
2626
+ ), _6 = () => /* @__PURE__ */ m(
2551
2627
  "svg",
2552
2628
  {
2553
2629
  width: "24",
@@ -2574,7 +2650,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2574
2650
  ) }) })
2575
2651
  ]
2576
2652
  }
2577
- ), T1 = () => /* @__PURE__ */ t(
2653
+ ), S1 = () => /* @__PURE__ */ t(
2578
2654
  "svg",
2579
2655
  {
2580
2656
  width: "24",
@@ -2593,7 +2669,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2593
2669
  }
2594
2670
  )
2595
2671
  }
2596
- ), S1 = () => /* @__PURE__ */ t(
2672
+ ), R1 = () => /* @__PURE__ */ t(
2597
2673
  "svg",
2598
2674
  {
2599
2675
  width: "24",
@@ -2612,7 +2688,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2612
2688
  }
2613
2689
  )
2614
2690
  }
2615
- ), X6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
2691
+ ), $6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
2616
2692
  "svg",
2617
2693
  {
2618
2694
  xmlns: "http://www.w3.org/2000/svg",
@@ -2659,7 +2735,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2659
2735
  )
2660
2736
  ]
2661
2737
  }
2662
- ), _6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
2738
+ ), t7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
2663
2739
  "svg",
2664
2740
  {
2665
2741
  xmlns: "http://www.w3.org/2000/svg",
@@ -2706,7 +2782,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2706
2782
  )
2707
2783
  ]
2708
2784
  }
2709
- ), $6 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2785
+ ), e7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2710
2786
  "svg",
2711
2787
  {
2712
2788
  xmlns: "http://www.w3.org/2000/svg",
@@ -2725,7 +2801,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2725
2801
  }
2726
2802
  )
2727
2803
  }
2728
- ), t7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2804
+ ), n7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2729
2805
  "svg",
2730
2806
  {
2731
2807
  xmlns: "http://www.w3.org/2000/svg",
@@ -2744,7 +2820,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2744
2820
  }
2745
2821
  )
2746
2822
  }
2747
- ), e7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2823
+ ), i7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2748
2824
  "svg",
2749
2825
  {
2750
2826
  xmlns: "http://www.w3.org/2000/svg",
@@ -2760,7 +2836,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2760
2836
  }
2761
2837
  )
2762
2838
  }
2763
- ), n7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2839
+ ), o7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2764
2840
  "svg",
2765
2841
  {
2766
2842
  xmlns: "http://www.w3.org/2000/svg",
@@ -2776,7 +2852,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2776
2852
  }
2777
2853
  )
2778
2854
  }
2779
- ), i7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
2855
+ ), r7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
2780
2856
  "svg",
2781
2857
  {
2782
2858
  xmlns: "http://www.w3.org/2000/svg",
@@ -2829,7 +2905,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2829
2905
  )
2830
2906
  ]
2831
2907
  }
2832
- ), o7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ v(
2908
+ ), s7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ m(
2833
2909
  "svg",
2834
2910
  {
2835
2911
  xmlns: "http://www.w3.org/2000/svg",
@@ -2882,7 +2958,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2882
2958
  )
2883
2959
  ]
2884
2960
  }
2885
- ), r7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2961
+ ), a7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2886
2962
  "svg",
2887
2963
  {
2888
2964
  xmlns: "http://www.w3.org/2000/svg",
@@ -2898,7 +2974,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2898
2974
  }
2899
2975
  )
2900
2976
  }
2901
- ), s7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2977
+ ), l7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2902
2978
  "svg",
2903
2979
  {
2904
2980
  xmlns: "http://www.w3.org/2000/svg",
@@ -2914,7 +2990,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2914
2990
  }
2915
2991
  )
2916
2992
  }
2917
- ), a7 = () => /* @__PURE__ */ v(
2993
+ ), c7 = () => /* @__PURE__ */ m(
2918
2994
  "svg",
2919
2995
  {
2920
2996
  width: "24",
@@ -2939,7 +3015,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2939
3015
  )
2940
3016
  ]
2941
3017
  }
2942
- ), l7 = () => /* @__PURE__ */ v(
3018
+ ), d7 = () => /* @__PURE__ */ m(
2943
3019
  "svg",
2944
3020
  {
2945
3021
  width: "24",
@@ -2964,7 +3040,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2964
3040
  )
2965
3041
  ]
2966
3042
  }
2967
- ), c7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
3043
+ ), h7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2968
3044
  "svg",
2969
3045
  {
2970
3046
  xmlns: "http://www.w3.org/2000/svg",
@@ -2980,7 +3056,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2980
3056
  }
2981
3057
  )
2982
3058
  }
2983
- ), d7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
3059
+ ), C7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
2984
3060
  "svg",
2985
3061
  {
2986
3062
  xmlns: "http://www.w3.org/2000/svg",
@@ -2996,7 +3072,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
2996
3072
  }
2997
3073
  )
2998
3074
  }
2999
- ), h7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
3075
+ ), u7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
3000
3076
  "svg",
3001
3077
  {
3002
3078
  xmlns: "http://www.w3.org/2000/svg",
@@ -3013,7 +3089,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3013
3089
  }
3014
3090
  )
3015
3091
  }
3016
- ), C7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
3092
+ ), w7 = ({ width: e, height: n, fill: i }) => /* @__PURE__ */ t(
3017
3093
  "svg",
3018
3094
  {
3019
3095
  xmlns: "http://www.w3.org/2000/svg",
@@ -3030,10 +3106,10 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3030
3106
  }
3031
3107
  )
3032
3108
  }
3033
- ), X1 = {
3109
+ ), $1 = {
3034
3110
  path: null,
3035
- icon: /* @__PURE__ */ t(r7, {}),
3036
- iconActive: /* @__PURE__ */ t(s7, {}),
3111
+ icon: /* @__PURE__ */ t(a7, {}),
3112
+ iconActive: /* @__PURE__ */ t(l7, {}),
3037
3113
  text: "Settings",
3038
3114
  hasNotification: !1,
3039
3115
  hasDropdown: !0,
@@ -3064,7 +3140,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3064
3140
  text: "Security"
3065
3141
  }
3066
3142
  ]
3067
- }, D7 = [
3143
+ }, N7 = [
3068
3144
  {
3069
3145
  optionType: "MENU",
3070
3146
  hasBorder: !0,
@@ -3085,8 +3161,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3085
3161
  routes: [
3086
3162
  {
3087
3163
  path: null,
3088
- icon: /* @__PURE__ */ t(c7, {}),
3089
- iconActive: /* @__PURE__ */ t(d7, {}),
3164
+ icon: /* @__PURE__ */ t(h7, {}),
3165
+ iconActive: /* @__PURE__ */ t(C7, {}),
3090
3166
  text: "Analytics",
3091
3167
  hasNotification: !1,
3092
3168
  hasDropdown: !0,
@@ -3120,8 +3196,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3120
3196
  },
3121
3197
  {
3122
3198
  path: "/revenue",
3123
- icon: /* @__PURE__ */ t(h7, {}),
3124
- iconActive: /* @__PURE__ */ t(C7, {}),
3199
+ icon: /* @__PURE__ */ t(u7, {}),
3200
+ iconActive: /* @__PURE__ */ t(w7, {}),
3125
3201
  text: "Revenue",
3126
3202
  hasNotification: !1,
3127
3203
  hasDropdown: !1
@@ -3132,7 +3208,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3132
3208
  optionType: null,
3133
3209
  routes: [
3134
3210
  {
3135
- ...X1,
3211
+ ...$1,
3136
3212
  dropdownItems: [
3137
3213
  {
3138
3214
  path: "/admins",
@@ -3158,7 +3234,7 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3158
3234
  }
3159
3235
  ]
3160
3236
  }
3161
- ], b7 = [
3237
+ ], U7 = [
3162
3238
  {
3163
3239
  optionType: "MENU",
3164
3240
  hasBorder: !0,
@@ -3173,8 +3249,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3173
3249
  },
3174
3250
  {
3175
3251
  path: null,
3176
- icon: /* @__PURE__ */ t(Y1, {}),
3177
- iconActive: /* @__PURE__ */ t(Q1, {}),
3252
+ icon: /* @__PURE__ */ t(X1, {}),
3253
+ iconActive: /* @__PURE__ */ t(_1, {}),
3178
3254
  text: "Alert",
3179
3255
  hasNotification: !1,
3180
3256
  hasDropdown: !0,
@@ -3195,8 +3271,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3195
3271
  },
3196
3272
  {
3197
3273
  path: null,
3198
- icon: /* @__PURE__ */ t(T1, {}),
3199
- iconActive: /* @__PURE__ */ t(S1, {}),
3274
+ icon: /* @__PURE__ */ t(S1, {}),
3275
+ iconActive: /* @__PURE__ */ t(R1, {}),
3200
3276
  text: "Requests",
3201
3277
  hasNotification: !0,
3202
3278
  hasDropdown: !0,
@@ -3218,8 +3294,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3218
3294
  },
3219
3295
  {
3220
3296
  path: "/tickets",
3221
- icon: /* @__PURE__ */ t(X6, {}),
3222
- iconActive: /* @__PURE__ */ t(_6, {}),
3297
+ icon: /* @__PURE__ */ t($6, {}),
3298
+ iconActive: /* @__PURE__ */ t(t7, {}),
3223
3299
  text: "Tickets",
3224
3300
  hasNotification: !0,
3225
3301
  notifications: 5,
@@ -3227,8 +3303,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3227
3303
  },
3228
3304
  {
3229
3305
  path: "/live-chat",
3230
- icon: /* @__PURE__ */ t($6, {}),
3231
- iconActive: /* @__PURE__ */ t(t7, {}),
3306
+ icon: /* @__PURE__ */ t(e7, {}),
3307
+ iconActive: /* @__PURE__ */ t(n7, {}),
3232
3308
  text: "Live Chat",
3233
3309
  hasNotification: !0,
3234
3310
  notifications: 5,
@@ -3236,8 +3312,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3236
3312
  },
3237
3313
  {
3238
3314
  path: "/issues-and-reports",
3239
- icon: /* @__PURE__ */ t(e7, {}),
3240
- iconActive: /* @__PURE__ */ t(n7, {}),
3315
+ icon: /* @__PURE__ */ t(i7, {}),
3316
+ iconActive: /* @__PURE__ */ t(o7, {}),
3241
3317
  text: "Issues & Reports",
3242
3318
  hasNotification: !0,
3243
3319
  notifications: 5,
@@ -3245,8 +3321,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3245
3321
  },
3246
3322
  {
3247
3323
  path: "/all-users",
3248
- icon: /* @__PURE__ */ t(i7, {}),
3249
- iconActive: /* @__PURE__ */ t(o7, {}),
3324
+ icon: /* @__PURE__ */ t(r7, {}),
3325
+ iconActive: /* @__PURE__ */ t(s7, {}),
3250
3326
  text: "All Users",
3251
3327
  hasNotification: !1,
3252
3328
  hasDropdown: !1
@@ -3259,8 +3335,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3259
3335
  routes: [
3260
3336
  {
3261
3337
  path: "/accounts",
3262
- icon: /* @__PURE__ */ t(q1, {}),
3263
- iconActive: /* @__PURE__ */ t(K1, {}),
3338
+ icon: /* @__PURE__ */ t(Y1, {}),
3339
+ iconActive: /* @__PURE__ */ t(Q1, {}),
3264
3340
  text: "Accounts",
3265
3341
  hasNotification: !0,
3266
3342
  hasDropdown: !1,
@@ -3268,8 +3344,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3268
3344
  },
3269
3345
  {
3270
3346
  path: "/manager",
3271
- icon: /* @__PURE__ */ t(a7, {}),
3272
- iconActive: /* @__PURE__ */ t(l7, {}),
3347
+ icon: /* @__PURE__ */ t(c7, {}),
3348
+ iconActive: /* @__PURE__ */ t(d7, {}),
3273
3349
  text: "Manager",
3274
3350
  hasNotification: !0,
3275
3351
  hasDropdown: !1,
@@ -3277,8 +3353,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3277
3353
  },
3278
3354
  {
3279
3355
  path: "/api-request",
3280
- icon: /* @__PURE__ */ t(T1, {}),
3281
- iconActive: /* @__PURE__ */ t(S1, {}),
3356
+ icon: /* @__PURE__ */ t(S1, {}),
3357
+ iconActive: /* @__PURE__ */ t(R1, {}),
3282
3358
  text: "API Request",
3283
3359
  hasNotification: !0,
3284
3360
  hasDropdown: !1,
@@ -3288,9 +3364,9 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3288
3364
  },
3289
3365
  {
3290
3366
  optionType: null,
3291
- routes: [X1]
3367
+ routes: [$1]
3292
3368
  }
3293
- ], N7 = [
3369
+ ], T7 = [
3294
3370
  {
3295
3371
  optionType: "MENU",
3296
3372
  routes: [
@@ -3304,8 +3380,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3304
3380
  },
3305
3381
  {
3306
3382
  path: "/token-management",
3307
- icon: /* @__PURE__ */ t(N6, {}),
3308
- iconActive: /* @__PURE__ */ t(U6, {}),
3383
+ icon: /* @__PURE__ */ t(T6, {}),
3384
+ iconActive: /* @__PURE__ */ t(j6, {}),
3309
3385
  text: "Token management",
3310
3386
  hasNotification: !1,
3311
3387
  hasDropdown: !1
@@ -3317,8 +3393,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3317
3393
  routes: [
3318
3394
  {
3319
3395
  path: "/skill-test",
3320
- icon: /* @__PURE__ */ t(T6, {}),
3321
- iconActive: /* @__PURE__ */ t(S6, {}),
3396
+ icon: /* @__PURE__ */ t(S6, {}),
3397
+ iconActive: /* @__PURE__ */ t(R6, {}),
3322
3398
  text: "Skill Test",
3323
3399
  hasNotification: !0,
3324
3400
  hasDropdown: !1,
@@ -3326,8 +3402,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3326
3402
  },
3327
3403
  {
3328
3404
  path: "/Lessons",
3329
- icon: /* @__PURE__ */ t(j6, {}),
3330
- iconActive: /* @__PURE__ */ t(R6, {}),
3405
+ icon: /* @__PURE__ */ t(P6, {}),
3406
+ iconActive: /* @__PURE__ */ t(F6, {}),
3331
3407
  text: "Lessons",
3332
3408
  hasNotification: !0,
3333
3409
  hasDropdown: !1,
@@ -3335,16 +3411,16 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3335
3411
  },
3336
3412
  {
3337
3413
  path: "/manage-content",
3338
- icon: /* @__PURE__ */ t(P6, {}),
3339
- iconActive: /* @__PURE__ */ t(F6, {}),
3414
+ icon: /* @__PURE__ */ t(E6, {}),
3415
+ iconActive: /* @__PURE__ */ t(z6, {}),
3340
3416
  text: "Manage Content",
3341
3417
  hasNotification: !1,
3342
3418
  hasDropdown: !1
3343
3419
  },
3344
3420
  {
3345
3421
  path: "/draft",
3346
- icon: /* @__PURE__ */ t(E6, {}),
3347
- iconActive: /* @__PURE__ */ t(z6, {}),
3422
+ icon: /* @__PURE__ */ t(O6, {}),
3423
+ iconActive: /* @__PURE__ */ t(G6, {}),
3348
3424
  text: "Draft",
3349
3425
  hasNotification: !0,
3350
3426
  hasDropdown: !1,
@@ -3352,8 +3428,8 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3352
3428
  },
3353
3429
  {
3354
3430
  path: "/flagged-content",
3355
- icon: /* @__PURE__ */ t(O6, {}),
3356
- iconActive: /* @__PURE__ */ t(G6, {}),
3431
+ icon: /* @__PURE__ */ t(W6, {}),
3432
+ iconActive: /* @__PURE__ */ t(J6, {}),
3357
3433
  text: "Flagged Content",
3358
3434
  hasNotification: !0,
3359
3435
  hasDropdown: !1,
@@ -3367,40 +3443,40 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3367
3443
  routes: [
3368
3444
  {
3369
3445
  path: "/profile",
3370
- icon: /* @__PURE__ */ t(q1, {}),
3371
- iconActive: /* @__PURE__ */ t(K1, {}),
3446
+ icon: /* @__PURE__ */ t(Y1, {}),
3447
+ iconActive: /* @__PURE__ */ t(Q1, {}),
3372
3448
  text: "Profile",
3373
3449
  hasNotification: !1,
3374
3450
  hasDropdown: !1
3375
3451
  },
3376
3452
  {
3377
3453
  path: "/admins",
3378
- icon: /* @__PURE__ */ t(W6, {}),
3379
- iconActive: /* @__PURE__ */ t(J6, {}),
3454
+ icon: /* @__PURE__ */ t(q6, {}),
3455
+ iconActive: /* @__PURE__ */ t(K6, {}),
3380
3456
  text: "Admins",
3381
3457
  hasNotification: !1,
3382
3458
  hasDropdown: !1
3383
3459
  },
3384
3460
  {
3385
3461
  path: "/notification",
3386
- icon: /* @__PURE__ */ t(Y1, {}),
3387
- iconActive: /* @__PURE__ */ t(Q1, {}),
3462
+ icon: /* @__PURE__ */ t(X1, {}),
3463
+ iconActive: /* @__PURE__ */ t(_1, {}),
3388
3464
  text: "Notification",
3389
3465
  hasNotification: !1,
3390
3466
  hasDropdown: !1
3391
3467
  },
3392
3468
  {
3393
3469
  path: "/roles-and-permissions",
3394
- icon: /* @__PURE__ */ t(q6, {}),
3395
- iconActive: /* @__PURE__ */ t(K6, {}),
3470
+ icon: /* @__PURE__ */ t(Y6, {}),
3471
+ iconActive: /* @__PURE__ */ t(Q6, {}),
3396
3472
  text: "Roles & Permissions",
3397
3473
  hasNotification: !1,
3398
3474
  hasDropdown: !1
3399
3475
  },
3400
3476
  {
3401
3477
  path: "/security",
3402
- icon: /* @__PURE__ */ t(Y6, {}),
3403
- iconActive: /* @__PURE__ */ t(Q6, {}),
3478
+ icon: /* @__PURE__ */ t(X6, {}),
3479
+ iconActive: /* @__PURE__ */ t(_6, {}),
3404
3480
  text: "Security",
3405
3481
  hasNotification: !1,
3406
3482
  hasDropdown: !1
@@ -3484,13 +3560,13 @@ const Z6 = 5 * 1024 * 1024, g1 = (e) => {
3484
3560
  }
3485
3561
  ]
3486
3562
  }
3487
- ], U7 = [
3563
+ ], j7 = [
3488
3564
  a1[1],
3489
3565
  a1[3],
3490
3566
  a1[4]
3491
- ], T7 = [a1[4]];
3492
- function u7(e, n = {}) {
3493
- const i = e.numberOfChannels, o = e.sampleRate, d = 1, l = 16, w = i === 2 ? p7(e.getChannelData(0), e.getChannelData(1)) : e.getChannelData(0), f = w7(
3567
+ ], S7 = [a1[4]];
3568
+ function f7(e, n = {}) {
3569
+ const i = e.numberOfChannels, o = e.sampleRate, d = 1, l = 16, w = i === 2 ? m7(e.getChannelData(0), e.getChannelData(1)) : e.getChannelData(0), f = p7(
3494
3570
  w,
3495
3571
  d,
3496
3572
  o,
@@ -3501,17 +3577,17 @@ function u7(e, n = {}) {
3501
3577
  type: "audio/wav"
3502
3578
  });
3503
3579
  }
3504
- function w7(e, n, i, o, d) {
3580
+ function p7(e, n, i, o, d) {
3505
3581
  const l = d / 8, w = o * l, f = new ArrayBuffer(44 + e.length * l), g = new DataView(f);
3506
- return s1(g, 0, "RIFF"), g.setUint32(4, 36 + e.length * l, !0), s1(g, 8, "WAVE"), s1(g, 12, "fmt "), g.setUint32(16, 16, !0), g.setUint16(20, n, !0), g.setUint16(22, o, !0), g.setUint32(24, i, !0), g.setUint32(28, i * w, !0), g.setUint16(32, w, !0), g.setUint16(34, d, !0), s1(g, 36, "data"), g.setUint32(40, e.length * l, !0), f7(g, 44, e), g;
3582
+ return s1(g, 0, "RIFF"), g.setUint32(4, 36 + e.length * l, !0), s1(g, 8, "WAVE"), s1(g, 12, "fmt "), g.setUint32(16, 16, !0), g.setUint16(20, n, !0), g.setUint16(22, o, !0), g.setUint32(24, i, !0), g.setUint32(28, i * w, !0), g.setUint16(32, w, !0), g.setUint16(34, d, !0), s1(g, 36, "data"), g.setUint32(40, e.length * l, !0), g7(g, 44, e), g;
3507
3583
  }
3508
- function f7(e, n, i) {
3584
+ function g7(e, n, i) {
3509
3585
  for (let o = 0; o < i.length; o++, n += 2) {
3510
3586
  const d = Math.max(-1, Math.min(1, i[o]));
3511
3587
  e.setInt16(n, d < 0 ? d * 32768 : d * 32767, !0);
3512
3588
  }
3513
3589
  }
3514
- function p7(e, n) {
3590
+ function m7(e, n) {
3515
3591
  const i = e.length + n.length, o = new Float32Array(i);
3516
3592
  let d = 0, l = 0;
3517
3593
  for (; d < i; )
@@ -3522,7 +3598,7 @@ function s1(e, n, i) {
3522
3598
  for (let o = 0; o < i.length; o++)
3523
3599
  e.setUint8(n + o, i.charCodeAt(o));
3524
3600
  }
3525
- function S7(e) {
3601
+ function R7(e) {
3526
3602
  const {
3527
3603
  onStateChange: n,
3528
3604
  onTimerUpdate: i,
@@ -3530,7 +3606,7 @@ function S7(e) {
3530
3606
  onError: d,
3531
3607
  onStreamReady: l,
3532
3608
  config: w
3533
- } = e || {}, [f, g] = P("idle"), [D, j] = P(0), [_, q] = P([]), [$, Z] = P(null), [k, M] = P(""), [x, y] = P(null), [S, F] = P(!1), I = W(null), Y = W([]), E = W(null), N = W(null), z = W(null), m = L(
3609
+ } = e || {}, [f, g] = P("idle"), [D, S] = P(0), [_, q] = P([]), [$, Z] = P(null), [k, M] = P(""), [x, y] = P(null), [j, F] = P(!1), I = W(null), Y = W([]), E = W(null), N = W(null), z = W(null), L = v(
3534
3610
  (s) => {
3535
3611
  g((r) => (r !== s && (n == null || n({
3536
3612
  newState: s,
@@ -3538,7 +3614,7 @@ function S7(e) {
3538
3614
  })), s));
3539
3615
  },
3540
3616
  [n]
3541
- ), A = L(
3617
+ ), A = v(
3542
3618
  (s, r) => {
3543
3619
  y(s), d == null || d({
3544
3620
  message: s,
@@ -3549,9 +3625,9 @@ function S7(e) {
3549
3625
  }), "ready") : a);
3550
3626
  },
3551
3627
  [d, n]
3552
- ), t1 = L(async () => {
3553
- if (m("requestingPermission"), y(null), !navigator.mediaDevices || !navigator.mediaDevices.getUserMedia)
3554
- return A("MediaDevices API not supported."), m("permissionDenied"), F(!1), !1;
3628
+ ), t1 = v(async () => {
3629
+ if (L("requestingPermission"), y(null), !navigator.mediaDevices || !navigator.mediaDevices.getUserMedia)
3630
+ return A("MediaDevices API not supported."), L("permissionDenied"), F(!1), !1;
3555
3631
  F(!0);
3556
3632
  try {
3557
3633
  const s = await navigator.mediaDevices.getUserMedia({
@@ -3564,17 +3640,17 @@ function S7(e) {
3564
3640
  return A(
3565
3641
  "AudioContext could not be created during permission request.",
3566
3642
  r
3567
- ), m("permissionDenied"), !1;
3643
+ ), L("permissionDenied"), !1;
3568
3644
  }
3569
- return m("ready"), !0;
3645
+ return L("ready"), !0;
3570
3646
  } catch (s) {
3571
3647
  return s instanceof Error && (s.name === "NotAllowedError" || s.name === "PermissionDeniedError") ? A(
3572
3648
  "Microphone permission denied. Please enable it in your browser settings."
3573
- ) : A("Error accessing microphone.", s), m("permissionDenied"), !1;
3649
+ ) : A("Error accessing microphone.", s), L("permissionDenied"), !1;
3574
3650
  }
3575
- }, [A, m]), n1 = () => {
3651
+ }, [A, L]), n1 = () => {
3576
3652
  E.current && clearInterval(E.current), E.current = setInterval(() => {
3577
- j((s) => {
3653
+ S((s) => {
3578
3654
  const r = s + 1;
3579
3655
  return i == null || i(r), r;
3580
3656
  });
@@ -3582,17 +3658,17 @@ function S7(e) {
3582
3658
  }, c = () => {
3583
3659
  E.current && clearInterval(E.current), E.current = null;
3584
3660
  }, C = () => {
3585
- c(), j(0), i == null || i(0);
3586
- }, h = L(() => {
3661
+ c(), S(0), i == null || i(0);
3662
+ }, h = v(() => {
3587
3663
  var s;
3588
- I.current && I.current.state !== "inactive" && I.current.stop(), (s = z.current) == null || s.getTracks().forEach((r) => r.stop()), z.current = null, k && URL.revokeObjectURL(k), M(""), Z(null), q([]), Y.current = [], C(), y(null), m("permissionNeeded"), navigator.mediaDevices && navigator.mediaDevices.getUserMedia ? (F(!0), navigator.permissions && navigator.permissions.query ? navigator.permissions.query({
3664
+ I.current && I.current.state !== "inactive" && I.current.stop(), (s = z.current) == null || s.getTracks().forEach((r) => r.stop()), z.current = null, k && URL.revokeObjectURL(k), M(""), Z(null), q([]), Y.current = [], C(), y(null), L("permissionNeeded"), navigator.mediaDevices && navigator.mediaDevices.getUserMedia ? (F(!0), navigator.permissions && navigator.permissions.query ? navigator.permissions.query({
3589
3665
  name: "microphone"
3590
3666
  }).then((r) => {
3591
- r.state === "granted" ? m("ready") : r.state === "denied" ? (m("permissionDenied"), y(
3667
+ r.state === "granted" ? L("ready") : r.state === "denied" ? (L("permissionDenied"), y(
3592
3668
  (a) => a || "Microphone permission is denied."
3593
- )) : m("permissionNeeded");
3594
- }).catch(() => m("permissionNeeded")) : m("permissionNeeded")) : (F(!1), m("permissionDenied"), y("MediaDevices API not supported on this browser."));
3595
- }, [k, m]);
3669
+ )) : L("permissionNeeded");
3670
+ }).catch(() => L("permissionNeeded")) : L("permissionNeeded")) : (F(!1), L("permissionDenied"), y("MediaDevices API not supported on this browser."));
3671
+ }, [k, L]);
3596
3672
  e1(() => {
3597
3673
  if (F(
3598
3674
  !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia)
@@ -3609,7 +3685,7 @@ function S7(e) {
3609
3685
  const r = () => {
3610
3686
  if (s)
3611
3687
  if (s.state === "granted") {
3612
- if (m("ready"), !N.current)
3688
+ if (L("ready"), !N.current)
3613
3689
  try {
3614
3690
  N.current = new (window.AudioContext || window.webkitAudioContext)();
3615
3691
  } catch (a) {
@@ -3619,18 +3695,18 @@ function S7(e) {
3619
3695
  );
3620
3696
  }
3621
3697
  } else
3622
- s.state === "denied" ? (m("permissionDenied"), A("Microphone permission status changed to denied.")) : m("permissionNeeded");
3698
+ s.state === "denied" ? (L("permissionDenied"), A("Microphone permission status changed to denied.")) : L("permissionNeeded");
3623
3699
  };
3624
3700
  return navigator.permissions && navigator.permissions.query && navigator.permissions.query({
3625
3701
  name: "microphone"
3626
3702
  }).then((a) => {
3627
3703
  s = a, r(), a.onchange = r;
3628
- }).catch(() => m("permissionNeeded")), () => {
3704
+ }).catch(() => L("permissionNeeded")), () => {
3629
3705
  var a, U, R;
3630
3706
  E.current && clearInterval(E.current), k && URL.revokeObjectURL(k), (a = z.current) == null || a.getTracks().forEach((b) => b.stop()), (R = (U = I.current) == null ? void 0 : U.stream) == null || R.getTracks().forEach((b) => b.stop()), s && (s.onchange = null);
3631
3707
  };
3632
3708
  }, []);
3633
- const u = L(async () => {
3709
+ const u = v(async () => {
3634
3710
  if (!["ready", "finished", "idle", "permissionNeeded"].includes(
3635
3711
  f
3636
3712
  )) {
@@ -3645,7 +3721,7 @@ function S7(e) {
3645
3721
  s = z.current;
3646
3722
  }
3647
3723
  if (!s) {
3648
- A("Microphone stream not available."), m("permissionDenied");
3724
+ A("Microphone stream not available."), L("permissionDenied");
3649
3725
  return;
3650
3726
  }
3651
3727
  if (!N.current)
@@ -3655,7 +3731,7 @@ function S7(e) {
3655
3731
  A(
3656
3732
  "AudioContext could not be initialized before starting recording.",
3657
3733
  r
3658
- ), m("permissionDenied");
3734
+ ), L("permissionDenied");
3659
3735
  return;
3660
3736
  }
3661
3737
  if (s && N.current)
@@ -3678,7 +3754,7 @@ function S7(e) {
3678
3754
  a.data.size > 0 && Y.current.push(a.data);
3679
3755
  }, I.current.onstop = async () => {
3680
3756
  var R;
3681
- m("processing");
3757
+ L("processing");
3682
3758
  const a = [...Y.current];
3683
3759
  q(a);
3684
3760
  const U = new Blob(a, {
@@ -3693,18 +3769,18 @@ function S7(e) {
3693
3769
  wavBlob: null,
3694
3770
  audioChunks: a,
3695
3771
  duration: D
3696
- }), m("finished");
3772
+ }), L("finished");
3697
3773
  return;
3698
3774
  }
3699
3775
  try {
3700
- const b = await U.arrayBuffer(), O = await N.current.decodeAudioData(b), Q = u7(O);
3776
+ const b = await U.arrayBuffer(), O = await N.current.decodeAudioData(b), Q = f7(O);
3701
3777
  Z(Q);
3702
- const _1 = URL.createObjectURL(Q);
3703
- M(_1), o == null || o({
3778
+ const t6 = URL.createObjectURL(Q);
3779
+ M(t6), o == null || o({
3704
3780
  wavBlob: Q,
3705
3781
  audioChunks: a,
3706
3782
  duration: D
3707
- }), m("finished");
3783
+ }), L("finished");
3708
3784
  } catch (b) {
3709
3785
  A(
3710
3786
  "Error converting audio to WAV. Providing raw recording.",
@@ -3715,11 +3791,11 @@ function S7(e) {
3715
3791
  wavBlob: null,
3716
3792
  audioChunks: a,
3717
3793
  duration: D
3718
- }), m("finished");
3794
+ }), L("finished");
3719
3795
  }
3720
3796
  }, I.current.onerror = (a) => {
3721
3797
  A("MediaRecorder error.", a), c();
3722
- }, I.current.start(), m("recording"), n1();
3798
+ }, I.current.start(), L("recording"), n1();
3723
3799
  } catch (r) {
3724
3800
  A("Failed to start recording.", r);
3725
3801
  }
@@ -3730,19 +3806,19 @@ function S7(e) {
3730
3806
  l,
3731
3807
  w,
3732
3808
  A,
3733
- m,
3809
+ L,
3734
3810
  o,
3735
3811
  D
3736
- ]), p = L(() => {
3812
+ ]), p = v(() => {
3737
3813
  var s;
3738
- f === "recording" && ((s = I.current) == null ? void 0 : s.state) === "recording" && (I.current.pause(), m("paused"), c());
3739
- }, [f, m]), V = L(() => {
3814
+ f === "recording" && ((s = I.current) == null ? void 0 : s.state) === "recording" && (I.current.pause(), L("paused"), c());
3815
+ }, [f, L]), V = v(() => {
3740
3816
  var s;
3741
- f === "paused" && ((s = I.current) == null ? void 0 : s.state) === "paused" && (I.current.resume(), m("recording"), n1());
3742
- }, [f, m]), H = L(async () => {
3817
+ f === "paused" && ((s = I.current) == null ? void 0 : s.state) === "paused" && (I.current.resume(), L("recording"), n1());
3818
+ }, [f, L]), H = v(async () => {
3743
3819
  var s, r;
3744
- (f === "recording" || f === "paused") && ((s = I.current) == null ? void 0 : s.state) !== "inactive" && (m("stopping"), (r = I.current) == null || r.stop(), c());
3745
- }, [f, m]);
3820
+ (f === "recording" || f === "paused") && ((s = I.current) == null ? void 0 : s.state) !== "inactive" && (L("stopping"), (r = I.current) == null || r.stop(), c());
3821
+ }, [f, L]);
3746
3822
  return {
3747
3823
  recordingState: f,
3748
3824
  duration: D,
@@ -3750,7 +3826,7 @@ function S7(e) {
3750
3826
  finalWavBlob: $,
3751
3827
  audioURL: k,
3752
3828
  errorMessage: x,
3753
- isMicrophoneAvailable: S,
3829
+ isMicrophoneAvailable: j,
3754
3830
  actions: {
3755
3831
  start: u,
3756
3832
  pause: p,
@@ -3761,7 +3837,7 @@ function S7(e) {
3761
3837
  }
3762
3838
  };
3763
3839
  }
3764
- function j7() {
3840
+ function P7() {
3765
3841
  return (e, { replace: n = !1, state: i = null, reload: o = !1 } = {}) => {
3766
3842
  if (o) {
3767
3843
  n ? window.location.replace(e) : window.location.href = e;
@@ -3772,52 +3848,52 @@ function j7() {
3772
3848
  };
3773
3849
  }
3774
3850
  export {
3775
- Y1 as A,
3776
- d7 as B,
3777
- F1 as C,
3778
- E1 as D,
3779
- C7 as E,
3780
- G1 as F,
3851
+ X1 as A,
3852
+ C7 as B,
3853
+ z1 as C,
3854
+ O1 as D,
3855
+ w7 as E,
3856
+ J1 as F,
3781
3857
  G,
3782
- _6 as H,
3783
- $6 as I,
3784
- t7 as J,
3785
- e7 as K,
3786
- n7 as L,
3787
- o7 as M,
3788
- r7 as N,
3789
- s7 as O,
3790
- A7 as P,
3791
- Z7 as Q,
3792
- h7 as R,
3793
- z1 as S,
3794
- X6 as T,
3795
- i7 as U,
3796
- O1 as a,
3797
- W1 as b,
3798
- k7 as c,
3858
+ t7 as H,
3859
+ e7 as I,
3860
+ n7 as J,
3861
+ i7 as K,
3862
+ o7 as L,
3863
+ s7 as M,
3864
+ a7 as N,
3865
+ l7 as O,
3866
+ y7 as P,
3867
+ B7 as Q,
3868
+ u7 as R,
3869
+ G1 as S,
3870
+ $6 as T,
3871
+ r7 as U,
3872
+ W1 as a,
3873
+ q1 as b,
3874
+ H7 as c,
3799
3875
  f1 as d,
3800
- B7 as e,
3801
- I7 as f,
3802
- y7 as g,
3803
- M7 as h,
3804
- H7 as i,
3805
- x7 as j,
3806
- D7 as k,
3807
- i6 as l,
3808
- b7 as m,
3809
- N7 as n,
3810
- T7 as o,
3811
- U7 as p,
3876
+ D7 as e,
3877
+ b7 as f,
3878
+ I7 as g,
3879
+ V7 as h,
3880
+ A7 as i,
3881
+ Z7 as j,
3882
+ N7 as k,
3883
+ r6 as l,
3884
+ U7 as m,
3885
+ T7 as n,
3886
+ S7 as o,
3887
+ j7 as p,
3812
3888
  a1 as q,
3813
- V7 as r,
3814
- L7 as s,
3815
- j7 as t,
3816
- v7 as u,
3817
- S7 as v,
3889
+ x7 as r,
3890
+ M7 as s,
3891
+ P7 as t,
3892
+ k7 as u,
3893
+ R7 as v,
3818
3894
  v1 as w,
3819
3895
  M1 as x,
3820
- Q1 as y,
3821
- c7 as z
3896
+ _1 as y,
3897
+ h7 as z
3822
3898
  };
3823
- //# sourceMappingURL=useCustomNavigate-f477dc0a.js.map
3899
+ //# sourceMappingURL=useCustomNavigate-ac9d7f51.js.map