kylin-ui-component
Version:
A React UI library for some developers to develop quickly
73 lines (54 loc) • 68.3 kB
JavaScript
(function(_e,I){typeof exports=="object"&&typeof module<"u"?I(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],I):(_e=typeof globalThis<"u"?globalThis:_e||self,I(_e.Image={},_e.React))})(this,function(_e,I){"use strict";function Kr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Bt=Kr(I);var gt={exports:{}},He={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ut;function Jr(){if(Ut)return He;Ut=1;var e=I,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(f,l,d){var h,m={},g=null,b=null;d!==void 0&&(g=""+d),l.key!==void 0&&(g=""+l.key),l.ref!==void 0&&(b=l.ref);for(h in l)n.call(l,h)&&!a.hasOwnProperty(h)&&(m[h]=l[h]);if(f&&f.defaultProps)for(h in l=f.defaultProps,l)m[h]===void 0&&(m[h]=l[h]);return{$$typeof:t,type:f,key:g,ref:b,props:m,_owner:i.current}}return He.Fragment=r,He.jsx=s,He.jsxs=s,He}var Xe={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Gt;function Zr(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&function(){var e=I,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),f=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),R=Symbol.iterator,_="@@iterator";function u(o){if(o===null||typeof o!="object")return null;var c=R&&o[R]||o[_];return typeof c=="function"?c:null}var S=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(o){{for(var c=arguments.length,p=new Array(c>1?c-1:0),C=1;C<c;C++)p[C-1]=arguments[C];L("error",o,p)}}function L(o,c,p){{var C=S.ReactDebugCurrentFrame,N=C.getStackAddendum();N!==""&&(c+="%s",p=p.concat([N]));var M=p.map(function(A){return String(A)});M.unshift("Warning: "+c),Function.prototype.apply.call(console[o],console,M)}}var P=!1,y=!1,T=!1,v=!1,z=!1,U;U=Symbol.for("react.module.reference");function re(o){return!!(typeof o=="string"||typeof o=="function"||o===n||o===a||z||o===i||o===d||o===h||v||o===b||P||y||T||typeof o=="object"&&o!==null&&(o.$$typeof===g||o.$$typeof===m||o.$$typeof===s||o.$$typeof===f||o.$$typeof===l||o.$$typeof===U||o.getModuleId!==void 0))}function Ze(o,c,p){var C=o.displayName;if(C)return C;var N=c.displayName||c.name||"";return N!==""?p+"("+N+")":p}function We(o){return o.displayName||"Context"}function Z(o){if(o==null)return null;if(typeof o.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case f:var c=o;return We(c)+".Consumer";case s:var p=o;return We(p._context)+".Provider";case l:return Ze(o,o.render,"ForwardRef");case m:var C=o.displayName||null;return C!==null?C:Z(o.type)||"Memo";case g:{var N=o,M=N._payload,A=N._init;try{return Z(A(M))}catch{return null}}}return null}var se=Object.assign,de=0,Be,Ue,Te,ge,Q,ve,pe;function G(){}G.__reactDisabledLog=!0;function Oe(){{if(de===0){Be=console.log,Ue=console.info,Te=console.warn,ge=console.error,Q=console.group,ve=console.groupCollapsed,pe=console.groupEnd;var o={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}de++}}function Ae(){{if(de--,de===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},o,{value:Be}),info:se({},o,{value:Ue}),warn:se({},o,{value:Te}),error:se({},o,{value:ge}),group:se({},o,{value:Q}),groupCollapsed:se({},o,{value:ve}),groupEnd:se({},o,{value:pe})})}de<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=S.ReactCurrentDispatcher,ce;function ue(o,c,p){{if(ce===void 0)try{throw Error()}catch(N){var C=N.stack.trim().match(/\n( *(at )?)/);ce=C&&C[1]||""}return`
`+ce+o}}var ne=!1,K;{var Ie=typeof WeakMap=="function"?WeakMap:Map;K=new Ie}function ye(o,c){if(!o||ne)return"";{var p=K.get(o);if(p!==void 0)return p}var C;ne=!0;var N=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=he.current,he.current=null,Oe();try{if(c){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(we){C=we}Reflect.construct(o,[],A)}else{try{A.call()}catch(we){C=we}o.call(A.prototype)}}else{try{throw Error()}catch(we){C=we}o()}}catch(we){if(we&&C&&typeof we.stack=="string"){for(var O=we.stack.split(`
`),H=C.stack.split(`
`),Y=O.length-1,W=H.length-1;Y>=1&&W>=0&&O[Y]!==H[W];)W--;for(;Y>=1&&W>=0;Y--,W--)if(O[Y]!==H[W]){if(Y!==1||W!==1)do if(Y--,W--,W<0||O[Y]!==H[W]){var ie=`
`+O[Y].replace(" at new "," at ");return o.displayName&&ie.includes("<anonymous>")&&(ie=ie.replace("<anonymous>",o.displayName)),typeof o=="function"&&K.set(o,ie),ie}while(Y>=1&&W>=0);break}}}finally{ne=!1,he.current=M,Ae(),Error.prepareStackTrace=N}var qe=o?o.displayName||o.name:"",Xr=qe?ue(qe):"";return typeof o=="function"&&K.set(o,Xr),Xr}function oe(o,c,p){return ye(o,!1)}function w(o){var c=o.prototype;return!!(c&&c.isReactComponent)}function Ee(o,c,p){if(o==null)return"";if(typeof o=="function")return ye(o,w(o));if(typeof o=="string")return ue(o);switch(o){case d:return ue("Suspense");case h:return ue("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case l:return oe(o.render);case m:return Ee(o.type,c,p);case g:{var C=o,N=C._payload,M=C._init;try{return Ee(M(N),c,p)}catch{}}}return""}var be=Object.prototype.hasOwnProperty,Qe={},Lr=S.ReactDebugCurrentFrame;function mt(o){if(o){var c=o._owner,p=Ee(o.type,o._source,c?c.type:null);Lr.setExtraStackFrame(p)}else Lr.setExtraStackFrame(null)}function Ho(o,c,p,C,N){{var M=Function.call.bind(be);for(var A in o)if(M(o,A)){var O=void 0;try{if(typeof o[A]!="function"){var H=Error((C||"React class")+": "+p+" type `"+A+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[A]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw H.name="Invariant Violation",H}O=o[A](c,A,C,p,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Y){O=Y}O&&!(O instanceof Error)&&(mt(N),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",p,A,typeof O),mt(null)),O instanceof Error&&!(O.message in Qe)&&(Qe[O.message]=!0,mt(N),E("Failed %s type: %s",p,O.message),mt(null))}}}var Xo=Array.isArray;function Ft(o){return Xo(o)}function Ko(o){{var c=typeof Symbol=="function"&&Symbol.toStringTag,p=c&&o[Symbol.toStringTag]||o.constructor.name||"Object";return p}}function Jo(o){try{return Fr(o),!1}catch{return!0}}function Fr(o){return""+o}function zr(o){if(Jo(o))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ko(o)),Fr(o)}var et=S.ReactCurrentOwner,Zo={key:!0,ref:!0,__self:!0,__source:!0},Yr,Vr,zt;zt={};function Qo(o){if(be.call(o,"ref")){var c=Object.getOwnPropertyDescriptor(o,"ref").get;if(c&&c.isReactWarning)return!1}return o.ref!==void 0}function ei(o){if(be.call(o,"key")){var c=Object.getOwnPropertyDescriptor(o,"key").get;if(c&&c.isReactWarning)return!1}return o.key!==void 0}function ti(o,c){if(typeof o.ref=="string"&&et.current&&c&&et.current.stateNode!==c){var p=Z(et.current.type);zt[p]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Z(et.current.type),o.ref),zt[p]=!0)}}function ri(o,c){{var p=function(){Yr||(Yr=!0,E("%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://reactjs.org/link/special-props)",c))};p.isReactWarning=!0,Object.defineProperty(o,"key",{get:p,configurable:!0})}}function ni(o,c){{var p=function(){Vr||(Vr=!0,E("%s: `ref` 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://reactjs.org/link/special-props)",c))};p.isReactWarning=!0,Object.defineProperty(o,"ref",{get:p,configurable:!0})}}var oi=function(o,c,p,C,N,M,A){var O={$$typeof:t,type:o,key:c,ref:p,props:A,_owner:M};return O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(O,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(O,"_source",{configurable:!1,enumerable:!1,writable:!1,value:N}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O};function ii(o,c,p,C,N){{var M,A={},O=null,H=null;p!==void 0&&(zr(p),O=""+p),ei(c)&&(zr(c.key),O=""+c.key),Qo(c)&&(H=c.ref,ti(c,N));for(M in c)be.call(c,M)&&!Zo.hasOwnProperty(M)&&(A[M]=c[M]);if(o&&o.defaultProps){var Y=o.defaultProps;for(M in Y)A[M]===void 0&&(A[M]=Y[M])}if(O||H){var W=typeof o=="function"?o.displayName||o.name||"Unknown":o;O&&ri(A,W),H&&ni(A,W)}return oi(o,O,H,N,C,et.current,A)}}var Yt=S.ReactCurrentOwner,Wr=S.ReactDebugCurrentFrame;function Ge(o){if(o){var c=o._owner,p=Ee(o.type,o._source,c?c.type:null);Wr.setExtraStackFrame(p)}else Wr.setExtraStackFrame(null)}var Vt;Vt=!1;function Wt(o){return typeof o=="object"&&o!==null&&o.$$typeof===t}function Br(){{if(Yt.current){var o=Z(Yt.current.type);if(o)return`
Check the render method of \``+o+"`."}return""}}function ai(o){{if(o!==void 0){var c=o.fileName.replace(/^.*[\\\/]/,""),p=o.lineNumber;return`
Check your code at `+c+":"+p+"."}return""}}var Ur={};function si(o){{var c=Br();if(!c){var p=typeof o=="string"?o:o.displayName||o.name;p&&(c=`
Check the top-level render call using <`+p+">.")}return c}}function Gr(o,c){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var p=si(c);if(Ur[p])return;Ur[p]=!0;var C="";o&&o._owner&&o._owner!==Yt.current&&(C=" It was passed a child from "+Z(o._owner.type)+"."),Ge(o),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',p,C),Ge(null)}}function qr(o,c){{if(typeof o!="object")return;if(Ft(o))for(var p=0;p<o.length;p++){var C=o[p];Wt(C)&&Gr(C,c)}else if(Wt(o))o._store&&(o._store.validated=!0);else if(o){var N=u(o);if(typeof N=="function"&&N!==o.entries)for(var M=N.call(o),A;!(A=M.next()).done;)Wt(A.value)&&Gr(A.value,c)}}}function ci(o){{var c=o.type;if(c==null||typeof c=="string")return;var p;if(typeof c=="function")p=c.propTypes;else if(typeof c=="object"&&(c.$$typeof===l||c.$$typeof===m))p=c.propTypes;else return;if(p){var C=Z(c);Ho(p,o.props,"prop",C,o)}else if(c.PropTypes!==void 0&&!Vt){Vt=!0;var N=Z(c);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",N||"Unknown")}typeof c.getDefaultProps=="function"&&!c.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ui(o){{for(var c=Object.keys(o.props),p=0;p<c.length;p++){var C=c[p];if(C!=="children"&&C!=="key"){Ge(o),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),Ge(null);break}}o.ref!==null&&(Ge(o),E("Invalid attribute `ref` supplied to `React.Fragment`."),Ge(null))}}function Hr(o,c,p,C,N,M){{var A=re(o);if(!A){var O="";(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(O+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var H=ai(N);H?O+=H:O+=Br();var Y;o===null?Y="null":Ft(o)?Y="array":o!==void 0&&o.$$typeof===t?(Y="<"+(Z(o.type)||"Unknown")+" />",O=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof o,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Y,O)}var W=ii(o,c,p,N,M);if(W==null)return W;if(A){var ie=c.children;if(ie!==void 0)if(C)if(Ft(ie)){for(var qe=0;qe<ie.length;qe++)qr(ie[qe],o);Object.freeze&&Object.freeze(ie)}else E("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 qr(ie,o)}return o===n?ui(W):ci(W),W}}function li(o,c,p){return Hr(o,c,p,!0)}function fi(o,c,p){return Hr(o,c,p,!1)}var di=fi,pi=li;Xe.Fragment=n,Xe.jsx=di,Xe.jsxs=pi}()),Xe}process.env.NODE_ENV==="production"?gt.exports=Jr():gt.exports=Zr();var vt=gt.exports;const qt=vt.Fragment,x=vt.jsx,ee=vt.jsxs;function Qr(e,t,r){var n=r||{},i=n.noTrailing,a=i===void 0?!1:i,s=n.noLeading,f=s===void 0?!1:s,l=n.debounceMode,d=l===void 0?void 0:l,h,m=!1,g=0;function b(){h&&clearTimeout(h)}function R(u){var S=u||{},E=S.upcomingOnly,L=E===void 0?!1:E;b(),m=!L}function _(){for(var u=arguments.length,S=new Array(u),E=0;E<u;E++)S[E]=arguments[E];var L=this,P=Date.now()-g;if(m)return;function y(){g=Date.now(),t.apply(L,S)}function T(){h=void 0}!f&&d&&!h&&y(),b(),d===void 0&&P>e?f?(g=Date.now(),a||(h=setTimeout(d?T:y,e))):y():a!==!0&&(h=setTimeout(d?T:y,d===void 0?e-P:e))}return _.cancel=R,_}function en(e,t,r){var n=r||{},i=n.atBegin,a=i===void 0?!1:i;return Qr(e,t,{debounceMode:a!==!1})}function tn({loading:e}){return e?ee("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[x("rect",{x:"0",y:"0",width:"24",height:"24",fill:"none",stroke:"none"}),ee("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",children:[x("path",{strokeDasharray:"60",strokeDashoffset:"60",strokeOpacity:".3",d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z",children:x("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),ee("path",{strokeDasharray:"15",strokeDashoffset:"15",d:"M12 3C16.9706 3 21 7.02944 21 12",children:[x("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),x("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})]}):null}var X=function(){return X=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},X.apply(this,arguments)};function Ne(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;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))}function rn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var nn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,on=rn(function(e){return nn.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),F="-ms-",Ke="-moz-",$="-webkit-",Ht="comm",tt="rule",yt="decl",an="@import",Xt="@keyframes",sn="@layer",cn=Math.abs,bt=String.fromCharCode,wt=Object.assign;function un(e,t){return B(e,0)^45?(((t<<2^B(e,0))<<2^B(e,1))<<2^B(e,2))<<2^B(e,3):0}function Kt(e){return e.trim()}function me(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,r){return e.replace(t,r)}function rt(e,t){return e.indexOf(t)}function B(e,t){return e.charCodeAt(t)|0}function $e(e,t,r){return e.slice(t,r)}function le(e){return e.length}function Jt(e){return e.length}function Je(e,t){return t.push(e),e}function ln(e,t){return e.map(t).join("")}function Zt(e,t){return e.filter(function(r){return!me(r,t)})}var nt=1,De=1,Qt=0,te=0,V=0,je="";function ot(e,t,r,n,i,a,s,f){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:nt,column:De,length:s,return:"",siblings:f}}function Se(e,t){return wt(ot("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Me(e){for(;e.root;)e=Se(e.root,{children:[e]});Je(e,e.siblings)}function fn(){return V}function dn(){return V=te>0?B(je,--te):0,De--,V===10&&(De=1,nt--),V}function ae(){return V=te<Qt?B(je,te++):0,De++,V===10&&(De=1,nt++),V}function Ce(){return B(je,te)}function it(){return te}function at(e,t){return $e(je,e,t)}function St(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 pn(e){return nt=De=1,Qt=le(je=e),te=0,[]}function hn(e){return je="",e}function Et(e){return Kt(at(te-1,_t(e===91?e+2:e===40?e+1:e)))}function mn(e){for(;(V=Ce())&&V<33;)ae();return St(e)>2||St(V)>3?"":" "}function gn(e,t){for(;--t&&ae()&&!(V<48||V>102||V>57&&V<65||V>70&&V<97););return at(e,it()+(t<6&&Ce()==32&&ae()==32))}function _t(e){for(;ae();)switch(V){case e:return te;case 34:case 39:e!==34&&e!==39&&_t(V);break;case 40:e===41&&_t(e);break;case 92:ae();break}return te}function vn(e,t){for(;ae()&&e+V!==47+10;)if(e+V===42+42&&Ce()===47)break;return"/*"+at(t,te-1)+"*"+bt(e===47?e:ae())}function yn(e){for(;!St(Ce());)ae();return at(e,te)}function bn(e){return hn(st("",null,null,null,[""],e=pn(e),0,[0],e))}function st(e,t,r,n,i,a,s,f,l){for(var d=0,h=0,m=s,g=0,b=0,R=0,_=1,u=1,S=1,E=0,L="",P=i,y=a,T=n,v=L;u;)switch(R=E,E=ae()){case 40:if(R!=108&&B(v,m-1)==58){rt(v+=k(Et(E),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:v+=Et(E);break;case 9:case 10:case 13:case 32:v+=mn(R);break;case 92:v+=gn(it()-1,7);continue;case 47:switch(Ce()){case 42:case 47:Je(wn(vn(ae(),it()),t,r,l),l);break;default:v+="/"}break;case 123*_:f[d++]=le(v)*S;case 125*_:case 59:case 0:switch(E){case 0:case 125:u=0;case 59+h:S==-1&&(v=k(v,/\f/g,"")),b>0&&le(v)-m&&Je(b>32?tr(v+";",n,r,m-1,l):tr(k(v," ","")+";",n,r,m-2,l),l);break;case 59:v+=";";default:if(Je(T=er(v,t,r,d,h,i,f,L,P=[],y=[],m,a),a),E===123)if(h===0)st(v,t,T,T,P,a,m,f,y);else switch(g===99&&B(v,3)===110?100:g){case 100:case 108:case 109:case 115:st(e,T,T,n&&Je(er(e,T,T,0,0,i,f,L,i,P=[],m,y),y),i,y,m,f,n?P:y);break;default:st(v,T,T,T,[""],y,0,f,y)}}d=h=b=0,_=S=1,L=v="",m=s;break;case 58:m=1+le(v),b=R;default:if(_<1){if(E==123)--_;else if(E==125&&_++==0&&dn()==125)continue}switch(v+=bt(E),E*_){case 38:S=h>0?1:(v+="\f",-1);break;case 44:f[d++]=(le(v)-1)*S,S=1;break;case 64:Ce()===45&&(v+=Et(ae())),g=Ce(),h=m=le(L=v+=yn(it())),E++;break;case 45:R===45&&le(v)==2&&(_=0)}}return a}function er(e,t,r,n,i,a,s,f,l,d,h,m){for(var g=i-1,b=i===0?a:[""],R=Jt(b),_=0,u=0,S=0;_<n;++_)for(var E=0,L=$e(e,g+1,g=cn(u=s[_])),P=e;E<R;++E)(P=Kt(u>0?b[E]+" "+L:k(L,/&\f/g,b[E])))&&(l[S++]=P);return ot(e,t,r,i===0?tt:f,l,d,h,m)}function wn(e,t,r,n){return ot(e,t,r,Ht,bt(fn()),$e(e,2,-2),0,n)}function tr(e,t,r,n,i){return ot(e,t,r,yt,$e(e,0,n),$e(e,n+1,-1),n,i)}function rr(e,t,r){switch(un(e,t)){case 5103:return $+"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 $+e+e;case 4789:return Ke+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $+e+Ke+e+F+e+e;case 5936:switch(B(e,t+11)){case 114:return $+e+F+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+F+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+F+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return $+e+F+e+e;case 6165:return $+e+F+"flex-"+e+e;case 5187:return $+e+k(e,/(\w+).+(:[^]+)/,$+"box-$1$2"+F+"flex-$1$2")+e;case 5443:return $+e+F+"flex-item-"+k(e,/flex-|-self/g,"")+(me(e,/flex-|baseline/)?"":F+"grid-row-"+k(e,/flex-|-self/g,""))+e;case 4675:return $+e+F+"flex-line-pack"+k(e,/align-content|flex-|-self/g,"")+e;case 5548:return $+e+F+k(e,"shrink","negative")+e;case 5292:return $+e+F+k(e,"basis","preferred-size")+e;case 6060:return $+"box-"+k(e,"-grow","")+$+e+F+k(e,"grow","positive")+e;case 4554:return $+k(e,/([^-])(transform)/g,"$1"+$+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,$+"$1"),/(image-set)/,$+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,$+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,$+"box-pack:$3"+F+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$+e+e;case 4200:if(!me(e,/flex-|baseline/))return F+"grid-column-align"+$e(e,t)+e;break;case 2592:case 3360:return F+k(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,i){return t=i,me(n.props,/grid-\w+-end/)})?~rt(e+(r=r[t].value),"span")?e:F+k(e,"-start","")+e+F+"grid-row-span:"+(~rt(r,"span")?me(r,/\d+/):+me(r,/\d+/)-+me(e,/\d+/))+";":F+k(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return me(n.props,/grid-\w+-start/)})?e:F+k(k(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,$+"$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(le(e)-1-t>6)switch(B(e,t+1)){case 109:if(B(e,t+4)!==45)break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+Ke+(B(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rt(e,"stretch")?rr(k(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return k(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,i,a,s,f,l,d){return F+i+":"+a+d+(s?F+i+"-span:"+(f?l:+l-+a)+d:"")+e});case 4949:if(B(e,t+6)===121)return k(e,":",":"+$)+e;break;case 6444:switch(B(e,B(e,14)===45?18:11)){case 120:return k(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+$+(B(e,14)===45?"inline-":"")+"box$3$1"+$+"$2$3$1"+F+"$2box$3")+e;case 100:return k(e,":",":"+F)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return k(e,"scroll-","scroll-snap-")+e}return e}function ct(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Sn(e,t,r,n){switch(e.type){case sn:if(e.children.length)break;case an:case yt:return e.return=e.return||e.value;case Ht:return"";case Xt:return e.return=e.value+"{"+ct(e.children,n)+"}";case tt:if(!le(e.value=e.props.join(",")))return""}return le(r=ct(e.children,n))?e.return=e.value+"{"+r+"}":""}function En(e){var t=Jt(e);return function(r,n,i,a){for(var s="",f=0;f<t;f++)s+=e[f](r,n,i,a)||"";return s}}function _n(e){return function(t){t.root||(t=t.return)&&e(t)}}function Cn(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case yt:e.return=rr(e.value,e.length,r);return;case Xt:return ct([Se(e,{value:k(e.value,"@","@"+$)})],n);case tt:if(e.length)return ln(r=e.props,function(i){switch(me(i,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Me(Se(e,{props:[k(i,/:(read-\w+)/,":"+Ke+"$1")]})),Me(Se(e,{props:[i]})),wt(e,{props:Zt(r,n)});break;case"::placeholder":Me(Se(e,{props:[k(i,/:(plac\w+)/,":"+$+"input-$1")]})),Me(Se(e,{props:[k(i,/:(plac\w+)/,":"+Ke+"$1")]})),Me(Se(e,{props:[k(i,/:(plac\w+)/,F+"input-$1")]})),Me(Se(e,{props:[i]})),wt(e,{props:Zt(r,n)});break}return""})}}var xn={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},xe=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ct=typeof window<"u"&&"HTMLElement"in window,Rn=!!(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"),nr=/invalid hook call/i,ut=new Set,kn=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
`)+`You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component.`,i=console.error;try{var a=!0;console.error=function(s){for(var f=[],l=1;l<arguments.length;l++)f[l-1]=arguments[l];nr.test(s)?(a=!1,ut.delete(n)):i.apply(void 0,Ne([s],f,!1))},I.useRef(),a&&!ut.has(n)&&(console.warn(n),ut.add(n))}catch(s){nr.test(s.message)&&ut.delete(n)}finally{console.error=i}}},xt=Object.freeze([]),Le=Object.freeze({});function Pn(e,t,r){return r===void 0&&(r=Le),e.theme!==r.theme&&e.theme||t||r.theme}var or=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","head","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","title","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"]),Tn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,On=/(^-|-$)/g;function ir(e){return e.replace(Tn,"-").replace(On,"")}var An=/(a)(d)/gi,ar=function(e){return String.fromCharCode(e+(e>25?39:97))};function Rt(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=ar(t%52)+r;return(ar(t%52)+r).replace(An,"$1-$2")}var kt,Re=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},sr=function(e){return Re(5381,e)};function In(e){return Rt(sr(e)>>>0)}function cr(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Pt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var ur=typeof Symbol=="function"&&Symbol.for,lr=ur?Symbol.for("react.memo"):60115,Nn=ur?Symbol.for("react.forward_ref"):60112,$n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Dn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},fr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jn=((kt={})[Nn]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},kt[lr]=fr,kt);function dr(e){return("type"in(t=e)&&t.type.$$typeof)===lr?fr:"$$typeof"in e?jn[e.$$typeof]:$n;var t}var Mn=Object.defineProperty,Ln=Object.getOwnPropertyNames,pr=Object.getOwnPropertySymbols,Fn=Object.getOwnPropertyDescriptor,zn=Object.getPrototypeOf,hr=Object.prototype;function mr(e,t,r){if(typeof t!="string"){if(hr){var n=zn(t);n&&n!==hr&&mr(e,n,r)}var i=Ln(t);pr&&(i=i.concat(pr(t)));for(var a=dr(e),s=dr(t),f=0;f<i.length;++f){var l=i[f];if(!(l in Dn||r&&r[l]||s&&l in s||a&&l in a)){var d=Fn(t,l);try{Mn(e,l,d)}catch{}}}}return e}function Fe(e){return typeof e=="function"}function Tt(e){return typeof e=="object"&&"styledComponentId"in e}function ke(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function gr(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function ze(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ot(e,t,r){if(r===void 0&&(r=!1),!r&&!ze(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Ot(e[n],t[n]);else if(ze(t))for(var n in t)e[n]=Ot(e[n],t[n]);return e}function At(e,t){Object.defineProperty(e,"toString",{value:t})}var Yn=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
`,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.
- Are you trying to reuse it across renders?
- Are you accidentally calling collectStyles twice?
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
- Does this error occur on the client and is your target falsy?
- Does this error occur on the server and is the sheet falsy?
`,5:`The clone method cannot be used on the client!
- Are you running in a client-like environment on the server?
- Are you trying to run SSR on the client?
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
- Are you using a custom target that isn't mounted?
- Does your document not have a valid head element?
- Have you accidentally removed a style tag manually?
`,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.
`,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
`,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.
`,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.
`,14:`ThemeProvider: "theme" prop is required.
`,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.
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
as for instance in your render method then you may be running into this limitation.
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
Has styled-components' style tag been unmounted or altered by another script?
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Vn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],i=1,a=e.length;i<a;i+=1)n.push(e[i]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Ye(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(Vn.apply(void 0,Ne([Yn[e]],t,!1)).trim())}var Wn=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,i=n.length,a=i;t>=a;)if((a<<=1)<0)throw Ye(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var s=i;s<a;s++)this.groupSizes[s]=0}for(var f=this.indexOfGroup(t+1),l=(s=0,r.length);s<l;s++)this.tag.insertRule(f,r[s])&&(this.groupSizes[t]++,f++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),i=n+r;this.groupSizes[t]=0;for(var a=n;a<i;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],i=this.indexOfGroup(t),a=i+n,s=i;s<a;s++)r+="".concat(this.tag.getRule(s)).concat(`/*!sc*/
`);return r},e}(),lt=new Map,ft=new Map,It=1,dt=function(e){if(lt.has(e))return lt.get(e);for(;ft.has(It);)It++;var t=It++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>1073741824))throw Ye(16,"".concat(t));return lt.set(e,t),ft.set(t,e),t},Bn=function(e,t){lt.set(e,t),ft.set(t,e)},Un="style[".concat(xe,"][").concat("data-styled-version",'="').concat("6.0.1",'"]'),Gn=new RegExp("^".concat(xe,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),qn=function(e,t,r){for(var n,i=r.split(","),a=0,s=i.length;a<s;a++)(n=i[a])&&e.registerName(t,n)},Hn=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(`/*!sc*/
`),i=[],a=0,s=n.length;a<s;a++){var f=n[a].trim();if(f){var l=f.match(Gn);if(l){var d=0|parseInt(l[1],10),h=l[2];d!==0&&(Bn(h,d),qn(e,h,l[3]),e.getTag().insertRules(d,i)),i.length=0}else i.push(f)}}};function Xn(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var vr=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(f){return Array.from(f.querySelectorAll("style[".concat(xe,"]"))).at(-1)}(r),a=i!==void 0?i.nextSibling:null;n.setAttribute(xe,"active"),n.setAttribute("data-styled-version","6.0.1");var s=Xn();return s&&n.setAttribute("nonce",s),r.insertBefore(n,a),n},Kn=function(){function e(t){this.element=vr(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,i=0,a=n.length;i<a;i++){var s=n[i];if(s.ownerNode===r)return s}throw Ye(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}(),Jn=function(){function e(t){this.element=vr(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}(),Zn=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}(),yr=Ct,Qn={isServer:!Ct,useCSSOMInjection:!Rn},br=function(){function e(t,r,n){t===void 0&&(t=Le),r===void 0&&(r={});var i=this;this.options=X(X({},Qn),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Ct&&yr&&(yr=!1,function(a){for(var s=document.querySelectorAll(Un),f=0,l=s.length;f<l;f++){var d=s[f];d&&d.getAttribute(xe)!=="active"&&(Hn(a,d),d.parentNode&&d.parentNode.removeChild(d))}}(this)),At(this,function(){return function(a){for(var s=a.getTag(),f=s.length,l="",d=function(m){var g=function(S){return ft.get(S)}(m);if(g===void 0)return"continue";var b=a.names.get(g),R=s.getGroup(m);if(b===void 0||R.length===0)return"continue";var _="".concat(xe,".g").concat(m,'[id="').concat(g,'"]'),u="";b!==void 0&&b.forEach(function(S){S.length>0&&(u+="".concat(S,","))}),l+="".concat(R).concat(_,'{content:"').concat(u,'"}').concat(`/*!sc*/
`)},h=0;h<f;h++)d(h);return l}(i)})}return e.registerId=function(t){return dt(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(X(X({},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,i=r.target;return r.isServer?new Zn(i):n?new Kn(i):new Jn(i)}(this.options),new Wn(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(dt(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(dt(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(dt(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eo=/&/g,to=/^\s*\/\/.*$/gm;function wr(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=wr(r.children,t)),r})}function ro(e){var t,r,n,i=e===void 0?Le:e,a=i.options,s=a===void 0?Le:a,f=i.plugins,l=f===void 0?xt:f,d=function(g,b,R){return R===r||R.startsWith(r)&&R.endsWith(r)&&R.replaceAll(r,"").length>0?".".concat(t):g},h=l.slice();h.push(function(g){g.type===tt&&g.value.includes("&")&&(g.props[0]=g.props[0].replace(eo,r).replace(n,d))}),s.prefix&&h.push(Cn),h.push(Sn);var m=function(g,b,R,_){b===void 0&&(b=""),R===void 0&&(R=""),_===void 0&&(_="&"),t=_,r=b,n=new RegExp("\\".concat(r,"\\b"),"g");var u=g.replace(to,""),S=bn(R||b?"".concat(R," ").concat(b," { ").concat(u," }"):u);s.namespace&&(S=wr(S,s.namespace));var E=[];return ct(S,En(h.concat(_n(function(L){return E.push(L)})))),E};return m.hash=l.length?l.reduce(function(g,b){return b.name||Ye(15),Re(g,b.name)},5381).toString():"",m}var no=new br,Nt=ro(),Sr=I.createContext({shouldForwardProp:void 0,styleSheet:no,stylis:Nt});Sr.Consumer,I.createContext(void 0);function Er(){return I.useContext(Sr)}var _r=function(){function e(t,r){var n=this;this.inject=function(i,a){a===void 0&&(a=Nt);var s=n.name+a.hash;i.hasNameForId(n.id,s)||i.insertRules(n.id,s,a(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,At(this,function(){throw Ye(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Nt),this.name+t.hash},e}(),oo=function(e){return e>="A"&&e<="Z"};function Cr(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;oo(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var xr=function(e){return e==null||e===!1||e===""},Rr=function(e){var t,r,n=[];for(var i in e){var a=e[i];e.hasOwnProperty(i)&&!xr(a)&&(Array.isArray(a)&&a.isCss||Fe(a)?n.push("".concat(Cr(i),":"),a,";"):ze(a)?n.push.apply(n,Ne(Ne(["".concat(i," {")],Rr(a),!1),["}"],!1)):n.push("".concat(Cr(i),": ").concat((t=i,(r=a)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in xn||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Pe(e,t,r,n){if(xr(e))return[];if(Tt(e))return[".".concat(e.styledComponentId)];if(Fe(e)){if(!Fe(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof _r||ze(i)||i===null||console.error("".concat(cr(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.")),Pe(i,t,r,n)}var a;return e instanceof _r?r?(e.inject(r,n),[e.getName(n)]):[e]:ze(e)?Rr(e):Array.isArray(e)?e.flatMap(function(s){return Pe(s,t,r,n)}):[e.toString()]}function io(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Fe(r)&&!Tt(r))return!1}return!0}var ao=sr("6.0.1"),so=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&io(t),this.componentId=r,this.baseHash=Re(ao,r),this.baseStyle=n,br.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))i=ke(i,this.staticRulesId);else{var a=gr(Pe(this.rules,t,r,n)),s=Rt(Re(this.baseHash,a)>>>0);if(!r.hasNameForId(this.componentId,s)){var f=n(a,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,f)}i=ke(i,s),this.staticRulesId=s}else{for(var l=Re(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")d+=m,process.env.NODE_ENV!=="production"&&(l=Re(l,m));else if(m){var g=gr(Pe(m,t,r,n));l=Re(l,g),d+=g}}if(d){var b=Rt(l>>>0);r.hasNameForId(this.componentId,b)||r.insertRules(this.componentId,b,n(d,".".concat(b),void 0,this.componentId)),i=ke(i,b)}}return i},e}(),kr=I.createContext(void 0);kr.Consumer;var $t={},Pr=new Set;function co(e,t,r){var n=Tt(e),i=e,a=!Pt(e),s=t.attrs,f=s===void 0?xt:s,l=t.componentId,d=l===void 0?function(y,T){var v=typeof y!="string"?"sc":ir(y);$t[v]=($t[v]||0)+1;var z="".concat(v,"-").concat(In("6.0.1"+v+$t[v]));return T?"".concat(T,"-").concat(z):z}(t.displayName,t.parentComponentId):l,h=t.displayName,m=h===void 0?function(y){return Pt(y)?"styled.".concat(y):"Styled(".concat(cr(y),")")}(e):h,g=t.displayName&&t.componentId?"".concat(ir(t.displayName),"-").concat(t.componentId):t.componentId||d,b=n&&i.attrs?i.attrs.concat(f).filter(Boolean):f,R=t.shouldForwardProp;if(n&&i.shouldForwardProp){var _=i.shouldForwardProp;if(t.shouldForwardProp){var u=t.shouldForwardProp;R=function(y,T){return _(y,T)&&u(y,T)}}else R=_}var S=new so(r,g,n?i.componentStyle:void 0),E=S.isStatic&&f.length===0;function L(y,T){return function(v,z,U,re){var Ze=v.attrs,We=v.componentStyle,Z=v.defaultProps,se=v.foldedComponentIds,de=v.styledComponentId,Be=v.target,Ue=I.useContext(kr),Te=Er(),ge=v.shouldForwardProp||Te.shouldForwardProp;process.env.NODE_ENV!=="production"&&I.useDebugValue(de);var Q=function(he,ce,ue){for(var ne,K=X(X({},ce),{className:void 0,theme:ue}),Ie=0;Ie<he.length;Ie+=1){var ye=Fe(ne=he[Ie])?ne(K):ne;for(var oe in ye)K[oe]=oe==="className"?ke(K[oe],ye[oe]):oe==="style"?X(X({},K[oe]),ye[oe]):ye[oe]}return ce.className&&(K.className=ke(K.className,ce.className)),K}(Ze,z,Pn(z,Ue,Z)||Le),ve=Q.as||Be,pe={};for(var G in Q)Q[G]===void 0||G[0]==="$"||G==="as"||G==="theme"||(G==="forwardedAs"?pe.as=Q.forwardedAs:ge&&!ge(G,ve)||(pe[G]=Q[G],ge||process.env.NODE_ENV!=="development"||on(G)||Pr.has(G)||(Pr.add(G),console.warn('styled-components: it looks like an unknown prop "'.concat(G,'" 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 Oe=function(he,ce){var ue=Er(),ne=he.generateAndInjectStyles(ce,ue.styleSheet,ue.stylis);return process.env.NODE_ENV!=="production"&&I.useDebugValue(ne),ne}(We,Q);process.env.NODE_ENV!=="production"&&!re&&v.warnTooManyClasses&&v