@hexure/ui 1.9.3 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import React, { useRef, useDebugValue, useContext, createElement, useState, useEffect } from 'react';
1
+ import React, { useRef, useDebugValue, createElement, useContext, useState, useEffect } from 'react';
2
2
  import Icon, { Icon as Icon$1 } from '@mdi/react';
3
3
  import { mdiChevronUp, mdiChevronDown, mdiLoading, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiDotsHorizontal, mdiClose, mdiMinusCircle, mdiFolderPlusOutline, mdiChevronRight, mdiChevronLeft, mdiCheck } from '@mdi/js';
4
4
  import Numeral from 'numeral';
@@ -20,6 +20,16 @@ PERFORMANCE OF THIS SOFTWARE.
20
20
  ***************************************************************************** */
21
21
  /* global Reflect, Promise */
22
22
 
23
+ var __assign = function () {
24
+ __assign = Object.assign || function __assign(t) {
25
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
26
+ s = arguments[i];
27
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
28
+ }
29
+ return t;
30
+ };
31
+ return __assign.apply(this, arguments);
32
+ };
23
33
  function __rest(s, e) {
24
34
  var t = {};
25
35
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -28,6 +38,32 @@ function __rest(s, e) {
28
38
  }
29
39
  return t;
30
40
  }
41
+ function __spreadArray(to, from, pack) {
42
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
43
+ if (ar || !(i in from)) {
44
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
45
+ ar[i] = from[i];
46
+ }
47
+ }
48
+ return to.concat(ar || Array.prototype.slice.call(from));
49
+ }
50
+
51
+ function memoize(fn) {
52
+ var cache = Object.create(null);
53
+ return function (arg) {
54
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
55
+ return cache[arg];
56
+ };
57
+ }
58
+
59
+ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
60
+
61
+ var isPropValid = /* #__PURE__ */memoize(function (prop) {
62
+ return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
63
+ /* o */ && prop.charCodeAt(1) === 110
64
+ /* n */ && prop.charCodeAt(2) < 91;
65
+ }
66
+ /* Z+1 */);
31
67
 
32
68
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
33
69
 
@@ -35,831 +71,869 @@ function getDefaultExportFromCjs (x) {
35
71
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
36
72
  }
37
73
 
38
- var reactIs$2 = {exports: {}};
74
+ var MS = '-ms-';
75
+ var MOZ = '-moz-';
76
+ var WEBKIT = '-webkit-';
77
+ var COMMENT = 'comm';
78
+ var RULESET = 'rule';
79
+ var DECLARATION = 'decl';
80
+ var IMPORT = '@import';
81
+ var KEYFRAMES = '@keyframes';
82
+ var LAYER = '@layer';
39
83
 
40
- var reactIs_production_min$1 = {};
84
+ /**
85
+ * @param {number}
86
+ * @return {number}
87
+ */
88
+ var abs = Math.abs;
41
89
 
42
90
  /**
43
- * @license React
44
- * react-is.production.min.js
45
- *
46
- * Copyright (c) Facebook, Inc. and its affiliates.
47
- *
48
- * This source code is licensed under the MIT license found in the
49
- * LICENSE file in the root directory of this source tree.
91
+ * @param {number}
92
+ * @return {string}
50
93
  */
51
- var hasRequiredReactIs_production_min$1;
52
- function requireReactIs_production_min$1() {
53
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
54
- hasRequiredReactIs_production_min$1 = 1;
55
- var b = Symbol.for("react.element"),
56
- c = Symbol.for("react.portal"),
57
- d = Symbol.for("react.fragment"),
58
- e = Symbol.for("react.strict_mode"),
59
- f = Symbol.for("react.profiler"),
60
- g = Symbol.for("react.provider"),
61
- h = Symbol.for("react.context"),
62
- k = Symbol.for("react.server_context"),
63
- l = Symbol.for("react.forward_ref"),
64
- m = Symbol.for("react.suspense"),
65
- n = Symbol.for("react.suspense_list"),
66
- p = Symbol.for("react.memo"),
67
- q = Symbol.for("react.lazy"),
68
- t = Symbol.for("react.offscreen"),
69
- u;
70
- u = Symbol.for("react.module.reference");
71
- function v(a) {
72
- if ("object" === typeof a && null !== a) {
73
- var r = a.$$typeof;
74
- switch (r) {
75
- case b:
76
- switch (a = a.type, a) {
77
- case d:
78
- case f:
79
- case e:
80
- case m:
81
- case n:
82
- return a;
83
- default:
84
- switch (a = a && a.$$typeof, a) {
85
- case k:
86
- case h:
87
- case l:
88
- case q:
89
- case p:
90
- case g:
91
- return a;
92
- default:
93
- return r;
94
- }
95
- }
96
- case c:
97
- return r;
98
- }
99
- }
100
- }
101
- reactIs_production_min$1.ContextConsumer = h;
102
- reactIs_production_min$1.ContextProvider = g;
103
- reactIs_production_min$1.Element = b;
104
- reactIs_production_min$1.ForwardRef = l;
105
- reactIs_production_min$1.Fragment = d;
106
- reactIs_production_min$1.Lazy = q;
107
- reactIs_production_min$1.Memo = p;
108
- reactIs_production_min$1.Portal = c;
109
- reactIs_production_min$1.Profiler = f;
110
- reactIs_production_min$1.StrictMode = e;
111
- reactIs_production_min$1.Suspense = m;
112
- reactIs_production_min$1.SuspenseList = n;
113
- reactIs_production_min$1.isAsyncMode = function () {
114
- return !1;
115
- };
116
- reactIs_production_min$1.isConcurrentMode = function () {
117
- return !1;
118
- };
119
- reactIs_production_min$1.isContextConsumer = function (a) {
120
- return v(a) === h;
121
- };
122
- reactIs_production_min$1.isContextProvider = function (a) {
123
- return v(a) === g;
124
- };
125
- reactIs_production_min$1.isElement = function (a) {
126
- return "object" === typeof a && null !== a && a.$$typeof === b;
127
- };
128
- reactIs_production_min$1.isForwardRef = function (a) {
129
- return v(a) === l;
130
- };
131
- reactIs_production_min$1.isFragment = function (a) {
132
- return v(a) === d;
133
- };
134
- reactIs_production_min$1.isLazy = function (a) {
135
- return v(a) === q;
136
- };
137
- reactIs_production_min$1.isMemo = function (a) {
138
- return v(a) === p;
139
- };
140
- reactIs_production_min$1.isPortal = function (a) {
141
- return v(a) === c;
142
- };
143
- reactIs_production_min$1.isProfiler = function (a) {
144
- return v(a) === f;
145
- };
146
- reactIs_production_min$1.isStrictMode = function (a) {
147
- return v(a) === e;
148
- };
149
- reactIs_production_min$1.isSuspense = function (a) {
150
- return v(a) === m;
151
- };
152
- reactIs_production_min$1.isSuspenseList = function (a) {
153
- return v(a) === n;
154
- };
155
- reactIs_production_min$1.isValidElementType = function (a) {
156
- return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
94
+ var from = String.fromCharCode;
95
+
96
+ /**
97
+ * @param {object}
98
+ * @return {object}
99
+ */
100
+ var assign = Object.assign;
101
+
102
+ /**
103
+ * @param {string} value
104
+ * @param {number} length
105
+ * @return {number}
106
+ */
107
+ function hash(value, length) {
108
+ return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
109
+ }
110
+
111
+ /**
112
+ * @param {string} value
113
+ * @return {string}
114
+ */
115
+ function trim(value) {
116
+ return value.trim();
117
+ }
118
+
119
+ /**
120
+ * @param {string} value
121
+ * @param {RegExp} pattern
122
+ * @return {string?}
123
+ */
124
+ function match(value, pattern) {
125
+ return (value = pattern.exec(value)) ? value[0] : value;
126
+ }
127
+
128
+ /**
129
+ * @param {string} value
130
+ * @param {(string|RegExp)} pattern
131
+ * @param {string} replacement
132
+ * @return {string}
133
+ */
134
+ function replace(value, pattern, replacement) {
135
+ return value.replace(pattern, replacement);
136
+ }
137
+
138
+ /**
139
+ * @param {string} value
140
+ * @param {string} search
141
+ * @param {number} position
142
+ * @return {number}
143
+ */
144
+ function indexof(value, search, position) {
145
+ return value.indexOf(search, position);
146
+ }
147
+
148
+ /**
149
+ * @param {string} value
150
+ * @param {number} index
151
+ * @return {number}
152
+ */
153
+ function charat(value, index) {
154
+ return value.charCodeAt(index) | 0;
155
+ }
156
+
157
+ /**
158
+ * @param {string} value
159
+ * @param {number} begin
160
+ * @param {number} end
161
+ * @return {string}
162
+ */
163
+ function substr(value, begin, end) {
164
+ return value.slice(begin, end);
165
+ }
166
+
167
+ /**
168
+ * @param {string} value
169
+ * @return {number}
170
+ */
171
+ function strlen(value) {
172
+ return value.length;
173
+ }
174
+
175
+ /**
176
+ * @param {any[]} value
177
+ * @return {number}
178
+ */
179
+ function sizeof(value) {
180
+ return value.length;
181
+ }
182
+
183
+ /**
184
+ * @param {any} value
185
+ * @param {any[]} array
186
+ * @return {any}
187
+ */
188
+ function append(value, array) {
189
+ return array.push(value), value;
190
+ }
191
+
192
+ /**
193
+ * @param {string[]} array
194
+ * @param {function} callback
195
+ * @return {string}
196
+ */
197
+ function combine(array, callback) {
198
+ return array.map(callback).join('');
199
+ }
200
+
201
+ /**
202
+ * @param {string[]} array
203
+ * @param {RegExp} pattern
204
+ * @return {string[]}
205
+ */
206
+ function filter(array, pattern) {
207
+ return array.filter(function (value) {
208
+ return !match(value, pattern);
209
+ });
210
+ }
211
+
212
+ var line = 1;
213
+ var column = 1;
214
+ var length = 0;
215
+ var position = 0;
216
+ var character = 0;
217
+ var characters = '';
218
+
219
+ /**
220
+ * @param {string} value
221
+ * @param {object | null} root
222
+ * @param {object | null} parent
223
+ * @param {string} type
224
+ * @param {string[] | string} props
225
+ * @param {object[] | string} children
226
+ * @param {object[]} siblings
227
+ * @param {number} length
228
+ */
229
+ function node(value, root, parent, type, props, children, length, siblings) {
230
+ return {
231
+ value: value,
232
+ root: root,
233
+ parent: parent,
234
+ type: type,
235
+ props: props,
236
+ children: children,
237
+ line: line,
238
+ column: column,
239
+ length: length,
240
+ return: '',
241
+ siblings: siblings
157
242
  };
158
- reactIs_production_min$1.typeOf = v;
159
- return reactIs_production_min$1;
160
243
  }
161
244
 
162
- var reactIs_development$1 = {};
245
+ /**
246
+ * @param {object} root
247
+ * @param {object} props
248
+ * @return {object}
249
+ */
250
+ function copy(root, props) {
251
+ return assign(node('', null, null, '', null, null, 0, root.siblings), root, {
252
+ length: -root.length
253
+ }, props);
254
+ }
255
+
256
+ /**
257
+ * @param {object} root
258
+ */
259
+ function lift(root) {
260
+ while (root.root) root = copy(root.root, {
261
+ children: [root]
262
+ });
263
+ append(root, root.siblings);
264
+ }
163
265
 
164
266
  /**
165
- * @license React
166
- * react-is.development.js
167
- *
168
- * Copyright (c) Facebook, Inc. and its affiliates.
169
- *
170
- * This source code is licensed under the MIT license found in the
171
- * LICENSE file in the root directory of this source tree.
267
+ * @return {number}
172
268
  */
173
- var hasRequiredReactIs_development$1;
174
- function requireReactIs_development$1() {
175
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
176
- hasRequiredReactIs_development$1 = 1;
177
- if (process.env.NODE_ENV !== "production") {
178
- (function () {
269
+ function char() {
270
+ return character;
271
+ }
179
272
 
180
- // ATTENTION
181
- // When adding new symbols to this file,
182
- // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
183
- // The Symbol used to tag the ReactElement-like types.
184
- var REACT_ELEMENT_TYPE = Symbol.for('react.element');
185
- var REACT_PORTAL_TYPE = Symbol.for('react.portal');
186
- var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
187
- var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
188
- var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
189
- var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
190
- var REACT_CONTEXT_TYPE = Symbol.for('react.context');
191
- var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
192
- var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
193
- var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
194
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
195
- var REACT_MEMO_TYPE = Symbol.for('react.memo');
196
- var REACT_LAZY_TYPE = Symbol.for('react.lazy');
197
- var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
273
+ /**
274
+ * @return {number}
275
+ */
276
+ function prev() {
277
+ character = position > 0 ? charat(characters, --position) : 0;
278
+ if (column--, character === 10) column = 1, line--;
279
+ return character;
280
+ }
198
281
 
199
- // -----------------------------------------------------------------------------
282
+ /**
283
+ * @return {number}
284
+ */
285
+ function next() {
286
+ character = position < length ? charat(characters, position++) : 0;
287
+ if (column++, character === 10) column = 1, line++;
288
+ return character;
289
+ }
200
290
 
201
- var enableScopeAPI = false; // Experimental Create Event Handle API.
202
- var enableCacheElement = false;
203
- var enableTransitionTracing = false; // No known bugs, but needs performance testing
291
+ /**
292
+ * @return {number}
293
+ */
294
+ function peek() {
295
+ return charat(characters, position);
296
+ }
204
297
 
205
- var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
206
- // stuff. Intended to enable React core members to more easily debug scheduling
207
- // issues in DEV builds.
298
+ /**
299
+ * @return {number}
300
+ */
301
+ function caret() {
302
+ return position;
303
+ }
208
304
 
209
- var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
305
+ /**
306
+ * @param {number} begin
307
+ * @param {number} end
308
+ * @return {string}
309
+ */
310
+ function slice(begin, end) {
311
+ return substr(characters, begin, end);
312
+ }
210
313
 
211
- var REACT_MODULE_REFERENCE;
212
- {
213
- REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
214
- }
215
- function isValidElementType(type) {
216
- if (typeof type === 'string' || typeof type === 'function') {
217
- return true;
218
- } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
314
+ /**
315
+ * @param {number} type
316
+ * @return {number}
317
+ */
318
+ function token(type) {
319
+ switch (type) {
320
+ // \0 \t \n \r \s whitespace token
321
+ case 0:
322
+ case 9:
323
+ case 10:
324
+ case 13:
325
+ case 32:
326
+ return 5;
327
+ // ! + , / > @ ~ isolate token
328
+ case 33:
329
+ case 43:
330
+ case 44:
331
+ case 47:
332
+ case 62:
333
+ case 64:
334
+ case 126:
335
+ // ; { } breakpoint token
336
+ case 59:
337
+ case 123:
338
+ case 125:
339
+ return 4;
340
+ // : accompanied token
341
+ case 58:
342
+ return 3;
343
+ // " ' ( [ opening delimit token
344
+ case 34:
345
+ case 39:
346
+ case 40:
347
+ case 91:
348
+ return 2;
349
+ // ) ] closing delimit token
350
+ case 41:
351
+ case 93:
352
+ return 1;
353
+ }
354
+ return 0;
355
+ }
219
356
 
220
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
221
- return true;
222
- }
223
- if (typeof type === 'object' && type !== null) {
224
- 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 ||
225
- // This needs to include all possible module reference object
226
- // types supported by any Flight configuration anywhere since
227
- // we don't know which Flight build this will end up being used
228
- // with.
229
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
230
- return true;
231
- }
232
- }
233
- return false;
234
- }
235
- function typeOf(object) {
236
- if (typeof object === 'object' && object !== null) {
237
- var $$typeof = object.$$typeof;
238
- switch ($$typeof) {
239
- case REACT_ELEMENT_TYPE:
240
- var type = object.type;
241
- switch (type) {
242
- case REACT_FRAGMENT_TYPE:
243
- case REACT_PROFILER_TYPE:
244
- case REACT_STRICT_MODE_TYPE:
245
- case REACT_SUSPENSE_TYPE:
246
- case REACT_SUSPENSE_LIST_TYPE:
247
- return type;
248
- default:
249
- var $$typeofType = type && type.$$typeof;
250
- switch ($$typeofType) {
251
- case REACT_SERVER_CONTEXT_TYPE:
252
- case REACT_CONTEXT_TYPE:
253
- case REACT_FORWARD_REF_TYPE:
254
- case REACT_LAZY_TYPE:
255
- case REACT_MEMO_TYPE:
256
- case REACT_PROVIDER_TYPE:
257
- return $$typeofType;
258
- default:
259
- return $$typeof;
260
- }
261
- }
262
- case REACT_PORTAL_TYPE:
263
- return $$typeof;
264
- }
265
- }
266
- return undefined;
267
- }
268
- var ContextConsumer = REACT_CONTEXT_TYPE;
269
- var ContextProvider = REACT_PROVIDER_TYPE;
270
- var Element = REACT_ELEMENT_TYPE;
271
- var ForwardRef = REACT_FORWARD_REF_TYPE;
272
- var Fragment = REACT_FRAGMENT_TYPE;
273
- var Lazy = REACT_LAZY_TYPE;
274
- var Memo = REACT_MEMO_TYPE;
275
- var Portal = REACT_PORTAL_TYPE;
276
- var Profiler = REACT_PROFILER_TYPE;
277
- var StrictMode = REACT_STRICT_MODE_TYPE;
278
- var Suspense = REACT_SUSPENSE_TYPE;
279
- var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
280
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
281
- var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
357
+ /**
358
+ * @param {string} value
359
+ * @return {any[]}
360
+ */
361
+ function alloc(value) {
362
+ return line = column = 1, length = strlen(characters = value), position = 0, [];
363
+ }
282
364
 
283
- function isAsyncMode(object) {
284
- {
285
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
286
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
365
+ /**
366
+ * @param {any} value
367
+ * @return {any}
368
+ */
369
+ function dealloc(value) {
370
+ return characters = '', value;
371
+ }
287
372
 
288
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
289
- }
290
- }
291
- return false;
292
- }
293
- function isConcurrentMode(object) {
294
- {
295
- if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
296
- hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
373
+ /**
374
+ * @param {number} type
375
+ * @return {string}
376
+ */
377
+ function delimit(type) {
378
+ return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
379
+ }
297
380
 
298
- console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
299
- }
300
- }
301
- return false;
302
- }
303
- function isContextConsumer(object) {
304
- return typeOf(object) === REACT_CONTEXT_TYPE;
305
- }
306
- function isContextProvider(object) {
307
- return typeOf(object) === REACT_PROVIDER_TYPE;
308
- }
309
- function isElement(object) {
310
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
311
- }
312
- function isForwardRef(object) {
313
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
314
- }
315
- function isFragment(object) {
316
- return typeOf(object) === REACT_FRAGMENT_TYPE;
317
- }
318
- function isLazy(object) {
319
- return typeOf(object) === REACT_LAZY_TYPE;
320
- }
321
- function isMemo(object) {
322
- return typeOf(object) === REACT_MEMO_TYPE;
323
- }
324
- function isPortal(object) {
325
- return typeOf(object) === REACT_PORTAL_TYPE;
326
- }
327
- function isProfiler(object) {
328
- return typeOf(object) === REACT_PROFILER_TYPE;
329
- }
330
- function isStrictMode(object) {
331
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
332
- }
333
- function isSuspense(object) {
334
- return typeOf(object) === REACT_SUSPENSE_TYPE;
335
- }
336
- function isSuspenseList(object) {
337
- return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
338
- }
339
- reactIs_development$1.ContextConsumer = ContextConsumer;
340
- reactIs_development$1.ContextProvider = ContextProvider;
341
- reactIs_development$1.Element = Element;
342
- reactIs_development$1.ForwardRef = ForwardRef;
343
- reactIs_development$1.Fragment = Fragment;
344
- reactIs_development$1.Lazy = Lazy;
345
- reactIs_development$1.Memo = Memo;
346
- reactIs_development$1.Portal = Portal;
347
- reactIs_development$1.Profiler = Profiler;
348
- reactIs_development$1.StrictMode = StrictMode;
349
- reactIs_development$1.Suspense = Suspense;
350
- reactIs_development$1.SuspenseList = SuspenseList;
351
- reactIs_development$1.isAsyncMode = isAsyncMode;
352
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
353
- reactIs_development$1.isContextConsumer = isContextConsumer;
354
- reactIs_development$1.isContextProvider = isContextProvider;
355
- reactIs_development$1.isElement = isElement;
356
- reactIs_development$1.isForwardRef = isForwardRef;
357
- reactIs_development$1.isFragment = isFragment;
358
- reactIs_development$1.isLazy = isLazy;
359
- reactIs_development$1.isMemo = isMemo;
360
- reactIs_development$1.isPortal = isPortal;
361
- reactIs_development$1.isProfiler = isProfiler;
362
- reactIs_development$1.isStrictMode = isStrictMode;
363
- reactIs_development$1.isSuspense = isSuspense;
364
- reactIs_development$1.isSuspenseList = isSuspenseList;
365
- reactIs_development$1.isValidElementType = isValidElementType;
366
- reactIs_development$1.typeOf = typeOf;
367
- })();
381
+ /**
382
+ * @param {number} type
383
+ * @return {string}
384
+ */
385
+ function whitespace(type) {
386
+ while (character = peek()) if (character < 33) next();else break;
387
+ return token(type) > 2 || token(character) > 3 ? '' : ' ';
388
+ }
389
+
390
+ /**
391
+ * @param {number} index
392
+ * @param {number} count
393
+ * @return {string}
394
+ */
395
+ function escaping(index, count) {
396
+ while (--count && next())
397
+ // not 0-9 A-F a-f
398
+ if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
399
+ return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
400
+ }
401
+
402
+ /**
403
+ * @param {number} type
404
+ * @return {number}
405
+ */
406
+ function delimiter(type) {
407
+ while (next()) switch (character) {
408
+ // ] ) " '
409
+ case type:
410
+ return position;
411
+ // " '
412
+ case 34:
413
+ case 39:
414
+ if (type !== 34 && type !== 39) delimiter(character);
415
+ break;
416
+ // (
417
+ case 40:
418
+ if (type === 41) delimiter(type);
419
+ break;
420
+ // \
421
+ case 92:
422
+ next();
423
+ break;
368
424
  }
369
- return reactIs_development$1;
425
+ return position;
370
426
  }
371
427
 
372
- if (process.env.NODE_ENV === 'production') {
373
- reactIs$2.exports = requireReactIs_production_min$1();
374
- } else {
375
- reactIs$2.exports = requireReactIs_development$1();
428
+ /**
429
+ * @param {number} type
430
+ * @param {number} index
431
+ * @return {number}
432
+ */
433
+ function commenter(type, index) {
434
+ while (next())
435
+ // //
436
+ if (type + character === 47 + 10) break;
437
+ // /*
438
+ else if (type + character === 42 + 42 && peek() === 47) break;
439
+ return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
376
440
  }
377
- var reactIsExports$1 = reactIs$2.exports;
378
441
 
379
- function stylis_min(W) {
380
- function M(d, c, e, h, a) {
381
- for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
382
- g = e.charCodeAt(l);
383
- l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
384
- if (0 === b + n + v + m) {
385
- if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
386
- switch (g) {
387
- case 32:
388
- case 9:
389
- case 59:
390
- case 13:
391
- case 10:
392
- break;
393
- default:
394
- f += e.charAt(l);
395
- }
396
- g = 59;
397
- }
398
- switch (g) {
399
- case 123:
400
- f = f.trim();
401
- q = f.charCodeAt(0);
402
- k = 1;
403
- for (t = ++l; l < B;) {
404
- switch (g = e.charCodeAt(l)) {
405
- case 123:
406
- k++;
407
- break;
408
- case 125:
409
- k--;
410
- break;
411
- case 47:
412
- switch (g = e.charCodeAt(l + 1)) {
413
- case 42:
414
- case 47:
415
- a: {
416
- for (u = l + 1; u < J; ++u) {
417
- switch (e.charCodeAt(u)) {
418
- case 47:
419
- if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
420
- l = u + 1;
421
- break a;
422
- }
423
- break;
424
- case 10:
425
- if (47 === g) {
426
- l = u + 1;
427
- break a;
428
- }
429
- }
430
- }
431
- l = u;
432
- }
433
- }
434
- break;
435
- case 91:
436
- g++;
437
- case 40:
438
- g++;
439
- case 34:
440
- case 39:
441
- for (; l++ < J && e.charCodeAt(l) !== g;) {}
442
- }
443
- if (0 === k) break;
444
- l++;
445
- }
446
- k = e.substring(t, l);
447
- 0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
448
- switch (q) {
449
- case 64:
450
- 0 < r && (f = f.replace(N, ''));
451
- g = f.charCodeAt(1);
452
- switch (g) {
453
- case 100:
454
- case 109:
455
- case 115:
456
- case 45:
457
- r = c;
458
- break;
459
- default:
460
- r = O;
461
- }
462
- k = M(c, r, k, g, a + 1);
463
- t = k.length;
464
- 0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
465
- if (0 < t) switch (g) {
466
- case 115:
467
- f = f.replace(da, ea);
468
- case 100:
469
- case 109:
470
- case 45:
471
- k = f + '{' + k + '}';
472
- break;
473
- case 107:
474
- f = f.replace(fa, '$1 $2');
475
- k = f + '{' + k + '}';
476
- k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
477
- break;
478
- default:
479
- k = f + k, 112 === h && (k = (p += k, ''));
480
- } else k = '';
481
- break;
482
- default:
483
- k = M(c, X(c, f, I), k, h, a + 1);
484
- }
485
- F += k;
486
- k = I = r = u = q = 0;
487
- f = '';
488
- g = e.charCodeAt(++l);
489
- break;
490
- case 125:
491
- case 59:
492
- f = (0 < r ? f.replace(N, '') : f).trim();
493
- if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
494
- case 0:
495
- break;
496
- case 64:
497
- if (105 === g || 99 === g) {
498
- G += f + e.charAt(l);
499
- break;
500
- }
501
- default:
502
- 58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
503
- }
504
- I = r = u = q = 0;
505
- f = '';
506
- g = e.charCodeAt(++l);
507
- }
442
+ /**
443
+ * @param {number} index
444
+ * @return {string}
445
+ */
446
+ function identifier(index) {
447
+ while (!token(peek())) next();
448
+ return slice(index, position);
449
+ }
450
+
451
+ /**
452
+ * @param {string} value
453
+ * @return {object[]}
454
+ */
455
+ function compile(value) {
456
+ return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value));
457
+ }
458
+
459
+ /**
460
+ * @param {string} value
461
+ * @param {object} root
462
+ * @param {object?} parent
463
+ * @param {string[]} rule
464
+ * @param {string[]} rules
465
+ * @param {string[]} rulesets
466
+ * @param {number[]} pseudo
467
+ * @param {number[]} points
468
+ * @param {string[]} declarations
469
+ * @return {object}
470
+ */
471
+ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
472
+ var index = 0;
473
+ var offset = 0;
474
+ var length = pseudo;
475
+ var atrule = 0;
476
+ var property = 0;
477
+ var previous = 0;
478
+ var variable = 1;
479
+ var scanning = 1;
480
+ var ampersand = 1;
481
+ var character = 0;
482
+ var type = '';
483
+ var props = rules;
484
+ var children = rulesets;
485
+ var reference = rule;
486
+ var characters = type;
487
+ while (scanning) switch (previous = character, character = next()) {
488
+ // (
489
+ case 40:
490
+ if (previous != 108 && charat(characters, length - 1) == 58) {
491
+ if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1;
492
+ break;
508
493
  }
509
- switch (g) {
510
- case 13:
511
- case 10:
512
- 47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
513
- 0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
514
- z = 1;
515
- D++;
494
+ // " ' [
495
+ case 34:
496
+ case 39:
497
+ case 91:
498
+ characters += delimit(character);
499
+ break;
500
+ // \t \n \r \s
501
+ case 9:
502
+ case 10:
503
+ case 13:
504
+ case 32:
505
+ characters += whitespace(previous);
506
+ break;
507
+ // \
508
+ case 92:
509
+ characters += escaping(caret() - 1, 7);
510
+ continue;
511
+ // /
512
+ case 47:
513
+ switch (peek()) {
514
+ case 42:
515
+ case 47:
516
+ append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
516
517
  break;
517
- case 59:
518
+ default:
519
+ characters += '/';
520
+ }
521
+ break;
522
+ // {
523
+ case 123 * variable:
524
+ points[index++] = strlen(characters) * ampersand;
525
+ // } ; \0
526
+ case 125 * variable:
527
+ case 59:
528
+ case 0:
529
+ switch (character) {
530
+ // \0 }
531
+ case 0:
518
532
  case 125:
519
- if (0 === b + n + v + m) {
520
- z++;
521
- break;
522
- }
533
+ scanning = 0;
534
+ // ;
535
+ case 59 + offset:
536
+ if (ampersand == -1) characters = replace(characters, /\f/g, '');
537
+ if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
538
+ break;
539
+ // @ ;
540
+ case 59:
541
+ characters += ';';
542
+ // { rule/at-rule
523
543
  default:
524
- z++;
525
- y = e.charAt(l);
526
- switch (g) {
527
- case 9:
528
- case 32:
529
- if (0 === n + m + b) switch (x) {
530
- case 44:
531
- case 58:
532
- case 9:
533
- case 32:
534
- y = '';
535
- break;
536
- default:
537
- 32 !== g && (y = ' ');
538
- }
539
- break;
540
- case 0:
541
- y = '\\0';
542
- break;
543
- case 12:
544
- y = '\\f';
545
- break;
546
- case 11:
547
- y = '\\v';
548
- break;
549
- case 38:
550
- 0 === n + b + m && (r = I = 1, y = '\f' + y);
551
- break;
544
+ append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
545
+ if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
546
+ // d l m s
547
+ case 100:
552
548
  case 108:
553
- if (0 === n + b + m + E && 0 < u) switch (l - u) {
554
- case 2:
555
- 112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
556
- case 8:
557
- 111 === K && (E = K);
558
- }
559
- break;
560
- case 58:
561
- 0 === n + b + m && (u = l);
562
- break;
563
- case 44:
564
- 0 === b + v + n + m && (r = 1, y += '\r');
565
- break;
566
- case 34:
567
- case 39:
568
- 0 === b && (n = n === g ? 0 : 0 === n ? g : n);
569
- break;
570
- case 91:
571
- 0 === n + b + v && m++;
572
- break;
573
- case 93:
574
- 0 === n + b + v && m--;
549
+ case 109:
550
+ case 115:
551
+ parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
575
552
  break;
576
- case 41:
577
- 0 === n + b + m && v--;
578
- break;
579
- case 40:
580
- if (0 === n + b + m) {
581
- if (0 === q) switch (2 * x + 3 * K) {
582
- case 533:
583
- break;
584
- default:
585
- q = 1;
586
- }
587
- v++;
588
- }
589
- break;
590
- case 64:
591
- 0 === b + v + n + m + u + k && (k = 1);
592
- break;
593
- case 42:
594
- case 47:
595
- if (!(0 < n + m + v)) switch (b) {
596
- case 0:
597
- switch (2 * g + 3 * e.charCodeAt(l + 1)) {
598
- case 235:
599
- b = 47;
600
- break;
601
- case 220:
602
- t = l, b = 42;
603
- }
604
- break;
605
- case 42:
606
- 47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
607
- }
553
+ default:
554
+ parse(characters, reference, reference, reference, [''], children, 0, points, children);
608
555
  }
609
- 0 === b && (f += y);
610
556
  }
611
- K = x;
612
- x = g;
613
- l++;
614
- }
615
- t = p.length;
616
- if (0 < t) {
617
- r = c;
618
- if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
619
- p = r.join(',') + '{' + p + '}';
620
- if (0 !== w * E) {
621
- 2 !== w || L(p, 2) || (E = 0);
622
- switch (E) {
623
- case 111:
624
- p = p.replace(ha, ':-moz-$1') + p;
625
- break;
626
- case 112:
627
- p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
628
- }
629
- E = 0;
557
+ index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
558
+ break;
559
+ // :
560
+ case 58:
561
+ length = 1 + strlen(characters), property = previous;
562
+ default:
563
+ if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
564
+ switch (characters += from(character), character * variable) {
565
+ // &
566
+ case 38:
567
+ ampersand = offset > 0 ? 1 : (characters += '\f', -1);
568
+ break;
569
+ // ,
570
+ case 44:
571
+ points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
572
+ break;
573
+ // @
574
+ case 64:
575
+ // -
576
+ if (peek() === 45) characters += delimit(next());
577
+ atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
578
+ break;
579
+ // -
580
+ case 45:
581
+ if (previous === 45 && strlen(characters) == 2) variable = 0;
630
582
  }
631
- }
632
- return G + p + F;
633
583
  }
634
- function X(d, c, e) {
635
- var h = c.trim().split(ia);
636
- c = h;
637
- var a = h.length,
638
- m = d.length;
639
- switch (m) {
640
- case 0:
641
- case 1:
642
- var b = 0;
643
- for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
644
- c[b] = Z(d, c[b], e).trim();
645
- }
646
- break;
647
- default:
648
- var v = b = 0;
649
- for (c = []; b < a; ++b) {
650
- for (var n = 0; n < m; ++n) {
651
- c[v++] = Z(d[n] + ' ', h[b], e).trim();
652
- }
653
- }
654
- }
655
- return c;
584
+ return rulesets;
585
+ }
586
+
587
+ /**
588
+ * @param {string} value
589
+ * @param {object} root
590
+ * @param {object?} parent
591
+ * @param {number} index
592
+ * @param {number} offset
593
+ * @param {string[]} rules
594
+ * @param {number[]} points
595
+ * @param {string} type
596
+ * @param {string[]} props
597
+ * @param {string[]} children
598
+ * @param {number} length
599
+ * @param {object[]} siblings
600
+ * @return {object}
601
+ */
602
+ function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
603
+ var post = offset - 1;
604
+ var rule = offset === 0 ? rules : [''];
605
+ var size = sizeof(rule);
606
+ for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
607
+ return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings);
608
+ }
609
+
610
+ /**
611
+ * @param {number} value
612
+ * @param {object} root
613
+ * @param {object?} parent
614
+ * @param {object[]} siblings
615
+ * @return {object}
616
+ */
617
+ function comment(value, root, parent, siblings) {
618
+ return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings);
619
+ }
620
+
621
+ /**
622
+ * @param {string} value
623
+ * @param {object} root
624
+ * @param {object?} parent
625
+ * @param {number} length
626
+ * @param {object[]} siblings
627
+ * @return {object}
628
+ */
629
+ function declaration(value, root, parent, length, siblings) {
630
+ return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings);
631
+ }
632
+
633
+ /**
634
+ * @param {string} value
635
+ * @param {number} length
636
+ * @param {object[]} children
637
+ * @return {string}
638
+ */
639
+ function prefix(value, length, children) {
640
+ switch (hash(value, length)) {
641
+ // color-adjust
642
+ case 5103:
643
+ return WEBKIT + 'print-' + value + value;
644
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
645
+ case 5737:
646
+ case 4201:
647
+ case 3177:
648
+ case 3433:
649
+ case 1641:
650
+ case 4457:
651
+ case 2921:
652
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
653
+ case 5572:
654
+ case 6356:
655
+ case 5844:
656
+ case 3191:
657
+ case 6645:
658
+ case 3005:
659
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
660
+ case 6391:
661
+ case 5879:
662
+ case 5623:
663
+ case 6135:
664
+ case 4599:
665
+ case 4855:
666
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
667
+ case 4215:
668
+ case 6389:
669
+ case 5109:
670
+ case 5365:
671
+ case 5621:
672
+ case 3829:
673
+ return WEBKIT + value + value;
674
+ // tab-size
675
+ case 4789:
676
+ return MOZ + value + value;
677
+ // appearance, user-select, transform, hyphens, text-size-adjust
678
+ case 5349:
679
+ case 4246:
680
+ case 4810:
681
+ case 6968:
682
+ case 2756:
683
+ return WEBKIT + value + MOZ + value + MS + value + value;
684
+ // writing-mode
685
+ case 5936:
686
+ switch (charat(value, length + 11)) {
687
+ // vertical-l(r)
688
+ case 114:
689
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
690
+ // vertical-r(l)
691
+ case 108:
692
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
693
+ // horizontal(-)tb
694
+ case 45:
695
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
696
+ // default: fallthrough to below
697
+ }
698
+ // flex, flex-direction, scroll-snap-type, writing-mode
699
+ case 6828:
700
+ case 4268:
701
+ case 2903:
702
+ return WEBKIT + value + MS + value + value;
703
+ // order
704
+ case 6165:
705
+ return WEBKIT + value + MS + 'flex-' + value + value;
706
+ // align-items
707
+ case 5187:
708
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
709
+ // align-self
710
+ case 5443:
711
+ return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value;
712
+ // align-content
713
+ case 4675:
714
+ return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value;
715
+ // flex-shrink
716
+ case 5548:
717
+ return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
718
+ // flex-basis
719
+ case 5292:
720
+ return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
721
+ // flex-grow
722
+ case 6060:
723
+ return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
724
+ // transition
725
+ case 4554:
726
+ return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
727
+ // cursor
728
+ case 6187:
729
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
730
+ // background, background-image
731
+ case 5495:
732
+ case 3959:
733
+ return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
734
+ // justify-content
735
+ case 4968:
736
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
737
+ // justify-self
738
+ case 4200:
739
+ if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value;
740
+ break;
741
+ // grid-template-(columns|rows)
742
+ case 2592:
743
+ case 3360:
744
+ return MS + replace(value, 'template-', '') + value;
745
+ // grid-(row|column)-start
746
+ case 4384:
747
+ case 3616:
748
+ if (children && children.some(function (element, index) {
749
+ return length = index, match(element.props, /grid-\w+-end/);
750
+ })) {
751
+ return ~indexof(value + (children = children[length].value), 'span', 0) ? value : MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\d+/) : +match(children, /\d+/) - +match(value, /\d+/)) + ';';
752
+ }
753
+ return MS + replace(value, '-start', '') + value;
754
+ // grid-(row|column)-end
755
+ case 4896:
756
+ case 4128:
757
+ return children && children.some(function (element) {
758
+ return match(element.props, /grid-\w+-start/);
759
+ }) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value;
760
+ // (margin|padding)-inline-(start|end)
761
+ case 4095:
762
+ case 3583:
763
+ case 4068:
764
+ case 2532:
765
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
766
+ // (min|max)?(width|height|inline-size|block-size)
767
+ case 8116:
768
+ case 7059:
769
+ case 5753:
770
+ case 5535:
771
+ case 5445:
772
+ case 5701:
773
+ case 4933:
774
+ case 4677:
775
+ case 5533:
776
+ case 5789:
777
+ case 5021:
778
+ case 4765:
779
+ // stretch, max-content, min-content, fill-available
780
+ if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
781
+ // (m)ax-content, (m)in-content
782
+ case 109:
783
+ // -
784
+ if (charat(value, length + 4) !== 45) break;
785
+ // (f)ill-available, (f)it-content
786
+ case 102:
787
+ return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
788
+ // (s)tretch
789
+ case 115:
790
+ return ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value;
791
+ }
792
+ break;
793
+ // grid-(column|row)
794
+ case 5152:
795
+ case 5920:
796
+ return replace(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) {
797
+ return MS + a + ':' + b + f + (c ? MS + a + '-span:' + (d ? e : +e - +b) + f : '') + value;
798
+ });
799
+ // position: sticky
800
+ case 4949:
801
+ // stick(y)?
802
+ if (charat(value, length + 6) === 121) return replace(value, ':', ':' + WEBKIT) + value;
803
+ break;
804
+ // display: (flex|inline-flex|grid|inline-grid)
805
+ case 6444:
806
+ switch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {
807
+ // (inline-)?fle(x)
808
+ case 120:
809
+ return replace(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
810
+ // (inline-)?gri(d)
811
+ case 100:
812
+ return replace(value, ':', ':' + MS) + value;
813
+ }
814
+ break;
815
+ // scroll-margin, scroll-margin-(top|right|bottom|left)
816
+ case 5719:
817
+ case 2647:
818
+ case 2135:
819
+ case 3927:
820
+ case 2391:
821
+ return replace(value, 'scroll-', 'scroll-snap-') + value;
656
822
  }
