@hexure/ui 1.9.4 → 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/cjs/index.js CHANGED
@@ -22,6 +22,16 @@ PERFORMANCE OF THIS SOFTWARE.
22
22
  ***************************************************************************** */
23
23
  /* global Reflect, Promise */
24
24
 
25
+ var __assign = function () {
26
+ __assign = Object.assign || function __assign(t) {
27
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
28
+ s = arguments[i];
29
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
30
+ }
31
+ return t;
32
+ };
33
+ return __assign.apply(this, arguments);
34
+ };
25
35
  function __rest(s, e) {
26
36
  var t = {};
27
37
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -30,6 +40,32 @@ function __rest(s, e) {
30
40
  }
31
41
  return t;
32
42
  }
43
+ function __spreadArray(to, from, pack) {
44
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
45
+ if (ar || !(i in from)) {
46
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
47
+ ar[i] = from[i];
48
+ }
49
+ }
50
+ return to.concat(ar || Array.prototype.slice.call(from));
51
+ }
52
+
53
+ function memoize(fn) {
54
+ var cache = Object.create(null);
55
+ return function (arg) {
56
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
57
+ return cache[arg];
58
+ };
59
+ }
60
+
61
+ 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
62
+
63
+ var isPropValid = /* #__PURE__ */memoize(function (prop) {
64
+ return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
65
+ /* o */ && prop.charCodeAt(1) === 110
66
+ /* n */ && prop.charCodeAt(2) < 91;
67
+ }
68
+ /* Z+1 */);
33
69
 
34
70
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
35
71
 
@@ -37,831 +73,869 @@ function getDefaultExportFromCjs (x) {
37
73
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
38
74
  }
39
75
 
40
- var reactIs$2 = {exports: {}};
76
+ var MS = '-ms-';
77
+ var MOZ = '-moz-';
78
+ var WEBKIT = '-webkit-';
79
+ var COMMENT = 'comm';
80
+ var RULESET = 'rule';
81
+ var DECLARATION = 'decl';
82
+ var IMPORT = '@import';
83
+ var KEYFRAMES = '@keyframes';
84
+ var LAYER = '@layer';
41
85
 
42
- var reactIs_production_min$1 = {};
86
+ /**
87
+ * @param {number}
88
+ * @return {number}
89
+ */
90
+ var abs = Math.abs;
43
91
 
44
92
  /**
45
- * @license React
46
- * react-is.production.min.js
47
- *
48
- * Copyright (c) Facebook, Inc. and its affiliates.
49
- *
50
- * This source code is licensed under the MIT license found in the
51
- * LICENSE file in the root directory of this source tree.
93
+ * @param {number}
94
+ * @return {string}
52
95
  */
53
- var hasRequiredReactIs_production_min$1;
54
- function requireReactIs_production_min$1() {
55
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
56
- hasRequiredReactIs_production_min$1 = 1;
57
- var b = Symbol.for("react.element"),
58
- c = Symbol.for("react.portal"),
59
- d = Symbol.for("react.fragment"),
60
- e = Symbol.for("react.strict_mode"),
61
- f = Symbol.for("react.profiler"),
62
- g = Symbol.for("react.provider"),
63
- h = Symbol.for("react.context"),
64
- k = Symbol.for("react.server_context"),
65
- l = Symbol.for("react.forward_ref"),
66
- m = Symbol.for("react.suspense"),
67
- n = Symbol.for("react.suspense_list"),
68
- p = Symbol.for("react.memo"),
69
- q = Symbol.for("react.lazy"),
70
- t = Symbol.for("react.offscreen"),
71
- u;
72
- u = Symbol.for("react.module.reference");
73
- function v(a) {
74
- if ("object" === typeof a && null !== a) {
75
- var r = a.$$typeof;
76
- switch (r) {
77
- case b:
78
- switch (a = a.type, a) {
79
- case d:
80
- case f:
81
- case e:
82
- case m:
83
- case n:
84
- return a;
85
- default:
86
- switch (a = a && a.$$typeof, a) {
87
- case k:
88
- case h:
89
- case l:
90
- case q:
91
- case p:
92
- case g:
93
- return a;
94
- default:
95
- return r;
96
- }
97
- }
98
- case c:
99
- return r;
100
- }
101
- }
102
- }
103
- reactIs_production_min$1.ContextConsumer = h;
104
- reactIs_production_min$1.ContextProvider = g;
105
- reactIs_production_min$1.Element = b;
106
- reactIs_production_min$1.ForwardRef = l;
107
- reactIs_production_min$1.Fragment = d;
108
- reactIs_production_min$1.Lazy = q;
109
- reactIs_production_min$1.Memo = p;
110
- reactIs_production_min$1.Portal = c;
111
- reactIs_production_min$1.Profiler = f;
112
- reactIs_production_min$1.StrictMode = e;
113
- reactIs_production_min$1.Suspense = m;
114
- reactIs_production_min$1.SuspenseList = n;
115
- reactIs_production_min$1.isAsyncMode = function () {
116
- return !1;
117
- };
118
- reactIs_production_min$1.isConcurrentMode = function () {
119
- return !1;
120
- };
121
- reactIs_production_min$1.isContextConsumer = function (a) {
122
- return v(a) === h;
123
- };
124
- reactIs_production_min$1.isContextProvider = function (a) {
125
- return v(a) === g;
126
- };
127
- reactIs_production_min$1.isElement = function (a) {
128
- return "object" === typeof a && null !== a && a.$$typeof === b;
129
- };
130
- reactIs_production_min$1.isForwardRef = function (a) {
131
- return v(a) === l;
132
- };
133
- reactIs_production_min$1.isFragment = function (a) {
134
- return v(a) === d;
135
- };
136
- reactIs_production_min$1.isLazy = function (a) {
137
- return v(a) === q;
138
- };
139
- reactIs_production_min$1.isMemo = function (a) {
140
- return v(a) === p;
141
- };
142
- reactIs_production_min$1.isPortal = function (a) {
143
- return v(a) === c;
144
- };
145
- reactIs_production_min$1.isProfiler = function (a) {
146
- return v(a) === f;
147
- };
148
- reactIs_production_min$1.isStrictMode = function (a) {
149
- return v(a) === e;
150
- };
151
- reactIs_production_min$1.isSuspense = function (a) {
152
- return v(a) === m;
153
- };
154
- reactIs_production_min$1.isSuspenseList = function (a) {
155
- return v(a) === n;
156
- };
157
- reactIs_production_min$1.isValidElementType = function (a) {
158
- 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;
96
+ var from = String.fromCharCode;
97
+
98
+ /**
99
+ * @param {object}
100
+ * @return {object}
101
+ */
102
+ var assign = Object.assign;
103
+
104
+ /**
105
+ * @param {string} value
106
+ * @param {number} length
107
+ * @return {number}
108
+ */
109
+ function hash(value, length) {
110
+ return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
111
+ }
112
+
113
+ /**
114
+ * @param {string} value
115
+ * @return {string}
116
+ */
117
+ function trim(value) {
118
+ return value.trim();
119
+ }
120
+
121
+ /**
122
+ * @param {string} value
123
+ * @param {RegExp} pattern
124
+ * @return {string?}
125
+ */
126
+ function match(value, pattern) {
127
+ return (value = pattern.exec(value)) ? value[0] : value;
128
+ }
129
+
130
+ /**
131
+ * @param {string} value
132
+ * @param {(string|RegExp)} pattern
133
+ * @param {string} replacement
134
+ * @return {string}
135
+ */
136
+ function replace(value, pattern, replacement) {
137
+ return value.replace(pattern, replacement);
138
+ }
139
+
140
+ /**
141
+ * @param {string} value
142
+ * @param {string} search
143
+ * @param {number} position
144
+ * @return {number}
145
+ */
146
+ function indexof(value, search, position) {
147
+ return value.indexOf(search, position);
148
+ }
149
+
150
+ /**
151
+ * @param {string} value
152
+ * @param {number} index
153
+ * @return {number}
154
+ */
155
+ function charat(value, index) {
156
+ return value.charCodeAt(index) | 0;
157
+ }
158
+
159
+ /**
160
+ * @param {string} value
161
+ * @param {number} begin
162
+ * @param {number} end
163
+ * @return {string}
164
+ */
165
+ function substr(value, begin, end) {
166
+ return value.slice(begin, end);
167
+ }
168
+
169
+ /**
170
+ * @param {string} value
171
+ * @return {number}
172
+ */
173
+ function strlen(value) {
174
+ return value.length;
175
+ }
176
+
177
+ /**
178
+ * @param {any[]} value
179
+ * @return {number}
180
+ */
181
+ function sizeof(value) {
182
+ return value.length;
183
+ }
184
+
185
+ /**
186
+ * @param {any} value
187
+ * @param {any[]} array
188
+ * @return {any}
189
+ */
190
+ function append(value, array) {
191
+ return array.push(value), value;
192
+ }
193
+
194
+ /**
195
+ * @param {string[]} array
196
+ * @param {function} callback
197
+ * @return {string}
198
+ */
199
+ function combine(array, callback) {
200
+ return array.map(callback).join('');
201
+ }
202
+
203
+ /**
204
+ * @param {string[]} array
205
+ * @param {RegExp} pattern
206
+ * @return {string[]}
207
+ */
208
+ function filter(array, pattern) {
209
+ return array.filter(function (value) {
210
+ return !match(value, pattern);
211
+ });
212
+ }
213
+
214
+ var line = 1;
215
+ var column = 1;
216
+ var length = 0;
217
+ var position = 0;
218
+ var character = 0;
219
+ var characters = '';
220
+
221
+ /**
222
+ * @param {string} value
223
+ * @param {object | null} root
224
+ * @param {object | null} parent
225
+ * @param {string} type
226
+ * @param {string[] | string} props
227
+ * @param {object[] | string} children
228
+ * @param {object[]} siblings
229
+ * @param {number} length
230
+ */
231
+ function node(value, root, parent, type, props, children, length, siblings) {
232
+ return {
233
+ value: value,
234
+ root: root,
235
+ parent: parent,
236
+ type: type,
237
+ props: props,
238
+ children: children,
239
+ line: line,
240
+ column: column,
241
+ length: length,
242
+ return: '',
243
+ siblings: siblings
159
244
  };
160
- reactIs_production_min$1.typeOf = v;
161
- return reactIs_production_min$1;
162
245
  }
163
246
 
164
- var reactIs_development$1 = {};
247
+ /**
248
+ * @param {object} root
249
+ * @param {object} props
250
+ * @return {object}
251
+ */
252
+ function copy(root, props) {
253
+ return assign(node('', null, null, '', null, null, 0, root.siblings), root, {
254
+ length: -root.length
255
+ }, props);
256
+ }
165
257
 
166
258
  /**
167
- * @license React
168
- * react-is.development.js
169
- *
170
- * Copyright (c) Facebook, Inc. and its affiliates.
171
- *
172
- * This source code is licensed under the MIT license found in the
173
- * LICENSE file in the root directory of this source tree.
259
+ * @param {object} root
174
260
  */
175
- var hasRequiredReactIs_development$1;
176
- function requireReactIs_development$1() {
177
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
178
- hasRequiredReactIs_development$1 = 1;
179
- if (process.env.NODE_ENV !== "production") {
180
- (function () {
261
+ function lift(root) {
262
+ while (root.root) root = copy(root.root, {
263
+ children: [root]
264
+ });
265
+ append(root, root.siblings);
266
+ }
181
267
 
182
- // ATTENTION
183
- // When adding new symbols to this file,
184
- // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
185
- // The Symbol used to tag the ReactElement-like types.
186
- var REACT_ELEMENT_TYPE = Symbol.for('react.element');
187
- var REACT_PORTAL_TYPE = Symbol.for('react.portal');
188
- var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
189
- var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
190
- var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
191
- var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
192
- var REACT_CONTEXT_TYPE = Symbol.for('react.context');
193
- var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
194
- var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
195
- var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
196
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
197
- var REACT_MEMO_TYPE = Symbol.for('react.memo');
198
- var REACT_LAZY_TYPE = Symbol.for('react.lazy');
199
- var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
268
+ /**
269
+ * @return {number}
270
+ */
271
+ function char() {
272
+ return character;
273
+ }
200
274
 
201
- // -----------------------------------------------------------------------------
275
+ /**
276
+ * @return {number}
277
+ */
278
+ function prev() {
279
+ character = position > 0 ? charat(characters, --position) : 0;
280
+ if (column--, character === 10) column = 1, line--;
281
+ return character;
282
+ }
202
283
 
203
- var enableScopeAPI = false; // Experimental Create Event Handle API.
204
- var enableCacheElement = false;
205
- var enableTransitionTracing = false; // No known bugs, but needs performance testing
284
+ /**
285
+ * @return {number}
286
+ */
287
+ function next() {
288
+ character = position < length ? charat(characters, position++) : 0;
289
+ if (column++, character === 10) column = 1, line++;
290
+ return character;
291
+ }
206
292
 
207
- var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
208
- // stuff. Intended to enable React core members to more easily debug scheduling
209
- // issues in DEV builds.
293
+ /**
294
+ * @return {number}
295
+ */
296
+ function peek() {
297
+ return charat(characters, position);
298
+ }
210
299
 
211
- var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
300
+ /**
301
+ * @return {number}
302
+ */
303
+ function caret() {
304
+ return position;
305
+ }
212
306
 
213
- var REACT_MODULE_REFERENCE;
214
- {
215
- REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
216
- }
217
- function isValidElementType(type) {
218
- if (typeof type === 'string' || typeof type === 'function') {
219
- return true;
220
- } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
307
+ /**
308
+ * @param {number} begin
309
+ * @param {number} end
310
+ * @return {string}
311
+ */
312
+ function slice(begin, end) {
313
+ return substr(characters, begin, end);
314
+ }
221
315
 
222
- 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) {
223
- return true;
224
- }
225
- if (typeof type === 'object' && type !== null) {
226
- 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 ||
227
- // This needs to include all possible module reference object
228
- // types supported by any Flight configuration anywhere since
229
- // we don't know which Flight build this will end up being used
230
- // with.
231
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
232
- return true;
233
- }
234
- }
235
- return false;
236
- }
237
- function typeOf(object) {
238
- if (typeof object === 'object' && object !== null) {
239
- var $$typeof = object.$$typeof;
240
- switch ($$typeof) {
241
- case REACT_ELEMENT_TYPE:
242
- var type = object.type;
243
- switch (type) {
244
- case REACT_FRAGMENT_TYPE:
245
- case REACT_PROFILER_TYPE:
246
- case REACT_STRICT_MODE_TYPE:
247
- case REACT_SUSPENSE_TYPE:
248
- case REACT_SUSPENSE_LIST_TYPE:
249
- return type;
250
- default:
251
- var $$typeofType = type && type.$$typeof;
252
- switch ($$typeofType) {
253
- case REACT_SERVER_CONTEXT_TYPE:
254
- case REACT_CONTEXT_TYPE:
255
- case REACT_FORWARD_REF_TYPE:
256
- case REACT_LAZY_TYPE:
257
- case REACT_MEMO_TYPE:
258
- case REACT_PROVIDER_TYPE:
259
- return $$typeofType;
260
- default:
261
- return $$typeof;
262
- }
263
- }
264
- case REACT_PORTAL_TYPE:
265
- return $$typeof;
266
- }
267
- }
268
- return undefined;
269
- }
270
- var ContextConsumer = REACT_CONTEXT_TYPE;
271
- var ContextProvider = REACT_PROVIDER_TYPE;
272
- var Element = REACT_ELEMENT_TYPE;
273
- var ForwardRef = REACT_FORWARD_REF_TYPE;
274
- var Fragment = REACT_FRAGMENT_TYPE;
275
- var Lazy = REACT_LAZY_TYPE;
276
- var Memo = REACT_MEMO_TYPE;
277
- var Portal = REACT_PORTAL_TYPE;
278
- var Profiler = REACT_PROFILER_TYPE;
279
- var StrictMode = REACT_STRICT_MODE_TYPE;
280
- var Suspense = REACT_SUSPENSE_TYPE;
281
- var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
282
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
283
- var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
316
+ /**
317
+ * @param {number} type
318
+ * @return {number}
319
+ */
320
+ function token(type) {
321
+ switch (type) {
322
+ // \0 \t \n \r \s whitespace token
323
+ case 0:
324
+ case 9:
325
+ case 10:
326
+ case 13:
327
+ case 32:
328
+ return 5;
329
+ // ! + , / > @ ~ isolate token
330
+ case 33:
331
+ case 43:
332
+ case 44:
333
+ case 47:
334
+ case 62:
335
+ case 64:
336
+ case 126:
337
+ // ; { } breakpoint token
338
+ case 59:
339
+ case 123:
340
+ case 125:
341
+ return 4;
342
+ // : accompanied token
343
+ case 58:
344
+ return 3;
345
+ // " ' ( [ opening delimit token
346
+ case 34:
347
+ case 39:
348
+ case 40:
349
+ case 91:
350
+ return 2;
351
+ // ) ] closing delimit token
352
+ case 41:
353
+ case 93:
354
+ return 1;
355
+ }
356
+ return 0;
357
+ }
284
358
 
285
- function isAsyncMode(object) {
286
- {
287
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
288
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
359
+ /**
360
+ * @param {string} value
361
+ * @return {any[]}
362
+ */
363
+ function alloc(value) {
364
+ return line = column = 1, length = strlen(characters = value), position = 0, [];
365
+ }
289
366
 
290
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
291
- }
292
- }
293
- return false;
294
- }
295
- function isConcurrentMode(object) {
296
- {
297
- if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
298
- hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
367
+ /**
368
+ * @param {any} value
369
+ * @return {any}
370
+ */
371
+ function dealloc(value) {
372
+ return characters = '', value;
373
+ }
299
374
 
300
- console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
301
- }
302
- }
303
- return false;
304
- }
305
- function isContextConsumer(object) {
306
- return typeOf(object) === REACT_CONTEXT_TYPE;
307
- }
308
- function isContextProvider(object) {
309
- return typeOf(object) === REACT_PROVIDER_TYPE;
310
- }
311
- function isElement(object) {
312
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
313
- }
314
- function isForwardRef(object) {
315
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
316
- }
317
- function isFragment(object) {
318
- return typeOf(object) === REACT_FRAGMENT_TYPE;
319
- }
320
- function isLazy(object) {
321
- return typeOf(object) === REACT_LAZY_TYPE;
322
- }
323
- function isMemo(object) {
324
- return typeOf(object) === REACT_MEMO_TYPE;
325
- }
326
- function isPortal(object) {
327
- return typeOf(object) === REACT_PORTAL_TYPE;
328
- }
329
- function isProfiler(object) {
330
- return typeOf(object) === REACT_PROFILER_TYPE;
331
- }
332
- function isStrictMode(object) {
333
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
334
- }
335
- function isSuspense(object) {
336
- return typeOf(object) === REACT_SUSPENSE_TYPE;
337
- }
338
- function isSuspenseList(object) {
339
- return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
340
- }
341
- reactIs_development$1.ContextConsumer = ContextConsumer;
342
- reactIs_development$1.ContextProvider = ContextProvider;
343
- reactIs_development$1.Element = Element;
344
- reactIs_development$1.ForwardRef = ForwardRef;
345
- reactIs_development$1.Fragment = Fragment;
346
- reactIs_development$1.Lazy = Lazy;
347
- reactIs_development$1.Memo = Memo;
348
- reactIs_development$1.Portal = Portal;
349
- reactIs_development$1.Profiler = Profiler;
350
- reactIs_development$1.StrictMode = StrictMode;
351
- reactIs_development$1.Suspense = Suspense;
352
- reactIs_development$1.SuspenseList = SuspenseList;
353
- reactIs_development$1.isAsyncMode = isAsyncMode;
354
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
355
- reactIs_development$1.isContextConsumer = isContextConsumer;
356
- reactIs_development$1.isContextProvider = isContextProvider;
357
- reactIs_development$1.isElement = isElement;
358
- reactIs_development$1.isForwardRef = isForwardRef;
359
- reactIs_development$1.isFragment = isFragment;
360
- reactIs_development$1.isLazy = isLazy;
361
- reactIs_development$1.isMemo = isMemo;
362
- reactIs_development$1.isPortal = isPortal;
363
- reactIs_development$1.isProfiler = isProfiler;
364
- reactIs_development$1.isStrictMode = isStrictMode;
365
- reactIs_development$1.isSuspense = isSuspense;
366
- reactIs_development$1.isSuspenseList = isSuspenseList;
367
- reactIs_development$1.isValidElementType = isValidElementType;
368
- reactIs_development$1.typeOf = typeOf;
369
- })();
375
+ /**
376
+ * @param {number} type
377
+ * @return {string}
378
+ */
379
+ function delimit(type) {
380
+ return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
381
+ }
382
+
383
+ /**
384
+ * @param {number} type
385
+ * @return {string}
386
+ */
387
+ function whitespace(type) {
388
+ while (character = peek()) if (character < 33) next();else break;
389
+ return token(type) > 2 || token(character) > 3 ? '' : ' ';
390
+ }
391
+
392
+ /**
393
+ * @param {number} index
394
+ * @param {number} count
395
+ * @return {string}
396
+ */
397
+ function escaping(index, count) {
398
+ while (--count && next())
399
+ // not 0-9 A-F a-f
400
+ if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
401
+ return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
402
+ }
403
+
404
+ /**
405
+ * @param {number} type
406
+ * @return {number}
407
+ */
408
+ function delimiter(type) {
409
+ while (next()) switch (character) {
410
+ // ] ) " '
411
+ case type:
412
+ return position;
413
+ // " '
414
+ case 34:
415
+ case 39:
416
+ if (type !== 34 && type !== 39) delimiter(character);
417
+ break;
418
+ // (
419
+ case 40:
420
+ if (type === 41) delimiter(type);
421
+ break;
422
+ // \
423
+ case 92:
424
+ next();
425
+ break;
370
426
  }
371
- return reactIs_development$1;
427
+ return position;
372
428
  }
