mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
830 lines
1.7 MiB
JavaScript
830 lines
1.7 MiB
JavaScript
|
function fee(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Jg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sL(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var O={exports:{}},zk={exports:{}};/**
|
||
|
* @license React
|
||
|
* react.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.
|
||
|
*/(function(e,t){(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.2.0",r=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),m=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),M=Symbol.iterator,B="@@iterator";function F(k){if(k===null||typeof k!="object")return null;var j=M&&k[M]||k[B];return typeof j=="function"?j:null}var z={current:null},H={transition:null},G={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},K={current:null},Z={},ne=null;function ie(k){ne=k}Z.setExtraStackFrame=function(k){ne=k},Z.getCurrentStack=null,Z.getStackAddendum=function(){var k="";ne&&(k+=ne);var j=Z.getCurrentStack;return j&&(k+=j()||""),k};var le=!1,oe=!1,Ae=!1,de=!1,Se=!1,Me={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:H,ReactCurrentOwner:K};Me.ReactDebugCurrentFrame=Z,Me.ReactCurrentActQueue=G;function _e(k){{for(var j=arguments.length,ae=new Array(j>1?j-1:0),ce=1;ce<j;ce++)ae[ce-1]=arguments[ce];he("warn",k,ae)}}function J(k){{for(var j=arguments.length,ae=new Array(j>1?j-1:0),ce=1;ce<j;ce++)ae[ce-1]=arguments[ce];he("error",k,ae)}}function he(k,j,ae){{var ce=Me.ReactDebugCurrentFrame,Ne=ce.getStackAddendum();Ne!==""&&(j+="%s",ae=ae.concat([Ne]));var mt=ae.map(function(Ze){return String(Ze)});mt.unshift("Warning: "+j),Function.prototype.apply.call(console[k],console,mt)}}var ve={};function ye(k,j){{var ae=k.constructor,ce=ae&&(ae.displayName||ae.name)||"ReactClass",Ne=ce+"."+j;if(ve[Ne])return;J("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",j,ce),ve[Ne]=!0}}var xe={isMounted:function(k){return!1},enqueueForceUpdate:function(k,j,ae){ye(k,"forceUpdate")},enqueueReplaceState:function(k,j,ae,ce){ye(k,"replaceState")},enqueueSetState:function(k,j,ae,ce){ye(k,"setState")}},Ve=Object.assign,Pe={};Object.freeze(Pe);function Qe(k,j,ae){this.props=k,this.context=j,this.refs=Pe,this.updater=ae||xe}Qe.prototype.isReactComponent={},Qe.prototype.setState=function(k,j){if(typeof k!="object"&&typeof k!="function"&&k!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,k,j,"setState")},Qe.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};{var wt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Ot=function(k,j){Object.defineProperty(Qe.prototype,k,{get:function(){_e("%s(...) is deprecated in plain JavaScript React classes. %s",j[0],j[1])}})};for(var Ut in wt)wt.hasOwnProperty(Ut)&&Ot(Ut,wt[Ut])}function ut(){}ut.prototype=Qe.prototype;function It(k,j,ae){this.props=k,this.context=j,this.refs=Pe,this.updater=ae||xe}var Qt=It.prototype=new ut;Qt.constructor=It,Ve(Qt,Qe.prototype),Qt.isPureReactComponent=!0;function pn(){var k={current:null};return Object.seal(k),k}var ht=Array.isArray;function gn(k){return ht(k)}function De(k){{var j=typeof Symbol=="function"&&Symbol.toStringTag,ae=j&&k[Symbol.toStringTag]||k.constructor.name||"Object";return ae}}function kt(k){try{return Zt(k),!1}catch{return!0}}function Zt(k){return""+k}function Pt(k){if(kt(k))return J("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",De(k)),Zt(k)}function un(k,j,ae){var ce=k.d
|
||
|
|
||
|
Your code should look like:
|
||
|
const MyComponent = lazy(() => import('./MyComponent'))
|
||
|
|
||
|
Did you accidentally put curly braces around the import?`,Ne),"default"in Ne||J(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
||
|
|
||
|
Your code should look like:
|
||
|
const MyComponent = lazy(() => import('./MyComponent'))`,Ne),Ne.default}else throw k._result}function dt(k){var j={_status:yr,_result:k},ae={$$typeof:T,_payload:j,_init:ge};{var ce,Ne;Object.defineProperties(ae,{defaultProps:{configurable:!0,get:function(){return ce},set:function(mt){J("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ce=mt,Object.defineProperty(ae,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Ne},set:function(mt){J("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ne=mt,Object.defineProperty(ae,"propTypes",{enumerable:!0})}}})}return ae}function xt(k){k!=null&&k.$$typeof===w?J("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof k!="function"?J("forwardRef requires a render function but was given %s.",k===null?"null":typeof k):k.length!==0&&k.length!==2&&J("forwardRef render functions accept exactly two parameters: props and ref. %s",k.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),k!=null&&(k.defaultProps!=null||k.propTypes!=null)&&J("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var j={$$typeof:b,render:k};{var ae;Object.defineProperty(j,"displayName",{enumerable:!1,configurable:!0,get:function(){return ae},set:function(ce){ae=ce,!k.name&&!k.displayName&&(k.displayName=ce)}})}return j}var bn;bn=Symbol.for("react.module.reference");function dr(k){return!!(typeof k=="string"||typeof k=="function"||k===s||k===f||Se||k===l||k===S||k===N||de||k===L||le||oe||Ae||typeof k=="object"&&k!==null&&(k.$$typeof===T||k.$$typeof===w||k.$$typeof===d||k.$$typeof===m||k.$$typeof===b||k.$$typeof===bn||k.getModuleId!==void 0))}function _r(k,j){dr(k)||J("memo: The first argument must be a component. Instead received: %s",k===null?"null":typeof k);var ae={$$typeof:w,type:k,compare:j===void 0?null:j};{var ce;Object.defineProperty(ae,"displayName",{enumerable:!1,configurable:!0,get:function(){return ce},set:function(Ne){ce=Ne,!k.name&&!k.displayName&&(k.displayName=Ne)}})}return ae}function Ht(){var k=z.current;return k===null&&J(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
||
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
||
|
2. You might be breaking the Rules of Hooks
|
||
|
3. You might have more than one copy of React in the same app
|
||
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),k}function Kn(k){var j=Ht();if(k._context!==void 0){var ae=k._context;ae.Consumer===k?J("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):ae.Provider===k&&J("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return j.useContext(k)}function sr(k){var j=Ht();return j.useState(k)}function kr(k,j,ae){var ce=Ht();return ce.useReducer(k,j,ae)}function hr(k){var j=Ht();return j.useRef(k)}function Fa(k,j){var ae=Ht();return ae.useEffect(k,j)}function Yi(k,j){var ae=Ht();return ae.useInsertionEffect(k,j)}function Po(k,j){var ae=Ht();return ae.useLayoutEffect(k,j)}function Ra(k,j){var ae=Ht();return ae.useCallback(k,j)}function gs(k,j){var ae=Ht();return ae.useMemo(k,j)}function pu(k,j,ae){var ce=Ht();return ce.useImperativeHandle(k,j,ae)}function co(k,j){{var ae=Ht();return ae.useDebugValue(k,j)}}function Rl(){var k=Ht();return k.useTransition()}function bs(k){var j=Ht();return j.useDeferredValue(k)}function Zn(){var k=Ht();return k.useId()}function Io(k,j,ae){var ce=Ht();return ce.useSyncExternalStore(k,j,ae)}var qi=0,kl,Al,nl,ni,rl,Ol,Ll;function mu(){}mu.__reactDisabledLog=!0;function ju(){{if(qi===0){kl=console.log,Al=console.info,nl=console.warn,ni=console.error,rl=console.group,Ol=console.groupCollapsed,Ll=console.groupEnd;var k={configurable:!0,enumerable:!0,value:mu,writable:!0};Object.defineProperties(console,{info:k,log:k,warn:k,error:k,group:k,groupCollapsed:k,groupEnd:k})}qi++}}function Vu(){{if(qi--,qi===0){var k={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ve({},k,{value:kl}),info:Ve({},k,{value:Al}),warn:Ve({},k,{value:nl}),error:Ve({},k,{value:ni}),group:Ve({},k,{value:rl}),groupCollapsed:Ve({},k,{value:Ol}),groupEnd:Ve({},k,{value:Ll})})}qi<0&&J("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fo=Me.ReactCurrentDispatcher,ri;function fo(k,j,ae){{if(ri===void 0)try{throw Error()}catch(Ne){var ce=Ne.stack.trim().match(/\n( *(at )?)/);ri=ce&&ce[1]||""}return`
|
||
|
`+ri+k}}var ai=!1,Di;{var Ml=typeof WeakMap=="function"?WeakMap:Map;Di=new Ml}function Dl(k,j){if(!k||ai)return"";{var ae=Di.get(k);if(ae!==void 0)return ae}var ce;ai=!0;var Ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var mt;mt=Fo.current,Fo.current=null,ju();try{if(j){var Ze=function(){throw Error()};if(Object.defineProperty(Ze.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ze,[])}catch(Qn){ce=Qn}Reflect.construct(k,[],Ze)}else{try{Ze.call()}catch(Qn){ce=Qn}k.call(Ze.prototype)}}else{try{throw Error()}catch(Qn){ce=Qn}k()}}catch(Qn){if(Qn&&ce&&typeof Qn.stack=="string"){for(var Tt=Qn.stack.split(`
|
||
|
`),Xt=ce.stack.split(`
|
||
|
`),xn=Tt.length-1,Hn=Xt.length-1;xn>=1&&Hn>=0&&Tt[xn]!==Xt[Hn];)Hn--;for(;xn>=1&&Hn>=0;xn--,Hn--)if(Tt[xn]!==Xt[Hn]){if(xn!==1||Hn!==1)do if(xn--,Hn--,Hn<0||Tt[xn]!==Xt[Hn]){var mn=`
|
||
|
`+Tt[xn].replace(" at new "," at ");return k.displayName&&mn.includes("<anonymous>")&&(mn=mn.replace("<anonymous>",k.displayName)),typeof k=="function"&&Di.set(k,mn),mn}while(xn>=1&&Hn>=0);break}}}finally{ai=!1,Fo.current=mt,Vu(),Error.prepareStackTrace=Ne}var Gn=k?k.displayName||k.name:"",In=Gn?fo(Gn):"";return typeof k=="function"&&Di.set(k,In),In}function Ms(k,j,ae){return Dl(k,!1)}function Pl(k){var j=k.prototype;return!!(j&&j.isReactComponent)}function ho(k,j,ae){if(k==null)return"";if(typeof k=="function")return Dl(k,Pl(k));if(typeof k=="string")return fo(k);switch(k){case S:return fo("Suspense");case N:return fo("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case b:return Ms(k.render);case w:return ho(k.type,j,ae);case T:{var ce=k,Ne=ce._payload,mt=ce._init;try{return ho(mt(Ne),j,ae)}catch{}}}return""}var Wa={},wi=Me.ReactDebugCurrentFrame;function ka(k){if(k){var j=k._owner,ae=ho(k.type,k._source,j?j.type:null);wi.setExtraStackFrame(ae)}else wi.setExtraStackFrame(null)}function Gu(k,j,ae,ce,Ne){{var mt=Function.call.bind(Rn);for(var Ze in k)if(mt(k,Ze)){var Tt=void 0;try{if(typeof k[Ze]!="function"){var Xt=Error((ce||"React class")+": "+ae+" type `"+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof k[Ze]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Xt.name="Invariant Violation",Xt}Tt=k[Ze](j,Ze,ce,ae,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(xn){Tt=xn}Tt&&!(Tt instanceof Error)&&(ka(Ne),J("%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).",ce||"React class",ae,Ze,typeof Tt),ka(null)),Tt instanceof Error&&!(Tt.message in Wa)&&(Wa[Tt.message]=!0,ka(Ne),J("Failed %s type: %s",ae,Tt.message),ka(null))}}}function gr(k){if(k){var j=k._owner,ae=ho(k.type,k._source,j?j.type:null);ie(ae)}else ie(null)}var zo;zo=!1;function Il(){if(K.current){var k=an(K.current.type);if(k)return`
|
||
|
|
||
|
Check the render method of \``+k+"`."}return""}function Xn(k){if(k!==void 0){var j=k.fileName.replace(/^.*[\\\/]/,""),ae=k.lineNumber;return`
|
||
|
|
||
|
Check your code at `+j+":"+ae+"."}return""}function Wu(k){return k!=null?Xn(k.__source):""}var qr={};function ts(k){var j=Il();if(!j){var ae=typeof k=="string"?k:k.displayName||k.name;ae&&(j=`
|
||
|
|
||
|
Check the top-level render call using <`+ae+">.")}return j}function po(k,j){if(!(!k._store||k._store.validated||k.key!=null)){k._store.validated=!0;var ae=ts(j);if(!qr[ae]){qr[ae]=!0;var ce="";k&&k._owner&&k._owner!==K.current&&(ce=" It was passed a child from "+an(k._owner.type)+"."),gr(k),J('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ae,ce),gr(null)}}}function ys(k,j){if(typeof k=="object"){if(gn(k))for(var ae=0;ae<k.length;ae++){var ce=k[ae];Lt(ce)&&po(ce,j)}else if(Lt(k))k._store&&(k._store.validated=!0);else if(k){var Ne=F(k);if(typeof Ne=="function"&&Ne!==k.entries)for(var mt=Ne.call(k),Ze;!(Ze=mt.next()).done;)Lt(Ze.value)&&po(Ze.value,j)}}}function ga(k){{var j=k.type;if(j==null||typeof j=="string")return;var ae;if(typeof j=="function")ae=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===b||j.$$typeof===w))ae=j.propTypes;else return;if(ae){var ce=an(j);Gu(ae,k.props,"prop",ce,k)}else if(j.PropTypes!==void 0&&!zo){zo=!0;var Ne=an(j);J("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ne||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&J("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function oa(k){{for(var j=Object.keys(k.props),ae=0;ae<j.length;ae++){var ce=j[ae];if(ce!=="children"&&ce!=="key"){gr(k),J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),gr(null);break}}k.ref!==null&&(gr(k),J("Invalid attribute `ref` supplied to `React.Fragment`."),gr(null))}}function Ds(k,j,ae){var ce=dr(k);if(!ce){var Ne="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(Ne+=" 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 mt=Wu(j);mt?Ne+=mt:Ne+=Il();var Ze;k===null?Ze="null":gn(k)?Ze="array":k!==void 0&&k.$$typeof===r?(Ze="<"+(an(k.type)||"Unknown")+" />",Ne=" Did you accidentally export a JSX literal instead of a component?"):Ze=typeof k,J("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ze,Ne)}var Tt=Xe.apply(this,arguments);if(Tt==null)return Tt;if(ce)for(var Xt=2;Xt<arguments.length;Xt++)ys(arguments[Xt],k);return k===s?oa(Tt):ga(Tt),Tt}var _i=!1;function Kr(k){var j=Ds.bind(null,k);return j.type=k,_i||(_i=!0,_e("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(j,"type",{enumerable:!1,get:function(){return _e("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:k}),k}}),j}function ii(k,j,ae){for(var ce=We.apply(this,arguments),Ne=2;Ne<arguments.length;Ne++)ys(arguments[Ne],ce.type);return ga(ce),ce}function yf(k,j){var ae=H.transition;H.transition={};var ce=H.transition;H.transition._updatedFibers=new Set;try{k()}finally{if(H.transition=ae,ae===null&&ce._updatedFibers){var Ne=ce._updatedFibers.size;Ne>10&&_e("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),ce._updatedFibers.clear()}}}var Ps=!1,Ss=null;function vu(k){if(Ss===null)try{var j=("require"+Math.random()).slice(0,7),ae=e&&e[j];Ss=ae.call(e,"timers").setImmediate}catch{Ss=function(Ne){Ps===!1&&(Ps=!0,typeof MessageChannel>"u"&&J("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var mt=new MessageChannel;mt.port1.onmessage=Ne,mt.port2.postMessage(void 0)}}return Ss(k)}var Sr=0,Br=!1;function Yu(k){{var j=Sr;Sr++,G.current===null&&(G
|
||
|
* @license React
|
||
|
* scheduler.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.
|
||
|
*/(function(e){(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=!1,n=!1,r=5;function i(pt,Xe){var Bt=pt.length;pt.push(Xe),f(pt,Xe,Bt)}function s(pt){return pt.length===0?null:pt[0]}function l(pt){if(pt.length===0)return null;var Xe=pt[0],Bt=pt.pop();return Bt!==Xe&&(pt[0]=Bt,d(pt,Bt,0)),Xe}function f(pt,Xe,Bt){for(var We=Bt;We>0;){var Lt=We-1>>>1,Rt=pt[Lt];if(m(Rt,Xe)>0)pt[Lt]=Xe,pt[We]=Rt,We=Lt;else return}}function d(pt,Xe,Bt){for(var We=Bt,Lt=pt.length,Rt=Lt>>>1;We<Rt;){var gt=(We+1)*2-1,_t=pt[gt],kn=gt+1,Un=pt[kn];if(m(_t,Xe)<0)kn<Lt&&m(Un,_t)<0?(pt[We]=Un,pt[kn]=Xe,We=kn):(pt[We]=_t,pt[gt]=Xe,We=gt);else if(kn<Lt&&m(Un,Xe)<0)pt[We]=Un,pt[kn]=Xe,We=kn;else return}}function m(pt,Xe){var Bt=pt.sortIndex-Xe.sortIndex;return Bt!==0?Bt:pt.id-Xe.id}var b=1,S=2,N=3,w=4,T=5;function L(pt,Xe){}var M=typeof performance=="object"&&typeof performance.now=="function";if(M){var B=performance;e.unstable_now=function(){return B.now()}}else{var F=Date,z=F.now();e.unstable_now=function(){return F.now()-z}}var H=1073741823,G=-1,K=250,Z=5e3,ne=1e4,ie=H,le=[],oe=[],Ae=1,de=null,Se=N,Me=!1,_e=!1,J=!1,he=typeof setTimeout=="function"?setTimeout:null,ve=typeof clearTimeout=="function"?clearTimeout:null,ye=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function xe(pt){for(var Xe=s(oe);Xe!==null;){if(Xe.callback===null)l(oe);else if(Xe.startTime<=pt)l(oe),Xe.sortIndex=Xe.expirationTime,i(le,Xe);else return;Xe=s(oe)}}function Ve(pt){if(J=!1,xe(pt),!_e)if(s(le)!==null)_e=!0,er(Pe);else{var Xe=s(oe);Xe!==null&&En(Ve,Xe.startTime-pt)}}function Pe(pt,Xe){_e=!1,J&&(J=!1,Je()),Me=!0;var Bt=Se;try{var We;if(!n)return Qe(pt,Xe)}finally{de=null,Se=Bt,Me=!1}}function Qe(pt,Xe){var Bt=Xe;for(xe(Bt),de=s(le);de!==null&&!t&&!(de.expirationTime>Bt&&(!pt||fr()));){var We=de.callback;if(typeof We=="function"){de.callback=null,Se=de.priorityLevel;var Lt=de.expirationTime<=Bt,Rt=We(Lt);Bt=e.unstable_now(),typeof Rt=="function"?de.callback=Rt:de===s(le)&&l(le),xe(Bt)}else l(le);de=s(le)}if(de!==null)return!0;var gt=s(oe);return gt!==null&&En(Ve,gt.startTime-Bt),!1}function wt(pt,Xe){switch(pt){case b:case S:case N:case w:case T:break;default:pt=N}var Bt=Se;Se=pt;try{return Xe()}finally{Se=Bt}}function Ot(pt){var Xe;switch(Se){case b:case S:case N:Xe=N;break;default:Xe=Se;break}var Bt=Se;Se=Xe;try{return pt()}finally{Se=Bt}}function Ut(pt){var Xe=Se;return function(){var Bt=Se;Se=Xe;try{return pt.apply(this,arguments)}finally{Se=Bt}}}function ut(pt,Xe,Bt){var We=e.unstable_now(),Lt;if(typeof Bt=="object"&&Bt!==null){var Rt=Bt.delay;typeof Rt=="number"&&Rt>0?Lt=We+Rt:Lt=We}else Lt=We;var gt;switch(pt){case b:gt=G;break;case S:gt=K;break;case T:gt=ie;break;case w:gt=ne;break;case N:default:gt=Z;break}var _t=Lt+gt,kn={id:Ae++,callback:Xe,priorityLevel:pt,startTime:Lt,expirationTime:_t,sortIndex:-1};return Lt>We?(kn.sortIndex=Lt,i(oe,kn),s(le)===null&&kn===s(oe)&&(J?Je():J=!0,En(Ve,Lt-We))):(kn.sortIndex=_t,i(le,kn),!_e&&!Me&&(_e=!0,er(Pe))),kn}function It(){}function Qt(){!_e&&!Me&&(_e=!0,er(Pe))}function pn(){return s(le)}function ht(pt){pt.callback=null}function gn(){return Se}var De=!1,kt=null,Zt=-1,Pt=r,un=-1;function fr(){var pt=e.unstable_now()-un;return!(pt<Pt)}function an(){}function Rn(pt){if(pt<0||pt>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}pt>0?Pt=Math.floor(1e3/pt):Pt=r}var wn=function(){if(kt!==null){var pt=e.unstable_now();un=pt;var Xe=!0,Bt=!0;try{Bt=kt(Xe,pt)}finally{Bt?Ln():(De=!1,kt=null)}}else De=!1},Ln;if(typeof ye=="function")Ln=function(){ye(wn)};else if(typeof MessageChannel<"u"){var St=new MessageChannel,Ft=St.port2;St.port1.onmessage=wn,Ln=function(){Ft.postMessage(null)}}else Ln=function(){he(wn,0)};function er(pt){kt=pt,De||(D
|
||
|
* @license React
|
||
|
* react-dom.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.
|
||
|
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=O.exports,t=w3.exports,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=!1;function i(a){r=a}function s(a){if(!r){for(var o=arguments.length,h=new Array(o>1?o-1:0),v=1;v<o;v++)h[v-1]=arguments[v];f("warn",a,h)}}function l(a){if(!r){for(var o=arguments.length,h=new Array(o>1?o-1:0),v=1;v<o;v++)h[v-1]=arguments[v];f("error",a,h)}}function f(a,o,h){{var v=n.ReactDebugCurrentFrame,x=v.getStackAddendum();x!==""&&(o+="%s",h=h.concat([x]));var A=h.map(function(P){return String(P)});A.unshift("Warning: "+o),Function.prototype.apply.call(console[a],console,A)}}var d=0,m=1,b=2,S=3,N=4,w=5,T=6,L=7,M=8,B=9,F=10,z=11,H=12,G=13,K=14,Z=15,ne=16,ie=17,le=18,oe=19,Ae=21,de=22,Se=23,Me=24,_e=25,J=!0,he=!1,ve=!1,ye=!1,xe=!1,Ve=!0,Pe=!1,Qe=!1,wt=!0,Ot=!0,Ut=!0,ut=new Set,It={},Qt={};function pn(a,o){ht(a,o),ht(a+"Capture",o)}function ht(a,o){It[a]&&l("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",a),It[a]=o;{var h=a.toLowerCase();Qt[h]=a,a==="onDoubleClick"&&(Qt.ondblclick=a)}for(var v=0;v<o.length;v++)ut.add(o[v])}var gn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",De=Object.prototype.hasOwnProperty;function kt(a){{var o=typeof Symbol=="function"&&Symbol.toStringTag,h=o&&a[Symbol.toStringTag]||a.constructor.name||"Object";return h}}function Zt(a){try{return Pt(a),!1}catch{return!0}}function Pt(a){return""+a}function un(a,o){if(Zt(a))return l("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,kt(a)),Pt(a)}function fr(a){if(Zt(a))return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kt(a)),Pt(a)}function an(a,o){if(Zt(a))return l("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",o,kt(a)),Pt(a)}function Rn(a,o){if(Zt(a))return l("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,kt(a)),Pt(a)}function wn(a){if(Zt(a))return l("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",kt(a)),Pt(a)}function Ln(a){if(Zt(a))return l("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",kt(a)),Pt(a)}var St=0,Ft=1,er=2,En=3,Je=4,Mn=5,br=6,pt=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Xe=pt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Bt=new RegExp("^["+pt+"]["+Xe+"]*$"),We={},Lt={};function Rt(a){return De.call(Lt,a)?!0:De.call(We,a)?!1:Bt.test(a)?(Lt[a]=!0,!0):(We[a]=!0,l("Invalid attribute name: `%s`",a),!1)}function gt(a,o,h){return o!==null?o.type===St:h?!1:a.length>2&&(a[0]==="o"||a[0]==="O")&&(a[1]==="n"||a[1]==="N")}function _t(a,o,h,v){if(h!==null&&h.type===St)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(v)return!1;if(h!==null)return!h.acceptsBooleans;var x=a.toLowerCase().slice(0,5);return x!=="data-"&&x!=="aria-"}default:return!1}}function kn(a,o,h,v){if(o===null||typeof o>"u"||_t(a,o,h,v))return!0;if(v)return!1;if(h!==null)switch(h.type){case En:return!o;case Je:return o===!1;case Mn:return isNaN(o);case br:return isNaN(o)||o<1}return!1}function Un(a){return rr.hasOwnProperty(a)?rr[a]:null}function Gt(a,o,h,v,x,A,P){this.acceptsBooleans=o===er||o===En||o===Je,this.attributeName=v,this.attributeNamespace=x,this.mustUseProperty=h,this.propertyName=a,this.type=o,this.sanitizeURL=A,this.removeEmptyString=P}var rr={},di=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML
|
||
|
`+Fo+a}}var fo=!1,ai;{var Di=typeof WeakMap=="function"?WeakMap:Map;ai=new Di}function Ml(a,o){if(!a||fo)return"";{var h=ai.get(a);if(h!==void 0)return h}var v;fo=!0;var x=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var A;A=Vu.current,Vu.current=null,mu();try{if(o){var P=function(){throw Error()};if(Object.defineProperty(P.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(P,[])}catch(Ge){v=Ge}Reflect.construct(a,[],P)}else{try{P.call()}catch(Ge){v=Ge}a.call(P.prototype)}}else{try{throw Error()}catch(Ge){v=Ge}a()}}catch(Ge){if(Ge&&v&&typeof Ge.stack=="string"){for(var U=Ge.stack.split(`
|
||
|
`),W=v.stack.split(`
|
||
|
`),re=U.length-1,ue=W.length-1;re>=1&&ue>=0&&U[re]!==W[ue];)ue--;for(;re>=1&&ue>=0;re--,ue--)if(U[re]!==W[ue]){if(re!==1||ue!==1)do if(re--,ue--,ue<0||U[re]!==W[ue]){var Te=`
|
||
|
`+U[re].replace(" at new "," at ");return a.displayName&&Te.includes("<anonymous>")&&(Te=Te.replace("<anonymous>",a.displayName)),typeof a=="function"&&ai.set(a,Te),Te}while(re>=1&&ue>=0);break}}}finally{fo=!1,Vu.current=A,ju(),Error.prepareStackTrace=x}var we=a?a.displayName||a.name:"",je=we?ri(we):"";return typeof a=="function"&&ai.set(a,je),je}function Dl(a,o,h){return Ml(a,!0)}function Ms(a,o,h){return Ml(a,!1)}function Pl(a){var o=a.prototype;return!!(o&&o.isReactComponent)}function ho(a,o,h){if(a==null)return"";if(typeof a=="function")return Ml(a,Pl(a));if(typeof a=="string")return ri(a);switch(a){case Kn:return ri("Suspense");case sr:return ri("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case Ht:return Ms(a.render);case kr:return ho(a.type,o,h);case hr:{var v=a,x=v._payload,A=v._init;try{return ho(A(x),o,h)}catch{}}}return""}function Wa(a){switch(a._debugOwner&&a._debugOwner.type,a._debugSource,a.tag){case w:return ri(a.type);case ne:return ri("Lazy");case G:return ri("Suspense");case oe:return ri("SuspenseList");case d:case b:case Z:return Ms(a.type);case z:return Ms(a.type.render);case m:return Dl(a.type);default:return""}}function wi(a){try{var o="",h=a;do o+=Wa(h),h=h.return;while(h);return o}catch(v){return`
|
||
|
Error generating stack: `+v.message+`
|
||
|
`+v.stack}}function ka(a,o,h){var v=a.displayName;if(v)return v;var x=o.displayName||o.name||"";return x!==""?h+"("+x+")":h}function Gu(a){return a.displayName||"Context"}function gr(a){if(a==null)return null;if(typeof a.tag=="number"&&l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case dt:return"Fragment";case ge:return"Portal";case bn:return"Profiler";case xt:return"StrictMode";case Kn:return"Suspense";case sr:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case _r:var o=a;return Gu(o)+".Consumer";case dr:var h=a;return Gu(h._context)+".Provider";case Ht:return ka(a,a.render,"ForwardRef");case kr:var v=a.displayName||null;return v!==null?v:gr(a.type)||"Memo";case hr:{var x=a,A=x._payload,P=x._init;try{return gr(P(A))}catch{return null}}}return null}function zo(a,o,h){var v=o.displayName||o.name||"";return a.displayName||(v!==""?h+"("+v+")":h)}function Il(a){return a.displayName||"Context"}function Xn(a){var o=a.tag,h=a.type;switch(o){case Me:return"Cache";case B:var v=h;return Il(v)+".Consumer";case F:var x=h;return Il(x._context)+".Provider";case le:return"DehydratedFragment";case z:return zo(h,h.render,"ForwardRef");case L:return"Fragment";case w:return h;case N:return"Portal";case S:return"Root";case T:return"Text";case ne:return gr(h);case M:return h===xt?"StrictMode":"Mode";case de:return"Offscreen";case H:return"Profiler";case Ae:return"Scope";case G:return"Suspense";case oe:return"SuspenseList";case _e:return"TracingMarker";case m:case d:case ie:case b:case K:case Z:if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;break}return null}var Wu=n.ReactDebugCurrentFrame,qr=null,ts=!1;function po(){{if(qr===null)return null;var a=qr._debugOwner;if(a!==null&&typeof a<"u")return Xn(a)}return null}function ys(){return qr===null?"":wi(qr)}function ga(){Wu.getCurrentStack=null,qr=null,ts=!1}function oa(a){Wu.getCurrentStack=a===null?null:ys,qr=a,ts=!1}function Ds(){return qr}function _i(a){ts=a}function Kr(a){return""+a}function ii(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return Ln(a),a;default:return""}}var yf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ps(a,o){yf[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||l("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||l("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ss(a){var o=a.type,h=a.nodeName;return h&&h.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function vu(a){return a._valueTracker}function Sr(a){a._valueTracker=null}function Br(a){var o="";return a&&(Ss(a)?o=a.checked?"true":"false":o=a.value),o}function Yu(a){var o=Ss(a)?"checked":"value",h=Object.getOwnPropertyDescriptor(a.constructor.prototype,o);Ln(a[o]);var v=""+a[o];if(!(a.hasOwnProperty(o)||typeof h>"u"||typeof h.get!="function"||typeof h.set!="function")){var x=h.get,A=h.set;Object.defineProperty(a,o,{configurable:!0,get:function(){return x.call(this)},set:function(U){Ln(U),v=""+U,A.call(this,U)}}),Object.defineProperty(a,o,{enumerable:h.enumerable});var P={getValue:function(){return v},setValue:function(U){Ln(U),v=""+U},stopTracking:function(){Sr(a),delete a[o]}};return P}}function mo(a){vu(a)||(a._valueTracker=Yu(a))}function $(a){if(!a)return!1;var o=vu(a);if(!o)return!0;var h=o.getValue(),v=Br(a);return v!==h?(o.setValue(v),!0):!1}function X(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var se=
|
||
|
|
||
|
Check the render method of \``+a+"`.":""}var qu=["value","defaultValue"];function fh(a){{Ps("select",a);for(var o=0;o<qu.length;o++){var h=qu[o];if(a[h]!=null){var v=Qn(a[h]);a.multiple&&!v?l("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",h,ns()):!a.multiple&&v&&l("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",h,ns())}}}}function Ur(a,o,h,v){var x=a.options;if(o){for(var A=h,P={},U=0;U<A.length;U++)P["$"+A[U]]=!0;for(var W=0;W<x.length;W++){var re=P.hasOwnProperty("$"+x[W].value);x[W].selected!==re&&(x[W].selected=re),re&&v&&(x[W].defaultSelected=!0)}}else{for(var ue=Kr(ii(h)),Te=null,we=0;we<x.length;we++){if(x[we].value===ue){x[we].selected=!0,v&&(x[we].defaultSelected=!0);return}Te===null&&!x[we].disabled&&(Te=x[we])}Te!==null&&(Te.selected=!0)}}function il(a,o){return Zn({},o,{value:void 0})}function Oc(a,o){var h=a;fh(o),h._wrapperState={wasMultiple:!!o.multiple},o.value!==void 0&&o.defaultValue!==void 0&&!al&&(l("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),al=!0)}function Sv(a,o){var h=a;h.multiple=!!o.multiple;var v=o.value;v!=null?Ur(h,!!o.multiple,v,!1):o.defaultValue!=null&&Ur(h,!!o.multiple,o.defaultValue,!0)}function Yb(a,o){var h=a,v=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!o.multiple;var x=o.value;x!=null?Ur(h,!!o.multiple,x,!1):v!==!!o.multiple&&(o.defaultValue!=null?Ur(h,!!o.multiple,o.defaultValue,!0):Ur(h,!!o.multiple,o.multiple?[]:"",!1))}function SC(a,o){var h=a,v=o.value;v!=null&&Ur(h,!!o.multiple,v,!1)}var ZS=!1;function qb(a,o){var h=a;if(o.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var v=Zn({},o,{value:void 0,defaultValue:void 0,children:Kr(h._wrapperState.initialValue)});return v}function Kb(a,o){var h=a;Ps("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!ZS&&(l("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",po()||"A component"),ZS=!0);var v=o.value;if(v==null){var x=o.children,A=o.defaultValue;if(x!=null){l("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(A!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Qn(x)){if(x.length>1)throw new Error("<textarea> can only have at most one child.");x=x[0]}A=x}}A==null&&(A=""),v=A}h._wrapperState={initialValue:ii(v)}}function xv(a,o){var h=a,v=ii(o.value),x=ii(o.defaultValue);if(v!=null){var A=Kr(v);A!==h.value&&(h.value=A),o.defaultValue==null&&h.defaultValue!==A&&(h.defaultValue=A)}x!=null&&(h.defaultValue=Kr(x))}function dh(a,o){var h=a,v=h.textContent;v===h._wrapperState.initialValue&&v!==""&&v!==null&&(h.value=v)}function xC(a,o){xv(a,o)}var Lc="http://www.w3.org/1999/xhtml",XS="http://www.w3.org/1998/Math/MathML",Cv="http://www.w3.org/2000/svg";function Nv(a){switch(a){case"svg":return Cv;case"math":return XS;default:return Lc}}function b0(a,o){return a==null||a===Lc?Nv(o):a===Cv&&o==="foreignObject"?Lc:a}var CC=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,h,v,x){MSApp.execUnsafeLocalFunction(function(){return a(o,h,v,x)})}:a},Tp,y0=CC(function(a,o){if(a.namespaceURI===Cv&&!("innerHTML"in a)){Tp=Tp||document.createElement("div"),Tp.innerHTML="<svg>"+o.valueOf().toString()+"</svg>";for(var h=Tp.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;h.firstChild;)a.appendChild(h.firstChild);return}a.innerHTML=o}),ol=1,sl=3,Qr=8,gu=9,od=11,Rp=function(a,o){if(o){var h=a.firstChild;if(h&&h===a.lastChild&&h.nodeType===sl){h.nodeValue=o;retur
|
||
|
* Checks if an event is supported in the current execution environment.
|
||
|
*
|
||
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
||
|
* `reset`, `load`, `error`, and `select`.
|
||
|
*
|
||
|
* Borrows from Modernizr.
|
||
|
*
|
||
|
* @param {string} eventNameSuffix Event name, e.g. "click".
|
||
|
* @return {boolean} True if the event is supported.
|
||
|
* @internal
|
||
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
||
|
*/function wo(a){if(!gn)return!1;var o="on"+a,h=o in document;if(!h){var v=document.createElement("div");v.setAttribute(o,"return;"),h=typeof v[o]=="function"}return h}function c1(){pn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function hm(a,o,h,v){Dp(v);var x=jn(o,"onChange");if(x.length>0){var A=new om("onChange","change",null,h,v);a.push({event:A,listeners:x})}}var If=null,sg=null;function zC(a){var o=a.nodeName&&a.nodeName.toLowerCase();return o==="select"||o==="input"&&a.type==="file"}function it(a){var o=[];hm(o,sg,a,cd(a)),T0(Ou,o)}function Ou(a){qy(a,0)}function Sl(a){var o=fn(a);if($(o))return a}function Py(a,o){if(a==="change")return o}var Zr=!1;gn&&(Zr=wo("input")&&(!document.documentMode||document.documentMode>9));function Wt(a,o){If=a,sg=o,If.attachEvent("onpropertychange",Iy)}function Ff(){!If||(If.detachEvent("onpropertychange",Iy),If=null,sg=null)}function Iy(a){a.propertyName==="value"&&Sl(sg)&&it(a)}function os(a,o,h){a==="focusin"?(Ff(),Wt(o,h)):a==="focusout"&&Ff()}function f1(a,o){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Sl(sg)}function Fh(a){var o=a.nodeName;return o&&o.toLowerCase()==="input"&&(a.type==="checkbox"||a.type==="radio")}function pm(a,o){if(a==="click")return Sl(o)}function kx(a,o){if(a==="input"||a==="change")return Sl(o)}function Ax(a){var o=a._wrapperState;!o||!o.controlled||a.type!=="number"||Tt(a,"number",a.value)}function Hl(a,o,h,v,x,A,P){var U=h?fn(h):window,W,re;if(zC(U)?W=Py:to(U)?Zr?W=kx:(W=f1,re=os):Fh(U)&&(W=pm),W){var ue=W(o,h);if(ue){hm(a,ue,v,x);return}}re&&re(o,U,h),o==="focusout"&&Ax(U)}function $s(){ht("onMouseEnter",["mouseout","mouseover"]),ht("onMouseLeave",["mouseout","mouseover"]),ht("onPointerEnter",["pointerout","pointerover"]),ht("onPointerLeave",["pointerout","pointerover"])}function Ox(a,o,h,v,x,A,P){var U=o==="mouseover"||o==="pointerover",W=o==="mouseout"||o==="pointerout";if(U&&!Wn(v)){var re=v.relatedTarget||v.fromElement;if(re&&(bt(re)||st(re)))return}if(!(!W&&!U)){var ue;if(x.window===x)ue=x;else{var Te=x.ownerDocument;Te?ue=Te.defaultView||Te.parentWindow:ue=window}var we,je;if(W){var Ge=v.relatedTarget||v.toElement;if(we=h,je=Ge?bt(Ge):null,je!==null){var et=yd(je);(je!==et||je.tag!==w&&je.tag!==T)&&(je=null)}}else we=null,je=h;if(we!==je){var dn=r1,Yn="onMouseLeave",An="onMouseEnter",ta="mouse";(o==="pointerout"||o==="pointerover")&&(dn=fm,Yn="onPointerLeave",An="onPointerEnter",ta="pointer");var Wr=we==null?ue:fn(we),Fe=je==null?ue:fn(je),tt=new dn(Yn,ta+"leave",we,v,x);tt.target=Wr,tt.relatedTarget=Fe;var ze=null,Mt=bt(x);if(Mt===h){var hn=new dn(An,ta+"enter",je,v,x);hn.target=Fe,hn.relatedTarget=Wr,ze=hn}or(a,tt,ze,we,je)}}}function Fy(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var ss=typeof Object.is=="function"?Object.is:Fy;function kd(a,o){if(ss(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var h=Object.keys(a),v=Object.keys(o);if(h.length!==v.length)return!1;for(var x=0;x<h.length;x++){var A=h[x];if(!De.call(o,A)||!ss(a[A],o[A]))return!1}return!0}function d1(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function z_(a){for(;a;){if(a.nextSibling)return a.nextSibling;a=a.parentNode}}function BC(a,o){for(var h=d1(a),v=0,x=0;h;){if(h.nodeType===sl){if(x=v+h.textContent.length,v<=o&&x>=o)return{node:h,offset:o-v};v=x}h=d1(z_(h))}}function zy(a){var o=a.ownerDocument,h=o&&o.defaultView||window,v=h.getSelection&&h.getSelection();if(!v||v.rangeCount===0)return null;var x=v.anchorNode,A=v.anchorOffset,P=v.focusNode,U=v.focusOffset;try{x.nodeType,P.nodeType}catch{return null}return h1(a,x,A,P,U)}function h1(a,o,h,v,x){var A=0,P=-1,U=-1,W=0,re=0,ue=a,Te=null;e:for(;;){for(var we=null;ue===o&&(h===0||ue.nodeType===sl)&&(P=A+h),ue===v&&(x===0||ue.nodeType===sl)&&(U=A+x),ue.nodeType===sl&&(A+=ue.nodeValue.length),(we=ue.firstChild)!==null;)Te=ue,ue=we;for(;;){if(ue===a)break e;if(Te===o&&++W===h&&(P=A),Te===v&&++re===x&&(U=A),(we=ue.nextSibling)!==null)break;ue=Te,Te=ue.parentNode}ue=we}return P===-1||U===-1?null:{start:P,end:U}}func
|
||
|
`).replace(mg,"")}function Dd(a,o,h,v){var x=Gl(o),A=Gl(a);if(A!==x&&(v&&(Hs||(Hs=!0,l('Text content did not match. Server: "%s" Client: "%s"',A,x))),h&&J))throw new Error("Text content does not match server-rendered HTML.")}function N1(a){return a.nodeType===gu?a:a.ownerDocument}function Vh(){}function Sm(a){a.onclick=Vh}function Wo(a,o,h,v,x){for(var A in v)if(!!v.hasOwnProperty(A)){var P=v[A];if(A===Md)P&&Object.freeze(P),Ee(o,P);else if(A===Bf){var U=P?P[x1]:void 0;U!=null&&y0(o,U)}else if(A===Zc)if(typeof P=="string"){var W=a!=="textarea"||P!=="";W&&Rp(o,P)}else typeof P=="number"&&Rp(o,""+P);else A===dc||A===hc||A===S1||(It.hasOwnProperty(A)?P!=null&&(typeof P!="function"&&ym(A,P),A==="onScroll"&&Or("scroll",o)):P!=null&&Mo(o,A,P,x))}}function Ns(a,o,h,v){for(var x=0;x<o.length;x+=2){var A=o[x],P=o[x+1];A===Md?Ee(a,P):A===Bf?y0(a,P):A===Zc?Rp(a,P):Mo(a,A,P,v)}}function $C(a,o,h,v){var x,A=N1(h),P,U=v;if(U===Lc&&(U=Nv(a)),U===Lc){if(x=ul(a,o),!x&&a!==a.toLowerCase()&&l("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),a==="script"){var W=A.createElement("div");W.innerHTML="<script><\/script>";var re=W.firstChild;P=W.removeChild(re)}else if(typeof o.is=="string")P=A.createElement(a,{is:o.is});else if(P=A.createElement(a),a==="select"){var ue=P;o.multiple?ue.multiple=!0:o.size&&(ue.size=o.size)}}else P=A.createElementNS(U,a);return U===Lc&&!x&&Object.prototype.toString.call(P)==="[object HTMLUnknownElement]"&&!De.call(Zy,a)&&(Zy[a]=!0,l("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",a)),P}function Fx(a,o){return N1(o).createTextNode(a)}function Jy(a,o,h,v){var x=ul(o,h);C1(o,h);var A;switch(o){case"dialog":Or("cancel",a),Or("close",a),A=h;break;case"iframe":case"object":case"embed":Or("load",a),A=h;break;case"video":case"audio":for(var P=0;P<Uh.length;P++)Or(Uh[P],a);A=h;break;case"source":Or("error",a),A=h;break;case"img":case"image":case"link":Or("error",a),Or("load",a),A=h;break;case"details":Or("toggle",a),A=h;break;case"input":j(a,h),A=k(a,h),Or("invalid",a);break;case"option":mn(a,h),A=h;break;case"select":Oc(a,h),A=il(a,h),Or("invalid",a);break;case"textarea":Kb(a,h),A=qb(a,h),Or("invalid",a);break;default:A=h}switch(sa(o,A),Wo(o,a,v,A,x),o){case"input":mo(a),Ne(a,h,!1);break;case"textarea":mo(a),dh(a);break;case"option":Gn(a,h);break;case"select":Sv(a,h);break;default:typeof A.onClick=="function"&&Sm(a);break}}function e2(a,o,h,v,x){C1(o,v);var A=null,P,U;switch(o){case"input":P=k(a,h),U=k(a,v),A=[];break;case"select":P=il(a,h),U=il(a,v),A=[];break;case"textarea":P=qb(a,h),U=qb(a,v),A=[];break;default:P=h,U=v,typeof P.onClick!="function"&&typeof U.onClick=="function"&&Sm(a);break}sa(o,U);var W,re,ue=null;for(W in P)if(!(U.hasOwnProperty(W)||!P.hasOwnProperty(W)||P[W]==null))if(W===Md){var Te=P[W];for(re in Te)Te.hasOwnProperty(re)&&(ue||(ue={}),ue[re]="")}else W===Bf||W===Zc||W===dc||W===hc||W===S1||(It.hasOwnProperty(W)?A||(A=[]):(A=A||[]).push(W,null));for(W in U){var we=U[W],je=P?.[W];if(!(!U.hasOwnProperty(W)||we===je||we==null&&je==null))if(W===Md)if(we&&Object.freeze(we),je){for(re in je)je.hasOwnProperty(re)&&(!we||!we.hasOwnProperty(re))&&(ue||(ue={}),ue[re]="");for(re in we)we.hasOwnProperty(re)&&je[re]!==we[re]&&(ue||(ue={}),ue[re]=we[re])}else ue||(A||(A=[]),A.push(W,ue)),ue=we;else if(W===Bf){var Ge=we?we[x1]:void 0,et=je?je[x1]:void 0;Ge!=null&&et!==Ge&&(A=A||[]).push(W,Ge)}else W===Zc?(typeof we=="string"||typeof we=="number")&&(A=A||[]).push(W,""+we):W===dc||W===hc||(It.hasOwnProperty(W)?(we!=null&&(typeof we!="function"&&ym(W,we),W==="onScroll"&&Or("scroll",a)),!A&&je!==we&&(A=[])):(A=A||[]).push(W,we))}return ue&&(ln(ue,U[Md]),(A=A||[]).push(Md,ue)),A}function UC(a,o,h,v,x){h==="input"&&x.type==="radio"&&x.name!=null&&ae(a,x);var A=ul(h,v),P=ul(h,x);switch(Ns(a,o,A,P),h){case"input":ce(a,x);break;case"textarea":xv(a,x);break;case"select":Yb(a,x);break}}function HC(a){{var o=a.toLowerCase();return Tv.hasOwnProperty(o)&&Tv[o]||null}}function zx(a,o,h,v,x,
|
||
|
|
||
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
||
|
|
||
|
Please update the following components: %s`,P)}if(v.size>0){var U=Hf(v);l(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move data fetching code or side effects to componentDidUpdate.
|
||
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
||
|
|
||
|
Please update the following components: %s`,U)}if(A.size>0){var W=Hf(A);l(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move data fetching code or side effects to componentDidUpdate.
|
||
|
|
||
|
Please update the following components: %s`,W)}if(a.size>0){var re=Hf(a);s(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
||
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
||
|
|
||
|
Please update the following components: %s`,re)}if(h.size>0){var ue=Hf(h);s(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move data fetching code or side effects to componentDidUpdate.
|
||
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
||
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
||
|
|
||
|
Please update the following components: %s`,ue)}if(x.size>0){var Te=Hf(x);s(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move data fetching code or side effects to componentDidUpdate.
|
||
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
||
|
|
||
|
Please update the following components: %s`,Te)}};var li=new Map,Ko=new Set;no.recordLegacyContextWarning=function(a,o){var h=Zh(a);if(h===null){l("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!Ko.has(a.type)){var v=li.get(h);(a.type.contextTypes!=null||a.type.childContextTypes!=null||o!==null&&typeof o.getChildContext=="function")&&(v===void 0&&(v=[],li.set(h,v)),v.push(a))}},no.flushLegacyContextWarning=function(){li.forEach(function(a,o){if(a.length!==0){var h=a[0],v=new Set;a.forEach(function(A){v.add(Xn(A)||"Component"),Ko.add(A.type)});var x=Hf(v);try{oa(h),l(`Legacy context API has been detected within a strict-mode tree.
|
||
|
|
||
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
||
|
|
||
|
Please update the following components: %s
|
||
|
|
||
|
Learn more about this warning here: https://reactjs.org/link/legacy-context`,x)}finally{ga()}}})},no.discardPendingWarnings=function(){jf=[],Rm=[],Xh=[],$1=[],Ag=[],Cr=[],li=new Map}}function Zo(a,o){if(a&&a.defaultProps){var h=Zn({},o),v=a.defaultProps;for(var x in v)h[x]===void 0&&(h[x]=v[x]);return h}return o}var w2=bi(null),Eo;Eo={};var km=null,Qh=null,Og=null,Lg=!1;function Am(){km=null,Qh=null,Og=null,Lg=!1}function ql(){Lg=!0}function c5(){Lg=!1}function S4(a,o,h){Nl(w2,o._currentValue,a),o._currentValue=h,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Eo&&l("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Eo}function f5(a,o){var h=w2.current;cs(w2,o),a._currentValue=h}function x4(a,o,h){for(var v=a;v!==null;){var x=v.alternate;if(Nd(v.childLanes,o)?x!==null&&!Nd(x.childLanes,o)&&(x.childLanes=zn(x.childLanes,o)):(v.childLanes=zn(v.childLanes,o),x!==null&&(x.childLanes=zn(x.childLanes,o))),v===h)break;v=v.return}v!==h&&l("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Jh(a,o,h){U1(a,o,h)}function U1(a,o,h){var v=a.child;for(v!==null&&(v.return=a);v!==null;){var x=void 0,A=v.dependencies;if(A!==null){x=v.child;for(var P=A.firstContext;P!==null;){if(P.context===o){if(v.tag===m){var U=Vv(h),W=nf(ca,U);W.tag=Pg;var re=v.updateQueue;if(re!==null){var ue=re.shared,Te=ue.pending;Te===null?W.next=W:(W.next=Te.next,Te.next=W),ue.pending=W}}v.lanes=zn(v.lanes,h);var we=v.alternate;we!==null&&(we.lanes=zn(we.lanes,h)),x4(v.return,h,a),A.lanes=zn(A.lanes,h);break}P=P.next}}else if(v.tag===F)x=v.type===a.type?null:v.child;else if(v.tag===le){var je=v.return;if(je===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");je.lanes=zn(je.lanes,h);var Ge=je.alternate;Ge!==null&&(Ge.lanes=zn(Ge.lanes,h)),x4(je,h,a),x=v.sibling}else x=v.child;if(x!==null)x.return=v;else for(x=v;x!==null;){if(x===a){x=null;break}var et=x.sibling;if(et!==null){et.return=x.return,x=et;break}x=x.return}v=x}}function Mg(a,o){km=a,Qh=null,Og=null;var h=a.dependencies;if(h!==null){var v=h.firstContext;v!==null&&(Is(h.lanes,o)&&oN(),h.firstContext=null)}}function zi(a){Lg&&l("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var o=a._currentValue;if(Og!==a){var h={context:a,memoizedValue:o,next:null};if(Qh===null){if(km===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Qh=h,km.dependencies={lanes:vt,firstContext:h}}else Qh=Qh.next=h}return o}var ep=null;function Om(a){ep===null?ep=[a]:ep.push(a)}function Dg(){if(ep!==null){for(var a=0;a<ep.length;a++){var o=ep[a],h=o.interleaved;if(h!==null){o.interleaved=null;var v=h.next,x=o.pending;if(x!==null){var A=x.next;x.next=v,h.next=A}o.pending=h}}ep=null}}function tp(a,o,h,v){var x=o.interleaved;return x===null?(h.next=h,Om(o)):(h.next=x.next,x.next=h),o.interleaved=h,Lm(a,v)}function _2(a,o,h,v){var x=o.interleaved;x===null?(h.next=h,Om(o)):(h.next=x.next,x.next=h),o.interleaved=h}function C4(a,o,h,v){var x=o.interleaved;return x===null?(h.next=h,Om(o)):(h.next=x.next,x.next=h),o.interleaved=h,Lm(a,v)}function wl(a,o){return Lm(a,o)}var G7=Lm;function Lm(a,o){a.lanes=zn(a.lanes,o);var h=a.alternate;h!==null&&(h.lanes=zn(h.lanes,o)),h===null&&(a.flags&(mi|Tf))!==Dn&&ZP(a);for(var v=a,x=a.return;x!==null;)x.childLanes=zn(x.childLanes,o),h=x.alternate,h!==null?h.childLanes=zn(h.childLanes,o):(x.flags&(mi|Tf))!==Dn&&ZP(a),v=x,x=x.return;if(v.tag===S){var A=v.stateNode;return A}else return null}var d5=0,h5=1,Pg=2,N4=3,np=!1,H1,Mm;H1=
|
||
|
|
||
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
||
|
|
||
|
The above lifecycles should be removed. Learn more about this warning here:
|
||
|
https://reactjs.org/link/unsafe-component-lifecycles`,dn,Yn,je!==null?`
|
||
|
`+je:"",Ge!==null?`
|
||
|
`+Ge:"",et!==null?`
|
||
|
`+et:""))}}}return v&&B_(a,x,A),ue}function k2(a,o){var h=o.state;typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),h!==o.state&&(l("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Xn(a)||"Component"),rp.enqueueReplaceState(o,o.state,null))}function X_(a,o,h,v){var x=o.state;if(typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(h,v),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(h,v),o.state!==x){{var A=Xn(a)||"Component";E4.has(A)||(E4.add(A),l("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",A))}rp.enqueueReplaceState(o,o.state,null)}}function A2(a,o,h,v){K_(a,o,h);var x=a.stateNode;x.props=h,x.state=a.memoizedState,x.refs=Y_,j1(a);var A=o.contextType;if(typeof A=="object"&&A!==null)x.context=zi(A);else{var P=I1(a,o,!0);x.context=Tg(a,P)}{if(x.state===h){var U=gr(o)||"Component";V1.has(U)||(V1.add(U),l("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",U))}a.mode&Ii&&no.recordLegacyContextWarning(a,x),no.recordUnsafeLifecycleWarnings(a,x)}x.state=a.memoizedState;var W=o.getDerivedStateFromProps;if(typeof W=="function"&&(R2(a,o,W,h),x.state=a.memoizedState),typeof o.getDerivedStateFromProps!="function"&&typeof x.getSnapshotBeforeUpdate!="function"&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function")&&(k2(a,x),p5(a,h,x,v),x.state=a.memoizedState),typeof x.componentDidMount=="function"){var re=wr;re|=vo,(a.mode&Cu)!==Fn&&(re|=_n),a.flags|=re}}function Y7(a,o,h,v){var x=a.stateNode,A=a.memoizedProps;x.props=A;var P=x.context,U=o.contextType,W=pc;if(typeof U=="object"&&U!==null)W=zi(U);else{var re=I1(a,o,!0);W=Tg(a,re)}var ue=o.getDerivedStateFromProps,Te=typeof ue=="function"||typeof x.getSnapshotBeforeUpdate=="function";!Te&&(typeof x.UNSAFE_componentWillReceiveProps=="function"||typeof x.componentWillReceiveProps=="function")&&(A!==h||P!==W)&&X_(a,x,h,W),Kl();var we=a.memoizedState,je=x.state=we;if(p5(a,h,x,v),je=a.memoizedState,A===h&&we===je&&!S2()&&!E2()){if(typeof x.componentDidMount=="function"){var Ge=wr;Ge|=vo,(a.mode&Cu)!==Fn&&(Ge|=_n),a.flags|=Ge}return!1}typeof ue=="function"&&(R2(a,o,ue,h),je=a.memoizedState);var et=E2()||O4(a,o,A,h,we,je,W);if(et){if(!Te&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function")&&(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"){var dn=wr;dn|=vo,(a.mode&Cu)!==Fn&&(dn|=_n),a.flags|=dn}}else{if(typeof x.componentDidMount=="function"){var Yn=wr;Yn|=vo,(a.mode&Cu)!==Fn&&(Yn|=_n),a.flags|=Yn}a.memoizedProps=h,a.memoizedState=je}return x.props=h,x.state=je,x.context=W,et}function q7(a,o,h,v,x){var A=o.stateNode;w4(a,o);var P=o.memoizedProps,U=o.type===o.elementType?P:Zo(o.type,P);A.props=U;var W=o.pendingProps,re=A.context,ue=h.contextType,Te=pc;if(typeof ue=="object"&&ue!==null)Te=zi(ue);else{var we=I1(o,h,!0);Te=Tg(o,we)}var je=h.getDerivedStateFromProps,Ge=typeof je=="function"||typeof A.getSnapshotBeforeUpdate=="function";!Ge&&(typeof A.UNSAFE_componentWillReceiveProps=="function"||typeof A.componentWillReceiveProps=="function")&&(P!==W||re!==Te)&&X_(o,A,v,Te),Kl();var et=o.memoizedState,dn=A.state=et;if(p5(o,v,A,x),dn=o.memoizedState,P===W&&et===dn&&!S2()&&!E2()&&!ve)return typeof A.componentDidUpdate=="function"&&(P!==a.memoizedProps||et!==a.memoizedState)&&(o.flags|=wr),typeof A.getSnapshotBeforeUpdate=="function"&&(P!==a.memoizedProps||et!==a.memoizedState)&&(o.flags|=md),!1;typeof je=="function"&&(R2(o,h,je,v),dn=o.memoizedState);var Yn=E2()||O4(o,h,U,v,et,dn,Te)||ve;return Yn?(!Ge&&(typeof A.UNSAFE_componentWillUpd
|
||
|
1. You may be adding a ref to a function component
|
||
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
||
|
3. You have multiple copies of React loaded
|
||
|
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return v}function S5(a,o){var h=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(h==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":h)+"). If you meant to render a collection of children, use an array instead.")}function bc(a){{var o=Xn(a)||"Component";if(y5[o])return;y5[o]=!0,l("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function Q_(a){var o=a._payload,h=a._init;return h(o)}function J_(a){function o(Fe,tt){if(!!a){var ze=Fe.deletions;ze===null?(Fe.deletions=[tt],Fe.flags|=mh):ze.push(tt)}}function h(Fe,tt){if(!a)return null;for(var ze=tt;ze!==null;)o(Fe,ze),ze=ze.sibling;return null}function v(Fe,tt){for(var ze=new Map,Mt=tt;Mt!==null;)Mt.key!==null?ze.set(Mt.key,Mt):ze.set(Mt.index,Mt),Mt=Mt.sibling;return ze}function x(Fe,tt){var ze=Q2(Fe,tt);return ze.index=0,ze.sibling=null,ze}function A(Fe,tt,ze){if(Fe.index=ze,!a)return Fe.flags|=vd,tt;var Mt=Fe.alternate;if(Mt!==null){var hn=Mt.index;return hn<tt?(Fe.flags|=mi,tt):hn}else return Fe.flags|=mi,tt}function P(Fe){return a&&Fe.alternate===null&&(Fe.flags|=mi),Fe}function U(Fe,tt,ze,Mt){if(tt===null||tt.tag!==T){var hn=GR(ze,Fe.mode,Mt);return hn.return=Fe,hn}else{var sn=x(tt,ze);return sn.return=Fe,sn}}function W(Fe,tt,ze,Mt){var hn=ze.type;if(hn===dt)return ue(Fe,tt,ze.props.children,Mt,ze.key);if(tt!==null&&(tt.elementType===hn||eI(tt,ze)||typeof hn=="object"&&hn!==null&&hn.$$typeof===hr&&Q_(hn)===tt.type)){var sn=x(tt,ze.props);return sn.ref=Gf(Fe,tt,ze),sn.return=Fe,sn._debugSource=ze._source,sn._debugOwner=ze._owner,sn}var cr=VR(ze,Fe.mode,Mt);return cr.ref=Gf(Fe,tt,ze),cr.return=Fe,cr}function re(Fe,tt,ze,Mt){if(tt===null||tt.tag!==N||tt.stateNode.containerInfo!==ze.containerInfo||tt.stateNode.implementation!==ze.implementation){var hn=WR(ze,Fe.mode,Mt);return hn.return=Fe,hn}else{var sn=x(tt,ze.children||[]);return sn.return=Fe,sn}}function ue(Fe,tt,ze,Mt,hn){if(tt===null||tt.tag!==L){var sn=sb(ze,Fe.mode,Mt,hn);return sn.return=Fe,sn}else{var cr=x(tt,ze);return cr.return=Fe,cr}}function Te(Fe,tt,ze){if(typeof tt=="string"&&tt!==""||typeof tt=="number"){var Mt=GR(""+tt,Fe.mode,ze);return Mt.return=Fe,Mt}if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case Do:{var hn=VR(tt,Fe.mode,ze);return hn.ref=Gf(Fe,null,tt),hn.return=Fe,hn}case ge:{var sn=WR(tt,Fe.mode,ze);return sn.return=Fe,sn}case hr:{var cr=tt._payload,Nr=tt._init;return Te(Fe,Nr(cr),ze)}}if(Qn(tt)||bs(tt)){var Ua=sb(tt,Fe.mode,ze,null);return Ua.return=Fe,Ua}S5(Fe,tt)}return typeof tt=="function"&&bc(Fe),null}function we(Fe,tt,ze,Mt){var hn=tt!==null?tt.key:null;if(typeof ze=="string"&&ze!==""||typeof ze=="number")return hn!==null?null:U(Fe,tt,""+ze,Mt);if(typeof ze=="object"&&ze!==null){switch(ze.$$typeof){case Do:return ze.key===hn?W(Fe,tt,ze,Mt):null;case ge:return ze.key===hn?re(Fe,tt,ze,Mt):null;case hr:{var sn=ze._payload,cr=ze._init;return we(Fe,tt,cr(sn),Mt)}}if(Qn(ze)||bs(ze))return hn!==null?null:ue(Fe,tt,ze,Mt,null);S5(Fe,ze)}return typeof ze=="function"&&bc(Fe),null}function je(Fe,tt,ze,Mt,hn){if(typeof Mt=="string"&&Mt!==""||typeof Mt=="number"){var sn=Fe.get(ze)||null;return U(tt,sn,""+Mt,hn)}if(typeof Mt=="object"&&Mt!==null){switch(Mt.$$typeof){case Do:{var cr=Fe.get(Mt.key===null?ze:Mt.key)||null;return W(tt,cr,Mt,hn)}case ge:{var Nr=Fe.get(Mt.key===null?ze:Mt.key)||null;return re(tt,Nr,Mt,hn)}case hr:var Ua=Mt._payload,pa=Mt._init;return je(Fe,tt,ze,pa(Ua),hn)}if(Qn(Mt)||bs(Mt)){var hs=Fe.get(ze)||null;return ue(tt,hs,Mt,hn,null)}S5(tt,Mt)}return typeof Mt=="function"&&bc(tt),null}function Ge(Fe,tt,ze){{if(typeof Fe!="object"||Fe===null)return tt;switch(Fe.$$typeof){case Do:case ge:I4(Fe,ze);var Mt=Fe.key;if(typeof Mt!="string")break;if(tt===null){tt=new Set,tt.add(Mt);break}if(!tt.has(Mt)){tt.add(Mt);break}l("Encountered two children with the same key, `%s`. Keys should be unique so th
|
||
|
`,h+=U}l(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
||
|
|
||
|
Previous render Next render
|
||
|
------------------------------------------------------
|
||
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
`,o,h)}}}function Ui(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
||
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
||
|
2. You might be breaking the Rules of Hooks
|
||
|
3. You might have more than one copy of React in the same app
|
||
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function G4(a,o){if(ip)return!1;if(o===null)return l("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ot),!1;a.length!==o.length&&l(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
||
|
|
||
|
Previous: %s
|
||
|
Incoming: %s`,ot,"["+o.join(", ")+"]","["+a.join(", ")+"]");for(var h=0;h<o.length&&h<a.length;h++)if(!ss(a[h],o[h]))return!1;return!0}function J1(a,o,h,v,x,A){ap=A,_a=o,af=a!==null?a._debugHookTypes:null,Pm=-1,ip=a!==null&&a.type!==o.type,o.memoizedState=null,o.updateQueue=null,o.lanes=vt,a!==null&&a.memoizedState!==null?rn.current=Ye:af!==null?rn.current=Ie:rn.current=Ce;var P=h(v,x);if(Bg){var U=0;do{if(Bg=!1,Q1=0,U>=yc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");U+=1,ip=!1,Ro=null,fs=null,o.updateQueue=null,Pm=-1,rn.current=lt,P=h(v,x)}while(Bg)}rn.current=pe,o._debugHookTypes=af;var W=Ro!==null&&Ro.next!==null;if(ap=vt,_a=null,Ro=null,fs=null,ot=null,af=null,Pm=-1,a!==null&&(a.flags&cl)!==(o.flags&cl)&&(a.mode&Pr)!==Fn&&l("Internal React error: Expected static flag was missing. Please notify the React team."),_5=!1,W)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return P}function eb(){var a=Q1!==0;return Q1=0,a}function W4(a,o,h){o.updateQueue=a.updateQueue,(o.mode&Cu)!==Fn?o.flags&=~(gh|_n|ec|wr):o.flags&=~(ec|wr),a.lanes=Lf(a.lanes,h)}function E5(){if(rn.current=pe,_5){for(var a=_a.memoizedState;a!==null;){var o=a.queue;o!==null&&(o.pending=null),a=a.next}_5=!1}ap=vt,_a=null,Ro=null,fs=null,af=null,Pm=-1,ot=null,fE=!1,Bg=!1,Q1=0}function Vd(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fs===null?_a.memoizedState=fs=a:fs=fs.next=a,fs}function of(){var a;if(Ro===null){var o=_a.alternate;o!==null?a=o.memoizedState:a=null}else a=Ro.next;var h;if(fs===null?h=_a.memoizedState:h=fs.next,h!==null)fs=h,h=fs.next,Ro=a;else{if(a===null)throw new Error("Rendered more hooks than during the previous render.");Ro=a;var v={memoizedState:Ro.memoizedState,baseState:Ro.baseState,baseQueue:Ro.baseQueue,queue:Ro.queue,next:null};fs===null?_a.memoizedState=fs=v:fs=fs.next=v}return fs}function T5(){return{lastEffect:null,stores:null}}function R5(a,o){return typeof o=="function"?o(a):o}function Y4(a,o,h){var v=Vd(),x;h!==void 0?x=h(o):x=o,v.memoizedState=v.baseState=x;var A={pending:null,interleaved:null,lanes:vt,dispatch:null,lastRenderedReducer:a,lastRenderedState:x};v.queue=A;var P=A.dispatch=C.bind(null,_a,A);return[v.memoizedState,P]}function k5(a,o,h){var v=of(),x=v.queue;if(x===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");x.lastRenderedReducer=a;var A=Ro,P=A.baseQueue,U=x.pending;if(U!==null){if(P!==null){var W=P.next,re=U.next;P.next=re,U.next=W}A.baseQueue!==P&&l("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),A.baseQueue=P=U,x.pending=null}if(P!==null){var ue=P.next,Te=A.baseState,we=null,je=null,Ge=null,et=ue;do{var dn=et.lane;if(Nd(ap,dn)){if(Ge!==null){var An={lane:eo,action:et.action,hasEagerState:et.hasEagerState,eagerState:et.eagerState,next:null};Ge=Ge.next=An}if(et.hasEagerState)Te=et.eagerState;else{var ta=et.action;Te=a(Te,ta)}}else{var Yn={lane:dn,action:et.action,hasEagerState:et.hasEagerState,eagerState:et.eagerState,next:null};Ge===null?(je=Ge=Yn,we=Te):Ge=Ge.next=Yn,_a.lanes=zn(_a.lanes,dn),bN(dn)}et=et.next}while(et!==null&&et!==ue);Ge===null?we=Te:Ge.next=je,ss(Te,v.memoizedState)||oN(),v.memoizedState=Te,v.baseState=we,v.baseQueue=Ge,x.lastRenderedState=Te}var Wr=x.interleaved;if(Wr!==null){var Fe=Wr;do{var tt=Fe.lane;_a.lanes=zn(_a.lanes,tt),bN(tt),Fe=Fe.next}while(Fe!==Wr)}else P===null&&(x.lanes=vt);var ze=x.dispatch;return[v.memoizedState,ze]}function q4(a,o,h){var v=of(),x=v.queue;if(x===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");x.lastRenderedReducer=a;var A=x.dispatch,P=x.pending,U=v.memoizedState;if(P!==null){x.pending=null;var W=P.next,re=W;do{var ue=re.action;U=a(U,ue),re=re.next}while(re!==W);ss(U,v.memoizedState)||oN(),v.memoizedState=U,v.baseQueue===null&&(v.baseState=U),x.lastRenderedState=U}return[U,A]}function VD(a,o,h){}function rE(a,o,h){}function I2(a,o,h){var v=_a,x=Vd(),A,P=
|
||
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var ue=Xn(a)||"Anonymous";re="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+ue+".")}var Te=W+`
|
||
|
`+P+`
|
||
|
|
||
|
`+(""+re);console.error(Te)}catch(we){setTimeout(function(){throw we})}}var Q7=typeof WeakMap=="function"?WeakMap:Map;function dE(a,o,h){var v=nf(ca,h);v.tag=N4,v.payload={element:null};var x=o.value;return v.callback=function(){sJ(x),sf(a,o)},v}function J7(a,o,h){var v=nf(ca,h);v.tag=N4;var x=a.type.getDerivedStateFromError;if(typeof x=="function"){var A=o.value;v.payload=function(){return x(A)},v.callback=function(){tI(a),sf(a,o)}}var P=a.stateNode;return P!==null&&typeof P.componentDidCatch=="function"&&(v.callback=function(){tI(a),sf(a,o),typeof x!="function"&&iJ(this);var W=o.value,re=o.stack;this.componentDidCatch(W,{componentStack:re!==null?re:""}),typeof x!="function"&&(Is(a.lanes,ir)||l("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Xn(a)||"Unknown"))}),v}function GD(a,o,h){var v=a.pingCache,x;if(v===null?(v=a.pingCache=new Q7,x=new Set,v.set(o,x)):(x=v.get(o),x===void 0&&(x=new Set,v.set(o,x))),!x.has(h)){x.add(h);var A=lJ.bind(null,a,o,h);is&&yN(a,h),o.then(A,A)}}function vX(a,o,h,v){var x=a.updateQueue;if(x===null){var A=new Set;A.add(h),a.updateQueue=A}else x.add(h)}function gX(a,o){var h=a.tag;if((a.mode&Pr)===Fn&&(h===d||h===z||h===Z)){var v=a.alternate;v?(a.updateQueue=v.updateQueue,a.memoizedState=v.memoizedState,a.lanes=v.lanes):(a.updateQueue=null,a.memoizedState=null)}}function WD(a){var o=a;do{if(o.tag===G&&nE(o))return o;o=o.return}while(o!==null);return null}function YD(a,o,h,v,x){if((a.mode&Pr)===Fn){if(a===o)a.flags|=Pi;else{if(a.flags|=Hr,h.flags|=vh,h.flags&=~(Fc|Dv),h.tag===m){var A=h.alternate;if(A===null)h.tag=ie;else{var P=nf(ca,ir);P.tag=Pg,Bi(h,P,ir)}}h.lanes=zn(h.lanes,ir)}return a}return a.flags|=Pi,a.lanes=x,a}function bX(a,o,h,v,x){if(h.flags|=Dv,is&&yN(a,x),v!==null&&typeof v=="object"&&typeof v.then=="function"){var A=v;gX(h),zr()&&h.mode&Pr&&H_();var P=WD(o);if(P!==null){P.flags&=~Ef,YD(P,o,h,a,x),P.mode&Pr&&GD(a,A,x),vX(P,a,A);return}else{if(!vx(x)){GD(a,A,x),LR();return}var U=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");v=U}}else if(zr()&&h.mode&Pr){H_();var W=WD(o);if(W!==null){(W.flags&Pi)===Dn&&(W.flags|=Ef),YD(W,o,h,a,x),gc(Xl(v,h));return}}v=Xl(v,h),XQ(v);var re=o;do{switch(re.tag){case S:{var ue=v;re.flags|=Pi;var Te=Vv(x);re.lanes=zn(re.lanes,Te);var we=dE(re,ue,Te);_4(re,we);return}case m:var je=v,Ge=re.type,et=re.stateNode;if((re.flags&Hr)===Dn&&(typeof Ge.getDerivedStateFromError=="function"||et!==null&&typeof et.componentDidCatch=="function"&&!WP(et))){re.flags|=Pi;var dn=Vv(x);re.lanes=zn(re.lanes,dn);var Yn=J7(re,je,dn);_4(re,Yn);return}break}re=re.return}while(re!==null)}function yX(){return null}var aN=n.ReactCurrentOwner,op=!1,eR,iN,tR,nR,rR,Y2,aR,hE;eR={},iN={},tR={},nR={},rR={},Y2=!1,aR={},hE={};function Sc(a,o,h,v){a===null?o.child=eE(o,null,h,v):o.child=Ig(o,a.child,h,v)}function SX(a,o,h,v){o.child=Ig(o,a.child,null,v),o.child=Ig(o,null,h,v)}function qD(a,o,h,v,x){if(o.type!==o.elementType){var A=h.propTypes;A&&Ka(A,v,"prop",gr(h))}var P=h.render,U=o.ref,W,re;Mg(o,x),Bv(o);{if(aN.current=o,_i(!0),W=J1(a,o,P,v,U,x),re=eb(),o.mode&Ii){Na(!0);try{W=J1(a,o,P,v,U,x),re=eb()}finally{Na(!1)}}_i(!1)}return vi(),a!==null&&!op?(W4(a,o,x),$g(a,o,x)):(zr()&&re&&p4(o),o.flags|=Pc,Sc(a,o,W,x),o.child)}function KD(a,o,h,v,x){if(a===null){var A=h.type;if(_J(A)&&h.compare===null&&h.defaultProps===void 0){var P=A;return P=Y5(A),o.tag=Z,o.type=P,sR(o,A),ZD(a,o,P,v,x)}{var U=A.propTypes;U&&Ka(U,v,"prop",gr(A))}var W=jR(h.type,null,v,o,o.mode,x);return W.ref=o.ref,W.return=o,o.child=W,W}{var re=h.type,ue=re.propTypes;ue&&Ka(ue,v,"prop",gr(re))}var Te=a.child,we=hR(a,x);if(!we){var je=Te.memoizedProps,Ge=h.compare;if(Ge=Ge!==null?Ge:kd,Ge(je,v)&&a.ref===o.ref)return $g(a,o,x)}o.flags|=Pc;var et=Q2(Te,v);return et.ref=o.ref,et.return=o,o.child=et,et}function ZD(a,o,h,v,x){if(o.type!==o.elementType){var A=o.elementType;if
|
||
|
|
||
|
Check the render method of \``+v+"`.");var x=v||"",A=a._debugSource;A&&(x=A.fileName+":"+A.lineNumber),rR[x]||(rR[x]=!0,l("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",h))}if(typeof o.getDerivedStateFromProps=="function"){var P=gr(o)||"Unknown";nR[P]||(l("%s: Function components do not support getDerivedStateFromProps.",P),nR[P]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var U=gr(o)||"Unknown";tR[U]||(l("%s: Function components do not support contextType.",U),tR[U]=!0)}}}var lR={dehydrated:null,treeContext:null,retryLane:eo};function uR(a){return{baseLanes:a,cachePool:yX(),transitions:null}}function AX(a,o){var h=null;return{baseLanes:zn(a.baseLanes,o),cachePool:h,transitions:a.transitions}}function OX(a,o,h,v){if(o!==null){var x=o.memoizedState;if(x===null)return!1}return D2(a,M2)}function LX(a,o){return Lf(a.childLanes,o)}function nP(a,o,h){var v=o.pendingProps;UJ(o)&&(o.flags|=Hr);var x=rf.current,A=!1,P=(o.flags&Hr)!==Dn;if(P||OX(x,a)?(A=!0,o.flags&=~Hr):(a===null||a.memoizedState!==null)&&(x=U4(x,N5)),x=K1(x),Wf(o,x),a===null){b4(o);var U=o.memoizedState;if(U!==null){var W=U.dehydrated;if(W!==null)return FX(o,W)}var re=v.children,ue=v.fallback;if(A){var Te=MX(o,re,ue,h),we=o.child;return we.memoizedState=uR(h),o.memoizedState=lR,Te}else return cR(o,re)}else{var je=a.memoizedState;if(je!==null){var Ge=je.dehydrated;if(Ge!==null)return zX(a,o,P,v,Ge,je,h)}if(A){var et=v.fallback,dn=v.children,Yn=PX(a,o,dn,et,h),An=o.child,ta=a.child.memoizedState;return An.memoizedState=ta===null?uR(h):AX(ta,h),An.childLanes=LX(a,h),o.memoizedState=lR,Yn}else{var Wr=v.children,Fe=DX(a,o,Wr,h);return o.memoizedState=null,Fe}}}function cR(a,o,h){var v=a.mode,x={mode:"visible",children:o},A=fR(x,v);return A.return=a,a.child=A,A}function MX(a,o,h,v){var x=a.mode,A=a.child,P={mode:"hidden",children:o},U,W;return(x&Pr)===Fn&&A!==null?(U=A,U.childLanes=vt,U.pendingProps=P,a.mode&Jr&&(U.actualDuration=0,U.actualStartTime=-1,U.selfBaseDuration=0,U.treeBaseDuration=0),W=sb(h,x,v,null)):(U=fR(P,x),W=sb(h,x,v,null)),U.return=a,W.return=a,U.sibling=W,a.child=U,W}function fR(a,o,h){return rI(a,o,vt,null)}function rP(a,o){return Q2(a,o)}function DX(a,o,h,v){var x=a.child,A=x.sibling,P=rP(x,{mode:"visible",children:h});if((o.mode&Pr)===Fn&&(P.lanes=v),P.return=o,P.sibling=null,A!==null){var U=o.deletions;U===null?(o.deletions=[A],o.flags|=mh):U.push(A)}return o.child=P,P}function PX(a,o,h,v,x){var A=o.mode,P=a.child,U=P.sibling,W={mode:"hidden",children:h},re;if((A&Pr)===Fn&&o.child!==P){var ue=o.child;re=ue,re.childLanes=vt,re.pendingProps=W,o.mode&Jr&&(re.actualDuration=0,re.actualStartTime=-1,re.selfBaseDuration=P.selfBaseDuration,re.treeBaseDuration=P.treeBaseDuration),o.deletions=null}else re=rP(P,W),re.subtreeFlags=P.subtreeFlags&cl;var Te;return U!==null?Te=Q2(U,v):(Te=sb(v,A,x,null),Te.flags|=mi),Te.return=o,re.return=o,re.sibling=Te,o.child=re,Te}function pE(a,o,h,v){v!==null&&gc(v),Ig(o,a.child,null,h);var x=o.pendingProps,A=x.children,P=cR(o,A);return P.flags|=mi,o.memoizedState=null,P}function IX(a,o,h,v,x){var A=o.mode,P={mode:"visible",children:h},U=fR(P,A),W=sb(v,A,x,null);return W.flags|=mi,U.return=o,W.return=o,U.sibling=W,o.child=U,(o.mode&Pr)!==Fn&&Ig(o,a.child,null,x),W}function FX(a,o,h){return(a.mode&Pr)===Fn?(l("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),a.lanes=ir):O1(o)?a.lanes=xd:a.lanes=Fl,null}function zX(a,o,h,v,x,A,P){if(h)if(o.flags&Ef){o.flags&=~Ef;var Fe=zm(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return pE(a,o,P,Fe)}else{if(o.memoizedState!==null)return o.child=a.child,o.flags|=Hr,null;var tt=v.children,ze=v.fallback,Mt=IX(a,o,tt,ze,P),hn=o.child;return hn.memoizedState=uR(P),o.memoizedState=lR,Mt}else{if(z7(),(o.mode&Pr)===Fn)return pE(a,o,P,null);if(O1(x)){var U,W,re;{var ue=i
|
||
|
|
||
|
It looks like you wrote `+W+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
||
|
|
||
|
`+W+`(() => {
|
||
|
async function fetchData() {
|
||
|
// You can await here
|
||
|
const response = await MyAPI.getData(someId);
|
||
|
// ...
|
||
|
}
|
||
|
fetchData();
|
||
|
}, [someId]); // Or [] if effect doesn't need props or state
|
||
|
|
||
|
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:re=" You returned: "+U,l("%s must not return anything besides a function, which is used for clean-up.%s",W,re)}}}A=A.next}while(A!==x)}}function iQ(a,o){if((o.flags&wr)!==Dn)switch(o.tag){case H:{var h=o.stateNode.passiveEffectDuration,v=o.memoizedProps,x=v.id,A=v.onPostCommit,P=Lr(),U=o.alternate===null?"mount":"update";on()&&(U="nested-update"),typeof A=="function"&&A(x,U,h,P);var W=o.return;e:for(;W!==null;){switch(W.tag){case S:var re=W.stateNode;re.passiveEffectDuration+=h;break e;case H:var ue=W.stateNode;ue.passiveEffectDuration+=h;break e}W=W.return}break}}}function oQ(a,o,h,v){if((h.flags&Pv)!==Dn)switch(h.tag){case d:case z:case Z:{if(!Jl)if(h.mode&Jr)try{Oi(),nb(Ai|$i,h)}finally{ui(h)}else nb(Ai|$i,h);break}case m:{var x=h.stateNode;if(h.flags&wr&&!Jl)if(o===null)if(h.type===h.elementType&&!Y2&&(x.props!==h.memoizedProps&&l("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Xn(h)||"instance"),x.state!==h.memoizedState&&l("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Xn(h)||"instance")),h.mode&Jr)try{Oi(),x.componentDidMount()}finally{ui(h)}else x.componentDidMount();else{var A=h.elementType===h.type?o.memoizedProps:Zo(h.type,o.memoizedProps),P=o.memoizedState;if(h.type===h.elementType&&!Y2&&(x.props!==h.memoizedProps&&l("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Xn(h)||"instance"),x.state!==h.memoizedState&&l("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Xn(h)||"instance")),h.mode&Jr)try{Oi(),x.componentDidUpdate(A,P,x.__reactInternalSnapshotBeforeUpdate)}finally{ui(h)}else x.componentDidUpdate(A,P,x.__reactInternalSnapshotBeforeUpdate)}var U=h.updateQueue;U!==null&&(h.type===h.elementType&&!Y2&&(x.props!==h.memoizedProps&&l("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Xn(h)||"instance"),x.state!==h.memoizedState&&l("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Xn(h)||"instance")),m5(h,U,x));break}case S:{var W=h.updateQueue;if(W!==null){var re=null;if(h.child!==null)switch(h.child.tag){case w:re=h.child.stateNode;break;case m:re=h.child.stateNode;break}m5(h,W,re)}break}case w:{var ue=h.stateNode;if(o===null&&h.flags&wr){var Te=h.type,we=h.memoizedProps;QC(ue,Te,we)}break}case T:break;case N:break;case H:{{var je=h.memoizedProps,Ge=je.onCommit,et=je.onRender,dn=h.stateNode.effectDuration,Yn=Lr(),An=o===null?"mount":"update";on()&&(An="nested-update"),typeof et=="function"&&et(h.memoizedProps.id,An,h.actualDuration,h.treeBaseDuration,h.actualStartTime,Yn);{typeof Ge=="function"&&Ge(h.memoizedProps.id,An,dn,Yn),rJ(h);var ta=h.return;e:for(;ta!==null;){switch(ta.tag){case S:var Wr=ta.stateNode;Wr.effectDuration+=dn;break e;case H:var Fe=ta.stateNode;Fe.effectDuration+=dn;break e}ta=ta.return}}}break}case G:{pQ(a,h);break}case oe:case ie:case Ae:case de:case Se:case _e:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Jl||h.flags&Uo&&SP(h)}function sQ(a){switch(a.tag){case d:case z:case Z:{if(a.mode&Jr)try{Oi(),gP(a,a.return)}finally{ui(a)}else gP(a,a.return);break}case m:{var o=a.stateNode;typeof o.componentDidMount=="functio
|
||
|
|
||
|
Error message:
|
||
|
|
||
|
%s`,h)}function lJ(a,o,h){var v=a.pingCache;v!==null&&v.delete(o);var x=Cc();Fs(a,h),gJ(a),xc===a&&Nd(Ks,h)&&(Zs===cN||Zs===bE&&Zp(Ks)&&Ti()-NR<MP?Z2(a,vt):SE=zn(SE,h)),uf(a,x)}function qP(a,o){o===eo&&(o=HQ(a));var h=Cc(),v=wl(a,o);v!==null&&(Nh(v,o,h),uf(v,h))}function uJ(a){var o=a.memoizedState,h=eo;o!==null&&(h=o.retryLane),qP(a,h)}function cJ(a,o){var h=eo,v;switch(a.tag){case G:v=a.stateNode;var x=a.memoizedState;x!==null&&(h=x.retryLane);break;case oe:v=a.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}v!==null&&v.delete(o),qP(a,h)}function fJ(a){return a<120?120:a<480?480:a<1080?1080:a<1920?1920:a<3e3?3e3:a<4320?4320:zQ(a/1960)*1960}function dJ(){if(vN>$Q)throw vN=0,TR=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");G5>UQ&&(G5=0,NE=null,l("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function hJ(){no.flushLegacyContextWarning(),no.flushPendingUnsafeLifecycleWarnings()}function KP(a,o){oa(a),RE(a,_n,LQ),o&&RE(a,gh,MQ),RE(a,_n,AQ),o&&RE(a,gh,OQ),ga()}function RE(a,o,h){for(var v=a,x=null;v!==null;){var A=v.subtreeFlags&o;v!==x&&v.child!==null&&A!==Dn?v=v.child:((v.flags&o)!==Dn&&h(v),v.sibling!==null?v=v.sibling:v=x=v.return)}}var kE=null;function ZP(a){{if((ea&nu)!==qs||!(a.mode&Pr))return;var o=a.tag;if(o!==b&&o!==S&&o!==m&&o!==d&&o!==z&&o!==K&&o!==Z)return;var h=Xn(a)||"ReactComponent";if(kE!==null){if(kE.has(h))return;kE.add(h)}else kE=new Set([h]);var v=qr;try{oa(a),l("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{v?oa(a):ga()}}}var MR;{var pJ=null;MR=function(a,o,h){var v=aI(pJ,o);try{return uP(a,o,h)}catch(A){if(B7()||A!==null&&typeof A=="object"&&typeof A.then=="function")throw A;if(Am(),E5(),mP(a,o),aI(o,v),o.mode&Jr&&Bn(o),Dc(null,uP,null,a,o,h),Q()){var x=Xi();typeof x=="object"&&x!==null&&x._suppressLogging&&typeof A=="object"&&A!==null&&!A._suppressLogging&&(A._suppressLogging=!0)}throw A}}}var XP=!1,DR;DR=new Set;function mJ(a){if(ts&&!u())switch(a.tag){case d:case z:case Z:{var o=ko&&Xn(ko)||"Unknown",h=o;if(!DR.has(h)){DR.add(h);var v=Xn(a)||"Unknown";l("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",v,o,o)}break}case m:{XP||(l("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),XP=!0);break}}}function yN(a,o){if(is){var h=a.memoizedUpdaters;h.forEach(function(v){_d(a,v,o)})}}var PR={};function IR(a,o){{var h=cp.current;return h!==null?(h.push(o),PR):rs(a,o)}}function QP(a){if(a!==PR)return rc(a)}function JP(){return cp.current!==null}function vJ(a){{if(a.mode&Pr){if(!AP())return}else if(!FQ()||ea!==qs||a.tag!==d&&a.tag!==z&&a.tag!==Z)return;if(cp.current===null){var o=qr;try{oa(a),l(`An update to %s inside a test was not wrapped in act(...).
|
||
|
|
||
|
When testing, code that causes React state updates should be wrapped into act(...):
|
||
|
|
||
|
act(() => {
|
||
|
/* fire events that update state */
|
||
|
});
|
||
|
/* assert on the output */
|
||
|
|
||
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Xn(a))}finally{o?oa(a):ga()}}}}function gJ(a){a.tag!==_m&&AP()&&cp.current===null&&l(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
||
|
|
||
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
||
|
|
||
|
act(() => {
|
||
|
/* finish loading suspended data */
|
||
|
});
|
||
|
/* assert on the output */
|
||
|
|
||
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function SN(a){IP=a}var Wd=null,W5=null,bJ=function(a){Wd=a};function Y5(a){{if(Wd===null)return a;var o=Wd(a);return o===void 0?a:o.current}}function FR(a){return Y5(a)}function zR(a){{if(Wd===null)return a;var o=Wd(a);if(o===void 0){if(a!=null&&typeof a.render=="function"){var h=Y5(a.render);if(a.render!==h){var v={$$typeof:Ht,render:h};return a.displayName!==void 0&&(v.displayName=a.displayName),v}}return a}return o.current}}function eI(a,o){{if(Wd===null)return!1;var h=a.elementType,v=o.type,x=!1,A=typeof v=="object"&&v!==null?v.$$typeof:null;switch(a.tag){case m:{typeof v=="function"&&(x=!0);break}case d:{(typeof v=="function"||A===hr)&&(x=!0);break}case z:{(A===Ht||A===hr)&&(x=!0);break}case K:case Z:{(A===kr||A===hr)&&(x=!0);break}default:return!1}if(x){var P=Wd(h);if(P!==void 0&&P===Wd(v))return!0}return!1}}function tI(a){{if(Wd===null||typeof WeakSet!="function")return;W5===null&&(W5=new WeakSet),W5.add(a)}}var yJ=function(a,o){{if(Wd===null)return;var h=o.staleFamilies,v=o.updatedFamilies;Vg(),jg(function(){BR(a.current,v,h)})}},SJ=function(a,o){{if(a.context!==pc)return;Vg(),jg(function(){xN(o,a,null,null)})}};function BR(a,o,h){{var v=a.alternate,x=a.child,A=a.sibling,P=a.tag,U=a.type,W=null;switch(P){case d:case Z:case m:W=U;break;case z:W=U.render;break}if(Wd===null)throw new Error("Expected resolveFamily to be set during hot reload.");var re=!1,ue=!1;if(W!==null){var Te=Wd(W);Te!==void 0&&(h.has(Te)?ue=!0:o.has(Te)&&(P===m?ue=!0:re=!0))}if(W5!==null&&(W5.has(a)||v!==null&&W5.has(v))&&(ue=!0),ue&&(a._debugNeedsRemount=!0),ue||re){var we=wl(a,ir);we!==null&&Xs(we,a,ir,ca)}x!==null&&!ue&&BR(x,o,h),A!==null&&BR(A,o,h)}}var xJ=function(a,o){{var h=new Set,v=new Set(o.map(function(x){return x.current}));return $R(a.current,v,h),h}};function $R(a,o,h){{var v=a.child,x=a.sibling,A=a.tag,P=a.type,U=null;switch(A){case d:case Z:case m:U=P;break;case z:U=P.render;break}var W=!1;U!==null&&o.has(U)&&(W=!0),W?CJ(a,h):v!==null&&$R(v,o,h),x!==null&&$R(x,o,h)}}function CJ(a,o){{var h=NJ(a,o);if(h)return;for(var v=a;;){switch(v.tag){case w:o.add(v.stateNode);return;case N:o.add(v.stateNode.containerInfo);return;case S:o.add(v.stateNode.containerInfo);return}if(v.return===null)throw new Error("Expected to reach root first.");v=v.return}}}function NJ(a,o){for(var h=a,v=!1;;){if(h.tag===w)v=!0,o.add(h.stateNode);else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===a)return v;for(;h.sibling===null;){if(h.return===null||h.return===a)return v;h=h.return}h.sibling.return=h.return,h=h.sibling}return!1}var UR;{UR=!1;try{var nI=Object.preventExtensions({})}catch{UR=!0}}function wJ(a,o,h,v){this.tag=a,this.key=h,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=o,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=v,this.flags=Dn,this.subtreeFlags=Dn,this.deletions=null,this.lanes=vt,this.childLanes=vt,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!UR&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Yf=function(a,o,h,v){return new wJ(a,o,h,v)};function HR(a){var o=a.prototype;return!!(o&&o.isReactComponent)}function _J(a){return typeof a=="function"&&!HR(a)&&a.defaultProps===void 0}function EJ(a){if(typeof a=="function")return HR(a)?m:d;if(a!=null){var o=a.$$typeof;if(o===Ht)return z;if(o===kr)return K}return b}function Q2(a,o){var h=a.alternate;h===null?(h=Yf(a.tag,o,a.key,a.mode),h.elementType=a.elementType,h.type=a.type,h.stateNode=a.stateNode,h._debugSource=a._debugSource,h._debugOwner=a._debugOwner,h._de
|
||
|
|
||
|
Check the render method of \``+re+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(a==null?a:typeof a)+"."+W))}}}var ue=Yf(P,h,o,x);return ue.elementType=a,ue.type=U,ue.lanes=A,ue._debugOwner=v,ue}function VR(a,o,h){var v=null;v=a._owner;var x=a.type,A=a.key,P=a.props,U=jR(x,A,P,v,o,h);return U._debugSource=a._source,U._debugOwner=a._owner,U}function sb(a,o,h,v){var x=Yf(L,a,v,o);return x.lanes=h,x}function kJ(a,o,h,v){typeof a.id!="string"&&l('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof a.id);var x=Yf(H,a,v,o|Jr);return x.elementType=bn,x.lanes=h,x.stateNode={effectDuration:0,passiveEffectDuration:0},x}function AJ(a,o,h,v){var x=Yf(G,a,v,o);return x.elementType=Kn,x.lanes=h,x}function OJ(a,o,h,v){var x=Yf(oe,a,v,o);return x.elementType=sr,x.lanes=h,x}function rI(a,o,h,v){var x=Yf(de,a,v,o);x.elementType=Po,x.lanes=h;var A={isHidden:!1};return x.stateNode=A,x}function GR(a,o,h){var v=Yf(T,a,null,o);return v.lanes=h,v}function LJ(){var a=Yf(w,null,null,Fn);return a.elementType="DELETED",a}function MJ(a){var o=Yf(le,null,null,Fn);return o.stateNode=a,o}function WR(a,o,h){var v=a.children!==null?a.children:[],x=Yf(N,v,a.key,o);return x.lanes=h,x.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},x}function aI(a,o){return a===null&&(a=Yf(b,null,null,Fn)),a.tag=o.tag,a.key=o.key,a.elementType=o.elementType,a.type=o.type,a.stateNode=o.stateNode,a.return=o.return,a.child=o.child,a.sibling=o.sibling,a.index=o.index,a.ref=o.ref,a.pendingProps=o.pendingProps,a.memoizedProps=o.memoizedProps,a.updateQueue=o.updateQueue,a.memoizedState=o.memoizedState,a.dependencies=o.dependencies,a.mode=o.mode,a.flags=o.flags,a.subtreeFlags=o.subtreeFlags,a.deletions=o.deletions,a.lanes=o.lanes,a.childLanes=o.childLanes,a.alternate=o.alternate,a.actualDuration=o.actualDuration,a.actualStartTime=o.actualStartTime,a.selfBaseDuration=o.selfBaseDuration,a.treeBaseDuration=o.treeBaseDuration,a._debugSource=o._debugSource,a._debugOwner=o._debugOwner,a._debugNeedsRemount=o._debugNeedsRemount,a._debugHookTypes=o._debugHookTypes,a}function DJ(a,o,h,v,x){this.tag=o,this.containerInfo=a,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=f2,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=eo,this.eventTimes=Ya(vt),this.expirationTimes=Ya(ca),this.pendingLanes=vt,this.suspendedLanes=vt,this.pingedLanes=vt,this.expiredLanes=vt,this.mutableReadLanes=vt,this.finishedLanes=vt,this.entangledLanes=vt,this.entanglements=Ya(vt),this.identifierPrefix=v,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var A=this.pendingUpdatersLaneMap=[],P=0;P<Uv;P++)A.push(new Set)}switch(o){case n5:this._debugRootType=h?"hydrateRoot()":"createRoot()";break;case _m:this._debugRootType=h?"hydrate()":"render()";break}}function iI(a,o,h,v,x,A,P,U,W,re){var ue=new DJ(a,o,h,U,W),Te=RJ(o,A);ue.current=Te,Te.stateNode=ue;{var we={element:v,isDehydrated:h,cache:null,transitions:null,pendingSuspenseBoundaries:null};Te.memoizedState=we}return j1(Te),ue}var YR="18.2.0";function PJ(a,o,h){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return fr(v),{$$typeof:ge,key:v==null?null:""+v,children:a,containerInfo:o,implementation:h}}var qR,KR;qR=!1,KR={};function oI(a){if(!a)return pc;var o=_f(a),h=f4(o);if(o.tag===m){var v=o.type;if(zd(v))return Jc(o,v,h)}return h}function IJ(a,o){{var h=_f(a);if(h===void 0){if(typeof a.render=="function")throw new Error("Unable to find node on an unmounted component.");var v=Object.keys(a).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+v)}var x=nc(h);if(x===null)return null;if(x.mode&Ii){var A=Xn(h)||"Component";if(!KR[A]){KR[A]=!0;var P=qr;try{oa(x),h.mode&Ii?l("%s is deprecated in StrictMode. %s was passed an instance of
|
||
|
|
||
|
Check the render method of %s.`,Xn(qr)||"Unknown"));var W=nf(A,P);W.payload={element:a},v=v===void 0?null:v,v!==null&&(typeof v!="function"&&l("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",v),W.callback=v);var re=Bi(x,W,P);return re!==null&&(Xs(re,x,P,A),Vf(re,x,P)),P}function AE(a){var o=a.current;if(!o.child)return null;switch(o.child.tag){case w:return o.child.stateNode;default:return o.child.stateNode}}function FJ(a){switch(a.tag){case S:{var o=a.stateNode;if(Ri(o)){var h=kC(o);YQ(o,h)}break}case G:{jg(function(){var x=wl(a,ir);if(x!==null){var A=Cc();Xs(x,a,ir,A)}});var v=ir;ZR(a,v);break}}}function uI(a,o){var h=a.memoizedState;h!==null&&h.dehydrated!==null&&(h.retryLane=gi(h.retryLane,o))}function ZR(a,o){uI(a,o);var h=a.alternate;h&&uI(h,o)}function zJ(a){if(a.tag===G){var o=Yp,h=wl(a,o);if(h!==null){var v=Cc();Xs(h,a,o,v)}ZR(a,o)}}function BJ(a){if(a.tag===G){var o=ib(a),h=wl(a,o);if(h!==null){var v=Cc();Xs(h,a,o,v)}ZR(a,o)}}function cI(a){var o=bh(a);return o===null?null:o.stateNode}var fI=function(a){return null};function $J(a){return fI(a)}var dI=function(a){return!1};function UJ(a){return dI(a)}var hI=null,pI=null,mI=null,vI=null,gI=null,bI=null,yI=null,SI=null,xI=null;{var CI=function(a,o,h){var v=o[h],x=Qn(a)?a.slice():Zn({},a);return h+1===o.length?(Qn(x)?x.splice(v,1):delete x[v],x):(x[v]=CI(a[v],o,h+1),x)},NI=function(a,o){return CI(a,o,0)},wI=function(a,o,h,v){var x=o[v],A=Qn(a)?a.slice():Zn({},a);if(v+1===o.length){var P=h[v];A[P]=A[x],Qn(A)?A.splice(x,1):delete A[x]}else A[x]=wI(a[x],o,h,v+1);return A},_I=function(a,o,h){if(o.length!==h.length){s("copyWithRename() expects paths of the same length");return}else for(var v=0;v<h.length-1;v++)if(o[v]!==h[v]){s("copyWithRename() expects paths to be the same except for the deepest key");return}return wI(a,o,h,0)},EI=function(a,o,h,v){if(h>=o.length)return v;var x=o[h],A=Qn(a)?a.slice():Zn({},a);return A[x]=EI(a[x],o,h+1,v),A},TI=function(a,o,h){return EI(a,o,0,h)},XR=function(a,o){for(var h=a.memoizedState;h!==null&&o>0;)h=h.next,o--;return h};hI=function(a,o,h,v){var x=XR(a,o);if(x!==null){var A=TI(x.memoizedState,h,v);x.memoizedState=A,x.baseState=A,a.memoizedProps=Zn({},a.memoizedProps);var P=wl(a,ir);P!==null&&Xs(P,a,ir,ca)}},pI=function(a,o,h){var v=XR(a,o);if(v!==null){var x=NI(v.memoizedState,h);v.memoizedState=x,v.baseState=x,a.memoizedProps=Zn({},a.memoizedProps);var A=wl(a,ir);A!==null&&Xs(A,a,ir,ca)}},mI=function(a,o,h,v){var x=XR(a,o);if(x!==null){var A=_I(x.memoizedState,h,v);x.memoizedState=A,x.baseState=A,a.memoizedProps=Zn({},a.memoizedProps);var P=wl(a,ir);P!==null&&Xs(P,a,ir,ca)}},vI=function(a,o,h){a.pendingProps=TI(a.memoizedProps,o,h),a.alternate&&(a.alternate.pendingProps=a.pendingProps);var v=wl(a,ir);v!==null&&Xs(v,a,ir,ca)},gI=function(a,o){a.pendingProps=NI(a.memoizedProps,o),a.alternate&&(a.alternate.pendingProps=a.pendingProps);var h=wl(a,ir);h!==null&&Xs(h,a,ir,ca)},bI=function(a,o,h){a.pendingProps=_I(a.memoizedProps,o,h),a.alternate&&(a.alternate.pendingProps=a.pendingProps);var v=wl(a,ir);v!==null&&Xs(v,a,ir,ca)},yI=function(a){var o=wl(a,ir);o!==null&&Xs(o,a,ir,ca)},SI=function(a){fI=a},xI=function(a){dI=a}}function HJ(a){var o=nc(a);return o===null?null:o.stateNode}function jJ(a){return null}function VJ(){return qr}function GJ(a){var o=a.findFiberByHostInstance,h=n.ReactCurrentDispatcher;return lx({bundleType:a.bundleType,version:a.version,rendererPackageName:a.rendererPackageName,rendererConfig:a.rendererConfig,overrideHookState:hI,overrideHookStateDeletePath:pI,overrideHookStateRenamePath:mI,overrideProps:vI,overridePropsDeletePath:gI,overridePropsRenamePath:bI,setErrorHandler:SI,setSuspenseHandler:xI,scheduleUpdate:yI,currentDispatcherRef:h,findHostInstanceByFiber:HJ,findFiberByHostInstance:o||jJ,findHostInstancesForRefresh:xJ,scheduleRefresh:yJ,scheduleRoot:SJ,setRefreshHandler:bJ,getCurrentFiber:VJ,reconcilerVersion:YR})}var RI=typeof reportError=="function"?reportError:function(a){console.error(a)};function QR(a){this._internalRoot=a}OE.prototype.render=QR.prot
|
||
|
|
||
|
let root = createRoot(domContainer);
|
||
|
root.render(<App />);`),o.unstable_strictMode===!0&&(h=!0),o.identifierPrefix!==void 0&&(x=o.identifierPrefix),o.onRecoverableError!==void 0&&(A=o.onRecoverableError),o.transitionCallbacks!==void 0&&o.transitionCallbacks);var P=sI(a,n5,null,h,v,x,A);Re(P.current,a);var U=a.nodeType===Qr?a.parentNode:a;return gm(U),new QR(P)}function OE(a){this._internalRoot=a}function YJ(a){a&&Z0(a)}OE.prototype.unstable_scheduleHydration=YJ;function qJ(a,o,h){if(!LE(a))throw new Error("hydrateRoot(...): Target container is not a DOM element.");kI(a),o===void 0&&l("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var v=h??null,x=h!=null&&h.hydratedSources||null,A=!1,P=!1,U="",W=RI;h!=null&&(h.unstable_strictMode===!0&&(A=!0),h.identifierPrefix!==void 0&&(U=h.identifierPrefix),h.onRecoverableError!==void 0&&(W=h.onRecoverableError));var re=lI(o,null,a,n5,v,A,P,U,W);if(Re(re.current,a),gm(a),x)for(var ue=0;ue<x.length;ue++){var Te=x[ue];H4(re,Te)}return new OE(re)}function LE(a){return!!(a&&(a.nodeType===ol||a.nodeType===gu||a.nodeType===od||!Ve))}function CN(a){return!!(a&&(a.nodeType===ol||a.nodeType===gu||a.nodeType===od||a.nodeType===Qr&&a.nodeValue===" react-mount-point-unstable "))}function kI(a){a.nodeType===ol&&a.tagName&&a.tagName.toUpperCase()==="BODY"&&l("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),st(a)&&(a._reactRootContainer?l("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):l("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var KJ=n.ReactCurrentOwner,AI;AI=function(a){if(a._reactRootContainer&&a.nodeType!==Qr){var o=cI(a._reactRootContainer.current);o&&o.parentNode!==a&&l("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var h=!!a._reactRootContainer,v=JR(a),x=!!(v&&jt(v));x&&!h&&l("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),a.nodeType===ol&&a.tagName&&a.tagName.toUpperCase()==="BODY"&&l("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function JR(a){return a?a.nodeType===gu?a.documentElement:a.firstChild:null}function OI(){}function ZJ(a,o,h,v,x){if(x){if(typeof v=="function"){var A=v;v=function(){var we=AE(P);A.call(we)}}var P=lI(o,v,a,_m,null,!1,!1,"",OI);a._reactRootContainer=P,Re(P.current,a);var U=a.nodeType===Qr?a.parentNode:a;return gm(U),jg(),P}else{for(var W;W=a.lastChild;)a.removeChild(W);if(typeof v=="function"){var re=v;v=function(){var we=AE(ue);re.call(we)}}var ue=sI(a,_m,null,!1,!1,"",OI);a._reactRootContainer=ue,Re(ue.current,a);var Te=a.nodeType===Qr?a.parentNode:a;return gm(Te),jg(function(){xN(o,ue,h,v)}),ue}}function XJ(a,o){a!==null&&typeof a!="function"&&l("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,a)}function ME(a,o,h,v,x){AI(h),XJ(x===void 0?null:x,"render");var A=h._reactRootContainer,P;if(!A)P=ZJ(h,o,a,x,v);else{if(P=A,typeof x=="function"){var U=x;x=function(){var W=AE(P);U.call(W)}}xN(o,P,a,x)}return AE(P)}function QJ(a){{var o=KJ.current;if(o!==null&&o.stateNode!==null){var h=o.stateNode._warnedAboutRefsInRender;h||l("%s is
|
||
|
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Zf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e8,Zf.createPortal=ree,Zf.createRoot=iee,Zf.findDOMNode=QJ,Zf.flushSync=see,Zf.hydrate=JJ,Zf.hydrateRoot=oee,Zf.render=eee,Zf.unmountComponentAtNode=nee,Zf.unstable_batchedUpdates=AR,Zf.unstable_renderSubtreeIntoContainer=aee,Zf.version=YR,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=Zf})(vv);const DE=sL(vv.exports);var t8=vv.exports;{var PE=t8.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;$k.createRoot=function(e,t){PE.usingClientEntryPoint=!0;try{return t8.createRoot(e,t)}finally{PE.usingClientEntryPoint=!1}},$k.hydrateRoot=function(e,t,n){PE.usingClientEntryPoint=!0;try{return t8.hydrateRoot(e,t,n)}finally{PE.usingClientEntryPoint=!1}}}var av=Boolean(globalThis?.document)?O.exports.useLayoutEffect:O.exports.useEffect,lL={exports:{}},Uk={};/**
|
||
|
* @license React
|
||
|
* react-jsx-dev-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.
|
||
|
*/(function(){var e=O.exports,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),T=Symbol.iterator,L="@@iterator";function M(ge){if(ge===null||typeof ge!="object")return null;var dt=T&&ge[T]||ge[L];return typeof dt=="function"?dt:null}var B=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function F(ge){{for(var dt=arguments.length,xt=new Array(dt>1?dt-1:0),bn=1;bn<dt;bn++)xt[bn-1]=arguments[bn];z("error",ge,xt)}}function z(ge,dt,xt){{var bn=B.ReactDebugCurrentFrame,dr=bn.getStackAddendum();dr!==""&&(dt+="%s",xt=xt.concat([dr]));var _r=xt.map(function(Ht){return String(Ht)});_r.unshift("Warning: "+dt),Function.prototype.apply.call(console[ge],console,_r)}}var H=!1,G=!1,K=!1,Z=!1,ne=!1,ie;ie=Symbol.for("react.module.reference");function le(ge){return!!(typeof ge=="string"||typeof ge=="function"||ge===r||ge===s||ne||ge===i||ge===m||ge===b||Z||ge===w||H||G||K||typeof ge=="object"&&ge!==null&&(ge.$$typeof===N||ge.$$typeof===S||ge.$$typeof===l||ge.$$typeof===f||ge.$$typeof===d||ge.$$typeof===ie||ge.getModuleId!==void 0))}function oe(ge,dt,xt){var bn=ge.displayName;if(bn)return bn;var dr=dt.displayName||dt.name||"";return dr!==""?xt+"("+dr+")":xt}function Ae(ge){return ge.displayName||"Context"}function de(ge){if(ge==null)return null;if(typeof ge.tag=="number"&&F("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof ge=="function")return ge.displayName||ge.name||null;if(typeof ge=="string")return ge;switch(ge){case r:return"Fragment";case n:return"Portal";case s:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case b:return"SuspenseList"}if(typeof ge=="object")switch(ge.$$typeof){case f:var dt=ge;return Ae(dt)+".Consumer";case l:var xt=ge;return Ae(xt._context)+".Provider";case d:return oe(ge,ge.render,"ForwardRef");case S:var bn=ge.displayName||null;return bn!==null?bn:de(ge.type)||"Memo";case N:{var dr=ge,_r=dr._payload,Ht=dr._init;try{return de(Ht(_r))}catch{return null}}}return null}var Se=Object.assign,Me=0,_e,J,he,ve,ye,xe,Ve;function Pe(){}Pe.__reactDisabledLog=!0;function Qe(){{if(Me===0){_e=console.log,J=console.info,he=console.warn,ve=console.error,ye=console.group,xe=console.groupCollapsed,Ve=console.groupEnd;var ge={configurable:!0,enumerable:!0,value:Pe,writable:!0};Object.defineProperties(console,{info:ge,log:ge,warn:ge,error:ge,group:ge,groupCollapsed:ge,groupEnd:ge})}Me++}}function wt(){{if(Me--,Me===0){var ge={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Se({},ge,{value:_e}),info:Se({},ge,{value:J}),warn:Se({},ge,{value:he}),error:Se({},ge,{value:ve}),group:Se({},ge,{value:ye}),groupCollapsed:Se({},ge,{value:xe}),groupEnd:Se({},ge,{value:Ve})})}Me<0&&F("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ot=B.ReactCurrentDispatcher,Ut;function ut(ge,dt,xt){{if(Ut===void 0)try{throw Error()}catch(dr){var bn=dr.stack.trim().match(/\n( *(at )?)/);Ut=bn&&bn[1]||""}return`
|
||
|
`+Ut+ge}}var It=!1,Qt;{var pn=typeof WeakMap=="function"?WeakMap:Map;Qt=new pn}function ht(ge,dt){if(!ge||It)return"";{var xt=Qt.get(ge);if(xt!==void 0)return xt}var bn;It=!0;var dr=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _r;_r=Ot.current,Ot.current=null,Qe();try{if(dt){var Ht=function(){throw Error()};if(Object.defineProperty(Ht.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ht,[])}catch(Ra){bn=Ra}Reflect.construct(ge,[],Ht)}else{try{Ht.call()}catch(Ra){bn=Ra}ge.call(Ht.prototype)}}else{try{throw Error()}catch(Ra){bn=Ra}ge()}}catch(Ra){if(Ra&&bn&&typeof Ra.stack=="string"){for(var Kn=Ra.stack.split(`
|
||
|
`),sr=bn.stack.split(`
|
||
|
`),kr=Kn.length-1,hr=sr.length-1;kr>=1&&hr>=0&&Kn[kr]!==sr[hr];)hr--;for(;kr>=1&&hr>=0;kr--,hr--)if(Kn[kr]!==sr[hr]){if(kr!==1||hr!==1)do if(kr--,hr--,hr<0||Kn[kr]!==sr[hr]){var Fa=`
|
||
|
`+Kn[kr].replace(" at new "," at ");return ge.displayName&&Fa.includes("<anonymous>")&&(Fa=Fa.replace("<anonymous>",ge.displayName)),typeof ge=="function"&&Qt.set(ge,Fa),Fa}while(kr>=1&&hr>=0);break}}}finally{It=!1,Ot.current=_r,wt(),Error.prepareStackTrace=dr}var Yi=ge?ge.displayName||ge.name:"",Po=Yi?ut(Yi):"";return typeof ge=="function"&&Qt.set(ge,Po),Po}function gn(ge,dt,xt){return ht(ge,!1)}function De(ge){var dt=ge.prototype;return!!(dt&&dt.isReactComponent)}function kt(ge,dt,xt){if(ge==null)return"";if(typeof ge=="function")return ht(ge,De(ge));if(typeof ge=="string")return ut(ge);switch(ge){case m:return ut("Suspense");case b:return ut("SuspenseList")}if(typeof ge=="object")switch(ge.$$typeof){case d:return gn(ge.render);case S:return kt(ge.type,dt,xt);case N:{var bn=ge,dr=bn._payload,_r=bn._init;try{return kt(_r(dr),dt,xt)}catch{}}}return""}var Zt=Object.prototype.hasOwnProperty,Pt={},un=B.ReactDebugCurrentFrame;function fr(ge){if(ge){var dt=ge._owner,xt=kt(ge.type,ge._source,dt?dt.type:null);un.setExtraStackFrame(xt)}else un.setExtraStackFrame(null)}function an(ge,dt,xt,bn,dr){{var _r=Function.call.bind(Zt);for(var Ht in ge)if(_r(ge,Ht)){var Kn=void 0;try{if(typeof ge[Ht]!="function"){var sr=Error((bn||"React class")+": "+xt+" type `"+Ht+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof ge[Ht]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw sr.name="Invariant Violation",sr}Kn=ge[Ht](dt,Ht,bn,xt,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kr){Kn=kr}Kn&&!(Kn instanceof Error)&&(fr(dr),F("%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).",bn||"React class",xt,Ht,typeof Kn),fr(null)),Kn instanceof Error&&!(Kn.message in Pt)&&(Pt[Kn.message]=!0,fr(dr),F("Failed %s type: %s",xt,Kn.message),fr(null))}}}var Rn=Array.isArray;function wn(ge){return Rn(ge)}function Ln(ge){{var dt=typeof Symbol=="function"&&Symbol.toStringTag,xt=dt&&ge[Symbol.toStringTag]||ge.constructor.name||"Object";return xt}}function St(ge){try{return Ft(ge),!1}catch{return!0}}function Ft(ge){return""+ge}function er(ge){if(St(ge))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ln(ge)),Ft(ge)}var En=B.ReactCurrentOwner,Je={key:!0,ref:!0,__self:!0,__source:!0},Mn,br,pt;pt={};function Xe(ge){if(Zt.call(ge,"ref")){var dt=Object.getOwnPropertyDescriptor(ge,"ref").get;if(dt&&dt.isReactWarning)return!1}return ge.ref!==void 0}function Bt(ge){if(Zt.call(ge,"key")){var dt=Object.getOwnPropertyDescriptor(ge,"key").get;if(dt&&dt.isReactWarning)return!1}return ge.key!==void 0}function We(ge,dt){if(typeof ge.ref=="string"&&En.current&&dt&&En.current.stateNode!==dt){var xt=de(En.current.type);pt[xt]||(F('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',de(En.current.type),ge.ref),pt[xt]=!0)}}function Lt(ge,dt){{var xt=function(){Mn||(Mn=!0,F("%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)",dt))};xt.isReactWarning=!0,Object.defineProperty(ge,"key",{get:xt,configurable:!0})}}function Rt(ge,dt){{var xt=function(){br||(br=!0,F("%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)",dt))};xt.isRea
|
||
|
|
||
|
Check the render method of \``+ge+"`."}return""}}function pr(ge){{if(ge!==void 0){var dt=ge.fileName.replace(/^.*[\\\/]/,""),xt=ge.lineNumber;return`
|
||
|
|
||
|
Check your code at `+dt+":"+xt+"."}return""}}var Wi={};function lo(ge){{var dt=Yr();if(!dt){var xt=typeof ge=="string"?ge:ge.displayName||ge.name;xt&&(dt=`
|
||
|
|
||
|
Check the top-level render call using <`+xt+">.")}return dt}}function uo(ge,dt){{if(!ge._store||ge._store.validated||ge.key!=null)return;ge._store.validated=!0;var xt=lo(dt);if(Wi[xt])return;Wi[xt]=!0;var bn="";ge&&ge._owner&&ge._owner!==kn.current&&(bn=" It was passed a child from "+de(ge._owner.type)+"."),Gt(ge),F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',xt,bn),Gt(null)}}function hi(ge,dt){{if(typeof ge!="object")return;if(wn(ge))for(var xt=0;xt<ge.length;xt++){var bn=ge[xt];di(bn)&&uo(bn,dt)}else if(di(ge))ge._store&&(ge._store.validated=!0);else if(ge){var dr=M(ge);if(typeof dr=="function"&&dr!==ge.entries)for(var _r=dr.call(ge),Ht;!(Ht=_r.next()).done;)di(Ht.value)&&uo(Ht.value,dt)}}}function yr(ge){{var dt=ge.type;if(dt==null||typeof dt=="string")return;var xt;if(typeof dt=="function")xt=dt.propTypes;else if(typeof dt=="object"&&(dt.$$typeof===d||dt.$$typeof===S))xt=dt.propTypes;else return;if(xt){var bn=de(dt);an(xt,ge.props,"prop",bn,ge)}else if(dt.PropTypes!==void 0&&!rr){rr=!0;var dr=de(dt);F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",dr||"Unknown")}typeof dt.getDefaultProps=="function"&&!dt.getDefaultProps.isReactClassApproved&&F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ti(ge){{for(var dt=Object.keys(ge.props),xt=0;xt<dt.length;xt++){var bn=dt[xt];if(bn!=="children"&&bn!=="key"){Gt(ge),F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",bn),Gt(null);break}}ge.ref!==null&&(Gt(ge),F("Invalid attribute `ref` supplied to `React.Fragment`."),Gt(null))}}function Mo(ge,dt,xt,bn,dr,_r){{var Ht=le(ge);if(!Ht){var Kn="";(ge===void 0||typeof ge=="object"&&ge!==null&&Object.keys(ge).length===0)&&(Kn+=" 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 sr=pr(dr);sr?Kn+=sr:Kn+=Yr();var kr;ge===null?kr="null":wn(ge)?kr="array":ge!==void 0&&ge.$$typeof===t?(kr="<"+(de(ge.type)||"Unknown")+" />",Kn=" Did you accidentally export a JSX literal instead of a component?"):kr=typeof ge,F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kr,Kn)}var hr=_t(ge,dt,xt,dr,_r);if(hr==null)return hr;if(Ht){var Fa=dt.children;if(Fa!==void 0)if(bn)if(wn(Fa)){for(var Yi=0;Yi<Fa.length;Yi++)hi(Fa[Yi],ge);Object.freeze&&Object.freeze(Fa)}else F("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 hi(Fa,ge)}return ge===r?ti(hr):yr(hr),hr}}var Do=Mo;Uk.Fragment=r,Uk.jsxDEV=Do})();(function(e){e.exports=Uk})(lL);const Ci=lL.exports.Fragment,_=lL.exports.jsxDEV;var AH="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/color-mode/dist/index.esm.js",uL=O.exports.createContext({});uL.displayName="ColorModeContext";function cL(){const e=O.exports.useContext(uL);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var IE={light:"chakra-ui-light",dark:"chakra-ui-dark"};function dee(e={}){const{preventTransition:t=!0}=e,n={setDataset:r=>{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i?.()},setClassName(r){document.body.classList.add(r?IE.dark:IE.light),document.body.classList.remove(r?IE.light:IE.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){return n.query().matches??r==="dark"?"dark":"light"},addListener(r){const i=n.query(),s=l=>{r(l.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(s):i.addEventListener("change",s),()=>{typeof i.removeListener=="function"?i.removeListener(s):i.removeEventListener("change",s)}},preventTransition(){const r=document.createElement("st
|
||
|
`,f=`(function(){try{var a=function(c){var v="(prefers-color-scheme: dark)",h=window.matchMedia(v).matches?"dark":"light",r=c==="system"?h:c,o=document.documentElement,s=document.body,l="chakra-ui-light",d="chakra-ui-dark",i=r==="dark";return s.classList.add(i?d:l),s.classList.remove(i?l:d),o.style.colorScheme=r,o.dataset.theme=r,r},n=a,m="${i}",e="${r}",t=localStorage.getItem(e);t?a(t):localStorage.setItem(e,a(m))}catch(a){}})();
|
||
|
`;return`!${s?l:f}`.trim()}function yee(e={}){return _("script",{id:"chakra-script",dangerouslySetInnerHTML:{__html:bee(e)}},void 0,!1,{fileName:AH,lineNumber:244,columnNumber:26},this)}var Hk={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,s=16,l=9007199254740991,f="[object Arguments]",d="[object Array]",m="[object AsyncFunction]",b="[object Boolean]",S="[object Date]",N="[object Error]",w="[object Function]",T="[object GeneratorFunction]",L="[object Map]",M="[object Number]",B="[object Null]",F="[object Object]",z="[object Proxy]",H="[object RegExp]",G="[object Set]",K="[object String]",Z="[object Undefined]",ne="[object WeakMap]",ie="[object ArrayBuffer]",le="[object DataView]",oe="[object Float32Array]",Ae="[object Float64Array]",de="[object Int8Array]",Se="[object Int16Array]",Me="[object Int32Array]",_e="[object Uint8Array]",J="[object Uint8ClampedArray]",he="[object Uint16Array]",ve="[object Uint32Array]",ye=/[\\^$.*+?()[\]{}|]/g,xe=/^\[object .+?Constructor\]$/,Ve=/^(?:0|[1-9]\d*)$/,Pe={};Pe[oe]=Pe[Ae]=Pe[de]=Pe[Se]=Pe[Me]=Pe[_e]=Pe[J]=Pe[he]=Pe[ve]=!0,Pe[f]=Pe[d]=Pe[ie]=Pe[b]=Pe[le]=Pe[S]=Pe[N]=Pe[w]=Pe[L]=Pe[M]=Pe[F]=Pe[H]=Pe[G]=Pe[K]=Pe[ne]=!1;var Qe=typeof Jg=="object"&&Jg&&Jg.Object===Object&&Jg,wt=typeof self=="object"&&self&&self.Object===Object&&self,Ot=Qe||wt||Function("return this")(),Ut=t&&!t.nodeType&&t,ut=Ut&&!0&&e&&!e.nodeType&&e,It=ut&&ut.exports===Ut,Qt=It&&Qe.process,pn=function(){try{var $=ut&&ut.require&&ut.require("util").types;return $||Qt&&Qt.binding&&Qt.binding("util")}catch{}}(),ht=pn&&pn.isTypedArray;function gn($,X,se){switch(se.length){case 0:return $.call(X);case 1:return $.call(X,se[0]);case 2:return $.call(X,se[0],se[1]);case 3:return $.call(X,se[0],se[1],se[2])}return $.apply(X,se)}function De($,X){for(var se=-1,qe=Array($);++se<$;)qe[se]=X(se);return qe}function kt($){return function(X){return $(X)}}function Zt($,X){return $?.[X]}function Pt($,X){return function(se){return $(X(se))}}var un=Array.prototype,fr=Function.prototype,an=Object.prototype,Rn=Ot["__core-js_shared__"],wn=fr.toString,Ln=an.hasOwnProperty,St=function(){var $=/[^.]+$/.exec(Rn&&Rn.keys&&Rn.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),Ft=an.toString,er=wn.call(Object),En=RegExp("^"+wn.call(Ln).replace(ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=It?Ot.Buffer:void 0,Mn=Ot.Symbol,br=Ot.Uint8Array,pt=Je?Je.allocUnsafe:void 0,Xe=Pt(Object.getPrototypeOf,Object),Bt=Object.create,We=an.propertyIsEnumerable,Lt=un.splice,Rt=Mn?Mn.toStringTag:void 0,gt=function(){try{var $=Di(Object,"defineProperty");return $({},"",{}),$}catch{}}(),_t=Je?Je.isBuffer:void 0,kn=Math.max,Un=Date.now,Gt=Di(Ot,"Map"),rr=Di(Object,"create"),di=function(){function $(){}return function(X){if(!Kr(X))return{};if(Bt)return Bt(X);$.prototype=X;var se=new $;return $.prototype=void 0,se}}();function Yr($){var X=-1,se=$==null?0:$.length;for(this.clear();++X<se;){var qe=$[X];this.set(qe[0],qe[1])}}function pr(){this.__data__=rr?rr(null):{},this.size=0}function Wi($){var X=this.has($)&&delete this.__data__[$];return this.size-=X?1:0,X}function lo($){var X=this.__data__;if(rr){var se=X[$];return se===r?void 0:se}return Ln.call(X,$)?X[$]:void 0}function uo($){var X=this.__data__;return rr?X[$]!==void 0:Ln.call(X,$)}function hi($,X){var se=this.__data__;return this.size+=this.has($)?0:1,se[$]=rr&&X===void 0?r:X,this}Yr.prototype.clear=pr,Yr.prototype.delete=Wi,Yr.prototype.get=lo,Yr.prototype.has=uo,Yr.prototype.set=hi;function yr($){var X=-1,se=$==null?0:$.length;for(this.clear();++X<se;){var qe=$[X];this.set(qe[0],qe[1])}}function ti(){this.__data__=[],this.size=0}function Mo($){var X=this.__data__,se=co(X,$);if(se<0)return!1;var qe=X.length-1;return se==qe?X.pop():Lt.call(X,se,1),--this.size,!0}function Do($){var X=this.__data__,se=co(X,$);return se<0?void 0:X[se][1]}function ge($){return co(this.__data__,$)>-1}function dt($,X){var se=this.__data__,qe=co(se,$);return qe<0?(++this.size,se.push([$,X])):se[qe][1]=X,this}yr.prototype.clear=ti,yr.prototype.delete=Mo,yr.prototyp
|
||
|
`+r+"\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||!s}if(this.isSpeedy){var l=Fte(i);try{l.insertRule(r,l.cssRules.length)}catch(f){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(r)||console.error('There was a problem inserting the following rule: "'+r+'"',f)}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),$u="-ms-",w6="-moz-",Da="-webkit-",hL="comm",pL="rule",mL="decl",$te="@import",UH="@keyframes",Ute=Math.abs,C9=String.fromCharCode,Hte=Object.assign;function jte(e,t){return(((t<<2^df(e,0))<<2^df(e,1))<<2^df(e,2))<<2^df(e,3)}function HH(e){return e.trim()}function Vte(e,t){return(e=t.exec(e))?e[0]:e}function Ha(e,t,n){return e.replace(t,n)}function Kk(e,t){return e.indexOf(t)}function df(e,t){return e.charCodeAt(t)|0}function Ow(e,t,n){return e.slice(t,n)}function Qm(e){return e.length}function vL(e){return e.length}function zE(e,t){return t.push(e),e}function Gte(e,t){return e.map(t).join("")}var N9=1,U3=1,jH=0,gf=0,As=0,rC="";function w9(e,t,n,r,i,s,l){return{value:e,root:t,parent:n,type:r,props:i,children:s,line:N9,column:U3,length:l,return:""}}function wN(e,t){return Hte(w9("",null,null,"",null,null,0),e,{length:-e.length},t)}function Wte(){return As}function Yte(){return As=gf>0?df(rC,--gf):0,U3--,As===10&&(U3=1,N9--),As}function ed(){return As=gf<jH?df(rC,gf++):0,U3++,As===10&&(U3=1,N9++),As}function iv(){return df(rC,gf)}function VT(){return gf}function o_(e,t){return Ow(rC,e,t)}function Lw(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 VH(e){return N9=U3=1,jH=Qm(rC=e),gf=0,[]}function GH(e){return rC="",e}function GT(e){return HH(o_(gf-1,Zk(e===91?e+2:e===40?e+1:e)))}function qte(e){for(;(As=iv())&&As<33;)ed();return Lw(e)>2||Lw(As)>3?"":" "}function Kte(e,t){for(;--t&&ed()&&!(As<48||As>102||As>57&&As<65||As>70&&As<97););return o_(e,VT()+(t<6&&iv()==32&&ed()==32))}function Zk(e){for(;ed();)switch(As){case e:return gf;case 34:case 39:e!==34&&e!==39&&Zk(As);break;case 40:e===41&&Zk(e);break;case 92:ed();break}return gf}function Zte(e,t){for(;ed()&&e+As!==47+10;)if(e+As===42+42&&iv()===47)break;return"/*"+o_(t,gf-1)+"*"+C9(e===47?e:ed())}function Xte(e){for(;!Lw(iv());)ed();return o_(e,gf)}function Qte(e){return GH(WT("",null,null,null,[""],e=VH(e),0,[0],e))}function WT(e,t,n,r,i,s,l,f,d){for(var m=0,b=0,S=l,N=0,w=0,T=0,L=1,M=1,B=1,F=0,z="",H=i,G=s,K=r,Z=z;M;)switch(T=F,F=ed()){case 40:if(T!=108&&Z.charCodeAt(S-1)==58){Kk(Z+=Ha(GT(F),"&","&\f"),"&\f")!=-1&&(B=-1);break}case 34:case 39:case 91:Z+=GT(F);break;case 9:case 10:case 13:case 32:Z+=qte(T);break;case 92:Z+=Kte(VT()-1,7);continue;case 47:switch(iv()){case 42:case 47:zE(Jte(Zte(ed(),VT()),t,n),d);break;default:Z+="/"}break;case 123*L:f[m++]=Qm(Z)*B;case 125*L:case 59:case 0:switch(F){case 0:case 125:M=0;case 59+b:w>0&&Qm(Z)-S&&zE(w>32?VI(Z+";",r,n,S-1):VI(Ha(Z," ","")+";",r,n,S-2),d);break;case 59:Z+=";";default:if(zE(K=jI(Z,t,n,m,b,i,f,z,H=[],G=[],S),s),F===123)if(b===0)WT(Z,t,K,K,H,s,S,f,G);else switch(N){case 100:case 109:case 115:WT(e,K,K,r&&zE(jI(e,K,K,0,0,i,f,z,i,H=[],S),G),i,G,S,f,r?H:G);break;default:WT(Z,K,K,K,[""],G,0,f,G)}}m=b=w=0,L=B=1,z=Z="",S=l;break;case 58:S=1+Qm(Z),w=T;default:if(L<1){if(F==123)--L;else if(F==125&&L++==0&&Yte()==125)continue}switch(Z+=C9(F),F*L){case 38:B=b>0?1:(Z+="\f",-1);break;case 44:f[m++]=(Qm(Z)-1)*B,B=1;break;case 64:iv()===45&&(Z+=GT(ed())),N=iv(),b=S=Qm(z=Z+=Xte(VT())),F++;break;case 45:T===45&&Qm(Z)==2&&(L=0)}}return s}function jI(e,t
|
||
|
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(L){var M=L.getAttribute("data-emotion");M.indexOf(" ")!==-1&&(document.head.appendChild(L),L.setAttribute("data-s",""))})}var i=t.stylisPlugins||hne;if(/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var s={},l,f=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(L){for(var M=L.getAttribute("data-emotion").split(" "),B=1;B<M.length;B++)s[M[B]]=!0;f.push(L)});var d,m=[one,sne];m.push(cne({get compat(){return T.compat}}),dne);{var b,S=[ene,function(L){L.root||(L.return?b.insert(L.return):L.value&&L.type!==hL&&b.insert(L.value+"{}"))}],N=tne(m.concat(i,S)),w=function(M){return _3(Qte(M),N)};d=function(M,B,F,z){b=F,B.map!==void 0&&(b={insert:function(G){F.insert(G+B.map)}}),w(M?M+"{"+B.styles+"}":B.styles),z&&(T.inserted[B.name]=!0)}}var T={key:n,sheet:new Bte({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:d};return T.sheet.hydrate(f),T};function ja(){return ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ja.apply(this,arguments)}var _9={exports:{}},Qa={};/** @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.
|
||
|
*/(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,b=e?Symbol.for("react.forward_ref"):60112,S=e?Symbol.for("react.suspense"):60113,N=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,L=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,B=e?Symbol.for("react.responder"):60118,F=e?Symbol.for("react.scope"):60119;function z(ht){return typeof ht=="string"||typeof ht=="function"||ht===r||ht===m||ht===s||ht===i||ht===S||ht===N||typeof ht=="object"&&ht!==null&&(ht.$$typeof===T||ht.$$typeof===w||ht.$$typeof===l||ht.$$typeof===f||ht.$$typeof===b||ht.$$typeof===M||ht.$$typeof===B||ht.$$typeof===F||ht.$$typeof===L)}function H(ht){if(typeof ht=="object"&&ht!==null){var gn=ht.$$typeof;switch(gn){case t:var De=ht.type;switch(De){case d:case m:case r:case s:case i:case S:return De;default:var kt=De&&De.$$typeof;switch(kt){case f:case b:case T:case w:case l:return kt;default:return gn}}case n:return gn}}}var G=d,K=m,Z=f,ne=l,ie=t,le=b,oe=r,Ae=T,de=w,Se=n,Me=s,_e=i,J=S,he=!1;function ve(ht){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.")),ye(ht)||H(ht)===d}function ye(ht){return H(ht)===m}function xe(ht){return H(ht)===f}function Ve(ht){return H(ht)===l}function Pe(ht){return typeof ht=="object"&&ht!==null&&ht.$$typeof===t}function Qe(ht){return H(ht)===b}function wt(ht){return H(ht)===r}function Ot(ht){return H(ht)===T}function Ut(ht){return H(ht)===w}function ut(ht){return H(ht)===n}function It(ht){return H(ht)===s}function Qt(ht){return H(ht)===i}function pn(ht){return H(ht)===S}Qa.AsyncMode=G,Qa.ConcurrentMode=K,Qa.ContextConsumer=Z,Qa.ContextProvider=ne,Qa.Element=ie,Qa.ForwardRef=le,Qa.Fragment=oe,Qa.Lazy=Ae,Qa.Memo=de,Qa.Portal=Se,Qa.Profiler=Me,Qa.StrictMode=_e,Qa.Suspense=J,Qa.isAsyncMode=ve,Qa.isConcurrentMode=ye,Qa.isContextConsumer=xe,Qa.isContextProvider=Ve,Qa.isElement=Pe,Qa.isForwardRef=Qe,Qa.isFragment=wt,Qa.isLazy=Ot,Qa.isMemo=Ut,Qa.isPortal=ut,Qa.isProfiler=It,Qa.isStrictMode=Qt,Qa.isSuspense=pn,Qa.isValidElementType=z,Qa.typeOf=H})();(function(e){e.exports=Qa})(_9);var KH=_9.exports,mne={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},vne={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ZH={};ZH[KH.ForwardRef]=mne;ZH[KH.Memo]=vne;var gne=!0;function gL(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var E9=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||gne===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},T9=function(t,n,r){E9(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+i:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function bne(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 yne={animationIterationCount: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,gridCo
|
||
|
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`,Sne="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",xne=/[A-Z]|^ms/g,XH=/_EMO_([^_]+?)_([^]*?)_EMO_/g,bL=function(t){return t.charCodeAt(1)===45},KI=function(t){return t!=null&&typeof t!="boolean"},r8=YH(function(e){return bL(e)?e:e.replace(xne,"-$&").toLowerCase()}),_6=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(XH,function(r,i,s){return Jm={name:i,styles:s,next:Jm},i})}return yne[t]!==1&&!bL(t)&&typeof n=="number"&&n!==0?n+"px":n};{var Cne=/(var|attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Nne=["normal","none","initial","inherit","unset"],wne=_6,_ne=/^-ms-/,Ene=/-(.)/g,ZI={};_6=function(t,n){if(t==="content"&&(typeof n!="string"||Nne.indexOf(n)===-1&&!Cne.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var r=wne(t,n);return r!==""&&!bL(t)&&t.indexOf("-")!==-1&&ZI[t]===void 0&&(ZI[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(_ne,"ms-").replace(Ene,function(i,s){return s.toUpperCase()})+"?")),r}}var QH="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Mw(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(QH);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Jm={name:n.name,styles:n.styles,next:Jm},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Jm={name:r.name,styles:r.styles,next:Jm},r=r.next;var i=n.styles+";";return n.map!==void 0&&(i+=n.map),i}return Tne(e,t,n)}case"function":{if(e!==void 0){var s=Jm,l=n(e);return Jm=s,Mw(e,t,l)}else 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":{var f=[],d=n.replace(XH,function(b,S,N){var w="animation"+f.length;return f.push("const "+w+" = keyframes`"+N.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+w+"}"});f.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(f,["`"+d+"`"]).join(`
|
||
|
`)+`
|
||
|
|
||
|
You should wrap it with \`css\` like this:
|
||
|
|
||
|
`+("css`"+d+"`"))}break}if(t==null)return n;var m=t[n];return m!==void 0?m:n}function Tne(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Mw(e,t,n[i])+";";else for(var s in n){var l=n[s];if(typeof l!="object")t!=null&&t[l]!==void 0?r+=s+"{"+t[l]+"}":KI(l)&&(r+=r8(s)+":"+_6(s,l)+";");else{if(s==="NO_COMPONENT_SELECTOR")throw new Error(QH);if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var f=0;f<l.length;f++)KI(l[f])&&(r+=r8(s)+":"+_6(s,l[f])+";");else{var d=Mw(e,t,l);switch(s){case"animation":case"animationName":{r+=r8(s)+":"+d+";";break}default:s==="undefined"&&console.error(Sne),r+=s+"{"+d+"}"}}}}return r}var XI=/label:\s*([^\s;\n{]+)\s*(;|$)/g,JH;JH=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;var Jm,H3=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,s="";Jm=void 0;var l=t[0];l==null||l.raw===void 0?(i=!1,s+=Mw(r,n,l)):(l[0]===void 0&&console.error(qI),s+=l[0]);for(var f=1;f<t.length;f++)s+=Mw(r,n,t[f]),i&&(l[f]===void 0&&console.error(qI),s+=l[f]);var d;s=s.replace(JH,function(N){return d=N,""}),XI.lastIndex=0;for(var m="",b;(b=XI.exec(s))!==null;)m+="-"+b[1];var S=bne(s)+m;return{name:S,styles:s,map:d,next:Jm,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)."}}},Rne=function(t){return t()},ej=Bk["useInsertionEffect"]?Bk["useInsertionEffect"]:!1,yL=ej||Rne,QI=ej||O.exports.useLayoutEffect,kne={}.hasOwnProperty,SL=O.exports.createContext(typeof HTMLElement<"u"?pne({key:"css"}):null);SL.displayName="EmotionCacheContext";SL.Provider;var R9=function(t){return O.exports.forwardRef(function(n,r){var i=O.exports.useContext(SL);return t(n,i,r)})},Ob=O.exports.createContext({});Ob.displayName="EmotionThemeContext";var Ane=function(t,n){if(typeof n=="function"){var r=n(t);if(r==null||typeof r!="object"||Array.isArray(r))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return r}if(n==null||typeof n!="object"||Array.isArray(n))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return ja({},t,n)},One=GI(function(e){return GI(function(t){return Ane(e,t)})}),Lne=function(t){var n=O.exports.useContext(Ob);return t.theme!==n&&(n=One(n)(t.theme)),O.exports.createElement(Ob.Provider,{value:n},t.children)},JI="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",eF="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Mne=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return E9(n,r,i),yL(function(){return T9(n,r,i)}),null},Dne=R9(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[JI],s=[r],l="";typeof e.className=="string"?l=gL(t.registered,s,e.className):e.className!=null&&(l=e.className+" ");var f=H3(s,void 0,O.exports.useContext(Ob));if(f.name.indexOf("-")===-1){var d=e[eF];d&&(f=H3([f,"label:"+d+";"]))}l+=t.key+"-"+f.name;var m={};for(var b in e)kne.call(e,b)&&b!=="css"&&b!==JI&&b!==eF&&(m[b]=e[b]);return m.ref=n,m.className=l,O.exports.createElement(O.exports.Fragment,null,O.exports.createElement(Mne,{cache:t,serialized:f,isStringTag:typeof i=="string"}),O.exports.createElement(i,m))});Dne.displayName="EmotionCssPropInternal";var Pne={name:"@emotion/react",version:"11.10.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolat
|
||
|
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`,Bre=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return E9(n,r,i),yL(function(){return T9(n,r,i)}),null},$re=function e(t,n){if(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 r=t.__emotion_real===t,i=r&&t.__emotion_base||t,s,l;n!==void 0&&(s=n.label,l=n.target);var f=sF(t,n,r),d=f||oF(i),m=!d("as");return function(){var b=arguments,S=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&S.push("label:"+s+";"),b[0]==null||b[0].raw===void 0)S.push.apply(S,b);else{b[0][0]===void 0&&console.error(lF),S.push(b[0][0]);for(var N=b.length,w=1;w<N;w++)b[0][w]===void 0&&console.error(lF),S.push(b[w],b[0][w])}var T=R9(function(L,M,B){var F=m&&L.as||i,z="",H=[],G=L;if(L.theme==null){G={};for(var K in L)G[K]=L[K];G.theme=O.exports.useContext(Ob)}typeof L.className=="string"?z=gL(M.registered,H,L.className):L.className!=null&&(z=L.className+" ");var Z=H3(S.concat(H),M.registered,G);z+=M.key+"-"+Z.name,l!==void 0&&(z+=" "+l);var ne=m&&f===void 0?oF(F):d,ie={};for(var le in L)m&&le==="as"||ne(le)&&(ie[le]=L[le]);return ie.className=z,ie.ref=B,O.exports.createElement(O.exports.Fragment,null,O.exports.createElement(Bre,{cache:M,serialized:Z,isStringTag:typeof F=="string"}),O.exports.createElement(F,ie))});return T.displayName=s!==void 0?s:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",T.defaultProps=t.defaultProps,T.__emotion_real=T,T.__emotion_base=i,T.__emotion_styles=S,T.__emotion_forwardProp=f,Object.defineProperty(T,"toString",{value:function(){return l===void 0?"NO_COMPONENT_SELECTOR":"."+l}}),T.withComponent=function(L,M){return e(L,ja({},n,M,{shouldForwardProp:sF(T,M,!0)})).apply(void 0,S)},T}},Ure=["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"],Jk=$re.bind();Ure.forEach(function(e){Jk[e]=Jk(e)});var Hre=typeof Element<"u",jre=typeof Map=="function",Vre=typeof Set=="function",Gre=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function YT(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!YT(e[r],t[r]))return!1;return!0}var s;if(jre&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!YT(r.value[1],t.get(r.value[0])))return!1;return!0}if(Vre&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Gre&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(Hre&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!YT(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var Wre=function(t,n){try{retur
|
||
|
[data-motion-pop-id="${n}"] {
|
||
|
position: absolute !important;
|
||
|
width: ${s}px !important;
|
||
|
height: ${l}px !important;
|
||
|
top: ${f}px !important;
|
||
|
left: ${d}px !important;
|
||
|
}
|
||
|
`),()=>{document.head.removeChild(m)}},[t]),_(Zle,{isPresent:t,childRef:r,sizeRef:i,children:O.exports.cloneElement(e,{ref:r})},void 0,!1,{fileName:Kle,lineNumber:68,columnNumber:13},this)}var Cz="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs";const m8=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:l})=>{const f=P9(Qle),d=O.exports.useId(),m=O.exports.useMemo(()=>({id:d,initial:t,isPresent:n,custom:i,onExitComplete:b=>{f.set(b,!0);for(const S of f.values())if(!S)return;r&&r()},register:b=>(f.set(b,!1),()=>f.delete(b))}),s?void 0:[n]);return O.exports.useMemo(()=>{f.forEach((b,S)=>f.set(S,!1))},[n]),O.exports.useEffect(()=>{!n&&!f.size&&r&&r()},[n]),l==="popLayout"&&(e=_(Xle,{isPresent:n,children:e},void 0,!1,{fileName:Cz,lineNumber:48,columnNumber:20},globalThis)),_(iC.Provider,{value:m,children:e},void 0,!1,{fileName:Cz,lineNumber:50,columnNumber:13},globalThis)};function Qle(){return new Map}var v8="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs";const d3=e=>e.key||"";function Jle(e,t){e.forEach(n=>{const r=d3(n);t.set(r,n)})}function eue(e){const t=[];return O.exports.Children.forEach(e,n=>{O.exports.isValidElement(n)&&t.push(n)}),t}const f0=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:l="sync"})=>{i&&(l="wait",HL(!1,"Replace exitBeforeEnter with mode='wait'"));let[f]=qle();const d=O.exports.useContext(_L).forceRender;d&&(f=d);const m=UV(),b=eue(e);let S=b;const N=new Set,w=O.exports.useRef(S),T=O.exports.useRef(new Map).current,L=O.exports.useRef(!0);if(A6(()=>{L.current=!1,Jle(b,T),w.current=S}),ML(()=>{L.current=!0,T.clear(),N.clear()}),L.current)return _(Ci,{children:S.map(z=>_(m8,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:l,children:z},d3(z),!1,{fileName:v8,lineNumber:97,columnNumber:92},globalThis))},void 0,!1);S=[...S];const M=w.current.map(d3),B=b.map(d3),F=M.length;for(let z=0;z<F;z++){const H=M[z];B.indexOf(H)===-1&&N.add(H)}return l==="wait"&&N.size&&(S=[]),N.forEach(z=>{if(B.indexOf(z)!==-1)return;const H=T.get(z);if(!H)return;const G=M.indexOf(z),K=()=>{T.delete(z),N.delete(z);const Z=w.current.findIndex(ne=>ne.key===z);if(w.current.splice(Z,1),!N.size){if(w.current=b,m.current===!1)return;f(),r&&r()}};S.splice(G,0,_(m8,{isPresent:!1,onExitComplete:K,custom:t,presenceAffectsLayout:s,mode:l,children:H},d3(H),!1,{fileName:v8,lineNumber:143,columnNumber:52},globalThis))}),S=S.map(z=>{const H=z.key;return N.has(H)?z:_(m8,{isPresent:!0,presenceAffectsLayout:s,mode:l,children:z},d3(z),!1,{fileName:v8,lineNumber:149,columnNumber:46},globalThis)}),UL!=="production"&&l==="wait"&&S.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),_(Ci,{children:N.size?S:S.map(z=>O.exports.cloneElement(z))},void 0,!1)};var g_="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/transition/dist/index.esm.js",b_=(...e)=>e.filter(Boolean).join(" ");function tue(){return!0}var nue=e=>{const{condition:t,message:n}=e;t&&tue()&&console.warn(n)},gS={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},TN={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};functio
|
||
|
`})}function wue(e){j9({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function yS(e){const{isOpen:t,isDisabled:n}=XL(),{reduceMotion:r}=QL(),i=y_("chakra-accordion__icon",e.className),s=V9(),l={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...s.icon};return _(vj,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:l,...e,children:_("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"},void 0,!1,{fileName:NA,lineNumber:282,columnNumber:22},this)},void 0,!1,{fileName:NA,lineNumber:276,columnNumber:26},this)}yS.displayName="AccordionIcon";var SS=Ct(function(t,n){const{children:r,className:i}=t,{htmlProps:s,...l}=Sue(t),d={...V9().container,overflowAnchor:"none"},m=O.exports.useMemo(()=>l,[l]);return ke.createElement(pue,{value:m},ke.createElement(nt.div,{ref:n,...s,className:y_("chakra-accordion__item",i),__css:d},typeof r=="function"?r({isExpanded:!!l.isOpen,isDisabled:!!l.isDisabled}):r))});SS.displayName="AccordionItem";var xS=Ct(function(t,n){const{reduceMotion:r}=QL(),{getPanelProps:i,isOpen:s}=XL(),l=i(t,n),f=y_("chakra-accordion__panel",t.className),d=V9();r||delete l.hidden;const m=ke.createElement(nt.div,{...l,__css:d.panel,className:f});return r?m:_(HV,{in:s,children:m},void 0,!1,{fileName:NA,lineNumber:336,columnNumber:28},this)});xS.displayName="AccordionPanel";var G9=Ct(function({children:t,reduceMotion:n,...r},i){const s=hu("Accordion",r),l=Ia(r),{htmlProps:f,descendants:d,...m}=bue(l),b=O.exports.useMemo(()=>({...m,reduceMotion:!!n}),[m,n]);return ke.createElement(mue,{value:d},ke.createElement(yue,{value:b},ke.createElement(hue,{value:s},ke.createElement(nt.div,{ref:i,...f,className:y_("chakra-accordion",r.className),__css:s.root},t))))});G9.displayName="Accordion";var qE="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/alert/node_modules/@chakra-ui/icon/dist/index.esm.js",_z={path:_("g",{stroke:"currentColor",strokeWidth:"1.5",children:[_("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"},void 0,!1,{fileName:qE,lineNumber:14,columnNumber:22},globalThis),_("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"},void 0,!1,{fileName:qE,lineNumber:18,columnNumber:23},globalThis),_("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"},void 0,!1,{fileName:qE,lineNumber:22,columnNumber:23},globalThis)]},void 0,!0,{fileName:qE,lineNumber:11,columnNumber:25},globalThis),viewBox:"0 0 24 24"},W9=Ct((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:s=!1,children:l,className:f,__css:d,...m}=e,b=fi("chakra-icon",f),S={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...d},N={ref:t,focusable:s,className:b,__css:S},w=r??_z.viewBox;if(n&&typeof n!="string")return ke.createElement(nt.svg,{as:n,...N,...m});const T=l??_z.path;return ke.createElement(nt.svg,{verticalAlign:"middle",viewBox:w,...N,...m},T)});W9.displayName="Icon";var _ue=(...e)=>e.filter(Boolean).join(" "),Eue=l_({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),lC=Ct((e,t)=>{const n=Ac("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:s="0.45s",emptyColor:l="transparent",className:f,...d}=Ia(e),m=_ue("chakra-spinner",f),b={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:l,borderLeftColor:l,animation:`${Eue} ${s} linear infinite`,...n};return ke.createElement(nt.div,{ref:t,__css:b,className:m,...d},r&&ke.createElement(nt.span,{srOnly:!0},r))});lC.displayName="Spinner";var AS="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/alert/dist/index.esm.js",Y9=(...e)=>e.filter(Boolean).join(" ");function Tue(e){return _(W9,{viewBox:"0 0 24 24",...e,children:_("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.
|
||
|
|
||
|
Your code should look like:
|
||
|
const MyComponent = lazy(() => import('./MyComponent'))
|
||
|
|
||
|
Did you accidentally put curly braces around the import?`,Ne),"default"in Ne||J(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
||
|
|
||
|
Your code should look like:
|
||
|
const MyComponent = lazy(() => import('./MyComponent'))`,Ne),Ne.default}else throw k._result}function dt(k){var j={_status:yr,_result:k},ae={$$typeof:T,_payload:j,_init:ge};{var ce,Ne;Object.defineProperties(ae,{defaultProps:{configurable:!0,get:function(){return ce},set:function(mt){J("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ce=mt,Object.defineProperty(ae,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Ne},set:function(mt){J("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ne=mt,Object.defineProperty(ae,"propTypes",{enumerable:!0})}}})}return ae}function xt(k){k!=null&&k.$$typeof===w?J("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof k!="function"?J("forwardRef requires a render function but was given %s.",k===null?"null":typeof k):k.length!==0&&k.length!==2&&J("forwardRef render functions accept exactly two parameters: props and ref. %s",k.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),k!=null&&(k.defaultProps!=null||k.propTypes!=null)&&J("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var j={$$typeof:b,render:k};{var ae;Object.defineProperty(j,"displayName",{enumerable:!1,configurable:!0,get:function(){return ae},set:function(ce){ae=ce,!k.name&&!k.displayName&&(k.displayName=ce)}})}return j}var bn;bn=Symbol.for("react.module.reference");function dr(k){return!!(typeof k=="string"||typeof k=="function"||k===s||k===f||Se||k===l||k===S||k===N||de||k===L||le||oe||Ae||typeof k=="object"&&k!==null&&(k.$$typeof===T||k.$$typeof===w||k.$$typeof===d||k.$$typeof===m||k.$$typeof===b||k.$$typeof===bn||k.getModuleId!==void 0))}function _r(k,j){dr(k)||J("memo: The first argument must be a component. Instead received: %s",k===null?"null":typeof k);var ae={$$typeof:w,type:k,compare:j===void 0?null:j};{var ce;Object.defineProperty(ae,"displayName",{enumerable:!1,configurable:!0,get:function(){return ce},set:function(Ne){ce=Ne,!k.name&&!k.displayName&&(k.displayName=Ne)}})}return ae}function Ht(){var k=z.current;return k===null&&J(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
||
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
||
|
2. You might be breaking the Rules of Hooks
|
||
|
3. You might have more than one copy of React in the same app
|
||
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),k}function Kn(k){var j=Ht();if(k._context!==void 0){var ae=k._context;ae.Consumer===k?J("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):ae.Provider===k&&J("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return j.useContext(k)}function sr(k){var j=Ht();return j.useState(k)}function kr(k,j,ae){var ce=Ht();return ce.useReducer(k,j,ae)}function hr(k){var j=Ht();return j.useRef(k)}function Fa(k,j){var ae=Ht();return ae.useEffect(k,j)}function Yi(k,j){var ae=Ht();return ae.useInsertionEffect(k,j)}function Po(k,j){var ae=Ht();return ae.useLayoutEffect(k,j)}function Ra(k,j){var ae=Ht();return ae.useCallback(k,j)}function gs(k,j){var ae=Ht();return ae.useMemo(k,j)}function pu(k,j,ae){var ce=Ht();return ce.useImperativeHandle(k,j,ae)}function co(k,j){{var ae=Ht();return ae.useDebugValue(k,j)}}function Rl(){var k=Ht();return k.useTransition()}function bs(k){var j=Ht();return j.useDeferredValue(k)}function Zn(){var k=Ht();return k.useId()}function Io(k,j,ae){var ce=Ht();return ce.useSyncExternalStore(k,j,ae)}var qi=0,kl,Al,nl,ni,rl,Ol,Ll;function mu(){}mu.__reactDisabledLog=!0;function ju(){{if(qi===0){kl=console.log,Al=console.info,nl=console.warn,ni=console.error,rl=console.group,Ol=console.groupCollapsed,Ll=console.groupEnd;var k={configurable:!0,enumerable:!0,value:mu,writable:!0};Object.defineProperties(console,{info:k,log:k,warn:k,error:k,group:k,groupCollapsed:k,groupEnd:k})}qi++}}function Vu(){{if(qi--,qi===0){var k={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ve({},k,{value:kl}),info:Ve({},k,{value:Al}),warn:Ve({},k,{value:nl}),error:Ve({},k,{value:ni}),group:Ve({},k,{value:rl}),groupCollapsed:Ve({},k,{value:Ol}),groupEnd:Ve({},k,{value:Ll})})}qi<0&&J("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fo=Me.ReactCurrentDispatcher,ri;function fo(k,j,ae){{if(ri===void 0)try{throw Error()}catch(Ne){var ce=Ne.stack.trim().match(/\n( *(at )?)/);ri=ce&&ce[1]||""}return`
|
||
|
`+ri+k}}var ai=!1,Di;{var Ml=typeof WeakMap=="function"?WeakMap:Map;Di=new Ml}function Dl(k,j){if(!k||ai)return"";{var ae=Di.get(k);if(ae!==void 0)return ae}var ce;ai=!0;var Ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var mt;mt=Fo.current,Fo.current=null,ju();try{if(j){var Ze=function(){throw Error()};if(Object.defineProperty(Ze.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ze,[])}catch(Qn){ce=Qn}Reflect.construct(k,[],Ze)}else{try{Ze.call()}catch(Qn){ce=Qn}k.call(Ze.prototype)}}else{try{throw Error()}catch(Qn){ce=Qn}k()}}catch(Qn){if(Qn&&ce&&typeof Qn.stack=="string"){for(var Tt=Qn.stack.split(`
|
||
|
`),Xt=ce.stack.split(`
|
||
|
`),xn=Tt.length-1,Hn=Xt.length-1;xn>=1&&Hn>=0&&Tt[xn]!==Xt[Hn];)Hn--;for(;xn>=1&&Hn>=0;xn--,Hn--)if(Tt[xn]!==Xt[Hn]){if(xn!==1||Hn!==1)do if(xn--,Hn--,Hn<0||Tt[xn]!==Xt[Hn]){var mn=`
|
||
|
`+Tt[xn].replace(" at new "," at ");return k.displayName&&mn.includes("<anonymous>")&&(mn=mn.replace("<anonymous>",k.displayName)),typeof k=="function"&&Di.set(k,mn),mn}while(xn>=1&&Hn>=0);break}}}finally{ai=!1,Fo.current=mt,Vu(),Error.prepareStackTrace=Ne}var Gn=k?k.displayName||k.name:"",In=Gn?fo(Gn):"";return typeof k=="function"&&Di.set(k,In),In}function Ms(k,j,ae){return Dl(k,!1)}function Pl(k){var j=k.prototype;return!!(j&&j.isReactComponent)}function ho(k,j,ae){if(k==null)return"";if(typeof k=="function")return Dl(k,Pl(k));if(typeof k=="string")return fo(k);switch(k){case S:return fo("Suspense");case N:return fo("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case b:return Ms(k.render);case w:return ho(k.type,j,ae);case T:{var ce=k,Ne=ce._payload,mt=ce._init;try{return ho(mt(Ne),j,ae)}catch{}}}return""}var Wa={},wi=Me.ReactDebugCurrentFrame;function ka(k){if(k){var j=k._owner,ae=ho(k.type,k._source,j?j.type:null);wi.setExtraStackFrame(ae)}else wi.setExtraStackFrame(null)}function Gu(k,j,ae,ce,Ne){{var mt=Function.call.bind(Rn);for(var Ze in k)if(mt(k,Ze)){var Tt=void 0;try{if(typeof k[Ze]!="function"){var Xt=Error((ce||"React class")+": "+ae+" type `"+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof k[Ze]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Xt.name="Invariant Violation",Xt}Tt=k[Ze](j,Ze,ce,ae,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(xn){Tt=xn}Tt&&!(Tt instanceof Error)&&(ka(Ne),J("%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).",ce||"React class",ae,Ze,typeof Tt),ka(null)),Tt instanceof Error&&!(Tt.message in Wa)&&(Wa[Tt.message]=!0,ka(Ne),J("Failed %s type: %s",ae,Tt.message),ka(null))}}}function gr(k){if(k){var j=k._owner,ae=ho(k.type,k._source,j?j.type:null);ie(ae)}else ie(null)}var zo;zo=!1;function Il(){if(K.current){var k=an(K.current.type);if(k)return`
|
||
|
|
||
|
Check the render method of \``+k+"`."}return""}function Xn(k){if(k!==void 0){var j=k.fileName.replace(/^.*[\\\/]/,""),ae=k.lineNumber;return`
|
||
|
|
||
|
Check your code at `+j+":"+ae+"."}return""}function Wu(k){return k!=null?Xn(k.__source):""}var qr={};function ts(k){var j=Il();if(!j){var ae=typeof k=="string"?k:k.displayName||k.name;ae&&(j=`
|
||
|
|
||
|
Check the top-level render call using <`+ae+">.")}return j}function po(k,j){if(!(!k._store||k._store.validated||k.key!=null)){k._store.validated=!0;var ae=ts(j);if(!qr[ae]){qr[ae]=!0;var ce="";k&&k._owner&&k._owner!==K.current&&(ce=" It was passed a child from "+an(k._owner.type)+"."),gr(k),J('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ae,ce),gr(null)}}}function ys(k,j){if(typeof k=="object"){if(gn(k))for(var ae=0;ae<k.length;ae++){var ce=k[ae];Lt(ce)&&po(ce,j)}else if(Lt(k))k._store&&(k._store.validated=!0);else if(k){var Ne=F(k);if(typeof Ne=="function"&&Ne!==k.entries)for(var mt=Ne.call(k),Ze;!(Ze=mt.next()).done;)Lt(Ze.value)&&po(Ze.value,j)}}}function ga(k){{var j=k.type;if(j==null||typeof j=="string")return;var ae;if(typeof j=="function")ae=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===b||j.$$typeof===w))ae=j.propTypes;else return;if(ae){var ce=an(j);Gu(ae,k.props,"prop",ce,k)}else if(j.PropTypes!==void 0&&!zo){zo=!0;var Ne=an(j);J("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ne||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&J("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function oa(k){{for(var j=Object.keys(k.props),ae=0;ae<j.length;ae++){var ce=j[ae];if(ce!=="children"&&ce!=="key"){gr(k),J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),gr(null);break}}k.ref!==null&&(gr(k),J("Invalid attribute `ref` supplied to `React.Fragment`."),gr(null))}}function Ds(k,j,ae){var ce=dr(k);if(!ce){var Ne="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(Ne+=" 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 mt=Wu(j);mt?Ne+=mt:Ne+=Il();var Ze;k===null?Ze="null":gn(k)?Ze="array":k!==void 0&&k.$$typeof===r?(Ze="<"+(an(k.type)||"Unknown")+" />",Ne=" Did you accidentally export a JSX literal instead of a component?"):Ze=typeof k,J("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ze,Ne)}var Tt=Xe.apply(this,arguments);if(Tt==null)return Tt;if(ce)for(var Xt=2;Xt<arguments.length;Xt++)ys(arguments[Xt],k);return k===s?oa(Tt):ga(Tt),Tt}var _i=!1;function Kr(k){var j=Ds.bind(null,k);return j.type=k,_i||(_i=!0,_e("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(j,"type",{enumerable:!1,get:function(){return _e("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:k}),k}}),j}function ii(k,j,ae){for(var ce=We.apply(this,arguments),Ne=2;Ne<arguments.length;Ne++)ys(arguments[Ne],ce.type);return ga(ce),ce}function yf(k,j){var ae=H.transition;H.transition={};var ce=H.transition;H.transition._updatedFibers=new Set;try{k()}finally{if(H.transition=ae,ae===null&&ce._updatedFibers){var Ne=ce._updatedFibers.size;Ne>10&&_e("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),ce._updatedFibers.clear()}}}var Ps=!1,Ss=null;function vu(k){if(Ss===null)try{var j=("require"+Math.random()).slice(0,7),ae=t&&t[j];Ss=ae.call(t,"timers").setImmediate}catch{Ss=function(Ne){Ps===!1&&(Ps=!0,typeof MessageChannel>"u"&&J("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var mt=new MessageChannel;mt.port1.onmessage=Ne,mt.port2.postMessage(void 0)}}return Ss(k)}var Sr=0,Br=!1;function Yu(k){{var j=Sr;Sr++,G.current===null&&(G
|
||
|
* @license React
|
||
|
* react.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.
|
||
|
*//**
|
||
|
* @license React
|
||
|
* react.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 _b="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/button/dist/index.esm.js",Z9=(...e)=>e.filter(Boolean).join(" "),Rz=e=>e?"":void 0,[Wue,Yue]=Va({strict:!1,name:"ButtonGroupContext"});function wA(e){const{children:t,className:n,...r}=e,i=O.exports.isValidElement(t)?O.exports.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,s=Z9("chakra-button__icon",n);return ke.createElement(nt.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:s},i)}wA.displayName="ButtonIcon";function _A(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=_(lC,{color:"currentColor",width:"1em",height:"1em"},void 0,!1,{fileName:_b,lineNumber:56,columnNumber:32},this),className:s,__css:l,...f}=e,d=Z9("chakra-button__spinner",s),m=n==="start"?"marginEnd":"marginStart",b=O.exports.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[m]:t?r:0,fontSize:"1em",lineHeight:"normal",...l}),[l,t,m,r]);return ke.createElement(nt.div,{className:d,...f,__css:b},i)}_A.displayName="ButtonSpinner";function que(e){const[t,n]=O.exports.useState(!e);return{ref:O.exports.useCallback(s=>{!s||n(s.tagName==="BUTTON")},[]),type:t?"button":void 0}}var nh=Ct((e,t)=>{const n=Yue(),r=Ac("Button",{...n,...e}),{isDisabled:i=n?.isDisabled,isLoading:s,isActive:l,children:f,leftIcon:d,rightIcon:m,loadingText:b,iconSpacing:S="0.5rem",type:N,spinner:w,spinnerPlacement:T="start",className:L,as:M,...B}=Ia(e),F=O.exports.useMemo(()=>{const K={...r?._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:K}}},[r,n]),{ref:z,type:H}=que(M),G={rightIcon:m,leftIcon:d,iconSpacing:S,children:f};return ke.createElement(nt.button,{disabled:i||s,ref:oae(t,z),as:M,type:N??H,"data-active":Rz(l),"data-loading":Rz(s),__css:F,className:Z9("chakra-button",L),...B},s&&T==="start"&&_(_A,{className:"chakra-button__spinner--start",label:b,placement:"start",spacing:S,children:w},void 0,!1,{fileName:_b,lineNumber:145,columnNumber:67},globalThis),s?b||ke.createElement(nt.span,{opacity:0},_(kz,{...G},void 0,!1,{fileName:_b,lineNumber:152,columnNumber:22},globalThis)):_(kz,{...G},void 0,!1,{fileName:_b,lineNumber:154,columnNumber:25},globalThis),s&&T==="end"&&_(_A,{className:"chakra-button__spinner--end",label:b,placement:"end",spacing:S,children:w},void 0,!1,{fileName:_b,lineNumber:156,columnNumber:66},globalThis))});nh.displayName="Button";function kz(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return _(Ci,{children:[t&&_(wA,{marginEnd:i,children:t},void 0,!1,{fileName:_b,lineNumber:166,columnNumber:96},this),r,n&&_(wA,{marginStart:i,children:n},void 0,!1,{fileName:_b,lineNumber:168,columnNumber:56},this)]},void 0,!0)}var eG=Ct(function(t,n){const{size:r,colorScheme:i,variant:s,className:l,spacing:f="0.5rem",isAttached:d,isDisabled:m,...b}=t,S=Z9("chakra-button__group",l),N=O.exports.useMemo(()=>({size:r,colorScheme:i,variant:s,isDisabled:m}),[r,i,s,m]);let w={display:"inline-flex"};return d?w={...w,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:w={...w,"& > *:not(style) ~ *:not(style)":{marginStart:f}},ke.createElement(Wue,{value:N},ke.createElement(nt.div,{ref:n,role:"group",__css:w,className:S,"data-attached":d?"":void 0,...b}))});eG.displayName="ButtonGroup";var Uu=Ct((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":s,...l}=e,f=n||r,d=O.exports.isValidElement(f)?O.exports.cloneElement(f,{"aria-hidden":!0,focusable:!1}):null;return _(nh,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":s,...l,children:d},void 0,!1,{fileName:_b,lineNumber:231,columnNumber:26},globalThis)});Uu.displayName="IconButton";var KE="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/form-control/node_modules/@chakra-ui/icon/dist/index.esm.js",Az={path:_
|
||
|
:root {
|
||
|
--chakra-vh: 100vh;
|
||
|
}
|
||
|
|
||
|
@supports (height: -webkit-fill-available) {
|
||
|
:root {
|
||
|
--chakra-vh: -webkit-fill-available;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@supports (height: -moz-fill-available) {
|
||
|
:root {
|
||
|
--chakra-vh: -moz-fill-available;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@supports (height: 100lvh) {
|
||
|
:root {
|
||
|
--chakra-vh: 100lvh;
|
||
|
}
|
||
|
}
|
||
|
`,_ce=()=>_(s_,{styles:fG},void 0,!1,{fileName:cG,lineNumber:29,columnNumber:41},globalThis),Ece=()=>_(s_,{styles:`
|
||
|
html {
|
||
|
line-height: 1.5;
|
||
|
-webkit-text-size-adjust: 100%;
|
||
|
font-family: system-ui, sans-serif;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
text-rendering: optimizeLegibility;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
touch-action: manipulation;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
position: relative;
|
||
|
min-height: 100%;
|
||
|
font-feature-settings: 'kern';
|
||
|
}
|
||
|
|
||
|
*,
|
||
|
*::before,
|
||
|
*::after {
|
||
|
border-width: 0;
|
||
|
border-style: solid;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
hr {
|
||
|
border-top-width: 1px;
|
||
|
box-sizing: content-box;
|
||
|
height: 0;
|
||
|
overflow: visible;
|
||
|
}
|
||
|
|
||
|
pre,
|
||
|
code,
|
||
|
kbd,
|
||
|
samp {
|
||
|
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||
|
font-size: 1em;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
background-color: transparent;
|
||
|
color: inherit;
|
||
|
text-decoration: inherit;
|
||
|
}
|
||
|
|
||
|
abbr[title] {
|
||
|
border-bottom: none;
|
||
|
text-decoration: underline;
|
||
|
-webkit-text-decoration: underline dotted;
|
||
|
text-decoration: underline dotted;
|
||
|
}
|
||
|
|
||
|
b,
|
||
|
strong {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
small {
|
||
|
font-size: 80%;
|
||
|
}
|
||
|
|
||
|
sub,
|
||
|
sup {
|
||
|
font-size: 75%;
|
||
|
line-height: 0;
|
||
|
position: relative;
|
||
|
vertical-align: baseline;
|
||
|
}
|
||
|
|
||
|
sub {
|
||
|
bottom: -0.25em;
|
||
|
}
|
||
|
|
||
|
sup {
|
||
|
top: -0.5em;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
border-style: none;
|
||
|
}
|
||
|
|
||
|
button,
|
||
|
input,
|
||
|
optgroup,
|
||
|
select,
|
||
|
textarea {
|
||
|
font-family: inherit;
|
||
|
font-size: 100%;
|
||
|
line-height: 1.15;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
button,
|
||
|
input {
|
||
|
overflow: visible;
|
||
|
}
|
||
|
|
||
|
button,
|
||
|
select {
|
||
|
text-transform: none;
|
||
|
}
|
||
|
|
||
|
button::-moz-focus-inner,
|
||
|
[type="button"]::-moz-focus-inner,
|
||
|
[type="reset"]::-moz-focus-inner,
|
||
|
[type="submit"]::-moz-focus-inner {
|
||
|
border-style: none;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
fieldset {
|
||
|
padding: 0.35em 0.75em 0.625em;
|
||
|
}
|
||
|
|
||
|
legend {
|
||
|
box-sizing: border-box;
|
||
|
color: inherit;
|
||
|
display: table;
|
||
|
max-width: 100%;
|
||
|
padding: 0;
|
||
|
white-space: normal;
|
||
|
}
|
||
|
|
||
|
progress {
|
||
|
vertical-align: baseline;
|
||
|
}
|
||
|
|
||
|
textarea {
|
||
|
overflow: auto;
|
||
|
}
|
||
|
|
||
|
[type="checkbox"],
|
||
|
[type="radio"] {
|
||
|
box-sizing: border-box;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
[type="number"]::-webkit-inner-spin-button,
|
||
|
[type="number"]::-webkit-outer-spin-button {
|
||
|
-webkit-appearance: none !important;
|
||
|
}
|
||
|
|
||
|
input[type="number"] {
|
||
|
-moz-appearance: textfield;
|
||
|
}
|
||
|
|
||
|
[type="search"] {
|
||
|
-webkit-appearance: textfield;
|
||
|
outline-offset: -2px;
|
||
|
}
|
||
|
|
||
|
[type="search"]::-webkit-search-decoration {
|
||
|
-webkit-appearance: none !important;
|
||
|
}
|
||
|
|
||
|
::-webkit-file-upload-button {
|
||
|
-webkit-appearance: button;
|
||
|
font: inherit;
|
||
|
}
|
||
|
|
||
|
details {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
summary {
|
||
|
display: list-item;
|
||
|
}
|
||
|
|
||
|
template {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
[hidden] {
|
||
|
display: none !important;
|
||
|
}
|
||
|
|
||
|
body,
|
||
|
blockquote,
|
||
|
dl,
|
||
|
dd,
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
h6,
|
||
|
hr,
|
||
|
figure,
|
||
|
p,
|
||
|
pre {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
button {
|
||
|
background: transparent;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
fieldset {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
ol,
|
||
|
ul {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
textarea {
|
||
|
resize: vertical;
|
||
|
}
|
||
|
|
||
|
button,
|
||
|
[role="button"] {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
button::-moz-focus-inner {
|
||
|
border: 0 !important;
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
border-collapse: collapse;
|
||
|
}
|
||
|
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
h6 {
|
||
|
font-size: inherit;
|
||
|
font-weight: inherit;
|
||
|
}
|
||
|
|
||
|
button,
|
||
|
input,
|
||
|
optgroup,
|
||
|
select,
|
||
|
textarea {
|
||
|
padding: 0;
|
||
|
line-height: inherit;
|
||
|
color: inherit;
|
||
|
}
|
||
|
|
||
|
img,
|
||
|
svg,
|
||
|
video,
|
||
|
canvas,
|
||
|
audio,
|
||
|
iframe,
|
||
|
embed,
|
||
|
object {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
img,
|
||
|
video {
|
||
|
max-width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
[data-js-focus-visible] :focus:not([data-focus-visible-added]):not([data-focus-visible-disabled]) {
|
||
|
outline: none;
|
||
|
box-shadow: none;
|
||
|
}
|
||
|
|
||
|
select::-ms-expand {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
${fG}
|
||
|
`},void 0,!1,{fileName:cG,lineNumber:32,columnNumber:38},globalThis);function OA(e,t,n,r){const i=Jo(n);return O.exports.useEffect(()=>{const s=typeof e=="function"?e():e??document;if(!(!n||!s))return s.addEventListener(t,i,r),()=>{s.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const s=typeof e=="function"?e():e??document;s?.removeEventListener(t,i,r)}}var Tce=c_?O.exports.useLayoutEffect:O.exports.useEffect;function LA(e,t=[]){const n=O.exports.useRef(e);return Tce(()=>{n.current=e}),O.exports.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function iM(e,t,n,r){const i=LA(t);return O.exports.useEffect(()=>{const s=E6(n)??document;if(!!t)return s.addEventListener(e,i,r),()=>{s.removeEventListener(e,i,r)}},[e,n,r,i,t]),()=>{(E6(n)??document).removeEventListener(e,i,r)}}function Rce(e){const{isOpen:t,ref:n}=e,[r,i]=O.exports.useState(t),[s,l]=O.exports.useState(!1);return O.exports.useEffect(()=>{s||(i(t),l(!0))},[t,s,r]),iM("animationend",()=>{i(t)},()=>n.current),{present:!(t?!1:!r),onComplete(){var d;const m=Jne(n.current),b=new m.CustomEvent("animationend",{bubbles:!0});(d=n.current)==null||d.dispatchEvent(b)}}}function kce(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function Ace(e,t){const n=O.exports.useId();return O.exports.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function j6(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,s=LA(n),l=LA(t),[f,d]=O.exports.useState(e.defaultIsOpen||!1),[m,b]=kce(r,f),S=Ace(i,"disclosure"),N=O.exports.useCallback(()=>{m||d(!1),l?.()},[m,l]),w=O.exports.useCallback(()=>{m||d(!0),s?.()},[m,s]),T=O.exports.useCallback(()=>{(b?N:w)()},[b,w,N]);return{isOpen:!!b,onOpen:w,onClose:N,onToggle:T,isControlled:m,getButtonProps:(L={})=>({...L,"aria-expanded":b,"aria-controls":S,onClick:dre(L.onClick,T)}),getDisclosureProps:(L={})=>({...L,hidden:!b,id:S})}}var dG=(e,t)=>{const n=O.exports.useRef(!1),r=O.exports.useRef(!1);O.exports.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),O.exports.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function Oce(e){const t=e.current;if(!t)return!1;const n=nre(t);return!n||NL(t,n)?!1:!!sre(n)}function Lce(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,s=n&&!r;dG(()=>{if(!s||Oce(e))return;const l=i?.current||e.current;l&&T6(l,{nextTick:!0})},[s,e,i])}function Mce(e,t,n,r){return iM(Ore(t),_re(n,t==="pointerdown"),e,r)}function Dce(e){const{ref:t,elements:n,enabled:r}=e,i=Mre("Safari");Mce(()=>u_(t.current),"pointerdown",l=>{if(!i||!r)return;const f=l.target,m=(n??[t]).some(b=>{const S=aj(b)?b.current:b;return NL(S,f)});!uj(f)&&m&&(l.preventDefault(),T6(f))})}var Pce={preventScroll:!0,shouldFocus:!1};function Ice(e,t=Pce){const{focusRef:n,preventScroll:r,shouldFocus:i,visible:s}=t,l=aj(e)?e.current:e,f=i&&s,d=O.exports.useCallback(()=>{if(!(!l||!f)&&!NL(l,document.activeElement))if(n?.current)T6(n.current,{preventScroll:r,nextTick:!0});else{const m=fre(l);m.length>0&&T6(m[0],{preventScroll:r,nextTick:!0})}},[f,r,l,n]);dG(()=>{d()},[d]),iM("transitionend",d,l)}var S3="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/react/node_modules/@chakra-ui/icon/dist/index.esm.js",Fz={path:_("g",{stroke:"currentColor",strokeWidth:"1.5",children:[_("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"},void 0,!1,{fileName:S3,lineNumber:14,columnNumber:22},globalThis),_("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"},void 0,!1,{fileName:S3,lineNumber:18,columnNumber:23},globalThis),_("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"},void 0,!1,{fileName:S3,lineNumber:22,columnNumber:23},globalThis)]},void 0,!0,{fileName:S3,lineNumber:11,columnNumber:25},globalThis),viewBox:"0 0 24 24"},J9=Ct((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:s=!1,children:l,className:f,__css:d,...m}=e,b=fi("chakra-icon",f),S={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...d},N={ref:t,focusable:s,cl
|
||
|
|
||
|
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
|
||
|
|
||
|
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var b={placement:Cp(t.placement),variation:K3(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Vz(Object.assign({},b,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:d})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Vz(Object.assign({},b,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Jfe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Qfe,data:{}};var JE={passive:!0};function ede(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,l=r.resize,f=l===void 0?!0:l,d=uh(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&m.forEach(function(b){b.addEventListener("scroll",n.update,JE)}),f&&d.addEventListener("resize",n.update,JE),function(){s&&m.forEach(function(b){b.removeEventListener("scroll",n.update,JE)}),f&&d.removeEventListener("resize",n.update,JE)}}const tde={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ede,data:{}};var nde={left:"right",right:"left",bottom:"top",top:"bottom"};function XT(e){return e.replace(/left|right|bottom|top/g,function(t){return nde[t]})}var rde={start:"end",end:"start"};function Gz(e){return e.replace(/start|end/g,function(t){return rde[t]})}function pM(e){var t=uh(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function mM(e){return q3(Bb(e)).left+pM(e).scrollLeft}function ade(e,t){var n=uh(e),r=Bb(e),i=n.visualViewport,s=r.clientWidth,l=r.clientHeight,f=0,d=0;if(i){s=i.width,l=i.height;var m=MG();(m||!m&&t==="fixed")&&(f=i.offsetLeft,d=i.offsetTop)}return{width:s,height:l,x:f+mM(e),y:d}}function ide(e){var t,n=Bb(e),r=pM(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=ES(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),l=ES(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),f=-r.scrollLeft+mM(e),d=-r.scrollTop;return Np(i||n).direction==="rtl"&&(f+=ES(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:l,x:f,y:d}}function vM(e){var t=Np(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function zG(e){return["html","body","#document"].indexOf(dv(e))>=0?e.ownerDocument.body:td(e)&&vM(e)?e:zG(n7(e))}function vw(e,t){var n;t===void 0&&(t=[]);var r=zG(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=uh(r),l=i?[s].concat(s.visualViewport||[],vM(r)?r:[]):r,f=t.concat(l);return i?f:f.concat(vw(n7(l)))}function IA(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ode(e,t){var n=q3(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Wz(e,t,n){return t===OG?IA(ade(e,n)):OS(t)?ode(t,n):IA(ide(Bb(e)))}function sde(e){var t=vw(n7(e)),n=["absolute","fixed"].indexOf(Np(e).position)>=0,r=n&&td(e)?x_(e):e;return OS(r)?t.filter(function(i){return OS(i)&&DG(i,r)&&dv(i)!=="body"}):[]}function lde(e,t,n,r){var i=t==="clippingParents"?sde(e):[].concat(t),s=[].concat(i,[n]),l=s[0],f=s.reduce(function(d,m){var b=Wz(e,m,r);return d.top=ES(b.top,d.top),d.right=V6(b.right,d.right),d.bottom=V6(b.bottom,d.bottom),d.left=ES(b.left,d.left),d},Wz(e,l,r));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function BG(e){var t=e.reference,n=e.element,r=e.placement,i=r?Cp(r):null,s=r?K3(r):null,l=t.x+t.width/2-n.width/2,f=t.y+t.height/2-n.height/2,d;switch(i){case mf:d={x:l,y:t.y-n.height};break;case ih:d={x:l,y:t.y+t.height};break;case oh:d={x:t.x+t.width,y:f};break;case vf:d={x:t.x-n.width,y:f};bre
|
||
|
object-assign
|
||
|
(c) Sindre Sorhus
|
||
|
@license MIT
|
||
|
*/var nB=Object.getOwnPropertySymbols,she=Object.prototype.hasOwnProperty,lhe=Object.prototype.propertyIsEnumerable;function uhe(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function che(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(s){return t[s]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(s){i[s]=s}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var fhe=che()?Object.assign:function(e,t){for(var n,r=uhe(e),i,s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var l in n)she.call(n,l)&&(r[l]=n[l]);if(nB){i=nB(n);for(var f=0;f<i.length;f++)lhe.call(n,i[f])&&(r[i[f]]=n[i[f]])}}return r},dhe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",WG=dhe,YG=Function.call.bind(Object.prototype.hasOwnProperty),FA=function(){};{var hhe=WG,zA={},phe=YG;FA=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function qG(e,t,n,r,i){for(var s in e)if(phe(e,s)){var l;try{if(typeof e[s]!="function"){var f=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}l=e[s](t,s,r,n,null,hhe)}catch(m){l=m}if(l&&!(l instanceof Error)&&FA((r||"React class")+": type specification of "+n+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in zA)){zA[l.message]=!0;var d=i?i():"";FA("Failed "+n+" type: "+l.message+(d??""))}}}qG.resetWarningCache=function(){zA={}};var mhe=qG,vhe=_9.exports,ghe=fhe,J5=WG,C8=YG,rB=mhe,h3=function(){};h3=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}};function nT(){return null}var bhe=function(e,t){var n=typeof Symbol=="function"&&Symbol.iterator,r="@@iterator";function i(de){var Se=de&&(n&&de[n]||de[r]);if(typeof Se=="function")return Se}var s="<<anonymous>>",l={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:S(),arrayOf:N,element:w(),elementType:T(),instanceOf:L,node:z(),objectOf:B,oneOf:M,oneOfType:F,shape:G,exact:K};function f(de,Se){return de===Se?de!==0||1/de===1/Se:de!==de&&Se!==Se}function d(de,Se){this.message=de,this.data=Se&&typeof Se=="object"?Se:{},this.stack=""}d.prototype=Error.prototype;function m(de){var Se={},Me=0;function _e(he,ve,ye,xe,Ve,Pe,Qe){if(xe=xe||s,Pe=Pe||ye,Qe!==J5){if(t){var wt=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 wt.name="Invariant Violation",wt}else if(typeof console<"u"){var Ot=xe+":"+ye;!Se[Ot]&&Me<3&&(h3("You are manually calling a React.PropTypes validation function for the `"+Pe+"` prop on `"+xe+"`. 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."),Se[Ot]=!0,Me++)}}return ve[ye]==null?he?ve[ye]===null?new d("The "+Ve+" `"+Pe+"` is marked as required "+("in `"+xe+"`, but its value is `null`.")):new d("The "+Ve+" `"+Pe+"` is marked as required in "+("`"+xe+"`, but its value is `undefined`.")):null:de(ve,ye,xe,Ve,Pe)}var J=_e.bind(null,!1);return J.isRequired=_e.bind(null,!0),J}function b(de){function Se(Me,_e,J,he,ve,ye){var xe=Me[_e],Ve=ie(xe);if(Ve!==de){var Pe=le(x
|
||
|
Valid keys: `+JSON.stringify(Object.keys(de),null," "));var wt=Qe(ye,Pe,J,he,ve+"."+Pe,J5);if(wt)return wt}return null}return m(Se)}function Z(de){switch(typeof de){case"number":case"string":case"undefined":return!0;case"boolean":return!de;case"object":if(Array.isArray(de))return de.every(Z);if(de===null||e(de))return!0;var Se=i(de);if(Se){var Me=Se.call(de),_e;if(Se!==de.entries){for(;!(_e=Me.next()).done;)if(!Z(_e.value))return!1}else for(;!(_e=Me.next()).done;){var J=_e.value;if(J&&!Z(J[1]))return!1}}else return!1;return!0;default:return!1}}function ne(de,Se){return de==="symbol"?!0:Se?Se["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Se instanceof Symbol:!1}function ie(de){var Se=typeof de;return Array.isArray(de)?"array":de instanceof RegExp?"object":ne(Se,de)?"symbol":Se}function le(de){if(typeof de>"u"||de===null)return""+de;var Se=ie(de);if(Se==="object"){if(de instanceof Date)return"date";if(de instanceof RegExp)return"regexp"}return Se}function oe(de){var Se=le(de);switch(Se){case"array":case"object":return"an "+Se;case"boolean":case"date":case"regexp":return"a "+Se;default:return Se}}function Ae(de){return!de.constructor||!de.constructor.name?s:de.constructor.name}return l.checkPropTypes=rB,l.resetWarningCache=rB.resetWarningCache,l.PropTypes=l,l};{var yhe=_9.exports,She=!0;At.exports=bhe(yhe.isElement,She)}var BA="data-focus-lock",KG="data-focus-lock-disabled",xhe="data-no-focus-lock",Che="data-autofocus-inside",Nhe="data-no-autofocus";function whe(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function _he(e,t){var n=O.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function ZG(e,t){return _he(t||null,function(n){return e.forEach(function(r){return whe(r,n)})})}var N8={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};At.exports.node;function XG(e){return e}function QG(e,t){t===void 0&&(t=XG);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var l=t(s,r);return n.push(l),function(){n=n.filter(function(f){return f!==l})}},assignSyncMedium:function(s){for(r=!0;n.length;){var l=n;n=[],l.forEach(s)}n={push:function(f){return s(f)},filter:function(){return n}}},assignMedium:function(s){r=!0;var l=[];if(n.length){var f=n;n=[],f.forEach(s),l=n}var d=function(){var b=l;l=[],b.forEach(s)},m=function(){return Promise.resolve().then(d)};m(),n={push:function(b){l.push(b),m()},filter:function(b){return l=l.filter(b),n}}}};return i}function yM(e,t){return t===void 0&&(t=XG),QG(e,t)}function JG(e){e===void 0&&(e={});var t=QG(null);return t.options=tv({async:!0,ssr:!1},e),t}var Ehe="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/use-sidecar/dist/es2015/exports.js",eW=function(e){var t=e.sideCar,n=F9(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return _(r,{...tv({},n)},void 0,!1,{fileName:Ehe,lineNumber:12,columnNumber:12},this)};eW.isSideCarExport=!0;function The(e,t){return e.useMedium(t),eW}var tW=yM({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),nW=yM(),Rhe=yM(),khe=JG({async:!0}),kN="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-focus-lock/dist/es2015/Lock.js",Ahe=[],SM=O.exports.forwardRef(function(t,n){var r,i=O.exports.useState(),s=i[0],l=i[1],f=O.exports.useRef(),d=O.exports.useRef(!1),m=O.exports.useRef(null),b=t.children,S=t.disabled,N=t.noFocusGuards,w=t.persistentFocus,T=t.crossFrame,L=t.autoFocus,M=t.allowTextSelection,B=t.group,F=t.className,z=t.whiteList,H=t.hasPositiveIndices,G=t.shards,K=G===void 0?Ahe:G,Z=t.as,ne=Z===void 0?"div":Z,ie=t.lockProps,le=ie===void 0?{}:ie,oe=t.sideCar,Ae=t.returnFocus,de=t.focusOptions,Se
|
||
|
.`.concat(Epe,` {
|
||
|
overflow: hidden `).concat(r,`;
|
||
|
padding-right: `).concat(f,"px ").concat(r,`;
|
||
|
}
|
||
|
body {
|
||
|
overflow: hidden `).concat(r,`;
|
||
|
overscroll-behavior: contain;
|
||
|
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
||
|
padding-left: `.concat(i,`px;
|
||
|
padding-top: `).concat(s,`px;
|
||
|
padding-right: `).concat(l,`px;
|
||
|
margin-left:0;
|
||
|
margin-top:0;
|
||
|
margin-right: `).concat(f,"px ").concat(r,`;
|
||
|
`),n==="padding"&&"padding-right: ".concat(f,"px ").concat(r,";")].filter(Boolean).join(""),`
|
||
|
}
|
||
|
|
||
|
.`).concat(QT,` {
|
||
|
right: `).concat(f,"px ").concat(r,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(JT,` {
|
||
|
margin-right: `).concat(f,"px ").concat(r,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(QT," .").concat(QT,` {
|
||
|
right: 0 `).concat(r,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(JT," .").concat(JT,` {
|
||
|
margin-right: 0 `).concat(r,`;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
`).concat(Tpe,": ").concat(f,`px;
|
||
|
}
|
||
|
`)},$pe=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,s=O.exports.useMemo(function(){return Ipe(i)},[i]);return _(zpe,{styles:Bpe(s,!t,i,n?"":"!important")},void 0,!1,{fileName:Fpe,lineNumber:27,columnNumber:12},this)},VA=!1;if(typeof window<"u")try{var rT=Object.defineProperty({},"passive",{get:function(){return VA=!0,!0}});window.addEventListener("test",rT,rT),window.removeEventListener("test",rT,rT)}catch{VA=!1}var e3=VA?{passive:!1}:!1,Upe=function(e){return e.tagName==="TEXTAREA"},RW=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Upe(e)&&n[t]==="visible")},Hpe=function(e){return RW(e,"overflowY")},jpe=function(e){return RW(e,"overflowX")},cB=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=kW(e,n);if(r){var i=AW(e,n),s=i[1],l=i[2];if(s>l)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Vpe=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Gpe=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},kW=function(e,t){return e==="v"?Hpe(t):jpe(t)},AW=function(e,t){return e==="v"?Vpe(t):Gpe(t)},Wpe=function(e,t){return e==="h"&&t==="rtl"?-1:1},Ype=function(e,t,n,r,i){var s=Wpe(e,window.getComputedStyle(t).direction),l=s*r,f=n.target,d=t.contains(f),m=!1,b=l>0,S=0,N=0;do{var w=AW(e,f),T=w[0],L=w[1],M=w[2],B=L-M-s*T;(T||B)&&kW(e,f)&&(S+=B,N+=T),f=f.parentNode}while(!d&&f!==document.body||d&&(t.contains(f)||t===f));return(b&&(i&&S===0||!i&&l>S)||!b&&(i&&N===0||!i&&-l>N))&&(m=!0),m},fB="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-remove-scroll/dist/es2015/SideEffect.js",aT=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},dB=function(e){return[e.deltaX,e.deltaY]},hB=function(e){return e&&"current"in e?e.current:e},qpe=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Kpe=function(e){return`
|
||
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
||
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
||
|
`)},Zpe=0,t3=[];function Xpe(e){var t=O.exports.useRef([]),n=O.exports.useRef([0,0]),r=O.exports.useRef(),i=O.exports.useState(Zpe++)[0],s=O.exports.useState(function(){return TW()})[0],l=O.exports.useRef(e);O.exports.useEffect(function(){l.current=e},[e]),O.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var L=iA([e.lockRef.current],(e.shards||[]).map(hB),!0).filter(Boolean);return L.forEach(function(M){return M.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),L.forEach(function(M){return M.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var f=O.exports.useCallback(function(L,M){if("touches"in L&&L.touches.length===2)return!l.current.allowPinchZoom;var B=aT(L),F=n.current,z="deltaX"in L?L.deltaX:F[0]-B[0],H="deltaY"in L?L.deltaY:F[1]-B[1],G,K=L.target,Z=Math.abs(z)>Math.abs(H)?"h":"v";if("touches"in L&&Z==="h"&&K.type==="range")return!1;var ne=cB(Z,K);if(!ne)return!0;if(ne?G=Z:(G=Z==="v"?"h":"v",ne=cB(Z,K)),!ne)return!1;if(!r.current&&"changedTouches"in L&&(z||H)&&(r.current=G),!G)return!0;var ie=r.current||G;return Ype(ie,M,L,ie==="h"?z:H,!0)},[]),d=O.exports.useCallback(function(L){var M=L;if(!(!t3.length||t3[t3.length-1]!==s)){var B="deltaY"in M?dB(M):aT(M),F=t.current.filter(function(G){return G.name===M.type&&G.target===M.target&&qpe(G.delta,B)})[0];if(F&&F.should){M.cancelable&&M.preventDefault();return}if(!F){var z=(l.current.shards||[]).map(hB).filter(Boolean).filter(function(G){return G.contains(M.target)}),H=z.length>0?f(M,z[0]):!l.current.noIsolation;H&&M.cancelable&&M.preventDefault()}}},[]),m=O.exports.useCallback(function(L,M,B,F){var z={name:L,delta:M,target:B,should:F};t.current.push(z),setTimeout(function(){t.current=t.current.filter(function(H){return H!==z})},1)},[]),b=O.exports.useCallback(function(L){n.current=aT(L),r.current=void 0},[]),S=O.exports.useCallback(function(L){m(L.type,dB(L),L.target,f(L,e.lockRef.current))},[]),N=O.exports.useCallback(function(L){m(L.type,aT(L),L.target,f(L,e.lockRef.current))},[]);O.exports.useEffect(function(){return t3.push(s),e.setCallbacks({onScrollCapture:S,onWheelCapture:S,onTouchMoveCapture:N}),document.addEventListener("wheel",d,e3),document.addEventListener("touchmove",d,e3),document.addEventListener("touchstart",b,e3),function(){t3=t3.filter(function(L){return L!==s}),document.removeEventListener("wheel",d,e3),document.removeEventListener("touchmove",d,e3),document.removeEventListener("touchstart",b,e3)}},[]);var w=e.removeScrollBar,T=e.inert;return _(Ci,{children:[T?_(s,{styles:Kpe(i)},void 0,!1,{fileName:fB,lineNumber:144,columnNumber:17},this):null,w?_($pe,{gapMode:"margin"},void 0,!1,{fileName:fB,lineNumber:145,columnNumber:27},this):null]},void 0,!0)}const Qpe=The(EW,Xpe);var Jpe="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-remove-scroll/dist/es2015/Combination.js",OW=O.exports.forwardRef(function(e,t){return _(r7,{...tv({},e,{ref:t,sideCar:Qpe})},void 0,!1,{fileName:Jpe,lineNumber:5,columnNumber:74},this)});OW.classNames=r7.classNames;const LW=OW;var pf="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/modal/dist/index.esm.js",$S=(...e)=>e.filter(Boolean).join(" ");function YN(...e){return function(n){e.some(r=>(r?.(n),n?.defaultPrevented))}}var eme=class{modals;constructor(){this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter(t=>t!==e)}isTopModal(e){return this.modals[this.modals.length-1]===e}},GA=new eme;function tme(e,t){O.exports.useEffect(()=>(t&&GA.add(e),()=>{GA.remove(e)}),[t,e])}function nme(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:s=!0,useInert:l=!0,onOverlayClick:f,onEsc:d}=e,m=O.exports.useRef(null),b=O.exports.useRef(null),[S,N,w]=ame(r,"chakra-modal","chakra-modal--header","chakra-modal--body");rme(m,t&&l),tme(m,t);const T=O.exports.useRef(null),L=O.exports.useCallback(ne=>{T.current=ne.target},[]),M=O.exports.useCallback(n
|
||
|
45deg,
|
||
|
${t} 25%,
|
||
|
transparent 25%,
|
||
|
transparent 50%,
|
||
|
${t} 50%,
|
||
|
${t} 75%,
|
||
|
transparent 75%,
|
||
|
transparent
|
||
|
)`,backgroundSize:`${e} ${e}`}}function z0e(e){const t=NY().toHexString();return!e||P0e(e)?t:e.string&&e.colors?$0e(e.string,e.colors):e.string&&!e.colors?B0e(e.string):e.colors&&!e.string?U0e(e.colors):t}function B0e(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;let n="#";for(let r=0;r<3;r+=1)n+=`00${(t>>r*8&255).toString(16)}`.substr(-2);return n}function $0e(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;r<e.length;r+=1)n=e.charCodeAt(r)+((n<<5)-n),n=n&n;return n=(n%t.length+t.length)%t.length,t[n]}function U0e(e){return e[Math.floor(Math.random()*e.length)]}function Nt(e,t){return n=>n.colorMode==="dark"?t:e}function $M(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function H0e(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function TY(e){return H0e(e)&&e.reference?e.reference:String(e)}var h7=(e,...t)=>t.map(TY).join(` ${e} `).replace(/calc/g,""),LB=(...e)=>`calc(${h7("+",...e)})`,MB=(...e)=>`calc(${h7("-",...e)})`,XA=(...e)=>`calc(${h7("*",...e)})`,DB=(...e)=>`calc(${h7("/",...e)})`,PB=e=>{const t=TY(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:XA(t,-1)},e0=Object.assign(e=>({add:(...t)=>e0(LB(e,...t)),subtract:(...t)=>e0(MB(e,...t)),multiply:(...t)=>e0(XA(e,...t)),divide:(...t)=>e0(DB(e,...t)),negate:()=>e0(PB(e)),toString:()=>e.toString()}),{add:LB,subtract:MB,multiply:XA,divide:DB,negate:PB});function j0e(e){return!Number.isInteger(parseFloat(e.toString()))}function V0e(e,t="-"){return e.replace(/\s+/g,t)}function RY(e){const t=V0e(e.toString());return t.includes("\\.")?e:j0e(e)?t.replace(".","\\."):e}function G0e(e,t=""){return[t,RY(e)].filter(Boolean).join("-")}function W0e(e,t){return`var(${RY(e)}${t?`, ${t}`:""})`}function Y0e(e,t=""){return`--${G0e(e,t)}`}function bf(e,t){const n=Y0e(e,t?.prefix);return{variable:n,reference:W0e(n,q0e(t?.fallback))}}function q0e(e){return typeof e=="string"?e:e?.reference}var{definePartsStyle:K0e,defineMultiStyleConfig:Z0e}=so(ige.keys),X0e={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},Q0e={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},J0e={pt:"2",px:"4",pb:"5"},e1e={fontSize:"1.25em"},t1e=K0e({container:X0e,button:Q0e,panel:J0e,icon:e1e}),n1e=Z0e({baseStyle:t1e}),{definePartsStyle:T_,defineMultiStyleConfig:r1e}=so(oge.keys),i0=jS("alert-fg"),R_=jS("alert-bg"),a1e=T_({container:{bg:R_.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:i0.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:i0.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function UM(e){const{theme:t,colorScheme:n}=e,r=Js(t,`${n}.100`,n),i=X3(`${n}.200`,.16)(t);return Nt(r,i)(e)}var i1e=T_(e=>{const{colorScheme:t}=e,n=Nt(`${t}.500`,`${t}.200`)(e);return{container:{[R_.variable]:UM(e),[i0.variable]:`colors.${n}`}}}),o1e=T_(e=>{const{colorScheme:t}=e,n=Nt(`${t}.500`,`${t}.200`)(e);return{container:{[R_.variable]:UM(e),[i0.variable]:`colors.${n}`,paddingStart:"3",borderStartWidth:"4px",borderStartColor:i0.reference}}}),s1e=T_(e=>{const{colorScheme:t}=e,n=Nt(`${t}.500`,`${t}.200`)(e);return{container:{[R_.variable]:UM(e),[i0.variable]:`colors.${n}`,pt:"2",borderTopWidth:"4px",borderTopColor:i0.reference}}}),l1e=T_(e=>{const{colorScheme:t}=e,n=Nt(`${t}.500`,`${t}.200`)(e),r=Nt("white","gray.900")(e);return{container:{[R_.variable]:`colors.${n}`,[i0.variable]:`colors.${r}`,color:i0.reference}}}),u1e={subtle:i1e,"left-accent":o1e,"top-accent":s1e,solid:l1e},c1e=r1e({baseStyle:a1e,variants:u1e,defaultProps:{variant:"subtle",colorScheme:"blue"}}),kY={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem"
|
||
|
to right,
|
||
|
transparent 0%,
|
||
|
${Js(n,l)} 50%,
|
||
|
transparent 100%
|
||
|
)`;return{...!r&&i&&s,...r?{bgImage:f}:{bgColor:l}}},t2e={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},n2e=e=>({bg:Nt("gray.100","whiteAlpha.300")(e)}),r2e=e=>({transitionProperty:"common",transitionDuration:"slow",...e2e(e)}),a2e=KN(e=>({label:t2e,filledTrack:r2e(e),track:n2e(e)})),i2e={xs:KN({track:{h:"1"}}),sm:KN({track:{h:"2"}}),md:KN({track:{h:"3"}}),lg:KN({track:{h:"4"}})},o2e=Jye({sizes:i2e,baseStyle:a2e,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:s2e,definePartsStyle:a6}=so(xge.keys),l2e=e=>{var t;const n=(t=vs(X6.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n?._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},u2e=a6(e=>{var t,n,r,i;return{label:(n=(t=X6).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=X6).baseStyle)==null?void 0:i.call(r,e).container,control:l2e(e)}}),c2e={md:a6({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:a6({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:a6({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},f2e=s2e({baseStyle:u2e,sizes:c2e,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:d2e,definePartsStyle:h2e}=so(Cge.keys),p2e=e=>{var t;return{...(t=Pa.baseStyle)==null?void 0:t.field,bg:Nt("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:Nt("white","gray.700")(e)}}},m2e={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},v2e=h2e(e=>({field:p2e(e),icon:m2e})),fT={paddingInlineEnd:"8"},zB,BB,$B,UB,HB,jB,VB,GB,g2e={lg:{...(zB=Pa.sizes)==null?void 0:zB.lg,field:{...(BB=Pa.sizes)==null?void 0:BB.lg.field,...fT}},md:{...($B=Pa.sizes)==null?void 0:$B.md,field:{...(UB=Pa.sizes)==null?void 0:UB.md.field,...fT}},sm:{...(HB=Pa.sizes)==null?void 0:HB.sm,field:{...(jB=Pa.sizes)==null?void 0:jB.sm.field,...fT}},xs:{...(VB=Pa.sizes)==null?void 0:VB.xs,field:{...(GB=Pa.sizes)==null?void 0:GB.sm.field,...fT},icon:{insetEnd:"1"}}},b2e=d2e({baseStyle:v2e,sizes:g2e,variants:Pa.variants,defaultProps:Pa.defaultProps}),y2e=jS("skeleton-start-color"),S2e=jS("skeleton-end-color"),x2e=e=>{const t=Nt("gray.100","gray.800")(e),n=Nt("gray.400","gray.600")(e),{startColor:r=t,endColor:i=n,theme:s}=e,l=Js(s,r),f=Js(s,i);return{[y2e.variable]:l,[S2e.variable]:f,opacity:.7,borderRadius:"2px",borderColor:l,background:f}},C2e={baseStyle:x2e},N2e=e=>({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",bg:Nt("white","gray.700")(e)}}),w2e={baseStyle:N2e},{defineMultiStyleConfig:_2e,definePartsStyle:p7}=so(Nge.keys),Zw=jS("slider-thumb-size"),Xw=jS("slider-track-size"),E2e=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...$M({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},T2e=e=>({...$M({orientation:e.orientation,horizontal:{h:Xw.reference},vertical:{w:Xw.reference}}),overflow:"hidden",borderRadius:"sm",bg:Nt("gray.200","whiteAlpha.200")(e),_disabled:{bg:Nt("gray.300","whiteAlpha.300")(e)}}),R2e=e=>{const{orientation:t}=e;return{...$M({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:Zw.reference,h:Zw.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},k2e=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",bg:Nt(`${t}.500`,`${t}.200`)(e)}},A2e=p7(e=>({container:E2e(e),track:T2e(e),thumb:R2e(e),filledTrack:k2e(e)})),O2e=p7({container:{[Zw.variable]:"sizes.4",[
|
||
|
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
|
||
|
It is disabled in production builds, so you don't need to worry about that.`)}}}var c5e=function(e){i5e(t,e);function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,a9([void 0],n[0].concat(this)))):new(t.bind.apply(t,a9([void 0],n.concat(this))))},t}(Array);function uO(e){return o0(e)?WY(e,function(){}):e}var f5e="Invariant failed";function g$(e,t){if(!e)throw new Error(f5e+": "+(t||""))}function d5e(e,t,n,r){return JSON.stringify(e,h5e(t,r),n)}function h5e(e,t){var n=[],r=[];return t||(t=function(i,s){return n[0]===s?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(s)).join(".")+"]"}),function(i,s){if(n.length>0){var l=n.indexOf(this);~l?n.splice(l+1):n.push(this),~l?r.splice(l,1/0,i):r.push(i),~n.indexOf(s)&&(s=t.call(this,i,s))}else n.push(s);return e==null?s:e.call(this,i,s)}}function p5e(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function m5e(e,t,n){var r=JY(e,t,n);return{detectMutations:function(){return eq(e,t,r,n)}}}function JY(e,t,n,r){t===void 0&&(t=[]),r===void 0&&(r="");var i={value:n};if(!e(n)){i.children={};for(var s in n){var l=r?r+"."+s:s;t.length&&t.indexOf(l)!==-1||(i.children[s]=JY(e,t,n[s],l))}}return i}function eq(e,t,n,r,i,s){t===void 0&&(t=[]),i===void 0&&(i=!1),s===void 0&&(s="");var l=n?n.value:void 0,f=l===r;if(i&&!f&&!Number.isNaN(r))return{wasMutated:!0,path:s};if(e(l)||e(r))return{wasMutated:!1};var d={};for(var m in n.children)d[m]=!0;for(var m in r)d[m]=!0;for(var m in d){var b=s?s+"."+m:m;if(!(t.length&&t.indexOf(b)!==-1)){var S=eq(e,t,n.children[m],r[m],f,b);if(S.wasMutated)return S}}return{wasMutated:!1}}function v5e(e){e===void 0&&(e={});var t=e.isImmutable,n=t===void 0?p5e:t,r=e.ignoredPaths,i=e.warnAfter,s=i===void 0?32:i,l=e.ignore;r=r||l;var f=m5e.bind(null,n,r);return function(d){var m=d.getState,b=m(),S=f(b),N;return function(w){return function(T){var L=QY(s,"ImmutableStateInvariantMiddleware");L.measureTime(function(){b=m(),N=S.detectMutations(),S=f(b),g$(!N.wasMutated,"A state mutation was detected between dispatches, in the path '"+(N.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var M=w(T);return L.measureTime(function(){b=m(),N=S.detectMutations(),S=f(b),N.wasMutated&&g$(!N.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(N.path||"")+". Take a look at the reducer(s) handling the action "+d5e(T)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),L.warnIfExceeded(),M}}}}function tq(e){var t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||XY(e)}function cO(e,t,n,r,i){t===void 0&&(t=""),n===void 0&&(n=tq),i===void 0&&(i=[]);var s;if(!n(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null)return!1;for(var l=r!=null?r(e):Object.entries(e),f=i.length>0,d=0,m=l;d<m.length;d++){var b=m[d],S=b[0],N=b[1],w=t?t+"."+S:S;if(!(f&&i.indexOf(w)>=0)){if(!n(N))return{keyPath:w,value:N};if(typeof N=="object"&&(s=cO(N,w,n,r,i),s))return s}}return!1}function g5e(e){e===void 0&&(e={});var t=e.isSerializable,n=t===void 0?tq:t,r=e.getEntries,i=e.ignoredActions,s=i===void 0?[]:i,l=e.ignoredActionPaths,f=l===void 0?["meta.arg","meta.baseQueryMeta"]:l,d=e.ignoredPaths,m=d===void 0?[]:d,b=e.warnAfter,S=b===void 0?32:b,N=e.ignoreState,w=N===void 0?!1:N,T=e.ignoreActions,L=T===void 0?!1:T;return function(M){return function(B){return function(F){var z=B(F),H=QY(S,"SerializableStateInvariantMiddleware");return!L&&!(s.length&&s.indexOf(F.type)!==-1)&&H.measureTime(function(){var G=cO(F,"",n,r,f);if(G){var K=G.keyPath,Z=G.value;console.error("A non-seri
|
||
|
Take a look at the logic that dispatched this action: `,F,`
|
||
|
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
||
|
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),w||(H.measureTime(function(){var G=M.getState(),K=cO(G,"",n,r,m);if(K){var Z=K.keyPath,ne=K.value;console.error("A non-serializable value was detected in the state, in the path: `"+Z+"`. Value:",ne,`
|
||
|
Take a look at the reducer(s) handling this action type: `+F.type+`.
|
||
|
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),H.warnIfExceeded()),z}}}}function W8(e){return typeof e=="boolean"}function b5e(){return function(t){return y5e(t)}}function y5e(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,r=e.immutableCheck,i=r===void 0?!0:r,s=e.serializableCheck,l=s===void 0?!0:s,f=new c5e;n&&(W8(n)?f.push(p$):f.push(p$.withExtraArgument(n.extraArgument)));{if(i){var d={};W8(i)||(d=i),f.unshift(v5e(d))}if(l){var m={};W8(l)||(m=l),f.push(g5e(m))}}return f}var S5e=!1;function x5e(e){var t=b5e(),n=e||{},r=n.reducer,i=r===void 0?void 0:r,s=n.middleware,l=s===void 0?t():s,f=n.devTools,d=f===void 0?!0:f,m=n.preloadedState,b=m===void 0?void 0:m,S=n.enhancers,N=S===void 0?void 0:S,w;if(typeof i=="function")w=i;else if(XY(i))w=qY(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var T=l;if(typeof T=="function"&&(T=T(t),!Array.isArray(T)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(T.some(function(z){return typeof z!="function"}))throw new Error("each middleware provided to configureStore must be a function");var L=Xxe.apply(void 0,T),M=n9;d&&(M=u5e(Jw({trace:!S5e},typeof d=="object"&&d)));var B=[L];Array.isArray(N)?B=a9([L],N):typeof N=="function"&&(B=N(B));var F=M.apply(void 0,B);return ZM(w,b,F)}function Hu(e,t){function n(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(t){var s=t.apply(void 0,r);if(!s)throw new Error("prepareAction did not return an object");return Jw(Jw({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:r[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(r){return r.type===e},n}function nq(e){var t={},n=[],r,i={addCase:function(s,l){{if(n.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(r)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}var f=typeof s=="string"?s:s.type;if(f in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[f]=l,i},addMatcher:function(s,l){if(r)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return n.push({matcher:s,reducer:l}),i},addDefaultCase:function(s){if(r)throw new Error("`builder.addDefaultCase` can only be called once");return r=s,i}};return e(i),[t,n,r]}function C5e(e){return typeof e=="function"}function N5e(e,t,n,r){n===void 0&&(n=[]);var i=typeof t=="function"?nq(t):[t,n,r],s=i[0],l=i[1],f=i[2],d;if(C5e(e))d=function(){return uO(e())};else{var m=uO(e);d=function(){return m}}function b(S,N){S===void 0&&(S=d());var w=a9([s[N.type]],l.filter(function(T){var L=T.matcher;return L(N)}).map(function(T){var L=T.reducer;return L}));return w.filter(function(T){return!!T}).length===0&&(w=[f]),w.reduce(function(T,L){if(L)if(Pb(T)){var M=T,B=L(M,N);return B===void 0?T:B}else{if(o0(T))return WY(T,function(F){return L(F,N)});var B=L(T,N);if(B===void 0){if(T===null)return T;throw Error("A case reducer on a non-draftable value must not return undefined")}return B}return T},S)}return b.getInitialState=d,b}function w5e(e,t){return e+"/"+t}function m7(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u"&&e.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");var n=typeof e.initialState=="function"?e.initialState:uO(e.initialState),r=e.reducers||{},i=Object.keys(r),s={},l={},f={};i.forEach(function(b){var S=r[b],N=w5e(t,b),w,T;"reducer"in S?(w=S.reducer,T=S.prepare):w=S,s[b]=w,l[N]=w,f[b]=T?Hu(N,T):Hu(N)});function d(){var b=typeof e.extraReducers=="function"?nq(e.extraReducers):[e.extraReducers],S=b[0],N=S===void 0?{}:S,w=b[1],T=w===void 0?[]:w,L=b[2],M=L===void 0?void 0:L,B=Jw(Jw({},N),l);return
|
||
|
* @license React
|
||
|
* use-sync-external-store-shim.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.
|
||
|
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=O.exports,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(z){{for(var H=arguments.length,G=new Array(H>1?H-1:0),K=1;K<H;K++)G[K-1]=arguments[K];r("error",z,G)}}function r(z,H,G){{var K=t.ReactDebugCurrentFrame,Z=K.getStackAddendum();Z!==""&&(H+="%s",G=G.concat([Z]));var ne=G.map(function(ie){return String(ie)});ne.unshift("Warning: "+H),Function.prototype.apply.call(console[z],console,ne)}}function i(z,H){return z===H&&(z!==0||1/z===1/H)||z!==z&&H!==H}var s=typeof Object.is=="function"?Object.is:i,l=e.useState,f=e.useEffect,d=e.useLayoutEffect,m=e.useDebugValue,b=!1,S=!1;function N(z,H,G){b||e.startTransition!==void 0&&(b=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var K=H();if(!S){var Z=H();s(K,Z)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),S=!0)}var ne=l({inst:{value:K,getSnapshot:H}}),ie=ne[0].inst,le=ne[1];return d(function(){ie.value=K,ie.getSnapshot=H,w(ie)&&le({inst:ie})},[z,K,H]),f(function(){w(ie)&&le({inst:ie});var oe=function(){w(ie)&&le({inst:ie})};return z(oe)},[z]),m(K),K}function w(z){var H=z.getSnapshot,G=z.value;try{var K=H();return!s(G,K)}catch{return!0}}function T(z,H,G){return H()}var L=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",M=!L,B=M?T:N,F=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:B;aq.useSyncExternalStore=F,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=aq})(rq);var iq={exports:{}},oq={};/**
|
||
|
* @license React
|
||
|
* use-sync-external-store-shim/with-selector.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.
|
||
|
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=O.exports,t=rq.exports;function n(b,S){return b===S&&(b!==0||1/b===1/S)||b!==b&&S!==S}var r=typeof Object.is=="function"?Object.is:n,i=t.useSyncExternalStore,s=e.useRef,l=e.useEffect,f=e.useMemo,d=e.useDebugValue;function m(b,S,N,w,T){var L=s(null),M;L.current===null?(M={hasValue:!1,value:null},L.current=M):M=L.current;var B=f(function(){var G=!1,K,Z,ne=function(Ae){if(!G){G=!0,K=Ae;var de=w(Ae);if(T!==void 0&&M.hasValue){var Se=M.value;if(T(Se,de))return Z=Se,Se}return Z=de,de}var Me=K,_e=Z;if(r(Me,Ae))return _e;var J=w(Ae);return T!==void 0&&T(_e,J)?_e:(K=Ae,Z=J,J)},ie=N===void 0?null:N,le=function(){return ne(S())},oe=ie===null?void 0:function(){return ne(ie())};return[le,oe]},[S,N,w,T]),F=B[0],z=B[1],H=i(b,F,z);return l(function(){M.hasValue=!0,M.value=H},[H]),d(H),H}oq.useSyncExternalStoreWithSelector=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=oq})(iq);function _5e(e){e()}let sq=_5e;const E5e=e=>sq=e,T5e=()=>sq,s0=ke.createContext(null);s0.displayName="ReactRedux";function lq(){const e=O.exports.useContext(s0);if(!e)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return e}const R5e=()=>{throw new Error("uSES not initialized!")};let uq=R5e;const k5e=e=>{uq=e},A5e=(e,t)=>e===t;function O5e(e=s0){const t=e===s0?lq:()=>O.exports.useContext(e);return function(r,i=A5e){{if(!r)throw new Error("You must pass a selector to useSelector");if(typeof r!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof i!="function")throw new Error("You must pass a function as an equality function to useSelector")}const{store:s,subscription:l,getServerState:f}=t(),d=uq(l.addNestedSub,s.getState,f||s.getState,r,i);return O.exports.useDebugValue(d),d}}const L5e=O5e();var M5e={exports:{}},Ja={};/**
|
||
|
* @license React
|
||
|
* react-is.development.js
|
||
|
*
|
||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),f=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),T=!1,L=!1,M=!1,B=!1,F=!1,z;z=Symbol.for("react.module.reference");function H(De){return!!(typeof De=="string"||typeof De=="function"||De===n||De===i||F||De===r||De===m||De===b||B||De===w||T||L||M||typeof De=="object"&&De!==null&&(De.$$typeof===N||De.$$typeof===S||De.$$typeof===s||De.$$typeof===l||De.$$typeof===d||De.$$typeof===z||De.getModuleId!==void 0))}function G(De){if(typeof De=="object"&&De!==null){var kt=De.$$typeof;switch(kt){case e:var Zt=De.type;switch(Zt){case n:case i:case r:case m:case b:return Zt;default:var Pt=Zt&&Zt.$$typeof;switch(Pt){case f:case l:case d:case N:case S:case s:return Pt;default:return kt}}case t:return kt}}}var K=l,Z=s,ne=e,ie=d,le=n,oe=N,Ae=S,de=t,Se=i,Me=r,_e=m,J=b,he=!1,ve=!1;function ye(De){return he||(he=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function xe(De){return ve||(ve=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ve(De){return G(De)===l}function Pe(De){return G(De)===s}function Qe(De){return typeof De=="object"&&De!==null&&De.$$typeof===e}function wt(De){return G(De)===d}function Ot(De){return G(De)===n}function Ut(De){return G(De)===N}function ut(De){return G(De)===S}function It(De){return G(De)===t}function Qt(De){return G(De)===i}function pn(De){return G(De)===r}function ht(De){return G(De)===m}function gn(De){return G(De)===b}Ja.ContextConsumer=K,Ja.ContextProvider=Z,Ja.Element=ne,Ja.ForwardRef=ie,Ja.Fragment=le,Ja.Lazy=oe,Ja.Memo=Ae,Ja.Portal=de,Ja.Profiler=Se,Ja.StrictMode=Me,Ja.Suspense=_e,Ja.SuspenseList=J,Ja.isAsyncMode=ye,Ja.isConcurrentMode=xe,Ja.isContextConsumer=Ve,Ja.isContextProvider=Pe,Ja.isElement=Qe,Ja.isForwardRef=wt,Ja.isFragment=Ot,Ja.isLazy=Ut,Ja.isMemo=ut,Ja.isPortal=It,Ja.isProfiler=Qt,Ja.isStrictMode=pn,Ja.isSuspense=ht,Ja.isSuspenseList=gn,Ja.isValidElementType=H,Ja.typeOf=G})();(function(e){e.exports=Ja})(M5e);function D5e(){const e=T5e();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,s=n={callback:r,next:null,prev:n};return s.prev?s.prev.next=s:t=s,function(){!i||t===null||(i=!1,s.next?s.next.prev=s.prev:n=s.prev,s.prev?s.prev.next=s.next:t=s.next)}}}}const b$={notify(){},get:()=>[]};function P5e(e,t){let n,r=b$;function i(S){return d(),r.subscribe(S)}function s(){r.notify()}function l(){b.onStateChange&&b.onStateChange()}function f(){return Boolean(n)}function d(){n||(n=t?t.addNestedSub(l):e.subscribe(l),r=D5e())}function m(){n&&(n(),n=void 0,r.clear(),r=b$)}const b={addNestedSub:i,notifyNestedSubs:s,handleChangeWrapper:l,isSubscribed:f,trySubscribe:d,tryUnsubscribe:m,getListeners:()=>r};return b}const I5e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",F5e=I5e?O.exports.useLayoutEffect:O.exports.useEffect;var z5e="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-redux/es/components/Provider.js";function B5e({store:e,context:t,children:n,serverState:r}){const i=O.exports.useMemo(()=>{const f=P5e(e);return{store:e,subscription:f,getServerState:r?()=>r:void 0}},[e,r]),s=O.exports.useMemo(()=>e.getState(),[e]);return F5e(()=>{const{subscription:f}=i;return f.onStateChange=f.notifyNestedSubs,f.trySubscribe(),s!==e.getState()&&f.notifyNestedSubs(),()=>{f.tryUnsubscribe(),f.onStateChange=void 0}},[i,s]),_((t||s0).Provider,{value:i,children:n},void 0,!1,{fileName:z5e,lineNumber:39,columnNumber:23},this)}function cq(e=s0){const t=e===s0?lq:()=>O.exports
|
||
|
* @license
|
||
|
* Lodash <https://lodash.com/>
|
||
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||
|
* Released under MIT license <https://lodash.com/license>
|
||
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||
|
*/(function(e,t){(function(){var n,r="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",m=500,b="__lodash_placeholder__",S=1,N=2,w=4,T=1,L=2,M=1,B=2,F=4,z=8,H=16,G=32,K=64,Z=128,ne=256,ie=512,le=30,oe="...",Ae=800,de=16,Se=1,Me=2,_e=3,J=1/0,he=9007199254740991,ve=17976931348623157e292,ye=0/0,xe=4294967295,Ve=xe-1,Pe=xe>>>1,Qe=[["ary",Z],["bind",M],["bindKey",B],["curry",z],["curryRight",H],["flip",ie],["partial",G],["partialRight",K],["rearg",ne]],wt="[object Arguments]",Ot="[object Array]",Ut="[object AsyncFunction]",ut="[object Boolean]",It="[object Date]",Qt="[object DOMException]",pn="[object Error]",ht="[object Function]",gn="[object GeneratorFunction]",De="[object Map]",kt="[object Number]",Zt="[object Null]",Pt="[object Object]",un="[object Promise]",fr="[object Proxy]",an="[object RegExp]",Rn="[object Set]",wn="[object String]",Ln="[object Symbol]",St="[object Undefined]",Ft="[object WeakMap]",er="[object WeakSet]",En="[object ArrayBuffer]",Je="[object DataView]",Mn="[object Float32Array]",br="[object Float64Array]",pt="[object Int8Array]",Xe="[object Int16Array]",Bt="[object Int32Array]",We="[object Uint8Array]",Lt="[object Uint8ClampedArray]",Rt="[object Uint16Array]",gt="[object Uint32Array]",_t=/\b__p \+= '';/g,kn=/\b(__p \+=) '' \+/g,Un=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gt=/&(?:amp|lt|gt|quot|#39);/g,rr=/[&<>"']/g,di=RegExp(Gt.source),Yr=RegExp(rr.source),pr=/<%-([\s\S]+?)%>/g,Wi=/<%([\s\S]+?)%>/g,lo=/<%=([\s\S]+?)%>/g,uo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hi=/^\w*$/,yr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ti=/[\\^$.*+?()[\]{}|]/g,Mo=RegExp(ti.source),Do=/^\s+/,ge=/\s/,dt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xt=/\{\n\/\* \[wrapped with (.+)\] \*/,bn=/,? & /,dr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_r=/[()=,{}\[\]\/\s]/,Ht=/\\(\\)?/g,Kn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sr=/\w*$/,kr=/^[-+]0x[0-9a-f]+$/i,hr=/^0b[01]+$/i,Fa=/^\[object .+?Constructor\]$/,Yi=/^0o[0-7]+$/i,Po=/^(?:0|[1-9]\d*)$/,Ra=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gs=/($^)/,pu=/['\n\r\u2028\u2029\\]/g,co="\\ud800-\\udfff",Rl="\\u0300-\\u036f",bs="\\ufe20-\\ufe2f",Zn="\\u20d0-\\u20ff",Io=Rl+bs+Zn,qi="\\u2700-\\u27bf",kl="a-z\\xdf-\\xf6\\xf8-\\xff",Al="\\xac\\xb1\\xd7\\xf7",nl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ni="\\u2000-\\u206f",rl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ol="A-Z\\xc0-\\xd6\\xd8-\\xde",Ll="\\ufe0e\\ufe0f",mu=Al+nl+ni+rl,ju="['\u2019]",Vu="["+co+"]",Fo="["+mu+"]",ri="["+Io+"]",fo="\\d+",ai="["+qi+"]",Di="["+kl+"]",Ml="[^"+co+mu+fo+qi+kl+Ol+"]",Dl="\\ud83c[\\udffb-\\udfff]",Ms="(?:"+ri+"|"+Dl+")",Pl="[^"+co+"]",ho="(?:\\ud83c[\\udde6-\\uddff]){2}",Wa="[\\ud800-\\udbff][\\udc00-\\udfff]",wi="["+Ol+"]",ka="\\u200d",Gu="(?:"+Di+"|"+Ml+")",gr="(?:"+wi+"|"+Ml+")",zo="(?:"+ju+"(?:d|ll|m|re|s|t|ve))?",Il="(?:"+ju+"(?:D|LL|M|RE|S|T|VE))?",Xn=Ms+"?",Wu="["+Ll+"]?",qr="(?:"+ka+"(?:"+[Pl,ho,Wa].join("|")+")"+Wu+Xn+")*",ts="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",po="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ys=Wu+Xn+qr,ga="(?:"+[ai,ho,Wa].join("|")+")"+ys,oa="(?:"+[Pl+ri+"?",ri,ho,Wa,Vu].join("|")+")",Ds=RegExp(ju,"g"),_i=RegExp(ri,"g"),Kr=RegExp(Dl+"(?="+Dl+")|"+oa+ys,"g"),ii=RegExp([wi+"?"+Di+"+"+zo+"(?="+[Fo,wi,"$"].join("|")+")",gr+"+"+Il+"(?="+[Fo,wi+Gu,"$"].join("|")+")",wi+"?"+Gu+"+"+zo,wi+"+"+Il,po,ts,fo,ga].join("|"),"g"),yf=RegExp("["+ka+co+Io+Ll+"]"),Ps=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ss=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],vu
|
||
|
/* [wrapped with `+g+`] */
|
||
|
`)}function Bl(p){return lr(p)||qc(p)||!!(ud&&p&&p[ud])}function $l(p,g){var R=typeof p;return g=g??he,!!g&&(R=="number"||R!="symbol"&&Po.test(p))&&p>-1&&p%1==0&&p<g}function Ri(p,g,R){if(!Oa(R))return!1;var I=typeof g;return(I=="number"?ki(R)&&$l(g,R.length):I=="string"&&g in R)?jl(R[g],p):!1}function _h(p,g){if(lr(p))return!1;var R=typeof p;return R=="number"||R=="symbol"||R=="boolean"||p==null||Or(p)?!0:hi.test(p)||!uo.test(p)||g!=null&&p in sa(g)}function em(p){var g=typeof p;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?p!=="__proto__":p===null}function Gv(p){var g=Fs(p),R=Q[g];if(typeof R!="function"||!(g in Rr.prototype))return!1;if(p===R)return!0;var I=Ru(R);return!!I&&p===I[0]}function tm(p){return!!ty&&ty in p}var W0=Op?Lu:L1;function Eh(p){var g=p&&p.constructor,R=typeof g=="function"&&g.prototype||Cf;return p===R}function vy(p){return p===p&&!Oa(p)}function Y0(p,g){return function(R){return R==null?!1:R[p]===g&&(g!==n||p in sa(R))}}function gy(p){var g=Hl(p,function(I){return R.size===m&&R.clear(),I}),R=g.cache;return g}function q0(p,g){var R=p[1],I=g[1],Y=R|I,te=Y<(M|B|Z),me=I==Z&&R==z||I==Z&&R==ne&&p[7].length<=g[8]||I==(Z|ne)&&g[7].length<=g[8]&&R==z;if(!(te||me))return p;I&M&&(p[2]=g[2],Y|=R&M?0:F);var fe=g[3];if(fe){var Re=p[3];p[3]=Re?Yp(Re,fe,g[4]):fe,p[4]=Re?ld(p[3],b):g[4]}return fe=g[5],fe&&(Re=p[5],p[5]=Re?$0(Re,fe,g[6]):fe,p[6]=Re?ld(p[5],b):g[6]),fe=g[7],fe&&(p[7]=fe),I&Z&&(p[8]=p[8]==null?g[8]:Zi(p[8],g[8])),p[9]==null&&(p[9]=g[9]),p[0]=g[0],p[1]=Y,p}function LC(p){var g=[];if(p!=null)for(var R in sa(p))g.push(R);return g}function by(p){return Av.call(p)}function jc(p,g,R){return g=Ei(g===n?p.length-1:g,0),function(){for(var I=arguments,Y=-1,te=Ei(I.length-g,0),me=Be(te);++Y<te;)me[Y]=I[g+Y];Y=-1;for(var fe=Be(g+1);++Y<g;)fe[Y]=I[Y];return fe[g]=R(me),mn(p,this,fe)}}function wa(p,g){return g.length<2?p:is(p,ba(g,0,-1))}function gl(p,g){for(var R=p.length,I=Zi(g.length,R),Y=Vo(p);I--;){var te=g[I];p[I]=$l(te,R)?Y[te]:n}return p}function Au(p,g){if(!(g==="constructor"&&typeof p[g]=="function")&&g!="__proto__")return p[g]}var nm=Cs(eo),Vc=Su||function(p,g){return Jt.setTimeout(p,g)},Gc=Cs(ir);function Sx(p,g,R){var I=g+"";return Gc(p,OC(I,Wv(Jp(I),R)))}function Cs(p){var g=0,R=0;return function(){var I=ry(),Y=de-(I-R);if(R=I,Y>0){if(++g>=Ae)return arguments[0]}else g=0;return p.apply(n,arguments)}}function K0(p,g){var R=-1,I=p.length,Y=I-1;for(g=g===n?I:g;++R<g;){var te=Cu(R,Y),me=p[te];p[te]=p[R],p[R]=me}return p.length=g,p}var rm=gy(function(p){var g=[];return p.charCodeAt(0)===46&&g.push(""),p.replace(yr,function(R,I,Y,te){g.push(Y?te.replace(Ht,"$1"):I||R)}),g});function zs(p){if(typeof p=="string"||Or(p))return p;var g=p+"";return g=="0"&&1/p==-J?"-0":g}function Ed(p){if(p!=null){try{return Rv.call(p)}catch{}try{return p+""}catch{}}return""}function Wv(p,g){return In(Qe,function(R){var I="_."+R[0];g&R[1]&&!qu(p,I)&&p.push(I)}),p.sort()}function Z0(p){if(p instanceof Rr)return p.clone();var g=new Dr(p.__wrapped__,p.__chain__);return g.__actions__=Vo(p.__actions__),g.__index__=p.__index__,g.__values__=p.__values__,g}function Th(p,g,R){(R?Ri(p,g,R):g===n)?g=1:g=Ei(jn(g),0);var I=p==null?0:p.length;if(!I||g<1)return[];for(var Y=0,te=0,me=Be($o(I/g));Y<I;)me[te++]=ba(p,Y,Y+=g);return me}function X0(p){for(var g=-1,R=p==null?0:p.length,I=0,Y=[];++g<R;){var te=p[g];te&&(Y[I++]=te)}return Y}function Q0(){var p=arguments.length;if(!p)return[];for(var g=Be(p-1),R=arguments[0],I=p;I--;)g[I-1]=arguments[I];return il(lr(R)?Vo(R):[R],as(g,1))}var Rh=Jn(function(p,g){return Aa(p)?Ti(p,as(g,1,Aa,!0)):[]}),am=Jn(function(p,g){var R=yl(g);return Aa(R)&&(R=n),Aa(p)?Ti(p,as(g,1,Aa,!0),Tn(R,2)):[]}),bl=Jn(function(p,g){var R=yl(g);return Aa(R)&&(R=n),Aa(p)?Ti(p,as(g,1,Aa,!0),n,R):[]});function Wc(p,g,R){var I=p==null?0:p.length;return I?(g=R||g===n?1:jn(g),ba(p,g<0?0:g,I)):[]}function Yv(p,g,R){var I=p==null?0:p.length;return I?(g=R||g===n?1:jn(g),g=I-g,ba(p,0,g<0?0:g)):[]}function yy(p,g){return p&&p.length?hl(p,Tn(g,3),!0,!0):[]}function MC(p,g){return p&&p.length?hl(p,Tn(g,3),!0):[]}function J0(p,
|
||
|
`;p.replace(jt,function(Pn,Er,Fr,ws,Ka,Vs){return Fr||(Fr=ws),bt+=p.slice(at,Vs).replace(pu,Xb),Er&&(fe=!0,bt+=`' +
|
||
|
__e(`+Er+`) +
|
||
|
'`),Ka&&(Re=!0,bt+=`';
|
||
|
`+Ka+`;
|
||
|
__p += '`),Fr&&(bt+=`' +
|
||
|
((__t = (`+Fr+`)) == null ? '' : __t) +
|
||
|
'`),at=Vs+Pn.length,Pn}),bt+=`';
|
||
|
`;var Vn=ua.call(g,"variable")&&g.variable;if(!Vn)bt=`with (obj) {
|
||
|
`+bt+`
|
||
|
}
|
||
|
`;else if(_r.test(Vn))throw new On(f);bt=(Re?bt.replace(_t,""):bt).replace(kn,"$1").replace(Un,"$1;"),bt="function("+(Vn||"obj")+`) {
|
||
|
`+(Vn?"":`obj || (obj = {});
|
||
|
`)+"var __t, __p = ''"+(fe?", __e = _.escape":"")+(Re?`, __j = Array.prototype.join;
|
||
|
function print() { __p += __j.call(arguments, '') }
|
||
|
`:`;
|
||
|
`)+bt+`return __p
|
||
|
}`;var xr=jx(function(){return Tr(te,fn+"return "+bt).apply(n,me)});if(xr.source=bt,Ad(xr))throw xr;return xr}function c2(p){return Ir(p).toLowerCase()}function xg(p){return Ir(p).toUpperCase()}function XC(p,g,R){if(p=Ir(p),p&&(R||g===n))return sl(p);if(!p||!(g=Ba(g)))return p;var I=bu(p),Y=bu(g),te=Rp(I,Y),me=Zb(I,Y)+1;return Hc(I,te,me).join("")}function f2(p,g,R){if(p=Ir(p),p&&(R||g===n))return p.slice(0,Jb(p)+1);if(!p||!(g=Ba(g)))return p;var I=bu(p),Y=Zb(I,bu(g))+1;return Hc(I,0,Y).join("")}function Ux(p,g,R){if(p=Ir(p),p&&(R||g===n))return p.replace(Do,"");if(!p||!(g=Ba(g)))return p;var I=bu(p),Y=Rp(I,bu(g));return Hc(I,Y).join("")}function Hx(p,g){var R=le,I=oe;if(Oa(g)){var Y="separator"in g?g.separator:Y;R="length"in g?jn(g.length):R,I="omission"in g?Ba(g.omission):I}p=Ir(p);var te=p.length;if(sd(p)){var me=bu(p);te=me.length}if(R>=te)return p;var fe=R-xf(I);if(fe<1)return I;var Re=me?Hc(me,0,fe).join(""):p.slice(0,fe);if(Y===n)return Re+I;if(me&&(fe+=Re.length-fe),vm(Y)){if(p.slice(fe).search(Y)){var at,st=Re;for(Y.global||(Y=ul(Y.source,Ir(sr.exec(Y))+"g")),Y.lastIndex=0;at=Y.exec(st);)var bt=at.index;Re=Re.slice(0,bt===n?fe:bt)}}else if(p.indexOf(Ba(Y),fe)!=fe){var jt=Re.lastIndexOf(Y);jt>-1&&(Re=Re.slice(0,jt))}return Re+I}function d2(p){return p=Ir(p),p&&di.test(p)?p.replace(Gt,tx):p}var QC=Cd(function(p,g,R){return p+(R?" ":"")+g.toUpperCase()}),Cg=U0("toUpperCase");function T1(p,g,R){return p=Ir(p),g=R?n:g,g===n?Qb(p)?ey(p):qb(p):p.match(g)||[]}var jx=Jn(function(p,g){try{return mn(p,n,g)}catch(R){return Ad(R)?R:new On(R)}}),JC=gi(function(p,g){return In(g,function(R){R=zs(R),fl(p,R,Ff(p[R],p))}),p});function R1(p){var g=p==null?0:p.length,R=Tn();return p=g?Ur(p,function(I){if(typeof I[1]!="function")throw new Bo(l);return[R(I[0]),I[1]]}):[],Jn(function(I){for(var Y=-1;++Y<g;){var te=p[Y];if(mn(te[0],this,I))return mn(te[1],this,I)}})}function e4(p){return rc(rs(p,S))}function h2(p){return function(){return p}}function t4(p,g){return p==null||p!==p?g:p}var Vx=vx(),p2=vx(!0);function Cl(p){return p}function m2(p){return fx(typeof p=="function"?p:rs(p,S))}function n4(p){return dy(rs(p,S))}function Gx(p,g){return hy(p,rs(g,S))}var r4=Jn(function(p,g){return function(R){return zv(R,p,g)}}),v2=Jn(function(p,g){return function(R){return zv(p,R,g)}});function k1(p,g,R){var I=Wo(g),Y=dl(g,I);R==null&&!(Oa(g)&&(Y.length||!I.length))&&(R=g,g=p,p=this,Y=dl(g,Wo(g)));var te=!(Oa(R)&&"chain"in R)||!!R.chain,me=Lu(p);return In(Y,function(fe){var Re=g[fe];p[fe]=Re,me&&(p.prototype[fe]=function(){var at=this.__chain__;if(te||at){var st=p(this.__wrapped__),bt=st.__actions__=Vo(this.__actions__);return bt.push({func:Re,args:arguments,thisArg:p}),st.__chain__=at,st}return Re.apply(p,il([this.value()],arguments))})}),p}function a4(){return Jt._===this&&(Jt._=ny),this}function A1(){}function Wx(p){return p=jn(p),Jn(function(g){return hx(g,p)})}var O1=V0(Ur),i4=V0(al),Ng=V0(Yb);function Pd(p){return _h(p)?Cv(zs(p)):Pr(p)}function Wl(p){return function(g){return p==null?n:is(p,g)}}var o4=yo(),g2=yo(!0);function b2(){return[]}function L1(){return!1}function Qc(){return{}}function Yx(){return""}function qx(){return!0}function Nm(p,g){if(p=jn(p),p<1||p>he)return[];var R=xe,I=Zi(p,xe);g=Tn(g),p-=xe;for(var Y=y0(I,g);++R<p;)g(R);return Y}function wg(p){return lr(p)?Ur(p,zs):Or(p)?[p]:Vo(rm(Ir(p)))}function M1(p){var g=++kv;return Ir(p)+g}var D1=j0(function(p,g){return p+g},0),Kx=Of("ceil"),_g=j0(function(p,g){return p/g},1),us=Of("floor");function s4(p){return p&&p.length?ac(p,Cl,Ho):n}function Zx(p,g){return p&&p.length?ac(p,Tn(g,2),Ho):n}function l4(p){return XS(p,Cl)}function Xx(p,g){return XS(p,Tn(g,2))}function Qx(p){return p&&p.length?ac(p,Cl,cy):n}function Jx(p,g){return p&&p.length?ac(p,Tn(g,2),cy):n}var y2=j0(function(p,g){return p*g},1),u4=Of("round"),Eg=j0(function(p,g){return p-g},0);function P1(p){return p&&p.length?Tp(p,Cl):0}function wm(p,g){return p&&p.length?Tp(p,Tn(g,2)):0}return Q.after=Py,Q.ary=Zr,Q.assign=Hs,Q.assignIn=Bf,Q.assignInWith=dc,Q.assignWith=hc,Q.at=S1,Q.before=Wt,Q.bind=Ff,Q.bindAll=JC,Q.bindKey=Iy,
|
||
|
`),n=+this.fontSize(),r=0,i=this.lineHeight()*n,s=this.attrs.width,l=this.attrs.height,f=s!==c3&&s!==void 0,d=l!==c3&&l!==void 0,m=this.padding(),b=s-m*2,S=l-m*2,N=0,w=this.wrap(),T=w!==UU,L=w!==XTe&&T,M=this.ellipsis();this.textArr=[],kk().font=this._getContextFont();for(var B=M?this._getTextWidth(Rk):0,F=0,z=t.length;F<z;++F){var H=t[F],G=this._getTextWidth(H);if(f&&G>b)for(;H.length>0;){for(var K=0,Z=H.length,ne="",ie=0;K<Z;){var le=K+Z>>>1,oe=H.slice(0,le+1),Ae=this._getTextWidth(oe)+B;Ae<=b?(K=le+1,ne=oe,ie=Ae):Z=le}if(ne){if(L){var de,Se=H[ne.length],Me=Se===DT||Se===BU;Me&&ie<=b?de=ne.length:de=Math.max(ne.lastIndexOf(DT),ne.lastIndexOf(BU))+1,de>0&&(K=de,ne=ne.slice(0,K),ie=this._getTextWidth(ne))}ne=ne.trimRight(),this._addTextLine(ne),r=Math.max(r,ie),N+=i;var _e=this._shouldHandleEllipsis(N);if(_e){this._tryToAddEllipsisToLastLine();break}if(H=H.slice(K),H=H.trimLeft(),H.length>0&&(G=this._getTextWidth(H),G<=b)){this._addTextLine(H),N+=i,r=Math.max(r,G);break}}else break}else this._addTextLine(H),N+=i,r=Math.max(r,G),this._shouldHandleEllipsis(N)&&F<z-1&&this._tryToAddEllipsisToLastLine();if(d&&N+i>S)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=n,this.textWidth=r}_shouldHandleEllipsis(t){var n=+this.fontSize(),r=this.lineHeight()*n,i=this.attrs.height,s=i!==c3&&i!==void 0,l=this.padding(),f=i-l*2,d=this.wrap(),m=d!==UU;return!m||s&&t+r>f}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,n=t!==c3&&t!==void 0,r=this.padding(),i=t-r*2,s=this.ellipsis(),l=this.textArr[this.textArr.length-1];if(!(!l||!s)){if(n){var f=this._getTextWidth(l.text+Rk)<i;f||(l.text=l.text.slice(0,l.text.length-3))}this.textArr.splice(this.textArr.length-1,1),this._addTextLine(l.text+Rk)}}getStrokeScaleEnabled(){return!0}}Oo.prototype._fillFunc=e6e;Oo.prototype._strokeFunc=t6e;Oo.prototype.className=GTe;Oo.prototype._attrsAffectingSize=["text","fontSize","padding","wrap","lineHeight","letterSpacing"];Lo(Oo);be.overWriteSetter(Oo,"width",kD());be.overWriteSetter(Oo,"height",kD());be.addGetterSetter(Oo,"fontFamily","Arial");be.addGetterSetter(Oo,"fontSize",12,$t());be.addGetterSetter(Oo,"fontStyle",uZ);be.addGetterSetter(Oo,"fontVariant",uZ);be.addGetterSetter(Oo,"padding",0,$t());be.addGetterSetter(Oo,"align",lZ);be.addGetterSetter(Oo,"verticalAlign",WTe);be.addGetterSetter(Oo,"lineHeight",1,$t());be.addGetterSetter(Oo,"wrap",ZTe);be.addGetterSetter(Oo,"ellipsis",!1,_p());be.addGetterSetter(Oo,"letterSpacing",0,$t());be.addGetterSetter(Oo,"text","",gC());be.addGetterSetter(Oo,"textDecoration","");var r6e="",fZ="normal";function dZ(e){e.fillText(this.partialText,0,0)}function hZ(e){e.strokeText(this.partialText,0,0)}class tl extends Dt{constructor(t){super(t),this.dummyCanvas=He.createCanvasElement(),this.dataArray=[],this.dataArray=ci.parsePathData(this.attrs.data),this.on("dataChange.konva",function(){this.dataArray=ci.parsePathData(this.attrs.data),this._setTextData()}),this.on("textChange.konva alignChange.konva letterSpacingChange.konva kerningFuncChange.konva fontSizeChange.konva fontFamilyChange.konva",this._setTextData),this._setTextData()}_sceneFunc(t){t.setAttr("font",this._getContextFont()),t.setAttr("textBaseline",this.textBaseline()),t.setAttr("textAlign","left"),t.save();var n=this.textDecoration(),r=this.fill(),i=this.fontSize(),s=this.glyphInfo;n==="underline"&&t.beginPath();for(var l=0;l<s.length;l++){t.save();var f=s[l].p0;t.translate(f.x,f.y),t.rotate(s[l].rotation),this.partialText=s[l].text,t.fillStrokeShape(this),n==="underline"&&(l===0&&t.moveTo(0,i/2+1),t.lineTo(i,i/2+1)),t.restore()}n==="underline"&&(t.strokeStyle=r,t.lineWidth=i/20,t.stroke()),t.restore()}_hitFunc(t){t.beginPath();var n=this.glyphInfo;if(n.length>=1){var r=n[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i<n.length;i++){var s=n[i].p1;t.lineTo(s.x,s.y)}t.setAttr("lineWidth",this.fontSize()),t.setAttr("strokeStyle",this.colorKey),t.stroke()}getTextWidth(){return this.textWidth}getTextHeight(){return He.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height a
|
||
|
* @license React
|
||
|
* react-reconciler.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.
|
||
|
*/gZ.exports=function(t){var n={},r=O.exports,i=w3.exports,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function f(u){l=u}function d(u){if(!l){for(var c=arguments.length,y=new Array(c>1?c-1:0),C=1;C<c;C++)y[C-1]=arguments[C];b("warn",u,y)}}function m(u){if(!l){for(var c=arguments.length,y=new Array(c>1?c-1:0),C=1;C<c;C++)y[C-1]=arguments[C];b("error",u,y)}}function b(u,c,y){{var C=s.ReactDebugCurrentFrame,E=C.getStackAddendum();E!==""&&(c+="%s",y=y.concat([E]));var D=y.map(function(V){return String(V)});D.unshift("Warning: "+c),Function.prototype.apply.call(console[u],console,D)}}var S=Object.assign;function N(u){return u._reactInternals}function w(u,c){u._reactInternals=c}var T=!1,L=!1,M=!1,B=!1,F=!1,z=!0,H=!0,G=!0,K=0,Z=1,ne=2,ie=3,le=4,oe=5,Ae=6,de=7,Se=8,Me=9,_e=10,J=11,he=12,ve=13,ye=14,xe=15,Ve=16,Pe=17,Qe=18,wt=19,Ot=21,Ut=22,ut=23,It=24,Qt=25,pn=Symbol.for("react.element"),ht=Symbol.for("react.portal"),gn=Symbol.for("react.fragment"),De=Symbol.for("react.strict_mode"),kt=Symbol.for("react.profiler"),Zt=Symbol.for("react.provider"),Pt=Symbol.for("react.context"),un=Symbol.for("react.forward_ref"),fr=Symbol.for("react.suspense"),an=Symbol.for("react.suspense_list"),Rn=Symbol.for("react.memo"),wn=Symbol.for("react.lazy"),Ln=Symbol.for("react.scope"),St=Symbol.for("react.debug_trace_mode"),Ft=Symbol.for("react.offscreen"),er=Symbol.for("react.legacy_hidden"),En=Symbol.for("react.cache"),Je=Symbol.for("react.tracing_marker"),Mn=Symbol.iterator,br="@@iterator";function pt(u){if(u===null||typeof u!="object")return null;var c=Mn&&u[Mn]||u[br];return typeof c=="function"?c:null}function Xe(u,c,y){var C=u.displayName;if(C)return C;var E=c.displayName||c.name||"";return E!==""?y+"("+E+")":y}function Bt(u){return u.displayName||"Context"}function We(u){if(u==null)return null;if(typeof u.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case gn:return"Fragment";case ht:return"Portal";case kt:return"Profiler";case De:return"StrictMode";case fr:return"Suspense";case an:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case Pt:var c=u;return Bt(c)+".Consumer";case Zt:var y=u;return Bt(y._context)+".Provider";case un:return Xe(u,u.render,"ForwardRef");case Rn:var C=u.displayName||null;return C!==null?C:We(u.type)||"Memo";case wn:{var E=u,D=E._payload,V=E._init;try{return We(V(D))}catch{return null}}}return null}function Lt(u,c,y){var C=c.displayName||c.name||"";return u.displayName||(C!==""?y+"("+C+")":y)}function Rt(u){return u.displayName||"Context"}function gt(u){var c=u.tag,y=u.type;switch(c){case It:return"Cache";case Me:var C=y;return Rt(C)+".Consumer";case _e:var E=y;return Rt(E._context)+".Provider";case Qe:return"DehydratedFragment";case J:return Lt(y,y.render,"ForwardRef");case de:return"Fragment";case oe:return y;case le:return"Portal";case ie:return"Root";case Ae:return"Text";case Ve:return We(y);case Se:return y===De?"StrictMode":"Mode";case Ut:return"Offscreen";case he:return"Profiler";case Ot:return"Scope";case ve:return"Suspense";case wt:return"SuspenseList";case Qt:return"TracingMarker";case Z:case K:case Pe:case ne:case ye:case xe:if(typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;break}return null}var _t=0,kn=1,Un=2,Gt=4,rr=16,di=32,Yr=64,pr=128,Wi=256,lo=512,uo=1024,hi=2048,yr=4096,ti=8192,Mo=16384,Do=hi|Gt|Yr|lo|uo|Mo,ge=32767,dt=32768,xt=65536,bn=131072,dr=1048576,_r=2097152,Ht=4194304,Kn=8388608,sr=16777216,kr=33554432,hr=Gt|uo|0,Fa=Un|Gt|rr|di|lo|yr|ti,Yi=Gt|Yr|lo|ti,Po=hi|rr,Ra=Ht|Kn|_r,gs=s.ReactCurrentOwner;function pu(u){var c=u,y=u;if(u.alternate)for(;c.return;)c=c.return;else{var C=c;do c=C,(c.flags&(Un|yr))!==_t&&(y=c.return),C=c.return;while(C)}return c.tag===ie?y:null}function co(u){return pu(u)===u}function Rl(u){{var c=gs.current;if(c!==null&&c.tag===Z){var y=c,C=y.stateNode;C._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render()
|
||
|
`+Qb+u}}var wv=!1,_v;{var ld=typeof WeakMap=="function"?WeakMap:Map;_v=new ld}function hh(u,c){if(!u||wv)return"";{var y=_v.get(u);if(y!==void 0)return y}var C;wv=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var D;D=sd.current,sd.current=null,Xb();try{if(c){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(ft){C=ft}Reflect.construct(u,[],V)}else{try{V.call()}catch(ft){C=ft}u.call(V.prototype)}}else{try{throw Error()}catch(ft){C=ft}u()}}catch(ft){if(ft&&C&&typeof ft.stack=="string"){for(var q=ft.stack.split(`
|
||
|
`),ee=C.stack.split(`
|
||
|
`),pe=q.length-1,Ce=ee.length-1;pe>=1&&Ce>=0&&q[pe]!==ee[Ce];)Ce--;for(;pe>=1&&Ce>=0;pe--,Ce--)if(q[pe]!==ee[Ce]){if(pe!==1||Ce!==1)do if(pe--,Ce--,Ce<0||q[pe]!==ee[Ce]){var Ie=`
|
||
|
`+q[pe].replace(" at new "," at ");return u.displayName&&Ie.includes("<anonymous>")&&(Ie=Ie.replace("<anonymous>",u.displayName)),typeof u=="function"&&_v.set(u,Ie),Ie}while(pe>=1&&Ce>=0);break}}}finally{wv=!1,sd.current=D,NC(),Error.prepareStackTrace=E}var Ye=u?u.displayName||u.name:"",lt=Ye?Sf(Ye):"";return typeof u=="function"&&_v.set(u,lt),lt}function Ap(u,c,y){return hh(u,!0)}function Ev(u,c,y){return hh(u,!1)}function ex(u){var c=u.prototype;return!!(c&&c.isReactComponent)}function xf(u,c,y){if(u==null)return"";if(typeof u=="function")return hh(u,ex(u));if(typeof u=="string")return Sf(u);switch(u){case fr:return Sf("Suspense");case an:return Sf("SuspenseList")}if(typeof u=="object")switch(u.$$typeof){case un:return Ev(u.render);case Rn:return xf(u.type,c,y);case wn:{var C=u,E=C._payload,D=C._init;try{return xf(D(E),c,y)}catch{}}}return""}var bu=Object.prototype.hasOwnProperty,Jb={},tx=s.ReactDebugCurrentFrame;function S0(u){if(u){var c=u._owner,y=xf(u.type,u._source,c?c.type:null);tx.setExtraStackFrame(y)}else tx.setExtraStackFrame(null)}function Ku(u,c,y,C,E){{var D=Function.call.bind(bu);for(var V in u)if(D(u,V)){var q=void 0;try{if(typeof u[V]!="function"){var ee=Error((C||"React class")+": "+y+" type `"+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[V]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ee.name="Invariant Violation",ee}q=u[V](c,V,C,y,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){q=pe}q&&!(q instanceof Error)&&(S0(E),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",y,V,typeof q),S0(null)),q instanceof Error&&!(q.message in Jb)&&(Jb[q.message]=!0,S0(E),m("Failed %s type: %s",y,q.message),S0(null))}}}var ey=[],x0;x0=[];var ll=-1;function Ee(u){return{current:u}}function Ke(u,c){if(ll<0){m("Unexpected pop.");return}c!==x0[ll]&&m("Unexpected Fiber popped."),u.current=ey[ll],ey[ll]=null,x0[ll]=null,ll--}function Be(u,c,y){ll++,ey[ll]=u.current,x0[ll]=y,u.current=c}var ln;ln={};var On={};Object.freeze(On);var Tr=Ee(On),Ca=Ee(!1),sa=On;function ul(u,c,y){return y&&Mc(c)?sa:Tr.current}function Tv(u,c,y){{var C=u.stateNode;C.__reactInternalMemoizedUnmaskedChildContext=c,C.__reactInternalMemoizedMaskedChildContext=y}}function Bo(u,c){{var y=u.type,C=y.contextTypes;if(!C)return On;var E=u.stateNode;if(E&&E.__reactInternalMemoizedUnmaskedChildContext===c)return E.__reactInternalMemoizedMaskedChildContext;var D={};for(var V in C)D[V]=c[V];{var q=gt(u)||"Unknown";Ku(C,D,"context",q)}return E&&Tv(u,c,D),D}}function yu(){return Ca.current}function Mc(u){{var c=u.childContextTypes;return c!=null}}function Cf(u){Ke(Ca,u),Ke(Tr,u)}function Op(u){Ke(Ca,u),Ke(Tr,u)}function Rv(u,c,y){{if(Tr.current!==On)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Be(Tr,c,u),Be(Ca,y,u)}}function ua(u,c,y){{var C=u.stateNode,E=c.childContextTypes;if(typeof C.getChildContext!="function"){{var D=gt(u)||"Unknown";ln[D]||(ln[D]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",D,D))}return y}var V=C.getChildContext();for(var q in V)if(!(q in E))throw new Error((gt(u)||"Unknown")+'.getChildContext(): key "'+q+'" is not defined in childContextTypes.');{var ee=gt(u)||"Unknown";Ku(E,V,"child context",ee)}return S({},y,V)}}function kv(u){{var c=u.stateNode,y=c&&c.__reactInternalMemoizedMergedChildContext||On;return sa=Tr.current,Be(Tr,y,u),Be(Ca,Ca.current,u),!0}}function ty(u,c,y){{var C=u.stateNode;if(!C)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(y){var E=ua(u,c,sa);C.__
|
||
|
Error generating stack: `+C.message+`
|
||
|
`+C.stack}}var Nd=s.ReactDebugCurrentFrame,zn=null,Lf=!1;function yx(){{if(zn===null)return null;var u=zn._debugOwner;if(u!==null&&typeof u<"u")return gt(u)}return null}function F_(){return zn===null?"":Is(zn)}function gi(){Nd.getCurrentStack=null,zn=null,Lf=!1}function Ya(u){Nd.getCurrentStack=u===null?null:F_,zn=u,Lf=!1}function Nh(){return zn}function Ru(u){Lf=u}var Fs={recordUnsafeLifecycleWarnings:function(u,c){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(u,c){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Xp=function(u){for(var c=null,y=u;y!==null;)y.mode&pi&&(c=y),y=y.return;return c},Tn=function(u){var c=[];return u.forEach(function(y){c.push(y)}),c.sort().join(", ")},wd=[],_d=[],ku=[],Qp=[],So=[],vl=[],fa=new Set;Fs.recordUnsafeLifecycleWarnings=function(u,c){fa.has(u.type)||(typeof c.componentWillMount=="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0&&wd.push(u),u.mode&pi&&typeof c.UNSAFE_componentWillMount=="function"&&_d.push(u),typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ku.push(u),u.mode&pi&&typeof c.UNSAFE_componentWillReceiveProps=="function"&&Qp.push(u),typeof c.componentWillUpdate=="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0&&So.push(u),u.mode&pi&&typeof c.UNSAFE_componentWillUpdate=="function"&&vl.push(u))},Fs.flushPendingUnsafeLifecycleWarnings=function(){var u=new Set;wd.length>0&&(wd.forEach(function(Ye){u.add(gt(Ye)||"Component"),fa.add(Ye.type)}),wd=[]);var c=new Set;_d.length>0&&(_d.forEach(function(Ye){c.add(gt(Ye)||"Component"),fa.add(Ye.type)}),_d=[]);var y=new Set;ku.length>0&&(ku.forEach(function(Ye){y.add(gt(Ye)||"Component"),fa.add(Ye.type)}),ku=[]);var C=new Set;Qp.length>0&&(Qp.forEach(function(Ye){C.add(gt(Ye)||"Component"),fa.add(Ye.type)}),Qp=[]);var E=new Set;So.length>0&&(So.forEach(function(Ye){E.add(gt(Ye)||"Component"),fa.add(Ye.type)}),So=[]);var D=new Set;if(vl.length>0&&(vl.forEach(function(Ye){D.add(gt(Ye)||"Component"),fa.add(Ye.type)}),vl=[]),c.size>0){var V=Tn(c);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
||
|
|
||
|
Please update the following components: %s`,V)}if(C.size>0){var q=Tn(C);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move data fetching code or side effects to componentDidUpdate.
|
||
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
||
|
|
||
|
Please update the following components: %s`,q)}if(D.size>0){var ee=Tn(D);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move data fetching code or side effects to componentDidUpdate.
|
||
|
|
||
|
Please update the following components: %s`,ee)}if(u.size>0){var pe=Tn(u);d(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
||
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
||
|
|
||
|
Please update the following components: %s`,pe)}if(y.size>0){var Ce=Tn(y);d(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move data fetching code or side effects to componentDidUpdate.
|
||
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
||
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
||
|
|
||
|
Please update the following components: %s`,Ce)}if(E.size>0){var Ie=Tn(E);d(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
||
|
|
||
|
* Move data fetching code or side effects to componentDidUpdate.
|
||
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
||
|
|
||
|
Please update the following components: %s`,Ie)}};var wh=new Map,Jp=new Set;Fs.recordLegacyContextWarning=function(u,c){var y=Xp(u);if(y===null){m("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!Jp.has(u.type)){var C=wh.get(y);(u.type.contextTypes!=null||u.type.childContextTypes!=null||c!==null&&typeof c.getChildContext=="function")&&(C===void 0&&(C=[],wh.set(y,C)),C.push(u))}},Fs.flushLegacyContextWarning=function(){wh.forEach(function(u,c){if(u.length!==0){var y=u[0],C=new Set;u.forEach(function(D){C.add(gt(D)||"Component"),Jp.add(D.type)});var E=Tn(C);try{Ya(y),m(`Legacy context API has been detected within a strict-mode tree.
|
||
|
|
||
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
||
|
|
||
|
Please update the following components: %s
|
||
|
|
||
|
Learn more about this warning here: https://reactjs.org/link/legacy-context`,E)}finally{gi()}}})},Fs.discardPendingWarnings=function(){wd=[],_d=[],ku=[],Qp=[],So=[],vl=[],wh=new Map}}function zl(u){{var c=typeof Symbol=="function"&&Symbol.toStringTag,y=c&&u[Symbol.toStringTag]||u.constructor.name||"Object";return y}}function xo(u){try{return G0(u),!1}catch{return!0}}function G0(u){return""+u}function AC(u){if(xo(u))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",zl(u)),G0(u)}function OC(u,c){if(xo(u))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",c,zl(u)),G0(u)}function Bl(u,c){if(u&&u.defaultProps){var y=S({},c),C=u.defaultProps;for(var E in C)y[E]===void 0&&(y[E]=C[E]);return y}return c}var $l=Ee(null),Ri;Ri={};var _h=null,em=null,Gv=null,tm=!1;function W0(){_h=null,em=null,Gv=null,tm=!1}function Eh(){tm=!0}function vy(){tm=!1}function Y0(u,c,y){Pl?(Be($l,c._currentValue,u),c._currentValue=y,c._currentRenderer!==void 0&&c._currentRenderer!==null&&c._currentRenderer!==Ri&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),c._currentRenderer=Ri):(Be($l,c._currentValue2,u),c._currentValue2=y,c._currentRenderer2!==void 0&&c._currentRenderer2!==null&&c._currentRenderer2!==Ri&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),c._currentRenderer2=Ri)}function gy(u,c){var y=$l.current;Ke($l,c),Pl?u._currentValue=y:u._currentValue2=y}function q0(u,c,y){for(var C=u;C!==null;){var E=C.alternate;if(gd(C.childLanes,c)?E!==null&&!gd(E.childLanes,c)&&(E.childLanes=_n(E.childLanes,c)):(C.childLanes=_n(C.childLanes,c),E!==null&&(E.childLanes=_n(E.childLanes,c))),C===y)break;C=C.return}C!==y&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function LC(u,c,y){by(u,c,y)}function by(u,c,y){var C=u.child;for(C!==null&&(C.return=u);C!==null;){var E=void 0,D=C.dependencies;if(D!==null){E=C.child;for(var V=D.firstContext;V!==null;){if(V.context===c){if(C.tag===Z){var q=vh(y),ee=bl(Dr,q);ee.tag=Wv;var pe=C.updateQueue;if(pe!==null){var Ce=pe.shared,Ie=Ce.pending;Ie===null?ee.next=ee:(ee.next=Ie.next,Ie.next=ee),Ce.pending=ee}}C.lanes=_n(C.lanes,y);var Ye=C.alternate;Ye!==null&&(Ye.lanes=_n(Ye.lanes,y)),q0(C.return,y,u),D.lanes=_n(D.lanes,y);break}V=V.next}}else if(C.tag===_e)E=C.type===u.type?null:C.child;else if(C.tag===Qe){var lt=C.return;if(lt===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");lt.lanes=_n(lt.lanes,y);var ft=lt.alternate;ft!==null&&(ft.lanes=_n(ft.lanes,y)),q0(lt,y,u),E=C.sibling}else E=C.child;if(E!==null)E.return=C;else for(E=C;E!==null;){if(E===u){E=null;break}var ct=E.sibling;if(ct!==null){ct.return=E.return,E=ct;break}E=E.return}C=E}}function jc(u,c){_h=u,em=null,Gv=null;var y=u.dependencies;if(y!==null){var C=y.firstContext;C!==null&&(vo(y.lanes,c)&&Ng(),y.firstContext=null)}}function wa(u){tm&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var c=Pl?u._currentValue:u._currentValue2;if(Gv!==u){var y={context:u,memoizedValue:c,next:null};if(em===null){if(_h===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");em=y,_h.dependencies={lanes:yt,firstContext:y}}else em=em.next=y}return c}var gl=null;function Au(u){gl===null?gl=[u]:gl.push(u)}function nm(){if(gl!==null){for(var u=0;u<gl.length;u++){var c=gl[u],y=c.interleaved;if(y!==null){c.interleaved=null;var C=y.next,E=c
|
||
|
|
||
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
||
|
|
||
|
The above lifecycles should be removed. Learn more about this warning here:
|
||
|
https://reactjs.org/link/unsafe-component-lifecycles`,Cn,nr,lt!==null?`
|
||
|
`+lt:"",ft!==null?`
|
||
|
`+ft:"",ct!==null?`
|
||
|
`+ct:""))}}}return C&&Tv(u,E,D),Ce}function Qv(u,c){var y=c.state;typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),y!==c.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",gt(u)||"Component"),im.enqueueReplaceState(c,c.state,null))}function Cx(u,c,y,C){var E=c.state;if(typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(y,C),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(y,C),c.state!==E){{var D=gt(u)||"Component";e1.has(D)||(e1.add(D),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",D))}im.enqueueReplaceState(c,c.state,null)}}function Jv(u,c,y,C){Ul(u,c,y);var E=u.stateNode;E.props=y,E.state=u.memoizedState,E.refs=Sy,Rh(u);var D=c.contextType;if(typeof D=="object"&&D!==null)E.context=wa(D);else{var V=ul(u,c,!0);E.context=Bo(u,V)}{if(E.state===y){var q=We(c)||"Component";yl.has(q)||(yl.add(q),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",q))}u.mode&pi&&Fs.recordLegacyContextWarning(u,E),Fs.recordUnsafeLifecycleWarnings(u,E)}E.state=u.memoizedState;var ee=c.getDerivedStateFromProps;if(typeof ee=="function"&&(Ah(u,c,ee,y),E.state=u.memoizedState),typeof c.getDerivedStateFromProps!="function"&&typeof E.getSnapshotBeforeUpdate!="function"&&(typeof E.UNSAFE_componentWillMount=="function"||typeof E.componentWillMount=="function")&&(Qv(u,E),J0(u,y,E,C),E.state=u.memoizedState),typeof E.componentDidMount=="function"){var pe=Gt;pe|=Ht,(u.mode&Zu)!==tr&&(pe|=sr),u.flags|=pe}}function Ty(u,c,y,C){var E=u.stateNode,D=u.memoizedProps;E.props=D;var V=E.context,q=c.contextType,ee=On;if(typeof q=="object"&&q!==null)ee=wa(q);else{var pe=ul(u,c,!0);ee=Bo(u,pe)}var Ce=c.getDerivedStateFromProps,Ie=typeof Ce=="function"||typeof E.getSnapshotBeforeUpdate=="function";!Ie&&(typeof E.UNSAFE_componentWillReceiveProps=="function"||typeof E.componentWillReceiveProps=="function")&&(D!==y||V!==ee)&&Cx(u,E,y,ee),qv();var Ye=u.memoizedState,lt=E.state=Ye;if(J0(u,y,E,C),lt=u.memoizedState,D===y&&Ye===lt&&!yu()&&!Kv()){if(typeof E.componentDidMount=="function"){var ft=Gt;ft|=Ht,(u.mode&Zu)!==tr&&(ft|=sr),u.flags|=ft}return!1}typeof Ce=="function"&&(Ah(u,c,Ce,y),lt=u.memoizedState);var ct=Kv()||Ey(u,c,D,y,Ye,lt,ee);if(ct){if(!Ie&&(typeof E.UNSAFE_componentWillMount=="function"||typeof E.componentWillMount=="function")&&(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"){var Cn=Gt;Cn|=Ht,(u.mode&Zu)!==tr&&(Cn|=sr),u.flags|=Cn}}else{if(typeof E.componentDidMount=="function"){var nr=Gt;nr|=Ht,(u.mode&Zu)!==tr&&(nr|=sr),u.flags|=nr}u.memoizedProps=y,u.memoizedState=lt}return E.props=y,E.state=lt,E.context=ee,ct}function eg(u,c,y,C,E){var D=c.stateNode;am(u,c);var V=c.memoizedProps,q=c.type===c.elementType?V:Bl(c.type,V);D.props=q;var ee=c.pendingProps,pe=D.context,Ce=y.contextType,Ie=On;if(typeof Ce=="object"&&Ce!==null)Ie=wa(Ce);else{var Ye=ul(c,y,!0);Ie=Bo(c,Ye)}var lt=y.getDerivedStateFromProps,ft=typeof lt=="function"||typeof D.getSnapshotBeforeUpdate=="function";!ft&&(typeof D.UNSAFE_componentWillReceiveProps=="function"||typeof D.componentWillReceiveProps=="function")&&(V!==ee||pe!==Ie)&&Cx(c,D,C,Ie),qv();var ct=c.memoizedState,Cn=D.state=ct;if(J0(c,C,D,E),Cn=c.memoizedState,V===ee&&ct===Cn&&!yu()&&!Kv()&&!L)return typeof D.componentDidUpdate=="function"&&(V!==u.memoizedProps||ct!==u.memoizedState)&&(c.flags|=Gt),typeof D.getSnapshotBeforeUpdate=="function"&&(V!==u.memoizedProps||ct!==u.memoizedState)&&(c.flags|=uo),!1;typeof lt=="function"&&(Ah(c,y,lt,C),Cn=c.memoizedState);var nr=Kv()||Ey(c,y,q,C,ct,Cn,Ie)||L;return nr?(!ft&&(typeof D.UNSAFE_compo
|
||
|
1. You may be adding a ref to a function component
|
||
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
||
|
3. You have multiple copies of React loaded
|
||
|
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return C}function a1(u,c){var y=Object.prototype.toString.call(c);throw new Error("Objects are not valid as a React child (found: "+(y==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":y)+"). If you meant to render a collection of children, use an array instead.")}function i1(u){{var c=gt(u)||"Component";if(Ay[c])return;Ay[c]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function wx(u){var c=u._payload,y=u._init;return y(c)}function _x(u){function c(Ue,rt){if(!!u){var $e=Ue.deletions;$e===null?(Ue.deletions=[rt],Ue.flags|=rr):$e.push(rt)}}function y(Ue,rt){if(!u)return null;for(var $e=rt;$e!==null;)c(Ue,$e),$e=$e.sibling;return null}function C(Ue,rt){for(var $e=new Map,zt=rt;zt!==null;)zt.key!==null?$e.set(zt.key,zt):$e.set(zt.index,zt),zt=zt.sibling;return $e}function E(Ue,rt){var $e=ip(Ue,rt);return $e.index=0,$e.sibling=null,$e}function D(Ue,rt,$e){if(Ue.index=$e,!u)return Ue.flags|=dr,rt;var zt=Ue.alternate;if(zt!==null){var vn=zt.index;return vn<rt?(Ue.flags|=Un,rt):vn}else return Ue.flags|=Un,rt}function V(Ue){return u&&Ue.alternate===null&&(Ue.flags|=Un),Ue}function q(Ue,rt,$e,zt){if(rt===null||rt.tag!==Ae){var vn=E5($e,Ue.mode,zt);return vn.return=Ue,vn}else{var on=E(rt,$e);return on.return=Ue,on}}function ee(Ue,rt,$e,zt){var vn=$e.type;if(vn===gn)return Ce(Ue,rt,$e.props.children,zt,$e.key);if(rt!==null&&(rt.elementType===vn||rn(rt,$e)||typeof vn=="object"&&vn!==null&&vn.$$typeof===wn&&wx(vn)===rt.type)){var on=E(rt,$e.props);return on.ref=Lh(Ue,rt,$e),on.return=Ue,on._debugSource=$e._source,on._debugOwner=$e._owner,on}var Gr=V4($e,Ue.mode,zt);return Gr.ref=Lh(Ue,rt,$e),Gr.return=Ue,Gr}function pe(Ue,rt,$e,zt){if(rt===null||rt.tag!==le||rt.stateNode.containerInfo!==$e.containerInfo||rt.stateNode.implementation!==$e.implementation){var vn=T5($e,Ue.mode,zt);return vn.return=Ue,vn}else{var on=E(rt,$e.children||[]);return on.return=Ue,on}}function Ce(Ue,rt,$e,zt,vn){if(rt===null||rt.tag!==de){var on=Ui($e,Ue.mode,zt,vn);return on.return=Ue,on}else{var Gr=E(rt,$e);return Gr.return=Ue,Gr}}function Ie(Ue,rt,$e){if(typeof rt=="string"&&rt!==""||typeof rt=="number"){var zt=E5(""+rt,Ue.mode,$e);return zt.return=Ue,zt}if(typeof rt=="object"&&rt!==null){switch(rt.$$typeof){case pn:{var vn=V4(rt,Ue.mode,$e);return vn.ref=Lh(Ue,null,rt),vn.return=Ue,vn}case ht:{var on=T5(rt,Ue.mode,$e);return on.return=Ue,on}case wn:{var Gr=rt._payload,ur=rt._init;return Ie(Ue,ur(Gr),$e)}}if(ni(rt)||pt(rt)){var aa=Ui(rt,Ue.mode,$e,null);return aa.return=Ue,aa}a1(Ue,rt)}return typeof rt=="function"&&i1(Ue),null}function Ye(Ue,rt,$e,zt){var vn=rt!==null?rt.key:null;if(typeof $e=="string"&&$e!==""||typeof $e=="number")return vn!==null?null:q(Ue,rt,""+$e,zt);if(typeof $e=="object"&&$e!==null){switch($e.$$typeof){case pn:return $e.key===vn?ee(Ue,rt,$e,zt):null;case ht:return $e.key===vn?pe(Ue,rt,$e,zt):null;case wn:{var on=$e._payload,Gr=$e._init;return Ye(Ue,rt,Gr(on),zt)}}if(ni($e)||pt($e))return vn!==null?null:Ce(Ue,rt,$e,zt,null);a1(Ue,$e)}return typeof $e=="function"&&i1(Ue),null}function lt(Ue,rt,$e,zt,vn){if(typeof zt=="string"&&zt!==""||typeof zt=="number"){var on=Ue.get($e)||null;return q(rt,on,""+zt,vn)}if(typeof zt=="object"&&zt!==null){switch(zt.$$typeof){case pn:{var Gr=Ue.get(zt.key===null?$e:zt.key)||null;return ee(rt,Gr,zt,vn)}case ht:{var ur=Ue.get(zt.key===null?$e:zt.key)||null;return pe(rt,ur,zt,vn)}case wn:var aa=zt._payload,Lr=zt._init;return lt(Ue,rt,$e,Lr(aa),vn)}if(ni(zt)||pt(zt)){var $a=Ue.get($e)||null;return Ce(rt,$a,zt,vn,null)}a1(rt,zt)}return typeof zt=="function"&&i1(rt),null}function ft(Ue,rt,$e){{if(typeof Ue!="object"||Ue===null)return rt;switch(Ue.$$typeof){case pn:case ht:Nx(Ue,$e);var zt=Ue.key;if(typeof zt!="string")break;if(rt===null){rt=new Set,rt.add(zt);break}if(!rt.has(zt)){rt.add(zt);break}m("Encountered two children with the same key, `%s`. Keys should be unique
|
||
|
`,y+=q}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
||
|
|
||
|
Previous render Next render
|
||
|
------------------------------------------------------
|
||
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
`,c,y)}}}function os(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
||
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
||
|
2. You might be breaking the Rules of Hooks
|
||
|
3. You might have more than one copy of React in the same app
|
||
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function f1(u,c){if(Py)return!1;if(c===null)return m("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",it),!1;u.length!==c.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
||
|
|
||
|
Previous: %s
|
||
|
Incoming: %s`,it,"["+c.join(", ")+"]","["+u.join(", ")+"]");for(var y=0;y<c.length&&y<u.length;y++)if(!Jn(u[y],c[y]))return!1;return!0}function Fh(u,c,y,C,E,D){Ih=D,da=c,Ou=u!==null?u._debugHookTypes:null,Sl=-1,Py=u!==null&&u.type!==c.type,c.memoizedState=null,c.updateQueue=null,c.lanes=yt,u!==null&&u.memoizedState!==null?nn.current=jh:Ou!==null?nn.current=y1:nn.current=Ky;var V=y(C,E);if(hm){var q=0;do{if(hm=!1,If=0,q>=zC)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");q+=1,Py=!1,to=null,wo=null,c.updateQueue=null,Sl=-1,nn.current=Kc,V=y(C,E)}while(hm)}nn.current=dg,c._debugHookTypes=Ou;var ee=to!==null&&to.next!==null;if(Ih=yt,da=null,to=null,wo=null,it=null,Ou=null,Sl=-1,u!==null&&(u.flags&Ra)!==(c.flags&Ra)&&(u.mode&Ar)!==tr&&m("Internal React error: Expected static flag was missing. Please notify the React team."),c1=!1,ee)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return V}function pm(){var u=If!==0;return If=0,u}function kx(u,c,y){c.updateQueue=u.updateQueue,(c.mode&Zu)!==tr?c.flags&=~(kr|sr|hi|Gt):c.flags&=~(hi|Gt),u.lanes=gh(u.lanes,y)}function Ax(){if(nn.current=dg,c1){for(var u=da.memoizedState;u!==null;){var c=u.queue;c!==null&&(c.pending=null),u=u.next}c1=!1}Ih=yt,da=null,to=null,wo=null,Ou=null,Sl=-1,it=null,Uh=!1,hm=!1,If=0}function Hl(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wo===null?da.memoizedState=wo=u:wo=wo.next=u,wo}function $s(){var u;if(to===null){var c=da.alternate;c!==null?u=c.memoizedState:u=null}else u=to.next;var y;if(wo===null?y=da.memoizedState:y=wo.next,y!==null)wo=y,y=wo.next,to=u;else{if(u===null)throw new Error("Rendered more hooks than during the previous render.");to=u;var C={memoizedState:to.memoizedState,baseState:to.baseState,baseQueue:to.baseQueue,queue:to.queue,next:null};wo===null?da.memoizedState=wo=C:wo=wo.next=C}return wo}function Ox(){return{lastEffect:null,stores:null}}function Fy(u,c){return typeof c=="function"?c(u):c}function ss(u,c,y){var C=Hl(),E;y!==void 0?E=y(c):E=c,C.memoizedState=C.baseState=E;var D={pending:null,interleaved:null,lanes:yt,dispatch:null,lastRenderedReducer:u,lastRenderedState:E};C.queue=D;var V=D.dispatch=qy.bind(null,da,D);return[C.memoizedState,V]}function kd(u,c,y){var C=$s(),E=C.queue;if(E===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");E.lastRenderedReducer=u;var D=to,V=D.baseQueue,q=E.pending;if(q!==null){if(V!==null){var ee=V.next,pe=q.next;V.next=pe,q.next=ee}D.baseQueue!==V&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),D.baseQueue=V=q,E.pending=null}if(V!==null){var Ce=V.next,Ie=D.baseState,Ye=null,lt=null,ft=null,ct=Ce;do{var Cn=ct.lane;if(gd(Ih,Cn)){if(ft!==null){var Et={lane:oi,action:ct.action,hasEagerState:ct.hasEagerState,eagerState:ct.eagerState,next:null};ft=ft.next=Et}if(ct.hasEagerState)Ie=ct.eagerState;else{var jr=ct.action;Ie=u(Ie,jr)}}else{var nr={lane:Cn,action:ct.action,hasEagerState:ct.hasEagerState,eagerState:ct.eagerState,next:null};ft===null?(lt=ft=nr,Ye=Ie):ft=ft.next=nr,da.lanes=_n(da.lanes,Cn),k2(Cn)}ct=ct.next}while(ct!==null&&ct!==Ce);ft===null?Ye=Ie:ft.next=lt,Jn(Ie,C.memoizedState)||Ng(),C.memoizedState=Ie,C.baseState=Ye,C.baseQueue=ft,E.lastRenderedState=Ie}var Vr=E.interleaved;if(Vr!==null){var Ue=Vr;do{var rt=Ue.lane;da.lanes=_n(da.lanes,rt),k2(rt),Ue=Ue.next}while(Ue!==Vr)}else V===null&&(E.lanes=yt);var $e=E.dispatch;return[C.memoizedState,$e]}function d1(u,c,y){var C=$s(),E=C.queue;if(E===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");E.lastRenderedReducer=u;var D=E.dispatch,V=E.pending,q=C.memoizedState;if(V!==null){E.pending=null;var ee=V.next,pe=ee;do{var Ce=pe.action;q=u(q,Ce),pe=pe.next}while(pe!==ee);Jn(q,C.memoizedState)||Ng(),C.memoizedState=q,C.baseQueue===null&&(C.baseState=q),E.lastRenderedState=q}return[q,D]}function z_(u,c,y){}function BC(u,c,y){}function zy(u,c,y){var C=da,E=H
|
||
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var Ce=gt(u)||"Anonymous";pe="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+Ce+".")}var Ie=ee+`
|
||
|
`+V+`
|
||
|
|
||
|
`+(""+pe);console.error(Ie)}catch(Ye){setTimeout(function(){throw Ye})}}var $C=typeof WeakMap=="function"?WeakMap:Map;function Fx(u,c,y){var C=bl(Dr,y);C.tag=Z0,C.payload={element:null};var E=c.value;return C.callback=function(){Z7(E),Ns(u,c)},C}function Jy(u,c,y){var C=bl(Dr,y);C.tag=Z0;var E=u.type.getDerivedStateFromError;if(typeof E=="function"){var D=c.value;C.payload=function(){return E(D)},C.callback=function(){Z1(u),Ns(u,c)}}var V=u.stateNode;return V!==null&&typeof V.componentDidCatch=="function"&&(C.callback=function(){Z1(u),Ns(u,c),typeof E!="function"&&eE(this);var ee=c.value,pe=c.stack;this.componentDidCatch(ee,{componentStack:pe!==null?pe:""}),typeof E!="function"&&(vo(u.lanes,Wn)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",gt(u)||"Unknown"))}),C}function e2(u,c,y){var C=u.pingCache,E;if(C===null?(C=u.pingCache=new $C,E=new Set,C.set(c,E)):(E=C.get(c),E===void 0&&(E=new Set,C.set(c,E))),!E.has(y)){E.add(y);var D=O2.bind(null,u,c,y);Na&&Fg(u,y),c.then(D,D)}}function UC(u,c,y,C){var E=u.updateQueue;if(E===null){var D=new Set;D.add(y),u.updateQueue=D}else E.add(y)}function HC(u,c){var y=u.tag;if((u.mode&Ar)===tr&&(y===K||y===J||y===xe)){var C=u.alternate;C?(u.updateQueue=C.updateQueue,u.memoizedState=C.memoizedState,u.lanes=C.lanes):(u.updateQueue=null,u.memoizedState=null)}}function zx(u){var c=u;do{if(c.tag===ve&&Rx(c))return c;c=c.return}while(c!==null);return null}function t2(u,c,y,C,E){if((u.mode&Ar)===tr){if(u===c)u.flags|=xt;else{if(u.flags|=pr,y.flags|=bn,y.flags&=~(Do|dt),y.tag===Z){var D=y.alternate;if(D===null)y.tag=Pe;else{var V=bl(Dr,Wn);V.tag=Wv,Wc(y,V,Wn)}}y.lanes=_n(y.lanes,Wn)}return u}return u.flags|=xt,u.lanes=E,u}function n2(u,c,y,C,E){if(y.flags|=dt,Na&&Fg(u,E),C!==null&&typeof C=="object"&&typeof C.then=="function"){var D=C;HC(y),yo()&&y.mode&Ar&&$0();var V=zx(c);if(V!==null){V.flags&=~Wi,t2(V,c,y,u,E),V.mode&Ar&&e2(u,D,E),UC(V,u,D);return}else{if(!Ef(E)){e2(u,D,E),A2();return}var q=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");C=q}}else if(yo()&&y.mode&Ar){$0();var ee=zx(c);if(ee!==null){(ee.flags&xt)===_t&&(ee.flags|=Wi),t2(ee,c,y,u,E),Ch(Vh(C,y));return}}C=Vh(C,y),Y7(C);var pe=c;do{switch(pe.tag){case ie:{var Ce=C;pe.flags|=xt;var Ie=vh(E);pe.lanes=_n(pe.lanes,Ie);var Ye=Fx(pe,Ce,Ie);yy(pe,Ye);return}case Z:var lt=C,ft=pe.type,ct=pe.stateNode;if((pe.flags&pr)===_t&&(typeof ft.getDerivedStateFromError=="function"||ct!==null&&typeof ct.componentDidCatch=="function"&&!Ig(ct))){pe.flags|=xt;var Cn=vh(E);pe.lanes=_n(pe.lanes,Cn);var nr=Jy(pe,lt,Cn);yy(pe,nr);return}break}pe=pe.return}while(pe!==null)}function r2(){return null}var Gh=s.ReactCurrentOwner,xl=!1,w1,$f,Wh,a2,_1,Mu,i2,vg;w1={},$f={},Wh={},a2={},_1={},Mu=!1,i2={},vg={};function js(u,c,y,C){u===null?c.child=Oy(c,null,y,C):c.child=lm(c,u.child,y,C)}function jC(u,c,y,C){c.child=lm(c,u.child,null,C),c.child=lm(c,null,y,C)}function o2(u,c,y,C,E){if(c.type!==c.elementType){var D=y.propTypes;D&&Ku(D,C,"prop",We(y))}var V=y.render,q=c.ref,ee,pe;jc(c,E),Up(c);{if(Gh.current=c,Ru(!0),ee=Fh(u,c,V,C,q,E),pe=pm(),c.mode&pi){vi(!0);try{ee=Fh(u,c,V,C,q,E),pe=pm()}finally{vi(!1)}}Ru(!1)}return Hp(),u!==null&&!xl?(kx(u,c,E),Wl(u,c,E)):(yo()&&pe&&_u(c),c.flags|=kn,js(u,c,ee,E),c.child)}function xm(u,c,y,C,E){if(u===null){var D=y.type;if(af(D)&&y.compare===null&&y.defaultProps===void 0){var V=D;return V=Dm(D),c.tag=xe,c.type=V,u2(c,D),Cm(u,c,V,C,E)}{var q=D.propTypes;q&&Ku(q,C,"prop",We(D))}var ee=Im(y.type,null,C,c,c.mode,E);return ee.ref=c.ref,ee.return=c,c.child=ee,ee}{var pe=y.type,Ce=pe.propTypes;Ce&&Ku(Ce,C,"prop",We(pe))}var Ie=u.child,Ye=g2(u,E);if(!Ye){var lt=Ie.memoizedProps,ft=y.compare;if(ft=ft!==null?ft:uc,ft(lt,C)&&u.ref===c.ref)return Wl(u,c,E)}c.flags|=kn;var ct=ip(Ie,C);return ct.ref=c.ref,ct.return=c,c.child=ct,ct}function Cm(u,c,y,C,E){if(c.type!==c.elementType){va
|
||
|
|
||
|
Check the render method of \``+C+"`.");var E=C||"",D=u._debugSource;D&&(E=D.fileName+":"+D.lineNumber),_1[E]||(_1[E]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",y))}if(typeof c.getDerivedStateFromProps=="function"){var V=We(c)||"Unknown";a2[V]||(m("%s: Function components do not support getDerivedStateFromProps.",V),a2[V]=!0)}if(typeof c.contextType=="object"&&c.contextType!==null){var q=We(c)||"Unknown";Wh[q]||(m("%s: Function components do not support contextType.",q),Wh[q]=!0)}}}var c2={dehydrated:null,treeContext:null,retryLane:oi};function xg(u){return{baseLanes:u,cachePool:r2(),transitions:null}}function XC(u,c){var y=null;return{baseLanes:_n(u.baseLanes,c),cachePool:y,transitions:u.transitions}}function f2(u,c,y,C){if(c!==null){var E=c.memoizedState;if(E===null)return!1}return l1(u,rg)}function Ux(u,c){return gh(u.childLanes,c)}function Hx(u,c,y){var C=c.pendingProps;$2(c)&&(c.flags|=pr);var E=fc.current,D=!1,V=(c.flags&pr)!==_t;if(V||f2(E,u)?(D=!0,c.flags&=~pr):(u===null||u.memoizedState!==null)&&(E=FC(E,Tx)),E=Rd(E),Df(c,E),u===null){Cd(c);var q=c.memoizedState;if(q!==null){var ee=q.dehydrated;if(ee!==null)return h2(c,ee)}var pe=C.children,Ce=C.fallback;if(D){var Ie=QC(c,pe,Ce,y),Ye=c.child;return Ye.memoizedState=xg(y),c.memoizedState=c2,Ie}else return d2(c,pe)}else{var lt=u.memoizedState;if(lt!==null){var ft=lt.dehydrated;if(ft!==null)return t4(u,c,V,C,ft,lt,y)}if(D){var ct=C.fallback,Cn=C.children,nr=JC(u,c,Cn,ct,y),Et=c.child,jr=u.child.memoizedState;return Et.memoizedState=jr===null?xg(y):XC(jr,y),Et.childLanes=Ux(u,y),c.memoizedState=c2,nr}else{var Vr=C.children,Ue=jx(u,c,Vr,y);return c.memoizedState=null,Ue}}}function d2(u,c,y){var C=u.mode,E={mode:"visible",children:c},D=Cg(E,C);return D.return=u,u.child=D,D}function QC(u,c,y,C){var E=u.mode,D=u.child,V={mode:"hidden",children:c},q,ee;return(E&Ar)===tr&&D!==null?(q=D,q.childLanes=yt,q.pendingProps=V,u.mode&Mr&&(q.actualDuration=0,q.actualStartTime=-1,q.selfBaseDuration=0,q.treeBaseDuration=0),ee=Ui(y,E,C,null)):(q=Cg(V,E),ee=Ui(y,E,C,null)),q.return=u,ee.return=u,q.sibling=ee,u.child=q,ee}function Cg(u,c,y){return W4(u,c,yt,null)}function T1(u,c){return ip(u,c)}function jx(u,c,y,C){var E=u.child,D=E.sibling,V=T1(E,{mode:"visible",children:y});if((c.mode&Ar)===tr&&(V.lanes=C),V.return=c,V.sibling=null,D!==null){var q=c.deletions;q===null?(c.deletions=[D],c.flags|=rr):q.push(D)}return c.child=V,V}function JC(u,c,y,C,E){var D=c.mode,V=u.child,q=V.sibling,ee={mode:"hidden",children:y},pe;if((D&Ar)===tr&&c.child!==V){var Ce=c.child;pe=Ce,pe.childLanes=yt,pe.pendingProps=ee,c.mode&Mr&&(pe.actualDuration=0,pe.actualStartTime=-1,pe.selfBaseDuration=V.selfBaseDuration,pe.treeBaseDuration=V.treeBaseDuration),c.deletions=null}else pe=T1(V,ee),pe.subtreeFlags=V.subtreeFlags&Ra;var Ie;return q!==null?Ie=ip(q,C):(Ie=Ui(C,D,E,null),Ie.flags|=Un),Ie.return=c,pe.return=c,pe.sibling=Ie,c.child=pe,Ie}function R1(u,c,y,C){C!==null&&Ch(C),lm(c,u.child,null,y);var E=c.pendingProps,D=E.children,V=d2(c,D);return V.flags|=Un,c.memoizedState=null,V}function e4(u,c,y,C,E){var D=c.mode,V={mode:"visible",children:y},q=Cg(V,D),ee=Ui(C,D,E,null);return ee.flags|=Un,q.return=c,ee.return=c,q.sibling=ee,c.child=q,(c.mode&Ar)!==tr&&lm(c,u.child,null,E),ee}function h2(u,c,y){return(u.mode&Ar)===tr?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),u.lanes=Wn):xn(c)?u.lanes=Su:u.lanes=Xi,null}function t4(u,c,y,C,E,D,V){if(y)if(c.flags&Wi){c.flags&=~Wi;var Ue=Sm(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return R1(u,c,V,Ue)}else{if(c.memoizedState!==null)return c.child=u.child,c.flags|=pr,null;var rt=C.children,$e=C.fallback,zt=e4(u,c,rt,$e,V),vn=c.child;return vn.memoizedState=xg(V),c.memoizedState=c2,zt}else{if(Yp(),(c.mode&Ar)===tr)return R1(u,c,V,null);if(xn(E)){var
|
||
|
|
||
|
It looks like you wrote `+ee+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
||
|
|
||
|
`+ee+`(() => {
|
||
|
async function fetchData() {
|
||
|
// You can await here
|
||
|
const response = await MyAPI.getData(someId);
|
||
|
// ...
|
||
|
}
|
||
|
fetchData();
|
||
|
}, [someId]); // Or [] if effect doesn't need props or state
|
||
|
|
||
|
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:pe=" You returned: "+q,m("%s must not return anything besides a function, which is used for clean-up.%s",ee,pe)}}}D=D.next}while(D!==E)}}function cs(u,c){if((c.flags&Gt)!==_t)switch(c.tag){case he:{var y=c.stateNode.passiveEffectDuration,C=c.memoizedProps,E=C.id,D=C.onPostCommit,V=bm(),q=c.alternate===null?"mount":"update";Md()&&(q="nested-update"),typeof D=="function"&&D(E,q,y,V);var ee=c.return;e:for(;ee!==null;){switch(ee.tag){case ie:var pe=ee.stateNode;pe.passiveEffectDuration+=y;break e;case he:var Ce=ee.stateNode;Ce.passiveEffectDuration+=y;break e}ee=ee.return}break}}}function Nl(u,c,y,C){if((y.flags&Yi)!==_t)switch(y.tag){case K:case J:case xe:{if(!te)if(y.mode&Mr)try{Gl(),bi(No|Co,y)}finally{Xc(y)}else bi(No|Co,y);break}case Z:{var E=y.stateNode;if(y.flags&Gt&&!te)if(c===null)if(y.type===y.elementType&&!Mu&&(E.props!==y.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",gt(y)||"instance"),E.state!==y.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",gt(y)||"instance")),y.mode&Mr)try{Gl(),E.componentDidMount()}finally{Xc(y)}else E.componentDidMount();else{var D=y.elementType===y.type?c.memoizedProps:Bl(y.type,c.memoizedProps),V=c.memoizedState;if(y.type===y.elementType&&!Mu&&(E.props!==y.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",gt(y)||"instance"),E.state!==y.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",gt(y)||"instance")),y.mode&Mr)try{Gl(),E.componentDidUpdate(D,V,E.__reactInternalSnapshotBeforeUpdate)}finally{Xc(y)}else E.componentDidUpdate(D,V,E.__reactInternalSnapshotBeforeUpdate)}var q=y.updateQueue;q!==null&&(y.type===y.elementType&&!Mu&&(E.props!==y.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",gt(y)||"instance"),E.state!==y.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",gt(y)||"instance")),Zv(y,q,E));break}case ie:{var ee=y.updateQueue;if(ee!==null){var pe=null;if(y.child!==null)switch(y.child.tag){case oe:pe=rl(y.child.stateNode);break;case Z:pe=y.child.stateNode;break}Zv(y,ee,pe)}break}case oe:{var Ce=y.stateNode;if(c===null&&y.flags&Gt){var Ie=y.type,Ye=y.memoizedProps;Ps(Ce,Ie,Ye,y)}break}case Ae:break;case le:break;case he:{{var lt=y.memoizedProps,ft=lt.onCommit,ct=lt.onRender,Cn=y.stateNode.effectDuration,nr=bm(),Et=c===null?"mount":"update";Md()&&(Et="nested-update"),typeof ct=="function"&&ct(y.memoizedProps.id,Et,y.actualDuration,y.treeBaseDuration,y.actualStartTime,nr);{typeof ft=="function"&&ft(y.memoizedProps.id,Et,Cn,nr),Q_(y);var jr=y.return;e:for(;jr!==null;){switch(jr.tag){case ie:var Vr=jr.stateNode;Vr.effectDuration+=Cn;break e;case he:var Ue=jr.stateNode;Ue.effectDuration+=Cn;break e}jr=jr.return}}}break}case ve:{n5(u,y);break}case wt:case Pe:case Ot:case Ut:case ut:case Qt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}te||y.flags&lo&&Id(y)}function c4(u){switch(u.tag){case K:case J:case xe:{if(u.mode&Mr)try{Gl(),jt(u,u.return)}finally{Xc(u)}else jt(u,u.return);break}case Z:{var c=u.stateNode;typeo
|
||
|
`+(" "+E.join(" > ")+`
|
||
|
|
||
|
`)+`No matching component was found for:
|
||
|
`+(" "+Ie.join(" > "))}return null}function b4(u,c){if(!qr)throw new Error("Test selector API is not supported by this renderer.");for(var y=B1(u,c),C=[],E=0;E<y.length;E++)C.push(po(y[E]));for(var D=C.length-1;D>0;D--)for(var V=C[D],q=V.x,ee=q+V.width,pe=V.y,Ce=pe+V.height,Ie=D-1;Ie>=0;Ie--)if(D!==Ie){var Ye=C[Ie],lt=Ye.x,ft=lt+Ye.width,ct=Ye.y,Cn=ct+Ye.height;if(q>=lt&&pe>=ct&&ee<=ft&&Ce<=Cn){C.splice(D,1);break}else if(q===lt&&V.width===Ye.width&&!(Cn<pe)&&!(ct>Ce)){ct>pe&&(Ye.height+=ct-pe,Ye.y=pe),Cn<Ce&&(Ye.height=Ce-ct),C.splice(D,1);break}else if(pe===ct&&V.height===Ye.height&&!(ft<q)&&!(lt>ee)){lt>q&&(Ye.width+=lt-q,Ye.x=q),ft<ee&&(Ye.width=ee-lt),C.splice(D,1);break}}return C}function H7(u,c){if(!qr)throw new Error("Test selector API is not supported by this renderer.");for(var y=i5(u),C=v4(y,c),E=Array.from(C),D=0;D<E.length;){var V=E[D++];if(!ga(V)){if(V.tag===oe){var q=V.stateNode;if(Ds(q))return!0}for(var ee=V.child;ee!==null;)E.push(ee),ee=ee.sibling}}return!1}var s5=[];function j7(){qr&&s5.forEach(function(u){return u()})}function V7(u,c,y,C){if(!qr)throw new Error("Test selector API is not supported by this renderer.");var E=B1(u,c),D=_i(E,y,C),V=D.disconnect,q=D.observe,ee=D.unobserve,pe=function(){var Ce=B1(u,c);E.forEach(function(Ie){Ce.indexOf(Ie)<0&&ee(Ie)}),Ce.forEach(function(Ie){E.indexOf(Ie)<0&&q(Ie)})};return s5.push(pe),{disconnect:function(){var Ce=s5.indexOf(pe);Ce>=0&&s5.splice(Ce,1),V()}}}var V_=s.ReactCurrentActQueue;function l5(u){{var c=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,y=typeof jest<"u";return ho&&y&&c!==!1}}function G_(){{var u=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!u&&V_.current!==null&&m("The current testing environment is not configured to support act(...)"),u}}var W_=Math.ceil,Tm=s.ReactCurrentDispatcher,u5=s.ReactCurrentOwner,zr=s.ReactCurrentBatchConfig,gc=s.ReactCurrentActQueue,qo=0,y4=1,Gs=2,no=4,Zh=0,Hf=1,jf=2,Rm=3,Xh=4,$1=5,Ag=6,Cr=qo,_o=null,li=null,Ko=yt,Zo=yt,w2=Ee(yt),Eo=Zh,km=null,Qh=yt,Og=yt,Lg=yt,Am=null,ql=null,c5=0,S4=500,f5=1/0,x4=500,Jh=null;function U1(){f5=Qi()+x4}function Mg(){return f5}var zi=!1,ep=null,Om=null,Dg=!1,tp=null,_2=yt,C4=[],wl=null,G7=50,Lm=0,d5=null,h5=!1,Pg=!1,N4=50,np=0,H1=null,Mm=Dr,j1=yt,w4=!1;function nf(){return _o}function Bi(){return(Cr&(Gs|no))!==qo?Qi():(Mm!==Dr||(Mm=Qi()),Mm)}function Vf(u){var c=u.mode;if((c&Ar)===tr)return Wn;if((Cr&Gs)!==qo&&Ko!==yt)return vh(Ko);var y=Vv()!==Of;if(y){if(zr.transition!==null){var C=zr.transition;C._updatedFibers||(C._updatedFibers=new Set),C._updatedFibers.add(u)}return j1===oi&&(j1=rx()),j1}var E=rc();if(E!==oi)return E;var D=zo();return D}function _4(u){var c=u.mode;return(c&Ar)===tr?Wn:Dv()}function Xo(u,c,y,C){Y1(),w4&&m("useInsertionEffect must not schedule updates."),h5&&(Pg=!0),cl(u,y,C),(Cr&Gs)!==yt&&u===_o?K1(c):(Na&&Fv(u,c,y),w5(c),u===_o&&((Cr&Gs)===qo&&(Og=_n(Og,y)),Eo===Xh&&jd(u,Ko)),Kl(u,C),y===Wn&&Cr===qo&&(c.mode&Ar)===tr&&!gc.isBatchingLegacy&&(U1(),yh()))}function p5(u,c,y){var C=u.current;C.lanes=c,cl(u,c,y),Kl(u,y)}function W7(u){return(Cr&Gs)!==qo}function Kl(u,c){var y=u.callbackNode;Mv(u,c);var C=mi(u,u===_o?Ko:yt);if(C===yt){y!==null&&zg(y),u.callbackNode=null,u.callbackPriority=oi;return}var E=Pi(C),D=u.callbackPriority;if(D===E&&!(gc.current!==null&&y!==U4)){y==null&&D!==Wn&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}y!=null&&zg(y);var V;if(E===Wn)u.tag===Ki?(gc.isBatchingLegacy!==null&&(gc.didScheduleLegacyUpdate=!0),ir(g5.bind(null,u))):eo(g5.bind(null,u)),Xn?gc.current!==null?gc.current.push(ba):Wu(function(){(Cr&(Gs|no))===qo&&ba()}):Wf(Bc,ba),V=null;else{var q;switch(L0(C)){case nc:q=Bc;break;case fl:q=za;break;case bh:q=Yt;break;case zc:q=dl;break;default:q=Yt;break}V=Wf(q,E2.bind(null,u))}u.callbackPriority=E,u.callbackNode=V}function E2(u,c){if(Zy(),Mm=Dr,j1=yt,(Cr&(Gs|no))!==qo)throw new Error("Should not already be working.");var y=u.callbackNode,C=bc();if(C&&u.callbackNode!==y)return null;var E=mi(u,u===_o?Ko:yt);if(E
|
||
|
|
||
|
Error message:
|
||
|
|
||
|
%s`,y)}function O2(u,c,y){var C=u.pingCache;C!==null&&C.delete(c);var E=Bi();yd(u,y),Pu(u),_o===u&&gd(Ko,y)&&(Eo===Xh||Eo===Rm&&md(Ko)&&Qi()-c5<S4?rp(u,yt):Lg=_n(Lg,y)),Kl(u,E)}function L2(u,c){c===oi&&(c=_4(u));var y=Bi(),C=Cs(u,c);C!==null&&(cl(C,c,y),Kl(C,y))}function x5(u){var c=u.memoizedState,y=oi;c!==null&&(y=c.retryLane),L2(u,y)}function tE(u,c){var y=oi,C;switch(u.tag){case ve:C=u.stateNode;var E=u.memoizedState;E!==null&&(y=E.retryLane);break;case wt:C=u.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}C!==null&&C.delete(c),L2(u,y)}function F4(u){return u<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:W_(u/1960)*1960}function Y1(){if(Lm>G7)throw Lm=0,d5=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");np>N4&&(np=0,H1=null,m("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function z4(){Fs.flushLegacyContextWarning(),Fs.flushPendingUnsafeLifecycleWarnings()}function B4(u,c){Ya(u),q1(u,sr,I7),c&&q1(u,kr,F7),q1(u,sr,P7),c&&q1(u,kr,m4),gi()}function q1(u,c,y){for(var C=u,E=null;C!==null;){var D=C.subtreeFlags&c;C!==E&&C.child!==null&&D!==_t?C=C.child:((C.flags&c)!==_t&&y(C),C.sibling!==null?C=C.sibling:C=E=C.return)}}var C5=null;function $4(u){{if((Cr&Gs)!==qo||!(u.mode&Ar))return;var c=u.tag;if(c!==ne&&c!==ie&&c!==Z&&c!==K&&c!==J&&c!==ye&&c!==xe)return;var y=gt(u)||"ReactComponent";if(C5!==null){if(C5.has(y))return;C5.add(y)}else C5=new Set([y]);var C=zn;try{Ya(u),m("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{C?Ya(u):gi()}}}var N5;{var M2=null;N5=function(u,c,y){var C=R5(M2,c);try{return L1(u,c,y)}catch(D){if(Vo()||D!==null&&typeof D=="object"&&typeof D.then=="function")throw D;if(W0(),Ax(),Xx(u,c),R5(c,C),c.mode&Mr&&ym(c),p(null,L1,null,u,c,y),g()){var E=R();typeof E=="object"&&E!==null&&E._suppressLogging&&typeof D=="object"&&D!==null&&!D._suppressLogging&&(D._suppressLogging=!0)}throw D}}}var rf=!1,D2;D2=new Set;function K1(u){if(Lf&&!Hh())switch(u.tag){case K:case J:case xe:{var c=li&>(li)||"Unknown",y=c;if(!D2.has(y)){D2.add(y);var C=gt(u)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",C,c,c)}break}case Z:{rf||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),rf=!0);break}}}function Fg(u,c){if(Na){var y=u.memoizedUpdaters;y.forEach(function(C){Fv(u,C,c)})}}var U4={};function Wf(u,c){{var y=gc.current;return y!==null?(y.push(c),U4):ac(u,c)}}function zg(u){if(u!==U4)return wC(u)}function nE(){return gc.current!==null}function w5(u){{if(u.mode&Ar){if(!G_())return}else if(!l5()||Cr!==qo||u.tag!==K&&u.tag!==J&&u.tag!==xe)return;if(gc.current===null){var c=zn;try{Ya(u),m(`An update to %s inside a test was not wrapped in act(...).
|
||
|
|
||
|
When testing, code that causes React state updates should be wrapped into act(...):
|
||
|
|
||
|
act(() => {
|
||
|
/* fire events that update state */
|
||
|
});
|
||
|
/* assert on the output */
|
||
|
|
||
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,gt(u))}finally{c?Ya(u):gi()}}}}function Pu(u){u.tag!==Ki&&G_()&&gc.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
||
|
|
||
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
||
|
|
||
|
act(() => {
|
||
|
/* finish loading suspended data */
|
||
|
});
|
||
|
/* assert on the output */
|
||
|
|
||
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function $i(u){w4=u}var To=null,Ai=null,Ws=function(u){To=u};function Dm(u){{if(To===null)return u;var c=To(u);return c===void 0?u:c.current}}function P2(u){return Dm(u)}function H4(u){{if(To===null)return u;var c=To(u);if(c===void 0){if(u!=null&&typeof u.render=="function"){var y=Dm(u.render);if(u.render!==y){var C={$$typeof:un,render:y};return u.displayName!==void 0&&(C.displayName=u.displayName),C}}return u}return c.current}}function rn(u,c){{if(To===null)return!1;var y=u.elementType,C=c.type,E=!1,D=typeof C=="object"&&C!==null?C.$$typeof:null;switch(u.tag){case Z:{typeof C=="function"&&(E=!0);break}case K:{(typeof C=="function"||D===wn)&&(E=!0);break}case J:{(D===un||D===wn)&&(E=!0);break}case ye:case xe:{(D===Rn||D===wn)&&(E=!0);break}default:return!1}if(E){var V=To(y);if(V!==void 0&&V===To(C))return!0}return!1}}function Z1(u){{if(To===null||typeof WeakSet!="function")return;Ai===null&&(Ai=new WeakSet),Ai.add(u)}}var j4=function(u,c){{if(To===null)return;var y=c.staleFamilies,C=c.updatedFamilies;bc(),V1(function(){ap(u.current,C,y)})}},X1=function(u,c){{if(u.context!==On)return;bc(),V1(function(){K4(c,u,null,null)})}};function ap(u,c,y){{var C=u.alternate,E=u.child,D=u.sibling,V=u.tag,q=u.type,ee=null;switch(V){case K:case xe:case Z:ee=q;break;case J:ee=q.render;break}if(To===null)throw new Error("Expected resolveFamily to be set during hot reload.");var pe=!1,Ce=!1;if(ee!==null){var Ie=To(ee);Ie!==void 0&&(y.has(Ie)?Ce=!0:c.has(Ie)&&(V===Z?Ce=!0:pe=!0))}if(Ai!==null&&(Ai.has(u)||C!==null&&Ai.has(C))&&(Ce=!0),Ce&&(u._debugNeedsRemount=!0),Ce||pe){var Ye=Cs(u,Wn);Ye!==null&&Xo(Ye,u,Wn,Dr)}E!==null&&!Ce&&ap(E,c,y),D!==null&&ap(D,c,y)}}var _a=function(u,c){{var y=new Set,C=new Set(c.map(function(E){return E.current}));return Ro(u.current,C,y),y}};function Ro(u,c,y){{var C=u.child,E=u.sibling,D=u.tag,V=u.type,q=null;switch(D){case K:case xe:case Z:q=V;break;case J:q=V.render;break}var ee=!1;q!==null&&c.has(q)&&(ee=!0),ee?fs(u,y):C!==null&&Ro(C,c,y),E!==null&&Ro(E,c,y)}}function fs(u,c){{var y=_5(u,c);if(y)return;for(var C=u;;){switch(C.tag){case oe:c.add(C.stateNode);return;case le:c.add(C.stateNode.containerInfo);return;case ie:c.add(C.stateNode.containerInfo);return}if(C.return===null)throw new Error("Expected to reach root first.");C=C.return}}}function _5(u,c){for(var y=u,C=!1;;){if(y.tag===oe)C=!0,c.add(y.stateNode);else if(y.child!==null){y.child.return=y,y=y.child;continue}if(y===u)return C;for(;y.sibling===null;){if(y.return===null||y.return===u)return C;y=y.return}y.sibling.return=y.return,y=y.sibling}return!1}var Bg;{Bg=!1;try{var Q1=Object.preventExtensions({})}catch{Bg=!0}}function X7(u,c,y,C){this.tag=u,this.key=y,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=c,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=C,this.flags=_t,this.subtreeFlags=_t,this.deletions=null,this.lanes=yt,this.childLanes=yt,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!Bg&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var yc=function(u,c,y,C){return new X7(u,c,y,C)};function ot(u){var c=u.prototype;return!!(c&&c.isReactComponent)}function af(u){return typeof u=="function"&&!ot(u)&&u.defaultProps===void 0}function Pm(u){if(typeof u=="function")return ot(u)?Z:K;if(u!=null){var c=u.$$typeof;if(c===un)return J;if(c===Rn)return ye}return ne}function ip(u,c){var y=u.alternate;y===null?(y=yc(u.tag,c,u.key,u.mode),y.elementType=u.elementType,y.type=u.type,y.stateNode=u.stateNode,y._debugSource=u._debugSource,y._debugOwner=u
|
||
|
|
||
|
Check the render method of \``+pe+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(u==null?u:typeof u)+"."+ee))}}}var Ce=yc(V,y,c,E);return Ce.elementType=u,Ce.type=q,Ce.lanes=D,Ce._debugOwner=C,Ce}function V4(u,c,y){var C=null;C=u._owner;var E=u.type,D=u.key,V=u.props,q=Im(E,D,V,C,c,y);return q._debugSource=u._source,q._debugOwner=u._owner,q}function Ui(u,c,y,C){var E=yc(de,u,C,c);return E.lanes=y,E}function G4(u,c,y,C){typeof u.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof u.id);var E=yc(he,u,C,c|Mr);return E.elementType=kt,E.lanes=y,E.stateNode={effectDuration:0,passiveEffectDuration:0},E}function J1(u,c,y,C){var E=yc(ve,u,C,c);return E.elementType=fr,E.lanes=y,E}function eb(u,c,y,C){var E=yc(wt,u,C,c);return E.elementType=an,E.lanes=y,E}function W4(u,c,y,C){var E=yc(Ut,u,C,c);E.elementType=Ft,E.lanes=y;var D={isHidden:!1};return E.stateNode=D,E}function E5(u,c,y){var C=yc(Ae,u,null,c);return C.lanes=y,C}function Vd(){var u=yc(oe,null,null,tr);return u.elementType="DELETED",u}function of(u){var c=yc(Qe,null,null,tr);return c.stateNode=u,c}function T5(u,c,y){var C=u.children!==null?u.children:[],E=yc(le,C,u.key,c);return E.lanes=y,E.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},E}function R5(u,c){return u===null&&(u=yc(ne,null,null,tr)),u.tag=c.tag,u.key=c.key,u.elementType=c.elementType,u.type=c.type,u.stateNode=c.stateNode,u.return=c.return,u.child=c.child,u.sibling=c.sibling,u.index=c.index,u.ref=c.ref,u.pendingProps=c.pendingProps,u.memoizedProps=c.memoizedProps,u.updateQueue=c.updateQueue,u.memoizedState=c.memoizedState,u.dependencies=c.dependencies,u.mode=c.mode,u.flags=c.flags,u.subtreeFlags=c.subtreeFlags,u.deletions=c.deletions,u.lanes=c.lanes,u.childLanes=c.childLanes,u.alternate=c.alternate,u.actualDuration=c.actualDuration,u.actualStartTime=c.actualStartTime,u.selfBaseDuration=c.selfBaseDuration,u.treeBaseDuration=c.treeBaseDuration,u._debugSource=c._debugSource,u._debugOwner=c._debugOwner,u._debugNeedsRemount=c._debugNeedsRemount,u._debugHookTypes=c._debugHookTypes,u}function Y4(u,c,y,C,E){this.tag=c,this.containerInfo=u,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Ms,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=oi,this.eventTimes=bd(yt),this.expirationTimes=bd(Dr),this.pendingLanes=yt,this.suspendedLanes=yt,this.pingedLanes=yt,this.expiredLanes=yt,this.mutableReadLanes=yt,this.finishedLanes=yt,this.entangledLanes=yt,this.entanglements=bd(yt),this.identifierPrefix=C,this.onRecoverableError=E,ka&&(this.mutableSourceEagerHydrationData=null),this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var D=this.pendingUpdatersLaneMap=[],V=0;V<ud;V++)D.push(new Set)}switch(c){case ny:this._debugRootType=y?"hydrateRoot()":"createRoot()";break;case Ki:this._debugRootType=y?"hydrate()":"render()";break}}function k5(u,c,y,C,E,D,V,q,ee,pe){var Ce=new Y4(u,c,y,q,ee),Ie=qt(c,D);Ce.current=Ie,Ie.stateNode=Ce;{var Ye={element:C,isDehydrated:y,cache:null,transitions:null,pendingSuspenseBoundaries:null};Ie.memoizedState=Ye}return Rh(Ie),Ce}var q4="18.2.0";function VD(u,c,y){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return AC(C),{$$typeof:ht,key:C==null?null:""+C,children:u,containerInfo:c,implementation:y}}var rE,I2;rE=!1,I2={};function F2(u){if(!u)return On;var c=N(u),y=Av(c);if(c.tag===Z){var C=c.type;if(Mc(C))return ua(c,C,y)}return y}function aE(u){var c=N(u);if(c===void 0){if(typeof u.render=="function")throw new Error("Unable to find node on an unmounted component.");var y=Object.keys(u).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+y)}var C=Io(c);return C===null?null:C.stateNode}function iE(u,c){{var y=N(u);if(y===void 0){if(typeof u.render=="function")throw new Error("Unable to find node on an unmounted comp
|
||
|
|
||
|
Check the render method of %s.`,gt(zn)||"Unknown"));var ee=bl(D,V);ee.payload={element:u},C=C===void 0?null:C,C!==null&&(typeof C!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",C),ee.callback=C);var pe=Wc(E,ee,V);return pe!==null&&(Xo(pe,E,V,D),Yv(pe,E,V)),V}function A5(u){var c=u.current;if(!c.child)return null;switch(c.child.tag){case oe:return rl(c.child.stateNode);default:return c.child.stateNode}}function Z4(u){switch(u.tag){case ie:{var c=u.stateNode;if(xd(c)){var y=iy(c);T4(c,y)}break}case ve:{V1(function(){var E=Cs(u,Wn);if(E!==null){var D=Bi();Xo(E,u,Wn,D)}});var C=Wn;Fm(u,C);break}}}function O5(u,c){var y=u.memoizedState;y!==null&&y.dehydrated!==null&&(y.retryLane=Pv(y.retryLane,c))}function Fm(u,c){O5(u,c);var y=u.alternate;y&&O5(y,c)}function X4(u){if(u.tag===ve){var c=Wn,y=Cs(u,c);if(y!==null){var C=Bi();Xo(y,u,c,C)}Fm(u,c)}}function L5(u){if(u.tag===ve){var c=Dc,y=Cs(u,c);if(y!==null){var C=Bi();Xo(y,u,c,C)}Fm(u,c)}}function z2(u){if(u.tag===ve){var c=Vf(u),y=Cs(u,c);if(y!==null){var C=Bi();Xo(y,u,c,C)}Fm(u,c)}}function M5(u){var c=kl(u);return c===null?null:c.stateNode}var B2=function(u){return null};function tb(u){return B2(u)}var D5=function(u){return!1};function $2(u){return D5(u)}var P5=null,U2=null,Q4=null,I5=null,H2=null,lE=null,j2=null,F5=null,V2=null;{var z5=function(u,c,y){var C=c[y],E=ni(u)?u.slice():S({},u);return y+1===c.length?(ni(E)?E.splice(C,1):delete E[C],E):(E[C]=z5(u[C],c,y+1),E)},G2=function(u,c){return z5(u,c,0)},B5=function(u,c,y,C){var E=c[C],D=ni(u)?u.slice():S({},u);if(C+1===c.length){var V=y[C];D[V]=D[E],ni(D)?D.splice(E,1):delete D[E]}else D[E]=B5(u[E],c,y,C+1);return D},J4=function(u,c,y){if(c.length!==y.length){d("copyWithRename() expects paths of the same length");return}else for(var C=0;C<y.length-1;C++)if(c[C]!==y[C]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return B5(u,c,y,0)},eN=function(u,c,y,C){if(y>=c.length)return C;var E=c[y],D=ni(u)?u.slice():S({},u);return D[E]=eN(u[E],c,y+1,C),D},tN=function(u,c,y){return eN(u,c,0,y)},nN=function(u,c){for(var y=u.memoizedState;y!==null&&c>0;)y=y.next,c--;return y};P5=function(u,c,y,C){var E=nN(u,c);if(E!==null){var D=tN(E.memoizedState,y,C);E.memoizedState=D,E.baseState=D,u.memoizedProps=S({},u.memoizedProps);var V=Cs(u,Wn);V!==null&&Xo(V,u,Wn,Dr)}},U2=function(u,c,y){var C=nN(u,c);if(C!==null){var E=G2(C.memoizedState,y);C.memoizedState=E,C.baseState=E,u.memoizedProps=S({},u.memoizedProps);var D=Cs(u,Wn);D!==null&&Xo(D,u,Wn,Dr)}},Q4=function(u,c,y,C){var E=nN(u,c);if(E!==null){var D=J4(E.memoizedState,y,C);E.memoizedState=D,E.baseState=D,u.memoizedProps=S({},u.memoizedProps);var V=Cs(u,Wn);V!==null&&Xo(V,u,Wn,Dr)}},I5=function(u,c,y){u.pendingProps=tN(u.memoizedProps,c,y),u.alternate&&(u.alternate.pendingProps=u.pendingProps);var C=Cs(u,Wn);C!==null&&Xo(C,u,Wn,Dr)},H2=function(u,c){u.pendingProps=G2(u.memoizedProps,c),u.alternate&&(u.alternate.pendingProps=u.pendingProps);var y=Cs(u,Wn);y!==null&&Xo(y,u,Wn,Dr)},lE=function(u,c,y){u.pendingProps=J4(u.memoizedProps,c,y),u.alternate&&(u.alternate.pendingProps=u.pendingProps);var C=Cs(u,Wn);C!==null&&Xo(C,u,Wn,Dr)},j2=function(u){var c=Cs(u,Wn);c!==null&&Xo(c,u,Wn,Dr)},F5=function(u){B2=u},V2=function(u){D5=u}}function rN(u){var c=Io(u);return c===null?null:c.stateNode}function uE(u){return null}function cE(){return zn}function fE(u){var c=u.findFiberByHostInstance,y=s.ReactCurrentDispatcher;return sy({bundleType:u.bundleType,version:u.version,rendererPackageName:u.rendererPackageName,rendererConfig:u.rendererConfig,overrideHookState:P5,overrideHookStateDeletePath:U2,overrideHookStateRenamePath:Q4,overrideProps:I5,overridePropsDeletePath:H2,overridePropsRenamePath:lE,setErrorHandler:F5,setSuspenseHandler:V2,scheduleUpdate:j2,currentDispatcherRef:y,findHostInstanceByFiber:rN,findFiberByHostInstance:c||uE,findHostInstancesForRefresh:_a,scheduleRefresh:j4,scheduleRoot:X1,setRefreshHandler:Ws,getCurrentFiber:cE,reconcilerVersion:q4})}return n.attemptContinuousHydration=L5,n.a
|
||
|
* @license React
|
||
|
* react-reconciler-constants.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.
|
||
|
*/(function(){var e=1,t=4,n=16,r=536870912,i=e,s=t,l=n,f=r,d=0,m=1;dS.ConcurrentRoot=m,dS.ContinuousEventPriority=s,dS.DefaultEventPriority=l,dS.DiscreteEventPriority=i,dS.IdleEventPriority=f,dS.LegacyRoot=d})();(function(e){e.exports=dS})(DD);const GU={children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0};let WU=!1,YU=!1;const PD=".react-konva-event",V6e=`ReactKonva: You have a Konva node with draggable = true and position defined but no onDragMove or onDragEnd events are handled.
|
||
|
Position of a node will be changed during drag&drop, so you should update state of the react app as well.
|
||
|
Consider to add onDragMove or onDragEnd events.
|
||
|
For more info see: https://github.com/konvajs/react-konva/issues/256
|
||
|
`,G6e=`ReactKonva: You are using "zIndex" attribute for a Konva node.
|
||
|
react-konva may get confused with ordering. Just define correct order of elements in your render function of a component.
|
||
|
For more info see: https://github.com/konvajs/react-konva/issues/194
|
||
|
`,W6e={};function R7(e,t,n=W6e){if(!WU&&"zIndex"in t&&(console.warn(G6e),WU=!0),!YU&&t.draggable){var r=t.x!==void 0||t.y!==void 0,i=t.onDragEnd||t.onDragMove;r&&!i&&(console.warn(V6e),YU=!0)}for(var s in n)if(!GU[s]){var l=s.slice(0,2)==="on",f=n[s]!==t[s];if(l&&f){var d=s.substr(2).toLowerCase();d.substr(0,7)==="content"&&(d="content"+d.substr(7,1).toUpperCase()+d.substr(8)),e.off(d,n[s])}var m=!t.hasOwnProperty(s);m&&e.setAttr(s,void 0)}var b=t._useStrictMode,S={},N=!1;const w={};for(var s in t)if(!GU[s]){var l=s.slice(0,2)==="on",T=n[s]!==t[s];if(l&&T){var d=s.substr(2).toLowerCase();d.substr(0,7)==="content"&&(d="content"+d.substr(7,1).toUpperCase()+d.substr(8)),t[s]&&(w[d]=t[s])}!l&&(t[s]!==n[s]||b&&t[s]!==e.getAttr(s))&&(N=!0,S[s]=t[s])}N&&(e.setAttrs(S),Wb(e));for(var d in w)e.on(d+PD,w[d])}function Wb(e){if(!Nn.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const bZ={},Y6e={};DS.Node.prototype._applyProps=R7;function q6e(e,t){if(typeof t=="string"){console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`);return}e.add(t),Wb(e)}function K6e(e,t,n){let r=DS[e];r||(console.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=DS.Group);const i={},s={};for(var l in t){var f=l.slice(0,2)==="on";f?s[l]=t[l]:i[l]=t[l]}const d=new r(i);return R7(d,s),d}function Z6e(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function X6e(e,t,n){return!1}function Q6e(e){return e}function J6e(){return null}function e9e(){return null}function t9e(e,t,n,r){return Y6e}function n9e(){}function r9e(e){}function a9e(e,t){return!1}function i9e(){return bZ}function o9e(){return bZ}const s9e=setTimeout,l9e=clearTimeout,u9e=-1;function c9e(e,t){return!1}const f9e=!1,d9e=!0,h9e=!0;function p9e(e,t){t.parent===e?t.moveToTop():e.add(t),Wb(e)}function m9e(e,t){t.parent===e?t.moveToTop():e.add(t),Wb(e)}function yZ(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),Wb(e)}function v9e(e,t,n){yZ(e,t,n)}function g9e(e,t){t.destroy(),t.off(PD),Wb(e)}function b9e(e,t){t.destroy(),t.off(PD),Wb(e)}function y9e(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function S9e(e,t,n){}function x9e(e,t,n,r,i){R7(e,i,r)}function C9e(e){e.hide(),Wb(e)}function N9e(e){}function w9e(e,t){(t.visible==null||t.visible)&&e.show()}function _9e(e,t){}function E9e(e){}function T9e(){}const R9e=()=>DD.exports.DefaultEventPriority,k9e=Object.freeze(Object.defineProperty({__proto__:null,appendInitialChild:q6e,createInstance:K6e,createTextInstance:Z6e,finalizeInitialChildren:X6e,getPublicInstance:Q6e,prepareForCommit:J6e,preparePortalMount:e9e,prepareUpdate:t9e,resetAfterCommit:n9e,resetTextContent:r9e,shouldDeprioritizeSubtree:a9e,getRootHostContext:i9e,getChildHostContext:o9e,scheduleTimeout:s9e,cancelTimeout:l9e,noTimeout:u9e,shouldSetTextContent:c9e,isPrimaryRenderer:f9e,warnsIfNotActing:d9e,supportsMutation:h9e,appendChild:p9e,appendChildToContainer:m9e,insertBefore:yZ,insertInContainerBefore:v9e,removeChild:g9e,removeChildFromContainer:b9e,commitTextUpdate:y9e,commitMount:S9e,commitUpdate:x9e,hideInstance:C9e,hideTextInstance:N9e,unhideInstance:w9e,unhideTextInstance:_9e,clearContainer:E9e,detachDeletedInstance:T9e,getCurrentEventPriority:R9e,now:w3.exports.unstable_now,idlePriority:w3.exports.unstable_IdlePriority,run:w3.exports.unstable_runWithPriority},Symbol.toStringTag,{value:"Module"}));var SZ="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/its-fine/dist/index.js",A9e=Object.defineProperty,O9e=Object.defineProperties,L9e=Object.getOwnPropertyDescriptors,qU=Object.getOwnPropertySymbols,M9e=Object.prototype.hasOwnProperty,D9e=Object.prototype.propertyIsEnumerable,KU=(e,t,n)=>t in e?A9e(e,t,{enumerable:!0,config
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Y8e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function q8e(e){if(Array.isArray(e))return rL(e)}function xH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xH(Object(n),!0).forEach(function(r){oX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xH(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i_(e,t){return X8e(e)||Z8e(e,t)||sX(e,t)||K8e()}function K8e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sX(e,t){if(!!e){if(typeof e=="string")return rL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rL(e,t)}}function rL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Z8e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,s=!1,l,f;try{for(n=n.call(e);!(i=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));i=!0);}catch(d){s=!0,f=d}finally{try{!i&&n.return!=null&&n.return()}finally{if(s)throw f}}return r}}function X8e(e){if(Array.isArray(e))return e}var Q8e="file-invalid-type",J8e="file-too-large",eke="file-too-small",tke="too-many-files",nke=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var n=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:Q8e,message:"File type must be ".concat(n)}},NH=function(t){return{code:J8e,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},wH=function(t){return{code:eke,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},rke={code:tke,message:"Too many files"};function lX(e,t){var n=e.type==="application/x-moz-file"||G8e(e,t);return[n,n?null:nke(t)]}function uX(e,t,n){if(mS(e.size))if(mS(t)&&mS(n)){if(e.size>n)return[!1,NH(n)];if(e.size<t)return[!1,wH(t)]}else{if(mS(t)&&e.size<t)return[!1,wH(t)];if(mS(n)&&e.size>n)return[!1,NH(n)]}return[!0,null]}function mS(e){return e!=null}function ake(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,s=e.multiple,l=e.maxFiles,f=e.validator;return!s&&t.length>1||s&&l>=1&&t.length>l?!1:t.every(function(d){var m=lX(d,n),b=i_(m,1),S=b[0],N=uX(d,r,i),w=i_(N,1),T=w[0],L=f?f(d):null;return S&&T&&!L})}function b9(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function HT(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function _H(e){e.preventDefault()}function ike(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function oke(e){return e.indexOf("Edge/")!==-1}function ske(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return ike(e)||oke(e)}function Km(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var i=arguments.length,s=new Array(i>1?i-1:0),l=1;l<i;l++)s[l-1]=arguments[l];return t.some(function(f){return!b9(r)&&f&&f.apply(void 0,[r].concat(s)),b9(r)})}}function lke(){return"showOpenFilePicker"in window}function uke(e){if(mS(e)){var t=Object.entries(e).filter(function(n){var r=i_(n,2),i=r[0],s=r[1],l=!0;return cX(i)||(console.warn('Skipped "'.concat(i,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),l=!1),(!Array.isArray(s)||!s.every(fX))&&(console.warn('Skipped "'.concat(i,'" because an invalid file extension was provided.')),l=!1),l}).reduce(function(n,r){var i=i_(r,2),s=i[0],l=i[1];return CH(CH({},n),{},oX({},s,l))},{});return[{accept:t}]}return e}function cke(e){if(mS(e))return Object.entries(e).reduce(function(t,n){var r=i_(n,2),i=r[0],s=r[1];return[].concat(SH(t),[i],SH(s))},[]).filter(function(t){return cX(t)||fX(t)}).join(",")}function fke(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function dke(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function cX(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function fX(e){return/^.*\.[\w]+$/.test(e)}var hke="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-dropzone/dist/es/index.js",pke=["child
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ske(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xke(e){if(Array.isArray(e))return aL(e)}function Fk(e,t){return wke(e)||Nke(e,t)||dX(e,t)||Cke()}function Cke(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dX(e,t){if(!!e){if(typeof e=="string")return aL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aL(e,t)}}function aL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nke(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,s=!1,l,f;try{for(n=n.call(e);!(i=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));i=!0);}catch(d){s=!0,f=d}finally{try{!i&&n.return!=null&&n.return()}finally{if(s)throw f}}return r}}function wke(e){if(Array.isArray(e))return e}function EH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ao(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?EH(Object(n),!0).forEach(function(r){iL(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EH(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function iL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y9(e,t){if(e==null)return{};var n=_ke(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function _ke(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var jD=O.exports.forwardRef(function(e,t){var n=e.children,r=y9(e,pke),i=pX(r),s=i.open,l=y9(i,mke);return O.exports.useImperativeHandle(t,function(){return{open:s}},[s]),_(O.exports.Fragment,{children:n(Ao(Ao({},l),{},{open:s}))},void 0,!1,{fileName:hke,lineNumber:70,columnNumber:23},this)});jD.displayName="Dropzone";var hX={disabled:!1,getFilesFromEvent:I8e,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};jD.defaultProps=hX;jD.propTypes={children:At.exports.func,accept:At.exports.objectOf(At.exports.arrayOf(At.exports.string)),multiple:At.exports.bool,preventDropOnDocument:At.exports.bool,noClick:At.exports.bool,noKeyboard:At.exports.bool,noDrag:At.exports.bool,noDragEventsBubbling:At.exports.bool,minSize:At.exports.number,maxSize:At.exports.number,maxFiles:At.exports.number,disabled:At.exports.bool,getFilesFromEvent:At.exports.func,onFileDialogCancel:At.exports.func,onFileDialogOpen:At.exports.func,useFsAccessApi:At.exports.bool,autoFocus:At.exports.bool,onDragEnter:At.exports.func,onDragLeave:At.exports.func,onDragOver:At.exports.func,onDrop:At.exports.func,onDropAccepted:At.exports.func,onDropRejected:At.exports.func,onError:At.exports.func,validator:At.exports.func};var oL={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function pX(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Ao(Ao({},hX),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,s=t.maxSize,l=t.minSize,f=t.multiple,d=t.maxFiles,m=t.onDragEnter,b=t.onDragLeave,S=t.onDragOver,N=t.onDrop,w=t.onDropAccepted,T=t.onDropRejected,L=t.onFileDialogCancel,M=t.onFileDialogOpen,B=t.useFsAccessApi,F=t.autoFocus,z=t.preventDropOnDocument,H=t.noClick,G=t.noKeyboard,K=t.noDrag,Z=t.noDragEventsBubbling,ne=t.onError,ie=t.validator,le=O.exports.useMemo(function(){return cke(n)},[n]),oe=O.exports.useMemo(function(){return uke(n)},[n]),Ae=O.exports.useMemo(function(){return typeof M=="function"?M:TH},[M]),de=O.exports.useMemo(function(){return typeof L=="function"?L:TH},
|
||
|
`+z.message,"");i({title:"Upload failed",description:B,status:"error",isClosable:!0})},[i]),d=O.exports.useCallback(M=>{l(!0);const B={file:M};["img2img","inpainting"].includes(r)&&(B.destination=r),n(B$(B))},[n,r]),m=O.exports.useCallback((M,B)=>{B.forEach(F=>{f(F)}),M.forEach(F=>{d(F)})},[d,f]),{getRootProps:b,getInputProps:S,isDragAccept:N,isDragReject:w,isDragActive:T,open:L}=pX({accept:{"image/png":[".png"],"image/jpeg":[".jpg",".jpeg",".png"]},noClick:!0,onDrop:m,maxFiles:1});return O.exports.useEffect(()=>{const M=B=>{const F=B.clipboardData?.items;if(!F)return;const z=[];for(const K of F)K.kind==="file"&&["image/png","image/jpg"].includes(K.type)&&z.push(K);if(!z.length)return;if(B.stopImmediatePropagation(),z.length>1){i({description:"Multiple images pasted, may only upload one image at a time",status:"error",isClosable:!0});return}const H=z[0].getAsFile();if(!H){i({description:"Unable to load file",status:"error",isClosable:!0});return}const G={file:H};["img2img","inpainting"].includes(r)&&(G.destination=r),n(B$(G))};return document.addEventListener("paste",M),()=>{document.removeEventListener("paste",M)}},[n,i,r]),_(Zq.Provider,{value:L,children:_("div",{...b({style:{}}),children:[_("input",{...S()},void 0,!1,{fileName:mp,lineNumber:134,columnNumber:9},void 0),t,T&&_("div",{className:"dropzone-container",children:[N&&_("div",{className:"dropzone-overlay is-drag-accept",children:_(_S,{size:"lg",children:"Drop Images"},void 0,!1,{fileName:mp,lineNumber:140,columnNumber:17},void 0)},void 0,!1,{fileName:mp,lineNumber:139,columnNumber:15},void 0),w&&_("div",{className:"dropzone-overlay is-drag-reject",children:[_(_S,{size:"lg",children:"Invalid Upload"},void 0,!1,{fileName:mp,lineNumber:145,columnNumber:17},void 0),_(_S,{size:"md",children:"Must be single JPEG or PNG image"},void 0,!1,{fileName:mp,lineNumber:146,columnNumber:17},void 0)]},void 0,!0,{fileName:mp,lineNumber:144,columnNumber:15},void 0),s&&_("div",{className:"dropzone-overlay is-handling-upload",children:_(lC,{},void 0,!1,{fileName:mp,lineNumber:151,columnNumber:17},void 0)},void 0,!1,{fileName:mp,lineNumber:150,columnNumber:15},void 0)]},void 0,!0,{fileName:mp,lineNumber:137,columnNumber:11},void 0)]},void 0,!0,{fileName:mp,lineNumber:133,columnNumber:7},void 0)},void 0,!1,{fileName:mp,lineNumber:132,columnNumber:5},void 0)};var RH="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/src/features/tabs/FloatingGalleryButton.tsx";const Rke=()=>{const e=ar();return _(Ta,{tooltip:"Show Gallery (G)",tooltipPlacement:"top","aria-label":"Show Gallery",styleClass:"floating-show-hide-button right",onMouseOver:()=>{e(bO(!0))},children:_(Mq,{},void 0,!1,{fileName:RH,lineNumber:21,columnNumber:7},void 0)},void 0,!1,{fileName:RH,lineNumber:14,columnNumber:5},void 0)};function kke(e){return vr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 384h272v32H32zM400 384h80v32h-80zM384 447.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"}},{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M32 240h80v32H32zM208 240h272v32H208zM192 303.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"}}]},{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M32 96h272v32H32zM400 96h80v32h-80zM384 159.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"}}]}]})(e)}var f3="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/src/features/tabs/FloatingOptionsPanelButtons.tsx";const Ake=ia(e=>e.options,e=>{const{shouldPinOptionsPanel:t,shouldShowOptionsPanel:n}=e;return{shouldShowProcessButtons:!t||!n}},{memoizeOptions:{resultEqualityCheck:ra.isEqual}}),Oke=()=>{const e=ar(),{shouldShowProcessButtons:t}=tn(Ake);return _("div",{className:"show-hide-button-options",children:[_(Ta,{tooltip:"Show Options Panel (O)",tooltipPlacement:"top","aria-label":"Show Options Panel",onClick:()=>{e(qO(!0))},children:_(kke,{},void 0,!1,{fileName:f3,lineNumber:43
|