@hexure/ui 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,6 +1,8 @@
1
- import React, { useRef, useDebugValue, createElement, useContext, useState, useEffect } from 'react';
1
+ import React, { useContext, useState, useEffect, useRef } from 'react';
2
+ import styled, { ThemeContext, keyframes } from 'styled-components';
2
3
  import Icon, { Icon as Icon$1 } from '@mdi/react';
3
4
  import { mdiChevronUp, mdiChevronDown, mdiLoading, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiDotsHorizontal, mdiClose, mdiMinusCircle, mdiFolderPlusOutline, mdiChevronRight, mdiChevronLeft, mdiCheck } from '@mdi/js';
5
+ import dayjs from 'dayjs';
4
6
  import Numeral from 'numeral';
5
7
  import Moment from 'moment';
6
8
 
@@ -20,16 +22,6 @@ PERFORMANCE OF THIS SOFTWARE.
20
22
  ***************************************************************************** */
21
23
  /* global Reflect, Promise */
22
24
 
23
- var __assign = function () {
24
- __assign = Object.assign || function __assign(t) {
25
- for (var s, i = 1, n = arguments.length; i < n; i++) {
26
- s = arguments[i];
27
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
28
- }
29
- return t;
30
- };
31
- return __assign.apply(this, arguments);
32
- };
33
25
  function __rest(s, e) {
34
26
  var t = {};
35
27
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -38,1633 +30,6 @@ function __rest(s, e) {
38
30
  }
39
31
  return t;
40
32
  }