657
- function Z(d, c, e) {
658
- var h = c.charCodeAt(0);
659
- 33 > h && (h = (c = c.trim()).charCodeAt(0));
660
- switch (h) {
661
- case 38:
662
- return c.replace(F, '$1' + d.trim());
663
- case 58:
664
- return d.trim() + c.replace(F, '$1' + d.trim());
665
- default:
666
- if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
667
- }
668
- return d + c;
823
+ return value;
824
+ }
825
+
826
+ /**
827
+ * @param {object[]} children
828
+ * @param {function} callback
829
+ * @return {string}
830
+ */
831
+ function serialize(children, callback) {
832
+ var output = '';
833
+ for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '';
834
+ return output;
835
+ }
836
+
837
+ /**
838
+ * @param {object} element
839
+ * @param {number} index
840
+ * @param {object[]} children
841
+ * @param {function} callback
842
+ * @return {string}
843
+ */
844
+ function stringify(element, index, children, callback) {
845
+ switch (element.type) {
846
+ case LAYER:
847
+ if (element.children.length) break;
848
+ case IMPORT:
849
+ case DECLARATION:
850
+ return element.return = element.return || element.value;
851
+ case COMMENT:
852
+ return '';
853
+ case KEYFRAMES:
854
+ return element.return = element.value + '{' + serialize(element.children, callback) + '}';
855
+ case RULESET:
856
+ if (!strlen(element.value = element.props.join(','))) return '';
669
857
  }
670
- function P(d, c, e, h) {
671
- var a = d + ';',
672
- m = 2 * c + 3 * e + 4 * h;
673
- if (944 === m) {
674
- d = a.indexOf(':', 9) + 1;
675
- var b = a.substring(d, a.length - 1).trim();
676
- b = a.substring(0, d).trim() + b + ';';
677
- return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
678
- }
679
- if (0 === w || 2 === w && !L(a, 1)) return a;
680
- switch (m) {
681
- case 1015:
682
- return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
683
- case 951:
684
- return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
685
- case 963:
686
- return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
687
- case 1009:
688
- if (100 !== a.charCodeAt(4)) break;
689
- case 969:
690
- case 942:
691
- return '-webkit-' + a + a;
692
- case 978:
693
- return '-webkit-' + a + '-moz-' + a + a;
694
- case 1019:
695
- case 983:
696
- return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
697
- case 883:
698
- if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
699
- if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
700
- break;
701
- case 932:
702
- if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
703
- case 103:
704
- return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
705
- case 115:
706
- return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
707
- case 98:
708
- return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
709
- }
710
- return '-webkit-' + a + '-ms-' + a + a;
711
- case 964:
712
- return '-webkit-' + a + '-ms-flex-' + a + a;
713
- case 1023:
714
- if (99 !== a.charCodeAt(8)) break;
715
- b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
716
- return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
717
- case 1005:
718
- return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
719
- case 1e3:
720
- b = a.substring(13).trim();
721
- c = b.indexOf('-') + 1;
722
- switch (b.charCodeAt(0) + b.charCodeAt(c)) {
723
- case 226:
724
- b = a.replace(G, 'tb');
725
- break;
726
- case 232:
727
- b = a.replace(G, 'tb-rl');
728
- break;
729
- case 220:
730
- b = a.replace(G, 'lr');
858
+ return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
859
+ }
860
+
861
+ /**
862
+ * @param {function[]} collection
863
+ * @return {function}
864
+ */
865
+ function middleware(collection) {
866
+ var length = sizeof(collection);
867
+ return function (element, index, children, callback) {
868
+ var output = '';
869
+ for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
870
+ return output;
871
+ };
872
+ }
873
+
874
+ /**
875
+ * @param {function} callback
876
+ * @return {function}
877
+ */
878
+ function rulesheet(callback) {
879
+ return function (element) {
880
+ if (!element.root) if (element = element.return) callback(element);
881
+ };
882
+ }
883
+
884
+ /**
885
+ * @param {object} element
886
+ * @param {number} index
887
+ * @param {object[]} children
888
+ * @param {function} callback
889
+ */
890
+ function prefixer(element, index, children, callback) {
891
+ if (element.length > -1) if (!element.return) switch (element.type) {
892
+ case DECLARATION:
893
+ element.return = prefix(element.value, element.length, children);
894
+ return;
895
+ case KEYFRAMES:
896
+ return serialize([copy(element, {
897
+ value: replace(element.value, '@', '@' + WEBKIT)
898
+ })], callback);
899
+ case RULESET:
900
+ if (element.length) return combine(children = element.props, function (value) {
901
+ switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
902
+ // :read-(only|write)
903
+ case ':read-only':
904
+ case ':read-write':
905
+ lift(copy(element, {
906
+ props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
907
+ }));
908
+ lift(copy(element, {
909
+ props: [value]
910
+ }));
911
+ assign(element, {
912
+ props: filter(children, callback)
913
+ });
731
914
  break;
732
- default:
733
- return a;
734
- }
735
- return '-webkit-' + a + '-ms-' + b + a;
736
- case 1017:
737
- if (-1 === a.indexOf('sticky', 9)) break;
738
- case 975:
739
- c = (a = d).length - 10;
740
- b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
741
- switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
742
- case 203:
743
- if (111 > b.charCodeAt(8)) break;
744
- case 115:
745
- a = a.replace(b, '-webkit-' + b) + ';' + a;
915
+ // :placeholder
916
+ case '::placeholder':
917
+ lift(copy(element, {
918
+ props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
919
+ }));
920
+ lift(copy(element, {
921
+ props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
922
+ }));
923
+ lift(copy(element, {
924
+ props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
925
+ }));
926
+ lift(copy(element, {
927
+ props: [value]
928
+ }));
929
+ assign(element, {
930
+ props: filter(children, callback)
931
+ });
746
932
  break;
747
- case 207:
748
- case 102:
749
- a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
750
- }
751
- return a + ';';
752
- case 938:
753
- if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
754
- case 105:
755
- return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
756
- case 115:
757
- return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
758
- default:
759
- return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
760
933
  }
761
- break;
762
- case 973:
763
- case 989:
764
- if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
765
- case 931:
766
- case 953:
767
- if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;
768
- break;
769
- case 962:
770
- if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;
771
- }
772
- return a;
773
- }
774
- function L(d, c) {
775
- var e = d.indexOf(1 === c ? ':' : '{'),
776
- h = d.substring(0, 3 !== c ? e : 10);
777
- e = d.substring(e + 1, d.length - 1);
778
- return R(2 !== c ? h : h.replace(na, '$1'), e, c);
779
- }
780
- function ea(d, c) {
781
- var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
782
- return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
783
- }
784
- function H(d, c, e, h, a, m, b, v, n, q) {
785
- for (var g = 0, x = c, w; g < A; ++g) {
786
- switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
787
- case void 0:
788
- case !1:
789
- case !0:
790
- case null:
791
- break;
792
- default:
793
- x = w;
794
- }
795
- }
796
- if (x !== c) return x;
797
- }
798
- function T(d) {
799
- switch (d) {
800
- case void 0:
801
- case null:
802
- A = S.length = 0;
803
- break;
804
- default:
805
- if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
806
- T(d[c]);
807
- } else Y = !!d | 0;
808
- }
809
- return T;
810
- }
811
- function U(d) {
812
- d = d.prefix;
813
- void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
814
- return U;
815
- }
816
- function B(d, c) {
817
- var e = d;
818
- 33 > e.charCodeAt(0) && (e = e.trim());
819
- V = e;
820
- e = [V];
821
- if (0 < A) {
822
- var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
823
- void 0 !== h && 'string' === typeof h && (c = h);
824
- }
825
- var a = M(O, e, c, 0, 0);
826
- 0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
827
- V = '';
828
- E = 0;
829
- z = D = 1;
830
- return a;
934
+ return '';
935
+ });
831
936
  }
832
- var ca = /^\0+/g,
833
- N = /[\0\r\f]/g,
834
- aa = /: */g,
835
- ka = /zoo|gra/,
836
- ma = /([,: ])(transform)/g,
837
- ia = /,\r+?/g,
838
- F = /([\t\r\n ])*\f?&/g,
839
- fa = /@(k\w+)\s*(\S*)\s*/,
840
- Q = /::(place)/g,
841
- ha = /:(read-only)/g,
842
- G = /[svh]\w+-[tblr]{2}/,
843
- da = /\(\s*(.*)\s*\)/g,
844
- oa = /([\s\S]*?);/g,
845
- ba = /-self|flex-/g,
846
- na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
847
- la = /stretch|:\s*\w+\-(?:conte|avail)/,
848
- ja = /([^-])(image-set\()/,
849
- z = 1,
850
- D = 1,
851
- E = 0,
852
- w = 1,
853
- O = [],
854
- S = [],
855
- A = 0,
856
- R = null,
857
- Y = 0,
858
- V = '';
859
- B.use = T;
860
- B.set = U;
861
- void 0 !== W && U(W);
862
- return B;
863
937
  }
864
938
 
