react-console-viewer
Version:
A React component that displays console logs
48 lines (44 loc) • 148 kB
JavaScript
(function(ue,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],f):(ue=typeof globalThis<"u"?globalThis:ue||self,f(ue.console={},ue.React))})(this,function(ue,f){"use strict";var Df=Object.defineProperty;var jf=(ue,f,Je)=>f in ue?Df(ue,f,{enumerable:!0,configurable:!0,writable:!0,value:Je}):ue[f]=Je;var Mo=(ue,f,Je)=>jf(ue,typeof f!="symbol"?f+"":f,Je);function Je(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 K=Je(f);function Or(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _r={exports:{}},Xe={};/** @license React v16.14.0
* 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 kn;function Do(){if(kn)return Xe;kn=1;var e=f,t=60103;if(Xe.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var r=Symbol.for;t=r("react.element"),Xe.Fragment=r("react.fragment")}var n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,o={key:!0,ref:!0,__self:!0,__source:!0};function i(s,c,p){var l,u={},h=null,m=null;p!==void 0&&(h=""+p),c.key!==void 0&&(h=""+c.key),c.ref!==void 0&&(m=c.ref);for(l in c)a.call(c,l)&&!o.hasOwnProperty(l)&&(u[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)u[l]===void 0&&(u[l]=c[l]);return{$$typeof:t,type:s,key:h,ref:m,props:u,_owner:n.current}}return Xe.jsx=i,Xe.jsxs=i,Xe}var Tr={};/** @license React v16.14.0
* 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 Ln;function jo(){return Ln||(Ln=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=f,r=60103,n=60106;e.Fragment=60107;var a=60108,o=60114,i=60109,s=60110,c=60112,p=60113,l=60120,u=60115,h=60116,m=60121,g=60122,b=60117,_=60129,x=60131;if(typeof Symbol=="function"&&Symbol.for){var O=Symbol.for;r=O("react.element"),n=O("react.portal"),e.Fragment=O("react.fragment"),a=O("react.strict_mode"),o=O("react.profiler"),i=O("react.provider"),s=O("react.context"),c=O("react.forward_ref"),p=O("react.suspense"),l=O("react.suspense_list"),u=O("react.memo"),h=O("react.lazy"),m=O("react.block"),g=O("react.server.block"),b=O("react.fundamental"),O("react.scope"),O("react.opaque.id"),_=O("react.debug_trace_mode"),O("react.offscreen"),x=O("react.legacy_hidden")}var R=typeof Symbol=="function"&&Symbol.iterator,M="@@iterator";function y(d){if(d===null||typeof d!="object")return null;var E=R&&d[R]||d[M];return typeof E=="function"?E:null}var B=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(d){{for(var E=arguments.length,C=new Array(E>1?E-1:0),P=1;P<E;P++)C[P-1]=arguments[P];Ee("error",d,C)}}function Ee(d,E,C){{var P=B.ReactDebugCurrentFrame,Y="";if(he){var F=X(he.type),z=he._owner;Y+=G(F,he._source,z&&X(z.type))}Y+=P.getStackAddendum(),Y!==""&&(E+="%s",C=C.concat([Y]));var I=C.map(function(ce){return""+ce});I.unshift("Warning: "+E),Function.prototype.apply.call(console[d],console,I)}}var Z=!1;function Q(d){return!!(typeof d=="string"||typeof d=="function"||d===e.Fragment||d===o||d===_||d===a||d===p||d===l||d===x||Z||typeof d=="object"&&d!==null&&(d.$$typeof===h||d.$$typeof===u||d.$$typeof===i||d.$$typeof===s||d.$$typeof===c||d.$$typeof===b||d.$$typeof===m||d[0]===g))}var be=/^(.*)[\\\/]/;function G(d,E,C){var P="";if(E){var Y=E.fileName,F=Y.replace(be,"");if(/^index\./.test(F)){var z=Y.match(be);if(z){var I=z[1];if(I){var ce=I.replace(be,"");F=ce+"/"+F}}}P=" (at "+F+":"+E.lineNumber+")"}else C&&(P=" (created by "+C+")");return`
in `+(d||"Unknown")+P}var dt=1;function je(d){return d._status===dt?d._result:null}function pt(d,E,C){var P=E.displayName||E.name||"";return d.displayName||(P!==""?C+"("+P+")":C)}function X(d){if(d==null)return null;if(typeof d.tag=="number"&&S("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case e.Fragment:return"Fragment";case n:return"Portal";case o:return"Profiler";case a:return"StrictMode";case p:return"Suspense";case l:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case s:return"Context.Consumer";case i:return"Context.Provider";case c:return pt(d,d.render,"ForwardRef");case u:return X(d.type);case m:return X(d.render);case h:{var E=d,C=je(E);if(C)return X(C);break}}return null}var Ye={};B.ReactDebugCurrentFrame;var he=null;function ve(d){he=d}function Ke(d,E,C,P,Y){{var F=Function.call.bind(Object.prototype.hasOwnProperty);for(var z in d)if(F(d,z)){var I=void 0;try{if(typeof d[z]!="function"){var ce=Error((P||"React class")+": "+C+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ce.name="Invariant Violation",ce}I=d[z](E,z,P,C,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ne){I=Ne}I&&!(I instanceof Error)&&(ve(Y),S("%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).",P||"React class",C,z,typeof I),ve(null)),I instanceof Error&&!(I.message in Ye)&&(Ye[I.message]=!0,ve(Y),S("Failed %s type: %s",C,I.message),ve(null))}}}var me=B.ReactCurrentOwner,Ce=Object.prototype.hasOwnProperty,_n={key:!0,ref:!0,__self:!0,__source:!0},yr,Er,Vt;Vt={};function Tn(d){if(Ce.call(d,"ref")){var E=Object.getOwnPropertyDescriptor(d,"ref").get;if(E&&E.isReactWarning)return!1}return d.ref!==void 0}function An(d){if(Ce.call(d,"key")){var E=Object.getOwnPropertyDescriptor(d,"key").get;if(E&&E.isReactWarning)return!1}return d.key!==void 0}function xn(d,E){if(typeof d.ref=="string"&&me.current&&E&&me.current.stateNode!==E){var C=X(me.current.type);Vt[C]||(S('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',X(me.current.type),d.ref),Vt[C]=!0)}}function Cn(d,E){{var C=function(){yr||(yr=!0,S("%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)",E))};C.isReactWarning=!0,Object.defineProperty(d,"key",{get:C,configurable:!0})}}function Nn(d,E){{var C=function(){Er||(Er=!0,S("%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)",E))};C.isReactWarning=!0,Object.defineProperty(d,"ref",{get:C,configurable:!0})}}var N=function(d,E,C,P,Y,F,z){var I={$$typeof:r,type:d,key:E,ref:C,props:z,_owner:F};return I._store={},Object.defineProperty(I._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(I,"_self",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.defineProperty(I,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Y}),Object.freeze&&(Object.freeze(I.props),Object.freeze(I)),I};function Gt(d,E,C,P,Y){{var F,z={},I=null,ce=null;C!==void 0&&(I=""+C),An(E)&&(I=""+E.key),Tn(E)&&(ce=E.ref,xn(E,Y));for(F in E)Ce.call(E,F)&&!_n.hasOwnProperty(F)&&(z[F]=E[F]);if(d&&d.defaultProps){var Ne=d.defaultProps;for(F in Ne)z[F]===void 0&&(z[F]=Ne[F])}if(I||ce){var Ue=typeof d=="function"?d.displayName||d.name||"Unknown":d;I&&Cn(z,Ue),ce&&Nn(z,Ue)}return N(d,I,ce,Y,P,me.current,z)}}var Be=B.ReactCurrentOwner;B.ReactDebugCurrentFrame;function Re(d){he=d}var Sn;Sn=!1;function wn(d){return typeof d=="object"&&d!==null&&d.$$typeof===r}function Ro(){{if(Be.current){var d=X(Be.current.type);if(d)return`
Check the render method of \``+d+"`."}return""}}function Sf(d){return""}var ko={};function wf(d){{var E=Ro();if(!E){var C=typeof d=="string"?d:d.displayName||d.name;C&&(E=`
Check the top-level render call using <`+C+">.")}return E}}function Lo(d,E){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var C=wf(E);if(ko[C])return;ko[C]=!0;var P="";d&&d._owner&&d._owner!==Be.current&&(P=" It was passed a child from "+X(d._owner.type)+"."),Re(d),S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',C,P),Re(null)}}function Po(d,E){{if(typeof d!="object")return;if(Array.isArray(d))for(var C=0;C<d.length;C++){var P=d[C];wn(P)&&Lo(P,E)}else if(wn(d))d._store&&(d._store.validated=!0);else if(d){var Y=y(d);if(typeof Y=="function"&&Y!==d.entries)for(var F=Y.call(d),z;!(z=F.next()).done;)wn(z.value)&&Lo(z.value,E)}}}function Rf(d){{var E=d.type;if(E==null||typeof E=="string")return;var C;if(typeof E=="function")C=E.propTypes;else if(typeof E=="object"&&(E.$$typeof===c||E.$$typeof===u))C=E.propTypes;else return;if(C){var P=X(E);Ke(C,d.props,"prop",P,d)}else if(E.PropTypes!==void 0&&!Sn){Sn=!0;var Y=X(E);S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Y||"Unknown")}typeof E.getDefaultProps=="function"&&!E.getDefaultProps.isReactClassApproved&&S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function kf(d){{for(var E=Object.keys(d.props),C=0;C<E.length;C++){var P=E[C];if(P!=="children"&&P!=="key"){Re(d),S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",P),Re(null);break}}d.ref!==null&&(Re(d),S("Invalid attribute `ref` supplied to `React.Fragment`."),Re(null))}}function Io(d,E,C,P,Y,F){{var z=Q(d);if(!z){var I="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(I+=" 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 ce=Sf();ce?I+=ce:I+=Ro();var Ne;d===null?Ne="null":Array.isArray(d)?Ne="array":d!==void 0&&d.$$typeof===r?(Ne="<"+(X(d.type)||"Unknown")+" />",I=" Did you accidentally export a JSX literal instead of a component?"):Ne=typeof d,S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ne,I)}var Ue=Gt(d,E,C,Y,F);if(Ue==null)return Ue;if(z){var ht=E.children;if(ht!==void 0)if(P)if(Array.isArray(ht)){for(var Rn=0;Rn<ht.length;Rn++)Po(ht[Rn],d);Object.freeze&&Object.freeze(ht)}else S("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 Po(ht,d)}return d===e.Fragment?kf(Ue):Rf(Ue),Ue}}function Lf(d,E,C){return Io(d,E,C,!0)}function Pf(d,E,C){return Io(d,E,C,!1)}var If=Pf,Mf=Lf;e.jsx=If,e.jsxs=Mf}()}(Tr)),Tr}process.env.NODE_ENV==="production"?_r.exports=Do():_r.exports=jo();var T=_r.exports;function Bo(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Uo(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var $o=function(){function e(r){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Uo(this));var a=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var i=Bo(a);try{i.insertRule(n,i.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else a.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),re="-ms-",qt="-moz-",D="-webkit-",Ar="comm",xr="rule",Cr="decl",zo="@import",Pn="@keyframes",Vo="@layer",Go=Math.abs,Ht=String.fromCharCode,qo=Object.assign;function Ho(e,t){return ee(e,0)^45?(((t<<2^ee(e,0))<<2^ee(e,1))<<2^ee(e,2))<<2^ee(e,3):0}function In(e){return e.trim()}function Fo(e,t){return(e=t.exec(e))?e[0]:e}function j(e,t,r){return e.replace(t,r)}function Nr(e,t){return e.indexOf(t)}function ee(e,t){return e.charCodeAt(t)|0}function mt(e,t,r){return e.slice(t,r)}function Oe(e){return e.length}function Sr(e){return e.length}function Ft(e,t){return t.push(e),e}function Wo(e,t){return e.map(t).join("")}var Wt=1,Ze=1,Mn=0,ie=0,J=0,Qe="";function Yt(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:Wt,column:Ze,length:i,return:""}}function gt(e,t){return qo(Yt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Yo(){return J}function Ko(){return J=ie>0?ee(Qe,--ie):0,Ze--,J===10&&(Ze=1,Wt--),J}function fe(){return J=ie<Mn?ee(Qe,ie++):0,Ze++,J===10&&(Ze=1,Wt++),J}function _e(){return ee(Qe,ie)}function Kt(){return ie}function bt(e,t){return mt(Qe,e,t)}function vt(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 Dn(e){return Wt=Ze=1,Mn=Oe(Qe=e),ie=0,[]}function jn(e){return Qe="",e}function Jt(e){return In(bt(ie-1,wr(e===91?e+2:e===40?e+1:e)))}function Jo(e){for(;(J=_e())&&J<33;)fe();return vt(e)>2||vt(J)>3?"":" "}function Xo(e,t){for(;--t&&fe()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return bt(e,Kt()+(t<6&&_e()==32&&fe()==32))}function wr(e){for(;fe();)switch(J){case e:return ie;case 34:case 39:e!==34&&e!==39&&wr(J);break;case 40:e===41&&wr(e);break;case 92:fe();break}return ie}function Zo(e,t){for(;fe()&&e+J!==57;)if(e+J===84&&_e()===47)break;return"/*"+bt(t,ie-1)+"*"+Ht(e===47?e:fe())}function Qo(e){for(;!vt(_e());)fe();return bt(e,ie)}function ei(e){return jn(Xt("",null,null,null,[""],e=Dn(e),0,[0],e))}function Xt(e,t,r,n,a,o,i,s,c){for(var p=0,l=0,u=i,h=0,m=0,g=0,b=1,_=1,x=1,O=0,R="",M=a,y=o,B=n,S=R;_;)switch(g=O,O=fe()){case 40:if(g!=108&&ee(S,u-1)==58){Nr(S+=j(Jt(O),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:S+=Jt(O);break;case 9:case 10:case 13:case 32:S+=Jo(g);break;case 92:S+=Xo(Kt()-1,7);continue;case 47:switch(_e()){case 42:case 47:Ft(ti(Zo(fe(),Kt()),t,r),c);break;default:S+="/"}break;case 123*b:s[p++]=Oe(S)*x;case 125*b:case 59:case 0:switch(O){case 0:case 125:_=0;case 59+l:x==-1&&(S=j(S,/\f/g,"")),m>0&&Oe(S)-u&&Ft(m>32?Un(S+";",n,r,u-1):Un(j(S," ","")+";",n,r,u-2),c);break;case 59:S+=";";default:if(Ft(B=Bn(S,t,r,p,l,a,s,R,M=[],y=[],u),o),O===123)if(l===0)Xt(S,t,B,B,M,o,u,s,y);else switch(h===99&&ee(S,3)===110?100:h){case 100:case 108:case 109:case 115:Xt(e,B,B,n&&Ft(Bn(e,B,B,0,0,a,s,R,a,M=[],u),y),a,y,u,s,n?M:y);break;default:Xt(S,B,B,B,[""],y,0,s,y)}}p=l=m=0,b=x=1,R=S="",u=i;break;case 58:u=1+Oe(S),m=g;default:if(b<1){if(O==123)--b;else if(O==125&&b++==0&&Ko()==125)continue}switch(S+=Ht(O),O*b){case 38:x=l>0?1:(S+="\f",-1);break;case 44:s[p++]=(Oe(S)-1)*x,x=1;break;case 64:_e()===45&&(S+=Jt(fe())),h=_e(),l=u=Oe(R=S+=Qo(Kt())),O++;break;case 45:g===45&&Oe(S)==2&&(b=0)}}return o}function Bn(e,t,r,n,a,o,i,s,c,p,l){for(var u=a-1,h=a===0?o:[""],m=Sr(h),g=0,b=0,_=0;g<n;++g)for(var x=0,O=mt(e,u+1,u=Go(b=i[g])),R=e;x<m;++x)(R=In(b>0?h[x]+" "+O:j(O,/&\f/g,h[x])))&&(c[_++]=R);return Yt(e,t,r,a===0?xr:s,c,p,l)}function ti(e,t,r){return Yt(e,t,r,Ar,Ht(Yo()),mt(e,2,-2),0)}function Un(e,t,r,n){return Yt(e,t,r,Cr,mt(e,0,n),mt(e,n+1,-1),n)}function et(e,t){for(var r="",n=Sr(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function ri(e,t,r,n){switch(e.type){case Vo:if(e.children.length)break;case zo:case Cr:return e.return=e.return||e.value;case Ar:return"";case Pn:return e.return=e.value+"{"+et(e.children,n)+"}";case xr:e.value=e.props.join(",")}return Oe(r=et(e.children,n))?e.return=e.value+"{"+r+"}":""}function ni(e){var t=Sr(e);return function(r,n,a,o){for(var i="",s=0;s<t;s++)i+=e[s](r,n,a,o)||"";return i}}function ai(e){return function(t){t.root||(t=t.return)&&e(t)}}var $n=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var a=t(n);return r.set(n,a),a}};function zn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var oi=function(t,r,n){for(var a=0,o=0;a=o,o=_e(),a===38&&o===12&&(r[n]=1),!vt(o);)fe();return bt(t,ie)},ii=function(t,r){var n=-1,a=44;do switch(vt(a)){case 0:a===38&&_e()===12&&(r[n]=1),t[n]+=oi(ie-1,r,n);break;case 2:t[n]+=Jt(a);break;case 4:if(a===44){t[++n]=_e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ht(a)}while(a=fe());return t},si=function(t,r){return jn(ii(Dn(t),r))},Vn=new WeakMap,li=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,a=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Vn.get(n))&&!a){Vn.set(t,!0);for(var o=[],i=si(r,o),s=n.props,c=0,p=0;c<i.length;c++)for(var l=0;l<s.length;l++,p++)t.props[p]=o[c]?i[c].replace(/&\f/g,s[l]):s[l]+" "+i[c]}}},ci=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},ui="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",fi=function(t){return t.type==="comm"&&t.children.indexOf(ui)>-1},di=function(t){return function(r,n,a){if(!(r.type!=="rule"||t.compat)){var o=r.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=!!r.parent,s=i?r.parent.children:a,c=s.length-1;c>=0;c--){var p=s[c];if(p.line<r.line)break;if(p.column<r.column){if(fi(p))return;break}}o.forEach(function(l){console.error('The pseudo class "'+l+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+l.split("-child")[0]+'-of-type".')})}}}},Gn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},pi=function(t,r){for(var n=t-1;n>=0;n--)if(!Gn(r[n]))return!0;return!1},qn=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},hi=function(t,r,n){Gn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),qn(t)):pi(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),qn(t)))};function Hn(e,t){switch(Ho(e,t)){case 5103:return D+"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 D+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+qt+e+re+e+e;case 6828:case 4268:return D+e+re+e+e;case 6165:return D+e+re+"flex-"+e+e;case 5187:return D+e+j(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+re+"flex-$1$2")+e;case 5443:return D+e+re+"flex-item-"+j(e,/flex-|-self/,"")+e;case 4675:return D+e+re+"flex-line-pack"+j(e,/align-content|flex-|-self/,"")+e;case 5548:return D+e+re+j(e,"shrink","negative")+e;case 5292:return D+e+re+j(e,"basis","preferred-size")+e;case 6060:return D+"box-"+j(e,"-grow","")+D+e+re+j(e,"grow","positive")+e;case 4554:return D+j(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return j(j(j(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return j(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return j(j(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4095:case 3583:case 4068:case 2532:return j(e,/(.+)-inline(.+)/,D+"$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(Oe(e)-1-t>6)switch(ee(e,t+1)){case 109:if(ee(e,t+4)!==45)break;case 102:return j(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+qt+(ee(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Nr(e,"stretch")?Hn(j(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ee(e,t+1)!==115)break;case 6444:switch(ee(e,Oe(e)-3-(~Nr(e,"!important")&&10))){case 107:return j(e,":",":"+D)+e;case 101:return j(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(ee(e,14)===45?"inline-":"")+"box$3$1"+D+"$2$3$1"+re+"$2box$3")+e}break;case 5936:switch(ee(e,t+11)){case 114:return D+e+re+j(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+re+j(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+re+j(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+re+e+e}return e}var mi=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case Cr:t.return=Hn(t.value,t.length);break;case Pn:return et([gt(t,{value:j(t.value,"@","@"+D)})],a);case xr:if(t.length)return Wo(t.props,function(o){switch(Fo(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return et([gt(t,{props:[j(o,/:(read-\w+)/,":"+qt+"$1")]})],a);case"::placeholder":return et([gt(t,{props:[j(o,/:(plac\w+)/,":"+D+"input-$1")]}),gt(t,{props:[j(o,/:(plac\w+)/,":"+qt+"$1")]}),gt(t,{props:[j(o,/:(plac\w+)/,re+"input-$1")]})],a)}return""})}},gi=[mi],bi=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var _=b.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var a=t.stylisPlugins||gi;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var o={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var _=b.getAttribute("data-emotion").split(" "),x=1;x<_.length;x++)o[_[x]]=!0;s.push(b)});var c,p=[li,ci];process.env.NODE_ENV!=="production"&&p.push(di({get compat(){return g.compat}}),hi);{var l,u=[ri,process.env.NODE_ENV!=="production"?function(b){b.root||(b.return?l.insert(b.return):b.value&&b.type!==Ar&&l.insert(b.value+"{}"))}:ai(function(b){l.insert(b)})],h=ni(p.concat(a,u)),m=function(_){return et(ei(_),h)};c=function(_,x,O,R){l=O,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(l={insert:function(y){O.insert(y+x.map)}}),m(_?_+"{"+x.styles+"}":x.styles),R&&(g.inserted[x.name]=!0)}}var g={key:r,sheet:new $o({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:c};return g.sheet.hydrate(s),g};function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yt.apply(null,arguments)}var Rr={exports:{}},U={};/** @license React v16.13.1
* 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 Fn;function vi(){if(Fn)return U;Fn=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function R(y){if(typeof y=="object"&&y!==null){var B=y.$$typeof;switch(B){case t:switch(y=y.type,y){case c:case p:case n:case o:case a:case u:return y;default:switch(y=y&&y.$$typeof,y){case s:case l:case g:case m:case i:return y;default:return B}}case r:return B}}}function M(y){return R(y)===p}return U.AsyncMode=c,U.ConcurrentMode=p,U.ContextConsumer=s,U.ContextProvider=i,U.Element=t,U.ForwardRef=l,U.Fragment=n,U.Lazy=g,U.Memo=m,U.Portal=r,U.Profiler=o,U.StrictMode=a,U.Suspense=u,U.isAsyncMode=function(y){return M(y)||R(y)===c},U.isConcurrentMode=M,U.isContextConsumer=function(y){return R(y)===s},U.isContextProvider=function(y){return R(y)===i},U.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},U.isForwardRef=function(y){return R(y)===l},U.isFragment=function(y){return R(y)===n},U.isLazy=function(y){return R(y)===g},U.isMemo=function(y){return R(y)===m},U.isPortal=function(y){return R(y)===r},U.isProfiler=function(y){return R(y)===o},U.isStrictMode=function(y){return R(y)===a},U.isSuspense=function(y){return R(y)===u},U.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===p||y===o||y===a||y===u||y===h||typeof y=="object"&&y!==null&&(y.$$typeof===g||y.$$typeof===m||y.$$typeof===i||y.$$typeof===s||y.$$typeof===l||y.$$typeof===_||y.$$typeof===x||y.$$typeof===O||y.$$typeof===b)},U.typeOf=R,U}var $={};/** @license React v16.13.1
* 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 Wn;function yi(){return Wn||(Wn=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function R(N){return typeof N=="string"||typeof N=="function"||N===n||N===p||N===o||N===a||N===u||N===h||typeof N=="object"&&N!==null&&(N.$$typeof===g||N.$$typeof===m||N.$$typeof===i||N.$$typeof===s||N.$$typeof===l||N.$$typeof===_||N.$$typeof===x||N.$$typeof===O||N.$$typeof===b)}function M(N){if(typeof N=="object"&&N!==null){var Gt=N.$$typeof;switch(Gt){case t:var Be=N.type;switch(Be){case c:case p:case n:case o:case a:case u:return Be;default:var Re=Be&&Be.$$typeof;switch(Re){case s:case l:case g:case m:case i:return Re;default:return Gt}}case r:return Gt}}}var y=c,B=p,S=s,Ee=i,Z=t,Q=l,be=n,G=g,dt=m,je=r,pt=o,X=a,Ye=u,he=!1;function ve(N){return he||(he=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Ke(N)||M(N)===c}function Ke(N){return M(N)===p}function me(N){return M(N)===s}function Ce(N){return M(N)===i}function _n(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function yr(N){return M(N)===l}function Er(N){return M(N)===n}function Vt(N){return M(N)===g}function Tn(N){return M(N)===m}function An(N){return M(N)===r}function xn(N){return M(N)===o}function Cn(N){return M(N)===a}function Nn(N){return M(N)===u}$.AsyncMode=y,$.ConcurrentMode=B,$.ContextConsumer=S,$.ContextProvider=Ee,$.Element=Z,$.ForwardRef=Q,$.Fragment=be,$.Lazy=G,$.Memo=dt,$.Portal=je,$.Profiler=pt,$.StrictMode=X,$.Suspense=Ye,$.isAsyncMode=ve,$.isConcurrentMode=Ke,$.isContextConsumer=me,$.isContextProvider=Ce,$.isElement=_n,$.isForwardRef=yr,$.isFragment=Er,$.isLazy=Vt,$.isMemo=Tn,$.isPortal=An,$.isProfiler=xn,$.isStrictMode=Cn,$.isSuspense=Nn,$.isValidElementType=R,$.typeOf=M}()),$}process.env.NODE_ENV==="production"?Rr.exports=vi():Rr.exports=yi();var Ei=Rr.exports,kr=Ei,Oi={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},_i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ti={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Yn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Lr={};Lr[kr.ForwardRef]=Ti,Lr[kr.Memo]=Yn;function Kn(e){return kr.isMemo(e)?Yn:Lr[e.$$typeof]||Oi}var Ai=Object.defineProperty,xi=Object.getOwnPropertyNames,Jn=Object.getOwnPropertySymbols,Ci=Object.getOwnPropertyDescriptor,Ni=Object.getPrototypeOf,Xn=Object.prototype;function Zn(e,t,r){if(typeof t!="string"){if(Xn){var n=Ni(t);n&&n!==Xn&&Zn(e,n,r)}var a=xi(t);Jn&&(a=a.concat(Jn(t)));for(var o=Kn(e),i=Kn(t),s=0;s<a.length;++s){var c=a[s];if(!_i[c]&&!(r&&r[c])&&!(i&&i[c])&&!(o&&o[c])){var p=Ci(t,c);try{Ai(e,c,p)}catch{}}}}return e}var Si=Zn;const wi=Or(Si);var Ri=function(e,t){return wi(e,t)},ki=!0;function Qn(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}var Pr=function(t,r,n){var a=t.key+"-"+r.name;(n===!1||ki===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},ea=function(t,r,n){Pr(t,r,n);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+a:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Li(e){for(var t=0,r,n=0,a=e.length;a>=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Pi={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},ta=`You have illegal escape sequence in your template literal, most likely inside content's property value.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ii="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Mi=/[A-Z]|^ms/g,ra=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ir=function(t){return t.charCodeAt(1)===45},na=function(t){return t!=null&&typeof t!="boolean"},Mr=zn(function(e){return Ir(e)?e:e.replace(Mi,"-$&").toLowerCase()}),Zt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ra,function(n,a,o){return ye={name:a,styles:o,next:ye},a})}return Pi[t]!==1&&!Ir(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var Di=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,ji=["normal","none","initial","inherit","unset"],Bi=Zt,Ui=/^-ms-/,$i=/-(.)/g,aa={};Zt=function(t,r){if(t==="content"&&(typeof r!="string"||ji.indexOf(r)===-1&&!Di.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=Bi(t,r);return n!==""&&!Ir(t)&&t.indexOf("-")!==-1&&aa[t]===void 0&&(aa[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Ui,"ms-").replace($i,function(a,o){return o.toUpperCase()})+"?")),n}}var oa="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Et(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(oa);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ye={name:r.name,styles:r.styles,next:ye},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ye={name:n.name,styles:n.styles,next:ye},n=n.next;var a=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(a+=r.map),a}return zi(e,t,r)}case"function":{if(e!==void 0){var o=ye,i=r(e);return ye=o,Et(e,t,i)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],c=r.replace(ra,function(l,u,h){var m="animation"+s.length;return s.push("const "+m+" = keyframes`"+h.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+m+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+c+"`"]).join(`
`)+`
You should wrap it with \`css\` like this:
`+("css`"+c+"`"))}break}if(t==null)return r;var p=t[r];return p!==void 0?p:r}function zi(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=Et(e,t,r[a])+";";else for(var o in r){var i=r[o];if(typeof i!="object")t!=null&&t[i]!==void 0?n+=o+"{"+t[i]+"}":na(i)&&(n+=Mr(o)+":"+Zt(o,i)+";");else{if(o==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(oa);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)na(i[s])&&(n+=Mr(o)+":"+Zt(o,i[s])+";");else{var c=Et(e,t,i);switch(o){case"animation":case"animationName":{n+=Mr(o)+":"+c+";";break}default:process.env.NODE_ENV!=="production"&&o==="undefined"&&console.error(Ii),n+=o+"{"+c+"}"}}}}return n}var ia=/label:\s*([^\s;\n{]+)\s*(;|$)/g,sa;process.env.NODE_ENV!=="production"&&(sa=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ye,Dr=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,o="";ye=void 0;var i=t[0];i==null||i.raw===void 0?(a=!1,o+=Et(n,r,i)):(process.env.NODE_ENV!=="production"&&i[0]===void 0&&console.error(ta),o+=i[0]);for(var s=1;s<t.length;s++)o+=Et(n,r,t[s]),a&&(process.env.NODE_ENV!=="production"&&i[s]===void 0&&console.error(ta),o+=i[s]);var c;process.env.NODE_ENV!=="production"&&(o=o.replace(sa,function(h){return c=h,""})),ia.lastIndex=0;for(var p="",l;(l=ia.exec(o))!==null;)p+="-"+l[1];var u=Li(o)+p;return process.env.NODE_ENV!=="production"?{name:u,styles:o,map:c,next:ye,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:u,styles:o,next:ye}},Vi=function(t){return t()},Gi=K.useInsertionEffect?K.useInsertionEffect:!1,la=Gi||Vi,qi={}.hasOwnProperty,jr=K.createContext(typeof HTMLElement<"u"?bi({key:"css"}):null);process.env.NODE_ENV!=="production"&&(jr.displayName="EmotionCacheContext"),jr.Provider;var ca=function(t){return f.forwardRef(function(r,n){var a=f.useContext(jr);return t(r,a,n)})},tt=K.createContext({});process.env.NODE_ENV!=="production"&&(tt.displayName="EmotionThemeContext");var Hi=function(t,r){if(typeof r=="function"){var n=r(t);if(process.env.NODE_ENV!=="production"&&(n==null||typeof n!="object"||Array.isArray(n)))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return n}if(process.env.NODE_ENV!=="production"&&(r==null||typeof r!="object"||Array.isArray(r)))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return yt({},t,r)},Fi=$n(function(e){return $n(function(t){return Hi(e,t)})}),ua=function(t){var r=K.useContext(tt);return t.theme!==r&&(r=Fi(r)(t.theme)),K.createElement(tt.Provider,{value:r},t.children)};function Wi(e){var t=e.displayName||e.name||"Component",r=function(o,i){var s=K.useContext(tt);return K.createElement(e,yt({theme:s,ref:i},o))},n=K.forwardRef(r);return n.displayName="WithTheme("+t+")",Ri(n,e)}var fa="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",da="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Yi=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return Pr(r,n,a),la(function(){return ea(r,n,a)}),null},Ki=ca(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[fa],o=[n],i="";typeof e.className=="string"?i=Qn(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=Dr(o,void 0,K.useContext(tt));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var c=e[da];c&&(s=Dr([s,"label:"+c+";"]))}i+=t.key+"-"+s.name;var p={};for(var l in e)qi.call(e,l)&&l!=="css"&&l!==fa&&(process.env.NODE_ENV==="production"||l!==da)&&(p[l]=e[l]);return p.ref=r,p.className=i,K.createElement(K.Fragment,null,K.createElement(Yi,{cache:t,serialized:s,isStringTag:typeof a=="string"}),K.createElement(a,p))});process.env.NODE_ENV!=="production"&&(Ki.displayName="EmotionCssPropInternal");var Ji=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Xi=zn(function(e){return Ji.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Zi=Xi,Qi=function(t){return t!=="theme"},pa=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Zi:Qi},ha=function(t,r,n){var a;if(r){var o=r.shouldForwardProp;a=t.__emotion_forwardProp&&o?function(i){return t.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=t.__emotion_forwardProp),a},ma=`You have illegal escape sequence in your template literal, most likely inside content's property value.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,es=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return Pr(r,n,a),la(function(){return ea(r,n,a)}),null},ts=function e(t,r){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
You may have forgotten to import it.`);var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=ha(t,r,n),c=s||pa(a),p=!c("as");return function(){var l=arguments,u=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&u.push("label:"+o+";"),l[0]==null||l[0].raw===void 0)u.push.apply(u,l);else{process.env.NODE_ENV!=="production"&&l[0][0]===void 0&&console.error(ma),u.push(l[0][0]);for(var h=l.length,m=1;m<h;m++)process.env.NODE_ENV!=="production"&&l[0][m]===void 0&&console.error(ma),u.push(l[m],l[0][m])}var g=ca(function(b,_,x){var O=p&&b.as||a,R="",M=[],y=b;if(b.theme==null){y={};for(var B in b)y[B]=b[B];y.theme=K.useContext(tt)}typeof b.className=="string"?R=Qn(_.registered,M,b.className):b.className!=null&&(R=b.className+" ");var S=Dr(u.concat(M),_.registered,y);R+=_.key+"-"+S.name,i!==void 0&&(R+=" "+i);var Ee=p&&s===void 0?pa(O):c,Z={};for(var Q in b)p&&Q==="as"||Ee(Q)&&(Z[Q]=b[Q]);return Z.className=R,Z.ref=x,K.createElement(K.Fragment,null,K.createElement(es,{cache:_,serialized:S,isStringTag:typeof O=="string"}),K.createElement(O,Z))});return g.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=u,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return i===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+i}}),g.withComponent=function(b,_){return e(b,yt({},r,_,{shouldForwardProp:ha(g,_,!0)})).apply(void 0,u)},g}},rs=["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","marquee","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","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],rt=ts.bind();rs.forEach(function(e){rt[e]=rt(e)});var ns=Object.create,Br=Object.defineProperty,as=Object.getOwnPropertyDescriptor,ga=Object.getOwnPropertyNames,os=Object.getPrototypeOf,is=Object.prototype.hasOwnProperty,Ur=(e,t)=>function(){return t||(0,e[ga(e)[0]])((t={exports:{}}).exports,t),t.exports},ss=(e,t)=>{for(var r in t)Br(e,r,{get:t[r],enumerable:!0})},ls=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ga(t))!is.call(e,a)&&a!==r&&Br(e,a,{get:()=>t[a],enumerable:!(n=as(t,a))||n.enumerable});return e},cs=(e,t,r)=>(r=e!=null?ns(os(e)):{},ls(!e||!e.__esModule?Br(r,"default",{value:e,enumerable:!0}):r,e)),us=Ur({"node_modules/is-object/index.js"(e,t){t.exports=function(n){return typeof n=="object"&&n!==null}}}),fs=Ur({"node_modules/is-window/index.js"(e,t){t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),ds=Ur({"node_modules/is-dom/index.js"(e,t){var r=us(),n=fs();function a(o){return!r(o)||!n(window)||typeof window.Node!="function"?!1:typeof o.nodeType=="number"&&typeof o.nodeName=="string"}t.exports=a}}),Qt={};ss(Qt,{chromeDark:()=>$r,chromeLight:()=>zr});var $r={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR