@helpdice/ui 2.6.2-beta.1 → 2.6.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/card/index.js +3 -3
- package/dist/form/FormWrapper.d.ts +1 -1
- package/dist/grid/grid-base.d.ts +11 -11
- package/dist/grid/grid-container.d.ts +11 -11
- package/dist/html-renderer/index.js +15 -4
- package/dist/index.js +70 -20
- package/dist/list/index.js +9 -9
- package/dist/search-bar/index.js +83 -69
- package/dist/table/index.js +43 -4
- package/esm/card/card-footer.js +3 -3
- package/esm/form/FormWrapper.d.ts +1 -1
- package/esm/grid/grid-base.d.ts +11 -11
- package/esm/grid/grid-container.d.ts +11 -11
- package/esm/input/input-currency.js +3 -3
- package/esm/input/input-phone.js +3 -3
- package/esm/list/list-item.js +9 -9
- package/esm/search-bar/components/index.js +9 -9
- package/esm/timer/useTimer.js +3 -3
- package/esm/use-scale/with-scale.js +9 -9
- package/package.json +5 -7
package/dist/search-bar/index.js
CHANGED
|
@@ -2467,7 +2467,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
2467
2467
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2468
2468
|
PERFORMANCE OF THIS SOFTWARE.
|
|
2469
2469
|
***************************************************************************** */
|
|
2470
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
2470
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
2471
2471
|
|
|
2472
2472
|
|
|
2473
2473
|
var __assign = function() {
|
|
@@ -2504,7 +2504,8 @@ function memoize(fn) {
|
|
|
2504
2504
|
};
|
|
2505
2505
|
}
|
|
2506
2506
|
|
|
2507
|
-
|
|
2507
|
+
// eslint-disable-next-line no-undef
|
|
2508
|
+
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|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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
|
|
2508
2509
|
|
|
2509
2510
|
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
2510
2511
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
@@ -2516,6 +2517,57 @@ var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
|
2516
2517
|
/* Z+1 */
|
|
2517
2518
|
);
|
|
2518
2519
|
|
|
2520
|
+
var unitlessKeys = {
|
|
2521
|
+
animationIterationCount: 1,
|
|
2522
|
+
aspectRatio: 1,
|
|
2523
|
+
borderImageOutset: 1,
|
|
2524
|
+
borderImageSlice: 1,
|
|
2525
|
+
borderImageWidth: 1,
|
|
2526
|
+
boxFlex: 1,
|
|
2527
|
+
boxFlexGroup: 1,
|
|
2528
|
+
boxOrdinalGroup: 1,
|
|
2529
|
+
columnCount: 1,
|
|
2530
|
+
columns: 1,
|
|
2531
|
+
flex: 1,
|
|
2532
|
+
flexGrow: 1,
|
|
2533
|
+
flexPositive: 1,
|
|
2534
|
+
flexShrink: 1,
|
|
2535
|
+
flexNegative: 1,
|
|
2536
|
+
flexOrder: 1,
|
|
2537
|
+
gridRow: 1,
|
|
2538
|
+
gridRowEnd: 1,
|
|
2539
|
+
gridRowSpan: 1,
|
|
2540
|
+
gridRowStart: 1,
|
|
2541
|
+
gridColumn: 1,
|
|
2542
|
+
gridColumnEnd: 1,
|
|
2543
|
+
gridColumnSpan: 1,
|
|
2544
|
+
gridColumnStart: 1,
|
|
2545
|
+
msGridRow: 1,
|
|
2546
|
+
msGridRowSpan: 1,
|
|
2547
|
+
msGridColumn: 1,
|
|
2548
|
+
msGridColumnSpan: 1,
|
|
2549
|
+
fontWeight: 1,
|
|
2550
|
+
lineHeight: 1,
|
|
2551
|
+
opacity: 1,
|
|
2552
|
+
order: 1,
|
|
2553
|
+
orphans: 1,
|
|
2554
|
+
scale: 1,
|
|
2555
|
+
tabSize: 1,
|
|
2556
|
+
widows: 1,
|
|
2557
|
+
zIndex: 1,
|
|
2558
|
+
zoom: 1,
|
|
2559
|
+
WebkitLineClamp: 1,
|
|
2560
|
+
// SVG-related properties
|
|
2561
|
+
fillOpacity: 1,
|
|
2562
|
+
floodOpacity: 1,
|
|
2563
|
+
stopOpacity: 1,
|
|
2564
|
+
strokeDasharray: 1,
|
|
2565
|
+
strokeDashoffset: 1,
|
|
2566
|
+
strokeMiterlimit: 1,
|
|
2567
|
+
strokeOpacity: 1,
|
|
2568
|
+
strokeWidth: 1
|
|
2569
|
+
};
|
|
2570
|
+
|
|
2519
2571
|
var MS = '-ms-';
|
|
2520
2572
|
var MOZ = '-moz-';
|
|
2521
2573
|
var WEBKIT = '-webkit-';
|
|
@@ -2524,6 +2576,7 @@ var COMMENT = 'comm';
|
|
|
2524
2576
|
var RULESET = 'rule';
|
|
2525
2577
|
var DECLARATION = 'decl';
|
|
2526
2578
|
var IMPORT = '@import';
|
|
2579
|
+
var NAMESPACE = '@namespace';
|
|
2527
2580
|
var KEYFRAMES = '@keyframes';
|
|
2528
2581
|
var LAYER = '@layer';
|
|
2529
2582
|
|
|
@@ -2947,6 +3000,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
|
2947
3000
|
switch (peek()) {
|
|
2948
3001
|
case 42: case 47:
|
|
2949
3002
|
append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
|
|
3003
|
+
if ((token(previous || 1) == 5 || token(peek() || 1) == 5) && strlen(characters) && substr(characters, -1, void 0) !== ' ') characters += ' ';
|
|
2950
3004
|
break
|
|
2951
3005
|
default:
|
|
2952
3006
|
characters += '/';
|
|
@@ -2962,7 +3016,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
|
2962
3016
|
case 0: case 125: scanning = 0;
|
|
2963
3017
|
// ;
|
|
2964
3018
|
case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
|
|
2965
|
-
if (property > 0 && (strlen(characters) - length))
|
|
3019
|
+
if (property > 0 && (strlen(characters) - length || (variable === 0 && previous === 47)))
|
|
2966
3020
|
append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
|
|
2967
3021
|
break
|
|
2968
3022
|
// @ ;
|
|
@@ -2974,15 +3028,22 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
|
2974
3028
|
if (character === 123)
|
|
2975
3029
|
if (offset === 0)
|
|
2976
3030
|
parse(characters, root, reference, reference, props, rulesets, length, points, children);
|
|
2977
|
-
else
|
|
2978
|
-
switch (atrule
|
|
2979
|
-
//
|
|
2980
|
-
case
|
|
2981
|
-
|
|
2982
|
-
|
|
3031
|
+
else {
|
|
3032
|
+
switch (atrule) {
|
|
3033
|
+
// c(ontainer)
|
|
3034
|
+
case 99:
|
|
3035
|
+
if (charat(characters, 3) === 110) break
|
|
3036
|
+
// l(ayer)
|
|
3037
|
+
case 108:
|
|
3038
|
+
if (charat(characters, 2) === 97) break
|
|
2983
3039
|
default:
|
|
2984
|
-
|
|
3040
|
+
offset = 0;
|
|
3041
|
+
// d(ocument) m(edia) s(upports)
|
|
3042
|
+
case 100: case 109: case 115:
|
|
2985
3043
|
}
|
|
3044
|
+
if (offset) 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);
|
|
3045
|
+
else parse(characters, reference, reference, reference, [''], children, 0, points, children);
|
|
3046
|
+
}
|
|
2986
3047
|
}
|
|
2987
3048
|
|
|
2988
3049
|
index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
|
|
@@ -3090,11 +3151,14 @@ function prefix (value, length, children) {
|
|
|
3090
3151
|
case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:
|
|
3091
3152
|
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
3092
3153
|
case 5572: case 6356: case 5844: case 3191: case 6645: case 3005:
|
|
3093
|
-
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
3094
|
-
case 6391: case 5879: case 5623: case 6135: case 4599: case 4855:
|
|
3095
3154
|
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
3096
3155
|
case 4215: case 6389: case 5109: case 5365: case 5621: case 3829:
|
|
3156
|
+
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position
|
|
3157
|
+
case 6391: case 5879: case 5623: case 6135: case 4599:
|
|
3097
3158
|
return WEBKIT + value + value
|
|
3159
|
+
// mask-composite
|
|
3160
|
+
case 4855:
|
|
3161
|
+
return WEBKIT + value.replace('add', 'source-over').replace('substract', 'source-out').replace('intersect', 'source-in').replace('exclude', 'xor') + value
|
|
3098
3162
|
// tab-size
|
|
3099
3163
|
case 4789:
|
|
3100
3164
|
return MOZ + value + value
|
|
@@ -3150,7 +3214,7 @@ function prefix (value, length, children) {
|
|
|
3150
3214
|
return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1')
|
|
3151
3215
|
// justify-content
|
|
3152
3216
|
case 4968:
|
|
3153
|
-
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /
|
|
3217
|
+
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /space-between/, 'justify') + WEBKIT + value + value
|
|
3154
3218
|
// justify-self
|
|
3155
3219
|
case 4200:
|
|
3156
3220
|
if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value
|
|
@@ -3242,7 +3306,7 @@ function serialize (children, callback) {
|
|
|
3242
3306
|
function stringify (element, index, children, callback) {
|
|
3243
3307
|
switch (element.type) {
|
|
3244
3308
|
case LAYER: if (element.children.length) break
|
|
3245
|
-
case IMPORT: case DECLARATION: return element.return = element.return || element.value
|
|
3309
|
+
case IMPORT: case NAMESPACE: case DECLARATION: return element.return = element.return || element.value
|
|
3246
3310
|
case COMMENT: return ''
|
|
3247
3311
|
case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
|
|
3248
3312
|
case RULESET: if (!strlen(element.value = element.props.join(','))) return ''
|
|
@@ -3319,57 +3383,7 @@ function prefixer (element, index, children, callback) {
|
|
|
3319
3383
|
}
|
|
3320
3384
|
}
|
|
3321
3385
|
|
|
3322
|
-
var unitlessKeys = {
|
|
3323
|
-
animationIterationCount: 1,
|
|
3324
|
-
aspectRatio: 1,
|
|
3325
|
-
borderImageOutset: 1,
|
|
3326
|
-
borderImageSlice: 1,
|
|
3327
|
-
borderImageWidth: 1,
|
|
3328
|
-
boxFlex: 1,
|
|
3329
|
-
boxFlexGroup: 1,
|
|
3330
|
-
boxOrdinalGroup: 1,
|
|
3331
|
-
columnCount: 1,
|
|
3332
|
-
columns: 1,
|
|
3333
|
-
flex: 1,
|
|
3334
|
-
flexGrow: 1,
|
|
3335
|
-
flexPositive: 1,
|
|
3336
|
-
flexShrink: 1,
|
|
3337
|
-
flexNegative: 1,
|
|
3338
|
-
flexOrder: 1,
|
|
3339
|
-
gridRow: 1,
|
|
3340
|
-
gridRowEnd: 1,
|
|
3341
|
-
gridRowSpan: 1,
|
|
3342
|
-
gridRowStart: 1,
|
|
3343
|
-
gridColumn: 1,
|
|
3344
|
-
gridColumnEnd: 1,
|
|
3345
|
-
gridColumnSpan: 1,
|
|
3346
|
-
gridColumnStart: 1,
|
|
3347
|
-
msGridRow: 1,
|
|
3348
|
-
msGridRowSpan: 1,
|
|
3349
|
-
msGridColumn: 1,
|
|
3350
|
-
msGridColumnSpan: 1,
|
|
3351
|
-
fontWeight: 1,
|
|
3352
|
-
lineHeight: 1,
|
|
3353
|
-
opacity: 1,
|
|
3354
|
-
order: 1,
|
|
3355
|
-
orphans: 1,
|
|
3356
|
-
tabSize: 1,
|
|
3357
|
-
widows: 1,
|
|
3358
|
-
zIndex: 1,
|
|
3359
|
-
zoom: 1,
|
|
3360
|
-
WebkitLineClamp: 1,
|
|
3361
|
-
// SVG-related properties
|
|
3362
|
-
fillOpacity: 1,
|
|
3363
|
-
floodOpacity: 1,
|
|
3364
|
-
stopOpacity: 1,
|
|
3365
|
-
strokeDasharray: 1,
|
|
3366
|
-
strokeDashoffset: 1,
|
|
3367
|
-
strokeMiterlimit: 1,
|
|
3368
|
-
strokeOpacity: 1,
|
|
3369
|
-
strokeWidth: 1
|
|
3370
|
-
};
|
|
3371
|
-
|
|
3372
|
-
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="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$1=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(o$1," 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));},o.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,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function L(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G="function"==typeof Symbol&&Symbol.for,Y=G?Symbol.for("react.memo"):60115,W=G?Symbol.for("react.forward_ref"):60112,q={childContextTypes:true,contextType:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromError:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true},H={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={})[W]={$$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]:q;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||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,"][").concat(y,'="').concat(v,'"]'),Ee=new RegExp("^".concat(f,'\\.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)!==m&&(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,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),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,".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&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);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(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(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),M(e,t.name)},F).toString():"",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;o.createContext(void 0);function Ge(){return o.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){ void 0===t&&(t=ze);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=ze),this.name+e.hash},e}(),qe=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;qe(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||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 We||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 We?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=z(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=M(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(M(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=M(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=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(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=o.createContext(void 0);et.Consumer;var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(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 L(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=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;"production"!==process.env.NODE_ENV&&o.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=Ge(),o$1=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process.env.NODE_ENV&&o.useDebugValue(o$1),o$1}(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[L(S)&&!A.has(S)?"class":"className"]=N,s&&(w.ref=s),o.createElement(S,w)}(D,e,r)}O.displayName=y;var D=o.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);});"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 St="__sc-".concat(f,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&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[St]+=1);
|
|
3386
|
+
var a="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",c="active",u="data-styled-version",l="6.3.12",p="/*!sc*/\n",h="undefined"!=typeof window&&"undefined"!=typeof document,d=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),m="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 y(){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 v(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(y.apply(void 0,__spreadArray([m[t]],n,false)).trim())}var g=1<<30,S=new Map,w=new Map,b=1,N=function(e){if(S.has(e))return S.get(e);for(;w.has(b);)b++;var t=b++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>g))throw v(16,"".concat(t));return S.set(e,t),w.set(t,e),t},E=function(e,t){b=t+1,S.set(e,t),w.set(t,e);},C=/invalid hook call/i,_=new Set,A=function(t,n){if("production"!==process.env.NODE_ENV){var r=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(r," 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];C.test(t)?(a=!1,_.delete(s)):i.apply(void 0,__spreadArray([t],n,!1));},"function"==typeof o.useState&&o.useState(null),a&&!_.has(s)&&(console.warn(s),_.add(s));}catch(e){C.test(e.message)&&_.delete(s);}finally{console.error=i;}}},P=Object.freeze([]),I=Object.freeze({});function O(e,t,n){return void 0===n&&(n=I),e.theme!==n.theme&&e.theme||t||n.theme}var D=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","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","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),R=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,T=/(^-|-$)/g;function x(e){return e.replace(R,"-").replace(T,"")}var j=/(a)(d)/gi,k=function(e){return String.fromCharCode(e+(e>25?39:97))};function M(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=k(t%52)+n;return (k(t%52)+n).replace(j,"$1-$2")}var V,F=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},G=function(e){return F(5381,e)};function L(e){return M(G(e)>>>0)}function B(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function z(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var $="function"==typeof Symbol&&Symbol.for,Y=$?Symbol.for("react.memo"):60115,W=$?Symbol.for("react.forward_ref"):60112,q={childContextTypes:true,contextType:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromError:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true},H={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={})[W]={$$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]:q;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||n&&n[c]||i&&c in i||s&&c in s)){var u=ee(t,c);try{Z(e,c,u);}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){return e.join("")}function ce(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ue(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]=ue(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=ue(e[o],t[o]);return e}function le(e,t){Object.defineProperty(e,"toString",{value:t});}var pe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0;}return e.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var t=this._cIndex;if(e>this._cGroup)for(var n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,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 v(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=0,c=(s=0,t.length);s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++,a++);a>0&&this._cGroup>e&&(this._cIndex+=a);},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);t>0&&this._cGroup>e&&(this._cIndex-=t);}},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+=this.tag.getRule(s)+p;return t},e}(),he="style[".concat(a,"][").concat(u,'="').concat(l,'"]'),de=new RegExp("^".concat(a,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),fe=function(e){return "undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},me=function(e){if(!e)return document;if(fe(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(fe(t))return t}return document},ye=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);},ve=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(p),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(de);if(c){var u=0|parseInt(c[1],10),l=c[2];0!==u&&(E(l,u),ye(e,l,c[3]),e.getTag().insertRules(u,r)),r.length=0;}else r.push(a);}}},ge=function(e){for(var t=me(e.options.target).querySelectorAll(he),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(a)!==c&&(ve(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Se(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var we=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(a,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(a,c),o.setAttribute(u,l);var i=Se();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},be=function(){function e(e){this.element=we(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var n=null!==(t=e.getRootNode().styleSheets)&&void 0!==t?t:document.styleSheets,o=0,r=n.length;o<r;o++){var s=n[o];if(s.ownerNode===e)return s}throw v(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}(),Ne=function(){function e(e){this.element=we(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}(),Ee=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(e===this.length?this.rules.push(t):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}(),Ce=h,_e={isServer:!h,useCSSOMInjection:!d},Ae=function(){function e(e,n,o){ void 0===e&&(e=I),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},_e),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&h&&Ce&&(Ce=false,ge(this)),le(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return w.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r);if(void 0===s||!s.size)return "continue";var i=t.getGroup(n);if(0===i.length)return "continue";var c=a+".g"+n+'[id="'+r+'"]',u="";s.forEach(function(e){e.length>0&&(u+=e+",");}),o+=i+c+'{content:"'+u+'"}'+p;},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return N(e)},e.prototype.rehydrate=function(){!this.server&&h&&ge(this);},e.prototype.reconstructWithOptions=function(n,o){ void 0===o&&(o=true);var r=new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0);return !this.server&&h&&n.target!==this.options.target&&me(this.options.target)!==me(n.target)&&ge(r),r},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 Ee(n):t?new be(n):new Ne(n)}(this.options),new pe(e)));var e;},e.prototype.hasNameForId=function(e,t){var n,o;return null!==(o=null===(n=this.names.get(e))||void 0===n?void 0:n.has(t))&&void 0!==o&&o},e.prototype.registerName=function(e,t){N(e);var n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]));},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(N(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(N(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}();function Pe(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in unitlessKeys||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var Ie=function(e){return e>="A"&&e<="Z"};function Oe(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;Ie(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var De=Symbol.for("sc-keyframes");function Re(e){return "object"==typeof e&&null!==e&&De in e}var Te=function(e){return null==e||false===e||""===e},xe=function(t){var n=[];for(var o in t){var r=t[o];t.hasOwnProperty(o)&&!Te(r)&&(Array.isArray(r)&&r.isCss||re(r)?n.push("".concat(Oe(o),":"),r,";"):ce(r)?n.push.apply(n,__spreadArray(__spreadArray(["".concat(o," {")],xe(r),false),["}"],false)):n.push("".concat(Oe(o),": ").concat(Pe(o,r),";")));}return n};function je(e,t,n,o,r){if(void 0===r&&(r=[]),"string"==typeof e)return e&&r.push(e),r;if(Te(e))return r;if(se(e))return r.push(".".concat(e.styledComponentId)),r;if(re(e)){if(!re(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return r.push(e),r;var s=e(t);return "production"===process.env.NODE_ENV||"object"!=typeof s||Array.isArray(s)||Re(s)||ce(s)||null===s||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.")),je(s,t,n,o,r)}var i;if(Re(e))return n?(e.inject(n,o),r.push(e.getName(o))):r.push(e),r;if(ce(e)){for(var a=xe(e),c=0;c<a.length;c++)r.push(a[c]);return r}if(!Array.isArray(e))return r.push(e.toString()),r;for(c=0;c<e.length;c++)je(e[c],t,n,o,r);return r}function ke(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return false}return true}var Me=G(l),Ve=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&ke(e),this.componentId=t,this.baseHash=F(Me,t),this.baseStyle=n,Ae.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else {var r=ae(je(this.rules,e,t,n)),s=M(F(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=F(this.baseHash,n.hash),c="",u=0;u<this.rules.length;u++){var l=this.rules[u];if("string"==typeof l)c+=l,"production"!==process.env.NODE_ENV&&(a=F(a,l));else if(l){var p=ae(je(l,e,t,n));a=F(F(a,String(u)),p),c+=p;}}if(c){var h=M(a>>>0);if(!t.hasNameForId(this.componentId,h)){var d=n(c,".".concat(h),void 0,this.componentId);t.insertRules(this.componentId,h,d);}o=ie(o,h);}}return {className:o,css:"undefined"==typeof window?t.getTag().getGroup(N(this.componentId)):""}},e}(),Fe=/&/g,Ge=47,Le=42;function Be(e){if(-1===e.indexOf("}"))return false;for(var t=e.length,n=0,o=0,r=false,s=0;s<t;s++){var i=e.charCodeAt(s);if(0!==o||r||i!==Ge||e.charCodeAt(s+1)!==Le)if(r)i===Le&&e.charCodeAt(s+1)===Ge&&(r=false,s++);else if(34!==i&&39!==i||0!==s&&92===e.charCodeAt(s-1)){if(0===o)if(123===i)n++;else if(125===i&&--n<0)return true}else 0===o?o=i:o===i&&(o=0);else r=true,s++;}return 0!==n||0!==o}function ze(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=ze(e.children,t)),e})}function $e(e){var t,n,o,r=I,s=r.options,a=void 0===s?I:s,c=r.plugins,u=void 0===c?P:c,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},p=u.slice();p.push(function(e){e.type===RULESET&&e.value.includes("&")&&(o||(o=new RegExp("\\".concat(n,"\\b"),"g")),e.props[0]=e.props[0].replace(Fe,n).replace(o,l));}),a.prefix&&p.push(prefixer),p.push(stringify);var h=[],d=middleware(p.concat(rulesheet(function(e){return h.push(e)}))),f=function(e,r,s,c){ void 0===r&&(r=""),void 0===s&&(s=""),void 0===c&&(c="&"),t=c,n=r,o=void 0;var u=function(e){if(!Be(e))return e;for(var t=e.length,n="",o=0,r=0,s=0,i=false,a=0;a<t;a++){var c=e.charCodeAt(a);if(0!==s||i||c!==Ge||e.charCodeAt(a+1)!==Le)if(i)c===Le&&e.charCodeAt(a+1)===Ge&&(i=false,a++);else if(34!==c&&39!==c||0!==a&&92===e.charCodeAt(a-1)){if(0===s)if(123===c)r++;else if(125===c){if(--r<0){for(var u=a+1;u<t;){var l=e.charCodeAt(u);if(59===l||10===l)break;u++;}u<t&&59===e.charCodeAt(u)&&u++,r=0,a=u-1,o=u;continue}0===r&&(n+=e.substring(o,a+1),o=a+1);}else 59===c&&0===r&&(n+=e.substring(o,a+1),o=a+1);}else 0===s?s=c:s===c&&(s=0);else i=true,a++;}if(o<t){var p=e.substring(o);Be(p)||(n+=p);}return n}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,n=[],o=0,r=0,s=0,i=0;r<t;){var a=e.charCodeAt(r);if(34!==a&&39!==a||0!==r&&92===e.charCodeAt(r-1))if(0===s)if(a===Ge&&r+1<t&&e.charCodeAt(r+1)===Le){for(r+=2;r+1<t&&(e.charCodeAt(r)!==Le||e.charCodeAt(r+1)!==Ge);)r++;r+=2;}else if(40===a&&r>=3&&108==(32|e.charCodeAt(r-1))&&114==(32|e.charCodeAt(r-2))&&117==(32|e.charCodeAt(r-3)))i=1,r++;else if(i>0)41===a?i--:40===a&&i++,r++;else if(a===Le&&r+1<t&&e.charCodeAt(r+1)===Ge)r>o&&n.push(e.substring(o,r)),o=r+=2;else if(a===Ge&&r+1<t&&e.charCodeAt(r+1)===Ge){for(r>o&&n.push(e.substring(o,r));r<t&&10!==e.charCodeAt(r);)r++;o=r;}else r++;else r++;else 0===s?s=a:s===a&&(s=0),r++;}return 0===o?e:(o<t&&n.push(e.substring(o)),n.join(""))}(e)),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(u," }"):u);return a.namespace&&(l=ze(l,a.namespace)),h=[],serialize(l,d),h};return f.hash=u.length?u.reduce(function(e,t){return t.name||v(15),F(e,t.name)},5381).toString():"",f}var Ye=new Ae,We=$e(),qe=o.createContext({shouldForwardProp:void 0,styleSheet:Ye,stylis:We});qe.Consumer;o.createContext(void 0);function Je(){return o.useContext(qe)}var Ze=o.createContext(void 0);Ze.Consumer;var tt={},nt=new Set;function ot(e,s,i){var a=se(e),c=e,u=!z(e),p=s.attrs,h=void 0===p?P:p,d=s.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":x(e);tt[n]=(tt[n]||0)+1;var o="".concat(n,"-").concat(L(l+n+tt[n]));return t?"".concat(t,"-").concat(o):o}(s.displayName,s.parentComponentId):d,m=s.displayName,y=void 0===m?function(e){return z(e)?"styled.".concat(e):"Styled(".concat(B(e),")")}(e):m,v=s.displayName&&s.componentId?"".concat(x(s.displayName),"-").concat(s.componentId):s.componentId||f,g=a&&c.attrs?c.attrs.concat(h).filter(Boolean):h,S=s.shouldForwardProp;if(a&&c.shouldForwardProp){var w=c.shouldForwardProp;if(s.shouldForwardProp){var b=s.shouldForwardProp;S=function(e,t){return w(e,t)&&b(e,t)};}else S=w;}var N=new Ve(i,v,a?c.componentStyle:void 0);function E(e,s){return function(e,s,i){var a=e.attrs,c=e.componentStyle,u=e.defaultProps,l=e.foldedComponentIds,p=e.styledComponentId,h=e.target,d=o.useContext(Ze),f=Je(),m=e.shouldForwardProp||f.shouldForwardProp;"production"!==process.env.NODE_ENV&&o.useDebugValue&&o.useDebugValue(p);var y=O(s,d,u)||I,v=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)"className"===c?s.className=ie(s.className,a[c]):"style"===c?s.style=__assign(__assign({},s.style),a[c]):c in n&&void 0===n[c]||(s[c]=a[c]);}return "className"in n&&"string"==typeof n.className&&(s.className=ie(s.className,n.className)),s}(a,s,y),g=v.as||h,S={};for(var w in v) void 0===v[w]||"$"===w[0]||"as"===w||"theme"===w&&v.theme===y||("forwardedAs"===w?S.as=v.forwardedAs:m&&!m(w,g)||(S[w]=v[w],m||"development"!==process.env.NODE_ENV||isPropValid(w)||nt.has(w)||!D.has(g)||(nt.add(w),console.warn('styled-components: it looks like an unknown prop "'.concat(w,'" 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 b=function(e,t){var n=Je(),r=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process.env.NODE_ENV&&o.useDebugValue&&o.useDebugValue(r.className),r}(c,v),N=b.className;"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(N);var E=ie(l,p);return N&&(E+=" "+N),v.className&&(E+=" "+v.className),S[z(g)&&!D.has(g)?"class":"className"]=E,i&&(S.ref=i),o.createElement(g,S)}(C,e,s)}E.displayName=y;var C=o.forwardRef(E);return C.attrs=g,C.componentStyle=N,C.displayName=y,C.shouldForwardProp=S,C.foldedComponentIds=a?ie(c.foldedComponentIds,c.styledComponentId):"",C.styledComponentId=v,C.target=a?c.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?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++)ue(e,r[o],true);return e}({},c.defaultProps,e):e;}}),"production"!==process.env.NODE_ENV&&(A(y,v),C.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,v)),le(C,function(){return ".".concat(C.styledComponentId)}),u&&oe(C,e,{attrs:true,componentStyle:true,displayName:true,foldedComponentIds:true,shouldForwardProp:true,styledComponentId:true,target:true}),C}function rt(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 st=function(e){return Object.assign(e,{isCss:true})};function it(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return st(je(rt(P,__spreadArray([t],n,true))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?je(r):st(je(rt(r,n)))}function at(n,o,r){if(void 0===r&&(r=I),!o)throw v(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,it.apply(void 0,__spreadArray([t],s,false)))};return s.attrs=function(e){return at(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return at(n,o,__assign(__assign({},r),e))},s}var ct=function(e){return at(ot,e)},ut=ct;D.forEach(function(e){ut[e]=ct(e);});"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 gt="__sc-".concat(a,"__");"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://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info."),window[gt]+=1);
|
|
3373
3387
|
|
|
3374
3388
|
var _templateObject$3;
|
|
3375
3389
|
var SearchIcon = function SearchIcon(_ref) {
|
|
@@ -3389,7 +3403,7 @@ var SearchIcon = function SearchIcon(_ref) {
|
|
|
3389
3403
|
})
|
|
3390
3404
|
});
|
|
3391
3405
|
};
|
|
3392
|
-
var StyledSearchIcon =
|
|
3406
|
+
var StyledSearchIcon = ut.svg(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n flex-shrink: 0;\n margin: ", ";\n fill: ", ";\n"])), function (props) {
|
|
3393
3407
|
return props.theme.searchIconMargin;
|
|
3394
3408
|
}, function (props) {
|
|
3395
3409
|
return props.theme.iconColor;
|
|
@@ -3483,7 +3497,7 @@ var ResultsWrapper = function ResultsWrapper(_ref3) {
|
|
|
3483
3497
|
})]
|
|
3484
3498
|
});
|
|
3485
3499
|
};
|
|
3486
|
-
var StyledResults =
|
|
3500
|
+
var StyledResults = ut.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n > div.line {\n border-top-color: ", ";\n border-top-style: solid;\n border-top-width: 1px;\n\n margin-bottom: 0px;\n margin-left: 14px;\n margin-right: 20px;\n margin-top: 0px;\n\n padding-bottom: 4px;\n }\n\n > ul {\n list-style-type: none;\n margin: 0;\n padding: 0px 0 16px 0;\n max-height: ", ";\n\n > li {\n display: flex;\n align-items: center;\n padding: 4px 0 4px 0;\n\n > div {\n margin-left: 13px;\n }\n }\n }\n\n .ellipsis {\n text-align: left;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .selected {\n background-color: ", ";\n }\n"])), function (props) {
|
|
3487
3501
|
return props.theme.lineColor;
|
|
3488
3502
|
}, function (props) {
|
|
3489
3503
|
return props.theme.maxHeight;
|
|
@@ -3528,7 +3542,7 @@ var ClearIcon = function ClearIcon(_ref) {
|
|
|
3528
3542
|
})
|
|
3529
3543
|
});
|
|
3530
3544
|
};
|
|
3531
|
-
var StyledClearIcon =
|
|
3545
|
+
var StyledClearIcon = ut.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n margin: ", ";\n\n &:hover {\n cursor: pointer;\n }\n\n > svg {\n fill: ", ";\n }\n"])), function (props) {
|
|
3532
3546
|
return props.theme.clearIconMargin;
|
|
3533
3547
|
}, function (props) {
|
|
3534
3548
|
return props.theme.iconColor;
|
|
@@ -3592,7 +3606,7 @@ function SearchInput(_ref) {
|
|
|
3592
3606
|
})]
|
|
3593
3607
|
});
|
|
3594
3608
|
}
|
|
3595
|
-
var StyledSearchInput =
|
|
3609
|
+
var StyledSearchInput = ut.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n min-height: ", ";\n width: 100%;\n\n display: flex;\n align-items: center;\n\n > input {\n width: 100%;\n\n padding: 0 0 0 13px;\n\n border: none;\n outline: none;\n\n background-color: rgba(0, 0, 0, 0);\n font-size: inherit;\n font-family: inherit;\n\n color: ", ";\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n }\n }\n"])), function (props) {
|
|
3596
3610
|
return props.theme.height;
|
|
3597
3611
|
}, function (props) {
|
|
3598
3612
|
return props.theme.color;
|
package/dist/table/index.js
CHANGED
|
@@ -3951,7 +3951,7 @@ function requireLodash () {
|
|
|
3951
3951
|
var undefined$1;
|
|
3952
3952
|
|
|
3953
3953
|
/** Used as the semantic version number. */
|
|
3954
|
-
var VERSION = '4.17.
|
|
3954
|
+
var VERSION = '4.17.23';
|
|
3955
3955
|
|
|
3956
3956
|
/** Used as the size to enable large array optimizations. */
|
|
3957
3957
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -7705,7 +7705,7 @@ function requireLodash () {
|
|
|
7705
7705
|
if (isArray(iteratee)) {
|
|
7706
7706
|
return function(value) {
|
|
7707
7707
|
return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
|
|
7708
|
-
}
|
|
7708
|
+
};
|
|
7709
7709
|
}
|
|
7710
7710
|
return iteratee;
|
|
7711
7711
|
});
|
|
@@ -8309,8 +8309,47 @@ function requireLodash () {
|
|
|
8309
8309
|
*/
|
|
8310
8310
|
function baseUnset(object, path) {
|
|
8311
8311
|
path = castPath(path, object);
|
|
8312
|
-
|
|
8313
|
-
|
|
8312
|
+
|
|
8313
|
+
// Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
8314
|
+
var index = -1,
|
|
8315
|
+
length = path.length;
|
|
8316
|
+
|
|
8317
|
+
if (!length) {
|
|
8318
|
+
return true;
|
|
8319
|
+
}
|
|
8320
|
+
|
|
8321
|
+
var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
|
|
8322
|
+
|
|
8323
|
+
while (++index < length) {
|
|
8324
|
+
var key = path[index];
|
|
8325
|
+
|
|
8326
|
+
// skip non-string keys (e.g., Symbols, numbers)
|
|
8327
|
+
if (typeof key !== 'string') {
|
|
8328
|
+
continue;
|
|
8329
|
+
}
|
|
8330
|
+
|
|
8331
|
+
// Always block "__proto__" anywhere in the path if it's not expected
|
|
8332
|
+
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
8333
|
+
return false;
|
|
8334
|
+
}
|
|
8335
|
+
|
|
8336
|
+
// Block "constructor.prototype" chains
|
|
8337
|
+
if (key === 'constructor' &&
|
|
8338
|
+
(index + 1) < length &&
|
|
8339
|
+
typeof path[index + 1] === 'string' &&
|
|
8340
|
+
path[index + 1] === 'prototype') {
|
|
8341
|
+
|
|
8342
|
+
// Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
|
|
8343
|
+
if (isRootPrimitive && index === 0) {
|
|
8344
|
+
continue;
|
|
8345
|
+
}
|
|
8346
|
+
|
|
8347
|
+
return false;
|
|
8348
|
+
}
|
|
8349
|
+
}
|
|
8350
|
+
|
|
8351
|
+
var obj = parent(object, path);
|
|
8352
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
8314
8353
|
}
|
|
8315
8354
|
|
|
8316
8355
|
/**
|
package/esm/card/card-footer.js
CHANGED
|
@@ -19,11 +19,11 @@ var CardFooterComponent = function CardFooterComponent(_ref) {
|
|
|
19
19
|
'auto-margin': !disableAutoMargin
|
|
20
20
|
}, className);
|
|
21
21
|
return /*#__PURE__*/React.createElement("footer", _extends({}, props, {
|
|
22
|
-
className: _JSXStyle.dynamic([["
|
|
22
|
+
className: _JSXStyle.dynamic([["1801130739", [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme.palette.border, theme.layout.radius, theme.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme.layout.gapQuarter]]]) + " " + (props && props.className != null && props.className || classes || "")
|
|
23
23
|
}), children, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
24
|
-
id: "
|
|
24
|
+
id: "1801130739",
|
|
25
25
|
dynamic: [SCALES.py(0.66), SCALES.px(1.31), SCALES.font(0.875), theme.palette.border, theme.layout.radius, theme.layout.radius, SCALES.height(3.3), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), theme.layout.gapQuarter]
|
|
26
|
-
}, "footer.__jsx-style-dynamic-selector{padding:".concat(SCALES.py(0.66), " ").concat(SCALES.px(1.31), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;color:inherit;background-color:inherit;font-size:").concat(SCALES.font(0.875), ";border-top:1px solid ").concat(theme.palette.border, ";border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";min-height:").concat(SCALES.height(3.3), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.auto-margin.__jsx-style-dynamic-selector
|
|
26
|
+
}, "footer.__jsx-style-dynamic-selector{padding:".concat(SCALES.py(0.66), " ").concat(SCALES.px(1.31), ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;color:inherit;background-color:inherit;font-size:").concat(SCALES.font(0.875), ";border-top:1px solid ").concat(theme.palette.border, ";border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";min-height:").concat(SCALES.height(3.3), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}footer.__jsx-style-dynamic-selector .auto-margin.__jsx-style-dynamic-selector{margin-top:0;margin-bottom:0;margin-right:").concat(theme.layout.gapQuarter, ";}")));
|
|
27
27
|
};
|
|
28
28
|
CardFooterComponent.displayName = 'CardFooter';
|
|
29
29
|
var CardFooter = withScale(CardFooterComponent);
|
|
@@ -12,7 +12,7 @@ export declare function useFormik<Values extends FormikValues = FormikValues>({
|
|
|
12
12
|
};
|
|
13
13
|
handleChange: {
|
|
14
14
|
(e: React.ChangeEvent<any>): void;
|
|
15
|
-
<T = string | React.ChangeEvent<any>>(field: T): T extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
|
|
15
|
+
<T = string | React.ChangeEvent<any, Element>>(field: T): T extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
|
|
16
16
|
};
|
|
17
17
|
handleReset: (e: any) => void;
|
|
18
18
|
handleSubmit: (e?: React.FormEvent<HTMLFormElement>) => void;
|
package/esm/grid/grid-base.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type GridProps = Props & GridBasicItemProps;
|
|
|
7
7
|
declare const Grid: React.ForwardRefExoticComponent<Props & import("./basic-item").GridBasicComponentProps & {
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
style?: React.CSSProperties | undefined;
|
|
10
|
-
onChange?: React.
|
|
10
|
+
onChange?: React.ChangeEventHandler<any, Element> | undefined;
|
|
11
11
|
defaultChecked?: boolean | undefined | undefined;
|
|
12
12
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
13
13
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -133,17 +133,17 @@ declare const Grid: React.ForwardRefExoticComponent<Props & import("./basic-item
|
|
|
133
133
|
onFocusCapture?: React.FocusEventHandler<any> | undefined;
|
|
134
134
|
onBlur?: React.FocusEventHandler<any> | undefined;
|
|
135
135
|
onBlurCapture?: React.FocusEventHandler<any> | undefined;
|
|
136
|
-
onChangeCapture?: React.
|
|
136
|
+
onChangeCapture?: React.ChangeEventHandler<any, Element> | undefined;
|
|
137
137
|
onBeforeInput?: React.InputEventHandler<any> | undefined;
|
|
138
|
-
onBeforeInputCapture?: React.
|
|
139
|
-
onInput?: React.
|
|
140
|
-
onInputCapture?: React.
|
|
141
|
-
onReset?: React.
|
|
142
|
-
onResetCapture?: React.
|
|
143
|
-
onSubmit?: React.
|
|
144
|
-
onSubmitCapture?: React.
|
|
145
|
-
onInvalid?: React.
|
|
146
|
-
onInvalidCapture?: React.
|
|
138
|
+
onBeforeInputCapture?: React.InputEventHandler<any> | undefined;
|
|
139
|
+
onInput?: React.InputEventHandler<any> | undefined;
|
|
140
|
+
onInputCapture?: React.InputEventHandler<any> | undefined;
|
|
141
|
+
onReset?: React.ReactEventHandler<any> | undefined;
|
|
142
|
+
onResetCapture?: React.ReactEventHandler<any> | undefined;
|
|
143
|
+
onSubmit?: React.SubmitEventHandler<any> | undefined;
|
|
144
|
+
onSubmitCapture?: React.SubmitEventHandler<any> | undefined;
|
|
145
|
+
onInvalid?: React.ReactEventHandler<any> | undefined;
|
|
146
|
+
onInvalidCapture?: React.ReactEventHandler<any> | undefined;
|
|
147
147
|
onLoad?: React.ReactEventHandler<any> | undefined;
|
|
148
148
|
onLoadCapture?: React.ReactEventHandler<any> | undefined;
|
|
149
149
|
onError?: React.ReactEventHandler<any> | undefined;
|
|
@@ -10,7 +10,7 @@ export type GridContainerProps = Props & GridBasicItemProps;
|
|
|
10
10
|
declare const GridContainer: React.ForwardRefExoticComponent<Props & import("./basic-item").GridBasicComponentProps & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
style?: React.CSSProperties | undefined;
|
|
13
|
-
onChange?: React.
|
|
13
|
+
onChange?: React.ChangeEventHandler<any, Element> | undefined;
|
|
14
14
|
defaultChecked?: boolean | undefined | undefined;
|
|
15
15
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
16
16
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -136,17 +136,17 @@ declare const GridContainer: React.ForwardRefExoticComponent<Props & import("./b
|
|
|
136
136
|
onFocusCapture?: React.FocusEventHandler<any> | undefined;
|
|
137
137
|
onBlur?: React.FocusEventHandler<any> | undefined;
|
|
138
138
|
onBlurCapture?: React.FocusEventHandler<any> | undefined;
|
|
139
|
-
onChangeCapture?: React.
|
|
139
|
+
onChangeCapture?: React.ChangeEventHandler<any, Element> | undefined;
|
|
140
140
|
onBeforeInput?: React.InputEventHandler<any> | undefined;
|
|
141
|
-
onBeforeInputCapture?: React.
|
|
142
|
-
onInput?: React.
|
|
143
|
-
onInputCapture?: React.
|
|
144
|
-
onReset?: React.
|
|
145
|
-
onResetCapture?: React.
|
|
146
|
-
onSubmit?: React.
|
|
147
|
-
onSubmitCapture?: React.
|
|
148
|
-
onInvalid?: React.
|
|
149
|
-
onInvalidCapture?: React.
|
|
141
|
+
onBeforeInputCapture?: React.InputEventHandler<any> | undefined;
|
|
142
|
+
onInput?: React.InputEventHandler<any> | undefined;
|
|
143
|
+
onInputCapture?: React.InputEventHandler<any> | undefined;
|
|
144
|
+
onReset?: React.ReactEventHandler<any> | undefined;
|
|
145
|
+
onResetCapture?: React.ReactEventHandler<any> | undefined;
|
|
146
|
+
onSubmit?: React.SubmitEventHandler<any> | undefined;
|
|
147
|
+
onSubmitCapture?: React.SubmitEventHandler<any> | undefined;
|
|
148
|
+
onInvalid?: React.ReactEventHandler<any> | undefined;
|
|
149
|
+
onInvalidCapture?: React.ReactEventHandler<any> | undefined;
|
|
150
150
|
onLoad?: React.ReactEventHandler<any> | undefined;
|
|
151
151
|
onLoadCapture?: React.ReactEventHandler<any> | undefined;
|
|
152
152
|
onError?: React.ReactEventHandler<any> | undefined;
|
|
@@ -111,9 +111,9 @@ export var InputCurrency = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
111
111
|
changeCount = _useState8[0],
|
|
112
112
|
setChangeCount = _useState8[1];
|
|
113
113
|
var _useState9 = useState(null),
|
|
114
|
-
|
|
115
|
-
lastKeyStroke =
|
|
116
|
-
setLastKeyStroke =
|
|
114
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
115
|
+
lastKeyStroke = _useState0[0],
|
|
116
|
+
setLastKeyStroke = _useState0[1];
|
|
117
117
|
var inputRef = useRef(null);
|
|
118
118
|
useImperativeHandle(ref, function () {
|
|
119
119
|
return inputRef.current;
|
package/esm/input/input-phone.js
CHANGED
|
@@ -1042,9 +1042,9 @@ function PhoneInput(_ref) {
|
|
|
1042
1042
|
dropdownOpen = _useState8[0],
|
|
1043
1043
|
setDropdownOpen = _useState8[1];
|
|
1044
1044
|
var _useState9 = useState(''),
|
|
1045
|
-
|
|
1046
|
-
searchTerm =
|
|
1047
|
-
setSearchTerm =
|
|
1045
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
1046
|
+
searchTerm = _useState0[0],
|
|
1047
|
+
setSearchTerm = _useState0[1];
|
|
1048
1048
|
var dropdownRef = useRef(null);
|
|
1049
1049
|
var _useMemo = useMemo(function () {
|
|
1050
1050
|
return getColors(theme.palette, _color);
|