Files
mediacms/static/chapters_editor/chapters-editor.js
T

204 lines
399 KiB
JavaScript
Raw Normal View History

(function(){"use strict";var cm={exports:{}},Jc={exports:{}},ll={exports:{}};ll.exports;var fm;function NS(){return fm||(fm=1,function(L,D){/**
* @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.
2025-09-25 13:41:42 +03:00
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var ge="18.3.1",Ne=Symbol.for("react.element"),Me=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),yt=Symbol.for("react.profiler"),me=Symbol.for("react.provider"),ne=Symbol.for("react.context"),tt=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),cn=Symbol.iterator,gt="@@iterator";function De(s){if(s===null||typeof s!="object")return null;var m=cn&&s[cn]||s[gt];return typeof m=="function"?m:null}var Oe={current:null},Lt={transition:null},O={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},J={current:null},$e={},dt=null;function vt(s){dt=s}$e.setExtraStackFrame=function(s){dt=s},$e.getCurrentStack=null,$e.getStackAddendum=function(){var s="";dt&&(s+=dt);var m=$e.getCurrentStack;return m&&(s+=m()||""),s};var Yt=!1,_e=!1,re=!1,Ce=!1,ue=!1,pt={ReactCurrentDispatcher:Oe,ReactCurrentBatchConfig:Lt,ReactCurrentOwner:J};pt.ReactDebugCurrentFrame=$e,pt.ReactCurrentActQueue=O;function le(s){{for(var m=arguments.length,k=new Array(m>1?m-1:0),N=1;N<m;N++)k[N-1]=arguments[N];ye("warn",s,k)}}function A(s){{for(var m=arguments.length,k=new Array(m>1?m-1:0),N=1;N<m;N++)k[N-1]=arguments[N];ye("error",s,k)}}function ye(s,m,k){{var N=pt.ReactDebugCurrentFrame,G=N.getStackAddendum();G!==""&&(m+="%s",k=k.concat([G]));var Ue=k.map(function(Se){return String(Se)});Ue.unshift("Warning: "+m),Function.prototype.apply.call(console[s],console,Ue)}}var Be={};function ot(s,m){{var k=s.constructor,N=k&&(k.displayName||k.name)||"ReactClass",G=N+"."+m;if(Be[G])return;A("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.",m,N),Be[G]=!0}}var Et={isMounted:function(s){return!1},enqueueForceUpdate:function(s,m,k){ot(s,"forceUpdate")},enqueueReplaceState:function(s,m,k,N){ot(s,"replaceState")},enqueueSetState:function(s,m,k,N){ot(s,"setState")}},Ot=Object.assign,Vt={};Object.freeze(Vt);function je(s,m,k){this.props=s,this.context=m,this.refs=Vt,this.updater=k||Et}je.prototype.isReactComponent={},je.prototype.setState=function(s,m){if(typeof s!="object"&&typeof s!="function"&&s!=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,s,m,"setState")},je.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var Ve={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)."]},Je=function(s,m){Object.defineProperty(je.prototype,s,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",m[0],m[1])}})};for(var en in Ve)Ve.hasOwnProperty(en)&&Je(en,Ve[en])}function nt(){}nt.prototype=je.prototype;function It(s,m,k){this.props=s,this.context=m,this.refs=Vt,this.updater=k||Et}var mt=It.prototype=new nt;mt.constructor=It,Ot(mt,je.prototype),mt.isPureReactComponent=!0;function Xe(){var s={current:null};return Object.seal(s),s}var hn=Array.isArray;function Kt(s){return hn(s)}function Nn(s){{var m=typeof Symbol=="function"&&Symbol.toStringTag,k=m&&s[Symbol.toStringTag]||s.constructor.name||"Object";return k}}function z(s){try{return te(s),!1}catch{return!0}}function te(s){return""+s}function Ee(s){if(z(s))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Nn(s)),te(s)}function Te(s,m,k){var N=s.displayName;if(N)return N;var G=m.displa
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,G),"default"in G||A(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
2025-09-25 13:41:42 +03:00
const MyComponent = lazy(() => import('./MyComponent'))`,G),G.default}else throw s._result}function Er(s){var m={_status:jn,_result:s},k={$$typeof:he,_payload:m,_init:Tr};{var N,G;Object.defineProperties(k,{defaultProps:{configurable:!0,get:function(){return N},set:function(Ue){A("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."),N=Ue,Object.defineProperty(k,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return G},set:function(Ue){A("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."),G=Ue,Object.defineProperty(k,"propTypes",{enumerable:!0})}}})}return k}function Cr(s){s!=null&&s.$$typeof===Q?A("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?A("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&A("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&A("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var m={$$typeof:tt,render:s};{var k;Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return k},set:function(N){k=N,!s.name&&!s.displayName&&(s.displayName=N)}})}return m}var h;h=Symbol.for("react.module.reference");function $(s){return!!(typeof s=="string"||typeof s=="function"||s===X||s===yt||ue||s===c||s===oe||s===ze||Ce||s===W||Yt||_e||re||typeof s=="object"&&s!==null&&(s.$$typeof===he||s.$$typeof===Q||s.$$typeof===me||s.$$typeof===ne||s.$$typeof===tt||s.$$typeof===h||s.getModuleId!==void 0))}function ae(s,m){$(s)||A("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var k={$$typeof:Q,type:s,compare:m===void 0?null:m};{var N;Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return N},set:function(G){N=G,!s.name&&!s.displayName&&(s.displayName=G)}})}return k}function pe(){var s=Oe.current;return s===null&&A(`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.`),s}function p(s){var m=pe();if(s._context!==void 0){var k=s._context;k.Consumer===s?A("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?"):k.Provider===s&&A("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(s)}function R(s){var m=pe();return m.useState(s)}function T(s,m,k){var N=pe();return N.useReducer(s,m,k)}function y(s){var m=pe();return m.useRef(s)}function E(s,m){var k=pe();return k.useEffect(s,m)}function _(s,m){var k=pe();return k.useInsertionEffect(s,m)}function S(s,m){var k=pe();return k.useLayoutEffect(s,m)}function V(s,m){var k=pe();return k.useCallback(s,m)}function B(s,m){var k=pe();return k.useMemo(s,m)}function K(s,m,k){var N=pe();return N.useImperativeHandle(s,m,k)}function Le(s,m){{var k=pe();return k.useDebugValue(s,m)}}function F(){var s=pe();return s.useTransition()}function Ke(s){var m=pe();return m.useDeferredValue(s)}function kt(){var s=pe();return s.useId()}function bt(s,m,k){var N=pe();return N.useSyncExternalStore(s,m,k)}var rn=0,xr,Na,Dn,or,_n,$t,Ea;function Pa(){}Pa.__reactDisabledLog=!0;function lo(){{if(rn===0){xr=console.log,Na=console.info,Dn=console.warn,or=console.error,_n=console.group,$t=console.groupCollapsed,Ea=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Pa,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}rn++}}function Ca(){{if(rn--,rn===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ot({},s,{value:xr}),info:Ot({},s,{value:Na}),warn:Ot({},s,{value:Dn}),error:Ot({},s,{value:or}),group:Ot({},s,{value:_n}),groupCollapsed:Ot({},s,{value:$t}),groupEnd:Ot({},s,{value:Ea})})}rn<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ea=pt.ReactCurrentDispatcher,Wn;function Rr(s,m,k){{if(Wn===void 0)try{throw Error()}catch(G){var N=G.stack.trim().match(/\n( *(at )?)/);Wn=N&&N[1]||""}return`
`+Wn+s}}var wr=!1,ln;{var xt=typeof WeakMap=="function"?WeakMap:Map;ln=new xt}function Ya(s,m){if(!s||wr)return"";{var k=ln.get(s);if(k!==void 0)return k}var N;wr=!0;var G=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ue;Ue=ea.current,ea.current=null,lo();try{if(m){var Se=function(){throw Error()};if(Object.defineProperty(Se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Se,[])}catch(dn){N=dn}Reflect.construct(s,[],Se)}else{try{Se.call()}catch(dn){N=dn}s.call(Se.prototype)}}else{try{throw Error()}catch(dn){N=dn}s()}}catch(dn){if(dn&&N&&typeof dn.stack=="string"){for(var We=dn.stack.split(`
`),ut=N.stack.split(`
`),Nt=We.length-1,Gt=ut.length-1;Nt>=1&&Gt>=0&&We[Nt]!==ut[Gt];)Gt--;for(;Nt>=1&&Gt>=0;Nt--,Gt--)if(We[Nt]!==ut[Gt]){if(Nt!==1||Gt!==1)do if(Nt--,Gt--,Gt<0||We[Nt]!==ut[Gt]){var Xt=`
2025-09-25 13:41:42 +03:00
`+We[Nt].replace(" at new "," at ");return s.displayName&&Xt.includes("<anonymous>")&&(Xt=Xt.replace("<anonymous>",s.displayName)),typeof s=="function"&&ln.set(s,Xt),Xt}while(Nt>=1&&Gt>=0);break}}}finally{wr=!1,ea.current=Ue,Ca(),Error.prepareStackTrace=G}var rt=s?s.displayName||s.name:"",an=rt?Rr(rt):"";return typeof s=="function"&&ln.set(s,an),an}function xa(s,m,k){return Ya(s,!1)}function Di(s){var m=s.prototype;return!!(m&&m.isReactComponent)}function _i(s,m,k){if(s==null)return"";if(typeof s=="function")return Ya(s,Di(s));if(typeof s=="string")return Rr(s);switch(s){case oe:return Rr("Suspense");case ze:return Rr("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case tt:return xa(s.render);case Q:return _i(s.type,m,k);case he:{var N=s,G=N._payload,Ue=N._init;try{return _i(Ue(G),m,k)}catch{}}}return""}var qu={},sl=pt.ReactDebugCurrentFrame;function Rt(s){if(s){var m=s._owner,k=_i(s.type,s._source,m?m.type:null);sl.setExtraStackFrame(k)}else sl.setExtraStackFrame(null)}function nf(s,m,k,N,G){{var Ue=Function.call.bind(Ze);for(var Se in s)if(Ue(s,Se)){var We=void 0;try{if(typeof s[Se]!="function"){var ut=Error((N||"React class")+": "+k+" type `"+Se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[Se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ut.name="Invariant Violation",ut}We=s[Se](m,Se,N,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Nt){We=Nt}We&&!(We instanceof Error)&&(Rt(G),A("%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).",N||"React class",k,Se,typeof We),Rt(null)),We instanceof Error&&!(We.message in qu)&&(qu[We.message]=!0,Rt(G),A("Failed %s type: %s",k,We.message),Rt(null))}}}function Dr(s){if(s){var m=s._owner,k=_i(s.type,s._source,m?m.type:null);vt(k)}else vt(null)}var Ge;Ge=!1;function cl(){if(J.current){var s=at(J.current.type);if(s)return`
Check the render method of \``+s+"`."}return""}function ta(s){if(s!==void 0){var m=s.fileName.replace(/^.*[\\\/]/,""),k=s.lineNumber;return`
Check your code at `+m+":"+k+"."}return""}function ki(s){return s!=null?ta(s.__source):""}var ei={};function af(s){var m=cl();if(!m){var k=typeof s=="string"?s:s.displayName||s.name;k&&(m=`
2025-09-25 13:41:42 +03:00
Check the top-level render call using <`+k+">.")}return m}function kn(s,m){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var k=af(m);if(!ei[k]){ei[k]=!0;var N="";s&&s._owner&&s._owner!==J.current&&(N=" It was passed a child from "+at(s._owner.type)+"."),Dr(s),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,N),Dr(null)}}}function nn(s,m){if(typeof s=="object"){if(Kt(s))for(var k=0;k<s.length;k++){var N=s[k];zt(N)&&kn(N,m)}else if(zt(s))s._store&&(s._store.validated=!0);else if(s){var G=De(s);if(typeof G=="function"&&G!==s.entries)for(var Ue=G.call(s),Se;!(Se=Ue.next()).done;)zt(Se.value)&&kn(Se.value,m)}}}function Gu(s){{var m=s.type;if(m==null||typeof m=="string")return;var k;if(typeof m=="function")k=m.propTypes;else if(typeof m=="object"&&(m.$$typeof===tt||m.$$typeof===Q))k=m.propTypes;else return;if(k){var N=at(m);nf(k,s.props,"prop",N,s)}else if(m.PropTypes!==void 0&&!Ge){Ge=!0;var G=at(m);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",G||"Unknown")}typeof m.getDefaultProps=="function"&&!m.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ja(s){{for(var m=Object.keys(s.props),k=0;k<m.length;k++){var N=m[k];if(N!=="children"&&N!=="key"){Dr(s),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",N),Dr(null);break}}s.ref!==null&&(Dr(s),A("Invalid attribute `ref` supplied to `React.Fragment`."),Dr(null))}}function na(s,m,k){var N=$(s);if(!N){var G="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(G+=" 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 Ue=ki(m);Ue?G+=Ue:G+=cl();var Se;s===null?Se="null":Kt(s)?Se="array":s!==void 0&&s.$$typeof===Ne?(Se="<"+(at(s.type)||"Unknown")+" />",G=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof s,A("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Se,G)}var We=Qe.apply(this,arguments);if(We==null)return We;if(N)for(var ut=2;ut<arguments.length;ut++)nn(arguments[ut],s);return s===X?ja(We):Gu(We),We}var Ia=!1;function rf(s){var m=na.bind(null,s);return m.type=s,Ia||(Ia=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(m,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),m}function fl(s,m,k){for(var N=Bt.apply(this,arguments),G=2;G<arguments.length;G++)nn(arguments[G],N.type);return Gu(N),N}function Xu(s,m){var k=Lt.transition;Lt.transition={};var N=Lt.transition;Lt.transition._updatedFibers=new Set;try{s()}finally{if(Lt.transition=k,k===null&&N._updatedFibers){var G=N._updatedFibers.size;G>10&&le("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."),N._updatedFibers.clear()}}}var dl=!1,uo=null;function of(s){if(uo===null)try{var m=("require"+Math.random()).slice(0,7),k=L&&L[m];uo=k.call(L,"timers").setImmediate}catch{uo=function(G){dl===!1&&(dl=!0,typeof MessageChannel>"u"&&A("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 Ue=new MessageChannel;Ue.port1.onmessage=G,Ue.port2.postMessage(void 0)}}return uo(s)}var ti=0,Mi=!1;function vl(s){{var m=ti;ti++,O.current===null&&(O.current=[]);var k=O.isBatchingLegacy,N;try{if(O.isBatchingLe
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2025-09-25 13:41:42 +03:00
*/return function(){var L=Zc(),D=Symbol.for("react.element"),ge=Symbol.for("react.portal"),Ne=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),yt=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),tt=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),ze=Symbol.for("react.lazy"),Q=Symbol.for("react.offscreen"),he=Symbol.iterator,W="@@iterator";function cn(h){if(h===null||typeof h!="object")return null;var $=he&&h[he]||h[W];return typeof $=="function"?$:null}var gt=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function De(h){{for(var $=arguments.length,ae=new Array($>1?$-1:0),pe=1;pe<$;pe++)ae[pe-1]=arguments[pe];Oe("error",h,ae)}}function Oe(h,$,ae){{var pe=gt.ReactDebugCurrentFrame,p=pe.getStackAddendum();p!==""&&($+="%s",ae=ae.concat([p]));var R=ae.map(function(T){return String(T)});R.unshift("Warning: "+$),Function.prototype.apply.call(console[h],console,R)}}var Lt=!1,O=!1,J=!1,$e=!1,dt=!1,vt;vt=Symbol.for("react.module.reference");function Yt(h){return!!(typeof h=="string"||typeof h=="function"||h===Ne||h===X||dt||h===Me||h===ne||h===tt||$e||h===Q||Lt||O||J||typeof h=="object"&&h!==null&&(h.$$typeof===ze||h.$$typeof===oe||h.$$typeof===c||h.$$typeof===yt||h.$$typeof===me||h.$$typeof===vt||h.getModuleId!==void 0))}function _e(h,$,ae){var pe=h.displayName;if(pe)return pe;var p=$.displayName||$.name||"";return p!==""?ae+"("+p+")":ae}function re(h){return h.displayName||"Context"}function Ce(h){if(h==null)return null;if(typeof h.tag=="number"&&De("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case Ne:return"Fragment";case ge:return"Portal";case X:return"Profiler";case Me:return"StrictMode";case ne:return"Suspense";case tt:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case yt:var $=h;return re($)+".Consumer";case c:var ae=h;return re(ae._context)+".Provider";case me:return _e(h,h.render,"ForwardRef");case oe:var pe=h.displayName||null;return pe!==null?pe:Ce(h.type)||"Memo";case ze:{var p=h,R=p._payload,T=p._init;try{return Ce(T(R))}catch{return null}}}return null}var ue=Object.assign,pt=0,le,A,ye,Be,ot,Et,Ot;function Vt(){}Vt.__reactDisabledLog=!0;function je(){{if(pt===0){le=console.log,A=console.info,ye=console.warn,Be=console.error,ot=console.group,Et=console.groupCollapsed,Ot=console.groupEnd;var h={configurable:!0,enumerable:!0,value:Vt,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}pt++}}function Ve(){{if(pt--,pt===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ue({},h,{value:le}),info:ue({},h,{value:A}),warn:ue({},h,{value:ye}),error:ue({},h,{value:Be}),group:ue({},h,{value:ot}),groupCollapsed:ue({},h,{value:Et}),groupEnd:ue({},h,{value:Ot})})}pt<0&&De("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Je=gt.ReactCurrentDispatcher,en;function nt(h,$,ae){{if(en===void 0)try{throw Error()}catch(p){var pe=p.stack.trim().match(/\n( *(at )?)/);en=pe&&pe[1]||""}return`
`+en+h}}var It=!1,mt;{var Xe=typeof WeakMap=="function"?WeakMap:Map;mt=new Xe}function hn(h,$){if(!h||It)return"";{var ae=mt.get(h);if(ae!==void 0)return ae}var pe;It=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var R;R=Je.current,Je.current=null,je();try{if($){var T=function(){throw Error()};if(Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(Le){pe=Le}Reflect.construct(h,[],T)}else{try{T.call()}catch(Le){pe=Le}h.call(T.prototype)}}else{try{throw Error()}catch(Le){pe=Le}h()}}catch(Le){if(Le&&pe&&typeof Le.stack=="string"){for(var y=Le.stack.split(`
`),E=pe.stack.split(`
`),_=y.length-1,S=E.length-1;_>=1&&S>=0&&y[_]!==E[S];)S--;for(;_>=1&&S>=0;_--,S--)if(y[_]!==E[S]){if(_!==1||S!==1)do if(_--,S--,S<0||y[_]!==E[S]){var V=`
2025-09-25 13:41:42 +03:00
`+y[_].replace(" at new "," at ");return h.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",h.displayName)),typeof h=="function"&&mt.set(h,V),V}while(_>=1&&S>=0);break}}}finally{It=!1,Je.current=R,Ve(),Error.prepareStackTrace=p}var B=h?h.displayName||h.name:"",K=B?nt(B):"";return typeof h=="function"&&mt.set(h,K),K}function Kt(h,$,ae){return hn(h,!1)}function Nn(h){var $=h.prototype;return!!($&&$.isReactComponent)}function z(h,$,ae){if(h==null)return"";if(typeof h=="function")return hn(h,Nn(h));if(typeof h=="string")return nt(h);switch(h){case ne:return nt("Suspense");case tt:return nt("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case me:return Kt(h.render);case oe:return z(h.type,$,ae);case ze:{var pe=h,p=pe._payload,R=pe._init;try{return z(R(p),$,ae)}catch{}}}return""}var te=Object.prototype.hasOwnProperty,Ee={},Te=gt.ReactDebugCurrentFrame;function Pe(h){if(h){var $=h._owner,ae=z(h.type,h._source,$?$.type:null);Te.setExtraStackFrame(ae)}else Te.setExtraStackFrame(null)}function at(h,$,ae,pe,p){{var R=Function.call.bind(te);for(var T in h)if(R(h,T)){var y=void 0;try{if(typeof h[T]!="function"){var E=Error((pe||"React class")+": "+ae+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}y=h[T]($,T,pe,ae,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_){y=_}y&&!(y instanceof Error)&&(Pe(p),De("%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).",pe||"React class",ae,T,typeof y),Pe(null)),y instanceof Error&&!(y.message in Ee)&&(Ee[y.message]=!0,Pe(p),De("Failed %s type: %s",ae,y.message),Pe(null))}}}var Ze=Array.isArray;function we(h){return Ze(h)}function lt(h){{var $=typeof Symbol=="function"&&Symbol.toStringTag,ae=$&&h[Symbol.toStringTag]||h.constructor.name||"Object";return ae}}function _t(h){try{return ht(h),!1}catch{return!0}}function ht(h){return""+h}function Jt(h){if(_t(h))return De("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lt(h)),ht(h)}var Wt=gt.ReactCurrentOwner,fa={key:!0,ref:!0,__self:!0,__source:!0},In,Z;function xe(h){if(te.call(h,"ref")){var $=Object.getOwnPropertyDescriptor(h,"ref").get;if($&&$.isReactWarning)return!1}return h.ref!==void 0}function Qe(h){if(te.call(h,"key")){var $=Object.getOwnPropertyDescriptor(h,"key").get;if($&&$.isReactWarning)return!1}return h.key!==void 0}function Ct(h,$){typeof h.ref=="string"&&Wt.current}function Bt(h,$){{var ae=function(){In||(In=!0,De("%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)",$))};ae.isReactWarning=!0,Object.defineProperty(h,"key",{get:ae,configurable:!0})}}function zt(h,$){{var ae=function(){Z||(Z=!0,De("%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)",$))};ae.isReactWarning=!0,Object.defineProperty(h,"ref",{get:ae,configurable:!0})}}var tn=function(h,$,ae,pe,p,R,T){var y={$$typeof:D,type:h,key:$,ref:ae,props:T,_owner:R};return y._store={},Object.defineProperty(y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:pe}),Object.defineProperty(y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(y.props),Object.freeze(y)),y};function Rn(h,$,ae,pe,p){{var R,T={},y=null,E=null;ae!==void 0&&(Jt(ae),y=""+ae),Qe($)&&(Jt($.
Check the render method of \``+h+"`."}return""}}function da(h){return""}var Kr={};function Jr(h){{var $=Ta();if(!$){var ae=typeof h=="string"?h:h.displayName||h.name;ae&&($=`
2025-09-25 13:41:42 +03:00
Check the top-level render call using <`+ae+">.")}return $}}function Sr(h,$){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var ae=Jr($);if(Kr[ae])return;Kr[ae]=!0;var pe="";h&&h._owner&&h._owner!==qt.current&&(pe=" It was passed a child from "+Ce(h._owner.type)+"."),Ft(h),De('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ae,pe),Ft(null)}}function Zr(h,$){{if(typeof h!="object")return;if(we(h))for(var ae=0;ae<h.length;ae++){var pe=h[ae];Sa(pe)&&Sr(pe,$)}else if(Sa(h))h._store&&(h._store.validated=!0);else if(h){var p=cn(h);if(typeof p=="function"&&p!==h.entries)for(var R=p.call(h),T;!(T=R.next()).done;)Sa(T.value)&&Sr(T.value,$)}}}function va(h){{var $=h.type;if($==null||typeof $=="string")return;var ae;if(typeof $=="function")ae=$.propTypes;else if(typeof $=="object"&&($.$$typeof===me||$.$$typeof===oe))ae=$.propTypes;else return;if(ae){var pe=Ce($);at(ae,h.props,"prop",pe,h)}else if($.PropTypes!==void 0&&!ir){ir=!0;var p=Ce($);De("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof $.getDefaultProps=="function"&&!$.getDefaultProps.isReactClassApproved&&De("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function jn(h){{for(var $=Object.keys(h.props),ae=0;ae<$.length;ae++){var pe=$[ae];if(pe!=="children"&&pe!=="key"){Ft(h),De("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",pe),Ft(null);break}}h.ref!==null&&(Ft(h),De("Invalid attribute `ref` supplied to `React.Fragment`."),Ft(null))}}var Zn={};function wn(h,$,ae,pe,p,R){{var T=Yt(h);if(!T){var y="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(y+=" 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 E=da();E?y+=E:y+=Ta();var _;h===null?_="null":we(h)?_="array":h!==void 0&&h.$$typeof===D?(_="<"+(Ce(h.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):_=typeof h,De("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,y)}var S=Rn(h,$,ae,p,R);if(S==null)return S;if(T){var V=$.children;if(V!==void 0)if(pe)if(we(V)){for(var B=0;B<V.length;B++)Zr(V[B],h);Object.freeze&&Object.freeze(V)}else De("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 Zr(V,h)}if(te.call($,"key")){var K=Ce(h),Le=Object.keys($).filter(function(kt){return kt!=="key"}),F=Le.length>0?"{key: someKey, "+Le.join(": ..., ")+": ...}":"{key: someKey}";if(!Zn[K+F]){var Ke=Le.length>0?"{"+Le.join(": ..., ")+": ...}":"{}";De(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
2025-09-25 13:41:42 +03:00
<%s key={someKey} {...props} />`,F,K,Ke,K),Zn[K+F]=!0}}return h===Ne?jn(S):va(S),S}}function Aa(h,$,ae){return wn(h,$,ae,!0)}function Tr(h,$,ae){return wn(h,$,ae,!1)}var Er=Tr,Cr=Aa;ul.Fragment=Ne,ul.jsx=Er,ul.jsxs=Cr}(),ul}cm.exports=jS();var v=cm.exports,pm={exports:{}},ef={exports:{}},tf={},mm;function US(){return mm||(mm=1,function(L){/**
* @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.
2025-09-25 13:41:42 +03:00
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var D=!1,ge=5;function Ne(Z,xe){var Qe=Z.length;Z.push(xe),c(Z,xe,Qe)}function Me(Z){return Z.length===0?null:Z[0]}function X(Z){if(Z.length===0)return null;var xe=Z[0],Qe=Z.pop();return Qe!==xe&&(Z[0]=Qe,yt(Z,Qe,0)),xe}function c(Z,xe,Qe){for(var Ct=Qe;Ct>0;){var Bt=Ct-1>>>1,zt=Z[Bt];if(me(zt,xe)>0)Z[Bt]=xe,Z[Ct]=zt,Ct=Bt;else return}}function yt(Z,xe,Qe){for(var Ct=Qe,Bt=Z.length,zt=Bt>>>1;Ct<zt;){var tn=(Ct+1)*2-1,Rn=Z[tn],qt=tn+1,At=Z[qt];if(me(Rn,xe)<0)qt<Bt&&me(At,Rn)<0?(Z[Ct]=At,Z[qt]=xe,Ct=qt):(Z[Ct]=Rn,Z[tn]=xe,Ct=tn);else if(qt<Bt&&me(At,xe)<0)Z[Ct]=At,Z[qt]=xe,Ct=qt;else return}}function me(Z,xe){var Qe=Z.sortIndex-xe.sortIndex;return Qe!==0?Qe:Z.id-xe.id}var ne=1,tt=2,oe=3,ze=4,Q=5;function he(Z,xe){}var W=typeof performance=="object"&&typeof performance.now=="function";if(W){var cn=performance;L.unstable_now=function(){return cn.now()}}else{var gt=Date,De=gt.now();L.unstable_now=function(){return gt.now()-De}}var Oe=1073741823,Lt=-1,O=250,J=5e3,$e=1e4,dt=Oe,vt=[],Yt=[],_e=1,re=null,Ce=oe,ue=!1,pt=!1,le=!1,A=typeof setTimeout=="function"?setTimeout:null,ye=typeof clearTimeout=="function"?clearTimeout:null,Be=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ot(Z){for(var xe=Me(Yt);xe!==null;){if(xe.callback===null)X(Yt);else if(xe.startTime<=Z)X(Yt),xe.sortIndex=xe.expirationTime,Ne(vt,xe);else return;xe=Me(Yt)}}function Et(Z){if(le=!1,ot(Z),!pt)if(Me(vt)!==null)pt=!0,ht(Ot);else{var xe=Me(Yt);xe!==null&&Jt(Et,xe.startTime-Z)}}function Ot(Z,xe){pt=!1,le&&(le=!1,Wt()),ue=!0;var Qe=Ce;try{var Ct;if(!D)return Vt(Z,xe)}finally{re=null,Ce=Qe,ue=!1}}function Vt(Z,xe){var Qe=xe;for(ot(Qe),re=Me(vt);re!==null&&!(re.expirationTime>Qe&&(!Z||Te()));){var Ct=re.callback;if(typeof Ct=="function"){re.callback=null,Ce=re.priorityLevel;var Bt=re.expirationTime<=Qe,zt=Ct(Bt);Qe=L.unstable_now(),typeof zt=="function"?re.callback=zt:re===Me(vt)&&X(vt),ot(Qe)}else X(vt);re=Me(vt)}if(re!==null)return!0;var tn=Me(Yt);return tn!==null&&Jt(Et,tn.startTime-Qe),!1}function je(Z,xe){switch(Z){case ne:case tt:case oe:case ze:case Q:break;default:Z=oe}var Qe=Ce;Ce=Z;try{return xe()}finally{Ce=Qe}}function Ve(Z){var xe;switch(Ce){case ne:case tt:case oe:xe=oe;break;default:xe=Ce;break}var Qe=Ce;Ce=xe;try{return Z()}finally{Ce=Qe}}function Je(Z){var xe=Ce;return function(){var Qe=Ce;Ce=xe;try{return Z.apply(this,arguments)}finally{Ce=Qe}}}function en(Z,xe,Qe){var Ct=L.unstable_now(),Bt;if(typeof Qe=="object"&&Qe!==null){var zt=Qe.delay;typeof zt=="number"&&zt>0?Bt=Ct+zt:Bt=Ct}else Bt=Ct;var tn;switch(Z){case ne:tn=Lt;break;case tt:tn=O;break;case Q:tn=dt;break;case ze:tn=$e;break;case oe:default:tn=J;break}var Rn=Bt+tn,qt={id:_e++,callback:xe,priorityLevel:Z,startTime:Bt,expirationTime:Rn,sortIndex:-1};return Bt>Ct?(qt.sortIndex=Bt,Ne(Yt,qt),Me(vt)===null&&qt===Me(Yt)&&(le?Wt():le=!0,Jt(Et,Bt-Ct))):(qt.sortIndex=Rn,Ne(vt,qt),!pt&&!ue&&(pt=!0,ht(Ot))),qt}function nt(){}function It(){!pt&&!ue&&(pt=!0,ht(Ot))}function mt(){return Me(vt)}function Xe(Z){Z.callback=null}function hn(){return Ce}var Kt=!1,Nn=null,z=-1,te=ge,Ee=-1;function Te(){var Z=L.unstable_now()-Ee;return!(Z<te)}function Pe(){}function at(Z){if(Z<0||Z>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Z>0?te=Math.floor(1e3/Z):te=ge}var Ze=function(){if(Nn!==null){var Z=L.unstable_now();Ee=Z;var xe=!0,Qe=!0;try{Qe=Nn(xe,Z)}finally{Qe?we():(Kt=!1,Nn=null)}}else Kt=!1},we;if(typeof Be=="function")we=function(){Be(Ze)};else if(typeof MessageChannel<"u"){var lt=new MessageChannel,_t=lt.port2;lt.port1.onmessage=Ze,we=function(){_t.postMessage(null)}}else we=function(){A(Ze,0)};function ht(Z){Nn=Z,Kt||(Kt=!0,we())}function Jt(Z,xe)
* @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.
2025-09-25 13:41:42 +03:00
*/return function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var L=Zc(),D=HS(),ge=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ne=!1;function Me(e){Ne=e}function X(e){if(!Ne){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];yt("warn",e,n)}}function c(e){if(!Ne){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];yt("error",e,n)}}function yt(e,t,n){{var a=ge.ReactDebugCurrentFrame,r=a.getStackAddendum();r!==""&&(t+="%s",n=n.concat([r]));var i=n.map(function(o){return String(o)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}}var me=0,ne=1,tt=2,oe=3,ze=4,Q=5,he=6,W=7,cn=8,gt=9,De=10,Oe=11,Lt=12,O=13,J=14,$e=15,dt=16,vt=17,Yt=18,_e=19,re=21,Ce=22,ue=23,pt=24,le=25,A=!0,ye=!1,Be=!1,ot=!1,Et=!1,Ot=!0,Vt=!0,je=!0,Ve=!0,Je=new Set,en={},nt={};function It(e,t){mt(e,t),mt(e+"Capture",t)}function mt(e,t){en[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),en[e]=t;{var n=e.toLowerCase();nt[n]=e,e==="onDoubleClick"&&(nt.ondblclick=e)}for(var a=0;a<t.length;a++)Je.add(t[a])}var Xe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",hn=Object.prototype.hasOwnProperty;function Kt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Nn(e){try{return z(e),!1}catch{return!0}}function z(e){return""+e}function te(e,t){if(Nn(e))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),z(e)}function Ee(e){if(Nn(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Kt(e)),z(e)}function Te(e,t){if(Nn(e))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),z(e)}function Pe(e,t){if(Nn(e))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),z(e)}function at(e){if(Nn(e))return c("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(e)),z(e)}function Ze(e){if(Nn(e))return c("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(e)),z(e)}var we=0,lt=1,_t=2,ht=3,Jt=4,Wt=5,fa=6,In=":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",Z=In+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("^["+In+"]["+Z+"]*$"),Qe={},Ct={};function Bt(e){return hn.call(Ct,e)?!0:hn.call(Qe,e)?!1:xe.test(e)?(Ct[e]=!0,!0):(Qe[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function zt(e,t,n){return t!==null?t.type===we:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function tn(e,t,n,a){if(n!==null&&n.type===we)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function Rn(e,t,n,a){if(t===null||typeof t>"u"||tn(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case ht:return!t;case Jt:return t===!1;case Wt:return isNaN(t);case fa:return isNaN(t)||t<1}return!1}function qt(e){return Ft.hasOwnProperty(e)?Ft[e]:null}function At(e,t,n,a,r,i,o){this.acceptsBooleans=t===_t||t===ht||t===Jt,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Ft={},ir=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","su
`+lo+e}}var ea=!1,Wn;{var Rr=typeof WeakMap=="function"?WeakMap:Map;Wn=new Rr}function wr(e,t){if(!e||ea)return"";{var n=Wn.get(e);if(n!==void 0)return n}var a;ea=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=Pa.current,Pa.current=null,$t();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(M){a=M}Reflect.construct(e,[],o)}else{try{o.call()}catch(M){a=M}e.call(o.prototype)}}else{try{throw Error()}catch(M){a=M}e()}}catch(M){if(M&&a&&typeof M.stack=="string"){for(var l=M.stack.split(`
`),u=a.stack.split(`
`),f=l.length-1,d=u.length-1;f>=1&&d>=0&&l[f]!==u[d];)d--;for(;f>=1&&d>=0;f--,d--)if(l[f]!==u[d]){if(f!==1||d!==1)do if(f--,d--,d<0||l[f]!==u[d]){var b=`
2025-09-25 13:41:42 +03:00
`+l[f].replace(" at new "," at ");return e.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",e.displayName)),typeof e=="function"&&Wn.set(e,b),b}while(f>=1&&d>=0);break}}}finally{ea=!1,Pa.current=i,Ea(),Error.prepareStackTrace=r}var g=e?e.displayName||e.name:"",w=g?Ca(g):"";return typeof e=="function"&&Wn.set(e,w),w}function ln(e,t,n){return wr(e,!0)}function xt(e,t,n){return wr(e,!1)}function Ya(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function xa(e,t,n){if(e==null)return"";if(typeof e=="function")return wr(e,Ya(e));if(typeof e=="string")return Ca(e);switch(e){case ae:return Ca("Suspense");case pe:return Ca("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case $:return xt(e.render);case p:return xa(e.type,t,n);case R:{var a=e,r=a._payload,i=a._init;try{return xa(i(r),t,n)}catch{}}}return""}function Di(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case Q:return Ca(e.type);case dt:return Ca("Lazy");case O:return Ca("Suspense");case _e:return Ca("SuspenseList");case me:case tt:case $e:return xt(e.type);case Oe:return xt(e.type.render);case ne:return ln(e.type);default:return""}}function _i(e){try{var t="",n=e;do t+=Di(n),n=n.return;while(n);return t}catch(a){return`
Error generating stack: `+a.message+`
2025-09-25 13:41:42 +03:00
`+a.stack}}function qu(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function sl(e){return e.displayName||"Context"}function Rt(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Aa:return"Fragment";case wn:return"Portal";case Er:return"Profiler";case Tr:return"StrictMode";case ae:return"Suspense";case pe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case h:var t=e;return sl(t)+".Consumer";case Cr:var n=e;return sl(n._context)+".Provider";case $:return qu(e,e.render,"ForwardRef");case p:var a=e.displayName||null;return a!==null?a:Rt(e.type)||"Memo";case R:{var r=e,i=r._payload,o=r._init;try{return Rt(o(i))}catch{return null}}}return null}function nf(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function Dr(e){return e.displayName||"Context"}function Ge(e){var t=e.tag,n=e.type;switch(t){case pt:return"Cache";case gt:var a=n;return Dr(a)+".Consumer";case De:var r=n;return Dr(r._context)+".Provider";case Yt:return"DehydratedFragment";case Oe:return nf(n,n.render,"ForwardRef");case W:return"Fragment";case Q:return n;case ze:return"Portal";case oe:return"Root";case he:return"Text";case dt:return Rt(n);case cn:return n===Tr?"StrictMode":"Mode";case Ce:return"Offscreen";case Lt:return"Profiler";case re:return"Scope";case O:return"Suspense";case _e:return"SuspenseList";case le:return"TracingMarker";case ne:case me:case vt:case tt:case J:case $e:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var cl=ge.ReactDebugCurrentFrame,ta=null,ki=!1;function ei(){{if(ta===null)return null;var e=ta._debugOwner;if(e!==null&&typeof e<"u")return Ge(e)}return null}function af(){return ta===null?"":_i(ta)}function kn(){cl.getCurrentStack=null,ta=null,ki=!1}function nn(e){cl.getCurrentStack=e===null?null:af,ta=e,ki=!1}function Gu(){return ta}function ja(e){ki=e}function na(e){return""+e}function Ia(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ze(e),e;default:return""}}var rf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function fl(e,t){rf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||c("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`."),t.onChange||t.readOnly||t.disabled||t.checked==null||c("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 Xu(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dl(e){return e._valueTracker}function uo(e){e._valueTracker=null}function of(e){var t="";return e&&(Xu(e)?t=e.checked?"true":"false":t=e.value),t}function ti(e){var t=Xu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Ze(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof n>"u"||typeof n.get!="function"||typeof n.set!="function")){var r=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){Ze(l),a=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(l){Ze(l),a=""+l},stopTracking:function(){uo(e),delete e[t]}};return o}}function Mi(e){dl(e)||(e._valueTracker=ti(e))}function vl(e){if(!e)return!1;var t=dl(e);if(!t)return!0;var n=t.getValue(),a=of(e);return a!==n?(t.setValue(a),!0):!1}function _r(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.bo
2025-09-25 13:41:42 +03:00
Check the render method of \``+e+"`.":""}var Li=["value","defaultValue"];function ml(e){{fl("select",e);for(var t=0;t<Li.length;t++){var n=Li[t];if(e[n]!=null){var a=rt(e[n]);e.multiple&&!a?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,dn()):!e.multiple&&a&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,dn())}}}}function kr(e,t,n,a){var r=e.options;if(t){for(var i=n,o={},l=0;l<i.length;l++)o["$"+i[l]]=!0;for(var u=0;u<r.length;u++){var f=o.hasOwnProperty("$"+r[u].value);r[u].selected!==f&&(r[u].selected=f),f&&a&&(r[u].defaultSelected=!0)}}else{for(var d=na(Ia(n)),b=null,g=0;g<r.length;g++){if(r[g].value===d){r[g].selected=!0,a&&(r[g].defaultSelected=!0);return}b===null&&!r[g].disabled&&(b=r[g])}b!==null&&(b.selected=!0)}}function hl(e,t){return F({},t,{value:void 0})}function yl(e,t){var n=e;ml(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!an&&(c("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"),an=!0)}function lf(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;a!=null?kr(n,!!t.multiple,a,!1):t.defaultValue!=null&&kr(n,!!t.multiple,t.defaultValue,!0)}function Zu(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;r!=null?kr(n,!!t.multiple,r,!1):a!==!!t.multiple&&(t.defaultValue!=null?kr(n,!!t.multiple,t.defaultValue,!0):kr(n,!!t.multiple,t.multiple?[]:"",!1))}function uf(e,t){var n=e,a=t.value;a!=null&&kr(n,!!t.multiple,a,!1)}var wm=!1;function sf(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=F({},t,{value:void 0,defaultValue:void 0,children:na(n._wrapperState.initialValue)});return a}function Dm(e,t){var n=e;fl("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!wm&&(c("%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",ei()||"A component"),wm=!0);var a=t.value;if(a==null){var r=t.children,i=t.defaultValue;if(r!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(i!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(rt(r)){if(r.length>1)throw new Error("<textarea> can only have at most one child.");r=r[0]}i=r}}i==null&&(i=""),a=i}n._wrapperState={initialValue:Ia(a)}}function _m(e,t){var n=e,a=Ia(t.value),r=Ia(t.defaultValue);if(a!=null){var i=na(a);i!==n.value&&(n.value=i),t.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)}r!=null&&(n.defaultValue=na(r))}function km(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function tT(e,t){_m(e,t)}var Mr="http://www.w3.org/1999/xhtml",nT="http://www.w3.org/1998/Math/MathML",cf="http://www.w3.org/2000/svg";function ff(e){switch(e){case"svg":return cf;case"math":return nT;default:return Mr}}function df(e,t){return e==null||e===Mr?ff(t):e===cf&&t==="foreignObject"?Mr:e}var aT=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e},es,Mm=aT(function(e,t){if(e.namespaceURI===cf&&!("innerHTML"in e)){es=es||document.createElement("div"),es.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=es.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),pa=1,Lr=3,vn=8,Or=9,vf=11,ts=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Lr){n.nodeValue=t;return}}e.textContent=t},r
* 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
2025-09-25 13:41:42 +03:00
*/function lC(e){if(!Xe)return!1;var t="on"+e,n=t in document;if(!n){var a=document.createElement("div");a.setAttribute(t,"return;"),n=typeof a[t]=="function"}return n}function uC(){It("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function qh(e,t,n,a){Pm(a);var r=Rs(t,"onChange");if(r.length>0){var i=new pd("onChange","change",null,n,a);e.push({event:i,listeners:r})}}var Yl=null,Il=null;function sC(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function cC(e){var t=[];qh(t,Il,e,gf(e)),qm(fC,t)}function fC(e){fy(e,0)}function Ts(e){var t=Uo(e);if(vl(t))return e}function dC(e,t){if(e==="change")return t}var Gh=!1;Xe&&(Gh=lC("input")&&(!document.documentMode||document.documentMode>9));function vC(e,t){Yl=e,Il=t,Yl.attachEvent("onpropertychange",Qh)}function Xh(){Yl&&(Yl.detachEvent("onpropertychange",Qh),Yl=null,Il=null)}function Qh(e){e.propertyName==="value"&&Ts(Il)&&cC(e)}function pC(e,t,n){e==="focusin"?(Xh(),vC(t,n)):e==="focusout"&&Xh()}function mC(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ts(Il)}function hC(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function yC(e,t){if(e==="click")return Ts(t)}function gC(e,t){if(e==="input"||e==="change")return Ts(t)}function bC(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ue(e,"number",e.value)}function SC(e,t,n,a,r,i,o){var l=n?Uo(n):window,u,f;if(sC(l)?u=dC:Wh(l)?Gh?u=gC:(u=mC,f=pC):hC(l)&&(u=yC),u){var d=u(t,n);if(d){qh(e,d,a,r);return}}f&&f(t,l,n),t==="focusout"&&bC(l)}function TC(){mt("onMouseEnter",["mouseout","mouseover"]),mt("onMouseLeave",["mouseout","mouseover"]),mt("onPointerEnter",["pointerout","pointerover"]),mt("onPointerLeave",["pointerout","pointerover"])}function EC(e,t,n,a,r,i,o){var l=t==="mouseover"||t==="pointerover",u=t==="mouseout"||t==="pointerout";if(l&&!VT(a)){var f=a.relatedTarget||a.fromElement;if(f&&(Ii(f)||ou(f)))return}if(!(!u&&!l)){var d;if(r.window===r)d=r;else{var b=r.ownerDocument;b?d=b.defaultView||b.parentWindow:d=window}var g,w;if(u){var M=a.relatedTarget||a.toElement;if(g=n,w=M?Ii(M):null,w!==null){var j=Hi(w);(w!==j||w.tag!==Q&&w.tag!==he)&&(w=null)}}else g=null,w=n;if(g!==w){var ie=jh,ke="onMouseLeave",Re="onMouseEnter",ft="mouse";(t==="pointerout"||t==="pointerover")&&(ie=Hh,ke="onPointerLeave",Re="onPointerEnter",ft="pointer");var it=g==null?d:Uo(g),C=w==null?d:Uo(w),U=new ie(ke,ft+"leave",g,a,r);U.target=it,U.relatedTarget=C;var x=null,I=Ii(r);if(I===n){var de=new ie(Re,ft+"enter",w,a,r);de.target=C,de.relatedTarget=it,x=de}WC(e,U,x,g,w)}}}function CC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ka=typeof Object.is=="function"?Object.is:CC;function Wl(e,t){if(ka(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=0;r<n.length;r++){var i=n[r];if(!hn.call(t,i)||!ka(e[i],t[i]))return!1}return!0}function Kh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xC(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Jh(e,t){for(var n=Kh(e),a=0,r=0;n;){if(n.nodeType===Lr){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Kh(xC(n))}}function RC(e){var t=e.ownerDocument,n=t&&t.defaultView||window,a=n.getSelection&&n.getSelection();if(!a||a.rangeCount===0)return null;var r=a.anchorNode,i=a.anchorOffset,o=a.focusNode,l=a.focusOffset;try{r.nodeType,o.nodeType}catch{return null}return wC(e,r,i,o,l)}function wC(e,t,n,a,r){var i=0,o=-1,l=-1,u=0,f=0,d=e,b=null;e:for(;;){for(var g=null;d===t&&(n===0||d.nodeType===Lr)&&(o=i+n),d===a&&(r===0||d.nodeType===Lr)&&(l=i+r),d.nodeType===Lr&&(i+=d.nodeValue.length),(g=d.firstChild)!==null;)b=d,d=g;for(;;){if(d===e)break e;if(b===t&&++u===n&&(o=i),b===a&&++f===r&&(l=i),(g=d.nextSibling)!==null)break;d=b,b=d.parentNode}d=g}return o===-1||l===-1?null:{start:o,end:l}}function DC(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelecti
`).replace(XC,"")}function Ls(e,t,n,a){var r=Ms(t),i=Ms(e);if(i!==r&&(a&&(ma||(ma=!0,c('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&A))throw new Error("Text content does not match server-rendered HTML.")}function by(e){return e.nodeType===Or?e:e.ownerDocument}function QC(){}function Os(e){e.onclick=QC}function KC(e,t,n,a,r){for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];if(i===Yi)o&&Object.freeze(o),jm(t,o);else if(i===Kl){var l=o?o[Ds]:void 0;l!=null&&Mm(t,l)}else if(i===Pi)if(typeof o=="string"){var u=e!=="textarea"||o!=="";u&&ts(t,o)}else typeof o=="number"&&ts(t,""+o);else i===ws||i===si||i===my||(en.hasOwnProperty(i)?o!=null&&(typeof o!="function"&&ks(i,o),i==="onScroll"&&Zt("scroll",t)):o!=null&&jn(t,i,o,r))}}function JC(e,t,n,a){for(var r=0;r<t.length;r+=2){var i=t[r],o=t[r+1];i===Yi?jm(e,o):i===Kl?Mm(e,o):i===Pi?ts(e,o):jn(e,i,o,a)}}function ZC(e,t,n,a){var r,i=by(n),o,l=a;if(l===Mr&&(l=ff(e)),l===Mr){if(r=Oi(e,t),!r&&e!==e.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var u=i.createElement("div");u.innerHTML="<script><\/script>";var f=u.firstChild;o=u.removeChild(f)}else if(typeof t.is=="string")o=i.createElement(e,{is:t.is});else if(o=i.createElement(e),e==="select"){var d=o;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else o=i.createElementNS(l,e);return l===Mr&&!r&&Object.prototype.toString.call(o)==="[object HTMLUnknownElement]"&&!hn.call(Dd,e)&&(Dd[e]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),o}function ex(e,t){return by(t).createTextNode(e)}function tx(e,t,n,a){var r=Oi(t,n);_s(t,n);var i;switch(t){case"dialog":Zt("cancel",e),Zt("close",e),i=n;break;case"iframe":case"object":case"embed":Zt("load",e),i=n;break;case"video":case"audio":for(var o=0;o<Gl.length;o++)Zt(Gl[o],e);i=n;break;case"source":Zt("error",e),i=n;break;case"img":case"image":case"link":Zt("error",e),Zt("load",e),i=n;break;case"details":Zt("toggle",e),i=n;break;case"input":Ju(e,n),i=pl(e,n),Zt("invalid",e);break;case"option":Nt(e,n),i=n;break;case"select":yl(e,n),i=hl(e,n),Zt("invalid",e);break;case"textarea":Dm(e,n),i=sf(e,n),Zt("invalid",e);break;default:i=n}switch(hf(t,i),KC(t,e,a,i,r),t){case"input":Mi(e),k(e,n,!1);break;case"textarea":Mi(e),km(e);break;case"option":Gt(e,n);break;case"select":lf(e,n);break;default:typeof i.onClick=="function"&&Os(e);break}}function nx(e,t,n,a,r){_s(t,a);var i=null,o,l;switch(t){case"input":o=pl(e,n),l=pl(e,a),i=[];break;case"select":o=hl(e,n),l=hl(e,a),i=[];break;case"textarea":o=sf(e,n),l=sf(e,a),i=[];break;default:o=n,l=a,typeof o.onClick!="function"&&typeof l.onClick=="function"&&Os(e);break}hf(t,l);var u,f,d=null;for(u in o)if(!(l.hasOwnProperty(u)||!o.hasOwnProperty(u)||o[u]==null))if(u===Yi){var b=o[u];for(f in b)b.hasOwnProperty(f)&&(d||(d={}),d[f]="")}else u===Kl||u===Pi||u===ws||u===si||u===my||(en.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in l){var g=l[u],w=o!=null?o[u]:void 0;if(!(!l.hasOwnProperty(u)||g===w||g==null&&w==null))if(u===Yi)if(g&&Object.freeze(g),w){for(f in w)w.hasOwnProperty(f)&&(!g||!g.hasOwnProperty(f))&&(d||(d={}),d[f]="");for(f in g)g.hasOwnProperty(f)&&w[f]!==g[f]&&(d||(d={}),d[f]=g[f])}else d||(i||(i=[]),i.push(u,d)),d=g;else if(u===Kl){var M=g?g[Ds]:void 0,j=w?w[Ds]:void 0;M!=null&&j!==M&&(i=i||[]).push(u,M)}else u===Pi?(typeof g=="string"||typeof g=="number")&&(i=i||[]).push(u,""+g):u===ws||u===si||(en.hasOwnProperty(u)?(g!=null&&(typeof g!="function"&&ks(u,g),u==="onScroll"&&Zt("scroll",e)),!i&&w!==g&&(i=[])):(i=i||[]).push(u,g))}return d&&(ET(d,l[Yi]),(i=i||[]).push(Yi,d)),i}function ax(e,t,n,a,r){n==="input"&&r.type==="radio"&&r.name!=null&&s(e,r);var i=Oi(n,a),o=Oi(n,r);switch(JC(e,t,i,o),n){case"input":m(e,r);break;case"textarea":_m(e,r);break;case"select":Zu(e,r);break}}function rx(e){{var t=e.toLowerCase();return ns.hasOwnProperty(t)&&ns[t]||null}}function ix(e,t,n,a,r,i,o){var l,u;switch(l=Oi(t,n),_s(t,n),t){case"dialog":Zt("cancel
* Move code with side effects to componentDidMount, and set initial state in the constructor.
Please update the following components: %s`,o)}if(a.size>0){var l=Qi(a);c(`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`,l)}if(i.size>0){var u=Qi(i);c(`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`,u)}if(e.size>0){var f=Qi(e);X(`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`,f)}if(n.size>0){var d=Qi(n);X(`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`,d)}if(r.size>0){var b=Qi(r);X(`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`,b)}};var Xs=new Map,Iy=new Set;Qa.recordLegacyContextWarning=function(e,t){var n=V1(e);if(n===null){c("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(!Iy.has(e.type)){var a=Xs.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Xs.set(n,a)),a.push(e))}},Qa.flushLegacyContextWarning=function(){Xs.forEach(function(e,t){if(e.length!==0){var n=e[0],a=new Set;e.forEach(function(i){a.add(Ge(i)||"Component"),Iy.add(i.type)});var r=Qi(a);try{nn(n),c(`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
2025-09-25 13:41:42 +03:00
Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)}finally{kn()}}})},Qa.discardPendingWarnings=function(){lu=[],uu=[],su=[],cu=[],fu=[],du=[],Xs=new Map}}var tv,nv,av,rv,iv,Wy=function(e,t){};tv=!1,nv=!1,av={},rv={},iv={},Wy=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=Ge(t)||"Component";rv[n]||(rv[n]=!0,c('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function B1(e){return e.prototype&&e.prototype.isReactComponent}function vu(e,t,n){var a=n.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&un||Ot)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==ne)&&!(typeof n.type=="function"&&!B1(n.type))&&n._owner){var r=Ge(e)||"Component";av[r]||(c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r,a),av[r]=!0)}if(n._owner){var i=n._owner,o;if(i){var l=i;if(l.tag!==ne)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");o=l.stateNode}if(!o)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var u=o;Te(a,"ref");var f=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===f)return t.ref;var d=function(b){var g=u.refs;b===null?delete g[f]:g[f]=b};return d._stringRef=f,d}else{if(typeof a!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+a+`) but no owner was set. This could happen for one of the following reasons:
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
2025-09-25 13:41:42 +03:00
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function Qs(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Ks(e){{var t=Ge(e)||"Component";if(iv[t])return;iv[t]=!0,c("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 qy(e){var t=e._payload,n=e._init;return n(t)}function Gy(e){function t(C,U){if(e){var x=C.deletions;x===null?(C.deletions=[U],C.flags|=Ai):x.push(U)}}function n(C,U){if(!e)return null;for(var x=U;x!==null;)t(C,x),x=x.sibling;return null}function a(C,U){for(var x=new Map,I=U;I!==null;)I.key!==null?x.set(I.key,I):x.set(I.index,I),I=I.sibling;return x}function r(C,U){var x=oo(C,U);return x.index=0,x.sibling=null,x}function i(C,U,x){if(C.index=x,!e)return C.flags|=Km,U;var I=C.alternate;if(I!==null){var de=I.index;return de<U?(C.flags|=pn,U):de}else return C.flags|=pn,U}function o(C){return e&&C.alternate===null&&(C.flags|=pn),C}function l(C,U,x,I){if(U===null||U.tag!==he){var de=em(x,C.mode,I);return de.return=C,de}else{var se=r(U,x);return se.return=C,se}}function u(C,U,x,I){var de=x.type;if(de===Aa)return d(C,U,x.props.children,I,x.key);if(U!==null&&(U.elementType===de||Zb(U,x)||typeof de=="object"&&de!==null&&de.$$typeof===R&&qy(de)===U.type)){var se=r(U,x.props);return se.ref=vu(C,U,x),se.return=C,se._debugSource=x._source,se._debugOwner=x._owner,se}var Fe=Zp(x,C.mode,I);return Fe.ref=vu(C,U,x),Fe.return=C,Fe}function f(C,U,x,I){if(U===null||U.tag!==ze||U.stateNode.containerInfo!==x.containerInfo||U.stateNode.implementation!==x.implementation){var de=tm(x,C.mode,I);return de.return=C,de}else{var se=r(U,x.children||[]);return se.return=C,se}}function d(C,U,x,I,de){if(U===null||U.tag!==W){var se=Ri(x,C.mode,I,de);return se.return=C,se}else{var Fe=r(U,x);return Fe.return=C,Fe}}function b(C,U,x){if(typeof U=="string"&&U!==""||typeof U=="number"){var I=em(""+U,C.mode,x);return I.return=C,I}if(typeof U=="object"&&U!==null){switch(U.$$typeof){case Zn:{var de=Zp(U,C.mode,x);return de.ref=vu(C,null,U),de.return=C,de}case wn:{var se=tm(U,C.mode,x);return se.return=C,se}case R:{var Fe=U._payload,qe=U._init;return b(C,qe(Fe),x)}}if(rt(U)||Le(U)){var Ht=Ri(U,C.mode,x,null);return Ht.return=C,Ht}Qs(C,U)}return typeof U=="function"&&Ks(C),null}function g(C,U,x,I){var de=U!==null?U.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return de!==null?null:l(C,U,""+x,I);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Zn:return x.key===de?u(C,U,x,I):null;case wn:return x.key===de?f(C,U,x,I):null;case R:{var se=x._payload,Fe=x._init;return g(C,U,Fe(se),I)}}if(rt(x)||Le(x))return de!==null?null:d(C,U,x,I,null);Qs(C,x)}return typeof x=="function"&&Ks(C),null}function w(C,U,x,I,de){if(typeof I=="string"&&I!==""||typeof I=="number"){var se=C.get(x)||null;return l(U,se,""+I,de)}if(typeof I=="object"&&I!==null){switch(I.$$typeof){case Zn:{var Fe=C.get(I.key===null?x:I.key)||null;return u(U,Fe,I,de)}case wn:{var qe=C.get(I.key===null?x:I.key)||null;return f(U,qe,I,de)}case R:var Ht=I._payload,St=I._init;return w(C,U,x,St(Ht),de)}if(rt(I)||Le(I)){var fn=C.get(x)||null;return d(U,fn,I,de,null)}Qs(U,I)}return typeof I=="function"&&Ks(U),null}function M(C,U,x){{if(typeof C!="object"||C===null)return U;switch(C.$$typeof){case Zn:case wn:Wy(C,x);var I=C.key;if(typeof I!="string")break;if(U===null){U=new Set,U.add(I);break}if(!U.has(I)){U.add(I);break}c("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",I);break;case R:var de=C._payload,se=C._init;M(se(de),U,x);break}}return U}function j(C,U,x,I){for(var d
2025-09-19 13:12:47 +03:00
`,n+=l}c(`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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`,t,n)}}}function Qn(){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 Rv(e,t){if(xv)return!1;if(t===null)return c("%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.",H),!1;e.length!==t.length&&c(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
Previous: %s
2025-09-25 13:41:42 +03:00
Incoming: %s`,H,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!ka(e[n],t[n]))return!1;return!0}function Qo(e,t,n,a,r,i){Zi=i,Ut=t,Fa=e!==null?e._debugHookTypes:null,gi=-1,xv=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=P,e!==null&&e.memoizedState!==null?fe.current=Mg:Fa!==null?fe.current=kg:fe.current=_g;var o=n(a,r);if(gu){var l=0;do{if(gu=!1,bu=0,l>=aR)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,xv=!1,bn=null,Sn=null,t.updateQueue=null,gi=-1,fe.current=Lg,o=n(a,r)}while(gu)}fe.current=xc,t._debugHookTypes=Fa;var u=bn!==null&&bn.next!==null;if(Zi=P,Ut=null,bn=null,Sn=null,H=null,Fa=null,gi=-1,e!==null&&(e.flags&jr)!==(t.flags&jr)&&(e.mode&st)!==Ae&&c("Internal React error: Expected static flag was missing. Please notify the React team."),fc=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o}function Ko(){var e=bu!==0;return bu=0,e}function sg(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ur)!==Ae?t.flags&=-50333701:t.flags&=-2053,e.lanes=ds(e.lanes,n)}function cg(){if(fe.current=xc,fc){for(var e=Ut.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}fc=!1}Zi=P,Ut=null,bn=null,Sn=null,Fa=null,gi=-1,H=null,Cg=!1,gu=!1,bu=0}function vr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Sn===null?Ut.memoizedState=Sn=e:Sn=Sn.next=e,Sn}function Va(){var e;if(bn===null){var t=Ut.alternate;t!==null?e=t.memoizedState:e=null}else e=bn.next;var n;if(Sn===null?n=Ut.memoizedState:n=Sn.next,n!==null)Sn=n,n=Sn.next,bn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");bn=e;var a={memoizedState:bn.memoizedState,baseState:bn.baseState,baseQueue:bn.baseQueue,queue:bn.queue,next:null};Sn===null?Ut.memoizedState=Sn=a:Sn=Sn.next=a}return Sn}function fg(){return{lastEffect:null,stores:null}}function wv(e,t){return typeof t=="function"?t(e):t}function Dv(e,t,n){var a=vr(),r;n!==void 0?r=n(t):r=t,a.memoizedState=a.baseState=r;var i={pending:null,interleaved:null,lanes:P,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=i;var o=i.dispatch=uR.bind(null,Ut,i);return[a.memoizedState,o]}function _v(e,t,n){var a=Va(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=bn,o=i.baseQueue,l=r.pending;if(l!==null){if(o!==null){var u=o.next,f=l.next;o.next=f,l.next=u}i.baseQueue!==o&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=o=l,r.pending=null}if(o!==null){var d=o.next,b=i.baseState,g=null,w=null,M=null,j=d;do{var ie=j.lane;if(Do(Zi,ie)){if(M!==null){var Re={lane:On,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null};M=M.next=Re}if(j.hasEagerState)b=j.eagerState;else{var ft=j.action;b=e(b,ft)}}else{var ke={lane:ie,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null};M===null?(w=M=ke,g=b):M=M.next=ke,Ut.lanes=et(Ut.lanes,ie),Vu(ie)}j=j.next}while(j!==null&&j!==d);M===null?g=b:M.next=w,ka(b,a.memoizedState)||_u(),a.memoizedState=b,a.baseState=g,a.baseQueue=M,r.lastRenderedState=b}var it=r.interleaved;if(it!==null){var C=it;do{var U=C.lane;Ut.lanes=et(Ut.lanes,U),Vu(U),C=C.next}while(C!==it)}else o===null&&(r.lanes=P);var x=r.dispatch;return[a.memoizedState,x]}function kv(e,t,n){var a=Va(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=r.dispatch,o=r.pending,l=a.memoizedState;if(o!==null){r.pending=null;var u=o.next,f=u;do{var d=f.action;l=e(l,d),f=f.next}while(f!==u);ka(l,a.memoizedState)||_u(),a.memoizedState=l,a.baseQueue===null&&(a.baseState=l),r.lastRenderedState=l}return[l,i]}function h_(e,t,n){}function y_(e,t,n){}function Mv(e,t,n){var a=Ut,r=vr(),i,o=Hn();if(o){if(n===void 0)throw new Error("Missing getServerSnapshot, which is r
2025-09-25 13:41:42 +03:00
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),t.contextTypes&&!xu.has(t)&&(e.mode&un)===Ae&&(xu.add(t),c(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
2025-09-25 13:41:42 +03:00
Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),a.contextTypes&&c("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",r),t.contextType&&t.contextTypes&&!tp.has(t)&&(tp.add(t),c("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),typeof a.componentShouldUpdate=="function"&&c("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",r),t.prototype&&t.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&c("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Rt(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&c("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),typeof a.componentDidReceiveProps=="function"&&c("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",r),typeof a.componentWillRecieveProps=="function"&&c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),typeof a.UNSAFE_componentWillRecieveProps=="function"&&c("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var o=a.props!==n;a.props!==void 0&&o&&c("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",r,r),a.defaultProps&&c("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",r,r),typeof a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!Kv.has(t)&&(Kv.add(t),c("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Rt(t))),typeof a.getDerivedStateFromProps=="function"&&c("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof a.getDerivedStateFromError=="function"&&c("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof t.getSnapshotBeforeUpdate=="function"&&c("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r);var l=a.state;l&&(typeof l!="object"||rt(l))&&c("%s.state: must be set to an object or null",r),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&c("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}}function Vg(e,t){t.updater=rp,e.stateNode=t,ZT(t,e),t._reactInternalInstance=Gv}function Bg(e,t,n){var a=!1,r=Ma,i=Ma,o=t.contextType;if("contextType"in t){var l=o===null||o!==void 0&&o.$$typeof===h&&o._context===void 0;if(!l&&!np.has(t)){np.add(t);var u="";o===void 0?u=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof o!="object"?u=" However, it is set to a "+typeof o+".":o.$$typeof===Cr?u=" Did you accidentally pass the Context.Provider instead?":o._context!==void 0?u=" Did you accidentally pass the Context.Consumer instead?":u=" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",c("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Rt(t)||"Component",u)}
%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`,ie,ke,w!==null?`
`+w:"",M!==null?`
`+M:"",j!==null?`
2025-09-25 13:41:42 +03:00
`+j:""))}}}return a&&My(e,r,i),d}function pR(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(c("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ge(e)||"Component"),rp.enqueueReplaceState(t,t.state,null))}function $g(e,t,n,a){var r=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==r){{var i=Ge(e)||"Component";Xv.has(i)||(Xv.add(i),c("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i))}rp.enqueueReplaceState(t,t.state,null)}}function ip(e,t,n,a){vR(e,t,n);var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},pv(e);var i=t.contextType;if(typeof i=="object"&&i!==null)r.context=mn(i);else{var o=Ho(e,t,!0);r.context=zo(e,o)}{if(r.state===n){var l=Rt(t)||"Component";ep.has(l)||(ep.add(l),c("%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.",l))}e.mode&un&&Qa.recordLegacyContextWarning(e,r),Qa.recordUnsafeLifecycleWarnings(e,r)}r.state=e.memoizedState;var u=t.getDerivedStateFromProps;if(typeof u=="function"&&(ap(e,t,u,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof r.getSnapshotBeforeUpdate!="function"&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(pR(e,r),oc(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"){var f=wt;f|=Ui,(e.mode&ur)!==Ae&&(f|=ai),e.flags|=f}}function mR(e,t,n,a){var r=e.stateNode,i=e.memoizedProps;r.props=i;var o=r.context,l=t.contextType,u=Ma;if(typeof l=="object"&&l!==null)u=mn(l);else{var f=Ho(e,t,!0);u=zo(e,f)}var d=t.getDerivedStateFromProps,b=typeof d=="function"||typeof r.getSnapshotBeforeUpdate=="function";!b&&(typeof r.UNSAFE_componentWillReceiveProps=="function"||typeof r.componentWillReceiveProps=="function")&&(i!==n||o!==u)&&$g(e,r,n,u),ag();var g=e.memoizedState,w=r.state=g;if(oc(e,n,r,a),w=e.memoizedState,i===n&&g===w&&!Bs()&&!lc()){if(typeof r.componentDidMount=="function"){var M=wt;M|=Ui,(e.mode&ur)!==Ae&&(M|=ai),e.flags|=M}return!1}typeof d=="function"&&(ap(e,t,d,n),w=e.memoizedState);var j=lc()||Fg(e,t,i,n,g,w,u);if(j){if(!b&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"){var ie=wt;ie|=Ui,(e.mode&ur)!==Ae&&(ie|=ai),e.flags|=ie}}else{if(typeof r.componentDidMount=="function"){var ke=wt;ke|=Ui,(e.mode&ur)!==Ae&&(ke|=ai),e.flags|=ke}e.memoizedProps=n,e.memoizedState=w}return r.props=n,r.state=w,r.context=u,j}function hR(e,t,n,a,r){var i=t.stateNode;ng(e,t);var o=t.memoizedProps,l=t.type===t.elementType?o:Za(t.type,o);i.props=l;var u=t.pendingProps,f=i.context,d=n.contextType,b=Ma;if(typeof d=="object"&&d!==null)b=mn(d);else{var g=Ho(t,n,!0);b=zo(t,g)}var w=n.getDerivedStateFromProps,M=typeof w=="function"||typeof i.getSnapshotBeforeUpdate=="function";!M&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(o!==u||f!==b)&&$g(t,i,a,b),ag();var j=t.memoizedState,ie=i.state=j;if(oc(t,a,i,r),ie=t.memoizedState,o===u&&j===ie&&!Bs()&&!lc()&&!Be)return typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||j!==e.memoizedState)&&(t.flags|=wt),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||j!==e.memoizedState)&&(t.flags|=So),!1;typeof w=="function"&&(ap(t,n,w,a),ie=t.memoizedState);var ke=lc()||Fg(t,n,l,a,j,ie,b)||Be;return ke?(!M&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var d=Ge(e)||"Anonymous";f="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+d+".")}var b=u+`
`+o+`
2025-09-25 13:41:42 +03:00
`+(""+f);console.error(b)}catch(g){setTimeout(function(){throw g})}}var gR=typeof WeakMap=="function"?WeakMap:Map;function Pg(e,t,n){var a=Yr(Qt,n);a.tag=dv,a.payload={element:null};var r=t.value;return a.callback=function(){cD(r),lp(e,t)},a}function up(e,t,n){var a=Yr(Qt,n);a.tag=dv;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;a.payload=function(){return r(i)},a.callback=function(){eS(e),lp(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(a.callback=function(){eS(e),lp(e,t),typeof r!="function"&&uD(this);var u=t.value,f=t.stack;this.componentDidCatch(u,{componentStack:f!==null?f:""}),typeof r!="function"&&(wa(e.lanes,Ye)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ge(e)||"Unknown"))}),a}function Yg(e,t,n){var a=e.pingCache,r;if(a===null?(a=e.pingCache=new gR,r=new Set,a.set(t,r)):(r=a.get(t),r===void 0&&(r=new Set,a.set(t,r))),!r.has(n)){r.add(n);var i=fD.bind(null,e,t,n);Wa&&Bu(e,n),t.then(i,i)}}function bR(e,t,n,a){var r=e.updateQueue;if(r===null){var i=new Set;i.add(n),e.updateQueue=i}else r.add(n)}function SR(e,t){var n=e.tag;if((e.mode&st)===Ae&&(n===me||n===Oe||n===$e)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function Ig(e){var t=e;do{if(t.tag===O&&eR(t))return t;t=t.return}while(t!==null);return null}function Wg(e,t,n,a,r){if((e.mode&st)===Ae){if(e===t)e.flags|=ra;else{if(e.flags|=Dt,n.flags|=Df,n.flags&=-52805,n.tag===ne){var i=n.alternate;if(i===null)n.tag=vt;else{var o=Yr(Qt,Ye);o.tag=nc,mi(n,o,Ye)}}n.lanes=et(n.lanes,Ye)}return e}return e.flags|=ra,e.lanes=r,e}function TR(e,t,n,a,r){if(n.flags|=is,Wa&&Bu(e,r),a!==null&&typeof a=="object"&&typeof a.then=="function"){var i=a;SR(n),Hn()&&n.mode&st&&Hy();var o=Ig(t);if(o!==null){o.flags&=~Ar,Wg(o,t,n,e,r),o.mode&st&&Yg(e,i,r),bR(o,e,i);return}else{if(!P0(r)){Yg(e,i,r),Bp();return}var l=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.");a=l}}else if(Hn()&&n.mode&st){Hy();var u=Ig(t);if(u!==null){(u.flags&ra)===He&&(u.flags|=Ar),Wg(u,t,n,e,r),ev(eo(a,n));return}}a=eo(a,n),eD(a);var f=t;do{switch(f.tag){case oe:{var d=a;f.flags|=ra;var b=Ll(r);f.lanes=et(f.lanes,b);var g=Pg(f,d,b);mv(f,g);return}case ne:var w=a,M=f.type,j=f.stateNode;if((f.flags&Dt)===He&&(typeof M.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&!Ib(j))){f.flags|=ra;var ie=Ll(r);f.lanes=et(f.lanes,ie);var ke=up(f,w,ie);mv(f,ke);return}break}f=f.return}while(f!==null)}function ER(){return null}var Ru=ge.ReactCurrentOwner,er=!1,sp,wu,cp,fp,dp,to,vp,Lc,Du;sp={},wu={},cp={},fp={},dp={},to=!1,vp={},Lc={},Du={};function ia(e,t,n,a){e===null?t.child=Xy(t,null,n,a):t.child=$o(t,e.child,n,a)}function CR(e,t,n,a){t.child=$o(t,e.child,null,a),t.child=$o(t,null,n,a)}function qg(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Ga(i,a,"prop",Rt(n))}var o=n.render,l=t.ref,u,f;Yo(t,r),Rl(t);{if(Ru.current=t,ja(!0),u=Qo(e,t,o,a,l,r),f=Ko(),t.mode&un){Ln(!0);try{u=Qo(e,t,o,a,l,r),f=Ko()}finally{Ln(!1)}}ja(!1)}return Co(),e!==null&&!er?(sg(e,t,r),Ir(e,t,r)):(Hn()&&f&&Gd(t),t.flags|=bo,ia(e,t,u,r),t.child)}function Gg(e,t,n,a,r){if(e===null){var i=n.type;if(_D(i)&&n.compare===null&&n.defaultProps===void 0){var o=i;return o=il(i),t.tag=$e,t.type=o,hp(t,i),Xg(e,t,o,a,r)}{var l=i.propTypes;if(l&&Ga(l,a,"prop",Rt(i)),n.defaultProps!==void 0){var u=Rt(i)||"Unknown";Du[u]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Du[u]=!0)}}var f=Jp(n.type,null,a,t,t.mode,r);return f.ref=t.ref,f.return=t,t.child=f,f}{var d=n.type,b=d.propTypes;b&&Ga(b,a,"prop",Rt(d))}var g=e.child,w=Ep(e,r);if(!w){var M=g.memoizedProps,j=n.compare;if(j=j!==null?j:Wl,j(M,a)&&e.ref===t.
2025-09-25 13:41:42 +03:00
Check the render method of \``+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),dp[r]||(dp[r]=!0,c("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var o=Rt(t)||"Unknown";Du[o]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),Du[o]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var l=Rt(t)||"Unknown";fp[l]||(c("%s: Function components do not support getDerivedStateFromProps.",l),fp[l]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var u=Rt(t)||"Unknown";cp[u]||(c("%s: Function components do not support contextType.",u),cp[u]=!0)}}}var yp={dehydrated:null,treeContext:null,retryLane:On};function gp(e){return{baseLanes:e,cachePool:ER(),transitions:null}}function AR(e,t){var n=null;return{baseLanes:et(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function NR(e,t,n,a){if(t!==null){var r=t.memoizedState;if(r===null)return!1}return bv(e,hu)}function jR(e,t){return ds(e.childLanes,t)}function tb(e,t,n){var a=t.pendingProps;YD(t)&&(t.flags|=Dt);var r=Ka.current,i=!1,o=(t.flags&Dt)!==He;if(o||NR(r,e)?(i=!0,t.flags&=~Dt):(e===null||e.memoizedState!==null)&&(r=Z1(r,ug)),r=Wo(r),yi(t,r),e===null){Zd(t);var l=t.memoizedState;if(l!==null){var u=l.dehydrated;if(u!==null)return VR(t,u)}var f=a.children,d=a.fallback;if(i){var b=UR(t,f,d,n),g=t.child;return g.memoizedState=gp(n),t.memoizedState=yp,b}else return bp(t,f)}else{var w=e.memoizedState;if(w!==null){var M=w.dehydrated;if(M!==null)return BR(e,t,o,a,M,w,n)}if(i){var j=a.fallback,ie=a.children,ke=zR(e,t,ie,j,n),Re=t.child,ft=e.child.memoizedState;return Re.memoizedState=ft===null?gp(n):AR(ft,n),Re.childLanes=jR(e,n),t.memoizedState=yp,ke}else{var it=a.children,C=HR(e,t,it,n);return t.memoizedState=null,C}}}function bp(e,t,n){var a=e.mode,r={mode:"visible",children:t},i=Sp(r,a);return i.return=e,e.child=i,i}function UR(e,t,n,a){var r=e.mode,i=e.child,o={mode:"hidden",children:t},l,u;return(r&st)===Ae&&i!==null?(l=i,l.childLanes=P,l.pendingProps=o,e.mode&jt&&(l.actualDuration=0,l.actualStartTime=-1,l.selfBaseDuration=0,l.treeBaseDuration=0),u=Ri(n,r,a,null)):(l=Sp(o,r),u=Ri(n,r,a,null)),l.return=e,u.return=e,l.sibling=u,e.child=l,u}function Sp(e,t,n){return nS(e,t,P,null)}function nb(e,t){return oo(e,t)}function HR(e,t,n,a){var r=e.child,i=r.sibling,o=nb(r,{mode:"visible",children:n});if((t.mode&st)===Ae&&(o.lanes=a),o.return=t,o.sibling=null,i!==null){var l=t.deletions;l===null?(t.deletions=[i],t.flags|=Ai):l.push(i)}return t.child=o,o}function zR(e,t,n,a,r){var i=t.mode,o=e.child,l=o.sibling,u={mode:"hidden",children:n},f;if((i&st)===Ae&&t.child!==o){var d=t.child;f=d,f.childLanes=P,f.pendingProps=u,t.mode&jt&&(f.actualDuration=0,f.actualStartTime=-1,f.selfBaseDuration=o.selfBaseDuration,f.treeBaseDuration=o.treeBaseDuration),t.deletions=null}else f=nb(o,u),f.subtreeFlags=o.subtreeFlags&jr;var b;return l!==null?b=oo(l,a):(b=Ri(a,i,r,null),b.flags|=pn),b.return=t,f.return=t,f.sibling=b,t.child=f,b}function Oc(e,t,n,a){a!==null&&ev(a),$o(t,e.child,null,n);var r=t.pendingProps,i=r.children,o=bp(t,i);return o.flags|=pn,t.memoizedState=null,o}function FR(e,t,n,a,r){var i=t.mode,o={mode:"visible",children:n},l=Sp(o,i),u=Ri(a,i,r,null);return u.flags|=pn,l.return=t,u.return=t,l.sibling=u,t.child=l,(t.mode&st)!==Ae&&$o(t,e.child,null,r),u}function VR(e,t,n){return(e.mode&st)===Ae?(c("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."),e.lanes=Ye):zd(t)?e.lanes=Fi:e.lanes=Ra,null}function BR(e,t,n,a,r,i,o){if(n)if(t.flags&Ar){t.flags&=~Ar;var C=op(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Oc(e,t,o,C)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Dt,null;var U=a.children,x=a.fallba
It looks like you wrote `+u+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
`+u+`(() => {
async function fetchData() {
// You can await here
const response = await MyAPI.getData(someId);
// ...
}
fetchData();
}, [someId]); // Or [] if effect doesn't need props or state
2025-09-25 13:41:42 +03:00
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:f=" You returned: "+l,c("%s must not return anything besides a function, which is used for clean-up.%s",u,f)}}}i=i.next}while(i!==r)}}function uw(e,t){if((t.flags&wt)!==He)switch(t.tag){case Lt:{var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,i=a.onPostCommit,o=Ng(),l=t.alternate===null?"mount":"update";Ag()&&(l="nested-update"),typeof i=="function"&&i(r,l,n,o);var u=t.return;e:for(;u!==null;){switch(u.tag){case oe:var f=u.stateNode;f.passiveEffectDuration+=n;break e;case Lt:var d=u.stateNode;d.passiveEffectDuration+=n;break e}u=u.return}break}}}function sw(e,t,n,a){if((n.flags&xl)!==He)switch(n.tag){case me:case Oe:case $e:{if(!Vn)if(n.mode&jt)try{hr(),Si(gn|yn,n)}finally{mr(n)}else Si(gn|yn,n);break}case ne:{var r=n.stateNode;if(n.flags&wt&&!Vn)if(t===null)if(n.type===n.elementType&&!to&&(r.props!==n.memoizedProps&&c("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.",Ge(n)||"instance"),r.state!==n.memoizedState&&c("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.",Ge(n)||"instance")),n.mode&jt)try{hr(),r.componentDidMount()}finally{mr(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Za(n.type,t.memoizedProps),o=t.memoizedState;if(n.type===n.elementType&&!to&&(r.props!==n.memoizedProps&&c("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.",Ge(n)||"instance"),r.state!==n.memoizedState&&c("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.",Ge(n)||"instance")),n.mode&jt)try{hr(),r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}finally{mr(n)}else r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}var l=n.updateQueue;l!==null&&(n.type===n.elementType&&!to&&(r.props!==n.memoizedProps&&c("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.",Ge(n)||"instance"),r.state!==n.memoizedState&&c("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.",Ge(n)||"instance")),rg(n,l,r));break}case oe:{var u=n.updateQueue;if(u!==null){var f=null;if(n.child!==null)switch(n.child.tag){case Q:f=n.child.stateNode;break;case ne:f=n.child.stateNode;break}rg(n,u,f)}break}case Q:{var d=n.stateNode;if(t===null&&n.flags&wt){var b=n.type,g=n.memoizedProps;Dx(d,b,g)}break}case he:break;case ze:break;case Lt:{{var w=n.memoizedProps,M=w.onCommit,j=w.onRender,ie=n.stateNode.effectDuration,ke=Ng(),Re=t===null?"mount":"update";Ag()&&(Re="nested-update"),typeof j=="function"&&j(n.memoizedProps.id,Re,n.actualDuration,n.treeBaseDuration,n.actualStartTime,ke);{typeof M=="function"&&M(n.memoizedProps.id,Re,ie,ke),oD(n);var ft=n.return;e:for(;ft!==null;){switch(ft.tag){case oe:var it=ft.stateNode;it.effectDuration+=ie;break e;case Lt:var C=ft.stateNode;C.effectDuration+=ie;break e}ft=ft.return}}}break}case O:{yw(e,n);break}case _e:case vt:case re:case Ce:case ue:case le: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.")}Vn||n.flags&Ni&&bb(n)}function cw(e){switch(e.tag){case me:case Oe:case $e:{if(e.mode&jt)try{hr(),hb(e,e.return)}finally{mr(e)}else hb(e,e.return);break}case ne:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aw(e,
Error message:
2025-09-25 13:41:42 +03:00
%s`,n)}function fD(e,t,n){var a=e.pingCache;a!==null&&a.delete(t);var r=la();gh(e,n),SD(e),oa===e&&Do(En,n)&&(Cn===Ou||Cn===Uc&&ph(En)&&Mn()-Op<Ob?ro(e,P):zc=et(zc,n)),ba(e,r)}function qb(e,t){t===On&&(t=Iw(e));var n=la(),a=ha(e,t);a!==null&&(Ol(a,t,n),ba(a,n))}function dD(e){var t=e.memoizedState,n=On;t!==null&&(n=t.retryLane),qb(e,n)}function vD(e,t){var n=On,a;switch(e.tag){case O:a=e.stateNode;var r=e.memoizedState;r!==null&&(n=r.retryLane);break;case _e:a=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),qb(e,n)}function pD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:Bw(e/1960)*1960}function mD(){if(zu>Pw)throw zu=0,Up=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.");al>Yw&&(al=0,Bc=null,c("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 hD(){Qa.flushLegacyContextWarning(),Qa.flushPendingUnsafeLifecycleWarnings()}function Gb(e,t){nn(e),Wc(e,ai,jw),t&&Wc(e,Mf,Uw),Wc(e,ai,Aw),t&&Wc(e,Mf,Nw),kn()}function Wc(e,t,n){for(var a=e,r=null;a!==null;){var i=a.subtreeFlags&t;a!==r&&a.child!==null&&i!==He?a=a.child:((a.flags&t)!==He&&n(a),a.sibling!==null?a=a.sibling:a=r=a.return)}}var qc=null;function Xb(e){{if((ct&Pn)!==Tn||!(e.mode&st))return;var t=e.tag;if(t!==tt&&t!==oe&&t!==ne&&t!==me&&t!==Oe&&t!==J&&t!==$e)return;var n=Ge(e)||"ReactComponent";if(qc!==null){if(qc.has(n))return;qc.add(n)}else qc=new Set([n]);var a=ta;try{nn(e),c("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{a?nn(e):kn()}}}var $p;{var yD=null;$p=function(e,t,n){var a=aS(yD,t);try{return ub(e,t,n)}catch(i){if(k1()||i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(ec(),cg(),pb(e,t),aS(t,a),t.mode&jt&&Yv(t),xf(null,ub,null,e,t,n),KT()){var r=Rf();typeof r=="object"&&r!==null&&r._suppressLogging&&typeof i=="object"&&i!==null&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}}}var Qb=!1,Pp;Pp=new Set;function gD(e){if(ki&&!lR())switch(e.tag){case me:case Oe:case $e:{var t=on&&Ge(on)||"Unknown",n=t;if(!Pp.has(n)){Pp.add(n);var a=Ge(e)||"Unknown";c("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",a,t,t)}break}case ne:{Qb||(c("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Qb=!0);break}}}function Bu(e,t){if(Wa){var n=e.memoizedUpdaters;n.forEach(function(a){bh(e,a,t)})}}var Yp={};function Ip(e,t){{var n=rr.current;return n!==null?(n.push(t),Yp):ih(e,t)}}function Kb(e){if(e!==Yp)return i0(e)}function Jb(){return rr.current!==null}function bD(e){{if(e.mode&st){if(!kb())return}else if(!Vw()||ct!==Tn||e.tag!==me&&e.tag!==Oe&&e.tag!==$e)return;if(rr.current===null){var t=ta;try{nn(e),c(`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`,Ge(e))}finally{t?nn(e):kn()}}}}function SD(e){e.tag!==di&&kb()&&rr.current===null&&c(`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 */
2025-09-25 13:41:42 +03:00
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 $u(e){jb=e}var $a=null,rl=null,TD=function(e){$a=e};function il(e){{if($a===null)return e;var t=$a(e);return t===void 0?e:t.current}}function Wp(e){return il(e)}function qp(e){{if($a===null)return e;var t=$a(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=il(e.render);if(e.render!==n){var a={$$typeof:$,render:n};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function Zb(e,t){{if($a===null)return!1;var n=e.elementType,a=t.type,r=!1,i=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case ne:{typeof a=="function"&&(r=!0);break}case me:{(typeof a=="function"||i===R)&&(r=!0);break}case Oe:{(i===$||i===R)&&(r=!0);break}case J:case $e:{(i===p||i===R)&&(r=!0);break}default:return!1}if(r){var o=$a(n);if(o!==void 0&&o===$a(a))return!0}return!1}}function eS(e){{if($a===null||typeof WeakSet!="function")return;rl===null&&(rl=new WeakSet),rl.add(e)}}var ED=function(e,t){{if($a===null)return;var n=t.staleFamilies,a=t.updatedFamilies;Xr(),Gr(function(){Gp(e.current,a,n)})}},CD=function(e,t){{if(e.context!==Ma)return;Xr(),Gr(function(){Pu(t,e,null,null)})}};function Gp(e,t,n){{var a=e.alternate,r=e.child,i=e.sibling,o=e.tag,l=e.type,u=null;switch(o){case me:case $e:case ne:u=l;break;case Oe:u=l.render;break}if($a===null)throw new Error("Expected resolveFamily to be set during hot reload.");var f=!1,d=!1;if(u!==null){var b=$a(u);b!==void 0&&(n.has(b)?d=!0:t.has(b)&&(o===ne?d=!0:f=!0))}if(rl!==null&&(rl.has(e)||a!==null&&rl.has(a))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||f){var g=ha(e,Ye);g!==null&&xn(g,e,Ye,Qt)}r!==null&&!d&&Gp(r,t,n),i!==null&&Gp(i,t,n)}}var xD=function(e,t){{var n=new Set,a=new Set(t.map(function(r){return r.current}));return Xp(e.current,a,n),n}};function Xp(e,t,n){{var a=e.child,r=e.sibling,i=e.tag,o=e.type,l=null;switch(i){case me:case $e:case ne:l=o;break;case Oe:l=o.render;break}var u=!1;l!==null&&t.has(l)&&(u=!0),u?RD(e,n):a!==null&&Xp(a,t,n),r!==null&&Xp(r,t,n)}}function RD(e,t){{var n=wD(e,t);if(n)return;for(var a=e;;){switch(a.tag){case Q:t.add(a.stateNode);return;case ze:t.add(a.stateNode.containerInfo);return;case oe:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function wD(e,t){for(var n=e,a=!1;;){if(n.tag===Q)a=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return a;for(;n.sibling===null;){if(n.return===null||n.return===e)return a;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var Qp;{Qp=!1;try{var tS=Object.preventExtensions({})}catch{Qp=!0}}function DD(e,t,n,a){this.tag=e,this.key=n,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=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=He,this.subtreeFlags=He,this.deletions=null,this.lanes=P,this.childLanes=P,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,!Qp&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var La=function(e,t,n,a){return new DD(e,t,n,a)};function Kp(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function _D(e){return typeof e=="function"&&!Kp(e)&&e.defaultProps===void 0}function kD(e){if(typeof e=="function")return Kp(e)?ne:me;if(e!=null){var t=e.$$typeof;if(t===$)return Oe;if(t===p)return J}return tt}function oo(e,t){var n=e.alternate;n===null?(n=La(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookT
2025-09-25 13:41:42 +03:00
Check the render method of \``+f+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+u))}}var d=La(o,n,t,r);return d.elementType=e,d.type=l,d.lanes=i,d._debugOwner=a,d}function Zp(e,t,n){var a=null;a=e._owner;var r=e.type,i=e.key,o=e.props,l=Jp(r,i,o,a,t,n);return l._debugSource=e._source,l._debugOwner=e._owner,l}function Ri(e,t,n,a){var r=La(W,e,a,t);return r.lanes=n,r}function OD(e,t,n,a){typeof e.id!="string"&&c('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=La(Lt,e,a,t|jt);return r.elementType=Er,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}function AD(e,t,n,a){var r=La(O,e,a,t);return r.elementType=ae,r.lanes=n,r}function ND(e,t,n,a){var r=La(_e,e,a,t);return r.elementType=pe,r.lanes=n,r}function nS(e,t,n,a){var r=La(Ce,e,a,t);r.elementType=E,r.lanes=n;var i={isHidden:!1};return r.stateNode=i,r}function em(e,t,n){var a=La(he,e,null,t);return a.lanes=n,a}function jD(){var e=La(Q,null,null,Ae);return e.elementType="DELETED",e}function UD(e){var t=La(Yt,null,null,Ae);return t.stateNode=e,t}function tm(e,t,n){var a=e.children!==null?e.children:[],r=La(ze,a,e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function aS(e,t){return e===null&&(e=La(tt,null,null,Ae)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function HD(e,t,n,a,r){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Ud,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=On,this.eventTimes=id(P),this.expirationTimes=id(Qt),this.pendingLanes=P,this.suspendedLanes=P,this.pingedLanes=P,this.expiredLanes=P,this.mutableReadLanes=P,this.finishedLanes=P,this.entangledLanes=P,this.entanglements=id(P),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],o=0;o<Uf;o++)i.push(new Set)}switch(t){case Ys:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case di:this._debugRootType=n?"hydrate()":"render()";break}}function rS(e,t,n,a,r,i,o,l,u,f){var d=new HD(e,t,n,l,u),b=LD(t,i);d.current=b,b.stateNode=d;{var g={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};b.memoizedState=g}return pv(b),d}var nm="18.3.1";function zD(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Ee(a),{$$typeof:wn,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var am,rm;am=!1,rm={};function iS(e){if(!e)return Ma;var t=go(e),n=S1(t);if(t.tag===ne){var a=t.type;if(fr(a))return Oy(t,a,n)}return n}function FD(e,t){{var n=go(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var r=nh(n);if(r===null)return null;if(r.mode&un){var i=Ge(n)||"Component";if(!rm[i]){rm[i]=!0;var o=ta;try{nn(r),n.mode&un?c("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside Strict
2025-09-25 13:41:42 +03:00
Check the render method of %s.`,Ge(ta)||"Unknown"));var u=Yr(i,o);u.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&c("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),u.callback=a);var f=mi(r,u,o);return f!==null&&(xn(f,r,o,i),ic(f,r,o)),o}function Gc(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case Q:return t.child.stateNode;default:return t.child.stateNode}}function VD(e){switch(e.tag){case oe:{var t=e.stateNode;if(ps(t)){var n=$0(t);Qw(t,n)}break}case O:{Gr(function(){var r=ha(e,Ye);if(r!==null){var i=la();xn(r,e,Ye,i)}});var a=Ye;im(e,a);break}}}function uS(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=G0(n.retryLane,t))}function im(e,t){uS(e,t);var n=e.alternate;n&&uS(n,t)}function BD(e){if(e.tag===O){var t=_l,n=ha(e,t);if(n!==null){var a=la();xn(n,e,t,a)}im(e,t)}}function $D(e){if(e.tag===O){var t=Ci(e),n=ha(e,t);if(n!==null){var a=la();xn(n,e,t,a)}im(e,t)}}function sS(e){var t=r0(e);return t===null?null:t.stateNode}var cS=function(e){return null};function PD(e){return cS(e)}var fS=function(e){return!1};function YD(e){return fS(e)}var dS=null,vS=null,pS=null,mS=null,hS=null,yS=null,gS=null,bS=null,SS=null;{var TS=function(e,t,n){var a=t[n],r=rt(e)?e.slice():F({},e);return n+1===t.length?(rt(r)?r.splice(a,1):delete r[a],r):(r[a]=TS(e[a],t,n+1),r)},ES=function(e,t){return TS(e,t,0)},CS=function(e,t,n,a){var r=t[a],i=rt(e)?e.slice():F({},e);if(a+1===t.length){var o=n[a];i[o]=i[r],rt(i)?i.splice(r,1):delete i[r]}else i[r]=CS(e[r],t,n,a+1);return i},xS=function(e,t,n){if(t.length!==n.length){X("copyWithRename() expects paths of the same length");return}else for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){X("copyWithRename() expects paths to be the same except for the deepest key");return}return CS(e,t,n,0)},RS=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],i=rt(e)?e.slice():F({},e);return i[r]=RS(e[r],t,n+1,a),i},wS=function(e,t,n){return RS(e,t,0,n)},om=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};dS=function(e,t,n,a){var r=om(e,t);if(r!==null){var i=wS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=F({},e.memoizedProps);var o=ha(e,Ye);o!==null&&xn(o,e,Ye,Qt)}},vS=function(e,t,n){var a=om(e,t);if(a!==null){var r=ES(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=F({},e.memoizedProps);var i=ha(e,Ye);i!==null&&xn(i,e,Ye,Qt)}},pS=function(e,t,n,a){var r=om(e,t);if(r!==null){var i=xS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=F({},e.memoizedProps);var o=ha(e,Ye);o!==null&&xn(o,e,Ye,Qt)}},mS=function(e,t,n){e.pendingProps=wS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=ha(e,Ye);a!==null&&xn(a,e,Ye,Qt)},hS=function(e,t){e.pendingProps=ES(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=ha(e,Ye);n!==null&&xn(n,e,Ye,Qt)},yS=function(e,t,n){e.pendingProps=xS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=ha(e,Ye);a!==null&&xn(a,e,Ye,Qt)},gS=function(e){var t=ha(e,Ye);t!==null&&xn(t,e,Ye,Qt)},bS=function(e){cS=e},SS=function(e){fS=e}}function ID(e){var t=nh(e);return t===null?null:t.stateNode}function WD(e){return null}function qD(){return ta}function GD(e){var t=e.findFiberByHostInstance,n=ge.ReactCurrentDispatcher;return d0({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:dS,overrideHookStateDeletePath:vS,overrideHookStateRenamePath:pS,overrideProps:mS,overridePropsDeletePath:hS,overridePropsRenamePath:yS,setErrorHandler:bS,setSuspenseHandler:SS,scheduleUpdate:gS,currentDispatcherRef:n,findHostInstanceByFiber:ID,findFiberByHostInstance:t||WD,findHostInstancesForRefresh:xD,scheduleRefresh:ED,scheduleRoot:CD,setRefreshHandler:TD,getCurrentFiber:qD,reconcilerVersion:nm})}var DS=typeof reportError=="function"?reportError:function(e){console.error(e)};function lm(e){this._internalRoot=e}Xc.prototype.render=lm.prototype.re
let root = createRoot(domContainer);
2025-09-25 13:41:42 +03:00
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var o=oS(e,Ys,null,n,a,r,i);Hs(o.current,e);var l=e.nodeType===vn?e.parentNode:e;return Xl(l),new lm(o)}function Xc(e){this._internalRoot=e}function QD(e){e&&fE(e)}Xc.prototype.unstable_scheduleHydration=QD;function KD(e,t,n){if(!Qc(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");_S(e),t===void 0&&c("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=n??null,r=n!=null&&n.hydratedSources||null,i=!1,o=!1,l="",u=DS;n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(u=n.onRecoverableError));var f=lS(t,null,e,Ys,a,i,o,l,u);if(Hs(f.current,e),Xl(e),r)for(var d=0;d<r.length;d++){var b=r[d];tR(f,b)}return new Xc(f)}function Qc(e){return!!(e&&(e.nodeType===pa||e.nodeType===Or||e.nodeType===vf))}function Yu(e){return!!(e&&(e.nodeType===pa||e.nodeType===Or||e.nodeType===vf||e.nodeType===vn&&e.nodeValue===" react-mount-point-unstable "))}function _S(e){e.nodeType===pa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&c("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."),ou(e)&&(e._reactRootContainer?c("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):c("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 JD=ge.ReactCurrentOwner,kS;kS=function(e){if(e._reactRootContainer&&e.nodeType!==vn){var t=sS(e._reactRootContainer.current);t&&t.parentNode!==e&&c("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 n=!!e._reactRootContainer,a=um(e),r=!!(a&&ci(a));r&&!n&&c("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."),e.nodeType===pa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&c("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 um(e){return e?e.nodeType===Or?e.documentElement:e.firstChild:null}function MS(){}function ZD(e,t,n,a,r){if(r){if(typeof a=="function"){var i=a;a=function(){var g=Gc(o);i.call(g)}}var o=lS(t,a,e,di,null,!1,!1,"",MS);e._reactRootContainer=o,Hs(o.current,e);var l=e.nodeType===vn?e.parentNode:e;return Xl(l),Gr(),o}else{for(var u;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var f=a;a=function(){var g=Gc(d);f.call(g)}}var d=oS(e,di,null,!1,!1,"",MS);e._reactRootContainer=d,Hs(d.current,e);var b=e.nodeType===vn?e.parentNode:e;return Xl(b),Gr(function(){Pu(t,d,n,a)}),d}}function e_(e,t){e!==null&&typeof e!="function"&&c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Kc(e,t,n,a,r){kS(n),e_(r===void 0?null:r,"render");var i=n._reactRootContainer,o;if(!i)o=ZD(n,t,e,r,a);else{if(o=i,typeof r=="function"){var l=r;r=function(){var u=Gc(o);l.call(u)}}Pu(t,o,e,r)}return Gc(o)}var LS=!1;function t_(e){{LS||(LS=!0,c("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sm,ca.createPortal=o_,ca.createRoot=u_,ca.findDOMNode=t_,ca.flushSync=c_,ca.hydrate=n_,ca.hydrateRoot=s_,ca.render=a_,ca.unmountComponentAtNode=i_,ca.unstable_batchedUpdates=Fp,ca.unstable_renderSubtreeIntoContainer=l_,ca.version=nm,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}(),ca}pm.exports=zS();var FS=pm.exports,gm,bm=FS;{var Sm=bm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;gm=function(L,D){Sm.usingClientEntryPoint=!0;try{return bm.createRoot(L,D)}finally{Sm.usingClientEntryPoint=!1}}}const Y=L=>{if(isNaN(L))return"00:00:00.000";const D=Math.floor(L/3600),ge=Math.floor(L%3600/60),Ne=Math.floor(L%60),Me=Math.round(L%1*1e3),X=String(D).padStart(2,"0"),c=String(ge).padStart(2,"0"),yt=String(Ne).padStart(2,"0"),me=String(Me).padStart(3,"0");return`${X}:${c}:${yt}.${me}`},wi=L=>Y(L),VS=L=>Y(L),ve={debug:(...L)=>{},error:(...L)=>console.error(...L),warn:(...L)=>console.warn(...L),info:(...L)=>console.info(...L)};var q=Zc();const BS=({videoRef:L,currentTime:D,duration:ge,isPlaying:Ne,isMuted:Me=!1,onPlayPause:X,onSeek:c,onToggleMute:yt})=>{var pt;const me=q.useRef(null),[ne,tt]=q.useState(!1),[oe,ze]=q.useState(!1),[Q,he]=q.useState(null),[W,cn]=q.useState(!1),gt=q.useRef(!1),[De,Oe]=q.useState({x:0}),[Lt,O]=q.useState(0),J=typeof window<"u"&&((pt=window.MEDIA_DATA)==null?void 0:pt.videoUrl)||"/videos/sample-video.mp4";q.useEffect(()=>{if(tt((()=>{const A=navigator.userAgent||navigator.vendor||window.opera;return/iPad|iPhone|iPod/.test(A)&&!window.MSStream})()),typeof window<"u"){const A=localStorage.getItem("video_initialized")==="true";ze(A)}},[]),q.useEffect(()=>{Ne&&!oe&&(ze(!0),typeof window<"u"&&localStorage.setItem("video_initialized","true"))},[Ne,oe]),q.useEffect(()=>{const le=L.current;if(!le)return;le.setAttribute("playsinline","true"),le.setAttribute("webkit-playsinline","true"),le.setAttribute("x-webkit-airplay","allow");const A=()=>{gt.current||(he(le.currentTime),typeof window<"u"&&(window.lastSeekedPosition=le.currentTime))},ye=()=>{ne&&(ze(!0),localStorage.setItem("video_initialized","true"))},Be=()=>{};return le.addEventListener("timeupdate",A),le.addEventListener("play",ye),le.addEventListener("pause",Be),()=>{le.removeEventListener("timeupdate",A),le.removeEventListener("play",ye),le.removeEventListener("pause",Be)}},[L,ne,gt]),q.useEffect(()=>{he(D)},[D]);const $e=ge>0?D/ge*100:0,dt=le=>{le.preventDefault(),cn(!0),gt.current=!0,vt(le);const A=Be=>{gt.current&&vt(Be)},ye=()=>{cn(!1),gt.current=!1,document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",ye)};document.addEventListener("mousemove",A),document.addEventListener("mouseup",ye)},vt=le=>{if(!me.current)return;const A=me.current.getBoundingClientRect(),ye=Math.max(0,Math.min(1,(le.clientX-A.left)/A.width)),Be=ge*ye;Oe({x:le.clientX}),O(Be),he(Be),typeof window<"u"&&(window.lastSeekedPosition=Be),c(Be)},Yt=le=>{if(!me.current||!le.touches[0])return;le.preventDefault(),cn(!0),gt.current=!0,_e(le);const A=Be=>{gt.current&&_e(Be)},ye=()=>{cn(!1),gt.current=!1,document.removeEventListener("touchmove",A),document.removeEventListener("touchend",ye),document.removeEventListener("touchcancel",ye)};document.addEventListener("touchmove",A,{passive:!1}),document.addEventListener("touchend",ye),document.addEventListener("touchcancel",ye)},_e=le=>{if(!me.current)return;const A="touches"in le?le.touches[0]:null;if(!A)return;le.preventDefault();const ye=me.current.getBoundingClientRect(),Be=Math.max(0,Math.min(1,(A.clientX-ye.left)/ye.width)),ot=ge*Be;Oe({x:A.clientX}),O(ot),he(ot),typeof window<"u"&&(window.lastSeekedPosition=ot),c(ot)},re=le=>{if(!W&&me.current){const A=me.current.getBoundingClientRect(),ye=(le.clientX-A.left)/A.width,Be=ge*ye;he(Be),typeof window<"u"&&(window.lastSeekedPosition=Be),c
//# sourceMappingURL=chapters-editor.js.map