373
429
 
374
- if (process.env.NODE_ENV === 'production') {
375
- reactIs$2.exports = requireReactIs_production_min$1();
376
- } else {
377
- reactIs$2.exports = requireReactIs_development$1();
430
+ /**
431
+ * @param {number} type
432
+ * @param {number} index
433
+ * @return {number}
434
+ */
435
+ function commenter(type, index) {
436
+ while (next())
437
+ // //
438
+ if (type + character === 47 + 10) break;
439
+ // /*
440
+ else if (type + character === 42 + 42 && peek() === 47) break;
441
+ return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
378
442
  }
379
- var reactIsExports$1 = reactIs$2.exports;
380
443
 
381
- function stylis_min(W) {
382
- function M(d, c, e, h, a) {
383
- 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;) {
384
- g = e.charCodeAt(l);
385
- l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
386
- if (0 === b + n + v + m) {
387
- if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
388
- switch (g) {
389
- case 32:
390
- case 9:
391
- case 59:
392
- case 13:
393
- case 10:
394
- break;
395
- default:
396
- f += e.charAt(l);
397
- }
398
- g = 59;
399
- }
400
- switch (g) {
401
- case 123:
402
- f = f.trim();
403
- q = f.charCodeAt(0);
404
- k = 1;
405
- for (t = ++l; l < B;) {
406
- switch (g = e.charCodeAt(l)) {
407
- case 123:
408
- k++;
409
- break;
410
- case 125:
411
- k--;
412
- break;
413
- case 47:
414
- switch (g = e.charCodeAt(l + 1)) {
415
- case 42:
416
- case 47:
417
- a: {
418
- for (u = l + 1; u < J; ++u) {
419
- switch (e.charCodeAt(u)) {
420
- case 47:
421
- if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
422
- l = u + 1;
423
- break a;
424
- }
425
- break;
426
- case 10:
427
- if (47 === g) {
428
- l = u + 1;
429
- break a;
430
- }
431
- }
432
- }
433
- l = u;
434
- }
435
- }
436
- break;
437
- case 91:
438
- g++;
439
- case 40:
440
- g++;
441
- case 34:
442
- case 39:
443
- for (; l++ < J && e.charCodeAt(l) !== g;) {}
444
- }
445
- if (0 === k) break;
446
- l++;
447
- }
448
- k = e.substring(t, l);
449
- 0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
450
- switch (q) {
451
- case 64:
452
- 0 < r && (f = f.replace(N, ''));
453
- g = f.charCodeAt(1);
454
- switch (g) {
455
- case 100:
456
- case 109:
457
- case 115:
458
- case 45:
459
- r = c;
460
- break;
461
- default:
462
- r = O;
463
- }
464
- k = M(c, r, k, g, a + 1);
465
- t = k.length;
466
- 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 = ''));
467
- if (0 < t) switch (g) {
468
- case 115:
469
- f = f.replace(da, ea);
470
- case 100:
471
- case 109:
472
- case 45:
473
- k = f + '{' + k + '}';
474
- break;
475
- case 107:
476
- f = f.replace(fa, '$1 $2');
477
- k = f + '{' + k + '}';
478
- k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
479
- break;
480
- default:
481
- k = f + k, 112 === h && (k = (p += k, ''));
482
- } else k = '';
483
- break;
484
- default:
485
- k = M(c, X(c, f, I), k, h, a + 1);
486
- }
487
- F += k;
488
- k = I = r = u = q = 0;
489
- f = '';
490
- g = e.charCodeAt(++l);
491
- break;
492
- case 125:
493
- case 59:
494
- f = (0 < r ? f.replace(N, '') : f).trim();
495
- 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) {
496
- case 0:
497
- break;
498
- case 64:
499
- if (105 === g || 99 === g) {
500
- G += f + e.charAt(l);
501
- break;
502
- }
503
- default:
504
- 58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
505
- }
506
- I = r = u = q = 0;
507
- f = '';
508
- g = e.charCodeAt(++l);
509
- }
444
+ /**
445
+ * @param {number} index
446
+ * @return {string}
447
+ */
448
+ function identifier(index) {
449
+ while (!token(peek())) next();
450
+ return slice(index, position);
451
+ }
452
+
453
+ /**
454
+ * @param {string} value
455
+ * @return {object[]}
456
+ */
457
+ function compile(value) {
458
+ return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value));
459
+ }
460
+
461
+ /**
462
+ * @param {string} value
463
+ * @param {object} root
464
+ * @param {object?} parent
465
+ * @param {string[]} rule
466
+ * @param {string[]} rules
467
+ * @param {string[]} rulesets
468
+ * @param {number[]} pseudo
469
+ * @param {number[]} points
470
+ * @param {string[]} declarations
471
+ * @return {object}
472
+ */
473
+ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
474
+ var index = 0;
475
+ var offset = 0;
476
+ var length = pseudo;
477
+ var atrule = 0;
478
+ var property = 0;
479
+ var previous = 0;
480
+ var variable = 1;
481
+ var scanning = 1;
482
+ var ampersand = 1;
483
+ var character = 0;
484
+ var type = '';
485
+ var props = rules;
486
+ var children = rulesets;
487
+ var reference = rule;
488
+ var characters = type;
489
+ while (scanning) switch (previous = character, character = next()) {
490
+ // (
491
+ case 40:
492
+ if (previous != 108 && charat(characters, length - 1) == 58) {
493
+ if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1;
494
+ break;
510
495
  }
511
- switch (g) {
512
- case 13:
513
- case 10:
514
- 47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
515
- 0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
516
- z = 1;
517
- D++;
496
+ // " ' [
497
+ case 34:
498
+ case 39:
499
+ case 91:
500
+ characters += delimit(character);
501
+ break;
502
+ // \t \n \r \s
503
+ case 9:
504
+ case 10:
505
+ case 13:
506
+ case 32:
507
+ characters += whitespace(previous);
508
+ break;
509
+ // \
510
+ case 92:
511
+ characters += escaping(caret() - 1, 7);
512
+ continue;
513
+ // /
514
+ case 47:
515
+ switch (peek()) {
516
+ case 42:
517
+ case 47:
518
+ append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
518
519
  break;
519
- case 59:
520
+ default:
521
+ characters += '/';
522
+ }
523
+ break;
524
+ // {
525
+ case 123 * variable:
526
+ points[index++] = strlen(characters) * ampersand;
527
+ // } ; \0
528
+ case 125 * variable:
529
+ case 59:
530
+ case 0:
531
+ switch (character) {
532
+ // \0 }
533
+ case 0:
520
534
  case 125:
521
- if (0 === b + n + v + m) {
522
- z++;
523
- break;
524
- }
535
+ scanning = 0;
536
+ // ;
537
+ case 59 + offset:
538
+ if (ampersand == -1) characters = replace(characters, /\f/g, '');
539
+ 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);
540
+ break;
541
+ // @ ;
542
+ case 59:
543
+ characters += ';';
544
+ // { rule/at-rule
525
545
  default:
526
- z++;
527
- y = e.charAt(l);
528
- switch (g) {
529
- case 9:
530
- case 32:
531
- if (0 === n + m + b) switch (x) {
532
- case 44:
533
- case 58:
534
- case 9:
535
- case 32:
536
- y = '';
537
- break;
538
- default:
539
- 32 !== g && (y = ' ');
540
- }
541
- break;
542
- case 0:
543
- y = '\\0';
544
- break;
545
- case 12:
546
- y = '\\f';
547
- break;
548
- case 11:
549
- y = '\\v';
550
- break;
551
- case 38:
552
- 0 === n + b + m && (r = I = 1, y = '\f' + y);
553
- break;
546
+ append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
547
+ 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) {
548
+ // d l m s
549
+ case 100:
554
550
  case 108:
555
- if (0 === n + b + m + E && 0 < u) switch (l - u) {
556
- case 2:
557
- 112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
558
- case 8:
559
- 111 === K && (E = K);
560
- }
561
- break;
562
- case 58:
563
- 0 === n + b + m && (u = l);
564
- break;
565
- case 44:
566
- 0 === b + v + n + m && (r = 1, y += '\r');
567
- break;
568
- case 34:
569
- case 39:
570
- 0 === b && (n = n === g ? 0 : 0 === n ? g : n);
571
- break;
572
- case 91:
573
- 0 === n + b + v && m++;
551
+ case 109:
552
+ case 115:
553
+ 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);
574
554
  break;
575
- case 93:
576
- 0 === n + b + v && m--;
577
- break;
578
- case 41:
579
- 0 === n + b + m && v--;
580
- break;
581
- case 40:
582
- if (0 === n + b + m) {
583
- if (0 === q) switch (2 * x + 3 * K) {
584
- case 533:
585
- break;
586
- default:
587
- q = 1;
588
- }
589
- v++;
590
- }
591
- break;
592
- case 64:
593
- 0 === b + v + n + m + u + k && (k = 1);
594
- break;
595
- case 42:
596
- case 47:
597
- if (!(0 < n + m + v)) switch (b) {
598
- case 0:
599
- switch (2 * g + 3 * e.charCodeAt(l + 1)) {
600
- case 235:
601
- b = 47;
602
- break;
603
- case 220:
604
- t = l, b = 42;
605
- }
606
- break;
607
- case 42:
608
- 47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
609
- }
555
+ default:
556
+ parse(characters, reference, reference, reference, [''], children, 0, points, children);
610
557
  }
611
- 0 === b && (f += y);
612
558
  }
613
- K = x;
614
- x = g;
615
- l++;
616
- }
617
- t = p.length;
618
- if (0 < t) {
619
- r = c;
620
- 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;
621
- p = r.join(',') + '{' + p + '}';
622
- if (0 !== w * E) {
623
- 2 !== w || L(p, 2) || (E = 0);
624
- switch (E) {
625
- case 111:
626
- p = p.replace(ha, ':-moz-$1') + p;
627
- break;
628
- case 112:
629
- p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
630
- }
631
- E = 0;
559
+ index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
560
+ break;
561
+ // :
562
+ case 58:
563
+ length = 1 + strlen(characters), property = previous;
564
+ default:
565
+ if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
566
+ switch (characters += from(character), character * variable) {
567
+ // &
568
+ case 38:
569
+ ampersand = offset > 0 ? 1 : (characters += '\f', -1);
570
+ break;
571
+ // ,
572
+ case 44:
573
+ points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
574
+ break;
575
+ // @
576
+ case 64:
577
+ // -
578
+ if (peek() === 45) characters += delimit(next());
579
+ atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
580
+ break;
581
+ // -
582
+ case 45:
583
+ if (previous === 45 && strlen(characters) == 2) variable = 0;
632
584
  }
633
- }
634
- return G + p + F;
635
585
  }
636
- function X(d, c, e) {
637
- var h = c.trim().split(ia);
638
- c = h;
639
- var a = h.length,
640
- m = d.length;
641
- switch (m) {
642
- case 0:
643
- case 1:
644
- var b = 0;
645
- for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
646
- c[b] = Z(d, c[b], e).trim();
647
- }
648
- break;
649
- default:
650
- var v = b = 0;
651
- for (c = []; b < a; ++b) {
652
- for (var n = 0; n < m; ++n) {
653
- c[v++] = Z(d[n] + ' ', h[b], e).trim();
654
- }
655
- }
656
- }
657
- return c;
586
+ return rulesets;
587
+ }
588
+
589
+ /**
590
+ * @param {string} value
591
+ * @param {object} root
592
+ * @param {object?} parent
593
+ * @param {number} index
594
+ * @param {number} offset
595
+ * @param {string[]} rules
596
+ * @param {number[]} points
597
+ * @param {string} type
598
+ * @param {string[]} props
599
+ * @param {string[]} children
600
+ * @param {number} length
601
+ * @param {object[]} siblings
602
+ * @return {object}
603
+ */
604
+ function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
605
+ var post = offset - 1;
606
+ var rule = offset === 0 ? rules : [''];
607
+ var size = sizeof(rule);
608
+ 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;
609
+ return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings);
610
+ }
611
+
612
+ /**
613
+ * @param {number} value
614
+ * @param {object} root
615
+ * @param {object?} parent
616
+ * @param {object[]} siblings
617
+ * @return {object}
618
+ */
619
+ function comment(value, root, parent, siblings) {
620
+ return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings);
621
+ }
622
+
623
+ /**
624
+ * @param {string} value
625
+ * @param {object} root
626
+ * @param {object?} parent
627
+ * @param {number} length
628
+ * @param {object[]} siblings
629
+ * @return {object}
630
+ */
631
+ function declaration(value, root, parent, length, siblings) {
632
+ return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings);
633
+ }
634
+
635
+ /**
636
+ * @param {string} value
637
+ * @param {number} length
638
+ * @param {object[]} children
639
+ * @return {string}
640
+ */
641
+ function prefix(value, length, children) {
642
+ switch (hash(value, length)) {
643
+ // color-adjust
644
+ case 5103:
645
+ return WEBKIT + 'print-' + value + value;
646
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
647
+ case 5737:
648
+ case 4201:
649
+ case 3177:
650
+ case 3433:
651
+ case 1641:
652
+ case 4457:
653
+ case 2921:
654
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
655
+ case 5572:
656
+ case 6356:
657
+ case 5844:
658
+ case 3191:
659
+ case 6645:
660
+ case 3005:
661
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
662
+ case 6391:
663
+ case 5879:
664
+ case 5623:
665
+ case 6135:
666
+ case 4599:
667
+ case 4855:
668
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
669
+ case 4215:
670
+ case 6389:
671
+ case 5109:
672
+ case 5365:
673
+ case 5621:
674
+ case 3829:
675
+ return WEBKIT + value + value;
676
+ // tab-size
677
+ case 4789:
678
+ return MOZ + value + value;
679
+ // appearance, user-select, transform, hyphens, text-size-adjust
680
+ case 5349:
681
+ case 4246:
682
+ case 4810:
683
+ case 6968:
684
+ case 2756:
685
+ return WEBKIT + value + MOZ + value + MS + value + value;
686
+ // writing-mode
687
+ case 5936:
688
+ switch (charat(value, length + 11)) {
689
+ // vertical-l(r)
690
+ case 114:
691
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
692
+ // vertical-r(l)
693
+ case 108:
694
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
695
+ // horizontal(-)tb
696
+ case 45:
697
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
698
+ // default: fallthrough to below
699
+ }
700
+ // flex, flex-direction, scroll-snap-type, writing-mode
701
+ case 6828:
702
+ case 4268:
703
+ case 2903:
704
+ return WEBKIT + value + MS + value + value;
705
+ // order
706
+ case 6165:
707
+ return WEBKIT + value + MS + 'flex-' + value + value;
708
+ // align-items
709
+ case 5187:
710
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
711
+ // align-self
712
+ case 5443:
713
+ return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value;
714
+ // align-content
715
+ case 4675:
716
+ return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value;
717
+ // flex-shrink
718
+ case 5548:
719
+ return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
720
+ // flex-basis
721
+ case 5292:
722
+ return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
723
+ // flex-grow
724
+ case 6060:
725
+ return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
726
+ // transition
727
+ case 4554:
728
+ return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
729
+ // cursor
730
+ case 6187:
731
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
732
+ // background, background-image
733
+ case 5495:
734
+ case 3959:
735
+ return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
736
+ // justify-content
737
+ case 4968:
738
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
739
+ // justify-self
740
+ case 4200:
741
+ if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value;
742
+ break;
743
+ // grid-template-(columns|rows)
744
+ case 2592:
745
+ case 3360:
746
+ return MS + replace(value, 'template-', '') + value;
747
+ // grid-(row|column)-start
748
+ case 4384:
749
+ case 3616:
750
+ if (children && children.some(function (element, index) {
751
+ return length = index, match(element.props, /grid-\w+-end/);
752
+ })) {
753
+ 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+/)) + ';';
754
+ }
755
+ return MS + replace(value, '-start', '') + value;
756
+ // grid-(row|column)-end
757
+ case 4896:
758
+ case 4128:
759
+ return children && children.some(function (element) {
760
+ return match(element.props, /grid-\w+-start/);
761
+ }) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value;
762
+ // (margin|padding)-inline-(start|end)
763
+ case 4095:
764
+ case 3583:
765
+ case 4068:
766
+ case 2532:
767
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
768
+ // (min|max)?(width|height|inline-size|block-size)
769
+ case 8116:
770
+ case 7059:
771
+ case 5753:
772
+ case 5535:
773
+ case 5445:
774
+ case 5701:
775
+ case 4933:
776
+ case 4677:
777
+ case 5533:
778
+ case 5789:
779
+ case 5021:
780
+ case 4765:
781
+ // stretch, max-content, min-content, fill-available
782
+ if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
783
+ // (m)ax-content, (m)in-content
784
+ case 109:
785
+ // -
786
+ if (charat(value, length + 4) !== 45) break;
787
+ // (f)ill-available, (f)it-content
788
+ case 102:
789
+ return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
790
+ // (s)tretch
791
+ case 115:
792
+ return ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value;
793
+ }
794
+ break;
795
+ // grid-(column|row)
796
+ case 5152:
797
+ case 5920:
798
+ return replace(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) {
799
+ return MS + a + ':' + b + f + (c ? MS + a + '-span:' + (d ? e : +e - +b) + f : '') + value;
800
+ });
801
+ // position: sticky
802
+ case 4949:
803
+ // stick(y)?
804
+ if (charat(value, length + 6) === 121) return replace(value, ':', ':' + WEBKIT) + value;
805
+ break;
806
+ // display: (flex|inline-flex|grid|inline-grid)
807
+ case 6444:
808
+ switch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {
809
+ // (inline-)?fle(x)
810
+ case 120:
811
+ return replace(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
812
+ // (inline-)?gri(d)
813
+ case 100:
814
+ return replace(value, ':', ':' + MS) + value;
815
+ }
816
+ break;
817
+ // scroll-margin, scroll-margin-(top|right|bottom|left)
818
+ case 5719:
819
+ case 2647:
820
+ case 2135:
821
+ case 3927:
822
+ case 2391:
823
+ return replace(value, 'scroll-', 'scroll-snap-') + value;
658
824
  }