41
- function __spreadArray(to, from, pack) {
42
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
43
- if (ar || !(i in from)) {
44
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
45
- ar[i] = from[i];
46
- }
47
- }
48
- return to.concat(ar || Array.prototype.slice.call(from));
49
- }
50
-
51
- function memoize(fn) {
52
- var cache = Object.create(null);
53
- return function (arg) {
54
- if (cache[arg] === undefined) cache[arg] = fn(arg);
55
- return cache[arg];
56
- };
57
- }
58
-
59
- var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
60
-
61
- var isPropValid = /* #__PURE__ */memoize(function (prop) {
62
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
63
- /* o */ && prop.charCodeAt(1) === 110
64
- /* n */ && prop.charCodeAt(2) < 91;
65
- }
66
- /* Z+1 */);
67
-
68
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
69
-
70
- function getDefaultExportFromCjs (x) {
71
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
72
- }
73
-
74
- var MS = '-ms-';
75
- var MOZ = '-moz-';
76
- var WEBKIT = '-webkit-';
77
- var COMMENT = 'comm';
78
- var RULESET = 'rule';
79
- var DECLARATION = 'decl';
80
- var IMPORT = '@import';
81
- var KEYFRAMES = '@keyframes';
82
- var LAYER = '@layer';
83
-
84
- /**
85
- * @param {number}
86
- * @return {number}
87
- */
88
- var abs = Math.abs;
89
-
90
- /**
91
- * @param {number}
92
- * @return {string}
93
- */
94
- var from = String.fromCharCode;
95
-
96
- /**
97
- * @param {object}
98
- * @return {object}
99
- */
100
- var assign = Object.assign;
101
-
102
- /**
103
- * @param {string} value
104
- * @param {number} length
105
- * @return {number}
106
- */
107
- function hash(value, length) {
108
- return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
109
- }
110
-
111
- /**
112
- * @param {string} value
113
- * @return {string}
114
- */
115
- function trim(value) {
116
- return value.trim();
117
- }
118
-
119
- /**
120
- * @param {string} value
121
- * @param {RegExp} pattern
122
- * @return {string?}
123
- */
124
- function match(value, pattern) {
125
- return (value = pattern.exec(value)) ? value[0] : value;
126
- }
127
-
128
- /**
129
- * @param {string} value
130
- * @param {(string|RegExp)} pattern
131
- * @param {string} replacement
132
- * @return {string}
133
- */
134
- function replace(value, pattern, replacement) {
135
- return value.replace(pattern, replacement);
136
- }
137
-
138
- /**
139
- * @param {string} value
140
- * @param {string} search
141
- * @param {number} position
142
- * @return {number}
143
- */
144
- function indexof(value, search, position) {
145
- return value.indexOf(search, position);
146
- }
147
-
148
- /**
149
- * @param {string} value
150
- * @param {number} index
151
- * @return {number}
152
- */
153
- function charat(value, index) {
154
- return value.charCodeAt(index) | 0;
155
- }
156
-
157
- /**
158
- * @param {string} value
159
- * @param {number} begin
160
- * @param {number} end
161
- * @return {string}
162
- */
163
- function substr(value, begin, end) {
164
- return value.slice(begin, end);
165
- }
166
-
167
- /**
168
- * @param {string} value
169
- * @return {number}
170
- */
171
- function strlen(value) {
172
- return value.length;
173
- }
174
-
175
- /**
176
- * @param {any[]} value
177
- * @return {number}
178
- */
179
- function sizeof(value) {
180
- return value.length;
181
- }
182
-
183
- /**
184
- * @param {any} value
185
- * @param {any[]} array
186
- * @return {any}
187
- */
188
- function append(value, array) {
189
- return array.push(value), value;
190
- }
191
-
192
- /**
193
- * @param {string[]} array
194
- * @param {function} callback
195
- * @return {string}
196
- */
197
- function combine(array, callback) {
198
- return array.map(callback).join('');
199
- }
200
-
201
- /**
202
- * @param {string[]} array
203
- * @param {RegExp} pattern
204
- * @return {string[]}
205
- */
206
- function filter(array, pattern) {
207
- return array.filter(function (value) {
208
- return !match(value, pattern);
209
- });
210
- }
211
-
212
- var line = 1;
213
- var column = 1;
214
- var length = 0;
215
- var position = 0;
216
- var character = 0;
217
- var characters = '';
218
-
219
- /**
220
- * @param {string} value
221
- * @param {object | null} root
222
- * @param {object | null} parent
223
- * @param {string} type
224
- * @param {string[] | string} props
225
- * @param {object[] | string} children
226
- * @param {object[]} siblings
227
- * @param {number} length
228
- */
229
- function node(value, root, parent, type, props, children, length, siblings) {
230
- return {
231
- value: value,
232
- root: root,
233
- parent: parent,
234
- type: type,
235
- props: props,
236
- children: children,
237
- line: line,
238
- column: column,
239
- length: length,
240
- return: '',
241
- siblings: siblings
242
- };
243
- }
244
-
245
- /**
246
- * @param {object} root
247
- * @param {object} props
248
- * @return {object}
249
- */
250
- function copy(root, props) {
251
- return assign(node('', null, null, '', null, null, 0, root.siblings), root, {
252
- length: -root.length
253
- }, props);
254
- }
255
-
256
- /**
257
- * @param {object} root
258
- */
259
- function lift(root) {
260
- while (root.root) root = copy(root.root, {
261
- children: [root]
262
- });
263
- append(root, root.siblings);
264
- }
265
-
266
- /**
267
- * @return {number}
268
- */
269
- function char() {
270
- return character;
271
- }
272
-
273
- /**
274
- * @return {number}
275
- */
276
- function prev() {
277
- character = position > 0 ? charat(characters, --position) : 0;
278
- if (column--, character === 10) column = 1, line--;
279
- return character;
280
- }
281
-
282
- /**
283
- * @return {number}
284
- */
285
- function next() {
286
- character = position < length ? charat(characters, position++) : 0;
287
- if (column++, character === 10) column = 1, line++;
288
- return character;
289
- }
290
-
291
- /**
292
- * @return {number}
293
- */
294
- function peek() {
295
- return charat(characters, position);
296
- }
297
-
298
- /**
299
- * @return {number}
300
- */
301
- function caret() {
302
- return position;
303
- }
304
-
305
- /**
306
- * @param {number} begin
307
- * @param {number} end
308
- * @return {string}
309
- */
310
- function slice(begin, end) {
311
- return substr(characters, begin, end);
312
- }
313
-
314
- /**
315
- * @param {number} type
316
- * @return {number}
317
- */
318
- function token(type) {
319
- switch (type) {
320
- // \0 \t \n \r \s whitespace token
321
- case 0:
322
- case 9:
323
- case 10:
324
- case 13:
325
- case 32:
326
- return 5;
327
- // ! + , / > @ ~ isolate token
328
- case 33:
329
- case 43:
330
- case 44:
331
- case 47:
332
- case 62:
333
- case 64:
334
- case 126:
335
- // ; { } breakpoint token
336
- case 59:
337
- case 123:
338
- case 125:
339
- return 4;
340
- // : accompanied token
341
- case 58:
342
- return 3;
343
- // " ' ( [ opening delimit token
344
- case 34:
345
- case 39:
346
- case 40:
347
- case 91:
348
- return 2;
349
- // ) ] closing delimit token
350
- case 41:
351
- case 93:
352
- return 1;
353
- }
354
- return 0;
355
- }
356
-
357
- /**
358
- * @param {string} value
359
- * @return {any[]}
360
- */
361
- function alloc(value) {
362
- return line = column = 1, length = strlen(characters = value), position = 0, [];
363
- }
364
-
365
- /**
366
- * @param {any} value
367
- * @return {any}
368
- */
369
- function dealloc(value) {
370
- return characters = '', value;
371
- }
372
-
373
- /**
374
- * @param {number} type
375
- * @return {string}
376
- */
377
- function delimit(type) {
378
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
379
- }
380
-
381
- /**
382
- * @param {number} type
383
- * @return {string}
384
- */
385
- function whitespace(type) {
386
- while (character = peek()) if (character < 33) next();else break;
387
- return token(type) > 2 || token(character) > 3 ? '' : ' ';
388
- }
389
-
390
- /**
391
- * @param {number} index
392
- * @param {number} count
393
- * @return {string}
394
- */
395
- function escaping(index, count) {
396
- while (--count && next())
397
- // not 0-9 A-F a-f
398
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
399
- return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
400
- }
401
-
402
- /**
403
- * @param {number} type
404
- * @return {number}
405
- */
406
- function delimiter(type) {
407
- while (next()) switch (character) {
408
- // ] ) " '
409
- case type:
410
- return position;
411
- // " '
412
- case 34:
413
- case 39:
414
- if (type !== 34 && type !== 39) delimiter(character);
415
- break;
416
- // (
417
- case 40:
418
- if (type === 41) delimiter(type);
419
- break;
420
- // \
421
- case 92:
422
- next();
423
- break;
424
- }
425
- return position;
426
- }
427
-
428
- /**
429
- * @param {number} type
430
- * @param {number} index
431
- * @return {number}
432
- */
433
- function commenter(type, index) {
434
- while (next())
435
- // //
436
- if (type + character === 47 + 10) break;
437
- // /*
438
- else if (type + character === 42 + 42 && peek() === 47) break;
439
- return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
440
- }
441
-
442
- /**
443
- * @param {number} index
444
- * @return {string}
445
- */
446
- function identifier(index) {
447
- while (!token(peek())) next();
448
- return slice(index, position);
449
- }
450
-
451
- /**
452
- * @param {string} value
453
- * @return {object[]}
454
- */
455
- function compile(value) {
456
- return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value));
457
- }
458
-
459
- /**
460
- * @param {string} value
461
- * @param {object} root
462
- * @param {object?} parent
463
- * @param {string[]} rule
464
- * @param {string[]} rules
465
- * @param {string[]} rulesets
466
- * @param {number[]} pseudo
467
- * @param {number[]} points
468
- * @param {string[]} declarations
469
- * @return {object}
470
- */
471
- function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
472
- var index = 0;
473
- var offset = 0;
474
- var length = pseudo;
475
- var atrule = 0;
476
- var property = 0;
477
- var previous = 0;
478
- var variable = 1;
479
- var scanning = 1;
480
- var ampersand = 1;
481
- var character = 0;
482
- var type = '';
483
- var props = rules;
484
- var children = rulesets;
485
- var reference = rule;
486
- var characters = type;
487
- while (scanning) switch (previous = character, character = next()) {
488
- // (
489
- case 40:
490
- if (previous != 108 && charat(characters, length - 1) == 58) {
491
- if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1;
492
- break;
493
- }
494
- // " ' [
495
- case 34:
496
- case 39:
497
- case 91:
498
- characters += delimit(character);
499
- break;
500
- // \t \n \r \s
501
- case 9:
502
- case 10:
503
- case 13:
504
- case 32:
505
- characters += whitespace(previous);
506
- break;
507
- // \
508
- case 92:
509
- characters += escaping(caret() - 1, 7);
510
- continue;
511
- // /
512
- case 47:
513
- switch (peek()) {
514
- case 42:
515
- case 47:
516
- append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
517
- break;
518
- default:
519
- characters += '/';
520
- }
521
- break;
522
- // {
523
- case 123 * variable:
524
- points[index++] = strlen(characters) * ampersand;
525
- // } ; \0
526
- case 125 * variable:
527
- case 59:
528
- case 0:
529
- switch (character) {
530
- // \0 }
531
- case 0:
532
- case 125:
533
- scanning = 0;
534
- // ;
535
- case 59 + offset:
536
- if (ampersand == -1) characters = replace(characters, /\f/g, '');
537
- if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
538
- break;
539
- // @ ;
540
- case 59:
541
- characters += ';';
542
- // { rule/at-rule
543
- default:
544
- append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
545
- if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
546
- // d l m s
547
- case 100:
548
- case 108:
549
- case 109:
550
- case 115:
551
- parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
552
- break;
553
- default:
554
- parse(characters, reference, reference, reference, [''], children, 0, points, children);
555
- }
556
- }
557
- index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
558
- break;
559
- // :
560
- case 58:
561
- length = 1 + strlen(characters), property = previous;
562
- default:
563
- if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
564
- switch (characters += from(character), character * variable) {
565
- // &
566
- case 38:
567
- ampersand = offset > 0 ? 1 : (characters += '\f', -1);
568
- break;
569
- // ,
570
- case 44:
571
- points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
572
- break;
573
- // @
574
- case 64:
575
- // -
576
- if (peek() === 45) characters += delimit(next());
577
- atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
578
- break;
579
- // -
580
- case 45:
581
- if (previous === 45 && strlen(characters) == 2) variable = 0;
582
- }
583
- }
584
- return rulesets;
585
- }
586
-
587
- /**
588
- * @param {string} value
589
- * @param {object} root
590
- * @param {object?} parent
591
- * @param {number} index
592
- * @param {number} offset
593
- * @param {string[]} rules
594
- * @param {number[]} points
595
- * @param {string} type
596
- * @param {string[]} props
597
- * @param {string[]} children
598
- * @param {number} length
599
- * @param {object[]} siblings
600
- * @return {object}
601
- */
602
- function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
603
- var post = offset - 1;
604
- var rule = offset === 0 ? rules : [''];
605
- var size = sizeof(rule);
606
- for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
607
- return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings);
608
- }
609
-
610
- /**
611
- * @param {number} value
612
- * @param {object} root
613
- * @param {object?} parent
614
- * @param {object[]} siblings
615
- * @return {object}
616
- */
617
- function comment(value, root, parent, siblings) {
618
- return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings);
619
- }
620
-
621
- /**
622
- * @param {string} value
623
- * @param {object} root
624
- * @param {object?} parent
625
- * @param {number} length
626
- * @param {object[]} siblings
627
- * @return {object}
628
- */
629
- function declaration(value, root, parent, length, siblings) {
630
- return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings);
631
- }
632
-
633
- /**
634
- * @param {string} value
635
- * @param {number} length
636
- * @param {object[]} children
637
- * @return {string}
638
- */
639
- function prefix(value, length, children) {
640
- switch (hash(value, length)) {
641
- // color-adjust
642
- case 5103:
643
- return WEBKIT + 'print-' + value + value;
644
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
645
- case 5737:
646
- case 4201:
647
- case 3177:
648
- case 3433:
649
- case 1641:
650
- case 4457:
651
- case 2921:
652
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
653
- case 5572:
654
- case 6356:
655
- case 5844:
656
- case 3191:
657
- case 6645:
658
- case 3005:
659
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
660
- case 6391:
661
- case 5879:
662
- case 5623:
663
- case 6135:
664
- case 4599:
665
- case 4855:
666
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
667
- case 4215:
668
- case 6389:
669
- case 5109:
670
- case 5365:
671
- case 5621:
672
- case 3829:
673
- return WEBKIT + value + value;
674
- // tab-size
675
- case 4789:
676
- return MOZ + value + value;
677
- // appearance, user-select, transform, hyphens, text-size-adjust
678
- case 5349:
679
- case 4246:
680
- case 4810:
681
- case 6968:
682
- case 2756:
683
- return WEBKIT + value + MOZ + value + MS + value + value;
684
- // writing-mode
685
- case 5936:
686
- switch (charat(value, length + 11)) {
687
- // vertical-l(r)
688
- case 114:
689
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
690
- // vertical-r(l)
691
- case 108:
692
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
693
- // horizontal(-)tb
694
- case 45:
695
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
696
- // default: fallthrough to below
697
- }
698
- // flex, flex-direction, scroll-snap-type, writing-mode
699
- case 6828:
700
- case 4268:
701
- case 2903:
702
- return WEBKIT + value + MS + value + value;
703
- // order
704
- case 6165:
705
- return WEBKIT + value + MS + 'flex-' + value + value;
706
- // align-items
707
- case 5187:
708
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
709
- // align-self
710
- case 5443:
711
- return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value;
712
- // align-content
713
- case 4675:
714
- return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value;
715
- // flex-shrink
716
- case 5548:
717
- return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
718
- // flex-basis
719
- case 5292:
720
- return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
721
- // flex-grow
722
- case 6060:
723
- return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
724
- // transition
725
- case 4554:
726
- return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
727
- // cursor
728
- case 6187:
729
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
730
- // background, background-image
731
- case 5495:
732
- case 3959:
733
- return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
734
- // justify-content
735
- case 4968:
736
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
737
- // justify-self
738
- case 4200:
739
- if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value;
740
- break;
741
- // grid-template-(columns|rows)
742
- case 2592:
743
- case 3360:
744
- return MS + replace(value, 'template-', '') + value;
745
- // grid-(row|column)-start
746
- case 4384:
747
- case 3616:
748
- if (children && children.some(function (element, index) {
749
- return length = index, match(element.props, /grid-\w+-end/);
750
- })) {
751
- return ~indexof(value + (children = children[length].value), 'span', 0) ? value : MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\d+/) : +match(children, /\d+/) - +match(value, /\d+/)) + ';';
752
- }
753
- return MS + replace(value, '-start', '') + value;
754
- // grid-(row|column)-end
755
- case 4896:
756
- case 4128:
757
- return children && children.some(function (element) {
758
- return match(element.props, /grid-\w+-start/);
759
- }) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value;
760
- // (margin|padding)-inline-(start|end)
761
- case 4095:
762
- case 3583:
763
- case 4068:
764
- case 2532:
765
- return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
766
- // (min|max)?(width|height|inline-size|block-size)
767
- case 8116:
768
- case 7059:
769
- case 5753:
770
- case 5535:
771
- case 5445:
772
- case 5701:
773
- case 4933:
774
- case 4677:
775
- case 5533:
776
- case 5789:
777
- case 5021:
778
- case 4765:
779
- // stretch, max-content, min-content, fill-available
780
- if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
781
- // (m)ax-content, (m)in-content
782
- case 109:
783
- // -
784
- if (charat(value, length + 4) !== 45) break;
785
- // (f)ill-available, (f)it-content
786
- case 102:
787
- return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
788
- // (s)tretch
789
- case 115:
790
- return ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value;
791
- }
792
- break;
793
- // grid-(column|row)
794
- case 5152:
795
- case 5920:
796
- return replace(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) {
797
- return MS + a + ':' + b + f + (c ? MS + a + '-span:' + (d ? e : +e - +b) + f : '') + value;
798
- });
799
- // position: sticky
800
- case 4949:
801
- // stick(y)?
802
- if (charat(value, length + 6) === 121) return replace(value, ':', ':' + WEBKIT) + value;
803
- break;
804
- // display: (flex|inline-flex|grid|inline-grid)
805
- case 6444:
806
- switch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {
807
- // (inline-)?fle(x)
808
- case 120:
809
- return replace(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
810
- // (inline-)?gri(d)
811
- case 100:
812
- return replace(value, ':', ':' + MS) + value;
813
- }
814
- break;
815
- // scroll-margin, scroll-margin-(top|right|bottom|left)
816
- case 5719:
817
- case 2647:
818
- case 2135:
819
- case 3927:
820
- case 2391:
821
- return replace(value, 'scroll-', 'scroll-snap-') + value;
822
- }
823
- return value;
824
- }
825
-
826
- /**
827
- * @param {object[]} children
828
- * @param {function} callback
829
- * @return {string}
830
- */
831
- function serialize(children, callback) {
832
- var output = '';
833
- for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '';
834
- return output;
835
- }
836
-
837
- /**
838
- * @param {object} element
839
- * @param {number} index
840
- * @param {object[]} children
841
- * @param {function} callback
842
- * @return {string}
843
- */
844
- function stringify(element, index, children, callback) {
845
- switch (element.type) {
846
- case LAYER:
847
- if (element.children.length) break;
848
- case IMPORT:
849
- case DECLARATION:
850
- return element.return = element.return || element.value;
851
- case COMMENT:
852
- return '';
853
- case KEYFRAMES:
854
- return element.return = element.value + '{' + serialize(element.children, callback) + '}';
855
- case RULESET:
856
- if (!strlen(element.value = element.props.join(','))) return '';
857
- }
858
- return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
859
- }
860
-
861
- /**
862
- * @param {function[]} collection
863
- * @return {function}
864
- */
865
- function middleware(collection) {
866
- var length = sizeof(collection);
867
- return function (element, index, children, callback) {
868
- var output = '';
869
- for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
870
- return output;
871
- };
872
- }
873
-
874
- /**
875
- * @param {function} callback
876
- * @return {function}
877
- */
878
- function rulesheet(callback) {
879
- return function (element) {
880
- if (!element.root) if (element = element.return) callback(element);
881
- };
882
- }
883
-
884
- /**
885
- * @param {object} element
886
- * @param {number} index
887
- * @param {object[]} children
888
- * @param {function} callback
889
- */
890
- function prefixer(element, index, children, callback) {
891
- if (element.length > -1) if (!element.return) switch (element.type) {
892
- case DECLARATION:
893
- element.return = prefix(element.value, element.length, children);
894
- return;
895
- case KEYFRAMES:
896
- return serialize([copy(element, {
897
- value: replace(element.value, '@', '@' + WEBKIT)
898
- })], callback);
899
- case RULESET:
900
- if (element.length) return combine(children = element.props, function (value) {
901
- switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
902
- // :read-(only|write)
903
- case ':read-only':
904
- case ':read-write':
905
- lift(copy(element, {
906
- props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
907
- }));
908
- lift(copy(element, {
909
- props: [value]
910
- }));
911
- assign(element, {
912
- props: filter(children, callback)
913
- });
914
- break;
915
- // :placeholder
916
- case '::placeholder':
917
- lift(copy(element, {
918
- props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
919
- }));
920
- lift(copy(element, {
921
- props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
922
- }));
923
- lift(copy(element, {
924
- props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
925
- }));
926
- lift(copy(element, {
927
- props: [value]
928
- }));
929
- assign(element, {
930
- props: filter(children, callback)
931
- });
932
- break;
933
- }
934
- return '';
935
- });
936
- }
937
- }
938
-
939
- var unitlessKeys = {
940
- animationIterationCount: 1,
941
- borderImageOutset: 1,
942
- borderImageSlice: 1,
943
- borderImageWidth: 1,
944
- boxFlex: 1,
945
- boxFlexGroup: 1,
946
- boxOrdinalGroup: 1,
947
- columnCount: 1,
948
- columns: 1,
949
- flex: 1,
950
- flexGrow: 1,
951
- flexPositive: 1,
952
- flexShrink: 1,
953
- flexNegative: 1,
954
- flexOrder: 1,
955
- gridRow: 1,
956
- gridRowEnd: 1,
957
- gridRowSpan: 1,
958
- gridRowStart: 1,
959
- gridColumn: 1,
960
- gridColumnEnd: 1,
961
- gridColumnSpan: 1,
962
- gridColumnStart: 1,
963
- msGridRow: 1,
964
- msGridRowSpan: 1,
965
- msGridColumn: 1,
966
- msGridColumnSpan: 1,
967
- fontWeight: 1,
968
- lineHeight: 1,
969
- opacity: 1,
970
- order: 1,
971
- orphans: 1,
972
- tabSize: 1,
973
- widows: 1,
974
- zIndex: 1,
975
- zoom: 1,
976
- WebkitLineClamp: 1,
977
- // SVG-related properties
978
- fillOpacity: 1,
979
- floodOpacity: 1,
980
- stopOpacity: 1,
981
- strokeDasharray: 1,
982
- strokeDashoffset: 1,
983
- strokeMiterlimit: 1,
984
- strokeOpacity: 1,
985
- strokeWidth: 1
986
- };
987
-
988
- var f = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
989
- m = "active",
990
- y = "data-styled-version",
991
- v = "6.1.8",
992
- g = "/*!sc*/\n",
993
- S = "undefined" != typeof window && "HTMLElement" in window,
994
- w = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
995
- E = /invalid hook call/i,
996
- N = new Set(),
997
- P = function (t, n) {
998
- if ("production" !== process.env.NODE_ENV) {
999
- var o = n ? ' with the id of "'.concat(n, '"') : "",
1000
- s = "The component ".concat(t).concat(o, " has been created dynamically.\n") + "You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
1001
- i = console.error;
1002
- try {
1003
- var a = !0;
1004
- console.error = function (t) {
1005
- for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1006
- E.test(t) ? (a = !1, N.delete(s)) : i.apply(void 0, __spreadArray([t], n, !1));
1007
- }, useRef(), a && !N.has(s) && (console.warn(s), N.add(s));
1008
- } catch (e) {
1009
- E.test(e.message) && N.delete(s);
1010
- } finally {
1011
- console.error = i;
1012
- }
1013
- }
1014
- },
1015
- _ = Object.freeze([]),
1016
- C = Object.freeze({});
1017
- function I(e, t, n) {
1018
- return void 0 === n && (n = C), e.theme !== n.theme && e.theme || t || n.theme;
1019
- }
1020
- var A = new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]),
1021
- O = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
1022
- D = /(^-|-$)/g;
1023
- function R(e) {
1024
- return e.replace(O, "-").replace(D, "");
1025
- }
1026
- var T = /(a)(d)/gi,
1027
- k = 52,
1028
- j = function (e) {
1029
- return String.fromCharCode(e + (e > 25 ? 39 : 97));
1030
- };
1031
- function x(e) {
1032
- var t,
1033
- n = "";
1034
- for (t = Math.abs(e); t > k; t = t / k | 0) n = j(t % k) + n;
1035
- return (j(t % k) + n).replace(T, "$1-$2");
1036
- }
1037
- var V,
1038
- F = 5381,
1039
- M = function (e, t) {
1040
- for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
1041
- return e;
1042
- },
1043
- z = function (e) {
1044
- return M(F, e);
1045
- };
1046
- function $(e) {
1047
- return x(z(e) >>> 0);
1048
- }
1049
- function B(e) {
1050
- return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
1051
- }
1052
- function L(e) {
1053
- return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
1054
- }
1055
- var G = "function" == typeof Symbol && Symbol.for,
1056
- Y = G ? Symbol.for("react.memo") : 60115,
1057
- q = G ? Symbol.for("react.forward_ref") : 60112,
1058
- W = {
1059
- childContextTypes: !0,
1060
- contextType: !0,
1061
- contextTypes: !0,
1062
- defaultProps: !0,
1063
- displayName: !0,
1064
- getDefaultProps: !0,
1065
- getDerivedStateFromError: !0,
1066
- getDerivedStateFromProps: !0,
1067
- mixins: !0,
1068
- propTypes: !0,
1069
- type: !0
1070
- },
1071
- H = {
1072
- name: !0,
1073
- length: !0,
1074
- prototype: !0,
1075
- caller: !0,
1076
- callee: !0,
1077
- arguments: !0,
1078
- arity: !0
1079
- },
1080
- U = {
1081
- $$typeof: !0,
1082
- compare: !0,
1083
- defaultProps: !0,
1084
- displayName: !0,
1085
- propTypes: !0,
1086
- type: !0
1087
- },
1088
- J = ((V = {})[q] = {
1089
- $$typeof: !0,
1090
- render: !0,
1091
- defaultProps: !0,
1092
- displayName: !0,
1093
- propTypes: !0
1094
- }, V[Y] = U, V);
1095
- function X(e) {
1096
- return ("type" in (t = e) && t.type.$$typeof) === Y ? U : "$$typeof" in e ? J[e.$$typeof] : W;
1097
- var t;
1098
- }
1099
- var Z = Object.defineProperty,
1100
- K = Object.getOwnPropertyNames,
1101
- Q = Object.getOwnPropertySymbols,
1102
- ee = Object.getOwnPropertyDescriptor,
1103
- te = Object.getPrototypeOf,
1104
- ne = Object.prototype;
1105
- function oe(e, t, n) {
1106
- if ("string" != typeof t) {
1107
- if (ne) {
1108
- var o = te(t);
1109
- o && o !== ne && oe(e, o, n);
1110
- }
1111
- var r = K(t);
1112
- Q && (r = r.concat(Q(t)));
1113
- for (var s = X(e), i = X(t), a = 0; a < r.length; ++a) {
1114
- var c = r[a];
1115
- if (!(c in H || n && n[c] || i && c in i || s && c in s)) {
1116
- var l = ee(t, c);
1117
- try {
1118
- Z(e, c, l);
1119
- } catch (e) {}
1120
- }
1121
- }
1122
- }
1123
- return e;
1124
- }
1125
- function re(e) {
1126
- return "function" == typeof e;
1127
- }
1128
- function se(e) {
1129
- return "object" == typeof e && "styledComponentId" in e;
1130
- }
1131
- function ie(e, t) {
1132
- return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1133
- }
1134
- function ae(e, t) {
1135
- if (0 === e.length) return "";
1136
- for (var n = e[0], o = 1; o < e.length; o++) n += t ? t + e[o] : e[o];
1137
- return n;
1138
- }
1139
- function ce(e) {
1140
- return null !== e && "object" == typeof e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
1141
- }
1142
- function le(e, t, n) {
1143
- if (void 0 === n && (n = !1), !n && !ce(e) && !Array.isArray(e)) return t;
1144
- if (Array.isArray(t)) for (var o = 0; o < t.length; o++) e[o] = le(e[o], t[o]);else if (ce(t)) for (var o in t) e[o] = le(e[o], t[o]);
1145
- return e;
1146
- }
1147
- function ue(e, t) {
1148
- Object.defineProperty(e, "toString", {
1149
- value: t
1150
- });
1151
- }
1152
- var pe = "production" !== process.env.NODE_ENV ? {
1153
- 1: "Cannot create styled-component for component: %s.\n\n",
1154
- 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
1155
- 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
1156
- 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
1157
- 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
1158
- 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
1159
- 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
1160
- 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
1161
- 9: "Missing document `<head>`\n\n",
1162
- 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
1163
- 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
1164
- 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
1165
- 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
1166
- 14: 'ThemeProvider: "theme" prop is required.\n\n',
1167
- 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
1168
- 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
1169
- 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
1170
- 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
1171
- } : {};
1172
- function de() {
1173
- for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1174
- for (var n = e[0], o = [], r = 1, s = e.length; r < s; r += 1) o.push(e[r]);
1175
- return o.forEach(function (e) {
1176
- n = n.replace(/%[a-z]/, e);
1177
- }), n;
1178
- }
1179
- function he(t) {
1180
- for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1181
- return "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t, " for more information.").concat(n.length > 0 ? " Args: ".concat(n.join(", ")) : "")) : new Error(de.apply(void 0, __spreadArray([pe[t]], n, !1)).trim());
1182
- }
1183
- var fe = function () {
1184
- function e(e) {
1185
- this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
1186
- }
1187
- return e.prototype.indexOfGroup = function (e) {
1188
- for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
1189
- return t;
1190
- }, e.prototype.insertRules = function (e, t) {
1191
- if (e >= this.groupSizes.length) {
1192
- for (var n = this.groupSizes, o = n.length, r = o; e >= r;) if ((r <<= 1) < 0) throw he(16, "".concat(e));
1193
- this.groupSizes = new Uint32Array(r), this.groupSizes.set(n), this.length = r;
1194
- for (var s = o; s < r; s++) this.groupSizes[s] = 0;
1195
- }
1196
- for (var i = this.indexOfGroup(e + 1), a = (s = 0, t.length); s < a; s++) this.tag.insertRule(i, t[s]) && (this.groupSizes[e]++, i++);
1197
- }, e.prototype.clearGroup = function (e) {
1198
- if (e < this.length) {
1199
- var t = this.groupSizes[e],
1200
- n = this.indexOfGroup(e),
1201
- o = n + t;
1202
- this.groupSizes[e] = 0;
1203
- for (var r = n; r < o; r++) this.tag.deleteRule(n);
1204
- }
1205
- }, e.prototype.getGroup = function (e) {
1206
- var t = "";
1207
- if (e >= this.length || 0 === this.groupSizes[e]) return t;
1208
- for (var n = this.groupSizes[e], o = this.indexOfGroup(e), r = o + n, s = o; s < r; s++) t += "".concat(this.tag.getRule(s)).concat(g);
1209
- return t;
1210
- }, e;
1211
- }(),
1212
- me = new Map(),
1213
- ye = new Map(),
1214
- ve = 1,
1215
- ge = function (e) {
1216
- if (me.has(e)) return me.get(e);
1217
- for (; ye.has(ve);) ve++;
1218
- var t = ve++;
1219
- if ("production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1073741824)) throw he(16, "".concat(t));
1220
- return me.set(e, t), ye.set(t, e), t;
1221
- },
1222
- Se = function (e, t) {
1223
- ve = t + 1, me.set(e, t), ye.set(t, e);
1224
- },
1225
- we = "style[".concat(f, "][").concat(y, '="').concat(v, '"]'),
1226
- be = new RegExp("^".concat(f, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),
1227
- Ee = function (e, t, n) {
1228
- for (var o, r = n.split(","), s = 0, i = r.length; s < i; s++) (o = r[s]) && e.registerName(t, o);
1229
- },
1230
- Ne = function (e, t) {
1231
- for (var n, o = (null !== (n = t.textContent) && void 0 !== n ? n : "").split(g), r = [], s = 0, i = o.length; s < i; s++) {
1232
- var a = o[s].trim();
1233
- if (a) {
1234
- var c = a.match(be);
1235
- if (c) {
1236
- var l = 0 | parseInt(c[1], 10),
1237
- u = c[2];
1238
- 0 !== l && (Se(u, l), Ee(e, u, c[3]), e.getTag().insertRules(l, r)), r.length = 0;
1239
- } else r.push(a);
1240
- }
1241
- }
1242
- };
1243
- function Pe() {
1244
- return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
1245
- }
1246
- var _e = function (e) {
1247
- var t = document.head,
1248
- n = e || t,
1249
- o = document.createElement("style"),
1250
- r = function (e) {
1251
- var t = Array.from(e.querySelectorAll("style[".concat(f, "]")));
1252
- return t[t.length - 1];
1253
- }(n),
1254
- s = void 0 !== r ? r.nextSibling : null;
1255
- o.setAttribute(f, m), o.setAttribute(y, v);
1256
- var i = Pe();
1257
- return i && o.setAttribute("nonce", i), n.insertBefore(o, s), o;
1258
- },
1259
- Ce = function () {
1260
- function e(e) {
1261
- this.element = _e(e), this.element.appendChild(document.createTextNode("")), this.sheet = function (e) {
1262
- if (e.sheet) return e.sheet;
1263
- for (var t = document.styleSheets, n = 0, o = t.length; n < o; n++) {
1264
- var r = t[n];
1265
- if (r.ownerNode === e) return r;
1266
- }
1267
- throw he(17);
1268
- }(this.element), this.length = 0;
1269
- }
1270
- return e.prototype.insertRule = function (e, t) {
1271
- try {
1272
- return this.sheet.insertRule(t, e), this.length++, !0;
1273
- } catch (e) {
1274
- return !1;
1275
- }
1276
- }, e.prototype.deleteRule = function (e) {
1277
- this.sheet.deleteRule(e), this.length--;
1278
- }, e.prototype.getRule = function (e) {
1279
- var t = this.sheet.cssRules[e];
1280
- return t && t.cssText ? t.cssText : "";
1281
- }, e;
1282
- }(),
1283
- Ie = function () {
1284
- function e(e) {
1285
- this.element = _e(e), this.nodes = this.element.childNodes, this.length = 0;
1286
- }
1287
- return e.prototype.insertRule = function (e, t) {
1288
- if (e <= this.length && e >= 0) {
1289
- var n = document.createTextNode(t);
1290
- return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
1291
- }
1292
- return !1;
1293
- }, e.prototype.deleteRule = function (e) {
1294
- this.element.removeChild(this.nodes[e]), this.length--;
1295
- }, e.prototype.getRule = function (e) {
1296
- return e < this.length ? this.nodes[e].textContent : "";
1297
- }, e;
1298
- }(),
1299
- Ae = function () {
1300
- function e(e) {
1301
- this.rules = [], this.length = 0;
1302
- }
1303
- return e.prototype.insertRule = function (e, t) {
1304
- return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
1305
- }, e.prototype.deleteRule = function (e) {
1306
- this.rules.splice(e, 1), this.length--;
1307
- }, e.prototype.getRule = function (e) {
1308
- return e < this.length ? this.rules[e] : "";
1309
- }, e;
1310
- }(),
1311
- Oe = S,
1312
- De = {
1313
- isServer: !S,
1314
- useCSSOMInjection: !w
1315
- },
1316
- Re = function () {
1317
- function e(e, n, o) {
1318
- void 0 === e && (e = C), void 0 === n && (n = {});
1319
- var r = this;
1320
- this.options = __assign(__assign({}, De), e), this.gs = n, this.names = new Map(o), this.server = !!e.isServer, !this.server && S && Oe && (Oe = !1, function (e) {
1321
- for (var t = document.querySelectorAll(we), n = 0, o = t.length; n < o; n++) {
1322
- var r = t[n];
1323
- r && r.getAttribute(f) !== m && (Ne(e, r), r.parentNode && r.parentNode.removeChild(r));
1324
- }
1325
- }(this)), ue(this, function () {
1326
- return function (e) {
1327
- for (var t = e.getTag(), n = t.length, o = "", r = function (n) {
1328
- var r = function (e) {
1329
- return ye.get(e);
1330
- }(n);
1331
- if (void 0 === r) return "continue";
1332
- var s = e.names.get(r),
1333
- i = t.getGroup(n);
1334
- if (void 0 === s || 0 === i.length) return "continue";
1335
- var a = "".concat(f, ".g").concat(n, '[id="').concat(r, '"]'),
1336
- c = "";
1337
- void 0 !== s && s.forEach(function (e) {
1338
- e.length > 0 && (c += "".concat(e, ","));
1339
- }), o += "".concat(i).concat(a, '{content:"').concat(c, '"}').concat(g);
1340
- }, s = 0; s < n; s++) r(s);
1341
- return o;
1342
- }(r);
1343
- });
1344
- }
1345
- return e.registerId = function (e) {
1346
- return ge(e);
1347
- }, e.prototype.reconstructWithOptions = function (n, o) {
1348
- return void 0 === o && (o = !0), new e(__assign(__assign({}, this.options), n), this.gs, o && this.names || void 0);
1349
- }, e.prototype.allocateGSInstance = function (e) {
1350
- return this.gs[e] = (this.gs[e] || 0) + 1;
1351
- }, e.prototype.getTag = function () {
1352
- return this.tag || (this.tag = (e = function (e) {
1353
- var t = e.useCSSOMInjection,
1354
- n = e.target;
1355
- return e.isServer ? new Ae(n) : t ? new Ce(n) : new Ie(n);
1356
- }(this.options), new fe(e)));
1357
- var e;
1358
- }, e.prototype.hasNameForId = function (e, t) {
1359
- return this.names.has(e) && this.names.get(e).has(t);
1360
- }, e.prototype.registerName = function (e, t) {
1361
- if (ge(e), this.names.has(e)) this.names.get(e).add(t);else {
1362
- var n = new Set();
1363
- n.add(t), this.names.set(e, n);
1364
- }
1365
- }, e.prototype.insertRules = function (e, t, n) {
1366
- this.registerName(e, t), this.getTag().insertRules(ge(e), n);
1367
- }, e.prototype.clearNames = function (e) {
1368
- this.names.has(e) && this.names.get(e).clear();
1369
- }, e.prototype.clearRules = function (e) {
1370
- this.getTag().clearGroup(ge(e)), this.clearNames(e);
1371
- }, e.prototype.clearTag = function () {
1372
- this.tag = void 0;
1373
- }, e;
1374
- }(),
1375
- Te = /&/g,
1376
- ke = /^\s*\/\/.*$/gm;
1377
- function je(e, t) {
1378
- return e.map(function (e) {
1379
- return "rule" === e.type && (e.value = "".concat(t, " ").concat(e.value), e.value = e.value.replaceAll(",", ",".concat(t, " ")), e.props = e.props.map(function (e) {
1380
- return "".concat(t, " ").concat(e);
1381
- })), Array.isArray(e.children) && "@keyframes" !== e.type && (e.children = je(e.children, t)), e;
1382
- });
1383
- }
1384
- function xe(e) {
1385
- var t,
1386
- n,
1387
- o,
1388
- r = void 0 === e ? C : e,
1389
- s = r.options,
1390
- i = void 0 === s ? C : s,
1391
- a = r.plugins,
1392
- c = void 0 === a ? _ : a,
1393
- l = function (e, o, r) {
1394
- return r.startsWith(n) && r.endsWith(n) && r.replaceAll(n, "").length > 0 ? ".".concat(t) : e;
1395
- },
1396
- u = c.slice();
1397
- u.push(function (e) {
1398
- e.type === RULESET && e.value.includes("&") && (e.props[0] = e.props[0].replace(Te, n).replace(o, l));
1399
- }), i.prefix && u.push(prefixer), u.push(stringify);
1400
- var p = function (e, r, s, a) {
1401
- void 0 === r && (r = ""), void 0 === s && (s = ""), void 0 === a && (a = "&"), t = a, n = r, o = new RegExp("\\".concat(n, "\\b"), "g");
1402
- var c = e.replace(ke, ""),
1403
- l = compile(s || r ? "".concat(s, " ").concat(r, " { ").concat(c, " }") : c);
1404
- i.namespace && (l = je(l, i.namespace));
1405
- var p = [];
1406
- return serialize(l, middleware(u.concat(rulesheet(function (e) {
1407
- return p.push(e);
1408
- })))), p;
1409
- };
1410
- return p.hash = c.length ? c.reduce(function (e, t) {
1411
- return t.name || he(15), M(e, t.name);
1412
- }, F).toString() : "", p;
1413
- }
1414
- var Ve = new Re(),
1415
- Fe = xe(),
1416
- Me = React.createContext({
1417
- shouldForwardProp: void 0,
1418
- styleSheet: Ve,
1419
- stylis: Fe
1420
- });
1421
- Me.Consumer;
1422
- React.createContext(void 0);
1423
- function Be() {
1424
- return useContext(Me);
1425
- }
1426
- var Ge = function () {
1427
- function e(e, t) {
1428
- var n = this;
1429
- this.inject = function (e, t) {
1430
- void 0 === t && (t = Fe);
1431
- var o = n.name + t.hash;
1432
- e.hasNameForId(n.id, o) || e.insertRules(n.id, o, t(n.rules, o, "@keyframes"));
1433
- }, this.name = e, this.id = "sc-keyframes-".concat(e), this.rules = t, ue(this, function () {
1434
- throw he(12, String(n.name));
1435
- });
1436
- }
1437
- return e.prototype.getName = function (e) {
1438
- return void 0 === e && (e = Fe), this.name + e.hash;
1439
- }, e;
1440
- }(),
1441
- Ye = function (e) {
1442
- return e >= "A" && e <= "Z";
1443
- };
1444
- function qe(e) {
1445
- for (var t = "", n = 0; n < e.length; n++) {
1446
- var o = e[n];
1447
- if (1 === n && "-" === o && "-" === e[0]) return e;
1448
- Ye(o) ? t += "-" + o.toLowerCase() : t += o;
1449
- }
1450
- return t.startsWith("ms-") ? "-" + t : t;
1451
- }
1452
- var We = function (e) {
1453
- return null == e || !1 === e || "" === e;
1454
- },
1455
- He = function (t) {
1456
- var n,
1457
- o,
1458
- r = [];
1459
- for (var s in t) {
1460
- var i = t[s];
1461
- t.hasOwnProperty(s) && !We(i) && (Array.isArray(i) && i.isCss || re(i) ? r.push("".concat(qe(s), ":"), i, ";") : ce(i) ? r.push.apply(r, __spreadArray(__spreadArray(["".concat(s, " {")], He(i), !1), ["}"], !1)) : r.push("".concat(qe(s), ": ").concat((n = s, null == (o = i) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || n in unitlessKeys || n.startsWith("--") ? String(o).trim() : "".concat(o, "px")), ";")));
1462
- }
1463
- return r;
1464
- };
1465
- function Ue(e, t, n, o) {
1466
- if (We(e)) return [];
1467
- if (se(e)) return [".".concat(e.styledComponentId)];
1468
- if (re(e)) {
1469
- if (!re(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
1470
- var r = e(t);
1471
- return "production" === process.env.NODE_ENV || "object" != typeof r || Array.isArray(r) || r instanceof Ge || ce(r) || null === r || console.error("".concat(B(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Ue(r, t, n, o);
1472
- }
1473
- var s;
1474
- return e instanceof Ge ? n ? (e.inject(n, o), [e.getName(o)]) : [e] : ce(e) ? He(e) : Array.isArray(e) ? Array.prototype.concat.apply(_, e.map(function (e) {
1475
- return Ue(e, t, n, o);
1476
- })) : [e.toString()];
1477
- }
1478
- function Je(e) {
1479
- for (var t = 0; t < e.length; t += 1) {
1480
- var n = e[t];
1481
- if (re(n) && !se(n)) return !1;
1482
- }
1483
- return !0;
1484
- }
1485
- var Xe = z(v),
1486
- Ze = function () {
1487
- function e(e, t, n) {
1488
- this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && Je(e), this.componentId = t, this.baseHash = M(Xe, t), this.baseStyle = n, Re.registerId(t);
1489
- }
1490
- return e.prototype.generateAndInjectStyles = function (e, t, n) {
1491
- var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
1492
- if (this.isStatic && !n.hash) {
1493
- if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) o = ie(o, this.staticRulesId);else {
1494
- var r = ae(Ue(this.rules, e, t, n)),
1495
- s = x(M(this.baseHash, r) >>> 0);
1496
- if (!t.hasNameForId(this.componentId, s)) {
1497
- var i = n(r, ".".concat(s), void 0, this.componentId);
1498
- t.insertRules(this.componentId, s, i);
1499
- }
1500
- o = ie(o, s), this.staticRulesId = s;
1501
- }
1502
- } else {
1503
- for (var a = M(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
1504
- var u = this.rules[l];
1505
- if ("string" == typeof u) c += u, "production" !== process.env.NODE_ENV && (a = M(a, u));else if (u) {
1506
- var p = ae(Ue(u, e, t, n));
1507
- a = M(a, p + l), c += p;
1508
- }
1509
- }
1510
- if (c) {
1511
- var d = x(a >>> 0);
1512
- t.hasNameForId(this.componentId, d) || t.insertRules(this.componentId, d, n(c, ".".concat(d), void 0, this.componentId)), o = ie(o, d);
1513
- }
1514
- }
1515
- return o;
1516
- }, e;
1517
- }(),
1518
- Ke = React.createContext(void 0);
1519
- Ke.Consumer;
1520
- var nt = {},
1521
- ot = new Set();
1522
- function rt(e, r, s) {
1523
- var i = se(e),
1524
- a = e,
1525
- c = !L(e),
1526
- p = r.attrs,
1527
- d = void 0 === p ? _ : p,
1528
- h = r.componentId,
1529
- f = void 0 === h ? function (e, t) {
1530
- var n = "string" != typeof e ? "sc" : R(e);
1531
- nt[n] = (nt[n] || 0) + 1;
1532
- var o = "".concat(n, "-").concat($(v + n + nt[n]));
1533
- return t ? "".concat(t, "-").concat(o) : o;
1534
- }(r.displayName, r.parentComponentId) : h,
1535
- m = r.displayName,
1536
- y = void 0 === m ? function (e) {
1537
- return L(e) ? "styled.".concat(e) : "Styled(".concat(B(e), ")");
1538
- }(e) : m,
1539
- g = r.displayName && r.componentId ? "".concat(R(r.displayName), "-").concat(r.componentId) : r.componentId || f,
1540
- S = i && a.attrs ? a.attrs.concat(d).filter(Boolean) : d,
1541
- w = r.shouldForwardProp;
1542
- if (i && a.shouldForwardProp) {
1543
- var b = a.shouldForwardProp;
1544
- if (r.shouldForwardProp) {
1545
- var E = r.shouldForwardProp;
1546
- w = function (e, t) {
1547
- return b(e, t) && E(e, t);
1548
- };
1549
- } else w = b;
1550
- }
1551
- var N = new Ze(s, g, i ? a.componentStyle : void 0);
1552
- function O(e, r) {
1553
- return function (e, r, s) {
1554
- var i = e.attrs,
1555
- a = e.componentStyle,
1556
- c = e.defaultProps,
1557
- p = e.foldedComponentIds,
1558
- d = e.styledComponentId,
1559
- h = e.target,
1560
- f = React.useContext(Ke),
1561
- m = Be(),
1562
- y = e.shouldForwardProp || m.shouldForwardProp;
1563
- "production" !== process.env.NODE_ENV && useDebugValue(d);
1564
- var v = I(r, f, c) || C,
1565
- g = function (e, n, o) {
1566
- for (var r, s = __assign(__assign({}, n), {
1567
- className: void 0,
1568
- theme: o
1569
- }), i = 0; i < e.length; i += 1) {
1570
- var a = re(r = e[i]) ? r(s) : r;
1571
- for (var c in a) s[c] = "className" === c ? ie(s[c], a[c]) : "style" === c ? __assign(__assign({}, s[c]), a[c]) : a[c];
1572
- }
1573
- return n.className && (s.className = ie(s.className, n.className)), s;
1574
- }(i, r, v),
1575
- S = g.as || h,
1576
- w = {};
1577
- for (var b in g) void 0 === g[b] || "$" === b[0] || "as" === b || "theme" === b && g.theme === v || ("forwardedAs" === b ? w.as = g.forwardedAs : y && !y(b, S) || (w[b] = g[b], y || "development" !== process.env.NODE_ENV || isPropValid(b) || ot.has(b) || !A.has(S) || (ot.add(b), console.warn('styled-components: it looks like an unknown prop "'.concat(b, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1578
- var E = function (e, t) {
1579
- var n = Be(),
1580
- o = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
1581
- return "production" !== process.env.NODE_ENV && useDebugValue(o), o;
1582
- }(a, g);
1583
- "production" !== process.env.NODE_ENV && e.warnTooManyClasses && e.warnTooManyClasses(E);
1584
- var N = ie(p, d);
1585
- return E && (N += " " + E), g.className && (N += " " + g.className), w[L(S) && !A.has(S) ? "class" : "className"] = N, w.ref = s, createElement(S, w);
1586
- }(D, e, r);
1587
- }
1588
- O.displayName = y;
1589
- var D = React.forwardRef(O);
1590
- return D.attrs = S, D.componentStyle = N, D.displayName = y, D.shouldForwardProp = w, D.foldedComponentIds = i ? ie(a.foldedComponentIds, a.styledComponentId) : "", D.styledComponentId = g, D.target = i ? a.target : e, Object.defineProperty(D, "defaultProps", {
1591
- get: function () {
1592
- return this._foldedDefaultProps;
1593
- },
1594
- set: function (e) {
1595
- this._foldedDefaultProps = i ? function (e) {
1596
- for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1597
- for (var o = 0, r = t; o < r.length; o++) le(e, r[o], !0);
1598
- return e;
1599
- }({}, a.defaultProps, e) : e;
1600
- }
1601
- }), "production" !== process.env.NODE_ENV && (P(y, g), D.warnTooManyClasses = function (e, t) {
1602
- var n = {},
1603
- o = !1;
1604
- return function (r) {
1605
- if (!o && (n[r] = !0, Object.keys(n).length >= 200)) {
1606
- var s = t ? ' with the id of "'.concat(t, '"') : "";
1607
- console.warn("Over ".concat(200, " classes were generated for component ").concat(e).concat(s, ".\n") + "Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), o = !0, n = {};
1608
- }
1609
- };
1610
- }(y, g)), ue(D, function () {
1611
- return ".".concat(D.styledComponentId);
1612
- }), c && oe(D, e, {
1613
- attrs: !0,
1614
- componentStyle: !0,
1615
- displayName: !0,
1616
- foldedComponentIds: !0,
1617
- shouldForwardProp: !0,
1618
- styledComponentId: !0,
1619
- target: !0
1620
- }), D;
1621
- }
1622
- function st(e, t) {
1623
- for (var n = [e[0]], o = 0, r = t.length; o < r; o += 1) n.push(t[o], e[o + 1]);
1624
- return n;
1625
- }
1626
- var it = function (e) {
1627
- return Object.assign(e, {
1628
- isCss: !0
1629
- });
1630
- };
1631
- function at(t) {
1632
- for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1633
- if (re(t) || ce(t)) return it(Ue(st(_, __spreadArray([t], n, !0))));
1634
- var r = t;
1635
- return 0 === n.length && 1 === r.length && "string" == typeof r[0] ? Ue(r) : it(Ue(st(r, n)));
1636
- }
1637
- function ct(n, o, r) {
1638
- if (void 0 === r && (r = C), !o) throw he(1, o);
1639
- var s = function (t) {
1640
- for (var s = [], i = 1; i < arguments.length; i++) s[i - 1] = arguments[i];
1641
- return n(o, r, at.apply(void 0, __spreadArray([t], s, !1)));
1642
- };
1643
- return s.attrs = function (e) {
1644
- return ct(n, o, __assign(__assign({}, r), {
1645
- attrs: Array.prototype.concat(r.attrs, e).filter(Boolean)
1646
- }));
1647
- }, s.withConfig = function (e) {
1648
- return ct(n, o, __assign(__assign({}, r), e));
1649
- }, s;
1650
- }
1651
- var lt = function (e) {
1652
- return ct(rt, e);
1653
- },
1654
- ut = lt;
1655
- A.forEach(function (e) {
1656
- ut[e] = lt(e);
1657
- });
1658
- function ht(t) {
1659
- for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1660
- "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
1661
- var r = ae(at.apply(void 0, __spreadArray([t], n, !1))),
1662
- s = $(r);
1663
- return new Ge(s, r);
1664
- }
1665
- "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");
1666
- var gt = "__sc-".concat(f, "__");
1667
- "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window[gt] || (window[gt] = 0), 1 === window[gt] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window[gt] += 1);
1668
33
 
1669
34
  const Colors = {
1670
35
  PRIMARY: {
@@ -1716,7 +81,7 @@ const EditableTheme = {
1716
81
  PRIMARY_COLOR: Colors.PRIMARY,
1717
82
  };
1718
83
 
1719
- const Header$3 = ut.div `
84
+ const Header$3 = styled.div `
1720
85
  display: flex;
1721
86
  align-items: center;
1722
87
  justify-content: space-between;
@@ -1727,7 +92,7 @@ const Header$3 = ut.div `
1727
92
  height: 50px;
1728
93
  cursor: pointer;
1729
94
  `;
1730
- const Title$2 = ut.div `
95
+ const Title$2 = styled.div `
1731
96
  font-size: ${FontSizes.DEFAULT};
1732
97
  font-weight: 400;
1733
98
  color: ${Colors.BLACK.Hex};
@@ -1744,7 +109,7 @@ const Accordion = (_a) => {
1744
109
  open ? children : null));
1745
110
  };
1746
111
 
1747
- const StyledButton = ut.button `
112
+ const StyledButton = styled.button `
1748
113
  height: ${props => (props.$small ? '30px' : '40px')};
1749
114
  line-height: 1em;
1750
115
  border-radius: ${props => (props.$small ? '15px' : '20px')};
@@ -1787,21 +152,21 @@ const StyledButton = ut.button `
1787
152
  opacity: ${props => (props.$disabled ? 0.6 : 1)};
1788
153
  }
1789
154
  `;
1790
- const Label$5 = ut.span `
155
+ const Label$5 = styled.span `
1791
156
  color: ${props => props.$content_color || '#fff'};
1792
157
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1793
158
  font-family: ${FontStyles.DEFAULT};
1794
159
  font-weight: 500;
1795
160
  line-height: 1;
1796
161
  `;
1797
- const StyledIcon$6 = ut.span `
162
+ const StyledIcon$6 = styled.span `
1798
163
  margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
1799
164
  margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
1800
165
  display: flex;
1801
166
  align-items: center;
1802
167
  box-sizing: border-box;
1803
168
  `;
1804
- const Badge$1 = ut.span `
169
+ const Badge$1 = styled.span `
1805
170
  width: ${props => (props.$small ? '20px' : '24px')};
1806
171
  height: ${props => (props.$small ? '20px' : '24px')};
1807
172
  line-height: 1;
@@ -1820,7 +185,7 @@ const Badge$1 = ut.span `
1820
185
  `;
1821
186
  const Button = (_a) => {
1822
187
  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"]);
1823
- const theme = useContext(Ke) || EditableTheme;
188
+ const theme = useContext(ThemeContext) || EditableTheme;
1824
189
  const has_children = children && children.length > 0;
1825
190
  const button_type_mapping = {
1826
191
  primary: {
@@ -1860,7 +225,7 @@ const Button = (_a) => {
1860
225
  badge && !icon ? (React.createElement(Badge$1, { "$bg_color": format_styles.badge_bg_color, "$content_color": format_styles.badge_content_color, "$small": small }, badge)) : null));
1861
226
  };
1862
227
 
1863
- const StyledComponent = ut.p `
228
+ const StyledComponent = styled.p `
1864
229
  color: ${props => Colors[props.$color || 'BLACK'].Hex};
1865
230
  font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
1866
231
  line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
@@ -1881,7 +246,7 @@ Copy.defaultProps = {
1881
246
  type: 'default',
1882
247
  };
1883
248
 
1884
- const H1 = ut.h1 `
249
+ const H1 = styled.h1 `
1885
250
  color: ${Colors.BLACK.Hex};
1886
251
  font-size: 30px;
1887
252
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -1891,7 +256,7 @@ const H1 = ut.h1 `
1891
256
  padding: ${props => props.$padding || '0px'};
1892
257
  box-sizing: border-box;
1893
258
  `;
1894
- const H2 = ut.h2 `
259
+ const H2 = styled.h2 `
1895
260
  color: ${Colors.BLACK.Hex};
1896
261
  font-size: 24px;
1897
262
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -1901,7 +266,7 @@ const H2 = ut.h2 `
1901
266
  padding: ${props => props.$padding || '0px'};
1902
267
  box-sizing: border-box;
1903
268
  `;
1904
- const H3 = ut.h3 `
269
+ const H3 = styled.h3 `
1905
270
  color: ${Colors.BLACK.Hex};
1906
271
  font-size: 18px;
1907
272
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -1930,7 +295,7 @@ Heading.defaultProps = {
1930
295
  type: 'primary',
1931
296
  };
1932
297
 
1933
- const Wrapper$i = ut.div `
298
+ const Wrapper$i = styled.div `
1934
299
  position: fixed;
1935
300
  top: 0;
1936
301
  right: 0;
@@ -1943,7 +308,7 @@ const Wrapper$i = ut.div `
1943
308
  justify-content: center;
1944
309
  box-sizing: border-box;
1945
310
  `;
1946
- const Container$3 = ut.dialog `
311
+ const Container$4 = styled.dialog `
1947
312
  max-width: 600px;
1948
313
  width: auto;
1949
314
  border-radius: 8px;
@@ -1956,7 +321,7 @@ const Container$3 = ut.dialog `
1956
321
  text-align: center;
1957
322
  box-sizing: border-box;
1958
323
  `;
1959
- const Buttons = ut.div `
324
+ const Buttons$1 = styled.div `
1960
325
  display: flex;
1961
326
  gap: 10px;
1962
327
  align-items: center;
@@ -1967,16 +332,16 @@ const Buttons = ut.div `
1967
332
  const ActionDialog = (_a) => {
1968
333
  var { description, title, primaryButton, secondaryButton, tertiaryButton } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton"]);
1969
334
  return (React.createElement(Wrapper$i, Object.assign({}, accessibleProps),
1970
- React.createElement(Container$3, { open: true },
335
+ React.createElement(Container$4, { open: true },
1971
336
  title ? (React.createElement(Heading, { margin: '0px 0px 20px 0px', type: 'secondary' }, title)) : null,
1972
337
  description ? React.createElement(Copy, { align: 'center' }, description) : null,
1973
- primaryButton || secondaryButton || tertiaryButton ? (React.createElement(Buttons, null,
338
+ primaryButton || secondaryButton || tertiaryButton ? (React.createElement(Buttons$1, null,
1974
339
  tertiaryButton ? React.createElement(Button, Object.assign({}, tertiaryButton, { format: 'secondary' })) : null,
1975
340
  secondaryButton ? React.createElement(Button, Object.assign({}, secondaryButton, { format: 'secondary' })) : null,
1976
341
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format === 'red' ? 'red' : 'primary' }))) : null)) : null)));
1977
342
  };
1978
343
 
1979
- const Wrapper$h = ut.div `
344
+ const Wrapper$h = styled.div `
1980
345
  border: 1px solid #f1f1f1;
1981
346
  border-radius: 4px;
1982
347
  border-left-width: 4px;
@@ -1987,10 +352,10 @@ const Wrapper$h = ut.div `
1987
352
  padding: ${({ $small }) => ($small ? '11px' : '20px')};
1988
353
  box-sizing: border-box;
1989
354
  `;
1990
- const StyledIcon$5 = ut(Icon) `
355
+ const StyledIcon$5 = styled(Icon) `
1991
356
  flex-shrink: 0;
1992
357
  `;
1993
- const Action$1 = ut.div `
358
+ const Action$1 = styled.div `
1994
359
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
1995
360
  font-size: ${FontSizes.DEFAULT};
1996
361
  font-family: ${FontStyles.DEFAULT};
@@ -2001,7 +366,7 @@ const Action$1 = ut.div `
2001
366
  Action$1.defaultProps = { theme: EditableTheme };
2002
367
  const Alert = (_a) => {
2003
368
  var { action, type = 'info', title, description, small = false } = _a, accessibleProps = __rest(_a, ["action", "type", "title", "description", "small"]);
2004
- const theme = useContext(Ke) || EditableTheme;
369
+ const theme = useContext(ThemeContext) || EditableTheme;
2005
370
  const type_mapping = {
2006
371
  info: {
2007
372
  color: theme.PRIMARY_COLOR.Hex,
@@ -2028,7 +393,78 @@ const Alert = (_a) => {
2028
393
  action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
2029
394
  };
2030
395
 
2031
- const Wrapper$g = ut.div `
396
+ const colorMapping = {
397
+ black: {
398
+ fill_1: '#000000',
399
+ fill_2: '#000000',
400
+ fill_3: '#000000',
401
+ },
402
+ white: {
403
+ fill_1: '#ffffff',
404
+ fill_2: '#ffffff',
405
+ fill_3: '#ffffff',
406
+ },
407
+ full: {
408
+ fill_1: '#000000',
409
+ fill_2: '#E82425',
410
+ fill_3: '#E82425',
411
+ },
412
+ reversed: {
413
+ fill_1: '#ffffff',
414
+ fill_2: '#E82425',
415
+ fill_3: '#E82425',
416
+ },
417
+ };
418
+ const Logo = (_a) => {
419
+ var { type = 'standard_full', height = '50px' } = _a, accessibleProps = __rest(_a, ["type", "height"]);
420
+ const type_parts = type.split('_');
421
+ switch (type_parts[0]) {
422
+ case 'mark':
423
+ return (React.createElement("svg", Object.assign({ fill: 'none', height: height, viewBox: '0 0 58 51', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
424
+ React.createElement("path", { d: 'M43.9348 -1.14441e-05H13.3724L0 25.2376L7.27148 38.0136L14.1215 50.0487H43.1856L57.3077 25.2376L43.9348 -1.14441e-05ZM38.206 9.49903L46.459 25.0743L37.6507 40.5497H19.6567L15.5417 33.3199L10.8487 25.0743L19.1013 9.49903H38.206Z', fill: type_parts[1] })));
425
+ default:
426
+ return (React.createElement("svg", Object.assign({ fill: 'none', height: height, preserveAspectRatio: 'xMidYMid meet', viewBox: '0 0 236 50', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
427
+ React.createElement("path", { d: 'M230.794 29.59H219.306L214.279 39.0907L217.012 43.9001L219.587 48.4308H230.512L235.821 39.0907L230.794 29.59V29.59ZM228.641 33.1659L231.743 39.0292L228.432 44.8549H221.668L220.121 42.1332L218.356 39.0292L221.459 33.1659H228.641Z', fill: colorMapping[type_parts[1]].fill_3 }),
428
+ React.createElement("path", { d: 'M211.662 42.6033L199.206 42.6319C196.339 42.6319 193.862 41.6095 191.846 39.5923C189.828 37.5755 188.805 35.0985 188.805 32.2321C188.805 29.3656 189.828 26.8886 191.846 24.8718C193.848 22.8332 196.325 21.7975 199.206 21.7975C202.072 21.7975 204.549 22.8199 206.566 24.8374C207.613 25.8847 208.391 27.093 208.944 28.5312L209.253 29.3327H197.87L196.325 32.2579L197.921 35.0969H211.458L215.015 28.6192C214.296 25.5702 212.835 22.9293 210.672 20.7657C207.531 17.6257 203.674 16.0333 199.206 16.0333C194.737 16.0333 190.88 17.6257 187.739 20.7657C184.555 23.9501 183.007 27.7011 183.007 32.2321C183.007 36.7001 184.599 40.5577 187.739 43.6981C190.88 46.8384 194.737 48.4308 199.206 48.4308H210.095L214.745 48.3297L211.662 42.6033', fill: colorMapping[type_parts[1]].fill_1 }),
429
+ React.createElement("path", { d: 'M160.945 19.133L158.826 20.8384C155.734 23.9359 154.141 27.8058 154.141 32.2967L154.141 47.7903L156.985 49.407L159.939 47.8778L159.94 32.2967C159.94 29.6632 160.778 27.3706 162.432 25.4846C162.615 25.2739 162.811 25.0666 163.018 24.8639C163.074 24.8155 164.138 24.0061 164.811 23.5592C166.321 22.5576 168.076 21.9876 170.024 21.8632L170.166 21.8621C172.923 21.8621 175.32 22.7325 177.301 24.4494L180.146 23.0088L180.246 19.3426C177.44 17.1664 174.132 16.0633 170.408 16.0633C166.909 16.0633 163.725 17.0962 160.945 19.133', fill: colorMapping[type_parts[1]].fill_1 }),
430
+ React.createElement("path", { d: 'M131.392 50C135.884 50 139.753 48.4076 142.893 45.2676C146.033 42.1269 147.626 38.2581 147.626 33.7668V18.1124L144.782 16.4964L141.827 18.0251V33.7668C141.827 36.6932 140.792 39.1936 138.745 41.2034C136.684 43.1927 134.128 44.2013 131.151 44.2013L131.01 44.2002H131.81L131.669 44.2013C128.692 44.2013 126.136 43.1927 124.074 41.2034C122.028 39.1936 120.993 36.6932 120.993 33.7668V18.0251L118.038 16.4964L115.194 18.1124V33.7668C115.194 38.2581 116.786 42.1269 119.926 45.2676C123.067 48.4076 126.936 50 131.427 50H131.392Z', fill: colorMapping[type_parts[1]].fill_1 }),
431
+ React.createElement("path", { d: 'M93.8353 26.9933L97.8468 31.2421L100.788 28.1521L107.791 20.4534L106.753 17.3567L103.584 16.5678', fill: colorMapping[type_parts[1]].fill_2 }),
432
+ React.createElement("path", { d: 'M80.7509 16.5677L77.5821 17.3564L76.5441 20.4534L83.5514 28.1568L88.1484 32.9862L76.5412 45.2133L77.5187 48.3175C79.525 48.9571 80.359 49.1805 80.6985 49.2584L92.195 37.238L103.636 49.2584C103.976 49.1805 104.81 48.9571 106.817 48.3175L107.794 45.2133L80.7509 16.5677', fill: colorMapping[type_parts[1]].fill_1 }),
433
+ React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1 }),
434
+ React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1 })));
435
+ }
436
+ };
437
+
438
+ const Container$3 = styled.header `
439
+ width: 100%;
440
+ display: flex;
441
+ padding: 20px;
442
+ box-sizing: border-box;
443
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
444
+ background: '#fff';
445
+ justify-content: space-between;
446
+ `;
447
+ const LogoWrapper = styled.div `
448
+ display: flex;
449
+ align-items: center;
450
+ `;
451
+ const Image = styled.img `
452
+ height: 30px !important;
453
+ width: auto !important;
454
+ `;
455
+ const Buttons = styled.div `
456
+ display: flex;
457
+ flex-direction: row;
458
+ column-gap: 10px;
459
+ flex-direction: reverse;
460
+ `;
461
+ const AppHeader = ({ logoUrl, buttons = [] }) => {
462
+ return (React.createElement(Container$3, null,
463
+ React.createElement(LogoWrapper, null, logoUrl ? React.createElement(Image, { src: logoUrl }) : React.createElement(Logo, { height: '30px' })),
464
+ React.createElement(Buttons, null, buttons.map(b => (React.createElement(Button, Object.assign({}, b)))))));
465
+ };
466
+
467
+ const Wrapper$g = styled.div `
2032
468
  border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
2033
469
  border-radius: 8px;
2034
470
  box-sizing: border-box;
@@ -2038,27 +474,27 @@ const Wrapper$g = ut.div `
2038
474
  padding: 16px 20px;
2039
475
  `;
2040
476
  Wrapper$g.defaultProps = { theme: EditableTheme };
2041
- const Left = ut.div `
477
+ const Left = styled.div `
2042
478
  box-sizing: border-box;
2043
479
  display: flex;
2044
480
  align-items: center;
2045
481
  justify-content: space-between;
2046
482
  flex-shrink: 0;
2047
483
  `;
2048
- const Info$1 = ut.div `
484
+ const Info$1 = styled.div `
2049
485
  box-sizing: border-box;
2050
486
  display: flex;
2051
487
  align-items: center;
2052
488
  margin-right: 30px;
2053
489
  `;
2054
- const Selected = ut.span `
490
+ const Selected = styled.span `
2055
491
  font-size: 14px;
2056
492
  font-weight: 400;
2057
493
  font-family: ${FontStyles.DEFAULT};
2058
494
  color: ${Colors.BLACK.Hex};
2059
495
  line-height: 1;
2060
496
  `;
2061
- const Clear = ut.span `
497
+ const Clear = styled.span `
2062
498
  font-size: 14px;
2063
499
  font-weight: 400;
2064
500
  font-family: ${FontStyles.DEFAULT};
@@ -2070,13 +506,13 @@ const Clear = ut.span `
2070
506
  border-left: 1px solid #ccc;
2071
507
  `;
2072
508
  Clear.defaultProps = { theme: EditableTheme };
2073
- const Actions$1 = ut.div `
509
+ const Actions$1 = styled.div `
2074
510
  box-sizing: border-box;
2075
511
  display: flex;
2076
512
  align-items: center;
2077
513
  column-gap: 10px;
2078
514
  `;
2079
- const Error$1 = ut.div `
515
+ const Error = styled.div `
2080
516
  box-sizing: border-box;
2081
517
  display: flex;
2082
518
  align-items: center;
@@ -2088,7 +524,7 @@ const Error$1 = ut.div `
2088
524
  overflow: hidden;
2089
525
  margin-left: 30px;
2090
526
  `;
2091
- const ErrorMsg = ut.span `
527
+ const ErrorMsg = styled.span `
2092
528
  font-size: 14px;
2093
529
  font-weight: 500;
2094
530
  font-family: ${FontStyles.DEFAULT};
@@ -2106,12 +542,12 @@ const BulkActionBar = (_a) => {
2106
542
  " Selected"),
2107
543
  onClear ? React.createElement(Clear, { onClick: onClear }, "Clear") : null),
2108
544
  React.createElement(Actions$1, null, actions.map((action, i) => (React.createElement(Button, Object.assign({}, action, { key: i, small: true })))))),
2109
- errorMsg ? (React.createElement(Error$1, null,
545
+ errorMsg ? (React.createElement(Error, null,
2110
546
  React.createElement(Icon, { color: Colors.RED.Hex, path: mdiInformationOutline, size: '20px' }),
2111
547
  React.createElement(ErrorMsg, null, errorMsg))) : null));
2112
548
  };
2113
549
 
2114
- const Wrapper$f = ut.div `
550
+ const Wrapper$f = styled.div `
2115
551
  background: #fff;
2116
552
  border-radius: 8px;
2117
553
  box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
@@ -2122,7 +558,7 @@ const Wrapper$f = ut.div `
2122
558
  padding: 10px;
2123
559
  width: 200px;
2124
560
  `;
2125
- const MenuItem = ut.div `
561
+ const MenuItem = styled.div `
2126
562
  align-items: center;
2127
563
  border-radius: 8px;
2128
564
  border: 1px solid transparent;
@@ -2141,7 +577,7 @@ const MenuItem = ut.div `
2141
577
  }
2142
578
  `;
2143
579
  MenuItem.defaultProps = { theme: EditableTheme };
2144
- const Title$1 = ut.span `
580
+ const Title$1 = styled.span `
2145
581
  font-family: Roboto;
2146
582
  font-size: 14px;
2147
583
  font-weight: 400;
@@ -2159,11 +595,11 @@ const MoreMenu = (_a) => {
2159
595
  })));
2160
596
  };
2161
597
 
2162
- const Wrapper$e = ut.div `
598
+ const Wrapper$e = styled.div `
2163
599
  position: relative;
2164
600
  display: inline-block;
2165
601
  `;
2166
- const StyledMoreMenu = ut(MoreMenu) `
602
+ const StyledMoreMenu = styled(MoreMenu) `
2167
603
  position: absolute;
2168
604
  right: ${props => (props.$position === 'right' ? '0px' : 'auto')};
2169
605
  left: ${props => (props.$position === 'left' ? '0px' : 'auto')};
@@ -2178,7 +614,7 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
2178
614
  show_menu ? (React.createElement(StyledMoreMenu, { "$menuWidth": menuWidth, "$position": position, "$small": small, maxHeight: maxHeight, menuItems: menuItems })) : null));
2179
615
  };
2180
616
 
2181
- const Wrapper$d = ut.label `
617
+ const Wrapper$d = styled.label `
2182
618
  border-radius: 4px;
2183
619
  padding: 4px 0px 4px 6px;
2184
620
  margin-left: -6px;
@@ -2194,13 +630,13 @@ const Wrapper$d = ut.label `
2194
630
  }
2195
631
  `;
2196
632
  Wrapper$d.defaultProps = { theme: EditableTheme };
2197
- const Input$2 = ut.input `
633
+ const Input$2 = styled.input `
2198
634
  font-size: 20px;
2199
635
  margin: 5px 0px 0px 0px;
2200
636
  line-height: 1.1em;
2201
637
  box-sizing: border-box;
2202
638
  `;
2203
- const Label$4 = ut.span `
639
+ const Label$4 = styled.span `
2204
640
  font-family: ${FontStyles.DEFAULT};
2205
641
  font-size: ${FontSizes.DEFAULT};
2206
642
  font-weight: 400;
@@ -2216,12 +652,12 @@ const Checkbox = (_a) => {
2216
652
  children ? React.createElement(Label$4, null, children) : null));
2217
653
  };
2218
654
 
2219
- const SelectAll = ut.div `
655
+ const SelectAll = styled.div `
2220
656
  padding: 8px 12px;
2221
657
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2222
658
  box-sizing: border-box;
2223
659
  `;
2224
- const Options$1 = ut.div `
660
+ const Options$1 = styled.div `
2225
661
  padding: 12px;
2226
662
  box-sizing: border-box;
2227
663
  `;
@@ -2262,325 +698,7 @@ const Checklist = (_a) => {
2262
698
  }))));
2263
699
  };
2264
700
 
2265
- var dayjs_min = {exports: {}};
2266
-
2267
- (function (module, exports) {
2268
- !function (t, e) {
2269
- module.exports = e() ;
2270
- }(commonjsGlobal, function () {
2271
-
2272
- var t = 1e3,
2273
- e = 6e4,
2274
- n = 36e5,
2275
- r = "millisecond",
2276
- i = "second",
2277
- s = "minute",
2278
- u = "hour",
2279
- a = "day",
2280
- o = "week",
2281
- f = "month",
2282
- h = "quarter",
2283
- c = "year",
2284
- d = "date",
2285
- l = "Invalid Date",
2286
- $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
2287
- y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
2288
- M = {
2289
- name: "en",
2290
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
2291
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
2292
- ordinal: function (t) {
2293
- var e = ["th", "st", "nd", "rd"],
2294
- n = t % 100;
2295
- return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
2296
- }
2297
- },
2298
- m = function (t, e, n) {
2299
- var r = String(t);
2300
- return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
2301
- },
2302
- v = {
2303
- s: m,
2304
- z: function (t) {
2305
- var e = -t.utcOffset(),
2306
- n = Math.abs(e),
2307
- r = Math.floor(n / 60),
2308
- i = n % 60;
2309
- return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
2310
- },
2311
- m: function t(e, n) {
2312
- if (e.date() < n.date()) return -t(n, e);
2313
- var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
2314
- i = e.clone().add(r, f),
2315
- s = n - i < 0,
2316
- u = e.clone().add(r + (s ? -1 : 1), f);
2317
- return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
2318
- },
2319
- a: function (t) {
2320
- return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
2321
- },
2322
- p: function (t) {
2323
- return {
2324
- M: f,
2325
- y: c,
2326
- w: o,
2327
- d: a,
2328
- D: d,
2329
- h: u,
2330
- m: s,
2331
- s: i,
2332
- ms: r,
2333
- Q: h
2334
- }[t] || String(t || "").toLowerCase().replace(/s$/, "");
2335
- },
2336
- u: function (t) {
2337
- return void 0 === t;
2338
- }
2339
- },
2340
- g = "en",
2341
- D = {};
2342
- D[g] = M;
2343
- var p = function (t) {
2344
- return t instanceof _;
2345
- },
2346
- S = function t(e, n, r) {
2347
- var i;
2348
- if (!e) return g;
2349
- if ("string" == typeof e) {
2350
- var s = e.toLowerCase();
2351
- D[s] && (i = s), n && (D[s] = n, i = s);
2352
- var u = e.split("-");
2353
- if (!i && u.length > 1) return t(u[0]);
2354
- } else {
2355
- var a = e.name;
2356
- D[a] = e, i = a;
2357
- }
2358
- return !r && i && (g = i), i || !r && g;
2359
- },
2360
- w = function (t, e) {
2361
- if (p(t)) return t.clone();
2362
- var n = "object" == typeof e ? e : {};
2363
- return n.date = t, n.args = arguments, new _(n);
2364
- },
2365
- O = v;
2366
- O.l = S, O.i = p, O.w = function (t, e) {
2367
- return w(t, {
2368
- locale: e.$L,
2369
- utc: e.$u,
2370
- x: e.$x,
2371
- $offset: e.$offset
2372
- });
2373
- };
2374
- var _ = function () {
2375
- function M(t) {
2376
- this.$L = S(t.locale, null, !0), this.parse(t);
2377
- }
2378
- var m = M.prototype;
2379
- return m.parse = function (t) {
2380
- this.$d = function (t) {
2381
- var e = t.date,
2382
- n = t.utc;
2383
- if (null === e) return new Date(NaN);
2384
- if (O.u(e)) return new Date();
2385
- if (e instanceof Date) return new Date(e);
2386
- if ("string" == typeof e && !/Z$/i.test(e)) {
2387
- var r = e.match($);
2388
- if (r) {
2389
- var i = r[2] - 1 || 0,
2390
- s = (r[7] || "0").substring(0, 3);
2391
- return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);
2392
- }
2393
- }
2394
- return new Date(e);
2395
- }(t), this.$x = t.x || {}, this.init();
2396
- }, m.init = function () {
2397
- var t = this.$d;
2398
- this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
2399
- }, m.$utils = function () {
2400
- return O;
2401
- }, m.isValid = function () {
2402
- return !(this.$d.toString() === l);
2403
- }, m.isSame = function (t, e) {
2404
- var n = w(t);
2405
- return this.startOf(e) <= n && n <= this.endOf(e);
2406
- }, m.isAfter = function (t, e) {
2407
- return w(t) < this.startOf(e);
2408
- }, m.isBefore = function (t, e) {
2409
- return this.endOf(e) < w(t);
2410
- }, m.$g = function (t, e, n) {
2411
- return O.u(t) ? this[e] : this.set(n, t);
2412
- }, m.unix = function () {
2413
- return Math.floor(this.valueOf() / 1e3);
2414
- }, m.valueOf = function () {
2415
- return this.$d.getTime();
2416
- }, m.startOf = function (t, e) {
2417
- var n = this,
2418
- r = !!O.u(e) || e,
2419
- h = O.p(t),
2420
- l = function (t, e) {
2421
- var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
2422
- return r ? i : i.endOf(a);
2423
- },
2424
- $ = function (t, e) {
2425
- return O.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
2426
- },
2427
- y = this.$W,
2428
- M = this.$M,
2429
- m = this.$D,
2430
- v = "set" + (this.$u ? "UTC" : "");
2431
- switch (h) {
2432
- case c:
2433
- return r ? l(1, 0) : l(31, 11);
2434
- case f:
2435
- return r ? l(1, M) : l(0, M + 1);
2436
- case o:
2437
- var g = this.$locale().weekStart || 0,
2438
- D = (y < g ? y + 7 : y) - g;
2439
- return l(r ? m - D : m + (6 - D), M);
2440
- case a:
2441
- case d:
2442
- return $(v + "Hours", 0);
2443
- case u:
2444
- return $(v + "Minutes", 1);
2445
- case s:
2446
- return $(v + "Seconds", 2);
2447
- case i:
2448
- return $(v + "Milliseconds", 3);
2449
- default:
2450
- return this.clone();
2451
- }
2452
- }, m.endOf = function (t) {
2453
- return this.startOf(t, !1);
2454
- }, m.$set = function (t, e) {
2455
- var n,
2456
- o = O.p(t),
2457
- h = "set" + (this.$u ? "UTC" : ""),
2458
- l = (n = {}, n[a] = h + "Date", n[d] = h + "Date", n[f] = h + "Month", n[c] = h + "FullYear", n[u] = h + "Hours", n[s] = h + "Minutes", n[i] = h + "Seconds", n[r] = h + "Milliseconds", n)[o],
2459
- $ = o === a ? this.$D + (e - this.$W) : e;
2460
- if (o === f || o === c) {
2461
- var y = this.clone().set(d, 1);
2462
- y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
2463
- } else l && this.$d[l]($);
2464
- return this.init(), this;
2465
- }, m.set = function (t, e) {
2466
- return this.clone().$set(t, e);
2467
- }, m.get = function (t) {
2468
- return this[O.p(t)]();
2469
- }, m.add = function (r, h) {
2470
- var d,
2471
- l = this;
2472
- r = Number(r);
2473
- var $ = O.p(h),
2474
- y = function (t) {
2475
- var e = w(l);
2476
- return O.w(e.date(e.date() + Math.round(t * r)), l);
2477
- };
2478
- if ($ === f) return this.set(f, this.$M + r);
2479
- if ($ === c) return this.set(c, this.$y + r);
2480
- if ($ === a) return y(1);
2481
- if ($ === o) return y(7);
2482
- var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
2483
- m = this.$d.getTime() + r * M;
2484
- return O.w(m, this);
2485
- }, m.subtract = function (t, e) {
2486
- return this.add(-1 * t, e);
2487
- }, m.format = function (t) {
2488
- var e = this,
2489
- n = this.$locale();
2490
- if (!this.isValid()) return n.invalidDate || l;
2491
- var r = t || "YYYY-MM-DDTHH:mm:ssZ",
2492
- i = O.z(this),
2493
- s = this.$H,
2494
- u = this.$m,
2495
- a = this.$M,
2496
- o = n.weekdays,
2497
- f = n.months,
2498
- h = function (t, n, i, s) {
2499
- return t && (t[n] || t(e, r)) || i[n].slice(0, s);
2500
- },
2501
- c = function (t) {
2502
- return O.s(s % 12 || 12, t, "0");
2503
- },
2504
- d = n.meridiem || function (t, e, n) {
2505
- var r = t < 12 ? "AM" : "PM";
2506
- return n ? r.toLowerCase() : r;
2507
- },
2508
- $ = {
2509
- YY: String(this.$y).slice(-2),
2510
- YYYY: O.s(this.$y, 4, "0"),
2511
- M: a + 1,
2512
- MM: O.s(a + 1, 2, "0"),
2513
- MMM: h(n.monthsShort, a, f, 3),
2514
- MMMM: h(f, a),
2515
- D: this.$D,
2516
- DD: O.s(this.$D, 2, "0"),
2517
- d: String(this.$W),
2518
- dd: h(n.weekdaysMin, this.$W, o, 2),
2519
- ddd: h(n.weekdaysShort, this.$W, o, 3),
2520
- dddd: o[this.$W],
2521
- H: String(s),
2522
- HH: O.s(s, 2, "0"),
2523
- h: c(1),
2524
- hh: c(2),
2525
- a: d(s, u, !0),
2526
- A: d(s, u, !1),
2527
- m: String(u),
2528
- mm: O.s(u, 2, "0"),
2529
- s: String(this.$s),
2530
- ss: O.s(this.$s, 2, "0"),
2531
- SSS: O.s(this.$ms, 3, "0"),
2532
- Z: i
2533
- };
2534
- return r.replace(y, function (t, e) {
2535
- return e || $[t] || i.replace(":", "");
2536
- });
2537
- }, m.utcOffset = function () {
2538
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2539
- }, m.diff = function (r, d, l) {
2540
- var $,
2541
- y = O.p(d),
2542
- M = w(r),
2543
- m = (M.utcOffset() - this.utcOffset()) * e,
2544
- v = this - M,
2545
- g = O.m(this, M);
2546
- return g = ($ = {}, $[c] = g / 12, $[f] = g, $[h] = g / 3, $[o] = (v - m) / 6048e5, $[a] = (v - m) / 864e5, $[u] = v / n, $[s] = v / e, $[i] = v / t, $)[y] || v, l ? g : O.a(g);
2547
- }, m.daysInMonth = function () {
2548
- return this.endOf(f).$D;
2549
- }, m.$locale = function () {
2550
- return D[this.$L];
2551
- }, m.locale = function (t, e) {
2552
- if (!t) return this.$L;
2553
- var n = this.clone(),
2554
- r = S(t, e, !0);
2555
- return r && (n.$L = r), n;
2556
- }, m.clone = function () {
2557
- return O.w(this.$d, this);
2558
- }, m.toDate = function () {
2559
- return new Date(this.valueOf());
2560
- }, m.toJSON = function () {
2561
- return this.isValid() ? this.toISOString() : null;
2562
- }, m.toISOString = function () {
2563
- return this.$d.toISOString();
2564
- }, m.toString = function () {
2565
- return this.$d.toUTCString();
2566
- }, M;
2567
- }(),
2568
- T = _.prototype;
2569
- return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function (t) {
2570
- T[t[1]] = function (e) {
2571
- return this.$g(e, t[0], t[1]);
2572
- };
2573
- }), w.extend = function (t, e) {
2574
- return t.$i || (t(e, _, w), t.$i = !0), w;
2575
- }, w.locale = S, w.isDayjs = p, w.unix = function (t) {
2576
- return w(1e3 * t);
2577
- }, w.en = D[g], w.Ls = D, w.p = {}, w;
2578
- });
2579
- })(dayjs_min);
2580
- var dayjs_minExports = dayjs_min.exports;
2581
- var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
2582
-
2583
- const Wrapper$c = ut.div `
701
+ const Wrapper$c = styled.div `
2584
702
  border-radius: 4px;
2585
703
  height: 40px;
2586
704
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -2602,7 +720,7 @@ const Wrapper$c = ut.div `
2602
720
  }
2603
721
  `;
2604
722
  Wrapper$c.defaultProps = { theme: EditableTheme };
2605
- const Trigger$1 = ut.select `
723
+ const Trigger$1 = styled.select `
2606
724
  appearance: none;
2607
725
  box-shadow: none;
2608
726
  outline: none;
@@ -2622,7 +740,7 @@ const Trigger$1 = ut.select `
2622
740
  position: relative;
2623
741
  z-index: 2;
2624
742
  `;
2625
- const IconWrapper$2 = ut(Icon) `
743
+ const IconWrapper$2 = styled(Icon) `
2626
744
  position: absolute;
2627
745
  right: 9px;
2628
746
  z-index: 1;
@@ -2645,11 +763,11 @@ const Select = (_a) => {
2645
763
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: mdiChevronDown, size: '22px' })));
2646
764
  };
2647
765
 
2648
- const DatePickerWrapper = ut.div `
766
+ const DatePickerWrapper = styled.div `
2649
767
  display: flex;
2650
768
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2651
769
  `;
2652
- const Middle = ut.div `
770
+ const Middle = styled.div `
2653
771
  margin: 0px -1px;
2654
772
  flex-grow: 1;
2655
773
  `;
@@ -2715,7 +833,7 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
2715
833
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: dDate.format('YYYY') }))));
2716
834
  };
2717
835
 
2718
- const Scrim$1 = ut.div `
836
+ const Scrim$1 = styled.div `
2719
837
  position: ${({ $position }) => $position};
2720
838
  top: 0;
2721
839
  right: 0;
@@ -2724,7 +842,7 @@ const Scrim$1 = ut.div `
2724
842
  z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
2725
843
  background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
2726
844
  `;
2727
- const Container$2 = ut.div `
845
+ const Container$2 = styled.div `
2728
846
  z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
2729
847
  min-width: 400px;
2730
848
  width: ${({ $width }) => $width || '400px'};
@@ -2742,7 +860,7 @@ const Container$2 = ut.div `
2742
860
  box-sizing: border-box;
2743
861
  background: #fff;
2744
862
  `;
2745
- const Header$2 = ut.div `
863
+ const Header$2 = styled.div `
2746
864
  padding: 30px 20px;
2747
865
  display: flex;
2748
866
  align-items: flex-start;
@@ -2750,21 +868,21 @@ const Header$2 = ut.div `
2750
868
  flex-shrink: 0;
2751
869
  background: #fff;
2752
870
  `;
2753
- const Close$1 = ut.div `
871
+ const Close$1 = styled.div `
2754
872
  margin-left: auto;
2755
873
  display: flex;
2756
874
  align-items: center;
2757
875
  padding-left: 20px;
2758
876
  cursor: pointer;
2759
877
  `;
2760
- const ContentWrapper$1 = ut.div `
878
+ const ContentWrapper$1 = styled.div `
2761
879
  overflow-x: hidden;
2762
880
  overflow-y: auto;
2763
881
  box-sizing: border-box;
2764
882
  flex: 1;
2765
883
  background: #fff;
2766
884
  `;
2767
- const ButtonBar$1 = ut.div `
885
+ const ButtonBar$1 = styled.div `
2768
886
  padding: 20px;
2769
887
  display: flex;
2770
888
  align-items: center;
@@ -2802,12 +920,12 @@ const Drawer = (_a) => {
2802
920
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
2803
921
  };
2804
922
 
2805
- const Wrapper$b = ut.div `
923
+ const Wrapper$b = styled.div `
2806
924
  display: inline-block;
2807
925
  position: relative;
2808
926
  height: 16px;
2809
927
  `;
2810
- const StyledIcon$4 = ut(Icon) `
928
+ const StyledIcon$4 = styled(Icon) `
2811
929
  width: 16px;
2812
930
  height: 16px;
2813
931
  margin: 0px 6px;
@@ -2843,7 +961,7 @@ const positions = {
2843
961
  transform: 'translateY(-50%)',
2844
962
  },
2845
963
  };
2846
- const Content$3 = ut.div(props => (Object.assign({ position: 'absolute', borderRadius: '4px', borderWidth: '1px', borderStyle: 'solid', borderColor: props.theme.PRIMARY_COLOR.Hex, background: '#ffffff', boxShadow: '0px 5px 30px -10px rgba(0, 0, 0, 0.5)', width: props.$width || '240px', padding: '10px 12px', zIndex: 10 }, positions[props.$position])));
964
+ 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])));
2847
965
  Content$3.defaultProps = { theme: EditableTheme };
2848
966
  const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }) => {
2849
967
  const [show_content, toggleContent] = useState(false);
@@ -2852,15 +970,15 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
2852
970
  show_content ? (React.createElement(Content$3, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
2853
971
  };
2854
972
 
2855
- const Wrapper$a = ut.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
2856
- const LabelRow = ut.div `
973
+ const Wrapper$a = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
974
+ const LabelRow = styled.div `
2857
975
  display: flex;
2858
976
  align-items: center;
2859
977
  justify-content: space-between;
2860
978
  margin: 0 0 4px 0;
2861
979
  box-sizing: border-box;
2862
980
  `;
2863
- const Label$3 = ut.label `
981
+ const Label$3 = styled.label `
2864
982
  font-size: ${FontSizes.DEFAULT};
2865
983
  font-weight: 500;
2866
984
  line-height: 1em;
@@ -2869,11 +987,11 @@ const Label$3 = ut.label `
2869
987
  display: flex;
2870
988
  align-items: center;
2871
989
  `;
2872
- const Required = ut.span `
990
+ const Required = styled.span `
2873
991
  color: ${Colors.RED.Hex};
2874
992
  margin-left: 4px;
2875
993
  `;
2876
- const Action = ut.span `
994
+ const Action = styled.span `
2877
995
  font-size: ${FontSizes.DEFAULT};
2878
996
  font-weight: 500;
2879
997
  line-height: 1em;
@@ -2882,7 +1000,7 @@ const Action = ut.span `
2882
1000
  cursor: pointer;
2883
1001
  `;
2884
1002
  Action.defaultProps = { theme: EditableTheme };
2885
- const Description = ut.div `
1003
+ const Description = styled.div `
2886
1004
  font-size: ${FontSizes.SMALL};
2887
1005
  font-weight: 400;
2888
1006
  line-height: 1.3em;
@@ -2891,7 +1009,7 @@ const Description = ut.div `
2891
1009
  margin: 0 0 8px 0;
2892
1010
  box-sizing: border-box;
2893
1011
  `;
2894
- const Validation = ut.div `
1012
+ const Validation = styled.div `
2895
1013
  font-size: ${FontSizes.SMALL};
2896
1014
  font-weight: 400;
2897
1015
  line-height: 1.3em;
@@ -2914,7 +1032,7 @@ const Field = (_a) => {
2914
1032
  validationText ? React.createElement(Validation, null, validationText) : null));
2915
1033
  };
2916
1034
 
2917
- const Wrapper$9 = ut.fieldset `
1035
+ const Wrapper$9 = styled.fieldset `
2918
1036
  margin-inline-start: 0px;
2919
1037
  margin-inline-end: 0px;
2920
1038
  padding-block-start: 0px;
@@ -2927,7 +1045,7 @@ const Wrapper$9 = ut.fieldset `
2927
1045
  border-color: transparent;
2928
1046
  border-image: none;
2929
1047
  `;
2930
- const Label$2 = ut.legend `
1048
+ const Label$2 = styled.legend `
2931
1049
  padding-inline-start: 0px;
2932
1050
  padding-inline-end: 0px;
2933
1051
 
@@ -2938,7 +1056,7 @@ const Label$2 = ut.legend `
2938
1056
  line-height: 22px;
2939
1057
  margin-bottom: 6px;
2940
1058
  `;
2941
- const Content$2 = ut.div `
1059
+ const Content$2 = styled.div `
2942
1060
  padding: 20px;
2943
1061
  border-radius: 8px;
2944
1062
  background: #fcfcfc;
@@ -2949,7 +1067,7 @@ const FieldGroup = ({ children, label }) => {
2949
1067
  React.createElement(Content$2, null, children)));
