@g4rcez/components 3.0.2 → 4.0.0

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.
Files changed (145) hide show
  1. package/dist/CaretDown.es-Cj7klWI3.js +33 -0
  2. package/dist/CaretDown.es-Cj7klWI3.js.map +1 -0
  3. package/dist/CaretRight.es-0-M8D9y8.js +33 -0
  4. package/dist/CaretRight.es-0-M8D9y8.js.map +1 -0
  5. package/dist/CheckCircle.es-C6QWLfk_.js +33 -0
  6. package/dist/CheckCircle.es-C6QWLfk_.js.map +1 -0
  7. package/dist/File.es-CA-vuPED.js +33 -0
  8. package/dist/File.es-CA-vuPED.js.map +1 -0
  9. package/dist/IconBase.es-DJ1oCtpo.js +50 -0
  10. package/dist/IconBase.es-DJ1oCtpo.js.map +1 -0
  11. package/dist/Info.es-CrZKs4q4.js +33 -0
  12. package/dist/Info.es-CrZKs4q4.js.map +1 -0
  13. package/dist/MotionConfigContext-C7MqlSdv.js.map +1 -1
  14. package/dist/Warning.es-D_eI6tLe.js +39 -0
  15. package/dist/Warning.es-D_eI6tLe.js.map +1 -0
  16. package/dist/X.es-BJ1O93El.js +39 -0
  17. package/dist/X.es-BJ1O93El.js.map +1 -0
  18. package/dist/ai/docs/Alert.md +1 -1
  19. package/dist/ai/docs/AnimatedList.md +3 -3
  20. package/dist/ai/docs/Button.md +1 -1
  21. package/dist/ai/docs/CommandPalette.md +7 -7
  22. package/dist/ai/docs/Dropdown.md +4 -4
  23. package/dist/ai/docs/Empty.md +9 -9
  24. package/dist/ai/docs/Expand.md +1 -1
  25. package/dist/ai/docs/FileUpload.md +2 -2
  26. package/dist/ai/docs/Input.md +2 -2
  27. package/dist/ai/docs/InputField.md +2 -2
  28. package/dist/ai/docs/List.md +3 -3
  29. package/dist/ai/docs/Menu.md +3 -3
  30. package/dist/ai/docs/MultiSelect.md +1 -1
  31. package/dist/ai/docs/PageCalendar.md +1 -1
  32. package/dist/ai/docs/Select.md +1 -1
  33. package/dist/ai/docs/Slot.md +1 -1
  34. package/dist/ai/docs/Stats.md +11 -11
  35. package/dist/ai/docs/Table.md +1 -1
  36. package/dist/ai/docs/Tag.md +2 -2
  37. package/dist/ai/docs/Timeline.md +5 -5
  38. package/dist/ai/docs/Toolbar.md +2 -2
  39. package/dist/ai/docs/Tooltip.md +3 -3
  40. package/dist/ai/docs/TransferList.md +2 -2
  41. package/dist/{autocomplete-Boida9R7.js → autocomplete-Cn9Z2hLq.js} +48 -48
  42. package/dist/autocomplete-Cn9Z2hLq.js.map +1 -0
  43. package/dist/{calendar-BswV66Nx.js → calendar-B5lSd0ID.js} +599 -571
  44. package/dist/calendar-B5lSd0ID.js.map +1 -0
  45. package/dist/components/display/alert.js +18 -18
  46. package/dist/components/display/alert.js.map +1 -1
  47. package/dist/components/display/calendar.js +4 -4
  48. package/dist/components/display/card.d.ts +2 -2
  49. package/dist/components/display/card.d.ts.map +1 -1
  50. package/dist/components/display/card.js +6 -6
  51. package/dist/components/display/card.js.map +1 -1
  52. package/dist/components/display/empty.d.ts +2 -2
  53. package/dist/components/display/empty.d.ts.map +1 -1
  54. package/dist/components/display/list.js +15 -15
  55. package/dist/components/display/list.js.map +1 -1
  56. package/dist/components/display/notifications.js +5 -5
  57. package/dist/components/display/tabs.js +1 -1
  58. package/dist/components/floating/command-palette.d.ts +3 -3
  59. package/dist/components/floating/command-palette.d.ts.map +1 -1
  60. package/dist/components/floating/dropdown.js +1 -1
  61. package/dist/components/floating/expand.js +1 -1
  62. package/dist/components/floating/menu.d.ts +2 -2
  63. package/dist/components/floating/menu.d.ts.map +1 -1
  64. package/dist/components/floating/menu.js +31 -31
  65. package/dist/components/floating/menu.js.map +1 -1
  66. package/dist/components/floating/modal.js +35 -35
  67. package/dist/components/floating/modal.js.map +1 -1
  68. package/dist/components/floating/tooltip.js +1 -1
  69. package/dist/components/form/autocomplete.js +5 -5
  70. package/dist/components/form/date-picker.js +3 -3
  71. package/dist/components/form/file-upload.d.ts.map +1 -1
  72. package/dist/components/form/file-upload.js +3 -3
  73. package/dist/components/form/input-field.d.ts.map +1 -1
  74. package/dist/components/form/input.js +1 -1
  75. package/dist/components/form/select.js +29 -29
  76. package/dist/components/form/select.js.map +1 -1
  77. package/dist/components/form/task-list.js.map +1 -1
  78. package/dist/components/form/transfer-list.js +15 -15
  79. package/dist/components/form/transfer-list.js.map +1 -1
  80. package/dist/components/page-calendar/calendar-header.d.ts.map +1 -1
  81. package/dist/components/table/table.js +3 -3
  82. package/dist/config/context.d.ts +2 -0
  83. package/dist/config/context.d.ts.map +1 -1
  84. package/dist/context-BFXNJVn2.js.map +1 -1
  85. package/dist/{date-picker-BxPTdZPy.js → date-picker-DwNo22lx.js} +316 -288
  86. package/dist/date-picker-DwNo22lx.js.map +1 -0
  87. package/dist/{file-upload-BB6BdGcE.js → file-upload-Brf2NkLr.js} +1103 -976
  88. package/dist/file-upload-Brf2NkLr.js.map +1 -0
  89. package/dist/{floating-ui.react-DycKASR0.js → floating-ui.react-QNHG9W4N.js} +205 -205
  90. package/dist/{floating-ui.react-DycKASR0.js.map → floating-ui.react-QNHG9W4N.js.map} +1 -1
  91. package/dist/hooks/use-components-provider.d.ts.map +1 -1
  92. package/dist/index-0YMC-_Lt.js.map +1 -1
  93. package/dist/index-BelDtX5M.js +1821 -0
  94. package/dist/index-BelDtX5M.js.map +1 -0
  95. package/dist/{index-BtlhELJ3.js → index-C-PuFUZi.js} +136 -136
  96. package/dist/index-C-PuFUZi.js.map +1 -0
  97. package/dist/index-Z-fZHxfJ.js +335 -0
  98. package/dist/index-Z-fZHxfJ.js.map +1 -0
  99. package/dist/index-t1qLJTt5.js.map +1 -1
  100. package/dist/index.js +2404 -2328
  101. package/dist/index.js.map +1 -1
  102. package/dist/{input-CoJoHIhd.js → input-CrGrSnUt.js} +2 -2
  103. package/dist/{input-CoJoHIhd.js.map → input-CrGrSnUt.js.map} +1 -1
  104. package/dist/input-field-5vYcz5tT.js +166 -0
  105. package/dist/input-field-5vYcz5tT.js.map +1 -0
  106. package/dist/notifications-cUdVPs-B.js +2786 -0
  107. package/dist/notifications-cUdVPs-B.js.map +1 -0
  108. package/dist/proxy-BZcQiBrp.js.map +1 -1
  109. package/dist/{slot-CQW8ZzBb.js → slot-CRyweuj0.js} +5 -5
  110. package/dist/{slot-CQW8ZzBb.js.map → slot-CRyweuj0.js.map} +1 -1
  111. package/dist/{tabs-ccIA7vMo.js → tabs-S00a8qq8.js} +5 -5
  112. package/dist/{tabs-ccIA7vMo.js.map → tabs-S00a8qq8.js.map} +1 -1
  113. package/dist/use-motion-value-eGwNuWuw.js.map +1 -1
  114. package/package.json +2 -2
  115. package/dist/autocomplete-Boida9R7.js.map +0 -1
  116. package/dist/calendar-BswV66Nx.js.map +0 -1
  117. package/dist/chevron-down-BBFYYzZq.js +0 -6
  118. package/dist/chevron-down-BBFYYzZq.js.map +0 -1
  119. package/dist/chevron-right-DvXGOiS_.js +0 -6
  120. package/dist/chevron-right-DvXGOiS_.js.map +0 -1
  121. package/dist/circle-check-big-3M5lhTxx.js +0 -9
  122. package/dist/circle-check-big-3M5lhTxx.js.map +0 -1
  123. package/dist/createLucideIcon-CP-mMPfa.js +0 -76
  124. package/dist/createLucideIcon-CP-mMPfa.js.map +0 -1
  125. package/dist/date-picker-BxPTdZPy.js.map +0 -1
  126. package/dist/file-CBCP85VI.js +0 -15
  127. package/dist/file-CBCP85VI.js.map +0 -1
  128. package/dist/file-upload-BB6BdGcE.js.map +0 -1
  129. package/dist/index-BJ1ayTam.js +0 -126
  130. package/dist/index-BJ1ayTam.js.map +0 -1
  131. package/dist/index-BtlhELJ3.js.map +0 -1
  132. package/dist/index-ChfR6F8d.js +0 -1590
  133. package/dist/index-ChfR6F8d.js.map +0 -1
  134. package/dist/index-DE4shK8D.js +0 -215
  135. package/dist/index-DE4shK8D.js.map +0 -1
  136. package/dist/info-N5jWZg2A.js +0 -10
  137. package/dist/info-N5jWZg2A.js.map +0 -1
  138. package/dist/input-field-DTeIrwpK.js +0 -146
  139. package/dist/input-field-DTeIrwpK.js.map +0 -1
  140. package/dist/notifications-NPuFDsBp.js +0 -2550
  141. package/dist/notifications-NPuFDsBp.js.map +0 -1
  142. package/dist/triangle-alert-CHMhQ6yd.js +0 -16
  143. package/dist/triangle-alert-CHMhQ6yd.js.map +0 -1
  144. package/dist/x-B9bYxG31.js +0 -9
  145. package/dist/x-B9bYxG31.js.map +0 -1