659
- function Z(d, c, e) {
660
- var h = c.charCodeAt(0);
661
- 33 > h && (h = (c = c.trim()).charCodeAt(0));
662
- switch (h) {
663
- case 38:
664
- return c.replace(F, '$1' + d.trim());
665
- case 58:
666
- return d.trim() + c.replace(F, '$1' + d.trim());
667
- default:
668
- if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
669
- }
670
- return d + c;
825
+ return value;
826
+ }
827
+
828
+ /**
829
+ * @param {object[]} children
830
+ * @param {function} callback
831
+ * @return {string}
832
+ */
833
+ function serialize(children, callback) {
834
+ var output = '';
835
+ for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '';
836
+ return output;
837
+ }
838
+
839
+ /**
840
+ * @param {object} element
841
+ * @param {number} index
842
+ * @param {object[]} children
843
+ * @param {function} callback
844
+ * @return {string}
845
+ */
846
+ function stringify(element, index, children, callback) {
847
+ switch (element.type) {
848
+ case LAYER:
849
+ if (element.children.length) break;
850
+ case IMPORT:
851
+ case DECLARATION:
852
+ return element.return = element.return || element.value;
853
+ case COMMENT:
854
+ return '';
855
+ case KEYFRAMES:
856
+ return element.return = element.value + '{' + serialize(element.children, callback) + '}';
857
+ case RULESET:
858
+ if (!strlen(element.value = element.props.join(','))) return '';
671
859
  }
672
- function P(d, c, e, h) {
673
- var a = d + ';',
674
- m = 2 * c + 3 * e + 4 * h;
675
- if (944 === m) {
676
- d = a.indexOf(':', 9) + 1;
677
- var b = a.substring(d, a.length - 1).trim();
678
- b = a.substring(0, d).trim() + b + ';';
679
- return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
680
- }
681
- if (0 === w || 2 === w && !L(a, 1)) return a;
682
- switch (m) {
683
- case 1015:
684
- return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
685
- case 951:
686
- return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
687
- case 963:
688
- return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
689
- case 1009:
690
- if (100 !== a.charCodeAt(4)) break;
691
- case 969:
692
- case 942:
693
- return '-webkit-' + a + a;
694
- case 978:
695
- return '-webkit-' + a + '-moz-' + a + a;
696
- case 1019:
697
- case 983:
698
- return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
699
- case 883:
700
- if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
701
- if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
702
- break;
703
- case 932:
704
- if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
705
- case 103:
706
- return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
707
- case 115:
708
- return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
709
- case 98:
710
- return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
711
- }
712
- return '-webkit-' + a + '-ms-' + a + a;
713
- case 964:
714
- return '-webkit-' + a + '-ms-flex-' + a + a;
715
- case 1023:
716
- if (99 !== a.charCodeAt(8)) break;
717
- b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
718
- return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
719
- case 1005:
720
- return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
721
- case 1e3:
722
- b = a.substring(13).trim();
723
- c = b.indexOf('-') + 1;
724
- switch (b.charCodeAt(0) + b.charCodeAt(c)) {
725
- case 226:
726
- b = a.replace(G, 'tb');
727
- break;
728
- case 232:
729
- b = a.replace(G, 'tb-rl');
730
- break;
731
- case 220:
732
- b = a.replace(G, 'lr');
860
+ return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
861
+ }
862
+
863
+ /**
864
+ * @param {function[]} collection
865
+ * @return {function}
866
+ */
867
+ function middleware(collection) {
868
+ var length = sizeof(collection);
869
+ return function (element, index, children, callback) {
870
+ var output = '';
871
+ for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
872
+ return output;
873
+ };
874
+ }
875
+
876
+ /**
877
+ * @param {function} callback
878
+ * @return {function}
879
+ */
880
+ function rulesheet(callback) {
881
+ return function (element) {
882
+ if (!element.root) if (element = element.return) callback(element);
883
+ };
884
+ }
885
+
886
+ /**
887
+ * @param {object} element
888
+ * @param {number} index
889
+ * @param {object[]} children
890
+ * @param {function} callback
891
+ */
892
+ function prefixer(element, index, children, callback) {
893
+ if (element.length > -1) if (!element.return) switch (element.type) {
894
+ case DECLARATION:
895
+ element.return = prefix(element.value, element.length, children);
896
+ return;
897
+ case KEYFRAMES:
898
+ return serialize([copy(element, {
899
+ value: replace(element.value, '@', '@' + WEBKIT)
900
+ })], callback);
901
+ case RULESET:
902
+ if (element.length) return combine(children = element.props, function (value) {
903
+ switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
904
+ // :read-(only|write)
905
+ case ':read-only':
906
+ case ':read-write':
907
+ lift(copy(element, {
908
+ props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
909
+ }));
910
+ lift(copy(element, {
911
+ props: [value]
912
+ }));
913
+ assign(element, {
914
+ props: filter(children, callback)
915
+ });
733
916
  break;
734
- default:
735
- return a;
736
- }
737
- return '-webkit-' + a + '-ms-' + b + a;
738
- case 1017:
739
- if (-1 === a.indexOf('sticky', 9)) break;
740
- case 975:
741
- c = (a = d).length - 10;
742
- b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
743
- switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
744
- case 203:
745
- if (111 > b.charCodeAt(8)) break;
746
- case 115:
747
- a = a.replace(b, '-webkit-' + b) + ';' + a;
917
+ // :placeholder
918
+ case '::placeholder':
919
+ lift(copy(element, {
920
+ props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
921
+ }));
922
+ lift(copy(element, {
923
+ props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
924
+ }));
925
+ lift(copy(element, {
926
+ props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
927
+ }));
928
+ lift(copy(element, {
929
+ props: [value]
930
+ }));
931
+ assign(element, {
932
+ props: filter(children, callback)
933
+ });
748
934
  break;
749
- case 207:
750
- case 102:
751
- a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
752
935
  }
753
- return a + ';';
754
- case 938:
755
- if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
756
- case 105:
757
- return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
758
- case 115:
759
- return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
760
- default:
761
- return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
762
- }
763
- break;
764
- case 973:
765
- case 989:
766
- if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
767
- case 931:
768
- case 953:
769
- 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;
770
- break;
771
- case 962:
772
- 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;
773
- }
774
- return a;
775
- }
776
- function L(d, c) {
777
- var e = d.indexOf(1 === c ? ':' : '{'),
778
- h = d.substring(0, 3 !== c ? e : 10);
779
- e = d.substring(e + 1, d.length - 1);
780
- return R(2 !== c ? h : h.replace(na, '$1'), e, c);
781
- }
782
- function ea(d, c) {
783
- var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
784
- return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
785
- }
786
- function H(d, c, e, h, a, m, b, v, n, q) {
787
- for (var g = 0, x = c, w; g < A; ++g) {
788
- switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
789
- case void 0:
790
- case !1:
791
- case !0:
792
- case null:
793
- break;
794
- default:
795
- x = w;
796
- }
797
- }
798
- if (x !== c) return x;
799
- }
800
- function T(d) {
801
- switch (d) {
802
- case void 0:
803
- case null:
804
- A = S.length = 0;
805
- break;
806
- default:
807
- if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
808
- T(d[c]);
809
- } else Y = !!d | 0;
810
- }
811
- return T;
812
- }
813
- function U(d) {
814
- d = d.prefix;
815
- void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
816
- return U;
817
- }
818
- function B(d, c) {
819
- var e = d;
820
- 33 > e.charCodeAt(0) && (e = e.trim());
821
- V = e;
822
- e = [V];
823
- if (0 < A) {
824
- var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
825
- void 0 !== h && 'string' === typeof h && (c = h);
826
- }
827
- var a = M(O, e, c, 0, 0);
828
- 0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
829
- V = '';
830
- E = 0;
831
- z = D = 1;
832
- return a;
936
+ return '';
937
+ });
833
938
  }
834
- var ca = /^\0+/g,
835
- N = /[\0\r\f]/g,
836
- aa = /: */g,
837
- ka = /zoo|gra/,
838
- ma = /([,: ])(transform)/g,
839
- ia = /,\r+?/g,
840
- F = /([\t\r\n ])*\f?&/g,
841
- fa = /@(k\w+)\s*(\S*)\s*/,
842
- Q = /::(place)/g,
843
- ha = /:(read-only)/g,
844
- G = /[svh]\w+-[tblr]{2}/,
845
- da = /\(\s*(.*)\s*\)/g,
846
- oa = /([\s\S]*?);/g,
847
- ba = /-self|flex-/g,
848
- na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
849
- la = /stretch|:\s*\w+\-(?:conte|avail)/,
850
- ja = /([^-])(image-set\()/,
851
- z = 1,
852
- D = 1,
853
- E = 0,
854
- w = 1,
855
- O = [],
856
- S = [],
857
- A = 0,
858
- R = null,
859
- Y = 0,
860
- V = '';
861
- B.use = T;
862
- B.set = U;
863
- void 0 !== W && U(W);
864
- return B;
865
939
  }
866
940
 
