@smartos-lib/components 1.9.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ var Ky;(function(v){"use strict";const cn=(e,t,{checkForDefaultPrevented:n=!0}={
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var ru=Symbol.for("react.element"),WA=Symbol.for("react.portal"),UA=Symbol.for("react.fragment"),HA=Symbol.for("react.strict_mode"),KA=Symbol.for("react.profiler"),qA=Symbol.for("react.provider"),QA=Symbol.for("react.context"),YA=Symbol.for("react.forward_ref"),GA=Symbol.for("react.suspense"),XA=Symbol.for("react.memo"),ZA=Symbol.for("react.lazy"),$v=Symbol.iterator;function JA(e){return e===null||typeof e!="object"?null:(e=$v&&e[$v]||e["@@iterator"],typeof e=="function"?e:null)}var Lv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zv=Object.assign,Vv={};function Xr(e,t,n){this.props=e,this.context=t,this.refs=Vv,this.updater=n||Lv}Xr.prototype.isReactComponent={},Xr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Xr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Wv(){}Wv.prototype=Xr.prototype;function vl(e,t,n){this.props=e,this.context=t,this.refs=Vv,this.updater=n||Lv}var hl=vl.prototype=new Wv;hl.constructor=vl,zv(hl,Xr.prototype),hl.isPureReactComponent=!0;var Uv=Array.isArray,Hv=Object.prototype.hasOwnProperty,ml={current:null},Kv={key:!0,ref:!0,__self:!0,__source:!0};function qv(e,t,n){var r,o={},u=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(u=""+t.key),t)Hv.call(t,r)&&!Kv.hasOwnProperty(r)&&(o[r]=t[r]);var i=arguments.length-2;if(i===1)o.children=n;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)o[r]===void 0&&(o[r]=i[r]);return{$$typeof:ru,type:e,key:u,ref:a,props:o,_owner:ml.current}}function eb(e,t){return{$$typeof:ru,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function gl(e){return typeof e=="object"&&e!==null&&e.$$typeof===ru}function tb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qv=/\/+/g;function yl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?tb(""+e.key):t.toString(36)}function za(e,t,n,r,o){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(u){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ru:case WA:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+yl(a,0):r,Uv(o)?(n="",e!=null&&(n=e.replace(Qv,"$&/")+"/"),za(o,t,n,"",function(l){return l})):o!=null&&(gl(o)&&(o=eb(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Qv,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",Uv(e))for(var i=0;i<e.length;i++){u=e[i];var s=r+yl(u,i);a+=za(u,t,n,s,o)}else if(s=JA(e),typeof s=="function")for(e=s.call(e),i=0;!(u=e.next()).done;)u=u.value,s=r+yl(u,i++),a+=za(u,t,n,s,o);else if(u==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Va(e,t,n){if(e==null)return e;var r=[],o=0;return za(e,r,"","",function(u){return t.call(n,u,o++)}),r}function nb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var nt={current:null},Wa={transition:null},rb={ReactCurrentDispatcher:nt,ReactCurrentBatchConfig:Wa,ReactCurrentOwner:ml};se.Children={map:Va,forEach:function(e,t,n){Va(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Va(e,function(){t++}),t},toArray:function(e){return Va(e,function(t){return t})||[]},only:function(e){if(!gl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},se.Component=Xr,se.Fragment=UA,se.Profiler=KA,se.PureComponent=vl,se.StrictMode=HA,se.Suspense=GA,se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rb,se.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=zv({},e.props),o=e.key,u=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(u=t.ref,a=ml.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in t)Hv.call(t,s)&&!Kv.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&i!==void 0?i[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){i=Array(s);for(var l=0;l<s;l++)i[l]=arguments[l+2];r.children=i}return{$$typeof:ru,type:e.type,key:o,ref:u,props:r,_owner:a}},se.createContext=function(e){return e={$$typeof:QA,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:qA,_context:e},e.Consumer=e},se.createElement=qv,se.createFactory=function(e){var t=qv.bind(null,e);return t.type=e,t},se.createRef=function(){return{current:null}},se.forwardRef=function(e){return{$$typeof:YA,render:e}},se.isValidElement=gl,se.lazy=function(e){return{$$typeof:ZA,_payload:{_status:-1,_result:e},_init:nb}},se.memo=function(e,t){return{$$typeof:XA,type:e,compare:t===void 0?null:t}},se.startTransition=function(e){var t=Wa.transition;Wa.transition={};try{e()}finally{Wa.transition=t}},se.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},se.useCallback=function(e,t){return nt.current.useCallback(e,t)},se.useContext=function(e){return nt.current.useContext(e)},se.useDebugValue=function(){},se.useDeferredValue=function(e){return nt.current.useDeferredValue(e)},se.useEffect=function(e,t){return nt.current.useEffect(e,t)},se.useId=function(){return nt.current.useId()},se.useImperativeHandle=function(e,t,n){return nt.current.useImperativeHandle(e,t,n)},se.useInsertionEffect=function(e,t){return nt.current.useInsertionEffect(e,t)},se.useLayoutEffect=function(e,t){return nt.current.useLayoutEffect(e,t)},se.useMemo=function(e,t){return nt.current.useMemo(e,t)},se.useReducer=function(e,t,n){return nt.current.useReducer(e,t,n)},se.useRef=function(e){return nt.current.useRef(e)},se.useState=function(e){return nt.current.useState(e)},se.useSyncExternalStore=function(e,t,n){return nt.current.useSyncExternalStore(e,t,n)},se.useTransition=function(){return nt.current.useTransition()},se.version="18.2.0",Mv.exports=se;var L=Mv.exports;const re=Uo(L);var Yv={exports:{}},wt={},Gv={exports:{}},Xv={};/**
18
+ */var ru=Symbol.for("react.element"),WA=Symbol.for("react.portal"),UA=Symbol.for("react.fragment"),HA=Symbol.for("react.strict_mode"),KA=Symbol.for("react.profiler"),qA=Symbol.for("react.provider"),QA=Symbol.for("react.context"),YA=Symbol.for("react.forward_ref"),GA=Symbol.for("react.suspense"),XA=Symbol.for("react.memo"),ZA=Symbol.for("react.lazy"),$v=Symbol.iterator;function JA(e){return e===null||typeof e!="object"?null:(e=$v&&e[$v]||e["@@iterator"],typeof e=="function"?e:null)}var Lv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zv=Object.assign,Vv={};function Xr(e,t,n){this.props=e,this.context=t,this.refs=Vv,this.updater=n||Lv}Xr.prototype.isReactComponent={},Xr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Xr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Wv(){}Wv.prototype=Xr.prototype;function vl(e,t,n){this.props=e,this.context=t,this.refs=Vv,this.updater=n||Lv}var hl=vl.prototype=new Wv;hl.constructor=vl,zv(hl,Xr.prototype),hl.isPureReactComponent=!0;var Uv=Array.isArray,Hv=Object.prototype.hasOwnProperty,ml={current:null},Kv={key:!0,ref:!0,__self:!0,__source:!0};function qv(e,t,n){var r,o={},u=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(u=""+t.key),t)Hv.call(t,r)&&!Kv.hasOwnProperty(r)&&(o[r]=t[r]);var i=arguments.length-2;if(i===1)o.children=n;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)o[r]===void 0&&(o[r]=i[r]);return{$$typeof:ru,type:e,key:u,ref:a,props:o,_owner:ml.current}}function e2(e,t){return{$$typeof:ru,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function gl(e){return typeof e=="object"&&e!==null&&e.$$typeof===ru}function t2(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qv=/\/+/g;function yl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?t2(""+e.key):t.toString(36)}function za(e,t,n,r,o){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(u){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ru:case WA:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+yl(a,0):r,Uv(o)?(n="",e!=null&&(n=e.replace(Qv,"$&/")+"/"),za(o,t,n,"",function(l){return l})):o!=null&&(gl(o)&&(o=e2(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Qv,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",Uv(e))for(var i=0;i<e.length;i++){u=e[i];var s=r+yl(u,i);a+=za(u,t,n,s,o)}else if(s=JA(e),typeof s=="function")for(e=s.call(e),i=0;!(u=e.next()).done;)u=u.value,s=r+yl(u,i++),a+=za(u,t,n,s,o);else if(u==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Va(e,t,n){if(e==null)return e;var r=[],o=0;return za(e,r,"","",function(u){return t.call(n,u,o++)}),r}function n2(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var nt={current:null},Wa={transition:null},r2={ReactCurrentDispatcher:nt,ReactCurrentBatchConfig:Wa,ReactCurrentOwner:ml};se.Children={map:Va,forEach:function(e,t,n){Va(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Va(e,function(){t++}),t},toArray:function(e){return Va(e,function(t){return t})||[]},only:function(e){if(!gl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},se.Component=Xr,se.Fragment=UA,se.Profiler=KA,se.PureComponent=vl,se.StrictMode=HA,se.Suspense=GA,se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r2,se.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=zv({},e.props),o=e.key,u=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(u=t.ref,a=ml.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in t)Hv.call(t,s)&&!Kv.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&i!==void 0?i[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){i=Array(s);for(var l=0;l<s;l++)i[l]=arguments[l+2];r.children=i}return{$$typeof:ru,type:e.type,key:o,ref:u,props:r,_owner:a}},se.createContext=function(e){return e={$$typeof:QA,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:qA,_context:e},e.Consumer=e},se.createElement=qv,se.createFactory=function(e){var t=qv.bind(null,e);return t.type=e,t},se.createRef=function(){return{current:null}},se.forwardRef=function(e){return{$$typeof:YA,render:e}},se.isValidElement=gl,se.lazy=function(e){return{$$typeof:ZA,_payload:{_status:-1,_result:e},_init:n2}},se.memo=function(e,t){return{$$typeof:XA,type:e,compare:t===void 0?null:t}},se.startTransition=function(e){var t=Wa.transition;Wa.transition={};try{e()}finally{Wa.transition=t}},se.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},se.useCallback=function(e,t){return nt.current.useCallback(e,t)},se.useContext=function(e){return nt.current.useContext(e)},se.useDebugValue=function(){},se.useDeferredValue=function(e){return nt.current.useDeferredValue(e)},se.useEffect=function(e,t){return nt.current.useEffect(e,t)},se.useId=function(){return nt.current.useId()},se.useImperativeHandle=function(e,t,n){return nt.current.useImperativeHandle(e,t,n)},se.useInsertionEffect=function(e,t){return nt.current.useInsertionEffect(e,t)},se.useLayoutEffect=function(e,t){return nt.current.useLayoutEffect(e,t)},se.useMemo=function(e,t){return nt.current.useMemo(e,t)},se.useReducer=function(e,t,n){return nt.current.useReducer(e,t,n)},se.useRef=function(e){return nt.current.useRef(e)},se.useState=function(e){return nt.current.useState(e)},se.useSyncExternalStore=function(e,t,n){return nt.current.useSyncExternalStore(e,t,n)},se.useTransition=function(){return nt.current.useTransition()},se.version="18.2.0",Mv.exports=se;var L=Mv.exports;const re=Uo(L);var Yv={exports:{}},wt={},Gv={exports:{}},Xv={};/**
19
19
  * @license React
20
20
  * scheduler.production.min.js
21
21
  *
@@ -23,7 +23,7 @@ var Ky;(function(v){"use strict";const cn=(e,t,{checkForDefaultPrevented:n=!0}={
23
23
  *
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
- */(function(e){function t(M,U){var Y=M.length;M.push(U);e:for(;0<Y;){var ne=Y-1>>>1,te=M[ne];if(0<o(te,U))M[ne]=U,M[Y]=te,Y=ne;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var U=M[0],Y=M.pop();if(Y!==U){M[0]=Y;e:for(var ne=0,te=M.length,ve=te>>>1;ne<ve;){var x=2*(ne+1)-1,j=M[x],N=x+1,Q=M[N];if(0>o(j,Y))N<te&&0>o(Q,j)?(M[ne]=Q,M[N]=Y,ne=N):(M[ne]=j,M[x]=Y,ne=x);else if(N<te&&0>o(Q,Y))M[ne]=Q,M[N]=Y,ne=N;else break e}}return U}function o(M,U){var Y=M.sortIndex-U.sortIndex;return Y!==0?Y:M.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var a=Date,i=a.now();e.unstable_now=function(){return a.now()-i}}var s=[],l=[],c=1,d=null,p=3,y=!1,m=!1,f=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(M){for(var U=n(l);U!==null;){if(U.callback===null)r(l);else if(U.startTime<=M)r(l),U.sortIndex=U.expirationTime,t(s,U);else break;U=n(l)}}function E(M){if(f=!1,C(M),!m)if(n(s)!==null)m=!0,G(B);else{var U=n(l);U!==null&&R(E,U.startTime-M)}}function B(M,U){m=!1,f&&(f=!1,h(S),S=-1),y=!0;var Y=p;try{for(C(U),d=n(s);d!==null&&(!(d.expirationTime>U)||M&&!H());){var ne=d.callback;if(typeof ne=="function"){d.callback=null,p=d.priorityLevel;var te=ne(d.expirationTime<=U);U=e.unstable_now(),typeof te=="function"?d.callback=te:d===n(s)&&r(s),C(U)}else r(s);d=n(s)}if(d!==null)var ve=!0;else{var x=n(l);x!==null&&R(E,x.startTime-U),ve=!1}return ve}finally{d=null,p=Y,y=!1}}var F=!1,A=null,S=-1,P=5,O=-1;function H(){return!(e.unstable_now()-O<P)}function k(){if(A!==null){var M=e.unstable_now();O=M;var U=!0;try{U=A(!0,M)}finally{U?W():(F=!1,A=null)}}else F=!1}var W;if(typeof g=="function")W=function(){g(k)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,V=$.port2;$.port1.onmessage=k,W=function(){V.postMessage(null)}}else W=function(){w(k,0)};function G(M){A=M,F||(F=!0,W())}function R(M,U){S=w(function(){M(e.unstable_now())},U)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){m||y||(m=!0,G(B))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(M){switch(p){case 1:case 2:case 3:var U=3;break;default:U=p}var Y=p;p=U;try{return M()}finally{p=Y}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,U){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var Y=p;p=M;try{return U()}finally{p=Y}},e.unstable_scheduleCallback=function(M,U,Y){var ne=e.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ne+Y:ne):Y=ne,M){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=Y+te,M={id:c++,callback:U,priorityLevel:M,startTime:Y,expirationTime:te,sortIndex:-1},Y>ne?(M.sortIndex=Y,t(l,M),n(s)===null&&M===n(l)&&(f?(h(S),S=-1):f=!0,R(E,Y-ne))):(M.sortIndex=te,t(s,M),m||y||(m=!0,G(B))),M},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(M){var U=p;return function(){var Y=p;p=U;try{return M.apply(this,arguments)}finally{p=Y}}}})(Xv),Gv.exports=Xv;var ob=Gv.exports;/**
26
+ */(function(e){function t(M,U){var Y=M.length;M.push(U);e:for(;0<Y;){var ne=Y-1>>>1,te=M[ne];if(0<o(te,U))M[ne]=U,M[Y]=te,Y=ne;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var U=M[0],Y=M.pop();if(Y!==U){M[0]=Y;e:for(var ne=0,te=M.length,ve=te>>>1;ne<ve;){var x=2*(ne+1)-1,j=M[x],N=x+1,Q=M[N];if(0>o(j,Y))N<te&&0>o(Q,j)?(M[ne]=Q,M[N]=Y,ne=N):(M[ne]=j,M[x]=Y,ne=x);else if(N<te&&0>o(Q,Y))M[ne]=Q,M[N]=Y,ne=N;else break e}}return U}function o(M,U){var Y=M.sortIndex-U.sortIndex;return Y!==0?Y:M.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var a=Date,i=a.now();e.unstable_now=function(){return a.now()-i}}var s=[],l=[],c=1,d=null,p=3,y=!1,m=!1,f=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(M){for(var U=n(l);U!==null;){if(U.callback===null)r(l);else if(U.startTime<=M)r(l),U.sortIndex=U.expirationTime,t(s,U);else break;U=n(l)}}function E(M){if(f=!1,C(M),!m)if(n(s)!==null)m=!0,G(B);else{var U=n(l);U!==null&&R(E,U.startTime-M)}}function B(M,U){m=!1,f&&(f=!1,h(S),S=-1),y=!0;var Y=p;try{for(C(U),d=n(s);d!==null&&(!(d.expirationTime>U)||M&&!H());){var ne=d.callback;if(typeof ne=="function"){d.callback=null,p=d.priorityLevel;var te=ne(d.expirationTime<=U);U=e.unstable_now(),typeof te=="function"?d.callback=te:d===n(s)&&r(s),C(U)}else r(s);d=n(s)}if(d!==null)var ve=!0;else{var x=n(l);x!==null&&R(E,x.startTime-U),ve=!1}return ve}finally{d=null,p=Y,y=!1}}var F=!1,A=null,S=-1,P=5,O=-1;function H(){return!(e.unstable_now()-O<P)}function k(){if(A!==null){var M=e.unstable_now();O=M;var U=!0;try{U=A(!0,M)}finally{U?W():(F=!1,A=null)}}else F=!1}var W;if(typeof g=="function")W=function(){g(k)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,V=$.port2;$.port1.onmessage=k,W=function(){V.postMessage(null)}}else W=function(){w(k,0)};function G(M){A=M,F||(F=!0,W())}function R(M,U){S=w(function(){M(e.unstable_now())},U)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){m||y||(m=!0,G(B))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(M){switch(p){case 1:case 2:case 3:var U=3;break;default:U=p}var Y=p;p=U;try{return M()}finally{p=Y}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,U){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var Y=p;p=M;try{return U()}finally{p=Y}},e.unstable_scheduleCallback=function(M,U,Y){var ne=e.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ne+Y:ne):Y=ne,M){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=Y+te,M={id:c++,callback:U,priorityLevel:M,startTime:Y,expirationTime:te,sortIndex:-1},Y>ne?(M.sortIndex=Y,t(l,M),n(s)===null&&M===n(l)&&(f?(h(S),S=-1):f=!0,R(E,Y-ne))):(M.sortIndex=te,t(s,M),m||y||(m=!0,G(B))),M},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(M){var U=p;return function(){var Y=p;p=U;try{return M.apply(this,arguments)}finally{p=Y}}}})(Xv),Gv.exports=Xv;var o2=Gv.exports;/**
27
27
  * @license React
28
28
  * react-dom.production.min.js
29
29
  *
@@ -31,14 +31,14 @@ var Ky;(function(v){"use strict";const cn=(e,t,{checkForDefaultPrevented:n=!0}={
31
31
  *
32
32
  * This source code is licensed under the MIT license found in the
33
33
  * LICENSE file in the root directory of this source tree.
34
- */var Zv=L,Et=ob;function K(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Jv=new Set,ou={};function mr(e,t){Zr(e,t),Zr(e+"Capture",t)}function Zr(e,t){for(ou[e]=t,e=0;e<t.length;e++)Jv.add(t[e])}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Dl=Object.prototype.hasOwnProperty,ub=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,eh={},th={};function ab(e){return Dl.call(th,e)?!0:Dl.call(eh,e)?!1:ub.test(e)?th[e]=!0:(eh[e]=!0,!1)}function ib(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function sb(e,t,n,r){if(t===null||typeof t>"u"||ib(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function rt(e,t,n,r,o,u,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=a}var He={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){He[e]=new rt(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];He[t]=new rt(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){He[e]=new rt(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){He[e]=new rt(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){He[e]=new rt(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){He[e]=new rt(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){He[e]=new rt(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){He[e]=new rt(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){He[e]=new rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cl=/[\-:]([a-z])/g;function wl(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Cl,wl);He[t]=new rt(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Cl,wl);He[t]=new rt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Cl,wl);He[t]=new rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){He[e]=new rt(e,1,!1,e.toLowerCase(),null,!1,!1)}),He.xlinkHref=new rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){He[e]=new rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function El(e,t,n,r){var o=He.hasOwnProperty(t)?He[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(sb(t,n,o,r)&&(n=null),r||o===null?ab(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var yn=Zv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ua=Symbol.for("react.element"),Jr=Symbol.for("react.portal"),eo=Symbol.for("react.fragment"),Bl=Symbol.for("react.strict_mode"),Al=Symbol.for("react.profiler"),nh=Symbol.for("react.provider"),rh=Symbol.for("react.context"),bl=Symbol.for("react.forward_ref"),Fl=Symbol.for("react.suspense"),xl=Symbol.for("react.suspense_list"),Sl=Symbol.for("react.memo"),Nn=Symbol.for("react.lazy"),oh=Symbol.for("react.offscreen"),uh=Symbol.iterator;function uu(e){return e===null||typeof e!="object"?null:(e=uh&&e[uh]||e["@@iterator"],typeof e=="function"?e:null)}var be=Object.assign,Ol;function au(e){if(Ol===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ol=t&&t[1]||""}return`
34
+ */var Zv=L,Et=o2;function K(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Jv=new Set,ou={};function mr(e,t){Zr(e,t),Zr(e+"Capture",t)}function Zr(e,t){for(ou[e]=t,e=0;e<t.length;e++)Jv.add(t[e])}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Dl=Object.prototype.hasOwnProperty,u2=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,eh={},th={};function a2(e){return Dl.call(th,e)?!0:Dl.call(eh,e)?!1:u2.test(e)?th[e]=!0:(eh[e]=!0,!1)}function i2(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function s2(e,t,n,r){if(t===null||typeof t>"u"||i2(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function rt(e,t,n,r,o,u,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=a}var He={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){He[e]=new rt(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];He[t]=new rt(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){He[e]=new rt(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){He[e]=new rt(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){He[e]=new rt(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){He[e]=new rt(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){He[e]=new rt(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){He[e]=new rt(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){He[e]=new rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cl=/[\-:]([a-z])/g;function wl(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Cl,wl);He[t]=new rt(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Cl,wl);He[t]=new rt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Cl,wl);He[t]=new rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){He[e]=new rt(e,1,!1,e.toLowerCase(),null,!1,!1)}),He.xlinkHref=new rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){He[e]=new rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function El(e,t,n,r){var o=He.hasOwnProperty(t)?He[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(s2(t,n,o,r)&&(n=null),r||o===null?a2(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var yn=Zv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ua=Symbol.for("react.element"),Jr=Symbol.for("react.portal"),eo=Symbol.for("react.fragment"),Bl=Symbol.for("react.strict_mode"),Al=Symbol.for("react.profiler"),nh=Symbol.for("react.provider"),rh=Symbol.for("react.context"),bl=Symbol.for("react.forward_ref"),Fl=Symbol.for("react.suspense"),xl=Symbol.for("react.suspense_list"),Sl=Symbol.for("react.memo"),Nn=Symbol.for("react.lazy"),oh=Symbol.for("react.offscreen"),uh=Symbol.iterator;function uu(e){return e===null||typeof e!="object"?null:(e=uh&&e[uh]||e["@@iterator"],typeof e=="function"?e:null)}var be=Object.assign,Ol;function au(e){if(Ol===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ol=t&&t[1]||""}return`
35
35
  `+Ol+e}var _l=!1;function kl(e,t){if(!e||_l)return"";_l=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&typeof l.stack=="string"){for(var o=l.stack.split(`
36
36
  `),u=r.stack.split(`
37
37
  `),a=o.length-1,i=u.length-1;1<=a&&0<=i&&o[a]!==u[i];)i--;for(;1<=a&&0<=i;a--,i--)if(o[a]!==u[i]){if(a!==1||i!==1)do if(a--,i--,0>i||o[a]!==u[i]){var s=`
38
- `+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=a&&0<=i);break}}}finally{_l=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?au(e):""}function lb(e){switch(e.tag){case 5:return au(e.type);case 16:return au("Lazy");case 13:return au("Suspense");case 19:return au("SuspenseList");case 0:case 2:case 15:return e=kl(e.type,!1),e;case 11:return e=kl(e.type.render,!1),e;case 1:return e=kl(e.type,!0),e;default:return""}}function Pl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case eo:return"Fragment";case Jr:return"Portal";case Al:return"Profiler";case Bl:return"StrictMode";case Fl:return"Suspense";case xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rh:return(e.displayName||"Context")+".Consumer";case nh:return(e._context.displayName||"Context")+".Provider";case bl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sl:return t=e.displayName||null,t!==null?t:Pl(e.type)||"Memo";case Nn:t=e._payload,e=e._init;try{return Pl(e(t))}catch{}}return null}function cb(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pl(t);case 8:return t===Bl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ah(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fb(e){var t=ah(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,u.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ha(e){e._valueTracker||(e._valueTracker=fb(e))}function ih(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ah(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ka(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Tl(e,t){var n=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function sh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=jn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function lh(e,t){t=t.checked,t!=null&&El(e,"checked",t,!1)}function Rl(e,t){lh(e,t);var n=jn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Nl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Nl(e,t.type,jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ch(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Nl(e,t,n){(t!=="number"||Ka(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var iu=Array.isArray;function to(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+jn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function jl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(K(91));return be({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(K(92));if(iu(n)){if(1<n.length)throw Error(K(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:jn(n)}}function dh(e,t){var n=jn(t.value),r=jn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ph(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function vh(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Il(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?vh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var qa,hh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(qa=qa||document.createElement("div"),qa.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=qa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function su(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var lu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},db=["Webkit","ms","Moz","O"];Object.keys(lu).forEach(function(e){db.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lu[t]=lu[e]})});function mh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||lu.hasOwnProperty(e)&&lu[e]?(""+t).trim():t+"px"}function gh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=mh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var pb=be({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ml(e,t){if(t){if(pb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(K(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(K(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(K(61))}if(t.style!=null&&typeof t.style!="object")throw Error(K(62))}}function $l(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ll=null;function zl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vl=null,no=null,ro=null;function yh(e){if(e=ku(e)){if(typeof Vl!="function")throw Error(K(280));var t=e.stateNode;t&&(t=mi(t),Vl(e.stateNode,e.type,t))}}function Dh(e){no?ro?ro.push(e):ro=[e]:no=e}function Ch(){if(no){var e=no,t=ro;if(ro=no=null,yh(e),t)for(e=0;e<t.length;e++)yh(t[e])}}function wh(e,t){return e(t)}function Eh(){}var Wl=!1;function Bh(e,t,n){if(Wl)return e(t,n);Wl=!0;try{return wh(e,t,n)}finally{Wl=!1,(no!==null||ro!==null)&&(Eh(),Ch())}}function cu(e,t){var n=e.stateNode;if(n===null)return null;var r=mi(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(K(231,t,typeof n));return n}var Ul=!1;if(gn)try{var fu={};Object.defineProperty(fu,"passive",{get:function(){Ul=!0}}),window.addEventListener("test",fu,fu),window.removeEventListener("test",fu,fu)}catch{Ul=!1}function vb(e,t,n,r,o,u,a,i,s){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var du=!1,Qa=null,Ya=!1,Hl=null,hb={onError:function(e){du=!0,Qa=e}};function mb(e,t,n,r,o,u,a,i,s){du=!1,Qa=null,vb.apply(hb,arguments)}function gb(e,t,n,r,o,u,a,i,s){if(mb.apply(this,arguments),du){if(du){var l=Qa;du=!1,Qa=null}else throw Error(K(198));Ya||(Ya=!0,Hl=l)}}function gr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ah(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function bh(e){if(gr(e)!==e)throw Error(K(188))}function yb(e){var t=e.alternate;if(!t){if(t=gr(e),t===null)throw Error(K(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var u=o.alternate;if(u===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return bh(o),e;if(u===r)return bh(o),t;u=u.sibling}throw Error(K(188))}if(n.return!==r.return)n=o,r=u;else{for(var a=!1,i=o.child;i;){if(i===n){a=!0,n=o,r=u;break}if(i===r){a=!0,r=o,n=u;break}i=i.sibling}if(!a){for(i=u.child;i;){if(i===n){a=!0,n=u,r=o;break}if(i===r){a=!0,r=u,n=o;break}i=i.sibling}if(!a)throw Error(K(189))}}if(n.alternate!==r)throw Error(K(190))}if(n.tag!==3)throw Error(K(188));return n.stateNode.current===n?e:t}function Fh(e){return e=yb(e),e!==null?xh(e):null}function xh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xh(e);if(t!==null)return t;e=e.sibling}return null}var Sh=Et.unstable_scheduleCallback,Oh=Et.unstable_cancelCallback,Db=Et.unstable_shouldYield,Cb=Et.unstable_requestPaint,Pe=Et.unstable_now,wb=Et.unstable_getCurrentPriorityLevel,Kl=Et.unstable_ImmediatePriority,_h=Et.unstable_UserBlockingPriority,Ga=Et.unstable_NormalPriority,Eb=Et.unstable_LowPriority,kh=Et.unstable_IdlePriority,Xa=null,nn=null;function Bb(e){if(nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(Xa,e,void 0,(e.current.flags&128)===128)}catch{}}var Ut=Math.clz32?Math.clz32:Fb,Ab=Math.log,bb=Math.LN2;function Fb(e){return e>>>=0,e===0?32:31-(Ab(e)/bb|0)|0}var Za=64,Ja=4194304;function pu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ei(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,u=e.pingedLanes,a=n&268435455;if(a!==0){var i=a&~o;i!==0?r=pu(i):(u&=a,u!==0&&(r=pu(u)))}else a=n&~o,a!==0?r=pu(a):u!==0&&(r=pu(u));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,u=t&-t,o>=u||o===16&&(u&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ut(t),o=1<<n,r|=e[n],t&=~o;return r}function xb(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Sb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes;0<u;){var a=31-Ut(u),i=1<<a,s=o[a];s===-1?(!(i&n)||i&r)&&(o[a]=xb(i,t)):s<=t&&(e.expiredLanes|=i),u&=~i}}function ql(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ph(){var e=Za;return Za<<=1,!(Za&4194240)&&(Za=64),e}function Ql(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ut(t),e[t]=n}function Ob(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Ut(n),u=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~u}}function Yl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ut(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var pe=0;function Th(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Rh,Gl,Nh,jh,Ih,Xl=!1,ti=[],In=null,Mn=null,$n=null,hu=new Map,mu=new Map,Ln=[],_b="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mh(e,t){switch(e){case"focusin":case"focusout":In=null;break;case"dragenter":case"dragleave":Mn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":hu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":mu.delete(t.pointerId)}}function gu(e,t,n,r,o,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:u,targetContainers:[o]},t!==null&&(t=ku(t),t!==null&&Gl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function kb(e,t,n,r,o){switch(t){case"focusin":return In=gu(In,e,t,n,r,o),!0;case"dragenter":return Mn=gu(Mn,e,t,n,r,o),!0;case"mouseover":return $n=gu($n,e,t,n,r,o),!0;case"pointerover":var u=o.pointerId;return hu.set(u,gu(hu.get(u)||null,e,t,n,r,o)),!0;case"gotpointercapture":return u=o.pointerId,mu.set(u,gu(mu.get(u)||null,e,t,n,r,o)),!0}return!1}function $h(e){var t=yr(e.target);if(t!==null){var n=gr(t);if(n!==null){if(t=n.tag,t===13){if(t=Ah(n),t!==null){e.blockedOn=t,Ih(e.priority,function(){Nh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ni(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ll=r,n.target.dispatchEvent(r),Ll=null}else return t=ku(n),t!==null&&Gl(t),e.blockedOn=n,!1;t.shift()}return!0}function Lh(e,t,n){ni(e)&&n.delete(t)}function Pb(){Xl=!1,In!==null&&ni(In)&&(In=null),Mn!==null&&ni(Mn)&&(Mn=null),$n!==null&&ni($n)&&($n=null),hu.forEach(Lh),mu.forEach(Lh)}function yu(e,t){e.blockedOn===t&&(e.blockedOn=null,Xl||(Xl=!0,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,Pb)))}function Du(e){function t(o){return yu(o,e)}if(0<ti.length){yu(ti[0],e);for(var n=1;n<ti.length;n++){var r=ti[n];r.blockedOn===e&&(r.blockedOn=null)}}for(In!==null&&yu(In,e),Mn!==null&&yu(Mn,e),$n!==null&&yu($n,e),hu.forEach(t),mu.forEach(t),n=0;n<Ln.length;n++)r=Ln[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ln.length&&(n=Ln[0],n.blockedOn===null);)$h(n),n.blockedOn===null&&Ln.shift()}var oo=yn.ReactCurrentBatchConfig,ri=!0;function Tb(e,t,n,r){var o=pe,u=oo.transition;oo.transition=null;try{pe=1,Zl(e,t,n,r)}finally{pe=o,oo.transition=u}}function Rb(e,t,n,r){var o=pe,u=oo.transition;oo.transition=null;try{pe=4,Zl(e,t,n,r)}finally{pe=o,oo.transition=u}}function Zl(e,t,n,r){if(ri){var o=Jl(e,t,n,r);if(o===null)mc(e,t,r,oi,n),Mh(e,r);else if(kb(o,e,t,n,r))r.stopPropagation();else if(Mh(e,r),t&4&&-1<_b.indexOf(e)){for(;o!==null;){var u=ku(o);if(u!==null&&Rh(u),u=Jl(e,t,n,r),u===null&&mc(e,t,r,oi,n),u===o)break;o=u}o!==null&&r.stopPropagation()}else mc(e,t,r,null,n)}}var oi=null;function Jl(e,t,n,r){if(oi=null,e=zl(r),e=yr(e),e!==null)if(t=gr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ah(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return oi=e,null}function zh(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(wb()){case Kl:return 1;case _h:return 4;case Ga:case Eb:return 16;case kh:return 536870912;default:return 16}default:return 16}}var zn=null,ec=null,ui=null;function Vh(){if(ui)return ui;var e,t=ec,n=t.length,r,o="value"in zn?zn.value:zn.textContent,u=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[u-r];r++);return ui=o.slice(e,1<r?1-r:void 0)}function ai(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ii(){return!0}function Wh(){return!1}function Bt(e){function t(n,r,o,u,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=u,this.target=a,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(u):u[i]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?ii:Wh,this.isPropagationStopped=Wh,this}return be(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ii)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ii)},persist:function(){},isPersistent:ii}),t}var uo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tc=Bt(uo),Cu=be({},uo,{view:0,detail:0}),Nb=Bt(Cu),nc,rc,wu,si=be({},Cu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==wu&&(wu&&e.type==="mousemove"?(nc=e.screenX-wu.screenX,rc=e.screenY-wu.screenY):rc=nc=0,wu=e),nc)},movementY:function(e){return"movementY"in e?e.movementY:rc}}),Uh=Bt(si),jb=be({},si,{dataTransfer:0}),Ib=Bt(jb),Mb=be({},Cu,{relatedTarget:0}),oc=Bt(Mb),$b=be({},uo,{animationName:0,elapsedTime:0,pseudoElement:0}),Lb=Bt($b),zb=be({},uo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Vb=Bt(zb),Wb=be({},uo,{data:0}),Hh=Bt(Wb),Ub={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hb={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Kb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Kb[e])?!!t[e]:!1}function uc(){return qb}var Qb=be({},Cu,{key:function(e){if(e.key){var t=Ub[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ai(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Hb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uc,charCode:function(e){return e.type==="keypress"?ai(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ai(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Yb=Bt(Qb),Gb=be({},si,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kh=Bt(Gb),Xb=be({},Cu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uc}),Zb=Bt(Xb),Jb=be({},uo,{propertyName:0,elapsedTime:0,pseudoElement:0}),e2=Bt(Jb),t2=be({},si,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),n2=Bt(t2),r2=[9,13,27,32],ac=gn&&"CompositionEvent"in window,Eu=null;gn&&"documentMode"in document&&(Eu=document.documentMode);var o2=gn&&"TextEvent"in window&&!Eu,qh=gn&&(!ac||Eu&&8<Eu&&11>=Eu),Qh=" ",Yh=!1;function Gh(e,t){switch(e){case"keyup":return r2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ao=!1;function u2(e,t){switch(e){case"compositionend":return Xh(t);case"keypress":return t.which!==32?null:(Yh=!0,Qh);case"textInput":return e=t.data,e===Qh&&Yh?null:e;default:return null}}function a2(e,t){if(ao)return e==="compositionend"||!ac&&Gh(e,t)?(e=Vh(),ui=ec=zn=null,ao=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return qh&&t.locale!=="ko"?null:t.data;default:return null}}var i2={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!i2[e.type]:t==="textarea"}function Jh(e,t,n,r){Dh(r),t=pi(t,"onChange"),0<t.length&&(n=new tc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bu=null,Au=null;function s2(e){gm(e,0)}function li(e){var t=fo(e);if(ih(t))return e}function l2(e,t){if(e==="change")return t}var em=!1;if(gn){var ic;if(gn){var sc="oninput"in document;if(!sc){var tm=document.createElement("div");tm.setAttribute("oninput","return;"),sc=typeof tm.oninput=="function"}ic=sc}else ic=!1;em=ic&&(!document.documentMode||9<document.documentMode)}function nm(){Bu&&(Bu.detachEvent("onpropertychange",rm),Au=Bu=null)}function rm(e){if(e.propertyName==="value"&&li(Au)){var t=[];Jh(t,Au,e,zl(e)),Bh(s2,t)}}function c2(e,t,n){e==="focusin"?(nm(),Bu=t,Au=n,Bu.attachEvent("onpropertychange",rm)):e==="focusout"&&nm()}function f2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return li(Au)}function d2(e,t){if(e==="click")return li(t)}function p2(e,t){if(e==="input"||e==="change")return li(t)}function v2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ht=typeof Object.is=="function"?Object.is:v2;function bu(e,t){if(Ht(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Dl.call(t,o)||!Ht(e[o],t[o]))return!1}return!0}function om(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function um(e,t){var n=om(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=om(n)}}function am(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?am(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function im(){for(var e=window,t=Ka();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ka(e.document)}return t}function lc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function h2(e){var t=im(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&am(n.ownerDocument.documentElement,n)){if(r!==null&&lc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,u=Math.min(r.start,o);r=r.end===void 0?u:Math.min(r.end,o),!e.extend&&u>r&&(o=r,r=u,u=o),o=um(n,u);var a=um(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),u>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var m2=gn&&"documentMode"in document&&11>=document.documentMode,io=null,cc=null,Fu=null,fc=!1;function sm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fc||io==null||io!==Ka(r)||(r=io,"selectionStart"in r&&lc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fu&&bu(Fu,r)||(Fu=r,r=pi(cc,"onSelect"),0<r.length&&(t=new tc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=io)))}function ci(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var so={animationend:ci("Animation","AnimationEnd"),animationiteration:ci("Animation","AnimationIteration"),animationstart:ci("Animation","AnimationStart"),transitionend:ci("Transition","TransitionEnd")},dc={},lm={};gn&&(lm=document.createElement("div").style,"AnimationEvent"in window||(delete so.animationend.animation,delete so.animationiteration.animation,delete so.animationstart.animation),"TransitionEvent"in window||delete so.transitionend.transition);function fi(e){if(dc[e])return dc[e];if(!so[e])return e;var t=so[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in lm)return dc[e]=t[n];return e}var cm=fi("animationend"),fm=fi("animationiteration"),dm=fi("animationstart"),pm=fi("transitionend"),vm=new Map,hm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Vn(e,t){vm.set(e,t),mr(t,[e])}for(var pc=0;pc<hm.length;pc++){var vc=hm[pc],g2=vc.toLowerCase(),y2=vc[0].toUpperCase()+vc.slice(1);Vn(g2,"on"+y2)}Vn(cm,"onAnimationEnd"),Vn(fm,"onAnimationIteration"),Vn(dm,"onAnimationStart"),Vn("dblclick","onDoubleClick"),Vn("focusin","onFocus"),Vn("focusout","onBlur"),Vn(pm,"onTransitionEnd"),Zr("onMouseEnter",["mouseout","mouseover"]),Zr("onMouseLeave",["mouseout","mouseover"]),Zr("onPointerEnter",["pointerout","pointerover"]),Zr("onPointerLeave",["pointerout","pointerover"]),mr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),mr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),mr("onBeforeInput",["compositionend","keypress","textInput","paste"]),mr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),mr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),mr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),D2=new Set("cancel close invalid load scroll toggle".split(" ").concat(xu));function mm(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,gb(r,t,void 0,e),e.currentTarget=null}function gm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var u=void 0;if(t)for(var a=r.length-1;0<=a;a--){var i=r[a],s=i.instance,l=i.currentTarget;if(i=i.listener,s!==u&&o.isPropagationStopped())break e;mm(o,i,l),u=s}else for(a=0;a<r.length;a++){if(i=r[a],s=i.instance,l=i.currentTarget,i=i.listener,s!==u&&o.isPropagationStopped())break e;mm(o,i,l),u=s}}}if(Ya)throw e=Hl,Ya=!1,Hl=null,e}function De(e,t){var n=t[Ec];n===void 0&&(n=t[Ec]=new Set);var r=e+"__bubble";n.has(r)||(ym(t,e,2,!1),n.add(r))}function hc(e,t,n){var r=0;t&&(r|=4),ym(n,e,r,t)}var di="_reactListening"+Math.random().toString(36).slice(2);function Su(e){if(!e[di]){e[di]=!0,Jv.forEach(function(n){n!=="selectionchange"&&(D2.has(n)||hc(n,!1,e),hc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[di]||(t[di]=!0,hc("selectionchange",!1,t))}}function ym(e,t,n,r){switch(zh(t)){case 1:var o=Tb;break;case 4:o=Rb;break;default:o=Zl}n=o.bind(null,t,n,e),o=void 0,!Ul||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function mc(e,t,n,r,o){var u=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var i=r.stateNode.containerInfo;if(i===o||i.nodeType===8&&i.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===o||s.nodeType===8&&s.parentNode===o))return;a=a.return}for(;i!==null;){if(a=yr(i),a===null)return;if(s=a.tag,s===5||s===6){r=u=a;continue e}i=i.parentNode}}r=r.return}Bh(function(){var l=u,c=zl(n),d=[];e:{var p=vm.get(e);if(p!==void 0){var y=tc,m=e;switch(e){case"keypress":if(ai(n)===0)break e;case"keydown":case"keyup":y=Yb;break;case"focusin":m="focus",y=oc;break;case"focusout":m="blur",y=oc;break;case"beforeblur":case"afterblur":y=oc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=Uh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=Ib;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Zb;break;case cm:case fm:case dm:y=Lb;break;case pm:y=e2;break;case"scroll":y=Nb;break;case"wheel":y=n2;break;case"copy":case"cut":case"paste":y=Vb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=Kh}var f=(t&4)!==0,w=!f&&e==="scroll",h=f?p!==null?p+"Capture":null:p;f=[];for(var g=l,C;g!==null;){C=g;var E=C.stateNode;if(C.tag===5&&E!==null&&(C=E,h!==null&&(E=cu(g,h),E!=null&&f.push(Ou(g,E,C)))),w)break;g=g.return}0<f.length&&(p=new y(p,m,null,n,c),d.push({event:p,listeners:f}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",p&&n!==Ll&&(m=n.relatedTarget||n.fromElement)&&(yr(m)||m[Dn]))break e;if((y||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,y?(m=n.relatedTarget||n.toElement,y=l,m=m?yr(m):null,m!==null&&(w=gr(m),m!==w||m.tag!==5&&m.tag!==6)&&(m=null)):(y=null,m=l),y!==m)){if(f=Uh,E="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(f=Kh,E="onPointerLeave",h="onPointerEnter",g="pointer"),w=y==null?p:fo(y),C=m==null?p:fo(m),p=new f(E,g+"leave",y,n,c),p.target=w,p.relatedTarget=C,E=null,yr(c)===l&&(f=new f(h,g+"enter",m,n,c),f.target=C,f.relatedTarget=w,E=f),w=E,y&&m)t:{for(f=y,h=m,g=0,C=f;C;C=lo(C))g++;for(C=0,E=h;E;E=lo(E))C++;for(;0<g-C;)f=lo(f),g--;for(;0<C-g;)h=lo(h),C--;for(;g--;){if(f===h||h!==null&&f===h.alternate)break t;f=lo(f),h=lo(h)}f=null}else f=null;y!==null&&Dm(d,p,y,f,!1),m!==null&&w!==null&&Dm(d,w,m,f,!0)}}e:{if(p=l?fo(l):window,y=p.nodeName&&p.nodeName.toLowerCase(),y==="select"||y==="input"&&p.type==="file")var B=l2;else if(Zh(p))if(em)B=p2;else{B=f2;var F=c2}else(y=p.nodeName)&&y.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(B=d2);if(B&&(B=B(e,l))){Jh(d,B,n,c);break e}F&&F(e,p,l),e==="focusout"&&(F=p._wrapperState)&&F.controlled&&p.type==="number"&&Nl(p,"number",p.value)}switch(F=l?fo(l):window,e){case"focusin":(Zh(F)||F.contentEditable==="true")&&(io=F,cc=l,Fu=null);break;case"focusout":Fu=cc=io=null;break;case"mousedown":fc=!0;break;case"contextmenu":case"mouseup":case"dragend":fc=!1,sm(d,n,c);break;case"selectionchange":if(m2)break;case"keydown":case"keyup":sm(d,n,c)}var A;if(ac)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else ao?Gh(e,n)&&(S="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(S="onCompositionStart");S&&(qh&&n.locale!=="ko"&&(ao||S!=="onCompositionStart"?S==="onCompositionEnd"&&ao&&(A=Vh()):(zn=c,ec="value"in zn?zn.value:zn.textContent,ao=!0)),F=pi(l,S),0<F.length&&(S=new Hh(S,e,null,n,c),d.push({event:S,listeners:F}),A?S.data=A:(A=Xh(n),A!==null&&(S.data=A)))),(A=o2?u2(e,n):a2(e,n))&&(l=pi(l,"onBeforeInput"),0<l.length&&(c=new Hh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:l}),c.data=A))}gm(d,t)})}function Ou(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pi(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,u=o.stateNode;o.tag===5&&u!==null&&(o=u,u=cu(e,n),u!=null&&r.unshift(Ou(e,u,o)),u=cu(e,t),u!=null&&r.push(Ou(e,u,o))),e=e.return}return r}function lo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Dm(e,t,n,r,o){for(var u=t._reactName,a=[];n!==null&&n!==r;){var i=n,s=i.alternate,l=i.stateNode;if(s!==null&&s===r)break;i.tag===5&&l!==null&&(i=l,o?(s=cu(n,u),s!=null&&a.unshift(Ou(n,s,i))):o||(s=cu(n,u),s!=null&&a.push(Ou(n,s,i)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var C2=/\r\n?/g,w2=/\u0000|\uFFFD/g;function Cm(e){return(typeof e=="string"?e:""+e).replace(C2,`
39
- `).replace(w2,"")}function vi(e,t,n){if(t=Cm(t),Cm(e)!==t&&n)throw Error(K(425))}function hi(){}var gc=null,yc=null;function Dc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Cc=typeof setTimeout=="function"?setTimeout:void 0,E2=typeof clearTimeout=="function"?clearTimeout:void 0,wm=typeof Promise=="function"?Promise:void 0,B2=typeof queueMicrotask=="function"?queueMicrotask:typeof wm<"u"?function(e){return wm.resolve(null).then(e).catch(A2)}:Cc;function A2(e){setTimeout(function(){throw e})}function wc(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Du(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Du(t)}function Wn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Em(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var co=Math.random().toString(36).slice(2),rn="__reactFiber$"+co,_u="__reactProps$"+co,Dn="__reactContainer$"+co,Ec="__reactEvents$"+co,b2="__reactListeners$"+co,F2="__reactHandles$"+co;function yr(e){var t=e[rn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Dn]||n[rn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Em(e);e!==null;){if(n=e[rn])return n;e=Em(e)}return t}e=n,n=e.parentNode}return null}function ku(e){return e=e[rn]||e[Dn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(K(33))}function mi(e){return e[_u]||null}var Bc=[],po=-1;function Un(e){return{current:e}}function Ce(e){0>po||(e.current=Bc[po],Bc[po]=null,po--)}function ye(e,t){po++,Bc[po]=e.current,e.current=t}var Hn={},Ye=Un(Hn),ct=Un(!1),Dr=Hn;function vo(e,t){var n=e.type.contextTypes;if(!n)return Hn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},u;for(u in n)o[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ft(e){return e=e.childContextTypes,e!=null}function gi(){Ce(ct),Ce(Ye)}function Bm(e,t,n){if(Ye.current!==Hn)throw Error(K(168));ye(Ye,t),ye(ct,n)}function Am(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(K(108,cb(e)||"Unknown",o));return be({},n,r)}function yi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Hn,Dr=Ye.current,ye(Ye,e),ye(ct,ct.current),!0}function bm(e,t,n){var r=e.stateNode;if(!r)throw Error(K(169));n?(e=Am(e,t,Dr),r.__reactInternalMemoizedMergedChildContext=e,Ce(ct),Ce(Ye),ye(Ye,e)):Ce(ct),ye(ct,n)}var Cn=null,Di=!1,Ac=!1;function Fm(e){Cn===null?Cn=[e]:Cn.push(e)}function x2(e){Di=!0,Fm(e)}function Kn(){if(!Ac&&Cn!==null){Ac=!0;var e=0,t=pe;try{var n=Cn;for(pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Cn=null,Di=!1}catch(o){throw Cn!==null&&(Cn=Cn.slice(e+1)),Sh(Kl,Kn),o}finally{pe=t,Ac=!1}}return null}var ho=[],mo=0,Ci=null,wi=0,Pt=[],Tt=0,Cr=null,wn=1,En="";function wr(e,t){ho[mo++]=wi,ho[mo++]=Ci,Ci=e,wi=t}function xm(e,t,n){Pt[Tt++]=wn,Pt[Tt++]=En,Pt[Tt++]=Cr,Cr=e;var r=wn;e=En;var o=32-Ut(r)-1;r&=~(1<<o),n+=1;var u=32-Ut(t)+o;if(30<u){var a=o-o%5;u=(r&(1<<a)-1).toString(32),r>>=a,o-=a,wn=1<<32-Ut(t)+o|n<<o|r,En=u+e}else wn=1<<u|n<<o|r,En=e}function bc(e){e.return!==null&&(wr(e,1),xm(e,1,0))}function Fc(e){for(;e===Ci;)Ci=ho[--mo],ho[mo]=null,wi=ho[--mo],ho[mo]=null;for(;e===Cr;)Cr=Pt[--Tt],Pt[Tt]=null,En=Pt[--Tt],Pt[Tt]=null,wn=Pt[--Tt],Pt[Tt]=null}var At=null,bt=null,Ee=!1,Kt=null;function Sm(e,t){var n=It(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Om(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,At=e,bt=Wn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,At=e,bt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Cr!==null?{id:wn,overflow:En}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=It(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,At=e,bt=null,!0):!1;default:return!1}}function xc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Sc(e){if(Ee){var t=bt;if(t){var n=t;if(!Om(e,t)){if(xc(e))throw Error(K(418));t=Wn(n.nextSibling);var r=At;t&&Om(e,t)?Sm(r,n):(e.flags=e.flags&-4097|2,Ee=!1,At=e)}}else{if(xc(e))throw Error(K(418));e.flags=e.flags&-4097|2,Ee=!1,At=e}}}function _m(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;At=e}function Ei(e){if(e!==At)return!1;if(!Ee)return _m(e),Ee=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Dc(e.type,e.memoizedProps)),t&&(t=bt)){if(xc(e))throw km(),Error(K(418));for(;t;)Sm(e,t),t=Wn(t.nextSibling)}if(_m(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(K(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){bt=Wn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}bt=null}}else bt=At?Wn(e.stateNode.nextSibling):null;return!0}function km(){for(var e=bt;e;)e=Wn(e.nextSibling)}function go(){bt=At=null,Ee=!1}function Oc(e){Kt===null?Kt=[e]:Kt.push(e)}var S2=yn.ReactCurrentBatchConfig;function qt(e,t){if(e&&e.defaultProps){t=be({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Bi=Un(null),Ai=null,yo=null,_c=null;function kc(){_c=yo=Ai=null}function Pc(e){var t=Bi.current;Ce(Bi),e._currentValue=t}function Tc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Do(e,t){Ai=e,_c=yo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(dt=!0),e.firstContext=null)}function Rt(e){var t=e._currentValue;if(_c!==e)if(e={context:e,memoizedValue:t,next:null},yo===null){if(Ai===null)throw Error(K(308));yo=e,Ai.dependencies={lanes:0,firstContext:e}}else yo=yo.next=e;return t}var Er=null;function Rc(e){Er===null?Er=[e]:Er.push(e)}function Pm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Rc(t)):(n.next=o.next,o.next=n),t.interleaved=n,Bn(e,r)}function Bn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var qn=!1;function Nc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function An(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,fe&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Bn(e,n)}return o=r.interleaved,o===null?(t.next=t,Rc(r)):(t.next=o.next,o.next=t),r.interleaved=t,Bn(e,n)}function bi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}function Rm(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};u===null?o=u=a:u=u.next=a,n=n.next}while(n!==null);u===null?o=u=t:u=u.next=t}else o=u=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:u,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fi(e,t,n,r){var o=e.updateQueue;qn=!1;var u=o.firstBaseUpdate,a=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var s=i,l=s.next;s.next=null,a===null?u=l:a.next=l,a=s;var c=e.alternate;c!==null&&(c=c.updateQueue,i=c.lastBaseUpdate,i!==a&&(i===null?c.firstBaseUpdate=l:i.next=l,c.lastBaseUpdate=s))}if(u!==null){var d=o.baseState;a=0,c=l=s=null,i=u;do{var p=i.lane,y=i.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:y,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var m=e,f=i;switch(p=t,y=n,f.tag){case 1:if(m=f.payload,typeof m=="function"){d=m.call(y,d,p);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=f.payload,p=typeof m=="function"?m.call(y,d,p):m,p==null)break e;d=be({},d,p);break e;case 2:qn=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[i]:p.push(i))}else y={eventTime:y,lane:p,tag:i.tag,payload:i.payload,callback:i.callback,next:null},c===null?(l=c=y,s=d):c=c.next=y,a|=p;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;p=i,i=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(c===null&&(s=d),o.baseState=s,o.firstBaseUpdate=l,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else u===null&&(o.shared.lanes=0);br|=a,e.lanes=a,e.memoizedState=d}}function Nm(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(K(191,o));o.call(r)}}}var jm=new Zv.Component().refs;function jc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:be({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var xi={isMounted:function(e){return(e=e._reactInternals)?gr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ut(),o=Zn(e),u=An(r,o);u.payload=t,n!=null&&(u.callback=n),t=Qn(e,u,o),t!==null&&(Gt(t,e,o,r),bi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ut(),o=Zn(e),u=An(r,o);u.tag=1,u.payload=t,n!=null&&(u.callback=n),t=Qn(e,u,o),t!==null&&(Gt(t,e,o,r),bi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ut(),r=Zn(e),o=An(n,r);o.tag=2,t!=null&&(o.callback=t),t=Qn(e,o,r),t!==null&&(Gt(t,e,r,n),bi(t,e,r))}};function Im(e,t,n,r,o,u,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,u,a):t.prototype&&t.prototype.isPureReactComponent?!bu(n,r)||!bu(o,u):!0}function Mm(e,t,n){var r=!1,o=Hn,u=t.contextType;return typeof u=="object"&&u!==null?u=Rt(u):(o=ft(t)?Dr:Ye.current,r=t.contextTypes,u=(r=r!=null)?vo(e,o):Hn),t=new t(n,u),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=xi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=u),t}function $m(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&xi.enqueueReplaceState(t,t.state,null)}function Ic(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=jm,Nc(e);var u=t.contextType;typeof u=="object"&&u!==null?o.context=Rt(u):(u=ft(t)?Dr:Ye.current,o.context=vo(e,u)),o.state=e.memoizedState,u=t.getDerivedStateFromProps,typeof u=="function"&&(jc(e,t,u,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&xi.enqueueReplaceState(o,o.state,null),Fi(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Pu(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(K(309));var r=n.stateNode}if(!r)throw Error(K(147,e));var o=r,u=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===u?t.ref:(t=function(a){var i=o.refs;i===jm&&(i=o.refs={}),a===null?delete i[u]:i[u]=a},t._stringRef=u,t)}if(typeof e!="string")throw Error(K(284));if(!n._owner)throw Error(K(290,e))}return e}function Si(e,t){throw e=Object.prototype.toString.call(t),Error(K(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Lm(e){var t=e._init;return t(e._payload)}function zm(e){function t(h,g){if(e){var C=h.deletions;C===null?(h.deletions=[g],h.flags|=16):C.push(g)}}function n(h,g){if(!e)return null;for(;g!==null;)t(h,g),g=g.sibling;return null}function r(h,g){for(h=new Map;g!==null;)g.key!==null?h.set(g.key,g):h.set(g.index,g),g=g.sibling;return h}function o(h,g){return h=er(h,g),h.index=0,h.sibling=null,h}function u(h,g,C){return h.index=C,e?(C=h.alternate,C!==null?(C=C.index,C<g?(h.flags|=2,g):C):(h.flags|=2,g)):(h.flags|=1048576,g)}function a(h){return e&&h.alternate===null&&(h.flags|=2),h}function i(h,g,C,E){return g===null||g.tag!==6?(g=wf(C,h.mode,E),g.return=h,g):(g=o(g,C),g.return=h,g)}function s(h,g,C,E){var B=C.type;return B===eo?c(h,g,C.props.children,E,C.key):g!==null&&(g.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Nn&&Lm(B)===g.type)?(E=o(g,C.props),E.ref=Pu(h,g,C),E.return=h,E):(E=qi(C.type,C.key,C.props,null,h.mode,E),E.ref=Pu(h,g,C),E.return=h,E)}function l(h,g,C,E){return g===null||g.tag!==4||g.stateNode.containerInfo!==C.containerInfo||g.stateNode.implementation!==C.implementation?(g=Ef(C,h.mode,E),g.return=h,g):(g=o(g,C.children||[]),g.return=h,g)}function c(h,g,C,E,B){return g===null||g.tag!==7?(g=Or(C,h.mode,E,B),g.return=h,g):(g=o(g,C),g.return=h,g)}function d(h,g,C){if(typeof g=="string"&&g!==""||typeof g=="number")return g=wf(""+g,h.mode,C),g.return=h,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ua:return C=qi(g.type,g.key,g.props,null,h.mode,C),C.ref=Pu(h,null,g),C.return=h,C;case Jr:return g=Ef(g,h.mode,C),g.return=h,g;case Nn:var E=g._init;return d(h,E(g._payload),C)}if(iu(g)||uu(g))return g=Or(g,h.mode,C,null),g.return=h,g;Si(h,g)}return null}function p(h,g,C,E){var B=g!==null?g.key:null;if(typeof C=="string"&&C!==""||typeof C=="number")return B!==null?null:i(h,g,""+C,E);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Ua:return C.key===B?s(h,g,C,E):null;case Jr:return C.key===B?l(h,g,C,E):null;case Nn:return B=C._init,p(h,g,B(C._payload),E)}if(iu(C)||uu(C))return B!==null?null:c(h,g,C,E,null);Si(h,C)}return null}function y(h,g,C,E,B){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(C)||null,i(g,h,""+E,B);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ua:return h=h.get(E.key===null?C:E.key)||null,s(g,h,E,B);case Jr:return h=h.get(E.key===null?C:E.key)||null,l(g,h,E,B);case Nn:var F=E._init;return y(h,g,C,F(E._payload),B)}if(iu(E)||uu(E))return h=h.get(C)||null,c(g,h,E,B,null);Si(g,E)}return null}function m(h,g,C,E){for(var B=null,F=null,A=g,S=g=0,P=null;A!==null&&S<C.length;S++){A.index>S?(P=A,A=null):P=A.sibling;var O=p(h,A,C[S],E);if(O===null){A===null&&(A=P);break}e&&A&&O.alternate===null&&t(h,A),g=u(O,g,S),F===null?B=O:F.sibling=O,F=O,A=P}if(S===C.length)return n(h,A),Ee&&wr(h,S),B;if(A===null){for(;S<C.length;S++)A=d(h,C[S],E),A!==null&&(g=u(A,g,S),F===null?B=A:F.sibling=A,F=A);return Ee&&wr(h,S),B}for(A=r(h,A);S<C.length;S++)P=y(A,h,S,C[S],E),P!==null&&(e&&P.alternate!==null&&A.delete(P.key===null?S:P.key),g=u(P,g,S),F===null?B=P:F.sibling=P,F=P);return e&&A.forEach(function(H){return t(h,H)}),Ee&&wr(h,S),B}function f(h,g,C,E){var B=uu(C);if(typeof B!="function")throw Error(K(150));if(C=B.call(C),C==null)throw Error(K(151));for(var F=B=null,A=g,S=g=0,P=null,O=C.next();A!==null&&!O.done;S++,O=C.next()){A.index>S?(P=A,A=null):P=A.sibling;var H=p(h,A,O.value,E);if(H===null){A===null&&(A=P);break}e&&A&&H.alternate===null&&t(h,A),g=u(H,g,S),F===null?B=H:F.sibling=H,F=H,A=P}if(O.done)return n(h,A),Ee&&wr(h,S),B;if(A===null){for(;!O.done;S++,O=C.next())O=d(h,O.value,E),O!==null&&(g=u(O,g,S),F===null?B=O:F.sibling=O,F=O);return Ee&&wr(h,S),B}for(A=r(h,A);!O.done;S++,O=C.next())O=y(A,h,S,O.value,E),O!==null&&(e&&O.alternate!==null&&A.delete(O.key===null?S:O.key),g=u(O,g,S),F===null?B=O:F.sibling=O,F=O);return e&&A.forEach(function(k){return t(h,k)}),Ee&&wr(h,S),B}function w(h,g,C,E){if(typeof C=="object"&&C!==null&&C.type===eo&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case Ua:e:{for(var B=C.key,F=g;F!==null;){if(F.key===B){if(B=C.type,B===eo){if(F.tag===7){n(h,F.sibling),g=o(F,C.props.children),g.return=h,h=g;break e}}else if(F.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Nn&&Lm(B)===F.type){n(h,F.sibling),g=o(F,C.props),g.ref=Pu(h,F,C),g.return=h,h=g;break e}n(h,F);break}else t(h,F);F=F.sibling}C.type===eo?(g=Or(C.props.children,h.mode,E,C.key),g.return=h,h=g):(E=qi(C.type,C.key,C.props,null,h.mode,E),E.ref=Pu(h,g,C),E.return=h,h=E)}return a(h);case Jr:e:{for(F=C.key;g!==null;){if(g.key===F)if(g.tag===4&&g.stateNode.containerInfo===C.containerInfo&&g.stateNode.implementation===C.implementation){n(h,g.sibling),g=o(g,C.children||[]),g.return=h,h=g;break e}else{n(h,g);break}else t(h,g);g=g.sibling}g=Ef(C,h.mode,E),g.return=h,h=g}return a(h);case Nn:return F=C._init,w(h,g,F(C._payload),E)}if(iu(C))return m(h,g,C,E);if(uu(C))return f(h,g,C,E);Si(h,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,g!==null&&g.tag===6?(n(h,g.sibling),g=o(g,C),g.return=h,h=g):(n(h,g),g=wf(C,h.mode,E),g.return=h,h=g),a(h)):n(h,g)}return w}var Co=zm(!0),Vm=zm(!1),Tu={},on=Un(Tu),Ru=Un(Tu),Nu=Un(Tu);function Br(e){if(e===Tu)throw Error(K(174));return e}function Mc(e,t){switch(ye(Nu,t),ye(Ru,e),ye(on,Tu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Il(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Il(t,e)}Ce(on),ye(on,t)}function wo(){Ce(on),Ce(Ru),Ce(Nu)}function Wm(e){Br(Nu.current);var t=Br(on.current),n=Il(t,e.type);t!==n&&(ye(Ru,e),ye(on,n))}function $c(e){Ru.current===e&&(Ce(on),Ce(Ru))}var Fe=Un(0);function Oi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Lc=[];function zc(){for(var e=0;e<Lc.length;e++)Lc[e]._workInProgressVersionPrimary=null;Lc.length=0}var _i=yn.ReactCurrentDispatcher,Vc=yn.ReactCurrentBatchConfig,Ar=0,xe=null,Me=null,Ve=null,ki=!1,ju=!1,Iu=0,O2=0;function Ge(){throw Error(K(321))}function Wc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ht(e[n],t[n]))return!1;return!0}function Uc(e,t,n,r,o,u){if(Ar=u,xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_i.current=e===null||e.memoizedState===null?T2:R2,e=n(r,o),ju){u=0;do{if(ju=!1,Iu=0,25<=u)throw Error(K(301));u+=1,Ve=Me=null,t.updateQueue=null,_i.current=N2,e=n(r,o)}while(ju)}if(_i.current=Ri,t=Me!==null&&Me.next!==null,Ar=0,Ve=Me=xe=null,ki=!1,t)throw Error(K(300));return e}function Hc(){var e=Iu!==0;return Iu=0,e}function un(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ve===null?xe.memoizedState=Ve=e:Ve=Ve.next=e,Ve}function Nt(){if(Me===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=Ve===null?xe.memoizedState:Ve.next;if(t!==null)Ve=t,Me=e;else{if(e===null)throw Error(K(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},Ve===null?xe.memoizedState=Ve=e:Ve=Ve.next=e}return Ve}function Mu(e,t){return typeof t=="function"?t(e):t}function Kc(e){var t=Nt(),n=t.queue;if(n===null)throw Error(K(311));n.lastRenderedReducer=e;var r=Me,o=r.baseQueue,u=n.pending;if(u!==null){if(o!==null){var a=o.next;o.next=u.next,u.next=a}r.baseQueue=o=u,n.pending=null}if(o!==null){u=o.next,r=r.baseState;var i=a=null,s=null,l=u;do{var c=l.lane;if((Ar&c)===c)s!==null&&(s=s.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var d={lane:c,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};s===null?(i=s=d,a=r):s=s.next=d,xe.lanes|=c,br|=c}l=l.next}while(l!==null&&l!==u);s===null?a=r:s.next=i,Ht(r,t.memoizedState)||(dt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do u=o.lane,xe.lanes|=u,br|=u,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function qc(e){var t=Nt(),n=t.queue;if(n===null)throw Error(K(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,u=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do u=e(u,a.action),a=a.next;while(a!==o);Ht(u,t.memoizedState)||(dt=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,r]}function Um(){}function Hm(e,t){var n=xe,r=Nt(),o=t(),u=!Ht(r.memoizedState,o);if(u&&(r.memoizedState=o,dt=!0),r=r.queue,Qc(Qm.bind(null,n,r,e),[e]),r.getSnapshot!==t||u||Ve!==null&&Ve.memoizedState.tag&1){if(n.flags|=2048,$u(9,qm.bind(null,n,r,o,t),void 0,null),We===null)throw Error(K(349));Ar&30||Km(n,t,o)}return o}function Km(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=xe.updateQueue,t===null?(t={lastEffect:null,stores:null},xe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function qm(e,t,n,r){t.value=n,t.getSnapshot=r,Ym(t)&&Gm(e)}function Qm(e,t,n){return n(function(){Ym(t)&&Gm(e)})}function Ym(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ht(e,n)}catch{return!0}}function Gm(e){var t=Bn(e,1);t!==null&&Gt(t,e,1,-1)}function Xm(e){var t=un();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:e},t.queue=e,e=e.dispatch=P2.bind(null,xe,e),[t.memoizedState,e]}function $u(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=xe.updateQueue,t===null?(t={lastEffect:null,stores:null},xe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Zm(){return Nt().memoizedState}function Pi(e,t,n,r){var o=un();xe.flags|=e,o.memoizedState=$u(1|t,n,void 0,r===void 0?null:r)}function Ti(e,t,n,r){var o=Nt();r=r===void 0?null:r;var u=void 0;if(Me!==null){var a=Me.memoizedState;if(u=a.destroy,r!==null&&Wc(r,a.deps)){o.memoizedState=$u(t,n,u,r);return}}xe.flags|=e,o.memoizedState=$u(1|t,n,u,r)}function Jm(e,t){return Pi(8390656,8,e,t)}function Qc(e,t){return Ti(2048,8,e,t)}function eg(e,t){return Ti(4,2,e,t)}function tg(e,t){return Ti(4,4,e,t)}function ng(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function rg(e,t,n){return n=n!=null?n.concat([e]):null,Ti(4,4,ng.bind(null,t,e),n)}function Yc(){}function og(e,t){var n=Nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ug(e,t){var n=Nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ag(e,t,n){return Ar&21?(Ht(n,t)||(n=Ph(),xe.lanes|=n,br|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,dt=!0),e.memoizedState=n)}function _2(e,t){var n=pe;pe=n!==0&&4>n?n:4,e(!0);var r=Vc.transition;Vc.transition={};try{e(!1),t()}finally{pe=n,Vc.transition=r}}function ig(){return Nt().memoizedState}function k2(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sg(e))lg(t,n);else if(n=Pm(e,t,n,r),n!==null){var o=ut();Gt(n,e,r,o),cg(n,t,r)}}function P2(e,t,n){var r=Zn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sg(e))lg(t,o);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var a=t.lastRenderedState,i=u(a,n);if(o.hasEagerState=!0,o.eagerState=i,Ht(i,a)){var s=t.interleaved;s===null?(o.next=o,Rc(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Pm(e,t,o,r),n!==null&&(o=ut(),Gt(n,e,r,o),cg(n,t,r))}}function sg(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function lg(e,t){ju=ki=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}var Ri={readContext:Rt,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useInsertionEffect:Ge,useLayoutEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useMutableSource:Ge,useSyncExternalStore:Ge,useId:Ge,unstable_isNewReconciler:!1},T2={readContext:Rt,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Rt,useEffect:Jm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pi(4194308,4,ng.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pi(4,2,e,t)},useMemo:function(e,t){var n=un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=un();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=k2.bind(null,xe,e),[r.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:Xm,useDebugValue:Yc,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=Xm(!1),t=e[0];return e=_2.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=xe,o=un();if(Ee){if(n===void 0)throw Error(K(407));n=n()}else{if(n=t(),We===null)throw Error(K(349));Ar&30||Km(r,t,n)}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,Jm(Qm.bind(null,r,u,e),[e]),r.flags|=2048,$u(9,qm.bind(null,r,u,n,t),void 0,null),n},useId:function(){var e=un(),t=We.identifierPrefix;if(Ee){var n=En,r=wn;n=(r&~(1<<32-Ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Iu++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=O2++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},R2={readContext:Rt,useCallback:og,useContext:Rt,useEffect:Qc,useImperativeHandle:rg,useInsertionEffect:eg,useLayoutEffect:tg,useMemo:ug,useReducer:Kc,useRef:Zm,useState:function(){return Kc(Mu)},useDebugValue:Yc,useDeferredValue:function(e){var t=Nt();return ag(t,Me.memoizedState,e)},useTransition:function(){var e=Kc(Mu)[0],t=Nt().memoizedState;return[e,t]},useMutableSource:Um,useSyncExternalStore:Hm,useId:ig,unstable_isNewReconciler:!1},N2={readContext:Rt,useCallback:og,useContext:Rt,useEffect:Qc,useImperativeHandle:rg,useInsertionEffect:eg,useLayoutEffect:tg,useMemo:ug,useReducer:qc,useRef:Zm,useState:function(){return qc(Mu)},useDebugValue:Yc,useDeferredValue:function(e){var t=Nt();return Me===null?t.memoizedState=e:ag(t,Me.memoizedState,e)},useTransition:function(){var e=qc(Mu)[0],t=Nt().memoizedState;return[e,t]},useMutableSource:Um,useSyncExternalStore:Hm,useId:ig,unstable_isNewReconciler:!1};function Eo(e,t){try{var n="",r=t;do n+=lb(r),r=r.return;while(r);var o=n}catch(u){o=`
38
+ `+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=a&&0<=i);break}}}finally{_l=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?au(e):""}function l2(e){switch(e.tag){case 5:return au(e.type);case 16:return au("Lazy");case 13:return au("Suspense");case 19:return au("SuspenseList");case 0:case 2:case 15:return e=kl(e.type,!1),e;case 11:return e=kl(e.type.render,!1),e;case 1:return e=kl(e.type,!0),e;default:return""}}function Pl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case eo:return"Fragment";case Jr:return"Portal";case Al:return"Profiler";case Bl:return"StrictMode";case Fl:return"Suspense";case xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rh:return(e.displayName||"Context")+".Consumer";case nh:return(e._context.displayName||"Context")+".Provider";case bl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sl:return t=e.displayName||null,t!==null?t:Pl(e.type)||"Memo";case Nn:t=e._payload,e=e._init;try{return Pl(e(t))}catch{}}return null}function c2(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pl(t);case 8:return t===Bl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ah(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function f2(e){var t=ah(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,u.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ha(e){e._valueTracker||(e._valueTracker=f2(e))}function ih(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ah(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ka(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Tl(e,t){var n=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function sh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=jn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function lh(e,t){t=t.checked,t!=null&&El(e,"checked",t,!1)}function Rl(e,t){lh(e,t);var n=jn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Nl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Nl(e,t.type,jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ch(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Nl(e,t,n){(t!=="number"||Ka(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var iu=Array.isArray;function to(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+jn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function jl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(K(91));return be({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(K(92));if(iu(n)){if(1<n.length)throw Error(K(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:jn(n)}}function dh(e,t){var n=jn(t.value),r=jn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ph(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function vh(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Il(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?vh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var qa,hh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(qa=qa||document.createElement("div"),qa.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=qa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function su(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var lu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},d2=["Webkit","ms","Moz","O"];Object.keys(lu).forEach(function(e){d2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lu[t]=lu[e]})});function mh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||lu.hasOwnProperty(e)&&lu[e]?(""+t).trim():t+"px"}function gh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=mh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var p2=be({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ml(e,t){if(t){if(p2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(K(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(K(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(K(61))}if(t.style!=null&&typeof t.style!="object")throw Error(K(62))}}function $l(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ll=null;function zl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vl=null,no=null,ro=null;function yh(e){if(e=ku(e)){if(typeof Vl!="function")throw Error(K(280));var t=e.stateNode;t&&(t=mi(t),Vl(e.stateNode,e.type,t))}}function Dh(e){no?ro?ro.push(e):ro=[e]:no=e}function Ch(){if(no){var e=no,t=ro;if(ro=no=null,yh(e),t)for(e=0;e<t.length;e++)yh(t[e])}}function wh(e,t){return e(t)}function Eh(){}var Wl=!1;function Bh(e,t,n){if(Wl)return e(t,n);Wl=!0;try{return wh(e,t,n)}finally{Wl=!1,(no!==null||ro!==null)&&(Eh(),Ch())}}function cu(e,t){var n=e.stateNode;if(n===null)return null;var r=mi(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(K(231,t,typeof n));return n}var Ul=!1;if(gn)try{var fu={};Object.defineProperty(fu,"passive",{get:function(){Ul=!0}}),window.addEventListener("test",fu,fu),window.removeEventListener("test",fu,fu)}catch{Ul=!1}function v2(e,t,n,r,o,u,a,i,s){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var du=!1,Qa=null,Ya=!1,Hl=null,h2={onError:function(e){du=!0,Qa=e}};function m2(e,t,n,r,o,u,a,i,s){du=!1,Qa=null,v2.apply(h2,arguments)}function g2(e,t,n,r,o,u,a,i,s){if(m2.apply(this,arguments),du){if(du){var l=Qa;du=!1,Qa=null}else throw Error(K(198));Ya||(Ya=!0,Hl=l)}}function gr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ah(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function bh(e){if(gr(e)!==e)throw Error(K(188))}function y2(e){var t=e.alternate;if(!t){if(t=gr(e),t===null)throw Error(K(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var u=o.alternate;if(u===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return bh(o),e;if(u===r)return bh(o),t;u=u.sibling}throw Error(K(188))}if(n.return!==r.return)n=o,r=u;else{for(var a=!1,i=o.child;i;){if(i===n){a=!0,n=o,r=u;break}if(i===r){a=!0,r=o,n=u;break}i=i.sibling}if(!a){for(i=u.child;i;){if(i===n){a=!0,n=u,r=o;break}if(i===r){a=!0,r=u,n=o;break}i=i.sibling}if(!a)throw Error(K(189))}}if(n.alternate!==r)throw Error(K(190))}if(n.tag!==3)throw Error(K(188));return n.stateNode.current===n?e:t}function Fh(e){return e=y2(e),e!==null?xh(e):null}function xh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xh(e);if(t!==null)return t;e=e.sibling}return null}var Sh=Et.unstable_scheduleCallback,Oh=Et.unstable_cancelCallback,D2=Et.unstable_shouldYield,C2=Et.unstable_requestPaint,Pe=Et.unstable_now,w2=Et.unstable_getCurrentPriorityLevel,Kl=Et.unstable_ImmediatePriority,_h=Et.unstable_UserBlockingPriority,Ga=Et.unstable_NormalPriority,E2=Et.unstable_LowPriority,kh=Et.unstable_IdlePriority,Xa=null,nn=null;function B2(e){if(nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(Xa,e,void 0,(e.current.flags&128)===128)}catch{}}var Ut=Math.clz32?Math.clz32:F2,A2=Math.log,b2=Math.LN2;function F2(e){return e>>>=0,e===0?32:31-(A2(e)/b2|0)|0}var Za=64,Ja=4194304;function pu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ei(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,u=e.pingedLanes,a=n&268435455;if(a!==0){var i=a&~o;i!==0?r=pu(i):(u&=a,u!==0&&(r=pu(u)))}else a=n&~o,a!==0?r=pu(a):u!==0&&(r=pu(u));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,u=t&-t,o>=u||o===16&&(u&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ut(t),o=1<<n,r|=e[n],t&=~o;return r}function x2(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function S2(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes;0<u;){var a=31-Ut(u),i=1<<a,s=o[a];s===-1?(!(i&n)||i&r)&&(o[a]=x2(i,t)):s<=t&&(e.expiredLanes|=i),u&=~i}}function ql(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ph(){var e=Za;return Za<<=1,!(Za&4194240)&&(Za=64),e}function Ql(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ut(t),e[t]=n}function O2(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Ut(n),u=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~u}}function Yl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ut(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var pe=0;function Th(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Rh,Gl,Nh,jh,Ih,Xl=!1,ti=[],In=null,Mn=null,$n=null,hu=new Map,mu=new Map,Ln=[],_2="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mh(e,t){switch(e){case"focusin":case"focusout":In=null;break;case"dragenter":case"dragleave":Mn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":hu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":mu.delete(t.pointerId)}}function gu(e,t,n,r,o,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:u,targetContainers:[o]},t!==null&&(t=ku(t),t!==null&&Gl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function k2(e,t,n,r,o){switch(t){case"focusin":return In=gu(In,e,t,n,r,o),!0;case"dragenter":return Mn=gu(Mn,e,t,n,r,o),!0;case"mouseover":return $n=gu($n,e,t,n,r,o),!0;case"pointerover":var u=o.pointerId;return hu.set(u,gu(hu.get(u)||null,e,t,n,r,o)),!0;case"gotpointercapture":return u=o.pointerId,mu.set(u,gu(mu.get(u)||null,e,t,n,r,o)),!0}return!1}function $h(e){var t=yr(e.target);if(t!==null){var n=gr(t);if(n!==null){if(t=n.tag,t===13){if(t=Ah(n),t!==null){e.blockedOn=t,Ih(e.priority,function(){Nh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ni(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ll=r,n.target.dispatchEvent(r),Ll=null}else return t=ku(n),t!==null&&Gl(t),e.blockedOn=n,!1;t.shift()}return!0}function Lh(e,t,n){ni(e)&&n.delete(t)}function P2(){Xl=!1,In!==null&&ni(In)&&(In=null),Mn!==null&&ni(Mn)&&(Mn=null),$n!==null&&ni($n)&&($n=null),hu.forEach(Lh),mu.forEach(Lh)}function yu(e,t){e.blockedOn===t&&(e.blockedOn=null,Xl||(Xl=!0,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,P2)))}function Du(e){function t(o){return yu(o,e)}if(0<ti.length){yu(ti[0],e);for(var n=1;n<ti.length;n++){var r=ti[n];r.blockedOn===e&&(r.blockedOn=null)}}for(In!==null&&yu(In,e),Mn!==null&&yu(Mn,e),$n!==null&&yu($n,e),hu.forEach(t),mu.forEach(t),n=0;n<Ln.length;n++)r=Ln[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ln.length&&(n=Ln[0],n.blockedOn===null);)$h(n),n.blockedOn===null&&Ln.shift()}var oo=yn.ReactCurrentBatchConfig,ri=!0;function T2(e,t,n,r){var o=pe,u=oo.transition;oo.transition=null;try{pe=1,Zl(e,t,n,r)}finally{pe=o,oo.transition=u}}function R2(e,t,n,r){var o=pe,u=oo.transition;oo.transition=null;try{pe=4,Zl(e,t,n,r)}finally{pe=o,oo.transition=u}}function Zl(e,t,n,r){if(ri){var o=Jl(e,t,n,r);if(o===null)mc(e,t,r,oi,n),Mh(e,r);else if(k2(o,e,t,n,r))r.stopPropagation();else if(Mh(e,r),t&4&&-1<_2.indexOf(e)){for(;o!==null;){var u=ku(o);if(u!==null&&Rh(u),u=Jl(e,t,n,r),u===null&&mc(e,t,r,oi,n),u===o)break;o=u}o!==null&&r.stopPropagation()}else mc(e,t,r,null,n)}}var oi=null;function Jl(e,t,n,r){if(oi=null,e=zl(r),e=yr(e),e!==null)if(t=gr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ah(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return oi=e,null}function zh(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(w2()){case Kl:return 1;case _h:return 4;case Ga:case E2:return 16;case kh:return 536870912;default:return 16}default:return 16}}var zn=null,ec=null,ui=null;function Vh(){if(ui)return ui;var e,t=ec,n=t.length,r,o="value"in zn?zn.value:zn.textContent,u=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[u-r];r++);return ui=o.slice(e,1<r?1-r:void 0)}function ai(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ii(){return!0}function Wh(){return!1}function Bt(e){function t(n,r,o,u,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=u,this.target=a,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(u):u[i]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?ii:Wh,this.isPropagationStopped=Wh,this}return be(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ii)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ii)},persist:function(){},isPersistent:ii}),t}var uo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tc=Bt(uo),Cu=be({},uo,{view:0,detail:0}),N2=Bt(Cu),nc,rc,wu,si=be({},Cu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==wu&&(wu&&e.type==="mousemove"?(nc=e.screenX-wu.screenX,rc=e.screenY-wu.screenY):rc=nc=0,wu=e),nc)},movementY:function(e){return"movementY"in e?e.movementY:rc}}),Uh=Bt(si),j2=be({},si,{dataTransfer:0}),I2=Bt(j2),M2=be({},Cu,{relatedTarget:0}),oc=Bt(M2),$2=be({},uo,{animationName:0,elapsedTime:0,pseudoElement:0}),L2=Bt($2),z2=be({},uo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),V2=Bt(z2),W2=be({},uo,{data:0}),Hh=Bt(W2),U2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},H2={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},K2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function q2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=K2[e])?!!t[e]:!1}function uc(){return q2}var Q2=be({},Cu,{key:function(e){if(e.key){var t=U2[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ai(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?H2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uc,charCode:function(e){return e.type==="keypress"?ai(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ai(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Y2=Bt(Q2),G2=be({},si,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kh=Bt(G2),X2=be({},Cu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uc}),Z2=Bt(X2),J2=be({},uo,{propertyName:0,elapsedTime:0,pseudoElement:0}),eb=Bt(J2),tb=be({},si,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),nb=Bt(tb),rb=[9,13,27,32],ac=gn&&"CompositionEvent"in window,Eu=null;gn&&"documentMode"in document&&(Eu=document.documentMode);var ob=gn&&"TextEvent"in window&&!Eu,qh=gn&&(!ac||Eu&&8<Eu&&11>=Eu),Qh=" ",Yh=!1;function Gh(e,t){switch(e){case"keyup":return rb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ao=!1;function ub(e,t){switch(e){case"compositionend":return Xh(t);case"keypress":return t.which!==32?null:(Yh=!0,Qh);case"textInput":return e=t.data,e===Qh&&Yh?null:e;default:return null}}function ab(e,t){if(ao)return e==="compositionend"||!ac&&Gh(e,t)?(e=Vh(),ui=ec=zn=null,ao=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return qh&&t.locale!=="ko"?null:t.data;default:return null}}var ib={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ib[e.type]:t==="textarea"}function Jh(e,t,n,r){Dh(r),t=pi(t,"onChange"),0<t.length&&(n=new tc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bu=null,Au=null;function sb(e){gm(e,0)}function li(e){var t=fo(e);if(ih(t))return e}function lb(e,t){if(e==="change")return t}var em=!1;if(gn){var ic;if(gn){var sc="oninput"in document;if(!sc){var tm=document.createElement("div");tm.setAttribute("oninput","return;"),sc=typeof tm.oninput=="function"}ic=sc}else ic=!1;em=ic&&(!document.documentMode||9<document.documentMode)}function nm(){Bu&&(Bu.detachEvent("onpropertychange",rm),Au=Bu=null)}function rm(e){if(e.propertyName==="value"&&li(Au)){var t=[];Jh(t,Au,e,zl(e)),Bh(sb,t)}}function cb(e,t,n){e==="focusin"?(nm(),Bu=t,Au=n,Bu.attachEvent("onpropertychange",rm)):e==="focusout"&&nm()}function fb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return li(Au)}function db(e,t){if(e==="click")return li(t)}function pb(e,t){if(e==="input"||e==="change")return li(t)}function vb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ht=typeof Object.is=="function"?Object.is:vb;function bu(e,t){if(Ht(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Dl.call(t,o)||!Ht(e[o],t[o]))return!1}return!0}function om(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function um(e,t){var n=om(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=om(n)}}function am(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?am(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function im(){for(var e=window,t=Ka();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ka(e.document)}return t}function lc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function hb(e){var t=im(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&am(n.ownerDocument.documentElement,n)){if(r!==null&&lc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,u=Math.min(r.start,o);r=r.end===void 0?u:Math.min(r.end,o),!e.extend&&u>r&&(o=r,r=u,u=o),o=um(n,u);var a=um(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),u>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mb=gn&&"documentMode"in document&&11>=document.documentMode,io=null,cc=null,Fu=null,fc=!1;function sm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fc||io==null||io!==Ka(r)||(r=io,"selectionStart"in r&&lc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fu&&bu(Fu,r)||(Fu=r,r=pi(cc,"onSelect"),0<r.length&&(t=new tc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=io)))}function ci(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var so={animationend:ci("Animation","AnimationEnd"),animationiteration:ci("Animation","AnimationIteration"),animationstart:ci("Animation","AnimationStart"),transitionend:ci("Transition","TransitionEnd")},dc={},lm={};gn&&(lm=document.createElement("div").style,"AnimationEvent"in window||(delete so.animationend.animation,delete so.animationiteration.animation,delete so.animationstart.animation),"TransitionEvent"in window||delete so.transitionend.transition);function fi(e){if(dc[e])return dc[e];if(!so[e])return e;var t=so[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in lm)return dc[e]=t[n];return e}var cm=fi("animationend"),fm=fi("animationiteration"),dm=fi("animationstart"),pm=fi("transitionend"),vm=new Map,hm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Vn(e,t){vm.set(e,t),mr(t,[e])}for(var pc=0;pc<hm.length;pc++){var vc=hm[pc],gb=vc.toLowerCase(),yb=vc[0].toUpperCase()+vc.slice(1);Vn(gb,"on"+yb)}Vn(cm,"onAnimationEnd"),Vn(fm,"onAnimationIteration"),Vn(dm,"onAnimationStart"),Vn("dblclick","onDoubleClick"),Vn("focusin","onFocus"),Vn("focusout","onBlur"),Vn(pm,"onTransitionEnd"),Zr("onMouseEnter",["mouseout","mouseover"]),Zr("onMouseLeave",["mouseout","mouseover"]),Zr("onPointerEnter",["pointerout","pointerover"]),Zr("onPointerLeave",["pointerout","pointerover"]),mr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),mr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),mr("onBeforeInput",["compositionend","keypress","textInput","paste"]),mr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),mr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),mr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Db=new Set("cancel close invalid load scroll toggle".split(" ").concat(xu));function mm(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,g2(r,t,void 0,e),e.currentTarget=null}function gm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var u=void 0;if(t)for(var a=r.length-1;0<=a;a--){var i=r[a],s=i.instance,l=i.currentTarget;if(i=i.listener,s!==u&&o.isPropagationStopped())break e;mm(o,i,l),u=s}else for(a=0;a<r.length;a++){if(i=r[a],s=i.instance,l=i.currentTarget,i=i.listener,s!==u&&o.isPropagationStopped())break e;mm(o,i,l),u=s}}}if(Ya)throw e=Hl,Ya=!1,Hl=null,e}function De(e,t){var n=t[Ec];n===void 0&&(n=t[Ec]=new Set);var r=e+"__bubble";n.has(r)||(ym(t,e,2,!1),n.add(r))}function hc(e,t,n){var r=0;t&&(r|=4),ym(n,e,r,t)}var di="_reactListening"+Math.random().toString(36).slice(2);function Su(e){if(!e[di]){e[di]=!0,Jv.forEach(function(n){n!=="selectionchange"&&(Db.has(n)||hc(n,!1,e),hc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[di]||(t[di]=!0,hc("selectionchange",!1,t))}}function ym(e,t,n,r){switch(zh(t)){case 1:var o=T2;break;case 4:o=R2;break;default:o=Zl}n=o.bind(null,t,n,e),o=void 0,!Ul||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function mc(e,t,n,r,o){var u=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var i=r.stateNode.containerInfo;if(i===o||i.nodeType===8&&i.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===o||s.nodeType===8&&s.parentNode===o))return;a=a.return}for(;i!==null;){if(a=yr(i),a===null)return;if(s=a.tag,s===5||s===6){r=u=a;continue e}i=i.parentNode}}r=r.return}Bh(function(){var l=u,c=zl(n),d=[];e:{var p=vm.get(e);if(p!==void 0){var y=tc,m=e;switch(e){case"keypress":if(ai(n)===0)break e;case"keydown":case"keyup":y=Y2;break;case"focusin":m="focus",y=oc;break;case"focusout":m="blur",y=oc;break;case"beforeblur":case"afterblur":y=oc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=Uh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=I2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Z2;break;case cm:case fm:case dm:y=L2;break;case pm:y=eb;break;case"scroll":y=N2;break;case"wheel":y=nb;break;case"copy":case"cut":case"paste":y=V2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=Kh}var f=(t&4)!==0,w=!f&&e==="scroll",h=f?p!==null?p+"Capture":null:p;f=[];for(var g=l,C;g!==null;){C=g;var E=C.stateNode;if(C.tag===5&&E!==null&&(C=E,h!==null&&(E=cu(g,h),E!=null&&f.push(Ou(g,E,C)))),w)break;g=g.return}0<f.length&&(p=new y(p,m,null,n,c),d.push({event:p,listeners:f}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",p&&n!==Ll&&(m=n.relatedTarget||n.fromElement)&&(yr(m)||m[Dn]))break e;if((y||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,y?(m=n.relatedTarget||n.toElement,y=l,m=m?yr(m):null,m!==null&&(w=gr(m),m!==w||m.tag!==5&&m.tag!==6)&&(m=null)):(y=null,m=l),y!==m)){if(f=Uh,E="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(f=Kh,E="onPointerLeave",h="onPointerEnter",g="pointer"),w=y==null?p:fo(y),C=m==null?p:fo(m),p=new f(E,g+"leave",y,n,c),p.target=w,p.relatedTarget=C,E=null,yr(c)===l&&(f=new f(h,g+"enter",m,n,c),f.target=C,f.relatedTarget=w,E=f),w=E,y&&m)t:{for(f=y,h=m,g=0,C=f;C;C=lo(C))g++;for(C=0,E=h;E;E=lo(E))C++;for(;0<g-C;)f=lo(f),g--;for(;0<C-g;)h=lo(h),C--;for(;g--;){if(f===h||h!==null&&f===h.alternate)break t;f=lo(f),h=lo(h)}f=null}else f=null;y!==null&&Dm(d,p,y,f,!1),m!==null&&w!==null&&Dm(d,w,m,f,!0)}}e:{if(p=l?fo(l):window,y=p.nodeName&&p.nodeName.toLowerCase(),y==="select"||y==="input"&&p.type==="file")var B=lb;else if(Zh(p))if(em)B=pb;else{B=fb;var F=cb}else(y=p.nodeName)&&y.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(B=db);if(B&&(B=B(e,l))){Jh(d,B,n,c);break e}F&&F(e,p,l),e==="focusout"&&(F=p._wrapperState)&&F.controlled&&p.type==="number"&&Nl(p,"number",p.value)}switch(F=l?fo(l):window,e){case"focusin":(Zh(F)||F.contentEditable==="true")&&(io=F,cc=l,Fu=null);break;case"focusout":Fu=cc=io=null;break;case"mousedown":fc=!0;break;case"contextmenu":case"mouseup":case"dragend":fc=!1,sm(d,n,c);break;case"selectionchange":if(mb)break;case"keydown":case"keyup":sm(d,n,c)}var A;if(ac)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else ao?Gh(e,n)&&(S="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(S="onCompositionStart");S&&(qh&&n.locale!=="ko"&&(ao||S!=="onCompositionStart"?S==="onCompositionEnd"&&ao&&(A=Vh()):(zn=c,ec="value"in zn?zn.value:zn.textContent,ao=!0)),F=pi(l,S),0<F.length&&(S=new Hh(S,e,null,n,c),d.push({event:S,listeners:F}),A?S.data=A:(A=Xh(n),A!==null&&(S.data=A)))),(A=ob?ub(e,n):ab(e,n))&&(l=pi(l,"onBeforeInput"),0<l.length&&(c=new Hh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:l}),c.data=A))}gm(d,t)})}function Ou(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pi(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,u=o.stateNode;o.tag===5&&u!==null&&(o=u,u=cu(e,n),u!=null&&r.unshift(Ou(e,u,o)),u=cu(e,t),u!=null&&r.push(Ou(e,u,o))),e=e.return}return r}function lo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Dm(e,t,n,r,o){for(var u=t._reactName,a=[];n!==null&&n!==r;){var i=n,s=i.alternate,l=i.stateNode;if(s!==null&&s===r)break;i.tag===5&&l!==null&&(i=l,o?(s=cu(n,u),s!=null&&a.unshift(Ou(n,s,i))):o||(s=cu(n,u),s!=null&&a.push(Ou(n,s,i)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var Cb=/\r\n?/g,wb=/\u0000|\uFFFD/g;function Cm(e){return(typeof e=="string"?e:""+e).replace(Cb,`
39
+ `).replace(wb,"")}function vi(e,t,n){if(t=Cm(t),Cm(e)!==t&&n)throw Error(K(425))}function hi(){}var gc=null,yc=null;function Dc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Cc=typeof setTimeout=="function"?setTimeout:void 0,Eb=typeof clearTimeout=="function"?clearTimeout:void 0,wm=typeof Promise=="function"?Promise:void 0,Bb=typeof queueMicrotask=="function"?queueMicrotask:typeof wm<"u"?function(e){return wm.resolve(null).then(e).catch(Ab)}:Cc;function Ab(e){setTimeout(function(){throw e})}function wc(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Du(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Du(t)}function Wn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Em(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var co=Math.random().toString(36).slice(2),rn="__reactFiber$"+co,_u="__reactProps$"+co,Dn="__reactContainer$"+co,Ec="__reactEvents$"+co,bb="__reactListeners$"+co,Fb="__reactHandles$"+co;function yr(e){var t=e[rn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Dn]||n[rn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Em(e);e!==null;){if(n=e[rn])return n;e=Em(e)}return t}e=n,n=e.parentNode}return null}function ku(e){return e=e[rn]||e[Dn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(K(33))}function mi(e){return e[_u]||null}var Bc=[],po=-1;function Un(e){return{current:e}}function Ce(e){0>po||(e.current=Bc[po],Bc[po]=null,po--)}function ye(e,t){po++,Bc[po]=e.current,e.current=t}var Hn={},Ye=Un(Hn),ct=Un(!1),Dr=Hn;function vo(e,t){var n=e.type.contextTypes;if(!n)return Hn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},u;for(u in n)o[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ft(e){return e=e.childContextTypes,e!=null}function gi(){Ce(ct),Ce(Ye)}function Bm(e,t,n){if(Ye.current!==Hn)throw Error(K(168));ye(Ye,t),ye(ct,n)}function Am(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(K(108,c2(e)||"Unknown",o));return be({},n,r)}function yi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Hn,Dr=Ye.current,ye(Ye,e),ye(ct,ct.current),!0}function bm(e,t,n){var r=e.stateNode;if(!r)throw Error(K(169));n?(e=Am(e,t,Dr),r.__reactInternalMemoizedMergedChildContext=e,Ce(ct),Ce(Ye),ye(Ye,e)):Ce(ct),ye(ct,n)}var Cn=null,Di=!1,Ac=!1;function Fm(e){Cn===null?Cn=[e]:Cn.push(e)}function xb(e){Di=!0,Fm(e)}function Kn(){if(!Ac&&Cn!==null){Ac=!0;var e=0,t=pe;try{var n=Cn;for(pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Cn=null,Di=!1}catch(o){throw Cn!==null&&(Cn=Cn.slice(e+1)),Sh(Kl,Kn),o}finally{pe=t,Ac=!1}}return null}var ho=[],mo=0,Ci=null,wi=0,Pt=[],Tt=0,Cr=null,wn=1,En="";function wr(e,t){ho[mo++]=wi,ho[mo++]=Ci,Ci=e,wi=t}function xm(e,t,n){Pt[Tt++]=wn,Pt[Tt++]=En,Pt[Tt++]=Cr,Cr=e;var r=wn;e=En;var o=32-Ut(r)-1;r&=~(1<<o),n+=1;var u=32-Ut(t)+o;if(30<u){var a=o-o%5;u=(r&(1<<a)-1).toString(32),r>>=a,o-=a,wn=1<<32-Ut(t)+o|n<<o|r,En=u+e}else wn=1<<u|n<<o|r,En=e}function bc(e){e.return!==null&&(wr(e,1),xm(e,1,0))}function Fc(e){for(;e===Ci;)Ci=ho[--mo],ho[mo]=null,wi=ho[--mo],ho[mo]=null;for(;e===Cr;)Cr=Pt[--Tt],Pt[Tt]=null,En=Pt[--Tt],Pt[Tt]=null,wn=Pt[--Tt],Pt[Tt]=null}var At=null,bt=null,Ee=!1,Kt=null;function Sm(e,t){var n=It(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Om(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,At=e,bt=Wn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,At=e,bt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Cr!==null?{id:wn,overflow:En}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=It(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,At=e,bt=null,!0):!1;default:return!1}}function xc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Sc(e){if(Ee){var t=bt;if(t){var n=t;if(!Om(e,t)){if(xc(e))throw Error(K(418));t=Wn(n.nextSibling);var r=At;t&&Om(e,t)?Sm(r,n):(e.flags=e.flags&-4097|2,Ee=!1,At=e)}}else{if(xc(e))throw Error(K(418));e.flags=e.flags&-4097|2,Ee=!1,At=e}}}function _m(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;At=e}function Ei(e){if(e!==At)return!1;if(!Ee)return _m(e),Ee=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Dc(e.type,e.memoizedProps)),t&&(t=bt)){if(xc(e))throw km(),Error(K(418));for(;t;)Sm(e,t),t=Wn(t.nextSibling)}if(_m(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(K(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){bt=Wn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}bt=null}}else bt=At?Wn(e.stateNode.nextSibling):null;return!0}function km(){for(var e=bt;e;)e=Wn(e.nextSibling)}function go(){bt=At=null,Ee=!1}function Oc(e){Kt===null?Kt=[e]:Kt.push(e)}var Sb=yn.ReactCurrentBatchConfig;function qt(e,t){if(e&&e.defaultProps){t=be({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Bi=Un(null),Ai=null,yo=null,_c=null;function kc(){_c=yo=Ai=null}function Pc(e){var t=Bi.current;Ce(Bi),e._currentValue=t}function Tc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Do(e,t){Ai=e,_c=yo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(dt=!0),e.firstContext=null)}function Rt(e){var t=e._currentValue;if(_c!==e)if(e={context:e,memoizedValue:t,next:null},yo===null){if(Ai===null)throw Error(K(308));yo=e,Ai.dependencies={lanes:0,firstContext:e}}else yo=yo.next=e;return t}var Er=null;function Rc(e){Er===null?Er=[e]:Er.push(e)}function Pm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Rc(t)):(n.next=o.next,o.next=n),t.interleaved=n,Bn(e,r)}function Bn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var qn=!1;function Nc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function An(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,fe&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Bn(e,n)}return o=r.interleaved,o===null?(t.next=t,Rc(r)):(t.next=o.next,o.next=t),r.interleaved=t,Bn(e,n)}function bi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}function Rm(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};u===null?o=u=a:u=u.next=a,n=n.next}while(n!==null);u===null?o=u=t:u=u.next=t}else o=u=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:u,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fi(e,t,n,r){var o=e.updateQueue;qn=!1;var u=o.firstBaseUpdate,a=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var s=i,l=s.next;s.next=null,a===null?u=l:a.next=l,a=s;var c=e.alternate;c!==null&&(c=c.updateQueue,i=c.lastBaseUpdate,i!==a&&(i===null?c.firstBaseUpdate=l:i.next=l,c.lastBaseUpdate=s))}if(u!==null){var d=o.baseState;a=0,c=l=s=null,i=u;do{var p=i.lane,y=i.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:y,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var m=e,f=i;switch(p=t,y=n,f.tag){case 1:if(m=f.payload,typeof m=="function"){d=m.call(y,d,p);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=f.payload,p=typeof m=="function"?m.call(y,d,p):m,p==null)break e;d=be({},d,p);break e;case 2:qn=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[i]:p.push(i))}else y={eventTime:y,lane:p,tag:i.tag,payload:i.payload,callback:i.callback,next:null},c===null?(l=c=y,s=d):c=c.next=y,a|=p;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;p=i,i=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(c===null&&(s=d),o.baseState=s,o.firstBaseUpdate=l,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else u===null&&(o.shared.lanes=0);br|=a,e.lanes=a,e.memoizedState=d}}function Nm(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(K(191,o));o.call(r)}}}var jm=new Zv.Component().refs;function jc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:be({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var xi={isMounted:function(e){return(e=e._reactInternals)?gr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ut(),o=Zn(e),u=An(r,o);u.payload=t,n!=null&&(u.callback=n),t=Qn(e,u,o),t!==null&&(Gt(t,e,o,r),bi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ut(),o=Zn(e),u=An(r,o);u.tag=1,u.payload=t,n!=null&&(u.callback=n),t=Qn(e,u,o),t!==null&&(Gt(t,e,o,r),bi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ut(),r=Zn(e),o=An(n,r);o.tag=2,t!=null&&(o.callback=t),t=Qn(e,o,r),t!==null&&(Gt(t,e,r,n),bi(t,e,r))}};function Im(e,t,n,r,o,u,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,u,a):t.prototype&&t.prototype.isPureReactComponent?!bu(n,r)||!bu(o,u):!0}function Mm(e,t,n){var r=!1,o=Hn,u=t.contextType;return typeof u=="object"&&u!==null?u=Rt(u):(o=ft(t)?Dr:Ye.current,r=t.contextTypes,u=(r=r!=null)?vo(e,o):Hn),t=new t(n,u),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=xi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=u),t}function $m(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&xi.enqueueReplaceState(t,t.state,null)}function Ic(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=jm,Nc(e);var u=t.contextType;typeof u=="object"&&u!==null?o.context=Rt(u):(u=ft(t)?Dr:Ye.current,o.context=vo(e,u)),o.state=e.memoizedState,u=t.getDerivedStateFromProps,typeof u=="function"&&(jc(e,t,u,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&xi.enqueueReplaceState(o,o.state,null),Fi(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Pu(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(K(309));var r=n.stateNode}if(!r)throw Error(K(147,e));var o=r,u=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===u?t.ref:(t=function(a){var i=o.refs;i===jm&&(i=o.refs={}),a===null?delete i[u]:i[u]=a},t._stringRef=u,t)}if(typeof e!="string")throw Error(K(284));if(!n._owner)throw Error(K(290,e))}return e}function Si(e,t){throw e=Object.prototype.toString.call(t),Error(K(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Lm(e){var t=e._init;return t(e._payload)}function zm(e){function t(h,g){if(e){var C=h.deletions;C===null?(h.deletions=[g],h.flags|=16):C.push(g)}}function n(h,g){if(!e)return null;for(;g!==null;)t(h,g),g=g.sibling;return null}function r(h,g){for(h=new Map;g!==null;)g.key!==null?h.set(g.key,g):h.set(g.index,g),g=g.sibling;return h}function o(h,g){return h=er(h,g),h.index=0,h.sibling=null,h}function u(h,g,C){return h.index=C,e?(C=h.alternate,C!==null?(C=C.index,C<g?(h.flags|=2,g):C):(h.flags|=2,g)):(h.flags|=1048576,g)}function a(h){return e&&h.alternate===null&&(h.flags|=2),h}function i(h,g,C,E){return g===null||g.tag!==6?(g=wf(C,h.mode,E),g.return=h,g):(g=o(g,C),g.return=h,g)}function s(h,g,C,E){var B=C.type;return B===eo?c(h,g,C.props.children,E,C.key):g!==null&&(g.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Nn&&Lm(B)===g.type)?(E=o(g,C.props),E.ref=Pu(h,g,C),E.return=h,E):(E=qi(C.type,C.key,C.props,null,h.mode,E),E.ref=Pu(h,g,C),E.return=h,E)}function l(h,g,C,E){return g===null||g.tag!==4||g.stateNode.containerInfo!==C.containerInfo||g.stateNode.implementation!==C.implementation?(g=Ef(C,h.mode,E),g.return=h,g):(g=o(g,C.children||[]),g.return=h,g)}function c(h,g,C,E,B){return g===null||g.tag!==7?(g=Or(C,h.mode,E,B),g.return=h,g):(g=o(g,C),g.return=h,g)}function d(h,g,C){if(typeof g=="string"&&g!==""||typeof g=="number")return g=wf(""+g,h.mode,C),g.return=h,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ua:return C=qi(g.type,g.key,g.props,null,h.mode,C),C.ref=Pu(h,null,g),C.return=h,C;case Jr:return g=Ef(g,h.mode,C),g.return=h,g;case Nn:var E=g._init;return d(h,E(g._payload),C)}if(iu(g)||uu(g))return g=Or(g,h.mode,C,null),g.return=h,g;Si(h,g)}return null}function p(h,g,C,E){var B=g!==null?g.key:null;if(typeof C=="string"&&C!==""||typeof C=="number")return B!==null?null:i(h,g,""+C,E);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Ua:return C.key===B?s(h,g,C,E):null;case Jr:return C.key===B?l(h,g,C,E):null;case Nn:return B=C._init,p(h,g,B(C._payload),E)}if(iu(C)||uu(C))return B!==null?null:c(h,g,C,E,null);Si(h,C)}return null}function y(h,g,C,E,B){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(C)||null,i(g,h,""+E,B);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ua:return h=h.get(E.key===null?C:E.key)||null,s(g,h,E,B);case Jr:return h=h.get(E.key===null?C:E.key)||null,l(g,h,E,B);case Nn:var F=E._init;return y(h,g,C,F(E._payload),B)}if(iu(E)||uu(E))return h=h.get(C)||null,c(g,h,E,B,null);Si(g,E)}return null}function m(h,g,C,E){for(var B=null,F=null,A=g,S=g=0,P=null;A!==null&&S<C.length;S++){A.index>S?(P=A,A=null):P=A.sibling;var O=p(h,A,C[S],E);if(O===null){A===null&&(A=P);break}e&&A&&O.alternate===null&&t(h,A),g=u(O,g,S),F===null?B=O:F.sibling=O,F=O,A=P}if(S===C.length)return n(h,A),Ee&&wr(h,S),B;if(A===null){for(;S<C.length;S++)A=d(h,C[S],E),A!==null&&(g=u(A,g,S),F===null?B=A:F.sibling=A,F=A);return Ee&&wr(h,S),B}for(A=r(h,A);S<C.length;S++)P=y(A,h,S,C[S],E),P!==null&&(e&&P.alternate!==null&&A.delete(P.key===null?S:P.key),g=u(P,g,S),F===null?B=P:F.sibling=P,F=P);return e&&A.forEach(function(H){return t(h,H)}),Ee&&wr(h,S),B}function f(h,g,C,E){var B=uu(C);if(typeof B!="function")throw Error(K(150));if(C=B.call(C),C==null)throw Error(K(151));for(var F=B=null,A=g,S=g=0,P=null,O=C.next();A!==null&&!O.done;S++,O=C.next()){A.index>S?(P=A,A=null):P=A.sibling;var H=p(h,A,O.value,E);if(H===null){A===null&&(A=P);break}e&&A&&H.alternate===null&&t(h,A),g=u(H,g,S),F===null?B=H:F.sibling=H,F=H,A=P}if(O.done)return n(h,A),Ee&&wr(h,S),B;if(A===null){for(;!O.done;S++,O=C.next())O=d(h,O.value,E),O!==null&&(g=u(O,g,S),F===null?B=O:F.sibling=O,F=O);return Ee&&wr(h,S),B}for(A=r(h,A);!O.done;S++,O=C.next())O=y(A,h,S,O.value,E),O!==null&&(e&&O.alternate!==null&&A.delete(O.key===null?S:O.key),g=u(O,g,S),F===null?B=O:F.sibling=O,F=O);return e&&A.forEach(function(k){return t(h,k)}),Ee&&wr(h,S),B}function w(h,g,C,E){if(typeof C=="object"&&C!==null&&C.type===eo&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case Ua:e:{for(var B=C.key,F=g;F!==null;){if(F.key===B){if(B=C.type,B===eo){if(F.tag===7){n(h,F.sibling),g=o(F,C.props.children),g.return=h,h=g;break e}}else if(F.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Nn&&Lm(B)===F.type){n(h,F.sibling),g=o(F,C.props),g.ref=Pu(h,F,C),g.return=h,h=g;break e}n(h,F);break}else t(h,F);F=F.sibling}C.type===eo?(g=Or(C.props.children,h.mode,E,C.key),g.return=h,h=g):(E=qi(C.type,C.key,C.props,null,h.mode,E),E.ref=Pu(h,g,C),E.return=h,h=E)}return a(h);case Jr:e:{for(F=C.key;g!==null;){if(g.key===F)if(g.tag===4&&g.stateNode.containerInfo===C.containerInfo&&g.stateNode.implementation===C.implementation){n(h,g.sibling),g=o(g,C.children||[]),g.return=h,h=g;break e}else{n(h,g);break}else t(h,g);g=g.sibling}g=Ef(C,h.mode,E),g.return=h,h=g}return a(h);case Nn:return F=C._init,w(h,g,F(C._payload),E)}if(iu(C))return m(h,g,C,E);if(uu(C))return f(h,g,C,E);Si(h,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,g!==null&&g.tag===6?(n(h,g.sibling),g=o(g,C),g.return=h,h=g):(n(h,g),g=wf(C,h.mode,E),g.return=h,h=g),a(h)):n(h,g)}return w}var Co=zm(!0),Vm=zm(!1),Tu={},on=Un(Tu),Ru=Un(Tu),Nu=Un(Tu);function Br(e){if(e===Tu)throw Error(K(174));return e}function Mc(e,t){switch(ye(Nu,t),ye(Ru,e),ye(on,Tu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Il(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Il(t,e)}Ce(on),ye(on,t)}function wo(){Ce(on),Ce(Ru),Ce(Nu)}function Wm(e){Br(Nu.current);var t=Br(on.current),n=Il(t,e.type);t!==n&&(ye(Ru,e),ye(on,n))}function $c(e){Ru.current===e&&(Ce(on),Ce(Ru))}var Fe=Un(0);function Oi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Lc=[];function zc(){for(var e=0;e<Lc.length;e++)Lc[e]._workInProgressVersionPrimary=null;Lc.length=0}var _i=yn.ReactCurrentDispatcher,Vc=yn.ReactCurrentBatchConfig,Ar=0,xe=null,Me=null,Ve=null,ki=!1,ju=!1,Iu=0,Ob=0;function Ge(){throw Error(K(321))}function Wc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ht(e[n],t[n]))return!1;return!0}function Uc(e,t,n,r,o,u){if(Ar=u,xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_i.current=e===null||e.memoizedState===null?Tb:Rb,e=n(r,o),ju){u=0;do{if(ju=!1,Iu=0,25<=u)throw Error(K(301));u+=1,Ve=Me=null,t.updateQueue=null,_i.current=Nb,e=n(r,o)}while(ju)}if(_i.current=Ri,t=Me!==null&&Me.next!==null,Ar=0,Ve=Me=xe=null,ki=!1,t)throw Error(K(300));return e}function Hc(){var e=Iu!==0;return Iu=0,e}function un(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ve===null?xe.memoizedState=Ve=e:Ve=Ve.next=e,Ve}function Nt(){if(Me===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=Ve===null?xe.memoizedState:Ve.next;if(t!==null)Ve=t,Me=e;else{if(e===null)throw Error(K(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},Ve===null?xe.memoizedState=Ve=e:Ve=Ve.next=e}return Ve}function Mu(e,t){return typeof t=="function"?t(e):t}function Kc(e){var t=Nt(),n=t.queue;if(n===null)throw Error(K(311));n.lastRenderedReducer=e;var r=Me,o=r.baseQueue,u=n.pending;if(u!==null){if(o!==null){var a=o.next;o.next=u.next,u.next=a}r.baseQueue=o=u,n.pending=null}if(o!==null){u=o.next,r=r.baseState;var i=a=null,s=null,l=u;do{var c=l.lane;if((Ar&c)===c)s!==null&&(s=s.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var d={lane:c,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};s===null?(i=s=d,a=r):s=s.next=d,xe.lanes|=c,br|=c}l=l.next}while(l!==null&&l!==u);s===null?a=r:s.next=i,Ht(r,t.memoizedState)||(dt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do u=o.lane,xe.lanes|=u,br|=u,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function qc(e){var t=Nt(),n=t.queue;if(n===null)throw Error(K(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,u=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do u=e(u,a.action),a=a.next;while(a!==o);Ht(u,t.memoizedState)||(dt=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,r]}function Um(){}function Hm(e,t){var n=xe,r=Nt(),o=t(),u=!Ht(r.memoizedState,o);if(u&&(r.memoizedState=o,dt=!0),r=r.queue,Qc(Qm.bind(null,n,r,e),[e]),r.getSnapshot!==t||u||Ve!==null&&Ve.memoizedState.tag&1){if(n.flags|=2048,$u(9,qm.bind(null,n,r,o,t),void 0,null),We===null)throw Error(K(349));Ar&30||Km(n,t,o)}return o}function Km(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=xe.updateQueue,t===null?(t={lastEffect:null,stores:null},xe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function qm(e,t,n,r){t.value=n,t.getSnapshot=r,Ym(t)&&Gm(e)}function Qm(e,t,n){return n(function(){Ym(t)&&Gm(e)})}function Ym(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ht(e,n)}catch{return!0}}function Gm(e){var t=Bn(e,1);t!==null&&Gt(t,e,1,-1)}function Xm(e){var t=un();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:e},t.queue=e,e=e.dispatch=Pb.bind(null,xe,e),[t.memoizedState,e]}function $u(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=xe.updateQueue,t===null?(t={lastEffect:null,stores:null},xe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Zm(){return Nt().memoizedState}function Pi(e,t,n,r){var o=un();xe.flags|=e,o.memoizedState=$u(1|t,n,void 0,r===void 0?null:r)}function Ti(e,t,n,r){var o=Nt();r=r===void 0?null:r;var u=void 0;if(Me!==null){var a=Me.memoizedState;if(u=a.destroy,r!==null&&Wc(r,a.deps)){o.memoizedState=$u(t,n,u,r);return}}xe.flags|=e,o.memoizedState=$u(1|t,n,u,r)}function Jm(e,t){return Pi(8390656,8,e,t)}function Qc(e,t){return Ti(2048,8,e,t)}function eg(e,t){return Ti(4,2,e,t)}function tg(e,t){return Ti(4,4,e,t)}function ng(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function rg(e,t,n){return n=n!=null?n.concat([e]):null,Ti(4,4,ng.bind(null,t,e),n)}function Yc(){}function og(e,t){var n=Nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ug(e,t){var n=Nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ag(e,t,n){return Ar&21?(Ht(n,t)||(n=Ph(),xe.lanes|=n,br|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,dt=!0),e.memoizedState=n)}function _b(e,t){var n=pe;pe=n!==0&&4>n?n:4,e(!0);var r=Vc.transition;Vc.transition={};try{e(!1),t()}finally{pe=n,Vc.transition=r}}function ig(){return Nt().memoizedState}function kb(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sg(e))lg(t,n);else if(n=Pm(e,t,n,r),n!==null){var o=ut();Gt(n,e,r,o),cg(n,t,r)}}function Pb(e,t,n){var r=Zn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sg(e))lg(t,o);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var a=t.lastRenderedState,i=u(a,n);if(o.hasEagerState=!0,o.eagerState=i,Ht(i,a)){var s=t.interleaved;s===null?(o.next=o,Rc(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Pm(e,t,o,r),n!==null&&(o=ut(),Gt(n,e,r,o),cg(n,t,r))}}function sg(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function lg(e,t){ju=ki=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}var Ri={readContext:Rt,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useInsertionEffect:Ge,useLayoutEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useMutableSource:Ge,useSyncExternalStore:Ge,useId:Ge,unstable_isNewReconciler:!1},Tb={readContext:Rt,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Rt,useEffect:Jm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pi(4194308,4,ng.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pi(4,2,e,t)},useMemo:function(e,t){var n=un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=un();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=kb.bind(null,xe,e),[r.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:Xm,useDebugValue:Yc,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=Xm(!1),t=e[0];return e=_b.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=xe,o=un();if(Ee){if(n===void 0)throw Error(K(407));n=n()}else{if(n=t(),We===null)throw Error(K(349));Ar&30||Km(r,t,n)}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,Jm(Qm.bind(null,r,u,e),[e]),r.flags|=2048,$u(9,qm.bind(null,r,u,n,t),void 0,null),n},useId:function(){var e=un(),t=We.identifierPrefix;if(Ee){var n=En,r=wn;n=(r&~(1<<32-Ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Iu++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Ob++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Rb={readContext:Rt,useCallback:og,useContext:Rt,useEffect:Qc,useImperativeHandle:rg,useInsertionEffect:eg,useLayoutEffect:tg,useMemo:ug,useReducer:Kc,useRef:Zm,useState:function(){return Kc(Mu)},useDebugValue:Yc,useDeferredValue:function(e){var t=Nt();return ag(t,Me.memoizedState,e)},useTransition:function(){var e=Kc(Mu)[0],t=Nt().memoizedState;return[e,t]},useMutableSource:Um,useSyncExternalStore:Hm,useId:ig,unstable_isNewReconciler:!1},Nb={readContext:Rt,useCallback:og,useContext:Rt,useEffect:Qc,useImperativeHandle:rg,useInsertionEffect:eg,useLayoutEffect:tg,useMemo:ug,useReducer:qc,useRef:Zm,useState:function(){return qc(Mu)},useDebugValue:Yc,useDeferredValue:function(e){var t=Nt();return Me===null?t.memoizedState=e:ag(t,Me.memoizedState,e)},useTransition:function(){var e=qc(Mu)[0],t=Nt().memoizedState;return[e,t]},useMutableSource:Um,useSyncExternalStore:Hm,useId:ig,unstable_isNewReconciler:!1};function Eo(e,t){try{var n="",r=t;do n+=l2(r),r=r.return;while(r);var o=n}catch(u){o=`
40
40
  Error generating stack: `+u.message+`
41
- `+u.stack}return{value:e,source:t,stack:o,digest:null}}function Gc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var j2=typeof WeakMap=="function"?WeakMap:Map;function fg(e,t,n){n=An(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zi||(zi=!0,pf=r),Xc(e,t)},n}function dg(e,t,n){n=An(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Xc(e,t)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"&&(n.callback=function(){Xc(e,t),typeof r!="function"&&(Gn===null?Gn=new Set([this]):Gn.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function pg(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new j2;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=G2.bind(null,e,t,n),t.then(e,e))}function vg(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function hg(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=An(-1,1),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var I2=yn.ReactCurrentOwner,dt=!1;function ot(e,t,n,r){t.child=e===null?Vm(t,null,n,r):Co(t,e.child,n,r)}function mg(e,t,n,r,o){n=n.render;var u=t.ref;return Do(t,o),r=Uc(e,t,n,r,u,o),n=Hc(),e!==null&&!dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,bn(e,t,o)):(Ee&&n&&bc(t),t.flags|=1,ot(e,t,r,o),t.child)}function gg(e,t,n,r,o){if(e===null){var u=n.type;return typeof u=="function"&&!Cf(u)&&u.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=u,yg(e,t,u,r,o)):(e=qi(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!(e.lanes&o)){var a=u.memoizedProps;if(n=n.compare,n=n!==null?n:bu,n(a,r)&&e.ref===t.ref)return bn(e,t,o)}return t.flags|=1,e=er(u,r),e.ref=t.ref,e.return=t,t.child=e}function yg(e,t,n,r,o){if(e!==null){var u=e.memoizedProps;if(bu(u,r)&&e.ref===t.ref)if(dt=!1,t.pendingProps=r=u,(e.lanes&o)!==0)e.flags&131072&&(dt=!0);else return t.lanes=e.lanes,bn(e,t,o)}return Zc(e,t,n,r,o)}function Dg(e,t,n){var r=t.pendingProps,o=r.children,u=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ye(Ao,Ft),Ft|=n;else{if(!(n&1073741824))return e=u!==null?u.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ye(Ao,Ft),Ft|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=u!==null?u.baseLanes:n,ye(Ao,Ft),Ft|=r}else u!==null?(r=u.baseLanes|n,t.memoizedState=null):r=n,ye(Ao,Ft),Ft|=r;return ot(e,t,o,n),t.child}function Cg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Zc(e,t,n,r,o){var u=ft(n)?Dr:Ye.current;return u=vo(t,u),Do(t,o),n=Uc(e,t,n,r,u,o),r=Hc(),e!==null&&!dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,bn(e,t,o)):(Ee&&r&&bc(t),t.flags|=1,ot(e,t,n,o),t.child)}function wg(e,t,n,r,o){if(ft(n)){var u=!0;yi(t)}else u=!1;if(Do(t,o),t.stateNode===null)ji(e,t),Mm(t,n,r),Ic(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,i=t.memoizedProps;a.props=i;var s=a.context,l=n.contextType;typeof l=="object"&&l!==null?l=Rt(l):(l=ft(n)?Dr:Ye.current,l=vo(t,l));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i!==r||s!==l)&&$m(t,a,r,l),qn=!1;var p=t.memoizedState;a.state=p,Fi(t,r,a,o),s=t.memoizedState,i!==r||p!==s||ct.current||qn?(typeof c=="function"&&(jc(t,n,c,r),s=t.memoizedState),(i=qn||Im(t,n,i,r,p,s,l))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=l,r=i):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Tm(e,t),i=t.memoizedProps,l=t.type===t.elementType?i:qt(t.type,i),a.props=l,d=t.pendingProps,p=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=Rt(s):(s=ft(n)?Dr:Ye.current,s=vo(t,s));var y=n.getDerivedStateFromProps;(c=typeof y=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i!==d||p!==s)&&$m(t,a,r,s),qn=!1,p=t.memoizedState,a.state=p,Fi(t,r,a,o);var m=t.memoizedState;i!==d||p!==m||ct.current||qn?(typeof y=="function"&&(jc(t,n,y,r),m=t.memoizedState),(l=qn||Im(t,n,l,r,p,m,s)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=s,r=l):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Jc(e,t,n,r,u,o)}function Jc(e,t,n,r,o,u){Cg(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&bm(t,n,!1),bn(e,t,u);r=t.stateNode,I2.current=t;var i=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Co(t,e.child,null,u),t.child=Co(t,null,i,u)):ot(e,t,i,u),t.memoizedState=r.state,o&&bm(t,n,!0),t.child}function Eg(e){var t=e.stateNode;t.pendingContext?Bm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Bm(e,t.context,!1),Mc(e,t.containerInfo)}function Bg(e,t,n,r,o){return go(),Oc(o),t.flags|=256,ot(e,t,n,r),t.child}var ef={dehydrated:null,treeContext:null,retryLane:0};function tf(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ag(e,t,n){var r=t.pendingProps,o=Fe.current,u=!1,a=(t.flags&128)!==0,i;if((i=a)||(i=e!==null&&e.memoizedState===null?!1:(o&2)!==0),i?(u=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ye(Fe,o&1),e===null)return Sc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,u?(r=t.mode,u=t.child,a={mode:"hidden",children:a},!(r&1)&&u!==null?(u.childLanes=0,u.pendingProps=a):u=Qi(a,r,0,null),e=Or(e,r,n,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=tf(n),t.memoizedState=ef,e):nf(t,a));if(o=e.memoizedState,o!==null&&(i=o.dehydrated,i!==null))return M2(e,t,a,r,i,o,n);if(u){u=r.fallback,a=t.mode,o=e.child,i=o.sibling;var s={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=er(o,s),r.subtreeFlags=o.subtreeFlags&14680064),i!==null?u=er(i,u):(u=Or(u,a,n,null),u.flags|=2),u.return=t,r.return=t,r.sibling=u,t.child=r,r=u,u=t.child,a=e.child.memoizedState,a=a===null?tf(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},u.memoizedState=a,u.childLanes=e.childLanes&~n,t.memoizedState=ef,r}return u=e.child,e=u.sibling,r=er(u,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function nf(e,t){return t=Qi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ni(e,t,n,r){return r!==null&&Oc(r),Co(t,e.child,null,n),e=nf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function M2(e,t,n,r,o,u,a){if(n)return t.flags&256?(t.flags&=-257,r=Gc(Error(K(422))),Ni(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(u=r.fallback,o=t.mode,r=Qi({mode:"visible",children:r.children},o,0,null),u=Or(u,o,a,null),u.flags|=2,r.return=t,u.return=t,r.sibling=u,t.child=r,t.mode&1&&Co(t,e.child,null,a),t.child.memoizedState=tf(a),t.memoizedState=ef,u);if(!(t.mode&1))return Ni(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var i=r.dgst;return r=i,u=Error(K(419)),r=Gc(u,r,void 0),Ni(e,t,a,r)}if(i=(a&e.childLanes)!==0,dt||i){if(r=We,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|a)?0:o,o!==0&&o!==u.retryLane&&(u.retryLane=o,Bn(e,o),Gt(r,e,o,-1))}return Df(),r=Gc(Error(K(421))),Ni(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=X2.bind(null,e),o._reactRetry=t,null):(e=u.treeContext,bt=Wn(o.nextSibling),At=t,Ee=!0,Kt=null,e!==null&&(Pt[Tt++]=wn,Pt[Tt++]=En,Pt[Tt++]=Cr,wn=e.id,En=e.overflow,Cr=t),t=nf(t,r.children),t.flags|=4096,t)}function bg(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Tc(e.return,t,n)}function rf(e,t,n,r,o){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=r,u.tail=n,u.tailMode=o)}function Fg(e,t,n){var r=t.pendingProps,o=r.revealOrder,u=r.tail;if(ot(e,t,r.children,n),r=Fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bg(e,n,t);else if(e.tag===19)bg(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ye(Fe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Oi(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rf(t,!1,o,n,u);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Oi(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rf(t,!0,n,null,u);break;case"together":rf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ji(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function bn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),br|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(K(153));if(t.child!==null){for(e=t.child,n=er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function $2(e,t,n){switch(t.tag){case 3:Eg(t),go();break;case 5:Wm(t);break;case 1:ft(t.type)&&yi(t);break;case 4:Mc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ye(Bi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ye(Fe,Fe.current&1),t.flags|=128,null):n&t.child.childLanes?Ag(e,t,n):(ye(Fe,Fe.current&1),e=bn(e,t,n),e!==null?e.sibling:null);ye(Fe,Fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Fg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ye(Fe,Fe.current),r)break;return null;case 22:case 23:return t.lanes=0,Dg(e,t,n)}return bn(e,t,n)}var xg,of,Sg,Og;xg=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},of=function(){},Sg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Br(on.current);var u=null;switch(n){case"input":o=Tl(e,o),r=Tl(e,r),u=[];break;case"select":o=be({},o,{value:void 0}),r=be({},r,{value:void 0}),u=[];break;case"textarea":o=jl(e,o),r=jl(e,r),u=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=hi)}Ml(n,r);var a;n=null;for(l in o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&o[l]!=null)if(l==="style"){var i=o[l];for(a in i)i.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(ou.hasOwnProperty(l)?u||(u=[]):(u=u||[]).push(l,null));for(l in r){var s=r[l];if(i=o!=null?o[l]:void 0,r.hasOwnProperty(l)&&s!==i&&(s!=null||i!=null))if(l==="style")if(i){for(a in i)!i.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&i[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(u||(u=[]),u.push(l,n)),n=s;else l==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,i=i?i.__html:void 0,s!=null&&i!==s&&(u=u||[]).push(l,s)):l==="children"?typeof s!="string"&&typeof s!="number"||(u=u||[]).push(l,""+s):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(ou.hasOwnProperty(l)?(s!=null&&l==="onScroll"&&De("scroll",e),u||i===s||(u=[])):(u=u||[]).push(l,s))}n&&(u=u||[]).push("style",n);var l=u;(t.updateQueue=l)&&(t.flags|=4)}},Og=function(e,t,n,r){n!==r&&(t.flags|=4)};function Lu(e,t){if(!Ee)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function L2(e,t,n){var r=t.pendingProps;switch(Fc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return ft(t.type)&&gi(),Xe(t),null;case 3:return r=t.stateNode,wo(),Ce(ct),Ce(Ye),zc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ei(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Kt!==null&&(mf(Kt),Kt=null))),of(e,t),Xe(t),null;case 5:$c(t);var o=Br(Nu.current);if(n=t.type,e!==null&&t.stateNode!=null)Sg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(K(166));return Xe(t),null}if(e=Br(on.current),Ei(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[rn]=t,r[_u]=u,e=(t.mode&1)!==0,n){case"dialog":De("cancel",r),De("close",r);break;case"iframe":case"object":case"embed":De("load",r);break;case"video":case"audio":for(o=0;o<xu.length;o++)De(xu[o],r);break;case"source":De("error",r);break;case"img":case"image":case"link":De("error",r),De("load",r);break;case"details":De("toggle",r);break;case"input":sh(r,u),De("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},De("invalid",r);break;case"textarea":fh(r,u),De("invalid",r)}Ml(n,u),o=null;for(var a in u)if(u.hasOwnProperty(a)){var i=u[a];a==="children"?typeof i=="string"?r.textContent!==i&&(u.suppressHydrationWarning!==!0&&vi(r.textContent,i,e),o=["children",i]):typeof i=="number"&&r.textContent!==""+i&&(u.suppressHydrationWarning!==!0&&vi(r.textContent,i,e),o=["children",""+i]):ou.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&De("scroll",r)}switch(n){case"input":Ha(r),ch(r,u,!0);break;case"textarea":Ha(r),ph(r);break;case"select":case"option":break;default:typeof u.onClick=="function"&&(r.onclick=hi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=vh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[rn]=t,e[_u]=r,xg(e,t,!1,!1),t.stateNode=e;e:{switch(a=$l(n,r),n){case"dialog":De("cancel",e),De("close",e),o=r;break;case"iframe":case"object":case"embed":De("load",e),o=r;break;case"video":case"audio":for(o=0;o<xu.length;o++)De(xu[o],e);o=r;break;case"source":De("error",e),o=r;break;case"img":case"image":case"link":De("error",e),De("load",e),o=r;break;case"details":De("toggle",e),o=r;break;case"input":sh(e,r),o=Tl(e,r),De("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=be({},r,{value:void 0}),De("invalid",e);break;case"textarea":fh(e,r),o=jl(e,r),De("invalid",e);break;default:o=r}Ml(n,o),i=o;for(u in i)if(i.hasOwnProperty(u)){var s=i[u];u==="style"?gh(e,s):u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&hh(e,s)):u==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&su(e,s):typeof s=="number"&&su(e,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ou.hasOwnProperty(u)?s!=null&&u==="onScroll"&&De("scroll",e):s!=null&&El(e,u,s,a))}switch(n){case"input":Ha(e),ch(e,r,!1);break;case"textarea":Ha(e),ph(e);break;case"option":r.value!=null&&e.setAttribute("value",""+jn(r.value));break;case"select":e.multiple=!!r.multiple,u=r.value,u!=null?to(e,!!r.multiple,u,!1):r.defaultValue!=null&&to(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=hi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Xe(t),null;case 6:if(e&&t.stateNode!=null)Og(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(K(166));if(n=Br(Nu.current),Br(on.current),Ei(t)){if(r=t.stateNode,n=t.memoizedProps,r[rn]=t,(u=r.nodeValue!==n)&&(e=At,e!==null))switch(e.tag){case 3:vi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&vi(r.nodeValue,n,(e.mode&1)!==0)}u&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[rn]=t,t.stateNode=r}return Xe(t),null;case 13:if(Ce(Fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ee&&bt!==null&&t.mode&1&&!(t.flags&128))km(),go(),t.flags|=98560,u=!1;else if(u=Ei(t),r!==null&&r.dehydrated!==null){if(e===null){if(!u)throw Error(K(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(K(317));u[rn]=t}else go(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Xe(t),u=!1}else Kt!==null&&(mf(Kt),Kt=null),u=!0;if(!u)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Fe.current&1?$e===0&&($e=3):Df())),t.updateQueue!==null&&(t.flags|=4),Xe(t),null);case 4:return wo(),of(e,t),e===null&&Su(t.stateNode.containerInfo),Xe(t),null;case 10:return Pc(t.type._context),Xe(t),null;case 17:return ft(t.type)&&gi(),Xe(t),null;case 19:if(Ce(Fe),u=t.memoizedState,u===null)return Xe(t),null;if(r=(t.flags&128)!==0,a=u.rendering,a===null)if(r)Lu(u,!1);else{if($e!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Oi(e),a!==null){for(t.flags|=128,Lu(u,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)u=n,e=r,u.flags&=14680066,a=u.alternate,a===null?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=a.childLanes,u.lanes=a.lanes,u.child=a.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=a.memoizedProps,u.memoizedState=a.memoizedState,u.updateQueue=a.updateQueue,u.type=a.type,e=a.dependencies,u.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ye(Fe,Fe.current&1|2),t.child}e=e.sibling}u.tail!==null&&Pe()>bo&&(t.flags|=128,r=!0,Lu(u,!1),t.lanes=4194304)}else{if(!r)if(e=Oi(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Lu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!a.alternate&&!Ee)return Xe(t),null}else 2*Pe()-u.renderingStartTime>bo&&n!==1073741824&&(t.flags|=128,r=!0,Lu(u,!1),t.lanes=4194304);u.isBackwards?(a.sibling=t.child,t.child=a):(n=u.last,n!==null?n.sibling=a:t.child=a,u.last=a)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Pe(),t.sibling=null,n=Fe.current,ye(Fe,r?n&1|2:n&1),t):(Xe(t),null);case 22:case 23:return yf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ft&1073741824&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),null;case 24:return null;case 25:return null}throw Error(K(156,t.tag))}function z2(e,t){switch(Fc(t),t.tag){case 1:return ft(t.type)&&gi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wo(),Ce(ct),Ce(Ye),zc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $c(t),null;case 13:if(Ce(Fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(K(340));go()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ce(Fe),null;case 4:return wo(),null;case 10:return Pc(t.type._context),null;case 22:case 23:return yf(),null;case 24:return null;default:return null}}var Ii=!1,Ze=!1,V2=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Bo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Oe(e,t,r)}else n.current=null}function uf(e,t,n){try{n()}catch(r){Oe(e,t,r)}}var _g=!1;function W2(e,t){if(gc=ri,e=im(),lc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var a=0,i=-1,s=-1,l=0,c=0,d=e,p=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(i=a+o),d!==u||r!==0&&d.nodeType!==3||(s=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(y=d.firstChild)!==null;)p=d,d=y;for(;;){if(d===e)break t;if(p===n&&++l===o&&(i=a),p===u&&++c===r&&(s=a),(y=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=y}n=i===-1||s===-1?null:{start:i,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(yc={focusedElem:e,selectionRange:n},ri=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var f=m.memoizedProps,w=m.memoizedState,h=t.stateNode,g=h.getSnapshotBeforeUpdate(t.elementType===t.type?f:qt(t.type,f),w);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(K(163))}}catch(E){Oe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return m=_g,_g=!1,m}function zu(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var u=o.destroy;o.destroy=void 0,u!==void 0&&uf(t,n,u)}o=o.next}while(o!==r)}}function Mi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function af(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function kg(e){var t=e.alternate;t!==null&&(e.alternate=null,kg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rn],delete t[_u],delete t[Ec],delete t[b2],delete t[F2])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pg(e){return e.tag===5||e.tag===3||e.tag===4}function Tg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=hi));else if(r!==4&&(e=e.child,e!==null))for(sf(e,t,n),e=e.sibling;e!==null;)sf(e,t,n),e=e.sibling}function lf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(lf(e,t,n),e=e.sibling;e!==null;)lf(e,t,n),e=e.sibling}var Ke=null,Qt=!1;function Yn(e,t,n){for(n=n.child;n!==null;)Rg(e,t,n),n=n.sibling}function Rg(e,t,n){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(Xa,n)}catch{}switch(n.tag){case 5:Ze||Bo(n,t);case 6:var r=Ke,o=Qt;Ke=null,Yn(e,t,n),Ke=r,Qt=o,Ke!==null&&(Qt?(e=Ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ke.removeChild(n.stateNode));break;case 18:Ke!==null&&(Qt?(e=Ke,n=n.stateNode,e.nodeType===8?wc(e.parentNode,n):e.nodeType===1&&wc(e,n),Du(e)):wc(Ke,n.stateNode));break;case 4:r=Ke,o=Qt,Ke=n.stateNode.containerInfo,Qt=!0,Yn(e,t,n),Ke=r,Qt=o;break;case 0:case 11:case 14:case 15:if(!Ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var u=o,a=u.destroy;u=u.tag,a!==void 0&&(u&2||u&4)&&uf(n,t,a),o=o.next}while(o!==r)}Yn(e,t,n);break;case 1:if(!Ze&&(Bo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){Oe(n,t,i)}Yn(e,t,n);break;case 21:Yn(e,t,n);break;case 22:n.mode&1?(Ze=(r=Ze)||n.memoizedState!==null,Yn(e,t,n),Ze=r):Yn(e,t,n);break;default:Yn(e,t,n)}}function Ng(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new V2),t.forEach(function(r){var o=Z2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Yt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var u=e,a=t,i=a;e:for(;i!==null;){switch(i.tag){case 5:Ke=i.stateNode,Qt=!1;break e;case 3:Ke=i.stateNode.containerInfo,Qt=!0;break e;case 4:Ke=i.stateNode.containerInfo,Qt=!0;break e}i=i.return}if(Ke===null)throw Error(K(160));Rg(u,a,o),Ke=null,Qt=!1;var s=o.alternate;s!==null&&(s.return=null),o.return=null}catch(l){Oe(o,t,l)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)jg(t,e),t=t.sibling}function jg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Yt(t,e),an(e),r&4){try{zu(3,e,e.return),Mi(3,e)}catch(f){Oe(e,e.return,f)}try{zu(5,e,e.return)}catch(f){Oe(e,e.return,f)}}break;case 1:Yt(t,e),an(e),r&512&&n!==null&&Bo(n,n.return);break;case 5:if(Yt(t,e),an(e),r&512&&n!==null&&Bo(n,n.return),e.flags&32){var o=e.stateNode;try{su(o,"")}catch(f){Oe(e,e.return,f)}}if(r&4&&(o=e.stateNode,o!=null)){var u=e.memoizedProps,a=n!==null?n.memoizedProps:u,i=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{i==="input"&&u.type==="radio"&&u.name!=null&&lh(o,u),$l(i,a);var l=$l(i,u);for(a=0;a<s.length;a+=2){var c=s[a],d=s[a+1];c==="style"?gh(o,d):c==="dangerouslySetInnerHTML"?hh(o,d):c==="children"?su(o,d):El(o,c,d,l)}switch(i){case"input":Rl(o,u);break;case"textarea":dh(o,u);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!u.multiple;var y=u.value;y!=null?to(o,!!u.multiple,y,!1):p!==!!u.multiple&&(u.defaultValue!=null?to(o,!!u.multiple,u.defaultValue,!0):to(o,!!u.multiple,u.multiple?[]:"",!1))}o[_u]=u}catch(f){Oe(e,e.return,f)}}break;case 6:if(Yt(t,e),an(e),r&4){if(e.stateNode===null)throw Error(K(162));o=e.stateNode,u=e.memoizedProps;try{o.nodeValue=u}catch(f){Oe(e,e.return,f)}}break;case 3:if(Yt(t,e),an(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Du(t.containerInfo)}catch(f){Oe(e,e.return,f)}break;case 4:Yt(t,e),an(e);break;case 13:Yt(t,e),an(e),o=e.child,o.flags&8192&&(u=o.memoizedState!==null,o.stateNode.isHidden=u,!u||o.alternate!==null&&o.alternate.memoizedState!==null||(df=Pe())),r&4&&Ng(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ze=(l=Ze)||c,Yt(t,e),Ze=l):Yt(t,e),an(e),r&8192){if(l=e.memoizedState!==null,(e.stateNode.isHidden=l)&&!c&&e.mode&1)for(Z=e,c=e.child;c!==null;){for(d=Z=c;Z!==null;){switch(p=Z,y=p.child,p.tag){case 0:case 11:case 14:case 15:zu(4,p,p.return);break;case 1:Bo(p,p.return);var m=p.stateNode;if(typeof m.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(f){Oe(r,n,f)}}break;case 5:Bo(p,p.return);break;case 22:if(p.memoizedState!==null){$g(d);continue}}y!==null?(y.return=p,Z=y):$g(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,l?(u=o.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none"):(i=d.stateNode,s=d.memoizedProps.style,a=s!=null&&s.hasOwnProperty("display")?s.display:null,i.style.display=mh("display",a))}catch(f){Oe(e,e.return,f)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=l?"":d.memoizedProps}catch(f){Oe(e,e.return,f)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Yt(t,e),an(e),r&4&&Ng(e);break;case 21:break;default:Yt(t,e),an(e)}}function an(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Pg(n)){var r=n;break e}n=n.return}throw Error(K(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(su(o,""),r.flags&=-33);var u=Tg(e);lf(e,u,o);break;case 3:case 4:var a=r.stateNode.containerInfo,i=Tg(e);sf(e,i,a);break;default:throw Error(K(161))}}catch(s){Oe(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function U2(e,t,n){Z=e,Ig(e)}function Ig(e,t,n){for(var r=(e.mode&1)!==0;Z!==null;){var o=Z,u=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Ii;if(!a){var i=o.alternate,s=i!==null&&i.memoizedState!==null||Ze;i=Ii;var l=Ze;if(Ii=a,(Ze=s)&&!l)for(Z=o;Z!==null;)a=Z,s=a.child,a.tag===22&&a.memoizedState!==null?Lg(o):s!==null?(s.return=a,Z=s):Lg(o);for(;u!==null;)Z=u,Ig(u),u=u.sibling;Z=o,Ii=i,Ze=l}Mg(e)}else o.subtreeFlags&8772&&u!==null?(u.return=o,Z=u):Mg(e)}}function Mg(e){for(;Z!==null;){var t=Z;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ze||Mi(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ze)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:qt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var u=t.updateQueue;u!==null&&Nm(t,u,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Nm(t,a,n)}break;case 5:var i=t.stateNode;if(n===null&&t.flags&4){n=i;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var l=t.alternate;if(l!==null){var c=l.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Du(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(K(163))}Ze||t.flags&512&&af(t)}catch(p){Oe(t,t.return,p)}}if(t===e){Z=null;break}if(n=t.sibling,n!==null){n.return=t.return,Z=n;break}Z=t.return}}function $g(e){for(;Z!==null;){var t=Z;if(t===e){Z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Z=n;break}Z=t.return}}function Lg(e){for(;Z!==null;){var t=Z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Mi(4,t)}catch(s){Oe(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(s){Oe(t,o,s)}}var u=t.return;try{af(t)}catch(s){Oe(t,u,s)}break;case 5:var a=t.return;try{af(t)}catch(s){Oe(t,a,s)}}}catch(s){Oe(t,t.return,s)}if(t===e){Z=null;break}var i=t.sibling;if(i!==null){i.return=t.return,Z=i;break}Z=t.return}}var H2=Math.ceil,$i=yn.ReactCurrentDispatcher,cf=yn.ReactCurrentOwner,jt=yn.ReactCurrentBatchConfig,fe=0,We=null,je=null,qe=0,Ft=0,Ao=Un(0),$e=0,Vu=null,br=0,Li=0,ff=0,Wu=null,pt=null,df=0,bo=1/0,Fn=null,zi=!1,pf=null,Gn=null,Vi=!1,Xn=null,Wi=0,Uu=0,vf=null,Ui=-1,Hi=0;function ut(){return fe&6?Pe():Ui!==-1?Ui:Ui=Pe()}function Zn(e){return e.mode&1?fe&2&&qe!==0?qe&-qe:S2.transition!==null?(Hi===0&&(Hi=Ph()),Hi):(e=pe,e!==0||(e=window.event,e=e===void 0?16:zh(e.type)),e):1}function Gt(e,t,n,r){if(50<Uu)throw Uu=0,vf=null,Error(K(185));vu(e,n,r),(!(fe&2)||e!==We)&&(e===We&&(!(fe&2)&&(Li|=n),$e===4&&Jn(e,qe)),vt(e,r),n===1&&fe===0&&!(t.mode&1)&&(bo=Pe()+500,Di&&Kn()))}function vt(e,t){var n=e.callbackNode;Sb(e,t);var r=ei(e,e===We?qe:0);if(r===0)n!==null&&Oh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Oh(n),t===1)e.tag===0?x2(Vg.bind(null,e)):Fm(Vg.bind(null,e)),B2(function(){!(fe&6)&&Kn()}),n=null;else{switch(Th(r)){case 1:n=Kl;break;case 4:n=_h;break;case 16:n=Ga;break;case 536870912:n=kh;break;default:n=Ga}n=Gg(n,zg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function zg(e,t){if(Ui=-1,Hi=0,fe&6)throw Error(K(327));var n=e.callbackNode;if(Fo()&&e.callbackNode!==n)return null;var r=ei(e,e===We?qe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ki(e,r);else{t=r;var o=fe;fe|=2;var u=Ug();(We!==e||qe!==t)&&(Fn=null,bo=Pe()+500,xr(e,t));do try{Q2();break}catch(i){Wg(e,i)}while(!0);kc(),$i.current=u,fe=o,je!==null?t=0:(We=null,qe=0,t=$e)}if(t!==0){if(t===2&&(o=ql(e),o!==0&&(r=o,t=hf(e,o))),t===1)throw n=Vu,xr(e,0),Jn(e,r),vt(e,Pe()),n;if(t===6)Jn(e,r);else{if(o=e.current.alternate,!(r&30)&&!K2(o)&&(t=Ki(e,r),t===2&&(u=ql(e),u!==0&&(r=u,t=hf(e,u))),t===1))throw n=Vu,xr(e,0),Jn(e,r),vt(e,Pe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(K(345));case 2:Sr(e,pt,Fn);break;case 3:if(Jn(e,r),(r&130023424)===r&&(t=df+500-Pe(),10<t)){if(ei(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){ut(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Cc(Sr.bind(null,e,pt,Fn),t);break}Sr(e,pt,Fn);break;case 4:if(Jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Ut(r);u=1<<a,a=t[a],a>o&&(o=a),r&=~u}if(r=o,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*H2(r/1960))-r,10<r){e.timeoutHandle=Cc(Sr.bind(null,e,pt,Fn),r);break}Sr(e,pt,Fn);break;case 5:Sr(e,pt,Fn);break;default:throw Error(K(329))}}}return vt(e,Pe()),e.callbackNode===n?zg.bind(null,e):null}function hf(e,t){var n=Wu;return e.current.memoizedState.isDehydrated&&(xr(e,t).flags|=256),e=Ki(e,t),e!==2&&(t=pt,pt=n,t!==null&&mf(t)),e}function mf(e){pt===null?pt=e:pt.push.apply(pt,e)}function K2(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],u=o.getSnapshot;o=o.value;try{if(!Ht(u(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Jn(e,t){for(t&=~ff,t&=~Li,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ut(t),r=1<<n;e[n]=-1,t&=~r}}function Vg(e){if(fe&6)throw Error(K(327));Fo();var t=ei(e,0);if(!(t&1))return vt(e,Pe()),null;var n=Ki(e,t);if(e.tag!==0&&n===2){var r=ql(e);r!==0&&(t=r,n=hf(e,r))}if(n===1)throw n=Vu,xr(e,0),Jn(e,t),vt(e,Pe()),n;if(n===6)throw Error(K(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sr(e,pt,Fn),vt(e,Pe()),null}function gf(e,t){var n=fe;fe|=1;try{return e(t)}finally{fe=n,fe===0&&(bo=Pe()+500,Di&&Kn())}}function Fr(e){Xn!==null&&Xn.tag===0&&!(fe&6)&&Fo();var t=fe;fe|=1;var n=jt.transition,r=pe;try{if(jt.transition=null,pe=1,e)return e()}finally{pe=r,jt.transition=n,fe=t,!(fe&6)&&Kn()}}function yf(){Ft=Ao.current,Ce(Ao)}function xr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,E2(n)),je!==null)for(n=je.return;n!==null;){var r=n;switch(Fc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&gi();break;case 3:wo(),Ce(ct),Ce(Ye),zc();break;case 5:$c(r);break;case 4:wo();break;case 13:Ce(Fe);break;case 19:Ce(Fe);break;case 10:Pc(r.type._context);break;case 22:case 23:yf()}n=n.return}if(We=e,je=e=er(e.current,null),qe=Ft=t,$e=0,Vu=null,ff=Li=br=0,pt=Wu=null,Er!==null){for(t=0;t<Er.length;t++)if(n=Er[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,u=n.pending;if(u!==null){var a=u.next;u.next=o,r.next=a}n.pending=r}Er=null}return e}function Wg(e,t){do{var n=je;try{if(kc(),_i.current=Ri,ki){for(var r=xe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ki=!1}if(Ar=0,Ve=Me=xe=null,ju=!1,Iu=0,cf.current=null,n===null||n.return===null){$e=1,Vu=t,je=null;break}e:{var u=e,a=n.return,i=n,s=t;if(t=qe,i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var l=s,c=i,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var y=vg(a);if(y!==null){y.flags&=-257,hg(y,a,i,u,t),y.mode&1&&pg(u,l,t),t=y,s=l;var m=t.updateQueue;if(m===null){var f=new Set;f.add(s),t.updateQueue=f}else m.add(s);break e}else{if(!(t&1)){pg(u,l,t),Df();break e}s=Error(K(426))}}else if(Ee&&i.mode&1){var w=vg(a);if(w!==null){!(w.flags&65536)&&(w.flags|=256),hg(w,a,i,u,t),Oc(Eo(s,i));break e}}u=s=Eo(s,i),$e!==4&&($e=2),Wu===null?Wu=[u]:Wu.push(u),u=a;do{switch(u.tag){case 3:u.flags|=65536,t&=-t,u.lanes|=t;var h=fg(u,s,t);Rm(u,h);break e;case 1:i=s;var g=u.type,C=u.stateNode;if(!(u.flags&128)&&(typeof g.getDerivedStateFromError=="function"||C!==null&&typeof C.componentDidCatch=="function"&&(Gn===null||!Gn.has(C)))){u.flags|=65536,t&=-t,u.lanes|=t;var E=dg(u,i,t);Rm(u,E);break e}}u=u.return}while(u!==null)}Kg(n)}catch(B){t=B,je===n&&n!==null&&(je=n=n.return);continue}break}while(!0)}function Ug(){var e=$i.current;return $i.current=Ri,e===null?Ri:e}function Df(){($e===0||$e===3||$e===2)&&($e=4),We===null||!(br&268435455)&&!(Li&268435455)||Jn(We,qe)}function Ki(e,t){var n=fe;fe|=2;var r=Ug();(We!==e||qe!==t)&&(Fn=null,xr(e,t));do try{q2();break}catch(o){Wg(e,o)}while(!0);if(kc(),fe=n,$i.current=r,je!==null)throw Error(K(261));return We=null,qe=0,$e}function q2(){for(;je!==null;)Hg(je)}function Q2(){for(;je!==null&&!Db();)Hg(je)}function Hg(e){var t=Yg(e.alternate,e,Ft);e.memoizedProps=e.pendingProps,t===null?Kg(e):je=t,cf.current=null}function Kg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=z2(n,t),n!==null){n.flags&=32767,je=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{$e=6,je=null;return}}else if(n=L2(n,t,Ft),n!==null){je=n;return}if(t=t.sibling,t!==null){je=t;return}je=t=e}while(t!==null);$e===0&&($e=5)}function Sr(e,t,n){var r=pe,o=jt.transition;try{jt.transition=null,pe=1,Y2(e,t,n,r)}finally{jt.transition=o,pe=r}return null}function Y2(e,t,n,r){do Fo();while(Xn!==null);if(fe&6)throw Error(K(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(K(177));e.callbackNode=null,e.callbackPriority=0;var u=n.lanes|n.childLanes;if(Ob(e,u),e===We&&(je=We=null,qe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Vi||(Vi=!0,Gg(Ga,function(){return Fo(),null})),u=(n.flags&15990)!==0,n.subtreeFlags&15990||u){u=jt.transition,jt.transition=null;var a=pe;pe=1;var i=fe;fe|=4,cf.current=null,W2(e,n),jg(n,e),h2(yc),ri=!!gc,yc=gc=null,e.current=n,U2(n),Cb(),fe=i,pe=a,jt.transition=u}else e.current=n;if(Vi&&(Vi=!1,Xn=e,Wi=o),u=e.pendingLanes,u===0&&(Gn=null),Bb(n.stateNode),vt(e,Pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(zi)throw zi=!1,e=pf,pf=null,e;return Wi&1&&e.tag!==0&&Fo(),u=e.pendingLanes,u&1?e===vf?Uu++:(Uu=0,vf=e):Uu=0,Kn(),null}function Fo(){if(Xn!==null){var e=Th(Wi),t=jt.transition,n=pe;try{if(jt.transition=null,pe=16>e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,Wi=0,fe&6)throw Error(K(331));var o=fe;for(fe|=4,Z=e.current;Z!==null;){var u=Z,a=u.child;if(Z.flags&16){var i=u.deletions;if(i!==null){for(var s=0;s<i.length;s++){var l=i[s];for(Z=l;Z!==null;){var c=Z;switch(c.tag){case 0:case 11:case 15:zu(8,c,u)}var d=c.child;if(d!==null)d.return=c,Z=d;else for(;Z!==null;){c=Z;var p=c.sibling,y=c.return;if(kg(c),c===l){Z=null;break}if(p!==null){p.return=y,Z=p;break}Z=y}}}var m=u.alternate;if(m!==null){var f=m.child;if(f!==null){m.child=null;do{var w=f.sibling;f.sibling=null,f=w}while(f!==null)}}Z=u}}if(u.subtreeFlags&2064&&a!==null)a.return=u,Z=a;else e:for(;Z!==null;){if(u=Z,u.flags&2048)switch(u.tag){case 0:case 11:case 15:zu(9,u,u.return)}var h=u.sibling;if(h!==null){h.return=u.return,Z=h;break e}Z=u.return}}var g=e.current;for(Z=g;Z!==null;){a=Z;var C=a.child;if(a.subtreeFlags&2064&&C!==null)C.return=a,Z=C;else e:for(a=g;Z!==null;){if(i=Z,i.flags&2048)try{switch(i.tag){case 0:case 11:case 15:Mi(9,i)}}catch(B){Oe(i,i.return,B)}if(i===a){Z=null;break e}var E=i.sibling;if(E!==null){E.return=i.return,Z=E;break e}Z=i.return}}if(fe=o,Kn(),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(Xa,e)}catch{}r=!0}return r}finally{pe=n,jt.transition=t}}return!1}function qg(e,t,n){t=Eo(n,t),t=fg(e,t,1),e=Qn(e,t,1),t=ut(),e!==null&&(vu(e,1,t),vt(e,t))}function Oe(e,t,n){if(e.tag===3)qg(e,e,n);else for(;t!==null;){if(t.tag===3){qg(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Gn===null||!Gn.has(r))){e=Eo(n,e),e=dg(t,e,1),t=Qn(t,e,1),e=ut(),t!==null&&(vu(t,1,e),vt(t,e));break}}t=t.return}}function G2(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ut(),e.pingedLanes|=e.suspendedLanes&n,We===e&&(qe&n)===n&&($e===4||$e===3&&(qe&130023424)===qe&&500>Pe()-df?xr(e,0):ff|=n),vt(e,t)}function Qg(e,t){t===0&&(e.mode&1?(t=Ja,Ja<<=1,!(Ja&130023424)&&(Ja=4194304)):t=1);var n=ut();e=Bn(e,t),e!==null&&(vu(e,t,n),vt(e,n))}function X2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qg(e,n)}function Z2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(K(314))}r!==null&&r.delete(t),Qg(e,n)}var Yg;Yg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ct.current)dt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return dt=!1,$2(e,t,n);dt=!!(e.flags&131072)}else dt=!1,Ee&&t.flags&1048576&&xm(t,wi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ji(e,t),e=t.pendingProps;var o=vo(t,Ye.current);Do(t,n),o=Uc(null,t,r,e,o,n);var u=Hc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ft(r)?(u=!0,yi(t)):u=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Nc(t),o.updater=xi,t.stateNode=o,o._reactInternals=t,Ic(t,r,e,n),t=Jc(null,t,r,!0,u,n)):(t.tag=0,Ee&&u&&bc(t),ot(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ji(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=eF(r),e=qt(r,e),o){case 0:t=Zc(null,t,r,e,n);break e;case 1:t=wg(null,t,r,e,n);break e;case 11:t=mg(null,t,r,e,n);break e;case 14:t=gg(null,t,r,qt(r.type,e),n);break e}throw Error(K(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qt(r,o),Zc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qt(r,o),wg(e,t,r,o,n);case 3:e:{if(Eg(t),e===null)throw Error(K(387));r=t.pendingProps,u=t.memoizedState,o=u.element,Tm(e,t),Fi(t,r,null,n);var a=t.memoizedState;if(r=a.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){o=Eo(Error(K(423)),t),t=Bg(e,t,r,n,o);break e}else if(r!==o){o=Eo(Error(K(424)),t),t=Bg(e,t,r,n,o);break e}else for(bt=Wn(t.stateNode.containerInfo.firstChild),At=t,Ee=!0,Kt=null,n=Vm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(go(),r===o){t=bn(e,t,n);break e}ot(e,t,r,n)}t=t.child}return t;case 5:return Wm(t),e===null&&Sc(t),r=t.type,o=t.pendingProps,u=e!==null?e.memoizedProps:null,a=o.children,Dc(r,o)?a=null:u!==null&&Dc(r,u)&&(t.flags|=32),Cg(e,t),ot(e,t,a,n),t.child;case 6:return e===null&&Sc(t),null;case 13:return Ag(e,t,n);case 4:return Mc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Co(t,null,r,n):ot(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qt(r,o),mg(e,t,r,o,n);case 7:return ot(e,t,t.pendingProps,n),t.child;case 8:return ot(e,t,t.pendingProps.children,n),t.child;case 12:return ot(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,u=t.memoizedProps,a=o.value,ye(Bi,r._currentValue),r._currentValue=a,u!==null)if(Ht(u.value,a)){if(u.children===o.children&&!ct.current){t=bn(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var i=u.dependencies;if(i!==null){a=u.child;for(var s=i.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=An(-1,n&-n),s.tag=2;var l=u.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?s.next=s:(s.next=c.next,c.next=s),l.pending=s}}u.lanes|=n,s=u.alternate,s!==null&&(s.lanes|=n),Tc(u.return,n,t),i.lanes|=n;break}s=s.next}}else if(u.tag===10)a=u.type===t.type?null:u.child;else if(u.tag===18){if(a=u.return,a===null)throw Error(K(341));a.lanes|=n,i=a.alternate,i!==null&&(i.lanes|=n),Tc(a,n,t),a=u.sibling}else a=u.child;if(a!==null)a.return=u;else for(a=u;a!==null;){if(a===t){a=null;break}if(u=a.sibling,u!==null){u.return=a.return,a=u;break}a=a.return}u=a}ot(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Do(t,n),o=Rt(o),r=r(o),t.flags|=1,ot(e,t,r,n),t.child;case 14:return r=t.type,o=qt(r,t.pendingProps),o=qt(r.type,o),gg(e,t,r,o,n);case 15:return yg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qt(r,o),ji(e,t),t.tag=1,ft(r)?(e=!0,yi(t)):e=!1,Do(t,n),Mm(t,r,o),Ic(t,r,o,n),Jc(null,t,r,!0,e,n);case 19:return Fg(e,t,n);case 22:return Dg(e,t,n)}throw Error(K(156,t.tag))};function Gg(e,t){return Sh(e,t)}function J2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function It(e,t,n,r){return new J2(e,t,n,r)}function Cf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function eF(e){if(typeof e=="function")return Cf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bl)return 11;if(e===Sl)return 14}return 2}function er(e,t){var n=e.alternate;return n===null?(n=It(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qi(e,t,n,r,o,u){var a=2;if(r=e,typeof e=="function")Cf(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case eo:return Or(n.children,o,u,t);case Bl:a=8,o|=8;break;case Al:return e=It(12,n,t,o|2),e.elementType=Al,e.lanes=u,e;case Fl:return e=It(13,n,t,o),e.elementType=Fl,e.lanes=u,e;case xl:return e=It(19,n,t,o),e.elementType=xl,e.lanes=u,e;case oh:return Qi(n,o,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nh:a=10;break e;case rh:a=9;break e;case bl:a=11;break e;case Sl:a=14;break e;case Nn:a=16,r=null;break e}throw Error(K(130,e==null?e:typeof e,""))}return t=It(a,n,t,o),t.elementType=e,t.type=r,t.lanes=u,t}function Or(e,t,n,r){return e=It(7,e,r,t),e.lanes=n,e}function Qi(e,t,n,r){return e=It(22,e,r,t),e.elementType=oh,e.lanes=n,e.stateNode={isHidden:!1},e}function wf(e,t,n){return e=It(6,e,null,t),e.lanes=n,e}function Ef(e,t,n){return t=It(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tF(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ql(0),this.expirationTimes=Ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ql(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bf(e,t,n,r,o,u,a,i,s){return e=new tF(e,t,n,i,s),t===1?(t=1,u===!0&&(t|=8)):t=0,u=It(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nc(u),e}function nF(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Jr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Xg(e){if(!e)return Hn;e=e._reactInternals;e:{if(gr(e)!==e||e.tag!==1)throw Error(K(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ft(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(K(171))}if(e.tag===1){var n=e.type;if(ft(n))return Am(e,n,t)}return t}function Zg(e,t,n,r,o,u,a,i,s){return e=Bf(n,r,!0,e,o,u,a,i,s),e.context=Xg(null),n=e.current,r=ut(),o=Zn(n),u=An(r,o),u.callback=t??null,Qn(n,u,o),e.current.lanes=o,vu(e,o,r),vt(e,r),e}function Yi(e,t,n,r){var o=t.current,u=ut(),a=Zn(o);return n=Xg(n),t.context===null?t.context=n:t.pendingContext=n,t=An(u,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qn(o,t,a),e!==null&&(Gt(e,o,a,u),bi(e,o,a)),a}function Gi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Jg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Af(e,t){Jg(e,t),(e=e.alternate)&&Jg(e,t)}function rF(){return null}var e0=typeof reportError=="function"?reportError:function(e){console.error(e)};function bf(e){this._internalRoot=e}Xi.prototype.render=bf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(K(409));Yi(e,t,null,null)},Xi.prototype.unmount=bf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fr(function(){Yi(null,e,null,null)}),t[Dn]=null}};function Xi(e){this._internalRoot=e}Xi.prototype.unstable_scheduleHydration=function(e){if(e){var t=jh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ln.length&&t!==0&&t<Ln[n].priority;n++);Ln.splice(n,0,e),n===0&&$h(e)}};function Ff(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Zi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function t0(){}function oF(e,t,n,r,o){if(o){if(typeof r=="function"){var u=r;r=function(){var l=Gi(a);u.call(l)}}var a=Zg(t,r,e,0,null,!1,!1,"",t0);return e._reactRootContainer=a,e[Dn]=a.current,Su(e.nodeType===8?e.parentNode:e),Fr(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var i=r;r=function(){var l=Gi(s);i.call(l)}}var s=Bf(e,0,!1,null,null,!1,!1,"",t0);return e._reactRootContainer=s,e[Dn]=s.current,Su(e.nodeType===8?e.parentNode:e),Fr(function(){Yi(t,s,n,r)}),s}function Ji(e,t,n,r,o){var u=n._reactRootContainer;if(u){var a=u;if(typeof o=="function"){var i=o;o=function(){var s=Gi(a);i.call(s)}}Yi(t,a,e,o)}else a=oF(n,t,e,o,r);return Gi(a)}Rh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=pu(t.pendingLanes);n!==0&&(Yl(t,n|1),vt(t,Pe()),!(fe&6)&&(bo=Pe()+500,Kn()))}break;case 13:Fr(function(){var r=Bn(e,1);if(r!==null){var o=ut();Gt(r,e,1,o)}}),Af(e,1)}},Gl=function(e){if(e.tag===13){var t=Bn(e,134217728);if(t!==null){var n=ut();Gt(t,e,134217728,n)}Af(e,134217728)}},Nh=function(e){if(e.tag===13){var t=Zn(e),n=Bn(e,t);if(n!==null){var r=ut();Gt(n,e,t,r)}Af(e,t)}},jh=function(){return pe},Ih=function(e,t){var n=pe;try{return pe=e,t()}finally{pe=n}},Vl=function(e,t,n){switch(t){case"input":if(Rl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=mi(r);if(!o)throw Error(K(90));ih(r),Rl(r,o)}}}break;case"textarea":dh(e,n);break;case"select":t=n.value,t!=null&&to(e,!!n.multiple,t,!1)}},wh=gf,Eh=Fr;var uF={usingClientEntryPoint:!1,Events:[ku,fo,mi,Dh,Ch,gf]},Hu={findFiberByHostInstance:yr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},aF={bundleType:Hu.bundleType,version:Hu.version,rendererPackageName:Hu.rendererPackageName,rendererConfig:Hu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Fh(e),e===null?null:e.stateNode},findFiberByHostInstance:Hu.findFiberByHostInstance||rF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var es=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!es.isDisabled&&es.supportsFiber)try{Xa=es.inject(aF),nn=es}catch{}}wt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uF,wt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ff(t))throw Error(K(200));return nF(e,t,null,n)},wt.createRoot=function(e,t){if(!Ff(e))throw Error(K(299));var n=!1,r="",o=e0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Bf(e,1,!1,null,null,n,!1,r,o),e[Dn]=t.current,Su(e.nodeType===8?e.parentNode:e),new bf(t)},wt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(K(188)):(e=Object.keys(e).join(","),Error(K(268,e)));return e=Fh(t),e=e===null?null:e.stateNode,e},wt.flushSync=function(e){return Fr(e)},wt.hydrate=function(e,t,n){if(!Zi(t))throw Error(K(200));return Ji(null,e,t,!0,n)},wt.hydrateRoot=function(e,t,n){if(!Ff(e))throw Error(K(405));var r=n!=null&&n.hydratedSources||null,o=!1,u="",a=e0;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Zg(t,null,e,1,n??null,o,!1,u,a),e[Dn]=t.current,Su(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Xi(t)},wt.render=function(e,t,n){if(!Zi(t))throw Error(K(200));return Ji(null,e,t,!1,n)},wt.unmountComponentAtNode=function(e){if(!Zi(e))throw Error(K(40));return e._reactRootContainer?(Fr(function(){Ji(null,null,e,!1,function(){e._reactRootContainer=null,e[Dn]=null})}),!0):!1},wt.unstable_batchedUpdates=gf,wt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zi(n))throw Error(K(200));if(e==null||e._reactInternals===void 0)throw Error(K(38));return Ji(e,t,n,!1,r)},wt.version="18.2.0-next-9e3b772b8-20220608";function n0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n0)}catch(e){console.error(e)}}n0(),Yv.exports=wt;var r0=Yv.exports;const xo=Uo(r0);function o0(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)),r}function z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?o0(Object(n),!0).forEach(function(r){So(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Je(e){return(Je=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Ku(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qu(e,t,n){return t&&u0(e.prototype,t),n&&u0(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function So(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(){return(_r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ts(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a0(e,t)}function xf(e){return(xf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}function a0(e,t){return(a0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n})(e,t)}function iF(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function sF(e,t){if(e==null)return{};for(var n,r={},o=Object.keys(e),u=0;u<o.length;u++)n=o[u],0<=t.indexOf(n)||(r[n]=e[n]);return r}function Mt(e,t){if(e==null)return{};var n,r=sF(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),u=0;u<o.length;u++)n=o[u],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}function ns(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lF(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ns(e)}function rs(e){var t=iF();return function(){var n,r=xf(e);return lF(this,t?(n=xf(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}function i0(e,t){return fF(e)||pF(e,t)||s0(e,t)||hF()}function os(e){return cF(e)||dF(e)||s0(e)||vF()}function cF(e){if(Array.isArray(e))return Sf(e)}function fF(e){if(Array.isArray(e))return e}function dF(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pF(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,u=[],a=!0,i=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);a=!0);}catch(s){i=!0,o=s}finally{try{a||n.return==null||n.return()}finally{if(i)throw o}}return u}}function s0(e,t){var n;if(e)return typeof e=="string"?Sf(e,t):(n=(n=Object.prototype.toString.call(e).slice(8,-1))==="Object"&&e.constructor?e.constructor.name:n)==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sf(e,t):void 0}function Sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vF(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
41
+ `+u.stack}return{value:e,source:t,stack:o,digest:null}}function Gc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var jb=typeof WeakMap=="function"?WeakMap:Map;function fg(e,t,n){n=An(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zi||(zi=!0,pf=r),Xc(e,t)},n}function dg(e,t,n){n=An(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Xc(e,t)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"&&(n.callback=function(){Xc(e,t),typeof r!="function"&&(Gn===null?Gn=new Set([this]):Gn.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function pg(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new jb;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Gb.bind(null,e,t,n),t.then(e,e))}function vg(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function hg(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=An(-1,1),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var Ib=yn.ReactCurrentOwner,dt=!1;function ot(e,t,n,r){t.child=e===null?Vm(t,null,n,r):Co(t,e.child,n,r)}function mg(e,t,n,r,o){n=n.render;var u=t.ref;return Do(t,o),r=Uc(e,t,n,r,u,o),n=Hc(),e!==null&&!dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,bn(e,t,o)):(Ee&&n&&bc(t),t.flags|=1,ot(e,t,r,o),t.child)}function gg(e,t,n,r,o){if(e===null){var u=n.type;return typeof u=="function"&&!Cf(u)&&u.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=u,yg(e,t,u,r,o)):(e=qi(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!(e.lanes&o)){var a=u.memoizedProps;if(n=n.compare,n=n!==null?n:bu,n(a,r)&&e.ref===t.ref)return bn(e,t,o)}return t.flags|=1,e=er(u,r),e.ref=t.ref,e.return=t,t.child=e}function yg(e,t,n,r,o){if(e!==null){var u=e.memoizedProps;if(bu(u,r)&&e.ref===t.ref)if(dt=!1,t.pendingProps=r=u,(e.lanes&o)!==0)e.flags&131072&&(dt=!0);else return t.lanes=e.lanes,bn(e,t,o)}return Zc(e,t,n,r,o)}function Dg(e,t,n){var r=t.pendingProps,o=r.children,u=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ye(Ao,Ft),Ft|=n;else{if(!(n&1073741824))return e=u!==null?u.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ye(Ao,Ft),Ft|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=u!==null?u.baseLanes:n,ye(Ao,Ft),Ft|=r}else u!==null?(r=u.baseLanes|n,t.memoizedState=null):r=n,ye(Ao,Ft),Ft|=r;return ot(e,t,o,n),t.child}function Cg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Zc(e,t,n,r,o){var u=ft(n)?Dr:Ye.current;return u=vo(t,u),Do(t,o),n=Uc(e,t,n,r,u,o),r=Hc(),e!==null&&!dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,bn(e,t,o)):(Ee&&r&&bc(t),t.flags|=1,ot(e,t,n,o),t.child)}function wg(e,t,n,r,o){if(ft(n)){var u=!0;yi(t)}else u=!1;if(Do(t,o),t.stateNode===null)ji(e,t),Mm(t,n,r),Ic(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,i=t.memoizedProps;a.props=i;var s=a.context,l=n.contextType;typeof l=="object"&&l!==null?l=Rt(l):(l=ft(n)?Dr:Ye.current,l=vo(t,l));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i!==r||s!==l)&&$m(t,a,r,l),qn=!1;var p=t.memoizedState;a.state=p,Fi(t,r,a,o),s=t.memoizedState,i!==r||p!==s||ct.current||qn?(typeof c=="function"&&(jc(t,n,c,r),s=t.memoizedState),(i=qn||Im(t,n,i,r,p,s,l))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=l,r=i):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Tm(e,t),i=t.memoizedProps,l=t.type===t.elementType?i:qt(t.type,i),a.props=l,d=t.pendingProps,p=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=Rt(s):(s=ft(n)?Dr:Ye.current,s=vo(t,s));var y=n.getDerivedStateFromProps;(c=typeof y=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i!==d||p!==s)&&$m(t,a,r,s),qn=!1,p=t.memoizedState,a.state=p,Fi(t,r,a,o);var m=t.memoizedState;i!==d||p!==m||ct.current||qn?(typeof y=="function"&&(jc(t,n,y,r),m=t.memoizedState),(l=qn||Im(t,n,l,r,p,m,s)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=s,r=l):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Jc(e,t,n,r,u,o)}function Jc(e,t,n,r,o,u){Cg(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&bm(t,n,!1),bn(e,t,u);r=t.stateNode,Ib.current=t;var i=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Co(t,e.child,null,u),t.child=Co(t,null,i,u)):ot(e,t,i,u),t.memoizedState=r.state,o&&bm(t,n,!0),t.child}function Eg(e){var t=e.stateNode;t.pendingContext?Bm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Bm(e,t.context,!1),Mc(e,t.containerInfo)}function Bg(e,t,n,r,o){return go(),Oc(o),t.flags|=256,ot(e,t,n,r),t.child}var ef={dehydrated:null,treeContext:null,retryLane:0};function tf(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ag(e,t,n){var r=t.pendingProps,o=Fe.current,u=!1,a=(t.flags&128)!==0,i;if((i=a)||(i=e!==null&&e.memoizedState===null?!1:(o&2)!==0),i?(u=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ye(Fe,o&1),e===null)return Sc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,u?(r=t.mode,u=t.child,a={mode:"hidden",children:a},!(r&1)&&u!==null?(u.childLanes=0,u.pendingProps=a):u=Qi(a,r,0,null),e=Or(e,r,n,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=tf(n),t.memoizedState=ef,e):nf(t,a));if(o=e.memoizedState,o!==null&&(i=o.dehydrated,i!==null))return Mb(e,t,a,r,i,o,n);if(u){u=r.fallback,a=t.mode,o=e.child,i=o.sibling;var s={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=er(o,s),r.subtreeFlags=o.subtreeFlags&14680064),i!==null?u=er(i,u):(u=Or(u,a,n,null),u.flags|=2),u.return=t,r.return=t,r.sibling=u,t.child=r,r=u,u=t.child,a=e.child.memoizedState,a=a===null?tf(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},u.memoizedState=a,u.childLanes=e.childLanes&~n,t.memoizedState=ef,r}return u=e.child,e=u.sibling,r=er(u,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function nf(e,t){return t=Qi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ni(e,t,n,r){return r!==null&&Oc(r),Co(t,e.child,null,n),e=nf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Mb(e,t,n,r,o,u,a){if(n)return t.flags&256?(t.flags&=-257,r=Gc(Error(K(422))),Ni(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(u=r.fallback,o=t.mode,r=Qi({mode:"visible",children:r.children},o,0,null),u=Or(u,o,a,null),u.flags|=2,r.return=t,u.return=t,r.sibling=u,t.child=r,t.mode&1&&Co(t,e.child,null,a),t.child.memoizedState=tf(a),t.memoizedState=ef,u);if(!(t.mode&1))return Ni(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var i=r.dgst;return r=i,u=Error(K(419)),r=Gc(u,r,void 0),Ni(e,t,a,r)}if(i=(a&e.childLanes)!==0,dt||i){if(r=We,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|a)?0:o,o!==0&&o!==u.retryLane&&(u.retryLane=o,Bn(e,o),Gt(r,e,o,-1))}return Df(),r=Gc(Error(K(421))),Ni(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Xb.bind(null,e),o._reactRetry=t,null):(e=u.treeContext,bt=Wn(o.nextSibling),At=t,Ee=!0,Kt=null,e!==null&&(Pt[Tt++]=wn,Pt[Tt++]=En,Pt[Tt++]=Cr,wn=e.id,En=e.overflow,Cr=t),t=nf(t,r.children),t.flags|=4096,t)}function bg(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Tc(e.return,t,n)}function rf(e,t,n,r,o){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=r,u.tail=n,u.tailMode=o)}function Fg(e,t,n){var r=t.pendingProps,o=r.revealOrder,u=r.tail;if(ot(e,t,r.children,n),r=Fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bg(e,n,t);else if(e.tag===19)bg(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ye(Fe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Oi(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rf(t,!1,o,n,u);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Oi(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rf(t,!0,n,null,u);break;case"together":rf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ji(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function bn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),br|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(K(153));if(t.child!==null){for(e=t.child,n=er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function $b(e,t,n){switch(t.tag){case 3:Eg(t),go();break;case 5:Wm(t);break;case 1:ft(t.type)&&yi(t);break;case 4:Mc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ye(Bi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ye(Fe,Fe.current&1),t.flags|=128,null):n&t.child.childLanes?Ag(e,t,n):(ye(Fe,Fe.current&1),e=bn(e,t,n),e!==null?e.sibling:null);ye(Fe,Fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Fg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ye(Fe,Fe.current),r)break;return null;case 22:case 23:return t.lanes=0,Dg(e,t,n)}return bn(e,t,n)}var xg,of,Sg,Og;xg=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},of=function(){},Sg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Br(on.current);var u=null;switch(n){case"input":o=Tl(e,o),r=Tl(e,r),u=[];break;case"select":o=be({},o,{value:void 0}),r=be({},r,{value:void 0}),u=[];break;case"textarea":o=jl(e,o),r=jl(e,r),u=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=hi)}Ml(n,r);var a;n=null;for(l in o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&o[l]!=null)if(l==="style"){var i=o[l];for(a in i)i.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(ou.hasOwnProperty(l)?u||(u=[]):(u=u||[]).push(l,null));for(l in r){var s=r[l];if(i=o!=null?o[l]:void 0,r.hasOwnProperty(l)&&s!==i&&(s!=null||i!=null))if(l==="style")if(i){for(a in i)!i.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&i[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(u||(u=[]),u.push(l,n)),n=s;else l==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,i=i?i.__html:void 0,s!=null&&i!==s&&(u=u||[]).push(l,s)):l==="children"?typeof s!="string"&&typeof s!="number"||(u=u||[]).push(l,""+s):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(ou.hasOwnProperty(l)?(s!=null&&l==="onScroll"&&De("scroll",e),u||i===s||(u=[])):(u=u||[]).push(l,s))}n&&(u=u||[]).push("style",n);var l=u;(t.updateQueue=l)&&(t.flags|=4)}},Og=function(e,t,n,r){n!==r&&(t.flags|=4)};function Lu(e,t){if(!Ee)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Lb(e,t,n){var r=t.pendingProps;switch(Fc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return ft(t.type)&&gi(),Xe(t),null;case 3:return r=t.stateNode,wo(),Ce(ct),Ce(Ye),zc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ei(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Kt!==null&&(mf(Kt),Kt=null))),of(e,t),Xe(t),null;case 5:$c(t);var o=Br(Nu.current);if(n=t.type,e!==null&&t.stateNode!=null)Sg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(K(166));return Xe(t),null}if(e=Br(on.current),Ei(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[rn]=t,r[_u]=u,e=(t.mode&1)!==0,n){case"dialog":De("cancel",r),De("close",r);break;case"iframe":case"object":case"embed":De("load",r);break;case"video":case"audio":for(o=0;o<xu.length;o++)De(xu[o],r);break;case"source":De("error",r);break;case"img":case"image":case"link":De("error",r),De("load",r);break;case"details":De("toggle",r);break;case"input":sh(r,u),De("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},De("invalid",r);break;case"textarea":fh(r,u),De("invalid",r)}Ml(n,u),o=null;for(var a in u)if(u.hasOwnProperty(a)){var i=u[a];a==="children"?typeof i=="string"?r.textContent!==i&&(u.suppressHydrationWarning!==!0&&vi(r.textContent,i,e),o=["children",i]):typeof i=="number"&&r.textContent!==""+i&&(u.suppressHydrationWarning!==!0&&vi(r.textContent,i,e),o=["children",""+i]):ou.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&De("scroll",r)}switch(n){case"input":Ha(r),ch(r,u,!0);break;case"textarea":Ha(r),ph(r);break;case"select":case"option":break;default:typeof u.onClick=="function"&&(r.onclick=hi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=vh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[rn]=t,e[_u]=r,xg(e,t,!1,!1),t.stateNode=e;e:{switch(a=$l(n,r),n){case"dialog":De("cancel",e),De("close",e),o=r;break;case"iframe":case"object":case"embed":De("load",e),o=r;break;case"video":case"audio":for(o=0;o<xu.length;o++)De(xu[o],e);o=r;break;case"source":De("error",e),o=r;break;case"img":case"image":case"link":De("error",e),De("load",e),o=r;break;case"details":De("toggle",e),o=r;break;case"input":sh(e,r),o=Tl(e,r),De("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=be({},r,{value:void 0}),De("invalid",e);break;case"textarea":fh(e,r),o=jl(e,r),De("invalid",e);break;default:o=r}Ml(n,o),i=o;for(u in i)if(i.hasOwnProperty(u)){var s=i[u];u==="style"?gh(e,s):u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&hh(e,s)):u==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&su(e,s):typeof s=="number"&&su(e,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ou.hasOwnProperty(u)?s!=null&&u==="onScroll"&&De("scroll",e):s!=null&&El(e,u,s,a))}switch(n){case"input":Ha(e),ch(e,r,!1);break;case"textarea":Ha(e),ph(e);break;case"option":r.value!=null&&e.setAttribute("value",""+jn(r.value));break;case"select":e.multiple=!!r.multiple,u=r.value,u!=null?to(e,!!r.multiple,u,!1):r.defaultValue!=null&&to(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=hi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Xe(t),null;case 6:if(e&&t.stateNode!=null)Og(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(K(166));if(n=Br(Nu.current),Br(on.current),Ei(t)){if(r=t.stateNode,n=t.memoizedProps,r[rn]=t,(u=r.nodeValue!==n)&&(e=At,e!==null))switch(e.tag){case 3:vi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&vi(r.nodeValue,n,(e.mode&1)!==0)}u&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[rn]=t,t.stateNode=r}return Xe(t),null;case 13:if(Ce(Fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ee&&bt!==null&&t.mode&1&&!(t.flags&128))km(),go(),t.flags|=98560,u=!1;else if(u=Ei(t),r!==null&&r.dehydrated!==null){if(e===null){if(!u)throw Error(K(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(K(317));u[rn]=t}else go(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Xe(t),u=!1}else Kt!==null&&(mf(Kt),Kt=null),u=!0;if(!u)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Fe.current&1?$e===0&&($e=3):Df())),t.updateQueue!==null&&(t.flags|=4),Xe(t),null);case 4:return wo(),of(e,t),e===null&&Su(t.stateNode.containerInfo),Xe(t),null;case 10:return Pc(t.type._context),Xe(t),null;case 17:return ft(t.type)&&gi(),Xe(t),null;case 19:if(Ce(Fe),u=t.memoizedState,u===null)return Xe(t),null;if(r=(t.flags&128)!==0,a=u.rendering,a===null)if(r)Lu(u,!1);else{if($e!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Oi(e),a!==null){for(t.flags|=128,Lu(u,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)u=n,e=r,u.flags&=14680066,a=u.alternate,a===null?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=a.childLanes,u.lanes=a.lanes,u.child=a.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=a.memoizedProps,u.memoizedState=a.memoizedState,u.updateQueue=a.updateQueue,u.type=a.type,e=a.dependencies,u.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ye(Fe,Fe.current&1|2),t.child}e=e.sibling}u.tail!==null&&Pe()>bo&&(t.flags|=128,r=!0,Lu(u,!1),t.lanes=4194304)}else{if(!r)if(e=Oi(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Lu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!a.alternate&&!Ee)return Xe(t),null}else 2*Pe()-u.renderingStartTime>bo&&n!==1073741824&&(t.flags|=128,r=!0,Lu(u,!1),t.lanes=4194304);u.isBackwards?(a.sibling=t.child,t.child=a):(n=u.last,n!==null?n.sibling=a:t.child=a,u.last=a)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Pe(),t.sibling=null,n=Fe.current,ye(Fe,r?n&1|2:n&1),t):(Xe(t),null);case 22:case 23:return yf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ft&1073741824&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),null;case 24:return null;case 25:return null}throw Error(K(156,t.tag))}function zb(e,t){switch(Fc(t),t.tag){case 1:return ft(t.type)&&gi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wo(),Ce(ct),Ce(Ye),zc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $c(t),null;case 13:if(Ce(Fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(K(340));go()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ce(Fe),null;case 4:return wo(),null;case 10:return Pc(t.type._context),null;case 22:case 23:return yf(),null;case 24:return null;default:return null}}var Ii=!1,Ze=!1,Vb=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Bo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Oe(e,t,r)}else n.current=null}function uf(e,t,n){try{n()}catch(r){Oe(e,t,r)}}var _g=!1;function Wb(e,t){if(gc=ri,e=im(),lc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var a=0,i=-1,s=-1,l=0,c=0,d=e,p=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(i=a+o),d!==u||r!==0&&d.nodeType!==3||(s=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(y=d.firstChild)!==null;)p=d,d=y;for(;;){if(d===e)break t;if(p===n&&++l===o&&(i=a),p===u&&++c===r&&(s=a),(y=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=y}n=i===-1||s===-1?null:{start:i,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(yc={focusedElem:e,selectionRange:n},ri=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var f=m.memoizedProps,w=m.memoizedState,h=t.stateNode,g=h.getSnapshotBeforeUpdate(t.elementType===t.type?f:qt(t.type,f),w);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(K(163))}}catch(E){Oe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return m=_g,_g=!1,m}function zu(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var u=o.destroy;o.destroy=void 0,u!==void 0&&uf(t,n,u)}o=o.next}while(o!==r)}}function Mi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function af(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function kg(e){var t=e.alternate;t!==null&&(e.alternate=null,kg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rn],delete t[_u],delete t[Ec],delete t[bb],delete t[Fb])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pg(e){return e.tag===5||e.tag===3||e.tag===4}function Tg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=hi));else if(r!==4&&(e=e.child,e!==null))for(sf(e,t,n),e=e.sibling;e!==null;)sf(e,t,n),e=e.sibling}function lf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(lf(e,t,n),e=e.sibling;e!==null;)lf(e,t,n),e=e.sibling}var Ke=null,Qt=!1;function Yn(e,t,n){for(n=n.child;n!==null;)Rg(e,t,n),n=n.sibling}function Rg(e,t,n){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(Xa,n)}catch{}switch(n.tag){case 5:Ze||Bo(n,t);case 6:var r=Ke,o=Qt;Ke=null,Yn(e,t,n),Ke=r,Qt=o,Ke!==null&&(Qt?(e=Ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ke.removeChild(n.stateNode));break;case 18:Ke!==null&&(Qt?(e=Ke,n=n.stateNode,e.nodeType===8?wc(e.parentNode,n):e.nodeType===1&&wc(e,n),Du(e)):wc(Ke,n.stateNode));break;case 4:r=Ke,o=Qt,Ke=n.stateNode.containerInfo,Qt=!0,Yn(e,t,n),Ke=r,Qt=o;break;case 0:case 11:case 14:case 15:if(!Ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var u=o,a=u.destroy;u=u.tag,a!==void 0&&(u&2||u&4)&&uf(n,t,a),o=o.next}while(o!==r)}Yn(e,t,n);break;case 1:if(!Ze&&(Bo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){Oe(n,t,i)}Yn(e,t,n);break;case 21:Yn(e,t,n);break;case 22:n.mode&1?(Ze=(r=Ze)||n.memoizedState!==null,Yn(e,t,n),Ze=r):Yn(e,t,n);break;default:Yn(e,t,n)}}function Ng(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Vb),t.forEach(function(r){var o=Zb.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Yt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var u=e,a=t,i=a;e:for(;i!==null;){switch(i.tag){case 5:Ke=i.stateNode,Qt=!1;break e;case 3:Ke=i.stateNode.containerInfo,Qt=!0;break e;case 4:Ke=i.stateNode.containerInfo,Qt=!0;break e}i=i.return}if(Ke===null)throw Error(K(160));Rg(u,a,o),Ke=null,Qt=!1;var s=o.alternate;s!==null&&(s.return=null),o.return=null}catch(l){Oe(o,t,l)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)jg(t,e),t=t.sibling}function jg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Yt(t,e),an(e),r&4){try{zu(3,e,e.return),Mi(3,e)}catch(f){Oe(e,e.return,f)}try{zu(5,e,e.return)}catch(f){Oe(e,e.return,f)}}break;case 1:Yt(t,e),an(e),r&512&&n!==null&&Bo(n,n.return);break;case 5:if(Yt(t,e),an(e),r&512&&n!==null&&Bo(n,n.return),e.flags&32){var o=e.stateNode;try{su(o,"")}catch(f){Oe(e,e.return,f)}}if(r&4&&(o=e.stateNode,o!=null)){var u=e.memoizedProps,a=n!==null?n.memoizedProps:u,i=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{i==="input"&&u.type==="radio"&&u.name!=null&&lh(o,u),$l(i,a);var l=$l(i,u);for(a=0;a<s.length;a+=2){var c=s[a],d=s[a+1];c==="style"?gh(o,d):c==="dangerouslySetInnerHTML"?hh(o,d):c==="children"?su(o,d):El(o,c,d,l)}switch(i){case"input":Rl(o,u);break;case"textarea":dh(o,u);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!u.multiple;var y=u.value;y!=null?to(o,!!u.multiple,y,!1):p!==!!u.multiple&&(u.defaultValue!=null?to(o,!!u.multiple,u.defaultValue,!0):to(o,!!u.multiple,u.multiple?[]:"",!1))}o[_u]=u}catch(f){Oe(e,e.return,f)}}break;case 6:if(Yt(t,e),an(e),r&4){if(e.stateNode===null)throw Error(K(162));o=e.stateNode,u=e.memoizedProps;try{o.nodeValue=u}catch(f){Oe(e,e.return,f)}}break;case 3:if(Yt(t,e),an(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Du(t.containerInfo)}catch(f){Oe(e,e.return,f)}break;case 4:Yt(t,e),an(e);break;case 13:Yt(t,e),an(e),o=e.child,o.flags&8192&&(u=o.memoizedState!==null,o.stateNode.isHidden=u,!u||o.alternate!==null&&o.alternate.memoizedState!==null||(df=Pe())),r&4&&Ng(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ze=(l=Ze)||c,Yt(t,e),Ze=l):Yt(t,e),an(e),r&8192){if(l=e.memoizedState!==null,(e.stateNode.isHidden=l)&&!c&&e.mode&1)for(Z=e,c=e.child;c!==null;){for(d=Z=c;Z!==null;){switch(p=Z,y=p.child,p.tag){case 0:case 11:case 14:case 15:zu(4,p,p.return);break;case 1:Bo(p,p.return);var m=p.stateNode;if(typeof m.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(f){Oe(r,n,f)}}break;case 5:Bo(p,p.return);break;case 22:if(p.memoizedState!==null){$g(d);continue}}y!==null?(y.return=p,Z=y):$g(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,l?(u=o.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none"):(i=d.stateNode,s=d.memoizedProps.style,a=s!=null&&s.hasOwnProperty("display")?s.display:null,i.style.display=mh("display",a))}catch(f){Oe(e,e.return,f)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=l?"":d.memoizedProps}catch(f){Oe(e,e.return,f)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Yt(t,e),an(e),r&4&&Ng(e);break;case 21:break;default:Yt(t,e),an(e)}}function an(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Pg(n)){var r=n;break e}n=n.return}throw Error(K(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(su(o,""),r.flags&=-33);var u=Tg(e);lf(e,u,o);break;case 3:case 4:var a=r.stateNode.containerInfo,i=Tg(e);sf(e,i,a);break;default:throw Error(K(161))}}catch(s){Oe(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ub(e,t,n){Z=e,Ig(e)}function Ig(e,t,n){for(var r=(e.mode&1)!==0;Z!==null;){var o=Z,u=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Ii;if(!a){var i=o.alternate,s=i!==null&&i.memoizedState!==null||Ze;i=Ii;var l=Ze;if(Ii=a,(Ze=s)&&!l)for(Z=o;Z!==null;)a=Z,s=a.child,a.tag===22&&a.memoizedState!==null?Lg(o):s!==null?(s.return=a,Z=s):Lg(o);for(;u!==null;)Z=u,Ig(u),u=u.sibling;Z=o,Ii=i,Ze=l}Mg(e)}else o.subtreeFlags&8772&&u!==null?(u.return=o,Z=u):Mg(e)}}function Mg(e){for(;Z!==null;){var t=Z;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ze||Mi(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ze)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:qt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var u=t.updateQueue;u!==null&&Nm(t,u,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Nm(t,a,n)}break;case 5:var i=t.stateNode;if(n===null&&t.flags&4){n=i;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var l=t.alternate;if(l!==null){var c=l.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Du(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(K(163))}Ze||t.flags&512&&af(t)}catch(p){Oe(t,t.return,p)}}if(t===e){Z=null;break}if(n=t.sibling,n!==null){n.return=t.return,Z=n;break}Z=t.return}}function $g(e){for(;Z!==null;){var t=Z;if(t===e){Z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Z=n;break}Z=t.return}}function Lg(e){for(;Z!==null;){var t=Z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Mi(4,t)}catch(s){Oe(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(s){Oe(t,o,s)}}var u=t.return;try{af(t)}catch(s){Oe(t,u,s)}break;case 5:var a=t.return;try{af(t)}catch(s){Oe(t,a,s)}}}catch(s){Oe(t,t.return,s)}if(t===e){Z=null;break}var i=t.sibling;if(i!==null){i.return=t.return,Z=i;break}Z=t.return}}var Hb=Math.ceil,$i=yn.ReactCurrentDispatcher,cf=yn.ReactCurrentOwner,jt=yn.ReactCurrentBatchConfig,fe=0,We=null,je=null,qe=0,Ft=0,Ao=Un(0),$e=0,Vu=null,br=0,Li=0,ff=0,Wu=null,pt=null,df=0,bo=1/0,Fn=null,zi=!1,pf=null,Gn=null,Vi=!1,Xn=null,Wi=0,Uu=0,vf=null,Ui=-1,Hi=0;function ut(){return fe&6?Pe():Ui!==-1?Ui:Ui=Pe()}function Zn(e){return e.mode&1?fe&2&&qe!==0?qe&-qe:Sb.transition!==null?(Hi===0&&(Hi=Ph()),Hi):(e=pe,e!==0||(e=window.event,e=e===void 0?16:zh(e.type)),e):1}function Gt(e,t,n,r){if(50<Uu)throw Uu=0,vf=null,Error(K(185));vu(e,n,r),(!(fe&2)||e!==We)&&(e===We&&(!(fe&2)&&(Li|=n),$e===4&&Jn(e,qe)),vt(e,r),n===1&&fe===0&&!(t.mode&1)&&(bo=Pe()+500,Di&&Kn()))}function vt(e,t){var n=e.callbackNode;S2(e,t);var r=ei(e,e===We?qe:0);if(r===0)n!==null&&Oh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Oh(n),t===1)e.tag===0?xb(Vg.bind(null,e)):Fm(Vg.bind(null,e)),Bb(function(){!(fe&6)&&Kn()}),n=null;else{switch(Th(r)){case 1:n=Kl;break;case 4:n=_h;break;case 16:n=Ga;break;case 536870912:n=kh;break;default:n=Ga}n=Gg(n,zg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function zg(e,t){if(Ui=-1,Hi=0,fe&6)throw Error(K(327));var n=e.callbackNode;if(Fo()&&e.callbackNode!==n)return null;var r=ei(e,e===We?qe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ki(e,r);else{t=r;var o=fe;fe|=2;var u=Ug();(We!==e||qe!==t)&&(Fn=null,bo=Pe()+500,xr(e,t));do try{Qb();break}catch(i){Wg(e,i)}while(!0);kc(),$i.current=u,fe=o,je!==null?t=0:(We=null,qe=0,t=$e)}if(t!==0){if(t===2&&(o=ql(e),o!==0&&(r=o,t=hf(e,o))),t===1)throw n=Vu,xr(e,0),Jn(e,r),vt(e,Pe()),n;if(t===6)Jn(e,r);else{if(o=e.current.alternate,!(r&30)&&!Kb(o)&&(t=Ki(e,r),t===2&&(u=ql(e),u!==0&&(r=u,t=hf(e,u))),t===1))throw n=Vu,xr(e,0),Jn(e,r),vt(e,Pe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(K(345));case 2:Sr(e,pt,Fn);break;case 3:if(Jn(e,r),(r&130023424)===r&&(t=df+500-Pe(),10<t)){if(ei(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){ut(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Cc(Sr.bind(null,e,pt,Fn),t);break}Sr(e,pt,Fn);break;case 4:if(Jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Ut(r);u=1<<a,a=t[a],a>o&&(o=a),r&=~u}if(r=o,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Hb(r/1960))-r,10<r){e.timeoutHandle=Cc(Sr.bind(null,e,pt,Fn),r);break}Sr(e,pt,Fn);break;case 5:Sr(e,pt,Fn);break;default:throw Error(K(329))}}}return vt(e,Pe()),e.callbackNode===n?zg.bind(null,e):null}function hf(e,t){var n=Wu;return e.current.memoizedState.isDehydrated&&(xr(e,t).flags|=256),e=Ki(e,t),e!==2&&(t=pt,pt=n,t!==null&&mf(t)),e}function mf(e){pt===null?pt=e:pt.push.apply(pt,e)}function Kb(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],u=o.getSnapshot;o=o.value;try{if(!Ht(u(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Jn(e,t){for(t&=~ff,t&=~Li,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ut(t),r=1<<n;e[n]=-1,t&=~r}}function Vg(e){if(fe&6)throw Error(K(327));Fo();var t=ei(e,0);if(!(t&1))return vt(e,Pe()),null;var n=Ki(e,t);if(e.tag!==0&&n===2){var r=ql(e);r!==0&&(t=r,n=hf(e,r))}if(n===1)throw n=Vu,xr(e,0),Jn(e,t),vt(e,Pe()),n;if(n===6)throw Error(K(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sr(e,pt,Fn),vt(e,Pe()),null}function gf(e,t){var n=fe;fe|=1;try{return e(t)}finally{fe=n,fe===0&&(bo=Pe()+500,Di&&Kn())}}function Fr(e){Xn!==null&&Xn.tag===0&&!(fe&6)&&Fo();var t=fe;fe|=1;var n=jt.transition,r=pe;try{if(jt.transition=null,pe=1,e)return e()}finally{pe=r,jt.transition=n,fe=t,!(fe&6)&&Kn()}}function yf(){Ft=Ao.current,Ce(Ao)}function xr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Eb(n)),je!==null)for(n=je.return;n!==null;){var r=n;switch(Fc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&gi();break;case 3:wo(),Ce(ct),Ce(Ye),zc();break;case 5:$c(r);break;case 4:wo();break;case 13:Ce(Fe);break;case 19:Ce(Fe);break;case 10:Pc(r.type._context);break;case 22:case 23:yf()}n=n.return}if(We=e,je=e=er(e.current,null),qe=Ft=t,$e=0,Vu=null,ff=Li=br=0,pt=Wu=null,Er!==null){for(t=0;t<Er.length;t++)if(n=Er[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,u=n.pending;if(u!==null){var a=u.next;u.next=o,r.next=a}n.pending=r}Er=null}return e}function Wg(e,t){do{var n=je;try{if(kc(),_i.current=Ri,ki){for(var r=xe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ki=!1}if(Ar=0,Ve=Me=xe=null,ju=!1,Iu=0,cf.current=null,n===null||n.return===null){$e=1,Vu=t,je=null;break}e:{var u=e,a=n.return,i=n,s=t;if(t=qe,i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var l=s,c=i,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var y=vg(a);if(y!==null){y.flags&=-257,hg(y,a,i,u,t),y.mode&1&&pg(u,l,t),t=y,s=l;var m=t.updateQueue;if(m===null){var f=new Set;f.add(s),t.updateQueue=f}else m.add(s);break e}else{if(!(t&1)){pg(u,l,t),Df();break e}s=Error(K(426))}}else if(Ee&&i.mode&1){var w=vg(a);if(w!==null){!(w.flags&65536)&&(w.flags|=256),hg(w,a,i,u,t),Oc(Eo(s,i));break e}}u=s=Eo(s,i),$e!==4&&($e=2),Wu===null?Wu=[u]:Wu.push(u),u=a;do{switch(u.tag){case 3:u.flags|=65536,t&=-t,u.lanes|=t;var h=fg(u,s,t);Rm(u,h);break e;case 1:i=s;var g=u.type,C=u.stateNode;if(!(u.flags&128)&&(typeof g.getDerivedStateFromError=="function"||C!==null&&typeof C.componentDidCatch=="function"&&(Gn===null||!Gn.has(C)))){u.flags|=65536,t&=-t,u.lanes|=t;var E=dg(u,i,t);Rm(u,E);break e}}u=u.return}while(u!==null)}Kg(n)}catch(B){t=B,je===n&&n!==null&&(je=n=n.return);continue}break}while(!0)}function Ug(){var e=$i.current;return $i.current=Ri,e===null?Ri:e}function Df(){($e===0||$e===3||$e===2)&&($e=4),We===null||!(br&268435455)&&!(Li&268435455)||Jn(We,qe)}function Ki(e,t){var n=fe;fe|=2;var r=Ug();(We!==e||qe!==t)&&(Fn=null,xr(e,t));do try{qb();break}catch(o){Wg(e,o)}while(!0);if(kc(),fe=n,$i.current=r,je!==null)throw Error(K(261));return We=null,qe=0,$e}function qb(){for(;je!==null;)Hg(je)}function Qb(){for(;je!==null&&!D2();)Hg(je)}function Hg(e){var t=Yg(e.alternate,e,Ft);e.memoizedProps=e.pendingProps,t===null?Kg(e):je=t,cf.current=null}function Kg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=zb(n,t),n!==null){n.flags&=32767,je=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{$e=6,je=null;return}}else if(n=Lb(n,t,Ft),n!==null){je=n;return}if(t=t.sibling,t!==null){je=t;return}je=t=e}while(t!==null);$e===0&&($e=5)}function Sr(e,t,n){var r=pe,o=jt.transition;try{jt.transition=null,pe=1,Yb(e,t,n,r)}finally{jt.transition=o,pe=r}return null}function Yb(e,t,n,r){do Fo();while(Xn!==null);if(fe&6)throw Error(K(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(K(177));e.callbackNode=null,e.callbackPriority=0;var u=n.lanes|n.childLanes;if(O2(e,u),e===We&&(je=We=null,qe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Vi||(Vi=!0,Gg(Ga,function(){return Fo(),null})),u=(n.flags&15990)!==0,n.subtreeFlags&15990||u){u=jt.transition,jt.transition=null;var a=pe;pe=1;var i=fe;fe|=4,cf.current=null,Wb(e,n),jg(n,e),hb(yc),ri=!!gc,yc=gc=null,e.current=n,Ub(n),C2(),fe=i,pe=a,jt.transition=u}else e.current=n;if(Vi&&(Vi=!1,Xn=e,Wi=o),u=e.pendingLanes,u===0&&(Gn=null),B2(n.stateNode),vt(e,Pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(zi)throw zi=!1,e=pf,pf=null,e;return Wi&1&&e.tag!==0&&Fo(),u=e.pendingLanes,u&1?e===vf?Uu++:(Uu=0,vf=e):Uu=0,Kn(),null}function Fo(){if(Xn!==null){var e=Th(Wi),t=jt.transition,n=pe;try{if(jt.transition=null,pe=16>e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,Wi=0,fe&6)throw Error(K(331));var o=fe;for(fe|=4,Z=e.current;Z!==null;){var u=Z,a=u.child;if(Z.flags&16){var i=u.deletions;if(i!==null){for(var s=0;s<i.length;s++){var l=i[s];for(Z=l;Z!==null;){var c=Z;switch(c.tag){case 0:case 11:case 15:zu(8,c,u)}var d=c.child;if(d!==null)d.return=c,Z=d;else for(;Z!==null;){c=Z;var p=c.sibling,y=c.return;if(kg(c),c===l){Z=null;break}if(p!==null){p.return=y,Z=p;break}Z=y}}}var m=u.alternate;if(m!==null){var f=m.child;if(f!==null){m.child=null;do{var w=f.sibling;f.sibling=null,f=w}while(f!==null)}}Z=u}}if(u.subtreeFlags&2064&&a!==null)a.return=u,Z=a;else e:for(;Z!==null;){if(u=Z,u.flags&2048)switch(u.tag){case 0:case 11:case 15:zu(9,u,u.return)}var h=u.sibling;if(h!==null){h.return=u.return,Z=h;break e}Z=u.return}}var g=e.current;for(Z=g;Z!==null;){a=Z;var C=a.child;if(a.subtreeFlags&2064&&C!==null)C.return=a,Z=C;else e:for(a=g;Z!==null;){if(i=Z,i.flags&2048)try{switch(i.tag){case 0:case 11:case 15:Mi(9,i)}}catch(B){Oe(i,i.return,B)}if(i===a){Z=null;break e}var E=i.sibling;if(E!==null){E.return=i.return,Z=E;break e}Z=i.return}}if(fe=o,Kn(),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(Xa,e)}catch{}r=!0}return r}finally{pe=n,jt.transition=t}}return!1}function qg(e,t,n){t=Eo(n,t),t=fg(e,t,1),e=Qn(e,t,1),t=ut(),e!==null&&(vu(e,1,t),vt(e,t))}function Oe(e,t,n){if(e.tag===3)qg(e,e,n);else for(;t!==null;){if(t.tag===3){qg(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Gn===null||!Gn.has(r))){e=Eo(n,e),e=dg(t,e,1),t=Qn(t,e,1),e=ut(),t!==null&&(vu(t,1,e),vt(t,e));break}}t=t.return}}function Gb(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ut(),e.pingedLanes|=e.suspendedLanes&n,We===e&&(qe&n)===n&&($e===4||$e===3&&(qe&130023424)===qe&&500>Pe()-df?xr(e,0):ff|=n),vt(e,t)}function Qg(e,t){t===0&&(e.mode&1?(t=Ja,Ja<<=1,!(Ja&130023424)&&(Ja=4194304)):t=1);var n=ut();e=Bn(e,t),e!==null&&(vu(e,t,n),vt(e,n))}function Xb(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qg(e,n)}function Zb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(K(314))}r!==null&&r.delete(t),Qg(e,n)}var Yg;Yg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ct.current)dt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return dt=!1,$b(e,t,n);dt=!!(e.flags&131072)}else dt=!1,Ee&&t.flags&1048576&&xm(t,wi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ji(e,t),e=t.pendingProps;var o=vo(t,Ye.current);Do(t,n),o=Uc(null,t,r,e,o,n);var u=Hc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ft(r)?(u=!0,yi(t)):u=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Nc(t),o.updater=xi,t.stateNode=o,o._reactInternals=t,Ic(t,r,e,n),t=Jc(null,t,r,!0,u,n)):(t.tag=0,Ee&&u&&bc(t),ot(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ji(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=eF(r),e=qt(r,e),o){case 0:t=Zc(null,t,r,e,n);break e;case 1:t=wg(null,t,r,e,n);break e;case 11:t=mg(null,t,r,e,n);break e;case 14:t=gg(null,t,r,qt(r.type,e),n);break e}throw Error(K(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qt(r,o),Zc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qt(r,o),wg(e,t,r,o,n);case 3:e:{if(Eg(t),e===null)throw Error(K(387));r=t.pendingProps,u=t.memoizedState,o=u.element,Tm(e,t),Fi(t,r,null,n);var a=t.memoizedState;if(r=a.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){o=Eo(Error(K(423)),t),t=Bg(e,t,r,n,o);break e}else if(r!==o){o=Eo(Error(K(424)),t),t=Bg(e,t,r,n,o);break e}else for(bt=Wn(t.stateNode.containerInfo.firstChild),At=t,Ee=!0,Kt=null,n=Vm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(go(),r===o){t=bn(e,t,n);break e}ot(e,t,r,n)}t=t.child}return t;case 5:return Wm(t),e===null&&Sc(t),r=t.type,o=t.pendingProps,u=e!==null?e.memoizedProps:null,a=o.children,Dc(r,o)?a=null:u!==null&&Dc(r,u)&&(t.flags|=32),Cg(e,t),ot(e,t,a,n),t.child;case 6:return e===null&&Sc(t),null;case 13:return Ag(e,t,n);case 4:return Mc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Co(t,null,r,n):ot(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qt(r,o),mg(e,t,r,o,n);case 7:return ot(e,t,t.pendingProps,n),t.child;case 8:return ot(e,t,t.pendingProps.children,n),t.child;case 12:return ot(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,u=t.memoizedProps,a=o.value,ye(Bi,r._currentValue),r._currentValue=a,u!==null)if(Ht(u.value,a)){if(u.children===o.children&&!ct.current){t=bn(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var i=u.dependencies;if(i!==null){a=u.child;for(var s=i.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=An(-1,n&-n),s.tag=2;var l=u.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?s.next=s:(s.next=c.next,c.next=s),l.pending=s}}u.lanes|=n,s=u.alternate,s!==null&&(s.lanes|=n),Tc(u.return,n,t),i.lanes|=n;break}s=s.next}}else if(u.tag===10)a=u.type===t.type?null:u.child;else if(u.tag===18){if(a=u.return,a===null)throw Error(K(341));a.lanes|=n,i=a.alternate,i!==null&&(i.lanes|=n),Tc(a,n,t),a=u.sibling}else a=u.child;if(a!==null)a.return=u;else for(a=u;a!==null;){if(a===t){a=null;break}if(u=a.sibling,u!==null){u.return=a.return,a=u;break}a=a.return}u=a}ot(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Do(t,n),o=Rt(o),r=r(o),t.flags|=1,ot(e,t,r,n),t.child;case 14:return r=t.type,o=qt(r,t.pendingProps),o=qt(r.type,o),gg(e,t,r,o,n);case 15:return yg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qt(r,o),ji(e,t),t.tag=1,ft(r)?(e=!0,yi(t)):e=!1,Do(t,n),Mm(t,r,o),Ic(t,r,o,n),Jc(null,t,r,!0,e,n);case 19:return Fg(e,t,n);case 22:return Dg(e,t,n)}throw Error(K(156,t.tag))};function Gg(e,t){return Sh(e,t)}function Jb(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function It(e,t,n,r){return new Jb(e,t,n,r)}function Cf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function eF(e){if(typeof e=="function")return Cf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bl)return 11;if(e===Sl)return 14}return 2}function er(e,t){var n=e.alternate;return n===null?(n=It(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qi(e,t,n,r,o,u){var a=2;if(r=e,typeof e=="function")Cf(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case eo:return Or(n.children,o,u,t);case Bl:a=8,o|=8;break;case Al:return e=It(12,n,t,o|2),e.elementType=Al,e.lanes=u,e;case Fl:return e=It(13,n,t,o),e.elementType=Fl,e.lanes=u,e;case xl:return e=It(19,n,t,o),e.elementType=xl,e.lanes=u,e;case oh:return Qi(n,o,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nh:a=10;break e;case rh:a=9;break e;case bl:a=11;break e;case Sl:a=14;break e;case Nn:a=16,r=null;break e}throw Error(K(130,e==null?e:typeof e,""))}return t=It(a,n,t,o),t.elementType=e,t.type=r,t.lanes=u,t}function Or(e,t,n,r){return e=It(7,e,r,t),e.lanes=n,e}function Qi(e,t,n,r){return e=It(22,e,r,t),e.elementType=oh,e.lanes=n,e.stateNode={isHidden:!1},e}function wf(e,t,n){return e=It(6,e,null,t),e.lanes=n,e}function Ef(e,t,n){return t=It(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tF(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ql(0),this.expirationTimes=Ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ql(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bf(e,t,n,r,o,u,a,i,s){return e=new tF(e,t,n,i,s),t===1?(t=1,u===!0&&(t|=8)):t=0,u=It(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nc(u),e}function nF(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Jr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Xg(e){if(!e)return Hn;e=e._reactInternals;e:{if(gr(e)!==e||e.tag!==1)throw Error(K(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ft(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(K(171))}if(e.tag===1){var n=e.type;if(ft(n))return Am(e,n,t)}return t}function Zg(e,t,n,r,o,u,a,i,s){return e=Bf(n,r,!0,e,o,u,a,i,s),e.context=Xg(null),n=e.current,r=ut(),o=Zn(n),u=An(r,o),u.callback=t??null,Qn(n,u,o),e.current.lanes=o,vu(e,o,r),vt(e,r),e}function Yi(e,t,n,r){var o=t.current,u=ut(),a=Zn(o);return n=Xg(n),t.context===null?t.context=n:t.pendingContext=n,t=An(u,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qn(o,t,a),e!==null&&(Gt(e,o,a,u),bi(e,o,a)),a}function Gi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Jg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Af(e,t){Jg(e,t),(e=e.alternate)&&Jg(e,t)}function rF(){return null}var e0=typeof reportError=="function"?reportError:function(e){console.error(e)};function bf(e){this._internalRoot=e}Xi.prototype.render=bf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(K(409));Yi(e,t,null,null)},Xi.prototype.unmount=bf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fr(function(){Yi(null,e,null,null)}),t[Dn]=null}};function Xi(e){this._internalRoot=e}Xi.prototype.unstable_scheduleHydration=function(e){if(e){var t=jh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ln.length&&t!==0&&t<Ln[n].priority;n++);Ln.splice(n,0,e),n===0&&$h(e)}};function Ff(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Zi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function t0(){}function oF(e,t,n,r,o){if(o){if(typeof r=="function"){var u=r;r=function(){var l=Gi(a);u.call(l)}}var a=Zg(t,r,e,0,null,!1,!1,"",t0);return e._reactRootContainer=a,e[Dn]=a.current,Su(e.nodeType===8?e.parentNode:e),Fr(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var i=r;r=function(){var l=Gi(s);i.call(l)}}var s=Bf(e,0,!1,null,null,!1,!1,"",t0);return e._reactRootContainer=s,e[Dn]=s.current,Su(e.nodeType===8?e.parentNode:e),Fr(function(){Yi(t,s,n,r)}),s}function Ji(e,t,n,r,o){var u=n._reactRootContainer;if(u){var a=u;if(typeof o=="function"){var i=o;o=function(){var s=Gi(a);i.call(s)}}Yi(t,a,e,o)}else a=oF(n,t,e,o,r);return Gi(a)}Rh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=pu(t.pendingLanes);n!==0&&(Yl(t,n|1),vt(t,Pe()),!(fe&6)&&(bo=Pe()+500,Kn()))}break;case 13:Fr(function(){var r=Bn(e,1);if(r!==null){var o=ut();Gt(r,e,1,o)}}),Af(e,1)}},Gl=function(e){if(e.tag===13){var t=Bn(e,134217728);if(t!==null){var n=ut();Gt(t,e,134217728,n)}Af(e,134217728)}},Nh=function(e){if(e.tag===13){var t=Zn(e),n=Bn(e,t);if(n!==null){var r=ut();Gt(n,e,t,r)}Af(e,t)}},jh=function(){return pe},Ih=function(e,t){var n=pe;try{return pe=e,t()}finally{pe=n}},Vl=function(e,t,n){switch(t){case"input":if(Rl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=mi(r);if(!o)throw Error(K(90));ih(r),Rl(r,o)}}}break;case"textarea":dh(e,n);break;case"select":t=n.value,t!=null&&to(e,!!n.multiple,t,!1)}},wh=gf,Eh=Fr;var uF={usingClientEntryPoint:!1,Events:[ku,fo,mi,Dh,Ch,gf]},Hu={findFiberByHostInstance:yr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},aF={bundleType:Hu.bundleType,version:Hu.version,rendererPackageName:Hu.rendererPackageName,rendererConfig:Hu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Fh(e),e===null?null:e.stateNode},findFiberByHostInstance:Hu.findFiberByHostInstance||rF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var es=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!es.isDisabled&&es.supportsFiber)try{Xa=es.inject(aF),nn=es}catch{}}wt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uF,wt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ff(t))throw Error(K(200));return nF(e,t,null,n)},wt.createRoot=function(e,t){if(!Ff(e))throw Error(K(299));var n=!1,r="",o=e0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Bf(e,1,!1,null,null,n,!1,r,o),e[Dn]=t.current,Su(e.nodeType===8?e.parentNode:e),new bf(t)},wt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(K(188)):(e=Object.keys(e).join(","),Error(K(268,e)));return e=Fh(t),e=e===null?null:e.stateNode,e},wt.flushSync=function(e){return Fr(e)},wt.hydrate=function(e,t,n){if(!Zi(t))throw Error(K(200));return Ji(null,e,t,!0,n)},wt.hydrateRoot=function(e,t,n){if(!Ff(e))throw Error(K(405));var r=n!=null&&n.hydratedSources||null,o=!1,u="",a=e0;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Zg(t,null,e,1,n??null,o,!1,u,a),e[Dn]=t.current,Su(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Xi(t)},wt.render=function(e,t,n){if(!Zi(t))throw Error(K(200));return Ji(null,e,t,!1,n)},wt.unmountComponentAtNode=function(e){if(!Zi(e))throw Error(K(40));return e._reactRootContainer?(Fr(function(){Ji(null,null,e,!1,function(){e._reactRootContainer=null,e[Dn]=null})}),!0):!1},wt.unstable_batchedUpdates=gf,wt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zi(n))throw Error(K(200));if(e==null||e._reactInternals===void 0)throw Error(K(38));return Ji(e,t,n,!1,r)},wt.version="18.2.0-next-9e3b772b8-20220608";function n0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n0)}catch(e){console.error(e)}}n0(),Yv.exports=wt;var r0=Yv.exports;const xo=Uo(r0);function o0(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)),r}function z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?o0(Object(n),!0).forEach(function(r){So(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Je(e){return(Je=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Ku(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qu(e,t,n){return t&&u0(e.prototype,t),n&&u0(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function So(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(){return(_r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ts(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a0(e,t)}function xf(e){return(xf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}function a0(e,t){return(a0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n})(e,t)}function iF(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function sF(e,t){if(e==null)return{};for(var n,r={},o=Object.keys(e),u=0;u<o.length;u++)n=o[u],0<=t.indexOf(n)||(r[n]=e[n]);return r}function Mt(e,t){if(e==null)return{};var n,r=sF(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),u=0;u<o.length;u++)n=o[u],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}function ns(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lF(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ns(e)}function rs(e){var t=iF();return function(){var n,r=xf(e);return lF(this,t?(n=xf(this).constructor,Reflect.construct(r,arguments,n)):r.apply(this,arguments))}}function i0(e,t){return fF(e)||pF(e,t)||s0(e,t)||hF()}function os(e){return cF(e)||dF(e)||s0(e)||vF()}function cF(e){if(Array.isArray(e))return Sf(e)}function fF(e){if(Array.isArray(e))return e}function dF(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pF(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,u=[],a=!0,i=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);a=!0);}catch(s){i=!0,o=s}finally{try{a||n.return==null||n.return()}finally{if(i)throw o}}return u}}function s0(e,t){var n;if(e)return typeof e=="string"?Sf(e,t):(n=(n=Object.prototype.toString.call(e).slice(8,-1))==="Object"&&e.constructor?e.constructor.name:n)==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sf(e,t):void 0}function Sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vF(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
42
42
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hF(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
43
43
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mF(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n===void 0)return(t==="string"?String:Number)(e);if(n=n.call(e,t||"default"),typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}function l0(e){return e=mF(e,"string"),typeof e=="symbol"?e:String(e)}var c0={react:{componentWrap:"div",slotWrap:"div",componentWrapAttrs:{__use_react_component_wrap:"",style:{all:"unset"}},slotWrapAttrs:{__use_react_slot_wrap:"",style:{all:"unset"}},vueNamedSlotsKey:["node:"]},vue:{componentWrapHOC:function(e){return function(){var t=(0<arguments.length&&arguments[0]!==void 0?arguments[0]:{}).portals;return L.createElement(L.Fragment,null,e,(t===void 0?[]:t).map(function(o){var r=o.Portal,o=o.key;return L.createElement(r,{key:o})}))}},componentWrapAttrs:{"data-use-vue-component-wrap":"",style:{all:"unset"}},slotWrapAttrs:{"data-use-vue-slot-wrap":"",style:{all:"unset"}}}};function f0(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{react:{},vue:{}},n=1<arguments.length&&arguments[1]!==void 0?arguments[1]:c0,t=2<arguments.length?arguments[2]:void 0,n=(e.vue||(e.vue={}),e.react||(e.react={}),[n,z(z({},e),{},{react:z(z(z({},n.react),e.react),{},{componentWrapAttrs:z(z({},n.react.componentWrapAttrs),e.react.componentWrapAttrs),slotWrapAttrs:z(z({},n.react.slotWrapAttrs),e.react.slotWrapAttrs)}),vue:z(z(z({},n.vue),e.vue),{},{componentWrapAttrs:z(z({},n.vue.componentWrapAttrs),e.vue.componentWrapAttrs),slotWrapAttrs:z(z({},n.vue.slotWrapAttrs),e.vue.slotWrapAttrs)})})]);return t&&n.unshift({}),Object.assign.apply(this,n)}var d0=["getElementById","getElementsByClassName","getElementsByTagName","getElementsByTagNameNS","querySelector","querySelectorAll"],Qu={Document:{},Element:{}};function gF(e){Object.keys(Qu).forEach(function(t){d0.forEach(function(n){var r=window[t].prototype[n];Qu[t][n]=r,window[t].prototype[n]=function(){for(var o=arguments.length,u=new Array(o),a=0;a<o;a++)u[a]=arguments[a];var i=r.apply(this,u);return i&&(i.constructor!==NodeList||i.constructor===NodeList&&0<i.length)?i:(Qu.Element[n]||Element.prototype[mehtod]).apply(e,u)}})})}function yF(){Object.keys(Qu).forEach(function(e){d0.forEach(function(t){window[e].prototype[t]=Qu[e][t]})})}var DF=["ref"],CF=["key"],wF=["hashList"],p0=parseInt(L.version);function W3(e){return e}var EF=function(){ts(t,L.Component);var e=rs(t);function t(n){return Ku(this,t),e.call(this,n)}return qu(t,[{key:"render",value:function(){var n=this.props.component,r=this.props.passedProps,r=(r.ref,Mt(r,DF));return L.createElement(n,r,this.props.children)}}]),t}(),BF=function(e,t,n){var r=function(){ts(u,L.Component);var o=rs(u);function u(a){var i;return Ku(this,u),(i=o.call(this,a)).state=z(z({},a),t.isSlots?{children:e}:{}),i.setRef=i.setRef.bind(ns(i)),i.vueInReactCall=i.vueInReactCall.bind(ns(i)),(i.__veauryVueWrapperRef__=n).__veauryVueInReactCall__=i.vueInReactCall,i}return qu(u,[{key:"reactPropsLinkToVueInstance",value:function(a){Object.keys(a).forEach(function(i){n[i]||(n[i]=a[i])}),Object.getOwnPropertyNames(a.__proto__).filter(function(i){return["constructor","render"].indexOf(i)<0}).forEach(function(i){n[i]||(n[i]=a[i])})}},{key:"setRef",value:function(a){var i=this;a&&(n.__veauryReactRef__=a,this.reactPropsLinkToVueInstance(a),Promise.resolve().then(function(){return i.reactPropsLinkToVueInstance(a)}),(this.setRef.current=a).__veauryVueWrapperRef__=n)}},{key:"createSlot",value:function(a){return{originVNode:a,inheritAttrs:!1,__fromReactSlot:!0,render:function(){var i,s;return((i=a=(a=((s=this.$slots)==null||(i=s.default)==null?void 0:i.call(s))||a)instanceof Function?a(this):a)==null?void 0:i.length)===1&&(s=a[0])!=null&&s.data&&((i=this.$attrs).key,s=Mt(i,CF),a[0].props=z(z({},s),a[0].props)),a}}}},{key:"componentWillUnmount",value:function(){n.__veauryReactRef__&&(n.__veauryReactRef__.__veauryVueWrapperRef__=null,n.__veauryReactRef__=null)}},{key:"vueInReactCall",value:function(a){var i=this,s=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{};return 2<arguments.length&&arguments[2]&&a&&a[0]?a.map(function(l,c){return as(i.createSlot(l instanceof Function?l:[l]),z(z(z({},t),s),{},{isSlots:!0,wrapInstance:n})).render({key:(l==null||(l=l.data)==null?void 0:l.key)||c})}):as(this.createSlot(a),z(z(z({},t),s),{},{isSlots:!0,wrapInstance:n})).render()}},{key:"render",value:function(){var a,i,s,l=this,f=this.state,c=f.hashList,d=Mt(f,wF),p={},y={};for(a in d)i=a,s=void 0,d.hasOwnProperty(i)&&d[i]!=null&&(d[i].__slot?(d[i].reactSlot?d[i]=d[i].reactSlot:(s=d[i],t.defaultSlotsFormatter&&d[i].__trueChildren?(d[i].__top__=l.__veauryVueWrapperRef__,d[i]=t.defaultSlotsFormatter(d[i].__trueChildren,l.vueInReactCall,c),d[i]instanceof Array?d[i]=os(d[i]):-1<["string","number"].indexOf(Je(d[i]))?d[i]=[d[i]]:Je(d[i])==="object"&&(d[i]=z({},d[i]))):d[i]=z({},as(l.createSlot(d[i]),z(z({},t),{},{isSlots:!0,wrapInstance:n})).render()),d[i].vueFunction=s),p[i]=d[i]):d[i].__scopedSlot&&(d[i]=d[i](l.createSlot),y[i]=d[i]));var m,f={};return f.ref=this.setRef,t.isSlots?this.state.children||this.props.children:(m=d,m=z(z(z({},m=t.defaultPropsFormatter?t.defaultPropsFormatter(d,this.vueInReactCall,c):m),p),y),Object.getPrototypeOf(e)!==Function.prototype&&(Je(e)!=="object"||e.render)||u.catchVueRefs()?(Object.getPrototypeOf(e)===Function.prototype&&delete f.ref,L.createElement(e,_r({},m,f))):L.createElement(EF,_r({passedProps:m,component:e},f),m.children))}}],[{key:"catchVueRefs",value:function(){if(n.$parent){for(var a in n.$parent.$refs)if(n.$parent.$refs[a]===n)return!0}return!1}}]),u}();return So(r,"displayName","applyReact_".concat(e.displayName||e.name||"Component")),r};function Of(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{};return e.__esModule&&e.default&&(e=e.default),t.isSlots&&(e=e()),t=f0(t,void 0,!0),{originReactComponent:e,setup:function(n,r){var o,u,a,i;if(!t.isSlots)return o={},u=v.reactive({}),a=v.getCurrentInstance(),typeof(i=t.useInjectPropsFromWrapper||e.__veauryInjectPropsFromWrapper__)=="function"&&(typeof(i=i.call(a.proxy,n))!="function"?(Object.assign(u,i),o.__veauryInjectedProps__=u):a.proxy.__veauryInjectedComputed__=i),o},data:function(){return{VEAURY_Portals:[]}},created:function(){this.__veauryPortalKeyPool__=[],this.__veauryMaxPortalCount__=0},computed:{__veauryInjectedProps__:function(){var n;return(n=this.__veauryInjectedComputed__)==null?void 0:n.call(this)}},render:function(){var n=v.h(t.react.componentWrap,z({ref:"react"},t.react.componentWrapAttrs||{}),this.VEAURY_Portals.map(function(u){var o=u.Portal,u=u.key;return o(v.h,u)}));return this.__veauryCheckReactSlot__(this.$slots),n},methods:{__veauryCheckReactSlot__:function(n){var r=this;function o(u,a,i){return a[i]&&(u[i]=a[i],1)}Object.keys(n).forEach(function(u){try{var a,i,s,l=n[u],c=l.apply(r,l.__reactArgs||[{}]);(l.__trueChildren=c).forEach(function(d){d.children&&r.__veauryCheckReactSlot__(d.children)}),c.length!==1||o(l,i=c[0],"reactSlot")||o(l,i,"reactFunction")||i.type!==v.Fragment||((a=i.children)==null?void 0:a.length)!==1||o(l,s=i.children[0],"reactSlot")||o(l,s,"reactFunction")}catch{}})},__veauryPushVuePortal__:function(n){var r=this.__veauryPortalKeyPool__.shift()||this.__veauryMaxPortalCount__++;this.VEAURY_Portals.push({Portal:n,key:r})},__veauryRemoveVuePortal__:function(n){var r,o=this.VEAURY_Portals.find(function(u,a){if(u.Portal===n)return r=a,!0});this.__veauryPortalKeyPool__.push(o.key),this.VEAURY_Portals.splice(r,1)},__veauryGetScopeSlot__:function(n,r,o){var u=this;function a(i){function s(){for(var l,c=this,d=arguments.length,p=new Array(d),y=0;y<d;y++)p[y]=arguments[y];return n.reactFunction?n.reactFunction.apply(this,p):t.defaultSlotsFormatter?((l=n.apply(this,p)).__top__=u,(l=t.defaultSlotsFormatter(l,u.__veauryVueInReactCall__,r))instanceof Array||-1<Je(l).indexOf("string","number")?l=os(l):Je(l)==="object"&&(l=z({},l)),l):as(i(function(){return n.apply(c,p)}),z(z({},t),{},{isSlots:!0,wrapInstance:u})).render()}return t.pureTransformer&&o?s.vueFunction=o:s.vueFunction=n,s}return a.__scopedSlot=!0,a},__veaurySyncUpdateProps__:function(n){this.__veauryReactInstance__&&this.__veauryReactInstance__.setState(n)},__veauryMountReactComponent__:function(n,r){var o,u,a=this,i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:{},s={},l=[],c=this.$.vnode.scopeId,d=(c&&(s[c]="",l.push(c)),{}),p={};if(!n||r!=null&&r.slot)for(var y in this.$slots||{})(function(C){var E;a.$slots.hasOwnProperty(C)&&a.$slots[C]!=null&&((E=t.react.vueNamedSlotsKey.find(function(B){return C.indexOf(B)===0}))||C==="default"?(E=C.replace(new RegExp("^".concat(E)),""),d[E]=a.$slots[C],d[E].__slot=!0):p[C]=a.__veauryGetScopeSlot__(a.$slots[C],l,(E=a.$.vnode)==null||(E=E.children)==null?void 0:E[C]))})(y);(!n||r!=null&&r.slot)&&(u=z({},d),o=u.default,delete u.default),this.__veauryLast__=this.__veauryLast__||{},this.__veauryLast__.slot=this.__veauryLast__.slot||{},this.__veauryLast__.attrs=this.__veauryLast__.attrs||{};var m={slot:function(){a.__veauryLast__.slot=z(z(z({},o?{children:o}:{children:null}),u),p)},attrs:function(){a.__veauryLast__.attrs=a.$attrs}};if(r&&Object.keys(r).forEach(function(C){return m[C]()}),n){let C=function(){a.__veauryReactInstance__&&a.__veauryReactInstance__.setState(function(E){return Object.keys(E).forEach(function(B){t.isSlots&&B==="children"||delete E[B]}),z(z(z(z({},a.__veauryCache__),a.__veauryInjectedProps__),!t.isSlots&&a.__veauryLast__.slot),a.__veauryLast__.attrs)}),a.__veauryCache__=null};!this.microTaskUpdate||this.__veauryCache__||this.$nextTick(function(){C(),a.microTaskUpdate=!1}),this.macroTaskUpdate&&(clearTimeout(this.updateTimer),this.updateTimer=setTimeout(function(){clearTimeout(a.updateTimer),C(),a.macroTaskUpdate=!1})),this.__veauryCache__=z(z({},this.__veauryCache__||{}),z(z(z(z({},i),this.$attrs.class?{className:this.$attrs.class}:{}),z({},s)),{},{hashList:l},this.$attrs.style?{style:this.$attrs.style}:{})),this.macroTaskUpdate||this.microTaskUpdate||C()}else{m.slot(),m.attrs();var c=BF(e,t,this),f=L.createElement(c,_r({},this.$attrs,this.__veauryInjectedProps__,{children:o},u,p,this.$attrs.class?{className:this.$attrs.class}:{},s,{hashList:l},this.$attrs.style?{style:this.$attrs.style}:{},{ref:function(E){return a.__veauryReactInstance__=E}})),w=this.$refs.react,h=t.wrapInstance;if(h)(h=t.wrapInstance).__veauryVueWrapperRef__=this;else for(var g=this.$parent;g;){if(g.parentReactWrapperRef){h=g.parentReactWrapperRef;break}if(g.reactWrapperRef){h=g.reactWrapperRef;break}g=g.$parent}h?(this.parentReactWrapperRef=h,this.reactPortal=function(){return r0.createPortal(f,w)},h.pushReactPortal(this.reactPortal)):17<p0?(xo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED!==void 0&&(xo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint=!0),this.__veauryReactApp__=xo.createRoot(w),this.__veauryReactApp__.render(f)):xo.render(f,w)}}},mounted:function(){var n=this;this.__VEAURY_IGNORE_STRANGE_UPDATE__=!0,Promise.resolve().then(function(){n.__VEAURY_IGNORE_STRANGE_UPDATE__=!1}),clearTimeout(this.updateTimer),this.__veauryMountReactComponent__()},beforeUnmount:function(){var n;clearTimeout(this.updateTimer),gF(this.$refs.react),this.reactPortal?(n=this.parentReactWrapperRef)!=null&&n.removeReactPortal(this.reactPortal):17<p0?this.__veauryReactApp__.unmount():xo.unmountComponentAtNode(this.$refs.react),yF()},updated:function(){this.__VEAURY_IGNORE_STRANGE_UPDATE__||this.__veauryMountReactComponent__(!0,{slot:!0})},inheritAttrs:!1,watch:{$attrs:{handler:function(){this.__veauryMountReactComponent__(!0,{attrs:!0})},deep:!0},__veauryInjectedProps__:{handler:function(){this.__veauryMountReactComponent__(!0,{attrs:!0})},deep:!0}}}}var AF=new Set(["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onChange","onInput","onInvalid","onReset","onSubmit","onError","onLoad","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onLoad","onError","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onToggle"]);function bF(e,t){for(var n=(e=t=(e==null?void 0:e._reactInternals)||(e==null?void 0:e._reactInternalFiber)||t)==null?void 0:e.return;n;){var r=n.stateNode;if(r=(r==null?void 0:r.parentVueWrapperRef)||(r==null?void 0:r.__veauryVueWrapperRef__))return r;n=n.return}}function v0(e,t,n){var r={};return n.forEach(function(o){r[o]=!0}),e[(t==="modelValue"?"model":t)+"Modifiers"]=r}function h0(e,t,n){var r=this,o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:"v-model",u=t;if(!(u instanceof Array))throw Error("[error:veaury] Parameter type error from '".concat(o,"', a single v-model is an array, such as [val, setter, argumentKey, modifiers] or [val, setter, modifiers]"));if(typeof u[1]!="function")throw Error("[error:veaury] Parameter type error from '".concat(o,"', a single v-model is an array, the second element of the array must be a setter function"));var a=u[1],i=(typeof u[2]=="string"?(n=u[2],u[3]instanceof Array&&v0(e,n,u[3])):u[2]instanceof Array&&v0(e,n,u[2]),e["onUpdate:"+n]);e["onUpdate:"+n]=typeof i=="function"?function(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];i.apply(r,l),a.apply(r,l)}:a,e[n]=u[0]}function _f(e){var t=this,n={},r=z({},e);return Object.keys(e).forEach(function(o){var u,a=o.match(/^onUpdate-([^-]+)/);if(a)delete r[o],u=n["onUpdate:".concat(a[1])],n["onUpdate:".concat(a[1])]=typeof u=="function"?function(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];u.apply(t,l),e[o].apply(t,l)}:e[o];else if(a=o.match(/^v-model($|:([^:]+)|-([^:]+))/))a=a[2]||a[3]||"modelValue",h0(n,e[o],a),delete r[o];else if(o==="v-models"){if(Je(e[o])!=="object"||e[o]instanceof Array)throw Error("[error:veaury] The parameter 'v-models' must be an object type, such as {[argumentKey]: singleVModel}");var i=e[o];Object.keys(i).forEach(function(s){h0(n,i[s],s,"v-models")}),delete r[o]}}),z(z({},r),n)}var us=function(){function e(){Ku(this,e),So(this,"pool",new Set)}return qu(e,[{key:"getRandomId",value:function(t){var n=t+(Math.random()+"").substr(2);return this.pool.has(n)?this.getRandomId(t):(this.pool.add(n),n)}}]),e}();function m0(r,t){var n,r=r.node;if(typeof r=="function"&&(r=r()),(n=t)!=null&&n.current||typeof t=="function"||(n=t)!=null&&n.toString().match(/^function/)||(t=null),-1<["string","number"].indexOf(Je(r)))return r;if(r instanceof Array){if(r.length!==1)return r;r=r[0]}return z(z({},r),{},{ref:t})}var FF=Of(m0);function kf(e){return v.h(FF,{node:function(){return e.node}})}kf.originReactComponent=L.forwardRef(m0);var xF=["component","node"],SF=["component","$slots","children","class","style"],OF=["className","classname"],tr="veaury-options",g0=new us;function _F(e,t){var n;return e=typeof e=="string"&&t?(t=t.$)==null||(t=t.appContext)==null||(t=t.app)==null||(n=t.component)==null?void 0:n.call(t,e):e}function y0(e){if(e)return Object.keys(e).forEach(function(t){var n=e[t];n!=null&&(typeof n=="function"?(e[t]=n,e[t].reactFunction=n):(e[t]=function(){return n},e[t].reactSlot=n),n.vueFunction&&(e[t].vueFunction=n.vueFunction))}),e}function kF(e){var t;return(t=e.node)==null?void 0:t.call(e)}var Pf=L.forwardRef(function(o,t){var n,a=o.component,r=o.node,o=Mt(o,xF);if(a==null&&r==null)return null;if(r!=null){if(r.$$typeof||typeof r=="string"||typeof r=="number")return r;typeof r!="function"&&(n=r,r=function(){return n})}var u,a=a||kF,i=f0(o[tr]||{},void 0,!0),s=i.useInjectPropsFromWrapper||a.__veauryInjectPropsFromWrapper__;return i.isSlots||typeof s=="function"&&(u=s(o)),L.createElement(PF,_r({},z(z(z(z({component:a},r?{node:r}:{}),o),u),{},So({},tr,i)),{ref:t}))}),PF=function(){ts(t,L.Component);var e=rs(t);function t(n){var r;return Ku(this,t),(r=e.call(this,n)).state={portals:[]},r.__veauryPortalKeyPool__=[],r.__veauryMaxPortalCount__=0,r.__veauryCurrentVueComponent__=n.component,r.__veauryCreateVueInstance__=r.__veauryCreateVueInstance__.bind(ns(r)),r.__veauryVueComponentContainer__=r.createVueComponentContainer(),r}return qu(t,[{key:"pushReactPortal",value:function(n){var r=this.state.portals,o=this.__veauryPortalKeyPool__.shift()||this.__veauryMaxPortalCount__++;r.push({Portal:n,key:o}),this.setState({portals:r})}},{key:"removeReactPortal",value:function(n){var r,o=this.state.portals,u=o.find(function(a,i){if(a.Portal===n)return r=i,!0});this.__veauryPortalKeyPool__.push(u.key),o.splice(r,1),this.__veauryVueRef__&&this.setState({portals:o})}},{key:"createVueComponentContainer",value:function(){var n=this,r={},o=this.props[tr];return o.isSlots?(Object.keys(this.props).forEach(function(u){AF.has(u)&&typeof n.props[u]=="function"&&(r[u]=n.props[u])}),o.vue.slotWrapAttrs&&(r=z(z({},r),o.vue.slotWrapAttrs))):o.vue.componentWrapAttrs&&(r=z(z({},r),o.vue.componentWrapAttrs)),o.vue.componentWrapHOC(L.createElement("div",_r({},o.vue.componentWrapAttrs,{ref:this.__veauryCreateVueInstance__,key:null})),r)}},{key:"shouldComponentUpdate",value:function(n,r,o){var u,a,i,s,l=this;return n===this.props||(u=n.component,n[tr],a=(a=n["v-slots"])===void 0?null:a,i=n.children,n=Mt(n,["component",tr,"v-slots","children"].map(l0)),this.__veauryCurrentVueComponent__!==u&&this.updateVueComponent(u),!!u.__fromReactSlot||(this.__veauryVueInstance__?(i&&(a=a||{},Je(i)!=="object"||i instanceof Array||i.$$typeof?a.default=i:a=i),(s=this.__veauryVueInstance__.$data.$slots)&&Object.keys(s).forEach(function(c){delete s[c]}),a&&(s||(this.__veauryVueInstance__.$data.$slots={}),Object.assign(this.__veauryVueInstance__.$data.$slots,y0(a))),Object.keys(this.__veauryVueInstance__.$data).forEach(function(c){c!=="$slots"&&delete l.__veauryVueInstance__.$data[c]}),this.__veauryVueInstance__&&Object.assign(this.__veauryVueInstance__.$data,_f(n)),!0):void 0))}},{key:"componentWillUnmount",value:function(){this.vuePortal?this.parentVueWrapperRef.__veauryRemoveVuePortal__(this.vuePortal):(this.__veauryVueInstance__&&this.__veauryVueInstance__.$.appContext.app.unmount(),g0.pool.delete(this.__veauryVueTargetId__))}},{key:"__veauryCreateVueInstance__",value:function(n){var r=this,o=this,s=this.props,u=(s.component,s[tr]),a=s.children,i=s["v-slots"],i=i===void 0?{}:i,s=Mt(s,["component",tr,"children","v-slots"].map(l0));function l(y){this.__veauryVueInstance__||(this.__veauryVueInstance__=y)}a&&(Je(a)!=="object"||a instanceof Array||a.$$typeof?i.default=a:i=a),(i=y0(i))&&(s.$slots=i),l=l.bind(this);var c,d=z({},_f(s)),p={data:function(){return u.isSlots?{children:o.__veauryCurrentVueComponent__.originVNode}:d},created:function(){this.reactWrapperRef=o,l(this)},methods:{reactInVueCall:function(y){return 2<arguments.length&&arguments[2]&&y&&y[0]?y.map(function(m,f){return v.h(kf,{node:m,key:(m==null||(m=m.data)==null?void 0:m.key)||f})}):v.h(kf,{node:y})},getScopedSlots:function(y,m){var f,w=this,h=(this.getScopedSlots.__scopeSlots||(this.getScopedSlots.__scopeSlots={}),z({},m));for(f in h)(function(g){var C,E;!h.hasOwnProperty(g)||(C=h[g])==null||(h[g]=(E=C,function(){for(var B,F,A,S,P=arguments.length,O=new Array(P),H=0;H<P;H++)O[H]=arguments[H];return E.vueFunction?E.vueFunction.apply(w,O):(A=E.reactSlot,S=E.reactFunction,A=A||(S==null?void 0:S.apply(w,O)),S=u.defaultSlotsFormatter,(B=w.getScopedSlots.__scopeSlots[g])!=null&&(B=B.component)!=null&&(B=B.ctx)!=null&&B.__veauryReactInstance__?(F=w.getScopedSlots.__scopeSlots[g],Promise.resolve().then(function(){var k;(k=F)!=null&&(k=k.component)!=null&&(k=k.ctx)!=null&&(k=k.__veauryReactInstance__)!=null&&k.setState({children:E.apply(w,O)})})):(F=S&&A?[S(A,w.reactInVueCall)]:y(Of(function(){return E.apply(w,O)},z(z({},u),{},{isSlots:!0,wrapInstance:o}))),w.getScopedSlots.__scopeSlots[g]=F),E.reactFunction?F.reactFunction=E.reactFunction:E.reactSlot&&(F.reactSlot=E.reactSlot),F)}),h[g].reactFunction=C)})(f);return h}},mounted:function(){n.removeAttribute("id"),o.__veauryVueRef__=this.$refs.use_vue_wrapper,this.$refs.use_vue_wrapper.reactWrapperRef=o},beforeUnmount:function(){o.__veauryVueRef__=null,this.$refs.use_vue_wrapper.reactWrapperRef=null},render:function(){var y=this,C=this.$data,h=(C.component,C.$slots),m=(C.children,C.class),f=C.style,C=Mt(C,SF),w=this.getScopedSlots(v.h,z({},h)),h=C.className,g=C.classname,C=Mt(C,OF),E={};return Object.keys(w).forEach(function(B){var F=w[B];E[B]=typeof F=="function"?F:function(){return F}}),v.h(_F(o.__veauryCurrentVueComponent__,this),z(z(z(z({},C),m||h||g?{class:m||h||g}:{}),f?{style:f}:{}),{},{ref:"use_vue_wrapper"}),z({},u.isSlots&&this.children?{default:typeof this.children=="function"?this.children:function(){return y.children}}:z({},E)))}};n&&(c=g0.getRandomId("__vue_wrapper_container_"),n.id=c,this.__veauryVueTargetId__=c,(a=u.wrapInstance)?(a=u.wrapInstance).reactWrapperRef=o:a=bF(this),a&&document.getElementById(c)?(this.parentVueWrapperRef=a,this.vuePortal=function(y,m){return y(v.Teleport,{to:"#"+c,key:c},[y(Object.assign(p,{router:r._router}))])},a.__veauryPushVuePortal__(this.vuePortal)):(i=v.createApp(p),typeof u.beforeVueAppMount=="function"&&u.beforeVueAppMount(i),this.__veauryVueInstance__=i.mount(n)))}},{key:"updateVueComponent",value:function(n){this.__veauryVueInstance__&&(n.__fromReactSlot?this.__veauryVueInstance__.children=typeof n.originVNode=="function"?n.originVNode:function(){return n.originVNode}:(this.__veauryCurrentVueComponent__=n,this.__veauryVueInstance__.$forceUpdate()))}},{key:"render",value:function(){return L.createElement(this.__veauryVueComponentContainer__,{portals:this.state.portals})}}]),t}();function as(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},n=(e||console.warn("Component must be passed in applyVueInReact!"),e.__esModule&&e.default&&(e=e.default),L.forwardRef(function(r,o){return L.createElement(Pf,_r({},r,{component:e,ref:o},So({},tr,t)))}));return n.originVueComponent=e,n}new us;function TF(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},n=t.globalName,r=t.combinedOption,o=(t.transparentApi,Of(e,r||{}));return o.install=function(u){var a=(1<arguments.length&&arguments[1]!==void 0?arguments[1]:{}).globalName;return n&&u.component(a||n,o),o},o}function D0(e){return e.replace(/-(\w)/g,function(t,n){return n.toUpperCase()})}function is(e){var t;return e?typeof e=="string"?(e=e.trim()).split(/\s*;\s*/).reduce(function(n,r){return r&&(r=r.split(/\s*:\s*/)).length===2&&Object.assign(n,So({},D0(r[0]),r[1])),n},{}):Je(e)==="object"?(t={},Object.keys(e).forEach(function(n){t[D0(n)]=e[n]}),t):{}:{}}function ss(e){return e?e instanceof Array?e:typeof e=="string"?(e=e.trim()).split(/\s+/):Je(e)==="object"?Object.keys(e).filter(function(t){return!!e[t]}):[]:[]}var RF=["ref"];function NF(e,t,n,r,o){var u=e.props||{},u=(u.ref,Mt(u,RF)),a={},i=(Object.keys(e.children||{}).forEach(function(c){var d=e.children[c],p=c0.react.vueNamedSlotsKey.find(function(y){return c.indexOf(y)===0});p||c==="default"?(p=c.replace(new RegExp("^".concat(p)),"").replace(/^default$/,"children"),a[p]=r(d(),n,o)):a[c]=function(){for(var y=arguments.length,m=new Array(y),f=0;f<y;f++)m[f]=arguments[f];return d.__reactArgs=m,r(d.apply(this,m),n,o)}}),{}),s=is(u.style),l=Array.from(new Set(ss(u.class))).join(" ");return 0<Object.keys(s).length&&(i.style=s),l!==""&&(i.className=l),Object.assign(u,z(z({},i),a)),delete u.class,u}function C0(e){return e.type===v.Text}new us;function w0(e,t){var n;return 0<((n=e.dirs)==null?void 0:n.length)?L.createElement(jF,{vnode:e},t):t}var jF=function(){ts(t,L.Component);var e=rs(t);function t(n){var r;return Ku(this,t),(r=e.call(this,n)).state={prevVnode:null,savedDirectives:[],ref:null,prevProps:n},r}return qu(t,[{key:"findDirectiveName",value:function(n){var r=n.dir,o=-1;return[this.state.savedDirectives.find(function(u,a){if(u.dir===r)return o=a,!0}),o]}},{key:"doDirective",value:function(){var n=this,a=this.state,r=a.savedDirectives;if(!(o=a.ref)){for(var o=(this._reactInternals||this._reactInternalFiber).child;o&&o.tag!==5;)o=o.child;if(!o)return;o=o.stateNode}var u=this.props.vnode,a=u.dirs;a&&(a.forEach(function(i){var s,l,c,d,p,y,m;i&&(m=(s=i0(n.findDirectiveName(i),2))[0],s=s[1],l=(p=i.dir).created,c=p.beforeMount,d=p.mounted,y=p.beforeUpdate,p=p.updated,m?(r[s]=z(z(z({},m),i),{},{oldValue:m.oldValue}),m=[o,r[s],u,n.state.prevVnode],y!=null&&y.apply(null,m),p!=null&&p.apply(null,m),r[s].oldValue=i.value):(r.push(i),y=[o,i,u,null],l!=null&&l.apply(null,y),c!=null&&c.apply(null,y),d!=null&&d.apply(null,y),i.oldValue=i.value))}),this.setState({prevVnode:z({},u),savedDirectives:r,ref:o}))}},{key:"componentDidMount",value:function(){this.doDirective()}},{key:"componentDidUpdate",value:function(n){n.vnode!==this.props.vnode&&this.doDirective()}},{key:"componentWillUnmount",value:function(){var n=this,r=this.props.vnode,i=this.state,o=i.savedDirectives,u=i.ref,a=i.prevVnode,i=r.dirs;i&&(i.forEach(function(s){var l,c,d,p;s&&(l=(p=i0(n.findDirectiveName(s),2))[0],p=p[1],l&&(c=(d=s.dir).beforeUnmount,d=d.unmounted,o[p]=z(z({},l),s),p=[u,l,r,a],c!=null&&c.apply(null,p),d!=null&&d.apply(null,p)))}),this.setState({prevVnode:z({},r),savedDirectives:o}))}},{key:"render",value:function(){var n=this.props;return n.vnode,n.children}}]),t}();function IF(e,t){var n;return typeof e=="function"&&(n=e.toString(),e.prototype!==void 0&&e.prototype.constructor===e&&(n.slice(0,5)=="class"||2<=Object.getOwnPropertyNames(e.prototype).length||!/^function\s+\(|^function\s+anonymous\(/.test(n)&&(!(!t||!/^function\s+[A-Z]/.test(n))||!!/\b\(this\b|\bthis[\.\[]\b/.test(n)&&(!(t&&!/classCallCheck\(this/.test(n))||/^function\sdefault_\d+\s*\(/.test(n)))))}function E0(e){var t,n;return typeof((n=e.type)==null?void 0:n.originReactComponent)!="function"||IF((n=e.type)==null?void 0:n.originReactComponent)?((n=(n=e.ref)==null?void 0:n.r)&&typeof n=="string"&&(t=n,n=function(r){var o;r&&(e.ref.i.refs&&((o=z({},e.ref.i.refs))[t]=r,e.ref.i.refs=o),((o=e.ref.i.setupState)==null?void 0:o[t])!==void 0&&(e.ref.i.setupState[t]=r))},n=new Proxy(n,{get:function(r,o){return r[o]},set:function(r,o,u){var a;return(a=e.ref.i.refs)!=null&&a[t]&&((a=z({},e.ref.i.refs))[o]=u,e.ref.i.refs=a),u}})),n):null}function Tf(e,t){return!t||t instanceof Array&&t.length===0||(typeof t=="string"&&(t=[t]),(e=z({},e)).props=z({},e.props),t.forEach(function(n){e.props[n]=""})),e}var MF=["style","class"];function B0(e,t,n,r,o,u,a){var i,s,l;return t==="all"||t instanceof Array||(t=t?[t]:[]),e.type===v.Fragment?o(e.children,n,u):typeof e.type=="string"&&(t==="all"||-1<t.indexOf(e.type))?(t=E0(e),l=(s=e.props||{}).style,i=s.class,s=z(z({},Mt(s,MF)),{},{style:is(l),className:Array.from(new Set(ss(i))).join(" ")},t?{ref:t}:{}),(l=e.children||s.children)&&((l=-1<["string","number"].indexOf(Je(l))?[l]:os(l)).__top__=a),w0(e,Tf(re.createElement(e.type,s,o(l,n,u)),e.scopeId))):n([e],null,r)}function $F(){return 0<arguments.length&&arguments[0]!==void 0?arguments[0]:{}}function A0(e,t,n){return!((e=e instanceof Array&&e.length===1?e[0]:e)instanceof Array)&&e.key==null&&1<t.length&&((e=z({},e)).key="_key_".concat(n)),e}function b0(r){var t=r.reactComponents,n=r.domTags,r=r.division,o=r===void 0||r;return function u(a,i,s){var l;return a&&a.forEach?(l=[],a.forEach(function(c,d){if(c&&c.type!==v.Comment){if((m=c.type)==null||!m.originReactComponent)return c.$$typeof||typeof c=="string"||typeof c=="number"?void l.push(c):C0(c)?void(c.children.trim()!==""&&l.push(c.children.trim())):void(c.type&&(Tf(m=A0(B0(c,n,i,o,u,s,a.__top__),a,d),c.scopeId),l.push(m)));var p,y,m=c.type.originReactComponent;Tf(p=A0(p=(t=t==="all"||t instanceof Array?t:[t])==="all"||-1<t.indexOf(m)?(c.__top__=a.__top__,p=NF(c,"_key_".concat(d),i,u,s),y=E0(c),c.children&&(c.children.__top__=a.__top__),w0(c,re.createElement(m,z(z(z({},$F(p,c,m)),c.__extraData||{}),y?{ref:y}:{})))):C0(c)?c.text:B0(c,n,i,o,u,s),a,d),c.scopeId),l.push(p)}}),l.length===1?l[0]:l):a}}var Rf=b0({reactComponents:"all",domTags:"all"});function LF(e,t){return TF(e,{combinedOption:z({pureTransformer:!0,defaultSlotsFormatter:Rf,defaultPropsFormatter:function(n,r,o){var u={};return Object.keys(n).forEach(function(a){var i=n[a];i&&(i.vueFunction?(u[a]=function(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];return Rf(i.vueFunction.apply(this,l),r,o)},Object.defineProperty(u[a],"length",{get:function(){return i.vueFunction.length}})):i.vueSlot&&(u[a]=Rf(i.vueSlot,r,o)))}),Object.assign(n,u)}},t)})}b0({reactComponents:"all",domTags:"all"});var zF=["ref","children","v-slots"];function VF(s,t,n,r,o){var s=s.props||{},l=(s.ref,s.children),a=s["v-slots"],u=a===void 0?{}:a,a=Mt(s,zF),i=(l&&(Je(l)!=="object"||l instanceof Array||l.$$typeof?u.default=l:u=l),null),s=(Object.keys(u||{}).forEach(function(d){var p=u[d];(i=i||{})[d]=function(){if(typeof p=="function"){for(var y=arguments.length,m=new Array(y),f=0;f<y;f++)m[f]=arguments[f];p=p.apply(this,m)}return r(p,n,o)}}),{}),l=is(a.style),c=Array.from(new Set(ss(a.className))).join(" ");return 0<Object.keys(l).length&&(s.style=l),c!==""&&(s.class=c),Object.assign(a,z({},s)),delete a.className,{props:a=_f(a),slots:i}}function F0(e){var t=e.ref;if(t)return Je(t)==="object"?function(n){e.ref.current=n}:typeof t=="function"?t:void 0}var WF=["style","class","children"];function x0(e,t,n,r,o,u){var a,i,s,l;return t==="all"||t instanceof Array||(t=t?[t]:[]),e.type===L.Fragment?o((a=e.props)==null?void 0:a.children,n):typeof e.type=="string"&&(t==="all"||-1<t.indexOf(e.type))?(a=F0(e),l=(t=e.props||{}).style,s=t.class,i=t.children,t=Mt(t,WF),s=Array.from(new Set(ss(s))).join(" "),l=is(l),t=z(z(z(z({},t),Object.keys(l).length===0?{}:{style:l}),s?{className:s}:{}),a?{ref:a}:{}),Object.keys(t).length===0&&(t=null),(l=i)&&((l=-1<["string","number"].indexOf(Je(l))?[l]:l instanceof Array?os(l):z({},l)).__top__=u),v.h(e.type,t,o(l,n))):n([e],null,r)}function S0(r){var t=r.vueComponents,n=r.domTags,r=r.division,o=r===void 0||r;return function u(a,i){if(a==null)return a;a instanceof Array||(a=[a]);var s=[];return a.forEach(function(l,c){if(((d=l.type)==null||!d.originVueComponent)&&l.type!==Pf)return l.__v_isVNode||typeof l=="string"||typeof l=="number"?void s.push(l):void(l.type&&(d=x0(l,n,i,o,u,a.__top__),s.push(d)));var d=l.type.originVueComponent;if(l.type===Pf){if(!l.props.component)return void s.push(l.props.node);d=l.props.component,l=z({},l);var p=z({},l.props);delete p.component,l.props=p}d=(t=t==="all"||t instanceof Array?t:[t])==="all"||-1<t.indexOf(d)?((l=z({},l)).__top__=a.__top__,c=(p=VF(l,"_key_".concat(c),i,u)).props,p=p.slots,F0(l),l.children&&(l.children.__top__=a.__top__),v.h(d,z({},c),p)):x0(l,n,i,o,u),s.push(d)}),(s=s.flat(1/0)).length===1?s[0]:s}}S0({vueComponents:"all",domTags:"all"}),S0({reactComponents:"all",domTags:"all"}),new us;var O0={exports:{}},ls={};/**
44
44
  * @license React
@@ -58,4 +58,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
58
58
  `);gt.forEach((jr,Es)=>{jr&&D.insertText(t,jr),Es!==gt.length-1&&D.insertSoftBreak(t)})},{at:V});if(b.equals(V.anchor.path,V.focus.path)){var[Le,ke]=_.edges(V),Ne={start:Le.offset,end:ke.offset,text:me};if(me&&l&&$==="insertCompositionText"){var mt=l.start+l.text.search(/\S|$/),Nr=Ne.start+Ne.text.search(/\S|$/);Nr===mt+1&&Ne.end===l.start+l.text.length?(Ne.start-=1,l=null,O()):l=!1}else $==="insertText"?l===null?l=Ne:l&&_.isCollapsed(V)&&l.end+l.text.length===Le.offset?l=ws(ws({},l),{},{text:l.text+me}):l=!1:l=!1;if(Y){w(Le.path,Ne);return}}return h(()=>D.insertText(t,me),{at:V})}}}},C=()=>!!ur.get(t),E=()=>{var k;return!!((k=ht.get(t))!==null&&k!==void 0&&k.length)},B=()=>C()||E(),F=()=>o,A=k=>{ar.set(t,k),a&&(clearTimeout(a),a=null);var{selection:W}=t;if(k){var $=!W||!b.equals(W.anchor.path,k.anchor.path),V=!W||!b.equals(W.anchor.path.slice(0,-1),k.anchor.path.slice(0,-1));($&&l||V)&&(l=!1),($||E())&&(a=setTimeout(p,uO))}},S=()=>{(C()||!E())&&p()},P=k=>{E()||(f(!0),setTimeout(f))},O=()=>{C()||(i=setTimeout(p))},H=k=>{if(!(E()||C())&&k.some($=>td(t,$,k))){var W;(W=my.get(t))===null||W===void 0||W()}};return{flush:p,scheduleFlush:O,hasPendingDiffs:E,hasPendingAction:C,hasPendingChanges:B,isFlushing:F,handleUserSelect:A,handleCompositionEnd:y,handleCompositionStart:m,handleDOMBeforeInput:g,handleKeyDown:P,handleDomMutations:H,handleInput:S}}function lO(){var e=L.useRef(!1);return L.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),e.current}var na=gs?L.useLayoutEffect:L.useEffect;function cO(e,t,n){var[r]=L.useState(()=>new MutationObserver(t));na(()=>{r.takeRecords()}),L.useEffect(()=>{if(!e.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return r.observe(e.current,n),()=>r.disconnect()},[r,e,n])}var fO=["node"];function Fy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function dO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fy(Object(n),!0).forEach(function(r){$t(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fy(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var pO={subtree:!0,childList:!0,characterData:!0},vO=at?e=>{var{node:t}=e,n=_o(e,fO);if(!at)return null;var r=nr(),o=lO(),[u]=L.useState(()=>sO(dO({editor:r},n)));return cO(t,u.handleDomMutations,pO),Zf.set(r,u.scheduleFlush),o&&u.flush(),u}:()=>null,hO=["anchor","focus"],mO=["anchor","focus"],gO=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>t.hasOwnProperty(n)&&e[n]===t[n]),xy=(e,t)=>{var n=_o(e,hO),r=_o(t,mO);return e[Po]===t[Po]&&gO(n,r)},yO=(e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(!_.equals(r,o)||!xy(r,o))return!1}return!0},DO=(e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(r.anchor.offset!==o.anchor.offset||r.focus.offset!==o.focus.offset||!xy(r,o))return!1}return!0};function Sy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function CO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sy(Object(n),!0).forEach(function(r){$t(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sy(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var wO=e=>{var{isLast:t,leaf:n,parent:r,text:o}=e,u=nr(),a=T.findPath(u,o),i=b.parent(a),s=!!n[gy];return u.isVoid(r)?re.createElement(od,{length:q.string(r).length}):n.text===""&&r.children[r.children.length-1]===o&&!u.isInline(r)&&D.string(u,i)===""?re.createElement(od,{isLineBreak:!0,isMarkPlaceholder:s}):n.text===""?re.createElement(od,{isMarkPlaceholder:s}):t&&n.text.slice(-1)===`
59
59
  `?re.createElement(Oy,{isTrailing:!0,text:n.text}):re.createElement(Oy,{text:n.text})},Oy=e=>{var{text:t,isTrailing:n=!1}=e,r=L.useRef(null),o=()=>"".concat(t??"").concat(n?`
60
60
  `:""),[u]=L.useState(o);return na(()=>{var a=o();r.current&&r.current.textContent!==a&&(r.current.textContent=a)}),re.createElement(EO,{ref:r},u)},EO=L.memo(L.forwardRef((e,t)=>re.createElement("span",{"data-slate-string":!0,ref:t},e.children))),od=e=>{var{length:t=0,isLineBreak:n=!1,isMarkPlaceholder:r=!1}=e,o={"data-slate-zero-width":n?"n":"z","data-slate-length":t};return r&&(o["data-slate-mark-placeholder"]=!0),re.createElement("span",CO({},o),!at||!n?"\uFEFF":null,n?re.createElement("br",null):null)};function _y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ky(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_y(Object(n),!0).forEach(function(r){$t(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_y(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var BO=at?300:0;function AO(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function Py(e){e.current&&(clearTimeout(e.current),e.current=null)}var bO=e=>{var{leaf:t,isLast:n,text:r,parent:o,renderPlaceholder:u,renderLeaf:a=g=>re.createElement(xO,ky({},g))}=e,i=nr(),s=L.useRef(null),l=L.useRef(null),[c,d]=L.useState(!1),p=L.useRef(null),y=L.useCallback(g=>{if(AO(s,g==null),g==null){var C;Yf.delete(i),(C=t.onPlaceholderResize)===null||C===void 0||C.call(t,null)}else{if(Yf.set(i,g),!s.current){var E=window.ResizeObserver||SS;s.current=new E(()=>{var B;(B=t.onPlaceholderResize)===null||B===void 0||B.call(t,g)})}s.current.observe(g),l.current=g}},[l,t,i]),m=re.createElement(wO,{isLast:n,leaf:t,parent:o,text:r}),f=!!t[Po];if(L.useEffect(()=>(f?p.current||(p.current=setTimeout(()=>{d(!0),p.current=null},BO)):(Py(p),d(!1)),()=>Py(p)),[f,d]),f&&c){var w={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:Ju?"inherit":void 0},contentEditable:!1,ref:y}};m=re.createElement(re.Fragment,null,u(w),m)}var h={"data-slate-leaf":!0};return a({attributes:h,children:m,leaf:t,text:r})},FO=re.memo(bO,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&J.equals(t.leaf,e.leaf)&&t.leaf[Po]===e.leaf[Po]),xO=e=>{var{attributes:t,children:n}=e;return re.createElement("span",ky({},t),n)},SO=e=>{for(var{decorations:t,isLast:n,parent:r,renderPlaceholder:o,renderLeaf:u,text:a}=e,i=nr(),s=L.useRef(null),l=J.decorations(a,t),c=T.findKey(i,a),d=[],p=0;p<l.length;p++){var y=l[p];d.push(re.createElement(FO,{isLast:n&&p===l.length-1,key:"".concat(c.id,"-").concat(p),renderPlaceholder:o,leaf:y,text:a,parent:r,renderLeaf:u}))}var m=L.useCallback(f=>{var w=Cs.get(i);f?(w==null||w.set(c,f),Tr.set(a,f),ea.set(f,a)):(w==null||w.delete(c),Tr.delete(a),s.current&&ea.delete(s.current)),s.current=f},[s,i,c,a]);return re.createElement("span",{"data-slate-node":"text",ref:m},d)},Ty=re.memo(SO,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&DO(t.decorations,e.decorations));function Ry(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ud(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ry(Object(n),!0).forEach(function(r){$t(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ry(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var OO=e=>{var{decorations:t,element:n,renderElement:r=g=>re.createElement(kO,ud({},g)),renderPlaceholder:o,renderLeaf:u,selection:a}=e,i=nr(),s=RO(),l=i.isInline(n),c=T.findKey(i,n),d=L.useCallback(g=>{var C=Cs.get(i);g?(C==null||C.set(c,g),Tr.set(n,g),ea.set(g,n)):(C==null||C.delete(c),Tr.delete(n))},[i,c,n]),p=jy({decorations:t,node:n,renderElement:r,renderPlaceholder:o,renderLeaf:u,selection:a}),y={"data-slate-node":"element",ref:d};if(l&&(y["data-slate-inline"]=!0),!l&&D.hasInlines(i,n)){var m=q.string(n),f=T0(m);f==="rtl"&&(y.dir=f)}if(D.isVoid(i,n)){y["data-slate-void"]=!0,!s&&l&&(y.contentEditable=!1);var w=l?"span":"div",[[h]]=q.texts(n);p=re.createElement(w,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},re.createElement(Ty,{renderPlaceholder:o,decorations:[],isLast:!1,parent:n,text:h})),qf.set(h,0),Qf.set(h,n)}return r({attributes:y,children:p,element:n})},_O=re.memo(OO,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&yO(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&_.equals(e.selection,t.selection))),kO=e=>{var{attributes:t,children:n,element:r}=e,o=nr(),u=o.isInline(r)?"span":"div";return re.createElement(u,ud(ud({},t),{},{style:{position:"relative"}}),n)},Ny=L.createContext(()=>[]),PO=()=>L.useContext(Ny),TO=L.createContext(!1),jy=e=>{for(var{decorations:t,node:n,renderElement:r,renderPlaceholder:o,renderLeaf:u,selection:a}=e,i=PO(),s=nr(),l=T.findPath(s,n),c=[],d=X.isElement(n)&&!s.isInline(n)&&D.hasInlines(s,n),p=0;p<n.children.length;p++){var y=l.concat(p),m=n.children[p],f=T.findKey(s,m),w=D.range(s,y),h=a&&_.intersection(w,a),g=i([m,y]);for(var C of t){var E=_.intersection(C,w);E&&g.push(E)}X.isElement(m)?c.push(re.createElement(TO.Provider,{key:"provider-".concat(f.id),value:!!h},re.createElement(_O,{decorations:g,element:m,key:f.id,renderElement:r,renderPlaceholder:o,renderLeaf:u,selection:h}))):c.push(re.createElement(Ty,{decorations:g,key:f.id,isLast:d&&p===n.children.length-1,parent:n,renderPlaceholder:o,renderLeaf:u,text:m})),qf.set(m,p),Qf.set(m,n)}return c},Iy=L.createContext(!1),RO=()=>L.useContext(Iy),My=L.createContext(null),NO=()=>{var e=L.useContext(My);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function jO(){var e=nr(),t=L.useRef(!1),n=L.useRef(0),r=L.useCallback(()=>{if(!t.current){t.current=!0;var o=T.getWindow(e);o.cancelAnimationFrame(n.current),n.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return L.useEffect(()=>()=>cancelAnimationFrame(n.current),[]),{receivedUserInput:t,onUserInput:r}}var IO=3,MO={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},$O={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},LO={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Be=e=>{var t=MO[e],n=$O[e],r=LO[e],o=t&&Hf(t),u=n&&Hf(n),a=r&&Hf(r);return i=>!!(o&&o(i)||py&&u&&u(i)||!py&&a&&a(i))},Se={isBold:Be("bold"),isCompose:Be("compose"),isMoveBackward:Be("moveBackward"),isMoveForward:Be("moveForward"),isDeleteBackward:Be("deleteBackward"),isDeleteForward:Be("deleteForward"),isDeleteLineBackward:Be("deleteLineBackward"),isDeleteLineForward:Be("deleteLineForward"),isDeleteWordBackward:Be("deleteWordBackward"),isDeleteWordForward:Be("deleteWordForward"),isExtendBackward:Be("extendBackward"),isExtendForward:Be("extendForward"),isExtendLineBackward:Be("extendLineBackward"),isExtendLineForward:Be("extendLineForward"),isItalic:Be("italic"),isMoveLineBackward:Be("moveLineBackward"),isMoveLineForward:Be("moveLineForward"),isMoveWordBackward:Be("moveWordBackward"),isMoveWordForward:Be("moveWordForward"),isRedo:Be("redo"),isSoftBreak:Be("insertSoftBreak"),isSplitBlock:Be("splitBlock"),isTransposeCharacter:Be("transposeCharacter"),isUndo:Be("undo")},zO=(e,t)=>{var n=[],r=()=>{n=[]},o=a=>{if(t.current){var i=a.filter(s=>td(e,s,a));n.push(...i)}};function u(){n.length>0&&(n.reverse().forEach(a=>{a.type!=="characterData"&&(a.removedNodes.forEach(i=>{a.target.insertBefore(i,a.nextSibling)}),a.addedNodes.forEach(i=>{a.target.removeChild(i)}))}),r())}return{registerMutations:o,restoreDOM:u,clear:r}},VO={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class $y extends L.Component{constructor(){super(...arguments),$t(this,"context",null),$t(this,"manager",null),$t(this,"mutationObserver",null)}observe(){var t,{node:n}=this.props;if(!n.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");(t=this.mutationObserver)===null||t===void 0||t.observe(n.current,VO)}componentDidMount(){var{receivedUserInput:t}=this.props,n=this.context;this.manager=zO(n,t),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var t,n,r,o=(t=this.mutationObserver)===null||t===void 0?void 0:t.takeRecords();if(o!=null&&o.length){var u;(u=this.manager)===null||u===void 0||u.registerMutations(o)}return(n=this.mutationObserver)===null||n===void 0||n.disconnect(),(r=this.manager)===null||r===void 0||r.restoreDOM(),null}componentDidUpdate(){var t;(t=this.manager)===null||t===void 0||t.clear(),this.observe()}componentWillUnmount(){var t;(t=this.mutationObserver)===null||t===void 0||t.disconnect()}render(){return this.props.children}}$t($y,"contextType",Kf);var WO=at?$y:e=>{var{children:t}=e;return re.createElement(re.Fragment,null,t)},UO=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],HO=["text"];function Ly(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ln(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ly(Object(n),!0).forEach(function(r){$t(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ly(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var KO=e=>re.createElement(re.Fragment,null,jy(e)),qO=e=>{var t=L.useCallback(x=>re.createElement(QO,ln({},x)),[]),{autoFocus:n,decorate:r=YO,onDOMBeforeInput:o,placeholder:u,readOnly:a=!1,renderElement:i,renderLeaf:s,renderPlaceholder:l=t,scrollSelectionIntoView:c=GO,style:d={},as:p="div",disableDefaultStyles:y=!1}=e,m=_o(e,UO),f=NO(),[w,h]=L.useState(!1),g=L.useRef(null),C=L.useRef([]),[E,B]=L.useState(),{onUserInput:F,receivedUserInput:A}=jO(),[,S]=L.useReducer(x=>x+1,0);my.set(f,S),Gf.set(f,a);var P=L.useMemo(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);L.useEffect(()=>{g.current&&n&&g.current.focus()},[n]);var O=L.useRef(),H=L.useMemo(()=>oS(()=>{var x=O.current;if((at||!T.isComposing(f))&&(!P.isUpdatingSelection||x!=null&&x.isFlushing())&&!P.isDraggingInternally){var j=T.findDocumentOrShadowRoot(f),{activeElement:N}=j,Q=T.toDOMNode(f,f),oe=j.getSelection();if(N===Q?(P.latestElement=N,or.set(f,!0)):or.delete(f),!oe)return I.deselect(f);var{anchorNode:ee,focusNode:ie}=oe,ce=T.hasEditableTarget(f,ee)||T.isTargetInsideNonReadonlyVoid(f,ee),de=T.hasEditableTarget(f,ie)||T.isTargetInsideNonReadonlyVoid(f,ie);if(ce&&de){var he=T.toSlateRange(f,oe,{exactMatch:!1,suppressThrow:!0});he&&(!T.isComposing(f)&&!(x!=null&&x.hasPendingChanges())&&!(x!=null&&x.isFlushing())?I.select(f,he):x==null||x.handleUserSelect(he))}a&&(!ce||!de)&&I.deselect(f)}},100),[f,a,P]),k=L.useMemo(()=>Zx(H,0),[H]);O.current=vO({node:g,onDOMSelectionChange:H,scheduleOnDOMSelectionChange:k}),na(()=>{var x,j,N;g.current&&(N=Jf(g.current))?(hy.set(f,N),ys.set(f,g.current),Tr.set(f,g.current),ea.set(g.current,f)):Tr.delete(f);var{selection:Q}=f,oe=T.findDocumentOrShadowRoot(f),ee=oe.getSelection();if(!(!ee||!T.isFocused(f)||(x=O.current)!==null&&x!==void 0&&x.hasPendingAction())){var ie=le=>{var Ie=ee.type!=="None";if(!(!Q&&!Ie)){var Re=ee.focusNode,Ae;if(ko&&ee.rangeCount>1){var xt=ee.getRangeAt(0),zt=ee.getRangeAt(ee.rangeCount-1);xt.startContainer===Re?Ae=zt.endContainer:Ae=xt.startContainer}else Ae=ee.anchorNode;var _e=ys.get(f),et=!1;if(_e.contains(Ae)&&_e.contains(Re)&&(et=!0),Ie&&et&&Q&&!le){var me=T.toSlateRange(f,ee,{exactMatch:!0,suppressThrow:!0});if(me&&_.equals(me,Q)){var Le;if(!P.hasMarkPlaceholder||(Le=Ae)!==null&&Le!==void 0&&(Le=Le.parentElement)!==null&&Le!==void 0&&Le.hasAttribute("data-slate-mark-placeholder"))return}}if(Q&&!T.hasRange(f,Q)){f.selection=T.toSlateRange(f,ee,{exactMatch:!1,suppressThrow:!0});return}P.isUpdatingSelection=!0;var ke=Q&&T.toDOMRange(f,Q);return ke?(T.isComposing(f)&&!at?ee.collapseToEnd():_.isBackward(Q)?ee.setBaseAndExtent(ke.endContainer,ke.endOffset,ke.startContainer,ke.startOffset):ee.setBaseAndExtent(ke.startContainer,ke.startOffset,ke.endContainer,ke.endOffset),c(f,ke)):ee.removeAllRanges(),ke}};ee.rangeCount<=1&&ie();var ce=((j=O.current)===null||j===void 0?void 0:j.isFlushing())==="action";if(!at||!ce){setTimeout(()=>{P.isUpdatingSelection=!1});return}var de=null,he=requestAnimationFrame(()=>{if(ce){var le=Ie=>{try{var Re=T.toDOMNode(f,f);Re.focus(),ie(Ie)}catch{}};le(),de=setTimeout(()=>{le(!0),P.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(he),de&&clearTimeout(de)}}});var W=L.useCallback(x=>{if(F(),!a&&T.hasEditableTarget(f,x.target)&&!XO(x,o)){var j;if(O.current)return O.current.handleDOMBeforeInput(x);k.flush(),H.flush();var{selection:N}=f,{inputType:Q}=x,oe=x.dataTransfer||x.data||void 0,ee=Q==="insertCompositionText"||Q==="deleteCompositionText";if(ee&&T.isComposing(f))return;var ie=!1;if(Q==="insertText"&&N&&_.isCollapsed(N)&&x.data&&x.data.length===1&&/[a-z ]/i.test(x.data)&&N.anchor.offset!==0){var ce,de;ie=!0,f.marks&&(ie=!1);var{anchor:he}=N,[le,Ie]=T.toDOMPoint(f,he),Re=(ce=le.parentElement)===null||ce===void 0?void 0:ce.closest("a"),Ae=T.getWindow(f);if(ie&&Re&&T.hasDOMNode(f,Re)){var xt,zt=Ae==null?void 0:Ae.document.createTreeWalker(Re,NodeFilter.SHOW_TEXT).lastChild();zt===le&&((xt=zt.textContent)===null||xt===void 0?void 0:xt.length)===Ie&&(ie=!1)}if(ie&&le.parentElement&&(Ae==null||(de=Ae.getComputedStyle(le.parentElement))===null||de===void 0?void 0:de.whiteSpace)==="pre"){var _e=D.above(f,{at:he.path,match:mt=>X.isElement(mt)&&D.isBlock(f,mt)});_e&&q.string(_e[0]).includes(" ")&&(ie=!1)}}if(!Q.startsWith("delete")||Q.startsWith("deleteBy")){var[et]=x.getTargetRanges();if(et){var me=T.toSlateRange(f,et,{exactMatch:!1,suppressThrow:!1});if(!N||!_.equals(N,me)){ie=!1;var Le=!ee&&f.selection&&D.rangeRef(f,f.selection);I.select(f,me),Le&&ta.set(f,Le)}}}if(ee)return;if(ie||x.preventDefault(),N&&_.isExpanded(N)&&Q.startsWith("delete")){var ke=Q.endsWith("Backward")?"backward":"forward";D.deleteFragment(f,{direction:ke});return}switch(Q){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{D.deleteFragment(f);break}case"deleteContent":case"deleteContentForward":{D.deleteForward(f);break}case"deleteContentBackward":{D.deleteBackward(f);break}case"deleteEntireSoftLine":{D.deleteBackward(f,{unit:"line"}),D.deleteForward(f,{unit:"line"});break}case"deleteHardLineBackward":{D.deleteBackward(f,{unit:"block"});break}case"deleteSoftLineBackward":{D.deleteBackward(f,{unit:"line"});break}case"deleteHardLineForward":{D.deleteForward(f,{unit:"block"});break}case"deleteSoftLineForward":{D.deleteForward(f,{unit:"line"});break}case"deleteWordBackward":{D.deleteBackward(f,{unit:"word"});break}case"deleteWordForward":{D.deleteForward(f,{unit:"word"});break}case"insertLineBreak":D.insertSoftBreak(f);break;case"insertParagraph":{D.insertBreak(f);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{Q==="insertFromComposition"&&T.isComposing(f)&&(h(!1),Rr.set(f,!1)),(oe==null?void 0:oe.constructor.name)==="DataTransfer"?T.insertData(f,oe):typeof oe=="string"&&(ie?C.current.push(()=>D.insertText(f,oe)):D.insertText(f,oe));break}}var Ne=(j=ta.get(f))===null||j===void 0?void 0:j.unref();ta.delete(f),Ne&&(!f.selection||!_.equals(f.selection,Ne))&&I.select(f,Ne)}},[f,H,F,o,a,k]),$=L.useCallback(x=>{x==null?(H.cancel(),k.cancel(),ys.delete(f),Tr.delete(f),g.current&&rr&&g.current.removeEventListener("beforeinput",W)):rr&&x.addEventListener("beforeinput",W),g.current=x},[H,k,f,W]);na(()=>{var x=T.getWindow(f);return x.document.addEventListener("selectionchange",k),()=>{x.document.removeEventListener("selectionchange",k)}},[k]);var V=r([f,[]]),G=u&&f.children.length===1&&Array.from(q.texts(f)).length===1&&q.string(f)===""&&!w,R=L.useCallback(x=>{if(x&&G){var j;B((j=x.getBoundingClientRect())===null||j===void 0?void 0:j.height)}else B(void 0)},[G]);if(G){var M=D.start(f,[]);V.push({[Po]:!0,placeholder:u,onPlaceholderResize:R,anchor:M,focus:M})}var{marks:U}=f;if(P.hasMarkPlaceholder=!1,f.selection&&_.isCollapsed(f.selection)&&U){var{anchor:Y}=f.selection,ne=q.leaf(f,Y.path),te=_o(ne,HO);if(!J.equals(ne,U,{loose:!0})){P.hasMarkPlaceholder=!0;var ve=Object.fromEntries(Object.keys(te).map(x=>[x,null]));V.push(ln(ln(ln({[gy]:!0},ve),U),{},{anchor:Y,focus:Y}))}}return L.useEffect(()=>{setTimeout(()=>{var{selection:x}=f;if(x){var{anchor:j}=x,N=q.leaf(f,j.path);if(U&&!J.equals(N,U,{loose:!0})){Xt.set(f,U);return}}Xt.delete(f)})}),re.createElement(Iy.Provider,{value:a},re.createElement(Ny.Provider,{value:r},re.createElement(WO,{node:g,receivedUserInput:A},re.createElement(p,ln(ln({role:a?void 0:"textbox","aria-multiline":a?void 0:!0},m),{},{spellCheck:rr||!gs?m.spellCheck:!1,autoCorrect:rr||!gs?m.autoCorrect:"false",autoCapitalize:rr||!gs?m.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!a,zindex:-1,suppressContentEditableWarning:!0,ref:$,style:ln(ln({},y?{}:ln({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},E?{minHeight:E}:{})),d),onBeforeInput:L.useCallback(x=>{if(!rr&&!a&&!it(x,m.onBeforeInput)&&T.hasSelectableTarget(f,x.target)&&(x.preventDefault(),!T.isComposing(f))){var j=x.data;D.insertText(f,j)}},[m.onBeforeInput,f,a]),onInput:L.useCallback(x=>{if(!it(x,m.onInput)){if(O.current){O.current.handleInput();return}for(var j of C.current)j();C.current=[]}},[m.onInput]),onBlur:L.useCallback(x=>{if(!(a||P.isUpdatingSelection||!T.hasSelectableTarget(f,x.target)||it(x,m.onBlur))){var j=T.findDocumentOrShadowRoot(f);if(P.latestElement!==j.activeElement){var{relatedTarget:N}=x,Q=T.toDOMNode(f,f);if(N!==Q&&!(Lt(N)&&N.hasAttribute("data-slate-spacer"))){if(N!=null&&ir(N)&&T.hasDOMNode(f,N)){var oe=T.toSlateNode(f,N);if(X.isElement(oe)&&!f.isVoid(oe))return}if(Ju){var ee=j.getSelection();ee==null||ee.removeAllRanges()}or.delete(f)}}}},[a,P.isUpdatingSelection,P.latestElement,f,m.onBlur]),onClick:L.useCallback(x=>{if(T.hasTarget(f,x.target)&&!it(x,m.onClick)&&ir(x.target)){var j=T.toSlateNode(f,x.target),N=T.findPath(f,j);if(!D.hasPath(f,N)||q.get(f,N)!==j)return;if(x.detail===IO&&N.length>=1){var Q=N;if(!(X.isElement(j)&&D.isBlock(f,j))){var oe,ee=D.above(f,{match:Re=>X.isElement(Re)&&D.isBlock(f,Re),at:N});Q=(oe=ee==null?void 0:ee[1])!==null&&oe!==void 0?oe:N.slice(0,1)}var ie=D.range(f,Q);I.select(f,ie);return}if(a)return;var ce=D.start(f,N),de=D.end(f,N),he=D.void(f,{at:ce}),le=D.void(f,{at:de});if(he&&le&&b.equals(he[1],le[1])){var Ie=D.range(f,ce);I.select(f,Ie)}}},[f,m.onClick,a]),onCompositionEnd:L.useCallback(x=>{if(T.hasSelectableTarget(f,x.target)){var j;if(T.isComposing(f)&&Promise.resolve().then(()=>{h(!1),Rr.set(f,!1)}),(j=O.current)===null||j===void 0||j.handleCompositionEnd(x),it(x,m.onCompositionEnd)||at)return;if(!Ju&&!$S&&!NS&&!zS&&!LS&&x.data){var N=Xt.get(f);Xt.delete(f),N!==void 0&&(Sn.set(f,f.marks),f.marks=N),D.insertText(f,x.data);var Q=Sn.get(f);Sn.delete(f),Q!==void 0&&(f.marks=Q)}}},[m.onCompositionEnd,f]),onCompositionUpdate:L.useCallback(x=>{T.hasSelectableTarget(f,x.target)&&!it(x,m.onCompositionUpdate)&&(T.isComposing(f)||(h(!0),Rr.set(f,!0)))},[m.onCompositionUpdate,f]),onCompositionStart:L.useCallback(x=>{if(T.hasSelectableTarget(f,x.target)){var j;if((j=O.current)===null||j===void 0||j.handleCompositionStart(x),it(x,m.onCompositionStart)||at)return;h(!0);var{selection:N}=f;if(N&&_.isExpanded(N)){D.deleteFragment(f);return}}},[m.onCompositionStart,f]),onCopy:L.useCallback(x=>{T.hasSelectableTarget(f,x.target)&&!it(x,m.onCopy)&&!zy(x)&&(x.preventDefault(),T.setFragmentData(f,x.clipboardData,"copy"))},[m.onCopy,f]),onCut:L.useCallback(x=>{if(!a&&T.hasSelectableTarget(f,x.target)&&!it(x,m.onCut)&&!zy(x)){x.preventDefault(),T.setFragmentData(f,x.clipboardData,"cut");var{selection:j}=f;if(j)if(_.isExpanded(j))D.deleteFragment(f);else{var N=q.parent(f,j.anchor.path);D.isVoid(f,N)&&I.delete(f)}}},[a,f,m.onCut]),onDragOver:L.useCallback(x=>{if(T.hasTarget(f,x.target)&&!it(x,m.onDragOver)){var j=T.toSlateNode(f,x.target);X.isElement(j)&&D.isVoid(f,j)&&x.preventDefault()}},[m.onDragOver,f]),onDragStart:L.useCallback(x=>{if(!a&&T.hasTarget(f,x.target)&&!it(x,m.onDragStart)){var j=T.toSlateNode(f,x.target),N=T.findPath(f,j),Q=X.isElement(j)&&D.isVoid(f,j)||D.void(f,{at:N,voids:!0});if(Q){var oe=D.range(f,N);I.select(f,oe)}P.isDraggingInternally=!0,T.setFragmentData(f,x.dataTransfer,"drag")}},[a,f,m.onDragStart,P]),onDrop:L.useCallback(x=>{if(!a&&T.hasTarget(f,x.target)&&!it(x,m.onDrop)){x.preventDefault();var j=f.selection,N=T.findEventRange(f,x),Q=x.dataTransfer;I.select(f,N),P.isDraggingInternally&&j&&!_.equals(j,N)&&!D.void(f,{at:N,voids:!0})&&I.delete(f,{at:j}),T.insertData(f,Q),T.isFocused(f)||T.focus(f)}P.isDraggingInternally=!1},[a,f,m.onDrop,P]),onDragEnd:L.useCallback(x=>{!a&&P.isDraggingInternally&&m.onDragEnd&&T.hasTarget(f,x.target)&&m.onDragEnd(x),P.isDraggingInternally=!1},[a,P,m,f]),onFocus:L.useCallback(x=>{if(!a&&!P.isUpdatingSelection&&T.hasEditableTarget(f,x.target)&&!it(x,m.onFocus)){var j=T.toDOMNode(f,f),N=T.findDocumentOrShadowRoot(f);if(P.latestElement=N.activeElement,ko&&x.target!==j){j.focus();return}or.set(f,!0)}},[a,P,f,m.onFocus]),onKeyDown:L.useCallback(x=>{if(!a&&T.hasEditableTarget(f,x.target)){var j;(j=O.current)===null||j===void 0||j.handleKeyDown(x);var{nativeEvent:N}=x;if(T.isComposing(f)&&N.isComposing===!1&&(Rr.set(f,!1),h(!1)),it(x,m.onKeyDown)||T.isComposing(f))return;var{selection:Q}=f,oe=f.children[Q!==null?Q.focus.path[0]:0],ee=T0(q.string(oe))==="rtl";if(Se.isRedo(N)){x.preventDefault();var ie=f;typeof ie.redo=="function"&&ie.redo();return}if(Se.isUndo(N)){x.preventDefault();var ce=f;typeof ce.undo=="function"&&ce.undo();return}if(Se.isMoveLineBackward(N)){x.preventDefault(),I.move(f,{unit:"line",reverse:!0});return}if(Se.isMoveLineForward(N)){x.preventDefault(),I.move(f,{unit:"line"});return}if(Se.isExtendLineBackward(N)){x.preventDefault(),I.move(f,{unit:"line",edge:"focus",reverse:!0});return}if(Se.isExtendLineForward(N)){x.preventDefault(),I.move(f,{unit:"line",edge:"focus"});return}if(Se.isMoveBackward(N)){x.preventDefault(),Q&&_.isCollapsed(Q)?I.move(f,{reverse:!ee}):I.collapse(f,{edge:ee?"end":"start"});return}if(Se.isMoveForward(N)){x.preventDefault(),Q&&_.isCollapsed(Q)?I.move(f,{reverse:ee}):I.collapse(f,{edge:ee?"start":"end"});return}if(Se.isMoveWordBackward(N)){x.preventDefault(),Q&&_.isExpanded(Q)&&I.collapse(f,{edge:"focus"}),I.move(f,{unit:"word",reverse:!ee});return}if(Se.isMoveWordForward(N)){x.preventDefault(),Q&&_.isExpanded(Q)&&I.collapse(f,{edge:"focus"}),I.move(f,{unit:"word",reverse:ee});return}if(rr){if((vy||Ju)&&Q&&(Se.isDeleteBackward(N)||Se.isDeleteForward(N))&&_.isCollapsed(Q)){var de=q.parent(f,Q.anchor.path);if(X.isElement(de)&&D.isVoid(f,de)&&(D.isInline(f,de)||D.isBlock(f,de))){x.preventDefault(),D.deleteBackward(f,{unit:"block"});return}}}else{if(Se.isBold(N)||Se.isItalic(N)||Se.isTransposeCharacter(N)){x.preventDefault();return}if(Se.isSoftBreak(N)){x.preventDefault(),D.insertSoftBreak(f);return}if(Se.isSplitBlock(N)){x.preventDefault(),D.insertBreak(f);return}if(Se.isDeleteBackward(N)){x.preventDefault(),Q&&_.isExpanded(Q)?D.deleteFragment(f,{direction:"backward"}):D.deleteBackward(f);return}if(Se.isDeleteForward(N)){x.preventDefault(),Q&&_.isExpanded(Q)?D.deleteFragment(f,{direction:"forward"}):D.deleteForward(f);return}if(Se.isDeleteLineBackward(N)){x.preventDefault(),Q&&_.isExpanded(Q)?D.deleteFragment(f,{direction:"backward"}):D.deleteBackward(f,{unit:"line"});return}if(Se.isDeleteLineForward(N)){x.preventDefault(),Q&&_.isExpanded(Q)?D.deleteFragment(f,{direction:"forward"}):D.deleteForward(f,{unit:"line"});return}if(Se.isDeleteWordBackward(N)){x.preventDefault(),Q&&_.isExpanded(Q)?D.deleteFragment(f,{direction:"backward"}):D.deleteBackward(f,{unit:"word"});return}if(Se.isDeleteWordForward(N)){x.preventDefault(),Q&&_.isExpanded(Q)?D.deleteFragment(f,{direction:"forward"}):D.deleteForward(f,{unit:"word"});return}}}},[a,f,m.onKeyDown]),onPaste:L.useCallback(x=>{!a&&T.hasEditableTarget(f,x.target)&&!it(x,m.onPaste)&&(!rr||US(x.nativeEvent)||Ju)&&(x.preventDefault(),T.insertData(f,x.clipboardData))},[a,f,m.onPaste])}),re.createElement(KO,{decorations:V,node:f,renderElement:i,renderPlaceholder:l,renderLeaf:s,selection:f.selection})))))},QO=e=>{var{attributes:t,children:n}=e;return re.createElement("span",ln({},t),n,at&&re.createElement("br",null))},YO=()=>[],GO=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&_.isCollapsed(e.selection))){var n=t.startContainer.parentElement;n.getBoundingClientRect=t.getBoundingClientRect.bind(t),iS(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},it=(e,t)=>{if(!t)return!1;var n=t(e);return n??(e.isDefaultPrevented()||e.isPropagationStopped())},zy=e=>ir(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),XO=(e,t)=>{if(!t)return!1;var n=t(e);return n??e.defaultPrevented},ZO=L.createContext(!1),JO=L.createContext({});function e3(e){var t=L.useRef([]).current,n=L.useRef({editor:e}).current,r=L.useCallback(u=>{n.editor=u,t.forEach(a=>a(u))},[t,n]),o=L.useMemo(()=>({getSlate:()=>n.editor,addEventListener:u=>(t.push(u),()=>{t.splice(t.indexOf(u),1)})}),[t,n]);return{selectorContext:o,onChange:r}}var t3=["editor","children","onChange","onSelectionChange","onValueChange","initialValue"],n3=e=>{var{editor:t,children:n,onChange:r,onSelectionChange:o,onValueChange:u,initialValue:a}=e,i=_o(e,t3),[s,l]=re.useState(()=>{if(!q.isNodeList(a))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(ze.stringify(a)));if(!D.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(ze.stringify(t)));return t.children=a,Object.assign(t,i),{v:0,editor:t}}),{selectorContext:c,onChange:d}=e3(t),p=L.useCallback(f=>{var w;switch(r&&r(t.children),f==null||(w=f.operation)===null||w===void 0?void 0:w.type){case"set_selection":o==null||o(t.selection);break;default:u==null||u(t.children)}l(h=>({v:h.v+1,editor:t})),d(t)},[t,d,r,o,u]);L.useEffect(()=>(Xf.set(t,p),()=>{Xf.set(t,()=>{})}),[t,p]);var[y,m]=L.useState(T.isFocused(t));return L.useEffect(()=>{m(T.isFocused(t))},[t]),na(()=>{var f=()=>m(T.isFocused(t));return dy>=17?(document.addEventListener("focusin",f),document.addEventListener("focusout",f),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",f)}):(document.addEventListener("focus",f,!0),document.addEventListener("blur",f,!0),()=>{document.removeEventListener("focus",f,!0),document.removeEventListener("blur",f,!0)})},[]),re.createElement(JO.Provider,{value:c},re.createElement(My.Provider,{value:s},re.createElement(Kf.Provider,{value:s.editor},re.createElement(ZO.Provider,{value:y},n))))},Vy=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},Wy=(e,t,n)=>{var r=T.toDOMRange(e,t).getBoundingClientRect(),o=T.toDOMRange(e,n).getBoundingClientRect();return Vy(r,o)&&Vy(o,r)},r3=(e,t)=>{var n=D.range(e,_.end(t)),r=Array.from(D.positions(e,{at:t})),o=0,u=r.length,a=Math.floor(u/2);if(Wy(e,D.range(e,r[o]),n))return D.range(e,r[o],n);if(r.length<2)return D.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)Wy(e,D.range(e,r[a]),n)?u=a:o=a,a=Math.floor((o+u)/2);return D.range(e,r[u],n)};function Uy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Hy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Uy(Object(n),!0).forEach(function(r){$t(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uy(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var o3=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",r=t,{apply:o,onChange:u,deleteBackward:a,addMark:i,removeMark:s}=r;return Cs.set(r,new WeakMap),r.addMark=(l,c)=>{var d,p;(d=Zf.get(r))===null||d===void 0||d(),!Xt.get(r)&&(p=ht.get(r))!==null&&p!==void 0&&p.length&&Xt.set(r,null),Sn.delete(r),i(l,c)},r.removeMark=l=>{var c;!Xt.get(r)&&(c=ht.get(r))!==null&&c!==void 0&&c.length&&Xt.set(r,null),Sn.delete(r),s(l)},r.deleteBackward=l=>{if(l!=="line")return a(l);if(r.selection&&_.isCollapsed(r.selection)){var c=D.above(r,{match:m=>X.isElement(m)&&D.isBlock(r,m),at:r.selection});if(c){var[,d]=c,p=D.range(r,d,r.selection.anchor),y=r3(r,p);_.isCollapsed(y)||I.delete(r,{at:y})}}},r.apply=l=>{var c=[],d=[],p=ht.get(r);if(p!=null&&p.length){var y=p.map($=>rO($,l)).filter(Boolean);ht.set(r,y)}var m=ar.get(r);m&&ar.set(r,Ay(r,m,l));var f=ur.get(r);if(f!=null&&f.at){var w=ae.isPoint(f==null?void 0:f.at)?rd(r,f.at,l):Ay(r,f.at,l);ur.set(r,w?Hy(Hy({},f),{},{at:w}):null)}switch(l.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{c.push(...To(r,l.path));break}case"set_selection":{var h;(h=ta.get(r))===null||h===void 0||h.unref(),ta.delete(r);break}case"insert_node":case"remove_node":{c.push(...To(r,b.parent(l.path)));break}case"merge_node":{var g=b.previous(l.path);c.push(...To(r,g));break}case"move_node":{var C=b.common(b.parent(l.path),b.parent(l.newPath));c.push(...To(r,C));var E;b.isBefore(l.path,l.newPath)?(c.push(...To(r,b.parent(l.path))),E=l.newPath):(c.push(...To(r,b.parent(l.newPath))),E=l.path);var B=q.get(t,b.parent(E)),F=T.findKey(r,B),A=D.pathRef(r,b.parent(E));d.push([A,F]);break}}o(l);for(var[S,P]of c){var[O]=D.node(r,S);Ds.set(O,P)}for(var[H,k]of d)if(H.current){var[W]=D.node(r,H.current);Ds.set(W,k)}},r.setFragmentData=l=>{var{selection:c}=r;if(c){var[d,p]=_.edges(c),y=D.void(r,{at:d.path}),m=D.void(r,{at:p.path});if(!(_.isCollapsed(c)&&!y)){var f=T.toDOMRange(r,c),w=f.cloneContents(),h=w.childNodes[0];if(w.childNodes.forEach(O=>{O.textContent&&O.textContent.trim()!==""&&(h=O)}),m){var[g]=m,C=f.cloneRange(),E=T.toDOMNode(r,g);C.setEndAfter(E),w=C.cloneContents()}if(y&&(h=w.querySelector("[data-slate-spacer]")),Array.from(w.querySelectorAll("[data-slate-zero-width]")).forEach(O=>{var H=O.getAttribute("data-slate-zero-width")==="n";O.textContent=H?`
61
- `:""}),yy(h)){var B=h.ownerDocument.createElement("span");B.style.whiteSpace="pre",B.appendChild(h),w.appendChild(B),h=B}var F=r.getFragment(),A=JSON.stringify(F),S=window.btoa(encodeURIComponent(A));h.setAttribute("data-slate-fragment",S),l.setData("application/".concat(n),S);var P=w.ownerDocument.createElement("div");return P.appendChild(w),P.setAttribute("hidden","true"),w.ownerDocument.body.appendChild(P),l.setData("text/html",P.innerHTML),l.setData("text/plain",Cy(P)),w.ownerDocument.body.removeChild(P),l}}},r.insertData=l=>{r.insertFragmentData(l)||r.insertTextData(l)},r.insertFragmentData=l=>{var c=l.getData("application/".concat(n))||YS(l);if(c){var d=decodeURIComponent(window.atob(c)),p=JSON.parse(d);return r.insertFragment(p),!0}return!1},r.insertTextData=l=>{var c=l.getData("text/plain");if(c){var d=c.split(/\r\n|\r|\n/),p=!1;for(var y of d)p&&I.splitNodes(r,{always:!0}),r.insertText(y),p=!0;return!0}return!1},r.onChange=l=>{var c=dy<18?xo.unstable_batchedUpdates:d=>d();c(()=>{var d=Xf.get(r);d&&d(l),u(l)})},r},To=(e,t)=>{var n=[];for(var[r,o]of D.levels(e,{at:t})){var u=T.findKey(e,r);n.push([o,u])}return n},u3={isHistory(e){return Ue(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||Rn.isOperationList(e.redos[0].operations))&&(e.undos.length===0||Rn.isOperationList(e.undos[0].operations))}},ad=new WeakMap,id=new WeakMap,Ro={isHistoryEditor(e){return u3.isHistory(e.history)&&D.isEditor(e)},isMerging(e){return id.get(e)},isSaving(e){return ad.get(e)},redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=Ro.isMerging(e);id.set(e,!1),t(),id.set(e,n)},withoutSaving(e,t){var n=Ro.isSaving(e);ad.set(e,!1),t(),ad.set(e,n)}},a3=e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:r}=t,{redos:o}=r;if(o.length>0){var u=o[o.length-1];u.selectionBefore&&I.setSelection(t,u.selectionBefore),Ro.withoutSaving(t,()=>{D.withoutNormalizing(t,()=>{for(var a of u.operations)t.apply(a)})}),r.redos.pop(),t.writeHistory("undos",u)}},t.undo=()=>{var{history:r}=t,{undos:o}=r;if(o.length>0){var u=o[o.length-1];Ro.withoutSaving(t,()=>{D.withoutNormalizing(t,()=>{var a=u.operations.map(Rn.inverse).reverse();for(var i of a)t.apply(i);u.selectionBefore&&I.setSelection(t,u.selectionBefore)})}),t.writeHistory("redos",u),r.undos.pop()}},t.apply=r=>{var{operations:o,history:u}=t,{undos:a}=u,i=a[a.length-1],s=i&&i.operations[i.operations.length-1],l=Ro.isSaving(t),c=Ro.isMerging(t);if(l==null&&(l=s3(r)),l){if(c==null&&(i==null?c=!1:o.length!==0?c=!0:c=i3(r,s)),i&&c)i.operations.push(r);else{var d={operations:[r],selectionBefore:t.selection};t.writeHistory("undos",d)}for(;a.length>100;)a.shift();u.redos=[]}n(r)},t.writeHistory=(r,o)=>{t.history[r].push(o)},t},i3=(e,t)=>!!(t&&e.type==="insert_text"&&t.type==="insert_text"&&e.offset===t.offset+t.text.length&&b.equals(e.path,t.path)||t&&e.type==="remove_text"&&t.type==="remove_text"&&e.offset+e.text.length===t.offset&&b.equals(e.path,t.path)),s3=(e,t)=>e.type!=="set_selection";function l3(e){const n=`docx-h${e.element.level}`;return Te.jsx(n,{...e.attributes,children:e.children})}function c3(e){return Te.jsx("docx-blockquote",{...e.attributes,children:e.children})}const{Provider:f3,Consumer:d3}=L.createContext(!1);function p3(e){const t=e.element,n=`docx-${t.ordered?"o":"u"}l`;return Te.jsx(f3,{value:!!t.ordered,children:Te.jsx(n,{...e.attributes,children:e.children})})}function v3(e){return Te.jsx(d3,{children:t=>Te.jsx("docx-li",{className:t?"ordered":"",children:e.children})})}const h3={"#":"heading","##":"heading","###":"heading","####":"heading","#####":"heading","######":"heading",">":"blockquote","*":"list-item","-":"list-item","+":"list-item"},m3=[[/\*\*(.+?)\*\*$/,"bold"],[/\*(.+?)\*$/,"italic"],[/\~\~(.+?)\~\~$/,"del"],[/\~(.+?)\~$/,"underline"]];function g3(e){return e.element.type==="heading"?Te.jsx(l3,{...e}):e.element.type==="blockquote"?Te.jsx(c3,{...e}):e.element.type==="list"?Te.jsx(p3,{...e}):e.element.type==="list-item"?Te.jsx(v3,{...e}):Te.jsx("p",{...e.attributes,children:e.children})}function y3({attributes:e,children:t,leaf:n}){return n.bold&&(t=Te.jsx("strong",{children:t})),n.code&&(t=Te.jsx("code",{children:t})),n.italic&&(t=Te.jsx("em",{children:t})),n.del&&(t=Te.jsx("del",{children:t})),n.underline&&(t=Te.jsx("u",{children:t})),Te.jsx("span",{...e,children:t})}function D3(e){const{initialValue:t=[{type:"paragraph",children:[{text:""}]}],onBeforeInput:n,withOverride:r=c=>c}=e,o=L.useMemo(()=>r(o3(a3(IA()))),[]),u=L.useCallback(c=>Te.jsx(g3,{...c}),[]),a=L.useCallback(c=>Te.jsx(y3,{...c}),[]),i=L.useCallback(n?c=>{queueMicrotask(()=>n(c))}:()=>{},[o]),s=L.useCallback(c=>tE.trigger(c),[o]),l=L.useCallback(c=>Lp.trigger(c),[o]);return Sa.value=o,Te.jsx(n3,{editor:o,initialValue:t,onSelectionChange:s,onValueChange:l,children:Te.jsx(qO,{className:"smart-docx-editor",renderElement:u,renderLeaf:a,onDOMBeforeInput:i})})}const C3=nu(v.defineComponent({__name:"Markdown",props:{initialValue:{type:null}},setup(e){const t=e,n=LF(D3);function r(u){return{match:a=>X.isElement(a)&&D.isBlock(u,a)}}const o=u=>{const{insertText:a,deleteBackward:i,insertBreak:s}=u;return u.insertBreak=()=>{const{selection:l}=u;if(l&&_.isCollapsed(l)){const[c,d]=D.above(u,r(u))||[];if(c&&X.isElement(c)&&ae.equals(l.anchor,D.end(u,d))){if(c.type==="list-item")return I.insertNodes(u,{type:"list-item",children:[{text:""}]},r(u));if(c.type!=="paragraph")return I.insertNodes(u,{type:"paragraph",children:[{text:""}]},r(u))}}s()},u.insertText=l=>{const{selection:c}=u;if(l.endsWith(" ")&&c&&_.isCollapsed(c)){const d=D.above(u,r(u)),p=d?d[1]:[],y=D.start(u,p),m={anchor:c.anchor,focus:y},f=D.string(u,m)+l.slice(0,-1),w=h3[f];if(w){I.select(u,m),_.isCollapsed(m)||I.delete(u);const h={type:w};w==="heading"?h.level=`${f.length}`:w==="blockquote"&&(h.type="paragraph"),I.setNodes(u,h,r(u)),w==="blockquote"?I.wrapNodes(u,{type:"blockquote",children:[]},r(u)):w==="list-item"&&I.wrapNodes(u,{type:"list",children:[]},r(u));return}else for(const[h,g]of m3){const[C,E]=f.match(h)||[];if(C){const B=D.before(u,c,{unit:"character",distance:C.length}),F=D.range(u,B,c);return I.insertText(u,E,{at:F}),I.setNodes(u,{[g]:!0},{at:F,match:A=>J.isText(A),split:!0}),I.insertNodes(u,{text:" "})}}}a(l)},u.deleteBackward=(...l)=>{const{selection:c}=u;if(c&&_.isCollapsed(c)){const[d,p]=D.above(u,r(u))||[];if(d&&ae.equals(c.anchor,D.start(u,p))){const[y,m]=D.parent(u,p);if(y)if(X.isElement(y)){const f=y.children[0]===d,w=y.children.at(-1)===d;let h=!1;if(f&&w?(h=!0,I.unwrapNodes(u,{at:m})):f?(h=!0,I.moveNodes(u,{to:m})):w&&(h=!0,I.moveNodes(u,{to:b.next(m)})),h){I.setNodes(u,{type:"paragraph"});return}}else D.isEditor(y)&&y.children.length===1&&I.setNodes(u,{type:"paragraph"})}i(...l)}},u};{const{isValidSelection:u}=Vp();Qe(xa(),"dragstart",a=>{u.value&&a.preventDefault()})}return(u,a)=>(v.openBlock(),v.createBlock(v.unref(n),v.mergeProps(t,{withOverride:o}),null,16))}}),[["styles",["*[data-v-01a5af76],[data-v-01a5af76]:before,[data-v-01a5af76]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-01a5af76]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.list-item[data-v-01a5af76]{display:list-item}"]],["__scopeId","data-v-01a5af76"]]),w3=nu(v.defineComponent({__name:"index",props:{initialValue:{type:null}},setup(e){const t=e;return(n,r)=>(v.openBlock(),v.createElementBlock(v.Fragment,null,[v.createCommentVNode(" Markdown "),v.createVNode(C3,v.normalizeProps(v.guardReactiveProps(t)),null,16),v.createCommentVNode(" 菜单栏 "),v.createVNode(VA)],64))}}),[["styles",[`@charset "UTF-8";[data-use-vue-component-wrap],[__use_react_component_wrap]{display:contents}.smart-docx-editor{font-size:1rem;line-height:1.5rem;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s;outline:2px solid transparent;outline-offset:2px;width:100%;height:100%}.smart-docx-editor>:first-child{margin-top:0!important}docx-h1,docx-h2,docx-h3,docx-h4,docx-h5,docx-h6{display:block;font-weight:700}docx-h1{margin-top:26px;margin-bottom:10px;font-size:26px}docx-h2{margin-top:22px;margin-bottom:8px;font-size:22px}docx-h3{margin-top:20px;margin-bottom:8px;font-size:20px}docx-h4{margin-top:18px;margin-bottom:8px;font-size:18px}docx-h5{margin-top:18px;margin-bottom:8px;font-size:16px}docx-h6{margin-top:16px;margin-bottom:8px;font-size:16px}docx-blockquote{display:block;--un-text-opacity:1;color:rgb(82 82 82 / var(--un-text-opacity));border-left-width:2px;--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgb(163 163 163 / var(--un-border-left-opacity));border-left-style:solid;margin-top:.5rem;margin-bottom:.5rem;padding-left:.75rem}:host-context(.dark) docx-blockquote{--un-text-opacity:1;color:rgb(163 163 163 / var(--un-text-opacity))}docx-ul,docx-ol,docx-li{display:block}docx-li{list-style-type:none}docx-li:not(.ordered){position:relative;padding-left:1.5rem;line-height:1.5rem}docx-li:not(.ordered):before{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 14a2 2 0 1 1 0-4a2 2 0 0 1 0 4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;pointer-events:none;position:absolute;top:0;left:0;display:flex;--un-translate-x:-25%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));align-items:center;justify-content:left;content:"";width:1.5rem;height:1.5rem}`,"*[data-v-1360e702],[data-v-1360e702]:before,[data-v-1360e702]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-1360e702]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }"]],["__scopeId","data-v-1360e702"]]),E3=nu(v.defineComponent({__name:"index",props:{initialValue:{type:null}},setup(e){const t=e;return(n,r)=>(v.openBlock(),v.createBlock(w3,v.normalizeProps(v.guardReactiveProps(t)),null,16))}}),[["styles",["*[data-v-9cb0b441],[data-v-9cb0b441]:before,[data-v-9cb0b441]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-9cb0b441]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }"]],["__scopeId","data-v-9cb0b441"]]),B3="1.9.0";function A3(e=oE()){const t=xa(),n=`style[cssr-id^="${e}-"]`;return v.onMounted(()=>{function r(){const o=t.value.parentNode;o.querySelectorAll(n).forEach(u=>{o.removeChild(u)}),Array.from(document.querySelectorAll(n)).forEach(u=>{o.appendChild(u.cloneNode()).textContent=u.textContent})}Xw(document.head,r,{childList:!0}),r()}),e}function b3(){const e=xa();return v.onMounted(()=>{var o;const t=e.value.parentNode,{tailwindResetStyle:n,elementPlusStyle:r}=((o=globalThis.SmartCore)==null?void 0:o[B3])??{};if(n&&(t.appendChild(document.createElement("style")).textContent=n),r){const u=document.createElement("style");u.setAttribute("namespace","smart"),t.appendChild(u).textContent=r,document.querySelector('style[namespace="smart"]')||(document.head.appendChild(u.cloneNode()).textContent=r)}}),{classPrefix:A3()}}const F3=nu(v.defineComponent({__name:"App",props:{initialValue:{type:null}},emits:["change"],setup(e,{emit:t}){const n=t;return b3(),Lp.on(r=>{n("change",r)}),v.onMounted(()=>{Oa.value=xa().value.parentNode}),(r,o)=>{const u=YD;return v.openBlock(),v.createBlock(u,{namespace:"smart"},{default:v.withCtx(()=>[v.createVNode(E3,{"initial-value":r.initialValue},null,8,["initial-value"])]),_:1})}}}),[["styles",["*[data-v-6eedc1cf],[data-v-6eedc1cf]:before,[data-v-6eedc1cf]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-6eedc1cf]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }"]],["__scopeId","data-v-6eedc1cf"]]),x3="smart-docx-editor";function S3(e,t){var n;uE&&!customElements.get(e)&&customElements.define(e,(n=t.prototype)!=null&&n.connectedCallback?t:v.defineCustomElement(t))}S3(x3,F3)})((Ky=SmartCore["1.9.0"])==null?void 0:Ky.Vue);
61
+ `:""}),yy(h)){var B=h.ownerDocument.createElement("span");B.style.whiteSpace="pre",B.appendChild(h),w.appendChild(B),h=B}var F=r.getFragment(),A=JSON.stringify(F),S=window.btoa(encodeURIComponent(A));h.setAttribute("data-slate-fragment",S),l.setData("application/".concat(n),S);var P=w.ownerDocument.createElement("div");return P.appendChild(w),P.setAttribute("hidden","true"),w.ownerDocument.body.appendChild(P),l.setData("text/html",P.innerHTML),l.setData("text/plain",Cy(P)),w.ownerDocument.body.removeChild(P),l}}},r.insertData=l=>{r.insertFragmentData(l)||r.insertTextData(l)},r.insertFragmentData=l=>{var c=l.getData("application/".concat(n))||YS(l);if(c){var d=decodeURIComponent(window.atob(c)),p=JSON.parse(d);return r.insertFragment(p),!0}return!1},r.insertTextData=l=>{var c=l.getData("text/plain");if(c){var d=c.split(/\r\n|\r|\n/),p=!1;for(var y of d)p&&I.splitNodes(r,{always:!0}),r.insertText(y),p=!0;return!0}return!1},r.onChange=l=>{var c=dy<18?xo.unstable_batchedUpdates:d=>d();c(()=>{var d=Xf.get(r);d&&d(l),u(l)})},r},To=(e,t)=>{var n=[];for(var[r,o]of D.levels(e,{at:t})){var u=T.findKey(e,r);n.push([o,u])}return n},u3={isHistory(e){return Ue(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||Rn.isOperationList(e.redos[0].operations))&&(e.undos.length===0||Rn.isOperationList(e.undos[0].operations))}},ad=new WeakMap,id=new WeakMap,Ro={isHistoryEditor(e){return u3.isHistory(e.history)&&D.isEditor(e)},isMerging(e){return id.get(e)},isSaving(e){return ad.get(e)},redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=Ro.isMerging(e);id.set(e,!1),t(),id.set(e,n)},withoutSaving(e,t){var n=Ro.isSaving(e);ad.set(e,!1),t(),ad.set(e,n)}},a3=e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:r}=t,{redos:o}=r;if(o.length>0){var u=o[o.length-1];u.selectionBefore&&I.setSelection(t,u.selectionBefore),Ro.withoutSaving(t,()=>{D.withoutNormalizing(t,()=>{for(var a of u.operations)t.apply(a)})}),r.redos.pop(),t.writeHistory("undos",u)}},t.undo=()=>{var{history:r}=t,{undos:o}=r;if(o.length>0){var u=o[o.length-1];Ro.withoutSaving(t,()=>{D.withoutNormalizing(t,()=>{var a=u.operations.map(Rn.inverse).reverse();for(var i of a)t.apply(i);u.selectionBefore&&I.setSelection(t,u.selectionBefore)})}),t.writeHistory("redos",u),r.undos.pop()}},t.apply=r=>{var{operations:o,history:u}=t,{undos:a}=u,i=a[a.length-1],s=i&&i.operations[i.operations.length-1],l=Ro.isSaving(t),c=Ro.isMerging(t);if(l==null&&(l=s3(r)),l){if(c==null&&(i==null?c=!1:o.length!==0?c=!0:c=i3(r,s)),i&&c)i.operations.push(r);else{var d={operations:[r],selectionBefore:t.selection};t.writeHistory("undos",d)}for(;a.length>100;)a.shift();u.redos=[]}n(r)},t.writeHistory=(r,o)=>{t.history[r].push(o)},t},i3=(e,t)=>!!(t&&e.type==="insert_text"&&t.type==="insert_text"&&e.offset===t.offset+t.text.length&&b.equals(e.path,t.path)||t&&e.type==="remove_text"&&t.type==="remove_text"&&e.offset+e.text.length===t.offset&&b.equals(e.path,t.path)),s3=(e,t)=>e.type!=="set_selection";function l3(e){const n=`docx-h${e.element.level}`;return Te.jsx(n,{...e.attributes,children:e.children})}function c3(e){return Te.jsx("docx-blockquote",{...e.attributes,children:e.children})}const{Provider:f3,Consumer:d3}=L.createContext(!1);function p3(e){const t=e.element,n=`docx-${t.ordered?"o":"u"}l`;return Te.jsx(f3,{value:!!t.ordered,children:Te.jsx(n,{...e.attributes,children:e.children})})}function v3(e){return Te.jsx(d3,{children:t=>Te.jsx("docx-li",{className:t?"ordered":"",children:e.children})})}const h3={"#":"heading","##":"heading","###":"heading","####":"heading","#####":"heading","######":"heading",">":"blockquote","*":"list-item","-":"list-item","+":"list-item"},m3=[[/\*\*(.+?)\*\*$/,"bold"],[/\*(.+?)\*$/,"italic"],[/\~\~(.+?)\~\~$/,"del"],[/\~(.+?)\~$/,"underline"]];function g3(e){return e.element.type==="heading"?Te.jsx(l3,{...e}):e.element.type==="blockquote"?Te.jsx(c3,{...e}):e.element.type==="list"?Te.jsx(p3,{...e}):e.element.type==="list-item"?Te.jsx(v3,{...e}):Te.jsx("p",{...e.attributes,children:e.children})}function y3({attributes:e,children:t,leaf:n}){return n.bold&&(t=Te.jsx("strong",{children:t})),n.code&&(t=Te.jsx("code",{children:t})),n.italic&&(t=Te.jsx("em",{children:t})),n.del&&(t=Te.jsx("del",{children:t})),n.underline&&(t=Te.jsx("u",{children:t})),Te.jsx("span",{...e,children:t})}function D3(e){const{initialValue:t=[{type:"paragraph",children:[{text:""}]}],onBeforeInput:n,withOverride:r=c=>c}=e,o=L.useMemo(()=>r(o3(a3(IA()))),[]),u=L.useCallback(c=>Te.jsx(g3,{...c}),[]),a=L.useCallback(c=>Te.jsx(y3,{...c}),[]),i=L.useCallback(n?c=>{queueMicrotask(()=>n(c))}:()=>{},[o]),s=L.useCallback(c=>tE.trigger(c),[o]),l=L.useCallback(c=>Lp.trigger(c),[o]);return Sa.value=o,Te.jsx(n3,{editor:o,initialValue:t,onSelectionChange:s,onValueChange:l,children:Te.jsx(qO,{className:"smart-docx-editor",renderElement:u,renderLeaf:a,onDOMBeforeInput:i})})}const C3=nu(v.defineComponent({__name:"Markdown",props:{initialValue:{type:null}},setup(e){const t=e,n=LF(D3);function r(u){return{match:a=>X.isElement(a)&&D.isBlock(u,a)}}const o=u=>{const{insertText:a,deleteBackward:i,insertBreak:s}=u;return u.insertBreak=()=>{const{selection:l}=u;if(l&&_.isCollapsed(l)){const[c,d]=D.above(u,r(u))||[];if(c&&X.isElement(c)&&ae.equals(l.anchor,D.end(u,d))){if(c.type==="list-item")return I.insertNodes(u,{type:"list-item",children:[{text:""}]},r(u));if(c.type!=="paragraph")return I.insertNodes(u,{type:"paragraph",children:[{text:""}]},r(u))}}s()},u.insertText=l=>{const{selection:c}=u;if(l.endsWith(" ")&&c&&_.isCollapsed(c)){const d=D.above(u,r(u)),p=d?d[1]:[],y=D.start(u,p),m={anchor:c.anchor,focus:y},f=D.string(u,m)+l.slice(0,-1),w=h3[f];if(w){I.select(u,m),_.isCollapsed(m)||I.delete(u);const h={type:w};w==="heading"?h.level=`${f.length}`:w==="blockquote"&&(h.type="paragraph"),I.setNodes(u,h,r(u)),w==="blockquote"?I.wrapNodes(u,{type:"blockquote",children:[]},r(u)):w==="list-item"&&I.wrapNodes(u,{type:"list",children:[]},r(u));return}else for(const[h,g]of m3){const[C,E]=f.match(h)||[];if(C){const B=D.before(u,c,{unit:"character",distance:C.length}),F=D.range(u,B,c);return I.insertText(u,E,{at:F}),I.setNodes(u,{[g]:!0},{at:F,match:A=>J.isText(A),split:!0}),I.insertNodes(u,{text:" "})}}}a(l)},u.deleteBackward=(...l)=>{const{selection:c}=u;if(c&&_.isCollapsed(c)){const[d,p]=D.above(u,r(u))||[];if(d&&ae.equals(c.anchor,D.start(u,p))){const[y,m]=D.parent(u,p);if(y)if(X.isElement(y)){const f=y.children[0]===d,w=y.children.at(-1)===d;let h=!1;if(f&&w?(h=!0,I.unwrapNodes(u,{at:m})):f?(h=!0,I.moveNodes(u,{to:m})):w&&(h=!0,I.moveNodes(u,{to:b.next(m)})),h){I.setNodes(u,{type:"paragraph"});return}}else D.isEditor(y)&&y.children.length===1&&I.setNodes(u,{type:"paragraph"})}i(...l)}},u};{const{isValidSelection:u}=Vp();Qe(xa(),"dragstart",a=>{u.value&&a.preventDefault()})}return(u,a)=>(v.openBlock(),v.createBlock(v.unref(n),v.mergeProps(t,{withOverride:o}),null,16))}}),[["styles",["*[data-v-01a5af76],[data-v-01a5af76]:before,[data-v-01a5af76]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-01a5af76]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.list-item[data-v-01a5af76]{display:list-item}"]],["__scopeId","data-v-01a5af76"]]),w3=nu(v.defineComponent({__name:"index",props:{initialValue:{type:null}},setup(e){const t=e;return(n,r)=>(v.openBlock(),v.createElementBlock(v.Fragment,null,[v.createCommentVNode(" Markdown "),v.createVNode(C3,v.normalizeProps(v.guardReactiveProps(t)),null,16),v.createCommentVNode(" 菜单栏 "),v.createVNode(VA)],64))}}),[["styles",[`@charset "UTF-8";[data-use-vue-component-wrap],[__use_react_component_wrap]{display:contents}.smart-docx-editor{font-size:1rem;line-height:1.5rem;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s;outline:2px solid transparent;outline-offset:2px;width:100%;height:100%}.smart-docx-editor>:first-child{margin-top:0!important}docx-h1,docx-h2,docx-h3,docx-h4,docx-h5,docx-h6{display:block;font-weight:700}docx-h1{margin-top:26px;margin-bottom:10px;font-size:26px}docx-h2{margin-top:22px;margin-bottom:8px;font-size:22px}docx-h3{margin-top:20px;margin-bottom:8px;font-size:20px}docx-h4{margin-top:18px;margin-bottom:8px;font-size:18px}docx-h5{margin-top:18px;margin-bottom:8px;font-size:16px}docx-h6{margin-top:16px;margin-bottom:8px;font-size:16px}docx-blockquote{display:block;--un-text-opacity:1;color:rgb(82 82 82 / var(--un-text-opacity));border-left-width:2px;--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgb(163 163 163 / var(--un-border-left-opacity));border-left-style:solid;margin-top:.5rem;margin-bottom:.5rem;padding-left:.75rem}:host-context(.dark) docx-blockquote{--un-text-opacity:1;color:rgb(163 163 163 / var(--un-text-opacity))}docx-ul,docx-ol,docx-li{display:block}docx-li{list-style-type:none}docx-li:not(.ordered){position:relative;padding-left:1.5rem;line-height:1.5rem}docx-li:not(.ordered):before{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 14a2 2 0 1 1 0-4a2 2 0 0 1 0 4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;pointer-events:none;position:absolute;top:0;left:0;display:flex;--un-translate-x:-25%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));align-items:center;justify-content:left;content:"";width:1.5rem;height:1.5rem}`,"*[data-v-1360e702],[data-v-1360e702]:before,[data-v-1360e702]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-1360e702]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }"]],["__scopeId","data-v-1360e702"]]),E3=nu(v.defineComponent({__name:"index",props:{initialValue:{type:null}},setup(e){const t=e;return(n,r)=>(v.openBlock(),v.createBlock(w3,v.normalizeProps(v.guardReactiveProps(t)),null,16))}}),[["styles",["*[data-v-9cb0b441],[data-v-9cb0b441]:before,[data-v-9cb0b441]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-9cb0b441]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }"]],["__scopeId","data-v-9cb0b441"]]),B3="2.0.0";function A3(e=oE()){const t=xa(),n=`style[cssr-id^="${e}-"]`;return v.onMounted(()=>{function r(){const o=t.value.parentNode;o.querySelectorAll(n).forEach(u=>{o.removeChild(u)}),Array.from(document.querySelectorAll(n)).forEach(u=>{o.appendChild(u.cloneNode()).textContent=u.textContent})}Xw(document.head,r,{childList:!0}),r()}),e}function b3(){const e=xa();return v.onMounted(()=>{var o;const t=e.value.parentNode,{tailwindResetStyle:n,elementPlusStyle:r}=((o=globalThis.SmartCore)==null?void 0:o[B3])??{};if(n&&(t.appendChild(document.createElement("style")).textContent=n),r){const u=document.createElement("style");u.setAttribute("namespace","smart"),t.appendChild(u).textContent=r,document.querySelector('style[namespace="smart"]')||(document.head.appendChild(u.cloneNode()).textContent=r)}}),{classPrefix:A3()}}const F3=nu(v.defineComponent({__name:"App",props:{initialValue:{type:null}},emits:["change"],setup(e,{emit:t}){const n=t;return b3(),Lp.on(r=>{n("change",r)}),v.onMounted(()=>{Oa.value=xa().value.parentNode}),(r,o)=>{const u=YD;return v.openBlock(),v.createBlock(u,{namespace:"smart"},{default:v.withCtx(()=>[v.createVNode(E3,{"initial-value":r.initialValue},null,8,["initial-value"])]),_:1})}}}),[["styles",["*[data-v-6eedc1cf],[data-v-6eedc1cf]:before,[data-v-6eedc1cf]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-6eedc1cf]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }"]],["__scopeId","data-v-6eedc1cf"]]),x3="smart-docx-editor";function S3(e,t){var n;uE&&!customElements.get(e)&&customElements.define(e,(n=t.prototype)!=null&&n.connectedCallback?t:v.defineCustomElement(t))}S3(x3,F3)})((Ky=SmartCore["2.0.0"])==null?void 0:Ky.Vue);