@imtf/icons 0.0.1 → 0.0.3

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 (146) hide show
  1. package/lib/icons/AccountIcon.d.ts +3 -0
  2. package/lib/icons/AccountIcon.js +30 -0
  3. package/lib/icons/AddCircleIcon.d.ts +3 -0
  4. package/lib/icons/AddCircleIcon.js +30 -0
  5. package/lib/icons/AddIcon.d.ts +3 -0
  6. package/lib/icons/AddIcon.js +30 -0
  7. package/lib/icons/AdminIcon.js +1 -0
  8. package/lib/icons/AlertCircleIcon.js +1 -0
  9. package/lib/icons/AlertCircleOutlinedIcon.js +1 -0
  10. package/lib/icons/AlertIcon.js +1 -0
  11. package/lib/icons/AlertLightIcon.js +1 -0
  12. package/lib/icons/AnnotationsIcon.js +1 -0
  13. package/lib/icons/AppIcon.js +1 -0
  14. package/lib/icons/ArrowDropDownIcon.js +1 -0
  15. package/lib/icons/BackIcon.js +1 -0
  16. package/lib/icons/BaseDefaultIcon.js +1 -0
  17. package/lib/icons/BindersIcon.js +1 -0
  18. package/lib/icons/BinocularsIcon.js +1 -0
  19. package/lib/icons/BookmarksIcon.js +1 -0
  20. package/lib/icons/BusinessIcon.js +1 -0
  21. package/lib/icons/CalendarIcon.js +1 -0
  22. package/lib/icons/CancelIcon.js +1 -0
  23. package/lib/icons/CaseManagerIcon.js +1 -0
  24. package/lib/icons/CheckIcon.js +1 -0
  25. package/lib/icons/ChevronDownIcon.js +1 -0
  26. package/lib/icons/ChevronLeftIcon.js +1 -0
  27. package/lib/icons/ChevronRightIcon.js +1 -0
  28. package/lib/icons/ChevronUpIcon.js +1 -0
  29. package/lib/icons/CircleIcon.js +1 -0
  30. package/lib/icons/CollapseAllIcon.js +1 -0
  31. package/lib/icons/CommentIcon.js +1 -0
  32. package/lib/icons/CommentResolvedIcon.js +1 -0
  33. package/lib/icons/CommentUnresolvedIcon.js +1 -0
  34. package/lib/icons/CompareIcon.js +1 -0
  35. package/lib/icons/ComposeFilled1Icon.js +1 -0
  36. package/lib/icons/ComposeFilled2Icon.js +1 -0
  37. package/lib/icons/ComposeIcon.js +1 -0
  38. package/lib/icons/ConfigurationIcon.js +1 -0
  39. package/lib/icons/CustomerIcon.js +1 -0
  40. package/lib/icons/DashboardIcon.js +1 -0
  41. package/lib/icons/DefaultIcon.js +1 -0
  42. package/lib/icons/DeleteIcon.js +1 -0
  43. package/lib/icons/DetailsIcon.js +1 -0
  44. package/lib/icons/DocIcon.js +1 -0
  45. package/lib/icons/DocLinkIcon.js +1 -0
  46. package/lib/icons/DocumentIcon.js +1 -0
  47. package/lib/icons/DossierIcon.js +1 -0
  48. package/lib/icons/DownloadIcon.js +1 -0
  49. package/lib/icons/DragHandleIcon.js +1 -0
  50. package/lib/icons/DragIcon.js +1 -0
  51. package/lib/icons/DropZoneIcon.js +1 -0
  52. package/lib/icons/DuplicateIcon.js +1 -0
  53. package/lib/icons/EditIcon.js +1 -0
  54. package/lib/icons/EditedIcon.js +1 -0
  55. package/lib/icons/EmptyNotificationIcon.js +1 -0
  56. package/lib/icons/EntityIcon.js +1 -0
  57. package/lib/icons/EraseIcon.js +1 -0
  58. package/lib/icons/ExpandContentIcon.js +1 -0
  59. package/lib/icons/ExternalLinkIcon.js +1 -0
  60. package/lib/icons/EyeIcon.js +1 -0
  61. package/lib/icons/FileArchiveIcon.js +1 -0
  62. package/lib/icons/FileIcon.js +1 -0
  63. package/lib/icons/FileImageIcon.js +1 -0
  64. package/lib/icons/FileImageLinkIcon.js +1 -0
  65. package/lib/icons/FileLinkIcon.js +1 -0
  66. package/lib/icons/FilePdfIcon.js +1 -0
  67. package/lib/icons/FilePdfLinkIcon.js +1 -0
  68. package/lib/icons/FileStackIcon.js +1 -0
  69. package/lib/icons/FlagIcon.js +1 -0
  70. package/lib/icons/FloppyFilledIcon.js +1 -0
  71. package/lib/icons/FloppyIcon.js +1 -0
  72. package/lib/icons/FolderAddIcon.js +1 -0
  73. package/lib/icons/FolderIcon.js +1 -0
  74. package/lib/icons/FolderOpenIcon.js +1 -0
  75. package/lib/icons/FolderTemplateIcon.js +1 -0
  76. package/lib/icons/FormIcon.js +1 -0
  77. package/lib/icons/FullscreenIcon.js +1 -0
  78. package/lib/icons/GaugeIcon.js +1 -0
  79. package/lib/icons/GaugeLightIcon.js +1 -0
  80. package/lib/icons/GenerateFileIcon.js +1 -0
  81. package/lib/icons/GraphIcon.js +1 -0
  82. package/lib/icons/GroupIcon.js +1 -0
  83. package/lib/icons/HistoryIcon.js +1 -0
  84. package/lib/icons/HomeIcon.js +1 -0
  85. package/lib/icons/HorseIcon.js +1 -0
  86. package/lib/icons/InboxIcon.js +1 -0
  87. package/lib/icons/InfoIcon.js +1 -0
  88. package/lib/icons/InheritableIcon.js +1 -0
  89. package/lib/icons/InkIcon.js +1 -0
  90. package/lib/icons/LinkIcon.js +1 -0
  91. package/lib/icons/LockIcon.js +1 -0
  92. package/lib/icons/LogoIcon.js +1 -0
  93. package/lib/icons/LogoutIcon.js +1 -0
  94. package/lib/icons/MarkerIcon.js +1 -0
  95. package/lib/icons/MenuIcon.js +1 -0
  96. package/lib/icons/MinusIcon.js +1 -0
  97. package/lib/icons/MoreIcon.js +1 -0
  98. package/lib/icons/NewIcon.js +1 -0
  99. package/lib/icons/NotFoundIcon.js +1 -0
  100. package/lib/icons/NotificationsOutlineIcon.js +1 -0
  101. package/lib/icons/OpenIcon.js +1 -0
  102. package/lib/icons/PermissionsIcon.js +1 -0
  103. package/lib/icons/PersonIcon.js +1 -0
  104. package/lib/icons/PinFilledIcon.js +1 -0
  105. package/lib/icons/PinOutlinedIcon.js +1 -0
  106. package/lib/icons/PlayIcon.js +1 -0
  107. package/lib/icons/PptIcon.js +1 -0
  108. package/lib/icons/PptLinkIcon.js +1 -0
  109. package/lib/icons/PreviewIcon.js +1 -0
  110. package/lib/icons/PrintIcon.js +1 -0
  111. package/lib/icons/QuestionnaireErrorIcon.js +1 -0
  112. package/lib/icons/QuestionnaireIcon.js +1 -0
  113. package/lib/icons/RemoveIcon.js +1 -0
  114. package/lib/icons/RotateRightIcon.js +1 -0
  115. package/lib/icons/SafeOkIcon.js +1 -0
  116. package/lib/icons/SafePassiveIcon.js +1 -0
  117. package/lib/icons/SafeProgressIcon.js +1 -0
  118. package/lib/icons/ScissorsIcon.js +1 -0
  119. package/lib/icons/SearchIcon.js +1 -0
  120. package/lib/icons/SendIcon.js +1 -0
  121. package/lib/icons/ShieldWarningIcon.js +1 -0
  122. package/lib/icons/SidebarCollapsedIcon.js +1 -0
  123. package/lib/icons/SidebarExpandedIcon.js +1 -0
  124. package/lib/icons/SidebarIcon.js +1 -0
  125. package/lib/icons/SquareIcon.js +1 -0
  126. package/lib/icons/StarBorderIcon.js +1 -0
  127. package/lib/icons/StarIcon.js +1 -0
  128. package/lib/icons/SystemBotIcon.js +1 -0
  129. package/lib/icons/TableIcon.js +1 -0
  130. package/lib/icons/TaskIcon.js +1 -0
  131. package/lib/icons/ThumbnailsIcon.js +1 -0
  132. package/lib/icons/TimelapsIcon.js +1 -0
  133. package/lib/icons/TimelineIcon.js +1 -0
  134. package/lib/icons/ToolsIcon.js +1 -0
  135. package/lib/icons/TypesIcon.js +1 -0
  136. package/lib/icons/UploadIcon.js +1 -0
  137. package/lib/icons/ViewTreeIcon.js +1 -0
  138. package/lib/icons/WarningIcon.js +1 -0
  139. package/lib/icons/WatermarkIcon.js +1 -0
  140. package/lib/icons/XlsIcon.js +1 -0
  141. package/lib/icons/XlsLinkIcon.js +1 -0
  142. package/lib/icons/index.d.ts +3 -0
  143. package/lib/icons/index.js +3 -0
  144. package/lib/src/index.js +1338 -8
  145. package/package.json +7 -5
  146. package/README.md +0 -75