867
941
  var unitlessKeys = {
@@ -913,1063 +987,686 @@ var unitlessKeys = {
913
987
  strokeWidth: 1
914
988
  };
915
989
 
916
- function memoize(fn) {
917
- var cache = Object.create(null);
918
- return function (arg) {
919
- if (cache[arg] === undefined) cache[arg] = fn(arg);
920
- return cache[arg];
921
- };
922
- }
923
-
924
- 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
925
-
926
- var isPropValid = /* #__PURE__ */memoize(function (prop) {
927
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
928
- /* o */ && prop.charCodeAt(1) === 110
929
- /* n */ && prop.charCodeAt(2) < 91;
930
- }
931
- /* Z+1 */);
932
-
933
- var reactIs$1 = {exports: {}};
934
-
935
- var reactIs_production_min = {};
936
-
937
- /** @license React v16.13.1
938
- * react-is.production.min.js
939
- *
940
- * Copyright (c) Facebook, Inc. and its affiliates.
941
- *
942
- * This source code is licensed under the MIT license found in the
943
- * LICENSE file in the root directory of this source tree.
944
- */
945
- var hasRequiredReactIs_production_min;
946
- function requireReactIs_production_min() {
947
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
948
- hasRequiredReactIs_production_min = 1;
949
- var b = "function" === typeof Symbol && Symbol.for,
950
- c = b ? Symbol.for("react.element") : 60103,
951
- d = b ? Symbol.for("react.portal") : 60106,
952
- e = b ? Symbol.for("react.fragment") : 60107,
953
- f = b ? Symbol.for("react.strict_mode") : 60108,
954
- g = b ? Symbol.for("react.profiler") : 60114,
955
- h = b ? Symbol.for("react.provider") : 60109,
956
- k = b ? Symbol.for("react.context") : 60110,
957
- l = b ? Symbol.for("react.async_mode") : 60111,
958
- m = b ? Symbol.for("react.concurrent_mode") : 60111,
959
- n = b ? Symbol.for("react.forward_ref") : 60112,
960
- p = b ? Symbol.for("react.suspense") : 60113,
961
- q = b ? Symbol.for("react.suspense_list") : 60120,
962
- r = b ? Symbol.for("react.memo") : 60115,
963
- t = b ? Symbol.for("react.lazy") : 60116,
964
- v = b ? Symbol.for("react.block") : 60121,
965
- w = b ? Symbol.for("react.fundamental") : 60117,
966
- x = b ? Symbol.for("react.responder") : 60118,
967
- y = b ? Symbol.for("react.scope") : 60119;
968
- function z(a) {
969
- if ("object" === typeof a && null !== a) {
970
- var u = a.$$typeof;
971
- switch (u) {
972
- case c:
973
- switch (a = a.type, a) {
974
- case l:
975
- case m:
976
- case e:
977
- case g:
978
- case f:
979
- case p:
980
- return a;
981
- default:
982
- switch (a = a && a.$$typeof, a) {
983
- case k:
984
- case n:
985
- case t:
986
- case r:
987
- case h:
988
- return a;
989
- default:
990
- return u;
991
- }
992
- }
993
- case d:
994
- return u;
990
+ var f = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
991
+ m = "active",
992
+ y = "data-styled-version",
993
+ v = "6.1.8",
994
+ g = "/*!sc*/\n",
995
+ S = "undefined" != typeof window && "HTMLElement" in window,
996
+ 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),
997
+ E = /invalid hook call/i,
998
+ N = new Set(),
999
+ P = function (t, n) {
1000
+ if ("production" !== process.env.NODE_ENV) {
1001
+ var o = n ? ' with the id of "'.concat(n, '"') : "",
1002
+ 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.",
1003
+ i = console.error;
1004
+ try {
1005
+ var a = !0;
1006
+ console.error = function (t) {
1007
+ for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1008
+ E.test(t) ? (a = !1, N.delete(s)) : i.apply(void 0, __spreadArray([t], n, !1));
1009
+ }, React.useRef(), a && !N.has(s) && (console.warn(s), N.add(s));
1010
+ } catch (e) {
1011
+ E.test(e.message) && N.delete(s);
1012
+ } finally {
1013
+ console.error = i;
995
1014
  }
996
1015
  }
997
- }
998
- function A(a) {
999
- return z(a) === m;
1000
- }
1001
- reactIs_production_min.AsyncMode = l;
1002
- reactIs_production_min.ConcurrentMode = m;
1003
- reactIs_production_min.ContextConsumer = k;
1004
- reactIs_production_min.ContextProvider = h;
1005
- reactIs_production_min.Element = c;
1006
- reactIs_production_min.ForwardRef = n;
1007
- reactIs_production_min.Fragment = e;
1008
- reactIs_production_min.Lazy = t;
1009
- reactIs_production_min.Memo = r;
1010
- reactIs_production_min.Portal = d;
1011
- reactIs_production_min.Profiler = g;
1012
- reactIs_production_min.StrictMode = f;
1013
- reactIs_production_min.Suspense = p;
1014
- reactIs_production_min.isAsyncMode = function (a) {
1015
- return A(a) || z(a) === l;
1016
- };
1017
- reactIs_production_min.isConcurrentMode = A;
1018
- reactIs_production_min.isContextConsumer = function (a) {
1019
- return z(a) === k;
1020
- };
1021
- reactIs_production_min.isContextProvider = function (a) {
1022
- return z(a) === h;
1023
- };
1024
- reactIs_production_min.isElement = function (a) {
1025
- return "object" === typeof a && null !== a && a.$$typeof === c;
1026
- };
1027
- reactIs_production_min.isForwardRef = function (a) {
1028
- return z(a) === n;
1029
- };
1030
- reactIs_production_min.isFragment = function (a) {
1031
- return z(a) === e;
1032
- };
1033
- reactIs_production_min.isLazy = function (a) {
1034
- return z(a) === t;
1035
- };
1036
- reactIs_production_min.isMemo = function (a) {
1037
- return z(a) === r;
1038
- };
1039
- reactIs_production_min.isPortal = function (a) {
1040
- return z(a) === d;
1041
- };
1042
- reactIs_production_min.isProfiler = function (a) {
1043
- return z(a) === g;
1044
- };
1045
- reactIs_production_min.isStrictMode = function (a) {
1046
- return z(a) === f;
1047
- };
1048
- reactIs_production_min.isSuspense = function (a) {
1049
- return z(a) === p;
1016
+ },
1017
+ _ = Object.freeze([]),
1018
+ C = Object.freeze({});
1019
+ function I(e, t, n) {
1020
+ return void 0 === n && (n = C), e.theme !== n.theme && e.theme || t || n.theme;
1021
+ }
1022
+ 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"]),
1023
+ O = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
1024
+ D = /(^-|-$)/g;
1025
+ function R(e) {
1026
+ return e.replace(O, "-").replace(D, "");
1027
+ }
1028
+ var T = /(a)(d)/gi,
1029
+ k = 52,
1030
+ j = function (e) {
1031
+ return String.fromCharCode(e + (e > 25 ? 39 : 97));
1050
1032
  };
1051
- reactIs_production_min.isValidElementType = function (a) {
1052
- 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);
1033
+ function x(e) {
1034
+ var t,
1035
+ n = "";
1036
+ for (t = Math.abs(e); t > k; t = t / k | 0) n = j(t % k) + n;
1037
+ return (j(t % k) + n).replace(T, "$1-$2");
1038
+ }
1039
+ var V,
1040
+ F = 5381,
1041
+ M = function (e, t) {
1042
+ for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
1043
+ return e;
1044
+ },
1045
+ z = function (e) {
1046
+ return M(F, e);
1053
1047
  };
1054
- reactIs_production_min.typeOf = z;
1055
- return reactIs_production_min;
1048
+ function $(e) {
1049
+ return x(z(e) >>> 0);
1056
1050
  }
1057
-
1058
- var reactIs_development = {};
1059
-
1060
- /** @license React v16.13.1
1061
- * react-is.development.js
1062
- *
1063
- * Copyright (c) Facebook, Inc. and its affiliates.
1064
- *
1065
- * This source code is licensed under the MIT license found in the
1066
- * LICENSE file in the root directory of this source tree.
1067
- */
1068
- var hasRequiredReactIs_development;
1069
- function requireReactIs_development() {
1070
- if (hasRequiredReactIs_development) return reactIs_development;
1071
- hasRequiredReactIs_development = 1;
1072
- if (process.env.NODE_ENV !== "production") {
1073
- (function () {
1074
-
1075
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1076
- // nor polyfill, then a plain number is used for performance.
1077
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
1078
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
1079
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
1080
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
1081
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
1082
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
1083
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
1084
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
1085
- // (unstable) APIs that have been removed. Can we remove the symbols?
1086
-
1087
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
1088
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
1089
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
1090
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
1091
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
1092
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
1093
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
1094
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
1095
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
1096
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
1097
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
1098
- function isValidElementType(type) {
1099
- return typeof type === 'string' || typeof type === 'function' ||
1100
- // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1101
- 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);
1102
- }
1103
- function typeOf(object) {
1104
- if (typeof object === 'object' && object !== null) {
1105
- var $$typeof = object.$$typeof;
1106
- switch ($$typeof) {
1107
- case REACT_ELEMENT_TYPE:
1108
- var type = object.type;
1109
- switch (type) {
1110
- case REACT_ASYNC_MODE_TYPE:
1111
- case REACT_CONCURRENT_MODE_TYPE:
1112
- case REACT_FRAGMENT_TYPE:
1113
- case REACT_PROFILER_TYPE:
1114
- case REACT_STRICT_MODE_TYPE:
1115
- case REACT_SUSPENSE_TYPE:
1116
- return type;
1117
- default:
1118
- var $$typeofType = type && type.$$typeof;
1119
- switch ($$typeofType) {
1120
- case REACT_CONTEXT_TYPE:
1121
- case REACT_FORWARD_REF_TYPE:
1122
- case REACT_LAZY_TYPE:
1123
- case REACT_MEMO_TYPE:
1124
- case REACT_PROVIDER_TYPE:
1125
- return $$typeofType;
1126
- default:
1127
- return $$typeof;
1128
- }
1129
- }
1130
- case REACT_PORTAL_TYPE:
1131
- return $$typeof;
1132
- }
1133
- }
1134
- return undefined;
1135
- } // AsyncMode is deprecated along with isAsyncMode
1136
-
1137
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
1138
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1139
- var ContextConsumer = REACT_CONTEXT_TYPE;
1140
- var ContextProvider = REACT_PROVIDER_TYPE;
1141
- var Element = REACT_ELEMENT_TYPE;
1142
- var ForwardRef = REACT_FORWARD_REF_TYPE;
1143
- var Fragment = REACT_FRAGMENT_TYPE;
1144
- var Lazy = REACT_LAZY_TYPE;
1145
- var Memo = REACT_MEMO_TYPE;
1146
- var Portal = REACT_PORTAL_TYPE;
1147
- var Profiler = REACT_PROFILER_TYPE;
1148
- var StrictMode = REACT_STRICT_MODE_TYPE;
1149
- var Suspense = REACT_SUSPENSE_TYPE;
1150
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
1151
-
1152
- function isAsyncMode(object) {
1153
- {
1154
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1155
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
1156
-
1157
- 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.');
1158
- }
1159
- }
1160
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1161
- }
1162
- function isConcurrentMode(object) {
1163
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1164
- }
1165
- function isContextConsumer(object) {
1166
- return typeOf(object) === REACT_CONTEXT_TYPE;
1167
- }
1168
- function isContextProvider(object) {
1169
- return typeOf(object) === REACT_PROVIDER_TYPE;
1170
- }
1171
- function isElement(object) {
1172
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1173
- }
1174
- function isForwardRef(object) {
1175
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
1176
- }
1177
- function isFragment(object) {
1178
- return typeOf(object) === REACT_FRAGMENT_TYPE;
1179
- }
1180
- function isLazy(object) {
1181
- return typeOf(object) === REACT_LAZY_TYPE;
1182
- }
1183
- function isMemo(object) {
1184
- return typeOf(object) === REACT_MEMO_TYPE;
1185
- }
1186
- function isPortal(object) {
1187
- return typeOf(object) === REACT_PORTAL_TYPE;
1188
- }
1189
- function isProfiler(object) {
1190
- return typeOf(object) === REACT_PROFILER_TYPE;
1191
- }
1192
- function isStrictMode(object) {
1193
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
1194
- }
1195
- function isSuspense(object) {
1196
- return typeOf(object) === REACT_SUSPENSE_TYPE;
1197
- }
1198
- reactIs_development.AsyncMode = AsyncMode;
1199
- reactIs_development.ConcurrentMode = ConcurrentMode;
1200
- reactIs_development.ContextConsumer = ContextConsumer;
1201
- reactIs_development.ContextProvider = ContextProvider;
1202
- reactIs_development.Element = Element;
1203
- reactIs_development.ForwardRef = ForwardRef;
1204
- reactIs_development.Fragment = Fragment;
1205
- reactIs_development.Lazy = Lazy;
1206
- reactIs_development.Memo = Memo;
1207
- reactIs_development.Portal = Portal;
1208
- reactIs_development.Profiler = Profiler;
1209
- reactIs_development.StrictMode = StrictMode;
1210
- reactIs_development.Suspense = Suspense;
1211
- reactIs_development.isAsyncMode = isAsyncMode;
1212
- reactIs_development.isConcurrentMode = isConcurrentMode;
1213
- reactIs_development.isContextConsumer = isContextConsumer;
1214
- reactIs_development.isContextProvider = isContextProvider;
1215
- reactIs_development.isElement = isElement;
1216
- reactIs_development.isForwardRef = isForwardRef;
1217
- reactIs_development.isFragment = isFragment;
1218
- reactIs_development.isLazy = isLazy;
1219
- reactIs_development.isMemo = isMemo;
1220
- reactIs_development.isPortal = isPortal;
1221
- reactIs_development.isProfiler = isProfiler;
1222
- reactIs_development.isStrictMode = isStrictMode;
1223
- reactIs_development.isSuspense = isSuspense;
1224
- reactIs_development.isValidElementType = isValidElementType;
1225
- reactIs_development.typeOf = typeOf;
1226
- })();
1227
- }
1228
- return reactIs_development;
1051
+ function B(e) {
1052
+ return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
1229
1053
  }
1230
-
1231
- if (process.env.NODE_ENV === 'production') {
1232
- reactIs$1.exports = requireReactIs_production_min();
1233
- } else {
1234
- reactIs$1.exports = requireReactIs_development();
1054
+ function L(e) {
1055
+ return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
1235
1056
  }
1236
- var reactIsExports = reactIs$1.exports;
1237
-
1238
- var reactIs = reactIsExports;
1239
-
1240
- /**
1241
- * Copyright 2015, Yahoo! Inc.
1242
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
1243
- */
1244
- var REACT_STATICS = {
1245
- childContextTypes: true,
1246
- contextType: true,
1247
- contextTypes: true,
1248
- defaultProps: true,
1249
- displayName: true,
1250
- getDefaultProps: true,
1251
- getDerivedStateFromError: true,
1252
- getDerivedStateFromProps: true,
1253
- mixins: true,
1254
- propTypes: true,
1255
- type: true
1256
- };
1257
- var KNOWN_STATICS = {
1258
- name: true,
1259
- length: true,
1260
- prototype: true,
1261
- caller: true,
1262
- callee: true,
1263
- arguments: true,
1264
- arity: true
1265
- };
1266
- var FORWARD_REF_STATICS = {
1267
- '$$typeof': true,
1268
- render: true,
1269
- defaultProps: true,
1270
- displayName: true,
1271
- propTypes: true
1272
- };
1273
- var MEMO_STATICS = {
1274
- '$$typeof': true,
1275
- compare: true,
1276
- defaultProps: true,
1277
- displayName: true,
1278
- propTypes: true,
1279
- type: true
1280
- };
1281
- var TYPE_STATICS = {};
1282
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1283
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1284
- function getStatics(component) {
1285
- // React v16.11 and below
1286
- if (reactIs.isMemo(component)) {
1287
- return MEMO_STATICS;
1288
- } // React v16.12 and above
1289
-
1290
- return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
1057
+ var G = "function" == typeof Symbol && Symbol.for,
1058
+ Y = G ? Symbol.for("react.memo") : 60115,
1059
+ q = G ? Symbol.for("react.forward_ref") : 60112,
1060
+ W = {
1061
+ childContextTypes: !0,
1062
+ contextType: !0,
1063
+ contextTypes: !0,
1064
+ defaultProps: !0,
1065
+ displayName: !0,
1066
+ getDefaultProps: !0,
1067
+ getDerivedStateFromError: !0,
1068
+ getDerivedStateFromProps: !0,
1069
+ mixins: !0,
1070
+ propTypes: !0,
1071
+ type: !0
1072
+ },
1073
+ H = {
1074
+ name: !0,
1075
+ length: !0,
1076
+ prototype: !0,
1077
+ caller: !0,
1078
+ callee: !0,
1079
+ arguments: !0,
1080
+ arity: !0
1081
+ },
1082
+ U = {
1083
+ $$typeof: !0,
1084
+ compare: !0,
1085
+ defaultProps: !0,
1086
+ displayName: !0,
1087
+ propTypes: !0,
1088
+ type: !0
1089
+ },
1090
+ J = ((V = {})[q] = {
1091
+ $$typeof: !0,
1092
+ render: !0,
1093
+ defaultProps: !0,
1094
+ displayName: !0,
1095
+ propTypes: !0
1096
+ }, V[Y] = U, V);
1097
+ function X(e) {
1098
+ return ("type" in (t = e) && t.type.$$typeof) === Y ? U : "$$typeof" in e ? J[e.$$typeof] : W;
1099
+ var t;
1291
1100
  }
1292
- var defineProperty = Object.defineProperty;
1293
- var getOwnPropertyNames = Object.getOwnPropertyNames;
1294
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1295
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1296
- var getPrototypeOf = Object.getPrototypeOf;
1297
- var objectPrototype = Object.prototype;
1298
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
1299
- if (typeof sourceComponent !== 'string') {
1300
- // don't hoist over string (html) components
1301
- if (objectPrototype) {
1302
- var inheritedComponent = getPrototypeOf(sourceComponent);
1303
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
1304
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
1305
- }
1306
- }
1307
- var keys = getOwnPropertyNames(sourceComponent);
1308
- if (getOwnPropertySymbols) {
1309
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
1101
+ var Z = Object.defineProperty,
1102
+ K = Object.getOwnPropertyNames,
1103
+ Q = Object.getOwnPropertySymbols,
1104
+ ee = Object.getOwnPropertyDescriptor,
1105
+ te = Object.getPrototypeOf,
1106
+ ne = Object.prototype;
1107
+ function oe(e, t, n) {
1108
+ if ("string" != typeof t) {
1109
+ if (ne) {
1110
+ var o = te(t);
1111
+ o && o !== ne && oe(e, o, n);
1310
1112
  }
1311
- var targetStatics = getStatics(targetComponent);
1312
- var sourceStatics = getStatics(sourceComponent);
1313
- for (var i = 0; i < keys.length; ++i) {
1314
- var key = keys[i];
1315
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
1316
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
1113
+ var r = K(t);
1114
+ Q && (r = r.concat(Q(t)));
1115
+ for (var s = X(e), i = X(t), a = 0; a < r.length; ++a) {
1116
+ var c = r[a];
1117
+ if (!(c in H || n && n[c] || i && c in i || s && c in s)) {
1118
+ var l = ee(t, c);
1317
1119
  try {
1318
- // Avoid failures from read-only properties
1319
- defineProperty(targetComponent, key, descriptor);
1120
+ Z(e, c, l);
1320
1121
  } catch (e) {}
1321
1122
  }
1322
1123
  }
1323
1124
  }
1324
- return targetComponent;
1325
- }
1326
- var hoistNonReactStatics_cjs = hoistNonReactStatics;
1327
- var m = /*@__PURE__*/getDefaultExportFromCjs(hoistNonReactStatics_cjs);
1328
-
1329
- function y() {
1330
- return (y = Object.assign || function (e) {
1331
- for (var t = 1; t < arguments.length; t++) {
1332
- var n = arguments[t];
1333
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
1334
- }
1335
- return e;
1336
- }).apply(this, arguments);
1125
+ return e;
1337
1126
  }
1338
- var v = function (e, t) {
1339
- for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
1340
- return n;
1341
- },
1342
- g = function (t) {
1343
- return null !== t && "object" == typeof t && "[object Object]" === (t.toString ? t.toString() : Object.prototype.toString.call(t)) && !reactIsExports$1.typeOf(t);
1344
- },
1345
- S = Object.freeze([]),
1346
- w = Object.freeze({});
1347
- function E(e) {
1127
+ function re(e) {
1348
1128
  return "function" == typeof e;
1349
1129
  }
1350
- function b(e) {
1351
- return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
1130
+ function se(e) {
1131
+ return "object" == typeof e && "styledComponentId" in e;
1132
+ }
1133
+ function ie(e, t) {
1134
+ return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1135
+ }
1136
+ function ae(e, t) {
1137
+ if (0 === e.length) return "";
1138
+ for (var n = e[0], o = 1; o < e.length; o++) n += t ? t + e[o] : e[o];
1139
+ return n;
1352
1140
  }
1353
- function _(e) {
1354
- return e && "string" == typeof e.styledComponentId;
1141
+ function ce(e) {
1142
+ return null !== e && "object" == typeof e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
1143
+ }
1144
+ function le(e, t, n) {
1145
+ if (void 0 === n && (n = !1), !n && !ce(e) && !Array.isArray(e)) return t;
1146
+ 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]);
1147
+ return e;
1148
+ }
1149
+ function ue(e, t) {
1150
+ Object.defineProperty(e, "toString", {
1151
+ value: t
1152
+ });
1355
1153
  }
1356
- var N = "undefined" != typeof process && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
1357
- C = "undefined" != typeof window && "HTMLElement" in window,
1358
- 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),
1359
- O = "production" !== process.env.NODE_ENV ? {
1360
- 1: "Cannot create styled-component for component: %s.\n\n",
1361
- 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",
1362
- 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
1363
- 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",
1364
- 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",
1365
- 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",
1366
- 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
1367
- 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
1368
- 9: "Missing document `<head>`\n\n",
1369
- 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",
1370
- 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",
1371
- 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",
1372
- 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",
1373
- 14: 'ThemeProvider: "theme" prop is required.\n\n',
1374
- 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",
1375
- 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",
1376
- 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"
1377
- } : {};
1378
- function R() {
1379
- 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]);
1380
- return t.forEach(function (t) {
1381
- e = e.replace(/%[a-z]/, t);
1382
- }), e;
1154
+ var pe = "production" !== process.env.NODE_ENV ? {
1155
+ 1: "Cannot create styled-component for component: %s.\n\n",
1156
+ 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",
1157
+ 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
1158
+ 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",
1159
+ 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",
1160
+ 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",
1161
+ 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
1162
+ 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
1163
+ 9: "Missing document `<head>`\n\n",
1164
+ 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",
1165
+ 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",
1166
+ 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",
1167
+ 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",
1168
+ 14: 'ThemeProvider: "theme" prop is required.\n\n',
1169
+ 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",
1170
+ 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",
1171
+ 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
1172
+ 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
1173
+ } : {};
1174
+ function de() {
1175
+ for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1176
+ for (var n = e[0], o = [], r = 1, s = e.length; r < s; r += 1) o.push(e[r]);
1177
+ return o.forEach(function (e) {
1178
+ n = n.replace(/%[a-z]/, e);
1179
+ }), n;
1383
1180
  }
1384
- function D(e) {
1385
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1386
- 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());
1181
+ function he(t) {
1182
+ for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1183
+ 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());
1387
1184
  }
1388
- var j = function () {
1185
+ var fe = function () {
1389
1186
  function e(e) {
1390
1187
  this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
1391
1188
  }
1392
- var t = e.prototype;
1393
- return t.indexOfGroup = function (e) {
1189
+ return e.prototype.indexOfGroup = function (e) {
1394
1190
  for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
1395
1191
  return t;
1396
- }, t.insertRules = function (e, t) {
1192
+ }, e.prototype.insertRules = function (e, t) {
1397
1193
  if (e >= this.groupSizes.length) {
1398
- for (var n = this.groupSizes, r = n.length, o = r; e >= o;) (o <<= 1) < 0 && D(16, "" + e);
1399
- this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
1400
- for (var s = r; s < o; s++) this.groupSizes[s] = 0;
1194
+ for (var n = this.groupSizes, o = n.length, r = o; e >= r;) if ((r <<= 1) < 0) throw he(16, "".concat(e));
1195
+ this.groupSizes = new Uint32Array(r), this.groupSizes.set(n), this.length = r;
1196
+ for (var s = o; s < r; s++) this.groupSizes[s] = 0;
1401
1197
  }
1402
- 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++);
1403
- }, t.clearGroup = function (e) {
1198
+ 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++);
1199
+ }, e.prototype.clearGroup = function (e) {
1404
1200
  if (e < this.length) {
1405
1201
  var t = this.groupSizes[e],
1406
1202
  n = this.indexOfGroup(e),
1407
- r = n + t;
1203
+ o = n + t;
1408
1204
  this.groupSizes[e] = 0;
1409
- for (var o = n; o < r; o++) this.tag.deleteRule(n);
1205
+ for (var r = n; r < o; r++) this.tag.deleteRule(n);
1410
1206
  }
1411
- }, t.getGroup = function (e) {
1207
+ }, e.prototype.getGroup = function (e) {
1412
1208
  var t = "";
1413
1209
  if (e >= this.length || 0 === this.groupSizes[e]) return t;
1414
- 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";
1210
+ 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);
1415
1211
  return t;
1416
1212
  }, e;
1417
1213
  }(),
1418
- T = new Map(),
1419
- x = new Map(),
1420
- k = 1,
1421
- V = function (e) {
1422
- if (T.has(e)) return T.get(e);
1423
- for (; x.has(k);) k++;
1424
- var t = k++;
1425
- return "production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1 << 30) && D(16, "" + t), T.set(e, t), x.set(t, e), t;
1214
+ me = new Map(),
1215
+ ye = new Map(),
1216
+ ve = 1,
1217
+ ge = function (e) {
1218
+ if (me.has(e)) return me.get(e);
1219
+ for (; ye.has(ve);) ve++;
1220
+ var t = ve++;
1221
+ if ("production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1073741824)) throw he(16, "".concat(t));
1222
+ return me.set(e, t), ye.set(t, e), t;
1426
1223
  },
1427
- z = function (e) {
1428
- return x.get(e);
1429
- },
1430
- B = function (e, t) {
1431
- t >= k && (k = t + 1), T.set(e, t), x.set(t, e);
1224
+ Se = function (e, t) {
1225
+ ve = t + 1, me.set(e, t), ye.set(t, e);
1432
1226
  },
1433
- M = "style[" + N + '][data-styled-version="5.3.6"]',
1434
- G = new RegExp("^" + N + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
1435
- L = function (e, t, n) {
1436
- for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
1227
+ we = "style[".concat(f, "][").concat(y, '="').concat(v, '"]'),
1228
+ be = new RegExp("^".concat(f, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),
1229
+ Ee = function (e, t, n) {
1230
+ for (var o, r = n.split(","), s = 0, i = r.length; s < i; s++) (o = r[s]) && e.registerName(t, o);
1437
1231
  },
1438
- F = function (e, t) {
1439
- for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], o = 0, s = n.length; o < s; o++) {
1440
- var i = n[o].trim();
1441
- if (i) {
1442
- var a = i.match(G);
1443
- if (a) {
1444
- var c = 0 | parseInt(a[1], 10),
1445
- u = a[2];
1446
- 0 !== c && (B(u, c), L(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0;
1447
- } else r.push(i);
1232
+ Ne = function (e, t) {
1233
+ for (var n, o = (null !== (n = t.textContent) && void 0 !== n ? n : "").split(g), r = [], s = 0, i = o.length; s < i; s++) {
1234
+ var a = o[s].trim();
1235
+ if (a) {
1236
+ var c = a.match(be);
1237
+ if (c) {
1238
+ var l = 0 | parseInt(c[1], 10),
1239
+ u = c[2];
1240
+ 0 !== l && (Se(u, l), Ee(e, u, c[3]), e.getTag().insertRules(l, r)), r.length = 0;
1241
+ } else r.push(a);
1448
1242
  }
1449
1243
  }
1450
- },
1451
- Y = function () {
1452
- return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
1453
- },
1454
- q = function (e) {
1244
+ };
1245
+ function Pe() {
1246
+ return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
1247
+ }
1248
+ var _e = function (e) {
1455
1249
  var t = document.head,
1456
1250
  n = e || t,
1457
- r = document.createElement("style"),
1458
- o = function (e) {
1459
- for (var t = e.childNodes, n = t.length; n >= 0; n--) {
1460
- var r = t[n];
1461
- if (r && 1 === r.nodeType && r.hasAttribute(N)) return r;
1462
- }
1251
+ o = document.createElement("style"),
1252
+ r = function (e) {
1253
+ var t = Array.from(e.querySelectorAll("style[".concat(f, "]")));
1254
+ return t[t.length - 1];
1463
1255
  }(n),
1464
- s = void 0 !== o ? o.nextSibling : null;
1465
- r.setAttribute(N, "active"), r.setAttribute("data-styled-version", "5.3.6");
1466
- var i = Y();
1467
- return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
1256
+ s = void 0 !== r ? r.nextSibling : null;
1257
+ o.setAttribute(f, m), o.setAttribute(y, v);
1258
+ var i = Pe();
1259
+ return i && o.setAttribute("nonce", i), n.insertBefore(o, s), o;
1468
1260
  },
1469
- H = function () {
1261
+ Ce = function () {
1470
1262
  function e(e) {
1471
- var t = this.element = q(e);
1472
- t.appendChild(document.createTextNode("")), this.sheet = function (e) {
1263
+ this.element = _e(e), this.element.appendChild(document.createTextNode("")), this.sheet = function (e) {
1473
1264
  if (e.sheet) return e.sheet;
1474
- for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
1475
- var o = t[n];
1476
- if (o.ownerNode === e) return o;
1265
+ for (var t = document.styleSheets, n = 0, o = t.length; n < o; n++) {
1266
+ var r = t[n];
1267
+ if (r.ownerNode === e) return r;
1477
1268
  }
1478
- D(17);
1479
- }(t), this.length = 0;
1269
+ throw he(17);
1270
+ }(this.element), this.length = 0;
1480
1271
  }
1481
- var t = e.prototype;
1482
- return t.insertRule = function (e, t) {
1272
+ return e.prototype.insertRule = function (e, t) {
1483
1273
  try {
1484
1274
  return this.sheet.insertRule(t, e), this.length++, !0;
1485
1275
  } catch (e) {
1486
1276
  return !1;
1487
1277
  }
1488
- }, t.deleteRule = function (e) {
1278
+ }, e.prototype.deleteRule = function (e) {
1489
1279
  this.sheet.deleteRule(e), this.length--;
1490
- }, t.getRule = function (e) {
1280
+ }, e.prototype.getRule = function (e) {
1491
1281
  var t = this.sheet.cssRules[e];
1492
- return void 0 !== t && "string" == typeof t.cssText ? t.cssText : "";
1282
+ return t && t.cssText ? t.cssText : "";
1493
1283
  }, e;
1494
1284
  }(),
1495
- $ = function () {
1285
+ Ie = function () {
1496
1286
  function e(e) {
1497
- var t = this.element = q(e);
1498
- this.nodes = t.childNodes, this.length = 0;
1287
+ this.element = _e(e), this.nodes = this.element.childNodes, this.length = 0;
1499
1288
  }
1500
- var t = e.prototype;
1501
- return t.insertRule = function (e, t) {
1289
+ return e.prototype.insertRule = function (e, t) {
1502
1290
  if (e <= this.length && e >= 0) {
1503
- var n = document.createTextNode(t),
1504
- r = this.nodes[e];
1505
- return this.element.insertBefore(n, r || null), this.length++, !0;
1291
+ var n = document.createTextNode(t);
1292
+ return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
1506
1293
  }
1507
1294
  return !1;
1508
- }, t.deleteRule = function (e) {
1295
+ }, e.prototype.deleteRule = function (e) {
1509
1296
  this.element.removeChild(this.nodes[e]), this.length--;
1510
- }, t.getRule = function (e) {
1297
+ }, e.prototype.getRule = function (e) {
1511
1298
  return e < this.length ? this.nodes[e].textContent : "";
1512
1299
  }, e;
1513
1300
  }(),
1514
- W = function () {
1301
+ Ae = function () {
1515
1302
  function e(e) {
1516
1303
  this.rules = [], this.length = 0;
1517
1304
  }
1518
- var t = e.prototype;
1519
- return t.insertRule = function (e, t) {
1305
+ return e.prototype.insertRule = function (e, t) {
1520
1306
  return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
1521
- }, t.deleteRule = function (e) {
1307
+ }, e.prototype.deleteRule = function (e) {
1522
1308
  this.rules.splice(e, 1), this.length--;
1523
- }, t.getRule = function (e) {
1309
+ }, e.prototype.getRule = function (e) {
1524
1310
  return e < this.length ? this.rules[e] : "";
1525
1311
  }, e;
1526
1312
  }(),
1527
- U = C,
1528
- J = {
1529
- isServer: !C,
1530
- useCSSOMInjection: !I
1313
+ Oe = S,
1314
+ De = {
1315
+ isServer: !S,
1316
+ useCSSOMInjection: !w
1531
1317
  },
1532
- X = function () {
1533
- function e(e, t, n) {
1534
- 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) {
1535
- for (var t = document.querySelectorAll(M), n = 0, r = t.length; n < r; n++) {
1536
- var o = t[n];
1537
- o && "active" !== o.getAttribute(N) && (F(e, o), o.parentNode && o.parentNode.removeChild(o));
1318
+ Re = function () {
1319
+ function e(e, n, o) {
1320
+ void 0 === e && (e = C), void 0 === n && (n = {});
1321
+ var r = this;
1322
+ 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) {
1323
+ for (var t = document.querySelectorAll(we), n = 0, o = t.length; n < o; n++) {
1324
+ var r = t[n];
1325
+ r && r.getAttribute(f) !== m && (Ne(e, r), r.parentNode && r.parentNode.removeChild(r));
1538
1326
  }
1539
- }(this));
1327
+ }(this)), ue(this, function () {
1328
+ return function (e) {
1329
+ for (var t = e.getTag(), n = t.length, o = "", r = function (n) {
1330
+ var r = function (e) {
1331
+ return ye.get(e);
1332
+ }(n);
1333
+ if (void 0 === r) return "continue";
1334
+ var s = e.names.get(r),
1335
+ i = t.getGroup(n);
1336
+ if (void 0 === s || 0 === i.length) return "continue";
1337
+ var a = "".concat(f, ".g").concat(n, '[id="').concat(r, '"]'),
1338
+ c = "";
1339
+ void 0 !== s && s.forEach(function (e) {
1340
+ e.length > 0 && (c += "".concat(e, ","));
1341
+ }), o += "".concat(i).concat(a, '{content:"').concat(c, '"}').concat(g);
1342
+ }, s = 0; s < n; s++) r(s);
1343
+ return o;
1344
+ }(r);
1345
+ });
1540
1346
  }
1541
- e.registerId = function (e) {
1542
- return V(e);
1543
- };
1544
- var t = e.prototype;
1545
- return t.reconstructWithOptions = function (t, n) {
1546
- return void 0 === n && (n = !0), new e(y({}, this.options, {}, t), this.gs, n && this.names || void 0);
1547
- }, t.allocateGSInstance = function (e) {
1347
+ return e.registerId = function (e) {
1348
+ return ge(e);
1349
+ }, e.prototype.reconstructWithOptions = function (n, o) {
1350
+ return void 0 === o && (o = !0), new e(__assign(__assign({}, this.options), n), this.gs, o && this.names || void 0);
1351
+ }, e.prototype.allocateGSInstance = function (e) {
1548
1352
  return this.gs[e] = (this.gs[e] || 0) + 1;
1549
- }, t.getTag = function () {
1550
- 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)));
1551
- var e, t, n, r, o;
1552
- }, t.hasNameForId = function (e, t) {
1353
+ }, e.prototype.getTag = function () {
1354
+ return this.tag || (this.tag = (e = function (e) {
1355
+ var t = e.useCSSOMInjection,
1356
+ n = e.target;
1357
+ return e.isServer ? new Ae(n) : t ? new Ce(n) : new Ie(n);
1358
+ }(this.options), new fe(e)));
1359
+ var e;
1360
+ }, e.prototype.hasNameForId = function (e, t) {
1553
1361
  return this.names.has(e) && this.names.get(e).has(t);
1554
- }, t.registerName = function (e, t) {
1555
- if (V(e), this.names.has(e)) this.names.get(e).add(t);else {
1362
+ }, e.prototype.registerName = function (e, t) {
1363
+ if (ge(e), this.names.has(e)) this.names.get(e).add(t);else {
1556
1364
  var n = new Set();
1557
1365
  n.add(t), this.names.set(e, n);
1558
1366
  }
1559
- }, t.insertRules = function (e, t, n) {
1560
- this.registerName(e, t), this.getTag().insertRules(V(e), n);
1561
- }, t.clearNames = function (e) {
1367
+ }, e.prototype.insertRules = function (e, t, n) {
1368
+ this.registerName(e, t), this.getTag().insertRules(ge(e), n);
1369
+ }, e.prototype.clearNames = function (e) {
1562
1370
  this.names.has(e) && this.names.get(e).clear();
1563
- }, t.clearRules = function (e) {
1564
- this.getTag().clearGroup(V(e)), this.clearNames(e);
1565
- }, t.clearTag = function () {
1371
+ }, e.prototype.clearRules = function (e) {
1372
+ this.getTag().clearGroup(ge(e)), this.clearNames(e);
1373
+ }, e.prototype.clearTag = function () {
1566
1374
  this.tag = void 0;
1567
- }, t.toString = function () {
1568
- return function (e) {
1569
- for (var t = e.getTag(), n = t.length, r = "", o = 0; o < n; o++) {
1570
- var s = z(o);
1571
- if (void 0 !== s) {
1572
- var i = e.names.get(s),
1573
- a = t.getGroup(o);
1574
- if (i && a && i.size) {
1575
- var c = N + ".g" + o + '[id="' + s + '"]',
1576
- u = "";
1577
- void 0 !== i && i.forEach(function (e) {
1578
- e.length > 0 && (u += e + ",");
1579
- }), r += "" + a + c + '{content:"' + u + '"}/*!sc*/\n';
1580
- }
1581
- }
1582
- }
1583
- return r;
1584
- }(this);
1585
1375
  }, e;
1586
1376
  }(),
1587
- Z = /(a)(d)/gi,
1588
- K = function (e) {
1589
- return String.fromCharCode(e + (e > 25 ? 39 : 97));
1590
- };
1591
- function Q(e) {
1377
+ Te = /&/g,
1378
+ ke = /^\s*\/\/.*$/gm;
1379
+ function je(e, t) {
1380
+ return e.map(function (e) {
1381
+ 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) {
1382
+ return "".concat(t, " ").concat(e);
1383
+ })), Array.isArray(e.children) && "@keyframes" !== e.type && (e.children = je(e.children, t)), e;
1384
+ });
1385
+ }
1386
+ function xe(e) {
1592
1387
  var t,
1593
- n = "";
1594
- for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = K(t % 52) + n;
1595
- return (K(t % 52) + n).replace(Z, "$1-$2");
1388
+ n,
1389
+ o,
1390
+ r = void 0 === e ? C : e,
1391
+ s = r.options,
1392
+ i = void 0 === s ? C : s,
1393
+ a = r.plugins,
1394
+ c = void 0 === a ? _ : a,
1395
+ l = function (e, o, r) {
1396
+ return r.startsWith(n) && r.endsWith(n) && r.replaceAll(n, "").length > 0 ? ".".concat(t) : e;
1397
+ },
1398
+ u = c.slice();
1399
+ u.push(function (e) {
1400
+ e.type === RULESET && e.value.includes("&") && (e.props[0] = e.props[0].replace(Te, n).replace(o, l));
1401
+ }), i.prefix && u.push(prefixer), u.push(stringify);
1402
+ var p = function (e, r, s, a) {
1403
+ void 0 === r && (r = ""), void 0 === s && (s = ""), void 0 === a && (a = "&"), t = a, n = r, o = new RegExp("\\".concat(n, "\\b"), "g");
1404
+ var c = e.replace(ke, ""),
1405
+ l = compile(s || r ? "".concat(s, " ").concat(r, " { ").concat(c, " }") : c);
1406
+ i.namespace && (l = je(l, i.namespace));
1407
+ var p = [];
1408
+ return serialize(l, middleware(u.concat(rulesheet(function (e) {
1409
+ return p.push(e);
1410
+ })))), p;
1411
+ };
1412
+ return p.hash = c.length ? c.reduce(function (e, t) {
1413
+ return t.name || he(15), M(e, t.name);
1414
+ }, F).toString() : "", p;
1596
1415
  }
1597
- var ee = function (e, t) {
1598
- for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
1599
- return e;
1416
+ var Ve = new Re(),
1417
+ Fe = xe(),
1418
+ Me = React.createContext({
1419
+ shouldForwardProp: void 0,
1420
+ styleSheet: Ve,
1421
+ stylis: Fe
1422
+ });
1423
+ Me.Consumer;
1424
+ React.createContext(void 0);
1425
+ function Be() {
1426
+ return React.useContext(Me);
1427
+ }
1428
+ var Ge = function () {
1429
+ function e(e, t) {
1430
+ var n = this;
1431
+ this.inject = function (e, t) {
1432
+ void 0 === t && (t = Fe);
1433
+ var o = n.name + t.hash;
1434
+ e.hasNameForId(n.id, o) || e.insertRules(n.id, o, t(n.rules, o, "@keyframes"));
1435
+ }, this.name = e, this.id = "sc-keyframes-".concat(e), this.rules = t, ue(this, function () {
1436
+ throw he(12, String(n.name));
1437
+ });
1438
+ }
1439
+ return e.prototype.getName = function (e) {
1440
+ return void 0 === e && (e = Fe), this.name + e.hash;
1441
+ }, e;
1442
+ }(),
1443
+ Ye = function (e) {
1444
+ return e >= "A" && e <= "Z";
1445
+ };
1446
+ function qe(e) {
1447
+ for (var t = "", n = 0; n < e.length; n++) {
1448
+ var o = e[n];
1449
+ if (1 === n && "-" === o && "-" === e[0]) return e;
1450
+ Ye(o) ? t += "-" + o.toLowerCase() : t += o;
1451
+ }
1452
+ return t.startsWith("ms-") ? "-" + t : t;
1453
+ }
1454
+ var We = function (e) {
1455
+ return null == e || !1 === e || "" === e;
1600
1456
  },
1601
- te = function (e) {
1602
- return ee(5381, e);
1457
+ He = function (t) {
1458
+ var n,
1459
+ o,
1460
+ r = [];
1461
+ for (var s in t) {
1462
+ var i = t[s];
1463
+ 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")), ";")));
1464
+ }
1465
+ return r;
1603
1466
  };
1604
- function ne(e) {
1467
+ function Ue(e, t, n, o) {
1468
+ if (We(e)) return [];
1469
+ if (se(e)) return [".".concat(e.styledComponentId)];
1470
+ if (re(e)) {
1471
+ if (!re(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
1472
+ var r = e(t);
1473
+ 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);
1474
+ }
1475
+ var s;
1476
+ 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) {
1477
+ return Ue(e, t, n, o);
1478
+ })) : [e.toString()];
1479
+ }
1480
+ function Je(e) {
1605
1481
  for (var t = 0; t < e.length; t += 1) {
1606
1482
  var n = e[t];
1607
- if (E(n) && !_(n)) return !1;
1483
+ if (re(n) && !se(n)) return !1;
1608
1484
  }
1609
1485
  return !0;
1610
1486
  }
1611
- var re = te("5.3.6"),
1612
- oe = function () {
1487
+ var Xe = z(v),
1488
+ Ze = function () {
1613
1489
  function e(e, t, n) {
1614
- 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);
1490
+ 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);
1615
1491
  }
1616
1492
  return e.prototype.generateAndInjectStyles = function (e, t, n) {
1617
- var r = this.componentId,
1618
- o = [];
1619
- if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, t, n)), this.isStatic && !n.hash) {
1620
- if (this.staticRulesId && t.hasNameForId(r, this.staticRulesId)) o.push(this.staticRulesId);else {
1621
- var s = _e(this.rules, e, t, n).join(""),
1622
- i = Q(ee(this.baseHash, s) >>> 0);
1623
- if (!t.hasNameForId(r, i)) {
1624
- var a = n(s, "." + i, void 0, r);
1625
- t.insertRules(r, i, a);
1493
+ var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
1494
+ if (this.isStatic && !n.hash) {
1495
+ if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) o = ie(o, this.staticRulesId);else {
1496
+ var r = ae(Ue(this.rules, e, t, n)),
1497
+ s = x(M(this.baseHash, r) >>> 0);
1498
+ if (!t.hasNameForId(this.componentId, s)) {
1499
+ var i = n(r, ".".concat(s), void 0, this.componentId);
1500
+ t.insertRules(this.componentId, s, i);
1626
1501
  }
1627
- o.push(i), this.staticRulesId = i;
1502
+ o = ie(o, s), this.staticRulesId = s;
1628
1503
  }
1629
1504
  } else {
1630
- for (var c = this.rules.length, u = ee(this.baseHash, n.hash), l = "", d = 0; d < c; d++) {
1631
- var h = this.rules[d];
1632
- if ("string" == typeof h) l += h, "production" !== process.env.NODE_ENV && (u = ee(u, h + d));else if (h) {
1633
- var p = _e(h, e, t, n),
1634
- f = Array.isArray(p) ? p.join("") : p;
1635
- u = ee(u, f + d), l += f;
1505
+ for (var a = M(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
1506
+ var u = this.rules[l];
1507
+ if ("string" == typeof u) c += u, "production" !== process.env.NODE_ENV && (a = M(a, u));else if (u) {
1508
+ var p = ae(Ue(u, e, t, n));
1509
+ a = M(a, p + l), c += p;
1636
1510
  }
1637
1511
  }
1638
- if (l) {
1639
- var m = Q(u >>> 0);
1640
- if (!t.hasNameForId(r, m)) {
1641
- var y = n(l, "." + m, void 0, r);
1642
- t.insertRules(r, m, y);
1643
- }
1644
- o.push(m);
1512
+ if (c) {
1513
+ var d = x(a >>> 0);
1514
+ t.hasNameForId(this.componentId, d) || t.insertRules(this.componentId, d, n(c, ".".concat(d), void 0, this.componentId)), o = ie(o, d);
1645
1515
  }
1646
1516
  }
1647
- return o.join(" ");
1517
+ return o;
1648
1518
  }, e;
1649
1519
  }(),
1650
- se = /^\s*\/\/.*$/gm,
1651
- ie = [":", "[", ".", "#"];
1652
- function ae(e) {
1653
- var t,
1654
- n,
1655
- r,
1656
- o,
1657
- s = void 0 === e ? w : e,
1658
- i = s.options,
1659
- a = void 0 === i ? w : i,
1660
- c = s.plugins,
1661
- u = void 0 === c ? S : c,
1662
- l = new stylis_min(a),
1663
- d = [],
1664
- p = function (e) {
1665
- function t(t) {
1666
- if (t) try {
1667
- e(t + "}");
1668
- } catch (e) {}
1669
- }
1670
- return function (n, r, o, s, i, a, c, u, l, d) {
1671
- switch (n) {
1672
- case 1:
1673
- if (0 === l && 64 === r.charCodeAt(0)) return e(r + ";"), "";
1674
- break;
1675
- case 2:
1676
- if (0 === u) return r + "/*|*/";
1677
- break;
1678
- case 3:
1679
- switch (u) {
1680
- case 102:
1681
- case 112:
1682
- return e(o[0] + r), "";
1683
- default:
1684
- return r + (0 === d ? "/*|*/" : "");
1685
- }
1686
- case -2:
1687
- r.split("/*|*/}").forEach(t);
1688
- }
1520
+ Ke = React.createContext(void 0);
1521
+ Ke.Consumer;
1522
+ var nt = {},
1523
+ ot = new Set();
1524
+ function rt(e, r, s) {
1525
+ var i = se(e),
1526
+ a = e,
1527
+ c = !L(e),
1528
+ p = r.attrs,
1529
+ d = void 0 === p ? _ : p,
1530
+ h = r.componentId,
1531
+ f = void 0 === h ? function (e, t) {
1532
+ var n = "string" != typeof e ? "sc" : R(e);
1533
+ nt[n] = (nt[n] || 0) + 1;
1534
+ var o = "".concat(n, "-").concat($(v + n + nt[n]));
1535
+ return t ? "".concat(t, "-").concat(o) : o;
1536
+ }(r.displayName, r.parentComponentId) : h,
1537
+ m = r.displayName,
1538
+ y = void 0 === m ? function (e) {
1539
+ return L(e) ? "styled.".concat(e) : "Styled(".concat(B(e), ")");
1540
+ }(e) : m,
1541
+ g = r.displayName && r.componentId ? "".concat(R(r.displayName), "-").concat(r.componentId) : r.componentId || f,
1542
+ S = i && a.attrs ? a.attrs.concat(d).filter(Boolean) : d,
1543
+ w = r.shouldForwardProp;
1544
+ if (i && a.shouldForwardProp) {
1545
+ var b = a.shouldForwardProp;
1546
+ if (r.shouldForwardProp) {
1547
+ var E = r.shouldForwardProp;
1548
+ w = function (e, t) {
1549
+ return b(e, t) && E(e, t);
1689
1550
  };
1690
- }(function (e) {
1691
- d.push(e);
1692
- }),
1693
- f = function (e, r, s) {
1694
- return 0 === r && -1 !== ie.indexOf(s[n.length]) || s.match(o) ? e : "." + t;
1695
- };
1696
- function m(e, s, i, a) {
1697
- void 0 === a && (a = "&");
1698
- var c = e.replace(se, ""),
1699
- u = s && i ? i + " " + s + " { " + c + " }" : c;
1700
- return t = a, n = s, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(i || !s ? "" : s, u);
1701
- }
1702
- return l.use([].concat(u, [function (e, t, o) {
1703
- 2 === e && o.length && o[0].lastIndexOf(n) > 0 && (o[0] = o[0].replace(r, f));
1704
- }, p, function (e) {
1705
- if (-2 === e) {
1706
- var t = d;
1707
- return d = [], t;
1708
- }
1709
- }])), m.hash = u.length ? u.reduce(function (e, t) {
1710
- return t.name || D(15), ee(e, t.name);
1711
- }, 5381).toString() : "", m;
1712
- }
1713
- var ce = React.createContext();
1714
- ce.Consumer;
1715
- var le = React.createContext(),
1716
- de = (le.Consumer, new X()),
1717
- he = ae();
1718
- function pe() {
1719
- return React.useContext(ce) || de;
1720
- }
1721
- function fe() {
1722
- return React.useContext(le) || he;
1723
- }
1724
- var ye = function () {
1725
- function e(e, t) {
1726
- var n = this;
1727
- this.inject = function (e, t) {
1728
- void 0 === t && (t = he);
1729
- var r = n.name + t.hash;
1730
- e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
1731
- }, this.toString = function () {
1732
- return D(12, String(n.name));
1733
- }, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
1734
- }
1735
- return e.prototype.getName = function (e) {
1736
- return void 0 === e && (e = he), this.name + e.hash;
1737
- }, e;
1738
- }(),
1739
- ve = /([A-Z])/,
1740
- ge = /([A-Z])/g,
1741
- Se = /^ms-/,
1742
- we = function (e) {
1743
- return "-" + e.toLowerCase();
1744
- };
1745
- function Ee(e) {
1746
- return ve.test(e) ? e.replace(ge, we).replace(Se, "-ms-") : e;
1747
- }
1748
- var be = function (e) {
1749
- return null == e || !1 === e || "" === e;
1750
- };
1751
- function _e(e, n, r, o) {
1752
- if (Array.isArray(e)) {
1753
- 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));
1754
- return i;
1551
+ } else w = b;
1755
1552
  }
1756
- if (be(e)) return "";
1757
- if (_(e)) return "." + e.styledComponentId;
1758
- if (E(e)) {
1759
- if ("function" != typeof (l = e) || l.prototype && l.prototype.isReactComponent || !n) return e;
1760
- var u = e(n);
1761
- 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);
1762
- }
1763
- var l;
1764
- return e instanceof ye ? r ? (e.inject(r, o), e.getName(o)) : e : g(e) ? function e(t, n) {
1765
- var r,
1766
- o,
1767
- s = [];
1768
- 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") + ";"));
1769
- return n ? [n + " {"].concat(s, ["}"]) : s;
1770
- }(e) : e.toString();
1771
- }
1772
- var Ne = function (e) {
1773
- return Array.isArray(e) && (e.isCss = !0), e;
1774
- };
1775
- function Ae(e) {
1776
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1777
- 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)));
1778
- }
1779
- var Ce = /invalid hook call/i,
1780
- Ie = new Set(),
1781
- Pe = function (e, t) {
1782
- if ("production" !== process.env.NODE_ENV) {
1783
- 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.",
1784
- r = console.error;
1785
- try {
1786
- var o = !0;
1787
- console.error = function (e) {
1788
- if (Ce.test(e)) o = !1, Ie.delete(n);else {
1789
- for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) s[i - 1] = arguments[i];
1790
- r.apply(void 0, [e].concat(s));
1553
+ var N = new Ze(s, g, i ? a.componentStyle : void 0);
1554
+ function O(e, r) {
1555
+ return function (e, r, s) {
1556
+ var i = e.attrs,
1557
+ a = e.componentStyle,
1558
+ c = e.defaultProps,
1559
+ p = e.foldedComponentIds,
1560
+ d = e.styledComponentId,
1561
+ h = e.target,
1562
+ f = React.useContext(Ke),
1563
+ m = Be(),
1564
+ y = e.shouldForwardProp || m.shouldForwardProp;
1565
+ "production" !== process.env.NODE_ENV && React.useDebugValue(d);
1566
+ var v = I(r, f, c) || C,
1567
+ g = function (e, n, o) {
1568
+ for (var r, s = __assign(__assign({}, n), {
1569
+ className: void 0,
1570
+ theme: o
1571
+ }), i = 0; i < e.length; i += 1) {
1572
+ var a = re(r = e[i]) ? r(s) : r;
1573
+ for (var c in a) s[c] = "className" === c ? ie(s[c], a[c]) : "style" === c ? __assign(__assign({}, s[c]), a[c]) : a[c];
1791
1574
  }
1792
- }, React.useRef(), o && !Ie.has(n) && (console.warn(n), Ie.add(n));
1793
- } catch (e) {
1794
- Ce.test(e.message) && Ie.delete(n);
1795
- } finally {
1796
- console.error = r;
1797
- }
1798
- }
1799
- },
1800
- Oe = function (e, t, n) {
1801
- return void 0 === n && (n = w), e.theme !== n.theme && e.theme || t || n.theme;
1802
- },
1803
- Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
1804
- De = /(^-|-$)/g;
1805
- function je(e) {
1806
- return e.replace(Re, "-").replace(De, "");
1807
- }
1808
- var Te = function (e) {
1809
- return Q(te(e) >>> 0);
1810
- };
1811
- function xe(e) {
1812
- return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
1813
- }
1814
- var ke = function (e) {
1815
- return "function" == typeof e || "object" == typeof e && null !== e && !Array.isArray(e);
1816
- },
1817
- Ve = function (e) {
1818
- return "__proto__" !== e && "constructor" !== e && "prototype" !== e;
1819
- };
1820
- function ze(e, t, n) {
1821
- var r = e[n];
1822
- ke(t) && ke(r) ? Be(r, t) : e[n] = t;
1823
- }
1824
- function Be(e) {
1825
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1826
- for (var o = 0, s = n; o < s.length; o++) {
1827
- var i = s[o];
1828
- if (ke(i)) for (var a in i) Ve(a) && ze(e, i[a], a);
1575
+ return n.className && (s.className = ie(s.className, n.className)), s;
1576
+ }(i, r, v),
1577
+ S = g.as || h,
1578
+ w = {};
1579
+ 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.)')))));
1580
+ var E = function (e, t) {
1581
+ var n = Be(),
1582
+ o = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
1583
+ return "production" !== process.env.NODE_ENV && React.useDebugValue(o), o;
1584
+ }(a, g);
1585
+ "production" !== process.env.NODE_ENV && e.warnTooManyClasses && e.warnTooManyClasses(E);
1586
+ var N = ie(p, d);
1587
+ return E && (N += " " + E), g.className && (N += " " + g.className), w[L(S) && !A.has(S) ? "class" : "className"] = N, w.ref = s, React.createElement(S, w);
1588
+ }(D, e, r);
1829
1589
  }
1830
- return e;
1831
- }
1832
- var Me = React.createContext();
1833
- Me.Consumer;
1834
- var Fe = {};
1835
- function Ye(e, t, n) {
1836
- var o = _(e),
1837
- i = !xe(e),
1838
- a = t.attrs,
1839
- c = void 0 === a ? S : a,
1840
- d = t.componentId,
1841
- h = void 0 === d ? function (e, t) {
1842
- var n = "string" != typeof e ? "sc" : je(e);
1843
- Fe[n] = (Fe[n] || 0) + 1;
1844
- var r = n + "-" + Te("5.3.6" + n + Fe[n]);
1845
- return t ? t + "-" + r : r;
1846
- }(t.displayName, t.parentComponentId) : d,
1847
- p = t.displayName,
1848
- v = void 0 === p ? function (e) {
1849
- return xe(e) ? "styled." + e : "Styled(" + b(e) + ")";
1850
- }(e) : p,
1851
- g = t.displayName && t.componentId ? je(t.displayName) + "-" + t.componentId : t.componentId || h,
1852
- N = o && e.attrs ? Array.prototype.concat(e.attrs, c).filter(Boolean) : c,
1853
- A = t.shouldForwardProp;
1854
- o && e.shouldForwardProp && (A = t.shouldForwardProp ? function (n, r, o) {
1855
- return e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o);
1856
- } : e.shouldForwardProp);
1857
- var C,
1858
- I = new oe(n, g, o ? e.componentStyle : void 0),
1859
- P = I.isStatic && 0 === c.length,
1860
- O = function (e, t) {
1861
- return function (e, t, n, r) {
1862
- var o = e.attrs,
1863
- i = e.componentStyle,
1864
- a = e.defaultProps,
1865
- c = e.foldedComponentIds,
1866
- d = e.shouldForwardProp,
1867
- h = e.styledComponentId,
1868
- p = e.target;
1869
- "production" !== process.env.NODE_ENV && React.useDebugValue(h);
1870
- var m = function (e, t, n) {
1871
- void 0 === e && (e = w);
1872
- var r = y({}, t, {
1873
- theme: e
1874
- }),
1875
- o = {};
1876
- return n.forEach(function (e) {
1877
- var t,
1878
- n,
1879
- s,
1880
- i = e;
1881
- 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];
1882
- }), [r, o];
1883
- }(Oe(t, React.useContext(Me), a) || w, t, o),
1884
- v = m[0],
1885
- g = m[1],
1886
- S = function (e, t, n, r) {
1887
- var o = pe(),
1888
- s = fe(),
1889
- i = t ? e.generateAndInjectStyles(w, o, s) : e.generateAndInjectStyles(n, o, s);
1890
- return "production" !== process.env.NODE_ENV && React.useDebugValue(i), "production" !== process.env.NODE_ENV && !t && r && r(i), i;
1891
- }(i, r, v, "production" !== process.env.NODE_ENV ? e.warnTooManyClasses : void 0),
1892
- b = n,
1893
- _ = g.$as || t.$as || g.as || t.as || p,
1894
- N = xe(_),
1895
- A = g !== t ? y({}, t, {}, g) : t,
1896
- C = {};
1897
- 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]));
1898
- 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, React.createElement(_, C);
1899
- }(C, e, t, P);
1900
- };
1901
- 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) {
1902
- var r = t.componentId,
1903
- o = function (e, t) {
1904
- if (null == e) return {};
1905
- var n,
1906
- r,
1907
- o = {},
1908
- s = Object.keys(e);
1909
- for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) >= 0 || (o[n] = e[n]);
1910
- return o;
1911
- }(t, ["componentId"]),
1912
- s = r && r + "-" + (xe(e) ? e : je(b(e)));
1913
- return Ye(e, y({}, o, {
1914
- attrs: N,
1915
- componentId: s
1916
- }), n);
1917
- }, Object.defineProperty(C, "defaultProps", {
1590
+ O.displayName = y;
1591
+ var D = React.forwardRef(O);
1592
+ 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", {
1918
1593
  get: function () {
1919
1594
  return this._foldedDefaultProps;
1920
1595
  },
1921
- set: function (t) {
1922
- this._foldedDefaultProps = o ? Be({}, e.defaultProps, t) : t;
1596
+ set: function (e) {
1597
+ this._foldedDefaultProps = i ? function (e) {
1598
+ for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1599
+ for (var o = 0, r = t; o < r.length; o++) le(e, r[o], !0);
1600
+ return e;
1601
+ }({}, a.defaultProps, e) : e;
1923
1602
  }
1924
- }), "production" !== process.env.NODE_ENV && (Pe(v, g), C.warnTooManyClasses = function (e, t) {
1603
+ }), "production" !== process.env.NODE_ENV && (P(y, g), D.warnTooManyClasses = function (e, t) {
1925
1604
  var n = {},
1926
- r = !1;
1927
- return function (o) {
1928
- if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
1929
- var s = t ? ' with the id of "' + t + '"' : "";
1930
- 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 = {};
1605
+ o = !1;
1606
+ return function (r) {
1607
+ if (!o && (n[r] = !0, Object.keys(n).length >= 200)) {
1608
+ var s = t ? ' with the id of "'.concat(t, '"') : "";
1609
+ 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 = {};
1931
1610
  }
1932
1611
  };
1933
- }(v, g)), C.toString = function () {
1934
- return "." + C.styledComponentId;
1935
- }, i && m(C, e, {
1612
+ }(y, g)), ue(D, function () {
1613
+ return ".".concat(D.styledComponentId);
1614
+ }), c && oe(D, e, {
1936
1615
  attrs: !0,
1937
1616
  componentStyle: !0,
1938
1617
  displayName: !0,
1939
1618
  foldedComponentIds: !0,
1940
1619
  shouldForwardProp: !0,
1941
1620
  styledComponentId: !0,
1942
- target: !0,
1943
- withComponent: !0
1944
- }), C;
1621
+ target: !0
1622
+ }), D;
1945
1623
  }
1946
- var qe = function (e) {
1947
- return function e(t, r, o) {
1948
- if (void 0 === o && (o = w), !reactIsExports$1.isValidElementType(r)) return D(1, String(r));
1949
- var s = function () {
1950
- return t(r, o, Ae.apply(void 0, arguments));
1951
- };
1952
- return s.withConfig = function (n) {
1953
- return e(t, r, y({}, o, {}, n));
1954
- }, s.attrs = function (n) {
1955
- return e(t, r, y({}, o, {
1956
- attrs: Array.prototype.concat(o.attrs, n).filter(Boolean)
1957
- }));
1958
- }, s;
1959
- }(Ye, e);
1624
+ function st(e, t) {
1625
+ for (var n = [e[0]], o = 0, r = t.length; o < r; o += 1) n.push(t[o], e[o + 1]);
1626
+ return n;
1627
+ }
1628
+ var it = function (e) {
1629
+ return Object.assign(e, {
1630
+ isCss: !0
1631
+ });
1960
1632
  };
1961
- ["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) {
1962
- qe[e] = qe(e);
1633
+ function at(t) {
1634
+ for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1635
+ if (re(t) || ce(t)) return it(Ue(st(_, __spreadArray([t], n, !0))));
1636
+ var r = t;
1637
+ return 0 === n.length && 1 === r.length && "string" == typeof r[0] ? Ue(r) : it(Ue(st(r, n)));
1638
+ }
1639
+ function ct(n, o, r) {
1640
+ if (void 0 === r && (r = C), !o) throw he(1, o);
1641
+ var s = function (t) {
1642
+ for (var s = [], i = 1; i < arguments.length; i++) s[i - 1] = arguments[i];
1643
+ return n(o, r, at.apply(void 0, __spreadArray([t], s, !1)));
1644
+ };
1645
+ return s.attrs = function (e) {
1646
+ return ct(n, o, __assign(__assign({}, r), {
1647
+ attrs: Array.prototype.concat(r.attrs, e).filter(Boolean)
1648
+ }));
1649
+ }, s.withConfig = function (e) {
1650
+ return ct(n, o, __assign(__assign({}, r), e));
1651
+ }, s;
1652
+ }
1653
+ var lt = function (e) {
1654
+ return ct(rt, e);
1655
+ },
1656
+ ut = lt;
1657
+ A.forEach(function (e) {
1658
+ ut[e] = lt(e);
1963
1659
  });
1964
- function We(e) {
1660
+ function ht(t) {
1661
+ for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1965
1662
  "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.");
1966
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1967
- var o = Ae.apply(void 0, [e].concat(n)).join(""),
1968
- s = Te(o);
1969
- return new ye(s, o);
1663
+ var r = ae(at.apply(void 0, __spreadArray([t], n, !1))),
1664
+ s = $(r);
1665
+ return new Ge(s, r);
1970
1666
  }
1971
- "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);
1972
- var styled = qe;
1667
+ "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");
1668
+ var gt = "__sc-".concat(f, "__");
1669
+ "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);
1973
1670
 
1974
1671
  const Colors = {
1975
1672
  PRIMARY: {
@@ -2021,7 +1718,7 @@ const EditableTheme = {
2021
1718
  PRIMARY_COLOR: Colors.PRIMARY,
2022
1719
  };
2023
1720
 
2024
- const Header$3 = styled.div `
1721
+ const Header$3 = ut.div `
2025
1722
  display: flex;
2026
1723
  align-items: center;
2027
1724
  justify-content: space-between;
@@ -2032,7 +1729,7 @@ const Header$3 = styled.div `
2032
1729
  height: 50px;
2033
1730
  cursor: pointer;
2034
1731
  `;
2035
- const Title$2 = styled.div `
1732
+ const Title$2 = ut.div `
2036
1733
  font-size: ${FontSizes.DEFAULT};
2037
1734
  font-weight: 400;
2038
1735
  color: ${Colors.BLACK.Hex};
@@ -2049,7 +1746,7 @@ const Accordion = (_a) => {
2049
1746
  open ? children : null));
2050
1747
  };
2051
1748
 
2052
- const StyledButton = styled.button `
1749
+ const StyledButton = ut.button `
2053
1750
  height: ${props => (props.$small ? '30px' : '40px')};
2054
1751
  line-height: 1em;
2055
1752
  border-radius: ${props => (props.$small ? '15px' : '20px')};
@@ -2092,21 +1789,21 @@ const StyledButton = styled.button `
2092
1789
  opacity: ${props => (props.$disabled ? 0.6 : 1)};
2093
1790
  }
2094
1791
  `;
2095
- const Label$5 = styled.span `
1792
+ const Label$5 = ut.span `
2096
1793
  color: ${props => props.$content_color || '#fff'};
2097
1794
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
2098
1795
  font-family: ${FontStyles.DEFAULT};
2099
1796
  font-weight: 500;
2100
1797
  line-height: 1;
2101
1798
  `;
2102
- const StyledIcon$6 = styled.span `
1799
+ const StyledIcon$6 = ut.span `
2103
1800
  margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
2104
1801
  margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
2105
1802
  display: flex;
2106
1803
  align-items: center;
2107
1804
  box-sizing: border-box;
2108
1805
  `;
2109
- const Badge$1 = styled.span `
1806
+ const Badge$1 = ut.span `
2110
1807
  width: ${props => (props.$small ? '20px' : '24px')};
2111
1808
  height: ${props => (props.$small ? '20px' : '24px')};
2112
1809
  line-height: 1;
@@ -2125,7 +1822,7 @@ const Badge$1 = styled.span `
2125
1822
  `;
2126
1823
  const Button = (_a) => {
2127
1824
  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"]);
2128
- const theme = React.useContext(Me) || EditableTheme;
1825
+ const theme = React.useContext(Ke) || EditableTheme;
2129
1826
  const has_children = children && children.length > 0;
2130
1827
  const button_type_mapping = {
2131
1828
  primary: {
@@ -2165,7 +1862,7 @@ const Button = (_a) => {
2165
1862
  badge && !icon ? (React.createElement(Badge$1, { "$bg_color": format_styles.badge_bg_color, "$content_color": format_styles.badge_content_color, "$small": small }, badge)) : null));
2166
1863
  };
2167
1864
 
2168
- const StyledComponent = styled.p `
1865
+ const StyledComponent = ut.p `
2169
1866
  color: ${props => Colors[props.$color || 'BLACK'].Hex};
2170
1867
  font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
2171
1868
  line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
@@ -2186,7 +1883,7 @@ Copy.defaultProps = {
2186
1883
  type: 'default',
2187
1884
  };
2188
1885
 
2189
- const H1 = styled.h1 `
1886
+ const H1 = ut.h1 `
2190
1887
  color: ${Colors.BLACK.Hex};
2191
1888
  font-size: 30px;
2192
1889
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -2196,7 +1893,7 @@ const H1 = styled.h1 `
2196
1893
  padding: ${props => props.$padding || '0px'};
2197
1894
  box-sizing: border-box;
2198
1895
  `;
2199
- const H2 = styled.h2 `
1896
+ const H2 = ut.h2 `
2200
1897
  color: ${Colors.BLACK.Hex};
2201
1898
  font-size: 24px;
2202
1899
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -2206,7 +1903,7 @@ const H2 = styled.h2 `
2206
1903
  padding: ${props => props.$padding || '0px'};
2207
1904
  box-sizing: border-box;
2208
1905
  `;
2209
- const H3 = styled.h3 `
1906
+ const H3 = ut.h3 `
2210
1907
  color: ${Colors.BLACK.Hex};
2211
1908
  font-size: 18px;
2212
1909
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -2235,7 +1932,7 @@ Heading.defaultProps = {
2235
1932
  type: 'primary',
2236
1933
  };
2237
1934
 
2238
- const Wrapper$i = styled.div `
1935
+ const Wrapper$i = ut.div `
2239
1936
  position: fixed;
2240
1937
  top: 0;
2241
1938
  right: 0;
@@ -2248,7 +1945,7 @@ const Wrapper$i = styled.div `
2248
1945
  justify-content: center;
2249
1946
  box-sizing: border-box;
2250
1947
  `;
2251
- const Container$3 = styled.dialog `
1948
+ const Container$3 = ut.dialog `
2252
1949
  max-width: 600px;
2253
1950
  width: auto;
2254
1951
  border-radius: 8px;
@@ -2261,7 +1958,7 @@ const Container$3 = styled.dialog `
2261
1958
  text-align: center;
2262
1959
  box-sizing: border-box;
2263
1960
  `;
2264
- const Buttons = styled.div `
1961
+ const Buttons = ut.div `
2265
1962
  display: flex;
2266
1963
  gap: 10px;
2267
1964
  align-items: center;
@@ -2281,7 +1978,7 @@ const ActionDialog = (_a) => {
2281
1978
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format === 'red' ? 'red' : 'primary' }))) : null)) : null)));
2282
1979
  };
2283
1980
 
2284
- const Wrapper$h = styled.div `
1981
+ const Wrapper$h = ut.div `
2285
1982
  border: 1px solid #f1f1f1;
2286
1983
  border-radius: 4px;
2287
1984
  border-left-width: 4px;
@@ -2292,10 +1989,10 @@ const Wrapper$h = styled.div `
2292
1989
  padding: ${({ $small }) => ($small ? '11px' : '20px')};
2293
1990
  box-sizing: border-box;
2294
1991
  `;
2295
- const StyledIcon$5 = styled(Icon) `
1992
+ const StyledIcon$5 = ut(Icon) `
2296
1993
  flex-shrink: 0;
2297
1994
  `;
2298
- const Action$1 = styled.div `
1995
+ const Action$1 = ut.div `
2299
1996
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
2300
1997
  font-size: ${FontSizes.DEFAULT};
2301
1998
  font-family: ${FontStyles.DEFAULT};
@@ -2306,7 +2003,7 @@ const Action$1 = styled.div `
2306
2003
  Action$1.defaultProps = { theme: EditableTheme };
2307
2004
  const Alert = (_a) => {
2308
2005
  var { action, type = 'info', title, description, small = false } = _a, accessibleProps = __rest(_a, ["action", "type", "title", "description", "small"]);
2309
- const theme = React.useContext(Me) || EditableTheme;
2006
+ const theme = React.useContext(Ke) || EditableTheme;
2310
2007
  const type_mapping = {
2311
2008
  info: {
2312
2009
  color: theme.PRIMARY_COLOR.Hex,
@@ -2333,7 +2030,7 @@ const Alert = (_a) => {
2333
2030
  action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
2334
2031
  };
2335
2032
 
2336
- const Wrapper$g = styled.div `
2033
+ const Wrapper$g = ut.div `
2337
2034
  border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
2338
2035
  border-radius: 8px;
2339
2036
  box-sizing: border-box;
@@ -2343,27 +2040,27 @@ const Wrapper$g = styled.div `
2343
2040
  padding: 16px 20px;
2344
2041
  `;
2345
2042
  Wrapper$g.defaultProps = { theme: EditableTheme };
2346
- const Left = styled.div `
2043
+ const Left = ut.div `
2347
2044
  box-sizing: border-box;
2348
2045
  display: flex;
2349
2046
  align-items: center;
2350
2047
  justify-content: space-between;
2351
2048
  flex-shrink: 0;
2352
2049
  `;
2353
- const Info$1 = styled.div `
2050
+ const Info$1 = ut.div `
2354
2051
  box-sizing: border-box;
2355
2052
  display: flex;
2356
2053
  align-items: center;
2357
2054
  margin-right: 30px;
2358
2055
  `;
2359
- const Selected = styled.span `
2056
+ const Selected = ut.span `
2360
2057
  font-size: 14px;
2361
2058
  font-weight: 400;
2362
2059
  font-family: ${FontStyles.DEFAULT};
2363
2060
  color: ${Colors.BLACK.Hex};
2364
2061
  line-height: 1;
2365
2062
  `;
2366
- const Clear = styled.span `
2063
+ const Clear = ut.span `
2367
2064
  font-size: 14px;
2368
2065
  font-weight: 400;
2369
2066
  font-family: ${FontStyles.DEFAULT};
@@ -2375,13 +2072,13 @@ const Clear = styled.span `
2375
2072
  border-left: 1px solid #ccc;
2376
2073
  `;
2377
2074
  Clear.defaultProps = { theme: EditableTheme };
2378
- const Actions$1 = styled.div `
2075
+ const Actions$1 = ut.div `
2379
2076
  box-sizing: border-box;
2380
2077
  display: flex;
2381
2078
  align-items: center;
2382
2079
  column-gap: 10px;
2383
2080
  `;
2384
- const Error$1 = styled.div `
2081
+ const Error$1 = ut.div `
2385
2082
  box-sizing: border-box;
2386
2083
  display: flex;
2387
2084
  align-items: center;
@@ -2393,7 +2090,7 @@ const Error$1 = styled.div `
2393
2090
  overflow: hidden;
2394
2091
  margin-left: 30px;
2395
2092
  `;
2396
- const ErrorMsg = styled.span `
2093
+ const ErrorMsg = ut.span `
2397
2094
  font-size: 14px;
2398
2095
  font-weight: 500;
2399
2096
  font-family: ${FontStyles.DEFAULT};
@@ -2416,7 +2113,7 @@ const BulkActionBar = (_a) => {
2416
2113
  React.createElement(ErrorMsg, null, errorMsg))) : null));
2417
2114
  };
2418
2115
 
2419
- const Wrapper$f = styled.div `
2116
+ const Wrapper$f = ut.div `
2420
2117
  background: #fff;
2421
2118
  border-radius: 8px;
2422
2119
  box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
@@ -2427,7 +2124,7 @@ const Wrapper$f = styled.div `
2427
2124
  padding: 10px;
2428
2125
  width: 200px;
2429
2126
  `;
2430
- const MenuItem = styled.div `
2127
+ const MenuItem = ut.div `
2431
2128
  align-items: center;
2432
2129
  border-radius: 8px;
2433
2130
  border: 1px solid transparent;
@@ -2446,7 +2143,7 @@ const MenuItem = styled.div `
2446
2143
  }
2447
2144
  `;
2448
2145
  MenuItem.defaultProps = { theme: EditableTheme };
2449
- const Title$1 = styled.span `
2146
+ const Title$1 = ut.span `
2450
2147
  font-family: Roboto;
2451
2148
  font-size: 14px;
2452
2149
  font-weight: 400;
@@ -2464,11 +2161,11 @@ const MoreMenu = (_a) => {
2464
2161
  })));