@@ -1,31 +1,32 @@
1
- import { jsxs as ne, jsx as S } from "react/jsx-runtime";
2
- import at, { useMemo as xe, useRef as be, useReducer as tt, useEffect as we, useCallback as V, forwardRef as it, useImperativeHandle as nt, Fragment as za, createContext as ot, useState as Ve, useContext as rt } from "react";
3
- import { u as Ra } from "./use-translations-BwLKTrZv.js";
4
- import { Modal as pt } from "./components/floating/modal.js";
5
- import { c as ue } from "./createLucideIcon-CP-mMPfa.js";
6
- import { F as ct } from "./file-CBCP85VI.js";
7
- import { X as lt } from "./x-B9bYxG31.js";
8
- var Gi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
- function Fa(e) {
1
+ import { jsxs as oe, jsx as Z } from "react/jsx-runtime";
2
+ import { o as rt } from "./File.es-CA-vuPED.js";
3
+ import * as n from "react";
4
+ import pt, { useMemo as ge, useRef as be, useReducer as lt, useEffect as Ee, useCallback as K, forwardRef as ct, useImperativeHandle as st, Fragment as Fa, createContext as dt, useState as Ke, useContext as mt } from "react";
5
+ import { p as fe } from "./IconBase.es-DJ1oCtpo.js";
6
+ import { e as ut } from "./X.es-BJ1O93El.js";
7
+ import { u as _a } from "./use-translations-BwLKTrZv.js";
8
+ import { Modal as ft } from "./components/floating/modal.js";
9
+ var Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
+ function Pa(e) {
10
11
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
11
12
  }
12
- function Ki(e) {
13
+ function Gi(e) {
13
14
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
14
15
  var a = e.default;
15
16
  if (typeof a == "function") {
16
17
  var t = function i() {
17
- var n = !1;
18
+ var o = !1;
18
19
  try {
19
- n = this instanceof i;
20
+ o = this instanceof i;
20
21
  } catch {
21
22
  }
22
- return n ? Reflect.construct(a, arguments, this.constructor) : a.apply(this, arguments);
23
+ return o ? Reflect.construct(a, arguments, this.constructor) : a.apply(this, arguments);
23
24
  };
24
25
  t.prototype = a.prototype;
25
26
  } else t = {};
26
27
  return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(i) {
27
- var n = Object.getOwnPropertyDescriptor(e, i);
28
- Object.defineProperty(t, i, n.get ? n : {
28
+ var o = Object.getOwnPropertyDescriptor(e, i);
29
+ Object.defineProperty(t, i, o.get ? o : {
29
30
  enumerable: !0,
30
31
  get: function() {
31
32
  return e[i];
@@ -33,88 +34,214 @@ function Ki(e) {
33
34
  });
34
35
  }), t;
35
36
  }
36
- const st = [
37
- ["path", { d: "M2 10v3", key: "1fnikh" }],
38
- ["path", { d: "M6 6v11", key: "11sgs0" }],
39
- ["path", { d: "M10 3v18", key: "yhl04a" }],
40
- ["path", { d: "M14 8v7", key: "3a1oy3" }],
41
- ["path", { d: "M18 5v13", key: "123xd1" }],
42
- ["path", { d: "M22 10v3", key: "154ddg" }]
43
- ], dt = ue("audio-lines", st);
44
- const mt = [
37
+ const vt = /* @__PURE__ */ new Map([
45
38
  [
46
- "path",
47
- {
48
- d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
49
- key: "1oefj6"
50
- }
39
+ "bold",
40
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M180.49,143.51a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L155,152l-15.52-15.51a12,12,0,1,1,17-17Zm-64-24a12,12,0,0,0-17,0l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,0,0,17-17L101,152l15.52-15.51A12,12,0,0,0,116.49,119.51ZM220,88V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88ZM160,57V80h23Zm36,155V104H148a12,12,0,0,1-12-12V44H60V212Z" }))
41
+ ],
42
+ [
43
+ "duotone",
44
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,88H152V32Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z" }))
45
+ ],
46
+ [
47
+ "fill",
48
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34Zm-104,88a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L91.31,152Zm72-12.68-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32l24,24A8,8,0,0,1,181.66,157.66ZM152,88V44l44,44Z" }))
51
49
  ],
52
- ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
53
50
  [
54
- "path",
55
- { d: "M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1", key: "1oajmo" }
51
+ "light",
52
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M180.24,147.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L167.51,152l-19.75-19.76a6,6,0,1,1,8.48-8.48Zm-72-24a6,6,0,0,0-8.48,0l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,1,0,8.48-8.48L88.49,152l19.75-19.76A6,6,0,0,0,108.24,123.76ZM214,88V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.52L158,46.48Zm44,134V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200A2,2,0,0,0,202,216Z" }))
56
53
  ],
57
54
  [
58
- "path",
59
- { d: "M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1", key: "mpwhp6" }
55
+ "regular",
56
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z" }))
57
+ ],
58
+ [
59
+ "thin",
60
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M178.83,149.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L170.34,152l-21.17-21.17a4,4,0,1,1,5.66-5.66Zm-72-24a4,4,0,0,0-5.66,0l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L85.66,152l21.17-21.17A4,4,0,0,0,106.83,125.17ZM212,88V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.65Zm48,132V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200A4,4,0,0,0,204,216Z" }))
60
61
  ]
61
- ], ut = ue("file-braces", mt);
62
- const ft = [
62
+ ]), xt = /* @__PURE__ */ new Map([
63
63
  [
64
- "path",
65
- {
66
- d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
67
- key: "1oefj6"
68
- }
64
+ "bold",
65
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z" }))
69
66
  ],
70
- ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
71
- ["path", { d: "M10 9H8", key: "b1mrlr" }],
72
- ["path", { d: "M16 13H8", key: "t4e002" }],
73
- ["path", { d: "M16 17H8", key: "z1uh3a" }]
74
- ], oa = ue("file-text", ft);
75
- const vt = [
76
67
  [
77
- "path",
78
- {
79
- d: "M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2",
80
- key: "jrl274"
81
- }
68
+ "duotone",
69
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,88H152V32Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z" }))
82
70
  ],
83
- ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
84
71
  [
85
- "path",
86
- {
87
- d: "m10 17.843 3.033-1.755a.64.64 0 0 1 .967.56v4.704a.65.65 0 0 1-.967.56L10 20.157",
88
- key: "17aeo9"
89
- }
72
+ "fill",
73
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z" }))
90
74
  ],
91
- ["rect", { width: "7", height: "6", x: "3", y: "16", rx: "1", key: "s27ndx" }]
92
- ], ra = ue("file-video-camera", vt);
93
- const xt = [
94
75
  [
95
- "path",
96
- {
97
- d: "m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",
98
- key: "usdka0"
99
- }
76
+ "light",
77
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z" }))
78
+ ],
79
+ [
80
+ "regular",
81
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z" }))
82
+ ],
83
+ [
84
+ "thin",
85
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z" }))
100
86
  ]
101
- ], gt = ue("folder-open", xt);
102
- const yt = [
87
+ ]), gt = /* @__PURE__ */ new Map([
103
88
  [
104
- "path",
105
- {
106
- d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",
107
- key: "1kt360"
108
- }
89
+ "bold",
90
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212a12,12,0,0,0,0,24h4a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM160,57l23,23H160Zm-1.91,84.69a12,12,0,0,0-11.92-.15L126.5,152.44A20,20,0,0,0,108,140H48a20,20,0,0,0-20,20v48a20,20,0,0,0,20,20h60a20,20,0,0,0,18.5-12.44l19.67,10.93A12,12,0,0,0,164,216V152A12,12,0,0,0,158.09,141.66ZM104,204H52V164h52Zm36-8.39-12-6.67v-9.88l12-6.67Z" }))
91
+ ],
92
+ [
93
+ "duotone",
94
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
95
+ "path",
96
+ {
97
+ d: "M208,88H152V32Zm-88,72a8,8,0,0,0-8-8H48a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V196l32,20V152l-32,20Z",
98
+ opacity: "0.2"
99
+ }
100
+ ), /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM112,208H48V160h64v48Zm32-6.43-16-10V176.43l16-10Z" }))
101
+ ],
102
+ [
103
+ "fill",
104
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM144,201.57l-16-10V176.43l16-10Z" }))
105
+ ],
106
+ [
107
+ "light",
108
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158Zm-3.09,100.27a6,6,0,0,0-6.09.16L126,161.17V160a14,14,0,0,0-14-14H48a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h64a14,14,0,0,0,14-14v-1.17l22.82,14.26A6,6,0,0,0,158,216V152A6,6,0,0,0,154.91,146.75ZM114,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V160a2,2,0,0,1,2-2h64a2,2,0,0,1,2,2Zm32-2.83-20-12.5V175.33l20-12.5Z" }))
109
+ ],
110
+ [
111
+ "regular",
112
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM112,208H48V160h64v48Zm32-6.43-16-10V176.43l16-10Z" }))
113
+ ],
114
+ [
115
+ "thin",
116
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4h-8a4,4,0,0,0,0,8h8a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM153.94,148.5a4,4,0,0,0-4.06.11L124,164.78V160a12,12,0,0,0-12-12H48a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12v-4.78l25.88,16.17A4,4,0,0,0,152,220a4.06,4.06,0,0,0,1.94-.5A4,4,0,0,0,156,216V152A4,4,0,0,0,153.94,148.5ZM116,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V160a4,4,0,0,1,4-4h64a4,4,0,0,1,4,4Zm32,.78-24-15V174.22l24-15Z" }))
109
117
  ]
110
- ], bt = ue("folder", yt);
111
- const ht = [
112
- ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
113
- ["line", { x1: "3", x2: "21", y1: "9", y2: "9", key: "1vqk6q" }],
114
- ["line", { x1: "3", x2: "21", y1: "15", y2: "15", key: "o2sbyz" }],
115
- ["line", { x1: "9", x2: "9", y1: "9", y2: "21", key: "1ib60c" }],
116
- ["line", { x1: "15", x2: "15", y1: "9", y2: "21", key: "1n26ft" }]
117
- ], Le = ue("sheet", ht), wt = [
118
+ ]), ht = /* @__PURE__ */ new Map([
119
+ [
120
+ "bold",
121
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z" }))
122
+ ],
123
+ [
124
+ "duotone",
125
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
126
+ "path",
127
+ {
128
+ d: "M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",
129
+ opacity: "0.2"
130
+ }
131
+ ), /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z" }))
132
+ ],
133
+ [
134
+ "fill",
135
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z" }))
136
+ ],
137
+ [
138
+ "light",
139
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z" }))
140
+ ],
141
+ [
142
+ "regular",
143
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z" }))
144
+ ],
145
+ [
146
+ "thin",
147
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z" }))
148
+ ]
149
+ ]), yt = /* @__PURE__ */ new Map([
150
+ [
151
+ "bold",
152
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M248.23,112.31A20,20,0,0,0,232,104H220V88a20,20,0,0,0-20-20H132L105.34,48a20.12,20.12,0,0,0-12-4H40A20,20,0,0,0,20,64V208a12,12,0,0,0,12,12H211.1a12,12,0,0,0,11.33-8l28.49-81.47.06-.17A20,20,0,0,0,248.23,112.31ZM92,68l28.8,21.6A12,12,0,0,0,128,92h68v12H69.77a20,20,0,0,0-18.94,13.58L44,137.15V68ZM202.59,196H48.89l23.72-68H226.37Z" }))
153
+ ],
154
+ [
155
+ "duotone",
156
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
157
+ "path",
158
+ {
159
+ d: "M208,88v24H69.77a8,8,0,0,0-7.59,5.47L32,208V64a8,8,0,0,1,8-8H93.33a8,8,0,0,1,4.8,1.6L128,80h72A8,8,0,0,1,208,88Z",
160
+ opacity: "0.2"
161
+ }
162
+ ), /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z" }))
163
+ ],
164
+ [
165
+ "fill",
166
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Z" }))
167
+ ],
168
+ [
169
+ "light",
170
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M243.36,111.81A14,14,0,0,0,232,106H214V88a14,14,0,0,0-14-14H130L101.74,52.8a14.06,14.06,0,0,0-8.4-2.8H40A14,14,0,0,0,26,64V208a6,6,0,0,0,6,6H211.1a6,6,0,0,0,5.69-4.1l28.49-85.47A14,14,0,0,0,243.36,111.81ZM40,62H93.34a2,2,0,0,1,1.2.4L124.4,84.8A6,6,0,0,0,128,86h72a2,2,0,0,1,2,2v18H69.77a14,14,0,0,0-13.28,9.57L38,171V64A2,2,0,0,1,40,62Zm193.9,58.63L206.78,202H40.33l27.54-82.63a2,2,0,0,1,1.9-1.37H232a2,2,0,0,1,1.9,2.63Z" }))
171
+ ],
172
+ [
173
+ "regular",
174
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z" }))
175
+ ],
176
+ [
177
+ "thin",
178
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M241.72,113a11.88,11.88,0,0,0-9.73-5H212V88a12,12,0,0,0-12-12H129.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H40A12,12,0,0,0,28,64V208a4,4,0,0,0,4,4H211.09a4,4,0,0,0,3.79-2.74l28.49-85.47A11.86,11.86,0,0,0,241.72,113ZM40,60H93.33a4,4,0,0,1,2.4.8L125.6,83.2a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4v20H69.76a12,12,0,0,0-11.38,8.21L36,183.35V64A4,4,0,0,1,40,60Zm195.78,61.26L208.2,204H37.55L66,118.74A4,4,0,0,1,69.76,116H232a4,4,0,0,1,3.79,5.26Z" }))
179
+ ]
180
+ ]), bt = /* @__PURE__ */ new Map([
181
+ [
182
+ "bold",
183
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM44,116H76v24H44Zm56,0H212v24H100ZM212,68V92H44V68ZM44,164H76v24H44Zm56,24V164H212v24Z" }))
184
+ ],
185
+ [
186
+ "duotone",
187
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M88,104v96H32V104Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
188
+ ],
189
+ [
190
+ "fill",
191
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
192
+ ],
193
+ [
194
+ "light",
195
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM38,110H82v36H38Zm56,0H218v36H94ZM218,62V98H38V62ZM38,192V158H82v36H40A2,2,0,0,1,38,192Zm178,2H94V158H218v34A2,2,0,0,1,216,194Z" }))
196
+ ],
197
+ [
198
+ "regular",
199
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
200
+ ],
201
+ [
202
+ "thin",
203
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52ZM36,108H84v40H36Zm56,0H220v40H92ZM220,60v40H36V60ZM36,192V156H84v40H40A4,4,0,0,1,36,192Zm180,4H92V156H220v36A4,4,0,0,1,216,196Z" }))
204
+ ]
205
+ ]), wt = /* @__PURE__ */ new Map([
206
+ [
207
+ "bold",
208
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z" }))
209
+ ],
210
+ [
211
+ "duotone",
212
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,96v64H48V96Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z" }))
213
+ ],
214
+ [
215
+ "fill",
216
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,152a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,32a8,8,0,0,1-16,0V72a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,8a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0Z" }))
217
+ ],
218
+ [
219
+ "light",
220
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M54,96v64a6,6,0,0,1-12,0V96a6,6,0,0,1,12,0ZM88,26a6,6,0,0,0-6,6V224a6,6,0,0,0,12,0V32A6,6,0,0,0,88,26Zm40,32a6,6,0,0,0-6,6V192a6,6,0,0,0,12,0V64A6,6,0,0,0,128,58Zm40,32a6,6,0,0,0-6,6v64a6,6,0,0,0,12,0V96A6,6,0,0,0,168,90Zm40-16a6,6,0,0,0-6,6v96a6,6,0,0,0,12,0V80A6,6,0,0,0,208,74Z" }))
221
+ ],
222
+ [
223
+ "regular",
224
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z" }))
225
+ ],
226
+ [
227
+ "thin",
228
+ /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M52,96v64a4,4,0,0,1-8,0V96a4,4,0,0,1,8,0ZM88,28a4,4,0,0,0-4,4V224a4,4,0,0,0,8,0V32A4,4,0,0,0,88,28Zm40,32a4,4,0,0,0-4,4V192a4,4,0,0,0,8,0V64A4,4,0,0,0,128,60Zm40,32a4,4,0,0,0-4,4v64a4,4,0,0,0,8,0V96A4,4,0,0,0,168,92Zm40-16a4,4,0,0,0-4,4v96a4,4,0,0,0,8,0V80A4,4,0,0,0,208,76Z" }))
229
+ ]
230
+ ]), Sa = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: vt }));
231
+ Sa.displayName = "FileCodeIcon";
232
+ const Je = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: xt }));
233
+ Je.displayName = "FileTextIcon";
234
+ const Xe = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: gt }));
235
+ Xe.displayName = "FileVideoIcon";
236
+ const za = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: ht }));
237
+ za.displayName = "FolderIcon";
238
+ const Ra = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: yt }));
239
+ Ra.displayName = "FolderOpenIcon";
240
+ const De = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: bt }));
241
+ De.displayName = "TableIcon";
242
+ const Ca = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: wt }));
243
+ Ca.displayName = "WaveformIcon";
244
+ const Et = [
118
245
  "B",
119
246
  "kB",
120
247
  "MB",
@@ -124,7 +251,7 @@ const ht = [
124
251
  "EB",
125
252
  "ZB",
126
253
  "YB"
127
- ], kt = [
254
+ ], At = [
128
255
  "B",
129
256
  "KiB",
130
257
  "MiB",
@@ -134,7 +261,7 @@ const ht = [
134
261
  "EiB",
135
262
  "ZiB",
136
263
  "YiB"
137
- ], Et = [
264
+ ], kt = [
138
265
  "b",
139
266
  "kbit",
140
267
  "Mbit",
@@ -154,15 +281,15 @@ const ht = [
154
281
  "Eibit",
155
282
  "Zibit",
156
283
  "Yibit"
157
- ], pa = (e, a, t) => {
284
+ ], la = (e, a, t) => {
158
285
  let i = e;
159
286
  return typeof a == "string" || Array.isArray(a) ? i = e.toLocaleString(a, t) : (a === !0 || t !== void 0) && (i = e.toLocaleString(void 0, t)), i;
160
- }, Ca = (e) => {
287
+ }, Ia = (e) => {
161
288
  if (typeof e == "number")
162
289
  return Math.log10(e);
163
290
  const a = e.toString(10);
164
291
  return a.length + Math.log10(`0.${a.slice(0, 15)}`);
165
- }, Tt = (e) => typeof e == "number" ? Math.log(e) : Ca(e) * Math.log(10), Dt = (e, a) => {
292
+ }, Ht = (e) => typeof e == "number" ? Math.log(e) : Ia(e) * Math.log(10), Vt = (e, a) => {
166
293
  if (typeof e == "number")
167
294
  return e / a;
168
295
  const t = e / BigInt(a), i = e % BigInt(a);
@@ -173,7 +300,7 @@ const ht = [
173
300
  if (typeof a != "number" || !Number.isSafeInteger(a) || a < 0)
174
301
  throw new TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof a}: ${a}`);
175
302
  return a === 0 ? e : e.length < a ? e.padStart(a, " ") : e;
176
- }, Ot = (e) => {
303
+ }, Mt = (e) => {
177
304
  const { minimumFractionDigits: a, maximumFractionDigits: t } = e;
178
305
  if (!(a === void 0 && t === void 0))
179
306
  return {
@@ -182,7 +309,7 @@ const ht = [
182
309
  roundingMode: "trunc"
183
310
  };
184
311
  };
185
- function _t(e, a) {
312
+ function Tt(e, a) {
186
313
  if (typeof e != "bigint" && !Number.isFinite(e))
187
314
  throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);
188
315
  a = {
@@ -192,563 +319,563 @@ function _t(e, a) {
192
319
  nonBreakingSpace: !1,
193
320
  ...a
194
321
  };
195
- const t = a.bits ? a.binary ? jt : Et : a.binary ? kt : wt, i = a.space ? a.nonBreakingSpace ? " " : " " : "", n = typeof e == "number" ? e === 0 : e === 0n;
196
- if (a.signed && n) {
197
- const v = ` 0${i}${t[0]}`;
198
- return ca(v, a.fixedWidth);
322
+ const t = a.bits ? a.binary ? jt : kt : a.binary ? At : Et, i = a.space ? a.nonBreakingSpace ? " " : " " : "", o = typeof e == "number" ? e === 0 : e === 0n;
323
+ if (a.signed && o) {
324
+ const x = ` 0${i}${t[0]}`;
325
+ return ca(x, a.fixedWidth);
199
326
  }
200
- const o = e < 0, p = o ? "-" : a.signed ? "+" : "";
201
- o && (e = -e);
202
- const c = Ot(a);
203
- let u;
327
+ const r = e < 0, l = r ? "-" : a.signed ? "+" : "";
328
+ r && (e = -e);
329
+ const c = Mt(a);
330
+ let f;
204
331
  if (e < 1) {
205
- const v = pa(e, a.locale, c);
206
- u = p + v + i + t[0];
332
+ const x = la(e, a.locale, c);
333
+ f = l + x + i + t[0];
207
334
  } else {
208
- const v = Math.min(Math.floor(a.binary ? Tt(e) / Math.log(1024) : Ca(e) / 3), t.length - 1);
209
- if (e = Dt(e, (a.binary ? 1024 : 1e3) ** v), !c) {
210
- const P = Math.max(3, Math.floor(e).toString().length);
211
- e = e.toPrecision(P);
335
+ const x = Math.min(Math.floor(a.binary ? Ht(e) / Math.log(1024) : Ia(e) / 3), t.length - 1);
336
+ if (e = Vt(e, (a.binary ? 1024 : 1e3) ** x), !c) {
337
+ const O = Math.max(3, Math.floor(e).toString().length);
338
+ e = e.toPrecision(O);
212
339
  }
213
- const x = pa(Number(e), a.locale, c), b = t[v];
214
- u = p + x + i + b;
340
+ const g = la(Number(e), a.locale, c), b = t[x];
341
+ f = l + g + i + b;
215
342
  }
216
- return ca(u, a.fixedWidth);
217
- }
218
- var De = { exports: {} }, Oe = { exports: {} }, _ = {};
219
- var la;
220
- function At() {
221
- if (la) return _;
222
- la = 1;
223
- var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, n = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, p = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, u = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, P = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, R = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, q = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, O = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, M = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, G = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, oe = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
224
- function $(d) {
225
- if (typeof d == "object" && d !== null) {
226
- var J = d.$$typeof;
227
- switch (J) {
343
+ return ca(f, a.fixedWidth);
344
+ }
345
+ var Ve = { exports: {} }, Me = { exports: {} }, T = {};
346
+ var sa;
347
+ function Dt() {
348
+ if (sa) return T;
349
+ sa = 1;
350
+ var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
351
+ function I(m) {
352
+ if (typeof m == "object" && m !== null) {
353
+ var X = m.$$typeof;
354
+ switch (X) {
228
355
  case a:
229
- switch (d = d.type, d) {
230
- case u:
231
- case v:
356
+ switch (m = m.type, m) {
357
+ case f:
358
+ case x:
232
359
  case i:
360
+ case r:
233
361
  case o:
234
- case n:
235
362
  case b:
236
- return d;
363
+ return m;
237
364
  default:
238
- switch (d = d && d.$$typeof, d) {
365
+ switch (m = m && m.$$typeof, m) {
239
366
  case c:
240
- case x:
241
- case q:
242
- case R:
243
- case p:
244
- return d;
367
+ case g:
368
+ case C:
369
+ case _:
370
+ case l:
371
+ return m;
245
372
  default:
246
- return J;
373
+ return X;
247
374
  }
248
375
  }
249
376
  case t:
250
- return J;
377
+ return X;
251
378
  }
252
379
  }
253
380
  }
254
- function L(d) {
255
- return $(d) === v;
381
+ function L(m) {
382
+ return I(m) === x;
256
383
  }
257
- return _.AsyncMode = u, _.ConcurrentMode = v, _.ContextConsumer = c, _.ContextProvider = p, _.Element = a, _.ForwardRef = x, _.Fragment = i, _.Lazy = q, _.Memo = R, _.Portal = t, _.Profiler = o, _.StrictMode = n, _.Suspense = b, _.isAsyncMode = function(d) {
258
- return L(d) || $(d) === u;
259
- }, _.isConcurrentMode = L, _.isContextConsumer = function(d) {
260
- return $(d) === c;
261
- }, _.isContextProvider = function(d) {
262
- return $(d) === p;
263
- }, _.isElement = function(d) {
264
- return typeof d == "object" && d !== null && d.$$typeof === a;
265
- }, _.isForwardRef = function(d) {
266
- return $(d) === x;
267
- }, _.isFragment = function(d) {
268
- return $(d) === i;
269
- }, _.isLazy = function(d) {
270
- return $(d) === q;
271
- }, _.isMemo = function(d) {
272
- return $(d) === R;
273
- }, _.isPortal = function(d) {
274
- return $(d) === t;
275
- }, _.isProfiler = function(d) {
276
- return $(d) === o;
277
- }, _.isStrictMode = function(d) {
278
- return $(d) === n;
279
- }, _.isSuspense = function(d) {
280
- return $(d) === b;
281
- }, _.isValidElementType = function(d) {
282
- return typeof d == "string" || typeof d == "function" || d === i || d === v || d === o || d === n || d === b || d === P || typeof d == "object" && d !== null && (d.$$typeof === q || d.$$typeof === R || d.$$typeof === p || d.$$typeof === c || d.$$typeof === x || d.$$typeof === M || d.$$typeof === G || d.$$typeof === oe || d.$$typeof === O);
283
- }, _.typeOf = $, _;
284
- }
285
- var A = {};
286
- var sa;
287
- function St() {
288
- return sa || (sa = 1, process.env.NODE_ENV !== "production" && (function() {
289
- var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, n = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, p = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, u = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, P = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, R = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, q = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, O = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, M = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, G = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, oe = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
290
- function $(l) {
291
- return typeof l == "string" || typeof l == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
292
- l === i || l === v || l === o || l === n || l === b || l === P || typeof l == "object" && l !== null && (l.$$typeof === q || l.$$typeof === R || l.$$typeof === p || l.$$typeof === c || l.$$typeof === x || l.$$typeof === M || l.$$typeof === G || l.$$typeof === oe || l.$$typeof === O);
384
+ return T.AsyncMode = f, T.ConcurrentMode = x, T.ContextConsumer = c, T.ContextProvider = l, T.Element = a, T.ForwardRef = g, T.Fragment = i, T.Lazy = C, T.Memo = _, T.Portal = t, T.Profiler = r, T.StrictMode = o, T.Suspense = b, T.isAsyncMode = function(m) {
385
+ return L(m) || I(m) === f;
386
+ }, T.isConcurrentMode = L, T.isContextConsumer = function(m) {
387
+ return I(m) === c;
388
+ }, T.isContextProvider = function(m) {
389
+ return I(m) === l;
390
+ }, T.isElement = function(m) {
391
+ return typeof m == "object" && m !== null && m.$$typeof === a;
392
+ }, T.isForwardRef = function(m) {
393
+ return I(m) === g;
394
+ }, T.isFragment = function(m) {
395
+ return I(m) === i;
396
+ }, T.isLazy = function(m) {
397
+ return I(m) === C;
398
+ }, T.isMemo = function(m) {
399
+ return I(m) === _;
400
+ }, T.isPortal = function(m) {
401
+ return I(m) === t;
402
+ }, T.isProfiler = function(m) {
403
+ return I(m) === r;
404
+ }, T.isStrictMode = function(m) {
405
+ return I(m) === o;
406
+ }, T.isSuspense = function(m) {
407
+ return I(m) === b;
408
+ }, T.isValidElementType = function(m) {
409
+ return typeof m == "string" || typeof m == "function" || m === i || m === x || m === r || m === o || m === b || m === O || typeof m == "object" && m !== null && (m.$$typeof === C || m.$$typeof === _ || m.$$typeof === l || m.$$typeof === c || m.$$typeof === g || m.$$typeof === R || m.$$typeof === U || m.$$typeof === re || m.$$typeof === M);
410
+ }, T.typeOf = I, T;
411
+ }
412
+ var D = {};
413
+ var da;
414
+ function Zt() {
415
+ return da || (da = 1, process.env.NODE_ENV !== "production" && (function() {
416
+ var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
417
+ function I(s) {
418
+ return typeof s == "string" || typeof s == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
419
+ s === i || s === x || s === r || s === o || s === b || s === O || typeof s == "object" && s !== null && (s.$$typeof === C || s.$$typeof === _ || s.$$typeof === l || s.$$typeof === c || s.$$typeof === g || s.$$typeof === R || s.$$typeof === U || s.$$typeof === re || s.$$typeof === M);
293
420
  }
294
- function L(l) {
295
- if (typeof l == "object" && l !== null) {
296
- var W = l.$$typeof;
297
- switch (W) {
421
+ function L(s) {
422
+ if (typeof s == "object" && s !== null) {
423
+ var B = s.$$typeof;
424
+ switch (B) {
298
425
  case a:
299
- var de = l.type;
300
- switch (de) {
301
- case u:
302
- case v:
426
+ var me = s.type;
427
+ switch (me) {
428
+ case f:
429
+ case x:
303
430
  case i:
431
+ case r:
304
432
  case o:
305
- case n:
306
433
  case b:
307
- return de;
434
+ return me;
308
435
  default:
309
- var ye = de && de.$$typeof;
436
+ var ye = me && me.$$typeof;
310
437
  switch (ye) {
311
438
  case c:
312
- case x:
313
- case q:
314
- case R:
315
- case p:
439
+ case g:
440
+ case C:
441
+ case _:
442
+ case l:
316
443
  return ye;
317
444
  default:
318
- return W;
445
+ return B;
319
446
  }
320
447
  }
321
448
  case t:
322
- return W;
449
+ return B;
323
450
  }
324
451
  }
325
452
  }
326
- var d = u, J = v, Z = c, ce = p, ae = a, te = x, le = i, se = q, re = R, C = t, H = o, K = n, X = b, pe = !1;
327
- function N(l) {
328
- return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), r(l) || L(l) === u;
453
+ var m = f, X = x, J = c, ce = l, te = a, ie = g, se = i, de = C, pe = _, S = t, W = r, G = o, Q = b, le = !1;
454
+ function q(s) {
455
+ return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), p(s) || L(s) === f;
329
456
  }
330
- function r(l) {
331
- return L(l) === v;
457
+ function p(s) {
458
+ return L(s) === x;
332
459
  }
333
- function m(l) {
334
- return L(l) === c;
460
+ function u(s) {
461
+ return L(s) === c;
335
462
  }
336
- function h(l) {
337
- return L(l) === p;
463
+ function w(s) {
464
+ return L(s) === l;
338
465
  }
339
- function E(l) {
340
- return typeof l == "object" && l !== null && l.$$typeof === a;
466
+ function k(s) {
467
+ return typeof s == "object" && s !== null && s.$$typeof === a;
341
468
  }
342
- function g(l) {
343
- return L(l) === x;
469
+ function h(s) {
470
+ return L(s) === g;
344
471
  }
345
- function w(l) {
346
- return L(l) === i;
472
+ function E(s) {
473
+ return L(s) === i;
347
474
  }
348
- function k(l) {
349
- return L(l) === q;
475
+ function A(s) {
476
+ return L(s) === C;
350
477
  }
351
- function y(l) {
352
- return L(l) === R;
478
+ function y(s) {
479
+ return L(s) === _;
353
480
  }
354
- function j(l) {
355
- return L(l) === t;
481
+ function j(s) {
482
+ return L(s) === t;
356
483
  }
357
- function D(l) {
358
- return L(l) === o;
484
+ function V(s) {
485
+ return L(s) === r;
359
486
  }
360
- function T(l) {
361
- return L(l) === n;
487
+ function H(s) {
488
+ return L(s) === o;
362
489
  }
363
- function Y(l) {
364
- return L(l) === b;
490
+ function N(s) {
491
+ return L(s) === b;
365
492
  }
366
- A.AsyncMode = d, A.ConcurrentMode = J, A.ContextConsumer = Z, A.ContextProvider = ce, A.Element = ae, A.ForwardRef = te, A.Fragment = le, A.Lazy = se, A.Memo = re, A.Portal = C, A.Profiler = H, A.StrictMode = K, A.Suspense = X, A.isAsyncMode = N, A.isConcurrentMode = r, A.isContextConsumer = m, A.isContextProvider = h, A.isElement = E, A.isForwardRef = g, A.isFragment = w, A.isLazy = k, A.isMemo = y, A.isPortal = j, A.isProfiler = D, A.isStrictMode = T, A.isSuspense = Y, A.isValidElementType = $, A.typeOf = L;
367
- })()), A;
493
+ D.AsyncMode = m, D.ConcurrentMode = X, D.ContextConsumer = J, D.ContextProvider = ce, D.Element = te, D.ForwardRef = ie, D.Fragment = se, D.Lazy = de, D.Memo = pe, D.Portal = S, D.Profiler = W, D.StrictMode = G, D.Suspense = Q, D.isAsyncMode = q, D.isConcurrentMode = p, D.isContextConsumer = u, D.isContextProvider = w, D.isElement = k, D.isForwardRef = h, D.isFragment = E, D.isLazy = A, D.isMemo = y, D.isPortal = j, D.isProfiler = V, D.isStrictMode = H, D.isSuspense = N, D.isValidElementType = I, D.typeOf = L;
494
+ })()), D;
368
495
  }
369
- var da;
370
- function Ia() {
371
- return da || (da = 1, process.env.NODE_ENV === "production" ? Oe.exports = At() : Oe.exports = St()), Oe.exports;
496
+ var ma;
497
+ function La() {
498
+ return ma || (ma = 1, process.env.NODE_ENV === "production" ? Me.exports = Dt() : Me.exports = Zt()), Me.exports;
372
499
  }
373
- var Ne, ma;
374
- function Pt() {
375
- if (ma) return Ne;
376
- ma = 1;
500
+ var qe, ua;
501
+ function Ot() {
502
+ if (ua) return qe;
503
+ ua = 1;
377
504
  var e = Object.getOwnPropertySymbols, a = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
378
- function i(o) {
379
- if (o == null)
505
+ function i(r) {
506
+ if (r == null)
380
507
  throw new TypeError("Object.assign cannot be called with null or undefined");
381
- return Object(o);
508
+ return Object(r);
382
509
  }
383
- function n() {
510
+ function o() {
384
511
  try {
385
512
  if (!Object.assign)
386
513
  return !1;
387
- var o = new String("abc");
388
- if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
514
+ var r = new String("abc");
515
+ if (r[5] = "de", Object.getOwnPropertyNames(r)[0] === "5")
389
516
  return !1;
390
- for (var p = {}, c = 0; c < 10; c++)
391
- p["_" + String.fromCharCode(c)] = c;
392
- var u = Object.getOwnPropertyNames(p).map(function(x) {
393
- return p[x];
517
+ for (var l = {}, c = 0; c < 10; c++)
518
+ l["_" + String.fromCharCode(c)] = c;
519
+ var f = Object.getOwnPropertyNames(l).map(function(g) {
520
+ return l[g];
394
521
  });
395
- if (u.join("") !== "0123456789")
522
+ if (f.join("") !== "0123456789")
396
523
  return !1;
397
- var v = {};
398
- return "abcdefghijklmnopqrst".split("").forEach(function(x) {
399
- v[x] = x;
400
- }), Object.keys(Object.assign({}, v)).join("") === "abcdefghijklmnopqrst";
524
+ var x = {};
525
+ return "abcdefghijklmnopqrst".split("").forEach(function(g) {
526
+ x[g] = g;
527
+ }), Object.keys(Object.assign({}, x)).join("") === "abcdefghijklmnopqrst";
401
528
  } catch {
402
529
  return !1;
403
530
  }
404
531
  }
405
- return Ne = n() ? Object.assign : function(o, p) {
406
- for (var c, u = i(o), v, x = 1; x < arguments.length; x++) {
407
- c = Object(arguments[x]);
532
+ return qe = o() ? Object.assign : function(r, l) {
533
+ for (var c, f = i(r), x, g = 1; g < arguments.length; g++) {
534
+ c = Object(arguments[g]);
408
535
  for (var b in c)
409
- a.call(c, b) && (u[b] = c[b]);
536
+ a.call(c, b) && (f[b] = c[b]);
410
537
  if (e) {
411
- v = e(c);
412
- for (var P = 0; P < v.length; P++)
413
- t.call(c, v[P]) && (u[v[P]] = c[v[P]]);
538
+ x = e(c);
539
+ for (var O = 0; O < x.length; O++)
540
+ t.call(c, x[O]) && (f[x[O]] = c[x[O]]);
414
541
  }
415
542
  }
416
- return u;
417
- }, Ne;
543
+ return f;
544
+ }, qe;
418
545
  }
419
- var Be, ua;
420
- function aa() {
421
- if (ua) return Be;
422
- ua = 1;
546
+ var $e, fa;
547
+ function na() {
548
+ if (fa) return $e;
549
+ fa = 1;
423
550
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
424
- return Be = e, Be;
551
+ return $e = e, $e;
425
552
  }
426
- var Ye, fa;
427
- function Ma() {
428
- return fa || (fa = 1, Ye = Function.call.bind(Object.prototype.hasOwnProperty)), Ye;
553
+ var Ne, va;
554
+ function qa() {
555
+ return va || (va = 1, Ne = Function.call.bind(Object.prototype.hasOwnProperty)), Ne;
429
556
  }
430
- var We, va;
431
- function zt() {
432
- if (va) return We;
433
- va = 1;
557
+ var Be, xa;
558
+ function Ft() {
559
+ if (xa) return Be;
560
+ xa = 1;
434
561
  var e = function() {
435
562
  };
436
563
  if (process.env.NODE_ENV !== "production") {
437
- var a = /* @__PURE__ */ aa(), t = {}, i = /* @__PURE__ */ Ma();
438
- e = function(o) {
439
- var p = "Warning: " + o;
440
- typeof console < "u" && console.error(p);
564
+ var a = /* @__PURE__ */ na(), t = {}, i = /* @__PURE__ */ qa();
565
+ e = function(r) {
566
+ var l = "Warning: " + r;
567
+ typeof console < "u" && console.error(l);
441
568
  try {
442
- throw new Error(p);
569
+ throw new Error(l);
443
570
  } catch {
444
571
  }
445
572
  };
446
573
  }
447
- function n(o, p, c, u, v) {
574
+ function o(r, l, c, f, x) {
448
575
  if (process.env.NODE_ENV !== "production") {
449
- for (var x in o)
450
- if (i(o, x)) {
576
+ for (var g in r)
577
+ if (i(r, g)) {
451
578
  var b;
452
579
  try {
453
- if (typeof o[x] != "function") {
454
- var P = Error(
455
- (u || "React class") + ": " + c + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
580
+ if (typeof r[g] != "function") {
581
+ var O = Error(
582
+ (f || "React class") + ": " + c + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
456
583
  );
457
- throw P.name = "Invariant Violation", P;
584
+ throw O.name = "Invariant Violation", O;
458
585
  }
459
- b = o[x](p, x, u, c, null, a);
460
- } catch (q) {
461
- b = q;
586
+ b = r[g](l, g, f, c, null, a);
587
+ } catch (C) {
588
+ b = C;
462
589
  }
463
590
  if (b && !(b instanceof Error) && e(
464
- (u || "React class") + ": type specification of " + c + " `" + x + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
591
+ (f || "React class") + ": type specification of " + c + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
465
592
  ), b instanceof Error && !(b.message in t)) {
466
593
  t[b.message] = !0;
467
- var R = v ? v() : "";
594
+ var _ = x ? x() : "";
468
595
  e(
469
- "Failed " + c + " type: " + b.message + (R ?? "")
596
+ "Failed " + c + " type: " + b.message + (_ ?? "")
470
597
  );
471
598
  }
472
599
  }
473
600
  }
