kilya-ui 0.0.8 → 0.0.9
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/kilya-ui.es.js +964 -822
- package/dist/kilya-ui.umd.js +199 -64
- package/package.json +1 -1
- package/dist/kilya-ui.css +0 -1
package/dist/kilya-ui.umd.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(U,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],D):(U=typeof globalThis<"u"?globalThis:U||self,D(U["kilya-ui"]={},U.React))})(this,(function(U,D){"use strict";var Pe={exports:{}},me={};var yr;function lt(){if(yr)return me;yr=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(o,n,a){var i=null;if(a!==void 0&&(i=""+a),n.key!==void 0&&(i=""+n.key),"key"in n){a={};for(var u in n)u!=="key"&&(a[u]=n[u])}else a=n;return n=a.ref,{$$typeof:e,type:o,key:i,ref:n!==void 0?n:null,props:a}}return me.Fragment=r,me.jsx=t,me.jsxs=t,me}var ge={};var br;function ut(){return br||(br=1,process.env.NODE_ENV!=="production"&&(function(){function e(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===mr?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case j:return"Fragment";case _:return"Profiler";case O:return"StrictMode";case m:return"Suspense";case p:return"SuspenseList";case hr:return"Activity"}if(typeof s=="object")switch(typeof s.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),s.$$typeof){case T:return"Portal";case E:return s.displayName||"Context";case k:return(s._context.displayName||"Context")+".Consumer";case R:var d=s.render;return s=s.displayName,s||(s=d.displayName||d.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case V:return d=s.displayName||null,d!==null?d:e(s.type)||"Memo";case G:d=s._payload,s=s._init;try{return e(s(d))}catch{}}return null}function r(s){return""+s}function t(s){try{r(s);var d=!1}catch{d=!0}if(d){d=console;var $=d.error,A=typeof Symbol=="function"&&Symbol.toStringTag&&s[Symbol.toStringTag]||s.constructor.name||"Object";return $.call(d,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",A),r(s)}}function o(s){if(s===j)return"<>";if(typeof s=="object"&&s!==null&&s.$$typeof===G)return"<...>";try{var d=e(s);return d?"<"+d+">":"<...>"}catch{return"<...>"}}function n(){var s=Se.A;return s===null?null:s.getOwner()}function a(){return Error("react-stack-top-frame")}function i(s){if(ke.call(s,"key")){var d=Object.getOwnPropertyDescriptor(s,"key").get;if(d&&d.isReactWarning)return!1}return s.key!==void 0}function u(s,d){function $(){Ge||(Ge=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",d))}$.isReactWarning=!0,Object.defineProperty(s,"key",{get:$,configurable:!0})}function l(){var s=e(this.type);return he[s]||(he[s]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),s=this.props.ref,s!==void 0?s:null}function v(s,d,$,A,H,X){var C=$.ref;return s={$$typeof:x,type:s,key:d,props:$,_owner:A},(C!==void 0?C:null)!==null?Object.defineProperty(s,"ref",{enumerable:!1,get:l}):Object.defineProperty(s,"ref",{enumerable:!1,value:null}),s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(s,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(s,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:H}),Object.defineProperty(s,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:X}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}function g(s,d,$,A,H,X){var C=d.children;if(C!==void 0)if(A)if(gr(C)){for(A=0;A<C.length;A++)y(C[A]);Object.freeze&&Object.freeze(C)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else y(C);if(ke.call(d,"key")){C=e(s);var z=Object.keys(d).filter(function($e){return $e!=="key"});A=0<z.length?"{key: someKey, "+z.join(": ..., ")+": ...}":"{key: someKey}",Z[C+A]||(z=0<z.length?"{"+z.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
2
|
let props = %s;
|
|
3
3
|
<%s {...props} />
|
|
4
4
|
React keys must be passed directly to JSX without using spread:
|
|
5
5
|
let props = %s;
|
|
6
|
-
<%s key={someKey} {...props} />`,T,C,z,C),Z[C+T]=!0)}if(C=null,x!==void 0&&(r(x),C=""+x),i(u)&&(r(u.key),C=""+u.key),"key"in u){x={};for(var Y in u)Y!=="key"&&(x[Y]=u[Y])}else x=u;return C&&c(x,typeof s=="function"?s.displayName||s.name||"Unknown":s),y(s,C,x,o(),H,X)}function g(s){v(s)?s._store&&(s._store.validated=1):typeof s=="object"&&s!==null&&s.$$typeof===G&&(s._payload.status==="fulfilled"?v(s._payload.value)&&s._payload.value._store&&(s._payload.value._store.validated=1):s._store&&(s._store.validated=1))}function v(s){return typeof s=="object"&&s!==null&&s.$$typeof===k}var p=D,k=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),E=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),ut=Symbol.for("react.activity"),dt=Symbol.for("react.client.reference"),be=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,we=Object.prototype.hasOwnProperty,ft=Array.isArray,Se=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(s){return s()}};var Ve,he={},ke=p.react_stack_bottom_frame.bind(p,a)(),L=Se(n(a)),Z={};ge.Fragment=I,ge.jsx=function(s,u,x){var T=1e4>be.recentlyCreatedOwnerStacks++;return m(s,u,x,!1,T?Error("react-stack-top-frame"):ke,T?Se(n(s)):L)},ge.jsxs=function(s,u,x){var T=1e4>be.recentlyCreatedOwnerStacks++;return m(s,u,x,!0,T?Error("react-stack-top-frame"):ke,T?Se(n(s)):L)}})()),ge}var mt;function dr(){return mt||(mt=1,process.env.NODE_ENV==="production"?xe.exports=lr():xe.exports=ur()),xe.exports}var Q=dr(),Ge={exports:{}};var gt;function fr(){return gt||(gt=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",i=0;i<arguments.length;i++){var c=arguments[i];c&&(a=o(a,n(c)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var c in a)t.call(a,c)&&a[c]&&(i=o(i,c));return i}function o(a,i){return i?a?a+" "+i:a+i:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Ge)),Ge.exports}var pr=fr();const hr=cr(pr),yt=(e,t)=>hr(mr(e),t),mr=e=>{if(typeof e=="string")return`kilya-${e}`;if(Array.isArray(e))return e.map(r=>`kilya-${r}`).join(" ");const t={};return Object.keys(e).forEach(r=>{t[`kilya-${r}`]=e[r]}),t},gr=({children:e,disabled:t=!1,type:r="button",button:n="default",className:o="",...a})=>Q.jsx("button",{type:r,className:yt(`button-${n}`,o),disabled:t,...a,children:e});var M=function(){return M=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},M.apply(this,arguments)};function ae(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function yr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var vr=/^((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)-.*))$/,br=yr(function(e){return vr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),_="-ms-",ye="-moz-",b="-webkit-",vt="comm",_e="rule",qe="decl",wr="@import",bt="@keyframes",Sr="@layer",wt=Math.abs,Ue=String.fromCharCode,He=Object.assign;function kr(e,t){return N(e,0)^45?(((t<<2^N(e,0))<<2^N(e,1))<<2^N(e,2))<<2^N(e,3):0}function St(e){return e.trim()}function U(e,t){return(e=t.exec(e))?e[0]:e}function f(e,t,r){return e.replace(t,r)}function Re(e,t,r){return e.indexOf(t,r)}function N(e,t){return e.charCodeAt(t)|0}function se(e,t,r){return e.slice(t,r)}function V(e){return e.length}function kt(e){return e.length}function ve(e,t){return t.push(e),e}function Er(e,t){return e.map(t).join("")}function Et(e,t){return e.filter(function(r){return!U(r,t)})}var Pe=1,ie=1,xt=0,F=0,$=0,ce="";function Ce(e,t,r,n,o,a,i,c){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Pe,column:ie,length:i,return:"",siblings:c}}function J(e,t){return He(Ce("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function le(e){for(;e.root;)e=J(e.root,{children:[e]});ve(e,e.siblings)}function xr(){return $}function _r(){return $=F>0?N(ce,--F):0,ie--,$===10&&(ie=1,Pe--),$}function W(){return $=F<xt?N(ce,F++):0,ie++,$===10&&(ie=1,Pe++),$}function ee(){return N(ce,F)}function Ae(){return F}function Te(e,t){return se(ce,e,t)}function Xe(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Rr(e){return Pe=ie=1,xt=V(ce=e),F=0,[]}function Pr(e){return ce="",e}function Je(e){return St(Te(F-1,Ze(e===91?e+2:e===40?e+1:e)))}function Cr(e){for(;($=ee())&&$<33;)W();return Xe(e)>2||Xe($)>3?"":" "}function Ar(e,t){for(;--t&&W()&&!($<48||$>102||$>57&&$<65||$>70&&$<97););return Te(e,Ae()+(t<6&&ee()==32&&W()==32))}function Ze(e){for(;W();)switch($){case e:return F;case 34:case 39:e!==34&&e!==39&&Ze($);break;case 40:e===41&&Ze(e);break;case 92:W();break}return F}function Tr(e,t){for(;W()&&e+$!==57;)if(e+$===84&&ee()===47)break;return"/*"+Te(t,F-1)+"*"+Ue(e===47?e:W())}function Or(e){for(;!Xe(ee());)W();return Te(e,F)}function $r(e){return Pr(Oe("",null,null,null,[""],e=Rr(e),0,[0],e))}function Oe(e,t,r,n,o,a,i,c,l){for(var y=0,m=0,g=i,v=0,p=0,k=0,A=1,I=1,O=1,R=0,S="",E=o,P=a,h=n,d=S;I;)switch(k=R,R=W()){case 40:if(k!=108&&N(d,g-1)==58){Re(d+=f(Je(R),"&","&\f"),"&\f",wt(y?c[y-1]:0))!=-1&&(O=-1);break}case 34:case 39:case 91:d+=Je(R);break;case 9:case 10:case 13:case 32:d+=Cr(k);break;case 92:d+=Ar(Ae()-1,7);continue;case 47:switch(ee()){case 42:case 47:ve(Nr(Tr(W(),Ae()),t,r,l),l);break;default:d+="/"}break;case 123*A:c[y++]=V(d)*O;case 125*A:case 59:case 0:switch(R){case 0:case 125:I=0;case 59+m:O==-1&&(d=f(d,/\f/g,"")),p>0&&V(d)-g&&ve(p>32?Rt(d+";",n,r,g-1,l):Rt(f(d," ","")+";",n,r,g-2,l),l);break;case 59:d+=";";default:if(ve(h=_t(d,t,r,y,m,o,c,S,E=[],P=[],g,a),a),R===123)if(m===0)Oe(d,t,h,h,E,a,g,c,P);else switch(v===99&&N(d,3)===110?100:v){case 100:case 108:case 109:case 115:Oe(e,h,h,n&&ve(_t(e,h,h,0,0,o,c,S,o,E=[],g,P),P),o,P,g,c,n?E:P);break;default:Oe(d,h,h,h,[""],P,0,c,P)}}y=m=p=0,A=O=1,S=d="",g=i;break;case 58:g=1+V(d),p=k;default:if(A<1){if(R==123)--A;else if(R==125&&A++==0&&_r()==125)continue}switch(d+=Ue(R),R*A){case 38:O=m>0?1:(d+="\f",-1);break;case 44:c[y++]=(V(d)-1)*O,O=1;break;case 64:ee()===45&&(d+=Je(W())),v=ee(),m=g=V(S=d+=Or(Ae())),R++;break;case 45:k===45&&V(d)==2&&(A=0)}}return a}function _t(e,t,r,n,o,a,i,c,l,y,m,g){for(var v=o-1,p=o===0?a:[""],k=kt(p),A=0,I=0,O=0;A<n;++A)for(var R=0,S=se(e,v+1,v=wt(I=i[A])),E=e;R<k;++R)(E=St(I>0?p[R]+" "+S:f(S,/&\f/g,p[R])))&&(l[O++]=E);return Ce(e,t,r,o===0?_e:c,l,y,m,g)}function Nr(e,t,r,n){return Ce(e,t,r,vt,Ue(xr()),se(e,2,-2),0,n)}function Rt(e,t,r,n,o){return Ce(e,t,r,qe,se(e,0,n),se(e,n+1,-1),n,o)}function Pt(e,t,r){switch(kr(e,t)){case 5103:return b+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return b+e+e;case 4789:return ye+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return b+e+ye+e+_+e+e;case 5936:switch(N(e,t+11)){case 114:return b+e+_+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return b+e+_+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return b+e+_+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return b+e+_+e+e;case 6165:return b+e+_+"flex-"+e+e;case 5187:return b+e+f(e,/(\w+).+(:[^]+)/,b+"box-$1$2"+_+"flex-$1$2")+e;case 5443:return b+e+_+"flex-item-"+f(e,/flex-|-self/g,"")+(U(e,/flex-|baseline/)?"":_+"grid-row-"+f(e,/flex-|-self/g,""))+e;case 4675:return b+e+_+"flex-line-pack"+f(e,/align-content|flex-|-self/g,"")+e;case 5548:return b+e+_+f(e,"shrink","negative")+e;case 5292:return b+e+_+f(e,"basis","preferred-size")+e;case 6060:return b+"box-"+f(e,"-grow","")+b+e+_+f(e,"grow","positive")+e;case 4554:return b+f(e,/([^-])(transform)/g,"$1"+b+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,b+"$1"),/(image-set)/,b+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,b+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,b+"box-pack:$3"+_+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+b+e+e;case 4200:if(!U(e,/flex-|baseline/))return _+"grid-column-align"+se(e,t)+e;break;case 2592:case 3360:return _+f(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,U(n.props,/grid-\w+-end/)})?~Re(e+(r=r[t].value),"span",0)?e:_+f(e,"-start","")+e+_+"grid-row-span:"+(~Re(r,"span",0)?U(r,/\d+/):+U(r,/\d+/)-+U(e,/\d+/))+";":_+f(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return U(n.props,/grid-\w+-start/)})?e:_+f(f(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,b+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(V(e)-1-t>6)switch(N(e,t+1)){case 109:if(N(e,t+4)!==45)break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+b+"$2-$3$1"+ye+(N(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Re(e,"stretch",0)?Pt(f(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return f(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,a,i,c,l,y){return _+o+":"+a+y+(i?_+o+"-span:"+(c?l:+l-+a)+y:"")+e});case 4949:if(N(e,t+6)===121)return f(e,":",":"+b)+e;break;case 6444:switch(N(e,N(e,14)===45?18:11)){case 120:return f(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+b+(N(e,14)===45?"inline-":"")+"box$3$1"+b+"$2$3$1"+_+"$2box$3")+e;case 100:return f(e,":",":"+_)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return f(e,"scroll-","scroll-snap-")+e}return e}function $e(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function jr(e,t,r,n){switch(e.type){case Sr:if(e.children.length)break;case wr:case qe:return e.return=e.return||e.value;case vt:return"";case bt:return e.return=e.value+"{"+$e(e.children,n)+"}";case _e:if(!V(e.value=e.props.join(",")))return""}return V(r=$e(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ir(e){var t=kt(e);return function(r,n,o,a){for(var i="",c=0;c<t;c++)i+=e[c](r,n,o,a)||"";return i}}function Dr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Mr(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case qe:e.return=Pt(e.value,e.length,r);return;case bt:return $e([J(e,{value:f(e.value,"@","@"+b)})],n);case _e:if(e.length)return Er(r=e.props,function(o){switch(U(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":le(J(e,{props:[f(o,/:(read-\w+)/,":"+ye+"$1")]})),le(J(e,{props:[o]})),He(e,{props:Et(r,n)});break;case"::placeholder":le(J(e,{props:[f(o,/:(plac\w+)/,":"+b+"input-$1")]})),le(J(e,{props:[f(o,/:(plac\w+)/,":"+ye+"$1")]})),le(J(e,{props:[f(o,/:(plac\w+)/,_+"input-$1")]})),le(J(e,{props:[o]})),He(e,{props:Et(r,n)});break}return""})}}var zr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},te=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ct="active",At="data-styled-version",Ne="6.1.19",Ke=`/*!sc*/
|
|
7
|
-
`,
|
|
6
|
+
<%s key={someKey} {...props} />`,A,C,z,C),Z[C+A]=!0)}if(C=null,$!==void 0&&(t($),C=""+$),i(d)&&(t(d.key),C=""+d.key),"key"in d){$={};for(var Y in d)Y!=="key"&&($[Y]=d[Y])}else $=d;return C&&u($,typeof s=="function"?s.displayName||s.name||"Unknown":s),v(s,C,$,n(),H,X)}function y(s){w(s)?s._store&&(s._store.validated=1):typeof s=="object"&&s!==null&&s.$$typeof===G&&(s._payload.status==="fulfilled"?w(s._payload.value)&&s._payload.value._store&&(s._payload.value._store.validated=1):s._store&&(s._store.validated=1))}function w(s){return typeof s=="object"&&s!==null&&s.$$typeof===x}var h=D,x=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),E=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),hr=Symbol.for("react.activity"),mr=Symbol.for("react.client.reference"),Se=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ke=Object.prototype.hasOwnProperty,gr=Array.isArray,xe=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(s){return s()}};var Ge,he={},Ee=h.react_stack_bottom_frame.bind(h,a)(),W=xe(o(a)),Z={};ge.Fragment=j,ge.jsx=function(s,d,$){var A=1e4>Se.recentlyCreatedOwnerStacks++;return g(s,d,$,!1,A?Error("react-stack-top-frame"):Ee,A?xe(o(s)):W)},ge.jsxs=function(s,d,$){var A=1e4>Se.recentlyCreatedOwnerStacks++;return g(s,d,$,!0,A?Error("react-stack-top-frame"):Ee,A?xe(o(s)):W)}})()),ge}var vr;function dt(){return vr||(vr=1,process.env.NODE_ENV==="production"?Pe.exports=lt():Pe.exports=ut()),Pe.exports}var Q=dt(),M=function(){return M=Object.assign||function(r){for(var t,o=1,n=arguments.length;o<n;o++){t=arguments[o];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])}return r},M.apply(this,arguments)};function se(e,r,t){if(t||arguments.length===2)for(var o=0,n=r.length,a;o<n;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))}typeof SuppressedError=="function"&&SuppressedError;function pt(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var ft=/^((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)-.*))$/,ht=pt(function(e){return ft.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),P="-ms-",ye="-moz-",S="-webkit-",wr="comm",_e="rule",qe="decl",mt="@import",Sr="@keyframes",gt="@layer",kr=Math.abs,He=String.fromCharCode,Xe=Object.assign;function yt(e,r){return I(e,0)^45?(((r<<2^I(e,0))<<2^I(e,1))<<2^I(e,2))<<2^I(e,3):0}function xr(e){return e.trim()}function q(e,r){return(e=r.exec(e))?e[0]:e}function f(e,r,t){return e.replace(r,t)}function Re(e,r,t){return e.indexOf(r,t)}function I(e,r){return e.charCodeAt(r)|0}function ae(e,r,t){return e.slice(r,t)}function B(e){return e.length}function Er(e){return e.length}function be(e,r){return r.push(e),e}function bt(e,r){return e.map(r).join("")}function $r(e,r){return e.filter(function(t){return!q(t,r)})}var Ce=1,ie=1,Pr=0,L=0,N=0,ce="";function Te(e,r,t,o,n,a,i,u){return{value:e,root:r,parent:t,type:o,props:n,children:a,line:Ce,column:ie,length:i,return:"",siblings:u}}function J(e,r){return Xe(Te("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function le(e){for(;e.root;)e=J(e.root,{children:[e]});be(e,e.siblings)}function vt(){return N}function wt(){return N=L>0?I(ce,--L):0,ie--,N===10&&(ie=1,Ce--),N}function F(){return N=L<Pr?I(ce,L++):0,ie++,N===10&&(ie=1,Ce++),N}function ee(){return I(ce,L)}function Ae(){return L}function Oe(e,r){return ae(ce,e,r)}function Je(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function St(e){return Ce=ie=1,Pr=B(ce=e),L=0,[]}function kt(e){return ce="",e}function Ze(e){return xr(Oe(L-1,Ke(e===91?e+2:e===40?e+1:e)))}function xt(e){for(;(N=ee())&&N<33;)F();return Je(e)>2||Je(N)>3?"":" "}function Et(e,r){for(;--r&&F()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return Oe(e,Ae()+(r<6&&ee()==32&&F()==32))}function Ke(e){for(;F();)switch(N){case e:return L;case 34:case 39:e!==34&&e!==39&&Ke(N);break;case 40:e===41&&Ke(e);break;case 92:F();break}return L}function $t(e,r){for(;F()&&e+N!==57;)if(e+N===84&&ee()===47)break;return"/*"+Oe(r,L-1)+"*"+He(e===47?e:F())}function Pt(e){for(;!Je(ee());)F();return Oe(e,L)}function _t(e){return kt(Ne("",null,null,null,[""],e=St(e),0,[0],e))}function Ne(e,r,t,o,n,a,i,u,l){for(var v=0,g=0,y=i,w=0,h=0,x=0,T=1,j=1,O=1,_=0,k="",E=n,R=a,m=o,p=k;j;)switch(x=_,_=F()){case 40:if(x!=108&&I(p,y-1)==58){Re(p+=f(Ze(_),"&","&\f"),"&\f",kr(v?u[v-1]:0))!=-1&&(O=-1);break}case 34:case 39:case 91:p+=Ze(_);break;case 9:case 10:case 13:case 32:p+=xt(x);break;case 92:p+=Et(Ae()-1,7);continue;case 47:switch(ee()){case 42:case 47:be(Rt($t(F(),Ae()),r,t,l),l);break;default:p+="/"}break;case 123*T:u[v++]=B(p)*O;case 125*T:case 59:case 0:switch(_){case 0:case 125:j=0;case 59+g:O==-1&&(p=f(p,/\f/g,"")),h>0&&B(p)-y&&be(h>32?Rr(p+";",o,t,y-1,l):Rr(f(p," ","")+";",o,t,y-2,l),l);break;case 59:p+=";";default:if(be(m=_r(p,r,t,v,g,n,u,k,E=[],R=[],y,a),a),_===123)if(g===0)Ne(p,r,m,m,E,a,y,u,R);else switch(w===99&&I(p,3)===110?100:w){case 100:case 108:case 109:case 115:Ne(e,m,m,o&&be(_r(e,m,m,0,0,n,u,k,n,E=[],y,R),R),n,R,y,u,o?E:R);break;default:Ne(p,m,m,m,[""],R,0,u,R)}}v=g=h=0,T=O=1,k=p="",y=i;break;case 58:y=1+B(p),h=x;default:if(T<1){if(_==123)--T;else if(_==125&&T++==0&&wt()==125)continue}switch(p+=He(_),_*T){case 38:O=g>0?1:(p+="\f",-1);break;case 44:u[v++]=(B(p)-1)*O,O=1;break;case 64:ee()===45&&(p+=Ze(F())),w=ee(),g=y=B(k=p+=Pt(Ae())),_++;break;case 45:x===45&&B(p)==2&&(T=0)}}return a}function _r(e,r,t,o,n,a,i,u,l,v,g,y){for(var w=n-1,h=n===0?a:[""],x=Er(h),T=0,j=0,O=0;T<o;++T)for(var _=0,k=ae(e,w+1,w=kr(j=i[T])),E=e;_<x;++_)(E=xr(j>0?h[_]+" "+k:f(k,/&\f/g,h[_])))&&(l[O++]=E);return Te(e,r,t,n===0?_e:u,l,v,g,y)}function Rt(e,r,t,o){return Te(e,r,t,wr,He(vt()),ae(e,2,-2),0,o)}function Rr(e,r,t,o,n){return Te(e,r,t,qe,ae(e,0,o),ae(e,o+1,-1),o,n)}function Cr(e,r,t){switch(yt(e,r)){case 5103:return S+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return S+e+e;case 4789:return ye+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return S+e+ye+e+P+e+e;case 5936:switch(I(e,r+11)){case 114:return S+e+P+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return S+e+P+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return S+e+P+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return S+e+P+e+e;case 6165:return S+e+P+"flex-"+e+e;case 5187:return S+e+f(e,/(\w+).+(:[^]+)/,S+"box-$1$2"+P+"flex-$1$2")+e;case 5443:return S+e+P+"flex-item-"+f(e,/flex-|-self/g,"")+(q(e,/flex-|baseline/)?"":P+"grid-row-"+f(e,/flex-|-self/g,""))+e;case 4675:return S+e+P+"flex-line-pack"+f(e,/align-content|flex-|-self/g,"")+e;case 5548:return S+e+P+f(e,"shrink","negative")+e;case 5292:return S+e+P+f(e,"basis","preferred-size")+e;case 6060:return S+"box-"+f(e,"-grow","")+S+e+P+f(e,"grow","positive")+e;case 4554:return S+f(e,/([^-])(transform)/g,"$1"+S+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,S+"$1"),/(image-set)/,S+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,S+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,S+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+S+e+e;case 4200:if(!q(e,/flex-|baseline/))return P+"grid-column-align"+ae(e,r)+e;break;case 2592:case 3360:return P+f(e,"template-","")+e;case 4384:case 3616:return t&&t.some(function(o,n){return r=n,q(o.props,/grid-\w+-end/)})?~Re(e+(t=t[r].value),"span",0)?e:P+f(e,"-start","")+e+P+"grid-row-span:"+(~Re(t,"span",0)?q(t,/\d+/):+q(t,/\d+/)-+q(e,/\d+/))+";":P+f(e,"-start","")+e;case 4896:case 4128:return t&&t.some(function(o){return q(o.props,/grid-\w+-start/)})?e:P+f(f(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,S+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(B(e)-1-r>6)switch(I(e,r+1)){case 109:if(I(e,r+4)!==45)break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+S+"$2-$3$1"+ye+(I(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Re(e,"stretch",0)?Cr(f(e,"stretch","fill-available"),r,t)+e:e}break;case 5152:case 5920:return f(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,n,a,i,u,l,v){return P+n+":"+a+v+(i?P+n+"-span:"+(u?l:+l-+a)+v:"")+e});case 4949:if(I(e,r+6)===121)return f(e,":",":"+S)+e;break;case 6444:switch(I(e,I(e,14)===45?18:11)){case 120:return f(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+S+(I(e,14)===45?"inline-":"")+"box$3$1"+S+"$2$3$1"+P+"$2box$3")+e;case 100:return f(e,":",":"+P)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return f(e,"scroll-","scroll-snap-")+e}return e}function Ie(e,r){for(var t="",o=0;o<e.length;o++)t+=r(e[o],o,e,r)||"";return t}function Ct(e,r,t,o){switch(e.type){case gt:if(e.children.length)break;case mt:case qe:return e.return=e.return||e.value;case wr:return"";case Sr:return e.return=e.value+"{"+Ie(e.children,o)+"}";case _e:if(!B(e.value=e.props.join(",")))return""}return B(t=Ie(e.children,o))?e.return=e.value+"{"+t+"}":""}function Tt(e){var r=Er(e);return function(t,o,n,a){for(var i="",u=0;u<r;u++)i+=e[u](t,o,n,a)||"";return i}}function At(e){return function(r){r.root||(r=r.return)&&e(r)}}function Ot(e,r,t,o){if(e.length>-1&&!e.return)switch(e.type){case qe:e.return=Cr(e.value,e.length,t);return;case Sr:return Ie([J(e,{value:f(e.value,"@","@"+S)})],o);case _e:if(e.length)return bt(t=e.props,function(n){switch(q(n,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":le(J(e,{props:[f(n,/:(read-\w+)/,":"+ye+"$1")]})),le(J(e,{props:[n]})),Xe(e,{props:$r(t,o)});break;case"::placeholder":le(J(e,{props:[f(n,/:(plac\w+)/,":"+S+"input-$1")]})),le(J(e,{props:[f(n,/:(plac\w+)/,":"+ye+"$1")]})),le(J(e,{props:[f(n,/:(plac\w+)/,P+"input-$1")]})),le(J(e,{props:[n]})),Xe(e,{props:$r(t,o)});break}return""})}}var Nt={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},re=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Tr="active",Ar="data-styled-version",je="6.1.19",Qe=`/*!sc*/
|
|
7
|
+
`,De=typeof window<"u"&&typeof document<"u",It=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),Or=/invalid hook call/i,Me=new Set,jt=function(e,r){if(process.env.NODE_ENV!=="production"){var t=r?' with the id of "'.concat(r,'"'):"",o="The component ".concat(e).concat(t,` has been created dynamically.
|
|
8
8
|
`)+`You may see this warning because you've called styled inside another component.
|
|
9
9
|
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
10
10
|
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
|
|
11
|
-
`,
|
|
11
|
+
`,n=console.error;try{var a=!0;console.error=function(i){for(var u=[],l=1;l<arguments.length;l++)u[l-1]=arguments[l];Or.test(i)?(a=!1,Me.delete(o)):n.apply(void 0,se([i],u,!1))},D.useRef(),a&&!Me.has(o)&&(console.warn(o),Me.add(o))}catch(i){Or.test(i.message)&&Me.delete(o)}finally{console.error=n}}},ze=Object.freeze([]),ue=Object.freeze({});function Dt(e,r,t){return t===void 0&&(t=ue),e.theme!==t.theme&&e.theme||r||t.theme}var er=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"]),Mt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,zt=/(^-|-$)/g;function Nr(e){return e.replace(Mt,"-").replace(zt,"")}var Lt=/(a)(d)/gi,Le=52,Ir=function(e){return String.fromCharCode(e+(e>25?39:97))};function rr(e){var r,t="";for(r=Math.abs(e);r>Le;r=r/Le|0)t=Ir(r%Le)+t;return(Ir(r%Le)+t).replace(Lt,"$1-$2")}var tr,jr=5381,te=function(e,r){for(var t=r.length;t;)e=33*e^r.charCodeAt(--t);return e},Dr=function(e){return te(jr,e)};function Wt(e){return rr(Dr(e)>>>0)}function Mr(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function or(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var zr=typeof Symbol=="function"&&Symbol.for,Lr=zr?Symbol.for("react.memo"):60115,Ft=zr?Symbol.for("react.forward_ref"):60112,Yt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Bt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Wr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Vt=((tr={})[Ft]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tr[Lr]=Wr,tr);function Fr(e){return("type"in(r=e)&&r.type.$$typeof)===Lr?Wr:"$$typeof"in e?Vt[e.$$typeof]:Yt;var r}var Gt=Object.defineProperty,Ut=Object.getOwnPropertyNames,Yr=Object.getOwnPropertySymbols,qt=Object.getOwnPropertyDescriptor,Ht=Object.getPrototypeOf,Br=Object.prototype;function Vr(e,r,t){if(typeof r!="string"){if(Br){var o=Ht(r);o&&o!==Br&&Vr(e,o,t)}var n=Ut(r);Yr&&(n=n.concat(Yr(r)));for(var a=Fr(e),i=Fr(r),u=0;u<n.length;++u){var l=n[u];if(!(l in Bt||t&&t[l]||i&&l in i||a&&l in a)){var v=qt(r,l);try{Gt(e,l,v)}catch{}}}}return e}function de(e){return typeof e=="function"}function nr(e){return typeof e=="object"&&"styledComponentId"in e}function oe(e,r){return e&&r?"".concat(e," ").concat(r):e||r||""}function Gr(e,r){if(e.length===0)return"";for(var t=e[0],o=1;o<e.length;o++)t+=e[o];return t}function pe(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function sr(e,r,t){if(t===void 0&&(t=!1),!t&&!pe(e)&&!Array.isArray(e))return r;if(Array.isArray(r))for(var o=0;o<r.length;o++)e[o]=sr(e[o],r[o]);else if(pe(r))for(var o in r)e[o]=sr(e[o],r[o]);return e}function ar(e,r){Object.defineProperty(e,"toString",{value:r})}var Xt=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
12
12
|
|
|
13
13
|
`,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.
|
|
14
14
|
|
|
@@ -49,7 +49,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
49
49
|
|
|
50
50
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
51
51
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
52
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function tn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,a=e.length;o<a;o+=1)n.push(e[o]);return n.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function pe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(tn.apply(void 0,ae([en[e]],t,!1)).trim())}var rn=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,a=o;t>=a;)if((a<<=1)<0)throw pe(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=o;i<a;i++)this.groupSizes[i]=0}for(var c=this.indexOfGroup(t+1),l=(i=0,r.length);i<l;i++)this.tag.insertRule(c,r[i])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var a=n;a<o;a++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),a=o+n,i=o;i<a;i++)r+="".concat(this.tag.getRule(i)).concat(Ke);return r},e})(),nn=1<<30,ze=new Map,Fe=new Map,Le=1,We=function(e){if(ze.has(e))return ze.get(e);for(;Fe.has(Le);)Le++;var t=Le++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>nn))throw pe(16,"".concat(t));return ze.set(e,t),Fe.set(t,e),t},on=function(e,t){Le=t+1,ze.set(e,t),Fe.set(t,e)},an="style[".concat(te,"][").concat(At,'="').concat(Ne,'"]'),sn=new RegExp("^".concat(te,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),cn=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},ln=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Ke),o=[],a=0,i=n.length;a<i;a++){var c=n[a].trim();if(c){var l=c.match(sn);if(l){var y=0|parseInt(l[1],10),m=l[2];y!==0&&(on(m,y),cn(e,m,l[3]),e.getTag().insertRules(y,o)),o.length=0}else o.push(c)}}},Bt=function(e){for(var t=document.querySelectorAll(an),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(te)!==Ct&&(ln(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function un(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Gt=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=(function(c){var l=Array.from(c.querySelectorAll("style[".concat(te,"]")));return l[l.length-1]})(r),a=o!==void 0?o.nextSibling:null;n.setAttribute(te,Ct),n.setAttribute(At,Ne);var i=un();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},dn=(function(){function e(t){this.element=Gt(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,a=n.length;o<a;o++){var i=n[o];if(i.ownerNode===r)return i}throw pe(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),fn=(function(){function e(t){this.element=Gt(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),pn=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),qt=je,hn={isServer:!je,useCSSOMInjection:!Fr},Ut=(function(){function e(t,r,n){t===void 0&&(t=ue),r===void 0&&(r={});var o=this;this.options=M(M({},hn),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&je&&qt&&(qt=!1,Bt(this)),at(this,function(){return(function(a){for(var i=a.getTag(),c=i.length,l="",y=function(g){var v=(function(O){return Fe.get(O)})(g);if(v===void 0)return"continue";var p=a.names.get(v),k=i.getGroup(g);if(p===void 0||!p.size||k.length===0)return"continue";var A="".concat(te,".g").concat(g,'[id="').concat(v,'"]'),I="";p!==void 0&&p.forEach(function(O){O.length>0&&(I+="".concat(O,","))}),l+="".concat(k).concat(A,'{content:"').concat(I,'"}').concat(Ke)},m=0;m<c;m++)y(m);return l})(o)})}return e.registerId=function(t){return We(t)},e.prototype.rehydrate=function(){!this.server&&je&&Bt(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(M(M({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new pn(o):n?new dn(o):new fn(o)})(this.options),new rn(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(We(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(We(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(We(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),mn=/&/g,gn=/^\s*\/\/.*$/gm;function Ht(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ht(r.children,t)),r})}function yn(e){var t,r,n,o=ue,a=o.options,i=a===void 0?ue:a,c=o.plugins,l=c===void 0?De:c,y=function(v,p,k){return k.startsWith(r)&&k.endsWith(r)&&k.replaceAll(r,"").length>0?".".concat(t):v},m=l.slice();m.push(function(v){v.type===_e&&v.value.includes("&")&&(v.props[0]=v.props[0].replace(mn,r).replace(n,y))}),i.prefix&&m.push(Mr),m.push(jr);var g=function(v,p,k,A){p===void 0&&(p=""),k===void 0&&(k=""),A===void 0&&(A="&"),t=A,r=p,n=new RegExp("\\".concat(r,"\\b"),"g");var I=v.replace(gn,""),O=$r(k||p?"".concat(k," ").concat(p," { ").concat(I," }"):I);i.namespace&&(O=Ht(O,i.namespace));var R=[];return $e(O,Ir(m.concat(Dr(function(S){return R.push(S)})))),R};return g.hash=l.length?l.reduce(function(v,p){return p.name||pe(15),re(v,p.name)},Nt).toString():"",g}var vn=new Ut,st=yn(),Xt=D.createContext({shouldForwardProp:void 0,styleSheet:vn,stylis:st});Xt.Consumer,D.createContext(void 0);function Jt(){return D.useContext(Xt)}var Zt=(function(){function e(t,r){var n=this;this.inject=function(o,a){a===void 0&&(a=st);var i=n.name+a.hash;o.hasNameForId(n.id,i)||o.insertRules(n.id,i,a(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,at(this,function(){throw pe(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=st),this.name+t.hash},e})(),bn=function(e){return e>="A"&&e<="Z"};function Kt(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;bn(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Qt=function(e){return e==null||e===!1||e===""},er=function(e){var t,r,n=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Qt(a)&&(Array.isArray(a)&&a.isCss||de(a)?n.push("".concat(Kt(o),":"),a,";"):fe(a)?n.push.apply(n,ae(ae(["".concat(o," {")],er(a),!1),["}"],!1)):n.push("".concat(Kt(o),": ").concat((t=o,(r=a)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in zr||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function oe(e,t,r,n){if(Qt(e))return[];if(nt(e))return[".".concat(e.styledComponentId)];if(de(e)){if(!de(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof Zt||fe(o)||o===null||console.error("".concat(It(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.")),oe(o,t,r,n)}var a;return e instanceof Zt?r?(e.inject(r,n),[e.getName(n)]):[e]:fe(e)?er(e):Array.isArray(e)?Array.prototype.concat.apply(De,e.map(function(i){return oe(i,t,r,n)})):[e.toString()]}function wn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(de(r)&&!nt(r))return!1}return!0}var Sn=jt(Ne),kn=(function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&wn(t),this.componentId=r,this.baseHash=re(Sn,r),this.baseStyle=n,Ut.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=ne(o,this.staticRulesId);else{var a=Vt(oe(this.rules,t,r,n)),i=et(re(this.baseHash,a)>>>0);if(!r.hasNameForId(this.componentId,i)){var c=n(a,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,c)}o=ne(o,i),this.staticRulesId=i}else{for(var l=re(this.baseHash,n.hash),y="",m=0;m<this.rules.length;m++){var g=this.rules[m];if(typeof g=="string")y+=g,process.env.NODE_ENV!=="production"&&(l=re(l,g));else if(g){var v=Vt(oe(g,t,r,n));l=re(l,v+m),y+=v}}if(y){var p=et(l>>>0);r.hasNameForId(this.componentId,p)||r.insertRules(this.componentId,p,n(y,".".concat(p),void 0,this.componentId)),o=ne(o,p)}}return o},e})(),tr=D.createContext(void 0);tr.Consumer;var it={},rr=new Set;function En(e,t,r){var n=nt(e),o=e,a=!rt(e),i=t.attrs,c=i===void 0?De:i,l=t.componentId,y=l===void 0?(function(E,P){var h=typeof E!="string"?"sc":Ot(E);it[h]=(it[h]||0)+1;var d="".concat(h,"-").concat(Gr(Ne+h+it[h]));return P?"".concat(P,"-").concat(d):d})(t.displayName,t.parentComponentId):l,m=t.displayName,g=m===void 0?(function(E){return rt(E)?"styled.".concat(E):"Styled(".concat(It(E),")")})(e):m,v=t.displayName&&t.componentId?"".concat(Ot(t.displayName),"-").concat(t.componentId):t.componentId||y,p=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,k=t.shouldForwardProp;if(n&&o.shouldForwardProp){var A=o.shouldForwardProp;if(t.shouldForwardProp){var I=t.shouldForwardProp;k=function(E,P){return A(E,P)&&I(E,P)}}else k=A}var O=new kn(r,v,n?o.componentStyle:void 0);function R(E,P){return(function(h,d,B){var G=h.attrs,ut=h.componentStyle,dt=h.defaultProps,be=h.foldedComponentIds,we=h.styledComponentId,ft=h.target,Se=D.useContext(tr),Ve=Jt(),he=h.shouldForwardProp||Ve.shouldForwardProp;process.env.NODE_ENV!=="production"&&D.useDebugValue(we);var ke=Wr(d,Se,dt)||ue,L=(function(H,X,C){for(var z,Y=M(M({},X),{className:void 0,theme:C}),Ee=0;Ee<H.length;Ee+=1){var Be=de(z=H[Ee])?z(Y):z;for(var K in Be)Y[K]=K==="className"?ne(Y[K],Be[K]):K==="style"?M(M({},Y[K]),Be[K]):Be[K]}return X.className&&(Y.className=ne(Y.className,X.className)),Y})(G,d,ke),Z=L.as||ft,s={};for(var u in L)L[u]===void 0||u[0]==="$"||u==="as"||u==="theme"&&L.theme===ke||(u==="forwardedAs"?s.as=L.forwardedAs:he&&!he(u,Z)||(s[u]=L[u],he||process.env.NODE_ENV!=="development"||br(u)||rr.has(u)||!Qe.has(Z)||(rr.add(u),console.warn('styled-components: it looks like an unknown prop "'.concat(u,'" 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 x=(function(H,X){var C=Jt(),z=H.generateAndInjectStyles(X,C.styleSheet,C.stylis);return process.env.NODE_ENV!=="production"&&D.useDebugValue(z),z})(ut,L);process.env.NODE_ENV!=="production"&&h.warnTooManyClasses&&h.warnTooManyClasses(x);var T=ne(be,we);return x&&(T+=" "+x),L.className&&(T+=" "+L.className),s[rt(Z)&&!Qe.has(Z)?"class":"className"]=T,B&&(s.ref=B),D.createElement(Z,s)})(S,E,P)}R.displayName=g;var S=D.forwardRef(R);return S.attrs=p,S.componentStyle=O,S.displayName=g,S.shouldForwardProp=k,S.foldedComponentIds=n?ne(o.foldedComponentIds,o.styledComponentId):"",S.styledComponentId=v,S.target=n?o.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(E){this._foldedDefaultProps=n?(function(P){for(var h=[],d=1;d<arguments.length;d++)h[d-1]=arguments[d];for(var B=0,G=h;B<G.length;B++)ot(P,G[B],!0);return P})({},o.defaultProps,E):E}}),process.env.NODE_ENV!=="production"&&(Lr(g,v),S.warnTooManyClasses=(function(E,P){var h={},d=!1;return function(B){if(!d&&(h[B]=!0,Object.keys(h).length>=200)){var G=P?' with the id of "'.concat(P,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(E).concat(G,`.
|
|
52
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Jt(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var t=e[0],o=[],n=1,a=e.length;n<a;n+=1)o.push(e[n]);return o.forEach(function(i){t=t.replace(/%[a-z]/,i)}),t}function fe(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(r.length>0?" Args: ".concat(r.join(", ")):"")):new Error(Jt.apply(void 0,se([Xt[e]],r,!1)).trim())}var Zt=(function(){function e(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}return e.prototype.indexOfGroup=function(r){for(var t=0,o=0;o<r;o++)t+=this.groupSizes[o];return t},e.prototype.insertRules=function(r,t){if(r>=this.groupSizes.length){for(var o=this.groupSizes,n=o.length,a=n;r>=a;)if((a<<=1)<0)throw fe(16,"".concat(r));this.groupSizes=new Uint32Array(a),this.groupSizes.set(o),this.length=a;for(var i=n;i<a;i++)this.groupSizes[i]=0}for(var u=this.indexOfGroup(r+1),l=(i=0,t.length);i<l;i++)this.tag.insertRule(u,t[i])&&(this.groupSizes[r]++,u++)},e.prototype.clearGroup=function(r){if(r<this.length){var t=this.groupSizes[r],o=this.indexOfGroup(r),n=o+t;this.groupSizes[r]=0;for(var a=o;a<n;a++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(r){var t="";if(r>=this.length||this.groupSizes[r]===0)return t;for(var o=this.groupSizes[r],n=this.indexOfGroup(r),a=n+o,i=n;i<a;i++)t+="".concat(this.tag.getRule(i)).concat(Qe);return t},e})(),Kt=1<<30,We=new Map,Fe=new Map,Ye=1,Be=function(e){if(We.has(e))return We.get(e);for(;Fe.has(Ye);)Ye++;var r=Ye++;if(process.env.NODE_ENV!=="production"&&((0|r)<0||r>Kt))throw fe(16,"".concat(r));return We.set(e,r),Fe.set(r,e),r},Qt=function(e,r){Ye=r+1,We.set(e,r),Fe.set(r,e)},eo="style[".concat(re,"][").concat(Ar,'="').concat(je,'"]'),ro=new RegExp("^".concat(re,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),to=function(e,r,t){for(var o,n=t.split(","),a=0,i=n.length;a<i;a++)(o=n[a])&&e.registerName(r,o)},oo=function(e,r){for(var t,o=((t=r.textContent)!==null&&t!==void 0?t:"").split(Qe),n=[],a=0,i=o.length;a<i;a++){var u=o[a].trim();if(u){var l=u.match(ro);if(l){var v=0|parseInt(l[1],10),g=l[2];v!==0&&(Qt(g,v),to(e,g,l[3]),e.getTag().insertRules(v,n)),n.length=0}else n.push(u)}}},Ur=function(e){for(var r=document.querySelectorAll(eo),t=0,o=r.length;t<o;t++){var n=r[t];n&&n.getAttribute(re)!==Tr&&(oo(e,n),n.parentNode&&n.parentNode.removeChild(n))}};function no(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var qr=function(e){var r=document.head,t=e||r,o=document.createElement("style"),n=(function(u){var l=Array.from(u.querySelectorAll("style[".concat(re,"]")));return l[l.length-1]})(t),a=n!==void 0?n.nextSibling:null;o.setAttribute(re,Tr),o.setAttribute(Ar,je);var i=no();return i&&o.setAttribute("nonce",i),t.insertBefore(o,a),o},so=(function(){function e(r){this.element=qr(r),this.element.appendChild(document.createTextNode("")),this.sheet=(function(t){if(t.sheet)return t.sheet;for(var o=document.styleSheets,n=0,a=o.length;n<a;n++){var i=o[n];if(i.ownerNode===t)return i}throw fe(17)})(this.element),this.length=0}return e.prototype.insertRule=function(r,t){try{return this.sheet.insertRule(t,r),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},e.prototype.getRule=function(r){var t=this.sheet.cssRules[r];return t&&t.cssText?t.cssText:""},e})(),ao=(function(){function e(r){this.element=qr(r),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(r,t){if(r<=this.length&&r>=0){var o=document.createTextNode(t);return this.element.insertBefore(o,this.nodes[r]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},e.prototype.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},e})(),io=(function(){function e(r){this.rules=[],this.length=0}return e.prototype.insertRule=function(r,t){return r<=this.length&&(this.rules.splice(r,0,t),this.length++,!0)},e.prototype.deleteRule=function(r){this.rules.splice(r,1),this.length--},e.prototype.getRule=function(r){return r<this.length?this.rules[r]:""},e})(),Hr=De,co={isServer:!De,useCSSOMInjection:!It},Xr=(function(){function e(r,t,o){r===void 0&&(r=ue),t===void 0&&(t={});var n=this;this.options=M(M({},co),r),this.gs=t,this.names=new Map(o),this.server=!!r.isServer,!this.server&&De&&Hr&&(Hr=!1,Ur(this)),ar(this,function(){return(function(a){for(var i=a.getTag(),u=i.length,l="",v=function(y){var w=(function(O){return Fe.get(O)})(y);if(w===void 0)return"continue";var h=a.names.get(w),x=i.getGroup(y);if(h===void 0||!h.size||x.length===0)return"continue";var T="".concat(re,".g").concat(y,'[id="').concat(w,'"]'),j="";h!==void 0&&h.forEach(function(O){O.length>0&&(j+="".concat(O,","))}),l+="".concat(x).concat(T,'{content:"').concat(j,'"}').concat(Qe)},g=0;g<u;g++)v(g);return l})(n)})}return e.registerId=function(r){return Be(r)},e.prototype.rehydrate=function(){!this.server&&De&&Ur(this)},e.prototype.reconstructWithOptions=function(r,t){return t===void 0&&(t=!0),new e(M(M({},this.options),r),this.gs,t&&this.names||void 0)},e.prototype.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(r=(function(t){var o=t.useCSSOMInjection,n=t.target;return t.isServer?new io(n):o?new so(n):new ao(n)})(this.options),new Zt(r)));var r},e.prototype.hasNameForId=function(r,t){return this.names.has(r)&&this.names.get(r).has(t)},e.prototype.registerName=function(r,t){if(Be(r),this.names.has(r))this.names.get(r).add(t);else{var o=new Set;o.add(t),this.names.set(r,o)}},e.prototype.insertRules=function(r,t,o){this.registerName(r,t),this.getTag().insertRules(Be(r),o)},e.prototype.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},e.prototype.clearRules=function(r){this.getTag().clearGroup(Be(r)),this.clearNames(r)},e.prototype.clearTag=function(){this.tag=void 0},e})(),lo=/&/g,uo=/^\s*\/\/.*$/gm;function Jr(e,r){return e.map(function(t){return t.type==="rule"&&(t.value="".concat(r," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(r," ")),t.props=t.props.map(function(o){return"".concat(r," ").concat(o)})),Array.isArray(t.children)&&t.type!=="@keyframes"&&(t.children=Jr(t.children,r)),t})}function po(e){var r,t,o,n=ue,a=n.options,i=a===void 0?ue:a,u=n.plugins,l=u===void 0?ze:u,v=function(w,h,x){return x.startsWith(t)&&x.endsWith(t)&&x.replaceAll(t,"").length>0?".".concat(r):w},g=l.slice();g.push(function(w){w.type===_e&&w.value.includes("&")&&(w.props[0]=w.props[0].replace(lo,t).replace(o,v))}),i.prefix&&g.push(Ot),g.push(Ct);var y=function(w,h,x,T){h===void 0&&(h=""),x===void 0&&(x=""),T===void 0&&(T="&"),r=T,t=h,o=new RegExp("\\".concat(t,"\\b"),"g");var j=w.replace(uo,""),O=_t(x||h?"".concat(x," ").concat(h," { ").concat(j," }"):j);i.namespace&&(O=Jr(O,i.namespace));var _=[];return Ie(O,Tt(g.concat(At(function(k){return _.push(k)})))),_};return y.hash=l.length?l.reduce(function(w,h){return h.name||fe(15),te(w,h.name)},jr).toString():"",y}var fo=new Xr,ir=po(),Zr=D.createContext({shouldForwardProp:void 0,styleSheet:fo,stylis:ir});Zr.Consumer,D.createContext(void 0);function Kr(){return D.useContext(Zr)}var Qr=(function(){function e(r,t){var o=this;this.inject=function(n,a){a===void 0&&(a=ir);var i=o.name+a.hash;n.hasNameForId(o.id,i)||n.insertRules(o.id,i,a(o.rules,i,"@keyframes"))},this.name=r,this.id="sc-keyframes-".concat(r),this.rules=t,ar(this,function(){throw fe(12,String(o.name))})}return e.prototype.getName=function(r){return r===void 0&&(r=ir),this.name+r.hash},e})(),ho=function(e){return e>="A"&&e<="Z"};function et(e){for(var r="",t=0;t<e.length;t++){var o=e[t];if(t===1&&o==="-"&&e[0]==="-")return e;ho(o)?r+="-"+o.toLowerCase():r+=o}return r.startsWith("ms-")?"-"+r:r}var rt=function(e){return e==null||e===!1||e===""},tt=function(e){var r,t,o=[];for(var n in e){var a=e[n];e.hasOwnProperty(n)&&!rt(a)&&(Array.isArray(a)&&a.isCss||de(a)?o.push("".concat(et(n),":"),a,";"):pe(a)?o.push.apply(o,se(se(["".concat(n," {")],tt(a),!1),["}"],!1)):o.push("".concat(et(n),": ").concat((r=n,(t=a)==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||r in Nt||r.startsWith("--")?String(t).trim():"".concat(t,"px")),";")))}return o};function ne(e,r,t,o){if(rt(e))return[];if(nr(e))return[".".concat(e.styledComponentId)];if(de(e)){if(!de(a=e)||a.prototype&&a.prototype.isReactComponent||!r)return[e];var n=e(r);return process.env.NODE_ENV==="production"||typeof n!="object"||Array.isArray(n)||n instanceof Qr||pe(n)||n===null||console.error("".concat(Mr(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.")),ne(n,r,t,o)}var a;return e instanceof Qr?t?(e.inject(t,o),[e.getName(o)]):[e]:pe(e)?tt(e):Array.isArray(e)?Array.prototype.concat.apply(ze,e.map(function(i){return ne(i,r,t,o)})):[e.toString()]}function mo(e){for(var r=0;r<e.length;r+=1){var t=e[r];if(de(t)&&!nr(t))return!1}return!0}var go=Dr(je),yo=(function(){function e(r,t,o){this.rules=r,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(o===void 0||o.isStatic)&&mo(r),this.componentId=t,this.baseHash=te(go,t),this.baseStyle=o,Xr.registerId(t)}return e.prototype.generateAndInjectStyles=function(r,t,o){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(r,t,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=oe(n,this.staticRulesId);else{var a=Gr(ne(this.rules,r,t,o)),i=rr(te(this.baseHash,a)>>>0);if(!t.hasNameForId(this.componentId,i)){var u=o(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,u)}n=oe(n,i),this.staticRulesId=i}else{for(var l=te(this.baseHash,o.hash),v="",g=0;g<this.rules.length;g++){var y=this.rules[g];if(typeof y=="string")v+=y,process.env.NODE_ENV!=="production"&&(l=te(l,y));else if(y){var w=Gr(ne(y,r,t,o));l=te(l,w+g),v+=w}}if(v){var h=rr(l>>>0);t.hasNameForId(this.componentId,h)||t.insertRules(this.componentId,h,o(v,".".concat(h),void 0,this.componentId)),n=oe(n,h)}}return n},e})(),ot=D.createContext(void 0);ot.Consumer;var cr={},nt=new Set;function bo(e,r,t){var o=nr(e),n=e,a=!or(e),i=r.attrs,u=i===void 0?ze:i,l=r.componentId,v=l===void 0?(function(E,R){var m=typeof E!="string"?"sc":Nr(E);cr[m]=(cr[m]||0)+1;var p="".concat(m,"-").concat(Wt(je+m+cr[m]));return R?"".concat(R,"-").concat(p):p})(r.displayName,r.parentComponentId):l,g=r.displayName,y=g===void 0?(function(E){return or(E)?"styled.".concat(E):"Styled(".concat(Mr(E),")")})(e):g,w=r.displayName&&r.componentId?"".concat(Nr(r.displayName),"-").concat(r.componentId):r.componentId||v,h=o&&n.attrs?n.attrs.concat(u).filter(Boolean):u,x=r.shouldForwardProp;if(o&&n.shouldForwardProp){var T=n.shouldForwardProp;if(r.shouldForwardProp){var j=r.shouldForwardProp;x=function(E,R){return T(E,R)&&j(E,R)}}else x=T}var O=new yo(t,w,o?n.componentStyle:void 0);function _(E,R){return(function(m,p,V){var G=m.attrs,hr=m.componentStyle,mr=m.defaultProps,Se=m.foldedComponentIds,ke=m.styledComponentId,gr=m.target,xe=D.useContext(ot),Ge=Kr(),he=m.shouldForwardProp||Ge.shouldForwardProp;process.env.NODE_ENV!=="production"&&D.useDebugValue(ke);var Ee=Dt(p,xe,mr)||ue,W=(function(H,X,C){for(var z,Y=M(M({},X),{className:void 0,theme:C}),$e=0;$e<H.length;$e+=1){var Ue=de(z=H[$e])?z(Y):z;for(var K in Ue)Y[K]=K==="className"?oe(Y[K],Ue[K]):K==="style"?M(M({},Y[K]),Ue[K]):Ue[K]}return X.className&&(Y.className=oe(Y.className,X.className)),Y})(G,p,Ee),Z=W.as||gr,s={};for(var d in W)W[d]===void 0||d[0]==="$"||d==="as"||d==="theme"&&W.theme===Ee||(d==="forwardedAs"?s.as=W.forwardedAs:he&&!he(d,Z)||(s[d]=W[d],he||process.env.NODE_ENV!=="development"||ht(d)||nt.has(d)||!er.has(Z)||(nt.add(d),console.warn('styled-components: it looks like an unknown prop "'.concat(d,'" 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 $=(function(H,X){var C=Kr(),z=H.generateAndInjectStyles(X,C.styleSheet,C.stylis);return process.env.NODE_ENV!=="production"&&D.useDebugValue(z),z})(hr,W);process.env.NODE_ENV!=="production"&&m.warnTooManyClasses&&m.warnTooManyClasses($);var A=oe(Se,ke);return $&&(A+=" "+$),W.className&&(A+=" "+W.className),s[or(Z)&&!er.has(Z)?"class":"className"]=A,V&&(s.ref=V),D.createElement(Z,s)})(k,E,R)}_.displayName=y;var k=D.forwardRef(_);return k.attrs=h,k.componentStyle=O,k.displayName=y,k.shouldForwardProp=x,k.foldedComponentIds=o?oe(n.foldedComponentIds,n.styledComponentId):"",k.styledComponentId=w,k.target=o?n.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(E){this._foldedDefaultProps=o?(function(R){for(var m=[],p=1;p<arguments.length;p++)m[p-1]=arguments[p];for(var V=0,G=m;V<G.length;V++)sr(R,G[V],!0);return R})({},n.defaultProps,E):E}}),process.env.NODE_ENV!=="production"&&(jt(y,w),k.warnTooManyClasses=(function(E,R){var m={},p=!1;return function(V){if(!p&&(m[V]=!0,Object.keys(m).length>=200)){var G=R?' with the id of "'.concat(R,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(E).concat(G,`.
|
|
53
53
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
54
54
|
Example:
|
|
55
55
|
const Component = styled.div.attrs(props => ({
|
|
@@ -58,11 +58,11 @@ Example:
|
|
|
58
58
|
},
|
|
59
59
|
}))\`width: 100%;\`
|
|
60
60
|
|
|
61
|
-
<Component />`),
|
|
61
|
+
<Component />`),p=!0,m={}}}})(y,w)),ar(k,function(){return".".concat(k.styledComponentId)}),a&&Vr(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function st(e,r){for(var t=[e[0]],o=0,n=r.length;o<n;o+=1)t.push(r[o],e[o+1]);return t}var at=function(e){return Object.assign(e,{isCss:!0})};function b(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];if(de(e)||pe(e))return at(ne(st(ze,se([e],r,!0))));var o=e;return r.length===0&&o.length===1&&typeof o[0]=="string"?ne(o):at(ne(st(o,r)))}function lr(e,r,t){if(t===void 0&&(t=ue),!r)throw fe(1,r);var o=function(n){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];return e(r,t,b.apply(void 0,se([n],a,!1)))};return o.attrs=function(n){return lr(e,r,M(M({},t),{attrs:Array.prototype.concat(t.attrs,n).filter(Boolean)}))},o.withConfig=function(n){return lr(e,r,M(M({},t),n))},o}var it=function(e){return lr(bo,e)},ve=it;er.forEach(function(e){ve[e]=it(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
62
62
|
Perhaps you're looking to import 'styled-components/native'?
|
|
63
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var
|
|
63
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Ve="__sc-".concat(re,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Ve]||(window[Ve]=0),window[Ve]===1&&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.
|
|
64
64
|
|
|
65
|
-
See https://s-c.sh/2BAXzed for more info.`),window[
|
|
65
|
+
See https://s-c.sh/2BAXzed for more info.`),window[Ve]+=1);const ur=e=>b`
|
|
66
66
|
@media (hover: hover) {
|
|
67
67
|
&:hover:not(:disabled) {
|
|
68
68
|
${e}
|
|
@@ -74,25 +74,25 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
74
74
|
${e}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
`,
|
|
77
|
+
`,vo=(e="1rem")=>b`
|
|
78
78
|
&:not(:last-child) {
|
|
79
79
|
margin-block-end: ${e};
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`,wo=(e="1rem")=>b`
|
|
82
82
|
&:not(:first-child) {
|
|
83
83
|
margin-block-start: ${e};
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
86
|
-
${
|
|
87
|
-
${
|
|
88
|
-
`,
|
|
85
|
+
`,So=(e="1rem",r)=>b`
|
|
86
|
+
${wo(e)}
|
|
87
|
+
${vo(e)}
|
|
88
|
+
`,ko=(e="1.5rem",r)=>b`
|
|
89
89
|
--ava: ${e};
|
|
90
90
|
max-width: var(--ava);
|
|
91
91
|
min-width: var(--ava);
|
|
92
92
|
width: var(--ava);
|
|
93
93
|
height: ${"var(--ava)"};
|
|
94
94
|
max-height: var(--ava);
|
|
95
|
-
`,
|
|
95
|
+
`,xo=b`
|
|
96
96
|
path,
|
|
97
97
|
rect,
|
|
98
98
|
circle {
|
|
@@ -106,27 +106,27 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
106
106
|
transition: 0.2s stroke;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
`;
|
|
109
|
+
`;b`
|
|
110
110
|
position: absolute;
|
|
111
111
|
top: 50%;
|
|
112
112
|
left: 50%;
|
|
113
113
|
transform: translate(-50%, -50%);
|
|
114
|
-
`,
|
|
114
|
+
`,b`
|
|
115
115
|
list-style: none;
|
|
116
116
|
margin: 0;
|
|
117
117
|
padding-inline-start: 0;
|
|
118
|
-
${
|
|
119
|
-
`;const
|
|
118
|
+
${So("0")}
|
|
119
|
+
`;const Eo=b`
|
|
120
120
|
max-width: 100%;
|
|
121
121
|
width: 100%;
|
|
122
122
|
height: 100%;
|
|
123
123
|
object-fit: contain;
|
|
124
|
-
`;
|
|
124
|
+
`;b`
|
|
125
125
|
max-width: 100%;
|
|
126
126
|
width: 100%;
|
|
127
127
|
height: 100%;
|
|
128
128
|
object-fit: cover;
|
|
129
|
-
`;const
|
|
129
|
+
`;const c={colors:{bgPrimary:"var(--bg-primary, #1677ff)",bgDefault:"var(--bg-default, #d9d9d9)",bgWhite:"var(--bg-white, #fff)",colorText:"var(--color-text, #000)",colorWhite:"var(--color-white, #fff)",colorLink:"var(--color-link, #1677ff)",brDefault:"var(--br-default, #d9d9d9)",hover:{bgPrimary:"var(--hover-bg-primary, #4096ff)",colorLink:"var(--hover-color-link, #4096ff)"},pressed:{bgPrimary:"var(--pressed-bg-primary, #0958d9)",colorLink:"var(--pressed-color-link, #0958d9)"},disabled:{bgPrimary:"var(--disabled-bg-primary, #ddd)",colorText:"var(--disabled-color-text, #818181)",colorWhite:"var(--disabled-color-white, #818181)",brDefault:"var(--disabled-br-default, #ddd)"},button:{colorClose:"var(--button-color-close, #888888)",hoverColorClose:"var(--button-hover-color-close, #ff0000)"}},typography:{button:{fontFamily:"var(--button-font-family, system-ui)",fontSize:"var(--button-font-size, 0.875rem)",fontWeight:"var(--button-font-weight, 400)"}},radius:{button:{brSmall:"var(--button-br-small, 0.25rem)"}},padding:{button:"var(--button-padding, 0.5rem 1rem)"}},we=b`
|
|
130
130
|
font-style: normal;
|
|
131
131
|
line-height: 1.5;
|
|
132
132
|
width: fit-content;
|
|
@@ -137,10 +137,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
137
137
|
user-select: none;
|
|
138
138
|
transition: 0.2s color, 0.2s background-color, 0.2s border-color;
|
|
139
139
|
|
|
140
|
-
${
|
|
140
|
+
${xo}
|
|
141
141
|
|
|
142
142
|
svg {
|
|
143
|
-
${
|
|
143
|
+
${Eo}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
&:focus-visible {
|
|
@@ -148,73 +148,123 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
&:disabled {
|
|
151
|
-
background-color: ${
|
|
152
|
-
color: ${
|
|
153
|
-
border-color: ${
|
|
151
|
+
background-color: ${c.colors.disabled.bgPrimary};
|
|
152
|
+
color: ${c.colors.disabled.colorWhite};
|
|
153
|
+
border-color: ${c.colors.disabled.brDefault};
|
|
154
154
|
pointer-events: none;
|
|
155
155
|
}
|
|
156
|
-
`,
|
|
157
|
-
font-family: ${
|
|
158
|
-
font-size: ${
|
|
159
|
-
font-weight: ${
|
|
156
|
+
`,ct=b`
|
|
157
|
+
font-family: ${c.typography.button.fontFamily};
|
|
158
|
+
font-size: ${c.typography.button.fontSize};
|
|
159
|
+
font-weight: ${c.typography.button.fontWeight};
|
|
160
160
|
text-align: center;
|
|
161
161
|
display: flex;
|
|
162
162
|
align-items: center;
|
|
163
163
|
justify-content: center;
|
|
164
164
|
gap: 0.625rem;
|
|
165
|
-
`,
|
|
166
|
-
${
|
|
167
|
-
${
|
|
168
|
-
background-color: var(--background-color, ${
|
|
169
|
-
color: var(--color, ${
|
|
170
|
-
border-color: var(--border-color, ${
|
|
171
|
-
border-radius: var(--border-radius, ${
|
|
165
|
+
`,dr=b`
|
|
166
|
+
${ct}
|
|
167
|
+
${we}
|
|
168
|
+
background-color: var(--background-color, ${c.colors.bgPrimary});
|
|
169
|
+
color: var(--color, ${c.colors.colorWhite});
|
|
170
|
+
border-color: var(--border-color, ${c.colors.bgPrimary});
|
|
171
|
+
border-radius: var(--border-radius, ${c.radius.button.brSmall});
|
|
172
172
|
padding: 0.5rem 1rem;
|
|
173
173
|
|
|
174
|
-
${
|
|
174
|
+
${ur(b`
|
|
175
175
|
background-color: var(
|
|
176
176
|
--hover-background-color,
|
|
177
|
-
${
|
|
177
|
+
${c.colors.hover.bgPrimary}
|
|
178
178
|
);
|
|
179
|
-
color: var(--hover-color, ${
|
|
180
|
-
border-color: var(--hover-border-color, ${
|
|
179
|
+
color: var(--hover-color, ${c.colors.colorWhite});
|
|
180
|
+
border-color: var(--hover-border-color, ${c.colors.hover.bgPrimary});
|
|
181
181
|
`)}
|
|
182
182
|
|
|
183
183
|
&:active:not(:disabled) {
|
|
184
184
|
background-color: var(
|
|
185
185
|
--pressed-background-color,
|
|
186
|
-
${
|
|
186
|
+
${c.colors.pressed.bgPrimary}
|
|
187
187
|
);
|
|
188
|
-
color: var(--pressed-color, ${
|
|
188
|
+
color: var(--pressed-color, ${c.colors.colorWhite});
|
|
189
189
|
border-color: var(
|
|
190
190
|
--pressed-border-color,
|
|
191
|
-
${
|
|
191
|
+
${c.colors.pressed.bgPrimary}
|
|
192
192
|
);
|
|
193
193
|
}
|
|
194
|
-
|
|
195
|
-
${
|
|
196
|
-
${
|
|
197
|
-
--background-color: ${
|
|
198
|
-
--color: ${
|
|
199
|
-
--border-color: ${
|
|
200
|
-
--border-radius: ${
|
|
201
|
-
--hover-background-color: ${
|
|
202
|
-
--hover-color: ${
|
|
203
|
-
--hover-border-color: ${
|
|
204
|
-
--pressed-background-color: ${
|
|
205
|
-
--pressed-color: ${
|
|
206
|
-
--pressed-border-color: ${
|
|
207
|
-
|
|
208
|
-
${
|
|
209
|
-
${
|
|
194
|
+
`,pr=b`
|
|
195
|
+
${we}
|
|
196
|
+
${dr}
|
|
197
|
+
--background-color: ${c.colors.bgPrimary};
|
|
198
|
+
--color: ${c.colors.colorWhite};
|
|
199
|
+
--border-color: ${c.colors.bgPrimary};
|
|
200
|
+
--border-radius: ${c.radius.button.brSmall};
|
|
201
|
+
--hover-background-color: ${c.colors.hover.bgPrimary};
|
|
202
|
+
--hover-color: ${c.colors.colorWhite};
|
|
203
|
+
--hover-border-color: ${c.colors.hover.bgPrimary};
|
|
204
|
+
--pressed-background-color: ${c.colors.pressed.bgPrimary};
|
|
205
|
+
--pressed-color: ${c.colors.colorWhite};
|
|
206
|
+
--pressed-border-color: ${c.colors.pressed.bgPrimary};
|
|
207
|
+
`,$o=ve.button`
|
|
208
|
+
${we}
|
|
209
|
+
${ct}
|
|
210
|
+
|
|
211
|
+
// Общие стили для всех кнопок
|
|
212
|
+
border-radius: ${c.radius.button.brSmall};
|
|
213
|
+
padding: ${c.padding.button};
|
|
214
|
+
`,Po=b`
|
|
215
|
+
${dr}
|
|
216
|
+
--background-color: transparent;
|
|
217
|
+
--color: ${c.colors.colorText};
|
|
218
|
+
--border-color: ${c.colors.bgPrimary};
|
|
219
|
+
--border-radius: ${c.radius.button.brSmall};
|
|
220
|
+
--hover-background-color: ${c.colors.hover.bgPrimary};
|
|
221
|
+
--hover-color: ${c.colors.colorWhite};
|
|
222
|
+
--hover-border-color: ${c.colors.hover.bgPrimary};
|
|
223
|
+
--pressed-background-color: ${c.colors.pressed.bgPrimary};
|
|
224
|
+
--pressed-color: ${c.colors.colorWhite};
|
|
225
|
+
--pressed-border-color: ${c.colors.pressed.bgPrimary};
|
|
226
|
+
`,_o=b`
|
|
227
|
+
${pr}
|
|
228
|
+
`,Ro=b`
|
|
229
|
+
color: var(--color, ${c.colors.colorLink});
|
|
230
|
+
border: none;
|
|
231
|
+
border-radius: 0;
|
|
232
|
+
padding: 0;
|
|
233
|
+
|
|
234
|
+
${ur(b`
|
|
235
|
+
color: var(--hover-color, ${c.colors.hover.colorLink});
|
|
236
|
+
`)}
|
|
237
|
+
|
|
238
|
+
&:active:not(:disabled) {
|
|
239
|
+
color: var(--pressed-color, ${c.colors.pressed.colorLink});
|
|
240
|
+
}
|
|
241
|
+
`,Co=b`
|
|
242
|
+
${we}
|
|
243
|
+
`,To=b`
|
|
244
|
+
${dr}
|
|
245
|
+
--background-color: ${c.colors.bgWhite};
|
|
246
|
+
--color: ${c.colors.colorText};
|
|
247
|
+
--border-color: ${c.colors.bgWhite};
|
|
248
|
+
--border-radius: ${c.radius.button.brSmall};
|
|
249
|
+
--hover-background-color: ${c.colors.hover.bgPrimary};
|
|
250
|
+
--hover-color: ${c.colors.colorWhite};
|
|
251
|
+
--hover-border-color: ${c.colors.hover.bgPrimary};
|
|
252
|
+
--pressed-background-color: ${c.colors.pressed.bgPrimary};
|
|
253
|
+
--pressed-color: ${c.colors.colorWhite};
|
|
254
|
+
--pressed-border-color: ${c.colors.pressed.bgPrimary};
|
|
255
|
+
`,Ao=ve($o)`
|
|
256
|
+
${({button:e})=>{switch(e){case"border":return Po;case"link":return Ro;case"white":return To;case"reset":return Co;default:return _o}}}
|
|
257
|
+
`,Oo=({children:e,disabled:r=!1,type:t="button",button:o="default",className:n="",...a})=>Q.jsx(Ao,{type:t,disabled:r,button:o,className:n,"aria-disabled":r,...a,children:e}),No=ve.button`
|
|
258
|
+
${we}
|
|
259
|
+
${ko("1.875rem")}
|
|
210
260
|
|
|
211
261
|
font-size: 0;
|
|
212
262
|
position: relative;
|
|
213
263
|
border-radius: 0.25rem;
|
|
214
|
-
color: ${e=>e.disabled?
|
|
264
|
+
color: ${e=>e.disabled?c.colors.disabled.colorText:e.color||c.colors.button.colorClose};
|
|
215
265
|
|
|
216
|
-
${
|
|
217
|
-
color: ${e=>e.disabled?
|
|
266
|
+
${ur(b`
|
|
267
|
+
color: ${e=>e.disabled?c.colors.disabled.colorText:e.hoverColor||c.colors.button.hoverColorClose};
|
|
218
268
|
`)}
|
|
219
269
|
|
|
220
270
|
&:before {
|
|
@@ -232,4 +282,89 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
232
282
|
stroke: currentColor;
|
|
233
283
|
stroke-width: 0.125rem;
|
|
234
284
|
}
|
|
235
|
-
`,
|
|
285
|
+
`,Io=({disabled:e=!1,className:r="",...t})=>Q.jsxs(No,{type:"button",className:r,disabled:e,"aria-label":"Close",...t,children:[Q.jsx("span",{style:{display:"none"},children:"Close"}),Q.jsxs("svg",{viewBox:"0 0 24 25",children:[Q.jsx("path",{d:"M6.34314 18.1567L17.6568 6.84303"}),Q.jsx("path",{d:"M17.6569 18.1567L6.34315 6.84303"})]})]}),fr=b`
|
|
286
|
+
border: 1px solid ${c.colors.brDefault};
|
|
287
|
+
padding: 8px 12px;
|
|
288
|
+
border-radius: 4px;
|
|
289
|
+
width: 100%;
|
|
290
|
+
|
|
291
|
+
&::placeholder {
|
|
292
|
+
color: #999;
|
|
293
|
+
}
|
|
294
|
+
`,jo=b`
|
|
295
|
+
${pr}
|
|
296
|
+
display: inline-block;
|
|
297
|
+
text-align: center;
|
|
298
|
+
`,Do=b`
|
|
299
|
+
margin-right: 8px;
|
|
300
|
+
transform: scale(1.2);
|
|
301
|
+
|
|
302
|
+
&:checked {
|
|
303
|
+
accent-color: ${c.colors.bgPrimary};
|
|
304
|
+
}
|
|
305
|
+
`,Mo=b`
|
|
306
|
+
width: 50px;
|
|
307
|
+
height: 30px;
|
|
308
|
+
padding: 2px;
|
|
309
|
+
border: 1px solid ${c.colors.brDefault};
|
|
310
|
+
border-radius: 4px;
|
|
311
|
+
cursor: pointer;
|
|
312
|
+
`,zo=b`
|
|
313
|
+
padding: 8px;
|
|
314
|
+
border: 1px dashed ${c.colors.brDefault};
|
|
315
|
+
border-radius: 4px;
|
|
316
|
+
width: 100%;
|
|
317
|
+
cursor: pointer;
|
|
318
|
+
|
|
319
|
+
&::file-selector-button {
|
|
320
|
+
${pr}
|
|
321
|
+
margin-right: 12px;
|
|
322
|
+
}
|
|
323
|
+
`,Lo=b`
|
|
324
|
+
${fr}
|
|
325
|
+
|
|
326
|
+
&::-webkit-inner-spin-button,
|
|
327
|
+
&::-webkit-outer-spin-button {
|
|
328
|
+
margin: 0;
|
|
329
|
+
}
|
|
330
|
+
`,Wo=b`
|
|
331
|
+
width: 100%;
|
|
332
|
+
height: 6px;
|
|
333
|
+
background: ${c.colors.bgDefault};
|
|
334
|
+
border-radius: 3px;
|
|
335
|
+
outline: none;
|
|
336
|
+
|
|
337
|
+
&::-webkit-slider-thumb {
|
|
338
|
+
width: 18px;
|
|
339
|
+
height: 18px;
|
|
340
|
+
border-radius: 50%;
|
|
341
|
+
background: ${c.colors.bgPrimary};
|
|
342
|
+
cursor: pointer;
|
|
343
|
+
appearance: none;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
&::-moz-range-thumb {
|
|
347
|
+
width: 18px;
|
|
348
|
+
height: 18px;
|
|
349
|
+
border-radius: 50%;
|
|
350
|
+
background: ${c.colors.bgPrimary};
|
|
351
|
+
cursor: pointer;
|
|
352
|
+
border: none;
|
|
353
|
+
}
|
|
354
|
+
`,Fo=b`
|
|
355
|
+
padding: 10px 20px;
|
|
356
|
+
border: none;
|
|
357
|
+
border-radius: 4px;
|
|
358
|
+
cursor: pointer;
|
|
359
|
+
font-weight: bold;
|
|
360
|
+
background-color: ${c.colors.bgPrimary};
|
|
361
|
+
color: ${c.colors.colorWhite};
|
|
362
|
+
|
|
363
|
+
&:hover:not(:disabled) {
|
|
364
|
+
background-color: ${c.colors.hover.bgPrimary};
|
|
365
|
+
}
|
|
366
|
+
`,Yo=b`
|
|
367
|
+
display: none;
|
|
368
|
+
`,Bo=e=>{switch(e){case"button":case"submit":case"reset":return jo;case"checkbox":case"radio":return Do;case"color":return Mo;case"date":case"datetime-local":case"month":case"time":case"week":return fr;case"file":return zo;case"image":return Fo;case"number":return Lo;case"range":return Wo;case"hidden":return Yo;default:return fr}},Vo=ve.input`
|
|
369
|
+
${({type:e})=>Bo(e)}
|
|
370
|
+
`,Go=({id:e,type:r,name:t,className:o,disabled:n,required:a,readOnly:i,onBlur:u,onFocus:l,onClick:v,...g})=>Q.jsx(Vo,{type:r,className:o,name:t,id:e,disabled:n,required:a,readOnly:i,onBlur:u,onFocus:l,onClick:v,...g});U.Button=Oo,U.ButtonClose=Io,U.Input=Go,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})}));
|