2950
1068
  };
2951
1069
 
2952
- const Dropzone = ut.div `
1070
+ const Dropzone = styled.div `
2953
1071
  border-radius: 8px;
2954
1072
  border-width: 1px;
2955
1073
  border-style: dashed;
@@ -2958,7 +1076,7 @@ const Dropzone = ut.div `
2958
1076
  cursor: copy;
2959
1077
  `;
2960
1078
  Dropzone.defaultProps = { theme: EditableTheme };
2961
- const IconWrapper$1 = ut.div `
1079
+ const IconWrapper$1 = styled.div `
2962
1080
  width: 80px;
2963
1081
  height: 80px;
2964
1082
  border-radius: 40px;
@@ -2967,7 +1085,7 @@ const IconWrapper$1 = ut.div `
2967
1085
  align-items: center;
2968
1086
  justify-content: center;
2969
1087
  `;
2970
- const StyledIcon$3 = ut(Icon) `
1088
+ const StyledIcon$3 = styled(Icon) `
2971
1089
  width: 40px !important;
2972
1090
  height: 40px !important;
2973
1091
 
@@ -2975,27 +1093,27 @@ const StyledIcon$3 = ut(Icon) `
2975
1093
  fill: ${Colors.GRAY.Hex} !important;
2976
1094
  }
2977
1095
  `;
