@ceed/ads 0.0.5-16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/components/Box/Box.d.ts +5 -0
  2. package/dist/components/Box/Box.js +6 -0
  3. package/dist/components/Box/index.d.ts +3 -0
  4. package/dist/components/Box/index.js +3 -0
  5. package/dist/components/Button/Button.d.ts +8 -0
  6. package/dist/components/Button/Button.js +28 -0
  7. package/dist/components/Button/index.d.ts +3 -0
  8. package/dist/components/Button/index.js +3 -0
  9. package/dist/components/Checkbox/Checkbox.d.ts +8 -0
  10. package/dist/components/Checkbox/Checkbox.js +28 -0
  11. package/dist/components/Checkbox/index.d.ts +3 -0
  12. package/dist/components/Checkbox/index.js +3 -0
  13. package/dist/components/DialogActions/DialogActions.d.ts +10 -0
  14. package/dist/components/DialogActions/DialogActions.js +6 -0
  15. package/dist/components/DialogActions/index.d.ts +3 -0
  16. package/dist/components/DialogActions/index.js +3 -0
  17. package/dist/components/DialogContent/DialogContent.d.ts +9 -0
  18. package/dist/components/DialogContent/DialogContent.js +6 -0
  19. package/dist/components/DialogContent/index.d.ts +3 -0
  20. package/dist/components/DialogContent/index.js +3 -0
  21. package/dist/components/DialogTitle/DialogTitle.d.ts +11 -0
  22. package/dist/components/DialogTitle/DialogTitle.js +6 -0
  23. package/dist/components/DialogTitle/index.d.ts +3 -0
  24. package/dist/components/DialogTitle/index.js +3 -0
  25. package/dist/components/Divider/Divider.d.ts +8 -0
  26. package/dist/components/Divider/Divider.js +28 -0
  27. package/dist/components/Divider/index.d.ts +3 -0
  28. package/dist/components/Divider/index.js +3 -0
  29. package/dist/components/Dropdown/Dropdown.d.ts +2 -0
  30. package/dist/components/Dropdown/Dropdown.js +6 -0
  31. package/dist/components/Dropdown/index.d.ts +3 -0
  32. package/dist/components/Dropdown/index.js +3 -0
  33. package/dist/components/FormControl/FormControl.d.ts +14 -0
  34. package/dist/components/FormControl/FormControl.js +6 -0
  35. package/dist/components/FormControl/index.d.ts +3 -0
  36. package/dist/components/FormControl/index.js +3 -0
  37. package/dist/components/FormHelperText/FormHelperText.d.ts +8 -0
  38. package/dist/components/FormHelperText/FormHelperText.js +6 -0
  39. package/dist/components/FormHelperText/index.d.ts +3 -0
  40. package/dist/components/FormHelperText/index.js +3 -0
  41. package/dist/components/FormLabel/FormLabel.d.ts +9 -0
  42. package/dist/components/FormLabel/FormLabel.js +6 -0
  43. package/dist/components/FormLabel/index.d.ts +3 -0
  44. package/dist/components/FormLabel/index.js +3 -0
  45. package/dist/components/Grid/Grid.d.ts +7 -0
  46. package/dist/components/Grid/Grid.js +6 -0
  47. package/dist/components/Grid/index.d.ts +3 -0
  48. package/dist/components/Grid/index.js +3 -0
  49. package/dist/components/IconButton/IconButton.d.ts +8 -0
  50. package/dist/components/IconButton/IconButton.js +28 -0
  51. package/dist/components/IconButton/index.d.ts +3 -0
  52. package/dist/components/IconButton/index.js +3 -0
  53. package/dist/components/Input/Input.d.ts +8 -0
  54. package/dist/components/Input/Input.js +28 -0
  55. package/dist/components/Input/index.d.ts +3 -0
  56. package/dist/components/Input/index.js +3 -0
  57. package/dist/components/Menu/Menu.d.ts +18 -0
  58. package/dist/components/Menu/Menu.js +56 -0
  59. package/dist/components/Menu/index.d.ts +3 -0
  60. package/dist/components/Menu/index.js +3 -0
  61. package/dist/components/Modal/Modal.d.ts +38 -0
  62. package/dist/components/Modal/Modal.js +18 -0
  63. package/dist/components/Modal/index.d.ts +3 -0
  64. package/dist/components/Modal/index.js +3 -0
  65. package/dist/components/Radio/Radio.d.ts +36 -0
  66. package/dist/components/Radio/Radio.js +10 -0
  67. package/dist/components/Radio/index.d.ts +3 -0
  68. package/dist/components/Radio/index.js +3 -0
  69. package/dist/components/Select/Select.d.ts +26 -0
  70. package/dist/components/Select/Select.js +12 -0
  71. package/dist/components/Select/index.d.ts +3 -0
  72. package/dist/components/Select/index.js +3 -0
  73. package/dist/components/Sheet/Sheet.d.ts +11 -0
  74. package/dist/components/Sheet/Sheet.js +6 -0
  75. package/dist/components/Sheet/index.d.ts +3 -0
  76. package/dist/components/Sheet/index.js +3 -0
  77. package/dist/components/Stack/Stack.d.ts +12 -0
  78. package/dist/components/Stack/Stack.js +6 -0
  79. package/dist/components/Stack/index.d.ts +3 -0
  80. package/dist/components/Stack/index.js +3 -0
  81. package/dist/components/Switch/Switch.d.ts +8 -0
  82. package/dist/components/Switch/Switch.js +54 -0
  83. package/dist/components/Switch/index.d.ts +3 -0
  84. package/dist/components/Switch/index.js +3 -0
  85. package/dist/components/Table/Table.d.ts +8 -0
  86. package/dist/components/Table/Table.js +28 -0
  87. package/dist/components/Table/index.d.ts +3 -0
  88. package/dist/components/Table/index.js +3 -0
  89. package/dist/components/Textarea/Textarea.d.ts +8 -0
  90. package/dist/components/Textarea/Textarea.js +28 -0
  91. package/dist/components/Textarea/index.d.ts +3 -0
  92. package/dist/components/Textarea/index.js +3 -0
  93. package/dist/components/ThemeProvider/ThemeProvider.d.ts +8 -0
  94. package/dist/components/ThemeProvider/ThemeProvider.js +13 -0
  95. package/dist/components/ThemeProvider/index.d.ts +3 -0
  96. package/dist/components/ThemeProvider/index.js +3 -0
  97. package/dist/components/Tooltip/Tooltip.d.ts +8 -0
  98. package/dist/components/Tooltip/Tooltip.js +28 -0
  99. package/dist/components/Tooltip/index.d.ts +3 -0
  100. package/dist/components/Tooltip/index.js +3 -0
  101. package/dist/components/Typography/Typography.d.ts +8 -0
  102. package/dist/components/Typography/Typography.js +28 -0
  103. package/dist/components/Typography/index.d.ts +3 -0
  104. package/dist/components/Typography/index.js +3 -0
  105. package/dist/components/index.d.ts +26 -0
  106. package/dist/components/index.js +26 -0
  107. package/dist/index.d.ts +2 -0
  108. package/dist/index.js +6 -0
  109. package/framer-entry/components/Box/Box.js +5321 -0
  110. package/framer-entry/components/Box/index.js +7 -0
  111. package/framer-entry/components/Button/Button.js +7111 -0
  112. package/framer-entry/components/Button/index.js +7 -0
  113. package/framer-entry/components/Checkbox/Checkbox.js +7374 -0
  114. package/framer-entry/components/Checkbox/index.js +7 -0
  115. package/framer-entry/components/DialogActions/DialogActions.js +6211 -0
  116. package/framer-entry/components/DialogActions/index.js +7 -0
  117. package/framer-entry/components/DialogContent/DialogContent.js +6183 -0
  118. package/framer-entry/components/DialogContent/index.js +7 -0
  119. package/framer-entry/components/DialogTitle/DialogTitle.js +6103 -0
  120. package/framer-entry/components/DialogTitle/index.js +7 -0
  121. package/framer-entry/components/Divider/Divider.js +6184 -0
  122. package/framer-entry/components/Divider/index.js +7 -0
  123. package/framer-entry/components/Dropdown/Dropdown.js +1127 -0
  124. package/framer-entry/components/Dropdown/index.js +7 -0
  125. package/framer-entry/components/FormControl/FormControl.js +6194 -0
  126. package/framer-entry/components/FormControl/index.js +7 -0
  127. package/framer-entry/components/FormHelperText/FormHelperText.js +6071 -0
  128. package/framer-entry/components/FormHelperText/index.js +7 -0
  129. package/framer-entry/components/FormLabel/FormLabel.js +6091 -0
  130. package/framer-entry/components/FormLabel/index.js +7 -0
  131. package/framer-entry/components/Grid/Grid.js +6268 -0
  132. package/framer-entry/components/Grid/index.js +7 -0
  133. package/framer-entry/components/IconButton/IconButton.js +7043 -0
  134. package/framer-entry/components/IconButton/index.js +7 -0
  135. package/framer-entry/components/Input/Input.js +6671 -0
  136. package/framer-entry/components/Input/index.js +7 -0
  137. package/framer-entry/components/Menu/Menu.js +12066 -0
  138. package/framer-entry/components/Menu/index.js +7 -0
  139. package/framer-entry/components/Modal/Modal.js +9387 -0
  140. package/framer-entry/components/Modal/index.js +7 -0
  141. package/framer-entry/components/Radio/Radio.js +7322 -0
  142. package/framer-entry/components/Radio/index.js +7 -0
  143. package/framer-entry/components/Select/Select.js +11502 -0
  144. package/framer-entry/components/Select/index.js +7 -0
  145. package/framer-entry/components/Sheet/Sheet.js +6359 -0
  146. package/framer-entry/components/Sheet/index.js +7 -0
  147. package/framer-entry/components/Stack/Stack.js +6075 -0
  148. package/framer-entry/components/Stack/index.js +7 -0
  149. package/framer-entry/components/Switch/Switch.js +6749 -0
  150. package/framer-entry/components/Switch/index.js +7 -0
  151. package/framer-entry/components/Table/Table.js +6763 -0
  152. package/framer-entry/components/Table/index.js +7 -0
  153. package/framer-entry/components/Textarea/Textarea.js +6861 -0
  154. package/framer-entry/components/Textarea/index.js +7 -0
  155. package/framer-entry/components/ThemeProvider/ThemeProvider.js +6137 -0
  156. package/framer-entry/components/ThemeProvider/index.js +7 -0
  157. package/framer-entry/components/Tooltip/Tooltip.js +8921 -0
  158. package/framer-entry/components/Tooltip/index.js +7 -0
  159. package/framer-entry/components/Typography/Typography.js +6351 -0
  160. package/framer-entry/components/Typography/index.js +7 -0
  161. package/framer-entry/components/index.js +55 -0
  162. package/framer-entry/composited.js +5351 -0
  163. package/framer-entry/index.js +7570 -0
  164. package/package.json +60 -0