2465
2162
  };
2466
2163
 
2467
- const Wrapper$e = styled.div `
2164
+ const Wrapper$e = ut.div `
2468
2165
  position: relative;
2469
2166
  display: inline-block;
2470
2167
  `;
2471
- const StyledMoreMenu = styled(MoreMenu) `
2168
+ const StyledMoreMenu = ut(MoreMenu) `
2472
2169
  position: absolute;
2473
2170
  right: ${props => (props.$position === 'right' ? '0px' : 'auto')};
2474
2171
  left: ${props => (props.$position === 'left' ? '0px' : 'auto')};
@@ -2483,7 +2180,7 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
2483
2180
  show_menu ? (React.createElement(StyledMoreMenu, { "$menuWidth": menuWidth, "$position": position, "$small": small, maxHeight: maxHeight, menuItems: menuItems })) : null));
2484
2181
  };
2485
2182
 
2486
- const Wrapper$d = styled.label `
2183
+ const Wrapper$d = ut.label `
2487
2184
  border-radius: 4px;
2488
2185
  padding: 4px 0px 4px 6px;
2489
2186
  margin-left: -6px;
@@ -2499,13 +2196,13 @@ const Wrapper$d = styled.label `
2499
2196
  }
2500
2197
  `;
2501
2198
  Wrapper$d.defaultProps = { theme: EditableTheme };
2502
- const Input$2 = styled.input `
2199
+ const Input$2 = ut.input `
2503
2200
  font-size: 20px;
2504
2201
  margin: 5px 0px 0px 0px;
2505
2202
  line-height: 1.1em;
2506
2203
  box-sizing: border-box;
2507
2204
  `;