2978
- const ClickZone = ut.div `
1096
+ const ClickZone = styled.div `
2979
1097
  margin: 40px 20px;
2980
1098
  display: flex;
2981
1099
  flex-direction: column;
2982
1100
  align-items: center;
2983
1101
  gap: 16px;
2984
1102
  `;
2985
- const Content$1 = ut.div `
1103
+ const Content$1 = styled.div `
2986
1104
  display: flex;
2987
1105
  flex-direction: column;
2988
1106
  align-items: center;
2989
1107
  gap: 2px;
2990
1108
  `;
2991
- const Files = ut.div `
1109
+ const Files = styled.div `
2992
1110
  display: flex;
2993
1111
  flex-direction: column;
2994
1112
  align-self: stretch;
2995
1113
  gap: 10px;
2996
1114
  margin: 20px;
2997
1115
  `;
2998
- const File = ut.div `
1116
+ const File = styled.div `
2999
1117
  display: flex;
3000
1118
  padding: 10px;
3001
1119
  align-items: center;
@@ -3005,7 +1123,7 @@ const File = ut.div `
3005
1123
  border: 1px solid #cccccc;
3006
1124
  background: #ffffff;
3007
1125
  `;
3008
- const Remove$1 = ut(Icon) `
1126
+ const Remove$1 = styled(Icon) `
3009
1127
  width: 24px;
3010
1128
  height: 24px;
3011
1129
  cursor: pointer;
@@ -3199,7 +1317,7 @@ const formatAsSsn = (number) => {
3199
1317
  return formatted_value;
3200
1318
  };
3201
1319
 
3202
- const StyledInput = ut.input `
1320
+ const StyledInput = styled.input `
3203
1321
  border: none !important;
3204
1322
  background: none !important;
3205
1323
  font-size: ${FontSizes.DEFAULT};
@@ -3220,7 +1338,7 @@ const StyledInput = ut.input `
3220
1338
  display: block;
