kylin-ui-component
Version:
A React UI library for some developers to develop quickly
93 lines (74 loc) • 64.4 kB
JavaScript
(function(pe,j){typeof exports=="object"&&typeof module<"u"?j(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],j):(pe=typeof globalThis<"u"?globalThis:pe||self,j(pe.Button={},pe.React))})(this,function(pe,j){"use strict";function Br(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ht={exports:{}},Ue={};/**
* @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 Vt;function Wr(){if(Vt)return Ue;Vt=1;var e=j,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(d,u,h){var p,m={},v=null,E=null;h!==void 0&&(v=""+h),u.key!==void 0&&(v=""+u.key),u.ref!==void 0&&(E=u.ref);for(p in u)o.call(u,p)&&!i.hasOwnProperty(p)&&(m[p]=u[p]);if(d&&d.defaultProps)for(p in u=d.defaultProps,u)m[p]===void 0&&(m[p]=u[p]);return{$$typeof:t,type:d,key:v,ref:E,props:m,_owner:a.current}}return Ue.Fragment=r,Ue.jsx=s,Ue.jsxs=s,Ue}var qe={};/**
* @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 Bt;function Gr(){return Bt||(Bt=1,process.env.NODE_ENV!=="production"&&function(){var e=j,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),d=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),C=Symbol.iterator,S="@@iterator";function l(n){if(n===null||typeof n!="object")return null;var c=C&&n[C]||n[S];return typeof c=="function"?c:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function _(n){{for(var c=arguments.length,f=new Array(c>1?c-1:0),b=1;b<c;b++)f[b-1]=arguments[b];V("error",n,f)}}function V(n,c,f){{var b=x.ReactDebugCurrentFrame,k=b.getStackAddendum();k!==""&&(c+="%s",f=f.concat([k]));var D=f.map(function(P){return String(P)});D.unshift("Warning: "+c),Function.prototype.apply.call(console[n],console,D)}}var I=!1,w=!1,N=!1,g=!1,B=!1,K;K=Symbol.for("react.module.reference");function F(n){return!!(typeof n=="string"||typeof n=="function"||n===o||n===i||B||n===a||n===h||n===p||g||n===E||I||w||N||typeof n=="object"&&n!==null&&(n.$$typeof===v||n.$$typeof===m||n.$$typeof===s||n.$$typeof===d||n.$$typeof===u||n.$$typeof===K||n.getModuleId!==void 0))}function oe(n,c,f){var b=n.displayName;if(b)return b;var k=c.displayName||c.name||"";return k!==""?f+"("+k+")":f}function ze(n){return n.displayName||"Context"}function J(n){if(n==null)return null;if(typeof n.tag=="number"&&_("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case o:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case h:return"Suspense";case p:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case d:var c=n;return ze(c)+".Consumer";case s:var f=n;return ze(f._context)+".Provider";case u:return oe(n,n.render,"ForwardRef");case m:var b=n.displayName||null;return b!==null?b:J(n.type)||"Memo";case v:{var k=n,D=k._payload,P=k._init;try{return J(P(D))}catch{return null}}}return null}var ae=Object.assign,le=0,Ve,Be,Pe,ge,Z,ye,fe;function G(){}G.__reactDisabledLog=!0;function ke(){{if(le===0){Ve=console.log,Be=console.info,Pe=console.warn,ge=console.error,Z=console.group,ye=console.groupCollapsed,fe=console.groupEnd;var n={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}le++}}function Oe(){{if(le--,le===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ae({},n,{value:Ve}),info:ae({},n,{value:Be}),warn:ae({},n,{value:Pe}),error:ae({},n,{value:ge}),group:ae({},n,{value:Z}),groupCollapsed:ae({},n,{value:ye}),groupEnd:ae({},n,{value:fe})})}le<0&&_("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var de=x.ReactCurrentDispatcher,ie;function se(n,c,f){{if(ie===void 0)try{throw Error()}catch(k){var b=k.stack.trim().match(/\n( *(at )?)/);ie=b&&b[1]||""}return`
`+ie+n}}var ee=!1,X;{var Ae=typeof WeakMap=="function"?WeakMap:Map;X=new Ae}function ve(n,c){if(!n||ee)return"";{var f=X.get(n);if(f!==void 0)return f}var b;ee=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var D;D=de.current,de.current=null,ke();try{if(c){var P=function(){throw Error()};if(Object.defineProperty(P.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(P,[])}catch(Se){b=Se}Reflect.construct(n,[],P)}else{try{P.call()}catch(Se){b=Se}n.call(P.prototype)}}else{try{throw Error()}catch(Se){b=Se}n()}}catch(Se){if(Se&&b&&typeof Se.stack=="string"){for(var T=Se.stack.split(`
`),q=b.stack.split(`
`),L=T.length-1,z=q.length-1;L>=1&&z>=0&&T[L]!==q[z];)z--;for(;L>=1&&z>=0;L--,z--)if(T[L]!==q[z]){if(L!==1||z!==1)do if(L--,z--,z<0||T[L]!==q[z]){var re=`
`+T[L].replace(" at new "," at ");return n.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",n.displayName)),typeof n=="function"&&X.set(n,re),re}while(L>=1&&z>=0);break}}}finally{ee=!1,de.current=D,Oe(),Error.prepareStackTrace=k}var Ge=n?n.displayName||n.name:"",Vr=Ge?se(Ge):"";return typeof n=="function"&&X.set(n,Vr),Vr}function te(n,c,f){return ve(n,!1)}function y(n){var c=n.prototype;return!!(c&&c.isReactComponent)}function Ee(n,c,f){if(n==null)return"";if(typeof n=="function")return ve(n,y(n));if(typeof n=="string")return se(n);switch(n){case h:return se("Suspense");case p:return se("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case u:return te(n.render);case m:return Ee(n.type,c,f);case v:{var b=n,k=b._payload,D=b._init;try{return Ee(D(k),c,f)}catch{}}}return""}var be=Object.prototype.hasOwnProperty,Je={},Ar=x.ReactDebugCurrentFrame;function pt(n){if(n){var c=n._owner,f=Ee(n.type,n._source,c?c.type:null);Ar.setExtraStackFrame(f)}else Ar.setExtraStackFrame(null)}function Ao(n,c,f,b,k){{var D=Function.call.bind(be);for(var P in n)if(D(n,P)){var T=void 0;try{if(typeof n[P]!="function"){var q=Error((b||"React class")+": "+f+" type `"+P+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[P]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw q.name="Invariant Violation",q}T=n[P](c,P,b,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(L){T=L}T&&!(T instanceof Error)&&(pt(k),_("%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).",b||"React class",f,P,typeof T),pt(null)),T instanceof Error&&!(T.message in Je)&&(Je[T.message]=!0,pt(k),_("Failed %s type: %s",f,T.message),pt(null))}}}var $o=Array.isArray;function Mt(n){return $o(n)}function No(n){{var c=typeof Symbol=="function"&&Symbol.toStringTag,f=c&&n[Symbol.toStringTag]||n.constructor.name||"Object";return f}}function Io(n){try{return $r(n),!1}catch{return!0}}function $r(n){return""+n}function Nr(n){if(Io(n))return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",No(n)),$r(n)}var Ze=x.ReactCurrentOwner,Do={key:!0,ref:!0,__self:!0,__source:!0},Ir,Dr,Ft;Ft={};function jo(n){if(be.call(n,"ref")){var c=Object.getOwnPropertyDescriptor(n,"ref").get;if(c&&c.isReactWarning)return!1}return n.ref!==void 0}function Mo(n){if(be.call(n,"key")){var c=Object.getOwnPropertyDescriptor(n,"key").get;if(c&&c.isReactWarning)return!1}return n.key!==void 0}function Fo(n,c){if(typeof n.ref=="string"&&Ze.current&&c&&Ze.current.stateNode!==c){var f=J(Ze.current.type);Ft[f]||(_('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',J(Ze.current.type),n.ref),Ft[f]=!0)}}function Lo(n,c){{var f=function(){Ir||(Ir=!0,_("%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))};f.isReactWarning=!0,Object.defineProperty(n,"key",{get:f,configurable:!0})}}function Yo(n,c){{var f=function(){Dr||(Dr=!0,_("%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))};f.isReactWarning=!0,Object.defineProperty(n,"ref",{get:f,configurable:!0})}}var zo=function(n,c,f,b,k,D,P){var T={$$typeof:t,type:n,key:c,ref:f,props:P,_owner:D};return T._store={},Object.defineProperty(T._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(T,"_self",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.defineProperty(T,"_source",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.freeze&&(Object.freeze(T.props),Object.freeze(T)),T};function Vo(n,c,f,b,k){{var D,P={},T=null,q=null;f!==void 0&&(Nr(f),T=""+f),Mo(c)&&(Nr(c.key),T=""+c.key),jo(c)&&(q=c.ref,Fo(c,k));for(D in c)be.call(c,D)&&!Do.hasOwnProperty(D)&&(P[D]=c[D]);if(n&&n.defaultProps){var L=n.defaultProps;for(D in L)P[D]===void 0&&(P[D]=L[D])}if(T||q){var z=typeof n=="function"?n.displayName||n.name||"Unknown":n;T&&Lo(P,z),q&&Yo(P,z)}return zo(n,T,q,k,b,Ze.current,P)}}var Lt=x.ReactCurrentOwner,jr=x.ReactDebugCurrentFrame;function We(n){if(n){var c=n._owner,f=Ee(n.type,n._source,c?c.type:null);jr.setExtraStackFrame(f)}else jr.setExtraStackFrame(null)}var Yt;Yt=!1;function zt(n){return typeof n=="object"&&n!==null&&n.$$typeof===t}function Mr(){{if(Lt.current){var n=J(Lt.current.type);if(n)return`
Check the render method of \``+n+"`."}return""}}function Bo(n){{if(n!==void 0){var c=n.fileName.replace(/^.*[\\\/]/,""),f=n.lineNumber;return`
Check your code at `+c+":"+f+"."}return""}}var Fr={};function Wo(n){{var c=Mr();if(!c){var f=typeof n=="string"?n:n.displayName||n.name;f&&(c=`
Check the top-level render call using <`+f+">.")}return c}}function Lr(n,c){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var f=Wo(c);if(Fr[f])return;Fr[f]=!0;var b="";n&&n._owner&&n._owner!==Lt.current&&(b=" It was passed a child from "+J(n._owner.type)+"."),We(n),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',f,b),We(null)}}function Yr(n,c){{if(typeof n!="object")return;if(Mt(n))for(var f=0;f<n.length;f++){var b=n[f];zt(b)&&Lr(b,c)}else if(zt(n))n._store&&(n._store.validated=!0);else if(n){var k=l(n);if(typeof k=="function"&&k!==n.entries)for(var D=k.call(n),P;!(P=D.next()).done;)zt(P.value)&&Lr(P.value,c)}}}function Go(n){{var c=n.type;if(c==null||typeof c=="string")return;var f;if(typeof c=="function")f=c.propTypes;else if(typeof c=="object"&&(c.$$typeof===u||c.$$typeof===m))f=c.propTypes;else return;if(f){var b=J(c);Ao(f,n.props,"prop",b,n)}else if(c.PropTypes!==void 0&&!Yt){Yt=!0;var k=J(c);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k||"Unknown")}typeof c.getDefaultProps=="function"&&!c.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Uo(n){{for(var c=Object.keys(n.props),f=0;f<c.length;f++){var b=c[f];if(b!=="children"&&b!=="key"){We(n),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b),We(null);break}}n.ref!==null&&(We(n),_("Invalid attribute `ref` supplied to `React.Fragment`."),We(null))}}function zr(n,c,f,b,k,D){{var P=F(n);if(!P){var T="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(T+=" 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 q=Bo(k);q?T+=q:T+=Mr();var L;n===null?L="null":Mt(n)?L="array":n!==void 0&&n.$$typeof===t?(L="<"+(J(n.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?"):L=typeof n,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",L,T)}var z=Vo(n,c,f,k,D);if(z==null)return z;if(P){var re=c.children;if(re!==void 0)if(b)if(Mt(re)){for(var Ge=0;Ge<re.length;Ge++)Yr(re[Ge],n);Object.freeze&&Object.freeze(re)}else _("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 Yr(re,n)}return n===o?Uo(z):Go(z),z}}function qo(n,c,f){return zr(n,c,f,!0)}function Ho(n,c,f){return zr(n,c,f,!1)}var Xo=Ho,Ko=qo;qe.Fragment=o,qe.jsx=Xo,qe.jsxs=Ko}()),qe}process.env.NODE_ENV==="production"?ht.exports=Wr():ht.exports=Gr();var mt=ht.exports;const Ur=mt.Fragment,U=mt.jsx,Qe=mt.jsxs;var Wt={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o=[],a=0;a<arguments.length;a++){var i=arguments[a];if(i){var s=typeof i;if(s==="string"||s==="number")o.push(i);else if(Array.isArray(i)){if(i.length){var d=r.apply(null,i);d&&o.push(d)}}else if(s==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){o.push(i.toString());continue}for(var u in i)t.call(i,u)&&i[u]&&o.push(u)}}}return o.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Wt);var qr=Wt.exports;const Hr=Br(qr),Xr=j.createContext({}),gt=["green","red","purple","yellow","blue","indigo","pink","gray","black","white"];function ce(e){return Array.from({length:10},(t,r)=>r+1).map(t=>`${e}-${t}`)}function Kr({color:e,bg:t}){return{[`text-${e}-500`]:e,[`bg-${t}-500`]:t}}function Jr({p:e,pl:t,py:r,pr:o,px:a}){return{[`p-${e}`]:e,[`pl-${t}`]:t,[`pr-${o}`]:o,[`px-${a}`]:a,[`py-${r}`]:r}}function Zr({m:e,ml:t,my:r,mr:o,mx:a}){return{[`m-${e}`]:e,[`ml-${t}`]:t,[`mr-${o}`]:o,[`mx-${a}`]:a,[`my-${r}`]:r}}function Qr({hover:e}){return{[`hover:bg-${e}-700`]:e}}const en=[...gt.map(e=>`text-${e}-500`),...gt.map(e=>`bg-${e}-500`),...gt.map(e=>`hover:bg-${e}-700`)],tn=ce("p").concat(ce("pl")).concat(ce("px")).concat(ce("py")).concat(ce("pr")).concat(ce("m")).concat(ce("ml")).concat(ce("mr")).concat(ce("mx")).concat(ce("my"));[...en,...tn];function rn(e="base",t){if(e==="base")return nn(t)}function nn(e){return{...Kr(e),...Jr(e),...Zr(e),...Qr(e)}}function on(e,t,r){const o={};function a(u){if(t in e&&e[t][u])for(const[h,p]of Object.entries(e[t][u]))o[h]=p;else return;return o}function i(u){return u==="hover"||u==="active"}const s={...a("common"),...a(r)};return d(s);function d(u){return Object.entries(u).map(([p,m])=>i(p)?an(m,{specialKey:p}):`${p}-${m}`).join(" ").trim()}}function an(e,t){const{specialKey:r}=t||{};return Object.entries(e).map(([a,i])=>`${r?r+":":""}${a}-${i}`).join(" ").trim()}var O={};/**
* @license React
* react-is.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 Gt;function sn(){if(Gt)return O;Gt=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),d=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),C;C=Symbol.for("react.module.reference");function S(l){if(typeof l=="object"&&l!==null){var x=l.$$typeof;switch(x){case e:switch(l=l.type,l){case r:case a:case o:case h:case p:return l;default:switch(l=l&&l.$$typeof,l){case d:case s:case u:case v:case m:case i:return l;default:return x}}case t:return x}}}return O.ContextConsumer=s,O.ContextProvider=i,O.Element=e,O.ForwardRef=u,O.Fragment=r,O.Lazy=v,O.Memo=m,O.Portal=t,O.Profiler=a,O.StrictMode=o,O.Suspense=h,O.SuspenseList=p,O.isAsyncMode=function(){return!1},O.isConcurrentMode=function(){return!1},O.isContextConsumer=function(l){return S(l)===s},O.isContextProvider=function(l){return S(l)===i},O.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},O.isForwardRef=function(l){return S(l)===u},O.isFragment=function(l){return S(l)===r},O.isLazy=function(l){return S(l)===v},O.isMemo=function(l){return S(l)===m},O.isPortal=function(l){return S(l)===t},O.isProfiler=function(l){return S(l)===a},O.isStrictMode=function(l){return S(l)===o},O.isSuspense=function(l){return S(l)===h},O.isSuspenseList=function(l){return S(l)===p},O.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===a||l===o||l===h||l===p||l===E||typeof l=="object"&&l!==null&&(l.$$typeof===v||l.$$typeof===m||l.$$typeof===i||l.$$typeof===s||l.$$typeof===u||l.$$typeof===C||l.getModuleId!==void 0)},O.typeOf=S,O}var A={};/**
* @license React
* react-is.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 Ut;function cn(){return Ut||(Ut=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),d=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),C=!1,S=!1,l=!1,x=!1,_=!1,V;V=Symbol.for("react.module.reference");function I(y){return!!(typeof y=="string"||typeof y=="function"||y===r||y===a||_||y===o||y===h||y===p||x||y===E||C||S||l||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===m||y.$$typeof===i||y.$$typeof===s||y.$$typeof===u||y.$$typeof===V||y.getModuleId!==void 0))}function w(y){if(typeof y=="object"&&y!==null){var Ee=y.$$typeof;switch(Ee){case e:var be=y.type;switch(be){case r:case a:case o:case h:case p:return be;default:var Je=be&&be.$$typeof;switch(Je){case d:case s:case u:case v:case m:case i:return Je;default:return Ee}}case t:return Ee}}}var N=s,g=i,B=e,K=u,F=r,oe=v,ze=m,J=t,ae=a,le=o,Ve=h,Be=p,Pe=!1,ge=!1;function Z(y){return Pe||(Pe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(y){return ge||(ge=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function fe(y){return w(y)===s}function G(y){return w(y)===i}function ke(y){return typeof y=="object"&&y!==null&&y.$$typeof===e}function Oe(y){return w(y)===u}function de(y){return w(y)===r}function ie(y){return w(y)===v}function se(y){return w(y)===m}function ee(y){return w(y)===t}function X(y){return w(y)===a}function Ae(y){return w(y)===o}function ve(y){return w(y)===h}function te(y){return w(y)===p}A.ContextConsumer=N,A.ContextProvider=g,A.Element=B,A.ForwardRef=K,A.Fragment=F,A.Lazy=oe,A.Memo=ze,A.Portal=J,A.Profiler=ae,A.StrictMode=le,A.Suspense=Ve,A.SuspenseList=Be,A.isAsyncMode=Z,A.isConcurrentMode=ye,A.isContextConsumer=fe,A.isContextProvider=G,A.isElement=ke,A.isForwardRef=Oe,A.isFragment=de,A.isLazy=ie,A.isMemo=se,A.isPortal=ee,A.isProfiler=X,A.isStrictMode=Ae,A.isSuspense=ve,A.isSuspenseList=te,A.isValidElementType=I,A.typeOf=w}()),A}process.env.NODE_ENV==="production"?sn():cn();function un({loading:e}){return e?Qe("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[U("rect",{x:"0",y:"0",width:"24",height:"24",fill:"none",stroke:"none"}),Qe("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",children:[U("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:U("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),Qe("path",{strokeDasharray:"15",strokeDashoffset:"15",d:"M12 3C16.9706 3 21 7.02944 21 12",children:[U("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),U("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})]}):null}function ln(e){if(typeof e=="object"&&e){const t=e==null?void 0:e.delay;return{loading:!1,delay:!Number.isNaN(t)&&typeof t=="number"?t:0}}return{loading:!!e,delay:0}}var H=function(){return H=Object.assign||function(t){for(var r,o=1,a=arguments.length;o<a;o++){r=arguments[o];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},H.apply(this,arguments)};function $e(e,t,r){if(r||arguments.length===2)for(var o=0,a=t.length,i;o<a;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function fn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var dn=/^((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)-.*))$/,pn=fn(function(e){return dn.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),M="-ms-",He="-moz-",$="-webkit-",qt="comm",et="rule",yt="decl",hn="@import",Ht="@keyframes",mn="@layer",gn=Math.abs,vt=String.fromCharCode,bt=Object.assign;function yn(e,t){return W(e,0)^45?(((t<<2^W(e,0))<<2^W(e,1))<<2^W(e,2))<<2^W(e,3):0}function Xt(e){return e.trim()}function he(e,t){return(e=t.exec(e))?e[0]:e}function R(e,t,r){return e.replace(t,r)}function tt(e,t){return e.indexOf(t)}function W(e,t){return e.charCodeAt(t)|0}function Ne(e,t,r){return e.slice(t,r)}function ue(e){return e.length}function Kt(e){return e.length}function Xe(e,t){return t.push(e),e}function vn(e,t){return e.map(t).join("")}function Jt(e,t){return e.filter(function(r){return!he(r,t)})}var rt=1,Ie=1,Zt=0,Q=0,Y=0,De="";function nt(e,t,r,o,a,i,s,d){return{value:e,root:t,parent:r,type:o,props:a,children:i,line:rt,column:Ie,length:s,return:"",siblings:d}}function we(e,t){return bt(nt("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function je(e){for(;e.root;)e=we(e.root,{children:[e]});Xe(e,e.siblings)}function bn(){return Y}function Sn(){return Y=Q>0?W(De,--Q):0,Ie--,Y===10&&(Ie=1,rt--),Y}function ne(){return Y=Q<Zt?W(De,Q++):0,Ie++,Y===10&&(Ie=1,rt++),Y}function _e(){return W(De,Q)}function ot(){return Q}function at(e,t){return Ne(De,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 wn(e){return rt=Ie=1,Zt=ue(De=e),Q=0,[]}function En(e){return De="",e}function wt(e){return Xt(at(Q-1,Et(e===91?e+2:e===40?e+1:e)))}function _n(e){for(;(Y=_e())&&Y<33;)ne();return St(e)>2||St(Y)>3?"":" "}function Rn(e,t){for(;--t&&ne()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return at(e,ot()+(t<6&&_e()==32&&ne()==32))}function Et(e){for(;ne();)switch(Y){case e:return Q;case 34:case 39:e!==34&&e!==39&&Et(Y);break;case 40:e===41&&Et(e);break;case 92:ne();break}return Q}function Cn(e,t){for(;ne()&&e+Y!==47+10;)if(e+Y===42+42&&_e()===47)break;return"/*"+at(t,Q-1)+"*"+vt(e===47?e:ne())}function xn(e){for(;!St(_e());)ne();return at(e,Q)}function Tn(e){return En(it("",null,null,null,[""],e=wn(e),0,[0],e))}function it(e,t,r,o,a,i,s,d,u){for(var h=0,p=0,m=s,v=0,E=0,C=0,S=1,l=1,x=1,_=0,V="",I=a,w=i,N=o,g=V;l;)switch(C=_,_=ne()){case 40:if(C!=108&&W(g,m-1)==58){tt(g+=R(wt(_),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:g+=wt(_);break;case 9:case 10:case 13:case 32:g+=_n(C);break;case 92:g+=Rn(ot()-1,7);continue;case 47:switch(_e()){case 42:case 47:Xe(Pn(Cn(ne(),ot()),t,r,u),u);break;default:g+="/"}break;case 123*S:d[h++]=ue(g)*x;case 125*S:case 59:case 0:switch(_){case 0:case 125:l=0;case 59+p:x==-1&&(g=R(g,/\f/g,"")),E>0&&ue(g)-m&&Xe(E>32?er(g+";",o,r,m-1,u):er(R(g," ","")+";",o,r,m-2,u),u);break;case 59:g+=";";default:if(Xe(N=Qt(g,t,r,h,p,a,d,V,I=[],w=[],m,i),i),_===123)if(p===0)it(g,t,N,N,I,i,m,d,w);else switch(v===99&&W(g,3)===110?100:v){case 100:case 108:case 109:case 115:it(e,N,N,o&&Xe(Qt(e,N,N,0,0,a,d,V,a,I=[],m,w),w),a,w,m,d,o?I:w);break;default:it(g,N,N,N,[""],w,0,d,w)}}h=p=E=0,S=x=1,V=g="",m=s;break;case 58:m=1+ue(g),E=C;default:if(S<1){if(_==123)--S;else if(_==125&&S++==0&&Sn()==125)continue}switch(g+=vt(_),_*S){case 38:x=p>0?1:(g+="\f",-1);break;case 44:d[h++]=(ue(g)-1)*x,x=1;break;case 64:_e()===45&&(g+=wt(ne())),v=_e(),p=m=ue(V=g+=xn(ot())),_++;break;case 45:C===45&&ue(g)==2&&(S=0)}}return i}function Qt(e,t,r,o,a,i,s,d,u,h,p,m){for(var v=a-1,E=a===0?i:[""],C=Kt(E),S=0,l=0,x=0;S<o;++S)for(var _=0,V=Ne(e,v+1,v=gn(l=s[S])),I=e;_<C;++_)(I=Xt(l>0?E[_]+" "+V:R(V,/&\f/g,E[_])))&&(u[x++]=I);return nt(e,t,r,a===0?et:d,u,h,p,m)}function Pn(e,t,r,o){return nt(e,t,r,qt,vt(bn()),Ne(e,2,-2),0,o)}function er(e,t,r,o,a){return nt(e,t,r,yt,Ne(e,0,o),Ne(e,o+1,-1),o,a)}function tr(e,t,r){switch(yn(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 He+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $+e+He+e+M+e+e;case 5936:switch(W(e,t+11)){case 114:return $+e+M+R(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+M+R(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+M+R(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return $+e+M+e+e;case 6165:return $+e+M+"flex-"+e+e;case 5187:return $+e+R(e,/(\w+).+(:[^]+)/,$+"box-$1$2"+M+"flex-$1$2")+e;case 5443:return $+e+M+"flex-item-"+R(e,/flex-|-self/g,"")+(he(e,/flex-|baseline/)?"":M+"grid-row-"+R(e,/flex-|-self/g,""))+e;case 4675:return $+e+M+"flex-line-pack"+R(e,/align-content|flex-|-self/g,"")+e;case 5548:return $+e+M+R(e,"shrink","negative")+e;case 5292:return $+e+M+R(e,"basis","preferred-size")+e;case 6060:return $+"box-"+R(e,"-grow","")+$+e+M+R(e,"grow","positive")+e;case 4554:return $+R(e,/([^-])(transform)/g,"$1"+$+"$2")+e;case 6187:return R(R(R(e,/(zoom-|grab)/,$+"$1"),/(image-set)/,$+"$1"),e,"")+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,$+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,$+"box-pack:$3"+M+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$+e+e;case 4200:if(!he(e,/flex-|baseline/))return M+"grid-column-align"+Ne(e,t)+e;break;case 2592:case 3360:return M+R(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(o,a){return t=a,he(o.props,/grid-\w+-end/)})?~tt(e+(r=r[t].value),"span")?e:M+R(e,"-start","")+e+M+"grid-row-span:"+(~tt(r,"span")?he(r,/\d+/):+he(r,/\d+/)-+he(e,/\d+/))+";":M+R(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(o){return he(o.props,/grid-\w+-start/)})?e:M+R(R(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return R(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(ue(e)-1-t>6)switch(W(e,t+1)){case 109:if(W(e,t+4)!==45)break;case 102:return R(e,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+He+(W(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~tt(e,"stretch")?tr(R(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return R(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,a,i,s,d,u,h){return M+a+":"+i+h+(s?M+a+"-span:"+(d?u:+u-+i)+h:"")+e});case 4949:if(W(e,t+6)===121)return R(e,":",":"+$)+e;break;case 6444:switch(W(e,W(e,14)===45?18:11)){case 120:return R(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+$+(W(e,14)===45?"inline-":"")+"box$3$1"+$+"$2$3$1"+M+"$2box$3")+e;case 100:return R(e,":",":"+M)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return R(e,"scroll-","scroll-snap-")+e}return e}function st(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function kn(e,t,r,o){switch(e.type){case mn:if(e.children.length)break;case hn:case yt:return e.return=e.return||e.value;case qt:return"";case Ht:return e.return=e.value+"{"+st(e.children,o)+"}";case et:if(!ue(e.value=e.props.join(",")))return""}return ue(r=st(e.children,o))?e.return=e.value+"{"+r+"}":""}function On(e){var t=Kt(e);return function(r,o,a,i){for(var s="",d=0;d<t;d++)s+=e[d](r,o,a,i)||"";return s}}function An(e){return function(t){t.root||(t=t.return)&&e(t)}}function $n(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case yt:e.return=tr(e.value,e.length,r);return;case Ht:return st([we(e,{value:R(e.value,"@","@"+$)})],o);case et:if(e.length)return vn(r=e.props,function(a){switch(he(a,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":je(we(e,{props:[R(a,/:(read-\w+)/,":"+He+"$1")]})),je(we(e,{props:[a]})),bt(e,{props:Jt(r,o)});break;case"::placeholder":je(we(e,{props:[R(a,/:(plac\w+)/,":"+$+"input-$1")]})),je(we(e,{props:[R(a,/:(plac\w+)/,":"+He+"$1")]})),je(we(e,{props:[R(a,/:(plac\w+)/,M+"input-$1")]})),je(we(e,{props:[a]})),bt(e,{props:Jt(r,o)});break}return""})}}var Nn={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",_t=typeof window<"u"&&"HTMLElement"in window,In=!!(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"),rr=/invalid hook call/i,ct=new Set,Dn=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",o="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.`,a=console.error;try{var i=!0;console.error=function(s){for(var d=[],u=1;u<arguments.length;u++)d[u-1]=arguments[u];rr.test(s)?(i=!1,ct.delete(o)):a.apply(void 0,$e([s],d,!1))},j.useRef(),i&&!ct.has(o)&&(console.warn(o),ct.add(o))}catch(s){rr.test(s.message)&&ct.delete(o)}finally{console.error=a}}},Rt=Object.freeze([]),Me=Object.freeze({});function jn(e,t,r){return r===void 0&&(r=Me),e.theme!==r.theme&&e.theme||t||r.theme}var nr=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"]),Mn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Fn=/(^-|-$)/g;function or(e){return e.replace(Mn,"-").replace(Fn,"")}var Ln=/(a)(d)/gi,ar=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ct(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(Ln,"$1-$2")}var xt,Ce=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ir=function(e){return Ce(5381,e)};function Yn(e){return Ct(ir(e)>>>0)}function sr(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Tt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var cr=typeof Symbol=="function"&&Symbol.for,ur=cr?Symbol.for("react.memo"):60115,zn=cr?Symbol.for("react.forward_ref"):60112,Vn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Bn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},lr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Wn=((xt={})[zn]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},xt[ur]=lr,xt);function fr(e){return("type"in(t=e)&&t.type.$$typeof)===ur?lr:"$$typeof"in e?Wn[e.$$typeof]:Vn;var t}var Gn=Object.defineProperty,Un=Object.getOwnPropertyNames,dr=Object.getOwnPropertySymbols,qn=Object.getOwnPropertyDescriptor,Hn=Object.getPrototypeOf,pr=Object.prototype;function hr(e,t,r){if(typeof t!="string"){if(pr){var o=Hn(t);o&&o!==pr&&hr(e,o,r)}var a=Un(t);dr&&(a=a.concat(dr(t)));for(var i=fr(e),s=fr(t),d=0;d<a.length;++d){var u=a[d];if(!(u in Bn||r&&r[u]||s&&u in s||i&&u in i)){var h=qn(t,u);try{Gn(e,u,h)}catch{}}}}return e}function Fe(e){return typeof e=="function"}function Pt(e){return typeof e=="object"&&"styledComponentId"in e}function xe(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function mr(e,t){if(e.length===0)return"";for(var r=e[0],o=1;o<e.length;o++)r+=t?t+e[o]:e[o];return r}function Le(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function kt(e,t,r){if(r===void 0&&(r=!1),!r&&!Le(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=kt(e[o],t[o]);else if(Le(t))for(var o in t)e[o]=kt(e[o],t[o]);return e}function Ot(e,t){Object.defineProperty(e,"toString",{value:t})}var Xn=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 Kn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],o=[],a=1,i=e.length;a<i;a+=1)o.push(e[a]);return o.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(Kn.apply(void 0,$e([Xn[e]],t,!1)).trim())}var Jn=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,o=0;o<t;o++)r+=this.groupSizes[o];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var o=this.groupSizes,a=o.length,i=a;t>=i;)if((i<<=1)<0)throw Ye(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(o),this.length=i;for(var s=a;s<i;s++)this.groupSizes[s]=0}for(var d=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(d,r[s])&&(this.groupSizes[t]++,d++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],o=this.indexOfGroup(t),a=o+r;this.groupSizes[t]=0;for(var i=o;i<a;i++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var o=this.groupSizes[t],a=this.indexOfGroup(t),i=a+o,s=a;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(`/*!sc*/
`);return r},e}(),ut=new Map,lt=new Map,At=1,ft=function(e){if(ut.has(e))return ut.get(e);for(;lt.has(At);)At++;var t=At++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>1073741824))throw Ye(16,"".concat(t));return ut.set(e,t),lt.set(t,e),t},Zn=function(e,t){ut.set(e,t),lt.set(t,e)},Qn="style[".concat(Re,"][").concat("data-styled-version",'="').concat("6.0.1",'"]'),eo=new RegExp("^".concat(Re,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),to=function(e,t,r){for(var o,a=r.split(","),i=0,s=a.length;i<s;i++)(o=a[i])&&e.registerName(t,o)},ro=function(e,t){for(var r,o=((r=t.textContent)!==null&&r!==void 0?r:"").split(`/*!sc*/
`),a=[],i=0,s=o.length;i<s;i++){var d=o[i].trim();if(d){var u=d.match(eo);if(u){var h=0|parseInt(u[1],10),p=u[2];h!==0&&(Zn(p,h),to(e,p,u[3]),e.getTag().insertRules(h,a)),a.length=0}else a.push(d)}}};function no(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var gr=function(e){var t=document.head,r=e||t,o=document.createElement("style"),a=function(d){return Array.from(d.querySelectorAll("style[".concat(Re,"]"))).at(-1)}(r),i=a!==void 0?a.nextSibling:null;o.setAttribute(Re,"active"),o.setAttribute("data-styled-version","6.0.1");var s=no();return s&&o.setAttribute("nonce",s),r.insertBefore(o,i),o},oo=function(){function e(t){this.element=gr(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var o=document.styleSheets,a=0,i=o.length;a<i;a++){var s=o[a];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}(),ao=function(){function e(t){this.element=gr(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var o=document.createTextNode(r);return this.element.insertBefore(o,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}(),io=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=_t,so={isServer:!_t,useCSSOMInjection:!In},vr=function(){function e(t,r,o){t===void 0&&(t=Me),r===void 0&&(r={});var a=this;this.options=H(H({},so),t),this.gs=r,this.names=new Map(o),this.server=!!t.isServer,!this.server&&_t&&yr&&(yr=!1,function(i){for(var s=document.querySelectorAll(Qn),d=0,u=s.length;d<u;d++){var h=s[d];h&&h.getAttribute(Re)!=="active"&&(ro(i,h),h.parentNode&&h.parentNode.removeChild(h))}}(this)),Ot(this,function(){return function(i){for(var s=i.getTag(),d=s.length,u="",h=function(m){var v=function(x){return lt.get(x)}(m);if(v===void 0)return"continue";var E=i.names.get(v),C=s.getGroup(m);if(E===void 0||C.length===0)return"continue";var S="".concat(Re,".g").concat(m,'[id="').concat(v,'"]'),l="";E!==void 0&&E.forEach(function(x){x.length>0&&(l+="".concat(x,","))}),u+="".concat(C).concat(S,'{content:"').concat(l,'"}').concat(`/*!sc*/
`)},p=0;p<d;p++)h(p);return u}(a)})}return e.registerId=function(t){return ft(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(H(H({},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 o=r.useCSSOMInjection,a=r.target;return r.isServer?new io(a):o?new oo(a):new ao(a)}(this.options),new Jn(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(ft(t),this.names.has(t))this.names.get(t).add(r);else{var o=new Set;o.add(r),this.names.set(t,o)}},e.prototype.insertRules=function(t,r,o){this.registerName(t,r),this.getTag().insertRules(ft(t),o)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(ft(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),co=/&/g,uo=/^\s*\/\/.*$/gm;function br(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(o){return"".concat(t," ").concat(o)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=br(r.children,t)),r})}function lo(e){var t,r,o,a=e===void