@stella-source/stellasource-dsl 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var a$i = require('react');
4
+ var styled = require('styled-components');
4
5
  var ReactDOM = require('react-dom');
5
6
 
6
7
  function _interopNamespaceDefault(e) {
@@ -22,928 +23,6 @@ function _interopNamespaceDefault(e) {
22
23
 
23
24
  var a__namespace = /*#__PURE__*/_interopNamespaceDefault(a$i);
24
25
 
25
- /******************************************************************************
26
- Copyright (c) Microsoft Corporation.
27
-
28
- Permission to use, copy, modify, and/or distribute this software for any
29
- purpose with or without fee is hereby granted.
30
-
31
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
32
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
33
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
34
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
35
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
36
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
37
- PERFORMANCE OF THIS SOFTWARE.
38
- ***************************************************************************** */
39
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
40
-
41
-
42
- var __assign = function() {
43
- __assign = Object.assign || function __assign(t) {
44
- for (var s, i = 1, n = arguments.length; i < n; i++) {
45
- s = arguments[i];
46
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
47
- }
48
- return t;
49
- };
50
- return __assign.apply(this, arguments);
51
- };
52
-
53
- function __spreadArray(to, from, pack) {
54
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
55
- if (ar || !(i in from)) {
56
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
57
- ar[i] = from[i];
58
- }
59
- }
60
- return to.concat(ar || Array.prototype.slice.call(from));
61
- }
62
-
63
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
64
- var e = new Error(message);
65
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
66
- };
67
-
68
- function memoize(fn) {
69
- var cache = Object.create(null);
70
- return function (arg) {
71
- if (cache[arg] === undefined) cache[arg] = fn(arg);
72
- return cache[arg];
73
- };
74
- }
75
-
76
- 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|disableRemotePlayback|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
77
-
78
- var isPropValid = /* #__PURE__ */memoize(function (prop) {
79
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
80
- /* o */
81
- && prop.charCodeAt(1) === 110
82
- /* n */
83
- && prop.charCodeAt(2) < 91;
84
- }
85
- /* Z+1 */
86
- );
87
-
88
- function getDefaultExportFromCjs (x) {
89
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
90
- }
91
-
92
- var MS = '-ms-';
93
- var MOZ = '-moz-';
94
- var WEBKIT = '-webkit-';
95
-
96
- var COMMENT$1 = 'comm';
97
- var RULESET$1 = 'rule';
98
- var DECLARATION$1 = 'decl';
99
- var IMPORT$1 = '@import';
100
- var KEYFRAMES$1 = '@keyframes';
101
- var LAYER$1 = '@layer';
102
-
103
- /**
104
- * @param {number}
105
- * @return {number}
106
- */
107
- var abs$1 = Math.abs;
108
-
109
- /**
110
- * @param {number}
111
- * @return {string}
112
- */
113
- var from$1 = String.fromCharCode;
114
-
115
- /**
116
- * @param {object}
117
- * @return {object}
118
- */
119
- var assign = Object.assign;
120
-
121
- /**
122
- * @param {string} value
123
- * @param {number} length
124
- * @return {number}
125
- */
126
- function hash (value, length) {
127
- return charat$1(value, 0) ^ 45 ? (((((((length << 2) ^ charat$1(value, 0)) << 2) ^ charat$1(value, 1)) << 2) ^ charat$1(value, 2)) << 2) ^ charat$1(value, 3) : 0
128
- }
129
-
130
- /**
131
- * @param {string} value
132
- * @return {string}
133
- */
134
- function trim$1 (value) {
135
- return value.trim()
136
- }
137
-
138
- /**
139
- * @param {string} value
140
- * @param {RegExp} pattern
141
- * @return {string?}
142
- */
143
- function match (value, pattern) {
144
- return (value = pattern.exec(value)) ? value[0] : value
145
- }
146
-
147
- /**
148
- * @param {string} value
149
- * @param {(string|RegExp)} pattern
150
- * @param {string} replacement
151
- * @return {string}
152
- */
153
- function replace$1 (value, pattern, replacement) {
154
- return value.replace(pattern, replacement)
155
- }
156
-
157
- /**
158
- * @param {string} value
159
- * @param {string} search
160
- * @param {number} position
161
- * @return {number}
162
- */
163
- function indexof$1 (value, search, position) {
164
- return value.indexOf(search, position)
165
- }
166
-
167
- /**
168
- * @param {string} value
169
- * @param {number} index
170
- * @return {number}
171
- */
172
- function charat$1 (value, index) {
173
- return value.charCodeAt(index) | 0
174
- }
175
-
176
- /**
177
- * @param {string} value
178
- * @param {number} begin
179
- * @param {number} end
180
- * @return {string}
181
- */
182
- function substr$1 (value, begin, end) {
183
- return value.slice(begin, end)
184
- }
185
-
186
- /**
187
- * @param {string} value
188
- * @return {number}
189
- */
190
- function strlen$1 (value) {
191
- return value.length
192
- }
193
-
194
- /**
195
- * @param {any[]} value
196
- * @return {number}
197
- */
198
- function sizeof$1 (value) {
199
- return value.length
200
- }
201
-
202
- /**
203
- * @param {any} value
204
- * @param {any[]} array
205
- * @return {any}
206
- */
207
- function append$1 (value, array) {
208
- return array.push(value), value
209
- }
210
-
211
- /**
212
- * @param {string[]} array
213
- * @param {function} callback
214
- * @return {string}
215
- */
216
- function combine (array, callback) {
217
- return array.map(callback).join('')
218
- }
219
-
220
- /**
221
- * @param {string[]} array
222
- * @param {RegExp} pattern
223
- * @return {string[]}
224
- */
225
- function filter (array, pattern) {
226
- return array.filter(function (value) { return !match(value, pattern) })
227
- }
228
-
229
- var line$1 = 1;
230
- var column$1 = 1;
231
- var length$1 = 0;
232
- var position$1 = 0;
233
- var character$1 = 0;
234
- var characters$1 = '';
235
-
236
- /**
237
- * @param {string} value
238
- * @param {object | null} root
239
- * @param {object | null} parent
240
- * @param {string} type
241
- * @param {string[] | string} props
242
- * @param {object[] | string} children
243
- * @param {object[]} siblings
244
- * @param {number} length
245
- */
246
- function node$1 (value, root, parent, type, props, children, length, siblings) {
247
- return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line$1, column: column$1, length: length, return: '', siblings: siblings}
248
- }
249
-
250
- /**
251
- * @param {object} root
252
- * @param {object} props
253
- * @return {object}
254
- */
255
- function copy (root, props) {
256
- return assign(node$1('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)
257
- }
258
-
259
- /**
260
- * @param {object} root
261
- */
262
- function lift (root) {
263
- while (root.root)
264
- root = copy(root.root, {children: [root]});
265
-
266
- append$1(root, root.siblings);
267
- }
268
-
269
- /**
270
- * @return {number}
271
- */
272
- function char$1 () {
273
- return character$1
274
- }
275
-
276
- /**
277
- * @return {number}
278
- */
279
- function prev$1 () {
280
- character$1 = position$1 > 0 ? charat$1(characters$1, --position$1) : 0;
281
-
282
- if (column$1--, character$1 === 10)
283
- column$1 = 1, line$1--;
284
-
285
- return character$1
286
- }
287
-
288
- /**
289
- * @return {number}
290
- */
291
- function next$1 () {
292
- character$1 = position$1 < length$1 ? charat$1(characters$1, position$1++) : 0;
293
-
294
- if (column$1++, character$1 === 10)
295
- column$1 = 1, line$1++;
296
-
297
- return character$1
298
- }
299
-
300
- /**
301
- * @return {number}
302
- */
303
- function peek$1 () {
304
- return charat$1(characters$1, position$1)
305
- }
306
-
307
- /**
308
- * @return {number}
309
- */
310
- function caret$1 () {
311
- return position$1
312
- }
313
-
314
- /**
315
- * @param {number} begin
316
- * @param {number} end
317
- * @return {string}
318
- */
319
- function slice$1 (begin, end) {
320
- return substr$1(characters$1, begin, end)
321
- }
322
-
323
- /**
324
- * @param {number} type
325
- * @return {number}
326
- */
327
- function token$1 (type) {
328
- switch (type) {
329
- // \0 \t \n \r \s whitespace token
330
- case 0: case 9: case 10: case 13: case 32:
331
- return 5
332
- // ! + , / > @ ~ isolate token
333
- case 33: case 43: case 44: case 47: case 62: case 64: case 126:
334
- // ; { } breakpoint token
335
- case 59: case 123: case 125:
336
- return 4
337
- // : accompanied token
338
- case 58:
339
- return 3
340
- // " ' ( [ opening delimit token
341
- case 34: case 39: case 40: case 91:
342
- return 2
343
- // ) ] closing delimit token
344
- case 41: case 93:
345
- return 1
346
- }
347
-
348
- return 0
349
- }
350
-
351
- /**
352
- * @param {string} value
353
- * @return {any[]}
354
- */
355
- function alloc$1 (value) {
356
- return line$1 = column$1 = 1, length$1 = strlen$1(characters$1 = value), position$1 = 0, []
357
- }
358
-
359
- /**
360
- * @param {any} value
361
- * @return {any}
362
- */
363
- function dealloc$1 (value) {
364
- return characters$1 = '', value
365
- }
366
-
367
- /**
368
- * @param {number} type
369
- * @return {string}
370
- */
371
- function delimit$1 (type) {
372
- return trim$1(slice$1(position$1 - 1, delimiter$1(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
373
- }
374
-
375
- /**
376
- * @param {number} type
377
- * @return {string}
378
- */
379
- function whitespace$2 (type) {
380
- while (character$1 = peek$1())
381
- if (character$1 < 33)
382
- next$1();
383
- else
384
- break
385
-
386
- return token$1(type) > 2 || token$1(character$1) > 3 ? '' : ' '
387
- }
388
-
389
- /**
390
- * @param {number} index
391
- * @param {number} count
392
- * @return {string}
393
- */
394
- function escaping$1 (index, count) {
395
- while (--count && next$1())
396
- // not 0-9 A-F a-f
397
- if (character$1 < 48 || character$1 > 102 || (character$1 > 57 && character$1 < 65) || (character$1 > 70 && character$1 < 97))
398
- break
399
-
400
- return slice$1(index, caret$1() + (count < 6 && peek$1() == 32 && next$1() == 32))
401
- }
402
-
403
- /**
404
- * @param {number} type
405
- * @return {number}
406
- */
407
- function delimiter$1 (type) {
408
- while (next$1())
409
- switch (character$1) {
410
- // ] ) " '
411
- case type:
412
- return position$1
413
- // " '
414
- case 34: case 39:
415
- if (type !== 34 && type !== 39)
416
- delimiter$1(character$1);
417
- break
418
- // (
419
- case 40:
420
- if (type === 41)
421
- delimiter$1(type);
422
- break
423
- // \
424
- case 92:
425
- next$1();
426
- break
427
- }
428
-
429
- return position$1
430
- }
431
-
432
- /**
433
- * @param {number} type
434
- * @param {number} index
435
- * @return {number}
436
- */
437
- function commenter$1 (type, index) {
438
- while (next$1())
439
- // //
440
- if (type + character$1 === 47 + 10)
441
- break
442
- // /*
443
- else if (type + character$1 === 42 + 42 && peek$1() === 47)
444
- break
445
-
446
- return '/*' + slice$1(index, position$1 - 1) + '*' + from$1(type === 47 ? type : next$1())
447
- }
448
-
449
- /**
450
- * @param {number} index
451
- * @return {string}
452
- */
453
- function identifier$1 (index) {
454
- while (!token$1(peek$1()))
455
- next$1();
456
-
457
- return slice$1(index, position$1)
458
- }
459
-
460
- /**
461
- * @param {string} value
462
- * @return {object[]}
463
- */
464
- function compile$1 (value) {
465
- return dealloc$1(parse$1('', null, null, null, [''], value = alloc$1(value), 0, [0], value))
466
- }
467
-
468
- /**
469
- * @param {string} value
470
- * @param {object} root
471
- * @param {object?} parent
472
- * @param {string[]} rule
473
- * @param {string[]} rules
474
- * @param {string[]} rulesets
475
- * @param {number[]} pseudo
476
- * @param {number[]} points
477
- * @param {string[]} declarations
478
- * @return {object}
479
- */
480
- function parse$1 (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
481
- var index = 0;
482
- var offset = 0;
483
- var length = pseudo;
484
- var atrule = 0;
485
- var property = 0;
486
- var previous = 0;
487
- var variable = 1;
488
- var scanning = 1;
489
- var ampersand = 1;
490
- var character = 0;
491
- var type = '';
492
- var props = rules;
493
- var children = rulesets;
494
- var reference = rule;
495
- var characters = type;
496
-
497
- while (scanning)
498
- switch (previous = character, character = next$1()) {
499
- // (
500
- case 40:
501
- if (previous != 108 && charat$1(characters, length - 1) == 58) {
502
- if (indexof$1(characters += replace$1(delimit$1(character), '&', '&\f'), '&\f', abs$1(index ? points[index - 1] : 0)) != -1)
503
- ampersand = -1;
504
- break
505
- }
506
- // " ' [
507
- case 34: case 39: case 91:
508
- characters += delimit$1(character);
509
- break
510
- // \t \n \r \s
511
- case 9: case 10: case 13: case 32:
512
- characters += whitespace$2(previous);
513
- break
514
- // \
515
- case 92:
516
- characters += escaping$1(caret$1() - 1, 7);
517
- continue
518
- // /
519
- case 47:
520
- switch (peek$1()) {
521
- case 42: case 47:
522
- append$1(comment$1(commenter$1(next$1(), caret$1()), root, parent, declarations), declarations);
523
- break
524
- default:
525
- characters += '/';
526
- }
527
- break
528
- // {
529
- case 123 * variable:
530
- points[index++] = strlen$1(characters) * ampersand;
531
- // } ; \0
532
- case 125 * variable: case 59: case 0:
533
- switch (character) {
534
- // \0 }
535
- case 0: case 125: scanning = 0;
536
- // ;
537
- case 59 + offset: if (ampersand == -1) characters = replace$1(characters, /\f/g, '');
538
- if (property > 0 && (strlen$1(characters) - length))
539
- append$1(property > 32 ? declaration$1(characters + ';', rule, parent, length - 1, declarations) : declaration$1(replace$1(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
540
- break
541
- // @ ;
542
- case 59: characters += ';';
543
- // { rule/at-rule
544
- default:
545
- append$1(reference = ruleset$1(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
546
-
547
- if (character === 123)
548
- if (offset === 0)
549
- parse$1(characters, root, reference, reference, props, rulesets, length, points, children);
550
- else
551
- switch (atrule === 99 && charat$1(characters, 3) === 110 ? 100 : atrule) {
552
- // d l m s
553
- case 100: case 108: case 109: case 115:
554
- parse$1(value, reference, reference, rule && append$1(ruleset$1(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
555
- break
556
- default:
557
- parse$1(characters, reference, reference, reference, [''], children, 0, points, children);
558
- }
559
- }
560
-
561
- index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
562
- break
563
- // :
564
- case 58:
565
- length = 1 + strlen$1(characters), property = previous;
566
- default:
567
- if (variable < 1)
568
- if (character == 123)
569
- --variable;
570
- else if (character == 125 && variable++ == 0 && prev$1() == 125)
571
- continue
572
-
573
- switch (characters += from$1(character), character * variable) {
574
- // &
575
- case 38:
576
- ampersand = offset > 0 ? 1 : (characters += '\f', -1);
577
- break
578
- // ,
579
- case 44:
580
- points[index++] = (strlen$1(characters) - 1) * ampersand, ampersand = 1;
581
- break
582
- // @
583
- case 64:
584
- // -
585
- if (peek$1() === 45)
586
- characters += delimit$1(next$1());
587
-
588
- atrule = peek$1(), offset = length = strlen$1(type = characters += identifier$1(caret$1())), character++;
589
- break
590
- // -
591
- case 45:
592
- if (previous === 45 && strlen$1(characters) == 2)
593
- variable = 0;
594
- }
595
- }
596
-
597
- return rulesets
598
- }
599
-
600
- /**
601
- * @param {string} value
602
- * @param {object} root
603
- * @param {object?} parent
604
- * @param {number} index
605
- * @param {number} offset
606
- * @param {string[]} rules
607
- * @param {number[]} points
608
- * @param {string} type
609
- * @param {string[]} props
610
- * @param {string[]} children
611
- * @param {number} length
612
- * @param {object[]} siblings
613
- * @return {object}
614
- */
615
- function ruleset$1 (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
616
- var post = offset - 1;
617
- var rule = offset === 0 ? rules : [''];
618
- var size = sizeof$1(rule);
619
-
620
- for (var i = 0, j = 0, k = 0; i < index; ++i)
621
- for (var x = 0, y = substr$1(value, post + 1, post = abs$1(j = points[i])), z = value; x < size; ++x)
622
- if (z = trim$1(j > 0 ? rule[x] + ' ' + y : replace$1(y, /&\f/g, rule[x])))
623
- props[k++] = z;
624
-
625
- return node$1(value, root, parent, offset === 0 ? RULESET$1 : type, props, children, length, siblings)
626
- }
627
-
628
- /**
629
- * @param {number} value
630
- * @param {object} root
631
- * @param {object?} parent
632
- * @param {object[]} siblings
633
- * @return {object}
634
- */
635
- function comment$1 (value, root, parent, siblings) {
636
- return node$1(value, root, parent, COMMENT$1, from$1(char$1()), substr$1(value, 2, -2), 0, siblings)
637
- }
638
-
639
- /**
640
- * @param {string} value
641
- * @param {object} root
642
- * @param {object?} parent
643
- * @param {number} length
644
- * @param {object[]} siblings
645
- * @return {object}
646
- */
647
- function declaration$1 (value, root, parent, length, siblings) {
648
- return node$1(value, root, parent, DECLARATION$1, substr$1(value, 0, length), substr$1(value, length + 1, -1), length, siblings)
649
- }
650
-
651
- /**
652
- * @param {string} value
653
- * @param {number} length
654
- * @param {object[]} children
655
- * @return {string}
656
- */
657
- function prefix (value, length, children) {
658
- switch (hash(value, length)) {
659
- // color-adjust
660
- case 5103:
661
- return WEBKIT + 'print-' + value + value
662
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
663
- case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:
664
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
665
- case 5572: case 6356: case 5844: case 3191: case 6645: case 3005:
666
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
667
- case 6391: case 5879: case 5623: case 6135: case 4599: case 4855:
668
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
669
- case 4215: case 6389: case 5109: case 5365: case 5621: case 3829:
670
- return WEBKIT + value + value
671
- // tab-size
672
- case 4789:
673
- return MOZ + value + value
674
- // appearance, user-select, transform, hyphens, text-size-adjust
675
- case 5349: case 4246: case 4810: case 6968: case 2756:
676
- return WEBKIT + value + MOZ + value + MS + value + value
677
- // writing-mode
678
- case 5936:
679
- switch (charat$1(value, length + 11)) {
680
- // vertical-l(r)
681
- case 114:
682
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value
683
- // vertical-r(l)
684
- case 108:
685
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value
686
- // horizontal(-)tb
687
- case 45:
688
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value
689
- // default: fallthrough to below
690
- }
691
- // flex, flex-direction, scroll-snap-type, writing-mode
692
- case 6828: case 4268: case 2903:
693
- return WEBKIT + value + MS + value + value
694
- // order
695
- case 6165:
696
- return WEBKIT + value + MS + 'flex-' + value + value
697
- // align-items
698
- case 5187:
699
- return WEBKIT + value + replace$1(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value
700
- // align-self
701
- case 5443:
702
- return WEBKIT + value + MS + 'flex-item-' + replace$1(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace$1(value, /flex-|-self/g, '') : '') + value
703
- // align-content
704
- case 4675:
705
- return WEBKIT + value + MS + 'flex-line-pack' + replace$1(value, /align-content|flex-|-self/g, '') + value
706
- // flex-shrink
707
- case 5548:
708
- return WEBKIT + value + MS + replace$1(value, 'shrink', 'negative') + value
709
- // flex-basis
710
- case 5292:
711
- return WEBKIT + value + MS + replace$1(value, 'basis', 'preferred-size') + value
712
- // flex-grow
713
- case 6060:
714
- return WEBKIT + 'box-' + replace$1(value, '-grow', '') + WEBKIT + value + MS + replace$1(value, 'grow', 'positive') + value
715
- // transition
716
- case 4554:
717
- return WEBKIT + replace$1(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value
718
- // cursor
719
- case 6187:
720
- return replace$1(replace$1(replace$1(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value
721
- // background, background-image
722
- case 5495: case 3959:
723
- return replace$1(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1')
724
- // justify-content
725
- case 4968:
726
- return replace$1(replace$1(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value
727
- // justify-self
728
- case 4200:
729
- if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr$1(value, length) + value
730
- break
731
- // grid-template-(columns|rows)
732
- case 2592: case 3360:
733
- return MS + replace$1(value, 'template-', '') + value
734
- // grid-(row|column)-start
735
- case 4384: case 3616:
736
- if (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\w+-end/) })) {
737
- return ~indexof$1(value + (children = children[length].value), 'span', 0) ? value : (MS + replace$1(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof$1(children, 'span', 0) ? match(children, /\d+/) : +match(children, /\d+/) - +match(value, /\d+/)) + ';')
738
- }
739
- return MS + replace$1(value, '-start', '') + value
740
- // grid-(row|column)-end
741
- case 4896: case 4128:
742
- return (children && children.some(function (element) { return match(element.props, /grid-\w+-start/) })) ? value : MS + replace$1(replace$1(value, '-end', '-span'), 'span ', '') + value
743
- // (margin|padding)-inline-(start|end)
744
- case 4095: case 3583: case 4068: case 2532:
745
- return replace$1(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value
746
- // (min|max)?(width|height|inline-size|block-size)
747
- case 8116: case 7059: case 5753: case 5535:
748
- case 5445: case 5701: case 4933: case 4677:
749
- case 5533: case 5789: case 5021: case 4765:
750
- // stretch, max-content, min-content, fill-available
751
- if (strlen$1(value) - 1 - length > 6)
752
- switch (charat$1(value, length + 1)) {
753
- // (m)ax-content, (m)in-content
754
- case 109:
755
- // -
756
- if (charat$1(value, length + 4) !== 45)
757
- break
758
- // (f)ill-available, (f)it-content
759
- case 102:
760
- return replace$1(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat$1(value, length + 3) == 108 ? '$3' : '$2-$3')) + value
761
- // (s)tretch
762
- case 115:
763
- return ~indexof$1(value, 'stretch', 0) ? prefix(replace$1(value, 'stretch', 'fill-available'), length, children) + value : value
764
- }
765
- break
766
- // grid-(column|row)
767
- case 5152: case 5920:
768
- return replace$1(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })
769
- // position: sticky
770
- case 4949:
771
- // stick(y)?
772
- if (charat$1(value, length + 6) === 121)
773
- return replace$1(value, ':', ':' + WEBKIT) + value
774
- break
775
- // display: (flex|inline-flex|grid|inline-grid)
776
- case 6444:
777
- switch (charat$1(value, charat$1(value, 14) === 45 ? 18 : 11)) {
778
- // (inline-)?fle(x)
779
- case 120:
780
- return replace$1(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat$1(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value
781
- // (inline-)?gri(d)
782
- case 100:
783
- return replace$1(value, ':', ':' + MS) + value
784
- }
785
- break
786
- // scroll-margin, scroll-margin-(top|right|bottom|left)
787
- case 5719: case 2647: case 2135: case 3927: case 2391:
788
- return replace$1(value, 'scroll-', 'scroll-snap-') + value
789
- }
790
-
791
- return value
792
- }
793
-
794
- /**
795
- * @param {object[]} children
796
- * @param {function} callback
797
- * @return {string}
798
- */
799
- function serialize$1 (children, callback) {
800
- var output = '';
801
-
802
- for (var i = 0; i < children.length; i++)
803
- output += callback(children[i], i, children, callback) || '';
804
-
805
- return output
806
- }
807
-
808
- /**
809
- * @param {object} element
810
- * @param {number} index
811
- * @param {object[]} children
812
- * @param {function} callback
813
- * @return {string}
814
- */
815
- function stringify$2 (element, index, children, callback) {
816
- switch (element.type) {
817
- case LAYER$1: if (element.children.length) break
818
- case IMPORT$1: case DECLARATION$1: return element.return = element.return || element.value
819
- case COMMENT$1: return ''
820
- case KEYFRAMES$1: return element.return = element.value + '{' + serialize$1(element.children, callback) + '}'
821
- case RULESET$1: if (!strlen$1(element.value = element.props.join(','))) return ''
822
- }
823
-
824
- return strlen$1(children = serialize$1(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
825
- }
826
-
827
- /**
828
- * @param {function[]} collection
829
- * @return {function}
830
- */
831
- function middleware (collection) {
832
- var length = sizeof$1(collection);
833
-
834
- return function (element, index, children, callback) {
835
- var output = '';
836
-
837
- for (var i = 0; i < length; i++)
838
- output += collection[i](element, index, children, callback) || '';
839
-
840
- return output
841
- }
842
- }
843
-
844
- /**
845
- * @param {function} callback
846
- * @return {function}
847
- */
848
- function rulesheet (callback) {
849
- return function (element) {
850
- if (!element.root)
851
- if (element = element.return)
852
- callback(element);
853
- }
854
- }
855
-
856
- /**
857
- * @param {object} element
858
- * @param {number} index
859
- * @param {object[]} children
860
- * @param {function} callback
861
- */
862
- function prefixer (element, index, children, callback) {
863
- if (element.length > -1)
864
- if (!element.return)
865
- switch (element.type) {
866
- case DECLARATION$1: element.return = prefix(element.value, element.length, children);
867
- return
868
- case KEYFRAMES$1:
869
- return serialize$1([copy(element, {value: replace$1(element.value, '@', '@' + WEBKIT)})], callback)
870
- case RULESET$1:
871
- if (element.length)
872
- return combine(children = element.props, function (value) {
873
- switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
874
- // :read-(only|write)
875
- case ':read-only': case ':read-write':
876
- lift(copy(element, {props: [replace$1(value, /:(read-\w+)/, ':' + MOZ + '$1')]}));
877
- lift(copy(element, {props: [value]}));
878
- assign(element, {props: filter(children, callback)});
879
- break
880
- // :placeholder
881
- case '::placeholder':
882
- lift(copy(element, {props: [replace$1(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]}));
883
- lift(copy(element, {props: [replace$1(value, /:(plac\w+)/, ':' + MOZ + '$1')]}));
884
- lift(copy(element, {props: [replace$1(value, /:(plac\w+)/, MS + 'input-$1')]}));
885
- lift(copy(element, {props: [value]}));
886
- assign(element, {props: filter(children, callback)});
887
- break
888
- }
889
-
890
- return ''
891
- })
892
- }
893
- }
894
-
895
- var unitlessKeys$1 = {
896
- animationIterationCount: 1,
897
- aspectRatio: 1,
898
- borderImageOutset: 1,
899
- borderImageSlice: 1,
900
- borderImageWidth: 1,
901
- boxFlex: 1,
902
- boxFlexGroup: 1,
903
- boxOrdinalGroup: 1,
904
- columnCount: 1,
905
- columns: 1,
906
- flex: 1,
907
- flexGrow: 1,
908
- flexPositive: 1,
909
- flexShrink: 1,
910
- flexNegative: 1,
911
- flexOrder: 1,
912
- gridRow: 1,
913
- gridRowEnd: 1,
914
- gridRowSpan: 1,
915
- gridRowStart: 1,
916
- gridColumn: 1,
917
- gridColumnEnd: 1,
918
- gridColumnSpan: 1,
919
- gridColumnStart: 1,
920
- msGridRow: 1,
921
- msGridRowSpan: 1,
922
- msGridColumn: 1,
923
- msGridColumnSpan: 1,
924
- fontWeight: 1,
925
- lineHeight: 1,
926
- opacity: 1,
927
- order: 1,
928
- orphans: 1,
929
- tabSize: 1,
930
- widows: 1,
931
- zIndex: 1,
932
- zoom: 1,
933
- WebkitLineClamp: 1,
934
- // SVG-related properties
935
- fillOpacity: 1,
936
- floodOpacity: 1,
937
- stopOpacity: 1,
938
- strokeDasharray: 1,
939
- strokeDashoffset: 1,
940
- strokeMiterlimit: 1,
941
- strokeOpacity: 1,
942
- strokeWidth: 1
943
- };
944
-
945
- var f$1="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m$9="active",y="data-styled-version",v="6.1.19",g="/*!sc*/\n",S="undefined"!=typeof window&&"undefined"!=typeof document,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),E=/invalid hook call/i,N=new Set,P=function(t,n){if("production"!==process.env.NODE_ENV){var o=n?' with the id of "'.concat(n,'"'):"",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.\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\n",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,__spreadArray([t],n,!1));},a$i.useRef(),a&&!N.has(s)&&(console.warn(s),N.add(s));}catch(e){E.test(e.message)&&N.delete(s);}finally{console.error=i;}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}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"]),O=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,"-").replace(D,"")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n="";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return (j(t%k)+n).replace(T,"$1-$2")}var V,F=5381,z=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},M=function(e){return z(F,e)};function $(e){return x(M(e)>>>0)}function B(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function G(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var L="function"==typeof Symbol&&Symbol.for,Y=L?Symbol.for("react.memo"):60115,q=L?Symbol.for("react.forward_ref"):60112,W={childContextTypes:true,contextType:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromError:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true},H$1={name:true,length:true,prototype:true,caller:true,callee:true,arguments:true,arity:true},U={$$typeof:true,compare:true,defaultProps:true,displayName:true,propTypes:true,type:true},J=((V={})[q]={$$typeof:true,render:true,defaultProps:true,displayName:true,propTypes:true},V[Y]=U,V);function X(e){return ("type"in(t=e)&&t.type.$$typeof)===Y?U:"$$typeof"in e?J[e.$$typeof]:W;var t;}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if("string"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n);}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l);}catch(e){}}}}return e}function re(e){return "function"==typeof e}function se(e){return "object"==typeof e&&"styledComponentId"in e}function ie(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=e[o];return n}function ce(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=false),!n&&!ce(e)&&!Array.isArray(e))return t;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]);return e}function ue(e,t){Object.defineProperty(e,"toString",{value:t});}var pe="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",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",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",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",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",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",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",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",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",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",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",14:'ThemeProvider: "theme" prop is required.\n\n',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",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",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e);}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];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,false)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}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++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;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);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,"".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f$1,"][").concat(y,'="').concat(v,'"]'),Ee=new RegExp("^".concat(f$1,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f$1)!==m$9&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f$1,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f$1,m$9),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return false}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,true}return false},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,true)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){ void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=false,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f$1,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=true),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){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){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=C,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET$1&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify$2);var p=function(e,r,s,a){ void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile$1(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize$1(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),z(e,t.name)},F).toString():"",p}var ze=new ke,Me=Fe(),$e=a$i.createContext({shouldForwardProp:void 0,styleSheet:ze,stylis:Me});$e.Consumer;a$i.createContext(void 0);function Le(){return a$i.useContext($e)}var qe=function(){function e(e,t){var n=this;this.inject=function(e,t){ void 0===t&&(t=Me);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=Me),this.name+e.hash},e}(),We=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;We(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||false===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push("".concat(He(s),":"),i,";"):ce(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),false),["}"],false)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys$1||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se(e))return [".".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return "production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof qe||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.")),Xe(r,t,n,o)}var s;return e instanceof qe?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return false}return true}var Ke=M(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=z(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else {var r=ae(Xe(this.rules,e,t,n)),s=x(z(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie(o,s),this.staticRulesId=s;}else {for(var a=z(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u,"production"!==process.env.NODE_ENV&&(a=z(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=z(a,p+l),c+=p;}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie(o,d);}}return o},e}(),et=a$i.createContext(void 0);et.Consumer;var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!G(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R(e);rt[n]=(rt[n]||0)+1;var o="".concat(n,"-").concat($(v+n+rt[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return G(e)?"styled.".concat(e):"Styled(".concat(B(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=a$i.useContext(et),m=Le(),y=e.shouldForwardProp||m.shouldForwardProp;"production"!==process.env.NODE_ENV&&a$i.useDebugValue(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};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)||st.has(b)||!A.has(S)||(st.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.)')))));var E=function(e,t){var n=Le(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process.env.NODE_ENV&&a$i.useDebugValue(o),o}(a,g);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[G(S)&&!A.has(S)?"class":"className"]=N,s&&(w.ref=s),a$i.createElement(S,w)}(D,e,r)}O.displayName=y;var D=a$i.forwardRef(O);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",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],true);return e}({},a.defaultProps,e):e;}}),"production"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=false;return function(r){if(!o&&(n[r]=true,Object.keys(n).length>=200)){var s=t?' with the id of "'.concat(t,'"'):"";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=true,n={};}}}(y,g)),ue(D,function(){return ".".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:true,componentStyle:true,displayName:true,foldedComponentIds:true,shouldForwardProp:true,styledComponentId:true,target:true}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:true})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,__spreadArray([t],n,true))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,__spreadArray([t],s,false)))};return s.attrs=function(e){return ut(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,__assign(__assign({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e);});function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];"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.");var r=ae(lt.apply(void 0,__spreadArray([t],n,false))),s=$(r);return new qe(s,r)}"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");var wt="__sc-".concat(f$1,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[wt]||(window[wt]=0),1===window[wt]&&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[wt]+=1);
946
-
947
26
  const colorTokens = {
948
27
  white: "var(--white)",
949
28
  black: "var(--black)",
@@ -2726,6 +1805,10 @@ var TooltipIconType;
2726
1805
  TooltipIconType["INFO"] = "info";
2727
1806
  })(TooltipIconType || (TooltipIconType = {}));
2728
1807
 
1808
+ function getDefaultExportFromCjs (x) {
1809
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
1810
+ }
1811
+
2729
1812
  var classnames = {exports: {}};
2730
1813
 
2731
1814
  /*!
@@ -17548,13 +16631,13 @@ const Tooltip = ({ title, placement, type = TooltipIconType.INFO, ariaLabel, ico
17548
16631
  a$i.createElement("button", { className: "DSL-tooltip-button", type: "button", "aria-label": ariaLabel ?? title }, renderIcon(type))));
17549
16632
  };
17550
16633
 
17551
- const RequiredIcon = dt(StellaIcon) `
16634
+ const RequiredIcon = styled(StellaIcon) `
17552
16635
  margin-left: 3px;
17553
16636
  `;
17554
- const ToolTipIcon = dt(Tooltip) `
16637
+ const ToolTipIcon = styled(Tooltip) `
17555
16638
  margin-left: 2px;
17556
16639
  `;
17557
- const LabelComponent = dt.label `
16640
+ const LabelComponent = styled.label `
17558
16641
  font-family: "Inter", sans-serif;
17559
16642
  font-weight: 500;
17560
16643
  font-size: 12px;
@@ -17565,12 +16648,12 @@ const LabelComponent = dt.label `
17565
16648
  flex-direction: column;
17566
16649
  gap: 5px;
17567
16650
  ${({ $hideLabel }) => $hideLabel &&
17568
- lt `
16651
+ styled.css `
17569
16652
  font-size: 0px;
17570
16653
  height: 0px;
17571
16654
  `};
17572
16655
  `;
17573
- const LabelContainer = dt.span `
16656
+ const LabelContainer = styled.span `
17574
16657
  display: flex;
17575
16658
  align-items: center;
17576
16659
  `;
@@ -17599,7 +16682,7 @@ exports.StellaButtonVariant = void 0;
17599
16682
  const variantSelector = (variant) => {
17600
16683
  switch (variant) {
17601
16684
  case exports.StellaButtonVariant.PRIMARY:
17602
- return lt `
16685
+ return styled.css `
17603
16686
  & svg {
17604
16687
  fill: var(--DSL-button-p-text-color);
17605
16688
  }
@@ -17623,7 +16706,7 @@ const variantSelector = (variant) => {
17623
16706
  }
17624
16707
  `;
17625
16708
  case exports.StellaButtonVariant.SECONDARY:
17626
- return lt `
16709
+ return styled.css `
17627
16710
  & svg {
17628
16711
  fill: var(--DSL-button-branding);
17629
16712
  }
@@ -17659,7 +16742,7 @@ const variantSelector = (variant) => {
17659
16742
  }
17660
16743
  `;
17661
16744
  case exports.StellaButtonVariant.TERTIARY:
17662
- return lt `
16745
+ return styled.css `
17663
16746
  & svg {
17664
16747
  fill: var(--DSL-button-branding);
17665
16748
  }
@@ -17692,10 +16775,10 @@ const variantSelector = (variant) => {
17692
16775
  }
17693
16776
  `;
17694
16777
  default:
17695
- return lt ``;
16778
+ return styled.css ``;
17696
16779
  }
17697
16780
  };
17698
- const ButtonComponent = dt.button.attrs({
16781
+ const ButtonComponent = styled.button.attrs({
17699
16782
  className: "DSL-stella-button",
17700
16783
  }) `
17701
16784
  max-width: 400px;
@@ -17735,7 +16818,7 @@ const ButtonComponent = dt.button.attrs({
17735
16818
  --DSL-button-st-background-active-hover: ${Styles.color.blue.light};
17736
16819
  `;
17737
16820
 
17738
- const spin = mt `
16821
+ const spin = styled.keyframes `
17739
16822
  0% {
17740
16823
  transform: rotate(0deg);
17741
16824
  }
@@ -17743,7 +16826,7 @@ const spin = mt `
17743
16826
  transform: rotate(360deg);
17744
16827
  }
17745
16828
  `;
17746
- const CustomLoader = dt(m$5) `
16829
+ const CustomLoader = styled(m$5) `
17747
16830
  animation: ${spin} 1s linear infinite;
17748
16831
  `;
17749
16832
 
@@ -17766,13 +16849,13 @@ const StellaButton = ({ disabled, variant = "primary", label, startIcon, endIcon
17766
16849
  endIcon && !isLoading && getIcon(endIcon, "end-icon")));
17767
16850
  };
17768
16851
 
17769
- const Wrapper$1 = dt.div `
16852
+ const Wrapper$1 = styled.div `
17770
16853
  display: flex;
17771
16854
  width: 100%;
17772
16855
  position: ${({ $affectLayout }) => ($affectLayout ? "relative" : "absolute")};
17773
16856
  top: ${({ $affectLayout }) => ($affectLayout ? "auto" : "100%")};
17774
16857
  `;
17775
- const Text = dt.p `
16858
+ const Text = styled.p `
17776
16859
  font-family: "Inter", sans-serif;
17777
16860
  font-size: 14px;
17778
16861
  line-height: 20px;
@@ -17780,7 +16863,7 @@ const Text = dt.p `
17780
16863
  color: ${({ $type }) => $type === "error" ? Styles.color.states.error : Styles.color.grey.charcoal};
17781
16864
  word-wrap: break-word;
17782
16865
  `;
17783
- const Icon = dt.div `
16866
+ const Icon = styled.div `
17784
16867
  margin-right: 5px;
17785
16868
  margin-top: 6px;
17786
16869
  height: 100%;
@@ -17795,7 +16878,7 @@ const HelperText = ({ id, className, affectLayout = true, text, type = "info", h
17795
16878
  a$i.createElement(Text, { "$type": type }, text)));
17796
16879
  };
17797
16880
 
17798
- const IconButtonComponent = dt(ButtonComponent) `
16881
+ const IconButtonComponent = styled(ButtonComponent) `
17799
16882
  padding: 5px;
17800
16883
  height: fit-content;
17801
16884
  min-width: fit-content;
@@ -17807,7 +16890,7 @@ const IconButton = ({ iconName, onClick, disabled, variant = "primary", isLoadin
17807
16890
  }, ...htmlProps }, isLoading ? (a$i.createElement(Loader, { size: size, dataTestId: "loader" })) : (a$i.createElement(StellaIcon, { iconName: iconName, size: size }))));
17808
16891
  };
17809
16892
 
17810
- const Wrapper = dt.div `
16893
+ const Wrapper = styled.div `
17811
16894
  display: flex;
17812
16895
  flex-direction: column;
17813
16896
  min-width: 60px;
@@ -17815,7 +16898,7 @@ const Wrapper = dt.div `
17815
16898
  position: relative;
17816
16899
  width: 100%;
17817
16900
  `;
17818
- const TextFieldWrapper = dt.div.attrs({
16901
+ const TextFieldWrapper = styled.div.attrs({
17819
16902
  className: "DSL-stella-textfield",
17820
16903
  }) `
17821
16904
  display: flex;
@@ -17841,7 +16924,7 @@ const TextFieldWrapper = dt.div.attrs({
17841
16924
  }
17842
16925
  --DSL-textfield-outline: ${Styles.color.core.primary};
17843
16926
  `;
17844
- const TextFieldInput = dt.input `
16927
+ const TextFieldInput = styled.input `
17845
16928
  width: 100%;
17846
16929
  height: 100%;
17847
16930
  padding: 0px 6px;
@@ -17860,8 +16943,11 @@ const TextFieldInput = dt.input `
17860
16943
  return "wait";
17861
16944
  return "text";
17862
16945
  }};
16946
+ &::placeholder {
16947
+ color: ${Styles.color.grey.smoke};
16948
+ }
17863
16949
  `;
17864
- const Category = dt.span `
16950
+ const Category = styled.span `
17865
16951
  font-family: "Inter", sans-serif;
17866
16952
  font-size: 14px;
17867
16953
  line-height: 20px;
@@ -17875,7 +16961,7 @@ const Category = dt.span `
17875
16961
  color: ${Styles.color.grey.shadow};
17876
16962
  background-color: ${Styles.color.grey.pale};
17877
16963
  `;
17878
- const IconContainer = dt.div `
16964
+ const IconContainer = styled.div `
17879
16965
  display: flex;
17880
16966
  align-items: center;
17881
16967
  justify-content: center;
@@ -17924,7 +17010,7 @@ const TextInput = ({ id, className, htmlProps, label, onChange, onBlur, onFocus,
17924
17010
  a$i.createElement(TextFieldInput, { "aria-describedby": `${id}-helper-text ${ariaDescribedBy}`, type: "text", id: `${id}-text-field`, disabled: disabled, placeholder: placeholder, onChange: handleChange, onBlur: (e) => onBlur?.(e.target.value), onFocus: (e) => onFocus?.(e.target.value), value: valueToUse, maxLength: maxLength, "$textAlign": textAlign, "$isDisabled": disabled, "$isLoading": isLoading, ...htmlProps })));
17925
17011
  };
17926
17012
 
17927
- const CustomIconButton = dt(IconButton) `
17013
+ const CustomIconButton = styled(IconButton) `
17928
17014
  margin-right: 2px;
17929
17015
  `;
17930
17016