3221
1339
  width: 100%;
3222
1340
  `;
3223
- const StyledSuffix = ut.div `
1341
+ const StyledSuffix = styled.div `
3224
1342
  box-sizing: border-box;
3225
1343
  border-radius: 0px 4px 4px 0px;
3226
1344
  display: flex;
@@ -3238,7 +1356,7 @@ const StyledSuffix = ut.div `
3238
1356
  font-size: ${FontSizes.DEFAULT};
3239
1357
  color: Colors.BLACK.Hex;
3240
1358
  `;
3241
- const StyledWrapper = ut.div `
1359
+ const StyledWrapper = styled.div `
3242
1360
  display: flex;
3243
1361
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
3244
1362
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -3253,7 +1371,7 @@ const StyledWrapper = ut.div `
3253
1371
  }
3254
1372
  `;
3255
1373
  StyledWrapper.defaultProps = { theme: EditableTheme };
3256
- const StyledTextarea = ut.textarea `
1374
+ const StyledTextarea = styled.textarea `
3257
1375
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
3258
1376
  border-radius: 4px;
3259
1377
  border-width: 1px;
@@ -3282,7 +1400,7 @@ const StyledTextarea = ut.textarea `
3282
1400
  }
3283
1401
  `;
3284
1402
  StyledTextarea.defaultProps = { theme: EditableTheme };
3285
- const SuggestedValues = ut.div `
1403
+ const SuggestedValues = styled.div `
3286
1404
  background: #fff;
3287
1405
  box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
3288
1406
  border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
@@ -3299,7 +1417,7 @@ const SuggestedValues = ut.div `
3299
1417
  overflow: auto;