474
601
  }
475
- return n.resetWarningCache = function() {
602
+ return o.resetWarningCache = function() {
476
603
  process.env.NODE_ENV !== "production" && (t = {});
477
- }, We = n, We;
604
+ }, Be = o, Be;
478
605
  }
479
- var Ue, xa;
480
- function Rt() {
481
- if (xa) return Ue;
482
- xa = 1;
483
- var e = Ia(), a = Pt(), t = /* @__PURE__ */ aa(), i = /* @__PURE__ */ Ma(), n = /* @__PURE__ */ zt(), o = function() {
606
+ var Ye, ga;
607
+ function _t() {
608
+ if (ga) return Ye;
609
+ ga = 1;
610
+ var e = La(), a = Ot(), t = /* @__PURE__ */ na(), i = /* @__PURE__ */ qa(), o = /* @__PURE__ */ Ft(), r = function() {
484
611
  };
485
- process.env.NODE_ENV !== "production" && (o = function(c) {
486
- var u = "Warning: " + c;
487
- typeof console < "u" && console.error(u);
612
+ process.env.NODE_ENV !== "production" && (r = function(c) {
613
+ var f = "Warning: " + c;
614
+ typeof console < "u" && console.error(f);
488
615
  try {
489
- throw new Error(u);
616
+ throw new Error(f);
490
617
  } catch {
491
618
  }
492
619
  });
493
- function p() {
620
+ function l() {
494
621
  return null;
495
622
  }
496
- return Ue = function(c, u) {
497
- var v = typeof Symbol == "function" && Symbol.iterator, x = "@@iterator";
498
- function b(r) {
499
- var m = r && (v && r[v] || r[x]);
500
- if (typeof m == "function")
501
- return m;
623
+ return Ye = function(c, f) {
624
+ var x = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
625
+ function b(p) {
626
+ var u = p && (x && p[x] || p[g]);
627
+ if (typeof u == "function")
628
+ return u;
502
629
  }
503
- var P = "<<anonymous>>", R = {
504
- array: G("array"),
505
- bigint: G("bigint"),
506
- bool: G("boolean"),
507
- func: G("function"),
508
- number: G("number"),
509
- object: G("object"),
510
- string: G("string"),
511
- symbol: G("symbol"),
512
- any: oe(),
513
- arrayOf: $,
630
+ var O = "<<anonymous>>", _ = {
631
+ array: U("array"),
632
+ bigint: U("bigint"),
633
+ bool: U("boolean"),
634
+ func: U("function"),
635
+ number: U("number"),
636
+ object: U("object"),
637
+ string: U("string"),
638
+ symbol: U("symbol"),
639
+ any: re(),
640
+ arrayOf: I,
514
641
  element: L(),
515
- elementType: d(),
516
- instanceOf: J,
517
- node: te(),
642
+ elementType: m(),
643
+ instanceOf: X,
644
+ node: ie(),
518
645
  objectOf: ce,
519
- oneOf: Z,
520
- oneOfType: ae,
521
- shape: se,
522
- exact: re
646
+ oneOf: J,
647
+ oneOfType: te,
648
+ shape: de,
649
+ exact: pe
523
650
  };
524
- function q(r, m) {
525
- return r === m ? r !== 0 || 1 / r === 1 / m : r !== r && m !== m;
651
+ function C(p, u) {
652
+ return p === u ? p !== 0 || 1 / p === 1 / u : p !== p && u !== u;
526
653
  }
527
- function O(r, m) {
528
- this.message = r, this.data = m && typeof m == "object" ? m : {}, this.stack = "";
654
+ function M(p, u) {
655
+ this.message = p, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
529
656
  }
530
- O.prototype = Error.prototype;
531
- function M(r) {
657
+ M.prototype = Error.prototype;
658
+ function R(p) {
532
659
  if (process.env.NODE_ENV !== "production")
533
- var m = {}, h = 0;
534
- function E(w, k, y, j, D, T, Y) {
535
- if (j = j || P, T = T || y, Y !== t) {
536
- if (u) {
537
- var l = new Error(
660
+ var u = {}, w = 0;
661
+ function k(E, A, y, j, V, H, N) {
662
+ if (j = j || O, H = H || y, N !== t) {
663
+ if (f) {
664
+ var s = new Error(
538
665
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
539
666
  );
540
- throw l.name = "Invariant Violation", l;
667
+ throw s.name = "Invariant Violation", s;
541
668
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
542
- var W = j + ":" + y;
543
- !m[W] && // Avoid spamming the console because they are often not actionable except for lib authors
544
- h < 3 && (o(
545
- "You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + j + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
546
- ), m[W] = !0, h++);
669
+ var B = j + ":" + y;
670
+ !u[B] && // Avoid spamming the console because they are often not actionable except for lib authors
671
+ w < 3 && (r(
672
+ "You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + j + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
673
+ ), u[B] = !0, w++);
547
674
  }
548
675
  }
549
- return k[y] == null ? w ? k[y] === null ? new O("The " + D + " `" + T + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new O("The " + D + " `" + T + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : r(k, y, j, D, T);
676
+ return A[y] == null ? E ? A[y] === null ? new M("The " + V + " `" + H + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new M("The " + V + " `" + H + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : p(A, y, j, V, H);
550
677
  }
551
- var g = E.bind(null, !1);
552
- return g.isRequired = E.bind(null, !0), g;
678
+ var h = k.bind(null, !1);
679
+ return h.isRequired = k.bind(null, !0), h;
553
680
  }
554
- function G(r) {
555
- function m(h, E, g, w, k, y) {
556
- var j = h[E], D = K(j);
557
- if (D !== r) {
558
- var T = X(j);
559
- return new O(
560
- "Invalid " + w + " `" + k + "` of type " + ("`" + T + "` supplied to `" + g + "`, expected ") + ("`" + r + "`."),
561
- { expectedType: r }
681
+ function U(p) {
682
+ function u(w, k, h, E, A, y) {
683
+ var j = w[k], V = G(j);
684
+ if (V !== p) {
685
+ var H = Q(j);
686
+ return new M(
687
+ "Invalid " + E + " `" + A + "` of type " + ("`" + H + "` supplied to `" + h + "`, expected ") + ("`" + p + "`."),
688
+ { expectedType: p }
562
689
  );
563
690
  }
564
691
  return null;
565
692
  }
566
- return M(m);
693
+ return R(u);
567
694
  }
568
- function oe() {
569
- return M(p);
695
+ function re() {
696
+ return R(l);
570
697
  }
571
- function $(r) {
572
- function m(h, E, g, w, k) {
573
- if (typeof r != "function")
574
- return new O("Property `" + k + "` of component `" + g + "` has invalid PropType notation inside arrayOf.");
575
- var y = h[E];
698
+ function I(p) {
699
+ function u(w, k, h, E, A) {
700
+ if (typeof p != "function")
701
+ return new M("Property `" + A + "` of component `" + h + "` has invalid PropType notation inside arrayOf.");
702
+ var y = w[k];
576
703
  if (!Array.isArray(y)) {
577
- var j = K(y);
578
- return new O("Invalid " + w + " `" + k + "` of type " + ("`" + j + "` supplied to `" + g + "`, expected an array."));
704
+ var j = G(y);
705
+ return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected an array."));
579
706
  }
580
- for (var D = 0; D < y.length; D++) {
581
- var T = r(y, D, g, w, k + "[" + D + "]", t);
582
- if (T instanceof Error)
583
- return T;
707
+ for (var V = 0; V < y.length; V++) {
708
+ var H = p(y, V, h, E, A + "[" + V + "]", t);
709
+ if (H instanceof Error)
710
+ return H;
584
711
  }
585
712
  return null;
586
713
  }
587
- return M(m);
714
+ return R(u);
588
715
  }
589
716
  function L() {
590
- function r(m, h, E, g, w) {
591
- var k = m[h];
592
- if (!c(k)) {
593
- var y = K(k);
594
- return new O("Invalid " + g + " `" + w + "` of type " + ("`" + y + "` supplied to `" + E + "`, expected a single ReactElement."));
717
+ function p(u, w, k, h, E) {
718
+ var A = u[w];
719
+ if (!c(A)) {
720
+ var y = G(A);
721
+ return new M("Invalid " + h + " `" + E + "` of type " + ("`" + y + "` supplied to `" + k + "`, expected a single ReactElement."));
595
722
  }
596
723
  return null;
597
724
  }
598
- return M(r);
725
+ return R(p);
599
726
  }
600
- function d() {
601
- function r(m, h, E, g, w) {
602
- var k = m[h];
603
- if (!e.isValidElementType(k)) {
604
- var y = K(k);
605
- return new O("Invalid " + g + " `" + w + "` of type " + ("`" + y + "` supplied to `" + E + "`, expected a single ReactElement type."));
727
+ function m() {
728
+ function p(u, w, k, h, E) {
729
+ var A = u[w];
730
+ if (!e.isValidElementType(A)) {
731
+ var y = G(A);
732
+ return new M("Invalid " + h + " `" + E + "` of type " + ("`" + y + "` supplied to `" + k + "`, expected a single ReactElement type."));
606
733
  }
607
734
  return null;
608
735
  }
609
- return M(r);
736
+ return R(p);
610
737
  }
611
- function J(r) {
612
- function m(h, E, g, w, k) {
613
- if (!(h[E] instanceof r)) {
614
- var y = r.name || P, j = N(h[E]);
615
- return new O("Invalid " + w + " `" + k + "` of type " + ("`" + j + "` supplied to `" + g + "`, expected ") + ("instance of `" + y + "`."));
738
+ function X(p) {
739
+ function u(w, k, h, E, A) {
740
+ if (!(w[k] instanceof p)) {
741
+ var y = p.name || O, j = q(w[k]);
742
+ return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected ") + ("instance of `" + y + "`."));
616
743
  }
617
744
  return null;
618
745
  }
619
- return M(m);
746
+ return R(u);
620
747
  }
621
- function Z(r) {
622
- if (!Array.isArray(r))
623
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
748
+ function J(p) {
749
+ if (!Array.isArray(p))
750
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
624
751
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
625
- ) : o("Invalid argument supplied to oneOf, expected an array.")), p;
626
- function m(h, E, g, w, k) {
627
- for (var y = h[E], j = 0; j < r.length; j++)
628
- if (q(y, r[j]))
752
+ ) : r("Invalid argument supplied to oneOf, expected an array.")), l;
753
+ function u(w, k, h, E, A) {
754
+ for (var y = w[k], j = 0; j < p.length; j++)
755
+ if (C(y, p[j]))
629
756
  return null;
630
- var D = JSON.stringify(r, function(Y, l) {
631
- var W = X(l);
632
- return W === "symbol" ? String(l) : l;
757
+ var V = JSON.stringify(p, function(N, s) {
758
+ var B = Q(s);
759
+ return B === "symbol" ? String(s) : s;
633
760
  });
634
- return new O("Invalid " + w + " `" + k + "` of value `" + String(y) + "` " + ("supplied to `" + g + "`, expected one of " + D + "."));
761
+ return new M("Invalid " + E + " `" + A + "` of value `" + String(y) + "` " + ("supplied to `" + h + "`, expected one of " + V + "."));
635
762
  }
636
- return M(m);
763
+ return R(u);
637
764
  }
638
- function ce(r) {
639
- function m(h, E, g, w, k) {
640
- if (typeof r != "function")
641
- return new O("Property `" + k + "` of component `" + g + "` has invalid PropType notation inside objectOf.");
642
- var y = h[E], j = K(y);
765
+ function ce(p) {
766
+ function u(w, k, h, E, A) {
767
+ if (typeof p != "function")
768
+ return new M("Property `" + A + "` of component `" + h + "` has invalid PropType notation inside objectOf.");
769
+ var y = w[k], j = G(y);
643
770
  if (j !== "object")
644
- return new O("Invalid " + w + " `" + k + "` of type " + ("`" + j + "` supplied to `" + g + "`, expected an object."));
645
- for (var D in y)
646
- if (i(y, D)) {
647
- var T = r(y, D, g, w, k + "." + D, t);
648
- if (T instanceof Error)
649
- return T;
771
+ return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected an object."));
772
+ for (var V in y)
773
+ if (i(y, V)) {
774
+ var H = p(y, V, h, E, A + "." + V, t);
775
+ if (H instanceof Error)
776
+ return H;
650
777
  }
651
778
  return null;
652
779
  }
653
- return M(m);
780
+ return R(u);
654
781
  }
655
- function ae(r) {
656
- if (!Array.isArray(r))
657
- return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), p;
658
- for (var m = 0; m < r.length; m++) {
659
- var h = r[m];
660
- if (typeof h != "function")
661
- return o(
662
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(h) + " at index " + m + "."
663
- ), p;
782
+ function te(p) {
783
+ if (!Array.isArray(p))
784
+ return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), l;
785
+ for (var u = 0; u < p.length; u++) {
786
+ var w = p[u];
787
+ if (typeof w != "function")
788
+ return r(
789
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + le(w) + " at index " + u + "."
790
+ ), l;
664
791
  }
665
- function E(g, w, k, y, j) {
666
- for (var D = [], T = 0; T < r.length; T++) {
667
- var Y = r[T], l = Y(g, w, k, y, j, t);
668
- if (l == null)
792
+ function k(h, E, A, y, j) {
793
+ for (var V = [], H = 0; H < p.length; H++) {
794
+ var N = p[H], s = N(h, E, A, y, j, t);
795
+ if (s == null)
669
796
  return null;
670
- l.data && i(l.data, "expectedType") && D.push(l.data.expectedType);
797
+ s.data && i(s.data, "expectedType") && V.push(s.data.expectedType);
671
798
  }
672
- var W = D.length > 0 ? ", expected one of type [" + D.join(", ") + "]" : "";
673
- return new O("Invalid " + y + " `" + j + "` supplied to " + ("`" + k + "`" + W + "."));
799
+ var B = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
800
+ return new M("Invalid " + y + " `" + j + "` supplied to " + ("`" + A + "`" + B + "."));
674
801
  }
675
- return M(E);
802
+ return R(k);
676
803
  }
677
- function te() {
678
- function r(m, h, E, g, w) {
679
- return C(m[h]) ? null : new O("Invalid " + g + " `" + w + "` supplied to " + ("`" + E + "`, expected a ReactNode."));
804
+ function ie() {
805
+ function p(u, w, k, h, E) {
806
+ return S(u[w]) ? null : new M("Invalid " + h + " `" + E + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
680
807
  }
681
- return M(r);
808
+ return R(p);
682
809
  }
683
- function le(r, m, h, E, g) {
684
- return new O(
685
- (r || "React class") + ": " + m + " type `" + h + "." + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + g + "`."
810
+ function se(p, u, w, k, h) {
811
+ return new M(
812
+ (p || "React class") + ": " + u + " type `" + w + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + h + "`."
686
813
  );
687
814
  }
688
- function se(r) {
689
- function m(h, E, g, w, k) {
690
- var y = h[E], j = K(y);
815
+ function de(p) {
816
+ function u(w, k, h, E, A) {
817
+ var y = w[k], j = G(y);
691
818
  if (j !== "object")
692
- return new O("Invalid " + w + " `" + k + "` of type `" + j + "` " + ("supplied to `" + g + "`, expected `object`."));
693
- for (var D in r) {
694
- var T = r[D];
695
- if (typeof T != "function")
696
- return le(g, w, k, D, X(T));
697
- var Y = T(y, D, g, w, k + "." + D, t);
698
- if (Y)
699
- return Y;
819
+ return new M("Invalid " + E + " `" + A + "` of type `" + j + "` " + ("supplied to `" + h + "`, expected `object`."));
820
+ for (var V in p) {
821
+ var H = p[V];
822
+ if (typeof H != "function")
823
+ return se(h, E, A, V, Q(H));
824
+ var N = H(y, V, h, E, A + "." + V, t);
825
+ if (N)
826
+ return N;
700
827
  }
701
828
  return null;
702
829
  }
703
- return M(m);
830
+ return R(u);
704
831
  }
705
- function re(r) {
706
- function m(h, E, g, w, k) {
707
- var y = h[E], j = K(y);
832
+ function pe(p) {
833
+ function u(w, k, h, E, A) {
834
+ var y = w[k], j = G(y);
708
835
  if (j !== "object")
709
- return new O("Invalid " + w + " `" + k + "` of type `" + j + "` " + ("supplied to `" + g + "`, expected `object`."));
710
- var D = a({}, h[E], r);
711
- for (var T in D) {
712
- var Y = r[T];
713
- if (i(r, T) && typeof Y != "function")
714
- return le(g, w, k, T, X(Y));
715
- if (!Y)
716
- return new O(
717
- "Invalid " + w + " `" + k + "` key `" + T + "` supplied to `" + g + "`.\nBad object: " + JSON.stringify(h[E], null, " ") + `
718
- Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
836
+ return new M("Invalid " + E + " `" + A + "` of type `" + j + "` " + ("supplied to `" + h + "`, expected `object`."));
837
+ var V = a({}, w[k], p);
838
+ for (var H in V) {
839
+ var N = p[H];
840
+ if (i(p, H) && typeof N != "function")
841
+ return se(h, E, A, H, Q(N));
842
+ if (!N)
843
+ return new M(
844
+ "Invalid " + E + " `" + A + "` key `" + H + "` supplied to `" + h + "`.\nBad object: " + JSON.stringify(w[k], null, " ") + `
845
+ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
719
846
  );
720
- var l = Y(y, T, g, w, k + "." + T, t);
721
- if (l)
722
- return l;
847
+ var s = N(y, H, h, E, A + "." + H, t);
848
+ if (s)
849
+ return s;
723
850
  }
724
851
  return null;
725
852
  }
726
- return M(m);
853
+ return R(u);
727
854
  }
728
- function C(r) {
729
- switch (typeof r) {
855
+ function S(p) {
856
+ switch (typeof p) {
730
857
  case "number":
731
858
  case "string":
732
859
  case "undefined":
733
860
  return !0;
734
861
  case "boolean":
735
- return !r;
862
+ return !p;
736
863
  case "object":
737
- if (Array.isArray(r))
738
- return r.every(C);
739
- if (r === null || c(r))
864
+ if (Array.isArray(p))
865
+ return p.every(S);
866
+ if (p === null || c(p))
740
867
  return !0;
741
- var m = b(r);
742
- if (m) {
743
- var h = m.call(r), E;
744
- if (m !== r.entries) {
745
- for (; !(E = h.next()).done; )
746
- if (!C(E.value))
868
+ var u = b(p);
869
+ if (u) {
870
+ var w = u.call(p), k;
871
+ if (u !== p.entries) {
872
+ for (; !(k = w.next()).done; )
873
+ if (!S(k.value))
747
874
  return !1;
748
875
  } else
749
- for (; !(E = h.next()).done; ) {
750
- var g = E.value;
751
- if (g && !C(g[1]))
876
+ for (; !(k = w.next()).done; ) {
877
+ var h = k.value;
878
+ if (h && !S(h[1]))
752
879
  return !1;
753
880
  }
754
881
  } else
@@ -758,68 +885,68 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
758
885
  return !1;
759
886
  }
760
887
  }
761
- function H(r, m) {
762
- return r === "symbol" ? !0 : m ? m["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && m instanceof Symbol : !1;
888
+ function W(p, u) {
889
+ return p === "symbol" ? !0 : u ? u["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && u instanceof Symbol : !1;
763
890
  }
764
- function K(r) {
765
- var m = typeof r;
766
- return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" : H(m, r) ? "symbol" : m;
891
+ function G(p) {
892
+ var u = typeof p;
893
+ return Array.isArray(p) ? "array" : p instanceof RegExp ? "object" : W(u, p) ? "symbol" : u;
767
894
  }
768
- function X(r) {
769
- if (typeof r > "u" || r === null)
770
- return "" + r;
771
- var m = K(r);
772
- if (m === "object") {
773
- if (r instanceof Date)
895
+ function Q(p) {
896
+ if (typeof p > "u" || p === null)
897
+ return "" + p;
898
+ var u = G(p);
899
+ if (u === "object") {
900
+ if (p instanceof Date)
774
901
  return "date";
775
- if (r instanceof RegExp)
902
+ if (p instanceof RegExp)
776
903
  return "regexp";
777
904
  }
778
- return m;
905
+ return u;
779
906
  }
780
- function pe(r) {
781
- var m = X(r);
782
- switch (m) {
907
+ function le(p) {
908
+ var u = Q(p);
909
+ switch (u) {
783
910
  case "array":
784
911
  case "object":
785
- return "an " + m;
912
+ return "an " + u;
786
913
  case "boolean":
787
914
  case "date":
788
915
  case "regexp":
789
- return "a " + m;
916
+ return "a " + u;
790
917
  default:
791
- return m;
918
+ return u;
792
919
  }
793
920
  }
794
- function N(r) {
795
- return !r.constructor || !r.constructor.name ? P : r.constructor.name;
921
+ function q(p) {
922
+ return !p.constructor || !p.constructor.name ? O : p.constructor.name;
796
923
  }
797
- return R.checkPropTypes = n, R.resetWarningCache = n.resetWarningCache, R.PropTypes = R, R;
798
- }, Ue;
924
+ return _.checkPropTypes = o, _.resetWarningCache = o.resetWarningCache, _.PropTypes = _, _;
925
+ }, Ye;
799
926
  }
800
- var He, ga;
801
- function Ft() {
802
- if (ga) return He;
803
- ga = 1;
804
- var e = /* @__PURE__ */ aa();
927
+ var We, ha;
928
+ function Pt() {
929
+ if (ha) return We;
930
+ ha = 1;
931
+ var e = /* @__PURE__ */ na();
805
932
  function a() {
806
933
  }
807
934
  function t() {
808
935
  }
809
- return t.resetWarningCache = a, He = function() {
810
- function i(p, c, u, v, x, b) {
936
+ return t.resetWarningCache = a, We = function() {
937
+ function i(l, c, f, x, g, b) {
811
938
  if (b !== e) {
812
- var P = new Error(
939
+ var O = new Error(
813
940
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
814
941
  );
815
- throw P.name = "Invariant Violation", P;
942
+ throw O.name = "Invariant Violation", O;
816
943
  }
817
944
  }
818
945
  i.isRequired = i;
819
- function n() {
946
+ function o() {
820
947
  return i;
821
948
  }
822
- var o = {
949
+ var r = {
823
950
  array: i,
824
951
  bigint: i,
825
952
  bool: i,
@@ -829,62 +956,62 @@ function Ft() {
829
956
  string: i,
830
957
  symbol: i,
831
958
  any: i,
832
- arrayOf: n,
959
+ arrayOf: o,
833
960
  element: i,
834
961
  elementType: i,
835
- instanceOf: n,
962
+ instanceOf: o,
836
963
  node: i,
837
- objectOf: n,
838
- oneOf: n,
839
- oneOfType: n,
840
- shape: n,
841
- exact: n,
964
+ objectOf: o,
965
+ oneOf: o,
966
+ oneOfType: o,
967
+ shape: o,
968
+ exact: o,
842
969
  checkPropTypes: t,
843
970
  resetWarningCache: a
844
971
  };
845
- return o.PropTypes = o, o;
846
- }, He;
972
+ return r.PropTypes = r, r;
973
+ }, We;
847
974
  }
848
975
  var ya;
849
- function Ct() {
850
- if (ya) return De.exports;
976
+ function St() {
977
+ if (ya) return Ve.exports;
851
978
  if (ya = 1, process.env.NODE_ENV !== "production") {
852
- var e = Ia(), a = !0;
853
- De.exports = /* @__PURE__ */ Rt()(e.isElement, a);
979
+ var e = La(), a = !0;
980
+ Ve.exports = /* @__PURE__ */ _t()(e.isElement, a);
854
981
  } else
855
- De.exports = /* @__PURE__ */ Ft()();
856
- return De.exports;
857
- }
858
- var It = /* @__PURE__ */ Ct();
859
- const z = /* @__PURE__ */ Fa(It);
860
- function fe(e, a, t, i) {
861
- function n(o) {
862
- return o instanceof t ? o : new t(function(p) {
863
- p(o);
982
+ Ve.exports = /* @__PURE__ */ Pt()();
983
+ return Ve.exports;
984
+ }
985
+ var zt = /* @__PURE__ */ St();
986
+ const F = /* @__PURE__ */ Pa(zt);
987
+ function ve(e, a, t, i) {
988
+ function o(r) {
989
+ return r instanceof t ? r : new t(function(l) {
990
+ l(r);
864
991
  });
865
992
  }
866
- return new (t || (t = Promise))(function(o, p) {
867
- function c(x) {
993
+ return new (t || (t = Promise))(function(r, l) {
994
+ function c(g) {
868
995
  try {
869
- v(i.next(x));
996
+ x(i.next(g));
870
997
  } catch (b) {
871
- p(b);
998
+ l(b);
872
999
  }
873
1000
  }
874
- function u(x) {
1001
+ function f(g) {
875
1002
  try {
876
- v(i.throw(x));
1003
+ x(i.throw(g));
877
1004
  } catch (b) {
878
- p(b);
1005
+ l(b);
879
1006
  }
880
1007
  }
881
- function v(x) {
882
- x.done ? o(x.value) : n(x.value).then(c, u);
1008
+ function x(g) {
1009
+ g.done ? r(g.value) : o(g.value).then(c, f);
883
1010
  }
884
- v((i = i.apply(e, a || [])).next());
1011
+ x((i = i.apply(e, a || [])).next());
885
1012
  });
886
1013
  }
887
- const Mt = /* @__PURE__ */ new Map([
1014
+ const Rt = /* @__PURE__ */ new Map([
888
1015
  // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
889
1016
  ["1km", "application/vnd.1000minds.decision-model+xml"],
890
1017
  ["3dml", "text/vnd.in3d.3dml"],
@@ -2087,16 +2214,16 @@ const Mt = /* @__PURE__ */ new Map([
2087
2214
  ["zmm", "application/vnd.handheld-entertainment+xml"],
2088
2215
  ["zsh", "text/x-scriptzsh"]
2089
2216
  ]);
2090
- function ge(e, a, t) {
2091
- const i = qt(e), { webkitRelativePath: n } = e, o = typeof a == "string" ? a : typeof n == "string" && n.length > 0 ? n : `./${e.name}`;
2092
- return typeof i.path != "string" && ba(i, "path", o), ba(i, "relativePath", o), i;
2217
+ function he(e, a, t) {
2218
+ const i = Ct(e), { webkitRelativePath: o } = e, r = typeof a == "string" ? a : typeof o == "string" && o.length > 0 ? o : `./${e.name}`;
2219
+ return typeof i.path != "string" && ba(i, "path", r), ba(i, "relativePath", r), i;
2093
2220
  }
2094
- function qt(e) {
2221
+ function Ct(e) {
2095
2222
  const { name: a } = e;
2096
2223
  if (a && a.lastIndexOf(".") !== -1 && !e.type) {
2097
- const i = a.split(".").pop().toLowerCase(), n = Mt.get(i);
2098
- n && Object.defineProperty(e, "type", {
2099
- value: n,
2224
+ const i = a.split(".").pop().toLowerCase(), o = Rt.get(i);
2225
+ o && Object.defineProperty(e, "type", {
2226
+ value: o,
2100
2227
  writable: !1,
2101
2228
  configurable: !1,
2102
2229
  enumerable: !0
@@ -2112,7 +2239,7 @@ function ba(e, a, t) {
2112
2239
  enumerable: !0
2113
2240
  });
2114
2241
  }
2115
- const $t = [
2242
+ const It = [
2116
2243
  // Thumbnail cache files for macOS and Windows
2117
2244
  ".DS_Store",
2118
2245
  // macOs
@@ -2120,43 +2247,43 @@ const $t = [
2120
2247
  // Windows
2121
2248
  ];
2122
2249
  function Lt(e) {
2123
- return fe(this, void 0, void 0, function* () {
2124
- return Ae(e) && Nt(e.dataTransfer) ? Ut(e.dataTransfer, e.type) : Bt(e) ? Yt(e) : Array.isArray(e) && e.every((a) => "getFile" in a && typeof a.getFile == "function") ? Wt(e) : [];
2250
+ return ve(this, void 0, void 0, function* () {
2251
+ return Ze(e) && qt(e.dataTransfer) ? Yt(e.dataTransfer, e.type) : $t(e) ? Nt(e) : Array.isArray(e) && e.every((a) => "getFile" in a && typeof a.getFile == "function") ? Bt(e) : [];
2125
2252
  });
2126
2253
  }
2127
- function Nt(e) {
2128
- return Ae(e);
2254
+ function qt(e) {
2255
+ return Ze(e);
2129
2256
  }
2130
- function Bt(e) {
2131
- return Ae(e) && Ae(e.target);
2257
+ function $t(e) {
2258
+ return Ze(e) && Ze(e.target);
2132
2259
  }
2133
- function Ae(e) {
2260
+ function Ze(e) {
2134
2261
  return typeof e == "object" && e !== null;
2135
2262
  }
2136
- function Yt(e) {
2137
- return Ze(e.target.files).map((a) => ge(a));
2263
+ function Nt(e) {
2264
+ return Qe(e.target.files).map((a) => he(a));
2138
2265
  }
2139
- function Wt(e) {
2140
- return fe(this, void 0, void 0, function* () {
2141
- return (yield Promise.all(e.map((t) => t.getFile()))).map((t) => ge(t));
2266
+ function Bt(e) {
2267
+ return ve(this, void 0, void 0, function* () {
2268
+ return (yield Promise.all(e.map((t) => t.getFile()))).map((t) => he(t));
2142
2269
  });
2143
2270
  }
2144
- function Ut(e, a) {
2145
- return fe(this, void 0, void 0, function* () {
2271
+ function Yt(e, a) {
2272
+ return ve(this, void 0, void 0, function* () {
2146
2273
  if (e.items) {
2147
- const t = Ze(e.items).filter((n) => n.kind === "file");
2274
+ const t = Qe(e.items).filter((o) => o.kind === "file");
2148
2275
  if (a !== "drop")
2149
2276
  return t;
2150
- const i = yield Promise.all(t.map(Ht));
2151
- return ha(qa(i));
2277
+ const i = yield Promise.all(t.map(Wt));
2278
+ return wa($a(i));
2152
2279
  }
2153
- return ha(Ze(e.files).map((t) => ge(t)));
2280
+ return wa(Qe(e.files).map((t) => he(t)));
2154
2281
  });
2155
2282
  }
2156
- function ha(e) {
2157
- return e.filter((a) => $t.indexOf(a.name) === -1);
2283
+ function wa(e) {
2284
+ return e.filter((a) => It.indexOf(a.name) === -1);
2158
2285
  }
2159
- function Ze(e) {
2286
+ function Qe(e) {
2160
2287
  if (e === null)
2161
2288
  return [];
2162
2289
  const a = [];
@@ -2166,265 +2293,265 @@ function Ze(e) {
2166
2293
  }
2167
2294
  return a;
2168
2295
  }
2169
- function Ht(e) {
2296
+ function Wt(e) {
2170
2297
  if (typeof e.webkitGetAsEntry != "function")
2171
- return wa(e);
2298
+ return Ea(e);
2172
2299
  const a = e.webkitGetAsEntry();
2173
- return a && a.isDirectory ? $a(a) : wa(e, a);
2300
+ return a && a.isDirectory ? Na(a) : Ea(e, a);
2174
2301
  }
2175
- function qa(e) {
2302
+ function $a(e) {
2176
2303
  return e.reduce((a, t) => [
2177
2304
  ...a,
2178
- ...Array.isArray(t) ? qa(t) : [t]
2305
+ ...Array.isArray(t) ? $a(t) : [t]
2179
2306
  ], []);
2180
2307
  }
2181
- function wa(e, a) {
2182
- return fe(this, void 0, void 0, function* () {
2308
+ function Ea(e, a) {
2309
+ return ve(this, void 0, void 0, function* () {
2183
2310
  var t;
2184
2311
  if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
2185
- const o = yield e.getAsFileSystemHandle();
2186
- if (o === null)
2312
+ const r = yield e.getAsFileSystemHandle();
2313
+ if (r === null)
2187
2314
  throw new Error(`${e} is not a File`);
2188
- if (o !== void 0) {
2189
- const p = yield o.getFile();
2190
- return p.handle = o, ge(p);
2315
+ if (r !== void 0) {
2316
+ const l = yield r.getFile();
2317
+ return l.handle = r, he(l);
2191
2318
  }
2192
2319
  }
2193
2320
  const i = e.getAsFile();
2194
2321
  if (!i)
2195
2322
  throw new Error(`${e} is not a File`);
2196
- return ge(i, (t = a?.fullPath) !== null && t !== void 0 ? t : void 0);
2323
+ return he(i, (t = a?.fullPath) !== null && t !== void 0 ? t : void 0);
2197
2324
  });
2198
2325
  }
2199
- function Gt(e) {
2200
- return fe(this, void 0, void 0, function* () {
2201
- return e.isDirectory ? $a(e) : Kt(e);
2326
+ function Ut(e) {
2327
+ return ve(this, void 0, void 0, function* () {
2328
+ return e.isDirectory ? Na(e) : Gt(e);
2202
2329
  });
2203
2330
  }
2204
- function $a(e) {
2331
+ function Na(e) {
2205
2332
  const a = e.createReader();
2206
2333
  return new Promise((t, i) => {
2207
- const n = [];
2208
- function o() {
2209
- a.readEntries((p) => fe(this, void 0, void 0, function* () {
2210
- if (p.length) {
2211
- const c = Promise.all(p.map(Gt));
2212
- n.push(c), o();
2334
+ const o = [];
2335
+ function r() {
2336
+ a.readEntries((l) => ve(this, void 0, void 0, function* () {
2337
+ if (l.length) {
2338
+ const c = Promise.all(l.map(Ut));
2339
+ o.push(c), r();
2213
2340
  } else
2214
2341
  try {
2215
- const c = yield Promise.all(n);
2342
+ const c = yield Promise.all(o);
2216
2343
  t(c);
2217
2344
  } catch (c) {
2218
2345
  i(c);
2219
2346
  }
2220
- }), (p) => {
2221
- i(p);
2347
+ }), (l) => {
2348
+ i(l);
2222
2349
  });
2223
2350
  }
2224
- o();
2351
+ r();
2225
2352
  });
2226
2353
  }
2227
- function Kt(e) {
2228
- return fe(this, void 0, void 0, function* () {
2354
+ function Gt(e) {
2355
+ return ve(this, void 0, void 0, function* () {
2229
2356
  return new Promise((a, t) => {
2230
2357
  e.file((i) => {
2231
- const n = ge(i, e.fullPath);
2232
- a(n);
2358
+ const o = he(i, e.fullPath);
2359
+ a(o);
2233
2360
  }, (i) => {
2234
2361
  t(i);
2235
2362
  });
2236
2363
  });
2237
2364
  });
2238
2365
  }
2239
- var _e = {}, ka;
2240
- function Vt() {
2241
- return ka || (ka = 1, _e.__esModule = !0, _e.default = function(e, a) {
2366
+ var Te = {}, Aa;
2367
+ function Kt() {
2368
+ return Aa || (Aa = 1, Te.__esModule = !0, Te.default = function(e, a) {
2242
2369
  if (e && a) {
2243
2370
  var t = Array.isArray(a) ? a : a.split(",");
2244
2371
  if (t.length === 0)
2245
2372
  return !0;
2246
- var i = e.name || "", n = (e.type || "").toLowerCase(), o = n.replace(/\/.*$/, "");
2247
- return t.some(function(p) {
2248
- var c = p.trim().toLowerCase();
2249
- return c.charAt(0) === "." ? i.toLowerCase().endsWith(c) : c.endsWith("/*") ? o === c.replace(/\/.*$/, "") : n === c;
2373
+ var i = e.name || "", o = (e.type || "").toLowerCase(), r = o.replace(/\/.*$/, "");
2374
+ return t.some(function(l) {
2375
+ var c = l.trim().toLowerCase();
2376
+ return c.charAt(0) === "." ? i.toLowerCase().endsWith(c) : c.endsWith("/*") ? r === c.replace(/\/.*$/, "") : o === c;
2250
2377
  });
2251
2378
  }
2252
2379
  return !0;
2253
- }), _e;
2380
+ }), Te;
2254
2381
  }
2255
- var Zt = Vt();
2256
- const Ge = /* @__PURE__ */ Fa(Zt);
2257
- function Ea(e) {
2258
- return Qt(e) || Xt(e) || Na(e) || Jt();
2382
+ var Jt = Kt();
2383
+ const Ue = /* @__PURE__ */ Pa(Jt);
2384
+ function ka(e) {
2385
+ return ei(e) || Qt(e) || Ya(e) || Xt();
2259
2386
  }
2260
- function Jt() {
2387
+ function Xt() {
2261
2388
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2262
2389
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2263
2390
  }
2264
- function Xt(e) {
2391
+ function Qt(e) {
2265
2392
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2266
2393
  }
2267
- function Qt(e) {
2268
- if (Array.isArray(e)) return Je(e);
2394
+ function ei(e) {
2395
+ if (Array.isArray(e)) return ea(e);
2269
2396
  }
2270
2397
  function ja(e, a) {
2271
2398
  var t = Object.keys(e);
2272
2399
  if (Object.getOwnPropertySymbols) {
2273
2400
  var i = Object.getOwnPropertySymbols(e);
2274
- a && (i = i.filter(function(n) {
2275
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
2401
+ a && (i = i.filter(function(o) {
2402
+ return Object.getOwnPropertyDescriptor(e, o).enumerable;
2276
2403
  })), t.push.apply(t, i);
2277
2404
  }
2278
2405
  return t;
2279
2406
  }
2280
- function Ta(e) {
2407
+ function Ha(e) {
2281
2408
  for (var a = 1; a < arguments.length; a++) {
2282
2409
  var t = arguments[a] != null ? arguments[a] : {};
2283
2410
  a % 2 ? ja(Object(t), !0).forEach(function(i) {
2284
- La(e, i, t[i]);
2411
+ Ba(e, i, t[i]);
2285
2412
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ja(Object(t)).forEach(function(i) {
2286
2413
  Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(t, i));
2287
2414
  });
2288
2415
  }
2289
2416
  return e;
2290
2417
  }
2291
- function La(e, a, t) {
2418
+ function Ba(e, a, t) {
2292
2419
  return a in e ? Object.defineProperty(e, a, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = t, e;
2293
2420
  }
2294
- function ke(e, a) {
2295
- return ti(e) || ai(e, a) || Na(e, a) || ei();
2421
+ function Ae(e, a) {
2422
+ return ii(e) || ti(e, a) || Ya(e, a) || ai();
2296
2423
  }
2297
- function ei() {
2424
+ function ai() {
2298
2425
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2299
2426
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2300
2427
  }
2301
- function Na(e, a) {
2428
+ function Ya(e, a) {
2302
2429
  if (e) {
2303
- if (typeof e == "string") return Je(e, a);
2430
+ if (typeof e == "string") return ea(e, a);
2304
2431
  var t = Object.prototype.toString.call(e).slice(8, -1);
2305
2432
  if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
2306
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Je(e, a);
2433
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ea(e, a);
2307
2434
  }
2308
2435
  }
2309
- function Je(e, a) {
2436
+ function ea(e, a) {
2310
2437
  (a == null || a > e.length) && (a = e.length);
2311
2438
  for (var t = 0, i = new Array(a); t < a; t++)
2312
2439
  i[t] = e[t];
2313
2440
  return i;
2314
2441
  }
2315
- function ai(e, a) {
2442
+ function ti(e, a) {
2316
2443
  var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2317
2444
  if (t != null) {
2318
- var i = [], n = !0, o = !1, p, c;
2445
+ var i = [], o = !0, r = !1, l, c;
2319
2446
  try {
2320
- for (t = t.call(e); !(n = (p = t.next()).done) && (i.push(p.value), !(a && i.length === a)); n = !0)
2447
+ for (t = t.call(e); !(o = (l = t.next()).done) && (i.push(l.value), !(a && i.length === a)); o = !0)
2321
2448
  ;
2322
- } catch (u) {
2323
- o = !0, c = u;
2449
+ } catch (f) {
2450
+ r = !0, c = f;
2324
2451
  } finally {
2325
2452
  try {
2326
- !n && t.return != null && t.return();
2453
+ !o && t.return != null && t.return();
2327
2454
  } finally {
2328
- if (o) throw c;
2455
+ if (r) throw c;
2329
2456
  }
2330
2457
  }
2331
2458
  return i;
2332
2459
  }
2333
2460
  }
2334
- function ti(e) {
2461
+ function ii(e) {
2335
2462
  if (Array.isArray(e)) return e;
2336
2463
  }
2337
- var ii = typeof Ge == "function" ? Ge : Ge.default, ni = "file-invalid-type", oi = "file-too-large", ri = "file-too-small", pi = "too-many-files", ci = function() {
2464
+ var ni = typeof Ue == "function" ? Ue : Ue.default, oi = "file-invalid-type", ri = "file-too-large", pi = "file-too-small", li = "too-many-files", ci = function() {
2338
2465
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = a.split(","), i = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
2339
2466
  return {
2340
- code: ni,
2467
+ code: oi,
2341
2468
  message: "File type must be ".concat(i)
2342
2469
  };
2343
- }, Da = function(a) {
2470
+ }, Va = function(a) {
2344
2471
  return {
2345
- code: oi,
2472
+ code: ri,
2346
2473
  message: "File is larger than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
2347
2474
  };
2348
- }, Oa = function(a) {
2475
+ }, Ma = function(a) {
2349
2476
  return {
2350
- code: ri,
2477
+ code: pi,
2351
2478
  message: "File is smaller than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
2352
2479
  };
2353
- }, li = {
2354
- code: pi,
2480
+ }, si = {
2481
+ code: li,
2355
2482
  message: "Too many files"
2356
2483
  };
2357
- function si(e) {
2484
+ function di(e) {
2358
2485
  return e.type === "" && typeof e.getAsFile == "function";
2359
2486
  }
2360
- function Ba(e, a) {
2361
- var t = e.type === "application/x-moz-file" || ii(e, a) || si(e);
2487
+ function Wa(e, a) {
2488
+ var t = e.type === "application/x-moz-file" || ni(e, a) || di(e);
2362
2489
  return [t, t ? null : ci(a)];
2363
2490
  }
2364
- function Ya(e, a, t) {
2365
- if (me(e.size))
2366
- if (me(a) && me(t)) {
2367
- if (e.size > t) return [!1, Da(t)];
2368
- if (e.size < a) return [!1, Oa(a)];
2491
+ function Ua(e, a, t) {
2492
+ if (ue(e.size))
2493
+ if (ue(a) && ue(t)) {
2494
+ if (e.size > t) return [!1, Va(t)];
2495
+ if (e.size < a) return [!1, Ma(a)];
2369
2496
  } else {
2370
- if (me(a) && e.size < a) return [!1, Oa(a)];
2371
- if (me(t) && e.size > t) return [!1, Da(t)];
2497
+ if (ue(a) && e.size < a) return [!1, Ma(a)];
2498
+ if (ue(t) && e.size > t) return [!1, Va(t)];
2372
2499
  }
2373
2500
  return [!0, null];
2374
2501
  }
2375
- function me(e) {
2502
+ function ue(e) {
2376
2503
  return e != null;
2377
2504
  }
2378
- function di(e) {
2379
- var a = e.files, t = e.accept, i = e.minSize, n = e.maxSize, o = e.multiple, p = e.maxFiles, c = e.validator;
2380
- return !o && a.length > 1 || o && p >= 1 && a.length > p ? !1 : a.every(function(u) {
2381
- var v = Ba(u, t), x = ke(v, 1), b = x[0], P = Ya(u, i, n), R = ke(P, 1), q = R[0], O = c ? c(u) : null;
2382
- return b && q && !O;
2505
+ function mi(e) {
2506
+ var a = e.files, t = e.accept, i = e.minSize, o = e.maxSize, r = e.multiple, l = e.maxFiles, c = e.validator;
2507
+ return !r && a.length > 1 || r && l >= 1 && a.length > l ? !1 : a.every(function(f) {
2508
+ var x = Wa(f, t), g = Ae(x, 1), b = g[0], O = Ua(f, i, o), _ = Ae(O, 1), C = _[0], M = c ? c(f) : null;
2509
+ return b && C && !M;
2383
2510
  });
2384
2511
  }
2385
- function Se(e) {
2512
+ function Oe(e) {
2386
2513
  return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
2387
2514
  }
2388
- function he(e) {
2515
+ function we(e) {
2389
2516
  return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(a) {
2390
2517
  return a === "Files" || a === "application/x-moz-file";
2391
2518
  }) : !!e.target && !!e.target.files;
2392
2519
  }
2393
- function _a(e) {
2520
+ function Ta(e) {
2394
2521
  e.preventDefault();
2395
2522
  }
2396
- function mi(e) {
2523
+ function ui(e) {
2397
2524
  return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
2398
2525
  }
2399
- function ui(e) {
2526
+ function fi(e) {
2400
2527
  return e.indexOf("Edge/") !== -1;
2401
2528
  }
2402
- function fi() {
2529
+ function vi() {
2403
2530
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
2404
- return mi(e) || ui(e);
2531
+ return ui(e) || fi(e);
2405
2532
  }
2406
- function ee() {
2533
+ function ae() {
2407
2534
  for (var e = arguments.length, a = new Array(e), t = 0; t < e; t++)
2408
2535
  a[t] = arguments[t];
2409
2536
  return function(i) {
2410
- for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), p = 1; p < n; p++)
2411
- o[p - 1] = arguments[p];
2537
+ for (var o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), l = 1; l < o; l++)
2538
+ r[l - 1] = arguments[l];
2412
2539
  return a.some(function(c) {
2413
- return !Se(i) && c && c.apply(void 0, [i].concat(o)), Se(i);
2540
+ return !Oe(i) && c && c.apply(void 0, [i].concat(r)), Oe(i);
2414
2541
  });
2415
2542
  };
2416
2543
  }
2417
- function vi() {
2544
+ function xi() {
2418
2545
  return "showOpenFilePicker" in window;
2419
2546
  }
2420
- function xi(e) {
2421
- if (me(e)) {
2547
+ function gi(e) {
2548
+ if (ue(e)) {
2422
2549
  var a = Object.entries(e).filter(function(t) {
2423
- var i = ke(t, 2), n = i[0], o = i[1], p = !0;
2424
- return Wa(n) || (console.warn('Skipped "'.concat(n, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), p = !1), (!Array.isArray(o) || !o.every(Ua)) && (console.warn('Skipped "'.concat(n, '" because an invalid file extension was provided.')), p = !1), p;
2550
+ var i = Ae(t, 2), o = i[0], r = i[1], l = !0;
2551
+ return Ga(o) || (console.warn('Skipped "'.concat(o, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), l = !1), (!Array.isArray(r) || !r.every(Ka)) && (console.warn('Skipped "'.concat(o, '" because an invalid file extension was provided.')), l = !1), l;
2425
2552
  }).reduce(function(t, i) {
2426
- var n = ke(i, 2), o = n[0], p = n[1];
2427
- return Ta(Ta({}, t), {}, La({}, o, p));
2553
+ var o = Ae(i, 2), r = o[0], l = o[1];
2554
+ return Ha(Ha({}, t), {}, Ba({}, r, l));
2428
2555
  }, {});
2429
2556
  return [{
2430
2557
  // description is required due to https://crbug.com/1264708
@@ -2434,13 +2561,13 @@ function xi(e) {
2434
2561
  }
2435
2562
  return e;
2436
2563
  }
2437
- function gi(e) {
2438
- if (me(e))
2564
+ function hi(e) {
2565
+ if (ue(e))
2439
2566
  return Object.entries(e).reduce(function(a, t) {
2440
- var i = ke(t, 2), n = i[0], o = i[1];
2441
- return [].concat(Ea(a), [n], Ea(o));
2567
+ var i = Ae(t, 2), o = i[0], r = i[1];
2568
+ return [].concat(ka(a), [o], ka(r));
2442
2569
  }, []).filter(function(a) {
2443
- return Wa(a) || Ua(a);
2570
+ return Ga(a) || Ka(a);
2444
2571
  }).join(",");
2445
2572
  }
2446
2573
  function yi(e) {
@@ -2449,122 +2576,122 @@ function yi(e) {
2449
2576
  function bi(e) {
2450
2577
  return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
2451
2578
  }
2452
- function Wa(e) {
2579
+ function Ga(e) {
2453
2580
  return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
2454
2581
  }
2455
- function Ua(e) {
2582
+ function Ka(e) {
2456
2583
  return /^.*\.[\w]+$/.test(e);
2457
2584
  }
2458
- var hi = ["children"], wi = ["open"], ki = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Ei = ["refKey", "onChange", "onClick"];
2459
- function Aa(e) {
2460
- return Di(e) || Ti(e) || Ha(e) || ji();
2585
+ var wi = ["children"], Ei = ["open"], Ai = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ki = ["refKey", "onChange", "onClick"];
2586
+ function Da(e) {
2587
+ return Vi(e) || Hi(e) || Ja(e) || ji();
2461
2588
  }
2462
2589
  function ji() {
2463
2590
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2464
2591
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2465
2592
  }
2466
- function Ti(e) {
2593
+ function Hi(e) {
2467
2594
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2468
2595
  }
2469
- function Di(e) {
2470
- if (Array.isArray(e)) return Xe(e);
2596
+ function Vi(e) {
2597
+ if (Array.isArray(e)) return aa(e);
2471
2598
  }
2472
- function Ke(e, a) {
2473
- return Ai(e) || _i(e, a) || Ha(e, a) || Oi();
2599
+ function Ge(e, a) {
2600
+ return Di(e) || Ti(e, a) || Ja(e, a) || Mi();
2474
2601
  }
2475
- function Oi() {
2602
+ function Mi() {
2476
2603
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2477
2604
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2478
2605
  }
2479
- function Ha(e, a) {
2606
+ function Ja(e, a) {
2480
2607
  if (e) {
2481
- if (typeof e == "string") return Xe(e, a);
2608
+ if (typeof e == "string") return aa(e, a);
2482
2609
  var t = Object.prototype.toString.call(e).slice(8, -1);
2483
2610
  if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
2484
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Xe(e, a);
2611
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return aa(e, a);
2485
2612
  }
2486
2613
  }
2487
- function Xe(e, a) {
2614
+ function aa(e, a) {
2488
2615
  (a == null || a > e.length) && (a = e.length);
2489
2616
  for (var t = 0, i = new Array(a); t < a; t++)
2490
2617
  i[t] = e[t];
2491
2618
  return i;
2492
2619
  }
2493
- function _i(e, a) {
2620
+ function Ti(e, a) {
2494
2621
  var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2495
2622
  if (t != null) {
2496
- var i = [], n = !0, o = !1, p, c;
2623
+ var i = [], o = !0, r = !1, l, c;
2497
2624
  try {
2498
- for (t = t.call(e); !(n = (p = t.next()).done) && (i.push(p.value), !(a && i.length === a)); n = !0)
2625
+ for (t = t.call(e); !(o = (l = t.next()).done) && (i.push(l.value), !(a && i.length === a)); o = !0)
2499
2626
  ;
2500
- } catch (u) {
2501
- o = !0, c = u;
2627
+ } catch (f) {
2628
+ r = !0, c = f;
2502
2629
  } finally {
2503
2630
  try {
2504
- !n && t.return != null && t.return();
2631
+ !o && t.return != null && t.return();
2505
2632
  } finally {
2506
- if (o) throw c;
2633
+ if (r) throw c;
2507
2634
  }
2508
2635
  }
2509
2636
  return i;
2510
2637
  }
2511
2638
  }
2512
- function Ai(e) {
2639
+ function Di(e) {
2513
2640
  if (Array.isArray(e)) return e;
2514
2641
  }
2515
- function Sa(e, a) {
2642
+ function Za(e, a) {
2516
2643
  var t = Object.keys(e);
2517
2644
  if (Object.getOwnPropertySymbols) {
2518
2645
  var i = Object.getOwnPropertySymbols(e);
2519
- a && (i = i.filter(function(n) {
2520
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
2646
+ a && (i = i.filter(function(o) {
2647
+ return Object.getOwnPropertyDescriptor(e, o).enumerable;
2521
2648
  })), t.push.apply(t, i);
2522
2649
  }
2523
2650
  return t;
2524
2651
  }
2525
- function F(e) {
2652
+ function P(e) {
2526
2653
  for (var a = 1; a < arguments.length; a++) {
2527
2654
  var t = arguments[a] != null ? arguments[a] : {};
2528
- a % 2 ? Sa(Object(t), !0).forEach(function(i) {
2529
- Qe(e, i, t[i]);
2530
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Sa(Object(t)).forEach(function(i) {
2655
+ a % 2 ? Za(Object(t), !0).forEach(function(i) {
2656
+ ta(e, i, t[i]);
2657
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Za(Object(t)).forEach(function(i) {
2531
2658
  Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(t, i));
2532
2659
  });
2533
2660
  }
2534
2661
  return e;
2535
2662
  }
2536
- function Qe(e, a, t) {
2663
+ function ta(e, a, t) {
2537
2664
  return a in e ? Object.defineProperty(e, a, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = t, e;
2538
2665
  }
2539
- function Pe(e, a) {
2666
+ function Fe(e, a) {
2540
2667
  if (e == null) return {};
2541
- var t = Si(e, a), i, n;
2668
+ var t = Zi(e, a), i, o;
2542
2669
  if (Object.getOwnPropertySymbols) {
2543
- var o = Object.getOwnPropertySymbols(e);
2544
- for (n = 0; n < o.length; n++)
2545
- i = o[n], !(a.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (t[i] = e[i]);
2670
+ var r = Object.getOwnPropertySymbols(e);
2671
+ for (o = 0; o < r.length; o++)
2672
+ i = r[o], !(a.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (t[i] = e[i]);
2546
2673
  }
2547
2674
  return t;
2548
2675
  }
2549
- function Si(e, a) {
2676
+ function Zi(e, a) {
2550
2677
  if (e == null) return {};
2551
- var t = {}, i = Object.keys(e), n, o;
2552
- for (o = 0; o < i.length; o++)
2553
- n = i[o], !(a.indexOf(n) >= 0) && (t[n] = e[n]);
2678
+ var t = {}, i = Object.keys(e), o, r;
2679
+ for (r = 0; r < i.length; r++)
2680
+ o = i[r], !(a.indexOf(o) >= 0) && (t[o] = e[o]);
2554
2681
  return t;
2555
2682
  }
2556
- var ta = /* @__PURE__ */ it(function(e, a) {
2557
- var t = e.children, i = Pe(e, hi), n = Ka(i), o = n.open, p = Pe(n, wi);
2558
- return nt(a, function() {
2683
+ var oa = /* @__PURE__ */ ct(function(e, a) {
2684
+ var t = e.children, i = Fe(e, wi), o = Qa(i), r = o.open, l = Fe(o, Ei);
2685
+ return st(a, function() {
2559
2686
  return {
2560
- open: o
2687
+ open: r
2561
2688
  };
2562
- }, [o]), /* @__PURE__ */ at.createElement(za, null, t(F(F({}, p), {}, {
2563
- open: o
2689
+ }, [r]), /* @__PURE__ */ pt.createElement(Fa, null, t(P(P({}, l), {}, {
2690
+ open: r
2564
2691
  })));
2565
2692
  });
2566
- ta.displayName = "Dropzone";
2567
- var Ga = {
2693
+ oa.displayName = "Dropzone";
2694
+ var Xa = {
2568
2695
  disabled: !1,
2569
2696
  getFilesFromEvent: Lt,
2570
2697
  maxSize: 1 / 0,
@@ -2580,8 +2707,8 @@ var Ga = {
2580
2707
  useFsAccessApi: !1,
2581
2708
  autoFocus: !1
2582
2709
  };
2583
- ta.defaultProps = Ga;
2584
- ta.propTypes = {
2710
+ oa.defaultProps = Xa;
2711
+ oa.propTypes = {
2585
2712
  /**
2586
2713
  * Render function that exposes the dropzone state and prop getter fns
2587
2714
  *
@@ -2598,7 +2725,7 @@ ta.propTypes = {
2598
2725
  * @param {File[]} params.acceptedFiles Accepted files
2599
2726
  * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected. This persists after drop and is the source of truth for post-drop rejections.
2600
2727
  */
2601
- children: z.func,
2728
+ children: F.func,
2602
2729
  /**
2603
2730
  * Set accepted file types.
2604
2731
  * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
@@ -2606,90 +2733,90 @@ ta.propTypes = {
2606
2733
  * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
2607
2734
  * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
2608
2735
  */
2609
- accept: z.objectOf(z.arrayOf(z.string)),
2736
+ accept: F.objectOf(F.arrayOf(F.string)),
2610
2737
  /**
2611
2738
  * Allow drag 'n' drop (or selection from the file dialog) of multiple files
2612
2739
  */
2613
- multiple: z.bool,
2740
+ multiple: F.bool,
2614
2741
  /**
2615
2742
  * If false, allow dropped items to take over the current browser window
2616
2743
  */
2617
- preventDropOnDocument: z.bool,
2744
+ preventDropOnDocument: F.bool,
2618
2745
  /**
2619
2746
  * If true, disables click to open the native file selection dialog
2620
2747
  */
2621
- noClick: z.bool,
2748
+ noClick: F.bool,
2622
2749
  /**
2623
2750
  * If true, disables SPACE/ENTER to open the native file selection dialog.
2624
2751
  * Note that it also stops tracking the focus state.
2625
2752
  */
2626
- noKeyboard: z.bool,
2753
+ noKeyboard: F.bool,
2627
2754
  /**
2628
2755
  * If true, disables drag 'n' drop
2629
2756
  */
2630
- noDrag: z.bool,
2757
+ noDrag: F.bool,
2631
2758
  /**
2632
2759
  * If true, stops drag event propagation to parents
2633
2760
  */
2634
- noDragEventsBubbling: z.bool,
2761
+ noDragEventsBubbling: F.bool,
2635
2762
  /**
2636
2763
  * Minimum file size (in bytes)
2637
2764
  */
2638
- minSize: z.number,
2765
+ minSize: F.number,
2639
2766
  /**
2640
2767
  * Maximum file size (in bytes)
2641
2768
  */
2642
- maxSize: z.number,
2769
+ maxSize: F.number,
2643
2770
  /**
2644
2771
  * Maximum accepted number of files
2645
2772
  * The default value is 0 which means there is no limitation to how many files are accepted.
2646
2773
  */
2647
- maxFiles: z.number,
2774
+ maxFiles: F.number,
2648
2775
  /**
2649
2776
  * Enable/disable the dropzone
2650
2777
  */
2651
- disabled: z.bool,
2778
+ disabled: F.bool,
2652
2779
  /**
2653
2780
  * Use this to provide a custom file aggregator
2654
2781
  *
2655
2782
  * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
2656
2783
  */
2657
- getFilesFromEvent: z.func,
2784
+ getFilesFromEvent: F.func,
2658
2785
  /**
2659
2786
  * Cb for when closing the file dialog with no selection
2660
2787
  */
2661
- onFileDialogCancel: z.func,
2788
+ onFileDialogCancel: F.func,
2662
2789
  /**
2663
2790
  * Cb for when opening the file dialog
2664
2791
  */
2665
- onFileDialogOpen: z.func,
2792
+ onFileDialogOpen: F.func,
2666
2793
  /**
2667
2794
  * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
2668
2795
  * to open the file picker instead of using an `<input type="file">` click event.
2669
2796
  */
2670
- useFsAccessApi: z.bool,
2797
+ useFsAccessApi: F.bool,
2671
2798
  /**
2672
2799
  * Set to true to focus the root element on render
2673
2800
  */
2674
- autoFocus: z.bool,
2801
+ autoFocus: F.bool,
2675
2802
  /**
2676
2803
  * Cb for when the `dragenter` event occurs.
2677
2804
  *
2678
2805
  * @param {DragEvent} event
2679
2806
  */
2680
- onDragEnter: z.func,
2807
+ onDragEnter: F.func,
2681
2808
  /**
2682
2809
  * Cb for when the `dragleave` event occurs
2683
2810
  *
2684
2811
  * @param {DragEvent} event
2685
2812
  */
2686
- onDragLeave: z.func,
2813
+ onDragLeave: F.func,
2687
2814
  /**
2688
2815
  * Cb for when the `dragover` event occurs
2689
2816
  *
2690
2817
  * @param {DragEvent} event
2691
2818
  */
2692
- onDragOver: z.func,
2819
+ onDragOver: F.func,
2693
2820
  /**
2694
2821
  * Cb for when the `drop` event occurs.
2695
2822
  * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
@@ -2720,7 +2847,7 @@ ta.propTypes = {
2720
2847
  * @param {FileRejection[]} fileRejections
2721
2848
  * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
2722
2849
  */
2723
- onDrop: z.func,
2850
+ onDrop: F.func,
2724
2851
  /**
2725
2852
  * Cb for when the `drop` event occurs.
2726
2853
  * Note that if no files are accepted, this callback is not invoked.
@@ -2728,7 +2855,7 @@ ta.propTypes = {
2728
2855
  * @param {File[]} files
2729
2856
  * @param {(DragEvent|Event)} event
2730
2857
  */
2731
- onDropAccepted: z.func,
2858
+ onDropAccepted: F.func,
2732
2859
  /**
2733
2860
  * Cb for when the `drop` event occurs.
2734
2861
  * Note that if no files are rejected, this callback is not invoked.
@@ -2736,21 +2863,21 @@ ta.propTypes = {
2736
2863
  * @param {FileRejection[]} fileRejections
2737
2864
  * @param {(DragEvent|Event)} event
2738
2865
  */
2739
- onDropRejected: z.func,
2866
+ onDropRejected: F.func,
2740
2867
  /**
2741
2868
  * Cb for when there's some error from any of the promises.
2742
2869
  *
2743
2870
  * @param {Error} error
2744
2871
  */
2745
- onError: z.func,
2872
+ onError: F.func,
2746
2873
  /**
2747
2874
  * Custom validation function. It must return null if there's no errors.
2748
2875
  * @param {File} file
2749
2876
  * @returns {FileError|FileError[]|null}
2750
2877
  */
2751
- validator: z.func
2878
+ validator: F.func
2752
2879
  };
2753
- var ea = {
2880
+ var ia = {
2754
2881
  isFocused: !1,
2755
2882
  isFileDialogActive: !1,
2756
2883
  isDragActive: !1,
@@ -2760,213 +2887,213 @@ var ea = {
2760
2887
  acceptedFiles: [],
2761
2888
  fileRejections: []
2762
2889
  };
2763
- function Ka() {
2764
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = F(F({}, Ga), e), t = a.accept, i = a.disabled, n = a.getFilesFromEvent, o = a.maxSize, p = a.minSize, c = a.multiple, u = a.maxFiles, v = a.onDragEnter, x = a.onDragLeave, b = a.onDragOver, P = a.onDrop, R = a.onDropAccepted, q = a.onDropRejected, O = a.onFileDialogCancel, M = a.onFileDialogOpen, G = a.useFsAccessApi, oe = a.autoFocus, $ = a.preventDropOnDocument, L = a.noClick, d = a.noKeyboard, J = a.noDrag, Z = a.noDragEventsBubbling, ce = a.onError, ae = a.validator, te = xe(function() {
2890
+ function Qa() {
2891
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = P(P({}, Xa), e), t = a.accept, i = a.disabled, o = a.getFilesFromEvent, r = a.maxSize, l = a.minSize, c = a.multiple, f = a.maxFiles, x = a.onDragEnter, g = a.onDragLeave, b = a.onDragOver, O = a.onDrop, _ = a.onDropAccepted, C = a.onDropRejected, M = a.onFileDialogCancel, R = a.onFileDialogOpen, U = a.useFsAccessApi, re = a.autoFocus, I = a.preventDropOnDocument, L = a.noClick, m = a.noKeyboard, X = a.noDrag, J = a.noDragEventsBubbling, ce = a.onError, te = a.validator, ie = ge(function() {
2892
+ return hi(t);
2893
+ }, [t]), se = ge(function() {
2765
2894
  return gi(t);
2766
- }, [t]), le = xe(function() {
2767
- return xi(t);
2768
- }, [t]), se = xe(function() {
2769
- return typeof M == "function" ? M : Pa;
2770
- }, [M]), re = xe(function() {
2771
- return typeof O == "function" ? O : Pa;
2772
- }, [O]), C = be(null), H = be(null), K = tt(Pi, ea), X = Ke(K, 2), pe = X[0], N = X[1], r = pe.isFocused, m = pe.isFileDialogActive, h = be(typeof window < "u" && window.isSecureContext && G && vi()), E = function() {
2773
- !h.current && m && setTimeout(function() {
2774
- if (H.current) {
2775
- var f = H.current.files;
2776
- f.length || (N({
2895
+ }, [t]), de = ge(function() {
2896
+ return typeof R == "function" ? R : Oa;
2897
+ }, [R]), pe = ge(function() {
2898
+ return typeof M == "function" ? M : Oa;
2899
+ }, [M]), S = be(null), W = be(null), G = lt(Oi, ia), Q = Ge(G, 2), le = Q[0], q = Q[1], p = le.isFocused, u = le.isFileDialogActive, w = be(typeof window < "u" && window.isSecureContext && U && xi()), k = function() {
2900
+ !w.current && u && setTimeout(function() {
2901
+ if (W.current) {
2902
+ var v = W.current.files;
2903
+ v.length || (q({
2777
2904
  type: "closeDialog"
2778
- }), re());
2905
+ }), pe());
2779
2906
  }
2780
2907
  }, 300);
2781
2908
  };
2782
- we(function() {
2783
- return window.addEventListener("focus", E, !1), function() {
2784
- window.removeEventListener("focus", E, !1);
2909
+ Ee(function() {
2910
+ return window.addEventListener("focus", k, !1), function() {
2911
+ window.removeEventListener("focus", k, !1);
2785
2912
  };
2786
- }, [H, m, re, h]);
2787
- var g = be([]), w = be([]), k = function(f) {
2788
- C.current && C.current.contains(f.target) || (f.preventDefault(), g.current = []);
2913
+ }, [W, u, pe, w]);
2914
+ var h = be([]), E = be([]), A = function(v) {
2915
+ S.current && S.current.contains(v.target) || (v.preventDefault(), h.current = []);
2789
2916
  };
2790
- we(function() {
2791
- return $ && (document.addEventListener("dragover", _a, !1), document.addEventListener("drop", k, !1)), function() {
2792
- $ && (document.removeEventListener("dragover", _a), document.removeEventListener("drop", k));
2917
+ Ee(function() {
2918
+ return I && (document.addEventListener("dragover", Ta, !1), document.addEventListener("drop", A, !1)), function() {
2919
+ I && (document.removeEventListener("dragover", Ta), document.removeEventListener("drop", A));
2793
2920
  };
2794
- }, [C, $]), we(function() {
2795
- var s = function(Q) {
2796
- w.current = [].concat(Aa(w.current), [Q.target]), he(Q) && N({
2921
+ }, [S, I]), Ee(function() {
2922
+ var d = function(ee) {
2923
+ E.current = [].concat(Da(E.current), [ee.target]), we(ee) && q({
2797
2924
  isDragGlobal: !0,
2798
2925
  type: "setDragGlobal"
2799
2926
  });
2800
- }, f = function(Q) {
2801
- w.current = w.current.filter(function(ie) {
2802
- return ie !== Q.target && ie !== null;
2803
- }), !(w.current.length > 0) && N({
2927
+ }, v = function(ee) {
2928
+ E.current = E.current.filter(function(ne) {
2929
+ return ne !== ee.target && ne !== null;
2930
+ }), !(E.current.length > 0) && q({
2804
2931
  isDragGlobal: !1,
2805
2932
  type: "setDragGlobal"
2806
2933
  });
2807
- }, I = function() {
2808
- w.current = [], N({
2934
+ }, z = function() {
2935
+ E.current = [], q({
2809
2936
  isDragGlobal: !1,
2810
2937
  type: "setDragGlobal"
2811
2938
  });
2812
- }, B = function() {
2813
- w.current = [], N({
2939
+ }, $ = function() {
2940
+ E.current = [], q({
2814
2941
  isDragGlobal: !1,
2815
2942
  type: "setDragGlobal"
2816
2943
  });
2817
2944
  };
2818
- return document.addEventListener("dragenter", s, !1), document.addEventListener("dragleave", f, !1), document.addEventListener("dragend", I, !1), document.addEventListener("drop", B, !1), function() {
2819
- document.removeEventListener("dragenter", s), document.removeEventListener("dragleave", f), document.removeEventListener("dragend", I), document.removeEventListener("drop", B);
2945
+ return document.addEventListener("dragenter", d, !1), document.addEventListener("dragleave", v, !1), document.addEventListener("dragend", z, !1), document.addEventListener("drop", $, !1), function() {
2946
+ document.removeEventListener("dragenter", d), document.removeEventListener("dragleave", v), document.removeEventListener("dragend", z), document.removeEventListener("drop", $);
2820
2947
  };
2821
- }, [C]), we(function() {
2822
- return !i && oe && C.current && C.current.focus(), function() {
2948
+ }, [S]), Ee(function() {
2949
+ return !i && re && S.current && S.current.focus(), function() {
2823
2950
  };
2824
- }, [C, oe, i]);
2825
- var y = V(function(s) {
2826
- ce ? ce(s) : console.error(s);
2827
- }, [ce]), j = V(function(s) {
2828
- s.preventDefault(), s.persist(), je(s), g.current = [].concat(Aa(g.current), [s.target]), he(s) && Promise.resolve(n(s)).then(function(f) {
2829
- if (!(Se(s) && !Z)) {
2830
- var I = f.length, B = I > 0 && di({
2831
- files: f,
2832
- accept: te,
2833
- minSize: p,
2834
- maxSize: o,
2951
+ }, [S, re, i]);
2952
+ var y = K(function(d) {
2953
+ ce ? ce(d) : console.error(d);
2954
+ }, [ce]), j = K(function(d) {
2955
+ d.preventDefault(), d.persist(), je(d), h.current = [].concat(Da(h.current), [d.target]), we(d) && Promise.resolve(o(d)).then(function(v) {
2956
+ if (!(Oe(d) && !J)) {
2957
+ var z = v.length, $ = z > 0 && mi({
2958
+ files: v,
2959
+ accept: ie,
2960
+ minSize: l,
2961
+ maxSize: r,
2835
2962
  multiple: c,
2836
- maxFiles: u,
2837
- validator: ae
2838
- }), U = I > 0 && !B;
2839
- N({
2840
- isDragAccept: B,
2841
- isDragReject: U,
2963
+ maxFiles: f,
2964
+ validator: te
2965
+ }), Y = z > 0 && !$;
2966
+ q({
2967
+ isDragAccept: $,
2968
+ isDragReject: Y,
2842
2969
  isDragActive: !0,
2843
2970
  type: "setDraggedFiles"
2844
- }), v && v(s);
2971
+ }), x && x(d);
2845
2972
  }
2846
- }).catch(function(f) {
2847
- return y(f);
2973
+ }).catch(function(v) {
2974
+ return y(v);
2848
2975
  });
2849
- }, [n, v, y, Z, te, p, o, c, u, ae]), D = V(function(s) {
2850
- s.preventDefault(), s.persist(), je(s);
2851
- var f = he(s);
2852
- if (f && s.dataTransfer)
2976
+ }, [o, x, y, J, ie, l, r, c, f, te]), V = K(function(d) {
2977
+ d.preventDefault(), d.persist(), je(d);
2978
+ var v = we(d);
2979
+ if (v && d.dataTransfer)
2853
2980
  try {
2854
- s.dataTransfer.dropEffect = "copy";
2981
+ d.dataTransfer.dropEffect = "copy";
2855
2982
  } catch {
2856
2983
  }
2857
- return f && b && b(s), !1;
2858
- }, [b, Z]), T = V(function(s) {
2859
- s.preventDefault(), s.persist(), je(s);
2860
- var f = g.current.filter(function(B) {
2861
- return C.current && C.current.contains(B);
2862
- }), I = f.indexOf(s.target);
2863
- I !== -1 && f.splice(I, 1), g.current = f, !(f.length > 0) && (N({
2984
+ return v && b && b(d), !1;
2985
+ }, [b, J]), H = K(function(d) {
2986
+ d.preventDefault(), d.persist(), je(d);
2987
+ var v = h.current.filter(function($) {
2988
+ return S.current && S.current.contains($);
2989
+ }), z = v.indexOf(d.target);
2990
+ z !== -1 && v.splice(z, 1), h.current = v, !(v.length > 0) && (q({
2864
2991
  type: "setDraggedFiles",
2865
2992
  isDragActive: !1,
2866
2993
  isDragAccept: !1,
2867
2994
  isDragReject: !1
2868
- }), he(s) && x && x(s));
2869
- }, [C, x, Z]), Y = V(function(s, f) {
2870
- var I = [], B = [];
2871
- s.forEach(function(U) {
2872
- var Q = Ba(U, te), ie = Ke(Q, 2), Re = ie[0], Fe = ie[1], Ce = Ya(U, p, o), Te = Ke(Ce, 2), Ie = Te[0], Me = Te[1], qe = ae ? ae(U) : null;
2873
- if (Re && Ie && !qe)
2874
- I.push(U);
2995
+ }), we(d) && g && g(d));
2996
+ }, [S, g, J]), N = K(function(d, v) {
2997
+ var z = [], $ = [];
2998
+ d.forEach(function(Y) {
2999
+ var ee = Wa(Y, ie), ne = Ge(ee, 2), Pe = ne[0], Se = ne[1], ze = Ua(Y, l, r), He = Ge(ze, 2), Re = He[0], Ce = He[1], Ie = te ? te(Y) : null;
3000
+ if (Pe && Re && !Ie)
3001
+ z.push(Y);
2875
3002
  else {
2876
- var $e = [Fe, Me];
2877
- qe && ($e = $e.concat(qe)), B.push({
2878
- file: U,
2879
- errors: $e.filter(function(et) {
2880
- return et;
3003
+ var Le = [Se, Ce];
3004
+ Ie && (Le = Le.concat(Ie)), $.push({
3005
+ file: Y,
3006
+ errors: Le.filter(function(ot) {
3007
+ return ot;
2881
3008
  })
2882
3009
  });
2883
3010
  }
2884
- }), (!c && I.length > 1 || c && u >= 1 && I.length > u) && (I.forEach(function(U) {
2885
- B.push({
2886
- file: U,
2887
- errors: [li]
3011
+ }), (!c && z.length > 1 || c && f >= 1 && z.length > f) && (z.forEach(function(Y) {
3012
+ $.push({
3013
+ file: Y,
3014
+ errors: [si]
2888
3015
  });
2889
- }), I.splice(0)), N({
2890
- acceptedFiles: I,
2891
- fileRejections: B,
3016
+ }), z.splice(0)), q({
3017
+ acceptedFiles: z,
3018
+ fileRejections: $,
2892
3019
  type: "setFiles"
2893
- }), P && P(I, B, f), B.length > 0 && q && q(B, f), I.length > 0 && R && R(I, f);
2894
- }, [N, c, te, p, o, u, P, R, q, ae]), l = V(function(s) {
2895
- s.preventDefault(), s.persist(), je(s), g.current = [], he(s) && Promise.resolve(n(s)).then(function(f) {
2896
- Se(s) && !Z || Y(f, s);
2897
- }).catch(function(f) {
2898
- return y(f);
2899
- }), N({
3020
+ }), O && O(z, $, v), $.length > 0 && C && C($, v), z.length > 0 && _ && _(z, v);
3021
+ }, [q, c, ie, l, r, f, O, _, C, te]), s = K(function(d) {
3022
+ d.preventDefault(), d.persist(), je(d), h.current = [], we(d) && Promise.resolve(o(d)).then(function(v) {
3023
+ Oe(d) && !J || N(v, d);
3024
+ }).catch(function(v) {
3025
+ return y(v);
3026
+ }), q({
2900
3027
  type: "reset"
2901
3028
  });
2902
- }, [n, Y, y, Z]), W = V(function() {
2903
- if (h.current) {
2904
- N({
3029
+ }, [o, N, y, J]), B = K(function() {
3030
+ if (w.current) {
3031
+ q({
2905
3032
  type: "openDialog"
2906
- }), se();
2907
- var s = {
3033
+ }), de();
3034
+ var d = {
2908
3035
  multiple: c,
2909
- types: le
3036
+ types: se
2910
3037
  };
2911
- window.showOpenFilePicker(s).then(function(f) {
2912
- return n(f);
2913
- }).then(function(f) {
2914
- Y(f, null), N({
3038
+ window.showOpenFilePicker(d).then(function(v) {
3039
+ return o(v);
3040
+ }).then(function(v) {
3041
+ N(v, null), q({
2915
3042
  type: "closeDialog"
2916
3043
  });
2917
- }).catch(function(f) {
2918
- yi(f) ? (re(f), N({
3044
+ }).catch(function(v) {
3045
+ yi(v) ? (pe(v), q({
2919
3046
  type: "closeDialog"
2920
- })) : bi(f) ? (h.current = !1, H.current ? (H.current.value = null, H.current.click()) : y(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : y(f);
3047
+ })) : bi(v) ? (w.current = !1, W.current ? (W.current.value = null, W.current.click()) : y(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : y(v);
2921
3048
  });
2922
3049
  return;
2923
3050
  }
2924
- H.current && (N({
3051
+ W.current && (q({
2925
3052
  type: "openDialog"
2926
- }), se(), H.current.value = null, H.current.click());
2927
- }, [N, se, re, G, Y, y, le, c]), de = V(function(s) {
2928
- !C.current || !C.current.isEqualNode(s.target) || (s.key === " " || s.key === "Enter" || s.keyCode === 32 || s.keyCode === 13) && (s.preventDefault(), W());
2929
- }, [C, W]), ye = V(function() {
2930
- N({
3053
+ }), de(), W.current.value = null, W.current.click());
3054
+ }, [q, de, pe, U, N, y, se, c]), me = K(function(d) {
3055
+ !S.current || !S.current.isEqualNode(d.target) || (d.key === " " || d.key === "Enter" || d.keyCode === 32 || d.keyCode === 13) && (d.preventDefault(), B());
3056
+ }, [S, B]), ye = K(function() {
3057
+ q({
2931
3058
  type: "focus"
2932
3059
  });
2933
- }, []), ia = V(function() {
2934
- N({
3060
+ }, []), ra = K(function() {
3061
+ q({
2935
3062
  type: "blur"
2936
3063
  });
2937
- }, []), na = V(function() {
2938
- L || (fi() ? setTimeout(W, 0) : W());
2939
- }, [L, W]), ve = function(f) {
2940
- return i ? null : f;
2941
- }, ze = function(f) {
2942
- return d ? null : ve(f);
2943
- }, Ee = function(f) {
2944
- return J ? null : ve(f);
2945
- }, je = function(f) {
2946
- Z && f.stopPropagation();
2947
- }, Ja = xe(function() {
3064
+ }, []), pa = K(function() {
3065
+ L || (vi() ? setTimeout(B, 0) : B());
3066
+ }, [L, B]), xe = function(v) {
3067
+ return i ? null : v;
3068
+ }, _e = function(v) {
3069
+ return m ? null : xe(v);
3070
+ }, ke = function(v) {
3071
+ return X ? null : xe(v);
3072
+ }, je = function(v) {
3073
+ J && v.stopPropagation();
3074
+ }, tt = ge(function() {
2948
3075
  return function() {
2949
- var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = s.refKey, I = f === void 0 ? "ref" : f, B = s.role, U = s.onKeyDown, Q = s.onFocus, ie = s.onBlur, Re = s.onClick, Fe = s.onDragEnter, Ce = s.onDragOver, Te = s.onDragLeave, Ie = s.onDrop, Me = Pe(s, ki);
2950
- return F(F(Qe({
2951
- onKeyDown: ze(ee(U, de)),
2952
- onFocus: ze(ee(Q, ye)),
2953
- onBlur: ze(ee(ie, ia)),
2954
- onClick: ve(ee(Re, na)),
2955
- onDragEnter: Ee(ee(Fe, j)),
2956
- onDragOver: Ee(ee(Ce, D)),
2957
- onDragLeave: Ee(ee(Te, T)),
2958
- onDrop: Ee(ee(Ie, l)),
2959
- role: typeof B == "string" && B !== "" ? B : "presentation"
2960
- }, I, C), !i && !d ? {
3076
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = d.refKey, z = v === void 0 ? "ref" : v, $ = d.role, Y = d.onKeyDown, ee = d.onFocus, ne = d.onBlur, Pe = d.onClick, Se = d.onDragEnter, ze = d.onDragOver, He = d.onDragLeave, Re = d.onDrop, Ce = Fe(d, Ai);
3077
+ return P(P(ta({
3078
+ onKeyDown: _e(ae(Y, me)),
3079
+ onFocus: _e(ae(ee, ye)),
3080
+ onBlur: _e(ae(ne, ra)),
3081
+ onClick: xe(ae(Pe, pa)),
3082
+ onDragEnter: ke(ae(Se, j)),
3083
+ onDragOver: ke(ae(ze, V)),
3084
+ onDragLeave: ke(ae(He, H)),
3085
+ onDrop: ke(ae(Re, s)),
3086
+ role: typeof $ == "string" && $ !== "" ? $ : "presentation"
3087
+ }, z, S), !i && !m ? {
2961
3088
  tabIndex: 0
2962
- } : {}), Me);
3089
+ } : {}), Ce);
2963
3090
  };
2964
- }, [C, de, ye, ia, na, j, D, T, l, d, J, i]), Xa = V(function(s) {
2965
- s.stopPropagation();
2966
- }, []), Qa = xe(function() {
3091
+ }, [S, me, ye, ra, pa, j, V, H, s, m, X, i]), it = K(function(d) {
3092
+ d.stopPropagation();
3093
+ }, []), nt = ge(function() {
2967
3094
  return function() {
2968
- var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = s.refKey, I = f === void 0 ? "ref" : f, B = s.onChange, U = s.onClick, Q = Pe(s, Ei), ie = Qe({
2969
- accept: te,
3095
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = d.refKey, z = v === void 0 ? "ref" : v, $ = d.onChange, Y = d.onClick, ee = Fe(d, ki), ne = ta({
3096
+ accept: ie,
2970
3097
  multiple: c,
2971
3098
  type: "file",
2972
3099
  style: {
@@ -2981,138 +3108,138 @@ function Ka() {
2981
3108
  width: "1px",
2982
3109
  whiteSpace: "nowrap"
2983
3110
  },
2984
- onChange: ve(ee(B, l)),
2985
- onClick: ve(ee(U, Xa)),
3111
+ onChange: xe(ae($, s)),
3112
+ onClick: xe(ae(Y, it)),
2986
3113
  tabIndex: -1
2987
- }, I, H);
2988
- return F(F({}, ie), Q);
3114
+ }, z, W);
3115
+ return P(P({}, ne), ee);
2989
3116
  };
2990
- }, [H, t, c, l, i]);
2991
- return F(F({}, pe), {}, {
2992
- isFocused: r && !i,
2993
- getRootProps: Ja,
2994
- getInputProps: Qa,
2995
- rootRef: C,
2996
- inputRef: H,
2997
- open: ve(W)
3117
+ }, [W, t, c, s, i]);
3118
+ return P(P({}, le), {}, {
3119
+ isFocused: p && !i,
3120
+ getRootProps: tt,
3121
+ getInputProps: nt,
3122
+ rootRef: S,
3123
+ inputRef: W,
3124
+ open: xe(B)
2998
3125
  });
2999
3126
  }
3000
- function Pi(e, a) {
3127
+ function Oi(e, a) {
3001
3128
  switch (a.type) {
3002
3129
  case "focus":
3003
- return F(F({}, e), {}, {
3130
+ return P(P({}, e), {}, {
3004
3131
  isFocused: !0
3005
3132
  });
3006
3133
  case "blur":
3007
- return F(F({}, e), {}, {
3134
+ return P(P({}, e), {}, {
3008
3135
  isFocused: !1
3009
3136
  });
3010
3137
  case "openDialog":
3011
- return F(F({}, ea), {}, {
3138
+ return P(P({}, ia), {}, {
3012
3139
  isFileDialogActive: !0
3013
3140
  });
3014
3141
  case "closeDialog":
3015
- return F(F({}, e), {}, {
3142
+ return P(P({}, e), {}, {
3016
3143
  isFileDialogActive: !1
3017
3144
  });
3018
3145
  case "setDraggedFiles":
3019
- return F(F({}, e), {}, {
3146
+ return P(P({}, e), {}, {
3020
3147
  isDragActive: a.isDragActive,
3021
3148
  isDragAccept: a.isDragAccept,
3022
3149
  isDragReject: a.isDragReject
3023
3150
  });
3024
3151
  case "setFiles":
3025
- return F(F({}, e), {}, {
3152
+ return P(P({}, e), {}, {
3026
3153
  acceptedFiles: a.acceptedFiles,
3027
3154
  fileRejections: a.fileRejections,
3028
3155
  isDragReject: !1
3029
3156
  });
3030
3157
  case "setDragGlobal":
3031
- return F(F({}, e), {}, {
3158
+ return P(P({}, e), {}, {
3032
3159
  isDragGlobal: a.isDragGlobal
3033
3160
  });
3034
3161
  case "reset":
3035
- return F({}, ea);
3162
+ return P({}, ia);
3036
3163
  default:
3037
3164
  return e;
3038
3165
  }
3039
3166
  }
3040
- function Pa() {
3041
- }
3042
- const Va = ot([null, () => {
3043
- }]), zi = () => rt(Va), Ri = (e) => e.type.startsWith("image/") ? "img" : e.type.startsWith("audio/") ? "audio" : e.type.startsWith("video/") ? "video" : e.type, Fi = {
3044
- csv: Le,
3045
- xls: Le,
3046
- mov: ra,
3047
- mp4: ra,
3048
- xlsx: Le,
3049
- pdf: oa,
3050
- txt: oa,
3051
- json: ut,
3052
- mp3: dt
3053
- }, Ci = (e) => {
3054
- const [, a] = zi(), [t, i] = Ve({ url: "", type: "", size: "" });
3055
- we(() => {
3056
- const u = e.file, v = URL.createObjectURL(u);
3057
- return i({ url: v, type: Ri(u), size: _t(u.size) }), () => URL.revokeObjectURL(v);
3167
+ function Oa() {
3168
+ }
3169
+ const et = dt([null, () => {
3170
+ }]), Fi = () => mt(et), _i = (e) => e.type.startsWith("image/") ? "img" : e.type.startsWith("audio/") ? "audio" : e.type.startsWith("video/") ? "video" : e.type, Pi = {
3171
+ csv: De,
3172
+ xls: De,
3173
+ mov: Xe,
3174
+ mp4: Xe,
3175
+ xlsx: De,
3176
+ pdf: Je,
3177
+ txt: Je,
3178
+ json: Sa,
3179
+ mp3: Ca
3180
+ }, Si = (e) => {
3181
+ const [, a] = Fi(), [t, i] = Ke({ url: "", type: "", size: "" });
3182
+ Ee(() => {
3183
+ const f = e.file, x = URL.createObjectURL(f);
3184
+ return i({ url: x, type: _i(f), size: Tt(f.size) }), () => URL.revokeObjectURL(x);
3058
3185
  }, [e.file]);
3059
- const n = (u) => {
3060
- u.stopPropagation(), u.preventDefault(), a({ ...t, file: e.file });
3061
- }, o = (u) => {
3062
- u.preventDefault(), u.stopPropagation(), e.onDeleteFile?.(e.file);
3063
- }, p = Fi[e.file.name.split(".").at(-1)] ?? ct, c = t.type === "img" ? /* @__PURE__ */ S("img", { src: t.url, className: "w-full object-contain", alt: e.file.name }) : /* @__PURE__ */ S(p, { strokeWidth: 2, absoluteStrokeWidth: !0, size: 48 });
3064
- return /* @__PURE__ */ ne("li", { className: "flex w-full flex-row justify-between gap-4 border-b border-card-border last:border-b-transparent", children: [
3065
- /* @__PURE__ */ ne("div", { className: "flex flex-col gap-4", children: [
3066
- /* @__PURE__ */ ne("div", { className: "flex flex-row items-center gap-4", children: [
3067
- /* @__PURE__ */ S("button", { type: "button", onClick: n, className: "m-2 flex size-16 max-w-16 items-center justify-center overflow-hidden", children: c }),
3068
- /* @__PURE__ */ ne("div", { className: "flex flex-col items-start justify-start text-left", children: [
3069
- /* @__PURE__ */ S("span", { children: e.file.name }),
3070
- /* @__PURE__ */ S("span", { className: "text-sm italic", children: t.size })
3186
+ const o = (f) => {
3187
+ f.stopPropagation(), f.preventDefault(), a({ ...t, file: e.file });
3188
+ }, r = (f) => {
3189
+ f.preventDefault(), f.stopPropagation(), e.onDeleteFile?.(e.file);
3190
+ }, l = Pi[e.file.name.split(".").at(-1)] ?? rt, c = t.type === "img" ? /* @__PURE__ */ Z("img", { src: t.url, className: "w-full object-contain", alt: e.file.name }) : /* @__PURE__ */ Z(l, { size: 48 });
3191
+ return /* @__PURE__ */ oe("li", { className: "flex w-full flex-row justify-between gap-4 border-b border-card-border last:border-b-transparent", children: [
3192
+ /* @__PURE__ */ oe("div", { className: "flex flex-col gap-4", children: [
3193
+ /* @__PURE__ */ oe("div", { className: "flex flex-row items-center gap-4", children: [
3194
+ /* @__PURE__ */ Z("button", { type: "button", onClick: o, className: "m-2 flex size-16 max-w-16 items-center justify-center overflow-hidden", children: c }),
3195
+ /* @__PURE__ */ oe("div", { className: "flex flex-col items-start justify-start text-left", children: [
3196
+ /* @__PURE__ */ Z("span", { children: e.file.name }),
3197
+ /* @__PURE__ */ Z("span", { className: "text-sm italic", children: t.size })
3071
3198
  ] })
3072
3199
  ] }),
3073
- e.File ? /* @__PURE__ */ S("div", { className: "min-w-full flex-1", children: /* @__PURE__ */ S(e.File, { file: e.file }) }) : null
3200
+ e.File ? /* @__PURE__ */ Z("div", { className: "min-w-full flex-1", children: /* @__PURE__ */ Z(e.File, { file: e.file }) }) : null
3074
3201
  ] }),
3075
- /* @__PURE__ */ S("div", { className: "align-start flex justify-start py-4 transition-colors duration-300 ease-linear hover:text-danger-hover", children: /* @__PURE__ */ S("button", { onClick: o, type: "button", className: "flex size-6 items-center justify-center", children: /* @__PURE__ */ S(lt, { size: 16 }) }) })
3202
+ /* @__PURE__ */ Z("div", { className: "align-start flex justify-start py-4 transition-colors duration-300 ease-linear hover:text-danger-hover", children: /* @__PURE__ */ Z("button", { onClick: r, type: "button", className: "flex size-6 items-center justify-center", children: /* @__PURE__ */ Z(ut, { size: 16 }) }) })
3076
3203
  ] });
3077
- }, Ii = (e) => /* @__PURE__ */ S("ul", { className: "w-full space-y-8", children: e.files.map((a) => /* @__PURE__ */ S(Ci, { File: e.File, onDeleteFile: e.onDeleteFile, file: a }, a.name)) }), Za = (e) => {
3078
- const a = Ra(), t = e.dragging ? gt : bt;
3079
- return /* @__PURE__ */ ne("div", { className: "flex flex-col items-center justify-center", children: [
3080
- /* @__PURE__ */ S("div", { className: "flex flex-col items-center justify-center gap-2", children: /* @__PURE__ */ S(t, { className: "text-primary", size: 80 }) }),
3081
- /* @__PURE__ */ ne("div", { className: "my-4 flex flex-col items-center gap-1", children: [
3082
- /* @__PURE__ */ S("p", { children: a.uploadIdle }),
3083
- /* @__PURE__ */ S("button", { className: "text-primary underline", type: "button", children: a.uploadIdleButton })
3204
+ }, zi = (e) => /* @__PURE__ */ Z("ul", { className: "w-full space-y-8", children: e.files.map((a) => /* @__PURE__ */ Z(Si, { File: e.File, onDeleteFile: e.onDeleteFile, file: a }, a.name)) }), at = (e) => {
3205
+ const a = _a(), t = e.dragging ? Ra : za;
3206
+ return /* @__PURE__ */ oe("div", { className: "flex flex-col items-center justify-center", children: [
3207
+ /* @__PURE__ */ Z("div", { className: "flex flex-col items-center justify-center gap-2", children: /* @__PURE__ */ Z(t, { className: "text-primary", size: 80 }) }),
3208
+ /* @__PURE__ */ oe("div", { className: "my-4 flex flex-col items-center gap-1", children: [
3209
+ /* @__PURE__ */ Z("p", { children: a.uploadIdle }),
3210
+ /* @__PURE__ */ Z("button", { className: "text-primary underline", type: "button", children: a.uploadIdleButton })
3084
3211
  ] })
3085
3212
  ] });
3086
- }, Mi = (e) => e.isDragActive ? /* @__PURE__ */ S(Za, { files: e.files, dragging: !0 }) : e.files.length > 0 ? /* @__PURE__ */ S(Ii, { File: e.File, onDeleteFile: e.onDeleteFile, files: e.files }) : /* @__PURE__ */ S(za, { children: e.idle }), qi = /* @__PURE__ */ S(Za, { dragging: !1 }), $i = (e) => {
3213
+ }, Ri = (e) => e.isDragActive ? /* @__PURE__ */ Z(at, { files: e.files, dragging: !0 }) : e.files.length > 0 ? /* @__PURE__ */ Z(zi, { File: e.File, onDeleteFile: e.onDeleteFile, files: e.files }) : /* @__PURE__ */ Z(Fa, { children: e.idle }), Ci = /* @__PURE__ */ Z(at, { dragging: !1 }), Ii = (e) => {
3087
3214
  const a = e.item.file, t = e.item.type;
3088
- return /* @__PURE__ */ ne("div", { className: "flex flex-col gap-4", children: [
3089
- /* @__PURE__ */ S("p", { className: "text-lg font-medium", children: e.item.file.name }),
3090
- /* @__PURE__ */ S("p", { className: "text-base", children: e.item.size }),
3091
- t === "img" ? /* @__PURE__ */ S("img", { className: "container inline-block w-full max-w-96", src: e.item.url, alt: a.name }) : t === "video" ? /* @__PURE__ */ S("video", { className: "container block w-full max-w-96", src: e.item.url, controls: !0, muted: !0 }) : t === "audio" ? /* @__PURE__ */ S("figure", { children: /* @__PURE__ */ S("audio", { controls: !0, src: e.item.url }) }) : null
3215
+ return /* @__PURE__ */ oe("div", { className: "flex flex-col gap-4", children: [
3216
+ /* @__PURE__ */ Z("p", { className: "text-lg font-medium", children: e.item.file.name }),
3217
+ /* @__PURE__ */ Z("p", { className: "text-base", children: e.item.size }),
3218
+ t === "img" ? /* @__PURE__ */ Z("img", { className: "container inline-block w-full max-w-96", src: e.item.url, alt: a.name }) : t === "video" ? /* @__PURE__ */ Z("video", { className: "container block w-full max-w-96", src: e.item.url, controls: !0, muted: !0 }) : t === "audio" ? /* @__PURE__ */ Z("figure", { children: /* @__PURE__ */ Z("audio", { controls: !0, src: e.item.url }) }) : null
3092
3219
  ] });
3093
- }, Vi = ({ idle: e = qi, onDeleteFile: a, File: t, onDrop: i, ...n }) => {
3094
- const o = Ra(), p = Ve(null), [c, u] = Ve([]), v = n.files ?? c, x = () => p[1](null), b = (O) => {
3095
- i?.(O), u((M) => M.concat(O));
3096
- }, { getRootProps: P, getInputProps: R, isDragActive: q } = Ka({ onDrop: b });
3097
- return /* @__PURE__ */ ne(Va.Provider, { value: p, children: [
3098
- /* @__PURE__ */ S(pt, { overlayClickClose: !0, title: o.uploadDialogTitle, ariaTitle: o.uploadDialogTitle, open: p[0] !== null, onChange: x, children: p[0] ? /* @__PURE__ */ S($i, { item: p[0] }) : null }),
3099
- /* @__PURE__ */ ne(
3220
+ }, Ki = ({ idle: e = Ci, onDeleteFile: a, File: t, onDrop: i, ...o }) => {
3221
+ const r = _a(), l = Ke(null), [c, f] = Ke([]), x = o.files ?? c, g = () => l[1](null), b = (M) => {
3222
+ i?.(M), f((R) => R.concat(M));
3223
+ }, { getRootProps: O, getInputProps: _, isDragActive: C } = Qa({ onDrop: b });
3224
+ return /* @__PURE__ */ oe(et.Provider, { value: l, children: [
3225
+ /* @__PURE__ */ Z(ft, { overlayClickClose: !0, title: r.uploadDialogTitle, ariaTitle: r.uploadDialogTitle, open: l[0] !== null, onChange: g, children: l[0] ? /* @__PURE__ */ Z(Ii, { item: l[0] }) : null }),
3226
+ /* @__PURE__ */ oe(
3100
3227
  "div",
3101
3228
  {
3102
- ...P(),
3103
- "data-active": v ? v.length > 0 : !1,
3229
+ ...O(),
3230
+ "data-active": x ? x.length > 0 : !1,
3104
3231
  className: "flex flex-col items-center justify-center rounded-lg border border-card-border p-6 text-foreground data-[active=true]:border-solid data-[active=false]:border-dashed data-[active=true]:border-transparent data-[active=true]:bg-card-background",
3105
3232
  children: [
3106
- /* @__PURE__ */ S("input", { ...R(n), name: n.name, id: n.name }),
3107
- /* @__PURE__ */ S(Mi, { File: t, onDeleteFile: a, isDragActive: q, idle: e, files: v })
3233
+ /* @__PURE__ */ Z("input", { ..._(o), name: o.name, id: o.name }),
3234
+ /* @__PURE__ */ Z(Ri, { File: t, onDeleteFile: a, isDragActive: C, idle: e, files: x })
3108
3235
  ]
3109
3236
  }
3110
3237
  )
3111
3238
  ] });
3112
3239
  };
3113
3240
  export {
3114
- Vi as F,
3115
- Gi as c,
3116
- Ki as g
3241
+ Ki as F,
3242
+ Ui as c,
3243
+ Gi as g
3117
3244
  };
3118
- //# sourceMappingURL=file-upload-BB6BdGcE.js.map
3245
+ //# sourceMappingURL=file-upload-Brf2NkLr.js.map