2508
- const Label$4 = styled.span `
2205
+ const Label$4 = ut.span `
2509
2206
  font-family: ${FontStyles.DEFAULT};
2510
2207
  font-size: ${FontSizes.DEFAULT};
2511
2208
  font-weight: 400;
@@ -2521,12 +2218,12 @@ const Checkbox = (_a) => {
2521
2218
  children ? React.createElement(Label$4, null, children) : null));
2522
2219
  };
2523
2220
 
2524
- const SelectAll = styled.div `
2221
+ const SelectAll = ut.div `
2525
2222
  padding: 8px 12px;
2526
2223
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2527
2224
  box-sizing: border-box;
2528
2225
  `;
2529
- const Options$1 = styled.div `
2226
+ const Options$1 = ut.div `
2530
2227
  padding: 12px;
2531
2228
  box-sizing: border-box;
2532
2229
  `;
@@ -2885,7 +2582,7 @@ var dayjs_min = {exports: {}};
2885
2582
  var dayjs_minExports = dayjs_min.exports;
2886
2583
  var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
2887
2584
 
2888
- const Wrapper$c = styled.div `
2585
+ const Wrapper$c = ut.div `
2889
2586
  border-radius: 4px;
2890
2587
  height: 40px;
2891
2588
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -2907,7 +2604,7 @@ const Wrapper$c = styled.div `
2907
2604
  }
2908
2605
  `;