3300
1418
  `;
3301
1419
  SuggestedValues.defaultProps = { theme: EditableTheme };
3302
- const SuggestedSummary = ut.div `
1420
+ const SuggestedSummary = styled.div `
3303
1421
  color: ${Colors.MEDIUM_GRAY.Hex};
3304
1422
  font-size: 12px;
3305
1423
  font-family: ${FontStyles.DEFAULT};
@@ -3312,7 +1430,7 @@ const SuggestedSummary = ut.div `
3312
1430
  position: sticky;
3313
1431
  top: 0px;
3314
1432
  `;
3315
- const SuggestedValue = ut.div `
1433
+ const SuggestedValue = styled.div `
3316
1434
  cursor: pointer;
3317
1435
  padding: 8px 12px;
3318
1436
  font-size: ${FontSizes.DEFAULT};
@@ -3385,7 +1503,7 @@ const Input$1 = (_a) => {
3385
1503
  }))) : null));
3386
1504
  };
3387
1505
 
3388
- const Wrapper$8 = ut.a `
1506
+ const Wrapper$8 = styled.a `
3389
1507
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
3390
1508
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
3391
1509
  line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
@@ -3405,7 +1523,7 @@ const Link = (_a) => {
3405
1523
  return (React.createElement(Wrapper$8, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
3406
1524
  };
3407
1525
 
3408
- const dash = ht `
1526
+ const dash = keyframes `
3409
1527
  0% {
3410
1528
  stroke-dasharray: 1, 160;
3411
1529
  stroke-dashoffset: 0;
@@ -3419,7 +1537,7 @@ const dash = ht `
3419
1537
  stroke-dashoffset: -124;
