跳到主要内容

小芽英语:教辅章节与精讲讲义驱动的英语学习静态演示

浏览文件
main

index-DFMl_77X.js

283 行 · 296.8 KB历史下载
1(function(){const U=document.createElement("link").relList;if(U&&U.supports&&U.supports("modulepreload"))return;for(const p of document.querySelectorAll('link[rel="modulepreload"]'))o(p);new MutationObserver(p=>{for(const L of p)if(L.type==="childList")for(const J of L.addedNodes)J.tagName==="LINK"&&J.rel==="modulepreload"&&o(J)}).observe(document,{childList:!0,subtree:!0});function O(p){const L={};return p.integrity&&(L.integrity=p.integrity),p.referrerPolicy&&(L.referrerPolicy=p.referrerPolicy),p.crossOrigin==="use-credentials"?L.credentials="include":p.crossOrigin==="anonymous"?L.credentials="omit":L.credentials="same-origin",L}function o(p){if(p.ep)return;p.ep=!0;const L=O(p);fetch(p.href,L)}})();var Qf={exports:{}},gu={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var E1;function Xv(){if(E1)return gu;E1=1;var b=Symbol.for("react.transitional.element"),U=Symbol.for("react.fragment");function O(o,p,L){var J=null;if(L!==void 0&&(J=""+L),p.key!==void 0&&(J=""+p.key),"key"in p){L={};for(var nl in p)nl!=="key"&&(L[nl]=p[nl])}else L=p;return p=L.ref,{$$typeof:b,type:o,key:J,ref:p!==void 0?p:null,props:L}}return gu.Fragment=U,gu.jsx=O,gu.jsxs=O,gu}var O1;function Vv(){return O1||(O1=1,Qf.exports=Xv()),Qf.exports}var i=Vv(),Xf={exports:{}},ul={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var A1;function Zv(){if(A1)return ul;A1=1;var b=Symbol.for("react.transitional.element"),U=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),J=Symbol.for("react.context"),nl=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),$=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),R=Symbol.for("react.view_transition"),F=Symbol.iterator;function ol(d){return d===null||typeof d!="object"?null:(d=F&&d[F]||d["@@iterator"],typeof d=="function"?d:null)}var hl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ll=Object.assign,K={};function G(d,z,Z){this.props=d,this.context=z,this.refs=K,this.updater=Z||hl}G.prototype.isReactComponent={},G.prototype.setState=function(d,z){if(typeof d!="object"&&typeof d!="function"&&d!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,d,z,"setState")},G.prototype.forceUpdate=function(d){this.updater.enqueueForceUpdate(this,d,"forceUpdate")};function sl(){}sl.prototype=G.prototype;function Ul(d,z,Z){this.props=d,this.context=z,this.refs=K,this.updater=Z||hl}var Ll=Ul.prototype=new sl;Ll.constructor=Ul,ll(Ll,G.prototype),Ll.isPureReactComponent=!0;var I=Array.isArray;function V(){}var il={H:null,A:null,T:null,S:null},wl=Object.prototype.hasOwnProperty;function Jl(d,z,Z){var X=Z.ref;return{$$typeof:b,type:d,key:z,ref:X!==void 0?X:null,props:Z}}function Ql(d,z){return Jl(d.type,z,d.props)}function _(d){return typeof d=="object"&&d!==null&&d.$$typeof===b}function tl(d){var z={"=":"=0",":":"=2"};return"$"+d.replace(/[=:]/g,function(Z){return z[Z]})}var pl=/\/+/g;function rl(d,z){return typeof d=="object"&&d!==null&&d.key!=null?tl(""+d.key):z.toString(36)}function E(d){switch(d.status){case"fulfilled":return d.value;case"rejected":throw d.reason;default:switch(typeof d.status=="string"?d.then(V,V):(d.status="pending",d.then(function(z){d.status==="pending"&&(d.status="fulfilled",d.value=z)},function(z){d.status==="pending"&&(d.status="rejected",d.reason=z)})),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason}}throw d}function C(d,z,Z,X,gl){var Nl=typeof d;(Nl==="undefined"||Nl==="boolean")&&(d=null);var Tl=!1;if(d===null)Tl=!0;else switch(Nl){case"bigint":case"string":case"number":Tl=!0;break;case"object":switch(d.$$typeof){case b:case U:Tl=!0;break;case M:return Tl=d._init,C(Tl(d._payload),z,Z,X,gl)}}if(Tl)return gl=gl(d),Tl=X===""?"."+rl(d,0):X,I(gl)?(Z="",Tl!=null&&(Z=Tl.replace(pl,"$&/")+"/"),C(gl,z,Z,"",function(Kt){return Kt})):gl!=null&&(_(gl)&&(gl=Ql(gl,Z+(gl.key==null||d&&d.key===gl.key?"":(""+gl.key).replace(pl,"$&/")+"/")+Tl)),z.push(gl)),1;Tl=0;var w=X===""?".":X+":";if(I(d))for(var el=0;el<d.length;el++)X=d[el],Nl=w+rl(X,el),Tl+=C(X,z,Z,Nl,gl);else if(el=ol(d),typeof el=="function")for(d=el.call(d),el=0;!(X=d.next()).done;)X=X.value,Nl=w+rl(X,el++),Tl+=C(X,z,Z,Nl,gl);else if(Nl==="object"){if(typeof d.then=="function")return C(E(d),z,Z,X,gl);throw z=String(d),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return Tl}function B(d,z,Z){if(d==null)return d;var X=[],gl=0;return C(d,X,"","",function(Nl){return z.call(Z,Nl,gl++)}),X}function cl(d){if(d._status===-1){var z=d._result,Z=z();Z.then(function(X){(d._status===0||d._status===-1)&&(d._status=1,d._result=X,Z.status===void 0&&(Z.status="fulfilled",Z.value=X))},function(X){(d._status===0||d._status===-1)&&(d._status=2,d._result=X,Z.status===void 0&&(Z.status="rejected",Z.reason=X))}),d._status===-1&&(d._status=0,d._result=Z)}if(d._status===1)return d._result.default;throw d._result}var ml=typeof reportError=="function"?reportError:function(d){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d),error:d});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",d);return}console.error(d)};function Pl(d){var z=il.T,Z={};Z.types=z!==null?z.types:null,il.T=Z;try{var X=d(),gl=il.S;gl!==null&&gl(Z,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(V,ml)}catch(Nl){ml(Nl)}finally{z!==null&&Z.types!==null&&(z.types=Z.types),il.T=z}}function ot(d){var z=il.T;if(z!==null){var Z=z.types;Z===null?z.types=[d]:Z.indexOf(d)===-1&&Z.push(d)}else Pl(ot.bind(null,d))}var H={map:B,forEach:function(d,z,Z){B(d,function(){z.apply(this,arguments)},Z)},count:function(d){var z=0;return B(d,function(){z++}),z},toArray:function(d){return B(d,function(z){return z})||[]},only:function(d){if(!_(d))throw Error("React.Children.only expected to receive a single React element child.");return d}};return ul.Activity=j,ul.Children=H,ul.Component=G,ul.Fragment=O,ul.Profiler=p,ul.PureComponent=Ul,ul.StrictMode=o,ul.Suspense=W,ul.ViewTransition=R,ul.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=il,ul.__COMPILER_RUNTIME={__proto__:null,c:function(d){return il.H.useMemoCache(d)}},ul.addTransitionType=ot,ul.cache=function(d){return function(){return d.apply(null,arguments)}},ul.cacheSignal=function(){return null},ul.cloneElement=function(d,z,Z){if(d==null)throw Error("The argument must be a React element, but you passed "+d+".");var X=ll({},d.props),gl=d.key;if(z!=null)for(Nl in z.key!==void 0&&(gl=""+z.key),z)!wl.call(z,Nl)||Nl==="key"||Nl==="__self"||Nl==="__source"||Nl==="ref"&&z.ref===void 0||(X[Nl]=z[Nl]);var Nl=arguments.length-2;if(Nl===1)X.children=Z;else if(1<Nl){for(var Tl=Array(Nl),w=0;w<Nl;w++)Tl[w]=arguments[w+2];X.children=Tl}return Jl(d.type,gl,X)},ul.createContext=function(d){return d={$$typeof:J,_currentValue:d,_currentValue2:d,_threadCount:0,Provider:null,Consumer:null},d.Provider=d,d.Consumer={$$typeof:L,_context:d},d},ul.createElement=function(d,z,Z){var X,gl={},Nl=null;if(z!=null)for(X in z.key!==void 0&&(Nl=""+z.key),z)wl.call(z,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(gl[X]=z[X]);var Tl=arguments.length-2;if(Tl===1)gl.children=Z;else if(1<Tl){for(var w=Array(Tl),el=0;el<Tl;el++)w[el]=arguments[el+2];gl.children=w}if(d&&d.defaultProps)for(X in Tl=d.defaultProps,Tl)gl[X]===void 0&&(gl[X]=Tl[X]);return Jl(d,Nl,gl)},ul.createRef=function(){return{current:null}},ul.forwardRef=function(d){return{$$typeof:nl,render:d}},ul.isValidElement=_,ul.lazy=function(d){return{$$typeof:M,_payload:{_status:-1,_result:d},_init:cl}},ul.memo=function(d,z){return{$$typeof:$,type:d,compare:z===void 0?null:z}},ul.startTransition=Pl,ul.unstable_useCacheRefresh=function(){return il.H.useCacheRefresh()},ul.use=function(d){return il.H.use(d)},ul.useActionState=function(d,z,Z){return il.H.useActionState(d,z,Z)},ul.useCallback=function(d,z){return il.H.useCallback(d,z)},ul.useContext=function(d){return il.H.useContext(d)},ul.useDebugValue=function(){},ul.useDeferredValue=function(d,z){return il.H.useDeferredValue(d,z)},ul.useEffect=function(d,z){return il.H.useEffect(d,z)},ul.useEffectEvent=function(d){return il.H.useEffectEvent(d)},ul.useId=function(){return il.H.useId()},ul.useImperativeHandle=function(d,z,Z){return il.H.useImperativeHandle(d,z,Z)},ul.useInsertionEffect=function(d,z){return il.H.useInsertionEffect(d,z)},ul.useLayoutEffect=function(d,z){return il.H.useLayoutEffect(d,z)},ul.useMemo=function(d,z){return il.H.useMemo(d,z)},ul.useOptimistic=function(d,z){return il.H.useOptimistic(d,z)},ul.useReducer=function(d,z,Z){return il.H.useReducer(d,z,Z)},ul.useRef=function(d){return il.H.useRef(d)},ul.useState=function(d){return il.H.useState(d)},ul.useSyncExternalStore=function(d,z,Z){return il.H.useSyncExternalStore(d,z,Z)},ul.useTransition=function(){return il.H.useTransition()},ul.version="19.3.0",ul}var _1;function Wf(){return _1||(_1=1,Xf.exports=Zv()),Xf.exports}var q=Wf(),Vf={exports:{}},xu={},Zf={exports:{}},wf={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var M1;function wv(){return M1||(M1=1,(function(b){function U(E,C){var B=E.length;E.push(C);l:for(;0<B;){var cl=B-1>>>1,ml=E[cl];if(0<p(ml,C))E[cl]=C,E[B]=ml,B=cl;else break l}}function O(E){return E.length===0?null:E[0]}function o(E){if(E.length===0)return null;var C=E[0],B=E.pop();if(B!==C){E[0]=B;l:for(var cl=0,ml=E.length,Pl=ml>>>1;cl<Pl;){var ot=2*(cl+1)-1,H=E[ot],d=ot+1,z=E[d];if(0>p(H,B))d<ml&&0>p(z,H)?(E[cl]=z,E[d]=B,cl=d):(E[cl]=H,E[ot]=B,cl=ot);else if(d<ml&&0>p(z,B))E[cl]=z,E[d]=B,cl=d;else break l}}return C}function p(E,C){var B=E.sortIndex-C.sortIndex;return B!==0?B:E.id-C.id}if(b.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var L=performance;b.unstable_now=function(){return L.now()}}else{var J=Date,nl=J.now();b.unstable_now=function(){return J.now()-nl}}var W=[],$=[],M=1,j=null,R=3,F=!1,ol=!1,hl=!1,ll=!1,K=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,sl=typeof setImmediate<"u"?setImmediate:null;function Ul(E){for(var C=O($);C!==null;){if(C.callback===null)o($);else if(C.startTime<=E)o($),C.sortIndex=C.expirationTime,U(W,C);else break;C=O($)}}function Ll(E){if(hl=!1,Ul(E),!ol)if(O(W)!==null)ol=!0,I||(I=!0,_());else{var C=O($);C!==null&&rl(Ll,C.startTime-E)}}var I=!1,V=-1,il=5,wl=-1;function Jl(){return ll?!0:!(b.unstable_now()-wl<il)}function Ql(){if(ll=!1,I){var E=b.unstable_now();wl=E;var C=!0;try{l:{ol=!1,hl&&(hl=!1,G(V),V=-1),F=!0;var B=R;try{t:{for(Ul(E),j=O(W);j!==null&&!(j.expirationTime>E&&Jl());){var cl=j.callback;if(typeof cl=="function"){j.callback=null,R=j.priorityLevel;var ml=cl(j.expirationTime<=E);if(E=b.unstable_now(),typeof ml=="function"){j.callback=ml,Ul(E),C=!0;break t}j===O(W)&&o(W),Ul(E)}else o(W);j=O(W)}if(j!==null)C=!0;else{var Pl=O($);Pl!==null&&rl(Ll,Pl.startTime-E),C=!1}}break l}finally{j=null,R=B,F=!1}C=void 0}}finally{C?_():I=!1}}}var _;if(typeof sl=="function")_=function(){sl(Ql)};else if(typeof MessageChannel<"u"){var tl=new MessageChannel,pl=tl.port2;tl.port1.onmessage=Ql,_=function(){pl.postMessage(null)}}else _=function(){K(Ql,0)};function rl(E,C){V=K(function(){E(b.unstable_now())},C)}b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(E){E.callback=null},b.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):il=0<E?Math.floor(1e3/E):5},b.unstable_getCurrentPriorityLevel=function(){return R},b.unstable_next=function(E){switch(R){case 1:case 2:case 3:var C=3;break;default:C=R}var B=R;R=C;try{return E()}finally{R=B}},b.unstable_requestPaint=function(){ll=!0},b.unstable_runWithPriority=function(E,C){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var B=R;R=E;try{return C()}finally{R=B}},b.unstable_scheduleCallback=function(E,C,B){var cl=b.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?cl+B:cl):B=cl,E){case 1:var ml=-1;break;case 2:ml=250;break;case 5:ml=1073741823;break;case 4:ml=1e4;break;default:ml=5e3}return ml=B+ml,E={id:M++,callback:C,priorityLevel:E,startTime:B,expirationTime:ml,sortIndex:-1},B>cl?(E.sortIndex=B,U($,E),O(W)===null&&E===O($)&&(hl?(G(V),V=-1):hl=!0,rl(Ll,B-cl))):(E.sortIndex=ml,U(W,E),ol||F||(ol=!0,I||(I=!0,_()))),E},b.unstable_shouldYield=Jl,b.unstable_wrapCallback=function(E){var C=R;return function(){var B=R;R=C;try{return E.apply(this,arguments)}finally{R=B}}}})(wf)),wf}var C1;function Kv(){return C1||(C1=1,Zf.exports=wv()),Zf.exports}var Kf={exports:{}},dt={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var D1;function Jv(){if(D1)return dt;D1=1;var b=Wf();function U(M){var j="https://react.dev/errors/"+M;if(1<arguments.length){j+="?args[]="+encodeURIComponent(arguments[1]);for(var R=2;R<arguments.length;R++)j+="&args[]="+encodeURIComponent(arguments[R])}return"Minified React error #"+M+"; visit "+j+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function O(){}var o={d:{f:O,r:function(){throw Error(U(522))},D:O,C:O,L:O,m:O,X:O,S:O,M:O},p:0,findDOMNode:null},p=Symbol.for("react.portal"),L=Symbol.for("react.recoverable"),J=Symbol.for("react.optimistic_key");function nl(M,j,R){var F=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:p,key:F==null?null:F===J?J:""+F,children:M,containerInfo:j,implementation:R}}var W=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function $(M,j){if(M==="font")return"";if(typeof j=="string")return j==="use-credentials"?j:""}return dt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,dt.browser=function(M){return{$$typeof:L,_reason:M}},dt.createPortal=function(M,j){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!j||j.nodeType!==1&&j.nodeType!==9&&j.nodeType!==11)throw Error(U(299));return nl(M,j,null,R)},dt.flushSync=function(M){var j=W.T,R=o.p;try{if(W.T=null,o.p=2,M)return M()}finally{W.T=j,o.p=R,o.d.f()}},dt.preconnect=function(M,j){typeof M=="string"&&(j?(j=j.crossOrigin,j=typeof j=="string"?j==="use-credentials"?j:"":void 0):j=null,o.d.C(M,j))},dt.prefetchDNS=function(M){typeof M=="string"&&o.d.D(M)},dt.preinit=function(M,j){if(typeof M=="string"&&j&&typeof j.as=="string"){var R=j.as,F=$(R,j.crossOrigin),ol=typeof j.integrity=="string"?j.integrity:void 0,hl=typeof j.fetchPriority=="string"?j.fetchPriority:void 0;R==="style"?o.d.S(M,typeof j.precedence=="string"?j.precedence:void 0,{crossOrigin:F,integrity:ol,fetchPriority:hl}):R==="script"&&o.d.X(M,{crossOrigin:F,integrity:ol,fetchPriority:hl,nonce:typeof j.nonce=="string"?j.nonce:void 0})}},dt.preinitModule=function(M,j){if(typeof M=="string")if(typeof j=="object"&&j!==null){if(j.as==null||j.as==="script"){var R=$(j.as,j.crossOrigin);o.d.M(M,{crossOrigin:R,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0,fetchPriority:typeof j.fetchPriority=="string"?j.fetchPriority:void 0})}}else j==null&&o.d.M(M)},dt.preload=function(M,j){if(typeof M=="string"&&typeof j=="object"&&j!==null&&typeof j.as=="string"){var R=j.as,F=$(R,j.crossOrigin);o.d.L(M,R,{crossOrigin:F,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0,type:typeof j.type=="string"?j.type:void 0,fetchPriority:typeof j.fetchPriority=="string"?j.fetchPriority:void 0,referrerPolicy:typeof j.referrerPolicy=="string"?j.referrerPolicy:void 0,imageSrcSet:typeof j.imageSrcSet=="string"?j.imageSrcSet:void 0,imageSizes:typeof j.imageSizes=="string"?j.imageSizes:void 0,media:typeof j.media=="string"?j.media:void 0})}},dt.preloadModule=function(M,j){if(typeof M=="string")if(j){var R=$(j.as,j.crossOrigin);o.d.m(M,{as:typeof j.as=="string"&&j.as!=="script"?j.as:void 0,crossOrigin:R,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0,fetchPriority:typeof j.fetchPriority=="string"?j.fetchPriority:void 0})}else o.d.m(M)},dt.requestFormReset=function(M){o.d.r(M)},dt.unstable_batchedUpdates=function(M,j){return M(j)},dt.useFormState=function(M,j,R){return W.H.useFormState(M,j,R)},dt.useFormStatus=function(){return W.H.useHostTransitionStatus()},dt.version="19.3.0",dt}var U1;function kv(){if(U1)return Kf.exports;U1=1;function b(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(U){console.error(U)}}return b(),Kf.exports=Jv(),Kf.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var R1;function $v(){if(R1)return xu;R1=1;var b=Kv(),U=Wf(),O=kv();function o(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function L(l){for(var t=l,e=t;e&&!e.alternate;)t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;for(;t.return;)t=t.return;return t.tag===3?l:null}function J(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function nl(l){if(l.tag===31){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function W(l){if(L(l)!==l)throw Error(o(188))}function $(l){var t=l.alternate;if(!t){if(t=L(l),t===null)throw Error(o(188));return t!==l?null:l}for(var e=l,a=t;;){var n=e.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){e=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===e)return W(n),l;if(u===a)return W(n),t;u=u.sibling}throw Error(o(188))}if(e.return!==a.return)e=n,a=u;else{for(var c=!1,s=n.child;s;){if(s===e){c=!0,e=n,a=u;break}if(s===a){c=!0,a=n,e=u;break}s=s.sibling}if(!c){for(s=u.child;s;){if(s===e){c=!0,e=u,a=n;break}if(s===a){c=!0,a=u,e=n;break}s=s.sibling}if(!c)throw Error(o(189))}}if(e.alternate!==a)throw Error(o(190))}if(e.tag!==3)throw Error(o(188));return e.stateNode.current===e?l:t}function M(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=M(l),t!==null)return t;l=l.sibling}return null}function j(l,t,e,a,n,u){for(;l!==null;){if((l.tag===5||l.tag===27||l.tag===6)&&e(l,a,n,u)||(l.tag!==22||l.memoizedState===null)&&(t||l.tag!==5&&l.tag!==27)&&j(l.child,t,e,a,n,u))return!0;l=l.sibling}return!1}function R(l){for(l=l.return;l!==null;){if(l.tag===3||l.tag===5||l.tag===27)return l;l=l.return}return null}function F(l){var t=!1;for(l=l.return;l!==null&&(l.tag===4&&(t=!0),!(l.tag===3||l.tag===5||l.tag===27));)l=l.return;return t}function ol(l){var t=[null,null],e=R(l);return e===null||hl(t,l,e.child,{foundSelf:!1}),t}function hl(l,t,e,a){for(;e!==null;){if(e===t)a.foundSelf=!0;else if(e.tag===5||e.tag===27||e.tag===6){if(a.foundSelf)return l[1]=e,!0;l[0]=e}else if((e.tag!==22||e.memoizedState===null)&&hl(l,t,e.child,a))return!0;e=e.sibling}return!1}function ll(l){switch(l.tag){case 5:case 27:case 6:return l.stateNode;case 3:return l.stateNode.containerInfo;default:throw Error(o(559))}}var K=null,G=null;function sl(l,t,e){return l===e?!0:l===t?(K=l,!0):!1}function Ul(l,t,e){return l===e?(G=l,!1):l===t?(G!==null&&(K=l),!0):!1}function Ll(l){if(l===null)return null;do l=l===null?null:l.return;while(l&&l.tag!==5&&l.tag!==27&&l.tag!==3);return l||null}function I(l,t,e){for(var a=0,n=l;n;n=e(n))a++;n=0;for(var u=t;u;u=e(u))n++;for(;0<a-n;)l=e(l),a--;for(;0<n-a;)t=e(t),n--;for(;a--;){if(l===t||t!==null&&l===t.alternate)return l;l=e(l),t=e(t)}return null}var V=Object.assign,il=Symbol.for("react.element"),wl=Symbol.for("react.transitional.element"),Jl=Symbol.for("react.portal"),Ql=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),tl=Symbol.for("react.profiler"),pl=Symbol.for("react.consumer"),rl=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),cl=Symbol.for("react.memo"),ml=Symbol.for("react.lazy"),Pl=Symbol.for("react.activity"),ot=Symbol.for("react.legacy_hidden"),H=Symbol.for("react.memo_cache_sentinel"),d=Symbol.for("react.view_transition"),z=Symbol.for("react.recoverable"),Z=Symbol.iterator;function X(l){return l===null||typeof l!="object"?null:(l=Z&&l[Z]||l["@@iterator"],typeof l=="function"?l:null)}var gl=Symbol.for("react.client.reference");function Nl(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===gl?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ql:return"Fragment";case tl:return"Profiler";case _:return"StrictMode";case C:return"Suspense";case B:return"SuspenseList";case Pl:return"Activity";case d:return"ViewTransition"}if(typeof l=="object")switch(l.$$typeof){case Jl:return"Portal";case rl:return l.displayName||"Context";case pl:return(l._context.displayName||"Context")+".Consumer";case E:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case cl:return t=l.displayName||null,t!==null?t:Nl(l.type)||"Memo";case ml:t=l._payload,l=l._init;try{return Nl(l(t))}catch{}}return null}var Tl=Array.isArray,w=U.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,el=O.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Kt={pending:!1,data:null,method:null,action:null},na=[],re=-1;function zt(l){return{current:l}}function g(l){0>re||(l.current=na[re],na[re]=null,re--)}function A(l,t){re++,na[re]=l.current,l.current=t}var al=zt(null),Al=zt(null),mt=zt(null),Nu=zt(null);function Tu(l,t){switch(A(mt,t),A(Al,l),A(al,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?Hh(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=Hh(t),l=qh(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}g(al),A(al,l)}function Ca(){g(al),g(Al),g(mt)}function ic(l){var t=l.memoizedState;t!==null&&(jn._currentValue=t.memoizedState,A(Nu,l)),t=al.current;var e=qh(t,l.type);t!==e&&(A(Al,l),A(al,e))}function zu(l){Al.current===l&&(g(al),g(Al)),Nu.current===l&&(g(Nu),jn._currentValue=Kt)}var cc,td;function _e(l){if(cc===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);cc=t&&t[1]||"",td=-1<e.stack.indexOf(`
42 at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+cc+l+td}var sc=!1;function fc(l,t){if(!l||sc)return"";sc=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var T=function(){throw Error()};if(Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(D){var h=D}Reflect.construct(l,[],T)}else{try{T.call()}catch(D){h=D}T=!1;try{var x=Object.getOwnPropertyDescriptor(l.prototype,"props");Object.defineProperty(l.prototype,"props",{configurable:!0,set:function(){throw Error()}}),T=!0,new l}finally{T&&(x!==void 0?Object.defineProperty(l.prototype,"props",x):delete l.prototype.props)}}}else{try{throw Error()}catch(D){h=D}(T=l())&&typeof T.catch=="function"&&T.catch(function(){})}}catch(D){if(D&&h&&typeof D.stack=="string")return[D.stack,h.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],s=u[1];if(c&&s){var f=c.split(`
44`),v=s.split(`
45`);for(n=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;n<v.length&&!v[n].includes("DetermineComponentFrameRoot");)n++;if(a===f.length||n===v.length)for(a=f.length-1,n=v.length-1;1<=a&&0<=n&&f[a]!==v[n];)n--;for(;1<=a&&0<=n;a--,n--)if(f[a]!==v[n]){if(a!==1||n!==1)do if(a--,n--,0>n||f[a]!==v[n]){var S=`
46`+f[a].replace(" at new "," at ");return l.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",l.displayName)),S}while(1<=a&&0<=n);break}}}finally{sc=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?_e(e):""}function K1(l,t){switch(l.tag){case 26:case 27:case 5:return _e(l.type);case 16:return _e("Lazy");case 13:return l.child!==t&&t!==null?_e("Suspense Fallback"):_e("Suspense");case 19:return _e("SuspenseList");case 0:case 15:return fc(l.type,!1);case 11:return fc(l.type.render,!1);case 1:return fc(l.type,!0);case 31:return _e("Activity");case 30:return _e("ViewTransition");default:return""}}function ed(l){try{var t="",e=null;do t+=K1(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
47Error generating stack: `+a.message+`
48`+a.stack}}var dc=Object.prototype.hasOwnProperty,rc=b.unstable_scheduleCallback,oc=b.unstable_cancelCallback,J1=b.unstable_shouldYield,k1=b.unstable_requestPaint,Et=b.unstable_now,$1=b.unstable_getCurrentPriorityLevel,ad=b.unstable_ImmediatePriority,nd=b.unstable_UserBlockingPriority,Eu=b.unstable_NormalPriority,F1=b.unstable_LowPriority,ud=b.unstable_IdlePriority,W1=b.log,I1=b.unstable_setDisableYieldValue,Tn=null,Ot=null;function Me(l){if(typeof W1=="function"&&I1(l),Ot&&typeof Ot.setStrictMode=="function")try{Ot.setStrictMode(Tn,l)}catch{}}var At=Math.clz32?Math.clz32:t0,P1=Math.log,l0=Math.LN2;function t0(l){return l>>>=0,l===0?32:31-(P1(l)/l0|0)|0}var Ou=256,Au=262144,_u=4194304;function ua(l){var t=l&42;if(t!==0)return t;switch(l&-l){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&-l;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Mu(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var n=0,u=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var s=a&134217727;return s!==0?(a=s&~u,a!==0?n=ua(a):(c&=s,c!==0?n=ua(c):e||(e=s&~l,e!==0&&(n=ua(e))))):(s=a&~u,s!==0?n=ua(s):c!==0?n=ua(c):e||(e=a&~l,e!==0&&(n=ua(e)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,e=t&-t,u>=e||u===32&&(e&4194048)!==0)?t:n}function zn(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function id(l,t){(t&8)!==0&&(t|=t&32);var e=l.entangledLanes;if(e!==0)for(l=l.entanglements,e&=t;0<e;){var a=31-At(e),n=1<<a;t|=l[a],e&=~n}return t}function e0(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function cd(){var l=_u;return _u<<=1,(_u&62914560)===0&&(_u=4194304),l}function hc(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function En(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function a0(l,t,e,a,n,u){var c=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var s=l.entanglements,f=l.expirationTimes,v=l.hiddenUpdates;for(e=c&~e;0<e;){var S=31-At(e),T=1<<S;s[S]=0,f[S]=-1;var h=v[S];if(h!==null)for(v[S]=null,S=0;S<h.length;S++){var x=h[S];x!==null&&(x.lane&=-536870913)}e&=~T}a!==0&&sd(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~t))}function sd(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-At(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function fd(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-At(e),n=1<<a;n&t|l[a]&t&&(l[a]|=t),e&=~n}}function dd(l,t){var e=t&-t;return e=(e&42)!==0?1:mc(e),(e&(l.suspendedLanes|t))!==0?0:e}function mc(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function vc(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function rd(){var l=el.p;return l!==0?l:(l=window.event,l===void 0?32:j1(l.type))}function od(l,t){var e=el.p;try{return el.p=l,t()}finally{el.p=e}}var oe=Math.random().toString(36).slice(2),nt="__reactFiber$"+oe,jt="__reactProps$"+oe,Da="__reactContainer$"+oe,hd="__reactEvents$"+oe,n0="__reactListeners$"+oe,u0="__reactHandles$"+oe,md="__reactResources$"+oe,On="__reactMarker$"+oe,Cu="__reactLoad$"+oe;function Du(l){delete l[nt],delete l[jt],delete l[n0],delete l[u0]}function ia(l){var t;if(t=l[nt])return t;for(var e=l.parentNode;e;){if(t=e[Da]||e[nt]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=Ph(l);l!==null;){if(e=l[nt])return e;l=Ph(l)}return t}l=e,e=l.parentNode}return null}function Ua(l){if(l=l[nt]||l[Da]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function An(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(o(33))}function Ra(l){var t=l[md];return t||(t=l[md]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function lt(l){l[On]=!0}function vd(l){l[Cu]=void 0}var yd=new Set,gd={};function ca(l,t){Ha(l,t),Ha(l+"Capture",t)}function Ha(l,t){for(gd[l]=t,l=0;l<t.length;l++)yd.add(t[l])}var i0=RegExp("^[: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]*$"),xd={},jd={};function c0(l){return dc.call(jd,l)?!0:dc.call(xd,l)?!1:i0.test(l)?jd[l]=!0:(xd[l]=!0,!1)}var El=!1;function Sd(){var l=El;return El=!1,l}function Uu(l,t,e){if(c0(t))if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,e)}}function Ru(l,t,e){if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,e)}}function he(l,t,e,a){if(a===null)l.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttributeNS(t,e,a)}}function _t(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function bd(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function s0(l,t,e){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return n.call(this)},set:function(c){e=""+c,u.call(this,c)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(c){e=""+c},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function yc(l){if(!l._valueTracker){var t=bd(l)?"checked":"value";l._valueTracker=s0(l,t,""+l[t])}}function pd(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=bd(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}var f0=/[\n"\\]/g;function Bt(l){return l.replace(f0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function gc(l,t,e,a,n,u,c,s){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+_t(t)):l.value!==""+_t(t)&&(l.value=""+_t(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?c==="number"&&l.value==t?xc(l,_t(l.value)):xc(l,_t(t)):e!=null?xc(l,_t(e)):a!=null&&l.removeAttribute("value"),n==null&&u!=null&&(l.defaultChecked=!!u),n!=null&&(l.checked=n&&typeof n!="function"&&typeof n!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?l.name=""+_t(s):l.removeAttribute("name")}function Nd(l,t,e,a,n,u,c,s){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(l.type=u),t!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){yc(l);return}e=e!=null?""+_t(e):"",t=t!=null?""+_t(t):e,s||t===l.value||(l.value=t),l.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=s?l.checked:!!a,l.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),yc(l)}function xc(l,t){l.defaultValue!==""+t&&(l.defaultValue=""+t)}function qa(l,t,e,a){if(l=l.options,t){t={};for(var n=0;n<e.length;n++)t["$"+e[n]]=!0;for(e=0;e<l.length;e++)n=t.hasOwnProperty("$"+l[e].value),l[e].selected!==n&&(l[e].selected=n),n&&a&&(l[e].defaultSelected=!0)}else{for(e=""+_t(e),t=null,n=0;n<l.length;n++){if(l[n].value===e){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}t!==null||l[n].disabled||(t=l[n])}t!==null&&(t.selected=!0)}}function Td(l,t,e){if(t!=null&&(t=""+_t(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+_t(e):""}function zd(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(o(92));if(Tl(a)){if(1<a.length)throw Error(o(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=_t(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),yc(l)}function Ba(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var d0=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ed(l,t,e){var a=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":a?l.setProperty(t,e):typeof e!="number"||e===0||d0.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function Od(l,t,e){if(t!=null&&typeof t!="object")throw Error(o(62));if(l=l.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="",El=!0);for(var n in t)a=t[n],t.hasOwnProperty(n)&&e[n]!==a&&(Ed(l,n,a),El=!0)}else for(var u in t)t.hasOwnProperty(u)&&Ed(l,u,t[u])}function jc(l){if(l.indexOf("-")===-1)return!1;switch(l){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 r0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),o0=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Hu(l){return o0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Pt(){}var Sc=null;function bc(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Ya=null,La=null;function Ad(l){var t=Ua(l);if(t&&(l=t.stateNode)){var e=l[jt]||null;l:switch(l=t.stateNode,t.type){case"input":if(gc(l,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=l;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+Bt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var n=a[jt]||null;if(!n)throw Error(o(90));gc(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&pd(a)}break l;case"textarea":Td(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&qa(l,!!e.multiple,t,!1)}}}var pc=!1;function _d(l,t,e){if(pc)return l(t,e);pc=!0;try{var a=l(t);return a}finally{if(pc=!1,(Ya!==null||La!==null)&&(Hi(),Ya&&(t=Ya,l=La,La=Ya=null,Ad(t),l)))for(t=0;t<l.length;t++)Ad(l[t])}}function _n(l,t){var e=l.stateNode;if(e===null)return null;var a=e[jt]||null;if(a===null)return null;e=a[t];l:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(e&&typeof e!="function")throw Error(o(231,t,typeof e));return e}var me=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Nc=!1;if(me)try{var Mn={};Object.defineProperty(Mn,"passive",{get:function(){Nc=!0}}),window.addEventListener("test",Mn,Mn),window.removeEventListener("test",Mn,Mn)}catch{Nc=!1}var Ce=null,Tc=null,qu=null;function Md(){if(qu)return qu;var l,t=Tc,e=t.length,a,n="value"in Ce?Ce.value:Ce.textContent,u=n.length;for(l=0;l<e&&t[l]===n[l];l++);var c=e-l;for(a=1;a<=c&&t[e-a]===n[u-a];a++);return qu=n.slice(l,1<a?1-a:void 0)}function Bu(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}function Yu(){return!0}function Cd(){return!1}function vt(l){function t(e,a,n,u,c){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var s in l)l.hasOwnProperty(s)&&(e=l[s],this[s]=e?e(u):u[s]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Yu:Cd,this.isPropagationStopped=Cd,this}return V(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=Yu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Yu)},persist:function(){},isPersistent:Yu}),t}var De={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lu=vt(De),Cn=V({},De,{view:0,detail:0}),h0=vt(Cn),zc,Ec,Dn,Gu=V({},Cn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ac,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Dn&&(Dn&&l.type==="mousemove"?(zc=l.screenX-Dn.screenX,Ec=l.screenY-Dn.screenY):Ec=zc=0,Dn=l),zc)},movementY:function(l){return"movementY"in l?l.movementY:Ec}}),Dd=vt(Gu),m0=V({},Gu,{dataTransfer:0}),v0=vt(m0),y0=V({},Cn,{relatedTarget:0}),Oc=vt(y0),g0=V({},De,{animationName:0,elapsedTime:0,pseudoElement:0}),x0=vt(g0),j0=V({},De,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),S0=vt(j0),b0=V({},De,{data:0}),Ud=vt(b0),p0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},N0={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"},T0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function z0(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=T0[l])?!!t[l]:!1}function Ac(){return z0}var E0=V({},Cn,{key:function(l){if(l.key){var t=p0[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Bu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?N0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ac,charCode:function(l){return l.type==="keypress"?Bu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Bu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),O0=vt(E0),A0=V({},Gu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rd=vt(A0),_0=V({},De,{submitter:0}),M0=vt(_0),C0=V({},Cn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ac}),D0=vt(C0),U0=V({},De,{propertyName:0,elapsedTime:0,pseudoElement:0}),R0=vt(U0),H0=V({},Gu,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),q0=vt(H0),B0=V({},De,{newState:0,oldState:0,source:0}),Y0=vt(B0),L0=[9,13,27,32],_c=me&&"CompositionEvent"in window,Un=null;me&&"documentMode"in document&&(Un=document.documentMode);var G0=me&&"TextEvent"in window&&!Un,Hd=me&&(!_c||Un&&8<Un&&11>=Un),qd=" ",Bd=!1;function Yd(l,t){switch(l){case"keyup":return L0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ld(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ga=!1;function Q0(l,t){switch(l){case"compositionend":return Ld(t);case"keypress":return t.which!==32?null:(Bd=!0,qd);case"textInput":return l=t.data,l===qd&&Bd?null:l;default:return null}}function X0(l,t){if(Ga)return l==="compositionend"||!_c&&Yd(l,t)?(l=Md(),qu=Tc=Ce=null,Ga=!1,l):null;switch(l){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 Hd&&t.locale!=="ko"?null:t.data;default:return null}}var V0={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 Gd(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!V0[l.type]:t==="textarea"}function Qd(l,t,e,a){Ya?La?La.push(a):La=[a]:Ya=a,t=Qi(t,"onChange"),0<t.length&&(e=new Lu("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var Rn=null,Hn=null;function Z0(l){_h(l,0)}function Qu(l){var t=An(l);if(pd(t))return l}function Xd(l,t){if(l==="change")return t}var Vd=!1;if(me){var Mc;if(me){var Cc="oninput"in document;if(!Cc){var Zd=document.createElement("div");Zd.setAttribute("oninput","return;"),Cc=typeof Zd.oninput=="function"}Mc=Cc}else Mc=!1;Vd=Mc&&(!document.documentMode||9<document.documentMode)}function wd(){Rn&&(Rn.detachEvent("onpropertychange",Kd),Hn=Rn=null)}function Kd(l){if(l.propertyName==="value"&&Qu(Hn)){var t=[];Qd(t,Hn,l,bc(l)),_d(Z0,t)}}function w0(l,t,e){l==="focusin"?(wd(),Rn=t,Hn=e,Rn.attachEvent("onpropertychange",Kd)):l==="focusout"&&wd()}function K0(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Qu(Hn)}function J0(l,t){if(l==="click")return Qu(t)}function k0(l,t){if(l==="input"||l==="change")return Qu(t)}function $0(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var Mt=typeof Object.is=="function"?Object.is:$0;function qn(l,t){if(Mt(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var e=Object.keys(l),a=Object.keys(t);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var n=e[a];if(!dc.call(t,n)||!Mt(l[n],t[n]))return!1}return!0}function Dc(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function Jd(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function kd(l,t){var e=Jd(l);l=0;for(var a;e;){if(e.nodeType===3){if(a=l+e.textContent.length,l<=t&&a>=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=Jd(e)}}function $d(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?$d(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function Fd(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Dc(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=Dc(l.document)}return t}function Uc(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var F0=me&&"documentMode"in document&&11>=document.documentMode,Qa=null,Rc=null,Bn=null,Hc=!1;function Wd(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Hc||Qa==null||Qa!==Dc(a)||(a=Qa,"selectionStart"in a&&Uc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Bn&&qn(Bn,a)||(Bn=a,a=Qi(Rc,"onSelect"),0<a.length&&(t=new Lu("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=Qa)))}function sa(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var Xa={animationend:sa("Animation","AnimationEnd"),animationiteration:sa("Animation","AnimationIteration"),animationstart:sa("Animation","AnimationStart"),transitionrun:sa("Transition","TransitionRun"),transitionstart:sa("Transition","TransitionStart"),transitioncancel:sa("Transition","TransitionCancel"),transitionend:sa("Transition","TransitionEnd")},qc={},Id={};me&&(Id=document.createElement("div").style,"AnimationEvent"in window||(delete Xa.animationend.animation,delete Xa.animationiteration.animation,delete Xa.animationstart.animation),"TransitionEvent"in window||delete Xa.transitionend.transition);function fa(l){if(qc[l])return qc[l];if(!Xa[l])return l;var t=Xa[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in Id)return qc[l]=t[e];return l}var Pd=fa("animationend"),lr=fa("animationiteration"),tr=fa("animationstart"),W0=fa("transitionrun"),I0=fa("transitionstart"),P0=fa("transitioncancel"),er=fa("transitionend"),ar=new Map,Bc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");Bc.push("scrollEnd");function Jt(l,t){ar.set(l,t),ca(t,[l])}var lm=0;function ve(l,t){if(l.name!=null&&l.name!=="auto")return l.name;if(t.autoName!==null)return t.autoName;l=Wt.identifierPrefix;var e=lm++;return l="_"+l+"t_"+e.toString(32)+"_",t.autoName=l}function nr(l){if(l==null||typeof l=="string")return l;var t=null,e=fn;if(e!==null)for(var a=0;a<e.length;a++){var n=l[e[a]];if(n!=null){if(n==="none")return"none";t=t==null?n:t+(" "+n)}}return t??l.default}function ye(l,t){return l=nr(l),t=nr(t),t==null?l==="auto"?null:l:t==="auto"?null:t}var Xu=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},Yt=[],Va=0,Yc=0;function Vu(){for(var l=Va,t=Yc=Va=0;t<l;){var e=Yt[t];Yt[t++]=null;var a=Yt[t];Yt[t++]=null;var n=Yt[t];Yt[t++]=null;var u=Yt[t];if(Yt[t++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&ur(e,n,u)}}function Zu(l,t,e,a){Yt[Va++]=l,Yt[Va++]=t,Yt[Va++]=e,Yt[Va++]=a,Yc|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Lc(l,t,e,a){return Zu(l,t,e,a),wu(l)}function da(l,t){return Zu(l,null,null,t),wu(l)}function ur(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=l.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(l=u.stateNode,l===null||l._visibility&1||(n=!0)),l=u,u=u.return;return l.tag===3?(u=l.stateNode,n&&t!==null&&(n=31-At(e),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[t]:a.push(t),t.lane=e|536870912),u):null}function wu(l){if(50<uu)throw uu=0,Ri=null,Error(o(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var Za={};function tm(l,t,e,a){this.tag=l,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function St(l,t,e,a){return new tm(l,t,e,a)}function Gc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function ge(l,t){var e=l.alternate;return e===null?(e=St(l.tag,t,l.key,l.mode),e.elementType=l.elementType,e.type=l.type,e.stateNode=l.stateNode,e.alternate=l,l.alternate=e):(e.pendingProps=t,e.type=l.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=l.flags&1206910976,e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=l.sibling,e.index=l.index,e.ref=l.ref,e.refCleanup=l.refCleanup,e}function ir(l,t){l.flags&=1206910978;var e=l.alternate;return e===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.type=e.type,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function Ku(l,t,e,a,n,u){var c=0;if(a=l,typeof a=="function")Gc(a)&&(c=1);else if(typeof a=="string")c=_v(l,e,al.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(a){case Pl:return l=St(31,e,t,n),l.elementType=Pl,l.lanes=u,l;case Ql:return ra(e.children,n,u,t);case _:c=8,n|=24;break;case tl:return l=St(12,e,t,n|2),l.elementType=tl,l.lanes=u,l;case C:return l=St(13,e,t,n),l.elementType=C,l.lanes=u,l;case B:return l=St(19,e,t,n),l.elementType=B,l.lanes=u,l;case ot:case d:return l=n|32,l=St(30,e,t,l),l.elementType=d,l.lanes=u,l.stateNode={autoName:null,paired:null,clones:null,ref:null},l;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case rl:c=10;break l;case pl:c=9;break l;case E:c=11;break l;case cl:c=14;break l;case ml:c=16,a=null;break l}c=29,e=Error(o(130,l===null?"null":typeof l,"")),a=null}return t=St(c,e,t,n),t.elementType=l,t.type=a,t.lanes=u,t}function ra(l,t,e,a){return l=St(7,l,a,t),l.lanes=e,l}function Qc(l,t,e){return l=St(6,l,null,t),l.lanes=e,l}function cr(l){var t=St(18,null,null,0);return t.stateNode=l,t}function Xc(l,t,e){return t=St(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var sr=new WeakMap;function Lt(l,t){if(typeof l=="object"&&l!==null){var e=sr.get(l);return e!==void 0?e:(t={value:l,source:t,stack:ed(t)},sr.set(l,t),t)}return{value:l,source:t,stack:ed(t)}}var wa=[],Ka=0,Ju=null,Yn=0,Gt=[],Qt=0,Ue=null,le=1,te="";function xe(l,t){wa[Ka++]=Yn,wa[Ka++]=Ju,Ju=l,Yn=t}function fr(l,t,e){Gt[Qt++]=le,Gt[Qt++]=te,Gt[Qt++]=Ue,Ue=l;var a=le;l=te;var n=32-At(a)-1;a&=~(1<<n),e+=1;var u=32-At(t)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,le=1<<32-At(t)+n|e<<n|a,te=u+l}else le=1<<u|e<<n|a,te=l}function ku(l){l.return!==null&&(xe(l,1),fr(l,1,0))}function Vc(l){for(;l===Ju;)Ju=wa[--Ka],wa[Ka]=null,Yn=wa[--Ka],wa[Ka]=null;for(;l===Ue;)Ue=Gt[--Qt],Gt[Qt]=null,te=Gt[--Qt],Gt[Qt]=null,le=Gt[--Qt],Gt[Qt]=null}function dr(l,t){Gt[Qt++]=le,Gt[Qt++]=te,Gt[Qt++]=Ue,le=t.id,te=t.overflow,Ue=l}var tt=null,ql=null,yl=!1,Re=null,Xt=!1,Zc=Error(o(519));function He(l){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ln(Lt(t,l)),Zc}function rr(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[nt]=l,t[jt]=a,e){case"dialog":jl("cancel",t),jl("close",t);break;case"iframe":case"object":case"embed":jl("load",t);break;case"video":case"audio":for(e=0;e<cu.length;e++)jl(cu[e],t);break;case"source":jl("error",t);break;case"img":case"image":case"link":jl("error",t),jl("load",t);break;case"details":jl("toggle",t);break;case"input":jl("invalid",t),Nd(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":jl("invalid",t);break;case"textarea":jl("invalid",t),zd(t,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||Uh(t.textContent,e)?(a.popover!=null&&(jl("beforetoggle",t),jl("toggle",t)),a.onScroll!=null&&jl("scroll",t),a.onScrollEnd!=null&&jl("scrollend",t),a.onClick!=null&&(t.onclick=Pt),t=!0):t=!1,t||He(l,!0)}function $u(l){for(tt=l.return;tt;)switch(tt.tag){case 5:case 31:case 13:Xt=!1;return;case 27:case 3:Xt=!0;return;default:tt=tt.return}}function Ja(l){if(l!==tt)return!1;if(!yl)return $u(l),yl=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||bf(l.type,l.memoizedProps)),e=!e),e&&ql&&He(l),$u(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));ql=Ih(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));ql=Ih(l)}else t===27?(t=ql,We(l.type)?(l=Mf,Mf=null,ql=l):ql=t):ql=tt?Zt(l.stateNode.nextSibling):null;return!0}function oa(){ql=tt=null,yl=!1}function wc(){var l=Re;return l!==null&&(Nt===null?Nt=l:Nt.push.apply(Nt,l),Re=null),l}function Ln(l){Re===null?Re=[l]:Re.push(l)}var Kc=zt(null),ha=null,je=null;function qe(l,t,e){A(Kc,t._currentValue),t._currentValue=e}function Se(l){l._currentValue=Kc.current,g(Kc)}function Fu(l,t,e){for(;l!==null;){var a=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),l===e)break;l=l.return}}function Jc(l,t,e,a){var n=l.child;for(n!==null&&(n.return=l);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;l:for(;u!==null;){var s=u;u=n;for(var f=0;f<t.length;f++)if(s.context===t[f]){u.lanes|=e,s=u.alternate,s!==null&&(s.lanes|=e),Fu(u.return,e,l),a||(c=null);break l}u=s.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(o(341));c.lanes|=e,u=c.alternate,u!==null&&(u.lanes|=e),Fu(c,e,l),c=null}else n.tag===13&&n.memoizedState!==null&&n.memoizedState.dehydrated===null?(n.lanes|=e,c=n.alternate,c!==null&&(c.lanes|=e),Fu(n.return,e,l),c=n.child,c=c!==null?c.sibling:null):c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===l){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function ma(l,t,e,a){l=null;for(var n=t,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var s=n.type;Mt(n.pendingProps.value,c.value)||(l!==null?l.push(s):l=[s])}}else if(n===Nu.current){if(c=n.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(jn):l=[jn])}n=n.return}return l!==null&&Jc(t,l,e,a),t.flags|=262144,l!==null}function Wu(l){for(l=l.firstContext;l!==null;){if(!Mt(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function va(l){ha=l,je=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function ut(l){return or(ha,l)}function Iu(l,t){return ha===null&&va(l),or(l,t)}function or(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},je===null){if(l===null)throw Error(o(308));je=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else je=je.next=t;return e}var em=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(e,a){l.push(a)}};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},am=b.unstable_scheduleCallback,nm=b.unstable_NormalPriority,kl={$$typeof:rl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function kc(){return{controller:new em,data:new Map,refCount:0}}function Gn(l){l.refCount--,l.refCount===0&&am(nm,function(){l.controller.abort()})}function hr(l,t){if((l.pendingLanes&4194048)!==0){var e=l.transitionTypes;for(e===null&&(e=l.transitionTypes=[]),l=0;l<t.length;l++){var a=t[l];e.indexOf(a)===-1&&e.push(a)}}}var Qn=null;function um(l){var t=l.transitionTypes;return l.transitionTypes=null,t}var Xn=null,$c=0,ya=0,ka=null;function im(l,t){if(Xn===null){var e=Xn=[];$c=0,ya=of(),ka={status:"pending",value:void 0,then:function(a){e.push(a)}}}return $c++,t.then(mr,mr),t}function mr(){if(--$c===0&&(Qn=null,Xn!==null)){ka!==null&&(ka.status="fulfilled");var l=Xn;Xn=null,ya=0,ka=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function cm(l,t){var e=[],a={status:"pending",value:null,reason:null,then:function(n){e.push(n)}};return l.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<e.length;n++)(0,e[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}var vr=w.S;w.S=function(l,t){if(sh=Et(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&im(l,t),Qn!==null)for(var e=hn;e!==null;)hr(e,Qn),e=e.next;if(e=l.types,e!==null){for(var a=hn;a!==null;)hr(a,e),a=a.next;if(ya!==0){a=Qn,a===null&&(a=Qn=[]);for(var n=0;n<e.length;n++){var u=e[n];a.indexOf(u)===-1&&a.push(u)}}}vr!==null&&vr(l,t)};var ga=zt(null);function Fc(){var l=ga.current;return l!==null?l:Hl.pooledCache}function Pu(l,t){t===null?A(ga,ga.current):A(ga,t.pool)}function yr(){var l=Fc();return l===null?null:{parent:kl._currentValue,pool:l}}var $a=Error(o(460)),Wc=Error(o(474)),li=Error(o(542)),ti={then:function(){}};function gr(l){return l=l.status,l==="fulfilled"||l==="rejected"}function xr(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(Pt,Pt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Sr(l),l===void 0&&!("reason"in t)?Error(o(600)):l;default:if(typeof t.status=="string")t.then(Pt,Pt);else{if(l=Hl,l!==null&&100<l.shellSuspendCounter)throw Error(o(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Sr(l),l}throw ja=t,$a}}function xa(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(ja=e,$a):e}}var ja=null;function jr(){if(ja===null)throw Error(o(459));var l=ja;return ja=null,l}function Sr(l){if(l===$a||l===li)throw Error(o(483))}var Fa=null,Vn=0;function ei(l){var t=Vn;return Vn+=1,Fa===null&&(Fa=[]),xr(Fa,l,t)}function Be(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function ai(l,t){throw t.$$typeof===il?Error(o(525)):(l=Object.prototype.toString.call(t),Error(o(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function br(l){function t(m,r){if(l){var y=m.deletions;y===null?(m.deletions=[r],m.flags|=16):y.push(r)}}function e(m,r){if(!l)return null;for(;r!==null;)t(m,r),r=r.sibling;return null}function a(m){for(var r=new Map;m!==null;)m.key===null?r.set(m.index,m):r.set(m.key,m),m=m.sibling;return r}function n(m,r){return m=ge(m,r),m.index=0,m.sibling=null,m}function u(m,r,y){return m.index=y,l?(y=m.alternate,y!==null?(y=y.index,y<r?(m.flags|=2,r):y):(m.flags|=134217730,r)):(m.flags|=1048576,r)}function c(m){return l&&m.alternate===null&&(m.flags|=134217730),m}function s(m,r,y,N){return r===null||r.tag!==6?(r=Qc(y,m.mode,N),r.return=m,r):(r=n(r,y),r.return=m,r)}function f(m,r,y,N){var Y=y.type;return Y===Ql?(m=S(m,r,y.props.children,N,y.key),Be(m,y),m):r!==null&&(r.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===ml&&xa(Y)===r.type)?(r=n(r,y.props),Be(r,y),r.return=m,r):(r=Ku(y.type,y.key,y.props,null,m.mode,N),Be(r,y),r.return=m,r)}function v(m,r,y,N){return r===null||r.tag!==4||r.stateNode.containerInfo!==y.containerInfo||r.stateNode.implementation!==y.implementation?(r=Xc(y,m.mode,N),r.return=m,r):(r=n(r,y.children||[]),r.return=m,r)}function S(m,r,y,N,Y){return r===null||r.tag!==7?(r=ra(y,m.mode,N,Y),r.return=m,r):(r=n(r,y),r.return=m,r)}function T(m,r,y){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Qc(""+r,m.mode,y),r.return=m,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case wl:return y=Ku(r.type,r.key,r.props,null,m.mode,y),Be(y,r),y.return=m,y;case Jl:return r=Xc(r,m.mode,y),r.return=m,r;case ml:return r=xa(r),T(m,r,y)}if(Tl(r)||X(r))return r=ra(r,m.mode,y,null),r.return=m,r;if(typeof r.then=="function")return T(m,ei(r),y);if(r.$$typeof===rl)return T(m,Iu(m,r),y);ai(m,r)}return null}function h(m,r,y,N){var Y=r!==null?r.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return Y!==null?null:s(m,r,""+y,N);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case wl:return y.key===Y?f(m,r,y,N):null;case Jl:return y.key===Y?v(m,r,y,N):null;case ml:return y=xa(y),h(m,r,y,N)}if(Tl(y)||X(y))return Y!==null?null:S(m,r,y,N,null);if(typeof y.then=="function")return h(m,r,ei(y),N);if(y.$$typeof===rl)return h(m,r,Iu(m,y),N);ai(m,y)}return null}function x(m,r,y,N,Y){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return m=m.get(y)||null,s(r,m,""+N,Y);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case wl:return m=m.get(N.key===null?y:N.key)||null,f(r,m,N,Y);case Jl:return m=m.get(N.key===null?y:N.key)||null,v(r,m,N,Y);case ml:return N=xa(N),x(m,r,y,N,Y)}if(Tl(N)||X(N))return m=m.get(y)||null,S(r,m,N,Y,null);if(typeof N.then=="function")return x(m,r,y,ei(N),Y);if(N.$$typeof===rl)return x(m,r,y,Iu(r,N),Y);ai(r,N)}return null}function D(m,r,y,N){for(var Y=null,bl=null,k=r,P=r=0,Wl=null;k!==null&&P<y.length;P++){k.index>P?(Wl=k,k=null):Wl=k.sibling;var zl=h(m,k,y[P],N);if(zl===null){k===null&&(k=Wl);break}l&&k&&zl.alternate===null&&t(m,k),r=u(zl,r,P),bl===null?Y=zl:bl.sibling=zl,bl=zl,k=Wl}if(P===y.length)return e(m,k),yl&&xe(m,P),Y;if(k===null){for(;P<y.length;P++)k=T(m,y[P],N),k!==null&&(r=u(k,r,P),bl===null?Y=k:bl.sibling=k,bl=k);return yl&&xe(m,P),Y}for(k=a(k);P<y.length;P++)Wl=x(k,m,P,y[P],N),Wl!==null&&(l&&(zl=Wl.alternate,zl!==null&&k.delete(zl.key===null?P:zl.key)),r=u(Wl,r,P),bl===null?Y=Wl:bl.sibling=Wl,bl=Wl);return l&&k.forEach(function(ea){return t(m,ea)}),yl&&xe(m,P),Y}function Q(m,r,y,N){if(y==null)throw Error(o(151));for(var Y=null,bl=null,k=r,P=r=0,Wl=null,zl=y.next();k!==null&&!zl.done;P++,zl=y.next()){k.index>P?(Wl=k,k=null):Wl=k.sibling;var ea=h(m,k,zl.value,N);if(ea===null){k===null&&(k=Wl);break}l&&k&&ea.alternate===null&&t(m,k),r=u(ea,r,P),bl===null?Y=ea:bl.sibling=ea,bl=ea,k=Wl}if(zl.done)return e(m,k),yl&&xe(m,P),Y;if(k===null){for(;!zl.done;P++,zl=y.next())zl=T(m,zl.value,N),zl!==null&&(r=u(zl,r,P),bl===null?Y=zl:bl.sibling=zl,bl=zl);return yl&&xe(m,P),Y}for(k=a(k);!zl.done;P++,zl=y.next())zl=x(k,m,P,zl.value,N),zl!==null&&(l&&(Wl=zl.alternate,Wl!==null&&k.delete(Wl.key===null?P:Wl.key)),r=u(zl,r,P),bl===null?Y=zl:bl.sibling=zl,bl=zl);return l&&k.forEach(function(Qv){return t(m,Qv)}),yl&&xe(m,P),Y}function dl(m,r,y,N){if(typeof y=="object"&&y!==null&&y.type===Ql&&y.key===null&&y.props.ref===void 0&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case wl:l:{for(var Y=y.key;r!==null;){if(r.key===Y){if(Y=y.type,Y===Ql){if(r.tag===7){e(m,r.sibling),N=n(r,y.props.children),Be(N,y),N.return=m,m=N;break l}}else if(r.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===ml&&xa(Y)===r.type){e(m,r.sibling),N=n(r,y.props),Be(N,y),N.return=m,m=N;break l}e(m,r);break}else t(m,r);r=r.sibling}y.type===Ql?(N=ra(y.props.children,m.mode,N,y.key),Be(N,y),N.return=m,m=N):(N=Ku(y.type,y.key,y.props,null,m.mode,N),Be(N,y),N.return=m,m=N)}return c(m);case Jl:l:{for(Y=y.key;r!==null;){if(r.key===Y)if(r.tag===4&&r.stateNode.containerInfo===y.containerInfo&&r.stateNode.implementation===y.implementation){e(m,r.sibling),N=n(r,y.children||[]),N.return=m,m=N;break l}else{e(m,r);break}else t(m,r);r=r.sibling}N=Xc(y,m.mode,N),N.return=m,m=N}return c(m);case ml:return y=xa(y),dl(m,r,y,N)}if(Tl(y))return D(m,r,y,N);if(X(y)){if(Y=X(y),typeof Y!="function")throw Error(o(150));return y=Y.call(y),Q(m,r,y,N)}if(typeof y.then=="function")return dl(m,r,ei(y),N);if(y.$$typeof===rl)return dl(m,r,Iu(m,y),N);ai(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,r!==null&&r.tag===6?(e(m,r.sibling),N=n(r,y),N.return=m,m=N):(e(m,r),N=Qc(y,m.mode,N),N.return=m,m=N),c(m)):e(m,r)}return function(m,r,y,N){try{Vn=0;var Y=dl(m,r,y,N);return Fa=null,Y}catch(k){if(k===$a||k===li)throw k;var bl=St(29,k,null,m.mode);return bl.lanes=N,bl.return=m,bl}finally{}}}var Sa=br(!0),pr=br(!1),Ye=!1;function Ic(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Le(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Ge(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(Ol&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=wu(l),ur(l,null,e),t}return Zu(l,a,t,e),wu(l)}function Zn(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,fd(l,e)}}function ls(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,e=e.next}while(e!==null);u===null?n=u=t:u=u.next=t}else n=u=t;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}var ts=!1;function wn(){if(ts){var l=ka;if(l!==null)throw l}}function Kn(l,t,e,a){ts=!1;var n=l.updateQueue;Ye=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var f=s,v=f.next;f.next=null,c===null?u=v:c.next=v,c=f;var S=l.alternate;S!==null&&(S=S.updateQueue,s=S.lastBaseUpdate,s!==c&&(s===null?S.firstBaseUpdate=v:s.next=v,S.lastBaseUpdate=f))}if(u!==null){var T=n.baseState;c=0,S=v=f=null,s=u;do{var h=s.lane&-536870913,x=h!==s.lane;if(x?(Sl&h)===h:(a&h)===h){h!==0&&h===ya&&(ts=!0),S!==null&&(S=S.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});l:{var D=l,Q=s;h=t;var dl=e;switch(Q.tag){case 1:if(D=Q.payload,typeof D=="function"){T=D.call(dl,T,h);break l}T=D;break l;case 3:D.flags=D.flags&-65537|128;case 0:if(D=Q.payload,h=typeof D=="function"?D.call(dl,T,h):D,h==null)break l;T=V({},T,h);break l;case 2:Ye=!0}}h=s.callback,h!==null&&(l.flags|=64,x&&(l.flags|=8192),x=n.callbacks,x===null?n.callbacks=[h]:x.push(h))}else x={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},S===null?(v=S=x,f=T):S=S.next=x,c|=h;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;x=s,s=x.next,x.next=null,n.lastBaseUpdate=x,n.shared.pending=null}}while(!0);S===null&&(f=T),n.baseState=f,n.firstBaseUpdate=v,n.lastBaseUpdate=S,u===null&&(n.shared.lanes=0),Je|=c,l.lanes=c,l.memoizedState=T}}function Nr(l,t){if(typeof l!="function")throw Error(o(191,l));l.call(t)}function Tr(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)Nr(e[l],t)}var Qe=zt(null),ni=zt(0);function zr(l,t){l=ze,A(ni,l),A(Qe,t),ze=l|t.baseLanes}function es(){A(ni,ze),A(Qe,Qe.current)}function as(){ze=ni.current,g(Qe),g(ni)}var it=zt(null),ht=null;function Xe(l){var t=l.alternate;A(ct,ct.current&1),A(it,l),ht===null&&(t===null||Qe.current!==null||t.memoizedState!==null)&&(ht=l)}function ns(l){A(ct,ct.current),A(it,l),ht===null&&(ht=l)}function Er(l){l.tag===22?(A(ct,ct.current),A(it,l),ht===null&&(ht=l)):Ve()}function Ve(){A(ct,ct.current),A(it,it.current)}function Ct(l){g(it),ht===l&&(ht=null),g(ct)}var ct=zt(0);function Jn(l,t){A(it,it.current),A(ct,t)}function us(l){g(ct),g(it),ht===l&&(ht=null)}function ui(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||Af(e)||_f(e)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var be=0,fl=null,Rl=null,$l=null,ii=!1,Wa=!1,ba=!1,ci=0,kn=0,Ia=null,sm=0;function Vl(){throw Error(o(321))}function is(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!Mt(l[e],t[e]))return!1;return!0}function cs(l,t,e,a,n,u){return be=u,fl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,w.H=l===null||l.memoizedState===null?fo:ro,ba=!1,u=e(a,n),ba=!1,Wa&&(u=Ar(t,e,a,n)),Or(l),u}function Or(l){w.H=mi;var t=Rl!==null&&Rl.next!==null;if(be=0,$l=Rl=fl=null,ii=!1,kn=0,Ia=null,t)throw Error(o(300));l===null||Fl||(l=l.dependencies,l!==null&&Wu(l)&&(Fl=!0))}function Ar(l,t,e,a){fl=l;var n=0;do{if(Wa&&(Ia=null),kn=0,Wa=!1,25<=n)throw Error(o(301));if(n+=1,$l=Rl=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}w.H=ym,u=t(e,a)}while(Wa);return u}function fm(){var l=w.H,t=l.useState()[0];return t=typeof t.then=="function"?$n(t):t,l=l.useState()[0],(Rl!==null?Rl.memoizedState:null)!==l&&(fl.flags|=1024),t}function ss(){var l=ci!==0;return ci=0,l}function fs(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function ds(l){if(ii){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}ii=!1}be=0,$l=Rl=fl=null,Wa=!1,kn=ci=0,Ia=null}function yt(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $l===null?fl.memoizedState=$l=l:$l=$l.next=l,$l}function Kl(){if(Rl===null){var l=fl.alternate;l=l!==null?l.memoizedState:null}else l=Rl.next;var t=$l===null?fl.memoizedState:$l.next;if(t!==null)$l=t,Rl=l;else{if(l===null)throw fl.alternate===null?Error(o(467)):Error(o(310));Rl=l,l={memoizedState:Rl.memoizedState,baseState:Rl.baseState,baseQueue:Rl.baseQueue,queue:Rl.queue,next:null},$l===null?fl.memoizedState=$l=l:$l=$l.next=l}return $l}function si(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function $n(l){var t=kn;return kn+=1,Ia===null&&(Ia=[]),l=xr(Ia,l,t),t=fl,($l===null?t.memoizedState:$l.next)===null&&(t=t.alternate,w.H=t===null||t.memoizedState===null?fo:ro),l}function fi(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return $n(l);if(l.$$typeof===z)return;if(l.$$typeof===rl)return ut(l)}throw Error(o(438,String(l)))}function rs(l){var t=null,e=fl.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=fl.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=si(),fl.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(l),a=0;a<l;a++)e[a]=H;return t.index++,e}function pe(l,t){return typeof t=="function"?t(l):t}function di(l){var t=Kl();return os(t,Rl,l)}function os(l,t,e){var a=l.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var n=l.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}t.baseQueue=n=u,a.pending=null}if(u=l.baseState,n===null)l.memoizedState=u;else{t=n.next;var s=c=null,f=null,v=t,S=!1;do{var T=v.lane&-536870913;if(T!==v.lane?(Sl&T)===T:(be&T)===T){var h=v.revertLane;if(h===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),T===ya&&(S=!0);else if((be&h)===h){v=v.next,h===ya&&(S=!0);continue}else T={lane:0,revertLane:v.revertLane,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},f===null?(s=f=T,c=u):f=f.next=T,fl.lanes|=h,Je|=h;T=v.action,ba&&e(u,T),u=v.hasEagerState?v.eagerState:e(u,T)}else h={lane:T,revertLane:v.revertLane,gesture:v.gesture,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},f===null?(s=f=h,c=u):f=f.next=h,fl.lanes|=T,Je|=T;v=v.next}while(v!==null&&v!==t);if(f===null?c=u:f.next=s,!Mt(u,l.memoizedState)&&(Fl=!0,S&&(e=ka,e!==null)))throw e;l.memoizedState=u,l.baseState=c,l.baseQueue=f,a.lastRenderedState=u}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function hs(l){var t=Kl(),e=t.queue;if(e===null)throw Error(o(311));e.lastRenderedReducer=l;var a=e.dispatch,n=e.pending,u=t.memoizedState;if(n!==null){e.pending=null;var c=n=n.next;do u=l(u,c.action),c=c.next;while(c!==n);Mt(u,t.memoizedState)||(Fl=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),e.lastRenderedState=u}return[u,a]}function _r(l,t,e){var a=fl,n=Kl(),u=yl;if(u){if(e===void 0)throw Error(o(407));e=e()}else e=t();var c=!Mt((Rl||n).memoizedState,e);if(c&&(n.memoizedState=e,Fl=!0),n=n.queue,ys(Dr.bind(null,a,n,l),[l]),l=n.getSnapshot!==t||c||$l!==null&&($l.memoizedState.tag&1)!==0,Pa(l?9:8,{destroy:void 0},Cr.bind(null,a,n,e,t),null),l){if(a.flags|=2048,Hl===null)throw Error(o(349));u||(be&127)!==0||Mr(a,t,e)}return e}function Mr(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=fl.updateQueue,t===null?(t=si(),fl.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Cr(l,t,e,a){t.value=e,t.getSnapshot=a,Ur(t)&&Rr(l)}function Dr(l,t,e){return e(function(){Ur(t)&&Rr(l)})}function Ur(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!Mt(l,e)}catch{return!0}}function Rr(l){var t=da(l,2);t!==null&&Tt(t,l,2)}function ms(l){var t=yt();if(typeof l=="function"){var e=l;if(l=e(),ba){Me(!0);try{e()}finally{Me(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pe,lastRenderedState:l},t}function Hr(l,t,e,a){return l.baseState=e,os(l,Rl,typeof a=="function"?a:pe)}function dm(l,t,e,a,n){if(hi(l))throw Error(o(485));if(l=t.action,l!==null){var u={payload:n,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};w.T!==null?e(!0):u.isTransition=!1,a(u),e=t.pending,e===null?(u.next=t.pending=u,qr(t,u)):(u.next=e.next,t.pending=e.next=u)}}function qr(l,t){var e=t.action,a=t.payload,n=l.state;if(t.isTransition){var u=w.T,c={};c.types=u!==null?u.types:null,w.T=c;try{var s=e(n,a),f=w.S;f!==null&&f(c,s),Br(l,t,s)}catch(v){vs(l,t,v)}finally{u!==null&&c.types!==null&&(u.types=c.types),w.T=u}}else try{u=e(n,a),Br(l,t,u)}catch(v){vs(l,t,v)}}function Br(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){Yr(l,t,a)},function(a){return vs(l,t,a)}):Yr(l,t,e)}function Yr(l,t,e){t.status="fulfilled",t.value=e,Lr(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,qr(l,e)))}function vs(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,Lr(t),t=t.next;while(t!==a)}l.action=null}function Lr(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function Gr(l,t){return t}function Qr(l,t){if(yl){var e=Hl.formState;if(e!==null){l:{var a=fl;if(yl){if(ql){t:{for(var n=ql,u=Xt;n.nodeType!==8;){if(!u){n=null;break t}if(n=Zt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){ql=Zt(n.nextSibling),a=n.data==="F!";break l}}He(a)}a=!1}a&&(t=e[0])}}return e=yt(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:t},e.queue=a,e=io.bind(null,fl,a),a.dispatch=e,a=ms(!1),u=bs.bind(null,fl,!1,a.queue),a=yt(),n={state:t,dispatch:null,action:l,pending:null},a.queue=n,e=dm.bind(null,fl,n,u,e),n.dispatch=e,a.memoizedState=l,[t,e,!1]}function Xr(l){var t=Kl();return Vr(t,Rl,l)}function Vr(l,t,e){if(t=os(l,t,Gr)[0],l=di(pe)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=$n(t)}catch(c){throw c===$a?li:c}else a=t;t=Kl();var n=t.queue,u=n.dispatch;return e!==t.memoizedState&&(fl.flags|=2048,Pa(9,{destroy:void 0},rm.bind(null,n,e),null)),[a,u,l]}function rm(l,t){l.action=t}function Zr(l){var t=Kl(),e=Rl;if(e!==null)return Vr(t,e,l);Kl(),t=t.memoizedState,e=Kl();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function Pa(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=fl.updateQueue,t===null&&(t=si(),fl.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=l.next=l:(a=e.next,e.next=l,l.next=a,t.lastEffect=l),l}function wr(){return Kl().memoizedState}function ri(l,t,e,a){var n=yt();fl.flags|=l,n.memoizedState=Pa(1|t,{destroy:void 0},e,a===void 0?null:a)}function oi(l,t,e,a){var n=Kl();a=a===void 0?null:a;var u=n.memoizedState.inst;Rl!==null&&a!==null&&is(a,Rl.memoizedState.deps)?n.memoizedState=Pa(t,u,e,a):(fl.flags|=l,n.memoizedState=Pa(1|t,u,e,a))}function Kr(l,t){ri(8390656,8,l,t)}function ys(l,t){oi(2048,8,l,t)}function om(l){fl.flags|=4;var t=fl.updateQueue;if(t===null)t=si(),fl.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function Jr(l){var t=Kl().memoizedState;return om({ref:t,nextImpl:l}),function(){if((Ol&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function kr(l,t){return oi(4,2,l,t)}function $r(l,t){return oi(4,4,l,t)}function Fr(l,t){if(typeof t=="function"){l=l();var e=t(l);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function Wr(l,t,e){e=e!=null?e.concat([l]):null,oi(4,4,Fr.bind(null,t,l),e)}function gs(){}function Ir(l,t){var e=Kl();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&is(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function Pr(l,t){var e=Kl();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&is(t,a[1]))return a[0];if(a=l(),ba){Me(!0);try{l()}finally{Me(!1)}}return e.memoizedState=[a,t],a}function xs(l,t,e){return e===void 0||(be&1073741824)!==0&&(Sl&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=dh(),fl.lanes|=l,Je|=l,e)}function lo(l,t,e,a){return Mt(e,t)?e:Qe.current!==null?(l=xs(l,e,a),Mt(l,t)||(Fl=!0),l):(be&106)===0||(be&1073741824)!==0&&(Sl&261930)===0?(Fl=!0,l.memoizedState=e):(l=dh(),fl.lanes|=l,Je|=l,t)}function to(l,t,e,a,n){var u=el.p;el.p=u!==0&&8>u?u:8;var c=w.T,s={};s.types=c!==null?c.types:null,w.T=s,bs(l,!1,t,e);try{var f=n(),v=w.S;if(v!==null&&v(s,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var S=cm(f,a);Fn(l,t,S,Ht(l))}else Fn(l,t,a,Ht(l))}catch(T){Fn(l,t,{then:function(){},status:"rejected",reason:T},Ht())}finally{el.p=u,c!==null&&s.types!==null&&(c.types=s.types),w.T=c}}function hm(){}function js(l,t,e,a){if(l.tag!==5)throw Error(o(476));var n=eo(l).queue;to(l,n,t,Kt,e===null?hm:function(){return ao(l),e(a)})}function eo(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:Kt,baseState:Kt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pe,lastRenderedState:Kt},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pe,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function ao(l){var t=eo(l);t.next===null&&(t=l.alternate.memoizedState),Fn(l,t.next.queue,{},Ht())}function Ss(){return ut(jn)}function no(){return Kl().memoizedState}function uo(){return Kl().memoizedState}function mm(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=Ht();l=Le(e);var a=Ge(t,l,e);a!==null&&(Tt(a,t,e),Zn(a,t,e)),t={cache:kc()},l.payload=t;return}t=t.return}}function vm(l,t,e){var a=Ht();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},hi(l)?co(t,e):(e=Lc(l,t,e,a),e!==null&&(Tt(e,l,a),so(e,t,a)))}function io(l,t,e){var a=Ht();Fn(l,t,e,a)}function Fn(l,t,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(hi(l))co(t,n);else{var u=l.alternate;if(l.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var c=t.lastRenderedState,s=u(c,e);if(n.hasEagerState=!0,n.eagerState=s,Mt(s,c))return Zu(l,t,n,0),Hl===null&&Vu(),!1}catch{}finally{}if(e=Lc(l,t,n,a),e!==null)return Tt(e,l,a),so(e,t,a),!0}return!1}function bs(l,t,e,a){if(a={lane:2,revertLane:of(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hi(l)){if(t)throw Error(o(479))}else t=Lc(l,e,a,2),t!==null&&Tt(t,l,2)}function hi(l){var t=l.alternate;return l===fl||t!==null&&t===fl}function co(l,t){Wa=ii=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function so(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,fd(l,e)}}var mi={readContext:ut,use:fi,useCallback:Vl,useContext:Vl,useEffect:Vl,useImperativeHandle:Vl,useLayoutEffect:Vl,useInsertionEffect:Vl,useMemo:Vl,useReducer:Vl,useRef:Vl,useState:Vl,useDebugValue:Vl,useDeferredValue:Vl,useTransition:Vl,useSyncExternalStore:Vl,useId:Vl,useHostTransitionStatus:Vl,useFormState:Vl,useActionState:Vl,useOptimistic:Vl,useMemoCache:Vl,useCacheRefresh:Vl,useEffectEvent:Vl},fo={readContext:ut,use:fi,useCallback:function(l,t){return yt().memoizedState=[l,t===void 0?null:t],l},useContext:ut,useEffect:Kr,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,ri(4194308,4,Fr.bind(null,t,l),e)},useLayoutEffect:function(l,t){return ri(4194308,4,l,t)},useInsertionEffect:function(l,t){ri(4,2,l,t)},useMemo:function(l,t){var e=yt();t=t===void 0?null:t;var a=l();if(ba){Me(!0);try{l()}finally{Me(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=yt();if(e!==void 0){var n=e(t);if(ba){Me(!0);try{e(t)}finally{Me(!1)}}}else n=t;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=vm.bind(null,fl,l),[a.memoizedState,l]},useRef:function(l){var t=yt();return l={current:l},t.memoizedState=l},useState:function(l){l=ms(l);var t=l.queue,e=io.bind(null,fl,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:gs,useDeferredValue:function(l,t){var e=yt();return xs(e,l,t)},useTransition:function(){var l=ms(!1);return l=to.bind(null,fl,l.queue,!0,!1),yt().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=fl,n=yt();if(yl){if(e===void 0)throw Error(o(407));e=e()}else{if(e=t(),Hl===null)throw Error(o(349));(Sl&127)!==0||Mr(a,t,e)}n.memoizedState=e;var u={value:e,getSnapshot:t};return n.queue=u,Kr(Dr.bind(null,a,u,l),[l]),a.flags|=2048,Pa(9,{destroy:void 0},Cr.bind(null,a,u,e,t),null),e},useId:function(){var l=yt(),t=Hl.identifierPrefix;if(yl){var e=te,a=le;e=(a&~(1<<32-At(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=ci++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=sm++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:Ss,useFormState:Qr,useActionState:Qr,useOptimistic:function(l){var t=yt();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=bs.bind(null,fl,!0,e),e.dispatch=t,[l,t]},useMemoCache:rs,useCacheRefresh:function(){return yt().memoizedState=mm.bind(null,fl)},useEffectEvent:function(l){var t=yt(),e={impl:l};return t.memoizedState=e,function(){if((Ol&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}},ro={readContext:ut,use:fi,useCallback:Ir,useContext:ut,useEffect:ys,useImperativeHandle:Wr,useInsertionEffect:kr,useLayoutEffect:$r,useMemo:Pr,useReducer:di,useRef:wr,useState:function(){return di(pe)},useDebugValue:gs,useDeferredValue:function(l,t){var e=Kl();return lo(e,Rl.memoizedState,l,t)},useTransition:function(){var l=di(pe)[0],t=Kl().memoizedState;return[typeof l=="boolean"?l:$n(l),t]},useSyncExternalStore:_r,useId:no,useHostTransitionStatus:Ss,useFormState:Xr,useActionState:Xr,useOptimistic:function(l,t){var e=Kl();return Hr(e,Rl,l,t)},useMemoCache:rs,useCacheRefresh:uo,useEffectEvent:Jr},ym={readContext:ut,use:fi,useCallback:Ir,useContext:ut,useEffect:ys,useImperativeHandle:Wr,useInsertionEffect:kr,useLayoutEffect:$r,useMemo:Pr,useReducer:hs,useRef:wr,useState:function(){return hs(pe)},useDebugValue:gs,useDeferredValue:function(l,t){var e=Kl();return Rl===null?xs(e,l,t):lo(e,Rl.memoizedState,l,t)},useTransition:function(){var l=hs(pe)[0],t=Kl().memoizedState;return[typeof l=="boolean"?l:$n(l),t]},useSyncExternalStore:_r,useId:no,useHostTransitionStatus:Ss,useFormState:Zr,useActionState:Zr,useOptimistic:function(l,t){var e=Kl();return Rl!==null?Hr(e,Rl,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:rs,useCacheRefresh:uo,useEffectEvent:Jr};function ps(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:V({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var Ns={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=Ht(),n=Le(a);n.payload=t,e!=null&&(n.callback=e),t=Ge(l,n,a),t!==null&&(Tt(t,l,a),Zn(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=Ht(),n=Le(a);n.tag=1,n.payload=t,e!=null&&(n.callback=e),t=Ge(l,n,a),t!==null&&(Tt(t,l,a),Zn(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=Ht(),a=Le(e);a.tag=2,t!=null&&(a.callback=t),t=Ge(l,a,e),t!==null&&(Tt(t,l,e),Zn(t,l,e))}};function oo(l,t,e,a,n,u,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,c):t.prototype&&t.prototype.isPureReactComponent?!qn(e,a)||!qn(n,u):!0}function ho(l,t,e,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,a),t.state!==l&&Ns.enqueueReplaceState(t,t.state,null)}function pa(l,t){var e=t;if("ref"in t){e={};for(var a in t)a!=="ref"&&(e[a]=t[a])}if(l=l.defaultProps){e===t&&(e=V({},e));for(var n in l)e[n]===void 0&&(e[n]=l[n])}return e}function mo(l){Xu(l)}function vo(l){console.error(l)}function yo(l){Xu(l)}function vi(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function go(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Ts(l,t,e){return e=Le(e),e.tag=3,e.payload={element:null},e.callback=function(){vi(l,t)},e}function xo(l){return l=Le(l),l.tag=3,l}function jo(l,t,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;l.payload=function(){return n(u)},l.callback=function(){go(t,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){go(t,e,a),typeof n!="function"&&(ke===null?ke=new Set([this]):ke.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function gm(l,t,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&ma(t,e,n,!0),e=it.current,e!==null){switch(e.tag){case 31:case 13:case 19:return ht===null?qi():e.alternate===null&&Zl===0&&(Zl=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===ti?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),ff(l,a,n)),!1;case 22:return e.flags|=65536,a===ti?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([a]):e.add(a)),ff(l,a,n)),!1}throw Error(o(435,e.tag))}return ff(l,a,n),qi(),!1}if(yl)return t=it.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==Zc&&(l=Error(o(422),{cause:a}),Ln(Lt(l,e)))):(a!==Zc&&(t=Error(o(423),{cause:a}),Ln(Lt(t,e))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=Lt(a,e),n=Ts(l.stateNode,a,n),ls(l,n),Zl!==4&&(Zl=2)),!1;var u=Error(o(520),{cause:a});if(u=Lt(u,e),nu===null?nu=[u]:nu.push(u),Zl!==4&&(Zl=2),t===null)return!0;a=Lt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=n&-n,e.lanes|=l,l=Ts(e.stateNode,a,l),ls(e,l),!1;case 1:if(t=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(ke===null||!ke.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=xo(n),jo(n,l,e,a),ls(e,n),!1;break;case 22:if(e.memoizedState!==null)return e.flags|=65536,!1}e=e.return}while(e!==null);return!1}var zs=Error(o(461)),Fl=!1;function Il(l,t,e,a){t.child=l===null?pr(t,null,e,a):Sa(t,l.child,e,a)}function So(l,t,e,a,n){e=e.render;var u=t.ref;if("ref"in a){var c={};for(var s in a)s!=="ref"&&(c[s]=a[s])}else c=a;return va(t),a=cs(l,t,e,c,u,n),s=ss(),l!==null&&!Fl?(fs(l,t,n),Ne(l,t,n)):(yl&&s&&ku(t),t.flags|=1,Il(l,t,a,n),t.child)}function bo(l,t,e,a,n){if(l===null){var u=e.type;return typeof u=="function"&&!Gc(u)&&u.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=u,po(l,t,u,a,n)):(l=Ku(e.type,null,a,t,t.mode,n),l.ref=t.ref,l.return=t,t.child=l)}if(u=l.child,!Us(l,n)){var c=u.memoizedProps;if(e=e.compare,e=e!==null?e:qn,e(c,a)&&l.ref===t.ref)return Ne(l,t,n)}return t.flags|=1,l=ge(u,a),l.ref=t.ref,l.return=t,t.child=l}function po(l,t,e,a,n){if(l!==null){var u=l.memoizedProps;if(qn(u,a)&&l.ref===t.ref)if(Fl=!1,t.pendingProps=a=u,Us(l,n))(l.flags&131072)!==0&&(Fl=!0);else return t.lanes=l.lanes,Ne(l,t,n)}return Es(l,t,e,a,n)}function No(l,t,e,a){var n=a.children,u=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|e:e,l!==null){for(a=t.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return To(l,t,u,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Pu(t,u!==null?u.cachePool:null),u!==null?zr(t,u):es(),Er(t);else return a=t.lanes=536870912,To(l,t,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(Pu(t,u.cachePool),zr(t,u),Ve(),t.memoizedState=null):(l!==null&&Pu(t,null),es(),Ve());return Il(l,t,n,e),t.child}function Wn(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function To(l,t,e,a,n){var u=Fc();return u=u===null?null:{parent:kl._currentValue,pool:u},t.memoizedState={baseLanes:e,cachePool:u},l!==null&&Pu(t,null),es(),Er(t),l!==null&&ma(l,t,a,!0),t.childLanes=n,null}function yi(l,t){return t=gi({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function zo(l,t,e){return Sa(t,l.child,null,e),l=yi(t,t.pendingProps),l.flags|=2,Ct(t),t.memoizedState=null,l}function xm(l,t,e){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(yl){if(a.mode==="hidden")return l=yi(t,a),t.lanes=536870912,l.memoizedState={baseLanes:0,cachePool:null},Wn(null,l);if(ns(t),(l=ql)?(l=Wh(l,Xt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Ue!==null?{id:le,overflow:te}:null,retryLane:536870912,hydrationErrors:null},e=cr(l),e.return=t,t.child=e,tt=t,ql=null)):l=null,l===null)throw He(t);return t.lanes=536870912,null}return yi(t,a)}var u=l.memoizedState;if(u!==null){var c=u.dehydrated;if(ns(t),n)if(t.flags&256)t.flags&=-257,t=zo(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(o(558));else if(Fl||ma(l,t,e,!1),n=(e&l.childLanes)!==0,Fl||n){if(Qe.current===null){if(a=Hl,a!==null&&(c=dd(a,e),c!==0&&c!==u.retryLane))throw u.retryLane=c,da(l,c),Tt(a,l,c),zs;qi()}t=zo(l,t,e)}else l=u.treeContext,ql=Zt(c.nextSibling),tt=t,yl=!0,Re=null,Xt=!1,l!==null&&dr(t,l),t=yi(t,a),t.flags|=134221824;return t}return l=ge(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function ln(l,t){var e=t.ref;if(e===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(o(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function Es(l,t,e,a,n){return va(t),e=cs(l,t,e,a,void 0,n),a=ss(),l!==null&&!Fl?(fs(l,t,n),Ne(l,t,n)):(yl&&a&&ku(t),t.flags|=1,Il(l,t,e,n),t.child)}function Eo(l,t,e,a,n,u){return va(t),t.updateQueue=null,e=Ar(t,a,e,n),Or(l),a=ss(),l!==null&&!Fl?(fs(l,t,u),Ne(l,t,u)):(yl&&a&&ku(t),t.flags|=1,Il(l,t,e,u),t.child)}function Oo(l,t,e,a,n){if(va(t),t.stateNode===null){var u=Za,c=e.contextType;typeof c=="object"&&c!==null&&(u=ut(c)),u=new e(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ns,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Ic(t),c=e.contextType,u.context=typeof c=="object"&&c!==null?ut(c):Za,u.state=t.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(ps(t,e,c,a),u.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&Ns.enqueueReplaceState(u,u.state,null),Kn(t,a,u,n),wn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){u=t.stateNode;var s=t.memoizedProps,f=pa(e,s);u.props=f;var v=u.context,S=e.contextType;c=Za,typeof S=="object"&&S!==null&&(c=ut(S));var T=e.getDerivedStateFromProps;S=typeof T=="function"||typeof u.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,S||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s||v!==c)&&ho(t,u,a,c),Ye=!1;var h=t.memoizedState;u.state=h,Kn(t,a,u,n),wn(),v=t.memoizedState,s||h!==v||Ye?(typeof T=="function"&&(ps(t,e,T,a),v=t.memoizedState),(f=Ye||oo(t,e,f,a,h,v,c))?(S||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=v),u.props=a,u.state=v,u.context=c,a=f):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Pc(l,t),c=t.memoizedProps,S=pa(e,c),u.props=S,T=t.pendingProps,h=u.context,v=e.contextType,f=Za,typeof v=="object"&&v!==null&&(f=ut(v)),s=e.getDerivedStateFromProps,(v=typeof s=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==T||h!==f)&&ho(t,u,a,f),Ye=!1,h=t.memoizedState,u.state=h,Kn(t,a,u,n),wn();var x=t.memoizedState;c!==T||h!==x||Ye||l!==null&&l.dependencies!==null&&Wu(l.dependencies)?(typeof s=="function"&&(ps(t,e,s,a),x=t.memoizedState),(S=Ye||oo(t,e,S,a,h,x,f)||l!==null&&l.dependencies!==null&&Wu(l.dependencies))?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,x,f),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,x,f)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=x),u.props=a,u.state=x,u.context=f,a=S):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),a=!1)}return u=a,ln(l,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,l!==null&&a?(t.child=Sa(t,l.child,null,n),t.child=Sa(t,null,e,n)):Il(l,t,e,n),t.memoizedState=u.state,l=t.child):l=Ne(l,t,n),l}function Ao(l,t,e,a){return oa(),t.flags|=256,Il(l,t,e,a),t.child}var Os={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function As(l){return{baseLanes:l,cachePool:yr()}}function _s(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=Rt),l}function _o(l,t,e){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,c;if((c=u)||(c=l!==null&&l.memoizedState===null?!1:(ct.current&2)!==0),c&&(n=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,l===null){if(yl){if(n?Xe(t):Ve(),(l=ql)?(l=Wh(l,Xt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Ue!==null?{id:le,overflow:te}:null,retryLane:536870912,hydrationErrors:null},e=cr(l),e.return=t,t.child=e,tt=t,ql=null)):l=null,l===null)throw He(t);return _f(l)?t.lanes=32:t.lanes=536870912,null}return u=a.children,a=a.fallback,n?(Ve(),n=t.mode,u=gi({mode:"hidden",children:u},n),a=ra(a,n,e,null),u.return=t,a.return=t,u.sibling=a,t.child=u,a=t.child,a.memoizedState=As(e),a.childLanes=_s(l,c,e),t.memoizedState=Os,Wn(null,a)):(Xe(t),Ms(t,u))}var s=l.memoizedState;if(s!==null){var f=s.dehydrated;if(f!==null)return jm(l,t,u,c,a,f,s,e)}return n?(Ve(),n=a.fallback,u=t.mode,s=l.child,f=s.sibling,a=ge(s,{mode:"hidden",children:a.children}),a.subtreeFlags=s.subtreeFlags&1206910976,f!==null?n=ge(f,n):(n=ra(n,u,e,null),n.flags|=2),n.return=t,a.return=t,a.sibling=n,t.child=a,Wn(null,a),a=t.child,n=l.child.memoizedState,n===null?n=As(e):(u=n.cachePool,u!==null?(s=kl._currentValue,u=u.parent!==s?{parent:s,pool:s}:u):u=yr(),n={baseLanes:n.baseLanes|e,cachePool:u}),a.memoizedState=n,a.childLanes=_s(l,c,e),t.memoizedState=Os,Wn(l.child,a)):(Xe(t),e=l.child,l=e.sibling,e=ge(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(c=t.deletions,c===null?(t.deletions=[l],t.flags|=16):c.push(l)),t.child=e,t.memoizedState=null,e)}function Ms(l,t){return t=gi({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function gi(l,t){return l=St(22,l,null,t),l.lanes=0,l}function xi(l,t,e){return Sa(t,l.child,null,e),l=Ms(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function jm(l,t,e,a,n,u,c,s){if(e)return t.flags&256?(Xe(t),t.flags&=-257,xi(l,t,s)):t.memoizedState!==null?(Ve(),t.child=l.child,t.flags|=128,null):(Ve(),u=n.fallback,c=t.mode,n=gi({mode:"visible",children:n.children},c),u=ra(u,c,s,null),u.flags|=2,n.return=t,u.return=t,n.sibling=u,t.child=n,Sa(t,l.child,null,s),n=t.child,n.memoizedState=As(s),n.childLanes=_s(l,a,s),t.memoizedState=Os,Wn(null,n));if(Xe(t),_f(u)){if(a=u.nextSibling&&u.nextSibling.dataset,a)var f=a.dgst;return a=f,a!==""&&(n=Error(o(419)),n.stack="",n.digest=a,Ln({value:n,source:null,stack:null})),xi(l,t,s)}if(Fl||ma(l,t,s,!1),a=(s&l.childLanes)!==0,Fl||a){if(Qe.current!==null)return xi(l,t,s);if(a=Hl,a!==null&&(n=dd(a,s),n!==0&&n!==c.retryLane))throw c.retryLane=n,da(l,n),Tt(a,l,n),zs;return Af(u)||qi(),xi(l,t,s)}return Af(u)?(t.flags|=192,t.child=l.child,null):(l=c.treeContext,ql=Zt(u.nextSibling),tt=t,yl=!0,Re=null,Xt=!1,l!==null&&dr(t,l),t=Ms(t,n.children),t.flags|=134221824,t)}function Mo(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Fu(l.return,t,e)}function Co(l){for(var t=null;l!==null;){var e=l.alternate;e!==null&&ui(e)===null&&(t=l),l=l.sibling}return t}function ji(l,t,e,a,n,u){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n,treeForkCount:u}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=e,c.tailMode=n,c.treeForkCount=u)}function Cs(l){var t=l.child;for(l.child=null;t!==null;){var e=t.sibling;t.sibling=l.child,l.child=t,t=e}}function Ds(l,t,e){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=ct.current;if(t.flags&128)return Jn(t,c),null;var s=(c&2)!==0;if(s?(c=c&1|2,t.flags|=128):c&=1,Jn(t,c),n==="backwards"&&l!==null?(Cs(l),Il(l,t,a,e),Cs(l)):Il(l,t,a,e),a=yl?Yn:0,!s&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Mo(l,e,t);else if(l.tag===19)Mo(l,e,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"backwards":e=Co(t.child),e===null?(n=t.child,t.child=null):(n=e.sibling,e.sibling=null,Cs(t)),ji(t,!0,n,null,u,a);break;case"unstable_legacy-backwards":for(e=null,n=t.child,t.child=null;n!==null;){if(l=n.alternate,l!==null&&ui(l)===null){t.child=n;break}l=n.sibling,n.sibling=e,e=n,n=l}ji(t,!0,e,null,u,a);break;case"together":ji(t,!1,null,null,void 0,a);break;case"independent":t.memoizedState=null;break;default:e=Co(t.child),e===null?(n=t.child,t.child=null):(n=e.sibling,e.sibling=null),ji(t,!1,n,e,u,a)}return t.child}function Do(l,t,e){var a=t.pendingProps;return qe(t,t.type,a.value),Il(l,t,a.children,e),t.child}function Ne(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),Je|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(ma(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(o(153));if(t.child!==null){for(l=t.child,e=ge(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=ge(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Us(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Wu(l)))}function Sm(l,t,e){switch(t.tag){case 3:Tu(t,t.stateNode.containerInfo),qe(t,kl,l.memoizedState.cache),oa();break;case 27:case 5:ic(t);break;case 4:Tu(t,t.stateNode.containerInfo);break;case 10:qe(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ns(t),null;break;case 13:var a=t.memoizedState;if(a!==null){if(a.dehydrated!==null)return Xe(t),t.flags|=128,null;a=ma(l,t,e,!1);var n=t.child.childLanes;return a||(e&n)!==0?_o(l,t,e):(Xe(t),l=Ne(l,t,e),l!==null?l.sibling:null)}Xe(t);break;case 19:if(t.flags&128)return Ds(l,t,e);if(n=(l.flags&128)!==0,a=(e&t.childLanes)!==0,a||(ma(l,t,e,!1),a=(e&t.childLanes)!==0),n){if(a)return Ds(l,t,e);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Jn(t,ct.current),a)break;return null;case 22:return t.lanes=0,No(l,t,e,t.pendingProps);case 24:qe(t,kl,l.memoizedState.cache)}return Ne(l,t,e)}function Uo(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Fl=!0;else{if(!Us(l,e)&&(t.flags&128)===0)return Fl=!1,Sm(l,t,e);Fl=(l.flags&131072)!==0}else Fl=!1,yl&&(t.flags&1048576)!==0&&fr(t,Yn,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=xa(t.elementType),t.type=l,typeof l=="function")Gc(l)?(a=pa(l,a),t.tag=1,t=Oo(null,t,l,a,e)):(t.tag=0,t=Es(null,t,l,a,e));else{if(l!=null){var n=l.$$typeof;if(n===E){t.tag=11,t=So(null,t,l,a,e);break l}else if(n===cl){t.tag=14,t=bo(null,t,l,a,e);break l}else if(n===rl){t.tag=10,t.type=l,t=Do(null,t,e);break l}}throw t=Nl(l)||l,Error(o(306,t,""))}}return t;case 0:return Es(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,n=pa(a,t.pendingProps),Oo(l,t,a,n,e);case 3:l:{if(Tu(t,t.stateNode.containerInfo),l===null)throw Error(o(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,Pc(l,t),Kn(t,a,null,e);var c=t.memoizedState;if(a=c.cache,qe(t,kl,a),a!==u.cache&&Jc(t,[kl],e,!0),wn(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Ao(l,t,a,e);break l}else if(a!==n){n=Lt(Error(o(424)),t),Ln(n),t=Ao(l,t,a,e);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(ql=Zt(l.firstChild),tt=t,yl=!0,Re=null,Xt=!0,e=pr(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|134221824,e=e.sibling}else{if(oa(),a===n){t=Ne(l,t,e);break l}Il(l,t,a,e)}t=t.child}return t;case 26:return ln(l,t),l===null?(e=n1(t.type,null,t.pendingProps,null))?t.memoizedState=e:yl||(t.stateNode=Bh(t.type,t.pendingProps,mt.current,t)):t.memoizedState=n1(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return ic(t),l===null&&yl&&(a=t.stateNode=l1(t.type,t.pendingProps,mt.current),tt=t,Xt=!0,n=ql,We(t.type)?(Mf=n,ql=Zt(a.firstChild)):ql=n),Il(l,t,t.pendingProps.children,e),ln(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&yl&&((n=a=ql)&&(a=mv(a,t.type,t.pendingProps,Xt),a!==null?(t.stateNode=a,tt=t,ql=Zt(a.firstChild),Xt=!1,n=!0):n=!1),n||He(t)),ic(t),n=t.type,u=t.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,bf(n,u)?a=null:c!==null&&bf(n,c)&&(t.flags|=32),t.memoizedState!==null&&(n=cs(l,t,fm,null,null,e),jn._currentValue=n),ln(l,t),Il(l,t,a,e),t.child;case 6:return l===null&&yl&&((l=e=ql)&&(e=vv(e,t.pendingProps,Xt),e!==null?(t.stateNode=e,tt=t,ql=null,l=!0):l=!1),l||He(t)),null;case 13:return _o(l,t,e);case 4:return Tu(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=Sa(t,null,a,e):Il(l,t,a,e),t.child;case 11:return So(l,t,t.type,t.pendingProps,e);case 7:return a=t.pendingProps,ln(l,t),Il(l,t,a,e),t.child;case 8:return Il(l,t,t.pendingProps.children,e),t.child;case 12:return Il(l,t,t.pendingProps.children,e),t.child;case 10:return Do(l,t,e);case 9:return n=t.type._context,a=t.pendingProps.children,va(t),n=ut(n),a=a(n),t.flags|=1,Il(l,t,a,e),t.child;case 14:return bo(l,t,t.type,t.pendingProps,e);case 15:return po(l,t,t.type,t.pendingProps,e);case 19:return Ds(l,t,e);case 31:return xm(l,t,e);case 22:return No(l,t,e,t.pendingProps);case 24:return va(t),a=ut(kl),l===null?(n=Fc(),n===null&&(n=Hl,u=kc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),t.memoizedState={parent:a,cache:n},Ic(t),qe(t,kl,n)):((l.lanes&e)!==0&&(Pc(l,t),Kn(t,null,null,e),wn()),n=l.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),qe(t,kl,a)):(a=u.cache,qe(t,kl,a),a!==n.cache&&Jc(t,[kl],e,!0))),Il(l,t,t.pendingProps.children,e),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=l===null?18882560:18874368:yl&&ku(t),l!==null&&l.memoizedProps.name!==a.name?t.flags|=4194816:ln(l,t),Il(l,t,a.children,e),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Te(l){l.flags|=4}function Rs(l,t,e,a,n){var u;if((u=(l.mode&32)!==0)&&(u=e===null?s1(t,a):s1(t,a)&&(a.src!==e.src||a.srcSet!==e.srcSet)),u){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if(mh())l.flags|=8192;else throw ja=ti,Wc}else l.flags&=-16777217}function Ro(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!f1(t))if(mh())l.flags|=8192;else throw ja=ti,Wc}function Si(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?cd():536870912,l.lanes|=t,un|=t)}function In(l,t){if(!yl)switch(l.tailMode){case"visible":break;case"collapsed":for(var e=l.tail,a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null;break;default:for(t=l.tail,e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?l.tail=null:e.sibling=null}}function Bl(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags&1206910976,a|=n.flags&1206910976,n.return=l,n=n.sibling;else for(n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}function bm(l,t,e){var a=t.pendingProps;switch(Vc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bl(t),null;case 1:return Bl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Se(kl),Ca(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(Ja(t)?Te(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,wc())),Bl(t),null;case 26:var n=t.type,u=t.memoizedState;return l===null?(Te(t),u!==null?(Bl(t),Ro(t,u)):(Bl(t),Rs(t,n,null,a,e))):u?u!==l.memoizedState?(Te(t),Bl(t),Ro(t,u)):(Bl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Te(t),Bl(t),Rs(t,n,l,a,e)),null;case 27:if(zu(t),e=mt.current,n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Te(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Bl(t),t.subtreeFlags&=-33554433,null}l=al.current,Ja(t)?rr(t):(l=l1(n,a,e),t.stateNode=l,Te(t))}return Bl(t),t.subtreeFlags&=-33554433,null;case 5:if(zu(t),n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Te(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Bl(t),t.subtreeFlags&=-33554433,null}if(u=al.current,Ja(t))rr(t);else{var c=fu(mt.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[nt]=t,u[jt]=a;l:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)u.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=u;l:switch(ft(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Te(t)}}return Bl(t),t.subtreeFlags&=-33554433,Rs(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Te(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(l=mt.current,Ja(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,n=tt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[nt]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Uh(l.nodeValue,e)),l||He(t,!0)}else l=fu(l).createTextNode(a),l[nt]=t,t.stateNode=l}return Bl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=Ja(t),e!==null){if(l===null){if(!a)throw Error(o(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(557));l[nt]=t}else oa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Bl(t),l=!1}else e=wc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(Ct(t),t):(Ct(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Bl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=Ja(t),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(o(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[nt]=t}else oa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Bl(t),n=!1}else n=wc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Ct(t),t):(Ct(t),null)}return Ct(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),e!==l&&e&&(t.child.flags|=8192),Si(t,t.updateQueue),Bl(t),null);case 4:return Ca(),l===null&&yf(t.stateNode.containerInfo),t.flags|=67108864,Bl(t),null;case 10:return Se(t.type),Bl(t),null;case 19:if(us(t),a=t.memoizedState,a===null)return Bl(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)In(a,!1);else{if(Zl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(u=ui(l),u!==null){for(t.flags|=128,In(a,!1),l=u.updateQueue,t.updateQueue=l,Si(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)ir(e,l),e=e.sibling;return Jn(t,ct.current&1|2),yl&&xe(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&Et()>Di&&(t.flags|=128,n=!0,In(a,!1),t.lanes=4194304)}else{if(!n)if(l=ui(u),l!==null){if(t.flags|=128,n=!0,l=l.updateQueue,t.updateQueue=l,Si(t,l),In(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!u.alternate&&!yl)return Bl(t),null}else 2*Et()-a.renderingStartTime>Di&&e!==536870912&&(t.flags|=128,n=!0,In(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(l=a.last,l!==null?l.sibling=u:t.child=u,a.last=u)}if(a.tail!==null){l=a.tail;l:{for(e=l;e!==null;){if(e.alternate!==null){e=!1;break l}e=e.sibling}e=!0}return a.rendering=l,a.tail=l.sibling,a.renderingStartTime=Et(),l.sibling=null,u=ct.current,u=n?u&1|2:u&1,a.tailMode==="visible"||a.tailMode==="collapsed"||!e||yl?Jn(t,u):(e=u,A(it,t),A(ct,e),ht===null&&(ht=t)),yl&&xe(t,a.treeForkCount),l}return Bl(t),null;case 22:case 23:return Ct(t),as(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(Bl(t),t.subtreeFlags&6&&(t.flags|=8192)):Bl(t),e=t.updateQueue,e!==null&&Si(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&g(ga),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Se(kl),Bl(t),null;case 25:return null;case 30:return t.flags|=33554432,Bl(t),null}throw Error(o(156,t.tag))}function pm(l,t){switch(Vc(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Se(kl),Ca(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return zu(t),null;case 31:if(t.memoizedState!==null){if(Ct(t),t.alternate===null)throw Error(o(340));oa()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(Ct(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(o(340));oa()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return us(t),l=t.flags,l&65536?(t.flags=l&-65537|128,l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null),t.flags|=4,t):null;case 4:return Ca(),null;case 10:return Se(t.type),null;case 22:case 23:return Ct(t),as(),l!==null&&g(ga),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Se(kl),null;case 25:return null;default:return null}}function Ho(l,t){switch(Vc(t),t.tag){case 3:Se(kl),Ca();break;case 26:case 27:case 5:zu(t);break;case 4:Ca();break;case 31:t.memoizedState!==null&&Ct(t);break;case 13:Ct(t);break;case 19:us(t);break;case 10:Se(t.type);break;case 22:case 23:Ct(t),as(),l!==null&&g(ga);break;case 24:Se(kl)}}function Pn(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&l)===l){a=void 0;var u=e.create,c=e.inst;a=u(),c.destroy=a}e=e.next}while(e!==n)}}catch(s){Cl(t,t.return,s)}}function Ze(l,t,e){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&l)===l){var c=a.inst,s=c.destroy;if(s!==void 0){c.destroy=void 0,n=t;var f=e,v=s;try{v()}catch(S){Cl(n,f,S)}}}a=a.next}while(a!==u)}}catch(S){Cl(t,t.return,S)}}function qo(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{Tr(t,e)}catch(a){Cl(l,l.return,a)}}}function Bo(l,t,e){e.props=pa(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){Cl(l,t,a)}}function ee(l,t){try{var e=l.ref;if(e!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:var n=l.stateNode,u=ve(l.memoizedProps,n);(n.ref===null||n.ref.name!==u)&&(n.ref=Zh(u)),a=n.ref;break;case 7:if(l.stateNode===null){var c=new qt(l);j(l.child,!1,ov,c,void 0,void 0),l.stateNode=c}a=l.stateNode;break;default:a=l.stateNode}typeof e=="function"?l.refCleanup=e(a):e.current=a}}catch(s){Cl(l,t,s)}}function st(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){Cl(l,t,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){Cl(l,t,n)}else e.current=null}function bi(l,t){if((l.tag===5||l.tag===27||l.tag===6)&&l.alternate===null&&t!==null)for(var e=0;e<t.length;e++)Fh(l.stateNode,t[e])}function Yo(l){for(var t=l.return;t!==null&&(qs(t)&&Fh(l.stateNode,t.stateNode),!Hs(t));)t=t.return}function lu(l){for(var t=l.return;t!==null&&(qs(t)&&hv(l.stateNode,t.stateNode),!Hs(t));)t=t.return}function Hs(l){return l.tag===5||l.tag===3||l.tag===27}function qs(l){return l&&l.tag===7&&l.stateNode!==null}function Bs(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){Cl(l,l.return,n)}}function Ys(l,t,e){try{var a=l.stateNode;km(a,l.type,e,t),a[jt]=t}catch(n){Cl(l,l.return,n)}}function Lo(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&We(l.type)||l.tag===4}function Ls(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||Lo(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&We(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Gs(l,t,e,a){var n=l.tag;if(n===5||n===6)n=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(n,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(n),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=Pt)),bi(l,a),El=!0;else if(n!==4&&(n===27&&(bi(l,a),a=null,We(l.type)&&(e=l.stateNode,t=null)),l=l.child,l!==null))for(Gs(l,t,e,a),l=l.sibling;l!==null;)Gs(l,t,e,a),l=l.sibling}function pi(l,t,e,a){var n=l.tag;if(n===5||n===6)n=l.stateNode,t?e.insertBefore(n,t):e.appendChild(n),bi(l,a),El=!0;else if(n!==4&&(n===27&&(bi(l,a),a=null,We(l.type)&&(e=l.stateNode)),l=l.child,l!==null))for(pi(l,t,e,a),l=l.sibling;l!==null;)pi(l,t,e,a),l=l.sibling}function Go(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);ft(t,a,e),t[nt]=l,t[jt]=e}catch(u){Cl(l,l.return,u)}}var Ni=!1,Dt=null;function Qo(l){(l.tag===30||(l.subtreeFlags&33554432)!==0)&&(Ni=!0)}var ae=null;function Xo(){var l=ae;return ae=null,l}var bt=0;function tn(l,t,e,a,n){return bt=0,Vo(l.child,t,e,a,n)}function Vo(l,t,e,a,n){for(var u=!1;l!==null;){if(l.tag===5){var c=l.stateNode;if(a!==null){var s=Tf(c);a.push(s),s.view&&(u=!0)}else u||Tf(c).view&&(u=!0);Ni=!0,Xh(c,bt===0?t:t+"_"+bt,e),bt++}else(l.tag!==22||l.memoizedState===null)&&(l.tag===30&&n||Vo(l.child,t,e,a,n)&&(u=!0));l=l.sibling}return u}function ne(l,t){for(;l!==null;)l.tag===5?Vh(l.stateNode,l.memoizedProps):(l.tag!==22||l.memoizedState===null)&&(l.tag===30&&t||ne(l.child,t)),l=l.sibling}function Ti(l){if((l.subtreeFlags&18874368)!==0)for(l=l.child;l!==null;){if((l.tag!==22||l.memoizedState===null)&&(Ti(l),l.tag===30&&(l.flags&18874368)!==0&&l.stateNode.paired)){var t=l.memoizedProps;if(t.name==null||t.name==="auto")throw Error(o(544));var e=t.name;t=ye(t.default,t.share),t!=="none"&&(tn(l,e,t,null,!1)||ne(l.child,!1))}l=l.sibling}}function Qs(l,t){if(l.tag===30){var e=l.stateNode,a=l.memoizedProps,n=ve(a,e),u=ye(a.default,e.paired?a.share:a.enter);u!=="none"?tn(l,n,u,null,!1)?(Ti(l),e.paired||t||dn(l,a.onEnter)):ne(l.child,!1):Ti(l)}else if((l.subtreeFlags&33554432)!==0)for(l=l.child;l!==null;)Qs(l,t),l=l.sibling;else Ti(l)}function Xs(l){if(Dt!==null&&Dt.size!==0){var t=Dt;if((l.subtreeFlags&18874368)!==0)for(l=l.child;l!==null;){if(l.tag!==22||l.memoizedState===null){if(l.tag===30&&(l.flags&18874368)!==0){var e=l.memoizedProps,a=e.name;if(a!=null&&a!=="auto"){var n=t.get(a);if(n!==void 0){var u=ye(e.default,e.share);if(u!=="none"&&(tn(l,a,u,null,!1)?(u=l.stateNode,n.paired=u,u.paired=n,dn(l,e.onShare)):ne(l.child,!1)),t.delete(a),t.size===0)break}}}Xs(l)}l=l.sibling}}}function Vs(l){if(l.tag===30){var t=l.memoizedProps,e=ve(t,l.stateNode),a=Dt!==null?Dt.get(e):void 0,n=ye(t.default,a!==void 0?t.share:t.exit);n!=="none"&&(tn(l,e,n,null,!1)?a!==void 0?(n=l.stateNode,a.paired=n,n.paired=a,Dt.delete(e),dn(l,t.onShare)):dn(l,t.onExit):ne(l.child,!1)),Dt!==null&&Xs(l)}else if((l.subtreeFlags&33554432)!==0)for(l=l.child;l!==null;)Vs(l),l=l.sibling;else Dt!==null&&Xs(l)}function Zo(l){for(l=l.child;l!==null;){if(l.tag===30){var t=l.memoizedProps,e=ve(t,l.stateNode);t=ye(t.default,t.update),l.flags&=-5,t!=="none"&&tn(l,e,t,l.memoizedState=[],!1)}else(l.subtreeFlags&33554432)!==0&&Zo(l);l=l.sibling}}function Zs(l){if((l.subtreeFlags&18874368)!==0)for(l=l.child;l!==null;){if(l.tag!==22||l.memoizedState===null){if(l.tag===30&&(l.flags&18874368)!==0){var t=l.stateNode;t.paired!==null&&(t.paired=null,ne(l.child,!1))}Zs(l)}l=l.sibling}}function zi(l){if(l.tag===30)l.stateNode.paired=null,ne(l.child,!1),Zs(l);else if((l.subtreeFlags&33554432)!==0)for(l=l.child;l!==null;)zi(l),l=l.sibling;else Zs(l)}function wo(l){for(l=l.child;l!==null;)l.tag===30?ne(l.child,!1):(l.subtreeFlags&33554432)!==0&&wo(l),l=l.sibling}function ws(l,t,e,a,n,u,c){for(var s=!1;t!==null;){if(t.tag===5){var f=t.stateNode;if(u!==null&&bt<u.length){var v=u[bt],S=Tf(f);(v.view||S.view)&&(s=!0);var T;if(T=(l.flags&4)===0)if(S.clip)T=!0;else{T=v.rect;var h=S.rect;T=T.y!==h.y||T.x!==h.x||T.height!==h.height||T.width!==h.width}T&&(l.flags|=4),S.abs?S=!v.abs:(v=v.rect,S=S.rect,S=v.height!==S.height||v.width!==S.width),S&&(l.flags|=32)}else l.flags|=32;(l.flags&4)!==0&&Xh(f,bt===0?e:e+"_"+bt,n),s&&(l.flags&4)!==0||(ae===null&&(ae=[]),ae.push(f,bt===0?a:a+"_"+bt,t.memoizedProps)),bt++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&c?l.flags|=t.flags&32:ws(l,t.child,e,a,n,u,c)&&(s=!0));t=t.sibling}return s}function Ko(l,t){for(l=l.child;l!==null;){if(l.tag===30){var e=l.memoizedProps,a=l.stateNode,n=ve(e,a),u=ye(e.default,e.update),c;c=l.memoizedState,l.memoizedState=null,a=l;var s=l.child;bt=0,n=ws(a,s,n,n,u,c,!1),(l.flags&4)!==0&&n&&dn(l,e.onUpdate)}else(l.subtreeFlags&33554432)!==0&&Ko(l);l=l.sibling}}var et=!1,_l=!1,ue=!1,Ks=!1,Jo=typeof WeakSet=="function"?WeakSet:Set,at=null,ie=!1,tu=!1,Ei=!1,Js=!1;function Nm(l,t,e){if(l=l.containerInfo,jf=Sn,l=Fd(l),Uc(l)){if("selectionStart"in l)var a={start:l.selectionStart,end:l.selectionEnd};else l:{a=(a=l.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var u=n.anchorOffset,c=n.focusNode;n=n.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break l}var s=0,f=-1,v=-1,S=0,T=0,h=l,x=null;t:for(;;){for(var D;h!==a||u!==0&&h.nodeType!==3||(f=s+u),h!==c||n!==0&&h.nodeType!==3||(v=s+n),h.nodeType===3&&(s+=h.nodeValue.length),(D=h.firstChild)!==null;)x=h,h=D;for(;;){if(h===l)break t;if(x===a&&++S===u&&(f=s),x===c&&++T===n&&(v=s),(D=h.nextSibling)!==null)break;h=x,x=h.parentNode}h=D}a=f===-1||v===-1?null:{start:f,end:v}}else a=null}a=a||{start:0,end:0}}else a=null;for(Sf={focusedElem:l,selectionRange:a},Sn=!1,e=(e&335544064)===e,at=t,t=e?9270:1024;at!==null;){if(l=at,e&&(a=l.deletions,a!==null))for(u=0;u<a.length;u++)e&&Vs(a[u]);if(l.alternate===null&&(l.flags&2)!==0)e&&Qo(l),Oi(e);else{if(l.tag===22){if(a=l.alternate,l.memoizedState!==null){a!==null&&a.memoizedState===null&&e&&Vs(a),Oi(e);continue}else if(a!==null&&a.memoizedState!==null){e&&Qo(l),Oi(e);continue}}a=l.child,(l.subtreeFlags&t)!==0&&a!==null?(a.return=l,at=a):(e&&Zo(l),Oi(e))}}Dt=null}function Oi(l){for(;at!==null;){var t=at,e=l,a=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((n&1024)!==0&&a!==null){e=void 0,n=a.memoizedProps,a=a.memoizedState;var u=t.stateNode;try{var c=pa(t.type,n);e=u.getSnapshotBeforeUpdate(c,a),u.__reactInternalSnapshotBeforeUpdate=e}catch(s){Cl(t,t.return,s)}}break;case 3:if((n&1024)!==0){if(a=t.stateNode.containerInfo,e=a.nodeType,e===9)Of(a);else if(e===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Of(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:e&&a!==null&&(e=ve(a.memoizedProps,a.stateNode),n=t.memoizedProps,n=ye(n.default,n.update),n!=="none"&&tn(a,e,n,a.memoizedState=[],!0));break;default:if((n&1024)!==0)throw Error(o(163))}if(a=t.sibling,a!==null){a.return=t.return,at=a;break}at=t.return}}function ko(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:ce(l,e),a&4&&Pn(5,e);break;case 1:if(ce(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(c){Cl(e,e.return,c)}else{var n=pa(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(n,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){Cl(e,e.return,c)}}a&64&&qo(e),a&512&&ee(e,e.return);break;case 3:if(ce(l,e),a&64&&(l=e.updateQueue,l!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{Tr(l,t)}catch(c){Cl(e,e.return,c)}}break;case 27:t===null&&a&4&&Go(e);case 26:case 5:ce(l,e),t===null&&a&4&&Bs(e),a&512&&ee(e,e.return);break;case 12:ce(l,e);break;case 31:ce(l,e),a&4&&Io(l,e);break;case 13:ce(l,e),a&4&&Po(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=Hm.bind(null,e),yv(l,e))));break;case 22:if(a=e.memoizedState!==null||et,!a){var u=t!==null&&t.memoizedState!==null||_l;t=et,n=_l,et=a,(_l=u)&&!n?(a=2,(e.subtreeFlags&8772)!==0&&(a|=1),Ft(l,e,a)):ce(l,e),et=t,_l=n}break;case 30:ce(l,e),a&512&&ee(e,e.return);break;case 7:a&512&&ee(e,e.return);default:ce(l,e)}}function ks(l,t){for(l=l.child;l!==null;)$o(l,t),l=l.sibling}function $o(l,t){switch(l.tag){case 5:case 26:try{var e=l.stateNode;if(t){var a=e.style;typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}else{var n=l.stateNode,u=l.memoizedProps.style,c=u!=null&&u.hasOwnProperty("display")?u.display:null;n.style.display=c==null||typeof c=="boolean"?"":(""+c).trim()}}catch(f){Cl(l,l.return,f)}$s(l,t);break;case 6:try{l.stateNode.nodeValue=t?"":l.memoizedProps,El=!0}catch(f){Cl(l,l.return,f)}break;case 18:try{var s=l.stateNode;t?Qh(s,!0):Qh(l.stateNode,!1)}catch(f){Cl(l,l.return,f)}break;case 22:case 23:l.memoizedState===null&&ks(l,t);break;default:ks(l,t)}}function $s(l,t){if(l.subtreeFlags&67108864)for(l=l.child;l!==null;){l:{var e=l,a=t;switch(e.tag){case 4:$o(e,a);break l;case 22:e.memoizedState===null&&$s(e,a);break l;default:$s(e,a)}}l=l.sibling}}function Fo(l){var t=l.alternate;t!==null&&(l.alternate=null,Fo(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&Du(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var Gl=null,pt=!1;function kt(l,t,e){for(e=e.child;e!==null;)Wo(l,t,e),e=e.sibling}function Wo(l,t,e){if(Ot&&typeof Ot.onCommitFiberUnmount=="function")try{Ot.onCommitFiberUnmount(Tn,e)}catch{}switch(e.tag){case 26:_l||st(e,t),kt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&!_l&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:_l||st(e,t),lu(e);var a=Gl,n=pt;We(e.type)&&(Gl=e.stateNode,pt=!1),kt(l,t,e),t1(e.stateNode,e.type,e.memoizedProps),Gl=a,pt=n;break;case 5:_l||st(e,t),lu(e);case 6:if(e.tag===6&&lu(e),a=Gl,n=pt,Gl=null,kt(l,t,e),Gl=a,pt=n,Gl!==null)if(pt)try{(Gl.nodeType===9?Gl.body:Gl.nodeName==="HTML"?Gl.ownerDocument.body:Gl).removeChild(e.stateNode),El=!0}catch(u){Cl(e,t,u)}else try{Gl.removeChild(e.stateNode),El=!0}catch(u){Cl(e,t,u)}break;case 18:Gl!==null&&(pt?(l=Gl,Gh(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),bn(l)):Gh(Gl,e.stateNode));break;case 4:a=Gl,n=pt,Gl=e.stateNode.containerInfo,pt=!0,kt(l,t,e),Gl=a,pt=n;break;case 0:case 11:case 14:case 15:Ze(2,e,t),_l||Ze(4,e,t),kt(l,t,e);break;case 1:_l||(st(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&Bo(e,t,a)),kt(l,t,e);break;case 21:kt(l,t,e);break;case 22:_l=(a=_l)||e.memoizedState!==null,kt(l,t,e),_l=a;break;case 30:st(e,t),kt(l,t,e);break;case 7:_l||st(e,t),kt(l,t,e);break;default:kt(l,t,e)}}function Io(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{bn(l)}catch(e){Cl(t,t.return,e)}}}function Po(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{bn(l)}catch(e){Cl(t,t.return,e)}}function Tm(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Jo),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Jo),t;default:throw Error(o(435,l.tag))}}function Ai(l,t){var e=Tm(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var n=qm.bind(null,l,a);a.then(n,n)}})}function gt(l,t,e){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var u=a[n],c=l,s=t,f=s;l:for(;f!==null;){switch(f.tag){case 27:if(We(f.type)){Gl=f.stateNode,pt=!1;break l}break;case 5:Gl=f.stateNode,pt=!1;break l;case 3:case 4:Gl=f.stateNode.containerInfo,pt=!0;break l}f=f.return}if(Gl===null)throw Error(o(160));Wo(c,s,u),Gl=null,pt=!1,c=u.alternate,c!==null&&(c.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)lh(t,l,e),t=t.sibling}var $t=null;function lh(l,t,e){var a=l.alternate,n=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:if(n&4&&(a=l.updateQueue,a=a!==null?a.events:null,a!==null))for(var u=0;u<a.length;u++){var c=a[u];c.ref.impl=c.nextImpl}gt(t,l,e),xt(l),n&4&&(Ze(3,l,l.return),Pn(3,l),Ze(5,l,l.return));break;case 1:gt(t,l,e),xt(l),n&512&&(_l||a===null||st(a,a.return)),n&64&&et&&(l=l.updateQueue,l!==null&&(t=l.callbacks,t!==null&&(e=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=e===null?t:e.concat(t))));break;case 26:if(u=$t,gt(t,l,e),xt(l),n&512&&(_l||a===null||st(a,a.return)),n&4)if(n=a!==null?a.memoizedState:null,e=l.memoizedState,a===null)if(e===null)if(l.stateNode===null)if(et)l.stateNode=Bh(l.type,l.memoizedProps,t.containerInfo,l);else{l:{t=l.type,e=l.memoizedProps,n=u.ownerDocument||u;t:switch(t){case"title":a=n.getElementsByTagName("title")[0],(!a||a[On]||a[nt]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(t),n.head.insertBefore(a,n.querySelector("head > title"))),ft(a,t,e),a[nt]=l,lt(a),t=a;break l;case"link":if(u=c1("link","href",n).get(t+(e.href||""))){for(c=0;c<u.length;c++)if(a=u[c],a.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&a.getAttribute("rel")===(e.rel==null?null:e.rel)&&a.getAttribute("title")===(e.title==null?null:e.title)&&a.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){u.splice(c,1);break t}}a=n.createElement(t),ft(a,t,e),n.head.appendChild(a);break;case"meta":if(u=c1("meta","content",n).get(t+(e.content||""))){for(c=0;c<u.length;c++)if(a=u[c],a.getAttribute("content")===(e.content==null?null:""+e.content)&&a.getAttribute("name")===(e.name==null?null:e.name)&&a.getAttribute("property")===(e.property==null?null:e.property)&&a.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&a.getAttribute("charset")===(e.charSet==null?null:e.charSet)){u.splice(c,1);break t}}a=n.createElement(t),ft(a,t,e),n.head.appendChild(a);break;default:throw Error(o(468,t))}a[nt]=l,lt(a),t=a}l.stateNode=t}else et||Rf(u,l.type,l.stateNode);else l.stateNode=i1(u,e,l.memoizedProps);else n!==e?(n===null?(t=a.stateNode,t===null||_l||t.parentNode.removeChild(t)):n.count--,e===null?et||Rf(u,l.type,l.stateNode):i1(u,e,l.memoizedProps)):e===null&&l.stateNode!==null&&Ys(l,l.memoizedProps,a.memoizedProps);break;case 27:gt(t,l,e),xt(l),n&512&&(_l||a===null||st(a,a.return)),a!==null&&n&4&&Ys(l,l.memoizedProps,a.memoizedProps);break;case 5:if(u=ue,ue=!1,gt(t,l,e),ue=u,xt(l),n&512&&(_l||a===null||st(a,a.return)),l.flags&32){t=l.stateNode;try{Ba(t,""),El=!0}catch(S){Cl(l,l.return,S)}}n&4&&l.stateNode!=null&&(t=l.memoizedProps,Ys(l,t,a!==null?a.memoizedProps:t)),n&1024&&(Ks=!0);break;case 6:if(gt(t,l,e),xt(l),n&4){if(l.stateNode===null)throw Error(o(162));t=l.memoizedProps,e=l.stateNode;try{e.nodeValue=t,El=!0}catch(S){Cl(l,l.return,S)}}break;case 3:if(El=!1,Vi=null,u=$t,$t=du(t.containerInfo),gt(t,l,e),$t=u,xt(l),n&4&&a!==null&&a.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(S){Cl(l,l.return,S)}Ks&&(Ks=!1,th(l)),El=!1;break;case 4:n=ue,ue=et,a=Sd(),u=$t,$t=du(l.stateNode.containerInfo),gt(t,l,e),xt(l),$t=u,El&&tu&&(Ei=!0),El=a,ue=n;break;case 12:gt(t,l,e),xt(l);break;case 31:gt(t,l,e),xt(l),n&4&&(t=l.updateQueue,t!==null&&(l.updateQueue=null,Ai(l,t)));break;case 13:gt(t,l,e),xt(l),l.child.flags&8192&&l.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Ci=Et()),n&4&&(t=l.updateQueue,t!==null&&(l.updateQueue=null,Ai(l,t)));break;case 22:u=l.memoizedState!==null,c=a!==null&&a.memoizedState!==null;var s=et,f=_l,v=ue;et=s||u,ue=v||u,_l=f||c,gt(t,l,e),_l=f,ue=v,et=s,xt(l),n&8192&&(t=l.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,!u||a===null||c||et||_l||(t=c||_l,e=et,a=_l,et=u||et,_l=t,we(l,2),et=e,_l=a),!u&&ue||ks(l,u)),n&4&&(t=l.updateQueue,t!==null&&(e=t.retryQueue,e!==null&&(t.retryQueue=null,Ai(l,e))));break;case 19:gt(t,l,e),xt(l),n&4&&(t=l.updateQueue,t!==null&&(l.updateQueue=null,Ai(l,t)));break;case 30:n&512&&(_l||a===null||st(a,a.return)),n=Sd(),u=tu,c=(e&335544064)===e,s=l.memoizedProps,tu=c&&ye(s.default,s.update)!=="none",gt(t,l,e),xt(l),c&&a!==null&&El&&(l.flags|=4),tu=u,El=n;break;case 21:break;case 7:n&512&&(_l||a===null||st(a,a.return)),a&&a.stateNode!==null&&(a.stateNode._fragmentFiber=l);default:gt(t,l,e),xt(l)}}function xt(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(Lo(a)){e=a;break}a=a.return}a=null;for(var n=l.return;n!==null;){if(qs(n)){var u=n.stateNode;a===null?a=[u]:a.push(u)}if(Hs(n))break;n=n.return}var c=a;if(e==null)throw Error(o(160));switch(e.tag){case 27:var s=e.stateNode,f=Ls(l);pi(l,f,s,c);break;case 5:var v=e.stateNode;e.flags&32&&(Ba(v,""),e.flags&=-33);var S=Ls(l);pi(l,S,v,c);break;case 3:case 4:var T=e.stateNode.containerInfo,h=Ls(l);Gs(l,h,T,c);break;default:throw Error(o(161))}}catch(x){Cl(l,l.return,x)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function th(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;th(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,Sn=!0,t.reset(),Sn=!1),l=l.sibling}}function en(l,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)eh(t,l),t=t.sibling;else Ko(t)}function eh(l,t){var e=l.alternate;if(e===null)Qs(l,!1);else switch(l.tag){case 3:if(Js=ie=!1,Xo(),en(t,l),!ie&&!Ei){if(l=ae,l!==null)for(var a=0;a<l.length;a+=3){e=l[a];var n=l[a+1];Vh(e,l[a+2]),e=e.ownerDocument.documentElement,e!==null&&e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+n+")"})}l=t.containerInfo,l=l.nodeType===9?l.documentElement:l.ownerDocument.documentElement,l!==null&&l.style.viewTransitionName===""&&(l.style.viewTransitionName="none",l.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),l.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Js=!0}ae=null;break;case 5:en(t,l);break;case 4:a=ie,ie=!1,en(t,l),ie&&(Ei=!0),ie=a;break;case 22:l.memoizedState===null&&(e.memoizedState!==null?Qs(l,!1):en(t,l));break;case 30:a=ie,n=Xo(),ie=!1,en(t,l),ie&&(l.flags|=4);var u=l.memoizedProps,c=l.stateNode;t=ve(u,c),c=ve(e.memoizedProps,c);var s=ye(u.default,u.update);s==="none"?t=!1:(u=e.memoizedState,e.memoizedState=null,e=l.child,bt=0,t=ws(l,e,t,c,s,u,!0),bt!==(u===null?0:u.length)&&(l.flags|=32)),(l.flags&4)!==0&&t?(dn(l,l.memoizedProps.onUpdate),ae=n):n!==null&&(n.push.apply(n,ae),ae=n),ie=(l.flags&32)!==0?!0:a;break;default:en(t,l)}}function ce(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ko(l,t.alternate,t),t=t.sibling}function we(l,t){for(l=l.child;l!==null;){var e=l,a=t;switch(e.tag){case 0:case 11:case 14:case 15:Ze(4,e,e.return),we(e,a);break;case 1:st(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Bo(e,e.return,n),we(e,a);break;case 27:(a&2)!==0&&t1(e.stateNode,e.type,e.memoizedProps);case 5:st(e,e.return),e.tag!==5&&e.tag!==27||lu(e),we(e,a);break;case 6:lu(e);break;case 26:st(e,e.return),n=e.stateNode,e.memoizedState!==null||n===null||_l||n.parentNode.removeChild(n),we(e,a);break;case 22:e.memoizedState===null&&we(e,a);break;case 30:st(e,e.return),we(e,a);break;case 7:st(e,e.return);default:we(e,a)}l=l.sibling}}function Ft(l,t,e){for(e=(t.subtreeFlags&8772)!==0?e:e&-2,t=t.child;t!==null;){var a=t.alternate,n=l,u=t,c=u.flags,s=(e&1)!==0;switch(u.tag){case 0:case 11:case 15:Ft(n,u,e),Pn(4,u);break;case 1:if(Ft(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(S){Cl(a,a.return,S)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var v=n.shared.hiddenCallbacks;if(v!==null)for(n.shared.hiddenCallbacks=null,n=0;n<v.length;n++)Nr(v[n],f)}catch(S){Cl(a,a.return,S)}}s&&c&64&&qo(u),ee(u,u.return);break;case 27:(e&2)!==0&&Go(u);case 5:u.tag!==5&&u.tag!==27||Yo(u),Ft(n,u,e),s&&a===null&&c&4&&Bs(u),ee(u,u.return);break;case 6:Yo(u);break;case 26:f=u.stateNode,u.memoizedState!==null||f===null||et||Rf(du(f.ownerDocument),u.type,f),Ft(n,u,e),s&&a===null&&c&4&&Bs(u),ee(u,u.return);break;case 12:Ft(n,u,e);break;case 31:Ft(n,u,e),s&&c&4&&Io(n,u);break;case 13:Ft(n,u,e),s&&c&4&&Po(n,u);break;case 22:u.memoizedState===null&&Ft(n,u,e),ee(u,u.return);break;case 30:Ft(n,u,e),ee(u,u.return);break;case 7:ee(u,u.return);default:Ft(n,u,e)}t=t.sibling}}function Fs(l,t){var e=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==e&&(l!=null&&l.refCount++,e!=null&&Gn(e))}function Ws(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Gn(l))}function Vt(l,t,e,a){var n=(e&335544064)===e;if(t.subtreeFlags&(n?10262:10256))for(t=t.child;t!==null;)ah(l,t,e,a),t=t.sibling;else n&&wo(t)}function ah(l,t,e,a){var n=(e&335544064)===e;n&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&zi(t);var u=t.flags;switch(t.tag){case 0:case 11:case 15:Vt(l,t,e,a),u&2048&&Pn(9,t);break;case 1:Vt(l,t,e,a);break;case 3:Vt(l,t,e,a),n&&Js&&(l=l.containerInfo,l=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,l.style.viewTransitionName==="root"&&(l.style.viewTransitionName=""),l=l.ownerDocument.documentElement,l!==null&&l.style.viewTransitionName==="none"&&(l.style.viewTransitionName="")),u&2048&&(u=null,t.alternate!==null&&(u=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==u&&(t.refCount++,u!=null&&Gn(u)));break;case 12:if(u&2048){Vt(l,t,e,a),u=t.stateNode;try{var c=t.memoizedProps,s=c.id,f=c.onPostCommit;typeof f=="function"&&f(s,t.alternate===null?"mount":"update",u.passiveEffectDuration,-0)}catch(v){Cl(t,t.return,v)}}else Vt(l,t,e,a);break;case 31:Vt(l,t,e,a);break;case 13:Vt(l,t,e,a);break;case 23:break;case 22:c=t.stateNode,s=t.alternate,t.memoizedState!==null?(n&&s!==null&&s.memoizedState===null&&zi(s),c._visibility&2?Vt(l,t,e,a):eu(l,t)):(n&&s!==null&&s.memoizedState!==null&&zi(t),c._visibility&2?Vt(l,t,e,a):(c._visibility|=2,an(l,t,e,a,(t.subtreeFlags&10256)!==0||!1))),u&2048&&Fs(s,t);break;case 24:Vt(l,t,e,a),u&2048&&Ws(t.alternate,t);break;case 30:n&&(u=t.alternate,u!==null&&(ne(u.child,!0),ne(t.child,!0))),Vt(l,t,e,a);break;default:Vt(l,t,e,a)}}function an(l,t,e,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=l,c=t,s=e,f=a,v=c.flags;switch(c.tag){case 0:case 11:case 15:an(u,c,s,f,n),Pn(8,c);break;case 23:break;case 22:var S=c.stateNode;c.memoizedState!==null?S._visibility&2?an(u,c,s,f,n):eu(u,c):(S._visibility|=2,an(u,c,s,f,n)),n&&v&2048&&Fs(c.alternate,c);break;case 24:an(u,c,s,f,n),n&&v&2048&&Ws(c.alternate,c);break;default:an(u,c,s,f,n)}t=t.sibling}}function eu(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,n=a.flags;switch(a.tag){case 22:eu(e,a),n&2048&&Fs(a.alternate,a);break;case 24:eu(e,a),n&2048&&Ws(a.alternate,a);break;default:eu(e,a)}t=t.sibling}}var Na=8192;function Ta(l,t,e){if(l.subtreeFlags&Na)for(l=l.child;l!==null;)nh(l,t,e),l=l.sibling}function nh(l,t,e){switch(l.tag){case 26:Ta(l,t,e),l.flags&Na&&(l.memoizedState!==null?Mv(e,$t,l.memoizedState,l.memoizedProps):(l=l.stateNode,(t&335544128)===t&&r1(e,l)));break;case 5:Ta(l,t,e),l.flags&Na&&(l=l.stateNode,(t&335544128)===t&&r1(e,l));break;case 3:case 4:var a=$t;$t=du(l.stateNode.containerInfo),Ta(l,t,e),$t=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=Na,Na=16777216,Ta(l,t,e),Na=a):Ta(l,t,e));break;case 30:if((l.flags&Na)!==0&&(a=l.memoizedProps.name,a!=null&&a!=="auto")){var n=l.stateNode;n.paired=null,Dt===null&&(Dt=new Map),Dt.set(a,n)}Ta(l,t,e);break;default:Ta(l,t,e)}}function uh(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}function au(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];at=a,ch(a,l)}uh(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)ih(l),l=l.sibling}function ih(l){switch(l.tag){case 0:case 11:case 15:au(l),l.flags&2048&&Ze(9,l,l.return);break;case 3:au(l);break;case 12:au(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,_i(l)):au(l);break;default:au(l)}}function _i(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];at=a,ch(a,l)}uh(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:Ze(8,t,t.return),_i(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,_i(t));break;default:_i(t)}l=l.sibling}}function ch(l,t){for(;at!==null;){var e=at;switch(e.tag){case 0:case 11:case 15:Ze(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Gn(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,at=a;else l:for(e=l;at!==null;){a=at;var n=a.sibling,u=a.return;if(Fo(a),a===e){at=null;break l}if(n!==null){n.return=u,at=n;break l}at=u}}}var zm={getCacheForType:function(l){var t=ut(kl),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return ut(kl).controller.signal}},Em=typeof WeakMap=="function"?WeakMap:Map,Ol=0,Hl=null,xl=null,Sl=0,Ml=0,Ut=null,Ke=!1,nn=!1,Is=!1,ze=0,Zl=0,Je=0,za=0,Mi=0,Rt=0,un=0,nu=null,Nt=null,Ps=!1,Ci=0,sh=0,Di=1/0,Ui=null,ke=null,Xl=0,Wt=null,Ea=null,se=0,lf=0,tf=null,fh=null,cn=null,sn=null,fn=null,uu=0,Ri=null;function Ht(){return(Ol&2)!==0&&Sl!==0?Sl&-Sl:w.T!==null?of():rd()}function dh(){if(Rt===0)if((Sl&536870912)===0||yl){var l=Au;Au<<=1,(Au&3932160)===0&&(Au=262144),Rt=l}else Rt=536870912;return l=it.current,l!==null&&(l.flags|=32),Rt}function dn(l,t){if(t!=null){var e=l.stateNode,a=e.ref;a===null&&(a=e.ref=Zh(ve(l.memoizedProps,e))),sn===null&&(sn=[]),sn.push(t.bind(null,a))}}function Tt(l,t,e){(l===Hl&&(Ml===2||Ml===9)||l.cancelPendingCommit!==null)&&(rn(l,0),$e(l,Sl,Rt,!1)),En(l,e),((Ol&2)===0||l!==Hl)&&(l===Hl&&((Ol&2)===0&&(za|=e),Zl===4&&$e(l,Sl,Rt,!1)),fe(l))}function rh(l,t,e){if((Ol&6)!==0)throw Error(o(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||zn(l,t),n=a?_m(l,t):af(l,t,!0),u=a;do{if(n===0){nn&&!a&&$e(l,t,0,!1);break}else{if(e=l.current.alternate,u&&!Om(e)){n=af(l,t,!1),u=!1;continue}if(n===2){if(u=t,l.errorRecoveryDisabledLanes&u)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;l:{var s=l;n=nu;var f=s.current.memoizedState.isDehydrated;if(f&&(rn(s,c).flags|=256),c=af(s,c,!1),c!==2&&c!==6){if(Is&&!f){s.errorRecoveryDisabledLanes|=u,za|=u,n=4;break l}u=Nt,Nt=n,u!==null&&(Nt===null?Nt=u:Nt.push.apply(Nt,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){rn(l,0),$e(l,t,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:$e(a,t,Rt,!Ke);break l;case 2:Nt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(n=Ci+300-Et(),10<n)){if($e(a,t,Rt,!Ke),Mu(a,0,!0)!==0)break l;se=t,a.timeoutHandle=Nf(oh.bind(null,a,e,Nt,Ui,Ps,t,Rt,za,un,Ke,u,"Throttled",-0,0),n);break l}oh(a,e,Nt,Ui,Ps,t,Rt,za,un,Ke,u,null,-0,0)}}break}while(!0);fe(l)}function oh(l,t,e,a,n,u,c,s,f,v,S,T,h,x){l.timeoutHandle=-1;var D=t.subtreeFlags,Q=(u&335544064)===u;if(T=null,(Q||D&8192||(D&16785408)===16785408)&&(T={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pt},Dt=null,nh(t,u,T),Q&&(D=T,Q=l.containerInfo,Q=(Q.nodeType===9?Q:Q.ownerDocument).__reactViewTransition,Q!=null&&(D.count++,D.waitingForViewTransition=!0,D=hu.bind(D),Q.finished.then(D,D))),D=(u&62914560)===u?Ci-Et():(u&4194048)===u?sh-Et():0,D=Cv(T,D),D!==null)){se=u,l.cancelPendingCommit=D(Sh.bind(null,l,t,u,e,a,n,c,s,f,v,S,T,null,h,x)),$e(l,u,c,!v);return}Sh(l,t,u,e,a,n,c,s,f,v,S,T)}function Om(l){for(var t=l;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var n=e[a],u=n.getSnapshot;n=n.value;try{if(!Mt(u(),n))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function $e(l,t,e,a){t=id(l,t),t&=~Mi,t&=~za,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var n=t;0<n;){var u=31-At(n),c=1<<u;a[u]=-1,n&=~c}e!==0&&sd(l,e,t)}function Hi(){return(Ol&6)===0?(iu(0),!1):!0}function ef(){if(xl!==null){if(Ml===0)var l=xl.return;else l=xl,je=ha=null,ds(l),Fa=null,Vn=0,l=xl;for(;l!==null;)Ho(l.alternate,l),l=l.return;xl=null}}function rn(l,t){var e=l.timeoutHandle;return e!==-1&&(l.timeoutHandle=-1,Wm(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),se=0,ef(),Hl=l,xl=e=ge(l.current,null),Sl=t,Ml=0,Ut=null,Ke=!1,nn=zn(l,t),Is=!1,un=Rt=Mi=za=Je=Zl=0,Nt=nu=null,Ps=!1,ze=id(l,t),Vu(),e}function hh(l,t){fl=null,w.H=mi,t===$a||t===li?(t=jr(),Ml=3):t===Wc?(t=jr(),Ml=4):Ml=t===zs?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ut=t,xl===null&&(Zl=1,vi(l,Lt(t,l.current)))}function mh(){var l=it.current;return l===null?!0:(Sl&4194048)===Sl?ht===null:(Sl&62914560)===Sl||(Sl&536870912)!==0?l===ht:!1}function vh(){var l=w.H;return w.H=mi,l===null?mi:l}function yh(){var l=w.A;return w.A=zm,l}function qi(){Zl=4,Ke||(Sl&4194048)!==Sl&&it.current!==null||(nn=!0),(Je&134217727)===0&&(za&134217727)===0||Hl===null||$e(Hl,Sl,Rt,!1)}function af(l,t,e){var a=Ol;Ol|=2;var n=vh(),u=yh();(Hl!==l||Sl!==t)&&(Ui=null,rn(l,t)),t=!1;var c=Zl;l:do try{if(Ml!==0&&xl!==null){var s=xl,f=Ut;switch(Ml){case 8:ef(),c=6;break l;case 3:case 2:case 9:case 6:it.current===null&&(t=!0);var v=Ml;if(Ml=0,Ut=null,on(l,s,f,v),e&&nn){c=0;break l}break;default:v=Ml,Ml=0,Ut=null,on(l,s,f,v)}}Am(),c=Zl;break}catch(S){hh(l,S)}while(!0);return t&&l.shellSuspendCounter++,je=ha=null,Ol=a,w.H=n,w.A=u,xl===null&&(Hl=null,Sl=0,Vu()),c}function Am(){for(;xl!==null;)gh(xl)}function _m(l,t){var e=Ol;Ol|=2;var a=vh(),n=yh();Hl!==l||Sl!==t?(Ui=null,Di=Et()+500,rn(l,t)):nn=zn(l,t);l:do try{if(Ml!==0&&xl!==null){t=xl;var u=Ut;t:switch(Ml){case 1:Ml=0,Ut=null,on(l,t,u,1);break;case 2:case 9:if(gr(u)){Ml=0,Ut=null,xh(t);break}t=function(){Ml!==2&&Ml!==9||Hl!==l||(Ml=7),fe(l)},u.then(t,t);break l;case 3:Ml=7;break l;case 4:Ml=5;break l;case 7:gr(u)?(Ml=0,Ut=null,xh(t)):(Ml=0,Ut=null,on(l,t,u,7));break;case 5:var c=null;switch(xl.tag){case 26:c=xl.memoizedState;case 5:case 27:var s=xl;if(c?f1(c):s.stateNode.complete){Ml=0,Ut=null;var f=s.sibling;if(f!==null)xl=f;else{var v=s.return;v!==null?(xl=v,Bi(v)):xl=null}break t}}Ml=0,Ut=null,on(l,t,u,5);break;case 6:Ml=0,Ut=null,on(l,t,u,6);break;case 8:ef(),Zl=6;break l;default:throw Error(o(462))}}Mm();break}catch(S){hh(l,S)}while(!0);return je=ha=null,w.H=a,w.A=n,Ol=e,xl!==null?0:(Hl=null,Sl=0,Vu(),Zl)}function Mm(){for(;xl!==null&&!J1();)gh(xl)}function gh(l){var t=Uo(l.alternate,l,ze);l.memoizedProps=l.pendingProps,t===null?Bi(l):xl=t}function xh(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=Eo(e,t,t.pendingProps,t.type,void 0,Sl);break;case 11:t=Eo(e,t,t.pendingProps,t.type.render,t.ref,Sl);break;case 5:ds(t);var a=t;a===tt&&(yl?($u(a),a.tag===5&&a.stateNode!=null&&(ql=a.stateNode)):($u(a),yl=!0));default:Ho(e,t),t=xl=ir(t,ze),t=Uo(e,t,ze)}l.memoizedProps=l.pendingProps,t===null?Bi(l):xl=t}function on(l,t,e,a){je=ha=null,ds(t),Fa=null,Vn=0;var n=t.return;try{if(gm(l,n,t,e,Sl)){Zl=1,vi(l,Lt(e,l.current)),xl=null;return}}catch(u){if(n!==null)throw xl=n,u;Zl=1,vi(l,Lt(e,l.current)),xl=null;return}t.flags&32768?(yl||a===1?l=!0:nn||(Sl&536870912)!==0?l=!1:(Ke=l=!0,(a===2||a===9||a===3||a===6)&&(a=it.current,a!==null&&a.tag===13&&(a.flags|=16384))),jh(t,l)):Bi(t)}function Bi(l){var t=l;do{if((t.flags&32768)!==0){jh(t,Ke);return}l=t.return;var e=bm(t.alternate,t,ze);if(e!==null){xl=e;return}if(t=t.sibling,t!==null){xl=t;return}xl=t=l}while(t!==null);Zl===0&&(Zl=5)}function jh(l,t){do{var e=pm(l.alternate,l);if(e!==null){e.flags&=32767,xl=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){xl=l;return}xl=l=e}while(l!==null);Zl=6,xl=null}function Sh(l,t,e,a,n,u,c,s,f,v,S,T){l.cancelPendingCommit=null;do Yi();while(Xl!==0);if((Ol&6)!==0)throw Error(o(327));if(t!==null){if(t===l.current)throw Error(o(177));l===Hl&&(xl=Hl=null,Sl=0),Ea=t,Wt=l,se=e,tf=n,fh=a,Cm(l,t,e,c,s,f,T)}}function Cm(l,t,e,a,n,u,c){var s=t.lanes|t.childLanes;if(lf=s,s|=Yc,a0(l,e,s,a,n,u),sn=null,(e&335544064)===e?(fn=um(l),a=10262):(fn=null,a=10256),(t.subtreeFlags&a)!==0||(t.flags&a)!==0?(l.callbackNode=null,l.callbackPriority=0,Bm(Eu,function(){return sf(),null})):(l.callbackNode=null,l.callbackPriority=0),Ni=!1,a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=w.T,w.T=null,n=el.p,el.p=2,u=Ol,Ol|=4;try{Nm(l,t,e)}finally{Ol=u,el.p=n,w.T=a}}Xl=1,Ni?cn=av(c,l.containerInfo,fn,nf,uf,Um,cf,sf,Dm):(nf(),uf(),cf())}function Dm(l){if(Xl!==0){var t=Wt.onRecoverableError;t(l,{componentStack:null})}}function Um(){Xl===3&&(Xl=0,eh(Ea,Wt),Xl=4)}function nf(){if(Xl===1){Xl=0;var l=Wt,t=Ea,e=se,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=w.T,w.T=null;var n=el.p;el.p=2;var u=Ol;Ol|=4;try{tu=Ei=!1,lh(t,l,e),e=Sf;var c=Fd(l.containerInfo),s=e.focusedElem,f=e.selectionRange;if(c!==s&&s&&s.ownerDocument&&$d(s.ownerDocument.documentElement,s)){if(f!==null&&Uc(s)){var v=f.start,S=f.end;if(S===void 0&&(S=v),"selectionStart"in s)s.selectionStart=v,s.selectionEnd=Math.min(S,s.value.length);else{var T=s.ownerDocument||document,h=T&&T.defaultView||window;if(h.getSelection){var x=h.getSelection(),D=s.textContent.length,Q=Math.min(f.start,D),dl=f.end===void 0?Q:Math.min(f.end,D);!x.extend&&Q>dl&&(c=dl,dl=Q,Q=c);var m=kd(s,Q),r=kd(s,dl);if(m&&r&&(x.rangeCount!==1||x.anchorNode!==m.node||x.anchorOffset!==m.offset||x.focusNode!==r.node||x.focusOffset!==r.offset)){var y=T.createRange();y.setStart(m.node,m.offset),x.removeAllRanges(),Q>dl?(x.addRange(y),x.extend(r.node,r.offset)):(y.setEnd(r.node,r.offset),x.addRange(y))}}}}for(T=[],x=s;x=x.parentNode;)x.nodeType===1&&T.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<T.length;s++){var N=T[s];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}Sn=!!jf,Sf=jf=null}finally{Ol=u,el.p=n,w.T=a}}l.current=t,Xl=2}}function uf(){if(Xl===2){Xl=0;var l=Wt,t=Ea,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=w.T,w.T=null;var a=el.p;el.p=2;var n=Ol;Ol|=4;try{ko(l,t.alternate,t)}finally{Ol=n,el.p=a,w.T=e}}Xl=3}}function cf(){if(Xl===4||Xl===3){Xl=0;var l=cn;cn=null,k1();var t=Wt,e=Ea,a=se,n=fh,u=(a&335544064)===a?10262:10256;if((e.subtreeFlags&u)!==0||(e.flags&u)!==0?Xl=5:(Xl=0,Ea=Wt=null,bh(t,t.pendingLanes)),u=t.pendingLanes,u===0&&(ke=null),vc(a),e=e.stateNode,Ot&&typeof Ot.onCommitFiberRoot=="function")try{Ot.onCommitFiberRoot(Tn,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=w.T,u=el.p,el.p=2,w.T=null;try{for(var c=t.onRecoverableError,s=0;s<n.length;s++){var f=n[s];c(f.value,{componentStack:f.stack})}}finally{w.T=e,el.p=u}}if(n=sn,c=fn,fn=null,n!==null&&(sn=null,c===null&&(c=[]),l!==null))for(f=0;f<n.length;f++)e=(0,n[f])(c),e!==void 0&&l.finished.finally(e);(se&3)!==0&&Yi(),fe(t),u=t.pendingLanes,(a&261930)!==0&&(u&42)!==0?t===Ri?uu++:(uu=0,Ri=t):(uu=0,Ri=null),iu(0)}}function bh(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Gn(t)))}function Yi(){return cn!==null&&(cn.skipTransition(),cn=null),nf(),uf(),cf(),sf()}function sf(){if(Xl!==5)return!1;var l=Wt,t=lf;lf=0;var e=vc(se),a=w.T,n=el.p;try{el.p=32>e?32:e,w.T=null,e=tf,tf=null;var u=Wt,c=se;if(Xl=0,Ea=Wt=null,se=0,(Ol&6)!==0)throw Error(o(331));var s=Ol;if(Ol|=4,ih(u.current),ah(u,u.current,c,e),Ol=s,iu(0,!1),Ot&&typeof Ot.onPostCommitFiberRoot=="function")try{Ot.onPostCommitFiberRoot(Tn,u)}catch{}return!0}finally{el.p=n,w.T=a,bh(l,t)}}function ph(l,t,e){t=Lt(e,t),t=Ts(l.stateNode,t,2),l=Ge(l,t,2),l!==null&&(En(l,2),fe(l))}function Cl(l,t,e){if(l.tag===3)ph(l,l,e);else for(;t!==null;){if(t.tag===3){ph(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ke===null||!ke.has(a))){l=Lt(e,l),e=xo(2),a=Ge(t,e,2),a!==null&&(jo(e,a,t,l),En(a,2),fe(a));break}}t=t.return}}function ff(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new Em;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(e)||(Is=!0,n.add(e),l=Rm.bind(null,l,t,e),t.then(l,l))}function Rm(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,Hl===l&&(Sl&e)===e&&((Zl===4||Zl===3&&(Sl&62914560)===Sl&&300>Et()-Ci)&&(Ol&2)===0?rn(l,0):Mi|=e,un===Sl&&(un=0)),fe(l)}function Nh(l,t){t===0&&(t=cd()),l=da(l,t),l!==null&&(En(l,t),fe(l))}function Hm(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),Nh(l,e)}function qm(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(t),Nh(l,e)}function Bm(l,t){return rc(l,t)}var hn=null,mn=null,df=!1,Li=!1,rf=!1,Fe=0;function fe(l){l!==mn&&l.next===null&&(mn===null?hn=mn=l:mn=mn.next=l),Li=!0,df||(df=!0,Lm())}function iu(l,t){if(!rf&&Li){rf=!0;do for(var e=!1,a=hn;a!==null;){if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,s=a.pingedLanes;u=(1<<31-At(42|l)+1)-1,u&=n&~(c&~s),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,Oh(a,u))}else u=Sl,u=Mu(a,a===Hl?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||zn(a,u)||(e=!0,Oh(a,u));a=a.next}while(e);rf=!1}}function Ym(){Th()}function Th(){Li=df=!1;var l=0;Fe!==0&&Fm()&&(l=Fe);for(var t=Et(),e=null,a=hn;a!==null;){var n=a.next,u=zh(a,t);u===0?(a.next=null,e===null?hn=n:e.next=n,n===null&&(mn=e)):(e=a,(l!==0||(u&3)!==0)&&(Li=!0)),a=n}Xl!==0&&Xl!==5||iu(l),Fe!==0&&(Fe=0)}function zh(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var c=31-At(u),s=1<<c,f=n[c];f===-1?((s&e)===0||(s&a)!==0)&&(n[c]=e0(s,t)):f<=t&&(l.expiredLanes|=s),u&=~s}if(t=Hl,e=Sl,e=Mu(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(Ml===2||Ml===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&oc(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||zn(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&oc(a),vc(e)){case 2:case 8:e=nd;break;case 32:e=Eu;break;case 268435456:e=ud;break;default:e=Eu}return a=Eh.bind(null,l),e=rc(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&oc(a),l.callbackPriority=2,l.callbackNode=null,2}function Eh(l,t){if(Xl!==0&&Xl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Yi()&&l.callbackNode!==e)return null;var a=Sl;return a=Mu(l,l===Hl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(rh(l,a,t),zh(l,Et()),l.callbackNode!=null&&l.callbackNode===e?Eh.bind(null,l):null)}function Oh(l,t){if(Yi())return null;rh(l,t,!0)}function Lm(){Im(function(){(Ol&6)!==0?rc(ad,Ym):Th()})}function of(){if(Fe===0){var l=ya;l===0&&(l=Ou,Ou<<=1,(Ou&261888)===0&&(Ou=256)),Fe=l}return Fe}function Ah(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Hu(l)}function Gm(l,t,e,a,n){if(t==="submit"&&e&&e.stateNode===n){var u=Ah((n[jt]||null).action),c=a.submitter;c&&(t=(t=c[jt]||null)?Ah(t.formAction):c.getAttribute("formAction"),t!==null&&(u=t,c=null));var s=new Lu("action","action",null,a,n);l.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Fe!==0){var f=new FormData(n,c);js(e,{pending:!0,data:f,method:n.method,action:u},null,f)}}else typeof u=="function"&&(s.preventDefault(),f=new FormData(n,c),js(e,{pending:!0,data:f,method:n.method,action:u},u,f))},currentTarget:n}]})}}for(var hf=0;hf<Bc.length;hf++){var mf=Bc[hf],Qm=mf.toLowerCase(),Xm=mf[0].toUpperCase()+mf.slice(1);Jt(Qm,"on"+Xm)}Jt(Pd,"onAnimationEnd"),Jt(lr,"onAnimationIteration"),Jt(tr,"onAnimationStart"),Jt("dblclick","onDoubleClick"),Jt("focusin","onFocus"),Jt("focusout","onBlur"),Jt(W0,"onTransitionRun"),Jt(I0,"onTransitionStart"),Jt(P0,"onTransitionCancel"),Jt(er,"onTransitionEnd"),Ha("onMouseEnter",["mouseout","mouseover"]),Ha("onMouseLeave",["mouseout","mouseover"]),Ha("onPointerEnter",["pointerout","pointerover"]),Ha("onPointerLeave",["pointerout","pointerover"]),ca("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ca("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ca("onBeforeInput",["compositionend","keypress","textInput","paste"]),ca("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ca("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ca("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cu="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(" "),Vm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cu));function _h(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],n=a.event;a=a.listeners;l:{var u=void 0;if(t)for(var c=a.length-1;0<=c;c--){var s=a[c],f=s.instance,v=s.currentTarget;if(s=s.listener,f!==u&&n.isPropagationStopped())break l;u=s,n.currentTarget=v;try{u(n)}catch(S){Xu(S)}n.currentTarget=null,u=f}else for(c=0;c<a.length;c++){if(s=a[c],f=s.instance,v=s.currentTarget,s=s.listener,f!==u&&n.isPropagationStopped())break l;u=s,n.currentTarget=v;try{u(n)}catch(S){Xu(S)}n.currentTarget=null,u=f}}}}function jl(l,t){var e=t[hd];e===void 0&&(e=t[hd]=new Set);var a=l+"__bubble";e.has(a)||(Mh(t,l,2,!1),e.add(a))}function vf(l,t,e){var a=0;t&&(a|=4),Mh(e,l,a,t)}var Gi="_reactListening"+Math.random().toString(36).slice(2);function yf(l){if(!l[Gi]){l[Gi]=!0,yd.forEach(function(e){e!=="selectionchange"&&(Vm.has(e)||vf(e,!1,l),vf(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Gi]||(t[Gi]=!0,vf("selectionchange",!1,t))}}function Mh(l,t,e,a){switch(j1(t)){case 2:var n=Hv;break;case 8:n=qv;break;default:n=qf}e=n.bind(null,t,e,l),n=void 0,!Nc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(t,e,{capture:!0,passive:n}):l.addEventListener(t,e,!0):n!==void 0?l.addEventListener(t,e,{passive:n}):l.addEventListener(t,e,!1)}function gf(l,t,e,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var s=a.stateNode.containerInfo;if(s===n)break;if(c===4)for(c=a.return;c!==null;){var f=c.tag;if((f===3||f===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;s!==null;){if(c=ia(s),c===null)return;if(f=c.tag,f===5||f===6||f===26||f===27){a=u=c;continue l}s=s.parentNode}}a=a.return}_d(function(){var v=u,S=bc(e),T=[];l:{var h=ar.get(l);if(h!==void 0){var x=Lu,D=l;switch(l){case"keypress":if(Bu(e)===0)break l;case"keydown":case"keyup":x=O0;break;case"focusin":D="focus",x=Oc;break;case"focusout":D="blur",x=Oc;break;case"beforeblur":case"afterblur":x=Oc;break;case"click":if(e.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=v0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=D0;break;case Pd:case lr:case tr:x=x0;break;case er:x=R0;break;case"scroll":case"scrollend":x=h0;break;case"wheel":x=q0;break;case"copy":case"cut":case"paste":x=S0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Rd;break;case"submit":x=M0;break;case"toggle":case"beforetoggle":x=Y0}var Q=(t&4)!==0,dl=!Q&&(l==="scroll"||l==="scrollend"),m=Q?h!==null?h+"Capture":null:h;Q=[];for(var r=v,y;r!==null;){var N=r;if(y=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||y===null||m===null||(N=_n(r,m),N!=null&&Q.push(su(r,N,y))),dl)break;r=r.return}0<Q.length&&(h=new x(h,D,null,e,S),T.push({event:h,listeners:Q}))}}if((t&7)===0){l:{if(x=l==="mouseover"||l==="pointerover",h=l==="mouseout"||l==="pointerout",x&&e!==Sc&&(D=e.relatedTarget||e.fromElement)&&(ia(D)||D[Da]))break l;(h||x)&&(D=S.window===S?S:(x=S.ownerDocument)?x.defaultView||x.parentWindow:window,h?(x=e.relatedTarget||e.toElement,h=v,x=x?ia(x):null,x!==null&&(dl=L(x),Q=x.tag,x!==dl||Q!==5&&Q!==27&&Q!==6)&&(x=null)):(h=null,x=v),h!==x&&(Q=Dd,N="onMouseLeave",m="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(Q=Rd,N="onPointerLeave",m="onPointerEnter",r="pointer"),dl=h==null?D:An(h),y=x==null?D:An(x),D=new Q(N,r+"leave",h,e,S),D.target=dl,D.relatedTarget=y,N=null,ia(S)===v&&(Q=new Q(m,r+"enter",x,e,S),Q.target=y,Q.relatedTarget=dl,N=Q),dl=N,Q=h&&x?I(h,x,Zm):null,h!==null&&Ch(T,D,h,Q,!1),x!==null&&dl!==null&&Ch(T,dl,x,Q,!0)))}l:{if(h=v?An(v):window,x=h.nodeName&&h.nodeName.toLowerCase(),x==="select"||x==="input"&&h.type==="file")var Y=Xd;else if(Gd(h))if(Vd)Y=k0;else{Y=K0;var bl=w0}else x=h.nodeName,!x||x.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?v&&jc(v.elementType)&&(Y=Xd):Y=J0;if(Y&&(Y=Y(l,v))){Qd(T,Y,e,S);break l}bl&&bl(l,h,v)}switch(bl=v?An(v):window,l){case"focusin":(Gd(bl)||bl.contentEditable==="true")&&(Qa=bl,Rc=v,Bn=null);break;case"focusout":Bn=Rc=Qa=null;break;case"mousedown":Hc=!0;break;case"contextmenu":case"mouseup":case"dragend":Hc=!1,Wd(T,e,S);break;case"selectionchange":if(F0)break;case"keydown":case"keyup":Wd(T,e,S)}var k;if(_c)l:{switch(l){case"compositionstart":var P="onCompositionStart";break l;case"compositionend":P="onCompositionEnd";break l;case"compositionupdate":P="onCompositionUpdate";break l}P=void 0}else Ga?Yd(l,e)&&(P="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(P="onCompositionStart");P&&(Hd&&e.locale!=="ko"&&(Ga||P!=="onCompositionStart"?P==="onCompositionEnd"&&Ga&&(k=Md()):(Ce=S,Tc="value"in Ce?Ce.value:Ce.textContent,Ga=!0)),bl=Qi(v,P),0<bl.length&&(P=new Ud(P,l,null,e,S),T.push({event:P,listeners:bl}),k?P.data=k:(k=Ld(e),k!==null&&(P.data=k)))),(k=G0?Q0(l,e):X0(l,e))&&(P=Qi(v,"onBeforeInput"),0<P.length&&(bl=new Ud("onBeforeInput","beforeinput",null,e,S),T.push({event:bl,listeners:P}),bl.data=k)),Gm(T,l,v,e,S)}_h(T,t)})}function su(l,t,e){return{instance:l,listener:t,currentTarget:e}}function Qi(l,t){for(var e=t+"Capture",a=[];l!==null;){var n=l,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=_n(l,e),n!=null&&a.unshift(su(l,n,u)),n=_n(l,t),n!=null&&a.push(su(l,n,u))),l.tag===3)return a;l=l.return}return[]}function Zm(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Ch(l,t,e,a,n){for(var u=t._reactName,c=[];e!==null&&e!==a;){var s=e,f=s.alternate,v=s.stateNode;if(s=s.tag,f!==null&&f===a)break;s!==5&&s!==26&&s!==27||v===null||(f=v,n?(v=_n(e,u),v!=null&&c.unshift(su(e,v,f))):n||(v=_n(e,u),v!=null&&c.push(su(e,v,f)))),e=e.return}c.length!==0&&l.push({event:t,listeners:c})}var wm=/\r\n?/g,Km=/\u0000|\uFFFD/g;function Dh(l){return(typeof l=="string"?l:""+l).replace(wm,`
49`).replace(Km,"")}function Uh(l,t){return t=Dh(t),Dh(l)===t}function Dl(l,t,e,a,n,u){switch(e){case"children":if(typeof a=="string")t==="body"||t==="textarea"&&a===""||Ba(l,a);else if(typeof a=="number"||typeof a=="bigint")t!=="body"&&Ba(l,""+a);else return;break;case"className":Ru(l,"class",a);break;case"tabIndex":Ru(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Ru(l,e,a);break;case"style":Od(l,a,u);return;case"data":if(t!=="object"){Ru(l,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||e!=="href")){l.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Hu(a),l.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(e,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(e==="formAction"?(t!=="input"&&Dl(l,t,"name",n.name,n,null),Dl(l,t,"formEncType",n.formEncType,n,null),Dl(l,t,"formMethod",n.formMethod,n,null),Dl(l,t,"formTarget",n.formTarget,n,null)):(Dl(l,t,"encType",n.encType,n,null),Dl(l,t,"method",n.method,n,null),Dl(l,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Hu(a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=Pt);return;case"onScroll":a!=null&&jl("scroll",l);return;case"onScrollEnd":a!=null&&jl("scrollend",l);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(o(60));(u!=null?u.__html:void 0)!==e&&(l.innerHTML=e)}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}e=Hu(a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""):l.removeAttribute(e);break;case"capture":case"download":a===!0?l.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(e,a):l.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(e):l.setAttribute(e,a);break;case"popover":jl("beforetoggle",l),jl("toggle",l),Uu(l,"popover",a);break;case"xlinkActuate":he(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":he(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":he(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":he(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":he(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":he(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":he(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":he(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":he(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Uu(l,"is",a);break;case"innerText":case"textContent":return;default:if(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")e=r0.get(e)||e,Uu(l,e,a);else return}El=!0}function xf(l,t,e,a,n,u){switch(e){case"style":Od(l,a,u);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(o(60));(u!=null?u.__html:void 0)!==e&&(l.innerHTML=e)}}break;case"children":if(typeof a=="string")Ba(l,a);else if(typeof a=="number"||typeof a=="bigint")Ba(l,""+a);else return;break;case"onScroll":a!=null&&jl("scroll",l);return;case"onScrollEnd":a!=null&&jl("scrollend",l);return;case"onClick":a!=null&&(l.onclick=Pt);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!gd.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),u=e.slice(2,n?e.length-7:void 0),t=l[jt]||null,t=t!=null?t[e]:null,typeof t=="function"&&l.removeEventListener(u,t,n),typeof a=="function")){typeof t!="function"&&t!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(u,a,n);break l}El=!0,e in l?l[e]=a:a===!0?l.setAttribute(e,""):Uu(l,e,a)}return}El=!0}function ft(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":jl("error",l),jl("load",l);var a=!1,n=!1,u;for(u in e)if(e.hasOwnProperty(u)){var c=e[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Dl(l,t,u,c,e,null)}}n&&Dl(l,t,"srcSet",e.srcSet,e,null),a&&Dl(l,t,"src",e.src,e,null);return;case"input":jl("invalid",l);var s=u=c=n=null,f=null,v=null;for(a in e)if(e.hasOwnProperty(a)){var S=e[a];if(S!=null)switch(a){case"name":n=S;break;case"type":c=S;break;case"checked":f=S;break;case"defaultChecked":v=S;break;case"value":u=S;break;case"defaultValue":s=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(137,t));break;default:Dl(l,t,a,S,e,null)}}Nd(l,u,s,f,v,c,n,!1);return;case"select":jl("invalid",l),a=c=u=null;for(n in e)if(e.hasOwnProperty(n)&&(s=e[n],s!=null))switch(n){case"value":u=s;break;case"defaultValue":c=s;break;case"multiple":a=s;default:Dl(l,t,n,s,e,null)}t=u,e=c,l.multiple=!!a,t!=null?qa(l,!!a,t,!1):e!=null&&qa(l,!!a,e,!0);return;case"textarea":jl("invalid",l),u=n=a=null;for(c in e)if(e.hasOwnProperty(c)&&(s=e[c],s!=null))switch(c){case"value":a=s;break;case"defaultValue":n=s;break;case"children":u=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(o(91));break;default:Dl(l,t,c,s,e,null)}zd(l,a,n,u);return;case"option":for(f in e)if(e.hasOwnProperty(f)&&(a=e[f],a!=null))switch(f){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Dl(l,t,f,a,e,null)}return;case"dialog":jl("beforetoggle",l),jl("toggle",l),jl("cancel",l),jl("close",l);break;case"iframe":case"object":jl("load",l);break;case"video":case"audio":for(a=0;a<cu.length;a++)jl(cu[a],l);break;case"image":jl("error",l),jl("load",l);break;case"details":jl("toggle",l);break;case"embed":case"source":case"link":jl("error",l),jl("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(v in e)if(e.hasOwnProperty(v)&&(a=e[v],a!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Dl(l,t,v,a,e,null)}return;default:if(jc(t)){for(S in e)e.hasOwnProperty(S)&&(a=e[S],a!==void 0&&xf(l,t,S,a,e,void 0));return}}for(s in e)e.hasOwnProperty(s)&&(a=e[s],a!=null&&Dl(l,t,s,a,e,null))}var Jm={};function km(l,t,e,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,s=null,f=null,v=null,S=null;for(x in e){var T=e[x];if(e.hasOwnProperty(x)&&T!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":f=T;default:a.hasOwnProperty(x)||Dl(l,t,x,null,a,T)}}for(var h in a){var x=a[h];if(T=e[h],a.hasOwnProperty(h)&&(x!=null||T!=null))switch(h){case"type":x!==T&&(El=!0),u=x;break;case"name":x!==T&&(El=!0),n=x;break;case"checked":x!==T&&(El=!0),v=x;break;case"defaultChecked":x!==T&&(El=!0),S=x;break;case"value":x!==T&&(El=!0),c=x;break;case"defaultValue":x!==T&&(El=!0),s=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(137,t));break;default:x!==T&&Dl(l,t,h,x,a,T)}}gc(l,c,s,f,v,S,u,n);return;case"select":x=c=s=h=null;for(u in e)if(f=e[u],e.hasOwnProperty(u)&&f!=null)switch(u){case"value":break;case"multiple":x=f;default:a.hasOwnProperty(u)||Dl(l,t,u,null,a,f)}for(n in a)if(u=a[n],f=e[n],a.hasOwnProperty(n)&&(u!=null||f!=null))switch(n){case"value":u!==f&&(El=!0),h=u;break;case"defaultValue":u!==f&&(El=!0),s=u;break;case"multiple":u!==f&&(El=!0),c=u;default:u!==f&&Dl(l,t,n,u,a,f)}t=s,e=c,a=x,h!=null?qa(l,!!e,h,!1):!!a!=!!e&&(t!=null?qa(l,!!e,t,!0):qa(l,!!e,e?[]:"",!1));return;case"textarea":x=h=null;for(s in e)if(n=e[s],e.hasOwnProperty(s)&&n!=null&&!a.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:Dl(l,t,s,null,a,n)}for(c in a)if(n=a[c],u=e[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":n!==u&&(El=!0),h=n;break;case"defaultValue":n!==u&&(El=!0),x=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==u&&Dl(l,t,c,n,a,u)}Td(l,h,x);return;case"option":for(var D in e)if(h=e[D],e.hasOwnProperty(D)&&h!=null&&!a.hasOwnProperty(D))switch(D){case"selected":l.selected=!1;break;default:Dl(l,t,D,null,a,h)}for(f in a)if(h=a[f],x=e[f],a.hasOwnProperty(f)&&h!==x&&(h!=null||x!=null))switch(f){case"selected":h!==x&&(El=!0),l.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:Dl(l,t,f,h,a,x)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Q in e)h=e[Q],e.hasOwnProperty(Q)&&h!=null&&!a.hasOwnProperty(Q)&&Dl(l,t,Q,null,a,h);for(v in a)if(h=a[v],x=e[v],a.hasOwnProperty(v)&&h!==x&&(h!=null||x!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(o(137,t));break;default:Dl(l,t,v,h,a,x)}return;default:if(jc(t)){for(var dl in e)h=e[dl],e.hasOwnProperty(dl)&&h!==void 0&&!a.hasOwnProperty(dl)&&xf(l,t,dl,void 0,a,h);for(S in a)h=a[S],x=e[S],!a.hasOwnProperty(S)||h===x||h===void 0&&x===void 0||xf(l,t,S,h,a,x);return}}for(var m in e)h=e[m],e.hasOwnProperty(m)&&h!=null&&!a.hasOwnProperty(m)&&Dl(l,t,m,null,a,h);for(T in a)h=a[T],x=e[T],!a.hasOwnProperty(T)||h===x||h==null&&x==null||Dl(l,t,T,h,a,x)}function Rh(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function $m(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var n=e[a],u=n.transferSize,c=n.initiatorType,s=n.duration;if(u&&s&&Rh(c)){for(c=0,s=n.responseEnd,a+=1;a<e.length;a++){var f=e[a],v=f.startTime;if(v>s)break;var S=f.transferSize,T=f.initiatorType;S&&Rh(T)&&(f=f.responseEnd,c+=S*(f<s?1:(s-v)/(f-v)))}if(--a,t+=8*(u+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return t/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var jf=null,Sf=null;function fu(l){return l.nodeType===9?l:l.ownerDocument}function Hh(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function qh(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}function Bh(l,t,e,a){return e=fu(e).createElement(l),e[nt]=a,e[jt]=t,ft(e,l,t),lt(e),e}function bf(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var pf=null;function Fm(){var l=window.event;return l&&l.type==="popstate"?l===pf?!1:(pf=l,!0):(pf=null,!1)}var Nf=typeof setTimeout=="function"?setTimeout:void 0,Wm=typeof clearTimeout=="function"?clearTimeout:void 0,Yh=typeof Promise=="function"?Promise:void 0,Lh=typeof requestAnimationFrame=="function"?requestAnimationFrame:Nf,Im=typeof queueMicrotask=="function"?queueMicrotask:typeof Yh<"u"?function(l){return Yh.resolve(null).then(l).catch(Pm)}:Nf;function Pm(l){setTimeout(function(){throw l})}function We(l){return l==="head"}function Gh(l,t){var e=t,a=0;do{var n=e.nextSibling;if(l.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(n),bn(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")Cf(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,Cf(e);for(var u=e.firstChild;u;){var c=u.nextSibling,s=u.nodeName;u[On]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=c}}else e==="body"&&Cf(l.ownerDocument.body);e=n}while(e);bn(t)}function Qh(l,t){var e=l;l=0;do{var a=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(l===0)break;l--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||l++;e=a}while(e)}function Xh(l,t,e){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,l.style.viewTransitionName=t,e!=null&&(l.style.viewTransitionClass=e),e=getComputedStyle(l),e.display==="inline"){if(t=l.getClientRects(),t.length===1)var a=1;else for(var n=a=0;n<t.length;n++){var u=t[n];0<u.width&&0<u.height&&a++}a===1&&(l=l.style,l.display=t.length===1?"inline-block":"block",l.marginTop="-"+e.paddingTop,l.marginBottom="-"+e.paddingBottom)}}function Vh(l,t){l=l.style,t=t.style;var e=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;l.viewTransitionName=e==null||typeof e=="boolean"?"":(""+e).trim(),e=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,l.viewTransitionClass=e==null||typeof e=="boolean"?"":(""+e).trim(),l.display==="inline-block"&&(t==null?l.display=l.margin="":(e=t.display,l.display=e==null||typeof e=="boolean"?"":e,e=t.margin,e!=null?l.margin=e:(e=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],l.marginTop=e==null||typeof e=="boolean"?"":e,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],l.marginBottom=t==null||typeof t=="boolean"?"":t)))}function lv(l,t,e){return e=e.ownerDocument.defaultView,{rect:l,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=l.bottom&&0<=l.right&&l.top<=e.innerHeight&&l.left<=e.innerWidth}}function Tf(l){var t=l.getBoundingClientRect(),e=getComputedStyle(l);return lv(t,e,l)}function tv(l){return l.documentElement.clientHeight}function ev(l){this.addEventListener("load",l),this.addEventListener("error",l)}function av(l,t,e,a,n,u,c,s,f){var v=t.nodeType===9?t:t.ownerDocument;try{var S=v.startViewTransition({update:function(){var h=v.defaultView,x=h.navigation&&h.navigation.transition,D=v.fonts.status;a();var Q=[];if(D==="loaded"&&(tv(v),v.fonts.status==="loading"&&Q.push(v.fonts.ready)),D=Q.length,l!==null)for(var dl=l.suspenseyImages,m=0,r=0;r<dl.length;r++){var y=dl[r];if(!y.complete){var N=y.getBoundingClientRect();if(0<N.bottom&&0<N.right&&N.top<h.innerHeight&&N.left<h.innerWidth){if(m+=d1(y),m>Zi){Q.length=D;break}y=new Promise(ev.bind(y)),Q.push(y)}}}if(0<Q.length)return h=Promise.race([Promise.all(Q),new Promise(function(Y){return setTimeout(Y,500)})]).then(n,n),(x?Promise.allSettled([x.finished,h]):h).then(u,u);if(n(),x)return x.finished.then(u,u);u()},types:e});v.__reactViewTransition=S;var T=[];return S.ready.then(function(){for(var h=v.documentElement.getAnimations({subtree:!0}),x=0;x<h.length;x++){var D=h[x],Q=D.effect,dl=Q.pseudoElement;if(dl!=null&&dl.startsWith("::view-transition")){T.push(D),D=Q.getKeyframes();for(var m=dl=void 0,r=!0,y=0;y<D.length;y++){var N=D[y],Y=N.width;if(dl===void 0)dl=Y;else if(dl!==Y){r=!1;break}if(Y=N.height,m===void 0)m=Y;else if(m!==Y){r=!1;break}delete N.width,delete N.height,N.transform==="none"&&delete N.transform}r&&dl!==void 0&&m!==void 0&&(Q.setKeyframes(D),r=getComputedStyle(Q.target,Q.pseudoElement),r.width!==dl||r.height!==m)&&(r=D[0],r.width=dl,r.height=m,r=D[D.length-1],r.width=dl,r.height=m,Q.setKeyframes(D))}}c()},function(h){v.__reactViewTransition===S&&(v.__reactViewTransition=null);try{if(typeof h=="object"&&h!==null)switch(h.name){case"InvalidStateError":(h.message==="View transition was skipped because document visibility state is hidden."||h.message==="Skipping view transition because document visibility state has become hidden."||h.message==="Skipping view transition because viewport size changed."||h.message==="Transition was aborted because of invalid state")&&(h=null)}h!==null&&f(h)}finally{a(),n(),c()}}),S.finished.finally(function(){for(var h=0;h<T.length;h++)T[h].cancel();v.__reactViewTransition===S&&(v.__reactViewTransition=null),s()}),S}catch{return a(),n(),c(),null}}function Oa(l,t){this._scope=document.documentElement,this._selector="::view-transition-"+l+"("+t+")"}Oa.prototype.animate=function(l,t){return t=typeof t=="number"?{duration:t}:V({},t),t.pseudoElement=this._selector,this._scope.animate(l,t)},Oa.prototype.getAnimations=function(){for(var l=this._scope,t=this._selector,e=l.getAnimations({subtree:!0}),a=[],n=0;n<e.length;n++){var u=e[n].effect;u!==null&&u.target===l&&u.pseudoElement===t&&a.push(e[n])}return a},Oa.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Zh(l){return{name:l,group:new Oa("group",l),imagePair:new Oa("image-pair",l),old:new Oa("old",l),new:new Oa("new",l)}}function qt(l){this._fragmentFiber=l,this._observers=this._eventListeners=null}qt.prototype.addEventListener=function(l,t,e){var a=null,n=null;if(!(e!=null&&typeof e!="boolean"&&(a=e.signal||null,a!==null&&a.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var u=this._eventListeners;if(Kh(u,l,t,e)===-1){var c=this,s=t;e!=null&&typeof e!="boolean"&&e.once===!0&&(s=function(f){c.removeEventListener(l,t,e),typeof t=="function"?t.call(this,f):t.handleEvent(f)}),a!==null&&(n=c.removeEventListener.bind(c,l,t,e),a.addEventListener("abort",n,{once:!0}),n=a.removeEventListener.bind(a,"abort",n)),a=vn(e),u.push({type:l,listener:t,optionsOrUseCapture:e,attachedListener:s,cleanup:n}),j(this._fragmentFiber.child,!1,nv,l,s,a)}this._eventListeners=u}};function nv(l,t,e,a){return ll(l).addEventListener(t,e,a),!1}qt.prototype.removeEventListener=function(l,t,e){var a=this._eventListeners;if(a!==null&&(t=Kh(a,l,t,e),t!==-1)){var n=a[t];e=n.attachedListener;var u=n.cleanup;n=vn(n.optionsOrUseCapture),j(this._fragmentFiber.child,!1,uv,l,e,n),a.splice(t,1),u!==null&&u()}};function uv(l,t,e,a){return ll(l).removeEventListener(t,e,a),!1}function vn(l){return l!=null&&typeof l!="boolean"&&(l.once===!0||l.signal instanceof AbortSignal)?{capture:l.capture,passive:l.passive}:l}function wh(l){return l==null?"c=0":typeof l=="boolean"?"c="+(l?"1":"0"):"c="+(l.capture?"1":"0")}function Kh(l,t,e,a){if(l.length===0)return-1;a=wh(a);for(var n=0;n<l.length;n++){var u=l[n];if(u.type===t&&u.listener===e&&wh(u.optionsOrUseCapture)===a)return n}return-1}qt.prototype.dispatchEvent=function(l){var t=R(this._fragmentFiber);if(t===null)return!0;t=ll(t);var e=this._eventListeners;if(e!==null&&0<e.length||!l.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(e)for(var n=0;n<e.length;n++){var u=e[n];a.addEventListener(u.type,u.attachedListener,vn(u.optionsOrUseCapture))}if(t.appendChild(a),l=a.dispatchEvent(l),e)for(n=0;n<e.length;n++)u=e[n],a.removeEventListener(u.type,u.attachedListener,vn(u.optionsOrUseCapture));return t.removeChild(a),l}return t.dispatchEvent(l)},qt.prototype.focus=function(l){j(this._fragmentFiber.child,!0,Jh,l,void 0,void 0)};function Jh(l,t){return l.tag===6?!1:(l=ll(l),gv(l,t))}qt.prototype.focusLast=function(l){var t=[];j(this._fragmentFiber.child,!0,zf,t,void 0,void 0);for(var e=t.length-1;0<=e&&!Jh(t[e],l);e--);};function zf(l,t){return t.push(l),!1}qt.prototype.blur=function(){var l=R(this._fragmentFiber);l!==null&&(l=ll(l),l=fu(l).activeElement,l!==null&&j(this._fragmentFiber.child,!1,iv,l,void 0,void 0))};function iv(l,t){return l.tag===6?!1:(l=ll(l),l===t||l.contains(t)?(t.blur(),!0):!1)}qt.prototype.observeUsing=function(l){this._observers===null&&(this._observers=new Set),this._observers.add(l),j(this._fragmentFiber.child,!1,cv,l,void 0,void 0)};function cv(l,t){return l.tag===6||(l=ll(l),t.observe(l)),!1}qt.prototype.unobserveUsing=function(l){var t=this._observers;if(t!==null&&t.has(l)){t.delete(l),j(this._fragmentFiber.child,!1,sv,l,void 0,void 0);for(var e=t=0;e<It.length;e++){var a=It[e];a.fragmentInstance===this&&a.observer===l?l.unobserve(a.instance):It[t++]=a}It.length=t}};function sv(l,t){return l.tag===6||(l=ll(l),t.unobserve(l)),!1}var It=[],Ef=!1;function fv(l,t,e){It.push({fragmentInstance:l,observer:t,instance:e}),Ef||(Ef=!0,xv(function(){Ef=!1;var a=It;It=[];for(var n=0;n<a.length;n++){var u=a[n];u.observer.unobserve(u.instance)}}))}qt.prototype.getClientRects=function(){var l=[];return j(this._fragmentFiber.child,!1,dv,l,void 0,void 0),l};function dv(l,t){if(l.tag===6){l=l.stateNode;var e=l.ownerDocument.createRange();e.selectNodeContents(l),t.push.apply(t,e.getClientRects())}else l=ll(l),t.push.apply(t,l.getClientRects());return!1}qt.prototype.getRootNode=function(l){var t=R(this._fragmentFiber);return t===null?this:ll(t).getRootNode(l)},qt.prototype.compareDocumentPosition=function(l){var t=R(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var e=[];j(this._fragmentFiber.child,!1,zf,e,void 0,void 0);var a=ll(t);if(e.length===0){if(e=a,F(this._fragmentFiber)){l:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break l}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(e=t)}t=this._fragmentFiber;var n=a=e.compareDocumentPosition(l);return e===l?n=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(e=ol(t)[1],e===null?n=Node.DOCUMENT_POSITION_PRECEDING:(l=ll(e).compareDocumentPosition(l),n=l===0||l&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),n|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=ll(e[0]),n=ll(e[e.length-1]);var u=F(this._fragmentFiber)?t.parentElement:a;if(u==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=u.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,u=u.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY;var c=t.compareDocumentPosition(l),s=n.compareDocumentPosition(l),f=c&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=a&&u&&c&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===l||u&&n===l||f||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===l||!u&&n===l?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:c,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||rv(t,this._fragmentFiber,e[0],e[e.length-1],l)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function rv(l,t,e,a,n){var u=ia(n);if(l&Node.DOCUMENT_POSITION_CONTAINED_BY){if(e=!!u)l:{for(;u!==null;){if(u.tag===7&&(u===t||u.alternate===t)){e=!0;break l}u=u.return}e=!1}return e}if(l&Node.DOCUMENT_POSITION_CONTAINS){if(u===null)return u=n.ownerDocument,n===u||n===u.documentElement||n===u.body;l:{for(u=t,t=R(t);u!==null;){if(!(u.tag!==5&&u.tag!==3&&u.tag!==27||u!==t&&u.alternate!==t)){u=!0;break l}u=u.return}u=!1}return u}return l&Node.DOCUMENT_POSITION_PRECEDING?((t=!!u)&&!(t=u===e)&&(t=I(e,u,Ll),t===null?t=!1:(j(t,!0,sl,u,e),u=K,K=null,t=u!==null)),t):l&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!u)&&!(t=u===a)&&(t=I(a,u,Ll),t===null?t=!1:(j(t,!0,Ul,u,a),u=K,G=K=null,t=u!==null)),t):!1}function kh(l,t){var e=l.ownerDocument.createRange();e.selectNodeContents(l),l=e.getBoundingClientRect(),window.scrollTo(window.scrollX+l.left,t?window.scrollY+l.top:window.scrollY+l.bottom-window.innerHeight)}qt.prototype.scrollIntoView=function(l){if(typeof l=="object")throw Error(o(566));var t=[];j(this._fragmentFiber.child,!1,zf,t,void 0,void 0);var e=l!==!1;if(t.length===0){var a=ol(this._fragmentFiber);if(a=e?a[1]||a[0]||R(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){l=ll(a),kh(l,e);return}if(a=ll(a),a.nodeType!==9){if(a.nodeType===11){e="host"in a?a.host:null,e!==null&&e.scrollIntoView(l);return}a.scrollIntoView(l)}}for(a=e?t.length-1:0;a!==(e?-1:t.length);){var n=t[a];n.tag===6?(n=ll(n),kh(n,e)):ll(n).scrollIntoView(l),a+=e?-1:1}};function ov(l,t){return l=ll(l),$h(l,t),!1}function $h(l,t){l.reactFragments==null&&(l.reactFragments=new Set),l.reactFragments.add(t)}function Fh(l,t){var e=t._eventListeners;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a];l.addEventListener(n.type,n.attachedListener,vn(n.optionsOrUseCapture))}l.nodeType!==3&&(e=t._observers,e!==null&&e.forEach(function(u){for(var c=0,s=0;s<It.length;s++){var f=It[s];(f.fragmentInstance!==t||f.observer!==u||f.instance!==l)&&(It[c++]=f)}It.length=c,u.observe(l)}),$h(l,t))}function hv(l,t){var e=t._eventListeners;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a];l.removeEventListener(n.type,n.attachedListener,vn(n.optionsOrUseCapture))}l.nodeType!==3&&(e=t._observers,e!==null&&e.forEach(function(u){typeof u.rootMargin=="string"?fv(t,u,l):u.unobserve(l)}),l.reactFragments!=null&&l.reactFragments.delete(t))}function Of(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":Of(e),Du(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function mv(l,t,e,a){for(;l.nodeType===1;){var n=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[On])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(u=l.getAttribute("rel"),u==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(u!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(u=l.getAttribute("src"),(u!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===u)return l}else return l;if(l=Zt(l.nextSibling),l===null)break}return null}function vv(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=Zt(l.nextSibling),l===null))return null;return l}function Wh(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=Zt(l.nextSibling),l===null))return null;return l}function Af(l){return l.data==="$?"||l.data==="$~"}function _f(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function yv(l,t){var e=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||e.readyState!=="loading")t();else{var a=function(){t(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function Zt(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}var Mf=null;function Ih(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return Zt(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function Ph(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return l;t--}else e!=="/$"&&e!=="/&"||t++}l=l.previousSibling}return null}function gv(l,t){function e(){a=!0}if(l.ownerDocument.activeElement===l)return!0;var a=!1;try{l.ownerDocument.addEventListener("focus",e,!0),(l.focus||HTMLElement.prototype.focus).call(l,t)}finally{l.ownerDocument.removeEventListener("focus",e,!0)}return a}function xv(l){Lh(function(){Lh(function(t){return l(t)})})}function l1(l,t,e){switch(t=fu(e),l){case"html":if(l=t.documentElement,!l)throw Error(o(452));return l;case"head":if(l=t.head,!l)throw Error(o(453));return l;case"body":if(l=t.body,!l)throw Error(o(454));return l;default:throw Error(o(451))}}function t1(l,t,e){for(var a in e){var n=e[a];e.hasOwnProperty(a)&&n!=null&&Dl(l,t,a,null,Jm,n)}e.dangerouslySetInnerHTML!=null&&(l.textContent=""),l.onclick===Pt&&(l.onclick=null),Du(l)}function Cf(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);Du(l)}var wt=new Map,e1=new Set;function du(l){if(typeof l.getRootNode=="function"){var t=l.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return l.nodeType===9?l:l.ownerDocument}var Ee=el.d;el.d={f:jv,r:Sv,D:bv,C:pv,L:Nv,m:Tv,X:Ev,S:zv,M:Ov};function jv(){var l=Ee.f(),t=Hi();return l||t}function Sv(l){var t=Ua(l);t!==null&&t.tag===5&&t.type==="form"?ao(t):Ee.r(l)}var yn=typeof document>"u"?null:document;function a1(l,t,e){var a=yn;if(a&&typeof t=="string"&&t){var n=Bt(t);n='link[rel="'+l+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),e1.has(n)||(e1.add(n),l={rel:l,crossOrigin:e,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),ft(t,"link",l),lt(t),a.head.appendChild(t)))}}function bv(l){Ee.D(l),a1("dns-prefetch",l,null)}function pv(l,t){Ee.C(l,t),a1("preconnect",l,t)}function Nv(l,t,e){Ee.L(l,t,e);var a=yn;if(a&&l&&t){var n='link[rel="preload"][as="'+Bt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+Bt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+Bt(e.imageSizes)+'"]')):n+='[href="'+Bt(l)+'"]';var u=n;switch(t){case"style":u=gn(l);break;case"script":u=xn(l)}if(!(wt.has(u)||(l=V({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),wt.set(u,l),a.querySelector(n)!==null||t==="style"&&a.querySelector(ru(u))||t==="script"&&a.querySelector(ou(u))))){var c=a.createElement("link");ft(c,"link",l),t==="style"&&(c[Cu]=!0,c.onload=c.onerror=function(){vd(c)}),lt(c),a.head.appendChild(c)}}}function Tv(l,t){Ee.m(l,t);var e=yn;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+Bt(a)+'"][href="'+Bt(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=xn(l)}if(!wt.has(u)&&(l=V({rel:"modulepreload",href:l},t),wt.set(u,l),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(ou(u)))return}a=e.createElement("link"),ft(a,"link",l),lt(a),e.head.appendChild(a)}}}function zv(l,t,e){Ee.S(l,t,e);var a=yn;if(a&&l){var n=Ra(a).hoistableStyles,u=gn(l);t=t||"default";var c=n.get(u);if(!c){var s={loading:0,preload:null};if(c=a.querySelector(ru(u)))s.loading=5;else{l=V({rel:"stylesheet",href:l,"data-precedence":t},e),(e=wt.get(u))&&Df(l,e);var f=c=a.createElement("link");lt(f),ft(f,"link",l),f._p=new Promise(function(v,S){f.onload=v,f.onerror=S}),f.addEventListener("load",function(){s.loading|=1}),f.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Xi(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:s},n.set(u,c)}}}function Ev(l,t){Ee.X(l,t);var e=yn;if(e&&l){var a=Ra(e).hoistableScripts,n=xn(l),u=a.get(n);u||(u=e.querySelector(ou(n)),u||(l=V({src:l,async:!0},t),(t=wt.get(n))&&Uf(l,t),u=e.createElement("script"),lt(u),ft(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Ov(l,t){Ee.M(l,t);var e=yn;if(e&&l){var a=Ra(e).hoistableScripts,n=xn(l),u=a.get(n);u||(u=e.querySelector(ou(n)),u||(l=V({src:l,async:!0,type:"module"},t),(t=wt.get(n))&&Uf(l,t),u=e.createElement("script"),lt(u),ft(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function n1(l,t,e,a){var n=(n=mt.current)?du(n):null;if(!n)throw Error(o(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(e=gn(e.href),t=Ra(n).hoistableStyles,a=t.get(e),a||(a={type:"style",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=gn(e.href);var u=Ra(n).hoistableStyles,c=u.get(l);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(l,c),(u=n.querySelector(ru(l)))?u._p||(c.instance=u,c.state.loading=5):(u=wt.get(l),u||(u={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},wt.set(l,u)),Av(n,l,u,c.state))),t&&a===null)throw Error(o(528,""));return c}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(e=xn(e),t=Ra(n).hoistableScripts,a=t.get(e),a||(a={type:"script",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,l))}}function gn(l){return'href="'+Bt(l)+'"'}function ru(l){return'link[rel="stylesheet"]['+l+"]"}function u1(l){return V({},l,{"data-precedence":l.precedence,precedence:null})}function Av(l,t,e,a){if(t=l.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[Cu]!==!0){a.loading=1;return}}else t=l.createElement("link"),t[Cu]=!0,t.onload=t.onerror=vd.bind(null,t),ft(t,"link",e),lt(t),l.head.appendChild(t);a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2})}function xn(l){return'[src="'+Bt(l)+'"]'}function ou(l){return"script[async]"+l}function i1(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+Bt(e.href)+'"]');if(a)return t.instance=a,lt(a),a;var n=V({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),lt(a),ft(a,"style",n),Xi(a,e.precedence,l),t.instance=a;case"stylesheet":n=gn(e.href);var u=l.querySelector(ru(n));if(u)return t.state.loading|=4,t.instance=u,lt(u),u;a=u1(e),(n=wt.get(n))&&Df(a,n),u=(l.ownerDocument||l).createElement("link"),lt(u);var c=u;return c._p=new Promise(function(s,f){c.onload=s,c.onerror=f}),ft(u,"link",a),t.state.loading|=4,Xi(u,e.precedence,l),t.instance=u;case"script":return u=xn(e.src),(n=l.querySelector(ou(u)))?(t.instance=n,lt(n),n):(a=e,(n=wt.get(u))&&(a=V({},e),Uf(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),lt(n),ft(n,"link",a),l.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Xi(a,e.precedence,l));return t.instance}function Xi(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var s=a[c];if(s.dataset.precedence===t)u=s;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}function Df(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function Uf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Vi=null;function c1(l,t,e){if(Vi===null){var a=new Map,n=Vi=new Map;n.set(e,a)}else n=Vi,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),n=0;n<e.length;n++){var u=e[n];if(!(u[On]||u[nt]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(t)||"";c=l+c;var s=a.get(c);s?s.push(u):a.set(c,[u])}}return a}function Rf(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function _v(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function s1(l,t){return l==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function f1(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function d1(l){return(l.width||100)*(l.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function r1(l,t){typeof t.decode=="function"&&(l.imgCount++,t.complete||(l.imgBytes+=d1(t),l.suspenseyImages.push(t)),l=Dv.bind(l),t.decode().then(l,l))}function Mv(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=gn(a.href),u=t.querySelector(ru(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=hu.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=u,lt(u);return}u=t.ownerDocument||t,a=u1(a),(n=wt.get(n))&&Df(a,n),u=u.createElement("link"),lt(u);var c=u;c._p=new Promise(function(s,f){c.onload=s,c.onerror=f}),ft(u,"link",a),e.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=hu.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var Zi=0;function Cv(l,t){return l.stylesheets&&l.count===0&&Ki(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Ki(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+t);0<l.imgBytes&&Zi===0&&(Zi=62500*$m());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Ki(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>Zi?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function o1(l){if(l.count===0&&(l.imgCount===0||!l.waitingForImages)){if(l.stylesheets)Ki(l,l.stylesheets);else if(l.unsuspend){var t=l.unsuspend;l.unsuspend=null,t()}}}function hu(){this.count--,o1(this)}function Dv(){this.imgCount--,o1(this)}var wi=null;function Ki(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,wi=new Map,t.forEach(Uv,l),wi=null,hu.call(l))}function Uv(l,t){if(!(t.state.loading&4)){var e=wi.get(l);if(e)var a=e.get(null);else{e=new Map,wi.set(l,e);for(var n=l.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(e.set(c.dataset.precedence,c),a=c)}a&&e.set(null,a)}n=t.instance,c=n.getAttribute("data-precedence"),u=e.get(c)||a,u===a&&e.set(null,n),e.set(c,n),this.count++,a=hu.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(n,l.firstChild)),t.state.loading|=4}}var jn={$$typeof:rl,Provider:null,Consumer:null,_currentValue:Kt,_currentValue2:Kt,_threadCount:0};function Rv(l,t,e,a,n,u,c,s,f){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=hc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hc(0),this.hiddenUpdates=hc(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.transitionTypes=null,this.incompleteTransitions=new Map}function h1(l,t,e,a,n,u,c,s,f,v,S,T){return l=new Rv(l,t,e,c,f,v,S,T,s),t=1,u===!0&&(t|=24),u=St(3,null,null,t),l.current=u,u.stateNode=l,t=kc(),t.refCount++,l.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:t},Ic(u),l}function m1(l){return l?(l=Za,l):Za}function v1(l,t,e,a,n,u){n=m1(n),a.context===null?a.context=n:a.pendingContext=n,a=Le(t),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=Ge(l,a,t),e!==null&&(Tt(e,l,t),Zn(e,l,t))}function y1(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function Hf(l,t){y1(l,t),(l=l.alternate)&&y1(l,t)}function g1(l){if(l.tag===13||l.tag===31){var t=da(l,67108864);t!==null&&Tt(t,l,67108864),Hf(l,67108864)}}function x1(l){if(l.tag===13||l.tag===31){var t=Ht();t=mc(t);var e=da(l,t);e!==null&&Tt(e,l,t),Hf(l,t)}}var Sn=!0;function Hv(l,t,e,a){var n=w.T;w.T=null;var u=el.p;try{el.p=2,qf(l,t,e,a)}finally{el.p=u,w.T=n}}function qv(l,t,e,a){var n=w.T;w.T=null;var u=el.p;try{el.p=8,qf(l,t,e,a)}finally{el.p=u,w.T=n}}function qf(l,t,e,a){if(Sn){var n=Bf(a);if(n===null)gf(l,t,a,Ji,e),S1(l,a);else if(Yv(n,l,t,e,a))a.stopPropagation();else if(S1(l,a),t&4&&-1<Bv.indexOf(l)){for(;n!==null;){var u=Ua(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=ua(u.pendingLanes);if(c!==0){var s=u;for(s.pendingLanes|=2,s.entangledLanes|=2;c;){var f=1<<31-At(c);s.entanglements[1]|=f,c&=~f}fe(u),(Ol&6)===0&&(Di=Et()+500,iu(0))}}break;case 31:case 13:s=da(u,2),s!==null&&Tt(s,u,2),Hi(),Hf(u,2)}if(u=Bf(a),u===null&&gf(l,t,a,Ji,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else gf(l,t,a,null,e)}}function Bf(l){return l=bc(l),Yf(l)}var Ji=null;function Yf(l){if(Ji=null,l=ia(l),l!==null){var t=L(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=J(t),l!==null)return l;l=null}else if(e===31){if(l=nl(t),l!==null)return l;l=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return Ji=l,null}function j1(l){switch(l){case"beforetoggle":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"seeked":case"submit":case"toggle":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"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch($1()){case ad:return 2;case nd:return 8;case Eu:case F1:return 32;case ud:return 268435456;default:return 32}default:return 32}}var Lf=!1,Ie=null,Pe=null,la=null,mu=new Map,vu=new Map,ta=[],Bv="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".split(" ");function S1(l,t){switch(l){case"focusin":case"focusout":Ie=null;break;case"dragenter":case"dragleave":Pe=null;break;case"mouseover":case"mouseout":la=null;break;case"pointerover":case"pointerout":mu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vu.delete(t.pointerId)}}function yu(l,t,e,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=Ua(t),t!==null&&g1(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),l)}function Yv(l,t,e,a,n){switch(t){case"focusin":return Ie=yu(Ie,l,t,e,a,n),!0;case"dragenter":return Pe=yu(Pe,l,t,e,a,n),!0;case"mouseover":return la=yu(la,l,t,e,a,n),!0;case"pointerover":var u=n.pointerId;return mu.set(u,yu(mu.get(u)||null,l,t,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,vu.set(u,yu(vu.get(u)||null,l,t,e,a,n)),!0}return!1}function b1(l){var t=ia(l.target);if(t!==null){var e=L(t);if(e!==null){if(t=e.tag,t===13){if(t=J(e),t!==null){l.blockedOn=t,od(l.priority,function(){x1(e)});return}}else if(t===31){if(t=nl(e),t!==null){l.blockedOn=t,od(l.priority,function(){x1(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}function ki(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=Bf(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);Sc=a,e.target.dispatchEvent(a),Sc=null}else return t=Ua(e),t!==null&&g1(t),l.blockedOn=e,!1;t.shift()}return!0}function p1(l,t,e){ki(l)&&e.delete(t)}function Lv(){Lf=!1,Ie!==null&&ki(Ie)&&(Ie=null),Pe!==null&&ki(Pe)&&(Pe=null),la!==null&&ki(la)&&(la=null),mu.forEach(p1),vu.forEach(p1)}function $i(l,t){l.blockedOn===t&&(l.blockedOn=null,Lf||(Lf=!0,b.unstable_scheduleCallback(b.unstable_NormalPriority,Lv)))}var Fi=null;function N1(l){Fi!==l&&(Fi=l,b.unstable_scheduleCallback(b.unstable_NormalPriority,function(){Fi===l&&(Fi=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],n=l[t+2];if(typeof a!="function"){if(Yf(a||e)===null)continue;break}var u=Ua(e);u!==null&&(l.splice(t,3),t-=3,js(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}function bn(l){function t(f){return $i(f,l)}Ie!==null&&$i(Ie,l),Pe!==null&&$i(Pe,l),la!==null&&$i(la,l),mu.forEach(t),vu.forEach(t);for(var e=0;e<ta.length;e++){var a=ta[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<ta.length&&(e=ta[0],e.blockedOn===null);)b1(e),e.blockedOn===null&&ta.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],c=n[jt]||null;if(typeof u=="function")c||N1(e);else if(c){var s=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[jt]||null)s=c.formAction;else if(Yf(n)!==null)continue}else s=c.action;typeof s=="function"?e[a+1]=s:(e.splice(a,3),a-=3),N1(e)}}}function T1(){function l(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(c){return n=c})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Gf(l){this._internalRoot=l}Wi.prototype.render=Gf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(o(409));var e=t.current,a=Ht();v1(e,a,l,t,null,null)},Wi.prototype.unmount=Gf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;v1(l.current,2,null,l,null,null),Hi(),t[Da]=null}};function Wi(l){this._internalRoot=l}Wi.prototype.unstable_scheduleHydration=function(l){if(l){var t=rd();l={blockedOn:null,target:l,priority:t};for(var e=0;e<ta.length&&t!==0&&t<ta[e].priority;e++);ta.splice(e,0,l),e===0&&b1(l)}};var z1=U.version;if(z1!=="19.3.0")throw Error(o(527,z1,"19.3.0"));el.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(o(188)):(l=Object.keys(l).join(","),Error(o(268,l)));return l=$(t),l=l!==null?M(l):null,l=l===null?null:l.stateNode,l};var Gv={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:w,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ii=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ii.isDisabled&&Ii.supportsFiber)try{Tn=Ii.inject(Gv),Ot=Ii}catch{}}return xu.createRoot=function(l,t){if(!p(l))throw Error(o(299));var e=!1,a="",n=mo,u=vo,c=yo;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=h1(l,1,!1,null,null,e,a,null,n,u,c,T1),l[Da]=t.current,yf(l),new Gf(t)},xu.hydrateRoot=function(l,t,e){if(!p(l))throw Error(o(299));var a=!1,n="",u=mo,c=vo,s=yo,f=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(s=e.onRecoverableError),e.formState!==void 0&&(f=e.formState)),t=h1(l,1,!0,t,e??null,a,n,f,u,c,s,T1),t.context=m1(null),e=t.current,a=Ht(),a=mc(a),n=Le(a),n.callback=null,Ge(e,n,a),e=a,t.current.lanes=e,En(t,e),fe(t),l[Da]=t.current,yf(l),new Wi(t)},xu.version="19.3.0",xu}var H1;function Fv(){if(H1)return Vf.exports;H1=1;function b(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(U){console.error(U)}}return b(),Vf.exports=$v(),Vf.exports}var Wv=Fv();/**
50 * @license lucide-react v0.468.0 - ISC
51 *
52 * This source code is licensed under the ISC license.
53 * See the LICENSE file in the root directory of this source tree.
54 */const Iv=b=>b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),L1=(...b)=>b.filter((U,O,o)=>!!U&&U.trim()!==""&&o.indexOf(U)===O).join(" ").trim();/**
55 * @license lucide-react v0.468.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */var Pv={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
60 * @license lucide-react v0.468.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */const ly=q.forwardRef(({color:b="currentColor",size:U=24,strokeWidth:O=2,absoluteStrokeWidth:o,className:p="",children:L,iconNode:J,...nl},W)=>q.createElement("svg",{ref:W,...Pv,width:U,height:U,stroke:b,strokeWidth:o?Number(O)*24/Number(U):O,className:L1("lucide",p),...nl},[...J.map(([$,M])=>q.createElement($,M)),...Array.isArray(L)?L:[L]]));/**
65 * @license lucide-react v0.468.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const vl=(b,U)=>{const O=q.forwardRef(({className:o,...p},L)=>q.createElement(ly,{ref:L,iconNode:U,className:L1(`lucide-${Iv(b)}`,o),...p}));return O.displayName=`${b}`,O};/**
70 * @license lucide-react v0.468.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const pn=vl("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
75 * @license lucide-react v0.468.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const G1=vl("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
80 * @license lucide-react v0.468.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const lc=vl("BookMarked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);/**
85 * @license lucide-react v0.468.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const tc=vl("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
90 * @license lucide-react v0.468.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const ty=vl("ChartNoAxesCombined",[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]]);/**
95 * @license lucide-react v0.468.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const Ma=vl("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
100 * @license lucide-react v0.468.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const q1=vl("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
105 * @license lucide-react v0.468.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const Aa=vl("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
110 * @license lucide-react v0.468.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const Ae=vl("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
115 * @license lucide-react v0.468.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const Pi=vl("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
120 * @license lucide-react v0.468.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const ey=vl("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
125 * @license lucide-react v0.468.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const ay=vl("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
130 * @license lucide-react v0.468.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const ny=vl("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
135 * @license lucide-react v0.468.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const uy=vl("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
140 * @license lucide-react v0.468.0 - ISC
141 *
142 * This source code is licensed under the ISC license.
143 * See the LICENSE file in the root directory of this source tree.
144 */const iy=vl("Flag",[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]]);/**
145 * @license lucide-react v0.468.0 - ISC
146 *
147 * This source code is licensed under the ISC license.
148 * See the LICENSE file in the root directory of this source tree.
149 */const Q1=vl("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
150 * @license lucide-react v0.468.0 - ISC
151 *
152 * This source code is licensed under the ISC license.
153 * See the LICENSE file in the root directory of this source tree.
154 */const Nn=vl("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
155 * @license lucide-react v0.468.0 - ISC
156 *
157 * This source code is licensed under the ISC license.
158 * See the LICENSE file in the root directory of this source tree.
159 */const B1=vl("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
160 * @license lucide-react v0.468.0 - ISC
161 *
162 * This source code is licensed under the ISC license.
163 * See the LICENSE file in the root directory of this source tree.
164 */const cy=vl("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
165 * @license lucide-react v0.468.0 - ISC
166 *
167 * This source code is licensed under the ISC license.
168 * See the LICENSE file in the root directory of this source tree.
169 */const Jf=vl("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/**
170 * @license lucide-react v0.468.0 - ISC
171 *
172 * This source code is licensed under the ISC license.
173 * See the LICENSE file in the root directory of this source tree.
174 */const Ff=vl("LibraryBig",[["rect",{width:"8",height:"18",x:"3",y:"3",rx:"1",key:"oynpb5"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z",key:"1qboyk"}]]);/**
175 * @license lucide-react v0.468.0 - ISC
176 *
177 * This source code is licensed under the ISC license.
178 * See the LICENSE file in the root directory of this source tree.
179 */const _a=vl("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
180 * @license lucide-react v0.468.0 - ISC
181 *
182 * This source code is licensed under the ISC license.
183 * See the LICENSE file in the root directory of this source tree.
184 */const de=vl("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
185 * @license lucide-react v0.468.0 - ISC
186 *
187 * This source code is licensed under the ISC license.
188 * See the LICENSE file in the root directory of this source tree.
189 */const sy=vl("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
190 * @license lucide-react v0.468.0 - ISC
191 *
192 * This source code is licensed under the ISC license.
193 * See the LICENSE file in the root directory of this source tree.
194 */const ec=vl("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
195 * @license lucide-react v0.468.0 - ISC
196 *
197 * This source code is licensed under the ISC license.
198 * See the LICENSE file in the root directory of this source tree.
199 */const pu=vl("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
200 * @license lucide-react v0.468.0 - ISC
201 *
202 * This source code is licensed under the ISC license.
203 * See the LICENSE file in the root directory of this source tree.
204 */const fy=vl("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
205 * @license lucide-react v0.468.0 - ISC
206 *
207 * This source code is licensed under the ISC license.
208 * See the LICENSE file in the root directory of this source tree.
209 */const X1=vl("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
210 * @license lucide-react v0.468.0 - ISC
211 *
212 * This source code is licensed under the ISC license.
213 * See the LICENSE file in the root directory of this source tree.
214 */const dy=vl("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/**
215 * @license lucide-react v0.468.0 - ISC
216 *
217 * This source code is licensed under the ISC license.
218 * See the LICENSE file in the root directory of this source tree.
219 */const ry=vl("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
220 * @license lucide-react v0.468.0 - ISC
221 *
222 * This source code is licensed under the ISC license.
223 * See the LICENSE file in the root directory of this source tree.
224 */const uc=vl("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
225 * @license lucide-react v0.468.0 - ISC
226 *
227 * This source code is licensed under the ISC license.
228 * See the LICENSE file in the root directory of this source tree.
229 */const oy=vl("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]);/**
230 * @license lucide-react v0.468.0 - ISC
231 *
232 * This source code is licensed under the ISC license.
233 * See the LICENSE file in the root directory of this source tree.
234 */const Su=vl("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
235 * @license lucide-react v0.468.0 - ISC
236 *
237 * This source code is licensed under the ISC license.
238 * See the LICENSE file in the root directory of this source tree.
239 */const ju=vl("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/**
240 * @license lucide-react v0.468.0 - ISC
241 *
242 * This source code is licensed under the ISC license.
243 * See the LICENSE file in the root directory of this source tree.
244 */const hy=vl("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
245 * @license lucide-react v0.468.0 - ISC
246 *
247 * This source code is licensed under the ISC license.
248 * See the LICENSE file in the root directory of this source tree.
249 */const my=vl("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
250 * @license lucide-react v0.468.0 - ISC
251 *
252 * This source code is licensed under the ISC license.
253 * See the LICENSE file in the root directory of this source tree.
254 */const vy=vl("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
255 * @license lucide-react v0.468.0 - ISC
256 *
257 * This source code is licensed under the ISC license.
258 * See the LICENSE file in the root directory of this source tree.
259 */const ac=vl("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/**
260 * @license lucide-react v0.468.0 - ISC
261 *
262 * This source code is licensed under the ISC license.
263 * See the LICENSE file in the root directory of this source tree.
264 */const yy=vl("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/**
265 * @license lucide-react v0.468.0 - ISC
266 *
267 * This source code is licensed under the ISC license.
268 * See the LICENSE file in the root directory of this source tree.
269 */const V1=vl("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),gy="modulepreload",xy=function(b,U){return new URL(b,U).href},Y1={},jy=function(U,O,o){let p=Promise.resolve();if(O&&O.length>0){let J=function(M){return Promise.all(M.map(j=>Promise.resolve(j).then(R=>({status:"fulfilled",value:R}),R=>({status:"rejected",reason:R}))))};const nl=document.getElementsByTagName("link"),W=document.querySelector("meta[property=csp-nonce]"),$=(W==null?void 0:W.nonce)||(W==null?void 0:W.getAttribute("nonce"));p=J(O.map(M=>{if(M=xy(M,o),M in Y1)return;Y1[M]=!0;const j=M.endsWith(".css"),R=j?'[rel="stylesheet"]':"";if(!!o)for(let hl=nl.length-1;hl>=0;hl--){const ll=nl[hl];if(ll.href===M&&(!j||ll.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${M}"]${R}`))return;const ol=document.createElement("link");if(ol.rel=j?"stylesheet":gy,j||(ol.as="script"),ol.crossOrigin="",ol.href=M,$&&ol.setAttribute("nonce",$),document.head.appendChild(ol),j)return new Promise((hl,ll)=>{ol.addEventListener("load",hl),ol.addEventListener("error",()=>ll(new Error(`Unable to preload CSS for ${M}`)))})}))}function L(J){const nl=new Event("vite:preloadError",{cancelable:!0});if(nl.payload=J,window.dispatchEvent(nl),!nl.defaultPrevented)throw J}return p.then(J=>{for(const nl of J||[])nl.status==="rejected"&&L(nl.reason);return U().catch(L)})},Z1=!0;let kf;async function Sy(b,U,{method:O="GET",body:o}={}){return kf||(kf=jy(()=>import("./static-api-JYb3bZih.js"),[],import.meta.url).then(p=>p.browserApi(b))),(await kf)(U,{method:O,body:o})}const If=localStorage.getItem("sprout-learner")||crypto.randomUUID();localStorage.setItem("sprout-learner",If);const nc={choice:"选择题",fill:"填空题",short:"问答题"};async function Oe(b,U){return Sy(If,b,U)}const Yl=({children:b,icon:U,secondary:O=!1,small:o=!1,className:p="",...L})=>i.jsxs("button",{className:`btn ${O?"secondary":""} ${o?"small":""} ${p}`,...L,children:[U&&i.jsx(U,{size:o?15:18})," ",b]}),rt=({children:b,color:U=""})=>i.jsx("span",{className:"tag "+U,children:b}),Pf=({icon:b,color:U=""})=>i.jsx("span",{className:"icon-box "+U,children:i.jsx(b,{size:21})});function aa({title:b,children:U,onClose:O,wide:o=!1}){return q.useEffect(()=>{const p=J=>{J.key==="Escape"&&O()};document.addEventListener("keydown",p);const L=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",p),document.body.style.overflow=L}},[]),i.jsx("div",{className:"modal-backdrop",onClick:O,children:i.jsxs("section",{role:"dialog","aria-modal":"true","aria-label":b,className:"modal "+(o?"wide":""),onClick:p=>p.stopPropagation(),children:[i.jsxs("header",{children:[i.jsx("h2",{children:b}),i.jsx("button",{className:"icon-btn","aria-label":"关闭",onClick:O,children:i.jsx(V1,{size:20})})]}),U]})})}function ld({small:b=!1}){return i.jsxs("svg",{viewBox:"0 0 450 310",className:"garden-art "+(b?"mini":""),role:"img","aria-label":"戴着绿色围巾的小兔子坐在书本上读书,周围是星星和嫩芽",children:[i.jsxs("defs",{children:[i.jsxs("linearGradient",{id:"book",x2:"1",y2:"1",children:[i.jsx("stop",{stopColor:"#f6b37b"}),i.jsx("stop",{offset:"1",stopColor:"#ec925e"})]}),i.jsx("pattern",{id:"dots",width:"18",height:"18",patternUnits:"userSpaceOnUse",children:i.jsx("circle",{cx:"2",cy:"2",r:"1",fill:"#a8b9a8",opacity:".2"})})]}),i.jsx("ellipse",{cx:"249",cy:"154",rx:"155",ry:"137",fill:"#e1e9d8"}),i.jsx("circle",{cx:"249",cy:"154",r:"124",fill:"url(#dots)"}),i.jsx("path",{d:"M84 198Q62 139 89 112Q105 150 84 198Z",fill:"#a9bba0"}),i.jsx("path",{d:"M89 179Q114 130 132 138Q129 173 89 179Z",fill:"#7e9a75"}),i.jsx("path",{d:"M87 243L87 155",stroke:"#789471",strokeWidth:"4"}),i.jsx("path",{d:"M67 228L104 228L99 255L73 255Z",fill:"#e9bd96"}),i.jsx("ellipse",{cx:"258",cy:"272",rx:"143",ry:"11",fill:"#b6c7ad",opacity:".35"}),i.jsxs("g",{transform:"rotate(-3 245 245)",children:[i.jsx("rect",{x:"139",y:"230",width:"208",height:"35",rx:"7",fill:"#698c72"}),i.jsx("path",{d:"M151 234H337V256H151Q160 246 151 234",fill:"#fff9e9"}),i.jsx("path",{d:"M160 241H330M160 249H330",stroke:"#d8d9c4",strokeWidth:"2"}),i.jsx("rect",{x:"135",y:"224",width:"218",height:"8",rx:"4",fill:"#789b80"})]}),i.jsxs("g",{transform:"rotate(4 246 226)",children:[i.jsx("rect",{x:"149",y:"204",width:"182",height:"30",rx:"6",fill:"url(#book)"}),i.jsx("path",{d:"M159 211H324V227H159",fill:"#fff5df"}),i.jsx("path",{d:"M163 218H317",stroke:"#ebd8b9",strokeWidth:"2"})]}),i.jsx("ellipse",{cx:"252",cy:"192",rx:"64",ry:"37",fill:"#fdf7e7"}),i.jsx("ellipse",{cx:"217",cy:"75",rx:"18",ry:"60",transform:"rotate(-15 217 75)",fill:"#fff9e9"}),i.jsx("ellipse",{cx:"217",cy:"74",rx:"8",ry:"43",transform:"rotate(-15 217 74)",fill:"#e9b8a8"}),i.jsx("ellipse",{cx:"272",cy:"72",rx:"18",ry:"60",transform:"rotate(12 272 72)",fill:"#fff9e9"}),i.jsx("ellipse",{cx:"272",cy:"71",rx:"8",ry:"43",transform:"rotate(12 272 71)",fill:"#e9b8a8"}),i.jsx("ellipse",{cx:"247",cy:"125",rx:"66",ry:"55",fill:"#fff9e9"}),i.jsx("ellipse",{cx:"207",cy:"139",rx:"13",ry:"7",fill:"#efc4ae"}),i.jsx("ellipse",{cx:"286",cy:"139",rx:"13",ry:"7",fill:"#efc4ae"}),i.jsx("path",{d:"M219 124Q224 117 229 124M263 124Q268 117 273 124",fill:"none",stroke:"#4b5e4c",strokeWidth:"3.6",strokeLinecap:"round"}),i.jsx("path",{d:"M243 135L251 135L247 140Z",fill:"#b77c72"}),i.jsx("path",{d:"M247 140Q240 149 235 142M247 140Q253 149 259 142",fill:"none",stroke:"#725c51",strokeWidth:"2",strokeLinecap:"round"}),i.jsx("path",{d:"M201 162Q247 182 291 160L286 176Q250 196 208 179Z",fill:"#6b9276"}),i.jsx("path",{d:"M267 176L288 174L293 202L270 206Z",fill:"#6b9276"}),i.jsx("path",{d:"M275 196L289 194",stroke:"#b9d0b6",strokeWidth:"2"}),i.jsx("path",{d:"M193 177Q222 164 248 182Q276 163 305 177L299 212Q273 201 248 218Q222 202 199 211Z",fill:"#f5cc86"}),i.jsx("path",{d:"M248 183V215",stroke:"#cb9e60",strokeWidth:"2"}),i.jsx("path",{d:"M206 184L235 189M207 192L235 197M260 189L290 183M260 197L288 192",stroke:"#d8ac70",strokeWidth:"2"}),i.jsx("ellipse",{cx:"198",cy:"192",rx:"13",ry:"10",fill:"#fff7e5",transform:"rotate(25 198 192)"}),i.jsx("ellipse",{cx:"299",cy:"191",rx:"13",ry:"10",fill:"#fff7e5",transform:"rotate(-25 299 191)"}),i.jsxs("g",{fill:"#d3a45e",children:[i.jsx("path",{d:"M136 58L140 70L153 74L140 78L136 90L132 78L120 74L132 70Z"}),i.jsx("path",{d:"M351 121L354 129L362 132L354 135L351 143L348 135L340 132L348 129Z"})]}),i.jsxs("g",{fill:"none",stroke:"#829b7b",strokeWidth:"2",children:[i.jsx("circle",{cx:"344",cy:"67",r:"5"}),i.jsx("path",{d:"M368 205L374 211M374 205L368 211M112 211L118 217M118 211L112 217"})]}),i.jsxs("g",{transform:"rotate(12 358 187)",children:[i.jsx("rect",{x:"328",y:"163",width:"66",height:"43",rx:"10",fill:"#fffdf2"}),i.jsx("text",{x:"341",y:"191",fontSize:"21",fontFamily:"Georgia",fontWeight:"bold",fill:"#557659",children:"Aa"})]})]})}function by(){var ot;const[b,U]=q.useState("home"),[O,o]=q.useState(null),[p,L]=q.useState([]),[J,nl]=q.useState(null),[W,$]=q.useState(null),[M,j]=q.useState([]),[R,F]=q.useState(""),[ol,hl]=q.useState(""),[ll,K]=q.useState(!1),[G,sl]=q.useState(null),[Ul,Ll]=q.useState(!1),[I,V]=q.useState(localStorage.getItem("sprout-goal")||"每天 10 分钟"),[il,wl]=q.useState(localStorage.getItem("sprout-name")||"小芽同学"),[Jl,Ql]=q.useState(!1),_=q.useRef(),tl=H=>{F(H),clearTimeout(_.current),_.current=setTimeout(()=>F(""),4e3)},pl=H=>hl(H.message||String(H));async function rl(){const[H,d]=await Promise.all([Oe("/history"),Oe("/videos")]);L(H),j(d)}q.useEffect(()=>{Oe("/status").then(o).catch(pl),rl().catch(pl);const H=localStorage.getItem("sprout-quiz");return H&&Oe("/quizzes/"+H).then(nl).catch(()=>localStorage.removeItem("sprout-quiz")),()=>clearTimeout(_.current)},[]);const E=H=>{U(H),Ll(!1),window.scrollTo({top:0,behavior:"smooth"})},C=H=>{nl(H),localStorage.setItem("sprout-quiz",H.id)};async function B(){if(J){Ql(p.some(H=>H.quizId===J.id)),E("practice");return}K(!0);try{const d=(await Oe("/materials/demo",{method:"POST"})).flatMap(X=>X.chapters.map(gl=>({materialId:X.id,chapterId:gl.id}))),z=await Oe("/generate",{method:"POST",body:{refs:d,grade:"小学三年级",difficulty:"轻松起步",count:6,types:["choice","fill","short"]}}),Z=await Oe(`/quizzes/${z.id}/publish`,{method:"PUT",body:z});C(Z),Ql(!1),E("practice")}catch(H){pl(H)}finally{K(!1)}}const cl=p.find(H=>!H.review)||p[0],ml=[["home",cy,"陪伴首页"],["practice",tc,"今日练习"],["reports",ty,"成长报告"],["teacher",Ff,"教材与讲义"],["skill",Su,"出题技能"]],Pl={api:Oe,notify:tl,fail:pl,status:O,videos:M,setVideos:j,refresh:rl};return i.jsxs("div",{className:"app "+(b==="practice"&&J?"kid-mode":""),children:[Ul&&i.jsx("div",{className:"mobile-scrim",onClick:()=>Ll(!1)}),i.jsxs("aside",{className:"sidebar "+(Ul?"show":""),children:[i.jsxs("a",{className:"brand",href:"#",onClick:H=>{H.preventDefault(),E("home")},children:[i.jsx("span",{className:"brand-mark",children:i.jsx(ju,{size:27})}),i.jsxs("span",{children:["小芽",i.jsx("span",{className:"brand-light",children:"英语"}),i.jsx("small",{children:"little steps, big growth"})]})]}),i.jsx("div",{className:"workspace-label",children:"一起,慢慢长大"}),i.jsx("nav",{children:ml.map(([H,d,z])=>i.jsxs("button",{className:b===H?"active":"",onClick:()=>E(H),children:[i.jsx(d,{size:19}),z,H==="reports"&&p.length>0&&i.jsx("span",{className:"nav-count",children:p.length}),H==="skill"&&i.jsx("span",{className:"nav-pill",children:"SKILL"})]},H))}),i.jsxs("div",{className:"sidebar-note",children:[i.jsxs("div",{className:"tiny-stars",children:["✦ ",i.jsx("span",{children:"✧"})]}),i.jsxs("h3",{children:["好的陪伴",i.jsx("br",{}),"让每一点进步发芽"]}),i.jsxs("p",{children:["从“做了几道题”",i.jsx("br",{}),"到“真正学会了什么”"]}),i.jsxs("button",{onClick:()=>sl("growth"),children:["了解成长陪伴计划 ",i.jsx(G1,{size:15})]}),i.jsx(Jf,{className:"note-leaf",size:66})]}),i.jsxs("div",{className:"sidebar-bottom",children:[i.jsxs("button",{onClick:()=>sl("settings"),children:[i.jsx(ry,{size:18}),"偏好设置"]}),i.jsxs("span",{className:"sidebar-version",children:[i.jsx("i",{}),"在线静态体验 · v0.2"]})]})]}),i.jsxs("div",{className:"main-shell",children:[i.jsxs("header",{className:"topbar",children:[i.jsxs("div",{className:"topbar-left",children:[i.jsx("button",{className:"icon-btn mobile-menu","aria-label":"展开导航",onClick:()=>Ll(!Ul),children:i.jsx(sy,{size:22})}),i.jsx("span",{className:"breadcrumb",children:"家长陪伴空间"}),i.jsx(Aa,{size:13}),i.jsx("span",{children:((ot=ml.find(H=>H[0]===b))==null?void 0:ot[2])||"今日练习"})]}),i.jsxs("div",{className:"topbar-right",children:[i.jsxs("span",{className:"mode-indicator",children:[i.jsx("i",{}),(O==null?void 0:O.mode)==="live"?"AI 已连接":"演示模式"]}),i.jsx("div",{className:"topbar-divider"}),i.jsxs("button",{className:"profile",onClick:()=>sl("settings"),children:[i.jsx("span",{className:"avatar",children:"🌱"}),i.jsxs("span",{children:[il,i.jsx("small",{children:"小学英语学习档案"})]}),i.jsx(Aa,{size:15})]})]})]}),i.jsxs("main",{children:[i.jsxs("div",{className:"static-banner",children:[i.jsx(uc,{size:15}),i.jsx("span",{children:"在线静态体验 · 教材、答题记录与技能修改仅保存在当前浏览器,示例题库无需登录即可体验。"})]}),b==="home"&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"page-heading",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"eyebrow",children:[i.jsx("span",{})," A LITTLE BETTER, EVERY DAY"]}),i.jsxs("h1",{children:["陪伴每一小步,看见每一点进步",i.jsx("span",{className:"title-dot",children:"."})]}),i.jsx("p",{children:"有方向地练习,有温度地陪伴。今天也和孩子一起,长大一点点。"})]}),i.jsxs("button",{className:"text-btn goal-button",onClick:()=>sl("goal"),children:[i.jsx(iy,{size:15}),I,i.jsx(ec,{size:12})]})]}),i.jsxs("div",{className:"home-top",children:[i.jsxs("section",{className:"hero",children:[i.jsxs("div",{className:"hero-copy",children:[i.jsxs("span",{className:"hero-chip",children:[i.jsx(Jf,{size:13})," 给英语学习一点生长的力量"]}),i.jsxs("h2",{children:["小小的练习,",i.jsx("br",{}),"大大的成长。"]}),i.jsxs("p",{children:["从一本教辅、每一章知识点开始,",i.jsx("br",{}),"把“学过了”变成“真的学会了”。"]}),i.jsx(Yl,{onClick:B,disabled:ll,icon:ll?de:pn,children:ll?"正在准备练习…":J?p.some(H=>H.quizId===J.id)?"复习今日内容":"继续今日练习":"体验今日练习"}),i.jsx("span",{className:"hero-footnote",children:J?"已发布的英语练习":"示例教材 · 动物好朋友 · 6 道题"})]}),i.jsx(ld,{}),i.jsx("span",{className:"hero-handwriting",children:"let’s grow together!"})]}),i.jsxs("section",{className:"card today-card",children:[i.jsxs("div",{className:"card-title",children:[i.jsx("h3",{children:"今天,从这里开始"}),i.jsx("span",{className:"sun-icon",children:"☀"})]}),i.jsx("p",{className:"muted",children:"不用教很多,陪孩子学懂一点就好。"}),i.jsxs("div",{className:"daily-path",children:[i.jsxs("div",{className:"path-item",children:[i.jsx("span",{className:"step-icon sage",children:i.jsx(lc,{size:17})}),i.jsxs("div",{children:[i.jsx("b",{children:"和课堂同步"}),i.jsx("p",{children:"教辅章节 + 老师精讲讲义"})]}),i.jsx(Ma,{size:16,className:"sage-text"})]}),i.jsxs("div",{className:"path-item",children:[i.jsx("span",{className:"step-icon peach",children:i.jsx(ec,{size:17})}),i.jsxs("div",{children:[i.jsx("b",{children:"一次轻量练习"}),i.jsx("p",{children:"选择、填空、英语问答"})]}),i.jsx("span",{className:"mini-time",children:"≈ 10 分钟"})]}),i.jsxs("div",{className:"path-item",children:[i.jsx("span",{className:"step-icon lavender",children:i.jsx(_a,{size:17})}),i.jsxs("div",{children:[i.jsx("b",{children:"知道为什么错"}),i.jsx("p",{children:"知识点解析 + 精讲视频"})]})]})]}),i.jsxs("div",{className:"today-bottom",children:[i.jsx(Nn,{size:15}),i.jsx("span",{children:"陪伴,不需要成为英语老师。"})]})]})]}),i.jsxs("div",{className:"section-heading",children:[i.jsxs("div",{children:[i.jsxs("h2",{children:["每次练习,都有收获 ",i.jsx("span",{className:"handwritten",children:"a little progress"})]}),i.jsx("p",{children:"孩子安心学,你也能清楚看到每一步。"})]}),i.jsxs("button",{className:"text-btn",onClick:()=>E("reports"),children:["查看成长报告 ",i.jsx(pn,{size:15})]})]}),i.jsxs("div",{className:"benefit-grid",children:[i.jsx($f,{icon:tc,color:"sage",number:"01",title:"学什么,有章可循",text:"按教辅章节拆解知识点,让练习与课堂内容同步。",link:"整理教材与讲义",onClick:()=>E("teacher")}),i.jsx($f,{icon:_a,color:"peach",number:"02",title:"错在哪里,讲明白",text:"把具体错题变成知识点解析,再用精讲视频帮助理解。",link:"查看学习反馈",onClick:()=>{cl?($(cl),E("reports")):sl("preview")}}),i.jsx($f,{icon:ju,color:"lavender",number:"03",title:"怎么陪伴,有方法",text:"每次练习后,给你一个简单、可执行的亲子复习建议。",link:"了解家长报告",onClick:()=>sl("preview")})]}),i.jsxs("div",{className:"home-bottom",children:[i.jsxs("section",{className:"card recent-card",children:[i.jsxs("div",{className:"card-title",children:[i.jsx("h3",{children:"成长的脚印"}),i.jsx(rt,{children:p.length?`${p.length} 次练习`:"等待第一颗小芽"})]}),p.length?i.jsx("div",{className:"recent-list",children:p.slice(0,3).map(H=>i.jsxs("button",{onClick:()=>{$(H),E("reports")},children:[i.jsx("span",{className:"recent-symbol",children:i.jsx(Jf,{size:20})}),i.jsxs("span",{children:[i.jsx("b",{children:H.title}),i.jsxs("small",{children:[bu(H.createdAt)," · ",H.review?"复习练习":"首次练习"," · ",H.mode==="demo"?"演示题库":"AI 出题"]})]}),i.jsxs("span",{className:"recent-score",children:[H.correct,i.jsxs("small",{children:[" / ",H.total]})]}),i.jsx(Aa,{size:17})]},H.id))}):i.jsxs("div",{className:"first-step",children:[i.jsxs("div",{className:"first-step-art",children:[i.jsx(ju,{size:36}),i.jsx("span",{children:"✦"})]}),i.jsxs("div",{children:[i.jsx("h4",{children:"第一份进步,从今天开始"}),i.jsx("p",{children:"完成一次练习,这里就会留下孩子真实的学习记录。"}),i.jsxs("button",{className:"text-btn",onClick:B,disabled:ll,children:["开始第一份练习 ",i.jsx(pn,{size:14})]})]})]})]}),i.jsxs("section",{className:"parent-note",children:[i.jsx("span",{className:"quote-mark",children:"“"}),i.jsx("div",{className:"eyebrow",children:"A NOTE FOR PARENTS"}),i.jsxs("h3",{children:["比答对更重要的,",i.jsx("br",{}),"是孩子愿意再试一次。"]}),i.jsxs("p",{children:["错题是下一步学习的线索。",i.jsx("br",{}),"先说一句“我们一起看看”,再开始讲解。"]}),i.jsx(Nn,{size:22})]})]})]}),b==="teacher"&&i.jsx(Ty,{...Pl,onPublish:H=>{C(H),Ql(!1),E("practice")}}),b==="skill"&&i.jsx(Ey,{...Pl}),b==="practice"&&(J?i.jsx(Oy,{...Pl,quiz:J,review:Jl,name:il,onExit:()=>E("home"),onComplete:H=>{L(d=>[H,...d]),$(H),E("reports")}},J.id+String(Jl)):i.jsx(Ny,{busy:ll,start:B,teacher:()=>E("teacher")})),b==="reports"&&i.jsx(Ay,{...Pl,history:p,report:W||cl,setReport:$,name:il,start:B,onReview:async H=>{try{C(await Oe("/quizzes/"+H.quizId)),Ql(!0),E("practice")}catch(d){pl(d)}},onManual:H=>{$(H),L(d=>d.map(z=>z.id===H.id?H:z))}})]}),i.jsxs("footer",{className:"footer",children:[i.jsxs("span",{children:[i.jsx(ju,{size:13}),"小芽英语 · 让每一点进步,都看得见"]}),i.jsx("span",{children:"教材有依据 · 反馈有温度 · 陪伴有方向"})]})]}),R&&i.jsxs("div",{className:"toast",role:"status",children:[i.jsx(Ae,{size:19}),R]}),ol&&i.jsxs(aa,{title:"需要你留意一下",onClose:()=>hl(""),children:[i.jsx("p",{className:"error-text",children:ol}),i.jsx(Yl,{onClick:()=>hl(""),children:"知道了"})]}),G==="settings"&&i.jsx(aa,{title:"陪伴空间设置",onClose:()=>sl(null),children:i.jsx(py,{name:il,setName:wl,notify:tl,close:()=>sl(null)})}),G==="goal"&&i.jsxs(aa,{title:"给学习一个轻松的小目标",onClose:()=>sl(null),children:[i.jsx("p",{className:"muted",children:"选择适合你们的节奏,持续比一次学很多更重要。"}),i.jsx("div",{className:"goal-options",children:["每天 5 分钟","每天 10 分钟","每天 15 分钟"].map(H=>i.jsxs("button",{className:I===H?"selected":"",onClick:()=>{V(H),localStorage.setItem("sprout-goal",H),sl(null),tl("陪伴目标已更新")},children:[i.jsx(Pi,{size:20}),H,I===H&&i.jsx(Ma,{size:18})]},H))})]}),G==="preview"&&i.jsxs(aa,{title:"一份让家长看得懂的学习反馈",wide:!0,onClose:()=>sl(null),children:[i.jsxs("div",{className:"preview-banner",children:[i.jsx(rt,{color:"peach",children:"结构预览 · 非孩子实际记录"}),i.jsx("h3",{children:"从一个答案,找到下一步"}),i.jsx("p",{children:"报告在孩子完成练习后生成,记录会保存在当前浏览器的学习档案中。"})]}),i.jsxs("div",{className:"preview-question",children:[i.jsx("span",{className:"tag",children:"示例错题"}),i.jsx("h3",{children:"These ____ dogs."}),i.jsxs("div",{className:"answer-comparison",children:[i.jsxs("span",{children:["孩子的回答 ",i.jsx("del",{children:"is"})]}),i.jsxs("span",{children:["参考答案 ",i.jsx("b",{children:"are"})]})]}),i.jsxs("h4",{children:[i.jsx(_a,{size:17})," 为什么选 are?"]}),i.jsx("p",{children:"These 指“这些”,表示多个事物,因此使用 are。可以对比着读:This is a dog. / These are dogs."}),i.jsxs("div",{className:"parent-tip",children:[i.jsx(Nn,{size:17}),i.jsxs("div",{children:[i.jsx("b",{children:"今晚,试试这样陪孩子"}),i.jsx("p",{children:"拿出一个和两个玩具,分别问 “This is…?” 和 “These are…?”,用 2 分钟帮助孩子建立单复数概念。"})]})]}),i.jsxs("div",{className:"video-placeholder",children:[i.jsx(pu,{size:20}),i.jsx("span",{children:"教师绑定知识点视频后,这里可直接观看讲解"})]})]}),i.jsxs(Yl,{onClick:()=>{sl(null),B()},children:["体验一份真实答题报告 ",i.jsx(pn,{size:17})]})]}),G==="growth"&&i.jsxs(aa,{title:"把练习变成持续的成长",onClose:()=>sl(null),children:[i.jsxs("div",{className:"growth-illustration",children:[i.jsx(ju,{size:42}),i.jsx("span",{children:"FOR YOUR LITTLE GROWER"})]}),i.jsx("p",{className:"muted",children:"成长陪伴计划 · 产品规划中"}),i.jsx("h3",{children:"家长需要的,是清楚、持续、有用的反馈。"}),i.jsxs("ul",{className:"feature-list",children:[i.jsxs("li",{children:[i.jsx(Ae,{size:18}),"按教材章节同步学习,减少盲目刷题"]}),i.jsxs("li",{children:[i.jsx(Ae,{size:18}),"错题解析与精讲视频,帮助孩子理解"]}),i.jsxs("li",{children:[i.jsx(Ae,{size:18}),"实际答题记录与可执行的亲子复习建议"]})]}),i.jsx("div",{className:"notice",children:"当前为免费体验;会员价格、支付和周报订阅尚未上线。"}),i.jsxs(Yl,{onClick:()=>sl("preview"),children:["先看看家长能收到什么 ",i.jsx(pn,{size:17})]})]})]})}function bu(b){return new Date(b).toLocaleString("zh-CN",{month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit",timeZone:"Asia/Shanghai"})}function $f({icon:b,color:U,number:O,title:o,text:p,link:L,onClick:J}){return i.jsxs("section",{className:"card benefit",children:[i.jsxs("div",{className:"benefit-top",children:[i.jsx(Pf,{icon:b,color:U}),i.jsx("span",{children:O})]}),i.jsx("h3",{children:o}),i.jsx("p",{children:p}),i.jsxs("button",{className:"text-btn",onClick:J,children:[L,i.jsx(G1,{size:15})]})]})}function py({name:b,setName:U,notify:O,close:o}){const[p,L]=q.useState(b),[J,nl]=q.useState(()=>"");return i.jsxs("form",{onSubmit:W=>{W.preventDefault(),U(p.trim()||"小芽同学"),localStorage.setItem("sprout-name",p.trim()||"小芽同学"),O("设置已保存"),o()},children:[i.jsxs("label",{children:["孩子的昵称",i.jsx("input",{maxLength:20,value:p,onChange:W=>L(W.target.value)})]}),!Z1,i.jsx("div",{className:"notice",children:"当前体验使用浏览器学习档案,清除网站数据会清除记录;资料与答题记录不会跨设备同步。"}),i.jsx(Yl,{type:"submit",children:"保存设置"})]})}function Ny({busy:b,start:U,teacher:O}){return i.jsxs("section",{className:"empty-practice",children:[i.jsx(ld,{}),i.jsx("div",{className:"eyebrow",children:"LET’S LEARN SOMETHING NEW"}),i.jsx("h1",{children:"你的英语小冒险,即将开始"}),i.jsx("p",{children:"先体验“动物好朋友”示例练习,或让老师从教辅书生成一份新练习。"}),i.jsxs("div",{className:"button-row",children:[i.jsx(Yl,{onClick:U,disabled:b,icon:b?de:pu,children:b?"准备中…":"开始示例练习"}),i.jsx(Yl,{secondary:!0,onClick:O,children:"从教材生成练习"})]})]})}function Ty({api:b,notify:U,fail:O,status:o,videos:p,setVideos:L,onPublish:J}){var re,zt;const[nl,W]=q.useState("materials"),[$,M]=q.useState([]),[j,R]=q.useState(null),[F,ol]=q.useState([]),[hl,ll]=q.useState("book"),[K,G]=q.useState(""),[sl,Ul]=q.useState([]),[Ll,I]=q.useState([]),[V,il]=q.useState("小学三年级"),[wl,Jl]=q.useState("轻松起步"),[Ql,_]=q.useState(6),[tl,pl]=q.useState(["choice","fill","short"]),[rl,E]=q.useState(null),[C,B]=q.useState(null),[cl,ml]=q.useState(null),[Pl,ot]=q.useState(!1),H=q.useRef(),d=q.useRef();q.useEffect(()=>{b("/materials").then(g=>{var A;M(g),R((A=g[0])==null?void 0:A.id)}).catch(O)},[]);const z=$.find(g=>g.id===j),Z=$.flatMap(g=>g.chapters.filter(A=>F.some(al=>al.materialId===g.id&&al.chapterId===A.id)).map(A=>({m:g,c:A}))),X=()=>{Ul([]),I([]),E(null)};function gl(g,A){X(),ol(al=>al.some(Al=>Al.chapterId===A.id)?al.filter(Al=>Al.chapterId!==A.id):[...al,{materialId:g.id,chapterId:A.id}])}async function Nl(){G("demo");try{const g=await b("/materials/demo",{method:"POST"}),A=await b("/materials");M(A),R(g[0].id),ol(g.flatMap(al=>al.chapters.map(Al=>({materialId:al.id,chapterId:Al.id})))),X(),U("已载入示例教辅书和精讲讲义,可继续拆解知识点")}catch(g){O(g)}finally{G("")}}async function Tl(g){if(g){G("upload");try{const A=new FormData;A.append("file",g),A.append("kind",hl);const al=await b("/materials",{method:"POST",body:A});M(Al=>[...Al,al]),R(al.id),ol(al.chapters.slice(0,1).map(Al=>({materialId:al.id,chapterId:Al.id}))),X(),U(`导入完成,识别到 ${al.chapters.length} 个章节/分段,请核对目录`)}catch(A){O(A)}finally{G(""),H.current&&(H.current.value="")}}}async function w(){G("analyze");try{const g=await b("/knowledge",{method:"POST",body:{refs:F}});Ul(g.points),I(g.points.map(A=>A.id)),U("知识点已提炼,请勾选本次要练习的内容")}catch(g){O(g)}finally{G("")}}async function el(){G("generate");try{const g=await b("/generate",{method:"POST",body:{refs:F,grade:V,difficulty:wl,count:Ql,types:tl,focusPoints:sl.filter(A=>Ll.includes(A.id)).map(({title:A,sourceExcerpt:al})=>({title:A,sourceExcerpt:al}))}});E(g),setTimeout(()=>{var A;return(A=d.current)==null?void 0:A.scrollIntoView({behavior:"smooth",block:"start"})},80),U("题目已生成,请审核后发布")}catch(g){O(g)}finally{G("")}}async function Kt(){G("publish");try{const g=await b(`/quizzes/${rl.id}/publish`,{method:"PUT",body:rl});U("练习已发布,现在可以交给孩子作答"),J(g)}catch(g){O(g)}finally{G("")}}async function na(g){G("chapter");try{const A=await b(`/materials/${j}/chapters/${cl.id}`,{method:"PATCH",body:g});M(al=>al.map(Al=>Al.id===A.id?A:Al)),ol(al=>al.filter(Al=>Al.materialId!==A.id||A.chapters.some(mt=>mt.id===Al.chapterId))),ml(null),X(),U("章节已更新,知识点可重新提炼")}catch(A){O(A)}finally{G("")}}return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"page-heading",children:[i.jsxs("div",{children:[i.jsx("div",{className:"eyebrow",children:"TEACHER’S WORKSPACE"}),i.jsxs("h1",{children:["把一本书,变成孩子的学习路径",i.jsx("span",{className:"title-dot",children:"."})]}),i.jsx("p",{children:"上传教辅书与精讲讲义,按章节拆解知识点,再生成有依据的练习。"})]}),i.jsxs(rt,{color:"sage",children:[i.jsx(Q1,{size:14}),"教师工作台"]})]}),i.jsxs("div",{className:"tabs",children:[i.jsxs("button",{className:nl==="materials"?"active":"",onClick:()=>W("materials"),children:[i.jsx(Ff,{size:17}),"教材与知识点"]}),i.jsxs("button",{className:nl==="videos"?"active":"",onClick:()=>W("videos"),children:[i.jsx(ac,{size:17}),"知识点精讲视频 ",i.jsx("span",{children:p.length})]})]}),nl==="videos"?i.jsx(zy,{api:b,notify:U,fail:O,videos:p,setVideos:L}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"workflow-strip",children:[i.jsxs("span",{children:[i.jsx("b",{children:"1"}),"导入资料"]}),i.jsx(Aa,{size:15}),i.jsxs("span",{children:[i.jsx("b",{children:"2"}),"确认章节 · 提炼知识点"]}),i.jsx(Aa,{size:15}),i.jsxs("span",{children:[i.jsx("b",{children:"3"}),"生成题目 · 审核发布"]})]}),i.jsxs("section",{className:"card material-card",children:[i.jsxs("div",{className:"card-title",children:[i.jsxs("div",{children:[i.jsxs("h3",{children:[i.jsx("span",{className:"section-number",children:"01"}),"教辅书与精讲讲义"]}),i.jsx("p",{className:"muted",children:"资料可以一起选用,题目会保留来源依据。"})]}),i.jsx(Yl,{secondary:!0,small:!0,onClick:Nl,disabled:!!K,icon:K==="demo"?de:Su,children:"载入示例资料"})]}),i.jsxs("div",{className:"materials-layout",children:[i.jsxs("div",{className:"material-library",children:[i.jsxs("div",{className:"library-heading",children:["我的资料库 ",i.jsx("span",{children:$.length})]}),$.length?$.map(g=>i.jsxs("button",{className:"material-item "+(j===g.id?"active":""),onClick:()=>R(g.id),children:[i.jsx("span",{className:"material-icon "+(g.kind==="notes"?"peach":"sage"),children:g.kind==="book"?i.jsx(tc,{size:20}):i.jsx(uy,{size:20})}),i.jsxs("span",{children:[i.jsx("b",{children:g.name}),i.jsxs("small",{children:[g.kind==="book"?"教辅书":"精讲讲义"," · ",g.chapters.length," 个分段",g.demo?" · 示例":""]})]}),i.jsx(Aa,{size:14})]},g.id)):i.jsxs("div",{className:"small-empty",children:[i.jsx(Ff,{size:27}),i.jsxs("p",{children:["还没有资料",i.jsx("br",{}),"上传一本书,开始搭建学习路径"]})]}),i.jsx("div",{className:"upload-kind",children:i.jsxs("select",{"aria-label":"资料类型",value:hl,onChange:g=>ll(g.target.value),children:[i.jsx("option",{value:"book",children:"上传教辅书"}),i.jsx("option",{value:"notes",children:"上传精讲讲义"})]})}),i.jsxs("button",{className:"upload-zone "+(Pl?"dragging":""),onDragOver:g=>{g.preventDefault(),ot(!0)},onDragLeave:()=>ot(!1),onDrop:g=>{g.preventDefault(),ot(!1),K||Tl(g.dataTransfer.files[0])},onClick:()=>{var g;return(g=H.current)==null?void 0:g.click()},disabled:!!K,children:[K==="upload"?i.jsx(de,{className:"spin",size:24}):i.jsx(vy,{size:24}),i.jsx("b",{children:K==="upload"?"正在解析资料…":"点击或拖入文件"}),i.jsx("span",{children:"PDF / DOCX / PPTX / TXT / MD"}),i.jsx("small",{children:"最大 50MB · 扫描件需先 OCR"})]}),i.jsx("input",{ref:H,type:"file",hidden:!0,accept:".pdf,.docx,.pptx,.txt,.md",onChange:g=>Tl(g.target.files[0])})]}),i.jsxs("div",{className:"chapter-panel",children:[i.jsxs("div",{className:"chapter-header",children:[i.jsxs("span",{children:[i.jsx(B1,{size:17}),z?"自动识别的章节与分段":"章节目录"]}),z&&i.jsx(rt,{children:z.format.toUpperCase()})]}),z?i.jsxs(i.Fragment,{children:[i.jsx("p",{className:"field-hint",children:"请核对自动拆分结果。勾选教材章节,再切换到讲义,勾选对应精讲段落。"}),(re=z.warnings)==null?void 0:re.map((g,A)=>i.jsx("div",{className:"notice warning",children:g},A)),i.jsx("div",{className:"chapter-list",children:z.chapters.map((g,A)=>i.jsxs("div",{className:"chapter-row "+(F.some(al=>al.chapterId===g.id)?"selected":""),children:[i.jsxs("label",{className:"chapter-select",children:[i.jsx("input",{type:"checkbox",checked:F.some(al=>al.chapterId===g.id),onChange:()=>gl(z,g)}),i.jsx("span",{className:"chapter-index",children:String(A+1).padStart(2,"0")}),i.jsxs("span",{children:[i.jsx("b",{children:g.title}),i.jsxs("small",{children:[g.text.length.toLocaleString()," 字符",z.format==="pdf"?` · 原始 PDF 页范围 ${g.pageStart}–${g.pageEnd}`:""]})]})]}),i.jsx("button",{className:"icon-btn",title:"查看正文与调整章节","aria-label":"调整 "+g.title,onClick:()=>ml({...g}),children:i.jsx(ec,{size:15})})]},g.id))})]}):i.jsxs("div",{className:"chapter-empty",children:[i.jsx(lc,{size:38}),i.jsx("h3",{children:"先上传资料,或试试示例"}),i.jsxs("p",{children:["系统按 Unit / Chapter / Lesson 等标题拆分;",i.jsx("br",{}),"无明显标题时按文本长度分段,可手动调整。"]})]})]})]}),Z.length>0&&i.jsxs("div",{className:"selection-bar",children:[i.jsxs("span",{children:[i.jsx(Ae,{size:16}),"已选 ",Z.length," 个章节 / 段落"]}),i.jsx("div",{children:Z.map(({m:g,c:A})=>i.jsxs(rt,{color:g.kind==="book"?"sage":"peach",children:[g.kind==="book"?"教材":"讲义"," · ",A.title,i.jsx("button",{"aria-label":"移除 "+A.title,onClick:()=>gl(g,A),children:i.jsx(V1,{size:12})})]},A.id))})]})]}),i.jsxs("section",{className:"card knowledge-card",children:[i.jsxs("div",{className:"card-title",children:[i.jsxs("div",{children:[i.jsxs("h3",{children:[i.jsx("span",{className:"section-number",children:"02"}),"拆解本次学习的知识点"]}),i.jsx("p",{className:"muted",children:"把章节内容拆成清晰的学习目标,选择本次要练习的部分。"})]}),i.jsx(Yl,{secondary:!0,small:!0,onClick:w,disabled:!!K||!F.length,icon:K==="analyze"?de:Su,children:K==="analyze"?"正在提炼…":sl.length?"重新提炼":"提炼知识点"})]}),sl.length?i.jsx("div",{className:"knowledge-grid",children:sl.map(g=>i.jsxs("label",{className:"knowledge-item "+(Ll.includes(g.id)?"selected":""),children:[i.jsxs("div",{className:"knowledge-top",children:[i.jsx(rt,{color:"sage",children:g.category}),i.jsx("input",{type:"checkbox",checked:Ll.includes(g.id),onChange:()=>{E(null),I(A=>A.includes(g.id)?A.filter(al=>al!==g.id):[...A,g.id])}})]}),i.jsx("h4",{children:g.title}),i.jsx("p",{children:g.summary}),i.jsxs("details",{onClick:A=>A.stopPropagation(),children:[i.jsx("summary",{children:"查看原文依据"}),i.jsx("blockquote",{children:g.sourceExcerpt}),i.jsx("small",{children:g.sources.map(A=>A.label).join(";")})]})]},g.id))}):i.jsxs("div",{className:"knowledge-empty",children:[i.jsx(_a,{size:21}),i.jsx("span",{children:"选好教材与讲义后,点击“提炼知识点”。词汇、句型、语法和阅读目标会出现在这里。"})]})]}),i.jsxs("section",{className:"card generation-card",children:[i.jsxs("div",{className:"card-title",children:[i.jsxs("div",{children:[i.jsxs("h3",{children:[i.jsx("span",{className:"section-number",children:"03"}),"为这些知识点生成练习"]}),i.jsx("p",{className:"muted",children:"适合孩子的节奏,比题量更重要。"})]}),i.jsx(rt,{color:(o==null?void 0:o.mode)==="live"?"sage":"peach",children:(o==null?void 0:o.mode)==="live"?"真实 AI 生成":"示例题库演示"})]}),i.jsxs("div",{className:"generation-fields",children:[i.jsxs("label",{children:["适用年级",i.jsx("select",{value:V,onChange:g=>{il(g.target.value),E(null)},children:["小学一年级","小学二年级","小学三年级","小学四年级","小学五年级","小学六年级","初中英语"].map(g=>i.jsx("option",{children:g},g))})]}),i.jsxs("label",{children:["练习难度",i.jsx("select",{value:wl,onChange:g=>{Jl(g.target.value),E(null)},children:["轻松起步","巩固提升","挑战一下"].map(g=>i.jsx("option",{children:g},g))})]}),i.jsxs("label",{children:["题目数量",i.jsx("input",{type:"number",min:"3",max:"20",value:Ql,onChange:g=>{_(Number(g.target.value)),E(null)}})]}),i.jsxs("div",{children:[i.jsx("span",{className:"field-label",children:"题型组合"}),i.jsx("div",{className:"type-pills",children:Object.entries(nc).map(([g,A])=>i.jsxs("button",{className:tl.includes(g)?"selected":"",onClick:()=>{pl(al=>al.includes(g)?al.filter(Al=>Al!==g):[...al,g]),E(null)},children:[tl.includes(g)&&i.jsx(Ma,{size:13})," ",A]},g))})]})]}),i.jsxs("div",{className:"generation-bottom",children:[i.jsxs("p",{children:[i.jsx(uc,{size:16}),(o==null?void 0:o.mode)==="live"?"基于所选原文生成,审核后才会发布给孩子。":"演示仅支持示例知识点及固定题库;年级、难度与自然语言规则需真实 API 才能生效。"]}),i.jsx(Yl,{disabled:!!K||!F.length||!sl.length||!Ll.length||!tl.length,onClick:el,icon:K==="generate"?de:Su,children:K==="generate"?"正在生成题目…":"生成教学题目"})]})]}),rl&&i.jsxs("section",{ref:d,className:"card draft-card",children:[i.jsxs("div",{className:"card-title",children:[i.jsxs("div",{children:[i.jsx("h3",{children:"审核这份练习"}),i.jsxs("p",{className:"muted",children:[rl.questions.length," 道题 · ",Ll.length," 个所选知识点 · 点击编辑可调整题目与答案。"]})]}),i.jsx(rt,{color:"peach",children:"待教师审核"})]}),i.jsxs("label",{children:["练习标题",i.jsx("input",{value:rl.title,maxLength:200,onChange:g=>E({...rl,title:g.target.value})})]}),i.jsx("div",{className:"draft-list",children:rl.questions.map((g,A)=>{var al;return i.jsxs("div",{className:"draft-question",children:[i.jsx("div",{className:"draft-number",children:A+1}),i.jsxs("div",{children:[i.jsxs("div",{className:"inline-tags",children:[i.jsx(rt,{children:nc[g.type]}),i.jsx("span",{children:g.knowledge})]}),g.context&&i.jsxs("div",{className:"reading-passage",children:[i.jsx("span",{children:"READ & THINK"}),i.jsx("p",{children:g.context})]}),i.jsx("h4",{children:g.prompt}),g.options&&i.jsx("div",{className:"draft-options",children:g.options.map((Al,mt)=>i.jsxs("span",{className:g.answer===Al?"correct":"",children:[String.fromCharCode(65+mt),". ",Al]},mt))}),i.jsxs("p",{className:"draft-answer",children:["参考答案:",i.jsx("b",{children:g.answer})]}),i.jsxs("details",{children:[i.jsx("summary",{children:"解析与教材依据"}),i.jsx("p",{children:g.explanation}),i.jsx("blockquote",{children:g.sourceExcerpt}),i.jsx("small",{children:(al=g.sources)==null?void 0:al.map(Al=>Al.label).join(";")})]})]}),i.jsxs("button",{className:"text-btn",onClick:()=>B({...g}),children:[i.jsx(ec,{size:14}),"编辑"]})]},g.id)})}),i.jsxs("div",{className:"publish-bar",children:[i.jsxs("span",{children:[i.jsx(ny,{size:17}),"发布后,孩子作答前看不到答案与解析。"]}),i.jsx(Yl,{onClick:Kt,disabled:!!K,icon:K==="publish"?de:Ae,children:"审核完成,发布练习"})]})]})]}),cl&&i.jsxs(aa,{title:"核对与调整章节",wide:!0,onClose:()=>ml(null),children:[i.jsxs("label",{children:["章节名称",i.jsx("input",{value:cl.title,onChange:g=>ml({...cl,title:g.target.value})})]}),i.jsxs("label",{children:["章节正文",i.jsx("textarea",{rows:"13",value:cl.text,onChange:g=>ml({...cl,text:g.target.value})})]}),i.jsx("p",{className:"field-hint",children:"正文改动代表教师校订;PDF 页码仍为原始导入范围,请核对引用。"}),i.jsxs("div",{className:"button-row",children:[i.jsx(Yl,{disabled:!!K,onClick:()=>na({action:"edit",title:cl.title,text:cl.text}),children:"保存修改"}),i.jsx(Yl,{secondary:!0,disabled:!!K||((zt=z==null?void 0:z.chapters.at(-1))==null?void 0:zt.id)===cl.id,onClick:()=>na({action:"merge"}),icon:B1,children:"与下一段合并"})]}),i.jsx("hr",{}),i.jsxs("label",{children:["按原文中的标记拆成两段",i.jsx("input",{placeholder:"粘贴第二段开头的一小段原文",value:cl.marker||"",onChange:g=>ml({...cl,marker:g.target.value})})]}),i.jsx(Yl,{secondary:!0,small:!0,disabled:!!K||!cl.marker,onClick:()=>na({action:"split",marker:cl.marker}),icon:dy,children:"按标记拆分已保存正文"})]}),C&&i.jsxs(aa,{title:"编辑教学题目",wide:!0,onClose:()=>B(null),children:[C.context!==void 0&&i.jsxs("label",{children:["阅读材料",i.jsx("textarea",{rows:"4",value:C.context,onChange:g=>B({...C,context:g.target.value})})]}),i.jsxs("label",{children:["题干",i.jsx("textarea",{rows:"2",value:C.prompt,onChange:g=>B({...C,prompt:g.target.value})})]}),C.type==="choice"&&C.options.map((g,A)=>i.jsxs("label",{children:["选项 ",String.fromCharCode(65+A),i.jsx("input",{value:g,onChange:al=>B({...C,options:C.options.map((Al,mt)=>mt===A?al.target.value:Al)})})]},A)),i.jsxs("div",{className:"form-two",children:[i.jsxs("label",{children:["参考答案",i.jsx("input",{value:C.answer,onChange:g=>B({...C,answer:g.target.value})})]}),i.jsxs("label",{children:["知识点",i.jsx("input",{value:C.knowledge,onChange:g=>B({...C,knowledge:g.target.value})})]})]}),i.jsxs("label",{children:["可接受答案(每行一个,包含参考答案)",i.jsx("textarea",{rows:"3",value:C.acceptedAnswers.join(`
270`),onChange:g=>B({...C,acceptedAnswers:g.target.value.split(`
271`)})})]}),i.jsxs("label",{children:["答案解析",i.jsx("textarea",{rows:"3",value:C.explanation,onChange:g=>B({...C,explanation:g.target.value})})]}),i.jsxs("label",{children:["原文依据",i.jsx("textarea",{rows:"2",value:C.sourceExcerpt,onChange:g=>B({...C,sourceExcerpt:g.target.value})})]}),i.jsxs("label",{children:["给家长的陪伴建议",i.jsx("textarea",{rows:"2",value:C.parentTip,onChange:g=>B({...C,parentTip:g.target.value})})]}),i.jsx(Yl,{onClick:()=>{E(g=>({...g,questions:g.questions.map(A=>A.id===C.id?C:A)})),B(null)},children:"保存题目修改"})]})]})}function zy({api:b,notify:U,fail:O,videos:o,setVideos:p}){const[L,J]=q.useState(""),[nl,W]=q.useState(""),[$,M]=q.useState(""),[j,R]=q.useState(null),[F,ol]=q.useState(!1),hl=q.useRef();async function ll(K){K.preventDefault(),ol(!0);try{const G=new FormData;G.append("title",L),G.append("keyword",nl),j?G.append("file",j):G.append("url",$);const sl=await b("/videos",{method:"POST",body:G});p(Ul=>[...Ul,sl]),J(""),W(""),M(""),R(null),hl.current&&(hl.current.value=""),U("视频已添加,匹配知识点的题目会展示讲解")}catch(G){O(G)}finally{ol(!1)}}return i.jsxs("div",{className:"video-layout",children:[i.jsxs("form",{className:"card",onSubmit:ll,children:[i.jsx("div",{className:"card-title",children:i.jsxs("h3",{children:[i.jsx(ac,{size:20}),"添加知识点精讲"]})}),i.jsx("p",{className:"muted",children:"将客户自己的讲解视频,放到孩子需要的地方。"}),i.jsxs("label",{children:["视频标题",i.jsx("input",{required:!0,maxLength:100,placeholder:"例如:This is / These are 怎么分?",value:L,onChange:K=>J(K.target.value)})]}),i.jsxs("label",{children:["匹配的知识点关键词",i.jsx("input",{required:!0,maxLength:100,placeholder:"例如:these are、can、阅读理解",value:nl,onChange:K=>W(K.target.value)})]}),i.jsx("p",{className:"field-hint",children:"题目知识点包含此关键词时自动关联,不区分英文大小写。"}),i.jsxs("label",{children:["上传视频",i.jsx("input",{type:"file",ref:hl,accept:"video/mp4,video/webm",onChange:K=>R(K.target.files[0]||null)})]}),i.jsx("p",{className:"field-hint",children:"支持 MP4 / WebM,最大 100MB。仅文件格式不代表编码一定兼容。"}),i.jsx("div",{className:"or-divider",children:"或者使用视频链接"}),i.jsxs("label",{children:["视频地址",i.jsx("input",{type:"url",disabled:!!j,placeholder:"https://…/lesson.mp4 或公开视频页面",value:$,onChange:K=>M(K.target.value)})]}),i.jsx("p",{className:"field-hint",children:"直链可在解析中播放;其他网页链接以“打开视频讲解”展示。"}),i.jsx(Yl,{type:"submit",disabled:F||!j&&!$,icon:F?de:fy,children:"添加精讲视频"})]}),i.jsxs("section",{className:"card",children:[i.jsxs("div",{className:"card-title",children:[i.jsx("h3",{children:"已关联的精讲视频"}),i.jsxs(rt,{children:[o.length," 个"]})]}),o.length?o.map(K=>i.jsxs("div",{className:"video-library-item",children:[i.jsxs("div",{className:"video-library-head",children:[i.jsx("span",{className:"video-symbol",children:i.jsx(pu,{size:17})}),i.jsxs("div",{children:[i.jsx("b",{children:K.title}),i.jsxs("p",{children:["知识点关键词:",K.keyword]})]}),i.jsx("button",{className:"icon-btn","aria-label":"删除 "+K.title,onClick:async()=>{try{await b("/videos/"+K.id,{method:"DELETE"}),p(G=>G.filter(sl=>sl.id!==K.id)),U("视频已移除")}catch(G){O(G)}},children:i.jsx(my,{size:16})})]}),i.jsx(w1,{video:K})]},K.id)):i.jsxs("div",{className:"chapter-empty",children:[i.jsx(ac,{size:38}),i.jsx("h3",{children:"把精讲,带到每一道错题旁"}),i.jsx("p",{children:"上传第一个视频,孩子就能在匹配的知识点解析中观看。"})]})]})]})}function w1({video:b}){const[U,O]=q.useState(!1),o=!b.url||b.url.startsWith("blob:")||/\.(mp4|webm)(?:[?#]|$)/i.test(b.url),p=b.url||`/api/media/${b.id}?learner=${If}`;return i.jsx("div",{className:"video-player",children:o&&!U?i.jsxs(i.Fragment,{children:[i.jsx("video",{controls:!0,playsInline:!0,preload:"metadata",src:p,"aria-label":b.title,onError:()=>O(!0)}),i.jsx("small",{children:b.title})]}):i.jsxs("a",{href:p,target:"_blank",rel:"noopener noreferrer",children:[i.jsx(pu,{size:20}),U?"浏览器无法播放,打开原视频":"打开视频讲解",i.jsx(ay,{size:16})]})})}function Ey({api:b,notify:U,fail:O,status:o}){const[p,L]=q.useState(""),[J,nl]=q.useState(""),[W,$]=q.useState(""),[M,j]=q.useState(!1);q.useEffect(()=>{b("/skill").then(F=>{L(F.content),nl(F.content),$(F.updatedAt)}).catch(O)},[]);async function R(){j(!0);try{const F=await b("/skill",{method:"PUT",body:{content:p}});nl(p),$(F.updatedAt),U(Z1?"技能已保存在当前浏览器,演示题库不会执行自然语言规则":"技能已保存,下一次真实 AI 生成会加载新规则")}catch(F){O(F)}finally{j(!1)}}return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"page-heading",children:[i.jsxs("div",{children:[i.jsx("div",{className:"eyebrow",children:"A SKILL THAT GROWS WITH YOU"}),i.jsxs("h1",{children:["好题目,从好规则开始",i.jsx("span",{className:"title-dot",children:"."})]}),i.jsx("p",{children:"把教学经验写进技能。调整一次,下一次出题就按新的方式进行。"})]}),i.jsxs(rt,{color:"sage",children:[i.jsx(Su,{size:14}),"独立可调整技能"]})]}),i.jsxs("div",{className:"skill-layout",children:[i.jsxs("section",{className:"card skill-editor",children:[i.jsxs("div",{className:"card-title",children:[i.jsxs("div",{children:[i.jsx("h3",{children:"英语教学出题技能"}),i.jsx("code",{children:"english-question-generator / SKILL.md"})]}),i.jsx(rt,{color:p===J?"sage":"peach",children:p===J?"已保存":"未保存修改"})]}),i.jsx("textarea",{"aria-label":"出题技能规则",className:"code-editor",spellCheck:"false",value:p,onChange:F=>L(F.target.value)}),i.jsxs("div",{className:"skill-editor-footer",children:[i.jsx("span",{children:W?"最近保存:"+bu(W):"正在加载技能…"}),i.jsxs("div",{className:"button-row",children:[i.jsx(Yl,{secondary:!0,small:!0,disabled:M||p===J,onClick:()=>L(J),icon:X1,children:"还原未保存修改"}),i.jsx(Yl,{small:!0,disabled:M||!p||p===J,onClick:R,icon:M?de:Ma,children:"保存技能"})]})]})]}),i.jsxs("aside",{className:"skill-help",children:[i.jsxs("section",{className:"card",children:[i.jsx(Pf,{icon:oy,color:"lavender"}),i.jsx("h3",{children:"你可以随时调整"}),i.jsxs("ul",{children:[i.jsxs("li",{children:[i.jsx("b",{children:"教材范围"}),i.jsx("span",{children:"按章节、知识点和精讲内容出题"})]}),i.jsxs("li",{children:[i.jsx("b",{children:"题目风格"}),i.jsx("span",{children:"简单指令、生活场景、儿童友好语气"})]}),i.jsxs("li",{children:[i.jsx("b",{children:"答案容错"}),i.jsx("span",{children:"拼写、标点、同义表达如何处理"})]}),i.jsxs("li",{children:[i.jsx("b",{children:"家长反馈"}),i.jsx("span",{children:"错因说明、亲子建议与鼓励方式"})]})]})]}),i.jsxs("div",{className:"notice",children:[i.jsx(_a,{size:19}),i.jsxs("div",{children:[i.jsx("b",{children:(o==null?void 0:o.mode)==="live"?"已连接真实 AI":"当前为固定题库演示"}),i.jsx("p",{children:(o==null?void 0:o.mode)==="live"?"每次生成会重新加载技能文件。题数、年级和难度在教材工作台配置。":"规则修改仅保存在当前浏览器;静态网页不执行 AI 出题,需要后台服务才能使用真实模型。"})]})]}),i.jsxs("section",{className:"card",children:[i.jsx("h3",{children:"好规则,保留这些边界"}),i.jsx("p",{className:"muted",children:"依据原文出题,允许合理的等价回答;学生提交前不展示答案;报告只统计实际答题结果。"}),i.jsxs("span",{className:"help-footnote",children:[i.jsx(uc,{size:15}),"技能保存在当前浏览器,不会更新 GitHub 文件"]})]})]})]})]})}function Oy({api:b,fail:U,quiz:O,review:o,name:p,onExit:L,onComplete:J}){const nl=`sprout-progress-${O.id}-${o?"review":"first"}`,[W]=q.useState(()=>{try{return JSON.parse(localStorage.getItem(nl))||{}}catch{return{}}}),[$,M]=q.useState(W.answers||{}),[j,R]=q.useState(Math.min(W.index||0,O.questions.length-1)),[F,ol]=q.useState(!1),hl=q.useRef(Date.now()),ll=q.useRef(!1),K=q.useRef({answers:$,index:j}),G=O.questions[j],sl=Object.values($).filter(I=>I.trim()).length;q.useEffect(()=>{K.current={answers:$,index:j},ll.current||localStorage.setItem(nl,JSON.stringify({...K.current,elapsed:(W.elapsed||0)+(Date.now()-hl.current)/1e3}))},[$,j]),q.useEffect(()=>()=>{var I;(I=window.speechSynthesis)==null||I.cancel(),ll.current||localStorage.setItem(nl,JSON.stringify({...K.current,elapsed:(W.elapsed||0)+(Date.now()-hl.current)/1e3}))},[]);async function Ul(){ol(!0);try{const I=await b(`/quizzes/${O.id}/submit`,{method:"POST",body:{answers:$,seconds:Math.min(86400,(W.elapsed||0)+(Date.now()-hl.current)/1e3),review:o}});ll.current=!0,localStorage.removeItem(nl),J(I)}catch(I){U(I)}finally{ol(!1)}}function Ll(){if(!window.speechSynthesis){U(new Error("当前浏览器不支持朗读,可以直接阅读题目。"));return}window.speechSynthesis.cancel();const I=G.prompt.replace(/[\u4e00-\u9fff]/g,"").replace(/____/g,"blank"),V=new SpeechSynthesisUtterance(I);V.lang="en-US",V.rate=.8,window.speechSynthesis.speak(V)}return i.jsxs("div",{className:"practice-shell",children:[i.jsxs("div",{className:"practice-top",children:[i.jsxs("button",{className:"text-btn",onClick:L,children:[i.jsx(q1,{size:17}),"返回陪伴空间"]}),i.jsxs(rt,{color:"sage",children:[o?"复习闯关":"英语小冒险"," · ",O.mode==="demo"?"示例题库":"AI 练习"]})]}),i.jsxs("div",{className:"practice-heading",children:[i.jsx("span",{className:"kid-mascot",children:"🐰"}),i.jsxs("div",{children:[i.jsxs("h1",{children:[p,",今天也一起进步吧!"]}),i.jsx("p",{children:"不用着急,每一道题都是一个小发现。"})]}),i.jsx("span",{className:"kid-star",children:"✦"})]}),i.jsxs("div",{className:"practice-progress",children:[i.jsxs("div",{children:[i.jsx("span",{children:"你的学习旅程"}),i.jsxs("b",{children:[sl," / ",O.questions.length," 道"]})]}),i.jsx("div",{className:"progress-track",children:i.jsx("span",{style:{width:`${sl/O.questions.length*100}%`}})}),i.jsx("div",{className:"question-dots",children:O.questions.map((I,V)=>{var il,wl;return i.jsx("button",{"aria-label":"跳转第 "+(V+1)+" 题",className:(j===V?"active ":"")+((il=$[I.id])!=null&&il.trim()?"answered":""),onClick:()=>R(V),children:(wl=$[I.id])!=null&&wl.trim()?i.jsx(Ma,{size:14}):V+1},I.id)})})]}),i.jsxs("section",{className:"question-card",children:[i.jsxs("div",{className:"question-meta",children:[i.jsx(rt,{color:"lavender",children:nc[G.type]}),i.jsxs("span",{children:["QUESTION ",String(j+1).padStart(2,"0")]}),i.jsxs("button",{className:"speak-btn",onClick:Ll,children:[i.jsx(yy,{size:17}),"听一听"]})]}),G.context&&i.jsxs("div",{className:"reading-passage",children:[i.jsxs("span",{children:[i.jsx(tc,{size:14})," READ & THINK · 先读一读"]}),i.jsx("p",{children:G.context})]}),i.jsx("h2",{children:G.prompt}),i.jsx("p",{className:"question-hint",children:G.type==="choice"?"选一个你觉得正确的答案吧。":G.type==="fill"?"把缺少的英文单词填上吧。":"用你自己的英文表达,一小句话也很好。"}),G.type==="choice"?i.jsx("div",{className:"answer-options",children:G.options.map((I,V)=>i.jsxs("button",{className:$[G.id]===I?"selected":"",onClick:()=>M(il=>({...il,[G.id]:I})),children:[i.jsx("span",{children:String.fromCharCode(65+V)}),i.jsx("b",{children:I}),$[G.id]===I&&i.jsx(Ae,{size:21})]},V))}):G.type==="fill"?i.jsx("input",{className:"kid-answer","aria-label":"填写英文答案",autoComplete:"off",maxLength:2e3,placeholder:"在这里写下你的答案…",value:$[G.id]||"",onChange:I=>M(V=>({...V,[G.id]:I.target.value}))}):i.jsx("textarea",{className:"kid-answer","aria-label":"填写英语问答",rows:"4",autoComplete:"off",maxLength:2e3,placeholder:"Give it a try! 在这里写下你的回答…",value:$[G.id]||"",onChange:I=>M(V=>({...V,[G.id]:I.target.value}))}),i.jsxs("div",{className:"question-actions",children:[i.jsx(Yl,{secondary:!0,onClick:()=>R(I=>I-1),disabled:j===0||F,icon:q1,children:"上一题"}),j<O.questions.length-1?i.jsxs(Yl,{onClick:()=>R(I=>I+1),disabled:F,children:["下一题 ",i.jsx(pn,{size:18})]}):i.jsx(Yl,{onClick:Ul,disabled:F||sl<O.questions.length,icon:F?de:Ae,children:F?"正在批阅…":"完成挑战"})]}),j===O.questions.length-1&&sl<O.questions.length&&i.jsxs("p",{className:"field-hint center",children:["还有 ",O.questions.length-sl," 道题没回答,点上方数字就可以回去看看。"]})]}),i.jsxs("div",{className:"kid-encouragement",children:[i.jsx(Nn,{size:17}),i.jsxs("span",{children:["认真思考的你,已经很棒了。 ",i.jsx("b",{children:"You’ve got this!"})]})]})]})}function Ay({api:b,fail:U,notify:O,history:o,report:p,setReport:L,videos:J,name:nl,start:W,onReview:$,onManual:M}){var Jl,Ql;const[j,R]=q.useState("all"),[F,ol]=q.useState(null),[hl,ll]=q.useState(""),[K,G]=q.useState(!1);if(q.useEffect(()=>R("all"),[p==null?void 0:p.id]),!p)return i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"page-heading",children:i.jsxs("div",{children:[i.jsx("div",{className:"eyebrow",children:"EVERY STEP COUNTS"}),i.jsxs("h1",{children:["孩子的进步,值得被看见",i.jsx("span",{className:"title-dot",children:"."})]}),i.jsx("p",{children:"完成第一份练习,解锁属于你们的真实学习反馈。"})]})}),i.jsxs("section",{className:"card report-empty",children:[i.jsx(ld,{}),i.jsx("h2",{children:"先种下一颗小小的种子"}),i.jsxs("p",{children:["报告会展示答题结果、章节依据、知识点解析和亲子建议。",i.jsx("br",{}),"这里不会用示例成绩代替孩子的实际记录。"]}),i.jsx(Yl,{onClick:W,icon:pu,children:"开始第一份练习"})]})]});const sl=p.results.filter(_=>_.status==="incorrect"),Ul=p.results.filter(_=>_.status==="pending"),Ll=Object.entries(p.results.reduce((_,tl)=>{var pl;return _[pl=tl.knowledge]||(_[pl]={correct:0,total:0,pending:0}),_[tl.knowledge].total++,_[tl.knowledge].correct+=tl.correct===!0?1:0,_[tl.knowledge].pending+=tl.status==="pending"?1:0,_},{})),I=[...new Set(p.results.flatMap(_=>{var tl;return((tl=_.sources)==null?void 0:tl.map(pl=>pl.label))||[]}))],V=p.results.filter(_=>j==="all"||_.status===j);function il(){const _=[`小芽英语 · ${nl}的学习反馈`,`${p.title}
272${bu(p.createdAt)} · ${p.review?"复习练习":"首次练习"} · ${p.mode==="demo"?"示例题库实际作答":"AI 生成题实际作答"}`,`答对 ${p.correct}/${p.total},待批阅 ${p.pending},用时 ${Math.ceil(p.seconds/60)} 分钟`,...p.results.map((rl,E)=>{var C;return`
273${E+1}. ${rl.prompt}
274知识点:${rl.knowledge}
275孩子回答:${rl.userAnswer||"未作答"}
276参考答案:${rl.answer}
277结果:${rl.status==="pending"?"待教师确认":rl.correct?"正确":"再练习"}
278反馈:${rl.feedback}
279解析:${rl.explanation}
280来源:${((C=rl.sources)==null?void 0:C.map(B=>B.label).join(";"))||"直接输入材料"}
281原文:${rl.sourceExcerpt}
282家长建议:${rl.parentTip}`})].join(`
283`),tl=URL.createObjectURL(new Blob(["\uFEFF"+_],{type:"text/plain;charset=utf-8"})),pl=document.createElement("a");pl.href=tl,pl.download=`小芽英语-学习反馈-${p.id.slice(0,8)}.txt`,pl.click(),setTimeout(()=>URL.revokeObjectURL(tl),1e3),O("学习反馈已导出")}async function wl(_){G(!0);try{const tl=await b(`/attempts/${p.id}/grade`,{method:"PATCH",body:{questionId:F.id,correct:_,feedback:hl}});M(tl),ol(null),ll(""),O("教师批阅已保存")}catch(tl){U(tl)}finally{G(!1)}}return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"page-heading",children:[i.jsxs("div",{children:[i.jsx("div",{className:"eyebrow",children:"EVERY STEP COUNTS"}),i.jsxs("h1",{children:["这一次,又向前了一小步",i.jsx("span",{className:"title-dot",children:"."})]}),i.jsxs("p",{children:[nl,"的学习反馈 · ",bu(p.createdAt)," · ",p.review?"复习记录":"首次作答记录"," · ",p.mode==="demo"?"示例题库,实际作答结果":"AI 生成题,实际作答结果"]})]}),i.jsx(Yl,{secondary:!0,small:!0,onClick:il,icon:ey,children:"导出学习反馈"})]}),i.jsxs("div",{className:"report-select-row",children:[i.jsx("select",{"aria-label":"选择学习记录",value:p.id,onChange:_=>L(o.find(tl=>tl.id===_.target.value)),children:o.map(_=>i.jsxs("option",{value:_.id,children:[bu(_.createdAt)," · ",_.title," ",_.review?"(复习)":""]},_.id))}),i.jsxs(rt,{color:"sage",children:[i.jsx(uc,{size:13}),"来自本次实际作答"]})]}),i.jsxs("div",{className:"report-overview",children:[i.jsxs("section",{className:"report-celebration",children:[i.jsxs("div",{children:[i.jsxs("span",{className:"hero-chip",children:[i.jsx(hy,{size:13})," EVERY LITTLE TRY MATTERS"]}),i.jsx("h2",{children:p.correct===p.total?"这次挑战,全部完成!":Ul.length?"认真思考,就是成长。":"每一次尝试,都有收获。"}),i.jsx("p",{children:sl.length?`有 ${sl.length} 道题值得再看一看。陪孩子理解一次,比多刷十题更有意义。`:Ul.length?`有 ${Ul.length} 道问答题需要老师确认表达,暂不计入对错。`:"把今天学到的英文说给家人听,让知识成为自己的小本领。"}),i.jsxs("button",{className:"text-btn",onClick:()=>$(p),children:[i.jsx(X1,{size:15}),"再练一次,巩固一下"]})]}),i.jsx("span",{className:"report-sprout",children:"🌱"})]}),i.jsxs("section",{className:"card score-card",children:[i.jsx("div",{className:"score-ring",style:{"--progress":`${p.correct/p.total*100}%`},children:i.jsxs("div",{children:[i.jsxs("strong",{children:[p.correct,i.jsxs("span",{children:[" / ",p.total]})]}),i.jsx("small",{children:"本次答对题数"})]})}),i.jsxs("div",{className:"score-meta",children:[i.jsxs("span",{children:[i.jsx(Pi,{size:14}),Math.max(1,Math.ceil(p.seconds/60))," 分钟"]}),i.jsx("span",{children:Ul.length?`${Ul.length} 题待批阅`:p.score+"% 正确率"})]})]})]}),i.jsxs("div",{className:"report-mid",children:[i.jsxs("section",{className:"card",children:[i.jsxs("div",{className:"card-title",children:[i.jsx("h3",{children:"本次知识点表现"}),i.jsx(rt,{children:"按实际题目统计"})]}),i.jsx("div",{className:"knowledge-bars",children:Ll.map(([_,tl],pl)=>i.jsxs("div",{className:"knowledge-bar",children:[i.jsxs("div",{children:[i.jsx("span",{children:_}),i.jsxs("b",{children:[tl.correct,"/",tl.total,tl.pending?" · 待确认":""]})]}),i.jsx("div",{className:"progress-track",children:i.jsx("span",{className:tl.correct===tl.total?"":"needs-practice",style:{width:`${tl.correct/tl.total*100}%`}})})]},_))}),i.jsx("p",{className:"field-hint",children:"仅代表本次练习表现,不等同于长期掌握程度。"})]}),i.jsxs("section",{className:"card family-card",children:[i.jsx(Pf,{icon:Nn,color:"peach"}),i.jsx("h3",{children:"今晚,你可以这样陪伴"}),i.jsx("p",{children:((Jl=sl[0])==null?void 0:Jl.parentTip)||((Ql=p.results[0])==null?void 0:Ql.parentTip)}),i.jsxs("div",{className:"family-time",children:[i.jsx(Pi,{size:15}),"只要 2–5 分钟,不必额外备课"]}),i.jsxs("div",{className:"family-source",children:[i.jsx(lc,{size:16}),i.jsxs("span",{children:["和教材同步:",I.length?I.join(";"):"教师输入的教学材料"]})]})]})]}),i.jsxs("div",{className:"section-heading",children:[i.jsxs("div",{children:[i.jsx("h2",{children:"把每一道题,讲明白"}),i.jsx("p",{children:"答案、原文依据、错因和视频讲解,都在这里。"})]}),i.jsx("div",{className:"filter-pills",children:[["all","全部"],["incorrect","再练练"],["pending","待确认"]].map(([_,tl])=>i.jsxs("button",{className:j===_?"active":"",onClick:()=>R(_),children:[tl,_==="incorrect"?` ${sl.length}`:_==="pending"?` ${Ul.length}`:""]},_))})]}),i.jsx("div",{className:"result-list",children:V.length?V.map(_=>{var tl;return i.jsxs("details",{className:"card result-item "+_.status,open:_.status!=="correct",children:[i.jsxs("summary",{children:[i.jsx("span",{className:"result-status",children:_.status==="correct"?i.jsx(Ma,{size:17}):_.status==="pending"?i.jsx(Pi,{size:17}):i.jsx(_a,{size:17})}),i.jsxs("div",{children:[i.jsxs("span",{className:"result-knowledge",children:[nc[_.type]," · ",_.knowledge]}),i.jsx("h3",{children:_.prompt})]}),i.jsx(rt,{color:_.status==="correct"?"sage":_.status==="pending"?"lavender":"peach",children:_.status==="correct"?"答对啦":_.status==="pending"?"待教师确认":"再练一练"}),i.jsx(Aa,{className:"details-chevron",size:17})]}),i.jsxs("div",{className:"result-body",children:[_.context&&i.jsxs("div",{className:"reading-passage",children:[i.jsx("span",{children:"READING PASSAGE · 阅读材料"}),i.jsx("p",{children:_.context})]}),i.jsxs("div",{className:"answer-comparison",children:[i.jsxs("span",{children:["孩子的回答 ",i.jsx("b",{className:_.correct===!1?"wrong-answer":"",children:_.userAnswer||"未作答"})]}),i.jsxs("span",{children:["参考答案 ",i.jsx("b",{children:_.answer})]})]}),i.jsxs("div",{className:"explanation",children:[i.jsxs("h4",{children:[i.jsx(_a,{size:17}),"这道题的知识点"]}),i.jsx("p",{children:_.explanation}),i.jsx("h4",{children:_.status==="incorrect"?"针对这次回答":_.status==="pending"?"批阅状态":"给孩子的反馈"}),i.jsx("p",{children:_.feedback})]}),i.jsxs("div",{className:"source-quote",children:[i.jsxs("span",{children:[i.jsx(lc,{size:14}),"原文依据"]}),i.jsx("blockquote",{children:_.sourceExcerpt}),i.jsx("small",{children:((tl=_.sources)==null?void 0:tl.map(pl=>pl.label+(pl.pages?" · PDF 页 "+pl.pages:"")).join(";"))||"直接输入的教学材料"})]}),i.jsxs("div",{className:"parent-tip",children:[i.jsx(Nn,{size:17}),i.jsxs("div",{children:[i.jsx("b",{children:"给家长的小建议"}),i.jsx("p",{children:_.parentTip})]})]}),J.filter(pl=>_.knowledge.toLowerCase().includes(pl.keyword.toLowerCase())).map(pl=>i.jsxs("div",{className:"linked-video",children:[i.jsxs("h4",{children:[i.jsx(ac,{size:17}),pl.title]}),i.jsx(w1,{video:pl})]},pl.id)),_.status==="pending"&&i.jsxs("div",{className:"pending-actions",children:[i.jsx("p",{children:"未自动识别的问答表达需要教师确认,确认前不会直接判错。"}),i.jsx(Yl,{secondary:!0,small:!0,onClick:()=>{ol(_),ll("")},icon:Q1,children:"教师批阅这道题"})]})]})]},_.id)}):i.jsxs("div",{className:"card filter-empty",children:[i.jsx(Ae,{size:26}),i.jsx("p",{children:"这个分类暂时没有题目。"})]})}),F&&i.jsxs(aa,{title:"教师确认问答结果",onClose:()=>ol(null),children:[i.jsx("h3",{children:F.prompt}),i.jsxs("p",{children:["孩子回答:",i.jsx("b",{children:F.userAnswer})]}),i.jsxs("p",{children:["参考答案:",F.answer]}),i.jsxs("label",{children:["给孩子的具体解释",i.jsx("textarea",{rows:"4",value:hl,onChange:_=>ll(_.target.value),placeholder:"结合孩子的表达,说明为什么正确或需要修改。"})]}),i.jsxs("div",{className:"button-row",children:[i.jsx(Yl,{disabled:!hl.trim()||K,onClick:()=>wl(!0),icon:Ma,children:"表达正确"}),i.jsx(Yl,{secondary:!0,disabled:!hl.trim()||K,onClick:()=>wl(!1),children:"需要再练习"})]})]})]})}Wv.createRoot(document.getElementById("root")).render(i.jsx(by,{}));export{jy as _};