@abyss-project/commons-front-core 13.3.0 → 15.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 (201) hide show
  1. package/README.md +1 -1
  2. package/catalog/captures-plan.ts +4 -1
  3. package/catalog/catalog-entries.ts +6 -1
  4. package/catalog/expected-error.ts +6 -0
  5. package/catalog/pages/CookieConsent.tsx +38 -0
  6. package/catalog/pages/ErrorBoundary.tsx +22 -0
  7. package/catalog/pages/PasswordField.tsx +62 -0
  8. package/catalog/pages/Toast.tsx +17 -6
  9. package/catalog/pages/index.ts +6 -0
  10. package/catalog/specs/captures.spec.ts +10 -0
  11. package/catalog/specs/catalog-page.ts +6 -1
  12. package/catalog/specs/write-capture-index.ts +1 -0
  13. package/dist/CookieConsentSettings-B7NfjgaI.js +505 -0
  14. package/dist/{use-rich-intl.hook-BETUyCkW.js → Surface-BEhoEhyC.js} +844 -161
  15. package/dist/Tabs-DJ9_ZFjM.js +1946 -0
  16. package/dist/auth/components/AuthFlow/auth-flow.types.d.ts +2 -0
  17. package/dist/auth/components/AuthFlow/steps/MfaEnrollmentStep.component.d.ts +2 -0
  18. package/dist/auth/components/AuthFlow/steps/MfaStep.component.d.ts +10 -4
  19. package/dist/auth/components/AuthFlow/steps/PasskeyNudgeStep.component.d.ts +3 -1
  20. package/dist/auth/components/AuthHeroLayout/auth-hero-gradient.d.ts +18 -0
  21. package/dist/auth/components/MfaRequirementBanner/MfaRequirementBanner.component.d.ts +3 -1
  22. package/dist/auth/components/SecuritySettings/SecuritySettings.component.d.ts +1 -1
  23. package/dist/auth/components/SecuritySettings/sections/PasskeysSection.component.d.ts +6 -1
  24. package/dist/auth/components/SecuritySettings/sections/RecoveryCodesSection.component.d.ts +3 -1
  25. package/dist/auth/components/SecuritySettings/sections/TrustedDevicesSection.component.d.ts +6 -0
  26. package/dist/auth/components/index.d.ts +1 -0
  27. package/dist/auth/components/shared/AuthLoadingScreen.component.d.ts +5 -0
  28. package/dist/auth/components/shared/SingleDevicePasskeyAdvice.component.d.ts +13 -0
  29. package/dist/auth/components/shared/passkey-ceremonies.d.ts +6 -1
  30. package/dist/auth/components/shared/support-contact.d.ts +2 -0
  31. package/dist/auth/components/shared/use-async-resource.hook.d.ts +4 -1
  32. package/dist/auth/components/test-support/auth-sdk.mock.d.ts +5 -0
  33. package/dist/auth/components/test-support/auth-test-harness.d.ts +3 -0
  34. package/dist/clsx-OuTLNxxd.js +16 -0
  35. package/dist/{legacy/components/CookieConsent/CookieConsentBanner.component.d.ts → components/business/CookieConsent/CookieConsentBanner.d.ts} +1 -2
  36. package/dist/components/business/CookieConsent/CookieConsentSettings.d.ts +1 -0
  37. package/dist/{legacy/components → components/business}/CookieConsent/index.d.ts +2 -2
  38. package/dist/components/business/Support/AbyssServiceSelect.component.d.ts +26 -0
  39. package/dist/components/business/Support/SupportActionButtons.component.d.ts +7 -0
  40. package/dist/components/business/Support/SupportActivityLog.component.d.ts +7 -0
  41. package/dist/components/business/Support/SupportAttachmentsPanel.component.d.ts +7 -0
  42. package/dist/components/business/Support/SupportCategoryChip.component.d.ts +12 -0
  43. package/dist/components/business/Support/SupportCategoryGroupCards.component.d.ts +2 -0
  44. package/dist/components/business/Support/SupportCategorySelect.component.d.ts +21 -0
  45. package/dist/components/business/Support/SupportCreateTextField.d.ts +17 -0
  46. package/dist/components/business/Support/SupportMessageAttachment.component.d.ts +9 -0
  47. package/dist/components/business/Support/SupportMessageInput.component.d.ts +7 -0
  48. package/dist/components/business/Support/SupportMessageLink.component.d.ts +8 -0
  49. package/dist/components/business/Support/SupportMessageLink.component.spec.d.ts +1 -0
  50. package/dist/components/business/Support/SupportMessageThread.component.d.ts +8 -0
  51. package/dist/components/business/Support/SupportMessageThread.component.spec.d.ts +1 -0
  52. package/dist/components/business/Support/SupportPill.d.ts +18 -0
  53. package/dist/components/business/Support/SupportPriorityChip.component.d.ts +3 -0
  54. package/dist/components/business/Support/SupportSidebar.component.d.ts +7 -0
  55. package/dist/components/business/Support/SupportSidebar.component.spec.d.ts +1 -0
  56. package/dist/components/business/Support/SupportStatusBadge.component.d.ts +3 -0
  57. package/dist/components/business/Support/SupportStatusTimeline.component.d.ts +15 -0
  58. package/dist/components/business/Support/SupportSystemMessage.component.d.ts +11 -0
  59. package/dist/components/business/Support/SupportSystemMessage.component.spec.d.ts +1 -0
  60. package/dist/components/business/Support/SupportTagEditor.d.ts +15 -0
  61. package/dist/components/business/Support/SupportTicketCreateForm.component.d.ts +2 -0
  62. package/dist/components/business/Support/SupportTicketCreateForm.component.spec.d.ts +1 -0
  63. package/dist/components/business/Support/SupportTicketCreateStepper.component.d.ts +2 -0
  64. package/dist/components/business/Support/SupportTicketCreateStepper.component.spec.d.ts +1 -0
  65. package/dist/components/business/Support/SupportTicketDetail.component.d.ts +8 -0
  66. package/dist/components/business/Support/SupportTicketDetail.component.spec.d.ts +1 -0
  67. package/dist/components/business/Support/SupportTicketDetail.mobile-layout.spec.d.ts +1 -0
  68. package/dist/components/business/Support/SupportTicketList.component.spec.d.ts +1 -0
  69. package/dist/components/business/Support/SupportTicketList.week-preset.spec.d.ts +1 -0
  70. package/dist/components/business/Support/SupportTicketListFilterBar.d.ts +15 -0
  71. package/dist/components/business/Support/SupportTopBar.component.d.ts +7 -0
  72. package/dist/components/business/Support/support-action.d.ts +17 -0
  73. package/dist/components/business/Support/support-action.logic.d.ts +12 -0
  74. package/dist/components/business/Support/support-action.logic.spec.d.ts +1 -0
  75. package/dist/components/business/Support/support-attachment.logic.spec.d.ts +1 -0
  76. package/dist/components/business/Support/support-author.logic.spec.d.ts +1 -0
  77. package/dist/components/business/Support/support-create-stepper.logic.spec.d.ts +1 -0
  78. package/dist/components/business/Support/support-create.logic.d.ts +28 -0
  79. package/dist/components/business/Support/support-create.logic.spec.d.ts +1 -0
  80. package/dist/components/business/Support/support-message-anchor.d.ts +4 -0
  81. package/dist/components/business/Support/support-message-input.logic.spec.d.ts +1 -0
  82. package/dist/components/business/Support/support-service.logic.spec.d.ts +1 -0
  83. package/dist/components/business/Support/support-status-timeline.logic.spec.d.ts +1 -0
  84. package/dist/components/business/Support/support-tone.d.ts +11 -0
  85. package/dist/components/business/Support/test-support/support-detail.fixtures.d.ts +7 -0
  86. package/dist/components/business/Support/test-support/support-thread.fixtures.d.ts +9 -0
  87. package/dist/{legacy/components → components/business}/Support/types.d.ts +13 -4
  88. package/dist/components/business/Support/use-support-create-error-message.hook.d.ts +4 -0
  89. package/dist/components/business/index.d.ts +23 -0
  90. package/dist/components/inputs/ExpressionSearch/ExpressionSearch.d.ts +6 -1
  91. package/dist/components/inputs/FormField/FormField.d.ts +5 -1
  92. package/dist/components/inputs/PasswordField/PasswordField.d.ts +40 -0
  93. package/dist/components/inputs/PasswordField/PasswordField.spec.d.ts +1 -0
  94. package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +9 -1
  95. package/dist/components/inputs/index.d.ts +1 -0
  96. package/dist/components/layers/Toast/Toast.d.ts +3 -18
  97. package/dist/components/layers/Toast/toast-clearance.d.ts +6 -0
  98. package/dist/components/layers/Toast/toast-store.d.ts +76 -0
  99. package/dist/components/states/ErrorBoundary/ErrorBoundary.d.ts +17 -0
  100. package/dist/components/states/ErrorBoundary/ErrorBoundary.spec.d.ts +1 -0
  101. package/dist/components/states/PageState/PageState.d.ts +3 -1
  102. package/dist/components/states/index.d.ts +1 -0
  103. package/dist/cookie-consent.d.ts +1 -1
  104. package/dist/cookie-consent.js +14 -15
  105. package/dist/demo/DemoBanner/DemoBanner.d.ts +16 -0
  106. package/dist/demo/DemoBanner/DemoBanner.spec.d.ts +1 -0
  107. package/dist/demo/DemoBanner/index.d.ts +1 -0
  108. package/dist/demo/demo-blocked.interceptor.d.ts +7 -0
  109. package/dist/demo/demo.en.d.ts +17 -0
  110. package/dist/demo/demo.fr.d.ts +17 -0
  111. package/dist/demo/index.d.ts +3 -0
  112. package/dist/demo/tests/demo-blocked.interceptor.spec.d.ts +1 -0
  113. package/dist/demo/use-demo-account.hook.d.ts +19 -0
  114. package/dist/design-theme-N9jJSXdK.js +27605 -0
  115. package/dist/{editors-CUsZNFfw.js → editors-QM76tqZI.js} +84 -84
  116. package/dist/editors.js +1 -1
  117. package/dist/hooks/use-rich-intl.hook.d.ts +210 -0
  118. package/dist/{index-CiDg4J7c.js → index-3-SmpH5N.js} +4 -4
  119. package/dist/{index-DErJ9c2q.js → index-4b2f7sdW.js} +2 -2
  120. package/dist/{index-DEBTvCWD.js → index-5OVR3WNo.js} +3 -3
  121. package/dist/{index-Lyt4_W7a.js → index-BKAfoA1a.js} +2 -2
  122. package/dist/{AbyssCloud-D_AbU9k7.js → index-C27b790L.js} +1438 -1083
  123. package/dist/{index-CYUixRIB.js → index-C6jhogFt.js} +2 -2
  124. package/dist/{index-D1ro2oTw.js → index-CM5COMvb.js} +2 -2
  125. package/dist/{index-BQ4GXlMJ.js → index-COUUAr5G.js} +1 -1
  126. package/dist/{index-C7a2XXcz.js → index-CQU0eEXk.js} +4 -4
  127. package/dist/{index-YzYX-H93.js → index-Ce0rv5wr.js} +3 -3
  128. package/dist/{index-CM0x-TnE.js → index-D1M_muSg.js} +2 -2
  129. package/dist/{index-CDpC4_po.js → index-D8ncJrf1.js} +2 -2
  130. package/dist/{index-DuMzZrqc.js → index-DA-HUFp6.js} +2 -2
  131. package/dist/{index-BzoBMWdL.js → index-DCk0q3d7.js} +3 -3
  132. package/dist/{index-Bn4gTAno.js → index-DW3SBSsW.js} +2 -2
  133. package/dist/{index-BhFOCfCj.js → index-DYXAfA_s.js} +2 -2
  134. package/dist/{index-pnfk6VZ7.js → index-DmAoL9-1.js} +4 -4
  135. package/dist/{index-CjV5ui_B.js → index-Taee9VIc.js} +2 -2
  136. package/dist/{index-GTkZik4b.js → index-jZGexiyT.js} +3 -3
  137. package/dist/{index-Ba41aBBN.js → index-mmrA4ErC.js} +2 -2
  138. package/dist/{index-TB7ekLl-.js → index-nKbvjf2P.js} +2 -2
  139. package/dist/{index-DobX4g2g.js → index-pX3CTxFd.js} +2 -2
  140. package/dist/index.d.ts +1 -0
  141. package/dist/index.js +14545 -9182
  142. package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +1 -4
  143. package/dist/legacy/components/index.d.ts +1 -2
  144. package/dist/legacy/legacy-support-removed.spec.d.ts +1 -0
  145. package/dist/legacy.js +13350 -17922
  146. package/dist/theme/index.d.ts +1 -1
  147. package/dist/translations/en.d.ts +104 -0
  148. package/dist/translations/fr.d.ts +104 -0
  149. package/dist/utils/index.d.ts +2 -0
  150. package/dist/utils/project-link-mode.d.ts +4 -0
  151. package/dist/utils/project-link-wording.utils.d.ts +1 -1
  152. package/dist/utils/service-config.d.ts +8 -0
  153. package/dist/utils/service-config.spec.d.ts +1 -0
  154. package/package.json +3 -3
  155. package/vite.config.ts +1 -1
  156. package/dist/AbyssCookieConsentProvider-Ds99df0E.js +0 -4562
  157. package/dist/CookieConsentSettings.component-DoWLHqw5.js +0 -78
  158. package/dist/Tabs-C1qcQ2i5.js +0 -2335
  159. package/dist/clsx-D8ItxkrZ.js +0 -446
  160. package/dist/design-theme-CYGZ6mAh.js +0 -23975
  161. package/dist/legacy/components/CookieConsent/CookieConsentSettings.component.d.ts +0 -2
  162. package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +0 -37
  163. package/dist/legacy/components/Support/SupportActionButtons.component.d.ts +0 -3
  164. package/dist/legacy/components/Support/SupportActivityLog.component.d.ts +0 -3
  165. package/dist/legacy/components/Support/SupportAttachmentsPanel.component.d.ts +0 -3
  166. package/dist/legacy/components/Support/SupportCategoryChip.component.d.ts +0 -9
  167. package/dist/legacy/components/Support/SupportCategoryGroupCards.component.d.ts +0 -3
  168. package/dist/legacy/components/Support/SupportCategorySelect.component.d.ts +0 -22
  169. package/dist/legacy/components/Support/SupportMessageInput.component.d.ts +0 -3
  170. package/dist/legacy/components/Support/SupportMessageThread.component.d.ts +0 -3
  171. package/dist/legacy/components/Support/SupportPriorityChip.component.d.ts +0 -3
  172. package/dist/legacy/components/Support/SupportSidebar.component.d.ts +0 -3
  173. package/dist/legacy/components/Support/SupportStatusBadge.component.d.ts +0 -3
  174. package/dist/legacy/components/Support/SupportStatusTimeline.component.d.ts +0 -10
  175. package/dist/legacy/components/Support/SupportTicketCreateForm.component.d.ts +0 -3
  176. package/dist/legacy/components/Support/SupportTicketCreateStepper.component.d.ts +0 -3
  177. package/dist/legacy/components/Support/SupportTicketDetail.component.d.ts +0 -3
  178. package/dist/legacy/components/Support/SupportTopBar.component.d.ts +0 -3
  179. package/dist/legacy/components/Support/index.d.ts +0 -18
  180. /package/dist/{legacy/components/CookieConsent/AbyssCookieConsentProvider.spec.d.ts → auth/components/AuthFlow/steps/MfaStep.component.spec.d.ts} +0 -0
  181. /package/dist/{legacy/components/Support/SupportCategoryPick.component.spec.d.ts → auth/components/SecuritySettings/sections/SessionsSection.component.spec.d.ts} +0 -0
  182. /package/dist/{legacy/components/Support/SupportMessageLink.component.spec.d.ts → auth/components/shared/use-async-resource.hook.spec.d.ts} +0 -0
  183. /package/dist/{legacy/components → components/business}/CookieConsent/AbyssCookieConsentProvider.d.ts +0 -0
  184. /package/dist/{legacy/components/Support/SupportSystemMessage.component.spec.d.ts → components/business/CookieConsent/AbyssCookieConsentProvider.spec.d.ts} +0 -0
  185. /package/dist/{legacy/components/Support/SupportTicketDetail.mobile-layout.spec.d.ts → components/business/CookieConsent/CookieConsent.spec.d.ts} +0 -0
  186. /package/dist/{legacy/components/Support/SupportTicketList.week-preset.spec.d.ts → components/business/Support/AbyssServiceSelect.component.spec.d.ts} +0 -0
  187. /package/dist/{legacy/components/Support/support-attachment.logic.spec.d.ts → components/business/Support/SupportActivityLog.component.spec.d.ts} +0 -0
  188. /package/dist/{legacy/components/Support/support-author.logic.spec.d.ts → components/business/Support/SupportAttachmentsPanel.component.spec.d.ts} +0 -0
  189. /package/dist/{legacy/components/Support/support-create-stepper.logic.spec.d.ts → components/business/Support/SupportBadges.spec.d.ts} +0 -0
  190. /package/dist/{legacy/components/Support/support-message-input.logic.spec.d.ts → components/business/Support/SupportCategoryGroupCards.component.spec.d.ts} +0 -0
  191. /package/dist/{legacy/components/Support/support-service.logic.spec.d.ts → components/business/Support/SupportCategorySelect.component.spec.d.ts} +0 -0
  192. /package/dist/{legacy/components/Support/support-status-timeline.logic.spec.d.ts → components/business/Support/SupportMessageInput.component.spec.d.ts} +0 -0
  193. /package/dist/{legacy/components → components/business}/Support/SupportTicketList.component.d.ts +0 -0
  194. /package/dist/{legacy/components → components/business}/Support/support-attachment.logic.d.ts +0 -0
  195. /package/dist/{legacy/components → components/business}/Support/support-author.logic.d.ts +0 -0
  196. /package/dist/{legacy/components → components/business}/Support/support-category.logic.d.ts +0 -0
  197. /package/dist/{legacy/components → components/business}/Support/support-create-stepper.logic.d.ts +0 -0
  198. /package/dist/{legacy/components → components/business}/Support/support-message-input.logic.d.ts +0 -0
  199. /package/dist/{legacy/components → components/business}/Support/support-service.logic.d.ts +0 -0
  200. /package/dist/{legacy/components → components/business}/Support/support-status-timeline.logic.d.ts +0 -0
  201. /package/dist/{legacy/components → components/business}/Support/support-system-message.logic.d.ts +0 -0
