UNPKG

simpletext-modal-react

Version:

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

81 lines (67 loc) 68.3 kB
(function(Se,ee){typeof exports=="object"&&typeof module<"u"?ee(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],ee):(Se=typeof globalThis<"u"?globalThis:Se||self,ee(Se["simpletext-modal"]={},Se.React))})(this,function(Se,ee){"use strict";function pn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xe={exports:{}},Ve={};/** * @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 Hr;function hn(){if(Hr)return Ve;Hr=1;var e=ee,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=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,l,g){var h,v={},b=null,E=null;g!==void 0&&(b=""+g),l.key!==void 0&&(b=""+l.key),l.ref!==void 0&&(E=l.ref);for(h in l)n.call(l,h)&&!i.hasOwnProperty(h)&&(v[h]=l[h]);if(d&&d.defaultProps)for(h in l=d.defaultProps,l)v[h]===void 0&&(v[h]=l[h]);return{$$typeof:r,type:d,key:b,ref:E,props:v,_owner:a.current}}return Ve.Fragment=t,Ve.jsx=s,Ve.jsxs=s,Ve}var Ue={};/** * @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 Xr;function yn(){return Xr||(Xr=1,process.env.NODE_ENV!=="production"&&function(){var e=ee,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=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"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),M=Symbol.iterator,T="@@iterator";function z(o){if(o===null||typeof o!="object")return null;var u=M&&o[M]||o[T];return typeof u=="function"?u:null}var F=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(o){{for(var u=arguments.length,m=new Array(u>1?u-1:0),_=1;_<u;_++)m[_-1]=arguments[_];x("error",o,m)}}function x(o,u,m){{var _=F.ReactDebugCurrentFrame,B=_.getStackAddendum();B!==""&&(u+="%s",m=m.concat([B]));var G=m.map(function(W){return String(W)});G.unshift("Warning: "+u),Function.prototype.apply.call(console[o],console,G)}}var P=!1,f=!1,j=!1,C=!1,ue=!1,fe;fe=Symbol.for("react.module.reference");function Ce(o){return!!(typeof o=="string"||typeof o=="function"||o===n||o===i||ue||o===a||o===g||o===h||C||o===E||P||f||j||typeof o=="object"&&o!==null&&(o.$$typeof===b||o.$$typeof===v||o.$$typeof===s||o.$$typeof===d||o.$$typeof===l||o.$$typeof===fe||o.getModuleId!==void 0))}function Ee(o,u,m){var _=o.displayName;if(_)return _;var B=u.displayName||u.name||"";return B!==""?m+"("+B+")":m}function we(o){return o.displayName||"Context"}function ne(o){if(o==null)return null;if(typeof o.tag=="number"&&k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case n:return"Fragment";case t:return"Portal";case i:return"Profiler";case a:return"StrictMode";case g:return"Suspense";case h:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case d:var u=o;return we(u)+".Consumer";case s:var m=o;return we(m._context)+".Provider";case l:return Ee(o,o.render,"ForwardRef");case v:var _=o.displayName||null;return _!==null?_:ne(o.type)||"Memo";case b:{var B=o,G=B._payload,W=B._init;try{return ne(W(G))}catch{return null}}}return null}var re=Object.assign,ye=0,oe,se,me,te,c,y,w;function I(){}I.__reactDisabledLog=!0;function R(){{if(ye===0){oe=console.log,se=console.info,me=console.warn,te=console.error,c=console.group,y=console.groupCollapsed,w=console.groupEnd;var o={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}ye++}}function Y(){{if(ye--,ye===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},o,{value:oe}),info:re({},o,{value:se}),warn:re({},o,{value:me}),error:re({},o,{value:te}),group:re({},o,{value:c}),groupCollapsed:re({},o,{value:y}),groupEnd:re({},o,{value:w})})}ye<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var S=F.ReactCurrentDispatcher,O;function A(o,u,m){{if(O===void 0)try{throw Error()}catch(B){var _=B.stack.trim().match(/\n( *(at )?)/);O=_&&_[1]||""}return` `+O+o}}var D=!1,$;{var X=typeof WeakMap=="function"?WeakMap:Map;$=new X}function p(o,u){if(!o||D)return"";{var m=$.get(o);if(m!==void 0)return m}var _;D=!0;var B=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var G;G=S.current,S.current=null,R();try{if(u){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(ce){_=ce}Reflect.construct(o,[],W)}else{try{W.call()}catch(ce){_=ce}o.call(W.prototype)}}else{try{throw Error()}catch(ce){_=ce}o()}}catch(ce){if(ce&&_&&typeof ce.stack=="string"){for(var L=ce.stack.split(` `),ae=_.stack.split(` `),J=L.length-1,Z=ae.length-1;J>=1&&Z>=0&&L[J]!==ae[Z];)Z--;for(;J>=1&&Z>=0;J--,Z--)if(L[J]!==ae[Z]){if(J!==1||Z!==1)do if(J--,Z--,Z<0||L[J]!==ae[Z]){var pe=` `+L[J].replace(" at new "," at ");return o.displayName&&pe.includes("<anonymous>")&&(pe=pe.replace("<anonymous>",o.displayName)),typeof o=="function"&&$.set(o,pe),pe}while(J>=1&&Z>=0);break}}}finally{D=!1,S.current=G,Y(),Error.prepareStackTrace=B}var qe=o?o.displayName||o.name:"",ke=qe?A(qe):"";return typeof o=="function"&&$.set(o,ke),ke}function de(o,u,m){return p(o,!1)}function We(o){var u=o.prototype;return!!(u&&u.isReactComponent)}function Oe(o,u,m){if(o==null)return"";if(typeof o=="function")return p(o,We(o));if(typeof o=="string")return A(o);switch(o){case g:return A("Suspense");case h:return A("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case l:return de(o.render);case v:return Oe(o.type,u,m);case b:{var _=o,B=_._payload,G=_._init;try{return Oe(G(B),u,m)}catch{}}}return""}var He=Object.prototype.hasOwnProperty,Zt={},Qt=F.ReactDebugCurrentFrame;function gr(o){if(o){var u=o._owner,m=Oe(o.type,o._source,u?u.type:null);Qt.setExtraStackFrame(m)}else Qt.setExtraStackFrame(null)}function No(o,u,m,_,B){{var G=Function.call.bind(He);for(var W in o)if(G(o,W)){var L=void 0;try{if(typeof o[W]!="function"){var ae=Error((_||"React class")+": "+m+" type `"+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[W]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ae.name="Invariant Violation",ae}L=o[W](u,W,_,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(J){L=J}L&&!(L instanceof Error)&&(gr(B),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).",_||"React class",m,W,typeof L),gr(null)),L instanceof Error&&!(L.message in Zt)&&(Zt[L.message]=!0,gr(B),k("Failed %s type: %s",m,L.message),gr(null))}}}var Mo=Array.isArray;function qr(o){return Mo(o)}function Fo(o){{var u=typeof Symbol=="function"&&Symbol.toStringTag,m=u&&o[Symbol.toStringTag]||o.constructor.name||"Object";return m}}function Yo(o){try{return en(o),!1}catch{return!0}}function en(o){return""+o}function rn(o){if(Yo(o))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Fo(o)),en(o)}var tn=F.ReactCurrentOwner,Lo={key:!0,ref:!0,__self:!0,__source:!0},nn,on;function Wo(o){if(He.call(o,"ref")){var u=Object.getOwnPropertyDescriptor(o,"ref").get;if(u&&u.isReactWarning)return!1}return o.ref!==void 0}function zo(o){if(He.call(o,"key")){var u=Object.getOwnPropertyDescriptor(o,"key").get;if(u&&u.isReactWarning)return!1}return o.key!==void 0}function qo(o,u){typeof o.ref=="string"&&tn.current}function Vo(o,u){{var m=function(){nn||(nn=!0,k("%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)",u))};m.isReactWarning=!0,Object.defineProperty(o,"key",{get:m,configurable:!0})}}function Uo(o,u){{var m=function(){on||(on=!0,k("%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)",u))};m.isReactWarning=!0,Object.defineProperty(o,"ref",{get:m,configurable:!0})}}var Bo=function(o,u,m,_,B,G,W){var L={$$typeof:r,type:o,key:u,ref:m,props:W,_owner:G};return L._store={},Object.defineProperty(L._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(L,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty(L,"_source",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.freeze&&(Object.freeze(L.props),Object.freeze(L)),L};function Go(o,u,m,_,B){{var G,W={},L=null,ae=null;m!==void 0&&(rn(m),L=""+m),zo(u)&&(rn(u.key),L=""+u.key),Wo(u)&&(ae=u.ref,qo(u,B));for(G in u)He.call(u,G)&&!Lo.hasOwnProperty(G)&&(W[G]=u[G]);if(o&&o.defaultProps){var J=o.defaultProps;for(G in J)W[G]===void 0&&(W[G]=J[G])}if(L||ae){var Z=typeof o=="function"?o.displayName||o.name||"Unknown":o;L&&Vo(W,Z),ae&&Uo(W,Z)}return Bo(o,L,ae,B,_,tn.current,W)}}var Vr=F.ReactCurrentOwner,an=F.ReactDebugCurrentFrame;function ze(o){if(o){var u=o._owner,m=Oe(o.type,o._source,u?u.type:null);an.setExtraStackFrame(m)}else an.setExtraStackFrame(null)}var Ur;Ur=!1;function Br(o){return typeof o=="object"&&o!==null&&o.$$typeof===r}function sn(){{if(Vr.current){var o=ne(Vr.current.type);if(o)return` Check the render method of \``+o+"`."}return""}}function Ho(o){return""}var cn={};function Xo(o){{var u=sn();if(!u){var m=typeof o=="string"?o:o.displayName||o.name;m&&(u=` Check the top-level render call using <`+m+">.")}return u}}function un(o,u){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var m=Xo(u);if(cn[m])return;cn[m]=!0;var _="";o&&o._owner&&o._owner!==Vr.current&&(_=" It was passed a child from "+ne(o._owner.type)+"."),ze(o),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',m,_),ze(null)}}function fn(o,u){{if(typeof o!="object")return;if(qr(o))for(var m=0;m<o.length;m++){var _=o[m];Br(_)&&un(_,u)}else if(Br(o))o._store&&(o._store.validated=!0);else if(o){var B=z(o);if(typeof B=="function"&&B!==o.entries)for(var G=B.call(o),W;!(W=G.next()).done;)Br(W.value)&&un(W.value,u)}}}function Jo(o){{var u=o.type;if(u==null||typeof u=="string")return;var m;if(typeof u=="function")m=u.propTypes;else if(typeof u=="object"&&(u.$$typeof===l||u.$$typeof===v))m=u.propTypes;else return;if(m){var _=ne(u);No(m,o.props,"prop",_,o)}else if(u.PropTypes!==void 0&&!Ur){Ur=!0;var B=ne(u);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",B||"Unknown")}typeof u.getDefaultProps=="function"&&!u.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ko(o){{for(var u=Object.keys(o.props),m=0;m<u.length;m++){var _=u[m];if(_!=="children"&&_!=="key"){ze(o),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_),ze(null);break}}o.ref!==null&&(ze(o),k("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}var ln={};function dn(o,u,m,_,B,G){{var W=Ce(o);if(!W){var L="";(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(L+=" 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 ae=Ho();ae?L+=ae:L+=sn();var J;o===null?J="null":qr(o)?J="array":o!==void 0&&o.$$typeof===r?(J="<"+(ne(o.type)||"Unknown")+" />",L=" Did you accidentally export a JSX literal instead of a component?"):J=typeof o,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",J,L)}var Z=Go(o,u,m,B,G);if(Z==null)return Z;if(W){var pe=u.children;if(pe!==void 0)if(_)if(qr(pe)){for(var qe=0;qe<pe.length;qe++)fn(pe[qe],o);Object.freeze&&Object.freeze(pe)}else k("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 fn(pe,o)}if(He.call(u,"key")){var ke=ne(o),ce=Object.keys(u).filter(function(na){return na!=="key"}),Gr=ce.length>0?"{key: someKey, "+ce.join(": ..., ")+": ...}":"{key: someKey}";if(!ln[ke+Gr]){var ta=ce.length>0?"{"+ce.join(": ..., ")+": ...}":"{}";k(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,Gr,ke,ta,ke),ln[ke+Gr]=!0}}return o===n?Ko(Z):Jo(Z),Z}}function Zo(o,u,m){return dn(o,u,m,!0)}function Qo(o,u,m){return dn(o,u,m,!1)}var ea=Qo,ra=Zo;Ue.Fragment=n,Ue.jsx=ea,Ue.jsxs=ra}()),Ue}var Jr;function vn(){return Jr||(Jr=1,process.env.NODE_ENV==="production"?Xe.exports=hn():Xe.exports=yn()),Xe.exports}var Ae=vn(),Je={exports:{}},Ke={exports:{}},q={};/** @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 Kr;function mn(){if(Kr)return q;Kr=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,g=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,v=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,E=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,T=e?Symbol.for("react.block"):60121,z=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function x(f){if(typeof f=="object"&&f!==null){var j=f.$$typeof;switch(j){case r:switch(f=f.type,f){case l:case g:case n:case i:case a:case v:return f;default:switch(f=f&&f.$$typeof,f){case d:case h:case M:case E:case s:return f;default:return j}}case t:return j}}}function P(f){return x(f)===g}return q.AsyncMode=l,q.ConcurrentMode=g,q.ContextConsumer=d,q.ContextProvider=s,q.Element=r,q.ForwardRef=h,q.Fragment=n,q.Lazy=M,q.Memo=E,q.Portal=t,q.Profiler=i,q.StrictMode=a,q.Suspense=v,q.isAsyncMode=function(f){return P(f)||x(f)===l},q.isConcurrentMode=P,q.isContextConsumer=function(f){return x(f)===d},q.isContextProvider=function(f){return x(f)===s},q.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===r},q.isForwardRef=function(f){return x(f)===h},q.isFragment=function(f){return x(f)===n},q.isLazy=function(f){return x(f)===M},q.isMemo=function(f){return x(f)===E},q.isPortal=function(f){return x(f)===t},q.isProfiler=function(f){return x(f)===i},q.isStrictMode=function(f){return x(f)===a},q.isSuspense=function(f){return x(f)===v},q.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===g||f===i||f===a||f===v||f===b||typeof f=="object"&&f!==null&&(f.$$typeof===M||f.$$typeof===E||f.$$typeof===s||f.$$typeof===d||f.$$typeof===h||f.$$typeof===z||f.$$typeof===F||f.$$typeof===k||f.$$typeof===T)},q.typeOf=x,q}var V={};/** @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 Zr;function gn(){return Zr||(Zr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,g=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,v=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,E=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,T=e?Symbol.for("react.block"):60121,z=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function x(p){return typeof p=="string"||typeof p=="function"||p===n||p===g||p===i||p===a||p===v||p===b||typeof p=="object"&&p!==null&&(p.$$typeof===M||p.$$typeof===E||p.$$typeof===s||p.$$typeof===d||p.$$typeof===h||p.$$typeof===z||p.$$typeof===F||p.$$typeof===k||p.$$typeof===T)}function P(p){if(typeof p=="object"&&p!==null){var de=p.$$typeof;switch(de){case r:var We=p.type;switch(We){case l:case g:case n:case i:case a:case v:return We;default:var Oe=We&&We.$$typeof;switch(Oe){case d:case h:case M:case E:case s:return Oe;default:return de}}case t:return de}}}var f=l,j=g,C=d,ue=s,fe=r,Ce=h,Ee=n,we=M,ne=E,re=t,ye=i,oe=a,se=v,me=!1;function te(p){return me||(me=!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.")),c(p)||P(p)===l}function c(p){return P(p)===g}function y(p){return P(p)===d}function w(p){return P(p)===s}function I(p){return typeof p=="object"&&p!==null&&p.$$typeof===r}function R(p){return P(p)===h}function Y(p){return P(p)===n}function S(p){return P(p)===M}function O(p){return P(p)===E}function A(p){return P(p)===t}function D(p){return P(p)===i}function $(p){return P(p)===a}function X(p){return P(p)===v}V.AsyncMode=f,V.ConcurrentMode=j,V.ContextConsumer=C,V.ContextProvider=ue,V.Element=fe,V.ForwardRef=Ce,V.Fragment=Ee,V.Lazy=we,V.Memo=ne,V.Portal=re,V.Profiler=ye,V.StrictMode=oe,V.Suspense=se,V.isAsyncMode=te,V.isConcurrentMode=c,V.isContextConsumer=y,V.isContextProvider=w,V.isElement=I,V.isForwardRef=R,V.isFragment=Y,V.isLazy=S,V.isMemo=O,V.isPortal=A,V.isProfiler=D,V.isStrictMode=$,V.isSuspense=X,V.isValidElementType=x,V.typeOf=P}()),V}var Qr;function et(){return Qr||(Qr=1,process.env.NODE_ENV==="production"?Ke.exports=mn():Ke.exports=gn()),Ke.exports}/* object-assign (c) Sindre Sorhus @license MIT */var br,rt;function bn(){if(rt)return br;rt=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function a(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},d=0;d<10;d++)s["_"+String.fromCharCode(d)]=d;var l=Object.getOwnPropertyNames(s).map(function(h){return s[h]});if(l.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(h){g[h]=h}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return br=a()?Object.assign:function(i,s){for(var d,l=n(i),g,h=1;h<arguments.length;h++){d=Object(arguments[h]);for(var v in d)r.call(d,v)&&(l[v]=d[v]);if(e){g=e(d);for(var b=0;b<g.length;b++)t.call(d,g[b])&&(l[g[b]]=d[g[b]])}}return l},br}var Er,tt;function wr(){if(tt)return Er;tt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Er=e,Er}var Sr,nt;function ot(){return nt||(nt=1,Sr=Function.call.bind(Object.prototype.hasOwnProperty)),Sr}var Tr,at;function En(){if(at)return Tr;at=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=wr(),t={},n=ot();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function a(i,s,d,l,g){if(process.env.NODE_ENV!=="production"){for(var h in i)if(n(i,h)){var v;try{if(typeof i[h]!="function"){var b=Error((l||"React class")+": "+d+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}v=i[h](s,h,l,d,null,r)}catch(M){v=M}if(v&&!(v instanceof Error)&&e((l||"React class")+": type specification of "+d+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof v+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),v instanceof Error&&!(v.message in t)){t[v.message]=!0;var E=g?g():"";e("Failed "+d+" type: "+v.message+(E??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},Tr=a,Tr}var Rr,it;function wn(){if(it)return Rr;it=1;var e=et(),r=bn(),t=wr(),n=ot(),a=En(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(d){var l="Warning: "+d;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function s(){return null}return Rr=function(d,l){var g=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function v(c){var y=c&&(g&&c[g]||c[h]);if(typeof y=="function")return y}var b="<<anonymous>>",E={array:F("array"),bigint:F("bigint"),bool:F("boolean"),func:F("function"),number:F("number"),object:F("object"),string:F("string"),symbol:F("symbol"),any:k(),arrayOf:x,element:P(),elementType:f(),instanceOf:j,node:Ce(),objectOf:ue,oneOf:C,oneOfType:fe,shape:we,exact:ne};function M(c,y){return c===y?c!==0||1/c===1/y:c!==c&&y!==y}function T(c,y){this.message=c,this.data=y&&typeof y=="object"?y:{},this.stack=""}T.prototype=Error.prototype;function z(c){if(process.env.NODE_ENV!=="production")var y={},w=0;function I(Y,S,O,A,D,$,X){if(A=A||b,$=$||O,X!==t){if(l){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var de=A+":"+O;!y[de]&&w<3&&(i("You are manually calling a React.PropTypes validation function for the `"+$+"` prop on `"+A+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),y[de]=!0,w++)}}return S[O]==null?Y?S[O]===null?new T("The "+D+" `"+$+"` is marked as required "+("in `"+A+"`, but its value is `null`.")):new T("The "+D+" `"+$+"` is marked as required in "+("`"+A+"`, but its value is `undefined`.")):null:c(S,O,A,D,$)}var R=I.bind(null,!1);return R.isRequired=I.bind(null,!0),R}function F(c){function y(w,I,R,Y,S,O){var A=w[I],D=oe(A);if(D!==c){var $=se(A);return new T("Invalid "+Y+" `"+S+"` of type "+("`"+$+"` supplied to `"+R+"`, expected ")+("`"+c+"`."),{expectedType:c})}return null}return z(y)}function k(){return z(s)}function x(c){function y(w,I,R,Y,S){if(typeof c!="function")return new T("Property `"+S+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var O=w[I];if(!Array.isArray(O)){var A=oe(O);return new T("Invalid "+Y+" `"+S+"` of type "+("`"+A+"` supplied to `"+R+"`, expected an array."))}for(var D=0;D<O.length;D++){var $=c(O,D,R,Y,S+"["+D+"]",t);if($ instanceof Error)return $}return null}return z(y)}function P(){function c(y,w,I,R,Y){var S=y[w];if(!d(S)){var O=oe(S);return new T("Invalid "+R+" `"+Y+"` of type "+("`"+O+"` supplied to `"+I+"`, expected a single ReactElement."))}return null}return z(c)}function f(){function c(y,w,I,R,Y){var S=y[w];if(!e.isValidElementType(S)){var O=oe(S);return new T("Invalid "+R+" `"+Y+"` of type "+("`"+O+"` supplied to `"+I+"`, expected a single ReactElement type."))}return null}return z(c)}function j(c){function y(w,I,R,Y,S){if(!(w[I]instanceof c)){var O=c.name||b,A=te(w[I]);return new T("Invalid "+Y+" `"+S+"` of type "+("`"+A+"` supplied to `"+R+"`, expected ")+("instance of `"+O+"`."))}return null}return z(y)}function C(c){if(!Array.isArray(c))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),s;function y(w,I,R,Y,S){for(var O=w[I],A=0;A<c.length;A++)if(M(O,c[A]))return null;var D=JSON.stringify(c,function(X,p){var de=se(p);return de==="symbol"?String(p):p});return new T("Invalid "+Y+" `"+S+"` of value `"+String(O)+"` "+("supplied to `"+R+"`, expected one of "+D+"."))}return z(y)}function ue(c){function y(w,I,R,Y,S){if(typeof c!="function")return new T("Property `"+S+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var O=w[I],A=oe(O);if(A!=="object")return new T("Invalid "+Y+" `"+S+"` of type "+("`"+A+"` supplied to `"+R+"`, expected an object."));for(var D in O)if(n(O,D)){var $=c(O,D,R,Y,S+"."+D,t);if($ instanceof Error)return $}return null}return z(y)}function fe(c){if(!Array.isArray(c))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var y=0;y<c.length;y++){var w=c[y];if(typeof w!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+me(w)+" at index "+y+"."),s}function I(R,Y,S,O,A){for(var D=[],$=0;$<c.length;$++){var X=c[$],p=X(R,Y,S,O,A,t);if(p==null)return null;p.data&&n(p.data,"expectedType")&&D.push(p.data.expectedType)}var de=D.length>0?", expected one of type ["+D.join(", ")+"]":"";return new T("Invalid "+O+" `"+A+"` supplied to "+("`"+S+"`"+de+"."))}return z(I)}function Ce(){function c(y,w,I,R,Y){return re(y[w])?null:new T("Invalid "+R+" `"+Y+"` supplied to "+("`"+I+"`, expected a ReactNode."))}return z(c)}function Ee(c,y,w,I,R){return new T((c||"React class")+": "+y+" type `"+w+"."+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function we(c){function y(w,I,R,Y,S){var O=w[I],A=oe(O);if(A!=="object")return new T("Invalid "+Y+" `"+S+"` of type `"+A+"` "+("supplied to `"+R+"`, expected `object`."));for(var D in c){var $=c[D];if(typeof $!="function")return Ee(R,Y,S,D,se($));var X=$(O,D,R,Y,S+"."+D,t);if(X)return X}return null}return z(y)}function ne(c){function y(w,I,R,Y,S){var O=w[I],A=oe(O);if(A!=="object")return new T("Invalid "+Y+" `"+S+"` of type `"+A+"` "+("supplied to `"+R+"`, expected `object`."));var D=r({},w[I],c);for(var $ in D){var X=c[$];if(n(c,$)&&typeof X!="function")return Ee(R,Y,S,$,se(X));if(!X)return new T("Invalid "+Y+" `"+S+"` key `"+$+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(w[I],null," ")+` Valid keys: `+JSON.stringify(Object.keys(c),null," "));var p=X(O,$,R,Y,S+"."+$,t);if(p)return p}return null}return z(y)}function re(c){switch(typeof c){case"number":case"string":case"undefined":return!0;case"boolean":return!c;case"object":if(Array.isArray(c))return c.every(re);if(c===null||d(c))return!0;var y=v(c);if(y){var w=y.call(c),I;if(y!==c.entries){for(;!(I=w.next()).done;)if(!re(I.value))return!1}else for(;!(I=w.next()).done;){var R=I.value;if(R&&!re(R[1]))return!1}}else return!1;return!0;default:return!1}}function ye(c,y){return c==="symbol"?!0:y?y["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&y instanceof Symbol:!1}function oe(c){var y=typeof c;return Array.isArray(c)?"array":c instanceof RegExp?"object":ye(y,c)?"symbol":y}function se(c){if(typeof c>"u"||c===null)return""+c;var y=oe(c);if(y==="object"){if(c instanceof Date)return"date";if(c instanceof RegExp)return"regexp"}return y}function me(c){var y=se(c);switch(y){case"array":case"object":return"an "+y;case"boolean":case"date":case"regexp":return"a "+y;default:return y}}function te(c){return!c.constructor||!c.constructor.name?b:c.constructor.name}return E.checkPropTypes=a,E.resetWarningCache=a.resetWarningCache,E.PropTypes=E,E},Rr}var _r,st;function Sn(){if(st)return _r;st=1;var e=wr();function r(){}function t(){}return t.resetWarningCache=r,_r=function(){function n(s,d,l,g,h,v){if(v!==e){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}n.isRequired=n;function a(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:t,resetWarningCache:r};return i.PropTypes=i,i},_r}var ct;function Tn(){if(ct)return Je.exports;if(ct=1,process.env.NODE_ENV!=="production"){var e=et(),r=!0;Je.exports=wn()(e.isElement,r)}else Je.exports=Sn()();return Je.exports}var Rn=Tn();const Ze=pn(Rn);var ie=function(){return ie=Object.assign||function(r){for(var t,n=1,a=arguments.length;n<a;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},ie.apply(this,arguments)};function je(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}typeof SuppressedError=="function"&&SuppressedError;function _n(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var xn=/^((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)-.*))$/,Pn=_n(function(e){return xn.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),H="-ms-",Be="-moz-",U="-webkit-",ut="comm",Qe="rule",xr="decl",Cn="@import",ft="@keyframes",On="@layer",lt=Math.abs,Pr=String.fromCharCode,Cr=Object.assign;function kn(e,r){return Q(e,0)^45?(((r<<2^Q(e,0))<<2^Q(e,1))<<2^Q(e,2))<<2^Q(e,3):0}function dt(e){return e.trim()}function ge(e,r){return(e=r.exec(e))?e[0]:e}function N(e,r,t){return e.replace(r,t)}function er(e,r,t){return e.indexOf(r,t)}function Q(e,r){return e.charCodeAt(r)|0}function Ie(e,r,t){return e.slice(r,t)}function ve(e){return e.length}function pt(e){return e.length}function Ge(e,r){return r.push(e),e}function An(e,r){return e.map(r).join("")}function ht(e,r){return e.filter(function(t){return!ge(t,r)})}var rr=1,De=1,yt=0,le=0,K=0,$e="";function tr(e,r,t,n,a,i,s,d){return{value:e,root:r,parent:t,type:n,props:a,children:i,line:rr,column:De,length:s,return:"",siblings:d}}function be(e,r){return Cr(tr("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function Ne(e){for(;e.root;)e=be(e.root,{children:[e]});Ge(e,e.siblings)}function jn(){return K}function In(){return K=le>0?Q($e,--le):0,De--,K===10&&(De=1,rr--),K}function he(){return K=le<yt?Q($e,le++):0,De++,K===10&&(De=1,rr++),K}function Te(){return Q($e,le)}function nr(){return le}function or(e,r){return Ie($e,e,r)}function Or(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 rr=De=1,yt=ve($e=e),le=0,[]}function $n(e){return $e="",e}function kr(e){return dt(or(le-1,Ar(e===91?e+2:e===40?e+1:e)))}function Nn(e){for(;(K=Te())&&K<33;)he();return Or(e)>2||Or(K)>3?"":" "}function Mn(e,r){for(;--r&&he()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return or(e,nr()+(r<6&&Te()==32&&he()==32))}function Ar(e){for(;he();)switch(K){case e:return le;case 34:case 39:e!==34&&e!==39&&Ar(K);break;case 40:e===41&&Ar(e);break;case 92:he();break}return le}function Fn(e,r){for(;he()&&e+K!==57;)if(e+K===84&&Te()===47)break;return"/*"+or(r,le-1)+"*"+Pr(e===47?e:he())}function Yn(e){for(;!Or(Te());)he();return or(e,le)}function Ln(e){return $n(ar("",null,null,null,[""],e=Dn(e),0,[0],e))}function ar(e,r,t,n,a,i,s,d,l){for(var g=0,h=0,v=s,b=0,E=0,M=0,T=1,z=1,F=1,k=0,x="",P=a,f=i,j=n,C=x;z;)switch(M=k,k=he()){case 40:if(M!=108&&Q(C,v-1)==58){er(C+=N(kr(k),"&","&\f"),"&\f",lt(g?d[g-1]:0))!=-1&&(F=-1);break}case 34:case 39:case 91:C+=kr(k);break;case 9:case 10:case 13:case 32:C+=Nn(M);break;case 92:C+=Mn(nr()-1,7);continue;case 47:switch(Te()){case 42:case 47:Ge(Wn(Fn(he(),nr()),r,t,l),l);break;default:C+="/"}break;case 123*T:d[g++]=ve(C)*F;case 125*T:case 59:case 0:switch(k){case 0:case 125:z=0;case 59+h:F==-1&&(C=N(C,/\f/g,"")),E>0&&ve(C)-v&&Ge(E>32?mt(C+";",n,t,v-1,l):mt(N(C," ","")+";",n,t,v-2,l),l);break;case 59:C+=";";default:if(Ge(j=vt(C,r,t,g,h,a,d,x,P=[],f=[],v,i),i),k===123)if(h===0)ar(C,r,j,j,P,i,v,d,f);else switch(b===99&&Q(C,3)===110?100:b){case 100:case 108:case 109:case 115:ar(e,j,j,n&&Ge(vt(e,j,j,0,0,a,d,x,a,P=[],v,f),f),a,f,v,d,n?P:f);break;default:ar(C,j,j,j,[""],f,0,d,f)}}g=h=E=0,T=F=1,x=C="",v=s;break;case 58:v=1+ve(C),E=M;default:if(T<1){if(k==123)--T;else if(k==125&&T++==0&&In()==125)continue}switch(C+=Pr(k),k*T){case 38:F=h>0?1:(C+="\f",-1);break;case 44:d[g++]=(ve(C)-1)*F,F=1;break;case 64:Te()===45&&(C+=kr(he())),b=Te(),h=v=ve(x=C+=Yn(nr())),k++;break;case 45:M===45&&ve(C)==2&&(T=0)}}return i}function vt(e,r,t,n,a,i,s,d,l,g,h,v){for(var b=a-1,E=a===0?i:[""],M=pt(E),T=0,z=0,F=0;T<n;++T)for(var k=0,x=Ie(e,b+1,b=lt(z=s[T])),P=e;k<M;++k)(P=dt(z>0?E[k]+" "+x:N(x,/&\f/g,E[k])))&&(l[F++]=P);return tr(e,r,t,a===0?Qe:d,l,g,h,v)}function Wn(e,r,t,n){return tr(e,r,t,ut,Pr(jn()),Ie(e,2,-2),0,n)}function mt(e,r,t,n,a){return tr(e,r,t,xr,Ie(e,0,n),Ie(e,n+1,-1),n,a)}function gt(e,r,t){switch(kn(e,r)){case 5103:return U+"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 U+e+e;case 4789:return Be+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+Be+e+H+e+e;case 5936:switch(Q(e,r+11)){case 114:return U+e+H+N(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+H+N(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+H+N(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return U+e+H+e+e;case 6165:return U+e+H+"flex-"+e+e;case 5187:return U+e+N(e,/(\w+).+(:[^]+)/,U+"box-$1$2"+H+"flex-$1$2")+e;case 5443:return U+e+H+"flex-item-"+N(e,/flex-|-self/g,"")+(ge(e,/flex-|baseline/)?"":H+"grid-row-"+N(e,/flex-|-self/g,""))+e;case 4675:return U+e+H+"flex-line-pack"+N(e,/align-content|flex-|-self/g,"")+e;case 5548:return U+e+H+N(e,"shrink","negative")+e;case 5292:return U+e+H+N(e,"basis","preferred-size")+e;case 6060:return U+"box-"+N(e,"-grow","")+U+e+H+N(e,"grow","positive")+e;case 4554:return U+N(e,/([^-])(transform)/g,"$1"+U+"$2")+e;case 6187:return N(N(N(e,/(zoom-|grab)/,U+"$1"),/(image-set)/,U+"$1"),e,"")+e;case 5495:case 3959:return N(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return N(N(e,/(.+:)(flex-)?(.*)/,U+"box-pack:$3"+H+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+U+e+e;case 4200:if(!ge(e,/flex-|baseline/))return H+"grid-column-align"+Ie(e,r)+e;break;case 2592:case 3360:return H+N(e,"template-","")+e;case 4384:case 3616:return t&&t.some(function(n,a){return r=a,ge(n.props,/grid-\w+-end/)})?~er(e+(t=t[r].value),"span",0)?e:H+N(e,"-start","")+e+H+"grid-row-span:"+(~er(t,"span",0)?ge(t,/\d+/):+ge(t,/\d+/)-+ge(e,/\d+/))+";":H+N(e,"-start","")+e;case 4896:case 4128:return t&&t.some(function(n){return ge(n.props,/grid-\w+-start/)})?e:H+N(N(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return N(e,/(.+)-inline(.+)/,U+"$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(ve(e)-1-r>6)switch(Q(e,r+1)){case 109:if(Q(e,r+4)!==45)break;case 102:return N(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+Be+(Q(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~er(e,"stretch",0)?gt(N(e,"stretch","fill-available"),r,t)+e:e}break;case 5152:case 5920:return N(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,s,d,l,g){return H+a+":"+i+g+(s?H+a+"-span:"+(d?l:+l-+i)+g:"")+e});case 4949:if(Q(e,r+6)===121)return N(e,":",":"+U)+e;break;case 6444:switch(Q(e,Q(e,14)===45?18:11)){case 120:return N(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+U+(Q(e,14)===45?"inline-":"")+"box$3$1"+U+"$2$3$1"+H+"$2box$3")+e;case 100:return N(e,":",":"+H)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return N(e,"scroll-","scroll-snap-")+e}return e}function ir(e,r){for(var t="",n=0;n<e.length;n++)t+=r(e[n],n,e,r)||"";return t}function zn(e,r,t,n){switch(e.type){case On:if(e.children.length)break;case Cn:case xr:return e.return=e.return||e.value;case ut:return"";case ft:return e.return=e.value+"{"+ir(e.children,n)+"}";case Qe:if(!ve(e.value=e.props.join(",")))return""}return ve(t=ir(e.children,n))?e.return=e.value+"{"+t+"}":""}function qn(e){var r=pt(e);return function(t,n,a,i){for(var s="",d=0;d<r;d++)s+=e[d](t,n,a,i)||"";return s}}function Vn(e){return function(r){r.root||(r=r.return)&&e(r)}}function Un(e,r,t,n){if(e.length>-1&&!e.return)switch(e.type){case xr:e.return=gt(e.value,e.length,t);return;case ft:return ir([be(e,{value:N(e.value,"@","@"+U)})],n);case Qe:if(e.length)return An(t=e.props,function(a){switch(ge(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ne(be(e,{props:[N(a,/:(read-\w+)/,":"+Be+"$1")]})),Ne(be(e,{props:[a]})),Cr(e,{props:ht(t,n)});break;case"::placeholder":Ne(be(e,{props:[N(a,/:(plac\w+)/,":"+U+"input-$1")]})),Ne(be(e,{props:[N(a,/:(plac\w+)/,":"+Be+"$1")]})),Ne(be(e,{props:[N(a,/:(plac\w+)/,H+"input-$1")]})),Ne(be(e,{props:[a]})),Cr(e,{props:ht(t,n)});break}return""})}}var Bn={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",bt="active",Et="data-styled-version",sr="6.1.13",jr=`/*!sc*/ `,cr=typeof window<"u"&&"HTMLElement"in window,Gn=!!(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"),wt=/invalid hook call/i,ur=new Set,Hn=function(e,r){if(process.env.NODE_ENV!=="production"){var t=r?' with the id of "'.concat(r,'"'):"",n="The component ".concat(e).concat(t,` 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=[],l=1;l<arguments.length;l++)d[l-1]=arguments[l];wt.test(s)?(i=!1,ur.delete(n)):a.apply(void 0,je([s],d,!1))},ee.useRef(),i&&!ur.has(n)&&(console.warn(n),ur.add(n))}catch(s){wt.test(s.message)&&ur.delete(n)}finally{console.error=a}}},fr=Object.freeze([]),Me=Object.freeze({});function Xn(e,r,t){return t===void 0&&(t=Me),e.theme!==t.theme&&e.theme||r||t.theme}var Ir=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Jn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Kn=/(^-|-$)/g;function St(e){return e.replace(Jn,"-").replace(Kn,"")}var Zn=/(a)(d)/gi,lr=52,Tt=function(e){return String.fromCharCode(e+(e>25?39:97))};function Dr(e){var r,t="";for(r=Math.abs(e);r>lr;r=r/lr|0)t=Tt(r%lr)+t;return(Tt(r%lr)+t).replace(Zn,"$1-$2")}var $r,Rt=5381,_e=function(e,r){for(var t=r.length;t;)e=33*e^r.charCodeAt(--t);return e},_t=function(e){return _e(Rt,e)};function Qn(e){return Dr(_t(e)>>>0)}function xt(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Nr(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Pt=typeof Symbol=="function"&&Symbol.for,Ct=Pt?Symbol.for("react.memo"):60115,eo=Pt?Symbol.for("react.forward_ref"):60112,ro={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},to={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ot={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},no=(($r={})[eo]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$r[Ct]=Ot,$r);function kt(e){return("type"in(r=e)&&r.type.$$typeof)===Ct?Ot:"$$typeof"in e?no[e.$$typeof]:ro;var r}var oo=Object.defineProperty,ao=Object.getOwnPropertyNames,At=Object.getOwnPropertySymbols,io=Object.getOwnPropertyDescriptor,so=Object.getPrototypeOf,jt=Object.prototype;function It(e,r,t){if(typeof r!="string"){if(jt){var n=so(r);n&&n!==jt&&It(e,n,t)}var a=ao(r);At&&(a=a.concat(At(r)));for(var i=kt(e),s=kt(r),d=0;d<a.length;++d){var l=a[d];if(!(l in to||t&&t[l]||s&&l in s||i&&l in i)){var g=io(r,l);try{oo(e,l,g)}catch{}}}}return e}function Fe(e){return typeof e=="function"}function Mr(e){return typeof e=="object"&&"styledComponentId"in e}function xe(e,r){return e&&r?"".concat(e," ").concat(r):e||r||""}function Dt(e,r){if(e.length===0)return"";for(var t=e[0],n=1;n<e.length;n++)t+=e[n];return t}function Ye(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Fr(e,r,t){if(t===void 0&&(t=!1),!t&&!Ye(e)&&!Array.isArray(e))return r;if(Array.isArray(r))for(var n=0;n<r.length;n++)e[n]=Fr(e[n],r[n]);else if(Ye(r))for(var n in r)e[n]=Fr(e[n],r[n]);return e}function Yr(e,r){Object.defineProperty(e,"toString",{value:r})}var co=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, i