@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.
- package/README.md +1 -1
- package/catalog/captures-plan.ts +4 -1
- package/catalog/catalog-entries.ts +6 -1
- package/catalog/expected-error.ts +6 -0
- package/catalog/pages/CookieConsent.tsx +38 -0
- package/catalog/pages/ErrorBoundary.tsx +22 -0
- package/catalog/pages/PasswordField.tsx +62 -0
- package/catalog/pages/Toast.tsx +17 -6
- package/catalog/pages/index.ts +6 -0
- package/catalog/specs/captures.spec.ts +10 -0
- package/catalog/specs/catalog-page.ts +6 -1
- package/catalog/specs/write-capture-index.ts +1 -0
- package/dist/CookieConsentSettings-B7NfjgaI.js +505 -0
- package/dist/{use-rich-intl.hook-BETUyCkW.js → Surface-BEhoEhyC.js} +844 -161
- package/dist/Tabs-DJ9_ZFjM.js +1946 -0
- package/dist/auth/components/AuthFlow/auth-flow.types.d.ts +2 -0
- package/dist/auth/components/AuthFlow/steps/MfaEnrollmentStep.component.d.ts +2 -0
- package/dist/auth/components/AuthFlow/steps/MfaStep.component.d.ts +10 -4
- package/dist/auth/components/AuthFlow/steps/PasskeyNudgeStep.component.d.ts +3 -1
- package/dist/auth/components/AuthHeroLayout/auth-hero-gradient.d.ts +18 -0
- package/dist/auth/components/MfaRequirementBanner/MfaRequirementBanner.component.d.ts +3 -1
- package/dist/auth/components/SecuritySettings/SecuritySettings.component.d.ts +1 -1
- package/dist/auth/components/SecuritySettings/sections/PasskeysSection.component.d.ts +6 -1
- package/dist/auth/components/SecuritySettings/sections/RecoveryCodesSection.component.d.ts +3 -1
- package/dist/auth/components/SecuritySettings/sections/TrustedDevicesSection.component.d.ts +6 -0
- package/dist/auth/components/index.d.ts +1 -0
- package/dist/auth/components/shared/AuthLoadingScreen.component.d.ts +5 -0
- package/dist/auth/components/shared/SingleDevicePasskeyAdvice.component.d.ts +13 -0
- package/dist/auth/components/shared/passkey-ceremonies.d.ts +6 -1
- package/dist/auth/components/shared/support-contact.d.ts +2 -0
- package/dist/auth/components/shared/use-async-resource.hook.d.ts +4 -1
- package/dist/auth/components/test-support/auth-sdk.mock.d.ts +5 -0
- package/dist/auth/components/test-support/auth-test-harness.d.ts +3 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/{legacy/components/CookieConsent/CookieConsentBanner.component.d.ts → components/business/CookieConsent/CookieConsentBanner.d.ts} +1 -2
- package/dist/components/business/CookieConsent/CookieConsentSettings.d.ts +1 -0
- package/dist/{legacy/components → components/business}/CookieConsent/index.d.ts +2 -2
- package/dist/components/business/Support/AbyssServiceSelect.component.d.ts +26 -0
- package/dist/components/business/Support/SupportActionButtons.component.d.ts +7 -0
- package/dist/components/business/Support/SupportActivityLog.component.d.ts +7 -0
- package/dist/components/business/Support/SupportAttachmentsPanel.component.d.ts +7 -0
- package/dist/components/business/Support/SupportCategoryChip.component.d.ts +12 -0
- package/dist/components/business/Support/SupportCategoryGroupCards.component.d.ts +2 -0
- package/dist/components/business/Support/SupportCategorySelect.component.d.ts +21 -0
- package/dist/components/business/Support/SupportCreateTextField.d.ts +17 -0
- package/dist/components/business/Support/SupportMessageAttachment.component.d.ts +9 -0
- package/dist/components/business/Support/SupportMessageInput.component.d.ts +7 -0
- package/dist/components/business/Support/SupportMessageLink.component.d.ts +8 -0
- package/dist/components/business/Support/SupportMessageLink.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportMessageThread.component.d.ts +8 -0
- package/dist/components/business/Support/SupportMessageThread.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportPill.d.ts +18 -0
- package/dist/components/business/Support/SupportPriorityChip.component.d.ts +3 -0
- package/dist/components/business/Support/SupportSidebar.component.d.ts +7 -0
- package/dist/components/business/Support/SupportSidebar.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportStatusBadge.component.d.ts +3 -0
- package/dist/components/business/Support/SupportStatusTimeline.component.d.ts +15 -0
- package/dist/components/business/Support/SupportSystemMessage.component.d.ts +11 -0
- package/dist/components/business/Support/SupportSystemMessage.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTagEditor.d.ts +15 -0
- package/dist/components/business/Support/SupportTicketCreateForm.component.d.ts +2 -0
- package/dist/components/business/Support/SupportTicketCreateForm.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketCreateStepper.component.d.ts +2 -0
- package/dist/components/business/Support/SupportTicketCreateStepper.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketDetail.component.d.ts +8 -0
- package/dist/components/business/Support/SupportTicketDetail.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketDetail.mobile-layout.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketList.component.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketList.week-preset.spec.d.ts +1 -0
- package/dist/components/business/Support/SupportTicketListFilterBar.d.ts +15 -0
- package/dist/components/business/Support/SupportTopBar.component.d.ts +7 -0
- package/dist/components/business/Support/support-action.d.ts +17 -0
- package/dist/components/business/Support/support-action.logic.d.ts +12 -0
- package/dist/components/business/Support/support-action.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-attachment.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-author.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-create-stepper.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-create.logic.d.ts +28 -0
- package/dist/components/business/Support/support-create.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-message-anchor.d.ts +4 -0
- package/dist/components/business/Support/support-message-input.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-service.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-status-timeline.logic.spec.d.ts +1 -0
- package/dist/components/business/Support/support-tone.d.ts +11 -0
- package/dist/components/business/Support/test-support/support-detail.fixtures.d.ts +7 -0
- package/dist/components/business/Support/test-support/support-thread.fixtures.d.ts +9 -0
- package/dist/{legacy/components → components/business}/Support/types.d.ts +13 -4
- package/dist/components/business/Support/use-support-create-error-message.hook.d.ts +4 -0
- package/dist/components/business/index.d.ts +23 -0
- package/dist/components/inputs/ExpressionSearch/ExpressionSearch.d.ts +6 -1
- package/dist/components/inputs/FormField/FormField.d.ts +5 -1
- package/dist/components/inputs/PasswordField/PasswordField.d.ts +40 -0
- package/dist/components/inputs/PasswordField/PasswordField.spec.d.ts +1 -0
- package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +9 -1
- package/dist/components/inputs/index.d.ts +1 -0
- package/dist/components/layers/Toast/Toast.d.ts +3 -18
- package/dist/components/layers/Toast/toast-clearance.d.ts +6 -0
- package/dist/components/layers/Toast/toast-store.d.ts +76 -0
- package/dist/components/states/ErrorBoundary/ErrorBoundary.d.ts +17 -0
- package/dist/components/states/ErrorBoundary/ErrorBoundary.spec.d.ts +1 -0
- package/dist/components/states/PageState/PageState.d.ts +3 -1
- package/dist/components/states/index.d.ts +1 -0
- package/dist/cookie-consent.d.ts +1 -1
- package/dist/cookie-consent.js +14 -15
- package/dist/demo/DemoBanner/DemoBanner.d.ts +16 -0
- package/dist/demo/DemoBanner/DemoBanner.spec.d.ts +1 -0
- package/dist/demo/DemoBanner/index.d.ts +1 -0
- package/dist/demo/demo-blocked.interceptor.d.ts +7 -0
- package/dist/demo/demo.en.d.ts +17 -0
- package/dist/demo/demo.fr.d.ts +17 -0
- package/dist/demo/index.d.ts +3 -0
- package/dist/demo/tests/demo-blocked.interceptor.spec.d.ts +1 -0
- package/dist/demo/use-demo-account.hook.d.ts +19 -0
- package/dist/design-theme-N9jJSXdK.js +27605 -0
- package/dist/{editors-CUsZNFfw.js → editors-QM76tqZI.js} +84 -84
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +210 -0
- package/dist/{index-CiDg4J7c.js → index-3-SmpH5N.js} +4 -4
- package/dist/{index-DErJ9c2q.js → index-4b2f7sdW.js} +2 -2
- package/dist/{index-DEBTvCWD.js → index-5OVR3WNo.js} +3 -3
- package/dist/{index-Lyt4_W7a.js → index-BKAfoA1a.js} +2 -2
- package/dist/{AbyssCloud-D_AbU9k7.js → index-C27b790L.js} +1438 -1083
- package/dist/{index-CYUixRIB.js → index-C6jhogFt.js} +2 -2
- package/dist/{index-D1ro2oTw.js → index-CM5COMvb.js} +2 -2
- package/dist/{index-BQ4GXlMJ.js → index-COUUAr5G.js} +1 -1
- package/dist/{index-C7a2XXcz.js → index-CQU0eEXk.js} +4 -4
- package/dist/{index-YzYX-H93.js → index-Ce0rv5wr.js} +3 -3
- package/dist/{index-CM0x-TnE.js → index-D1M_muSg.js} +2 -2
- package/dist/{index-CDpC4_po.js → index-D8ncJrf1.js} +2 -2
- package/dist/{index-DuMzZrqc.js → index-DA-HUFp6.js} +2 -2
- package/dist/{index-BzoBMWdL.js → index-DCk0q3d7.js} +3 -3
- package/dist/{index-Bn4gTAno.js → index-DW3SBSsW.js} +2 -2
- package/dist/{index-BhFOCfCj.js → index-DYXAfA_s.js} +2 -2
- package/dist/{index-pnfk6VZ7.js → index-DmAoL9-1.js} +4 -4
- package/dist/{index-CjV5ui_B.js → index-Taee9VIc.js} +2 -2
- package/dist/{index-GTkZik4b.js → index-jZGexiyT.js} +3 -3
- package/dist/{index-Ba41aBBN.js → index-mmrA4ErC.js} +2 -2
- package/dist/{index-TB7ekLl-.js → index-nKbvjf2P.js} +2 -2
- package/dist/{index-DobX4g2g.js → index-pX3CTxFd.js} +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +14545 -9182
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +1 -4
- package/dist/legacy/components/index.d.ts +1 -2
- package/dist/legacy/legacy-support-removed.spec.d.ts +1 -0
- package/dist/legacy.js +13350 -17922
- package/dist/theme/index.d.ts +1 -1
- package/dist/translations/en.d.ts +104 -0
- package/dist/translations/fr.d.ts +104 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/project-link-mode.d.ts +4 -0
- package/dist/utils/project-link-wording.utils.d.ts +1 -1
- package/dist/utils/service-config.d.ts +8 -0
- package/dist/utils/service-config.spec.d.ts +1 -0
- package/package.json +3 -3
- package/vite.config.ts +1 -1
- package/dist/AbyssCookieConsentProvider-Ds99df0E.js +0 -4562
- package/dist/CookieConsentSettings.component-DoWLHqw5.js +0 -78
- package/dist/Tabs-C1qcQ2i5.js +0 -2335
- package/dist/clsx-D8ItxkrZ.js +0 -446
- package/dist/design-theme-CYGZ6mAh.js +0 -23975
- package/dist/legacy/components/CookieConsent/CookieConsentSettings.component.d.ts +0 -2
- package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +0 -37
- package/dist/legacy/components/Support/SupportActionButtons.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportActivityLog.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportAttachmentsPanel.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportCategoryChip.component.d.ts +0 -9
- package/dist/legacy/components/Support/SupportCategoryGroupCards.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportCategorySelect.component.d.ts +0 -22
- package/dist/legacy/components/Support/SupportMessageInput.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportMessageThread.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportPriorityChip.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportSidebar.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportStatusBadge.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportStatusTimeline.component.d.ts +0 -10
- package/dist/legacy/components/Support/SupportTicketCreateForm.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportTicketCreateStepper.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportTicketDetail.component.d.ts +0 -3
- package/dist/legacy/components/Support/SupportTopBar.component.d.ts +0 -3
- package/dist/legacy/components/Support/index.d.ts +0 -18
- /package/dist/{legacy/components/CookieConsent/AbyssCookieConsentProvider.spec.d.ts → auth/components/AuthFlow/steps/MfaStep.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/SupportCategoryPick.component.spec.d.ts → auth/components/SecuritySettings/sections/SessionsSection.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/SupportMessageLink.component.spec.d.ts → auth/components/shared/use-async-resource.hook.spec.d.ts} +0 -0
- /package/dist/{legacy/components → components/business}/CookieConsent/AbyssCookieConsentProvider.d.ts +0 -0
- /package/dist/{legacy/components/Support/SupportSystemMessage.component.spec.d.ts → components/business/CookieConsent/AbyssCookieConsentProvider.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/SupportTicketDetail.mobile-layout.spec.d.ts → components/business/CookieConsent/CookieConsent.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/SupportTicketList.week-preset.spec.d.ts → components/business/Support/AbyssServiceSelect.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-attachment.logic.spec.d.ts → components/business/Support/SupportActivityLog.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-author.logic.spec.d.ts → components/business/Support/SupportAttachmentsPanel.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-create-stepper.logic.spec.d.ts → components/business/Support/SupportBadges.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-message-input.logic.spec.d.ts → components/business/Support/SupportCategoryGroupCards.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-service.logic.spec.d.ts → components/business/Support/SupportCategorySelect.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Support/support-status-timeline.logic.spec.d.ts → components/business/Support/SupportMessageInput.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components → components/business}/Support/SupportTicketList.component.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-attachment.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-author.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-category.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-create-stepper.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-message-input.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-service.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-status-timeline.logic.d.ts +0 -0
- /package/dist/{legacy/components → components/business}/Support/support-system-message.logic.d.ts +0 -0
|
@@ -1,117 +1,446 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
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
|
|
5
|
+
return a.projectName ?? t.formatMessage({ id: "space-display-name.project" });
|
|
76
6
|
case "org-common":
|
|
77
|
-
return
|
|
7
|
+
return a.organizationName ?? t.formatMessage({ id: "space-display-name.org-common" });
|
|
78
8
|
case "perso-in-org":
|
|
79
|
-
return
|
|
9
|
+
return a.userAlias ?? t.formatMessage({ id: "space-display-name.perso-in-org" });
|
|
80
10
|
case "personal":
|
|
81
11
|
default:
|
|
82
|
-
return
|
|
12
|
+
return a.userAlias ?? t.formatMessage({ id: "space-display-name.personal" });
|
|
83
13
|
}
|
|
84
|
-
},
|
|
85
|
-
const
|
|
86
|
-
if (!
|
|
87
|
-
return
|
|
88
|
-
if (
|
|
89
|
-
return `${
|
|
90
|
-
switch (
|
|
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 `${
|
|
22
|
+
return `${i}/org/${t.organizationId}/projects/${t.projectId}`;
|
|
93
23
|
case "org-common":
|
|
94
|
-
return `${
|
|
24
|
+
return `${i}/org/${t.organizationId}/common`;
|
|
95
25
|
case "perso-in-org":
|
|
96
|
-
return `${
|
|
26
|
+
return `${i}/org/${t.organizationId}/my`;
|
|
97
27
|
case "personal":
|
|
98
28
|
default:
|
|
99
|
-
return `${
|
|
29
|
+
return `${i}/my`;
|
|
100
30
|
}
|
|
101
|
-
},
|
|
102
|
-
if (
|
|
31
|
+
}, Fa = (e) => e.split(";")[0].trim().toLowerCase(), $a = (e, t) => {
|
|
32
|
+
if (t === "*/*")
|
|
103
33
|
return !0;
|
|
104
|
-
if (
|
|
105
|
-
return
|
|
106
|
-
if (!
|
|
34
|
+
if (t.startsWith("."))
|
|
35
|
+
return e.name.toLowerCase().endsWith(t);
|
|
36
|
+
if (!e.mimeType)
|
|
107
37
|
return !1;
|
|
108
|
-
const
|
|
109
|
-
return
|
|
110
|
-
},
|
|
111
|
-
const
|
|
112
|
-
return
|
|
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
|
|
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
|
|
124
|
-
function
|
|
125
|
-
if (
|
|
126
|
-
|
|
127
|
-
var
|
|
128
|
-
function
|
|
129
|
-
if (typeof
|
|
130
|
-
var J =
|
|
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
|
|
133
|
-
switch (
|
|
134
|
-
case
|
|
135
|
-
case
|
|
136
|
-
case
|
|
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
|
|
140
|
-
|
|
467
|
+
case n:
|
|
468
|
+
case j:
|
|
469
|
+
return d;
|
|
141
470
|
default:
|
|
142
|
-
switch (
|
|
143
|
-
case
|
|
144
|
-
case
|
|
471
|
+
switch (d = d && d.$$typeof, d) {
|
|
472
|
+
case p:
|
|
473
|
+
case y:
|
|
145
474
|
case L:
|
|
146
|
-
case
|
|
147
|
-
case
|
|
148
|
-
return
|
|
475
|
+
case C:
|
|
476
|
+
case l:
|
|
477
|
+
return d;
|
|
149
478
|
default:
|
|
150
479
|
return J;
|
|
151
480
|
}
|
|
152
481
|
}
|
|
153
|
-
case
|
|
482
|
+
case a:
|
|
154
483
|
return J;
|
|
155
484
|
}
|
|
156
485
|
}
|
|
157
486
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
487
|
+
function $(d) {
|
|
488
|
+
return F(d) === x;
|
|
160
489
|
}
|
|
161
|
-
return O.AsyncMode =
|
|
162
|
-
return
|
|
163
|
-
}, O.isConcurrentMode =
|
|
164
|
-
return
|
|
165
|
-
}, O.isContextProvider = function(
|
|
166
|
-
return
|
|
167
|
-
}, O.isElement = function(
|
|
168
|
-
return typeof
|
|
169
|
-
}, O.isForwardRef = function(
|
|
170
|
-
return
|
|
171
|
-
}, O.isFragment = function(
|
|
172
|
-
return
|
|
173
|
-
}, O.isLazy = function(
|
|
174
|
-
return
|
|
175
|
-
}, O.isMemo = function(
|
|
176
|
-
return
|
|
177
|
-
}, O.isPortal = function(
|
|
178
|
-
return
|
|
179
|
-
}, O.isProfiler = function(
|
|
180
|
-
return
|
|
181
|
-
}, O.isStrictMode = function(
|
|
182
|
-
return
|
|
183
|
-
}, O.isSuspense = function(
|
|
184
|
-
return
|
|
185
|
-
}, O.isValidElementType = function(
|
|
186
|
-
return typeof
|
|
187
|
-
}, O.typeOf =
|
|
188
|
-
}
|
|
189
|
-
var
|
|
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
|
|
199
|
-
function
|
|
200
|
-
return
|
|
201
|
-
var
|
|
202
|
-
function
|
|
203
|
-
return typeof
|
|
204
|
-
|
|
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
|
|
207
|
-
if (typeof
|
|
208
|
-
var
|
|
209
|
-
switch (
|
|
210
|
-
case
|
|
211
|
-
var
|
|
212
|
-
switch (
|
|
213
|
-
case
|
|
214
|
-
case
|
|
215
|
-
case
|
|
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
|
|
219
|
-
|
|
546
|
+
case n:
|
|
547
|
+
case j:
|
|
548
|
+
return le;
|
|
220
549
|
default:
|
|
221
|
-
var
|
|
222
|
-
switch (
|
|
223
|
-
case
|
|
224
|
-
case
|
|
550
|
+
var he = le && le.$$typeof;
|
|
551
|
+
switch (he) {
|
|
552
|
+
case p:
|
|
553
|
+
case y:
|
|
225
554
|
case L:
|
|
226
|
-
case
|
|
227
|
-
case
|
|
228
|
-
return
|
|
555
|
+
case C:
|
|
556
|
+
case l:
|
|
557
|
+
return he;
|
|
229
558
|
default:
|
|
230
|
-
return
|
|
559
|
+
return G;
|
|
231
560
|
}
|
|
232
561
|
}
|
|
233
|
-
case
|
|
234
|
-
return
|
|
562
|
+
case a:
|
|
563
|
+
return G;
|
|
235
564
|
}
|
|
236
565
|
}
|
|
237
566
|
}
|
|
238
|
-
var
|
|
239
|
-
function
|
|
240
|
-
return
|
|
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(
|
|
243
|
-
return
|
|
571
|
+
function r(c) {
|
|
572
|
+
return $(c) === x;
|
|
244
573
|
}
|
|
245
|
-
function
|
|
246
|
-
return
|
|
574
|
+
function u(c) {
|
|
575
|
+
return $(c) === p;
|
|
247
576
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
577
|
+
function h(c) {
|
|
578
|
+
return $(c) === l;
|
|
250
579
|
}
|
|
251
|
-
function
|
|
252
|
-
return typeof
|
|
580
|
+
function b(c) {
|
|
581
|
+
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
253
582
|
}
|
|
254
|
-
function
|
|
255
|
-
return
|
|
583
|
+
function m(c) {
|
|
584
|
+
return $(c) === y;
|
|
256
585
|
}
|
|
257
|
-
function
|
|
258
|
-
return
|
|
586
|
+
function k(c) {
|
|
587
|
+
return $(c) === i;
|
|
259
588
|
}
|
|
260
|
-
function
|
|
261
|
-
return
|
|
589
|
+
function g(c) {
|
|
590
|
+
return $(c) === L;
|
|
262
591
|
}
|
|
263
|
-
function
|
|
264
|
-
return
|
|
592
|
+
function w(c) {
|
|
593
|
+
return $(c) === C;
|
|
265
594
|
}
|
|
266
|
-
function
|
|
267
|
-
return
|
|
595
|
+
function E(c) {
|
|
596
|
+
return $(c) === a;
|
|
268
597
|
}
|
|
269
|
-
function
|
|
270
|
-
return
|
|
598
|
+
function T(c) {
|
|
599
|
+
return $(c) === o;
|
|
271
600
|
}
|
|
272
|
-
function
|
|
273
|
-
return
|
|
601
|
+
function _(c) {
|
|
602
|
+
return $(c) === n;
|
|
274
603
|
}
|
|
275
|
-
function
|
|
276
|
-
return
|
|
604
|
+
function U(c) {
|
|
605
|
+
return $(c) === j;
|
|
277
606
|
}
|
|
278
|
-
|
|
279
|
-
}()),
|
|
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
|
|
282
|
-
function
|
|
283
|
-
return
|
|
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
|
|
291
|
-
function
|
|
292
|
-
if (
|
|
293
|
-
|
|
294
|
-
var
|
|
295
|
-
function
|
|
296
|
-
if (
|
|
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(
|
|
628
|
+
return Object(o);
|
|
299
629
|
}
|
|
300
|
-
function
|
|
630
|
+
function n() {
|
|
301
631
|
try {
|
|
302
632
|
if (!Object.assign)
|
|
303
633
|
return !1;
|
|
304
|
-
var
|
|
305
|
-
if (
|
|
634
|
+
var o = new String("abc");
|
|
635
|
+
if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
|
|
306
636
|
return !1;
|
|
307
|
-
for (var
|
|
308
|
-
|
|
309
|
-
var
|
|
310
|
-
return
|
|
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 (
|
|
642
|
+
if (v.join("") !== "0123456789")
|
|
313
643
|
return !1;
|
|
314
|
-
var
|
|
315
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
316
|
-
|
|
317
|
-
}), Object.keys(Object.assign({},
|
|
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
|
|
323
|
-
for (var
|
|
324
|
-
|
|
325
|
-
for (var
|
|
326
|
-
|
|
327
|
-
if (
|
|
328
|
-
|
|
329
|
-
for (var
|
|
330
|
-
|
|
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
|
|
334
|
-
},
|
|
335
|
-
}
|
|
336
|
-
var
|
|
337
|
-
function
|
|
338
|
-
if (
|
|
339
|
-
|
|
340
|
-
var
|
|
341
|
-
return
|
|
342
|
-
}
|
|
343
|
-
var
|
|
344
|
-
function
|
|
345
|
-
return
|
|
346
|
-
}
|
|
347
|
-
var
|
|
348
|
-
function
|
|
349
|
-
if (
|
|
350
|
-
|
|
351
|
-
var
|
|
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
|
|
355
|
-
|
|
356
|
-
var
|
|
357
|
-
typeof console < "u" && console.error(
|
|
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(
|
|
689
|
+
throw new Error(l);
|
|
360
690
|
} catch {
|
|
361
691
|
}
|
|
362
692
|
};
|
|
363
693
|
}
|
|
364
|
-
function o
|
|
694
|
+
function n(o, l, p, v, x) {
|
|
365
695
|
if (process.env.NODE_ENV !== "production") {
|
|
366
|
-
for (var
|
|
367
|
-
if (
|
|
368
|
-
var
|
|
696
|
+
for (var y in o)
|
|
697
|
+
if (i(o, y)) {
|
|
698
|
+
var j;
|
|
369
699
|
try {
|
|
370
|
-
if (typeof
|
|
371
|
-
var
|
|
372
|
-
(
|
|
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
|
|
704
|
+
throw D.name = "Invariant Violation", D;
|
|
375
705
|
}
|
|
376
|
-
|
|
706
|
+
j = o[y](l, y, v, p, null, t);
|
|
377
707
|
} catch (L) {
|
|
378
|
-
|
|
708
|
+
j = L;
|
|
379
709
|
}
|
|
380
|
-
if (
|
|
381
|
-
(
|
|
382
|
-
),
|
|
383
|
-
|
|
384
|
-
var
|
|
385
|
-
|
|
386
|
-
"Failed " +
|
|
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
|
|
393
|
-
process.env.NODE_ENV !== "production" && (
|
|
394
|
-
},
|
|
395
|
-
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
if (
|
|
399
|
-
|
|
400
|
-
var
|
|
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" && (
|
|
403
|
-
var
|
|
404
|
-
typeof console < "u" && console.error(
|
|
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(
|
|
736
|
+
throw new Error(v);
|
|
407
737
|
} catch {
|
|
408
738
|
}
|
|
409
739
|
});
|
|
410
|
-
function
|
|
740
|
+
function l() {
|
|
411
741
|
return null;
|
|
412
742
|
}
|
|
413
|
-
return
|
|
414
|
-
var
|
|
415
|
-
function
|
|
416
|
-
var
|
|
417
|
-
if (typeof
|
|
418
|
-
return
|
|
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
|
|
421
|
-
array:
|
|
422
|
-
bigint:
|
|
423
|
-
bool:
|
|
424
|
-
func:
|
|
425
|
-
number:
|
|
426
|
-
object:
|
|
427
|
-
string:
|
|
428
|
-
symbol:
|
|
429
|
-
any:
|
|
430
|
-
arrayOf:
|
|
431
|
-
element:
|
|
432
|
-
elementType:
|
|
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:
|
|
435
|
-
objectOf:
|
|
764
|
+
node: te(),
|
|
765
|
+
objectOf: re,
|
|
436
766
|
oneOf: Z,
|
|
437
|
-
oneOfType:
|
|
438
|
-
shape:
|
|
439
|
-
exact:
|
|
767
|
+
oneOfType: ee,
|
|
768
|
+
shape: ce,
|
|
769
|
+
exact: ne
|
|
440
770
|
};
|
|
441
|
-
function L(r,
|
|
442
|
-
return r ===
|
|
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,
|
|
445
|
-
this.message = r, this.data =
|
|
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
|
|
778
|
+
function q(r) {
|
|
449
779
|
if (process.env.NODE_ENV !== "production")
|
|
450
|
-
var
|
|
451
|
-
function
|
|
452
|
-
if (
|
|
453
|
-
if (
|
|
454
|
-
var
|
|
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
|
|
787
|
+
throw c.name = "Invariant Violation", c;
|
|
458
788
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
459
|
-
var
|
|
460
|
-
!
|
|
461
|
-
|
|
462
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
463
|
-
),
|
|
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
|
|
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
|
|
469
|
-
return
|
|
798
|
+
var m = b.bind(null, !1);
|
|
799
|
+
return m.isRequired = b.bind(null, !0), m;
|
|
470
800
|
}
|
|
471
|
-
function
|
|
472
|
-
function
|
|
473
|
-
var
|
|
474
|
-
if (
|
|
475
|
-
var
|
|
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 " +
|
|
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
|
|
813
|
+
return q(u);
|
|
484
814
|
}
|
|
485
|
-
function
|
|
486
|
-
return
|
|
815
|
+
function ie() {
|
|
816
|
+
return q(l);
|
|
487
817
|
}
|
|
488
|
-
function
|
|
489
|
-
function
|
|
818
|
+
function F(r) {
|
|
819
|
+
function u(h, b, m, k, g) {
|
|
490
820
|
if (typeof r != "function")
|
|
491
|
-
return new S("Property `" +
|
|
492
|
-
var
|
|
493
|
-
if (!Array.isArray(
|
|
494
|
-
var
|
|
495
|
-
return new S("Invalid " +
|
|
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
|
|
498
|
-
var
|
|
499
|
-
if (
|
|
500
|
-
return
|
|
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
|
|
834
|
+
return q(u);
|
|
505
835
|
}
|
|
506
|
-
function
|
|
507
|
-
function r(
|
|
508
|
-
var
|
|
509
|
-
if (!
|
|
510
|
-
var
|
|
511
|
-
return new S("Invalid " +
|
|
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
|
|
845
|
+
return q(r);
|
|
516
846
|
}
|
|
517
|
-
function
|
|
518
|
-
function r(
|
|
519
|
-
var
|
|
520
|
-
if (!
|
|
521
|
-
var
|
|
522
|
-
return new S("Invalid " +
|
|
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
|
|
856
|
+
return q(r);
|
|
527
857
|
}
|
|
528
858
|
function J(r) {
|
|
529
|
-
function
|
|
530
|
-
if (!(
|
|
531
|
-
var
|
|
532
|
-
return new S("Invalid " +
|
|
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
|
|
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 ?
|
|
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
|
-
) :
|
|
543
|
-
function
|
|
544
|
-
for (var
|
|
545
|
-
if (L(
|
|
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
|
|
548
|
-
var
|
|
549
|
-
return
|
|
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 " +
|
|
881
|
+
return new S("Invalid " + k + " `" + g + "` of value `" + String(w) + "` " + ("supplied to `" + m + "`, expected one of " + T + "."));
|
|
552
882
|
}
|
|
553
|
-
return
|
|
883
|
+
return q(u);
|
|
554
884
|
}
|
|
555
|
-
function
|
|
556
|
-
function
|
|
885
|
+
function re(r) {
|
|
886
|
+
function u(h, b, m, k, g) {
|
|
557
887
|
if (typeof r != "function")
|
|
558
|
-
return new S("Property `" +
|
|
559
|
-
var
|
|
560
|
-
if (
|
|
561
|
-
return new S("Invalid " +
|
|
562
|
-
for (var
|
|
563
|
-
if (
|
|
564
|
-
var
|
|
565
|
-
if (
|
|
566
|
-
return
|
|
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
|
|
900
|
+
return q(u);
|
|
571
901
|
}
|
|
572
|
-
function
|
|
902
|
+
function ee(r) {
|
|
573
903
|
if (!Array.isArray(r))
|
|
574
|
-
return process.env.NODE_ENV !== "production" &&
|
|
575
|
-
for (var
|
|
576
|
-
var
|
|
577
|
-
if (typeof
|
|
578
|
-
return
|
|
579
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
580
|
-
),
|
|
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
|
|
583
|
-
for (var
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
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
|
-
|
|
917
|
+
c.data && i(c.data, "expectedType") && T.push(c.data.expectedType);
|
|
588
918
|
}
|
|
589
|
-
var
|
|
590
|
-
return new S("Invalid " +
|
|
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
|
|
922
|
+
return q(b);
|
|
593
923
|
}
|
|
594
|
-
function
|
|
595
|
-
function r(
|
|
596
|
-
return
|
|
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
|
|
928
|
+
return q(r);
|
|
599
929
|
}
|
|
600
|
-
function
|
|
930
|
+
function pe(r, u, h, b, m) {
|
|
601
931
|
return new S(
|
|
602
|
-
(r || "React class") + ": " +
|
|
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
|
|
606
|
-
function
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
609
|
-
return new S("Invalid " +
|
|
610
|
-
for (var
|
|
611
|
-
var
|
|
612
|
-
if (typeof
|
|
613
|
-
return
|
|
614
|
-
var
|
|
615
|
-
if (
|
|
616
|
-
return
|
|
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
|
|
950
|
+
return q(u);
|
|
621
951
|
}
|
|
622
|
-
function
|
|
623
|
-
function
|
|
624
|
-
var
|
|
625
|
-
if (
|
|
626
|
-
return new S("Invalid " +
|
|
627
|
-
var
|
|
628
|
-
for (var
|
|
629
|
-
var
|
|
630
|
-
if (
|
|
631
|
-
return
|
|
632
|
-
if (!
|
|
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 " +
|
|
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
|
|
638
|
-
if (
|
|
639
|
-
return
|
|
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
|
|
973
|
+
return q(u);
|
|
644
974
|
}
|
|
645
|
-
function
|
|
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(
|
|
656
|
-
if (r === null ||
|
|
985
|
+
return r.every(I);
|
|
986
|
+
if (r === null || p(r))
|
|
657
987
|
return !0;
|
|
658
|
-
var
|
|
659
|
-
if (
|
|
660
|
-
var
|
|
661
|
-
if (
|
|
662
|
-
for (; !(
|
|
663
|
-
if (!
|
|
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 (; !(
|
|
667
|
-
var
|
|
668
|
-
if (
|
|
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
|
|
679
|
-
return r === "symbol" ? !0 :
|
|
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
|
|
683
|
-
return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" :
|
|
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
|
|
689
|
-
if (
|
|
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
|
|
1025
|
+
return u;
|
|
696
1026
|
}
|
|
697
|
-
function
|
|
698
|
-
var
|
|
699
|
-
switch (
|
|
1027
|
+
function oe(r) {
|
|
1028
|
+
var u = X(r);
|
|
1029
|
+
switch (u) {
|
|
700
1030
|
case "array":
|
|
701
1031
|
case "object":
|
|
702
|
-
return "an " +
|
|
1032
|
+
return "an " + u;
|
|
703
1033
|
case "boolean":
|
|
704
1034
|
case "date":
|
|
705
1035
|
case "regexp":
|
|
706
|
-
return "a " +
|
|
1036
|
+
return "a " + u;
|
|
707
1037
|
default:
|
|
708
|
-
return
|
|
1038
|
+
return u;
|
|
709
1039
|
}
|
|
710
1040
|
}
|
|
711
|
-
function
|
|
712
|
-
return !r.constructor || !r.constructor.name ?
|
|
1041
|
+
function Y(r) {
|
|
1042
|
+
return !r.constructor || !r.constructor.name ? D : r.constructor.name;
|
|
713
1043
|
}
|
|
714
|
-
return
|
|
715
|
-
},
|
|
716
|
-
}
|
|
717
|
-
var
|
|
718
|
-
function
|
|
719
|
-
if (
|
|
720
|
-
|
|
721
|
-
var
|
|
722
|
-
function
|
|
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
|
|
1054
|
+
function a() {
|
|
725
1055
|
}
|
|
726
|
-
return
|
|
727
|
-
function
|
|
728
|
-
if (
|
|
729
|
-
var
|
|
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
|
|
1062
|
+
throw D.name = "Invariant Violation", D;
|
|
733
1063
|
}
|
|
734
1064
|
}
|
|
735
|
-
|
|
736
|
-
function
|
|
737
|
-
return
|
|
1065
|
+
i.isRequired = i;
|
|
1066
|
+
function n() {
|
|
1067
|
+
return i;
|
|
738
1068
|
}
|
|
739
|
-
var
|
|
740
|
-
array:
|
|
741
|
-
bigint:
|
|
742
|
-
bool:
|
|
743
|
-
func:
|
|
744
|
-
number:
|
|
745
|
-
object:
|
|
746
|
-
string:
|
|
747
|
-
symbol:
|
|
748
|
-
any:
|
|
749
|
-
arrayOf:
|
|
750
|
-
element:
|
|
751
|
-
elementType:
|
|
752
|
-
instanceOf:
|
|
753
|
-
node:
|
|
754
|
-
objectOf:
|
|
755
|
-
oneOf:
|
|
756
|
-
oneOfType:
|
|
757
|
-
shape:
|
|
758
|
-
exact:
|
|
759
|
-
checkPropTypes:
|
|
760
|
-
resetWarningCache:
|
|
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
|
|
763
|
-
},
|
|
764
|
-
}
|
|
765
|
-
var
|
|
766
|
-
function
|
|
767
|
-
if (
|
|
768
|
-
if (
|
|
769
|
-
var
|
|
770
|
-
|
|
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
|
-
|
|
773
|
-
return
|
|
774
|
-
}
|
|
775
|
-
var
|
|
776
|
-
const
|
|
777
|
-
function
|
|
778
|
-
function o
|
|
779
|
-
return
|
|
780
|
-
|
|
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 (
|
|
784
|
-
function
|
|
1113
|
+
return new (a || (a = Promise))(function(o, l) {
|
|
1114
|
+
function p(y) {
|
|
785
1115
|
try {
|
|
786
|
-
|
|
787
|
-
} catch (
|
|
788
|
-
|
|
1116
|
+
x(i.next(y));
|
|
1117
|
+
} catch (j) {
|
|
1118
|
+
l(j);
|
|
789
1119
|
}
|
|
790
1120
|
}
|
|
791
|
-
function
|
|
1121
|
+
function v(y) {
|
|
792
1122
|
try {
|
|
793
|
-
|
|
794
|
-
} catch (
|
|
795
|
-
|
|
1123
|
+
x(i.throw(y));
|
|
1124
|
+
} catch (j) {
|
|
1125
|
+
l(j);
|
|
796
1126
|
}
|
|
797
1127
|
}
|
|
798
|
-
function
|
|
799
|
-
|
|
1128
|
+
function x(y) {
|
|
1129
|
+
y.done ? o(y.value) : n(y.value).then(p, v);
|
|
800
1130
|
}
|
|
801
|
-
|
|
1131
|
+
x((i = i.apply(e, t || [])).next());
|
|
802
1132
|
});
|
|
803
1133
|
}
|
|
804
|
-
const
|
|
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
|
|
2008
|
-
const
|
|
2009
|
-
return typeof
|
|
2010
|
-
}
|
|
2011
|
-
function
|
|
2012
|
-
const { name:
|
|
2013
|
-
if (
|
|
2014
|
-
const
|
|
2015
|
-
|
|
2016
|
-
value:
|
|
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
|
|
2352
|
+
return e;
|
|
2023
2353
|
}
|
|
2024
|
-
function
|
|
2025
|
-
Object.defineProperty(
|
|
2026
|
-
value:
|
|
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
|
|
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
|
|
2040
|
-
return
|
|
2041
|
-
return
|
|
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
|
|
2045
|
-
return
|
|
2374
|
+
function lo(e) {
|
|
2375
|
+
return $e(e);
|
|
2046
2376
|
}
|
|
2047
|
-
function
|
|
2048
|
-
return
|
|
2377
|
+
function so(e) {
|
|
2378
|
+
return $e(e) && $e(e.target);
|
|
2049
2379
|
}
|
|
2050
|
-
function
|
|
2051
|
-
return typeof
|
|
2380
|
+
function $e(e) {
|
|
2381
|
+
return typeof e == "object" && e !== null;
|
|
2052
2382
|
}
|
|
2053
|
-
function
|
|
2054
|
-
return
|
|
2383
|
+
function uo(e) {
|
|
2384
|
+
return ct(e.target.files).map((t) => xe(t));
|
|
2055
2385
|
}
|
|
2056
|
-
function
|
|
2057
|
-
return
|
|
2058
|
-
return (yield Promise.all(
|
|
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
|
|
2062
|
-
return
|
|
2063
|
-
if (
|
|
2064
|
-
const
|
|
2065
|
-
if (
|
|
2066
|
-
return
|
|
2067
|
-
const
|
|
2068
|
-
return
|
|
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
|
|
2400
|
+
return Ut(ct(e.files).map((a) => xe(a)));
|
|
2071
2401
|
});
|
|
2072
2402
|
}
|
|
2073
|
-
function
|
|
2074
|
-
return
|
|
2403
|
+
function Ut(e) {
|
|
2404
|
+
return e.filter((t) => po.indexOf(t.name) === -1);
|
|
2075
2405
|
}
|
|
2076
|
-
function
|
|
2077
|
-
if (
|
|
2406
|
+
function ct(e) {
|
|
2407
|
+
if (e === null)
|
|
2078
2408
|
return [];
|
|
2079
|
-
const
|
|
2080
|
-
for (let
|
|
2081
|
-
const
|
|
2082
|
-
|
|
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
|
|
2414
|
+
return t;
|
|
2085
2415
|
}
|
|
2086
|
-
function
|
|
2087
|
-
if (typeof
|
|
2088
|
-
return
|
|
2089
|
-
const
|
|
2090
|
-
return
|
|
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
|
|
2093
|
-
return
|
|
2094
|
-
...
|
|
2095
|
-
...Array.isArray(
|
|
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
|
|
2099
|
-
return
|
|
2100
|
-
var
|
|
2101
|
-
if (globalThis.isSecureContext && typeof
|
|
2102
|
-
const
|
|
2103
|
-
if (
|
|
2104
|
-
throw new Error(`${
|
|
2105
|
-
if (
|
|
2106
|
-
const
|
|
2107
|
-
return
|
|
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
|
|
2111
|
-
if (!
|
|
2112
|
-
throw new Error(`${
|
|
2113
|
-
return
|
|
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
|
|
2117
|
-
return
|
|
2118
|
-
return
|
|
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
|
|
2122
|
-
const
|
|
2123
|
-
return new Promise((
|
|
2124
|
-
const
|
|
2125
|
-
function
|
|
2126
|
-
|
|
2127
|
-
if (
|
|
2128
|
-
const
|
|
2129
|
-
|
|
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
|
|
2133
|
-
|
|
2134
|
-
} catch (
|
|
2135
|
-
|
|
2462
|
+
const p = yield Promise.all(n);
|
|
2463
|
+
a(p);
|
|
2464
|
+
} catch (p) {
|
|
2465
|
+
i(p);
|
|
2136
2466
|
}
|
|
2137
|
-
}), (
|
|
2138
|
-
|
|
2467
|
+
}), (l) => {
|
|
2468
|
+
i(l);
|
|
2139
2469
|
});
|
|
2140
2470
|
}
|
|
2141
|
-
|
|
2471
|
+
o();
|
|
2142
2472
|
});
|
|
2143
2473
|
}
|
|
2144
|
-
function
|
|
2145
|
-
return
|
|
2146
|
-
return new Promise((
|
|
2147
|
-
|
|
2148
|
-
const
|
|
2149
|
-
|
|
2150
|
-
}, (
|
|
2151
|
-
i
|
|
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
|
|
2157
|
-
function
|
|
2158
|
-
return
|
|
2159
|
-
if (
|
|
2160
|
-
var
|
|
2161
|
-
if (
|
|
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
|
|
2164
|
-
return
|
|
2165
|
-
var
|
|
2166
|
-
return
|
|
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
|
-
}),
|
|
2500
|
+
}), Re;
|
|
2171
2501
|
}
|
|
2172
|
-
var
|
|
2173
|
-
const
|
|
2174
|
-
function
|
|
2175
|
-
return
|
|
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
|
|
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
|
|
2182
|
-
if (typeof Symbol < "u" &&
|
|
2511
|
+
function wo(e) {
|
|
2512
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2183
2513
|
}
|
|
2184
|
-
function
|
|
2185
|
-
if (Array.isArray(
|
|
2514
|
+
function jo(e) {
|
|
2515
|
+
if (Array.isArray(e)) return lt(e);
|
|
2186
2516
|
}
|
|
2187
|
-
function
|
|
2188
|
-
var
|
|
2517
|
+
function Ht(e, t) {
|
|
2518
|
+
var a = Object.keys(e);
|
|
2189
2519
|
if (Object.getOwnPropertySymbols) {
|
|
2190
|
-
var
|
|
2191
|
-
|
|
2192
|
-
return Object.getOwnPropertyDescriptor(
|
|
2193
|
-
})),
|
|
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
|
|
2525
|
+
return a;
|
|
2196
2526
|
}
|
|
2197
|
-
function
|
|
2198
|
-
for (var
|
|
2199
|
-
var
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
2203
|
-
Object.defineProperty(
|
|
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
|
|
2536
|
+
return e;
|
|
2207
2537
|
}
|
|
2208
|
-
function
|
|
2209
|
-
return
|
|
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
|
|
2212
|
-
return
|
|
2541
|
+
function ke(e, t) {
|
|
2542
|
+
return Eo(e) || ko(e, t) || ha(e, t) || _o();
|
|
2213
2543
|
}
|
|
2214
|
-
function
|
|
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
|
|
2219
|
-
if (
|
|
2220
|
-
if (typeof
|
|
2221
|
-
var
|
|
2222
|
-
if (
|
|
2223
|
-
if (
|
|
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
|
|
2227
|
-
(
|
|
2228
|
-
for (var
|
|
2229
|
-
|
|
2230
|
-
return
|
|
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
|
|
2233
|
-
var
|
|
2234
|
-
if (
|
|
2235
|
-
var
|
|
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 (
|
|
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 (
|
|
2240
|
-
|
|
2569
|
+
} catch (v) {
|
|
2570
|
+
o = !0, p = v;
|
|
2241
2571
|
} finally {
|
|
2242
2572
|
try {
|
|
2243
|
-
!
|
|
2573
|
+
!n && a.return != null && a.return();
|
|
2244
2574
|
} finally {
|
|
2245
|
-
if (
|
|
2575
|
+
if (o) throw p;
|
|
2246
2576
|
}
|
|
2247
2577
|
}
|
|
2248
|
-
return
|
|
2578
|
+
return i;
|
|
2249
2579
|
}
|
|
2250
2580
|
}
|
|
2251
|
-
function
|
|
2252
|
-
if (Array.isArray(
|
|
2581
|
+
function Eo(e) {
|
|
2582
|
+
if (Array.isArray(e)) return e;
|
|
2253
2583
|
}
|
|
2254
|
-
var
|
|
2255
|
-
TooManyFiles:
|
|
2256
|
-
},
|
|
2257
|
-
var
|
|
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:
|
|
2260
|
-
message: "File type must be ".concat(
|
|
2589
|
+
code: Oo,
|
|
2590
|
+
message: "File type must be ".concat(i)
|
|
2261
2591
|
};
|
|
2262
|
-
},
|
|
2592
|
+
}, Kt = function(t) {
|
|
2263
2593
|
return {
|
|
2264
|
-
code:
|
|
2265
|
-
message: "File is larger than ".concat(
|
|
2594
|
+
code: Ao,
|
|
2595
|
+
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2266
2596
|
};
|
|
2267
|
-
},
|
|
2597
|
+
}, Nt = function(t) {
|
|
2268
2598
|
return {
|
|
2269
|
-
code:
|
|
2270
|
-
message: "File is smaller than ".concat(
|
|
2599
|
+
code: So,
|
|
2600
|
+
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2271
2601
|
};
|
|
2272
|
-
},
|
|
2273
|
-
code:
|
|
2602
|
+
}, Do = {
|
|
2603
|
+
code: ba,
|
|
2274
2604
|
message: "Too many files"
|
|
2275
2605
|
};
|
|
2276
|
-
function
|
|
2277
|
-
var
|
|
2278
|
-
return [
|
|
2279
|
-
}
|
|
2280
|
-
function
|
|
2281
|
-
if (
|
|
2282
|
-
if (
|
|
2283
|
-
if (
|
|
2284
|
-
if (
|
|
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 (
|
|
2287
|
-
if (
|
|
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
|
|
2292
|
-
return
|
|
2621
|
+
function se(e) {
|
|
2622
|
+
return e != null;
|
|
2293
2623
|
}
|
|
2294
|
-
function
|
|
2295
|
-
var
|
|
2296
|
-
return !
|
|
2297
|
-
var
|
|
2298
|
-
return
|
|
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
|
|
2302
|
-
return typeof
|
|
2631
|
+
function qe(e) {
|
|
2632
|
+
return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
|
|
2303
2633
|
}
|
|
2304
|
-
function
|
|
2305
|
-
return
|
|
2306
|
-
return
|
|
2307
|
-
}) : !!
|
|
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
|
|
2310
|
-
|
|
2639
|
+
function Vt(e) {
|
|
2640
|
+
e.preventDefault();
|
|
2311
2641
|
}
|
|
2312
|
-
function
|
|
2313
|
-
return
|
|
2642
|
+
function Co(e) {
|
|
2643
|
+
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
2314
2644
|
}
|
|
2315
|
-
function
|
|
2316
|
-
return
|
|
2645
|
+
function Ro(e) {
|
|
2646
|
+
return e.indexOf("Edge/") !== -1;
|
|
2317
2647
|
}
|
|
2318
|
-
function
|
|
2319
|
-
var
|
|
2320
|
-
return
|
|
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
|
|
2324
|
-
|
|
2325
|
-
return function(
|
|
2326
|
-
for (var
|
|
2327
|
-
|
|
2328
|
-
return
|
|
2329
|
-
return !
|
|
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
|
|
2663
|
+
function Fo() {
|
|
2334
2664
|
return "showOpenFilePicker" in window;
|
|
2335
2665
|
}
|
|
2336
|
-
function
|
|
2337
|
-
if (
|
|
2338
|
-
var
|
|
2339
|
-
var
|
|
2340
|
-
return
|
|
2341
|
-
}).reduce(function(
|
|
2342
|
-
var
|
|
2343
|
-
return
|
|
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:
|
|
2678
|
+
accept: t
|
|
2349
2679
|
}];
|
|
2350
2680
|
}
|
|
2351
|
-
return
|
|
2681
|
+
return e;
|
|
2352
2682
|
}
|
|
2353
|
-
function
|
|
2354
|
-
if (
|
|
2355
|
-
return Object.entries(
|
|
2356
|
-
var
|
|
2357
|
-
return [].concat(
|
|
2358
|
-
}, []).filter(function(
|
|
2359
|
-
return
|
|
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
|
|
2363
|
-
return
|
|
2692
|
+
function Mo(e) {
|
|
2693
|
+
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
2364
2694
|
}
|
|
2365
|
-
function
|
|
2366
|
-
return
|
|
2695
|
+
function Lo(e) {
|
|
2696
|
+
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
2367
2697
|
}
|
|
2368
|
-
function
|
|
2369
|
-
return
|
|
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
|
|
2372
|
-
return /^.*\.[\w]+$/.test(
|
|
2701
|
+
function ka(e) {
|
|
2702
|
+
return /^.*\.[\w]+$/.test(e);
|
|
2373
2703
|
}
|
|
2374
|
-
var
|
|
2375
|
-
function
|
|
2376
|
-
return
|
|
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
|
|
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
|
|
2383
|
-
if (typeof Symbol < "u" &&
|
|
2712
|
+
function Ko(e) {
|
|
2713
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2384
2714
|
}
|
|
2385
|
-
function
|
|
2386
|
-
if (Array.isArray(
|
|
2715
|
+
function No(e) {
|
|
2716
|
+
if (Array.isArray(e)) return st(e);
|
|
2387
2717
|
}
|
|
2388
|
-
function
|
|
2389
|
-
return
|
|
2718
|
+
function pt(e, t) {
|
|
2719
|
+
return Jo(e) || Zo(e, t) || Ea(e, t) || Vo();
|
|
2390
2720
|
}
|
|
2391
|
-
function
|
|
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
|
|
2396
|
-
if (
|
|
2397
|
-
if (typeof
|
|
2398
|
-
var
|
|
2399
|
-
if (
|
|
2400
|
-
if (
|
|
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
|
|
2404
|
-
(
|
|
2405
|
-
for (var
|
|
2406
|
-
|
|
2407
|
-
return
|
|
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
|
|
2410
|
-
var
|
|
2411
|
-
if (
|
|
2412
|
-
var
|
|
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 (
|
|
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 (
|
|
2417
|
-
|
|
2746
|
+
} catch (v) {
|
|
2747
|
+
o = !0, p = v;
|
|
2418
2748
|
} finally {
|
|
2419
2749
|
try {
|
|
2420
|
-
!
|
|
2750
|
+
!n && a.return != null && a.return();
|
|
2421
2751
|
} finally {
|
|
2422
|
-
if (
|
|
2752
|
+
if (o) throw p;
|
|
2423
2753
|
}
|
|
2424
2754
|
}
|
|
2425
|
-
return
|
|
2755
|
+
return i;
|
|
2426
2756
|
}
|
|
2427
2757
|
}
|
|
2428
|
-
function
|
|
2429
|
-
if (Array.isArray(
|
|
2758
|
+
function Jo(e) {
|
|
2759
|
+
if (Array.isArray(e)) return e;
|
|
2430
2760
|
}
|
|
2431
|
-
function
|
|
2432
|
-
var
|
|
2761
|
+
function Zt(e, t) {
|
|
2762
|
+
var a = Object.keys(e);
|
|
2433
2763
|
if (Object.getOwnPropertySymbols) {
|
|
2434
|
-
var
|
|
2435
|
-
|
|
2436
|
-
return Object.getOwnPropertyDescriptor(
|
|
2437
|
-
})),
|
|
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
|
|
2769
|
+
return a;
|
|
2440
2770
|
}
|
|
2441
|
-
function
|
|
2442
|
-
for (var
|
|
2443
|
-
var
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
2447
|
-
Object.defineProperty(
|
|
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
|
|
2780
|
+
return e;
|
|
2451
2781
|
}
|
|
2452
|
-
function
|
|
2453
|
-
return
|
|
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
|
|
2456
|
-
if (
|
|
2457
|
-
var
|
|
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
|
|
2460
|
-
for (
|
|
2461
|
-
|
|
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
|
|
2793
|
+
return a;
|
|
2464
2794
|
}
|
|
2465
|
-
function
|
|
2466
|
-
if (
|
|
2467
|
-
var
|
|
2468
|
-
for (
|
|
2469
|
-
|
|
2470
|
-
return
|
|
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
|
|
2473
|
-
var
|
|
2474
|
-
return
|
|
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:
|
|
2806
|
+
open: o
|
|
2477
2807
|
};
|
|
2478
|
-
}, [
|
|
2479
|
-
open:
|
|
2808
|
+
}, [o]), /* @__PURE__ */ Da.createElement(Ia, null, a(R(R({}, l), {}, {
|
|
2809
|
+
open: o
|
|
2480
2810
|
})));
|
|
2481
2811
|
});
|
|
2482
|
-
|
|
2483
|
-
var
|
|
2812
|
+
vt.displayName = "Dropzone";
|
|
2813
|
+
var Ta = {
|
|
2484
2814
|
disabled: !1,
|
|
2485
|
-
getFilesFromEvent:
|
|
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
|
-
|
|
2500
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
2858
|
+
multiple: P.bool,
|
|
2529
2859
|
/**
|
|
2530
2860
|
* If false, allow dropped items to take over the current browser window
|
|
2531
2861
|
*/
|
|
2532
|
-
preventDropOnDocument:
|
|
2862
|
+
preventDropOnDocument: P.bool,
|
|
2533
2863
|
/**
|
|
2534
2864
|
* If true, disables click to open the native file selection dialog
|
|
2535
2865
|
*/
|
|
2536
|
-
noClick:
|
|
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:
|
|
2871
|
+
noKeyboard: P.bool,
|
|
2542
2872
|
/**
|
|
2543
2873
|
* If true, disables drag 'n' drop
|
|
2544
2874
|
*/
|
|
2545
|
-
noDrag:
|
|
2875
|
+
noDrag: P.bool,
|
|
2546
2876
|
/**
|
|
2547
2877
|
* If true, stops drag event propagation to parents
|
|
2548
2878
|
*/
|
|
2549
|
-
noDragEventsBubbling:
|
|
2879
|
+
noDragEventsBubbling: P.bool,
|
|
2550
2880
|
/**
|
|
2551
2881
|
* Minimum file size (in bytes)
|
|
2552
2882
|
*/
|
|
2553
|
-
minSize:
|
|
2883
|
+
minSize: P.number,
|
|
2554
2884
|
/**
|
|
2555
2885
|
* Maximum file size (in bytes)
|
|
2556
2886
|
*/
|
|
2557
|
-
maxSize:
|
|
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:
|
|
2892
|
+
maxFiles: P.number,
|
|
2563
2893
|
/**
|
|
2564
2894
|
* Enable/disable the dropzone
|
|
2565
2895
|
*/
|
|
2566
|
-
disabled:
|
|
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:
|
|
2902
|
+
getFilesFromEvent: P.func,
|
|
2573
2903
|
/**
|
|
2574
2904
|
* Cb for when closing the file dialog with no selection
|
|
2575
2905
|
*/
|
|
2576
|
-
onFileDialogCancel:
|
|
2906
|
+
onFileDialogCancel: P.func,
|
|
2577
2907
|
/**
|
|
2578
2908
|
* Cb for when opening the file dialog
|
|
2579
2909
|
*/
|
|
2580
|
-
onFileDialogOpen:
|
|
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:
|
|
2915
|
+
useFsAccessApi: P.bool,
|
|
2586
2916
|
/**
|
|
2587
2917
|
* Set to true to focus the root element on render
|
|
2588
2918
|
*/
|
|
2589
|
-
autoFocus:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
2996
|
+
validator: P.func
|
|
2667
2997
|
};
|
|
2668
|
-
var
|
|
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
|
|
2678
|
-
var
|
|
2679
|
-
return
|
|
2680
|
-
}, [
|
|
2681
|
-
return
|
|
2682
|
-
}, [
|
|
2683
|
-
return typeof
|
|
2684
|
-
}, [
|
|
2685
|
-
return typeof S == "function" ? S :
|
|
2686
|
-
}, [S]),
|
|
2687
|
-
!
|
|
2688
|
-
if (
|
|
2689
|
-
var
|
|
2690
|
-
|
|
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
|
-
}),
|
|
3022
|
+
}), ne());
|
|
2693
3023
|
}
|
|
2694
3024
|
}, 300);
|
|
2695
3025
|
};
|
|
2696
|
-
|
|
2697
|
-
return window.addEventListener("focus",
|
|
2698
|
-
window.removeEventListener("focus",
|
|
3026
|
+
Je(function() {
|
|
3027
|
+
return window.addEventListener("focus", b, !1), function() {
|
|
3028
|
+
window.removeEventListener("focus", b, !1);
|
|
2699
3029
|
};
|
|
2700
|
-
}, [
|
|
2701
|
-
var
|
|
2702
|
-
|
|
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
|
-
|
|
2705
|
-
return
|
|
2706
|
-
|
|
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
|
-
}, [
|
|
2709
|
-
return !
|
|
3038
|
+
}, [I, F]), Je(function() {
|
|
3039
|
+
return !i && ie && I.current && I.current.focus(), function() {
|
|
2710
3040
|
};
|
|
2711
|
-
}, [
|
|
2712
|
-
var
|
|
2713
|
-
|
|
2714
|
-
}, [
|
|
2715
|
-
|
|
2716
|
-
if (!(
|
|
2717
|
-
var
|
|
2718
|
-
files:
|
|
2719
|
-
accept:
|
|
2720
|
-
minSize:
|
|
2721
|
-
maxSize:
|
|
2722
|
-
multiple:
|
|
2723
|
-
maxFiles:
|
|
2724
|
-
validator:
|
|
2725
|
-
}),
|
|
2726
|
-
|
|
2727
|
-
isDragAccept:
|
|
2728
|
-
isDragReject:
|
|
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
|
-
}),
|
|
3061
|
+
}), x && x(s);
|
|
2732
3062
|
}
|
|
2733
|
-
}).catch(function(
|
|
2734
|
-
return
|
|
3063
|
+
}).catch(function(f) {
|
|
3064
|
+
return g(f);
|
|
2735
3065
|
});
|
|
2736
|
-
}, [
|
|
2737
|
-
|
|
2738
|
-
var
|
|
2739
|
-
if (
|
|
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
|
-
|
|
3071
|
+
s.dataTransfer.dropEffect = "copy";
|
|
2742
3072
|
} catch {
|
|
2743
3073
|
}
|
|
2744
|
-
return
|
|
2745
|
-
}, [
|
|
2746
|
-
|
|
2747
|
-
var
|
|
2748
|
-
return
|
|
2749
|
-
}),
|
|
2750
|
-
|
|
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
|
-
}),
|
|
2756
|
-
}, [
|
|
2757
|
-
var
|
|
2758
|
-
|
|
2759
|
-
var
|
|
2760
|
-
if (
|
|
2761
|
-
|
|
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
|
|
2764
|
-
|
|
2765
|
-
file:
|
|
2766
|
-
errors:
|
|
2767
|
-
return
|
|
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
|
-
}), (!
|
|
2772
|
-
|
|
2773
|
-
file:
|
|
2774
|
-
errors: [
|
|
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
|
-
}),
|
|
2777
|
-
acceptedFiles:
|
|
2778
|
-
fileRejections:
|
|
2779
|
-
isDragReject:
|
|
3106
|
+
}), M.splice(0)), Y({
|
|
3107
|
+
acceptedFiles: M,
|
|
3108
|
+
fileRejections: W,
|
|
3109
|
+
isDragReject: W.length > 0,
|
|
2780
3110
|
type: "setFiles"
|
|
2781
|
-
}),
|
|
2782
|
-
}, [
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
}).catch(function(
|
|
2786
|
-
return
|
|
2787
|
-
}),
|
|
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
|
-
}, [
|
|
2791
|
-
if (
|
|
2792
|
-
|
|
3120
|
+
}, [n, _, g, Z]), c = V(function() {
|
|
3121
|
+
if (h.current) {
|
|
3122
|
+
Y({
|
|
2793
3123
|
type: "openDialog"
|
|
2794
|
-
}),
|
|
2795
|
-
var
|
|
2796
|
-
multiple:
|
|
2797
|
-
types:
|
|
3124
|
+
}), ce();
|
|
3125
|
+
var s = {
|
|
3126
|
+
multiple: p,
|
|
3127
|
+
types: pe
|
|
2798
3128
|
};
|
|
2799
|
-
window.showOpenFilePicker(
|
|
2800
|
-
return
|
|
2801
|
-
}).then(function(
|
|
2802
|
-
|
|
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(
|
|
2806
|
-
|
|
3135
|
+
}).catch(function(f) {
|
|
3136
|
+
Mo(f) ? (ne(f), Y({
|
|
2807
3137
|
type: "closeDialog"
|
|
2808
|
-
})) :
|
|
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
|
-
|
|
3142
|
+
B.current && (Y({
|
|
2813
3143
|
type: "openDialog"
|
|
2814
|
-
}),
|
|
2815
|
-
}, [
|
|
2816
|
-
!
|
|
2817
|
-
}, [
|
|
2818
|
-
|
|
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
|
-
}, []),
|
|
2822
|
-
|
|
3151
|
+
}, []), he = V(function() {
|
|
3152
|
+
Y({
|
|
2823
3153
|
type: "blur"
|
|
2824
3154
|
});
|
|
2825
|
-
}, []),
|
|
2826
|
-
|
|
2827
|
-
}, [
|
|
2828
|
-
return
|
|
2829
|
-
},
|
|
2830
|
-
return
|
|
2831
|
-
},
|
|
2832
|
-
return J ? null :
|
|
2833
|
-
},
|
|
2834
|
-
Z &&
|
|
2835
|
-
},
|
|
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
|
|
2838
|
-
return
|
|
2839
|
-
onKeyDown:
|
|
2840
|
-
onFocus:
|
|
2841
|
-
onBlur:
|
|
2842
|
-
onClick:
|
|
2843
|
-
onDragEnter:
|
|
2844
|
-
onDragOver:
|
|
2845
|
-
onDragLeave:
|
|
2846
|
-
onDrop:
|
|
2847
|
-
role: typeof
|
|
2848
|
-
},
|
|
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
|
-
} : {}),
|
|
3180
|
+
} : {}), Ne);
|
|
2851
3181
|
};
|
|
2852
|
-
}, [
|
|
2853
|
-
|
|
2854
|
-
}, []),
|
|
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
|
|
2857
|
-
accept:
|
|
2858
|
-
multiple:
|
|
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:
|
|
2873
|
-
onClick:
|
|
3202
|
+
onChange: fe(Q(W, U)),
|
|
3203
|
+
onClick: fe(Q(K, Aa)),
|
|
2874
3204
|
tabIndex: -1
|
|
2875
|
-
},
|
|
2876
|
-
return
|
|
3205
|
+
}, M, B);
|
|
3206
|
+
return R(R({}, me), be);
|
|
2877
3207
|
};
|
|
2878
|
-
}, [
|
|
2879
|
-
return
|
|
2880
|
-
isFocused: r && !
|
|
2881
|
-
getRootProps:
|
|
2882
|
-
getInputProps:
|
|
2883
|
-
rootRef:
|
|
2884
|
-
inputRef:
|
|
2885
|
-
open:
|
|
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
|
|
2889
|
-
switch (
|
|
3218
|
+
function er(e, t) {
|
|
3219
|
+
switch (t.type) {
|
|
2890
3220
|
case "focus":
|
|
2891
|
-
return
|
|
3221
|
+
return R(R({}, e), {}, {
|
|
2892
3222
|
isFocused: !0
|
|
2893
3223
|
});
|
|
2894
3224
|
case "blur":
|
|
2895
|
-
return
|
|
3225
|
+
return R(R({}, e), {}, {
|
|
2896
3226
|
isFocused: !1
|
|
2897
3227
|
});
|
|
2898
3228
|
case "openDialog":
|
|
2899
|
-
return
|
|
3229
|
+
return R(R({}, ut), {}, {
|
|
2900
3230
|
isFileDialogActive: !0
|
|
2901
3231
|
});
|
|
2902
3232
|
case "closeDialog":
|
|
2903
|
-
return
|
|
3233
|
+
return R(R({}, e), {}, {
|
|
2904
3234
|
isFileDialogActive: !1
|
|
2905
3235
|
});
|
|
2906
3236
|
case "setDraggedFiles":
|
|
2907
|
-
return
|
|
2908
|
-
isDragActive:
|
|
2909
|
-
isDragAccept:
|
|
2910
|
-
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
|
|
2914
|
-
acceptedFiles:
|
|
2915
|
-
fileRejections:
|
|
2916
|
-
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
|
|
3249
|
+
return R({}, ut);
|
|
2920
3250
|
default:
|
|
2921
|
-
return
|
|
3251
|
+
return e;
|
|
2922
3252
|
}
|
|
2923
3253
|
}
|
|
2924
|
-
function
|
|
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
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
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
|
};
|