865
939
  var unitlessKeys = {
@@ -911,1063 +985,686 @@ var unitlessKeys = {
911
985
  strokeWidth: 1
912
986
  };
913
987
 
914
- function memoize(fn) {
915
- var cache = Object.create(null);
916
- return function (arg) {
917
- if (cache[arg] === undefined) cache[arg] = fn(arg);
918
- return cache[arg];
919
- };
920
- }
921
-
922
- var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
923
-
924
- var isPropValid = /* #__PURE__ */memoize(function (prop) {
925
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
926
- /* o */ && prop.charCodeAt(1) === 110
927
- /* n */ && prop.charCodeAt(2) < 91;
928
- }
929
- /* Z+1 */);
930
-
931
- var reactIs$1 = {exports: {}};
932
-
933
- var reactIs_production_min = {};
934
-
935
- /** @license React v16.13.1
936
- * react-is.production.min.js
937
- *
938
- * Copyright (c) Facebook, Inc. and its affiliates.
939
- *
940
- * This source code is licensed under the MIT license found in the
941
- * LICENSE file in the root directory of this source tree.
942
- */
943
- var hasRequiredReactIs_production_min;
944
- function requireReactIs_production_min() {
945
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
946
- hasRequiredReactIs_production_min = 1;
947
- var b = "function" === typeof Symbol && Symbol.for,
948
- c = b ? Symbol.for("react.element") : 60103,
949
- d = b ? Symbol.for("react.portal") : 60106,
950
- e = b ? Symbol.for("react.fragment") : 60107,
951
- f = b ? Symbol.for("react.strict_mode") : 60108,
952
- g = b ? Symbol.for("react.profiler") : 60114,
953
- h = b ? Symbol.for("react.provider") : 60109,
954
- k = b ? Symbol.for("react.context") : 60110,
955
- l = b ? Symbol.for("react.async_mode") : 60111,
956
- m = b ? Symbol.for("react.concurrent_mode") : 60111,
957
- n = b ? Symbol.for("react.forward_ref") : 60112,
958
- p = b ? Symbol.for("react.suspense") : 60113,
959
- q = b ? Symbol.for("react.suspense_list") : 60120,
960
- r = b ? Symbol.for("react.memo") : 60115,
961
- t = b ? Symbol.for("react.lazy") : 60116,
962
- v = b ? Symbol.for("react.block") : 60121,
963
- w = b ? Symbol.for("react.fundamental") : 60117,
964
- x = b ? Symbol.for("react.responder") : 60118,
965
- y = b ? Symbol.for("react.scope") : 60119;
966
- function z(a) {
967
- if ("object" === typeof a && null !== a) {
968
- var u = a.$$typeof;
969
- switch (u) {
970
- case c:
971
- switch (a = a.type, a) {
972
- case l:
973
- case m:
974
- case e:
975
- case g:
976
- case f:
977
- case p:
978
- return a;
979
- default:
980
- switch (a = a && a.$$typeof, a) {
981
- case k:
982
- case n:
983
- case t:
984
- case r:
985
- case h:
986
- return a;
987
- default:
988
- return u;
989
- }
990
- }
991
- case d:
992
- return u;
988
+ var f = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
989
+ m = "active",
990
+ y = "data-styled-version",
991
+ v = "6.1.8",
992
+ g = "/*!sc*/\n",
993
+ S = "undefined" != typeof window && "HTMLElement" in window,
994
+ w = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
995
+ E = /invalid hook call/i,
996
+ N = new Set(),
997
+ P = function (t, n) {
998
+ if ("production" !== process.env.NODE_ENV) {
999
+ var o = n ? ' with the id of "'.concat(n, '"') : "",
1000
+ s = "The component ".concat(t).concat(o, " has been created dynamically.\n") + "You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
1001
+ i = console.error;
1002
+ try {
1003
+ var a = !0;
1004
+ console.error = function (t) {
1005
+ for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1006
+ E.test(t) ? (a = !1, N.delete(s)) : i.apply(void 0, __spreadArray([t], n, !1));
1007
+ }, useRef(), a && !N.has(s) && (console.warn(s), N.add(s));
1008
+ } catch (e) {
1009
+ E.test(e.message) && N.delete(s);
1010
+ } finally {
1011
+ console.error = i;
993
1012
  }
994
1013
  }
995
- }
996
- function A(a) {
997
- return z(a) === m;
998
- }
999
- reactIs_production_min.AsyncMode = l;
1000
- reactIs_production_min.ConcurrentMode = m;
1001
- reactIs_production_min.ContextConsumer = k;
1002
- reactIs_production_min.ContextProvider = h;
1003
- reactIs_production_min.Element = c;
1004
- reactIs_production_min.ForwardRef = n;
1005
- reactIs_production_min.Fragment = e;
1006
- reactIs_production_min.Lazy = t;
1007
- reactIs_production_min.Memo = r;
1008
- reactIs_production_min.Portal = d;
1009
- reactIs_production_min.Profiler = g;
1010
- reactIs_production_min.StrictMode = f;
1011
- reactIs_production_min.Suspense = p;
1012
- reactIs_production_min.isAsyncMode = function (a) {
1013
- return A(a) || z(a) === l;
1014
- };
1015
- reactIs_production_min.isConcurrentMode = A;
1016
- reactIs_production_min.isContextConsumer = function (a) {
1017
- return z(a) === k;
1018
- };
1019
- reactIs_production_min.isContextProvider = function (a) {
1020
- return z(a) === h;
1021
- };
1022
- reactIs_production_min.isElement = function (a) {
1023
- return "object" === typeof a && null !== a && a.$$typeof === c;
1024
- };
1025
- reactIs_production_min.isForwardRef = function (a) {
1026
- return z(a) === n;
1027
- };
1028
- reactIs_production_min.isFragment = function (a) {
1029
- return z(a) === e;
1030
- };
1031
- reactIs_production_min.isLazy = function (a) {
1032
- return z(a) === t;
1033
- };
1034
- reactIs_production_min.isMemo = function (a) {
1035
- return z(a) === r;
1036
- };
1037
- reactIs_production_min.isPortal = function (a) {
1038
- return z(a) === d;
1039
- };
1040
- reactIs_production_min.isProfiler = function (a) {
1041
- return z(a) === g;
1042
- };
1043
- reactIs_production_min.isStrictMode = function (a) {
1044
- return z(a) === f;
1045
- };
1046
- reactIs_production_min.isSuspense = function (a) {
1047
- return z(a) === p;
1014
+ },
1015
+ _ = Object.freeze([]),
1016
+ C = Object.freeze({});
1017
+ function I(e, t, n) {
1018
+ return void 0 === n && (n = C), e.theme !== n.theme && e.theme || t || n.theme;
1019
+ }
1020
+ var A = new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]),
1021
+ O = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
1022
+ D = /(^-|-$)/g;
1023
+ function R(e) {
1024
+ return e.replace(O, "-").replace(D, "");
1025
+ }
1026
+ var T = /(a)(d)/gi,
1027
+ k = 52,
1028
+ j = function (e) {
1029
+ return String.fromCharCode(e + (e > 25 ? 39 : 97));
1048
1030
  };
1049
- reactIs_production_min.isValidElementType = function (a) {
1050
- return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
1031
+ function x(e) {
1032
+ var t,
1033
+ n = "";
1034
+ for (t = Math.abs(e); t > k; t = t / k | 0) n = j(t % k) + n;
1035
+ return (j(t % k) + n).replace(T, "$1-$2");
1036
+ }
1037
+ var V,
1038
+ F = 5381,
1039
+ M = function (e, t) {
1040
+ for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
1041
+ return e;
1042
+ },
1043
+ z = function (e) {
1044
+ return M(F, e);
1051
1045
  };
1052
- reactIs_production_min.typeOf = z;
1053
- return reactIs_production_min;
1046
+ function $(e) {
1047
+ return x(z(e) >>> 0);
1054
1048
  }
1055
-
1056
- var reactIs_development = {};
1057
-
1058
- /** @license React v16.13.1
1059
- * react-is.development.js
1060
- *
1061
- * Copyright (c) Facebook, Inc. and its affiliates.
1062
- *
1063
- * This source code is licensed under the MIT license found in the
1064
- * LICENSE file in the root directory of this source tree.
1065
- */
1066
- var hasRequiredReactIs_development;
1067
- function requireReactIs_development() {
1068
- if (hasRequiredReactIs_development) return reactIs_development;
1069
- hasRequiredReactIs_development = 1;
1070
- if (process.env.NODE_ENV !== "production") {
1071
- (function () {
1072
-
1073
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1074
- // nor polyfill, then a plain number is used for performance.
1075
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
1076
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
1077
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
1078
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
1079
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
1080
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
1081
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
1082
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
1083
- // (unstable) APIs that have been removed. Can we remove the symbols?
1084
-
1085
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
1086
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
1087
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
1088
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
1089
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
1090
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
1091
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
1092
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
1093
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
1094
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
1095
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
1096
- function isValidElementType(type) {
1097
- return typeof type === 'string' || typeof type === 'function' ||
1098
- // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1099
- 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);
1100
- }
1101
- function typeOf(object) {
1102
- if (typeof object === 'object' && object !== null) {
1103
- var $$typeof = object.$$typeof;
1104
- switch ($$typeof) {
1105
- case REACT_ELEMENT_TYPE:
1106
- var type = object.type;
1107
- switch (type) {
1108
- case REACT_ASYNC_MODE_TYPE:
1109
- case REACT_CONCURRENT_MODE_TYPE:
1110
- case REACT_FRAGMENT_TYPE:
1111
- case REACT_PROFILER_TYPE:
1112
- case REACT_STRICT_MODE_TYPE:
1113
- case REACT_SUSPENSE_TYPE:
1114
- return type;
1115
- default:
1116
- var $$typeofType = type && type.$$typeof;
1117
- switch ($$typeofType) {
1118
- case REACT_CONTEXT_TYPE:
1119
- case REACT_FORWARD_REF_TYPE:
1120
- case REACT_LAZY_TYPE:
1121
- case REACT_MEMO_TYPE:
1122
- case REACT_PROVIDER_TYPE:
1123
- return $$typeofType;
1124
- default:
1125
- return $$typeof;
1126
- }
1127
- }
1128
- case REACT_PORTAL_TYPE:
1129
- return $$typeof;
1130
- }
1131
- }
1132
- return undefined;
1133
- } // AsyncMode is deprecated along with isAsyncMode
1134
-
1135
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
1136
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1137
- var ContextConsumer = REACT_CONTEXT_TYPE;
1138
- var ContextProvider = REACT_PROVIDER_TYPE;
1139
- var Element = REACT_ELEMENT_TYPE;
1140
- var ForwardRef = REACT_FORWARD_REF_TYPE;
1141
- var Fragment = REACT_FRAGMENT_TYPE;
1142
- var Lazy = REACT_LAZY_TYPE;
1143
- var Memo = REACT_MEMO_TYPE;
1144
- var Portal = REACT_PORTAL_TYPE;
1145
- var Profiler = REACT_PROFILER_TYPE;
1146
- var StrictMode = REACT_STRICT_MODE_TYPE;
1147
- var Suspense = REACT_SUSPENSE_TYPE;
1148
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
1149
-
1150
- function isAsyncMode(object) {
1151
- {
1152
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1153
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
1154
-
1155
- 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.');
1156
- }
1157
- }
1158
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1159
- }
1160
- function isConcurrentMode(object) {
1161
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1162
- }
1163
- function isContextConsumer(object) {
1164
- return typeOf(object) === REACT_CONTEXT_TYPE;
1165
- }
1166
- function isContextProvider(object) {
1167
- return typeOf(object) === REACT_PROVIDER_TYPE;
1168
- }
1169
- function isElement(object) {
1170
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1171
- }
1172
- function isForwardRef(object) {
1173
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
1174
- }
1175
- function isFragment(object) {
1176
- return typeOf(object) === REACT_FRAGMENT_TYPE;
1177
- }
1178
- function isLazy(object) {
1179
- return typeOf(object) === REACT_LAZY_TYPE;
1180
- }
1181
- function isMemo(object) {
1182
- return typeOf(object) === REACT_MEMO_TYPE;
1183
- }
1184
- function isPortal(object) {
1185
- return typeOf(object) === REACT_PORTAL_TYPE;
1186
- }
1187
- function isProfiler(object) {
1188
- return typeOf(object) === REACT_PROFILER_TYPE;
1189
- }
1190
- function isStrictMode(object) {
1191
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
1192
- }
1193
- function isSuspense(object) {
1194
- return typeOf(object) === REACT_SUSPENSE_TYPE;
1195
- }
1196
- reactIs_development.AsyncMode = AsyncMode;
1197
- reactIs_development.ConcurrentMode = ConcurrentMode;
1198
- reactIs_development.ContextConsumer = ContextConsumer;
1199
- reactIs_development.ContextProvider = ContextProvider;
1200
- reactIs_development.Element = Element;
1201
- reactIs_development.ForwardRef = ForwardRef;
1202
- reactIs_development.Fragment = Fragment;
1203
- reactIs_development.Lazy = Lazy;
1204
- reactIs_development.Memo = Memo;
1205
- reactIs_development.Portal = Portal;
1206
- reactIs_development.Profiler = Profiler;
1207
- reactIs_development.StrictMode = StrictMode;
1208
- reactIs_development.Suspense = Suspense;
1209
- reactIs_development.isAsyncMode = isAsyncMode;
1210
- reactIs_development.isConcurrentMode = isConcurrentMode;
1211
- reactIs_development.isContextConsumer = isContextConsumer;
1212
- reactIs_development.isContextProvider = isContextProvider;
1213
- reactIs_development.isElement = isElement;
1214
- reactIs_development.isForwardRef = isForwardRef;
1215
- reactIs_development.isFragment = isFragment;
1216
- reactIs_development.isLazy = isLazy;
1217
- reactIs_development.isMemo = isMemo;
1218
- reactIs_development.isPortal = isPortal;
1219
- reactIs_development.isProfiler = isProfiler;
1220
- reactIs_development.isStrictMode = isStrictMode;
1221
- reactIs_development.isSuspense = isSuspense;
1222
- reactIs_development.isValidElementType = isValidElementType;
1223
- reactIs_development.typeOf = typeOf;
1224
- })();
1225
- }
1226
- return reactIs_development;
1049
+ function B(e) {
1050
+ return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
1227
1051
  }
1228
-
1229
- if (process.env.NODE_ENV === 'production') {
1230
- reactIs$1.exports = requireReactIs_production_min();
1231
- } else {
1232
- reactIs$1.exports = requireReactIs_development();
1052
+ function L(e) {
1053
+ return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
1233
1054
  }
1234
- var reactIsExports = reactIs$1.exports;
1235
-
1236
- var reactIs = reactIsExports;
1237
-
1238
- /**
1239
- * Copyright 2015, Yahoo! Inc.
1240
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
1241
- */
1242
- var REACT_STATICS = {
1243
- childContextTypes: true,
1244
- contextType: true,
1245
- contextTypes: true,
1246
- defaultProps: true,
1247
- displayName: true,
1248
- getDefaultProps: true,
1249
- getDerivedStateFromError: true,
1250
- getDerivedStateFromProps: true,
1251
- mixins: true,
1252
- propTypes: true,
1253
- type: true
1254
- };
1255
- var KNOWN_STATICS = {
1256
- name: true,
1257
- length: true,
1258
- prototype: true,
1259
- caller: true,
1260
- callee: true,
1261
- arguments: true,
1262
- arity: true
1263
- };
1264
- var FORWARD_REF_STATICS = {
1265
- '$$typeof': true,
1266
- render: true,
1267
- defaultProps: true,
1268
- displayName: true,
1269
- propTypes: true
1270
- };
1271
- var MEMO_STATICS = {
1272
- '$$typeof': true,
1273
- compare: true,
1274
- defaultProps: true,
1275
- displayName: true,
1276
- propTypes: true,
1277
- type: true
1278
- };
1279
- var TYPE_STATICS = {};
1280
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1281
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1282
- function getStatics(component) {
1283
- // React v16.11 and below
1284
- if (reactIs.isMemo(component)) {
1285
- return MEMO_STATICS;
1286
- } // React v16.12 and above
1287
-
1288
- return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
1055
+ var G = "function" == typeof Symbol && Symbol.for,
1056
+ Y = G ? Symbol.for("react.memo") : 60115,
1057
+ q = G ? Symbol.for("react.forward_ref") : 60112,
1058
+ W = {
1059
+ childContextTypes: !0,
1060
+ contextType: !0,
1061
+ contextTypes: !0,
1062
+ defaultProps: !0,
1063
+ displayName: !0,
1064
+ getDefaultProps: !0,
1065
+ getDerivedStateFromError: !0,
1066
+ getDerivedStateFromProps: !0,
1067
+ mixins: !0,
1068
+ propTypes: !0,
1069
+ type: !0
1070
+ },
1071
+ H = {
1072
+ name: !0,
1073
+ length: !0,
1074
+ prototype: !0,
1075
+ caller: !0,
1076
+ callee: !0,
1077
+ arguments: !0,
1078
+ arity: !0
1079
+ },
1080
+ U = {
1081
+ $$typeof: !0,
1082
+ compare: !0,
1083
+ defaultProps: !0,
1084
+ displayName: !0,
1085
+ propTypes: !0,
1086
+ type: !0
1087
+ },
1088
+ J = ((V = {})[q] = {
1089
+ $$typeof: !0,
1090
+ render: !0,
1091
+ defaultProps: !0,
1092
+ displayName: !0,
1093
+ propTypes: !0
1094
+ }, V[Y] = U, V);
1095
+ function X(e) {
1096
+ return ("type" in (t = e) && t.type.$$typeof) === Y ? U : "$$typeof" in e ? J[e.$$typeof] : W;
1097
+ var t;
1289
1098
  }
1290
- var defineProperty = Object.defineProperty;
1291
- var getOwnPropertyNames = Object.getOwnPropertyNames;
1292
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1293
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1294
- var getPrototypeOf = Object.getPrototypeOf;
1295
- var objectPrototype = Object.prototype;
1296
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
1297
- if (typeof sourceComponent !== 'string') {
1298
- // don't hoist over string (html) components
1299
- if (objectPrototype) {
1300
- var inheritedComponent = getPrototypeOf(sourceComponent);
1301
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
1302
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
1303
- }
1099
+ var Z = Object.defineProperty,
1100
+ K = Object.getOwnPropertyNames,
1101
+ Q = Object.getOwnPropertySymbols,
1102
+ ee = Object.getOwnPropertyDescriptor,
1103
+ te = Object.getPrototypeOf,
1104
+ ne = Object.prototype;
1105
+ function oe(e, t, n) {
1106
+ if ("string" != typeof t) {
1107
+ if (ne) {
1108
+ var o = te(t);
1109
+ o && o !== ne && oe(e, o, n);
1304
1110
  }
1305
- var keys = getOwnPropertyNames(sourceComponent);
1306
- if (getOwnPropertySymbols) {
1307
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
1308
- }
1309
- var targetStatics = getStatics(targetComponent);
1310
- var sourceStatics = getStatics(sourceComponent);
1311
- for (var i = 0; i < keys.length; ++i) {
1312
- var key = keys[i];
1313
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
1314
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
1111
+ var r = K(t);
1112
+ Q && (r = r.concat(Q(t)));
1113
+ for (var s = X(e), i = X(t), a = 0; a < r.length; ++a) {
1114
+ var c = r[a];
1115
+ if (!(c in H || n && n[c] || i && c in i || s && c in s)) {
1116
+ var l = ee(t, c);
1315
1117
  try {
1316
- // Avoid failures from read-only properties
1317
- defineProperty(targetComponent, key, descriptor);
1118
+ Z(e, c, l);
1318
1119
  } catch (e) {}
1319
1120
  }
1320
1121
  }
1321
1122
  }
1322
- return targetComponent;
1323
- }
1324
- var hoistNonReactStatics_cjs = hoistNonReactStatics;
1325
- var m = /*@__PURE__*/getDefaultExportFromCjs(hoistNonReactStatics_cjs);
1326
-
1327
- function y() {
1328
- return (y = Object.assign || function (e) {
1329
- for (var t = 1; t < arguments.length; t++) {
1330
- var n = arguments[t];
1331
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
1332
- }
1333
- return e;
1334
- }).apply(this, arguments);
1123
+ return e;
1335
1124
  }
1336
- var v = function (e, t) {
1337
- for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
1338
- return n;
1339
- },
1340
- g = function (t) {
1341
- return null !== t && "object" == typeof t && "[object Object]" === (t.toString ? t.toString() : Object.prototype.toString.call(t)) && !reactIsExports$1.typeOf(t);
1342
- },
1343
- S = Object.freeze([]),
1344
- w = Object.freeze({});
1345
- function E(e) {
1125
+ function re(e) {
1346
1126
  return "function" == typeof e;
1347
1127
  }
1348
- function b(e) {
1349
- return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
1128
+ function se(e) {
1129
+ return "object" == typeof e && "styledComponentId" in e;
1130
+ }
1131
+ function ie(e, t) {
1132
+ return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1133
+ }
1134
+ function ae(e, t) {
1135
+ if (0 === e.length) return "";
1136
+ for (var n = e[0], o = 1; o < e.length; o++) n += t ? t + e[o] : e[o];
1137
+ return n;
1138
+ }
1139
+ function ce(e) {
1140
+ return null !== e && "object" == typeof e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
1350
1141
  }
1351
- function _(e) {
1352
- return e && "string" == typeof e.styledComponentId;
1142
+ function le(e, t, n) {
1143
+ if (void 0 === n && (n = !1), !n && !ce(e) && !Array.isArray(e)) return t;
1144
+ if (Array.isArray(t)) for (var o = 0; o < t.length; o++) e[o] = le(e[o], t[o]);else if (ce(t)) for (var o in t) e[o] = le(e[o], t[o]);
1145
+ return e;
1146
+ }
1147
+ function ue(e, t) {
1148
+ Object.defineProperty(e, "toString", {
1149
+ value: t
1150
+ });
1353
1151
  }
1354
- var N = "undefined" != typeof process && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
1355
- C = "undefined" != typeof window && "HTMLElement" in window,
1356
- I = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
1357
- O = "production" !== process.env.NODE_ENV ? {
1358
- 1: "Cannot create styled-component for component: %s.\n\n",
1359
- 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
1360
- 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
1361
- 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
1362
- 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
1363
- 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
1364
- 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
1365
- 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
1366
- 9: "Missing document `<head>`\n\n",
1367
- 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
1368
- 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
1369
- 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
1370
- 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
1371
- 14: 'ThemeProvider: "theme" prop is required.\n\n',
1372
- 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
1373
- 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
1374
- 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"
1375
- } : {};
1376
- function R() {
1377
- for (var e = arguments.length <= 0 ? void 0 : arguments[0], t = [], n = 1, r = arguments.length; n < r; n += 1) t.push(n < 0 || arguments.length <= n ? void 0 : arguments[n]);
1378
- return t.forEach(function (t) {
1379
- e = e.replace(/%[a-z]/, t);
1380
- }), e;
1152
+ var pe = "production" !== process.env.NODE_ENV ? {
1153
+ 1: "Cannot create styled-component for component: %s.\n\n",
1154
+ 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
1155
+ 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
1156
+ 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
1157
+ 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
1158
+ 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
1159
+ 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
1160
+ 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
1161
+ 9: "Missing document `<head>`\n\n",
1162
+ 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
1163
+ 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
1164
+ 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
1165
+ 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
1166
+ 14: 'ThemeProvider: "theme" prop is required.\n\n',
1167
+ 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
1168
+ 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
1169
+ 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
1170
+ 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
1171
+ } : {};
1172
+ function de() {
1173
+ for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1174
+ for (var n = e[0], o = [], r = 1, s = e.length; r < s; r += 1) o.push(e[r]);
1175
+ return o.forEach(function (e) {
1176
+ n = n.replace(/%[a-z]/, e);
1177
+ }), n;
1381
1178
  }
1382
- function D(e) {
1383
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1384
- throw "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(R.apply(void 0, [O[e]].concat(n)).trim());
1179
+ function he(t) {
1180
+ for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1181
+ return "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t, " for more information.").concat(n.length > 0 ? " Args: ".concat(n.join(", ")) : "")) : new Error(de.apply(void 0, __spreadArray([pe[t]], n, !1)).trim());
1385
1182
  }
1386
- var j = function () {
1183
+ var fe = function () {
1387
1184
  function e(e) {
1388
1185
  this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
1389
1186
  }
1390
- var t = e.prototype;
1391
- return t.indexOfGroup = function (e) {
1187
+ return e.prototype.indexOfGroup = function (e) {
1392
1188
  for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
1393
1189
  return t;
1394
- }, t.insertRules = function (e, t) {
1190
+ }, e.prototype.insertRules = function (e, t) {
1395
1191
  if (e >= this.groupSizes.length) {
1396
- for (var n = this.groupSizes, r = n.length, o = r; e >= o;) (o <<= 1) < 0 && D(16, "" + e);
1397
- this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
1398
- for (var s = r; s < o; s++) this.groupSizes[s] = 0;
1192
+ for (var n = this.groupSizes, o = n.length, r = o; e >= r;) if ((r <<= 1) < 0) throw he(16, "".concat(e));
1193
+ this.groupSizes = new Uint32Array(r), this.groupSizes.set(n), this.length = r;
1194
+ for (var s = o; s < r; s++) this.groupSizes[s] = 0;
1399
1195
  }
1400
- for (var i = this.indexOfGroup(e + 1), a = 0, c = t.length; a < c; a++) this.tag.insertRule(i, t[a]) && (this.groupSizes[e]++, i++);
1401
- }, t.clearGroup = function (e) {
1196
+ for (var i = this.indexOfGroup(e + 1), a = (s = 0, t.length); s < a; s++) this.tag.insertRule(i, t[s]) && (this.groupSizes[e]++, i++);
1197
+ }, e.prototype.clearGroup = function (e) {
1402
1198
  if (e < this.length) {
1403
1199
  var t = this.groupSizes[e],
1404
1200
  n = this.indexOfGroup(e),
1405
- r = n + t;
1201
+ o = n + t;
1406
1202
  this.groupSizes[e] = 0;
1407
- for (var o = n; o < r; o++) this.tag.deleteRule(n);
1203
+ for (var r = n; r < o; r++) this.tag.deleteRule(n);
1408
1204
  }
1409
- }, t.getGroup = function (e) {
1205
+ }, e.prototype.getGroup = function (e) {
1410
1206
  var t = "";
1411
1207
  if (e >= this.length || 0 === this.groupSizes[e]) return t;
1412
- for (var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n, s = r; s < o; s++) t += this.tag.getRule(s) + "/*!sc*/\n";
1208
+ for (var n = this.groupSizes[e], o = this.indexOfGroup(e), r = o + n, s = o; s < r; s++) t += "".concat(this.tag.getRule(s)).concat(g);
1413
1209
  return t;
1414
1210
  }, e;
1415
1211
  }(),
1416
- T = new Map(),
1417
- x = new Map(),
1418
- k = 1,
1419
- V = function (e) {
1420
- if (T.has(e)) return T.get(e);
1421
- for (; x.has(k);) k++;
1422
- var t = k++;
1423
- return "production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1 << 30) && D(16, "" + t), T.set(e, t), x.set(t, e), t;
1424
- },
1425
- z = function (e) {
1426
- return x.get(e);
1212
+ me = new Map(),
1213
+ ye = new Map(),
1214
+ ve = 1,
1215
+ ge = function (e) {
1216
+ if (me.has(e)) return me.get(e);
1217
+ for (; ye.has(ve);) ve++;
1218
+ var t = ve++;
1219
+ if ("production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1073741824)) throw he(16, "".concat(t));
1220
+ return me.set(e, t), ye.set(t, e), t;
1427
1221
  },
1428
- B = function (e, t) {
1429
- t >= k && (k = t + 1), T.set(e, t), x.set(t, e);
1222
+ Se = function (e, t) {
1223
+ ve = t + 1, me.set(e, t), ye.set(t, e);
1430
1224
  },
1431
- M = "style[" + N + '][data-styled-version="5.3.6"]',
1432
- G = new RegExp("^" + N + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
1433
- L = function (e, t, n) {
1434
- for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
1225
+ we = "style[".concat(f, "][").concat(y, '="').concat(v, '"]'),
1226
+ be = new RegExp("^".concat(f, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),
1227
+ Ee = function (e, t, n) {
1228
+ for (var o, r = n.split(","), s = 0, i = r.length; s < i; s++) (o = r[s]) && e.registerName(t, o);
1435
1229
  },
1436
- F = function (e, t) {
1437
- for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], o = 0, s = n.length; o < s; o++) {
1438
- var i = n[o].trim();
1439
- if (i) {
1440
- var a = i.match(G);
1441
- if (a) {
1442
- var c = 0 | parseInt(a[1], 10),
1443
- u = a[2];
1444
- 0 !== c && (B(u, c), L(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0;
1445
- } else r.push(i);
1230
+ Ne = function (e, t) {
1231
+ for (var n, o = (null !== (n = t.textContent) && void 0 !== n ? n : "").split(g), r = [], s = 0, i = o.length; s < i; s++) {
1232
+ var a = o[s].trim();
1233
+ if (a) {
1234
+ var c = a.match(be);
1235
+ if (c) {
1236
+ var l = 0 | parseInt(c[1], 10),
1237
+ u = c[2];
1238
+ 0 !== l && (Se(u, l), Ee(e, u, c[3]), e.getTag().insertRules(l, r)), r.length = 0;
1239
+ } else r.push(a);
1446
1240
  }
1447
1241
  }
1448
- },
1449
- Y = function () {
1450
- return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
1451
- },
1452
- q = function (e) {
1242
+ };
1243
+ function Pe() {
1244
+ return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
1245
+ }
1246
+ var _e = function (e) {
1453
1247
  var t = document.head,
1454
1248
  n = e || t,
1455
- r = document.createElement("style"),
1456
- o = function (e) {
1457
- for (var t = e.childNodes, n = t.length; n >= 0; n--) {
1458
- var r = t[n];
1459
- if (r && 1 === r.nodeType && r.hasAttribute(N)) return r;
1460
- }
1249
+ o = document.createElement("style"),
1250
+ r = function (e) {
1251
+ var t = Array.from(e.querySelectorAll("style[".concat(f, "]")));
1252
+ return t[t.length - 1];
1461
1253
  }(n),
1462
- s = void 0 !== o ? o.nextSibling : null;
1463
- r.setAttribute(N, "active"), r.setAttribute("data-styled-version", "5.3.6");
1464
- var i = Y();
1465
- return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
1254
+ s = void 0 !== r ? r.nextSibling : null;
1255
+ o.setAttribute(f, m), o.setAttribute(y, v);
1256
+ var i = Pe();
1257
+ return i && o.setAttribute("nonce", i), n.insertBefore(o, s), o;
1466
1258
  },
1467
- H = function () {
1259
+ Ce = function () {
1468
1260
  function e(e) {
1469
- var t = this.element = q(e);
1470
- t.appendChild(document.createTextNode("")), this.sheet = function (e) {
1261
+ this.element = _e(e), this.element.appendChild(document.createTextNode("")), this.sheet = function (e) {
1471
1262
  if (e.sheet) return e.sheet;
1472
- for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
1473
- var o = t[n];
1474
- if (o.ownerNode === e) return o;
1263
+ for (var t = document.styleSheets, n = 0, o = t.length; n < o; n++) {
1264
+ var r = t[n];
1265
+ if (r.ownerNode === e) return r;
1475
1266
  }
1476
- D(17);
1477
- }(t), this.length = 0;
1267
+ throw he(17);
1268
+ }(this.element), this.length = 0;
1478
1269
  }
1479
- var t = e.prototype;
1480
- return t.insertRule = function (e, t) {
1270
+ return e.prototype.insertRule = function (e, t) {
1481
1271
  try {
1482
1272
  return this.sheet.insertRule(t, e), this.length++, !0;
1483
1273
  } catch (e) {
1484
1274
  return !1;
1485
1275
  }
1486
- }, t.deleteRule = function (e) {
1276
+ }, e.prototype.deleteRule = function (e) {
1487
1277
  this.sheet.deleteRule(e), this.length--;
1488
- }, t.getRule = function (e) {
1278
+ }, e.prototype.getRule = function (e) {
1489
1279
  var t = this.sheet.cssRules[e];
1490
- return void 0 !== t && "string" == typeof t.cssText ? t.cssText : "";
1280
+ return t && t.cssText ? t.cssText : "";
1491
1281
  }, e;
1492
1282
  }(),
1493
- $ = function () {
1283
+ Ie = function () {
1494
1284
  function e(e) {
1495
- var t = this.element = q(e);
1496
- this.nodes = t.childNodes, this.length = 0;
1285
+ this.element = _e(e), this.nodes = this.element.childNodes, this.length = 0;
1497
1286
  }
1498
- var t = e.prototype;
1499
- return t.insertRule = function (e, t) {
1287
+ return e.prototype.insertRule = function (e, t) {
1500
1288
  if (e <= this.length && e >= 0) {
1501
- var n = document.createTextNode(t),
1502
- r = this.nodes[e];
1503
- return this.element.insertBefore(n, r || null), this.length++, !0;
1289
+ var n = document.createTextNode(t);
1290
+ return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
1504
1291
  }
1505
1292
  return !1;
1506
- }, t.deleteRule = function (e) {
1293
+ }, e.prototype.deleteRule = function (e) {
1507
1294
  this.element.removeChild(this.nodes[e]), this.length--;
1508
- }, t.getRule = function (e) {
1295
+ }, e.prototype.getRule = function (e) {
1509
1296
  return e < this.length ? this.nodes[e].textContent : "";
1510
1297
  }, e;
1511
1298
  }(),
1512
- W = function () {
1299
+ Ae = function () {
1513
1300
  function e(e) {
1514
1301
  this.rules = [], this.length = 0;
1515
1302
  }
1516
- var t = e.prototype;
1517
- return t.insertRule = function (e, t) {
1303
+ return e.prototype.insertRule = function (e, t) {
1518
1304
  return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
1519
- }, t.deleteRule = function (e) {
1305
+ }, e.prototype.deleteRule = function (e) {
1520
1306
  this.rules.splice(e, 1), this.length--;
1521
- }, t.getRule = function (e) {
1307
+ }, e.prototype.getRule = function (e) {
1522
1308
  return e < this.length ? this.rules[e] : "";
1523
1309
  }, e;
1524
1310
  }(),
1525
- U = C,
1526
- J = {
1527
- isServer: !C,
1528
- useCSSOMInjection: !I
1311
+ Oe = S,
1312
+ De = {
1313
+ isServer: !S,
1314
+ useCSSOMInjection: !w
1529
1315
  },
1530
- X = function () {
1531
- function e(e, t, n) {
1532
- void 0 === e && (e = w), void 0 === t && (t = {}), this.options = y({}, J, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && C && U && (U = !1, function (e) {
1533
- for (var t = document.querySelectorAll(M), n = 0, r = t.length; n < r; n++) {
1534
- var o = t[n];
1535
- o && "active" !== o.getAttribute(N) && (F(e, o), o.parentNode && o.parentNode.removeChild(o));
1316
+ Re = function () {
1317
+ function e(e, n, o) {
1318
+ void 0 === e && (e = C), void 0 === n && (n = {});
1319
+ var r = this;
1320
+ this.options = __assign(__assign({}, De), e), this.gs = n, this.names = new Map(o), this.server = !!e.isServer, !this.server && S && Oe && (Oe = !1, function (e) {
1321
+ for (var t = document.querySelectorAll(we), n = 0, o = t.length; n < o; n++) {
1322
+ var r = t[n];
1323
+ r && r.getAttribute(f) !== m && (Ne(e, r), r.parentNode && r.parentNode.removeChild(r));
1536
1324
  }
1537
- }(this));
1325
+ }(this)), ue(this, function () {
1326
+ return function (e) {
1327
+ for (var t = e.getTag(), n = t.length, o = "", r = function (n) {
1328
+ var r = function (e) {
1329
+ return ye.get(e);
1330
+ }(n);
1331
+ if (void 0 === r) return "continue";
1332
+ var s = e.names.get(r),
1333
+ i = t.getGroup(n);
1334
+ if (void 0 === s || 0 === i.length) return "continue";
1335
+ var a = "".concat(f, ".g").concat(n, '[id="').concat(r, '"]'),
1336
+ c = "";
1337
+ void 0 !== s && s.forEach(function (e) {
1338
+ e.length > 0 && (c += "".concat(e, ","));
1339
+ }), o += "".concat(i).concat(a, '{content:"').concat(c, '"}').concat(g);
1340
+ }, s = 0; s < n; s++) r(s);
1341
+ return o;
1342
+ }(r);
1343
+ });
1538
1344
  }
1539
- e.registerId = function (e) {
1540
- return V(e);
1541
- };
1542
- var t = e.prototype;
1543
- return t.reconstructWithOptions = function (t, n) {
1544
- return void 0 === n && (n = !0), new e(y({}, this.options, {}, t), this.gs, n && this.names || void 0);
1545
- }, t.allocateGSInstance = function (e) {
1345
+ return e.registerId = function (e) {
1346
+ return ge(e);
1347
+ }, e.prototype.reconstructWithOptions = function (n, o) {
1348
+ return void 0 === o && (o = !0), new e(__assign(__assign({}, this.options), n), this.gs, o && this.names || void 0);
1349
+ }, e.prototype.allocateGSInstance = function (e) {
1546
1350
  return this.gs[e] = (this.gs[e] || 0) + 1;
1547
- }, t.getTag = function () {
1548
- return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new W(o) : r ? new H(o) : new $(o), new j(e)));
1549
- var e, t, n, r, o;
1550
- }, t.hasNameForId = function (e, t) {
1351
+ }, e.prototype.getTag = function () {
1352
+ return this.tag || (this.tag = (e = function (e) {
1353
+ var t = e.useCSSOMInjection,
1354
+ n = e.target;
1355
+ return e.isServer ? new Ae(n) : t ? new Ce(n) : new Ie(n);
1356
+ }(this.options), new fe(e)));
1357
+ var e;
1358
+ }, e.prototype.hasNameForId = function (e, t) {
1551
1359
  return this.names.has(e) && this.names.get(e).has(t);
1552
- }, t.registerName = function (e, t) {
1553
- if (V(e), this.names.has(e)) this.names.get(e).add(t);else {
1360
+ }, e.prototype.registerName = function (e, t) {
1361
+ if (ge(e), this.names.has(e)) this.names.get(e).add(t);else {
1554
1362
  var n = new Set();
1555
1363
  n.add(t), this.names.set(e, n);
1556
1364
  }
1557
- }, t.insertRules = function (e, t, n) {
1558
- this.registerName(e, t), this.getTag().insertRules(V(e), n);
1559
- }, t.clearNames = function (e) {
1365
+ }, e.prototype.insertRules = function (e, t, n) {
1366
+ this.registerName(e, t), this.getTag().insertRules(ge(e), n);
1367
+ }, e.prototype.clearNames = function (e) {
1560
1368
  this.names.has(e) && this.names.get(e).clear();
1561
- }, t.clearRules = function (e) {
1562
- this.getTag().clearGroup(V(e)), this.clearNames(e);
1563
- }, t.clearTag = function () {
1369
+ }, e.prototype.clearRules = function (e) {
1370
+ this.getTag().clearGroup(ge(e)), this.clearNames(e);
1371
+ }, e.prototype.clearTag = function () {
1564
1372
  this.tag = void 0;
1565
- }, t.toString = function () {
1566
- return function (e) {
1567
- for (var t = e.getTag(), n = t.length, r = "", o = 0; o < n; o++) {
1568
- var s = z(o);
1569
- if (void 0 !== s) {
1570
- var i = e.names.get(s),
1571
- a = t.getGroup(o);
1572
- if (i && a && i.size) {
1573
- var c = N + ".g" + o + '[id="' + s + '"]',
1574
- u = "";
1575
- void 0 !== i && i.forEach(function (e) {
1576
- e.length > 0 && (u += e + ",");
1577
- }), r += "" + a + c + '{content:"' + u + '"}/*!sc*/\n';
1578
- }
1579
- }
1580
- }
1581
- return r;
1582
- }(this);
1583
1373
  }, e;
1584
1374
  }(),
1585
- Z = /(a)(d)/gi,
1586
- K = function (e) {
1587
- return String.fromCharCode(e + (e > 25 ? 39 : 97));
1588
- };
1589
- function Q(e) {
1375
+ Te = /&/g,
1376
+ ke = /^\s*\/\/.*$/gm;
1377
+ function je(e, t) {
1378
+ return e.map(function (e) {
1379
+ return "rule" === e.type && (e.value = "".concat(t, " ").concat(e.value), e.value = e.value.replaceAll(",", ",".concat(t, " ")), e.props = e.props.map(function (e) {
1380
+ return "".concat(t, " ").concat(e);
1381
+ })), Array.isArray(e.children) && "@keyframes" !== e.type && (e.children = je(e.children, t)), e;
1382
+ });
1383
+ }
1384
+ function xe(e) {
1590
1385
  var t,
1591
- n = "";
1592
- for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = K(t % 52) + n;
1593
- return (K(t % 52) + n).replace(Z, "$1-$2");
1386
+ n,
1387
+ o,
1388
+ r = void 0 === e ? C : e,
1389
+ s = r.options,
1390
+ i = void 0 === s ? C : s,
1391
+ a = r.plugins,
1392
+ c = void 0 === a ? _ : a,
1393
+ l = function (e, o, r) {
1394
+ return r.startsWith(n) && r.endsWith(n) && r.replaceAll(n, "").length > 0 ? ".".concat(t) : e;
1395
+ },
1396
+ u = c.slice();
1397
+ u.push(function (e) {
1398
+ e.type === RULESET && e.value.includes("&") && (e.props[0] = e.props[0].replace(Te, n).replace(o, l));
1399
+ }), i.prefix && u.push(prefixer), u.push(stringify);
1400
+ var p = function (e, r, s, a) {
1401
+ void 0 === r && (r = ""), void 0 === s && (s = ""), void 0 === a && (a = "&"), t = a, n = r, o = new RegExp("\\".concat(n, "\\b"), "g");
1402
+ var c = e.replace(ke, ""),
1403
+ l = compile(s || r ? "".concat(s, " ").concat(r, " { ").concat(c, " }") : c);
1404
+ i.namespace && (l = je(l, i.namespace));
1405
+ var p = [];
1406
+ return serialize(l, middleware(u.concat(rulesheet(function (e) {
1407
+ return p.push(e);
1408
+ })))), p;
1409
+ };
1410
+ return p.hash = c.length ? c.reduce(function (e, t) {
1411
+ return t.name || he(15), M(e, t.name);
1412
+ }, F).toString() : "", p;
1594
1413
  }
1595
- var ee = function (e, t) {
1596
- for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
1597
- return e;
1414
+ var Ve = new Re(),
1415
+ Fe = xe(),
1416
+ Me = React.createContext({
1417
+ shouldForwardProp: void 0,
1418
+ styleSheet: Ve,
1419
+ stylis: Fe
1420
+ });
1421
+ Me.Consumer;
1422
+ React.createContext(void 0);
1423
+ function Be() {
1424
+ return useContext(Me);
1425
+ }
1426
+ var Ge = function () {
1427
+ function e(e, t) {
1428
+ var n = this;
1429
+ this.inject = function (e, t) {
1430
+ void 0 === t && (t = Fe);
1431
+ var o = n.name + t.hash;
1432
+ e.hasNameForId(n.id, o) || e.insertRules(n.id, o, t(n.rules, o, "@keyframes"));
1433
+ }, this.name = e, this.id = "sc-keyframes-".concat(e), this.rules = t, ue(this, function () {
1434
+ throw he(12, String(n.name));
1435
+ });
1436
+ }
1437
+ return e.prototype.getName = function (e) {
1438
+ return void 0 === e && (e = Fe), this.name + e.hash;
1439
+ }, e;
1440
+ }(),
1441
+ Ye = function (e) {
1442
+ return e >= "A" && e <= "Z";
1443
+ };
1444
+ function qe(e) {
1445
+ for (var t = "", n = 0; n < e.length; n++) {
1446
+ var o = e[n];
1447
+ if (1 === n && "-" === o && "-" === e[0]) return e;
1448
+ Ye(o) ? t += "-" + o.toLowerCase() : t += o;
1449
+ }
1450
+ return t.startsWith("ms-") ? "-" + t : t;
1451
+ }
1452
+ var We = function (e) {
1453
+ return null == e || !1 === e || "" === e;
1598
1454
  },
1599
- te = function (e) {
1600
- return ee(5381, e);
1455
+ He = function (t) {
1456
+ var n,
1457
+ o,
1458
+ r = [];
1459
+ for (var s in t) {
1460
+ var i = t[s];
1461
+ t.hasOwnProperty(s) && !We(i) && (Array.isArray(i) && i.isCss || re(i) ? r.push("".concat(qe(s), ":"), i, ";") : ce(i) ? r.push.apply(r, __spreadArray(__spreadArray(["".concat(s, " {")], He(i), !1), ["}"], !1)) : r.push("".concat(qe(s), ": ").concat((n = s, null == (o = i) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || n in unitlessKeys || n.startsWith("--") ? String(o).trim() : "".concat(o, "px")), ";")));
1462
+ }
1463
+ return r;
1601
1464
  };
1602
- function ne(e) {
1465
+ function Ue(e, t, n, o) {
1466
+ if (We(e)) return [];
1467
+ if (se(e)) return [".".concat(e.styledComponentId)];
1468
+ if (re(e)) {
1469
+ if (!re(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
1470
+ var r = e(t);
1471
+ return "production" === process.env.NODE_ENV || "object" != typeof r || Array.isArray(r) || r instanceof Ge || ce(r) || null === r || console.error("".concat(B(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Ue(r, t, n, o);
1472
+ }
1473
+ var s;
1474
+ return e instanceof Ge ? n ? (e.inject(n, o), [e.getName(o)]) : [e] : ce(e) ? He(e) : Array.isArray(e) ? Array.prototype.concat.apply(_, e.map(function (e) {
1475
+ return Ue(e, t, n, o);
1476
+ })) : [e.toString()];
1477
+ }
1478
+ function Je(e) {
1603
1479
  for (var t = 0; t < e.length; t += 1) {
1604
1480
  var n = e[t];
1605
- if (E(n) && !_(n)) return !1;
1481
+ if (re(n) && !se(n)) return !1;
1606
1482
  }
1607
1483
  return !0;
1608
1484
  }
1609
- var re = te("5.3.6"),
1610
- oe = function () {
1485
+ var Xe = z(v),
1486
+ Ze = function () {
1611
1487
  function e(e, t, n) {
1612
- this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && ne(e), this.componentId = t, this.baseHash = ee(re, t), this.baseStyle = n, X.registerId(t);
1488
+ this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && Je(e), this.componentId = t, this.baseHash = M(Xe, t), this.baseStyle = n, Re.registerId(t);
1613
1489
  }
1614
1490
  return e.prototype.generateAndInjectStyles = function (e, t, n) {
1615
- var r = this.componentId,
1616
- o = [];
1617
- if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, t, n)), this.isStatic && !n.hash) {
1618
- if (this.staticRulesId && t.hasNameForId(r, this.staticRulesId)) o.push(this.staticRulesId);else {
1619
- var s = _e(this.rules, e, t, n).join(""),
1620
- i = Q(ee(this.baseHash, s) >>> 0);
1621
- if (!t.hasNameForId(r, i)) {
1622
- var a = n(s, "." + i, void 0, r);
1623
- t.insertRules(r, i, a);
1491
+ var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
1492
+ if (this.isStatic && !n.hash) {
1493
+ if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) o = ie(o, this.staticRulesId);else {
1494
+ var r = ae(Ue(this.rules, e, t, n)),
1495
+ s = x(M(this.baseHash, r) >>> 0);
1496
+ if (!t.hasNameForId(this.componentId, s)) {
1497
+ var i = n(r, ".".concat(s), void 0, this.componentId);
1498
+ t.insertRules(this.componentId, s, i);
1624
1499
  }
1625
- o.push(i), this.staticRulesId = i;
1500
+ o = ie(o, s), this.staticRulesId = s;
1626
1501
  }
1627
1502
  } else {
1628
- for (var c = this.rules.length, u = ee(this.baseHash, n.hash), l = "", d = 0; d < c; d++) {
1629
- var h = this.rules[d];
1630
- if ("string" == typeof h) l += h, "production" !== process.env.NODE_ENV && (u = ee(u, h + d));else if (h) {
1631
- var p = _e(h, e, t, n),
1632
- f = Array.isArray(p) ? p.join("") : p;
1633
- u = ee(u, f + d), l += f;
1503
+ for (var a = M(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
1504
+ var u = this.rules[l];
1505
+ if ("string" == typeof u) c += u, "production" !== process.env.NODE_ENV && (a = M(a, u));else if (u) {
1506
+ var p = ae(Ue(u, e, t, n));
1507
+ a = M(a, p + l), c += p;
1634
1508
  }
1635
1509
  }
1636
- if (l) {
1637
- var m = Q(u >>> 0);
1638
- if (!t.hasNameForId(r, m)) {
1639
- var y = n(l, "." + m, void 0, r);
1640
- t.insertRules(r, m, y);
1641
- }
1642
- o.push(m);
1510
+ if (c) {
1511
+ var d = x(a >>> 0);
1512
+ t.hasNameForId(this.componentId, d) || t.insertRules(this.componentId, d, n(c, ".".concat(d), void 0, this.componentId)), o = ie(o, d);
1643
1513
  }
1644
1514
  }
1645
- return o.join(" ");
1515
+ return o;
1646
1516
  }, e;
1647
1517
  }(),
1648
- se = /^\s*\/\/.*$/gm,
1649
- ie = [":", "[", ".", "#"];
1650
- function ae(e) {
1651
- var t,
1652
- n,
1653
- r,
1654
- o,
1655
- s = void 0 === e ? w : e,
1656
- i = s.options,
1657
- a = void 0 === i ? w : i,
1658
- c = s.plugins,
1659
- u = void 0 === c ? S : c,
1660
- l = new stylis_min(a),
1661
- d = [],
1662
- p = function (e) {
1663
- function t(t) {
1664
- if (t) try {
1665
- e(t + "}");
1666
- } catch (e) {}
1667
- }
1668
- return function (n, r, o, s, i, a, c, u, l, d) {
1669
- switch (n) {
1670
- case 1:
1671
- if (0 === l && 64 === r.charCodeAt(0)) return e(r + ";"), "";
1672
- break;
1673
- case 2:
1674
- if (0 === u) return r + "/*|*/";
1675
- break;
1676
- case 3:
1677
- switch (u) {
1678
- case 102:
1679
- case 112:
1680
- return e(o[0] + r), "";
1681
- default:
1682
- return r + (0 === d ? "/*|*/" : "");
1683
- }
1684
- case -2:
1685
- r.split("/*|*/}").forEach(t);
1686
- }
1518
+ Ke = React.createContext(void 0);
1519
+ Ke.Consumer;
1520
+ var nt = {},
1521
+ ot = new Set();
1522
+ function rt(e, r, s) {
1523
+ var i = se(e),
1524
+ a = e,
1525
+ c = !L(e),
1526
+ p = r.attrs,
1527
+ d = void 0 === p ? _ : p,
1528
+ h = r.componentId,
1529
+ f = void 0 === h ? function (e, t) {
1530
+ var n = "string" != typeof e ? "sc" : R(e);
1531
+ nt[n] = (nt[n] || 0) + 1;
1532
+ var o = "".concat(n, "-").concat($(v + n + nt[n]));
1533
+ return t ? "".concat(t, "-").concat(o) : o;
1534
+ }(r.displayName, r.parentComponentId) : h,
1535
+ m = r.displayName,
1536
+ y = void 0 === m ? function (e) {
1537
+ return L(e) ? "styled.".concat(e) : "Styled(".concat(B(e), ")");
1538
+ }(e) : m,
1539
+ g = r.displayName && r.componentId ? "".concat(R(r.displayName), "-").concat(r.componentId) : r.componentId || f,
1540
+ S = i && a.attrs ? a.attrs.concat(d).filter(Boolean) : d,
1541
+ w = r.shouldForwardProp;
1542
+ if (i && a.shouldForwardProp) {
1543
+ var b = a.shouldForwardProp;
1544
+ if (r.shouldForwardProp) {
1545
+ var E = r.shouldForwardProp;
1546
+ w = function (e, t) {
1547
+ return b(e, t) && E(e, t);
1687
1548
  };
1688
- }(function (e) {
1689
- d.push(e);
1690
- }),
1691
- f = function (e, r, s) {
1692
- return 0 === r && -1 !== ie.indexOf(s[n.length]) || s.match(o) ? e : "." + t;
1693
- };
1694
- function m(e, s, i, a) {
1695
- void 0 === a && (a = "&");
1696
- var c = e.replace(se, ""),
1697
- u = s && i ? i + " " + s + " { " + c + " }" : c;
1698
- return t = a, n = s, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(i || !s ? "" : s, u);
1699
- }
1700
- return l.use([].concat(u, [function (e, t, o) {
1701
- 2 === e && o.length && o[0].lastIndexOf(n) > 0 && (o[0] = o[0].replace(r, f));
1702
- }, p, function (e) {
1703
- if (-2 === e) {
1704
- var t = d;
1705
- return d = [], t;
1706
- }
1707
- }])), m.hash = u.length ? u.reduce(function (e, t) {
1708
- return t.name || D(15), ee(e, t.name);
1709
- }, 5381).toString() : "", m;
1710
- }
1711
- var ce = React.createContext();
1712
- ce.Consumer;
1713
- var le = React.createContext(),
1714
- de = (le.Consumer, new X()),
1715
- he = ae();
1716
- function pe() {
1717
- return useContext(ce) || de;
1718
- }
1719
- function fe() {
1720
- return useContext(le) || he;
1721
- }
1722
- var ye = function () {
1723
- function e(e, t) {
1724
- var n = this;
1725
- this.inject = function (e, t) {
1726
- void 0 === t && (t = he);
1727
- var r = n.name + t.hash;
1728
- e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
1729
- }, this.toString = function () {
1730
- return D(12, String(n.name));
1731
- }, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
1732
- }
1733
- return e.prototype.getName = function (e) {
1734
- return void 0 === e && (e = he), this.name + e.hash;
1735
- }, e;
1736
- }(),
1737
- ve = /([A-Z])/,
1738
- ge = /([A-Z])/g,
1739
- Se = /^ms-/,
1740
- we = function (e) {
1741
- return "-" + e.toLowerCase();
1742
- };
1743
- function Ee(e) {
1744
- return ve.test(e) ? e.replace(ge, we).replace(Se, "-ms-") : e;
1745
- }
1746
- var be = function (e) {
1747
- return null == e || !1 === e || "" === e;
1748
- };
1749
- function _e(e, n, r, o) {
1750
- if (Array.isArray(e)) {
1751
- for (var s, i = [], a = 0, c = e.length; a < c; a += 1) "" !== (s = _e(e[a], n, r, o)) && (Array.isArray(s) ? i.push.apply(i, s) : i.push(s));
1752
- return i;
1753
- }
1754
- if (be(e)) return "";
1755
- if (_(e)) return "." + e.styledComponentId;
1756
- if (E(e)) {
1757
- if ("function" != typeof (l = e) || l.prototype && l.prototype.isReactComponent || !n) return e;
1758
- var u = e(n);
1759
- return "production" !== process.env.NODE_ENV && reactIsExports$1.isElement(u) && console.warn(b(e) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), _e(u, n, r, o);
1549
+ } else w = b;
1760
1550
  }
1761
- var l;
1762
- return e instanceof ye ? r ? (e.inject(r, o), e.getName(o)) : e : g(e) ? function e(t, n) {
1763
- var r,
1764
- o,
1765
- s = [];
1766
- for (var i in t) t.hasOwnProperty(i) && !be(t[i]) && (Array.isArray(t[i]) && t[i].isCss || E(t[i]) ? s.push(Ee(i) + ":", t[i], ";") : g(t[i]) ? s.push.apply(s, e(t[i], i)) : s.push(Ee(i) + ": " + (r = i, null == (o = t[i]) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || r in unitlessKeys ? String(o).trim() : o + "px") + ";"));
1767
- return n ? [n + " {"].concat(s, ["}"]) : s;
1768
- }(e) : e.toString();
1769
- }
1770
- var Ne = function (e) {
1771
- return Array.isArray(e) && (e.isCss = !0), e;
1772
- };
1773
- function Ae(e) {
1774
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1775
- return E(e) || g(e) ? Ne(_e(v(S, [e].concat(n)))) : 0 === n.length && 1 === e.length && "string" == typeof e[0] ? e : Ne(_e(v(e, n)));
1776
- }
1777
- var Ce = /invalid hook call/i,
1778
- Ie = new Set(),
1779
- Pe = function (e, t) {
1780
- if ("production" !== process.env.NODE_ENV) {
1781
- var n = "The component " + e + (t ? ' with the id of "' + t + '"' : "") + " has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
1782
- r = console.error;
1783
- try {
1784
- var o = !0;
1785
- console.error = function (e) {
1786
- if (Ce.test(e)) o = !1, Ie.delete(n);else {
1787
- for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) s[i - 1] = arguments[i];
1788
- r.apply(void 0, [e].concat(s));
1551
+ var N = new Ze(s, g, i ? a.componentStyle : void 0);
1552
+ function O(e, r) {
1553
+ return function (e, r, s) {
1554
+ var i = e.attrs,
1555
+ a = e.componentStyle,
1556
+ c = e.defaultProps,
1557
+ p = e.foldedComponentIds,
1558
+ d = e.styledComponentId,
1559
+ h = e.target,
1560
+ f = React.useContext(Ke),
1561
+ m = Be(),
1562
+ y = e.shouldForwardProp || m.shouldForwardProp;
1563
+ "production" !== process.env.NODE_ENV && useDebugValue(d);
1564
+ var v = I(r, f, c) || C,
1565
+ g = function (e, n, o) {
1566
+ for (var r, s = __assign(__assign({}, n), {
1567
+ className: void 0,
1568
+ theme: o
1569
+ }), i = 0; i < e.length; i += 1) {
1570
+ var a = re(r = e[i]) ? r(s) : r;
1571
+ for (var c in a) s[c] = "className" === c ? ie(s[c], a[c]) : "style" === c ? __assign(__assign({}, s[c]), a[c]) : a[c];
1789
1572
  }
1790
- }, useRef(), o && !Ie.has(n) && (console.warn(n), Ie.add(n));
1791
- } catch (e) {
1792
- Ce.test(e.message) && Ie.delete(n);
1793
- } finally {
1794
- console.error = r;
1795
- }
1796
- }
1797
- },
1798
- Oe = function (e, t, n) {
1799
- return void 0 === n && (n = w), e.theme !== n.theme && e.theme || t || n.theme;
1800
- },
1801
- Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
1802
- De = /(^-|-$)/g;
1803
- function je(e) {
1804
- return e.replace(Re, "-").replace(De, "");
1805
- }
1806
- var Te = function (e) {
1807
- return Q(te(e) >>> 0);
1808
- };
1809
- function xe(e) {
1810
- return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
1811
- }
1812
- var ke = function (e) {
1813
- return "function" == typeof e || "object" == typeof e && null !== e && !Array.isArray(e);
1814
- },
1815
- Ve = function (e) {
1816
- return "__proto__" !== e && "constructor" !== e && "prototype" !== e;
1817
- };
1818
- function ze(e, t, n) {
1819
- var r = e[n];
1820
- ke(t) && ke(r) ? Be(r, t) : e[n] = t;
1821
- }
1822
- function Be(e) {
1823
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1824
- for (var o = 0, s = n; o < s.length; o++) {
1825
- var i = s[o];
1826
- if (ke(i)) for (var a in i) Ve(a) && ze(e, i[a], a);
1573
+ return n.className && (s.className = ie(s.className, n.className)), s;
1574
+ }(i, r, v),
1575
+ S = g.as || h,
1576
+ w = {};
1577
+ for (var b in g) void 0 === g[b] || "$" === b[0] || "as" === b || "theme" === b && g.theme === v || ("forwardedAs" === b ? w.as = g.forwardedAs : y && !y(b, S) || (w[b] = g[b], y || "development" !== process.env.NODE_ENV || isPropValid(b) || ot.has(b) || !A.has(S) || (ot.add(b), console.warn('styled-components: it looks like an unknown prop "'.concat(b, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1578
+ var E = function (e, t) {
1579
+ var n = Be(),
1580
+ o = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
1581
+ return "production" !== process.env.NODE_ENV && useDebugValue(o), o;
1582
+ }(a, g);
1583
+ "production" !== process.env.NODE_ENV && e.warnTooManyClasses && e.warnTooManyClasses(E);
1584
+ var N = ie(p, d);
1585
+ return E && (N += " " + E), g.className && (N += " " + g.className), w[L(S) && !A.has(S) ? "class" : "className"] = N, w.ref = s, createElement(S, w);
1586
+ }(D, e, r);
1827
1587
  }
1828
- return e;
1829
- }
1830
- var Me = React.createContext();
1831
- Me.Consumer;
1832
- var Fe = {};
1833
- function Ye(e, t, n) {
1834
- var o = _(e),
1835
- i = !xe(e),
1836
- a = t.attrs,
1837
- c = void 0 === a ? S : a,
1838
- d = t.componentId,
1839
- h = void 0 === d ? function (e, t) {
1840
- var n = "string" != typeof e ? "sc" : je(e);
1841
- Fe[n] = (Fe[n] || 0) + 1;
1842
- var r = n + "-" + Te("5.3.6" + n + Fe[n]);
1843
- return t ? t + "-" + r : r;
1844
- }(t.displayName, t.parentComponentId) : d,
1845
- p = t.displayName,
1846
- v = void 0 === p ? function (e) {
1847
- return xe(e) ? "styled." + e : "Styled(" + b(e) + ")";
1848
- }(e) : p,
1849
- g = t.displayName && t.componentId ? je(t.displayName) + "-" + t.componentId : t.componentId || h,
1850
- N = o && e.attrs ? Array.prototype.concat(e.attrs, c).filter(Boolean) : c,
1851
- A = t.shouldForwardProp;
1852
- o && e.shouldForwardProp && (A = t.shouldForwardProp ? function (n, r, o) {
1853
- return e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o);
1854
- } : e.shouldForwardProp);
1855
- var C,
1856
- I = new oe(n, g, o ? e.componentStyle : void 0),
1857
- P = I.isStatic && 0 === c.length,
1858
- O = function (e, t) {
1859
- return function (e, t, n, r) {
1860
- var o = e.attrs,
1861
- i = e.componentStyle,
1862
- a = e.defaultProps,
1863
- c = e.foldedComponentIds,
1864
- d = e.shouldForwardProp,
1865
- h = e.styledComponentId,
1866
- p = e.target;
1867
- "production" !== process.env.NODE_ENV && useDebugValue(h);
1868
- var m = function (e, t, n) {
1869
- void 0 === e && (e = w);
1870
- var r = y({}, t, {
1871
- theme: e
1872
- }),
1873
- o = {};
1874
- return n.forEach(function (e) {
1875
- var t,
1876
- n,
1877
- s,
1878
- i = e;
1879
- for (t in E(i) && (i = i(r)), i) r[t] = o[t] = "className" === t ? (n = o[t], s = i[t], n && s ? n + " " + s : n || s) : i[t];
1880
- }), [r, o];
1881
- }(Oe(t, useContext(Me), a) || w, t, o),
1882
- v = m[0],
1883
- g = m[1],
1884
- S = function (e, t, n, r) {
1885
- var o = pe(),
1886
- s = fe(),
1887
- i = t ? e.generateAndInjectStyles(w, o, s) : e.generateAndInjectStyles(n, o, s);
1888
- return "production" !== process.env.NODE_ENV && useDebugValue(i), "production" !== process.env.NODE_ENV && !t && r && r(i), i;
1889
- }(i, r, v, "production" !== process.env.NODE_ENV ? e.warnTooManyClasses : void 0),
1890
- b = n,
1891
- _ = g.$as || t.$as || g.as || t.as || p,
1892
- N = xe(_),
1893
- A = g !== t ? y({}, t, {}, g) : t,
1894
- C = {};
1895
- for (var I in A) "$" !== I[0] && "as" !== I && ("forwardedAs" === I ? C.as = A[I] : (d ? d(I, isPropValid, _) : !N || isPropValid(I)) && (C[I] = A[I]));
1896
- return t.style && g.style !== t.style && (C.style = y({}, t.style, {}, g.style)), C.className = Array.prototype.concat(c, h, S !== h ? S : null, t.className, g.className).filter(Boolean).join(" "), C.ref = b, createElement(_, C);
1897
- }(C, e, t, P);
1898
- };
1899
- return O.displayName = v, (C = React.forwardRef(O)).attrs = N, C.componentStyle = I, C.displayName = v, C.shouldForwardProp = A, C.foldedComponentIds = o ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : S, C.styledComponentId = g, C.target = o ? e.target : e, C.withComponent = function (e) {
1900
- var r = t.componentId,
1901
- o = function (e, t) {
1902
- if (null == e) return {};
1903
- var n,
1904
- r,
1905
- o = {},
1906
- s = Object.keys(e);
1907
- for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) >= 0 || (o[n] = e[n]);
1908
- return o;
1909
- }(t, ["componentId"]),
1910
- s = r && r + "-" + (xe(e) ? e : je(b(e)));
1911
- return Ye(e, y({}, o, {
1912
- attrs: N,
1913
- componentId: s
1914
- }), n);
1915
- }, Object.defineProperty(C, "defaultProps", {
1588
+ O.displayName = y;
1589
+ var D = React.forwardRef(O);
1590
+ return D.attrs = S, D.componentStyle = N, D.displayName = y, D.shouldForwardProp = w, D.foldedComponentIds = i ? ie(a.foldedComponentIds, a.styledComponentId) : "", D.styledComponentId = g, D.target = i ? a.target : e, Object.defineProperty(D, "defaultProps", {
1916
1591
  get: function () {
1917
1592
  return this._foldedDefaultProps;
1918
1593
  },
1919
- set: function (t) {
1920
- this._foldedDefaultProps = o ? Be({}, e.defaultProps, t) : t;
1594
+ set: function (e) {
1595
+ this._foldedDefaultProps = i ? function (e) {
1596
+ for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1597
+ for (var o = 0, r = t; o < r.length; o++) le(e, r[o], !0);
1598
+ return e;
1599
+ }({}, a.defaultProps, e) : e;
1921
1600
  }
1922
- }), "production" !== process.env.NODE_ENV && (Pe(v, g), C.warnTooManyClasses = function (e, t) {
1601
+ }), "production" !== process.env.NODE_ENV && (P(y, g), D.warnTooManyClasses = function (e, t) {
1923
1602
  var n = {},
1924
- r = !1;
1925
- return function (o) {
1926
- if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
1927
- var s = t ? ' with the id of "' + t + '"' : "";
1928
- console.warn("Over 200 classes were generated for component " + e + s + ".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), r = !0, n = {};
1603
+ o = !1;
1604
+ return function (r) {
1605
+ if (!o && (n[r] = !0, Object.keys(n).length >= 200)) {
1606
+ var s = t ? ' with the id of "'.concat(t, '"') : "";
1607
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(e).concat(s, ".\n") + "Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), o = !0, n = {};
1929
1608
  }
1930
1609
  };
1931
- }(v, g)), C.toString = function () {
1932
- return "." + C.styledComponentId;
1933
- }, i && m(C, e, {
1610
+ }(y, g)), ue(D, function () {
1611
+ return ".".concat(D.styledComponentId);
1612
+ }), c && oe(D, e, {
1934
1613
  attrs: !0,
1935
1614
  componentStyle: !0,
1936
1615
  displayName: !0,
1937
1616
  foldedComponentIds: !0,
1938
1617
  shouldForwardProp: !0,
1939
1618
  styledComponentId: !0,
1940
- target: !0,
1941
- withComponent: !0
1942
- }), C;
1619
+ target: !0
1620
+ }), D;
1943
1621
  }
1944
- var qe = function (e) {
1945
- return function e(t, r, o) {
1946
- if (void 0 === o && (o = w), !reactIsExports$1.isValidElementType(r)) return D(1, String(r));
1947
- var s = function () {
1948
- return t(r, o, Ae.apply(void 0, arguments));
1949
- };
1950
- return s.withConfig = function (n) {
1951
- return e(t, r, y({}, o, {}, n));
1952
- }, s.attrs = function (n) {
1953
- return e(t, r, y({}, o, {
1954
- attrs: Array.prototype.concat(o.attrs, n).filter(Boolean)
1955
- }));
1956
- }, s;
1957
- }(Ye, e);
1622
+ function st(e, t) {
1623
+ for (var n = [e[0]], o = 0, r = t.length; o < r; o += 1) n.push(t[o], e[o + 1]);
1624
+ return n;
1625
+ }
1626
+ var it = function (e) {
1627
+ return Object.assign(e, {
1628
+ isCss: !0
1629
+ });
1958
1630
  };
1959
- ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function (e) {
1960
- qe[e] = qe(e);
1631
+ function at(t) {
1632
+ for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1633
+ if (re(t) || ce(t)) return it(Ue(st(_, __spreadArray([t], n, !0))));
1634
+ var r = t;
1635
+ return 0 === n.length && 1 === r.length && "string" == typeof r[0] ? Ue(r) : it(Ue(st(r, n)));
1636
+ }
1637
+ function ct(n, o, r) {
1638
+ if (void 0 === r && (r = C), !o) throw he(1, o);
1639
+ var s = function (t) {
1640
+ for (var s = [], i = 1; i < arguments.length; i++) s[i - 1] = arguments[i];
1641
+ return n(o, r, at.apply(void 0, __spreadArray([t], s, !1)));
1642
+ };
1643
+ return s.attrs = function (e) {
1644
+ return ct(n, o, __assign(__assign({}, r), {
1645
+ attrs: Array.prototype.concat(r.attrs, e).filter(Boolean)
1646
+ }));
1647
+ }, s.withConfig = function (e) {
1648
+ return ct(n, o, __assign(__assign({}, r), e));
1649
+ }, s;
1650
+ }
1651
+ var lt = function (e) {
1652
+ return ct(rt, e);
1653
+ },
1654
+ ut = lt;
1655
+ A.forEach(function (e) {
1656
+ ut[e] = lt(e);
1961
1657
  });
1962
- function We(e) {
1658
+ function ht(t) {
1659
+ for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1963
1660
  "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
1964
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1965
- var o = Ae.apply(void 0, [e].concat(n)).join(""),
1966
- s = Te(o);
1967
- return new ye(s, o);
1661
+ var r = ae(at.apply(void 0, __spreadArray([t], n, !1))),
1662
+ s = $(r);
1663
+ return new Ge(s, r);
1968
1664
  }
1969
- "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"), "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, 1 === window["__styled-components-init__"] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window["__styled-components-init__"] += 1);
1970
- var styled = qe;
1665
+ "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");
1666
+ var gt = "__sc-".concat(f, "__");
1667
+ "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window[gt] || (window[gt] = 0), 1 === window[gt] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window[gt] += 1);
1971
1668
 
1972
1669
  const Colors = {
1973
1670
  PRIMARY: {
@@ -2019,7 +1716,7 @@ const EditableTheme = {
2019
1716
  PRIMARY_COLOR: Colors.PRIMARY,
2020
1717
  };
2021
1718
 
2022
- const Header$3 = styled.div `
1719
+ const Header$3 = ut.div `
2023
1720
  display: flex;
2024
1721
  align-items: center;
2025
1722
  justify-content: space-between;
@@ -2030,7 +1727,7 @@ const Header$3 = styled.div `
2030
1727
  height: 50px;
2031
1728
  cursor: pointer;
2032
1729
  `;
2033
- const Title$2 = styled.div `
1730
+ const Title$2 = ut.div `
2034
1731
  font-size: ${FontSizes.DEFAULT};
2035
1732
  font-weight: 400;
2036
1733
  color: ${Colors.BLACK.Hex};
@@ -2047,7 +1744,7 @@ const Accordion = (_a) => {
2047
1744
  open ? children : null));
2048
1745
  };
2049
1746
 
2050
- const StyledButton = styled.button `
1747
+ const StyledButton = ut.button `
2051
1748
  height: ${props => (props.$small ? '30px' : '40px')};
2052
1749
  line-height: 1em;
2053
1750
  border-radius: ${props => (props.$small ? '15px' : '20px')};
@@ -2083,25 +1780,28 @@ const StyledButton = styled.button `
2083
1780
  border-style: solid;
2084
1781
  border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
2085
1782
  box-sizing: border-box;
1783
+
1784
+ &:active,
1785
+ &:focus,
2086
1786
  &:hover {
2087
1787
  opacity: ${props => (props.$disabled ? 0.6 : 1)};
2088
1788
  }
2089
1789
  `;
2090
- const Label$5 = styled.span `
1790
+ const Label$5 = ut.span `
2091
1791
  color: ${props => props.$content_color || '#fff'};
2092
1792
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
2093
1793
  font-family: ${FontStyles.DEFAULT};
2094
1794
  font-weight: 500;
2095
1795
  line-height: 1;
2096
1796
  `;
2097
- const StyledIcon$6 = styled.span `
1797
+ const StyledIcon$6 = ut.span `
2098
1798
  margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
2099
1799
  margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
2100
1800
  display: flex;
2101
1801
  align-items: center;
2102
1802
  box-sizing: border-box;
2103
1803
  `;
2104
- const Badge$1 = styled.span `
1804
+ const Badge$1 = ut.span `
2105
1805
  width: ${props => (props.$small ? '20px' : '24px')};
2106
1806
  height: ${props => (props.$small ? '20px' : '24px')};
2107
1807
  line-height: 1;
@@ -2120,7 +1820,7 @@ const Badge$1 = styled.span `
2120
1820
  `;
2121
1821
  const Button = (_a) => {
2122
1822
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format"]);
2123
- const theme = useContext(Me) || EditableTheme;
1823
+ const theme = useContext(Ke) || EditableTheme;
2124
1824
  const has_children = children && children.length > 0;
2125
1825
  const button_type_mapping = {
2126
1826
  primary: {
@@ -2160,7 +1860,7 @@ const Button = (_a) => {
2160
1860
  badge && !icon ? (React.createElement(Badge$1, { "$bg_color": format_styles.badge_bg_color, "$content_color": format_styles.badge_content_color, "$small": small }, badge)) : null));
2161
1861
  };
2162
1862
 
2163
- const StyledComponent = styled.p `
1863
+ const StyledComponent = ut.p `
2164
1864
  color: ${props => Colors[props.$color || 'BLACK'].Hex};
2165
1865
  font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
2166
1866
  line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
@@ -2181,7 +1881,7 @@ Copy.defaultProps = {
2181
1881
  type: 'default',
2182
1882
  };
2183
1883
 
2184
- const H1 = styled.h1 `
1884
+ const H1 = ut.h1 `
2185
1885
  color: ${Colors.BLACK.Hex};
2186
1886
  font-size: 30px;
2187
1887
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -2191,7 +1891,7 @@ const H1 = styled.h1 `
2191
1891
  padding: ${props => props.$padding || '0px'};
2192
1892
  box-sizing: border-box;
2193
1893
  `;
2194
- const H2 = styled.h2 `
1894
+ const H2 = ut.h2 `
2195
1895
  color: ${Colors.BLACK.Hex};
2196
1896
  font-size: 24px;
2197
1897
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -2201,7 +1901,7 @@ const H2 = styled.h2 `
2201
1901
  padding: ${props => props.$padding || '0px'};
2202
1902
  box-sizing: border-box;
2203
1903
  `;
2204
- const H3 = styled.h3 `
1904
+ const H3 = ut.h3 `
2205
1905
  color: ${Colors.BLACK.Hex};
2206
1906
  font-size: 18px;
2207
1907
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -2230,7 +1930,7 @@ Heading.defaultProps = {
2230
1930
  type: 'primary',
2231
1931
  };
2232
1932
 
2233
- const Wrapper$i = styled.div `
1933
+ const Wrapper$i = ut.div `
2234
1934
  position: fixed;
2235
1935
  top: 0;
2236
1936
  right: 0;
@@ -2243,7 +1943,7 @@ const Wrapper$i = styled.div `
2243
1943
  justify-content: center;
2244
1944
  box-sizing: border-box;
2245
1945
  `;
2246
- const Container$3 = styled.dialog `
1946
+ const Container$3 = ut.dialog `
2247
1947
  max-width: 600px;
2248
1948
  width: auto;
2249
1949
  border-radius: 8px;
@@ -2256,7 +1956,7 @@ const Container$3 = styled.dialog `
2256
1956
  text-align: center;
2257
1957
  box-sizing: border-box;
2258
1958
  `;
2259
- const Buttons = styled.div `
1959
+ const Buttons = ut.div `
2260
1960
  display: flex;
2261
1961
  gap: 10px;
2262
1962
  align-items: center;
@@ -2276,7 +1976,7 @@ const ActionDialog = (_a) => {
2276
1976
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format === 'red' ? 'red' : 'primary' }))) : null)) : null)));
2277
1977
  };
2278
1978
 
2279
- const Wrapper$h = styled.div `
1979
+ const Wrapper$h = ut.div `
2280
1980
  border: 1px solid #f1f1f1;
2281
1981
  border-radius: 4px;
2282
1982
  border-left-width: 4px;
@@ -2287,10 +1987,10 @@ const Wrapper$h = styled.div `
2287
1987
  padding: ${({ $small }) => ($small ? '11px' : '20px')};
2288
1988
  box-sizing: border-box;
2289
1989
  `;
2290
- const StyledIcon$5 = styled(Icon) `
1990
+ const StyledIcon$5 = ut(Icon) `
2291
1991
  flex-shrink: 0;
2292
1992
  `;
2293
- const Action$1 = styled.div `
1993
+ const Action$1 = ut.div `
2294
1994
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
2295
1995
  font-size: ${FontSizes.DEFAULT};
2296
1996
  font-family: ${FontStyles.DEFAULT};
@@ -2301,7 +2001,7 @@ const Action$1 = styled.div `
2301
2001
  Action$1.defaultProps = { theme: EditableTheme };
2302
2002
  const Alert = (_a) => {
2303
2003
  var { action, type = 'info', title, description, small = false } = _a, accessibleProps = __rest(_a, ["action", "type", "title", "description", "small"]);
2304
- const theme = useContext(Me) || EditableTheme;
2004
+ const theme = useContext(Ke) || EditableTheme;
2305
2005
  const type_mapping = {
2306
2006
  info: {
2307
2007
  color: theme.PRIMARY_COLOR.Hex,
@@ -2328,7 +2028,7 @@ const Alert = (_a) => {
2328
2028
  action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
2329
2029
  };
2330
2030
 
2331
- const Wrapper$g = styled.div `
2031
+ const Wrapper$g = ut.div `
2332
2032
  border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
2333
2033
  border-radius: 8px;
2334
2034
  box-sizing: border-box;
@@ -2338,27 +2038,27 @@ const Wrapper$g = styled.div `
2338
2038
  padding: 16px 20px;
2339
2039
  `;
2340
2040
  Wrapper$g.defaultProps = { theme: EditableTheme };
2341
- const Left = styled.div `
2041
+ const Left = ut.div `
2342
2042
  box-sizing: border-box;
2343
2043
  display: flex;
2344
2044
  align-items: center;
2345
2045
  justify-content: space-between;
2346
2046
  flex-shrink: 0;
2347
2047
  `;
2348
- const Info$1 = styled.div `
2048
+ const Info$1 = ut.div `
2349
2049
  box-sizing: border-box;
2350
2050
  display: flex;
2351
2051
  align-items: center;
2352
2052
  margin-right: 30px;
2353
2053
  `;
2354
- const Selected = styled.span `
2054
+ const Selected = ut.span `
2355
2055
  font-size: 14px;
2356
2056
  font-weight: 400;
2357
2057
  font-family: ${FontStyles.DEFAULT};
2358
2058
  color: ${Colors.BLACK.Hex};
2359
2059
  line-height: 1;
2360
2060
  `;
2361
- const Clear = styled.span `
2061
+ const Clear = ut.span `
2362
2062
  font-size: 14px;
2363
2063
  font-weight: 400;
2364
2064
  font-family: ${FontStyles.DEFAULT};
@@ -2370,13 +2070,13 @@ const Clear = styled.span `
2370
2070
  border-left: 1px solid #ccc;
2371
2071
  `;
2372
2072
  Clear.defaultProps = { theme: EditableTheme };
2373
- const Actions$1 = styled.div `
2073
+ const Actions$1 = ut.div `
2374
2074
  box-sizing: border-box;
2375
2075
  display: flex;
2376
2076
  align-items: center;
2377
2077
  column-gap: 10px;
2378
2078
  `;
2379
- const Error$1 = styled.div `
2079
+ const Error$1 = ut.div `
2380
2080
  box-sizing: border-box;
2381
2081
  display: flex;
2382
2082
  align-items: center;
@@ -2388,7 +2088,7 @@ const Error$1 = styled.div `
2388
2088
  overflow: hidden;
2389
2089
  margin-left: 30px;
2390
2090
  `;
2391
- const ErrorMsg = styled.span `
2091
+ const ErrorMsg = ut.span `
2392
2092
  font-size: 14px;
2393
2093
  font-weight: 500;
2394
2094
  font-family: ${FontStyles.DEFAULT};
@@ -2411,7 +2111,7 @@ const BulkActionBar = (_a) => {
2411
2111
  React.createElement(ErrorMsg, null, errorMsg))) : null));
2412
2112
  };
2413
2113
 
2414
- const Wrapper$f = styled.div `
2114
+ const Wrapper$f = ut.div `
2415
2115
  background: #fff;
2416
2116
  border-radius: 8px;
2417
2117
  box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
@@ -2422,7 +2122,7 @@ const Wrapper$f = styled.div `
2422
2122
  padding: 10px;
2423
2123
  width: 200px;
2424
2124
  `;
2425
- const MenuItem = styled.div `
2125
+ const MenuItem = ut.div `
2426
2126
  align-items: center;
2427
2127
  border-radius: 8px;
2428
2128
  border: 1px solid transparent;
@@ -2441,7 +2141,7 @@ const MenuItem = styled.div `
2441
2141
  }
2442
2142
  `;
2443
2143
  MenuItem.defaultProps = { theme: EditableTheme };
2444
- const Title$1 = styled.span `
2144
+ const Title$1 = ut.span `
2445
2145
  font-family: Roboto;
2446
2146
  font-size: 14px;
2447
2147
  font-weight: 400;
@@ -2459,11 +2159,11 @@ const MoreMenu = (_a) => {
2459
2159
  })));
2460
2160
  };
2461
2161
 
2462
- const Wrapper$e = styled.div `
2162
+ const Wrapper$e = ut.div `
2463
2163
  position: relative;
2464
2164
  display: inline-block;
2465
2165
  `;
2466
- const StyledMoreMenu = styled(MoreMenu) `
2166
+ const StyledMoreMenu = ut(MoreMenu) `
2467
2167
  position: absolute;
2468
2168
  right: ${props => (props.$position === 'right' ? '0px' : 'auto')};
2469
2169
  left: ${props => (props.$position === 'left' ? '0px' : 'auto')};
@@ -2478,22 +2178,29 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
2478
2178
  show_menu ? (React.createElement(StyledMoreMenu, { "$menuWidth": menuWidth, "$position": position, "$small": small, maxHeight: maxHeight, menuItems: menuItems })) : null));
2479
2179
  };
2480
2180
 
2481
- const Wrapper$d = styled.label `
2482
- padding: 4px 0;
2181
+ const Wrapper$d = ut.label `
2182
+ border-radius: 4px;
2183
+ padding: 4px 0px 4px 6px;
2184
+ margin-left: -6px;
2483
2185
  cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2484
2186
  display: flex;
2485
2187
  align-items: flex-start;
2486
2188
  font-size: ${FontSizes.DEFAULT};
2487
2189
  line-height: 1.6em;
2488
2190
  box-sizing: border-box;
2191
+
2192
+ &:focus-within {
2193
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2194
+ }
2489
2195
  `;
2490
- const Input$2 = styled.input `
2196
+ Wrapper$d.defaultProps = { theme: EditableTheme };
2197
+ const Input$2 = ut.input `
2491
2198
  font-size: 20px;
2492
2199
  margin: 5px 0px 0px 0px;
2493
2200
  line-height: 1.1em;
2494
2201
  box-sizing: border-box;
2495
2202
  `;
2496
- const Label$4 = styled.span `
2203
+ const Label$4 = ut.span `
2497
2204
  font-family: ${FontStyles.DEFAULT};
2498
2205
  font-size: ${FontSizes.DEFAULT};
2499
2206
  font-weight: 400;
@@ -2509,12 +2216,12 @@ const Checkbox = (_a) => {
2509
2216
  children ? React.createElement(Label$4, null, children) : null));
2510
2217
  };
2511
2218
 
2512
- const SelectAll = styled.div `
2219
+ const SelectAll = ut.div `
2513
2220
  padding: 8px 12px;
2514
2221
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2515
2222
  box-sizing: border-box;
2516
2223
  `;
2517
- const Options$1 = styled.div `
2224
+ const Options$1 = ut.div `
2518
2225
  padding: 12px;
2519
2226
  box-sizing: border-box;
2520
2227
  `;
@@ -2873,7 +2580,7 @@ var dayjs_min = {exports: {}};
2873
2580
  var dayjs_minExports = dayjs_min.exports;
2874
2581
  var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
2875
2582
 
2876
- const Wrapper$c = styled.div `
2583
+ const Wrapper$c = ut.div `
2877
2584
  border-radius: 4px;
2878
2585
  height: 40px;
2879
2586
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -2889,8 +2596,13 @@ const Wrapper$c = styled.div `
2889
2596
  display: flex;
2890
2597
  align-items: center;
2891
2598
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2599
+
2600
+ &:focus-within {
2601
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
2602
+ }
2892
2603
  `;
2893
- const Trigger$1 = styled.select `
2604
+ Wrapper$c.defaultProps = { theme: EditableTheme };
2605
+ const Trigger$1 = ut.select `
2894
2606
  appearance: none;
2895
2607
  box-shadow: none;
2896
2608
  outline: none;
@@ -2910,7 +2622,7 @@ const Trigger$1 = styled.select `
2910
2622
  position: relative;
2911
2623
  z-index: 2;
2912
2624
  `;
2913
- const IconWrapper$2 = styled(Icon) `
2625
+ const IconWrapper$2 = ut(Icon) `
2914
2626
  position: absolute;
2915
2627
  right: 9px;
2916
2628
  z-index: 1;
@@ -2933,11 +2645,11 @@ const Select = (_a) => {
2933
2645
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: mdiChevronDown, size: '22px' })));
2934
2646
  };
2935
2647
 
2936
- const DatePickerWrapper = styled.div `
2648
+ const DatePickerWrapper = ut.div `
2937
2649
  display: flex;
2938
2650
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2939
2651
  `;
2940
- const Middle = styled.div `
2652
+ const Middle = ut.div `
2941
2653
  margin: 0px -1px;
2942
2654
  flex-grow: 1;
2943
2655
  `;
@@ -3003,7 +2715,7 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
3003
2715
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: dDate.format('YYYY') }))));
3004
2716
  };
3005
2717
 
3006
- const Scrim$1 = styled.div `
2718
+ const Scrim$1 = ut.div `
3007
2719
  position: ${({ $position }) => $position};
3008
2720
  top: 0;
3009
2721
  right: 0;
@@ -3012,7 +2724,7 @@ const Scrim$1 = styled.div `
3012
2724
  z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
3013
2725
  background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
3014
2726
  `;
3015
- const Container$2 = styled.div `
2727
+ const Container$2 = ut.div `
3016
2728
  z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
3017
2729
  min-width: 400px;
3018
2730
  width: ${({ $width }) => $width || '400px'};
@@ -3030,7 +2742,7 @@ const Container$2 = styled.div `
3030
2742
  box-sizing: border-box;
3031
2743
  background: #fff;
3032
2744
  `;
3033
- const Header$2 = styled.div `
2745
+ const Header$2 = ut.div `
3034
2746
  padding: 30px 20px;
3035
2747
  display: flex;
3036
2748
  align-items: flex-start;
@@ -3038,21 +2750,21 @@ const Header$2 = styled.div `
3038
2750
  flex-shrink: 0;
3039
2751
  background: #fff;
3040
2752
  `;
3041
- const Close$1 = styled.div `
2753
+ const Close$1 = ut.div `
3042
2754
  margin-left: auto;
3043
2755
  display: flex;
3044
2756
  align-items: center;
3045
2757
  padding-left: 20px;
3046
2758
  cursor: pointer;
3047
2759
  `;
3048
- const ContentWrapper$1 = styled.div `
2760
+ const ContentWrapper$1 = ut.div `
3049
2761
  overflow-x: hidden;
3050
2762
  overflow-y: auto;
3051
2763
  box-sizing: border-box;
3052
2764
  flex: 1;
3053
2765
  background: #fff;
3054
2766
  `;
3055
- const ButtonBar$1 = styled.div `
2767
+ const ButtonBar$1 = ut.div `
3056
2768
  padding: 20px;
3057
2769
  display: flex;
3058
2770
  align-items: center;
@@ -3090,12 +2802,12 @@ const Drawer = (_a) => {
3090
2802
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
3091
2803
  };
3092
2804
 
3093
- const Wrapper$b = styled.div `
2805
+ const Wrapper$b = ut.div `
3094
2806
  display: inline-block;
3095
2807
  position: relative;
3096
2808
  height: 16px;
3097
2809
  `;
3098
- const StyledIcon$4 = styled(Icon) `
2810
+ const StyledIcon$4 = ut(Icon) `
3099
2811
  width: 16px;
3100
2812
  height: 16px;
3101
2813
  margin: 0px 6px;
@@ -3131,7 +2843,7 @@ const positions = {
3131
2843
  transform: 'translateY(-50%)',
3132
2844
  },
3133
2845
  };
3134
- const Content$3 = styled.div(props => (Object.assign({ position: 'absolute', borderRadius: '4px', borderWidth: '1px', borderStyle: 'solid', borderColor: props.theme.PRIMARY_COLOR.Hex, background: '#ffffff', boxShadow: '0px 5px 30px -10px rgba(0, 0, 0, 0.5)', width: props.$width || '240px', padding: '10px 12px', zIndex: 10 }, positions[props.$position])));
2846
+ const Content$3 = ut.div(props => (Object.assign({ position: 'absolute', borderRadius: '4px', borderWidth: '1px', borderStyle: 'solid', borderColor: props.theme.PRIMARY_COLOR.Hex, background: '#ffffff', boxShadow: '0px 5px 30px -10px rgba(0, 0, 0, 0.5)', width: props.$width || '240px', padding: '10px 12px', zIndex: 10 }, positions[props.$position])));
3135
2847
  Content$3.defaultProps = { theme: EditableTheme };
3136
2848
  const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }) => {
3137
2849
  const [show_content, toggleContent] = useState(false);
@@ -3140,15 +2852,15 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
3140
2852
  show_content ? (React.createElement(Content$3, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
3141
2853
  };
3142
2854
 
3143
- const Wrapper$a = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
3144
- const LabelRow = styled.div `
2855
+ const Wrapper$a = ut.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
2856
+ const LabelRow = ut.div `
3145
2857
  display: flex;
3146
2858
  align-items: center;
3147
2859
  justify-content: space-between;
3148
2860
  margin: 0 0 4px 0;
3149
2861
  box-sizing: border-box;
3150
2862
  `;
3151
- const Label$3 = styled.label `
2863
+ const Label$3 = ut.label `
3152
2864
  font-size: ${FontSizes.DEFAULT};
3153
2865
  font-weight: 500;
3154
2866
  line-height: 1em;
@@ -3157,11 +2869,11 @@ const Label$3 = styled.label `
3157
2869
  display: flex;
3158
2870
  align-items: center;
3159
2871
  `;
3160
- const Required = styled.span `
2872
+ const Required = ut.span `
3161
2873
  color: ${Colors.RED.Hex};
3162
2874
  margin-left: 4px;
3163
2875
  `;
3164
- const Action = styled.span `
2876
+ const Action = ut.span `
3165
2877
  font-size: ${FontSizes.DEFAULT};
3166
2878
  font-weight: 500;
3167
2879
  line-height: 1em;
@@ -3170,7 +2882,7 @@ const Action = styled.span `
3170
2882
  cursor: pointer;
3171
2883
  `;
3172
2884
  Action.defaultProps = { theme: EditableTheme };
3173
- const Description = styled.div `
2885
+ const Description = ut.div `
3174
2886
  font-size: ${FontSizes.SMALL};
3175
2887
  font-weight: 400;
3176
2888
  line-height: 1.3em;
@@ -3179,7 +2891,7 @@ const Description = styled.div `
3179
2891
  margin: 0 0 8px 0;
3180
2892
  box-sizing: border-box;
3181
2893
  `;
3182
- const Validation = styled.div `
2894
+ const Validation = ut.div `
3183
2895
  font-size: ${FontSizes.SMALL};
3184
2896
  font-weight: 400;
3185
2897
  line-height: 1.3em;
@@ -3202,7 +2914,7 @@ const Field = (_a) => {
3202
2914
  validationText ? React.createElement(Validation, null, validationText) : null));
3203
2915
  };
3204
2916
 
3205
- const Wrapper$9 = styled.fieldset `
2917
+ const Wrapper$9 = ut.fieldset `
3206
2918
  margin-inline-start: 0px;
3207
2919
  margin-inline-end: 0px;
3208
2920
  padding-block-start: 0px;
@@ -3215,7 +2927,7 @@ const Wrapper$9 = styled.fieldset `
3215
2927
  border-color: transparent;
3216
2928
  border-image: none;
3217
2929
  `;
3218
- const Label$2 = styled.legend `
2930
+ const Label$2 = ut.legend `
3219
2931
  padding-inline-start: 0px;
3220
2932
  padding-inline-end: 0px;
3221
2933
 
@@ -3226,7 +2938,7 @@ const Label$2 = styled.legend `
3226
2938
  line-height: 22px;
3227
2939
  margin-bottom: 6px;
3228
2940
  `;
3229
- const Content$2 = styled.div `
2941
+ const Content$2 = ut.div `
3230
2942
  padding: 20px;
3231
2943
  border-radius: 8px;
3232
2944
  background: #fcfcfc;
@@ -3237,7 +2949,7 @@ const FieldGroup = ({ children, label }) => {
3237
2949
  React.createElement(Content$2, null, children)));
3238
2950
  };
3239
2951
 
3240
- const Dropzone = styled.div `
2952
+ const Dropzone = ut.div `
3241
2953
  border-radius: 8px;
3242
2954
  border-width: 1px;
3243
2955
  border-style: dashed;
@@ -3246,7 +2958,7 @@ const Dropzone = styled.div `
3246
2958
  cursor: copy;
3247
2959
  `;
3248
2960
  Dropzone.defaultProps = { theme: EditableTheme };
3249
- const IconWrapper$1 = styled.div `
2961
+ const IconWrapper$1 = ut.div `
3250
2962
  width: 80px;
3251
2963
  height: 80px;
3252
2964
  border-radius: 40px;
@@ -3255,7 +2967,7 @@ const IconWrapper$1 = styled.div `
3255
2967
  align-items: center;
3256
2968
  justify-content: center;
3257
2969
  `;
3258
- const StyledIcon$3 = styled(Icon) `
2970
+ const StyledIcon$3 = ut(Icon) `
3259
2971
  width: 40px !important;
3260
2972
  height: 40px !important;
3261
2973
 
@@ -3263,27 +2975,27 @@ const StyledIcon$3 = styled(Icon) `
3263
2975
  fill: ${Colors.GRAY.Hex} !important;
3264
2976
  }
3265
2977
  `;
3266
- const ClickZone = styled.div `
2978
+ const ClickZone = ut.div `
3267
2979
  margin: 40px 20px;
3268
2980
  display: flex;
3269
2981
  flex-direction: column;
3270
2982
  align-items: center;
3271
2983
  gap: 16px;
3272
2984
  `;
3273
- const Content$1 = styled.div `
2985
+ const Content$1 = ut.div `
3274
2986
  display: flex;
3275
2987
  flex-direction: column;
3276
2988
  align-items: center;
3277
2989
  gap: 2px;
3278
2990
  `;
3279
- const Files = styled.div `
2991
+ const Files = ut.div `
3280
2992
  display: flex;
3281
2993
  flex-direction: column;
3282
2994
  align-self: stretch;
3283
2995
  gap: 10px;
3284
2996
  margin: 20px;
3285
2997
  `;
3286
- const File = styled.div `
2998
+ const File = ut.div `
3287
2999
  display: flex;
3288
3000
  padding: 10px;
3289
3001
  align-items: center;
@@ -3293,7 +3005,7 @@ const File = styled.div `
3293
3005
  border: 1px solid #cccccc;
3294
3006
  background: #ffffff;
3295
3007
  `;
3296
- const Remove$1 = styled(Icon) `
3008
+ const Remove$1 = ut(Icon) `
3297
3009
  width: 24px;
3298
3010
  height: 24px;
3299
3011
  cursor: pointer;
@@ -3487,7 +3199,7 @@ const formatAsSsn = (number) => {
3487
3199
  return formatted_value;
3488
3200
  };
3489
3201
 
3490
- const StyledInput = styled.input `
3202
+ const StyledInput = ut.input `
3491
3203
  border: none !important;
3492
3204
  background: none !important;
3493
3205
  font-size: ${FontSizes.DEFAULT};
@@ -3508,7 +3220,7 @@ const StyledInput = styled.input `
3508
3220
  display: block;
3509
3221
  width: 100%;
3510
3222
  `;
3511
- const StyledSuffix = styled.div `
3223
+ const StyledSuffix = ut.div `
3512
3224
  box-sizing: border-box;
3513
3225
  border-radius: 0px 4px 4px 0px;
3514
3226
  display: flex;
@@ -3526,7 +3238,7 @@ const StyledSuffix = styled.div `
3526
3238
  font-size: ${FontSizes.DEFAULT};
3527
3239
  color: Colors.BLACK.Hex;
3528
3240
  `;
3529
- const StyledWrapper = styled.div `
3241
+ const StyledWrapper = ut.div `
3530
3242
  display: flex;
3531
3243
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
3532
3244
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -3541,7 +3253,7 @@ const StyledWrapper = styled.div `
3541
3253
  }
3542
3254
  `;
3543
3255
  StyledWrapper.defaultProps = { theme: EditableTheme };
3544
- const StyledTextarea = styled.textarea `
3256
+ const StyledTextarea = ut.textarea `
3545
3257
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
3546
3258
  border-radius: 4px;
3547
3259
  border-width: 1px;
@@ -3570,7 +3282,7 @@ const StyledTextarea = styled.textarea `
3570
3282
  }
3571
3283
  `;
3572
3284
  StyledTextarea.defaultProps = { theme: EditableTheme };
3573
- const SuggestedValues = styled.div `
3285
+ const SuggestedValues = ut.div `
3574
3286
  background: #fff;
3575
3287
  box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
3576
3288
  border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
@@ -3587,7 +3299,7 @@ const SuggestedValues = styled.div `
3587
3299
  overflow: auto;
3588
3300
  `;
3589
3301
  SuggestedValues.defaultProps = { theme: EditableTheme };
3590
- const SuggestedSummary = styled.div `
3302
+ const SuggestedSummary = ut.div `
3591
3303
  color: ${Colors.MEDIUM_GRAY.Hex};
3592
3304
  font-size: 12px;
3593
3305
  font-family: ${FontStyles.DEFAULT};
@@ -3600,7 +3312,7 @@ const SuggestedSummary = styled.div `
3600
3312
  position: sticky;
3601
3313
  top: 0px;
3602
3314
  `;
3603
- const SuggestedValue = styled.div `
3315
+ const SuggestedValue = ut.div `
3604
3316
  cursor: pointer;
3605
3317
  padding: 8px 12px;
3606
3318
  font-size: ${FontSizes.DEFAULT};
@@ -3673,7 +3385,7 @@ const Input$1 = (_a) => {
3673
3385
  }))) : null));
3674
3386
  };
3675
3387
 
3676
- const Wrapper$8 = styled.a `
3388
+ const Wrapper$8 = ut.a `
3677
3389
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
3678
3390
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
3679
3391
  line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
@@ -3693,7 +3405,7 @@ const Link = (_a) => {
3693
3405
  return (React.createElement(Wrapper$8, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
3694
3406
  };
3695
3407
 
3696
- const dash = We `
3408
+ const dash = ht `
3697
3409
  0% {
3698
3410
  stroke-dasharray: 1, 160;
3699
3411
  stroke-dashoffset: 0;
@@ -3707,7 +3419,7 @@ const dash = We `
3707
3419
  stroke-dashoffset: -124;
3708
3420
  }
3709
3421
  `;
3710
- const Spinner = styled.svg `
3422
+ const Spinner = ut.svg `
3711
3423
  z-index: 2;
3712
3424
  position: absolute;
3713
3425
  top: 50%;
@@ -3716,7 +3428,7 @@ const Spinner = styled.svg `
3716
3428
  width: 40px;
3717
3429
  height: 40px;
3718
3430
  `;
3719
- const Path = styled.path `
3431
+ const Path = ut.path `
3720
3432
  stroke: #0193d7;
3721
3433
  stroke-linecap: round;
3722
3434
  -webkit-animation: ${dash} 1.1s ease-in-out infinite;
@@ -3769,7 +3481,7 @@ const Logo = (_a) => {
3769
3481
  }
3770
3482
  };
3771
3483
 
3772
- const Steps = styled.div `
3484
+ const Steps = ut.div `
3773
3485
  padding: 20px;
3774
3486
  border-bottom: 1px solid #e7e6e6;
3775
3487
  background: #f5f5f5;
@@ -3777,18 +3489,18 @@ const Steps = styled.div `
3777
3489
  gap: 30px;
3778
3490
  align-items: center;
3779
3491
  `;
3780
- const Step = styled.div `
3492
+ const Step = ut.div `
3781
3493
  display: flex;
3782
3494
  align-items: center;
3783
3495
  gap: 8px;
3784
3496
  `;
3785
- const StyledIcon$2 = styled(Icon) `
3497
+ const StyledIcon$2 = ut(Icon) `
3786
3498
  > path {
3787
3499
  fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
3788
3500
  }
3789
3501
  `;
3790
3502
  StyledIcon$2.defaultProps = { theme: EditableTheme };
3791
- const StepIndicator = styled.div `
3503
+ const StepIndicator = ut.div `
3792
3504
  width: 30px;
3793
3505
  height: 30px;
3794
3506
  border-radius: 15px;
@@ -3804,7 +3516,7 @@ const StepIndicator = styled.div `
3804
3516
  flex-shrink: 0;
3805
3517
  `;
3806
3518
  StepIndicator.defaultProps = { theme: EditableTheme };
3807
- const StepLabel = styled.div `
3519
+ const StepLabel = ut.div `
3808
3520
  color: #000;
3809
3521
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
3810
3522
  font-size: 14px;
@@ -3819,7 +3531,7 @@ const ProgressBar = ({ steps }) => {
3819
3531
  })));
3820
3532
  };
3821
3533
 
3822
- const Wrapper$7 = styled.div `
3534
+ const Wrapper$7 = ut.div `
3823
3535
  position: fixed;
3824
3536
  top: 0;
3825
3537
  right: 0;
@@ -3831,7 +3543,7 @@ const Wrapper$7 = styled.div `
3831
3543
  align-items: center;
3832
3544
  justify-content: center;
3833
3545
  `;
3834
- const Container$1 = styled.dialog `
3546
+ const Container$1 = ut.dialog `
3835
3547
  width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
3836
3548
  max-width: calc(100vw - 80px);
3837
3549
  height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
@@ -3847,7 +3559,7 @@ const Container$1 = styled.dialog `
3847
3559
  display: flex;
3848
3560
  flex-direction: column;
3849
3561
  `;
3850
- const Header$1 = styled.div `
3562
+ const Header$1 = ut.div `
3851
3563
  flex-shrink: 0;
3852
3564
  padding: 20px;
3853
3565
  border-bottom: 1px solid #e7e6e6;
@@ -3856,28 +3568,28 @@ const Header$1 = styled.div `
3856
3568
  background: #ffffff;
3857
3569
  box-sizing: border-box;
3858
3570
  `;
3859
- const Close = styled.div `
3571
+ const Close = ut.div `
3860
3572
  margin-left: auto;
3861
3573
  display: flex;
3862
3574
  align-items: center;
3863
3575
  padding-left: 20px;
3864
3576
  cursor: pointer;
3865
3577
  `;
3866
- const CloseMsg = styled.span `
3578
+ const CloseMsg = ut.span `
3867
3579
  font-size: ${FontSizes.SMALL};
3868
3580
  font-weight: 400;
3869
3581
  font-family: ${FontStyles.DEFAULT};
3870
3582
  line-height: 1em;
3871
3583
  color: ${Colors.MEDIUM_GRAY.Hex};
3872
3584
  `;
3873
- const ContentWrapper = styled.div `
3585
+ const ContentWrapper = ut.div `
3874
3586
  overflow-x: hidden;
3875
3587
  overflow-y: auto;
3876
3588
  background: #ffffff;
3877
3589
  flex: 1;
3878
3590
  box-sizing: border-box;
3879
3591
  `;
3880
- const ButtonBar = styled.div `
3592
+ const ButtonBar = ut.div `
3881
3593
  flex-shrink: 0;
3882
3594
  background: #ffffff;
3883
3595
  padding: 20px;
@@ -3920,11 +3632,11 @@ const Modal = (_a) => {
3920
3632
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: 'primary', margin: '0px 0px 0px 10px' }))) : null)) : null)) : null)));
3921
3633
  };
3922
3634
 
3923
- const Wrapper$6 = styled.div `
3635
+ const Wrapper$6 = ut.div `
3924
3636
  position: relative;
3925
3637
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
3926
3638
  `;
3927
- const Trigger = styled.div `
3639
+ const Trigger = ut.div `
3928
3640
  box-sizing: border-box;
3929
3641
  border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
3930
3642
  height: 40px;
@@ -3953,7 +3665,7 @@ const Trigger = styled.div `
3953
3665
  z-index: 1;
3954
3666
  `;
3955
3667
  Trigger.defaultProps = { theme: EditableTheme };
3956
- const Value = styled.div `
3668
+ const Value = ut.div `
3957
3669
  color: ${Colors.BLACK.Hex};
3958
3670
  font-family: ${FontStyles.DEFAULT};
3959
3671
  font-size: ${FontSizes.DEFAULT};
@@ -3964,7 +3676,7 @@ const Value = styled.div `
3964
3676
  white-space: nowrap;
3965
3677
  width: 100%;
3966
3678
  `;
3967
- const Options = styled.div `
3679
+ const Options = ut.div `
3968
3680
  background: #fff;
3969
3681
  box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
3970
3682
  border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
@@ -3980,7 +3692,7 @@ const Options = styled.div `
3980
3692
  overflow: auto;
3981
3693
  `;
3982
3694
  Options.defaultProps = { theme: EditableTheme };
3983
- const Scrim = styled.div `
3695
+ const Scrim = ut.div `
3984
3696
  bottom: 0;
3985
3697
  left: 0;
3986
3698
  position: fixed;
@@ -4003,7 +3715,7 @@ const MultiSelect = (_a) => {
4003
3715
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
4004
3716
  };
4005
3717
 
4006
- const Wrapper$5 = styled.div `
3718
+ const Wrapper$5 = ut.div `
4007
3719
  display: inline-block;
4008
3720
  border-radius: 4px;
4009
3721
  padding: 4px 6px;
@@ -4012,18 +3724,18 @@ const Wrapper$5 = styled.div `
4012
3724
  box-sizing: border-box;
4013
3725
  cursor: ${props => (props.$removable ? 'pointer' : 'default')};
4014
3726
  `;
4015
- const Content = styled.div `
3727
+ const Content = ut.div `
4016
3728
  display: flex;
4017
3729
  align-items: center;
4018
3730
  `;
4019
- const Label$1 = styled.div `
3731
+ const Label$1 = ut.div `
4020
3732
  color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
4021
3733
  font-size: ${FontSizes.SMALL};
4022
3734
  font-weight: 500;
4023
3735
  font-family: ${FontStyles.DEFAULT};
4024
3736
  line-height: 1.2em;
4025
3737
  `;
4026
- const Remove = styled.div `
3738
+ const Remove = ut.div `
4027
3739
  margin-left: 10px;
4028
3740
  display: flex;
4029
3741
  align-items: center;
@@ -4037,7 +3749,7 @@ const Tag = (_a) => {
4037
3749
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: mdiClose, size: '15px' }))) : null)));
4038
3750
  };
4039
3751
 
4040
- const Wrapper$4 = styled.div `
3752
+ const Wrapper$4 = ut.div `
4041
3753
  display: flex;
4042
3754
  padding: 16px 30px;
4043
3755
  align-items: center;
@@ -4045,24 +3757,24 @@ const Wrapper$4 = styled.div `
4045
3757
  align-self: stretch;
4046
3758
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
4047
3759
  `;
4048
- const Title = styled.div `
3760
+ const Title = ut.div `
4049
3761
  display: flex;
4050
3762
  align-items: center;
4051
3763
  gap: 20px;
4052
3764
  `;
4053
- const Info = styled.div `
3765
+ const Info = ut.div `
4054
3766
  display: flex;
4055
3767
  flex-direction: column;
4056
3768
  align-items: flex-start;
4057
3769
  gap: 4px;
4058
3770
  flex: 1 0 0;
4059
3771
  `;
4060
- const Breadcrumbs = styled.div `
3772
+ const Breadcrumbs = ut.div `
4061
3773
  display: flex;
4062
3774
  align-items: center;
4063
3775
  gap: 4px;
4064
3776
  `;
4065
- const Actions = styled.div `
3777
+ const Actions = ut.div `
4066
3778
  display: flex;
4067
3779
  align-items: center;
4068
3780
  gap: 8px;
@@ -4087,7 +3799,7 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
4087
3799
  menuItems.length ? (React.createElement(ButtonMenu, { format: format, label: label, menuItems: menuItems, small: true })) : null)) : null));
4088
3800
  };
4089
3801
 
4090
- const Wrapper$3 = styled.nav `
3802
+ const Wrapper$3 = ut.nav `
4091
3803
  box-sizing: border-box;
4092
3804
  display: flex;
4093
3805
  align-items: center;
@@ -4122,21 +3834,28 @@ const Pagination = (_a) => {
4122
3834
  React.createElement(Button, { disabled: is_last_page, icon: mdiChevronRight, onClick: handleNextClick, small: true })));
4123
3835
  };
4124
3836
 
4125
- const Wrapper$2 = styled.label `
4126
- padding: 4px 0;
3837
+ const Wrapper$2 = ut.label `
3838
+ border-radius: 4px;
3839
+ padding: 4px 0px 4px 6px;
3840
+ margin-left: -6px;
4127
3841
  cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
4128
3842
  display: flex;
4129
3843
  align-items: center;
4130
3844
  font-size: ${FontSizes.DEFAULT};
4131
3845
  line-height: 1.6rm;
4132
3846
  box-sizing: border-box;
3847
+
3848
+ &:focus-within {
3849
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
3850
+ }
4133
3851
  `;
4134
- const Input = styled.input `
3852
+ Wrapper$2.defaultProps = { theme: EditableTheme };
3853
+ const Input = ut.input `
4135
3854
  font-size: 20px;
4136
3855
  margin: 0px 0px 2px 0px;
4137
3856
  line-height: 1.1em;
4138
3857
  `;
4139
- const Label = styled.span `
3858
+ const Label = ut.span `
4140
3859
  font-family: ${FontStyles.DEFAULT};
4141
3860
  font-size: ${FontSizes.DEFAULT};
4142
3861
  font-weight: 400;
@@ -4159,7 +3878,7 @@ const RadioList = (_a) => {
4159
3878
  })));
4160
3879
  };
4161
3880
 
4162
- const StyledTable = styled.table `
3881
+ const StyledTable = ut.table `
4163
3882
  width: 100%;
4164
3883
  margin-top: 1px;
4165
3884
  table-layout: ${props => props.$tableLayout || 'auto'};
@@ -4169,7 +3888,7 @@ const StyledTable = styled.table `
4169
3888
  border-color: none;
4170
3889
  box-sizing: border-box;
4171
3890
  `;
4172
- const Header = styled.th `
3891
+ const Header = ut.th `
4173
3892
  padding: 12px !important;
4174
3893
  text-align: left;
4175
3894
  font-weight: 500;
@@ -4188,7 +3907,7 @@ const Header = styled.th `
4188
3907
  color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
4189
3908
  `;
4190
3909
  Header.defaultProps = { theme: EditableTheme };
4191
- const Row = styled.tr `
3910
+ const Row = ut.tr `
4192
3911
  cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
4193
3912
  transition: all 0.2s;
4194
3913
  background-color: ${props => props.$bgColor};
@@ -4198,7 +3917,7 @@ const Row = styled.tr `
4198
3917
  }
4199
3918
  `;
4200
3919
  Row.defaultProps = { theme: EditableTheme };
4201
- const Column = styled.td `
3920
+ const Column = ut.td `
4202
3921
  padding: 16px 12px !important;
4203
3922
  font-size: ${FontSizes.DEFAULT} !important;
4204
3923
  font-weight: 400 !important;
@@ -4209,13 +3928,13 @@ const Column = styled.td `
4209
3928
  box-sizing: border-box;
4210
3929
  width: ${props => props.$width || 'auto'};
4211
3930
  `;
4212
- const IconWrapper = styled.span `
3931
+ const IconWrapper = ut.span `
4213
3932
  position: absolute;
4214
3933
  top: 50%;
4215
3934
  transform: translateY(-50%);
4216
3935
  margin-left: 2px;
4217
3936
  `;
4218
- const StyledIcon$1 = styled(Icon) `
3937
+ const StyledIcon$1 = ut(Icon) `
4219
3938
  > path {
4220
3939
  fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
4221
3940
  }
@@ -4238,7 +3957,7 @@ const Table = (_a) => {
4238
3957
  }))) : null));
4239
3958
  };
4240
3959
 
4241
- const Wrapper$1 = styled.div `
3960
+ const Wrapper$1 = ut.div `
4242
3961
  display: flex;
4243
3962
  box-sizing: border-box;
4244
3963
  align-items: flex-end;
@@ -4249,7 +3968,7 @@ const Wrapper$1 = styled.div `
4249
3968
  padding: 0;
4250
3969
  margin: 0;
4251
3970
  `;
4252
- const Tab = styled.div `
3971
+ const Tab = ut.div `
4253
3972
  display: flex;
4254
3973
  align-items: center;
4255
3974
  gap: 6px;
@@ -4271,7 +3990,7 @@ const Tab = styled.div `
4271
3990
  }
4272
3991
  `;
4273
3992
  Tab.defaultProps = { theme: EditableTheme };
4274
- const Badge = styled.div `
3993
+ const Badge = ut.div `
4275
3994
  display: flex;
4276
3995
  width: 18px;
4277
3996
  height: 18px;
@@ -4298,7 +4017,7 @@ const Tabs = (_a) => {
4298
4017
  };
4299
4018
  Tabs.defaultProps = {};
4300
4019
 
4301
- const Track = styled.div `
4020
+ const Track = ut.div `
4302
4021
  height: 24px;
4303
4022
  border-radius: 12px;
4304
4023
  background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
@@ -4309,7 +4028,7 @@ const Track = styled.div `
4309
4028
  padding: 2px;
4310
4029
  box-sizing: border-box;
4311
4030
  `;
4312
- const Handle = styled.div `
4031
+ const Handle = ut.div `
4313
4032
  width: 20px;
4314
4033
  height: 20px;
4315
4034
  border-radius: 10px;
@@ -4329,7 +4048,7 @@ const Toggle = (_a) => {
4329
4048
  };
4330
4049
  Toggle.defaultProps = {};
4331
4050
 
4332
- const Container = styled.div `
4051
+ const Container = ut.div `
4333
4052
  width: 100%;
4334
4053
  padding: 40px auto;
4335
4054
  gap: 20px;
@@ -4338,14 +4057,14 @@ const Container = styled.div `
4338
4057
  justify-items: center;
4339
4058
  align-items: center;
4340
4059
  `;
4341
- const Wrapper = styled.div `
4060
+ const Wrapper = ut.div `
4342
4061
  gap: 10px;
4343
4062
  display: flex;
4344
4063
  flex-direction: column;
4345
4064
  justify-items: center;
4346
4065
  align-items: center;
4347
4066
  `;
4348
- const StyledIcon = styled.div `
4067
+ const StyledIcon = ut.div `
4349
4068
  display: flex;
4350
4069
  align-items: center;
4351
4070
  justify-content: center;