2909
2606
  Wrapper$c.defaultProps = { theme: EditableTheme };
2910
- const Trigger$1 = styled.select `
2607
+ const Trigger$1 = ut.select `
2911
2608
  appearance: none;
2912
2609
  box-shadow: none;
2913
2610
  outline: none;
@@ -2927,7 +2624,7 @@ const Trigger$1 = styled.select `
2927
2624
  position: relative;
2928
2625
  z-index: 2;
2929
2626
  `;
2930
- const IconWrapper$2 = styled(Icon) `
2627
+ const IconWrapper$2 = ut(Icon) `
2931
2628
  position: absolute;
2932
2629
  right: 9px;
2933
2630
  z-index: 1;
@@ -2950,11 +2647,11 @@ const Select = (_a) => {
2950
2647
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: js.mdiChevronDown, size: '22px' })));
2951
2648
  };
2952
2649
 
2953
- const DatePickerWrapper = styled.div `
2650
+ const DatePickerWrapper = ut.div `
2954
2651
  display: flex;
2955
2652
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2956
2653
  `;
2957
- const Middle = styled.div `
2654
+ const Middle = ut.div `
2958
2655
  margin: 0px -1px;
2959
2656
  flex-grow: 1;
2960
2657
  `;
@@ -3020,7 +2717,7 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
3020
2717
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: dDate.format('YYYY') }))));
3021
2718
  };
3022
2719
 
3023
- const Scrim$1 = styled.div `
2720
+ const Scrim$1 = ut.div `
3024
2721
  position: ${({ $position }) => $position};
3025
2722
  top: 0;
3026
2723
  right: 0;
@@ -3029,7 +2726,7 @@ const Scrim$1 = styled.div `
3029
2726
  z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
3030
2727
  background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
3031
2728
  `;
3032
- const Container$2 = styled.div `
2729
+ const Container$2 = ut.div `
3033
2730
  z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
3034
2731
  min-width: 400px;
3035
2732
  width: ${({ $width }) => $width || '400px'};
@@ -3047,7 +2744,7 @@ const Container$2 = styled.div `
3047
2744
  box-sizing: border-box;
3048
2745
  background: #fff;
3049
2746
  `;
3050
- const Header$2 = styled.div `
2747
+ const Header$2 = ut.div `
3051
2748
  padding: 30px 20px;
3052
2749
  display: flex;
3053
2750
  align-items: flex-start;
@@ -3055,21 +2752,21 @@ const Header$2 = styled.div `
3055
2752
  flex-shrink: 0;
3056
2753
  background: #fff;
3057
2754
  `;
3058
- const Close$1 = styled.div `
2755
+ const Close$1 = ut.div `
3059
2756
  margin-left: auto;
3060
2757
  display: flex;
3061
2758
  align-items: center;
3062
2759
  padding-left: 20px;
3063
2760
  cursor: pointer;
3064
2761
  `;
3065
- const ContentWrapper$1 = styled.div `
2762
+ const ContentWrapper$1 = ut.div `
3066
2763
  overflow-x: hidden;
3067
2764
  overflow-y: auto;
3068
2765
  box-sizing: border-box;
3069
2766
  flex: 1;
3070
2767
  background: #fff;
3071
2768
  `;
3072
- const ButtonBar$1 = styled.div `
2769
+ const ButtonBar$1 = ut.div `
3073
2770
  padding: 20px;
3074
2771
  display: flex;
3075
2772
  align-items: center;
@@ -3107,12 +2804,12 @@ const Drawer = (_a) => {
3107
2804
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
3108
2805
  };
3109
2806
 
3110
- const Wrapper$b = styled.div `
2807
+ const Wrapper$b = ut.div `
3111
2808
  display: inline-block;
3112
2809
  position: relative;
3113
2810
  height: 16px;
3114
2811
  `;
3115
- const StyledIcon$4 = styled(Icon) `
2812
+ const StyledIcon$4 = ut(Icon) `
3116
2813
  width: 16px;
3117
2814
  height: 16px;
3118
2815
  margin: 0px 6px;
@@ -3148,7 +2845,7 @@ const positions = {
3148
2845
  transform: 'translateY(-50%)',
3149
2846
  },
3150
2847
  };
3151
- 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])));
2848
+ 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])));
3152
2849
  Content$3.defaultProps = { theme: EditableTheme };
3153
2850
  const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }) => {
3154
2851
  const [show_content, toggleContent] = React.useState(false);
@@ -3157,15 +2854,15 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
3157
2854
  show_content ? (React.createElement(Content$3, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
3158
2855
  };
3159
2856
 
3160
- const Wrapper$a = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
3161
- const LabelRow = styled.div `
2857
+ const Wrapper$a = ut.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
2858
+ const LabelRow = ut.div `
3162
2859
  display: flex;
3163
2860
  align-items: center;
3164
2861
  justify-content: space-between;
3165
2862
  margin: 0 0 4px 0;
3166
2863
  box-sizing: border-box;
3167
2864
  `;
3168
- const Label$3 = styled.label `
2865
+ const Label$3 = ut.label `
3169
2866
  font-size: ${FontSizes.DEFAULT};
3170
2867
  font-weight: 500;
3171
2868
  line-height: 1em;
@@ -3174,11 +2871,11 @@ const Label$3 = styled.label `
3174
2871
  display: flex;
3175
2872
  align-items: center;
3176
2873
  `;
3177
- const Required = styled.span `
2874
+ const Required = ut.span `
3178
2875
  color: ${Colors.RED.Hex};
3179
2876
  margin-left: 4px;
3180
2877
  `;
3181
- const Action = styled.span `
2878
+ const Action = ut.span `
3182
2879
  font-size: ${FontSizes.DEFAULT};
3183
2880
  font-weight: 500;
3184
2881
  line-height: 1em;
@@ -3187,7 +2884,7 @@ const Action = styled.span `
3187
2884
  cursor: pointer;
3188
2885
  `;
3189
2886
  Action.defaultProps = { theme: EditableTheme };
3190
- const Description = styled.div `
2887
+ const Description = ut.div `
3191
2888
  font-size: ${FontSizes.SMALL};
3192
2889
  font-weight: 400;
3193
2890
  line-height: 1.3em;
@@ -3196,7 +2893,7 @@ const Description = styled.div `
3196
2893
  margin: 0 0 8px 0;
3197
2894
  box-sizing: border-box;
3198
2895
  `;
3199
- const Validation = styled.div `
2896
+ const Validation = ut.div `
3200
2897
  font-size: ${FontSizes.SMALL};
3201
2898
  font-weight: 400;
3202
2899
  line-height: 1.3em;
@@ -3219,7 +2916,7 @@ const Field = (_a) => {
3219
2916
  validationText ? React.createElement(Validation, null, validationText) : null));
3220
2917
  };
3221
2918
 
3222
- const Wrapper$9 = styled.fieldset `
2919
+ const Wrapper$9 = ut.fieldset `
3223
2920
  margin-inline-start: 0px;
3224
2921
  margin-inline-end: 0px;
3225
2922
  padding-block-start: 0px;
@@ -3232,7 +2929,7 @@ const Wrapper$9 = styled.fieldset `
3232
2929
  border-color: transparent;
3233
2930
  border-image: none;
3234
2931
  `;
3235
- const Label$2 = styled.legend `
2932
+ const Label$2 = ut.legend `
3236
2933
  padding-inline-start: 0px;
3237
2934
  padding-inline-end: 0px;
3238
2935
 
@@ -3243,7 +2940,7 @@ const Label$2 = styled.legend `
3243
2940
  line-height: 22px;
3244
2941
  margin-bottom: 6px;
3245
2942
  `;
3246
- const Content$2 = styled.div `
2943
+ const Content$2 = ut.div `
3247
2944
  padding: 20px;
3248
2945
  border-radius: 8px;
3249
2946
  background: #fcfcfc;
@@ -3254,7 +2951,7 @@ const FieldGroup = ({ children, label }) => {
3254
2951
  React.createElement(Content$2, null, children)));
3255
2952
  };
3256
2953
 
3257
- const Dropzone = styled.div `
2954
+ const Dropzone = ut.div `
3258
2955
  border-radius: 8px;
3259
2956
  border-width: 1px;
3260
2957
  border-style: dashed;
@@ -3263,7 +2960,7 @@ const Dropzone = styled.div `
3263
2960
  cursor: copy;
3264
2961
  `;
3265
2962
  Dropzone.defaultProps = { theme: EditableTheme };
3266
- const IconWrapper$1 = styled.div `
2963
+ const IconWrapper$1 = ut.div `
3267
2964
  width: 80px;
3268
2965
  height: 80px;
3269
2966
  border-radius: 40px;
@@ -3272,7 +2969,7 @@ const IconWrapper$1 = styled.div `
3272
2969
  align-items: center;
3273
2970
  justify-content: center;
3274
2971
  `;
3275
- const StyledIcon$3 = styled(Icon) `
2972
+ const StyledIcon$3 = ut(Icon) `
3276
2973
  width: 40px !important;
3277
2974
  height: 40px !important;
3278
2975
 
@@ -3280,27 +2977,27 @@ const StyledIcon$3 = styled(Icon) `
3280
2977
  fill: ${Colors.GRAY.Hex} !important;
3281
2978
  }
3282
2979
  `;
3283
- const ClickZone = styled.div `
2980
+ const ClickZone = ut.div `
3284
2981
  margin: 40px 20px;
3285
2982
  display: flex;
3286
2983
  flex-direction: column;
3287
2984
  align-items: center;
3288
2985
  gap: 16px;
3289
2986
  `;
3290
- const Content$1 = styled.div `
2987
+ const Content$1 = ut.div `
3291
2988
  display: flex;
3292
2989
  flex-direction: column;
3293
2990
  align-items: center;
3294
2991
  gap: 2px;
3295
2992
  `;
3296
- const Files = styled.div `
2993
+ const Files = ut.div `
3297
2994
  display: flex;
3298
2995
  flex-direction: column;
3299
2996
  align-self: stretch;
3300
2997
  gap: 10px;
3301
2998
  margin: 20px;
3302
2999
  `;
3303
- const File = styled.div `
3000
+ const File = ut.div `
3304
3001
  display: flex;
3305
3002
  padding: 10px;
3306
3003
  align-items: center;