@@ -0,0 +1,1127 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
27
+ // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
28
+ var require_react_is_development = __commonJS({
29
+ "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
30
+ "use strict";
31
+ if (true) {
32
+ (function() {
33
+ "use strict";
34
+ var hasSymbol = typeof Symbol === "function" && Symbol.for;
35
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
36
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
37
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
38
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
39
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
40
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
41
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
42
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
43
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
44
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
45
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
46
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
47
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
48
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
49
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
50
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
51
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
52
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
53
+ function isValidElementType(type) {
54
+ return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
55
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
56
+ }
57
+ function typeOf(object) {
58
+ if (typeof object === "object" && object !== null) {
59
+ var $$typeof = object.$$typeof;
60
+ switch ($$typeof) {
61
+ case REACT_ELEMENT_TYPE:
62
+ var type = object.type;
63
+ switch (type) {
64
+ case REACT_ASYNC_MODE_TYPE:
65
+ case REACT_CONCURRENT_MODE_TYPE:
66
+ case REACT_FRAGMENT_TYPE:
67
+ case REACT_PROFILER_TYPE:
68
+ case REACT_STRICT_MODE_TYPE:
69
+ case REACT_SUSPENSE_TYPE:
70
+ return type;
71
+ default:
72
+ var $$typeofType = type && type.$$typeof;
73
+ switch ($$typeofType) {
74
+ case REACT_CONTEXT_TYPE:
75
+ case REACT_FORWARD_REF_TYPE:
76
+ case REACT_LAZY_TYPE:
77
+ case REACT_MEMO_TYPE:
78
+ case REACT_PROVIDER_TYPE:
79
+ return $$typeofType;
80
+ default:
81
+ return $$typeof;
82
+ }
83
+ }
84
+ case REACT_PORTAL_TYPE:
85
+ return $$typeof;
86
+ }
87
+ }
88
+ return void 0;
89
+ }
90
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
91
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
92
+ var ContextConsumer = REACT_CONTEXT_TYPE;
93
+ var ContextProvider = REACT_PROVIDER_TYPE;
94
+ var Element = REACT_ELEMENT_TYPE;
95
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
96
+ var Fragment = REACT_FRAGMENT_TYPE;
97
+ var Lazy = REACT_LAZY_TYPE;
98
+ var Memo = REACT_MEMO_TYPE;
99
+ var Portal = REACT_PORTAL_TYPE;
100
+ var Profiler = REACT_PROFILER_TYPE;
101
+ var StrictMode = REACT_STRICT_MODE_TYPE;
102
+ var Suspense = REACT_SUSPENSE_TYPE;
103
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
104
+ function isAsyncMode(object) {
105
+ {
106
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
107
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
108
+ 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.");
109
+ }
110
+ }
111
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
112
+ }
113
+ function isConcurrentMode(object) {
114
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
115
+ }
116
+ function isContextConsumer(object) {
117
+ return typeOf(object) === REACT_CONTEXT_TYPE;
118
+ }
119
+ function isContextProvider(object) {
120
+ return typeOf(object) === REACT_PROVIDER_TYPE;
121
+ }
122
+ function isElement(object) {
123
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
124
+ }
125
+ function isForwardRef(object) {
126
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
127
+ }
128
+ function isFragment(object) {
129
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
130
+ }
131
+ function isLazy(object) {
132
+ return typeOf(object) === REACT_LAZY_TYPE;
133
+ }
134
+ function isMemo(object) {
135
+ return typeOf(object) === REACT_MEMO_TYPE;
136
+ }
137
+ function isPortal(object) {
138
+ return typeOf(object) === REACT_PORTAL_TYPE;
139
+ }
140
+ function isProfiler(object) {
141
+ return typeOf(object) === REACT_PROFILER_TYPE;
142
+ }
143
+ function isStrictMode(object) {
144
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
145
+ }
146
+ function isSuspense(object) {
147
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
148
+ }
149
+ exports.AsyncMode = AsyncMode;
150
+ exports.ConcurrentMode = ConcurrentMode;
151
+ exports.ContextConsumer = ContextConsumer;
152
+ exports.ContextProvider = ContextProvider;
153
+ exports.Element = Element;
154
+ exports.ForwardRef = ForwardRef;
155
+ exports.Fragment = Fragment;
156
+ exports.Lazy = Lazy;
157
+ exports.Memo = Memo;
158
+ exports.Portal = Portal;
159
+ exports.Profiler = Profiler;
160
+ exports.StrictMode = StrictMode;
161
+ exports.Suspense = Suspense;
162
+ exports.isAsyncMode = isAsyncMode;
163
+ exports.isConcurrentMode = isConcurrentMode;
164
+ exports.isContextConsumer = isContextConsumer;
165
+ exports.isContextProvider = isContextProvider;
166
+ exports.isElement = isElement;
167
+ exports.isForwardRef = isForwardRef;
168
+ exports.isFragment = isFragment;
169
+ exports.isLazy = isLazy;
170
+ exports.isMemo = isMemo;
171
+ exports.isPortal = isPortal;
172
+ exports.isProfiler = isProfiler;
173
+ exports.isStrictMode = isStrictMode;
174
+ exports.isSuspense = isSuspense;
175
+ exports.isValidElementType = isValidElementType;
176
+ exports.typeOf = typeOf;
177
+ })();
178
+ }
179
+ }
180
+ });
181
+
182
+ // ../../node_modules/prop-types/node_modules/react-is/index.js
183
+ var require_react_is = __commonJS({
184
+ "../../node_modules/prop-types/node_modules/react-is/index.js"(exports, module) {
185
+ "use strict";
186
+ if (false) {
187
+ module.exports = null;
188
+ } else {
189
+ module.exports = require_react_is_development();
190
+ }
191
+ }
192
+ });
193
+
194
+ // ../../node_modules/object-assign/index.js
195
+ var require_object_assign = __commonJS({
196
+ "../../node_modules/object-assign/index.js"(exports, module) {
197
+ "use strict";
198
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
199
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
200
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
201
+ function toObject(val) {
202
+ if (val === null || val === void 0) {
203
+ throw new TypeError("Object.assign cannot be called with null or undefined");
204
+ }
205
+ return Object(val);
206
+ }
207
+ function shouldUseNative() {
208
+ try {
209
+ if (!Object.assign) {
210
+ return false;
211
+ }
212
+ var test1 = new String("abc");
213
+ test1[5] = "de";
214
+ if (Object.getOwnPropertyNames(test1)[0] === "5") {
215
+ return false;
216
+ }
217
+ var test2 = {};
218
+ for (var i = 0; i < 10; i++) {
219
+ test2["_" + String.fromCharCode(i)] = i;
220
+ }
221
+ var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
222
+ return test2[n];
223
+ });
224
+ if (order2.join("") !== "0123456789") {
225
+ return false;
226
+ }
227
+ var test3 = {};
228
+ "abcdefghijklmnopqrst".split("").forEach(function(letter) {
229
+ test3[letter] = letter;
230
+ });
231
+ if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
232
+ return false;
233
+ }
234
+ return true;
235
+ } catch (err) {
236
+ return false;
237
+ }
238
+ }
239
+ module.exports = shouldUseNative() ? Object.assign : function(target, source) {
240
+ var from;
241
+ var to = toObject(target);
242
+ var symbols;
243
+ for (var s = 1; s < arguments.length; s++) {
244
+ from = Object(arguments[s]);
245
+ for (var key in from) {
246
+ if (hasOwnProperty.call(from, key)) {
247
+ to[key] = from[key];
248
+ }
249
+ }
250
+ if (getOwnPropertySymbols) {
251
+ symbols = getOwnPropertySymbols(from);
252
+ for (var i = 0; i < symbols.length; i++) {
253
+ if (propIsEnumerable.call(from, symbols[i])) {
254
+ to[symbols[i]] = from[symbols[i]];
255
+ }
256
+ }
257
+ }
258
+ }
259
+ return to;
260
+ };
261
+ }
262
+ });
263
+
264
+ // ../../node_modules/prop-types/lib/ReactPropTypesSecret.js
265
+ var require_ReactPropTypesSecret = __commonJS({
266
+ "../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module) {
267
+ "use strict";
268
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
269
+ module.exports = ReactPropTypesSecret;
270
+ }
271
+ });
272
+
273
+ // ../../node_modules/prop-types/lib/has.js
274
+ var require_has = __commonJS({
275
+ "../../node_modules/prop-types/lib/has.js"(exports, module) {
276
+ module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
277
+ }
278
+ });
279
+
280
+ // ../../node_modules/prop-types/checkPropTypes.js
281
+ var require_checkPropTypes = __commonJS({
282
+ "../../node_modules/prop-types/checkPropTypes.js"(exports, module) {
283
+ "use strict";
284
+ var printWarning = function() {
285
+ };
286
+ if (true) {
287
+ ReactPropTypesSecret = require_ReactPropTypesSecret();
288
+ loggedTypeFailures = {};
289
+ has = require_has();
290
+ printWarning = function(text) {
291
+ var message = "Warning: " + text;
292
+ if (typeof console !== "undefined") {
293
+ console.error(message);
294
+ }
295
+ try {
296
+ throw new Error(message);
297
+ } catch (x) {
298
+ }
299
+ };
300
+ }
301
+ var ReactPropTypesSecret;
302
+ var loggedTypeFailures;
303
+ var has;
304
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
305
+ if (true) {
306
+ for (var typeSpecName in typeSpecs) {
307
+ if (has(typeSpecs, typeSpecName)) {
308
+ var error;
309
+ try {
310
+ if (typeof typeSpecs[typeSpecName] !== "function") {
311
+ var err = Error(
312
+ (componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
313
+ );
314
+ err.name = "Invariant Violation";
315
+ throw err;
316
+ }
317
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
318
+ } catch (ex) {
319
+ error = ex;
320
+ }
321
+ if (error && !(error instanceof Error)) {
322
+ printWarning(
323
+ (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
324
+ );
325
+ }
326
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
327
+ loggedTypeFailures[error.message] = true;
328
+ var stack = getStack ? getStack() : "";
329
+ printWarning(
330
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
331
+ );
332
+ }
333
+ }
334
+ }
335
+ }
336
+ }
337
+ checkPropTypes.resetWarningCache = function() {
338
+ if (true) {
339
+ loggedTypeFailures = {};
340
+ }
341
+ };
342
+ module.exports = checkPropTypes;
343
+ }
344
+ });
345
+
346
+ // ../../node_modules/prop-types/factoryWithTypeCheckers.js
347
+ var require_factoryWithTypeCheckers = __commonJS({
348
+ "../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module) {
349
+ "use strict";
350
+ var ReactIs = require_react_is();
351
+ var assign = require_object_assign();
352
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
353
+ var has = require_has();
354
+ var checkPropTypes = require_checkPropTypes();
355
+ var printWarning = function() {
356
+ };
357
+ if (true) {
358
+ printWarning = function(text) {
359
+ var message = "Warning: " + text;
360
+ if (typeof console !== "undefined") {
361
+ console.error(message);
362
+ }
363
+ try {
364
+ throw new Error(message);
365
+ } catch (x) {
366
+ }
367
+ };
368
+ }
369
+ function emptyFunctionThatReturnsNull() {
370
+ return null;
371
+ }
372
+ module.exports = function(isValidElement, throwOnDirectAccess) {
373
+ var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
374
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
375
+ function getIteratorFn(maybeIterable) {
376
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
377
+ if (typeof iteratorFn === "function") {
378
+ return iteratorFn;
379
+ }
380
+ }
381
+ var ANONYMOUS = "<<anonymous>>";
382
+ var ReactPropTypes = {
383
+ array: createPrimitiveTypeChecker("array"),
384
+ bigint: createPrimitiveTypeChecker("bigint"),
385
+ bool: createPrimitiveTypeChecker("boolean"),
386
+ func: createPrimitiveTypeChecker("function"),
387
+ number: createPrimitiveTypeChecker("number"),
388
+ object: createPrimitiveTypeChecker("object"),
389
+ string: createPrimitiveTypeChecker("string"),
390
+ symbol: createPrimitiveTypeChecker("symbol"),
391
+ any: createAnyTypeChecker(),
392
+ arrayOf: createArrayOfTypeChecker,
393
+ element: createElementTypeChecker(),
394
+ elementType: createElementTypeTypeChecker(),
395
+ instanceOf: createInstanceTypeChecker,
396
+ node: createNodeChecker(),
397
+ objectOf: createObjectOfTypeChecker,
398
+ oneOf: createEnumTypeChecker,
399
+ oneOfType: createUnionTypeChecker,
400
+ shape: createShapeTypeChecker,
401
+ exact: createStrictShapeTypeChecker
402
+ };
403
+ function is(x, y) {
404
+ if (x === y) {
405
+ return x !== 0 || 1 / x === 1 / y;
406
+ } else {
407
+ return x !== x && y !== y;
408
+ }
409
+ }
410
+ function PropTypeError(message, data) {
411
+ this.message = message;
412
+ this.data = data && typeof data === "object" ? data : {};
413
+ this.stack = "";
414
+ }
415
+ PropTypeError.prototype = Error.prototype;
416
+ function createChainableTypeChecker(validate) {
417
+ if (true) {
418
+ var manualPropTypeCallCache = {};
419
+ var manualPropTypeWarningCount = 0;
420
+ }
421
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
422
+ componentName = componentName || ANONYMOUS;
423
+ propFullName = propFullName || propName;
424
+ if (secret !== ReactPropTypesSecret) {
425
+ if (throwOnDirectAccess) {
426
+ var err = new Error(
427
+ "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"
428
+ );
429
+ err.name = "Invariant Violation";
430
+ throw err;
431
+ } else if (typeof console !== "undefined") {
432
+ var cacheKey = componentName + ":" + propName;
433
+ if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
434
+ manualPropTypeWarningCount < 3) {
435
+ printWarning(
436
+ "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. 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."
437
+ );
438
+ manualPropTypeCallCache[cacheKey] = true;
439
+ manualPropTypeWarningCount++;
440
+ }
441
+ }
442
+ }
443
+ if (props[propName] == null) {
444
+ if (isRequired) {
445
+ if (props[propName] === null) {
446
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
447
+ }
448
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
449
+ }
450
+ return null;
451
+ } else {
452
+ return validate(props, propName, componentName, location, propFullName);
453
+ }
454
+ }
455
+ var chainedCheckType = checkType.bind(null, false);
456
+ chainedCheckType.isRequired = checkType.bind(null, true);
457
+ return chainedCheckType;
458
+ }
459
+ function createPrimitiveTypeChecker(expectedType) {
460
+ function validate(props, propName, componentName, location, propFullName, secret) {
461
+ var propValue = props[propName];
462
+ var propType = getPropType(propValue);
463
+ if (propType !== expectedType) {
464
+ var preciseType = getPreciseType(propValue);
465
+ return new PropTypeError(
466
+ "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
467
+ { expectedType }
468
+ );
469
+ }
470
+ return null;
471
+ }
472
+ return createChainableTypeChecker(validate);
473
+ }
474
+ function createAnyTypeChecker() {
475
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
476
+ }
477
+ function createArrayOfTypeChecker(typeChecker) {
478
+ function validate(props, propName, componentName, location, propFullName) {
479
+ if (typeof typeChecker !== "function") {
480
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
481
+ }
482
+ var propValue = props[propName];
483
+ if (!Array.isArray(propValue)) {
484
+ var propType = getPropType(propValue);
485
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
486
+ }
487
+ for (var i = 0; i < propValue.length; i++) {
488
+ var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
489
+ if (error instanceof Error) {
490
+ return error;
491
+ }
492
+ }
493
+ return null;
494
+ }
495
+ return createChainableTypeChecker(validate);
496
+ }
497
+ function createElementTypeChecker() {
498
+ function validate(props, propName, componentName, location, propFullName) {
499
+ var propValue = props[propName];
500
+ if (!isValidElement(propValue)) {
501
+ var propType = getPropType(propValue);
502
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
503
+ }
504
+ return null;
505
+ }
506
+ return createChainableTypeChecker(validate);
507
+ }
508
+ function createElementTypeTypeChecker() {
509
+ function validate(props, propName, componentName, location, propFullName) {
510
+ var propValue = props[propName];
511
+ if (!ReactIs.isValidElementType(propValue)) {
512
+ var propType = getPropType(propValue);
513
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
514
+ }
515
+ return null;
516
+ }
517
+ return createChainableTypeChecker(validate);
518
+ }
519
+ function createInstanceTypeChecker(expectedClass) {
520
+ function validate(props, propName, componentName, location, propFullName) {
521
+ if (!(props[propName] instanceof expectedClass)) {
522
+ var expectedClassName = expectedClass.name || ANONYMOUS;
523
+ var actualClassName = getClassName(props[propName]);
524
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
525
+ }
526
+ return null;
527
+ }
528
+ return createChainableTypeChecker(validate);
529
+ }
530
+ function createEnumTypeChecker(expectedValues) {
531
+ if (!Array.isArray(expectedValues)) {
532
+ if (true) {
533
+ if (arguments.length > 1) {
534
+ printWarning(
535
+ "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])."
536
+ );
537
+ } else {
538
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
539
+ }
540
+ }
541
+ return emptyFunctionThatReturnsNull;
542
+ }
543
+ function validate(props, propName, componentName, location, propFullName) {
544
+ var propValue = props[propName];
545
+ for (var i = 0; i < expectedValues.length; i++) {
546
+ if (is(propValue, expectedValues[i])) {
547
+ return null;
548
+ }
549
+ }
550
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
551
+ var type = getPreciseType(value);
552
+ if (type === "symbol") {
553
+ return String(value);
554
+ }
555
+ return value;
556
+ });
557
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
558
+ }
559
+ return createChainableTypeChecker(validate);
560
+ }
561
+ function createObjectOfTypeChecker(typeChecker) {
562
+ function validate(props, propName, componentName, location, propFullName) {
563
+ if (typeof typeChecker !== "function") {
564
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
565
+ }
566
+ var propValue = props[propName];
567
+ var propType = getPropType(propValue);
568
+ if (propType !== "object") {
569
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
570
+ }
571
+ for (var key in propValue) {
572
+ if (has(propValue, key)) {
573
+ var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
574
+ if (error instanceof Error) {
575
+ return error;
576
+ }
577
+ }
578
+ }
579
+ return null;
580
+ }
581
+ return createChainableTypeChecker(validate);
582
+ }
583
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
584
+ if (!Array.isArray(arrayOfTypeCheckers)) {
585
+ true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
586
+ return emptyFunctionThatReturnsNull;
587
+ }
588
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
589
+ var checker = arrayOfTypeCheckers[i];
590
+ if (typeof checker !== "function") {
591
+ printWarning(
592
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
593
+ );
594
+ return emptyFunctionThatReturnsNull;
595
+ }
596
+ }
597
+ function validate(props, propName, componentName, location, propFullName) {
598
+ var expectedTypes = [];
599
+ for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
600
+ var checker2 = arrayOfTypeCheckers[i2];
601
+ var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
602
+ if (checkerResult == null) {
603
+ return null;
604
+ }
605
+ if (checkerResult.data && has(checkerResult.data, "expectedType")) {
606
+ expectedTypes.push(checkerResult.data.expectedType);
607
+ }
608
+ }
609
+ var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
610
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
611
+ }
612
+ return createChainableTypeChecker(validate);
613
+ }
614
+ function createNodeChecker() {
615
+ function validate(props, propName, componentName, location, propFullName) {
616
+ if (!isNode(props[propName])) {
617
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
618
+ }
619
+ return null;
620
+ }
621
+ return createChainableTypeChecker(validate);
622
+ }
623
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
624
+ return new PropTypeError(
625
+ (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
626
+ );
627
+ }
628
+ function createShapeTypeChecker(shapeTypes) {
629
+ function validate(props, propName, componentName, location, propFullName) {
630
+ var propValue = props[propName];
631
+ var propType = getPropType(propValue);
632
+ if (propType !== "object") {
633
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
634
+ }
635
+ for (var key in shapeTypes) {
636
+ var checker = shapeTypes[key];
637
+ if (typeof checker !== "function") {
638
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
639
+ }
640
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
641
+ if (error) {
642
+ return error;
643
+ }
644
+ }
645
+ return null;
646
+ }
647
+ return createChainableTypeChecker(validate);
648
+ }
649
+ function createStrictShapeTypeChecker(shapeTypes) {
650
+ function validate(props, propName, componentName, location, propFullName) {
651
+ var propValue = props[propName];
652
+ var propType = getPropType(propValue);
653
+ if (propType !== "object") {
654
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
655
+ }
656
+ var allKeys = assign({}, props[propName], shapeTypes);
657
+ for (var key in allKeys) {
658
+ var checker = shapeTypes[key];
659
+ if (has(shapeTypes, key) && typeof checker !== "function") {
660
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
661
+ }
662
+ if (!checker) {
663
+ return new PropTypeError(
664
+ "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
665
+ );
666
+ }
667
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
668
+ if (error) {
669
+ return error;
670
+ }
671
+ }
672
+ return null;
673
+ }
674
+ return createChainableTypeChecker(validate);
675
+ }
676
+ function isNode(propValue) {
677
+ switch (typeof propValue) {
678
+ case "number":
679
+ case "string":
680
+ case "undefined":
681
+ return true;
682
+ case "boolean":
683
+ return !propValue;
684
+ case "object":
685
+ if (Array.isArray(propValue)) {
686
+ return propValue.every(isNode);
687
+ }
688
+ if (propValue === null || isValidElement(propValue)) {
689
+ return true;
690
+ }
691
+ var iteratorFn = getIteratorFn(propValue);
692
+ if (iteratorFn) {
693
+ var iterator = iteratorFn.call(propValue);
694
+ var step;
695
+ if (iteratorFn !== propValue.entries) {
696
+ while (!(step = iterator.next()).done) {
697
+ if (!isNode(step.value)) {
698
+ return false;
699
+ }
700
+ }
701
+ } else {
702
+ while (!(step = iterator.next()).done) {
703
+ var entry = step.value;
704
+ if (entry) {
705
+ if (!isNode(entry[1])) {
706
+ return false;
707
+ }
708
+ }
709
+ }
710
+ }
711
+ } else {
712
+ return false;
713
+ }
714
+ return true;
715
+ default:
716
+ return false;
717
+ }
718
+ }
719
+ function isSymbol(propType, propValue) {
720
+ if (propType === "symbol") {
721
+ return true;
722
+ }
723
+ if (!propValue) {
724
+ return false;
725
+ }
726
+ if (propValue["@@toStringTag"] === "Symbol") {
727
+ return true;
728
+ }
729
+ if (typeof Symbol === "function" && propValue instanceof Symbol) {
730
+ return true;
731
+ }
732
+ return false;
733
+ }
734
+ function getPropType(propValue) {
735
+ var propType = typeof propValue;
736
+ if (Array.isArray(propValue)) {
737
+ return "array";
738
+ }
739
+ if (propValue instanceof RegExp) {
740
+ return "object";
741
+ }
742
+ if (isSymbol(propType, propValue)) {
743
+ return "symbol";
744
+ }
745
+ return propType;
746
+ }
747
+ function getPreciseType(propValue) {
748
+ if (typeof propValue === "undefined" || propValue === null) {
749
+ return "" + propValue;
750
+ }
751
+ var propType = getPropType(propValue);
752
+ if (propType === "object") {
753
+ if (propValue instanceof Date) {
754
+ return "date";
755
+ } else if (propValue instanceof RegExp) {
756
+ return "regexp";
757
+ }
758
+ }
759
+ return propType;
760
+ }
761
+ function getPostfixForTypeWarning(value) {
762
+ var type = getPreciseType(value);
763
+ switch (type) {
764
+ case "array":
765
+ case "object":
766
+ return "an " + type;
767
+ case "boolean":
768
+ case "date":
769
+ case "regexp":
770
+ return "a " + type;
771
+ default:
772
+ return type;
773
+ }
774
+ }
775
+ function getClassName(propValue) {
776
+ if (!propValue.constructor || !propValue.constructor.name) {
777
+ return ANONYMOUS;
778
+ }
779
+ return propValue.constructor.name;
780
+ }
781
+ ReactPropTypes.checkPropTypes = checkPropTypes;
782
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
783
+ ReactPropTypes.PropTypes = ReactPropTypes;
784
+ return ReactPropTypes;
785
+ };
786
+ }
787
+ });
788
+
789
+ // ../../node_modules/prop-types/index.js
790
+ var require_prop_types = __commonJS({
791
+ "../../node_modules/prop-types/index.js"(exports, module) {
792
+ if (true) {
793
+ ReactIs = require_react_is();
794
+ throwOnDirectAccess = true;
795
+ module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
796
+ } else {
797
+ module.exports = null();
798
+ }
799
+ var ReactIs;
800
+ var throwOnDirectAccess;
801
+ }
802
+ });
803
+
804
+ // ../../node_modules/@babel/runtime/helpers/esm/extends.js
805
+ function _extends() {
806
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
807
+ for (var i = 1; i < arguments.length; i++) {
808
+ var source = arguments[i];
809
+ for (var key in source) {
810
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
811
+ target[key] = source[key];
812
+ }
813
+ }
814
+ }
815
+ return target;
816
+ };
817
+ return _extends.apply(this, arguments);
818
+ }
819
+
820
+ // ../../node_modules/@mui/utils/exactProp/exactProp.js
821
+ var specialProperty = "exact-prop: \u200B";
822
+ function exactProp(propTypes) {
823
+ if (false) {
824
+ return propTypes;
825
+ }
826
+ return _extends({}, propTypes, {
827
+ [specialProperty]: (props) => {
828
+ const unsupportedProps = Object.keys(props).filter((prop) => !propTypes.hasOwnProperty(prop));
829
+ if (unsupportedProps.length > 0) {
830
+ return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
831
+ }
832
+ return null;
833
+ }
834
+ });
835
+ }
836
+
837
+ // ../../node_modules/@mui/base/Dropdown/Dropdown.js
838
+ var import_prop_types = __toESM(require_prop_types());
839
+ import * as React4 from "react";
840
+
841
+ // ../../node_modules/@mui/base/useDropdown/DropdownContext.js
842
+ import * as React from "react";
843
+ var DropdownContext = /* @__PURE__ */ React.createContext(null);
844
+
845
+ // ../../node_modules/@mui/base/useDropdown/useDropdown.js
846
+ import * as React3 from "react";
847
+
848
+ // ../../node_modules/@mui/base/utils/useControllableReducer.js
849
+ import * as React2 from "react";
850
+ function areEqual(a, b) {
851
+ return a === b;
852
+ }
853
+ var EMPTY_OBJECT = {};
854
+ var NOOP = () => {
855
+ };
856
+ function getControlledState(internalState, controlledProps) {
857
+ const augmentedState = _extends({}, internalState);
858
+ Object.keys(controlledProps).forEach((key) => {
859
+ if (controlledProps[key] !== void 0) {
860
+ augmentedState[key] = controlledProps[key];
861
+ }
862
+ });
863
+ return augmentedState;
864
+ }
865
+ function useStateChangeDetection(parameters) {
866
+ const {
867
+ nextState,
868
+ initialState,
869
+ stateComparers,
870
+ onStateChange,
871
+ controlledProps,
872
+ lastActionRef
873
+ } = parameters;
874
+ const internalPreviousStateRef = React2.useRef(initialState);
875
+ React2.useEffect(() => {
876
+ if (lastActionRef.current === null) {
877
+ return;
878
+ }
879
+ const previousState = getControlledState(internalPreviousStateRef.current, controlledProps);
880
+ Object.keys(nextState).forEach((key) => {
881
+ var _stateComparers$key;
882
+ const stateComparer = (_stateComparers$key = stateComparers[key]) != null ? _stateComparers$key : areEqual;
883
+ const nextStateItem = nextState[key];
884
+ const previousStateItem = previousState[key];
885
+ if (previousStateItem == null && nextStateItem != null || previousStateItem != null && nextStateItem == null || previousStateItem != null && nextStateItem != null && !stateComparer(nextStateItem, previousStateItem)) {
886
+ var _event, _type;
887
+ onStateChange == null || onStateChange((_event = lastActionRef.current.event) != null ? _event : null, key, nextStateItem, (_type = lastActionRef.current.type) != null ? _type : "", nextState);
888
+ }
889
+ });
890
+ internalPreviousStateRef.current = nextState;
891
+ lastActionRef.current = null;
892
+ }, [internalPreviousStateRef, nextState, lastActionRef, onStateChange, stateComparers, controlledProps]);
893
+ }
894
+ function useControllableReducer(parameters) {
895
+ const lastActionRef = React2.useRef(null);
896
+ const {
897
+ reducer,
898
+ initialState,
899
+ controlledProps = EMPTY_OBJECT,
900
+ stateComparers = EMPTY_OBJECT,
901
+ onStateChange = NOOP,
902
+ actionContext,
903
+ componentName = ""
904
+ } = parameters;
905
+ const controlledPropsRef = React2.useRef(controlledProps);
906
+ if (true) {
907
+ React2.useEffect(() => {
908
+ Object.keys(controlledProps).forEach((key) => {
909
+ if (controlledPropsRef.current[key] !== void 0 && controlledProps[key] === void 0) {
910
+ console.error(`useControllableReducer: ${componentName ? `The ${componentName} component` : "A component"} is changing a controlled prop to be uncontrolled: ${key}`);
911
+ }
912
+ if (controlledPropsRef.current[key] === void 0 && controlledProps[key] !== void 0) {
913
+ console.error(`useControllableReducer: ${componentName ? `The ${componentName} component` : "A component"} is changing an uncontrolled prop to be controlled: ${key}`);
914
+ }
915
+ });
916
+ }, [controlledProps, componentName]);
917
+ }
918
+ const reducerWithControlledState = React2.useCallback((state, action) => {
919
+ lastActionRef.current = action;
920
+ const controlledState = getControlledState(state, controlledProps);
921
+ const newState = reducer(controlledState, action);
922
+ return newState;
923
+ }, [controlledProps, reducer]);
924
+ const [nextState, dispatch] = React2.useReducer(reducerWithControlledState, initialState);
925
+ const dispatchWithContext = React2.useCallback((action) => {
926
+ dispatch(_extends({}, action, {
927
+ context: actionContext
928
+ }));
929
+ }, [actionContext]);
930
+ useStateChangeDetection({
931
+ nextState,
932
+ initialState,
933
+ stateComparers: stateComparers != null ? stateComparers : EMPTY_OBJECT,
934
+ onStateChange: onStateChange != null ? onStateChange : NOOP,
935
+ controlledProps,
936
+ lastActionRef
937
+ });
938
+ return [getControlledState(nextState, controlledProps), dispatchWithContext];
939
+ }
940
+
941
+ // ../../node_modules/@mui/base/useDropdown/useDropdown.types.js
942
+ var DropdownActionTypes = {
943
+ blur: "dropdown:blur",
944
+ escapeKeyDown: "dropdown:escapeKeyDown",
945
+ toggle: "dropdown:toggle",
946
+ open: "dropdown:open",
947
+ close: "dropdown:close"
948
+ };
949
+
950
+ // ../../node_modules/@mui/base/useDropdown/dropdownReducer.js
951
+ function dropdownReducer(state, action) {
952
+ switch (action.type) {
953
+ case DropdownActionTypes.blur:
954
+ return {
955
+ open: false,
956
+ changeReason: action.event
957
+ };
958
+ case DropdownActionTypes.escapeKeyDown:
959
+ return {
960
+ open: false,
961
+ changeReason: action.event
962
+ };
963
+ case DropdownActionTypes.toggle:
964
+ return {
965
+ open: !state.open,
966
+ changeReason: action.event
967
+ };
968
+ case DropdownActionTypes.open:
969
+ return {
970
+ open: true,
971
+ changeReason: action.event
972
+ };
973
+ case DropdownActionTypes.close:
974
+ return {
975
+ open: false,
976
+ changeReason: action.event
977
+ };
978
+ default:
979
+ throw new Error(`Unhandled action`);
980
+ }
981
+ }
982
+
983
+ // ../../node_modules/@mui/base/useDropdown/useDropdown.js
984
+ function useDropdown(parameters = {}) {
985
+ const {
986
+ defaultOpen,
987
+ onOpenChange,
988
+ open: openProp,
989
+ componentName = "useDropdown"
990
+ } = parameters;
991
+ const [popupId, setPopupId] = React3.useState("");
992
+ const [triggerElement, setTriggerElement] = React3.useState(null);
993
+ const lastActionType = React3.useRef(null);
994
+ const handleStateChange = React3.useCallback((event, field, value, reason) => {
995
+ if (field === "open") {
996
+ onOpenChange == null || onOpenChange(event, value);
997
+ }
998
+ lastActionType.current = reason;
999
+ }, [onOpenChange]);
1000
+ const controlledProps = React3.useMemo(() => openProp !== void 0 ? {
1001
+ open: openProp
1002
+ } : {}, [openProp]);
1003
+ const [state, dispatch] = useControllableReducer({
1004
+ controlledProps,
1005
+ initialState: defaultOpen ? {
1006
+ open: true,
1007
+ changeReason: null
1008
+ } : {
1009
+ open: false,
1010
+ changeReason: null
1011
+ },
1012
+ onStateChange: handleStateChange,
1013
+ reducer: dropdownReducer,
1014
+ componentName
1015
+ });
1016
+ React3.useEffect(() => {
1017
+ if (!state.open && lastActionType.current !== null && lastActionType.current !== DropdownActionTypes.blur) {
1018
+ triggerElement == null || triggerElement.focus();
1019
+ }
1020
+ }, [state.open, triggerElement]);
1021
+ const contextValue = {
1022
+ state,
1023
+ dispatch,
1024
+ popupId,
1025
+ registerPopup: setPopupId,
1026
+ registerTrigger: setTriggerElement,
1027
+ triggerElement
1028
+ };
1029
+ return {
1030
+ contextValue,
1031
+ open: state.open
1032
+ };
1033
+ }
1034
+
1035
+ // ../../node_modules/@mui/base/Dropdown/Dropdown.js
1036
+ import { jsx as _jsx } from "react/jsx-runtime";
1037
+ function Dropdown(props) {
1038
+ const {
1039
+ children,
1040
+ open,
1041
+ defaultOpen,
1042
+ onOpenChange
1043
+ } = props;
1044
+ const {
1045
+ contextValue
1046
+ } = useDropdown({
1047
+ defaultOpen,
1048
+ onOpenChange,
1049
+ open
1050
+ });
1051
+ return /* @__PURE__ */ _jsx(DropdownContext.Provider, {
1052
+ value: contextValue,
1053
+ children
1054
+ });
1055
+ }
1056
+ true ? Dropdown.propTypes = {
1057
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1058
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1059
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1060
+ // └─────────────────────────────────────────────────────────────────────┘
1061
+ /**
1062
+ * @ignore
1063
+ */
1064
+ children: import_prop_types.default.node,
1065
+ /**
1066
+ * If `true`, the dropdown is initially open.
1067
+ */
1068
+ defaultOpen: import_prop_types.default.bool,
1069
+ /**
1070
+ * Callback fired when the component requests to be opened or closed.
1071
+ */
1072
+ onOpenChange: import_prop_types.default.func,
1073
+ /**
1074
+ * Allows to control whether the dropdown is open.
1075
+ * This is a controlled counterpart of `defaultOpen`.
1076
+ */
1077
+ open: import_prop_types.default.bool
1078
+ } : void 0;
1079
+ if (true) {
1080
+ Dropdown["propTypes"] = exactProp(Dropdown.propTypes);
1081
+ }
1082
+
1083
+ // src/components/Dropdown/Dropdown.tsx
1084
+ import { motion } from "framer-motion";
1085
+ var MotionDropdown = motion(Dropdown);
1086
+ var Dropdown2 = MotionDropdown;
1087
+ Dropdown2.displayName = "Dropdown";
1088
+ export {
1089
+ Dropdown2 as Dropdown
1090
+ };
1091
+ /*! Bundled license information:
1092
+
1093
+ react-is/cjs/react-is.development.js:
1094
+ (** @license React v16.13.1
1095
+ * react-is.development.js
1096
+ *
1097
+ * Copyright (c) Facebook, Inc. and its affiliates.
1098
+ *
1099
+ * This source code is licensed under the MIT license found in the
1100
+ * LICENSE file in the root directory of this source tree.
1101
+ *)
1102
+
1103
+ object-assign/index.js:
1104
+ (*
1105
+ object-assign
1106
+ (c) Sindre Sorhus
1107
+ @license MIT
1108
+ *)
1109
+
1110
+ @mui/utils/index.js:
1111
+ (**
1112
+ * @mui/utils v5.15.9
1113
+ *
1114
+ * @license MIT
1115
+ * This source code is licensed under the MIT license found in the
1116
+ * LICENSE file in the root directory of this source tree.
1117
+ *)
1118
+
1119
+ @mui/joy/index.js:
1120
+ (**
1121
+ * @mui/joy v5.0.0-beta.28
1122
+ *
1123
+ * @license MIT
1124
+ * This source code is licensed under the MIT license found in the
1125
+ * LICENSE file in the root directory of this source tree.
1126
+ *)
1127
+ */