@@ -1,117 +1,446 @@
1
- import We, { useMemo as ua, useRef as wa, useReducer as Ye, useEffect as qa, useCallback as V, forwardRef as Ue, useImperativeHandle as He, Fragment as Ke } from "react";
2
- import { g as ke } from "./use-rich-intl.hook-BETUyCkW.js";
3
- var Be = /* @__PURE__ */ ((a) => (a.Dark = "dark", a.Light = "light", a))(Be || {});
4
- const Ge = 266, R = (a, e) => ({ l: a, c: e, h: Ge }), et = {
5
- dark: {
6
- 1: R(0.155, 0.034),
7
- 2: R(0.17, 0.036),
8
- 3: R(0.2, 0.04),
9
- 4: R(0.24, 0.042),
10
- 5: R(0.265, 0.042),
11
- 6: R(0.295, 0.042),
12
- 7: R(0.37, 0.045),
13
- 8: R(0.54, 0.045),
14
- 9: R(0.63, 0.035),
15
- 10: R(0.72, 0.03),
16
- 11: R(0.79, 0.03),
17
- 12: R(0.96, 0.01)
18
- },
19
- light: {
20
- 1: R(0.995, 3e-3),
21
- 2: R(0.975, 8e-3),
22
- 3: R(0.96, 0.012),
23
- 4: R(0.935, 0.016),
24
- 5: R(0.91, 0.018),
25
- 6: R(0.885, 0.02),
26
- 7: R(0.8, 0.03),
27
- 8: R(0.6, 0.035),
28
- 9: R(0.5, 0.04),
29
- 10: R(0.46, 0.042),
30
- 11: R(0.42, 0.045),
31
- 12: R(0.22, 0.045)
32
- }
33
- }, it = {
34
- sans: '"Geist Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
35
- mono: '"Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace'
36
- }, tt = {
37
- caption: 11,
38
- small: 12,
39
- body: 13,
40
- bodyComfort: 14,
41
- bodyMobile: 15,
42
- sectionTitle: 16,
43
- pageTitle: 22,
44
- figure: 26,
45
- mobileLargeTitle: 30
46
- }, nt = {
47
- regular: 400,
48
- medium: 500,
49
- semibold: 600,
50
- bold: 700
51
- }, ot = [0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64], rt = {
52
- sm: 4,
53
- md: 6,
54
- lg: 12
55
- }, pt = {
56
- fast: 120,
57
- base: 180,
58
- slow: 260
59
- }, ct = {
60
- standard: "cubic-bezier(0.2, 0, 0, 1)",
61
- sheet: "cubic-bezier(0.32, 0.72, 0, 1)"
62
- }, lt = {
63
- xs: 0,
64
- sm: 480,
65
- md: 768,
66
- lg: 1200,
67
- xl: 1600
68
- }, st = {
69
- comfortable: { row: 40, control: 32 },
70
- compact: { row: 30, control: 28 },
71
- touchTarget: 44
72
- }, dt = 0.14, je = (a) => a.projectId ? "project" : a.organizationId && a.userId ? "perso-in-org" : a.organizationId ? "org-common" : "personal", mt = (a, e, i = {}) => {
73
- switch (je(a)) {
1
+ import Da, { useMemo as ve, useRef as De, useReducer as za, useEffect as Je, useCallback as V, forwardRef as Ca, useImperativeHandle as Ra, Fragment as Ia } from "react";
2
+ const Xt = (e) => e.projectId ? "project" : e.organizationId && e.userId ? "perso-in-org" : e.organizationId ? "org-common" : "personal", ar = (e, t, a = {}) => {
3
+ switch (Xt(e)) {
74
4
  case "project":
75
- return i.projectName ?? e.formatMessage({ id: "space-display-name.project" });
5
+ return a.projectName ?? t.formatMessage({ id: "space-display-name.project" });
76
6
  case "org-common":
77
- return i.organizationName ?? e.formatMessage({ id: "space-display-name.org-common" });
7
+ return a.organizationName ?? t.formatMessage({ id: "space-display-name.org-common" });
78
8
  case "perso-in-org":
79
- return i.userAlias ?? e.formatMessage({ id: "space-display-name.perso-in-org" });
9
+ return a.userAlias ?? t.formatMessage({ id: "space-display-name.perso-in-org" });
80
10
  case "personal":
81
11
  default:
82
- return i.userAlias ?? e.formatMessage({ id: "space-display-name.personal" });
12
+ return a.userAlias ?? t.formatMessage({ id: "space-display-name.personal" });
83
13
  }
84
- }, ut = (a, e, i) => {
85
- const t = `${a.replace(/\/+$/, "")}/dashboard`;
86
- if (!e)
87
- return t;
88
- if (i)
89
- return `${t}/shared-with-me`;
90
- switch (je(e)) {
14
+ }, ir = (e, t, a) => {
15
+ const i = `${e.replace(/\/+$/, "")}/dashboard`;
16
+ if (!t)
17
+ return i;
18
+ if (a)
19
+ return `${i}/shared-with-me`;
20
+ switch (Xt(t)) {
91
21
  case "project":
92
- return `${t}/org/${e.organizationId}/projects/${e.projectId}`;
22
+ return `${i}/org/${t.organizationId}/projects/${t.projectId}`;
93
23
  case "org-common":
94
- return `${t}/org/${e.organizationId}/common`;
24
+ return `${i}/org/${t.organizationId}/common`;
95
25
  case "perso-in-org":
96
- return `${t}/org/${e.organizationId}/my`;
26
+ return `${i}/org/${t.organizationId}/my`;
97
27
  case "personal":
98
28
  default:
99
- return `${t}/my`;
29
+ return `${i}/my`;
100
30
  }
101
- }, Ne = (a) => a.split(";")[0].trim().toLowerCase(), Ve = (a, e) => {
102
- if (e === "*/*")
31
+ }, Fa = (e) => e.split(";")[0].trim().toLowerCase(), $a = (e, t) => {
32
+ if (t === "*/*")
103
33
  return !0;
104
- if (e.startsWith("."))
105
- return a.name.toLowerCase().endsWith(e);
106
- if (!a.mimeType)
34
+ if (t.startsWith("."))
35
+ return e.name.toLowerCase().endsWith(t);
36
+ if (!e.mimeType)
107
37
  return !1;
108
- const i = Ne(a.mimeType);
109
- return e.endsWith("/*") ? i.startsWith(e.slice(0, -1)) : i === e;
110
- }, ft = (a, e) => {
111
- const i = (e ?? []).flatMap((t) => t.split(",")).map((t) => t.trim().toLowerCase()).filter((t) => t.length > 0);
112
- return i.length === 0 || i.some((t) => Ve(a, t));
38
+ const a = Fa(e.mimeType);
39
+ return t.endsWith("/*") ? a.startsWith(t.slice(0, -1)) : a === t;
40
+ }, nr = (e, t) => {
41
+ const a = (t ?? []).flatMap((i) => i.split(",")).map((i) => i.trim().toLowerCase()).filter((i) => i.length > 0);
42
+ return a.length === 0 || a.some((i) => $a(e, i));
113
43
  };
114
- var ka = { exports: {} }, ja = { exports: {} }, O = {};
44
+ var or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
45
+ function Qt(e) {
46
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
47
+ }
48
+ const rr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%202000%202000'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20url(%23Dégradé_sans_nom_2);%20}%20.cls-2%20{%20fill:%20url(%23Dégradé_sans_nom);%20}%20.cls-3%20{%20fill:%20url(%23Dégradé_sans_nom_4);%20}%20.cls-4%20{%20fill:%20url(%23Dégradé_sans_nom_3);%20}%20%3c/style%3e%3clinearGradient%20id='Dégradé_sans_nom'%20data-name='Dégradé%20sans%20nom'%20x1='316.37'%20y1='983.24'%20x2='941.52'%20y2='983.24'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23657eb5'/%3e%3cstop%20offset='1'%20stop-color='%238f9fc8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_2'%20data-name='Dégradé%20sans%20nom%202'%20x1='656.56'%20y1='1126.04'%20x2='1181.68'%20y2='1126.04'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%236f82b8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_3'%20data-name='Dégradé%20sans%20nom%203'%20x1='856.32'%20y1='1317.26'%20x2='1318.48'%20y2='1317.26'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%234e66aa'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_4'%20data-name='Dégradé%20sans%20nom%204'%20x1='1234.7'%20y1='855.06'%20x2='1684.55'%20y2='855.06'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%236f82b8'/%3e%3c/linearGradient%3e%3c/defs%3e%3c!--%20Generator:%20Adobe%20Illustrator%2028.7.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%201.2.0%20Build%20136)%20--%3e%3cg%3e%3cg%20id='Calque_1'%3e%3cg%20id='Calque_1-2'%20data-name='Calque_1'%3e%3cg%3e%3cpath%20class='cls-2'%20d='M941.25,1250.22h-490.96c-133.92,0-133.92-171.67-133.92-236.16,0-77.97,68.31-230.76,225.82-230.76,47.19,0,84.93,9.66,114.37,22.92,304.69,133.7,284.69,444,284.69,444Z'/%3e%3cpath%20class='cls-1'%20d='M1174.03,1196.97c.22,2.02.45,4.04.45,6.29,0,26.06-21.12,46.96-46.96,46.96h-186.27s20-310.31-284.69-444c4.04-68.98,22.24-157.51,80.22-226.05,31.91-37.52,71.9-65.16,119.54-82.46,247.62,89.88,310.76,315.47,325.36,391.65-5.84,27.41-7.64,63.81-7.64,117.07v190.54h0Z'/%3e%3cpath%20class='cls-4'%20d='M1297.62,754.76c-.22.22-.45.45-.67.45-71.9,57.3-102.91,75.05-115.27,134.14-14.6-76.17-77.74-301.77-325.36-391.65,23.14-8.09,47.86-14.16,74.37-17.75,19.32-2.47,39.77-3.82,61.12-3.82,209.64,0,304.47,149.2,325.14,228.07,5.17,19.77-3.15,40-19.32,50.56h-.01Z'/%3e%3cpath%20class='cls-3'%20d='M1424.12,766.67c-129.43,0-189.42,111.68-189.42,186.72v522.87c0,25.84,20.9,46.96,46.74,46.96,11.46,0,123.13-4.72,147.18-5.62h1.12c.45,0,1.12,0,1.8-.22.45,0,.9,0,1.57-.22,9.44-.45,18.2-3.37,25.62-9.89,187.4-153.69,225.82-281.32,225.82-426.47,0-155.72-131.22-314.13-260.42-314.13h0ZM1459.4,1174.05c-36.85,0-66.73-29.88-66.73-66.73s29.89-66.74,66.73-66.74,66.74,29.89,66.74,66.74-29.66,66.73-66.74,66.73Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
49
+ var ea = typeof global == "object" && global && global.Object === Object && global, qa = typeof self == "object" && self && self.Object === Object && self, ge = ea || qa || Function("return this")(), Fe = ge.Symbol, ta = Object.prototype, Ma = ta.hasOwnProperty, La = ta.toString, we = Fe ? Fe.toStringTag : void 0;
50
+ function Ua(e) {
51
+ var t = Ma.call(e, we), a = e[we];
52
+ try {
53
+ e[we] = void 0;
54
+ var i = !0;
55
+ } catch {
56
+ }
57
+ var n = La.call(e);
58
+ return i && (t ? e[we] = a : delete e[we]), n;
59
+ }
60
+ var Wa = Object.prototype, Ya = Wa.toString;
61
+ function Ba(e) {
62
+ return Ya.call(e);
63
+ }
64
+ var Ha = "[object Null]", Ga = "[object Undefined]", gt = Fe ? Fe.toStringTag : void 0;
65
+ function Ee(e) {
66
+ return e == null ? e === void 0 ? Ga : Ha : gt && gt in Object(e) ? Ua(e) : Ba(e);
67
+ }
68
+ function Ka(e, t) {
69
+ return function(a) {
70
+ return e(t(a));
71
+ };
72
+ }
73
+ var aa = Ka(Object.getPrototypeOf, Object);
74
+ function Te(e) {
75
+ return e != null && typeof e == "object";
76
+ }
77
+ var Na = "[object Object]", Va = Function.prototype, Za = Object.prototype, ia = Va.toString, Ja = Za.hasOwnProperty, Xa = ia.call(Object);
78
+ function pr(e) {
79
+ if (!Te(e) || Ee(e) != Na)
80
+ return !1;
81
+ var t = aa(e);
82
+ if (t === null)
83
+ return !0;
84
+ var a = Ja.call(t, "constructor") && t.constructor;
85
+ return typeof a == "function" && a instanceof a && ia.call(a) == Xa;
86
+ }
87
+ function Qa() {
88
+ this.__data__ = [], this.size = 0;
89
+ }
90
+ function na(e, t) {
91
+ return e === t || e !== e && t !== t;
92
+ }
93
+ function Le(e, t) {
94
+ for (var a = e.length; a--; )
95
+ if (na(e[a][0], t))
96
+ return a;
97
+ return -1;
98
+ }
99
+ var ei = Array.prototype, ti = ei.splice;
100
+ function ai(e) {
101
+ var t = this.__data__, a = Le(t, e);
102
+ if (a < 0)
103
+ return !1;
104
+ var i = t.length - 1;
105
+ return a == i ? t.pop() : ti.call(t, a, 1), --this.size, !0;
106
+ }
107
+ function ii(e) {
108
+ var t = this.__data__, a = Le(t, e);
109
+ return a < 0 ? void 0 : t[a][1];
110
+ }
111
+ function ni(e) {
112
+ return Le(this.__data__, e) > -1;
113
+ }
114
+ function oi(e, t) {
115
+ var a = this.__data__, i = Le(a, e);
116
+ return i < 0 ? (++this.size, a.push([e, t])) : a[i][1] = t, this;
117
+ }
118
+ function ae(e) {
119
+ var t = -1, a = e == null ? 0 : e.length;
120
+ for (this.clear(); ++t < a; ) {
121
+ var i = e[t];
122
+ this.set(i[0], i[1]);
123
+ }
124
+ }
125
+ ae.prototype.clear = Qa;
126
+ ae.prototype.delete = ai;
127
+ ae.prototype.get = ii;
128
+ ae.prototype.has = ni;
129
+ ae.prototype.set = oi;
130
+ function ri() {
131
+ this.__data__ = new ae(), this.size = 0;
132
+ }
133
+ function pi(e) {
134
+ var t = this.__data__, a = t.delete(e);
135
+ return this.size = t.size, a;
136
+ }
137
+ function ci(e) {
138
+ return this.__data__.get(e);
139
+ }
140
+ function li(e) {
141
+ return this.__data__.has(e);
142
+ }
143
+ function Ue(e) {
144
+ var t = typeof e;
145
+ return e != null && (t == "object" || t == "function");
146
+ }
147
+ var si = "[object AsyncFunction]", di = "[object Function]", ui = "[object GeneratorFunction]", fi = "[object Proxy]";
148
+ function oa(e) {
149
+ if (!Ue(e))
150
+ return !1;
151
+ var t = Ee(e);
152
+ return t == di || t == ui || t == si || t == fi;
153
+ }
154
+ var Xe = ge["__core-js_shared__"], yt = function() {
155
+ var e = /[^.]+$/.exec(Xe && Xe.keys && Xe.keys.IE_PROTO || "");
156
+ return e ? "Symbol(src)_1." + e : "";
157
+ }();
158
+ function mi(e) {
159
+ return !!yt && yt in e;
160
+ }
161
+ var vi = Function.prototype, xi = vi.toString;
162
+ function gi(e) {
163
+ if (e != null) {
164
+ try {
165
+ return xi.call(e);
166
+ } catch {
167
+ }
168
+ try {
169
+ return e + "";
170
+ } catch {
171
+ }
172
+ }
173
+ return "";
174
+ }
175
+ var yi = /[\\^$.*+?()[\]{}|]/g, hi = /^\[object .+?Constructor\]$/, bi = Function.prototype, wi = Object.prototype, ji = bi.toString, _i = wi.hasOwnProperty, ki = RegExp(
176
+ "^" + ji.call(_i).replace(yi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
177
+ );
178
+ function Ei(e) {
179
+ if (!Ue(e) || mi(e))
180
+ return !1;
181
+ var t = oa(e) ? ki : hi;
182
+ return t.test(gi(e));
183
+ }
184
+ function Ti(e, t) {
185
+ return e == null ? void 0 : e[t];
186
+ }
187
+ function ft(e, t) {
188
+ var a = Ti(e, t);
189
+ return Ei(a) ? a : void 0;
190
+ }
191
+ var ra = ft(ge, "Map"), _e = ft(Object, "create");
192
+ function Oi() {
193
+ this.__data__ = _e ? _e(null) : {}, this.size = 0;
194
+ }
195
+ function Ai(e) {
196
+ var t = this.has(e) && delete this.__data__[e];
197
+ return this.size -= t ? 1 : 0, t;
198
+ }
199
+ var Si = "__lodash_hash_undefined__", Pi = Object.prototype, Di = Pi.hasOwnProperty;
200
+ function zi(e) {
201
+ var t = this.__data__;
202
+ if (_e) {
203
+ var a = t[e];
204
+ return a === Si ? void 0 : a;
205
+ }
206
+ return Di.call(t, e) ? t[e] : void 0;
207
+ }
208
+ var Ci = Object.prototype, Ri = Ci.hasOwnProperty;
209
+ function Ii(e) {
210
+ var t = this.__data__;
211
+ return _e ? t[e] !== void 0 : Ri.call(t, e);
212
+ }
213
+ var Fi = "__lodash_hash_undefined__";
214
+ function $i(e, t) {
215
+ var a = this.__data__;
216
+ return this.size += this.has(e) ? 0 : 1, a[e] = _e && t === void 0 ? Fi : t, this;
217
+ }
218
+ function de(e) {
219
+ var t = -1, a = e == null ? 0 : e.length;
220
+ for (this.clear(); ++t < a; ) {
221
+ var i = e[t];
222
+ this.set(i[0], i[1]);
223
+ }
224
+ }
225
+ de.prototype.clear = Oi;
226
+ de.prototype.delete = Ai;
227
+ de.prototype.get = zi;
228
+ de.prototype.has = Ii;
229
+ de.prototype.set = $i;
230
+ function qi() {
231
+ this.size = 0, this.__data__ = {
232
+ hash: new de(),
233
+ map: new (ra || ae)(),
234
+ string: new de()
235
+ };
236
+ }
237
+ function Mi(e) {
238
+ var t = typeof e;
239
+ return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
240
+ }
241
+ function We(e, t) {
242
+ var a = e.__data__;
243
+ return Mi(t) ? a[typeof t == "string" ? "string" : "hash"] : a.map;
244
+ }
245
+ function Li(e) {
246
+ var t = We(this, e).delete(e);
247
+ return this.size -= t ? 1 : 0, t;
248
+ }
249
+ function Ui(e) {
250
+ return We(this, e).get(e);
251
+ }
252
+ function Wi(e) {
253
+ return We(this, e).has(e);
254
+ }
255
+ function Yi(e, t) {
256
+ var a = We(this, e), i = a.size;
257
+ return a.set(e, t), this.size += a.size == i ? 0 : 1, this;
258
+ }
259
+ function ye(e) {
260
+ var t = -1, a = e == null ? 0 : e.length;
261
+ for (this.clear(); ++t < a; ) {
262
+ var i = e[t];
263
+ this.set(i[0], i[1]);
264
+ }
265
+ }
266
+ ye.prototype.clear = qi;
267
+ ye.prototype.delete = Li;
268
+ ye.prototype.get = Ui;
269
+ ye.prototype.has = Wi;
270
+ ye.prototype.set = Yi;
271
+ var Bi = 200;
272
+ function Hi(e, t) {
273
+ var a = this.__data__;
274
+ if (a instanceof ae) {
275
+ var i = a.__data__;
276
+ if (!ra || i.length < Bi - 1)
277
+ return i.push([e, t]), this.size = ++a.size, this;
278
+ a = this.__data__ = new ye(i);
279
+ }
280
+ return a.set(e, t), this.size = a.size, this;
281
+ }
282
+ function Oe(e) {
283
+ var t = this.__data__ = new ae(e);
284
+ this.size = t.size;
285
+ }
286
+ Oe.prototype.clear = ri;
287
+ Oe.prototype.delete = pi;
288
+ Oe.prototype.get = ci;
289
+ Oe.prototype.has = li;
290
+ Oe.prototype.set = Hi;
291
+ var ht = function() {
292
+ try {
293
+ var e = ft(Object, "defineProperty");
294
+ return e({}, "", {}), e;
295
+ } catch {
296
+ }
297
+ }();
298
+ function pa(e, t, a) {
299
+ t == "__proto__" && ht ? ht(e, t, {
300
+ configurable: !0,
301
+ enumerable: !0,
302
+ value: a,
303
+ writable: !0
304
+ }) : e[t] = a;
305
+ }
306
+ var Gi = Object.prototype, Ki = Gi.hasOwnProperty;
307
+ function Ni(e, t, a) {
308
+ var i = e[t];
309
+ (!(Ki.call(e, t) && na(i, a)) || a === void 0 && !(t in e)) && pa(e, t, a);
310
+ }
311
+ function cr(e, t, a, i) {
312
+ var n = !a;
313
+ a || (a = {});
314
+ for (var o = -1, l = t.length; ++o < l; ) {
315
+ var p = t[o], v = void 0;
316
+ v === void 0 && (v = e[p]), n ? pa(a, p, v) : Ni(a, p, v);
317
+ }
318
+ return a;
319
+ }
320
+ function Vi(e, t) {
321
+ for (var a = -1, i = Array(e); ++a < e; )
322
+ i[a] = t(a);
323
+ return i;
324
+ }
325
+ var Zi = "[object Arguments]";
326
+ function bt(e) {
327
+ return Te(e) && Ee(e) == Zi;
328
+ }
329
+ var ca = Object.prototype, Ji = ca.hasOwnProperty, Xi = ca.propertyIsEnumerable, Qi = bt(/* @__PURE__ */ function() {
330
+ return arguments;
331
+ }()) ? bt : function(e) {
332
+ return Te(e) && Ji.call(e, "callee") && !Xi.call(e, "callee");
333
+ }, en = Array.isArray;
334
+ function tn() {
335
+ return !1;
336
+ }
337
+ var la = typeof exports == "object" && exports && !exports.nodeType && exports, wt = la && typeof module == "object" && module && !module.nodeType && module, an = wt && wt.exports === la, jt = an ? ge.Buffer : void 0, nn = jt ? jt.isBuffer : void 0, on = nn || tn, rn = 9007199254740991, pn = /^(?:0|[1-9]\d*)$/;
338
+ function cn(e, t) {
339
+ var a = typeof e;
340
+ return t = t ?? rn, !!t && (a == "number" || a != "symbol" && pn.test(e)) && e > -1 && e % 1 == 0 && e < t;
341
+ }
342
+ var ln = 9007199254740991;
343
+ function sa(e) {
344
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ln;
345
+ }
346
+ var sn = "[object Arguments]", dn = "[object Array]", un = "[object Boolean]", fn = "[object Date]", mn = "[object Error]", vn = "[object Function]", xn = "[object Map]", gn = "[object Number]", yn = "[object Object]", hn = "[object RegExp]", bn = "[object Set]", wn = "[object String]", jn = "[object WeakMap]", _n = "[object ArrayBuffer]", kn = "[object DataView]", En = "[object Float32Array]", Tn = "[object Float64Array]", On = "[object Int8Array]", An = "[object Int16Array]", Sn = "[object Int32Array]", Pn = "[object Uint8Array]", Dn = "[object Uint8ClampedArray]", zn = "[object Uint16Array]", Cn = "[object Uint32Array]", z = {};
347
+ z[En] = z[Tn] = z[On] = z[An] = z[Sn] = z[Pn] = z[Dn] = z[zn] = z[Cn] = !0;
348
+ z[sn] = z[dn] = z[_n] = z[un] = z[kn] = z[fn] = z[mn] = z[vn] = z[xn] = z[gn] = z[yn] = z[hn] = z[bn] = z[wn] = z[jn] = !1;
349
+ function Rn(e) {
350
+ return Te(e) && sa(e.length) && !!z[Ee(e)];
351
+ }
352
+ function In(e) {
353
+ return function(t) {
354
+ return e(t);
355
+ };
356
+ }
357
+ var da = typeof exports == "object" && exports && !exports.nodeType && exports, je = da && typeof module == "object" && module && !module.nodeType && module, Fn = je && je.exports === da, Qe = Fn && ea.process, _t = function() {
358
+ try {
359
+ var e = je && je.require && je.require("util").types;
360
+ return e || Qe && Qe.binding && Qe.binding("util");
361
+ } catch {
362
+ }
363
+ }(), kt = _t && _t.isTypedArray, $n = kt ? In(kt) : Rn, qn = Object.prototype, Mn = qn.hasOwnProperty;
364
+ function Ln(e, t) {
365
+ var a = en(e), i = !a && Qi(e), n = !a && !i && on(e), o = !a && !i && !n && $n(e), l = a || i || n || o, p = l ? Vi(e.length, String) : [], v = p.length;
366
+ for (var x in e)
367
+ (t || Mn.call(e, x)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
368
+ (x == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
369
+ n && (x == "offset" || x == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
370
+ o && (x == "buffer" || x == "byteLength" || x == "byteOffset") || // Skip index properties.
371
+ cn(x, v))) && p.push(x);
372
+ return p;
373
+ }
374
+ var Un = Object.prototype;
375
+ function ua(e) {
376
+ var t = e && e.constructor, a = typeof t == "function" && t.prototype || Un;
377
+ return e === a;
378
+ }
379
+ function Wn(e) {
380
+ return e != null && sa(e.length) && !oa(e);
381
+ }
382
+ function Yn(e) {
383
+ var t = [];
384
+ if (e != null)
385
+ for (var a in Object(e))
386
+ t.push(a);
387
+ return t;
388
+ }
389
+ var Bn = Object.prototype, Hn = Bn.hasOwnProperty;
390
+ function Gn(e) {
391
+ if (!Ue(e))
392
+ return Yn(e);
393
+ var t = ua(e), a = [];
394
+ for (var i in e)
395
+ i == "constructor" && (t || !Hn.call(e, i)) || a.push(i);
396
+ return a;
397
+ }
398
+ function lr(e) {
399
+ return Wn(e) ? Ln(e, !0) : Gn(e);
400
+ }
401
+ var fa = typeof exports == "object" && exports && !exports.nodeType && exports, Et = fa && typeof module == "object" && module && !module.nodeType && module, Kn = Et && Et.exports === fa, Tt = Kn ? ge.Buffer : void 0, Ot = Tt ? Tt.allocUnsafe : void 0;
402
+ function sr(e, t) {
403
+ if (t)
404
+ return e.slice();
405
+ var a = e.length, i = Ot ? Ot(a) : new e.constructor(a);
406
+ return e.copy(i), i;
407
+ }
408
+ function dr(e, t) {
409
+ var a = -1, i = e.length;
410
+ for (t || (t = Array(i)); ++a < i; )
411
+ t[a] = e[a];
412
+ return t;
413
+ }
414
+ var At = ge.Uint8Array;
415
+ function Nn(e) {
416
+ var t = new e.constructor(e.byteLength);
417
+ return new At(t).set(new At(e)), t;
418
+ }
419
+ function ur(e, t) {
420
+ var a = t ? Nn(e.buffer) : e.buffer;
421
+ return new e.constructor(a, e.byteOffset, e.length);
422
+ }
423
+ var St = Object.create, Vn = /* @__PURE__ */ function() {
424
+ function e() {
425
+ }
426
+ return function(t) {
427
+ if (!Ue(t))
428
+ return {};
429
+ if (St)
430
+ return St(t);
431
+ e.prototype = t;
432
+ var a = new e();
433
+ return e.prototype = void 0, a;
434
+ };
435
+ }();
436
+ function fr(e) {
437
+ return typeof e.constructor == "function" && !ua(e) ? Vn(aa(e)) : {};
438
+ }
439
+ var Zn = "[object Symbol]";
440
+ function mr(e) {
441
+ return typeof e == "symbol" || Te(e) && Ee(e) == Zn;
442
+ }
443
+ var ze = { exports: {} }, O = {};
115
444
  /** @license React v16.13.1
116
445
  * react-is.production.min.js
117
446
  *
@@ -120,73 +449,73 @@ var ka = { exports: {} }, ja = { exports: {} }, O = {};
120
449
  * This source code is licensed under the MIT license found in the
121
450
  * LICENSE file in the root directory of this source tree.
122
451
  */
123
- var ae;
124
- function Ze() {
125
- if (ae) return O;
126
- ae = 1;
127
- var a = typeof Symbol == "function" && Symbol.for, e = a ? Symbol.for("react.element") : 60103, i = a ? Symbol.for("react.portal") : 60106, t = a ? Symbol.for("react.fragment") : 60107, o = a ? Symbol.for("react.strict_mode") : 60108, n = a ? Symbol.for("react.profiler") : 60114, d = a ? Symbol.for("react.provider") : 60109, c = a ? Symbol.for("react.context") : 60110, b = a ? Symbol.for("react.async_mode") : 60111, j = a ? Symbol.for("react.concurrent_mode") : 60111, x = a ? Symbol.for("react.forward_ref") : 60112, w = a ? Symbol.for("react.suspense") : 60113, P = a ? Symbol.for("react.suspense_list") : 60120, z = a ? Symbol.for("react.memo") : 60115, L = a ? Symbol.for("react.lazy") : 60116, S = a ? Symbol.for("react.block") : 60121, M = a ? Symbol.for("react.fundamental") : 60117, K = a ? Symbol.for("react.responder") : 60118, ia = a ? Symbol.for("react.scope") : 60119;
128
- function I(s) {
129
- if (typeof s == "object" && s !== null) {
130
- var J = s.$$typeof;
452
+ var Pt;
453
+ function Jn() {
454
+ if (Pt) return O;
455
+ Pt = 1;
456
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, x = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, j = e ? Symbol.for("react.suspense") : 60113, D = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, H = e ? Symbol.for("react.responder") : 60118, ie = e ? Symbol.for("react.scope") : 60119;
457
+ function F(d) {
458
+ if (typeof d == "object" && d !== null) {
459
+ var J = d.$$typeof;
131
460
  switch (J) {
132
- case e:
133
- switch (s = s.type, s) {
134
- case b:
135
- case j:
136
- case t:
137
- case n:
461
+ case t:
462
+ switch (d = d.type, d) {
463
+ case v:
464
+ case x:
465
+ case i:
138
466
  case o:
139
- case w:
140
- return s;
467
+ case n:
468
+ case j:
469
+ return d;
141
470
  default:
142
- switch (s = s && s.$$typeof, s) {
143
- case c:
144
- case x:
471
+ switch (d = d && d.$$typeof, d) {
472
+ case p:
473
+ case y:
145
474
  case L:
146
- case z:
147
- case d:
148
- return s;
475
+ case C:
476
+ case l:
477
+ return d;
149
478
  default:
150
479
  return J;
151
480
  }
152
481
  }
153
- case i:
482
+ case a:
154
483
  return J;
155
484
  }
156
485
  }
157
486
  }
158
- function q(s) {
159
- return I(s) === j;
487
+ function $(d) {
488
+ return F(d) === x;
160
489
  }
161
- return O.AsyncMode = b, O.ConcurrentMode = j, O.ContextConsumer = c, O.ContextProvider = d, O.Element = e, O.ForwardRef = x, O.Fragment = t, O.Lazy = L, O.Memo = z, O.Portal = i, O.Profiler = n, O.StrictMode = o, O.Suspense = w, O.isAsyncMode = function(s) {
162
- return q(s) || I(s) === b;
163
- }, O.isConcurrentMode = q, O.isContextConsumer = function(s) {
164
- return I(s) === c;
165
- }, O.isContextProvider = function(s) {
166
- return I(s) === d;
167
- }, O.isElement = function(s) {
168
- return typeof s == "object" && s !== null && s.$$typeof === e;
169
- }, O.isForwardRef = function(s) {
170
- return I(s) === x;
171
- }, O.isFragment = function(s) {
172
- return I(s) === t;
173
- }, O.isLazy = function(s) {
174
- return I(s) === L;
175
- }, O.isMemo = function(s) {
176
- return I(s) === z;
177
- }, O.isPortal = function(s) {
178
- return I(s) === i;
179
- }, O.isProfiler = function(s) {
180
- return I(s) === n;
181
- }, O.isStrictMode = function(s) {
182
- return I(s) === o;
183
- }, O.isSuspense = function(s) {
184
- return I(s) === w;
185
- }, O.isValidElementType = function(s) {
186
- return typeof s == "string" || typeof s == "function" || s === t || s === j || s === n || s === o || s === w || s === P || typeof s == "object" && s !== null && (s.$$typeof === L || s.$$typeof === z || s.$$typeof === d || s.$$typeof === c || s.$$typeof === x || s.$$typeof === M || s.$$typeof === K || s.$$typeof === ia || s.$$typeof === S);
187
- }, O.typeOf = I, O;
188
- }
189
- var D = {};
490
+ return O.AsyncMode = v, O.ConcurrentMode = x, O.ContextConsumer = p, O.ContextProvider = l, O.Element = t, O.ForwardRef = y, O.Fragment = i, O.Lazy = L, O.Memo = C, O.Portal = a, O.Profiler = o, O.StrictMode = n, O.Suspense = j, O.isAsyncMode = function(d) {
491
+ return $(d) || F(d) === v;
492
+ }, O.isConcurrentMode = $, O.isContextConsumer = function(d) {
493
+ return F(d) === p;
494
+ }, O.isContextProvider = function(d) {
495
+ return F(d) === l;
496
+ }, O.isElement = function(d) {
497
+ return typeof d == "object" && d !== null && d.$$typeof === t;
498
+ }, O.isForwardRef = function(d) {
499
+ return F(d) === y;
500
+ }, O.isFragment = function(d) {
501
+ return F(d) === i;
502
+ }, O.isLazy = function(d) {
503
+ return F(d) === L;
504
+ }, O.isMemo = function(d) {
505
+ return F(d) === C;
506
+ }, O.isPortal = function(d) {
507
+ return F(d) === a;
508
+ }, O.isProfiler = function(d) {
509
+ return F(d) === o;
510
+ }, O.isStrictMode = function(d) {
511
+ return F(d) === n;
512
+ }, O.isSuspense = function(d) {
513
+ return F(d) === j;
514
+ }, O.isValidElementType = function(d) {
515
+ return typeof d == "string" || typeof d == "function" || d === i || d === x || d === o || d === n || d === j || d === D || typeof d == "object" && d !== null && (d.$$typeof === L || d.$$typeof === C || d.$$typeof === l || d.$$typeof === p || d.$$typeof === y || d.$$typeof === q || d.$$typeof === H || d.$$typeof === ie || d.$$typeof === S);
516
+ }, O.typeOf = F, O;
517
+ }
518
+ var A = {};
190
519
  /** @license React v16.13.1
191
520
  * react-is.development.js
192
521
  *
@@ -195,454 +524,455 @@ var D = {};
195
524
  * This source code is licensed under the MIT license found in the
196
525
  * LICENSE file in the root directory of this source tree.
197
526
  */
198
- var ee;
199
- function Je() {
200
- return ee || (ee = 1, process.env.NODE_ENV !== "production" && function() {
201
- var a = typeof Symbol == "function" && Symbol.for, e = a ? Symbol.for("react.element") : 60103, i = a ? Symbol.for("react.portal") : 60106, t = a ? Symbol.for("react.fragment") : 60107, o = a ? Symbol.for("react.strict_mode") : 60108, n = a ? Symbol.for("react.profiler") : 60114, d = a ? Symbol.for("react.provider") : 60109, c = a ? Symbol.for("react.context") : 60110, b = a ? Symbol.for("react.async_mode") : 60111, j = a ? Symbol.for("react.concurrent_mode") : 60111, x = a ? Symbol.for("react.forward_ref") : 60112, w = a ? Symbol.for("react.suspense") : 60113, P = a ? Symbol.for("react.suspense_list") : 60120, z = a ? Symbol.for("react.memo") : 60115, L = a ? Symbol.for("react.lazy") : 60116, S = a ? Symbol.for("react.block") : 60121, M = a ? Symbol.for("react.fundamental") : 60117, K = a ? Symbol.for("react.responder") : 60118, ia = a ? Symbol.for("react.scope") : 60119;
202
- function I(p) {
203
- return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
204
- p === t || p === j || p === n || p === o || p === w || p === P || typeof p == "object" && p !== null && (p.$$typeof === L || p.$$typeof === z || p.$$typeof === d || p.$$typeof === c || p.$$typeof === x || p.$$typeof === M || p.$$typeof === K || p.$$typeof === ia || p.$$typeof === S);
527
+ var Dt;
528
+ function Xn() {
529
+ return Dt || (Dt = 1, process.env.NODE_ENV !== "production" && function() {
530
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, x = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, j = e ? Symbol.for("react.suspense") : 60113, D = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, H = e ? Symbol.for("react.responder") : 60118, ie = e ? Symbol.for("react.scope") : 60119;
531
+ function F(c) {
532
+ return typeof c == "string" || typeof c == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
533
+ c === i || c === x || c === o || c === n || c === j || c === D || typeof c == "object" && c !== null && (c.$$typeof === L || c.$$typeof === C || c.$$typeof === l || c.$$typeof === p || c.$$typeof === y || c.$$typeof === q || c.$$typeof === H || c.$$typeof === ie || c.$$typeof === S);
205
534
  }
206
- function q(p) {
207
- if (typeof p == "object" && p !== null) {
208
- var B = p.$$typeof;
209
- switch (B) {
210
- case e:
211
- var ca = p.type;
212
- switch (ca) {
213
- case b:
214
- case j:
215
- case t:
216
- case n:
535
+ function $(c) {
536
+ if (typeof c == "object" && c !== null) {
537
+ var G = c.$$typeof;
538
+ switch (G) {
539
+ case t:
540
+ var le = c.type;
541
+ switch (le) {
542
+ case v:
543
+ case x:
544
+ case i:
217
545
  case o:
218
- case w:
219
- return ca;
546
+ case n:
547
+ case j:
548
+ return le;
220
549
  default:
221
- var va = ca && ca.$$typeof;
222
- switch (va) {
223
- case c:
224
- case x:
550
+ var he = le && le.$$typeof;
551
+ switch (he) {
552
+ case p:
553
+ case y:
225
554
  case L:
226
- case z:
227
- case d:
228
- return va;
555
+ case C:
556
+ case l:
557
+ return he;
229
558
  default:
230
- return B;
559
+ return G;
231
560
  }
232
561
  }
233
- case i:
234
- return B;
562
+ case a:
563
+ return G;
235
564
  }
236
565
  }
237
566
  }
238
- var s = b, J = j, Z = c, oa = d, aa = e, ea = x, ra = t, pa = L, ta = z, F = i, H = n, N = o, X = w, na = !1;
239
- function U(p) {
240
- return na || (na = !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(p) || q(p) === b;
567
+ var d = v, J = x, Z = p, re = l, ee = t, te = y, pe = i, ce = L, ne = C, I = a, B = o, N = n, X = j, oe = !1;
568
+ function Y(c) {
569
+ return oe || (oe = !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(c) || $(c) === v;
241
570
  }
242
- function r(p) {
243
- return q(p) === j;
571
+ function r(c) {
572
+ return $(c) === x;
244
573
  }
245
- function m(p) {
246
- return q(p) === c;
574
+ function u(c) {
575
+ return $(c) === p;
247
576
  }
248
- function g(p) {
249
- return q(p) === d;
577
+ function h(c) {
578
+ return $(c) === l;
250
579
  }
251
- function y(p) {
252
- return typeof p == "object" && p !== null && p.$$typeof === e;
580
+ function b(c) {
581
+ return typeof c == "object" && c !== null && c.$$typeof === t;
253
582
  }
254
- function f(p) {
255
- return q(p) === x;
583
+ function m(c) {
584
+ return $(c) === y;
256
585
  }
257
- function E(p) {
258
- return q(p) === t;
586
+ function k(c) {
587
+ return $(c) === i;
259
588
  }
260
- function v(p) {
261
- return q(p) === L;
589
+ function g(c) {
590
+ return $(c) === L;
262
591
  }
263
- function h(p) {
264
- return q(p) === z;
592
+ function w(c) {
593
+ return $(c) === C;
265
594
  }
266
- function T(p) {
267
- return q(p) === i;
595
+ function E(c) {
596
+ return $(c) === a;
268
597
  }
269
- function _(p) {
270
- return q(p) === n;
598
+ function T(c) {
599
+ return $(c) === o;
271
600
  }
272
- function k(p) {
273
- return q(p) === o;
601
+ function _(c) {
602
+ return $(c) === n;
274
603
  }
275
- function W(p) {
276
- return q(p) === w;
604
+ function U(c) {
605
+ return $(c) === j;
277
606
  }
278
- D.AsyncMode = s, D.ConcurrentMode = J, D.ContextConsumer = Z, D.ContextProvider = oa, D.Element = aa, D.ForwardRef = ea, D.Fragment = ra, D.Lazy = pa, D.Memo = ta, D.Portal = F, D.Profiler = H, D.StrictMode = N, D.Suspense = X, D.isAsyncMode = U, D.isConcurrentMode = r, D.isContextConsumer = m, D.isContextProvider = g, D.isElement = y, D.isForwardRef = f, D.isFragment = E, D.isLazy = v, D.isMemo = h, D.isPortal = T, D.isProfiler = _, D.isStrictMode = k, D.isSuspense = W, D.isValidElementType = I, D.typeOf = q;
279
- }()), D;
607
+ A.AsyncMode = d, A.ConcurrentMode = J, A.ContextConsumer = Z, A.ContextProvider = re, A.Element = ee, A.ForwardRef = te, A.Fragment = pe, A.Lazy = ce, A.Memo = ne, A.Portal = I, A.Profiler = B, A.StrictMode = N, A.Suspense = X, A.isAsyncMode = Y, A.isConcurrentMode = r, A.isContextConsumer = u, A.isContextProvider = h, A.isElement = b, A.isForwardRef = m, A.isFragment = k, A.isLazy = g, A.isMemo = w, A.isPortal = E, A.isProfiler = T, A.isStrictMode = _, A.isSuspense = U, A.isValidElementType = F, A.typeOf = $;
608
+ }()), A;
280
609
  }
281
- var ie;
282
- function Ee() {
283
- return ie || (ie = 1, process.env.NODE_ENV === "production" ? ja.exports = Ze() : ja.exports = Je()), ja.exports;
610
+ var zt;
611
+ function ma() {
612
+ return zt || (zt = 1, process.env.NODE_ENV === "production" ? ze.exports = Jn() : ze.exports = Xn()), ze.exports;
284
613
  }
614
+ var Ce = { exports: {} };
285
615
  /*
286
616
  object-assign
287
617
  (c) Sindre Sorhus
288
618
  @license MIT
289
619
  */
290
- var Ma, te;
291
- function Xe() {
292
- if (te) return Ma;
293
- te = 1;
294
- var a = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
295
- function t(n) {
296
- if (n == null)
620
+ var et, Ct;
621
+ function Qn() {
622
+ if (Ct) return et;
623
+ Ct = 1;
624
+ var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable;
625
+ function i(o) {
626
+ if (o == null)
297
627
  throw new TypeError("Object.assign cannot be called with null or undefined");
298
- return Object(n);
628
+ return Object(o);
299
629
  }
300
- function o() {
630
+ function n() {
301
631
  try {
302
632
  if (!Object.assign)
303
633
  return !1;
304
- var n = new String("abc");
305
- if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
634
+ var o = new String("abc");
635
+ if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
306
636
  return !1;
307
- for (var d = {}, c = 0; c < 10; c++)
308
- d["_" + String.fromCharCode(c)] = c;
309
- var b = Object.getOwnPropertyNames(d).map(function(x) {
310
- return d[x];
637
+ for (var l = {}, p = 0; p < 10; p++)
638
+ l["_" + String.fromCharCode(p)] = p;
639
+ var v = Object.getOwnPropertyNames(l).map(function(y) {
640
+ return l[y];
311
641
  });
312
- if (b.join("") !== "0123456789")
642
+ if (v.join("") !== "0123456789")
313
643
  return !1;
314
- var j = {};
315
- return "abcdefghijklmnopqrst".split("").forEach(function(x) {
316
- j[x] = x;
317
- }), Object.keys(Object.assign({}, j)).join("") === "abcdefghijklmnopqrst";
644
+ var x = {};
645
+ return "abcdefghijklmnopqrst".split("").forEach(function(y) {
646
+ x[y] = y;
647
+ }), Object.keys(Object.assign({}, x)).join("") === "abcdefghijklmnopqrst";
318
648
  } catch {
319
649
  return !1;
320
650
  }
321
651
  }
322
- return Ma = o() ? Object.assign : function(n, d) {
323
- for (var c, b = t(n), j, x = 1; x < arguments.length; x++) {
324
- c = Object(arguments[x]);
325
- for (var w in c)
326
- e.call(c, w) && (b[w] = c[w]);
327
- if (a) {
328
- j = a(c);
329
- for (var P = 0; P < j.length; P++)
330
- i.call(c, j[P]) && (b[j[P]] = c[j[P]]);
652
+ return et = n() ? Object.assign : function(o, l) {
653
+ for (var p, v = i(o), x, y = 1; y < arguments.length; y++) {
654
+ p = Object(arguments[y]);
655
+ for (var j in p)
656
+ t.call(p, j) && (v[j] = p[j]);
657
+ if (e) {
658
+ x = e(p);
659
+ for (var D = 0; D < x.length; D++)
660
+ a.call(p, x[D]) && (v[x[D]] = p[x[D]]);
331
661
  }
332
662
  }
333
- return b;
334
- }, Ma;
335
- }
336
- var $a, ne;
337
- function Ja() {
338
- if (ne) return $a;
339
- ne = 1;
340
- var a = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
341
- return $a = a, $a;
342
- }
343
- var La, oe;
344
- function Te() {
345
- return oe || (oe = 1, La = Function.call.bind(Object.prototype.hasOwnProperty)), La;
346
- }
347
- var Wa, re;
348
- function Qe() {
349
- if (re) return Wa;
350
- re = 1;
351
- var a = function() {
663
+ return v;
664
+ }, et;
665
+ }
666
+ var tt, Rt;
667
+ function mt() {
668
+ if (Rt) return tt;
669
+ Rt = 1;
670
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
671
+ return tt = e, tt;
672
+ }
673
+ var at, It;
674
+ function va() {
675
+ return It || (It = 1, at = Function.call.bind(Object.prototype.hasOwnProperty)), at;
676
+ }
677
+ var it, Ft;
678
+ function eo() {
679
+ if (Ft) return it;
680
+ Ft = 1;
681
+ var e = function() {
352
682
  };
353
683
  if (process.env.NODE_ENV !== "production") {
354
- var e = /* @__PURE__ */ Ja(), i = {}, t = /* @__PURE__ */ Te();
355
- a = function(n) {
356
- var d = "Warning: " + n;
357
- typeof console < "u" && console.error(d);
684
+ var t = /* @__PURE__ */ mt(), a = {}, i = /* @__PURE__ */ va();
685
+ e = function(o) {
686
+ var l = "Warning: " + o;
687
+ typeof console < "u" && console.error(l);
358
688
  try {
359
- throw new Error(d);
689
+ throw new Error(l);
360
690
  } catch {
361
691
  }
362
692
  };
363
693
  }
364
- function o(n, d, c, b, j) {
694
+ function n(o, l, p, v, x) {
365
695
  if (process.env.NODE_ENV !== "production") {
366
- for (var x in n)
367
- if (t(n, x)) {
368
- var w;
696
+ for (var y in o)
697
+ if (i(o, y)) {
698
+ var j;
369
699
  try {
370
- if (typeof n[x] != "function") {
371
- var P = Error(
372
- (b || "React class") + ": " + c + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
700
+ if (typeof o[y] != "function") {
701
+ var D = Error(
702
+ (v || "React class") + ": " + p + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
373
703
  );
374
- throw P.name = "Invariant Violation", P;
704
+ throw D.name = "Invariant Violation", D;
375
705
  }
376
- w = n[x](d, x, b, c, null, e);
706
+ j = o[y](l, y, v, p, null, t);
377
707
  } catch (L) {
378
- w = L;
708
+ j = L;
379
709
  }
380
- if (w && !(w instanceof Error) && a(
381
- (b || "React class") + ": type specification of " + c + " `" + x + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof w + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
382
- ), w instanceof Error && !(w.message in i)) {
383
- i[w.message] = !0;
384
- var z = j ? j() : "";
385
- a(
386
- "Failed " + c + " type: " + w.message + (z ?? "")
710
+ if (j && !(j instanceof Error) && e(
711
+ (v || "React class") + ": type specification of " + p + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof j + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
712
+ ), j instanceof Error && !(j.message in a)) {
713
+ a[j.message] = !0;
714
+ var C = x ? x() : "";
715
+ e(
716
+ "Failed " + p + " type: " + j.message + (C ?? "")
387
717
  );
388
718
  }
389
719
  }
390
720
  }
391
721
  }
392
- return o.resetWarningCache = function() {
393
- process.env.NODE_ENV !== "production" && (i = {});
394
- }, Wa = o, Wa;
395
- }
396
- var Ya, pe;
397
- function ai() {
398
- if (pe) return Ya;
399
- pe = 1;
400
- var a = Ee(), e = Xe(), i = /* @__PURE__ */ Ja(), t = /* @__PURE__ */ Te(), o = /* @__PURE__ */ Qe(), n = function() {
722
+ return n.resetWarningCache = function() {
723
+ process.env.NODE_ENV !== "production" && (a = {});
724
+ }, it = n, it;
725
+ }
726
+ var nt, $t;
727
+ function to() {
728
+ if ($t) return nt;
729
+ $t = 1;
730
+ var e = ma(), t = Qn(), a = /* @__PURE__ */ mt(), i = /* @__PURE__ */ va(), n = /* @__PURE__ */ eo(), o = function() {
401
731
  };
402
- process.env.NODE_ENV !== "production" && (n = function(c) {
403
- var b = "Warning: " + c;
404
- typeof console < "u" && console.error(b);
732
+ process.env.NODE_ENV !== "production" && (o = function(p) {
733
+ var v = "Warning: " + p;
734
+ typeof console < "u" && console.error(v);
405
735
  try {
406
- throw new Error(b);
736
+ throw new Error(v);
407
737
  } catch {
408
738
  }
409
739
  });
410
- function d() {
740
+ function l() {
411
741
  return null;
412
742
  }
413
- return Ya = function(c, b) {
414
- var j = typeof Symbol == "function" && Symbol.iterator, x = "@@iterator";
415
- function w(r) {
416
- var m = r && (j && r[j] || r[x]);
417
- if (typeof m == "function")
418
- return m;
743
+ return nt = function(p, v) {
744
+ var x = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
745
+ function j(r) {
746
+ var u = r && (x && r[x] || r[y]);
747
+ if (typeof u == "function")
748
+ return u;
419
749
  }
420
- var P = "<<anonymous>>", z = {
421
- array: K("array"),
422
- bigint: K("bigint"),
423
- bool: K("boolean"),
424
- func: K("function"),
425
- number: K("number"),
426
- object: K("object"),
427
- string: K("string"),
428
- symbol: K("symbol"),
429
- any: ia(),
430
- arrayOf: I,
431
- element: q(),
432
- elementType: s(),
750
+ var D = "<<anonymous>>", C = {
751
+ array: H("array"),
752
+ bigint: H("bigint"),
753
+ bool: H("boolean"),
754
+ func: H("function"),
755
+ number: H("number"),
756
+ object: H("object"),
757
+ string: H("string"),
758
+ symbol: H("symbol"),
759
+ any: ie(),
760
+ arrayOf: F,
761
+ element: $(),
762
+ elementType: d(),
433
763
  instanceOf: J,
434
- node: ea(),
435
- objectOf: oa,
764
+ node: te(),
765
+ objectOf: re,
436
766
  oneOf: Z,
437
- oneOfType: aa,
438
- shape: pa,
439
- exact: ta
767
+ oneOfType: ee,
768
+ shape: ce,
769
+ exact: ne
440
770
  };
441
- function L(r, m) {
442
- return r === m ? r !== 0 || 1 / r === 1 / m : r !== r && m !== m;
771
+ function L(r, u) {
772
+ return r === u ? r !== 0 || 1 / r === 1 / u : r !== r && u !== u;
443
773
  }
444
- function S(r, m) {
445
- this.message = r, this.data = m && typeof m == "object" ? m : {}, this.stack = "";
774
+ function S(r, u) {
775
+ this.message = r, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
446
776
  }
447
777
  S.prototype = Error.prototype;
448
- function M(r) {
778
+ function q(r) {
449
779
  if (process.env.NODE_ENV !== "production")
450
- var m = {}, g = 0;
451
- function y(E, v, h, T, _, k, W) {
452
- if (T = T || P, k = k || h, W !== i) {
453
- if (b) {
454
- var p = new Error(
780
+ var u = {}, h = 0;
781
+ function b(k, g, w, E, T, _, U) {
782
+ if (E = E || D, _ = _ || w, U !== a) {
783
+ if (v) {
784
+ var c = new Error(
455
785
  "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"
456
786
  );
457
- throw p.name = "Invariant Violation", p;
787
+ throw c.name = "Invariant Violation", c;
458
788
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
459
- var B = T + ":" + h;
460
- !m[B] && // Avoid spamming the console because they are often not actionable except for lib authors
461
- g < 3 && (n(
462
- "You are manually calling a React.PropTypes validation function for the `" + k + "` prop on `" + T + "`. 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."
463
- ), m[B] = !0, g++);
789
+ var G = E + ":" + w;
790
+ !u[G] && // Avoid spamming the console because they are often not actionable except for lib authors
791
+ h < 3 && (o(
792
+ "You are manually calling a React.PropTypes validation function for the `" + _ + "` prop on `" + E + "`. 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."
793
+ ), u[G] = !0, h++);
464
794
  }
465
795
  }
466
- return v[h] == null ? E ? v[h] === null ? new S("The " + _ + " `" + k + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new S("The " + _ + " `" + k + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : r(v, h, T, _, k);
796
+ return g[w] == null ? k ? g[w] === null ? new S("The " + T + " `" + _ + "` is marked as required " + ("in `" + E + "`, but its value is `null`.")) : new S("The " + T + " `" + _ + "` is marked as required in " + ("`" + E + "`, but its value is `undefined`.")) : null : r(g, w, E, T, _);
467
797
  }
468
- var f = y.bind(null, !1);
469
- return f.isRequired = y.bind(null, !0), f;
798
+ var m = b.bind(null, !1);
799
+ return m.isRequired = b.bind(null, !0), m;
470
800
  }
471
- function K(r) {
472
- function m(g, y, f, E, v, h) {
473
- var T = g[y], _ = N(T);
474
- if (_ !== r) {
475
- var k = X(T);
801
+ function H(r) {
802
+ function u(h, b, m, k, g, w) {
803
+ var E = h[b], T = N(E);
804
+ if (T !== r) {
805
+ var _ = X(E);
476
806
  return new S(
477
- "Invalid " + E + " `" + v + "` of type " + ("`" + k + "` supplied to `" + f + "`, expected ") + ("`" + r + "`."),
807
+ "Invalid " + k + " `" + g + "` of type " + ("`" + _ + "` supplied to `" + m + "`, expected ") + ("`" + r + "`."),
478
808
  { expectedType: r }
479
809
  );
480
810
  }
481
811
  return null;
482
812
  }
483
- return M(m);
813
+ return q(u);
484
814
  }
485
- function ia() {
486
- return M(d);
815
+ function ie() {
816
+ return q(l);
487
817
  }
488
- function I(r) {
489
- function m(g, y, f, E, v) {
818
+ function F(r) {
819
+ function u(h, b, m, k, g) {
490
820
  if (typeof r != "function")
491
- return new S("Property `" + v + "` of component `" + f + "` has invalid PropType notation inside arrayOf.");
492
- var h = g[y];
493
- if (!Array.isArray(h)) {
494
- var T = N(h);
495
- return new S("Invalid " + E + " `" + v + "` of type " + ("`" + T + "` supplied to `" + f + "`, expected an array."));
821
+ return new S("Property `" + g + "` of component `" + m + "` has invalid PropType notation inside arrayOf.");
822
+ var w = h[b];
823
+ if (!Array.isArray(w)) {
824
+ var E = N(w);
825
+ return new S("Invalid " + k + " `" + g + "` of type " + ("`" + E + "` supplied to `" + m + "`, expected an array."));
496
826
  }
497
- for (var _ = 0; _ < h.length; _++) {
498
- var k = r(h, _, f, E, v + "[" + _ + "]", i);
499
- if (k instanceof Error)
500
- return k;
827
+ for (var T = 0; T < w.length; T++) {
828
+ var _ = r(w, T, m, k, g + "[" + T + "]", a);
829
+ if (_ instanceof Error)
830
+ return _;
501
831
  }
502
832
  return null;
503
833
  }
504
- return M(m);
834
+ return q(u);
505
835
  }
506
- function q() {
507
- function r(m, g, y, f, E) {
508
- var v = m[g];
509
- if (!c(v)) {
510
- var h = N(v);
511
- return new S("Invalid " + f + " `" + E + "` of type " + ("`" + h + "` supplied to `" + y + "`, expected a single ReactElement."));
836
+ function $() {
837
+ function r(u, h, b, m, k) {
838
+ var g = u[h];
839
+ if (!p(g)) {
840
+ var w = N(g);
841
+ return new S("Invalid " + m + " `" + k + "` of type " + ("`" + w + "` supplied to `" + b + "`, expected a single ReactElement."));
512
842
  }
513
843
  return null;
514
844
  }
515
- return M(r);
845
+ return q(r);
516
846
  }
517
- function s() {
518
- function r(m, g, y, f, E) {
519
- var v = m[g];
520
- if (!a.isValidElementType(v)) {
521
- var h = N(v);
522
- return new S("Invalid " + f + " `" + E + "` of type " + ("`" + h + "` supplied to `" + y + "`, expected a single ReactElement type."));
847
+ function d() {
848
+ function r(u, h, b, m, k) {
849
+ var g = u[h];
850
+ if (!e.isValidElementType(g)) {
851
+ var w = N(g);
852
+ return new S("Invalid " + m + " `" + k + "` of type " + ("`" + w + "` supplied to `" + b + "`, expected a single ReactElement type."));
523
853
  }
524
854
  return null;
525
855
  }
526
- return M(r);
856
+ return q(r);
527
857
  }
528
858
  function J(r) {
529
- function m(g, y, f, E, v) {
530
- if (!(g[y] instanceof r)) {
531
- var h = r.name || P, T = U(g[y]);
532
- return new S("Invalid " + E + " `" + v + "` of type " + ("`" + T + "` supplied to `" + f + "`, expected ") + ("instance of `" + h + "`."));
859
+ function u(h, b, m, k, g) {
860
+ if (!(h[b] instanceof r)) {
861
+ var w = r.name || D, E = Y(h[b]);
862
+ return new S("Invalid " + k + " `" + g + "` of type " + ("`" + E + "` supplied to `" + m + "`, expected ") + ("instance of `" + w + "`."));
533
863
  }
534
864
  return null;
535
865
  }
536
- return M(m);
866
+ return q(u);
537
867
  }
538
868
  function Z(r) {
539
869
  if (!Array.isArray(r))
540
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? n(
870
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
541
871
  "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])."
542
- ) : n("Invalid argument supplied to oneOf, expected an array.")), d;
543
- function m(g, y, f, E, v) {
544
- for (var h = g[y], T = 0; T < r.length; T++)
545
- if (L(h, r[T]))
872
+ ) : o("Invalid argument supplied to oneOf, expected an array.")), l;
873
+ function u(h, b, m, k, g) {
874
+ for (var w = h[b], E = 0; E < r.length; E++)
875
+ if (L(w, r[E]))
546
876
  return null;
547
- var _ = JSON.stringify(r, function(W, p) {
548
- var B = X(p);
549
- return B === "symbol" ? String(p) : p;
877
+ var T = JSON.stringify(r, function(U, c) {
878
+ var G = X(c);
879
+ return G === "symbol" ? String(c) : c;
550
880
  });
551
- return new S("Invalid " + E + " `" + v + "` of value `" + String(h) + "` " + ("supplied to `" + f + "`, expected one of " + _ + "."));
881
+ return new S("Invalid " + k + " `" + g + "` of value `" + String(w) + "` " + ("supplied to `" + m + "`, expected one of " + T + "."));
552
882
  }
553
- return M(m);
883
+ return q(u);
554
884
  }
555
- function oa(r) {
556
- function m(g, y, f, E, v) {
885
+ function re(r) {
886
+ function u(h, b, m, k, g) {
557
887
  if (typeof r != "function")
558
- return new S("Property `" + v + "` of component `" + f + "` has invalid PropType notation inside objectOf.");
559
- var h = g[y], T = N(h);
560
- if (T !== "object")
561
- return new S("Invalid " + E + " `" + v + "` of type " + ("`" + T + "` supplied to `" + f + "`, expected an object."));
562
- for (var _ in h)
563
- if (t(h, _)) {
564
- var k = r(h, _, f, E, v + "." + _, i);
565
- if (k instanceof Error)
566
- return k;
888
+ return new S("Property `" + g + "` of component `" + m + "` has invalid PropType notation inside objectOf.");
889
+ var w = h[b], E = N(w);
890
+ if (E !== "object")
891
+ return new S("Invalid " + k + " `" + g + "` of type " + ("`" + E + "` supplied to `" + m + "`, expected an object."));
892
+ for (var T in w)
893
+ if (i(w, T)) {
894
+ var _ = r(w, T, m, k, g + "." + T, a);
895
+ if (_ instanceof Error)
896
+ return _;
567
897
  }
568
898
  return null;
569
899
  }
570
- return M(m);
900
+ return q(u);
571
901
  }
572
- function aa(r) {
902
+ function ee(r) {
573
903
  if (!Array.isArray(r))
574
- return process.env.NODE_ENV !== "production" && n("Invalid argument supplied to oneOfType, expected an instance of array."), d;
575
- for (var m = 0; m < r.length; m++) {
576
- var g = r[m];
577
- if (typeof g != "function")
578
- return n(
579
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + na(g) + " at index " + m + "."
580
- ), d;
904
+ return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), l;
905
+ for (var u = 0; u < r.length; u++) {
906
+ var h = r[u];
907
+ if (typeof h != "function")
908
+ return o(
909
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + oe(h) + " at index " + u + "."
910
+ ), l;
581
911
  }
582
- function y(f, E, v, h, T) {
583
- for (var _ = [], k = 0; k < r.length; k++) {
584
- var W = r[k], p = W(f, E, v, h, T, i);
585
- if (p == null)
912
+ function b(m, k, g, w, E) {
913
+ for (var T = [], _ = 0; _ < r.length; _++) {
914
+ var U = r[_], c = U(m, k, g, w, E, a);
915
+ if (c == null)
586
916
  return null;
587
- p.data && t(p.data, "expectedType") && _.push(p.data.expectedType);
917
+ c.data && i(c.data, "expectedType") && T.push(c.data.expectedType);
588
918
  }
589
- var B = _.length > 0 ? ", expected one of type [" + _.join(", ") + "]" : "";
590
- return new S("Invalid " + h + " `" + T + "` supplied to " + ("`" + v + "`" + B + "."));
919
+ var G = T.length > 0 ? ", expected one of type [" + T.join(", ") + "]" : "";
920
+ return new S("Invalid " + w + " `" + E + "` supplied to " + ("`" + g + "`" + G + "."));
591
921
  }
592
- return M(y);
922
+ return q(b);
593
923
  }
594
- function ea() {
595
- function r(m, g, y, f, E) {
596
- return F(m[g]) ? null : new S("Invalid " + f + " `" + E + "` supplied to " + ("`" + y + "`, expected a ReactNode."));
924
+ function te() {
925
+ function r(u, h, b, m, k) {
926
+ return I(u[h]) ? null : new S("Invalid " + m + " `" + k + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
597
927
  }
598
- return M(r);
928
+ return q(r);
599
929
  }
600
- function ra(r, m, g, y, f) {
930
+ function pe(r, u, h, b, m) {
601
931
  return new S(
602
- (r || "React class") + ": " + m + " type `" + g + "." + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + f + "`."
932
+ (r || "React class") + ": " + u + " type `" + h + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + m + "`."
603
933
  );
604
934
  }
605
- function pa(r) {
606
- function m(g, y, f, E, v) {
607
- var h = g[y], T = N(h);
608
- if (T !== "object")
609
- return new S("Invalid " + E + " `" + v + "` of type `" + T + "` " + ("supplied to `" + f + "`, expected `object`."));
610
- for (var _ in r) {
611
- var k = r[_];
612
- if (typeof k != "function")
613
- return ra(f, E, v, _, X(k));
614
- var W = k(h, _, f, E, v + "." + _, i);
615
- if (W)
616
- return W;
935
+ function ce(r) {
936
+ function u(h, b, m, k, g) {
937
+ var w = h[b], E = N(w);
938
+ if (E !== "object")
939
+ return new S("Invalid " + k + " `" + g + "` of type `" + E + "` " + ("supplied to `" + m + "`, expected `object`."));
940
+ for (var T in r) {
941
+ var _ = r[T];
942
+ if (typeof _ != "function")
943
+ return pe(m, k, g, T, X(_));
944
+ var U = _(w, T, m, k, g + "." + T, a);
945
+ if (U)
946
+ return U;
617
947
  }
618
948
  return null;
619
949
  }
620
- return M(m);
950
+ return q(u);
621
951
  }
622
- function ta(r) {
623
- function m(g, y, f, E, v) {
624
- var h = g[y], T = N(h);
625
- if (T !== "object")
626
- return new S("Invalid " + E + " `" + v + "` of type `" + T + "` " + ("supplied to `" + f + "`, expected `object`."));
627
- var _ = e({}, g[y], r);
628
- for (var k in _) {
629
- var W = r[k];
630
- if (t(r, k) && typeof W != "function")
631
- return ra(f, E, v, k, X(W));
632
- if (!W)
952
+ function ne(r) {
953
+ function u(h, b, m, k, g) {
954
+ var w = h[b], E = N(w);
955
+ if (E !== "object")
956
+ return new S("Invalid " + k + " `" + g + "` of type `" + E + "` " + ("supplied to `" + m + "`, expected `object`."));
957
+ var T = t({}, h[b], r);
958
+ for (var _ in T) {
959
+ var U = r[_];
960
+ if (i(r, _) && typeof U != "function")
961
+ return pe(m, k, g, _, X(U));
962
+ if (!U)
633
963
  return new S(
634
- "Invalid " + E + " `" + v + "` key `" + k + "` supplied to `" + f + "`.\nBad object: " + JSON.stringify(g[y], null, " ") + `
964
+ "Invalid " + k + " `" + g + "` key `" + _ + "` supplied to `" + m + "`.\nBad object: " + JSON.stringify(h[b], null, " ") + `
635
965
  Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
636
966
  );
637
- var p = W(h, k, f, E, v + "." + k, i);
638
- if (p)
639
- return p;
967
+ var c = U(w, _, m, k, g + "." + _, a);
968
+ if (c)
969
+ return c;
640
970
  }
641
971
  return null;
642
972
  }
643
- return M(m);
973
+ return q(u);
644
974
  }
645
- function F(r) {
975
+ function I(r) {
646
976
  switch (typeof r) {
647
977
  case "number":
648
978
  case "string":
@@ -652,20 +982,20 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
652
982
  return !r;
653
983
  case "object":
654
984
  if (Array.isArray(r))
655
- return r.every(F);
656
- if (r === null || c(r))
985
+ return r.every(I);
986
+ if (r === null || p(r))
657
987
  return !0;
658
- var m = w(r);
659
- if (m) {
660
- var g = m.call(r), y;
661
- if (m !== r.entries) {
662
- for (; !(y = g.next()).done; )
663
- if (!F(y.value))
988
+ var u = j(r);
989
+ if (u) {
990
+ var h = u.call(r), b;
991
+ if (u !== r.entries) {
992
+ for (; !(b = h.next()).done; )
993
+ if (!I(b.value))
664
994
  return !1;
665
995
  } else
666
- for (; !(y = g.next()).done; ) {
667
- var f = y.value;
668
- if (f && !F(f[1]))
996
+ for (; !(b = h.next()).done; ) {
997
+ var m = b.value;
998
+ if (m && !I(m[1]))
669
999
  return !1;
670
1000
  }
671
1001
  } else
@@ -675,133 +1005,133 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
675
1005
  return !1;
676
1006
  }
677
1007
  }
678
- function H(r, m) {
679
- return r === "symbol" ? !0 : m ? m["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && m instanceof Symbol : !1;
1008
+ function B(r, u) {
1009
+ return r === "symbol" ? !0 : u ? u["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && u instanceof Symbol : !1;
680
1010
  }
681
1011
  function N(r) {
682
- var m = typeof r;
683
- return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" : H(m, r) ? "symbol" : m;
1012
+ var u = typeof r;
1013
+ return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" : B(u, r) ? "symbol" : u;
684
1014
  }
685
1015
  function X(r) {
686
1016
  if (typeof r > "u" || r === null)
687
1017
  return "" + r;
688
- var m = N(r);
689
- if (m === "object") {
1018
+ var u = N(r);
1019
+ if (u === "object") {
690
1020
  if (r instanceof Date)
691
1021
  return "date";
692
1022
  if (r instanceof RegExp)
693
1023
  return "regexp";
694
1024
  }
695
- return m;
1025
+ return u;
696
1026
  }
697
- function na(r) {
698
- var m = X(r);
699
- switch (m) {
1027
+ function oe(r) {
1028
+ var u = X(r);
1029
+ switch (u) {
700
1030
  case "array":
701
1031
  case "object":
702
- return "an " + m;
1032
+ return "an " + u;
703
1033
  case "boolean":
704
1034
  case "date":
705
1035
  case "regexp":
706
- return "a " + m;
1036
+ return "a " + u;
707
1037
  default:
708
- return m;
1038
+ return u;
709
1039
  }
710
1040
  }
711
- function U(r) {
712
- return !r.constructor || !r.constructor.name ? P : r.constructor.name;
1041
+ function Y(r) {
1042
+ return !r.constructor || !r.constructor.name ? D : r.constructor.name;
713
1043
  }
714
- return z.checkPropTypes = o, z.resetWarningCache = o.resetWarningCache, z.PropTypes = z, z;
715
- }, Ya;
716
- }
717
- var Ua, ce;
718
- function ei() {
719
- if (ce) return Ua;
720
- ce = 1;
721
- var a = /* @__PURE__ */ Ja();
722
- function e() {
1044
+ return C.checkPropTypes = n, C.resetWarningCache = n.resetWarningCache, C.PropTypes = C, C;
1045
+ }, nt;
1046
+ }
1047
+ var ot, qt;
1048
+ function ao() {
1049
+ if (qt) return ot;
1050
+ qt = 1;
1051
+ var e = /* @__PURE__ */ mt();
1052
+ function t() {
723
1053
  }
724
- function i() {
1054
+ function a() {
725
1055
  }
726
- return i.resetWarningCache = e, Ua = function() {
727
- function t(d, c, b, j, x, w) {
728
- if (w !== a) {
729
- var P = new Error(
1056
+ return a.resetWarningCache = t, ot = function() {
1057
+ function i(l, p, v, x, y, j) {
1058
+ if (j !== e) {
1059
+ var D = new Error(
730
1060
  "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"
731
1061
  );
732
- throw P.name = "Invariant Violation", P;
1062
+ throw D.name = "Invariant Violation", D;
733
1063
  }
734
1064
  }
735
- t.isRequired = t;
736
- function o() {
737
- return t;
1065
+ i.isRequired = i;
1066
+ function n() {
1067
+ return i;
738
1068
  }
739
- var n = {
740
- array: t,
741
- bigint: t,
742
- bool: t,
743
- func: t,
744
- number: t,
745
- object: t,
746
- string: t,
747
- symbol: t,
748
- any: t,
749
- arrayOf: o,
750
- element: t,
751
- elementType: t,
752
- instanceOf: o,
753
- node: t,
754
- objectOf: o,
755
- oneOf: o,
756
- oneOfType: o,
757
- shape: o,
758
- exact: o,
759
- checkPropTypes: i,
760
- resetWarningCache: e
1069
+ var o = {
1070
+ array: i,
1071
+ bigint: i,
1072
+ bool: i,
1073
+ func: i,
1074
+ number: i,
1075
+ object: i,
1076
+ string: i,
1077
+ symbol: i,
1078
+ any: i,
1079
+ arrayOf: n,
1080
+ element: i,
1081
+ elementType: i,
1082
+ instanceOf: n,
1083
+ node: i,
1084
+ objectOf: n,
1085
+ oneOf: n,
1086
+ oneOfType: n,
1087
+ shape: n,
1088
+ exact: n,
1089
+ checkPropTypes: a,
1090
+ resetWarningCache: t
761
1091
  };
762
- return n.PropTypes = n, n;
763
- }, Ua;
764
- }
765
- var le;
766
- function ii() {
767
- if (le) return ka.exports;
768
- if (le = 1, process.env.NODE_ENV !== "production") {
769
- var a = Ee(), e = !0;
770
- ka.exports = /* @__PURE__ */ ai()(a.isElement, e);
1092
+ return o.PropTypes = o, o;
1093
+ }, ot;
1094
+ }
1095
+ var Mt;
1096
+ function io() {
1097
+ if (Mt) return Ce.exports;
1098
+ if (Mt = 1, process.env.NODE_ENV !== "production") {
1099
+ var e = ma(), t = !0;
1100
+ Ce.exports = /* @__PURE__ */ to()(e.isElement, t);
771
1101
  } else
772
- ka.exports = /* @__PURE__ */ ei()();
773
- return ka.exports;
774
- }
775
- var ti = /* @__PURE__ */ ii();
776
- const A = /* @__PURE__ */ ke(ti);
777
- function sa(a, e, i, t) {
778
- function o(n) {
779
- return n instanceof i ? n : new i(function(d) {
780
- d(n);
1102
+ Ce.exports = /* @__PURE__ */ ao()();
1103
+ return Ce.exports;
1104
+ }
1105
+ var no = /* @__PURE__ */ io();
1106
+ const P = /* @__PURE__ */ Qt(no);
1107
+ function ue(e, t, a, i) {
1108
+ function n(o) {
1109
+ return o instanceof a ? o : new a(function(l) {
1110
+ l(o);
781
1111
  });
782
1112
  }
783
- return new (i || (i = Promise))(function(n, d) {
784
- function c(x) {
1113
+ return new (a || (a = Promise))(function(o, l) {
1114
+ function p(y) {
785
1115
  try {
786
- j(t.next(x));
787
- } catch (w) {
788
- d(w);
1116
+ x(i.next(y));
1117
+ } catch (j) {
1118
+ l(j);
789
1119
  }
790
1120
  }
791
- function b(x) {
1121
+ function v(y) {
792
1122
  try {
793
- j(t.throw(x));
794
- } catch (w) {
795
- d(w);
1123
+ x(i.throw(y));
1124
+ } catch (j) {
1125
+ l(j);
796
1126
  }
797
1127
  }
798
- function j(x) {
799
- x.done ? n(x.value) : o(x.value).then(c, b);
1128
+ function x(y) {
1129
+ y.done ? o(y.value) : n(y.value).then(p, v);
800
1130
  }
801
- j((t = t.apply(a, e || [])).next());
1131
+ x((i = i.apply(e, t || [])).next());
802
1132
  });
803
1133
  }
804
- const ni = /* @__PURE__ */ new Map([
1134
+ const oo = /* @__PURE__ */ new Map([
805
1135
  // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
806
1136
  ["1km", "application/vnd.1000minds.decision-model+xml"],
807
1137
  ["3dml", "text/vnd.in3d.3dml"],
@@ -2004,485 +2334,485 @@ const ni = /* @__PURE__ */ new Map([
2004
2334
  ["zmm", "application/vnd.handheld-entertainment+xml"],
2005
2335
  ["zsh", "text/x-scriptzsh"]
2006
2336
  ]);
2007
- function fa(a, e, i) {
2008
- const t = oi(a), { webkitRelativePath: o } = a, n = typeof e == "string" ? e : typeof o == "string" && o.length > 0 ? o : `./${a.name}`;
2009
- return typeof t.path != "string" && se(t, "path", n), se(t, "relativePath", n), t;
2010
- }
2011
- function oi(a) {
2012
- const { name: e } = a;
2013
- if (e && e.lastIndexOf(".") !== -1 && !a.type) {
2014
- const t = e.split(".").pop().toLowerCase(), o = ni.get(t);
2015
- o && Object.defineProperty(a, "type", {
2016
- value: o,
2337
+ function xe(e, t, a) {
2338
+ const i = ro(e), { webkitRelativePath: n } = e, o = typeof t == "string" ? t : typeof n == "string" && n.length > 0 ? n : `./${e.name}`;
2339
+ return typeof i.path != "string" && Lt(i, "path", o), Lt(i, "relativePath", o), i;
2340
+ }
2341
+ function ro(e) {
2342
+ const { name: t } = e;
2343
+ if (t && t.lastIndexOf(".") !== -1 && !e.type) {
2344
+ const i = t.split(".").pop().toLowerCase(), n = oo.get(i);
2345
+ n && Object.defineProperty(e, "type", {
2346
+ value: n,
2017
2347
  writable: !1,
2018
2348
  configurable: !1,
2019
2349
  enumerable: !0
2020
2350
  });
2021
2351
  }
2022
- return a;
2352
+ return e;
2023
2353
  }
2024
- function se(a, e, i) {
2025
- Object.defineProperty(a, e, {
2026
- value: i,
2354
+ function Lt(e, t, a) {
2355
+ Object.defineProperty(e, t, {
2356
+ value: a,
2027
2357
  writable: !1,
2028
2358
  configurable: !1,
2029
2359
  enumerable: !0
2030
2360
  });
2031
2361
  }
2032
- const ri = [
2362
+ const po = [
2033
2363
  // Thumbnail cache files for macOS and Windows
2034
2364
  ".DS_Store",
2035
2365
  // macOs
2036
2366
  "Thumbs.db"
2037
2367
  // Windows
2038
2368
  ];
2039
- function pi(a) {
2040
- return sa(this, void 0, void 0, function* () {
2041
- return _a(a) && ci(a.dataTransfer) ? mi(a.dataTransfer, a.type) : li(a) ? si(a) : Array.isArray(a) && a.every((e) => "getFile" in e && typeof e.getFile == "function") ? di(a) : [];
2369
+ function co(e) {
2370
+ return ue(this, void 0, void 0, function* () {
2371
+ return $e(e) && lo(e.dataTransfer) ? mo(e.dataTransfer, e.type) : so(e) ? uo(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? fo(e) : [];
2042
2372
  });
2043
2373
  }
2044
- function ci(a) {
2045
- return _a(a);
2374
+ function lo(e) {
2375
+ return $e(e);
2046
2376
  }
2047
- function li(a) {
2048
- return _a(a) && _a(a.target);
2377
+ function so(e) {
2378
+ return $e(e) && $e(e.target);
2049
2379
  }
2050
- function _a(a) {
2051
- return typeof a == "object" && a !== null;
2380
+ function $e(e) {
2381
+ return typeof e == "object" && e !== null;
2052
2382
  }
2053
- function si(a) {
2054
- return Ba(a.target.files).map((e) => fa(e));
2383
+ function uo(e) {
2384
+ return ct(e.target.files).map((t) => xe(t));
2055
2385
  }
2056
- function di(a) {
2057
- return sa(this, void 0, void 0, function* () {
2058
- return (yield Promise.all(a.map((i) => i.getFile()))).map((i) => fa(i));
2386
+ function fo(e) {
2387
+ return ue(this, void 0, void 0, function* () {
2388
+ return (yield Promise.all(e.map((a) => a.getFile()))).map((a) => xe(a));
2059
2389
  });
2060
2390
  }
2061
- function mi(a, e) {
2062
- return sa(this, void 0, void 0, function* () {
2063
- if (a.items) {
2064
- const i = Ba(a.items).filter((o) => o.kind === "file");
2065
- if (e !== "drop")
2066
- return i;
2067
- const t = yield Promise.all(i.map(ui));
2068
- return de(_e(t));
2391
+ function mo(e, t) {
2392
+ return ue(this, void 0, void 0, function* () {
2393
+ if (e.items) {
2394
+ const a = ct(e.items).filter((n) => n.kind === "file");
2395
+ if (t !== "drop")
2396
+ return a;
2397
+ const i = yield Promise.all(a.map(vo));
2398
+ return Ut(xa(i));
2069
2399
  }
2070
- return de(Ba(a.files).map((i) => fa(i)));
2400
+ return Ut(ct(e.files).map((a) => xe(a)));
2071
2401
  });
2072
2402
  }
2073
- function de(a) {
2074
- return a.filter((e) => ri.indexOf(e.name) === -1);
2403
+ function Ut(e) {
2404
+ return e.filter((t) => po.indexOf(t.name) === -1);
2075
2405
  }
2076
- function Ba(a) {
2077
- if (a === null)
2406
+ function ct(e) {
2407
+ if (e === null)
2078
2408
  return [];
2079
- const e = [];
2080
- for (let i = 0; i < a.length; i++) {
2081
- const t = a[i];
2082
- e.push(t);
2409
+ const t = [];
2410
+ for (let a = 0; a < e.length; a++) {
2411
+ const i = e[a];
2412
+ t.push(i);
2083
2413
  }
2084
- return e;
2414
+ return t;
2085
2415
  }
2086
- function ui(a) {
2087
- if (typeof a.webkitGetAsEntry != "function")
2088
- return me(a);
2089
- const e = a.webkitGetAsEntry();
2090
- return e && e.isDirectory ? Oe(e) : me(a, e);
2416
+ function vo(e) {
2417
+ if (typeof e.webkitGetAsEntry != "function")
2418
+ return Wt(e);
2419
+ const t = e.webkitGetAsEntry();
2420
+ return t && t.isDirectory ? ga(t) : Wt(e, t);
2091
2421
  }
2092
- function _e(a) {
2093
- return a.reduce((e, i) => [
2094
- ...e,
2095
- ...Array.isArray(i) ? _e(i) : [i]
2422
+ function xa(e) {
2423
+ return e.reduce((t, a) => [
2424
+ ...t,
2425
+ ...Array.isArray(a) ? xa(a) : [a]
2096
2426
  ], []);
2097
2427
  }
2098
- function me(a, e) {
2099
- return sa(this, void 0, void 0, function* () {
2100
- var i;
2101
- if (globalThis.isSecureContext && typeof a.getAsFileSystemHandle == "function") {
2102
- const n = yield a.getAsFileSystemHandle();
2103
- if (n === null)
2104
- throw new Error(`${a} is not a File`);
2105
- if (n !== void 0) {
2106
- const d = yield n.getFile();
2107
- return d.handle = n, fa(d);
2428
+ function Wt(e, t) {
2429
+ return ue(this, void 0, void 0, function* () {
2430
+ var a;
2431
+ if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
2432
+ const o = yield e.getAsFileSystemHandle();
2433
+ if (o === null)
2434
+ throw new Error(`${e} is not a File`);
2435
+ if (o !== void 0) {
2436
+ const l = yield o.getFile();
2437
+ return l.handle = o, xe(l);
2108
2438
  }
2109
2439
  }
2110
- const t = a.getAsFile();
2111
- if (!t)
2112
- throw new Error(`${a} is not a File`);
2113
- return fa(t, (i = e == null ? void 0 : e.fullPath) !== null && i !== void 0 ? i : void 0);
2440
+ const i = e.getAsFile();
2441
+ if (!i)
2442
+ throw new Error(`${e} is not a File`);
2443
+ return xe(i, (a = t == null ? void 0 : t.fullPath) !== null && a !== void 0 ? a : void 0);
2114
2444
  });
2115
2445
  }
2116
- function fi(a) {
2117
- return sa(this, void 0, void 0, function* () {
2118
- return a.isDirectory ? Oe(a) : vi(a);
2446
+ function xo(e) {
2447
+ return ue(this, void 0, void 0, function* () {
2448
+ return e.isDirectory ? ga(e) : go(e);
2119
2449
  });
2120
2450
  }
2121
- function Oe(a) {
2122
- const e = a.createReader();
2123
- return new Promise((i, t) => {
2124
- const o = [];
2125
- function n() {
2126
- e.readEntries((d) => sa(this, void 0, void 0, function* () {
2127
- if (d.length) {
2128
- const c = Promise.all(d.map(fi));
2129
- o.push(c), n();
2451
+ function ga(e) {
2452
+ const t = e.createReader();
2453
+ return new Promise((a, i) => {
2454
+ const n = [];
2455
+ function o() {
2456
+ t.readEntries((l) => ue(this, void 0, void 0, function* () {
2457
+ if (l.length) {
2458
+ const p = Promise.all(l.map(xo));
2459
+ n.push(p), o();
2130
2460
  } else
2131
2461
  try {
2132
- const c = yield Promise.all(o);
2133
- i(c);
2134
- } catch (c) {
2135
- t(c);
2462
+ const p = yield Promise.all(n);
2463
+ a(p);
2464
+ } catch (p) {
2465
+ i(p);
2136
2466
  }
2137
- }), (d) => {
2138
- t(d);
2467
+ }), (l) => {
2468
+ i(l);
2139
2469
  });
2140
2470
  }
2141
- n();
2471
+ o();
2142
2472
  });
2143
2473
  }
2144
- function vi(a) {
2145
- return sa(this, void 0, void 0, function* () {
2146
- return new Promise((e, i) => {
2147
- a.file((t) => {
2148
- const o = fa(t, a.fullPath);
2149
- e(o);
2150
- }, (t) => {
2151
- i(t);
2474
+ function go(e) {
2475
+ return ue(this, void 0, void 0, function* () {
2476
+ return new Promise((t, a) => {
2477
+ e.file((i) => {
2478
+ const n = xe(i, e.fullPath);
2479
+ t(n);
2480
+ }, (i) => {
2481
+ a(i);
2152
2482
  });
2153
2483
  });
2154
2484
  });
2155
2485
  }
2156
- var Ea = {}, ue;
2157
- function xi() {
2158
- return ue || (ue = 1, Ea.__esModule = !0, Ea.default = function(a, e) {
2159
- if (a && e) {
2160
- var i = Array.isArray(e) ? e : e.split(",");
2161
- if (i.length === 0)
2486
+ var Re = {}, Yt;
2487
+ function yo() {
2488
+ return Yt || (Yt = 1, Re.__esModule = !0, Re.default = function(e, t) {
2489
+ if (e && t) {
2490
+ var a = Array.isArray(t) ? t : t.split(",");
2491
+ if (a.length === 0)
2162
2492
  return !0;
2163
- var t = a.name || "", o = (a.type || "").toLowerCase(), n = o.replace(/\/.*$/, "");
2164
- return i.some(function(d) {
2165
- var c = d.trim().toLowerCase();
2166
- return c.charAt(0) === "." ? t.toLowerCase().endsWith(c) : c.endsWith("/*") ? n === c.replace(/\/.*$/, "") : o === c;
2493
+ var i = e.name || "", n = (e.type || "").toLowerCase(), o = n.replace(/\/.*$/, "");
2494
+ return a.some(function(l) {
2495
+ var p = l.trim().toLowerCase();
2496
+ return p.charAt(0) === "." ? i.toLowerCase().endsWith(p) : p.endsWith("/*") ? o === p.replace(/\/.*$/, "") : n === p;
2167
2497
  });
2168
2498
  }
2169
2499
  return !0;
2170
- }), Ea;
2500
+ }), Re;
2171
2501
  }
2172
- var gi = xi();
2173
- const Ha = /* @__PURE__ */ ke(gi);
2174
- function fe(a) {
2175
- return hi(a) || yi(a) || Se(a) || bi();
2502
+ var ho = yo();
2503
+ const rt = /* @__PURE__ */ Qt(ho);
2504
+ function Bt(e) {
2505
+ return jo(e) || wo(e) || ha(e) || bo();
2176
2506
  }
2177
- function bi() {
2507
+ function bo() {
2178
2508
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2179
2509
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2180
2510
  }
2181
- function yi(a) {
2182
- if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
2511
+ function wo(e) {
2512
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2183
2513
  }
2184
- function hi(a) {
2185
- if (Array.isArray(a)) return Ga(a);
2514
+ function jo(e) {
2515
+ if (Array.isArray(e)) return lt(e);
2186
2516
  }
2187
- function ve(a, e) {
2188
- var i = Object.keys(a);
2517
+ function Ht(e, t) {
2518
+ var a = Object.keys(e);
2189
2519
  if (Object.getOwnPropertySymbols) {
2190
- var t = Object.getOwnPropertySymbols(a);
2191
- e && (t = t.filter(function(o) {
2192
- return Object.getOwnPropertyDescriptor(a, o).enumerable;
2193
- })), i.push.apply(i, t);
2520
+ var i = Object.getOwnPropertySymbols(e);
2521
+ t && (i = i.filter(function(n) {
2522
+ return Object.getOwnPropertyDescriptor(e, n).enumerable;
2523
+ })), a.push.apply(a, i);
2194
2524
  }
2195
- return i;
2525
+ return a;
2196
2526
  }
2197
- function xe(a) {
2198
- for (var e = 1; e < arguments.length; e++) {
2199
- var i = arguments[e] != null ? arguments[e] : {};
2200
- e % 2 ? ve(Object(i), !0).forEach(function(t) {
2201
- De(a, t, i[t]);
2202
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(i)) : ve(Object(i)).forEach(function(t) {
2203
- Object.defineProperty(a, t, Object.getOwnPropertyDescriptor(i, t));
2527
+ function Gt(e) {
2528
+ for (var t = 1; t < arguments.length; t++) {
2529
+ var a = arguments[t] != null ? arguments[t] : {};
2530
+ t % 2 ? Ht(Object(a), !0).forEach(function(i) {
2531
+ ya(e, i, a[i]);
2532
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Ht(Object(a)).forEach(function(i) {
2533
+ Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(a, i));
2204
2534
  });
2205
2535
  }
2206
- return a;
2536
+ return e;
2207
2537
  }
2208
- function De(a, e, i) {
2209
- return e in a ? Object.defineProperty(a, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : a[e] = i, a;
2538
+ function ya(e, t, a) {
2539
+ return t in e ? Object.defineProperty(e, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = a, e;
2210
2540
  }
2211
- function ga(a, e) {
2212
- return ji(a) || ki(a, e) || Se(a, e) || wi();
2541
+ function ke(e, t) {
2542
+ return Eo(e) || ko(e, t) || ha(e, t) || _o();
2213
2543
  }
2214
- function wi() {
2544
+ function _o() {
2215
2545
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2216
2546
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2217
2547
  }
2218
- function Se(a, e) {
2219
- if (a) {
2220
- if (typeof a == "string") return Ga(a, e);
2221
- var i = Object.prototype.toString.call(a).slice(8, -1);
2222
- if (i === "Object" && a.constructor && (i = a.constructor.name), i === "Map" || i === "Set") return Array.from(a);
2223
- if (i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)) return Ga(a, e);
2548
+ function ha(e, t) {
2549
+ if (e) {
2550
+ if (typeof e == "string") return lt(e, t);
2551
+ var a = Object.prototype.toString.call(e).slice(8, -1);
2552
+ if (a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set") return Array.from(e);
2553
+ if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return lt(e, t);
2224
2554
  }
2225
2555
  }
2226
- function Ga(a, e) {
2227
- (e == null || e > a.length) && (e = a.length);
2228
- for (var i = 0, t = new Array(e); i < e; i++)
2229
- t[i] = a[i];
2230
- return t;
2556
+ function lt(e, t) {
2557
+ (t == null || t > e.length) && (t = e.length);
2558
+ for (var a = 0, i = new Array(t); a < t; a++)
2559
+ i[a] = e[a];
2560
+ return i;
2231
2561
  }
2232
- function ki(a, e) {
2233
- var i = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
2234
- if (i != null) {
2235
- var t = [], o = !0, n = !1, d, c;
2562
+ function ko(e, t) {
2563
+ var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2564
+ if (a != null) {
2565
+ var i = [], n = !0, o = !1, l, p;
2236
2566
  try {
2237
- for (i = i.call(a); !(o = (d = i.next()).done) && (t.push(d.value), !(e && t.length === e)); o = !0)
2567
+ for (a = a.call(e); !(n = (l = a.next()).done) && (i.push(l.value), !(t && i.length === t)); n = !0)
2238
2568
  ;
2239
- } catch (b) {
2240
- n = !0, c = b;
2569
+ } catch (v) {
2570
+ o = !0, p = v;
2241
2571
  } finally {
2242
2572
  try {
2243
- !o && i.return != null && i.return();
2573
+ !n && a.return != null && a.return();
2244
2574
  } finally {
2245
- if (n) throw c;
2575
+ if (o) throw p;
2246
2576
  }
2247
2577
  }
2248
- return t;
2578
+ return i;
2249
2579
  }
2250
2580
  }
2251
- function ji(a) {
2252
- if (Array.isArray(a)) return a;
2581
+ function Eo(e) {
2582
+ if (Array.isArray(e)) return e;
2253
2583
  }
2254
- var Ei = typeof Ha == "function" ? Ha : Ha.default, Ti = "file-invalid-type", _i = "file-too-large", Oi = "file-too-small", Ae = "too-many-files", vt = {
2255
- TooManyFiles: Ae
2256
- }, Di = function() {
2257
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", i = e.split(","), t = i.length > 1 ? "one of ".concat(i.join(", ")) : i[0];
2584
+ var To = typeof rt == "function" ? rt : rt.default, Oo = "file-invalid-type", Ao = "file-too-large", So = "file-too-small", ba = "too-many-files", vr = {
2585
+ TooManyFiles: ba
2586
+ }, Po = function() {
2587
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", a = t.split(","), i = a.length > 1 ? "one of ".concat(a.join(", ")) : a[0];
2258
2588
  return {
2259
- code: Ti,
2260
- message: "File type must be ".concat(t)
2589
+ code: Oo,
2590
+ message: "File type must be ".concat(i)
2261
2591
  };
2262
- }, ge = function(e) {
2592
+ }, Kt = function(t) {
2263
2593
  return {
2264
- code: _i,
2265
- message: "File is larger than ".concat(e, " ").concat(e === 1 ? "byte" : "bytes")
2594
+ code: Ao,
2595
+ message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
2266
2596
  };
2267
- }, be = function(e) {
2597
+ }, Nt = function(t) {
2268
2598
  return {
2269
- code: Oi,
2270
- message: "File is smaller than ".concat(e, " ").concat(e === 1 ? "byte" : "bytes")
2599
+ code: So,
2600
+ message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
2271
2601
  };
2272
- }, Si = {
2273
- code: Ae,
2602
+ }, Do = {
2603
+ code: ba,
2274
2604
  message: "Too many files"
2275
2605
  };
2276
- function Pe(a, e) {
2277
- var i = a.type === "application/x-moz-file" || Ei(a, e);
2278
- return [i, i ? null : Di(e)];
2279
- }
2280
- function ze(a, e, i) {
2281
- if (la(a.size))
2282
- if (la(e) && la(i)) {
2283
- if (a.size > i) return [!1, ge(i)];
2284
- if (a.size < e) return [!1, be(e)];
2606
+ function wa(e, t) {
2607
+ var a = e.type === "application/x-moz-file" || To(e, t);
2608
+ return [a, a ? null : Po(t)];
2609
+ }
2610
+ function ja(e, t, a) {
2611
+ if (se(e.size))
2612
+ if (se(t) && se(a)) {
2613
+ if (e.size > a) return [!1, Kt(a)];
2614
+ if (e.size < t) return [!1, Nt(t)];
2285
2615
  } else {
2286
- if (la(e) && a.size < e) return [!1, be(e)];
2287
- if (la(i) && a.size > i) return [!1, ge(i)];
2616
+ if (se(t) && e.size < t) return [!1, Nt(t)];
2617
+ if (se(a) && e.size > a) return [!1, Kt(a)];
2288
2618
  }
2289
2619
  return [!0, null];
2290
2620
  }
2291
- function la(a) {
2292
- return a != null;
2621
+ function se(e) {
2622
+ return e != null;
2293
2623
  }
2294
- function Ai(a) {
2295
- var e = a.files, i = a.accept, t = a.minSize, o = a.maxSize, n = a.multiple, d = a.maxFiles, c = a.validator;
2296
- return !n && e.length > 1 || n && d >= 1 && e.length > d ? !1 : e.every(function(b) {
2297
- var j = Pe(b, i), x = ga(j, 1), w = x[0], P = ze(b, t, o), z = ga(P, 1), L = z[0], S = c ? c(b) : null;
2298
- return w && L && !S;
2624
+ function zo(e) {
2625
+ var t = e.files, a = e.accept, i = e.minSize, n = e.maxSize, o = e.multiple, l = e.maxFiles, p = e.validator;
2626
+ return !o && t.length > 1 || o && l >= 1 && t.length > l ? !1 : t.every(function(v) {
2627
+ var x = wa(v, a), y = ke(x, 1), j = y[0], D = ja(v, i, n), C = ke(D, 1), L = C[0], S = p ? p(v) : null;
2628
+ return j && L && !S;
2299
2629
  });
2300
2630
  }
2301
- function Oa(a) {
2302
- return typeof a.isPropagationStopped == "function" ? a.isPropagationStopped() : typeof a.cancelBubble < "u" ? a.cancelBubble : !1;
2631
+ function qe(e) {
2632
+ return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
2303
2633
  }
2304
- function Ta(a) {
2305
- return a.dataTransfer ? Array.prototype.some.call(a.dataTransfer.types, function(e) {
2306
- return e === "Files" || e === "application/x-moz-file";
2307
- }) : !!a.target && !!a.target.files;
2634
+ function Ie(e) {
2635
+ return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(t) {
2636
+ return t === "Files" || t === "application/x-moz-file";
2637
+ }) : !!e.target && !!e.target.files;
2308
2638
  }
2309
- function ye(a) {
2310
- a.preventDefault();
2639
+ function Vt(e) {
2640
+ e.preventDefault();
2311
2641
  }
2312
- function Pi(a) {
2313
- return a.indexOf("MSIE") !== -1 || a.indexOf("Trident/") !== -1;
2642
+ function Co(e) {
2643
+ return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
2314
2644
  }
2315
- function zi(a) {
2316
- return a.indexOf("Edge/") !== -1;
2645
+ function Ro(e) {
2646
+ return e.indexOf("Edge/") !== -1;
2317
2647
  }
2318
- function Ri() {
2319
- var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
2320
- return Pi(a) || zi(a);
2648
+ function Io() {
2649
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
2650
+ return Co(e) || Ro(e);
2321
2651
  }
2322
2652
  function Q() {
2323
- for (var a = arguments.length, e = new Array(a), i = 0; i < a; i++)
2324
- e[i] = arguments[i];
2325
- return function(t) {
2326
- for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), d = 1; d < o; d++)
2327
- n[d - 1] = arguments[d];
2328
- return e.some(function(c) {
2329
- return !Oa(t) && c && c.apply(void 0, [t].concat(n)), Oa(t);
2653
+ for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
2654
+ t[a] = arguments[a];
2655
+ return function(i) {
2656
+ for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++)
2657
+ o[l - 1] = arguments[l];
2658
+ return t.some(function(p) {
2659
+ return !qe(i) && p && p.apply(void 0, [i].concat(o)), qe(i);
2330
2660
  });
2331
2661
  };
2332
2662
  }
2333
- function Ci() {
2663
+ function Fo() {
2334
2664
  return "showOpenFilePicker" in window;
2335
2665
  }
2336
- function Fi(a) {
2337
- if (la(a)) {
2338
- var e = Object.entries(a).filter(function(i) {
2339
- var t = ga(i, 2), o = t[0], n = t[1], d = !0;
2340
- return Re(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.')), d = !1), (!Array.isArray(n) || !n.every(Ce)) && (console.warn('Skipped "'.concat(o, '" because an invalid file extension was provided.')), d = !1), d;
2341
- }).reduce(function(i, t) {
2342
- var o = ga(t, 2), n = o[0], d = o[1];
2343
- return xe(xe({}, i), {}, De({}, n, d));
2666
+ function $o(e) {
2667
+ if (se(e)) {
2668
+ var t = Object.entries(e).filter(function(a) {
2669
+ var i = ke(a, 2), n = i[0], o = i[1], l = !0;
2670
+ return _a(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.')), l = !1), (!Array.isArray(o) || !o.every(ka)) && (console.warn('Skipped "'.concat(n, '" because an invalid file extension was provided.')), l = !1), l;
2671
+ }).reduce(function(a, i) {
2672
+ var n = ke(i, 2), o = n[0], l = n[1];
2673
+ return Gt(Gt({}, a), {}, ya({}, o, l));
2344
2674
  }, {});
2345
2675
  return [{
2346
2676
  // description is required due to https://crbug.com/1264708
2347
2677
  description: "Files",
2348
- accept: e
2678
+ accept: t
2349
2679
  }];
2350
2680
  }
2351
- return a;
2681
+ return e;
2352
2682
  }
2353
- function Ii(a) {
2354
- if (la(a))
2355
- return Object.entries(a).reduce(function(e, i) {
2356
- var t = ga(i, 2), o = t[0], n = t[1];
2357
- return [].concat(fe(e), [o], fe(n));
2358
- }, []).filter(function(e) {
2359
- return Re(e) || Ce(e);
2683
+ function qo(e) {
2684
+ if (se(e))
2685
+ return Object.entries(e).reduce(function(t, a) {
2686
+ var i = ke(a, 2), n = i[0], o = i[1];
2687
+ return [].concat(Bt(t), [n], Bt(o));
2688
+ }, []).filter(function(t) {
2689
+ return _a(t) || ka(t);
2360
2690
  }).join(",");
2361
2691
  }
2362
- function qi(a) {
2363
- return a instanceof DOMException && (a.name === "AbortError" || a.code === a.ABORT_ERR);
2692
+ function Mo(e) {
2693
+ return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
2364
2694
  }
2365
- function Mi(a) {
2366
- return a instanceof DOMException && (a.name === "SecurityError" || a.code === a.SECURITY_ERR);
2695
+ function Lo(e) {
2696
+ return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
2367
2697
  }
2368
- function Re(a) {
2369
- return a === "audio/*" || a === "video/*" || a === "image/*" || a === "text/*" || a === "application/*" || /\w+\/[-+.\w]+/g.test(a);
2698
+ function _a(e) {
2699
+ return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
2370
2700
  }
2371
- function Ce(a) {
2372
- return /^.*\.[\w]+$/.test(a);
2701
+ function ka(e) {
2702
+ return /^.*\.[\w]+$/.test(e);
2373
2703
  }
2374
- var $i = ["children"], Li = ["open"], Wi = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Yi = ["refKey", "onChange", "onClick"];
2375
- function Ui(a) {
2376
- return Bi(a) || Ki(a) || Fe(a) || Hi();
2704
+ var Uo = ["children"], Wo = ["open"], Yo = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Bo = ["refKey", "onChange", "onClick"];
2705
+ function Ho(e) {
2706
+ return No(e) || Ko(e) || Ea(e) || Go();
2377
2707
  }
2378
- function Hi() {
2708
+ function Go() {
2379
2709
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2380
2710
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2381
2711
  }
2382
- function Ki(a) {
2383
- if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
2712
+ function Ko(e) {
2713
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2384
2714
  }
2385
- function Bi(a) {
2386
- if (Array.isArray(a)) return Na(a);
2715
+ function No(e) {
2716
+ if (Array.isArray(e)) return st(e);
2387
2717
  }
2388
- function Ka(a, e) {
2389
- return Vi(a) || Ni(a, e) || Fe(a, e) || Gi();
2718
+ function pt(e, t) {
2719
+ return Jo(e) || Zo(e, t) || Ea(e, t) || Vo();
2390
2720
  }
2391
- function Gi() {
2721
+ function Vo() {
2392
2722
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2393
2723
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2394
2724
  }
2395
- function Fe(a, e) {
2396
- if (a) {
2397
- if (typeof a == "string") return Na(a, e);
2398
- var i = Object.prototype.toString.call(a).slice(8, -1);
2399
- if (i === "Object" && a.constructor && (i = a.constructor.name), i === "Map" || i === "Set") return Array.from(a);
2400
- if (i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)) return Na(a, e);
2725
+ function Ea(e, t) {
2726
+ if (e) {
2727
+ if (typeof e == "string") return st(e, t);
2728
+ var a = Object.prototype.toString.call(e).slice(8, -1);
2729
+ if (a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set") return Array.from(e);
2730
+ if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return st(e, t);
2401
2731
  }
2402
2732
  }
2403
- function Na(a, e) {
2404
- (e == null || e > a.length) && (e = a.length);
2405
- for (var i = 0, t = new Array(e); i < e; i++)
2406
- t[i] = a[i];
2407
- return t;
2733
+ function st(e, t) {
2734
+ (t == null || t > e.length) && (t = e.length);
2735
+ for (var a = 0, i = new Array(t); a < t; a++)
2736
+ i[a] = e[a];
2737
+ return i;
2408
2738
  }
2409
- function Ni(a, e) {
2410
- var i = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
2411
- if (i != null) {
2412
- var t = [], o = !0, n = !1, d, c;
2739
+ function Zo(e, t) {
2740
+ var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2741
+ if (a != null) {
2742
+ var i = [], n = !0, o = !1, l, p;
2413
2743
  try {
2414
- for (i = i.call(a); !(o = (d = i.next()).done) && (t.push(d.value), !(e && t.length === e)); o = !0)
2744
+ for (a = a.call(e); !(n = (l = a.next()).done) && (i.push(l.value), !(t && i.length === t)); n = !0)
2415
2745
  ;
2416
- } catch (b) {
2417
- n = !0, c = b;
2746
+ } catch (v) {
2747
+ o = !0, p = v;
2418
2748
  } finally {
2419
2749
  try {
2420
- !o && i.return != null && i.return();
2750
+ !n && a.return != null && a.return();
2421
2751
  } finally {
2422
- if (n) throw c;
2752
+ if (o) throw p;
2423
2753
  }
2424
2754
  }
2425
- return t;
2755
+ return i;
2426
2756
  }
2427
2757
  }
2428
- function Vi(a) {
2429
- if (Array.isArray(a)) return a;
2758
+ function Jo(e) {
2759
+ if (Array.isArray(e)) return e;
2430
2760
  }
2431
- function he(a, e) {
2432
- var i = Object.keys(a);
2761
+ function Zt(e, t) {
2762
+ var a = Object.keys(e);
2433
2763
  if (Object.getOwnPropertySymbols) {
2434
- var t = Object.getOwnPropertySymbols(a);
2435
- e && (t = t.filter(function(o) {
2436
- return Object.getOwnPropertyDescriptor(a, o).enumerable;
2437
- })), i.push.apply(i, t);
2764
+ var i = Object.getOwnPropertySymbols(e);
2765
+ t && (i = i.filter(function(n) {
2766
+ return Object.getOwnPropertyDescriptor(e, n).enumerable;
2767
+ })), a.push.apply(a, i);
2438
2768
  }
2439
- return i;
2769
+ return a;
2440
2770
  }
2441
- function C(a) {
2442
- for (var e = 1; e < arguments.length; e++) {
2443
- var i = arguments[e] != null ? arguments[e] : {};
2444
- e % 2 ? he(Object(i), !0).forEach(function(t) {
2445
- Va(a, t, i[t]);
2446
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(i)) : he(Object(i)).forEach(function(t) {
2447
- Object.defineProperty(a, t, Object.getOwnPropertyDescriptor(i, t));
2771
+ function R(e) {
2772
+ for (var t = 1; t < arguments.length; t++) {
2773
+ var a = arguments[t] != null ? arguments[t] : {};
2774
+ t % 2 ? Zt(Object(a), !0).forEach(function(i) {
2775
+ dt(e, i, a[i]);
2776
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Zt(Object(a)).forEach(function(i) {
2777
+ Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(a, i));
2448
2778
  });
2449
2779
  }
2450
- return a;
2780
+ return e;
2451
2781
  }
2452
- function Va(a, e, i) {
2453
- return e in a ? Object.defineProperty(a, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : a[e] = i, a;
2782
+ function dt(e, t, a) {
2783
+ return t in e ? Object.defineProperty(e, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = a, e;
2454
2784
  }
2455
- function Da(a, e) {
2456
- if (a == null) return {};
2457
- var i = Zi(a, e), t, o;
2785
+ function Me(e, t) {
2786
+ if (e == null) return {};
2787
+ var a = Xo(e, t), i, n;
2458
2788
  if (Object.getOwnPropertySymbols) {
2459
- var n = Object.getOwnPropertySymbols(a);
2460
- for (o = 0; o < n.length; o++)
2461
- t = n[o], !(e.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(a, t) && (i[t] = a[t]);
2789
+ var o = Object.getOwnPropertySymbols(e);
2790
+ for (n = 0; n < o.length; n++)
2791
+ i = o[n], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (a[i] = e[i]);
2462
2792
  }
2463
- return i;
2793
+ return a;
2464
2794
  }
2465
- function Zi(a, e) {
2466
- if (a == null) return {};
2467
- var i = {}, t = Object.keys(a), o, n;
2468
- for (n = 0; n < t.length; n++)
2469
- o = t[n], !(e.indexOf(o) >= 0) && (i[o] = a[o]);
2470
- return i;
2795
+ function Xo(e, t) {
2796
+ if (e == null) return {};
2797
+ var a = {}, i = Object.keys(e), n, o;
2798
+ for (o = 0; o < i.length; o++)
2799
+ n = i[o], !(t.indexOf(n) >= 0) && (a[n] = e[n]);
2800
+ return a;
2471
2801
  }
2472
- var Xa = /* @__PURE__ */ Ue(function(a, e) {
2473
- var i = a.children, t = Da(a, $i), o = Ji(t), n = o.open, d = Da(o, Li);
2474
- return He(e, function() {
2802
+ var vt = /* @__PURE__ */ Ca(function(e, t) {
2803
+ var a = e.children, i = Me(e, Uo), n = Qo(i), o = n.open, l = Me(n, Wo);
2804
+ return Ra(t, function() {
2475
2805
  return {
2476
- open: n
2806
+ open: o
2477
2807
  };
2478
- }, [n]), /* @__PURE__ */ We.createElement(Ke, null, i(C(C({}, d), {}, {
2479
- open: n
2808
+ }, [o]), /* @__PURE__ */ Da.createElement(Ia, null, a(R(R({}, l), {}, {
2809
+ open: o
2480
2810
  })));
2481
2811
  });
2482
- Xa.displayName = "Dropzone";
2483
- var Ie = {
2812
+ vt.displayName = "Dropzone";
2813
+ var Ta = {
2484
2814
  disabled: !1,
2485
- getFilesFromEvent: pi,
2815
+ getFilesFromEvent: co,
2486
2816
  maxSize: 1 / 0,
2487
2817
  minSize: 0,
2488
2818
  multiple: !0,
@@ -2496,8 +2826,8 @@ var Ie = {
2496
2826
  useFsAccessApi: !1,
2497
2827
  autoFocus: !1
2498
2828
  };
2499
- Xa.defaultProps = Ie;
2500
- Xa.propTypes = {
2829
+ vt.defaultProps = Ta;
2830
+ vt.propTypes = {
2501
2831
  /**
2502
2832
  * Render function that exposes the dropzone state and prop getter fns
2503
2833
  *
@@ -2513,7 +2843,7 @@ Xa.propTypes = {
2513
2843
  * @param {File[]} params.acceptedFiles Accepted files
2514
2844
  * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
2515
2845
  */
2516
- children: A.func,
2846
+ children: P.func,
2517
2847
  /**
2518
2848
  * Set accepted file types.
2519
2849
  * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
@@ -2521,90 +2851,90 @@ Xa.propTypes = {
2521
2851
  * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
2522
2852
  * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
2523
2853
  */
2524
- accept: A.objectOf(A.arrayOf(A.string)),
2854
+ accept: P.objectOf(P.arrayOf(P.string)),
2525
2855
  /**
2526
2856
  * Allow drag 'n' drop (or selection from the file dialog) of multiple files
2527
2857
  */
2528
- multiple: A.bool,
2858
+ multiple: P.bool,
2529
2859
  /**
2530
2860
  * If false, allow dropped items to take over the current browser window
2531
2861
  */
2532
- preventDropOnDocument: A.bool,
2862
+ preventDropOnDocument: P.bool,
2533
2863
  /**
2534
2864
  * If true, disables click to open the native file selection dialog
2535
2865
  */
2536
- noClick: A.bool,
2866
+ noClick: P.bool,
2537
2867
  /**
2538
2868
  * If true, disables SPACE/ENTER to open the native file selection dialog.
2539
2869
  * Note that it also stops tracking the focus state.
2540
2870
  */
2541
- noKeyboard: A.bool,
2871
+ noKeyboard: P.bool,
2542
2872
  /**
2543
2873
  * If true, disables drag 'n' drop
2544
2874
  */
2545
- noDrag: A.bool,
2875
+ noDrag: P.bool,
2546
2876
  /**
2547
2877
  * If true, stops drag event propagation to parents
2548
2878
  */
2549
- noDragEventsBubbling: A.bool,
2879
+ noDragEventsBubbling: P.bool,
2550
2880
  /**
2551
2881
  * Minimum file size (in bytes)
2552
2882
  */
2553
- minSize: A.number,
2883
+ minSize: P.number,
2554
2884
  /**
2555
2885
  * Maximum file size (in bytes)
2556
2886
  */
2557
- maxSize: A.number,
2887
+ maxSize: P.number,
2558
2888
  /**
2559
2889
  * Maximum accepted number of files
2560
2890
  * The default value is 0 which means there is no limitation to how many files are accepted.
2561
2891
  */
2562
- maxFiles: A.number,
2892
+ maxFiles: P.number,
2563
2893
  /**
2564
2894
  * Enable/disable the dropzone
2565
2895
  */
2566
- disabled: A.bool,
2896
+ disabled: P.bool,
2567
2897
  /**
2568
2898
  * Use this to provide a custom file aggregator
2569
2899
  *
2570
2900
  * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
2571
2901
  */
2572
- getFilesFromEvent: A.func,
2902
+ getFilesFromEvent: P.func,
2573
2903
  /**
2574
2904
  * Cb for when closing the file dialog with no selection
2575
2905
  */
2576
- onFileDialogCancel: A.func,
2906
+ onFileDialogCancel: P.func,
2577
2907
  /**
2578
2908
  * Cb for when opening the file dialog
2579
2909
  */
2580
- onFileDialogOpen: A.func,
2910
+ onFileDialogOpen: P.func,
2581
2911
  /**
2582
2912
  * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
2583
2913
  * to open the file picker instead of using an `<input type="file">` click event.
2584
2914
  */
2585
- useFsAccessApi: A.bool,
2915
+ useFsAccessApi: P.bool,
2586
2916
  /**
2587
2917
  * Set to true to focus the root element on render
2588
2918
  */
2589
- autoFocus: A.bool,
2919
+ autoFocus: P.bool,
2590
2920
  /**
2591
2921
  * Cb for when the `dragenter` event occurs.
2592
2922
  *
2593
2923
  * @param {DragEvent} event
2594
2924
  */
2595
- onDragEnter: A.func,
2925
+ onDragEnter: P.func,
2596
2926
  /**
2597
2927
  * Cb for when the `dragleave` event occurs
2598
2928
  *
2599
2929
  * @param {DragEvent} event
2600
2930
  */
2601
- onDragLeave: A.func,
2931
+ onDragLeave: P.func,
2602
2932
  /**
2603
2933
  * Cb for when the `dragover` event occurs
2604
2934
  *
2605
2935
  * @param {DragEvent} event
2606
2936
  */
2607
- onDragOver: A.func,
2937
+ onDragOver: P.func,
2608
2938
  /**
2609
2939
  * Cb for when the `drop` event occurs.
2610
2940
  * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
@@ -2635,7 +2965,7 @@ Xa.propTypes = {
2635
2965
  * @param {FileRejection[]} fileRejections
2636
2966
  * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
2637
2967
  */
2638
- onDrop: A.func,
2968
+ onDrop: P.func,
2639
2969
  /**
2640
2970
  * Cb for when the `drop` event occurs.
2641
2971
  * Note that if no files are accepted, this callback is not invoked.
@@ -2643,7 +2973,7 @@ Xa.propTypes = {
2643
2973
  * @param {File[]} files
2644
2974
  * @param {(DragEvent|Event)} event
2645
2975
  */
2646
- onDropAccepted: A.func,
2976
+ onDropAccepted: P.func,
2647
2977
  /**
2648
2978
  * Cb for when the `drop` event occurs.
2649
2979
  * Note that if no files are rejected, this callback is not invoked.
@@ -2651,21 +2981,21 @@ Xa.propTypes = {
2651
2981
  * @param {FileRejection[]} fileRejections
2652
2982
  * @param {(DragEvent|Event)} event
2653
2983
  */
2654
- onDropRejected: A.func,
2984
+ onDropRejected: P.func,
2655
2985
  /**
2656
2986
  * Cb for when there's some error from any of the promises.
2657
2987
  *
2658
2988
  * @param {Error} error
2659
2989
  */
2660
- onError: A.func,
2990
+ onError: P.func,
2661
2991
  /**
2662
2992
  * Custom validation function. It must return null if there's no errors.
2663
2993
  * @param {File} file
2664
2994
  * @returns {FileError|FileError[]|null}
2665
2995
  */
2666
- validator: A.func
2996
+ validator: P.func
2667
2997
  };
2668
- var Za = {
2998
+ var ut = {
2669
2999
  isFocused: !1,
2670
3000
  isFileDialogActive: !1,
2671
3001
  isDragActive: !1,
@@ -2674,188 +3004,188 @@ var Za = {
2674
3004
  acceptedFiles: [],
2675
3005
  fileRejections: []
2676
3006
  };
2677
- function Ji() {
2678
- var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = C(C({}, Ie), a), i = e.accept, t = e.disabled, o = e.getFilesFromEvent, n = e.maxSize, d = e.minSize, c = e.multiple, b = e.maxFiles, j = e.onDragEnter, x = e.onDragLeave, w = e.onDragOver, P = e.onDrop, z = e.onDropAccepted, L = e.onDropRejected, S = e.onFileDialogCancel, M = e.onFileDialogOpen, K = e.useFsAccessApi, ia = e.autoFocus, I = e.preventDropOnDocument, q = e.noClick, s = e.noKeyboard, J = e.noDrag, Z = e.noDragEventsBubbling, oa = e.onError, aa = e.validator, ea = ua(function() {
2679
- return Ii(i);
2680
- }, [i]), ra = ua(function() {
2681
- return Fi(i);
2682
- }, [i]), pa = ua(function() {
2683
- return typeof M == "function" ? M : we;
2684
- }, [M]), ta = ua(function() {
2685
- return typeof S == "function" ? S : we;
2686
- }, [S]), F = wa(null), H = wa(null), N = Ye(Xi, Za), X = Ka(N, 2), na = X[0], U = X[1], r = na.isFocused, m = na.isFileDialogActive, g = wa(typeof window < "u" && window.isSecureContext && K && Ci()), y = function() {
2687
- !g.current && m && setTimeout(function() {
2688
- if (H.current) {
2689
- var u = H.current.files;
2690
- u.length || (U({
3007
+ function Qo() {
3008
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = R(R({}, Ta), e), a = t.accept, i = t.disabled, n = t.getFilesFromEvent, o = t.maxSize, l = t.minSize, p = t.multiple, v = t.maxFiles, x = t.onDragEnter, y = t.onDragLeave, j = t.onDragOver, D = t.onDrop, C = t.onDropAccepted, L = t.onDropRejected, S = t.onFileDialogCancel, q = t.onFileDialogOpen, H = t.useFsAccessApi, ie = t.autoFocus, F = t.preventDropOnDocument, $ = t.noClick, d = t.noKeyboard, J = t.noDrag, Z = t.noDragEventsBubbling, re = t.onError, ee = t.validator, te = ve(function() {
3009
+ return qo(a);
3010
+ }, [a]), pe = ve(function() {
3011
+ return $o(a);
3012
+ }, [a]), ce = ve(function() {
3013
+ return typeof q == "function" ? q : Jt;
3014
+ }, [q]), ne = ve(function() {
3015
+ return typeof S == "function" ? S : Jt;
3016
+ }, [S]), I = De(null), B = De(null), N = za(er, ut), X = pt(N, 2), oe = X[0], Y = X[1], r = oe.isFocused, u = oe.isFileDialogActive, h = De(typeof window < "u" && window.isSecureContext && H && Fo()), b = function() {
3017
+ !h.current && u && setTimeout(function() {
3018
+ if (B.current) {
3019
+ var f = B.current.files;
3020
+ f.length || (Y({
2691
3021
  type: "closeDialog"
2692
- }), ta());
3022
+ }), ne());
2693
3023
  }
2694
3024
  }, 300);
2695
3025
  };
2696
- qa(function() {
2697
- return window.addEventListener("focus", y, !1), function() {
2698
- window.removeEventListener("focus", y, !1);
3026
+ Je(function() {
3027
+ return window.addEventListener("focus", b, !1), function() {
3028
+ window.removeEventListener("focus", b, !1);
2699
3029
  };
2700
- }, [H, m, ta, g]);
2701
- var f = wa([]), E = function(u) {
2702
- F.current && F.current.contains(u.target) || (u.preventDefault(), f.current = []);
3030
+ }, [B, u, ne, h]);
3031
+ var m = De([]), k = function(f) {
3032
+ I.current && I.current.contains(f.target) || (f.preventDefault(), m.current = []);
2703
3033
  };
2704
- qa(function() {
2705
- return I && (document.addEventListener("dragover", ye, !1), document.addEventListener("drop", E, !1)), function() {
2706
- I && (document.removeEventListener("dragover", ye), document.removeEventListener("drop", E));
3034
+ Je(function() {
3035
+ return F && (document.addEventListener("dragover", Vt, !1), document.addEventListener("drop", k, !1)), function() {
3036
+ F && (document.removeEventListener("dragover", Vt), document.removeEventListener("drop", k));
2707
3037
  };
2708
- }, [F, I]), qa(function() {
2709
- return !t && ia && F.current && F.current.focus(), function() {
3038
+ }, [I, F]), Je(function() {
3039
+ return !i && ie && I.current && I.current.focus(), function() {
2710
3040
  };
2711
- }, [F, ia, t]);
2712
- var v = V(function(l) {
2713
- oa ? oa(l) : console.error(l);
2714
- }, [oa]), h = V(function(l) {
2715
- l.preventDefault(), l.persist(), ya(l), f.current = [].concat(Ui(f.current), [l.target]), Ta(l) && Promise.resolve(o(l)).then(function(u) {
2716
- if (!(Oa(l) && !Z)) {
2717
- var $ = u.length, Y = $ > 0 && Ai({
2718
- files: u,
2719
- accept: ea,
2720
- minSize: d,
2721
- maxSize: n,
2722
- multiple: c,
2723
- maxFiles: b,
2724
- validator: aa
2725
- }), G = $ > 0 && !Y;
2726
- U({
2727
- isDragAccept: Y,
2728
- isDragReject: G,
3041
+ }, [I, ie, i]);
3042
+ var g = V(function(s) {
3043
+ re ? re(s) : console.error(s);
3044
+ }, [re]), w = V(function(s) {
3045
+ s.preventDefault(), s.persist(), Se(s), m.current = [].concat(Ho(m.current), [s.target]), Ie(s) && Promise.resolve(n(s)).then(function(f) {
3046
+ if (!(qe(s) && !Z)) {
3047
+ var M = f.length, W = M > 0 && zo({
3048
+ files: f,
3049
+ accept: te,
3050
+ minSize: l,
3051
+ maxSize: o,
3052
+ multiple: p,
3053
+ maxFiles: v,
3054
+ validator: ee
3055
+ }), K = M > 0 && !W;
3056
+ Y({
3057
+ isDragAccept: W,
3058
+ isDragReject: K,
2729
3059
  isDragActive: !0,
2730
3060
  type: "setDraggedFiles"
2731
- }), j && j(l);
3061
+ }), x && x(s);
2732
3062
  }
2733
- }).catch(function(u) {
2734
- return v(u);
3063
+ }).catch(function(f) {
3064
+ return g(f);
2735
3065
  });
2736
- }, [o, j, v, Z, ea, d, n, c, b, aa]), T = V(function(l) {
2737
- l.preventDefault(), l.persist(), ya(l);
2738
- var u = Ta(l);
2739
- if (u && l.dataTransfer)
3066
+ }, [n, x, g, Z, te, l, o, p, v, ee]), E = V(function(s) {
3067
+ s.preventDefault(), s.persist(), Se(s);
3068
+ var f = Ie(s);
3069
+ if (f && s.dataTransfer)
2740
3070
  try {
2741
- l.dataTransfer.dropEffect = "copy";
3071
+ s.dataTransfer.dropEffect = "copy";
2742
3072
  } catch {
2743
3073
  }
2744
- return u && w && w(l), !1;
2745
- }, [w, Z]), _ = V(function(l) {
2746
- l.preventDefault(), l.persist(), ya(l);
2747
- var u = f.current.filter(function(Y) {
2748
- return F.current && F.current.contains(Y);
2749
- }), $ = u.indexOf(l.target);
2750
- $ !== -1 && u.splice($, 1), f.current = u, !(u.length > 0) && (U({
3074
+ return f && j && j(s), !1;
3075
+ }, [j, Z]), T = V(function(s) {
3076
+ s.preventDefault(), s.persist(), Se(s);
3077
+ var f = m.current.filter(function(W) {
3078
+ return I.current && I.current.contains(W);
3079
+ }), M = f.indexOf(s.target);
3080
+ M !== -1 && f.splice(M, 1), m.current = f, !(f.length > 0) && (Y({
2751
3081
  type: "setDraggedFiles",
2752
3082
  isDragActive: !1,
2753
3083
  isDragAccept: !1,
2754
3084
  isDragReject: !1
2755
- }), Ta(l) && x && x(l));
2756
- }, [F, x, Z]), k = V(function(l, u) {
2757
- var $ = [], Y = [];
2758
- l.forEach(function(G) {
2759
- var xa = Pe(G, ea), ma = Ka(xa, 2), Aa = ma[0], Pa = ma[1], za = ze(G, d, n), ha = Ka(za, 2), Ra = ha[0], Ca = ha[1], Fa = aa ? aa(G) : null;
2760
- if (Aa && Ra && !Fa)
2761
- $.push(G);
3085
+ }), Ie(s) && y && y(s));
3086
+ }, [I, y, Z]), _ = V(function(s, f) {
3087
+ var M = [], W = [];
3088
+ s.forEach(function(K) {
3089
+ var be = wa(K, te), me = pt(be, 2), Be = me[0], He = me[1], Ge = ja(K, l, o), Pe = pt(Ge, 2), Ke = Pe[0], Ne = Pe[1], Ve = ee ? ee(K) : null;
3090
+ if (Be && Ke && !Ve)
3091
+ M.push(K);
2762
3092
  else {
2763
- var Ia = [Pa, Ca];
2764
- Fa && (Ia = Ia.concat(Fa)), Y.push({
2765
- file: G,
2766
- errors: Ia.filter(function(Le) {
2767
- return Le;
3093
+ var Ze = [He, Ne];
3094
+ Ve && (Ze = Ze.concat(Ve)), W.push({
3095
+ file: K,
3096
+ errors: Ze.filter(function(Pa) {
3097
+ return Pa;
2768
3098
  })
2769
3099
  });
2770
3100
  }
2771
- }), (!c && $.length > 1 || c && b >= 1 && $.length > b) && ($.forEach(function(G) {
2772
- Y.push({
2773
- file: G,
2774
- errors: [Si]
3101
+ }), (!p && M.length > 1 || p && v >= 1 && M.length > v) && (M.forEach(function(K) {
3102
+ W.push({
3103
+ file: K,
3104
+ errors: [Do]
2775
3105
  });
2776
- }), $.splice(0)), U({
2777
- acceptedFiles: $,
2778
- fileRejections: Y,
2779
- isDragReject: Y.length > 0,
3106
+ }), M.splice(0)), Y({
3107
+ acceptedFiles: M,
3108
+ fileRejections: W,
3109
+ isDragReject: W.length > 0,
2780
3110
  type: "setFiles"
2781
- }), P && P($, Y, u), Y.length > 0 && L && L(Y, u), $.length > 0 && z && z($, u);
2782
- }, [U, c, ea, d, n, b, P, z, L, aa]), W = V(function(l) {
2783
- l.preventDefault(), l.persist(), ya(l), f.current = [], Ta(l) && Promise.resolve(o(l)).then(function(u) {
2784
- Oa(l) && !Z || k(u, l);
2785
- }).catch(function(u) {
2786
- return v(u);
2787
- }), U({
3111
+ }), D && D(M, W, f), W.length > 0 && L && L(W, f), M.length > 0 && C && C(M, f);
3112
+ }, [Y, p, te, l, o, v, D, C, L, ee]), U = V(function(s) {
3113
+ s.preventDefault(), s.persist(), Se(s), m.current = [], Ie(s) && Promise.resolve(n(s)).then(function(f) {
3114
+ qe(s) && !Z || _(f, s);
3115
+ }).catch(function(f) {
3116
+ return g(f);
3117
+ }), Y({
2788
3118
  type: "reset"
2789
3119
  });
2790
- }, [o, k, v, Z]), p = V(function() {
2791
- if (g.current) {
2792
- U({
3120
+ }, [n, _, g, Z]), c = V(function() {
3121
+ if (h.current) {
3122
+ Y({
2793
3123
  type: "openDialog"
2794
- }), pa();
2795
- var l = {
2796
- multiple: c,
2797
- types: ra
3124
+ }), ce();
3125
+ var s = {
3126
+ multiple: p,
3127
+ types: pe
2798
3128
  };
2799
- window.showOpenFilePicker(l).then(function(u) {
2800
- return o(u);
2801
- }).then(function(u) {
2802
- k(u, null), U({
3129
+ window.showOpenFilePicker(s).then(function(f) {
3130
+ return n(f);
3131
+ }).then(function(f) {
3132
+ _(f, null), Y({
2803
3133
  type: "closeDialog"
2804
3134
  });
2805
- }).catch(function(u) {
2806
- qi(u) ? (ta(u), U({
3135
+ }).catch(function(f) {
3136
+ Mo(f) ? (ne(f), Y({
2807
3137
  type: "closeDialog"
2808
- })) : Mi(u) ? (g.current = !1, H.current ? (H.current.value = null, H.current.click()) : v(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."))) : v(u);
3138
+ })) : Lo(f) ? (h.current = !1, B.current ? (B.current.value = null, B.current.click()) : g(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."))) : g(f);
2809
3139
  });
2810
3140
  return;
2811
3141
  }
2812
- H.current && (U({
3142
+ B.current && (Y({
2813
3143
  type: "openDialog"
2814
- }), pa(), H.current.value = null, H.current.click());
2815
- }, [U, pa, ta, K, k, v, ra, c]), B = V(function(l) {
2816
- !F.current || !F.current.isEqualNode(l.target) || (l.key === " " || l.key === "Enter" || l.keyCode === 32 || l.keyCode === 13) && (l.preventDefault(), p());
2817
- }, [F, p]), ca = V(function() {
2818
- U({
3144
+ }), ce(), B.current.value = null, B.current.click());
3145
+ }, [Y, ce, ne, H, _, g, pe, p]), G = V(function(s) {
3146
+ !I.current || !I.current.isEqualNode(s.target) || (s.key === " " || s.key === "Enter" || s.keyCode === 32 || s.keyCode === 13) && (s.preventDefault(), c());
3147
+ }, [I, c]), le = V(function() {
3148
+ Y({
2819
3149
  type: "focus"
2820
3150
  });
2821
- }, []), va = V(function() {
2822
- U({
3151
+ }, []), he = V(function() {
3152
+ Y({
2823
3153
  type: "blur"
2824
3154
  });
2825
- }, []), Qa = V(function() {
2826
- q || (Ri() ? setTimeout(p, 0) : p());
2827
- }, [q, p]), da = function(u) {
2828
- return t ? null : u;
2829
- }, Sa = function(u) {
2830
- return s ? null : da(u);
2831
- }, ba = function(u) {
2832
- return J ? null : da(u);
2833
- }, ya = function(u) {
2834
- Z && u.stopPropagation();
2835
- }, qe = ua(function() {
3155
+ }, []), xt = V(function() {
3156
+ $ || (Io() ? setTimeout(c, 0) : c());
3157
+ }, [$, c]), fe = function(f) {
3158
+ return i ? null : f;
3159
+ }, Ye = function(f) {
3160
+ return d ? null : fe(f);
3161
+ }, Ae = function(f) {
3162
+ return J ? null : fe(f);
3163
+ }, Se = function(f) {
3164
+ Z && f.stopPropagation();
3165
+ }, Oa = ve(function() {
2836
3166
  return function() {
2837
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = l.refKey, $ = u === void 0 ? "ref" : u, Y = l.role, G = l.onKeyDown, xa = l.onFocus, ma = l.onBlur, Aa = l.onClick, Pa = l.onDragEnter, za = l.onDragOver, ha = l.onDragLeave, Ra = l.onDrop, Ca = Da(l, Wi);
2838
- return C(C(Va({
2839
- onKeyDown: Sa(Q(G, B)),
2840
- onFocus: Sa(Q(xa, ca)),
2841
- onBlur: Sa(Q(ma, va)),
2842
- onClick: da(Q(Aa, Qa)),
2843
- onDragEnter: ba(Q(Pa, h)),
2844
- onDragOver: ba(Q(za, T)),
2845
- onDragLeave: ba(Q(ha, _)),
2846
- onDrop: ba(Q(Ra, W)),
2847
- role: typeof Y == "string" && Y !== "" ? Y : "presentation"
2848
- }, $, F), !t && !s ? {
3167
+ var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = s.refKey, M = f === void 0 ? "ref" : f, W = s.role, K = s.onKeyDown, be = s.onFocus, me = s.onBlur, Be = s.onClick, He = s.onDragEnter, Ge = s.onDragOver, Pe = s.onDragLeave, Ke = s.onDrop, Ne = Me(s, Yo);
3168
+ return R(R(dt({
3169
+ onKeyDown: Ye(Q(K, G)),
3170
+ onFocus: Ye(Q(be, le)),
3171
+ onBlur: Ye(Q(me, he)),
3172
+ onClick: fe(Q(Be, xt)),
3173
+ onDragEnter: Ae(Q(He, w)),
3174
+ onDragOver: Ae(Q(Ge, E)),
3175
+ onDragLeave: Ae(Q(Pe, T)),
3176
+ onDrop: Ae(Q(Ke, U)),
3177
+ role: typeof W == "string" && W !== "" ? W : "presentation"
3178
+ }, M, I), !i && !d ? {
2849
3179
  tabIndex: 0
2850
- } : {}), Ca);
3180
+ } : {}), Ne);
2851
3181
  };
2852
- }, [F, B, ca, va, Qa, h, T, _, W, s, J, t]), Me = V(function(l) {
2853
- l.stopPropagation();
2854
- }, []), $e = ua(function() {
3182
+ }, [I, G, le, he, xt, w, E, T, U, d, J, i]), Aa = V(function(s) {
3183
+ s.stopPropagation();
3184
+ }, []), Sa = ve(function() {
2855
3185
  return function() {
2856
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = l.refKey, $ = u === void 0 ? "ref" : u, Y = l.onChange, G = l.onClick, xa = Da(l, Yi), ma = Va({
2857
- accept: ea,
2858
- multiple: c,
3186
+ var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = s.refKey, M = f === void 0 ? "ref" : f, W = s.onChange, K = s.onClick, be = Me(s, Bo), me = dt({
3187
+ accept: te,
3188
+ multiple: p,
2859
3189
  type: "file",
2860
3190
  style: {
2861
3191
  border: 0,
@@ -2869,81 +3199,106 @@ function Ji() {
2869
3199
  width: "1px",
2870
3200
  whiteSpace: "nowrap"
2871
3201
  },
2872
- onChange: da(Q(Y, W)),
2873
- onClick: da(Q(G, Me)),
3202
+ onChange: fe(Q(W, U)),
3203
+ onClick: fe(Q(K, Aa)),
2874
3204
  tabIndex: -1
2875
- }, $, H);
2876
- return C(C({}, ma), xa);
3205
+ }, M, B);
3206
+ return R(R({}, me), be);
2877
3207
  };
2878
- }, [H, i, c, W, t]);
2879
- return C(C({}, na), {}, {
2880
- isFocused: r && !t,
2881
- getRootProps: qe,
2882
- getInputProps: $e,
2883
- rootRef: F,
2884
- inputRef: H,
2885
- open: da(p)
3208
+ }, [B, a, p, U, i]);
3209
+ return R(R({}, oe), {}, {
3210
+ isFocused: r && !i,
3211
+ getRootProps: Oa,
3212
+ getInputProps: Sa,
3213
+ rootRef: I,
3214
+ inputRef: B,
3215
+ open: fe(c)
2886
3216
  });
2887
3217
  }
2888
- function Xi(a, e) {
2889
- switch (e.type) {
3218
+ function er(e, t) {
3219
+ switch (t.type) {
2890
3220
  case "focus":
2891
- return C(C({}, a), {}, {
3221
+ return R(R({}, e), {}, {
2892
3222
  isFocused: !0
2893
3223
  });
2894
3224
  case "blur":
2895
- return C(C({}, a), {}, {
3225
+ return R(R({}, e), {}, {
2896
3226
  isFocused: !1
2897
3227
  });
2898
3228
  case "openDialog":
2899
- return C(C({}, Za), {}, {
3229
+ return R(R({}, ut), {}, {
2900
3230
  isFileDialogActive: !0
2901
3231
  });
2902
3232
  case "closeDialog":
2903
- return C(C({}, a), {}, {
3233
+ return R(R({}, e), {}, {
2904
3234
  isFileDialogActive: !1
2905
3235
  });
2906
3236
  case "setDraggedFiles":
2907
- return C(C({}, a), {}, {
2908
- isDragActive: e.isDragActive,
2909
- isDragAccept: e.isDragAccept,
2910
- isDragReject: e.isDragReject
3237
+ return R(R({}, e), {}, {
3238
+ isDragActive: t.isDragActive,
3239
+ isDragAccept: t.isDragAccept,
3240
+ isDragReject: t.isDragReject
2911
3241
  });
2912
3242
  case "setFiles":
2913
- return C(C({}, a), {}, {
2914
- acceptedFiles: e.acceptedFiles,
2915
- fileRejections: e.fileRejections,
2916
- isDragReject: e.isDragReject
3243
+ return R(R({}, e), {}, {
3244
+ acceptedFiles: t.acceptedFiles,
3245
+ fileRejections: t.fileRejections,
3246
+ isDragReject: t.isDragReject
2917
3247
  });
2918
3248
  case "reset":
2919
- return C({}, Za);
3249
+ return R({}, ut);
2920
3250
  default:
2921
- return a;
3251
+ return e;
2922
3252
  }
2923
3253
  }
2924
- function we() {
3254
+ function Jt() {
2925
3255
  }
2926
- const xt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%202000%202000'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20url(%23Dégradé_sans_nom_2);%20}%20.cls-2%20{%20fill:%20url(%23Dégradé_sans_nom);%20}%20.cls-3%20{%20fill:%20url(%23Dégradé_sans_nom_4);%20}%20.cls-4%20{%20fill:%20url(%23Dégradé_sans_nom_3);%20}%20%3c/style%3e%3clinearGradient%20id='Dégradé_sans_nom'%20data-name='Dégradé%20sans%20nom'%20x1='316.37'%20y1='983.24'%20x2='941.52'%20y2='983.24'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23657eb5'/%3e%3cstop%20offset='1'%20stop-color='%238f9fc8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_2'%20data-name='Dégradé%20sans%20nom%202'%20x1='656.56'%20y1='1126.04'%20x2='1181.68'%20y2='1126.04'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%236f82b8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_3'%20data-name='Dégradé%20sans%20nom%203'%20x1='856.32'%20y1='1317.26'%20x2='1318.48'%20y2='1317.26'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%234e66aa'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_4'%20data-name='Dégradé%20sans%20nom%204'%20x1='1234.7'%20y1='855.06'%20x2='1684.55'%20y2='855.06'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%236f82b8'/%3e%3c/linearGradient%3e%3c/defs%3e%3c!--%20Generator:%20Adobe%20Illustrator%2028.7.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%201.2.0%20Build%20136)%20--%3e%3cg%3e%3cg%20id='Calque_1'%3e%3cg%20id='Calque_1-2'%20data-name='Calque_1'%3e%3cg%3e%3cpath%20class='cls-2'%20d='M941.25,1250.22h-490.96c-133.92,0-133.92-171.67-133.92-236.16,0-77.97,68.31-230.76,225.82-230.76,47.19,0,84.93,9.66,114.37,22.92,304.69,133.7,284.69,444,284.69,444Z'/%3e%3cpath%20class='cls-1'%20d='M1174.03,1196.97c.22,2.02.45,4.04.45,6.29,0,26.06-21.12,46.96-46.96,46.96h-186.27s20-310.31-284.69-444c4.04-68.98,22.24-157.51,80.22-226.05,31.91-37.52,71.9-65.16,119.54-82.46,247.62,89.88,310.76,315.47,325.36,391.65-5.84,27.41-7.64,63.81-7.64,117.07v190.54h0Z'/%3e%3cpath%20class='cls-4'%20d='M1297.62,754.76c-.22.22-.45.45-.67.45-71.9,57.3-102.91,75.05-115.27,134.14-14.6-76.17-77.74-301.77-325.36-391.65,23.14-8.09,47.86-14.16,74.37-17.75,19.32-2.47,39.77-3.82,61.12-3.82,209.64,0,304.47,149.2,325.14,228.07,5.17,19.77-3.15,40-19.32,50.56h-.01Z'/%3e%3cpath%20class='cls-3'%20d='M1424.12,766.67c-129.43,0-189.42,111.68-189.42,186.72v522.87c0,25.84,20.9,46.96,46.74,46.96,11.46,0,123.13-4.72,147.18-5.62h1.12c.45,0,1.12,0,1.8-.22.45,0,.9,0,1.57-.22,9.44-.45,18.2-3.37,25.62-9.89,187.4-153.69,225.82-281.32,225.82-426.47,0-155.72-131.22-314.13-260.42-314.13h0ZM1459.4,1174.05c-36.85,0-66.73-29.88-66.73-66.73s29.89-66.74,66.73-66.74,66.74,29.89,66.74,66.74-29.66,66.73-66.74,66.73Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
2927
3256
  export {
2928
- xt as A,
2929
- vt as E,
2930
- A as P,
2931
- dt as S,
2932
- Be as T,
2933
- ut as a,
2934
- lt as b,
2935
- it as c,
2936
- rt as d,
2937
- pt as e,
2938
- nt as f,
2939
- ct as g,
2940
- je as h,
2941
- ft as i,
2942
- et as j,
2943
- st as k,
2944
- Ee as l,
2945
- mt as r,
2946
- ot as s,
2947
- tt as t,
2948
- Ji as u
3257
+ rr as A,
3258
+ Qt as B,
3259
+ Ka as C,
3260
+ ua as D,
3261
+ vr as E,
3262
+ Ln as F,
3263
+ aa as G,
3264
+ ft as H,
3265
+ Ee as I,
3266
+ gi as J,
3267
+ Nn as K,
3268
+ Fe as L,
3269
+ ra as M,
3270
+ In as N,
3271
+ _t as O,
3272
+ P,
3273
+ Ni as Q,
3274
+ ye as R,
3275
+ Oe as S,
3276
+ ma as T,
3277
+ or as U,
3278
+ Xt as a,
3279
+ ir as b,
3280
+ mr as c,
3281
+ Ue as d,
3282
+ ht as e,
3283
+ Wn as f,
3284
+ cn as g,
3285
+ na as h,
3286
+ nr as i,
3287
+ ge as j,
3288
+ pa as k,
3289
+ Te as l,
3290
+ cr as m,
3291
+ lr as n,
3292
+ on as o,
3293
+ $n as p,
3294
+ en as q,
3295
+ ar as r,
3296
+ dr as s,
3297
+ sr as t,
3298
+ Qo as u,
3299
+ ur as v,
3300
+ pr as w,
3301
+ Qi as x,
3302
+ oa as y,
3303
+ fr as z
2949
3304
  };