3420
1538
  }
3421
1539
  `;
3422
- const Spinner = ut.svg `
1540
+ const Spinner = styled.svg `
3423
1541
  z-index: 2;
3424
1542
  position: absolute;
3425
1543
  top: 50%;
@@ -3428,7 +1546,7 @@ const Spinner = ut.svg `
3428
1546
  width: 40px;
3429
1547
  height: 40px;
3430
1548
  `;
3431
- const Path = ut.path `
1549
+ const Path = styled.path `
3432
1550
  stroke: #0193d7;
3433
1551
  stroke-linecap: round;
3434
1552
  -webkit-animation: ${dash} 1.1s ease-in-out infinite;
@@ -3439,49 +1557,7 @@ const Loader = () => {
3439
1557
  React.createElement(Path, { d: 'M7.21487 1.2868C7.88431 0.9044 8.73031 0.9044 9.39974 1.2868L9.40283 1.28856L14.4613 4.20761C15.1684 4.598 15.5746 5.33558 15.5746 6.11465V8.99996V11.8853C15.5746 12.6507 15.1632 13.3848 14.4617 13.7721L9.37973 16.7132C8.71029 17.0956 7.86428 17.0956 7.19485 16.7132L7.19088 16.7109L2.11279 13.772C1.40602 13.3816 1 12.6441 1 11.8653V8.98995V6.11465C1 5.31458 1.44381 4.59039 2.10827 4.21051L7.21487 1.2868Z', fill: 'none', strokeWidth: '2' })));
3440
1558
  };
3441
1559
 
3442
- const colorMapping = {
3443
- black: {
3444
- fill_1: '#000000',
3445
- fill_2: '#000000',
3446
- fill_3: '#000000',
3447
- },
3448
- white: {
3449
- fill_1: '#ffffff',
3450
- fill_2: '#ffffff',
3451
- fill_3: '#ffffff',
3452
- },
3453
- full: {
3454
- fill_1: '#000000',
3455
- fill_2: '#E82425',
3456
- fill_3: '#E82425',
3457
- },
3458
- reversed: {
3459
- fill_1: '#ffffff',
3460
- fill_2: '#E82425',
3461
- fill_3: '#E82425',
3462
- },
3463
- };
3464
- const Logo = (_a) => {
3465
- var { type = 'standard_full', height = '50px' } = _a, accessibleProps = __rest(_a, ["type", "height"]);
3466
- const type_parts = type.split('_');
3467
- switch (type_parts[0]) {
3468
- case 'mark':
3469
- return (React.createElement("svg", Object.assign({ fill: 'none', height: height, viewBox: '0 0 58 51', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
3470
- React.createElement("path", { d: 'M43.9348 -1.14441e-05H13.3724L0 25.2376L7.27148 38.0136L14.1215 50.0487H43.1856L57.3077 25.2376L43.9348 -1.14441e-05ZM38.206 9.49903L46.459 25.0743L37.6507 40.5497H19.6567L15.5417 33.3199L10.8487 25.0743L19.1013 9.49903H38.206Z', fill: type_parts[1] })));
3471
- default:
3472
- return (React.createElement("svg", Object.assign({ fill: 'none', height: height, preserveAspectRatio: 'xMidYMid meet', viewBox: '0 0 236 50', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
3473
- React.createElement("path", { d: 'M230.794 29.59H219.306L214.279 39.0907L217.012 43.9001L219.587 48.4308H230.512L235.821 39.0907L230.794 29.59V29.59ZM228.641 33.1659L231.743 39.0292L228.432 44.8549H221.668L220.121 42.1332L218.356 39.0292L221.459 33.1659H228.641Z', fill: colorMapping[type_parts[1]].fill_3 }),
3474
- React.createElement("path", { d: 'M211.662 42.6033L199.206 42.6319C196.339 42.6319 193.862 41.6095 191.846 39.5923C189.828 37.5755 188.805 35.0985 188.805 32.2321C188.805 29.3656 189.828 26.8886 191.846 24.8718C193.848 22.8332 196.325 21.7975 199.206 21.7975C202.072 21.7975 204.549 22.8199 206.566 24.8374C207.613 25.8847 208.391 27.093 208.944 28.5312L209.253 29.3327H197.87L196.325 32.2579L197.921 35.0969H211.458L215.015 28.6192C214.296 25.5702 212.835 22.9293 210.672 20.7657C207.531 17.6257 203.674 16.0333 199.206 16.0333C194.737 16.0333 190.88 17.6257 187.739 20.7657C184.555 23.9501 183.007 27.7011 183.007 32.2321C183.007 36.7001 184.599 40.5577 187.739 43.6981C190.88 46.8384 194.737 48.4308 199.206 48.4308H210.095L214.745 48.3297L211.662 42.6033', fill: colorMapping[type_parts[1]].fill_1 }),
3475
- React.createElement("path", { d: 'M160.945 19.133L158.826 20.8384C155.734 23.9359 154.141 27.8058 154.141 32.2967L154.141 47.7903L156.985 49.407L159.939 47.8778L159.94 32.2967C159.94 29.6632 160.778 27.3706 162.432 25.4846C162.615 25.2739 162.811 25.0666 163.018 24.8639C163.074 24.8155 164.138 24.0061 164.811 23.5592C166.321 22.5576 168.076 21.9876 170.024 21.8632L170.166 21.8621C172.923 21.8621 175.32 22.7325 177.301 24.4494L180.146 23.0088L180.246 19.3426C177.44 17.1664 174.132 16.0633 170.408 16.0633C166.909 16.0633 163.725 17.0962 160.945 19.133', fill: colorMapping[type_parts[1]].fill_1 }),
3476
- React.createElement("path", { d: 'M131.392 50C135.884 50 139.753 48.4076 142.893 45.2676C146.033 42.1269 147.626 38.2581 147.626 33.7668V18.1124L144.782 16.4964L141.827 18.0251V33.7668C141.827 36.6932 140.792 39.1936 138.745 41.2034C136.684 43.1927 134.128 44.2013 131.151 44.2013L131.01 44.2002H131.81L131.669 44.2013C128.692 44.2013 126.136 43.1927 124.074 41.2034C122.028 39.1936 120.993 36.6932 120.993 33.7668V18.0251L118.038 16.4964L115.194 18.1124V33.7668C115.194 38.2581 116.786 42.1269 119.926 45.2676C123.067 48.4076 126.936 50 131.427 50H131.392Z', fill: colorMapping[type_parts[1]].fill_1 }),
3477
- React.createElement("path", { d: 'M93.8353 26.9933L97.8468 31.2421L100.788 28.1521L107.791 20.4534L106.753 17.3567L103.584 16.5678', fill: colorMapping[type_parts[1]].fill_2 }),
3478
- React.createElement("path", { d: 'M80.7509 16.5677L77.5821 17.3564L76.5441 20.4534L83.5514 28.1568L88.1484 32.9862L76.5412 45.2133L77.5187 48.3175C79.525 48.9571 80.359 49.1805 80.6985 49.2584L92.195 37.238L103.636 49.2584C103.976 49.1805 104.81 48.9571 106.817 48.3175L107.794 45.2133L80.7509 16.5677', fill: colorMapping[type_parts[1]].fill_1 }),
3479
- React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1 }),
3480
- React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1 })));
3481
- }
3482
- };
3483
-
3484
- const Steps = ut.div `
1560
+ const Steps = styled.div `
3485
1561
  padding: 20px;
3486
1562
  border-bottom: 1px solid #e7e6e6;
3487
1563
  background: #f5f5f5;
@@ -3489,18 +1565,18 @@ const Steps = ut.div `
3489
1565
  gap: 30px;