package/lib/src/index.js CHANGED
@@ -1,5 +1,4 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { createContext, useMemo } from 'react';
1
+ import require$$0, { createContext, useMemo } from 'react';
3
2
 
4
3
  /*! *****************************************************************************
5
4
  Copyright (c) Microsoft Corporation.
@@ -41,6 +40,1337 @@ function __rest(s, e) {
41
40
 
42
41
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
43
42
 
43
+ var jsxRuntime = {exports: {}};
44
+
45
+ var reactJsxRuntime_production_min = {};
46
+
47
+ /*
48
+ object-assign
49
+ (c) Sindre Sorhus
50
+ @license MIT
51
+ */
52
+ /* eslint-disable no-unused-vars */
53
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
54
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
55
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
56
+
57
+ function toObject(val) {
58
+ if (val === null || val === undefined) {
59
+ throw new TypeError('Object.assign cannot be called with null or undefined');
60
+ }
61
+
62
+ return Object(val);
63
+ }
64
+
65
+ function shouldUseNative() {
66
+ try {
67
+ if (!Object.assign) {
68
+ return false;
69
+ }
70
+
71
+ // Detect buggy property enumeration order in older V8 versions.
72
+
73
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
74
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
75
+ test1[5] = 'de';
76
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
77
+ return false;
78
+ }
79
+
80
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
81
+ var test2 = {};
82
+ for (var i = 0; i < 10; i++) {
83
+ test2['_' + String.fromCharCode(i)] = i;
84
+ }
85
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
86
+ return test2[n];
87
+ });
88
+ if (order2.join('') !== '0123456789') {
89
+ return false;
90
+ }
91
+
92
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
93
+ var test3 = {};
94
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
95
+ test3[letter] = letter;
96
+ });
97
+ if (Object.keys(Object.assign({}, test3)).join('') !==
98
+ 'abcdefghijklmnopqrst') {
99
+ return false;
100
+ }
101
+
102
+ return true;
103
+ } catch (err) {
104
+ // We don't expect any of the above to throw, but better to be safe.
105
+ return false;
106
+ }
107
+ }
108
+
109
+ var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
110
+ var from;
111
+ var to = toObject(target);
112
+ var symbols;
113
+
114
+ for (var s = 1; s < arguments.length; s++) {
115
+ from = Object(arguments[s]);
116
+
117
+ for (var key in from) {
118
+ if (hasOwnProperty$1.call(from, key)) {
119
+ to[key] = from[key];
120
+ }
121
+ }
122
+
123
+ if (getOwnPropertySymbols) {
124
+ symbols = getOwnPropertySymbols(from);
125
+ for (var i = 0; i < symbols.length; i++) {
126
+ if (propIsEnumerable.call(from, symbols[i])) {
127
+ to[symbols[i]] = from[symbols[i]];
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ return to;
134
+ };
135
+
136
+ /** @license React v17.0.2
137
+ * react-jsx-runtime.production.min.js
138
+ *
139
+ * Copyright (c) Facebook, Inc. and its affiliates.
140
+ *
141
+ * This source code is licensed under the MIT license found in the
142
+ * LICENSE file in the root directory of this source tree.
143
+ */
144
+ var f=require$$0,g=60103;reactJsxRuntime_production_min.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");reactJsxRuntime_production_min.Fragment=h("react.fragment");}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};
145
+ function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
146
+
147
+ var reactJsxRuntime_development = {};
148
+
149
+ /** @license React v17.0.2
150
+ * react-jsx-runtime.development.js
151
+ *
152
+ * Copyright (c) Facebook, Inc. and its affiliates.
153
+ *
154
+ * This source code is licensed under the MIT license found in the
155
+ * LICENSE file in the root directory of this source tree.
156
+ */
157
+
158
+ (function (exports) {
159
+
160
+ if (process.env.NODE_ENV !== "production") {
161
+ (function() {
162
+
163
+ var React = require$$0;
164
+ var _assign = objectAssign;
165
+
166
+ // ATTENTION
167
+ // When adding new symbols to this file,
168
+ // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
169
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
170
+ // nor polyfill, then a plain number is used for performance.
171
+ var REACT_ELEMENT_TYPE = 0xeac7;
172
+ var REACT_PORTAL_TYPE = 0xeaca;
173
+ exports.Fragment = 0xeacb;
174
+ var REACT_STRICT_MODE_TYPE = 0xeacc;
175
+ var REACT_PROFILER_TYPE = 0xead2;
176
+ var REACT_PROVIDER_TYPE = 0xeacd;
177
+ var REACT_CONTEXT_TYPE = 0xeace;
178
+ var REACT_FORWARD_REF_TYPE = 0xead0;
179
+ var REACT_SUSPENSE_TYPE = 0xead1;
180
+ var REACT_SUSPENSE_LIST_TYPE = 0xead8;
181
+ var REACT_MEMO_TYPE = 0xead3;
182
+ var REACT_LAZY_TYPE = 0xead4;
183
+ var REACT_BLOCK_TYPE = 0xead9;
184
+ var REACT_SERVER_BLOCK_TYPE = 0xeada;
185
+ var REACT_FUNDAMENTAL_TYPE = 0xead5;
186
+ var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
187
+ var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
188
+
189
+ if (typeof Symbol === 'function' && Symbol.for) {
190
+ var symbolFor = Symbol.for;
191
+ REACT_ELEMENT_TYPE = symbolFor('react.element');
192
+ REACT_PORTAL_TYPE = symbolFor('react.portal');
193
+ exports.Fragment = symbolFor('react.fragment');
194
+ REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
195
+ REACT_PROFILER_TYPE = symbolFor('react.profiler');
196
+ REACT_PROVIDER_TYPE = symbolFor('react.provider');
197
+ REACT_CONTEXT_TYPE = symbolFor('react.context');
198
+ REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
199
+ REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
200
+ REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
201
+ REACT_MEMO_TYPE = symbolFor('react.memo');
202
+ REACT_LAZY_TYPE = symbolFor('react.lazy');
203
+ REACT_BLOCK_TYPE = symbolFor('react.block');
204
+ REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
205
+ REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
206
+ symbolFor('react.scope');
207
+ symbolFor('react.opaque.id');
208
+ REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
209
+ symbolFor('react.offscreen');
210
+ REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
211
+ }
212
+
213
+ var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
214
+ var FAUX_ITERATOR_SYMBOL = '@@iterator';
215
+ function getIteratorFn(maybeIterable) {
216
+ if (maybeIterable === null || typeof maybeIterable !== 'object') {
217
+ return null;
218
+ }
219
+
220
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
221
+
222
+ if (typeof maybeIterator === 'function') {
223
+ return maybeIterator;
224
+ }
225
+
226
+ return null;
227
+ }
228
+
229
+ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
230
+
231
+ function error(format) {
232
+ {
233
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
234
+ args[_key2 - 1] = arguments[_key2];
235
+ }
236
+
237
+ printWarning('error', format, args);
238
+ }
239
+ }
240
+
241
+ function printWarning(level, format, args) {
242
+ // When changing this logic, you might want to also
243
+ // update consoleWithStackDev.www.js as well.
244
+ {
245
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
246
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
247
+
248
+ if (stack !== '') {
249
+ format += '%s';
250
+ args = args.concat([stack]);
251
+ }
252
+
253
+ var argsWithFormat = args.map(function (item) {
254
+ return '' + item;
255
+ }); // Careful: RN currently depends on this prefix
256
+
257
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
258
+ // breaks IE9: https://github.com/facebook/react/issues/13610
259
+ // eslint-disable-next-line react-internal/no-production-logging
260
+
261
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
262
+ }
263
+ }
264
+
265
+ // Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
266
+
267
+ var enableScopeAPI = false; // Experimental Create Event Handle API.
268
+
269
+ function isValidElementType(type) {
270
+ if (typeof type === 'string' || typeof type === 'function') {
271
+ return true;
272
+ } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
273
+
274
+
275
+ if (type === exports.Fragment || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
276
+ return true;
277
+ }
278
+
279
+ if (typeof type === 'object' && type !== null) {
280
+ if (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_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
281
+ return true;
282
+ }
283
+ }
284
+
285
+ return false;
286
+ }
287
+
288
+ function getWrappedName(outerType, innerType, wrapperName) {
289
+ var functionName = innerType.displayName || innerType.name || '';
290
+ return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
291
+ }
292
+
293
+ function getContextName(type) {
294
+ return type.displayName || 'Context';
295
+ }
296
+
297
+ function getComponentName(type) {
298
+ if (type == null) {
299
+ // Host root, text node or just invalid type.
300
+ return null;
301
+ }
302
+
303
+ {
304
+ if (typeof type.tag === 'number') {
305
+ error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
306
+ }
307
+ }
308
+
309
+ if (typeof type === 'function') {
310
+ return type.displayName || type.name || null;
311
+ }
312
+
313
+ if (typeof type === 'string') {
314
+ return type;
315
+ }
316
+
317
+ switch (type) {
318
+ case exports.Fragment:
319
+ return 'Fragment';
320
+
321
+ case REACT_PORTAL_TYPE:
322
+ return 'Portal';
323
+
324
+ case REACT_PROFILER_TYPE:
325
+ return 'Profiler';
326
+
327
+ case REACT_STRICT_MODE_TYPE:
328
+ return 'StrictMode';
329
+
330
+ case REACT_SUSPENSE_TYPE:
331
+ return 'Suspense';
332
+
333
+ case REACT_SUSPENSE_LIST_TYPE:
334
+ return 'SuspenseList';
335
+ }
336
+
337
+ if (typeof type === 'object') {
338
+ switch (type.$$typeof) {
339
+ case REACT_CONTEXT_TYPE:
340
+ var context = type;
341
+ return getContextName(context) + '.Consumer';
342
+
343
+ case REACT_PROVIDER_TYPE:
344
+ var provider = type;
345
+ return getContextName(provider._context) + '.Provider';
346
+
347
+ case REACT_FORWARD_REF_TYPE:
348
+ return getWrappedName(type, type.render, 'ForwardRef');
349
+
350
+ case REACT_MEMO_TYPE:
351
+ return getComponentName(type.type);
352
+
353
+ case REACT_BLOCK_TYPE:
354
+ return getComponentName(type._render);
355
+
356
+ case REACT_LAZY_TYPE:
357
+ {
358
+ var lazyComponent = type;
359
+ var payload = lazyComponent._payload;
360
+ var init = lazyComponent._init;
361
+
362
+ try {
363
+ return getComponentName(init(payload));
364
+ } catch (x) {
365
+ return null;
366
+ }
367
+ }
368
+ }
369
+ }
370
+
371
+ return null;
372
+ }
373
+
374
+ // Helpers to patch console.logs to avoid logging during side-effect free
375
+ // replaying on render function. This currently only patches the object
376
+ // lazily which won't cover if the log function was extracted eagerly.
377
+ // We could also eagerly patch the method.
378
+ var disabledDepth = 0;
379
+ var prevLog;
380
+ var prevInfo;
381
+ var prevWarn;
382
+ var prevError;
383
+ var prevGroup;
384
+ var prevGroupCollapsed;
385
+ var prevGroupEnd;
386
+
387
+ function disabledLog() {}
388
+
389
+ disabledLog.__reactDisabledLog = true;
390
+ function disableLogs() {
391
+ {
392
+ if (disabledDepth === 0) {
393
+ /* eslint-disable react-internal/no-production-logging */
394
+ prevLog = console.log;
395
+ prevInfo = console.info;
396
+ prevWarn = console.warn;
397
+ prevError = console.error;
398
+ prevGroup = console.group;
399
+ prevGroupCollapsed = console.groupCollapsed;
400
+ prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099
401
+
402
+ var props = {
403
+ configurable: true,
404
+ enumerable: true,
405
+ value: disabledLog,
406
+ writable: true
407
+ }; // $FlowFixMe Flow thinks console is immutable.
408
+
409
+ Object.defineProperties(console, {
410
+ info: props,
411
+ log: props,
412
+ warn: props,
413
+ error: props,
414
+ group: props,
415
+ groupCollapsed: props,
416
+ groupEnd: props
417
+ });
418
+ /* eslint-enable react-internal/no-production-logging */
419
+ }
420
+
421
+ disabledDepth++;
422
+ }
423
+ }
424
+ function reenableLogs() {
425
+ {
426
+ disabledDepth--;
427
+
428
+ if (disabledDepth === 0) {
429
+ /* eslint-disable react-internal/no-production-logging */
430
+ var props = {
431
+ configurable: true,
432
+ enumerable: true,
433
+ writable: true
434
+ }; // $FlowFixMe Flow thinks console is immutable.
435
+
436
+ Object.defineProperties(console, {
437
+ log: _assign({}, props, {
438
+ value: prevLog
439
+ }),
440
+ info: _assign({}, props, {
441
+ value: prevInfo
442
+ }),
443
+ warn: _assign({}, props, {
444
+ value: prevWarn
445
+ }),
446
+ error: _assign({}, props, {
447
+ value: prevError
448
+ }),
449
+ group: _assign({}, props, {
450
+ value: prevGroup
451
+ }),
452
+ groupCollapsed: _assign({}, props, {
453
+ value: prevGroupCollapsed
454
+ }),
455
+ groupEnd: _assign({}, props, {
456
+ value: prevGroupEnd
457
+ })
458
+ });
459
+ /* eslint-enable react-internal/no-production-logging */
460
+ }
461
+
462
+ if (disabledDepth < 0) {
463
+ error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
464
+ }
465
+ }
466
+ }
467
+
468
+ var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
469
+ var prefix;
470
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
471
+ {
472
+ if (prefix === undefined) {
473
+ // Extract the VM specific prefix used by each line.
474
+ try {
475
+ throw Error();
476
+ } catch (x) {
477
+ var match = x.stack.trim().match(/\n( *(at )?)/);
478
+ prefix = match && match[1] || '';
479
+ }
480
+ } // We use the prefix to ensure our stacks line up with native stack frames.
481
+
482
+
483
+ return '\n' + prefix + name;
484
+ }
485
+ }
486
+ var reentry = false;
487
+ var componentFrameCache;
488
+
489
+ {
490
+ var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
491
+ componentFrameCache = new PossiblyWeakMap();
492
+ }
493
+
494
+ function describeNativeComponentFrame(fn, construct) {
495
+ // If something asked for a stack inside a fake render, it should get ignored.
496
+ if (!fn || reentry) {
497
+ return '';
498
+ }
499
+
500
+ {
501
+ var frame = componentFrameCache.get(fn);
502
+
503
+ if (frame !== undefined) {
504
+ return frame;
505
+ }
506
+ }
507
+
508
+ var control;
509
+ reentry = true;
510
+ var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.
511
+
512
+ Error.prepareStackTrace = undefined;
513
+ var previousDispatcher;
514
+
515
+ {
516
+ previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function
517
+ // for warnings.
518
+
519
+ ReactCurrentDispatcher.current = null;
520
+ disableLogs();
521
+ }
522
+
523
+ try {
524
+ // This should throw.
525
+ if (construct) {
526
+ // Something should be setting the props in the constructor.
527
+ var Fake = function () {
528
+ throw Error();
529
+ }; // $FlowFixMe
530
+
531
+
532
+ Object.defineProperty(Fake.prototype, 'props', {
533
+ set: function () {
534
+ // We use a throwing setter instead of frozen or non-writable props
535
+ // because that won't throw in a non-strict mode function.
536
+ throw Error();
537
+ }
538
+ });
539
+
540
+ if (typeof Reflect === 'object' && Reflect.construct) {
541
+ // We construct a different control for this case to include any extra
542
+ // frames added by the construct call.
543
+ try {
544
+ Reflect.construct(Fake, []);
545
+ } catch (x) {
546
+ control = x;
547
+ }
548
+
549
+ Reflect.construct(fn, [], Fake);
550
+ } else {
551
+ try {
552
+ Fake.call();
553
+ } catch (x) {
554
+ control = x;
555
+ }
556
+
557
+ fn.call(Fake.prototype);
558
+ }
559
+ } else {
560
+ try {
561
+ throw Error();
562
+ } catch (x) {
563
+ control = x;
564
+ }
565
+
566
+ fn();
567
+ }
568
+ } catch (sample) {
569
+ // This is inlined manually because closure doesn't do it for us.
570
+ if (sample && control && typeof sample.stack === 'string') {
571
+ // This extracts the first frame from the sample that isn't also in the control.
572
+ // Skipping one frame that we assume is the frame that calls the two.
573
+ var sampleLines = sample.stack.split('\n');
574
+ var controlLines = control.stack.split('\n');
575
+ var s = sampleLines.length - 1;
576
+ var c = controlLines.length - 1;
577
+
578
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
579
+ // We expect at least one stack frame to be shared.
580
+ // Typically this will be the root most one. However, stack frames may be
581
+ // cut off due to maximum stack limits. In this case, one maybe cut off
582
+ // earlier than the other. We assume that the sample is longer or the same
583
+ // and there for cut off earlier. So we should find the root most frame in
584
+ // the sample somewhere in the control.
585
+ c--;
586
+ }
587
+
588
+ for (; s >= 1 && c >= 0; s--, c--) {
589
+ // Next we find the first one that isn't the same which should be the
590
+ // frame that called our sample function and the control.
591
+ if (sampleLines[s] !== controlLines[c]) {
592
+ // In V8, the first line is describing the message but other VMs don't.
593
+ // If we're about to return the first line, and the control is also on the same
594
+ // line, that's a pretty good indicator that our sample threw at same line as
595
+ // the control. I.e. before we entered the sample frame. So we ignore this result.
596
+ // This can happen if you passed a class to function component, or non-function.
597
+ if (s !== 1 || c !== 1) {
598
+ do {
599
+ s--;
600
+ c--; // We may still have similar intermediate frames from the construct call.
601
+ // The next one that isn't the same should be our match though.
602
+
603
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
604
+ // V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
605
+ var _frame = '\n' + sampleLines[s].replace(' at new ', ' at ');
606
+
607
+ {
608
+ if (typeof fn === 'function') {
609
+ componentFrameCache.set(fn, _frame);
610
+ }
611
+ } // Return the line we found.
612
+
613
+
614
+ return _frame;
615
+ }
616
+ } while (s >= 1 && c >= 0);
617
+ }
618
+
619
+ break;
620
+ }
621
+ }
622
+ }
623
+ } finally {
624
+ reentry = false;
625
+
626
+ {
627
+ ReactCurrentDispatcher.current = previousDispatcher;
628
+ reenableLogs();
629
+ }
630
+
631
+ Error.prepareStackTrace = previousPrepareStackTrace;
632
+ } // Fallback to just using the name if we couldn't make it throw.
633
+
634
+
635
+ var name = fn ? fn.displayName || fn.name : '';
636
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';
637
+
638
+ {
639
+ if (typeof fn === 'function') {
640
+ componentFrameCache.set(fn, syntheticFrame);
641
+ }
642
+ }
643
+
644
+ return syntheticFrame;
645
+ }
646
+ function describeFunctionComponentFrame(fn, source, ownerFn) {
647
+ {
648
+ return describeNativeComponentFrame(fn, false);
649
+ }
650
+ }
651
+
652
+ function shouldConstruct(Component) {
653
+ var prototype = Component.prototype;
654
+ return !!(prototype && prototype.isReactComponent);
655
+ }
656
+
657
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
658
+
659
+ if (type == null) {
660
+ return '';
661
+ }
662
+
663
+ if (typeof type === 'function') {
664
+ {
665
+ return describeNativeComponentFrame(type, shouldConstruct(type));
666
+ }
667
+ }
668
+
669
+ if (typeof type === 'string') {
670
+ return describeBuiltInComponentFrame(type);
671
+ }
672
+
673
+ switch (type) {
674
+ case REACT_SUSPENSE_TYPE:
675
+ return describeBuiltInComponentFrame('Suspense');
676
+
677
+ case REACT_SUSPENSE_LIST_TYPE:
678
+ return describeBuiltInComponentFrame('SuspenseList');
679
+ }
680
+
681
+ if (typeof type === 'object') {
682
+ switch (type.$$typeof) {
683
+ case REACT_FORWARD_REF_TYPE:
684
+ return describeFunctionComponentFrame(type.render);
685
+
686
+ case REACT_MEMO_TYPE:
687
+ // Memo may contain any component type so we recursively resolve it.
688
+ return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
689
+
690
+ case REACT_BLOCK_TYPE:
691
+ return describeFunctionComponentFrame(type._render);
692
+
693
+ case REACT_LAZY_TYPE:
694
+ {
695
+ var lazyComponent = type;
696
+ var payload = lazyComponent._payload;
697
+ var init = lazyComponent._init;
698
+
699
+ try {
700
+ // Lazy may contain any component type so we recursively resolve it.
701
+ return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
702
+ } catch (x) {}
703
+ }
704
+ }
705
+ }
706
+
707
+ return '';
708
+ }
709
+
710
+ var loggedTypeFailures = {};
711
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
712
+
713
+ function setCurrentlyValidatingElement(element) {
714
+ {
715
+ if (element) {
716
+ var owner = element._owner;
717
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
718
+ ReactDebugCurrentFrame.setExtraStackFrame(stack);
719
+ } else {
720
+ ReactDebugCurrentFrame.setExtraStackFrame(null);
721
+ }
722
+ }
723
+ }
724
+
725
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
726
+ {
727
+ // $FlowFixMe This is okay but Flow doesn't know it.
728
+ var has = Function.call.bind(Object.prototype.hasOwnProperty);
729
+
730
+ for (var typeSpecName in typeSpecs) {
731
+ if (has(typeSpecs, typeSpecName)) {
732
+ var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
733
+ // fail the render phase where it didn't fail before. So we log it.
734
+ // After these have been cleaned up, we'll let them throw.
735
+
736
+ try {
737
+ // This is intentionally an invariant that gets caught. It's the same
738
+ // behavior as without this statement except with a better message.
739
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
740
+ var err = Error((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`.');
741
+ err.name = 'Invariant Violation';
742
+ throw err;
743
+ }
744
+
745
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
746
+ } catch (ex) {
747
+ error$1 = ex;
748
+ }
749
+
750
+ if (error$1 && !(error$1 instanceof Error)) {
751
+ setCurrentlyValidatingElement(element);
752
+
753
+ error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %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).', componentName || 'React class', location, typeSpecName, typeof error$1);
754
+
755
+ setCurrentlyValidatingElement(null);
756
+ }
757
+
758
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
759
+ // Only monitor this failure once because there tends to be a lot of the
760
+ // same error.
761
+ loggedTypeFailures[error$1.message] = true;
762
+ setCurrentlyValidatingElement(element);
763
+
764
+ error('Failed %s type: %s', location, error$1.message);
765
+
766
+ setCurrentlyValidatingElement(null);
767
+ }
768
+ }
769
+ }
770
+ }
771
+ }
772
+
773
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
774
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
775
+ var RESERVED_PROPS = {
776
+ key: true,
777
+ ref: true,
778
+ __self: true,
779
+ __source: true
780
+ };
781
+ var specialPropKeyWarningShown;
782
+ var specialPropRefWarningShown;
783
+ var didWarnAboutStringRefs;
784
+
785
+ {
786
+ didWarnAboutStringRefs = {};
787
+ }
788
+
789
+ function hasValidRef(config) {
790
+ {
791
+ if (hasOwnProperty.call(config, 'ref')) {
792
+ var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
793
+
794
+ if (getter && getter.isReactWarning) {
795
+ return false;
796
+ }
797
+ }
798
+ }
799
+
800
+ return config.ref !== undefined;
801
+ }
802
+
803
+ function hasValidKey(config) {
804
+ {
805
+ if (hasOwnProperty.call(config, 'key')) {
806
+ var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
807
+
808
+ if (getter && getter.isReactWarning) {
809
+ return false;
810
+ }
811
+ }
812
+ }
813
+
814
+ return config.key !== undefined;
815
+ }
816
+
817
+ function warnIfStringRefCannotBeAutoConverted(config, self) {
818
+ {
819
+ if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
820
+ var componentName = getComponentName(ReactCurrentOwner.current.type);
821
+
822
+ if (!didWarnAboutStringRefs[componentName]) {
823
+ error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
824
+
825
+ didWarnAboutStringRefs[componentName] = true;
826
+ }
827
+ }
828
+ }
829
+ }
830
+
831
+ function defineKeyPropWarningGetter(props, displayName) {
832
+ {
833
+ var warnAboutAccessingKey = function () {
834
+ if (!specialPropKeyWarningShown) {
835
+ specialPropKeyWarningShown = true;
836
+
837
+ error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
838
+ }
839
+ };
840
+
841
+ warnAboutAccessingKey.isReactWarning = true;
842
+ Object.defineProperty(props, 'key', {
843
+ get: warnAboutAccessingKey,
844
+ configurable: true
845
+ });
846
+ }
847
+ }
848
+
849
+ function defineRefPropWarningGetter(props, displayName) {
850
+ {
851
+ var warnAboutAccessingRef = function () {
852
+ if (!specialPropRefWarningShown) {
853
+ specialPropRefWarningShown = true;
854
+
855
+ error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
856
+ }
857
+ };
858
+
859
+ warnAboutAccessingRef.isReactWarning = true;
860
+ Object.defineProperty(props, 'ref', {
861
+ get: warnAboutAccessingRef,
862
+ configurable: true
863
+ });
864
+ }
865
+ }
866
+ /**
867
+ * Factory method to create a new React element. This no longer adheres to
868
+ * the class pattern, so do not use new to call it. Also, instanceof check
869
+ * will not work. Instead test $$typeof field against Symbol.for('react.element') to check
870
+ * if something is a React Element.
871
+ *
872
+ * @param {*} type
873
+ * @param {*} props
874
+ * @param {*} key
875
+ * @param {string|object} ref
876
+ * @param {*} owner
877
+ * @param {*} self A *temporary* helper to detect places where `this` is
878
+ * different from the `owner` when React.createElement is called, so that we
879
+ * can warn. We want to get rid of owner and replace string `ref`s with arrow
880
+ * functions, and as long as `this` and owner are the same, there will be no
881
+ * change in behavior.
882
+ * @param {*} source An annotation object (added by a transpiler or otherwise)
883
+ * indicating filename, line number, and/or other information.
884
+ * @internal
885
+ */
886
+
887
+
888
+ var ReactElement = function (type, key, ref, self, source, owner, props) {
889
+ var element = {
890
+ // This tag allows us to uniquely identify this as a React Element
891
+ $$typeof: REACT_ELEMENT_TYPE,
892
+ // Built-in properties that belong on the element
893
+ type: type,
894
+ key: key,
895
+ ref: ref,
896
+ props: props,
897
+ // Record the component responsible for creating this element.
898
+ _owner: owner
899
+ };
900
+
901
+ {
902
+ // The validation flag is currently mutative. We put it on
903
+ // an external backing store so that we can freeze the whole object.
904
+ // This can be replaced with a WeakMap once they are implemented in
905
+ // commonly used development environments.
906
+ element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
907
+ // the validation flag non-enumerable (where possible, which should
908
+ // include every environment we run tests in), so the test framework
909
+ // ignores it.
910
+
911
+ Object.defineProperty(element._store, 'validated', {
912
+ configurable: false,
913
+ enumerable: false,
914
+ writable: true,
915
+ value: false
916
+ }); // self and source are DEV only properties.
917
+
918
+ Object.defineProperty(element, '_self', {
919
+ configurable: false,
920
+ enumerable: false,
921
+ writable: false,
922
+ value: self
923
+ }); // Two elements created in two different places should be considered
924
+ // equal for testing purposes and therefore we hide it from enumeration.
925
+
926
+ Object.defineProperty(element, '_source', {
927
+ configurable: false,
928
+ enumerable: false,
929
+ writable: false,
930
+ value: source
931
+ });
932
+
933
+ if (Object.freeze) {
934
+ Object.freeze(element.props);
935
+ Object.freeze(element);
936
+ }
937
+ }
938
+
939
+ return element;
940
+ };
941
+ /**
942
+ * https://github.com/reactjs/rfcs/pull/107
943
+ * @param {*} type
944
+ * @param {object} props
945
+ * @param {string} key
946
+ */
947
+
948
+ function jsxDEV(type, config, maybeKey, source, self) {
949
+ {
950
+ var propName; // Reserved names are extracted
951
+
952
+ var props = {};
953
+ var key = null;
954
+ var ref = null; // Currently, key can be spread in as a prop. This causes a potential
955
+ // issue if key is also explicitly declared (ie. <div {...props} key="Hi" />
956
+ // or <div key="Hi" {...props} /> ). We want to deprecate key spread,
957
+ // but as an intermediary step, we will use jsxDEV for everything except
958
+ // <div {...props} key="Hi" />, because we aren't currently able to tell if
959
+ // key is explicitly declared to be undefined or not.
960
+
961
+ if (maybeKey !== undefined) {
962
+ key = '' + maybeKey;
963
+ }
964
+
965
+ if (hasValidKey(config)) {
966
+ key = '' + config.key;
967
+ }
968
+
969
+ if (hasValidRef(config)) {
970
+ ref = config.ref;
971
+ warnIfStringRefCannotBeAutoConverted(config, self);
972
+ } // Remaining properties are added to a new props object
973
+
974
+
975
+ for (propName in config) {
976
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
977
+ props[propName] = config[propName];
978
+ }
979
+ } // Resolve default props
980
+
981
+
982
+ if (type && type.defaultProps) {
983
+ var defaultProps = type.defaultProps;
984
+
985
+ for (propName in defaultProps) {
986
+ if (props[propName] === undefined) {
987
+ props[propName] = defaultProps[propName];
988
+ }
989
+ }
990
+ }
991
+
992
+ if (key || ref) {
993
+ var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
994
+
995
+ if (key) {
996
+ defineKeyPropWarningGetter(props, displayName);
997
+ }
998
+
999
+ if (ref) {
1000
+ defineRefPropWarningGetter(props, displayName);
1001
+ }
1002
+ }
1003
+
1004
+ return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
1005
+ }
1006
+ }
1007
+
1008
+ var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
1009
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
1010
+
1011
+ function setCurrentlyValidatingElement$1(element) {
1012
+ {
1013
+ if (element) {
1014
+ var owner = element._owner;
1015
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1016
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
1017
+ } else {
1018
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
1019
+ }
1020
+ }
1021
+ }
1022
+
1023
+ var propTypesMisspellWarningShown;
1024
+
1025
+ {
1026
+ propTypesMisspellWarningShown = false;
1027
+ }
1028
+ /**
1029
+ * Verifies the object is a ReactElement.
1030
+ * See https://reactjs.org/docs/react-api.html#isvalidelement
1031
+ * @param {?object} object
1032
+ * @return {boolean} True if `object` is a ReactElement.
1033
+ * @final
1034
+ */
1035
+
1036
+ function isValidElement(object) {
1037
+ {
1038
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1039
+ }
1040
+ }
1041
+
1042
+ function getDeclarationErrorAddendum() {
1043
+ {
1044
+ if (ReactCurrentOwner$1.current) {
1045
+ var name = getComponentName(ReactCurrentOwner$1.current.type);
1046
+
1047
+ if (name) {
1048
+ return '\n\nCheck the render method of `' + name + '`.';
1049
+ }
1050
+ }
1051
+
1052
+ return '';
1053
+ }
1054
+ }
1055
+
1056
+ function getSourceInfoErrorAddendum(source) {
1057
+ {
1058
+ if (source !== undefined) {
1059
+ var fileName = source.fileName.replace(/^.*[\\\/]/, '');
1060
+ var lineNumber = source.lineNumber;
1061
+ return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
1062
+ }
1063
+
1064
+ return '';
1065
+ }
1066
+ }
1067
+ /**
1068
+ * Warn if there's no key explicitly set on dynamic arrays of children or
1069
+ * object keys are not valid. This allows us to keep track of children between
1070
+ * updates.
1071
+ */
1072
+
1073
+
1074
+ var ownerHasKeyUseWarning = {};
1075
+
1076
+ function getCurrentComponentErrorInfo(parentType) {
1077
+ {
1078
+ var info = getDeclarationErrorAddendum();
1079
+
1080
+ if (!info) {
1081
+ var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
1082
+
1083
+ if (parentName) {
1084
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
1085
+ }
1086
+ }
1087
+
1088
+ return info;
1089
+ }
1090
+ }
1091
+ /**
1092
+ * Warn if the element doesn't have an explicit key assigned to it.
1093
+ * This element is in an array. The array could grow and shrink or be
1094
+ * reordered. All children that haven't already been validated are required to
1095
+ * have a "key" property assigned to it. Error statuses are cached so a warning
1096
+ * will only be shown once.
1097
+ *
1098
+ * @internal
1099
+ * @param {ReactElement} element Element that requires a key.
1100
+ * @param {*} parentType element's parent's type.
1101
+ */
1102
+
1103
+
1104
+ function validateExplicitKey(element, parentType) {
1105
+ {
1106
+ if (!element._store || element._store.validated || element.key != null) {
1107
+ return;
1108
+ }
1109
+
1110
+ element._store.validated = true;
1111
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
1112
+
1113
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
1114
+ return;
1115
+ }
1116
+
1117
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
1118
+ // property, it may be the creator of the child that's responsible for
1119
+ // assigning it a key.
1120
+
1121
+ var childOwner = '';
1122
+
1123
+ if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
1124
+ // Give the component that originally created this child.
1125
+ childOwner = " It was passed a child from " + getComponentName(element._owner.type) + ".";
1126
+ }
1127
+
1128
+ setCurrentlyValidatingElement$1(element);
1129
+
1130
+ error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
1131
+
1132
+ setCurrentlyValidatingElement$1(null);
1133
+ }
1134
+ }
1135
+ /**
1136
+ * Ensure that every element either is passed in a static location, in an
1137
+ * array with an explicit keys property defined, or in an object literal
1138
+ * with valid key property.
1139
+ *
1140
+ * @internal
1141
+ * @param {ReactNode} node Statically passed child of any type.
1142
+ * @param {*} parentType node's parent's type.
1143
+ */
1144
+
1145
+
1146
+ function validateChildKeys(node, parentType) {
1147
+ {
1148
+ if (typeof node !== 'object') {
1149
+ return;
1150
+ }
1151
+
1152
+ if (Array.isArray(node)) {
1153
+ for (var i = 0; i < node.length; i++) {
1154
+ var child = node[i];
1155
+
1156
+ if (isValidElement(child)) {
1157
+ validateExplicitKey(child, parentType);
1158
+ }
1159
+ }
1160
+ } else if (isValidElement(node)) {
1161
+ // This element was passed in a valid location.
1162
+ if (node._store) {
1163
+ node._store.validated = true;
1164
+ }
1165
+ } else if (node) {
1166
+ var iteratorFn = getIteratorFn(node);
1167
+
1168
+ if (typeof iteratorFn === 'function') {
1169
+ // Entry iterators used to provide implicit keys,
1170
+ // but now we print a separate warning for them later.
1171
+ if (iteratorFn !== node.entries) {
1172
+ var iterator = iteratorFn.call(node);
1173
+ var step;
1174
+
1175
+ while (!(step = iterator.next()).done) {
1176
+ if (isValidElement(step.value)) {
1177
+ validateExplicitKey(step.value, parentType);
1178
+ }
1179
+ }
1180
+ }
1181
+ }
1182
+ }
1183
+ }
1184
+ }
1185
+ /**
1186
+ * Given an element, validate that its props follow the propTypes definition,
1187
+ * provided by the type.
1188
+ *
1189
+ * @param {ReactElement} element
1190
+ */
1191
+
1192
+
1193
+ function validatePropTypes(element) {
1194
+ {
1195
+ var type = element.type;
1196
+
1197
+ if (type === null || type === undefined || typeof type === 'string') {
1198
+ return;
1199
+ }
1200
+
1201
+ var propTypes;
1202
+
1203
+ if (typeof type === 'function') {
1204
+ propTypes = type.propTypes;
1205
+ } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
1206
+ // Inner props are checked in the reconciler.
1207
+ type.$$typeof === REACT_MEMO_TYPE)) {
1208
+ propTypes = type.propTypes;
1209
+ } else {
1210
+ return;
1211
+ }
1212
+
1213
+ if (propTypes) {
1214
+ // Intentionally inside to avoid triggering lazy initializers:
1215
+ var name = getComponentName(type);
1216
+ checkPropTypes(propTypes, element.props, 'prop', name, element);
1217
+ } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
1218
+ propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
1219
+
1220
+ var _name = getComponentName(type);
1221
+
1222
+ error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
1223
+ }
1224
+
1225
+ if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
1226
+ error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
1227
+ }
1228
+ }
1229
+ }
1230
+ /**
1231
+ * Given a fragment, validate that it can only be provided with fragment props
1232
+ * @param {ReactElement} fragment
1233
+ */
1234
+
1235
+
1236
+ function validateFragmentProps(fragment) {
1237
+ {
1238
+ var keys = Object.keys(fragment.props);
1239
+
1240
+ for (var i = 0; i < keys.length; i++) {
1241
+ var key = keys[i];
1242
+
1243
+ if (key !== 'children' && key !== 'key') {
1244
+ setCurrentlyValidatingElement$1(fragment);
1245
+
1246
+ error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
1247
+
1248
+ setCurrentlyValidatingElement$1(null);
1249
+ break;
1250
+ }
1251
+ }
1252
+
1253
+ if (fragment.ref !== null) {
1254
+ setCurrentlyValidatingElement$1(fragment);
1255
+
1256
+ error('Invalid attribute `ref` supplied to `React.Fragment`.');
1257
+
1258
+ setCurrentlyValidatingElement$1(null);
1259
+ }
1260
+ }
1261
+ }
1262
+
1263
+ function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
1264
+ {
1265
+ var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
1266
+ // succeed and there will likely be errors in render.
1267
+
1268
+ if (!validType) {
1269
+ var info = '';
1270
+
1271
+ if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
1272
+ info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
1273
+ }
1274
+
1275
+ var sourceInfo = getSourceInfoErrorAddendum(source);
1276
+
1277
+ if (sourceInfo) {
1278
+ info += sourceInfo;
1279
+ } else {
1280
+ info += getDeclarationErrorAddendum();
1281
+ }
1282
+
1283
+ var typeString;
1284
+
1285
+ if (type === null) {
1286
+ typeString = 'null';
1287
+ } else if (Array.isArray(type)) {
1288
+ typeString = 'array';
1289
+ } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
1290
+ typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
1291
+ info = ' Did you accidentally export a JSX literal instead of a component?';
1292
+ } else {
1293
+ typeString = typeof type;
1294
+ }
1295
+
1296
+ error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
1297
+ }
1298
+
1299
+ var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.
1300
+ // TODO: Drop this when these are no longer allowed as the type argument.
1301
+
1302
+ if (element == null) {
1303
+ return element;
1304
+ } // Skip key warning if the type isn't valid since our key validation logic
1305
+ // doesn't expect a non-string/function type and can throw confusing errors.
1306
+ // We don't want exception behavior to differ between dev and prod.
1307
+ // (Rendering will throw with a helpful message and as soon as the type is
1308
+ // fixed, the key warnings will appear.)
1309
+
1310
+
1311
+ if (validType) {
1312
+ var children = props.children;
1313
+
1314
+ if (children !== undefined) {
1315
+ if (isStaticChildren) {
1316
+ if (Array.isArray(children)) {
1317
+ for (var i = 0; i < children.length; i++) {
1318
+ validateChildKeys(children[i], type);
1319
+ }
1320
+
1321
+ if (Object.freeze) {
1322
+ Object.freeze(children);
1323
+ }
1324
+ } else {
1325
+ error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');
1326
+ }
1327
+ } else {
1328
+ validateChildKeys(children, type);
1329
+ }
1330
+ }
1331
+ }
1332
+
1333
+ if (type === exports.Fragment) {
1334
+ validateFragmentProps(element);
1335
+ } else {
1336
+ validatePropTypes(element);
1337
+ }
1338
+
1339
+ return element;
1340
+ }
1341
+ } // These two functions exist to still get child warnings in dev
1342
+ // even with the prod transform. This means that jsxDEV is purely
1343
+ // opt-in behavior for better messages but that we won't stop
1344
+ // giving you warnings if you use production apis.
1345
+
1346
+ function jsxWithValidationStatic(type, props, key) {
1347
+ {
1348
+ return jsxWithValidation(type, props, key, true);
1349
+ }
1350
+ }
1351
+ function jsxWithValidationDynamic(type, props, key) {
1352
+ {
1353
+ return jsxWithValidation(type, props, key, false);
1354
+ }
1355
+ }
1356
+
1357
+ var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.
1358
+ // for now we can ship identical prod functions
1359
+
1360
+ var jsxs = jsxWithValidationStatic ;
1361
+
1362
+ exports.jsx = jsx;
1363
+ exports.jsxs = jsxs;
1364
+ })();
1365
+ }
1366
+ }(reactJsxRuntime_development));
1367
+
1368
+ if (process.env.NODE_ENV === 'production') {
1369
+ jsxRuntime.exports = reactJsxRuntime_production_min;
1370
+ } else {
1371
+ jsxRuntime.exports = reactJsxRuntime_development;
1372
+ }
1373
+
44
1374
  /**
45
1375
  * lodash (Custom Build) <https://lodash.com/>
46
1376
  * Build: `lodash modularize exports="npm" -o ./`
@@ -156,15 +1486,15 @@ var reIsNative = RegExp('^' +
156
1486
  );
157
1487
 
158
1488
  /** Built-in value references. */
159
- var Symbol = root.Symbol,
1489
+ var Symbol$1 = root.Symbol,
160
1490
  splice = arrayProto.splice;
161
1491
 
162
1492
  /* Built-in method references that are verified to be native. */
163
- var Map = getNative(root, 'Map'),
1493
+ var Map$1 = getNative(root, 'Map'),
164
1494
  nativeCreate = getNative(Object, 'create');
165
1495
 
166
1496
  /** Used to convert symbols to primitives and strings. */
167
- var symbolProto = Symbol ? Symbol.prototype : undefined,
1497
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
168
1498
  symbolToString = symbolProto ? symbolProto.toString : undefined;
169
1499
 
170
1500
  /**
@@ -405,7 +1735,7 @@ function MapCache(entries) {
405
1735
  function mapCacheClear() {
406
1736
  this.__data__ = {
407
1737
  'hash': new Hash,
408
- 'map': new (Map || ListCache),
1738
+ 'map': new (Map$1 || ListCache),
409
1739
  'string': new Hash
410
1740
  };
411
1741
  }
@@ -980,7 +2310,7 @@ var defaultContext = {
980
2310
  };
981
2311
  var IconContext = createContext(defaultContext);
982
2312
  function withIconContext(Comp) {
983
- return function (props) { return (jsx(IconContext.Consumer, { children: function (contextValue) { return jsx(Comp, __assign({}, props, contextValue), void 0); } }, void 0)); };
2313
+ return function (props) { return (jsxRuntime.exports.jsx(IconContext.Consumer, { children: function (contextValue) { return jsxRuntime.exports.jsx(Comp, __assign({}, props, contextValue), void 0); } }, void 0)); };
984
2314
  }
985
2315
 
986
2316
  var IconProvider = function (_a) {
@@ -998,7 +2328,7 @@ var IconProvider = function (_a) {
998
2328
  return (!!value ? __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b)) : acc);
999
2329
  }, {});
1000
2330
  }, [defaultSize, color, palette]);
1001
- return (jsx(IconContext.Provider, __assign({ value: __assign(__assign(__assign({}, defaultContext), props), defaultValue) }, { children: children }), void 0));
2331
+ return (jsxRuntime.exports.jsx(IconContext.Provider, __assign({ value: __assign(__assign(__assign({}, defaultContext), props), defaultValue) }, { children: children }), void 0));
1002
2332
  };
1003
2333
 
1004
2334
  export { IconContext, IconProvider, defaultContext, withIconContext };