lookatstudy-mobile 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/package.json +1 -1
  2. package/server.cjs +25301 -600
  3. package/web/assets/abnfDiagram-N423BO3Z-DEPbDjND.js +1 -0
  4. package/web/assets/api-web-DI50TDfG.js +1 -0
  5. package/web/assets/{arc-Bj7Boh6s.js → arc-BdnEbtZD.js} +1 -1
  6. package/web/assets/architectureDiagram-T3A2C74G-2LUkfdBV.js +36 -0
  7. package/web/assets/{blockDiagram-VBNYF7ZC-DAzIMkNI.js → blockDiagram-VBNYF7ZC-CCe1iJWW.js} +2 -2
  8. package/web/assets/{c4Diagram-5PPSVZJV-NlYvtXbZ.js → c4Diagram-5PPSVZJV-BRjp2_ep.js} +2 -2
  9. package/web/assets/channel-DXyVa_LM.js +1 -0
  10. package/web/assets/{chunk-2GRJ4B5K-Cy2RZsUk.js → chunk-2GRJ4B5K-D3jR_gkO.js} +1 -1
  11. package/web/assets/{chunk-2Q5K7J3B-DtK3xo3Z.js → chunk-2Q5K7J3B-BYL8Mj1H.js} +1 -1
  12. package/web/assets/{chunk-5RXB4S5H-CmVGejcd.js → chunk-5RXB4S5H-BmdtCOUM.js} +1 -1
  13. package/web/assets/{chunk-5VM5RSS4-EO_k0Crh.js → chunk-5VM5RSS4-BElAuyeD.js} +1 -1
  14. package/web/assets/{chunk-6Q2QTUOP-TBVy-R-c.js → chunk-6Q2QTUOP-DD5GiOn2.js} +1 -1
  15. package/web/assets/{chunk-GF5L2VYU-_N0jD1tE.js → chunk-GF5L2VYU-DEXR2XHl.js} +1 -1
  16. package/web/assets/{chunk-JWPE2WC7-BIAuolFx.js → chunk-JWPE2WC7-BnQRJatb.js} +1 -1
  17. package/web/assets/{chunk-KBJHAD2P-DqcnXfI8.js → chunk-KBJHAD2P-DWr3zlUn.js} +1 -1
  18. package/web/assets/{chunk-RYQCIY6F-D5RQKqlg.js → chunk-RYQCIY6F-DEwEVB-X.js} +1 -1
  19. package/web/assets/{chunk-XXDRQBXY-1Ksx_dPa.js → chunk-XXDRQBXY-fSX2AkEZ.js} +1 -1
  20. package/web/assets/classDiagram-JCYQIIEL-D93mjgH9.js +1 -0
  21. package/web/assets/classDiagram-v2-OCEON4UE-D93mjgH9.js +1 -0
  22. package/web/assets/cose-bilkent-JH36ORCC-CzFzhaR6.js +1 -0
  23. package/web/assets/{cynefin-VYW2F7L2-CAYbjl57.js → cynefin-VYW2F7L2-DkGVzNSQ.js} +1 -1
  24. package/web/assets/cynefinDiagram-MW4NZA55-DsCoCXNB.js +62 -0
  25. package/web/assets/{dagre-VZM6K2ZE-CKP3kBHM.js → dagre-VZM6K2ZE-5iQ0Vlad.js} +2 -2
  26. package/web/assets/{diagram-7IWD3JNH-CLfr8NaW.js → diagram-7IWD3JNH-BNse2wL1.js} +2 -2
  27. package/web/assets/{diagram-B4RE2ZJO-h051w7zn.js → diagram-B4RE2ZJO-otdSZlNZ.js} +2 -2
  28. package/web/assets/diagram-LBJQPF4R-Cu9AIxYr.js +24 -0
  29. package/web/assets/diagram-Q27KOJAE-BDy_SsNa.js +24 -0
  30. package/web/assets/diagram-UB23O5K3-Dj9VK1f8.js +41 -0
  31. package/web/assets/ebnfDiagram-BXEA7PRR-B86BfBHU.js +1 -0
  32. package/web/assets/{erDiagram-JOGREHBK-Bz30kI2B.js → erDiagram-JOGREHBK-BYPttEDR.js} +2 -2
  33. package/web/assets/{flowDiagram-UKHOOZJN-CsFP_-KD.js → flowDiagram-UKHOOZJN-BiQj7CX4.js} +1 -1
  34. package/web/assets/ganttDiagram-PKOTCBZU-BHHFGprI.js +292 -0
  35. package/web/assets/gitGraphDiagram-DS77QQ5N-CMV6VrQV.js +106 -0
  36. package/web/assets/index-BKXGqAJP.js +53 -0
  37. package/web/assets/index-C0z4TGfi.css +1 -0
  38. package/web/assets/infoDiagram-6WML65LV-a_LG2_IJ.js +2 -0
  39. package/web/assets/{ishikawaDiagram-WSZJBQD7-Bt6EfUkc.js → ishikawaDiagram-WSZJBQD7-DNaQdaG3.js} +2 -2
  40. package/web/assets/{journeyDiagram-NVQOT4AX-DmVq_JOG.js → journeyDiagram-NVQOT4AX-DnlltTZa.js} +2 -2
  41. package/web/assets/{kanban-definition-27J2QSJJ-tE00W58E.js → kanban-definition-27J2QSJJ-fRW60JCZ.js} +2 -2
  42. package/web/assets/{linear-CAqnKu9J.js → linear-DivBiqV_.js} +1 -1
  43. package/web/assets/main-XmO4BzRy.js +518 -0
  44. package/web/assets/{mermaid.core-uJSxER2x.js → mermaid.core-BhIcHd-X.js} +11 -11
  45. package/web/assets/{mindmap-definition-FAOFIHXS-D5S_P9_s.js → mindmap-definition-FAOFIHXS-wFGzI1GW.js} +2 -2
  46. package/web/assets/pegDiagram-VL7TDLO6-g8lPC9jo.js +1 -0
  47. package/web/assets/pet-CTf4hJTR.css +1 -0
  48. package/web/assets/pet-auCGJOK0.js +1 -0
  49. package/web/assets/{pieDiagram-7S7Q4E2Y-DYpiHnao.js → pieDiagram-7S7Q4E2Y-C5VJiY2V.js} +2 -2
  50. package/web/assets/{quadrantDiagram-CIZ2JOQS-BqycGz7D.js → quadrantDiagram-CIZ2JOQS-BUCplORK.js} +4 -4
  51. package/web/assets/railroadDiagram-AXF67PYL-CXOqC1jS.js +1 -0
  52. package/web/assets/{requirementDiagram-LRYGKXZP-CH-xotLo.js → requirementDiagram-LRYGKXZP-D77Fdqkd.js} +2 -2
  53. package/web/assets/{sankeyDiagram-W5VNT64P-BCLFObl1.js → sankeyDiagram-W5VNT64P-DCRQPRof.js} +2 -2
  54. package/web/assets/{sequenceDiagram-SI44F4Z6-CE1T-Oar.js → sequenceDiagram-SI44F4Z6-CKFv7rwK.js} +2 -2
  55. package/web/assets/sizeCapture-X5ZJPWSS-DkXWYyxk.js +1 -0
  56. package/web/assets/stateDiagram-OKZ733FA-BT3rvlSZ.js +1 -0
  57. package/web/assets/stateDiagram-v2-UEYNNEHI-BgeHQ9bA.js +1 -0
  58. package/web/assets/swimlanes-SLNWSIFB-CzxJLsll.js +2 -0
  59. package/web/assets/swimlanesDiagram-ULZ7WXOC-BQOu93XJ.js +8 -0
  60. package/web/assets/{timeline-definition-Z64GVDOM-CPajwTED.js → timeline-definition-Z64GVDOM-Byr_G_qH.js} +2 -2
  61. package/web/assets/{vennDiagram-T6HMQDX7-DKkB137-.js → vennDiagram-T6HMQDX7-cJwjkqtI.js} +2 -2
  62. package/web/assets/{wardleyDiagram-T6FBY63Y-CHD6tq1V.js → wardleyDiagram-T6FBY63Y-2mUDEXFT.js} +2 -2
  63. package/web/assets/{xychartDiagram-ELKLHX3M-DIO9Q6BD.js → xychartDiagram-ELKLHX3M-CweyVwyd.js} +2 -2
  64. package/web/index.html +3 -2
  65. package/web/pet.html +19 -0
  66. package/web/assets/abnfDiagram-N423BO3Z-uVyZuC2D.js +0 -1
  67. package/web/assets/api-web-BydHmVA4.js +0 -1
  68. package/web/assets/architectureDiagram-T3A2C74G-CrbkXNQp.js +0 -36
  69. package/web/assets/channel-JNlIjRLZ.js +0 -1
  70. package/web/assets/classDiagram-JCYQIIEL-C-12RKGI.js +0 -1
  71. package/web/assets/classDiagram-v2-OCEON4UE-C-12RKGI.js +0 -1
  72. package/web/assets/cose-bilkent-JH36ORCC-DAUofPwo.js +0 -1
  73. package/web/assets/cynefinDiagram-MW4NZA55-UaEI49aN.js +0 -62
  74. package/web/assets/diagram-LBJQPF4R-CUOsO4df.js +0 -24
  75. package/web/assets/diagram-Q27KOJAE-BXbJxAlu.js +0 -24
  76. package/web/assets/diagram-UB23O5K3-BHV6tpU9.js +0 -41
  77. package/web/assets/ebnfDiagram-BXEA7PRR-CAahAB9-.js +0 -1
  78. package/web/assets/ganttDiagram-PKOTCBZU-Cm5qe_5U.js +0 -292
  79. package/web/assets/gitGraphDiagram-DS77QQ5N-DNktj2Kq.js +0 -106
  80. package/web/assets/index-BC_sP79K.js +0 -563
  81. package/web/assets/index-BSTI-ywB.css +0 -1
  82. package/web/assets/infoDiagram-6WML65LV-vZK5e7Xx.js +0 -2
  83. package/web/assets/pegDiagram-VL7TDLO6-BZkaiQ_9.js +0 -1
  84. package/web/assets/railroadDiagram-AXF67PYL-DEoY1V9D.js +0 -1
  85. package/web/assets/sizeCapture-X5ZJPWSS-uf4-mQAU.js +0 -1
  86. package/web/assets/stateDiagram-OKZ733FA-Dt2wQF9A.js +0 -1
  87. package/web/assets/stateDiagram-v2-UEYNNEHI-BbJD6fMT.js +0 -1
  88. package/web/assets/swimlanes-SLNWSIFB-jLXDXtjZ.js +0 -2
  89. package/web/assets/swimlanesDiagram-ULZ7WXOC-BTdV0I38.js +0 -8