3490
1566
  align-items: center;
3491
1567
  `;
3492
- const Step = ut.div `
1568
+ const Step = styled.div `
3493
1569
  display: flex;
3494
1570
  align-items: center;
3495
1571
  gap: 8px;
3496
1572
  `;
3497
- const StyledIcon$2 = ut(Icon) `
1573
+ const StyledIcon$2 = styled(Icon) `
3498
1574
  > path {
3499
1575
  fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
3500
1576
  }
3501
1577
  `;
3502
1578
  StyledIcon$2.defaultProps = { theme: EditableTheme };
3503
- const StepIndicator = ut.div `
1579
+ const StepIndicator = styled.div `
3504
1580
  width: 30px;
3505
1581
  height: 30px;
3506
1582
  border-radius: 15px;
@@ -3516,7 +1592,7 @@ const StepIndicator = ut.div `
3516
1592
  flex-shrink: 0;
3517
1593
  `;
3518
1594
  StepIndicator.defaultProps = { theme: EditableTheme };
3519
- const StepLabel = ut.div `
1595
+ const StepLabel = styled.div `
3520
1596
  color: #000;
3521
1597
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
3522
1598
  font-size: 14px;
@@ -3531,7 +1607,7 @@ const ProgressBar = ({ steps }) => {
3531
1607
  })));
3532
1608
  };
3533
1609
 
3534
- const Wrapper$7 = ut.div `
1610
+ const Wrapper$7 = styled.div `
3535
1611
  position: fixed;
3536
1612
  top: 0;
3537
1613
  right: 0;
@@ -3543,7 +1619,7 @@ const Wrapper$7 = ut.div `
3543
1619
  align-items: center;
3544
1620
  justify-content: center;
3545
1621
  `;
3546
- const Container$1 = ut.dialog `
1622
+ const Container$1 = styled.dialog `
3547
1623
  width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
3548
1624
  max-width: calc(100vw - 80px);
3549
1625
  height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
@@ -3559,7 +1635,7 @@ const Container$1 = ut.dialog `
3559
1635
  display: flex;
3560
1636
  flex-direction: column;
3561
1637
  `;
3562
- const Header$1 = ut.div `
1638
+ const Header$1 = styled.div `
3563
1639
  flex-shrink: 0;
3564
1640
  padding: 20px;
3565
1641
  border-bottom: 1px solid #e7e6e6;
@@ -3568,28 +1644,28 @@ const Header$1 = ut.div `
3568
1644
  background: #ffffff;
3569
1645
  box-sizing: border-box;
3570
1646
  `;
3571
- const Close = ut.div `
1647
+ const Close = styled.div `
3572
1648
  margin-left: auto;
3573
1649
  display: flex;
3574
1650
  align-items: center;
3575
1651
  padding-left: 20px;
3576
1652
  cursor: pointer;
3577
1653
  `;
3578
- const CloseMsg = ut.span `
1654
+ const CloseMsg = styled.span `
3579
1655
  font-size: ${FontSizes.SMALL};
3580
1656
  font-weight: 400;
3581
1657
  font-family: ${FontStyles.DEFAULT};
3582
1658
  line-height: 1em;
3583
1659
  color: ${Colors.MEDIUM_GRAY.Hex};
3584
1660
  `;
3585
- const ContentWrapper = ut.div `
1661
+ const ContentWrapper = styled.div `
3586
1662
  overflow-x: hidden;
3587
1663
  overflow-y: auto;
3588
1664
  background: #ffffff;
3589
1665
  flex: 1;
3590
1666
  box-sizing: border-box;
3591
1667
  `;
3592
- const ButtonBar = ut.div `
1668
+ const ButtonBar = styled.div `
3593
1669
  flex-shrink: 0;
3594
1670
  background: #ffffff;
3595
1671
  padding: 20px;
@@ -3632,11 +1708,11 @@ const Modal = (_a) => {
3632
1708
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: 'primary', margin: '0px 0px 0px 10px' }))) : null)) : null)) : null)));
3633
1709
  };
3634
1710
 
3635
- const Wrapper$6 = ut.div `
1711
+ const Wrapper$6 = styled.div `
3636
1712
  position: relative;
3637
1713
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
3638
1714
  `;
3639
- const Trigger = ut.div `
1715
+ const Trigger = styled.div `
3640
1716
  box-sizing: border-box;
3641
1717
  border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
3642
1718
  height: 40px;
@@ -3665,7 +1741,7 @@ const Trigger = ut.div `
3665
1741
  z-index: 1;
3666
1742
  `;
3667
1743
  Trigger.defaultProps = { theme: EditableTheme };
3668
- const Value = ut.div `
1744
+ const Value = styled.div `
3669
1745
  color: ${Colors.BLACK.Hex};
3670
1746
  font-family: ${FontStyles.DEFAULT};
3671
1747
  font-size: ${FontSizes.DEFAULT};
@@ -3676,7 +1752,7 @@ const Value = ut.div `
3676
1752
  white-space: nowrap;
3677
1753
  width: 100%;
3678
1754
  `;
3679
- const Options = ut.div `
1755
+ const Options = styled.div `
3680
1756
  background: #fff;
3681
1757
  box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
3682
1758
  border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
@@ -3692,7 +1768,7 @@ const Options = ut.div `
3692
1768
  overflow: auto;
3693
1769
  `;
3694
1770
  Options.defaultProps = { theme: EditableTheme };
3695
- const Scrim = ut.div `
1771
+ const Scrim = styled.div `
3696
1772
  bottom: 0;
3697
1773
  left: 0;
3698
1774
  position: fixed;
@@ -3715,7 +1791,7 @@ const MultiSelect = (_a) => {
3715
1791
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
3716
1792
  };
3717
1793
 
3718
- const Wrapper$5 = ut.div `
1794
+ const Wrapper$5 = styled.div `
3719
1795
  display: inline-block;
3720
1796
  border-radius: 4px;
3721
1797
  padding: 4px 6px;
@@ -3724,18 +1800,18 @@ const Wrapper$5 = ut.div `
3724
1800
  box-sizing: border-box;
3725
1801
  cursor: ${props => (props.$removable ? 'pointer' : 'default')};
3726
1802
  `;
3727
- const Content = ut.div `
1803
+ const Content = styled.div `
3728
1804
  display: flex;
3729
1805
  align-items: center;
3730
1806
  `;
3731
- const Label$1 = ut.div `
1807
+ const Label$1 = styled.div `
3732
1808
  color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
3733
1809
  font-size: ${FontSizes.SMALL};
3734
1810
  font-weight: 500;
3735
1811
  font-family: ${FontStyles.DEFAULT};
3736
1812
  line-height: 1.2em;
3737
1813
  `;
3738
- const Remove = ut.div `
1814
+ const Remove = styled.div `
3739
1815
  margin-left: 10px;
3740
1816
  display: flex;
3741
1817
  align-items: center;
@@ -3749,7 +1825,7 @@ const Tag = (_a) => {
3749
1825
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: mdiClose, size: '15px' }))) : null)));
3750
1826
  };
3751
1827
 
3752
- const Wrapper$4 = ut.div `
1828
+ const Wrapper$4 = styled.div `
3753
1829
  display: flex;
3754
1830
  padding: 16px 30px;
3755
1831
  align-items: center;
@@ -3757,24 +1833,24 @@ const Wrapper$4 = ut.div `
3757
1833
  align-self: stretch;
3758
1834
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
3759
1835
  `;
3760
- const Title = ut.div `
1836
+ const Title = styled.div `
3761
1837
  display: flex;
3762
1838
  align-items: center;
3763
1839
  gap: 20px;
3764
1840
  `;
3765
- const Info = ut.div `
1841
+ const Info = styled.div `
3766
1842
  display: flex;
3767
1843
  flex-direction: column;
3768
1844
  align-items: flex-start;
3769
1845
  gap: 4px;
3770
1846
  flex: 1 0 0;
3771
1847
  `;
3772
- const Breadcrumbs = ut.div `
1848
+ const Breadcrumbs = styled.div `
3773
1849
  display: flex;
3774
1850
  align-items: center;
3775
1851
  gap: 4px;
3776
1852
  `;
3777
- const Actions = ut.div `
1853
+ const Actions = styled.div `
3778
1854
  display: flex;
3779
1855
  align-items: center;
3780
1856
  gap: 8px;
@@ -3799,7 +1875,7 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
3799
1875
  menuItems.length ? (React.createElement(ButtonMenu, { format: format, label: label, menuItems: menuItems, small: true })) : null)) : null));
3800
1876
  };
3801
1877
 
3802
- const Wrapper$3 = ut.nav `
1878
+ const Wrapper$3 = styled.nav `
3803
1879
  box-sizing: border-box;
3804
1880
  display: flex;
3805
1881
  align-items: center;
@@ -3834,7 +1910,7 @@ const Pagination = (_a) => {
3834
1910
  React.createElement(Button, { disabled: is_last_page, icon: mdiChevronRight, onClick: handleNextClick, small: true })));
3835
1911
  };
3836
1912
 
3837
- const Wrapper$2 = ut.label `
1913
+ const Wrapper$2 = styled.label `
3838
1914
  border-radius: 4px;
3839
1915
  padding: 4px 0px 4px 6px;
3840
1916
  margin-left: -6px;
@@ -3850,12 +1926,12 @@ const Wrapper$2 = ut.label `
3850
1926
  }
3851
1927
  `;
3852
1928
  Wrapper$2.defaultProps = { theme: EditableTheme };
3853
- const Input = ut.input `
1929
+ const Input = styled.input `
3854
1930
  font-size: 20px;
3855
1931
  margin: 0px 0px 2px 0px;
3856
1932
  line-height: 1.1em;
3857
1933
  `;
3858
- const Label = ut.span `
1934
+ const Label = styled.span `
3859
1935
  font-family: ${FontStyles.DEFAULT};
3860
1936
  font-size: ${FontSizes.DEFAULT};
3861
1937
  font-weight: 400;
@@ -3878,7 +1954,7 @@ const RadioList = (_a) => {
3878
1954
  })));
3879
1955
  };
3880
1956
 
3881
- const StyledTable = ut.table `
1957
+ const StyledTable = styled.table `
3882
1958
  width: 100%;
3883
1959
  margin-top: 1px;
3884
1960
  table-layout: ${props => props.$tableLayout || 'auto'};
@@ -3888,7 +1964,7 @@ const StyledTable = ut.table `
3888
1964
  border-color: none;
3889
1965
  box-sizing: border-box;
3890
1966
  `;
3891
- const Header = ut.th `
1967
+ const Header = styled.th `
3892
1968
  padding: 12px !important;
3893
1969
  text-align: left;
3894
1970
  font-weight: 500;
@@ -3907,7 +1983,7 @@ const Header = ut.th `
3907
1983
  color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
3908
1984
  `;
3909
1985
  Header.defaultProps = { theme: EditableTheme };
3910
- const Row = ut.tr `
1986
+ const Row = styled.tr `
3911
1987
  cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
3912
1988
  transition: all 0.2s;
3913
1989
  background-color: ${props => props.$bgColor};
@@ -3917,7 +1993,7 @@ const Row = ut.tr `
3917
1993
  }
3918
1994
  `;
3919
1995
  Row.defaultProps = { theme: EditableTheme };
3920
- const Column = ut.td `
1996
+ const Column = styled.td `
3921
1997
  padding: 16px 12px !important;
3922
1998
  font-size: ${FontSizes.DEFAULT} !important;
3923
1999
  font-weight: 400 !important;
@@ -3928,13 +2004,13 @@ const Column = ut.td `
3928
2004
  box-sizing: border-box;
3929
2005
  width: ${props => props.$width || 'auto'};
3930
2006
  `;
3931
- const IconWrapper = ut.span `
2007
+ const IconWrapper = styled.span `
3932
2008
  position: absolute;
3933
2009
  top: 50%;
3934
2010
  transform: translateY(-50%);
3935
2011
  margin-left: 2px;
3936
2012
  `;
3937
- const StyledIcon$1 = ut(Icon) `
2013
+ const StyledIcon$1 = styled(Icon) `
3938
2014
  > path {
3939
2015
  fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
3940
2016
  }
@@ -3957,7 +2033,7 @@ const Table = (_a) => {
3957
2033
  }))) : null));
3958
2034
  };
3959
2035
 
3960
- const Wrapper$1 = ut.div `
2036
+ const Wrapper$1 = styled.div `
3961
2037
  display: flex;
3962
2038
  box-sizing: border-box;
3963
2039
  align-items: flex-end;
@@ -3968,7 +2044,7 @@ const Wrapper$1 = ut.div `
3968
2044
  padding: 0;
3969
2045
  margin: 0;
3970
2046
  `;
3971
- const Tab = ut.div `
2047
+ const Tab = styled.div `
3972
2048
  display: flex;
3973
2049
  align-items: center;
3974
2050
  gap: 6px;
@@ -3990,7 +2066,7 @@ const Tab = ut.div `
3990
2066
  }
3991
2067
  `;
3992
2068
  Tab.defaultProps = { theme: EditableTheme };
3993
- const Badge = ut.div `
2069
+ const Badge = styled.div `
3994
2070
  display: flex;
3995
2071
  width: 18px;
3996
2072
  height: 18px;
@@ -4017,7 +2093,7 @@ const Tabs = (_a) => {
4017
2093
  };
4018
2094
  Tabs.defaultProps = {};
4019
2095
 
4020
- const Track = ut.div `
2096
+ const Track = styled.div `
4021
2097
  height: 24px;
4022
2098
  border-radius: 12px;
4023
2099
  background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
@@ -4028,7 +2104,7 @@ const Track = ut.div `
4028
2104
  padding: 2px;
4029
2105
  box-sizing: border-box;
4030
2106
  `;
4031
- const Handle = ut.div `
2107
+ const Handle = styled.div `
4032
2108
  width: 20px;
4033
2109
  height: 20px;
4034
2110
  border-radius: 10px;
@@ -4048,7 +2124,7 @@ const Toggle = (_a) => {
4048
2124
  };
4049
2125
  Toggle.defaultProps = {};
4050
2126
 
4051
- const Container = ut.div `
2127
+ const Container = styled.div `
4052
2128
  width: 100%;
4053
2129
  padding: 40px auto;
4054
2130
  gap: 20px;
@@ -4057,14 +2133,14 @@ const Container = ut.div `
4057
2133
  justify-items: center;
4058
2134
  align-items: center;
4059
2135
  `;
4060
- const Wrapper = ut.div `
2136
+ const Wrapper = styled.div `
4061
2137
  gap: 10px;
4062
2138
  display: flex;
4063
2139
  flex-direction: column;
4064
2140
  justify-items: center;
4065
2141
  align-items: center;
4066
2142
  `;
4067
- const StyledIcon = ut.div `
2143
+ const StyledIcon = styled.div `
4068
2144
  display: flex;
4069
2145
  align-items: center;
4070
2146
  justify-content: center;
@@ -4084,5 +2160,5 @@ const ZeroState = (_a) => {
4084
2160
  action && (React.createElement(Button, { children: action === null || action === void 0 ? void 0 : action.children, icon: action === null || action === void 0 ? void 0 : action.icon, onClick: action === null || action === void 0 ? void 0 : action.onClick }))));
4085
2161
  };
4086
2162
 
4087
- export { Accordion, ActionDialog, Alert, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
2163
+ export { Accordion, ActionDialog, Alert, AppHeader, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
4088
2164
  //# sourceMappingURL=index.js.map