@pismo/marola 0.0.1-alpha.9 → 1.0.0-beta.1
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/dist/{Button-B1umG8kJ.js → Button-2b1peDFT.js} +25 -26
- package/dist/{ClickAwayListener-BKznXF1d.js → ClickAwayListener-BSW-Nd-y.js} +3 -2
- package/dist/Dialog.module-DFEmFdYT.js +30 -0
- package/dist/Group-B3p31ftp.js +26 -0
- package/dist/Popup-B6ZSGIEI.js +1248 -0
- package/dist/{Portal-BcdMtRGF.js → Portal-DIeBsWdL.js} +2 -2
- package/dist/SelectButton-C8JQKaf4.js +61 -0
- package/dist/Tabs.module-jkH1Qjn7.js +22 -0
- package/dist/Toggle-BCgIItCc.js +142 -0
- package/dist/assets/Advice.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Checkbox.css +1 -1
- package/dist/assets/Dialog.css +1 -1
- package/dist/assets/EllipsisTooltip.css +1 -0
- package/dist/assets/Group.css +1 -0
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/InputSearch.css +1 -1
- package/dist/assets/PageHeader.css +1 -1
- package/dist/assets/Pagination.css +1 -1
- package/dist/assets/SelectButton.css +1 -0
- package/dist/assets/Skeleton.css +1 -1
- package/dist/assets/Snackbar.css +1 -1
- package/dist/assets/SortTooltip.css +1 -1
- package/dist/assets/Stepper.css +1 -1
- package/dist/assets/Table.css +1 -1
- package/dist/assets/TextDisplay.css +1 -0
- package/dist/assets/Toggle.css +1 -1
- package/dist/assets/Toggle2.css +1 -0
- package/dist/assets/Typography.css +1 -1
- package/dist/combineHooksSlotProps-DVjg9PRh.js +80 -0
- package/dist/components/Advice/Advice.d.ts +17 -3
- package/dist/components/Advice/Advice.js +39 -17
- package/dist/components/Advice/Advice.stories.d.ts +18 -0
- package/dist/components/Button/Button.d.ts +6 -3
- package/dist/components/Button/Button.js +60 -65
- package/dist/components/Button/Button.stories.d.ts +3 -1
- package/dist/components/Checkbox/Checkbox.d.ts +19 -2
- package/dist/components/Checkbox/Checkbox.js +63 -40
- package/dist/components/Checkbox/Checkbox.stories.d.ts +31 -0
- package/dist/components/Chip/Chip.d.ts +39 -0
- package/dist/components/Chip/Chip.js +19 -0
- package/dist/components/Chip/Chip.stories.d.ts +42 -0
- package/dist/components/Chip/chip.test.d.ts +1 -0
- package/dist/components/Dialog/Actions.js +1 -1
- package/dist/components/Dialog/Backdrop.js +1 -1
- package/dist/components/Dialog/CloseIconButton.js +2 -2
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/Dialog.js +13 -13
- package/dist/components/Dialog/Dialog.stories.d.ts +10 -10
- package/dist/components/Dialog/{Title.d.ts → DialogTitle.d.ts} +3 -3
- package/dist/components/Dialog/DialogTitle.js +29 -0
- package/dist/components/EllipsisTooltip/EllipsisTooltip.d.ts +7 -0
- package/dist/components/EllipsisTooltip/EllipsisTooltip.js +23 -0
- package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +31 -0
- package/dist/components/Icon/Icon.d.ts +8 -15
- package/dist/components/Icon/Icon.js +108 -57
- package/dist/components/Icon/Icon.stories.d.ts +14 -0
- package/dist/components/Icon/types.d.ts +5 -0
- package/dist/components/Icon/types.js +1 -0
- package/dist/components/IconButton/Icon.stories.d.ts +15 -0
- package/dist/components/IconButton/IconButton.d.ts +18 -2
- package/dist/components/IconButton/IconButton.js +58 -63
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/Input.js +241 -230
- package/dist/components/InputSearch/InputSearch.d.ts +7 -9
- package/dist/components/InputSearch/InputSearch.js +30 -25
- package/dist/components/InputSearch/InputSearch.stories.d.ts +21 -4
- package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +1 -1
- package/dist/components/PageHeader/PageHeader.d.ts +36 -6
- package/dist/components/PageHeader/PageHeader.js +83 -47
- package/dist/components/PageHeader/PageHeader.stories.d.ts +2 -31
- package/dist/components/Pagination/Pagination.d.ts +24 -5
- package/dist/components/Pagination/Pagination.js +127 -109
- package/dist/components/Pagination/Pagination.stories.d.ts +17 -0
- package/dist/components/Select/Select.d.ts +26 -0
- package/dist/components/Select/Select.js +857 -0
- package/dist/components/Select/Select.stories.d.ts +22 -0
- package/dist/components/Select/SelectButton.d.ts +12 -0
- package/dist/components/Select/SelectButton.js +8 -0
- package/dist/components/Skeleton/Skeleton.d.ts +10 -3
- package/dist/components/Skeleton/Skeleton.js +16 -19
- package/dist/components/Skeleton/Skeleton.stories.d.ts +14 -0
- package/dist/components/Skeleton/SkeletonCircle.stories.d.ts +14 -0
- package/dist/components/Skeleton/SkeletonTable.stories.d.ts +16 -0
- package/dist/components/Snackbar/Snackbar.d.ts +19 -5
- package/dist/components/Snackbar/Snackbar.js +247 -230
- package/dist/components/Snackbar/Snackbar.stories.d.ts +319 -0
- package/dist/components/SortTooltip/SortTooltip.d.ts +3 -1
- package/dist/components/SortTooltip/SortTooltip.js +55 -29
- package/dist/components/Stepper/Stepper.d.ts +11 -1
- package/dist/components/Stepper/Stepper.js +37 -22
- package/dist/components/Stepper/Stepper.stories.d.ts +16 -0
- package/dist/components/Table/Table.d.ts +33 -16
- package/dist/components/Table/Table.js +106 -91
- package/dist/components/Table/Table.stories.d.ts +29 -0
- package/dist/components/Table/_Table.TBody.stories.d.ts +14 -0
- package/dist/components/Table/_Table.THead.stories.d.ts +14 -0
- package/dist/components/Table/_Table.Td.stories.d.ts +16 -0
- package/dist/components/Table/_Table.Th.stories.d.ts +15 -0
- package/dist/components/Table/_Table.Tr.stories.d.ts +15 -0
- package/dist/components/Tabs/Tab.d.ts +5 -0
- package/dist/components/Tabs/Tab.js +179 -6
- package/dist/components/Tabs/Tab.stories.d.ts +15 -0
- package/dist/components/Tabs/TabPanel.d.ts +4 -0
- package/dist/components/Tabs/TabPanel.js +12 -12
- package/dist/components/Tabs/TabPanel.stories.d.ts +14 -0
- package/dist/components/Tabs/Tabs.d.ts +5 -1
- package/dist/components/Tabs/Tabs.js +242 -668
- package/dist/components/Tabs/Tabs.stories.d.ts +14 -0
- package/dist/components/TextDisplay/TextDisplay.d.ts +23 -0
- package/dist/components/TextDisplay/TextDisplay.js +37 -0
- package/dist/components/TextDisplay/TextDisplay.stories.d.ts +13 -0
- package/dist/components/TextDisplay/textDisplay.test.d.ts +1 -0
- package/dist/components/Toggle/Toggle.js +143 -129
- package/dist/components/ToggleGroup/Group.d.ts +18 -0
- package/dist/components/ToggleGroup/Group.js +7 -0
- package/dist/components/ToggleGroup/Group.test.d.ts +1 -0
- package/dist/components/ToggleGroup/Toggle.d.ts +15 -0
- package/dist/components/ToggleGroup/Toggle.js +17 -0
- package/dist/components/ToggleGroup/Toggle.test.d.ts +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +2 -0
- package/dist/components/ToggleGroup/ToggleGroup.js +6 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +25 -0
- package/dist/components/Tooltip/Tooltip.d.ts +22 -6
- package/dist/components/Tooltip/Tooltip.js +114 -1339
- package/dist/components/Tooltip/Tooltip.stories.d.ts +35 -0
- package/dist/components/Typography/Typography.d.ts +5 -2
- package/dist/components/Typography/Typography.js +58 -74
- package/dist/components/Typography/Typography.stories.d.ts +1 -0
- package/dist/contexts/SnackbarProvider/SnackbarProvider.d.ts +11 -0
- package/dist/contexts/SnackbarProvider/SnackbarProvider.js +50 -0
- package/dist/contexts/SnackbarProvider/SnackbarProvider.stories.d.ts +21 -0
- package/dist/{index-CqjC7P5Y.js → index-CH45lKw7.js} +333 -307
- package/dist/{index-BNWbc5Kh.js → index-CjW42-M-.js} +3108 -3152
- package/dist/main.d.ts +10 -1
- package/dist/main.js +74 -55
- package/dist/marola.css +1 -0
- package/dist/{useButton-Bc8IAgyk.js → useButton-DNk3wrQp.js} +3 -4
- package/dist/useCompoundItem-D1iRfg8D.js +84 -0
- package/dist/useEventCallback-xTG9piMa.js +45 -0
- package/dist/useList-B0hog_3-.js +436 -0
- package/dist/utils/styleStrings.d.ts +1 -1
- package/dist/utils/styleStrings.js +7 -7
- package/package.json +4 -4
- package/dist/Dialog.module-CGVM5V_D.js +0 -15
- package/dist/Tab-CRwnhsj5.js +0 -254
- package/dist/Tabs.module-yYcTJnj6.js +0 -103
- package/dist/_commonjsHelpers-CT_km90n.js +0 -30
- package/dist/assets/global.css +0 -1
- package/dist/components/Button/Button.stories.js +0 -40
- package/dist/components/Dialog/Dialog.stories.js +0 -59
- package/dist/components/Dialog/Title.js +0 -29
- package/dist/components/Input/Input.stories.js +0 -106
- package/dist/components/InputSearch/InputSearch.stories.js +0 -36
- package/dist/components/LoadingSpinner/LoadingSpinner.stories.js +0 -38
- package/dist/components/PageHeader/PageHeader.stories.js +0 -49
- package/dist/components/Toggle/Toggle.stories.js +0 -33
- package/dist/components/Typography/Typography.stories.js +0 -30
- package/dist/components/Typography/typography.test.js +0 -11357
- package/dist/magic-string.es-O_8lTkE3.js +0 -738
- package/dist/objectWithoutPropertiesLoose-D7Cp0Pg_.js +0 -26
- package/dist/utils/styleStrings.test.js +0 -41
- package/dist/vi.Y_w82WR8-Df0JUamG.js +0 -9860
|
@@ -1,36 +1,59 @@
|
|
|
1
1
|
import * as ue from "react";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { g as _e } from "./_commonjsHelpers-CT_km90n.js";
|
|
4
|
-
import { a as D, _ as Re } from "./objectWithoutPropertiesLoose-D7Cp0Pg_.js";
|
|
5
3
|
import { c as le } from "./clsx-DB4S2d7J.js";
|
|
6
|
-
function
|
|
4
|
+
function Y() {
|
|
5
|
+
return Y = Object.assign ? Object.assign.bind() : function(e) {
|
|
6
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
7
|
+
var t = arguments[s];
|
|
8
|
+
for (var n in t)
|
|
9
|
+
Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
10
|
+
}
|
|
11
|
+
return e;
|
|
12
|
+
}, Y.apply(this, arguments);
|
|
13
|
+
}
|
|
14
|
+
function _e(e) {
|
|
7
15
|
return typeof e == "string";
|
|
8
16
|
}
|
|
9
|
-
function
|
|
10
|
-
return e === void 0 ||
|
|
11
|
-
ownerState:
|
|
17
|
+
function Re(e, s, t) {
|
|
18
|
+
return e === void 0 || _e(e) ? s : Y({}, s, {
|
|
19
|
+
ownerState: Y({}, s.ownerState, t)
|
|
12
20
|
});
|
|
13
21
|
}
|
|
14
|
-
const
|
|
22
|
+
const xe = {
|
|
15
23
|
disableDefaultClasses: !1
|
|
16
|
-
}, Se = /* @__PURE__ */ ue.createContext(
|
|
24
|
+
}, Se = /* @__PURE__ */ ue.createContext(xe);
|
|
17
25
|
process.env.NODE_ENV !== "production" && (Se.displayName = "ClassNameConfiguratorContext");
|
|
18
|
-
function
|
|
26
|
+
function Ke(e) {
|
|
19
27
|
const {
|
|
20
28
|
disableDefaultClasses: s
|
|
21
29
|
} = ue.useContext(Se);
|
|
22
|
-
return (
|
|
30
|
+
return (t) => s ? "" : e(t);
|
|
23
31
|
}
|
|
24
|
-
function
|
|
32
|
+
function we(e, s = []) {
|
|
25
33
|
if (e === void 0)
|
|
26
34
|
return {};
|
|
27
|
-
const
|
|
28
|
-
return Object.keys(e).filter((
|
|
29
|
-
|
|
30
|
-
}),
|
|
35
|
+
const t = {};
|
|
36
|
+
return Object.keys(e).filter((n) => n.match(/^on[A-Z]/) && typeof e[n] == "function" && !s.includes(n)).forEach((n) => {
|
|
37
|
+
t[n] = e[n];
|
|
38
|
+
}), t;
|
|
39
|
+
}
|
|
40
|
+
function Ae(e, s, t) {
|
|
41
|
+
return typeof e == "function" ? e(s, t) : e;
|
|
42
|
+
}
|
|
43
|
+
function je(e, s) {
|
|
44
|
+
if (e == null)
|
|
45
|
+
return {};
|
|
46
|
+
var t = {};
|
|
47
|
+
for (var n in e)
|
|
48
|
+
if (Object.prototype.hasOwnProperty.call(e, n)) {
|
|
49
|
+
if (s.indexOf(n) >= 0)
|
|
50
|
+
continue;
|
|
51
|
+
t[n] = e[n];
|
|
52
|
+
}
|
|
53
|
+
return t;
|
|
31
54
|
}
|
|
32
|
-
function
|
|
33
|
-
return
|
|
55
|
+
function $e(e) {
|
|
56
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
34
57
|
}
|
|
35
58
|
var se = { exports: {} }, V = { exports: {} }, P = {};
|
|
36
59
|
/** @license React v16.13.1
|
|
@@ -46,69 +69,69 @@ function Ie() {
|
|
|
46
69
|
if (de)
|
|
47
70
|
return P;
|
|
48
71
|
de = 1;
|
|
49
|
-
var e = typeof Symbol == "function" && Symbol.for, s = e ? Symbol.for("react.element") : 60103,
|
|
50
|
-
function
|
|
51
|
-
if (typeof
|
|
52
|
-
var W =
|
|
72
|
+
var e = typeof Symbol == "function" && Symbol.for, s = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, c = e ? Symbol.for("react.strict_mode") : 60108, u = e ? Symbol.for("react.profiler") : 60114, h = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, _ = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, S = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, $ = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, I = e ? Symbol.for("react.fundamental") : 60117, q = e ? Symbol.for("react.responder") : 60118, F = e ? Symbol.for("react.scope") : 60119;
|
|
73
|
+
function j(i) {
|
|
74
|
+
if (typeof i == "object" && i !== null) {
|
|
75
|
+
var W = i.$$typeof;
|
|
53
76
|
switch (W) {
|
|
54
77
|
case s:
|
|
55
|
-
switch (
|
|
78
|
+
switch (i = i.type, i) {
|
|
56
79
|
case _:
|
|
57
80
|
case v:
|
|
58
|
-
case
|
|
81
|
+
case n:
|
|
59
82
|
case u:
|
|
60
83
|
case c:
|
|
61
84
|
case S:
|
|
62
|
-
return
|
|
85
|
+
return i;
|
|
63
86
|
default:
|
|
64
|
-
switch (
|
|
87
|
+
switch (i = i && i.$$typeof, i) {
|
|
65
88
|
case f:
|
|
66
89
|
case m:
|
|
67
|
-
case
|
|
90
|
+
case $:
|
|
68
91
|
case w:
|
|
69
92
|
case h:
|
|
70
|
-
return
|
|
93
|
+
return i;
|
|
71
94
|
default:
|
|
72
95
|
return W;
|
|
73
96
|
}
|
|
74
97
|
}
|
|
75
|
-
case
|
|
98
|
+
case t:
|
|
76
99
|
return W;
|
|
77
100
|
}
|
|
78
101
|
}
|
|
79
102
|
}
|
|
80
|
-
function A(
|
|
81
|
-
return
|
|
103
|
+
function A(i) {
|
|
104
|
+
return j(i) === v;
|
|
82
105
|
}
|
|
83
|
-
return P.AsyncMode = _, P.ConcurrentMode = v, P.ContextConsumer = f, P.ContextProvider = h, P.Element = s, P.ForwardRef = m, P.Fragment =
|
|
84
|
-
return A(
|
|
85
|
-
}, P.isConcurrentMode = A, P.isContextConsumer = function(
|
|
86
|
-
return
|
|
87
|
-
}, P.isContextProvider = function(
|
|
88
|
-
return
|
|
89
|
-
}, P.isElement = function(
|
|
90
|
-
return typeof
|
|
91
|
-
}, P.isForwardRef = function(
|
|
92
|
-
return
|
|
93
|
-
}, P.isFragment = function(
|
|
94
|
-
return
|
|
95
|
-
}, P.isLazy = function(
|
|
96
|
-
return
|
|
97
|
-
}, P.isMemo = function(
|
|
98
|
-
return
|
|
99
|
-
}, P.isPortal = function(
|
|
100
|
-
return
|
|
101
|
-
}, P.isProfiler = function(
|
|
102
|
-
return
|
|
103
|
-
}, P.isStrictMode = function(
|
|
104
|
-
return
|
|
105
|
-
}, P.isSuspense = function(
|
|
106
|
-
return
|
|
107
|
-
}, P.isValidElementType = function(
|
|
108
|
-
return typeof
|
|
109
|
-
}, P.typeOf =
|
|
106
|
+
return P.AsyncMode = _, P.ConcurrentMode = v, P.ContextConsumer = f, P.ContextProvider = h, P.Element = s, P.ForwardRef = m, P.Fragment = n, P.Lazy = $, P.Memo = w, P.Portal = t, P.Profiler = u, P.StrictMode = c, P.Suspense = S, P.isAsyncMode = function(i) {
|
|
107
|
+
return A(i) || j(i) === _;
|
|
108
|
+
}, P.isConcurrentMode = A, P.isContextConsumer = function(i) {
|
|
109
|
+
return j(i) === f;
|
|
110
|
+
}, P.isContextProvider = function(i) {
|
|
111
|
+
return j(i) === h;
|
|
112
|
+
}, P.isElement = function(i) {
|
|
113
|
+
return typeof i == "object" && i !== null && i.$$typeof === s;
|
|
114
|
+
}, P.isForwardRef = function(i) {
|
|
115
|
+
return j(i) === m;
|
|
116
|
+
}, P.isFragment = function(i) {
|
|
117
|
+
return j(i) === n;
|
|
118
|
+
}, P.isLazy = function(i) {
|
|
119
|
+
return j(i) === $;
|
|
120
|
+
}, P.isMemo = function(i) {
|
|
121
|
+
return j(i) === w;
|
|
122
|
+
}, P.isPortal = function(i) {
|
|
123
|
+
return j(i) === t;
|
|
124
|
+
}, P.isProfiler = function(i) {
|
|
125
|
+
return j(i) === u;
|
|
126
|
+
}, P.isStrictMode = function(i) {
|
|
127
|
+
return j(i) === c;
|
|
128
|
+
}, P.isSuspense = function(i) {
|
|
129
|
+
return j(i) === S;
|
|
130
|
+
}, P.isValidElementType = function(i) {
|
|
131
|
+
return typeof i == "string" || typeof i == "function" || i === n || i === v || i === u || i === c || i === S || i === x || typeof i == "object" && i !== null && (i.$$typeof === $ || i.$$typeof === w || i.$$typeof === h || i.$$typeof === f || i.$$typeof === m || i.$$typeof === I || i.$$typeof === q || i.$$typeof === F || i.$$typeof === R);
|
|
132
|
+
}, P.typeOf = j, P;
|
|
110
133
|
}
|
|
111
|
-
var
|
|
134
|
+
var O = {};
|
|
112
135
|
/** @license React v16.13.1
|
|
113
136
|
* react-is.development.js
|
|
114
137
|
*
|
|
@@ -120,21 +143,21 @@ var C = {};
|
|
|
120
143
|
var pe;
|
|
121
144
|
function Me() {
|
|
122
145
|
return pe || (pe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
123
|
-
var e = typeof Symbol == "function" && Symbol.for, s = e ? Symbol.for("react.element") : 60103,
|
|
124
|
-
function
|
|
125
|
-
return typeof
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
function A(
|
|
129
|
-
if (typeof
|
|
130
|
-
var
|
|
131
|
-
switch (
|
|
146
|
+
var e = typeof Symbol == "function" && Symbol.for, s = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, c = e ? Symbol.for("react.strict_mode") : 60108, u = e ? Symbol.for("react.profiler") : 60114, h = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, _ = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, S = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, $ = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, I = e ? Symbol.for("react.fundamental") : 60117, q = e ? Symbol.for("react.responder") : 60118, F = e ? Symbol.for("react.scope") : 60119;
|
|
147
|
+
function j(o) {
|
|
148
|
+
return typeof o == "string" || typeof o == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
149
|
+
o === n || o === v || o === u || o === c || o === S || o === x || typeof o == "object" && o !== null && (o.$$typeof === $ || o.$$typeof === w || o.$$typeof === h || o.$$typeof === f || o.$$typeof === m || o.$$typeof === I || o.$$typeof === q || o.$$typeof === F || o.$$typeof === R);
|
|
150
|
+
}
|
|
151
|
+
function A(o) {
|
|
152
|
+
if (typeof o == "object" && o !== null) {
|
|
153
|
+
var k = o.$$typeof;
|
|
154
|
+
switch (k) {
|
|
132
155
|
case s:
|
|
133
|
-
var H =
|
|
156
|
+
var H = o.type;
|
|
134
157
|
switch (H) {
|
|
135
158
|
case _:
|
|
136
159
|
case v:
|
|
137
|
-
case
|
|
160
|
+
case n:
|
|
138
161
|
case u:
|
|
139
162
|
case c:
|
|
140
163
|
case S:
|
|
@@ -144,61 +167,61 @@ function Me() {
|
|
|
144
167
|
switch (fe) {
|
|
145
168
|
case f:
|
|
146
169
|
case m:
|
|
147
|
-
case
|
|
170
|
+
case $:
|
|
148
171
|
case w:
|
|
149
172
|
case h:
|
|
150
173
|
return fe;
|
|
151
174
|
default:
|
|
152
|
-
return
|
|
175
|
+
return k;
|
|
153
176
|
}
|
|
154
177
|
}
|
|
155
|
-
case
|
|
156
|
-
return
|
|
178
|
+
case t:
|
|
179
|
+
return k;
|
|
157
180
|
}
|
|
158
181
|
}
|
|
159
182
|
}
|
|
160
|
-
var
|
|
161
|
-
function ee(
|
|
162
|
-
return z || (z = !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(
|
|
183
|
+
var i = _, W = v, B = f, J = h, X = s, Z = m, U = n, G = $, K = w, N = t, Q = u, D = c, L = S, z = !1;
|
|
184
|
+
function ee(o) {
|
|
185
|
+
return z || (z = !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(o) || A(o) === _;
|
|
163
186
|
}
|
|
164
|
-
function r(
|
|
165
|
-
return A(
|
|
187
|
+
function r(o) {
|
|
188
|
+
return A(o) === v;
|
|
166
189
|
}
|
|
167
|
-
function
|
|
168
|
-
return A(
|
|
190
|
+
function a(o) {
|
|
191
|
+
return A(o) === f;
|
|
169
192
|
}
|
|
170
|
-
function b(
|
|
171
|
-
return A(
|
|
193
|
+
function b(o) {
|
|
194
|
+
return A(o) === h;
|
|
172
195
|
}
|
|
173
|
-
function p(
|
|
174
|
-
return typeof
|
|
196
|
+
function p(o) {
|
|
197
|
+
return typeof o == "object" && o !== null && o.$$typeof === s;
|
|
175
198
|
}
|
|
176
|
-
function l(
|
|
177
|
-
return A(
|
|
199
|
+
function l(o) {
|
|
200
|
+
return A(o) === m;
|
|
178
201
|
}
|
|
179
|
-
function E(
|
|
180
|
-
return A(
|
|
202
|
+
function E(o) {
|
|
203
|
+
return A(o) === n;
|
|
181
204
|
}
|
|
182
|
-
function d(
|
|
183
|
-
return A(
|
|
205
|
+
function d(o) {
|
|
206
|
+
return A(o) === $;
|
|
184
207
|
}
|
|
185
|
-
function y(
|
|
186
|
-
return A(
|
|
208
|
+
function y(o) {
|
|
209
|
+
return A(o) === w;
|
|
187
210
|
}
|
|
188
|
-
function
|
|
189
|
-
return A(
|
|
211
|
+
function g(o) {
|
|
212
|
+
return A(o) === t;
|
|
190
213
|
}
|
|
191
|
-
function
|
|
192
|
-
return A(
|
|
214
|
+
function C(o) {
|
|
215
|
+
return A(o) === u;
|
|
193
216
|
}
|
|
194
|
-
function
|
|
195
|
-
return A(
|
|
217
|
+
function T(o) {
|
|
218
|
+
return A(o) === c;
|
|
196
219
|
}
|
|
197
|
-
function M(
|
|
198
|
-
return A(
|
|
220
|
+
function M(o) {
|
|
221
|
+
return A(o) === S;
|
|
199
222
|
}
|
|
200
|
-
|
|
201
|
-
}()),
|
|
223
|
+
O.AsyncMode = i, O.ConcurrentMode = W, O.ContextConsumer = B, O.ContextProvider = J, O.Element = X, O.ForwardRef = Z, O.Fragment = U, O.Lazy = G, O.Memo = K, O.Portal = N, O.Profiler = Q, O.StrictMode = D, O.Suspense = L, O.isAsyncMode = ee, O.isConcurrentMode = r, O.isContextConsumer = a, O.isContextProvider = b, O.isElement = p, O.isForwardRef = l, O.isFragment = E, O.isLazy = d, O.isMemo = y, O.isPortal = g, O.isProfiler = C, O.isStrictMode = T, O.isSuspense = M, O.isValidElementType = j, O.typeOf = A;
|
|
224
|
+
}()), O;
|
|
202
225
|
}
|
|
203
226
|
var ye;
|
|
204
227
|
function Pe() {
|
|
@@ -210,12 +233,12 @@ object-assign
|
|
|
210
233
|
@license MIT
|
|
211
234
|
*/
|
|
212
235
|
var re, ve;
|
|
213
|
-
function
|
|
236
|
+
function qe() {
|
|
214
237
|
if (ve)
|
|
215
238
|
return re;
|
|
216
239
|
ve = 1;
|
|
217
|
-
var e = Object.getOwnPropertySymbols, s = Object.prototype.hasOwnProperty,
|
|
218
|
-
function
|
|
240
|
+
var e = Object.getOwnPropertySymbols, s = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
241
|
+
function n(u) {
|
|
219
242
|
if (u == null)
|
|
220
243
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
221
244
|
return Object(u);
|
|
@@ -243,14 +266,14 @@ function ke() {
|
|
|
243
266
|
}
|
|
244
267
|
}
|
|
245
268
|
return re = c() ? Object.assign : function(u, h) {
|
|
246
|
-
for (var f, _ =
|
|
269
|
+
for (var f, _ = n(u), v, m = 1; m < arguments.length; m++) {
|
|
247
270
|
f = Object(arguments[m]);
|
|
248
271
|
for (var S in f)
|
|
249
272
|
s.call(f, S) && (_[S] = f[S]);
|
|
250
273
|
if (e) {
|
|
251
274
|
v = e(f);
|
|
252
275
|
for (var x = 0; x < v.length; x++)
|
|
253
|
-
|
|
276
|
+
t.call(f, v[x]) && (_[v[x]] = f[v[x]]);
|
|
254
277
|
}
|
|
255
278
|
}
|
|
256
279
|
return _;
|
|
@@ -265,18 +288,18 @@ function ce() {
|
|
|
265
288
|
return te = e, te;
|
|
266
289
|
}
|
|
267
290
|
var ne, be;
|
|
268
|
-
function
|
|
291
|
+
function Oe() {
|
|
269
292
|
return be || (be = 1, ne = Function.call.bind(Object.prototype.hasOwnProperty)), ne;
|
|
270
293
|
}
|
|
271
294
|
var oe, he;
|
|
272
|
-
function
|
|
295
|
+
function Ye() {
|
|
273
296
|
if (he)
|
|
274
297
|
return oe;
|
|
275
298
|
he = 1;
|
|
276
299
|
var e = function() {
|
|
277
300
|
};
|
|
278
301
|
if (process.env.NODE_ENV !== "production") {
|
|
279
|
-
var s = ce(),
|
|
302
|
+
var s = ce(), t = {}, n = Oe();
|
|
280
303
|
e = function(u) {
|
|
281
304
|
var h = "Warning: " + u;
|
|
282
305
|
typeof console < "u" && console.error(h);
|
|
@@ -289,7 +312,7 @@ function qe() {
|
|
|
289
312
|
function c(u, h, f, _, v) {
|
|
290
313
|
if (process.env.NODE_ENV !== "production") {
|
|
291
314
|
for (var m in u)
|
|
292
|
-
if (
|
|
315
|
+
if (n(u, m)) {
|
|
293
316
|
var S;
|
|
294
317
|
try {
|
|
295
318
|
if (typeof u[m] != "function") {
|
|
@@ -299,13 +322,13 @@ function qe() {
|
|
|
299
322
|
throw x.name = "Invariant Violation", x;
|
|
300
323
|
}
|
|
301
324
|
S = u[m](h, m, _, f, null, s);
|
|
302
|
-
} catch (
|
|
303
|
-
S =
|
|
325
|
+
} catch ($) {
|
|
326
|
+
S = $;
|
|
304
327
|
}
|
|
305
328
|
if (S && !(S instanceof Error) && e(
|
|
306
329
|
(_ || "React class") + ": type specification of " + f + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof S + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
307
|
-
), S instanceof Error && !(S.message in
|
|
308
|
-
|
|
330
|
+
), S instanceof Error && !(S.message in t)) {
|
|
331
|
+
t[S.message] = !0;
|
|
309
332
|
var w = v ? v() : "";
|
|
310
333
|
e(
|
|
311
334
|
"Failed " + f + " type: " + S.message + (w ?? "")
|
|
@@ -315,15 +338,15 @@ function qe() {
|
|
|
315
338
|
}
|
|
316
339
|
}
|
|
317
340
|
return c.resetWarningCache = function() {
|
|
318
|
-
process.env.NODE_ENV !== "production" && (
|
|
341
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
319
342
|
}, oe = c, oe;
|
|
320
343
|
}
|
|
321
344
|
var ie, Ee;
|
|
322
|
-
function
|
|
345
|
+
function De() {
|
|
323
346
|
if (Ee)
|
|
324
347
|
return ie;
|
|
325
348
|
Ee = 1;
|
|
326
|
-
var e = Pe(), s =
|
|
349
|
+
var e = Pe(), s = qe(), t = ce(), n = Oe(), c = Ye(), u = function() {
|
|
327
350
|
};
|
|
328
351
|
process.env.NODE_ENV !== "production" && (u = function(f) {
|
|
329
352
|
var _ = "Warning: " + f;
|
|
@@ -339,23 +362,23 @@ function Ye() {
|
|
|
339
362
|
return ie = function(f, _) {
|
|
340
363
|
var v = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
341
364
|
function S(r) {
|
|
342
|
-
var
|
|
343
|
-
if (typeof
|
|
344
|
-
return
|
|
365
|
+
var a = r && (v && r[v] || r[m]);
|
|
366
|
+
if (typeof a == "function")
|
|
367
|
+
return a;
|
|
345
368
|
}
|
|
346
369
|
var x = "<<anonymous>>", w = {
|
|
347
|
-
array:
|
|
348
|
-
bigint:
|
|
349
|
-
bool:
|
|
350
|
-
func:
|
|
351
|
-
number:
|
|
352
|
-
object:
|
|
353
|
-
string:
|
|
354
|
-
symbol:
|
|
370
|
+
array: q("array"),
|
|
371
|
+
bigint: q("bigint"),
|
|
372
|
+
bool: q("boolean"),
|
|
373
|
+
func: q("function"),
|
|
374
|
+
number: q("number"),
|
|
375
|
+
object: q("object"),
|
|
376
|
+
string: q("string"),
|
|
377
|
+
symbol: q("symbol"),
|
|
355
378
|
any: F(),
|
|
356
|
-
arrayOf:
|
|
379
|
+
arrayOf: j,
|
|
357
380
|
element: A(),
|
|
358
|
-
elementType:
|
|
381
|
+
elementType: i(),
|
|
359
382
|
instanceOf: W,
|
|
360
383
|
node: Z(),
|
|
361
384
|
objectOf: J,
|
|
@@ -364,87 +387,87 @@ function Ye() {
|
|
|
364
387
|
shape: G,
|
|
365
388
|
exact: K
|
|
366
389
|
};
|
|
367
|
-
function
|
|
368
|
-
return r ===
|
|
390
|
+
function $(r, a) {
|
|
391
|
+
return r === a ? r !== 0 || 1 / r === 1 / a : r !== r && a !== a;
|
|
369
392
|
}
|
|
370
|
-
function R(r,
|
|
371
|
-
this.message = r, this.data =
|
|
393
|
+
function R(r, a) {
|
|
394
|
+
this.message = r, this.data = a && typeof a == "object" ? a : {}, this.stack = "";
|
|
372
395
|
}
|
|
373
396
|
R.prototype = Error.prototype;
|
|
374
397
|
function I(r) {
|
|
375
398
|
if (process.env.NODE_ENV !== "production")
|
|
376
|
-
var
|
|
377
|
-
function p(E, d, y,
|
|
378
|
-
if (
|
|
399
|
+
var a = {}, b = 0;
|
|
400
|
+
function p(E, d, y, g, C, T, M) {
|
|
401
|
+
if (g = g || x, T = T || y, M !== t) {
|
|
379
402
|
if (_) {
|
|
380
|
-
var
|
|
403
|
+
var o = new Error(
|
|
381
404
|
"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"
|
|
382
405
|
);
|
|
383
|
-
throw
|
|
406
|
+
throw o.name = "Invariant Violation", o;
|
|
384
407
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
385
|
-
var
|
|
386
|
-
!
|
|
408
|
+
var k = g + ":" + y;
|
|
409
|
+
!a[k] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
387
410
|
b < 3 && (u(
|
|
388
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
389
|
-
),
|
|
411
|
+
"You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + g + "`. 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."
|
|
412
|
+
), a[k] = !0, b++);
|
|
390
413
|
}
|
|
391
414
|
}
|
|
392
|
-
return d[y] == null ? E ? d[y] === null ? new R("The " +
|
|
415
|
+
return d[y] == null ? E ? d[y] === null ? new R("The " + C + " `" + T + "` is marked as required " + ("in `" + g + "`, but its value is `null`.")) : new R("The " + C + " `" + T + "` is marked as required in " + ("`" + g + "`, but its value is `undefined`.")) : null : r(d, y, g, C, T);
|
|
393
416
|
}
|
|
394
417
|
var l = p.bind(null, !1);
|
|
395
418
|
return l.isRequired = p.bind(null, !0), l;
|
|
396
419
|
}
|
|
397
|
-
function
|
|
398
|
-
function
|
|
399
|
-
var
|
|
400
|
-
if (
|
|
401
|
-
var
|
|
420
|
+
function q(r) {
|
|
421
|
+
function a(b, p, l, E, d, y) {
|
|
422
|
+
var g = b[p], C = D(g);
|
|
423
|
+
if (C !== r) {
|
|
424
|
+
var T = L(g);
|
|
402
425
|
return new R(
|
|
403
|
-
"Invalid " + E + " `" + d + "` of type " + ("`" +
|
|
426
|
+
"Invalid " + E + " `" + d + "` of type " + ("`" + T + "` supplied to `" + l + "`, expected ") + ("`" + r + "`."),
|
|
404
427
|
{ expectedType: r }
|
|
405
428
|
);
|
|
406
429
|
}
|
|
407
430
|
return null;
|
|
408
431
|
}
|
|
409
|
-
return I(
|
|
432
|
+
return I(a);
|
|
410
433
|
}
|
|
411
434
|
function F() {
|
|
412
435
|
return I(h);
|
|
413
436
|
}
|
|
414
|
-
function
|
|
415
|
-
function
|
|
437
|
+
function j(r) {
|
|
438
|
+
function a(b, p, l, E, d) {
|
|
416
439
|
if (typeof r != "function")
|
|
417
440
|
return new R("Property `" + d + "` of component `" + l + "` has invalid PropType notation inside arrayOf.");
|
|
418
441
|
var y = b[p];
|
|
419
442
|
if (!Array.isArray(y)) {
|
|
420
|
-
var
|
|
421
|
-
return new R("Invalid " + E + " `" + d + "` of type " + ("`" +
|
|
443
|
+
var g = D(y);
|
|
444
|
+
return new R("Invalid " + E + " `" + d + "` of type " + ("`" + g + "` supplied to `" + l + "`, expected an array."));
|
|
422
445
|
}
|
|
423
|
-
for (var
|
|
424
|
-
var
|
|
425
|
-
if (
|
|
426
|
-
return
|
|
446
|
+
for (var C = 0; C < y.length; C++) {
|
|
447
|
+
var T = r(y, C, l, E, d + "[" + C + "]", t);
|
|
448
|
+
if (T instanceof Error)
|
|
449
|
+
return T;
|
|
427
450
|
}
|
|
428
451
|
return null;
|
|
429
452
|
}
|
|
430
|
-
return I(
|
|
453
|
+
return I(a);
|
|
431
454
|
}
|
|
432
455
|
function A() {
|
|
433
|
-
function r(
|
|
434
|
-
var d =
|
|
456
|
+
function r(a, b, p, l, E) {
|
|
457
|
+
var d = a[b];
|
|
435
458
|
if (!f(d)) {
|
|
436
|
-
var y =
|
|
459
|
+
var y = D(d);
|
|
437
460
|
return new R("Invalid " + l + " `" + E + "` of type " + ("`" + y + "` supplied to `" + p + "`, expected a single ReactElement."));
|
|
438
461
|
}
|
|
439
462
|
return null;
|
|
440
463
|
}
|
|
441
464
|
return I(r);
|
|
442
465
|
}
|
|
443
|
-
function
|
|
444
|
-
function r(
|
|
445
|
-
var d =
|
|
466
|
+
function i() {
|
|
467
|
+
function r(a, b, p, l, E) {
|
|
468
|
+
var d = a[b];
|
|
446
469
|
if (!e.isValidElementType(d)) {
|
|
447
|
-
var y =
|
|
470
|
+
var y = D(d);
|
|
448
471
|
return new R("Invalid " + l + " `" + E + "` of type " + ("`" + y + "` supplied to `" + p + "`, expected a single ReactElement type."));
|
|
449
472
|
}
|
|
450
473
|
return null;
|
|
@@ -452,121 +475,121 @@ function Ye() {
|
|
|
452
475
|
return I(r);
|
|
453
476
|
}
|
|
454
477
|
function W(r) {
|
|
455
|
-
function
|
|
478
|
+
function a(b, p, l, E, d) {
|
|
456
479
|
if (!(b[p] instanceof r)) {
|
|
457
|
-
var y = r.name || x,
|
|
458
|
-
return new R("Invalid " + E + " `" + d + "` of type " + ("`" +
|
|
480
|
+
var y = r.name || x, g = ee(b[p]);
|
|
481
|
+
return new R("Invalid " + E + " `" + d + "` of type " + ("`" + g + "` supplied to `" + l + "`, expected ") + ("instance of `" + y + "`."));
|
|
459
482
|
}
|
|
460
483
|
return null;
|
|
461
484
|
}
|
|
462
|
-
return I(
|
|
485
|
+
return I(a);
|
|
463
486
|
}
|
|
464
487
|
function B(r) {
|
|
465
488
|
if (!Array.isArray(r))
|
|
466
489
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? u(
|
|
467
490
|
"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])."
|
|
468
491
|
) : u("Invalid argument supplied to oneOf, expected an array.")), h;
|
|
469
|
-
function
|
|
470
|
-
for (var y = b[p],
|
|
471
|
-
if (
|
|
492
|
+
function a(b, p, l, E, d) {
|
|
493
|
+
for (var y = b[p], g = 0; g < r.length; g++)
|
|
494
|
+
if ($(y, r[g]))
|
|
472
495
|
return null;
|
|
473
|
-
var
|
|
474
|
-
var
|
|
475
|
-
return
|
|
496
|
+
var C = JSON.stringify(r, function(M, o) {
|
|
497
|
+
var k = L(o);
|
|
498
|
+
return k === "symbol" ? String(o) : o;
|
|
476
499
|
});
|
|
477
|
-
return new R("Invalid " + E + " `" + d + "` of value `" + String(y) + "` " + ("supplied to `" + l + "`, expected one of " +
|
|
500
|
+
return new R("Invalid " + E + " `" + d + "` of value `" + String(y) + "` " + ("supplied to `" + l + "`, expected one of " + C + "."));
|
|
478
501
|
}
|
|
479
|
-
return I(
|
|
502
|
+
return I(a);
|
|
480
503
|
}
|
|
481
504
|
function J(r) {
|
|
482
|
-
function
|
|
505
|
+
function a(b, p, l, E, d) {
|
|
483
506
|
if (typeof r != "function")
|
|
484
507
|
return new R("Property `" + d + "` of component `" + l + "` has invalid PropType notation inside objectOf.");
|
|
485
|
-
var y = b[p],
|
|
486
|
-
if (
|
|
487
|
-
return new R("Invalid " + E + " `" + d + "` of type " + ("`" +
|
|
488
|
-
for (var
|
|
489
|
-
if (
|
|
490
|
-
var
|
|
491
|
-
if (
|
|
492
|
-
return
|
|
508
|
+
var y = b[p], g = D(y);
|
|
509
|
+
if (g !== "object")
|
|
510
|
+
return new R("Invalid " + E + " `" + d + "` of type " + ("`" + g + "` supplied to `" + l + "`, expected an object."));
|
|
511
|
+
for (var C in y)
|
|
512
|
+
if (n(y, C)) {
|
|
513
|
+
var T = r(y, C, l, E, d + "." + C, t);
|
|
514
|
+
if (T instanceof Error)
|
|
515
|
+
return T;
|
|
493
516
|
}
|
|
494
517
|
return null;
|
|
495
518
|
}
|
|
496
|
-
return I(
|
|
519
|
+
return I(a);
|
|
497
520
|
}
|
|
498
521
|
function X(r) {
|
|
499
522
|
if (!Array.isArray(r))
|
|
500
523
|
return process.env.NODE_ENV !== "production" && u("Invalid argument supplied to oneOfType, expected an instance of array."), h;
|
|
501
|
-
for (var
|
|
502
|
-
var b = r[
|
|
524
|
+
for (var a = 0; a < r.length; a++) {
|
|
525
|
+
var b = r[a];
|
|
503
526
|
if (typeof b != "function")
|
|
504
527
|
return u(
|
|
505
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(b) + " at index " +
|
|
528
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(b) + " at index " + a + "."
|
|
506
529
|
), h;
|
|
507
530
|
}
|
|
508
|
-
function p(l, E, d, y,
|
|
509
|
-
for (var
|
|
510
|
-
var M = r[
|
|
511
|
-
if (
|
|
531
|
+
function p(l, E, d, y, g) {
|
|
532
|
+
for (var C = [], T = 0; T < r.length; T++) {
|
|
533
|
+
var M = r[T], o = M(l, E, d, y, g, t);
|
|
534
|
+
if (o == null)
|
|
512
535
|
return null;
|
|
513
|
-
|
|
536
|
+
o.data && n(o.data, "expectedType") && C.push(o.data.expectedType);
|
|
514
537
|
}
|
|
515
|
-
var
|
|
516
|
-
return new R("Invalid " + y + " `" +
|
|
538
|
+
var k = C.length > 0 ? ", expected one of type [" + C.join(", ") + "]" : "";
|
|
539
|
+
return new R("Invalid " + y + " `" + g + "` supplied to " + ("`" + d + "`" + k + "."));
|
|
517
540
|
}
|
|
518
541
|
return I(p);
|
|
519
542
|
}
|
|
520
543
|
function Z() {
|
|
521
|
-
function r(
|
|
522
|
-
return N(
|
|
544
|
+
function r(a, b, p, l, E) {
|
|
545
|
+
return N(a[b]) ? null : new R("Invalid " + l + " `" + E + "` supplied to " + ("`" + p + "`, expected a ReactNode."));
|
|
523
546
|
}
|
|
524
547
|
return I(r);
|
|
525
548
|
}
|
|
526
|
-
function U(r,
|
|
549
|
+
function U(r, a, b, p, l) {
|
|
527
550
|
return new R(
|
|
528
|
-
(r || "React class") + ": " +
|
|
551
|
+
(r || "React class") + ": " + a + " type `" + b + "." + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + l + "`."
|
|
529
552
|
);
|
|
530
553
|
}
|
|
531
554
|
function G(r) {
|
|
532
|
-
function
|
|
533
|
-
var y = b[p],
|
|
534
|
-
if (
|
|
535
|
-
return new R("Invalid " + E + " `" + d + "` of type `" +
|
|
536
|
-
for (var
|
|
537
|
-
var
|
|
538
|
-
if (typeof
|
|
539
|
-
return U(l, E, d,
|
|
540
|
-
var M =
|
|
555
|
+
function a(b, p, l, E, d) {
|
|
556
|
+
var y = b[p], g = D(y);
|
|
557
|
+
if (g !== "object")
|
|
558
|
+
return new R("Invalid " + E + " `" + d + "` of type `" + g + "` " + ("supplied to `" + l + "`, expected `object`."));
|
|
559
|
+
for (var C in r) {
|
|
560
|
+
var T = r[C];
|
|
561
|
+
if (typeof T != "function")
|
|
562
|
+
return U(l, E, d, C, L(T));
|
|
563
|
+
var M = T(y, C, l, E, d + "." + C, t);
|
|
541
564
|
if (M)
|
|
542
565
|
return M;
|
|
543
566
|
}
|
|
544
567
|
return null;
|
|
545
568
|
}
|
|
546
|
-
return I(
|
|
569
|
+
return I(a);
|
|
547
570
|
}
|
|
548
571
|
function K(r) {
|
|
549
|
-
function
|
|
550
|
-
var y = b[p],
|
|
551
|
-
if (
|
|
552
|
-
return new R("Invalid " + E + " `" + d + "` of type `" +
|
|
553
|
-
var
|
|
554
|
-
for (var
|
|
555
|
-
var M = r[
|
|
556
|
-
if (
|
|
557
|
-
return U(l, E, d,
|
|
572
|
+
function a(b, p, l, E, d) {
|
|
573
|
+
var y = b[p], g = D(y);
|
|
574
|
+
if (g !== "object")
|
|
575
|
+
return new R("Invalid " + E + " `" + d + "` of type `" + g + "` " + ("supplied to `" + l + "`, expected `object`."));
|
|
576
|
+
var C = s({}, b[p], r);
|
|
577
|
+
for (var T in C) {
|
|
578
|
+
var M = r[T];
|
|
579
|
+
if (n(r, T) && typeof M != "function")
|
|
580
|
+
return U(l, E, d, T, L(M));
|
|
558
581
|
if (!M)
|
|
559
582
|
return new R(
|
|
560
|
-
"Invalid " + E + " `" + d + "` key `" +
|
|
583
|
+
"Invalid " + E + " `" + d + "` key `" + T + "` supplied to `" + l + "`.\nBad object: " + JSON.stringify(b[p], null, " ") + `
|
|
561
584
|
Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
562
585
|
);
|
|
563
|
-
var
|
|
564
|
-
if (
|
|
565
|
-
return
|
|
586
|
+
var o = M(y, T, l, E, d + "." + T, t);
|
|
587
|
+
if (o)
|
|
588
|
+
return o;
|
|
566
589
|
}
|
|
567
590
|
return null;
|
|
568
591
|
}
|
|
569
|
-
return I(
|
|
592
|
+
return I(a);
|
|
570
593
|
}
|
|
571
594
|
function N(r) {
|
|
572
595
|
switch (typeof r) {
|
|
@@ -581,10 +604,10 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
|
581
604
|
return r.every(N);
|
|
582
605
|
if (r === null || f(r))
|
|
583
606
|
return !0;
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
var b =
|
|
587
|
-
if (
|
|
607
|
+
var a = S(r);
|
|
608
|
+
if (a) {
|
|
609
|
+
var b = a.call(r), p;
|
|
610
|
+
if (a !== r.entries) {
|
|
588
611
|
for (; !(p = b.next()).done; )
|
|
589
612
|
if (!N(p.value))
|
|
590
613
|
return !1;
|
|
@@ -601,37 +624,37 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
|
601
624
|
return !1;
|
|
602
625
|
}
|
|
603
626
|
}
|
|
604
|
-
function Q(r,
|
|
605
|
-
return r === "symbol" ? !0 :
|
|
627
|
+
function Q(r, a) {
|
|
628
|
+
return r === "symbol" ? !0 : a ? a["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && a instanceof Symbol : !1;
|
|
606
629
|
}
|
|
607
|
-
function
|
|
608
|
-
var
|
|
609
|
-
return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" : Q(
|
|
630
|
+
function D(r) {
|
|
631
|
+
var a = typeof r;
|
|
632
|
+
return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" : Q(a, r) ? "symbol" : a;
|
|
610
633
|
}
|
|
611
634
|
function L(r) {
|
|
612
635
|
if (typeof r > "u" || r === null)
|
|
613
636
|
return "" + r;
|
|
614
|
-
var
|
|
615
|
-
if (
|
|
637
|
+
var a = D(r);
|
|
638
|
+
if (a === "object") {
|
|
616
639
|
if (r instanceof Date)
|
|
617
640
|
return "date";
|
|
618
641
|
if (r instanceof RegExp)
|
|
619
642
|
return "regexp";
|
|
620
643
|
}
|
|
621
|
-
return
|
|
644
|
+
return a;
|
|
622
645
|
}
|
|
623
646
|
function z(r) {
|
|
624
|
-
var
|
|
625
|
-
switch (
|
|
647
|
+
var a = L(r);
|
|
648
|
+
switch (a) {
|
|
626
649
|
case "array":
|
|
627
650
|
case "object":
|
|
628
|
-
return "an " +
|
|
651
|
+
return "an " + a;
|
|
629
652
|
case "boolean":
|
|
630
653
|
case "date":
|
|
631
654
|
case "regexp":
|
|
632
|
-
return "a " +
|
|
655
|
+
return "a " + a;
|
|
633
656
|
default:
|
|
634
|
-
return
|
|
657
|
+
return a;
|
|
635
658
|
}
|
|
636
659
|
}
|
|
637
660
|
function ee(r) {
|
|
@@ -640,18 +663,18 @@ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
|
|
|
640
663
|
return w.checkPropTypes = c, w.resetWarningCache = c.resetWarningCache, w.PropTypes = w, w;
|
|
641
664
|
}, ie;
|
|
642
665
|
}
|
|
643
|
-
var ae,
|
|
644
|
-
function
|
|
645
|
-
if (
|
|
666
|
+
var ae, ge;
|
|
667
|
+
function ke() {
|
|
668
|
+
if (ge)
|
|
646
669
|
return ae;
|
|
647
|
-
|
|
670
|
+
ge = 1;
|
|
648
671
|
var e = ce();
|
|
649
672
|
function s() {
|
|
650
673
|
}
|
|
651
|
-
function
|
|
674
|
+
function t() {
|
|
652
675
|
}
|
|
653
|
-
return
|
|
654
|
-
function
|
|
676
|
+
return t.resetWarningCache = s, ae = function() {
|
|
677
|
+
function n(h, f, _, v, m, S) {
|
|
655
678
|
if (S !== e) {
|
|
656
679
|
var x = new Error(
|
|
657
680
|
"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"
|
|
@@ -659,31 +682,31 @@ function De() {
|
|
|
659
682
|
throw x.name = "Invariant Violation", x;
|
|
660
683
|
}
|
|
661
684
|
}
|
|
662
|
-
|
|
685
|
+
n.isRequired = n;
|
|
663
686
|
function c() {
|
|
664
|
-
return
|
|
687
|
+
return n;
|
|
665
688
|
}
|
|
666
689
|
var u = {
|
|
667
|
-
array:
|
|
668
|
-
bigint:
|
|
669
|
-
bool:
|
|
670
|
-
func:
|
|
671
|
-
number:
|
|
672
|
-
object:
|
|
673
|
-
string:
|
|
674
|
-
symbol:
|
|
675
|
-
any:
|
|
690
|
+
array: n,
|
|
691
|
+
bigint: n,
|
|
692
|
+
bool: n,
|
|
693
|
+
func: n,
|
|
694
|
+
number: n,
|
|
695
|
+
object: n,
|
|
696
|
+
string: n,
|
|
697
|
+
symbol: n,
|
|
698
|
+
any: n,
|
|
676
699
|
arrayOf: c,
|
|
677
|
-
element:
|
|
678
|
-
elementType:
|
|
700
|
+
element: n,
|
|
701
|
+
elementType: n,
|
|
679
702
|
instanceOf: c,
|
|
680
|
-
node:
|
|
703
|
+
node: n,
|
|
681
704
|
objectOf: c,
|
|
682
705
|
oneOf: c,
|
|
683
706
|
oneOfType: c,
|
|
684
707
|
shape: c,
|
|
685
708
|
exact: c,
|
|
686
|
-
checkPropTypes:
|
|
709
|
+
checkPropTypes: t,
|
|
687
710
|
resetWarningCache: s
|
|
688
711
|
};
|
|
689
712
|
return u.PropTypes = u, u;
|
|
@@ -691,36 +714,36 @@ function De() {
|
|
|
691
714
|
}
|
|
692
715
|
if (process.env.NODE_ENV !== "production") {
|
|
693
716
|
var We = Pe(), Le = !0;
|
|
694
|
-
se.exports =
|
|
717
|
+
se.exports = De()(We.isElement, Le);
|
|
695
718
|
} else
|
|
696
|
-
se.exports =
|
|
719
|
+
se.exports = ke()();
|
|
697
720
|
var Ne = se.exports;
|
|
698
|
-
const
|
|
721
|
+
const Qe = /* @__PURE__ */ $e(Ne);
|
|
699
722
|
function Fe(e, s) {
|
|
700
723
|
typeof e == "function" ? e(s) : e && (e.current = s);
|
|
701
724
|
}
|
|
702
725
|
function Ue(...e) {
|
|
703
726
|
return ue.useMemo(() => e.every((s) => s == null) ? null : (s) => {
|
|
704
|
-
e.forEach((
|
|
705
|
-
Fe(
|
|
727
|
+
e.forEach((t) => {
|
|
728
|
+
Fe(t, s);
|
|
706
729
|
});
|
|
707
730
|
}, e);
|
|
708
731
|
}
|
|
709
|
-
function
|
|
710
|
-
const
|
|
732
|
+
function er(e, s, t = void 0) {
|
|
733
|
+
const n = {};
|
|
711
734
|
return Object.keys(e).forEach(
|
|
712
735
|
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
713
736
|
// @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
|
|
714
737
|
(c) => {
|
|
715
|
-
|
|
738
|
+
n[c] = e[c].reduce((u, h) => {
|
|
716
739
|
if (h) {
|
|
717
740
|
const f = s(h);
|
|
718
|
-
f !== "" && u.push(f),
|
|
741
|
+
f !== "" && u.push(f), t && t[h] && u.push(t[h]);
|
|
719
742
|
}
|
|
720
743
|
return u;
|
|
721
744
|
}, []).join(" ");
|
|
722
745
|
}
|
|
723
|
-
),
|
|
746
|
+
), n;
|
|
724
747
|
}
|
|
725
748
|
const ze = {
|
|
726
749
|
active: "active",
|
|
@@ -736,79 +759,82 @@ const ze = {
|
|
|
736
759
|
required: "required",
|
|
737
760
|
selected: "selected"
|
|
738
761
|
};
|
|
739
|
-
function
|
|
762
|
+
function Te(e) {
|
|
740
763
|
if (e === void 0)
|
|
741
764
|
return {};
|
|
742
765
|
const s = {};
|
|
743
|
-
return Object.keys(e).filter((
|
|
744
|
-
s[
|
|
766
|
+
return Object.keys(e).filter((t) => !(t.match(/^on[A-Z]/) && typeof e[t] == "function")).forEach((t) => {
|
|
767
|
+
s[t] = e[t];
|
|
745
768
|
}), s;
|
|
746
769
|
}
|
|
747
770
|
function He(e) {
|
|
748
771
|
const {
|
|
749
772
|
getSlotProps: s,
|
|
750
|
-
additionalProps:
|
|
751
|
-
externalSlotProps:
|
|
773
|
+
additionalProps: t,
|
|
774
|
+
externalSlotProps: n,
|
|
752
775
|
externalForwardedProps: c,
|
|
753
776
|
className: u
|
|
754
777
|
} = e;
|
|
755
778
|
if (!s) {
|
|
756
|
-
const w = le(
|
|
757
|
-
return w.length > 0 && (R.className = w), Object.keys(
|
|
779
|
+
const w = le(t == null ? void 0 : t.className, u, c == null ? void 0 : c.className, n == null ? void 0 : n.className), $ = Y({}, t == null ? void 0 : t.style, c == null ? void 0 : c.style, n == null ? void 0 : n.style), R = Y({}, t, c, n);
|
|
780
|
+
return w.length > 0 && (R.className = w), Object.keys($).length > 0 && (R.style = $), {
|
|
758
781
|
props: R,
|
|
759
782
|
internalRef: void 0
|
|
760
783
|
};
|
|
761
784
|
}
|
|
762
|
-
const h =
|
|
785
|
+
const h = we(Y({}, c, n)), f = Te(n), _ = Te(c), v = s(h), m = le(v == null ? void 0 : v.className, t == null ? void 0 : t.className, u, c == null ? void 0 : c.className, n == null ? void 0 : n.className), S = Y({}, v == null ? void 0 : v.style, t == null ? void 0 : t.style, c == null ? void 0 : c.style, n == null ? void 0 : n.style), x = Y({}, v, t, _, f);
|
|
763
786
|
return m.length > 0 && (x.className = m), Object.keys(S).length > 0 && (x.style = S), {
|
|
764
787
|
props: x,
|
|
765
788
|
internalRef: v.ref
|
|
766
789
|
};
|
|
767
790
|
}
|
|
768
791
|
const Ve = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
769
|
-
function
|
|
792
|
+
function rr(e) {
|
|
770
793
|
var s;
|
|
771
794
|
const {
|
|
772
|
-
elementType:
|
|
773
|
-
externalSlotProps:
|
|
795
|
+
elementType: t,
|
|
796
|
+
externalSlotProps: n,
|
|
774
797
|
ownerState: c,
|
|
775
798
|
skipResolvingSlotProps: u = !1
|
|
776
|
-
} = e, h =
|
|
799
|
+
} = e, h = je(e, Ve), f = u ? {} : Ae(n, c), {
|
|
777
800
|
props: _,
|
|
778
801
|
internalRef: v
|
|
779
|
-
} = He(
|
|
802
|
+
} = He(Y({}, h, {
|
|
780
803
|
externalSlotProps: f
|
|
781
804
|
})), m = Ue(v, f == null ? void 0 : f.ref, (s = e.additionalProps) == null ? void 0 : s.ref);
|
|
782
|
-
return
|
|
805
|
+
return Re(t, Y({}, _, {
|
|
783
806
|
ref: m
|
|
784
807
|
}), c);
|
|
785
808
|
}
|
|
786
|
-
const
|
|
809
|
+
const Ce = "base";
|
|
787
810
|
function Be(e) {
|
|
788
|
-
return `${
|
|
811
|
+
return `${Ce}--${e}`;
|
|
789
812
|
}
|
|
790
813
|
function Je(e, s) {
|
|
791
|
-
return `${
|
|
814
|
+
return `${Ce}-${e}-${s}`;
|
|
792
815
|
}
|
|
793
816
|
function Xe(e, s) {
|
|
794
|
-
const
|
|
795
|
-
return
|
|
817
|
+
const t = ze[s];
|
|
818
|
+
return t ? Be(t) : Je(e, s);
|
|
796
819
|
}
|
|
797
|
-
function
|
|
798
|
-
const
|
|
799
|
-
return s.forEach((
|
|
800
|
-
|
|
801
|
-
}),
|
|
820
|
+
function tr(e, s) {
|
|
821
|
+
const t = {};
|
|
822
|
+
return s.forEach((n) => {
|
|
823
|
+
t[n] = Xe(e, n);
|
|
824
|
+
}), t;
|
|
802
825
|
}
|
|
803
826
|
export {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
827
|
+
Qe as P,
|
|
828
|
+
je as _,
|
|
829
|
+
tr as a,
|
|
830
|
+
Y as b,
|
|
831
|
+
rr as c,
|
|
808
832
|
er as d,
|
|
809
|
-
|
|
833
|
+
Ke as e,
|
|
834
|
+
we as f,
|
|
810
835
|
Xe as g,
|
|
811
|
-
|
|
836
|
+
$e as h,
|
|
837
|
+
_e as i,
|
|
812
838
|
Fe as s,
|
|
813
839
|
Ue as u
|
|
814
840
|
};
|