@@ -0,0 +1,53 @@
1
+ (function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const v of document.querySelectorAll('link[rel="modulepreload"]'))r(v);new MutationObserver(v=>{for(const S of v)if(S.type==="childList")for(const _ of S.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&r(_)}).observe(document,{childList:!0,subtree:!0});function h(v){const S={};return v.integrity&&(S.integrity=v.integrity),v.referrerPolicy&&(S.referrerPolicy=v.referrerPolicy),v.crossOrigin==="use-credentials"?S.credentials="include":v.crossOrigin==="anonymous"?S.credentials="omit":S.credentials="same-origin",S}function r(v){if(v.ep)return;v.ep=!0;const S=h(v);fetch(v.href,S)}})();var Cy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function V1(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var $f={exports:{}},Bn={};/**
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 M1;function E2(){if(M1)return Bn;M1=1;var f=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function h(r,v,S){var _=null;if(S!==void 0&&(_=""+S),v.key!==void 0&&(_=""+v.key),"key"in v){S={};for(var O in v)O!=="key"&&(S[O]=v[O])}else S=v;return v=S.ref,{$$typeof:f,type:r,key:_,ref:v!==void 0?v:null,props:S}}return Bn.Fragment=o,Bn.jsx=h,Bn.jsxs=h,Bn}var E1;function A2(){return E1||(E1=1,$f.exports=E2()),$f.exports}var c=A2(),If={exports:{}},Y={};/**
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 z2(){if(A1)return Y;A1=1;var f=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),_=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),M=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),P=Symbol.iterator;function Mt(m){return m===null||typeof m!="object"?null:(m=P&&m[P]||m["@@iterator"],typeof m=="function"?m:null)}var pt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ot=Object.assign,Et={};function gt(m,z,N){this.props=m,this.context=z,this.refs=Et,this.updater=N||pt}gt.prototype.isReactComponent={},gt.prototype.setState=function(m,z){if(typeof m!="object"&&typeof m!="function"&&m!=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,m,z,"setState")},gt.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function Tt(){}Tt.prototype=gt.prototype;function Ot(m,z,N){this.props=m,this.context=z,this.refs=Et,this.updater=N||pt}var Qt=Ot.prototype=new Tt;Qt.constructor=Ot,ot(Qt,gt.prototype),Qt.isPureReactComponent=!0;var $t=Array.isArray;function tt(){}var k={H:null,A:null,T:null,S:null},rt=Object.prototype.hasOwnProperty;function It(m,z,N){var C=N.ref;return{$$typeof:f,type:m,key:z,ref:C!==void 0?C:null,props:N}}function Hl(m,z){return It(m.type,z,m.props)}function jl(m){return typeof m=="object"&&m!==null&&m.$$typeof===f}function ut(m){var z={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(N){return z[N]})}var Jt=/\/+/g;function jt(m,z){return typeof m=="object"&&m!==null&&m.key!=null?ut(""+m.key):z.toString(36)}function Nt(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(tt,tt):(m.status="pending",m.then(function(z){m.status==="pending"&&(m.status="fulfilled",m.value=z)},function(z){m.status==="pending"&&(m.status="rejected",m.reason=z)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function A(m,z,N,C,F){var V=typeof m;(V==="undefined"||V==="boolean")&&(m=null);var ct=!1;if(m===null)ct=!0;else switch(V){case"bigint":case"string":case"number":ct=!0;break;case"object":switch(m.$$typeof){case f:case o:ct=!0;break;case R:return ct=m._init,A(ct(m._payload),z,N,C,F)}}if(ct)return F=F(m),ct=C===""?"."+jt(m,0):C,$t(F)?(N="",ct!=null&&(N=ct.replace(Jt,"$&/")+"/"),A(F,z,N,"",function(Xa){return Xa})):F!=null&&(jl(F)&&(F=Hl(F,N+(F.key==null||m&&m.key===F.key?"":(""+F.key).replace(Jt,"$&/")+"/")+ct)),z.push(F)),1;ct=0;var Pt=C===""?".":C+":";if($t(m))for(var Lt=0;Lt<m.length;Lt++)C=m[Lt],V=Pt+jt(C,Lt),ct+=A(C,z,N,V,F);else if(Lt=Mt(m),typeof Lt=="function")for(m=Lt.call(m),Lt=0;!(C=m.next()).done;)C=C.value,V=Pt+jt(C,Lt++),ct+=A(C,z,N,V,F);else if(V==="object"){if(typeof m.then=="function")return A(Nt(m),z,N,C,F);throw z=String(m),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return ct}function U(m,z,N){if(m==null)return m;var C=[],F=0;return A(m,C,"","",function(V){return z.call(N,V,F++)}),C}function B(m){if(m._status===-1){var z=m._result;z=z(),z.then(function(N){(m._status===0||m._status===-1)&&(m._status=1,m._result=N)},function(N){(m._status===0||m._status===-1)&&(m._status=2,m._result=N)}),m._status===-1&&(m._status=0,m._result=z)}if(m._status===1)return m._result.default;throw m._result}var at=typeof reportError=="function"?reportError:function(m){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m=="object"&&m!==null&&typeof m.message=="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",m);return}console.error(m)},it={map:U,forEach:function(m,z,N){U(m,function(){z.apply(this,arguments)},N)},count:function(m){var z=0;return U(m,function(){z++}),z},toArray:function(m){return U(m,function(z){return z})||[]},only:function(m){if(!jl(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};return Y.Activity=Z,Y.Children=it,Y.Component=gt,Y.Fragment=h,Y.Profiler=v,Y.PureComponent=Ot,Y.StrictMode=r,Y.Suspense=D,Y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,Y.__COMPILER_RUNTIME={__proto__:null,c:function(m){return k.H.useMemoCache(m)}},Y.cache=function(m){return function(){return m.apply(null,arguments)}},Y.cacheSignal=function(){return null},Y.cloneElement=function(m,z,N){if(m==null)throw Error("The argument must be a React element, but you passed "+m+".");var C=ot({},m.props),F=m.key;if(z!=null)for(V in z.key!==void 0&&(F=""+z.key),z)!rt.call(z,V)||V==="key"||V==="__self"||V==="__source"||V==="ref"&&z.ref===void 0||(C[V]=z[V]);var V=arguments.length-2;if(V===1)C.children=N;else if(1<V){for(var ct=Array(V),Pt=0;Pt<V;Pt++)ct[Pt]=arguments[Pt+2];C.children=ct}return It(m.type,F,C)},Y.createContext=function(m){return m={$$typeof:_,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:S,_context:m},m},Y.createElement=function(m,z,N){var C,F={},V=null;if(z!=null)for(C in z.key!==void 0&&(V=""+z.key),z)rt.call(z,C)&&C!=="key"&&C!=="__self"&&C!=="__source"&&(F[C]=z[C]);var ct=arguments.length-2;if(ct===1)F.children=N;else if(1<ct){for(var Pt=Array(ct),Lt=0;Lt<ct;Lt++)Pt[Lt]=arguments[Lt+2];F.children=Pt}if(m&&m.defaultProps)for(C in ct=m.defaultProps,ct)F[C]===void 0&&(F[C]=ct[C]);return It(m,V,F)},Y.createRef=function(){return{current:null}},Y.forwardRef=function(m){return{$$typeof:O,render:m}},Y.isValidElement=jl,Y.lazy=function(m){return{$$typeof:R,_payload:{_status:-1,_result:m},_init:B}},Y.memo=function(m,z){return{$$typeof:M,type:m,compare:z===void 0?null:z}},Y.startTransition=function(m){var z=k.T,N={};k.T=N;try{var C=m(),F=k.S;F!==null&&F(N,C),typeof C=="object"&&C!==null&&typeof C.then=="function"&&C.then(tt,at)}catch(V){at(V)}finally{z!==null&&N.types!==null&&(z.types=N.types),k.T=z}},Y.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},Y.use=function(m){return k.H.use(m)},Y.useActionState=function(m,z,N){return k.H.useActionState(m,z,N)},Y.useCallback=function(m,z){return k.H.useCallback(m,z)},Y.useContext=function(m){return k.H.useContext(m)},Y.useDebugValue=function(){},Y.useDeferredValue=function(m,z){return k.H.useDeferredValue(m,z)},Y.useEffect=function(m,z){return k.H.useEffect(m,z)},Y.useEffectEvent=function(m){return k.H.useEffectEvent(m)},Y.useId=function(){return k.H.useId()},Y.useImperativeHandle=function(m,z,N){return k.H.useImperativeHandle(m,z,N)},Y.useInsertionEffect=function(m,z){return k.H.useInsertionEffect(m,z)},Y.useLayoutEffect=function(m,z){return k.H.useLayoutEffect(m,z)},Y.useMemo=function(m,z){return k.H.useMemo(m,z)},Y.useOptimistic=function(m,z){return k.H.useOptimistic(m,z)},Y.useReducer=function(m,z,N){return k.H.useReducer(m,z,N)},Y.useRef=function(m){return k.H.useRef(m)},Y.useState=function(m){return k.H.useState(m)},Y.useSyncExternalStore=function(m,z,N){return k.H.useSyncExternalStore(m,z,N)},Y.useTransition=function(){return k.H.useTransition()},Y.version="19.2.8",Y}var z1;function vs(){return z1||(z1=1,If.exports=z2()),If.exports}var pl=vs();const Ry=V1(pl);var Pf={exports:{}},qn={},ts={exports:{}},ls={};/**
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 T1;function T2(){return T1||(T1=1,(function(f){function o(A,U){var B=A.length;A.push(U);t:for(;0<B;){var at=B-1>>>1,it=A[at];if(0<v(it,U))A[at]=U,A[B]=it,B=at;else break t}}function h(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var U=A[0],B=A.pop();if(B!==U){A[0]=B;t:for(var at=0,it=A.length,m=it>>>1;at<m;){var z=2*(at+1)-1,N=A[z],C=z+1,F=A[C];if(0>v(N,B))C<it&&0>v(F,N)?(A[at]=F,A[C]=B,at=C):(A[at]=N,A[z]=B,at=z);else if(C<it&&0>v(F,B))A[at]=F,A[C]=B,at=C;else break t}}return U}function v(A,U){var B=A.sortIndex-U.sortIndex;return B!==0?B:A.id-U.id}if(f.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;f.unstable_now=function(){return S.now()}}else{var _=Date,O=_.now();f.unstable_now=function(){return _.now()-O}}var D=[],M=[],R=1,Z=null,P=3,Mt=!1,pt=!1,ot=!1,Et=!1,gt=typeof setTimeout=="function"?setTimeout:null,Tt=typeof clearTimeout=="function"?clearTimeout:null,Ot=typeof setImmediate<"u"?setImmediate:null;function Qt(A){for(var U=h(M);U!==null;){if(U.callback===null)r(M);else if(U.startTime<=A)r(M),U.sortIndex=U.expirationTime,o(D,U);else break;U=h(M)}}function $t(A){if(ot=!1,Qt(A),!pt)if(h(D)!==null)pt=!0,tt||(tt=!0,ut());else{var U=h(M);U!==null&&Nt($t,U.startTime-A)}}var tt=!1,k=-1,rt=5,It=-1;function Hl(){return Et?!0:!(f.unstable_now()-It<rt)}function jl(){if(Et=!1,tt){var A=f.unstable_now();It=A;var U=!0;try{t:{pt=!1,ot&&(ot=!1,Tt(k),k=-1),Mt=!0;var B=P;try{l:{for(Qt(A),Z=h(D);Z!==null&&!(Z.expirationTime>A&&Hl());){var at=Z.callback;if(typeof at=="function"){Z.callback=null,P=Z.priorityLevel;var it=at(Z.expirationTime<=A);if(A=f.unstable_now(),typeof it=="function"){Z.callback=it,Qt(A),U=!0;break l}Z===h(D)&&r(D),Qt(A)}else r(D);Z=h(D)}if(Z!==null)U=!0;else{var m=h(M);m!==null&&Nt($t,m.startTime-A),U=!1}}break t}finally{Z=null,P=B,Mt=!1}U=void 0}}finally{U?ut():tt=!1}}}var ut;if(typeof Ot=="function")ut=function(){Ot(jl)};else if(typeof MessageChannel<"u"){var Jt=new MessageChannel,jt=Jt.port2;Jt.port1.onmessage=jl,ut=function(){jt.postMessage(null)}}else ut=function(){gt(jl,0)};function Nt(A,U){k=gt(function(){A(f.unstable_now())},U)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(A){A.callback=null},f.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):rt=0<A?Math.floor(1e3/A):5},f.unstable_getCurrentPriorityLevel=function(){return P},f.unstable_next=function(A){switch(P){case 1:case 2:case 3:var U=3;break;default:U=P}var B=P;P=U;try{return A()}finally{P=B}},f.unstable_requestPaint=function(){Et=!0},f.unstable_runWithPriority=function(A,U){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var B=P;P=A;try{return U()}finally{P=B}},f.unstable_scheduleCallback=function(A,U,B){var at=f.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?at+B:at):B=at,A){case 1:var it=-1;break;case 2:it=250;break;case 5:it=1073741823;break;case 4:it=1e4;break;default:it=5e3}return it=B+it,A={id:R++,callback:U,priorityLevel:A,startTime:B,expirationTime:it,sortIndex:-1},B>at?(A.sortIndex=B,o(M,A),h(D)===null&&A===h(M)&&(ot?(Tt(k),k=-1):ot=!0,Nt($t,B-at))):(A.sortIndex=it,o(D,A),pt||Mt||(pt=!0,tt||(tt=!0,ut()))),A},f.unstable_shouldYield=Hl,f.unstable_wrapCallback=function(A){var U=P;return function(){var B=P;P=U;try{return A.apply(this,arguments)}finally{P=B}}}})(ls)),ls}var L1;function L2(){return L1||(L1=1,ts.exports=T2()),ts.exports}var es={exports:{}},Wt={};/**
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 _1;function _2(){if(_1)return Wt;_1=1;var f=vs();function o(D){var M="https://react.dev/errors/"+D;if(1<arguments.length){M+="?args[]="+encodeURIComponent(arguments[1]);for(var R=2;R<arguments.length;R++)M+="&args[]="+encodeURIComponent(arguments[R])}return"Minified React error #"+D+"; visit "+M+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(){}var r={d:{f:h,r:function(){throw Error(o(522))},D:h,C:h,L:h,m:h,X:h,S:h,M:h},p:0,findDOMNode:null},v=Symbol.for("react.portal");function S(D,M,R){var Z=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:v,key:Z==null?null:""+Z,children:D,containerInfo:M,implementation:R}}var _=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function O(D,M){if(D==="font")return"";if(typeof M=="string")return M==="use-credentials"?M:""}return Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Wt.createPortal=function(D,M){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error(o(299));return S(D,M,null,R)},Wt.flushSync=function(D){var M=_.T,R=r.p;try{if(_.T=null,r.p=2,D)return D()}finally{_.T=M,r.p=R,r.d.f()}},Wt.preconnect=function(D,M){typeof D=="string"&&(M?(M=M.crossOrigin,M=typeof M=="string"?M==="use-credentials"?M:"":void 0):M=null,r.d.C(D,M))},Wt.prefetchDNS=function(D){typeof D=="string"&&r.d.D(D)},Wt.preinit=function(D,M){if(typeof D=="string"&&M&&typeof M.as=="string"){var R=M.as,Z=O(R,M.crossOrigin),P=typeof M.integrity=="string"?M.integrity:void 0,Mt=typeof M.fetchPriority=="string"?M.fetchPriority:void 0;R==="style"?r.d.S(D,typeof M.precedence=="string"?M.precedence:void 0,{crossOrigin:Z,integrity:P,fetchPriority:Mt}):R==="script"&&r.d.X(D,{crossOrigin:Z,integrity:P,fetchPriority:Mt,nonce:typeof M.nonce=="string"?M.nonce:void 0})}},Wt.preinitModule=function(D,M){if(typeof D=="string")if(typeof M=="object"&&M!==null){if(M.as==null||M.as==="script"){var R=O(M.as,M.crossOrigin);r.d.M(D,{crossOrigin:R,integrity:typeof M.integrity=="string"?M.integrity:void 0,nonce:typeof M.nonce=="string"?M.nonce:void 0})}}else M==null&&r.d.M(D)},Wt.preload=function(D,M){if(typeof D=="string"&&typeof M=="object"&&M!==null&&typeof M.as=="string"){var R=M.as,Z=O(R,M.crossOrigin);r.d.L(D,R,{crossOrigin:Z,integrity:typeof M.integrity=="string"?M.integrity:void 0,nonce:typeof M.nonce=="string"?M.nonce:void 0,type:typeof M.type=="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority=="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy=="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet=="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes=="string"?M.imageSizes:void 0,media:typeof M.media=="string"?M.media:void 0})}},Wt.preloadModule=function(D,M){if(typeof D=="string")if(M){var R=O(M.as,M.crossOrigin);r.d.m(D,{as:typeof M.as=="string"&&M.as!=="script"?M.as:void 0,crossOrigin:R,integrity:typeof M.integrity=="string"?M.integrity:void 0})}else r.d.m(D)},Wt.requestFormReset=function(D){r.d.r(D)},Wt.unstable_batchedUpdates=function(D,M){return D(M)},Wt.useFormState=function(D,M,R){return _.H.useFormState(D,M,R)},Wt.useFormStatus=function(){return _.H.useHostTransitionStatus()},Wt.version="19.2.8",Wt}var D1;function D2(){if(D1)return es.exports;D1=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(o){console.error(o)}}return f(),es.exports=_2(),es.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 O1;function O2(){if(O1)return qn;O1=1;var f=L2(),o=vs(),h=D2();function r(t){var l="https://react.dev/errors/"+t;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)l+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+t+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function S(t){var l=t,e=t;if(t.alternate)for(;l.return;)l=l.return;else{t=l;do l=t,(l.flags&4098)!==0&&(e=l.return),t=l.return;while(t)}return l.tag===3?e:null}function _(t){if(t.tag===13){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function O(t){if(t.tag===31){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function D(t){if(S(t)!==t)throw Error(r(188))}function M(t){var l=t.alternate;if(!l){if(l=S(t),l===null)throw Error(r(188));return l!==t?null:t}for(var e=t,a=l;;){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 D(n),t;if(u===a)return D(n),l;u=u.sibling}throw Error(r(188))}if(e.return!==a.return)e=n,a=u;else{for(var i=!1,s=n.child;s;){if(s===e){i=!0,e=n,a=u;break}if(s===a){i=!0,a=n,e=u;break}s=s.sibling}if(!i){for(s=u.child;s;){if(s===e){i=!0,e=u,a=n;break}if(s===a){i=!0,a=u,e=n;break}s=s.sibling}if(!i)throw Error(r(189))}}if(e.alternate!==a)throw Error(r(190))}if(e.tag!==3)throw Error(r(188));return e.stateNode.current===e?t:l}function R(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=R(t),l!==null)return l;t=t.sibling}return null}var Z=Object.assign,P=Symbol.for("react.element"),Mt=Symbol.for("react.transitional.element"),pt=Symbol.for("react.portal"),ot=Symbol.for("react.fragment"),Et=Symbol.for("react.strict_mode"),gt=Symbol.for("react.profiler"),Tt=Symbol.for("react.consumer"),Ot=Symbol.for("react.context"),Qt=Symbol.for("react.forward_ref"),$t=Symbol.for("react.suspense"),tt=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),It=Symbol.for("react.activity"),Hl=Symbol.for("react.memo_cache_sentinel"),jl=Symbol.iterator;function ut(t){return t===null||typeof t!="object"?null:(t=jl&&t[jl]||t["@@iterator"],typeof t=="function"?t:null)}var Jt=Symbol.for("react.client.reference");function jt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Jt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case ot:return"Fragment";case gt:return"Profiler";case Et:return"StrictMode";case $t:return"Suspense";case tt:return"SuspenseList";case It:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case pt:return"Portal";case Ot:return t.displayName||"Context";case Tt:return(t._context.displayName||"Context")+".Consumer";case Qt:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case k:return l=t.displayName||null,l!==null?l:jt(t.type)||"Memo";case rt:l=t._payload,t=t._init;try{return jt(t(l))}catch{}}return null}var Nt=Array.isArray,A=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=h.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},at=[],it=-1;function m(t){return{current:t}}function z(t){0>it||(t.current=at[it],at[it]=null,it--)}function N(t,l){it++,at[it]=t.current,t.current=l}var C=m(null),F=m(null),V=m(null),ct=m(null);function Pt(t,l){switch(N(V,l),N(F,t),N(C,null),l.nodeType){case 9:case 11:t=(t=l.documentElement)&&(t=t.namespaceURI)?Xr(t):0;break;default:if(t=l.tagName,l=l.namespaceURI)l=Xr(l),t=Vr(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}z(C),N(C,t)}function Lt(){z(C),z(F),z(V)}function Xa(t){t.memoizedState!==null&&N(ct,t);var l=C.current,e=Vr(l,t.type);l!==e&&(N(F,t),N(C,e))}function au(t){F.current===t&&(z(C),z(F)),ct.current===t&&(z(ct),Zn._currentValue=B)}var Ni,bs;function Ue(t){if(Ni===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);Ni=l&&l[1]||"",bs=-1<e.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+Ni+t+bs}var Ui=!1;function Ci(t,l){if(!t||Ui)return"";Ui=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(j){var b=j}Reflect.construct(t,[],L)}else{try{L.call()}catch(j){b=j}t.call(L.prototype)}}else{try{throw Error()}catch(j){b=j}(L=t())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(j){if(j&&b&&typeof j.stack=="string")return[j.stack,b.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(),i=u[0],s=u[1];if(i&&s){var d=i.split(`
44
+ `),p=s.split(`
45
+ `);for(n=a=0;a<d.length&&!d[a].includes("DetermineComponentFrameRoot");)a++;for(;n<p.length&&!p[n].includes("DetermineComponentFrameRoot");)n++;if(a===d.length||n===p.length)for(a=d.length-1,n=p.length-1;1<=a&&0<=n&&d[a]!==p[n];)n--;for(;1<=a&&0<=n;a--,n--)if(d[a]!==p[n]){if(a!==1||n!==1)do if(a--,n--,0>n||d[a]!==p[n]){var E=`
46
+ `+d[a].replace(" at new "," at ");return t.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",t.displayName)),E}while(1<=a&&0<=n);break}}}finally{Ui=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?Ue(e):""}function ld(t,l){switch(t.tag){case 26:case 27:case 5:return Ue(t.type);case 16:return Ue("Lazy");case 13:return t.child!==l&&l!==null?Ue("Suspense Fallback"):Ue("Suspense");case 19:return Ue("SuspenseList");case 0:case 15:return Ci(t.type,!1);case 11:return Ci(t.type.render,!1);case 1:return Ci(t.type,!0);case 31:return Ue("Activity");default:return""}}function js(t){try{var l="",e=null;do l+=ld(t,e),e=t,t=t.return;while(t);return l}catch(a){return`
47
+ Error generating stack: `+a.message+`
48
+ `+a.stack}}var Ri=Object.prototype.hasOwnProperty,Zi=f.unstable_scheduleCallback,wi=f.unstable_cancelCallback,ed=f.unstable_shouldYield,ad=f.unstable_requestPaint,sl=f.unstable_now,nd=f.unstable_getCurrentPriorityLevel,Ms=f.unstable_ImmediatePriority,Es=f.unstable_UserBlockingPriority,nu=f.unstable_NormalPriority,ud=f.unstable_LowPriority,As=f.unstable_IdlePriority,id=f.log,cd=f.unstable_setDisableYieldValue,Va=null,ol=null;function fe(t){if(typeof id=="function"&&cd(t),ol&&typeof ol.setStrictMode=="function")try{ol.setStrictMode(Va,t)}catch{}}var rl=Math.clz32?Math.clz32:od,fd=Math.log,sd=Math.LN2;function od(t){return t>>>=0,t===0?32:31-(fd(t)/sd|0)|0}var uu=256,iu=262144,cu=4194304;function Ce(t){var l=t&42;if(l!==0)return l;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function fu(t,l,e){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,i=t.pingedLanes;t=t.warmLanes;var s=a&134217727;return s!==0?(a=s&~u,a!==0?n=Ce(a):(i&=s,i!==0?n=Ce(i):e||(e=s&~t,e!==0&&(n=Ce(e))))):(s=a&~u,s!==0?n=Ce(s):i!==0?n=Ce(i):e||(e=a&~t,e!==0&&(n=Ce(e)))),n===0?0:l!==0&&l!==n&&(l&u)===0&&(u=n&-n,e=l&-l,u>=e||u===32&&(e&4194048)!==0)?l:n}function Ka(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function rd(t,l){switch(t){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 zs(){var t=cu;return cu<<=1,(cu&62914560)===0&&(cu=4194304),t}function Hi(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function Ja(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function dd(t,l,e,a,n,u){var i=t.pendingLanes;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=e,t.entangledLanes&=e,t.errorRecoveryDisabledLanes&=e,t.shellSuspendCounter=0;var s=t.entanglements,d=t.expirationTimes,p=t.hiddenUpdates;for(e=i&~e;0<e;){var E=31-rl(e),L=1<<E;s[E]=0,d[E]=-1;var b=p[E];if(b!==null)for(p[E]=null,E=0;E<b.length;E++){var j=b[E];j!==null&&(j.lane&=-536870913)}e&=~L}a!==0&&Ts(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(i&~l))}function Ts(t,l,e){t.pendingLanes|=l,t.suspendedLanes&=~l;var a=31-rl(l);t.entangledLanes|=l,t.entanglements[a]=t.entanglements[a]|1073741824|e&261930}function Ls(t,l){var e=t.entangledLanes|=l;for(t=t.entanglements;e;){var a=31-rl(e),n=1<<a;n&l|t[a]&l&&(t[a]|=l),e&=~n}}function _s(t,l){var e=l&-l;return e=(e&42)!==0?1:Qi(e),(e&(t.suspendedLanes|l))!==0?0:e}function Qi(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Bi(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Ds(){var t=U.p;return t!==0?t:(t=window.event,t===void 0?32:g1(t.type))}function Os(t,l){var e=U.p;try{return U.p=t,l()}finally{U.p=e}}var se=Math.random().toString(36).slice(2),kt="__reactFiber$"+se,ll="__reactProps$"+se,Ie="__reactContainer$"+se,qi="__reactEvents$"+se,hd="__reactListeners$"+se,yd="__reactHandles$"+se,Ns="__reactResources$"+se,Wa="__reactMarker$"+se;function ki(t){delete t[kt],delete t[ll],delete t[qi],delete t[hd],delete t[yd]}function Pe(t){var l=t[kt];if(l)return l;for(var e=t.parentNode;e;){if(l=e[Ie]||e[kt]){if(e=l.alternate,l.child!==null||e!==null&&e.child!==null)for(t=t1(t);t!==null;){if(e=t[kt])return e;t=t1(t)}return l}t=e,e=t.parentNode}return null}function ta(t){if(t=t[kt]||t[Ie]){var l=t.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return t}return null}function $a(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(r(33))}function la(t){var l=t[Ns];return l||(l=t[Ns]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Bt(t){t[Wa]=!0}var Us=new Set,Cs={};function Re(t,l){ea(t,l),ea(t+"Capture",l)}function ea(t,l){for(Cs[t]=l,t=0;t<l.length;t++)Us.add(l[t])}var md=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]*$"),Rs={},Zs={};function gd(t){return Ri.call(Zs,t)?!0:Ri.call(Rs,t)?!1:md.test(t)?Zs[t]=!0:(Rs[t]=!0,!1)}function su(t,l,e){if(gd(l))if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":t.removeAttribute(l);return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(l);return}}t.setAttribute(l,""+e)}}function ou(t,l,e){if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttribute(l,""+e)}}function Yl(t,l,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttributeNS(l,e,""+a)}}function Ml(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ws(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function vd(t,l,e){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,l);if(!t.hasOwnProperty(l)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(t,l,{configurable:!0,get:function(){return n.call(this)},set:function(i){e=""+i,u.call(this,i)}}),Object.defineProperty(t,l,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){t._valueTracker=null,delete t[l]}}}}function Yi(t){if(!t._valueTracker){var l=ws(t)?"checked":"value";t._valueTracker=vd(t,l,""+t[l])}}function Hs(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var e=l.getValue(),a="";return t&&(a=ws(t)?t.checked?"true":"false":t.value),t=a,t!==e?(l.setValue(t),!0):!1}function ru(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var xd=/[\n"\\]/g;function El(t){return t.replace(xd,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Fi(t,l,e,a,n,u,i,s){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),l!=null?i==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+Ml(l)):t.value!==""+Ml(l)&&(t.value=""+Ml(l)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),l!=null?Gi(t,i,Ml(l)):e!=null?Gi(t,i,Ml(e)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?t.name=""+Ml(s):t.removeAttribute("name")}function Qs(t,l,e,a,n,u,i,s){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),l!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||l!=null)){Yi(t);return}e=e!=null?""+Ml(e):"",l=l!=null?""+Ml(l):e,s||l===t.value||(t.value=l),t.defaultValue=l}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=s?t.checked:!!a,t.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i),Yi(t)}function Gi(t,l,e){l==="number"&&ru(t.ownerDocument)===t||t.defaultValue===""+e||(t.defaultValue=""+e)}function aa(t,l,e,a){if(t=t.options,l){l={};for(var n=0;n<e.length;n++)l["$"+e[n]]=!0;for(e=0;e<t.length;e++)n=l.hasOwnProperty("$"+t[e].value),t[e].selected!==n&&(t[e].selected=n),n&&a&&(t[e].defaultSelected=!0)}else{for(e=""+Ml(e),l=null,n=0;n<t.length;n++){if(t[n].value===e){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}l!==null||t[n].disabled||(l=t[n])}l!==null&&(l.selected=!0)}}function Bs(t,l,e){if(l!=null&&(l=""+Ml(l),l!==t.value&&(t.value=l),e==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=e!=null?""+Ml(e):""}function qs(t,l,e,a){if(l==null){if(a!=null){if(e!=null)throw Error(r(92));if(Nt(a)){if(1<a.length)throw Error(r(93));a=a[0]}e=a}e==null&&(e=""),l=e}e=Ml(l),t.defaultValue=e,a=t.textContent,a===e&&a!==""&&a!==null&&(t.value=a),Yi(t)}function na(t,l){if(l){var e=t.firstChild;if(e&&e===t.lastChild&&e.nodeType===3){e.nodeValue=l;return}}t.textContent=l}var pd=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 ks(t,l,e){var a=l.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="":a?t.setProperty(l,e):typeof e!="number"||e===0||pd.has(l)?l==="float"?t.cssFloat=e:t[l]=(""+e).trim():t[l]=e+"px"}function Ys(t,l,e){if(l!=null&&typeof l!="object")throw Error(r(62));if(t=t.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||l!=null&&l.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in l)a=l[n],l.hasOwnProperty(n)&&e[n]!==a&&ks(t,n,a)}else for(var u in l)l.hasOwnProperty(u)&&ks(t,u,l[u])}function Xi(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Sd=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"],["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"]]),bd=/^[\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 du(t){return bd.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Fl(){}var Vi=null;function Ki(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ua=null,ia=null;function Fs(t){var l=ta(t);if(l&&(t=l.stateNode)){var e=t[ll]||null;t:switch(t=l.stateNode,l.type){case"input":if(Fi(t,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),l=e.name,e.type==="radio"&&l!=null){for(e=t;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+El(""+l)+'"][type="radio"]'),l=0;l<e.length;l++){var a=e[l];if(a!==t&&a.form===t.form){var n=a[ll]||null;if(!n)throw Error(r(90));Fi(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(l=0;l<e.length;l++)a=e[l],a.form===t.form&&Hs(a)}break t;case"textarea":Bs(t,e.value,e.defaultValue);break t;case"select":l=e.value,l!=null&&aa(t,!!e.multiple,l,!1)}}}var Ji=!1;function Gs(t,l,e){if(Ji)return t(l,e);Ji=!0;try{var a=t(l);return a}finally{if(Ji=!1,(ua!==null||ia!==null)&&(Pu(),ua&&(l=ua,t=ia,ia=ua=null,Fs(l),t)))for(l=0;l<t.length;l++)Fs(t[l])}}function Ia(t,l){var e=t.stateNode;if(e===null)return null;var a=e[ll]||null;if(a===null)return null;e=a[l];t:switch(l){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)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(e&&typeof e!="function")throw Error(r(231,l,typeof e));return e}var Gl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wi=!1;if(Gl)try{var Pa={};Object.defineProperty(Pa,"passive",{get:function(){Wi=!0}}),window.addEventListener("test",Pa,Pa),window.removeEventListener("test",Pa,Pa)}catch{Wi=!1}var oe=null,$i=null,hu=null;function Xs(){if(hu)return hu;var t,l=$i,e=l.length,a,n="value"in oe?oe.value:oe.textContent,u=n.length;for(t=0;t<e&&l[t]===n[t];t++);var i=e-t;for(a=1;a<=i&&l[e-a]===n[u-a];a++);return hu=n.slice(t,1<a?1-a:void 0)}function yu(t){var l=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&l===13&&(t=13)):t=l,t===10&&(t=13),32<=t||t===13?t:0}function mu(){return!0}function Vs(){return!1}function el(t){function l(e,a,n,u,i){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var s in t)t.hasOwnProperty(s)&&(e=t[s],this[s]=e?e(u):u[s]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?mu:Vs,this.isPropagationStopped=Vs,this}return Z(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=mu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=mu)},persist:function(){},isPersistent:mu}),l}var Ze={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gu=el(Ze),tn=Z({},Ze,{view:0,detail:0}),jd=el(tn),Ii,Pi,ln,vu=Z({},tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ln&&(ln&&t.type==="mousemove"?(Ii=t.screenX-ln.screenX,Pi=t.screenY-ln.screenY):Pi=Ii=0,ln=t),Ii)},movementY:function(t){return"movementY"in t?t.movementY:Pi}}),Ks=el(vu),Md=Z({},vu,{dataTransfer:0}),Ed=el(Md),Ad=Z({},tn,{relatedTarget:0}),tc=el(Ad),zd=Z({},Ze,{animationName:0,elapsedTime:0,pseudoElement:0}),Td=el(zd),Ld=Z({},Ze,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),_d=el(Ld),Dd=Z({},Ze,{data:0}),Js=el(Dd),Od={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={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"},Ud={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cd(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=Ud[t])?!!l[t]:!1}function lc(){return Cd}var Rd=Z({},tn,{key:function(t){if(t.key){var l=Od[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=yu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Nd[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lc,charCode:function(t){return t.type==="keypress"?yu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?yu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Zd=el(Rd),wd=Z({},vu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ws=el(wd),Hd=Z({},tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lc}),Qd=el(Hd),Bd=Z({},Ze,{propertyName:0,elapsedTime:0,pseudoElement:0}),qd=el(Bd),kd=Z({},vu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Yd=el(kd),Fd=Z({},Ze,{newState:0,oldState:0}),Gd=el(Fd),Xd=[9,13,27,32],ec=Gl&&"CompositionEvent"in window,en=null;Gl&&"documentMode"in document&&(en=document.documentMode);var Vd=Gl&&"TextEvent"in window&&!en,$s=Gl&&(!ec||en&&8<en&&11>=en),Is=" ",Ps=!1;function to(t,l){switch(t){case"keyup":return Xd.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lo(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ca=!1;function Kd(t,l){switch(t){case"compositionend":return lo(l);case"keypress":return l.which!==32?null:(Ps=!0,Is);case"textInput":return t=l.data,t===Is&&Ps?null:t;default:return null}}function Jd(t,l){if(ca)return t==="compositionend"||!ec&&to(t,l)?(t=Xs(),hu=$i=oe=null,ca=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return $s&&l.locale!=="ko"?null:l.data;default:return null}}var Wd={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 eo(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!Wd[t.type]:l==="textarea"}function ao(t,l,e,a){ua?ia?ia.push(a):ia=[a]:ua=a,l=ii(l,"onChange"),0<l.length&&(e=new gu("onChange","change",null,e,a),t.push({event:e,listeners:l}))}var an=null,nn=null;function $d(t){Br(t,0)}function xu(t){var l=$a(t);if(Hs(l))return t}function no(t,l){if(t==="change")return l}var uo=!1;if(Gl){var ac;if(Gl){var nc="oninput"in document;if(!nc){var io=document.createElement("div");io.setAttribute("oninput","return;"),nc=typeof io.oninput=="function"}ac=nc}else ac=!1;uo=ac&&(!document.documentMode||9<document.documentMode)}function co(){an&&(an.detachEvent("onpropertychange",fo),nn=an=null)}function fo(t){if(t.propertyName==="value"&&xu(nn)){var l=[];ao(l,nn,t,Ki(t)),Gs($d,l)}}function Id(t,l,e){t==="focusin"?(co(),an=l,nn=e,an.attachEvent("onpropertychange",fo)):t==="focusout"&&co()}function Pd(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return xu(nn)}function th(t,l){if(t==="click")return xu(l)}function lh(t,l){if(t==="input"||t==="change")return xu(l)}function eh(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var dl=typeof Object.is=="function"?Object.is:eh;function un(t,l){if(dl(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;var e=Object.keys(t),a=Object.keys(l);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var n=e[a];if(!Ri.call(l,n)||!dl(t[n],l[n]))return!1}return!0}function so(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function oo(t,l){var e=so(t);t=0;for(var a;e;){if(e.nodeType===3){if(a=t+e.textContent.length,t<=l&&a>=l)return{node:e,offset:l-t};t=a}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=so(e)}}function ro(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?ro(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function ho(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=ru(t.document);l instanceof t.HTMLIFrameElement;){try{var e=typeof l.contentWindow.location.href=="string"}catch{e=!1}if(e)t=l.contentWindow;else break;l=ru(t.document)}return l}function uc(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l&&(l==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||l==="textarea"||t.contentEditable==="true")}var ah=Gl&&"documentMode"in document&&11>=document.documentMode,fa=null,ic=null,cn=null,cc=!1;function yo(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;cc||fa==null||fa!==ru(a)||(a=fa,"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}),cn&&un(cn,a)||(cn=a,a=ii(ic,"onSelect"),0<a.length&&(l=new gu("onSelect","select",null,l,e),t.push({event:l,listeners:a}),l.target=fa)))}function we(t,l){var e={};return e[t.toLowerCase()]=l.toLowerCase(),e["Webkit"+t]="webkit"+l,e["Moz"+t]="moz"+l,e}var sa={animationend:we("Animation","AnimationEnd"),animationiteration:we("Animation","AnimationIteration"),animationstart:we("Animation","AnimationStart"),transitionrun:we("Transition","TransitionRun"),transitionstart:we("Transition","TransitionStart"),transitioncancel:we("Transition","TransitionCancel"),transitionend:we("Transition","TransitionEnd")},fc={},mo={};Gl&&(mo=document.createElement("div").style,"AnimationEvent"in window||(delete sa.animationend.animation,delete sa.animationiteration.animation,delete sa.animationstart.animation),"TransitionEvent"in window||delete sa.transitionend.transition);function He(t){if(fc[t])return fc[t];if(!sa[t])return t;var l=sa[t],e;for(e in l)if(l.hasOwnProperty(e)&&e in mo)return fc[t]=l[e];return t}var go=He("animationend"),vo=He("animationiteration"),xo=He("animationstart"),nh=He("transitionrun"),uh=He("transitionstart"),ih=He("transitioncancel"),po=He("transitionend"),So=new Map,sc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");sc.push("scrollEnd");function Cl(t,l){So.set(t,l),Re(l,[t])}var pu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Al=[],oa=0,oc=0;function Su(){for(var t=oa,l=oc=oa=0;l<t;){var e=Al[l];Al[l++]=null;var a=Al[l];Al[l++]=null;var n=Al[l];Al[l++]=null;var u=Al[l];if(Al[l++]=null,a!==null&&n!==null){var i=a.pending;i===null?n.next=n:(n.next=i.next,i.next=n),a.pending=n}u!==0&&bo(e,n,u)}}function bu(t,l,e,a){Al[oa++]=t,Al[oa++]=l,Al[oa++]=e,Al[oa++]=a,oc|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function rc(t,l,e,a){return bu(t,l,e,a),ju(t)}function Qe(t,l){return bu(t,null,null,l),ju(t)}function bo(t,l,e){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=t.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,n&&l!==null&&(n=31-rl(e),t=u.hiddenUpdates,a=t[n],a===null?t[n]=[l]:a.push(l),l.lane=e|536870912),u):null}function ju(t){if(50<_n)throw _n=0,bf=null,Error(r(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var ra={};function ch(t,l,e,a){this.tag=t,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=l,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 hl(t,l,e,a){return new ch(t,l,e,a)}function dc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Xl(t,l){var e=t.alternate;return e===null?(e=hl(t.tag,l,t.key,t.mode),e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.alternate=t,t.alternate=e):(e.pendingProps=l,e.type=t.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=t.flags&65011712,e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,l=t.dependencies,e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.refCleanup=t.refCleanup,e}function jo(t,l){t.flags&=65011714;var e=t.alternate;return e===null?(t.childLanes=0,t.lanes=l,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,t.type=e.type,l=e.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),t}function Mu(t,l,e,a,n,u){var i=0;if(a=t,typeof t=="function")dc(t)&&(i=1);else if(typeof t=="string")i=d2(t,e,C.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case It:return t=hl(31,e,l,n),t.elementType=It,t.lanes=u,t;case ot:return Be(e.children,n,u,l);case Et:i=8,n|=24;break;case gt:return t=hl(12,e,l,n|2),t.elementType=gt,t.lanes=u,t;case $t:return t=hl(13,e,l,n),t.elementType=$t,t.lanes=u,t;case tt:return t=hl(19,e,l,n),t.elementType=tt,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Ot:i=10;break t;case Tt:i=9;break t;case Qt:i=11;break t;case k:i=14;break t;case rt:i=16,a=null;break t}i=29,e=Error(r(130,t===null?"null":typeof t,"")),a=null}return l=hl(i,e,l,n),l.elementType=t,l.type=a,l.lanes=u,l}function Be(t,l,e,a){return t=hl(7,t,a,l),t.lanes=e,t}function hc(t,l,e){return t=hl(6,t,null,l),t.lanes=e,t}function Mo(t){var l=hl(18,null,null,0);return l.stateNode=t,l}function yc(t,l,e){return l=hl(4,t.children!==null?t.children:[],t.key,l),l.lanes=e,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}var Eo=new WeakMap;function zl(t,l){if(typeof t=="object"&&t!==null){var e=Eo.get(t);return e!==void 0?e:(l={value:t,source:l,stack:js(l)},Eo.set(t,l),l)}return{value:t,source:l,stack:js(l)}}var da=[],ha=0,Eu=null,fn=0,Tl=[],Ll=0,re=null,Ql=1,Bl="";function Vl(t,l){da[ha++]=fn,da[ha++]=Eu,Eu=t,fn=l}function Ao(t,l,e){Tl[Ll++]=Ql,Tl[Ll++]=Bl,Tl[Ll++]=re,re=t;var a=Ql;t=Bl;var n=32-rl(a)-1;a&=~(1<<n),e+=1;var u=32-rl(l)+n;if(30<u){var i=n-n%5;u=(a&(1<<i)-1).toString(32),a>>=i,n-=i,Ql=1<<32-rl(l)+n|e<<n|a,Bl=u+t}else Ql=1<<u|e<<n|a,Bl=t}function mc(t){t.return!==null&&(Vl(t,1),Ao(t,1,0))}function gc(t){for(;t===Eu;)Eu=da[--ha],da[ha]=null,fn=da[--ha],da[ha]=null;for(;t===re;)re=Tl[--Ll],Tl[Ll]=null,Bl=Tl[--Ll],Tl[Ll]=null,Ql=Tl[--Ll],Tl[Ll]=null}function zo(t,l){Tl[Ll++]=Ql,Tl[Ll++]=Bl,Tl[Ll++]=re,Ql=l.id,Bl=l.overflow,re=t}var Yt=null,vt=null,I=!1,de=null,_l=!1,vc=Error(r(519));function he(t){var l=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw sn(zl(l,t)),vc}function To(t){var l=t.stateNode,e=t.type,a=t.memoizedProps;switch(l[kt]=t,l[ll]=a,e){case"dialog":J("cancel",l),J("close",l);break;case"iframe":case"object":case"embed":J("load",l);break;case"video":case"audio":for(e=0;e<On.length;e++)J(On[e],l);break;case"source":J("error",l);break;case"img":case"image":case"link":J("error",l),J("load",l);break;case"details":J("toggle",l);break;case"input":J("invalid",l),Qs(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":J("invalid",l);break;case"textarea":J("invalid",l),qs(l,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||l.textContent===""+e||a.suppressHydrationWarning===!0||Fr(l.textContent,e)?(a.popover!=null&&(J("beforetoggle",l),J("toggle",l)),a.onScroll!=null&&J("scroll",l),a.onScrollEnd!=null&&J("scrollend",l),a.onClick!=null&&(l.onclick=Fl),l=!0):l=!1,l||he(t,!0)}function Lo(t){for(Yt=t.return;Yt;)switch(Yt.tag){case 5:case 31:case 13:_l=!1;return;case 27:case 3:_l=!0;return;default:Yt=Yt.return}}function ya(t){if(t!==Yt)return!1;if(!I)return Lo(t),I=!0,!1;var l=t.tag,e;if((e=l!==3&&l!==27)&&((e=l===5)&&(e=t.type,e=!(e!=="form"&&e!=="button")||Zf(t.type,t.memoizedProps)),e=!e),e&&vt&&he(t),Lo(t),l===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));vt=Pr(t)}else if(l===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));vt=Pr(t)}else l===27?(l=vt,Te(t.type)?(t=qf,qf=null,vt=t):vt=l):vt=Yt?Ol(t.stateNode.nextSibling):null;return!0}function qe(){vt=Yt=null,I=!1}function xc(){var t=de;return t!==null&&(il===null?il=t:il.push.apply(il,t),de=null),t}function sn(t){de===null?de=[t]:de.push(t)}var pc=m(null),ke=null,Kl=null;function ye(t,l,e){N(pc,l._currentValue),l._currentValue=e}function Jl(t){t._currentValue=pc.current,z(pc)}function Sc(t,l,e){for(;t!==null;){var a=t.alternate;if((t.childLanes&l)!==l?(t.childLanes|=l,a!==null&&(a.childLanes|=l)):a!==null&&(a.childLanes&l)!==l&&(a.childLanes|=l),t===e)break;t=t.return}}function bc(t,l,e,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var i=n.child;u=u.firstContext;t:for(;u!==null;){var s=u;u=n;for(var d=0;d<l.length;d++)if(s.context===l[d]){u.lanes|=e,s=u.alternate,s!==null&&(s.lanes|=e),Sc(u.return,e,t),a||(i=null);break t}u=s.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(r(341));i.lanes|=e,u=i.alternate,u!==null&&(u.lanes|=e),Sc(i,e,t),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===t){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function ma(t,l,e,a){t=null;for(var n=l,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 i=n.alternate;if(i===null)throw Error(r(387));if(i=i.memoizedProps,i!==null){var s=n.type;dl(n.pendingProps.value,i.value)||(t!==null?t.push(s):t=[s])}}else if(n===ct.current){if(i=n.alternate,i===null)throw Error(r(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(Zn):t=[Zn])}n=n.return}t!==null&&bc(l,t,e,a),l.flags|=262144}function Au(t){for(t=t.firstContext;t!==null;){if(!dl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ye(t){ke=t,Kl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Ft(t){return _o(ke,t)}function zu(t,l){return ke===null&&Ye(t),_o(t,l)}function _o(t,l){var e=l._currentValue;if(l={context:l,memoizedValue:e,next:null},Kl===null){if(t===null)throw Error(r(308));Kl=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else Kl=Kl.next=l;return e}var fh=typeof AbortController<"u"?AbortController:function(){var t=[],l=this.signal={aborted:!1,addEventListener:function(e,a){t.push(a)}};this.abort=function(){l.aborted=!0,t.forEach(function(e){return e()})}},sh=f.unstable_scheduleCallback,oh=f.unstable_NormalPriority,Ut={$$typeof:Ot,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jc(){return{controller:new fh,data:new Map,refCount:0}}function on(t){t.refCount--,t.refCount===0&&sh(oh,function(){t.controller.abort()})}var rn=null,Mc=0,ga=0,va=null;function rh(t,l){if(rn===null){var e=rn=[];Mc=0,ga=Tf(),va={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Mc++,l.then(Do,Do),l}function Do(){if(--Mc===0&&rn!==null){va!==null&&(va.status="fulfilled");var t=rn;rn=null,ga=0,va=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function dh(t,l){var e=[],a={status:"pending",value:null,reason:null,then:function(n){e.push(n)}};return t.then(function(){a.status="fulfilled",a.value=l;for(var n=0;n<e.length;n++)(0,e[n])(l)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}var Oo=A.S;A.S=function(t,l){yr=sl(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&rh(t,l),Oo!==null&&Oo(t,l)};var Fe=m(null);function Ec(){var t=Fe.current;return t!==null?t:mt.pooledCache}function Tu(t,l){l===null?N(Fe,Fe.current):N(Fe,l.pool)}function No(){var t=Ec();return t===null?null:{parent:Ut._currentValue,pool:t}}var xa=Error(r(460)),Ac=Error(r(474)),Lu=Error(r(542)),_u={then:function(){}};function Uo(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Co(t,l,e){switch(e=t[e],e===void 0?t.push(l):e!==l&&(l.then(Fl,Fl),l=e),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,Zo(t),t;default:if(typeof l.status=="string")l.then(Fl,Fl);else{if(t=mt,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=l,t.status="pending",t.then(function(a){if(l.status==="pending"){var n=l;n.status="fulfilled",n.value=a}},function(a){if(l.status==="pending"){var n=l;n.status="rejected",n.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,Zo(t),t}throw Xe=l,xa}}function Ge(t){try{var l=t._init;return l(t._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Xe=e,xa):e}}var Xe=null;function Ro(){if(Xe===null)throw Error(r(459));var t=Xe;return Xe=null,t}function Zo(t){if(t===xa||t===Lu)throw Error(r(483))}var pa=null,dn=0;function Du(t){var l=dn;return dn+=1,pa===null&&(pa=[]),Co(pa,t,l)}function hn(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function Ou(t,l){throw l.$$typeof===P?Error(r(525)):(t=Object.prototype.toString.call(l),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function wo(t){function l(g,y){if(t){var x=g.deletions;x===null?(g.deletions=[y],g.flags|=16):x.push(y)}}function e(g,y){if(!t)return null;for(;y!==null;)l(g,y),y=y.sibling;return null}function a(g){for(var y=new Map;g!==null;)g.key!==null?y.set(g.key,g):y.set(g.index,g),g=g.sibling;return y}function n(g,y){return g=Xl(g,y),g.index=0,g.sibling=null,g}function u(g,y,x){return g.index=x,t?(x=g.alternate,x!==null?(x=x.index,x<y?(g.flags|=67108866,y):x):(g.flags|=67108866,y)):(g.flags|=1048576,y)}function i(g){return t&&g.alternate===null&&(g.flags|=67108866),g}function s(g,y,x,T){return y===null||y.tag!==6?(y=hc(x,g.mode,T),y.return=g,y):(y=n(y,x),y.return=g,y)}function d(g,y,x,T){var Q=x.type;return Q===ot?E(g,y,x.props.children,T,x.key):y!==null&&(y.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===rt&&Ge(Q)===y.type)?(y=n(y,x.props),hn(y,x),y.return=g,y):(y=Mu(x.type,x.key,x.props,null,g.mode,T),hn(y,x),y.return=g,y)}function p(g,y,x,T){return y===null||y.tag!==4||y.stateNode.containerInfo!==x.containerInfo||y.stateNode.implementation!==x.implementation?(y=yc(x,g.mode,T),y.return=g,y):(y=n(y,x.children||[]),y.return=g,y)}function E(g,y,x,T,Q){return y===null||y.tag!==7?(y=Be(x,g.mode,T,Q),y.return=g,y):(y=n(y,x),y.return=g,y)}function L(g,y,x){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=hc(""+y,g.mode,x),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Mt:return x=Mu(y.type,y.key,y.props,null,g.mode,x),hn(x,y),x.return=g,x;case pt:return y=yc(y,g.mode,x),y.return=g,y;case rt:return y=Ge(y),L(g,y,x)}if(Nt(y)||ut(y))return y=Be(y,g.mode,x,null),y.return=g,y;if(typeof y.then=="function")return L(g,Du(y),x);if(y.$$typeof===Ot)return L(g,zu(g,y),x);Ou(g,y)}return null}function b(g,y,x,T){var Q=y!==null?y.key:null;if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return Q!==null?null:s(g,y,""+x,T);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Mt:return x.key===Q?d(g,y,x,T):null;case pt:return x.key===Q?p(g,y,x,T):null;case rt:return x=Ge(x),b(g,y,x,T)}if(Nt(x)||ut(x))return Q!==null?null:E(g,y,x,T,null);if(typeof x.then=="function")return b(g,y,Du(x),T);if(x.$$typeof===Ot)return b(g,y,zu(g,x),T);Ou(g,x)}return null}function j(g,y,x,T,Q){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return g=g.get(x)||null,s(y,g,""+T,Q);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Mt:return g=g.get(T.key===null?x:T.key)||null,d(y,g,T,Q);case pt:return g=g.get(T.key===null?x:T.key)||null,p(y,g,T,Q);case rt:return T=Ge(T),j(g,y,x,T,Q)}if(Nt(T)||ut(T))return g=g.get(x)||null,E(y,g,T,Q,null);if(typeof T.then=="function")return j(g,y,x,Du(T),Q);if(T.$$typeof===Ot)return j(g,y,x,zu(y,T),Q);Ou(y,T)}return null}function w(g,y,x,T){for(var Q=null,lt=null,H=y,X=y=0,$=null;H!==null&&X<x.length;X++){H.index>X?($=H,H=null):$=H.sibling;var et=b(g,H,x[X],T);if(et===null){H===null&&(H=$);break}t&&H&&et.alternate===null&&l(g,H),y=u(et,y,X),lt===null?Q=et:lt.sibling=et,lt=et,H=$}if(X===x.length)return e(g,H),I&&Vl(g,X),Q;if(H===null){for(;X<x.length;X++)H=L(g,x[X],T),H!==null&&(y=u(H,y,X),lt===null?Q=H:lt.sibling=H,lt=H);return I&&Vl(g,X),Q}for(H=a(H);X<x.length;X++)$=j(H,g,X,x[X],T),$!==null&&(t&&$.alternate!==null&&H.delete($.key===null?X:$.key),y=u($,y,X),lt===null?Q=$:lt.sibling=$,lt=$);return t&&H.forEach(function(Ne){return l(g,Ne)}),I&&Vl(g,X),Q}function q(g,y,x,T){if(x==null)throw Error(r(151));for(var Q=null,lt=null,H=y,X=y=0,$=null,et=x.next();H!==null&&!et.done;X++,et=x.next()){H.index>X?($=H,H=null):$=H.sibling;var Ne=b(g,H,et.value,T);if(Ne===null){H===null&&(H=$);break}t&&H&&Ne.alternate===null&&l(g,H),y=u(Ne,y,X),lt===null?Q=Ne:lt.sibling=Ne,lt=Ne,H=$}if(et.done)return e(g,H),I&&Vl(g,X),Q;if(H===null){for(;!et.done;X++,et=x.next())et=L(g,et.value,T),et!==null&&(y=u(et,y,X),lt===null?Q=et:lt.sibling=et,lt=et);return I&&Vl(g,X),Q}for(H=a(H);!et.done;X++,et=x.next())et=j(H,g,X,et.value,T),et!==null&&(t&&et.alternate!==null&&H.delete(et.key===null?X:et.key),y=u(et,y,X),lt===null?Q=et:lt.sibling=et,lt=et);return t&&H.forEach(function(M2){return l(g,M2)}),I&&Vl(g,X),Q}function yt(g,y,x,T){if(typeof x=="object"&&x!==null&&x.type===ot&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Mt:t:{for(var Q=x.key;y!==null;){if(y.key===Q){if(Q=x.type,Q===ot){if(y.tag===7){e(g,y.sibling),T=n(y,x.props.children),T.return=g,g=T;break t}}else if(y.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===rt&&Ge(Q)===y.type){e(g,y.sibling),T=n(y,x.props),hn(T,x),T.return=g,g=T;break t}e(g,y);break}else l(g,y);y=y.sibling}x.type===ot?(T=Be(x.props.children,g.mode,T,x.key),T.return=g,g=T):(T=Mu(x.type,x.key,x.props,null,g.mode,T),hn(T,x),T.return=g,g=T)}return i(g);case pt:t:{for(Q=x.key;y!==null;){if(y.key===Q)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){e(g,y.sibling),T=n(y,x.children||[]),T.return=g,g=T;break t}else{e(g,y);break}else l(g,y);y=y.sibling}T=yc(x,g.mode,T),T.return=g,g=T}return i(g);case rt:return x=Ge(x),yt(g,y,x,T)}if(Nt(x))return w(g,y,x,T);if(ut(x)){if(Q=ut(x),typeof Q!="function")throw Error(r(150));return x=Q.call(x),q(g,y,x,T)}if(typeof x.then=="function")return yt(g,y,Du(x),T);if(x.$$typeof===Ot)return yt(g,y,zu(g,x),T);Ou(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(x=""+x,y!==null&&y.tag===6?(e(g,y.sibling),T=n(y,x),T.return=g,g=T):(e(g,y),T=hc(x,g.mode,T),T.return=g,g=T),i(g)):e(g,y)}return function(g,y,x,T){try{dn=0;var Q=yt(g,y,x,T);return pa=null,Q}catch(H){if(H===xa||H===Lu)throw H;var lt=hl(29,H,null,g.mode);return lt.lanes=T,lt.return=g,lt}finally{}}}var Ve=wo(!0),Ho=wo(!1),me=!1;function zc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Tc(t,l){t=t.updateQueue,l.updateQueue===t&&(l.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ge(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ve(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(nt&2)!==0){var n=a.pending;return n===null?l.next=l:(l.next=n.next,n.next=l),a.pending=l,l=ju(t),bo(t,null,e),l}return bu(t,a,l,e),ju(t)}function yn(t,l,e){if(l=l.updateQueue,l!==null&&(l=l.shared,(e&4194048)!==0)){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Ls(t,e)}}function Lc(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,e=e.next}while(e!==null);u===null?n=u=l:u=u.next=l}else n=u=l;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=e;return}t=e.lastBaseUpdate,t===null?e.firstBaseUpdate=l:t.next=l,e.lastBaseUpdate=l}var _c=!1;function mn(){if(_c){var t=va;if(t!==null)throw t}}function gn(t,l,e,a){_c=!1;var n=t.updateQueue;me=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var d=s,p=d.next;d.next=null,i===null?u=p:i.next=p,i=d;var E=t.alternate;E!==null&&(E=E.updateQueue,s=E.lastBaseUpdate,s!==i&&(s===null?E.firstBaseUpdate=p:s.next=p,E.lastBaseUpdate=d))}if(u!==null){var L=n.baseState;i=0,E=p=d=null,s=u;do{var b=s.lane&-536870913,j=b!==s.lane;if(j?(W&b)===b:(a&b)===b){b!==0&&b===ga&&(_c=!0),E!==null&&(E=E.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});t:{var w=t,q=s;b=l;var yt=e;switch(q.tag){case 1:if(w=q.payload,typeof w=="function"){L=w.call(yt,L,b);break t}L=w;break t;case 3:w.flags=w.flags&-65537|128;case 0:if(w=q.payload,b=typeof w=="function"?w.call(yt,L,b):w,b==null)break t;L=Z({},L,b);break t;case 2:me=!0}}b=s.callback,b!==null&&(t.flags|=64,j&&(t.flags|=8192),j=n.callbacks,j===null?n.callbacks=[b]:j.push(b))}else j={lane:b,tag:s.tag,payload:s.payload,callback:s.callback,next:null},E===null?(p=E=j,d=L):E=E.next=j,i|=b;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;j=s,s=j.next,j.next=null,n.lastBaseUpdate=j,n.shared.pending=null}}while(!0);E===null&&(d=L),n.baseState=d,n.firstBaseUpdate=p,n.lastBaseUpdate=E,u===null&&(n.shared.lanes=0),je|=i,t.lanes=i,t.memoizedState=L}}function Qo(t,l){if(typeof t!="function")throw Error(r(191,t));t.call(l)}function Bo(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;t<e.length;t++)Qo(e[t],l)}var Sa=m(null),Nu=m(0);function qo(t,l){t=ne,N(Nu,t),N(Sa,l),ne=t|l.baseLanes}function Dc(){N(Nu,ne),N(Sa,Sa.current)}function Oc(){ne=Nu.current,z(Sa),z(Nu)}var yl=m(null),Dl=null;function xe(t){var l=t.alternate;N(_t,_t.current&1),N(yl,t),Dl===null&&(l===null||Sa.current!==null||l.memoizedState!==null)&&(Dl=t)}function Nc(t){N(_t,_t.current),N(yl,t),Dl===null&&(Dl=t)}function ko(t){t.tag===22?(N(_t,_t.current),N(yl,t),Dl===null&&(Dl=t)):pe()}function pe(){N(_t,_t.current),N(yl,yl.current)}function ml(t){z(yl),Dl===t&&(Dl=null),z(_t)}var _t=m(0);function Uu(t){for(var l=t;l!==null;){if(l.tag===13){var e=l.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||Qf(e)||Bf(e)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Wl=0,G=null,dt=null,Ct=null,Cu=!1,ba=!1,Ke=!1,Ru=0,vn=0,ja=null,hh=0;function At(){throw Error(r(321))}function Uc(t,l){if(l===null)return!1;for(var e=0;e<l.length&&e<t.length;e++)if(!dl(t[e],l[e]))return!1;return!0}function Cc(t,l,e,a,n,u){return Wl=u,G=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,A.H=t===null||t.memoizedState===null?A0:Jc,Ke=!1,u=e(a,n),Ke=!1,ba&&(u=Fo(l,e,a,n)),Yo(t),u}function Yo(t){A.H=Sn;var l=dt!==null&&dt.next!==null;if(Wl=0,Ct=dt=G=null,Cu=!1,vn=0,ja=null,l)throw Error(r(300));t===null||Rt||(t=t.dependencies,t!==null&&Au(t)&&(Rt=!0))}function Fo(t,l,e,a){G=t;var n=0;do{if(ba&&(ja=null),vn=0,ba=!1,25<=n)throw Error(r(301));if(n+=1,Ct=dt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}A.H=z0,u=l(e,a)}while(ba);return u}function yh(){var t=A.H,l=t.useState()[0];return l=typeof l.then=="function"?xn(l):l,t=t.useState()[0],(dt!==null?dt.memoizedState:null)!==t&&(G.flags|=1024),l}function Rc(){var t=Ru!==0;return Ru=0,t}function Zc(t,l,e){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~e}function wc(t){if(Cu){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}Cu=!1}Wl=0,Ct=dt=G=null,ba=!1,vn=Ru=0,ja=null}function tl(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ct===null?G.memoizedState=Ct=t:Ct=Ct.next=t,Ct}function Dt(){if(dt===null){var t=G.alternate;t=t!==null?t.memoizedState:null}else t=dt.next;var l=Ct===null?G.memoizedState:Ct.next;if(l!==null)Ct=l,dt=t;else{if(t===null)throw G.alternate===null?Error(r(467)):Error(r(310));dt=t,t={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},Ct===null?G.memoizedState=Ct=t:Ct=Ct.next=t}return Ct}function Zu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xn(t){var l=vn;return vn+=1,ja===null&&(ja=[]),t=Co(ja,t,l),l=G,(Ct===null?l.memoizedState:Ct.next)===null&&(l=l.alternate,A.H=l===null||l.memoizedState===null?A0:Jc),t}function wu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return xn(t);if(t.$$typeof===Ot)return Ft(t)}throw Error(r(438,String(t)))}function Hc(t){var l=null,e=G.updateQueue;if(e!==null&&(l=e.memoCache),l==null){var a=G.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(n){return n.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),e===null&&(e=Zu(),G.updateQueue=e),e.memoCache=l,e=l.data[l.index],e===void 0)for(e=l.data[l.index]=Array(t),a=0;a<t;a++)e[a]=Hl;return l.index++,e}function $l(t,l){return typeof l=="function"?l(t):l}function Hu(t){var l=Dt();return Qc(l,dt,t)}function Qc(t,l,e){var a=t.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var i=n.next;n.next=u.next,u.next=i}l.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{l=n.next;var s=i=null,d=null,p=l,E=!1;do{var L=p.lane&-536870913;if(L!==p.lane?(W&L)===L:(Wl&L)===L){var b=p.revertLane;if(b===0)d!==null&&(d=d.next={lane:0,revertLane:0,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),L===ga&&(E=!0);else if((Wl&b)===b){p=p.next,b===ga&&(E=!0);continue}else L={lane:0,revertLane:p.revertLane,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},d===null?(s=d=L,i=u):d=d.next=L,G.lanes|=b,je|=b;L=p.action,Ke&&e(u,L),u=p.hasEagerState?p.eagerState:e(u,L)}else b={lane:L,revertLane:p.revertLane,gesture:p.gesture,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},d===null?(s=d=b,i=u):d=d.next=b,G.lanes|=L,je|=L;p=p.next}while(p!==null&&p!==l);if(d===null?i=u:d.next=s,!dl(u,t.memoizedState)&&(Rt=!0,E&&(e=va,e!==null)))throw e;t.memoizedState=u,t.baseState=i,t.baseQueue=d,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function Bc(t){var l=Dt(),e=l.queue;if(e===null)throw Error(r(311));e.lastRenderedReducer=t;var a=e.dispatch,n=e.pending,u=l.memoizedState;if(n!==null){e.pending=null;var i=n=n.next;do u=t(u,i.action),i=i.next;while(i!==n);dl(u,l.memoizedState)||(Rt=!0),l.memoizedState=u,l.baseQueue===null&&(l.baseState=u),e.lastRenderedState=u}return[u,a]}function Go(t,l,e){var a=G,n=Dt(),u=I;if(u){if(e===void 0)throw Error(r(407));e=e()}else e=l();var i=!dl((dt||n).memoizedState,e);if(i&&(n.memoizedState=e,Rt=!0),n=n.queue,Yc(Ko.bind(null,a,n,t),[t]),n.getSnapshot!==l||i||Ct!==null&&Ct.memoizedState.tag&1){if(a.flags|=2048,Ma(9,{destroy:void 0},Vo.bind(null,a,n,e,l),null),mt===null)throw Error(r(349));u||(Wl&127)!==0||Xo(a,l,e)}return e}function Xo(t,l,e){t.flags|=16384,t={getSnapshot:l,value:e},l=G.updateQueue,l===null?(l=Zu(),G.updateQueue=l,l.stores=[t]):(e=l.stores,e===null?l.stores=[t]:e.push(t))}function Vo(t,l,e,a){l.value=e,l.getSnapshot=a,Jo(l)&&Wo(t)}function Ko(t,l,e){return e(function(){Jo(l)&&Wo(t)})}function Jo(t){var l=t.getSnapshot;t=t.value;try{var e=l();return!dl(t,e)}catch{return!0}}function Wo(t){var l=Qe(t,2);l!==null&&cl(l,t,2)}function qc(t){var l=tl();if(typeof t=="function"){var e=t;if(t=e(),Ke){fe(!0);try{e()}finally{fe(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$l,lastRenderedState:t},l}function $o(t,l,e,a){return t.baseState=e,Qc(t,dt,typeof a=="function"?a:$l)}function mh(t,l,e,a,n){if(qu(t))throw Error(r(485));if(t=l.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){u.listeners.push(i)}};A.T!==null?e(!0):u.isTransition=!1,a(u),e=l.pending,e===null?(u.next=l.pending=u,Io(l,u)):(u.next=e.next,l.pending=e.next=u)}}function Io(t,l){var e=l.action,a=l.payload,n=t.state;if(l.isTransition){var u=A.T,i={};A.T=i;try{var s=e(n,a),d=A.S;d!==null&&d(i,s),Po(t,l,s)}catch(p){kc(t,l,p)}finally{u!==null&&i.types!==null&&(u.types=i.types),A.T=u}}else try{u=e(n,a),Po(t,l,u)}catch(p){kc(t,l,p)}}function Po(t,l,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){t0(t,l,a)},function(a){return kc(t,l,a)}):t0(t,l,e)}function t0(t,l,e){l.status="fulfilled",l.value=e,l0(l),t.state=e,l=t.pending,l!==null&&(e=l.next,e===l?t.pending=null:(e=e.next,l.next=e,Io(t,e)))}function kc(t,l,e){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=e,l0(l),l=l.next;while(l!==a)}t.action=null}function l0(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function e0(t,l){return l}function a0(t,l){if(I){var e=mt.formState;if(e!==null){t:{var a=G;if(I){if(vt){l:{for(var n=vt,u=_l;n.nodeType!==8;){if(!u){n=null;break l}if(n=Ol(n.nextSibling),n===null){n=null;break l}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){vt=Ol(n.nextSibling),a=n.data==="F!";break t}}he(a)}a=!1}a&&(l=e[0])}}return e=tl(),e.memoizedState=e.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e0,lastRenderedState:l},e.queue=a,e=j0.bind(null,G,a),a.dispatch=e,a=qc(!1),u=Kc.bind(null,G,!1,a.queue),a=tl(),n={state:l,dispatch:null,action:t,pending:null},a.queue=n,e=mh.bind(null,G,n,u,e),n.dispatch=e,a.memoizedState=t,[l,e,!1]}function n0(t){var l=Dt();return u0(l,dt,t)}function u0(t,l,e){if(l=Qc(t,l,e0)[0],t=Hu($l)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var a=xn(l)}catch(i){throw i===xa?Lu:i}else a=l;l=Dt();var n=l.queue,u=n.dispatch;return e!==l.memoizedState&&(G.flags|=2048,Ma(9,{destroy:void 0},gh.bind(null,n,e),null)),[a,u,t]}function gh(t,l){t.action=l}function i0(t){var l=Dt(),e=dt;if(e!==null)return u0(l,e,t);Dt(),l=l.memoizedState,e=Dt();var a=e.queue.dispatch;return e.memoizedState=t,[l,a,!1]}function Ma(t,l,e,a){return t={tag:t,create:e,deps:a,inst:l,next:null},l=G.updateQueue,l===null&&(l=Zu(),G.updateQueue=l),e=l.lastEffect,e===null?l.lastEffect=t.next=t:(a=e.next,e.next=t,t.next=a,l.lastEffect=t),t}function c0(){return Dt().memoizedState}function Qu(t,l,e,a){var n=tl();G.flags|=t,n.memoizedState=Ma(1|l,{destroy:void 0},e,a===void 0?null:a)}function Bu(t,l,e,a){var n=Dt();a=a===void 0?null:a;var u=n.memoizedState.inst;dt!==null&&a!==null&&Uc(a,dt.memoizedState.deps)?n.memoizedState=Ma(l,u,e,a):(G.flags|=t,n.memoizedState=Ma(1|l,u,e,a))}function f0(t,l){Qu(8390656,8,t,l)}function Yc(t,l){Bu(2048,8,t,l)}function vh(t){G.flags|=4;var l=G.updateQueue;if(l===null)l=Zu(),G.updateQueue=l,l.events=[t];else{var e=l.events;e===null?l.events=[t]:e.push(t)}}function s0(t){var l=Dt().memoizedState;return vh({ref:l,nextImpl:t}),function(){if((nt&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}function o0(t,l){return Bu(4,2,t,l)}function r0(t,l){return Bu(4,4,t,l)}function d0(t,l){if(typeof l=="function"){t=t();var e=l(t);return function(){typeof e=="function"?e():l(null)}}if(l!=null)return t=t(),l.current=t,function(){l.current=null}}function h0(t,l,e){e=e!=null?e.concat([t]):null,Bu(4,4,d0.bind(null,l,t),e)}function Fc(){}function y0(t,l){var e=Dt();l=l===void 0?null:l;var a=e.memoizedState;return l!==null&&Uc(l,a[1])?a[0]:(e.memoizedState=[t,l],t)}function m0(t,l){var e=Dt();l=l===void 0?null:l;var a=e.memoizedState;if(l!==null&&Uc(l,a[1]))return a[0];if(a=t(),Ke){fe(!0);try{t()}finally{fe(!1)}}return e.memoizedState=[a,l],a}function Gc(t,l,e){return e===void 0||(Wl&1073741824)!==0&&(W&261930)===0?t.memoizedState=l:(t.memoizedState=e,t=gr(),G.lanes|=t,je|=t,e)}function g0(t,l,e,a){return dl(e,l)?e:Sa.current!==null?(t=Gc(t,e,a),dl(t,l)||(Rt=!0),t):(Wl&42)===0||(Wl&1073741824)!==0&&(W&261930)===0?(Rt=!0,t.memoizedState=e):(t=gr(),G.lanes|=t,je|=t,l)}function v0(t,l,e,a,n){var u=U.p;U.p=u!==0&&8>u?u:8;var i=A.T,s={};A.T=s,Kc(t,!1,l,e);try{var d=n(),p=A.S;if(p!==null&&p(s,d),d!==null&&typeof d=="object"&&typeof d.then=="function"){var E=dh(d,a);pn(t,l,E,xl(t))}else pn(t,l,a,xl(t))}catch(L){pn(t,l,{then:function(){},status:"rejected",reason:L},xl())}finally{U.p=u,i!==null&&s.types!==null&&(i.types=s.types),A.T=i}}function xh(){}function Xc(t,l,e,a){if(t.tag!==5)throw Error(r(476));var n=x0(t).queue;v0(t,n,l,B,e===null?xh:function(){return p0(t),e(a)})}function x0(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$l,lastRenderedState:B},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$l,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function p0(t){var l=x0(t);l.next===null&&(l=t.alternate.memoizedState),pn(t,l.next.queue,{},xl())}function Vc(){return Ft(Zn)}function S0(){return Dt().memoizedState}function b0(){return Dt().memoizedState}function ph(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=xl();t=ge(e);var a=ve(l,t,e);a!==null&&(cl(a,l,e),yn(a,l,e)),l={cache:jc()},t.payload=l;return}l=l.return}}function Sh(t,l,e){var a=xl();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},qu(t)?M0(l,e):(e=rc(t,l,e,a),e!==null&&(cl(e,t,a),E0(e,l,a)))}function j0(t,l,e){var a=xl();pn(t,l,e,a)}function pn(t,l,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(qu(t))M0(l,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=l.lastRenderedReducer,u!==null))try{var i=l.lastRenderedState,s=u(i,e);if(n.hasEagerState=!0,n.eagerState=s,dl(s,i))return bu(t,l,n,0),mt===null&&Su(),!1}catch{}finally{}if(e=rc(t,l,n,a),e!==null)return cl(e,t,a),E0(e,l,a),!0}return!1}function Kc(t,l,e,a){if(a={lane:2,revertLane:Tf(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},qu(t)){if(l)throw Error(r(479))}else l=rc(t,e,a,2),l!==null&&cl(l,t,2)}function qu(t){var l=t.alternate;return t===G||l!==null&&l===G}function M0(t,l){ba=Cu=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function E0(t,l,e){if((e&4194048)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Ls(t,e)}}var Sn={readContext:Ft,use:wu,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useLayoutEffect:At,useInsertionEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useSyncExternalStore:At,useId:At,useHostTransitionStatus:At,useFormState:At,useActionState:At,useOptimistic:At,useMemoCache:At,useCacheRefresh:At};Sn.useEffectEvent=At;var A0={readContext:Ft,use:wu,useCallback:function(t,l){return tl().memoizedState=[t,l===void 0?null:l],t},useContext:Ft,useEffect:f0,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,Qu(4194308,4,d0.bind(null,l,t),e)},useLayoutEffect:function(t,l){return Qu(4194308,4,t,l)},useInsertionEffect:function(t,l){Qu(4,2,t,l)},useMemo:function(t,l){var e=tl();l=l===void 0?null:l;var a=t();if(Ke){fe(!0);try{t()}finally{fe(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=tl();if(e!==void 0){var n=e(l);if(Ke){fe(!0);try{e(l)}finally{fe(!1)}}}else n=l;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=Sh.bind(null,G,t),[a.memoizedState,t]},useRef:function(t){var l=tl();return t={current:t},l.memoizedState=t},useState:function(t){t=qc(t);var l=t.queue,e=j0.bind(null,G,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:Fc,useDeferredValue:function(t,l){var e=tl();return Gc(e,t,l)},useTransition:function(){var t=qc(!1);return t=v0.bind(null,G,t.queue,!0,!1),tl().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=G,n=tl();if(I){if(e===void 0)throw Error(r(407));e=e()}else{if(e=l(),mt===null)throw Error(r(349));(W&127)!==0||Xo(a,l,e)}n.memoizedState=e;var u={value:e,getSnapshot:l};return n.queue=u,f0(Ko.bind(null,a,u,t),[t]),a.flags|=2048,Ma(9,{destroy:void 0},Vo.bind(null,a,u,e,l),null),e},useId:function(){var t=tl(),l=mt.identifierPrefix;if(I){var e=Bl,a=Ql;e=(a&~(1<<32-rl(a)-1)).toString(32)+e,l="_"+l+"R_"+e,e=Ru++,0<e&&(l+="H"+e.toString(32)),l+="_"}else e=hh++,l="_"+l+"r_"+e.toString(32)+"_";return t.memoizedState=l},useHostTransitionStatus:Vc,useFormState:a0,useActionState:a0,useOptimistic:function(t){var l=tl();l.memoizedState=l.baseState=t;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=e,l=Kc.bind(null,G,!0,e),e.dispatch=l,[t,l]},useMemoCache:Hc,useCacheRefresh:function(){return tl().memoizedState=ph.bind(null,G)},useEffectEvent:function(t){var l=tl(),e={impl:t};return l.memoizedState=e,function(){if((nt&2)!==0)throw Error(r(440));return e.impl.apply(void 0,arguments)}}},Jc={readContext:Ft,use:wu,useCallback:y0,useContext:Ft,useEffect:Yc,useImperativeHandle:h0,useInsertionEffect:o0,useLayoutEffect:r0,useMemo:m0,useReducer:Hu,useRef:c0,useState:function(){return Hu($l)},useDebugValue:Fc,useDeferredValue:function(t,l){var e=Dt();return g0(e,dt.memoizedState,t,l)},useTransition:function(){var t=Hu($l)[0],l=Dt().memoizedState;return[typeof t=="boolean"?t:xn(t),l]},useSyncExternalStore:Go,useId:S0,useHostTransitionStatus:Vc,useFormState:n0,useActionState:n0,useOptimistic:function(t,l){var e=Dt();return $o(e,dt,t,l)},useMemoCache:Hc,useCacheRefresh:b0};Jc.useEffectEvent=s0;var z0={readContext:Ft,use:wu,useCallback:y0,useContext:Ft,useEffect:Yc,useImperativeHandle:h0,useInsertionEffect:o0,useLayoutEffect:r0,useMemo:m0,useReducer:Bc,useRef:c0,useState:function(){return Bc($l)},useDebugValue:Fc,useDeferredValue:function(t,l){var e=Dt();return dt===null?Gc(e,t,l):g0(e,dt.memoizedState,t,l)},useTransition:function(){var t=Bc($l)[0],l=Dt().memoizedState;return[typeof t=="boolean"?t:xn(t),l]},useSyncExternalStore:Go,useId:S0,useHostTransitionStatus:Vc,useFormState:i0,useActionState:i0,useOptimistic:function(t,l){var e=Dt();return dt!==null?$o(e,dt,t,l):(e.baseState=t,[t,e.queue.dispatch])},useMemoCache:Hc,useCacheRefresh:b0};z0.useEffectEvent=s0;function Wc(t,l,e,a){l=t.memoizedState,e=e(a,l),e=e==null?l:Z({},l,e),t.memoizedState=e,t.lanes===0&&(t.updateQueue.baseState=e)}var $c={enqueueSetState:function(t,l,e){t=t._reactInternals;var a=xl(),n=ge(a);n.payload=l,e!=null&&(n.callback=e),l=ve(t,n,a),l!==null&&(cl(l,t,a),yn(l,t,a))},enqueueReplaceState:function(t,l,e){t=t._reactInternals;var a=xl(),n=ge(a);n.tag=1,n.payload=l,e!=null&&(n.callback=e),l=ve(t,n,a),l!==null&&(cl(l,t,a),yn(l,t,a))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var e=xl(),a=ge(e);a.tag=2,l!=null&&(a.callback=l),l=ve(t,a,e),l!==null&&(cl(l,t,e),yn(l,t,e))}};function T0(t,l,e,a,n,u,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,i):l.prototype&&l.prototype.isPureReactComponent?!un(e,a)||!un(n,u):!0}function L0(t,l,e,a){t=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(e,a),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(e,a),l.state!==t&&$c.enqueueReplaceState(l,l.state,null)}function Je(t,l){var e=l;if("ref"in l){e={};for(var a in l)a!=="ref"&&(e[a]=l[a])}if(t=t.defaultProps){e===l&&(e=Z({},e));for(var n in t)e[n]===void 0&&(e[n]=t[n])}return e}function _0(t){pu(t)}function D0(t){console.error(t)}function O0(t){pu(t)}function ku(t,l){try{var e=t.onUncaughtError;e(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function N0(t,l,e){try{var a=t.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Ic(t,l,e){return e=ge(e),e.tag=3,e.payload={element:null},e.callback=function(){ku(t,l)},e}function U0(t){return t=ge(t),t.tag=3,t}function C0(t,l,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){N0(l,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){N0(l,e,a),typeof n!="function"&&(Me===null?Me=new Set([this]):Me.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function bh(t,l,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=e.alternate,l!==null&&ma(l,e,n,!0),e=yl.current,e!==null){switch(e.tag){case 31:case 13:return Dl===null?ti():e.alternate===null&&zt===0&&(zt=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===_u?e.flags|=16384:(l=e.updateQueue,l===null?e.updateQueue=new Set([a]):l.add(a),Ef(t,a,n)),!1;case 22:return e.flags|=65536,a===_u?e.flags|=16384:(l=e.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=l):(e=l.retryQueue,e===null?l.retryQueue=new Set([a]):e.add(a)),Ef(t,a,n)),!1}throw Error(r(435,e.tag))}return Ef(t,a,n),ti(),!1}if(I)return l=yl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=n,a!==vc&&(t=Error(r(422),{cause:a}),sn(zl(t,e)))):(a!==vc&&(l=Error(r(423),{cause:a}),sn(zl(l,e))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=zl(a,e),n=Ic(t.stateNode,a,n),Lc(t,n),zt!==4&&(zt=2)),!1;var u=Error(r(520),{cause:a});if(u=zl(u,e),Ln===null?Ln=[u]:Ln.push(u),zt!==4&&(zt=2),l===null)return!0;a=zl(a,e),e=l;do{switch(e.tag){case 3:return e.flags|=65536,t=n&-n,e.lanes|=t,t=Ic(e.stateNode,a,t),Lc(e,t),!1;case 1:if(l=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Me===null||!Me.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=U0(n),C0(n,t,e,a),Lc(e,n),!1}e=e.return}while(e!==null);return!1}var Pc=Error(r(461)),Rt=!1;function Gt(t,l,e,a){l.child=t===null?Ho(l,null,e,a):Ve(l,t.child,e,a)}function R0(t,l,e,a,n){e=e.render;var u=l.ref;if("ref"in a){var i={};for(var s in a)s!=="ref"&&(i[s]=a[s])}else i=a;return Ye(l),a=Cc(t,l,e,i,u,n),s=Rc(),t!==null&&!Rt?(Zc(t,l,n),Il(t,l,n)):(I&&s&&mc(l),l.flags|=1,Gt(t,l,a,n),l.child)}function Z0(t,l,e,a,n){if(t===null){var u=e.type;return typeof u=="function"&&!dc(u)&&u.defaultProps===void 0&&e.compare===null?(l.tag=15,l.type=u,w0(t,l,u,a,n)):(t=Mu(e.type,null,a,l,l.mode,n),t.ref=l.ref,t.return=l,l.child=t)}if(u=t.child,!ff(t,n)){var i=u.memoizedProps;if(e=e.compare,e=e!==null?e:un,e(i,a)&&t.ref===l.ref)return Il(t,l,n)}return l.flags|=1,t=Xl(u,a),t.ref=l.ref,t.return=l,l.child=t}function w0(t,l,e,a,n){if(t!==null){var u=t.memoizedProps;if(un(u,a)&&t.ref===l.ref)if(Rt=!1,l.pendingProps=a=u,ff(t,n))(t.flags&131072)!==0&&(Rt=!0);else return l.lanes=t.lanes,Il(t,l,n)}return tf(t,l,e,a,n)}function H0(t,l,e,a){var n=a.children,u=t!==null?t.memoizedState:null;if(t===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((l.flags&128)!==0){if(u=u!==null?u.baseLanes|e:e,t!==null){for(a=l.child=t.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,l.child=null;return Q0(t,l,u,e,a)}if((e&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&Tu(l,u!==null?u.cachePool:null),u!==null?qo(l,u):Dc(),ko(l);else return a=l.lanes=536870912,Q0(t,l,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(Tu(l,u.cachePool),qo(l,u),pe(),l.memoizedState=null):(t!==null&&Tu(l,null),Dc(),pe());return Gt(t,l,n,e),l.child}function bn(t,l){return t!==null&&t.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Q0(t,l,e,a,n){var u=Ec();return u=u===null?null:{parent:Ut._currentValue,pool:u},l.memoizedState={baseLanes:e,cachePool:u},t!==null&&Tu(l,null),Dc(),ko(l),t!==null&&ma(t,l,a,!0),l.childLanes=n,null}function Yu(t,l){return l=Gu({mode:l.mode,children:l.children},t.mode),l.ref=t.ref,t.child=l,l.return=t,l}function B0(t,l,e){return Ve(l,t.child,null,e),t=Yu(l,l.pendingProps),t.flags|=2,ml(l),l.memoizedState=null,t}function jh(t,l,e){var a=l.pendingProps,n=(l.flags&128)!==0;if(l.flags&=-129,t===null){if(I){if(a.mode==="hidden")return t=Yu(l,a),l.lanes=536870912,bn(null,t);if(Nc(l),(t=vt)?(t=Ir(t,_l),t=t!==null&&t.data==="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:re!==null?{id:Ql,overflow:Bl}:null,retryLane:536870912,hydrationErrors:null},e=Mo(t),e.return=l,l.child=e,Yt=l,vt=null)):t=null,t===null)throw he(l);return l.lanes=536870912,null}return Yu(l,a)}var u=t.memoizedState;if(u!==null){var i=u.dehydrated;if(Nc(l),n)if(l.flags&256)l.flags&=-257,l=B0(t,l,e);else if(l.memoizedState!==null)l.child=t.child,l.flags|=128,l=null;else throw Error(r(558));else if(Rt||ma(t,l,e,!1),n=(e&t.childLanes)!==0,Rt||n){if(a=mt,a!==null&&(i=_s(a,e),i!==0&&i!==u.retryLane))throw u.retryLane=i,Qe(t,i),cl(a,t,i),Pc;ti(),l=B0(t,l,e)}else t=u.treeContext,vt=Ol(i.nextSibling),Yt=l,I=!0,de=null,_l=!1,t!==null&&zo(l,t),l=Yu(l,a),l.flags|=4096;return l}return t=Xl(t.child,{mode:a.mode,children:a.children}),t.ref=l.ref,l.child=t,t.return=l,t}function Fu(t,l){var e=l.ref;if(e===null)t!==null&&t.ref!==null&&(l.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(r(284));(t===null||t.ref!==e)&&(l.flags|=4194816)}}function tf(t,l,e,a,n){return Ye(l),e=Cc(t,l,e,a,void 0,n),a=Rc(),t!==null&&!Rt?(Zc(t,l,n),Il(t,l,n)):(I&&a&&mc(l),l.flags|=1,Gt(t,l,e,n),l.child)}function q0(t,l,e,a,n,u){return Ye(l),l.updateQueue=null,e=Fo(l,a,e,n),Yo(t),a=Rc(),t!==null&&!Rt?(Zc(t,l,u),Il(t,l,u)):(I&&a&&mc(l),l.flags|=1,Gt(t,l,e,u),l.child)}function k0(t,l,e,a,n){if(Ye(l),l.stateNode===null){var u=ra,i=e.contextType;typeof i=="object"&&i!==null&&(u=Ft(i)),u=new e(a,u),l.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=$c,l.stateNode=u,u._reactInternals=l,u=l.stateNode,u.props=a,u.state=l.memoizedState,u.refs={},zc(l),i=e.contextType,u.context=typeof i=="object"&&i!==null?Ft(i):ra,u.state=l.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(Wc(l,e,i,a),u.state=l.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(i=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),i!==u.state&&$c.enqueueReplaceState(u,u.state,null),gn(l,a,u,n),mn(),u.state=l.memoizedState),typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(t===null){u=l.stateNode;var s=l.memoizedProps,d=Je(e,s);u.props=d;var p=u.context,E=e.contextType;i=ra,typeof E=="object"&&E!==null&&(i=Ft(E));var L=e.getDerivedStateFromProps;E=typeof L=="function"||typeof u.getSnapshotBeforeUpdate=="function",s=l.pendingProps!==s,E||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s||p!==i)&&L0(l,u,a,i),me=!1;var b=l.memoizedState;u.state=b,gn(l,a,u,n),mn(),p=l.memoizedState,s||b!==p||me?(typeof L=="function"&&(Wc(l,e,L,a),p=l.memoizedState),(d=me||T0(l,e,d,a,b,p,i))?(E||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"&&(l.flags|=4194308)):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=p),u.props=a,u.state=p,u.context=i,a=d):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{u=l.stateNode,Tc(t,l),i=l.memoizedProps,E=Je(e,i),u.props=E,L=l.pendingProps,b=u.context,p=e.contextType,d=ra,typeof p=="object"&&p!==null&&(d=Ft(p)),s=e.getDerivedStateFromProps,(p=typeof s=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==L||b!==d)&&L0(l,u,a,d),me=!1,b=l.memoizedState,u.state=b,gn(l,a,u,n),mn();var j=l.memoizedState;i!==L||b!==j||me||t!==null&&t.dependencies!==null&&Au(t.dependencies)?(typeof s=="function"&&(Wc(l,e,s,a),j=l.memoizedState),(E=me||T0(l,e,E,a,b,j,d)||t!==null&&t.dependencies!==null&&Au(t.dependencies))?(p||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,j,d),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,j,d)),typeof u.componentDidUpdate=="function"&&(l.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===t.memoizedProps&&b===t.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&b===t.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=j),u.props=a,u.state=j,u.context=d,a=E):(typeof u.componentDidUpdate!="function"||i===t.memoizedProps&&b===t.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&b===t.memoizedState||(l.flags|=1024),a=!1)}return u=a,Fu(t,l),a=(l.flags&128)!==0,u||a?(u=l.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),l.flags|=1,t!==null&&a?(l.child=Ve(l,t.child,null,n),l.child=Ve(l,null,e,n)):Gt(t,l,e,n),l.memoizedState=u.state,t=l.child):t=Il(t,l,n),t}function Y0(t,l,e,a){return qe(),l.flags|=256,Gt(t,l,e,a),l.child}var lf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ef(t){return{baseLanes:t,cachePool:No()}}function af(t,l,e){return t=t!==null?t.childLanes&~e:0,l&&(t|=vl),t}function F0(t,l,e){var a=l.pendingProps,n=!1,u=(l.flags&128)!==0,i;if((i=u)||(i=t!==null&&t.memoizedState===null?!1:(_t.current&2)!==0),i&&(n=!0,l.flags&=-129),i=(l.flags&32)!==0,l.flags&=-33,t===null){if(I){if(n?xe(l):pe(),(t=vt)?(t=Ir(t,_l),t=t!==null&&t.data!=="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:re!==null?{id:Ql,overflow:Bl}:null,retryLane:536870912,hydrationErrors:null},e=Mo(t),e.return=l,l.child=e,Yt=l,vt=null)):t=null,t===null)throw he(l);return Bf(t)?l.lanes=32:l.lanes=536870912,null}var s=a.children;return a=a.fallback,n?(pe(),n=l.mode,s=Gu({mode:"hidden",children:s},n),a=Be(a,n,e,null),s.return=l,a.return=l,s.sibling=a,l.child=s,a=l.child,a.memoizedState=ef(e),a.childLanes=af(t,i,e),l.memoizedState=lf,bn(null,a)):(xe(l),nf(l,s))}var d=t.memoizedState;if(d!==null&&(s=d.dehydrated,s!==null)){if(u)l.flags&256?(xe(l),l.flags&=-257,l=uf(t,l,e)):l.memoizedState!==null?(pe(),l.child=t.child,l.flags|=128,l=null):(pe(),s=a.fallback,n=l.mode,a=Gu({mode:"visible",children:a.children},n),s=Be(s,n,e,null),s.flags|=2,a.return=l,s.return=l,a.sibling=s,l.child=a,Ve(l,t.child,null,e),a=l.child,a.memoizedState=ef(e),a.childLanes=af(t,i,e),l.memoizedState=lf,l=bn(null,a));else if(xe(l),Bf(s)){if(i=s.nextSibling&&s.nextSibling.dataset,i)var p=i.dgst;i=p,a=Error(r(419)),a.stack="",a.digest=i,sn({value:a,source:null,stack:null}),l=uf(t,l,e)}else if(Rt||ma(t,l,e,!1),i=(e&t.childLanes)!==0,Rt||i){if(i=mt,i!==null&&(a=_s(i,e),a!==0&&a!==d.retryLane))throw d.retryLane=a,Qe(t,a),cl(i,t,a),Pc;Qf(s)||ti(),l=uf(t,l,e)}else Qf(s)?(l.flags|=192,l.child=t.child,l=null):(t=d.treeContext,vt=Ol(s.nextSibling),Yt=l,I=!0,de=null,_l=!1,t!==null&&zo(l,t),l=nf(l,a.children),l.flags|=4096);return l}return n?(pe(),s=a.fallback,n=l.mode,d=t.child,p=d.sibling,a=Xl(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&65011712,p!==null?s=Xl(p,s):(s=Be(s,n,e,null),s.flags|=2),s.return=l,a.return=l,a.sibling=s,l.child=a,bn(null,a),a=l.child,s=t.child.memoizedState,s===null?s=ef(e):(n=s.cachePool,n!==null?(d=Ut._currentValue,n=n.parent!==d?{parent:d,pool:d}:n):n=No(),s={baseLanes:s.baseLanes|e,cachePool:n}),a.memoizedState=s,a.childLanes=af(t,i,e),l.memoizedState=lf,bn(t.child,a)):(xe(l),e=t.child,t=e.sibling,e=Xl(e,{mode:"visible",children:a.children}),e.return=l,e.sibling=null,t!==null&&(i=l.deletions,i===null?(l.deletions=[t],l.flags|=16):i.push(t)),l.child=e,l.memoizedState=null,e)}function nf(t,l){return l=Gu({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function Gu(t,l){return t=hl(22,t,null,l),t.lanes=0,t}function uf(t,l,e){return Ve(l,t.child,null,e),t=nf(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function G0(t,l,e){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l),Sc(t.return,l,e)}function cf(t,l,e,a,n,u){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n,treeForkCount:u}:(i.isBackwards=l,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=n,i.treeForkCount=u)}function X0(t,l,e){var a=l.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var i=_t.current,s=(i&2)!==0;if(s?(i=i&1|2,l.flags|=128):i&=1,N(_t,i),Gt(t,l,a,e),a=I?fn:0,!s&&t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&G0(t,e,l);else if(t.tag===19)G0(t,e,l);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break t;for(;t.sibling===null;){if(t.return===null||t.return===l)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(n){case"forwards":for(e=l.child,n=null;e!==null;)t=e.alternate,t!==null&&Uu(t)===null&&(n=e),e=e.sibling;e=n,e===null?(n=l.child,l.child=null):(n=e.sibling,e.sibling=null),cf(l,!1,n,e,u,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,n=l.child,l.child=null;n!==null;){if(t=n.alternate,t!==null&&Uu(t)===null){l.child=n;break}t=n.sibling,n.sibling=e,e=n,n=t}cf(l,!0,e,null,u,a);break;case"together":cf(l,!1,null,null,void 0,a);break;default:l.memoizedState=null}return l.child}function Il(t,l,e){if(t!==null&&(l.dependencies=t.dependencies),je|=l.lanes,(e&l.childLanes)===0)if(t!==null){if(ma(t,l,e,!1),(e&l.childLanes)===0)return null}else return null;if(t!==null&&l.child!==t.child)throw Error(r(153));if(l.child!==null){for(t=l.child,e=Xl(t,t.pendingProps),l.child=e,e.return=l;t.sibling!==null;)t=t.sibling,e=e.sibling=Xl(t,t.pendingProps),e.return=l;e.sibling=null}return l.child}function ff(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&Au(t)))}function Mh(t,l,e){switch(l.tag){case 3:Pt(l,l.stateNode.containerInfo),ye(l,Ut,t.memoizedState.cache),qe();break;case 27:case 5:Xa(l);break;case 4:Pt(l,l.stateNode.containerInfo);break;case 10:ye(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Nc(l),null;break;case 13:var a=l.memoizedState;if(a!==null)return a.dehydrated!==null?(xe(l),l.flags|=128,null):(e&l.child.childLanes)!==0?F0(t,l,e):(xe(l),t=Il(t,l,e),t!==null?t.sibling:null);xe(l);break;case 19:var n=(t.flags&128)!==0;if(a=(e&l.childLanes)!==0,a||(ma(t,l,e,!1),a=(e&l.childLanes)!==0),n){if(a)return X0(t,l,e);l.flags|=128}if(n=l.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),N(_t,_t.current),a)break;return null;case 22:return l.lanes=0,H0(t,l,e,l.pendingProps);case 24:ye(l,Ut,t.memoizedState.cache)}return Il(t,l,e)}function V0(t,l,e){if(t!==null)if(t.memoizedProps!==l.pendingProps)Rt=!0;else{if(!ff(t,e)&&(l.flags&128)===0)return Rt=!1,Mh(t,l,e);Rt=(t.flags&131072)!==0}else Rt=!1,I&&(l.flags&1048576)!==0&&Ao(l,fn,l.index);switch(l.lanes=0,l.tag){case 16:t:{var a=l.pendingProps;if(t=Ge(l.elementType),l.type=t,typeof t=="function")dc(t)?(a=Je(t,a),l.tag=1,l=k0(null,l,t,a,e)):(l.tag=0,l=tf(null,l,t,a,e));else{if(t!=null){var n=t.$$typeof;if(n===Qt){l.tag=11,l=R0(null,l,t,a,e);break t}else if(n===k){l.tag=14,l=Z0(null,l,t,a,e);break t}}throw l=jt(t)||t,Error(r(306,l,""))}}return l;case 0:return tf(t,l,l.type,l.pendingProps,e);case 1:return a=l.type,n=Je(a,l.pendingProps),k0(t,l,a,n,e);case 3:t:{if(Pt(l,l.stateNode.containerInfo),t===null)throw Error(r(387));a=l.pendingProps;var u=l.memoizedState;n=u.element,Tc(t,l),gn(l,a,null,e);var i=l.memoizedState;if(a=i.cache,ye(l,Ut,a),a!==u.cache&&bc(l,[Ut],e,!0),mn(),a=i.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:i.cache},l.updateQueue.baseState=u,l.memoizedState=u,l.flags&256){l=Y0(t,l,a,e);break t}else if(a!==n){n=zl(Error(r(424)),l),sn(n),l=Y0(t,l,a,e);break t}else{switch(t=l.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(vt=Ol(t.firstChild),Yt=l,I=!0,de=null,_l=!0,e=Ho(l,null,a,e),l.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(qe(),a===n){l=Il(t,l,e);break t}Gt(t,l,a,e)}l=l.child}return l;case 26:return Fu(t,l),t===null?(e=n1(l.type,null,l.pendingProps,null))?l.memoizedState=e:I||(e=l.type,t=l.pendingProps,a=ci(V.current).createElement(e),a[kt]=l,a[ll]=t,Xt(a,e,t),Bt(a),l.stateNode=a):l.memoizedState=n1(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return Xa(l),t===null&&I&&(a=l.stateNode=l1(l.type,l.pendingProps,V.current),Yt=l,_l=!0,n=vt,Te(l.type)?(qf=n,vt=Ol(a.firstChild)):vt=n),Gt(t,l,l.pendingProps.children,e),Fu(t,l),t===null&&(l.flags|=4194304),l.child;case 5:return t===null&&I&&((n=a=vt)&&(a=Ph(a,l.type,l.pendingProps,_l),a!==null?(l.stateNode=a,Yt=l,vt=Ol(a.firstChild),_l=!1,n=!0):n=!1),n||he(l)),Xa(l),n=l.type,u=l.pendingProps,i=t!==null?t.memoizedProps:null,a=u.children,Zf(n,u)?a=null:i!==null&&Zf(n,i)&&(l.flags|=32),l.memoizedState!==null&&(n=Cc(t,l,yh,null,null,e),Zn._currentValue=n),Fu(t,l),Gt(t,l,a,e),l.child;case 6:return t===null&&I&&((t=e=vt)&&(e=t2(e,l.pendingProps,_l),e!==null?(l.stateNode=e,Yt=l,vt=null,t=!0):t=!1),t||he(l)),null;case 13:return F0(t,l,e);case 4:return Pt(l,l.stateNode.containerInfo),a=l.pendingProps,t===null?l.child=Ve(l,null,a,e):Gt(t,l,a,e),l.child;case 11:return R0(t,l,l.type,l.pendingProps,e);case 7:return Gt(t,l,l.pendingProps,e),l.child;case 8:return Gt(t,l,l.pendingProps.children,e),l.child;case 12:return Gt(t,l,l.pendingProps.children,e),l.child;case 10:return a=l.pendingProps,ye(l,l.type,a.value),Gt(t,l,a.children,e),l.child;case 9:return n=l.type._context,a=l.pendingProps.children,Ye(l),n=Ft(n),a=a(n),l.flags|=1,Gt(t,l,a,e),l.child;case 14:return Z0(t,l,l.type,l.pendingProps,e);case 15:return w0(t,l,l.type,l.pendingProps,e);case 19:return X0(t,l,e);case 31:return jh(t,l,e);case 22:return H0(t,l,e,l.pendingProps);case 24:return Ye(l),a=Ft(Ut),t===null?(n=Ec(),n===null&&(n=mt,u=jc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),l.memoizedState={parent:a,cache:n},zc(l),ye(l,Ut,n)):((t.lanes&e)!==0&&(Tc(t,l),gn(l,null,null,e),mn()),n=t.memoizedState,u=l.memoizedState,n.parent!==a?(n={parent:a,cache:a},l.memoizedState=n,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=n),ye(l,Ut,a)):(a=u.cache,ye(l,Ut,a),a!==n.cache&&bc(l,[Ut],e,!0))),Gt(t,l,l.pendingProps.children,e),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function Pl(t){t.flags|=4}function sf(t,l,e,a,n){if((l=(t.mode&32)!==0)&&(l=!1),l){if(t.flags|=16777216,(n&335544128)===n)if(t.stateNode.complete)t.flags|=8192;else if(Sr())t.flags|=8192;else throw Xe=_u,Ac}else t.flags&=-16777217}function K0(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!s1(l))if(Sr())t.flags|=8192;else throw Xe=_u,Ac}function Xu(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?zs():536870912,t.lanes|=l,Ta|=l)}function jn(t,l){if(!I)switch(t.tailMode){case"hidden":l=t.tail;for(var e=null;l!==null;)l.alternate!==null&&(e=l),l=l.sibling;e===null?t.tail=null:e.sibling=null;break;case"collapsed":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?l||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function xt(t){var l=t.alternate!==null&&t.alternate.child===t.child,e=0,a=0;if(l)for(var n=t.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=e,l}function Eh(t,l,e){var a=l.pendingProps;switch(gc(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xt(l),null;case 1:return xt(l),null;case 3:return e=l.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),Jl(Ut),Lt(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(ya(l)?Pl(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,xc())),xt(l),null;case 26:var n=l.type,u=l.memoizedState;return t===null?(Pl(l),u!==null?(xt(l),K0(l,u)):(xt(l),sf(l,n,null,a,e))):u?u!==t.memoizedState?(Pl(l),xt(l),K0(l,u)):(xt(l),l.flags&=-16777217):(t=t.memoizedProps,t!==a&&Pl(l),xt(l),sf(l,n,t,a,e)),null;case 27:if(au(l),e=V.current,n=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&Pl(l);else{if(!a){if(l.stateNode===null)throw Error(r(166));return xt(l),null}t=C.current,ya(l)?To(l):(t=l1(n,a,e),l.stateNode=t,Pl(l))}return xt(l),null;case 5:if(au(l),n=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&Pl(l);else{if(!a){if(l.stateNode===null)throw Error(r(166));return xt(l),null}if(u=C.current,ya(l))To(l);else{var i=ci(V.current);switch(u){case 1:u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=i.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}u[kt]=l,u[ll]=a;t:for(i=l.child;i!==null;){if(i.tag===5||i.tag===6)u.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break t;for(;i.sibling===null;){if(i.return===null||i.return===l)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}l.stateNode=u;t:switch(Xt(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&Pl(l)}}return xt(l),sf(l,l.type,t===null?null:t.memoizedProps,l.pendingProps,e),null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&Pl(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(r(166));if(t=V.current,ya(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,n=Yt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[kt]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Fr(t.nodeValue,e)),t||he(l,!0)}else t=ci(t).createTextNode(a),t[kt]=l,l.stateNode=t}return xt(l),null;case 31:if(e=l.memoizedState,t===null||t.memoizedState!==null){if(a=ya(l),e!==null){if(t===null){if(!a)throw Error(r(318));if(t=l.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[kt]=l}else qe(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;xt(l),t=!1}else e=xc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=e),t=!0;if(!t)return l.flags&256?(ml(l),l):(ml(l),null);if((l.flags&128)!==0)throw Error(r(558))}return xt(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=ya(l),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(r(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));n[kt]=l}else qe(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;xt(l),n=!1}else n=xc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return l.flags&256?(ml(l),l):(ml(l),null)}return ml(l),(l.flags&128)!==0?(l.lanes=e,l):(e=a!==null,t=t!==null&&t.memoizedState!==null,e&&(a=l.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!==t&&e&&(l.child.flags|=8192),Xu(l,l.updateQueue),xt(l),null);case 4:return Lt(),t===null&&Of(l.stateNode.containerInfo),xt(l),null;case 10:return Jl(l.type),xt(l),null;case 19:if(z(_t),a=l.memoizedState,a===null)return xt(l),null;if(n=(l.flags&128)!==0,u=a.rendering,u===null)if(n)jn(a,!1);else{if(zt!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(u=Uu(t),u!==null){for(l.flags|=128,jn(a,!1),t=u.updateQueue,l.updateQueue=t,Xu(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)jo(e,t),e=e.sibling;return N(_t,_t.current&1|2),I&&Vl(l,a.treeForkCount),l.child}t=t.sibling}a.tail!==null&&sl()>$u&&(l.flags|=128,n=!0,jn(a,!1),l.lanes=4194304)}else{if(!n)if(t=Uu(u),t!==null){if(l.flags|=128,n=!0,t=t.updateQueue,l.updateQueue=t,Xu(l,t),jn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!I)return xt(l),null}else 2*sl()-a.renderingStartTime>$u&&e!==536870912&&(l.flags|=128,n=!0,jn(a,!1),l.lanes=4194304);a.isBackwards?(u.sibling=l.child,l.child=u):(t=a.last,t!==null?t.sibling=u:l.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=sl(),t.sibling=null,e=_t.current,N(_t,n?e&1|2:e&1),I&&Vl(l,a.treeForkCount),t):(xt(l),null);case 22:case 23:return ml(l),Oc(),a=l.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(e&536870912)!==0&&(l.flags&128)===0&&(xt(l),l.subtreeFlags&6&&(l.flags|=8192)):xt(l),e=l.updateQueue,e!==null&&Xu(l,e.retryQueue),e=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==e&&(l.flags|=2048),t!==null&&z(Fe),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),Jl(Ut),xt(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function Ah(t,l){switch(gc(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return Jl(Ut),Lt(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return au(l),null;case 31:if(l.memoizedState!==null){if(ml(l),l.alternate===null)throw Error(r(340));qe()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 13:if(ml(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(r(340));qe()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return z(_t),null;case 4:return Lt(),null;case 10:return Jl(l.type),null;case 22:case 23:return ml(l),Oc(),t!==null&&z(Fe),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return Jl(Ut),null;case 25:return null;default:return null}}function J0(t,l){switch(gc(l),l.tag){case 3:Jl(Ut),Lt();break;case 26:case 27:case 5:au(l);break;case 4:Lt();break;case 31:l.memoizedState!==null&&ml(l);break;case 13:ml(l);break;case 19:z(_t);break;case 10:Jl(l.type);break;case 22:case 23:ml(l),Oc(),t!==null&&z(Fe);break;case 24:Jl(Ut)}}function Mn(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&t)===t){a=void 0;var u=e.create,i=e.inst;a=u(),i.destroy=a}e=e.next}while(e!==n)}}catch(s){st(l,l.return,s)}}function Se(t,l,e){try{var a=l.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var i=a.inst,s=i.destroy;if(s!==void 0){i.destroy=void 0,n=l;var d=e,p=s;try{p()}catch(E){st(n,d,E)}}}a=a.next}while(a!==u)}}catch(E){st(l,l.return,E)}}function W0(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{Bo(l,e)}catch(a){st(t,t.return,a)}}}function $0(t,l,e){e.props=Je(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){st(t,l,a)}}function En(t,l){try{var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof e=="function"?t.refCleanup=e(a):e.current=a}}catch(n){st(t,l,n)}}function ql(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){st(t,l,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){st(t,l,n)}else e.current=null}function I0(t){var l=t.type,e=t.memoizedProps,a=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break t;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){st(t,t.return,n)}}function of(t,l,e){try{var a=t.stateNode;Vh(a,t.type,e,l),a[ll]=l}catch(n){st(t,t.return,n)}}function P0(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Te(t.type)||t.tag===4}function rf(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||P0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Te(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function df(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(t,l):(l=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.appendChild(t),e=e._reactRootContainer,e!=null||l.onclick!==null||(l.onclick=Fl));else if(a!==4&&(a===27&&Te(t.type)&&(e=t.stateNode,l=null),t=t.child,t!==null))for(df(t,l,e),t=t.sibling;t!==null;)df(t,l,e),t=t.sibling}function Vu(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?e.insertBefore(t,l):e.appendChild(t);else if(a!==4&&(a===27&&Te(t.type)&&(e=t.stateNode),t=t.child,t!==null))for(Vu(t,l,e),t=t.sibling;t!==null;)Vu(t,l,e),t=t.sibling}function tr(t){var l=t.stateNode,e=t.memoizedProps;try{for(var a=t.type,n=l.attributes;n.length;)l.removeAttributeNode(n[0]);Xt(l,a,e),l[kt]=t,l[ll]=e}catch(u){st(t,t.return,u)}}var te=!1,Zt=!1,hf=!1,lr=typeof WeakSet=="function"?WeakSet:Set,qt=null;function zh(t,l){if(t=t.containerInfo,Cf=yi,t=ho(t),uc(t)){if("selectionStart"in t)var e={start:t.selectionStart,end:t.selectionEnd};else t:{e=(e=t.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break t}var i=0,s=-1,d=-1,p=0,E=0,L=t,b=null;l:for(;;){for(var j;L!==e||n!==0&&L.nodeType!==3||(s=i+n),L!==u||a!==0&&L.nodeType!==3||(d=i+a),L.nodeType===3&&(i+=L.nodeValue.length),(j=L.firstChild)!==null;)b=L,L=j;for(;;){if(L===t)break l;if(b===e&&++p===n&&(s=i),b===u&&++E===a&&(d=i),(j=L.nextSibling)!==null)break;L=b,b=L.parentNode}L=j}e=s===-1||d===-1?null:{start:s,end:d}}else e=null}e=e||{start:0,end:0}}else e=null;for(Rf={focusedElem:t,selectionRange:e},yi=!1,qt=l;qt!==null;)if(l=qt,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,qt=t;else for(;qt!==null;){switch(l=qt,u=l.alternate,t=l.flags,l.tag){case 0:if((t&4)!==0&&(t=l.updateQueue,t=t!==null?t.events:null,t!==null))for(e=0;e<t.length;e++)n=t[e],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,e=l,n=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var w=Je(e.type,n);t=a.getSnapshotBeforeUpdate(w,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(q){st(e,e.return,q)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,e=t.nodeType,e===9)Hf(t);else if(e===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Hf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=l.sibling,t!==null){t.return=l.return,qt=t;break}qt=l.return}}function er(t,l,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:ee(t,e),a&4&&Mn(5,e);break;case 1:if(ee(t,e),a&4)if(t=e.stateNode,l===null)try{t.componentDidMount()}catch(i){st(e,e.return,i)}else{var n=Je(e.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(n,l,t.__reactInternalSnapshotBeforeUpdate)}catch(i){st(e,e.return,i)}}a&64&&W0(e),a&512&&En(e,e.return);break;case 3:if(ee(t,e),a&64&&(t=e.updateQueue,t!==null)){if(l=null,e.child!==null)switch(e.child.tag){case 27:case 5:l=e.child.stateNode;break;case 1:l=e.child.stateNode}try{Bo(t,l)}catch(i){st(e,e.return,i)}}break;case 27:l===null&&a&4&&tr(e);case 26:case 5:ee(t,e),l===null&&a&4&&I0(e),a&512&&En(e,e.return);break;case 12:ee(t,e);break;case 31:ee(t,e),a&4&&ur(t,e);break;case 13:ee(t,e),a&4&&ir(t,e),a&64&&(t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(e=Rh.bind(null,e),l2(t,e))));break;case 22:if(a=e.memoizedState!==null||te,!a){l=l!==null&&l.memoizedState!==null||Zt,n=te;var u=Zt;te=a,(Zt=l)&&!u?ae(t,e,(e.subtreeFlags&8772)!==0):ee(t,e),te=n,Zt=u}break;case 30:break;default:ee(t,e)}}function ar(t){var l=t.alternate;l!==null&&(t.alternate=null,ar(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&ki(l)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var St=null,al=!1;function le(t,l,e){for(e=e.child;e!==null;)nr(t,l,e),e=e.sibling}function nr(t,l,e){if(ol&&typeof ol.onCommitFiberUnmount=="function")try{ol.onCommitFiberUnmount(Va,e)}catch{}switch(e.tag){case 26:Zt||ql(e,l),le(t,l,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Zt||ql(e,l);var a=St,n=al;Te(e.type)&&(St=e.stateNode,al=!1),le(t,l,e),Un(e.stateNode),St=a,al=n;break;case 5:Zt||ql(e,l);case 6:if(a=St,n=al,St=null,le(t,l,e),St=a,al=n,St!==null)if(al)try{(St.nodeType===9?St.body:St.nodeName==="HTML"?St.ownerDocument.body:St).removeChild(e.stateNode)}catch(u){st(e,l,u)}else try{St.removeChild(e.stateNode)}catch(u){st(e,l,u)}break;case 18:St!==null&&(al?(t=St,Wr(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.stateNode),Ra(t)):Wr(St,e.stateNode));break;case 4:a=St,n=al,St=e.stateNode.containerInfo,al=!0,le(t,l,e),St=a,al=n;break;case 0:case 11:case 14:case 15:Se(2,e,l),Zt||Se(4,e,l),le(t,l,e);break;case 1:Zt||(ql(e,l),a=e.stateNode,typeof a.componentWillUnmount=="function"&&$0(e,l,a)),le(t,l,e);break;case 21:le(t,l,e);break;case 22:Zt=(a=Zt)||e.memoizedState!==null,le(t,l,e),Zt=a;break;default:le(t,l,e)}}function ur(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ra(t)}catch(e){st(l,l.return,e)}}}function ir(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ra(t)}catch(e){st(l,l.return,e)}}function Th(t){switch(t.tag){case 31:case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new lr),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new lr),l;default:throw Error(r(435,t.tag))}}function Ku(t,l){var e=Th(t);l.forEach(function(a){if(!e.has(a)){e.add(a);var n=Zh.bind(null,t,a);a.then(n,n)}})}function nl(t,l){var e=l.deletions;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a],u=t,i=l,s=i;t:for(;s!==null;){switch(s.tag){case 27:if(Te(s.type)){St=s.stateNode,al=!1;break t}break;case 5:St=s.stateNode,al=!1;break t;case 3:case 4:St=s.stateNode.containerInfo,al=!0;break t}s=s.return}if(St===null)throw Error(r(160));nr(u,i,n),St=null,al=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)cr(l,t),l=l.sibling}var Rl=null;function cr(t,l){var e=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:nl(l,t),ul(t),a&4&&(Se(3,t,t.return),Mn(3,t),Se(5,t,t.return));break;case 1:nl(l,t),ul(t),a&512&&(Zt||e===null||ql(e,e.return)),a&64&&te&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(e=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var n=Rl;if(nl(l,t),ul(t),a&512&&(Zt||e===null||ql(e,e.return)),a&4){var u=e!==null?e.memoizedState:null;if(a=t.memoizedState,e===null)if(a===null)if(t.stateNode===null){t:{a=t.type,e=t.memoizedProps,n=n.ownerDocument||n;l:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Wa]||u[kt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Xt(u,a,e),u[kt]=t,Bt(u),a=u;break t;case"link":var i=c1("link","href",n).get(a+(e.href||""));if(i){for(var s=0;s<i.length;s++)if(u=i[s],u.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){i.splice(s,1);break l}}u=n.createElement(a),Xt(u,a,e),n.head.appendChild(u);break;case"meta":if(i=c1("meta","content",n).get(a+(e.content||""))){for(s=0;s<i.length;s++)if(u=i[s],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){i.splice(s,1);break l}}u=n.createElement(a),Xt(u,a,e),n.head.appendChild(u);break;default:throw Error(r(468,a))}u[kt]=t,Bt(u),a=u}t.stateNode=a}else f1(n,t.type,t.stateNode);else t.stateNode=i1(n,a,t.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?f1(n,t.type,t.stateNode):i1(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&of(t,t.memoizedProps,e.memoizedProps)}break;case 27:nl(l,t),ul(t),a&512&&(Zt||e===null||ql(e,e.return)),e!==null&&a&4&&of(t,t.memoizedProps,e.memoizedProps);break;case 5:if(nl(l,t),ul(t),a&512&&(Zt||e===null||ql(e,e.return)),t.flags&32){n=t.stateNode;try{na(n,"")}catch(w){st(t,t.return,w)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,of(t,n,e!==null?e.memoizedProps:n)),a&1024&&(hf=!0);break;case 6:if(nl(l,t),ul(t),a&4){if(t.stateNode===null)throw Error(r(162));a=t.memoizedProps,e=t.stateNode;try{e.nodeValue=a}catch(w){st(t,t.return,w)}}break;case 3:if(oi=null,n=Rl,Rl=fi(l.containerInfo),nl(l,t),Rl=n,ul(t),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Ra(l.containerInfo)}catch(w){st(t,t.return,w)}hf&&(hf=!1,fr(t));break;case 4:a=Rl,Rl=fi(t.stateNode.containerInfo),nl(l,t),ul(t),Rl=a;break;case 12:nl(l,t),ul(t);break;case 31:nl(l,t),ul(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ku(t,a)));break;case 13:nl(l,t),ul(t),t.child.flags&8192&&t.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Wu=sl()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ku(t,a)));break;case 22:n=t.memoizedState!==null;var d=e!==null&&e.memoizedState!==null,p=te,E=Zt;if(te=p||n,Zt=E||d,nl(l,t),Zt=E,te=p,ul(t),a&8192)t:for(l=t.stateNode,l._visibility=n?l._visibility&-2:l._visibility|1,n&&(e===null||d||te||Zt||We(t)),e=null,l=t;;){if(l.tag===5||l.tag===26){if(e===null){d=e=l;try{if(u=d.stateNode,n)i=u.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{s=d.stateNode;var L=d.memoizedProps.style,b=L!=null&&L.hasOwnProperty("display")?L.display:null;s.style.display=b==null||typeof b=="boolean"?"":(""+b).trim()}}catch(w){st(d,d.return,w)}}}else if(l.tag===6){if(e===null){d=l;try{d.stateNode.nodeValue=n?"":d.memoizedProps}catch(w){st(d,d.return,w)}}}else if(l.tag===18){if(e===null){d=l;try{var j=d.stateNode;n?$r(j,!0):$r(d.stateNode,!1)}catch(w){st(d,d.return,w)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===t)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break t;for(;l.sibling===null;){if(l.return===null||l.return===t)break t;e===l&&(e=null),l=l.return}e===l&&(e=null),l.sibling.return=l.return,l=l.sibling}a&4&&(a=t.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,Ku(t,e))));break;case 19:nl(l,t),ul(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ku(t,a)));break;case 30:break;case 21:break;default:nl(l,t),ul(t)}}function ul(t){var l=t.flags;if(l&2){try{for(var e,a=t.return;a!==null;){if(P0(a)){e=a;break}a=a.return}if(e==null)throw Error(r(160));switch(e.tag){case 27:var n=e.stateNode,u=rf(t);Vu(t,u,n);break;case 5:var i=e.stateNode;e.flags&32&&(na(i,""),e.flags&=-33);var s=rf(t);Vu(t,s,i);break;case 3:case 4:var d=e.stateNode.containerInfo,p=rf(t);df(t,p,d);break;default:throw Error(r(161))}}catch(E){st(t,t.return,E)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function fr(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;fr(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function ee(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)er(t,l.alternate,l),l=l.sibling}function We(t){for(t=t.child;t!==null;){var l=t;switch(l.tag){case 0:case 11:case 14:case 15:Se(4,l,l.return),We(l);break;case 1:ql(l,l.return);var e=l.stateNode;typeof e.componentWillUnmount=="function"&&$0(l,l.return,e),We(l);break;case 27:Un(l.stateNode);case 26:case 5:ql(l,l.return),We(l);break;case 22:l.memoizedState===null&&We(l);break;case 30:We(l);break;default:We(l)}t=t.sibling}}function ae(t,l,e){for(e=e&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var a=l.alternate,n=t,u=l,i=u.flags;switch(u.tag){case 0:case 11:case 15:ae(n,u,e),Mn(4,u);break;case 1:if(ae(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(p){st(a,a.return,p)}if(a=u,n=a.updateQueue,n!==null){var s=a.stateNode;try{var d=n.shared.hiddenCallbacks;if(d!==null)for(n.shared.hiddenCallbacks=null,n=0;n<d.length;n++)Qo(d[n],s)}catch(p){st(a,a.return,p)}}e&&i&64&&W0(u),En(u,u.return);break;case 27:tr(u);case 26:case 5:ae(n,u,e),e&&a===null&&i&4&&I0(u),En(u,u.return);break;case 12:ae(n,u,e);break;case 31:ae(n,u,e),e&&i&4&&ur(n,u);break;case 13:ae(n,u,e),e&&i&4&&ir(n,u);break;case 22:u.memoizedState===null&&ae(n,u,e),En(u,u.return);break;case 30:break;default:ae(n,u,e)}l=l.sibling}}function yf(t,l){var e=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),t=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),t!==e&&(t!=null&&t.refCount++,e!=null&&on(e))}function mf(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&on(t))}function Zl(t,l,e,a){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)sr(t,l,e,a),l=l.sibling}function sr(t,l,e,a){var n=l.flags;switch(l.tag){case 0:case 11:case 15:Zl(t,l,e,a),n&2048&&Mn(9,l);break;case 1:Zl(t,l,e,a);break;case 3:Zl(t,l,e,a),n&2048&&(t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&on(t)));break;case 12:if(n&2048){Zl(t,l,e,a),t=l.stateNode;try{var u=l.memoizedProps,i=u.id,s=u.onPostCommit;typeof s=="function"&&s(i,l.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(d){st(l,l.return,d)}}else Zl(t,l,e,a);break;case 31:Zl(t,l,e,a);break;case 13:Zl(t,l,e,a);break;case 23:break;case 22:u=l.stateNode,i=l.alternate,l.memoizedState!==null?u._visibility&2?Zl(t,l,e,a):An(t,l):u._visibility&2?Zl(t,l,e,a):(u._visibility|=2,Ea(t,l,e,a,(l.subtreeFlags&10256)!==0||!1)),n&2048&&yf(i,l);break;case 24:Zl(t,l,e,a),n&2048&&mf(l.alternate,l);break;default:Zl(t,l,e,a)}}function Ea(t,l,e,a,n){for(n=n&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var u=t,i=l,s=e,d=a,p=i.flags;switch(i.tag){case 0:case 11:case 15:Ea(u,i,s,d,n),Mn(8,i);break;case 23:break;case 22:var E=i.stateNode;i.memoizedState!==null?E._visibility&2?Ea(u,i,s,d,n):An(u,i):(E._visibility|=2,Ea(u,i,s,d,n)),n&&p&2048&&yf(i.alternate,i);break;case 24:Ea(u,i,s,d,n),n&&p&2048&&mf(i.alternate,i);break;default:Ea(u,i,s,d,n)}l=l.sibling}}function An(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var e=t,a=l,n=a.flags;switch(a.tag){case 22:An(e,a),n&2048&&yf(a.alternate,a);break;case 24:An(e,a),n&2048&&mf(a.alternate,a);break;default:An(e,a)}l=l.sibling}}var zn=8192;function Aa(t,l,e){if(t.subtreeFlags&zn)for(t=t.child;t!==null;)or(t,l,e),t=t.sibling}function or(t,l,e){switch(t.tag){case 26:Aa(t,l,e),t.flags&zn&&t.memoizedState!==null&&h2(e,Rl,t.memoizedState,t.memoizedProps);break;case 5:Aa(t,l,e);break;case 3:case 4:var a=Rl;Rl=fi(t.stateNode.containerInfo),Aa(t,l,e),Rl=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=zn,zn=16777216,Aa(t,l,e),zn=a):Aa(t,l,e));break;default:Aa(t,l,e)}}function rr(t){var l=t.alternate;if(l!==null&&(t=l.child,t!==null)){l.child=null;do l=t.sibling,t.sibling=null,t=l;while(t!==null)}}function Tn(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];qt=a,hr(a,t)}rr(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)dr(t),t=t.sibling}function dr(t){switch(t.tag){case 0:case 11:case 15:Tn(t),t.flags&2048&&Se(9,t,t.return);break;case 3:Tn(t);break;case 12:Tn(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&2&&(t.return===null||t.return.tag!==13)?(l._visibility&=-3,Ju(t)):Tn(t);break;default:Tn(t)}}function Ju(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];qt=a,hr(a,t)}rr(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:Se(8,l,l.return),Ju(l);break;case 22:e=l.stateNode,e._visibility&2&&(e._visibility&=-3,Ju(l));break;default:Ju(l)}t=t.sibling}}function hr(t,l){for(;qt!==null;){var e=qt;switch(e.tag){case 0:case 11:case 15:Se(8,e,l);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:on(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,qt=a;else t:for(e=t;qt!==null;){a=qt;var n=a.sibling,u=a.return;if(ar(a),a===e){qt=null;break t}if(n!==null){n.return=u,qt=n;break t}qt=u}}}var Lh={getCacheForType:function(t){var l=Ft(Ut),e=l.data.get(t);return e===void 0&&(e=t(),l.data.set(t,e)),e},cacheSignal:function(){return Ft(Ut).controller.signal}},_h=typeof WeakMap=="function"?WeakMap:Map,nt=0,mt=null,K=null,W=0,ft=0,gl=null,be=!1,za=!1,gf=!1,ne=0,zt=0,je=0,$e=0,vf=0,vl=0,Ta=0,Ln=null,il=null,xf=!1,Wu=0,yr=0,$u=1/0,Iu=null,Me=null,wt=0,Ee=null,La=null,ue=0,pf=0,Sf=null,mr=null,_n=0,bf=null;function xl(){return(nt&2)!==0&&W!==0?W&-W:A.T!==null?Tf():Ds()}function gr(){if(vl===0)if((W&536870912)===0||I){var t=iu;iu<<=1,(iu&3932160)===0&&(iu=262144),vl=t}else vl=536870912;return t=yl.current,t!==null&&(t.flags|=32),vl}function cl(t,l,e){(t===mt&&(ft===2||ft===9)||t.cancelPendingCommit!==null)&&(_a(t,0),Ae(t,W,vl,!1)),Ja(t,e),((nt&2)===0||t!==mt)&&(t===mt&&((nt&2)===0&&($e|=e),zt===4&&Ae(t,W,vl,!1)),kl(t))}function vr(t,l,e){if((nt&6)!==0)throw Error(r(327));var a=!e&&(l&127)===0&&(l&t.expiredLanes)===0||Ka(t,l),n=a?Nh(t,l):Mf(t,l,!0),u=a;do{if(n===0){za&&!a&&Ae(t,l,0,!1);break}else{if(e=t.current.alternate,u&&!Dh(e)){n=Mf(t,l,!1),u=!1;continue}if(n===2){if(u=l,t.errorRecoveryDisabledLanes&u)var i=0;else i=t.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){l=i;t:{var s=t;n=Ln;var d=s.current.memoizedState.isDehydrated;if(d&&(_a(s,i).flags|=256),i=Mf(s,i,!1),i!==2){if(gf&&!d){s.errorRecoveryDisabledLanes|=u,$e|=u,n=4;break t}u=il,il=n,u!==null&&(il===null?il=u:il.push.apply(il,u))}n=i}if(u=!1,n!==2)continue}}if(n===1){_a(t,0),Ae(t,l,0,!0);break}t:{switch(a=t,u=n,u){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:Ae(a,l,vl,!be);break t;case 2:il=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(n=Wu+300-sl(),10<n)){if(Ae(a,l,vl,!be),fu(a,0,!0)!==0)break t;ue=l,a.timeoutHandle=Kr(xr.bind(null,a,e,il,Iu,xf,l,vl,$e,Ta,be,u,"Throttled",-0,0),n);break t}xr(a,e,il,Iu,xf,l,vl,$e,Ta,be,u,null,-0,0)}}break}while(!0);kl(t)}function xr(t,l,e,a,n,u,i,s,d,p,E,L,b,j){if(t.timeoutHandle=-1,L=l.subtreeFlags,L&8192||(L&16785408)===16785408){L={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Fl},or(l,u,L);var w=(u&62914560)===u?Wu-sl():(u&4194048)===u?yr-sl():0;if(w=y2(L,w),w!==null){ue=u,t.cancelPendingCommit=w(zr.bind(null,t,l,u,e,a,n,i,s,d,E,L,null,b,j)),Ae(t,u,i,!p);return}}zr(t,l,u,e,a,n,i,s,d)}function Dh(t){for(var l=t;;){var e=l.tag;if((e===0||e===11||e===15)&&l.flags&16384&&(e=l.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(!dl(u(),n))return!1}catch{return!1}}if(e=l.child,l.subtreeFlags&16384&&e!==null)e.return=l,l=e;else{if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Ae(t,l,e,a){l&=~vf,l&=~$e,t.suspendedLanes|=l,t.pingedLanes&=~l,a&&(t.warmLanes|=l),a=t.expirationTimes;for(var n=l;0<n;){var u=31-rl(n),i=1<<u;a[u]=-1,n&=~i}e!==0&&Ts(t,e,l)}function Pu(){return(nt&6)===0?(Dn(0),!1):!0}function jf(){if(K!==null){if(ft===0)var t=K.return;else t=K,Kl=ke=null,wc(t),pa=null,dn=0,t=K;for(;t!==null;)J0(t.alternate,t),t=t.return;K=null}}function _a(t,l){var e=t.timeoutHandle;e!==-1&&(t.timeoutHandle=-1,Wh(e)),e=t.cancelPendingCommit,e!==null&&(t.cancelPendingCommit=null,e()),ue=0,jf(),mt=t,K=e=Xl(t.current,null),W=l,ft=0,gl=null,be=!1,za=Ka(t,l),gf=!1,Ta=vl=vf=$e=je=zt=0,il=Ln=null,xf=!1,(l&8)!==0&&(l|=l&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=l;0<a;){var n=31-rl(a),u=1<<n;l|=t[n],a&=~u}return ne=l,Su(),e}function pr(t,l){G=null,A.H=Sn,l===xa||l===Lu?(l=Ro(),ft=3):l===Ac?(l=Ro(),ft=4):ft=l===Pc?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,gl=l,K===null&&(zt=1,ku(t,zl(l,t.current)))}function Sr(){var t=yl.current;return t===null?!0:(W&4194048)===W?Dl===null:(W&62914560)===W||(W&536870912)!==0?t===Dl:!1}function br(){var t=A.H;return A.H=Sn,t===null?Sn:t}function jr(){var t=A.A;return A.A=Lh,t}function ti(){zt=4,be||(W&4194048)!==W&&yl.current!==null||(za=!0),(je&134217727)===0&&($e&134217727)===0||mt===null||Ae(mt,W,vl,!1)}function Mf(t,l,e){var a=nt;nt|=2;var n=br(),u=jr();(mt!==t||W!==l)&&(Iu=null,_a(t,l)),l=!1;var i=zt;t:do try{if(ft!==0&&K!==null){var s=K,d=gl;switch(ft){case 8:jf(),i=6;break t;case 3:case 2:case 9:case 6:yl.current===null&&(l=!0);var p=ft;if(ft=0,gl=null,Da(t,s,d,p),e&&za){i=0;break t}break;default:p=ft,ft=0,gl=null,Da(t,s,d,p)}}Oh(),i=zt;break}catch(E){pr(t,E)}while(!0);return l&&t.shellSuspendCounter++,Kl=ke=null,nt=a,A.H=n,A.A=u,K===null&&(mt=null,W=0,Su()),i}function Oh(){for(;K!==null;)Mr(K)}function Nh(t,l){var e=nt;nt|=2;var a=br(),n=jr();mt!==t||W!==l?(Iu=null,$u=sl()+500,_a(t,l)):za=Ka(t,l);t:do try{if(ft!==0&&K!==null){l=K;var u=gl;l:switch(ft){case 1:ft=0,gl=null,Da(t,l,u,1);break;case 2:case 9:if(Uo(u)){ft=0,gl=null,Er(l);break}l=function(){ft!==2&&ft!==9||mt!==t||(ft=7),kl(t)},u.then(l,l);break t;case 3:ft=7;break t;case 4:ft=5;break t;case 7:Uo(u)?(ft=0,gl=null,Er(l)):(ft=0,gl=null,Da(t,l,u,7));break;case 5:var i=null;switch(K.tag){case 26:i=K.memoizedState;case 5:case 27:var s=K;if(i?s1(i):s.stateNode.complete){ft=0,gl=null;var d=s.sibling;if(d!==null)K=d;else{var p=s.return;p!==null?(K=p,li(p)):K=null}break l}}ft=0,gl=null,Da(t,l,u,5);break;case 6:ft=0,gl=null,Da(t,l,u,6);break;case 8:jf(),zt=6;break t;default:throw Error(r(462))}}Uh();break}catch(E){pr(t,E)}while(!0);return Kl=ke=null,A.H=a,A.A=n,nt=e,K!==null?0:(mt=null,W=0,Su(),zt)}function Uh(){for(;K!==null&&!ed();)Mr(K)}function Mr(t){var l=V0(t.alternate,t,ne);t.memoizedProps=t.pendingProps,l===null?li(t):K=l}function Er(t){var l=t,e=l.alternate;switch(l.tag){case 15:case 0:l=q0(e,l,l.pendingProps,l.type,void 0,W);break;case 11:l=q0(e,l,l.pendingProps,l.type.render,l.ref,W);break;case 5:wc(l);default:J0(e,l),l=K=jo(l,ne),l=V0(e,l,ne)}t.memoizedProps=t.pendingProps,l===null?li(t):K=l}function Da(t,l,e,a){Kl=ke=null,wc(l),pa=null,dn=0;var n=l.return;try{if(bh(t,n,l,e,W)){zt=1,ku(t,zl(e,t.current)),K=null;return}}catch(u){if(n!==null)throw K=n,u;zt=1,ku(t,zl(e,t.current)),K=null;return}l.flags&32768?(I||a===1?t=!0:za||(W&536870912)!==0?t=!1:(be=t=!0,(a===2||a===9||a===3||a===6)&&(a=yl.current,a!==null&&a.tag===13&&(a.flags|=16384))),Ar(l,t)):li(l)}function li(t){var l=t;do{if((l.flags&32768)!==0){Ar(l,be);return}t=l.return;var e=Eh(l.alternate,l,ne);if(e!==null){K=e;return}if(l=l.sibling,l!==null){K=l;return}K=l=t}while(l!==null);zt===0&&(zt=5)}function Ar(t,l){do{var e=Ah(t.alternate,t);if(e!==null){e.flags&=32767,K=e;return}if(e=t.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!l&&(t=t.sibling,t!==null)){K=t;return}K=t=e}while(t!==null);zt=6,K=null}function zr(t,l,e,a,n,u,i,s,d){t.cancelPendingCommit=null;do ei();while(wt!==0);if((nt&6)!==0)throw Error(r(327));if(l!==null){if(l===t.current)throw Error(r(177));if(u=l.lanes|l.childLanes,u|=oc,dd(t,e,u,i,s,d),t===mt&&(K=mt=null,W=0),La=l,Ee=t,ue=e,pf=u,Sf=n,mr=a,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,wh(nu,function(){return Or(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||a){a=A.T,A.T=null,n=U.p,U.p=2,i=nt,nt|=4;try{zh(t,l,e)}finally{nt=i,U.p=n,A.T=a}}wt=1,Tr(),Lr(),_r()}}function Tr(){if(wt===1){wt=0;var t=Ee,l=La,e=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||e){e=A.T,A.T=null;var a=U.p;U.p=2;var n=nt;nt|=4;try{cr(l,t);var u=Rf,i=ho(t.containerInfo),s=u.focusedElem,d=u.selectionRange;if(i!==s&&s&&s.ownerDocument&&ro(s.ownerDocument.documentElement,s)){if(d!==null&&uc(s)){var p=d.start,E=d.end;if(E===void 0&&(E=p),"selectionStart"in s)s.selectionStart=p,s.selectionEnd=Math.min(E,s.value.length);else{var L=s.ownerDocument||document,b=L&&L.defaultView||window;if(b.getSelection){var j=b.getSelection(),w=s.textContent.length,q=Math.min(d.start,w),yt=d.end===void 0?q:Math.min(d.end,w);!j.extend&&q>yt&&(i=yt,yt=q,q=i);var g=oo(s,q),y=oo(s,yt);if(g&&y&&(j.rangeCount!==1||j.anchorNode!==g.node||j.anchorOffset!==g.offset||j.focusNode!==y.node||j.focusOffset!==y.offset)){var x=L.createRange();x.setStart(g.node,g.offset),j.removeAllRanges(),q>yt?(j.addRange(x),j.extend(y.node,y.offset)):(x.setEnd(y.node,y.offset),j.addRange(x))}}}}for(L=[],j=s;j=j.parentNode;)j.nodeType===1&&L.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<L.length;s++){var T=L[s];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}yi=!!Cf,Rf=Cf=null}finally{nt=n,U.p=a,A.T=e}}t.current=l,wt=2}}function Lr(){if(wt===2){wt=0;var t=Ee,l=La,e=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||e){e=A.T,A.T=null;var a=U.p;U.p=2;var n=nt;nt|=4;try{er(t,l.alternate,l)}finally{nt=n,U.p=a,A.T=e}}wt=3}}function _r(){if(wt===4||wt===3){wt=0,ad();var t=Ee,l=La,e=ue,a=mr;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?wt=5:(wt=0,La=Ee=null,Dr(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Me=null),Bi(e),l=l.stateNode,ol&&typeof ol.onCommitFiberRoot=="function")try{ol.onCommitFiberRoot(Va,l,void 0,(l.current.flags&128)===128)}catch{}if(a!==null){l=A.T,n=U.p,U.p=2,A.T=null;try{for(var u=t.onRecoverableError,i=0;i<a.length;i++){var s=a[i];u(s.value,{componentStack:s.stack})}}finally{A.T=l,U.p=n}}(ue&3)!==0&&ei(),kl(t),n=t.pendingLanes,(e&261930)!==0&&(n&42)!==0?t===bf?_n++:(_n=0,bf=t):_n=0,Dn(0)}}function Dr(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,on(l)))}function ei(){return Tr(),Lr(),_r(),Or()}function Or(){if(wt!==5)return!1;var t=Ee,l=pf;pf=0;var e=Bi(ue),a=A.T,n=U.p;try{U.p=32>e?32:e,A.T=null,e=Sf,Sf=null;var u=Ee,i=ue;if(wt=0,La=Ee=null,ue=0,(nt&6)!==0)throw Error(r(331));var s=nt;if(nt|=4,dr(u.current),sr(u,u.current,i,e),nt=s,Dn(0,!1),ol&&typeof ol.onPostCommitFiberRoot=="function")try{ol.onPostCommitFiberRoot(Va,u)}catch{}return!0}finally{U.p=n,A.T=a,Dr(t,l)}}function Nr(t,l,e){l=zl(e,l),l=Ic(t.stateNode,l,2),t=ve(t,l,2),t!==null&&(Ja(t,2),kl(t))}function st(t,l,e){if(t.tag===3)Nr(t,t,e);else for(;l!==null;){if(l.tag===3){Nr(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Me===null||!Me.has(a))){t=zl(e,t),e=U0(2),a=ve(l,e,2),a!==null&&(C0(e,a,l,t),Ja(a,2),kl(a));break}}l=l.return}}function Ef(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new _h;var n=new Set;a.set(l,n)}else n=a.get(l),n===void 0&&(n=new Set,a.set(l,n));n.has(e)||(gf=!0,n.add(e),t=Ch.bind(null,t,l,e),l.then(t,t))}function Ch(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,mt===t&&(W&e)===e&&(zt===4||zt===3&&(W&62914560)===W&&300>sl()-Wu?(nt&2)===0&&_a(t,0):vf|=e,Ta===W&&(Ta=0)),kl(t)}function Ur(t,l){l===0&&(l=zs()),t=Qe(t,l),t!==null&&(Ja(t,l),kl(t))}function Rh(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),Ur(t,e)}function Zh(t,l){var e=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(l),Ur(t,e)}function wh(t,l){return Zi(t,l)}var ai=null,Oa=null,Af=!1,ni=!1,zf=!1,ze=0;function kl(t){t!==Oa&&t.next===null&&(Oa===null?ai=Oa=t:Oa=Oa.next=t),ni=!0,Af||(Af=!0,Qh())}function Dn(t,l){if(!zf&&ni){zf=!0;do for(var e=!1,a=ai;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var i=a.suspendedLanes,s=a.pingedLanes;u=(1<<31-rl(42|t)+1)-1,u&=n&~(i&~s),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,wr(a,u))}else u=W,u=fu(a,a===mt?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Ka(a,u)||(e=!0,wr(a,u));a=a.next}while(e);zf=!1}}function Hh(){Cr()}function Cr(){ni=Af=!1;var t=0;ze!==0&&Jh()&&(t=ze);for(var l=sl(),e=null,a=ai;a!==null;){var n=a.next,u=Rr(a,l);u===0?(a.next=null,e===null?ai=n:e.next=n,n===null&&(Oa=e)):(e=a,(t!==0||(u&3)!==0)&&(ni=!0)),a=n}wt!==0&&wt!==5||Dn(t),ze!==0&&(ze=0)}function Rr(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var i=31-rl(u),s=1<<i,d=n[i];d===-1?((s&e)===0||(s&a)!==0)&&(n[i]=rd(s,l)):d<=l&&(t.expiredLanes|=s),u&=~s}if(l=mt,e=W,e=fu(t,t===l?e:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,e===0||t===l&&(ft===2||ft===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&wi(a),t.callbackNode=null,t.callbackPriority=0;if((e&3)===0||Ka(t,e)){if(l=e&-e,l===t.callbackPriority)return l;switch(a!==null&&wi(a),Bi(e)){case 2:case 8:e=Es;break;case 32:e=nu;break;case 268435456:e=As;break;default:e=nu}return a=Zr.bind(null,t),e=Zi(e,a),t.callbackPriority=l,t.callbackNode=e,l}return a!==null&&a!==null&&wi(a),t.callbackPriority=2,t.callbackNode=null,2}function Zr(t,l){if(wt!==0&&wt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var e=t.callbackNode;if(ei()&&t.callbackNode!==e)return null;var a=W;return a=fu(t,t===mt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(vr(t,a,l),Rr(t,sl()),t.callbackNode!=null&&t.callbackNode===e?Zr.bind(null,t):null)}function wr(t,l){if(ei())return null;vr(t,l,!0)}function Qh(){$h(function(){(nt&6)!==0?Zi(Ms,Hh):Cr()})}function Tf(){if(ze===0){var t=ga;t===0&&(t=uu,uu<<=1,(uu&261888)===0&&(uu=256)),ze=t}return ze}function Hr(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:du(""+t)}function Qr(t,l){var e=l.ownerDocument.createElement("input");return e.name=l.name,e.value=l.value,t.id&&e.setAttribute("form",t.id),l.parentNode.insertBefore(e,l),t=new FormData(t),e.parentNode.removeChild(e),t}function Bh(t,l,e,a,n){if(l==="submit"&&e&&e.stateNode===n){var u=Hr((n[ll]||null).action),i=a.submitter;i&&(l=(l=i[ll]||null)?Hr(l.formAction):i.getAttribute("formAction"),l!==null&&(u=l,i=null));var s=new gu("action","action",null,a,n);t.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ze!==0){var d=i?Qr(n,i):new FormData(n);Xc(e,{pending:!0,data:d,method:n.method,action:u},null,d)}}else typeof u=="function"&&(s.preventDefault(),d=i?Qr(n,i):new FormData(n),Xc(e,{pending:!0,data:d,method:n.method,action:u},u,d))},currentTarget:n}]})}}for(var Lf=0;Lf<sc.length;Lf++){var _f=sc[Lf],qh=_f.toLowerCase(),kh=_f[0].toUpperCase()+_f.slice(1);Cl(qh,"on"+kh)}Cl(go,"onAnimationEnd"),Cl(vo,"onAnimationIteration"),Cl(xo,"onAnimationStart"),Cl("dblclick","onDoubleClick"),Cl("focusin","onFocus"),Cl("focusout","onBlur"),Cl(nh,"onTransitionRun"),Cl(uh,"onTransitionStart"),Cl(ih,"onTransitionCancel"),Cl(po,"onTransitionEnd"),ea("onMouseEnter",["mouseout","mouseover"]),ea("onMouseLeave",["mouseout","mouseover"]),ea("onPointerEnter",["pointerout","pointerover"]),ea("onPointerLeave",["pointerout","pointerover"]),Re("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Re("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Re("onBeforeInput",["compositionend","keypress","textInput","paste"]),Re("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Re("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Re("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var On="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(" "),Yh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(On));function Br(t,l){l=(l&4)!==0;for(var e=0;e<t.length;e++){var a=t[e],n=a.event;a=a.listeners;t:{var u=void 0;if(l)for(var i=a.length-1;0<=i;i--){var s=a[i],d=s.instance,p=s.currentTarget;if(s=s.listener,d!==u&&n.isPropagationStopped())break t;u=s,n.currentTarget=p;try{u(n)}catch(E){pu(E)}n.currentTarget=null,u=d}else for(i=0;i<a.length;i++){if(s=a[i],d=s.instance,p=s.currentTarget,s=s.listener,d!==u&&n.isPropagationStopped())break t;u=s,n.currentTarget=p;try{u(n)}catch(E){pu(E)}n.currentTarget=null,u=d}}}}function J(t,l){var e=l[qi];e===void 0&&(e=l[qi]=new Set);var a=t+"__bubble";e.has(a)||(qr(l,t,2,!1),e.add(a))}function Df(t,l,e){var a=0;l&&(a|=4),qr(e,t,a,l)}var ui="_reactListening"+Math.random().toString(36).slice(2);function Of(t){if(!t[ui]){t[ui]=!0,Us.forEach(function(e){e!=="selectionchange"&&(Yh.has(e)||Df(e,!1,t),Df(e,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[ui]||(l[ui]=!0,Df("selectionchange",!1,l))}}function qr(t,l,e,a){switch(g1(l)){case 2:var n=v2;break;case 8:n=x2;break;default:n=Xf}e=n.bind(null,l,e,t),n=void 0,!Wi||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(l,e,{capture:!0,passive:n}):t.addEventListener(l,e,!0):n!==void 0?t.addEventListener(l,e,{passive:n}):t.addEventListener(l,e,!1)}function Nf(t,l,e,a,n){var u=a;if((l&1)===0&&(l&2)===0&&a!==null)t:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var s=a.stateNode.containerInfo;if(s===n)break;if(i===4)for(i=a.return;i!==null;){var d=i.tag;if((d===3||d===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;s!==null;){if(i=Pe(s),i===null)return;if(d=i.tag,d===5||d===6||d===26||d===27){a=u=i;continue t}s=s.parentNode}}a=a.return}Gs(function(){var p=u,E=Ki(e),L=[];t:{var b=So.get(t);if(b!==void 0){var j=gu,w=t;switch(t){case"keypress":if(yu(e)===0)break t;case"keydown":case"keyup":j=Zd;break;case"focusin":w="focus",j=tc;break;case"focusout":w="blur",j=tc;break;case"beforeblur":case"afterblur":j=tc;break;case"click":if(e.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=Ks;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Ed;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Qd;break;case go:case vo:case xo:j=Td;break;case po:j=qd;break;case"scroll":case"scrollend":j=jd;break;case"wheel":j=Yd;break;case"copy":case"cut":case"paste":j=_d;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Ws;break;case"toggle":case"beforetoggle":j=Gd}var q=(l&4)!==0,yt=!q&&(t==="scroll"||t==="scrollend"),g=q?b!==null?b+"Capture":null:b;q=[];for(var y=p,x;y!==null;){var T=y;if(x=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||x===null||g===null||(T=Ia(y,g),T!=null&&q.push(Nn(y,T,x))),yt)break;y=y.return}0<q.length&&(b=new j(b,w,null,e,E),L.push({event:b,listeners:q}))}}if((l&7)===0){t:{if(b=t==="mouseover"||t==="pointerover",j=t==="mouseout"||t==="pointerout",b&&e!==Vi&&(w=e.relatedTarget||e.fromElement)&&(Pe(w)||w[Ie]))break t;if((j||b)&&(b=E.window===E?E:(b=E.ownerDocument)?b.defaultView||b.parentWindow:window,j?(w=e.relatedTarget||e.toElement,j=p,w=w?Pe(w):null,w!==null&&(yt=S(w),q=w.tag,w!==yt||q!==5&&q!==27&&q!==6)&&(w=null)):(j=null,w=p),j!==w)){if(q=Ks,T="onMouseLeave",g="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(q=Ws,T="onPointerLeave",g="onPointerEnter",y="pointer"),yt=j==null?b:$a(j),x=w==null?b:$a(w),b=new q(T,y+"leave",j,e,E),b.target=yt,b.relatedTarget=x,T=null,Pe(E)===p&&(q=new q(g,y+"enter",w,e,E),q.target=x,q.relatedTarget=yt,T=q),yt=T,j&&w)l:{for(q=Fh,g=j,y=w,x=0,T=g;T;T=q(T))x++;T=0;for(var Q=y;Q;Q=q(Q))T++;for(;0<x-T;)g=q(g),x--;for(;0<T-x;)y=q(y),T--;for(;x--;){if(g===y||y!==null&&g===y.alternate){q=g;break l}g=q(g),y=q(y)}q=null}else q=null;j!==null&&kr(L,b,j,q,!1),w!==null&&yt!==null&&kr(L,yt,w,q,!0)}}t:{if(b=p?$a(p):window,j=b.nodeName&&b.nodeName.toLowerCase(),j==="select"||j==="input"&&b.type==="file")var lt=no;else if(eo(b))if(uo)lt=lh;else{lt=Pd;var H=Id}else j=b.nodeName,!j||j.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?p&&Xi(p.elementType)&&(lt=no):lt=th;if(lt&&(lt=lt(t,p))){ao(L,lt,e,E);break t}H&&H(t,b,p),t==="focusout"&&p&&b.type==="number"&&p.memoizedProps.value!=null&&Gi(b,"number",b.value)}switch(H=p?$a(p):window,t){case"focusin":(eo(H)||H.contentEditable==="true")&&(fa=H,ic=p,cn=null);break;case"focusout":cn=ic=fa=null;break;case"mousedown":cc=!0;break;case"contextmenu":case"mouseup":case"dragend":cc=!1,yo(L,e,E);break;case"selectionchange":if(ah)break;case"keydown":case"keyup":yo(L,e,E)}var X;if(ec)t:{switch(t){case"compositionstart":var $="onCompositionStart";break t;case"compositionend":$="onCompositionEnd";break t;case"compositionupdate":$="onCompositionUpdate";break t}$=void 0}else ca?to(t,e)&&($="onCompositionEnd"):t==="keydown"&&e.keyCode===229&&($="onCompositionStart");$&&($s&&e.locale!=="ko"&&(ca||$!=="onCompositionStart"?$==="onCompositionEnd"&&ca&&(X=Xs()):(oe=E,$i="value"in oe?oe.value:oe.textContent,ca=!0)),H=ii(p,$),0<H.length&&($=new Js($,t,null,e,E),L.push({event:$,listeners:H}),X?$.data=X:(X=lo(e),X!==null&&($.data=X)))),(X=Vd?Kd(t,e):Jd(t,e))&&($=ii(p,"onBeforeInput"),0<$.length&&(H=new Js("onBeforeInput","beforeinput",null,e,E),L.push({event:H,listeners:$}),H.data=X)),Bh(L,t,p,e,E)}Br(L,l)})}function Nn(t,l,e){return{instance:t,listener:l,currentTarget:e}}function ii(t,l){for(var e=l+"Capture",a=[];t!==null;){var n=t,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Ia(t,e),n!=null&&a.unshift(Nn(t,n,u)),n=Ia(t,l),n!=null&&a.push(Nn(t,n,u))),t.tag===3)return a;t=t.return}return[]}function Fh(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function kr(t,l,e,a,n){for(var u=l._reactName,i=[];e!==null&&e!==a;){var s=e,d=s.alternate,p=s.stateNode;if(s=s.tag,d!==null&&d===a)break;s!==5&&s!==26&&s!==27||p===null||(d=p,n?(p=Ia(e,u),p!=null&&i.unshift(Nn(e,p,d))):n||(p=Ia(e,u),p!=null&&i.push(Nn(e,p,d)))),e=e.return}i.length!==0&&t.push({event:l,listeners:i})}var Gh=/\r\n?/g,Xh=/\u0000|\uFFFD/g;function Yr(t){return(typeof t=="string"?t:""+t).replace(Gh,`
49
+ `).replace(Xh,"")}function Fr(t,l){return l=Yr(l),Yr(t)===l}function ht(t,l,e,a,n,u){switch(e){case"children":typeof a=="string"?l==="body"||l==="textarea"&&a===""||na(t,a):(typeof a=="number"||typeof a=="bigint")&&l!=="body"&&na(t,""+a);break;case"className":ou(t,"class",a);break;case"tabIndex":ou(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ou(t,e,a);break;case"style":Ys(t,a,u);break;case"data":if(l!=="object"){ou(t,"data",a);break}case"src":case"href":if(a===""&&(l!=="a"||e!=="href")){t.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=du(""+a),t.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){t.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"?(l!=="input"&&ht(t,l,"name",n.name,n,null),ht(t,l,"formEncType",n.formEncType,n,null),ht(t,l,"formMethod",n.formMethod,n,null),ht(t,l,"formTarget",n.formTarget,n,null)):(ht(t,l,"encType",n.encType,n,null),ht(t,l,"method",n.method,n,null),ht(t,l,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=du(""+a),t.setAttribute(e,a);break;case"onClick":a!=null&&(t.onclick=Fl);break;case"onScroll":a!=null&&J("scroll",t);break;case"onScrollEnd":a!=null&&J("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(r(60));t.innerHTML=e}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.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"){t.removeAttribute("xlink:href");break}e=du(""+a),t.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"?t.setAttribute(e,""+a):t.removeAttribute(e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":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"?t.setAttribute(e,""):t.removeAttribute(e);break;case"capture":case"download":a===!0?t.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,a):t.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(e,a):t.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(e):t.setAttribute(e,a);break;case"popover":J("beforetoggle",t),J("toggle",t),su(t,"popover",a);break;case"xlinkActuate":Yl(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Yl(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Yl(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Yl(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Yl(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Yl(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Yl(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Yl(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Yl(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":su(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=Sd.get(e)||e,su(t,e,a))}}function Uf(t,l,e,a,n,u){switch(e){case"style":Ys(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(r(60));t.innerHTML=e}}break;case"children":typeof a=="string"?na(t,a):(typeof a=="number"||typeof a=="bigint")&&na(t,""+a);break;case"onScroll":a!=null&&J("scroll",t);break;case"onScrollEnd":a!=null&&J("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Fl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Cs.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),l=e.slice(2,n?e.length-7:void 0),u=t[ll]||null,u=u!=null?u[e]:null,typeof u=="function"&&t.removeEventListener(l,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(e in t?t[e]=null:t.hasAttribute(e)&&t.removeAttribute(e)),t.addEventListener(l,a,n);break t}e in t?t[e]=a:a===!0?t.setAttribute(e,""):su(t,e,a)}}}function Xt(t,l,e){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":J("error",t),J("load",t);var a=!1,n=!1,u;for(u in e)if(e.hasOwnProperty(u)){var i=e[u];if(i!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:ht(t,l,u,i,e,null)}}n&&ht(t,l,"srcSet",e.srcSet,e,null),a&&ht(t,l,"src",e.src,e,null);return;case"input":J("invalid",t);var s=u=i=n=null,d=null,p=null;for(a in e)if(e.hasOwnProperty(a)){var E=e[a];if(E!=null)switch(a){case"name":n=E;break;case"type":i=E;break;case"checked":d=E;break;case"defaultChecked":p=E;break;case"value":u=E;break;case"defaultValue":s=E;break;case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(r(137,l));break;default:ht(t,l,a,E,e,null)}}Qs(t,u,s,d,p,i,n,!1);return;case"select":J("invalid",t),a=i=u=null;for(n in e)if(e.hasOwnProperty(n)&&(s=e[n],s!=null))switch(n){case"value":u=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:ht(t,l,n,s,e,null)}l=u,e=i,t.multiple=!!a,l!=null?aa(t,!!a,l,!1):e!=null&&aa(t,!!a,e,!0);return;case"textarea":J("invalid",t),u=n=a=null;for(i in e)if(e.hasOwnProperty(i)&&(s=e[i],s!=null))switch(i){case"value":a=s;break;case"defaultValue":n=s;break;case"children":u=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(r(91));break;default:ht(t,l,i,s,e,null)}qs(t,a,n,u);return;case"option":for(d in e)if(e.hasOwnProperty(d)&&(a=e[d],a!=null))switch(d){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:ht(t,l,d,a,e,null)}return;case"dialog":J("beforetoggle",t),J("toggle",t),J("cancel",t),J("close",t);break;case"iframe":case"object":J("load",t);break;case"video":case"audio":for(a=0;a<On.length;a++)J(On[a],t);break;case"image":J("error",t),J("load",t);break;case"details":J("toggle",t);break;case"embed":case"source":case"link":J("error",t),J("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(p in e)if(e.hasOwnProperty(p)&&(a=e[p],a!=null))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:ht(t,l,p,a,e,null)}return;default:if(Xi(l)){for(E in e)e.hasOwnProperty(E)&&(a=e[E],a!==void 0&&Uf(t,l,E,a,e,void 0));return}}for(s in e)e.hasOwnProperty(s)&&(a=e[s],a!=null&&ht(t,l,s,a,e,null))}function Vh(t,l,e,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,i=null,s=null,d=null,p=null,E=null;for(j in e){var L=e[j];if(e.hasOwnProperty(j)&&L!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":d=L;default:a.hasOwnProperty(j)||ht(t,l,j,null,a,L)}}for(var b in a){var j=a[b];if(L=e[b],a.hasOwnProperty(b)&&(j!=null||L!=null))switch(b){case"type":u=j;break;case"name":n=j;break;case"checked":p=j;break;case"defaultChecked":E=j;break;case"value":i=j;break;case"defaultValue":s=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,l));break;default:j!==L&&ht(t,l,b,j,a,L)}}Fi(t,i,s,d,p,E,u,n);return;case"select":j=i=s=b=null;for(u in e)if(d=e[u],e.hasOwnProperty(u)&&d!=null)switch(u){case"value":break;case"multiple":j=d;default:a.hasOwnProperty(u)||ht(t,l,u,null,a,d)}for(n in a)if(u=a[n],d=e[n],a.hasOwnProperty(n)&&(u!=null||d!=null))switch(n){case"value":b=u;break;case"defaultValue":s=u;break;case"multiple":i=u;default:u!==d&&ht(t,l,n,u,a,d)}l=s,e=i,a=j,b!=null?aa(t,!!e,b,!1):!!a!=!!e&&(l!=null?aa(t,!!e,l,!0):aa(t,!!e,e?[]:"",!1));return;case"textarea":j=b=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:ht(t,l,s,null,a,n)}for(i in a)if(n=a[i],u=e[i],a.hasOwnProperty(i)&&(n!=null||u!=null))switch(i){case"value":b=n;break;case"defaultValue":j=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(r(91));break;default:n!==u&&ht(t,l,i,n,a,u)}Bs(t,b,j);return;case"option":for(var w in e)if(b=e[w],e.hasOwnProperty(w)&&b!=null&&!a.hasOwnProperty(w))switch(w){case"selected":t.selected=!1;break;default:ht(t,l,w,null,a,b)}for(d in a)if(b=a[d],j=e[d],a.hasOwnProperty(d)&&b!==j&&(b!=null||j!=null))switch(d){case"selected":t.selected=b&&typeof b!="function"&&typeof b!="symbol";break;default:ht(t,l,d,b,a,j)}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)b=e[q],e.hasOwnProperty(q)&&b!=null&&!a.hasOwnProperty(q)&&ht(t,l,q,null,a,b);for(p in a)if(b=a[p],j=e[p],a.hasOwnProperty(p)&&b!==j&&(b!=null||j!=null))switch(p){case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(137,l));break;default:ht(t,l,p,b,a,j)}return;default:if(Xi(l)){for(var yt in e)b=e[yt],e.hasOwnProperty(yt)&&b!==void 0&&!a.hasOwnProperty(yt)&&Uf(t,l,yt,void 0,a,b);for(E in a)b=a[E],j=e[E],!a.hasOwnProperty(E)||b===j||b===void 0&&j===void 0||Uf(t,l,E,b,a,j);return}}for(var g in e)b=e[g],e.hasOwnProperty(g)&&b!=null&&!a.hasOwnProperty(g)&&ht(t,l,g,null,a,b);for(L in a)b=a[L],j=e[L],!a.hasOwnProperty(L)||b===j||b==null&&j==null||ht(t,l,L,b,a,j)}function Gr(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Kh(){if(typeof performance.getEntriesByType=="function"){for(var t=0,l=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var n=e[a],u=n.transferSize,i=n.initiatorType,s=n.duration;if(u&&s&&Gr(i)){for(i=0,s=n.responseEnd,a+=1;a<e.length;a++){var d=e[a],p=d.startTime;if(p>s)break;var E=d.transferSize,L=d.initiatorType;E&&Gr(L)&&(d=d.responseEnd,i+=E*(d<s?1:(s-p)/(d-p)))}if(--a,l+=8*(u+i)/(n.duration/1e3),t++,10<t)break}}if(0<t)return l/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Cf=null,Rf=null;function ci(t){return t.nodeType===9?t:t.ownerDocument}function Xr(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Vr(t,l){if(t===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&l==="foreignObject"?0:t}function Zf(t,l){return t==="textarea"||t==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var wf=null;function Jh(){var t=window.event;return t&&t.type==="popstate"?t===wf?!1:(wf=t,!0):(wf=null,!1)}var Kr=typeof setTimeout=="function"?setTimeout:void 0,Wh=typeof clearTimeout=="function"?clearTimeout:void 0,Jr=typeof Promise=="function"?Promise:void 0,$h=typeof queueMicrotask=="function"?queueMicrotask:typeof Jr<"u"?function(t){return Jr.resolve(null).then(t).catch(Ih)}:Kr;function Ih(t){setTimeout(function(){throw t})}function Te(t){return t==="head"}function Wr(t,l){var e=l,a=0;do{var n=e.nextSibling;if(t.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"||e==="/&"){if(a===0){t.removeChild(n),Ra(l);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")Un(t.ownerDocument.documentElement);else if(e==="head"){e=t.ownerDocument.head,Un(e);for(var u=e.firstChild;u;){var i=u.nextSibling,s=u.nodeName;u[Wa]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=i}}else e==="body"&&Un(t.ownerDocument.body);e=n}while(e);Ra(l)}function $r(t,l){var e=t;t=0;do{var a=e.nextSibling;if(e.nodeType===1?l?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(l?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(t===0)break;t--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||t++;e=a}while(e)}function Hf(t){var l=t.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var e=l;switch(l=l.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":Hf(e),ki(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}t.removeChild(e)}}function Ph(t,l,e,a){for(;t.nodeType===1;){var n=e;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Wa])switch(l){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(l==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Ol(t.nextSibling),t===null)break}return null}function t2(t,l,e){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ol(t.nextSibling),t===null))return null;return t}function Ir(t,l){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ol(t.nextSibling),t===null))return null;return t}function Qf(t){return t.data==="$?"||t.data==="$~"}function Bf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function l2(t,l){var e=t.ownerDocument;if(t.data==="$~")t._reactRetry=l;else if(t.data!=="$?"||e.readyState!=="loading")l();else{var a=function(){l(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ol(t){for(;t!=null;t=t.nextSibling){var l=t.nodeType;if(l===1||l===3)break;if(l===8){if(l=t.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return t}var qf=null;function Pr(t){t=t.nextSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="/$"||e==="/&"){if(l===0)return Ol(t.nextSibling);l--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||l++}t=t.nextSibling}return null}function t1(t){t=t.previousSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(l===0)return t;l--}else e!=="/$"&&e!=="/&"||l++}t=t.previousSibling}return null}function l1(t,l,e){switch(l=ci(e),t){case"html":if(t=l.documentElement,!t)throw Error(r(452));return t;case"head":if(t=l.head,!t)throw Error(r(453));return t;case"body":if(t=l.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Un(t){for(var l=t.attributes;l.length;)t.removeAttributeNode(l[0]);ki(t)}var Nl=new Map,e1=new Set;function fi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var ie=U.d;U.d={f:e2,r:a2,D:n2,C:u2,L:i2,m:c2,X:s2,S:f2,M:o2};function e2(){var t=ie.f(),l=Pu();return t||l}function a2(t){var l=ta(t);l!==null&&l.tag===5&&l.type==="form"?p0(l):ie.r(t)}var Na=typeof document>"u"?null:document;function a1(t,l,e){var a=Na;if(a&&typeof l=="string"&&l){var n=El(l);n='link[rel="'+t+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),e1.has(n)||(e1.add(n),t={rel:t,crossOrigin:e,href:l},a.querySelector(n)===null&&(l=a.createElement("link"),Xt(l,"link",t),Bt(l),a.head.appendChild(l)))}}function n2(t){ie.D(t),a1("dns-prefetch",t,null)}function u2(t,l){ie.C(t,l),a1("preconnect",t,l)}function i2(t,l,e){ie.L(t,l,e);var a=Na;if(a&&t&&l){var n='link[rel="preload"][as="'+El(l)+'"]';l==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+El(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+El(e.imageSizes)+'"]')):n+='[href="'+El(t)+'"]';var u=n;switch(l){case"style":u=Ua(t);break;case"script":u=Ca(t)}Nl.has(u)||(t=Z({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Nl.set(u,t),a.querySelector(n)!==null||l==="style"&&a.querySelector(Cn(u))||l==="script"&&a.querySelector(Rn(u))||(l=a.createElement("link"),Xt(l,"link",t),Bt(l),a.head.appendChild(l)))}}function c2(t,l){ie.m(t,l);var e=Na;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",n='link[rel="modulepreload"][as="'+El(a)+'"][href="'+El(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ca(t)}if(!Nl.has(u)&&(t=Z({rel:"modulepreload",href:t},l),Nl.set(u,t),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(Rn(u)))return}a=e.createElement("link"),Xt(a,"link",t),Bt(a),e.head.appendChild(a)}}}function f2(t,l,e){ie.S(t,l,e);var a=Na;if(a&&t){var n=la(a).hoistableStyles,u=Ua(t);l=l||"default";var i=n.get(u);if(!i){var s={loading:0,preload:null};if(i=a.querySelector(Cn(u)))s.loading=5;else{t=Z({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Nl.get(u))&&kf(t,e);var d=i=a.createElement("link");Bt(d),Xt(d,"link",t),d._p=new Promise(function(p,E){d.onload=p,d.onerror=E}),d.addEventListener("load",function(){s.loading|=1}),d.addEventListener("error",function(){s.loading|=2}),s.loading|=4,si(i,l,a)}i={type:"stylesheet",instance:i,count:1,state:s},n.set(u,i)}}}function s2(t,l){ie.X(t,l);var e=Na;if(e&&t){var a=la(e).hoistableScripts,n=Ca(t),u=a.get(n);u||(u=e.querySelector(Rn(n)),u||(t=Z({src:t,async:!0},l),(l=Nl.get(n))&&Yf(t,l),u=e.createElement("script"),Bt(u),Xt(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function o2(t,l){ie.M(t,l);var e=Na;if(e&&t){var a=la(e).hoistableScripts,n=Ca(t),u=a.get(n);u||(u=e.querySelector(Rn(n)),u||(t=Z({src:t,async:!0,type:"module"},l),(l=Nl.get(n))&&Yf(t,l),u=e.createElement("script"),Bt(u),Xt(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function n1(t,l,e,a){var n=(n=V.current)?fi(n):null;if(!n)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(l=Ua(e.href),e=la(n).hoistableStyles,a=e.get(l),a||(a={type:"style",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){t=Ua(e.href);var u=la(n).hoistableStyles,i=u.get(t);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,i),(u=n.querySelector(Cn(t)))&&!u._p&&(i.instance=u,i.state.loading=5),Nl.has(t)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Nl.set(t,e),u||r2(n,t,e,i.state))),l&&a===null)throw Error(r(528,""));return i}if(l&&a!==null)throw Error(r(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Ca(e),e=la(n).hoistableScripts,a=e.get(l),a||(a={type:"script",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function Ua(t){return'href="'+El(t)+'"'}function Cn(t){return'link[rel="stylesheet"]['+t+"]"}function u1(t){return Z({},t,{"data-precedence":t.precedence,precedence:null})}function r2(t,l,e,a){t.querySelector('link[rel="preload"][as="style"]['+l+"]")?a.loading=1:(l=t.createElement("link"),a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2}),Xt(l,"link",e),Bt(l),t.head.appendChild(l))}function Ca(t){return'[src="'+El(t)+'"]'}function Rn(t){return"script[async]"+t}function i1(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+El(e.href)+'"]');if(a)return l.instance=a,Bt(a),a;var n=Z({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Bt(a),Xt(a,"style",n),si(a,e.precedence,t),l.instance=a;case"stylesheet":n=Ua(e.href);var u=t.querySelector(Cn(n));if(u)return l.state.loading|=4,l.instance=u,Bt(u),u;a=u1(e),(n=Nl.get(n))&&kf(a,n),u=(t.ownerDocument||t).createElement("link"),Bt(u);var i=u;return i._p=new Promise(function(s,d){i.onload=s,i.onerror=d}),Xt(u,"link",a),l.state.loading|=4,si(u,e.precedence,t),l.instance=u;case"script":return u=Ca(e.src),(n=t.querySelector(Rn(u)))?(l.instance=n,Bt(n),n):(a=e,(n=Nl.get(u))&&(a=Z({},e),Yf(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Bt(n),Xt(n,"link",a),t.head.appendChild(n),l.instance=n);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,si(a,e.precedence,t));return l.instance}function si(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,i=0;i<a.length;i++){var s=a[i];if(s.dataset.precedence===l)u=s;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(l=e.nodeType===9?e.head:e,l.insertBefore(t,l.firstChild))}function kf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function Yf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var oi=null;function c1(t,l,e){if(oi===null){var a=new Map,n=oi=new Map;n.set(e,a)}else n=oi,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(t))return a;for(a.set(t,null),e=e.getElementsByTagName(t),n=0;n<e.length;n++){var u=e[n];if(!(u[Wa]||u[kt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var i=u.getAttribute(l)||"";i=t+i;var s=a.get(i);s?s.push(u):a.set(i,[u])}}return a}function f1(t,l,e){t=t.ownerDocument||t,t.head.insertBefore(e,l==="title"?t.querySelector("head > title"):null)}function d2(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return t=l.disabled,typeof l.precedence=="string"&&t==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function s1(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function h2(t,l,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=Ua(a.href),u=l.querySelector(Cn(n));if(u){l=u._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=ri.bind(t),l.then(t,t)),e.state.loading|=4,e.instance=u,Bt(u);return}u=l.ownerDocument||l,a=u1(a),(n=Nl.get(n))&&kf(a,n),u=u.createElement("link"),Bt(u);var i=u;i._p=new Promise(function(s,d){i.onload=s,i.onerror=d}),Xt(u,"link",a),e.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(e,l),(l=e.state.preload)&&(e.state.loading&3)===0&&(t.count++,e=ri.bind(t),l.addEventListener("load",e),l.addEventListener("error",e))}}var Ff=0;function y2(t,l){return t.stylesheets&&t.count===0&&hi(t,t.stylesheets),0<t.count||0<t.imgCount?function(e){var a=setTimeout(function(){if(t.stylesheets&&hi(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+l);0<t.imgBytes&&Ff===0&&(Ff=62500*Kh());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&hi(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>Ff?50:800)+l);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function ri(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)hi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var di=null;function hi(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,di=new Map,l.forEach(m2,t),di=null,ri.call(t))}function m2(t,l){if(!(l.state.loading&4)){var e=di.get(t);if(e)var a=e.get(null);else{e=new Map,di.set(t,e);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var i=n[u];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}n=l.instance,i=n.getAttribute("data-precedence"),u=e.get(i)||a,u===a&&e.set(null,n),e.set(i,n),this.count++,a=ri.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),l.state.loading|=4}}var Zn={$$typeof:Ot,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function g2(t,l,e,a,n,u,i,s,d){this.tag=1,this.containerInfo=t,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=Hi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hi(0),this.hiddenUpdates=Hi(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=d,this.incompleteTransitions=new Map}function o1(t,l,e,a,n,u,i,s,d,p,E,L){return t=new g2(t,l,e,i,d,p,E,L,s),l=1,u===!0&&(l|=24),u=hl(3,null,null,l),t.current=u,u.stateNode=t,l=jc(),l.refCount++,t.pooledCache=l,l.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:l},zc(u),t}function r1(t){return t?(t=ra,t):ra}function d1(t,l,e,a,n,u){n=r1(n),a.context===null?a.context=n:a.pendingContext=n,a=ge(l),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=ve(t,a,l),e!==null&&(cl(e,t,l),yn(e,t,l))}function h1(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var e=t.retryLane;t.retryLane=e!==0&&e<l?e:l}}function Gf(t,l){h1(t,l),(t=t.alternate)&&h1(t,l)}function y1(t){if(t.tag===13||t.tag===31){var l=Qe(t,67108864);l!==null&&cl(l,t,67108864),Gf(t,67108864)}}function m1(t){if(t.tag===13||t.tag===31){var l=xl();l=Qi(l);var e=Qe(t,l);e!==null&&cl(e,t,l),Gf(t,l)}}var yi=!0;function v2(t,l,e,a){var n=A.T;A.T=null;var u=U.p;try{U.p=2,Xf(t,l,e,a)}finally{U.p=u,A.T=n}}function x2(t,l,e,a){var n=A.T;A.T=null;var u=U.p;try{U.p=8,Xf(t,l,e,a)}finally{U.p=u,A.T=n}}function Xf(t,l,e,a){if(yi){var n=Vf(a);if(n===null)Nf(t,l,a,mi,e),v1(t,a);else if(S2(n,t,l,e,a))a.stopPropagation();else if(v1(t,a),l&4&&-1<p2.indexOf(t)){for(;n!==null;){var u=ta(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var i=Ce(u.pendingLanes);if(i!==0){var s=u;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var d=1<<31-rl(i);s.entanglements[1]|=d,i&=~d}kl(u),(nt&6)===0&&($u=sl()+500,Dn(0))}}break;case 31:case 13:s=Qe(u,2),s!==null&&cl(s,u,2),Pu(),Gf(u,2)}if(u=Vf(a),u===null&&Nf(t,l,a,mi,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else Nf(t,l,a,null,e)}}function Vf(t){return t=Ki(t),Kf(t)}var mi=null;function Kf(t){if(mi=null,t=Pe(t),t!==null){var l=S(t);if(l===null)t=null;else{var e=l.tag;if(e===13){if(t=_(l),t!==null)return t;t=null}else if(e===31){if(t=O(l),t!==null)return t;t=null}else if(e===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;t=null}else l!==t&&(t=null)}}return mi=t,null}function g1(t){switch(t){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"resize":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"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"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(nd()){case Ms:return 2;case Es:return 8;case nu:case ud:return 32;case As:return 268435456;default:return 32}default:return 32}}var Jf=!1,Le=null,_e=null,De=null,wn=new Map,Hn=new Map,Oe=[],p2="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 v1(t,l){switch(t){case"focusin":case"focusout":Le=null;break;case"dragenter":case"dragleave":_e=null;break;case"mouseover":case"mouseout":De=null;break;case"pointerover":case"pointerout":wn.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hn.delete(l.pointerId)}}function Qn(t,l,e,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:l,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},l!==null&&(l=ta(l),l!==null&&y1(l)),t):(t.eventSystemFlags|=a,l=t.targetContainers,n!==null&&l.indexOf(n)===-1&&l.push(n),t)}function S2(t,l,e,a,n){switch(l){case"focusin":return Le=Qn(Le,t,l,e,a,n),!0;case"dragenter":return _e=Qn(_e,t,l,e,a,n),!0;case"mouseover":return De=Qn(De,t,l,e,a,n),!0;case"pointerover":var u=n.pointerId;return wn.set(u,Qn(wn.get(u)||null,t,l,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Hn.set(u,Qn(Hn.get(u)||null,t,l,e,a,n)),!0}return!1}function x1(t){var l=Pe(t.target);if(l!==null){var e=S(l);if(e!==null){if(l=e.tag,l===13){if(l=_(e),l!==null){t.blockedOn=l,Os(t.priority,function(){m1(e)});return}}else if(l===31){if(l=O(e),l!==null){t.blockedOn=l,Os(t.priority,function(){m1(e)});return}}else if(l===3&&e.stateNode.current.memoizedState.isDehydrated){t.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}t.blockedOn=null}function gi(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var e=Vf(t.nativeEvent);if(e===null){e=t.nativeEvent;var a=new e.constructor(e.type,e);Vi=a,e.target.dispatchEvent(a),Vi=null}else return l=ta(e),l!==null&&y1(l),t.blockedOn=e,!1;l.shift()}return!0}function p1(t,l,e){gi(t)&&e.delete(l)}function b2(){Jf=!1,Le!==null&&gi(Le)&&(Le=null),_e!==null&&gi(_e)&&(_e=null),De!==null&&gi(De)&&(De=null),wn.forEach(p1),Hn.forEach(p1)}function vi(t,l){t.blockedOn===l&&(t.blockedOn=null,Jf||(Jf=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,b2)))}var xi=null;function S1(t){xi!==t&&(xi=t,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){xi===t&&(xi=null);for(var l=0;l<t.length;l+=3){var e=t[l],a=t[l+1],n=t[l+2];if(typeof a!="function"){if(Kf(a||e)===null)continue;break}var u=ta(e);u!==null&&(t.splice(l,3),l-=3,Xc(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}function Ra(t){function l(d){return vi(d,t)}Le!==null&&vi(Le,t),_e!==null&&vi(_e,t),De!==null&&vi(De,t),wn.forEach(l),Hn.forEach(l);for(var e=0;e<Oe.length;e++){var a=Oe[e];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Oe.length&&(e=Oe[0],e.blockedOn===null);)x1(e),e.blockedOn===null&&Oe.shift();if(e=(t.ownerDocument||t).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],i=n[ll]||null;if(typeof u=="function")i||S1(e);else if(i){var s=null;if(u&&u.hasAttribute("formAction")){if(n=u,i=u[ll]||null)s=i.formAction;else if(Kf(n)!==null)continue}else s=i.action;typeof s=="function"?e[a+1]=s:(e.splice(a,3),a-=3),S1(e)}}}function b1(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function l(){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",t),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),n!==null&&(n(),n=null)}}}function Wf(t){this._internalRoot=t}pi.prototype.render=Wf.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(r(409));var e=l.current,a=xl();d1(e,a,t,l,null,null)},pi.prototype.unmount=Wf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;d1(t.current,2,null,t,null,null),Pu(),l[Ie]=null}};function pi(t){this._internalRoot=t}pi.prototype.unstable_scheduleHydration=function(t){if(t){var l=Ds();t={blockedOn:null,target:t,priority:l};for(var e=0;e<Oe.length&&l!==0&&l<Oe[e].priority;e++);Oe.splice(e,0,t),e===0&&x1(t)}};var j1=o.version;if(j1!=="19.2.8")throw Error(r(527,j1,"19.2.8"));U.findDOMNode=function(t){var l=t._reactInternals;if(l===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=M(l),t=t!==null?R(t):null,t=t===null?null:t.stateNode,t};var j2={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Si=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Si.isDisabled&&Si.supportsFiber)try{Va=Si.inject(j2),ol=Si}catch{}}return qn.createRoot=function(t,l){if(!v(t))throw Error(r(299));var e=!1,a="",n=_0,u=D0,i=O0;return l!=null&&(l.unstable_strictMode===!0&&(e=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(n=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(i=l.onRecoverableError)),l=o1(t,1,!1,null,null,e,a,null,n,u,i,b1),t[Ie]=l.current,Of(t),new Wf(l)},qn.hydrateRoot=function(t,l,e){if(!v(t))throw Error(r(299));var a=!1,n="",u=_0,i=D0,s=O0,d=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&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(s=e.onRecoverableError),e.formState!==void 0&&(d=e.formState)),l=o1(t,1,!0,l,e??null,a,n,d,u,i,s,b1),l.context=r1(null),e=l.current,a=xl(),a=Qi(a),n=ge(a),n.callback=null,ve(e,n,a),e=a,l.current.lanes=e,Ja(l,e),kl(l),t[Ie]=l.current,Of(t),new pi(l)},qn.version="19.2.8",qn}var N1;function N2(){if(N1)return Pf.exports;N1=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(o){console.error(o)}}return f(),Pf.exports=O2(),Pf.exports}var U2=N2();const Zy=V1(U2),ds=new Set;function wy(f,o){const h={kind:f,intensity:o==null?void 0:o.intensity,origin:o==null?void 0:o.origin,ts:performance.now()};for(const r of ds)r(h)}function C2(f){return ds.add(f),()=>{ds.delete(f)}}function Hy(f){switch(f){case"correct":return{particles:28,durationMs:700,colors:["#58cc02","#7ed957","#ffc800"]};case"mastery":case"level-up":return{particles:48,durationMs:1100,colors:["#ffc800","#ffe680","#fff7c2"]};case"unlock":return{particles:32,durationMs:800,colors:["#58cc02","#1cb0f6","#ffffff"]};case"exam-pass":return{particles:56,durationMs:1200,colors:["#a855f7","#c084fc","#ffc800"]};case"lesson-complete":return{particles:40,durationMs:1e3,colors:["#58cc02","#ffc800","#1cb0f6"]};case"energy-full":return{particles:36,durationMs:900,colors:["#58cc02","#7ed957","#ffffff"]};case"streak":return{particles:24,durationMs:700,colors:["#ff7a1a","#ffc800","#ffffff"]};case"wrong":return{particles:12,durationMs:450,colors:["#ff4b4b","#ff7a7a"]};default:return{particles:20,durationMs:600,colors:["#58cc02","#ffffff"]}}}const R2=18e4,Z2=1200,w2=4e3,H2=3500,Q2=9e3,B2=1600,q2=2500,U1=2200,as=900;function k2(f){switch(f){case"correct":return{expression:"cheer",pose:"punch",holdMs:900};case"wrong":return{expression:"encourage",pose:"oops",holdMs:1100};case"unlock":return{expression:"happy",pose:"hop",holdMs:1e3};case"mastery":case"level-up":return{expression:"proud",pose:"hop",holdMs:1600};case"streak":return{expression:"flame",pose:"hop",holdMs:1e3};case"energy-full":return{expression:"cheer",pose:"hop",holdMs:1200};case"exam-pass":return{expression:"stars",pose:"hop",holdMs:1800};case"lesson-complete":return{expression:"stars",pose:"hop",holdMs:1400};default:return{expression:"happy",pose:"hop",holdMs:900}}}function Y2(f=0){return{expression:"base",pose:"float",until:null,talking:!1,listening:!1,streaming:!1,sleeping:!1,lastActivity:f,typing:!1,keySeq:0,keySide:1,lastKey:null,correctStreak:0,noteTickUntil:0,lastPress:0,windowFocused:!0,zone:"roam",mode:"front",composerFocused:!1,zoneSince:f,zoneChatAt:null,zoneNbAt:null,zoneNbUntil:0,lastNoteUntil:0,lastScroll:0,pokeSeq:0,importing:!1,grabbed:!1,huffyUntil:0}}function F2(f,o){if(f.importing)return"rail";const h=f.zoneNbAt!==null&&(f.zoneNbUntil===0||o<f.zoneNbUntil);return f.zoneChatAt===null&&!h?"roam":f.zoneChatAt===null||h&&(f.zoneNbAt??0)>(f.zoneChatAt??0)?"notebook":"chat"}function G2(f,o){if(f.composerFocused||f.talking||f.listening||f.streaming||f.importing||f.grabbed)return!1;const h=o-f.lastActivity,r=o-f.lastScroll<B2;return h>Q2||r&&h>q2}function bi(f){return f.listening?"listening":f.talking?"talking":f.streaming?"thinking":f.sleeping?"sleeping":"base"}function ji(f){return f.listening?"lean-right":f.streaming?"lean-left":f.sleeping?"doze":f.typing?"typing":"float"}function X2(f,o){switch(o.type){case"celebration":{const h=o.kind==="correct"?f.correctStreak+1:o.kind==="wrong"?0:f.correctStreak,r=k2(o.kind),v=o.kind==="correct"&&h>=3&&h%3===0;return{...f,sleeping:!1,lastActivity:o.now,correctStreak:h,expression:v?"flame":r.expression,pose:v?"spin":r.pose,until:o.now+(v?1600:r.holdMs)}}case"poke":{const h=["hop","wave","spin"],r={hop:900,wave:1100,spin:800},v=f.pokeSeq+1,S=h[v%h.length];return{...f,sleeping:!1,lastActivity:o.now,mode:"front",pokeSeq:v,expression:"happy",pose:S,until:o.now+(r[S]??900)}}case"talking":case"listening":case"streaming":{const h={...f};return o.type==="talking"&&(h.talking=o.on),o.type==="listening"&&(h.listening=o.on),o.type==="streaming"&&(h.streaming=o.on),h.lastActivity=o.now,h.mode="front",o.on&&(h.sleeping=!1),o.type==="talking"&&(o.on?(h.zoneNbAt=o.now,h.zoneNbUntil=0):h.zoneNbAt!==null&&(h.zoneNbAt=null,h.zoneSince=o.now)),(h.until===null||h.until<=o.now)&&(h.expression=bi(h),h.pose=ji(h),h.until=null),h}case"activity":{const h=f.sleeping,r={...f,sleeping:!1,lastActivity:o.now};return h&&(r.expression=bi(r),r.pose=ji(r),r.until=null),r}case"press":{const h={...f,sleeping:!1,typing:!0,keySeq:f.keySeq+1,keySide:o.side,lastPress:o.now,lastActivity:o.now,lastKey:o.key??null};return(h.until===null||h.until<=o.now)&&(h.expression=bi(h),h.pose=ji(h),h.until=null),h}case"send":return{...f,sleeping:!1,lastActivity:o.now,mode:"front",expression:"happy",pose:"punch",until:o.now+700};case"zoneFocus":{const h={...f,composerFocused:o.on,lastActivity:o.now,mode:"front"};return o.on?h.zoneChatAt=o.now:h.zoneChatAt!==null&&(h.zoneChatAt=null,h.zoneSince=o.now),h}case"zoneNote":{const h={...f,sleeping:!1,lastActivity:o.now,mode:"front"};return h.zoneNbAt=o.now,h.zoneNbUntil=o.now+U1,h.lastNoteUntil=o.now+U1,h.expression="base",h.pose="writing",h.until=h.lastNoteUntil,h}case"noteTick":return{...f,sleeping:!1,lastActivity:o.now,noteTickUntil:o.now+1900,expression:"proud",pose:"writing",until:o.now+1900};case"scroll":return f.lastScroll===o.now?f:{...f,lastScroll:o.now};case"swat":return{...f,sleeping:!1,mode:"front",lastActivity:o.now,expression:"surprised",pose:"flying",until:o.now+as};case"focus":return o.on===f.windowFocused?f:o.on?{...f,windowFocused:!0,sleeping:!1,lastActivity:o.now,mode:"front",expression:"happy",pose:"wave",until:o.now+1100}:{...f,windowFocused:!1};case"examEnter":return{...f,sleeping:!1,mode:"front",lastActivity:o.now,expression:"cheer",pose:"wave",until:o.now+1500};case"importing":return{...f,importing:o.on,lastActivity:o.now,mode:o.on?"front":f.mode};case"importDone":{const h=o.ok;return{...f,importing:!1,sleeping:!1,mode:"front",lastActivity:o.now,expression:h?"stars":"encourage",pose:h?"hop":"oops",until:o.now+(h?1600:1200)}}case"reviewing":return o.on?{...f,sleeping:!1,mode:"front",lastActivity:o.now,expression:"proud",pose:"wave",until:o.now+1100}:{...f,lastActivity:o.now};case"grab":{if(o.on)return{...f,grabbed:!0,sleeping:!1,mode:"front",lastActivity:o.now,expression:"surprised",pose:"flying",until:null};const h=(o.speed??0)>=2.5;return{...f,grabbed:!1,lastActivity:o.now,expression:h?"surprised":"happy",pose:h?"flying":"hop",until:o.now+(h?as:800),huffyUntil:h?o.now+as+1600:f.huffyUntil}}case"dayWelcome":return{...f,sleeping:!1,mode:"front",lastActivity:o.now,expression:"stars",pose:"spin",until:o.now+1700};case"nodePoint":return{...f,sleeping:!1,mode:"front",lastActivity:o.now,expression:"thinking",pose:"lean-left",until:o.now+2600};case"tick":{const h=f.typing&&o.now-f.lastPress<=Z2,r=f.windowFocused?R2:w2,v=!f.talking&&!f.listening&&!f.grabbed&&o.now-f.lastActivity>=r,S=f.until!==null&&o.now>f.until,_=F2(f,o.now);let O=f.zone,D=f.zoneSince;_!==f.zone?_!=="roam"?(O=_,D=o.now):o.now-f.zoneSince>=H2&&(O="roam",D=o.now):D=o.now;const M=G2(f,o.now)?"veil":"front";if(f.sleeping===v&&f.typing===h&&!S&&O===f.zone&&M===f.mode)return f;const R={...f,typing:h,sleeping:v,zone:O,zoneSince:D,mode:M};return(S||v&&f.expression!=="sleeping"||h!==f.typing&&(f.until===null||S)||O!==f.zone&&(R.until===null||S))&&(S&&R.expression==="surprised"&&o.now<f.huffyUntil&&!R.grabbed?(R.expression="huffy",R.pose="oops",R.until=f.huffyUntil):(R.expression=bi(R),R.pose=ji(R),R.until=null)),R}}}const V2=.06,C1={lo:180,hi:900},R1={lo:900,hi:3200};function K2(f,o,h){if(h<=V2)return"closed";const r=Math.min(1,Math.max(0,(o-700)/1800)),v=Math.min(1,Math.max(0,(f-220)/680)),S=[["A",.42,.95],["E",.78,.55],["I",.95,.18],["O",.12,.45],["U",.03,.12]];let _="A",O=1/0;for(const[D,M,R]of S){const Z=(r-M)*(r-M)+(v-R)*(v-R);Z<O&&(O=Z,_=D)}return _}function Qy(f,o){if(f==="closed")return 0;const h=Math.min(1,Math.max(0,o));return Math.round(h*4)/4}function By(f,o,h,r){let v=0;for(let Et=0;Et<f.length;Et++)v+=Math.abs(f[Et]-128);const S=f.length>0?v/f.length/128:0;let _=0,O=0,D=0,M=0,R=0,Z=0;const P=h/r;for(let Et=0;Et<o.length;Et++){const gt=Et*P,Tt=o[Et]/255;Tt<=0||(_+=Tt,O+=Tt*gt,gt>=C1.lo&&gt<C1.hi?(D+=Tt,M+=Tt*gt):gt>=R1.lo&&gt<R1.hi&&(R+=Tt,Z+=Tt*gt))}const Mt=_>0?O/_:0,pt=D>0?M/D:400,ot=R>0?Z/R:800;return{level:S,centroidHz:Mt,f1:pt,f2:ot,viseme:K2(pt,ot,S)}}function xs(f,o){return{x:Math.min(1,Math.max(-1,f)),y:Math.min(1,Math.max(-1,o))}}function J2(f,o,h,r,v){return v<=0?{x:0,y:0}:xs((f-h)/v,(o-r)/v)}function Z1(f,o,h){return f+(o-f)*h}function W2(f){let o=f+1831565813|0;const h=()=>(o=Math.imul(o^o>>>15,o|1),o^=o+Math.imul(o^o>>>7,o|61),((o^o>>>14)>>>0)/4294967296),r=h()*2-1,v=h()*2-1;return xs(r*.75,v*.75)}function $2(f,o){const h=o>f?.55:.12;return f+(o-f)*h}function I2(f){return f<=.02?0:f<.2?.35:f<.55?.7:1}function qy(f,o){return{x:Math.sin(o/1900)*9+Math.sin(o/530)*1.5,y:Math.sin(o/1300)*5}}function ky(f,o,h){const r=o/2,v=f.right-r-14,S=Math.max(f.left+r+14,f.right-r*2.6),_=(v+S)/2,O=Math.max(0,(v-S)/2),D=f.top+96+r,M=f.bottom-r-16,R=(D+M)/2,Z=Math.max(0,(M-D)/2);return{x:_+Math.sin(h/5200)*O+Math.sin(h/1700)*(O*.22),y:R+Math.sin(h/3900)*Z}}function P2(f,o,h){const r=h*.4;return{left:f-r,right:f+r,top:o-r,bottom:o+r}}function ty(f,o,h){for(const r of o)if(f.right+h>r.left&&f.left-h<r.right&&f.bottom+h>r.top&&f.top-h<r.bottom)return!1;return!0}function ly(f,o){let h=0;for(const r of o){const v=Math.min(f.right,r.right)-Math.max(f.left,r.left),S=Math.min(f.bottom,r.bottom)-Math.max(f.top,r.top);v>0&&S>0&&(h+=v*S)}return h}function Yy(f,o,h,r,v){const S=h/2,_=h*.4,O=10,D=(tt,k,rt)=>Math.min(Math.max(tt,k),rt),M=o.left+S+O,R=o.right-S-O,Z=o.top+S+O,P=o.bottom-S-O,Mt=(r==null?void 0:r.last)??f,pt=(r==null?void 0:r.first)??f,ot=v&&v.length?v:[pt,Mt,f],Et=Math.max(...ot.map(tt=>tt.right)),gt=Math.min(...ot.map(tt=>tt.left)),Tt=(f.top+f.bottom)/2,Ot=[{x:Et+S+8,y:Tt,dir:"left"},{x:gt-S-8,y:Tt,dir:"right"},{x:D(Mt.right+S*.4,M,R),y:f.bottom+_+8,dir:"up"},{x:D(pt.left-S*.4,M,R),y:f.top-_-8,dir:"down"}];let Qt=null;for(const tt of Ot){const k={x:D(tt.x,M,R),y:D(tt.y,Z,P)},rt=P2(k.x,k.y,h);if(ty(rt,ot,6))return{...k,dir:tt.dir,occluding:!1};const It=ly(rt,ot);(!Qt||It<Qt.area)&&(Qt={c:k,dir:tt.dir,area:It})}const $t=Qt??{c:{x:R,y:D(P-S*.1,Z,P)},dir:"left"};return{...$t.c,dir:$t.dir,occluding:!0}}const Fy=.85,Gy=.3,Xy=.6;function Vy(f,o,h,r,v=90){const S=1-Math.exp(-h/v);let _=f.x+(o.x-f.x)*S,O=f.y+(o.y-f.y)*S;const D=_-f.x,M=O-f.y,R=Math.hypot(D,M),Z=r*h;return R>Z&&R>0&&(_=f.x+D/R*Z,O=f.y+M/R*Z),{x:_,y:O}}const Ky=6500;function Jy(f,o,h){const r=h.length>0?h:["rail"];if(!r.includes(f))return r[0];if(o<=0||Math.abs(Math.sin(o*12.9898)*43758.5453)%1>=.3)return f;const S=["rail","chat","notebook"];for(let _=1;_<=2;_++){const O=S[(S.indexOf(f)+_)%3];if(r.includes(O))return O}return f}function Wy(f,o){const h=Math.abs(Math.sin(f*7.3171+2.41)*43758.5453)%1;return h>=.34?null:h<.12&&o.hasReview?"review":h<.23&&o.hasNext?"inspect":o.hasFriction?"friction":null}const $y=3e3;function ey(f){return f!=="false"&&f!=="0"}const ay=["ember","frost","moss","astro","ink"],ny="ember";function ps(f){return ay.includes(f??"")?f:ny}let kn=null,K1=!0;function w1(f){K1=f}function uy(){try{if(!kn){const f=window.AudioContext??window.webkitAudioContext;if(!f)return null;kn=new f}return kn.state==="suspended"&&kn.resume(),kn}catch{return null}}function Za(f,o,h,r,v,S=0){const _=f.currentTime+S/1e3,O=f.createOscillator(),D=f.createGain();O.type=v,O.frequency.setValueAtTime(o,_),O.frequency.exponentialRampToValueAtTime(Math.max(40,h),_+r/1e3),D.gain.setValueAtTime(1e-4,_),D.gain.exponentialRampToValueAtTime(.06,_+.012),D.gain.exponentialRampToValueAtTime(1e-4,_+r/1e3),O.connect(D).connect(f.destination),O.start(_),O.stop(_+r/1e3+.02)}function Fn(f){if(!K1)return;const o=uy();if(o)switch(f){case"poke":Za(o,660,990,110,"triangle");break;case"happy":Za(o,523,660,80,"triangle"),Za(o,784,988,110,"triangle",85);break;case"ouch":Za(o,440,180,200,"sawtooth");break;case"land":Za(o,200,120,70,"square");break;case"grab":Za(o,330,300,90,"triangle");break}}let Vn=Y2(Date.now()),Kn=0,Jn=!1,ns=null,Li=!0,Ss=!1,_i=ps(null),Wn=!1,$n=!1,Di=!1,H1=!1,Ei=null;const hs=new Set;let ys=0;function Fa(){Ei={state:Vn,energyRatio:Kn,streakLit:Jn,enabled:Li,enabledLoaded:Ss,form:_i,crowned:Wn,halo:$n,petMode:Di};for(const f of hs)f()}function bt(f){const o=X2(Vn,f);o!==Vn&&(Vn=o,Fa())}async function Q1(){var f,o,h,r;try{const v=await((f=window.api)==null?void 0:f.getSetting("companion_enabled"));Li=ey(v)}catch{Li=!0}Ss=!0;try{const v=await((o=window.api)==null?void 0:o.getSetting("companion_pet_mode")),S=typeof window<"u"&&!!window.__lookatstudyWeb;Di=v==="1"&&!S}catch{Di=!1}try{const v=await((h=window.api)==null?void 0:h.getSetting("companion_sfx"));w1(!(v==="false"||v==="0"))}catch{w1(!0)}try{const v=await((r=window.api)==null?void 0:r.getSetting("companion_form")),S=ps(typeof v=="string"?v:null);S!==_i&&(_i=S)}catch{}Fa()}function iy(){var o,h,r;if(H1)return;H1=!0,C2(v=>{bt({type:"celebration",kind:v.kind,now:Date.now()})});try{(o=window.api)==null||o.on("state:changed",v=>{try{window.dispatchEvent(new CustomEvent("companion-state-changed",{detail:v}))}catch{}v==="xp"?window.api.getXpStatus().then(S=>{const _=S.dailyGoal>0?Math.min(1,S.todayXp/S.dailyGoal):0,O=S.level>=3,D=S.level>=7;(_!==Kn||O!==Wn||D!==$n)&&(Kn=_,Wn=O,$n=D,Fa())}).catch(()=>{}):v==="streak"&&(Jn||(Jn=!0,Fa()),ns&&clearTimeout(ns),ns=setTimeout(()=>{Jn=!1,Fa()},4e3))})}catch{}let f=1;window.addEventListener("keydown",v=>{if(v.repeat)return;const S=f;f=f===1?-1:1;const _=v.key.length===1&&!v.ctrlKey&&!v.metaKey&&!v.altKey?v.key:void 0;bt({type:"press",side:S,now:Date.now(),key:_})},{passive:!0}),window.addEventListener("pointerdown",v=>{bt({type:"press",side:v.clientX<window.innerWidth/2?-1:1,now:Date.now()})},{passive:!0}),window.addEventListener("blur",()=>bt({type:"focus",on:!1,now:Date.now()})),window.addEventListener("focus",()=>bt({type:"focus",on:!0,now:Date.now()})),window.addEventListener("scroll",()=>bt({type:"scroll",now:Date.now()}),{passive:!0,capture:!0}),window.addEventListener("companion-config-changed",()=>{Q1()}),window.addEventListener("companion-zone-focus",v=>{bt({type:"zoneFocus",on:!!Ul(v),now:Date.now()})}),window.addEventListener("companion-talking",v=>{bt({type:"talking",on:!!Ul(v),now:Date.now()})}),window.addEventListener("companion-listening",v=>{bt({type:"listening",on:!!Ul(v),now:Date.now()})}),window.addEventListener("companion-streaming",v=>{bt({type:"streaming",on:!!Ul(v),now:Date.now()})}),window.addEventListener("companion-send",()=>{Fn("happy"),bt({type:"send",now:Date.now()})}),window.addEventListener("companion-note",()=>{bt({type:"zoneNote",now:Date.now()})}),window.addEventListener("companion-poke",()=>{Fn("poke"),bt({type:"poke",now:Date.now()})}),window.addEventListener("companion-swat",()=>{Fn("ouch"),bt({type:"swat",now:Date.now()})}),window.addEventListener("companion-mic-level",v=>{const S=Number(Ul(v));Number.isFinite(S)&&fy(S)}),window.addEventListener("companion-rail-register",v=>{const S=Ul(v);S!=null&&S.sectionId&&qa.sections.set(S.sectionId,{island:S.island,container:S.container})}),window.addEventListener("companion-rail-unregister",v=>{const S=Ul(v);S!=null&&S.sectionId&&qa.sections.delete(S.sectionId)}),window.addEventListener("companion-exam-enter",()=>{bt({type:"examEnter",now:Date.now()})}),window.addEventListener("companion-importing",v=>{bt({type:"importing",on:!!Ul(v),now:Date.now()})}),window.addEventListener("companion-import-done",v=>{bt({type:"importDone",ok:!!Ul(v),now:Date.now()})}),window.addEventListener("companion-reviewing",v=>{bt({type:"reviewing",on:!!Ul(v),now:Date.now()})}),window.addEventListener("companion-grab",v=>{const S=Ul(v);S!=null&&S.on&&Fn("grab"),bt({type:"grab",on:!!(S!=null&&S.on),speed:S==null?void 0:S.speed,now:Date.now()})}),window.addEventListener("companion-node-point",()=>{bt({type:"nodePoint",now:Date.now()})}),window.addEventListener("companion-day-welcome",()=>{bt({type:"dayWelcome",now:Date.now()})}),window.addEventListener("companion-rail-world",v=>{const S=Ul(v);S&&("nav"in S&&(qa.nav=S.nav??null),"visible"in S&&(qa.visible=!!S.visible),"weather"in S&&(qa.weather=S.weather??"clear"))}),setInterval(()=>{bt({type:"tick",now:Date.now()})},500),(h=window.api)==null||h.getXpStatus().then(v=>{Kn=v.dailyGoal>0?Math.min(1,v.todayXp/v.dailyGoal):0,Wn=v.level>=3,$n=v.level>=7}).catch(()=>{}).finally(()=>Fa()),(r=window.api)==null||r.getStreak().then(v=>{const S=v==null?void 0:v.lastActiveDate;if(!S)return;const _=new Date().toISOString().slice(0,10);S<_&&bt({type:"dayWelcome",now:Date.now()})}).catch(()=>{}),Q1()}function Iy(f){return hs.add(f),iy(),()=>{hs.delete(f)}}function Py(){return Ei||(Ei={state:Vn,energyRatio:Kn,streakLit:Jn,enabled:Li,enabledLoaded:Ss,form:_i,crowned:Wn,halo:$n,petMode:Di}),Ei}function Ul(f){return f.detail}function Kt(f,o){try{window.dispatchEvent(new CustomEvent(f,{detail:o}))}catch{}}function t5(){Kt("companion-poke")}function l5(f){Kt("companion-talking",f)}function e5(f){Kt("companion-listening",f)}function a5(f){Kt("companion-streaming",f)}function n5(){Kt("companion-send")}function cy(){return I2(ys)}function u5(f){Kt("companion-zone-focus",f)}function i5(){bt({type:"noteTick",now:Date.now()})}function c5(){Kt("companion-note")}function f5(){Kt("companion-swat")}function s5(f){Kt("companion-mic-level",Math.min(1,Math.max(0,f)))}function fy(f){ys=$2(ys,Math.min(1,Math.max(0,f)))}function o5(f,o,h){Kt("companion-rail-register",{sectionId:f,island:o,container:h})}function r5(f){Kt("companion-rail-unregister",{sectionId:f})}function d5(f){Kt("companion-importing",f)}function h5(f){Kt("companion-import-done",f)}function y5(f){Kt("companion-reviewing",f)}function m5(f,o){Kt("companion-grab",{on:f,speed:o})}function g5(){Kt("companion-node-point")}function v5(){Fn("land")}function x5(f){Kt("companion-rail-world",f)}const qa={nav:null,visible:!1,weather:"clear",sections:new Map};function p5(){return qa}const J1="(prefers-reduced-motion: reduce)";function sy(f){const o=window.matchMedia(J1);return o.addEventListener("change",f),()=>o.removeEventListener("change",f)}function oy(){return window.matchMedia(J1).matches}function ry(){return!1}function dy(){return pl.useSyncExternalStore(sy,oy,ry)}function In(f){return{sleep:f==="sleeping",smile:f==="happy"||f==="cheer"||f==="proud",star:f==="stars"||f==="flame",thinking:f==="thinking",listening:f==="listening",encourage:f==="encourage",proud:f==="proud",surprised:f==="surprised",huffy:f==="huffy"}}const hy={closed:1,A:1.06,E:1.2,I:1.26,O:.9,U:.84,SS:1.18,L:1,FV:.96};function Pn({expression:f,flags:o,refs:h,p:r,viseme:v,openScale:S,renderMouth:_}){const O=v==="closed";return c.jsxs("g",{className:"cp-face cp-face-pop",transform:o.thinking?"translate(-1.5 -1)":void 0,children:[c.jsx("g",{ref:h.eyes,className:"cp-eyes",style:{transformBox:"fill-box",transformOrigin:"center"},children:o.sleep?c.jsxs(c.Fragment,{children:[c.jsx("path",{d:"M77,68 h14",stroke:r.ink,strokeWidth:"4",strokeLinecap:"round"}),c.jsx("path",{d:"M109,68 h14",stroke:r.ink,strokeWidth:"4",strokeLinecap:"round"})]}):o.smile?c.jsxs(c.Fragment,{children:[c.jsx("path",{d:"M77,71 Q84,62 91,71",fill:"none",stroke:r.ink,strokeWidth:"4.5",strokeLinecap:"round"}),c.jsx("path",{d:"M109,71 Q116,62 123,71",fill:"none",stroke:r.ink,strokeWidth:"4.5",strokeLinecap:"round"})]}):o.star?c.jsxs("g",{className:"cp-star-tw",children:[c.jsx("path",{d:"M84,60 L86.2,66 L92,68.2 L86.2,70.4 L84,76.4 L81.8,70.4 L76,68.2 L81.8,66 Z",fill:r.crown,stroke:r.crownD,strokeWidth:"1.5"}),c.jsx("path",{d:"M116,60 L118.2,66 L124,68.2 L118.2,70.4 L116,76.4 L113.8,70.4 L108,68.2 L113.8,66 Z",fill:r.crown,stroke:r.crownD,strokeWidth:"1.5"})]}):c.jsxs(c.Fragment,{children:[c.jsx("rect",{x:o.surprised?"75":"76",y:o.surprised?"59":o.listening?"61":"62",width:o.surprised?"18":"16",height:o.surprised?"17":o.listening?"15":"13",rx:"6",fill:r.ink}),c.jsx("rect",{x:o.surprised?"107":"108",y:o.surprised?"59":o.listening?"61":"62",width:o.surprised?"18":"16",height:o.surprised?"17":o.listening?"15":"13",rx:"6",fill:r.ink}),c.jsxs("g",{ref:h.pupils,className:"cp-pupils",children:[c.jsx("rect",{x:"82",y:o.surprised?"64":"66",width:"4.5",height:"5.5",rx:"1.5",fill:r.pupil}),c.jsx("rect",{x:"114",y:o.surprised?"64":"66",width:"4.5",height:"5.5",rx:"1.5",fill:r.pupil})]})]})}),c.jsx("g",{className:"cp-mouth",style:{transformBox:"fill-box",transformOrigin:"center",transform:O?void 0:`scale(${(hy[v]*(.72+S*.28)).toFixed(3)}, ${(.72+S*.28).toFixed(3)})`},children:_(v,r)})]},f)}function tu({flags:f,refs:o,p:h}){return c.jsxs(c.Fragment,{children:[f.thinking&&c.jsxs(c.Fragment,{children:[c.jsx("rect",{x:"68",y:"42",width:"22",height:"5",rx:"2.5",fill:h.out,transform:"rotate(10 79 44)"}),c.jsx("rect",{x:"110",y:"42",width:"22",height:"5",rx:"2.5",fill:h.out,transform:"rotate(-10 121 44)"})]}),f.listening&&c.jsx("g",{ref:o.waves,className:"cp-waves-wrap",children:c.jsxs("g",{stroke:h.wave,strokeWidth:"3",fill:"none",strokeLinecap:"round",className:"cp-waves",children:[c.jsx("path",{d:"M168,64 a10,10 0 0 1 0,16"}),c.jsx("path",{d:"M174,60 a16,16 0 0 1 0,24",opacity:"0.66"}),c.jsx("path",{d:"M180,56 a22,22 0 0 1 0,32",opacity:"0.4"})]})}),f.encourage&&c.jsx("path",{d:"M156,44 C160,50 160,55 156,57 C152,55 152,50 156,44 Z",fill:h.wave,stroke:h.out,strokeWidth:"2",className:"cp-sweat"}),f.huffy&&c.jsxs("g",{className:"cp-huffy",children:[c.jsx("circle",{cx:"66",cy:"92",r:"7.5",fill:h.wave,opacity:"0.5",stroke:h.out,strokeWidth:"1.5"}),c.jsx("circle",{cx:"134",cy:"92",r:"7.5",fill:h.wave,opacity:"0.5",stroke:h.out,strokeWidth:"1.5"})]}),f.sleep&&c.jsxs("g",{className:"cp-zzz",stroke:h.ink,strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("path",{d:"M150,34 h9 l-9,9 h9"}),c.jsx("path",{d:"M166,24 h7 l-7,7 h7",opacity:"0.7"}),c.jsx("path",{d:"M179,16 h5 l-5,5 h5",opacity:"0.45"})]}),f.proud&&c.jsxs("g",{children:[c.jsx("path",{d:"M108,30 L112,12 L120,24 L128,8 L136,24 L144,12 L148,30 Z",fill:h.crown,stroke:h.crownD,strokeWidth:"3",strokeLinejoin:"round"}),c.jsx("circle",{cx:"128",cy:"24",r:"3",fill:h.wave,stroke:h.crownD,strokeWidth:"1.5"})]})]})}function lu({tint:f="rgba(20,16,28,0.35)"}){return c.jsx("ellipse",{cx:"100",cy:"189",rx:"33",ry:"6.5",fill:f,className:"cp-shadow"})}function bl({id:f,x:o,y:h,w:r,h:v,t:S=5,inverted:_=!1,light:O,dark:D}){const M=O??(_?"rgba(8,16,30,0.55)":"rgba(255,255,255,0.5)"),R=D??(_?"rgba(255,255,255,0.3)":"rgba(20,16,28,0.42)");return c.jsxs("g",{clipPath:`url(#${f})`,children:[c.jsx("path",{d:`M${o},${h} H${o+r} V${h+S} H${o+S} V${h+v} H${o} Z`,fill:M}),c.jsx("path",{d:`M${o+r-S},${h} H${o+r} V${h+v} H${o} V${h+v-S} H${o+r-S} Z`,fill:R})]})}function eu({refs:f,armFill:o,out:h,glove:r="#FFFFFF"}){return c.jsxs(c.Fragment,{children:[c.jsxs("g",{ref:f.armL,className:"cp-arm cp-armL",children:[c.jsx("rect",{x:"47",y:"113",width:"19",height:"30",rx:"9.5",fill:o,stroke:h,strokeWidth:"4"}),c.jsx("circle",{cx:"56.5",cy:"146",r:"8.5",fill:r,stroke:h,strokeWidth:"4"})]}),c.jsxs("g",{ref:f.armR,className:"cp-arm cp-armR",children:[c.jsx("rect",{x:"134",y:"113",width:"19",height:"30",rx:"9.5",fill:o,stroke:h,strokeWidth:"4"}),c.jsx("circle",{cx:"143.5",cy:"146",r:"8.5",fill:r,stroke:h,strokeWidth:"4"})]})]})}const B1={out:"#2B2530",ink:"#173047",pupil:"#35E0E8",wave:"#7FD1E8",crown:"#FFC800",crownD:"#E8A400"},q1="#E8563F",us="#C23A2C",wa="#35E0E8",Mi="#1899B0",k1="#1E2A3E",Yn="#FFC800",Ht="#2B2530";function yy(f,o){switch(f){case"A":return c.jsx("path",{d:"M91,78 h18 a4,4 0 0 1 4,4 v4 a4,4 0 0 1 -4,4 h-18 a4,4 0 0 1 -4,-4 v-4 a4,4 0 0 1 4,-4 Z M95,81 h10 v3 h-10 Z",fill:o.ink,fillRule:"evenodd"});case"E":return c.jsx("path",{d:"M90,80 h20 a3,3 0 0 1 0,6 h-20 a3,3 0 0 1 0,-6 Z",fill:o.ink});case"I":return c.jsx("path",{d:"M90,82 h20 a1.8,1.8 0 0 1 0,3.6 h-20 a1.8,1.8 0 0 1 0,-3.6 Z",fill:o.ink});case"O":return c.jsx("path",{d:"M100,76 a7,7.5 0 1 1 -0.01,0 Z",fill:o.ink});case"U":return c.jsx("path",{d:"M100,76.5 a4.5,7.5 0 1 1 -0.01,0 Z",fill:o.ink});case"SS":return c.jsxs("g",{children:[c.jsx("path",{d:"M87,80 h26 a2.6,2.6 0 0 1 2.6,2.6 v1.6 a2.6,2.6 0 0 1 -2.6,2.6 h-26 a2.6,2.6 0 0 1 -2.6,-2.6 v-1.6 a2.6,2.6 0 0 1 2.6,-2.6 Z",fill:o.ink}),c.jsx("rect",{x:"90",y:"80.4",width:"7",height:"2",rx:"1",fill:"#FFFFFF"}),c.jsx("rect",{x:"99",y:"80.4",width:"7",height:"2",rx:"1",fill:"#FFFFFF",opacity:"0.9"}),c.jsx("rect",{x:"108",y:"80.4",width:"4.4",height:"2",rx:"1",fill:"#FFFFFF",opacity:"0.75"})]});case"L":return c.jsxs("g",{children:[c.jsx("path",{d:"M92,77 h16 a4,4 0 0 1 4,4 v5 a4,4 0 0 1 -4,4 h-16 a4,4 0 0 1 -4,-4 v-5 a4,4 0 0 1 4,-4 Z",fill:o.ink}),c.jsx("path",{d:"M95.5,84.5 Q100,78.5 104.5,84.5 Q100,87.5 95.5,84.5 Z",fill:"#FF9DB0",stroke:o.ink,strokeWidth:"1.4",strokeLinejoin:"round"})]});case"FV":return c.jsxs("g",{children:[c.jsx("path",{d:"M93,80.5 Q100,77.5 107,80.5 Q107,86.5 100,87 Q93,86.5 93,80.5 Z",fill:"#E8563F",stroke:o.ink,strokeWidth:"1.8",strokeLinejoin:"round"}),c.jsx("rect",{x:"93.5",y:"78.6",width:"13",height:"3.6",rx:"1.8",fill:"#FFFFFF",stroke:o.ink,strokeWidth:"1.4"})]});default:return c.jsx("path",{d:"M92,83 Q100,88 108,83",fill:"none",stroke:o.ink,strokeWidth:"3.5",strokeLinecap:"round"})}}function my({uid:f,refs:o,expression:h,viseme:r,openScale:v,energyRatio:S,streakLit:_}){const O=In(h);return c.jsxs(c.Fragment,{children:[c.jsxs("defs",{children:[c.jsx("clipPath",{id:`${f}-body`,children:c.jsx("rect",{x:"64",y:"110",width:"72",height:"50",rx:"16"})}),c.jsx("clipPath",{id:`${f}-helm`,children:c.jsx("rect",{x:"46",y:"30",width:"108",height:"78",rx:"20"})}),c.jsx("clipPath",{id:`${f}-scr`,children:c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"8"})}),c.jsx("clipPath",{id:`${f}-podL`,children:c.jsx("rect",{x:"36",y:"60",width:"12",height:"24",rx:"6"})}),c.jsx("clipPath",{id:`${f}-podR`,children:c.jsx("rect",{x:"152",y:"60",width:"12",height:"24",rx:"6"})}),c.jsx("clipPath",{id:`${f}-bezel`,children:c.jsx("rect",{x:"58",y:"48",width:"84",height:"46",rx:"12"})}),c.jsx("clipPath",{id:`${f}-core`,children:c.jsx("rect",{x:"84",y:151-Math.round(S*32),width:"32",height:Math.max(0,Math.round(S*32)+1)})})]}),c.jsx(lu,{}),c.jsxs("g",{ref:o.bot,className:"cp-bot",children:[c.jsxs("g",{className:"cp-thrust",children:[c.jsx("ellipse",{cx:"100",cy:"177",rx:"11",ry:"8",fill:_?Yn:wa,opacity:"0.35"}),c.jsx("ellipse",{cx:"100",cy:"176",rx:"7",ry:"5",fill:_?Yn:wa})]}),c.jsx("path",{d:"M88,158 L112,158 L106,171 L94,171 Z",fill:"#3A3440",stroke:Ht,strokeWidth:"4",strokeLinejoin:"round"}),c.jsx("path",{d:"M100,160 v8",stroke:Ht,strokeWidth:"2.5",strokeLinecap:"round"}),c.jsx("circle",{cx:"92",cy:"164",r:"1.5",fill:Ht,opacity:"0.6"}),c.jsx("circle",{cx:"108",cy:"164",r:"1.5",fill:Ht,opacity:"0.6"}),c.jsx(eu,{refs:o,armFill:us,out:Ht}),c.jsxs("g",{className:"cp-body",children:[c.jsxs("g",{clipPath:`url(#${f}-body)`,children:[c.jsx("rect",{x:"64",y:"110",width:"72",height:"50",rx:"16",fill:us}),c.jsx("rect",{x:"64",y:"110",width:"72",height:"50",rx:"16",fill:q1,transform:"translate(-4 -4)"})]}),c.jsx("rect",{x:"64",y:"110",width:"72",height:"50",rx:"16",fill:"none",stroke:Ht,strokeWidth:"5"}),c.jsx(bl,{id:`${f}-body`,x:64,y:110,w:72,h:50,t:5}),c.jsx("path",{d:"M68,146 h9 M68,151 h9 M123,146 h9 M123,151 h9",stroke:Ht,strokeWidth:"2.2",strokeLinecap:"round",opacity:"0.55"}),c.jsx("circle",{cx:"100",cy:"135",r:"16.5",fill:k1,stroke:Ht,strokeWidth:"4.5"}),c.jsx("circle",{cx:"100",cy:"135",r:"12",fill:Mi}),c.jsx("g",{clipPath:`url(#${f}-core)`,children:c.jsx("circle",{cx:"100",cy:"135",r:"12",fill:_?Yn:wa})}),c.jsx("path",{d:"M92,127 a11,11 0 0 1 8,-3",fill:"none",stroke:"#FFFFFF",strokeWidth:"2.5",strokeLinecap:"round",opacity:"0.75"}),c.jsx("circle",{cx:"72",cy:"152",r:"1.6",fill:Ht,opacity:"0.5"}),c.jsx("circle",{cx:"128",cy:"152",r:"1.6",fill:Ht,opacity:"0.5"})]}),c.jsxs("g",{ref:o.head,className:"cp-head",children:[c.jsxs("g",{className:"cp-antenna",children:[c.jsx("path",{d:_?"M42,60 C38,52 30,48 28,40 C34,42 38,46 42,44 Z":"M42,60 L35,44",fill:_?Yn:"none",stroke:Ht,strokeWidth:"4",strokeLinecap:"round"}),c.jsx("circle",{cx:_?32:35,cy:"40",r:_?7:5.5,fill:_?Yn:wa,stroke:Ht,strokeWidth:"3.5"}),!_&&c.jsx("circle",{cx:"35",cy:"40",r:"9",fill:wa,opacity:"0.25",className:"cp-ant-glow"})]}),c.jsx("rect",{x:"36",y:"60",width:"12",height:"24",rx:"6",fill:Mi,stroke:Ht,strokeWidth:"4"}),c.jsx("rect",{x:"152",y:"60",width:"12",height:"24",rx:"6",fill:Mi,stroke:Ht,strokeWidth:"4"}),c.jsx(bl,{id:`${f}-podL`,x:36,y:60,w:12,h:24,t:3}),c.jsx(bl,{id:`${f}-podR`,x:152,y:60,w:12,h:24,t:3}),c.jsxs("g",{clipPath:`url(#${f}-helm)`,children:[c.jsx("rect",{x:"46",y:"30",width:"108",height:"78",rx:"20",fill:us}),c.jsx("rect",{x:"46",y:"30",width:"108",height:"78",rx:"20",fill:q1,transform:"translate(-5 -5)"})]}),c.jsx("rect",{x:"46",y:"30",width:"108",height:"78",rx:"20",fill:"none",stroke:Ht,strokeWidth:"5"}),c.jsx(bl,{id:`${f}-helm`,x:46,y:30,w:108,h:78,t:5}),c.jsx("circle",{cx:"52",cy:"100",r:"2",fill:Ht,opacity:"0.5"}),c.jsx("circle",{cx:"148",cy:"100",r:"2",fill:Ht,opacity:"0.5"}),c.jsx("path",{d:"M132,49 h8 M132,53 h8",stroke:Ht,strokeWidth:"2",strokeLinecap:"round",opacity:"0.55"}),c.jsx("rect",{x:"58",y:"37",width:"46",height:"9",rx:"4.5",fill:"#FFFFFF",opacity:"0.92"}),c.jsx("rect",{x:"110",y:"37",width:"18",height:"9",rx:"4.5",fill:"#FFFFFF",opacity:"0.55"}),c.jsx("rect",{x:"58",y:"48",width:"84",height:"46",rx:"12",fill:k1,stroke:Ht,strokeWidth:"4.5"}),c.jsx(bl,{id:`${f}-bezel`,x:58,y:48,w:84,h:46,t:4,inverted:!0}),c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"8",fill:wa}),c.jsxs("g",{clipPath:`url(#${f}-scr)`,children:[c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",fill:Mi,transform:"translate(0 15)"}),c.jsx("path",{d:"M120,54 L136,54 L108,88 L92,88 Z",fill:"#FFFFFF",opacity:"0.14"})]}),c.jsx(Pn,{expression:h,flags:O,refs:o,p:B1,viseme:r,openScale:v,renderMouth:yy}),c.jsx(tu,{flags:O,refs:o,p:B1})]})]})]})}const Y1={out:"#232B3A",ink:"#1C4E63",pupil:"#A8E4F0",wave:"#7FD1E8",crown:"#FFD75E",crownD:"#D9A400"},is="#C9EEF7",cs="#7CC4DC",gy="#EAF9FD",fs="#C4E9F2",W1="#2E4A5E",Ga="#BFF3FF",vy="#6FA9BD",ka="#FFD75E",fl="#232B3A";function xy({energyRatio:f,uid:o}){const h=Math.round(Math.min(1,Math.max(0,f))*6),r=v=>{const S=(v*60-90)*(Math.PI/180),_=((v+1)*60-90)*(Math.PI/180),O=4.5,D=11.5;return`M${(100+Math.cos(S)*O).toFixed(1)},${(135+Math.sin(S)*O).toFixed(1)}
50
+ L${(100+Math.cos(S)*D).toFixed(1)},${(135+Math.sin(S)*D).toFixed(1)}
51
+ L${(100+Math.cos((S+_)/2)*(D-1)).toFixed(1)},${(135+Math.sin((S+_)/2)*(D-1)).toFixed(1)}
52
+ L${(100+Math.cos(_)*D).toFixed(1)},${(135+Math.sin(_)*D).toFixed(1)}
53
+ L${(100+Math.cos(_)*O).toFixed(1)},${(135+Math.sin(_)*O).toFixed(1)} Z`};return c.jsxs("g",{children:[c.jsx("path",{d:"M100,117 L114,135 L100,153 L86,135 Z",fill:W1,stroke:fl,strokeWidth:"4",strokeLinejoin:"round"}),Array.from({length:6},(v,S)=>c.jsx("path",{d:r(S),fill:S<h?Ga:vy,stroke:fl,strokeWidth:"1.4",strokeLinejoin:"round",opacity:S<h?1:.55},S)),c.jsx("circle",{cx:"100",cy:"135",r:"3.2",fill:h>=6?ka:Ga,stroke:fl,strokeWidth:"1.6"}),c.jsx("path",{d:"M94,124 L98,119",stroke:"#FFFFFF",strokeWidth:"2",strokeLinecap:"round",opacity:"0.8"}),c.jsx("rect",{x:"0",y:"0",width:"0",height:"0",fill:"none","data-uid":o})]})}function py(f,o){switch(f){case"A":return c.jsx("path",{d:"M92,77 L108,77 L113,81 L108,89 L92,89 L87,81 Z M95,80 L105,80 L105,86 L95,86 Z",fill:o.ink,fillRule:"evenodd"});case"E":return c.jsx("path",{d:"M90,79 L110,79 L113,82 L110,85 L90,85 L87,82 Z",fill:o.ink});case"I":return c.jsx("path",{d:"M90,81 L110,81 L111.5,82.8 L110,84.6 L90,84.6 L88.5,82.8 Z",fill:o.ink});case"O":return c.jsx("path",{d:"M100,75 L106,82 L100,90 L94,82 Z M100,79 L102.8,82 L100,85.4 L97.2,82 Z",fill:o.ink,fillRule:"evenodd"});case"U":return c.jsx("path",{d:"M100,75.5 L104,82 L100,89 L96,82 Z M100,79.5 L101.8,82 L100,84.6 L98.2,82 Z",fill:o.ink,fillRule:"evenodd"});case"SS":return c.jsxs("g",{children:[c.jsx("path",{d:"M87,80 L113,80 L111.5,84.5 L88.5,84.5 Z",fill:o.ink}),c.jsx("path",{d:"M90,80.4 L96,80.4 L94.6,84.1 L91,84.1 Z",fill:"#FFFFFF"}),c.jsx("path",{d:"M98.5,80.4 L104,80.4 L103,84.1 L99,84.1 Z",fill:"#FFFFFF",opacity:"0.9"}),c.jsx("path",{d:"M106.5,80.4 L110.6,80.4 L109.6,84.1 L107,84.1 Z",fill:"#FFFFFF",opacity:"0.75"})]});case"L":return c.jsxs("g",{children:[c.jsx("path",{d:"M92,77 L108,77 L113,81 L108,89 L92,89 L87,81 Z M95,80 L105,80 L105,86 L95,86 Z",fill:o.ink,fillRule:"evenodd"}),c.jsx("path",{d:"M95.5,85.5 L100,78.5 L104.5,85.5 Q100,87.8 95.5,85.5 Z",fill:"#BFF3FF",stroke:o.ink,strokeWidth:"1.4",strokeLinejoin:"round"})]});case"FV":return c.jsxs("g",{children:[c.jsx("path",{d:"M93,80.5 Q100,77.8 107,80.5 Q107.5,86.2 100,87 Q92.5,86.2 93,80.5 Z",fill:"#7CC4DC",stroke:o.ink,strokeWidth:"1.8",strokeLinejoin:"round"}),c.jsx("path",{d:"M93.5,79 L106.5,79 L105.8,82.6 L94.2,82.6 Z",fill:"#FFFFFF",stroke:o.ink,strokeWidth:"1.4",strokeLinejoin:"round"})]});default:return c.jsx("path",{d:"M92,83 L100,86.5 L108,83",fill:"none",stroke:o.ink,strokeWidth:"3.5",strokeLinecap:"round",strokeLinejoin:"round"})}}function Sy({uid:f,refs:o,expression:h,viseme:r,openScale:v,energyRatio:S,streakLit:_}){const O=In(h);return c.jsxs(c.Fragment,{children:[c.jsxs("defs",{children:[c.jsx("clipPath",{id:`${f}-body`,children:c.jsx("path",{d:"M70,110 L130,110 L142,122 L138,156 L62,156 L58,122 Z"})}),c.jsx("clipPath",{id:`${f}-helm`,children:c.jsx("path",{d:"M54,40 L76,26 L124,26 L146,40 L150,64 L142,96 L58,96 L50,64 Z"})}),c.jsx("clipPath",{id:`${f}-scr`,children:c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"6"})})]}),c.jsx(lu,{tint:"rgba(24,34,48,0.32)"}),c.jsxs("g",{ref:o.bot,className:"cp-bot",children:[c.jsxs("g",{className:"cp-thrust",children:[c.jsx("ellipse",{cx:"100",cy:"177",rx:"11",ry:"8",fill:_?ka:Ga,opacity:"0.35"}),c.jsx("ellipse",{cx:"100",cy:"176",rx:"7",ry:"5",fill:_?ka:Ga})]}),c.jsx("path",{d:"M90,158 L110,158 L104,171 L96,171 Z",fill:"#2E3A4A",stroke:fl,strokeWidth:"4",strokeLinejoin:"round"}),c.jsx(eu,{refs:o,armFill:cs,out:fl}),c.jsxs("g",{className:"cp-body",children:[c.jsxs("g",{clipPath:`url(#${f}-body)`,children:[c.jsx("path",{d:"M70,110 L130,110 L142,122 L138,156 L62,156 L58,122 Z",fill:cs}),c.jsx("path",{d:"M70,110 L130,110 L142,122 L138,156 L62,156 L58,122 Z",fill:is,transform:"translate(-5 -5)"})]}),c.jsx("path",{d:"M70,110 L130,110 L142,122 L138,156 L62,156 L58,122 Z",fill:"none",stroke:fl,strokeWidth:"5",strokeLinejoin:"round"}),c.jsx(bl,{id:`${f}-body`,x:58,y:110,w:84,h:46,t:4,light:"rgba(255,255,255,0.6)",dark:"rgba(24,58,82,0.4)"}),c.jsx(xy,{energyRatio:S,uid:f}),c.jsx("circle",{cx:"74",cy:"150",r:"1.5",fill:fl,opacity:"0.45"}),c.jsx("circle",{cx:"126",cy:"150",r:"1.5",fill:fl,opacity:"0.45"})]}),c.jsxs("g",{ref:o.head,className:"cp-head",children:[c.jsxs("g",{className:"cp-antenna",children:[c.jsx("path",{d:"M40,58 L36,38 L44,50 Z",fill:_?ka:Ga,stroke:fl,strokeWidth:"3.5",strokeLinejoin:"round"}),c.jsx("path",{d:"M46,56 L46,42 L52,52 Z",fill:_?ka:is,stroke:fl,strokeWidth:"3",strokeLinejoin:"round"}),_&&c.jsx("path",{d:"M28,34 l3,-3 m-1,7 l3,-3 m-9,-1 l3,-3",stroke:ka,strokeWidth:"2.2",strokeLinecap:"round"}),!_&&c.jsx("circle",{cx:"40",cy:"38",r:"8",fill:Ga,opacity:"0.22",className:"cp-ant-glow"})]}),c.jsx("path",{d:"M42,60 L42,84 L48,88 L54,84 L54,60 L48,56 Z",fill:fs,stroke:fl,strokeWidth:"4",strokeLinejoin:"round"}),c.jsx("path",{d:"M146,60 L146,84 L152,88 L158,84 L158,60 L152,56 Z",fill:fs,stroke:fl,strokeWidth:"4",strokeLinejoin:"round"}),c.jsxs("g",{clipPath:`url(#${f}-helm)`,children:[c.jsx("path",{d:"M54,40 L76,26 L124,26 L146,40 L150,64 L142,96 L58,96 L50,64 Z",fill:cs}),c.jsx("path",{d:"M54,40 L76,26 L124,26 L146,40 L150,64 L142,96 L58,96 L50,64 Z",fill:is,transform:"translate(-5 -5)"}),c.jsx("path",{d:"M60,34 L74,28 M132,28 L146,34",stroke:"#FFFFFF",strokeWidth:"2.4",strokeLinecap:"round",opacity:"0.75"})]}),c.jsx("path",{d:"M54,40 L76,26 L124,26 L146,40 L150,64 L142,96 L58,96 L50,64 Z",fill:"none",stroke:fl,strokeWidth:"5",strokeLinejoin:"round"}),c.jsx(bl,{id:`${f}-helm`,x:50,y:26,w:100,h:70,t:4,light:"rgba(255,255,255,0.55)",dark:"rgba(24,58,82,0.38)"}),c.jsx("path",{d:"M58,36 L96,36 L90,45 L54,45 Z",fill:"#FFFFFF",opacity:"0.9"}),c.jsx("path",{d:"M104,36 L118,36 L112,45 L102,45 Z",fill:"#FFFFFF",opacity:"0.5"}),c.jsx("path",{d:"M58,48 h84 a8,8 0 0 1 8,8 v30 a8,8 0 0 1 -8,8 h-84 a8,8 0 0 1 -8,-8 v-30 a8,8 0 0 1 8,-8 Z",fill:W1,stroke:fl,strokeWidth:"4.5"}),c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"6",fill:gy}),c.jsxs("g",{clipPath:`url(#${f}-scr)`,children:[c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",fill:fs,transform:"translate(0 15)"}),c.jsx("path",{d:"M118,54 L136,54 L108,88 L90,88 Z",fill:"#FFFFFF",opacity:"0.18"})]}),c.jsx(Pn,{expression:h,flags:O,refs:o,p:Y1,viseme:r,openScale:v,renderMouth:py}),c.jsx(tu,{flags:O,refs:o,p:Y1})]})]})]})}const F1={out:"#2A3326",ink:"#2F5D3A",pupil:"#9BEFA9",wave:"#8FDBA0",crown:"#FFC800",crownD:"#D9A400"},ce="#9BEFA9",ss="#57BD74",ms="#3E8E55",by="#F4FBE8",$1="#D7F0C8",I1="#3A4A34",os="#FFC800",Vt="#2A3326";function jy({energyRatio:f}){const o=Math.min(1,Math.max(0,f)),h=10+o*30,r=2+o*6;return c.jsxs("g",{children:[c.jsx("circle",{cx:"100",cy:"135",r:"16.5",fill:I1,stroke:Vt,strokeWidth:"4.5"}),c.jsx("circle",{cx:"100",cy:"135",r:"12.5",fill:$1}),c.jsx("path",{d:`M100,141 Q${100-o*2},${135-r} 100,${129-r}`,fill:"none",stroke:ms,strokeWidth:"3",strokeLinecap:"round"}),c.jsx("g",{transform:`rotate(${-h} 100 133)`,children:c.jsx("path",{d:"M100,133 C95,127 87,127 85,131 C88,136 96,137 100,133 Z",fill:ce,stroke:Vt,strokeWidth:"2.6",strokeLinejoin:"round"})}),c.jsx("g",{transform:`rotate(${h} 100 133)`,children:c.jsx("path",{d:"M100,133 C105,127 113,127 115,131 C112,136 104,137 100,133 Z",fill:ce,stroke:Vt,strokeWidth:"2.6",strokeLinejoin:"round"})}),c.jsx("ellipse",{cx:"100",cy:"140",rx:"5.5",ry:"4",fill:"#7A5A3A",stroke:Vt,strokeWidth:"2.4"}),c.jsx("path",{d:"M95,130.5 Q97,128.5 99.5,129",stroke:"#FFFFFF",strokeWidth:"1.8",fill:"none",strokeLinecap:"round",opacity:"0.7"})]})}function My(f,o){switch(f){case"A":return c.jsx("path",{d:"M92,77 Q100,74 108,77 Q110,86 100,89 Q90,86 92,77 Z M96,79 Q100,81 104,79 Q103,83 100,84.5 Q97,83 96,79 Z",fill:o.ink,fillRule:"evenodd"});case"E":return c.jsx("path",{d:"M91,79.5 Q100,77 109,79.5 Q109,85 100,86 Q91,85 91,79.5 Z",fill:o.ink});case"I":return c.jsx("path",{d:"M91,81.5 Q100,80 109,81.5 Q109,84.5 100,85.2 Q91,84.5 91,81.5 Z",fill:o.ink});case"O":return c.jsx("path",{d:"M100,75.5 C105,75.5 107.5,80 107.5,83 C107.5,86.5 104.5,89.5 100,89.5 C95.5,89.5 92.5,86.5 92.5,83 C92.5,80 95,75.5 100,75.5 Z M100,79.5 C102.5,79.5 104,81 104,83 C104,85 102.3,86.3 100,86.3 C97.7,86.3 96,85 96,83 C96,81 97.5,79.5 100,79.5 Z",fill:o.ink,fillRule:"evenodd"});case"U":return c.jsx("path",{d:"M100,76 C103,76 105,79.5 105,83 C105,86.3 103,89 100,89 C97,89 95,86.3 95,83 C95,79.5 97,76 100,76 Z M100,79.5 C101.3,79.5 102.2,81 102.2,83 C102.2,85 101.3,86.3 100,86.3 C98.7,86.3 97.8,85 97.8,83 C97.8,81 98.7,79.5 100,79.5 Z",fill:o.ink,fillRule:"evenodd"});case"SS":return c.jsxs("g",{children:[c.jsx("path",{d:"M88,80 Q100,78 112,80 Q112.5,85.5 100,86 Q87.5,85.5 88,80 Z",fill:o.ink}),c.jsx("rect",{x:"91",y:"80.6",width:"6.5",height:"2.6",rx:"1.3",fill:"#FFFFFF"}),c.jsx("rect",{x:"99",y:"80.4",width:"6.5",height:"2.8",rx:"1.4",fill:"#FFFFFF",opacity:"0.9"}),c.jsx("rect",{x:"106.6",y:"80.7",width:"4.2",height:"2.5",rx:"1.25",fill:"#FFFFFF",opacity:"0.75"})]});case"L":return c.jsxs("g",{children:[c.jsx("path",{d:"M92,77 Q100,74 108,77 Q110,86 100,89 Q90,86 92,77 Z M96,79 Q100,81 104,79 Q103,83 100,84.5 Q97,83 96,79 Z",fill:o.ink,fillRule:"evenodd"}),c.jsx("path",{d:"M96,85.5 Q100,78 104,85.5 Q100,88 96,85.5 Z",fill:"#A8E89A",stroke:o.ink,strokeWidth:"1.4",strokeLinejoin:"round"}),c.jsx("path",{d:"M98.4,84 Q100,81 101.6,84",fill:"none",stroke:o.ink,strokeWidth:"1",strokeLinecap:"round"})]});case"FV":return c.jsxs("g",{children:[c.jsx("path",{d:"M93.5,80.5 Q100,78 106.5,80.5 Q107,86 100,86.8 Q93,86 93.5,80.5 Z",fill:"#57BD74",stroke:o.ink,strokeWidth:"1.8",strokeLinejoin:"round"}),c.jsx("path",{d:"M94,79.2 Q100,77.4 106,79.2 L105.4,82.4 Q100,83.4 94.6,82.4 Z",fill:"#FFFFFF",stroke:o.ink,strokeWidth:"1.4",strokeLinejoin:"round"})]});default:return c.jsx("path",{d:"M92,82.5 Q100,88.5 108,82.5",fill:"none",stroke:o.ink,strokeWidth:"3.5",strokeLinecap:"round"})}}function Ey({uid:f,refs:o,expression:h,viseme:r,openScale:v,energyRatio:S,streakLit:_}){const O=In(h);return c.jsxs(c.Fragment,{children:[c.jsxs("defs",{children:[c.jsx("clipPath",{id:`${f}-body`,children:c.jsx("rect",{x:"64",y:"110",width:"72",height:"50",rx:"22"})}),c.jsx("clipPath",{id:`${f}-helm`,children:c.jsx("ellipse",{cx:"100",cy:"69",rx:"56",ry:"42"})}),c.jsx("clipPath",{id:`${f}-scr`,children:c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"12"})})]}),c.jsx(lu,{tint:"rgba(26,36,24,0.32)"}),c.jsxs("g",{ref:o.bot,className:"cp-bot",children:[c.jsxs("g",{className:"cp-thrust",children:[c.jsx("ellipse",{cx:"100",cy:"177",rx:"11",ry:"8",fill:_?os:ce,opacity:"0.3"}),c.jsx("ellipse",{cx:"100",cy:"176",rx:"7",ry:"5",fill:_?os:ce})]}),c.jsx("path",{d:"M88,158 Q100,152 112,158 L106,171 Q100,174 94,171 Z",fill:"#3A4A34",stroke:Vt,strokeWidth:"4",strokeLinejoin:"round"}),c.jsx(eu,{refs:o,armFill:ss,out:Vt}),c.jsxs("g",{className:"cp-body",children:[c.jsxs("g",{clipPath:`url(#${f}-body)`,children:[c.jsx("rect",{x:"64",y:"110",width:"72",height:"50",rx:"22",fill:ss}),c.jsx("rect",{x:"64",y:"110",width:"72",height:"50",rx:"22",fill:ce,transform:"translate(-4 -4)"})]}),c.jsx("rect",{x:"64",y:"110",width:"72",height:"50",rx:"22",fill:"none",stroke:Vt,strokeWidth:"5"}),c.jsx(bl,{id:`${f}-body`,x:64,y:110,w:72,h:50,t:4,light:"rgba(255,255,255,0.42)",dark:"rgba(38,74,46,0.4)"}),c.jsx(jy,{energyRatio:S}),c.jsx("circle",{cx:"73",cy:"150",r:"1.6",fill:Vt,opacity:"0.45"}),c.jsx("circle",{cx:"127",cy:"150",r:"1.6",fill:Vt,opacity:"0.45"})]}),c.jsxs("g",{ref:o.head,className:"cp-head",children:[c.jsxs("g",{className:"cp-antenna",children:[c.jsx("path",{d:"M43,60 Q40,50 44,42",fill:"none",stroke:Vt,strokeWidth:"4",strokeLinecap:"round"}),_?c.jsxs("g",{children:[Array.from({length:5},(D,M)=>c.jsx("ellipse",{cx:"44",cy:"33",rx:"4",ry:"7.5",fill:os,stroke:Vt,strokeWidth:"2",transform:`rotate(${M*72} 44 40)`},M)),c.jsx("circle",{cx:"44",cy:"40",r:"4.5",fill:"#FFF3C4",stroke:Vt,strokeWidth:"2"})]}):c.jsxs("g",{children:[c.jsx("ellipse",{cx:"44",cy:"39",rx:"5.5",ry:"7",fill:ce,stroke:Vt,strokeWidth:"3"}),c.jsx("path",{d:"M44,33 Q46.5,39 44,45",fill:"none",stroke:ms,strokeWidth:"1.8"})]})]}),c.jsx("path",{d:"M48,62 C36,56 30,62 32,70 C38,76 48,74 48,62 Z",fill:ce,stroke:Vt,strokeWidth:"4",strokeLinejoin:"round"}),c.jsx("path",{d:"M152,62 C164,56 170,62 168,70 C162,76 152,74 152,62 Z",fill:ce,stroke:Vt,strokeWidth:"4",strokeLinejoin:"round"}),c.jsx("path",{d:"M36,62 Q42,66 46,68 M164,62 Q158,66 154,68",stroke:ms,strokeWidth:"1.8",fill:"none",strokeLinecap:"round"}),c.jsxs("g",{clipPath:`url(#${f}-helm)`,children:[c.jsx("ellipse",{cx:"100",cy:"69",rx:"56",ry:"42",fill:ss}),c.jsx("ellipse",{cx:"100",cy:"69",rx:"56",ry:"42",fill:ce,transform:"translate(-5 -5)"})]}),c.jsx("ellipse",{cx:"100",cy:"69",rx:"56",ry:"42",fill:"none",stroke:Vt,strokeWidth:"5"}),c.jsx(bl,{id:`${f}-helm`,x:44,y:27,w:112,h:84,t:4,light:"rgba(255,255,255,0.36)",dark:"rgba(38,74,46,0.36)"}),c.jsx("path",{d:"M58,37 Q86,31 104,38 L96,47 Q68,46 58,37 Z",fill:"#FFFFFF",opacity:"0.88"}),c.jsx("circle",{cx:"118",cy:"41",r:"4",fill:"#FFFFFF",opacity:"0.55"}),c.jsx("rect",{x:"58",y:"48",width:"84",height:"46",rx:"16",fill:I1,stroke:Vt,strokeWidth:"4.5"}),c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"12",fill:by}),c.jsxs("g",{clipPath:`url(#${f}-scr)`,children:[c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",fill:$1,transform:"translate(0 15)"}),c.jsx("path",{d:"M120,54 L136,54 L106,88 L90,88 Z",fill:"#FFFFFF",opacity:"0.2"})]}),c.jsx(Pn,{expression:h,flags:O,refs:o,p:F1,viseme:r,openScale:v,renderMouth:My}),c.jsx(tu,{flags:O,refs:o,p:F1})]})]})]})}const G1={out:"#221C38",ink:"#FFEFC2",pupil:"#8B7BF0",wave:"#B7ACFF",crown:"#FFD75E",crownD:"#D9A400"},Ha="#8B7BF0",rs="#5D4FD1",Ay="#241E4E",P1="#3A2F6E",Ya="#1A1440",Gn="#FFEFC2",Qa="#FFD75E",Sl="#221C38";function zy({energyRatio:f,uid:o}){const h=Math.min(1,Math.max(0,f)),r=(1-h)*26;return c.jsxs("g",{children:[c.jsx("circle",{cx:"100",cy:"135",r:"16.5",fill:Ya,stroke:Sl,strokeWidth:"4.5"}),c.jsx("circle",{cx:"100",cy:"135",r:"12.5",fill:P1}),c.jsxs("g",{clipPath:`url(#${o}-moon)`,children:[c.jsx("circle",{cx:"100",cy:"135",r:"11.5",fill:Gn}),c.jsx("circle",{cx:100-r,cy:"135",r:"12.5",fill:Ya})]}),c.jsx("circle",{cx:"100",cy:"135",r:"12.5",fill:"none",stroke:Sl,strokeWidth:"2"}),c.jsxs("g",{opacity:.35*h,children:[c.jsx("circle",{cx:"96",cy:"131",r:"2",fill:Ya}),c.jsx("circle",{cx:"104",cy:"138",r:"1.5",fill:Ya}),c.jsx("circle",{cx:"99",cy:"140",r:"1.1",fill:Ya})]})]})}function Ty(f,o){switch(f){case"A":return c.jsx("path",{d:"M91,77 h18 a5,5 0 0 1 5,5 v3 a5,5 0 0 1 -5,5 h-18 a5,5 0 0 1 -5,-5 v-3 a5,5 0 0 1 5,-5 Z M95,80.5 h10 v6 h-10 Z",fill:o.ink,fillRule:"evenodd"});case"E":return c.jsx("path",{d:"M90,79.5 h20 a3.2,3.2 0 0 1 0,6.4 h-20 a3.2,3.2 0 0 1 0,-6.4 Z",fill:o.ink});case"I":return c.jsx("path",{d:"M90,82 h20 a1.9,1.9 0 0 1 0,3.8 h-20 a1.9,1.9 0 0 1 0,-3.8 Z",fill:o.ink});case"O":return c.jsxs("g",{fill:"none",children:[c.jsx("circle",{cx:"100",cy:"82.5",r:"7",stroke:o.ink,strokeWidth:"4"}),c.jsx("circle",{cx:"100",cy:"82.5",r:"1.6",fill:o.ink,stroke:"none"})]});case"U":return c.jsx("g",{fill:"none",children:c.jsx("circle",{cx:"100",cy:"82.5",r:"4.6",stroke:o.ink,strokeWidth:"3.6"})});case"SS":return c.jsxs("g",{children:[c.jsx("path",{d:"M88,80 h24 a2.4,2.4 0 0 1 2.4,2.4 v1.2 a2.4,2.4 0 0 1 -2.4,2.4 h-24 a2.4,2.4 0 0 1 -2.4,-2.4 v-1.2 a2.4,2.4 0 0 1 2.4,-2.4 Z",fill:o.ink}),c.jsx("rect",{x:"91",y:"80.5",width:"6",height:"2.2",rx:"1.1",fill:"#FFFFFF"}),c.jsx("rect",{x:"99",y:"80.5",width:"6",height:"2.2",rx:"1.1",fill:"#FFFFFF",opacity:"0.9"}),c.jsx("rect",{x:"107",y:"80.5",width:"4",height:"2.2",rx:"1.1",fill:"#FFFFFF",opacity:"0.72"})]});case"L":return c.jsxs("g",{children:[c.jsx("path",{d:"M91,77 h18 a5,5 0 0 1 5,5 v3 a5,5 0 0 1 -5,5 h-18 a5,5 0 0 1 -5,-5 v-3 a5,5 0 0 1 5,-5 Z M95,80.5 h10 v6 h-10 Z",fill:o.ink,fillRule:"evenodd"}),c.jsx("path",{d:"M96,85.5 Q100,78.5 104,85.5 Q100,87.6 96,85.5 Z",fill:"#8B7BF0",stroke:o.ink,strokeWidth:"1.4",strokeLinejoin:"round"})]});case"FV":return c.jsxs("g",{children:[c.jsx("path",{d:"M93.5,80.5 Q100,78 106.5,80.5 Q107,86 100,87 Q93,86 93.5,80.5 Z",fill:"#5D4FD1",stroke:o.ink,strokeWidth:"1.8",strokeLinejoin:"round"}),c.jsx("rect",{x:"94",y:"78.8",width:"12",height:"3.4",rx:"1.7",fill:"#FFFFFF",stroke:o.ink,strokeWidth:"1.4"})]});default:return c.jsx("path",{d:"M92,82.5 Q100,88 108,82.5",fill:"none",stroke:o.ink,strokeWidth:"3.5",strokeLinecap:"round"})}}function Ly({uid:f,refs:o,expression:h,viseme:r,openScale:v,energyRatio:S,streakLit:_}){const O=In(h);return c.jsxs(c.Fragment,{children:[c.jsxs("defs",{children:[c.jsx("clipPath",{id:`${f}-body`,children:c.jsx("rect",{x:"66",y:"110",width:"68",height:"50",rx:"20"})}),c.jsx("clipPath",{id:`${f}-helm`,children:c.jsx("path",{d:"M48,96 L48,62 Q48,26 100,26 Q152,26 152,62 L152,96 Z"})}),c.jsx("clipPath",{id:`${f}-scr`,children:c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"9"})}),c.jsx("clipPath",{id:`${f}-moon`,children:c.jsx("circle",{cx:"100",cy:"135",r:"12.5"})})]}),c.jsx(lu,{tint:"rgba(24,18,44,0.38)"}),c.jsxs("g",{ref:o.bot,className:"cp-bot",children:[c.jsxs("g",{className:"cp-thrust",children:[c.jsx("ellipse",{cx:"100",cy:"177",rx:"11",ry:"8",fill:_?Qa:Ha,opacity:"0.38"}),c.jsx("ellipse",{cx:"100",cy:"176",rx:"7",ry:"5",fill:_?Qa:Ha})]}),c.jsx("path",{d:"M88,158 L112,158 L106,171 L94,171 Z",fill:"#2A2248",stroke:Sl,strokeWidth:"4",strokeLinejoin:"round"}),c.jsx(eu,{refs:o,armFill:rs,out:Sl}),c.jsxs("g",{className:"cp-body",children:[c.jsxs("g",{clipPath:`url(#${f}-body)`,children:[c.jsx("rect",{x:"66",y:"110",width:"68",height:"50",rx:"20",fill:rs}),c.jsx("rect",{x:"66",y:"110",width:"68",height:"50",rx:"20",fill:Ha,transform:"translate(-4 -4)"})]}),c.jsx("rect",{x:"66",y:"110",width:"68",height:"50",rx:"20",fill:"none",stroke:Sl,strokeWidth:"5"}),c.jsx(bl,{id:`${f}-body`,x:66,y:110,w:68,h:50,t:4,light:"rgba(196,181,255,0.34)",dark:"rgba(10,6,32,0.5)"}),c.jsx(zy,{energyRatio:S,uid:f}),c.jsx("circle",{cx:"76",cy:"150",r:"1.5",fill:Sl,opacity:"0.5"}),c.jsx("circle",{cx:"124",cy:"150",r:"1.5",fill:Sl,opacity:"0.5"})]}),c.jsxs("g",{ref:o.head,className:"cp-head",children:[c.jsxs("g",{className:"cp-antenna",children:[c.jsx("ellipse",{cx:"42",cy:"44",rx:"13",ry:"5.5",fill:"none",stroke:Sl,strokeWidth:"3.5",transform:"rotate(-24 42 44)"}),c.jsx("circle",{cx:"49",cy:"39",r:"5",fill:_?Qa:Gn,stroke:Sl,strokeWidth:"3"}),_&&c.jsx("path",{d:"M56,34 L68,26 M57,41 L71,38 M52,30 L58,20",stroke:Qa,strokeWidth:"2.4",strokeLinecap:"round"})]}),c.jsx("circle",{cx:"44",cy:"72",r:"8",fill:Ha,stroke:Sl,strokeWidth:"4"}),c.jsx("ellipse",{cx:"44",cy:"72",rx:"13",ry:"4.5",fill:"none",stroke:Qa,strokeWidth:"2.4",transform:"rotate(-18 44 72)"}),c.jsx("circle",{cx:"156",cy:"72",r:"8",fill:Ha,stroke:Sl,strokeWidth:"4"}),c.jsx("ellipse",{cx:"156",cy:"72",rx:"13",ry:"4.5",fill:"none",stroke:Qa,strokeWidth:"2.4",transform:"rotate(18 156 72)"}),c.jsxs("g",{clipPath:`url(#${f}-helm)`,children:[c.jsx("path",{d:"M48,96 L48,62 Q48,26 100,26 Q152,26 152,62 L152,96 Z",fill:rs}),c.jsx("path",{d:"M48,96 L48,62 Q48,26 100,26 Q152,26 152,62 L152,96 Z",fill:Ha,transform:"translate(-5 -5)"}),c.jsx("circle",{cx:"66",cy:"42",r:"1.6",fill:"#FFFFFF",opacity:"0.9"}),c.jsx("circle",{cx:"82",cy:"33",r:"1.2",fill:"#FFFFFF",opacity:"0.75"}),c.jsx("circle",{cx:"130",cy:"36",r:"1.7",fill:"#FFFFFF",opacity:"0.9"}),c.jsx("circle",{cx:"118",cy:"30",r:"1",fill:"#FFFFFF",opacity:"0.6"}),c.jsx("path",{d:"M94,28 l1.6,3.2 3.4,0.5 -2.5,2.4 0.6,3.4 -3.1,-1.7 -3.1,1.7 0.6,-3.4 -2.5,-2.4 3.4,-0.5 Z",fill:"#FFFFFF",opacity:"0.85"})]}),c.jsx("path",{d:"M48,96 L48,62 Q48,26 100,26 Q152,26 152,62 L152,96 Z",fill:"none",stroke:Sl,strokeWidth:"5"}),c.jsx(bl,{id:`${f}-helm`,x:48,y:26,w:104,h:70,t:4,light:"rgba(196,181,255,0.3)",dark:"rgba(10,6,32,0.45)"}),c.jsx("path",{d:"M56,40 Q88,28 110,34 L102,44 Q72,40 56,46 Z",fill:"#FFFFFF",opacity:"0.8"}),c.jsx("rect",{x:"58",y:"48",width:"84",height:"46",rx:"12",fill:Ya,stroke:Sl,strokeWidth:"4.5"}),c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"9",fill:Ay}),c.jsxs("g",{clipPath:`url(#${f}-scr)`,children:[c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",fill:P1,transform:"translate(0 15)"}),c.jsx("circle",{cx:"74",cy:"60",r:"1",fill:Gn,opacity:"0.8"}),c.jsx("circle",{cx:"128",cy:"82",r:"1.2",fill:Gn,opacity:"0.6"}),c.jsx("circle",{cx:"86",cy:"84",r:"0.8",fill:Gn,opacity:"0.5"}),c.jsx("path",{d:"M118,54 L136,54 L106,88 L92,88 Z",fill:"#FFFFFF",opacity:"0.08"})]}),c.jsx(Pn,{expression:h,flags:O,refs:o,p:G1,viseme:r,openScale:v,renderMouth:Ty}),c.jsx(tu,{flags:O,refs:o,p:G1})]})]})]})}const X1={out:"#2F2A22",ink:"#2B2B2B",pupil:"#F7F2E6",wave:"#8FB8C9",crown:"#FFC800",crownD:"#D9A400"},Ai="#F7F2E6",zi="#DCD2B8",_y="#FBF7EC",Ba="#EFE7D2",Ti="#4A4234",Xn="#E8543F",td="#B8392A",gs="#3A342A",Oi="#FFC800",wl="#2F2A22";function Dy({energyRatio:f,streakLit:o}){const h=Math.min(1,Math.max(0,f)),v=146-h*22;return c.jsxs("g",{children:[c.jsx("path",{d:"M82,120 h36 a6,6 0 0 1 6,6 v16 a8,8 0 0 1 -8,8 h-32 a8,8 0 0 1 -8,-8 v-16 a6,6 0 0 1 6,-6 Z",fill:Ti,stroke:wl,strokeWidth:"4.5"}),c.jsx("path",{d:"M86,124 h28 a4,4 0 0 1 4,4 v14 a5,5 0 0 1 -5,5 h-26 a5,5 0 0 1 -5,-5 v-14 a4,4 0 0 1 4,-4 Z",fill:zi}),c.jsxs("g",{children:[c.jsx("rect",{x:"82",y:v,width:"36",height:150-v,rx:"3",fill:o?"#4A4034":gs}),c.jsx("ellipse",{cx:"100",cy:v,rx:"18",ry:"2.6",fill:h>=.999?Oi:"#57503F"}),h>=.999&&c.jsx("path",{d:"M90,144 q5,-4 10,0 q5,4 10,0",fill:"none",stroke:Oi,strokeWidth:"2",strokeLinecap:"round",opacity:"0.8"})]}),c.jsx("path",{d:"M88,126.5 q12,-2.5 24,0",fill:"none",stroke:"#FFFFFF",strokeWidth:"2",strokeLinecap:"round",opacity:"0.6"}),c.jsx("rect",{x:"122",y:"121",width:"11",height:"11",rx:"2.5",fill:Xn,stroke:td,strokeWidth:"1.8"}),c.jsx("path",{d:"M125.5,124.5 h4 M125.5,127.5 h4 M127.5,124 v6",stroke:Ai,strokeWidth:"1.5",strokeLinecap:"round"})]})}function Oy(f,o){switch(f){case"A":return c.jsx("path",{d:"M91,77 Q100,74.5 109,77 Q111,86 100,89.5 Q89,86 91,77 Z M96,79.5 Q100,81.5 104,79.5 Q103,84 100,85.5 Q97,84 96,79.5 Z",fill:o.ink,fillRule:"evenodd"});case"E":return c.jsx("path",{d:"M90,79 Q100,76.8 110,79 Q110.8,85.2 100,86.4 Q89.2,85.2 90,79 Z",fill:o.ink});case"I":return c.jsx("path",{d:"M90.5,81.4 Q100,80 109.5,81.4 Q110,84.8 100,85.4 Q90,84.8 90.5,81.4 Z",fill:o.ink});case"O":return c.jsx("path",{d:"M100,75.5 C105.5,75.5 108,80 108,83 C108,86.6 104.8,89.6 100,89.6 C95.2,89.6 92,86.6 92,83 C92,80 94.5,75.5 100,75.5 Z M100,79.6 C102.6,79.6 104.2,81.1 104.2,83 C104.2,85 102.5,86.2 100,86.2 C97.5,86.2 95.8,85 95.8,83 C95.8,81.1 97.4,79.6 100,79.6 Z",fill:o.ink,fillRule:"evenodd"});case"U":return c.jsx("path",{d:"M100,76 C103.2,76 105.2,79.6 105.2,83 C105.2,86.4 103.2,89 100,89 C96.8,89 94.8,86.4 94.8,83 C94.8,79.6 96.8,76 100,76 Z M100,79.6 C101.4,79.6 102.3,81.1 102.3,83 C102.3,85 101.4,86.2 100,86.2 C98.6,86.2 97.7,85 97.7,83 C97.7,81.1 98.6,79.6 100,79.6 Z",fill:o.ink,fillRule:"evenodd"});case"SS":return c.jsxs("g",{children:[c.jsx("path",{d:"M88,80.2 Q100,78.6 112,80.2 Q112.6,85.8 100,86.4 Q87.4,85.8 88,80.2 Z",fill:o.ink}),c.jsx("path",{d:"M91.5,80.8 L96.5,80.5 L95.8,84.6 L92,84.4 Z",fill:"#F7F2E6"}),c.jsx("path",{d:"M99,80.4 L104.5,80.4 L104,84.7 L99.4,84.6 Z",fill:"#F7F2E6",opacity:"0.9"}),c.jsx("path",{d:"M107,80.6 L110.4,80.8 L109.8,84.4 L107.4,84.3 Z",fill:"#F7F2E6",opacity:"0.72"})]});case"L":return c.jsxs("g",{children:[c.jsx("path",{d:"M91,77 Q100,74.5 109,77 Q111,86 100,89.5 Q89,86 91,77 Z M96,79.5 Q100,81.5 104,79.5 Q103,84 100,85.5 Q97,84 96,79.5 Z",fill:o.ink,fillRule:"evenodd"}),c.jsx("path",{d:"M96.2,85.6 Q100,78.6 103.8,85.6 Q100,87.9 96.2,85.6 Z",fill:"#E8543F",stroke:o.ink,strokeWidth:"1.3",strokeLinejoin:"round"})]});case"FV":return c.jsxs("g",{children:[c.jsx("path",{d:"M93.5,80.6 Q100,78.2 106.5,80.6 Q107,86.2 100,87 Q93,86.2 93.5,80.6 Z",fill:"#DCD2B8",stroke:o.ink,strokeWidth:"1.8",strokeLinejoin:"round"}),c.jsx("path",{d:"M94,79.2 Q100,77.2 106,79.2 L105.4,82.5 Q100,83.6 94.6,82.5 Z",fill:"#3A342A",stroke:o.ink,strokeWidth:"1.3",strokeLinejoin:"round"})]});default:return c.jsx("path",{d:"M91,81.8 Q100,88.6 109,81.4",fill:"none",stroke:o.ink,strokeWidth:"4.2",strokeLinecap:"round"})}}function Ny({uid:f,refs:o,expression:h,viseme:r,openScale:v,energyRatio:S,streakLit:_}){const O=In(h);return c.jsxs(c.Fragment,{children:[c.jsxs("defs",{children:[c.jsx("clipPath",{id:`${f}-body`,children:c.jsx("rect",{x:"62",y:"110",width:"76",height:"50",rx:"10"})}),c.jsx("clipPath",{id:`${f}-helm`,children:c.jsx("path",{d:"M54,44 L100,30 L146,44 L150,72 L142,96 L58,96 L50,72 Z"})}),c.jsx("clipPath",{id:`${f}-scr`,children:c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"5"})})]}),c.jsx(lu,{tint:"rgba(40,34,24,0.3)"}),c.jsxs("g",{ref:o.bot,className:"cp-bot",children:[c.jsxs("g",{className:"cp-thrust",children:[c.jsx("ellipse",{cx:"100",cy:"177",rx:"11",ry:"8",fill:_?Oi:Ba,opacity:"0.4"}),c.jsx("ellipse",{cx:"100",cy:"176",rx:"7",ry:"5",fill:_?Oi:Ba})]}),c.jsx("path",{d:"M88,158 L112,158 L106,171 L94,171 Z",fill:gs,stroke:wl,strokeWidth:"4",strokeLinejoin:"round"}),c.jsx(eu,{refs:o,armFill:zi,out:wl}),c.jsxs("g",{className:"cp-body",children:[c.jsxs("g",{clipPath:`url(#${f}-body)`,children:[c.jsx("rect",{x:"62",y:"110",width:"76",height:"50",rx:"10",fill:zi}),c.jsx("rect",{x:"62",y:"110",width:"76",height:"50",rx:"10",fill:Ai,transform:"translate(-4 -4)"})]}),c.jsx("rect",{x:"62",y:"110",width:"76",height:"50",rx:"10",fill:"none",stroke:wl,strokeWidth:"5"}),c.jsx(bl,{id:`${f}-body`,x:62,y:110,w:76,h:50,t:4,light:"rgba(255,255,255,0.5)",dark:"rgba(58,52,42,0.32)"}),c.jsx(Dy,{energyRatio:S,streakLit:_})]}),c.jsxs("g",{ref:o.head,className:"cp-head",children:[c.jsxs("g",{className:"cp-antenna",children:[c.jsx("rect",{x:"38",y:"42",width:"5",height:"20",rx:"2.5",fill:Ai,stroke:wl,strokeWidth:"3",transform:"rotate(14 40 52)"}),c.jsx("path",{d:"M41,56 Q43,62 40,66 Q37,62 39,56 Z",fill:_?Xn:gs,stroke:wl,strokeWidth:"2.6",strokeLinejoin:"round",transform:"rotate(14 40 60)"}),_&&c.jsx("circle",{cx:"38",cy:"68",r:"3.4",fill:Xn,stroke:td,strokeWidth:"2"})]}),c.jsx("rect",{x:"38",y:"58",width:"13",height:"26",rx:"3",fill:Ti,stroke:wl,strokeWidth:"4"}),c.jsx("path",{d:"M44.5,60 v22",stroke:Ba,strokeWidth:"2",strokeLinecap:"round"}),c.jsx("rect",{x:"149",y:"58",width:"13",height:"26",rx:"3",fill:Ti,stroke:wl,strokeWidth:"4"}),c.jsx("path",{d:"M155.5,60 v22",stroke:Ba,strokeWidth:"2",strokeLinecap:"round"}),c.jsxs("g",{clipPath:`url(#${f}-helm)`,children:[c.jsx("path",{d:"M54,44 L100,30 L146,44 L150,72 L142,96 L58,96 L50,72 Z",fill:zi}),c.jsx("path",{d:"M54,44 L100,30 L146,44 L150,72 L142,96 L58,96 L50,72 Z",fill:Ai,transform:"translate(-4 -4)"}),c.jsx("path",{d:"M100,30 L100,44",stroke:wl,strokeWidth:"2.6"})]}),c.jsx("path",{d:"M54,44 L100,30 L146,44 L150,72 L142,96 L58,96 L50,72 Z",fill:"none",stroke:wl,strokeWidth:"5",strokeLinejoin:"round"}),c.jsx(bl,{id:`${f}-helm`,x:50,y:30,w:100,h:66,t:4,light:"rgba(255,255,255,0.46)",dark:"rgba(58,52,42,0.3)"}),c.jsx("path",{d:"M62,38 Q90,32 104,36 L98,44 Q74,42 62,46 Z",fill:Xn,opacity:"0.85"}),c.jsx("path",{d:"M112,36 L124,38 L118,45 L108,44 Z",fill:Xn,opacity:"0.45"}),c.jsx("rect",{x:"58",y:"48",width:"84",height:"46",rx:"8",fill:Ti,stroke:wl,strokeWidth:"4.5"}),c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",rx:"5",fill:_y}),c.jsxs("g",{clipPath:`url(#${f}-scr)`,children:[c.jsx("rect",{x:"64",y:"54",width:"72",height:"34",fill:Ba,transform:"translate(0 15)"}),c.jsx("path",{d:"M70,56 v30 M78,56 v30 M122,56 v30 M130,56 v30",stroke:Ba,strokeWidth:"1.2",opacity:"0.7"}),c.jsx("path",{d:"M118,54 L136,54 L108,88 L92,88 Z",fill:"#FFFFFF",opacity:"0.22"})]}),c.jsx(Pn,{expression:h,flags:O,refs:o,p:X1,viseme:r,openScale:v,renderMouth:Oy}),c.jsx(tu,{flags:O,refs:o,p:X1})]})]})]})}const Uy={ember:my,frost:Sy,moss:Ey,astro:Ly,ink:Ny};function S5({form:f,expression:o,pose:h,viseme:r="closed",openScale:v=0,energyRatio:S=0,streakLit:_=!1,size:O=96,interactive:D=!1,ariaLabel:M,testid:R,onPoke:Z,onGrab:P,keySeq:Mt=0,keySide:pt=1,screenKey:ot=null,coreLit:Et=!1,noteTick:gt=!1,crownBadge:Tt=!1,haloBadge:Ot=!1}){const $t="cp"+pl.useId().replace(/[^a-zA-Z0-9]/g,""),tt=dy(),k=ps(f),rt={bot:pl.useRef(null),head:pl.useRef(null),armL:pl.useRef(null),armR:pl.useRef(null),eyes:pl.useRef(null),pupils:pl.useRef(null),waves:pl.useRef(null)},It=rt.bot;pl.useEffect(()=>{if(tt||Mt<=0)return;const ut=pt===-1?rt.armL.current:rt.armR.current,Jt=pt===-1?-44:44;ut==null||ut.animate([{transform:"rotate(0deg)"},{transform:`rotate(${Jt}deg)`,offset:.38},{transform:"rotate(0deg)"}],{duration:185,easing:"cubic-bezier(0.2, 1.5, 0.4, 1)",composite:"add"});const jt=rt.bot.current;jt&&(jt.style.transformBox="fill-box",jt.style.transformOrigin="50% 62%",jt.animate([{transform:"translateY(0px) scale(1, 1)"},{transform:"translateY(2.5px) scale(1.045, 0.93)",offset:.42},{transform:"translateY(0px) scale(1, 1)"}],{duration:185,easing:"ease-out",composite:"add"}))},[Mt,pt,tt]);const Hl=o==="listening";pl.useEffect(()=>{if(!Hl||tt)return;let ut=0;const Jt=()=>{const jt=cy(),Nt=rt.waves.current;Nt&&(Nt.style.opacity=jt<=0?"0":"1",Nt.setAttribute("transform",`translate(174 72) scale(${(.55+.45*jt).toFixed(3)}) translate(-174 -72)`)),ut=requestAnimationFrame(Jt)};return ut=requestAnimationFrame(Jt),()=>cancelAnimationFrame(ut)},[Hl,tt]),pl.useEffect(()=>{if(tt)return;let ut=0,Jt,jt={x:0,y:0},Nt={x:0,y:0},A=performance.now(),U=1,B=performance.now()+4200;const at=()=>{const z=rt.eyes.current;z&&(z.style.transform="scaleY(0.14)",setTimeout(()=>{z&&(z.style.transform="")},120)),Jt=setTimeout(at,2400+Math.random()*2600)};Jt=setTimeout(at,1500+Math.random()*1500);const it=z=>{const N=It.current;if(!N)return;const C=N.getBoundingClientRect();Nt=J2(z.clientX,z.clientY,C.left+C.width/2,C.top+C.height*.35,Math.max(140,C.width)),A=performance.now()};window.addEventListener("pointermove",it,{passive:!0});const m=()=>{var C;const z=performance.now();z-A>4e3&&z>=B&&(Nt=W2(U++),B=z+2200+U%3*450),jt={x:Z1(jt.x,Nt.x,.1),y:Z1(jt.y,Nt.y,.1)};const N=xs(jt.x,jt.y);(C=rt.pupils.current)==null||C.setAttribute("transform",`translate(${(N.x*3).toFixed(2)} ${(N.y*2).toFixed(2)})`),ut=requestAnimationFrame(m)};return ut=requestAnimationFrame(m),()=>{clearTimeout(Jt),cancelAnimationFrame(ut),window.removeEventListener("pointermove",it)}},[tt]);const jl=Uy[k];return c.jsxs("svg",{viewBox:"0 0 200 200",className:`cp-mascot cp-form-${k} cp-pose-${h} cp-expr-${o}`,"data-testid":R,"data-form":k,style:{width:O,height:O,transition:"width 0.9s cubic-bezier(0.3, 1.3, 0.4, 1), height 0.9s cubic-bezier(0.3, 1.3, 0.4, 1)",...D?{touchAction:"none",cursor:P?"grab":"pointer"}:{}},...D?{role:"button","aria-label":M,onClick:Z,...P?{onPointerDown:ut=>{ut.button===0&&P(ut.clientX,ut.clientY)}}:{}}:{"aria-hidden":!0},children:[c.jsxs("g",{className:"cp-beacons","aria-hidden":"true",children:[c.jsx("circle",{cx:"52",cy:"86",r:"3",className:"cp-beacon-l"}),c.jsx("circle",{cx:"148",cy:"86",r:"3",className:"cp-beacon-r"})]}),c.jsxs("g",{className:"cp-thruster","aria-hidden":"true",children:[c.jsx("circle",{cx:"78",cy:"150",r:"3.2"}),c.jsx("circle",{cx:"100",cy:"158",r:"4"}),c.jsx("circle",{cx:"122",cy:"150",r:"3.2"})]}),Ot&&c.jsx("ellipse",{cx:"100",cy:"104",rx:"86",ry:"60",fill:"none",stroke:"#FFC800",strokeWidth:"2.5",opacity:"0.4",strokeDasharray:"10 7",className:"cp-halo"}),c.jsx(jl,{uid:$t,refs:rt,expression:o,viseme:r,openScale:v,energyRatio:S,streakLit:_}),Et&&c.jsx("circle",{cx:"100",cy:"135",r:"21",fill:"none",stroke:"#FFC800",strokeWidth:"3",className:"cp-core-lit","aria-hidden":"true"}),ot&&c.jsx("text",{x:"100",y:"140",textAnchor:"middle",className:"cp-screen-key","aria-hidden":"true",children:ot===" "?"␣":ot.toUpperCase()},`k${Mt}`),Hl&&!ot&&c.jsxs("g",{className:"cp-screen-wave","aria-hidden":"true",children:[c.jsx("rect",{x:"88.6",y:"130",width:"3.2",height:"10",rx:"1.6"}),c.jsx("rect",{x:"93.6",y:"127",width:"3.2",height:"16",rx:"1.6"}),c.jsx("rect",{x:"98.6",y:"125",width:"3.2",height:"20",rx:"1.6"}),c.jsx("rect",{x:"103.6",y:"127",width:"3.2",height:"16",rx:"1.6"}),c.jsx("rect",{x:"108.6",y:"130",width:"3.2",height:"10",rx:"1.6"})]}),h==="writing"&&c.jsxs("g",{className:"cp-writing","aria-hidden":"true",children:[c.jsxs("g",{transform:"rotate(-8 100 150)",children:[c.jsx("path",{d:"M78,140 L99,145 L99,166 L78,161 Z",fill:"#F7F3E8",stroke:"#2B2530",strokeWidth:"3",strokeLinejoin:"round"}),c.jsx("path",{d:"M120,140 L99,145 L99,166 L120,161 Z",fill:"#EFE8D8",stroke:"#2B2530",strokeWidth:"3",strokeLinejoin:"round"}),c.jsx("path",{d:"M83,146 L95,149 M83,151 L95,154 M83,156 L95,159",stroke:"#9AA7B8",strokeWidth:"1.6",strokeLinecap:"round"}),c.jsx("path",{d:"M115,146 L103,149 M115,151 L103,154",stroke:"#9AA7B8",strokeWidth:"1.6",strokeLinecap:"round"})]}),gt&&c.jsx("path",{className:"cp-note-tick",d:"M104,146 L108,152 L117,141",fill:"none",stroke:"#FFC800",strokeWidth:"4.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.jsxs("g",{className:"cp-pen",transform:"rotate(24 100 128)",children:[c.jsx("rect",{x:"96",y:"106",width:"7",height:"26",rx:"2.5",fill:"#FFC568",stroke:"#2B2530",strokeWidth:"2.6"}),c.jsx("path",{d:"M96,132 L103,132 L99.5,141 Z",fill:"#F7F3E8",stroke:"#2B2530",strokeWidth:"2",strokeLinejoin:"round"}),c.jsx("path",{d:"M98.4,138.5 L100.6,138.5 L99.5,141 Z",fill:"#173047"}),c.jsx("rect",{x:"95",y:"101",width:"9",height:"6",rx:"2",fill:"#E8563F",stroke:"#2B2530",strokeWidth:"2.4"})]})]}),Tt&&c.jsx("g",{className:"cp-crown-badge","aria-hidden":"true",children:c.jsx("path",{d:"M84,26 L92,36 L100,24 L108,36 L116,26 L114,44 L86,44 Z",fill:"#FFC800",stroke:"#E8A400",strokeWidth:"2",strokeLinejoin:"round"})})]})}export{y5 as $,Qy as A,Iy as B,Py as C,v5 as D,t5 as E,C1 as F,m5 as G,i5 as H,Jy as I,Yy as J,ky as K,qy as L,S5 as M,g5 as N,$y as O,Xy as P,Fy as Q,Ky as R,f5 as S,Gy as T,p5 as U,V2 as V,Wy as W,ay as X,C2 as Y,Hy as Z,a5 as _,U2 as a,Zy as a0,Ry as a1,V1 as b,X2 as c,D2 as d,Cy as e,ps as f,Vy as g,x5 as h,Y2 as i,c as j,wy as k,o5 as l,r5 as m,d5 as n,h5 as o,R1 as p,l5 as q,pl as r,c5 as s,s5 as t,dy as u,K2 as v,e5 as w,u5 as x,n5 as y,By as z};