@@ -3310,7 +3007,7 @@ const File = styled.div `
3310
3007
  border: 1px solid #cccccc;
3311
3008
  background: #ffffff;
3312
3009
  `;
3313
- const Remove$1 = styled(Icon) `
3010
+ const Remove$1 = ut(Icon) `
3314
3011
  width: 24px;
3315
3012
  height: 24px;
3316
3013
  cursor: pointer;
@@ -3504,7 +3201,7 @@ const formatAsSsn = (number) => {
3504
3201
  return formatted_value;
3505
3202
  };
3506
3203
 
3507
- const StyledInput = styled.input `
3204
+ const StyledInput = ut.input `
3508
3205
  border: none !important;
3509
3206
  background: none !important;
3510
3207
  font-size: ${FontSizes.DEFAULT};
@@ -3525,7 +3222,7 @@ const StyledInput = styled.input `
3525
3222
  display: block;
3526
3223
  width: 100%;
3527
3224
  `;
3528
- const StyledSuffix = styled.div `
3225
+ const StyledSuffix = ut.div `
3529
3226
  box-sizing: border-box;
3530
3227
  border-radius: 0px 4px 4px 0px;
3531
3228
  display: flex;
@@ -3543,7 +3240,7 @@ const StyledSuffix = styled.div `
3543
3240
  font-size: ${FontSizes.DEFAULT};
3544
3241
  color: Colors.BLACK.Hex;
3545
3242
  `;
3546
- const StyledWrapper = styled.div `
3243
+ const StyledWrapper = ut.div `
3547
3244
  display: flex;
3548
3245
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
3549
3246
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -3558,7 +3255,7 @@ const StyledWrapper = styled.div `
3558
3255
  }
3559
3256
  `;
3560
3257
  StyledWrapper.defaultProps = { theme: EditableTheme };
3561
- const StyledTextarea = styled.textarea `
3258
+ const StyledTextarea = ut.textarea `
3562
3259
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
3563
3260
  border-radius: 4px;
3564
3261
  border-width: 1px;
@@ -3587,7 +3284,7 @@ const StyledTextarea = styled.textarea `
3587
3284
  }
3588
3285
  `;
3589
3286
  StyledTextarea.defaultProps = { theme: EditableTheme };
3590
- const SuggestedValues = styled.div `
3287
+ const SuggestedValues = ut.div `
3591
3288
  background: #fff;
3592
3289
  box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
3593
3290
  border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
@@ -3604,7 +3301,7 @@ const SuggestedValues = styled.div `
3604
3301
  overflow: auto;
3605
3302
  `;
3606
3303
  SuggestedValues.defaultProps = { theme: EditableTheme };
3607
- const SuggestedSummary = styled.div `
3304
+ const SuggestedSummary = ut.div `
3608
3305
  color: ${Colors.MEDIUM_GRAY.Hex};
3609
3306
  font-size: 12px;
3610
3307
  font-family: ${FontStyles.DEFAULT};
@@ -3617,7 +3314,7 @@ const SuggestedSummary = styled.div `
3617
3314
  position: sticky;
3618
3315
  top: 0px;
3619
3316
  `;
3620
- const SuggestedValue = styled.div `
3317
+ const SuggestedValue = ut.div `
3621
3318
  cursor: pointer;
3622
3319
  padding: 8px 12px;
3623
3320
  font-size: ${FontSizes.DEFAULT};
@@ -3690,7 +3387,7 @@ const Input$1 = (_a) => {
3690
3387
  }))) : null));
3691
3388
  };
3692
3389
 
3693
- const Wrapper$8 = styled.a `
3390
+ const Wrapper$8 = ut.a `
3694
3391
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
3695
3392
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
3696
3393
  line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
@@ -3710,7 +3407,7 @@ const Link = (_a) => {
3710
3407
  return (React.createElement(Wrapper$8, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
3711
3408
  };
3712
3409
 
3713
- const dash = We `
3410
+ const dash = ht `
3714
3411
  0% {
3715
3412
  stroke-dasharray: 1, 160;
3716
3413
  stroke-dashoffset: 0;
@@ -3724,7 +3421,7 @@ const dash = We `
3724
3421
  stroke-dashoffset: -124;
3725
3422
  }
3726
3423
  `;
3727
- const Spinner = styled.svg `
3424
+ const Spinner = ut.svg `
3728
3425
  z-index: 2;
3729
3426
  position: absolute;
3730
3427
  top: 50%;
@@ -3733,7 +3430,7 @@ const Spinner = styled.svg `
3733
3430
  width: 40px;
3734
3431
  height: 40px;
3735
3432
  `;
3736
- const Path = styled.path `
3433
+ const Path = ut.path `
3737
3434
  stroke: #0193d7;
3738
3435
  stroke-linecap: round;
3739
3436
  -webkit-animation: ${dash} 1.1s ease-in-out infinite;
@@ -3786,7 +3483,7 @@ const Logo = (_a) => {
3786
3483
  }
3787
3484
  };
3788
3485
 
3789
- const Steps = styled.div `
3486
+ const Steps = ut.div `
3790
3487
  padding: 20px;
3791
3488
  border-bottom: 1px solid #e7e6e6;
3792
3489
  background: #f5f5f5;
@@ -3794,18 +3491,18 @@ const Steps = styled.div `
3794
3491
  gap: 30px;
3795
3492
  align-items: center;
3796
3493
  `;
3797
- const Step = styled.div `
3494
+ const Step = ut.div `
3798
3495
  display: flex;
3799
3496
  align-items: center;
3800
3497
  gap: 8px;
3801
3498
  `;
3802
- const StyledIcon$2 = styled(Icon) `
3499
+ const StyledIcon$2 = ut(Icon) `
3803
3500
  > path {
3804
3501
  fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
3805
3502
  }
3806
3503
  `;
3807
3504
  StyledIcon$2.defaultProps = { theme: EditableTheme };
3808
- const StepIndicator = styled.div `
3505
+ const StepIndicator = ut.div `
3809
3506
  width: 30px;
3810
3507
  height: 30px;
3811
3508
  border-radius: 15px;
@@ -3821,7 +3518,7 @@ const StepIndicator = styled.div `
3821
3518
  flex-shrink: 0;
3822
3519
  `;
3823
3520
  StepIndicator.defaultProps = { theme: EditableTheme };
3824
- const StepLabel = styled.div `
3521
+ const StepLabel = ut.div `
3825
3522
  color: #000;
3826
3523
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
3827
3524
  font-size: 14px;
@@ -3836,7 +3533,7 @@ const ProgressBar = ({ steps }) => {
3836
3533
  })));
3837
3534
  };
3838
3535
 
3839
- const Wrapper$7 = styled.div `
3536
+ const Wrapper$7 = ut.div `
3840
3537
  position: fixed;
3841
3538
  top: 0;
3842
3539
  right: 0;
@@ -3848,7 +3545,7 @@ const Wrapper$7 = styled.div `
3848
3545
  align-items: center;
3849
3546
  justify-content: center;
3850
3547
  `;
3851
- const Container$1 = styled.dialog `
3548
+ const Container$1 = ut.dialog `
3852
3549
  width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
3853
3550
  max-width: calc(100vw - 80px);
3854
3551
  height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
@@ -3864,7 +3561,7 @@ const Container$1 = styled.dialog `
3864
3561
  display: flex;
3865
3562
  flex-direction: column;
3866
3563
  `;
3867
- const Header$1 = styled.div `
3564
+ const Header$1 = ut.div `
3868
3565
  flex-shrink: 0;
3869
3566
  padding: 20px;
3870
3567
  border-bottom: 1px solid #e7e6e6;
@@ -3873,28 +3570,28 @@ const Header$1 = styled.div `
3873
3570
  background: #ffffff;
3874
3571
  box-sizing: border-box;
3875
3572
  `;
3876
- const Close = styled.div `
3573
+ const Close = ut.div `
3877
3574
  margin-left: auto;
3878
3575
  display: flex;
3879
3576
  align-items: center;
3880
3577
  padding-left: 20px;
3881
3578
  cursor: pointer;
3882
3579
  `;
3883
- const CloseMsg = styled.span `
3580
+ const CloseMsg = ut.span `
3884
3581
  font-size: ${FontSizes.SMALL};
3885
3582
  font-weight: 400;
3886
3583
  font-family: ${FontStyles.DEFAULT};
3887
3584
  line-height: 1em;
3888
3585
  color: ${Colors.MEDIUM_GRAY.Hex};
3889
3586
  `;
3890
- const ContentWrapper = styled.div `
3587
+ const ContentWrapper = ut.div `
3891
3588
  overflow-x: hidden;
3892
3589
  overflow-y: auto;
3893
3590
  background: #ffffff;
3894
3591
  flex: 1;
3895
3592
  box-sizing: border-box;
3896
3593
  `;
3897
- const ButtonBar = styled.div `
3594
+ const ButtonBar = ut.div `
3898
3595
  flex-shrink: 0;
3899
3596
  background: #ffffff;
3900
3597
  padding: 20px;
@@ -3937,11 +3634,11 @@ const Modal = (_a) => {
3937
3634
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: 'primary', margin: '0px 0px 0px 10px' }))) : null)) : null)) : null)));
3938
3635
  };
3939
3636
 
3940
- const Wrapper$6 = styled.div `
3637
+ const Wrapper$6 = ut.div `
3941
3638
  position: relative;
3942
3639
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
3943
3640
  `;
3944
- const Trigger = styled.div `
3641
+ const Trigger = ut.div `
3945
3642
  box-sizing: border-box;
3946
3643
  border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
3947
3644
  height: 40px;
@@ -3970,7 +3667,7 @@ const Trigger = styled.div `
3970
3667
  z-index: 1;
3971
3668
  `;
3972
3669
  Trigger.defaultProps = { theme: EditableTheme };
3973
- const Value = styled.div `
3670
+ const Value = ut.div `
3974
3671
  color: ${Colors.BLACK.Hex};
3975
3672
  font-family: ${FontStyles.DEFAULT};
3976
3673
  font-size: ${FontSizes.DEFAULT};
@@ -3981,7 +3678,7 @@ const Value = styled.div `
3981
3678
  white-space: nowrap;
3982
3679
  width: 100%;
3983
3680
  `;
3984
- const Options = styled.div `
3681
+ const Options = ut.div `
3985
3682
  background: #fff;
3986
3683
  box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
3987
3684
  border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
@@ -3997,7 +3694,7 @@ const Options = styled.div `
3997
3694
  overflow: auto;
3998
3695
  `;
3999
3696
  Options.defaultProps = { theme: EditableTheme };
4000
- const Scrim = styled.div `
3697
+ const Scrim = ut.div `
4001
3698
  bottom: 0;
4002
3699
  left: 0;
4003
3700
  position: fixed;
@@ -4020,7 +3717,7 @@ const MultiSelect = (_a) => {
4020
3717
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
4021
3718
  };
4022
3719
 
4023
- const Wrapper$5 = styled.div `
3720
+ const Wrapper$5 = ut.div `
4024
3721
  display: inline-block;
4025
3722
  border-radius: 4px;
4026
3723
  padding: 4px 6px;
@@ -4029,18 +3726,18 @@ const Wrapper$5 = styled.div `
4029
3726
  box-sizing: border-box;
4030
3727
  cursor: ${props => (props.$removable ? 'pointer' : 'default')};
4031
3728
  `;
4032
- const Content = styled.div `
3729
+ const Content = ut.div `
4033
3730
  display: flex;
4034
3731
  align-items: center;
4035
3732
  `;
4036
- const Label$1 = styled.div `
3733
+ const Label$1 = ut.div `
4037
3734
  color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
4038
3735
  font-size: ${FontSizes.SMALL};
4039
3736
  font-weight: 500;
4040
3737
  font-family: ${FontStyles.DEFAULT};
4041
3738
  line-height: 1.2em;
4042
3739
  `;
4043
- const Remove = styled.div `
3740
+ const Remove = ut.div `
4044
3741
  margin-left: 10px;
4045
3742
  display: flex;
4046
3743
  align-items: center;
@@ -4054,7 +3751,7 @@ const Tag = (_a) => {
4054
3751
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: js.mdiClose, size: '15px' }))) : null)));
4055
3752
  };
4056
3753
 
4057
- const Wrapper$4 = styled.div `
3754
+ const Wrapper$4 = ut.div `
4058
3755
  display: flex;
4059
3756
  padding: 16px 30px;
4060
3757
  align-items: center;
@@ -4062,24 +3759,24 @@ const Wrapper$4 = styled.div `
4062
3759
  align-self: stretch;
4063
3760
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
4064
3761
  `;
4065
- const Title = styled.div `
3762
+ const Title = ut.div `
4066
3763
  display: flex;
4067
3764
  align-items: center;
4068
3765
  gap: 20px;
4069
3766
  `;
4070
- const Info = styled.div `
3767
+ const Info = ut.div `
4071
3768
  display: flex;
4072
3769
  flex-direction: column;
4073
3770
  align-items: flex-start;
4074
3771
  gap: 4px;
4075
3772
  flex: 1 0 0;
4076
3773
  `;
4077
- const Breadcrumbs = styled.div `
3774
+ const Breadcrumbs = ut.div `
4078
3775
  display: flex;
4079
3776
  align-items: center;
4080
3777
  gap: 4px;
4081
3778
  `;
4082
- const Actions = styled.div `
3779
+ const Actions = ut.div `
4083
3780
  display: flex;
4084
3781
  align-items: center;
4085
3782
  gap: 8px;
@@ -4104,7 +3801,7 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
4104
3801
  menuItems.length ? (React.createElement(ButtonMenu, { format: format, label: label, menuItems: menuItems, small: true })) : null)) : null));
4105
3802
  };
4106
3803
 
4107
- const Wrapper$3 = styled.nav `
3804
+ const Wrapper$3 = ut.nav `
4108
3805
  box-sizing: border-box;
4109
3806
  display: flex;
4110
3807
  align-items: center;
@@ -4139,7 +3836,7 @@ const Pagination = (_a) => {
4139
3836
  React.createElement(Button, { disabled: is_last_page, icon: js.mdiChevronRight, onClick: handleNextClick, small: true })));
4140
3837
  };
4141
3838
 
4142
- const Wrapper$2 = styled.label `
3839
+ const Wrapper$2 = ut.label `
4143
3840
  border-radius: 4px;
4144
3841
  padding: 4px 0px 4px 6px;
4145
3842
  margin-left: -6px;
@@ -4155,12 +3852,12 @@ const Wrapper$2 = styled.label `
4155
3852
  }
4156
3853
  `;
4157
3854
  Wrapper$2.defaultProps = { theme: EditableTheme };
4158
- const Input = styled.input `
3855
+ const Input = ut.input `
4159
3856
  font-size: 20px;
4160
3857
  margin: 0px 0px 2px 0px;
4161
3858
  line-height: 1.1em;
4162
3859
  `;
4163
- const Label = styled.span `
3860
+ const Label = ut.span `
4164
3861
  font-family: ${FontStyles.DEFAULT};
4165
3862
  font-size: ${FontSizes.DEFAULT};
4166
3863
  font-weight: 400;
@@ -4183,7 +3880,7 @@ const RadioList = (_a) => {
4183
3880
  })));
4184
3881
  };
4185
3882
 
4186
- const StyledTable = styled.table `
3883
+ const StyledTable = ut.table `
4187
3884
  width: 100%;
4188
3885
  margin-top: 1px;
4189
3886
  table-layout: ${props => props.$tableLayout || 'auto'};
@@ -4193,7 +3890,7 @@ const StyledTable = styled.table `
4193
3890
  border-color: none;
4194
3891
  box-sizing: border-box;
4195
3892
  `;
4196
- const Header = styled.th `
3893
+ const Header = ut.th `
4197
3894
  padding: 12px !important;
4198
3895
  text-align: left;
4199
3896
  font-weight: 500;
@@ -4212,7 +3909,7 @@ const Header = styled.th `
4212
3909
  color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
4213
3910
  `;
4214
3911
  Header.defaultProps = { theme: EditableTheme };
4215
- const Row = styled.tr `
3912
+ const Row = ut.tr `
4216
3913
  cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
4217
3914
  transition: all 0.2s;
4218
3915
  background-color: ${props => props.$bgColor};
@@ -4222,7 +3919,7 @@ const Row = styled.tr `
4222
3919
  }
4223
3920
  `;
4224
3921
  Row.defaultProps = { theme: EditableTheme };
4225
- const Column = styled.td `
3922
+ const Column = ut.td `
4226
3923
  padding: 16px 12px !important;
4227
3924
  font-size: ${FontSizes.DEFAULT} !important;
4228
3925
  font-weight: 400 !important;
@@ -4233,13 +3930,13 @@ const Column = styled.td `
4233
3930
  box-sizing: border-box;
4234
3931
  width: ${props => props.$width || 'auto'};
4235
3932
  `;
4236
- const IconWrapper = styled.span `
3933
+ const IconWrapper = ut.span `
4237
3934
  position: absolute;
4238
3935
  top: 50%;
4239
3936
  transform: translateY(-50%);
4240
3937
  margin-left: 2px;
4241
3938
  `;
4242
- const StyledIcon$1 = styled(Icon) `
3939
+ const StyledIcon$1 = ut(Icon) `
4243
3940
  > path {
4244
3941
  fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
4245
3942
  }
@@ -4262,7 +3959,7 @@ const Table = (_a) => {
4262
3959
  }))) : null));
4263
3960
  };
4264
3961
 
4265
- const Wrapper$1 = styled.div `
3962
+ const Wrapper$1 = ut.div `
4266
3963
  display: flex;
4267
3964
  box-sizing: border-box;
4268
3965
  align-items: flex-end;
@@ -4273,7 +3970,7 @@ const Wrapper$1 = styled.div `
4273
3970
  padding: 0;
4274
3971
  margin: 0;
4275
3972
  `;
4276
- const Tab = styled.div `
3973
+ const Tab = ut.div `
4277
3974
  display: flex;
4278
3975
  align-items: center;
4279
3976
  gap: 6px;
@@ -4295,7 +3992,7 @@ const Tab = styled.div `
4295
3992
  }
4296
3993
  `;
4297
3994
  Tab.defaultProps = { theme: EditableTheme };
4298
- const Badge = styled.div `
3995
+ const Badge = ut.div `
4299
3996
  display: flex;
4300
3997
  width: 18px;
4301
3998
  height: 18px;
@@ -4322,7 +4019,7 @@ const Tabs = (_a) => {
4322
4019
  };
4323
4020
  Tabs.defaultProps = {};
4324
4021
 
4325
- const Track = styled.div `
4022
+ const Track = ut.div `
4326
4023
  height: 24px;
4327
4024
  border-radius: 12px;
4328
4025
  background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
@@ -4333,7 +4030,7 @@ const Track = styled.div `
4333
4030
  padding: 2px;
4334
4031
  box-sizing: border-box;
4335
4032
  `;
4336
- const Handle = styled.div `
4033
+ const Handle = ut.div `
4337
4034
  width: 20px;
4338
4035
  height: 20px;
4339
4036
  border-radius: 10px;
@@ -4353,7 +4050,7 @@ const Toggle = (_a) => {
4353
4050
  };
4354
4051
  Toggle.defaultProps = {};
4355
4052
 
4356
- const Container = styled.div `
4053
+ const Container = ut.div `
4357
4054
  width: 100%;
4358
4055
  padding: 40px auto;
4359
4056
  gap: 20px;
@@ -4362,14 +4059,14 @@ const Container = styled.div `
4362
4059
  justify-items: center;
4363
4060
  align-items: center;
4364
4061
  `;
4365
- const Wrapper = styled.div `
4062
+ const Wrapper = ut.div `
4366
4063
  gap: 10px;
4367
4064
  display: flex;
4368
4065
  flex-direction: column;
4369
4066
  justify-items: center;
4370
4067
  align-items: center;
4371
4068
  `;
4372
- const StyledIcon = styled.div `
4069
+ const StyledIcon = ut.div `
4373
4070
  display: flex;
4374
4071
  align-items: center;
4375
4072
  justify-content: center;