xonecode 0.37.0 → 0.38.4

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 (35) hide show
  1. package/apps/web/dist/assets/{EditorDeFichero-DoFEF88O.js → EditorDeFichero-ClGfUHp0.js} +1 -1
  2. package/apps/web/dist/assets/index-BKbTb9C_.js +506 -0
  3. package/apps/web/dist/assets/index-QE7QDed9.css +1 -0
  4. package/apps/web/dist/assets/{php-D_qKPndv.js → php-DFC2MqmC.js} +1 -1
  5. package/apps/web/dist/assets/{ruby-Dbo7pTDa.js → ruby-BfhTj9bK.js} +1 -1
  6. package/apps/web/dist/index.html +2 -2
  7. package/dist/agent/sesiones/gitSync.js +10 -4
  8. package/dist/agent/sesiones/gitSync.js.map +1 -1
  9. package/dist/agent/sesiones/parcheEnTexto.js +31 -0
  10. package/dist/agent/sesiones/parcheEnTexto.js.map +1 -0
  11. package/dist/agent/sesiones/sesionGit.js +7 -2
  12. package/dist/agent/sesiones/sesionGit.js.map +1 -1
  13. package/dist/core/actos.js +3 -2
  14. package/dist/core/actos.js.map +1 -1
  15. package/dist/core/codificacion.js +24 -0
  16. package/dist/core/codificacion.js.map +1 -1
  17. package/dist/core/notify.js +19 -2
  18. package/dist/core/notify.js.map +1 -1
  19. package/dist/core/remoto.js +38 -1
  20. package/dist/core/remoto.js.map +1 -1
  21. package/dist/core/turno.js +4 -0
  22. package/dist/core/turno.js.map +1 -1
  23. package/dist/web/servidor/arranque.js +49 -6
  24. package/dist/web/servidor/arranque.js.map +1 -1
  25. package/dist/web/servidor/puenteRemoto.js +1 -1
  26. package/dist/web/servidor/puenteRemoto.js.map +1 -1
  27. package/dist/web/servidor/transporte.js.map +1 -1
  28. package/node_modules/@xone/xonecode-remoto/dist/contenido.d.ts +21 -0
  29. package/node_modules/@xone/xonecode-remoto/dist/contenido.js +15 -0
  30. package/node_modules/@xone/xonecode-remoto/web/assets/{index-qBo9eRDN.js → index-CGpR8WL1.js} +33 -33
  31. package/node_modules/@xone/xonecode-remoto/web/assets/{index-Bfa2gK3J.css → index-DDmoyp5d.css} +1 -1
  32. package/node_modules/@xone/xonecode-remoto/web/index.html +2 -2
  33. package/package.json +1 -1
  34. package/apps/web/dist/assets/index-DRNhZyYF.css +0 -1
  35. package/apps/web/dist/assets/index-WcouJw-n.js +0 -506
@@ -1,4 +1,4 @@
1
- (function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const h of s)if(h.type==="childList")for(const f of h.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&o(f)}).observe(document,{childList:!0,subtree:!0});function a(s){const h={};return s.integrity&&(h.integrity=s.integrity),s.referrerPolicy&&(h.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?h.credentials="include":s.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function o(s){if(s.ep)return;s.ep=!0;const h=a(s);fetch(s.href,h)}})();function dy(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Us={exports:{}},eu={};/**
1
+ (function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const f of s)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&o(h)}).observe(document,{childList:!0,subtree:!0});function u(s){const f={};return s.integrity&&(f.integrity=s.integrity),s.referrerPolicy&&(f.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?f.credentials="include":s.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(s){if(s.ep)return;s.ep=!0;const f=u(s);fetch(s.href,f)}})();function py(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Us={exports:{}},eu={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var og;function db(){if(og)return eu;og=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function a(o,s,h){var f=null;if(h!==void 0&&(f=""+h),s.key!==void 0&&(f=""+s.key),"key"in s){h={};for(var d in s)d!=="key"&&(h[d]=s[d])}else h=s;return s=h.ref,{$$typeof:l,type:o,key:f,ref:s!==void 0?s:null,props:h}}return eu.Fragment=u,eu.jsx=a,eu.jsxs=a,eu}var cg;function mb(){return cg||(cg=1,Us.exports=db()),Us.exports}var G=mb(),js={exports:{}},nu={},Ls={exports:{}},Bs={};/**
9
+ */var og;function gb(){if(og)return eu;og=1;var l=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function u(o,s,f){var h=null;if(f!==void 0&&(h=""+f),s.key!==void 0&&(h=""+s.key),"key"in s){f={};for(var d in s)d!=="key"&&(f[d]=s[d])}else f=s;return s=f.ref,{$$typeof:l,type:o,key:h,ref:s!==void 0?s:null,props:f}}return eu.Fragment=a,eu.jsx=u,eu.jsxs=u,eu}var cg;function yb(){return cg||(cg=1,Us.exports=gb()),Us.exports}var V=yb(),js={exports:{}},nu={},Ls={exports:{}},Bs={};/**
10
10
  * @license React
11
11
  * scheduler.production.js
12
12
  *
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var sg;function pb(){return sg||(sg=1,(function(l){function u(Z,et){var ct=Z.length;Z.push(et);t:for(;0<ct;){var _t=ct-1>>>1,T=Z[_t];if(0<s(T,et))Z[_t]=et,Z[ct]=T,ct=_t;else break t}}function a(Z){return Z.length===0?null:Z[0]}function o(Z){if(Z.length===0)return null;var et=Z[0],ct=Z.pop();if(ct!==et){Z[0]=ct;t:for(var _t=0,T=Z.length,$t=T>>>1;_t<$t;){var oe=2*(_t+1)-1,C=Z[oe],_=oe+1,X=Z[_];if(0>s(C,ct))_<T&&0>s(X,C)?(Z[_t]=X,Z[_]=ct,_t=_):(Z[_t]=C,Z[oe]=ct,_t=oe);else if(_<T&&0>s(X,ct))Z[_t]=X,Z[_]=ct,_t=_;else break t}}return et}function s(Z,et){var ct=Z.sortIndex-et.sortIndex;return ct!==0?ct:Z.id-et.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;l.unstable_now=function(){return h.now()}}else{var f=Date,d=f.now();l.unstable_now=function(){return f.now()-d}}var v=[],y=[],g=1,p=null,x=3,b=!1,A=!1,U=!1,B=!1,M=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function st(Z){for(var et=a(y);et!==null;){if(et.callback===null)o(y);else if(et.startTime<=Z)o(y),et.sortIndex=et.expirationTime,u(v,et);else break;et=a(y)}}function rt(Z){if(U=!1,st(Z),!A)if(a(v)!==null)A=!0,H||(H=!0,lt());else{var et=a(y);et!==null&&J(rt,et.startTime-Z)}}var H=!1,F=-1,tt=5,kt=-1;function j(){return B?!0:!(l.unstable_now()-kt<tt)}function $(){if(B=!1,H){var Z=l.unstable_now();kt=Z;var et=!0;try{t:{A=!1,U&&(U=!1,V(F),F=-1),b=!0;var ct=x;try{e:{for(st(Z),p=a(v);p!==null&&!(p.expirationTime>Z&&j());){var _t=p.callback;if(typeof _t=="function"){p.callback=null,x=p.priorityLevel;var T=_t(p.expirationTime<=Z);if(Z=l.unstable_now(),typeof T=="function"){p.callback=T,st(Z),et=!0;break e}p===a(v)&&o(v),st(Z)}else o(v);p=a(v)}if(p!==null)et=!0;else{var $t=a(y);$t!==null&&J(rt,$t.startTime-Z),et=!1}}break t}finally{p=null,x=ct,b=!1}et=void 0}}finally{et?lt():H=!1}}}var lt;if(typeof Q=="function")lt=function(){Q($)};else if(typeof MessageChannel<"u"){var Et=new MessageChannel,ot=Et.port2;Et.port1.onmessage=$,lt=function(){ot.postMessage(null)}}else lt=function(){M($,0)};function J(Z,et){F=M(function(){Z(l.unstable_now())},et)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(Z){Z.callback=null},l.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):tt=0<Z?Math.floor(1e3/Z):5},l.unstable_getCurrentPriorityLevel=function(){return x},l.unstable_next=function(Z){switch(x){case 1:case 2:case 3:var et=3;break;default:et=x}var ct=x;x=et;try{return Z()}finally{x=ct}},l.unstable_requestPaint=function(){B=!0},l.unstable_runWithPriority=function(Z,et){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var ct=x;x=Z;try{return et()}finally{x=ct}},l.unstable_scheduleCallback=function(Z,et,ct){var _t=l.unstable_now();switch(typeof ct=="object"&&ct!==null?(ct=ct.delay,ct=typeof ct=="number"&&0<ct?_t+ct:_t):ct=_t,Z){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=ct+T,Z={id:g++,callback:et,priorityLevel:Z,startTime:ct,expirationTime:T,sortIndex:-1},ct>_t?(Z.sortIndex=ct,u(y,Z),a(v)===null&&Z===a(y)&&(U?(V(F),F=-1):U=!0,J(rt,ct-_t))):(Z.sortIndex=T,u(v,Z),A||b||(A=!0,H||(H=!0,lt()))),Z},l.unstable_shouldYield=j,l.unstable_wrapCallback=function(Z){var et=x;return function(){var ct=x;x=et;try{return Z.apply(this,arguments)}finally{x=ct}}}})(Bs)),Bs}var fg;function gb(){return fg||(fg=1,Ls.exports=pb()),Ls.exports}var Hs={exports:{}},gt={};/**
17
+ */var sg;function vb(){return sg||(sg=1,(function(l){function a(Z,et){var ct=Z.length;Z.push(et);t:for(;0<ct;){var _t=ct-1>>>1,T=Z[_t];if(0<s(T,et))Z[_t]=et,Z[ct]=T,ct=_t;else break t}}function u(Z){return Z.length===0?null:Z[0]}function o(Z){if(Z.length===0)return null;var et=Z[0],ct=Z.pop();if(ct!==et){Z[0]=ct;t:for(var _t=0,T=Z.length,$t=T>>>1;_t<$t;){var oe=2*(_t+1)-1,C=Z[oe],_=oe+1,X=Z[_];if(0>s(C,ct))_<T&&0>s(X,C)?(Z[_t]=X,Z[_]=ct,_t=_):(Z[_t]=C,Z[oe]=ct,_t=oe);else if(_<T&&0>s(X,ct))Z[_t]=X,Z[_]=ct,_t=_;else break t}}return et}function s(Z,et){var ct=Z.sortIndex-et.sortIndex;return ct!==0?ct:Z.id-et.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;l.unstable_now=function(){return f.now()}}else{var h=Date,d=h.now();l.unstable_now=function(){return h.now()-d}}var v=[],g=[],y=1,p=null,x=3,b=!1,z=!1,U=!1,B=!1,M=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function st(Z){for(var et=u(g);et!==null;){if(et.callback===null)o(g);else if(et.startTime<=Z)o(g),et.sortIndex=et.expirationTime,a(v,et);else break;et=u(g)}}function rt(Z){if(U=!1,st(Z),!z)if(u(v)!==null)z=!0,H||(H=!0,lt());else{var et=u(g);et!==null&&J(rt,et.startTime-Z)}}var H=!1,F=-1,tt=5,kt=-1;function j(){return B?!0:!(l.unstable_now()-kt<tt)}function $(){if(B=!1,H){var Z=l.unstable_now();kt=Z;var et=!0;try{t:{z=!1,U&&(U=!1,G(F),F=-1),b=!0;var ct=x;try{e:{for(st(Z),p=u(v);p!==null&&!(p.expirationTime>Z&&j());){var _t=p.callback;if(typeof _t=="function"){p.callback=null,x=p.priorityLevel;var T=_t(p.expirationTime<=Z);if(Z=l.unstable_now(),typeof T=="function"){p.callback=T,st(Z),et=!0;break e}p===u(v)&&o(v),st(Z)}else o(v);p=u(v)}if(p!==null)et=!0;else{var $t=u(g);$t!==null&&J(rt,$t.startTime-Z),et=!1}}break t}finally{p=null,x=ct,b=!1}et=void 0}}finally{et?lt():H=!1}}}var lt;if(typeof Q=="function")lt=function(){Q($)};else if(typeof MessageChannel<"u"){var Et=new MessageChannel,ot=Et.port2;Et.port1.onmessage=$,lt=function(){ot.postMessage(null)}}else lt=function(){M($,0)};function J(Z,et){F=M(function(){Z(l.unstable_now())},et)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(Z){Z.callback=null},l.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):tt=0<Z?Math.floor(1e3/Z):5},l.unstable_getCurrentPriorityLevel=function(){return x},l.unstable_next=function(Z){switch(x){case 1:case 2:case 3:var et=3;break;default:et=x}var ct=x;x=et;try{return Z()}finally{x=ct}},l.unstable_requestPaint=function(){B=!0},l.unstable_runWithPriority=function(Z,et){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var ct=x;x=Z;try{return et()}finally{x=ct}},l.unstable_scheduleCallback=function(Z,et,ct){var _t=l.unstable_now();switch(typeof ct=="object"&&ct!==null?(ct=ct.delay,ct=typeof ct=="number"&&0<ct?_t+ct:_t):ct=_t,Z){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=ct+T,Z={id:y++,callback:et,priorityLevel:Z,startTime:ct,expirationTime:T,sortIndex:-1},ct>_t?(Z.sortIndex=ct,a(g,Z),u(v)===null&&Z===u(g)&&(U?(G(F),F=-1):U=!0,J(rt,ct-_t))):(Z.sortIndex=T,a(v,Z),z||b||(z=!0,H||(H=!0,lt()))),Z},l.unstable_shouldYield=j,l.unstable_wrapCallback=function(Z){var et=x;return function(){var ct=x;x=et;try{return Z.apply(this,arguments)}finally{x=ct}}}})(Bs)),Bs}var fg;function bb(){return fg||(fg=1,Ls.exports=vb()),Ls.exports}var Hs={exports:{}},gt={};/**
18
18
  * @license React
19
19
  * react.production.js
20
20
  *
@@ -22,7 +22,7 @@
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
24
  * LICENSE file in the root directory of this source tree.
25
- */var hg;function yb(){if(hg)return gt;hg=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),x=Symbol.for("react.view_transition"),b=Symbol.iterator;function A(_){return _===null||typeof _!="object"?null:(_=b&&_[b]||_["@@iterator"],typeof _=="function"?_:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,M={};function V(_,X,W){this.props=_,this.context=X,this.refs=M,this.updater=W||U}V.prototype.isReactComponent={},V.prototype.setState=function(_,X){if(typeof _!="object"&&typeof _!="function"&&_!=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,_,X,"setState")},V.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function Q(){}Q.prototype=V.prototype;function st(_,X,W){this.props=_,this.context=X,this.refs=M,this.updater=W||U}var rt=st.prototype=new Q;rt.constructor=st,B(rt,V.prototype),rt.isPureReactComponent=!0;var H=Array.isArray;function F(){}var tt={H:null,A:null,T:null,S:null},kt=Object.prototype.hasOwnProperty;function j(_,X,W){var ut=W.ref;return{$$typeof:l,type:_,key:X,ref:ut!==void 0?ut:null,props:W}}function $(_,X){return j(_.type,X,_.props)}function lt(_){return typeof _=="object"&&_!==null&&_.$$typeof===l}function Et(_){var X={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(W){return X[W]})}var ot=/\/+/g;function J(_,X){return typeof _=="object"&&_!==null&&_.key!=null?Et(""+_.key):X.toString(36)}function Z(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(F,F):(_.status="pending",_.then(function(X){_.status==="pending"&&(_.status="fulfilled",_.value=X)},function(X){_.status==="pending"&&(_.status="rejected",_.reason=X)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function et(_,X,W,ut,bt){var Tt=typeof _;(Tt==="undefined"||Tt==="boolean")&&(_=null);var Ct=!1;if(_===null)Ct=!0;else switch(Tt){case"bigint":case"string":case"number":Ct=!0;break;case"object":switch(_.$$typeof){case l:case u:Ct=!0;break;case g:return Ct=_._init,et(Ct(_._payload),X,W,ut,bt)}}if(Ct)return bt=bt(_),Ct=ut===""?"."+J(_,0):ut,H(bt)?(W="",Ct!=null&&(W=Ct.replace(ot,"$&/")+"/"),et(bt,X,W,"",function(mn){return mn})):bt!=null&&(lt(bt)&&(bt=$(bt,W+(bt.key==null||_&&_.key===bt.key?"":(""+bt.key).replace(ot,"$&/")+"/")+Ct)),X.push(bt)),1;Ct=0;var at=ut===""?".":ut+":";if(H(_))for(var pt=0;pt<_.length;pt++)ut=_[pt],Tt=at+J(ut,pt),Ct+=et(ut,X,W,Tt,bt);else if(pt=A(_),typeof pt=="function")for(_=pt.call(_),pt=0;!(ut=_.next()).done;)ut=ut.value,Tt=at+J(ut,pt++),Ct+=et(ut,X,W,Tt,bt);else if(Tt==="object"){if(typeof _.then=="function")return et(Z(_),X,W,ut,bt);throw X=String(_),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return Ct}function ct(_,X,W){if(_==null)return _;var ut=[],bt=0;return et(_,ut,"","",function(Tt){return X.call(W,Tt,bt++)}),ut}function _t(_){if(_._status===-1){var X=_._result,W=X();W.then(function(ut){(_._status===0||_._status===-1)&&(_._status=1,_._result=ut,W.status===void 0&&(W.status="fulfilled",W.value=ut))},function(ut){(_._status===0||_._status===-1)&&(_._status=2,_._result=ut,W.status===void 0&&(W.status="rejected",W.reason=ut))}),_._status===-1&&(_._status=0,_._result=W)}if(_._status===1)return _._result.default;throw _._result}var T=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)};function $t(_){var X=tt.T,W={};W.types=X!==null?X.types:null,tt.T=W;try{var ut=_(),bt=tt.S;bt!==null&&bt(W,ut),typeof ut=="object"&&ut!==null&&typeof ut.then=="function"&&ut.then(F,T)}catch(Tt){T(Tt)}finally{X!==null&&W.types!==null&&(X.types=W.types),tt.T=X}}function oe(_){var X=tt.T;if(X!==null){var W=X.types;W===null?X.types=[_]:W.indexOf(_)===-1&&W.push(_)}else $t(oe.bind(null,_))}var C={map:ct,forEach:function(_,X,W){ct(_,function(){X.apply(this,arguments)},W)},count:function(_){var X=0;return ct(_,function(){X++}),X},toArray:function(_){return ct(_,function(X){return X})||[]},only:function(_){if(!lt(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return gt.Activity=p,gt.Children=C,gt.Component=V,gt.Fragment=a,gt.Profiler=s,gt.PureComponent=st,gt.StrictMode=o,gt.Suspense=v,gt.ViewTransition=x,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=tt,gt.__COMPILER_RUNTIME={__proto__:null,c:function(_){return tt.H.useMemoCache(_)}},gt.addTransitionType=oe,gt.cache=function(_){return function(){return _.apply(null,arguments)}},gt.cacheSignal=function(){return null},gt.cloneElement=function(_,X,W){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var ut=B({},_.props),bt=_.key;if(X!=null)for(Tt in X.key!==void 0&&(bt=""+X.key),X)!kt.call(X,Tt)||Tt==="key"||Tt==="__self"||Tt==="__source"||Tt==="ref"&&X.ref===void 0||(ut[Tt]=X[Tt]);var Tt=arguments.length-2;if(Tt===1)ut.children=W;else if(1<Tt){for(var Ct=Array(Tt),at=0;at<Tt;at++)Ct[at]=arguments[at+2];ut.children=Ct}return j(_.type,bt,ut)},gt.createContext=function(_){return _={$$typeof:f,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:h,_context:_},_},gt.createElement=function(_,X,W){var ut,bt={},Tt=null;if(X!=null)for(ut in X.key!==void 0&&(Tt=""+X.key),X)kt.call(X,ut)&&ut!=="key"&&ut!=="__self"&&ut!=="__source"&&(bt[ut]=X[ut]);var Ct=arguments.length-2;if(Ct===1)bt.children=W;else if(1<Ct){for(var at=Array(Ct),pt=0;pt<Ct;pt++)at[pt]=arguments[pt+2];bt.children=at}if(_&&_.defaultProps)for(ut in Ct=_.defaultProps,Ct)bt[ut]===void 0&&(bt[ut]=Ct[ut]);return j(_,Tt,bt)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(_){return{$$typeof:d,render:_}},gt.isValidElement=lt,gt.lazy=function(_){return{$$typeof:g,_payload:{_status:-1,_result:_},_init:_t}},gt.memo=function(_,X){return{$$typeof:y,type:_,compare:X===void 0?null:X}},gt.startTransition=$t,gt.unstable_useCacheRefresh=function(){return tt.H.useCacheRefresh()},gt.use=function(_){return tt.H.use(_)},gt.useActionState=function(_,X,W){return tt.H.useActionState(_,X,W)},gt.useCallback=function(_,X){return tt.H.useCallback(_,X)},gt.useContext=function(_){return tt.H.useContext(_)},gt.useDebugValue=function(){},gt.useDeferredValue=function(_,X){return tt.H.useDeferredValue(_,X)},gt.useEffect=function(_,X){return tt.H.useEffect(_,X)},gt.useEffectEvent=function(_){return tt.H.useEffectEvent(_)},gt.useId=function(){return tt.H.useId()},gt.useImperativeHandle=function(_,X,W){return tt.H.useImperativeHandle(_,X,W)},gt.useInsertionEffect=function(_,X){return tt.H.useInsertionEffect(_,X)},gt.useLayoutEffect=function(_,X){return tt.H.useLayoutEffect(_,X)},gt.useMemo=function(_,X){return tt.H.useMemo(_,X)},gt.useOptimistic=function(_,X){return tt.H.useOptimistic(_,X)},gt.useReducer=function(_,X,W){return tt.H.useReducer(_,X,W)},gt.useRef=function(_){return tt.H.useRef(_)},gt.useState=function(_){return tt.H.useState(_)},gt.useSyncExternalStore=function(_,X,W){return tt.H.useSyncExternalStore(_,X,W)},gt.useTransition=function(){return tt.H.useTransition()},gt.version="19.3.0",gt}var dg;function bf(){return dg||(dg=1,Hs.exports=yb()),Hs.exports}var qs={exports:{}},Te={};/**
25
+ */var hg;function Sb(){if(hg)return gt;hg=1;var l=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),x=Symbol.for("react.view_transition"),b=Symbol.iterator;function z(_){return _===null||typeof _!="object"?null:(_=b&&_[b]||_["@@iterator"],typeof _=="function"?_:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,M={};function G(_,X,W){this.props=_,this.context=X,this.refs=M,this.updater=W||U}G.prototype.isReactComponent={},G.prototype.setState=function(_,X){if(typeof _!="object"&&typeof _!="function"&&_!=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,_,X,"setState")},G.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function Q(){}Q.prototype=G.prototype;function st(_,X,W){this.props=_,this.context=X,this.refs=M,this.updater=W||U}var rt=st.prototype=new Q;rt.constructor=st,B(rt,G.prototype),rt.isPureReactComponent=!0;var H=Array.isArray;function F(){}var tt={H:null,A:null,T:null,S:null},kt=Object.prototype.hasOwnProperty;function j(_,X,W){var ut=W.ref;return{$$typeof:l,type:_,key:X,ref:ut!==void 0?ut:null,props:W}}function $(_,X){return j(_.type,X,_.props)}function lt(_){return typeof _=="object"&&_!==null&&_.$$typeof===l}function Et(_){var X={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(W){return X[W]})}var ot=/\/+/g;function J(_,X){return typeof _=="object"&&_!==null&&_.key!=null?Et(""+_.key):X.toString(36)}function Z(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(F,F):(_.status="pending",_.then(function(X){_.status==="pending"&&(_.status="fulfilled",_.value=X)},function(X){_.status==="pending"&&(_.status="rejected",_.reason=X)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function et(_,X,W,ut,bt){var Tt=typeof _;(Tt==="undefined"||Tt==="boolean")&&(_=null);var Ct=!1;if(_===null)Ct=!0;else switch(Tt){case"bigint":case"string":case"number":Ct=!0;break;case"object":switch(_.$$typeof){case l:case a:Ct=!0;break;case y:return Ct=_._init,et(Ct(_._payload),X,W,ut,bt)}}if(Ct)return bt=bt(_),Ct=ut===""?"."+J(_,0):ut,H(bt)?(W="",Ct!=null&&(W=Ct.replace(ot,"$&/")+"/"),et(bt,X,W,"",function(mn){return mn})):bt!=null&&(lt(bt)&&(bt=$(bt,W+(bt.key==null||_&&_.key===bt.key?"":(""+bt.key).replace(ot,"$&/")+"/")+Ct)),X.push(bt)),1;Ct=0;var at=ut===""?".":ut+":";if(H(_))for(var pt=0;pt<_.length;pt++)ut=_[pt],Tt=at+J(ut,pt),Ct+=et(ut,X,W,Tt,bt);else if(pt=z(_),typeof pt=="function")for(_=pt.call(_),pt=0;!(ut=_.next()).done;)ut=ut.value,Tt=at+J(ut,pt++),Ct+=et(ut,X,W,Tt,bt);else if(Tt==="object"){if(typeof _.then=="function")return et(Z(_),X,W,ut,bt);throw X=String(_),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return Ct}function ct(_,X,W){if(_==null)return _;var ut=[],bt=0;return et(_,ut,"","",function(Tt){return X.call(W,Tt,bt++)}),ut}function _t(_){if(_._status===-1){var X=_._result,W=X();W.then(function(ut){(_._status===0||_._status===-1)&&(_._status=1,_._result=ut,W.status===void 0&&(W.status="fulfilled",W.value=ut))},function(ut){(_._status===0||_._status===-1)&&(_._status=2,_._result=ut,W.status===void 0&&(W.status="rejected",W.reason=ut))}),_._status===-1&&(_._status=0,_._result=W)}if(_._status===1)return _._result.default;throw _._result}var T=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)};function $t(_){var X=tt.T,W={};W.types=X!==null?X.types:null,tt.T=W;try{var ut=_(),bt=tt.S;bt!==null&&bt(W,ut),typeof ut=="object"&&ut!==null&&typeof ut.then=="function"&&ut.then(F,T)}catch(Tt){T(Tt)}finally{X!==null&&W.types!==null&&(X.types=W.types),tt.T=X}}function oe(_){var X=tt.T;if(X!==null){var W=X.types;W===null?X.types=[_]:W.indexOf(_)===-1&&W.push(_)}else $t(oe.bind(null,_))}var C={map:ct,forEach:function(_,X,W){ct(_,function(){X.apply(this,arguments)},W)},count:function(_){var X=0;return ct(_,function(){X++}),X},toArray:function(_){return ct(_,function(X){return X})||[]},only:function(_){if(!lt(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return gt.Activity=p,gt.Children=C,gt.Component=G,gt.Fragment=u,gt.Profiler=s,gt.PureComponent=st,gt.StrictMode=o,gt.Suspense=v,gt.ViewTransition=x,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=tt,gt.__COMPILER_RUNTIME={__proto__:null,c:function(_){return tt.H.useMemoCache(_)}},gt.addTransitionType=oe,gt.cache=function(_){return function(){return _.apply(null,arguments)}},gt.cacheSignal=function(){return null},gt.cloneElement=function(_,X,W){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var ut=B({},_.props),bt=_.key;if(X!=null)for(Tt in X.key!==void 0&&(bt=""+X.key),X)!kt.call(X,Tt)||Tt==="key"||Tt==="__self"||Tt==="__source"||Tt==="ref"&&X.ref===void 0||(ut[Tt]=X[Tt]);var Tt=arguments.length-2;if(Tt===1)ut.children=W;else if(1<Tt){for(var Ct=Array(Tt),at=0;at<Tt;at++)Ct[at]=arguments[at+2];ut.children=Ct}return j(_.type,bt,ut)},gt.createContext=function(_){return _={$$typeof:h,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:f,_context:_},_},gt.createElement=function(_,X,W){var ut,bt={},Tt=null;if(X!=null)for(ut in X.key!==void 0&&(Tt=""+X.key),X)kt.call(X,ut)&&ut!=="key"&&ut!=="__self"&&ut!=="__source"&&(bt[ut]=X[ut]);var Ct=arguments.length-2;if(Ct===1)bt.children=W;else if(1<Ct){for(var at=Array(Ct),pt=0;pt<Ct;pt++)at[pt]=arguments[pt+2];bt.children=at}if(_&&_.defaultProps)for(ut in Ct=_.defaultProps,Ct)bt[ut]===void 0&&(bt[ut]=Ct[ut]);return j(_,Tt,bt)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(_){return{$$typeof:d,render:_}},gt.isValidElement=lt,gt.lazy=function(_){return{$$typeof:y,_payload:{_status:-1,_result:_},_init:_t}},gt.memo=function(_,X){return{$$typeof:g,type:_,compare:X===void 0?null:X}},gt.startTransition=$t,gt.unstable_useCacheRefresh=function(){return tt.H.useCacheRefresh()},gt.use=function(_){return tt.H.use(_)},gt.useActionState=function(_,X,W){return tt.H.useActionState(_,X,W)},gt.useCallback=function(_,X){return tt.H.useCallback(_,X)},gt.useContext=function(_){return tt.H.useContext(_)},gt.useDebugValue=function(){},gt.useDeferredValue=function(_,X){return tt.H.useDeferredValue(_,X)},gt.useEffect=function(_,X){return tt.H.useEffect(_,X)},gt.useEffectEvent=function(_){return tt.H.useEffectEvent(_)},gt.useId=function(){return tt.H.useId()},gt.useImperativeHandle=function(_,X,W){return tt.H.useImperativeHandle(_,X,W)},gt.useInsertionEffect=function(_,X){return tt.H.useInsertionEffect(_,X)},gt.useLayoutEffect=function(_,X){return tt.H.useLayoutEffect(_,X)},gt.useMemo=function(_,X){return tt.H.useMemo(_,X)},gt.useOptimistic=function(_,X){return tt.H.useOptimistic(_,X)},gt.useReducer=function(_,X,W){return tt.H.useReducer(_,X,W)},gt.useRef=function(_){return tt.H.useRef(_)},gt.useState=function(_){return tt.H.useState(_)},gt.useSyncExternalStore=function(_,X,W){return tt.H.useSyncExternalStore(_,X,W)},gt.useTransition=function(){return tt.H.useTransition()},gt.version="19.3.0",gt}var dg;function bf(){return dg||(dg=1,Hs.exports=Sb()),Hs.exports}var qs={exports:{}},ze={};/**
26
26
  * @license React
27
27
  * react-dom.production.js
28
28
  *
@@ -30,7 +30,7 @@
30
30
  *
31
31
  * This source code is licensed under the MIT license found in the
32
32
  * LICENSE file in the root directory of this source tree.
33
- */var mg;function vb(){if(mg)return Te;mg=1;var l=bf();function u(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)p+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var o={d:{f:a,r:function(){throw Error(u(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal"),h=Symbol.for("react.recoverable"),f=Symbol.for("react.optimistic_key");function d(g,p,x){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:b==null?null:b===f?f:""+b,children:g,containerInfo:p,implementation:x}}var v=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Te.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Te.browser=function(g){return{$$typeof:h,_reason:g}},Te.createPortal=function(g,p){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(u(299));return d(g,p,null,x)},Te.flushSync=function(g){var p=v.T,x=o.p;try{if(v.T=null,o.p=2,g)return g()}finally{v.T=p,o.p=x,o.d.f()}},Te.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(g,p))},Te.prefetchDNS=function(g){typeof g=="string"&&o.d.D(g)},Te.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var x=p.as,b=y(x,p.crossOrigin),A=typeof p.integrity=="string"?p.integrity:void 0,U=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;x==="style"?o.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:b,integrity:A,fetchPriority:U}):x==="script"&&o.d.X(g,{crossOrigin:b,integrity:A,fetchPriority:U,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Te.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var x=y(p.as,p.crossOrigin);o.d.M(g,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0})}}else p==null&&o.d.M(g)},Te.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var x=p.as,b=y(x,p.crossOrigin);o.d.L(g,x,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Te.preloadModule=function(g,p){if(typeof g=="string")if(p){var x=y(p.as,p.crossOrigin);o.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0})}else o.d.m(g)},Te.requestFormReset=function(g){o.d.r(g)},Te.unstable_batchedUpdates=function(g,p){return g(p)},Te.useFormState=function(g,p,x){return v.H.useFormState(g,p,x)},Te.useFormStatus=function(){return v.H.useHostTransitionStatus()},Te.version="19.3.0",Te}var pg;function bb(){if(pg)return qs.exports;pg=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),qs.exports=vb(),qs.exports}/**
33
+ */var mg;function xb(){if(mg)return ze;mg=1;var l=bf();function a(y){var p="https://react.dev/errors/"+y;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)p+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+y+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var o={d:{f:u,r:function(){throw Error(a(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},s=Symbol.for("react.portal"),f=Symbol.for("react.recoverable"),h=Symbol.for("react.optimistic_key");function d(y,p,x){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:b==null?null:b===h?h:""+b,children:y,containerInfo:p,implementation:x}}var v=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(y,p){if(y==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return ze.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ze.browser=function(y){return{$$typeof:f,_reason:y}},ze.createPortal=function(y,p){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(a(299));return d(y,p,null,x)},ze.flushSync=function(y){var p=v.T,x=o.p;try{if(v.T=null,o.p=2,y)return y()}finally{v.T=p,o.p=x,o.d.f()}},ze.preconnect=function(y,p){typeof y=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(y,p))},ze.prefetchDNS=function(y){typeof y=="string"&&o.d.D(y)},ze.preinit=function(y,p){if(typeof y=="string"&&p&&typeof p.as=="string"){var x=p.as,b=g(x,p.crossOrigin),z=typeof p.integrity=="string"?p.integrity:void 0,U=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;x==="style"?o.d.S(y,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:b,integrity:z,fetchPriority:U}):x==="script"&&o.d.X(y,{crossOrigin:b,integrity:z,fetchPriority:U,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},ze.preinitModule=function(y,p){if(typeof y=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var x=g(p.as,p.crossOrigin);o.d.M(y,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0})}}else p==null&&o.d.M(y)},ze.preload=function(y,p){if(typeof y=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var x=p.as,b=g(x,p.crossOrigin);o.d.L(y,x,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},ze.preloadModule=function(y,p){if(typeof y=="string")if(p){var x=g(p.as,p.crossOrigin);o.d.m(y,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0})}else o.d.m(y)},ze.requestFormReset=function(y){o.d.r(y)},ze.unstable_batchedUpdates=function(y,p){return y(p)},ze.useFormState=function(y,p,x){return v.H.useFormState(y,p,x)},ze.useFormStatus=function(){return v.H.useHostTransitionStatus()},ze.version="19.3.0",ze}var pg;function Eb(){if(pg)return qs.exports;pg=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(a){console.error(a)}}return l(),qs.exports=xb(),qs.exports}/**
34
34
  * @license React
35
35
  * react-dom-client.production.js
36
36
  *
@@ -38,40 +38,40 @@
38
38
  *
39
39
  * This source code is licensed under the MIT license found in the
40
40
  * LICENSE file in the root directory of this source tree.
41
- */var gg;function Sb(){if(gg)return nu;gg=1;var l=gb(),u=bf(),a=bb();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function h(t){for(var e=t,n=e;n&&!n.alternate;)e=n,(e.flags&4098)!==0&&(t=e.return),n=e.return;for(;e.return;)e=e.return;return e.tag===3?t:null}function f(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function d(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function v(t){if(h(t)!==t)throw Error(o(188))}function y(t){var e=t.alternate;if(!e){if(e=h(t),e===null)throw Error(o(188));return e!==t?null:t}for(var n=t,i=e;;){var r=n.return;if(r===null)break;var c=r.alternate;if(c===null){if(i=r.return,i!==null){n=i;continue}break}if(r.child===c.child){for(c=r.child;c;){if(c===n)return v(r),t;if(c===i)return v(r),e;c=c.sibling}throw Error(o(188))}if(n.return!==i.return)n=r,i=c;else{for(var m=!1,S=r.child;S;){if(S===n){m=!0,n=r,i=c;break}if(S===i){m=!0,i=r,n=c;break}S=S.sibling}if(!m){for(S=c.child;S;){if(S===n){m=!0,n=c,i=r;break}if(S===i){m=!0,i=c,n=r;break}S=S.sibling}if(!m)throw Error(o(189))}}if(n.alternate!==i)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?t:e}function g(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=g(t),e!==null)return e;t=t.sibling}return null}function p(t,e,n,i,r,c){for(;t!==null;){if((t.tag===5||t.tag===27||t.tag===6)&&n(t,i,r,c)||(t.tag!==22||t.memoizedState===null)&&(e||t.tag!==5&&t.tag!==27)&&p(t.child,e,n,i,r,c))return!0;t=t.sibling}return!1}function x(t){for(t=t.return;t!==null;){if(t.tag===3||t.tag===5||t.tag===27)return t;t=t.return}return null}function b(t){var e=!1;for(t=t.return;t!==null&&(t.tag===4&&(e=!0),!(t.tag===3||t.tag===5||t.tag===27));)t=t.return;return e}function A(t){var e=[null,null],n=x(t);return n===null||U(e,t,n.child,{foundSelf:!1}),e}function U(t,e,n,i){for(;n!==null;){if(n===e)i.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(i.foundSelf)return t[1]=n,!0;t[0]=n}else if((n.tag!==22||n.memoizedState===null)&&U(t,e,n.child,i))return!0;n=n.sibling}return!1}function B(t){switch(t.tag){case 5:case 27:case 6:return t.stateNode;case 3:return t.stateNode.containerInfo;default:throw Error(o(559))}}var M=null,V=null;function Q(t,e,n){return t===n?!0:t===e?(M=t,!0):!1}function st(t,e,n){return t===n?(V=t,!1):t===e?(V!==null&&(M=t),!0):!1}function rt(t){if(t===null)return null;do t=t===null?null:t.return;while(t&&t.tag!==5&&t.tag!==27&&t.tag!==3);return t||null}function H(t,e,n){for(var i=0,r=t;r;r=n(r))i++;r=0;for(var c=e;c;c=n(c))r++;for(;0<i-r;)t=n(t),i--;for(;0<r-i;)e=n(e),r--;for(;i--;){if(t===e||e!==null&&t===e.alternate)return t;t=n(t),e=n(e)}return null}var F=Object.assign,tt=Symbol.for("react.element"),kt=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),lt=Symbol.for("react.strict_mode"),Et=Symbol.for("react.profiler"),ot=Symbol.for("react.consumer"),J=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),et=Symbol.for("react.suspense"),ct=Symbol.for("react.suspense_list"),_t=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),$t=Symbol.for("react.activity"),oe=Symbol.for("react.legacy_hidden"),C=Symbol.for("react.memo_cache_sentinel"),_=Symbol.for("react.view_transition"),X=Symbol.for("react.recoverable"),W=Symbol.iterator;function ut(t){return t===null||typeof t!="object"?null:(t=W&&t[W]||t["@@iterator"],typeof t=="function"?t:null)}var bt=Symbol.for("react.client.reference");function Tt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===bt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case $:return"Fragment";case Et:return"Profiler";case lt:return"StrictMode";case et:return"Suspense";case ct:return"SuspenseList";case $t:return"Activity";case _:return"ViewTransition"}if(typeof t=="object")switch(t.$$typeof){case j:return"Portal";case J:return t.displayName||"Context";case ot:return(t._context.displayName||"Context")+".Consumer";case Z:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case _t:return e=t.displayName||null,e!==null?e:Tt(t.type)||"Memo";case T:e=t._payload,t=t._init;try{return Tt(t(e))}catch{}}return null}var Ct=Array.isArray,at=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pt=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,mn={pending:!1,data:null,method:null,action:null},ua=[],ll=-1;function Ge(t){return{current:t}}function ne(t){0>ll||(t.current=ua[ll],ua[ll]=null,ll--)}function Bt(t,e){ll++,ua[ll]=t.current,t.current=e}var en=Ge(null),il=Ge(null),pn=Ge(null),si=Ge(null);function fi(t,e){switch(Bt(pn,e),Bt(il,t),Bt(en,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?yp(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=yp(e),t=vp(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}ne(en),Bt(en,t)}function al(){ne(en),ne(il),ne(pn)}function ra(t){var e=t.memoizedState;e!==null&&(Wi._currentValue=e.memoizedState,Bt(si,t)),e=en.current;var n=vp(e,t.type);e!==n&&(Bt(il,t),Bt(en,n))}function hi(t){il.current===t&&(ne(en),ne(il)),si.current===t&&(ne(si),Wi._currentValue=mn)}var L,I;function ht(t){if(L===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);L=e&&e[1]||"",I=-1<n.stack.indexOf(`
41
+ */var gg;function Tb(){if(gg)return nu;gg=1;var l=bb(),a=bf(),u=Eb();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){for(var e=t,n=e;n&&!n.alternate;)e=n,(e.flags&4098)!==0&&(t=e.return),n=e.return;for(;e.return;)e=e.return;return e.tag===3?t:null}function h(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function d(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function v(t){if(f(t)!==t)throw Error(o(188))}function g(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(o(188));return e!==t?null:t}for(var n=t,i=e;;){var r=n.return;if(r===null)break;var c=r.alternate;if(c===null){if(i=r.return,i!==null){n=i;continue}break}if(r.child===c.child){for(c=r.child;c;){if(c===n)return v(r),t;if(c===i)return v(r),e;c=c.sibling}throw Error(o(188))}if(n.return!==i.return)n=r,i=c;else{for(var m=!1,S=r.child;S;){if(S===n){m=!0,n=r,i=c;break}if(S===i){m=!0,i=r,n=c;break}S=S.sibling}if(!m){for(S=c.child;S;){if(S===n){m=!0,n=c,i=r;break}if(S===i){m=!0,i=c,n=r;break}S=S.sibling}if(!m)throw Error(o(189))}}if(n.alternate!==i)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?t:e}function y(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=y(t),e!==null)return e;t=t.sibling}return null}function p(t,e,n,i,r,c){for(;t!==null;){if((t.tag===5||t.tag===27||t.tag===6)&&n(t,i,r,c)||(t.tag!==22||t.memoizedState===null)&&(e||t.tag!==5&&t.tag!==27)&&p(t.child,e,n,i,r,c))return!0;t=t.sibling}return!1}function x(t){for(t=t.return;t!==null;){if(t.tag===3||t.tag===5||t.tag===27)return t;t=t.return}return null}function b(t){var e=!1;for(t=t.return;t!==null&&(t.tag===4&&(e=!0),!(t.tag===3||t.tag===5||t.tag===27));)t=t.return;return e}function z(t){var e=[null,null],n=x(t);return n===null||U(e,t,n.child,{foundSelf:!1}),e}function U(t,e,n,i){for(;n!==null;){if(n===e)i.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(i.foundSelf)return t[1]=n,!0;t[0]=n}else if((n.tag!==22||n.memoizedState===null)&&U(t,e,n.child,i))return!0;n=n.sibling}return!1}function B(t){switch(t.tag){case 5:case 27:case 6:return t.stateNode;case 3:return t.stateNode.containerInfo;default:throw Error(o(559))}}var M=null,G=null;function Q(t,e,n){return t===n?!0:t===e?(M=t,!0):!1}function st(t,e,n){return t===n?(G=t,!1):t===e?(G!==null&&(M=t),!0):!1}function rt(t){if(t===null)return null;do t=t===null?null:t.return;while(t&&t.tag!==5&&t.tag!==27&&t.tag!==3);return t||null}function H(t,e,n){for(var i=0,r=t;r;r=n(r))i++;r=0;for(var c=e;c;c=n(c))r++;for(;0<i-r;)t=n(t),i--;for(;0<r-i;)e=n(e),r--;for(;i--;){if(t===e||e!==null&&t===e.alternate)return t;t=n(t),e=n(e)}return null}var F=Object.assign,tt=Symbol.for("react.element"),kt=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),lt=Symbol.for("react.strict_mode"),Et=Symbol.for("react.profiler"),ot=Symbol.for("react.consumer"),J=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),et=Symbol.for("react.suspense"),ct=Symbol.for("react.suspense_list"),_t=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),$t=Symbol.for("react.activity"),oe=Symbol.for("react.legacy_hidden"),C=Symbol.for("react.memo_cache_sentinel"),_=Symbol.for("react.view_transition"),X=Symbol.for("react.recoverable"),W=Symbol.iterator;function ut(t){return t===null||typeof t!="object"?null:(t=W&&t[W]||t["@@iterator"],typeof t=="function"?t:null)}var bt=Symbol.for("react.client.reference");function Tt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===bt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case $:return"Fragment";case Et:return"Profiler";case lt:return"StrictMode";case et:return"Suspense";case ct:return"SuspenseList";case $t:return"Activity";case _:return"ViewTransition"}if(typeof t=="object")switch(t.$$typeof){case j:return"Portal";case J:return t.displayName||"Context";case ot:return(t._context.displayName||"Context")+".Consumer";case Z:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case _t:return e=t.displayName||null,e!==null?e:Tt(t.type)||"Memo";case T:e=t._payload,t=t._init;try{return Tt(t(e))}catch{}}return null}var Ct=Array.isArray,at=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pt=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,mn={pending:!1,data:null,method:null,action:null},ua=[],ll=-1;function Ge(t){return{current:t}}function ne(t){0>ll||(t.current=ua[ll],ua[ll]=null,ll--)}function Bt(t,e){ll++,ua[ll]=t.current,t.current=e}var en=Ge(null),il=Ge(null),pn=Ge(null),si=Ge(null);function fi(t,e){switch(Bt(pn,e),Bt(il,t),Bt(en,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?yp(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=yp(e),t=vp(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}ne(en),Bt(en,t)}function al(){ne(en),ne(il),ne(pn)}function ra(t){var e=t.memoizedState;e!==null&&(Wi._currentValue=e.memoizedState,Bt(si,t)),e=en.current;var n=vp(e,t.type);e!==n&&(Bt(il,t),Bt(en,n))}function hi(t){il.current===t&&(ne(en),ne(il)),si.current===t&&(ne(si),Wi._currentValue=mn)}var L,I;function ht(t){if(L===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);L=e&&e[1]||"",I=-1<n.stack.indexOf(`
42
42
  at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
43
43
  `+L+t+I}var vt=!1;function se(t,e){if(!t||vt)return"";vt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(P){var O=P}Reflect.construct(t,[],Y)}else{try{Y.call()}catch(P){O=P}Y=!1;try{var k=Object.getOwnPropertyDescriptor(t.prototype,"props");Object.defineProperty(t.prototype,"props",{configurable:!0,set:function(){throw Error()}}),Y=!0,new t}finally{Y&&(k!==void 0?Object.defineProperty(t.prototype,"props",k):delete t.prototype.props)}}}else{try{throw Error()}catch(P){O=P}(Y=t())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(P){if(P&&O&&typeof P.stack=="string")return[P.stack,O.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=i.DetermineComponentFrameRoot(),m=c[0],S=c[1];if(m&&S){var E=m.split(`
44
44
  `),N=S.split(`
45
45
  `);for(r=i=0;i<E.length&&!E[i].includes("DetermineComponentFrameRoot");)i++;for(;r<N.length&&!N[r].includes("DetermineComponentFrameRoot");)r++;if(i===E.length||r===N.length)for(i=E.length-1,r=N.length-1;1<=i&&0<=r&&E[i]!==N[r];)r--;for(;1<=i&&0<=r;i--,r--)if(E[i]!==N[r]){if(i!==1||r!==1)do if(i--,r--,0>r||E[i]!==N[r]){var R=`
46
- `+E[i].replace(" at new "," at ");return t.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",t.displayName)),R}while(1<=i&&0<=r);break}}}finally{vt=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?ht(n):""}function Gt(t,e){switch(t.tag){case 26:case 27:case 5:return ht(t.type);case 16:return ht("Lazy");case 13:return t.child!==e&&e!==null?ht("Suspense Fallback"):ht("Suspense");case 19:return ht("SuspenseList");case 0:case 15:return se(t.type,!1);case 11:return se(t.type.render,!1);case 1:return se(t.type,!0);case 31:return ht("Activity");case 30:return ht("ViewTransition");default:return""}}function pe(t){try{var e="",n=null;do e+=Gt(t,n),n=t,t=t.return;while(t);return e}catch(i){return`
46
+ `+E[i].replace(" at new "," at ");return t.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",t.displayName)),R}while(1<=i&&0<=r);break}}}finally{vt=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?ht(n):""}function Xt(t,e){switch(t.tag){case 26:case 27:case 5:return ht(t.type);case 16:return ht("Lazy");case 13:return t.child!==e&&e!==null?ht("Suspense Fallback"):ht("Suspense");case 19:return ht("SuspenseList");case 0:case 15:return se(t.type,!1);case 11:return se(t.type.render,!1);case 1:return se(t.type,!0);case 31:return ht("Activity");case 30:return ht("ViewTransition");default:return""}}function ge(t){try{var e="",n=null;do e+=Xt(t,n),n=t,t=t.return;while(t);return e}catch(i){return`
47
47
  Error generating stack: `+i.message+`
48
- `+i.stack}}var Re=Object.prototype.hasOwnProperty,Ln=l.unstable_scheduleCallback,Bn=l.unstable_cancelCallback,Ul=l.unstable_shouldYield,pu=l.unstable_requestPaint,ge=l.unstable_now,_e=l.unstable_getCurrentPriorityLevel,Hn=l.unstable_ImmediatePriority,nn=l.unstable_UserBlockingPriority,gu=l.unstable_NormalPriority,x0=l.unstable_LowPriority,Vf=l.unstable_IdlePriority,E0=l.log,T0=l.unstable_setDisableYieldValue,oa=null,Xe=null;function ul(t){if(typeof E0=="function"&&T0(t),Xe&&typeof Xe.setStrictMode=="function")try{Xe.setStrictMode(oa,t)}catch{}}var Qe=Math.clz32?Math.clz32:C0,A0=Math.log,z0=Math.LN2;function C0(t){return t>>>=0,t===0?32:31-(A0(t)/z0|0)|0}var yu=256,vu=262144,bu=4194304;function jl(t){var e=t&42;if(e!==0)return e;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&-t;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 Su(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var r=0,c=t.suspendedLanes,m=t.pingedLanes;t=t.warmLanes;var S=i&134217727;return S!==0?(i=S&~c,i!==0?r=jl(i):(m&=S,m!==0?r=jl(m):n||(n=S&~t,n!==0&&(r=jl(n))))):(S=i&~c,S!==0?r=jl(S):m!==0?r=jl(m):n||(n=i&~t,n!==0&&(r=jl(n)))),r===0?0:e!==0&&e!==r&&(e&c)===0&&(c=r&-r,n=e&-e,c>=n||c===32&&(n&4194048)!==0)?e:r}function ca(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Gf(t,e){(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var i=31-Qe(n),r=1<<i;e|=t[i],n&=~r}return e}function _0(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Xf(){var t=bu;return bu<<=1,(bu&62914560)===0&&(bu=4194304),t}function ro(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function sa(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function O0(t,e,n,i,r,c){var m=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var S=t.entanglements,E=t.expirationTimes,N=t.hiddenUpdates;for(n=m&~n;0<n;){var R=31-Qe(n),Y=1<<R;S[R]=0,E[R]=-1;var O=N[R];if(O!==null)for(N[R]=null,R=0;R<O.length;R++){var k=O[R];k!==null&&(k.lane&=-536870913)}n&=~Y}i!==0&&Qf(t,i,0),c!==0&&r===0&&t.tag!==0&&(t.suspendedLanes|=c&~(m&~e))}function Qf(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-Qe(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|n&261930}function Zf(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-Qe(n),r=1<<i;r&e|t[i]&e&&(t[i]|=e),n&=~r}}function Kf(t,e){var n=e&-e;return n=(n&42)!==0?1:oo(n),(n&(t.suspendedLanes|e))!==0?0:n}function oo(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 co(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Jf(){var t=pt.p;return t!==0?t:(t=window.event,t===void 0?32:eg(t.type))}function Ff(t,e){var n=pt.p;try{return pt.p=t,e()}finally{pt.p=n}}var qn=Math.random().toString(36).slice(2),ye="__reactFiber$"+qn,Ue="__reactProps$"+qn,di="__reactContainer$"+qn,If="__reactEvents$"+qn,w0="__reactListeners$"+qn,N0="__reactHandles$"+qn,$f="__reactResources$"+qn,fa="__reactMarker$"+qn,xu="__reactLoad$"+qn;function Eu(t){delete t[ye],delete t[Ue],delete t[w0],delete t[N0]}function Ll(t){var e;if(e=t[ye])return e;for(var n=t.parentNode;n;){if(e=n[di]||n[ye]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Up(t);t!==null;){if(n=t[ye])return n;t=Up(t)}return e}t=n,n=t.parentNode}return null}function mi(t){if(t=t[ye]||t[di]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function ha(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function pi(t){var e=t[$f];return e||(e=t[$f]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function fe(t){t[fa]=!0}function Pf(t){t[xu]=void 0}var Wf=new Set,th={};function Bl(t,e){gi(t,e),gi(t+"Capture",e)}function gi(t,e){for(th[t]=e,t=0;t<e.length;t++)Wf.add(e[t])}var D0=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]*$"),eh={},nh={};function k0(t){return Re.call(nh,t)?!0:Re.call(eh,t)?!1:D0.test(t)?nh[t]=!0:(eh[t]=!0,!1)}var Rt=!1;function lh(){var t=Rt;return Rt=!1,t}function Tu(t,e,n){if(k0(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,n)}}function Au(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,n)}}function Yn(t,e,n,i){if(i===null)t.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,i)}}function Ze(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ih(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function M0(t,e,n){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,c=i.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return r.call(this)},set:function(m){n=""+m,c.call(this,m)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(m){n=""+m},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function so(t){if(!t._valueTracker){var e=ih(t)?"checked":"value";t._valueTracker=M0(t,e,""+t[e])}}function ah(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=ih(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}var R0=/[\n"\\]/g;function ln(t){return t.replace(R0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function fo(t,e,n,i,r,c,m,S){t.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.type=m:t.removeAttribute("type"),e!=null?m==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ze(e)):t.value!==""+Ze(e)&&(t.value=""+Ze(e)):m!=="submit"&&m!=="reset"||t.removeAttribute("value"),e!=null?m==="number"&&t.value==e?ho(t,Ze(t.value)):ho(t,Ze(e)):n!=null?ho(t,Ze(n)):i!=null&&t.removeAttribute("value"),r==null&&c!=null&&(t.defaultChecked=!!c),r!=null&&(t.checked=r&&typeof r!="function"&&typeof r!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+Ze(S):t.removeAttribute("name")}function uh(t,e,n,i,r,c,m,S){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){so(t);return}n=n!=null?""+Ze(n):"",e=e!=null?""+Ze(e):n,S||e===t.value||(t.value=e),t.defaultValue=e}i=i??r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=S?t.checked:!!i,t.defaultChecked=!!i,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.name=m),so(t)}function ho(t,e){t.defaultValue!==""+e&&(t.defaultValue=""+e)}function yi(t,e,n,i){if(t=t.options,e){e={};for(var r=0;r<n.length;r++)e["$"+n[r]]=!0;for(n=0;n<t.length;n++)r=e.hasOwnProperty("$"+t[n].value),t[n].selected!==r&&(t[n].selected=r),r&&i&&(t[n].defaultSelected=!0)}else{for(n=""+Ze(n),e=null,r=0;r<t.length;r++){if(t[r].value===n){t[r].selected=!0,i&&(t[r].defaultSelected=!0);return}e!==null||t[r].disabled||(e=t[r])}e!==null&&(e.selected=!0)}}function rh(t,e,n){if(e!=null&&(e=""+Ze(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Ze(n):""}function oh(t,e,n,i){if(e==null){if(i!=null){if(n!=null)throw Error(o(92));if(Ct(i)){if(1<i.length)throw Error(o(93));i=i[0]}n=i}n==null&&(n=""),e=n}n=Ze(e),t.defaultValue=n,i=t.textContent,i===n&&i!==""&&i!==null&&(t.value=i),so(t)}function vi(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var U0=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 ch(t,e,n){var i=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,n):typeof n!="number"||n===0||U0.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function sh(t,e,n){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="",Rt=!0);for(var r in e)i=e[r],e.hasOwnProperty(r)&&n[r]!==i&&(ch(t,r,i),Rt=!0)}else for(var c in e)e.hasOwnProperty(c)&&ch(t,c,e[c])}function mo(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 j0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),L0=/^[\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 zu(t){return L0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function An(){}var po=null;function go(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var bi=null,Si=null;function fh(t){var e=mi(t);if(e&&(t=e.stateNode)){var n=t[Ue]||null;t:switch(t=e.stateNode,e.type){case"input":if(fo(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+ln(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var r=i[Ue]||null;if(!r)throw Error(o(90));fo(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(e=0;e<n.length;e++)i=n[e],i.form===t.form&&ah(i)}break t;case"textarea":rh(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&yi(t,!!n.multiple,e,!1)}}}var yo=!1;function hh(t,e,n){if(yo)return t(e,n);yo=!0;try{var i=t(e);return i}finally{if(yo=!1,(bi!==null||Si!==null)&&(zr(),bi&&(e=bi,t=Si,Si=bi=null,fh(e),t)))for(e=0;e<t.length;e++)fh(t[e])}}function da(t,e){var n=t.stateNode;if(n===null)return null;var i=n[Ue]||null;if(i===null)return null;n=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(o(231,e,typeof n));return n}var Vn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vo=!1;if(Vn)try{var ma={};Object.defineProperty(ma,"passive",{get:function(){vo=!0}}),window.addEventListener("test",ma,ma),window.removeEventListener("test",ma,ma)}catch{vo=!1}var rl=null,bo=null,Cu=null;function dh(){if(Cu)return Cu;var t,e=bo,n=e.length,i,r="value"in rl?rl.value:rl.textContent,c=r.length;for(t=0;t<n&&e[t]===r[t];t++);var m=n-t;for(i=1;i<=m&&e[n-i]===r[c-i];i++);return Cu=r.slice(t,1<i?1-i:void 0)}function _u(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ou(){return!0}function mh(){return!1}function Oe(t){function e(n,i,r,c,m){this._reactName=n,this._targetInst=r,this.type=i,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(n=t[S],this[S]=n?n(c):c[S]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Ou:mh,this.isPropagationStopped=mh,this}return F(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ou)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ou)},persist:function(){},isPersistent:Ou}),e}var ol={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wu=Oe(ol),pa=F({},ol,{view:0,detail:0}),B0=Oe(pa),So,xo,ga,Nu=F({},pa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:To,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!==ga&&(ga&&t.type==="mousemove"?(So=t.screenX-ga.screenX,xo=t.screenY-ga.screenY):xo=So=0,ga=t),So)},movementY:function(t){return"movementY"in t?t.movementY:xo}}),ph=Oe(Nu),H0=F({},Nu,{dataTransfer:0}),q0=Oe(H0),Y0=F({},pa,{relatedTarget:0}),Eo=Oe(Y0),V0=F({},ol,{animationName:0,elapsedTime:0,pseudoElement:0}),G0=Oe(V0),X0=F({},ol,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Q0=Oe(X0),Z0=F({},ol,{data:0}),gh=Oe(Z0),K0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},J0={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"},F0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function I0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=F0[t])?!!e[t]:!1}function To(){return I0}var $0=F({},pa,{key:function(t){if(t.key){var e=K0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=_u(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?J0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:To,charCode:function(t){return t.type==="keypress"?_u(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?_u(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),P0=Oe($0),W0=F({},Nu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yh=Oe(W0),t1=F({},ol,{submitter:0}),e1=Oe(t1),n1=F({},pa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:To}),l1=Oe(n1),i1=F({},ol,{propertyName:0,elapsedTime:0,pseudoElement:0}),a1=Oe(i1),u1=F({},Nu,{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}),r1=Oe(u1),o1=F({},ol,{newState:0,oldState:0,source:0}),c1=Oe(o1),s1=[9,13,27,32],Ao=Vn&&"CompositionEvent"in window,ya=null;Vn&&"documentMode"in document&&(ya=document.documentMode);var f1=Vn&&"TextEvent"in window&&!ya,vh=Vn&&(!Ao||ya&&8<ya&&11>=ya),bh=" ",Sh=!1;function xh(t,e){switch(t){case"keyup":return s1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Eh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var xi=!1;function h1(t,e){switch(t){case"compositionend":return Eh(e);case"keypress":return e.which!==32?null:(Sh=!0,bh);case"textInput":return t=e.data,t===bh&&Sh?null:t;default:return null}}function d1(t,e){if(xi)return t==="compositionend"||!Ao&&xh(t,e)?(t=dh(),Cu=bo=rl=null,xi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return vh&&e.locale!=="ko"?null:e.data;default:return null}}var m1={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 Th(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!m1[t.type]:e==="textarea"}function Ah(t,e,n,i){bi?Si?Si.push(i):Si=[i]:bi=i,e=Dr(e,"onChange"),0<e.length&&(n=new wu("onChange","change",null,n,i),t.push({event:n,listeners:e}))}var va=null,ba=null;function p1(t){fp(t,0)}function Du(t){var e=ha(t);if(ah(e))return t}function zh(t,e){if(t==="change")return e}var Ch=!1;if(Vn){var zo;if(Vn){var Co="oninput"in document;if(!Co){var _h=document.createElement("div");_h.setAttribute("oninput","return;"),Co=typeof _h.oninput=="function"}zo=Co}else zo=!1;Ch=zo&&(!document.documentMode||9<document.documentMode)}function Oh(){va&&(va.detachEvent("onpropertychange",wh),ba=va=null)}function wh(t){if(t.propertyName==="value"&&Du(ba)){var e=[];Ah(e,ba,t,go(t)),hh(p1,e)}}function g1(t,e,n){t==="focusin"?(Oh(),va=e,ba=n,va.attachEvent("onpropertychange",wh)):t==="focusout"&&Oh()}function y1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Du(ba)}function v1(t,e){if(t==="click")return Du(e)}function b1(t,e){if(t==="input"||t==="change")return Du(e)}function S1(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ke=typeof Object.is=="function"?Object.is:S1;function Sa(t,e){if(Ke(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var r=n[i];if(!Re.call(e,r)||!Ke(t[r],e[r]))return!1}return!0}function _o(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}}function Nh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Dh(t,e){var n=Nh(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Nh(n)}}function kh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?kh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Mh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=_o(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=_o(t.document)}return e}function Oo(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var x1=Vn&&"documentMode"in document&&11>=document.documentMode,Ei=null,wo=null,xa=null,No=!1;function Rh(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;No||Ei==null||Ei!==_o(i)||(i=Ei,"selectionStart"in i&&Oo(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),xa&&Sa(xa,i)||(xa=i,i=Dr(wo,"onSelect"),0<i.length&&(e=new wu("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=Ei)))}function Hl(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Ti={animationend:Hl("Animation","AnimationEnd"),animationiteration:Hl("Animation","AnimationIteration"),animationstart:Hl("Animation","AnimationStart"),transitionrun:Hl("Transition","TransitionRun"),transitionstart:Hl("Transition","TransitionStart"),transitioncancel:Hl("Transition","TransitionCancel"),transitionend:Hl("Transition","TransitionEnd")},Do={},Uh={};Vn&&(Uh=document.createElement("div").style,"AnimationEvent"in window||(delete Ti.animationend.animation,delete Ti.animationiteration.animation,delete Ti.animationstart.animation),"TransitionEvent"in window||delete Ti.transitionend.transition);function ql(t){if(Do[t])return Do[t];if(!Ti[t])return t;var e=Ti[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Uh)return Do[t]=e[n];return t}var jh=ql("animationend"),Lh=ql("animationiteration"),Bh=ql("animationstart"),E1=ql("transitionrun"),T1=ql("transitionstart"),A1=ql("transitioncancel"),Hh=ql("transitionend"),qh=new Map,ko="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ko.push("scrollEnd");function gn(t,e){qh.set(t,e),Bl(e,[t])}var z1=0;function Gn(t,e){if(t.name!=null&&t.name!=="auto")return t.name;if(e.autoName!==null)return e.autoName;t=Sn.identifierPrefix;var n=z1++;return t="_"+t+"t_"+n.toString(32)+"_",e.autoName=t}function Yh(t){if(t==null||typeof t=="string")return t;var e=null,n=Gi;if(n!==null)for(var i=0;i<n.length;i++){var r=t[n[i]];if(r!=null){if(r==="none")return"none";e=e==null?r:e+(" "+r)}}return e??t.default}function Xn(t,e){return t=Yh(t),e=Yh(e),e==null?t==="auto"?null:t:e==="auto"?null:e}var ku=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},an=[],Ai=0,Mo=0;function Mu(){for(var t=Ai,e=Mo=Ai=0;e<t;){var n=an[e];an[e++]=null;var i=an[e];an[e++]=null;var r=an[e];an[e++]=null;var c=an[e];if(an[e++]=null,i!==null&&r!==null){var m=i.pending;m===null?r.next=r:(r.next=m.next,m.next=r),i.pending=r}c!==0&&Vh(n,r,c)}}function Ru(t,e,n,i){an[Ai++]=t,an[Ai++]=e,an[Ai++]=n,an[Ai++]=i,Mo|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function Ro(t,e,n,i){return Ru(t,e,n,i),Uu(t)}function Yl(t,e){return Ru(t,null,null,e),Uu(t)}function Vh(t,e,n){t.lanes|=n;var i=t.alternate;i!==null&&(i.lanes|=n);for(var r=!1,c=t.return;c!==null;)c.childLanes|=n,i=c.alternate,i!==null&&(i.childLanes|=n),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(r=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,r&&e!==null&&(r=31-Qe(n),t=c.hiddenUpdates,i=t[r],i===null?t[r]=[e]:i.push(e),e.lane=n|536870912),c):null}function Uu(t){if(50<Ga)throw Ga=0,Ar=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var zi={};function C1(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(t,e,n,i){return new C1(t,e,n,i)}function Uo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Qn(t,e){var n=t.alternate;return n===null?(n=je(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&1206910976,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function Gh(t,e){t.flags&=1206910978;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function ju(t,e,n,i,r,c){var m=0;if(i=t,typeof i=="function")Uo(i)&&(m=1);else if(typeof i=="string")m=tb(t,n,en.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(i){case $t:return t=je(31,n,e,r),t.elementType=$t,t.lanes=c,t;case $:return Vl(n.children,r,c,e);case lt:m=8,r|=24;break;case Et:return t=je(12,n,e,r|2),t.elementType=Et,t.lanes=c,t;case et:return t=je(13,n,e,r),t.elementType=et,t.lanes=c,t;case ct:return t=je(19,n,e,r),t.elementType=ct,t.lanes=c,t;case oe:case _:return t=r|32,t=je(30,n,e,t),t.elementType=_,t.lanes=c,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case J:m=10;break t;case ot:m=9;break t;case Z:m=11;break t;case _t:m=14;break t;case T:m=16,i=null;break t}m=29,n=Error(o(130,t===null?"null":typeof t,"")),i=null}return e=je(m,n,e,r),e.elementType=t,e.type=i,e.lanes=c,e}function Vl(t,e,n,i){return t=je(7,t,i,e),t.lanes=n,t}function jo(t,e,n){return t=je(6,t,null,e),t.lanes=n,t}function Xh(t){var e=je(18,null,null,0);return e.stateNode=t,e}function Lo(t,e,n){return e=je(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Qh=new WeakMap;function un(t,e){if(typeof t=="object"&&t!==null){var n=Qh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:pe(e)},Qh.set(t,e),e)}return{value:t,source:e,stack:pe(e)}}var Ci=[],_i=0,Lu=null,Ea=0,rn=[],on=0,cl=null,zn=1,Cn="";function Zn(t,e){Ci[_i++]=Ea,Ci[_i++]=Lu,Lu=t,Ea=e}function Zh(t,e,n){rn[on++]=zn,rn[on++]=Cn,rn[on++]=cl,cl=t;var i=zn;t=Cn;var r=32-Qe(i)-1;i&=~(1<<r),n+=1;var c=32-Qe(e)+r;if(30<c){var m=r-r%5;c=(i&(1<<m)-1).toString(32),i>>=m,r-=m,zn=1<<32-Qe(e)+r|n<<r|i,Cn=c+t}else zn=1<<c|n<<r|i,Cn=t}function Bu(t){t.return!==null&&(Zn(t,1),Zh(t,1,0))}function Bo(t){for(;t===Lu;)Lu=Ci[--_i],Ci[_i]=null,Ea=Ci[--_i],Ci[_i]=null;for(;t===cl;)cl=rn[--on],rn[on]=null,Cn=rn[--on],rn[on]=null,zn=rn[--on],rn[on]=null}function Kh(t,e){rn[on++]=zn,rn[on++]=Cn,rn[on++]=cl,zn=e.id,Cn=e.overflow,cl=t}var he=null,Kt=null,At=!1,sl=null,cn=!1,Ho=Error(o(519));function fl(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ta(un(e,t)),Ho}function Jh(t){var e=t.stateNode,n=t.type,i=t.memoizedProps;switch(e[ye]=t,e[Ue]=i,n){case"dialog":wt("cancel",e),wt("close",e);break;case"iframe":case"object":case"embed":wt("load",e);break;case"video":case"audio":for(n=0;n<Qa.length;n++)wt(Qa[n],e);break;case"source":wt("error",e);break;case"img":case"image":case"link":wt("error",e),wt("load",e);break;case"details":wt("toggle",e);break;case"input":wt("invalid",e),uh(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":wt("invalid",e);break;case"textarea":wt("invalid",e),oh(e,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||i.suppressHydrationWarning===!0||pp(e.textContent,n)?(i.popover!=null&&(wt("beforetoggle",e),wt("toggle",e)),i.onScroll!=null&&wt("scroll",e),i.onScrollEnd!=null&&wt("scrollend",e),i.onClick!=null&&(e.onclick=An),e=!0):e=!1,e||fl(t,!0)}function Hu(t){for(he=t.return;he;)switch(he.tag){case 5:case 31:case 13:cn=!1;return;case 27:case 3:cn=!0;return;default:he=he.return}}function Oi(t){if(t!==he)return!1;if(!At)return Hu(t),At=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||ps(t.type,t.memoizedProps)),n=!n),n&&Kt&&fl(t),Hu(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Kt=Rp(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Kt=Rp(t)}else e===27?(e=Kt,_l(t.type)?(t=As,As=null,Kt=t):Kt=e):Kt=he?fn(t.stateNode.nextSibling):null;return!0}function Gl(){Kt=he=null,At=!1}function qo(){var t=sl;return t!==null&&(He===null?He=t:He.push.apply(He,t),sl=null),t}function Ta(t){sl===null?sl=[t]:sl.push(t)}var Yo=Ge(null),Xl=null,Kn=null;function hl(t,e,n){Bt(Yo,e._currentValue),e._currentValue=n}function Jn(t){t._currentValue=Yo.current,ne(Yo)}function qu(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}function Vo(t,e,n,i){var r=t.child;for(r!==null&&(r.return=t);r!==null;){var c=r.dependencies;if(c!==null){var m=r.child;c=c.firstContext;t:for(;c!==null;){var S=c;c=r;for(var E=0;E<e.length;E++)if(S.context===e[E]){c.lanes|=n,S=c.alternate,S!==null&&(S.lanes|=n),qu(c.return,n,t),i||(m=null);break t}c=S.next}}else if(r.tag===18){if(m=r.return,m===null)throw Error(o(341));m.lanes|=n,c=m.alternate,c!==null&&(c.lanes|=n),qu(m,n,t),m=null}else r.tag===13&&r.memoizedState!==null&&r.memoizedState.dehydrated===null?(r.lanes|=n,m=r.alternate,m!==null&&(m.lanes|=n),qu(r.return,n,t),m=r.child,m=m!==null?m.sibling:null):m=r.child;if(m!==null)m.return=r;else for(m=r;m!==null;){if(m===t){m=null;break}if(r=m.sibling,r!==null){r.return=m.return,m=r;break}m=m.return}r=m}}function Ql(t,e,n,i){t=null;for(var r=e,c=!1;r!==null;){if(!c){if((r.flags&524288)!==0)c=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var m=r.alternate;if(m===null)throw Error(o(387));if(m=m.memoizedProps,m!==null){var S=r.type;Ke(r.pendingProps.value,m.value)||(t!==null?t.push(S):t=[S])}}else if(r===si.current){if(m=r.alternate,m===null)throw Error(o(387));m.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(t!==null?t.push(Wi):t=[Wi])}r=r.return}return t!==null&&Vo(e,t,n,i),e.flags|=262144,t!==null}function Yu(t){for(t=t.firstContext;t!==null;){if(!Ke(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Zl(t){Xl=t,Kn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ve(t){return Fh(Xl,t)}function Vu(t,e){return Xl===null&&Zl(t),Fh(t,e)}function Fh(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},Kn===null){if(t===null)throw Error(o(308));Kn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Kn=Kn.next=e;return n}var _1=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},O1=l.unstable_scheduleCallback,w1=l.unstable_NormalPriority,le={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Go(){return{controller:new _1,data:new Map,refCount:0}}function Aa(t){t.refCount--,t.refCount===0&&O1(w1,function(){t.controller.abort()})}function Ih(t,e){if((t.pendingLanes&4194048)!==0){var n=t.transitionTypes;for(n===null&&(n=t.transitionTypes=[]),t=0;t<e.length;t++){var i=e[t];n.indexOf(i)===-1&&n.push(i)}}}var za=null;function N1(t){var e=t.transitionTypes;return t.transitionTypes=null,e}var Ca=null,Xo=0,Kl=0,wi=null;function D1(t,e){if(Ca===null){var n=Ca=[];Xo=0,Kl=us(),wi={status:"pending",value:void 0,then:function(i){n.push(i)}}}return Xo++,e.then($h,$h),e}function $h(){if(--Xo===0&&(za=null,Ca!==null)){wi!==null&&(wi.status="fulfilled");var t=Ca;Ca=null,Kl=0,wi=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function k1(t,e){var n=[],i={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var r=0;r<n.length;r++)(0,n[r])(e)},function(r){for(i.status="rejected",i.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),i}var Ph=at.S;at.S=function(t,e){if(Xm=ge(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&D1(t,e),za!==null)for(var n=Ki;n!==null;)Ih(n,za),n=n.next;if(n=t.types,n!==null){for(var i=Ki;i!==null;)Ih(i,n),i=i.next;if(Kl!==0){i=za,i===null&&(i=za=[]);for(var r=0;r<n.length;r++){var c=n[r];i.indexOf(c)===-1&&i.push(c)}}}Ph!==null&&Ph(t,e)};var Jl=Ge(null);function Qo(){var t=Jl.current;return t!==null?t:Xt.pooledCache}function Gu(t,e){e===null?Bt(Jl,Jl.current):Bt(Jl,e.pool)}function Wh(){var t=Qo();return t===null?null:{parent:le._currentValue,pool:t}}var Ni=Error(o(460)),Zo=Error(o(474)),Xu=Error(o(542)),Qu={then:function(){}};function td(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ed(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(An,An),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ld(t),t===void 0&&!("reason"in e)?Error(o(600)):t;default:if(typeof e.status=="string")e.then(An,An);else{if(t=Xt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var r=e;r.status="fulfilled",r.value=i}},function(i){if(e.status==="pending"){var r=e;r.status="rejected",r.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ld(t),t}throw Il=e,Ni}}function Fl(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Il=n,Ni):n}}var Il=null;function nd(){if(Il===null)throw Error(o(459));var t=Il;return Il=null,t}function ld(t){if(t===Ni||t===Xu)throw Error(o(483))}var Di=null,_a=0;function Zu(t){var e=_a;return _a+=1,Di===null&&(Di=[]),ed(Di,t,e)}function dl(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Ku(t,e){throw e.$$typeof===tt?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function id(t){function e(w,z){if(t){var D=w.deletions;D===null?(w.deletions=[z],w.flags|=16):D.push(z)}}function n(w,z){if(!t)return null;for(;z!==null;)e(w,z),z=z.sibling;return null}function i(w){for(var z=new Map;w!==null;)w.key===null?z.set(w.index,w):z.set(w.key,w),w=w.sibling;return z}function r(w,z){return w=Qn(w,z),w.index=0,w.sibling=null,w}function c(w,z,D){return w.index=D,t?(D=w.alternate,D!==null?(D=D.index,D<z?(w.flags|=2,z):D):(w.flags|=134217730,z)):(w.flags|=1048576,z)}function m(w){return t&&w.alternate===null&&(w.flags|=134217730),w}function S(w,z,D,q){return z===null||z.tag!==6?(z=jo(D,w.mode,q),z.return=w,z):(z=r(z,D),z.return=w,z)}function E(w,z,D,q){var nt=D.type;return nt===$?(w=R(w,z,D.props.children,q,D.key),dl(w,D),w):z!==null&&(z.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===T&&Fl(nt)===z.type)?(z=r(z,D.props),dl(z,D),z.return=w,z):(z=ju(D.type,D.key,D.props,null,w.mode,q),dl(z,D),z.return=w,z)}function N(w,z,D,q){return z===null||z.tag!==4||z.stateNode.containerInfo!==D.containerInfo||z.stateNode.implementation!==D.implementation?(z=Lo(D,w.mode,q),z.return=w,z):(z=r(z,D.children||[]),z.return=w,z)}function R(w,z,D,q,nt){return z===null||z.tag!==7?(z=Vl(D,w.mode,q,nt),z.return=w,z):(z=r(z,D),z.return=w,z)}function Y(w,z,D){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=jo(""+z,w.mode,D),z.return=w,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case kt:return D=ju(z.type,z.key,z.props,null,w.mode,D),dl(D,z),D.return=w,D;case j:return z=Lo(z,w.mode,D),z.return=w,z;case T:return z=Fl(z),Y(w,z,D)}if(Ct(z)||ut(z))return z=Vl(z,w.mode,D,null),z.return=w,z;if(typeof z.then=="function")return Y(w,Zu(z),D);if(z.$$typeof===J)return Y(w,Vu(w,z),D);Ku(w,z)}return null}function O(w,z,D,q){var nt=z!==null?z.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return nt!==null?null:S(w,z,""+D,q);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case kt:return D.key===nt?E(w,z,D,q):null;case j:return D.key===nt?N(w,z,D,q):null;case T:return D=Fl(D),O(w,z,D,q)}if(Ct(D)||ut(D))return nt!==null?null:R(w,z,D,q,null);if(typeof D.then=="function")return O(w,z,Zu(D),q);if(D.$$typeof===J)return O(w,z,Vu(w,D),q);Ku(w,D)}return null}function k(w,z,D,q,nt){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return w=w.get(D)||null,S(z,w,""+q,nt);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case kt:return w=w.get(q.key===null?D:q.key)||null,E(z,w,q,nt);case j:return w=w.get(q.key===null?D:q.key)||null,N(z,w,q,nt);case T:return q=Fl(q),k(w,z,D,q,nt)}if(Ct(q)||ut(q))return w=w.get(D)||null,R(z,w,q,nt,null);if(typeof q.then=="function")return k(w,z,D,Zu(q),nt);if(q.$$typeof===J)return k(w,z,D,Vu(z,q),nt);Ku(z,q)}return null}function P(w,z,D,q){for(var nt=null,Dt=null,ft=z,mt=z=0,ue=null;ft!==null&&mt<D.length;mt++){ft.index>mt?(ue=ft,ft=null):ue=ft.sibling;var Mt=O(w,ft,D[mt],q);if(Mt===null){ft===null&&(ft=ue);break}t&&ft&&Mt.alternate===null&&e(w,ft),z=c(Mt,z,mt),Dt===null?nt=Mt:Dt.sibling=Mt,Dt=Mt,ft=ue}if(mt===D.length)return n(w,ft),At&&Zn(w,mt),nt;if(ft===null){for(;mt<D.length;mt++)ft=Y(w,D[mt],q),ft!==null&&(z=c(ft,z,mt),Dt===null?nt=ft:Dt.sibling=ft,Dt=ft);return At&&Zn(w,mt),nt}for(ft=i(ft);mt<D.length;mt++)ue=k(ft,w,mt,D[mt],q),ue!==null&&(t&&(Mt=ue.alternate,Mt!==null&&ft.delete(Mt.key===null?mt:Mt.key)),z=c(ue,z,mt),Dt===null?nt=ue:Dt.sibling=ue,Dt=ue);return t&&ft.forEach(function(kl){return e(w,kl)}),At&&Zn(w,mt),nt}function it(w,z,D,q){if(D==null)throw Error(o(151));for(var nt=null,Dt=null,ft=z,mt=z=0,ue=null,Mt=D.next();ft!==null&&!Mt.done;mt++,Mt=D.next()){ft.index>mt?(ue=ft,ft=null):ue=ft.sibling;var kl=O(w,ft,Mt.value,q);if(kl===null){ft===null&&(ft=ue);break}t&&ft&&kl.alternate===null&&e(w,ft),z=c(kl,z,mt),Dt===null?nt=kl:Dt.sibling=kl,Dt=kl,ft=ue}if(Mt.done)return n(w,ft),At&&Zn(w,mt),nt;if(ft===null){for(;!Mt.done;mt++,Mt=D.next())Mt=Y(w,Mt.value,q),Mt!==null&&(z=c(Mt,z,mt),Dt===null?nt=Mt:Dt.sibling=Mt,Dt=Mt);return At&&Zn(w,mt),nt}for(ft=i(ft);!Mt.done;mt++,Mt=D.next())Mt=k(ft,w,mt,Mt.value,q),Mt!==null&&(t&&(ue=Mt.alternate,ue!==null&&ft.delete(ue.key===null?mt:ue.key)),z=c(Mt,z,mt),Dt===null?nt=Mt:Dt.sibling=Mt,Dt=Mt);return t&&ft.forEach(function(hb){return e(w,hb)}),At&&Zn(w,mt),nt}function xt(w,z,D,q){if(typeof D=="object"&&D!==null&&D.type===$&&D.key===null&&D.props.ref===void 0&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case kt:t:{for(var nt=D.key;z!==null;){if(z.key===nt){if(nt=D.type,nt===$){if(z.tag===7){n(w,z.sibling),q=r(z,D.props.children),dl(q,D),q.return=w,w=q;break t}}else if(z.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===T&&Fl(nt)===z.type){n(w,z.sibling),q=r(z,D.props),dl(q,D),q.return=w,w=q;break t}n(w,z);break}else e(w,z);z=z.sibling}D.type===$?(q=Vl(D.props.children,w.mode,q,D.key),dl(q,D),q.return=w,w=q):(q=ju(D.type,D.key,D.props,null,w.mode,q),dl(q,D),q.return=w,w=q)}return m(w);case j:t:{for(nt=D.key;z!==null;){if(z.key===nt)if(z.tag===4&&z.stateNode.containerInfo===D.containerInfo&&z.stateNode.implementation===D.implementation){n(w,z.sibling),q=r(z,D.children||[]),q.return=w,w=q;break t}else{n(w,z);break}else e(w,z);z=z.sibling}q=Lo(D,w.mode,q),q.return=w,w=q}return m(w);case T:return D=Fl(D),xt(w,z,D,q)}if(Ct(D))return P(w,z,D,q);if(ut(D)){if(nt=ut(D),typeof nt!="function")throw Error(o(150));return D=nt.call(D),it(w,z,D,q)}if(typeof D.then=="function")return xt(w,z,Zu(D),q);if(D.$$typeof===J)return xt(w,z,Vu(w,D),q);Ku(w,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,z!==null&&z.tag===6?(n(w,z.sibling),q=r(z,D),q.return=w,w=q):(n(w,z),q=jo(D,w.mode,q),q.return=w,w=q),m(w)):n(w,z)}return function(w,z,D,q){try{_a=0;var nt=xt(w,z,D,q);return Di=null,nt}catch(ft){if(ft===Ni||ft===Xu)throw ft;var Dt=je(29,ft,null,w.mode);return Dt.lanes=q,Dt.return=w,Dt}finally{}}}var $l=id(!0),ad=id(!1),ml=!1;function Ko(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jo(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function pl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function gl(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(jt&2)!==0){var r=i.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),i.pending=e,e=Uu(t),Vh(t,null,n),e}return Ru(t,i,e,n),Uu(t)}function Oa(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Zf(t,n)}}function Fo(t,e){var n=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var m={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?r=c=m:c=c.next=m,n=n.next}while(n!==null);c===null?r=c=e:c=c.next=e}else r=c=e;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:c,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Io=!1;function wa(){if(Io){var t=wi;if(t!==null)throw t}}function Na(t,e,n,i){Io=!1;var r=t.updateQueue;ml=!1;var c=r.firstBaseUpdate,m=r.lastBaseUpdate,S=r.shared.pending;if(S!==null){r.shared.pending=null;var E=S,N=E.next;E.next=null,m===null?c=N:m.next=N,m=E;var R=t.alternate;R!==null&&(R=R.updateQueue,S=R.lastBaseUpdate,S!==m&&(S===null?R.firstBaseUpdate=N:S.next=N,R.lastBaseUpdate=E))}if(c!==null){var Y=r.baseState;m=0,R=N=E=null,S=c;do{var O=S.lane&-536870913,k=O!==S.lane;if(k?(Nt&O)===O:(i&O)===O){O!==0&&O===Kl&&(Io=!0),R!==null&&(R=R.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});t:{var P=t,it=S;O=e;var xt=n;switch(it.tag){case 1:if(P=it.payload,typeof P=="function"){Y=P.call(xt,Y,O);break t}Y=P;break t;case 3:P.flags=P.flags&-65537|128;case 0:if(P=it.payload,O=typeof P=="function"?P.call(xt,Y,O):P,O==null)break t;Y=F({},Y,O);break t;case 2:ml=!0}}O=S.callback,O!==null&&(t.flags|=64,k&&(t.flags|=8192),k=r.callbacks,k===null?r.callbacks=[O]:k.push(O))}else k={lane:O,tag:S.tag,payload:S.payload,callback:S.callback,next:null},R===null?(N=R=k,E=Y):R=R.next=k,m|=O;if(S=S.next,S===null){if(S=r.shared.pending,S===null)break;k=S,S=k.next,k.next=null,r.lastBaseUpdate=k,r.shared.pending=null}}while(!0);R===null&&(E=Y),r.baseState=E,r.firstBaseUpdate=N,r.lastBaseUpdate=R,c===null&&(r.shared.lanes=0),Tl|=m,t.lanes=m,t.memoizedState=Y}}function ud(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function rd(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)ud(n[t],e)}var yl=Ge(null),Ju=Ge(0);function od(t,e){t=Wn,Bt(Ju,t),Bt(yl,e),Wn=t|e.baseLanes}function $o(){Bt(Ju,Wn),Bt(yl,yl.current)}function Po(){Wn=Ju.current,ne(yl),ne(Ju)}var be=Ge(null),Ae=null;function vl(t){var e=t.alternate;Bt(Se,Se.current&1),Bt(be,t),Ae===null&&(e===null||yl.current!==null||e.memoizedState!==null)&&(Ae=t)}function Wo(t){Bt(Se,Se.current),Bt(be,t),Ae===null&&(Ae=t)}function cd(t){t.tag===22?(Bt(Se,Se.current),Bt(be,t),Ae===null&&(Ae=t)):bl()}function bl(){Bt(Se,Se.current),Bt(be,be.current)}function Je(t){ne(be),Ae===t&&(Ae=null),ne(Se)}var Se=Ge(0);function Da(t,e){Bt(be,be.current),Bt(Se,e)}function tc(t){ne(Se),ne(be),Ae===t&&(Ae=null)}function Fu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Es(n)||Ts(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!=="independent"){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Fn=0,St=null,Vt=null,ie=null,Iu=!1,ki=!1,Pl=!1,$u=0,ka=0,Mi=null,M1=0;function Wt(){throw Error(o(321))}function ec(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Ke(t[n],e[n]))return!1;return!0}function nc(t,e,n,i,r,c){return Fn=c,St=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,at.H=t===null||t.memoizedState===null?Zd:Kd,Pl=!1,c=n(i,r),Pl=!1,ki&&(c=fd(e,n,i,r)),sd(t),c}function sd(t){at.H=ir;var e=Vt!==null&&Vt.next!==null;if(Fn=0,ie=Vt=St=null,Iu=!1,ka=0,Mi=null,e)throw Error(o(300));t===null||ae||(t=t.dependencies,t!==null&&Yu(t)&&(ae=!0))}function fd(t,e,n,i){St=t;var r=0;do{if(ki&&(Mi=null),ka=0,ki=!1,25<=r)throw Error(o(301));if(r+=1,ie=Vt=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}at.H=Y1,c=e(n,i)}while(ki);return c}function R1(){var t=at.H,e=t.useState()[0];return e=typeof e.then=="function"?Ma(e):e,t=t.useState()[0],(Vt!==null?Vt.memoizedState:null)!==t&&(St.flags|=1024),e}function lc(){var t=$u!==0;return $u=0,t}function ic(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function ac(t){if(Iu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Iu=!1}Fn=0,ie=Vt=St=null,ki=!1,ka=$u=0,Mi=null}function we(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ie===null?St.memoizedState=ie=t:ie=ie.next=t,ie}function ee(){if(Vt===null){var t=St.alternate;t=t!==null?t.memoizedState:null}else t=Vt.next;var e=ie===null?St.memoizedState:ie.next;if(e!==null)ie=e,Vt=t;else{if(t===null)throw St.alternate===null?Error(o(467)):Error(o(310));Vt=t,t={memoizedState:Vt.memoizedState,baseState:Vt.baseState,baseQueue:Vt.baseQueue,queue:Vt.queue,next:null},ie===null?St.memoizedState=ie=t:ie=ie.next=t}return ie}function Pu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ma(t){var e=ka;return ka+=1,Mi===null&&(Mi=[]),t=ed(Mi,t,e),e=St,(ie===null?e.memoizedState:ie.next)===null&&(e=e.alternate,at.H=e===null||e.memoizedState===null?Zd:Kd),t}function Wu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ma(t);if(t.$$typeof===X)return;if(t.$$typeof===J)return ve(t)}throw Error(o(438,String(t)))}function uc(t){var e=null,n=St.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var i=St.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(r){return r.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Pu(),St.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),i=0;i<t;i++)n[i]=C;return e.index++,n}function In(t,e){return typeof e=="function"?e(t):e}function tr(t){var e=ee();return rc(e,Vt,t)}function rc(t,e,n){var i=t.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=n;var r=t.baseQueue,c=i.pending;if(c!==null){if(r!==null){var m=r.next;r.next=c.next,c.next=m}e.baseQueue=r=c,i.pending=null}if(c=t.baseState,r===null)t.memoizedState=c;else{e=r.next;var S=m=null,E=null,N=e,R=!1;do{var Y=N.lane&-536870913;if(Y!==N.lane?(Nt&Y)===Y:(Fn&Y)===Y){var O=N.revertLane;if(O===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),Y===Kl&&(R=!0);else if((Fn&O)===O){N=N.next,O===Kl&&(R=!0);continue}else Y={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},E===null?(S=E=Y,m=c):E=E.next=Y,St.lanes|=O,Tl|=O;Y=N.action,Pl&&n(c,Y),c=N.hasEagerState?N.eagerState:n(c,Y)}else O={lane:Y,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},E===null?(S=E=O,m=c):E=E.next=O,St.lanes|=Y,Tl|=Y;N=N.next}while(N!==null&&N!==e);if(E===null?m=c:E.next=S,!Ke(c,t.memoizedState)&&(ae=!0,R&&(n=wi,n!==null)))throw n;t.memoizedState=c,t.baseState=m,t.baseQueue=E,i.lastRenderedState=c}return r===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function oc(t){var e=ee(),n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=t;var i=n.dispatch,r=n.pending,c=e.memoizedState;if(r!==null){n.pending=null;var m=r=r.next;do c=t(c,m.action),m=m.next;while(m!==r);Ke(c,e.memoizedState)||(ae=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),n.lastRenderedState=c}return[c,i]}function hd(t,e,n){var i=St,r=ee(),c=At;if(c){if(n===void 0)throw Error(o(407));n=n()}else n=e();var m=!Ke((Vt||r).memoizedState,n);if(m&&(r.memoizedState=n,ae=!0),r=r.queue,fc(pd.bind(null,i,r,t),[t]),t=r.getSnapshot!==e||m||ie!==null&&(ie.memoizedState.tag&1)!==0,Ri(t?9:8,{destroy:void 0},md.bind(null,i,r,n,e),null),t){if(i.flags|=2048,Xt===null)throw Error(o(349));c||(Fn&127)!==0||dd(i,e,n)}return n}function dd(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=St.updateQueue,e===null?(e=Pu(),St.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function md(t,e,n,i){e.value=n,e.getSnapshot=i,gd(e)&&yd(t)}function pd(t,e,n){return n(function(){gd(e)&&yd(t)})}function gd(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Ke(t,n)}catch{return!0}}function yd(t){var e=Yl(t,2);e!==null&&qe(e,t,2)}function cc(t){var e=we();if(typeof t=="function"){var n=t;if(t=n(),Pl){ul(!0);try{n()}finally{ul(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:In,lastRenderedState:t},e}function vd(t,e,n,i){return t.baseState=n,rc(t,Vt,typeof i=="function"?i:In)}function U1(t,e,n,i,r){if(lr(t))throw Error(o(485));if(t=e.action,t!==null){var c={payload:r,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};at.T!==null?n(!0):c.isTransition=!1,i(c),n=e.pending,n===null?(c.next=e.pending=c,bd(e,c)):(c.next=n.next,e.pending=n.next=c)}}function bd(t,e){var n=e.action,i=e.payload,r=t.state;if(e.isTransition){var c=at.T,m={};m.types=c!==null?c.types:null,at.T=m;try{var S=n(r,i),E=at.S;E!==null&&E(m,S),Sd(t,e,S)}catch(N){sc(t,e,N)}finally{c!==null&&m.types!==null&&(c.types=m.types),at.T=c}}else try{c=n(r,i),Sd(t,e,c)}catch(N){sc(t,e,N)}}function Sd(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){xd(t,e,i)},function(i){return sc(t,e,i)}):xd(t,e,n)}function xd(t,e,n){e.status="fulfilled",e.value=n,Ed(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,bd(t,n)))}function sc(t,e,n){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=n,Ed(e),e=e.next;while(e!==i)}t.action=null}function Ed(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Td(t,e){return e}function Ad(t,e){if(At){var n=Xt.formState;if(n!==null){t:{var i=St;if(At){if(Kt){e:{for(var r=Kt,c=cn;r.nodeType!==8;){if(!c){r=null;break e}if(r=fn(r.nextSibling),r===null){r=null;break e}}c=r.data,r=c==="F!"||c==="F"?r:null}if(r){Kt=fn(r.nextSibling),i=r.data==="F!";break t}}fl(i)}i=!1}i&&(e=n[0])}}return n=we(),n.memoizedState=n.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Td,lastRenderedState:e},n.queue=i,n=Gd.bind(null,St,i),i.dispatch=n,i=cc(!1),c=gc.bind(null,St,!1,i.queue),i=we(),r={state:e,dispatch:null,action:t,pending:null},i.queue=r,n=U1.bind(null,St,r,c,n),r.dispatch=n,i.memoizedState=t,[e,n,!1]}function zd(t){var e=ee();return Cd(e,Vt,t)}function Cd(t,e,n){if(e=rc(t,e,Td)[0],t=tr(In)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=Ma(e)}catch(m){throw m===Ni?Xu:m}else i=e;e=ee();var r=e.queue,c=r.dispatch;return n!==e.memoizedState&&(St.flags|=2048,Ri(9,{destroy:void 0},j1.bind(null,r,n),null)),[i,c,t]}function j1(t,e){t.action=e}function _d(t){var e=ee(),n=Vt;if(n!==null)return Cd(e,n,t);ee(),e=e.memoizedState,n=ee();var i=n.queue.dispatch;return n.memoizedState=t,[e,i,!1]}function Ri(t,e,n,i){return t={tag:t,create:n,deps:i,inst:e,next:null},e=St.updateQueue,e===null&&(e=Pu(),St.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t),t}function Od(){return ee().memoizedState}function er(t,e,n,i){var r=we();St.flags|=t,r.memoizedState=Ri(1|e,{destroy:void 0},n,i===void 0?null:i)}function nr(t,e,n,i){var r=ee();i=i===void 0?null:i;var c=r.memoizedState.inst;Vt!==null&&i!==null&&ec(i,Vt.memoizedState.deps)?r.memoizedState=Ri(e,c,n,i):(St.flags|=t,r.memoizedState=Ri(1|e,c,n,i))}function wd(t,e){er(8390656,8,t,e)}function fc(t,e){nr(2048,8,t,e)}function L1(t){St.flags|=4;var e=St.updateQueue;if(e===null)e=Pu(),St.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Nd(t){var e=ee().memoizedState;return L1({ref:e,nextImpl:t}),function(){if((jt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function Dd(t,e){return nr(4,2,t,e)}function kd(t,e){return nr(4,4,t,e)}function Md(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Rd(t,e,n){n=n!=null?n.concat([t]):null,nr(4,4,Md.bind(null,e,t),n)}function hc(){}function Ud(t,e){var n=ee();e=e===void 0?null:e;var i=n.memoizedState;return e!==null&&ec(e,i[1])?i[0]:(n.memoizedState=[t,e],t)}function jd(t,e){var n=ee();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&ec(e,i[1]))return i[0];if(i=t(),Pl){ul(!0);try{t()}finally{ul(!1)}}return n.memoizedState=[i,e],i}function dc(t,e,n){return n===void 0||(Fn&1073741824)!==0&&(Nt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=Zm(),St.lanes|=t,Tl|=t,n)}function Ld(t,e,n,i){return Ke(n,e)?n:yl.current!==null?(t=dc(t,n,i),Ke(t,e)||(ae=!0),t):(Fn&106)===0||(Fn&1073741824)!==0&&(Nt&261930)===0?(ae=!0,t.memoizedState=n):(t=Zm(),St.lanes|=t,Tl|=t,e)}function Bd(t,e,n,i,r){var c=pt.p;pt.p=c!==0&&8>c?c:8;var m=at.T,S={};S.types=m!==null?m.types:null,at.T=S,gc(t,!1,e,n);try{var E=r(),N=at.S;if(N!==null&&N(S,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var R=k1(E,i);Ra(t,e,R,Pe(t))}else Ra(t,e,i,Pe(t))}catch(Y){Ra(t,e,{then:function(){},status:"rejected",reason:Y},Pe())}finally{pt.p=c,m!==null&&S.types!==null&&(m.types=S.types),at.T=m}}function B1(){}function mc(t,e,n,i){if(t.tag!==5)throw Error(o(476));var r=Hd(t).queue;Bd(t,r,e,mn,n===null?B1:function(){return qd(t),n(i)})}function Hd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:mn,baseState:mn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:In,lastRenderedState:mn},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:In,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function qd(t){var e=Hd(t);e.next===null&&(e=t.alternate.memoizedState),Ra(t,e.next.queue,{},Pe())}function pc(){return ve(Wi)}function Yd(){return ee().memoizedState}function Vd(){return ee().memoizedState}function H1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Pe();t=pl(n);var i=gl(e,t,n);i!==null&&(qe(i,e,n),Oa(i,e,n)),e={cache:Go()},t.payload=e;return}e=e.return}}function q1(t,e,n){var i=Pe();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},lr(t)?Xd(e,n):(n=Ro(t,e,n,i),n!==null&&(qe(n,t,i),Qd(n,e,i)))}function Gd(t,e,n){var i=Pe();Ra(t,e,n,i)}function Ra(t,e,n,i){var r={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(lr(t))Xd(e,r);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var m=e.lastRenderedState,S=c(m,n);if(r.hasEagerState=!0,r.eagerState=S,Ke(S,m))return Ru(t,e,r,0),Xt===null&&Mu(),!1}catch{}finally{}if(n=Ro(t,e,r,i),n!==null)return qe(n,t,i),Qd(n,e,i),!0}return!1}function gc(t,e,n,i){if(i={lane:2,revertLane:us(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},lr(t)){if(e)throw Error(o(479))}else e=Ro(t,n,i,2),e!==null&&qe(e,t,2)}function lr(t){var e=t.alternate;return t===St||e!==null&&e===St}function Xd(t,e){ki=Iu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Qd(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Zf(t,n)}}var ir={readContext:ve,use:Wu,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt,useHostTransitionStatus:Wt,useFormState:Wt,useActionState:Wt,useOptimistic:Wt,useMemoCache:Wt,useCacheRefresh:Wt,useEffectEvent:Wt},Zd={readContext:ve,use:Wu,useCallback:function(t,e){return we().memoizedState=[t,e===void 0?null:e],t},useContext:ve,useEffect:wd,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,er(4194308,4,Md.bind(null,e,t),n)},useLayoutEffect:function(t,e){return er(4194308,4,t,e)},useInsertionEffect:function(t,e){er(4,2,t,e)},useMemo:function(t,e){var n=we();e=e===void 0?null:e;var i=t();if(Pl){ul(!0);try{t()}finally{ul(!1)}}return n.memoizedState=[i,e],i},useReducer:function(t,e,n){var i=we();if(n!==void 0){var r=n(e);if(Pl){ul(!0);try{n(e)}finally{ul(!1)}}}else r=e;return i.memoizedState=i.baseState=r,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},i.queue=t,t=t.dispatch=q1.bind(null,St,t),[i.memoizedState,t]},useRef:function(t){var e=we();return t={current:t},e.memoizedState=t},useState:function(t){t=cc(t);var e=t.queue,n=Gd.bind(null,St,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:hc,useDeferredValue:function(t,e){var n=we();return dc(n,t,e)},useTransition:function(){var t=cc(!1);return t=Bd.bind(null,St,t.queue,!0,!1),we().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var i=St,r=we();if(At){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),Xt===null)throw Error(o(349));(Nt&127)!==0||dd(i,e,n)}r.memoizedState=n;var c={value:n,getSnapshot:e};return r.queue=c,wd(pd.bind(null,i,c,t),[t]),i.flags|=2048,Ri(9,{destroy:void 0},md.bind(null,i,c,n,e),null),n},useId:function(){var t=we(),e=Xt.identifierPrefix;if(At){var n=Cn,i=zn;n=(i&~(1<<32-Qe(i)-1)).toString(32)+n,e="_"+e+"R_"+n,n=$u++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=M1++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:pc,useFormState:Ad,useActionState:Ad,useOptimistic:function(t){var e=we();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=gc.bind(null,St,!0,n),n.dispatch=e,[t,e]},useMemoCache:uc,useCacheRefresh:function(){return we().memoizedState=H1.bind(null,St)},useEffectEvent:function(t){var e=we(),n={impl:t};return e.memoizedState=n,function(){if((jt&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},Kd={readContext:ve,use:Wu,useCallback:Ud,useContext:ve,useEffect:fc,useImperativeHandle:Rd,useInsertionEffect:Dd,useLayoutEffect:kd,useMemo:jd,useReducer:tr,useRef:Od,useState:function(){return tr(In)},useDebugValue:hc,useDeferredValue:function(t,e){var n=ee();return Ld(n,Vt.memoizedState,t,e)},useTransition:function(){var t=tr(In)[0],e=ee().memoizedState;return[typeof t=="boolean"?t:Ma(t),e]},useSyncExternalStore:hd,useId:Yd,useHostTransitionStatus:pc,useFormState:zd,useActionState:zd,useOptimistic:function(t,e){var n=ee();return vd(n,Vt,t,e)},useMemoCache:uc,useCacheRefresh:Vd,useEffectEvent:Nd},Y1={readContext:ve,use:Wu,useCallback:Ud,useContext:ve,useEffect:fc,useImperativeHandle:Rd,useInsertionEffect:Dd,useLayoutEffect:kd,useMemo:jd,useReducer:oc,useRef:Od,useState:function(){return oc(In)},useDebugValue:hc,useDeferredValue:function(t,e){var n=ee();return Vt===null?dc(n,t,e):Ld(n,Vt.memoizedState,t,e)},useTransition:function(){var t=oc(In)[0],e=ee().memoizedState;return[typeof t=="boolean"?t:Ma(t),e]},useSyncExternalStore:hd,useId:Yd,useHostTransitionStatus:pc,useFormState:_d,useActionState:_d,useOptimistic:function(t,e){var n=ee();return Vt!==null?vd(n,Vt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:uc,useCacheRefresh:Vd,useEffectEvent:Nd};function yc(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n==null?e:F({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var vc={enqueueSetState:function(t,e,n){t=t._reactInternals;var i=Pe(),r=pl(i);r.payload=e,n!=null&&(r.callback=n),e=gl(t,r,i),e!==null&&(qe(e,t,i),Oa(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var i=Pe(),r=pl(i);r.tag=1,r.payload=e,n!=null&&(r.callback=n),e=gl(t,r,i),e!==null&&(qe(e,t,i),Oa(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Pe(),i=pl(n);i.tag=2,e!=null&&(i.callback=e),e=gl(t,i,n),e!==null&&(qe(e,t,n),Oa(e,t,n))}};function Jd(t,e,n,i,r,c,m){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(i,c,m):e.prototype&&e.prototype.isPureReactComponent?!Sa(n,i)||!Sa(r,c):!0}function Fd(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&vc.enqueueReplaceState(e,e.state,null)}function Wl(t,e){var n=e;if("ref"in e){n={};for(var i in e)i!=="ref"&&(n[i]=e[i])}if(t=t.defaultProps){n===e&&(n=F({},n));for(var r in t)n[r]===void 0&&(n[r]=t[r])}return n}function Id(t){ku(t)}function $d(t){console.error(t)}function Pd(t){ku(t)}function ar(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function Wd(t,e,n){try{var i=t.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function bc(t,e,n){return n=pl(n),n.tag=3,n.payload={element:null},n.callback=function(){ar(t,e)},n}function tm(t){return t=pl(t),t.tag=3,t}function em(t,e,n,i){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var c=i.value;t.payload=function(){return r(c)},t.callback=function(){Wd(e,n,i)}}var m=n.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(t.callback=function(){Wd(e,n,i),typeof r!="function"&&(Al===null?Al=new Set([this]):Al.add(this));var S=i.stack;this.componentDidCatch(i.value,{componentStack:S!==null?S:""})})}function V1(t,e,n,i,r){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=n.alternate,e!==null&&Ql(e,n,r,!0),n=be.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Ae===null?Cr():n.alternate===null&&te===0&&(te=3),n.flags&=-257,n.flags|=65536,n.lanes=r,i===Qu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([i]):e.add(i),ls(t,i,r)),!1;case 22:return n.flags|=65536,i===Qu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([i]):n.add(i)),ls(t,i,r)),!1}throw Error(o(435,n.tag))}return ls(t,i,r),Cr(),!1}if(At)return e=be.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=r,i!==Ho&&(t=Error(o(422),{cause:i}),Ta(un(t,n)))):(i!==Ho&&(e=Error(o(423),{cause:i}),Ta(un(e,n))),t=t.current.alternate,t.flags|=65536,r&=-r,t.lanes|=r,i=un(i,n),r=bc(t.stateNode,i,r),Fo(t,r),te!==4&&(te=2)),!1;var c=Error(o(520),{cause:i});if(c=un(c,n),Va===null?Va=[c]:Va.push(c),te!==4&&(te=2),e===null)return!0;i=un(i,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=r&-r,n.lanes|=t,t=bc(n.stateNode,i,t),Fo(n,t),!1;case 1:if(e=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Al===null||!Al.has(c))))return n.flags|=65536,r&=-r,n.lanes|=r,r=tm(r),em(r,t,n,i),Fo(n,r),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Sc=Error(o(461)),ae=!1;function ce(t,e,n,i){e.child=t===null?ad(e,null,n,i):$l(e,t.child,n,i)}function nm(t,e,n,i,r){n=n.render;var c=e.ref;if("ref"in i){var m={};for(var S in i)S!=="ref"&&(m[S]=i[S])}else m=i;return Zl(e),i=nc(t,e,n,m,c,r),S=lc(),t!==null&&!ae?(ic(t,e,r),$n(t,e,r)):(At&&S&&Bu(e),e.flags|=1,ce(t,e,i,r),e.child)}function lm(t,e,n,i,r){if(t===null){var c=n.type;return typeof c=="function"&&!Uo(c)&&c.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=c,im(t,e,c,i,r)):(t=ju(n.type,null,i,e,e.mode,r),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!Oc(t,r)){var m=c.memoizedProps;if(n=n.compare,n=n!==null?n:Sa,n(m,i)&&t.ref===e.ref)return $n(t,e,r)}return e.flags|=1,t=Qn(c,i),t.ref=e.ref,t.return=e,e.child=t}function im(t,e,n,i,r){if(t!==null){var c=t.memoizedProps;if(Sa(c,i)&&t.ref===e.ref)if(ae=!1,e.pendingProps=i=c,Oc(t,r))(t.flags&131072)!==0&&(ae=!0);else return e.lanes=t.lanes,$n(t,e,r)}return xc(t,e,n,i,r)}function am(t,e,n,i){var r=i.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,t!==null){for(i=e.child=t.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;i=r&~c}else i=0,e.child=null;return um(t,e,c,n,i)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Gu(e,c!==null?c.cachePool:null),c!==null?od(e,c):$o(),cd(e);else return i=e.lanes=536870912,um(t,e,c!==null?c.baseLanes|n:n,n,i)}else c!==null?(Gu(e,c.cachePool),od(e,c),bl(),e.memoizedState=null):(t!==null&&Gu(e,null),$o(),bl());return ce(t,e,r,n),e.child}function Ua(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function um(t,e,n,i,r){var c=Qo();return c=c===null?null:{parent:le._currentValue,pool:c},e.memoizedState={baseLanes:n,cachePool:c},t!==null&&Gu(e,null),$o(),cd(e),t!==null&&Ql(t,e,i,!0),e.childLanes=r,null}function ur(t,e){return e=rr({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function rm(t,e,n){return $l(e,t.child,null,n),t=ur(e,e.pendingProps),t.flags|=2,Je(e),e.memoizedState=null,t}function G1(t,e,n){var i=e.pendingProps,r=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(At){if(i.mode==="hidden")return t=ur(e,i),e.lanes=536870912,t.memoizedState={baseLanes:0,cachePool:null},Ua(null,t);if(Wo(e),(t=Kt)?(t=Mp(t,cn),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:cl!==null?{id:zn,overflow:Cn}:null,retryLane:536870912,hydrationErrors:null},n=Xh(t),n.return=e,e.child=n,he=e,Kt=null)):t=null,t===null)throw fl(e);return e.lanes=536870912,null}return ur(e,i)}var c=t.memoizedState;if(c!==null){var m=c.dehydrated;if(Wo(e),r)if(e.flags&256)e.flags&=-257,e=rm(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if(ae||Ql(t,e,n,!1),r=(n&t.childLanes)!==0,ae||r){if(yl.current===null){if(i=Xt,i!==null&&(m=Kf(i,n),m!==0&&m!==c.retryLane))throw c.retryLane=m,Yl(t,m),qe(i,t,m),Sc;Cr()}e=rm(t,e,n)}else t=c.treeContext,Kt=fn(m.nextSibling),he=e,At=!0,sl=null,cn=!1,t!==null&&Kh(e,t),e=ur(e,i),e.flags|=134221824;return e}return t=Qn(t.child,{mode:i.mode,children:i.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Ui(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function xc(t,e,n,i,r){return Zl(e),n=nc(t,e,n,i,void 0,r),i=lc(),t!==null&&!ae?(ic(t,e,r),$n(t,e,r)):(At&&i&&Bu(e),e.flags|=1,ce(t,e,n,r),e.child)}function om(t,e,n,i,r,c){return Zl(e),e.updateQueue=null,n=fd(e,i,n,r),sd(t),i=lc(),t!==null&&!ae?(ic(t,e,c),$n(t,e,c)):(At&&i&&Bu(e),e.flags|=1,ce(t,e,n,c),e.child)}function cm(t,e,n,i,r){if(Zl(e),e.stateNode===null){var c=zi,m=n.contextType;typeof m=="object"&&m!==null&&(c=ve(m)),c=new n(i,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=vc,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=i,c.state=e.memoizedState,c.refs={},Ko(e),m=n.contextType,c.context=typeof m=="object"&&m!==null?ve(m):zi,c.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(yc(e,n,m,i),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&vc.enqueueReplaceState(c,c.state,null),Na(e,i,c,r),wa(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),i=!0}else if(t===null){c=e.stateNode;var S=e.memoizedProps,E=Wl(n,S);c.props=E;var N=c.context,R=n.contextType;m=zi,typeof R=="object"&&R!==null&&(m=ve(R));var Y=n.getDerivedStateFromProps;R=typeof Y=="function"||typeof c.getSnapshotBeforeUpdate=="function",S=e.pendingProps!==S,R||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(S||N!==m)&&Fd(e,c,i,m),ml=!1;var O=e.memoizedState;c.state=O,Na(e,i,c,r),wa(),N=e.memoizedState,S||O!==N||ml?(typeof Y=="function"&&(yc(e,n,Y,i),N=e.memoizedState),(E=ml||Jd(e,n,E,i,O,N,m))?(R||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=N),c.props=i,c.state=N,c.context=m,i=E):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{c=e.stateNode,Jo(t,e),m=e.memoizedProps,R=Wl(n,m),c.props=R,Y=e.pendingProps,O=c.context,N=n.contextType,E=zi,typeof N=="object"&&N!==null&&(E=ve(N)),S=n.getDerivedStateFromProps,(N=typeof S=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==Y||O!==E)&&Fd(e,c,i,E),ml=!1,O=e.memoizedState,c.state=O,Na(e,i,c,r),wa();var k=e.memoizedState;m!==Y||O!==k||ml||t!==null&&t.dependencies!==null&&Yu(t.dependencies)?(typeof S=="function"&&(yc(e,n,S,i),k=e.memoizedState),(R=ml||Jd(e,n,R,i,O,k,E)||t!==null&&t.dependencies!==null&&Yu(t.dependencies))?(N||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(i,k,E),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(i,k,E)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=k),c.props=i,c.state=k,c.context=E,i=R):(typeof c.componentDidUpdate!="function"||m===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),i=!1)}return c=i,Ui(t,e),i=(e.flags&128)!==0,c||i?(c=e.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&i?(e.child=$l(e,t.child,null,r),e.child=$l(e,null,n,r)):ce(t,e,n,r),e.memoizedState=c.state,t=e.child):t=$n(t,e,r),t}function sm(t,e,n,i){return Gl(),e.flags|=256,ce(t,e,n,i),e.child}var Ec={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Tc(t){return{baseLanes:t,cachePool:Wh()}}function Ac(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=$e),t}function fm(t,e,n){var i=e.pendingProps,r=!1,c=(e.flags&128)!==0,m;if((m=c)||(m=t!==null&&t.memoizedState===null?!1:(Se.current&2)!==0),m&&(r=!0,e.flags&=-129),m=(e.flags&32)!==0,e.flags&=-33,t===null){if(At){if(r?vl(e):bl(),(t=Kt)?(t=Mp(t,cn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:cl!==null?{id:zn,overflow:Cn}:null,retryLane:536870912,hydrationErrors:null},n=Xh(t),n.return=e,e.child=n,he=e,Kt=null)):t=null,t===null)throw fl(e);return Ts(t)?e.lanes=32:e.lanes=536870912,null}return c=i.children,i=i.fallback,r?(bl(),r=e.mode,c=rr({mode:"hidden",children:c},r),i=Vl(i,r,n,null),c.return=e,i.return=e,c.sibling=i,e.child=c,i=e.child,i.memoizedState=Tc(n),i.childLanes=Ac(t,m,n),e.memoizedState=Ec,Ua(null,i)):(vl(e),zc(e,c))}var S=t.memoizedState;if(S!==null){var E=S.dehydrated;if(E!==null)return X1(t,e,c,m,i,E,S,n)}return r?(bl(),r=i.fallback,c=e.mode,S=t.child,E=S.sibling,i=Qn(S,{mode:"hidden",children:i.children}),i.subtreeFlags=S.subtreeFlags&1206910976,E!==null?r=Qn(E,r):(r=Vl(r,c,n,null),r.flags|=2),r.return=e,i.return=e,i.sibling=r,e.child=i,Ua(null,i),i=e.child,r=t.child.memoizedState,r===null?r=Tc(n):(c=r.cachePool,c!==null?(S=le._currentValue,c=c.parent!==S?{parent:S,pool:S}:c):c=Wh(),r={baseLanes:r.baseLanes|n,cachePool:c}),i.memoizedState=r,i.childLanes=Ac(t,m,n),e.memoizedState=Ec,Ua(t.child,i)):(vl(e),n=t.child,t=n.sibling,n=Qn(n,{mode:"visible",children:i.children}),n.return=e,n.sibling=null,t!==null&&(m=e.deletions,m===null?(e.deletions=[t],e.flags|=16):m.push(t)),e.child=n,e.memoizedState=null,n)}function zc(t,e){return e=rr({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function rr(t,e){return t=je(22,t,null,e),t.lanes=0,t}function or(t,e,n){return $l(e,t.child,null,n),t=zc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function X1(t,e,n,i,r,c,m,S){if(n)return e.flags&256?(vl(e),e.flags&=-257,or(t,e,S)):e.memoizedState!==null?(bl(),e.child=t.child,e.flags|=128,null):(bl(),c=r.fallback,m=e.mode,r=rr({mode:"visible",children:r.children},m),c=Vl(c,m,S,null),c.flags|=2,r.return=e,c.return=e,r.sibling=c,e.child=r,$l(e,t.child,null,S),r=e.child,r.memoizedState=Tc(S),r.childLanes=Ac(t,i,S),e.memoizedState=Ec,Ua(null,r));if(vl(e),Ts(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var E=i.dgst;return i=E,i!==""&&(r=Error(o(419)),r.stack="",r.digest=i,Ta({value:r,source:null,stack:null})),or(t,e,S)}if(ae||Ql(t,e,S,!1),i=(S&t.childLanes)!==0,ae||i){if(yl.current!==null)return or(t,e,S);if(i=Xt,i!==null&&(r=Kf(i,S),r!==0&&r!==m.retryLane))throw m.retryLane=r,Yl(t,r),qe(i,t,r),Sc;return Es(c)||Cr(),or(t,e,S)}return Es(c)?(e.flags|=192,e.child=t.child,null):(t=m.treeContext,Kt=fn(c.nextSibling),he=e,At=!0,sl=null,cn=!1,t!==null&&Kh(e,t),e=zc(e,r.children),e.flags|=134221824,e)}function hm(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),qu(t.return,e,n)}function dm(t){for(var e=null;t!==null;){var n=t.alternate;n!==null&&Fu(n)===null&&(e=t),t=t.sibling}return e}function cr(t,e,n,i,r,c){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r,treeForkCount:c}:(m.isBackwards=e,m.rendering=null,m.renderingStartTime=0,m.last=i,m.tail=n,m.tailMode=r,m.treeForkCount=c)}function Cc(t){var e=t.child;for(t.child=null;e!==null;){var n=e.sibling;e.sibling=t.child,t.child=e,e=n}}function _c(t,e,n){var i=e.pendingProps,r=i.revealOrder,c=i.tail;i=i.children;var m=Se.current;if(e.flags&128)return Da(e,m),null;var S=(m&2)!==0;if(S?(m=m&1|2,e.flags|=128):m&=1,Da(e,m),r==="backwards"&&t!==null?(Cc(t),ce(t,e,i,n),Cc(t)):ce(t,e,i,n),i=At?Ea:0,!S&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&hm(t,n,e);else if(t.tag===19)hm(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(r){case"backwards":n=dm(e.child),n===null?(r=e.child,e.child=null):(r=n.sibling,n.sibling=null,Cc(e)),cr(e,!0,r,null,c,i);break;case"unstable_legacy-backwards":for(n=null,r=e.child,e.child=null;r!==null;){if(t=r.alternate,t!==null&&Fu(t)===null){e.child=r;break}t=r.sibling,r.sibling=n,n=r,r=t}cr(e,!0,n,null,c,i);break;case"together":cr(e,!1,null,null,void 0,i);break;case"independent":e.memoizedState=null;break;default:n=dm(e.child),n===null?(r=e.child,e.child=null):(r=n.sibling,n.sibling=null),cr(e,!1,r,n,c,i)}return e.child}function mm(t,e,n){var i=e.pendingProps;return hl(e,e.type,i.value),ce(t,e,i.children,n),e.child}function $n(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Tl|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Ql(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,n=Qn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Qn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Oc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Yu(t)))}function Q1(t,e,n){switch(e.tag){case 3:fi(e,e.stateNode.containerInfo),hl(e,le,t.memoizedState.cache),Gl();break;case 27:case 5:ra(e);break;case 4:fi(e,e.stateNode.containerInfo);break;case 10:hl(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Wo(e),null;break;case 13:var i=e.memoizedState;if(i!==null){if(i.dehydrated!==null)return vl(e),e.flags|=128,null;i=Ql(t,e,n,!1);var r=e.child.childLanes;return i||(n&r)!==0?fm(t,e,n):(vl(e),t=$n(t,e,n),t!==null?t.sibling:null)}vl(e);break;case 19:if(e.flags&128)return _c(t,e,n);if(r=(t.flags&128)!==0,i=(n&e.childLanes)!==0,i||(Ql(t,e,n,!1),i=(n&e.childLanes)!==0),r){if(i)return _c(t,e,n);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Da(e,Se.current),i)break;return null;case 22:return e.lanes=0,am(t,e,n,e.pendingProps);case 24:hl(e,le,t.memoizedState.cache)}return $n(t,e,n)}function pm(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)ae=!0;else{if(!Oc(t,n)&&(e.flags&128)===0)return ae=!1,Q1(t,e,n);ae=(t.flags&131072)!==0}else ae=!1,At&&(e.flags&1048576)!==0&&Zh(e,Ea,e.index);switch(e.lanes=0,e.tag){case 16:t:{var i=e.pendingProps;if(t=Fl(e.elementType),e.type=t,typeof t=="function")Uo(t)?(i=Wl(t,i),e.tag=1,e=cm(null,e,t,i,n)):(e.tag=0,e=xc(null,e,t,i,n));else{if(t!=null){var r=t.$$typeof;if(r===Z){e.tag=11,e=nm(null,e,t,i,n);break t}else if(r===_t){e.tag=14,e=lm(null,e,t,i,n);break t}else if(r===J){e.tag=10,e.type=t,e=mm(null,e,n);break t}}throw e=Tt(t)||t,Error(o(306,e,""))}}return e;case 0:return xc(t,e,e.type,e.pendingProps,n);case 1:return i=e.type,r=Wl(i,e.pendingProps),cm(t,e,i,r,n);case 3:t:{if(fi(e,e.stateNode.containerInfo),t===null)throw Error(o(387));i=e.pendingProps;var c=e.memoizedState;r=c.element,Jo(t,e),Na(e,i,null,n);var m=e.memoizedState;if(i=m.cache,hl(e,le,i),i!==c.cache&&Vo(e,[le],n,!0),wa(),i=m.element,c.isDehydrated)if(c={element:i,isDehydrated:!1,cache:m.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=sm(t,e,i,n);break t}else if(i!==r){r=un(Error(o(424)),e),Ta(r),e=sm(t,e,i,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Kt=fn(t.firstChild),he=e,At=!0,sl=null,cn=!0,n=ad(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(Gl(),i===r){e=$n(t,e,n);break t}ce(t,e,i,n)}e=e.child}return e;case 26:return Ui(t,e),t===null?(n=qp(e.type,null,e.pendingProps,null))?e.memoizedState=n:At||(e.stateNode=bp(e.type,e.pendingProps,pn.current,e)):e.memoizedState=qp(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ra(e),t===null&&At&&(i=e.stateNode=jp(e.type,e.pendingProps,pn.current),he=e,cn=!0,r=Kt,_l(e.type)?(As=r,Kt=fn(i.firstChild)):Kt=r),ce(t,e,e.pendingProps.children,n),Ui(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&At&&((r=i=Kt)&&(i=Hv(i,e.type,e.pendingProps,cn),i!==null?(e.stateNode=i,he=e,Kt=fn(i.firstChild),cn=!1,r=!0):r=!1),r||fl(e)),ra(e),r=e.type,c=e.pendingProps,m=t!==null?t.memoizedProps:null,i=c.children,ps(r,c)?i=null:m!==null&&ps(r,m)&&(e.flags|=32),e.memoizedState!==null&&(r=nc(t,e,R1,null,null,n),Wi._currentValue=r),Ui(t,e),ce(t,e,i,n),e.child;case 6:return t===null&&At&&((t=n=Kt)&&(n=qv(n,e.pendingProps,cn),n!==null?(e.stateNode=n,he=e,Kt=null,t=!0):t=!1),t||fl(e)),null;case 13:return fm(t,e,n);case 4:return fi(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=$l(e,null,i,n):ce(t,e,i,n),e.child;case 11:return nm(t,e,e.type,e.pendingProps,n);case 7:return i=e.pendingProps,Ui(t,e),ce(t,e,i,n),e.child;case 8:return ce(t,e,e.pendingProps.children,n),e.child;case 12:return ce(t,e,e.pendingProps.children,n),e.child;case 10:return mm(t,e,n);case 9:return r=e.type._context,i=e.pendingProps.children,Zl(e),r=ve(r),i=i(r),e.flags|=1,ce(t,e,i,n),e.child;case 14:return lm(t,e,e.type,e.pendingProps,n);case 15:return im(t,e,e.type,e.pendingProps,n);case 19:return _c(t,e,n);case 31:return G1(t,e,n);case 22:return am(t,e,n,e.pendingProps);case 24:return Zl(e),i=ve(le),t===null?(r=Qo(),r===null&&(r=Xt,c=Go(),r.pooledCache=c,c.refCount++,c!==null&&(r.pooledCacheLanes|=n),r=c),e.memoizedState={parent:i,cache:r},Ko(e),hl(e,le,r)):((t.lanes&n)!==0&&(Jo(t,e),Na(e,null,null,n),wa()),r=t.memoizedState,c=e.memoizedState,r.parent!==i?(r={parent:i,cache:i},e.memoizedState=r,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=r),hl(e,le,i)):(i=c.cache,hl(e,le,i),i!==r.cache&&Vo(e,[le],n,!0))),ce(t,e,e.pendingProps.children,n),e.child;case 30:return e.stateNode===null&&(e.stateNode={autoName:null,paired:null,clones:null,ref:null}),i=e.pendingProps,i.name!=null&&i.name!=="auto"?e.flags|=t===null?18882560:18874368:At&&Bu(e),t!==null&&t.memoizedProps.name!==i.name?e.flags|=4194816:Ui(t,e),ce(t,e,i.children,n),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function Pn(t){t.flags|=4}function wc(t,e,n,i,r){var c;if((c=(t.mode&32)!==0)&&(c=n===null?Xp(e,i):Xp(e,i)&&(i.src!==n.src||i.srcSet!==n.srcSet)),c){if(t.flags|=16777216,(r&335544128)===r)if(t.stateNode.complete)t.flags|=8192;else if(Im())t.flags|=8192;else throw Il=Qu,Zo}else t.flags&=-16777217}function gm(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Qp(e))if(Im())t.flags|=8192;else throw Il=Qu,Zo}function sr(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Xf():536870912,t.lanes|=e,qi|=e)}function ja(t,e){if(!At)switch(t.tailMode){case"visible":break;case"collapsed":for(var n=t.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null;break;default:for(e=t.tail,n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null}}function Jt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var r=t.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&1206910976,i|=r.flags&1206910976,r.return=t,r=r.sibling;else for(r=t.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=t,r=r.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function Z1(t,e,n){var i=e.pendingProps;switch(Bo(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Jt(e),null;case 1:return Jt(e),null;case 3:return n=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),Jn(le),al(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Oi(e)?Pn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,qo())),Jt(e),null;case 26:var r=e.type,c=e.memoizedState;return t===null?(Pn(e),c!==null?(Jt(e),gm(e,c)):(Jt(e),wc(e,r,null,i,n))):c?c!==t.memoizedState?(Pn(e),Jt(e),gm(e,c)):(Jt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&Pn(e),Jt(e),wc(e,r,t,i,n)),null;case 27:if(hi(e),n=pn.current,r=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&Pn(e);else{if(!i){if(e.stateNode===null)throw Error(o(166));return Jt(e),e.subtreeFlags&=-33554433,null}t=en.current,Oi(e)?Jh(e):(t=jp(r,i,n),e.stateNode=t,Pn(e))}return Jt(e),e.subtreeFlags&=-33554433,null;case 5:if(hi(e),r=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&Pn(e);else{if(!i){if(e.stateNode===null)throw Error(o(166));return Jt(e),e.subtreeFlags&=-33554433,null}if(c=en.current,Oi(e))Jh(e);else{var m=Ka(pn.current);switch(c){case 1:c=m.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:c=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":c=m.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":c=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":c=m.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof i.is=="string"?m.createElement("select",{is:i.is}):m.createElement("select"),i.multiple?c.multiple=!0:i.size&&(c.size=i.size);break;default:c=typeof i.is=="string"?m.createElement(r,{is:i.is}):m.createElement(r)}}c[ye]=e,c[Ue]=i;t:for(m=e.child;m!==null;){if(m.tag===5||m.tag===6)c.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break t;for(;m.sibling===null;){if(m.return===null||m.return===e)break t;m=m.return}m.sibling.return=m.return,m=m.sibling}e.stateNode=c;t:switch(Ee(c,r,i),r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&Pn(e)}}return Jt(e),e.subtreeFlags&=-33554433,wc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&Pn(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(o(166));if(t=pn.current,Oi(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,r=he,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}t[ye]=e,t=!!(t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||pp(t.nodeValue,n)),t||fl(e,!0)}else t=Ka(t).createTextNode(i),t[ye]=e,e.stateNode=t}return Jt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(i=Oi(e),n!==null){if(t===null){if(!i)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[ye]=e}else Gl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Jt(e),t=!1}else n=qo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Je(e),e):(Je(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Jt(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(r=Oi(e),i!==null&&i.dehydrated!==null){if(t===null){if(!r)throw Error(o(318));if(r=e.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));r[ye]=e}else Gl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Jt(e),r=!1}else r=qo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),r=!0;if(!r)return e.flags&256?(Je(e),e):(Je(e),null)}return Je(e),(e.flags&128)!==0?(e.lanes=n,e):(n=i!==null,t=t!==null&&t.memoizedState!==null,n&&(i=e.child,r=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(r=i.alternate.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==r&&(i.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),sr(e,e.updateQueue),Jt(e),null);case 4:return al(),t===null&&ss(e.stateNode.containerInfo),e.flags|=67108864,Jt(e),null;case 10:return Jn(e.type),Jt(e),null;case 19:if(tc(e),i=e.memoizedState,i===null)return Jt(e),null;if(r=(e.flags&128)!==0,c=i.rendering,c===null)if(r)ja(i,!1);else{if(te!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=Fu(t),c!==null){for(e.flags|=128,ja(i,!1),t=c.updateQueue,e.updateQueue=t,sr(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Gh(n,t),n=n.sibling;return Da(e,Se.current&1|2),At&&Zn(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&ge()>Er&&(e.flags|=128,r=!0,ja(i,!1),e.lanes=4194304)}else{if(!r)if(t=Fu(c),t!==null){if(e.flags|=128,r=!0,t=t.updateQueue,e.updateQueue=t,sr(e,t),ja(i,!0),i.tail===null&&i.tailMode!=="collapsed"&&i.tailMode!=="visible"&&!c.alternate&&!At)return Jt(e),null}else 2*ge()-i.renderingStartTime>Er&&n!==536870912&&(e.flags|=128,r=!0,ja(i,!1),e.lanes=4194304);i.isBackwards?(c.sibling=e.child,e.child=c):(t=i.last,t!==null?t.sibling=c:e.child=c,i.last=c)}if(i.tail!==null){t=i.tail;t:{for(n=t;n!==null;){if(n.alternate!==null){n=!1;break t}n=n.sibling}n=!0}return i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ge(),t.sibling=null,c=Se.current,c=r?c&1|2:c&1,i.tailMode==="visible"||i.tailMode==="collapsed"||!n||At?Da(e,c):(n=c,Bt(be,e),Bt(Se,n),Ae===null&&(Ae=e)),At&&Zn(e,i.treeForkCount),t}return Jt(e),null;case 22:case 23:return Je(e),Po(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(Jt(e),e.subtreeFlags&6&&(e.flags|=8192)):Jt(e),n=e.updateQueue,n!==null&&sr(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&ne(Jl),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Jn(le),Jt(e),null;case 25:return null;case 30:return e.flags|=33554432,Jt(e),null}throw Error(o(156,e.tag))}function K1(t,e){switch(Bo(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Jn(le),al(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return hi(e),null;case 31:if(e.memoizedState!==null){if(Je(e),e.alternate===null)throw Error(o(340));Gl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Je(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));Gl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return tc(e),t=e.flags,t&65536?(e.flags=t&-65537|128,t=e.memoizedState,t!==null&&(t.rendering=null,t.tail=null),e.flags|=4,e):null;case 4:return al(),null;case 10:return Jn(e.type),null;case 22:case 23:return Je(e),Po(),t!==null&&ne(Jl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Jn(le),null;case 25:return null;default:return null}}function ym(t,e){switch(Bo(e),e.tag){case 3:Jn(le),al();break;case 26:case 27:case 5:hi(e);break;case 4:al();break;case 31:e.memoizedState!==null&&Je(e);break;case 13:Je(e);break;case 19:tc(e);break;case 10:Jn(e.type);break;case 22:case 23:Je(e),Po(),t!==null&&ne(Jl);break;case 24:Jn(le)}}function La(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var r=i.next;n=r;do{if((n.tag&t)===t){i=void 0;var c=n.create,m=n.inst;i=c(),m.destroy=i}n=n.next}while(n!==r)}}catch(S){qt(e,e.return,S)}}function Sl(t,e,n){try{var i=e.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var c=r.next;i=c;do{if((i.tag&t)===t){var m=i.inst,S=m.destroy;if(S!==void 0){m.destroy=void 0,r=e;var E=n,N=S;try{N()}catch(R){qt(r,E,R)}}}i=i.next}while(i!==c)}}catch(R){qt(e,e.return,R)}}function vm(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{rd(e,n)}catch(i){qt(t,t.return,i)}}}function bm(t,e,n){n.props=Wl(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){qt(t,e,i)}}function _n(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:var r=t.stateNode,c=Gn(t.memoizedProps,r);(r.ref===null||r.ref.name!==c)&&(r.ref=Cp(c)),i=r.ref;break;case 7:if(t.stateNode===null){var m=new We(t);p(t.child,!1,Lv,m,void 0,void 0),t.stateNode=m}i=t.stateNode;break;default:i=t.stateNode}typeof n=="function"?t.refCleanup=n(i):n.current=i}}catch(S){qt(t,e,S)}}function xe(t,e){var n=t.ref,i=t.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(r){qt(t,e,r)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){qt(t,e,r)}else n.current=null}function fr(t,e){if((t.tag===5||t.tag===27||t.tag===6)&&t.alternate===null&&e!==null)for(var n=0;n<e.length;n++)kp(t.stateNode,e[n])}function Sm(t){for(var e=t.return;e!==null&&(Dc(e)&&kp(t.stateNode,e.stateNode),!Nc(e));)e=e.return}function Ba(t){for(var e=t.return;e!==null&&(Dc(e)&&Bv(t.stateNode,e.stateNode),!Nc(e));)e=e.return}function Nc(t){return t.tag===5||t.tag===3||t.tag===27}function Dc(t){return t&&t.tag===7&&t.stateNode!==null}function kc(t){var e=t.type,n=t.memoizedProps,i=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(r){qt(t,t.return,r)}}function Mc(t,e,n){try{var i=t.stateNode;bv(i,t.type,n,e),i[Ue]=e}catch(r){qt(t,t.return,r)}}function xm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&_l(t.type)||t.tag===4}function Rc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||xm(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&&_l(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 Uc(t,e,n,i){var r=t.tag;if(r===5||r===6)r=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(r,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(r),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=An)),fr(t,i),Rt=!0;else if(r!==4&&(r===27&&(fr(t,i),i=null,_l(t.type)&&(n=t.stateNode,e=null)),t=t.child,t!==null))for(Uc(t,e,n,i),t=t.sibling;t!==null;)Uc(t,e,n,i),t=t.sibling}function hr(t,e,n,i){var r=t.tag;if(r===5||r===6)r=t.stateNode,e?n.insertBefore(r,e):n.appendChild(r),fr(t,i),Rt=!0;else if(r!==4&&(r===27&&(fr(t,i),i=null,_l(t.type)&&(n=t.stateNode)),t=t.child,t!==null))for(hr(t,e,n,i),t=t.sibling;t!==null;)hr(t,e,n,i),t=t.sibling}function Em(t){var e=t.stateNode,n=t.memoizedProps;try{for(var i=t.type,r=e.attributes;r.length;)e.removeAttributeNode(r[0]);Ee(e,i,n),e[ye]=t,e[Ue]=n}catch(c){qt(t,t.return,c)}}var dr=!1,Fe=null;function Tm(t){(t.tag===30||(t.subtreeFlags&33554432)!==0)&&(dr=!0)}var On=null;function Am(){var t=On;return On=null,t}var Le=0;function ji(t,e,n,i,r){return Le=0,zm(t.child,e,n,i,r)}function zm(t,e,n,i,r){for(var c=!1;t!==null;){if(t.tag===5){var m=t.stateNode;if(i!==null){var S=vs(m);i.push(S),S.view&&(c=!0)}else c||vs(m).view&&(c=!0);dr=!0,Ap(m,Le===0?e:e+"_"+Le,n),Le++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&r||zm(t.child,e,n,i,r)&&(c=!0));t=t.sibling}return c}function wn(t,e){for(;t!==null;)t.tag===5?zp(t.stateNode,t.memoizedProps):(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&e||wn(t.child,e)),t=t.sibling}function mr(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if((t.tag!==22||t.memoizedState===null)&&(mr(t),t.tag===30&&(t.flags&18874368)!==0&&t.stateNode.paired)){var e=t.memoizedProps;if(e.name==null||e.name==="auto")throw Error(o(544));var n=e.name;e=Xn(e.default,e.share),e!=="none"&&(ji(t,n,e,null,!1)||wn(t.child,!1))}t=t.sibling}}function jc(t,e){if(t.tag===30){var n=t.stateNode,i=t.memoizedProps,r=Gn(i,n),c=Xn(i.default,n.paired?i.share:i.enter);c!=="none"?ji(t,r,c,null,!1)?(mr(t),n.paired||e||Xi(t,i.onEnter)):wn(t.child,!1):mr(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)jc(t,e),t=t.sibling;else mr(t)}function Lc(t){if(Fe!==null&&Fe.size!==0){var e=Fe;if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var n=t.memoizedProps,i=n.name;if(i!=null&&i!=="auto"){var r=e.get(i);if(r!==void 0){var c=Xn(n.default,n.share);if(c!=="none"&&(ji(t,i,c,null,!1)?(c=t.stateNode,r.paired=c,c.paired=r,Xi(t,n.onShare)):wn(t.child,!1)),e.delete(i),e.size===0)break}}}Lc(t)}t=t.sibling}}}function Bc(t){if(t.tag===30){var e=t.memoizedProps,n=Gn(e,t.stateNode),i=Fe!==null?Fe.get(n):void 0,r=Xn(e.default,i!==void 0?e.share:e.exit);r!=="none"&&(ji(t,n,r,null,!1)?i!==void 0?(r=t.stateNode,i.paired=r,r.paired=i,Fe.delete(n),Xi(t,e.onShare)):Xi(t,e.onExit):wn(t.child,!1)),Fe!==null&&Lc(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)Bc(t),t=t.sibling;else Fe!==null&&Lc(t)}function Cm(t){for(t=t.child;t!==null;){if(t.tag===30){var e=t.memoizedProps,n=Gn(e,t.stateNode);e=Xn(e.default,e.update),t.flags&=-5,e!=="none"&&ji(t,n,e,t.memoizedState=[],!1)}else(t.subtreeFlags&33554432)!==0&&Cm(t);t=t.sibling}}function Hc(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var e=t.stateNode;e.paired!==null&&(e.paired=null,wn(t.child,!1))}Hc(t)}t=t.sibling}}function pr(t){if(t.tag===30)t.stateNode.paired=null,wn(t.child,!1),Hc(t);else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)pr(t),t=t.sibling;else Hc(t)}function _m(t){for(t=t.child;t!==null;)t.tag===30?wn(t.child,!1):(t.subtreeFlags&33554432)!==0&&_m(t),t=t.sibling}function qc(t,e,n,i,r,c,m){for(var S=!1;e!==null;){if(e.tag===5){var E=e.stateNode;if(c!==null&&Le<c.length){var N=c[Le],R=vs(E);(N.view||R.view)&&(S=!0);var Y;if(Y=(t.flags&4)===0)if(R.clip)Y=!0;else{Y=N.rect;var O=R.rect;Y=Y.y!==O.y||Y.x!==O.x||Y.height!==O.height||Y.width!==O.width}Y&&(t.flags|=4),R.abs?R=!N.abs:(N=N.rect,R=R.rect,R=N.height!==R.height||N.width!==R.width),R&&(t.flags|=32)}else t.flags|=32;(t.flags&4)!==0&&Ap(E,Le===0?n:n+"_"+Le,r),S&&(t.flags&4)!==0||(On===null&&(On=[]),On.push(E,Le===0?i:i+"_"+Le,e.memoizedProps)),Le++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&m?t.flags|=e.flags&32:qc(t,e.child,n,i,r,c,m)&&(S=!0));e=e.sibling}return S}function Om(t,e){for(t=t.child;t!==null;){if(t.tag===30){var n=t.memoizedProps,i=t.stateNode,r=Gn(n,i),c=Xn(n.default,n.update),m;m=t.memoizedState,t.memoizedState=null,i=t;var S=t.child;Le=0,r=qc(i,S,r,r,c,m,!1),(t.flags&4)!==0&&r&&Xi(t,n.onUpdate)}else(t.subtreeFlags&33554432)!==0&&Om(t);t=t.sibling}}var de=!1,Lt=!1,Nn=!1,Yc=!1,wm=typeof WeakSet=="function"?WeakSet:Set,me=null,Dn=!1,Ha=!1,gr=!1,Vc=!1;function J1(t,e,n){if(t=t.containerInfo,ds=ta,t=Mh(t),Oo(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else t:{i=(i=t.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var c=r.anchorOffset,m=r.focusNode;r=r.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break t}var S=0,E=-1,N=-1,R=0,Y=0,O=t,k=null;e:for(;;){for(var P;O!==i||c!==0&&O.nodeType!==3||(E=S+c),O!==m||r!==0&&O.nodeType!==3||(N=S+r),O.nodeType===3&&(S+=O.nodeValue.length),(P=O.firstChild)!==null;)k=O,O=P;for(;;){if(O===t)break e;if(k===i&&++R===c&&(E=S),k===m&&++Y===r&&(N=S),(P=O.nextSibling)!==null)break;O=k,k=O.parentNode}O=P}i=E===-1||N===-1?null:{start:E,end:N}}else i=null}i=i||{start:0,end:0}}else i=null;for(ms={focusedElem:t,selectionRange:i},ta=!1,n=(n&335544064)===n,me=e,e=n?9270:1024;me!==null;){if(t=me,n&&(i=t.deletions,i!==null))for(c=0;c<i.length;c++)n&&Bc(i[c]);if(t.alternate===null&&(t.flags&2)!==0)n&&Tm(t),yr(n);else{if(t.tag===22){if(i=t.alternate,t.memoizedState!==null){i!==null&&i.memoizedState===null&&n&&Bc(i),yr(n);continue}else if(i!==null&&i.memoizedState!==null){n&&Tm(t),yr(n);continue}}i=t.child,(t.subtreeFlags&e)!==0&&i!==null?(i.return=t,me=i):(n&&Cm(t),yr(n))}}Fe=null}function yr(t){for(;me!==null;){var e=me,n=t,i=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 15:break;case 1:if((r&1024)!==0&&i!==null){n=void 0,r=i.memoizedProps,i=i.memoizedState;var c=e.stateNode;try{var m=Wl(e.type,r);n=c.getSnapshotBeforeUpdate(m,i),c.__reactInternalSnapshotBeforeUpdate=n}catch(S){qt(e,e.return,S)}}break;case 3:if((r&1024)!==0){if(i=e.stateNode.containerInfo,n=i.nodeType,n===9)xs(i);else if(n===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":xs(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&i!==null&&(n=Gn(i.memoizedProps,i.stateNode),r=e.memoizedProps,r=Xn(r.default,r.update),r!=="none"&&ji(i,n,r,i.memoizedState=[],!0));break;default:if((r&1024)!==0)throw Error(o(163))}if(i=e.sibling,i!==null){i.return=e.return,me=i;break}me=e.return}}function Nm(t,e,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:kn(t,n),i&4&&La(5,n);break;case 1:if(kn(t,n),i&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(m){qt(n,n.return,m)}else{var r=Wl(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(r,e,t.__reactInternalSnapshotBeforeUpdate)}catch(m){qt(n,n.return,m)}}i&64&&vm(n),i&512&&_n(n,n.return);break;case 3:if(kn(t,n),i&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{rd(t,e)}catch(m){qt(n,n.return,m)}}break;case 27:e===null&&i&4&&Em(n);case 26:case 5:kn(t,n),e===null&&i&4&&kc(n),i&512&&_n(n,n.return);break;case 12:kn(t,n);break;case 31:kn(t,n),i&4&&Rm(t,n);break;case 13:kn(t,n),i&4&&Um(t,n),i&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=uv.bind(null,n),Yv(t,n))));break;case 22:if(i=n.memoizedState!==null||de,!i){var c=e!==null&&e.memoizedState!==null||Lt;e=de,r=Lt,de=i,(Lt=c)&&!r?(i=2,(n.subtreeFlags&8772)!==0&&(i|=1),bn(t,n,i)):kn(t,n),de=e,Lt=r}break;case 30:kn(t,n),i&512&&_n(n,n.return);break;case 7:i&512&&_n(n,n.return);default:kn(t,n)}}function Gc(t,e){for(t=t.child;t!==null;)Dm(t,e),t=t.sibling}function Dm(t,e){switch(t.tag){case 5:case 26:try{var n=t.stateNode;if(e){var i=n.style;typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"}else{var r=t.stateNode,c=t.memoizedProps.style,m=c!=null&&c.hasOwnProperty("display")?c.display:null;r.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(E){qt(t,t.return,E)}Xc(t,e);break;case 6:try{t.stateNode.nodeValue=e?"":t.memoizedProps,Rt=!0}catch(E){qt(t,t.return,E)}break;case 18:try{var S=t.stateNode;e?Tp(S,!0):Tp(t.stateNode,!1)}catch(E){qt(t,t.return,E)}break;case 22:case 23:t.memoizedState===null&&Gc(t,e);break;default:Gc(t,e)}}function Xc(t,e){if(t.subtreeFlags&67108864)for(t=t.child;t!==null;){t:{var n=t,i=e;switch(n.tag){case 4:Dm(n,i);break t;case 22:n.memoizedState===null&&Xc(n,i);break t;default:Xc(n,i)}}t=t.sibling}}function km(t){var e=t.alternate;e!==null&&(t.alternate=null,km(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Eu(e)),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 Ft=null,Be=!1;function yn(t,e,n){for(n=n.child;n!==null;)Mm(t,e,n),n=n.sibling}function Mm(t,e,n){if(Xe&&typeof Xe.onCommitFiberUnmount=="function")try{Xe.onCommitFiberUnmount(oa,n)}catch{}switch(n.tag){case 26:Lt||xe(n,e),yn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!Lt&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Lt||xe(n,e),Ba(n);var i=Ft,r=Be;_l(n.type)&&(Ft=n.stateNode,Be=!1),yn(t,e,n),Lp(n.stateNode,n.type,n.memoizedProps),Ft=i,Be=r;break;case 5:Lt||xe(n,e),Ba(n);case 6:if(n.tag===6&&Ba(n),i=Ft,r=Be,Ft=null,yn(t,e,n),Ft=i,Be=r,Ft!==null)if(Be)try{(Ft.nodeType===9?Ft.body:Ft.nodeName==="HTML"?Ft.ownerDocument.body:Ft).removeChild(n.stateNode),Rt=!0}catch(c){qt(n,e,c)}else try{Ft.removeChild(n.stateNode),Rt=!0}catch(c){qt(n,e,c)}break;case 18:Ft!==null&&(Be?(t=Ft,Ep(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),ea(t)):Ep(Ft,n.stateNode));break;case 4:i=Ft,r=Be,Ft=n.stateNode.containerInfo,Be=!0,yn(t,e,n),Ft=i,Be=r;break;case 0:case 11:case 14:case 15:Sl(2,n,e),Lt||Sl(4,n,e),yn(t,e,n);break;case 1:Lt||(xe(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"&&bm(n,e,i)),yn(t,e,n);break;case 21:yn(t,e,n);break;case 22:Lt=(i=Lt)||n.memoizedState!==null,yn(t,e,n),Lt=i;break;case 30:xe(n,e),yn(t,e,n);break;case 7:Lt||xe(n,e),yn(t,e,n);break;default:yn(t,e,n)}}function Rm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ea(t)}catch(n){qt(e,e.return,n)}}}function Um(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ea(t)}catch(n){qt(e,e.return,n)}}function F1(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new wm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new wm),e;default:throw Error(o(435,t.tag))}}function vr(t,e){var n=F1(t);e.forEach(function(i){if(!n.has(i)){n.add(i);var r=rv.bind(null,t,i);i.then(r,r)}})}function Ne(t,e,n){var i=e.deletions;if(i!==null)for(var r=0;r<i.length;r++){var c=i[r],m=t,S=e,E=S;t:for(;E!==null;){switch(E.tag){case 27:if(_l(E.type)){Ft=E.stateNode,Be=!1;break t}break;case 5:Ft=E.stateNode,Be=!1;break t;case 3:case 4:Ft=E.stateNode.containerInfo,Be=!0;break t}E=E.return}if(Ft===null)throw Error(o(160));Mm(m,S,c),Ft=null,Be=!1,m=c.alternate,m!==null&&(m.return=null),c.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)jm(e,t,n),e=e.sibling}var vn=null;function jm(t,e,n){var i=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(r&4&&(i=t.updateQueue,i=i!==null?i.events:null,i!==null))for(var c=0;c<i.length;c++){var m=i[c];m.ref.impl=m.nextImpl}Ne(e,t,n),De(t),r&4&&(Sl(3,t,t.return),La(3,t),Sl(5,t,t.return));break;case 1:Ne(e,t,n),De(t),r&512&&(Lt||i===null||xe(i,i.return)),r&64&&de&&(t=t.updateQueue,t!==null&&(e=t.callbacks,e!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?e:n.concat(e))));break;case 26:if(c=vn,Ne(e,t,n),De(t),r&512&&(Lt||i===null||xe(i,i.return)),r&4)if(r=i!==null?i.memoizedState:null,n=t.memoizedState,i===null)if(n===null)if(t.stateNode===null)if(de)t.stateNode=bp(t.type,t.memoizedProps,e.containerInfo,t);else{t:{e=t.type,n=t.memoizedProps,r=c.ownerDocument||c;e:switch(e){case"title":i=r.getElementsByTagName("title")[0],(!i||i[fa]||i[ye]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=r.createElement(e),r.head.insertBefore(i,r.querySelector("head > title"))),Ee(i,e,n),i[ye]=t,fe(i),e=i;break t;case"link":if(c=Gp("link","href",r).get(e+(n.href||""))){for(m=0;m<c.length;m++)if(i=c[m],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){c.splice(m,1);break e}}i=r.createElement(e),Ee(i,e,n),r.head.appendChild(i);break;case"meta":if(c=Gp("meta","content",r).get(e+(n.content||""))){for(m=0;m<c.length;m++)if(i=c[m],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){c.splice(m,1);break e}}i=r.createElement(e),Ee(i,e,n),r.head.appendChild(i);break;default:throw Error(o(468,e))}i[ye]=t,fe(i),e=i}t.stateNode=e}else de||Os(c,t.type,t.stateNode);else t.stateNode=Vp(c,n,t.memoizedProps);else r!==n?(r===null?(e=i.stateNode,e===null||Lt||e.parentNode.removeChild(e)):r.count--,n===null?de||Os(c,t.type,t.stateNode):Vp(c,n,t.memoizedProps)):n===null&&t.stateNode!==null&&Mc(t,t.memoizedProps,i.memoizedProps);break;case 27:Ne(e,t,n),De(t),r&512&&(Lt||i===null||xe(i,i.return)),i!==null&&r&4&&Mc(t,t.memoizedProps,i.memoizedProps);break;case 5:if(c=Nn,Nn=!1,Ne(e,t,n),Nn=c,De(t),r&512&&(Lt||i===null||xe(i,i.return)),t.flags&32){e=t.stateNode;try{vi(e,""),Rt=!0}catch(R){qt(t,t.return,R)}}r&4&&t.stateNode!=null&&(e=t.memoizedProps,Mc(t,e,i!==null?i.memoizedProps:e)),r&1024&&(Yc=!0);break;case 6:if(Ne(e,t,n),De(t),r&4){if(t.stateNode===null)throw Error(o(162));e=t.memoizedProps,n=t.stateNode;try{n.nodeValue=e,Rt=!0}catch(R){qt(t,t.return,R)}}break;case 3:if(Rt=!1,Mr=null,c=vn,vn=Ja(e.containerInfo),Ne(e,t,n),vn=c,De(t),r&4&&i!==null&&i.memoizedState.isDehydrated)try{ea(e.containerInfo)}catch(R){qt(t,t.return,R)}Yc&&(Yc=!1,Lm(t)),Rt=!1;break;case 4:r=Nn,Nn=de,i=lh(),c=vn,vn=Ja(t.stateNode.containerInfo),Ne(e,t,n),De(t),vn=c,Rt&&Ha&&(gr=!0),Rt=i,Nn=r;break;case 12:Ne(e,t,n),De(t);break;case 31:Ne(e,t,n),De(t),r&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,vr(t,e)));break;case 13:Ne(e,t,n),De(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(xr=ge()),r&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,vr(t,e)));break;case 22:c=t.memoizedState!==null,m=i!==null&&i.memoizedState!==null;var S=de,E=Lt,N=Nn;de=S||c,Nn=N||c,Lt=E||m,Ne(e,t,n),Lt=E,Nn=N,de=S,De(t),r&8192&&(e=t.stateNode,e._visibility=c?e._visibility&-2:e._visibility|1,!c||i===null||m||de||Lt||(e=m||Lt,n=de,i=Lt,de=c||de,Lt=e,xl(t,2),de=n,Lt=i),!c&&Nn||Gc(t,c)),r&4&&(e=t.updateQueue,e!==null&&(n=e.retryQueue,n!==null&&(e.retryQueue=null,vr(t,n))));break;case 19:Ne(e,t,n),De(t),r&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,vr(t,e)));break;case 30:r&512&&(Lt||i===null||xe(i,i.return)),r=lh(),c=Ha,m=(n&335544064)===n,S=t.memoizedProps,Ha=m&&Xn(S.default,S.update)!=="none",Ne(e,t,n),De(t),m&&i!==null&&Rt&&(t.flags|=4),Ha=c,Rt=r;break;case 21:break;case 7:r&512&&(Lt||i===null||xe(i,i.return)),i&&i.stateNode!==null&&(i.stateNode._fragmentFiber=t);default:Ne(e,t,n),De(t)}}function De(t){var e=t.flags;if(e&2){try{for(var n,i=t.return;i!==null;){if(xm(i)){n=i;break}i=i.return}i=null;for(var r=t.return;r!==null;){if(Dc(r)){var c=r.stateNode;i===null?i=[c]:i.push(c)}if(Nc(r))break;r=r.return}var m=i;if(n==null)throw Error(o(160));switch(n.tag){case 27:var S=n.stateNode,E=Rc(t);hr(t,E,S,m);break;case 5:var N=n.stateNode;n.flags&32&&(vi(N,""),n.flags&=-33);var R=Rc(t);hr(t,R,N,m);break;case 3:case 4:var Y=n.stateNode.containerInfo,O=Rc(t);Uc(t,O,Y,m);break;default:throw Error(o(161))}}catch(k){qt(t,t.return,k)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Lm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Lm(e),e.tag===5&&e.flags&1024&&(e=e.stateNode,ta=!0,e.reset(),ta=!1),t=t.sibling}}function Li(t,e){if(e.subtreeFlags&9270)for(e=e.child;e!==null;)Bm(e,t),e=e.sibling;else Om(e)}function Bm(t,e){var n=t.alternate;if(n===null)jc(t,!1);else switch(t.tag){case 3:if(Vc=Dn=!1,Am(),Li(e,t),!Dn&&!gr){if(t=On,t!==null)for(var i=0;i<t.length;i+=3){n=t[i];var r=t[i+1];zp(n,t[i+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+r+")"})}t=e.containerInfo,t=t.nodeType===9?t.documentElement:t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName===""&&(t.style.viewTransitionName="none",t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),t.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Vc=!0}On=null;break;case 5:Li(e,t);break;case 4:i=Dn,Dn=!1,Li(e,t),Dn&&(gr=!0),Dn=i;break;case 22:t.memoizedState===null&&(n.memoizedState!==null?jc(t,!1):Li(e,t));break;case 30:i=Dn,r=Am(),Dn=!1,Li(e,t),Dn&&(t.flags|=4);var c=t.memoizedProps,m=t.stateNode;e=Gn(c,m),m=Gn(n.memoizedProps,m);var S=Xn(c.default,c.update);S==="none"?e=!1:(c=n.memoizedState,n.memoizedState=null,n=t.child,Le=0,e=qc(t,n,e,m,S,c,!0),Le!==(c===null?0:c.length)&&(t.flags|=32)),(t.flags&4)!==0&&e?(Xi(t,t.memoizedProps.onUpdate),On=r):r!==null&&(r.push.apply(r,On),On=r),Dn=(t.flags&32)!==0?!0:i;break;default:Li(e,t)}}function kn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Nm(t,e.alternate,e),e=e.sibling}function xl(t,e){for(t=t.child;t!==null;){var n=t,i=e;switch(n.tag){case 0:case 11:case 14:case 15:Sl(4,n,n.return),xl(n,i);break;case 1:xe(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&bm(n,n.return,r),xl(n,i);break;case 27:(i&2)!==0&&Lp(n.stateNode,n.type,n.memoizedProps);case 5:xe(n,n.return),n.tag!==5&&n.tag!==27||Ba(n),xl(n,i);break;case 6:Ba(n);break;case 26:xe(n,n.return),r=n.stateNode,n.memoizedState!==null||r===null||Lt||r.parentNode.removeChild(r),xl(n,i);break;case 22:n.memoizedState===null&&xl(n,i);break;case 30:xe(n,n.return),xl(n,i);break;case 7:xe(n,n.return);default:xl(n,i)}t=t.sibling}}function bn(t,e,n){for(n=(e.subtreeFlags&8772)!==0?n:n&-2,e=e.child;e!==null;){var i=e.alternate,r=t,c=e,m=c.flags,S=(n&1)!==0;switch(c.tag){case 0:case 11:case 15:bn(r,c,n),La(4,c);break;case 1:if(bn(r,c,n),i=c,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(R){qt(i,i.return,R)}if(i=c,r=i.updateQueue,r!==null){var E=i.stateNode;try{var N=r.shared.hiddenCallbacks;if(N!==null)for(r.shared.hiddenCallbacks=null,r=0;r<N.length;r++)ud(N[r],E)}catch(R){qt(i,i.return,R)}}S&&m&64&&vm(c),_n(c,c.return);break;case 27:(n&2)!==0&&Em(c);case 5:c.tag!==5&&c.tag!==27||Sm(c),bn(r,c,n),S&&i===null&&m&4&&kc(c),_n(c,c.return);break;case 6:Sm(c);break;case 26:E=c.stateNode,c.memoizedState!==null||E===null||de||Os(Ja(E.ownerDocument),c.type,E),bn(r,c,n),S&&i===null&&m&4&&kc(c),_n(c,c.return);break;case 12:bn(r,c,n);break;case 31:bn(r,c,n),S&&m&4&&Rm(r,c);break;case 13:bn(r,c,n),S&&m&4&&Um(r,c);break;case 22:c.memoizedState===null&&bn(r,c,n),_n(c,c.return);break;case 30:bn(r,c,n),_n(c,c.return);break;case 7:_n(c,c.return);default:bn(r,c,n)}e=e.sibling}}function Qc(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Aa(n))}function Zc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Aa(t))}function sn(t,e,n,i){var r=(n&335544064)===n;if(e.subtreeFlags&(r?10262:10256))for(e=e.child;e!==null;)Hm(t,e,n,i),e=e.sibling;else r&&_m(e)}function Hm(t,e,n,i){var r=(n&335544064)===n;r&&e.alternate===null&&e.return!==null&&e.return.alternate!==null&&pr(e);var c=e.flags;switch(e.tag){case 0:case 11:case 15:sn(t,e,n,i),c&2048&&La(9,e);break;case 1:sn(t,e,n,i);break;case 3:sn(t,e,n,i),r&&Vc&&(t=t.containerInfo,t=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,t.style.viewTransitionName==="root"&&(t.style.viewTransitionName=""),t=t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName==="none"&&(t.style.viewTransitionName="")),c&2048&&(c=null,e.alternate!==null&&(c=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==c&&(e.refCount++,c!=null&&Aa(c)));break;case 12:if(c&2048){sn(t,e,n,i),c=e.stateNode;try{var m=e.memoizedProps,S=m.id,E=m.onPostCommit;typeof E=="function"&&E(S,e.alternate===null?"mount":"update",c.passiveEffectDuration,-0)}catch(N){qt(e,e.return,N)}}else sn(t,e,n,i);break;case 31:sn(t,e,n,i);break;case 13:sn(t,e,n,i);break;case 23:break;case 22:m=e.stateNode,S=e.alternate,e.memoizedState!==null?(r&&S!==null&&S.memoizedState===null&&pr(S),m._visibility&2?sn(t,e,n,i):qa(t,e)):(r&&S!==null&&S.memoizedState!==null&&pr(e),m._visibility&2?sn(t,e,n,i):(m._visibility|=2,Bi(t,e,n,i,(e.subtreeFlags&10256)!==0||!1))),c&2048&&Qc(S,e);break;case 24:sn(t,e,n,i),c&2048&&Zc(e.alternate,e);break;case 30:r&&(c=e.alternate,c!==null&&(wn(c.child,!0),wn(e.child,!0))),sn(t,e,n,i);break;default:sn(t,e,n,i)}}function Bi(t,e,n,i,r){for(r=r&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,m=e,S=n,E=i,N=m.flags;switch(m.tag){case 0:case 11:case 15:Bi(c,m,S,E,r),La(8,m);break;case 23:break;case 22:var R=m.stateNode;m.memoizedState!==null?R._visibility&2?Bi(c,m,S,E,r):qa(c,m):(R._visibility|=2,Bi(c,m,S,E,r)),r&&N&2048&&Qc(m.alternate,m);break;case 24:Bi(c,m,S,E,r),r&&N&2048&&Zc(m.alternate,m);break;default:Bi(c,m,S,E,r)}e=e.sibling}}function qa(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,i=e,r=i.flags;switch(i.tag){case 22:qa(n,i),r&2048&&Qc(i.alternate,i);break;case 24:qa(n,i),r&2048&&Zc(i.alternate,i);break;default:qa(n,i)}e=e.sibling}}var ti=8192;function ei(t,e,n){if(t.subtreeFlags&ti)for(t=t.child;t!==null;)qm(t,e,n),t=t.sibling}function qm(t,e,n){switch(t.tag){case 26:ei(t,e,n),t.flags&ti&&(t.memoizedState!==null?eb(n,vn,t.memoizedState,t.memoizedProps):(t=t.stateNode,(e&335544128)===e&&Kp(n,t)));break;case 5:ei(t,e,n),t.flags&ti&&(t=t.stateNode,(e&335544128)===e&&Kp(n,t));break;case 3:case 4:var i=vn;vn=Ja(t.stateNode.containerInfo),ei(t,e,n),vn=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=ti,ti=16777216,ei(t,e,n),ti=i):ei(t,e,n));break;case 30:if((t.flags&ti)!==0&&(i=t.memoizedProps.name,i!=null&&i!=="auto")){var r=t.stateNode;r.paired=null,Fe===null&&(Fe=new Map),Fe.set(i,r)}ei(t,e,n);break;default:ei(t,e,n)}}function Ym(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Ya(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];me=i,Gm(i,t)}Ym(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Vm(t),t=t.sibling}function Vm(t){switch(t.tag){case 0:case 11:case 15:Ya(t),t.flags&2048&&Sl(9,t,t.return);break;case 3:Ya(t);break;case 12:Ya(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,br(t)):Ya(t);break;default:Ya(t)}}function br(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];me=i,Gm(i,t)}Ym(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Sl(8,e,e.return),br(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,br(e));break;default:br(e)}t=t.sibling}}function Gm(t,e){for(;me!==null;){var n=me;switch(n.tag){case 0:case 11:case 15:Sl(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Aa(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,me=i;else t:for(n=t;me!==null;){i=me;var r=i.sibling,c=i.return;if(km(i),i===n){me=null;break t}if(r!==null){r.return=c,me=r;break t}me=c}}}var I1={getCacheForType:function(t){var e=ve(le),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return ve(le).controller.signal}},$1=typeof WeakMap=="function"?WeakMap:Map,jt=0,Xt=null,Ot=null,Nt=0,Ht=0,Ie=null,El=!1,Hi=!1,Kc=!1,Wn=0,te=0,Tl=0,ni=0,Sr=0,$e=0,qi=0,Va=null,He=null,Jc=!1,xr=0,Xm=0,Er=1/0,Tr=null,Al=null,Pt=0,Sn=null,li=null,Mn=0,Fc=0,Ic=null,Qm=null,Yi=null,Vi=null,Gi=null,Ga=0,Ar=null;function Pe(){return(jt&2)!==0&&Nt!==0?Nt&-Nt:at.T!==null?us():Jf()}function Zm(){if($e===0)if((Nt&536870912)===0||At){var t=vu;vu<<=1,(vu&3932160)===0&&(vu=262144),$e=t}else $e=536870912;return t=be.current,t!==null&&(t.flags|=32),$e}function Xi(t,e){if(e!=null){var n=t.stateNode,i=n.ref;i===null&&(i=n.ref=Cp(Gn(t.memoizedProps,n))),Vi===null&&(Vi=[]),Vi.push(e.bind(null,i))}}function qe(t,e,n){(t===Xt&&(Ht===2||Ht===9)||t.cancelPendingCommit!==null)&&(Qi(t,0),zl(t,Nt,$e,!1)),sa(t,n),((jt&2)===0||t!==Xt)&&(t===Xt&&((jt&2)===0&&(ni|=n),te===4&&zl(t,Nt,$e,!1)),Rn(t))}function Km(t,e,n){if((jt&6)!==0)throw Error(o(327));var i=!n&&(e&127)===0&&(e&t.expiredLanes)===0||ca(t,e),r=i?tv(t,e):Pc(t,e,!0),c=i;do{if(r===0){Hi&&!i&&zl(t,e,0,!1);break}else{if(n=t.current.alternate,c&&!P1(n)){r=Pc(t,e,!1),c=!1;continue}if(r===2){if(c=e,t.errorRecoveryDisabledLanes&c)var m=0;else m=t.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){e=m;t:{var S=t;r=Va;var E=S.current.memoizedState.isDehydrated;if(E&&(Qi(S,m).flags|=256),m=Pc(S,m,!1),m!==2&&m!==6){if(Kc&&!E){S.errorRecoveryDisabledLanes|=c,ni|=c,r=4;break t}c=He,He=r,c!==null&&(He===null?He=c:He.push.apply(He,c))}r=m}if(c=!1,r!==2)continue}}if(r===1){Qi(t,0),zl(t,e,0,!0);break}t:{switch(i=t,c=r,c){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e&&(e&62914560)!==e)break;case 6:zl(i,e,$e,!El);break t;case 2:He=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(r=xr+300-ge(),10<r)){if(zl(i,e,$e,!El),Su(i,0,!0)!==0)break t;Mn=e,i.timeoutHandle=ys(Jm.bind(null,i,n,He,Tr,Jc,e,$e,ni,qi,El,c,"Throttled",-0,0),r);break t}Jm(i,n,He,Tr,Jc,e,$e,ni,qi,El,c,null,-0,0)}}break}while(!0);Rn(t)}function Jm(t,e,n,i,r,c,m,S,E,N,R,Y,O,k){t.timeoutHandle=-1;var P=e.subtreeFlags,it=(c&335544064)===c;if(Y=null,(it||P&8192||(P&16785408)===16785408)&&(Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:An},Fe=null,qm(e,c,Y),it&&(P=Y,it=t.containerInfo,it=(it.nodeType===9?it:it.ownerDocument).__reactViewTransition,it!=null&&(P.count++,P.waitingForViewTransition=!0,P=$a.bind(P),it.finished.then(P,P))),P=(c&62914560)===c?xr-ge():(c&4194048)===c?Xm-ge():0,P=nb(Y,P),P!==null)){Mn=c,t.cancelPendingCommit=P(np.bind(null,t,e,c,n,i,r,m,S,E,N,R,Y,null,O,k)),zl(t,c,m,!N);return}np(t,e,c,n,i,r,m,S,E,N,R,Y)}function P1(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var r=n[i],c=r.getSnapshot;r=r.value;try{if(!Ke(c(),r))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function zl(t,e,n,i){e=Gf(t,e),e&=~Sr,e&=~ni,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var r=e;0<r;){var c=31-Qe(r),m=1<<c;i[c]=-1,r&=~m}n!==0&&Qf(t,n,e)}function zr(){return(jt&6)===0?(Xa(0),!1):!0}function $c(){if(Ot!==null){if(Ht===0)var t=Ot.return;else t=Ot,Kn=Xl=null,ac(t),Di=null,_a=0,t=Ot;for(;t!==null;)ym(t.alternate,t),t=t.return;Ot=null}}function Qi(t,e){var n=t.timeoutHandle;return n!==-1&&(t.timeoutHandle=-1,Ev(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Mn=0,$c(),Xt=t,Ot=n=Qn(t.current,null),Nt=e,Ht=0,Ie=null,El=!1,Hi=ca(t,e),Kc=!1,qi=$e=Sr=ni=Tl=te=0,He=Va=null,Jc=!1,Wn=Gf(t,e),Mu(),n}function Fm(t,e){St=null,at.H=ir,e===Ni||e===Xu?(e=nd(),Ht=3):e===Zo?(e=nd(),Ht=4):Ht=e===Sc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ie=e,Ot===null&&(te=1,ar(t,un(e,t.current)))}function Im(){var t=be.current;return t===null?!0:(Nt&4194048)===Nt?Ae===null:(Nt&62914560)===Nt||(Nt&536870912)!==0?t===Ae:!1}function $m(){var t=at.H;return at.H=ir,t===null?ir:t}function Pm(){var t=at.A;return at.A=I1,t}function Cr(){te=4,El||(Nt&4194048)!==Nt&&be.current!==null||(Hi=!0),(Tl&134217727)===0&&(ni&134217727)===0||Xt===null||zl(Xt,Nt,$e,!1)}function Pc(t,e,n){var i=jt;jt|=2;var r=$m(),c=Pm();(Xt!==t||Nt!==e)&&(Tr=null,Qi(t,e)),e=!1;var m=te;t:do try{if(Ht!==0&&Ot!==null){var S=Ot,E=Ie;switch(Ht){case 8:$c(),m=6;break t;case 3:case 2:case 9:case 6:be.current===null&&(e=!0);var N=Ht;if(Ht=0,Ie=null,Zi(t,S,E,N),n&&Hi){m=0;break t}break;default:N=Ht,Ht=0,Ie=null,Zi(t,S,E,N)}}W1(),m=te;break}catch(R){Fm(t,R)}while(!0);return e&&t.shellSuspendCounter++,Kn=Xl=null,jt=i,at.H=r,at.A=c,Ot===null&&(Xt=null,Nt=0,Mu()),m}function W1(){for(;Ot!==null;)Wm(Ot)}function tv(t,e){var n=jt;jt|=2;var i=$m(),r=Pm();Xt!==t||Nt!==e?(Tr=null,Er=ge()+500,Qi(t,e)):Hi=ca(t,e);t:do try{if(Ht!==0&&Ot!==null){e=Ot;var c=Ie;e:switch(Ht){case 1:Ht=0,Ie=null,Zi(t,e,c,1);break;case 2:case 9:if(td(c)){Ht=0,Ie=null,tp(e);break}e=function(){Ht!==2&&Ht!==9||Xt!==t||(Ht=7),Rn(t)},c.then(e,e);break t;case 3:Ht=7;break t;case 4:Ht=5;break t;case 7:td(c)?(Ht=0,Ie=null,tp(e)):(Ht=0,Ie=null,Zi(t,e,c,7));break;case 5:var m=null;switch(Ot.tag){case 26:m=Ot.memoizedState;case 5:case 27:var S=Ot;if(m?Qp(m):S.stateNode.complete){Ht=0,Ie=null;var E=S.sibling;if(E!==null)Ot=E;else{var N=S.return;N!==null?(Ot=N,_r(N)):Ot=null}break e}}Ht=0,Ie=null,Zi(t,e,c,5);break;case 6:Ht=0,Ie=null,Zi(t,e,c,6);break;case 8:$c(),te=6;break t;default:throw Error(o(462))}}ev();break}catch(R){Fm(t,R)}while(!0);return Kn=Xl=null,at.H=i,at.A=r,jt=n,Ot!==null?0:(Xt=null,Nt=0,Mu(),te)}function ev(){for(;Ot!==null&&!Ul();)Wm(Ot)}function Wm(t){var e=pm(t.alternate,t,Wn);t.memoizedProps=t.pendingProps,e===null?_r(t):Ot=e}function tp(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=om(n,e,e.pendingProps,e.type,void 0,Nt);break;case 11:e=om(n,e,e.pendingProps,e.type.render,e.ref,Nt);break;case 5:ac(e);var i=e;i===he&&(At?(Hu(i),i.tag===5&&i.stateNode!=null&&(Kt=i.stateNode)):(Hu(i),At=!0));default:ym(n,e),e=Ot=Gh(e,Wn),e=pm(n,e,Wn)}t.memoizedProps=t.pendingProps,e===null?_r(t):Ot=e}function Zi(t,e,n,i){Kn=Xl=null,ac(e),Di=null,_a=0;var r=e.return;try{if(V1(t,r,e,n,Nt)){te=1,ar(t,un(n,t.current)),Ot=null;return}}catch(c){if(r!==null)throw Ot=r,c;te=1,ar(t,un(n,t.current)),Ot=null;return}e.flags&32768?(At||i===1?t=!0:Hi||(Nt&536870912)!==0?t=!1:(El=t=!0,(i===2||i===9||i===3||i===6)&&(i=be.current,i!==null&&i.tag===13&&(i.flags|=16384))),ep(e,t)):_r(e)}function _r(t){var e=t;do{if((e.flags&32768)!==0){ep(e,El);return}t=e.return;var n=Z1(e.alternate,e,Wn);if(n!==null){Ot=n;return}if(e=e.sibling,e!==null){Ot=e;return}Ot=e=t}while(e!==null);te===0&&(te=5)}function ep(t,e){do{var n=K1(t.alternate,t);if(n!==null){n.flags&=32767,Ot=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){Ot=t;return}Ot=t=n}while(t!==null);te=6,Ot=null}function np(t,e,n,i,r,c,m,S,E,N,R,Y){t.cancelPendingCommit=null;do Or();while(Pt!==0);if((jt&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));t===Xt&&(Ot=Xt=null,Nt=0),li=e,Sn=t,Mn=n,Ic=r,Qm=i,nv(t,e,n,m,S,E,Y)}}function nv(t,e,n,i,r,c,m){var S=e.lanes|e.childLanes;if(Fc=S,S|=Mo,O0(t,n,S,i,r,c),Vi=null,(n&335544064)===n?(Gi=N1(t),i=10262):(Gi=null,i=10256),(e.subtreeFlags&i)!==0||(e.flags&i)!==0?(t.callbackNode=null,t.callbackPriority=0,ov(gu,function(){return ns(),null})):(t.callbackNode=null,t.callbackPriority=0),dr=!1,i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=at.T,at.T=null,r=pt.p,pt.p=2,c=jt,jt|=4;try{J1(t,e,n)}finally{jt=c,pt.p=r,at.T=i}}Pt=1,dr?Yi=Ov(m,t.containerInfo,Gi,Wc,ts,iv,es,ns,lv):(Wc(),ts(),es())}function lv(t){if(Pt!==0){var e=Sn.onRecoverableError;e(t,{componentStack:null})}}function iv(){Pt===3&&(Pt=0,Bm(li,Sn),Pt=4)}function Wc(){if(Pt===1){Pt=0;var t=Sn,e=li,n=Mn,i=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||i){i=at.T,at.T=null;var r=pt.p;pt.p=2;var c=jt;jt|=4;try{Ha=gr=!1,jm(e,t,n),n=ms;var m=Mh(t.containerInfo),S=n.focusedElem,E=n.selectionRange;if(m!==S&&S&&S.ownerDocument&&kh(S.ownerDocument.documentElement,S)){if(E!==null&&Oo(S)){var N=E.start,R=E.end;if(R===void 0&&(R=N),"selectionStart"in S)S.selectionStart=N,S.selectionEnd=Math.min(R,S.value.length);else{var Y=S.ownerDocument||document,O=Y&&Y.defaultView||window;if(O.getSelection){var k=O.getSelection(),P=S.textContent.length,it=Math.min(E.start,P),xt=E.end===void 0?it:Math.min(E.end,P);!k.extend&&it>xt&&(m=xt,xt=it,it=m);var w=Dh(S,it),z=Dh(S,xt);if(w&&z&&(k.rangeCount!==1||k.anchorNode!==w.node||k.anchorOffset!==w.offset||k.focusNode!==z.node||k.focusOffset!==z.offset)){var D=Y.createRange();D.setStart(w.node,w.offset),k.removeAllRanges(),it>xt?(k.addRange(D),k.extend(z.node,z.offset)):(D.setEnd(z.node,z.offset),k.addRange(D))}}}}for(Y=[],k=S;k=k.parentNode;)k.nodeType===1&&Y.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<Y.length;S++){var q=Y[S];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}ta=!!ds,ms=ds=null}finally{jt=c,pt.p=r,at.T=i}}t.current=e,Pt=2}}function ts(){if(Pt===2){Pt=0;var t=Sn,e=li,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=at.T,at.T=null;var i=pt.p;pt.p=2;var r=jt;jt|=4;try{Nm(t,e.alternate,e)}finally{jt=r,pt.p=i,at.T=n}}Pt=3}}function es(){if(Pt===4||Pt===3){Pt=0;var t=Yi;Yi=null,pu();var e=Sn,n=li,i=Mn,r=Qm,c=(i&335544064)===i?10262:10256;if((n.subtreeFlags&c)!==0||(n.flags&c)!==0?Pt=5:(Pt=0,li=Sn=null,lp(e,e.pendingLanes)),c=e.pendingLanes,c===0&&(Al=null),co(i),n=n.stateNode,Xe&&typeof Xe.onCommitFiberRoot=="function")try{Xe.onCommitFiberRoot(oa,n,void 0,(n.current.flags&128)===128)}catch{}if(r!==null){n=at.T,c=pt.p,pt.p=2,at.T=null;try{for(var m=e.onRecoverableError,S=0;S<r.length;S++){var E=r[S];m(E.value,{componentStack:E.stack})}}finally{at.T=n,pt.p=c}}if(r=Vi,m=Gi,Gi=null,r!==null&&(Vi=null,m===null&&(m=[]),t!==null))for(E=0;E<r.length;E++)n=(0,r[E])(m),n!==void 0&&t.finished.finally(n);(Mn&3)!==0&&Or(),Rn(e),c=e.pendingLanes,(i&261930)!==0&&(c&42)!==0?e===Ar?Ga++:(Ga=0,Ar=e):(Ga=0,Ar=null),Xa(0)}}function lp(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Aa(e)))}function Or(){return Yi!==null&&(Yi.skipTransition(),Yi=null),Wc(),ts(),es(),ns()}function ns(){if(Pt!==5)return!1;var t=Sn,e=Fc;Fc=0;var n=co(Mn),i=at.T,r=pt.p;try{pt.p=32>n?32:n,at.T=null,n=Ic,Ic=null;var c=Sn,m=Mn;if(Pt=0,li=Sn=null,Mn=0,(jt&6)!==0)throw Error(o(331));var S=jt;if(jt|=4,Vm(c.current),Hm(c,c.current,m,n),jt=S,Xa(0,!1),Xe&&typeof Xe.onPostCommitFiberRoot=="function")try{Xe.onPostCommitFiberRoot(oa,c)}catch{}return!0}finally{pt.p=r,at.T=i,lp(t,e)}}function ip(t,e,n){e=un(n,e),e=bc(t.stateNode,e,2),t=gl(t,e,2),t!==null&&(sa(t,2),Rn(t))}function qt(t,e,n){if(t.tag===3)ip(t,t,n);else for(;e!==null;){if(e.tag===3){ip(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Al===null||!Al.has(i))){t=un(n,t),n=tm(2),i=gl(e,n,2),i!==null&&(em(n,i,e,t),sa(i,2),Rn(i));break}}e=e.return}}function ls(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new $1;var r=new Set;i.set(e,r)}else r=i.get(e),r===void 0&&(r=new Set,i.set(e,r));r.has(n)||(Kc=!0,r.add(n),t=av.bind(null,t,e,n),e.then(t,t))}function av(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Xt===t&&(Nt&n)===n&&((te===4||te===3&&(Nt&62914560)===Nt&&300>ge()-xr)&&(jt&2)===0?Qi(t,0):Sr|=n,qi===Nt&&(qi=0)),Rn(t)}function ap(t,e){e===0&&(e=Xf()),t=Yl(t,e),t!==null&&(sa(t,e),Rn(t))}function uv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),ap(t,n)}function rv(t,e){var n=0;switch(t.tag){case 31:case 13:var i=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(e),ap(t,n)}function ov(t,e){return Ln(t,e)}var Ki=null,Ji=null,is=!1,wr=!1,as=!1,Cl=0;function Rn(t){t!==Ji&&t.next===null&&(Ji===null?Ki=Ji=t:Ji=Ji.next=t),wr=!0,is||(is=!0,sv())}function Xa(t,e){if(!as&&wr){as=!0;do for(var n=!1,i=Ki;i!==null;){if(t!==0){var r=i.pendingLanes;if(r===0)var c=0;else{var m=i.suspendedLanes,S=i.pingedLanes;c=(1<<31-Qe(42|t)+1)-1,c&=r&~(m&~S),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,cp(i,c))}else c=Nt,c=Su(i,i===Xt?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(c&3)===0||ca(i,c)||(n=!0,cp(i,c));i=i.next}while(n);as=!1}}function cv(){up()}function up(){wr=is=!1;var t=0;Cl!==0&&xv()&&(t=Cl);for(var e=ge(),n=null,i=Ki;i!==null;){var r=i.next,c=rp(i,e);c===0?(i.next=null,n===null?Ki=r:n.next=r,r===null&&(Ji=n)):(n=i,(t!==0||(c&3)!==0)&&(wr=!0)),i=r}Pt!==0&&Pt!==5||Xa(t),Cl!==0&&(Cl=0)}function rp(t,e){for(var n=t.suspendedLanes,i=t.pingedLanes,r=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var m=31-Qe(c),S=1<<m,E=r[m];E===-1?((S&n)===0||(S&i)!==0)&&(r[m]=_0(S,e)):E<=e&&(t.expiredLanes|=S),c&=~S}if(e=Xt,n=Nt,n=Su(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,n===0||t===e&&(Ht===2||Ht===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&Bn(i),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||ca(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(i!==null&&Bn(i),co(n)){case 2:case 8:n=nn;break;case 32:n=gu;break;case 268435456:n=Vf;break;default:n=gu}return i=op.bind(null,t),n=Ln(n,i),t.callbackPriority=e,t.callbackNode=n,e}return i!==null&&i!==null&&Bn(i),t.callbackPriority=2,t.callbackNode=null,2}function op(t,e){if(Pt!==0&&Pt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Or()&&t.callbackNode!==n)return null;var i=Nt;return i=Su(t,t===Xt?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0?null:(Km(t,i,e),rp(t,ge()),t.callbackNode!=null&&t.callbackNode===n?op.bind(null,t):null)}function cp(t,e){if(Or())return null;Km(t,e,!0)}function sv(){Tv(function(){(jt&6)!==0?Ln(Hn,cv):up()})}function us(){if(Cl===0){var t=Kl;t===0&&(t=yu,yu<<=1,(yu&261888)===0&&(yu=256)),Cl=t}return Cl}function sp(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:zu(t)}function fv(t,e,n,i,r){if(e==="submit"&&n&&n.stateNode===r){var c=sp((r[Ue]||null).action),m=i.submitter;m&&(e=(e=m[Ue]||null)?sp(e.formAction):m.getAttribute("formAction"),e!==null&&(c=e,m=null));var S=new wu("action","action",null,i,r);t.push({event:S,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Cl!==0){var E=new FormData(r,m);mc(n,{pending:!0,data:E,method:r.method,action:c},null,E)}}else typeof c=="function"&&(S.preventDefault(),E=new FormData(r,m),mc(n,{pending:!0,data:E,method:r.method,action:c},c,E))},currentTarget:r}]})}}for(var rs=0;rs<ko.length;rs++){var os=ko[rs],hv=os.toLowerCase(),dv=os[0].toUpperCase()+os.slice(1);gn(hv,"on"+dv)}gn(jh,"onAnimationEnd"),gn(Lh,"onAnimationIteration"),gn(Bh,"onAnimationStart"),gn("dblclick","onDoubleClick"),gn("focusin","onFocus"),gn("focusout","onBlur"),gn(E1,"onTransitionRun"),gn(T1,"onTransitionStart"),gn(A1,"onTransitionCancel"),gn(Hh,"onTransitionEnd"),gi("onMouseEnter",["mouseout","mouseover"]),gi("onMouseLeave",["mouseout","mouseover"]),gi("onPointerEnter",["pointerout","pointerover"]),gi("onPointerLeave",["pointerout","pointerover"]),Bl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Bl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Bl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Bl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Bl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qa="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(" "),mv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qa));function fp(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],r=i.event;i=i.listeners;t:{var c=void 0;if(e)for(var m=i.length-1;0<=m;m--){var S=i[m],E=S.instance,N=S.currentTarget;if(S=S.listener,E!==c&&r.isPropagationStopped())break t;c=S,r.currentTarget=N;try{c(r)}catch(R){ku(R)}r.currentTarget=null,c=E}else for(m=0;m<i.length;m++){if(S=i[m],E=S.instance,N=S.currentTarget,S=S.listener,E!==c&&r.isPropagationStopped())break t;c=S,r.currentTarget=N;try{c(r)}catch(R){ku(R)}r.currentTarget=null,c=E}}}}function wt(t,e){var n=e[If];n===void 0&&(n=e[If]=new Set);var i=t+"__bubble";n.has(i)||(hp(e,t,2,!1),n.add(i))}function cs(t,e,n){var i=0;e&&(i|=4),hp(n,t,i,e)}var Nr="_reactListening"+Math.random().toString(36).slice(2);function ss(t){if(!t[Nr]){t[Nr]=!0,Wf.forEach(function(n){n!=="selectionchange"&&(mv.has(n)||cs(n,!1,t),cs(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Nr]||(e[Nr]=!0,cs("selectionchange",!1,e))}}function hp(t,e,n,i){switch(eg(e)){case 2:var r=ub;break;case 8:r=rb;break;default:r=Ns}n=r.bind(null,e,n,t),r=void 0,!vo||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(r=!0),i?r!==void 0?t.addEventListener(e,n,{capture:!0,passive:r}):t.addEventListener(e,n,!0):r!==void 0?t.addEventListener(e,n,{passive:r}):t.addEventListener(e,n,!1)}function fs(t,e,n,i,r){var c=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var m=i.tag;if(m===3||m===4){var S=i.stateNode.containerInfo;if(S===r)break;if(m===4)for(m=i.return;m!==null;){var E=m.tag;if((E===3||E===4)&&m.stateNode.containerInfo===r)return;m=m.return}for(;S!==null;){if(m=Ll(S),m===null)return;if(E=m.tag,E===5||E===6||E===26||E===27){i=c=m;continue t}S=S.parentNode}}i=i.return}hh(function(){var N=c,R=go(n),Y=[];t:{var O=qh.get(t);if(O!==void 0){var k=wu,P=t;switch(t){case"keypress":if(_u(n)===0)break t;case"keydown":case"keyup":k=P0;break;case"focusin":P="focus",k=Eo;break;case"focusout":P="blur",k=Eo;break;case"beforeblur":case"afterblur":k=Eo;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=ph;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=q0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=l1;break;case jh:case Lh:case Bh:k=G0;break;case Hh:k=a1;break;case"scroll":case"scrollend":k=B0;break;case"wheel":k=r1;break;case"copy":case"cut":case"paste":k=Q0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=yh;break;case"submit":k=e1;break;case"toggle":case"beforetoggle":k=c1}var it=(e&4)!==0,xt=!it&&(t==="scroll"||t==="scrollend"),w=it?O!==null?O+"Capture":null:O;it=[];for(var z=N,D;z!==null;){var q=z;if(D=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||D===null||w===null||(q=da(z,w),q!=null&&it.push(Za(z,q,D))),xt)break;z=z.return}0<it.length&&(O=new k(O,P,null,n,R),Y.push({event:O,listeners:it}))}}if((e&7)===0){t:{if(k=t==="mouseover"||t==="pointerover",O=t==="mouseout"||t==="pointerout",k&&n!==po&&(P=n.relatedTarget||n.fromElement)&&(Ll(P)||P[di]))break t;(O||k)&&(P=R.window===R?R:(k=R.ownerDocument)?k.defaultView||k.parentWindow:window,O?(k=n.relatedTarget||n.toElement,O=N,k=k?Ll(k):null,k!==null&&(xt=h(k),it=k.tag,k!==xt||it!==5&&it!==27&&it!==6)&&(k=null)):(O=null,k=N),O!==k&&(it=ph,q="onMouseLeave",w="onMouseEnter",z="mouse",(t==="pointerout"||t==="pointerover")&&(it=yh,q="onPointerLeave",w="onPointerEnter",z="pointer"),xt=O==null?P:ha(O),D=k==null?P:ha(k),P=new it(q,z+"leave",O,n,R),P.target=xt,P.relatedTarget=D,q=null,Ll(R)===N&&(it=new it(w,z+"enter",k,n,R),it.target=D,it.relatedTarget=xt,q=it),xt=q,it=O&&k?H(O,k,pv):null,O!==null&&dp(Y,P,O,it,!1),k!==null&&xt!==null&&dp(Y,xt,k,it,!0)))}t:{if(O=N?ha(N):window,k=O.nodeName&&O.nodeName.toLowerCase(),k==="select"||k==="input"&&O.type==="file")var nt=zh;else if(Th(O))if(Ch)nt=b1;else{nt=y1;var Dt=g1}else k=O.nodeName,!k||k.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?N&&mo(N.elementType)&&(nt=zh):nt=v1;if(nt&&(nt=nt(t,N))){Ah(Y,nt,n,R);break t}Dt&&Dt(t,O,N)}switch(Dt=N?ha(N):window,t){case"focusin":(Th(Dt)||Dt.contentEditable==="true")&&(Ei=Dt,wo=N,xa=null);break;case"focusout":xa=wo=Ei=null;break;case"mousedown":No=!0;break;case"contextmenu":case"mouseup":case"dragend":No=!1,Rh(Y,n,R);break;case"selectionchange":if(x1)break;case"keydown":case"keyup":Rh(Y,n,R)}var ft;if(Ao)t:{switch(t){case"compositionstart":var mt="onCompositionStart";break t;case"compositionend":mt="onCompositionEnd";break t;case"compositionupdate":mt="onCompositionUpdate";break t}mt=void 0}else xi?xh(t,n)&&(mt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(mt="onCompositionStart");mt&&(vh&&n.locale!=="ko"&&(xi||mt!=="onCompositionStart"?mt==="onCompositionEnd"&&xi&&(ft=dh()):(rl=R,bo="value"in rl?rl.value:rl.textContent,xi=!0)),Dt=Dr(N,mt),0<Dt.length&&(mt=new gh(mt,t,null,n,R),Y.push({event:mt,listeners:Dt}),ft?mt.data=ft:(ft=Eh(n),ft!==null&&(mt.data=ft)))),(ft=f1?h1(t,n):d1(t,n))&&(mt=Dr(N,"onBeforeInput"),0<mt.length&&(Dt=new gh("onBeforeInput","beforeinput",null,n,R),Y.push({event:Dt,listeners:mt}),Dt.data=ft)),fv(Y,t,N,n,R)}fp(Y,e)})}function Za(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Dr(t,e){for(var n=e+"Capture",i=[];t!==null;){var r=t,c=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||c===null||(r=da(t,n),r!=null&&i.unshift(Za(t,r,c)),r=da(t,e),r!=null&&i.push(Za(t,r,c))),t.tag===3)return i;t=t.return}return[]}function pv(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function dp(t,e,n,i,r){for(var c=e._reactName,m=[];n!==null&&n!==i;){var S=n,E=S.alternate,N=S.stateNode;if(S=S.tag,E!==null&&E===i)break;S!==5&&S!==26&&S!==27||N===null||(E=N,r?(N=da(n,c),N!=null&&m.unshift(Za(n,N,E))):r||(N=da(n,c),N!=null&&m.push(Za(n,N,E)))),n=n.return}m.length!==0&&t.push({event:e,listeners:m})}var gv=/\r\n?/g,yv=/\u0000|\uFFFD/g;function mp(t){return(typeof t=="string"?t:""+t).replace(gv,`
49
- `).replace(yv,"")}function pp(t,e){return e=mp(e),mp(t)===e}function Yt(t,e,n,i,r,c){switch(n){case"children":if(typeof i=="string")e==="body"||e==="textarea"&&i===""||vi(t,i);else if(typeof i=="number"||typeof i=="bigint")e!=="body"&&vi(t,""+i);else return;break;case"className":Au(t,"class",i);break;case"tabIndex":Au(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Au(t,n,i);break;case"style":sh(t,i,c);return;case"data":if(e!=="object"){Au(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=zu(i),t.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){t.setAttribute(n,"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 c=="function"&&(n==="formAction"?(e!=="input"&&Yt(t,e,"name",r.name,r,null),Yt(t,e,"formEncType",r.formEncType,r,null),Yt(t,e,"formMethod",r.formMethod,r,null),Yt(t,e,"formTarget",r.formTarget,r,null)):(Yt(t,e,"encType",r.encType,r,null),Yt(t,e,"method",r.method,r,null),Yt(t,e,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=zu(i),t.setAttribute(n,i);break;case"onClick":i!=null&&(t.onclick=An);return;case"onScroll":i!=null&&wt("scroll",t);return;case"onScrollEnd":i!=null&&wt("scrollend",t);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(o(60));(c!=null?c.__html:void 0)!==n&&(t.innerHTML=n)}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){t.removeAttribute("xlink:href");break}n=zu(i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":i===!0?t.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(n,i):t.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(n):t.setAttribute(n,i);break;case"popover":wt("beforetoggle",t),wt("toggle",t),Tu(t,"popover",i);break;case"xlinkActuate":Yn(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Yn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Yn(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Yn(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Yn(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Yn(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Tu(t,"is",i);break;case"innerText":case"textContent":return;default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=j0.get(n)||n,Tu(t,n,i);else return}Rt=!0}function hs(t,e,n,i,r,c){switch(n){case"style":sh(t,i,c);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(o(60));(c!=null?c.__html:void 0)!==n&&(t.innerHTML=n)}}break;case"children":if(typeof i=="string")vi(t,i);else if(typeof i=="number"||typeof i=="bigint")vi(t,""+i);else return;break;case"onScroll":i!=null&&wt("scroll",t);return;case"onScrollEnd":i!=null&&wt("scrollend",t);return;case"onClick":i!=null&&(t.onclick=An);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!th.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),c=n.slice(2,r?n.length-7:void 0),e=t[Ue]||null,e=e!=null?e[n]:null,typeof e=="function"&&t.removeEventListener(c,e,r),typeof i=="function")){typeof e!="function"&&e!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(c,i,r);break t}Rt=!0,n in t?t[n]=i:i===!0?t.setAttribute(n,""):Tu(t,n,i)}return}Rt=!0}function Ee(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":wt("error",t),wt("load",t);var i=!1,r=!1,c;for(c in n)if(n.hasOwnProperty(c)){var m=n[c];if(m!=null)switch(c){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Yt(t,e,c,m,n,null)}}r&&Yt(t,e,"srcSet",n.srcSet,n,null),i&&Yt(t,e,"src",n.src,n,null);return;case"input":wt("invalid",t);var S=c=m=r=null,E=null,N=null;for(i in n)if(n.hasOwnProperty(i)){var R=n[i];if(R!=null)switch(i){case"name":r=R;break;case"type":m=R;break;case"checked":E=R;break;case"defaultChecked":N=R;break;case"value":c=R;break;case"defaultValue":S=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,e));break;default:Yt(t,e,i,R,n,null)}}uh(t,c,S,E,N,m,r,!1);return;case"select":wt("invalid",t),i=m=c=null;for(r in n)if(n.hasOwnProperty(r)&&(S=n[r],S!=null))switch(r){case"value":c=S;break;case"defaultValue":m=S;break;case"multiple":i=S;default:Yt(t,e,r,S,n,null)}e=c,n=m,t.multiple=!!i,e!=null?yi(t,!!i,e,!1):n!=null&&yi(t,!!i,n,!0);return;case"textarea":wt("invalid",t),c=r=i=null;for(m in n)if(n.hasOwnProperty(m)&&(S=n[m],S!=null))switch(m){case"value":i=S;break;case"defaultValue":r=S;break;case"children":c=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(91));break;default:Yt(t,e,m,S,n,null)}oh(t,i,r,c);return;case"option":for(E in n)if(n.hasOwnProperty(E)&&(i=n[E],i!=null))switch(E){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Yt(t,e,E,i,n,null)}return;case"dialog":wt("beforetoggle",t),wt("toggle",t),wt("cancel",t),wt("close",t);break;case"iframe":case"object":wt("load",t);break;case"video":case"audio":for(i=0;i<Qa.length;i++)wt(Qa[i],t);break;case"image":wt("error",t),wt("load",t);break;case"details":wt("toggle",t);break;case"embed":case"source":case"link":wt("error",t),wt("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(N in n)if(n.hasOwnProperty(N)&&(i=n[N],i!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Yt(t,e,N,i,n,null)}return;default:if(mo(e)){for(R in n)n.hasOwnProperty(R)&&(i=n[R],i!==void 0&&hs(t,e,R,i,n,void 0));return}}for(S in n)n.hasOwnProperty(S)&&(i=n[S],i!=null&&Yt(t,e,S,i,n,null))}var vv={};function bv(t,e,n,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,c=null,m=null,S=null,E=null,N=null,R=null;for(k in n){var Y=n[k];if(n.hasOwnProperty(k)&&Y!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":E=Y;default:i.hasOwnProperty(k)||Yt(t,e,k,null,i,Y)}}for(var O in i){var k=i[O];if(Y=n[O],i.hasOwnProperty(O)&&(k!=null||Y!=null))switch(O){case"type":k!==Y&&(Rt=!0),c=k;break;case"name":k!==Y&&(Rt=!0),r=k;break;case"checked":k!==Y&&(Rt=!0),N=k;break;case"defaultChecked":k!==Y&&(Rt=!0),R=k;break;case"value":k!==Y&&(Rt=!0),m=k;break;case"defaultValue":k!==Y&&(Rt=!0),S=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(o(137,e));break;default:k!==Y&&Yt(t,e,O,k,i,Y)}}fo(t,m,S,E,N,R,c,r);return;case"select":k=m=S=O=null;for(c in n)if(E=n[c],n.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":k=E;default:i.hasOwnProperty(c)||Yt(t,e,c,null,i,E)}for(r in i)if(c=i[r],E=n[r],i.hasOwnProperty(r)&&(c!=null||E!=null))switch(r){case"value":c!==E&&(Rt=!0),O=c;break;case"defaultValue":c!==E&&(Rt=!0),S=c;break;case"multiple":c!==E&&(Rt=!0),m=c;default:c!==E&&Yt(t,e,r,c,i,E)}e=S,n=m,i=k,O!=null?yi(t,!!n,O,!1):!!i!=!!n&&(e!=null?yi(t,!!n,e,!0):yi(t,!!n,n?[]:"",!1));return;case"textarea":k=O=null;for(S in n)if(r=n[S],n.hasOwnProperty(S)&&r!=null&&!i.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Yt(t,e,S,null,i,r)}for(m in i)if(r=i[m],c=n[m],i.hasOwnProperty(m)&&(r!=null||c!=null))switch(m){case"value":r!==c&&(Rt=!0),O=r;break;case"defaultValue":r!==c&&(Rt=!0),k=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(o(91));break;default:r!==c&&Yt(t,e,m,r,i,c)}rh(t,O,k);return;case"option":for(var P in n)if(O=n[P],n.hasOwnProperty(P)&&O!=null&&!i.hasOwnProperty(P))switch(P){case"selected":t.selected=!1;break;default:Yt(t,e,P,null,i,O)}for(E in i)if(O=i[E],k=n[E],i.hasOwnProperty(E)&&O!==k&&(O!=null||k!=null))switch(E){case"selected":O!==k&&(Rt=!0),t.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:Yt(t,e,E,O,i,k)}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 it in n)O=n[it],n.hasOwnProperty(it)&&O!=null&&!i.hasOwnProperty(it)&&Yt(t,e,it,null,i,O);for(N in i)if(O=i[N],k=n[N],i.hasOwnProperty(N)&&O!==k&&(O!=null||k!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(o(137,e));break;default:Yt(t,e,N,O,i,k)}return;default:if(mo(e)){for(var xt in n)O=n[xt],n.hasOwnProperty(xt)&&O!==void 0&&!i.hasOwnProperty(xt)&&hs(t,e,xt,void 0,i,O);for(R in i)O=i[R],k=n[R],!i.hasOwnProperty(R)||O===k||O===void 0&&k===void 0||hs(t,e,R,O,i,k);return}}for(var w in n)O=n[w],n.hasOwnProperty(w)&&O!=null&&!i.hasOwnProperty(w)&&Yt(t,e,w,null,i,O);for(Y in i)O=i[Y],k=n[Y],!i.hasOwnProperty(Y)||O===k||O==null&&k==null||Yt(t,e,Y,O,i,k)}function gp(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Sv(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var r=n[i],c=r.transferSize,m=r.initiatorType,S=r.duration;if(c&&S&&gp(m)){for(m=0,S=r.responseEnd,i+=1;i<n.length;i++){var E=n[i],N=E.startTime;if(N>S)break;var R=E.transferSize,Y=E.initiatorType;R&&gp(Y)&&(E=E.responseEnd,m+=R*(E<S?1:(S-N)/(E-N)))}if(--i,e+=8*(c+m)/(r.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var ds=null,ms=null;function Ka(t){return t.nodeType===9?t:t.ownerDocument}function yp(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 vp(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function bp(t,e,n,i){return n=Ka(n).createElement(t),n[ye]=i,n[Ue]=e,Ee(n,t,e),fe(n),n}function ps(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var gs=null;function xv(){var t=window.event;return t&&t.type==="popstate"?t===gs?!1:(gs=t,!0):(gs=null,!1)}var ys=typeof setTimeout=="function"?setTimeout:void 0,Ev=typeof clearTimeout=="function"?clearTimeout:void 0,Sp=typeof Promise=="function"?Promise:void 0,xp=typeof requestAnimationFrame=="function"?requestAnimationFrame:ys,Tv=typeof queueMicrotask=="function"?queueMicrotask:typeof Sp<"u"?function(t){return Sp.resolve(null).then(t).catch(Av)}:ys;function Av(t){setTimeout(function(){throw t})}function _l(t){return t==="head"}function Ep(t,e){var n=e,i=0;do{var r=n.nextSibling;if(t.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(i===0){t.removeChild(r),ea(e);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")zs(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,zs(n);for(var c=n.firstChild;c;){var m=c.nextSibling,S=c.nodeName;c[fa]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=m}}else n==="body"&&zs(t.ownerDocument.body);n=r}while(n);ea(e)}function Tp(t,e){var n=t;t=0;do{var i=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=i}while(n)}function Ap(t,e,n){if(e=CSS.escape(e)!==e?"r-"+btoa(e).replace(/=/g,""):e,t.style.viewTransitionName=e,n!=null&&(t.style.viewTransitionClass=n),n=getComputedStyle(t),n.display==="inline"){if(e=t.getClientRects(),e.length===1)var i=1;else for(var r=i=0;r<e.length;r++){var c=e[r];0<c.width&&0<c.height&&i++}i===1&&(t=t.style,t.display=e.length===1?"inline-block":"block",t.marginTop="-"+n.paddingTop,t.marginBottom="-"+n.paddingBottom)}}function zp(t,e){t=t.style,e=e.style;var n=e!=null?e.hasOwnProperty("viewTransitionName")?e.viewTransitionName:e.hasOwnProperty("view-transition-name")?e["view-transition-name"]:null:null;t.viewTransitionName=n==null||typeof n=="boolean"?"":(""+n).trim(),n=e!=null?e.hasOwnProperty("viewTransitionClass")?e.viewTransitionClass:e.hasOwnProperty("view-transition-class")?e["view-transition-class"]:null:null,t.viewTransitionClass=n==null||typeof n=="boolean"?"":(""+n).trim(),t.display==="inline-block"&&(e==null?t.display=t.margin="":(n=e.display,t.display=n==null||typeof n=="boolean"?"":n,n=e.margin,n!=null?t.margin=n:(n=e.hasOwnProperty("marginTop")?e.marginTop:e["margin-top"],t.marginTop=n==null||typeof n=="boolean"?"":n,e=e.hasOwnProperty("marginBottom")?e.marginBottom:e["margin-bottom"],t.marginBottom=e==null||typeof e=="boolean"?"":e)))}function zv(t,e,n){return n=n.ownerDocument.defaultView,{rect:t,abs:e.position==="absolute"||e.position==="fixed",clip:e.clipPath!=="none"||e.overflow!=="visible"||e.filter!=="none"||e.mask!=="none"||e.mask!=="none"||e.borderRadius!=="0px",view:0<=t.bottom&&0<=t.right&&t.top<=n.innerHeight&&t.left<=n.innerWidth}}function vs(t){var e=t.getBoundingClientRect(),n=getComputedStyle(t);return zv(e,n,t)}function Cv(t){return t.documentElement.clientHeight}function _v(t){this.addEventListener("load",t),this.addEventListener("error",t)}function Ov(t,e,n,i,r,c,m,S,E){var N=e.nodeType===9?e:e.ownerDocument;try{var R=N.startViewTransition({update:function(){var O=N.defaultView,k=O.navigation&&O.navigation.transition,P=N.fonts.status;i();var it=[];if(P==="loaded"&&(Cv(N),N.fonts.status==="loading"&&it.push(N.fonts.ready)),P=it.length,t!==null)for(var xt=t.suspenseyImages,w=0,z=0;z<xt.length;z++){var D=xt[z];if(!D.complete){var q=D.getBoundingClientRect();if(0<q.bottom&&0<q.right&&q.top<O.innerHeight&&q.left<O.innerWidth){if(w+=Zp(D),w>Rr){it.length=P;break}D=new Promise(_v.bind(D)),it.push(D)}}}if(0<it.length)return O=Promise.race([Promise.all(it),new Promise(function(nt){return setTimeout(nt,500)})]).then(r,r),(k?Promise.allSettled([k.finished,O]):O).then(c,c);if(r(),k)return k.finished.then(c,c);c()},types:n});N.__reactViewTransition=R;var Y=[];return R.ready.then(function(){for(var O=N.documentElement.getAnimations({subtree:!0}),k=0;k<O.length;k++){var P=O[k],it=P.effect,xt=it.pseudoElement;if(xt!=null&&xt.startsWith("::view-transition")){Y.push(P),P=it.getKeyframes();for(var w=xt=void 0,z=!0,D=0;D<P.length;D++){var q=P[D],nt=q.width;if(xt===void 0)xt=nt;else if(xt!==nt){z=!1;break}if(nt=q.height,w===void 0)w=nt;else if(w!==nt){z=!1;break}delete q.width,delete q.height,q.transform==="none"&&delete q.transform}z&&xt!==void 0&&w!==void 0&&(it.setKeyframes(P),z=getComputedStyle(it.target,it.pseudoElement),z.width!==xt||z.height!==w)&&(z=P[0],z.width=xt,z.height=w,z=P[P.length-1],z.width=xt,z.height=w,it.setKeyframes(P))}}m()},function(O){N.__reactViewTransition===R&&(N.__reactViewTransition=null);try{if(typeof O=="object"&&O!==null)switch(O.name){case"InvalidStateError":(O.message==="View transition was skipped because document visibility state is hidden."||O.message==="Skipping view transition because document visibility state has become hidden."||O.message==="Skipping view transition because viewport size changed."||O.message==="Transition was aborted because of invalid state")&&(O=null)}O!==null&&E(O)}finally{i(),r(),m()}}),R.finished.finally(function(){for(var O=0;O<Y.length;O++)Y[O].cancel();N.__reactViewTransition===R&&(N.__reactViewTransition=null),S()}),R}catch{return i(),r(),m(),null}}function ii(t,e){this._scope=document.documentElement,this._selector="::view-transition-"+t+"("+e+")"}ii.prototype.animate=function(t,e){return e=typeof e=="number"?{duration:e}:F({},e),e.pseudoElement=this._selector,this._scope.animate(t,e)},ii.prototype.getAnimations=function(){for(var t=this._scope,e=this._selector,n=t.getAnimations({subtree:!0}),i=[],r=0;r<n.length;r++){var c=n[r].effect;c!==null&&c.target===t&&c.pseudoElement===e&&i.push(n[r])}return i},ii.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Cp(t){return{name:t,group:new ii("group",t),imagePair:new ii("image-pair",t),old:new ii("old",t),new:new ii("new",t)}}function We(t){this._fragmentFiber=t,this._observers=this._eventListeners=null}We.prototype.addEventListener=function(t,e,n){var i=null,r=null;if(!(n!=null&&typeof n!="boolean"&&(i=n.signal||null,i!==null&&i.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var c=this._eventListeners;if(Op(c,t,e,n)===-1){var m=this,S=e;n!=null&&typeof n!="boolean"&&n.once===!0&&(S=function(E){m.removeEventListener(t,e,n),typeof e=="function"?e.call(this,E):e.handleEvent(E)}),i!==null&&(r=m.removeEventListener.bind(m,t,e,n),i.addEventListener("abort",r,{once:!0}),r=i.removeEventListener.bind(i,"abort",r)),i=Fi(n),c.push({type:t,listener:e,optionsOrUseCapture:n,attachedListener:S,cleanup:r}),p(this._fragmentFiber.child,!1,wv,t,S,i)}this._eventListeners=c}};function wv(t,e,n,i){return B(t).addEventListener(e,n,i),!1}We.prototype.removeEventListener=function(t,e,n){var i=this._eventListeners;if(i!==null&&(e=Op(i,t,e,n),e!==-1)){var r=i[e];n=r.attachedListener;var c=r.cleanup;r=Fi(r.optionsOrUseCapture),p(this._fragmentFiber.child,!1,Nv,t,n,r),i.splice(e,1),c!==null&&c()}};function Nv(t,e,n,i){return B(t).removeEventListener(e,n,i),!1}function Fi(t){return t!=null&&typeof t!="boolean"&&(t.once===!0||t.signal instanceof AbortSignal)?{capture:t.capture,passive:t.passive}:t}function _p(t){return t==null?"c=0":typeof t=="boolean"?"c="+(t?"1":"0"):"c="+(t.capture?"1":"0")}function Op(t,e,n,i){if(t.length===0)return-1;i=_p(i);for(var r=0;r<t.length;r++){var c=t[r];if(c.type===e&&c.listener===n&&_p(c.optionsOrUseCapture)===i)return r}return-1}We.prototype.dispatchEvent=function(t){var e=x(this._fragmentFiber);if(e===null)return!0;e=B(e);var n=this._eventListeners;if(n!==null&&0<n.length||!t.bubbles){var i=e.nodeType===9?e.createComment(""):document.createTextNode("");if(n)for(var r=0;r<n.length;r++){var c=n[r];i.addEventListener(c.type,c.attachedListener,Fi(c.optionsOrUseCapture))}if(e.appendChild(i),t=i.dispatchEvent(t),n)for(r=0;r<n.length;r++)c=n[r],i.removeEventListener(c.type,c.attachedListener,Fi(c.optionsOrUseCapture));return e.removeChild(i),t}return e.dispatchEvent(t)},We.prototype.focus=function(t){p(this._fragmentFiber.child,!0,wp,t,void 0,void 0)};function wp(t,e){return t.tag===6?!1:(t=B(t),Vv(t,e))}We.prototype.focusLast=function(t){var e=[];p(this._fragmentFiber.child,!0,bs,e,void 0,void 0);for(var n=e.length-1;0<=n&&!wp(e[n],t);n--);};function bs(t,e){return e.push(t),!1}We.prototype.blur=function(){var t=x(this._fragmentFiber);t!==null&&(t=B(t),t=Ka(t).activeElement,t!==null&&p(this._fragmentFiber.child,!1,Dv,t,void 0,void 0))};function Dv(t,e){return t.tag===6?!1:(t=B(t),t===e||t.contains(e)?(e.blur(),!0):!1)}We.prototype.observeUsing=function(t){this._observers===null&&(this._observers=new Set),this._observers.add(t),p(this._fragmentFiber.child,!1,kv,t,void 0,void 0)};function kv(t,e){return t.tag===6||(t=B(t),e.observe(t)),!1}We.prototype.unobserveUsing=function(t){var e=this._observers;if(e!==null&&e.has(t)){e.delete(t),p(this._fragmentFiber.child,!1,Mv,t,void 0,void 0);for(var n=e=0;n<xn.length;n++){var i=xn[n];i.fragmentInstance===this&&i.observer===t?t.unobserve(i.instance):xn[e++]=i}xn.length=e}};function Mv(t,e){return t.tag===6||(t=B(t),e.unobserve(t)),!1}var xn=[],Ss=!1;function Rv(t,e,n){xn.push({fragmentInstance:t,observer:e,instance:n}),Ss||(Ss=!0,Gv(function(){Ss=!1;var i=xn;xn=[];for(var r=0;r<i.length;r++){var c=i[r];c.observer.unobserve(c.instance)}}))}We.prototype.getClientRects=function(){var t=[];return p(this._fragmentFiber.child,!1,Uv,t,void 0,void 0),t};function Uv(t,e){if(t.tag===6){t=t.stateNode;var n=t.ownerDocument.createRange();n.selectNodeContents(t),e.push.apply(e,n.getClientRects())}else t=B(t),e.push.apply(e,t.getClientRects());return!1}We.prototype.getRootNode=function(t){var e=x(this._fragmentFiber);return e===null?this:B(e).getRootNode(t)},We.prototype.compareDocumentPosition=function(t){var e=x(this._fragmentFiber);if(e===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];p(this._fragmentFiber.child,!1,bs,n,void 0,void 0);var i=B(e);if(n.length===0){if(n=i,b(this._fragmentFiber)){t:{for(e=this._fragmentFiber.return;e!==null;){if(e.tag===4){e=e.stateNode.containerInfo;break t}if(e.tag===3||e.tag===5||e.tag===27)break;e=e.return}e=null}e!=null&&(n=e)}e=this._fragmentFiber;var r=i=n.compareDocumentPosition(t);return n===t?r=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=A(e)[1],n===null?r=Node.DOCUMENT_POSITION_PRECEDING:(t=B(n).compareDocumentPosition(t),r=t===0||t&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),r|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}e=B(n[0]),r=B(n[n.length-1]);var c=b(this._fragmentFiber)?e.parentElement:i;if(c==null)return Node.DOCUMENT_POSITION_DISCONNECTED;i=c.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY,c=c.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY;var m=e.compareDocumentPosition(t),S=r.compareDocumentPosition(t),E=m&Node.DOCUMENT_POSITION_CONTAINED_BY||S&Node.DOCUMENT_POSITION_CONTAINED_BY;return S=i&&c&&m&Node.DOCUMENT_POSITION_FOLLOWING&&S&Node.DOCUMENT_POSITION_PRECEDING,e=i&&e===t||c&&r===t||E||S?Node.DOCUMENT_POSITION_CONTAINED_BY:!i&&e===t||!c&&r===t?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:m,e&Node.DOCUMENT_POSITION_DISCONNECTED||e&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||jv(e,this._fragmentFiber,n[0],n[n.length-1],t)?e:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function jv(t,e,n,i,r){var c=Ll(r);if(t&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!c)t:{for(;c!==null;){if(c.tag===7&&(c===e||c.alternate===e)){n=!0;break t}c=c.return}n=!1}return n}if(t&Node.DOCUMENT_POSITION_CONTAINS){if(c===null)return c=r.ownerDocument,r===c||r===c.documentElement||r===c.body;t:{for(c=e,e=x(e);c!==null;){if(!(c.tag!==5&&c.tag!==3&&c.tag!==27||c!==e&&c.alternate!==e)){c=!0;break t}c=c.return}c=!1}return c}return t&Node.DOCUMENT_POSITION_PRECEDING?((e=!!c)&&!(e=c===n)&&(e=H(n,c,rt),e===null?e=!1:(p(e,!0,Q,c,n),c=M,M=null,e=c!==null)),e):t&Node.DOCUMENT_POSITION_FOLLOWING?((e=!!c)&&!(e=c===i)&&(e=H(i,c,rt),e===null?e=!1:(p(e,!0,st,c,i),c=M,V=M=null,e=c!==null)),e):!1}function Np(t,e){var n=t.ownerDocument.createRange();n.selectNodeContents(t),t=n.getBoundingClientRect(),window.scrollTo(window.scrollX+t.left,e?window.scrollY+t.top:window.scrollY+t.bottom-window.innerHeight)}We.prototype.scrollIntoView=function(t){if(typeof t=="object")throw Error(o(566));var e=[];p(this._fragmentFiber.child,!1,bs,e,void 0,void 0);var n=t!==!1;if(e.length===0){var i=A(this._fragmentFiber);if(i=n?i[1]||i[0]||x(this._fragmentFiber):i[0]||i[1],i===null)return;if(i.tag===6){t=B(i),Np(t,n);return}if(i=B(i),i.nodeType!==9){if(i.nodeType===11){n="host"in i?i.host:null,n!==null&&n.scrollIntoView(t);return}i.scrollIntoView(t)}}for(i=n?e.length-1:0;i!==(n?-1:e.length);){var r=e[i];r.tag===6?(r=B(r),Np(r,n)):B(r).scrollIntoView(t),i+=n?-1:1}};function Lv(t,e){return t=B(t),Dp(t,e),!1}function Dp(t,e){t.reactFragments==null&&(t.reactFragments=new Set),t.reactFragments.add(e)}function kp(t,e){var n=e._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];t.addEventListener(r.type,r.attachedListener,Fi(r.optionsOrUseCapture))}t.nodeType!==3&&(n=e._observers,n!==null&&n.forEach(function(c){for(var m=0,S=0;S<xn.length;S++){var E=xn[S];(E.fragmentInstance!==e||E.observer!==c||E.instance!==t)&&(xn[m++]=E)}xn.length=m,c.observe(t)}),Dp(t,e))}function Bv(t,e){var n=e._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];t.removeEventListener(r.type,r.attachedListener,Fi(r.optionsOrUseCapture))}t.nodeType!==3&&(n=e._observers,n!==null&&n.forEach(function(c){typeof c.rootMargin=="string"?Rv(e,c,t):c.unobserve(t)}),t.reactFragments!=null&&t.reactFragments.delete(e))}function xs(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":xs(n),Eu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function Hv(t,e,n,i){for(;t.nodeType===1;){var r=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[fa])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==r.rel||t.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||t.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||t.getAttribute("title")!==(r.title==null?null:r.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(r.src==null?null:r.src)||t.getAttribute("type")!==(r.type==null?null:r.type)||t.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=r.name==null?null:""+r.name;if(r.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=fn(t.nextSibling),t===null)break}return null}function qv(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=fn(t.nextSibling),t===null))return null;return t}function Mp(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=fn(t.nextSibling),t===null))return null;return t}function Es(t){return t.data==="$?"||t.data==="$~"}function Ts(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Yv(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var i=function(){e(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function fn(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var As=null;function Rp(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return fn(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Up(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function Vv(t,e){function n(){i=!0}if(t.ownerDocument.activeElement===t)return!0;var i=!1;try{t.ownerDocument.addEventListener("focus",n,!0),(t.focus||HTMLElement.prototype.focus).call(t,e)}finally{t.ownerDocument.removeEventListener("focus",n,!0)}return i}function Gv(t){xp(function(){xp(function(e){return t(e)})})}function jp(t,e,n){switch(e=Ka(n),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function Lp(t,e,n){for(var i in n){var r=n[i];n.hasOwnProperty(i)&&r!=null&&Yt(t,e,i,null,vv,r)}n.dangerouslySetInnerHTML!=null&&(t.textContent=""),t.onclick===An&&(t.onclick=null),Eu(t)}function zs(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Eu(t)}var hn=new Map,Bp=new Set;function Ja(t){if(typeof t.getRootNode=="function"){var e=t.getRootNode();if(e.nodeType===9||e.nodeType===11)return e}return t.nodeType===9?t:t.ownerDocument}var tl=pt.d;pt.d={f:Xv,r:Qv,D:Zv,C:Kv,L:Jv,m:Fv,X:$v,S:Iv,M:Pv};function Xv(){var t=tl.f(),e=zr();return t||e}function Qv(t){var e=mi(t);e!==null&&e.tag===5&&e.type==="form"?qd(e):tl.r(t)}var Ii=typeof document>"u"?null:document;function Hp(t,e,n){var i=Ii;if(i&&typeof e=="string"&&e){var r=ln(e);r='link[rel="'+t+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),Bp.has(r)||(Bp.add(r),t={rel:t,crossOrigin:n,href:e},i.querySelector(r)===null&&(e=i.createElement("link"),Ee(e,"link",t),fe(e),i.head.appendChild(e)))}}function Zv(t){tl.D(t),Hp("dns-prefetch",t,null)}function Kv(t,e){tl.C(t,e),Hp("preconnect",t,e)}function Jv(t,e,n){tl.L(t,e,n);var i=Ii;if(i&&t&&e){var r='link[rel="preload"][as="'+ln(e)+'"]';e==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+ln(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+ln(n.imageSizes)+'"]')):r+='[href="'+ln(t)+'"]';var c=r;switch(e){case"style":c=$i(t);break;case"script":c=Pi(t)}if(!(hn.has(c)||(t=F({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),hn.set(c,t),i.querySelector(r)!==null||e==="style"&&i.querySelector(Fa(c))||e==="script"&&i.querySelector(Ia(c))))){var m=i.createElement("link");Ee(m,"link",t),e==="style"&&(m[xu]=!0,m.onload=m.onerror=function(){Pf(m)}),fe(m),i.head.appendChild(m)}}}function Fv(t,e){tl.m(t,e);var n=Ii;if(n&&t){var i=e&&typeof e.as=="string"?e.as:"script",r='link[rel="modulepreload"][as="'+ln(i)+'"][href="'+ln(t)+'"]',c=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Pi(t)}if(!hn.has(c)&&(t=F({rel:"modulepreload",href:t},e),hn.set(c,t),n.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ia(c)))return}i=n.createElement("link"),Ee(i,"link",t),fe(i),n.head.appendChild(i)}}}function Iv(t,e,n){tl.S(t,e,n);var i=Ii;if(i&&t){var r=pi(i).hoistableStyles,c=$i(t);e=e||"default";var m=r.get(c);if(!m){var S={loading:0,preload:null};if(m=i.querySelector(Fa(c)))S.loading=5;else{t=F({rel:"stylesheet",href:t,"data-precedence":e},n),(n=hn.get(c))&&Cs(t,n);var E=m=i.createElement("link");fe(E),Ee(E,"link",t),E._p=new Promise(function(N,R){E.onload=N,E.onerror=R}),E.addEventListener("load",function(){S.loading|=1}),E.addEventListener("error",function(){S.loading|=2}),S.loading|=4,kr(m,e,i)}m={type:"stylesheet",instance:m,count:1,state:S},r.set(c,m)}}}function $v(t,e){tl.X(t,e);var n=Ii;if(n&&t){var i=pi(n).hoistableScripts,r=Pi(t),c=i.get(r);c||(c=n.querySelector(Ia(r)),c||(t=F({src:t,async:!0},e),(e=hn.get(r))&&_s(t,e),c=n.createElement("script"),fe(c),Ee(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(r,c))}}function Pv(t,e){tl.M(t,e);var n=Ii;if(n&&t){var i=pi(n).hoistableScripts,r=Pi(t),c=i.get(r);c||(c=n.querySelector(Ia(r)),c||(t=F({src:t,async:!0,type:"module"},e),(e=hn.get(r))&&_s(t,e),c=n.createElement("script"),fe(c),Ee(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(r,c))}}function qp(t,e,n,i){var r=(r=pn.current)?Ja(r):null;if(!r)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=$i(n.href),e=pi(r).hoistableStyles,i=e.get(n),i||(i={type:"style",instance:null,count:0,state:null},e.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=$i(n.href);var c=pi(r).hoistableStyles,m=c.get(t);if(m||(r=r.ownerDocument||r,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,m),(c=r.querySelector(Fa(t)))?c._p||(m.instance=c,m.state.loading=5):(c=hn.get(t),c||(c={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},hn.set(t,c)),Wv(r,t,c,m.state))),e&&i===null)throw Error(o(528,""));return m}if(e&&i!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(n=Pi(n),e=pi(r).hoistableScripts,i=e.get(n),i||(i={type:"script",instance:null,count:0,state:null},e.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function $i(t){return'href="'+ln(t)+'"'}function Fa(t){return'link[rel="stylesheet"]['+t+"]"}function Yp(t){return F({},t,{"data-precedence":t.precedence,precedence:null})}function Wv(t,e,n,i){if(e=t.querySelector('link[rel="preload"][as="style"]['+e+"]")){if(e[xu]!==!0){i.loading=1;return}}else e=t.createElement("link"),e[xu]=!0,e.onload=e.onerror=Pf.bind(null,e),Ee(e,"link",n),fe(e),t.head.appendChild(e);i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2})}function Pi(t){return'[src="'+ln(t)+'"]'}function Ia(t){return"script[async]"+t}function Vp(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+ln(n.href)+'"]');if(i)return e.instance=i,fe(i),i;var r=F({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),fe(i),Ee(i,"style",r),kr(i,n.precedence,t),e.instance=i;case"stylesheet":r=$i(n.href);var c=t.querySelector(Fa(r));if(c)return e.state.loading|=4,e.instance=c,fe(c),c;i=Yp(n),(r=hn.get(r))&&Cs(i,r),c=(t.ownerDocument||t).createElement("link"),fe(c);var m=c;return m._p=new Promise(function(S,E){m.onload=S,m.onerror=E}),Ee(c,"link",i),e.state.loading|=4,kr(c,n.precedence,t),e.instance=c;case"script":return c=Pi(n.src),(r=t.querySelector(Ia(c)))?(e.instance=r,fe(r),r):(i=n,(r=hn.get(c))&&(i=F({},n),_s(i,r)),t=t.ownerDocument||t,r=t.createElement("script"),fe(r),Ee(r,"link",i),t.head.appendChild(r),e.instance=r);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,kr(i,n.precedence,t));return e.instance}function kr(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=i.length?i[i.length-1]:null,c=r,m=0;m<i.length;m++){var S=i[m];if(S.dataset.precedence===e)c=S;else if(c!==r)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Cs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function _s(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Mr=null;function Gp(t,e,n){if(Mr===null){var i=new Map,r=Mr=new Map;r.set(n,i)}else r=Mr,i=r.get(n),i||(i=new Map,r.set(n,i));if(i.has(t))return i;for(i.set(t,null),n=n.getElementsByTagName(t),r=0;r<n.length;r++){var c=n[r];if(!(c[fa]||c[ye]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var m=c.getAttribute(e)||"";m=t+m;var S=i.get(m);S?S.push(c):i.set(m,[c])}}return i}function Os(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function tb(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Xp(t,e){return t==="img"&&e.src!=null&&e.src!==""&&e.onLoad==null&&e.loading!=="lazy"}function Qp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Zp(t){return(t.width||100)*(t.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function Kp(t,e){typeof e.decode=="function"&&(t.imgCount++,e.complete||(t.imgBytes+=Zp(e),t.suspenseyImages.push(e)),t=lb.bind(t),e.decode().then(t,t))}function eb(t,e,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=$i(i.href),c=e.querySelector(Fa(r));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=$a.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=c,fe(c);return}c=e.ownerDocument||e,i=Yp(i),(r=hn.get(r))&&Cs(i,r),c=c.createElement("link"),fe(c);var m=c;m._p=new Promise(function(S,E){m.onload=S,m.onerror=E}),Ee(c,"link",i),n.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=$a.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Rr=0;function nb(t,e){return t.stylesheets&&t.count===0&&jr(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var i=setTimeout(function(){if(t.stylesheets&&jr(t,t.stylesheets),t.unsuspend){var c=t.unsuspend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&Rr===0&&(Rr=62500*Sv());var r=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&jr(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>Rr?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(r)}}:null}function Jp(t){if(t.count===0&&(t.imgCount===0||!t.waitingForImages)){if(t.stylesheets)jr(t,t.stylesheets);else if(t.unsuspend){var e=t.unsuspend;t.unsuspend=null,e()}}}function $a(){this.count--,Jp(this)}function lb(){this.imgCount--,Jp(this)}var Ur=null;function jr(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ur=new Map,e.forEach(ib,t),Ur=null,$a.call(t))}function ib(t,e){if(!(e.state.loading&4)){var n=Ur.get(t);if(n)var i=n.get(null);else{n=new Map,Ur.set(t,n);for(var r=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<r.length;c++){var m=r[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(n.set(m.dataset.precedence,m),i=m)}i&&n.set(null,i)}r=e.instance,m=r.getAttribute("data-precedence"),c=n.get(m)||i,c===i&&n.set(null,r),n.set(m,r),this.count++,i=$a.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),c?c.parentNode.insertBefore(r,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(r,t.firstChild)),e.state.loading|=4}}var Wi={$$typeof:J,Provider:null,Consumer:null,_currentValue:mn,_currentValue2:mn,_threadCount:0};function ab(t,e,n,i,r,c,m,S,E){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=ro(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ro(0),this.hiddenUpdates=ro(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.transitionTypes=null,this.incompleteTransitions=new Map}function Fp(t,e,n,i,r,c,m,S,E,N,R,Y){return t=new ab(t,e,n,m,E,N,R,Y,S),e=1,c===!0&&(e|=24),c=je(3,null,null,e),t.current=c,c.stateNode=t,e=Go(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:i,isDehydrated:n,cache:e},Ko(c),t}function Ip(t){return t?(t=zi,t):zi}function $p(t,e,n,i,r,c){r=Ip(r),i.context===null?i.context=r:i.pendingContext=r,i=pl(e),i.payload={element:n},c=c===void 0?null:c,c!==null&&(i.callback=c),n=gl(t,i,e),n!==null&&(qe(n,t,e),Oa(n,t,e))}function Pp(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function ws(t,e){Pp(t,e),(t=t.alternate)&&Pp(t,e)}function Wp(t){if(t.tag===13||t.tag===31){var e=Yl(t,67108864);e!==null&&qe(e,t,67108864),ws(t,67108864)}}function tg(t){if(t.tag===13||t.tag===31){var e=Pe();e=oo(e);var n=Yl(t,e);n!==null&&qe(n,t,e),ws(t,e)}}var ta=!0;function ub(t,e,n,i){var r=at.T;at.T=null;var c=pt.p;try{pt.p=2,Ns(t,e,n,i)}finally{pt.p=c,at.T=r}}function rb(t,e,n,i){var r=at.T;at.T=null;var c=pt.p;try{pt.p=8,Ns(t,e,n,i)}finally{pt.p=c,at.T=r}}function Ns(t,e,n,i){if(ta){var r=Ds(i);if(r===null)fs(t,e,i,Lr,n),ng(t,i);else if(cb(r,t,e,n,i))i.stopPropagation();else if(ng(t,i),e&4&&-1<ob.indexOf(t)){for(;r!==null;){var c=mi(r);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=jl(c.pendingLanes);if(m!==0){var S=c;for(S.pendingLanes|=2,S.entangledLanes|=2;m;){var E=1<<31-Qe(m);S.entanglements[1]|=E,m&=~E}Rn(c),(jt&6)===0&&(Er=ge()+500,Xa(0))}}break;case 31:case 13:S=Yl(c,2),S!==null&&qe(S,c,2),zr(),ws(c,2)}if(c=Ds(i),c===null&&fs(t,e,i,Lr,n),c===r)break;r=c}r!==null&&i.stopPropagation()}else fs(t,e,i,null,n)}}function Ds(t){return t=go(t),ks(t)}var Lr=null;function ks(t){if(Lr=null,t=Ll(t),t!==null){var e=h(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=f(e),t!==null)return t;t=null}else if(n===31){if(t=d(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Lr=t,null}function eg(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"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(_e()){case Hn:return 2;case nn:return 8;case gu:case x0:return 32;case Vf:return 268435456;default:return 32}default:return 32}}var Ms=!1,Ol=null,wl=null,Nl=null,Pa=new Map,Wa=new Map,Dl=[],ob="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 ng(t,e){switch(t){case"focusin":case"focusout":Ol=null;break;case"dragenter":case"dragleave":wl=null;break;case"mouseover":case"mouseout":Nl=null;break;case"pointerover":case"pointerout":Pa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wa.delete(e.pointerId)}}function tu(t,e,n,i,r,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:c,targetContainers:[r]},e!==null&&(e=mi(e),e!==null&&Wp(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,r!==null&&e.indexOf(r)===-1&&e.push(r),t)}function cb(t,e,n,i,r){switch(e){case"focusin":return Ol=tu(Ol,t,e,n,i,r),!0;case"dragenter":return wl=tu(wl,t,e,n,i,r),!0;case"mouseover":return Nl=tu(Nl,t,e,n,i,r),!0;case"pointerover":var c=r.pointerId;return Pa.set(c,tu(Pa.get(c)||null,t,e,n,i,r)),!0;case"gotpointercapture":return c=r.pointerId,Wa.set(c,tu(Wa.get(c)||null,t,e,n,i,r)),!0}return!1}function lg(t){var e=Ll(t.target);if(e!==null){var n=h(e);if(n!==null){if(e=n.tag,e===13){if(e=f(n),e!==null){t.blockedOn=e,Ff(t.priority,function(){tg(n)});return}}else if(e===31){if(e=d(n),e!==null){t.blockedOn=e,Ff(t.priority,function(){tg(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Br(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Ds(t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);po=i,n.target.dispatchEvent(i),po=null}else return e=mi(n),e!==null&&Wp(e),t.blockedOn=n,!1;e.shift()}return!0}function ig(t,e,n){Br(t)&&n.delete(e)}function sb(){Ms=!1,Ol!==null&&Br(Ol)&&(Ol=null),wl!==null&&Br(wl)&&(wl=null),Nl!==null&&Br(Nl)&&(Nl=null),Pa.forEach(ig),Wa.forEach(ig)}function Hr(t,e){t.blockedOn===e&&(t.blockedOn=null,Ms||(Ms=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,sb)))}var qr=null;function ag(t){qr!==t&&(qr=t,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){qr===t&&(qr=null);for(var e=0;e<t.length;e+=3){var n=t[e],i=t[e+1],r=t[e+2];if(typeof i!="function"){if(ks(i||n)===null)continue;break}var c=mi(n);c!==null&&(t.splice(e,3),e-=3,mc(c,{pending:!0,data:r,method:n.method,action:i},i,r))}}))}function ea(t){function e(E){return Hr(E,t)}Ol!==null&&Hr(Ol,t),wl!==null&&Hr(wl,t),Nl!==null&&Hr(Nl,t),Pa.forEach(e),Wa.forEach(e);for(var n=0;n<Dl.length;n++){var i=Dl[n];i.blockedOn===t&&(i.blockedOn=null)}for(;0<Dl.length&&(n=Dl[0],n.blockedOn===null);)lg(n),n.blockedOn===null&&Dl.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var r=n[i],c=n[i+1],m=r[Ue]||null;if(typeof c=="function")m||ag(n);else if(m){var S=null;if(c&&c.hasAttribute("formAction")){if(r=c,m=c[Ue]||null)S=m.formAction;else if(ks(r)!==null)continue}else S=m.action;typeof S=="function"?n[i+1]=S:(n.splice(i,3),i-=3),ag(n)}}}function ug(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return r=m})},focusReset:"manual",scroll:"manual"})}function e(){r!==null&&(r(),r=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,r=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),r!==null&&(r(),r=null)}}}function Rs(t){this._internalRoot=t}Yr.prototype.render=Rs.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var n=e.current,i=Pe();$p(n,i,t,e,null,null)},Yr.prototype.unmount=Rs.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;$p(t.current,2,null,t,null,null),zr(),e[di]=null}};function Yr(t){this._internalRoot=t}Yr.prototype.unstable_scheduleHydration=function(t){if(t){var e=Jf();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Dl.length&&e!==0&&e<Dl[n].priority;n++);Dl.splice(n,0,t),n===0&&lg(t)}};var rg=u.version;if(rg!=="19.3.0")throw Error(o(527,rg,"19.3.0"));pt.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=y(e),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var fb={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:at,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vr.isDisabled&&Vr.supportsFiber)try{oa=Vr.inject(fb),Xe=Vr}catch{}}return nu.createRoot=function(t,e){if(!s(t))throw Error(o(299));var n=!1,i="",r=Id,c=$d,m=Pd;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(r=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(m=e.onRecoverableError)),e=Fp(t,1,!1,null,null,n,i,null,r,c,m,ug),t[di]=e.current,ss(t),new Rs(e)},nu.hydrateRoot=function(t,e,n){if(!s(t))throw Error(o(299));var i=!1,r="",c=Id,m=$d,S=Pd,E=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(S=n.onRecoverableError),n.formState!==void 0&&(E=n.formState)),e=Fp(t,1,!0,e,n??null,i,r,E,c,m,S,ug),e.context=Ip(null),n=e.current,i=Pe(),i=oo(i),r=pl(i),r.callback=null,gl(n,r,i),n=i,e.current.lanes=n,sa(e,n),Rn(e),t[di]=e.current,ss(t),new Yr(e)},nu.version="19.3.0",nu}var yg;function xb(){if(yg)return js.exports;yg=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),js.exports=Sb(),js.exports}var Eb=xb(),Me=bf();const Sf=1;function vg(l){let u="";for(const a of l)u+=String.fromCharCode(a);return btoa(u).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function bg(l){if(!/^[A-Za-z0-9_-]*$/.test(l))return;const u=l.replace(/-/g,"+").replace(/_/g,"/"),a=u+"=".repeat((4-u.length%4)%4);try{const o=atob(a);return Uint8Array.from(o,s=>s.charCodeAt(0))}catch{return}}const Tb=/^[A-Za-z0-9_-]{22}$/,Ab=/^[A-Za-z0-9_-]{43}$/;function zb(l){var s;let u;try{u=new URL(l)}catch{return}const a=(s=/^\/r\/([^/]+)\/?$/.exec(u.pathname))==null?void 0:s[1],o=u.hash.replace(/^#/,"");if(!(a===void 0||!Tb.test(a)||!Ab.test(o)))return{sala:a,secreto:o}}const Cb=["version","sala-inexistente","sala-ocupada","tope-de-moviles","ritmo","mensaje-ilegible"],Gr=l=>typeof l=="string"&&l.length>0;function _b(l,u){let a;try{const s=JSON.parse(l);if(typeof s!="object"||s===null||Array.isArray(s))return;a=s}catch{return}return Ob(a)}function Ob(l,u){if(l.t==="abierta"||l.t==="cerrada")return{t:l.t};if(l.t==="entrada"&&Gr(l.id))return{t:"entrada",id:l.id};if(l.t==="presencia"&&Array.isArray(l.moviles)&&l.moviles.every(Gr))return{t:"presencia",moviles:l.moviles};if(l.t==="anfitrion"&&typeof l.conectado=="boolean")return{t:"anfitrion",conectado:l.conectado};if(l.t==="dato"&&Gr(l.carga))return l.de===void 0?{t:"dato",carga:l.carga}:Gr(l.de)?{t:"dato",de:l.de,carga:l.carga}:void 0;if(l.t==="error"&&typeof l.motivo=="string"&&Cb.includes(l.motivo))return{t:"error",motivo:l.motivo}}const Xr=12,Ir=new TextEncoder,wb=new TextDecoder;async function Sg(l,u,a){return crypto.subtle.deriveKey({name:"HKDF",hash:"SHA-256",salt:Ir.encode(`xonecode-remoto/v${Sf}/${u}`),info:Ir.encode(a)},l,{name:"AES-GCM",length:256},!1,["encrypt","decrypt"])}async function Nb(l){const u=bg(l.secreto);if(u===void 0||u.length!==32)throw new Error("secreto inválido");const a=await crypto.subtle.importKey("raw",u.slice(),"HKDF",!1,["deriveKey"]),o="m2a",s="a2m",h=await Sg(a,l.sala,o),f=await Sg(a,l.sala,s),d=x=>Ir.encode(`v${Sf}|${l.sala}|${x}`),v=l.origen??vg(crypto.getRandomValues(new Uint8Array(12))),y=l.nonce??(()=>crypto.getRandomValues(new Uint8Array(Xr)));let g=0;const p=new Map;return{async cifrar(x){g+=1;const b=y(),A=Ir.encode(JSON.stringify({o:v,s:g,m:x})),U=new Uint8Array(await crypto.subtle.encrypt({name:"AES-GCM",iv:b,additionalData:d(o)},h,A)),B=new Uint8Array(b.length+U.length);return B.set(b,0),B.set(U,b.length),vg(B)},async descifrar(x){const b=bg(x);if(b===void 0||b.length<=Xr)return;let A;try{A=await crypto.subtle.decrypt({name:"AES-GCM",iv:b.slice(0,Xr),additionalData:d(s)},f,b.slice(Xr))}catch{return}let U;try{U=JSON.parse(wb.decode(A))}catch{return}if(typeof U.o!="string"||typeof U.s!="number")return;const B=p.get(U.o)??0;if(!(U.s<=B))return p.set(U.o,U.s),U.m}}}const el=l=>typeof l=="object"&&l!==null&&!Array.isArray(l),It=l=>typeof l=="string",xg=l=>el(l)&&It(l.tipo);function my(l){if(!Array.isArray(l.pendientes)||!el(l.ficheros)||!el(l.diffs))return;const u=[];for(const s of l.pendientes){if(!el(s)||!It(s.id)||!It(s.origen)||!It(s.descripcion)||!Array.isArray(s.decisionesPermitidas)||!s.decisionesPermitidas.every(It))return;u.push({id:s.id,origen:s.origen,descripcion:s.descripcion,decisionesPermitidas:[...s.decisionesPermitidas],...s.remota===!0?{remota:!0}:{}})}const a={};for(const[s,h]of Object.entries(l.ficheros)){if(!It(h))return;a[s]=h}const o={};for(const[s,h]of Object.entries(l.diffs)){if(!Array.isArray(h))return;const f=[];for(const d of h){if(!el(d)||!It(d.texto)||d.tipo!=="igual"&&d.tipo!=="anadido"&&d.tipo!=="quitado")return;f.push({tipo:d.tipo,texto:d.texto})}o[s]=f}return{pendientes:u,ficheros:a,diffs:o}}const Db=["trabajando","esperando-aprobacion","esperando-respuesta","parada"],kb=["nuevo","en-proceso","requiere-atencion","terminada"],ru=l=>l===void 0||It(l);function Mb(l){if(!el(l)||!It(l.id)||!It(l.proyecto)||typeof l.foco!="boolean"||!It(l.estado)||!Db.includes(l.estado)||!ru(l.sesion)||!ru(l.ultimaActividad))return;let u;if(l.aprobacion!==void 0){if(!el(l.aprobacion))return;const a=my(l.aprobacion);if(!a||l.aprobacion.recortada!==void 0&&l.aprobacion.recortada!==!0)return;u={...a,...l.aprobacion.recortada===!0?{recortada:!0}:{}}}return{id:l.id,proyecto:l.proyecto,...It(l.sesion)?{sesion:l.sesion}:{},foco:l.foco,estado:l.estado,...It(l.ultimaActividad)?{ultimaActividad:l.ultimaActividad}:{},...u?{aprobacion:u}:{}}}function Rb(l){if(!(!el(l)||!It(l.id)||!It(l.titulo)||!It(l.proyecto)||!It(l.creada))&&!(!It(l.estado)||!kb.includes(l.estado))&&!(!ru(l.tras)||!ru(l.motivo)||!ru(l.acabada)))return{id:l.id,titulo:l.titulo,proyecto:l.proyecto,estado:l.estado,...It(l.tras)?{tras:l.tras}:{},...It(l.motivo)?{motivo:l.motivo}:{},creada:l.creada,...It(l.acabada)?{acabada:l.acabada}:{}}}function Ub(l){if(el(l))switch(l.clase){case"acto":case"sustitucion":return xg(l.acto)?{clase:l.clase,acto:l.acto}:void 0;case"reemision":return Array.isArray(l.actos)&&l.actos.every(xg)?{clase:"reemision",actos:l.actos}:void 0;case"aprobacion":{const u=my(l);return u?{clase:"aprobacion",...u}:void 0}case"pregunta":return l.decision!==void 0||l.seleccionable!==void 0||l.selector!==void 0?void 0:It(l.texto)?{clase:"pregunta",texto:l.texto}:void 0;case"turno":return typeof l.activo!="boolean"?void 0:l.detenible===!0?{clase:"turno",activo:l.activo,detenible:!0}:{clase:"turno",activo:l.activo};case"remoto.estado":return{clase:"remoto.estado",...It(l.proyecto)?{proyecto:l.proyecto}:{},...It(l.sesion)?{sesion:l.sesion}:{}};case"panorama":{if(!Array.isArray(l.consolas)||!Array.isArray(l.tareas)||typeof l.esperando!="number"||!Number.isFinite(l.esperando)||l.esperando<0)return;const u=[];for(const o of l.consolas){const s=Mb(o);if(!s)return;u.push(s)}const a=[];for(const o of l.tareas){const s=Rb(o);if(!s)return;a.push(s)}return{clase:"panorama",consolas:u,tareas:a,esperando:l.esperando}}default:return}}const py={conexion:"conectando",actos:[],turno:{activo:!1},donde:{}};function gy(l,u){var a;if("conexion"in u)return{...l,conexion:u.conexion};if("local"in u){if(u.local==="aprobacion-contestada"){const h=u.consola!==void 0,f=(a=l.panorama)==null?void 0:a.consolas.find(y=>y.foco),d=h?u.consola:f==null?void 0:f.id;let v=l;if(l.panorama!==void 0&&d!==void 0){let y=0;const g=l.panorama.consolas.map(p=>{if(p.id!==d||p.aprobacion===void 0)return p;y=p.aprobacion.pendientes.length;const{aprobacion:x,...b}=p;return b});y>0&&(v={...l,panorama:{...l.panorama,consolas:g,esperando:Math.max(0,l.panorama.esperando-y)}})}if(!h||(f==null?void 0:f.id)===u.consola){const{aprobacion:y,...g}=v;return g}return v}const{pregunta:o,...s}=l;return s}switch(u.clase){case"reemision":{const{aprobacion:o,pregunta:s,...h}=l;return{...h,actos:[...u.actos]}}case"acto":return{...l,actos:[...l.actos,u.acto]};case"sustitucion":return{...l,actos:l.actos.length===0?[u.acto]:[...l.actos.slice(0,-1),u.acto]};case"aprobacion":return{...l,aprobacion:{pendientes:u.pendientes,ficheros:u.ficheros,diffs:u.diffs}};case"pregunta":return{...l,pregunta:u.texto};case"turno":{const o=u.detenible===!0?{activo:u.activo,detenible:!0}:{activo:u.activo};if(u.activo)return{...l,turno:o};const{aprobacion:s,pregunta:h,...f}=l;return{...f,turno:o}}case"remoto.estado":return{...l,donde:{...u.proyecto===void 0?{}:{proyecto:u.proyecto},...u.sesion===void 0?{}:{sesion:u.sesion}}};case"panorama":return{...l,panorama:{consolas:u.consolas,tareas:u.tareas,esperando:u.esperando}}}}const Eg=[1e3,2e3,5e3,1e4];async function jb(l){let u=py;const a=A=>{u=gy(u,A),l.alCambiar(u)},o=zb(l.href);if(o===void 0)return a({conexion:"enlace-invalido"}),{enviar:async()=>{},contestado:(A,U)=>a({local:A,...U===void 0?{}:{consola:U}}),cerrar:()=>{}};let s;try{s=await Nb({...o,rol:"movil"})}catch{return a({conexion:"sin-cifrado"}),{enviar:async()=>{throw new Error("sin cifrado")},contestado:(A,U)=>a({local:A,...U===void 0?{}:{consola:U}}),cerrar:()=>{}}}let h,f=!1,d=0,v=!1,y=!1,g=0,p,x=Promise.resolve();const b=()=>{if(f)return;const A=new WebSocket(l.urlWs);h=A,y=!1,A.onopen=()=>{A.send(JSON.stringify({t:"entrar",sala:o.sala,v:Sf}))},A.onmessage=M=>{const V=String(M.data);x=x.then(()=>U(V)).catch(()=>{})};const U=async M=>{const V=_b(M);if(V!==void 0){if(V.t==="entrada")d=0,v=!0,a({conexion:"conectada"});else if(V.t==="anfitrion")a({conexion:V.conectado?"conectada":"anfitrion-caido"});else if(V.t==="cerrada")f=!0,a({conexion:"cerrada"}),A.close();else if(V.t==="error")V.motivo==="version"?(f=!0,a({conexion:"version"})):V.motivo==="sala-inexistente"&&(v?(y=!0,a({conexion:"anfitrion-caido"})):(f=!0,a({conexion:"enlace-invalido"})));else if(V.t==="dato"){const Q=await s.descifrar(V.carga),st=Ub(Q);if(st===void 0){Q===void 0&&(g+=1,g>=3&&(f=!0,a({conexion:"enlace-invalido"}),A.close()));return}g=0,a(st)}}};A.onclose=()=>{x=x.then(B).catch(()=>{})};const B=()=>{if(f)return;a({conexion:y?"anfitrion-caido":"conectando"});const M=Eg[Math.min(d,Eg.length-1)];d+=1,p=setTimeout(b,M)}};return b(),{async enviar(A){if((h==null?void 0:h.readyState)!==WebSocket.OPEN)throw new Error("sin conexión");h.send(JSON.stringify({t:"dato",carga:await s.cifrar(A)}))},contestado(A,U){a({local:A,...U===void 0?{}:{consola:U}})},cerrar(){f=!0,p!==void 0&&clearTimeout(p),h==null||h.close()}}}const Tg={conectando:"conectando",conectada:"conectado","anfitrion-caido":"tu xonecode está desconectado, reintentando",cerrada:"la sesión remota se cerró","enlace-invalido":"este enlace ya no es válido",version:"hay una versión nueva: vuelve a escanear el código QR","sin-cifrado":"este navegador no permite el cifrado: abre el enlace por https"};function Lb({estado:l,alParar:u}){const a=[l.donde.proyecto,l.donde.sesion].filter(s=>s!==void 0).join(" · "),o=l.conexion==="conectada"?"verde":l.conexion==="conectando"||l.conexion==="anfitrion-caido"?"ambar":"rojo";return G.jsxs("header",{className:"cabecera",children:[G.jsx("span",{className:"marca",children:"xonecode"}),G.jsx("span",{className:`punto ${o}`,role:"img","aria-label":Tg[l.conexion]}),G.jsx("span",{className:"donde",children:a===""?"sin sesión":a}),l.turno.activo?G.jsx("span",{className:"trabajando",children:"trabajando…"}):null,l.turno.activo&&l.turno.detenible?G.jsx("button",{type:"button",className:"parar",onClick:u,children:"Parar"}):null,l.conexion!=="conectada"?G.jsx("p",{className:"aviso-de-conexion",children:Tg[l.conexion]}):null]})}function Bb(l,u){const a={};return(l[l.length-1]===""?[...l,""]:l).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const Hb=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qb=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Yb={};function Ag(l,u){return(Yb.jsx?qb:Hb).test(l)}const Vb=/[ \t\n\f\r]/g;function Gb(l){return typeof l=="object"?l.type==="text"?zg(l.value):!1:zg(l)}function zg(l){return l.replace(Vb,"")===""}class hu{constructor(u,a,o){this.normal=a,this.property=u,o&&(this.space=o)}}hu.prototype.normal={};hu.prototype.property={};hu.prototype.space=void 0;function yy(l,u){const a={},o={};for(const s of l)Object.assign(a,s.property),Object.assign(o,s.normal);return new hu(a,o,u)}function rf(l){return l.toLowerCase()}class Ve{constructor(u,a){this.attribute=a,this.property=u}}Ve.prototype.attribute="";Ve.prototype.booleanish=!1;Ve.prototype.boolean=!1;Ve.prototype.commaOrSpaceSeparated=!1;Ve.prototype.commaSeparated=!1;Ve.prototype.defined=!1;Ve.prototype.mustUseProperty=!1;Ve.prototype.number=!1;Ve.prototype.overloadedBoolean=!1;Ve.prototype.property="";Ve.prototype.spaceSeparated=!1;Ve.prototype.space=void 0;let Xb=0;const yt=ci(),re=ci(),of=ci(),K=ci(),Qt=ci(),ri=ci(),tn=ci();function ci(){return 2**++Xb}const cf=Object.freeze(Object.defineProperty({__proto__:null,boolean:yt,booleanish:re,commaOrSpaceSeparated:tn,commaSeparated:ri,number:K,overloadedBoolean:of,spaceSeparated:Qt},Symbol.toStringTag,{value:"Module"})),Ys=Object.keys(cf);class xf extends Ve{constructor(u,a,o,s){let h=-1;if(super(u,a),Cg(this,"space",s),typeof o=="number")for(;++h<Ys.length;){const f=Ys[h];Cg(this,Ys[h],(o&cf[f])===cf[f])}}}xf.prototype.defined=!0;function Cg(l,u,a){a&&(l[u]=a)}function ia(l){const u={},a={};for(const[o,s]of Object.entries(l.properties)){const h=new xf(o,l.transform(l.attributes||{},o),s,l.space);l.mustUseProperty&&l.mustUseProperty.includes(o)&&(h.mustUseProperty=!0),u[o]=h,a[rf(o)]=o,a[rf(h.attribute)]=o}return new hu(u,a,l.space)}const vy=ia({properties:{ariaActiveDescendant:null,ariaAtomic:re,ariaAutoComplete:null,ariaBusy:re,ariaChecked:re,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:Qt,ariaCurrent:null,ariaDescribedBy:Qt,ariaDetails:null,ariaDisabled:re,ariaDropEffect:Qt,ariaErrorMessage:null,ariaExpanded:re,ariaFlowTo:Qt,ariaGrabbed:re,ariaHasPopup:null,ariaHidden:re,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Qt,ariaLevel:K,ariaLive:null,ariaModal:re,ariaMultiLine:re,ariaMultiSelectable:re,ariaOrientation:null,ariaOwns:Qt,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:re,ariaReadOnly:re,ariaRelevant:null,ariaRequired:re,ariaRoleDescription:Qt,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:re,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform(l,u){return u==="role"?u:"aria-"+u.slice(4).toLowerCase()}});function by(l,u){return u in l?l[u]:u}function Sy(l,u){return by(l,u.toLowerCase())}const Qb=ia({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ri,acceptCharset:Qt,accessKey:Qt,action:null,allow:null,allowFullScreen:yt,allowPaymentRequest:yt,allowUserMedia:yt,alpha:yt,alt:null,as:null,async:yt,autoCapitalize:null,autoComplete:Qt,autoFocus:yt,autoPlay:yt,blocking:Qt,capture:null,charSet:null,checked:yt,cite:null,className:Qt,closedBy:null,colorSpace:null,cols:K,colSpan:K,command:null,commandFor:null,content:null,contentEditable:re,controls:yt,controlsList:Qt,coords:K|ri,crossOrigin:null,data:null,dateTime:null,decoding:null,default:yt,defer:yt,dir:null,dirName:null,disabled:yt,download:of,draggable:re,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:yt,formTarget:null,headers:Qt,height:K,hidden:of,high:K,href:null,hrefLang:null,htmlFor:Qt,httpEquiv:Qt,id:null,imageSizes:null,imageSrcSet:null,inert:yt,inputMode:null,integrity:null,is:null,isMap:yt,itemId:null,itemProp:Qt,itemRef:Qt,itemScope:yt,itemType:Qt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:yt,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:yt,muted:yt,name:null,nonce:null,noModule:yt,noValidate:yt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:yt,optimum:K,pattern:null,ping:Qt,placeholder:null,playsInline:yt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:yt,referrerPolicy:null,rel:Qt,required:yt,reversed:yt,rows:K,rowSpan:K,sandbox:Qt,scope:null,scoped:yt,seamless:yt,selected:yt,shadowRootClonable:yt,shadowRootCustomElementRegistry:yt,shadowRootDelegatesFocus:yt,shadowRootMode:null,shadowRootSerializable:yt,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:re,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:yt,useMap:null,value:re,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Qt,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:yt,declare:yt,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:yt,noHref:yt,noShade:yt,noWrap:yt,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:re,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:yt,disablePictureInPicture:yt,disableRemotePlayback:yt,exportParts:ri,part:Qt,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:Sy}),Zb=ia({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:tn,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:Qt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:yt,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ri,g2:ri,glyphName:ri,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:tn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Qt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tn,rev:tn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tn,requiredFeatures:tn,requiredFonts:tn,requiredFormats:tn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:tn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tn,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:by}),xy=ia({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(l,u){return"xlink:"+u.slice(5).toLowerCase()}}),Ey=ia({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Sy}),Ty=ia({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(l,u){return"xml:"+u.slice(3).toLowerCase()}}),Kb={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Jb=/[A-Z]/g,_g=/-[a-z]/g,Fb=/^data[-\w.:]+$/i;function Ib(l,u){const a=rf(u);let o=u,s=Ve;if(a in l.normal)return l.property[l.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&Fb.test(u)){if(u.charAt(4)==="-"){const h=u.slice(5).replace(_g,Pb);o="data"+h.charAt(0).toUpperCase()+h.slice(1)}else{const h=u.slice(4);if(!_g.test(h)){let f=h.replace(Jb,$b);f.charAt(0)!=="-"&&(f="-"+f),u="data"+f}}s=xf}return new s(o,u)}function $b(l){return"-"+l.toLowerCase()}function Pb(l){return l.charAt(1).toUpperCase()}const Wb=yy([vy,Qb,xy,Ey,Ty],"html"),Ef=yy([vy,Zb,xy,Ey,Ty],"svg");function tS(l){return l.join(" ").trim()}var na={},Vs,Og;function eS(){if(Og)return Vs;Og=1;var l=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,u=/\n/g,a=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,h=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,d=/^\s+|\s+$/g,v=`
50
- `,y="/",g="*",p="",x="comment",b="declaration";function A(B,M){if(typeof B!="string")throw new TypeError("First argument must be a string");if(!B)return[];M=M||{};var V=1,Q=1;function st(ot){var J=ot.match(u);J&&(V+=J.length);var Z=ot.lastIndexOf(v);Q=~Z?ot.length-Z:Q+ot.length}function rt(){var ot={line:V,column:Q};return function(J){return J.position=new H(ot),kt(),J}}function H(ot){this.start=ot,this.end={line:V,column:Q},this.source=M.source}H.prototype.content=B;function F(ot){var J=new Error(M.source+":"+V+":"+Q+": "+ot);if(J.reason=ot,J.filename=M.source,J.line=V,J.column=Q,J.source=B,!M.silent)throw J}function tt(ot){var J=ot.exec(B);if(J){var Z=J[0];return st(Z),B=B.slice(Z.length),J}}function kt(){tt(a)}function j(ot){var J;for(ot=ot||[];J=$();)J!==!1&&ot.push(J);return ot}function $(){var ot=rt();if(!(y!=B.charAt(0)||g!=B.charAt(1))){for(var J=2;p!=B.charAt(J)&&(g!=B.charAt(J)||y!=B.charAt(J+1));)++J;if(J+=2,p===B.charAt(J-1))return F("End of comment missing");var Z=B.slice(2,J-2);return Q+=2,st(Z),B=B.slice(J),Q+=2,ot({type:x,comment:Z})}}function lt(){var ot=rt(),J=tt(o);if(J){if($(),!tt(s))return F("property missing ':'");var Z=tt(h),et=ot({type:b,property:U(J[0].replace(l,p)),value:Z?U(Z[0].replace(l,p)):p});return tt(f),et}}function Et(){var ot=[];j(ot);for(var J;J=lt();)J!==!1&&(ot.push(J),j(ot));return ot}return kt(),Et()}function U(B){return B?B.replace(d,p):p}return Vs=A,Vs}var wg;function nS(){if(wg)return na;wg=1;var l=na&&na.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(na,"__esModule",{value:!0}),na.default=a;const u=l(eS());function a(o,s){let h=null;if(!o||typeof o!="string")return h;const f=(0,u.default)(o),d=typeof s=="function";return f.forEach(v=>{if(v.type!=="declaration")return;const{property:y,value:g}=v;d?s(y,g,v):g&&(h=h||{},h[y]=g)}),h}return na}var lu={},Ng;function lS(){if(Ng)return lu;Ng=1,Object.defineProperty(lu,"__esModule",{value:!0}),lu.camelCase=void 0;var l=/^--[a-zA-Z0-9_-]+$/,u=/-([a-z])/g,a=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,h=function(y){return!y||a.test(y)||l.test(y)},f=function(y,g){return g.toUpperCase()},d=function(y,g){return"".concat(g,"-")},v=function(y,g){return g===void 0&&(g={}),h(y)?y:(y=y.toLowerCase(),g.reactCompat?y=y.replace(s,d):y=y.replace(o,d),y.replace(u,f))};return lu.camelCase=v,lu}var iu,Dg;function iS(){if(Dg)return iu;Dg=1;var l=iu&&iu.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},u=l(nS()),a=lS();function o(s,h){var f={};return!s||typeof s!="string"||(0,u.default)(s,function(d,v){d&&v&&(f[(0,a.camelCase)(d,h)]=v)}),f}return o.default=o,iu=o,iu}var aS=iS();const uS=dy(aS),Ay=zy("end"),Tf=zy("start");function zy(l){return u;function u(a){const o=a&&a.position&&a.position[l]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function rS(l){const u=Tf(l),a=Ay(l);if(u&&a)return{start:u,end:a}}function ou(l){return!l||typeof l!="object"?"":"position"in l||"type"in l?kg(l.position):"start"in l||"end"in l?kg(l):"line"in l||"column"in l?sf(l):""}function sf(l){return Mg(l&&l.line)+":"+Mg(l&&l.column)}function kg(l){return sf(l&&l.start)+"-"+sf(l&&l.end)}function Mg(l){return l&&typeof l=="number"?l:1}class Ce extends Error{constructor(u,a,o){super(),typeof a=="string"&&(o=a,a=void 0);let s="",h={},f=!1;if(a&&("line"in a&&"column"in a?h={place:a}:"start"in a&&"end"in a?h={place:a}:"type"in a?h={ancestors:[a],place:a.position}:h={...a}),typeof u=="string"?s=u:!h.cause&&u&&(f=!0,s=u.message,h.cause=u),!h.ruleId&&!h.source&&typeof o=="string"){const v=o.indexOf(":");v===-1?h.ruleId=o:(h.source=o.slice(0,v),h.ruleId=o.slice(v+1))}if(!h.place&&h.ancestors&&h.ancestors){const v=h.ancestors[h.ancestors.length-1];v&&(h.place=v.position)}const d=h.place&&"start"in h.place?h.place.start:h.place;this.ancestors=h.ancestors||void 0,this.cause=h.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=d?d.line:void 0,this.name=ou(h.place)||"1:1",this.place=h.place||void 0,this.reason=this.message,this.ruleId=h.ruleId||void 0,this.source=h.source||void 0,this.stack=f&&h.cause&&typeof h.cause.stack=="string"?h.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ce.prototype.file="";Ce.prototype.name="";Ce.prototype.reason="";Ce.prototype.message="";Ce.prototype.stack="";Ce.prototype.column=void 0;Ce.prototype.line=void 0;Ce.prototype.ancestors=void 0;Ce.prototype.cause=void 0;Ce.prototype.fatal=void 0;Ce.prototype.place=void 0;Ce.prototype.ruleId=void 0;Ce.prototype.source=void 0;const Af={}.hasOwnProperty,oS=new Map,cS=/[A-Z]/g,sS=new Set(["table","tbody","thead","tfoot","tr"]),fS=new Set(["td","th"]),Cy="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function hS(l,u){if(!u||u.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=u.filePath||void 0;let o;if(u.development){if(typeof u.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=SS(a,u.jsxDEV)}else{if(typeof u.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof u.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=bS(a,u.jsx,u.jsxs)}const s={Fragment:u.Fragment,ancestors:[],components:u.components||{},create:o,elementAttributeNameCase:u.elementAttributeNameCase||"react",evaluater:u.createEvaluater?u.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:u.ignoreInvalidStyle||!1,passKeys:u.passKeys!==!1,passNode:u.passNode||!1,schema:u.space==="svg"?Ef:Wb,stylePropertyNameCase:u.stylePropertyNameCase||"dom",tableCellAlignToStyle:u.tableCellAlignToStyle!==!1},h=_y(s,l,void 0);return h&&typeof h!="string"?h:s.create(l,s.Fragment,{children:h||void 0},void 0)}function _y(l,u,a){if(u.type==="element")return dS(l,u,a);if(u.type==="mdxFlowExpression"||u.type==="mdxTextExpression")return mS(l,u);if(u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement")return gS(l,u,a);if(u.type==="mdxjsEsm")return pS(l,u);if(u.type==="root")return yS(l,u,a);if(u.type==="text")return vS(l,u)}function dS(l,u,a){const o=l.schema;let s=o;u.tagName.toLowerCase()==="svg"&&o.space==="html"&&(s=Ef,l.schema=s),l.ancestors.push(u);const h=wy(l,u.tagName,!1),f=xS(l,u);let d=Cf(l,u);return sS.has(u.tagName)&&(d=d.filter(function(v){return typeof v=="string"?!Gb(v):!0})),Oy(l,f,h,u),zf(f,d),l.ancestors.pop(),l.schema=o,l.create(u,h,f,a)}function mS(l,u){if(u.data&&u.data.estree&&l.evaluater){const o=u.data.estree.body[0];return o.type,l.evaluater.evaluateExpression(o.expression)}fu(l,u.position)}function pS(l,u){if(u.data&&u.data.estree&&l.evaluater)return l.evaluater.evaluateProgram(u.data.estree);fu(l,u.position)}function gS(l,u,a){const o=l.schema;let s=o;u.name==="svg"&&o.space==="html"&&(s=Ef,l.schema=s),l.ancestors.push(u);const h=u.name===null?l.Fragment:wy(l,u.name,!0),f=ES(l,u),d=Cf(l,u);return Oy(l,f,h,u),zf(f,d),l.ancestors.pop(),l.schema=o,l.create(u,h,f,a)}function yS(l,u,a){const o={};return zf(o,Cf(l,u)),l.create(u,l.Fragment,o,a)}function vS(l,u){return u.value}function Oy(l,u,a,o){typeof a!="string"&&a!==l.Fragment&&l.passNode&&(u.node=o)}function zf(l,u){if(u.length>0){const a=u.length>1?u:u[0];a&&(l.children=a)}}function bS(l,u,a){return o;function o(s,h,f,d){const y=Array.isArray(f.children)?a:u;return d?y(h,f,d):y(h,f)}}function SS(l,u){return a;function a(o,s,h,f){const d=Array.isArray(h.children),v=Tf(o);return u(s,h,f,d,{columnNumber:v?v.column-1:void 0,fileName:l,lineNumber:v?v.line:void 0},void 0)}}function xS(l,u){const a={};let o,s;for(s in u.properties)if(s!=="children"&&Af.call(u.properties,s)){const h=TS(l,s,u.properties[s]);if(h){const[f,d]=h;l.tableCellAlignToStyle&&f==="align"&&typeof d=="string"&&fS.has(u.tagName)?o=d:a[f]=d}}if(o){const h=a.style||(a.style={});h[l.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return a}function ES(l,u){const a={};for(const o of u.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&l.evaluater){const h=o.data.estree.body[0];h.type;const f=h.expression;f.type;const d=f.properties[0];d.type,Object.assign(a,l.evaluater.evaluateExpression(d.argument))}else fu(l,u.position);else{const s=o.name;let h;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&l.evaluater){const d=o.value.data.estree.body[0];d.type,h=l.evaluater.evaluateExpression(d.expression)}else fu(l,u.position);else h=o.value===null?!0:o.value;a[s]=h}return a}function Cf(l,u){const a=[];let o=-1;const s=l.passKeys?new Map:oS;for(;++o<u.children.length;){const h=u.children[o];let f;if(l.passKeys){const v=h.type==="element"?h.tagName:h.type==="mdxJsxFlowElement"||h.type==="mdxJsxTextElement"?h.name:void 0;if(v){const y=s.get(v)||0;f=v+"-"+y,s.set(v,y+1)}}const d=_y(l,h,f);d!==void 0&&a.push(d)}return a}function TS(l,u,a){const o=Ib(l.schema,u);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=o.commaSeparated?Bb(a):tS(a)),o.property==="style"){let s=typeof a=="object"?a:AS(l,String(a));return l.stylePropertyNameCase==="css"&&(s=zS(s)),["style",s]}return[l.elementAttributeNameCase==="react"&&o.space?Kb[o.property]||o.property:o.attribute,a]}}function AS(l,u){try{return uS(u,{reactCompat:!0})}catch(a){if(l.ignoreInvalidStyle)return{};const o=a,s=new Ce("Cannot parse `style` attribute",{ancestors:l.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=l.filePath||void 0,s.url=Cy+"#cannot-parse-style-attribute",s}}function wy(l,u,a){let o;if(!a)o={type:"Literal",value:u};else if(u.includes(".")){const s=u.split(".");let h=-1,f;for(;++h<s.length;){const d=Ag(s[h])?{type:"Identifier",name:s[h]}:{type:"Literal",value:s[h]};f=f?{type:"MemberExpression",object:f,property:d,computed:!!(h&&d.type==="Literal"),optional:!1}:d}o=f}else o=Ag(u)&&!/^[a-z]/.test(u)?{type:"Identifier",name:u}:{type:"Literal",value:u};if(o.type==="Literal"){const s=o.value;return Af.call(l.components,s)?l.components[s]:s}if(l.evaluater)return l.evaluater.evaluateExpression(o);fu(l)}function fu(l,u){const a=new Ce("Cannot handle MDX estrees without `createEvaluater`",{ancestors:l.ancestors,place:u,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=l.filePath||void 0,a.url=Cy+"#cannot-handle-mdx-estrees-without-createevaluater",a}function zS(l){const u={};let a;for(a in l)Af.call(l,a)&&(u[CS(a)]=l[a]);return u}function CS(l){let u=l.replace(cS,_S);return u.slice(0,3)==="ms-"&&(u="-"+u),u}function _S(l){return"-"+l.toLowerCase()}const Gs={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},OS={};function _f(l,u){const a=OS,o=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,s=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return Ny(l,o,s)}function Ny(l,u,a){if(wS(l)){if("value"in l)return l.type==="html"&&!a?"":l.value;if(u&&"alt"in l&&l.alt)return l.alt;if("children"in l)return Rg(l.children,u,a)}return Array.isArray(l)?Rg(l,u,a):""}function Rg(l,u,a){const o=[];let s=-1;for(;++s<l.length;)o[s]=Ny(l[s],u,a);return o.join("")}function wS(l){return!!(l&&typeof l=="object")}const Ug=document.createElement("i");function Of(l){const u="&"+l+";";Ug.innerHTML=u;const a=Ug.textContent;return a.charCodeAt(a.length-1)===59&&l!=="semi"||a===u?!1:a}function En(l,u,a,o){const s=l.length;let h=0,f;if(u<0?u=-u>s?0:s+u:u=u>s?s:u,a=a>0?a:0,o.length<1e4)f=Array.from(o),f.unshift(u,a),l.splice(...f);else for(a&&l.splice(u,a);h<o.length;)f=o.slice(h,h+1e4),f.unshift(u,0),l.splice(...f),h+=1e4,u+=1e4}function dn(l,u){return l.length>0?(En(l,l.length,0,u),l):u}const jg={}.hasOwnProperty;function Dy(l){const u={};let a=-1;for(;++a<l.length;)NS(u,l[a]);return u}function NS(l,u){let a;for(a in u){const s=(jg.call(l,a)?l[a]:void 0)||(l[a]={}),h=u[a];let f;if(h)for(f in h){jg.call(s,f)||(s[f]=[]);const d=h[f];DS(s[f],Array.isArray(d)?d:d?[d]:[])}}}function DS(l,u){let a=-1;const o=[];for(;++a<u.length;)(u[a].add==="after"?l:o).push(u[a]);En(l,0,0,o)}function ky(l,u){const a=Number.parseInt(l,u);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function Tn(l){return l.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ke=Rl(/[A-Za-z]/),ze=Rl(/[\dA-Za-z]/),kS=Rl(/[#-'*+\--9=?A-Z^-~]/);function $r(l){return l!==null&&(l<32||l===127)}const ff=Rl(/\d/),MS=Rl(/[\dA-Fa-f]/),RS=Rl(/[!-/:-@[-`{-~]/);function dt(l){return l!==null&&l<-2}function Zt(l){return l!==null&&(l<0||l===32)}function zt(l){return l===-2||l===-1||l===32}const no=Rl(new RegExp("\\p{P}|\\p{S}","u")),oi=Rl(/\s/);function Rl(l){return u;function u(a){return a!==null&&a>-1&&l.test(String.fromCharCode(a))}}function aa(l){const u=[];let a=-1,o=0,s=0;for(;++a<l.length;){const h=l.charCodeAt(a);let f="";if(h===37&&ze(l.charCodeAt(a+1))&&ze(l.charCodeAt(a+2)))s=2;else if(h<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(h))||(f=String.fromCharCode(h));else if(h>55295&&h<57344){const d=l.charCodeAt(a+1);h<56320&&d>56319&&d<57344?(f=String.fromCharCode(h,d),s=1):f="�"}else f=String.fromCharCode(h);f&&(u.push(l.slice(o,a),encodeURIComponent(f)),o=a+s+1,f=""),s&&(a+=s,s=0)}return u.join("")+l.slice(o)}function Ut(l,u,a,o){const s=o?o-1:1/0;let h=0;return f;function f(v){return zt(v)?(l.enter(a),d(v)):u(v)}function d(v){return zt(v)&&h++<s?(l.consume(v),d):(l.exit(a),u(v))}}function My(l,u,a,o,s,h){let f=0;return d;function d(g){return zt(g)?(l.enter(o),v(g)):y(g)}function v(g){return zt(g)&&f<h?(l.consume(g),f++,v):(l.exit(o),y(g))}function y(g){return f>=s?u(g):a(g)}}const US={tokenize:jS};function jS(l){const u=l.attempt(this.parser.constructs.contentInitial,o,s);let a;return u;function o(d){if(d===null){l.consume(d);return}return l.enter("lineEnding"),l.consume(d),l.exit("lineEnding"),Ut(l,u,"linePrefix")}function s(d){return l.enter("paragraph"),h(d)}function h(d){const v=l.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=v),a=v,f(d)}function f(d){if(d===null){l.exit("chunkText"),l.exit("paragraph"),l.consume(d);return}return dt(d)?(l.consume(d),l.exit("chunkText"),h):(l.consume(d),f)}}let Pr=class{constructor(){this.index=new Map,this.map=[]}add(u,a,o){Lg(this,u,a,o,!1)}addBefore(u,a,o){Lg(this,u,a,o,!0)}consume(u){if(this.map.sort(function(h,f){return h[0]-f[0]}),this.map.length===0)return;let a=this.map.length;const o=[];for(;a>0;)a-=1,o.push(u.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),u.length=this.map[a][0];o.push(u.slice()),u.length=0;let s=o.pop();for(;s;){for(const h of s)u.push(h);s=o.pop()}this.map.length=0,this.index.clear()}};function Lg(l,u,a,o,s){if(a===0&&o.length===0)return;const h=l.index.get(u);if(h){h[1]+=a,s?(o.push(...h[2]),h[2]=o):h[2].push(...o);return}const f=[u,a,o];l.map.push(f),l.index.set(u,f)}const LS={tokenize:BS},Bg={tokenize:HS};function BS(l){const u=this,a=[];let o=0,s,h,f;return d;function d(Q){if(o<a.length){const st=a[o];return u.containerState=st[1],l.attempt(st[0].continuation,v,y)(Q)}return y(Q)}function v(Q){if(o++,u.containerState._closeFlow){u.containerState._closeFlow=void 0,s&&V();const st=u.events.length;let rt=st,H;for(;rt--;)if(u.events[rt][0]==="exit"&&u.events[rt][1].type==="chunkFlow"){H=u.events[rt][1].end;break}M(o);let F=st;for(;F<u.events.length;)u.events[F][1].end={...H},F++;const tt=new Pr;return tt.add(rt+1,0,u.events.slice(st)),tt.add(st,F-st,[]),tt.consume(u.events),y(Q)}return d(Q)}function y(Q){if(o===a.length){if(!s)return x(Q);if(s.currentConstruct&&s.currentConstruct.concrete)return A(Q);u.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return u.containerState={},l.check(Bg,g,p)(Q)}function g(Q){return s&&V(),M(o),x(Q)}function p(Q){return u.parser.lazy[u.now().line]=o!==a.length,f=u.now().offset,A(Q)}function x(Q){return u.containerState={},l.attempt(Bg,b,A)(Q)}function b(Q){return o++,a.push([u.currentConstruct,u.containerState]),x(Q)}function A(Q){if(Q===null){s&&V(),M(0),l.consume(Q);return}return s=s||u.parser.flow(u.now()),l.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:h}),U(Q)}function U(Q){if(Q===null){B(l.exit("chunkFlow"),!0),M(0),l.consume(Q);return}return dt(Q)?(l.consume(Q),B(l.exit("chunkFlow")),o=0,u.interrupt=void 0,d):(l.consume(Q),U)}function B(Q,st){const rt=u.sliceStream(Q);if(st&&rt.push(null),Q.previous=h,h&&(h.next=Q),h=Q,s.defineSkip(Q.start),s.write(rt),u.parser.lazy[Q.start.line]){let H=s.events.length;for(;H--;)if(s.events[H][1].start.offset<f&&(!s.events[H][1].end||s.events[H][1].end.offset>f))return;const F=u.events.length;let tt=F,kt,j;for(;tt--;)if(u.events[tt][0]==="exit"&&u.events[tt][1].type==="chunkFlow"){if(kt){j=u.events[tt][1].end;break}kt=!0}for(M(o),H=F;H<u.events.length;)u.events[H][1].end={...j},H++;const $=new Pr;$.add(tt+1,0,u.events.slice(F)),$.add(F,H-F,[]),$.consume(u.events)}}function M(Q){let st=a.length;for(;st-- >Q;){const rt=a[st];u.containerState=rt[1],rt[0].exit.call(u,l)}a.length=Q}function V(){s.write([null]),h=void 0,s=void 0,u.containerState._closeFlow=void 0}}function HS(l,u,a){return Ut(l,l.attempt(this.parser.constructs.document,u,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Wr(l){if(l===null||Zt(l)||oi(l))return 1;if(no(l))return 2}function lo(l,u,a){const o=[];let s=-1;for(;++s<l.length;){const h=l[s].resolveAll;h&&!o.includes(h)&&(u=h(u,a),o.push(h))}return u}const hf={name:"attention",resolveAll:qS,tokenize:YS};function qS(l,u){let a=-1,o;for(;++a<l.length;)if(l[a][0]==="enter"&&l[a][1].type==="attentionSequence"&&l[a][1]._close){let s=a;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="attentionSequence"&&l[s][1]._open&&u.sliceSerialize(l[s][1]).charCodeAt(0)===u.sliceSerialize(l[a][1]).charCodeAt(0)){if((l[s][1]._close||l[a][1]._open)&&(l[a][1].end.offset-l[a][1].start.offset)%3&&!((l[s][1].end.offset-l[s][1].start.offset+l[a][1].end.offset-l[a][1].start.offset)%3))continue;const h=l[s][1].end.offset-l[s][1].start.offset>1&&l[a][1].end.offset-l[a][1].start.offset>1?2:1,f={...l[s][1].end},d={...l[a][1].start};Hg(f,-h),Hg(d,h);const v={type:h>1?"strongSequence":"emphasisSequence",start:f,end:{...l[s][1].end}},y={type:h>1?"strongSequence":"emphasisSequence",start:{...l[a][1].start},end:d},g={type:h>1?"strongText":"emphasisText",start:{...l[s][1].end},end:{...l[a][1].start}},p={type:h>1?"strong":"emphasis",start:{...v.start},end:{...y.end}};l[s][1].end={...v.start},l[a][1].start={...y.end},o=[],l[s][1].end.offset-l[s][1].start.offset&&(o=dn(o,[["enter",l[s][1],u],["exit",l[s][1],u]])),o=dn(o,[["enter",p,u],["enter",v,u],["exit",v,u],["enter",g,u]]),o=dn(o,lo(u.parser.constructs.insideSpan.null,l.slice(s+1,a),u)),o=dn(o,[["exit",g,u],["enter",y,u],["exit",y,u],["exit",p,u]]);let x=0;l[a][1].end.offset-l[a][1].start.offset&&(x=2,o=dn(o,[["enter",l[a][1],u],["exit",l[a][1],u]])),En(l,s-1,a-s+3,o),a=s+o.length-x-2;break}}for(a=-1;++a<l.length;)l[a][1].type==="attentionSequence"&&(l[a][1].type="data");return l}function YS(l,u){const a=this.parser.constructs.attentionMarkers.null,o=this.previous,s=Wr(o);let h;return f;function f(v){return h=v,l.enter("attentionSequence"),d(v)}function d(v){if(v===h)return l.consume(v),d;const y=l.exit("attentionSequence"),g=Wr(v),p=!g||g===2&&s||a.includes(v)&&v!==42&&v!==95,x=!s||s===2&&g||a.includes(o)&&o!==42&&o!==95;return y._open=!!(h===42?p:p&&(s||!x)),y._close=!!(h===42?x:x&&(g||!p)),u(v)}}function Hg(l,u){l.column+=u,l.offset+=u,l._bufferIndex+=u}const VS={name:"autolink",tokenize:GS};function GS(l,u,a){let o=0;return s;function s(b){return l.enter("autolink"),l.enter("autolinkMarker"),l.consume(b),l.exit("autolinkMarker"),l.enter("autolinkProtocol"),h}function h(b){return ke(b)?(l.consume(b),f):b===64?a(b):y(b)}function f(b){return b===43||b===45||b===46||ze(b)?(o=1,d(b)):y(b)}function d(b){return b===58?(l.consume(b),o=0,v):(b===43||b===45||b===46||ze(b))&&o++<32?(l.consume(b),d):(o=0,y(b))}function v(b){return b===62?(l.exit("autolinkProtocol"),l.enter("autolinkMarker"),l.consume(b),l.exit("autolinkMarker"),l.exit("autolink"),u):b===null||b===32||b===60||$r(b)?a(b):(l.consume(b),v)}function y(b){return b===64?(l.consume(b),g):kS(b)?(l.consume(b),y):a(b)}function g(b){return ze(b)?p(b):a(b)}function p(b){return b===46?(l.consume(b),o=0,g):b===62?(l.exit("autolinkProtocol").type="autolinkEmail",l.enter("autolinkMarker"),l.consume(b),l.exit("autolinkMarker"),l.exit("autolink"),u):x(b)}function x(b){if((b===45||ze(b))&&o++<63){const A=b===45?x:p;return l.consume(b),A}return a(b)}}const du={partial:!0,tokenize:XS};function XS(l,u,a){return o;function o(h){return zt(h)?Ut(l,s,"linePrefix")(h):s(h)}function s(h){return h===null||dt(h)?u(h):a(h)}}const Ry={continuation:{tokenize:ZS},exit:KS,name:"blockQuote",tokenize:QS};function QS(l,u,a){const o=this;return s;function s(f){if(f===62){const d=o.containerState;return d.open||(l.enter("blockQuote",{_container:!0}),d.open=!0),l.enter("blockQuotePrefix"),l.enter("blockQuoteMarker"),l.consume(f),l.exit("blockQuoteMarker"),h}return a(f)}function h(f){return zt(f)?(l.enter("blockQuotePrefixWhitespace"),l.consume(f),l.exit("blockQuotePrefixWhitespace"),l.exit("blockQuotePrefix"),u):(l.exit("blockQuotePrefix"),u(f))}}function ZS(l,u,a){const o=this;return s;function s(f){return zt(f)?Ut(l,h,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):h(f)}function h(f){return l.attempt(Ry,u,a)(f)}}function KS(l){l.exit("blockQuote")}const Uy={name:"characterEscape",tokenize:JS};function JS(l,u,a){return o;function o(h){return l.enter("characterEscape"),l.enter("escapeMarker"),l.consume(h),l.exit("escapeMarker"),s}function s(h){return RS(h)?(l.enter("characterEscapeValue"),l.consume(h),l.exit("characterEscapeValue"),l.exit("characterEscape"),u):a(h)}}const jy={name:"characterReference",tokenize:FS};function FS(l,u,a){const o=this;let s=0,h,f;return d;function d(p){return l.enter("characterReference"),l.enter("characterReferenceMarker"),l.consume(p),l.exit("characterReferenceMarker"),v}function v(p){return p===35?(l.enter("characterReferenceMarkerNumeric"),l.consume(p),l.exit("characterReferenceMarkerNumeric"),y):(l.enter("characterReferenceValue"),h=31,f=ze,g(p))}function y(p){return p===88||p===120?(l.enter("characterReferenceMarkerHexadecimal"),l.consume(p),l.exit("characterReferenceMarkerHexadecimal"),l.enter("characterReferenceValue"),h=6,f=MS,g):(l.enter("characterReferenceValue"),h=7,f=ff,g(p))}function g(p){if(p===59&&s){const x=l.exit("characterReferenceValue");return f===ze&&!Of(o.sliceSerialize(x))?a(p):(l.enter("characterReferenceMarker"),l.consume(p),l.exit("characterReferenceMarker"),l.exit("characterReference"),u)}return f(p)&&s++<h?(l.consume(p),g):a(p)}}const df={partial:!0,tokenize:IS};function IS(l,u,a){const o=this;return s;function s(f){return f===null?a(f):(l.enter("lineEnding"),l.consume(f),l.exit("lineEnding"),h)}function h(f){return o.parser.lazy[o.now().line]?a(f):u(f)}}const qg={concrete:!0,name:"codeFenced",tokenize:$S};function $S(l,u,a){const o=this,s={partial:!0,tokenize:rt};let h=0,f=0,d;return v;function v(H){return y(H)}function y(H){const F=o.events[o.events.length-1];return h=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[1],!0).length:0,d=H,l.enter("codeFenced"),l.enter("codeFencedFence"),l.enter("codeFencedFenceSequence"),g(H)}function g(H){return H===d?(f++,l.consume(H),g):f<3?a(H):(l.exit("codeFencedFenceSequence"),zt(H)?Ut(l,p,"whitespace")(H):p(H))}function p(H){return H===null||dt(H)?(l.exit("codeFencedFence"),o.interrupt?u(H):l.check(df,U,st)(H)):(l.enter("codeFencedFenceInfo"),l.enter("chunkString",{contentType:"string"}),x(H))}function x(H){return H===null||dt(H)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),p(H)):zt(H)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),Ut(l,b,"whitespace")(H)):H===96&&H===d?a(H):(l.consume(H),x)}function b(H){return H===null||dt(H)?p(H):(l.enter("codeFencedFenceMeta"),l.enter("chunkString",{contentType:"string"}),A(H))}function A(H){return H===null||dt(H)?(l.exit("chunkString"),l.exit("codeFencedFenceMeta"),p(H)):H===96&&H===d?a(H):(l.consume(H),A)}function U(H){return l.attempt(s,st,B)(H)}function B(H){return l.enter("lineEnding"),l.consume(H),l.exit("lineEnding"),M}function M(H){return h>0&&zt(H)?Ut(l,V,"linePrefix",h+1)(H):V(H)}function V(H){return H===null||dt(H)?l.check(df,U,st)(H):(l.enter("codeFlowValue"),Q(H))}function Q(H){return H===null||dt(H)?(l.exit("codeFlowValue"),V(H)):(l.consume(H),Q)}function st(H){return l.exit("codeFenced"),u(H)}function rt(H,F,tt){let kt=0;return j;function j(J){return H.enter("lineEnding"),H.consume(J),H.exit("lineEnding"),$}function $(J){return H.enter("codeFencedFence"),zt(J)?Ut(H,lt,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):lt(J)}function lt(J){return J===d?(H.enter("codeFencedFenceSequence"),Et(J)):tt(J)}function Et(J){return J===d?(kt++,H.consume(J),Et):kt>=f?(H.exit("codeFencedFenceSequence"),zt(J)?Ut(H,ot,"whitespace")(J):ot(J)):tt(J)}function ot(J){return J===null||dt(J)?(H.exit("codeFencedFence"),F(J)):tt(J)}}}const Xs={name:"codeIndented",tokenize:WS},PS={partial:!0,tokenize:tx};function WS(l,u,a){return o;function o(d){return l.enter("codeIndented"),My(l,s,a,"linePrefix",4,4)(d)}function s(d){return d===null?f(d):dt(d)?l.attempt(PS,s,f)(d):(l.enter("codeFlowValue"),h(d))}function h(d){return d===null||dt(d)?(l.exit("codeFlowValue"),s(d)):(l.consume(d),h)}function f(d){return l.exit("codeIndented"),u(d)}}function tx(l,u,a){const o=this;return s;function s(f){return o.parser.lazy[o.now().line]?a(f):dt(f)?(l.enter("lineEnding"),l.consume(f),l.exit("lineEnding"),s):My(l,u,h,"linePrefix",4,4)(f)}function h(f){return dt(f)?s(f):a(f)}}const ex={name:"codeText",previous:lx,resolve:nx,tokenize:ix};function nx(l){let u=l.length-4,a=3,o,s;if((l[a][1].type==="lineEnding"||l[a][1].type==="space")&&(l[u][1].type==="lineEnding"||l[u][1].type==="space")){for(o=a;++o<u;)if(l[o][1].type==="codeTextData"){l[a][1].type="codeTextPadding",l[u][1].type="codeTextPadding",a+=2,u-=2;break}}for(o=a-1,u++;++o<=u;)s===void 0?o!==u&&l[o][1].type!=="lineEnding"&&(s=o):(o===u||l[o][1].type==="lineEnding")&&(l[s][1].type="codeTextData",o!==s+2&&(l[s][1].end=l[o-1][1].end,l.splice(s+2,o-s-2),u-=o-s-2,o=s+2),s=void 0);return l}function lx(l){return l!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ix(l,u,a){let o=0,s,h;return f;function f(p){return l.enter("codeText"),l.enter("codeTextSequence"),d(p)}function d(p){return p===96?(l.consume(p),o++,d):(l.exit("codeTextSequence"),v(p))}function v(p){return p===null?a(p):p===32?(l.enter("space"),l.consume(p),l.exit("space"),v):p===96?(h=l.enter("codeTextSequence"),s=0,g(p)):dt(p)?(l.enter("lineEnding"),l.consume(p),l.exit("lineEnding"),v):(l.enter("codeTextData"),y(p))}function y(p){return p===null||p===32||p===96||dt(p)?(l.exit("codeTextData"),v(p)):(l.consume(p),y)}function g(p){return p===96?(l.consume(p),s++,g):s===o?(l.exit("codeTextSequence"),l.exit("codeText"),u(p)):(h.type="codeTextData",y(p))}}class ax{constructor(u){this.left=u?[...u]:[],this.right=[]}get(u){if(u<0||u>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+u+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return u<this.left.length?this.left[u]:this.right[this.right.length-u+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(u,a){const o=a??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(u,o):u>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-u+this.left.length).reverse():this.left.slice(u).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(u,a,o){const s=a||0;this.setCursor(Math.trunc(u));const h=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return o&&au(this.left,o),h.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(u){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(u)}pushMany(u){this.setCursor(Number.POSITIVE_INFINITY),au(this.left,u)}unshift(u){this.setCursor(0),this.right.push(u)}unshiftMany(u){this.setCursor(0),au(this.right,u.reverse())}setCursor(u){if(!(u===this.left.length||u>this.left.length&&this.right.length===0||u<0&&this.left.length===0))if(u<this.left.length){const a=this.left.splice(u,Number.POSITIVE_INFINITY);au(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-u,Number.POSITIVE_INFINITY);au(this.left,a.reverse())}}}function au(l,u){let a=0;if(u.length<1e4)l.push(...u);else for(;a<u.length;)l.push(...u.slice(a,a+1e4)),a+=1e4}function Ly(l){const u={};let a=-1,o,s,h,f,d,v,y;const g=new ax(l);for(;++a<g.length;){for(;a in u;)a=u[a];if(o=g.get(a),a&&o[1].type==="chunkFlow"&&g.get(a-1)[1].type==="listItemPrefix"&&(v=o[1]._tokenizer.events,h=0,h<v.length&&v[h][1].type==="lineEndingBlank"&&(h+=2),h<v.length&&v[h][1].type==="content"))for(;++h<v.length&&v[h][1].type!=="content";)v[h][1].type==="chunkText"&&(v[h][1]._isInFirstContentOfListItem=!0,h++);if(o[0]==="enter")o[1].contentType&&(Object.assign(u,ux(g,a)),a=u[a],y=!0);else if(o[1]._container){for(h=a,s=void 0;h--;)if(f=g.get(h),f[1].type==="lineEnding"||f[1].type==="lineEndingBlank")f[0]==="enter"&&(s&&(g.get(s)[1].type="lineEndingBlank"),f[1].type="lineEnding",s=h);else if(!(f[1].type==="linePrefix"||f[1].type==="listItemIndent"))break;s&&(o[1].end={...g.get(s)[1].start},d=g.slice(s,a),d.unshift(o),g.splice(s,a-s+1,d))}}return En(l,0,Number.POSITIVE_INFINITY,g.slice(0)),!y}function ux(l,u){const a=l.get(u)[1],o=l.get(u)[2];let s=u-1;const h=[];let f=a._tokenizer;f||(f=o.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(f._contentTypeTextTrailing=!0));const d=f.events,v=[],y={};let g,p,x=-1,b=a,A=0,U=0;const B=[U];for(;b;){for(;l.get(++s)[1]!==b;);h.push(s),b._tokenizer||(g=o.sliceStream(b),b.next||g.push(null),p&&f.defineSkip(b.start),b._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(g),b._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),p=b,b=b.next}for(b=a;++x<d.length;)d[x][0]==="exit"&&d[x-1][0]==="enter"&&d[x][1].type===d[x-1][1].type&&d[x][1].start.line!==d[x][1].end.line&&(U=x+1,B.push(U),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(f.events=[],b?(b._tokenizer=void 0,b.previous=void 0):B.pop(),x=B.length;x--;){const M=d.slice(B[x],B[x+1]),V=h.pop();v.push([V,V+M.length-1]),l.splice(V,2,M)}for(v.reverse(),x=-1;++x<v.length;)y[A+v[x][0]]=A+v[x][1],A+=v[x][1]-v[x][0]-1;return y}const rx={resolve:cx,tokenize:sx},ox={partial:!0,tokenize:fx};function cx(l){return Ly(l),l}function sx(l,u){let a;return o;function o(d){return l.enter("content"),a=l.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?h(d):dt(d)?l.check(ox,f,h)(d):(l.consume(d),s)}function h(d){return l.exit("chunkContent"),l.exit("content"),u(d)}function f(d){return l.consume(d),l.exit("chunkContent"),a.next=l.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,s}}function fx(l,u,a){const o=this;return s;function s(f){return l.exit("chunkContent"),l.enter("lineEnding"),l.consume(f),l.exit("lineEnding"),Ut(l,h,"linePrefix")}function h(f){if(f===null||dt(f))return a(f);const d=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?u(f):l.interrupt(o.parser.constructs.flow,a,u)(f)}}function By(l,u,a,o,s,h,f,d,v){const y=v||Number.POSITIVE_INFINITY;let g=0;return p;function p(M){return M===60?(l.enter(o),l.enter(s),l.enter(h),l.consume(M),l.exit(h),x):M===null||M===32||M===41||$r(M)?a(M):(l.enter(o),l.enter(f),l.enter(d),l.enter("chunkString",{contentType:"string"}),U(M))}function x(M){return M===62?(l.enter(h),l.consume(M),l.exit(h),l.exit(s),l.exit(o),u):(l.enter(d),l.enter("chunkString",{contentType:"string"}),b(M))}function b(M){return M===62?(l.exit("chunkString"),l.exit(d),x(M)):M===null||M===60||dt(M)?a(M):(l.consume(M),M===92?A:b)}function A(M){return M===60||M===62||M===92?(l.consume(M),b):b(M)}function U(M){return!g&&(M===null||M===41||Zt(M))?(l.exit("chunkString"),l.exit(d),l.exit(f),l.exit(o),u(M)):g<y&&M===40?(l.consume(M),g++,U):M===41?(l.consume(M),g--,U):M===null||M===32||M===40||$r(M)?a(M):(l.consume(M),M===92?B:U)}function B(M){return M===40||M===41||M===92?(l.consume(M),U):U(M)}}function Hy(l,u,a,o,s,h){const f=this;let d=0,v;return y;function y(b){return l.enter(o),l.enter(s),l.consume(b),l.exit(s),l.enter(h),g}function g(b){return d>999||b===null||b===91||b===93&&!v||b===94&&!d&&"_hiddenFootnoteSupport"in f.parser.constructs?a(b):b===93?(l.exit(h),l.enter(s),l.consume(b),l.exit(s),l.exit(o),u):dt(b)?(l.enter("lineEnding"),l.consume(b),l.exit("lineEnding"),g):(l.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||b===91||b===93||dt(b)||d++>999?(l.exit("chunkString"),g(b)):(l.consume(b),v||(v=!zt(b)),b===92?x:p)}function x(b){return b===91||b===92||b===93?(l.consume(b),d++,p):p(b)}}function qy(l,u,a,o,s,h){let f;return d;function d(x){return x===34||x===39||x===40?(l.enter(o),l.enter(s),l.consume(x),l.exit(s),f=x===40?41:x,v):a(x)}function v(x){return x===f?(l.enter(s),l.consume(x),l.exit(s),l.exit(o),u):(l.enter(h),y(x))}function y(x){return x===f?(l.exit(h),v(f)):x===null?a(x):dt(x)?(l.enter("lineEnding"),l.consume(x),l.exit("lineEnding"),Ut(l,y,"linePrefix")):(l.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===f||x===null||dt(x)?(l.exit("chunkString"),y(x)):(l.consume(x),x===92?p:g)}function p(x){return x===f||x===92?(l.consume(x),g):g(x)}}function cu(l,u){let a;return o;function o(s){return dt(s)?(l.enter("lineEnding"),l.consume(s),l.exit("lineEnding"),a=!0,o):zt(s)?Ut(l,o,a?"linePrefix":"lineSuffix")(s):u(s)}}const hx={name:"definition",tokenize:mx},dx={partial:!0,tokenize:px};function mx(l,u,a){const o=this;let s;return h;function h(b){return l.enter("definition"),f(b)}function f(b){return Hy.call(o,l,d,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function d(b){return s=Tn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),b===58?(l.enter("definitionMarker"),l.consume(b),l.exit("definitionMarker"),v):a(b)}function v(b){return Zt(b)?cu(l,y)(b):y(b)}function y(b){return By(l,g,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function g(b){return l.attempt(dx,p,p)(b)}function p(b){return zt(b)?Ut(l,x,"whitespace")(b):x(b)}function x(b){return b===null||dt(b)?(l.exit("definition"),o.parser.defined.push(s),u(b)):a(b)}}function px(l,u,a){return o;function o(d){return Zt(d)?cu(l,s)(d):a(d)}function s(d){return qy(l,h,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function h(d){return zt(d)?Ut(l,f,"whitespace")(d):f(d)}function f(d){return d===null||dt(d)?u(d):a(d)}}const gx={name:"hardBreakEscape",tokenize:yx};function yx(l,u,a){return o;function o(h){return l.enter("hardBreakEscape"),l.consume(h),s}function s(h){return dt(h)?(l.exit("hardBreakEscape"),u(h)):a(h)}}const vx={name:"headingAtx",resolve:bx,tokenize:Sx};function bx(l,u){let a=l.length-2,o=3;if(l[o][1].type==="whitespace"&&(o+=2),a-2>o&&l[a][1].type==="whitespace"&&(a-=2),l[a][1].type==="atxHeadingSequence"&&(o===a-1||a-4>o&&l[a-2][1].type==="whitespace")&&(a-=o+1===a?2:4),a>o){const s={type:"atxHeadingText",start:l[o][1].start,end:l[a][1].end},h={type:"chunkText",start:l[o][1].start,end:l[a][1].end,contentType:"text"};En(l,o,a-o+1,[["enter",s,u],["enter",h,u],["exit",h,u],["exit",s,u]])}return l}function Sx(l,u,a){let o=0;return s;function s(g){return l.enter("atxHeading"),h(g)}function h(g){return l.enter("atxHeadingSequence"),f(g)}function f(g){return g===35&&o++<6?(l.consume(g),f):g===null||Zt(g)?(l.exit("atxHeadingSequence"),d(g)):a(g)}function d(g){return g===35?(l.enter("atxHeadingSequence"),v(g)):g===null||dt(g)?(l.exit("atxHeading"),u(g)):zt(g)?Ut(l,d,"whitespace")(g):(l.enter("atxHeadingText"),y(g))}function v(g){return g===35?(l.consume(g),v):(l.exit("atxHeadingSequence"),d(g))}function y(g){return g===null||g===35||Zt(g)?(l.exit("atxHeadingText"),d(g)):(l.consume(g),y)}}const xx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Yg=["pre","script","style","textarea"],Ex={concrete:!0,name:"htmlFlow",resolveTo:Ax,tokenize:zx},Tx={partial:!0,tokenize:Cx};function Ax(l){let u=l.length;for(;u--&&!(l[u][0]==="enter"&&l[u][1].type==="htmlFlow"););return u>1&&l[u-2][1].type==="linePrefix"&&(l[u][1].start=l[u-2][1].start,l[u+1][1].start=l[u-2][1].start,l.splice(u-2,2)),l}function zx(l,u,a){const o=this;let s,h,f,d,v;return y;function y(C){return g(C)}function g(C){return l.enter("htmlFlow"),l.enter("htmlFlowData"),l.consume(C),p}function p(C){return C===33?(l.consume(C),x):C===47?(l.consume(C),h=!0,U):C===63?(l.consume(C),s=3,o.interrupt?u:T):ke(C)?(l.consume(C),f=String.fromCharCode(C),B):a(C)}function x(C){return C===45?(l.consume(C),s=2,b):C===91?(l.consume(C),s=5,d=0,A):ke(C)?(l.consume(C),s=4,o.interrupt?u:T):a(C)}function b(C){return C===45?(l.consume(C),o.interrupt?u:T):a(C)}function A(C){const _="CDATA[";return C===_.charCodeAt(d++)?(l.consume(C),d===_.length?o.interrupt?u:lt:A):a(C)}function U(C){return ke(C)?(l.consume(C),f=String.fromCharCode(C),B):a(C)}function B(C){if(C===null||C===47||C===62||Zt(C)){const _=C===47,X=f.toLowerCase();return!_&&!h&&Yg.includes(X)?(s=1,o.interrupt?u(C):lt(C)):xx.includes(f.toLowerCase())?(s=6,_?(l.consume(C),M):o.interrupt?u(C):lt(C)):(s=7,o.interrupt&&!o.parser.lazy[o.now().line]?a(C):h?V(C):Q(C))}return C===45||ze(C)?(l.consume(C),f+=String.fromCharCode(C),B):a(C)}function M(C){return C===62?(l.consume(C),o.interrupt?u:lt):a(C)}function V(C){return zt(C)?(l.consume(C),V):j(C)}function Q(C){return C===47?(l.consume(C),j):C===58||C===95||ke(C)?(l.consume(C),st):zt(C)?(l.consume(C),Q):j(C)}function st(C){return C===45||C===46||C===58||C===95||ze(C)?(l.consume(C),st):rt(C)}function rt(C){return C===61?(l.consume(C),H):zt(C)?(l.consume(C),rt):Q(C)}function H(C){return C===null||C===60||C===61||C===62||C===96?a(C):C===34||C===39?(l.consume(C),v=C,F):zt(C)?(l.consume(C),H):tt(C)}function F(C){return C===v?(l.consume(C),v=null,kt):C===null||dt(C)?a(C):(l.consume(C),F)}function tt(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||Zt(C)?rt(C):(l.consume(C),tt)}function kt(C){return C===47||C===62||zt(C)?Q(C):a(C)}function j(C){return C===62?(l.consume(C),$):a(C)}function $(C){return C===null||dt(C)?lt(C):zt(C)?(l.consume(C),$):a(C)}function lt(C){return C===45&&s===2?(l.consume(C),Z):C===60&&s===1?(l.consume(C),et):C===62&&s===4?(l.consume(C),$t):C===63&&s===3?(l.consume(C),T):C===93&&s===5?(l.consume(C),_t):dt(C)&&(s===6||s===7)?(l.exit("htmlFlowData"),l.check(Tx,oe,Et)(C)):C===null||dt(C)?(l.exit("htmlFlowData"),Et(C)):(l.consume(C),lt)}function Et(C){return l.check(df,ot,oe)(C)}function ot(C){return l.enter("lineEnding"),l.consume(C),l.exit("lineEnding"),J}function J(C){return C===null||dt(C)?Et(C):(l.enter("htmlFlowData"),lt(C))}function Z(C){return C===45?(l.consume(C),T):lt(C)}function et(C){return C===47?(l.consume(C),f="",ct):lt(C)}function ct(C){if(C===62){const _=f.toLowerCase();return Yg.includes(_)?(l.consume(C),$t):lt(C)}return ke(C)&&f.length<8?(l.consume(C),f+=String.fromCharCode(C),ct):lt(C)}function _t(C){return C===93?(l.consume(C),T):lt(C)}function T(C){return C===62?(l.consume(C),$t):C===45&&s===2?(l.consume(C),T):lt(C)}function $t(C){return C===null||dt(C)?(l.exit("htmlFlowData"),oe(C)):(l.consume(C),$t)}function oe(C){return l.exit("htmlFlow"),u(C)}}function Cx(l,u,a){return o;function o(s){return l.enter("lineEnding"),l.consume(s),l.exit("lineEnding"),l.attempt(du,u,a)}}const _x={name:"htmlText",tokenize:Ox};function Ox(l,u,a){const o=this;let s,h,f;return d;function d(T){return l.enter("htmlText"),l.enter("htmlTextData"),l.consume(T),v}function v(T){return T===33?(l.consume(T),y):T===47?(l.consume(T),rt):T===63?(l.consume(T),Q):ke(T)?(l.consume(T),tt):a(T)}function y(T){return T===45?(l.consume(T),g):T===91?(l.consume(T),h=0,A):ke(T)?(l.consume(T),V):a(T)}function g(T){return T===45?(l.consume(T),b):a(T)}function p(T){return T===null?a(T):T===45?(l.consume(T),x):dt(T)?(f=p,et(T)):(l.consume(T),p)}function x(T){return T===45?(l.consume(T),b):p(T)}function b(T){return T===62?Z(T):T===45?x(T):p(T)}function A(T){const $t="CDATA[";return T===$t.charCodeAt(h++)?(l.consume(T),h===$t.length?U:A):a(T)}function U(T){return T===null?a(T):T===93?(l.consume(T),B):dt(T)?(f=U,et(T)):(l.consume(T),U)}function B(T){return T===93?(l.consume(T),M):U(T)}function M(T){return T===62?Z(T):T===93?(l.consume(T),M):U(T)}function V(T){return T===null||T===62?Z(T):dt(T)?(f=V,et(T)):(l.consume(T),V)}function Q(T){return T===null?a(T):T===63?(l.consume(T),st):dt(T)?(f=Q,et(T)):(l.consume(T),Q)}function st(T){return T===62?Z(T):Q(T)}function rt(T){return ke(T)?(l.consume(T),H):a(T)}function H(T){return T===45||ze(T)?(l.consume(T),H):F(T)}function F(T){return dt(T)?(f=F,et(T)):zt(T)?(l.consume(T),F):Z(T)}function tt(T){return T===45||ze(T)?(l.consume(T),tt):T===47||T===62||Zt(T)?kt(T):a(T)}function kt(T){return T===47?(l.consume(T),Z):T===58||T===95||ke(T)?(l.consume(T),j):dt(T)?(f=kt,et(T)):zt(T)?(l.consume(T),kt):Z(T)}function j(T){return T===45||T===46||T===58||T===95||ze(T)?(l.consume(T),j):$(T)}function $(T){return T===61?(l.consume(T),lt):dt(T)?(f=$,et(T)):zt(T)?(l.consume(T),$):kt(T)}function lt(T){return T===null||T===60||T===61||T===62||T===96?a(T):T===34||T===39?(l.consume(T),s=T,Et):dt(T)?(f=lt,et(T)):zt(T)?(l.consume(T),lt):(l.consume(T),ot)}function Et(T){return T===s?(l.consume(T),s=void 0,J):T===null?a(T):dt(T)?(f=Et,et(T)):(l.consume(T),Et)}function ot(T){return T===null||T===34||T===39||T===60||T===61||T===96?a(T):T===47||T===62||Zt(T)?kt(T):(l.consume(T),ot)}function J(T){return T===47||T===62||Zt(T)?kt(T):a(T)}function Z(T){return T===62?(l.consume(T),l.exit("htmlTextData"),l.exit("htmlText"),u):a(T)}function et(T){return l.exit("htmlTextData"),l.enter("lineEnding"),l.consume(T),l.exit("lineEnding"),ct}function ct(T){return zt(T)?Ut(l,_t,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):_t(T)}function _t(T){return l.enter("htmlTextData"),f(T)}}const wf={name:"labelEnd",resolveAll:kx,resolveTo:Mx,tokenize:Rx},wx={tokenize:Ux},Nx={tokenize:jx},Dx={tokenize:Lx};function kx(l){let u=-1;const a=[];for(;++u<l.length;){const o=l[u][1];if(a.push(l[u]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const s=o.type==="labelImage"?4:2;o.type="data",u+=s}}return l.length!==a.length&&En(l,0,l.length,a),l}function Mx(l,u){let a=l.length,o=0,s,h,f;for(;a--;){const g=l[a][1];if(s){if(g.type==="link"||g.type==="labelLink"&&g._inactive)break;l[a][0]==="enter"&&g.type==="labelLink"&&(g._inactive=!0)}else if(h){if(l[a][0]==="enter"&&(g.type==="labelImage"||g.type==="labelLink")&&!g._balanced&&(s=a,g.type!=="labelLink")){o=2;break}}else g.type==="labelEnd"&&(h=a)}const d={type:l[s][1].type==="labelLink"?"link":"image",start:{...l[s][1].start},end:{...l[l.length-1][1].end}},v={type:"label",start:{...l[s][1].start},end:{...l[h][1].end}},y={type:"labelText",start:{...l[s+o+2][1].end},end:{...l[h-2][1].start}};return f=[["enter",d,u],["enter",v,u]],f=dn(f,l.slice(s+1,s+o+3)),f=dn(f,[["enter",y,u]]),f=dn(f,lo(u.parser.constructs.insideSpan.null,l.slice(s+o+4,h-3),u)),f=dn(f,[["exit",y,u],l[h-2],l[h-1],["exit",v,u]]),f=dn(f,l.slice(h+1)),f=dn(f,[["exit",d,u]]),En(l,s,l.length,f),l}function Rx(l,u,a){const o=this,s=o._labelStarts;let h,f;if(s){for(;s.length>0&&s[s.length-1]._balanced;)s.pop();h=s[s.length-1]}return d;function d(x){return h?h._inactive?p(x):(f=o.parser.defined.includes(Tn(o.sliceSerialize({start:h.end,end:o.now()}))),l.enter("labelEnd"),l.enter("labelMarker"),l.consume(x),l.exit("labelMarker"),l.exit("labelEnd"),v):a(x)}function v(x){return x===40?l.attempt(wx,g,f?g:p)(x):x===91?l.attempt(Nx,g,f?y:p)(x):f?g(x):p(x)}function y(x){return l.attempt(Dx,g,p)(x)}function g(x){return s.pop(),u(x)}function p(x){return h._balanced=!0,a(x)}}function Ux(l,u,a){return o;function o(p){return l.enter("resource"),l.enter("resourceMarker"),l.consume(p),l.exit("resourceMarker"),s}function s(p){return Zt(p)?cu(l,h)(p):h(p)}function h(p){return p===41?g(p):By(l,f,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function f(p){return Zt(p)?cu(l,v)(p):g(p)}function d(p){return a(p)}function v(p){return p===34||p===39||p===40?qy(l,y,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):g(p)}function y(p){return Zt(p)?cu(l,g)(p):g(p)}function g(p){return p===41?(l.enter("resourceMarker"),l.consume(p),l.exit("resourceMarker"),l.exit("resource"),u):a(p)}}function jx(l,u,a){const o=this;return s;function s(d){return Hy.call(o,l,h,f,"reference","referenceMarker","referenceString")(d)}function h(d){return o.parser.defined.includes(Tn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?u(d):a(d)}function f(d){return a(d)}}function Lx(l,u,a){return o;function o(h){return l.enter("reference"),l.enter("referenceMarker"),l.consume(h),l.exit("referenceMarker"),s}function s(h){return h===93?(l.enter("referenceMarker"),l.consume(h),l.exit("referenceMarker"),l.exit("reference"),u):a(h)}}const Bx={name:"labelStartImage",resolveAll:wf.resolveAll,tokenize:Hx};function Hx(l,u,a){const o=this;let s;return h;function h(v){return l.enter("labelImage"),l.enter("labelImageMarker"),l.consume(v),l.exit("labelImageMarker"),f}function f(v){return v===91?(l.enter("labelMarker"),l.consume(v),l.exit("labelMarker"),s=l.exit("labelImage"),d):a(v)}function d(v){return v===94&&"_hiddenFootnoteSupport"in o.parser.constructs?a(v):(o._labelStarts=o._labelStarts||[],o._labelStarts.push(s),u(v))}}const qx={name:"labelStartLink",resolveAll:wf.resolveAll,tokenize:Yx};function Yx(l,u,a){const o=this;let s;return h;function h(d){return l.enter("labelLink"),l.enter("labelMarker"),l.consume(d),l.exit("labelMarker"),s=l.exit("labelLink"),f}function f(d){return d===94&&"_hiddenFootnoteSupport"in o.parser.constructs?a(d):(o._labelStarts=o._labelStarts||[],o._labelStarts.push(s),u(d))}}const Qs={name:"lineEnding",tokenize:Vx};function Vx(l,u){return a;function a(o){return l.enter("lineEnding"),l.consume(o),l.exit("lineEnding"),Ut(l,u,"linePrefix")}}const Fr={name:"thematicBreak",tokenize:Gx};function Gx(l,u,a){let o=0,s;return h;function h(y){return l.enter("thematicBreak"),f(y)}function f(y){return s=y,d(y)}function d(y){return y===s?(l.enter("thematicBreakSequence"),v(y)):o>=3&&(y===null||dt(y))?(l.exit("thematicBreak"),u(y)):a(y)}function v(y){return y===s?(l.consume(y),o++,v):(l.exit("thematicBreakSequence"),zt(y)?Ut(l,d,"whitespace")(y):d(y))}}const Ye={continuation:{tokenize:Kx},exit:Fx,name:"list",tokenize:Zx},Xx={partial:!0,tokenize:Ix},Qx={partial:!0,tokenize:Jx};function Zx(l,u,a){const o=this,s=o.events[o.events.length-1];let h=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,f=0;return d;function d(b){const A=o.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!o.containerState.marker||b===o.containerState.marker:ff(b)){if(o.containerState.type||(o.containerState.type=A,l.enter(A,{_container:!0})),A==="listUnordered")return l.enter("listItemPrefix"),b===42||b===45?l.check(Fr,a,y)(b):y(b);if(!o.interrupt||b===49)return l.enter("listItemPrefix"),l.enter("listItemValue"),v(b)}return a(b)}function v(b){return ff(b)&&++f<10?(l.consume(b),v):(!o.interrupt||f<2)&&(o.containerState.marker?b===o.containerState.marker:b===41||b===46)?(l.exit("listItemValue"),y(b)):a(b)}function y(b){return l.enter("listItemMarker"),l.consume(b),l.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||b,l.check(du,o.interrupt?a:g,l.attempt(Xx,x,p))}function g(b){return o.containerState.initialBlankLine=!0,h++,x(b)}function p(b){return zt(b)?(l.enter("listItemPrefixWhitespace"),l.consume(b),l.exit("listItemPrefixWhitespace"),x):a(b)}function x(b){return o.containerState.size=h+o.sliceSerialize(l.exit("listItemPrefix"),!0).length,u(b)}}function Kx(l,u,a){const o=this;return o.containerState._closeFlow=void 0,l.check(du,s,h);function s(d){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Ut(l,u,"listItemIndent",o.containerState.size+1)(d)}function h(d){return o.containerState.furtherBlankLines||!zt(d)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,f(d)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,l.attempt(Qx,u,f)(d))}function f(d){return o.containerState._closeFlow=!0,o.interrupt=void 0,Ut(l,l.attempt(Ye,u,a),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function Jx(l,u,a){const o=this;return Ut(l,s,"listItemIndent",o.containerState.size+1);function s(h){const f=o.events[o.events.length-1];return f&&f[1].type==="listItemIndent"&&f[2].sliceSerialize(f[1],!0).length===o.containerState.size?u(h):a(h)}}function Fx(l){l.exit(this.containerState.type)}function Ix(l,u,a){const o=this;return Ut(l,s,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(h){const f=o.events[o.events.length-1];return!zt(h)&&f&&f[1].type==="listItemPrefixWhitespace"?u(h):a(h)}}const Vg={name:"setextUnderline",resolveTo:$x,tokenize:Px};function $x(l,u){const a=new Pr;let o=l.length,s,h,f;for(;o--;)if(l[o][0]==="enter"){if(l[o][1].type==="content"){s=o;break}l[o][1].type==="paragraph"&&(h=o)}else l[o][1].type==="content"&&a.add(o,1,[]),!f&&l[o][1].type==="definition"&&(f=o);const d={type:"setextHeading",start:{...l[s][1].start},end:{...l[l.length-1][1].end}};return l[h][1].type="setextHeadingText",f?(a.add(h,0,[["enter",d,u]]),a.add(f+1,0,[["exit",l[s][1],u]]),l[s][1].end={...l[f][1].end}):l[s][1]=d,a.add(l.length,0,[["exit",d,u]]),a.consume(l),l}function Px(l,u,a){const o=this;let s;return h;function h(y){let g=o.events.length,p;for(;g--;)if(o.events[g][1].type!=="lineEnding"&&o.events[g][1].type!=="linePrefix"&&o.events[g][1].type!=="content"){p=o.events[g][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||p)?(l.enter("setextHeadingLine"),s=y,f(y)):a(y)}function f(y){return l.enter("setextHeadingLineSequence"),d(y)}function d(y){return y===s?(l.consume(y),d):(l.exit("setextHeadingLineSequence"),zt(y)?Ut(l,v,"lineSuffix")(y):v(y))}function v(y){return y===null||dt(y)?(l.exit("setextHeadingLine"),u(y)):a(y)}}const Wx={tokenize:tE};function tE(l){const u=this,a=l.attempt(du,o,l.attempt(this.parser.constructs.flowInitial,s,Ut(l,l.attempt(this.parser.constructs.flow,s,l.attempt(rx,s)),"linePrefix")));return a;function o(h){if(h===null){l.consume(h);return}return l.enter("lineEndingBlank"),l.consume(h),l.exit("lineEndingBlank"),u.currentConstruct=void 0,a}function s(h){if(h===null){l.consume(h);return}return l.enter("lineEnding"),l.consume(h),l.exit("lineEnding"),u.currentConstruct=void 0,a}}const eE={resolveAll:Vy()},nE=Yy("string"),lE=Yy("text");function Yy(l){return{resolveAll:Vy(l==="text"?iE:void 0),tokenize:u};function u(a){const o=this,s=this.parser.constructs[l],h=a.attempt(s,f,d);return f;function f(g){return y(g)?h(g):d(g)}function d(g){if(g===null){a.consume(g);return}return a.enter("data"),a.consume(g),v}function v(g){return y(g)?(a.exit("data"),h(g)):(a.consume(g),v)}function y(g){if(g===null)return!0;const p=s[g];let x=-1;if(p)for(;++x<p.length;){const b=p[x];if(!b.previous||b.previous.call(o,o.previous))return!0}return!1}}}function Vy(l){return u;function u(a,o){let s=-1,h;for(;++s<=a.length;)h===void 0?a[s]&&a[s][1].type==="data"&&(h=s,s++):(!a[s]||a[s][1].type!=="data")&&(s!==h+2&&(a[h][1].end=a[s-1][1].end,a.splice(h+2,s-h-2),s=h+2),h=void 0);return l?l(a,o):a}}function iE(l,u){const a=new Pr;let o=0;for(;++o<=l.length;)if((o===l.length||l[o][1].type==="lineEnding")&&l[o-1][1].type==="data"){const s=l[o-1][1],h=u.sliceStream(s);let f=h.length,d=-1,v=0,y;for(;f--;){const g=h[f];if(typeof g=="string"){for(d=g.length;g.charCodeAt(d-1)===32;)v++,d--;if(d)break;d=-1}else if(g===-2)y=!0,v++;else if(g!==-1){f++;break}}if(u._contentTypeTextTrailing&&o===l.length&&(v=0),v){const g={type:o===l.length||y||v<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?d:s.start._bufferIndex+d,_index:s.start._index+f,line:s.end.line,column:s.end.column-v,offset:s.end.offset-v},end:{...s.end}};s.end={...g.start},s.start.offset===s.end.offset?Object.assign(s,g):a.add(o,0,[["enter",g,u],["exit",g,u]])}o++}return a.consume(l),l}const aE={42:Ye,43:Ye,45:Ye,48:Ye,49:Ye,50:Ye,51:Ye,52:Ye,53:Ye,54:Ye,55:Ye,56:Ye,57:Ye,62:Ry},uE={91:hx},rE={[-2]:Xs,[-1]:Xs,32:Xs},oE={35:vx,42:Fr,45:[Vg,Fr],60:Ex,61:Vg,95:Fr,96:qg,126:qg},cE={38:jy,92:Uy},sE={[-5]:Qs,[-4]:Qs,[-3]:Qs,33:Bx,38:jy,42:hf,60:[VS,_x],91:qx,92:[gx,Uy],93:wf,95:hf,96:ex},fE={null:[hf,eE]},hE={null:[42,95]},dE={null:[]},mE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:hE,contentInitial:uE,disable:dE,document:aE,flow:oE,flowInitial:rE,insideSpan:fE,string:cE,text:sE},Symbol.toStringTag,{value:"Module"}));function pE(l,u,a){let o={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const s={},h=[];let f=[],d=[];const v={attempt:F(rt),check:F(H),consume:V,enter:Q,exit:st,interrupt:F(H,{interrupt:!0})},y={code:null,containerState:{},defineSkip:U,events:[],now:A,parser:l,previous:null,sliceSerialize:x,sliceStream:b,write:p};let g=u.tokenize.call(y,v);return u.resolveAll&&h.push(u),y;function p($){return f=dn(f,$),B(),f[f.length-1]!==null?[]:(tt(u,0),y.events=lo(h,y.events,y),y.events)}function x($,lt){return yE(b($),lt)}function b($){return gE(f,$)}function A(){const{_bufferIndex:$,_index:lt,line:Et,column:ot,offset:J}=o;return{_bufferIndex:$,_index:lt,line:Et,column:ot,offset:J}}function U($){s[$.line]=$.column,j()}function B(){for(;o._index<f.length;){const $=f[o._index];if(typeof $=="string"){const lt=o._index;for(o._bufferIndex<0&&(o._bufferIndex=0);o._index===lt&&o._bufferIndex<$.length;)M($.charCodeAt(o._bufferIndex))}else M($)}}function M($){g=g($)}function V($){dt($)?(o.line++,o.column=1,o.offset+=$===-3?2:1,j()):$!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===f[o._index].length&&(o._bufferIndex=-1,o._index++)),y.previous=$}function Q($,lt){const Et=lt||{};return Et.type=$,Et.start=A(),y.events.push(["enter",Et,y]),d.push(Et),Et}function st($){const lt=d.pop();return lt.end=A(),y.events.push(["exit",lt,y]),lt}function rt($,lt){tt($,lt.from)}function H($,lt){lt.restore()}function F($,lt){return Et;function Et(ot,J,Z){let et,ct,_t,T;return Array.isArray(ot)?oe(ot):"tokenize"in ot?oe([ot]):$t(ot);function $t(W){return ut;function ut(bt){const Tt=bt!==null&&W[bt],Ct=bt!==null&&W.null,at=[...Array.isArray(Tt)?Tt:Tt?[Tt]:[],...Array.isArray(Ct)?Ct:Ct?[Ct]:[]];return oe(at)(bt)}}function oe(W){return et=W,ct=0,W.length===0?Z:C(W[ct])}function C(W){return ut;function ut(bt){return T=kt(),_t=W,W.partial||(y.currentConstruct=W),W.name&&y.parser.constructs.disable.null.includes(W.name)?X():W.tokenize.call(lt?Object.assign(Object.create(y),lt):y,v,_,X)(bt)}}function _(W){return $(_t,T),J}function X(W){return T.restore(),++ct<et.length?C(et[ct]):Z}}}function tt($,lt){$.resolveAll&&!h.includes($)&&h.push($),$.resolve&&En(y.events,lt,y.events.length-lt,$.resolve(y.events.slice(lt),y)),$.resolveTo&&(y.events=$.resolveTo(y.events,y))}function kt(){const $=A(),lt=y.previous,Et=y.currentConstruct,ot=y.events.length,J=Array.from(d);return{from:ot,restore:Z};function Z(){o=$,y.previous=lt,y.currentConstruct=Et,y.events.length=ot,d=J,j()}}function j(){o.line in s&&o.column<2&&(o.column=s[o.line],o.offset+=s[o.line]-1)}}function gE(l,u){const a=u.start._index,o=u.start._bufferIndex,s=u.end._index,h=u.end._bufferIndex;let f;if(a===s)f=[l[a].slice(o,h)];else{if(f=l.slice(a,s),o>-1){const d=f[0];typeof d=="string"?f[0]=d.slice(o):f.shift()}h>0&&f.push(l[s].slice(0,h))}return f}function yE(l,u){let a=-1;const o=[];let s;for(;++a<l.length;){const h=l[a];let f;if(typeof h=="string")f=h;else switch(h){case-5:{f="\r";break}case-4:{f=`
51
- `;break}case-3:{f=`\r
52
- `;break}case-2:{f=u?" ":" ";break}case-1:{if(!u&&s)continue;f=" ";break}default:f=String.fromCharCode(h)}s=h===-2,o.push(f)}return o.join("")}function vE(l){const o={constructs:Dy([mE,...(l||{}).extensions||[]]),content:s(US),defined:[],document:s(LS),flow:s(Wx),lazy:{},string:s(nE),text:s(lE)};return o;function s(h){return f;function f(d){return pE(o,h,d)}}}function bE(l){for(;!Ly(l););return l}const Gg=/[\0\t\n\r]/g;function SE(){let l=1,u="",a=!0,o;return s;function s(h,f,d){h=u+(typeof h=="string"?h.toString():new TextDecoder(f||void 0).decode(h));const v=[];let y=0;for(u="",a&&(h.charCodeAt(0)===65279&&y++,a=void 0);y<h.length;){Gg.lastIndex=y;const g=Gg.exec(h),p=g&&g.index!==void 0?g.index:h.length,x=h.charCodeAt(p);if(!g){u=h.slice(y);break}if(x===10&&y===p&&o)v.push(-3),o=void 0;else switch(o&&(v.push(-5),o=void 0),y<p&&(v.push(h.slice(y,p)),l+=p-y),x){case 0:{v.push(65533),l++;break}case 9:{const b=Math.ceil(l/4)*4;for(v.push(-2);l++<b;)v.push(-1);break}case 10:{v.push(-4),l=1;break}default:o=!0,l=1}y=p+1}return d&&(o&&v.push(-5),u&&v.push(u),v.push(null)),v}}const xE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function EE(l){return l.replace(xE,TE)}function TE(l,u,a){if(u)return u;if(a.charCodeAt(0)===35){const s=a.charCodeAt(1),h=s===120||s===88;return ky(a.slice(h?2:1),h?16:10)}return Of(a)||l}const Gy={}.hasOwnProperty;function AE(l,u,a){return u&&typeof u=="object"&&(a=u,u=void 0),zE(a)(bE(vE(a).document().write(SE()(l,u,!0))))}function zE(l){const u={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(il),autolinkProtocol:j,autolinkEmail:j,atxHeading:f(Ge),blockQuote:f(at),characterEscape:j,characterReference:j,codeFenced:f(pt),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(pt,d),codeText:f(mn,d),codeTextData:j,data:j,codeFlowValue:j,definition:f(ua),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(ll),hardBreakEscape:f(ne),hardBreakTrailing:f(ne),htmlFlow:f(Bt,d),htmlFlowData:j,htmlText:f(Bt,d),htmlTextData:j,image:f(en),label:d,link:f(il),listItem:f(si),listItemValue:b,listOrdered:f(pn,x),listUnordered:f(pn),paragraph:f(fi),reference:_,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(Ge),strong:f(al),thematicBreak:f(hi)},exit:{atxHeading:y(),atxHeadingSequence:H,autolink:y(),autolinkEmail:Ct,autolinkProtocol:Tt,blockQuote:y(),characterEscapeValue:$,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:ut,characterReference:bt,codeFenced:y(M),codeFencedFence:B,codeFencedFenceInfo:A,codeFencedFenceMeta:U,codeFlowValue:$,codeIndented:y(V),codeText:y(Z),codeTextData:$,data:$,definition:y(),definitionDestinationString:rt,definitionLabelString:Q,definitionTitleString:st,emphasis:y(),hardBreakEscape:y(Et),hardBreakTrailing:y(Et),htmlFlow:y(ot),htmlFlowData:$,htmlText:y(J),htmlTextData:$,image:y(ct),label:T,labelText:_t,lineEnding:lt,link:y(et),listItem:y(),listOrdered:y(),listUnordered:y(),paragraph:y(),referenceString:X,resourceDestinationString:$t,resourceTitleString:oe,resource:C,setextHeading:y(kt),setextHeadingLineSequence:tt,setextHeadingText:F,strong:y(),thematicBreak:y()}};Xy(u,(l||{}).mdastExtensions||[]);const a={};return o;function o(L){let I={type:"root",children:[],position:void 0};const ht={stack:[I],tokenStack:[],config:u,enter:v,exit:g,buffer:d,resume:p,data:a},vt=[],se=[];let Gt=-1;for(;++Gt<L.length;)if(se.push(L[Gt]),L[Gt][1].type==="listOrdered"||L[Gt][1].type==="listUnordered")if(L[Gt][0]==="enter")vt.push(se.length-1);else{const pe=vt.pop();h(se,pe)}for(L=se,Gt=-1;++Gt<L.length;){const pe=u[L[Gt][0]];L[Gt][0]==="enter"&&u.beforeEnter.length>0&&s(u.beforeEnter,{...ht,sliceSerialize:L[Gt][2].sliceSerialize},L[Gt][1]),Gy.call(pe,L[Gt][1].type)&&pe[L[Gt][1].type].call({...ht,sliceSerialize:L[Gt][2].sliceSerialize},L[Gt][1]),L[Gt][0]==="exit"&&u.afterExit.length>0&&s(u.afterExit,{...ht,sliceSerialize:L[Gt][2].sliceSerialize},L[Gt][1])}if(ht.tokenStack.length>0){const pe=ht.tokenStack[ht.tokenStack.length-1];(pe[1]||Xg).call(ht,void 0,pe[0])}for(I.position={start:Ml(L.length>0?L[0][1].start:{line:1,column:1,offset:0}),end:Ml(L.length>0?L[L.length-2][1].end:{line:1,column:1,offset:0})},Gt=-1;++Gt<u.transforms.length;)I=u.transforms[Gt](I)||I;return I}function s(L,I,ht){let vt=-1;for(;++vt<L.length;)L[vt].call(I,ht)}function h(L,I){const ht=L.length-1;let vt=I-1,se=-1,Gt=!1,pe,Re,Ln,Bn;const Ul=[];for(;++vt<=ht;){const _e=L[vt];switch(_e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{_e[0]==="enter"?se++:se--,Bn=void 0;break}case"lineEndingBlank":{_e[0]==="enter"&&(pe&&!Bn&&!se&&!Ln&&(Ln=vt),Bn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Bn=void 0}if(!se&&_e[0]==="enter"&&_e[1].type==="listItemPrefix"||se===-1&&_e[0]==="exit"&&(_e[1].type==="listUnordered"||_e[1].type==="listOrdered")){if(pe){let Hn=vt;for(Re=void 0;Hn--;){const nn=L[Hn];if(nn[1].type==="lineEnding"||nn[1].type==="lineEndingBlank"){if(nn[0]==="exit")continue;Re&&(L[Re][1].type="lineEndingBlank",Gt=!0),nn[1].type="lineEnding",Re=Hn}else if(!(nn[1].type==="linePrefix"||nn[1].type==="blockQuotePrefix"||nn[1].type==="blockQuotePrefixWhitespace"||nn[1].type==="blockQuoteMarker"||nn[1].type==="listItemIndent"))break}Ln&&(!Re||Ln<Re)&&(pe._spread=!0),pe.end=Object.assign({},Re?L[Re][1].start:_e[1].end),Ul.push({at:Re||vt,event:["exit",pe,_e[2]]})}if(_e[1].type==="listItemPrefix"){const Hn={type:"listItem",_spread:!1,start:Object.assign({},_e[1].start),end:void 0};pe=Hn,Ul.push({at:vt,event:["enter",Hn,_e[2]]}),Ln=void 0,Bn=!0}}}const pu=L.splice(I);let ge=0;for(vt=-1;++vt<pu.length;){for(;ge<Ul.length&&Ul[ge].at===I+vt;)L.push(Ul[ge++].event);L.push(pu[vt])}L[I][1]._spread=Gt}function f(L,I){return ht;function ht(vt){v.call(this,L(vt),vt),I&&I.call(this,vt)}}function d(){this.stack.push({type:"fragment",children:[]})}function v(L,I,ht){this.stack[this.stack.length-1].children.push(L),this.stack.push(L),this.tokenStack.push([I,ht||void 0]),L.position={start:Ml(I.start),end:void 0}}function y(L){return I;function I(ht){L&&L.call(this,ht),g.call(this,ht)}}function g(L,I){const ht=this.stack.pop(),vt=this.tokenStack.pop();if(!vt)throw new Error("Cannot close `"+L.type+"` ("+ou({start:L.start,end:L.end})+"): it’s not open");vt[0].type!==L.type&&(I?I.call(this,L,vt[0]):(vt[1]||Xg).call(this,L,vt[0])),ht.position.end=Ml(L.end)}function p(){return _f(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function b(L){if(this.data.expectingFirstListItemValue){const I=this.stack[this.stack.length-2];I.start=Number.parseInt(this.sliceSerialize(L),10),this.data.expectingFirstListItemValue=void 0}}function A(){const L=this.resume(),I=this.stack[this.stack.length-1];I.lang=L}function U(){const L=this.resume(),I=this.stack[this.stack.length-1];I.meta=L}function B(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function M(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function V(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L.replace(/(\r?\n|\r)$/g,"")}function Q(L){const I=this.resume(),ht=this.stack[this.stack.length-1];ht.label=I,ht.identifier=Tn(this.sliceSerialize(L)).toLowerCase()}function st(){const L=this.resume(),I=this.stack[this.stack.length-1];I.title=L}function rt(){const L=this.resume(),I=this.stack[this.stack.length-1];I.url=L}function H(L){const I=this.stack[this.stack.length-1];if(!I.depth){const ht=this.sliceSerialize(L).length;I.depth=ht}}function F(){this.data.setextHeadingSlurpLineEnding=!0}function tt(L){const I=this.stack[this.stack.length-1];I.depth=this.sliceSerialize(L).codePointAt(0)===61?1:2}function kt(){this.data.setextHeadingSlurpLineEnding=void 0}function j(L){const ht=this.stack[this.stack.length-1].children;let vt=ht[ht.length-1];(!vt||vt.type!=="text")&&(vt=ra(),vt.position={start:Ml(L.start),end:void 0},ht.push(vt)),this.stack.push(vt)}function $(L){const I=this.stack.pop();I.value+=this.sliceSerialize(L),I.position.end=Ml(L.end)}function lt(L){const I=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ht=I.children[I.children.length-1];ht.position.end=Ml(L.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&u.canContainEols.includes(I.type)&&(j.call(this,L),$.call(this,L))}function Et(){this.data.atHardBreak=!0}function ot(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L}function J(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L}function Z(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L}function et(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=I,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function ct(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=I,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function _t(L){const I=this.sliceSerialize(L),ht=this.stack[this.stack.length-2];ht.label=EE(I),ht.identifier=Tn(I).toLowerCase()}function T(){const L=this.stack[this.stack.length-1],I=this.resume(),ht=this.stack[this.stack.length-1];if(this.data.inReference=!0,ht.type==="link"){const vt=L.children;ht.children=vt}else ht.alt=I}function $t(){const L=this.resume(),I=this.stack[this.stack.length-1];I.url=L}function oe(){const L=this.resume(),I=this.stack[this.stack.length-1];I.title=L}function C(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function X(L){const I=this.resume(),ht=this.stack[this.stack.length-1];ht.label=I,ht.identifier=Tn(this.sliceSerialize(L)).toLowerCase(),this.data.referenceType="full"}function W(L){this.data.characterReferenceType=L.type}function ut(L){const I=this.sliceSerialize(L),ht=this.data.characterReferenceType;let vt;ht?(vt=ky(I,ht==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):vt=Of(I);const se=this.stack[this.stack.length-1];se.value+=vt}function bt(L){const I=this.stack.pop();I.position.end=Ml(L.end)}function Tt(L){$.call(this,L);const I=this.stack[this.stack.length-1];I.url=this.sliceSerialize(L)}function Ct(L){$.call(this,L);const I=this.stack[this.stack.length-1];I.url="mailto:"+this.sliceSerialize(L)}function at(){return{type:"blockquote",children:[],position:void 0}}function pt(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function mn(){return{type:"inlineCode",value:"",position:void 0}}function ua(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function ll(){return{type:"emphasis",children:[],position:void 0}}function Ge(){return{type:"heading",depth:0,children:[],position:void 0}}function ne(){return{type:"break",position:void 0}}function Bt(){return{type:"html",value:"",position:void 0}}function en(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function il(){return{type:"link",title:null,url:"",children:[],position:void 0}}function pn(L){return{type:"list",ordered:L.type==="listOrdered",start:null,spread:L._spread,children:[],position:void 0}}function si(L){return{type:"listItem",spread:L._spread,checked:null,children:[],position:void 0}}function fi(){return{type:"paragraph",children:[],position:void 0}}function al(){return{type:"strong",children:[],position:void 0}}function ra(){return{type:"text",value:"",position:void 0}}function hi(){return{type:"thematicBreak",position:void 0}}}function Ml(l){return{line:l.line,column:l.column,offset:l.offset}}function Xy(l,u){let a=-1;for(;++a<u.length;){const o=u[a];Array.isArray(o)?Xy(l,o):CE(l,o)}}function CE(l,u){let a;for(a in u)if(Gy.call(u,a))switch(a){case"canContainEols":{const o=u[a];o&&l[a].push(...o);break}case"transforms":{const o=u[a];o&&l[a].push(...o);break}case"afterExit":case"beforeEnter":{const o=u[a];o&&l[a].push(o);break}case"enter":case"exit":{const o=u[a];o&&Object.assign(l[a],o);break}}}function Xg(l,u){throw l?new Error("Cannot close `"+l.type+"` ("+ou({start:l.start,end:l.end})+"): a different token (`"+u.type+"`, "+ou({start:u.start,end:u.end})+") is open"):new Error("Cannot close document, a token (`"+u.type+"`, "+ou({start:u.start,end:u.end})+") is still open")}function _E(l){const u=this;u.parser=a;function a(o){return AE(o,{...u.data("settings"),...l,extensions:u.data("micromarkExtensions")||[],mdastExtensions:u.data("fromMarkdownExtensions")||[]})}}function OE(l,u){const a={type:"element",tagName:"blockquote",properties:{},children:l.wrap(l.all(u),!0)};return l.patch(u,a),l.applyData(u,a)}function wE(l,u){const a={type:"element",tagName:"br",properties:{},children:[]};return l.patch(u,a),[l.applyData(u,a),{type:"text",value:`
53
- `}]}function NE(l,u){const a=u.value?u.value+`
54
- `:"",o={},s=u.lang?u.lang.split(/\s+/):[];s.length>0&&(o.className=["language-"+s[0]]);let h={type:"element",tagName:"code",properties:o,children:[{type:"text",value:a}]};return u.meta&&(h.data={meta:u.meta}),l.patch(u,h),h=l.applyData(u,h),h={type:"element",tagName:"pre",properties:{},children:[h]},l.patch(u,h),h}function DE(l,u){const a={type:"element",tagName:"del",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function kE(l,u){const a={type:"element",tagName:"em",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function ME(l,u){const a=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",o=String(u.identifier).toUpperCase(),s=aa(o.toLowerCase()),h=l.footnoteOrder.indexOf(o);let f,d=l.footnoteCounts.get(o);d===void 0?(d=0,l.footnoteOrder.push(o),f=l.footnoteOrder.length):f=h+1,d+=1,l.footnoteCounts.set(o,d);const v={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+s,id:a+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(f)}]};l.patch(u,v);const y={type:"element",tagName:"sup",properties:{},children:[v]};return l.patch(u,y),l.applyData(u,y)}function RE(l,u){const a={type:"element",tagName:"h"+u.depth,properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function UE(l,u){if(l.options.allowDangerousHtml){const a={type:"raw",value:u.value};return l.patch(u,a),l.applyData(u,a)}}function Qy(l,u){const a=u.referenceType;let o="]";if(a==="collapsed"?o+="[]":a==="full"&&(o+="["+(u.label||u.identifier)+"]"),u.type==="imageReference")return[{type:"text",value:"!["+u.alt+o}];const s=l.all(u),h=s[0];h&&h.type==="text"?h.value="["+h.value:s.unshift({type:"text",value:"["});const f=s[s.length-1];return f&&f.type==="text"?f.value+=o:s.push({type:"text",value:o}),s}function jE(l,u){const a=String(u.identifier).toUpperCase(),o=l.definitionById.get(a);if(!o)return Qy(l,u);const s={src:aa(o.url||""),alt:u.alt};o.title!==null&&o.title!==void 0&&(s.title=o.title);const h={type:"element",tagName:"img",properties:s,children:[]};return l.patch(u,h),l.applyData(u,h)}function LE(l,u){const a={src:aa(u.url)};u.alt!==null&&u.alt!==void 0&&(a.alt=u.alt),u.title!==null&&u.title!==void 0&&(a.title=u.title);const o={type:"element",tagName:"img",properties:a,children:[]};return l.patch(u,o),l.applyData(u,o)}function BE(l,u){const a={type:"text",value:u.value.replace(/\r?\n|\r/g," ")};l.patch(u,a);const o={type:"element",tagName:"code",properties:{},children:[a]};return l.patch(u,o),l.applyData(u,o)}function HE(l,u){const a=String(u.identifier).toUpperCase(),o=l.definitionById.get(a);if(!o)return Qy(l,u);const s={href:aa(o.url||"")};o.title!==null&&o.title!==void 0&&(s.title=o.title);const h={type:"element",tagName:"a",properties:s,children:l.all(u)};return l.patch(u,h),l.applyData(u,h)}function qE(l,u){const a={href:aa(u.url)};u.title!==null&&u.title!==void 0&&(a.title=u.title);const o={type:"element",tagName:"a",properties:a,children:l.all(u)};return l.patch(u,o),l.applyData(u,o)}function YE(l,u,a){const o=l.all(u),s=a?VE(a):Zy(u),h={},f=[];if(typeof u.checked=="boolean"){const g=o[0];let p;g&&g.type==="element"&&g.tagName==="p"?p=g:(p={type:"element",tagName:"p",properties:{},children:[]},o.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:u.checked,disabled:!0},children:[]}),h.className=["task-list-item"]}let d=-1;for(;++d<o.length;){const g=o[d];(s||d!==0||g.type!=="element"||g.tagName!=="p")&&f.push({type:"text",value:`
55
- `}),g.type==="element"&&g.tagName==="p"&&!s?f.push(...g.children):f.push(g)}const v=o[o.length-1];v&&(s||v.type!=="element"||v.tagName!=="p")&&f.push({type:"text",value:`
56
- `});const y={type:"element",tagName:"li",properties:h,children:f};return l.patch(u,y),l.applyData(u,y)}function VE(l){let u=!1;if(l.type==="list"){u=l.spread||!1;const a=l.children;let o=-1;for(;!u&&++o<a.length;)u=Zy(a[o])}return u}function Zy(l){const u=l.spread;return u??l.children.length>1}function GE(l,u){const a={},o=l.all(u);let s=-1;for(typeof u.start=="number"&&u.start!==1&&(a.start=u.start);++s<o.length;){const f=o[s];if(f.type==="element"&&f.tagName==="li"&&f.properties&&Array.isArray(f.properties.className)&&f.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const h={type:"element",tagName:u.ordered?"ol":"ul",properties:a,children:l.wrap(o,!0)};return l.patch(u,h),l.applyData(u,h)}function XE(l,u){const a={type:"element",tagName:"p",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function QE(l,u){const a={type:"root",children:l.wrap(l.all(u))};return l.patch(u,a),l.applyData(u,a)}function ZE(l,u){const a={type:"element",tagName:"strong",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function KE(l,u){const a=l.all(u),o=a.shift(),s=[];if(o){const f={type:"element",tagName:"thead",properties:{},children:l.wrap([o],!0)};l.patch(u.children[0],f),s.push(f)}if(a.length>0){const f={type:"element",tagName:"tbody",properties:{},children:l.wrap(a,!0)},d=Tf(u.children[1]),v=Ay(u.children[u.children.length-1]);d&&v&&(f.position={start:d,end:v}),s.push(f)}const h={type:"element",tagName:"table",properties:{},children:l.wrap(s,!0)};return l.patch(u,h),l.applyData(u,h)}function JE(l,u,a){const o=a?a.children:void 0,h=(o?o.indexOf(u):1)===0?"th":"td",f=a&&a.type==="table"?a.align:void 0,d=f?f.length:u.children.length;let v=-1;const y=[];for(;++v<d;){const p=u.children[v],x={},b=f?f[v]:void 0;b&&(x.align=b);let A={type:"element",tagName:h,properties:x,children:[]};p&&(A.children=l.all(p),l.patch(p,A),A=l.applyData(p,A)),y.push(A)}const g={type:"element",tagName:"tr",properties:{},children:l.wrap(y,!0)};return l.patch(u,g),l.applyData(u,g)}function FE(l,u){const a={type:"element",tagName:"td",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}const Qg=9,Zg=32;function IE(l){const u=String(l),a=/\r?\n|\r/g;let o=a.exec(u),s=0;const h=[];for(;o;)h.push(Kg(u.slice(s,o.index),s>0,!0),o[0]),s=o.index+o[0].length,o=a.exec(u);return h.push(Kg(u.slice(s),s>0,!1)),h.join("")}function Kg(l,u,a){let o=0,s=l.length;if(u){let h=l.codePointAt(o);for(;h===Qg||h===Zg;)o++,h=l.codePointAt(o)}if(a){let h=l.codePointAt(s-1);for(;h===Qg||h===Zg;)s--,h=l.codePointAt(s-1)}return s>o?l.slice(o,s):""}function $E(l,u){const a={type:"text",value:IE(String(u.value))};return l.patch(u,a),l.applyData(u,a)}function PE(l,u){const a={type:"element",tagName:"hr",properties:{},children:[]};return l.patch(u,a),l.applyData(u,a)}const WE={blockquote:OE,break:wE,code:NE,delete:DE,emphasis:kE,footnoteReference:ME,heading:RE,html:UE,imageReference:jE,image:LE,inlineCode:BE,linkReference:HE,link:qE,listItem:YE,list:GE,paragraph:XE,root:QE,strong:ZE,table:KE,tableCell:FE,tableRow:JE,text:$E,thematicBreak:PE,toml:Qr,yaml:Qr,definition:Qr,footnoteDefinition:Qr};function Qr(){}const Ky=-1,io=0,su=1,to=2,Nf=3,Df=4,kf=5,Mf=6,Jy=7,Fy=8,{defineProperty:tT}=Object,Iy=typeof self=="object"?self:globalThis,Jg=(l,u)=>{switch(l){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+l)}return new Iy[l](u)},eT=(l,u)=>{const a=(s,h)=>(l.set(h,s),s),o=s=>{if(l.has(s))return l.get(s);const[h,f]=u[s];switch(h){case io:case Ky:return a(f,s);case su:{const d=a([],s);for(const v of f)d.push(o(v));return d}case to:{const d=a({},s);for(const[v,y]of f){const g=o(v),p=o(y);g==="__proto__"?tT(d,g,{value:p,configurable:!0,enumerable:!0,writable:!0}):d[g]=p}return d}case Nf:return a(new Date(f),s);case Df:{const{source:d,flags:v}=f;return a(new RegExp(d,v),s)}case kf:{const d=a(new Map,s);for(const[v,y]of f)d.set(o(v),o(y));return d}case Mf:{const d=a(new Set,s);for(const v of f)d.add(o(v));return d}case Jy:{const{name:d,message:v}=f;return a(typeof Iy[d]=="function"?Jg(d,v):new Error(v),s)}case Fy:return a(BigInt(f),s);case"BigInt":return a(Object(BigInt(f)),s);case"ArrayBuffer":return a(new Uint8Array(f).buffer,f);case"DataView":{const{buffer:d}=new Uint8Array(f);return a(new DataView(d),f)}case"-0":return-0}return a(Jg(h,f),s)};return o},Fg=l=>eT(new Map,l)(0),ui="",{toString:nT}={},{keys:lT,is:iT}=Object,uu=l=>{const u=typeof l;if(u!=="object"||!l)return[io,u];const a=nT.call(l).slice(8,-1);switch(a){case"Array":return[su,ui];case"Object":return[to,ui];case"Date":return[Nf,ui];case"RegExp":return[Df,ui];case"Map":return[kf,ui];case"Set":return[Mf,ui];case"DataView":return[su,a]}return a.includes("Array")?[su,a]:l instanceof Error?[Jy,l.name||"Error"]:[to,a]},Zr=([l,u])=>l===io&&(u==="function"||u==="symbol"),aT=(l,u,a,o)=>{const s=(f,d)=>{const v=o.push(f)-1;return a.set(d,v),v},h=f=>{if(a.has(f))return a.get(f);let[d,v]=uu(f);switch(d){case io:{let g=f;switch(v){case"bigint":d=Fy,g=f.toString();break;case"number":if(!f&&iT(f,-0))return o.push(["-0"])-1;break;case"function":case"symbol":if(l)throw new TypeError("unable to serialize "+v);g=null;break;case"undefined":return s([Ky],f)}return s([d,g],f)}case su:{if(v){let x=f;return v==="DataView"?x=new Uint8Array(f.buffer):v==="ArrayBuffer"&&(x=new Uint8Array(f)),s([v,[...x]],f)}const g=[],p=s([d,g],f);for(const x of f)g.push(h(x));return p}case to:{if(v)switch(v){case"BigInt":return s([v,f.toString()],f);case"Boolean":case"Number":case"String":return s([v,f.valueOf()],f)}if(u&&"toJSON"in f)return h(f.toJSON());const g=[],p=s([d,g],f);for(const x of lT(f))(l||!Zr(uu(f[x])))&&g.push([h(x),h(f[x])]);return p}case Nf:return s([d,isNaN(f.getTime())?ui:f.toISOString()],f);case Df:{const{source:g,flags:p}=f;return s([d,{source:g,flags:p}],f)}case kf:{const g=[],p=s([d,g],f);for(const[x,b]of f)(l||!(Zr(uu(x))||Zr(uu(b))))&&g.push([h(x),h(b)]);return p}case Mf:{const g=[],p=s([d,g],f);for(const x of f)(l||!Zr(uu(x)))&&g.push(h(x));return p}}const{message:y}=f;return s([d,{name:v,message:y}],f)};return h},Ig=(l,{json:u,lossy:a}={})=>{const o=[];return aT(!(u||a),!!u,new Map,o)(l),o},eo=typeof structuredClone=="function"?(l,u)=>u&&("json"in u||"lossy"in u)?Fg(Ig(l,u)):structuredClone(l):(l,u)=>Fg(Ig(l,u));function uT(l,u){const a=[{type:"text",value:"↩"}];return u>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(u)}]}),a}function rT(l,u){return"Back to reference "+(l+1)+(u>1?"-"+u:"")}function oT(l){const u=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",a=l.options.footnoteBackContent||uT,o=l.options.footnoteBackLabel||rT,s=l.options.footnoteLabel||"Footnotes",h=l.options.footnoteLabelTagName||"h2",f=l.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let v=-1;for(;++v<l.footnoteOrder.length;){const y=l.footnoteById.get(l.footnoteOrder[v]);if(!y)continue;const g=l.all(y),p=String(y.identifier).toUpperCase(),x=aa(p.toLowerCase());let b=0;const A=[],U=l.footnoteCounts.get(p);for(;U!==void 0&&++b<=U;){A.length>0&&A.push({type:"text",value:" "});let V=typeof a=="string"?a:a(v,b);typeof V=="string"&&(V={type:"text",value:V}),A.push({type:"element",tagName:"a",properties:{href:"#"+u+"fnref-"+x+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(v,b),className:["data-footnote-backref"]},children:Array.isArray(V)?V:[V]})}const B=g[g.length-1];if(B&&B.type==="element"&&B.tagName==="p"){const V=B.children[B.children.length-1];V&&V.type==="text"?V.value+=" ":B.children.push({type:"text",value:" "}),B.children.push(...A)}else g.push(...A);const M={type:"element",tagName:"li",properties:{id:u+"fn-"+x},children:l.wrap(g,!0)};l.patch(y,M),d.push(M)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:h,properties:{...eo(f),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
48
+ `+i.stack}}var Re=Object.prototype.hasOwnProperty,Ln=l.unstable_scheduleCallback,Bn=l.unstable_cancelCallback,Ul=l.unstable_shouldYield,pu=l.unstable_requestPaint,ye=l.unstable_now,Oe=l.unstable_getCurrentPriorityLevel,Hn=l.unstable_ImmediatePriority,nn=l.unstable_UserBlockingPriority,gu=l.unstable_NormalPriority,z0=l.unstable_LowPriority,Vf=l.unstable_IdlePriority,A0=l.log,C0=l.unstable_setDisableYieldValue,oa=null,Xe=null;function ul(t){if(typeof A0=="function"&&C0(t),Xe&&typeof Xe.setStrictMode=="function")try{Xe.setStrictMode(oa,t)}catch{}}var Qe=Math.clz32?Math.clz32:w0,_0=Math.log,O0=Math.LN2;function w0(t){return t>>>=0,t===0?32:31-(_0(t)/O0|0)|0}var yu=256,vu=262144,bu=4194304;function jl(t){var e=t&42;if(e!==0)return e;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&-t;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 Su(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var r=0,c=t.suspendedLanes,m=t.pingedLanes;t=t.warmLanes;var S=i&134217727;return S!==0?(i=S&~c,i!==0?r=jl(i):(m&=S,m!==0?r=jl(m):n||(n=S&~t,n!==0&&(r=jl(n))))):(S=i&~c,S!==0?r=jl(S):m!==0?r=jl(m):n||(n=i&~t,n!==0&&(r=jl(n)))),r===0?0:e!==0&&e!==r&&(e&c)===0&&(c=r&-r,n=e&-e,c>=n||c===32&&(n&4194048)!==0)?e:r}function ca(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Gf(t,e){(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var i=31-Qe(n),r=1<<i;e|=t[i],n&=~r}return e}function N0(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Xf(){var t=bu;return bu<<=1,(bu&62914560)===0&&(bu=4194304),t}function ro(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function sa(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function D0(t,e,n,i,r,c){var m=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var S=t.entanglements,E=t.expirationTimes,N=t.hiddenUpdates;for(n=m&~n;0<n;){var R=31-Qe(n),Y=1<<R;S[R]=0,E[R]=-1;var O=N[R];if(O!==null)for(N[R]=null,R=0;R<O.length;R++){var k=O[R];k!==null&&(k.lane&=-536870913)}n&=~Y}i!==0&&Qf(t,i,0),c!==0&&r===0&&t.tag!==0&&(t.suspendedLanes|=c&~(m&~e))}function Qf(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-Qe(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|n&261930}function Zf(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-Qe(n),r=1<<i;r&e|t[i]&e&&(t[i]|=e),n&=~r}}function Kf(t,e){var n=e&-e;return n=(n&42)!==0?1:oo(n),(n&(t.suspendedLanes|e))!==0?0:n}function oo(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 co(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Jf(){var t=pt.p;return t!==0?t:(t=window.event,t===void 0?32:eg(t.type))}function Ff(t,e){var n=pt.p;try{return pt.p=t,e()}finally{pt.p=n}}var qn=Math.random().toString(36).slice(2),ve="__reactFiber$"+qn,Ue="__reactProps$"+qn,di="__reactContainer$"+qn,If="__reactEvents$"+qn,k0="__reactListeners$"+qn,M0="__reactHandles$"+qn,$f="__reactResources$"+qn,fa="__reactMarker$"+qn,xu="__reactLoad$"+qn;function Eu(t){delete t[ve],delete t[Ue],delete t[k0],delete t[M0]}function Ll(t){var e;if(e=t[ve])return e;for(var n=t.parentNode;n;){if(e=n[di]||n[ve]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Up(t);t!==null;){if(n=t[ve])return n;t=Up(t)}return e}t=n,n=t.parentNode}return null}function mi(t){if(t=t[ve]||t[di]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function ha(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function pi(t){var e=t[$f];return e||(e=t[$f]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function fe(t){t[fa]=!0}function Pf(t){t[xu]=void 0}var Wf=new Set,th={};function Bl(t,e){gi(t,e),gi(t+"Capture",e)}function gi(t,e){for(th[t]=e,t=0;t<e.length;t++)Wf.add(e[t])}var R0=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]*$"),eh={},nh={};function U0(t){return Re.call(nh,t)?!0:Re.call(eh,t)?!1:R0.test(t)?nh[t]=!0:(eh[t]=!0,!1)}var Rt=!1;function lh(){var t=Rt;return Rt=!1,t}function Tu(t,e,n){if(U0(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,n)}}function zu(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,n)}}function Yn(t,e,n,i){if(i===null)t.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,i)}}function Ze(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ih(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function j0(t,e,n){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,c=i.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return r.call(this)},set:function(m){n=""+m,c.call(this,m)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(m){n=""+m},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function so(t){if(!t._valueTracker){var e=ih(t)?"checked":"value";t._valueTracker=j0(t,e,""+t[e])}}function ah(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=ih(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}var L0=/[\n"\\]/g;function ln(t){return t.replace(L0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function fo(t,e,n,i,r,c,m,S){t.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.type=m:t.removeAttribute("type"),e!=null?m==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ze(e)):t.value!==""+Ze(e)&&(t.value=""+Ze(e)):m!=="submit"&&m!=="reset"||t.removeAttribute("value"),e!=null?m==="number"&&t.value==e?ho(t,Ze(t.value)):ho(t,Ze(e)):n!=null?ho(t,Ze(n)):i!=null&&t.removeAttribute("value"),r==null&&c!=null&&(t.defaultChecked=!!c),r!=null&&(t.checked=r&&typeof r!="function"&&typeof r!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+Ze(S):t.removeAttribute("name")}function uh(t,e,n,i,r,c,m,S){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){so(t);return}n=n!=null?""+Ze(n):"",e=e!=null?""+Ze(e):n,S||e===t.value||(t.value=e),t.defaultValue=e}i=i??r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=S?t.checked:!!i,t.defaultChecked=!!i,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.name=m),so(t)}function ho(t,e){t.defaultValue!==""+e&&(t.defaultValue=""+e)}function yi(t,e,n,i){if(t=t.options,e){e={};for(var r=0;r<n.length;r++)e["$"+n[r]]=!0;for(n=0;n<t.length;n++)r=e.hasOwnProperty("$"+t[n].value),t[n].selected!==r&&(t[n].selected=r),r&&i&&(t[n].defaultSelected=!0)}else{for(n=""+Ze(n),e=null,r=0;r<t.length;r++){if(t[r].value===n){t[r].selected=!0,i&&(t[r].defaultSelected=!0);return}e!==null||t[r].disabled||(e=t[r])}e!==null&&(e.selected=!0)}}function rh(t,e,n){if(e!=null&&(e=""+Ze(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Ze(n):""}function oh(t,e,n,i){if(e==null){if(i!=null){if(n!=null)throw Error(o(92));if(Ct(i)){if(1<i.length)throw Error(o(93));i=i[0]}n=i}n==null&&(n=""),e=n}n=Ze(e),t.defaultValue=n,i=t.textContent,i===n&&i!==""&&i!==null&&(t.value=i),so(t)}function vi(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var B0=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 ch(t,e,n){var i=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,n):typeof n!="number"||n===0||B0.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function sh(t,e,n){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="",Rt=!0);for(var r in e)i=e[r],e.hasOwnProperty(r)&&n[r]!==i&&(ch(t,r,i),Rt=!0)}else for(var c in e)e.hasOwnProperty(c)&&ch(t,c,e[c])}function mo(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 H0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),q0=/^[\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 Au(t){return q0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function zn(){}var po=null;function go(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var bi=null,Si=null;function fh(t){var e=mi(t);if(e&&(t=e.stateNode)){var n=t[Ue]||null;t:switch(t=e.stateNode,e.type){case"input":if(fo(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+ln(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var r=i[Ue]||null;if(!r)throw Error(o(90));fo(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(e=0;e<n.length;e++)i=n[e],i.form===t.form&&ah(i)}break t;case"textarea":rh(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&yi(t,!!n.multiple,e,!1)}}}var yo=!1;function hh(t,e,n){if(yo)return t(e,n);yo=!0;try{var i=t(e);return i}finally{if(yo=!1,(bi!==null||Si!==null)&&(Ar(),bi&&(e=bi,t=Si,Si=bi=null,fh(e),t)))for(e=0;e<t.length;e++)fh(t[e])}}function da(t,e){var n=t.stateNode;if(n===null)return null;var i=n[Ue]||null;if(i===null)return null;n=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(o(231,e,typeof n));return n}var Vn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vo=!1;if(Vn)try{var ma={};Object.defineProperty(ma,"passive",{get:function(){vo=!0}}),window.addEventListener("test",ma,ma),window.removeEventListener("test",ma,ma)}catch{vo=!1}var rl=null,bo=null,Cu=null;function dh(){if(Cu)return Cu;var t,e=bo,n=e.length,i,r="value"in rl?rl.value:rl.textContent,c=r.length;for(t=0;t<n&&e[t]===r[t];t++);var m=n-t;for(i=1;i<=m&&e[n-i]===r[c-i];i++);return Cu=r.slice(t,1<i?1-i:void 0)}function _u(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ou(){return!0}function mh(){return!1}function we(t){function e(n,i,r,c,m){this._reactName=n,this._targetInst=r,this.type=i,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(n=t[S],this[S]=n?n(c):c[S]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Ou:mh,this.isPropagationStopped=mh,this}return F(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ou)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ou)},persist:function(){},isPersistent:Ou}),e}var ol={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wu=we(ol),pa=F({},ol,{view:0,detail:0}),Y0=we(pa),So,xo,ga,Nu=F({},pa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:To,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!==ga&&(ga&&t.type==="mousemove"?(So=t.screenX-ga.screenX,xo=t.screenY-ga.screenY):xo=So=0,ga=t),So)},movementY:function(t){return"movementY"in t?t.movementY:xo}}),ph=we(Nu),V0=F({},Nu,{dataTransfer:0}),G0=we(V0),X0=F({},pa,{relatedTarget:0}),Eo=we(X0),Q0=F({},ol,{animationName:0,elapsedTime:0,pseudoElement:0}),Z0=we(Q0),K0=F({},ol,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),J0=we(K0),F0=F({},ol,{data:0}),gh=we(F0),I0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$0={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"},P0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function W0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=P0[t])?!!e[t]:!1}function To(){return W0}var t1=F({},pa,{key:function(t){if(t.key){var e=I0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=_u(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?$0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:To,charCode:function(t){return t.type==="keypress"?_u(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?_u(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),e1=we(t1),n1=F({},Nu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yh=we(n1),l1=F({},ol,{submitter:0}),i1=we(l1),a1=F({},pa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:To}),u1=we(a1),r1=F({},ol,{propertyName:0,elapsedTime:0,pseudoElement:0}),o1=we(r1),c1=F({},Nu,{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}),s1=we(c1),f1=F({},ol,{newState:0,oldState:0,source:0}),h1=we(f1),d1=[9,13,27,32],zo=Vn&&"CompositionEvent"in window,ya=null;Vn&&"documentMode"in document&&(ya=document.documentMode);var m1=Vn&&"TextEvent"in window&&!ya,vh=Vn&&(!zo||ya&&8<ya&&11>=ya),bh=" ",Sh=!1;function xh(t,e){switch(t){case"keyup":return d1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Eh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var xi=!1;function p1(t,e){switch(t){case"compositionend":return Eh(e);case"keypress":return e.which!==32?null:(Sh=!0,bh);case"textInput":return t=e.data,t===bh&&Sh?null:t;default:return null}}function g1(t,e){if(xi)return t==="compositionend"||!zo&&xh(t,e)?(t=dh(),Cu=bo=rl=null,xi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return vh&&e.locale!=="ko"?null:e.data;default:return null}}var y1={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 Th(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!y1[t.type]:e==="textarea"}function zh(t,e,n,i){bi?Si?Si.push(i):Si=[i]:bi=i,e=Dr(e,"onChange"),0<e.length&&(n=new wu("onChange","change",null,n,i),t.push({event:n,listeners:e}))}var va=null,ba=null;function v1(t){fp(t,0)}function Du(t){var e=ha(t);if(ah(e))return t}function Ah(t,e){if(t==="change")return e}var Ch=!1;if(Vn){var Ao;if(Vn){var Co="oninput"in document;if(!Co){var _h=document.createElement("div");_h.setAttribute("oninput","return;"),Co=typeof _h.oninput=="function"}Ao=Co}else Ao=!1;Ch=Ao&&(!document.documentMode||9<document.documentMode)}function Oh(){va&&(va.detachEvent("onpropertychange",wh),ba=va=null)}function wh(t){if(t.propertyName==="value"&&Du(ba)){var e=[];zh(e,ba,t,go(t)),hh(v1,e)}}function b1(t,e,n){t==="focusin"?(Oh(),va=e,ba=n,va.attachEvent("onpropertychange",wh)):t==="focusout"&&Oh()}function S1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Du(ba)}function x1(t,e){if(t==="click")return Du(e)}function E1(t,e){if(t==="input"||t==="change")return Du(e)}function T1(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ke=typeof Object.is=="function"?Object.is:T1;function Sa(t,e){if(Ke(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var r=n[i];if(!Re.call(e,r)||!Ke(t[r],e[r]))return!1}return!0}function _o(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}}function Nh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Dh(t,e){var n=Nh(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Nh(n)}}function kh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?kh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Mh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=_o(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=_o(t.document)}return e}function Oo(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var z1=Vn&&"documentMode"in document&&11>=document.documentMode,Ei=null,wo=null,xa=null,No=!1;function Rh(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;No||Ei==null||Ei!==_o(i)||(i=Ei,"selectionStart"in i&&Oo(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),xa&&Sa(xa,i)||(xa=i,i=Dr(wo,"onSelect"),0<i.length&&(e=new wu("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=Ei)))}function Hl(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Ti={animationend:Hl("Animation","AnimationEnd"),animationiteration:Hl("Animation","AnimationIteration"),animationstart:Hl("Animation","AnimationStart"),transitionrun:Hl("Transition","TransitionRun"),transitionstart:Hl("Transition","TransitionStart"),transitioncancel:Hl("Transition","TransitionCancel"),transitionend:Hl("Transition","TransitionEnd")},Do={},Uh={};Vn&&(Uh=document.createElement("div").style,"AnimationEvent"in window||(delete Ti.animationend.animation,delete Ti.animationiteration.animation,delete Ti.animationstart.animation),"TransitionEvent"in window||delete Ti.transitionend.transition);function ql(t){if(Do[t])return Do[t];if(!Ti[t])return t;var e=Ti[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Uh)return Do[t]=e[n];return t}var jh=ql("animationend"),Lh=ql("animationiteration"),Bh=ql("animationstart"),A1=ql("transitionrun"),C1=ql("transitionstart"),_1=ql("transitioncancel"),Hh=ql("transitionend"),qh=new Map,ko="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ko.push("scrollEnd");function gn(t,e){qh.set(t,e),Bl(e,[t])}var O1=0;function Gn(t,e){if(t.name!=null&&t.name!=="auto")return t.name;if(e.autoName!==null)return e.autoName;t=Sn.identifierPrefix;var n=O1++;return t="_"+t+"t_"+n.toString(32)+"_",e.autoName=t}function Yh(t){if(t==null||typeof t=="string")return t;var e=null,n=Gi;if(n!==null)for(var i=0;i<n.length;i++){var r=t[n[i]];if(r!=null){if(r==="none")return"none";e=e==null?r:e+(" "+r)}}return e??t.default}function Xn(t,e){return t=Yh(t),e=Yh(e),e==null?t==="auto"?null:t:e==="auto"?null:e}var ku=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},an=[],zi=0,Mo=0;function Mu(){for(var t=zi,e=Mo=zi=0;e<t;){var n=an[e];an[e++]=null;var i=an[e];an[e++]=null;var r=an[e];an[e++]=null;var c=an[e];if(an[e++]=null,i!==null&&r!==null){var m=i.pending;m===null?r.next=r:(r.next=m.next,m.next=r),i.pending=r}c!==0&&Vh(n,r,c)}}function Ru(t,e,n,i){an[zi++]=t,an[zi++]=e,an[zi++]=n,an[zi++]=i,Mo|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function Ro(t,e,n,i){return Ru(t,e,n,i),Uu(t)}function Yl(t,e){return Ru(t,null,null,e),Uu(t)}function Vh(t,e,n){t.lanes|=n;var i=t.alternate;i!==null&&(i.lanes|=n);for(var r=!1,c=t.return;c!==null;)c.childLanes|=n,i=c.alternate,i!==null&&(i.childLanes|=n),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(r=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,r&&e!==null&&(r=31-Qe(n),t=c.hiddenUpdates,i=t[r],i===null?t[r]=[e]:i.push(e),e.lane=n|536870912),c):null}function Uu(t){if(50<Ga)throw Ga=0,zr=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ai={};function w1(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(t,e,n,i){return new w1(t,e,n,i)}function Uo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Qn(t,e){var n=t.alternate;return n===null?(n=je(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&1206910976,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function Gh(t,e){t.flags&=1206910978;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function ju(t,e,n,i,r,c){var m=0;if(i=t,typeof i=="function")Uo(i)&&(m=1);else if(typeof i=="string")m=lb(t,n,en.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(i){case $t:return t=je(31,n,e,r),t.elementType=$t,t.lanes=c,t;case $:return Vl(n.children,r,c,e);case lt:m=8,r|=24;break;case Et:return t=je(12,n,e,r|2),t.elementType=Et,t.lanes=c,t;case et:return t=je(13,n,e,r),t.elementType=et,t.lanes=c,t;case ct:return t=je(19,n,e,r),t.elementType=ct,t.lanes=c,t;case oe:case _:return t=r|32,t=je(30,n,e,t),t.elementType=_,t.lanes=c,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case J:m=10;break t;case ot:m=9;break t;case Z:m=11;break t;case _t:m=14;break t;case T:m=16,i=null;break t}m=29,n=Error(o(130,t===null?"null":typeof t,"")),i=null}return e=je(m,n,e,r),e.elementType=t,e.type=i,e.lanes=c,e}function Vl(t,e,n,i){return t=je(7,t,i,e),t.lanes=n,t}function jo(t,e,n){return t=je(6,t,null,e),t.lanes=n,t}function Xh(t){var e=je(18,null,null,0);return e.stateNode=t,e}function Lo(t,e,n){return e=je(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Qh=new WeakMap;function un(t,e){if(typeof t=="object"&&t!==null){var n=Qh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:ge(e)},Qh.set(t,e),e)}return{value:t,source:e,stack:ge(e)}}var Ci=[],_i=0,Lu=null,Ea=0,rn=[],on=0,cl=null,An=1,Cn="";function Zn(t,e){Ci[_i++]=Ea,Ci[_i++]=Lu,Lu=t,Ea=e}function Zh(t,e,n){rn[on++]=An,rn[on++]=Cn,rn[on++]=cl,cl=t;var i=An;t=Cn;var r=32-Qe(i)-1;i&=~(1<<r),n+=1;var c=32-Qe(e)+r;if(30<c){var m=r-r%5;c=(i&(1<<m)-1).toString(32),i>>=m,r-=m,An=1<<32-Qe(e)+r|n<<r|i,Cn=c+t}else An=1<<c|n<<r|i,Cn=t}function Bu(t){t.return!==null&&(Zn(t,1),Zh(t,1,0))}function Bo(t){for(;t===Lu;)Lu=Ci[--_i],Ci[_i]=null,Ea=Ci[--_i],Ci[_i]=null;for(;t===cl;)cl=rn[--on],rn[on]=null,Cn=rn[--on],rn[on]=null,An=rn[--on],rn[on]=null}function Kh(t,e){rn[on++]=An,rn[on++]=Cn,rn[on++]=cl,An=e.id,Cn=e.overflow,cl=t}var he=null,Jt=null,zt=!1,sl=null,cn=!1,Ho=Error(o(519));function fl(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ta(un(e,t)),Ho}function Jh(t){var e=t.stateNode,n=t.type,i=t.memoizedProps;switch(e[ve]=t,e[Ue]=i,n){case"dialog":wt("cancel",e),wt("close",e);break;case"iframe":case"object":case"embed":wt("load",e);break;case"video":case"audio":for(n=0;n<Qa.length;n++)wt(Qa[n],e);break;case"source":wt("error",e);break;case"img":case"image":case"link":wt("error",e),wt("load",e);break;case"details":wt("toggle",e);break;case"input":wt("invalid",e),uh(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":wt("invalid",e);break;case"textarea":wt("invalid",e),oh(e,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||i.suppressHydrationWarning===!0||pp(e.textContent,n)?(i.popover!=null&&(wt("beforetoggle",e),wt("toggle",e)),i.onScroll!=null&&wt("scroll",e),i.onScrollEnd!=null&&wt("scrollend",e),i.onClick!=null&&(e.onclick=zn),e=!0):e=!1,e||fl(t,!0)}function Hu(t){for(he=t.return;he;)switch(he.tag){case 5:case 31:case 13:cn=!1;return;case 27:case 3:cn=!0;return;default:he=he.return}}function Oi(t){if(t!==he)return!1;if(!zt)return Hu(t),zt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||ps(t.type,t.memoizedProps)),n=!n),n&&Jt&&fl(t),Hu(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Jt=Rp(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Jt=Rp(t)}else e===27?(e=Jt,_l(t.type)?(t=zs,zs=null,Jt=t):Jt=e):Jt=he?fn(t.stateNode.nextSibling):null;return!0}function Gl(){Jt=he=null,zt=!1}function qo(){var t=sl;return t!==null&&(He===null?He=t:He.push.apply(He,t),sl=null),t}function Ta(t){sl===null?sl=[t]:sl.push(t)}var Yo=Ge(null),Xl=null,Kn=null;function hl(t,e,n){Bt(Yo,e._currentValue),e._currentValue=n}function Jn(t){t._currentValue=Yo.current,ne(Yo)}function qu(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}function Vo(t,e,n,i){var r=t.child;for(r!==null&&(r.return=t);r!==null;){var c=r.dependencies;if(c!==null){var m=r.child;c=c.firstContext;t:for(;c!==null;){var S=c;c=r;for(var E=0;E<e.length;E++)if(S.context===e[E]){c.lanes|=n,S=c.alternate,S!==null&&(S.lanes|=n),qu(c.return,n,t),i||(m=null);break t}c=S.next}}else if(r.tag===18){if(m=r.return,m===null)throw Error(o(341));m.lanes|=n,c=m.alternate,c!==null&&(c.lanes|=n),qu(m,n,t),m=null}else r.tag===13&&r.memoizedState!==null&&r.memoizedState.dehydrated===null?(r.lanes|=n,m=r.alternate,m!==null&&(m.lanes|=n),qu(r.return,n,t),m=r.child,m=m!==null?m.sibling:null):m=r.child;if(m!==null)m.return=r;else for(m=r;m!==null;){if(m===t){m=null;break}if(r=m.sibling,r!==null){r.return=m.return,m=r;break}m=m.return}r=m}}function Ql(t,e,n,i){t=null;for(var r=e,c=!1;r!==null;){if(!c){if((r.flags&524288)!==0)c=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var m=r.alternate;if(m===null)throw Error(o(387));if(m=m.memoizedProps,m!==null){var S=r.type;Ke(r.pendingProps.value,m.value)||(t!==null?t.push(S):t=[S])}}else if(r===si.current){if(m=r.alternate,m===null)throw Error(o(387));m.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(t!==null?t.push(Wi):t=[Wi])}r=r.return}return t!==null&&Vo(e,t,n,i),e.flags|=262144,t!==null}function Yu(t){for(t=t.firstContext;t!==null;){if(!Ke(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Zl(t){Xl=t,Kn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function be(t){return Fh(Xl,t)}function Vu(t,e){return Xl===null&&Zl(t),Fh(t,e)}function Fh(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},Kn===null){if(t===null)throw Error(o(308));Kn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Kn=Kn.next=e;return n}var N1=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},D1=l.unstable_scheduleCallback,k1=l.unstable_NormalPriority,le={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Go(){return{controller:new N1,data:new Map,refCount:0}}function za(t){t.refCount--,t.refCount===0&&D1(k1,function(){t.controller.abort()})}function Ih(t,e){if((t.pendingLanes&4194048)!==0){var n=t.transitionTypes;for(n===null&&(n=t.transitionTypes=[]),t=0;t<e.length;t++){var i=e[t];n.indexOf(i)===-1&&n.push(i)}}}var Aa=null;function M1(t){var e=t.transitionTypes;return t.transitionTypes=null,e}var Ca=null,Xo=0,Kl=0,wi=null;function R1(t,e){if(Ca===null){var n=Ca=[];Xo=0,Kl=us(),wi={status:"pending",value:void 0,then:function(i){n.push(i)}}}return Xo++,e.then($h,$h),e}function $h(){if(--Xo===0&&(Aa=null,Ca!==null)){wi!==null&&(wi.status="fulfilled");var t=Ca;Ca=null,Kl=0,wi=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function U1(t,e){var n=[],i={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var r=0;r<n.length;r++)(0,n[r])(e)},function(r){for(i.status="rejected",i.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),i}var Ph=at.S;at.S=function(t,e){if(Xm=ye(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&R1(t,e),Aa!==null)for(var n=Ki;n!==null;)Ih(n,Aa),n=n.next;if(n=t.types,n!==null){for(var i=Ki;i!==null;)Ih(i,n),i=i.next;if(Kl!==0){i=Aa,i===null&&(i=Aa=[]);for(var r=0;r<n.length;r++){var c=n[r];i.indexOf(c)===-1&&i.push(c)}}}Ph!==null&&Ph(t,e)};var Jl=Ge(null);function Qo(){var t=Jl.current;return t!==null?t:Qt.pooledCache}function Gu(t,e){e===null?Bt(Jl,Jl.current):Bt(Jl,e.pool)}function Wh(){var t=Qo();return t===null?null:{parent:le._currentValue,pool:t}}var Ni=Error(o(460)),Zo=Error(o(474)),Xu=Error(o(542)),Qu={then:function(){}};function td(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ed(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(zn,zn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ld(t),t===void 0&&!("reason"in e)?Error(o(600)):t;default:if(typeof e.status=="string")e.then(zn,zn);else{if(t=Qt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var r=e;r.status="fulfilled",r.value=i}},function(i){if(e.status==="pending"){var r=e;r.status="rejected",r.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ld(t),t}throw Il=e,Ni}}function Fl(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Il=n,Ni):n}}var Il=null;function nd(){if(Il===null)throw Error(o(459));var t=Il;return Il=null,t}function ld(t){if(t===Ni||t===Xu)throw Error(o(483))}var Di=null,_a=0;function Zu(t){var e=_a;return _a+=1,Di===null&&(Di=[]),ed(Di,t,e)}function dl(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Ku(t,e){throw e.$$typeof===tt?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function id(t){function e(w,A){if(t){var D=w.deletions;D===null?(w.deletions=[A],w.flags|=16):D.push(A)}}function n(w,A){if(!t)return null;for(;A!==null;)e(w,A),A=A.sibling;return null}function i(w){for(var A=new Map;w!==null;)w.key===null?A.set(w.index,w):A.set(w.key,w),w=w.sibling;return A}function r(w,A){return w=Qn(w,A),w.index=0,w.sibling=null,w}function c(w,A,D){return w.index=D,t?(D=w.alternate,D!==null?(D=D.index,D<A?(w.flags|=2,A):D):(w.flags|=134217730,A)):(w.flags|=1048576,A)}function m(w){return t&&w.alternate===null&&(w.flags|=134217730),w}function S(w,A,D,q){return A===null||A.tag!==6?(A=jo(D,w.mode,q),A.return=w,A):(A=r(A,D),A.return=w,A)}function E(w,A,D,q){var nt=D.type;return nt===$?(w=R(w,A,D.props.children,q,D.key),dl(w,D),w):A!==null&&(A.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===T&&Fl(nt)===A.type)?(A=r(A,D.props),dl(A,D),A.return=w,A):(A=ju(D.type,D.key,D.props,null,w.mode,q),dl(A,D),A.return=w,A)}function N(w,A,D,q){return A===null||A.tag!==4||A.stateNode.containerInfo!==D.containerInfo||A.stateNode.implementation!==D.implementation?(A=Lo(D,w.mode,q),A.return=w,A):(A=r(A,D.children||[]),A.return=w,A)}function R(w,A,D,q,nt){return A===null||A.tag!==7?(A=Vl(D,w.mode,q,nt),A.return=w,A):(A=r(A,D),A.return=w,A)}function Y(w,A,D){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=jo(""+A,w.mode,D),A.return=w,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case kt:return D=ju(A.type,A.key,A.props,null,w.mode,D),dl(D,A),D.return=w,D;case j:return A=Lo(A,w.mode,D),A.return=w,A;case T:return A=Fl(A),Y(w,A,D)}if(Ct(A)||ut(A))return A=Vl(A,w.mode,D,null),A.return=w,A;if(typeof A.then=="function")return Y(w,Zu(A),D);if(A.$$typeof===J)return Y(w,Vu(w,A),D);Ku(w,A)}return null}function O(w,A,D,q){var nt=A!==null?A.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return nt!==null?null:S(w,A,""+D,q);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case kt:return D.key===nt?E(w,A,D,q):null;case j:return D.key===nt?N(w,A,D,q):null;case T:return D=Fl(D),O(w,A,D,q)}if(Ct(D)||ut(D))return nt!==null?null:R(w,A,D,q,null);if(typeof D.then=="function")return O(w,A,Zu(D),q);if(D.$$typeof===J)return O(w,A,Vu(w,D),q);Ku(w,D)}return null}function k(w,A,D,q,nt){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return w=w.get(D)||null,S(A,w,""+q,nt);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case kt:return w=w.get(q.key===null?D:q.key)||null,E(A,w,q,nt);case j:return w=w.get(q.key===null?D:q.key)||null,N(A,w,q,nt);case T:return q=Fl(q),k(w,A,D,q,nt)}if(Ct(q)||ut(q))return w=w.get(D)||null,R(A,w,q,nt,null);if(typeof q.then=="function")return k(w,A,D,Zu(q),nt);if(q.$$typeof===J)return k(w,A,D,Vu(A,q),nt);Ku(A,q)}return null}function P(w,A,D,q){for(var nt=null,Dt=null,ft=A,mt=A=0,ue=null;ft!==null&&mt<D.length;mt++){ft.index>mt?(ue=ft,ft=null):ue=ft.sibling;var Mt=O(w,ft,D[mt],q);if(Mt===null){ft===null&&(ft=ue);break}t&&ft&&Mt.alternate===null&&e(w,ft),A=c(Mt,A,mt),Dt===null?nt=Mt:Dt.sibling=Mt,Dt=Mt,ft=ue}if(mt===D.length)return n(w,ft),zt&&Zn(w,mt),nt;if(ft===null){for(;mt<D.length;mt++)ft=Y(w,D[mt],q),ft!==null&&(A=c(ft,A,mt),Dt===null?nt=ft:Dt.sibling=ft,Dt=ft);return zt&&Zn(w,mt),nt}for(ft=i(ft);mt<D.length;mt++)ue=k(ft,w,mt,D[mt],q),ue!==null&&(t&&(Mt=ue.alternate,Mt!==null&&ft.delete(Mt.key===null?mt:Mt.key)),A=c(ue,A,mt),Dt===null?nt=ue:Dt.sibling=ue,Dt=ue);return t&&ft.forEach(function(kl){return e(w,kl)}),zt&&Zn(w,mt),nt}function it(w,A,D,q){if(D==null)throw Error(o(151));for(var nt=null,Dt=null,ft=A,mt=A=0,ue=null,Mt=D.next();ft!==null&&!Mt.done;mt++,Mt=D.next()){ft.index>mt?(ue=ft,ft=null):ue=ft.sibling;var kl=O(w,ft,Mt.value,q);if(kl===null){ft===null&&(ft=ue);break}t&&ft&&kl.alternate===null&&e(w,ft),A=c(kl,A,mt),Dt===null?nt=kl:Dt.sibling=kl,Dt=kl,ft=ue}if(Mt.done)return n(w,ft),zt&&Zn(w,mt),nt;if(ft===null){for(;!Mt.done;mt++,Mt=D.next())Mt=Y(w,Mt.value,q),Mt!==null&&(A=c(Mt,A,mt),Dt===null?nt=Mt:Dt.sibling=Mt,Dt=Mt);return zt&&Zn(w,mt),nt}for(ft=i(ft);!Mt.done;mt++,Mt=D.next())Mt=k(ft,w,mt,Mt.value,q),Mt!==null&&(t&&(ue=Mt.alternate,ue!==null&&ft.delete(ue.key===null?mt:ue.key)),A=c(Mt,A,mt),Dt===null?nt=Mt:Dt.sibling=Mt,Dt=Mt);return t&&ft.forEach(function(pb){return e(w,pb)}),zt&&Zn(w,mt),nt}function xt(w,A,D,q){if(typeof D=="object"&&D!==null&&D.type===$&&D.key===null&&D.props.ref===void 0&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case kt:t:{for(var nt=D.key;A!==null;){if(A.key===nt){if(nt=D.type,nt===$){if(A.tag===7){n(w,A.sibling),q=r(A,D.props.children),dl(q,D),q.return=w,w=q;break t}}else if(A.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===T&&Fl(nt)===A.type){n(w,A.sibling),q=r(A,D.props),dl(q,D),q.return=w,w=q;break t}n(w,A);break}else e(w,A);A=A.sibling}D.type===$?(q=Vl(D.props.children,w.mode,q,D.key),dl(q,D),q.return=w,w=q):(q=ju(D.type,D.key,D.props,null,w.mode,q),dl(q,D),q.return=w,w=q)}return m(w);case j:t:{for(nt=D.key;A!==null;){if(A.key===nt)if(A.tag===4&&A.stateNode.containerInfo===D.containerInfo&&A.stateNode.implementation===D.implementation){n(w,A.sibling),q=r(A,D.children||[]),q.return=w,w=q;break t}else{n(w,A);break}else e(w,A);A=A.sibling}q=Lo(D,w.mode,q),q.return=w,w=q}return m(w);case T:return D=Fl(D),xt(w,A,D,q)}if(Ct(D))return P(w,A,D,q);if(ut(D)){if(nt=ut(D),typeof nt!="function")throw Error(o(150));return D=nt.call(D),it(w,A,D,q)}if(typeof D.then=="function")return xt(w,A,Zu(D),q);if(D.$$typeof===J)return xt(w,A,Vu(w,D),q);Ku(w,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,A!==null&&A.tag===6?(n(w,A.sibling),q=r(A,D),q.return=w,w=q):(n(w,A),q=jo(D,w.mode,q),q.return=w,w=q),m(w)):n(w,A)}return function(w,A,D,q){try{_a=0;var nt=xt(w,A,D,q);return Di=null,nt}catch(ft){if(ft===Ni||ft===Xu)throw ft;var Dt=je(29,ft,null,w.mode);return Dt.lanes=q,Dt.return=w,Dt}finally{}}}var $l=id(!0),ad=id(!1),ml=!1;function Ko(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jo(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function pl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function gl(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(jt&2)!==0){var r=i.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),i.pending=e,e=Uu(t),Vh(t,null,n),e}return Ru(t,i,e,n),Uu(t)}function Oa(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Zf(t,n)}}function Fo(t,e){var n=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var m={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?r=c=m:c=c.next=m,n=n.next}while(n!==null);c===null?r=c=e:c=c.next=e}else r=c=e;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:c,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Io=!1;function wa(){if(Io){var t=wi;if(t!==null)throw t}}function Na(t,e,n,i){Io=!1;var r=t.updateQueue;ml=!1;var c=r.firstBaseUpdate,m=r.lastBaseUpdate,S=r.shared.pending;if(S!==null){r.shared.pending=null;var E=S,N=E.next;E.next=null,m===null?c=N:m.next=N,m=E;var R=t.alternate;R!==null&&(R=R.updateQueue,S=R.lastBaseUpdate,S!==m&&(S===null?R.firstBaseUpdate=N:S.next=N,R.lastBaseUpdate=E))}if(c!==null){var Y=r.baseState;m=0,R=N=E=null,S=c;do{var O=S.lane&-536870913,k=O!==S.lane;if(k?(Nt&O)===O:(i&O)===O){O!==0&&O===Kl&&(Io=!0),R!==null&&(R=R.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});t:{var P=t,it=S;O=e;var xt=n;switch(it.tag){case 1:if(P=it.payload,typeof P=="function"){Y=P.call(xt,Y,O);break t}Y=P;break t;case 3:P.flags=P.flags&-65537|128;case 0:if(P=it.payload,O=typeof P=="function"?P.call(xt,Y,O):P,O==null)break t;Y=F({},Y,O);break t;case 2:ml=!0}}O=S.callback,O!==null&&(t.flags|=64,k&&(t.flags|=8192),k=r.callbacks,k===null?r.callbacks=[O]:k.push(O))}else k={lane:O,tag:S.tag,payload:S.payload,callback:S.callback,next:null},R===null?(N=R=k,E=Y):R=R.next=k,m|=O;if(S=S.next,S===null){if(S=r.shared.pending,S===null)break;k=S,S=k.next,k.next=null,r.lastBaseUpdate=k,r.shared.pending=null}}while(!0);R===null&&(E=Y),r.baseState=E,r.firstBaseUpdate=N,r.lastBaseUpdate=R,c===null&&(r.shared.lanes=0),Tl|=m,t.lanes=m,t.memoizedState=Y}}function ud(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function rd(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)ud(n[t],e)}var yl=Ge(null),Ju=Ge(0);function od(t,e){t=Wn,Bt(Ju,t),Bt(yl,e),Wn=t|e.baseLanes}function $o(){Bt(Ju,Wn),Bt(yl,yl.current)}function Po(){Wn=Ju.current,ne(yl),ne(Ju)}var Se=Ge(null),Ae=null;function vl(t){var e=t.alternate;Bt(xe,xe.current&1),Bt(Se,t),Ae===null&&(e===null||yl.current!==null||e.memoizedState!==null)&&(Ae=t)}function Wo(t){Bt(xe,xe.current),Bt(Se,t),Ae===null&&(Ae=t)}function cd(t){t.tag===22?(Bt(xe,xe.current),Bt(Se,t),Ae===null&&(Ae=t)):bl()}function bl(){Bt(xe,xe.current),Bt(Se,Se.current)}function Je(t){ne(Se),Ae===t&&(Ae=null),ne(xe)}var xe=Ge(0);function Da(t,e){Bt(Se,Se.current),Bt(xe,e)}function tc(t){ne(xe),ne(Se),Ae===t&&(Ae=null)}function Fu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Es(n)||Ts(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!=="independent"){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Fn=0,St=null,Vt=null,ie=null,Iu=!1,ki=!1,Pl=!1,$u=0,ka=0,Mi=null,j1=0;function Wt(){throw Error(o(321))}function ec(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Ke(t[n],e[n]))return!1;return!0}function nc(t,e,n,i,r,c){return Fn=c,St=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,at.H=t===null||t.memoizedState===null?Zd:Kd,Pl=!1,c=n(i,r),Pl=!1,ki&&(c=fd(e,n,i,r)),sd(t),c}function sd(t){at.H=ir;var e=Vt!==null&&Vt.next!==null;if(Fn=0,ie=Vt=St=null,Iu=!1,ka=0,Mi=null,e)throw Error(o(300));t===null||ae||(t=t.dependencies,t!==null&&Yu(t)&&(ae=!0))}function fd(t,e,n,i){St=t;var r=0;do{if(ki&&(Mi=null),ka=0,ki=!1,25<=r)throw Error(o(301));if(r+=1,ie=Vt=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}at.H=X1,c=e(n,i)}while(ki);return c}function L1(){var t=at.H,e=t.useState()[0];return e=typeof e.then=="function"?Ma(e):e,t=t.useState()[0],(Vt!==null?Vt.memoizedState:null)!==t&&(St.flags|=1024),e}function lc(){var t=$u!==0;return $u=0,t}function ic(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function ac(t){if(Iu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Iu=!1}Fn=0,ie=Vt=St=null,ki=!1,ka=$u=0,Mi=null}function Ne(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ie===null?St.memoizedState=ie=t:ie=ie.next=t,ie}function ee(){if(Vt===null){var t=St.alternate;t=t!==null?t.memoizedState:null}else t=Vt.next;var e=ie===null?St.memoizedState:ie.next;if(e!==null)ie=e,Vt=t;else{if(t===null)throw St.alternate===null?Error(o(467)):Error(o(310));Vt=t,t={memoizedState:Vt.memoizedState,baseState:Vt.baseState,baseQueue:Vt.baseQueue,queue:Vt.queue,next:null},ie===null?St.memoizedState=ie=t:ie=ie.next=t}return ie}function Pu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ma(t){var e=ka;return ka+=1,Mi===null&&(Mi=[]),t=ed(Mi,t,e),e=St,(ie===null?e.memoizedState:ie.next)===null&&(e=e.alternate,at.H=e===null||e.memoizedState===null?Zd:Kd),t}function Wu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ma(t);if(t.$$typeof===X)return;if(t.$$typeof===J)return be(t)}throw Error(o(438,String(t)))}function uc(t){var e=null,n=St.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var i=St.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(r){return r.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Pu(),St.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),i=0;i<t;i++)n[i]=C;return e.index++,n}function In(t,e){return typeof e=="function"?e(t):e}function tr(t){var e=ee();return rc(e,Vt,t)}function rc(t,e,n){var i=t.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=n;var r=t.baseQueue,c=i.pending;if(c!==null){if(r!==null){var m=r.next;r.next=c.next,c.next=m}e.baseQueue=r=c,i.pending=null}if(c=t.baseState,r===null)t.memoizedState=c;else{e=r.next;var S=m=null,E=null,N=e,R=!1;do{var Y=N.lane&-536870913;if(Y!==N.lane?(Nt&Y)===Y:(Fn&Y)===Y){var O=N.revertLane;if(O===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),Y===Kl&&(R=!0);else if((Fn&O)===O){N=N.next,O===Kl&&(R=!0);continue}else Y={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},E===null?(S=E=Y,m=c):E=E.next=Y,St.lanes|=O,Tl|=O;Y=N.action,Pl&&n(c,Y),c=N.hasEagerState?N.eagerState:n(c,Y)}else O={lane:Y,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},E===null?(S=E=O,m=c):E=E.next=O,St.lanes|=Y,Tl|=Y;N=N.next}while(N!==null&&N!==e);if(E===null?m=c:E.next=S,!Ke(c,t.memoizedState)&&(ae=!0,R&&(n=wi,n!==null)))throw n;t.memoizedState=c,t.baseState=m,t.baseQueue=E,i.lastRenderedState=c}return r===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function oc(t){var e=ee(),n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=t;var i=n.dispatch,r=n.pending,c=e.memoizedState;if(r!==null){n.pending=null;var m=r=r.next;do c=t(c,m.action),m=m.next;while(m!==r);Ke(c,e.memoizedState)||(ae=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),n.lastRenderedState=c}return[c,i]}function hd(t,e,n){var i=St,r=ee(),c=zt;if(c){if(n===void 0)throw Error(o(407));n=n()}else n=e();var m=!Ke((Vt||r).memoizedState,n);if(m&&(r.memoizedState=n,ae=!0),r=r.queue,fc(pd.bind(null,i,r,t),[t]),t=r.getSnapshot!==e||m||ie!==null&&(ie.memoizedState.tag&1)!==0,Ri(t?9:8,{destroy:void 0},md.bind(null,i,r,n,e),null),t){if(i.flags|=2048,Qt===null)throw Error(o(349));c||(Fn&127)!==0||dd(i,e,n)}return n}function dd(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=St.updateQueue,e===null?(e=Pu(),St.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function md(t,e,n,i){e.value=n,e.getSnapshot=i,gd(e)&&yd(t)}function pd(t,e,n){return n(function(){gd(e)&&yd(t)})}function gd(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Ke(t,n)}catch{return!0}}function yd(t){var e=Yl(t,2);e!==null&&qe(e,t,2)}function cc(t){var e=Ne();if(typeof t=="function"){var n=t;if(t=n(),Pl){ul(!0);try{n()}finally{ul(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:In,lastRenderedState:t},e}function vd(t,e,n,i){return t.baseState=n,rc(t,Vt,typeof i=="function"?i:In)}function B1(t,e,n,i,r){if(lr(t))throw Error(o(485));if(t=e.action,t!==null){var c={payload:r,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};at.T!==null?n(!0):c.isTransition=!1,i(c),n=e.pending,n===null?(c.next=e.pending=c,bd(e,c)):(c.next=n.next,e.pending=n.next=c)}}function bd(t,e){var n=e.action,i=e.payload,r=t.state;if(e.isTransition){var c=at.T,m={};m.types=c!==null?c.types:null,at.T=m;try{var S=n(r,i),E=at.S;E!==null&&E(m,S),Sd(t,e,S)}catch(N){sc(t,e,N)}finally{c!==null&&m.types!==null&&(c.types=m.types),at.T=c}}else try{c=n(r,i),Sd(t,e,c)}catch(N){sc(t,e,N)}}function Sd(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){xd(t,e,i)},function(i){return sc(t,e,i)}):xd(t,e,n)}function xd(t,e,n){e.status="fulfilled",e.value=n,Ed(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,bd(t,n)))}function sc(t,e,n){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=n,Ed(e),e=e.next;while(e!==i)}t.action=null}function Ed(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Td(t,e){return e}function zd(t,e){if(zt){var n=Qt.formState;if(n!==null){t:{var i=St;if(zt){if(Jt){e:{for(var r=Jt,c=cn;r.nodeType!==8;){if(!c){r=null;break e}if(r=fn(r.nextSibling),r===null){r=null;break e}}c=r.data,r=c==="F!"||c==="F"?r:null}if(r){Jt=fn(r.nextSibling),i=r.data==="F!";break t}}fl(i)}i=!1}i&&(e=n[0])}}return n=Ne(),n.memoizedState=n.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Td,lastRenderedState:e},n.queue=i,n=Gd.bind(null,St,i),i.dispatch=n,i=cc(!1),c=gc.bind(null,St,!1,i.queue),i=Ne(),r={state:e,dispatch:null,action:t,pending:null},i.queue=r,n=B1.bind(null,St,r,c,n),r.dispatch=n,i.memoizedState=t,[e,n,!1]}function Ad(t){var e=ee();return Cd(e,Vt,t)}function Cd(t,e,n){if(e=rc(t,e,Td)[0],t=tr(In)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=Ma(e)}catch(m){throw m===Ni?Xu:m}else i=e;e=ee();var r=e.queue,c=r.dispatch;return n!==e.memoizedState&&(St.flags|=2048,Ri(9,{destroy:void 0},H1.bind(null,r,n),null)),[i,c,t]}function H1(t,e){t.action=e}function _d(t){var e=ee(),n=Vt;if(n!==null)return Cd(e,n,t);ee(),e=e.memoizedState,n=ee();var i=n.queue.dispatch;return n.memoizedState=t,[e,i,!1]}function Ri(t,e,n,i){return t={tag:t,create:n,deps:i,inst:e,next:null},e=St.updateQueue,e===null&&(e=Pu(),St.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t),t}function Od(){return ee().memoizedState}function er(t,e,n,i){var r=Ne();St.flags|=t,r.memoizedState=Ri(1|e,{destroy:void 0},n,i===void 0?null:i)}function nr(t,e,n,i){var r=ee();i=i===void 0?null:i;var c=r.memoizedState.inst;Vt!==null&&i!==null&&ec(i,Vt.memoizedState.deps)?r.memoizedState=Ri(e,c,n,i):(St.flags|=t,r.memoizedState=Ri(1|e,c,n,i))}function wd(t,e){er(8390656,8,t,e)}function fc(t,e){nr(2048,8,t,e)}function q1(t){St.flags|=4;var e=St.updateQueue;if(e===null)e=Pu(),St.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Nd(t){var e=ee().memoizedState;return q1({ref:e,nextImpl:t}),function(){if((jt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function Dd(t,e){return nr(4,2,t,e)}function kd(t,e){return nr(4,4,t,e)}function Md(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Rd(t,e,n){n=n!=null?n.concat([t]):null,nr(4,4,Md.bind(null,e,t),n)}function hc(){}function Ud(t,e){var n=ee();e=e===void 0?null:e;var i=n.memoizedState;return e!==null&&ec(e,i[1])?i[0]:(n.memoizedState=[t,e],t)}function jd(t,e){var n=ee();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&ec(e,i[1]))return i[0];if(i=t(),Pl){ul(!0);try{t()}finally{ul(!1)}}return n.memoizedState=[i,e],i}function dc(t,e,n){return n===void 0||(Fn&1073741824)!==0&&(Nt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=Zm(),St.lanes|=t,Tl|=t,n)}function Ld(t,e,n,i){return Ke(n,e)?n:yl.current!==null?(t=dc(t,n,i),Ke(t,e)||(ae=!0),t):(Fn&106)===0||(Fn&1073741824)!==0&&(Nt&261930)===0?(ae=!0,t.memoizedState=n):(t=Zm(),St.lanes|=t,Tl|=t,e)}function Bd(t,e,n,i,r){var c=pt.p;pt.p=c!==0&&8>c?c:8;var m=at.T,S={};S.types=m!==null?m.types:null,at.T=S,gc(t,!1,e,n);try{var E=r(),N=at.S;if(N!==null&&N(S,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var R=U1(E,i);Ra(t,e,R,Pe(t))}else Ra(t,e,i,Pe(t))}catch(Y){Ra(t,e,{then:function(){},status:"rejected",reason:Y},Pe())}finally{pt.p=c,m!==null&&S.types!==null&&(m.types=S.types),at.T=m}}function Y1(){}function mc(t,e,n,i){if(t.tag!==5)throw Error(o(476));var r=Hd(t).queue;Bd(t,r,e,mn,n===null?Y1:function(){return qd(t),n(i)})}function Hd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:mn,baseState:mn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:In,lastRenderedState:mn},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:In,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function qd(t){var e=Hd(t);e.next===null&&(e=t.alternate.memoizedState),Ra(t,e.next.queue,{},Pe())}function pc(){return be(Wi)}function Yd(){return ee().memoizedState}function Vd(){return ee().memoizedState}function V1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Pe();t=pl(n);var i=gl(e,t,n);i!==null&&(qe(i,e,n),Oa(i,e,n)),e={cache:Go()},t.payload=e;return}e=e.return}}function G1(t,e,n){var i=Pe();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},lr(t)?Xd(e,n):(n=Ro(t,e,n,i),n!==null&&(qe(n,t,i),Qd(n,e,i)))}function Gd(t,e,n){var i=Pe();Ra(t,e,n,i)}function Ra(t,e,n,i){var r={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(lr(t))Xd(e,r);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var m=e.lastRenderedState,S=c(m,n);if(r.hasEagerState=!0,r.eagerState=S,Ke(S,m))return Ru(t,e,r,0),Qt===null&&Mu(),!1}catch{}finally{}if(n=Ro(t,e,r,i),n!==null)return qe(n,t,i),Qd(n,e,i),!0}return!1}function gc(t,e,n,i){if(i={lane:2,revertLane:us(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},lr(t)){if(e)throw Error(o(479))}else e=Ro(t,n,i,2),e!==null&&qe(e,t,2)}function lr(t){var e=t.alternate;return t===St||e!==null&&e===St}function Xd(t,e){ki=Iu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Qd(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Zf(t,n)}}var ir={readContext:be,use:Wu,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt,useHostTransitionStatus:Wt,useFormState:Wt,useActionState:Wt,useOptimistic:Wt,useMemoCache:Wt,useCacheRefresh:Wt,useEffectEvent:Wt},Zd={readContext:be,use:Wu,useCallback:function(t,e){return Ne().memoizedState=[t,e===void 0?null:e],t},useContext:be,useEffect:wd,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,er(4194308,4,Md.bind(null,e,t),n)},useLayoutEffect:function(t,e){return er(4194308,4,t,e)},useInsertionEffect:function(t,e){er(4,2,t,e)},useMemo:function(t,e){var n=Ne();e=e===void 0?null:e;var i=t();if(Pl){ul(!0);try{t()}finally{ul(!1)}}return n.memoizedState=[i,e],i},useReducer:function(t,e,n){var i=Ne();if(n!==void 0){var r=n(e);if(Pl){ul(!0);try{n(e)}finally{ul(!1)}}}else r=e;return i.memoizedState=i.baseState=r,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},i.queue=t,t=t.dispatch=G1.bind(null,St,t),[i.memoizedState,t]},useRef:function(t){var e=Ne();return t={current:t},e.memoizedState=t},useState:function(t){t=cc(t);var e=t.queue,n=Gd.bind(null,St,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:hc,useDeferredValue:function(t,e){var n=Ne();return dc(n,t,e)},useTransition:function(){var t=cc(!1);return t=Bd.bind(null,St,t.queue,!0,!1),Ne().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var i=St,r=Ne();if(zt){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),Qt===null)throw Error(o(349));(Nt&127)!==0||dd(i,e,n)}r.memoizedState=n;var c={value:n,getSnapshot:e};return r.queue=c,wd(pd.bind(null,i,c,t),[t]),i.flags|=2048,Ri(9,{destroy:void 0},md.bind(null,i,c,n,e),null),n},useId:function(){var t=Ne(),e=Qt.identifierPrefix;if(zt){var n=Cn,i=An;n=(i&~(1<<32-Qe(i)-1)).toString(32)+n,e="_"+e+"R_"+n,n=$u++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=j1++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:pc,useFormState:zd,useActionState:zd,useOptimistic:function(t){var e=Ne();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=gc.bind(null,St,!0,n),n.dispatch=e,[t,e]},useMemoCache:uc,useCacheRefresh:function(){return Ne().memoizedState=V1.bind(null,St)},useEffectEvent:function(t){var e=Ne(),n={impl:t};return e.memoizedState=n,function(){if((jt&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},Kd={readContext:be,use:Wu,useCallback:Ud,useContext:be,useEffect:fc,useImperativeHandle:Rd,useInsertionEffect:Dd,useLayoutEffect:kd,useMemo:jd,useReducer:tr,useRef:Od,useState:function(){return tr(In)},useDebugValue:hc,useDeferredValue:function(t,e){var n=ee();return Ld(n,Vt.memoizedState,t,e)},useTransition:function(){var t=tr(In)[0],e=ee().memoizedState;return[typeof t=="boolean"?t:Ma(t),e]},useSyncExternalStore:hd,useId:Yd,useHostTransitionStatus:pc,useFormState:Ad,useActionState:Ad,useOptimistic:function(t,e){var n=ee();return vd(n,Vt,t,e)},useMemoCache:uc,useCacheRefresh:Vd,useEffectEvent:Nd},X1={readContext:be,use:Wu,useCallback:Ud,useContext:be,useEffect:fc,useImperativeHandle:Rd,useInsertionEffect:Dd,useLayoutEffect:kd,useMemo:jd,useReducer:oc,useRef:Od,useState:function(){return oc(In)},useDebugValue:hc,useDeferredValue:function(t,e){var n=ee();return Vt===null?dc(n,t,e):Ld(n,Vt.memoizedState,t,e)},useTransition:function(){var t=oc(In)[0],e=ee().memoizedState;return[typeof t=="boolean"?t:Ma(t),e]},useSyncExternalStore:hd,useId:Yd,useHostTransitionStatus:pc,useFormState:_d,useActionState:_d,useOptimistic:function(t,e){var n=ee();return Vt!==null?vd(n,Vt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:uc,useCacheRefresh:Vd,useEffectEvent:Nd};function yc(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n==null?e:F({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var vc={enqueueSetState:function(t,e,n){t=t._reactInternals;var i=Pe(),r=pl(i);r.payload=e,n!=null&&(r.callback=n),e=gl(t,r,i),e!==null&&(qe(e,t,i),Oa(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var i=Pe(),r=pl(i);r.tag=1,r.payload=e,n!=null&&(r.callback=n),e=gl(t,r,i),e!==null&&(qe(e,t,i),Oa(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Pe(),i=pl(n);i.tag=2,e!=null&&(i.callback=e),e=gl(t,i,n),e!==null&&(qe(e,t,n),Oa(e,t,n))}};function Jd(t,e,n,i,r,c,m){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(i,c,m):e.prototype&&e.prototype.isPureReactComponent?!Sa(n,i)||!Sa(r,c):!0}function Fd(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&vc.enqueueReplaceState(e,e.state,null)}function Wl(t,e){var n=e;if("ref"in e){n={};for(var i in e)i!=="ref"&&(n[i]=e[i])}if(t=t.defaultProps){n===e&&(n=F({},n));for(var r in t)n[r]===void 0&&(n[r]=t[r])}return n}function Id(t){ku(t)}function $d(t){console.error(t)}function Pd(t){ku(t)}function ar(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function Wd(t,e,n){try{var i=t.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function bc(t,e,n){return n=pl(n),n.tag=3,n.payload={element:null},n.callback=function(){ar(t,e)},n}function tm(t){return t=pl(t),t.tag=3,t}function em(t,e,n,i){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var c=i.value;t.payload=function(){return r(c)},t.callback=function(){Wd(e,n,i)}}var m=n.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(t.callback=function(){Wd(e,n,i),typeof r!="function"&&(zl===null?zl=new Set([this]):zl.add(this));var S=i.stack;this.componentDidCatch(i.value,{componentStack:S!==null?S:""})})}function Q1(t,e,n,i,r){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=n.alternate,e!==null&&Ql(e,n,r,!0),n=Se.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Ae===null?Cr():n.alternate===null&&te===0&&(te=3),n.flags&=-257,n.flags|=65536,n.lanes=r,i===Qu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([i]):e.add(i),ls(t,i,r)),!1;case 22:return n.flags|=65536,i===Qu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([i]):n.add(i)),ls(t,i,r)),!1}throw Error(o(435,n.tag))}return ls(t,i,r),Cr(),!1}if(zt)return e=Se.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=r,i!==Ho&&(t=Error(o(422),{cause:i}),Ta(un(t,n)))):(i!==Ho&&(e=Error(o(423),{cause:i}),Ta(un(e,n))),t=t.current.alternate,t.flags|=65536,r&=-r,t.lanes|=r,i=un(i,n),r=bc(t.stateNode,i,r),Fo(t,r),te!==4&&(te=2)),!1;var c=Error(o(520),{cause:i});if(c=un(c,n),Va===null?Va=[c]:Va.push(c),te!==4&&(te=2),e===null)return!0;i=un(i,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=r&-r,n.lanes|=t,t=bc(n.stateNode,i,t),Fo(n,t),!1;case 1:if(e=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(zl===null||!zl.has(c))))return n.flags|=65536,r&=-r,n.lanes|=r,r=tm(r),em(r,t,n,i),Fo(n,r),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Sc=Error(o(461)),ae=!1;function ce(t,e,n,i){e.child=t===null?ad(e,null,n,i):$l(e,t.child,n,i)}function nm(t,e,n,i,r){n=n.render;var c=e.ref;if("ref"in i){var m={};for(var S in i)S!=="ref"&&(m[S]=i[S])}else m=i;return Zl(e),i=nc(t,e,n,m,c,r),S=lc(),t!==null&&!ae?(ic(t,e,r),$n(t,e,r)):(zt&&S&&Bu(e),e.flags|=1,ce(t,e,i,r),e.child)}function lm(t,e,n,i,r){if(t===null){var c=n.type;return typeof c=="function"&&!Uo(c)&&c.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=c,im(t,e,c,i,r)):(t=ju(n.type,null,i,e,e.mode,r),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!Oc(t,r)){var m=c.memoizedProps;if(n=n.compare,n=n!==null?n:Sa,n(m,i)&&t.ref===e.ref)return $n(t,e,r)}return e.flags|=1,t=Qn(c,i),t.ref=e.ref,t.return=e,e.child=t}function im(t,e,n,i,r){if(t!==null){var c=t.memoizedProps;if(Sa(c,i)&&t.ref===e.ref)if(ae=!1,e.pendingProps=i=c,Oc(t,r))(t.flags&131072)!==0&&(ae=!0);else return e.lanes=t.lanes,$n(t,e,r)}return xc(t,e,n,i,r)}function am(t,e,n,i){var r=i.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,t!==null){for(i=e.child=t.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;i=r&~c}else i=0,e.child=null;return um(t,e,c,n,i)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Gu(e,c!==null?c.cachePool:null),c!==null?od(e,c):$o(),cd(e);else return i=e.lanes=536870912,um(t,e,c!==null?c.baseLanes|n:n,n,i)}else c!==null?(Gu(e,c.cachePool),od(e,c),bl(),e.memoizedState=null):(t!==null&&Gu(e,null),$o(),bl());return ce(t,e,r,n),e.child}function Ua(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function um(t,e,n,i,r){var c=Qo();return c=c===null?null:{parent:le._currentValue,pool:c},e.memoizedState={baseLanes:n,cachePool:c},t!==null&&Gu(e,null),$o(),cd(e),t!==null&&Ql(t,e,i,!0),e.childLanes=r,null}function ur(t,e){return e=rr({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function rm(t,e,n){return $l(e,t.child,null,n),t=ur(e,e.pendingProps),t.flags|=2,Je(e),e.memoizedState=null,t}function Z1(t,e,n){var i=e.pendingProps,r=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(zt){if(i.mode==="hidden")return t=ur(e,i),e.lanes=536870912,t.memoizedState={baseLanes:0,cachePool:null},Ua(null,t);if(Wo(e),(t=Jt)?(t=Mp(t,cn),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:cl!==null?{id:An,overflow:Cn}:null,retryLane:536870912,hydrationErrors:null},n=Xh(t),n.return=e,e.child=n,he=e,Jt=null)):t=null,t===null)throw fl(e);return e.lanes=536870912,null}return ur(e,i)}var c=t.memoizedState;if(c!==null){var m=c.dehydrated;if(Wo(e),r)if(e.flags&256)e.flags&=-257,e=rm(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if(ae||Ql(t,e,n,!1),r=(n&t.childLanes)!==0,ae||r){if(yl.current===null){if(i=Qt,i!==null&&(m=Kf(i,n),m!==0&&m!==c.retryLane))throw c.retryLane=m,Yl(t,m),qe(i,t,m),Sc;Cr()}e=rm(t,e,n)}else t=c.treeContext,Jt=fn(m.nextSibling),he=e,zt=!0,sl=null,cn=!1,t!==null&&Kh(e,t),e=ur(e,i),e.flags|=134221824;return e}return t=Qn(t.child,{mode:i.mode,children:i.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Ui(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function xc(t,e,n,i,r){return Zl(e),n=nc(t,e,n,i,void 0,r),i=lc(),t!==null&&!ae?(ic(t,e,r),$n(t,e,r)):(zt&&i&&Bu(e),e.flags|=1,ce(t,e,n,r),e.child)}function om(t,e,n,i,r,c){return Zl(e),e.updateQueue=null,n=fd(e,i,n,r),sd(t),i=lc(),t!==null&&!ae?(ic(t,e,c),$n(t,e,c)):(zt&&i&&Bu(e),e.flags|=1,ce(t,e,n,c),e.child)}function cm(t,e,n,i,r){if(Zl(e),e.stateNode===null){var c=Ai,m=n.contextType;typeof m=="object"&&m!==null&&(c=be(m)),c=new n(i,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=vc,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=i,c.state=e.memoizedState,c.refs={},Ko(e),m=n.contextType,c.context=typeof m=="object"&&m!==null?be(m):Ai,c.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(yc(e,n,m,i),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&vc.enqueueReplaceState(c,c.state,null),Na(e,i,c,r),wa(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),i=!0}else if(t===null){c=e.stateNode;var S=e.memoizedProps,E=Wl(n,S);c.props=E;var N=c.context,R=n.contextType;m=Ai,typeof R=="object"&&R!==null&&(m=be(R));var Y=n.getDerivedStateFromProps;R=typeof Y=="function"||typeof c.getSnapshotBeforeUpdate=="function",S=e.pendingProps!==S,R||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(S||N!==m)&&Fd(e,c,i,m),ml=!1;var O=e.memoizedState;c.state=O,Na(e,i,c,r),wa(),N=e.memoizedState,S||O!==N||ml?(typeof Y=="function"&&(yc(e,n,Y,i),N=e.memoizedState),(E=ml||Jd(e,n,E,i,O,N,m))?(R||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=N),c.props=i,c.state=N,c.context=m,i=E):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{c=e.stateNode,Jo(t,e),m=e.memoizedProps,R=Wl(n,m),c.props=R,Y=e.pendingProps,O=c.context,N=n.contextType,E=Ai,typeof N=="object"&&N!==null&&(E=be(N)),S=n.getDerivedStateFromProps,(N=typeof S=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==Y||O!==E)&&Fd(e,c,i,E),ml=!1,O=e.memoizedState,c.state=O,Na(e,i,c,r),wa();var k=e.memoizedState;m!==Y||O!==k||ml||t!==null&&t.dependencies!==null&&Yu(t.dependencies)?(typeof S=="function"&&(yc(e,n,S,i),k=e.memoizedState),(R=ml||Jd(e,n,R,i,O,k,E)||t!==null&&t.dependencies!==null&&Yu(t.dependencies))?(N||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(i,k,E),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(i,k,E)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=k),c.props=i,c.state=k,c.context=E,i=R):(typeof c.componentDidUpdate!="function"||m===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),i=!1)}return c=i,Ui(t,e),i=(e.flags&128)!==0,c||i?(c=e.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&i?(e.child=$l(e,t.child,null,r),e.child=$l(e,null,n,r)):ce(t,e,n,r),e.memoizedState=c.state,t=e.child):t=$n(t,e,r),t}function sm(t,e,n,i){return Gl(),e.flags|=256,ce(t,e,n,i),e.child}var Ec={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Tc(t){return{baseLanes:t,cachePool:Wh()}}function zc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=$e),t}function fm(t,e,n){var i=e.pendingProps,r=!1,c=(e.flags&128)!==0,m;if((m=c)||(m=t!==null&&t.memoizedState===null?!1:(xe.current&2)!==0),m&&(r=!0,e.flags&=-129),m=(e.flags&32)!==0,e.flags&=-33,t===null){if(zt){if(r?vl(e):bl(),(t=Jt)?(t=Mp(t,cn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:cl!==null?{id:An,overflow:Cn}:null,retryLane:536870912,hydrationErrors:null},n=Xh(t),n.return=e,e.child=n,he=e,Jt=null)):t=null,t===null)throw fl(e);return Ts(t)?e.lanes=32:e.lanes=536870912,null}return c=i.children,i=i.fallback,r?(bl(),r=e.mode,c=rr({mode:"hidden",children:c},r),i=Vl(i,r,n,null),c.return=e,i.return=e,c.sibling=i,e.child=c,i=e.child,i.memoizedState=Tc(n),i.childLanes=zc(t,m,n),e.memoizedState=Ec,Ua(null,i)):(vl(e),Ac(e,c))}var S=t.memoizedState;if(S!==null){var E=S.dehydrated;if(E!==null)return K1(t,e,c,m,i,E,S,n)}return r?(bl(),r=i.fallback,c=e.mode,S=t.child,E=S.sibling,i=Qn(S,{mode:"hidden",children:i.children}),i.subtreeFlags=S.subtreeFlags&1206910976,E!==null?r=Qn(E,r):(r=Vl(r,c,n,null),r.flags|=2),r.return=e,i.return=e,i.sibling=r,e.child=i,Ua(null,i),i=e.child,r=t.child.memoizedState,r===null?r=Tc(n):(c=r.cachePool,c!==null?(S=le._currentValue,c=c.parent!==S?{parent:S,pool:S}:c):c=Wh(),r={baseLanes:r.baseLanes|n,cachePool:c}),i.memoizedState=r,i.childLanes=zc(t,m,n),e.memoizedState=Ec,Ua(t.child,i)):(vl(e),n=t.child,t=n.sibling,n=Qn(n,{mode:"visible",children:i.children}),n.return=e,n.sibling=null,t!==null&&(m=e.deletions,m===null?(e.deletions=[t],e.flags|=16):m.push(t)),e.child=n,e.memoizedState=null,n)}function Ac(t,e){return e=rr({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function rr(t,e){return t=je(22,t,null,e),t.lanes=0,t}function or(t,e,n){return $l(e,t.child,null,n),t=Ac(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function K1(t,e,n,i,r,c,m,S){if(n)return e.flags&256?(vl(e),e.flags&=-257,or(t,e,S)):e.memoizedState!==null?(bl(),e.child=t.child,e.flags|=128,null):(bl(),c=r.fallback,m=e.mode,r=rr({mode:"visible",children:r.children},m),c=Vl(c,m,S,null),c.flags|=2,r.return=e,c.return=e,r.sibling=c,e.child=r,$l(e,t.child,null,S),r=e.child,r.memoizedState=Tc(S),r.childLanes=zc(t,i,S),e.memoizedState=Ec,Ua(null,r));if(vl(e),Ts(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var E=i.dgst;return i=E,i!==""&&(r=Error(o(419)),r.stack="",r.digest=i,Ta({value:r,source:null,stack:null})),or(t,e,S)}if(ae||Ql(t,e,S,!1),i=(S&t.childLanes)!==0,ae||i){if(yl.current!==null)return or(t,e,S);if(i=Qt,i!==null&&(r=Kf(i,S),r!==0&&r!==m.retryLane))throw m.retryLane=r,Yl(t,r),qe(i,t,r),Sc;return Es(c)||Cr(),or(t,e,S)}return Es(c)?(e.flags|=192,e.child=t.child,null):(t=m.treeContext,Jt=fn(c.nextSibling),he=e,zt=!0,sl=null,cn=!1,t!==null&&Kh(e,t),e=Ac(e,r.children),e.flags|=134221824,e)}function hm(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),qu(t.return,e,n)}function dm(t){for(var e=null;t!==null;){var n=t.alternate;n!==null&&Fu(n)===null&&(e=t),t=t.sibling}return e}function cr(t,e,n,i,r,c){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r,treeForkCount:c}:(m.isBackwards=e,m.rendering=null,m.renderingStartTime=0,m.last=i,m.tail=n,m.tailMode=r,m.treeForkCount=c)}function Cc(t){var e=t.child;for(t.child=null;e!==null;){var n=e.sibling;e.sibling=t.child,t.child=e,e=n}}function _c(t,e,n){var i=e.pendingProps,r=i.revealOrder,c=i.tail;i=i.children;var m=xe.current;if(e.flags&128)return Da(e,m),null;var S=(m&2)!==0;if(S?(m=m&1|2,e.flags|=128):m&=1,Da(e,m),r==="backwards"&&t!==null?(Cc(t),ce(t,e,i,n),Cc(t)):ce(t,e,i,n),i=zt?Ea:0,!S&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&hm(t,n,e);else if(t.tag===19)hm(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(r){case"backwards":n=dm(e.child),n===null?(r=e.child,e.child=null):(r=n.sibling,n.sibling=null,Cc(e)),cr(e,!0,r,null,c,i);break;case"unstable_legacy-backwards":for(n=null,r=e.child,e.child=null;r!==null;){if(t=r.alternate,t!==null&&Fu(t)===null){e.child=r;break}t=r.sibling,r.sibling=n,n=r,r=t}cr(e,!0,n,null,c,i);break;case"together":cr(e,!1,null,null,void 0,i);break;case"independent":e.memoizedState=null;break;default:n=dm(e.child),n===null?(r=e.child,e.child=null):(r=n.sibling,n.sibling=null),cr(e,!1,r,n,c,i)}return e.child}function mm(t,e,n){var i=e.pendingProps;return hl(e,e.type,i.value),ce(t,e,i.children,n),e.child}function $n(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Tl|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Ql(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,n=Qn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Qn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Oc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Yu(t)))}function J1(t,e,n){switch(e.tag){case 3:fi(e,e.stateNode.containerInfo),hl(e,le,t.memoizedState.cache),Gl();break;case 27:case 5:ra(e);break;case 4:fi(e,e.stateNode.containerInfo);break;case 10:hl(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Wo(e),null;break;case 13:var i=e.memoizedState;if(i!==null){if(i.dehydrated!==null)return vl(e),e.flags|=128,null;i=Ql(t,e,n,!1);var r=e.child.childLanes;return i||(n&r)!==0?fm(t,e,n):(vl(e),t=$n(t,e,n),t!==null?t.sibling:null)}vl(e);break;case 19:if(e.flags&128)return _c(t,e,n);if(r=(t.flags&128)!==0,i=(n&e.childLanes)!==0,i||(Ql(t,e,n,!1),i=(n&e.childLanes)!==0),r){if(i)return _c(t,e,n);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Da(e,xe.current),i)break;return null;case 22:return e.lanes=0,am(t,e,n,e.pendingProps);case 24:hl(e,le,t.memoizedState.cache)}return $n(t,e,n)}function pm(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)ae=!0;else{if(!Oc(t,n)&&(e.flags&128)===0)return ae=!1,J1(t,e,n);ae=(t.flags&131072)!==0}else ae=!1,zt&&(e.flags&1048576)!==0&&Zh(e,Ea,e.index);switch(e.lanes=0,e.tag){case 16:t:{var i=e.pendingProps;if(t=Fl(e.elementType),e.type=t,typeof t=="function")Uo(t)?(i=Wl(t,i),e.tag=1,e=cm(null,e,t,i,n)):(e.tag=0,e=xc(null,e,t,i,n));else{if(t!=null){var r=t.$$typeof;if(r===Z){e.tag=11,e=nm(null,e,t,i,n);break t}else if(r===_t){e.tag=14,e=lm(null,e,t,i,n);break t}else if(r===J){e.tag=10,e.type=t,e=mm(null,e,n);break t}}throw e=Tt(t)||t,Error(o(306,e,""))}}return e;case 0:return xc(t,e,e.type,e.pendingProps,n);case 1:return i=e.type,r=Wl(i,e.pendingProps),cm(t,e,i,r,n);case 3:t:{if(fi(e,e.stateNode.containerInfo),t===null)throw Error(o(387));i=e.pendingProps;var c=e.memoizedState;r=c.element,Jo(t,e),Na(e,i,null,n);var m=e.memoizedState;if(i=m.cache,hl(e,le,i),i!==c.cache&&Vo(e,[le],n,!0),wa(),i=m.element,c.isDehydrated)if(c={element:i,isDehydrated:!1,cache:m.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=sm(t,e,i,n);break t}else if(i!==r){r=un(Error(o(424)),e),Ta(r),e=sm(t,e,i,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Jt=fn(t.firstChild),he=e,zt=!0,sl=null,cn=!0,n=ad(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(Gl(),i===r){e=$n(t,e,n);break t}ce(t,e,i,n)}e=e.child}return e;case 26:return Ui(t,e),t===null?(n=qp(e.type,null,e.pendingProps,null))?e.memoizedState=n:zt||(e.stateNode=bp(e.type,e.pendingProps,pn.current,e)):e.memoizedState=qp(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ra(e),t===null&&zt&&(i=e.stateNode=jp(e.type,e.pendingProps,pn.current),he=e,cn=!0,r=Jt,_l(e.type)?(zs=r,Jt=fn(i.firstChild)):Jt=r),ce(t,e,e.pendingProps.children,n),Ui(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&zt&&((r=i=Jt)&&(i=Vv(i,e.type,e.pendingProps,cn),i!==null?(e.stateNode=i,he=e,Jt=fn(i.firstChild),cn=!1,r=!0):r=!1),r||fl(e)),ra(e),r=e.type,c=e.pendingProps,m=t!==null?t.memoizedProps:null,i=c.children,ps(r,c)?i=null:m!==null&&ps(r,m)&&(e.flags|=32),e.memoizedState!==null&&(r=nc(t,e,L1,null,null,n),Wi._currentValue=r),Ui(t,e),ce(t,e,i,n),e.child;case 6:return t===null&&zt&&((t=n=Jt)&&(n=Gv(n,e.pendingProps,cn),n!==null?(e.stateNode=n,he=e,Jt=null,t=!0):t=!1),t||fl(e)),null;case 13:return fm(t,e,n);case 4:return fi(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=$l(e,null,i,n):ce(t,e,i,n),e.child;case 11:return nm(t,e,e.type,e.pendingProps,n);case 7:return i=e.pendingProps,Ui(t,e),ce(t,e,i,n),e.child;case 8:return ce(t,e,e.pendingProps.children,n),e.child;case 12:return ce(t,e,e.pendingProps.children,n),e.child;case 10:return mm(t,e,n);case 9:return r=e.type._context,i=e.pendingProps.children,Zl(e),r=be(r),i=i(r),e.flags|=1,ce(t,e,i,n),e.child;case 14:return lm(t,e,e.type,e.pendingProps,n);case 15:return im(t,e,e.type,e.pendingProps,n);case 19:return _c(t,e,n);case 31:return Z1(t,e,n);case 22:return am(t,e,n,e.pendingProps);case 24:return Zl(e),i=be(le),t===null?(r=Qo(),r===null&&(r=Qt,c=Go(),r.pooledCache=c,c.refCount++,c!==null&&(r.pooledCacheLanes|=n),r=c),e.memoizedState={parent:i,cache:r},Ko(e),hl(e,le,r)):((t.lanes&n)!==0&&(Jo(t,e),Na(e,null,null,n),wa()),r=t.memoizedState,c=e.memoizedState,r.parent!==i?(r={parent:i,cache:i},e.memoizedState=r,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=r),hl(e,le,i)):(i=c.cache,hl(e,le,i),i!==r.cache&&Vo(e,[le],n,!0))),ce(t,e,e.pendingProps.children,n),e.child;case 30:return e.stateNode===null&&(e.stateNode={autoName:null,paired:null,clones:null,ref:null}),i=e.pendingProps,i.name!=null&&i.name!=="auto"?e.flags|=t===null?18882560:18874368:zt&&Bu(e),t!==null&&t.memoizedProps.name!==i.name?e.flags|=4194816:Ui(t,e),ce(t,e,i.children,n),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function Pn(t){t.flags|=4}function wc(t,e,n,i,r){var c;if((c=(t.mode&32)!==0)&&(c=n===null?Xp(e,i):Xp(e,i)&&(i.src!==n.src||i.srcSet!==n.srcSet)),c){if(t.flags|=16777216,(r&335544128)===r)if(t.stateNode.complete)t.flags|=8192;else if(Im())t.flags|=8192;else throw Il=Qu,Zo}else t.flags&=-16777217}function gm(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Qp(e))if(Im())t.flags|=8192;else throw Il=Qu,Zo}function sr(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Xf():536870912,t.lanes|=e,qi|=e)}function ja(t,e){if(!zt)switch(t.tailMode){case"visible":break;case"collapsed":for(var n=t.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null;break;default:for(e=t.tail,n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null}}function Ft(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var r=t.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&1206910976,i|=r.flags&1206910976,r.return=t,r=r.sibling;else for(r=t.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=t,r=r.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function F1(t,e,n){var i=e.pendingProps;switch(Bo(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ft(e),null;case 1:return Ft(e),null;case 3:return n=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),Jn(le),al(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Oi(e)?Pn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,qo())),Ft(e),null;case 26:var r=e.type,c=e.memoizedState;return t===null?(Pn(e),c!==null?(Ft(e),gm(e,c)):(Ft(e),wc(e,r,null,i,n))):c?c!==t.memoizedState?(Pn(e),Ft(e),gm(e,c)):(Ft(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&Pn(e),Ft(e),wc(e,r,t,i,n)),null;case 27:if(hi(e),n=pn.current,r=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&Pn(e);else{if(!i){if(e.stateNode===null)throw Error(o(166));return Ft(e),e.subtreeFlags&=-33554433,null}t=en.current,Oi(e)?Jh(e):(t=jp(r,i,n),e.stateNode=t,Pn(e))}return Ft(e),e.subtreeFlags&=-33554433,null;case 5:if(hi(e),r=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&Pn(e);else{if(!i){if(e.stateNode===null)throw Error(o(166));return Ft(e),e.subtreeFlags&=-33554433,null}if(c=en.current,Oi(e))Jh(e);else{var m=Ka(pn.current);switch(c){case 1:c=m.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:c=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":c=m.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":c=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":c=m.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof i.is=="string"?m.createElement("select",{is:i.is}):m.createElement("select"),i.multiple?c.multiple=!0:i.size&&(c.size=i.size);break;default:c=typeof i.is=="string"?m.createElement(r,{is:i.is}):m.createElement(r)}}c[ve]=e,c[Ue]=i;t:for(m=e.child;m!==null;){if(m.tag===5||m.tag===6)c.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break t;for(;m.sibling===null;){if(m.return===null||m.return===e)break t;m=m.return}m.sibling.return=m.return,m=m.sibling}e.stateNode=c;t:switch(Te(c,r,i),r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&Pn(e)}}return Ft(e),e.subtreeFlags&=-33554433,wc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&Pn(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(o(166));if(t=pn.current,Oi(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,r=he,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}t[ve]=e,t=!!(t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||pp(t.nodeValue,n)),t||fl(e,!0)}else t=Ka(t).createTextNode(i),t[ve]=e,e.stateNode=t}return Ft(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(i=Oi(e),n!==null){if(t===null){if(!i)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[ve]=e}else Gl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ft(e),t=!1}else n=qo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Je(e),e):(Je(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Ft(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(r=Oi(e),i!==null&&i.dehydrated!==null){if(t===null){if(!r)throw Error(o(318));if(r=e.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));r[ve]=e}else Gl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ft(e),r=!1}else r=qo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),r=!0;if(!r)return e.flags&256?(Je(e),e):(Je(e),null)}return Je(e),(e.flags&128)!==0?(e.lanes=n,e):(n=i!==null,t=t!==null&&t.memoizedState!==null,n&&(i=e.child,r=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(r=i.alternate.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==r&&(i.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),sr(e,e.updateQueue),Ft(e),null);case 4:return al(),t===null&&ss(e.stateNode.containerInfo),e.flags|=67108864,Ft(e),null;case 10:return Jn(e.type),Ft(e),null;case 19:if(tc(e),i=e.memoizedState,i===null)return Ft(e),null;if(r=(e.flags&128)!==0,c=i.rendering,c===null)if(r)ja(i,!1);else{if(te!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=Fu(t),c!==null){for(e.flags|=128,ja(i,!1),t=c.updateQueue,e.updateQueue=t,sr(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Gh(n,t),n=n.sibling;return Da(e,xe.current&1|2),zt&&Zn(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&ye()>Er&&(e.flags|=128,r=!0,ja(i,!1),e.lanes=4194304)}else{if(!r)if(t=Fu(c),t!==null){if(e.flags|=128,r=!0,t=t.updateQueue,e.updateQueue=t,sr(e,t),ja(i,!0),i.tail===null&&i.tailMode!=="collapsed"&&i.tailMode!=="visible"&&!c.alternate&&!zt)return Ft(e),null}else 2*ye()-i.renderingStartTime>Er&&n!==536870912&&(e.flags|=128,r=!0,ja(i,!1),e.lanes=4194304);i.isBackwards?(c.sibling=e.child,e.child=c):(t=i.last,t!==null?t.sibling=c:e.child=c,i.last=c)}if(i.tail!==null){t=i.tail;t:{for(n=t;n!==null;){if(n.alternate!==null){n=!1;break t}n=n.sibling}n=!0}return i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ye(),t.sibling=null,c=xe.current,c=r?c&1|2:c&1,i.tailMode==="visible"||i.tailMode==="collapsed"||!n||zt?Da(e,c):(n=c,Bt(Se,e),Bt(xe,n),Ae===null&&(Ae=e)),zt&&Zn(e,i.treeForkCount),t}return Ft(e),null;case 22:case 23:return Je(e),Po(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(Ft(e),e.subtreeFlags&6&&(e.flags|=8192)):Ft(e),n=e.updateQueue,n!==null&&sr(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&ne(Jl),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Jn(le),Ft(e),null;case 25:return null;case 30:return e.flags|=33554432,Ft(e),null}throw Error(o(156,e.tag))}function I1(t,e){switch(Bo(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Jn(le),al(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return hi(e),null;case 31:if(e.memoizedState!==null){if(Je(e),e.alternate===null)throw Error(o(340));Gl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Je(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));Gl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return tc(e),t=e.flags,t&65536?(e.flags=t&-65537|128,t=e.memoizedState,t!==null&&(t.rendering=null,t.tail=null),e.flags|=4,e):null;case 4:return al(),null;case 10:return Jn(e.type),null;case 22:case 23:return Je(e),Po(),t!==null&&ne(Jl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Jn(le),null;case 25:return null;default:return null}}function ym(t,e){switch(Bo(e),e.tag){case 3:Jn(le),al();break;case 26:case 27:case 5:hi(e);break;case 4:al();break;case 31:e.memoizedState!==null&&Je(e);break;case 13:Je(e);break;case 19:tc(e);break;case 10:Jn(e.type);break;case 22:case 23:Je(e),Po(),t!==null&&ne(Jl);break;case 24:Jn(le)}}function La(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var r=i.next;n=r;do{if((n.tag&t)===t){i=void 0;var c=n.create,m=n.inst;i=c(),m.destroy=i}n=n.next}while(n!==r)}}catch(S){qt(e,e.return,S)}}function Sl(t,e,n){try{var i=e.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var c=r.next;i=c;do{if((i.tag&t)===t){var m=i.inst,S=m.destroy;if(S!==void 0){m.destroy=void 0,r=e;var E=n,N=S;try{N()}catch(R){qt(r,E,R)}}}i=i.next}while(i!==c)}}catch(R){qt(e,e.return,R)}}function vm(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{rd(e,n)}catch(i){qt(t,t.return,i)}}}function bm(t,e,n){n.props=Wl(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){qt(t,e,i)}}function _n(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:var r=t.stateNode,c=Gn(t.memoizedProps,r);(r.ref===null||r.ref.name!==c)&&(r.ref=Cp(c)),i=r.ref;break;case 7:if(t.stateNode===null){var m=new We(t);p(t.child,!1,qv,m,void 0,void 0),t.stateNode=m}i=t.stateNode;break;default:i=t.stateNode}typeof n=="function"?t.refCleanup=n(i):n.current=i}}catch(S){qt(t,e,S)}}function Ee(t,e){var n=t.ref,i=t.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(r){qt(t,e,r)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){qt(t,e,r)}else n.current=null}function fr(t,e){if((t.tag===5||t.tag===27||t.tag===6)&&t.alternate===null&&e!==null)for(var n=0;n<e.length;n++)kp(t.stateNode,e[n])}function Sm(t){for(var e=t.return;e!==null&&(Dc(e)&&kp(t.stateNode,e.stateNode),!Nc(e));)e=e.return}function Ba(t){for(var e=t.return;e!==null&&(Dc(e)&&Yv(t.stateNode,e.stateNode),!Nc(e));)e=e.return}function Nc(t){return t.tag===5||t.tag===3||t.tag===27}function Dc(t){return t&&t.tag===7&&t.stateNode!==null}function kc(t){var e=t.type,n=t.memoizedProps,i=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(r){qt(t,t.return,r)}}function Mc(t,e,n){try{var i=t.stateNode;Ev(i,t.type,n,e),i[Ue]=e}catch(r){qt(t,t.return,r)}}function xm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&_l(t.type)||t.tag===4}function Rc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||xm(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&&_l(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 Uc(t,e,n,i){var r=t.tag;if(r===5||r===6)r=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(r,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(r),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=zn)),fr(t,i),Rt=!0;else if(r!==4&&(r===27&&(fr(t,i),i=null,_l(t.type)&&(n=t.stateNode,e=null)),t=t.child,t!==null))for(Uc(t,e,n,i),t=t.sibling;t!==null;)Uc(t,e,n,i),t=t.sibling}function hr(t,e,n,i){var r=t.tag;if(r===5||r===6)r=t.stateNode,e?n.insertBefore(r,e):n.appendChild(r),fr(t,i),Rt=!0;else if(r!==4&&(r===27&&(fr(t,i),i=null,_l(t.type)&&(n=t.stateNode)),t=t.child,t!==null))for(hr(t,e,n,i),t=t.sibling;t!==null;)hr(t,e,n,i),t=t.sibling}function Em(t){var e=t.stateNode,n=t.memoizedProps;try{for(var i=t.type,r=e.attributes;r.length;)e.removeAttributeNode(r[0]);Te(e,i,n),e[ve]=t,e[Ue]=n}catch(c){qt(t,t.return,c)}}var dr=!1,Fe=null;function Tm(t){(t.tag===30||(t.subtreeFlags&33554432)!==0)&&(dr=!0)}var On=null;function zm(){var t=On;return On=null,t}var Le=0;function ji(t,e,n,i,r){return Le=0,Am(t.child,e,n,i,r)}function Am(t,e,n,i,r){for(var c=!1;t!==null;){if(t.tag===5){var m=t.stateNode;if(i!==null){var S=vs(m);i.push(S),S.view&&(c=!0)}else c||vs(m).view&&(c=!0);dr=!0,zp(m,Le===0?e:e+"_"+Le,n),Le++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&r||Am(t.child,e,n,i,r)&&(c=!0));t=t.sibling}return c}function wn(t,e){for(;t!==null;)t.tag===5?Ap(t.stateNode,t.memoizedProps):(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&e||wn(t.child,e)),t=t.sibling}function mr(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if((t.tag!==22||t.memoizedState===null)&&(mr(t),t.tag===30&&(t.flags&18874368)!==0&&t.stateNode.paired)){var e=t.memoizedProps;if(e.name==null||e.name==="auto")throw Error(o(544));var n=e.name;e=Xn(e.default,e.share),e!=="none"&&(ji(t,n,e,null,!1)||wn(t.child,!1))}t=t.sibling}}function jc(t,e){if(t.tag===30){var n=t.stateNode,i=t.memoizedProps,r=Gn(i,n),c=Xn(i.default,n.paired?i.share:i.enter);c!=="none"?ji(t,r,c,null,!1)?(mr(t),n.paired||e||Xi(t,i.onEnter)):wn(t.child,!1):mr(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)jc(t,e),t=t.sibling;else mr(t)}function Lc(t){if(Fe!==null&&Fe.size!==0){var e=Fe;if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var n=t.memoizedProps,i=n.name;if(i!=null&&i!=="auto"){var r=e.get(i);if(r!==void 0){var c=Xn(n.default,n.share);if(c!=="none"&&(ji(t,i,c,null,!1)?(c=t.stateNode,r.paired=c,c.paired=r,Xi(t,n.onShare)):wn(t.child,!1)),e.delete(i),e.size===0)break}}}Lc(t)}t=t.sibling}}}function Bc(t){if(t.tag===30){var e=t.memoizedProps,n=Gn(e,t.stateNode),i=Fe!==null?Fe.get(n):void 0,r=Xn(e.default,i!==void 0?e.share:e.exit);r!=="none"&&(ji(t,n,r,null,!1)?i!==void 0?(r=t.stateNode,i.paired=r,r.paired=i,Fe.delete(n),Xi(t,e.onShare)):Xi(t,e.onExit):wn(t.child,!1)),Fe!==null&&Lc(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)Bc(t),t=t.sibling;else Fe!==null&&Lc(t)}function Cm(t){for(t=t.child;t!==null;){if(t.tag===30){var e=t.memoizedProps,n=Gn(e,t.stateNode);e=Xn(e.default,e.update),t.flags&=-5,e!=="none"&&ji(t,n,e,t.memoizedState=[],!1)}else(t.subtreeFlags&33554432)!==0&&Cm(t);t=t.sibling}}function Hc(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var e=t.stateNode;e.paired!==null&&(e.paired=null,wn(t.child,!1))}Hc(t)}t=t.sibling}}function pr(t){if(t.tag===30)t.stateNode.paired=null,wn(t.child,!1),Hc(t);else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)pr(t),t=t.sibling;else Hc(t)}function _m(t){for(t=t.child;t!==null;)t.tag===30?wn(t.child,!1):(t.subtreeFlags&33554432)!==0&&_m(t),t=t.sibling}function qc(t,e,n,i,r,c,m){for(var S=!1;e!==null;){if(e.tag===5){var E=e.stateNode;if(c!==null&&Le<c.length){var N=c[Le],R=vs(E);(N.view||R.view)&&(S=!0);var Y;if(Y=(t.flags&4)===0)if(R.clip)Y=!0;else{Y=N.rect;var O=R.rect;Y=Y.y!==O.y||Y.x!==O.x||Y.height!==O.height||Y.width!==O.width}Y&&(t.flags|=4),R.abs?R=!N.abs:(N=N.rect,R=R.rect,R=N.height!==R.height||N.width!==R.width),R&&(t.flags|=32)}else t.flags|=32;(t.flags&4)!==0&&zp(E,Le===0?n:n+"_"+Le,r),S&&(t.flags&4)!==0||(On===null&&(On=[]),On.push(E,Le===0?i:i+"_"+Le,e.memoizedProps)),Le++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&m?t.flags|=e.flags&32:qc(t,e.child,n,i,r,c,m)&&(S=!0));e=e.sibling}return S}function Om(t,e){for(t=t.child;t!==null;){if(t.tag===30){var n=t.memoizedProps,i=t.stateNode,r=Gn(n,i),c=Xn(n.default,n.update),m;m=t.memoizedState,t.memoizedState=null,i=t;var S=t.child;Le=0,r=qc(i,S,r,r,c,m,!1),(t.flags&4)!==0&&r&&Xi(t,n.onUpdate)}else(t.subtreeFlags&33554432)!==0&&Om(t);t=t.sibling}}var de=!1,Lt=!1,Nn=!1,Yc=!1,wm=typeof WeakSet=="function"?WeakSet:Set,me=null,Dn=!1,Ha=!1,gr=!1,Vc=!1;function $1(t,e,n){if(t=t.containerInfo,ds=ta,t=Mh(t),Oo(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else t:{i=(i=t.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var c=r.anchorOffset,m=r.focusNode;r=r.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break t}var S=0,E=-1,N=-1,R=0,Y=0,O=t,k=null;e:for(;;){for(var P;O!==i||c!==0&&O.nodeType!==3||(E=S+c),O!==m||r!==0&&O.nodeType!==3||(N=S+r),O.nodeType===3&&(S+=O.nodeValue.length),(P=O.firstChild)!==null;)k=O,O=P;for(;;){if(O===t)break e;if(k===i&&++R===c&&(E=S),k===m&&++Y===r&&(N=S),(P=O.nextSibling)!==null)break;O=k,k=O.parentNode}O=P}i=E===-1||N===-1?null:{start:E,end:N}}else i=null}i=i||{start:0,end:0}}else i=null;for(ms={focusedElem:t,selectionRange:i},ta=!1,n=(n&335544064)===n,me=e,e=n?9270:1024;me!==null;){if(t=me,n&&(i=t.deletions,i!==null))for(c=0;c<i.length;c++)n&&Bc(i[c]);if(t.alternate===null&&(t.flags&2)!==0)n&&Tm(t),yr(n);else{if(t.tag===22){if(i=t.alternate,t.memoizedState!==null){i!==null&&i.memoizedState===null&&n&&Bc(i),yr(n);continue}else if(i!==null&&i.memoizedState!==null){n&&Tm(t),yr(n);continue}}i=t.child,(t.subtreeFlags&e)!==0&&i!==null?(i.return=t,me=i):(n&&Cm(t),yr(n))}}Fe=null}function yr(t){for(;me!==null;){var e=me,n=t,i=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 15:break;case 1:if((r&1024)!==0&&i!==null){n=void 0,r=i.memoizedProps,i=i.memoizedState;var c=e.stateNode;try{var m=Wl(e.type,r);n=c.getSnapshotBeforeUpdate(m,i),c.__reactInternalSnapshotBeforeUpdate=n}catch(S){qt(e,e.return,S)}}break;case 3:if((r&1024)!==0){if(i=e.stateNode.containerInfo,n=i.nodeType,n===9)xs(i);else if(n===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":xs(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&i!==null&&(n=Gn(i.memoizedProps,i.stateNode),r=e.memoizedProps,r=Xn(r.default,r.update),r!=="none"&&ji(i,n,r,i.memoizedState=[],!0));break;default:if((r&1024)!==0)throw Error(o(163))}if(i=e.sibling,i!==null){i.return=e.return,me=i;break}me=e.return}}function Nm(t,e,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:kn(t,n),i&4&&La(5,n);break;case 1:if(kn(t,n),i&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(m){qt(n,n.return,m)}else{var r=Wl(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(r,e,t.__reactInternalSnapshotBeforeUpdate)}catch(m){qt(n,n.return,m)}}i&64&&vm(n),i&512&&_n(n,n.return);break;case 3:if(kn(t,n),i&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{rd(t,e)}catch(m){qt(n,n.return,m)}}break;case 27:e===null&&i&4&&Em(n);case 26:case 5:kn(t,n),e===null&&i&4&&kc(n),i&512&&_n(n,n.return);break;case 12:kn(t,n);break;case 31:kn(t,n),i&4&&Rm(t,n);break;case 13:kn(t,n),i&4&&Um(t,n),i&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=cv.bind(null,n),Xv(t,n))));break;case 22:if(i=n.memoizedState!==null||de,!i){var c=e!==null&&e.memoizedState!==null||Lt;e=de,r=Lt,de=i,(Lt=c)&&!r?(i=2,(n.subtreeFlags&8772)!==0&&(i|=1),bn(t,n,i)):kn(t,n),de=e,Lt=r}break;case 30:kn(t,n),i&512&&_n(n,n.return);break;case 7:i&512&&_n(n,n.return);default:kn(t,n)}}function Gc(t,e){for(t=t.child;t!==null;)Dm(t,e),t=t.sibling}function Dm(t,e){switch(t.tag){case 5:case 26:try{var n=t.stateNode;if(e){var i=n.style;typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"}else{var r=t.stateNode,c=t.memoizedProps.style,m=c!=null&&c.hasOwnProperty("display")?c.display:null;r.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(E){qt(t,t.return,E)}Xc(t,e);break;case 6:try{t.stateNode.nodeValue=e?"":t.memoizedProps,Rt=!0}catch(E){qt(t,t.return,E)}break;case 18:try{var S=t.stateNode;e?Tp(S,!0):Tp(t.stateNode,!1)}catch(E){qt(t,t.return,E)}break;case 22:case 23:t.memoizedState===null&&Gc(t,e);break;default:Gc(t,e)}}function Xc(t,e){if(t.subtreeFlags&67108864)for(t=t.child;t!==null;){t:{var n=t,i=e;switch(n.tag){case 4:Dm(n,i);break t;case 22:n.memoizedState===null&&Xc(n,i);break t;default:Xc(n,i)}}t=t.sibling}}function km(t){var e=t.alternate;e!==null&&(t.alternate=null,km(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Eu(e)),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 It=null,Be=!1;function yn(t,e,n){for(n=n.child;n!==null;)Mm(t,e,n),n=n.sibling}function Mm(t,e,n){if(Xe&&typeof Xe.onCommitFiberUnmount=="function")try{Xe.onCommitFiberUnmount(oa,n)}catch{}switch(n.tag){case 26:Lt||Ee(n,e),yn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!Lt&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Lt||Ee(n,e),Ba(n);var i=It,r=Be;_l(n.type)&&(It=n.stateNode,Be=!1),yn(t,e,n),Lp(n.stateNode,n.type,n.memoizedProps),It=i,Be=r;break;case 5:Lt||Ee(n,e),Ba(n);case 6:if(n.tag===6&&Ba(n),i=It,r=Be,It=null,yn(t,e,n),It=i,Be=r,It!==null)if(Be)try{(It.nodeType===9?It.body:It.nodeName==="HTML"?It.ownerDocument.body:It).removeChild(n.stateNode),Rt=!0}catch(c){qt(n,e,c)}else try{It.removeChild(n.stateNode),Rt=!0}catch(c){qt(n,e,c)}break;case 18:It!==null&&(Be?(t=It,Ep(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),ea(t)):Ep(It,n.stateNode));break;case 4:i=It,r=Be,It=n.stateNode.containerInfo,Be=!0,yn(t,e,n),It=i,Be=r;break;case 0:case 11:case 14:case 15:Sl(2,n,e),Lt||Sl(4,n,e),yn(t,e,n);break;case 1:Lt||(Ee(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"&&bm(n,e,i)),yn(t,e,n);break;case 21:yn(t,e,n);break;case 22:Lt=(i=Lt)||n.memoizedState!==null,yn(t,e,n),Lt=i;break;case 30:Ee(n,e),yn(t,e,n);break;case 7:Lt||Ee(n,e),yn(t,e,n);break;default:yn(t,e,n)}}function Rm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ea(t)}catch(n){qt(e,e.return,n)}}}function Um(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ea(t)}catch(n){qt(e,e.return,n)}}function P1(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new wm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new wm),e;default:throw Error(o(435,t.tag))}}function vr(t,e){var n=P1(t);e.forEach(function(i){if(!n.has(i)){n.add(i);var r=sv.bind(null,t,i);i.then(r,r)}})}function De(t,e,n){var i=e.deletions;if(i!==null)for(var r=0;r<i.length;r++){var c=i[r],m=t,S=e,E=S;t:for(;E!==null;){switch(E.tag){case 27:if(_l(E.type)){It=E.stateNode,Be=!1;break t}break;case 5:It=E.stateNode,Be=!1;break t;case 3:case 4:It=E.stateNode.containerInfo,Be=!0;break t}E=E.return}if(It===null)throw Error(o(160));Mm(m,S,c),It=null,Be=!1,m=c.alternate,m!==null&&(m.return=null),c.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)jm(e,t,n),e=e.sibling}var vn=null;function jm(t,e,n){var i=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(r&4&&(i=t.updateQueue,i=i!==null?i.events:null,i!==null))for(var c=0;c<i.length;c++){var m=i[c];m.ref.impl=m.nextImpl}De(e,t,n),ke(t),r&4&&(Sl(3,t,t.return),La(3,t),Sl(5,t,t.return));break;case 1:De(e,t,n),ke(t),r&512&&(Lt||i===null||Ee(i,i.return)),r&64&&de&&(t=t.updateQueue,t!==null&&(e=t.callbacks,e!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?e:n.concat(e))));break;case 26:if(c=vn,De(e,t,n),ke(t),r&512&&(Lt||i===null||Ee(i,i.return)),r&4)if(r=i!==null?i.memoizedState:null,n=t.memoizedState,i===null)if(n===null)if(t.stateNode===null)if(de)t.stateNode=bp(t.type,t.memoizedProps,e.containerInfo,t);else{t:{e=t.type,n=t.memoizedProps,r=c.ownerDocument||c;e:switch(e){case"title":i=r.getElementsByTagName("title")[0],(!i||i[fa]||i[ve]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=r.createElement(e),r.head.insertBefore(i,r.querySelector("head > title"))),Te(i,e,n),i[ve]=t,fe(i),e=i;break t;case"link":if(c=Gp("link","href",r).get(e+(n.href||""))){for(m=0;m<c.length;m++)if(i=c[m],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){c.splice(m,1);break e}}i=r.createElement(e),Te(i,e,n),r.head.appendChild(i);break;case"meta":if(c=Gp("meta","content",r).get(e+(n.content||""))){for(m=0;m<c.length;m++)if(i=c[m],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){c.splice(m,1);break e}}i=r.createElement(e),Te(i,e,n),r.head.appendChild(i);break;default:throw Error(o(468,e))}i[ve]=t,fe(i),e=i}t.stateNode=e}else de||Os(c,t.type,t.stateNode);else t.stateNode=Vp(c,n,t.memoizedProps);else r!==n?(r===null?(e=i.stateNode,e===null||Lt||e.parentNode.removeChild(e)):r.count--,n===null?de||Os(c,t.type,t.stateNode):Vp(c,n,t.memoizedProps)):n===null&&t.stateNode!==null&&Mc(t,t.memoizedProps,i.memoizedProps);break;case 27:De(e,t,n),ke(t),r&512&&(Lt||i===null||Ee(i,i.return)),i!==null&&r&4&&Mc(t,t.memoizedProps,i.memoizedProps);break;case 5:if(c=Nn,Nn=!1,De(e,t,n),Nn=c,ke(t),r&512&&(Lt||i===null||Ee(i,i.return)),t.flags&32){e=t.stateNode;try{vi(e,""),Rt=!0}catch(R){qt(t,t.return,R)}}r&4&&t.stateNode!=null&&(e=t.memoizedProps,Mc(t,e,i!==null?i.memoizedProps:e)),r&1024&&(Yc=!0);break;case 6:if(De(e,t,n),ke(t),r&4){if(t.stateNode===null)throw Error(o(162));e=t.memoizedProps,n=t.stateNode;try{n.nodeValue=e,Rt=!0}catch(R){qt(t,t.return,R)}}break;case 3:if(Rt=!1,Mr=null,c=vn,vn=Ja(e.containerInfo),De(e,t,n),vn=c,ke(t),r&4&&i!==null&&i.memoizedState.isDehydrated)try{ea(e.containerInfo)}catch(R){qt(t,t.return,R)}Yc&&(Yc=!1,Lm(t)),Rt=!1;break;case 4:r=Nn,Nn=de,i=lh(),c=vn,vn=Ja(t.stateNode.containerInfo),De(e,t,n),ke(t),vn=c,Rt&&Ha&&(gr=!0),Rt=i,Nn=r;break;case 12:De(e,t,n),ke(t);break;case 31:De(e,t,n),ke(t),r&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,vr(t,e)));break;case 13:De(e,t,n),ke(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(xr=ye()),r&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,vr(t,e)));break;case 22:c=t.memoizedState!==null,m=i!==null&&i.memoizedState!==null;var S=de,E=Lt,N=Nn;de=S||c,Nn=N||c,Lt=E||m,De(e,t,n),Lt=E,Nn=N,de=S,ke(t),r&8192&&(e=t.stateNode,e._visibility=c?e._visibility&-2:e._visibility|1,!c||i===null||m||de||Lt||(e=m||Lt,n=de,i=Lt,de=c||de,Lt=e,xl(t,2),de=n,Lt=i),!c&&Nn||Gc(t,c)),r&4&&(e=t.updateQueue,e!==null&&(n=e.retryQueue,n!==null&&(e.retryQueue=null,vr(t,n))));break;case 19:De(e,t,n),ke(t),r&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,vr(t,e)));break;case 30:r&512&&(Lt||i===null||Ee(i,i.return)),r=lh(),c=Ha,m=(n&335544064)===n,S=t.memoizedProps,Ha=m&&Xn(S.default,S.update)!=="none",De(e,t,n),ke(t),m&&i!==null&&Rt&&(t.flags|=4),Ha=c,Rt=r;break;case 21:break;case 7:r&512&&(Lt||i===null||Ee(i,i.return)),i&&i.stateNode!==null&&(i.stateNode._fragmentFiber=t);default:De(e,t,n),ke(t)}}function ke(t){var e=t.flags;if(e&2){try{for(var n,i=t.return;i!==null;){if(xm(i)){n=i;break}i=i.return}i=null;for(var r=t.return;r!==null;){if(Dc(r)){var c=r.stateNode;i===null?i=[c]:i.push(c)}if(Nc(r))break;r=r.return}var m=i;if(n==null)throw Error(o(160));switch(n.tag){case 27:var S=n.stateNode,E=Rc(t);hr(t,E,S,m);break;case 5:var N=n.stateNode;n.flags&32&&(vi(N,""),n.flags&=-33);var R=Rc(t);hr(t,R,N,m);break;case 3:case 4:var Y=n.stateNode.containerInfo,O=Rc(t);Uc(t,O,Y,m);break;default:throw Error(o(161))}}catch(k){qt(t,t.return,k)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Lm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Lm(e),e.tag===5&&e.flags&1024&&(e=e.stateNode,ta=!0,e.reset(),ta=!1),t=t.sibling}}function Li(t,e){if(e.subtreeFlags&9270)for(e=e.child;e!==null;)Bm(e,t),e=e.sibling;else Om(e)}function Bm(t,e){var n=t.alternate;if(n===null)jc(t,!1);else switch(t.tag){case 3:if(Vc=Dn=!1,zm(),Li(e,t),!Dn&&!gr){if(t=On,t!==null)for(var i=0;i<t.length;i+=3){n=t[i];var r=t[i+1];Ap(n,t[i+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+r+")"})}t=e.containerInfo,t=t.nodeType===9?t.documentElement:t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName===""&&(t.style.viewTransitionName="none",t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),t.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Vc=!0}On=null;break;case 5:Li(e,t);break;case 4:i=Dn,Dn=!1,Li(e,t),Dn&&(gr=!0),Dn=i;break;case 22:t.memoizedState===null&&(n.memoizedState!==null?jc(t,!1):Li(e,t));break;case 30:i=Dn,r=zm(),Dn=!1,Li(e,t),Dn&&(t.flags|=4);var c=t.memoizedProps,m=t.stateNode;e=Gn(c,m),m=Gn(n.memoizedProps,m);var S=Xn(c.default,c.update);S==="none"?e=!1:(c=n.memoizedState,n.memoizedState=null,n=t.child,Le=0,e=qc(t,n,e,m,S,c,!0),Le!==(c===null?0:c.length)&&(t.flags|=32)),(t.flags&4)!==0&&e?(Xi(t,t.memoizedProps.onUpdate),On=r):r!==null&&(r.push.apply(r,On),On=r),Dn=(t.flags&32)!==0?!0:i;break;default:Li(e,t)}}function kn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Nm(t,e.alternate,e),e=e.sibling}function xl(t,e){for(t=t.child;t!==null;){var n=t,i=e;switch(n.tag){case 0:case 11:case 14:case 15:Sl(4,n,n.return),xl(n,i);break;case 1:Ee(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&bm(n,n.return,r),xl(n,i);break;case 27:(i&2)!==0&&Lp(n.stateNode,n.type,n.memoizedProps);case 5:Ee(n,n.return),n.tag!==5&&n.tag!==27||Ba(n),xl(n,i);break;case 6:Ba(n);break;case 26:Ee(n,n.return),r=n.stateNode,n.memoizedState!==null||r===null||Lt||r.parentNode.removeChild(r),xl(n,i);break;case 22:n.memoizedState===null&&xl(n,i);break;case 30:Ee(n,n.return),xl(n,i);break;case 7:Ee(n,n.return);default:xl(n,i)}t=t.sibling}}function bn(t,e,n){for(n=(e.subtreeFlags&8772)!==0?n:n&-2,e=e.child;e!==null;){var i=e.alternate,r=t,c=e,m=c.flags,S=(n&1)!==0;switch(c.tag){case 0:case 11:case 15:bn(r,c,n),La(4,c);break;case 1:if(bn(r,c,n),i=c,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(R){qt(i,i.return,R)}if(i=c,r=i.updateQueue,r!==null){var E=i.stateNode;try{var N=r.shared.hiddenCallbacks;if(N!==null)for(r.shared.hiddenCallbacks=null,r=0;r<N.length;r++)ud(N[r],E)}catch(R){qt(i,i.return,R)}}S&&m&64&&vm(c),_n(c,c.return);break;case 27:(n&2)!==0&&Em(c);case 5:c.tag!==5&&c.tag!==27||Sm(c),bn(r,c,n),S&&i===null&&m&4&&kc(c),_n(c,c.return);break;case 6:Sm(c);break;case 26:E=c.stateNode,c.memoizedState!==null||E===null||de||Os(Ja(E.ownerDocument),c.type,E),bn(r,c,n),S&&i===null&&m&4&&kc(c),_n(c,c.return);break;case 12:bn(r,c,n);break;case 31:bn(r,c,n),S&&m&4&&Rm(r,c);break;case 13:bn(r,c,n),S&&m&4&&Um(r,c);break;case 22:c.memoizedState===null&&bn(r,c,n),_n(c,c.return);break;case 30:bn(r,c,n),_n(c,c.return);break;case 7:_n(c,c.return);default:bn(r,c,n)}e=e.sibling}}function Qc(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&za(n))}function Zc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&za(t))}function sn(t,e,n,i){var r=(n&335544064)===n;if(e.subtreeFlags&(r?10262:10256))for(e=e.child;e!==null;)Hm(t,e,n,i),e=e.sibling;else r&&_m(e)}function Hm(t,e,n,i){var r=(n&335544064)===n;r&&e.alternate===null&&e.return!==null&&e.return.alternate!==null&&pr(e);var c=e.flags;switch(e.tag){case 0:case 11:case 15:sn(t,e,n,i),c&2048&&La(9,e);break;case 1:sn(t,e,n,i);break;case 3:sn(t,e,n,i),r&&Vc&&(t=t.containerInfo,t=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,t.style.viewTransitionName==="root"&&(t.style.viewTransitionName=""),t=t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName==="none"&&(t.style.viewTransitionName="")),c&2048&&(c=null,e.alternate!==null&&(c=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==c&&(e.refCount++,c!=null&&za(c)));break;case 12:if(c&2048){sn(t,e,n,i),c=e.stateNode;try{var m=e.memoizedProps,S=m.id,E=m.onPostCommit;typeof E=="function"&&E(S,e.alternate===null?"mount":"update",c.passiveEffectDuration,-0)}catch(N){qt(e,e.return,N)}}else sn(t,e,n,i);break;case 31:sn(t,e,n,i);break;case 13:sn(t,e,n,i);break;case 23:break;case 22:m=e.stateNode,S=e.alternate,e.memoizedState!==null?(r&&S!==null&&S.memoizedState===null&&pr(S),m._visibility&2?sn(t,e,n,i):qa(t,e)):(r&&S!==null&&S.memoizedState!==null&&pr(e),m._visibility&2?sn(t,e,n,i):(m._visibility|=2,Bi(t,e,n,i,(e.subtreeFlags&10256)!==0||!1))),c&2048&&Qc(S,e);break;case 24:sn(t,e,n,i),c&2048&&Zc(e.alternate,e);break;case 30:r&&(c=e.alternate,c!==null&&(wn(c.child,!0),wn(e.child,!0))),sn(t,e,n,i);break;default:sn(t,e,n,i)}}function Bi(t,e,n,i,r){for(r=r&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,m=e,S=n,E=i,N=m.flags;switch(m.tag){case 0:case 11:case 15:Bi(c,m,S,E,r),La(8,m);break;case 23:break;case 22:var R=m.stateNode;m.memoizedState!==null?R._visibility&2?Bi(c,m,S,E,r):qa(c,m):(R._visibility|=2,Bi(c,m,S,E,r)),r&&N&2048&&Qc(m.alternate,m);break;case 24:Bi(c,m,S,E,r),r&&N&2048&&Zc(m.alternate,m);break;default:Bi(c,m,S,E,r)}e=e.sibling}}function qa(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,i=e,r=i.flags;switch(i.tag){case 22:qa(n,i),r&2048&&Qc(i.alternate,i);break;case 24:qa(n,i),r&2048&&Zc(i.alternate,i);break;default:qa(n,i)}e=e.sibling}}var ti=8192;function ei(t,e,n){if(t.subtreeFlags&ti)for(t=t.child;t!==null;)qm(t,e,n),t=t.sibling}function qm(t,e,n){switch(t.tag){case 26:ei(t,e,n),t.flags&ti&&(t.memoizedState!==null?ib(n,vn,t.memoizedState,t.memoizedProps):(t=t.stateNode,(e&335544128)===e&&Kp(n,t)));break;case 5:ei(t,e,n),t.flags&ti&&(t=t.stateNode,(e&335544128)===e&&Kp(n,t));break;case 3:case 4:var i=vn;vn=Ja(t.stateNode.containerInfo),ei(t,e,n),vn=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=ti,ti=16777216,ei(t,e,n),ti=i):ei(t,e,n));break;case 30:if((t.flags&ti)!==0&&(i=t.memoizedProps.name,i!=null&&i!=="auto")){var r=t.stateNode;r.paired=null,Fe===null&&(Fe=new Map),Fe.set(i,r)}ei(t,e,n);break;default:ei(t,e,n)}}function Ym(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Ya(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];me=i,Gm(i,t)}Ym(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Vm(t),t=t.sibling}function Vm(t){switch(t.tag){case 0:case 11:case 15:Ya(t),t.flags&2048&&Sl(9,t,t.return);break;case 3:Ya(t);break;case 12:Ya(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,br(t)):Ya(t);break;default:Ya(t)}}function br(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];me=i,Gm(i,t)}Ym(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Sl(8,e,e.return),br(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,br(e));break;default:br(e)}t=t.sibling}}function Gm(t,e){for(;me!==null;){var n=me;switch(n.tag){case 0:case 11:case 15:Sl(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:za(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,me=i;else t:for(n=t;me!==null;){i=me;var r=i.sibling,c=i.return;if(km(i),i===n){me=null;break t}if(r!==null){r.return=c,me=r;break t}me=c}}}var W1={getCacheForType:function(t){var e=be(le),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return be(le).controller.signal}},tv=typeof WeakMap=="function"?WeakMap:Map,jt=0,Qt=null,Ot=null,Nt=0,Ht=0,Ie=null,El=!1,Hi=!1,Kc=!1,Wn=0,te=0,Tl=0,ni=0,Sr=0,$e=0,qi=0,Va=null,He=null,Jc=!1,xr=0,Xm=0,Er=1/0,Tr=null,zl=null,Pt=0,Sn=null,li=null,Mn=0,Fc=0,Ic=null,Qm=null,Yi=null,Vi=null,Gi=null,Ga=0,zr=null;function Pe(){return(jt&2)!==0&&Nt!==0?Nt&-Nt:at.T!==null?us():Jf()}function Zm(){if($e===0)if((Nt&536870912)===0||zt){var t=vu;vu<<=1,(vu&3932160)===0&&(vu=262144),$e=t}else $e=536870912;return t=Se.current,t!==null&&(t.flags|=32),$e}function Xi(t,e){if(e!=null){var n=t.stateNode,i=n.ref;i===null&&(i=n.ref=Cp(Gn(t.memoizedProps,n))),Vi===null&&(Vi=[]),Vi.push(e.bind(null,i))}}function qe(t,e,n){(t===Qt&&(Ht===2||Ht===9)||t.cancelPendingCommit!==null)&&(Qi(t,0),Al(t,Nt,$e,!1)),sa(t,n),((jt&2)===0||t!==Qt)&&(t===Qt&&((jt&2)===0&&(ni|=n),te===4&&Al(t,Nt,$e,!1)),Rn(t))}function Km(t,e,n){if((jt&6)!==0)throw Error(o(327));var i=!n&&(e&127)===0&&(e&t.expiredLanes)===0||ca(t,e),r=i?lv(t,e):Pc(t,e,!0),c=i;do{if(r===0){Hi&&!i&&Al(t,e,0,!1);break}else{if(n=t.current.alternate,c&&!ev(n)){r=Pc(t,e,!1),c=!1;continue}if(r===2){if(c=e,t.errorRecoveryDisabledLanes&c)var m=0;else m=t.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){e=m;t:{var S=t;r=Va;var E=S.current.memoizedState.isDehydrated;if(E&&(Qi(S,m).flags|=256),m=Pc(S,m,!1),m!==2&&m!==6){if(Kc&&!E){S.errorRecoveryDisabledLanes|=c,ni|=c,r=4;break t}c=He,He=r,c!==null&&(He===null?He=c:He.push.apply(He,c))}r=m}if(c=!1,r!==2)continue}}if(r===1){Qi(t,0),Al(t,e,0,!0);break}t:{switch(i=t,c=r,c){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e&&(e&62914560)!==e)break;case 6:Al(i,e,$e,!El);break t;case 2:He=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(r=xr+300-ye(),10<r)){if(Al(i,e,$e,!El),Su(i,0,!0)!==0)break t;Mn=e,i.timeoutHandle=ys(Jm.bind(null,i,n,He,Tr,Jc,e,$e,ni,qi,El,c,"Throttled",-0,0),r);break t}Jm(i,n,He,Tr,Jc,e,$e,ni,qi,El,c,null,-0,0)}}break}while(!0);Rn(t)}function Jm(t,e,n,i,r,c,m,S,E,N,R,Y,O,k){t.timeoutHandle=-1;var P=e.subtreeFlags,it=(c&335544064)===c;if(Y=null,(it||P&8192||(P&16785408)===16785408)&&(Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:zn},Fe=null,qm(e,c,Y),it&&(P=Y,it=t.containerInfo,it=(it.nodeType===9?it:it.ownerDocument).__reactViewTransition,it!=null&&(P.count++,P.waitingForViewTransition=!0,P=$a.bind(P),it.finished.then(P,P))),P=(c&62914560)===c?xr-ye():(c&4194048)===c?Xm-ye():0,P=ab(Y,P),P!==null)){Mn=c,t.cancelPendingCommit=P(np.bind(null,t,e,c,n,i,r,m,S,E,N,R,Y,null,O,k)),Al(t,c,m,!N);return}np(t,e,c,n,i,r,m,S,E,N,R,Y)}function ev(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var r=n[i],c=r.getSnapshot;r=r.value;try{if(!Ke(c(),r))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Al(t,e,n,i){e=Gf(t,e),e&=~Sr,e&=~ni,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var r=e;0<r;){var c=31-Qe(r),m=1<<c;i[c]=-1,r&=~m}n!==0&&Qf(t,n,e)}function Ar(){return(jt&6)===0?(Xa(0),!1):!0}function $c(){if(Ot!==null){if(Ht===0)var t=Ot.return;else t=Ot,Kn=Xl=null,ac(t),Di=null,_a=0,t=Ot;for(;t!==null;)ym(t.alternate,t),t=t.return;Ot=null}}function Qi(t,e){var n=t.timeoutHandle;return n!==-1&&(t.timeoutHandle=-1,Av(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Mn=0,$c(),Qt=t,Ot=n=Qn(t.current,null),Nt=e,Ht=0,Ie=null,El=!1,Hi=ca(t,e),Kc=!1,qi=$e=Sr=ni=Tl=te=0,He=Va=null,Jc=!1,Wn=Gf(t,e),Mu(),n}function Fm(t,e){St=null,at.H=ir,e===Ni||e===Xu?(e=nd(),Ht=3):e===Zo?(e=nd(),Ht=4):Ht=e===Sc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ie=e,Ot===null&&(te=1,ar(t,un(e,t.current)))}function Im(){var t=Se.current;return t===null?!0:(Nt&4194048)===Nt?Ae===null:(Nt&62914560)===Nt||(Nt&536870912)!==0?t===Ae:!1}function $m(){var t=at.H;return at.H=ir,t===null?ir:t}function Pm(){var t=at.A;return at.A=W1,t}function Cr(){te=4,El||(Nt&4194048)!==Nt&&Se.current!==null||(Hi=!0),(Tl&134217727)===0&&(ni&134217727)===0||Qt===null||Al(Qt,Nt,$e,!1)}function Pc(t,e,n){var i=jt;jt|=2;var r=$m(),c=Pm();(Qt!==t||Nt!==e)&&(Tr=null,Qi(t,e)),e=!1;var m=te;t:do try{if(Ht!==0&&Ot!==null){var S=Ot,E=Ie;switch(Ht){case 8:$c(),m=6;break t;case 3:case 2:case 9:case 6:Se.current===null&&(e=!0);var N=Ht;if(Ht=0,Ie=null,Zi(t,S,E,N),n&&Hi){m=0;break t}break;default:N=Ht,Ht=0,Ie=null,Zi(t,S,E,N)}}nv(),m=te;break}catch(R){Fm(t,R)}while(!0);return e&&t.shellSuspendCounter++,Kn=Xl=null,jt=i,at.H=r,at.A=c,Ot===null&&(Qt=null,Nt=0,Mu()),m}function nv(){for(;Ot!==null;)Wm(Ot)}function lv(t,e){var n=jt;jt|=2;var i=$m(),r=Pm();Qt!==t||Nt!==e?(Tr=null,Er=ye()+500,Qi(t,e)):Hi=ca(t,e);t:do try{if(Ht!==0&&Ot!==null){e=Ot;var c=Ie;e:switch(Ht){case 1:Ht=0,Ie=null,Zi(t,e,c,1);break;case 2:case 9:if(td(c)){Ht=0,Ie=null,tp(e);break}e=function(){Ht!==2&&Ht!==9||Qt!==t||(Ht=7),Rn(t)},c.then(e,e);break t;case 3:Ht=7;break t;case 4:Ht=5;break t;case 7:td(c)?(Ht=0,Ie=null,tp(e)):(Ht=0,Ie=null,Zi(t,e,c,7));break;case 5:var m=null;switch(Ot.tag){case 26:m=Ot.memoizedState;case 5:case 27:var S=Ot;if(m?Qp(m):S.stateNode.complete){Ht=0,Ie=null;var E=S.sibling;if(E!==null)Ot=E;else{var N=S.return;N!==null?(Ot=N,_r(N)):Ot=null}break e}}Ht=0,Ie=null,Zi(t,e,c,5);break;case 6:Ht=0,Ie=null,Zi(t,e,c,6);break;case 8:$c(),te=6;break t;default:throw Error(o(462))}}iv();break}catch(R){Fm(t,R)}while(!0);return Kn=Xl=null,at.H=i,at.A=r,jt=n,Ot!==null?0:(Qt=null,Nt=0,Mu(),te)}function iv(){for(;Ot!==null&&!Ul();)Wm(Ot)}function Wm(t){var e=pm(t.alternate,t,Wn);t.memoizedProps=t.pendingProps,e===null?_r(t):Ot=e}function tp(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=om(n,e,e.pendingProps,e.type,void 0,Nt);break;case 11:e=om(n,e,e.pendingProps,e.type.render,e.ref,Nt);break;case 5:ac(e);var i=e;i===he&&(zt?(Hu(i),i.tag===5&&i.stateNode!=null&&(Jt=i.stateNode)):(Hu(i),zt=!0));default:ym(n,e),e=Ot=Gh(e,Wn),e=pm(n,e,Wn)}t.memoizedProps=t.pendingProps,e===null?_r(t):Ot=e}function Zi(t,e,n,i){Kn=Xl=null,ac(e),Di=null,_a=0;var r=e.return;try{if(Q1(t,r,e,n,Nt)){te=1,ar(t,un(n,t.current)),Ot=null;return}}catch(c){if(r!==null)throw Ot=r,c;te=1,ar(t,un(n,t.current)),Ot=null;return}e.flags&32768?(zt||i===1?t=!0:Hi||(Nt&536870912)!==0?t=!1:(El=t=!0,(i===2||i===9||i===3||i===6)&&(i=Se.current,i!==null&&i.tag===13&&(i.flags|=16384))),ep(e,t)):_r(e)}function _r(t){var e=t;do{if((e.flags&32768)!==0){ep(e,El);return}t=e.return;var n=F1(e.alternate,e,Wn);if(n!==null){Ot=n;return}if(e=e.sibling,e!==null){Ot=e;return}Ot=e=t}while(e!==null);te===0&&(te=5)}function ep(t,e){do{var n=I1(t.alternate,t);if(n!==null){n.flags&=32767,Ot=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){Ot=t;return}Ot=t=n}while(t!==null);te=6,Ot=null}function np(t,e,n,i,r,c,m,S,E,N,R,Y){t.cancelPendingCommit=null;do Or();while(Pt!==0);if((jt&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));t===Qt&&(Ot=Qt=null,Nt=0),li=e,Sn=t,Mn=n,Ic=r,Qm=i,av(t,e,n,m,S,E,Y)}}function av(t,e,n,i,r,c,m){var S=e.lanes|e.childLanes;if(Fc=S,S|=Mo,D0(t,n,S,i,r,c),Vi=null,(n&335544064)===n?(Gi=M1(t),i=10262):(Gi=null,i=10256),(e.subtreeFlags&i)!==0||(e.flags&i)!==0?(t.callbackNode=null,t.callbackPriority=0,fv(gu,function(){return ns(),null})):(t.callbackNode=null,t.callbackPriority=0),dr=!1,i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=at.T,at.T=null,r=pt.p,pt.p=2,c=jt,jt|=4;try{$1(t,e,n)}finally{jt=c,pt.p=r,at.T=i}}Pt=1,dr?Yi=Dv(m,t.containerInfo,Gi,Wc,ts,rv,es,ns,uv):(Wc(),ts(),es())}function uv(t){if(Pt!==0){var e=Sn.onRecoverableError;e(t,{componentStack:null})}}function rv(){Pt===3&&(Pt=0,Bm(li,Sn),Pt=4)}function Wc(){if(Pt===1){Pt=0;var t=Sn,e=li,n=Mn,i=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||i){i=at.T,at.T=null;var r=pt.p;pt.p=2;var c=jt;jt|=4;try{Ha=gr=!1,jm(e,t,n),n=ms;var m=Mh(t.containerInfo),S=n.focusedElem,E=n.selectionRange;if(m!==S&&S&&S.ownerDocument&&kh(S.ownerDocument.documentElement,S)){if(E!==null&&Oo(S)){var N=E.start,R=E.end;if(R===void 0&&(R=N),"selectionStart"in S)S.selectionStart=N,S.selectionEnd=Math.min(R,S.value.length);else{var Y=S.ownerDocument||document,O=Y&&Y.defaultView||window;if(O.getSelection){var k=O.getSelection(),P=S.textContent.length,it=Math.min(E.start,P),xt=E.end===void 0?it:Math.min(E.end,P);!k.extend&&it>xt&&(m=xt,xt=it,it=m);var w=Dh(S,it),A=Dh(S,xt);if(w&&A&&(k.rangeCount!==1||k.anchorNode!==w.node||k.anchorOffset!==w.offset||k.focusNode!==A.node||k.focusOffset!==A.offset)){var D=Y.createRange();D.setStart(w.node,w.offset),k.removeAllRanges(),it>xt?(k.addRange(D),k.extend(A.node,A.offset)):(D.setEnd(A.node,A.offset),k.addRange(D))}}}}for(Y=[],k=S;k=k.parentNode;)k.nodeType===1&&Y.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<Y.length;S++){var q=Y[S];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}ta=!!ds,ms=ds=null}finally{jt=c,pt.p=r,at.T=i}}t.current=e,Pt=2}}function ts(){if(Pt===2){Pt=0;var t=Sn,e=li,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=at.T,at.T=null;var i=pt.p;pt.p=2;var r=jt;jt|=4;try{Nm(t,e.alternate,e)}finally{jt=r,pt.p=i,at.T=n}}Pt=3}}function es(){if(Pt===4||Pt===3){Pt=0;var t=Yi;Yi=null,pu();var e=Sn,n=li,i=Mn,r=Qm,c=(i&335544064)===i?10262:10256;if((n.subtreeFlags&c)!==0||(n.flags&c)!==0?Pt=5:(Pt=0,li=Sn=null,lp(e,e.pendingLanes)),c=e.pendingLanes,c===0&&(zl=null),co(i),n=n.stateNode,Xe&&typeof Xe.onCommitFiberRoot=="function")try{Xe.onCommitFiberRoot(oa,n,void 0,(n.current.flags&128)===128)}catch{}if(r!==null){n=at.T,c=pt.p,pt.p=2,at.T=null;try{for(var m=e.onRecoverableError,S=0;S<r.length;S++){var E=r[S];m(E.value,{componentStack:E.stack})}}finally{at.T=n,pt.p=c}}if(r=Vi,m=Gi,Gi=null,r!==null&&(Vi=null,m===null&&(m=[]),t!==null))for(E=0;E<r.length;E++)n=(0,r[E])(m),n!==void 0&&t.finished.finally(n);(Mn&3)!==0&&Or(),Rn(e),c=e.pendingLanes,(i&261930)!==0&&(c&42)!==0?e===zr?Ga++:(Ga=0,zr=e):(Ga=0,zr=null),Xa(0)}}function lp(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,za(e)))}function Or(){return Yi!==null&&(Yi.skipTransition(),Yi=null),Wc(),ts(),es(),ns()}function ns(){if(Pt!==5)return!1;var t=Sn,e=Fc;Fc=0;var n=co(Mn),i=at.T,r=pt.p;try{pt.p=32>n?32:n,at.T=null,n=Ic,Ic=null;var c=Sn,m=Mn;if(Pt=0,li=Sn=null,Mn=0,(jt&6)!==0)throw Error(o(331));var S=jt;if(jt|=4,Vm(c.current),Hm(c,c.current,m,n),jt=S,Xa(0,!1),Xe&&typeof Xe.onPostCommitFiberRoot=="function")try{Xe.onPostCommitFiberRoot(oa,c)}catch{}return!0}finally{pt.p=r,at.T=i,lp(t,e)}}function ip(t,e,n){e=un(n,e),e=bc(t.stateNode,e,2),t=gl(t,e,2),t!==null&&(sa(t,2),Rn(t))}function qt(t,e,n){if(t.tag===3)ip(t,t,n);else for(;e!==null;){if(e.tag===3){ip(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(zl===null||!zl.has(i))){t=un(n,t),n=tm(2),i=gl(e,n,2),i!==null&&(em(n,i,e,t),sa(i,2),Rn(i));break}}e=e.return}}function ls(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new tv;var r=new Set;i.set(e,r)}else r=i.get(e),r===void 0&&(r=new Set,i.set(e,r));r.has(n)||(Kc=!0,r.add(n),t=ov.bind(null,t,e,n),e.then(t,t))}function ov(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Qt===t&&(Nt&n)===n&&((te===4||te===3&&(Nt&62914560)===Nt&&300>ye()-xr)&&(jt&2)===0?Qi(t,0):Sr|=n,qi===Nt&&(qi=0)),Rn(t)}function ap(t,e){e===0&&(e=Xf()),t=Yl(t,e),t!==null&&(sa(t,e),Rn(t))}function cv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),ap(t,n)}function sv(t,e){var n=0;switch(t.tag){case 31:case 13:var i=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(e),ap(t,n)}function fv(t,e){return Ln(t,e)}var Ki=null,Ji=null,is=!1,wr=!1,as=!1,Cl=0;function Rn(t){t!==Ji&&t.next===null&&(Ji===null?Ki=Ji=t:Ji=Ji.next=t),wr=!0,is||(is=!0,dv())}function Xa(t,e){if(!as&&wr){as=!0;do for(var n=!1,i=Ki;i!==null;){if(t!==0){var r=i.pendingLanes;if(r===0)var c=0;else{var m=i.suspendedLanes,S=i.pingedLanes;c=(1<<31-Qe(42|t)+1)-1,c&=r&~(m&~S),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,cp(i,c))}else c=Nt,c=Su(i,i===Qt?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(c&3)===0||ca(i,c)||(n=!0,cp(i,c));i=i.next}while(n);as=!1}}function hv(){up()}function up(){wr=is=!1;var t=0;Cl!==0&&zv()&&(t=Cl);for(var e=ye(),n=null,i=Ki;i!==null;){var r=i.next,c=rp(i,e);c===0?(i.next=null,n===null?Ki=r:n.next=r,r===null&&(Ji=n)):(n=i,(t!==0||(c&3)!==0)&&(wr=!0)),i=r}Pt!==0&&Pt!==5||Xa(t),Cl!==0&&(Cl=0)}function rp(t,e){for(var n=t.suspendedLanes,i=t.pingedLanes,r=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var m=31-Qe(c),S=1<<m,E=r[m];E===-1?((S&n)===0||(S&i)!==0)&&(r[m]=N0(S,e)):E<=e&&(t.expiredLanes|=S),c&=~S}if(e=Qt,n=Nt,n=Su(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,n===0||t===e&&(Ht===2||Ht===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&Bn(i),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||ca(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(i!==null&&Bn(i),co(n)){case 2:case 8:n=nn;break;case 32:n=gu;break;case 268435456:n=Vf;break;default:n=gu}return i=op.bind(null,t),n=Ln(n,i),t.callbackPriority=e,t.callbackNode=n,e}return i!==null&&i!==null&&Bn(i),t.callbackPriority=2,t.callbackNode=null,2}function op(t,e){if(Pt!==0&&Pt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Or()&&t.callbackNode!==n)return null;var i=Nt;return i=Su(t,t===Qt?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0?null:(Km(t,i,e),rp(t,ye()),t.callbackNode!=null&&t.callbackNode===n?op.bind(null,t):null)}function cp(t,e){if(Or())return null;Km(t,e,!0)}function dv(){Cv(function(){(jt&6)!==0?Ln(Hn,hv):up()})}function us(){if(Cl===0){var t=Kl;t===0&&(t=yu,yu<<=1,(yu&261888)===0&&(yu=256)),Cl=t}return Cl}function sp(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Au(t)}function mv(t,e,n,i,r){if(e==="submit"&&n&&n.stateNode===r){var c=sp((r[Ue]||null).action),m=i.submitter;m&&(e=(e=m[Ue]||null)?sp(e.formAction):m.getAttribute("formAction"),e!==null&&(c=e,m=null));var S=new wu("action","action",null,i,r);t.push({event:S,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Cl!==0){var E=new FormData(r,m);mc(n,{pending:!0,data:E,method:r.method,action:c},null,E)}}else typeof c=="function"&&(S.preventDefault(),E=new FormData(r,m),mc(n,{pending:!0,data:E,method:r.method,action:c},c,E))},currentTarget:r}]})}}for(var rs=0;rs<ko.length;rs++){var os=ko[rs],pv=os.toLowerCase(),gv=os[0].toUpperCase()+os.slice(1);gn(pv,"on"+gv)}gn(jh,"onAnimationEnd"),gn(Lh,"onAnimationIteration"),gn(Bh,"onAnimationStart"),gn("dblclick","onDoubleClick"),gn("focusin","onFocus"),gn("focusout","onBlur"),gn(A1,"onTransitionRun"),gn(C1,"onTransitionStart"),gn(_1,"onTransitionCancel"),gn(Hh,"onTransitionEnd"),gi("onMouseEnter",["mouseout","mouseover"]),gi("onMouseLeave",["mouseout","mouseover"]),gi("onPointerEnter",["pointerout","pointerover"]),gi("onPointerLeave",["pointerout","pointerover"]),Bl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Bl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Bl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Bl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Bl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qa="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(" "),yv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qa));function fp(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],r=i.event;i=i.listeners;t:{var c=void 0;if(e)for(var m=i.length-1;0<=m;m--){var S=i[m],E=S.instance,N=S.currentTarget;if(S=S.listener,E!==c&&r.isPropagationStopped())break t;c=S,r.currentTarget=N;try{c(r)}catch(R){ku(R)}r.currentTarget=null,c=E}else for(m=0;m<i.length;m++){if(S=i[m],E=S.instance,N=S.currentTarget,S=S.listener,E!==c&&r.isPropagationStopped())break t;c=S,r.currentTarget=N;try{c(r)}catch(R){ku(R)}r.currentTarget=null,c=E}}}}function wt(t,e){var n=e[If];n===void 0&&(n=e[If]=new Set);var i=t+"__bubble";n.has(i)||(hp(e,t,2,!1),n.add(i))}function cs(t,e,n){var i=0;e&&(i|=4),hp(n,t,i,e)}var Nr="_reactListening"+Math.random().toString(36).slice(2);function ss(t){if(!t[Nr]){t[Nr]=!0,Wf.forEach(function(n){n!=="selectionchange"&&(yv.has(n)||cs(n,!1,t),cs(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Nr]||(e[Nr]=!0,cs("selectionchange",!1,e))}}function hp(t,e,n,i){switch(eg(e)){case 2:var r=cb;break;case 8:r=sb;break;default:r=Ns}n=r.bind(null,e,n,t),r=void 0,!vo||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(r=!0),i?r!==void 0?t.addEventListener(e,n,{capture:!0,passive:r}):t.addEventListener(e,n,!0):r!==void 0?t.addEventListener(e,n,{passive:r}):t.addEventListener(e,n,!1)}function fs(t,e,n,i,r){var c=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var m=i.tag;if(m===3||m===4){var S=i.stateNode.containerInfo;if(S===r)break;if(m===4)for(m=i.return;m!==null;){var E=m.tag;if((E===3||E===4)&&m.stateNode.containerInfo===r)return;m=m.return}for(;S!==null;){if(m=Ll(S),m===null)return;if(E=m.tag,E===5||E===6||E===26||E===27){i=c=m;continue t}S=S.parentNode}}i=i.return}hh(function(){var N=c,R=go(n),Y=[];t:{var O=qh.get(t);if(O!==void 0){var k=wu,P=t;switch(t){case"keypress":if(_u(n)===0)break t;case"keydown":case"keyup":k=e1;break;case"focusin":P="focus",k=Eo;break;case"focusout":P="blur",k=Eo;break;case"beforeblur":case"afterblur":k=Eo;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=ph;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=G0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=u1;break;case jh:case Lh:case Bh:k=Z0;break;case Hh:k=o1;break;case"scroll":case"scrollend":k=Y0;break;case"wheel":k=s1;break;case"copy":case"cut":case"paste":k=J0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=yh;break;case"submit":k=i1;break;case"toggle":case"beforetoggle":k=h1}var it=(e&4)!==0,xt=!it&&(t==="scroll"||t==="scrollend"),w=it?O!==null?O+"Capture":null:O;it=[];for(var A=N,D;A!==null;){var q=A;if(D=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||D===null||w===null||(q=da(A,w),q!=null&&it.push(Za(A,q,D))),xt)break;A=A.return}0<it.length&&(O=new k(O,P,null,n,R),Y.push({event:O,listeners:it}))}}if((e&7)===0){t:{if(k=t==="mouseover"||t==="pointerover",O=t==="mouseout"||t==="pointerout",k&&n!==po&&(P=n.relatedTarget||n.fromElement)&&(Ll(P)||P[di]))break t;(O||k)&&(P=R.window===R?R:(k=R.ownerDocument)?k.defaultView||k.parentWindow:window,O?(k=n.relatedTarget||n.toElement,O=N,k=k?Ll(k):null,k!==null&&(xt=f(k),it=k.tag,k!==xt||it!==5&&it!==27&&it!==6)&&(k=null)):(O=null,k=N),O!==k&&(it=ph,q="onMouseLeave",w="onMouseEnter",A="mouse",(t==="pointerout"||t==="pointerover")&&(it=yh,q="onPointerLeave",w="onPointerEnter",A="pointer"),xt=O==null?P:ha(O),D=k==null?P:ha(k),P=new it(q,A+"leave",O,n,R),P.target=xt,P.relatedTarget=D,q=null,Ll(R)===N&&(it=new it(w,A+"enter",k,n,R),it.target=D,it.relatedTarget=xt,q=it),xt=q,it=O&&k?H(O,k,vv):null,O!==null&&dp(Y,P,O,it,!1),k!==null&&xt!==null&&dp(Y,xt,k,it,!0)))}t:{if(O=N?ha(N):window,k=O.nodeName&&O.nodeName.toLowerCase(),k==="select"||k==="input"&&O.type==="file")var nt=Ah;else if(Th(O))if(Ch)nt=E1;else{nt=S1;var Dt=b1}else k=O.nodeName,!k||k.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?N&&mo(N.elementType)&&(nt=Ah):nt=x1;if(nt&&(nt=nt(t,N))){zh(Y,nt,n,R);break t}Dt&&Dt(t,O,N)}switch(Dt=N?ha(N):window,t){case"focusin":(Th(Dt)||Dt.contentEditable==="true")&&(Ei=Dt,wo=N,xa=null);break;case"focusout":xa=wo=Ei=null;break;case"mousedown":No=!0;break;case"contextmenu":case"mouseup":case"dragend":No=!1,Rh(Y,n,R);break;case"selectionchange":if(z1)break;case"keydown":case"keyup":Rh(Y,n,R)}var ft;if(zo)t:{switch(t){case"compositionstart":var mt="onCompositionStart";break t;case"compositionend":mt="onCompositionEnd";break t;case"compositionupdate":mt="onCompositionUpdate";break t}mt=void 0}else xi?xh(t,n)&&(mt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(mt="onCompositionStart");mt&&(vh&&n.locale!=="ko"&&(xi||mt!=="onCompositionStart"?mt==="onCompositionEnd"&&xi&&(ft=dh()):(rl=R,bo="value"in rl?rl.value:rl.textContent,xi=!0)),Dt=Dr(N,mt),0<Dt.length&&(mt=new gh(mt,t,null,n,R),Y.push({event:mt,listeners:Dt}),ft?mt.data=ft:(ft=Eh(n),ft!==null&&(mt.data=ft)))),(ft=m1?p1(t,n):g1(t,n))&&(mt=Dr(N,"onBeforeInput"),0<mt.length&&(Dt=new gh("onBeforeInput","beforeinput",null,n,R),Y.push({event:Dt,listeners:mt}),Dt.data=ft)),mv(Y,t,N,n,R)}fp(Y,e)})}function Za(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Dr(t,e){for(var n=e+"Capture",i=[];t!==null;){var r=t,c=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||c===null||(r=da(t,n),r!=null&&i.unshift(Za(t,r,c)),r=da(t,e),r!=null&&i.push(Za(t,r,c))),t.tag===3)return i;t=t.return}return[]}function vv(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function dp(t,e,n,i,r){for(var c=e._reactName,m=[];n!==null&&n!==i;){var S=n,E=S.alternate,N=S.stateNode;if(S=S.tag,E!==null&&E===i)break;S!==5&&S!==26&&S!==27||N===null||(E=N,r?(N=da(n,c),N!=null&&m.unshift(Za(n,N,E))):r||(N=da(n,c),N!=null&&m.push(Za(n,N,E)))),n=n.return}m.length!==0&&t.push({event:e,listeners:m})}var bv=/\r\n?/g,Sv=/\u0000|\uFFFD/g;function mp(t){return(typeof t=="string"?t:""+t).replace(bv,`
49
+ `).replace(Sv,"")}function pp(t,e){return e=mp(e),mp(t)===e}function Yt(t,e,n,i,r,c){switch(n){case"children":if(typeof i=="string")e==="body"||e==="textarea"&&i===""||vi(t,i);else if(typeof i=="number"||typeof i=="bigint")e!=="body"&&vi(t,""+i);else return;break;case"className":zu(t,"class",i);break;case"tabIndex":zu(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":zu(t,n,i);break;case"style":sh(t,i,c);return;case"data":if(e!=="object"){zu(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=Au(i),t.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){t.setAttribute(n,"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 c=="function"&&(n==="formAction"?(e!=="input"&&Yt(t,e,"name",r.name,r,null),Yt(t,e,"formEncType",r.formEncType,r,null),Yt(t,e,"formMethod",r.formMethod,r,null),Yt(t,e,"formTarget",r.formTarget,r,null)):(Yt(t,e,"encType",r.encType,r,null),Yt(t,e,"method",r.method,r,null),Yt(t,e,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=Au(i),t.setAttribute(n,i);break;case"onClick":i!=null&&(t.onclick=zn);return;case"onScroll":i!=null&&wt("scroll",t);return;case"onScrollEnd":i!=null&&wt("scrollend",t);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(o(60));(c!=null?c.__html:void 0)!==n&&(t.innerHTML=n)}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){t.removeAttribute("xlink:href");break}n=Au(i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":i===!0?t.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(n,i):t.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(n):t.setAttribute(n,i);break;case"popover":wt("beforetoggle",t),wt("toggle",t),Tu(t,"popover",i);break;case"xlinkActuate":Yn(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Yn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Yn(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Yn(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Yn(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Yn(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Tu(t,"is",i);break;case"innerText":case"textContent":return;default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=H0.get(n)||n,Tu(t,n,i);else return}Rt=!0}function hs(t,e,n,i,r,c){switch(n){case"style":sh(t,i,c);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(o(60));(c!=null?c.__html:void 0)!==n&&(t.innerHTML=n)}}break;case"children":if(typeof i=="string")vi(t,i);else if(typeof i=="number"||typeof i=="bigint")vi(t,""+i);else return;break;case"onScroll":i!=null&&wt("scroll",t);return;case"onScrollEnd":i!=null&&wt("scrollend",t);return;case"onClick":i!=null&&(t.onclick=zn);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!th.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),c=n.slice(2,r?n.length-7:void 0),e=t[Ue]||null,e=e!=null?e[n]:null,typeof e=="function"&&t.removeEventListener(c,e,r),typeof i=="function")){typeof e!="function"&&e!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(c,i,r);break t}Rt=!0,n in t?t[n]=i:i===!0?t.setAttribute(n,""):Tu(t,n,i)}return}Rt=!0}function Te(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":wt("error",t),wt("load",t);var i=!1,r=!1,c;for(c in n)if(n.hasOwnProperty(c)){var m=n[c];if(m!=null)switch(c){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Yt(t,e,c,m,n,null)}}r&&Yt(t,e,"srcSet",n.srcSet,n,null),i&&Yt(t,e,"src",n.src,n,null);return;case"input":wt("invalid",t);var S=c=m=r=null,E=null,N=null;for(i in n)if(n.hasOwnProperty(i)){var R=n[i];if(R!=null)switch(i){case"name":r=R;break;case"type":m=R;break;case"checked":E=R;break;case"defaultChecked":N=R;break;case"value":c=R;break;case"defaultValue":S=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,e));break;default:Yt(t,e,i,R,n,null)}}uh(t,c,S,E,N,m,r,!1);return;case"select":wt("invalid",t),i=m=c=null;for(r in n)if(n.hasOwnProperty(r)&&(S=n[r],S!=null))switch(r){case"value":c=S;break;case"defaultValue":m=S;break;case"multiple":i=S;default:Yt(t,e,r,S,n,null)}e=c,n=m,t.multiple=!!i,e!=null?yi(t,!!i,e,!1):n!=null&&yi(t,!!i,n,!0);return;case"textarea":wt("invalid",t),c=r=i=null;for(m in n)if(n.hasOwnProperty(m)&&(S=n[m],S!=null))switch(m){case"value":i=S;break;case"defaultValue":r=S;break;case"children":c=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(91));break;default:Yt(t,e,m,S,n,null)}oh(t,i,r,c);return;case"option":for(E in n)if(n.hasOwnProperty(E)&&(i=n[E],i!=null))switch(E){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Yt(t,e,E,i,n,null)}return;case"dialog":wt("beforetoggle",t),wt("toggle",t),wt("cancel",t),wt("close",t);break;case"iframe":case"object":wt("load",t);break;case"video":case"audio":for(i=0;i<Qa.length;i++)wt(Qa[i],t);break;case"image":wt("error",t),wt("load",t);break;case"details":wt("toggle",t);break;case"embed":case"source":case"link":wt("error",t),wt("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(N in n)if(n.hasOwnProperty(N)&&(i=n[N],i!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Yt(t,e,N,i,n,null)}return;default:if(mo(e)){for(R in n)n.hasOwnProperty(R)&&(i=n[R],i!==void 0&&hs(t,e,R,i,n,void 0));return}}for(S in n)n.hasOwnProperty(S)&&(i=n[S],i!=null&&Yt(t,e,S,i,n,null))}var xv={};function Ev(t,e,n,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,c=null,m=null,S=null,E=null,N=null,R=null;for(k in n){var Y=n[k];if(n.hasOwnProperty(k)&&Y!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":E=Y;default:i.hasOwnProperty(k)||Yt(t,e,k,null,i,Y)}}for(var O in i){var k=i[O];if(Y=n[O],i.hasOwnProperty(O)&&(k!=null||Y!=null))switch(O){case"type":k!==Y&&(Rt=!0),c=k;break;case"name":k!==Y&&(Rt=!0),r=k;break;case"checked":k!==Y&&(Rt=!0),N=k;break;case"defaultChecked":k!==Y&&(Rt=!0),R=k;break;case"value":k!==Y&&(Rt=!0),m=k;break;case"defaultValue":k!==Y&&(Rt=!0),S=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(o(137,e));break;default:k!==Y&&Yt(t,e,O,k,i,Y)}}fo(t,m,S,E,N,R,c,r);return;case"select":k=m=S=O=null;for(c in n)if(E=n[c],n.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":k=E;default:i.hasOwnProperty(c)||Yt(t,e,c,null,i,E)}for(r in i)if(c=i[r],E=n[r],i.hasOwnProperty(r)&&(c!=null||E!=null))switch(r){case"value":c!==E&&(Rt=!0),O=c;break;case"defaultValue":c!==E&&(Rt=!0),S=c;break;case"multiple":c!==E&&(Rt=!0),m=c;default:c!==E&&Yt(t,e,r,c,i,E)}e=S,n=m,i=k,O!=null?yi(t,!!n,O,!1):!!i!=!!n&&(e!=null?yi(t,!!n,e,!0):yi(t,!!n,n?[]:"",!1));return;case"textarea":k=O=null;for(S in n)if(r=n[S],n.hasOwnProperty(S)&&r!=null&&!i.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Yt(t,e,S,null,i,r)}for(m in i)if(r=i[m],c=n[m],i.hasOwnProperty(m)&&(r!=null||c!=null))switch(m){case"value":r!==c&&(Rt=!0),O=r;break;case"defaultValue":r!==c&&(Rt=!0),k=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(o(91));break;default:r!==c&&Yt(t,e,m,r,i,c)}rh(t,O,k);return;case"option":for(var P in n)if(O=n[P],n.hasOwnProperty(P)&&O!=null&&!i.hasOwnProperty(P))switch(P){case"selected":t.selected=!1;break;default:Yt(t,e,P,null,i,O)}for(E in i)if(O=i[E],k=n[E],i.hasOwnProperty(E)&&O!==k&&(O!=null||k!=null))switch(E){case"selected":O!==k&&(Rt=!0),t.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:Yt(t,e,E,O,i,k)}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 it in n)O=n[it],n.hasOwnProperty(it)&&O!=null&&!i.hasOwnProperty(it)&&Yt(t,e,it,null,i,O);for(N in i)if(O=i[N],k=n[N],i.hasOwnProperty(N)&&O!==k&&(O!=null||k!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(o(137,e));break;default:Yt(t,e,N,O,i,k)}return;default:if(mo(e)){for(var xt in n)O=n[xt],n.hasOwnProperty(xt)&&O!==void 0&&!i.hasOwnProperty(xt)&&hs(t,e,xt,void 0,i,O);for(R in i)O=i[R],k=n[R],!i.hasOwnProperty(R)||O===k||O===void 0&&k===void 0||hs(t,e,R,O,i,k);return}}for(var w in n)O=n[w],n.hasOwnProperty(w)&&O!=null&&!i.hasOwnProperty(w)&&Yt(t,e,w,null,i,O);for(Y in i)O=i[Y],k=n[Y],!i.hasOwnProperty(Y)||O===k||O==null&&k==null||Yt(t,e,Y,O,i,k)}function gp(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Tv(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var r=n[i],c=r.transferSize,m=r.initiatorType,S=r.duration;if(c&&S&&gp(m)){for(m=0,S=r.responseEnd,i+=1;i<n.length;i++){var E=n[i],N=E.startTime;if(N>S)break;var R=E.transferSize,Y=E.initiatorType;R&&gp(Y)&&(E=E.responseEnd,m+=R*(E<S?1:(S-N)/(E-N)))}if(--i,e+=8*(c+m)/(r.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var ds=null,ms=null;function Ka(t){return t.nodeType===9?t:t.ownerDocument}function yp(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 vp(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function bp(t,e,n,i){return n=Ka(n).createElement(t),n[ve]=i,n[Ue]=e,Te(n,t,e),fe(n),n}function ps(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var gs=null;function zv(){var t=window.event;return t&&t.type==="popstate"?t===gs?!1:(gs=t,!0):(gs=null,!1)}var ys=typeof setTimeout=="function"?setTimeout:void 0,Av=typeof clearTimeout=="function"?clearTimeout:void 0,Sp=typeof Promise=="function"?Promise:void 0,xp=typeof requestAnimationFrame=="function"?requestAnimationFrame:ys,Cv=typeof queueMicrotask=="function"?queueMicrotask:typeof Sp<"u"?function(t){return Sp.resolve(null).then(t).catch(_v)}:ys;function _v(t){setTimeout(function(){throw t})}function _l(t){return t==="head"}function Ep(t,e){var n=e,i=0;do{var r=n.nextSibling;if(t.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(i===0){t.removeChild(r),ea(e);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")As(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,As(n);for(var c=n.firstChild;c;){var m=c.nextSibling,S=c.nodeName;c[fa]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=m}}else n==="body"&&As(t.ownerDocument.body);n=r}while(n);ea(e)}function Tp(t,e){var n=t;t=0;do{var i=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=i}while(n)}function zp(t,e,n){if(e=CSS.escape(e)!==e?"r-"+btoa(e).replace(/=/g,""):e,t.style.viewTransitionName=e,n!=null&&(t.style.viewTransitionClass=n),n=getComputedStyle(t),n.display==="inline"){if(e=t.getClientRects(),e.length===1)var i=1;else for(var r=i=0;r<e.length;r++){var c=e[r];0<c.width&&0<c.height&&i++}i===1&&(t=t.style,t.display=e.length===1?"inline-block":"block",t.marginTop="-"+n.paddingTop,t.marginBottom="-"+n.paddingBottom)}}function Ap(t,e){t=t.style,e=e.style;var n=e!=null?e.hasOwnProperty("viewTransitionName")?e.viewTransitionName:e.hasOwnProperty("view-transition-name")?e["view-transition-name"]:null:null;t.viewTransitionName=n==null||typeof n=="boolean"?"":(""+n).trim(),n=e!=null?e.hasOwnProperty("viewTransitionClass")?e.viewTransitionClass:e.hasOwnProperty("view-transition-class")?e["view-transition-class"]:null:null,t.viewTransitionClass=n==null||typeof n=="boolean"?"":(""+n).trim(),t.display==="inline-block"&&(e==null?t.display=t.margin="":(n=e.display,t.display=n==null||typeof n=="boolean"?"":n,n=e.margin,n!=null?t.margin=n:(n=e.hasOwnProperty("marginTop")?e.marginTop:e["margin-top"],t.marginTop=n==null||typeof n=="boolean"?"":n,e=e.hasOwnProperty("marginBottom")?e.marginBottom:e["margin-bottom"],t.marginBottom=e==null||typeof e=="boolean"?"":e)))}function Ov(t,e,n){return n=n.ownerDocument.defaultView,{rect:t,abs:e.position==="absolute"||e.position==="fixed",clip:e.clipPath!=="none"||e.overflow!=="visible"||e.filter!=="none"||e.mask!=="none"||e.mask!=="none"||e.borderRadius!=="0px",view:0<=t.bottom&&0<=t.right&&t.top<=n.innerHeight&&t.left<=n.innerWidth}}function vs(t){var e=t.getBoundingClientRect(),n=getComputedStyle(t);return Ov(e,n,t)}function wv(t){return t.documentElement.clientHeight}function Nv(t){this.addEventListener("load",t),this.addEventListener("error",t)}function Dv(t,e,n,i,r,c,m,S,E){var N=e.nodeType===9?e:e.ownerDocument;try{var R=N.startViewTransition({update:function(){var O=N.defaultView,k=O.navigation&&O.navigation.transition,P=N.fonts.status;i();var it=[];if(P==="loaded"&&(wv(N),N.fonts.status==="loading"&&it.push(N.fonts.ready)),P=it.length,t!==null)for(var xt=t.suspenseyImages,w=0,A=0;A<xt.length;A++){var D=xt[A];if(!D.complete){var q=D.getBoundingClientRect();if(0<q.bottom&&0<q.right&&q.top<O.innerHeight&&q.left<O.innerWidth){if(w+=Zp(D),w>Rr){it.length=P;break}D=new Promise(Nv.bind(D)),it.push(D)}}}if(0<it.length)return O=Promise.race([Promise.all(it),new Promise(function(nt){return setTimeout(nt,500)})]).then(r,r),(k?Promise.allSettled([k.finished,O]):O).then(c,c);if(r(),k)return k.finished.then(c,c);c()},types:n});N.__reactViewTransition=R;var Y=[];return R.ready.then(function(){for(var O=N.documentElement.getAnimations({subtree:!0}),k=0;k<O.length;k++){var P=O[k],it=P.effect,xt=it.pseudoElement;if(xt!=null&&xt.startsWith("::view-transition")){Y.push(P),P=it.getKeyframes();for(var w=xt=void 0,A=!0,D=0;D<P.length;D++){var q=P[D],nt=q.width;if(xt===void 0)xt=nt;else if(xt!==nt){A=!1;break}if(nt=q.height,w===void 0)w=nt;else if(w!==nt){A=!1;break}delete q.width,delete q.height,q.transform==="none"&&delete q.transform}A&&xt!==void 0&&w!==void 0&&(it.setKeyframes(P),A=getComputedStyle(it.target,it.pseudoElement),A.width!==xt||A.height!==w)&&(A=P[0],A.width=xt,A.height=w,A=P[P.length-1],A.width=xt,A.height=w,it.setKeyframes(P))}}m()},function(O){N.__reactViewTransition===R&&(N.__reactViewTransition=null);try{if(typeof O=="object"&&O!==null)switch(O.name){case"InvalidStateError":(O.message==="View transition was skipped because document visibility state is hidden."||O.message==="Skipping view transition because document visibility state has become hidden."||O.message==="Skipping view transition because viewport size changed."||O.message==="Transition was aborted because of invalid state")&&(O=null)}O!==null&&E(O)}finally{i(),r(),m()}}),R.finished.finally(function(){for(var O=0;O<Y.length;O++)Y[O].cancel();N.__reactViewTransition===R&&(N.__reactViewTransition=null),S()}),R}catch{return i(),r(),m(),null}}function ii(t,e){this._scope=document.documentElement,this._selector="::view-transition-"+t+"("+e+")"}ii.prototype.animate=function(t,e){return e=typeof e=="number"?{duration:e}:F({},e),e.pseudoElement=this._selector,this._scope.animate(t,e)},ii.prototype.getAnimations=function(){for(var t=this._scope,e=this._selector,n=t.getAnimations({subtree:!0}),i=[],r=0;r<n.length;r++){var c=n[r].effect;c!==null&&c.target===t&&c.pseudoElement===e&&i.push(n[r])}return i},ii.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Cp(t){return{name:t,group:new ii("group",t),imagePair:new ii("image-pair",t),old:new ii("old",t),new:new ii("new",t)}}function We(t){this._fragmentFiber=t,this._observers=this._eventListeners=null}We.prototype.addEventListener=function(t,e,n){var i=null,r=null;if(!(n!=null&&typeof n!="boolean"&&(i=n.signal||null,i!==null&&i.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var c=this._eventListeners;if(Op(c,t,e,n)===-1){var m=this,S=e;n!=null&&typeof n!="boolean"&&n.once===!0&&(S=function(E){m.removeEventListener(t,e,n),typeof e=="function"?e.call(this,E):e.handleEvent(E)}),i!==null&&(r=m.removeEventListener.bind(m,t,e,n),i.addEventListener("abort",r,{once:!0}),r=i.removeEventListener.bind(i,"abort",r)),i=Fi(n),c.push({type:t,listener:e,optionsOrUseCapture:n,attachedListener:S,cleanup:r}),p(this._fragmentFiber.child,!1,kv,t,S,i)}this._eventListeners=c}};function kv(t,e,n,i){return B(t).addEventListener(e,n,i),!1}We.prototype.removeEventListener=function(t,e,n){var i=this._eventListeners;if(i!==null&&(e=Op(i,t,e,n),e!==-1)){var r=i[e];n=r.attachedListener;var c=r.cleanup;r=Fi(r.optionsOrUseCapture),p(this._fragmentFiber.child,!1,Mv,t,n,r),i.splice(e,1),c!==null&&c()}};function Mv(t,e,n,i){return B(t).removeEventListener(e,n,i),!1}function Fi(t){return t!=null&&typeof t!="boolean"&&(t.once===!0||t.signal instanceof AbortSignal)?{capture:t.capture,passive:t.passive}:t}function _p(t){return t==null?"c=0":typeof t=="boolean"?"c="+(t?"1":"0"):"c="+(t.capture?"1":"0")}function Op(t,e,n,i){if(t.length===0)return-1;i=_p(i);for(var r=0;r<t.length;r++){var c=t[r];if(c.type===e&&c.listener===n&&_p(c.optionsOrUseCapture)===i)return r}return-1}We.prototype.dispatchEvent=function(t){var e=x(this._fragmentFiber);if(e===null)return!0;e=B(e);var n=this._eventListeners;if(n!==null&&0<n.length||!t.bubbles){var i=e.nodeType===9?e.createComment(""):document.createTextNode("");if(n)for(var r=0;r<n.length;r++){var c=n[r];i.addEventListener(c.type,c.attachedListener,Fi(c.optionsOrUseCapture))}if(e.appendChild(i),t=i.dispatchEvent(t),n)for(r=0;r<n.length;r++)c=n[r],i.removeEventListener(c.type,c.attachedListener,Fi(c.optionsOrUseCapture));return e.removeChild(i),t}return e.dispatchEvent(t)},We.prototype.focus=function(t){p(this._fragmentFiber.child,!0,wp,t,void 0,void 0)};function wp(t,e){return t.tag===6?!1:(t=B(t),Qv(t,e))}We.prototype.focusLast=function(t){var e=[];p(this._fragmentFiber.child,!0,bs,e,void 0,void 0);for(var n=e.length-1;0<=n&&!wp(e[n],t);n--);};function bs(t,e){return e.push(t),!1}We.prototype.blur=function(){var t=x(this._fragmentFiber);t!==null&&(t=B(t),t=Ka(t).activeElement,t!==null&&p(this._fragmentFiber.child,!1,Rv,t,void 0,void 0))};function Rv(t,e){return t.tag===6?!1:(t=B(t),t===e||t.contains(e)?(e.blur(),!0):!1)}We.prototype.observeUsing=function(t){this._observers===null&&(this._observers=new Set),this._observers.add(t),p(this._fragmentFiber.child,!1,Uv,t,void 0,void 0)};function Uv(t,e){return t.tag===6||(t=B(t),e.observe(t)),!1}We.prototype.unobserveUsing=function(t){var e=this._observers;if(e!==null&&e.has(t)){e.delete(t),p(this._fragmentFiber.child,!1,jv,t,void 0,void 0);for(var n=e=0;n<xn.length;n++){var i=xn[n];i.fragmentInstance===this&&i.observer===t?t.unobserve(i.instance):xn[e++]=i}xn.length=e}};function jv(t,e){return t.tag===6||(t=B(t),e.unobserve(t)),!1}var xn=[],Ss=!1;function Lv(t,e,n){xn.push({fragmentInstance:t,observer:e,instance:n}),Ss||(Ss=!0,Zv(function(){Ss=!1;var i=xn;xn=[];for(var r=0;r<i.length;r++){var c=i[r];c.observer.unobserve(c.instance)}}))}We.prototype.getClientRects=function(){var t=[];return p(this._fragmentFiber.child,!1,Bv,t,void 0,void 0),t};function Bv(t,e){if(t.tag===6){t=t.stateNode;var n=t.ownerDocument.createRange();n.selectNodeContents(t),e.push.apply(e,n.getClientRects())}else t=B(t),e.push.apply(e,t.getClientRects());return!1}We.prototype.getRootNode=function(t){var e=x(this._fragmentFiber);return e===null?this:B(e).getRootNode(t)},We.prototype.compareDocumentPosition=function(t){var e=x(this._fragmentFiber);if(e===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];p(this._fragmentFiber.child,!1,bs,n,void 0,void 0);var i=B(e);if(n.length===0){if(n=i,b(this._fragmentFiber)){t:{for(e=this._fragmentFiber.return;e!==null;){if(e.tag===4){e=e.stateNode.containerInfo;break t}if(e.tag===3||e.tag===5||e.tag===27)break;e=e.return}e=null}e!=null&&(n=e)}e=this._fragmentFiber;var r=i=n.compareDocumentPosition(t);return n===t?r=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=z(e)[1],n===null?r=Node.DOCUMENT_POSITION_PRECEDING:(t=B(n).compareDocumentPosition(t),r=t===0||t&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),r|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}e=B(n[0]),r=B(n[n.length-1]);var c=b(this._fragmentFiber)?e.parentElement:i;if(c==null)return Node.DOCUMENT_POSITION_DISCONNECTED;i=c.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY,c=c.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY;var m=e.compareDocumentPosition(t),S=r.compareDocumentPosition(t),E=m&Node.DOCUMENT_POSITION_CONTAINED_BY||S&Node.DOCUMENT_POSITION_CONTAINED_BY;return S=i&&c&&m&Node.DOCUMENT_POSITION_FOLLOWING&&S&Node.DOCUMENT_POSITION_PRECEDING,e=i&&e===t||c&&r===t||E||S?Node.DOCUMENT_POSITION_CONTAINED_BY:!i&&e===t||!c&&r===t?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:m,e&Node.DOCUMENT_POSITION_DISCONNECTED||e&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Hv(e,this._fragmentFiber,n[0],n[n.length-1],t)?e:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Hv(t,e,n,i,r){var c=Ll(r);if(t&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!c)t:{for(;c!==null;){if(c.tag===7&&(c===e||c.alternate===e)){n=!0;break t}c=c.return}n=!1}return n}if(t&Node.DOCUMENT_POSITION_CONTAINS){if(c===null)return c=r.ownerDocument,r===c||r===c.documentElement||r===c.body;t:{for(c=e,e=x(e);c!==null;){if(!(c.tag!==5&&c.tag!==3&&c.tag!==27||c!==e&&c.alternate!==e)){c=!0;break t}c=c.return}c=!1}return c}return t&Node.DOCUMENT_POSITION_PRECEDING?((e=!!c)&&!(e=c===n)&&(e=H(n,c,rt),e===null?e=!1:(p(e,!0,Q,c,n),c=M,M=null,e=c!==null)),e):t&Node.DOCUMENT_POSITION_FOLLOWING?((e=!!c)&&!(e=c===i)&&(e=H(i,c,rt),e===null?e=!1:(p(e,!0,st,c,i),c=M,G=M=null,e=c!==null)),e):!1}function Np(t,e){var n=t.ownerDocument.createRange();n.selectNodeContents(t),t=n.getBoundingClientRect(),window.scrollTo(window.scrollX+t.left,e?window.scrollY+t.top:window.scrollY+t.bottom-window.innerHeight)}We.prototype.scrollIntoView=function(t){if(typeof t=="object")throw Error(o(566));var e=[];p(this._fragmentFiber.child,!1,bs,e,void 0,void 0);var n=t!==!1;if(e.length===0){var i=z(this._fragmentFiber);if(i=n?i[1]||i[0]||x(this._fragmentFiber):i[0]||i[1],i===null)return;if(i.tag===6){t=B(i),Np(t,n);return}if(i=B(i),i.nodeType!==9){if(i.nodeType===11){n="host"in i?i.host:null,n!==null&&n.scrollIntoView(t);return}i.scrollIntoView(t)}}for(i=n?e.length-1:0;i!==(n?-1:e.length);){var r=e[i];r.tag===6?(r=B(r),Np(r,n)):B(r).scrollIntoView(t),i+=n?-1:1}};function qv(t,e){return t=B(t),Dp(t,e),!1}function Dp(t,e){t.reactFragments==null&&(t.reactFragments=new Set),t.reactFragments.add(e)}function kp(t,e){var n=e._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];t.addEventListener(r.type,r.attachedListener,Fi(r.optionsOrUseCapture))}t.nodeType!==3&&(n=e._observers,n!==null&&n.forEach(function(c){for(var m=0,S=0;S<xn.length;S++){var E=xn[S];(E.fragmentInstance!==e||E.observer!==c||E.instance!==t)&&(xn[m++]=E)}xn.length=m,c.observe(t)}),Dp(t,e))}function Yv(t,e){var n=e._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];t.removeEventListener(r.type,r.attachedListener,Fi(r.optionsOrUseCapture))}t.nodeType!==3&&(n=e._observers,n!==null&&n.forEach(function(c){typeof c.rootMargin=="string"?Lv(e,c,t):c.unobserve(t)}),t.reactFragments!=null&&t.reactFragments.delete(e))}function xs(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":xs(n),Eu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function Vv(t,e,n,i){for(;t.nodeType===1;){var r=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[fa])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==r.rel||t.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||t.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||t.getAttribute("title")!==(r.title==null?null:r.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(r.src==null?null:r.src)||t.getAttribute("type")!==(r.type==null?null:r.type)||t.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=r.name==null?null:""+r.name;if(r.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=fn(t.nextSibling),t===null)break}return null}function Gv(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=fn(t.nextSibling),t===null))return null;return t}function Mp(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=fn(t.nextSibling),t===null))return null;return t}function Es(t){return t.data==="$?"||t.data==="$~"}function Ts(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Xv(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var i=function(){e(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function fn(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var zs=null;function Rp(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return fn(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Up(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function Qv(t,e){function n(){i=!0}if(t.ownerDocument.activeElement===t)return!0;var i=!1;try{t.ownerDocument.addEventListener("focus",n,!0),(t.focus||HTMLElement.prototype.focus).call(t,e)}finally{t.ownerDocument.removeEventListener("focus",n,!0)}return i}function Zv(t){xp(function(){xp(function(e){return t(e)})})}function jp(t,e,n){switch(e=Ka(n),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function Lp(t,e,n){for(var i in n){var r=n[i];n.hasOwnProperty(i)&&r!=null&&Yt(t,e,i,null,xv,r)}n.dangerouslySetInnerHTML!=null&&(t.textContent=""),t.onclick===zn&&(t.onclick=null),Eu(t)}function As(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Eu(t)}var hn=new Map,Bp=new Set;function Ja(t){if(typeof t.getRootNode=="function"){var e=t.getRootNode();if(e.nodeType===9||e.nodeType===11)return e}return t.nodeType===9?t:t.ownerDocument}var tl=pt.d;pt.d={f:Kv,r:Jv,D:Fv,C:Iv,L:$v,m:Pv,X:tb,S:Wv,M:eb};function Kv(){var t=tl.f(),e=Ar();return t||e}function Jv(t){var e=mi(t);e!==null&&e.tag===5&&e.type==="form"?qd(e):tl.r(t)}var Ii=typeof document>"u"?null:document;function Hp(t,e,n){var i=Ii;if(i&&typeof e=="string"&&e){var r=ln(e);r='link[rel="'+t+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),Bp.has(r)||(Bp.add(r),t={rel:t,crossOrigin:n,href:e},i.querySelector(r)===null&&(e=i.createElement("link"),Te(e,"link",t),fe(e),i.head.appendChild(e)))}}function Fv(t){tl.D(t),Hp("dns-prefetch",t,null)}function Iv(t,e){tl.C(t,e),Hp("preconnect",t,e)}function $v(t,e,n){tl.L(t,e,n);var i=Ii;if(i&&t&&e){var r='link[rel="preload"][as="'+ln(e)+'"]';e==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+ln(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+ln(n.imageSizes)+'"]')):r+='[href="'+ln(t)+'"]';var c=r;switch(e){case"style":c=$i(t);break;case"script":c=Pi(t)}if(!(hn.has(c)||(t=F({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),hn.set(c,t),i.querySelector(r)!==null||e==="style"&&i.querySelector(Fa(c))||e==="script"&&i.querySelector(Ia(c))))){var m=i.createElement("link");Te(m,"link",t),e==="style"&&(m[xu]=!0,m.onload=m.onerror=function(){Pf(m)}),fe(m),i.head.appendChild(m)}}}function Pv(t,e){tl.m(t,e);var n=Ii;if(n&&t){var i=e&&typeof e.as=="string"?e.as:"script",r='link[rel="modulepreload"][as="'+ln(i)+'"][href="'+ln(t)+'"]',c=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Pi(t)}if(!hn.has(c)&&(t=F({rel:"modulepreload",href:t},e),hn.set(c,t),n.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ia(c)))return}i=n.createElement("link"),Te(i,"link",t),fe(i),n.head.appendChild(i)}}}function Wv(t,e,n){tl.S(t,e,n);var i=Ii;if(i&&t){var r=pi(i).hoistableStyles,c=$i(t);e=e||"default";var m=r.get(c);if(!m){var S={loading:0,preload:null};if(m=i.querySelector(Fa(c)))S.loading=5;else{t=F({rel:"stylesheet",href:t,"data-precedence":e},n),(n=hn.get(c))&&Cs(t,n);var E=m=i.createElement("link");fe(E),Te(E,"link",t),E._p=new Promise(function(N,R){E.onload=N,E.onerror=R}),E.addEventListener("load",function(){S.loading|=1}),E.addEventListener("error",function(){S.loading|=2}),S.loading|=4,kr(m,e,i)}m={type:"stylesheet",instance:m,count:1,state:S},r.set(c,m)}}}function tb(t,e){tl.X(t,e);var n=Ii;if(n&&t){var i=pi(n).hoistableScripts,r=Pi(t),c=i.get(r);c||(c=n.querySelector(Ia(r)),c||(t=F({src:t,async:!0},e),(e=hn.get(r))&&_s(t,e),c=n.createElement("script"),fe(c),Te(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(r,c))}}function eb(t,e){tl.M(t,e);var n=Ii;if(n&&t){var i=pi(n).hoistableScripts,r=Pi(t),c=i.get(r);c||(c=n.querySelector(Ia(r)),c||(t=F({src:t,async:!0,type:"module"},e),(e=hn.get(r))&&_s(t,e),c=n.createElement("script"),fe(c),Te(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(r,c))}}function qp(t,e,n,i){var r=(r=pn.current)?Ja(r):null;if(!r)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=$i(n.href),e=pi(r).hoistableStyles,i=e.get(n),i||(i={type:"style",instance:null,count:0,state:null},e.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=$i(n.href);var c=pi(r).hoistableStyles,m=c.get(t);if(m||(r=r.ownerDocument||r,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,m),(c=r.querySelector(Fa(t)))?c._p||(m.instance=c,m.state.loading=5):(c=hn.get(t),c||(c={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},hn.set(t,c)),nb(r,t,c,m.state))),e&&i===null)throw Error(o(528,""));return m}if(e&&i!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(n=Pi(n),e=pi(r).hoistableScripts,i=e.get(n),i||(i={type:"script",instance:null,count:0,state:null},e.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function $i(t){return'href="'+ln(t)+'"'}function Fa(t){return'link[rel="stylesheet"]['+t+"]"}function Yp(t){return F({},t,{"data-precedence":t.precedence,precedence:null})}function nb(t,e,n,i){if(e=t.querySelector('link[rel="preload"][as="style"]['+e+"]")){if(e[xu]!==!0){i.loading=1;return}}else e=t.createElement("link"),e[xu]=!0,e.onload=e.onerror=Pf.bind(null,e),Te(e,"link",n),fe(e),t.head.appendChild(e);i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2})}function Pi(t){return'[src="'+ln(t)+'"]'}function Ia(t){return"script[async]"+t}function Vp(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+ln(n.href)+'"]');if(i)return e.instance=i,fe(i),i;var r=F({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),fe(i),Te(i,"style",r),kr(i,n.precedence,t),e.instance=i;case"stylesheet":r=$i(n.href);var c=t.querySelector(Fa(r));if(c)return e.state.loading|=4,e.instance=c,fe(c),c;i=Yp(n),(r=hn.get(r))&&Cs(i,r),c=(t.ownerDocument||t).createElement("link"),fe(c);var m=c;return m._p=new Promise(function(S,E){m.onload=S,m.onerror=E}),Te(c,"link",i),e.state.loading|=4,kr(c,n.precedence,t),e.instance=c;case"script":return c=Pi(n.src),(r=t.querySelector(Ia(c)))?(e.instance=r,fe(r),r):(i=n,(r=hn.get(c))&&(i=F({},n),_s(i,r)),t=t.ownerDocument||t,r=t.createElement("script"),fe(r),Te(r,"link",i),t.head.appendChild(r),e.instance=r);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,kr(i,n.precedence,t));return e.instance}function kr(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=i.length?i[i.length-1]:null,c=r,m=0;m<i.length;m++){var S=i[m];if(S.dataset.precedence===e)c=S;else if(c!==r)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Cs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function _s(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Mr=null;function Gp(t,e,n){if(Mr===null){var i=new Map,r=Mr=new Map;r.set(n,i)}else r=Mr,i=r.get(n),i||(i=new Map,r.set(n,i));if(i.has(t))return i;for(i.set(t,null),n=n.getElementsByTagName(t),r=0;r<n.length;r++){var c=n[r];if(!(c[fa]||c[ve]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var m=c.getAttribute(e)||"";m=t+m;var S=i.get(m);S?S.push(c):i.set(m,[c])}}return i}function Os(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function lb(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Xp(t,e){return t==="img"&&e.src!=null&&e.src!==""&&e.onLoad==null&&e.loading!=="lazy"}function Qp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Zp(t){return(t.width||100)*(t.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function Kp(t,e){typeof e.decode=="function"&&(t.imgCount++,e.complete||(t.imgBytes+=Zp(e),t.suspenseyImages.push(e)),t=ub.bind(t),e.decode().then(t,t))}function ib(t,e,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=$i(i.href),c=e.querySelector(Fa(r));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=$a.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=c,fe(c);return}c=e.ownerDocument||e,i=Yp(i),(r=hn.get(r))&&Cs(i,r),c=c.createElement("link"),fe(c);var m=c;m._p=new Promise(function(S,E){m.onload=S,m.onerror=E}),Te(c,"link",i),n.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=$a.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Rr=0;function ab(t,e){return t.stylesheets&&t.count===0&&jr(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var i=setTimeout(function(){if(t.stylesheets&&jr(t,t.stylesheets),t.unsuspend){var c=t.unsuspend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&Rr===0&&(Rr=62500*Tv());var r=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&jr(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>Rr?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(r)}}:null}function Jp(t){if(t.count===0&&(t.imgCount===0||!t.waitingForImages)){if(t.stylesheets)jr(t,t.stylesheets);else if(t.unsuspend){var e=t.unsuspend;t.unsuspend=null,e()}}}function $a(){this.count--,Jp(this)}function ub(){this.imgCount--,Jp(this)}var Ur=null;function jr(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ur=new Map,e.forEach(rb,t),Ur=null,$a.call(t))}function rb(t,e){if(!(e.state.loading&4)){var n=Ur.get(t);if(n)var i=n.get(null);else{n=new Map,Ur.set(t,n);for(var r=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<r.length;c++){var m=r[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(n.set(m.dataset.precedence,m),i=m)}i&&n.set(null,i)}r=e.instance,m=r.getAttribute("data-precedence"),c=n.get(m)||i,c===i&&n.set(null,r),n.set(m,r),this.count++,i=$a.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),c?c.parentNode.insertBefore(r,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(r,t.firstChild)),e.state.loading|=4}}var Wi={$$typeof:J,Provider:null,Consumer:null,_currentValue:mn,_currentValue2:mn,_threadCount:0};function ob(t,e,n,i,r,c,m,S,E){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=ro(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ro(0),this.hiddenUpdates=ro(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.transitionTypes=null,this.incompleteTransitions=new Map}function Fp(t,e,n,i,r,c,m,S,E,N,R,Y){return t=new ob(t,e,n,m,E,N,R,Y,S),e=1,c===!0&&(e|=24),c=je(3,null,null,e),t.current=c,c.stateNode=t,e=Go(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:i,isDehydrated:n,cache:e},Ko(c),t}function Ip(t){return t?(t=Ai,t):Ai}function $p(t,e,n,i,r,c){r=Ip(r),i.context===null?i.context=r:i.pendingContext=r,i=pl(e),i.payload={element:n},c=c===void 0?null:c,c!==null&&(i.callback=c),n=gl(t,i,e),n!==null&&(qe(n,t,e),Oa(n,t,e))}function Pp(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function ws(t,e){Pp(t,e),(t=t.alternate)&&Pp(t,e)}function Wp(t){if(t.tag===13||t.tag===31){var e=Yl(t,67108864);e!==null&&qe(e,t,67108864),ws(t,67108864)}}function tg(t){if(t.tag===13||t.tag===31){var e=Pe();e=oo(e);var n=Yl(t,e);n!==null&&qe(n,t,e),ws(t,e)}}var ta=!0;function cb(t,e,n,i){var r=at.T;at.T=null;var c=pt.p;try{pt.p=2,Ns(t,e,n,i)}finally{pt.p=c,at.T=r}}function sb(t,e,n,i){var r=at.T;at.T=null;var c=pt.p;try{pt.p=8,Ns(t,e,n,i)}finally{pt.p=c,at.T=r}}function Ns(t,e,n,i){if(ta){var r=Ds(i);if(r===null)fs(t,e,i,Lr,n),ng(t,i);else if(hb(r,t,e,n,i))i.stopPropagation();else if(ng(t,i),e&4&&-1<fb.indexOf(t)){for(;r!==null;){var c=mi(r);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=jl(c.pendingLanes);if(m!==0){var S=c;for(S.pendingLanes|=2,S.entangledLanes|=2;m;){var E=1<<31-Qe(m);S.entanglements[1]|=E,m&=~E}Rn(c),(jt&6)===0&&(Er=ye()+500,Xa(0))}}break;case 31:case 13:S=Yl(c,2),S!==null&&qe(S,c,2),Ar(),ws(c,2)}if(c=Ds(i),c===null&&fs(t,e,i,Lr,n),c===r)break;r=c}r!==null&&i.stopPropagation()}else fs(t,e,i,null,n)}}function Ds(t){return t=go(t),ks(t)}var Lr=null;function ks(t){if(Lr=null,t=Ll(t),t!==null){var e=f(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=h(e),t!==null)return t;t=null}else if(n===31){if(t=d(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Lr=t,null}function eg(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"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Oe()){case Hn:return 2;case nn:return 8;case gu:case z0:return 32;case Vf:return 268435456;default:return 32}default:return 32}}var Ms=!1,Ol=null,wl=null,Nl=null,Pa=new Map,Wa=new Map,Dl=[],fb="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 ng(t,e){switch(t){case"focusin":case"focusout":Ol=null;break;case"dragenter":case"dragleave":wl=null;break;case"mouseover":case"mouseout":Nl=null;break;case"pointerover":case"pointerout":Pa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wa.delete(e.pointerId)}}function tu(t,e,n,i,r,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:c,targetContainers:[r]},e!==null&&(e=mi(e),e!==null&&Wp(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,r!==null&&e.indexOf(r)===-1&&e.push(r),t)}function hb(t,e,n,i,r){switch(e){case"focusin":return Ol=tu(Ol,t,e,n,i,r),!0;case"dragenter":return wl=tu(wl,t,e,n,i,r),!0;case"mouseover":return Nl=tu(Nl,t,e,n,i,r),!0;case"pointerover":var c=r.pointerId;return Pa.set(c,tu(Pa.get(c)||null,t,e,n,i,r)),!0;case"gotpointercapture":return c=r.pointerId,Wa.set(c,tu(Wa.get(c)||null,t,e,n,i,r)),!0}return!1}function lg(t){var e=Ll(t.target);if(e!==null){var n=f(e);if(n!==null){if(e=n.tag,e===13){if(e=h(n),e!==null){t.blockedOn=e,Ff(t.priority,function(){tg(n)});return}}else if(e===31){if(e=d(n),e!==null){t.blockedOn=e,Ff(t.priority,function(){tg(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Br(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Ds(t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);po=i,n.target.dispatchEvent(i),po=null}else return e=mi(n),e!==null&&Wp(e),t.blockedOn=n,!1;e.shift()}return!0}function ig(t,e,n){Br(t)&&n.delete(e)}function db(){Ms=!1,Ol!==null&&Br(Ol)&&(Ol=null),wl!==null&&Br(wl)&&(wl=null),Nl!==null&&Br(Nl)&&(Nl=null),Pa.forEach(ig),Wa.forEach(ig)}function Hr(t,e){t.blockedOn===e&&(t.blockedOn=null,Ms||(Ms=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,db)))}var qr=null;function ag(t){qr!==t&&(qr=t,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){qr===t&&(qr=null);for(var e=0;e<t.length;e+=3){var n=t[e],i=t[e+1],r=t[e+2];if(typeof i!="function"){if(ks(i||n)===null)continue;break}var c=mi(n);c!==null&&(t.splice(e,3),e-=3,mc(c,{pending:!0,data:r,method:n.method,action:i},i,r))}}))}function ea(t){function e(E){return Hr(E,t)}Ol!==null&&Hr(Ol,t),wl!==null&&Hr(wl,t),Nl!==null&&Hr(Nl,t),Pa.forEach(e),Wa.forEach(e);for(var n=0;n<Dl.length;n++){var i=Dl[n];i.blockedOn===t&&(i.blockedOn=null)}for(;0<Dl.length&&(n=Dl[0],n.blockedOn===null);)lg(n),n.blockedOn===null&&Dl.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var r=n[i],c=n[i+1],m=r[Ue]||null;if(typeof c=="function")m||ag(n);else if(m){var S=null;if(c&&c.hasAttribute("formAction")){if(r=c,m=c[Ue]||null)S=m.formAction;else if(ks(r)!==null)continue}else S=m.action;typeof S=="function"?n[i+1]=S:(n.splice(i,3),i-=3),ag(n)}}}function ug(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return r=m})},focusReset:"manual",scroll:"manual"})}function e(){r!==null&&(r(),r=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,r=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),r!==null&&(r(),r=null)}}}function Rs(t){this._internalRoot=t}Yr.prototype.render=Rs.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var n=e.current,i=Pe();$p(n,i,t,e,null,null)},Yr.prototype.unmount=Rs.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;$p(t.current,2,null,t,null,null),Ar(),e[di]=null}};function Yr(t){this._internalRoot=t}Yr.prototype.unstable_scheduleHydration=function(t){if(t){var e=Jf();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Dl.length&&e!==0&&e<Dl[n].priority;n++);Dl.splice(n,0,t),n===0&&lg(t)}};var rg=a.version;if(rg!=="19.3.0")throw Error(o(527,rg,"19.3.0"));pt.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=g(e),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var mb={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:at,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vr.isDisabled&&Vr.supportsFiber)try{oa=Vr.inject(mb),Xe=Vr}catch{}}return nu.createRoot=function(t,e){if(!s(t))throw Error(o(299));var n=!1,i="",r=Id,c=$d,m=Pd;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(r=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(m=e.onRecoverableError)),e=Fp(t,1,!1,null,null,n,i,null,r,c,m,ug),t[di]=e.current,ss(t),new Rs(e)},nu.hydrateRoot=function(t,e,n){if(!s(t))throw Error(o(299));var i=!1,r="",c=Id,m=$d,S=Pd,E=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(S=n.onRecoverableError),n.formState!==void 0&&(E=n.formState)),e=Fp(t,1,!0,e,n??null,i,r,E,c,m,S,ug),e.context=Ip(null),n=e.current,i=Pe(),i=oo(i),r=pl(i),r.callback=null,gl(n,r,i),n=i,e.current.lanes=n,sa(e,n),Rn(e),t[di]=e.current,ss(t),new Yr(e)},nu.version="19.3.0",nu}var yg;function zb(){if(yg)return js.exports;yg=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(a){console.error(a)}}return l(),js.exports=Tb(),js.exports}var Ab=zb(),pe=bf();const Sf=1;function vg(l){let a="";for(const u of l)a+=String.fromCharCode(u);return btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function bg(l){if(!/^[A-Za-z0-9_-]*$/.test(l))return;const a=l.replace(/-/g,"+").replace(/_/g,"/"),u=a+"=".repeat((4-a.length%4)%4);try{const o=atob(u);return Uint8Array.from(o,s=>s.charCodeAt(0))}catch{return}}const Cb=/^[A-Za-z0-9_-]{22}$/,_b=/^[A-Za-z0-9_-]{43}$/;function Ob(l){var s;let a;try{a=new URL(l)}catch{return}const u=(s=/^\/r\/([^/]+)\/?$/.exec(a.pathname))==null?void 0:s[1],o=a.hash.replace(/^#/,"");if(!(u===void 0||!Cb.test(u)||!_b.test(o)))return{sala:u,secreto:o}}const wb=["version","sala-inexistente","sala-ocupada","tope-de-moviles","ritmo","mensaje-ilegible"],Gr=l=>typeof l=="string"&&l.length>0;function Nb(l,a){let u;try{const s=JSON.parse(l);if(typeof s!="object"||s===null||Array.isArray(s))return;u=s}catch{return}return Db(u)}function Db(l,a){if(l.t==="abierta"||l.t==="cerrada")return{t:l.t};if(l.t==="entrada"&&Gr(l.id))return{t:"entrada",id:l.id};if(l.t==="presencia"&&Array.isArray(l.moviles)&&l.moviles.every(Gr))return{t:"presencia",moviles:l.moviles};if(l.t==="anfitrion"&&typeof l.conectado=="boolean")return{t:"anfitrion",conectado:l.conectado};if(l.t==="dato"&&Gr(l.carga))return l.de===void 0?{t:"dato",carga:l.carga}:Gr(l.de)?{t:"dato",de:l.de,carga:l.carga}:void 0;if(l.t==="error"&&typeof l.motivo=="string"&&wb.includes(l.motivo))return{t:"error",motivo:l.motivo}}const Xr=12,Ir=new TextEncoder,kb=new TextDecoder;async function Sg(l,a,u){return crypto.subtle.deriveKey({name:"HKDF",hash:"SHA-256",salt:Ir.encode(`xonecode-remoto/v${Sf}/${a}`),info:Ir.encode(u)},l,{name:"AES-GCM",length:256},!1,["encrypt","decrypt"])}async function Mb(l){const a=bg(l.secreto);if(a===void 0||a.length!==32)throw new Error("secreto inválido");const u=await crypto.subtle.importKey("raw",a.slice(),"HKDF",!1,["deriveKey"]),o="m2a",s="a2m",f=await Sg(u,l.sala,o),h=await Sg(u,l.sala,s),d=x=>Ir.encode(`v${Sf}|${l.sala}|${x}`),v=l.origen??vg(crypto.getRandomValues(new Uint8Array(12))),g=l.nonce??(()=>crypto.getRandomValues(new Uint8Array(Xr)));let y=0;const p=new Map;return{async cifrar(x){y+=1;const b=g(),z=Ir.encode(JSON.stringify({o:v,s:y,m:x})),U=new Uint8Array(await crypto.subtle.encrypt({name:"AES-GCM",iv:b,additionalData:d(o)},f,z)),B=new Uint8Array(b.length+U.length);return B.set(b,0),B.set(U,b.length),vg(B)},async descifrar(x){const b=bg(x);if(b===void 0||b.length<=Xr)return;let z;try{z=await crypto.subtle.decrypt({name:"AES-GCM",iv:b.slice(0,Xr),additionalData:d(s)},h,b.slice(Xr))}catch{return}let U;try{U=JSON.parse(kb.decode(z))}catch{return}if(typeof U.o!="string"||typeof U.s!="number")return;const B=p.get(U.o)??0;if(!(U.s<=B))return p.set(U.o,U.s),U.m}}}const el=l=>typeof l=="object"&&l!==null&&!Array.isArray(l),Gt=l=>typeof l=="string",xg=l=>Gt(l)&&l.length>0,Eg=l=>el(l)&&Gt(l.tipo),gy=new Set(["image/png","image/jpeg","image/webp","image/gif"]);function yy(l){if(!Array.isArray(l.pendientes)||!el(l.ficheros)||!el(l.diffs))return;const a=[];for(const s of l.pendientes){if(!el(s)||!Gt(s.id)||!Gt(s.origen)||!Gt(s.descripcion)||!Array.isArray(s.decisionesPermitidas)||!s.decisionesPermitidas.every(Gt))return;a.push({id:s.id,origen:s.origen,descripcion:s.descripcion,decisionesPermitidas:[...s.decisionesPermitidas],...s.remota===!0?{remota:!0}:{}})}const u={};for(const[s,f]of Object.entries(l.ficheros)){if(!Gt(f))return;u[s]=f}const o={};for(const[s,f]of Object.entries(l.diffs)){if(!Array.isArray(f))return;const h=[];for(const d of f){if(!el(d)||!Gt(d.texto)||d.tipo!=="igual"&&d.tipo!=="anadido"&&d.tipo!=="quitado")return;h.push({tipo:d.tipo,texto:d.texto})}o[s]=h}return{pendientes:a,ficheros:u,diffs:o}}const Rb=["trabajando","esperando-aprobacion","esperando-respuesta","parada"],Ub=["nuevo","en-proceso","requiere-atencion","terminada"],ru=l=>l===void 0||Gt(l);function jb(l){if(!el(l)||!Gt(l.id)||!Gt(l.proyecto)||typeof l.foco!="boolean"||!Gt(l.estado)||!Rb.includes(l.estado)||!ru(l.sesion)||!ru(l.ultimaActividad))return;let a;if(l.aprobacion!==void 0){if(!el(l.aprobacion))return;const u=yy(l.aprobacion);if(!u||l.aprobacion.recortada!==void 0&&l.aprobacion.recortada!==!0)return;a={...u,...l.aprobacion.recortada===!0?{recortada:!0}:{}}}return{id:l.id,proyecto:l.proyecto,...Gt(l.sesion)?{sesion:l.sesion}:{},foco:l.foco,estado:l.estado,...Gt(l.ultimaActividad)?{ultimaActividad:l.ultimaActividad}:{},...a?{aprobacion:a}:{}}}function Lb(l){if(!(!el(l)||!Gt(l.id)||!Gt(l.titulo)||!Gt(l.proyecto)||!Gt(l.creada))&&!(!Gt(l.estado)||!Ub.includes(l.estado))&&!(!ru(l.tras)||!ru(l.motivo)||!ru(l.acabada)))return{id:l.id,titulo:l.titulo,proyecto:l.proyecto,estado:l.estado,...Gt(l.tras)?{tras:l.tras}:{},...Gt(l.motivo)?{motivo:l.motivo}:{},creada:l.creada,...Gt(l.acabada)?{acabada:l.acabada}:{}}}function Bb(l){if(el(l))switch(l.clase){case"acto":case"sustitucion":return Eg(l.acto)?{clase:l.clase,acto:l.acto}:void 0;case"reemision":return Array.isArray(l.actos)&&l.actos.every(Eg)?{clase:"reemision",actos:l.actos}:void 0;case"aprobacion":{const a=yy(l);return a?{clase:"aprobacion",...a}:void 0}case"pregunta":return l.decision!==void 0||l.seleccionable!==void 0||l.selector!==void 0?void 0:Gt(l.texto)?{clase:"pregunta",texto:l.texto}:void 0;case"turno":return typeof l.activo!="boolean"?void 0:l.detenible===!0?{clase:"turno",activo:l.activo,detenible:!0}:{clase:"turno",activo:l.activo};case"remoto.estado":return{clase:"remoto.estado",...Gt(l.proyecto)?{proyecto:l.proyecto}:{},...Gt(l.sesion)?{sesion:l.sesion}:{}};case"artefacto.trozo":{const a=u=>typeof u=="number"&&Number.isInteger(u)&&u>=0;return!xg(l.ruta)||!Gt(l.datos)||!a(l.indice)||!a(l.total)||l.indice>=l.total||!Gt(l.mime)||!gy.has(l.mime)?void 0:{clase:"artefacto.trozo",ruta:l.ruta,mime:l.mime,indice:l.indice,total:l.total,datos:l.datos}}case"artefacto.error":return xg(l.ruta)&&Gt(l.motivo)?{clase:"artefacto.error",ruta:l.ruta,motivo:l.motivo}:void 0;case"panorama":{if(!Array.isArray(l.consolas)||!Array.isArray(l.tareas)||typeof l.esperando!="number"||!Number.isFinite(l.esperando)||l.esperando<0)return;const a=[];for(const o of l.consolas){const s=jb(o);if(!s)return;a.push(s)}const u=[];for(const o of l.tareas){const s=Lb(o);if(!s)return;u.push(s)}return{clase:"panorama",consolas:a,tareas:u,esperando:l.esperando}}default:return}}const vy={conexion:"conectando",actos:[],turno:{activo:!1},donde:{}};function by(l,a){var u,o;if("conexion"in a)return{...l,conexion:a.conexion};if("local"in a){if(a.local==="artefacto-pedido")return{...l,artefactos:{...l.artefactos,[a.ruta]:{estado:"cargando",trozos:[]}}};if(a.local==="aprobacion-contestada"){const h=a.consola!==void 0,d=(u=l.panorama)==null?void 0:u.consolas.find(y=>y.foco),v=h?a.consola:d==null?void 0:d.id;let g=l;if(l.panorama!==void 0&&v!==void 0){let y=0;const p=l.panorama.consolas.map(x=>{if(x.id!==v||x.aprobacion===void 0)return x;y=x.aprobacion.pendientes.length;const{aprobacion:b,...z}=x;return z});y>0&&(g={...l,panorama:{...l.panorama,consolas:p,esperando:Math.max(0,l.panorama.esperando-y)}})}if(!h||(d==null?void 0:d.id)===a.consola){const{aprobacion:y,...p}=g;return p}return g}const{pregunta:s,...f}=l;return f}switch(a.clase){case"reemision":{const{aprobacion:s,pregunta:f,...h}=l;return{...h,actos:[...a.actos]}}case"acto":return{...l,actos:[...l.actos,a.acto]};case"sustitucion":return{...l,actos:l.actos.length===0?[a.acto]:[...l.actos.slice(0,-1),a.acto]};case"aprobacion":return{...l,aprobacion:{pendientes:a.pendientes,ficheros:a.ficheros,diffs:a.diffs}};case"pregunta":return{...l,pregunta:a.texto};case"turno":{const s=a.detenible===!0?{activo:a.activo,detenible:!0}:{activo:a.activo};if(a.activo)return{...l,turno:s};const{aprobacion:f,pregunta:h,...d}=l;return{...d,turno:s}}case"remoto.estado":return{...l,donde:{...a.proyecto===void 0?{}:{proyecto:a.proyecto},...a.sesion===void 0?{}:{sesion:a.sesion}}};case"artefacto.trozo":{const s=(o=l.artefactos)==null?void 0:o[a.ruta],f=(s==null?void 0:s.estado)==="cargando"&&s.trozos.length===a.total?[...s.trozos]:new Array(a.total).fill(void 0);f[a.indice]=a.datos;const d=f.every(v=>v!==void 0)?{estado:"listo",url:`data:${a.mime};base64,${f.join("")}`}:{estado:"cargando",mime:a.mime,trozos:f};return{...l,artefactos:{...l.artefactos,[a.ruta]:d}}}case"artefacto.error":return{...l,artefactos:{...l.artefactos,[a.ruta]:{estado:"error",motivo:a.motivo}}};case"panorama":return{...l,panorama:{consolas:a.consolas,tareas:a.tareas,esperando:a.esperando}}}}const Tg=[1e3,2e3,5e3,1e4];async function Hb(l){let a=vy;const u=z=>{a=by(a,z),l.alCambiar(a)},o=Ob(l.href);if(o===void 0)return u({conexion:"enlace-invalido"}),{enviar:async()=>{},contestado:(z,U)=>u({local:z,...U===void 0?{}:{consola:U}}),cerrar:()=>{}};let s;try{s=await Mb({...o,rol:"movil"})}catch{return u({conexion:"sin-cifrado"}),{enviar:async()=>{throw new Error("sin cifrado")},contestado:(z,U)=>u({local:z,...U===void 0?{}:{consola:U}}),cerrar:()=>{}}}let f,h=!1,d=0,v=!1,g=!1,y=0,p,x=Promise.resolve();const b=()=>{if(h)return;const z=new WebSocket(l.urlWs);f=z,g=!1,z.onopen=()=>{z.send(JSON.stringify({t:"entrar",sala:o.sala,v:Sf}))},z.onmessage=M=>{const G=String(M.data);x=x.then(()=>U(G)).catch(()=>{})};const U=async M=>{const G=Nb(M);if(G!==void 0){if(G.t==="entrada")d=0,v=!0,u({conexion:"conectada"});else if(G.t==="anfitrion")u({conexion:G.conectado?"conectada":"anfitrion-caido"});else if(G.t==="cerrada")h=!0,u({conexion:"cerrada"}),z.close();else if(G.t==="error")G.motivo==="version"?(h=!0,u({conexion:"version"})):G.motivo==="sala-inexistente"&&(v?(g=!0,u({conexion:"anfitrion-caido"})):(h=!0,u({conexion:"enlace-invalido"})));else if(G.t==="dato"){const Q=await s.descifrar(G.carga),st=Bb(Q);if(st===void 0){Q===void 0&&(y+=1,y>=3&&(h=!0,u({conexion:"enlace-invalido"}),z.close()));return}y=0,u(st)}}};z.onclose=()=>{x=x.then(B).catch(()=>{})};const B=()=>{if(h)return;u({conexion:g?"anfitrion-caido":"conectando"});const M=Tg[Math.min(d,Tg.length-1)];d+=1,p=setTimeout(b,M)}};return b(),{async enviar(z){z.clase==="artefacto"&&u({local:"artefacto-pedido",ruta:z.ruta});try{if((f==null?void 0:f.readyState)!==WebSocket.OPEN)throw new Error("sin conexión");f.send(JSON.stringify({t:"dato",carga:await s.cifrar(z)}))}catch(U){throw z.clase==="artefacto"&&u({clase:"artefacto.error",ruta:z.ruta,motivo:"sin conexión"}),U}},contestado(z,U){u({local:z,...U===void 0?{}:{consola:U}})},cerrar(){h=!0,p!==void 0&&clearTimeout(p),f==null||f.close()}}}const zg={conectando:"conectando",conectada:"conectado","anfitrion-caido":"tu xonecode está desconectado, reintentando",cerrada:"la sesión remota se cerró","enlace-invalido":"este enlace ya no es válido",version:"hay una versión nueva: vuelve a escanear el código QR","sin-cifrado":"este navegador no permite el cifrado: abre el enlace por https"};function qb({estado:l,alParar:a}){const u=[l.donde.proyecto,l.donde.sesion].filter(s=>s!==void 0).join(" · "),o=l.conexion==="conectada"?"verde":l.conexion==="conectando"||l.conexion==="anfitrion-caido"?"ambar":"rojo";return V.jsxs("header",{className:"cabecera",children:[V.jsx("span",{className:"marca",children:"xonecode"}),V.jsx("span",{className:`punto ${o}`,role:"img","aria-label":zg[l.conexion]}),V.jsx("span",{className:"donde",children:u===""?"sin sesión":u}),l.turno.activo?V.jsx("span",{className:"trabajando",children:"trabajando…"}):null,l.turno.activo&&l.turno.detenible?V.jsx("button",{type:"button",className:"parar",onClick:a,children:"Parar"}):null,l.conexion!=="conectada"?V.jsx("p",{className:"aviso-de-conexion",children:zg[l.conexion]}):null]})}function Yb(l,a){const u={};return(l[l.length-1]===""?[...l,""]:l).join((u.padRight?" ":"")+","+(u.padLeft===!1?"":" ")).trim()}const Vb=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Gb=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Xb={};function Ag(l,a){return(Xb.jsx?Gb:Vb).test(l)}const Qb=/[ \t\n\f\r]/g;function Zb(l){return typeof l=="object"?l.type==="text"?Cg(l.value):!1:Cg(l)}function Cg(l){return l.replace(Qb,"")===""}class hu{constructor(a,u,o){this.normal=u,this.property=a,o&&(this.space=o)}}hu.prototype.normal={};hu.prototype.property={};hu.prototype.space=void 0;function Sy(l,a){const u={},o={};for(const s of l)Object.assign(u,s.property),Object.assign(o,s.normal);return new hu(u,o,a)}function rf(l){return l.toLowerCase()}class Ve{constructor(a,u){this.attribute=u,this.property=a}}Ve.prototype.attribute="";Ve.prototype.booleanish=!1;Ve.prototype.boolean=!1;Ve.prototype.commaOrSpaceSeparated=!1;Ve.prototype.commaSeparated=!1;Ve.prototype.defined=!1;Ve.prototype.mustUseProperty=!1;Ve.prototype.number=!1;Ve.prototype.overloadedBoolean=!1;Ve.prototype.property="";Ve.prototype.spaceSeparated=!1;Ve.prototype.space=void 0;let Kb=0;const yt=ci(),re=ci(),of=ci(),K=ci(),Zt=ci(),ri=ci(),tn=ci();function ci(){return 2**++Kb}const cf=Object.freeze(Object.defineProperty({__proto__:null,boolean:yt,booleanish:re,commaOrSpaceSeparated:tn,commaSeparated:ri,number:K,overloadedBoolean:of,spaceSeparated:Zt},Symbol.toStringTag,{value:"Module"})),Ys=Object.keys(cf);class xf extends Ve{constructor(a,u,o,s){let f=-1;if(super(a,u),_g(this,"space",s),typeof o=="number")for(;++f<Ys.length;){const h=Ys[f];_g(this,Ys[f],(o&cf[h])===cf[h])}}}xf.prototype.defined=!0;function _g(l,a,u){u&&(l[a]=u)}function ia(l){const a={},u={};for(const[o,s]of Object.entries(l.properties)){const f=new xf(o,l.transform(l.attributes||{},o),s,l.space);l.mustUseProperty&&l.mustUseProperty.includes(o)&&(f.mustUseProperty=!0),a[o]=f,u[rf(o)]=o,u[rf(f.attribute)]=o}return new hu(a,u,l.space)}const xy=ia({properties:{ariaActiveDescendant:null,ariaAtomic:re,ariaAutoComplete:null,ariaBusy:re,ariaChecked:re,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:Zt,ariaCurrent:null,ariaDescribedBy:Zt,ariaDetails:null,ariaDisabled:re,ariaDropEffect:Zt,ariaErrorMessage:null,ariaExpanded:re,ariaFlowTo:Zt,ariaGrabbed:re,ariaHasPopup:null,ariaHidden:re,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Zt,ariaLevel:K,ariaLive:null,ariaModal:re,ariaMultiLine:re,ariaMultiSelectable:re,ariaOrientation:null,ariaOwns:Zt,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:re,ariaReadOnly:re,ariaRelevant:null,ariaRequired:re,ariaRoleDescription:Zt,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:re,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform(l,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function Ey(l,a){return a in l?l[a]:a}function Ty(l,a){return Ey(l,a.toLowerCase())}const Jb=ia({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ri,acceptCharset:Zt,accessKey:Zt,action:null,allow:null,allowFullScreen:yt,allowPaymentRequest:yt,allowUserMedia:yt,alpha:yt,alt:null,as:null,async:yt,autoCapitalize:null,autoComplete:Zt,autoFocus:yt,autoPlay:yt,blocking:Zt,capture:null,charSet:null,checked:yt,cite:null,className:Zt,closedBy:null,colorSpace:null,cols:K,colSpan:K,command:null,commandFor:null,content:null,contentEditable:re,controls:yt,controlsList:Zt,coords:K|ri,crossOrigin:null,data:null,dateTime:null,decoding:null,default:yt,defer:yt,dir:null,dirName:null,disabled:yt,download:of,draggable:re,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:yt,formTarget:null,headers:Zt,height:K,hidden:of,high:K,href:null,hrefLang:null,htmlFor:Zt,httpEquiv:Zt,id:null,imageSizes:null,imageSrcSet:null,inert:yt,inputMode:null,integrity:null,is:null,isMap:yt,itemId:null,itemProp:Zt,itemRef:Zt,itemScope:yt,itemType:Zt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:yt,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:yt,muted:yt,name:null,nonce:null,noModule:yt,noValidate:yt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:yt,optimum:K,pattern:null,ping:Zt,placeholder:null,playsInline:yt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:yt,referrerPolicy:null,rel:Zt,required:yt,reversed:yt,rows:K,rowSpan:K,sandbox:Zt,scope:null,scoped:yt,seamless:yt,selected:yt,shadowRootClonable:yt,shadowRootCustomElementRegistry:yt,shadowRootDelegatesFocus:yt,shadowRootMode:null,shadowRootSerializable:yt,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:re,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:yt,useMap:null,value:re,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Zt,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:yt,declare:yt,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:yt,noHref:yt,noShade:yt,noWrap:yt,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:re,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:yt,disablePictureInPicture:yt,disableRemotePlayback:yt,exportParts:ri,part:Zt,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:Ty}),Fb=ia({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:tn,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:Zt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:yt,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ri,g2:ri,glyphName:ri,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:tn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Zt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tn,rev:tn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tn,requiredFeatures:tn,requiredFonts:tn,requiredFormats:tn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:tn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tn,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ey}),zy=ia({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(l,a){return"xlink:"+a.slice(5).toLowerCase()}}),Ay=ia({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ty}),Cy=ia({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(l,a){return"xml:"+a.slice(3).toLowerCase()}}),Ib={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},$b=/[A-Z]/g,Og=/-[a-z]/g,Pb=/^data[-\w.:]+$/i;function Wb(l,a){const u=rf(a);let o=a,s=Ve;if(u in l.normal)return l.property[l.normal[u]];if(u.length>4&&u.slice(0,4)==="data"&&Pb.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(Og,eS);o="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!Og.test(f)){let h=f.replace($b,tS);h.charAt(0)!=="-"&&(h="-"+h),a="data"+h}}s=xf}return new s(o,a)}function tS(l){return"-"+l.toLowerCase()}function eS(l){return l.charAt(1).toUpperCase()}const nS=Sy([xy,Jb,zy,Ay,Cy],"html"),Ef=Sy([xy,Fb,zy,Ay,Cy],"svg");function lS(l){return l.join(" ").trim()}var na={},Vs,wg;function iS(){if(wg)return Vs;wg=1;var l=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,u=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,h=/^[;\s]*/,d=/^\s+|\s+$/g,v=`
50
+ `,g="/",y="*",p="",x="comment",b="declaration";function z(B,M){if(typeof B!="string")throw new TypeError("First argument must be a string");if(!B)return[];M=M||{};var G=1,Q=1;function st(ot){var J=ot.match(a);J&&(G+=J.length);var Z=ot.lastIndexOf(v);Q=~Z?ot.length-Z:Q+ot.length}function rt(){var ot={line:G,column:Q};return function(J){return J.position=new H(ot),kt(),J}}function H(ot){this.start=ot,this.end={line:G,column:Q},this.source=M.source}H.prototype.content=B;function F(ot){var J=new Error(M.source+":"+G+":"+Q+": "+ot);if(J.reason=ot,J.filename=M.source,J.line=G,J.column=Q,J.source=B,!M.silent)throw J}function tt(ot){var J=ot.exec(B);if(J){var Z=J[0];return st(Z),B=B.slice(Z.length),J}}function kt(){tt(u)}function j(ot){var J;for(ot=ot||[];J=$();)J!==!1&&ot.push(J);return ot}function $(){var ot=rt();if(!(g!=B.charAt(0)||y!=B.charAt(1))){for(var J=2;p!=B.charAt(J)&&(y!=B.charAt(J)||g!=B.charAt(J+1));)++J;if(J+=2,p===B.charAt(J-1))return F("End of comment missing");var Z=B.slice(2,J-2);return Q+=2,st(Z),B=B.slice(J),Q+=2,ot({type:x,comment:Z})}}function lt(){var ot=rt(),J=tt(o);if(J){if($(),!tt(s))return F("property missing ':'");var Z=tt(f),et=ot({type:b,property:U(J[0].replace(l,p)),value:Z?U(Z[0].replace(l,p)):p});return tt(h),et}}function Et(){var ot=[];j(ot);for(var J;J=lt();)J!==!1&&(ot.push(J),j(ot));return ot}return kt(),Et()}function U(B){return B?B.replace(d,p):p}return Vs=z,Vs}var Ng;function aS(){if(Ng)return na;Ng=1;var l=na&&na.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(na,"__esModule",{value:!0}),na.default=u;const a=l(iS());function u(o,s){let f=null;if(!o||typeof o!="string")return f;const h=(0,a.default)(o),d=typeof s=="function";return h.forEach(v=>{if(v.type!=="declaration")return;const{property:g,value:y}=v;d?s(g,y,v):y&&(f=f||{},f[g]=y)}),f}return na}var lu={},Dg;function uS(){if(Dg)return lu;Dg=1,Object.defineProperty(lu,"__esModule",{value:!0}),lu.camelCase=void 0;var l=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,u=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,f=function(g){return!g||u.test(g)||l.test(g)},h=function(g,y){return y.toUpperCase()},d=function(g,y){return"".concat(y,"-")},v=function(g,y){return y===void 0&&(y={}),f(g)?g:(g=g.toLowerCase(),y.reactCompat?g=g.replace(s,d):g=g.replace(o,d),g.replace(a,h))};return lu.camelCase=v,lu}var iu,kg;function rS(){if(kg)return iu;kg=1;var l=iu&&iu.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},a=l(aS()),u=uS();function o(s,f){var h={};return!s||typeof s!="string"||(0,a.default)(s,function(d,v){d&&v&&(h[(0,u.camelCase)(d,f)]=v)}),h}return o.default=o,iu=o,iu}var oS=rS();const cS=py(oS),_y=Oy("end"),Tf=Oy("start");function Oy(l){return a;function a(u){const o=u&&u.position&&u.position[l]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function sS(l){const a=Tf(l),u=_y(l);if(a&&u)return{start:a,end:u}}function ou(l){return!l||typeof l!="object"?"":"position"in l||"type"in l?Mg(l.position):"start"in l||"end"in l?Mg(l):"line"in l||"column"in l?sf(l):""}function sf(l){return Rg(l&&l.line)+":"+Rg(l&&l.column)}function Mg(l){return sf(l&&l.start)+"-"+sf(l&&l.end)}function Rg(l){return l&&typeof l=="number"?l:1}class _e extends Error{constructor(a,u,o){super(),typeof u=="string"&&(o=u,u=void 0);let s="",f={},h=!1;if(u&&("line"in u&&"column"in u?f={place:u}:"start"in u&&"end"in u?f={place:u}:"type"in u?f={ancestors:[u],place:u.position}:f={...u}),typeof a=="string"?s=a:!f.cause&&a&&(h=!0,s=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof o=="string"){const v=o.indexOf(":");v===-1?f.ruleId=o:(f.source=o.slice(0,v),f.ruleId=o.slice(v+1))}if(!f.place&&f.ancestors&&f.ancestors){const v=f.ancestors[f.ancestors.length-1];v&&(f.place=v.position)}const d=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=d?d.line:void 0,this.name=ou(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=h&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}_e.prototype.file="";_e.prototype.name="";_e.prototype.reason="";_e.prototype.message="";_e.prototype.stack="";_e.prototype.column=void 0;_e.prototype.line=void 0;_e.prototype.ancestors=void 0;_e.prototype.cause=void 0;_e.prototype.fatal=void 0;_e.prototype.place=void 0;_e.prototype.ruleId=void 0;_e.prototype.source=void 0;const zf={}.hasOwnProperty,fS=new Map,hS=/[A-Z]/g,dS=new Set(["table","tbody","thead","tfoot","tr"]),mS=new Set(["td","th"]),wy="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function pS(l,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const u=a.filePath||void 0;let o;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=TS(u,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=ES(u,a.jsx,a.jsxs)}const s={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:o,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:u,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?Ef:nS,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=Ny(s,l,void 0);return f&&typeof f!="string"?f:s.create(l,s.Fragment,{children:f||void 0},void 0)}function Ny(l,a,u){if(a.type==="element")return gS(l,a,u);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return yS(l,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return bS(l,a,u);if(a.type==="mdxjsEsm")return vS(l,a);if(a.type==="root")return SS(l,a,u);if(a.type==="text")return xS(l,a)}function gS(l,a,u){const o=l.schema;let s=o;a.tagName.toLowerCase()==="svg"&&o.space==="html"&&(s=Ef,l.schema=s),l.ancestors.push(a);const f=ky(l,a.tagName,!1),h=zS(l,a);let d=Cf(l,a);return dS.has(a.tagName)&&(d=d.filter(function(v){return typeof v=="string"?!Zb(v):!0})),Dy(l,h,f,a),Af(h,d),l.ancestors.pop(),l.schema=o,l.create(a,f,h,u)}function yS(l,a){if(a.data&&a.data.estree&&l.evaluater){const o=a.data.estree.body[0];return o.type,l.evaluater.evaluateExpression(o.expression)}fu(l,a.position)}function vS(l,a){if(a.data&&a.data.estree&&l.evaluater)return l.evaluater.evaluateProgram(a.data.estree);fu(l,a.position)}function bS(l,a,u){const o=l.schema;let s=o;a.name==="svg"&&o.space==="html"&&(s=Ef,l.schema=s),l.ancestors.push(a);const f=a.name===null?l.Fragment:ky(l,a.name,!0),h=AS(l,a),d=Cf(l,a);return Dy(l,h,f,a),Af(h,d),l.ancestors.pop(),l.schema=o,l.create(a,f,h,u)}function SS(l,a,u){const o={};return Af(o,Cf(l,a)),l.create(a,l.Fragment,o,u)}function xS(l,a){return a.value}function Dy(l,a,u,o){typeof u!="string"&&u!==l.Fragment&&l.passNode&&(a.node=o)}function Af(l,a){if(a.length>0){const u=a.length>1?a:a[0];u&&(l.children=u)}}function ES(l,a,u){return o;function o(s,f,h,d){const g=Array.isArray(h.children)?u:a;return d?g(f,h,d):g(f,h)}}function TS(l,a){return u;function u(o,s,f,h){const d=Array.isArray(f.children),v=Tf(o);return a(s,f,h,d,{columnNumber:v?v.column-1:void 0,fileName:l,lineNumber:v?v.line:void 0},void 0)}}function zS(l,a){const u={};let o,s;for(s in a.properties)if(s!=="children"&&zf.call(a.properties,s)){const f=CS(l,s,a.properties[s]);if(f){const[h,d]=f;l.tableCellAlignToStyle&&h==="align"&&typeof d=="string"&&mS.has(a.tagName)?o=d:u[h]=d}}if(o){const f=u.style||(u.style={});f[l.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return u}function AS(l,a){const u={};for(const o of a.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&l.evaluater){const f=o.data.estree.body[0];f.type;const h=f.expression;h.type;const d=h.properties[0];d.type,Object.assign(u,l.evaluater.evaluateExpression(d.argument))}else fu(l,a.position);else{const s=o.name;let f;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&l.evaluater){const d=o.value.data.estree.body[0];d.type,f=l.evaluater.evaluateExpression(d.expression)}else fu(l,a.position);else f=o.value===null?!0:o.value;u[s]=f}return u}function Cf(l,a){const u=[];let o=-1;const s=l.passKeys?new Map:fS;for(;++o<a.children.length;){const f=a.children[o];let h;if(l.passKeys){const v=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(v){const g=s.get(v)||0;h=v+"-"+g,s.set(v,g+1)}}const d=Ny(l,f,h);d!==void 0&&u.push(d)}return u}function CS(l,a,u){const o=Wb(l.schema,a);if(!(u==null||typeof u=="number"&&Number.isNaN(u))){if(Array.isArray(u)&&(u=o.commaSeparated?Yb(u):lS(u)),o.property==="style"){let s=typeof u=="object"?u:_S(l,String(u));return l.stylePropertyNameCase==="css"&&(s=OS(s)),["style",s]}return[l.elementAttributeNameCase==="react"&&o.space?Ib[o.property]||o.property:o.attribute,u]}}function _S(l,a){try{return cS(a,{reactCompat:!0})}catch(u){if(l.ignoreInvalidStyle)return{};const o=u,s=new _e("Cannot parse `style` attribute",{ancestors:l.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=l.filePath||void 0,s.url=wy+"#cannot-parse-style-attribute",s}}function ky(l,a,u){let o;if(!u)o={type:"Literal",value:a};else if(a.includes(".")){const s=a.split(".");let f=-1,h;for(;++f<s.length;){const d=Ag(s[f])?{type:"Identifier",name:s[f]}:{type:"Literal",value:s[f]};h=h?{type:"MemberExpression",object:h,property:d,computed:!!(f&&d.type==="Literal"),optional:!1}:d}o=h}else o=Ag(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(o.type==="Literal"){const s=o.value;return zf.call(l.components,s)?l.components[s]:s}if(l.evaluater)return l.evaluater.evaluateExpression(o);fu(l)}function fu(l,a){const u=new _e("Cannot handle MDX estrees without `createEvaluater`",{ancestors:l.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw u.file=l.filePath||void 0,u.url=wy+"#cannot-handle-mdx-estrees-without-createevaluater",u}function OS(l){const a={};let u;for(u in l)zf.call(l,u)&&(a[wS(u)]=l[u]);return a}function wS(l){let a=l.replace(hS,NS);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function NS(l){return"-"+l.toLowerCase()}const Gs={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},DS={};function _f(l,a){const u=DS,o=typeof u.includeImageAlt=="boolean"?u.includeImageAlt:!0,s=typeof u.includeHtml=="boolean"?u.includeHtml:!0;return My(l,o,s)}function My(l,a,u){if(kS(l)){if("value"in l)return l.type==="html"&&!u?"":l.value;if(a&&"alt"in l&&l.alt)return l.alt;if("children"in l)return Ug(l.children,a,u)}return Array.isArray(l)?Ug(l,a,u):""}function Ug(l,a,u){const o=[];let s=-1;for(;++s<l.length;)o[s]=My(l[s],a,u);return o.join("")}function kS(l){return!!(l&&typeof l=="object")}const jg=document.createElement("i");function Of(l){const a="&"+l+";";jg.innerHTML=a;const u=jg.textContent;return u.charCodeAt(u.length-1)===59&&l!=="semi"||u===a?!1:u}function En(l,a,u,o){const s=l.length;let f=0,h;if(a<0?a=-a>s?0:s+a:a=a>s?s:a,u=u>0?u:0,o.length<1e4)h=Array.from(o),h.unshift(a,u),l.splice(...h);else for(u&&l.splice(a,u);f<o.length;)h=o.slice(f,f+1e4),h.unshift(a,0),l.splice(...h),f+=1e4,a+=1e4}function dn(l,a){return l.length>0?(En(l,l.length,0,a),l):a}const Lg={}.hasOwnProperty;function Ry(l){const a={};let u=-1;for(;++u<l.length;)MS(a,l[u]);return a}function MS(l,a){let u;for(u in a){const s=(Lg.call(l,u)?l[u]:void 0)||(l[u]={}),f=a[u];let h;if(f)for(h in f){Lg.call(s,h)||(s[h]=[]);const d=f[h];RS(s[h],Array.isArray(d)?d:d?[d]:[])}}}function RS(l,a){let u=-1;const o=[];for(;++u<a.length;)(a[u].add==="after"?l:o).push(a[u]);En(l,0,0,o)}function Uy(l,a){const u=Number.parseInt(l,a);return u<9||u===11||u>13&&u<32||u>126&&u<160||u>55295&&u<57344||u>64975&&u<65008||(u&65535)===65535||(u&65535)===65534||u>1114111?"�":String.fromCodePoint(u)}function Tn(l){return l.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Me=Rl(/[A-Za-z]/),Ce=Rl(/[\dA-Za-z]/),US=Rl(/[#-'*+\--9=?A-Z^-~]/);function $r(l){return l!==null&&(l<32||l===127)}const ff=Rl(/\d/),jS=Rl(/[\dA-Fa-f]/),LS=Rl(/[!-/:-@[-`{-~]/);function dt(l){return l!==null&&l<-2}function Kt(l){return l!==null&&(l<0||l===32)}function At(l){return l===-2||l===-1||l===32}const no=Rl(new RegExp("\\p{P}|\\p{S}","u")),oi=Rl(/\s/);function Rl(l){return a;function a(u){return u!==null&&u>-1&&l.test(String.fromCharCode(u))}}function aa(l){const a=[];let u=-1,o=0,s=0;for(;++u<l.length;){const f=l.charCodeAt(u);let h="";if(f===37&&Ce(l.charCodeAt(u+1))&&Ce(l.charCodeAt(u+2)))s=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(h=String.fromCharCode(f));else if(f>55295&&f<57344){const d=l.charCodeAt(u+1);f<56320&&d>56319&&d<57344?(h=String.fromCharCode(f,d),s=1):h="�"}else h=String.fromCharCode(f);h&&(a.push(l.slice(o,u),encodeURIComponent(h)),o=u+s+1,h=""),s&&(u+=s,s=0)}return a.join("")+l.slice(o)}function Ut(l,a,u,o){const s=o?o-1:1/0;let f=0;return h;function h(v){return At(v)?(l.enter(u),d(v)):a(v)}function d(v){return At(v)&&f++<s?(l.consume(v),d):(l.exit(u),a(v))}}function jy(l,a,u,o,s,f){let h=0;return d;function d(y){return At(y)?(l.enter(o),v(y)):g(y)}function v(y){return At(y)&&h<f?(l.consume(y),h++,v):(l.exit(o),g(y))}function g(y){return h>=s?a(y):u(y)}}const BS={tokenize:HS};function HS(l){const a=l.attempt(this.parser.constructs.contentInitial,o,s);let u;return a;function o(d){if(d===null){l.consume(d);return}return l.enter("lineEnding"),l.consume(d),l.exit("lineEnding"),Ut(l,a,"linePrefix")}function s(d){return l.enter("paragraph"),f(d)}function f(d){const v=l.enter("chunkText",{contentType:"text",previous:u});return u&&(u.next=v),u=v,h(d)}function h(d){if(d===null){l.exit("chunkText"),l.exit("paragraph"),l.consume(d);return}return dt(d)?(l.consume(d),l.exit("chunkText"),f):(l.consume(d),h)}}let Pr=class{constructor(){this.index=new Map,this.map=[]}add(a,u,o){Bg(this,a,u,o,!1)}addBefore(a,u,o){Bg(this,a,u,o,!0)}consume(a){if(this.map.sort(function(f,h){return f[0]-h[0]}),this.map.length===0)return;let u=this.map.length;const o=[];for(;u>0;)u-=1,o.push(a.slice(this.map[u][0]+this.map[u][1]),this.map[u][2]),a.length=this.map[u][0];o.push(a.slice()),a.length=0;let s=o.pop();for(;s;){for(const f of s)a.push(f);s=o.pop()}this.map.length=0,this.index.clear()}};function Bg(l,a,u,o,s){if(u===0&&o.length===0)return;const f=l.index.get(a);if(f){f[1]+=u,s?(o.push(...f[2]),f[2]=o):f[2].push(...o);return}const h=[a,u,o];l.map.push(h),l.index.set(a,h)}const qS={tokenize:YS},Hg={tokenize:VS};function YS(l){const a=this,u=[];let o=0,s,f,h;return d;function d(Q){if(o<u.length){const st=u[o];return a.containerState=st[1],l.attempt(st[0].continuation,v,g)(Q)}return g(Q)}function v(Q){if(o++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,s&&G();const st=a.events.length;let rt=st,H;for(;rt--;)if(a.events[rt][0]==="exit"&&a.events[rt][1].type==="chunkFlow"){H=a.events[rt][1].end;break}M(o);let F=st;for(;F<a.events.length;)a.events[F][1].end={...H},F++;const tt=new Pr;return tt.add(rt+1,0,a.events.slice(st)),tt.add(st,F-st,[]),tt.consume(a.events),g(Q)}return d(Q)}function g(Q){if(o===u.length){if(!s)return x(Q);if(s.currentConstruct&&s.currentConstruct.concrete)return z(Q);a.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return a.containerState={},l.check(Hg,y,p)(Q)}function y(Q){return s&&G(),M(o),x(Q)}function p(Q){return a.parser.lazy[a.now().line]=o!==u.length,h=a.now().offset,z(Q)}function x(Q){return a.containerState={},l.attempt(Hg,b,z)(Q)}function b(Q){return o++,u.push([a.currentConstruct,a.containerState]),x(Q)}function z(Q){if(Q===null){s&&G(),M(0),l.consume(Q);return}return s=s||a.parser.flow(a.now()),l.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:f}),U(Q)}function U(Q){if(Q===null){B(l.exit("chunkFlow"),!0),M(0),l.consume(Q);return}return dt(Q)?(l.consume(Q),B(l.exit("chunkFlow")),o=0,a.interrupt=void 0,d):(l.consume(Q),U)}function B(Q,st){const rt=a.sliceStream(Q);if(st&&rt.push(null),Q.previous=f,f&&(f.next=Q),f=Q,s.defineSkip(Q.start),s.write(rt),a.parser.lazy[Q.start.line]){let H=s.events.length;for(;H--;)if(s.events[H][1].start.offset<h&&(!s.events[H][1].end||s.events[H][1].end.offset>h))return;const F=a.events.length;let tt=F,kt,j;for(;tt--;)if(a.events[tt][0]==="exit"&&a.events[tt][1].type==="chunkFlow"){if(kt){j=a.events[tt][1].end;break}kt=!0}for(M(o),H=F;H<a.events.length;)a.events[H][1].end={...j},H++;const $=new Pr;$.add(tt+1,0,a.events.slice(F)),$.add(F,H-F,[]),$.consume(a.events)}}function M(Q){let st=u.length;for(;st-- >Q;){const rt=u[st];a.containerState=rt[1],rt[0].exit.call(a,l)}u.length=Q}function G(){s.write([null]),f=void 0,s=void 0,a.containerState._closeFlow=void 0}}function VS(l,a,u){return Ut(l,l.attempt(this.parser.constructs.document,a,u),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Wr(l){if(l===null||Kt(l)||oi(l))return 1;if(no(l))return 2}function lo(l,a,u){const o=[];let s=-1;for(;++s<l.length;){const f=l[s].resolveAll;f&&!o.includes(f)&&(a=f(a,u),o.push(f))}return a}const hf={name:"attention",resolveAll:GS,tokenize:XS};function GS(l,a){let u=-1,o;for(;++u<l.length;)if(l[u][0]==="enter"&&l[u][1].type==="attentionSequence"&&l[u][1]._close){let s=u;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="attentionSequence"&&l[s][1]._open&&a.sliceSerialize(l[s][1]).charCodeAt(0)===a.sliceSerialize(l[u][1]).charCodeAt(0)){if((l[s][1]._close||l[u][1]._open)&&(l[u][1].end.offset-l[u][1].start.offset)%3&&!((l[s][1].end.offset-l[s][1].start.offset+l[u][1].end.offset-l[u][1].start.offset)%3))continue;const f=l[s][1].end.offset-l[s][1].start.offset>1&&l[u][1].end.offset-l[u][1].start.offset>1?2:1,h={...l[s][1].end},d={...l[u][1].start};qg(h,-f),qg(d,f);const v={type:f>1?"strongSequence":"emphasisSequence",start:h,end:{...l[s][1].end}},g={type:f>1?"strongSequence":"emphasisSequence",start:{...l[u][1].start},end:d},y={type:f>1?"strongText":"emphasisText",start:{...l[s][1].end},end:{...l[u][1].start}},p={type:f>1?"strong":"emphasis",start:{...v.start},end:{...g.end}};l[s][1].end={...v.start},l[u][1].start={...g.end},o=[],l[s][1].end.offset-l[s][1].start.offset&&(o=dn(o,[["enter",l[s][1],a],["exit",l[s][1],a]])),o=dn(o,[["enter",p,a],["enter",v,a],["exit",v,a],["enter",y,a]]),o=dn(o,lo(a.parser.constructs.insideSpan.null,l.slice(s+1,u),a)),o=dn(o,[["exit",y,a],["enter",g,a],["exit",g,a],["exit",p,a]]);let x=0;l[u][1].end.offset-l[u][1].start.offset&&(x=2,o=dn(o,[["enter",l[u][1],a],["exit",l[u][1],a]])),En(l,s-1,u-s+3,o),u=s+o.length-x-2;break}}for(u=-1;++u<l.length;)l[u][1].type==="attentionSequence"&&(l[u][1].type="data");return l}function XS(l,a){const u=this.parser.constructs.attentionMarkers.null,o=this.previous,s=Wr(o);let f;return h;function h(v){return f=v,l.enter("attentionSequence"),d(v)}function d(v){if(v===f)return l.consume(v),d;const g=l.exit("attentionSequence"),y=Wr(v),p=!y||y===2&&s||u.includes(v)&&v!==42&&v!==95,x=!s||s===2&&y||u.includes(o)&&o!==42&&o!==95;return g._open=!!(f===42?p:p&&(s||!x)),g._close=!!(f===42?x:x&&(y||!p)),a(v)}}function qg(l,a){l.column+=a,l.offset+=a,l._bufferIndex+=a}const QS={name:"autolink",tokenize:ZS};function ZS(l,a,u){let o=0;return s;function s(b){return l.enter("autolink"),l.enter("autolinkMarker"),l.consume(b),l.exit("autolinkMarker"),l.enter("autolinkProtocol"),f}function f(b){return Me(b)?(l.consume(b),h):b===64?u(b):g(b)}function h(b){return b===43||b===45||b===46||Ce(b)?(o=1,d(b)):g(b)}function d(b){return b===58?(l.consume(b),o=0,v):(b===43||b===45||b===46||Ce(b))&&o++<32?(l.consume(b),d):(o=0,g(b))}function v(b){return b===62?(l.exit("autolinkProtocol"),l.enter("autolinkMarker"),l.consume(b),l.exit("autolinkMarker"),l.exit("autolink"),a):b===null||b===32||b===60||$r(b)?u(b):(l.consume(b),v)}function g(b){return b===64?(l.consume(b),y):US(b)?(l.consume(b),g):u(b)}function y(b){return Ce(b)?p(b):u(b)}function p(b){return b===46?(l.consume(b),o=0,y):b===62?(l.exit("autolinkProtocol").type="autolinkEmail",l.enter("autolinkMarker"),l.consume(b),l.exit("autolinkMarker"),l.exit("autolink"),a):x(b)}function x(b){if((b===45||Ce(b))&&o++<63){const z=b===45?x:p;return l.consume(b),z}return u(b)}}const du={partial:!0,tokenize:KS};function KS(l,a,u){return o;function o(f){return At(f)?Ut(l,s,"linePrefix")(f):s(f)}function s(f){return f===null||dt(f)?a(f):u(f)}}const Ly={continuation:{tokenize:FS},exit:IS,name:"blockQuote",tokenize:JS};function JS(l,a,u){const o=this;return s;function s(h){if(h===62){const d=o.containerState;return d.open||(l.enter("blockQuote",{_container:!0}),d.open=!0),l.enter("blockQuotePrefix"),l.enter("blockQuoteMarker"),l.consume(h),l.exit("blockQuoteMarker"),f}return u(h)}function f(h){return At(h)?(l.enter("blockQuotePrefixWhitespace"),l.consume(h),l.exit("blockQuotePrefixWhitespace"),l.exit("blockQuotePrefix"),a):(l.exit("blockQuotePrefix"),a(h))}}function FS(l,a,u){const o=this;return s;function s(h){return At(h)?Ut(l,f,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):f(h)}function f(h){return l.attempt(Ly,a,u)(h)}}function IS(l){l.exit("blockQuote")}const By={name:"characterEscape",tokenize:$S};function $S(l,a,u){return o;function o(f){return l.enter("characterEscape"),l.enter("escapeMarker"),l.consume(f),l.exit("escapeMarker"),s}function s(f){return LS(f)?(l.enter("characterEscapeValue"),l.consume(f),l.exit("characterEscapeValue"),l.exit("characterEscape"),a):u(f)}}const Hy={name:"characterReference",tokenize:PS};function PS(l,a,u){const o=this;let s=0,f,h;return d;function d(p){return l.enter("characterReference"),l.enter("characterReferenceMarker"),l.consume(p),l.exit("characterReferenceMarker"),v}function v(p){return p===35?(l.enter("characterReferenceMarkerNumeric"),l.consume(p),l.exit("characterReferenceMarkerNumeric"),g):(l.enter("characterReferenceValue"),f=31,h=Ce,y(p))}function g(p){return p===88||p===120?(l.enter("characterReferenceMarkerHexadecimal"),l.consume(p),l.exit("characterReferenceMarkerHexadecimal"),l.enter("characterReferenceValue"),f=6,h=jS,y):(l.enter("characterReferenceValue"),f=7,h=ff,y(p))}function y(p){if(p===59&&s){const x=l.exit("characterReferenceValue");return h===Ce&&!Of(o.sliceSerialize(x))?u(p):(l.enter("characterReferenceMarker"),l.consume(p),l.exit("characterReferenceMarker"),l.exit("characterReference"),a)}return h(p)&&s++<f?(l.consume(p),y):u(p)}}const df={partial:!0,tokenize:WS};function WS(l,a,u){const o=this;return s;function s(h){return h===null?u(h):(l.enter("lineEnding"),l.consume(h),l.exit("lineEnding"),f)}function f(h){return o.parser.lazy[o.now().line]?u(h):a(h)}}const Yg={concrete:!0,name:"codeFenced",tokenize:tx};function tx(l,a,u){const o=this,s={partial:!0,tokenize:rt};let f=0,h=0,d;return v;function v(H){return g(H)}function g(H){const F=o.events[o.events.length-1];return f=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[1],!0).length:0,d=H,l.enter("codeFenced"),l.enter("codeFencedFence"),l.enter("codeFencedFenceSequence"),y(H)}function y(H){return H===d?(h++,l.consume(H),y):h<3?u(H):(l.exit("codeFencedFenceSequence"),At(H)?Ut(l,p,"whitespace")(H):p(H))}function p(H){return H===null||dt(H)?(l.exit("codeFencedFence"),o.interrupt?a(H):l.check(df,U,st)(H)):(l.enter("codeFencedFenceInfo"),l.enter("chunkString",{contentType:"string"}),x(H))}function x(H){return H===null||dt(H)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),p(H)):At(H)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),Ut(l,b,"whitespace")(H)):H===96&&H===d?u(H):(l.consume(H),x)}function b(H){return H===null||dt(H)?p(H):(l.enter("codeFencedFenceMeta"),l.enter("chunkString",{contentType:"string"}),z(H))}function z(H){return H===null||dt(H)?(l.exit("chunkString"),l.exit("codeFencedFenceMeta"),p(H)):H===96&&H===d?u(H):(l.consume(H),z)}function U(H){return l.attempt(s,st,B)(H)}function B(H){return l.enter("lineEnding"),l.consume(H),l.exit("lineEnding"),M}function M(H){return f>0&&At(H)?Ut(l,G,"linePrefix",f+1)(H):G(H)}function G(H){return H===null||dt(H)?l.check(df,U,st)(H):(l.enter("codeFlowValue"),Q(H))}function Q(H){return H===null||dt(H)?(l.exit("codeFlowValue"),G(H)):(l.consume(H),Q)}function st(H){return l.exit("codeFenced"),a(H)}function rt(H,F,tt){let kt=0;return j;function j(J){return H.enter("lineEnding"),H.consume(J),H.exit("lineEnding"),$}function $(J){return H.enter("codeFencedFence"),At(J)?Ut(H,lt,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):lt(J)}function lt(J){return J===d?(H.enter("codeFencedFenceSequence"),Et(J)):tt(J)}function Et(J){return J===d?(kt++,H.consume(J),Et):kt>=h?(H.exit("codeFencedFenceSequence"),At(J)?Ut(H,ot,"whitespace")(J):ot(J)):tt(J)}function ot(J){return J===null||dt(J)?(H.exit("codeFencedFence"),F(J)):tt(J)}}}const Xs={name:"codeIndented",tokenize:nx},ex={partial:!0,tokenize:lx};function nx(l,a,u){return o;function o(d){return l.enter("codeIndented"),jy(l,s,u,"linePrefix",4,4)(d)}function s(d){return d===null?h(d):dt(d)?l.attempt(ex,s,h)(d):(l.enter("codeFlowValue"),f(d))}function f(d){return d===null||dt(d)?(l.exit("codeFlowValue"),s(d)):(l.consume(d),f)}function h(d){return l.exit("codeIndented"),a(d)}}function lx(l,a,u){const o=this;return s;function s(h){return o.parser.lazy[o.now().line]?u(h):dt(h)?(l.enter("lineEnding"),l.consume(h),l.exit("lineEnding"),s):jy(l,a,f,"linePrefix",4,4)(h)}function f(h){return dt(h)?s(h):u(h)}}const ix={name:"codeText",previous:ux,resolve:ax,tokenize:rx};function ax(l){let a=l.length-4,u=3,o,s;if((l[u][1].type==="lineEnding"||l[u][1].type==="space")&&(l[a][1].type==="lineEnding"||l[a][1].type==="space")){for(o=u;++o<a;)if(l[o][1].type==="codeTextData"){l[u][1].type="codeTextPadding",l[a][1].type="codeTextPadding",u+=2,a-=2;break}}for(o=u-1,a++;++o<=a;)s===void 0?o!==a&&l[o][1].type!=="lineEnding"&&(s=o):(o===a||l[o][1].type==="lineEnding")&&(l[s][1].type="codeTextData",o!==s+2&&(l[s][1].end=l[o-1][1].end,l.splice(s+2,o-s-2),a-=o-s-2,o=s+2),s=void 0);return l}function ux(l){return l!==96||this.events[this.events.length-1][1].type==="characterEscape"}function rx(l,a,u){let o=0,s,f;return h;function h(p){return l.enter("codeText"),l.enter("codeTextSequence"),d(p)}function d(p){return p===96?(l.consume(p),o++,d):(l.exit("codeTextSequence"),v(p))}function v(p){return p===null?u(p):p===32?(l.enter("space"),l.consume(p),l.exit("space"),v):p===96?(f=l.enter("codeTextSequence"),s=0,y(p)):dt(p)?(l.enter("lineEnding"),l.consume(p),l.exit("lineEnding"),v):(l.enter("codeTextData"),g(p))}function g(p){return p===null||p===32||p===96||dt(p)?(l.exit("codeTextData"),v(p)):(l.consume(p),g)}function y(p){return p===96?(l.consume(p),s++,y):s===o?(l.exit("codeTextSequence"),l.exit("codeText"),a(p)):(f.type="codeTextData",g(p))}}class ox{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,u){const o=u??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(a,o):a>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(a,u,o){const s=u||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return o&&au(this.left,o),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),au(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),au(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const u=this.left.splice(a,Number.POSITIVE_INFINITY);au(this.right,u.reverse())}else{const u=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);au(this.left,u.reverse())}}}function au(l,a){let u=0;if(a.length<1e4)l.push(...a);else for(;u<a.length;)l.push(...a.slice(u,u+1e4)),u+=1e4}function qy(l){const a={};let u=-1,o,s,f,h,d,v,g;const y=new ox(l);for(;++u<y.length;){for(;u in a;)u=a[u];if(o=y.get(u),u&&o[1].type==="chunkFlow"&&y.get(u-1)[1].type==="listItemPrefix"&&(v=o[1]._tokenizer.events,f=0,f<v.length&&v[f][1].type==="lineEndingBlank"&&(f+=2),f<v.length&&v[f][1].type==="content"))for(;++f<v.length&&v[f][1].type!=="content";)v[f][1].type==="chunkText"&&(v[f][1]._isInFirstContentOfListItem=!0,f++);if(o[0]==="enter")o[1].contentType&&(Object.assign(a,cx(y,u)),u=a[u],g=!0);else if(o[1]._container){for(f=u,s=void 0;f--;)if(h=y.get(f),h[1].type==="lineEnding"||h[1].type==="lineEndingBlank")h[0]==="enter"&&(s&&(y.get(s)[1].type="lineEndingBlank"),h[1].type="lineEnding",s=f);else if(!(h[1].type==="linePrefix"||h[1].type==="listItemIndent"))break;s&&(o[1].end={...y.get(s)[1].start},d=y.slice(s,u),d.unshift(o),y.splice(s,u-s+1,d))}}return En(l,0,Number.POSITIVE_INFINITY,y.slice(0)),!g}function cx(l,a){const u=l.get(a)[1],o=l.get(a)[2];let s=a-1;const f=[];let h=u._tokenizer;h||(h=o.parser[u.contentType](u.start),u._contentTypeTextTrailing&&(h._contentTypeTextTrailing=!0));const d=h.events,v=[],g={};let y,p,x=-1,b=u,z=0,U=0;const B=[U];for(;b;){for(;l.get(++s)[1]!==b;);f.push(s),b._tokenizer||(y=o.sliceStream(b),b.next||y.push(null),p&&h.defineSkip(b.start),b._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=!0),h.write(y),b._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=void 0)),p=b,b=b.next}for(b=u;++x<d.length;)d[x][0]==="exit"&&d[x-1][0]==="enter"&&d[x][1].type===d[x-1][1].type&&d[x][1].start.line!==d[x][1].end.line&&(U=x+1,B.push(U),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(h.events=[],b?(b._tokenizer=void 0,b.previous=void 0):B.pop(),x=B.length;x--;){const M=d.slice(B[x],B[x+1]),G=f.pop();v.push([G,G+M.length-1]),l.splice(G,2,M)}for(v.reverse(),x=-1;++x<v.length;)g[z+v[x][0]]=z+v[x][1],z+=v[x][1]-v[x][0]-1;return g}const sx={resolve:hx,tokenize:dx},fx={partial:!0,tokenize:mx};function hx(l){return qy(l),l}function dx(l,a){let u;return o;function o(d){return l.enter("content"),u=l.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?f(d):dt(d)?l.check(fx,h,f)(d):(l.consume(d),s)}function f(d){return l.exit("chunkContent"),l.exit("content"),a(d)}function h(d){return l.consume(d),l.exit("chunkContent"),u.next=l.enter("chunkContent",{contentType:"content",previous:u}),u=u.next,s}}function mx(l,a,u){const o=this;return s;function s(h){return l.exit("chunkContent"),l.enter("lineEnding"),l.consume(h),l.exit("lineEnding"),Ut(l,f,"linePrefix")}function f(h){if(h===null||dt(h))return u(h);const d=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(h):l.interrupt(o.parser.constructs.flow,u,a)(h)}}function Yy(l,a,u,o,s,f,h,d,v){const g=v||Number.POSITIVE_INFINITY;let y=0;return p;function p(M){return M===60?(l.enter(o),l.enter(s),l.enter(f),l.consume(M),l.exit(f),x):M===null||M===32||M===41||$r(M)?u(M):(l.enter(o),l.enter(h),l.enter(d),l.enter("chunkString",{contentType:"string"}),U(M))}function x(M){return M===62?(l.enter(f),l.consume(M),l.exit(f),l.exit(s),l.exit(o),a):(l.enter(d),l.enter("chunkString",{contentType:"string"}),b(M))}function b(M){return M===62?(l.exit("chunkString"),l.exit(d),x(M)):M===null||M===60||dt(M)?u(M):(l.consume(M),M===92?z:b)}function z(M){return M===60||M===62||M===92?(l.consume(M),b):b(M)}function U(M){return!y&&(M===null||M===41||Kt(M))?(l.exit("chunkString"),l.exit(d),l.exit(h),l.exit(o),a(M)):y<g&&M===40?(l.consume(M),y++,U):M===41?(l.consume(M),y--,U):M===null||M===32||M===40||$r(M)?u(M):(l.consume(M),M===92?B:U)}function B(M){return M===40||M===41||M===92?(l.consume(M),U):U(M)}}function Vy(l,a,u,o,s,f){const h=this;let d=0,v;return g;function g(b){return l.enter(o),l.enter(s),l.consume(b),l.exit(s),l.enter(f),y}function y(b){return d>999||b===null||b===91||b===93&&!v||b===94&&!d&&"_hiddenFootnoteSupport"in h.parser.constructs?u(b):b===93?(l.exit(f),l.enter(s),l.consume(b),l.exit(s),l.exit(o),a):dt(b)?(l.enter("lineEnding"),l.consume(b),l.exit("lineEnding"),y):(l.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||b===91||b===93||dt(b)||d++>999?(l.exit("chunkString"),y(b)):(l.consume(b),v||(v=!At(b)),b===92?x:p)}function x(b){return b===91||b===92||b===93?(l.consume(b),d++,p):p(b)}}function Gy(l,a,u,o,s,f){let h;return d;function d(x){return x===34||x===39||x===40?(l.enter(o),l.enter(s),l.consume(x),l.exit(s),h=x===40?41:x,v):u(x)}function v(x){return x===h?(l.enter(s),l.consume(x),l.exit(s),l.exit(o),a):(l.enter(f),g(x))}function g(x){return x===h?(l.exit(f),v(h)):x===null?u(x):dt(x)?(l.enter("lineEnding"),l.consume(x),l.exit("lineEnding"),Ut(l,g,"linePrefix")):(l.enter("chunkString",{contentType:"string"}),y(x))}function y(x){return x===h||x===null||dt(x)?(l.exit("chunkString"),g(x)):(l.consume(x),x===92?p:y)}function p(x){return x===h||x===92?(l.consume(x),y):y(x)}}function cu(l,a){let u;return o;function o(s){return dt(s)?(l.enter("lineEnding"),l.consume(s),l.exit("lineEnding"),u=!0,o):At(s)?Ut(l,o,u?"linePrefix":"lineSuffix")(s):a(s)}}const px={name:"definition",tokenize:yx},gx={partial:!0,tokenize:vx};function yx(l,a,u){const o=this;let s;return f;function f(b){return l.enter("definition"),h(b)}function h(b){return Vy.call(o,l,d,u,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function d(b){return s=Tn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),b===58?(l.enter("definitionMarker"),l.consume(b),l.exit("definitionMarker"),v):u(b)}function v(b){return Kt(b)?cu(l,g)(b):g(b)}function g(b){return Yy(l,y,u,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function y(b){return l.attempt(gx,p,p)(b)}function p(b){return At(b)?Ut(l,x,"whitespace")(b):x(b)}function x(b){return b===null||dt(b)?(l.exit("definition"),o.parser.defined.push(s),a(b)):u(b)}}function vx(l,a,u){return o;function o(d){return Kt(d)?cu(l,s)(d):u(d)}function s(d){return Gy(l,f,u,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function f(d){return At(d)?Ut(l,h,"whitespace")(d):h(d)}function h(d){return d===null||dt(d)?a(d):u(d)}}const bx={name:"hardBreakEscape",tokenize:Sx};function Sx(l,a,u){return o;function o(f){return l.enter("hardBreakEscape"),l.consume(f),s}function s(f){return dt(f)?(l.exit("hardBreakEscape"),a(f)):u(f)}}const xx={name:"headingAtx",resolve:Ex,tokenize:Tx};function Ex(l,a){let u=l.length-2,o=3;if(l[o][1].type==="whitespace"&&(o+=2),u-2>o&&l[u][1].type==="whitespace"&&(u-=2),l[u][1].type==="atxHeadingSequence"&&(o===u-1||u-4>o&&l[u-2][1].type==="whitespace")&&(u-=o+1===u?2:4),u>o){const s={type:"atxHeadingText",start:l[o][1].start,end:l[u][1].end},f={type:"chunkText",start:l[o][1].start,end:l[u][1].end,contentType:"text"};En(l,o,u-o+1,[["enter",s,a],["enter",f,a],["exit",f,a],["exit",s,a]])}return l}function Tx(l,a,u){let o=0;return s;function s(y){return l.enter("atxHeading"),f(y)}function f(y){return l.enter("atxHeadingSequence"),h(y)}function h(y){return y===35&&o++<6?(l.consume(y),h):y===null||Kt(y)?(l.exit("atxHeadingSequence"),d(y)):u(y)}function d(y){return y===35?(l.enter("atxHeadingSequence"),v(y)):y===null||dt(y)?(l.exit("atxHeading"),a(y)):At(y)?Ut(l,d,"whitespace")(y):(l.enter("atxHeadingText"),g(y))}function v(y){return y===35?(l.consume(y),v):(l.exit("atxHeadingSequence"),d(y))}function g(y){return y===null||y===35||Kt(y)?(l.exit("atxHeadingText"),d(y)):(l.consume(y),g)}}const zx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Vg=["pre","script","style","textarea"],Ax={concrete:!0,name:"htmlFlow",resolveTo:_x,tokenize:Ox},Cx={partial:!0,tokenize:wx};function _x(l){let a=l.length;for(;a--&&!(l[a][0]==="enter"&&l[a][1].type==="htmlFlow"););return a>1&&l[a-2][1].type==="linePrefix"&&(l[a][1].start=l[a-2][1].start,l[a+1][1].start=l[a-2][1].start,l.splice(a-2,2)),l}function Ox(l,a,u){const o=this;let s,f,h,d,v;return g;function g(C){return y(C)}function y(C){return l.enter("htmlFlow"),l.enter("htmlFlowData"),l.consume(C),p}function p(C){return C===33?(l.consume(C),x):C===47?(l.consume(C),f=!0,U):C===63?(l.consume(C),s=3,o.interrupt?a:T):Me(C)?(l.consume(C),h=String.fromCharCode(C),B):u(C)}function x(C){return C===45?(l.consume(C),s=2,b):C===91?(l.consume(C),s=5,d=0,z):Me(C)?(l.consume(C),s=4,o.interrupt?a:T):u(C)}function b(C){return C===45?(l.consume(C),o.interrupt?a:T):u(C)}function z(C){const _="CDATA[";return C===_.charCodeAt(d++)?(l.consume(C),d===_.length?o.interrupt?a:lt:z):u(C)}function U(C){return Me(C)?(l.consume(C),h=String.fromCharCode(C),B):u(C)}function B(C){if(C===null||C===47||C===62||Kt(C)){const _=C===47,X=h.toLowerCase();return!_&&!f&&Vg.includes(X)?(s=1,o.interrupt?a(C):lt(C)):zx.includes(h.toLowerCase())?(s=6,_?(l.consume(C),M):o.interrupt?a(C):lt(C)):(s=7,o.interrupt&&!o.parser.lazy[o.now().line]?u(C):f?G(C):Q(C))}return C===45||Ce(C)?(l.consume(C),h+=String.fromCharCode(C),B):u(C)}function M(C){return C===62?(l.consume(C),o.interrupt?a:lt):u(C)}function G(C){return At(C)?(l.consume(C),G):j(C)}function Q(C){return C===47?(l.consume(C),j):C===58||C===95||Me(C)?(l.consume(C),st):At(C)?(l.consume(C),Q):j(C)}function st(C){return C===45||C===46||C===58||C===95||Ce(C)?(l.consume(C),st):rt(C)}function rt(C){return C===61?(l.consume(C),H):At(C)?(l.consume(C),rt):Q(C)}function H(C){return C===null||C===60||C===61||C===62||C===96?u(C):C===34||C===39?(l.consume(C),v=C,F):At(C)?(l.consume(C),H):tt(C)}function F(C){return C===v?(l.consume(C),v=null,kt):C===null||dt(C)?u(C):(l.consume(C),F)}function tt(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||Kt(C)?rt(C):(l.consume(C),tt)}function kt(C){return C===47||C===62||At(C)?Q(C):u(C)}function j(C){return C===62?(l.consume(C),$):u(C)}function $(C){return C===null||dt(C)?lt(C):At(C)?(l.consume(C),$):u(C)}function lt(C){return C===45&&s===2?(l.consume(C),Z):C===60&&s===1?(l.consume(C),et):C===62&&s===4?(l.consume(C),$t):C===63&&s===3?(l.consume(C),T):C===93&&s===5?(l.consume(C),_t):dt(C)&&(s===6||s===7)?(l.exit("htmlFlowData"),l.check(Cx,oe,Et)(C)):C===null||dt(C)?(l.exit("htmlFlowData"),Et(C)):(l.consume(C),lt)}function Et(C){return l.check(df,ot,oe)(C)}function ot(C){return l.enter("lineEnding"),l.consume(C),l.exit("lineEnding"),J}function J(C){return C===null||dt(C)?Et(C):(l.enter("htmlFlowData"),lt(C))}function Z(C){return C===45?(l.consume(C),T):lt(C)}function et(C){return C===47?(l.consume(C),h="",ct):lt(C)}function ct(C){if(C===62){const _=h.toLowerCase();return Vg.includes(_)?(l.consume(C),$t):lt(C)}return Me(C)&&h.length<8?(l.consume(C),h+=String.fromCharCode(C),ct):lt(C)}function _t(C){return C===93?(l.consume(C),T):lt(C)}function T(C){return C===62?(l.consume(C),$t):C===45&&s===2?(l.consume(C),T):lt(C)}function $t(C){return C===null||dt(C)?(l.exit("htmlFlowData"),oe(C)):(l.consume(C),$t)}function oe(C){return l.exit("htmlFlow"),a(C)}}function wx(l,a,u){return o;function o(s){return l.enter("lineEnding"),l.consume(s),l.exit("lineEnding"),l.attempt(du,a,u)}}const Nx={name:"htmlText",tokenize:Dx};function Dx(l,a,u){const o=this;let s,f,h;return d;function d(T){return l.enter("htmlText"),l.enter("htmlTextData"),l.consume(T),v}function v(T){return T===33?(l.consume(T),g):T===47?(l.consume(T),rt):T===63?(l.consume(T),Q):Me(T)?(l.consume(T),tt):u(T)}function g(T){return T===45?(l.consume(T),y):T===91?(l.consume(T),f=0,z):Me(T)?(l.consume(T),G):u(T)}function y(T){return T===45?(l.consume(T),b):u(T)}function p(T){return T===null?u(T):T===45?(l.consume(T),x):dt(T)?(h=p,et(T)):(l.consume(T),p)}function x(T){return T===45?(l.consume(T),b):p(T)}function b(T){return T===62?Z(T):T===45?x(T):p(T)}function z(T){const $t="CDATA[";return T===$t.charCodeAt(f++)?(l.consume(T),f===$t.length?U:z):u(T)}function U(T){return T===null?u(T):T===93?(l.consume(T),B):dt(T)?(h=U,et(T)):(l.consume(T),U)}function B(T){return T===93?(l.consume(T),M):U(T)}function M(T){return T===62?Z(T):T===93?(l.consume(T),M):U(T)}function G(T){return T===null||T===62?Z(T):dt(T)?(h=G,et(T)):(l.consume(T),G)}function Q(T){return T===null?u(T):T===63?(l.consume(T),st):dt(T)?(h=Q,et(T)):(l.consume(T),Q)}function st(T){return T===62?Z(T):Q(T)}function rt(T){return Me(T)?(l.consume(T),H):u(T)}function H(T){return T===45||Ce(T)?(l.consume(T),H):F(T)}function F(T){return dt(T)?(h=F,et(T)):At(T)?(l.consume(T),F):Z(T)}function tt(T){return T===45||Ce(T)?(l.consume(T),tt):T===47||T===62||Kt(T)?kt(T):u(T)}function kt(T){return T===47?(l.consume(T),Z):T===58||T===95||Me(T)?(l.consume(T),j):dt(T)?(h=kt,et(T)):At(T)?(l.consume(T),kt):Z(T)}function j(T){return T===45||T===46||T===58||T===95||Ce(T)?(l.consume(T),j):$(T)}function $(T){return T===61?(l.consume(T),lt):dt(T)?(h=$,et(T)):At(T)?(l.consume(T),$):kt(T)}function lt(T){return T===null||T===60||T===61||T===62||T===96?u(T):T===34||T===39?(l.consume(T),s=T,Et):dt(T)?(h=lt,et(T)):At(T)?(l.consume(T),lt):(l.consume(T),ot)}function Et(T){return T===s?(l.consume(T),s=void 0,J):T===null?u(T):dt(T)?(h=Et,et(T)):(l.consume(T),Et)}function ot(T){return T===null||T===34||T===39||T===60||T===61||T===96?u(T):T===47||T===62||Kt(T)?kt(T):(l.consume(T),ot)}function J(T){return T===47||T===62||Kt(T)?kt(T):u(T)}function Z(T){return T===62?(l.consume(T),l.exit("htmlTextData"),l.exit("htmlText"),a):u(T)}function et(T){return l.exit("htmlTextData"),l.enter("lineEnding"),l.consume(T),l.exit("lineEnding"),ct}function ct(T){return At(T)?Ut(l,_t,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):_t(T)}function _t(T){return l.enter("htmlTextData"),h(T)}}const wf={name:"labelEnd",resolveAll:Ux,resolveTo:jx,tokenize:Lx},kx={tokenize:Bx},Mx={tokenize:Hx},Rx={tokenize:qx};function Ux(l){let a=-1;const u=[];for(;++a<l.length;){const o=l[a][1];if(u.push(l[a]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const s=o.type==="labelImage"?4:2;o.type="data",a+=s}}return l.length!==u.length&&En(l,0,l.length,u),l}function jx(l,a){let u=l.length,o=0,s,f,h;for(;u--;){const y=l[u][1];if(s){if(y.type==="link"||y.type==="labelLink"&&y._inactive)break;l[u][0]==="enter"&&y.type==="labelLink"&&(y._inactive=!0)}else if(f){if(l[u][0]==="enter"&&(y.type==="labelImage"||y.type==="labelLink")&&!y._balanced&&(s=u,y.type!=="labelLink")){o=2;break}}else y.type==="labelEnd"&&(f=u)}const d={type:l[s][1].type==="labelLink"?"link":"image",start:{...l[s][1].start},end:{...l[l.length-1][1].end}},v={type:"label",start:{...l[s][1].start},end:{...l[f][1].end}},g={type:"labelText",start:{...l[s+o+2][1].end},end:{...l[f-2][1].start}};return h=[["enter",d,a],["enter",v,a]],h=dn(h,l.slice(s+1,s+o+3)),h=dn(h,[["enter",g,a]]),h=dn(h,lo(a.parser.constructs.insideSpan.null,l.slice(s+o+4,f-3),a)),h=dn(h,[["exit",g,a],l[f-2],l[f-1],["exit",v,a]]),h=dn(h,l.slice(f+1)),h=dn(h,[["exit",d,a]]),En(l,s,l.length,h),l}function Lx(l,a,u){const o=this,s=o._labelStarts;let f,h;if(s){for(;s.length>0&&s[s.length-1]._balanced;)s.pop();f=s[s.length-1]}return d;function d(x){return f?f._inactive?p(x):(h=o.parser.defined.includes(Tn(o.sliceSerialize({start:f.end,end:o.now()}))),l.enter("labelEnd"),l.enter("labelMarker"),l.consume(x),l.exit("labelMarker"),l.exit("labelEnd"),v):u(x)}function v(x){return x===40?l.attempt(kx,y,h?y:p)(x):x===91?l.attempt(Mx,y,h?g:p)(x):h?y(x):p(x)}function g(x){return l.attempt(Rx,y,p)(x)}function y(x){return s.pop(),a(x)}function p(x){return f._balanced=!0,u(x)}}function Bx(l,a,u){return o;function o(p){return l.enter("resource"),l.enter("resourceMarker"),l.consume(p),l.exit("resourceMarker"),s}function s(p){return Kt(p)?cu(l,f)(p):f(p)}function f(p){return p===41?y(p):Yy(l,h,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function h(p){return Kt(p)?cu(l,v)(p):y(p)}function d(p){return u(p)}function v(p){return p===34||p===39||p===40?Gy(l,g,u,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):y(p)}function g(p){return Kt(p)?cu(l,y)(p):y(p)}function y(p){return p===41?(l.enter("resourceMarker"),l.consume(p),l.exit("resourceMarker"),l.exit("resource"),a):u(p)}}function Hx(l,a,u){const o=this;return s;function s(d){return Vy.call(o,l,f,h,"reference","referenceMarker","referenceString")(d)}function f(d){return o.parser.defined.includes(Tn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?a(d):u(d)}function h(d){return u(d)}}function qx(l,a,u){return o;function o(f){return l.enter("reference"),l.enter("referenceMarker"),l.consume(f),l.exit("referenceMarker"),s}function s(f){return f===93?(l.enter("referenceMarker"),l.consume(f),l.exit("referenceMarker"),l.exit("reference"),a):u(f)}}const Yx={name:"labelStartImage",resolveAll:wf.resolveAll,tokenize:Vx};function Vx(l,a,u){const o=this;let s;return f;function f(v){return l.enter("labelImage"),l.enter("labelImageMarker"),l.consume(v),l.exit("labelImageMarker"),h}function h(v){return v===91?(l.enter("labelMarker"),l.consume(v),l.exit("labelMarker"),s=l.exit("labelImage"),d):u(v)}function d(v){return v===94&&"_hiddenFootnoteSupport"in o.parser.constructs?u(v):(o._labelStarts=o._labelStarts||[],o._labelStarts.push(s),a(v))}}const Gx={name:"labelStartLink",resolveAll:wf.resolveAll,tokenize:Xx};function Xx(l,a,u){const o=this;let s;return f;function f(d){return l.enter("labelLink"),l.enter("labelMarker"),l.consume(d),l.exit("labelMarker"),s=l.exit("labelLink"),h}function h(d){return d===94&&"_hiddenFootnoteSupport"in o.parser.constructs?u(d):(o._labelStarts=o._labelStarts||[],o._labelStarts.push(s),a(d))}}const Qs={name:"lineEnding",tokenize:Qx};function Qx(l,a){return u;function u(o){return l.enter("lineEnding"),l.consume(o),l.exit("lineEnding"),Ut(l,a,"linePrefix")}}const Fr={name:"thematicBreak",tokenize:Zx};function Zx(l,a,u){let o=0,s;return f;function f(g){return l.enter("thematicBreak"),h(g)}function h(g){return s=g,d(g)}function d(g){return g===s?(l.enter("thematicBreakSequence"),v(g)):o>=3&&(g===null||dt(g))?(l.exit("thematicBreak"),a(g)):u(g)}function v(g){return g===s?(l.consume(g),o++,v):(l.exit("thematicBreakSequence"),At(g)?Ut(l,d,"whitespace")(g):d(g))}}const Ye={continuation:{tokenize:Ix},exit:Px,name:"list",tokenize:Fx},Kx={partial:!0,tokenize:Wx},Jx={partial:!0,tokenize:$x};function Fx(l,a,u){const o=this,s=o.events[o.events.length-1];let f=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,h=0;return d;function d(b){const z=o.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(z==="listUnordered"?!o.containerState.marker||b===o.containerState.marker:ff(b)){if(o.containerState.type||(o.containerState.type=z,l.enter(z,{_container:!0})),z==="listUnordered")return l.enter("listItemPrefix"),b===42||b===45?l.check(Fr,u,g)(b):g(b);if(!o.interrupt||b===49)return l.enter("listItemPrefix"),l.enter("listItemValue"),v(b)}return u(b)}function v(b){return ff(b)&&++h<10?(l.consume(b),v):(!o.interrupt||h<2)&&(o.containerState.marker?b===o.containerState.marker:b===41||b===46)?(l.exit("listItemValue"),g(b)):u(b)}function g(b){return l.enter("listItemMarker"),l.consume(b),l.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||b,l.check(du,o.interrupt?u:y,l.attempt(Kx,x,p))}function y(b){return o.containerState.initialBlankLine=!0,f++,x(b)}function p(b){return At(b)?(l.enter("listItemPrefixWhitespace"),l.consume(b),l.exit("listItemPrefixWhitespace"),x):u(b)}function x(b){return o.containerState.size=f+o.sliceSerialize(l.exit("listItemPrefix"),!0).length,a(b)}}function Ix(l,a,u){const o=this;return o.containerState._closeFlow=void 0,l.check(du,s,f);function s(d){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Ut(l,a,"listItemIndent",o.containerState.size+1)(d)}function f(d){return o.containerState.furtherBlankLines||!At(d)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,h(d)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,l.attempt(Jx,a,h)(d))}function h(d){return o.containerState._closeFlow=!0,o.interrupt=void 0,Ut(l,l.attempt(Ye,a,u),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function $x(l,a,u){const o=this;return Ut(l,s,"listItemIndent",o.containerState.size+1);function s(f){const h=o.events[o.events.length-1];return h&&h[1].type==="listItemIndent"&&h[2].sliceSerialize(h[1],!0).length===o.containerState.size?a(f):u(f)}}function Px(l){l.exit(this.containerState.type)}function Wx(l,a,u){const o=this;return Ut(l,s,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(f){const h=o.events[o.events.length-1];return!At(f)&&h&&h[1].type==="listItemPrefixWhitespace"?a(f):u(f)}}const Gg={name:"setextUnderline",resolveTo:tE,tokenize:eE};function tE(l,a){const u=new Pr;let o=l.length,s,f,h;for(;o--;)if(l[o][0]==="enter"){if(l[o][1].type==="content"){s=o;break}l[o][1].type==="paragraph"&&(f=o)}else l[o][1].type==="content"&&u.add(o,1,[]),!h&&l[o][1].type==="definition"&&(h=o);const d={type:"setextHeading",start:{...l[s][1].start},end:{...l[l.length-1][1].end}};return l[f][1].type="setextHeadingText",h?(u.add(f,0,[["enter",d,a]]),u.add(h+1,0,[["exit",l[s][1],a]]),l[s][1].end={...l[h][1].end}):l[s][1]=d,u.add(l.length,0,[["exit",d,a]]),u.consume(l),l}function eE(l,a,u){const o=this;let s;return f;function f(g){let y=o.events.length,p;for(;y--;)if(o.events[y][1].type!=="lineEnding"&&o.events[y][1].type!=="linePrefix"&&o.events[y][1].type!=="content"){p=o.events[y][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||p)?(l.enter("setextHeadingLine"),s=g,h(g)):u(g)}function h(g){return l.enter("setextHeadingLineSequence"),d(g)}function d(g){return g===s?(l.consume(g),d):(l.exit("setextHeadingLineSequence"),At(g)?Ut(l,v,"lineSuffix")(g):v(g))}function v(g){return g===null||dt(g)?(l.exit("setextHeadingLine"),a(g)):u(g)}}const nE={tokenize:lE};function lE(l){const a=this,u=l.attempt(du,o,l.attempt(this.parser.constructs.flowInitial,s,Ut(l,l.attempt(this.parser.constructs.flow,s,l.attempt(sx,s)),"linePrefix")));return u;function o(f){if(f===null){l.consume(f);return}return l.enter("lineEndingBlank"),l.consume(f),l.exit("lineEndingBlank"),a.currentConstruct=void 0,u}function s(f){if(f===null){l.consume(f);return}return l.enter("lineEnding"),l.consume(f),l.exit("lineEnding"),a.currentConstruct=void 0,u}}const iE={resolveAll:Qy()},aE=Xy("string"),uE=Xy("text");function Xy(l){return{resolveAll:Qy(l==="text"?rE:void 0),tokenize:a};function a(u){const o=this,s=this.parser.constructs[l],f=u.attempt(s,h,d);return h;function h(y){return g(y)?f(y):d(y)}function d(y){if(y===null){u.consume(y);return}return u.enter("data"),u.consume(y),v}function v(y){return g(y)?(u.exit("data"),f(y)):(u.consume(y),v)}function g(y){if(y===null)return!0;const p=s[y];let x=-1;if(p)for(;++x<p.length;){const b=p[x];if(!b.previous||b.previous.call(o,o.previous))return!0}return!1}}}function Qy(l){return a;function a(u,o){let s=-1,f;for(;++s<=u.length;)f===void 0?u[s]&&u[s][1].type==="data"&&(f=s,s++):(!u[s]||u[s][1].type!=="data")&&(s!==f+2&&(u[f][1].end=u[s-1][1].end,u.splice(f+2,s-f-2),s=f+2),f=void 0);return l?l(u,o):u}}function rE(l,a){const u=new Pr;let o=0;for(;++o<=l.length;)if((o===l.length||l[o][1].type==="lineEnding")&&l[o-1][1].type==="data"){const s=l[o-1][1],f=a.sliceStream(s);let h=f.length,d=-1,v=0,g;for(;h--;){const y=f[h];if(typeof y=="string"){for(d=y.length;y.charCodeAt(d-1)===32;)v++,d--;if(d)break;d=-1}else if(y===-2)g=!0,v++;else if(y!==-1){h++;break}}if(a._contentTypeTextTrailing&&o===l.length&&(v=0),v){const y={type:o===l.length||g||v<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:h?d:s.start._bufferIndex+d,_index:s.start._index+h,line:s.end.line,column:s.end.column-v,offset:s.end.offset-v},end:{...s.end}};s.end={...y.start},s.start.offset===s.end.offset?Object.assign(s,y):u.add(o,0,[["enter",y,a],["exit",y,a]])}o++}return u.consume(l),l}const oE={42:Ye,43:Ye,45:Ye,48:Ye,49:Ye,50:Ye,51:Ye,52:Ye,53:Ye,54:Ye,55:Ye,56:Ye,57:Ye,62:Ly},cE={91:px},sE={[-2]:Xs,[-1]:Xs,32:Xs},fE={35:xx,42:Fr,45:[Gg,Fr],60:Ax,61:Gg,95:Fr,96:Yg,126:Yg},hE={38:Hy,92:By},dE={[-5]:Qs,[-4]:Qs,[-3]:Qs,33:Yx,38:Hy,42:hf,60:[QS,Nx],91:Gx,92:[bx,By],93:wf,95:hf,96:ix},mE={null:[hf,iE]},pE={null:[42,95]},gE={null:[]},yE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:pE,contentInitial:cE,disable:gE,document:oE,flow:fE,flowInitial:sE,insideSpan:mE,string:hE,text:dE},Symbol.toStringTag,{value:"Module"}));function vE(l,a,u){let o={_bufferIndex:-1,_index:0,line:u&&u.line||1,column:u&&u.column||1,offset:u&&u.offset||0};const s={},f=[];let h=[],d=[];const v={attempt:F(rt),check:F(H),consume:G,enter:Q,exit:st,interrupt:F(H,{interrupt:!0})},g={code:null,containerState:{},defineSkip:U,events:[],now:z,parser:l,previous:null,sliceSerialize:x,sliceStream:b,write:p};let y=a.tokenize.call(g,v);return a.resolveAll&&f.push(a),g;function p($){return h=dn(h,$),B(),h[h.length-1]!==null?[]:(tt(a,0),g.events=lo(f,g.events,g),g.events)}function x($,lt){return SE(b($),lt)}function b($){return bE(h,$)}function z(){const{_bufferIndex:$,_index:lt,line:Et,column:ot,offset:J}=o;return{_bufferIndex:$,_index:lt,line:Et,column:ot,offset:J}}function U($){s[$.line]=$.column,j()}function B(){for(;o._index<h.length;){const $=h[o._index];if(typeof $=="string"){const lt=o._index;for(o._bufferIndex<0&&(o._bufferIndex=0);o._index===lt&&o._bufferIndex<$.length;)M($.charCodeAt(o._bufferIndex))}else M($)}}function M($){y=y($)}function G($){dt($)?(o.line++,o.column=1,o.offset+=$===-3?2:1,j()):$!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===h[o._index].length&&(o._bufferIndex=-1,o._index++)),g.previous=$}function Q($,lt){const Et=lt||{};return Et.type=$,Et.start=z(),g.events.push(["enter",Et,g]),d.push(Et),Et}function st($){const lt=d.pop();return lt.end=z(),g.events.push(["exit",lt,g]),lt}function rt($,lt){tt($,lt.from)}function H($,lt){lt.restore()}function F($,lt){return Et;function Et(ot,J,Z){let et,ct,_t,T;return Array.isArray(ot)?oe(ot):"tokenize"in ot?oe([ot]):$t(ot);function $t(W){return ut;function ut(bt){const Tt=bt!==null&&W[bt],Ct=bt!==null&&W.null,at=[...Array.isArray(Tt)?Tt:Tt?[Tt]:[],...Array.isArray(Ct)?Ct:Ct?[Ct]:[]];return oe(at)(bt)}}function oe(W){return et=W,ct=0,W.length===0?Z:C(W[ct])}function C(W){return ut;function ut(bt){return T=kt(),_t=W,W.partial||(g.currentConstruct=W),W.name&&g.parser.constructs.disable.null.includes(W.name)?X():W.tokenize.call(lt?Object.assign(Object.create(g),lt):g,v,_,X)(bt)}}function _(W){return $(_t,T),J}function X(W){return T.restore(),++ct<et.length?C(et[ct]):Z}}}function tt($,lt){$.resolveAll&&!f.includes($)&&f.push($),$.resolve&&En(g.events,lt,g.events.length-lt,$.resolve(g.events.slice(lt),g)),$.resolveTo&&(g.events=$.resolveTo(g.events,g))}function kt(){const $=z(),lt=g.previous,Et=g.currentConstruct,ot=g.events.length,J=Array.from(d);return{from:ot,restore:Z};function Z(){o=$,g.previous=lt,g.currentConstruct=Et,g.events.length=ot,d=J,j()}}function j(){o.line in s&&o.column<2&&(o.column=s[o.line],o.offset+=s[o.line]-1)}}function bE(l,a){const u=a.start._index,o=a.start._bufferIndex,s=a.end._index,f=a.end._bufferIndex;let h;if(u===s)h=[l[u].slice(o,f)];else{if(h=l.slice(u,s),o>-1){const d=h[0];typeof d=="string"?h[0]=d.slice(o):h.shift()}f>0&&h.push(l[s].slice(0,f))}return h}function SE(l,a){let u=-1;const o=[];let s;for(;++u<l.length;){const f=l[u];let h;if(typeof f=="string")h=f;else switch(f){case-5:{h="\r";break}case-4:{h=`
51
+ `;break}case-3:{h=`\r
52
+ `;break}case-2:{h=a?" ":" ";break}case-1:{if(!a&&s)continue;h=" ";break}default:h=String.fromCharCode(f)}s=f===-2,o.push(h)}return o.join("")}function xE(l){const o={constructs:Ry([yE,...(l||{}).extensions||[]]),content:s(BS),defined:[],document:s(qS),flow:s(nE),lazy:{},string:s(aE),text:s(uE)};return o;function s(f){return h;function h(d){return vE(o,f,d)}}}function EE(l){for(;!qy(l););return l}const Xg=/[\0\t\n\r]/g;function TE(){let l=1,a="",u=!0,o;return s;function s(f,h,d){f=a+(typeof f=="string"?f.toString():new TextDecoder(h||void 0).decode(f));const v=[];let g=0;for(a="",u&&(f.charCodeAt(0)===65279&&g++,u=void 0);g<f.length;){Xg.lastIndex=g;const y=Xg.exec(f),p=y&&y.index!==void 0?y.index:f.length,x=f.charCodeAt(p);if(!y){a=f.slice(g);break}if(x===10&&g===p&&o)v.push(-3),o=void 0;else switch(o&&(v.push(-5),o=void 0),g<p&&(v.push(f.slice(g,p)),l+=p-g),x){case 0:{v.push(65533),l++;break}case 9:{const b=Math.ceil(l/4)*4;for(v.push(-2);l++<b;)v.push(-1);break}case 10:{v.push(-4),l=1;break}default:o=!0,l=1}g=p+1}return d&&(o&&v.push(-5),a&&v.push(a),v.push(null)),v}}const zE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function AE(l){return l.replace(zE,CE)}function CE(l,a,u){if(a)return a;if(u.charCodeAt(0)===35){const s=u.charCodeAt(1),f=s===120||s===88;return Uy(u.slice(f?2:1),f?16:10)}return Of(u)||l}const Zy={}.hasOwnProperty;function _E(l,a,u){return a&&typeof a=="object"&&(u=a,a=void 0),OE(u)(EE(xE(u).document().write(TE()(l,a,!0))))}function OE(l){const a={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:h(il),autolinkProtocol:j,autolinkEmail:j,atxHeading:h(Ge),blockQuote:h(at),characterEscape:j,characterReference:j,codeFenced:h(pt),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:h(pt,d),codeText:h(mn,d),codeTextData:j,data:j,codeFlowValue:j,definition:h(ua),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:h(ll),hardBreakEscape:h(ne),hardBreakTrailing:h(ne),htmlFlow:h(Bt,d),htmlFlowData:j,htmlText:h(Bt,d),htmlTextData:j,image:h(en),label:d,link:h(il),listItem:h(si),listItemValue:b,listOrdered:h(pn,x),listUnordered:h(pn),paragraph:h(fi),reference:_,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:h(Ge),strong:h(al),thematicBreak:h(hi)},exit:{atxHeading:g(),atxHeadingSequence:H,autolink:g(),autolinkEmail:Ct,autolinkProtocol:Tt,blockQuote:g(),characterEscapeValue:$,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:ut,characterReference:bt,codeFenced:g(M),codeFencedFence:B,codeFencedFenceInfo:z,codeFencedFenceMeta:U,codeFlowValue:$,codeIndented:g(G),codeText:g(Z),codeTextData:$,data:$,definition:g(),definitionDestinationString:rt,definitionLabelString:Q,definitionTitleString:st,emphasis:g(),hardBreakEscape:g(Et),hardBreakTrailing:g(Et),htmlFlow:g(ot),htmlFlowData:$,htmlText:g(J),htmlTextData:$,image:g(ct),label:T,labelText:_t,lineEnding:lt,link:g(et),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:X,resourceDestinationString:$t,resourceTitleString:oe,resource:C,setextHeading:g(kt),setextHeadingLineSequence:tt,setextHeadingText:F,strong:g(),thematicBreak:g()}};Ky(a,(l||{}).mdastExtensions||[]);const u={};return o;function o(L){let I={type:"root",children:[],position:void 0};const ht={stack:[I],tokenStack:[],config:a,enter:v,exit:y,buffer:d,resume:p,data:u},vt=[],se=[];let Xt=-1;for(;++Xt<L.length;)if(se.push(L[Xt]),L[Xt][1].type==="listOrdered"||L[Xt][1].type==="listUnordered")if(L[Xt][0]==="enter")vt.push(se.length-1);else{const ge=vt.pop();f(se,ge)}for(L=se,Xt=-1;++Xt<L.length;){const ge=a[L[Xt][0]];L[Xt][0]==="enter"&&a.beforeEnter.length>0&&s(a.beforeEnter,{...ht,sliceSerialize:L[Xt][2].sliceSerialize},L[Xt][1]),Zy.call(ge,L[Xt][1].type)&&ge[L[Xt][1].type].call({...ht,sliceSerialize:L[Xt][2].sliceSerialize},L[Xt][1]),L[Xt][0]==="exit"&&a.afterExit.length>0&&s(a.afterExit,{...ht,sliceSerialize:L[Xt][2].sliceSerialize},L[Xt][1])}if(ht.tokenStack.length>0){const ge=ht.tokenStack[ht.tokenStack.length-1];(ge[1]||Qg).call(ht,void 0,ge[0])}for(I.position={start:Ml(L.length>0?L[0][1].start:{line:1,column:1,offset:0}),end:Ml(L.length>0?L[L.length-2][1].end:{line:1,column:1,offset:0})},Xt=-1;++Xt<a.transforms.length;)I=a.transforms[Xt](I)||I;return I}function s(L,I,ht){let vt=-1;for(;++vt<L.length;)L[vt].call(I,ht)}function f(L,I){const ht=L.length-1;let vt=I-1,se=-1,Xt=!1,ge,Re,Ln,Bn;const Ul=[];for(;++vt<=ht;){const Oe=L[vt];switch(Oe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Oe[0]==="enter"?se++:se--,Bn=void 0;break}case"lineEndingBlank":{Oe[0]==="enter"&&(ge&&!Bn&&!se&&!Ln&&(Ln=vt),Bn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Bn=void 0}if(!se&&Oe[0]==="enter"&&Oe[1].type==="listItemPrefix"||se===-1&&Oe[0]==="exit"&&(Oe[1].type==="listUnordered"||Oe[1].type==="listOrdered")){if(ge){let Hn=vt;for(Re=void 0;Hn--;){const nn=L[Hn];if(nn[1].type==="lineEnding"||nn[1].type==="lineEndingBlank"){if(nn[0]==="exit")continue;Re&&(L[Re][1].type="lineEndingBlank",Xt=!0),nn[1].type="lineEnding",Re=Hn}else if(!(nn[1].type==="linePrefix"||nn[1].type==="blockQuotePrefix"||nn[1].type==="blockQuotePrefixWhitespace"||nn[1].type==="blockQuoteMarker"||nn[1].type==="listItemIndent"))break}Ln&&(!Re||Ln<Re)&&(ge._spread=!0),ge.end=Object.assign({},Re?L[Re][1].start:Oe[1].end),Ul.push({at:Re||vt,event:["exit",ge,Oe[2]]})}if(Oe[1].type==="listItemPrefix"){const Hn={type:"listItem",_spread:!1,start:Object.assign({},Oe[1].start),end:void 0};ge=Hn,Ul.push({at:vt,event:["enter",Hn,Oe[2]]}),Ln=void 0,Bn=!0}}}const pu=L.splice(I);let ye=0;for(vt=-1;++vt<pu.length;){for(;ye<Ul.length&&Ul[ye].at===I+vt;)L.push(Ul[ye++].event);L.push(pu[vt])}L[I][1]._spread=Xt}function h(L,I){return ht;function ht(vt){v.call(this,L(vt),vt),I&&I.call(this,vt)}}function d(){this.stack.push({type:"fragment",children:[]})}function v(L,I,ht){this.stack[this.stack.length-1].children.push(L),this.stack.push(L),this.tokenStack.push([I,ht||void 0]),L.position={start:Ml(I.start),end:void 0}}function g(L){return I;function I(ht){L&&L.call(this,ht),y.call(this,ht)}}function y(L,I){const ht=this.stack.pop(),vt=this.tokenStack.pop();if(!vt)throw new Error("Cannot close `"+L.type+"` ("+ou({start:L.start,end:L.end})+"): it’s not open");vt[0].type!==L.type&&(I?I.call(this,L,vt[0]):(vt[1]||Qg).call(this,L,vt[0])),ht.position.end=Ml(L.end)}function p(){return _f(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function b(L){if(this.data.expectingFirstListItemValue){const I=this.stack[this.stack.length-2];I.start=Number.parseInt(this.sliceSerialize(L),10),this.data.expectingFirstListItemValue=void 0}}function z(){const L=this.resume(),I=this.stack[this.stack.length-1];I.lang=L}function U(){const L=this.resume(),I=this.stack[this.stack.length-1];I.meta=L}function B(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function M(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function G(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L.replace(/(\r?\n|\r)$/g,"")}function Q(L){const I=this.resume(),ht=this.stack[this.stack.length-1];ht.label=I,ht.identifier=Tn(this.sliceSerialize(L)).toLowerCase()}function st(){const L=this.resume(),I=this.stack[this.stack.length-1];I.title=L}function rt(){const L=this.resume(),I=this.stack[this.stack.length-1];I.url=L}function H(L){const I=this.stack[this.stack.length-1];if(!I.depth){const ht=this.sliceSerialize(L).length;I.depth=ht}}function F(){this.data.setextHeadingSlurpLineEnding=!0}function tt(L){const I=this.stack[this.stack.length-1];I.depth=this.sliceSerialize(L).codePointAt(0)===61?1:2}function kt(){this.data.setextHeadingSlurpLineEnding=void 0}function j(L){const ht=this.stack[this.stack.length-1].children;let vt=ht[ht.length-1];(!vt||vt.type!=="text")&&(vt=ra(),vt.position={start:Ml(L.start),end:void 0},ht.push(vt)),this.stack.push(vt)}function $(L){const I=this.stack.pop();I.value+=this.sliceSerialize(L),I.position.end=Ml(L.end)}function lt(L){const I=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ht=I.children[I.children.length-1];ht.position.end=Ml(L.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(I.type)&&(j.call(this,L),$.call(this,L))}function Et(){this.data.atHardBreak=!0}function ot(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L}function J(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L}function Z(){const L=this.resume(),I=this.stack[this.stack.length-1];I.value=L}function et(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=I,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function ct(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=I,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function _t(L){const I=this.sliceSerialize(L),ht=this.stack[this.stack.length-2];ht.label=AE(I),ht.identifier=Tn(I).toLowerCase()}function T(){const L=this.stack[this.stack.length-1],I=this.resume(),ht=this.stack[this.stack.length-1];if(this.data.inReference=!0,ht.type==="link"){const vt=L.children;ht.children=vt}else ht.alt=I}function $t(){const L=this.resume(),I=this.stack[this.stack.length-1];I.url=L}function oe(){const L=this.resume(),I=this.stack[this.stack.length-1];I.title=L}function C(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function X(L){const I=this.resume(),ht=this.stack[this.stack.length-1];ht.label=I,ht.identifier=Tn(this.sliceSerialize(L)).toLowerCase(),this.data.referenceType="full"}function W(L){this.data.characterReferenceType=L.type}function ut(L){const I=this.sliceSerialize(L),ht=this.data.characterReferenceType;let vt;ht?(vt=Uy(I,ht==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):vt=Of(I);const se=this.stack[this.stack.length-1];se.value+=vt}function bt(L){const I=this.stack.pop();I.position.end=Ml(L.end)}function Tt(L){$.call(this,L);const I=this.stack[this.stack.length-1];I.url=this.sliceSerialize(L)}function Ct(L){$.call(this,L);const I=this.stack[this.stack.length-1];I.url="mailto:"+this.sliceSerialize(L)}function at(){return{type:"blockquote",children:[],position:void 0}}function pt(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function mn(){return{type:"inlineCode",value:"",position:void 0}}function ua(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function ll(){return{type:"emphasis",children:[],position:void 0}}function Ge(){return{type:"heading",depth:0,children:[],position:void 0}}function ne(){return{type:"break",position:void 0}}function Bt(){return{type:"html",value:"",position:void 0}}function en(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function il(){return{type:"link",title:null,url:"",children:[],position:void 0}}function pn(L){return{type:"list",ordered:L.type==="listOrdered",start:null,spread:L._spread,children:[],position:void 0}}function si(L){return{type:"listItem",spread:L._spread,checked:null,children:[],position:void 0}}function fi(){return{type:"paragraph",children:[],position:void 0}}function al(){return{type:"strong",children:[],position:void 0}}function ra(){return{type:"text",value:"",position:void 0}}function hi(){return{type:"thematicBreak",position:void 0}}}function Ml(l){return{line:l.line,column:l.column,offset:l.offset}}function Ky(l,a){let u=-1;for(;++u<a.length;){const o=a[u];Array.isArray(o)?Ky(l,o):wE(l,o)}}function wE(l,a){let u;for(u in a)if(Zy.call(a,u))switch(u){case"canContainEols":{const o=a[u];o&&l[u].push(...o);break}case"transforms":{const o=a[u];o&&l[u].push(...o);break}case"afterExit":case"beforeEnter":{const o=a[u];o&&l[u].push(o);break}case"enter":case"exit":{const o=a[u];o&&Object.assign(l[u],o);break}}}function Qg(l,a){throw l?new Error("Cannot close `"+l.type+"` ("+ou({start:l.start,end:l.end})+"): a different token (`"+a.type+"`, "+ou({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+ou({start:a.start,end:a.end})+") is still open")}function NE(l){const a=this;a.parser=u;function u(o){return _E(o,{...a.data("settings"),...l,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function DE(l,a){const u={type:"element",tagName:"blockquote",properties:{},children:l.wrap(l.all(a),!0)};return l.patch(a,u),l.applyData(a,u)}function kE(l,a){const u={type:"element",tagName:"br",properties:{},children:[]};return l.patch(a,u),[l.applyData(a,u),{type:"text",value:`
53
+ `}]}function ME(l,a){const u=a.value?a.value+`
54
+ `:"",o={},s=a.lang?a.lang.split(/\s+/):[];s.length>0&&(o.className=["language-"+s[0]]);let f={type:"element",tagName:"code",properties:o,children:[{type:"text",value:u}]};return a.meta&&(f.data={meta:a.meta}),l.patch(a,f),f=l.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},l.patch(a,f),f}function RE(l,a){const u={type:"element",tagName:"del",properties:{},children:l.all(a)};return l.patch(a,u),l.applyData(a,u)}function UE(l,a){const u={type:"element",tagName:"em",properties:{},children:l.all(a)};return l.patch(a,u),l.applyData(a,u)}function jE(l,a){const u=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",o=String(a.identifier).toUpperCase(),s=aa(o.toLowerCase()),f=l.footnoteOrder.indexOf(o);let h,d=l.footnoteCounts.get(o);d===void 0?(d=0,l.footnoteOrder.push(o),h=l.footnoteOrder.length):h=f+1,d+=1,l.footnoteCounts.set(o,d);const v={type:"element",tagName:"a",properties:{href:"#"+u+"fn-"+s,id:u+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(h)}]};l.patch(a,v);const g={type:"element",tagName:"sup",properties:{},children:[v]};return l.patch(a,g),l.applyData(a,g)}function LE(l,a){const u={type:"element",tagName:"h"+a.depth,properties:{},children:l.all(a)};return l.patch(a,u),l.applyData(a,u)}function BE(l,a){if(l.options.allowDangerousHtml){const u={type:"raw",value:a.value};return l.patch(a,u),l.applyData(a,u)}}function Jy(l,a){const u=a.referenceType;let o="]";if(u==="collapsed"?o+="[]":u==="full"&&(o+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+o}];const s=l.all(a),f=s[0];f&&f.type==="text"?f.value="["+f.value:s.unshift({type:"text",value:"["});const h=s[s.length-1];return h&&h.type==="text"?h.value+=o:s.push({type:"text",value:o}),s}function HE(l,a){const u=String(a.identifier).toUpperCase(),o=l.definitionById.get(u);if(!o)return Jy(l,a);const s={src:aa(o.url||""),alt:a.alt};o.title!==null&&o.title!==void 0&&(s.title=o.title);const f={type:"element",tagName:"img",properties:s,children:[]};return l.patch(a,f),l.applyData(a,f)}function qE(l,a){const u={src:aa(a.url)};a.alt!==null&&a.alt!==void 0&&(u.alt=a.alt),a.title!==null&&a.title!==void 0&&(u.title=a.title);const o={type:"element",tagName:"img",properties:u,children:[]};return l.patch(a,o),l.applyData(a,o)}function YE(l,a){const u={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};l.patch(a,u);const o={type:"element",tagName:"code",properties:{},children:[u]};return l.patch(a,o),l.applyData(a,o)}function VE(l,a){const u=String(a.identifier).toUpperCase(),o=l.definitionById.get(u);if(!o)return Jy(l,a);const s={href:aa(o.url||"")};o.title!==null&&o.title!==void 0&&(s.title=o.title);const f={type:"element",tagName:"a",properties:s,children:l.all(a)};return l.patch(a,f),l.applyData(a,f)}function GE(l,a){const u={href:aa(a.url)};a.title!==null&&a.title!==void 0&&(u.title=a.title);const o={type:"element",tagName:"a",properties:u,children:l.all(a)};return l.patch(a,o),l.applyData(a,o)}function XE(l,a,u){const o=l.all(a),s=u?QE(u):Fy(a),f={},h=[];if(typeof a.checked=="boolean"){const y=o[0];let p;y&&y.type==="element"&&y.tagName==="p"?p=y:(p={type:"element",tagName:"p",properties:{},children:[]},o.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let d=-1;for(;++d<o.length;){const y=o[d];(s||d!==0||y.type!=="element"||y.tagName!=="p")&&h.push({type:"text",value:`
55
+ `}),y.type==="element"&&y.tagName==="p"&&!s?h.push(...y.children):h.push(y)}const v=o[o.length-1];v&&(s||v.type!=="element"||v.tagName!=="p")&&h.push({type:"text",value:`
56
+ `});const g={type:"element",tagName:"li",properties:f,children:h};return l.patch(a,g),l.applyData(a,g)}function QE(l){let a=!1;if(l.type==="list"){a=l.spread||!1;const u=l.children;let o=-1;for(;!a&&++o<u.length;)a=Fy(u[o])}return a}function Fy(l){const a=l.spread;return a??l.children.length>1}function ZE(l,a){const u={},o=l.all(a);let s=-1;for(typeof a.start=="number"&&a.start!==1&&(u.start=a.start);++s<o.length;){const h=o[s];if(h.type==="element"&&h.tagName==="li"&&h.properties&&Array.isArray(h.properties.className)&&h.properties.className.includes("task-list-item")){u.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:u,children:l.wrap(o,!0)};return l.patch(a,f),l.applyData(a,f)}function KE(l,a){const u={type:"element",tagName:"p",properties:{},children:l.all(a)};return l.patch(a,u),l.applyData(a,u)}function JE(l,a){const u={type:"root",children:l.wrap(l.all(a))};return l.patch(a,u),l.applyData(a,u)}function FE(l,a){const u={type:"element",tagName:"strong",properties:{},children:l.all(a)};return l.patch(a,u),l.applyData(a,u)}function IE(l,a){const u=l.all(a),o=u.shift(),s=[];if(o){const h={type:"element",tagName:"thead",properties:{},children:l.wrap([o],!0)};l.patch(a.children[0],h),s.push(h)}if(u.length>0){const h={type:"element",tagName:"tbody",properties:{},children:l.wrap(u,!0)},d=Tf(a.children[1]),v=_y(a.children[a.children.length-1]);d&&v&&(h.position={start:d,end:v}),s.push(h)}const f={type:"element",tagName:"table",properties:{},children:l.wrap(s,!0)};return l.patch(a,f),l.applyData(a,f)}function $E(l,a,u){const o=u?u.children:void 0,f=(o?o.indexOf(a):1)===0?"th":"td",h=u&&u.type==="table"?u.align:void 0,d=h?h.length:a.children.length;let v=-1;const g=[];for(;++v<d;){const p=a.children[v],x={},b=h?h[v]:void 0;b&&(x.align=b);let z={type:"element",tagName:f,properties:x,children:[]};p&&(z.children=l.all(p),l.patch(p,z),z=l.applyData(p,z)),g.push(z)}const y={type:"element",tagName:"tr",properties:{},children:l.wrap(g,!0)};return l.patch(a,y),l.applyData(a,y)}function PE(l,a){const u={type:"element",tagName:"td",properties:{},children:l.all(a)};return l.patch(a,u),l.applyData(a,u)}const Zg=9,Kg=32;function WE(l){const a=String(l),u=/\r?\n|\r/g;let o=u.exec(a),s=0;const f=[];for(;o;)f.push(Jg(a.slice(s,o.index),s>0,!0),o[0]),s=o.index+o[0].length,o=u.exec(a);return f.push(Jg(a.slice(s),s>0,!1)),f.join("")}function Jg(l,a,u){let o=0,s=l.length;if(a){let f=l.codePointAt(o);for(;f===Zg||f===Kg;)o++,f=l.codePointAt(o)}if(u){let f=l.codePointAt(s-1);for(;f===Zg||f===Kg;)s--,f=l.codePointAt(s-1)}return s>o?l.slice(o,s):""}function tT(l,a){const u={type:"text",value:WE(String(a.value))};return l.patch(a,u),l.applyData(a,u)}function eT(l,a){const u={type:"element",tagName:"hr",properties:{},children:[]};return l.patch(a,u),l.applyData(a,u)}const nT={blockquote:DE,break:kE,code:ME,delete:RE,emphasis:UE,footnoteReference:jE,heading:LE,html:BE,imageReference:HE,image:qE,inlineCode:YE,linkReference:VE,link:GE,listItem:XE,list:ZE,paragraph:KE,root:JE,strong:FE,table:IE,tableCell:PE,tableRow:$E,text:tT,thematicBreak:eT,toml:Qr,yaml:Qr,definition:Qr,footnoteDefinition:Qr};function Qr(){}const Iy=-1,io=0,su=1,to=2,Nf=3,Df=4,kf=5,Mf=6,$y=7,Py=8,{defineProperty:lT}=Object,Wy=typeof self=="object"?self:globalThis,Fg=(l,a)=>{switch(l){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+l)}return new Wy[l](a)},iT=(l,a)=>{const u=(s,f)=>(l.set(f,s),s),o=s=>{if(l.has(s))return l.get(s);const[f,h]=a[s];switch(f){case io:case Iy:return u(h,s);case su:{const d=u([],s);for(const v of h)d.push(o(v));return d}case to:{const d=u({},s);for(const[v,g]of h){const y=o(v),p=o(g);y==="__proto__"?lT(d,y,{value:p,configurable:!0,enumerable:!0,writable:!0}):d[y]=p}return d}case Nf:return u(new Date(h),s);case Df:{const{source:d,flags:v}=h;return u(new RegExp(d,v),s)}case kf:{const d=u(new Map,s);for(const[v,g]of h)d.set(o(v),o(g));return d}case Mf:{const d=u(new Set,s);for(const v of h)d.add(o(v));return d}case $y:{const{name:d,message:v}=h;return u(typeof Wy[d]=="function"?Fg(d,v):new Error(v),s)}case Py:return u(BigInt(h),s);case"BigInt":return u(Object(BigInt(h)),s);case"ArrayBuffer":return u(new Uint8Array(h).buffer,h);case"DataView":{const{buffer:d}=new Uint8Array(h);return u(new DataView(d),h)}case"-0":return-0}return u(Fg(f,h),s)};return o},Ig=l=>iT(new Map,l)(0),ui="",{toString:aT}={},{keys:uT,is:rT}=Object,uu=l=>{const a=typeof l;if(a!=="object"||!l)return[io,a];const u=aT.call(l).slice(8,-1);switch(u){case"Array":return[su,ui];case"Object":return[to,ui];case"Date":return[Nf,ui];case"RegExp":return[Df,ui];case"Map":return[kf,ui];case"Set":return[Mf,ui];case"DataView":return[su,u]}return u.includes("Array")?[su,u]:l instanceof Error?[$y,l.name||"Error"]:[to,u]},Zr=([l,a])=>l===io&&(a==="function"||a==="symbol"),oT=(l,a,u,o)=>{const s=(h,d)=>{const v=o.push(h)-1;return u.set(d,v),v},f=h=>{if(u.has(h))return u.get(h);let[d,v]=uu(h);switch(d){case io:{let y=h;switch(v){case"bigint":d=Py,y=h.toString();break;case"number":if(!h&&rT(h,-0))return o.push(["-0"])-1;break;case"function":case"symbol":if(l)throw new TypeError("unable to serialize "+v);y=null;break;case"undefined":return s([Iy],h)}return s([d,y],h)}case su:{if(v){let x=h;return v==="DataView"?x=new Uint8Array(h.buffer):v==="ArrayBuffer"&&(x=new Uint8Array(h)),s([v,[...x]],h)}const y=[],p=s([d,y],h);for(const x of h)y.push(f(x));return p}case to:{if(v)switch(v){case"BigInt":return s([v,h.toString()],h);case"Boolean":case"Number":case"String":return s([v,h.valueOf()],h)}if(a&&"toJSON"in h)return f(h.toJSON());const y=[],p=s([d,y],h);for(const x of uT(h))(l||!Zr(uu(h[x])))&&y.push([f(x),f(h[x])]);return p}case Nf:return s([d,isNaN(h.getTime())?ui:h.toISOString()],h);case Df:{const{source:y,flags:p}=h;return s([d,{source:y,flags:p}],h)}case kf:{const y=[],p=s([d,y],h);for(const[x,b]of h)(l||!(Zr(uu(x))||Zr(uu(b))))&&y.push([f(x),f(b)]);return p}case Mf:{const y=[],p=s([d,y],h);for(const x of h)(l||!Zr(uu(x)))&&y.push(f(x));return p}}const{message:g}=h;return s([d,{name:v,message:g}],h)};return f},$g=(l,{json:a,lossy:u}={})=>{const o=[];return oT(!(a||u),!!a,new Map,o)(l),o},eo=typeof structuredClone=="function"?(l,a)=>a&&("json"in a||"lossy"in a)?Ig($g(l,a)):structuredClone(l):(l,a)=>Ig($g(l,a));function cT(l,a){const u=[{type:"text",value:"↩"}];return a>1&&u.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),u}function sT(l,a){return"Back to reference "+(l+1)+(a>1?"-"+a:"")}function fT(l){const a=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",u=l.options.footnoteBackContent||cT,o=l.options.footnoteBackLabel||sT,s=l.options.footnoteLabel||"Footnotes",f=l.options.footnoteLabelTagName||"h2",h=l.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let v=-1;for(;++v<l.footnoteOrder.length;){const g=l.footnoteById.get(l.footnoteOrder[v]);if(!g)continue;const y=l.all(g),p=String(g.identifier).toUpperCase(),x=aa(p.toLowerCase());let b=0;const z=[],U=l.footnoteCounts.get(p);for(;U!==void 0&&++b<=U;){z.length>0&&z.push({type:"text",value:" "});let G=typeof u=="string"?u:u(v,b);typeof G=="string"&&(G={type:"text",value:G}),z.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+x+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(v,b),className:["data-footnote-backref"]},children:Array.isArray(G)?G:[G]})}const B=y[y.length-1];if(B&&B.type==="element"&&B.tagName==="p"){const G=B.children[B.children.length-1];G&&G.type==="text"?G.value+=" ":B.children.push({type:"text",value:" "}),B.children.push(...z)}else y.push(...z);const M={type:"element",tagName:"li",properties:{id:a+"fn-"+x},children:l.wrap(y,!0)};l.patch(g,M),d.push(M)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...eo(h),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
57
57
  `},{type:"element",tagName:"ol",properties:{},children:l.wrap(d,!0)},{type:"text",value:`
58
- `}]}}const ao=(function(l){if(l==null)return hT;if(typeof l=="function")return uo(l);if(typeof l=="object")return Array.isArray(l)?cT(l):sT(l);if(typeof l=="string")return fT(l);throw new Error("Expected function, string, or object as test")});function cT(l){const u=[];let a=-1;for(;++a<l.length;)u[a]=ao(l[a]);return uo(o);function o(...s){let h=-1;for(;++h<u.length;)if(u[h].apply(this,s))return!0;return!1}}function sT(l){const u=l;return uo(a);function a(o){const s=o;let h;for(h in l)if(s[h]!==u[h])return!1;return!0}}function fT(l){return uo(u);function u(a){return a&&a.type===l}}function uo(l){return u;function u(a,o,s){return!!(dT(a)&&l.call(this,a,typeof o=="number"?o:void 0,s||void 0))}}function hT(){return!0}function dT(l){return l!==null&&typeof l=="object"&&"type"in l}const $y=[],mT=!0,mf=!1,pT="skip";function Py(l,u,a,o){let s;typeof u=="function"&&typeof a!="function"?(o=a,a=u):s=u;const h=ao(s),f=o?-1:1;d(l,void 0,[])();function d(v,y,g){const p=v&&typeof v=="object"?v:{};if(typeof p.type=="string"){const b=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(v.type+(b?"<"+b+">":""))+")"})}return x;function x(){let b=$y,A,U,B;if((!u||h(v,y,g[g.length-1]||void 0))&&(b=gT(a(v,g)),b[0]===mf))return b;if("children"in v&&v.children){const M=v;if(M.children&&b[0]!==pT)for(U=(o?M.children.length:-1)+f,B=g.concat(M);U>-1&&U<M.children.length;){const V=M.children[U];if(A=d(V,U,B)(),A[0]===mf)return A;U=typeof A[1]=="number"?A[1]:U+f}}return b}}}function gT(l){return Array.isArray(l)?l:typeof l=="number"?[mT,l]:l==null?$y:[l]}function Rf(l,u,a,o){let s,h,f;typeof u=="function"&&typeof a!="function"?(h=void 0,f=u,s=a):(h=u,f=a,s=o),Py(l,h,d,s);function d(v,y){const g=y[y.length-1],p=g?g.children.indexOf(v):void 0;return f(v,p,g)}}const pf={}.hasOwnProperty,yT={};function vT(l,u){const a=u||yT,o=new Map,s=new Map,h=new Map,f={...WE,...a.handlers},d={all:y,applyData:ST,definitionById:o,footnoteById:s,footnoteCounts:h,footnoteOrder:[],handlers:f,one:v,options:a,patch:bT,wrap:ET};return Rf(l,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const p=g.type==="definition"?o:s,x=String(g.identifier).toUpperCase();p.has(x)||p.set(x,g)}}),d;function v(g,p){const x=g.type,b=d.handlers[x];if(pf.call(d.handlers,x)&&b)return b(d,g,p);if(d.options.passThrough&&d.options.passThrough.includes(x)){if("children"in g){const{children:U,...B}=g,M=eo(B);return M.children=d.all(g),M}return eo(g)}return(d.options.unknownHandler||xT)(d,g,p)}function y(g){const p=[];if("children"in g){const x=g.children;let b=-1;for(;++b<x.length;){const A=d.one(x[b],g);if(A){if(b&&x[b-1].type==="break"&&(!Array.isArray(A)&&A.type==="text"&&(A.value=$g(A.value)),!Array.isArray(A)&&A.type==="element")){const U=A.children[0];U&&U.type==="text"&&(U.value=$g(U.value))}Array.isArray(A)?p.push(...A):p.push(A)}}}return p}}function bT(l,u){l.position&&(u.position=rS(l))}function ST(l,u){let a=u;if(l&&l.data){const o=l.data.hName,s=l.data.hChildren,h=l.data.hProperties;if(typeof o=="string")if(a.type==="element")a.tagName=o;else{const f="children"in a?a.children:[a];a={type:"element",tagName:o,properties:{},children:f}}a.type==="element"&&h&&Object.assign(a.properties,eo(h)),"children"in a&&a.children&&s!==null&&s!==void 0&&(a.children=s)}return a}function xT(l,u){const a=u.data||{},o="value"in u&&!(pf.call(a,"hProperties")||pf.call(a,"hChildren"))?{type:"text",value:u.value}:{type:"element",tagName:"div",properties:{},children:l.all(u)};return l.patch(u,o),l.applyData(u,o)}function ET(l,u){const a=[];let o=-1;for(u&&a.push({type:"text",value:`
59
- `});++o<l.length;)o&&a.push({type:"text",value:`
60
- `}),a.push(l[o]);return u&&l.length>0&&a.push({type:"text",value:`
61
- `}),a}function $g(l){let u=0,a=l.charCodeAt(u);for(;a===9||a===32;)u++,a=l.charCodeAt(u);return l.slice(u)}function Pg(l,u){const a=vT(l,u),o=a.one(l,void 0),s=oT(a),h=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return s&&h.children.push({type:"text",value:`
62
- `},s),h}function TT(l,u){return l&&"run"in l?async function(a,o){const s=Pg(a,{file:o,...u});await l.run(s,o)}:function(a,o){return Pg(a,{file:o,...l||u})}}function Wg(l){if(l)throw l}var Zs,ty;function AT(){if(ty)return Zs;ty=1;var l=Object.prototype.hasOwnProperty,u=Object.prototype.toString,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=function(y){return typeof Array.isArray=="function"?Array.isArray(y):u.call(y)==="[object Array]"},h=function(y){if(!y||u.call(y)!=="[object Object]")return!1;var g=l.call(y,"constructor"),p=y.constructor&&y.constructor.prototype&&l.call(y.constructor.prototype,"isPrototypeOf");if(y.constructor&&!g&&!p)return!1;var x;for(x in y);return typeof x>"u"||l.call(y,x)},f=function(y,g){a&&g.name==="__proto__"?a(y,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):y[g.name]=g.newValue},d=function(y,g){if(g==="__proto__")if(l.call(y,g)){if(o)return o(y,g).value}else return;return y[g]};return Zs=function v(){var y,g,p,x,b,A,U=arguments[0],B=1,M=arguments.length,V=!1;for(typeof U=="boolean"&&(V=U,U=arguments[1]||{},B=2),(U==null||typeof U!="object"&&typeof U!="function")&&(U={});B<M;++B)if(y=arguments[B],y!=null)for(g in y)p=d(U,g),x=d(y,g),U!==x&&(V&&x&&(h(x)||(b=s(x)))?(b?(b=!1,A=p&&s(p)?p:[]):A=p&&h(p)?p:{},f(U,{name:g,newValue:v(V,A,x)})):typeof x<"u"&&f(U,{name:g,newValue:x}));return U},Zs}var zT=AT();const Ks=dy(zT);function gf(l){if(typeof l!="object"||l===null)return!1;const u=Object.getPrototypeOf(l);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function CT(){const l=[],u={run:a,use:o};return u;function a(...s){let h=-1;const f=s.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);d(null,...s);function d(v,...y){const g=l[++h];let p=-1;if(v){f(v);return}for(;++p<s.length;)(y[p]===null||y[p]===void 0)&&(y[p]=s[p]);s=y,g?_T(g,d)(...y):f(null,...y)}}function o(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return l.push(s),u}}function _T(l,u){let a;return o;function o(...f){const d=l.length>f.length;let v;d&&f.push(s);try{v=l.apply(this,f)}catch(y){const g=y;if(d&&a)throw g;return s(g)}d||(v&&v.then&&typeof v.then=="function"?v.then(h,s):v instanceof Error?s(v):h(v))}function s(f,...d){a||(a=!0,u(f,...d))}function h(f){s(null,f)}}const Un={basename:OT,dirname:wT,extname:NT,join:DT,sep:"/"};function OT(l,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');mu(l);let a=0,o=-1,s=l.length,h;if(u===void 0||u.length===0||u.length>l.length){for(;s--;)if(l.codePointAt(s)===47){if(h){a=s+1;break}}else o<0&&(h=!0,o=s+1);return o<0?"":l.slice(a,o)}if(u===l)return"";let f=-1,d=u.length-1;for(;s--;)if(l.codePointAt(s)===47){if(h){a=s+1;break}}else f<0&&(h=!0,f=s+1),d>-1&&(l.codePointAt(s)===u.codePointAt(d--)?d<0&&(o=s):(d=-1,o=f));return a===o?o=f:o<0&&(o=l.length),l.slice(a,o)}function wT(l){if(mu(l),l.length===0)return".";let u=-1,a=l.length,o;for(;--a;)if(l.codePointAt(a)===47){if(o){u=a;break}}else o||(o=!0);return u<0?l.codePointAt(0)===47?"/":".":u===1&&l.codePointAt(0)===47?"//":l.slice(0,u)}function NT(l){mu(l);let u=l.length,a=-1,o=0,s=-1,h=0,f;for(;u--;){const d=l.codePointAt(u);if(d===47){if(f){o=u+1;break}continue}a<0&&(f=!0,a=u+1),d===46?s<0?s=u:h!==1&&(h=1):s>-1&&(h=-1)}return s<0||a<0||h===0||h===1&&s===a-1&&s===o+1?"":l.slice(s,a)}function DT(...l){let u=-1,a;for(;++u<l.length;)mu(l[u]),l[u]&&(a=a===void 0?l[u]:a+"/"+l[u]);return a===void 0?".":kT(a)}function kT(l){mu(l);const u=l.codePointAt(0)===47;let a=MT(l,!u);return a.length===0&&!u&&(a="."),a.length>0&&l.codePointAt(l.length-1)===47&&(a+="/"),u?"/"+a:a}function MT(l,u){let a="",o=0,s=-1,h=0,f=-1,d,v;for(;++f<=l.length;){if(f<l.length)d=l.codePointAt(f);else{if(d===47)break;d=47}if(d===47){if(!(s===f-1||h===1))if(s!==f-1&&h===2){if(a.length<2||o!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(v=a.lastIndexOf("/"),v!==a.length-1){v<0?(a="",o=0):(a=a.slice(0,v),o=a.length-1-a.lastIndexOf("/")),s=f,h=0;continue}}else if(a.length>0){a="",o=0,s=f,h=0;continue}}u&&(a=a.length>0?a+"/..":"..",o=2)}else a.length>0?a+="/"+l.slice(s+1,f):a=l.slice(s+1,f),o=f-s-1;s=f,h=0}else d===46&&h>-1?h++:h=-1}return a}function mu(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}const RT={cwd:UT};function UT(){return"/"}function yf(l){return!!(l!==null&&typeof l=="object"&&"href"in l&&l.href&&"protocol"in l&&l.protocol&&l.auth===void 0)}function jT(l){if(typeof l=="string")l=new URL(l);else if(!yf(l)){const u=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+l+"`");throw u.code="ERR_INVALID_ARG_TYPE",u}if(l.protocol!=="file:"){const u=new TypeError("The URL must be of scheme file");throw u.code="ERR_INVALID_URL_SCHEME",u}return LT(l)}function LT(l){if(l.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const u=l.pathname;let a=-1;for(;++a<u.length;)if(u.codePointAt(a)===37&&u.codePointAt(a+1)===50){const o=u.codePointAt(a+2);if(o===70||o===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(u)}const Js=["history","path","basename","stem","extname","dirname"];class Wy{constructor(u){let a;u?yf(u)?a={path:u}:typeof u=="string"||BT(u)?a={value:u}:a=u:a={},this.cwd="cwd"in a?"":RT.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<Js.length;){const h=Js[o];h in a&&a[h]!==void 0&&a[h]!==null&&(this[h]=h==="history"?[...a[h]]:a[h])}let s;for(s in a)Js.includes(s)||(this[s]=a[s])}get basename(){return typeof this.path=="string"?Un.basename(this.path):void 0}set basename(u){Is(u,"basename"),Fs(u,"basename"),this.path=Un.join(this.dirname||"",u)}get dirname(){return typeof this.path=="string"?Un.dirname(this.path):void 0}set dirname(u){ey(this.basename,"dirname"),this.path=Un.join(u||"",this.basename)}get extname(){return typeof this.path=="string"?Un.extname(this.path):void 0}set extname(u){if(Fs(u,"extname"),ey(this.dirname,"extname"),u){if(u.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(u.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Un.join(this.dirname,this.stem+(u||""))}get path(){return this.history[this.history.length-1]}set path(u){yf(u)&&(u=jT(u)),Is(u,"path"),this.path!==u&&this.history.push(u)}get stem(){return typeof this.path=="string"?Un.basename(this.path,this.extname):void 0}set stem(u){Is(u,"stem"),Fs(u,"stem"),this.path=Un.join(this.dirname||"",u+(this.extname||""))}fail(u,a,o){const s=this.message(u,a,o);throw s.fatal=!0,s}info(u,a,o){const s=this.message(u,a,o);return s.fatal=void 0,s}message(u,a,o){const s=new Ce(u,a,o);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(u){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(u||void 0).decode(this.value)}}function Fs(l,u){if(l&&l.includes(Un.sep))throw new Error("`"+u+"` cannot be a path: did not expect `"+Un.sep+"`")}function Is(l,u){if(!l)throw new Error("`"+u+"` cannot be empty")}function ey(l,u){if(!l)throw new Error("Setting `"+u+"` requires `path` to be set too")}function BT(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const HT=(function(l){const o=this.constructor.prototype,s=o[l],h=function(){return s.apply(h,arguments)};return Object.setPrototypeOf(h,o),h}),qT={}.hasOwnProperty;class Uf extends HT{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=CT()}copy(){const u=new Uf;let a=-1;for(;++a<this.attachers.length;){const o=this.attachers[a];u.use(...o)}return u.data(Ks(!0,{},this.namespace)),u}data(u,a){return typeof u=="string"?arguments.length===2?(Ws("data",this.frozen),this.namespace[u]=a,this):qT.call(this.namespace,u)&&this.namespace[u]||void 0:u?(Ws("data",this.frozen),this.namespace=u,this):this.namespace}freeze(){if(this.frozen)return this;const u=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const s=a.call(u,...o);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(u){this.freeze();const a=Kr(u),o=this.parser||this.Parser;return $s("parse",o),o(String(a),a)}process(u,a){const o=this;return this.freeze(),$s("process",this.parser||this.Parser),Ps("process",this.compiler||this.Compiler),a?s(void 0,a):new Promise(s);function s(h,f){const d=Kr(u),v=o.parse(d);o.run(v,d,function(g,p,x){if(g||!p||!x)return y(g);const b=p,A=o.stringify(b,x);GT(A)?x.value=A:x.result=A,y(g,x)});function y(g,p){g||!p?f(g):h?h(p):a(void 0,p)}}}processSync(u){let a=!1,o;return this.freeze(),$s("processSync",this.parser||this.Parser),Ps("processSync",this.compiler||this.Compiler),this.process(u,s),ly("processSync","process",a),o;function s(h,f){a=!0,Wg(h),o=f}}run(u,a,o){ny(u),this.freeze();const s=this.transformers;return!o&&typeof a=="function"&&(o=a,a=void 0),o?h(void 0,o):new Promise(h);function h(f,d){const v=Kr(a);s.run(u,v,y);function y(g,p,x){const b=p||u;g?d(g):f?f(b):o(void 0,b,x)}}}runSync(u,a){let o=!1,s;return this.run(u,a,h),ly("runSync","run",o),s;function h(f,d){Wg(f),s=d,o=!0}}stringify(u,a){this.freeze();const o=Kr(a),s=this.compiler||this.Compiler;return Ps("stringify",s),ny(u),s(u,o)}use(u,...a){const o=this.attachers,s=this.namespace;if(Ws("use",this.frozen),u!=null)if(typeof u=="function")v(u,a);else if(typeof u=="object")Array.isArray(u)?d(u):f(u);else throw new TypeError("Expected usable value, not `"+u+"`");return this;function h(y){if(typeof y=="function")v(y,[]);else if(typeof y=="object")if(Array.isArray(y)){const[g,...p]=y;v(g,p)}else f(y);else throw new TypeError("Expected usable value, not `"+y+"`")}function f(y){if(!("plugins"in y)&&!("settings"in y))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(y.plugins),y.settings&&(s.settings=Ks(!0,s.settings,y.settings))}function d(y){let g=-1;if(y!=null)if(Array.isArray(y))for(;++g<y.length;){const p=y[g];h(p)}else throw new TypeError("Expected a list of plugins, not `"+y+"`")}function v(y,g){let p=-1,x=-1;for(;++p<o.length;)if(o[p][0]===y){x=p;break}if(x===-1)o.push([y,...g]);else if(g.length>0){let[b,...A]=g;const U=o[x][1];gf(U)&&gf(b)&&(b=Ks(!0,U,b)),o[x]=[y,b,...A]}}}}const YT=new Uf().freeze();function $s(l,u){if(typeof u!="function")throw new TypeError("Cannot `"+l+"` without `parser`")}function Ps(l,u){if(typeof u!="function")throw new TypeError("Cannot `"+l+"` without `compiler`")}function Ws(l,u){if(u)throw new Error("Cannot call `"+l+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ny(l){if(!gf(l)||typeof l.type!="string")throw new TypeError("Expected node, got `"+l+"`")}function ly(l,u,a){if(!a)throw new Error("`"+l+"` finished async. Use `"+u+"` instead")}function Kr(l){return VT(l)?l:new Wy(l)}function VT(l){return!!(l&&typeof l=="object"&&"message"in l&&"messages"in l)}function GT(l){return typeof l=="string"||XT(l)}function XT(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const QT="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",iy=[],ay={allowDangerousHtml:!0},ZT=/^(https?|ircs?|mailto|xmpp)$/i,KT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function JT(l){const u=FT(l),a=IT(l);return $T(u.runSync(u.parse(a),a),l)}function FT(l){const u=l.rehypePlugins||iy,a=l.remarkPlugins||iy,o=l.remarkRehypeOptions?{...l.remarkRehypeOptions,...ay}:ay;return YT().use(_E).use(a).use(TT,o).use(u)}function IT(l){const u=l.children||"",a=new Wy;return typeof u=="string"&&(a.value=u),a}function $T(l,u){const a=u.allowedElements,o=u.allowElement,s=u.components,h=u.disallowedElements,f=u.skipHtml,d=u.unwrapDisallowed,v=u.urlTransform||PT;for(const g of KT)Object.hasOwn(u,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+QT+g.id,void 0);return Rf(l,y),hS(l,{Fragment:G.Fragment,components:s,ignoreInvalidStyle:!0,jsx:G.jsx,jsxs:G.jsxs,passKeys:!0,passNode:!0});function y(g,p,x){if(g.type==="raw"&&x&&typeof p=="number")return f?x.children.splice(p,1):x.children[p]={type:"text",value:g.value},p;if(g.type==="element"){let b;for(b in Gs)if(Object.hasOwn(Gs,b)&&Object.hasOwn(g.properties,b)){const A=g.properties[b],U=Gs[b];(U===null||U.includes(g.tagName))&&(g.properties[b]=v(String(A||""),b,g))}}if(g.type==="element"){let b=a?!a.includes(g.tagName):h?h.includes(g.tagName):!1;if(!b&&o&&typeof p=="number"&&(b=!o(g,p,x)),b&&x&&typeof p=="number")return d&&g.children?x.children.splice(p,1,...g.children):x.children.splice(p,1),p}}}function PT(l){const u=l.indexOf(":"),a=l.indexOf("?"),o=l.indexOf("#"),s=l.indexOf("/");return u===-1||s!==-1&&u>s||a!==-1&&u>a||o!==-1&&u>o||ZT.test(l.slice(0,u))?l:""}function uy(l,u){const a=String(l);if(typeof u!="string")throw new TypeError("Expected character");let o=0,s=a.indexOf(u);for(;s!==-1;)o++,s=a.indexOf(u,s+u.length);return o}function WT(l){if(typeof l!="string")throw new TypeError("Expected a string");return l.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function t2(l,u,a){const s=ao((a||{}).ignore||[]),h=e2(u);let f=-1;for(;++f<h.length;)Py(l,"text",d);function d(y,g){let p=-1,x;for(;++p<g.length;){const b=g[p],A=x?x.children:void 0;if(s(b,A?A.indexOf(b):void 0,x))return;x=b}if(x)return v(y,g)}function v(y,g){const p=g[g.length-1],x=h[f][0],b=h[f][1];let A=0;const B=p.children.indexOf(y);let M=!1,V=[];x.lastIndex=0;let Q=x.exec(y.value);for(;Q;){const rt=Q.index,H={index:Q.index,input:Q.input,stack:[...g,y]};let F=b(...Q,H);if(typeof F=="string"&&(F=F.length>0?{type:"text",value:F}:void 0),F===!1)x.lastIndex=rt+1;else{if(A!==rt&&st({type:"text",value:y.value.slice(A,rt)}),Array.isArray(F))for(const tt of F)st(tt);else F&&st(F);A=rt+Q[0].length,M=!0}if(!x.global)break;Q=x.exec(y.value)}return M?(A<y.value.length&&st({type:"text",value:y.value.slice(A)}),p.children.splice(B,1,...V)):V=[y],B+V.length;function st(rt){const H=V[V.length-1];H&&H.type==="text"&&rt.type==="text"?H.value+=rt.value:V.push(rt)}}}function e2(l){if(!Array.isArray(l))throw new TypeError("Expected find and replace tuple or list of tuples");const u=[],a=!l[0]||Array.isArray(l[0])?l:[l];let o=-1;for(;++o<a.length;){const s=a[o];u.push([n2(s[0]),l2(s[1])])}return u}function n2(l){return typeof l=="string"?new RegExp(WT(l),"g"):l}function l2(l){return typeof l=="function"?l:function(){return l}}const tf="phrasing",ef=["autolink","link","image","label"];function i2(){return{transforms:[f2],enter:{literalAutolink:u2,literalAutolinkEmail:nf,literalAutolinkHttp:nf,literalAutolinkWww:nf},exit:{literalAutolink:s2,literalAutolinkEmail:c2,literalAutolinkHttp:r2,literalAutolinkWww:o2}}}function a2(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:tf,notInConstruct:ef},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:tf,notInConstruct:ef},{character:":",before:"[ps]",after:"\\/",inConstruct:tf,notInConstruct:ef}]}}function u2(l){this.enter({type:"link",title:null,url:"",children:[]},l)}function nf(l){this.config.enter.autolinkProtocol.call(this,l)}function r2(l){this.config.exit.autolinkProtocol.call(this,l)}function o2(l){this.config.exit.data.call(this,l);const u=this.stack[this.stack.length-1];u.type,u.url="http://"+this.sliceSerialize(l)}function c2(l){this.config.exit.autolinkEmail.call(this,l)}function s2(l){this.exit(l)}function f2(l){t2(l,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,h2],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),d2]],{ignore:["link","linkReference"]})}function h2(l,u,a,o,s){let h="";if(!t0(s)||(/^w/i.test(u)&&(a=u+a,u="",h="http://"),!m2(a)))return!1;const f=p2(a+o);if(!f[0])return!1;const d={type:"link",title:null,url:h+u+f[0],children:[{type:"text",value:u+f[0]}]};return f[1]?[d,{type:"text",value:f[1]}]:d}function d2(l,u,a,o){return!t0(o,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+u+"@"+a,children:[{type:"text",value:u+"@"+a}]}}function m2(l){const u=l.split(".");return!(u.length<2||u[u.length-1]&&(/_/.test(u[u.length-1])||!/[a-zA-Z\d]/.test(u[u.length-1]))||u[u.length-2]&&(/_/.test(u[u.length-2])||!/[a-zA-Z\d]/.test(u[u.length-2])))}function p2(l){const u=/[!"&'),.:;<>?\]}]+$/.exec(l);if(!u)return[l,void 0];l=l.slice(0,u.index);let a=u[0],o=a.indexOf(")");const s=uy(l,"(");let h=uy(l,")");for(;o!==-1&&s>h;)l+=a.slice(0,o+1),a=a.slice(o+1),o=a.indexOf(")"),h++;return[l,a]}function t0(l,u){const a=l.input.charCodeAt(l.index-1);return(l.index===0||oi(a)||no(a))&&(!u||a!==47)}e0.peek=A2;function g2(){this.buffer()}function y2(l){this.enter({type:"footnoteReference",identifier:"",label:""},l)}function v2(){this.buffer()}function b2(l){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},l)}function S2(l){const u=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Tn(this.sliceSerialize(l)).toLowerCase(),a.label=u}function x2(l){this.exit(l)}function E2(l){const u=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Tn(this.sliceSerialize(l)).toLowerCase(),a.label=u}function T2(l){this.exit(l)}function A2(){return"["}function e0(l,u,a,o){const s=a.createTracker(o);let h=s.move("[^");const f=a.enter("footnoteReference"),d=a.enter("reference");return h+=s.move(a.safe(a.associationId(l),{after:"]",before:h})),d(),f(),h+=s.move("]"),h}function z2(){return{enter:{gfmFootnoteCallString:g2,gfmFootnoteCall:y2,gfmFootnoteDefinitionLabelString:v2,gfmFootnoteDefinition:b2},exit:{gfmFootnoteCallString:S2,gfmFootnoteCall:x2,gfmFootnoteDefinitionLabelString:E2,gfmFootnoteDefinition:T2}}}function C2(l){let u=!1;return l&&l.firstLineBlank&&(u=!0),{handlers:{footnoteDefinition:a,footnoteReference:e0},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function a(o,s,h,f){const d=h.createTracker(f);let v=d.move("[^");const y=h.enter("footnoteDefinition"),g=h.enter("label");return v+=d.move(h.safe(h.associationId(o),{before:v,after:"]"})),g(),v+=d.move("]:"),o.children&&o.children.length>0&&(d.shift(4),v+=d.move((u?`
63
- `:" ")+h.indentLines(h.containerFlow(o,d.current()),u?n0:_2))),y(),v}}function _2(l,u,a){return u===0?l:n0(l,u,a)}function n0(l,u,a){return(a?"":" ")+l}const O2=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];jf.attention=M2;jf.peek=R2;function w2(){return{canContainEols:["delete"],enter:{strikethrough:D2},exit:{strikethrough:k2}}}function N2(){return{handlers:{delete:jf},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:O2}]}}function D2(l){this.enter({type:"delete",children:[],position:void 0},l)}function k2(l){this.exit(l)}function jf(l,u,a,o){const s=a.createTracker(o),h=a.stack.includes("strikethrough")?"~":"~~",f=a.enter("strikethrough");let d=s.move(h);return d+=a.containerPhrasing(l,{...s.current(),before:d,after:"~"}),d+=s.move(h),f(),d}function M2(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function R2(){return"~"}function U2(l){return l.length}function j2(l,u){const a=u||{},o=(a.align||[]).concat(),s=a.stringLength||U2,h=[],f=[],d=[],v=[];let y=0,g=-1;for(;++g<l.length;){const U=[],B=[];let M=-1;for(l[g].length>y&&(y=l[g].length);++M<l[g].length;){const V=L2(l[g][M]);if(a.alignDelimiters!==!1){const Q=s(V);B[M]=Q,(v[M]===void 0||Q>v[M])&&(v[M]=Q)}U.push(V)}f[g]=U,d[g]=B}let p=-1;if(typeof o=="object"&&"length"in o)for(;++p<y;)h[p]=ry(o[p]);else{const U=ry(o);for(;++p<y;)h[p]=U}p=-1;const x=[],b=[];for(;++p<y;){const U=h[p];let B="",M="";U===99?(B=":",M=":"):U===108?B=":":U===114&&(M=":");let V=a.alignDelimiters===!1?1:Math.max(1,v[p]-B.length-M.length);const Q=B+"-".repeat(V)+M;a.alignDelimiters!==!1&&(V=B.length+V+M.length,V>v[p]&&(v[p]=V),b[p]=V),x[p]=Q}f.splice(1,0,x),d.splice(1,0,b),g=-1;const A=[];for(;++g<f.length;){const U=f[g],B=d[g];p=-1;const M=[];for(;++p<y;){const V=U[p]||"";let Q="",st="";if(a.alignDelimiters!==!1){const rt=v[p]-(B[p]||0),H=h[p];H===114?Q=" ".repeat(rt):H===99?rt%2?(Q=" ".repeat(rt/2+.5),st=" ".repeat(rt/2-.5)):(Q=" ".repeat(rt/2),st=Q):st=" ".repeat(rt)}a.delimiterStart!==!1&&!p&&M.push("|"),a.padding!==!1&&!(a.alignDelimiters===!1&&V==="")&&(a.delimiterStart!==!1||p)&&M.push(" "),a.alignDelimiters!==!1&&M.push(Q),M.push(V),a.alignDelimiters!==!1&&M.push(st),a.padding!==!1&&M.push(" "),(a.delimiterEnd!==!1||p!==y-1)&&M.push("|")}A.push(a.delimiterEnd===!1?M.join("").replace(/ +$/,""):M.join(""))}return A.join(`
64
- `)}function L2(l){return l==null?"":String(l)}function ry(l){const u=typeof l=="string"?l.codePointAt(0):0;return u===67||u===99?99:u===76||u===108?108:u===82||u===114?114:0}const B2=ao(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function H2(l,u,a,o){const s=a.enter("blockquote"),h=a.createTracker(o);h.move("> "),h.shift(2);const f=a.indentLines(a.containerFlow(l,h.current()),q2);return s(),f}function q2(l,u,a){return">"+(a?"":" ")+l}function Y2(l,u){return oy(l,u.inConstruct,!0)&&!oy(l,u.notInConstruct,!1)}function oy(l,u,a){if(typeof u=="string"&&(u=[u]),!u||u.length===0)return a;let o=-1;for(;++o<u.length;)if(l.includes(u[o]))return!0;return!1}function cy(l,u,a,o){let s=-1;for(;++s<a.unsafe.length;){const h=a.unsafe[s];if(h.character===`
65
- `&&!h.before&&!h.after&&Y2(a.stack,h))return/[\t ]/.test(o.before)?"":" "}return`\\
66
- `}function V2(l,u){const a=String(l);let o=a.indexOf(u),s=o,h=0,f=0;if(typeof u!="string")throw new TypeError("Expected substring");for(;o!==-1;)o===s?++h>f&&(f=h):h=1,s=o+u.length,o=a.indexOf(u,s);return f}function G2(l,u){return!!(u.options.fences===!1&&l.value&&!l.lang&&/[^\n\r ]/.test(l.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(l.value))}function X2(l){const u=l.options.fence||"`";if(u!=="`"&&u!=="~")throw new Error("Cannot serialize code with `"+u+"` for `options.fence`, expected `` ` `` or `~`");return u}function Q2(l,u,a,o){const s=X2(a),h=l.value||"";if(G2(l,a)){const p=a.enter("codeIndented"),x=a.indentLines(h,Z2);return p(),x}const f=a.createTracker(o),d=s.repeat(Math.max(V2(h,s)+1,3)),v=a.enter("codeFenced"),y=s==="`"?"GraveAccent":"Tilde";let g=f.move(d);if(l.lang){const p=a.enter(`codeFencedLang${y}`);g+=f.move(a.safe(l.lang,{before:g,after:" ",encode:["`"],...f.current()})),p()}if(l.lang&&l.meta){const p=a.enter(`codeFencedMeta${y}`);g+=f.move(" "),g+=f.move(a.safe(l.meta,{before:g,after:`
67
- `,encode:["`"],...f.current()})),p()}return g+=f.move(`
68
- `),h&&(g+=f.move(h+`
69
- `)),g+=f.move(d),v(),g}function Z2(l,u,a){return(a?"":" ")+l}function Lf(l){const u=l.options.quote||'"';if(u!=='"'&&u!=="'")throw new Error("Cannot serialize title with `"+u+"` for `options.quote`, expected `\"`, or `'`");return u}function K2(l,u,a,o){const s=Lf(a),h=s==='"'?"Quote":"Apostrophe",f=a.enter("definition");let d=a.enter("label");const v=a.createTracker(o);let y=v.move("[");return y+=v.move(a.safe(a.associationId(l),{before:y,after:"]",...v.current()})),y+=v.move("]: "),d(),!l.url||/[\0- \u007F]/.test(l.url)?(d=a.enter("destinationLiteral"),y+=v.move("<"),y+=v.move(a.safe(l.url,{before:y,after:">",...v.current()})),y+=v.move(">")):(d=a.enter("destinationRaw"),y+=v.move(a.safe(l.url,{before:y,after:l.title?" ":`
70
- `,...v.current()}))),d(),l.title&&(d=a.enter(`title${h}`),y+=v.move(" "+s),y+=v.move(a.safe(l.title,{before:y,after:s,...v.current()})),y+=v.move(s),d()),f(),y}function J2(l){const u=l.options.emphasis||"*";if(u!=="*"&&u!=="_")throw new Error("Cannot serialize emphasis with `"+u+"` for `options.emphasis`, expected `*`, or `_`");return u}Bf.attention=F2;Bf.peek=I2;function Bf(l,u,a,o){const s=a.enter("phrasing"),h=a.containerPhrasing({type:"root",children:[l]},o);return s(),h}function F2(l,u){return{construct:"emphasis",markers:J2(u)==="*"?["*","_"]:["_","*"],sizes:[1]}}function I2(l,u,a){return a.options.emphasis||"*"}function $2(l){return"&#x"+l.toString(16).toUpperCase()+";"}function P2(l,u){let a=!1;return Rf(l,function(o){if("value"in o&&/\r?\n|\r/.test(o.value)||o.type==="break")return a=!0,mf}),!!((!l.depth||l.depth<3)&&_f(l)&&(u.options.setext||a))}function W2(l,u,a,o){const s=Math.max(Math.min(6,l.depth||1),1),h=a.createTracker(o);if(P2(l,a)){const p=a.enter("headingSetext"),x=a.enter("phrasing"),b=a.containerPhrasing(l,{...h.current(),before:`
58
+ `}]}}const ao=(function(l){if(l==null)return pT;if(typeof l=="function")return uo(l);if(typeof l=="object")return Array.isArray(l)?hT(l):dT(l);if(typeof l=="string")return mT(l);throw new Error("Expected function, string, or object as test")});function hT(l){const a=[];let u=-1;for(;++u<l.length;)a[u]=ao(l[u]);return uo(o);function o(...s){let f=-1;for(;++f<a.length;)if(a[f].apply(this,s))return!0;return!1}}function dT(l){const a=l;return uo(u);function u(o){const s=o;let f;for(f in l)if(s[f]!==a[f])return!1;return!0}}function mT(l){return uo(a);function a(u){return u&&u.type===l}}function uo(l){return a;function a(u,o,s){return!!(gT(u)&&l.call(this,u,typeof o=="number"?o:void 0,s||void 0))}}function pT(){return!0}function gT(l){return l!==null&&typeof l=="object"&&"type"in l}const t0=[],yT=!0,mf=!1,vT="skip";function e0(l,a,u,o){let s;typeof a=="function"&&typeof u!="function"?(o=u,u=a):s=a;const f=ao(s),h=o?-1:1;d(l,void 0,[])();function d(v,g,y){const p=v&&typeof v=="object"?v:{};if(typeof p.type=="string"){const b=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(v.type+(b?"<"+b+">":""))+")"})}return x;function x(){let b=t0,z,U,B;if((!a||f(v,g,y[y.length-1]||void 0))&&(b=bT(u(v,y)),b[0]===mf))return b;if("children"in v&&v.children){const M=v;if(M.children&&b[0]!==vT)for(U=(o?M.children.length:-1)+h,B=y.concat(M);U>-1&&U<M.children.length;){const G=M.children[U];if(z=d(G,U,B)(),z[0]===mf)return z;U=typeof z[1]=="number"?z[1]:U+h}}return b}}}function bT(l){return Array.isArray(l)?l:typeof l=="number"?[yT,l]:l==null?t0:[l]}function Rf(l,a,u,o){let s,f,h;typeof a=="function"&&typeof u!="function"?(f=void 0,h=a,s=u):(f=a,h=u,s=o),e0(l,f,d,s);function d(v,g){const y=g[g.length-1],p=y?y.children.indexOf(v):void 0;return h(v,p,y)}}const pf={}.hasOwnProperty,ST={};function xT(l,a){const u=a||ST,o=new Map,s=new Map,f=new Map,h={...nT,...u.handlers},d={all:g,applyData:TT,definitionById:o,footnoteById:s,footnoteCounts:f,footnoteOrder:[],handlers:h,one:v,options:u,patch:ET,wrap:AT};return Rf(l,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const p=y.type==="definition"?o:s,x=String(y.identifier).toUpperCase();p.has(x)||p.set(x,y)}}),d;function v(y,p){const x=y.type,b=d.handlers[x];if(pf.call(d.handlers,x)&&b)return b(d,y,p);if(d.options.passThrough&&d.options.passThrough.includes(x)){if("children"in y){const{children:U,...B}=y,M=eo(B);return M.children=d.all(y),M}return eo(y)}return(d.options.unknownHandler||zT)(d,y,p)}function g(y){const p=[];if("children"in y){const x=y.children;let b=-1;for(;++b<x.length;){const z=d.one(x[b],y);if(z){if(b&&x[b-1].type==="break"&&(!Array.isArray(z)&&z.type==="text"&&(z.value=Pg(z.value)),!Array.isArray(z)&&z.type==="element")){const U=z.children[0];U&&U.type==="text"&&(U.value=Pg(U.value))}Array.isArray(z)?p.push(...z):p.push(z)}}}return p}}function ET(l,a){l.position&&(a.position=sS(l))}function TT(l,a){let u=a;if(l&&l.data){const o=l.data.hName,s=l.data.hChildren,f=l.data.hProperties;if(typeof o=="string")if(u.type==="element")u.tagName=o;else{const h="children"in u?u.children:[u];u={type:"element",tagName:o,properties:{},children:h}}u.type==="element"&&f&&Object.assign(u.properties,eo(f)),"children"in u&&u.children&&s!==null&&s!==void 0&&(u.children=s)}return u}function zT(l,a){const u=a.data||{},o="value"in a&&!(pf.call(u,"hProperties")||pf.call(u,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:l.all(a)};return l.patch(a,o),l.applyData(a,o)}function AT(l,a){const u=[];let o=-1;for(a&&u.push({type:"text",value:`
59
+ `});++o<l.length;)o&&u.push({type:"text",value:`
60
+ `}),u.push(l[o]);return a&&l.length>0&&u.push({type:"text",value:`
61
+ `}),u}function Pg(l){let a=0,u=l.charCodeAt(a);for(;u===9||u===32;)a++,u=l.charCodeAt(a);return l.slice(a)}function Wg(l,a){const u=xT(l,a),o=u.one(l,void 0),s=fT(u),f=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return s&&f.children.push({type:"text",value:`
62
+ `},s),f}function CT(l,a){return l&&"run"in l?async function(u,o){const s=Wg(u,{file:o,...a});await l.run(s,o)}:function(u,o){return Wg(u,{file:o,...l||a})}}function ty(l){if(l)throw l}var Zs,ey;function _T(){if(ey)return Zs;ey=1;var l=Object.prototype.hasOwnProperty,a=Object.prototype.toString,u=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=function(g){return typeof Array.isArray=="function"?Array.isArray(g):a.call(g)==="[object Array]"},f=function(g){if(!g||a.call(g)!=="[object Object]")return!1;var y=l.call(g,"constructor"),p=g.constructor&&g.constructor.prototype&&l.call(g.constructor.prototype,"isPrototypeOf");if(g.constructor&&!y&&!p)return!1;var x;for(x in g);return typeof x>"u"||l.call(g,x)},h=function(g,y){u&&y.name==="__proto__"?u(g,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):g[y.name]=y.newValue},d=function(g,y){if(y==="__proto__")if(l.call(g,y)){if(o)return o(g,y).value}else return;return g[y]};return Zs=function v(){var g,y,p,x,b,z,U=arguments[0],B=1,M=arguments.length,G=!1;for(typeof U=="boolean"&&(G=U,U=arguments[1]||{},B=2),(U==null||typeof U!="object"&&typeof U!="function")&&(U={});B<M;++B)if(g=arguments[B],g!=null)for(y in g)p=d(U,y),x=d(g,y),U!==x&&(G&&x&&(f(x)||(b=s(x)))?(b?(b=!1,z=p&&s(p)?p:[]):z=p&&f(p)?p:{},h(U,{name:y,newValue:v(G,z,x)})):typeof x<"u"&&h(U,{name:y,newValue:x}));return U},Zs}var OT=_T();const Ks=py(OT);function gf(l){if(typeof l!="object"||l===null)return!1;const a=Object.getPrototypeOf(l);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function wT(){const l=[],a={run:u,use:o};return a;function u(...s){let f=-1;const h=s.pop();if(typeof h!="function")throw new TypeError("Expected function as last argument, not "+h);d(null,...s);function d(v,...g){const y=l[++f];let p=-1;if(v){h(v);return}for(;++p<s.length;)(g[p]===null||g[p]===void 0)&&(g[p]=s[p]);s=g,y?NT(y,d)(...g):h(null,...g)}}function o(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return l.push(s),a}}function NT(l,a){let u;return o;function o(...h){const d=l.length>h.length;let v;d&&h.push(s);try{v=l.apply(this,h)}catch(g){const y=g;if(d&&u)throw y;return s(y)}d||(v&&v.then&&typeof v.then=="function"?v.then(f,s):v instanceof Error?s(v):f(v))}function s(h,...d){u||(u=!0,a(h,...d))}function f(h){s(null,h)}}const Un={basename:DT,dirname:kT,extname:MT,join:RT,sep:"/"};function DT(l,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');mu(l);let u=0,o=-1,s=l.length,f;if(a===void 0||a.length===0||a.length>l.length){for(;s--;)if(l.codePointAt(s)===47){if(f){u=s+1;break}}else o<0&&(f=!0,o=s+1);return o<0?"":l.slice(u,o)}if(a===l)return"";let h=-1,d=a.length-1;for(;s--;)if(l.codePointAt(s)===47){if(f){u=s+1;break}}else h<0&&(f=!0,h=s+1),d>-1&&(l.codePointAt(s)===a.codePointAt(d--)?d<0&&(o=s):(d=-1,o=h));return u===o?o=h:o<0&&(o=l.length),l.slice(u,o)}function kT(l){if(mu(l),l.length===0)return".";let a=-1,u=l.length,o;for(;--u;)if(l.codePointAt(u)===47){if(o){a=u;break}}else o||(o=!0);return a<0?l.codePointAt(0)===47?"/":".":a===1&&l.codePointAt(0)===47?"//":l.slice(0,a)}function MT(l){mu(l);let a=l.length,u=-1,o=0,s=-1,f=0,h;for(;a--;){const d=l.codePointAt(a);if(d===47){if(h){o=a+1;break}continue}u<0&&(h=!0,u=a+1),d===46?s<0?s=a:f!==1&&(f=1):s>-1&&(f=-1)}return s<0||u<0||f===0||f===1&&s===u-1&&s===o+1?"":l.slice(s,u)}function RT(...l){let a=-1,u;for(;++a<l.length;)mu(l[a]),l[a]&&(u=u===void 0?l[a]:u+"/"+l[a]);return u===void 0?".":UT(u)}function UT(l){mu(l);const a=l.codePointAt(0)===47;let u=jT(l,!a);return u.length===0&&!a&&(u="."),u.length>0&&l.codePointAt(l.length-1)===47&&(u+="/"),a?"/"+u:u}function jT(l,a){let u="",o=0,s=-1,f=0,h=-1,d,v;for(;++h<=l.length;){if(h<l.length)d=l.codePointAt(h);else{if(d===47)break;d=47}if(d===47){if(!(s===h-1||f===1))if(s!==h-1&&f===2){if(u.length<2||o!==2||u.codePointAt(u.length-1)!==46||u.codePointAt(u.length-2)!==46){if(u.length>2){if(v=u.lastIndexOf("/"),v!==u.length-1){v<0?(u="",o=0):(u=u.slice(0,v),o=u.length-1-u.lastIndexOf("/")),s=h,f=0;continue}}else if(u.length>0){u="",o=0,s=h,f=0;continue}}a&&(u=u.length>0?u+"/..":"..",o=2)}else u.length>0?u+="/"+l.slice(s+1,h):u=l.slice(s+1,h),o=h-s-1;s=h,f=0}else d===46&&f>-1?f++:f=-1}return u}function mu(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}const LT={cwd:BT};function BT(){return"/"}function yf(l){return!!(l!==null&&typeof l=="object"&&"href"in l&&l.href&&"protocol"in l&&l.protocol&&l.auth===void 0)}function HT(l){if(typeof l=="string")l=new URL(l);else if(!yf(l)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+l+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(l.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return qT(l)}function qT(l){if(l.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const a=l.pathname;let u=-1;for(;++u<a.length;)if(a.codePointAt(u)===37&&a.codePointAt(u+1)===50){const o=a.codePointAt(u+2);if(o===70||o===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(a)}const Js=["history","path","basename","stem","extname","dirname"];class n0{constructor(a){let u;a?yf(a)?u={path:a}:typeof a=="string"||YT(a)?u={value:a}:u=a:u={},this.cwd="cwd"in u?"":LT.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<Js.length;){const f=Js[o];f in u&&u[f]!==void 0&&u[f]!==null&&(this[f]=f==="history"?[...u[f]]:u[f])}let s;for(s in u)Js.includes(s)||(this[s]=u[s])}get basename(){return typeof this.path=="string"?Un.basename(this.path):void 0}set basename(a){Is(a,"basename"),Fs(a,"basename"),this.path=Un.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?Un.dirname(this.path):void 0}set dirname(a){ny(this.basename,"dirname"),this.path=Un.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?Un.extname(this.path):void 0}set extname(a){if(Fs(a,"extname"),ny(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Un.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){yf(a)&&(a=HT(a)),Is(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?Un.basename(this.path,this.extname):void 0}set stem(a){Is(a,"stem"),Fs(a,"stem"),this.path=Un.join(this.dirname||"",a+(this.extname||""))}fail(a,u,o){const s=this.message(a,u,o);throw s.fatal=!0,s}info(a,u,o){const s=this.message(a,u,o);return s.fatal=void 0,s}message(a,u,o){const s=new _e(a,u,o);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function Fs(l,a){if(l&&l.includes(Un.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+Un.sep+"`")}function Is(l,a){if(!l)throw new Error("`"+a+"` cannot be empty")}function ny(l,a){if(!l)throw new Error("Setting `"+a+"` requires `path` to be set too")}function YT(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const VT=(function(l){const o=this.constructor.prototype,s=o[l],f=function(){return s.apply(f,arguments)};return Object.setPrototypeOf(f,o),f}),GT={}.hasOwnProperty;class Uf extends VT{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=wT()}copy(){const a=new Uf;let u=-1;for(;++u<this.attachers.length;){const o=this.attachers[u];a.use(...o)}return a.data(Ks(!0,{},this.namespace)),a}data(a,u){return typeof a=="string"?arguments.length===2?(Ws("data",this.frozen),this.namespace[a]=u,this):GT.call(this.namespace,a)&&this.namespace[a]||void 0:a?(Ws("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[u,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const s=u.call(a,...o);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const u=Kr(a),o=this.parser||this.Parser;return $s("parse",o),o(String(u),u)}process(a,u){const o=this;return this.freeze(),$s("process",this.parser||this.Parser),Ps("process",this.compiler||this.Compiler),u?s(void 0,u):new Promise(s);function s(f,h){const d=Kr(a),v=o.parse(d);o.run(v,d,function(y,p,x){if(y||!p||!x)return g(y);const b=p,z=o.stringify(b,x);ZT(z)?x.value=z:x.result=z,g(y,x)});function g(y,p){y||!p?h(y):f?f(p):u(void 0,p)}}}processSync(a){let u=!1,o;return this.freeze(),$s("processSync",this.parser||this.Parser),Ps("processSync",this.compiler||this.Compiler),this.process(a,s),iy("processSync","process",u),o;function s(f,h){u=!0,ty(f),o=h}}run(a,u,o){ly(a),this.freeze();const s=this.transformers;return!o&&typeof u=="function"&&(o=u,u=void 0),o?f(void 0,o):new Promise(f);function f(h,d){const v=Kr(u);s.run(a,v,g);function g(y,p,x){const b=p||a;y?d(y):h?h(b):o(void 0,b,x)}}}runSync(a,u){let o=!1,s;return this.run(a,u,f),iy("runSync","run",o),s;function f(h,d){ty(h),s=d,o=!0}}stringify(a,u){this.freeze();const o=Kr(u),s=this.compiler||this.Compiler;return Ps("stringify",s),ly(a),s(a,o)}use(a,...u){const o=this.attachers,s=this.namespace;if(Ws("use",this.frozen),a!=null)if(typeof a=="function")v(a,u);else if(typeof a=="object")Array.isArray(a)?d(a):h(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(g){if(typeof g=="function")v(g,[]);else if(typeof g=="object")if(Array.isArray(g)){const[y,...p]=g;v(y,p)}else h(g);else throw new TypeError("Expected usable value, not `"+g+"`")}function h(g){if(!("plugins"in g)&&!("settings"in g))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(g.plugins),g.settings&&(s.settings=Ks(!0,s.settings,g.settings))}function d(g){let y=-1;if(g!=null)if(Array.isArray(g))for(;++y<g.length;){const p=g[y];f(p)}else throw new TypeError("Expected a list of plugins, not `"+g+"`")}function v(g,y){let p=-1,x=-1;for(;++p<o.length;)if(o[p][0]===g){x=p;break}if(x===-1)o.push([g,...y]);else if(y.length>0){let[b,...z]=y;const U=o[x][1];gf(U)&&gf(b)&&(b=Ks(!0,U,b)),o[x]=[g,b,...z]}}}}const XT=new Uf().freeze();function $s(l,a){if(typeof a!="function")throw new TypeError("Cannot `"+l+"` without `parser`")}function Ps(l,a){if(typeof a!="function")throw new TypeError("Cannot `"+l+"` without `compiler`")}function Ws(l,a){if(a)throw new Error("Cannot call `"+l+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ly(l){if(!gf(l)||typeof l.type!="string")throw new TypeError("Expected node, got `"+l+"`")}function iy(l,a,u){if(!u)throw new Error("`"+l+"` finished async. Use `"+a+"` instead")}function Kr(l){return QT(l)?l:new n0(l)}function QT(l){return!!(l&&typeof l=="object"&&"message"in l&&"messages"in l)}function ZT(l){return typeof l=="string"||KT(l)}function KT(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const JT="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ay=[],uy={allowDangerousHtml:!0},FT=/^(https?|ircs?|mailto|xmpp)$/i,IT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function $T(l){const a=PT(l),u=WT(l);return t2(a.runSync(a.parse(u),u),l)}function PT(l){const a=l.rehypePlugins||ay,u=l.remarkPlugins||ay,o=l.remarkRehypeOptions?{...l.remarkRehypeOptions,...uy}:uy;return XT().use(NE).use(u).use(CT,o).use(a)}function WT(l){const a=l.children||"",u=new n0;return typeof a=="string"&&(u.value=a),u}function t2(l,a){const u=a.allowedElements,o=a.allowElement,s=a.components,f=a.disallowedElements,h=a.skipHtml,d=a.unwrapDisallowed,v=a.urlTransform||e2;for(const y of IT)Object.hasOwn(a,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+JT+y.id,void 0);return Rf(l,g),pS(l,{Fragment:V.Fragment,components:s,ignoreInvalidStyle:!0,jsx:V.jsx,jsxs:V.jsxs,passKeys:!0,passNode:!0});function g(y,p,x){if(y.type==="raw"&&x&&typeof p=="number")return h?x.children.splice(p,1):x.children[p]={type:"text",value:y.value},p;if(y.type==="element"){let b;for(b in Gs)if(Object.hasOwn(Gs,b)&&Object.hasOwn(y.properties,b)){const z=y.properties[b],U=Gs[b];(U===null||U.includes(y.tagName))&&(y.properties[b]=v(String(z||""),b,y))}}if(y.type==="element"){let b=u?!u.includes(y.tagName):f?f.includes(y.tagName):!1;if(!b&&o&&typeof p=="number"&&(b=!o(y,p,x)),b&&x&&typeof p=="number")return d&&y.children?x.children.splice(p,1,...y.children):x.children.splice(p,1),p}}}function e2(l){const a=l.indexOf(":"),u=l.indexOf("?"),o=l.indexOf("#"),s=l.indexOf("/");return a===-1||s!==-1&&a>s||u!==-1&&a>u||o!==-1&&a>o||FT.test(l.slice(0,a))?l:""}function ry(l,a){const u=String(l);if(typeof a!="string")throw new TypeError("Expected character");let o=0,s=u.indexOf(a);for(;s!==-1;)o++,s=u.indexOf(a,s+a.length);return o}function n2(l){if(typeof l!="string")throw new TypeError("Expected a string");return l.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function l2(l,a,u){const s=ao((u||{}).ignore||[]),f=i2(a);let h=-1;for(;++h<f.length;)e0(l,"text",d);function d(g,y){let p=-1,x;for(;++p<y.length;){const b=y[p],z=x?x.children:void 0;if(s(b,z?z.indexOf(b):void 0,x))return;x=b}if(x)return v(g,y)}function v(g,y){const p=y[y.length-1],x=f[h][0],b=f[h][1];let z=0;const B=p.children.indexOf(g);let M=!1,G=[];x.lastIndex=0;let Q=x.exec(g.value);for(;Q;){const rt=Q.index,H={index:Q.index,input:Q.input,stack:[...y,g]};let F=b(...Q,H);if(typeof F=="string"&&(F=F.length>0?{type:"text",value:F}:void 0),F===!1)x.lastIndex=rt+1;else{if(z!==rt&&st({type:"text",value:g.value.slice(z,rt)}),Array.isArray(F))for(const tt of F)st(tt);else F&&st(F);z=rt+Q[0].length,M=!0}if(!x.global)break;Q=x.exec(g.value)}return M?(z<g.value.length&&st({type:"text",value:g.value.slice(z)}),p.children.splice(B,1,...G)):G=[g],B+G.length;function st(rt){const H=G[G.length-1];H&&H.type==="text"&&rt.type==="text"?H.value+=rt.value:G.push(rt)}}}function i2(l){if(!Array.isArray(l))throw new TypeError("Expected find and replace tuple or list of tuples");const a=[],u=!l[0]||Array.isArray(l[0])?l:[l];let o=-1;for(;++o<u.length;){const s=u[o];a.push([a2(s[0]),u2(s[1])])}return a}function a2(l){return typeof l=="string"?new RegExp(n2(l),"g"):l}function u2(l){return typeof l=="function"?l:function(){return l}}const tf="phrasing",ef=["autolink","link","image","label"];function r2(){return{transforms:[m2],enter:{literalAutolink:c2,literalAutolinkEmail:nf,literalAutolinkHttp:nf,literalAutolinkWww:nf},exit:{literalAutolink:d2,literalAutolinkEmail:h2,literalAutolinkHttp:s2,literalAutolinkWww:f2}}}function o2(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:tf,notInConstruct:ef},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:tf,notInConstruct:ef},{character:":",before:"[ps]",after:"\\/",inConstruct:tf,notInConstruct:ef}]}}function c2(l){this.enter({type:"link",title:null,url:"",children:[]},l)}function nf(l){this.config.enter.autolinkProtocol.call(this,l)}function s2(l){this.config.exit.autolinkProtocol.call(this,l)}function f2(l){this.config.exit.data.call(this,l);const a=this.stack[this.stack.length-1];a.type,a.url="http://"+this.sliceSerialize(l)}function h2(l){this.config.exit.autolinkEmail.call(this,l)}function d2(l){this.exit(l)}function m2(l){l2(l,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,p2],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),g2]],{ignore:["link","linkReference"]})}function p2(l,a,u,o,s){let f="";if(!l0(s)||(/^w/i.test(a)&&(u=a+u,a="",f="http://"),!y2(u)))return!1;const h=v2(u+o);if(!h[0])return!1;const d={type:"link",title:null,url:f+a+h[0],children:[{type:"text",value:a+h[0]}]};return h[1]?[d,{type:"text",value:h[1]}]:d}function g2(l,a,u,o){return!l0(o,!0)||/[-\d_]$/.test(u)?!1:{type:"link",title:null,url:"mailto:"+a+"@"+u,children:[{type:"text",value:a+"@"+u}]}}function y2(l){const a=l.split(".");return!(a.length<2||a[a.length-1]&&(/_/.test(a[a.length-1])||!/[a-zA-Z\d]/.test(a[a.length-1]))||a[a.length-2]&&(/_/.test(a[a.length-2])||!/[a-zA-Z\d]/.test(a[a.length-2])))}function v2(l){const a=/[!"&'),.:;<>?\]}]+$/.exec(l);if(!a)return[l,void 0];l=l.slice(0,a.index);let u=a[0],o=u.indexOf(")");const s=ry(l,"(");let f=ry(l,")");for(;o!==-1&&s>f;)l+=u.slice(0,o+1),u=u.slice(o+1),o=u.indexOf(")"),f++;return[l,u]}function l0(l,a){const u=l.input.charCodeAt(l.index-1);return(l.index===0||oi(u)||no(u))&&(!a||u!==47)}i0.peek=_2;function b2(){this.buffer()}function S2(l){this.enter({type:"footnoteReference",identifier:"",label:""},l)}function x2(){this.buffer()}function E2(l){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},l)}function T2(l){const a=this.resume(),u=this.stack[this.stack.length-1];u.type,u.identifier=Tn(this.sliceSerialize(l)).toLowerCase(),u.label=a}function z2(l){this.exit(l)}function A2(l){const a=this.resume(),u=this.stack[this.stack.length-1];u.type,u.identifier=Tn(this.sliceSerialize(l)).toLowerCase(),u.label=a}function C2(l){this.exit(l)}function _2(){return"["}function i0(l,a,u,o){const s=u.createTracker(o);let f=s.move("[^");const h=u.enter("footnoteReference"),d=u.enter("reference");return f+=s.move(u.safe(u.associationId(l),{after:"]",before:f})),d(),h(),f+=s.move("]"),f}function O2(){return{enter:{gfmFootnoteCallString:b2,gfmFootnoteCall:S2,gfmFootnoteDefinitionLabelString:x2,gfmFootnoteDefinition:E2},exit:{gfmFootnoteCallString:T2,gfmFootnoteCall:z2,gfmFootnoteDefinitionLabelString:A2,gfmFootnoteDefinition:C2}}}function w2(l){let a=!1;return l&&l.firstLineBlank&&(a=!0),{handlers:{footnoteDefinition:u,footnoteReference:i0},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function u(o,s,f,h){const d=f.createTracker(h);let v=d.move("[^");const g=f.enter("footnoteDefinition"),y=f.enter("label");return v+=d.move(f.safe(f.associationId(o),{before:v,after:"]"})),y(),v+=d.move("]:"),o.children&&o.children.length>0&&(d.shift(4),v+=d.move((a?`
63
+ `:" ")+f.indentLines(f.containerFlow(o,d.current()),a?a0:N2))),g(),v}}function N2(l,a,u){return a===0?l:a0(l,a,u)}function a0(l,a,u){return(u?"":" ")+l}const D2=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];jf.attention=j2;jf.peek=L2;function k2(){return{canContainEols:["delete"],enter:{strikethrough:R2},exit:{strikethrough:U2}}}function M2(){return{handlers:{delete:jf},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:D2}]}}function R2(l){this.enter({type:"delete",children:[],position:void 0},l)}function U2(l){this.exit(l)}function jf(l,a,u,o){const s=u.createTracker(o),f=u.stack.includes("strikethrough")?"~":"~~",h=u.enter("strikethrough");let d=s.move(f);return d+=u.containerPhrasing(l,{...s.current(),before:d,after:"~"}),d+=s.move(f),h(),d}function j2(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function L2(){return"~"}function B2(l){return l.length}function H2(l,a){const u=a||{},o=(u.align||[]).concat(),s=u.stringLength||B2,f=[],h=[],d=[],v=[];let g=0,y=-1;for(;++y<l.length;){const U=[],B=[];let M=-1;for(l[y].length>g&&(g=l[y].length);++M<l[y].length;){const G=q2(l[y][M]);if(u.alignDelimiters!==!1){const Q=s(G);B[M]=Q,(v[M]===void 0||Q>v[M])&&(v[M]=Q)}U.push(G)}h[y]=U,d[y]=B}let p=-1;if(typeof o=="object"&&"length"in o)for(;++p<g;)f[p]=oy(o[p]);else{const U=oy(o);for(;++p<g;)f[p]=U}p=-1;const x=[],b=[];for(;++p<g;){const U=f[p];let B="",M="";U===99?(B=":",M=":"):U===108?B=":":U===114&&(M=":");let G=u.alignDelimiters===!1?1:Math.max(1,v[p]-B.length-M.length);const Q=B+"-".repeat(G)+M;u.alignDelimiters!==!1&&(G=B.length+G+M.length,G>v[p]&&(v[p]=G),b[p]=G),x[p]=Q}h.splice(1,0,x),d.splice(1,0,b),y=-1;const z=[];for(;++y<h.length;){const U=h[y],B=d[y];p=-1;const M=[];for(;++p<g;){const G=U[p]||"";let Q="",st="";if(u.alignDelimiters!==!1){const rt=v[p]-(B[p]||0),H=f[p];H===114?Q=" ".repeat(rt):H===99?rt%2?(Q=" ".repeat(rt/2+.5),st=" ".repeat(rt/2-.5)):(Q=" ".repeat(rt/2),st=Q):st=" ".repeat(rt)}u.delimiterStart!==!1&&!p&&M.push("|"),u.padding!==!1&&!(u.alignDelimiters===!1&&G==="")&&(u.delimiterStart!==!1||p)&&M.push(" "),u.alignDelimiters!==!1&&M.push(Q),M.push(G),u.alignDelimiters!==!1&&M.push(st),u.padding!==!1&&M.push(" "),(u.delimiterEnd!==!1||p!==g-1)&&M.push("|")}z.push(u.delimiterEnd===!1?M.join("").replace(/ +$/,""):M.join(""))}return z.join(`
64
+ `)}function q2(l){return l==null?"":String(l)}function oy(l){const a=typeof l=="string"?l.codePointAt(0):0;return a===67||a===99?99:a===76||a===108?108:a===82||a===114?114:0}const Y2=ao(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function V2(l,a,u,o){const s=u.enter("blockquote"),f=u.createTracker(o);f.move("> "),f.shift(2);const h=u.indentLines(u.containerFlow(l,f.current()),G2);return s(),h}function G2(l,a,u){return">"+(u?"":" ")+l}function X2(l,a){return cy(l,a.inConstruct,!0)&&!cy(l,a.notInConstruct,!1)}function cy(l,a,u){if(typeof a=="string"&&(a=[a]),!a||a.length===0)return u;let o=-1;for(;++o<a.length;)if(l.includes(a[o]))return!0;return!1}function sy(l,a,u,o){let s=-1;for(;++s<u.unsafe.length;){const f=u.unsafe[s];if(f.character===`
65
+ `&&!f.before&&!f.after&&X2(u.stack,f))return/[\t ]/.test(o.before)?"":" "}return`\\
66
+ `}function Q2(l,a){const u=String(l);let o=u.indexOf(a),s=o,f=0,h=0;if(typeof a!="string")throw new TypeError("Expected substring");for(;o!==-1;)o===s?++f>h&&(h=f):f=1,s=o+a.length,o=u.indexOf(a,s);return h}function Z2(l,a){return!!(a.options.fences===!1&&l.value&&!l.lang&&/[^\n\r ]/.test(l.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(l.value))}function K2(l){const a=l.options.fence||"`";if(a!=="`"&&a!=="~")throw new Error("Cannot serialize code with `"+a+"` for `options.fence`, expected `` ` `` or `~`");return a}function J2(l,a,u,o){const s=K2(u),f=l.value||"";if(Z2(l,u)){const p=u.enter("codeIndented"),x=u.indentLines(f,F2);return p(),x}const h=u.createTracker(o),d=s.repeat(Math.max(Q2(f,s)+1,3)),v=u.enter("codeFenced"),g=s==="`"?"GraveAccent":"Tilde";let y=h.move(d);if(l.lang){const p=u.enter(`codeFencedLang${g}`);y+=h.move(u.safe(l.lang,{before:y,after:" ",encode:["`"],...h.current()})),p()}if(l.lang&&l.meta){const p=u.enter(`codeFencedMeta${g}`);y+=h.move(" "),y+=h.move(u.safe(l.meta,{before:y,after:`
67
+ `,encode:["`"],...h.current()})),p()}return y+=h.move(`
68
+ `),f&&(y+=h.move(f+`
69
+ `)),y+=h.move(d),v(),y}function F2(l,a,u){return(u?"":" ")+l}function Lf(l){const a=l.options.quote||'"';if(a!=='"'&&a!=="'")throw new Error("Cannot serialize title with `"+a+"` for `options.quote`, expected `\"`, or `'`");return a}function I2(l,a,u,o){const s=Lf(u),f=s==='"'?"Quote":"Apostrophe",h=u.enter("definition");let d=u.enter("label");const v=u.createTracker(o);let g=v.move("[");return g+=v.move(u.safe(u.associationId(l),{before:g,after:"]",...v.current()})),g+=v.move("]: "),d(),!l.url||/[\0- \u007F]/.test(l.url)?(d=u.enter("destinationLiteral"),g+=v.move("<"),g+=v.move(u.safe(l.url,{before:g,after:">",...v.current()})),g+=v.move(">")):(d=u.enter("destinationRaw"),g+=v.move(u.safe(l.url,{before:g,after:l.title?" ":`
70
+ `,...v.current()}))),d(),l.title&&(d=u.enter(`title${f}`),g+=v.move(" "+s),g+=v.move(u.safe(l.title,{before:g,after:s,...v.current()})),g+=v.move(s),d()),h(),g}function $2(l){const a=l.options.emphasis||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize emphasis with `"+a+"` for `options.emphasis`, expected `*`, or `_`");return a}Bf.attention=P2;Bf.peek=W2;function Bf(l,a,u,o){const s=u.enter("phrasing"),f=u.containerPhrasing({type:"root",children:[l]},o);return s(),f}function P2(l,a){return{construct:"emphasis",markers:$2(a)==="*"?["*","_"]:["_","*"],sizes:[1]}}function W2(l,a,u){return u.options.emphasis||"*"}function tz(l){return"&#x"+l.toString(16).toUpperCase()+";"}function ez(l,a){let u=!1;return Rf(l,function(o){if("value"in o&&/\r?\n|\r/.test(o.value)||o.type==="break")return u=!0,mf}),!!((!l.depth||l.depth<3)&&_f(l)&&(a.options.setext||u))}function nz(l,a,u,o){const s=Math.max(Math.min(6,l.depth||1),1),f=u.createTracker(o);if(ez(l,u)){const p=u.enter("headingSetext"),x=u.enter("phrasing"),b=u.containerPhrasing(l,{...f.current(),before:`
71
71
  `,after:`
72
72
  `});return x(),p(),b+`
73
73
  `+(s===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(`
74
- `))+1))}const f="#".repeat(s),d=a.enter("headingAtx"),v=a.enter("phrasing");h.move(f+" ");let y=a.containerPhrasing(l,{before:"# ",after:`
75
- `,...h.current()});const g=y.charCodeAt(0);return(g===9||g===32)&&(y=$2(g)+y.slice(1)),y=y?f+" "+y:f,a.options.closeAtx&&(y+=" "+f),v(),d(),y}l0.peek=tA;function l0(l){return l.value||""}function tA(){return"<"}i0.peek=eA;function i0(l,u,a,o){const s=Lf(a),h=s==='"'?"Quote":"Apostrophe",f=a.enter("image");let d=a.enter("label");const v=a.createTracker(o);let y=v.move("![");return y+=v.move(a.safe(l.alt,{before:y,after:"]",...v.current()})),y+=v.move("]("),d(),!l.url&&l.title||/[\0- \u007F]/.test(l.url)?(d=a.enter("destinationLiteral"),y+=v.move("<"),y+=v.move(a.safe(l.url,{before:y,after:">",...v.current()})),y+=v.move(">")):(d=a.enter("destinationRaw"),y+=v.move(a.safe(l.url,{before:y,after:l.title?" ":")",...v.current()}))),d(),l.title&&(d=a.enter(`title${h}`),y+=v.move(" "+s),y+=v.move(a.safe(l.title,{before:y,after:s,...v.current()})),y+=v.move(s),d()),y+=v.move(")"),f(),y}function eA(){return"!"}a0.peek=nA;function a0(l,u,a,o){const s=l.referenceType,h=a.enter("imageReference");let f=a.enter("label");const d=a.createTracker(o);let v=d.move("![");const y=a.safe(l.alt,{before:v,after:"]",...d.current()});v+=d.move(y+"]["),f();const g=a.stack;a.stack=g.filter(function(x){return x!=="phrasing"}),f=a.enter("reference");const p=a.safe(a.associationId(l),{before:v,after:"]",...d.current()});return f(),a.stack=g,h(),s==="full"||!y||y!==p?v+=d.move(p+"]"):s==="shortcut"?v=v.slice(0,-1):v+=d.move("]"),v}function nA(){return"!"}u0.peek=lA;function u0(l,u,a){let o=l.value||"",s="`",h=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(o);)s+="`";for(/[^\n\r ]/.test(o)&&(/^[\n\r ]/.test(o)&&/[\n\r ]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++h<a.unsafe.length;){const f=a.unsafe[h],d=a.compilePattern(f);if(!f.atBreak)continue;let v;for(;v=d.exec(o);){let y=v.index;o.charCodeAt(y)===10&&o.charCodeAt(y-1)===13&&y--,o=o.slice(0,y)+" "+o.slice(v.index+1)}}return s+o+s}function lA(){return"`"}function r0(l,u){const a=_f(l);return!!(!u.options.resourceLink&&l.url&&!l.title&&l.children&&l.children.length===1&&l.children[0].type==="text"&&(a===l.url||"mailto:"+a===l.url)&&/^[a-z][+\-.a-z]+:/i.test(l.url)&&!/[\0- <>\u007F]/.test(l.url))}o0.peek=iA;function o0(l,u,a,o){const s=Lf(a),h=s==='"'?"Quote":"Apostrophe",f=a.createTracker(o);if(r0(l,a)){const g=a.stack;a.stack=g.filter(function(b){return b!=="phrasing"});const p=a.enter("autolink");let x=f.move("<");return x+=f.move(a.containerPhrasing(l,{before:x,after:">",...f.current()})),x+=f.move(">"),p(),a.stack=g,x}const d=a.enter("link");let v=a.enter("label"),y=f.move("[");return y+=f.move(a.containerPhrasing(l,{before:y,after:"](",...f.current()})),y+=f.move("]("),v(),!l.url&&l.title||/[\0- \u007F]/.test(l.url)?(v=a.enter("destinationLiteral"),y+=f.move("<"),y+=f.move(a.safe(l.url,{before:y,after:">",...f.current()})),y+=f.move(">")):(v=a.enter("destinationRaw"),y+=f.move(a.safe(l.url,{before:y,after:l.title?" ":")",...f.current()}))),v(),l.title&&(v=a.enter(`title${h}`),y+=f.move(" "+s),y+=f.move(a.safe(l.title,{before:y,after:s,...f.current()})),y+=f.move(s),v()),y+=f.move(")"),d(),y}function iA(l,u,a){return r0(l,a)?"<":"["}c0.peek=aA;function c0(l,u,a,o){const s=l.referenceType,h=a.enter("linkReference");let f=a.enter("label");const d=a.createTracker(o);let v=d.move("[");const y=a.containerPhrasing(l,{before:v,after:"]",...d.current()});v+=d.move(y+"]["),f();const g=a.stack;a.stack=g.filter(function(x){return x!=="phrasing"}),f=a.enter("reference");const p=a.safe(a.associationId(l),{before:v,after:"]",...d.current()});return f(),a.stack=g,h(),s==="full"||!y||y!==p?v+=d.move(p+"]"):s==="shortcut"?v=v.slice(0,-1):v+=d.move("]"),v}function aA(){return"["}function Hf(l){const u=l.options.bullet||"*";if(u!=="*"&&u!=="+"&&u!=="-")throw new Error("Cannot serialize items with `"+u+"` for `options.bullet`, expected `*`, `+`, or `-`");return u}function uA(l){const u=Hf(l),a=l.options.bulletOther;if(!a)return u==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===u)throw new Error("Expected `bullet` (`"+u+"`) and `bulletOther` (`"+a+"`) to be different");return a}function rA(l){const u=l.options.bulletOrdered||".";if(u!=="."&&u!==")")throw new Error("Cannot serialize items with `"+u+"` for `options.bulletOrdered`, expected `.` or `)`");return u}function s0(l){const u=l.options.rule||"*";if(u!=="*"&&u!=="-"&&u!=="_")throw new Error("Cannot serialize rules with `"+u+"` for `options.rule`, expected `*`, `-`, or `_`");return u}function oA(l,u,a,o){const s=a.enter("list"),h=a.bulletCurrent;let f=l.ordered?rA(a):Hf(a);const d=l.ordered?f==="."?")":".":uA(a);let v=u&&a.bulletLastUsed?f===a.bulletLastUsed:!1;if(!l.ordered){const g=l.children?l.children[0]:void 0;if((f==="*"||f==="-")&&g&&(!g.children||!g.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(v=!0),s0(a)===f&&g){let p=-1;for(;++p<l.children.length;){const x=l.children[p];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){v=!0;break}}}}v&&(f=d),a.bulletCurrent=f;const y=a.containerFlow(l,o);return a.bulletLastUsed=f,a.bulletCurrent=h,s(),y}function cA(l){const u=l.options.listItemIndent||"one";if(u!=="tab"&&u!=="one"&&u!=="mixed")throw new Error("Cannot serialize items with `"+u+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return u}function sA(l,u,a,o){const s=cA(a);let h=a.bulletCurrent||Hf(a);u&&u.type==="list"&&u.ordered&&(h=(typeof u.start=="number"&&u.start>-1?u.start:1)+(a.options.incrementListMarker===!1?0:u.children.indexOf(l))+h);let f=h.length+1;(s==="tab"||s==="mixed"&&(u&&u.type==="list"&&u.spread||l.spread))&&(f=Math.ceil(f/4)*4);const d=a.createTracker(o);d.move(h+" ".repeat(f-h.length)),d.shift(f);const v=a.enter("listItem"),y=a.indentLines(a.containerFlow(l,d.current()),g);return v(),y;function g(p,x,b){return x?(b?"":" ".repeat(f))+p:(b?h:h+" ".repeat(f-h.length))+p}}function fA(l,u,a,o){const s=a.enter("paragraph"),h=a.enter("phrasing"),f=a.containerPhrasing(l,o);return h(),s(),f}function hA(l,u,a,o){if(!l.children.some(function(d){return B2(d)}))return a.containerFlow(l,o);const h=a.enter("phrasing"),f=a.containerPhrasing(l,o);return h(),f}function dA(l){const u=l.options.strong||"*";if(u!=="*"&&u!=="_")throw new Error("Cannot serialize strong with `"+u+"` for `options.strong`, expected `*`, or `_`");return u}qf.attention=mA;qf.peek=pA;function qf(l,u,a,o){const s=a.enter("phrasing"),h=a.containerPhrasing({type:"root",children:[l]},o);return s(),h}function mA(l,u){return{construct:"strong",markers:dA(u)==="*"?["*","_"]:["_","*"],sizes:[2]}}function pA(l,u,a){return a.options.strong||"*"}function gA(l,u,a,o){const s=u?u.children:[],h=s.indexOf(l);return a.safe(l.value,{...o,afterNode:s[h+1],beforeNode:s[h-1]})}function yA(l){const u=l.options.ruleRepetition||3;if(u<3)throw new Error("Cannot serialize rules with repetition `"+u+"` for `options.ruleRepetition`, expected `3` or more");return u}function vA(l,u,a){const o=(s0(a)+(a.options.ruleSpaces?" ":"")).repeat(yA(a));return a.options.ruleSpaces?o.slice(0,-1):o}const f0={blockquote:H2,break:cy,code:Q2,definition:K2,emphasis:Bf,hardBreak:cy,heading:W2,html:l0,image:i0,imageReference:a0,inlineCode:u0,link:o0,linkReference:c0,list:oA,listItem:sA,paragraph:fA,root:hA,strong:qf,text:gA,thematicBreak:vA};function bA(){return{enter:{table:SA,tableData:sy,tableHeader:sy,tableRow:EA},exit:{codeText:TA,table:xA,tableData:lf,tableHeader:lf,tableRow:lf}}}function SA(l){const u=l._align;this.enter({type:"table",align:u.map(function(a){return a==="none"?null:a}),children:[]},l),this.data.inTable=!0}function xA(l){this.exit(l),this.data.inTable=void 0}function EA(l){this.enter({type:"tableRow",children:[]},l)}function lf(l){this.exit(l)}function sy(l){this.enter({type:"tableCell",children:[]},l)}function TA(l){let u=this.resume();this.data.inTable&&(u=u.replace(/\\([\\|])/g,AA));const a=this.stack[this.stack.length-1];a.type,a.value=u,this.exit(l)}function AA(l,u){return u==="|"?u:l}function zA(l){const u=l||{},a=u.tableCellPadding,o=u.tablePipeAlign,s=u.stringLength,h=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
76
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:f,tableCell:v,tableRow:d}};function f(b,A,U,B){return y(g(b,U,B),b.align)}function d(b,A,U,B){const M=p(b,U,B),V=y([M]);return V.slice(0,V.indexOf(`
77
- `))}function v(b,A,U,B){const M=U.enter("tableCell"),V=U.enter("phrasing"),Q=U.containerPhrasing(b,{...B,before:h,after:h});return V(),M(),Q}function y(b,A){return j2(b,{align:A,alignDelimiters:o,padding:a,stringLength:s})}function g(b,A,U){const B=b.children;let M=-1;const V=[],Q=A.enter("table");for(;++M<B.length;)V[M]=p(B[M],A,U);return Q(),V}function p(b,A,U){const B=b.children;let M=-1;const V=[],Q=A.enter("tableRow");for(;++M<B.length;)V[M]=v(B[M],b,A,U);return Q(),V}function x(b,A,U){let B=f0.inlineCode(b,A,U);return U.stack.includes("tableCell")&&(B=B.replace(/\|/g,"\\$&")),B}}function CA(){return{exit:{taskListCheckValueChecked:fy,taskListCheckValueUnchecked:fy,paragraph:OA}}}function _A(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:wA}}}function fy(l){const u=this.stack[this.stack.length-2];u.type,u.checked=l.type==="taskListCheckValueChecked"}function OA(l){const u=this.stack[this.stack.length-2];if(u&&u.type==="listItem"&&typeof u.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const o=a.children[0];if(o&&o.type==="text"){const s=u.children;let h=-1,f;for(;++h<s.length;){const d=s[h];if(d.type==="paragraph"){f=d;break}}f===a&&(o.value=o.value.slice(1),o.value.length===0?a.children.shift():a.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,a.position.start=Object.assign({},o.position.start)))}}this.exit(l)}function wA(l,u,a,o){const s=l.children[0],h=typeof l.checked=="boolean"&&s&&s.type==="paragraph",f="["+(l.checked?"x":" ")+"] ",d=a.createTracker(o);h&&d.move(f);let v=f0.listItem(l,u,a,{...o,...d.current()});return h&&(v=v.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,y)),v;function y(g){return g+f}}function NA(){return[i2(),z2(),w2(),bA(),CA()]}function DA(l){return{extensions:[a2(),C2(l),N2(),zA(l),_A()]}}const kA={tokenize:BA,partial:!0},h0={tokenize:HA,partial:!0},d0={tokenize:qA,partial:!0},m0={tokenize:YA,partial:!0},MA={tokenize:VA,partial:!0},p0={name:"wwwAutolink",tokenize:jA,previous:y0},g0={name:"protocolAutolink",tokenize:LA,previous:v0},nl={name:"emailAutolink",tokenize:UA,previous:b0},jn={};function RA(){return{text:jn}}let ai=48;for(;ai<123;)jn[ai]=nl,ai++,ai===58?ai=65:ai===91&&(ai=97);jn[43]=nl;jn[45]=nl;jn[46]=nl;jn[95]=nl;jn[72]=[nl,g0];jn[104]=[nl,g0];jn[87]=[nl,p0];jn[119]=[nl,p0];function UA(l,u,a){const o=this;let s,h;return f;function f(p){return!vf(p)||!b0.call(o,o.previous)||Yf(o.events)?a(p):(l.enter("literalAutolink"),l.enter("literalAutolinkEmail"),d(p))}function d(p){return vf(p)?(l.consume(p),d):p===64?(l.consume(p),v):a(p)}function v(p){return p===46?l.check(MA,g,y)(p):p===45||p===95||ze(p)?(h=!0,l.consume(p),v):g(p)}function y(p){return l.consume(p),s=!0,v}function g(p){return h&&s&&ke(o.previous)?(l.exit("literalAutolinkEmail"),l.exit("literalAutolink"),u(p)):a(p)}}function jA(l,u,a){const o=this;return s;function s(f){return f!==87&&f!==119||!y0.call(o,o.previous)||Yf(o.events)?a(f):(l.enter("literalAutolink"),l.enter("literalAutolinkWww"),l.check(kA,l.attempt(h0,l.attempt(d0,h),a),a)(f))}function h(f){return l.exit("literalAutolinkWww"),l.exit("literalAutolink"),u(f)}}function LA(l,u,a){const o=this;let s="",h=!1;return f;function f(p){return(p===72||p===104)&&v0.call(o,o.previous)&&!Yf(o.events)?(l.enter("literalAutolink"),l.enter("literalAutolinkHttp"),s+=String.fromCodePoint(p),l.consume(p),d):a(p)}function d(p){if(ke(p)&&s.length<5)return s+=String.fromCodePoint(p),l.consume(p),d;if(p===58){const x=s.toLowerCase();if(x==="http"||x==="https")return l.consume(p),v}return a(p)}function v(p){return p===47?(l.consume(p),h?y:(h=!0,v)):a(p)}function y(p){return p===null||$r(p)||Zt(p)||oi(p)||no(p)?a(p):l.attempt(h0,l.attempt(d0,g),a)(p)}function g(p){return l.exit("literalAutolinkHttp"),l.exit("literalAutolink"),u(p)}}function BA(l,u,a){let o=0;return s;function s(f){return(f===87||f===119)&&o<3?(o++,l.consume(f),s):f===46&&o===3?(l.consume(f),h):a(f)}function h(f){return f===null?a(f):u(f)}}function HA(l,u,a){let o,s,h;return f;function f(y){return y===46||y===95?l.check(m0,v,d)(y):y===null||Zt(y)||oi(y)||y!==45&&no(y)?v(y):(h=!0,l.consume(y),f)}function d(y){return y===95?o=!0:(s=o,o=void 0),l.consume(y),f}function v(y){return s||o||!h?a(y):u(y)}}function qA(l,u){let a=0,o=0;return s;function s(f){return f===40?(a++,l.consume(f),s):f===41&&o<a?h(f):f===33||f===34||f===38||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===60||f===63||f===93||f===95||f===126?l.check(m0,u,h)(f):f===null||Zt(f)||oi(f)?u(f):(l.consume(f),s)}function h(f){return f===41&&o++,l.consume(f),s}}function YA(l,u,a){return o;function o(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(l.consume(d),o):d===38?(l.consume(d),h):d===93?(l.consume(d),s):d===60||d===null||Zt(d)||oi(d)?u(d):a(d)}function s(d){return d===null||d===40||d===91||Zt(d)||oi(d)?u(d):o(d)}function h(d){return ke(d)?f(d):a(d)}function f(d){return d===59?(l.consume(d),o):ke(d)?(l.consume(d),f):a(d)}}function VA(l,u,a){return o;function o(h){return l.consume(h),s}function s(h){return ze(h)?a(h):u(h)}}function y0(l){return l===null||l===40||l===42||l===95||l===91||l===93||l===126||Zt(l)}function v0(l){return!ke(l)}function b0(l){return!(l===47||vf(l))}function vf(l){return l===43||l===45||l===46||l===95||ze(l)}function Yf(l){let u=l.length,a=!1;for(;u--;){const o=l[u][1];if((o.type==="labelLink"||o.type==="labelImage")&&!o._balanced){a=!0;break}if(o._gfmAutolinkLiteralWalkedInto){a=!1;break}}return l.length>0&&!a&&(l[l.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const GA={tokenize:$A,partial:!0};function XA(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:JA,continuation:{tokenize:FA},exit:IA}},text:{91:{name:"gfmFootnoteCall",tokenize:KA},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:QA,resolveTo:ZA}}}}function QA(l,u,a){const o=this;let s=o.events.length;const h=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let f;for(;s--;){const v=o.events[s][1];if(v.type==="labelImage"){f=v;break}if(v.type==="gfmFootnoteCall"||v.type==="labelLink"||v.type==="label"||v.type==="image"||v.type==="link")break}return d;function d(v){if(!f||!f._balanced)return a(v);const y=Tn(o.sliceSerialize({start:f.end,end:o.now()}));return y.codePointAt(0)!==94||!h.includes(y.slice(1))?a(v):(l.enter("gfmFootnoteCallLabelMarker"),l.consume(v),l.exit("gfmFootnoteCallLabelMarker"),u(v))}}function ZA(l,u){let a=l.length;for(;a--;)if(l[a][1].type==="labelImage"&&l[a][0]==="enter"){l[a][1];break}l[a+1][1].type="data",l[a+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},l[a+3][1].start),end:Object.assign({},l[l.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},l[a+3][1].end),end:Object.assign({},l[a+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const h={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},l[l.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},h.start),end:Object.assign({},h.end)},d=[l[a+1],l[a+2],["enter",o,u],l[a+3],l[a+4],["enter",s,u],["exit",s,u],["enter",h,u],["enter",f,u],["exit",f,u],["exit",h,u],l[l.length-2],l[l.length-1],["exit",o,u]];return l.splice(a,l.length-a+1,...d),l}function KA(l,u,a){const o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let h=0,f;return d;function d(p){return l.enter("gfmFootnoteCall"),l.enter("gfmFootnoteCallLabelMarker"),l.consume(p),l.exit("gfmFootnoteCallLabelMarker"),v}function v(p){return p!==94?a(p):(l.enter("gfmFootnoteCallMarker"),l.consume(p),l.exit("gfmFootnoteCallMarker"),l.enter("gfmFootnoteCallString"),l.enter("chunkString").contentType="string",y)}function y(p){if(h>999||p===93&&!f||p===null||p===91||Zt(p))return a(p);if(p===93){l.exit("chunkString");const x=l.exit("gfmFootnoteCallString");return s.includes(Tn(o.sliceSerialize(x)))?(l.enter("gfmFootnoteCallLabelMarker"),l.consume(p),l.exit("gfmFootnoteCallLabelMarker"),l.exit("gfmFootnoteCall"),u):a(p)}return Zt(p)||(f=!0),h++,l.consume(p),p===92?g:y}function g(p){return p===91||p===92||p===93?(l.consume(p),h++,y):y(p)}}function JA(l,u,a){const o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let h,f=0,d;return v;function v(A){return l.enter("gfmFootnoteDefinition")._container=!0,l.enter("gfmFootnoteDefinitionLabel"),l.enter("gfmFootnoteDefinitionLabelMarker"),l.consume(A),l.exit("gfmFootnoteDefinitionLabelMarker"),y}function y(A){return A===94?(l.enter("gfmFootnoteDefinitionMarker"),l.consume(A),l.exit("gfmFootnoteDefinitionMarker"),l.enter("gfmFootnoteDefinitionLabelString"),l.enter("chunkString").contentType="string",g):a(A)}function g(A){if(f>999||A===93&&!d||A===null||A===91||Zt(A))return a(A);if(A===93){l.exit("chunkString");const U=l.exit("gfmFootnoteDefinitionLabelString");return h=Tn(o.sliceSerialize(U)),l.enter("gfmFootnoteDefinitionLabelMarker"),l.consume(A),l.exit("gfmFootnoteDefinitionLabelMarker"),l.exit("gfmFootnoteDefinitionLabel"),x}return Zt(A)||(d=!0),f++,l.consume(A),A===92?p:g}function p(A){return A===91||A===92||A===93?(l.consume(A),f++,g):g(A)}function x(A){return A===58?(l.enter("definitionMarker"),l.consume(A),l.exit("definitionMarker"),s.includes(h)||s.push(h),Ut(l,b,"gfmFootnoteDefinitionWhitespace")):a(A)}function b(A){return u(A)}}function FA(l,u,a){return l.check(du,u,l.attempt(GA,u,a))}function IA(l){l.exit("gfmFootnoteDefinition")}function $A(l,u,a){const o=this;return Ut(l,s,"gfmFootnoteDefinitionIndent",5);function s(h){const f=o.events[o.events.length-1];return f&&f[1].type==="gfmFootnoteDefinitionIndent"&&f[2].sliceSerialize(f[1],!0).length===4?u(h):a(h)}}function PA(l){let a=(l||{}).singleTilde;const o={name:"strikethrough",tokenize:h,resolveAll:s};return a==null&&(a=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function s(f,d){let v=-1;for(;++v<f.length;)if(f[v][0]==="enter"&&f[v][1].type==="strikethroughSequenceTemporary"&&f[v][1]._close){let y=v;for(;y--;)if(f[y][0]==="exit"&&f[y][1].type==="strikethroughSequenceTemporary"&&f[y][1]._open&&f[v][1].end.offset-f[v][1].start.offset===f[y][1].end.offset-f[y][1].start.offset){f[v][1].type="strikethroughSequence",f[y][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},f[y][1].start),end:Object.assign({},f[v][1].end)},p={type:"strikethroughText",start:Object.assign({},f[y][1].end),end:Object.assign({},f[v][1].start)},x=[["enter",g,d],["enter",f[y][1],d],["exit",f[y][1],d],["enter",p,d]],b=d.parser.constructs.insideSpan.null;b&&En(x,x.length,0,lo(b,f.slice(y+1,v),d)),En(x,x.length,0,[["exit",p,d],["enter",f[v][1],d],["exit",f[v][1],d],["exit",g,d]]),En(f,y-1,v-y+3,x),v=y+x.length-2;break}}for(v=-1;++v<f.length;)f[v][1].type==="strikethroughSequenceTemporary"&&(f[v][1].type="data");return f}function h(f,d,v){const y=this.previous,g=this.events;let p=0;return x;function x(A){return y===126&&g[g.length-1][1].type!=="characterEscape"?v(A):(f.enter("strikethroughSequenceTemporary"),b(A))}function b(A){const U=Wr(y);if(A===126)return p>1?v(A):(f.consume(A),p++,b);if(p<2&&!a)return v(A);const B=f.exit("strikethroughSequenceTemporary"),M=Wr(A);return B._open=!M||M===2&&!!U,B._close=!U||U===2&&!!M,d(A)}}}class WA{constructor(){this.map=[],this.index=new Map}add(u,a,o){tz(this,u,a,o)}consume(u){if(this.map.sort(function(h,f){return h[0]-f[0]}),this.map.length===0)return;let a=this.map.length;const o=[];for(;a>0;)a-=1,o.push(u.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),u.length=this.map[a][0];o.push(u.slice()),u.length=0;let s=o.pop();for(;s;){for(const h of s)u.push(h);s=o.pop()}this.map.length=0,this.index.clear()}}function tz(l,u,a,o){if(a===0&&o.length===0)return;const s=l.index.get(u);if(s){s[1]+=a,s[2].push(...o);return}const h=[u,a,o];l.map.push(h),l.index.set(u,h)}function ez(l,u){let a=!1;const o=[];for(;u<l.length;){const s=l[u];if(a){if(s[0]==="enter")s[1].type==="tableContent"&&o.push(l[u+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(l[u-1][1].type==="tableDelimiterMarker"){const h=o.length-1;o[h]=o[h]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(a=!0);u+=1}return o}function nz(){return{flow:{null:{name:"table",tokenize:lz,resolveAll:iz}}}}function lz(l,u,a){const o=this;let s=0,h=0,f;return d;function d(j){let $=o.events.length-1;for(;$>-1;){const{type:ot}=o.events[$][1];if(ot==="lineEnding"||ot==="linePrefix")$--;else break}const lt=$>-1?o.events[$][1].type:null,Et=lt==="tableHead"||lt==="tableRow"?H:v;return Et===H&&o.parser.lazy[o.now().line]?a(j):Et(j)}function v(j){return l.enter("tableHead"),l.enter("tableRow"),y(j)}function y(j){return j===124||(f=!0,h+=1),g(j)}function g(j){return j===null?a(j):dt(j)?h>1?(h=0,o.interrupt=!0,l.exit("tableRow"),l.enter("lineEnding"),l.consume(j),l.exit("lineEnding"),b):a(j):zt(j)?Ut(l,g,"whitespace")(j):(h+=1,f&&(f=!1,s+=1),j===124?(l.enter("tableCellDivider"),l.consume(j),l.exit("tableCellDivider"),f=!0,g):(l.enter("data"),p(j)))}function p(j){return j===null||j===124||Zt(j)?(l.exit("data"),g(j)):(l.consume(j),j===92?x:p)}function x(j){return j===92||j===124?(l.consume(j),p):p(j)}function b(j){return o.interrupt=!1,o.parser.lazy[o.now().line]?a(j):(l.enter("tableDelimiterRow"),f=!1,zt(j)?Ut(l,A,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):A(j))}function A(j){return j===45||j===58?B(j):j===124?(f=!0,l.enter("tableCellDivider"),l.consume(j),l.exit("tableCellDivider"),U):rt(j)}function U(j){return zt(j)?Ut(l,B,"whitespace")(j):B(j)}function B(j){return j===58?(h+=1,f=!0,l.enter("tableDelimiterMarker"),l.consume(j),l.exit("tableDelimiterMarker"),M):j===45?(h+=1,M(j)):j===null||dt(j)?st(j):rt(j)}function M(j){return j===45?(l.enter("tableDelimiterFiller"),V(j)):rt(j)}function V(j){return j===45?(l.consume(j),V):j===58?(f=!0,l.exit("tableDelimiterFiller"),l.enter("tableDelimiterMarker"),l.consume(j),l.exit("tableDelimiterMarker"),Q):(l.exit("tableDelimiterFiller"),Q(j))}function Q(j){return zt(j)?Ut(l,st,"whitespace")(j):st(j)}function st(j){return j===124?A(j):j===null||dt(j)?!f||s!==h?rt(j):(l.exit("tableDelimiterRow"),l.exit("tableHead"),u(j)):rt(j)}function rt(j){return a(j)}function H(j){return l.enter("tableRow"),F(j)}function F(j){return j===124?(l.enter("tableCellDivider"),l.consume(j),l.exit("tableCellDivider"),F):j===null||dt(j)?(l.exit("tableRow"),u(j)):zt(j)?Ut(l,F,"whitespace")(j):(l.enter("data"),tt(j))}function tt(j){return j===null||j===124||Zt(j)?(l.exit("data"),F(j)):(l.consume(j),j===92?kt:tt)}function kt(j){return j===92||j===124?(l.consume(j),tt):tt(j)}}function iz(l,u){let a=-1,o=!0,s=0,h=[0,0,0,0],f=[0,0,0,0],d=!1,v=0,y,g,p;const x=new WA;for(;++a<l.length;){const b=l[a],A=b[1];b[0]==="enter"?A.type==="tableHead"?(d=!1,v!==0&&(hy(x,u,v,y,g),g=void 0,v=0),y={type:"table",start:Object.assign({},A.start),end:Object.assign({},A.end)},x.add(a,0,[["enter",y,u]])):A.type==="tableRow"||A.type==="tableDelimiterRow"?(o=!0,p=void 0,h=[0,0,0,0],f=[0,a+1,0,0],d&&(d=!1,g={type:"tableBody",start:Object.assign({},A.start),end:Object.assign({},A.end)},x.add(a,0,[["enter",g,u]])),s=A.type==="tableDelimiterRow"?2:g?3:1):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")?(o=!1,f[2]===0&&(h[1]!==0&&(f[0]=f[1],p=Jr(x,u,h,s,void 0,p),h=[0,0,0,0]),f[2]=a)):A.type==="tableCellDivider"&&(o?o=!1:(h[1]!==0&&(f[0]=f[1],p=Jr(x,u,h,s,void 0,p)),h=f,f=[h[1],a,0,0])):A.type==="tableHead"?(d=!0,v=a):A.type==="tableRow"||A.type==="tableDelimiterRow"?(v=a,h[1]!==0?(f[0]=f[1],p=Jr(x,u,h,s,a,p)):f[1]!==0&&(p=Jr(x,u,f,s,a,p)),s=0):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(f[3]=a)}for(v!==0&&hy(x,u,v,y,g),x.consume(u.events),a=-1;++a<u.events.length;){const b=u.events[a];b[0]==="enter"&&b[1].type==="table"&&(b[1]._align=ez(u.events,a))}return l}function Jr(l,u,a,o,s,h){const f=o===1?"tableHeader":o===2?"tableDelimiter":"tableData",d="tableContent";a[0]!==0&&(h.end=Object.assign({},la(u.events,a[0])),l.add(a[0],0,[["exit",h,u]]));const v=la(u.events,a[1]);if(h={type:f,start:Object.assign({},v),end:Object.assign({},v)},l.add(a[1],0,[["enter",h,u]]),a[2]!==0){const y=la(u.events,a[2]),g=la(u.events,a[3]),p={type:d,start:Object.assign({},y),end:Object.assign({},g)};if(l.add(a[2],0,[["enter",p,u]]),o!==2){const x=u.events[a[2]],b=u.events[a[3]];if(x[1].end=Object.assign({},b[1].end),x[1].type="chunkText",x[1].contentType="text",a[3]>a[2]+1){const A=a[2]+1,U=a[3]-a[2]-1;l.add(A,U,[])}}l.add(a[3]+1,0,[["exit",p,u]])}return s!==void 0&&(h.end=Object.assign({},la(u.events,s)),l.add(s,0,[["exit",h,u]]),h=void 0),h}function hy(l,u,a,o,s){const h=[],f=la(u.events,a);s&&(s.end=Object.assign({},f),h.push(["exit",s,u])),o.end=Object.assign({},f),h.push(["exit",o,u]),l.add(a+1,0,h)}function la(l,u){const a=l[u],o=a[0]==="enter"?"start":"end";return a[1][o]}const az={name:"tasklistCheck",tokenize:rz};function uz(){return{text:{91:az}}}function rz(l,u,a){const o=this;return s;function s(v){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?a(v):(l.enter("taskListCheck"),l.enter("taskListCheckMarker"),l.consume(v),l.exit("taskListCheckMarker"),h)}function h(v){return Zt(v)?(l.enter("taskListCheckValueUnchecked"),l.consume(v),l.exit("taskListCheckValueUnchecked"),f):v===88||v===120?(l.enter("taskListCheckValueChecked"),l.consume(v),l.exit("taskListCheckValueChecked"),f):a(v)}function f(v){return v===93?(l.enter("taskListCheckMarker"),l.consume(v),l.exit("taskListCheckMarker"),l.exit("taskListCheck"),d):a(v)}function d(v){return dt(v)?u(v):zt(v)?l.check({tokenize:oz},u,a)(v):a(v)}}function oz(l,u,a){return Ut(l,o,"whitespace");function o(s){return s===null?a(s):u(s)}}function cz(l){return Dy([RA(),XA(),PA(l),nz(),uz()])}const sz={};function fz(l){const u=this,a=l||sz,o=u.data(),s=o.micromarkExtensions||(o.micromarkExtensions=[]),h=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),f=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);s.push(cz(a)),h.push(NA()),f.push(DA(a))}const hz={a:({href:l,children:u})=>G.jsx("a",{href:l,target:"_blank",rel:"noreferrer noopener",children:u}),img:({alt:l})=>G.jsxs("span",{className:"imagen-omitida",children:["[",l===void 0||l===""?"imagen":l,"]"]}),table:({children:l})=>G.jsx("div",{className:"tabla",children:G.jsx("table",{children:l})})};function dz({texto:l}){return G.jsx("div",{className:"markdown",children:G.jsx(JT,{remarkPlugins:[fz],components:hz,children:l})})}const mz=new Set(["razonamiento","fase","fin","verificacion","propuesta-de-tareas","propuesta-resuelta"]);function pz({actos:l,alElegir:u}){return G.jsx("ol",{className:"chat",children:l.map((a,o)=>{if(mz.has(a.tipo))return null;if(a.tipo==="usuario")return G.jsx("li",{className:"usuario",children:String(a.texto)},o);if(a.tipo==="asistente")return G.jsx("li",{className:"asistente",children:G.jsx(dz,{texto:String(a.texto)})},o);if(a.tipo==="sistema")return G.jsx("li",{className:"sistema",children:String(a.texto)},o);if(a.tipo==="herramientas"&&Array.isArray(a.lineas)&&a.lineas.length>0){const[s,...h]=a.lineas;return G.jsx("li",{className:"herramientas",children:h.length>0?`${s} +${h.length}`:s},o)}return a.tipo==="consulta"&&Array.isArray(a.opciones)?G.jsxs("li",{className:"consulta",children:[G.jsx("p",{children:String(a.pregunta)}),a.opciones.map(s=>G.jsx("button",{type:"button",onClick:()=>u(s),children:s},s))]},o):null})})}function S0({aprobacion:l,alDecidir:u,titulo:a,soloRechazar:o}){const[s,h]=Me.useState(!1),[f,d]=Me.useState(!1),v=y=>{s||(h(!0),d(!1),u(y).catch(()=>{d(!0),h(!1)}))};return G.jsxs("section",{className:"aprobacion","aria-label":"Aprobación pendiente",children:[G.jsx("h2",{children:a??"Esperan tu aprobación"}),l.pendientes.map(y=>G.jsxs("article",{children:[G.jsx("h3",{children:l.ficheros[y.id]??y.descripcion}),G.jsx("p",{className:"origen",children:y.origen}),G.jsx("pre",{className:"diff",children:(l.diffs[y.id]??[]).map((g,p)=>G.jsx("div",{className:g.tipo,children:g.tipo==="anadido"?`+ ${g.texto}`:g.tipo==="quitado"?`- ${g.texto}`:` ${g.texto}`},p))})]},y.id)),f?G.jsx("p",{className:"fallo",children:"No se pudo enviar. Vuelve a intentarlo."}):null,o===!0?G.jsx("p",{className:"tenue",children:"Recortada: apruébala en el escritorio con esa consola delante."}):null,G.jsxs("div",{className:"acciones",children:[G.jsx("button",{type:"button",onClick:()=>v("reject"),disabled:s,children:"Rechazar"}),o===!0?null:G.jsx("button",{type:"button",className:"primario",onClick:()=>v("approve"),disabled:s,children:"Aceptar"})]})]})}function gz({texto:l,alContestar:u}){const[a,o]=Me.useState(""),[s,h]=Me.useState(!1),[f,d]=Me.useState(!1),v=()=>{s||(h(!0),d(!1),u(a).catch(()=>{d(!0),h(!1)}))};return G.jsxs("section",{className:"pregunta",children:[G.jsxs("label",{children:[l,G.jsx("input",{value:a,onChange:y=>o(y.target.value)})]}),f?G.jsx("p",{className:"fallo",children:"No se pudo enviar. Vuelve a intentarlo."}):null,G.jsx("button",{type:"button",onClick:v,disabled:s,children:"Contestar"})]})}function yz({alEnviar:l}){const[u,a]=Me.useState(""),[o,s]=Me.useState(!1),[h,f]=Me.useState(!1),d=()=>{const v=u.trim();v===""||o||(s(!0),f(!1),l(v).then(()=>{a(""),s(!1)},()=>{f(!0),s(!1)}))};return G.jsxs("form",{className:"compositor",onSubmit:v=>{v.preventDefault(),d()},children:[h?G.jsx("p",{className:"fallo",children:"No se pudo enviar. Vuelve a intentarlo."}):null,G.jsx("textarea",{"aria-label":"Mensaje",value:u,onChange:v=>{a(v.target.value),f(!1)},rows:1,placeholder:"Escribe a xonecode…"}),G.jsx("button",{type:"submit",className:"enviar",disabled:o,"aria-label":"Enviar",title:"Enviar",children:G.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20","aria-hidden":"true",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:G.jsx("path",{d:"M12 19V5M5 12l7-7 7 7"})})})]})}function vz({activa:l,alElegir:u,esperando:a}){return G.jsxs("nav",{className:"pestanas","aria-label":"Secciones",children:[G.jsx("button",{type:"button",role:"tab","aria-selected":l==="chat",className:l==="chat"?"activa":"",onClick:()=>u("chat"),children:"Chat"}),G.jsxs("button",{type:"button",role:"tab","aria-selected":l==="panel",className:l==="panel"?"activa":"",onClick:()=>u("panel"),children:["Panel",a>0?G.jsx("span",{className:"insignia","aria-label":`${a} esperando`,children:a}):null]})]})}function bz({tarea:l,alEnviarFeedback:u,alContinuar:a}){const[o,s]=Me.useState(""),[h,f]=Me.useState(!1),[d,v]=Me.useState(!1),y=p=>{h||(f(!0),v(!1),p().then(()=>f(!1),()=>{v(!0),f(!1)}))},g=o.trim()==="";return G.jsxs("article",{className:"tarea-que-espera","aria-label":`Tarea que espera: ${l.titulo}`,children:[G.jsx("h3",{children:l.titulo}),G.jsx("p",{className:"origen",children:l.proyecto}),l.motivo!==void 0?G.jsx("p",{className:"motivo",children:l.motivo}):null,G.jsx("textarea",{"aria-label":`Feedback para ${l.titulo}`,rows:3,value:o,placeholder:"Escribe tu feedback",onChange:p=>s(p.target.value)}),d?G.jsx("p",{className:"fallo",children:"No se pudo enviar. Vuelve a intentarlo."}):null,G.jsxs("div",{className:"acciones",children:[G.jsx("button",{type:"button",disabled:h||g,onClick:()=>y(async()=>{await u(o),s("")}),children:"Enviar"}),G.jsx("button",{type:"button",className:"primario",disabled:h,onClick:()=>y(a),children:"Continuar"})]})]})}const Sz={"esperando-aprobacion":{texto:"esperando aprobación",color:"rojo"},"esperando-respuesta":{texto:"esperando respuesta",color:"ambar"},trabajando:{texto:"trabajando",color:"verde"},parada:{texto:"parada",color:"gris"}};function af(l,u){if(l===void 0)return;const a=Date.parse(l);if(Number.isNaN(a))return;const o=Math.max(0,Math.round((u-a)/1e3));if(o<60)return"hace un momento";const s=Math.floor(o/60);if(s<60)return`hace ${s} min`;const h=Math.floor(s/60);return h<24?`hace ${h} h`:`hace ${Math.floor(h/24)} d`}const uf=l=>[l.proyecto,l.sesion].filter(u=>u!==void 0).join(" · ");function xz({panorama:l,alDecidir:u,alEnviarFeedback:a,alContinuar:o,ahora:s=Date.now()}){const h=l.consolas.filter(b=>b.aprobacion!==void 0&&b.aprobacion.pendientes.length>0),f=l.consolas.filter(b=>b.estado==="esperando-respuesta"&&!b.foco),d=l.tareas.filter(b=>b.estado==="requiere-atencion"),v=l.tareas.filter(b=>b.estado==="en-proceso"),y=l.tareas.filter(b=>b.estado==="nuevo"),g=l.tareas.filter(b=>b.estado==="terminada"),p=new Map(l.tareas.map(b=>[b.id,b.titulo])),x=h.length===0&&f.length===0&&d.length===0;return G.jsxs("div",{className:"panel",children:[G.jsxs("section",{"aria-label":"Te esperan",children:[G.jsx("h2",{children:"Te esperan"}),x?G.jsx("p",{className:"tenue",children:"Nada te espera."}):null,h.map(b=>{var A;return G.jsx(S0,{titulo:uf(b),aprobacion:b.aprobacion,soloRechazar:((A=b.aprobacion)==null?void 0:A.recortada)===!0,alDecidir:U=>u(b,U)},b.id)}),h.some(b=>{var A;return(A=b.aprobacion)==null?void 0:A.recortada})?G.jsx("p",{className:"tenue",children:"Algunos diffs vienen recortados: revísalos en el escritorio."}):null,d.map(b=>G.jsx(bz,{tarea:b,alEnviarFeedback:A=>a(b,A),alContinuar:()=>o(b)},b.id)),f.map(b=>G.jsxs("p",{className:"aviso-de-pregunta",children:[G.jsx("strong",{children:uf(b)}),": esperando tu respuesta — contéstala en el escritorio"]},b.id))]}),G.jsxs("section",{"aria-label":"Consolas",children:[G.jsx("h2",{children:"Consolas"}),l.consolas.length===0?G.jsx("p",{className:"tenue",children:"Sin consolas abiertas."}):null,G.jsx("ul",{className:"filas",children:l.consolas.map(b=>{const A=Sz[b.estado],U=af(b.ultimaActividad,s);return G.jsxs("li",{children:[G.jsx("span",{className:"fila-titulo",children:uf(b)}),G.jsx("span",{className:`estado ${A.color}`,children:A.texto}),U!==void 0?G.jsx("span",{className:"tenue",children:U}):null]},b.id)})})]}),G.jsxs("section",{"aria-label":"Tareas",children:[G.jsx("h2",{children:"Tareas"}),v.length+y.length+g.length===0&&d.length===0?G.jsx("p",{className:"tenue",children:"Sin tareas."}):null,G.jsxs("ul",{className:"filas",children:[v.map(b=>G.jsxs("li",{children:[G.jsx("span",{className:"fila-titulo",children:b.titulo}),G.jsx("span",{className:"estado verde",children:"en proceso"})]},b.id)),y.map(b=>G.jsxs("li",{children:[G.jsx("span",{className:"fila-titulo",children:b.titulo}),G.jsx("span",{className:"estado gris",children:"en cola"}),b.tras!==void 0?G.jsxs("span",{className:"tenue",children:["tras ",p.get(b.tras)??"otra tarea"]}):null]},b.id)),g.map(b=>G.jsxs("li",{children:[G.jsx("span",{className:"fila-titulo",children:b.titulo}),G.jsx("span",{className:"estado gris",children:"terminada"}),af(b.acabada,s)!==void 0?G.jsx("span",{className:"tenue",children:af(b.acabada,s)}):null]},b.id))]})]})]})}function Ez({estado:l,enviar:u,alContestado:a}){var y;const[o,s]=Me.useState("chat"),h=g=>u(g).catch(()=>{}),f=l.panorama,d=f!==void 0&&o==="panel",v=((y=l.aprobacion)==null?void 0:y.pendientes.map(g=>g.id))??[];return G.jsxs("main",{className:f===void 0?"pantalla":"pantalla con-pestanas",children:[G.jsx(Lb,{estado:l,alParar:()=>void h({clase:"cancelar"})}),d?G.jsx(xz,{panorama:f,alDecidir:async(g,p)=>{var b;const x=((b=g.aprobacion)==null?void 0:b.pendientes.map(A=>A.id))??[];await u({clase:"decision",decisiones:Object.fromEntries(x.map(A=>[A,p])),consola:g.id}),a==null||a("aprobacion-contestada",g.id)},alEnviarFeedback:(g,p)=>u({clase:"feedback",tarea:g.id,texto:p}),alContinuar:g=>u({clase:"continuar",tarea:g.id})}):G.jsxs(G.Fragment,{children:[l.aprobacion!==void 0?G.jsx(S0,{aprobacion:l.aprobacion,alDecidir:async g=>{await u({clase:"decision",decisiones:Object.fromEntries(v.map(p=>[p,g]))}),a==null||a("aprobacion-contestada")}}):null,l.pregunta!==void 0?G.jsx(gz,{texto:l.pregunta,alContestar:async g=>{await u({clase:"respuesta",texto:g}),a==null||a("pregunta-contestada")}}):null,G.jsx(pz,{actos:l.actos,alElegir:g=>void h({clase:"prosa",texto:g})}),G.jsx(yz,{alEnviar:g=>u(l.turno.activo&&l.turno.detenible?{clase:"prosa",texto:g,detener:!0}:{clase:"prosa",texto:g})})]}),f!==void 0?G.jsx(vz,{activa:o,alElegir:s,esperando:f.esperando}):null]})}function Tz({href:l,urlWs:u}){const[a,o]=Me.useState(py),s=Me.useRef(void 0);return Me.useEffect(()=>{let h=!0;return jb({href:l,urlWs:u,alCambiar:f=>h&&o(f)}).then(f=>{h?s.current=f:f.cerrar()},()=>h&&o(f=>gy(f,{conexion:"sin-cifrado"}))),()=>{var f;h=!1,(f=s.current)==null||f.cerrar()}},[l,u]),G.jsx(Ez,{estado:a,enviar:async h=>{if(s.current===void 0)throw new Error("sin conexión");await s.current.enviar(h)},alContestado:(h,f)=>{var d;return(d=s.current)==null?void 0:d.contestado(h,f)}})}const Az=location.href;history.replaceState(null,"",location.pathname);const zz=`${location.protocol==="https:"?"wss:":"ws:"}//${location.host}/ws`;Eb.createRoot(document.getElementById("raiz")).render(G.jsx(Tz,{href:Az,urlWs:zz}));
74
+ `))+1))}const h="#".repeat(s),d=u.enter("headingAtx"),v=u.enter("phrasing");f.move(h+" ");let g=u.containerPhrasing(l,{before:"# ",after:`
75
+ `,...f.current()});const y=g.charCodeAt(0);return(y===9||y===32)&&(g=tz(y)+g.slice(1)),g=g?h+" "+g:h,u.options.closeAtx&&(g+=" "+h),v(),d(),g}u0.peek=lz;function u0(l){return l.value||""}function lz(){return"<"}r0.peek=iz;function r0(l,a,u,o){const s=Lf(u),f=s==='"'?"Quote":"Apostrophe",h=u.enter("image");let d=u.enter("label");const v=u.createTracker(o);let g=v.move("![");return g+=v.move(u.safe(l.alt,{before:g,after:"]",...v.current()})),g+=v.move("]("),d(),!l.url&&l.title||/[\0- \u007F]/.test(l.url)?(d=u.enter("destinationLiteral"),g+=v.move("<"),g+=v.move(u.safe(l.url,{before:g,after:">",...v.current()})),g+=v.move(">")):(d=u.enter("destinationRaw"),g+=v.move(u.safe(l.url,{before:g,after:l.title?" ":")",...v.current()}))),d(),l.title&&(d=u.enter(`title${f}`),g+=v.move(" "+s),g+=v.move(u.safe(l.title,{before:g,after:s,...v.current()})),g+=v.move(s),d()),g+=v.move(")"),h(),g}function iz(){return"!"}o0.peek=az;function o0(l,a,u,o){const s=l.referenceType,f=u.enter("imageReference");let h=u.enter("label");const d=u.createTracker(o);let v=d.move("![");const g=u.safe(l.alt,{before:v,after:"]",...d.current()});v+=d.move(g+"]["),h();const y=u.stack;u.stack=y.filter(function(x){return x!=="phrasing"}),h=u.enter("reference");const p=u.safe(u.associationId(l),{before:v,after:"]",...d.current()});return h(),u.stack=y,f(),s==="full"||!g||g!==p?v+=d.move(p+"]"):s==="shortcut"?v=v.slice(0,-1):v+=d.move("]"),v}function az(){return"!"}c0.peek=uz;function c0(l,a,u){let o=l.value||"",s="`",f=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(o);)s+="`";for(/[^\n\r ]/.test(o)&&(/^[\n\r ]/.test(o)&&/[\n\r ]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++f<u.unsafe.length;){const h=u.unsafe[f],d=u.compilePattern(h);if(!h.atBreak)continue;let v;for(;v=d.exec(o);){let g=v.index;o.charCodeAt(g)===10&&o.charCodeAt(g-1)===13&&g--,o=o.slice(0,g)+" "+o.slice(v.index+1)}}return s+o+s}function uz(){return"`"}function s0(l,a){const u=_f(l);return!!(!a.options.resourceLink&&l.url&&!l.title&&l.children&&l.children.length===1&&l.children[0].type==="text"&&(u===l.url||"mailto:"+u===l.url)&&/^[a-z][+\-.a-z]+:/i.test(l.url)&&!/[\0- <>\u007F]/.test(l.url))}f0.peek=rz;function f0(l,a,u,o){const s=Lf(u),f=s==='"'?"Quote":"Apostrophe",h=u.createTracker(o);if(s0(l,u)){const y=u.stack;u.stack=y.filter(function(b){return b!=="phrasing"});const p=u.enter("autolink");let x=h.move("<");return x+=h.move(u.containerPhrasing(l,{before:x,after:">",...h.current()})),x+=h.move(">"),p(),u.stack=y,x}const d=u.enter("link");let v=u.enter("label"),g=h.move("[");return g+=h.move(u.containerPhrasing(l,{before:g,after:"](",...h.current()})),g+=h.move("]("),v(),!l.url&&l.title||/[\0- \u007F]/.test(l.url)?(v=u.enter("destinationLiteral"),g+=h.move("<"),g+=h.move(u.safe(l.url,{before:g,after:">",...h.current()})),g+=h.move(">")):(v=u.enter("destinationRaw"),g+=h.move(u.safe(l.url,{before:g,after:l.title?" ":")",...h.current()}))),v(),l.title&&(v=u.enter(`title${f}`),g+=h.move(" "+s),g+=h.move(u.safe(l.title,{before:g,after:s,...h.current()})),g+=h.move(s),v()),g+=h.move(")"),d(),g}function rz(l,a,u){return s0(l,u)?"<":"["}h0.peek=oz;function h0(l,a,u,o){const s=l.referenceType,f=u.enter("linkReference");let h=u.enter("label");const d=u.createTracker(o);let v=d.move("[");const g=u.containerPhrasing(l,{before:v,after:"]",...d.current()});v+=d.move(g+"]["),h();const y=u.stack;u.stack=y.filter(function(x){return x!=="phrasing"}),h=u.enter("reference");const p=u.safe(u.associationId(l),{before:v,after:"]",...d.current()});return h(),u.stack=y,f(),s==="full"||!g||g!==p?v+=d.move(p+"]"):s==="shortcut"?v=v.slice(0,-1):v+=d.move("]"),v}function oz(){return"["}function Hf(l){const a=l.options.bullet||"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bullet`, expected `*`, `+`, or `-`");return a}function cz(l){const a=Hf(l),u=l.options.bulletOther;if(!u)return a==="*"?"-":"*";if(u!=="*"&&u!=="+"&&u!=="-")throw new Error("Cannot serialize items with `"+u+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(u===a)throw new Error("Expected `bullet` (`"+a+"`) and `bulletOther` (`"+u+"`) to be different");return u}function sz(l){const a=l.options.bulletOrdered||".";if(a!=="."&&a!==")")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOrdered`, expected `.` or `)`");return a}function d0(l){const a=l.options.rule||"*";if(a!=="*"&&a!=="-"&&a!=="_")throw new Error("Cannot serialize rules with `"+a+"` for `options.rule`, expected `*`, `-`, or `_`");return a}function fz(l,a,u,o){const s=u.enter("list"),f=u.bulletCurrent;let h=l.ordered?sz(u):Hf(u);const d=l.ordered?h==="."?")":".":cz(u);let v=a&&u.bulletLastUsed?h===u.bulletLastUsed:!1;if(!l.ordered){const y=l.children?l.children[0]:void 0;if((h==="*"||h==="-")&&y&&(!y.children||!y.children[0])&&u.stack[u.stack.length-1]==="list"&&u.stack[u.stack.length-2]==="listItem"&&u.stack[u.stack.length-3]==="list"&&u.stack[u.stack.length-4]==="listItem"&&u.indexStack[u.indexStack.length-1]===0&&u.indexStack[u.indexStack.length-2]===0&&u.indexStack[u.indexStack.length-3]===0&&(v=!0),d0(u)===h&&y){let p=-1;for(;++p<l.children.length;){const x=l.children[p];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){v=!0;break}}}}v&&(h=d),u.bulletCurrent=h;const g=u.containerFlow(l,o);return u.bulletLastUsed=h,u.bulletCurrent=f,s(),g}function hz(l){const a=l.options.listItemIndent||"one";if(a!=="tab"&&a!=="one"&&a!=="mixed")throw new Error("Cannot serialize items with `"+a+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return a}function dz(l,a,u,o){const s=hz(u);let f=u.bulletCurrent||Hf(u);a&&a.type==="list"&&a.ordered&&(f=(typeof a.start=="number"&&a.start>-1?a.start:1)+(u.options.incrementListMarker===!1?0:a.children.indexOf(l))+f);let h=f.length+1;(s==="tab"||s==="mixed"&&(a&&a.type==="list"&&a.spread||l.spread))&&(h=Math.ceil(h/4)*4);const d=u.createTracker(o);d.move(f+" ".repeat(h-f.length)),d.shift(h);const v=u.enter("listItem"),g=u.indentLines(u.containerFlow(l,d.current()),y);return v(),g;function y(p,x,b){return x?(b?"":" ".repeat(h))+p:(b?f:f+" ".repeat(h-f.length))+p}}function mz(l,a,u,o){const s=u.enter("paragraph"),f=u.enter("phrasing"),h=u.containerPhrasing(l,o);return f(),s(),h}function pz(l,a,u,o){if(!l.children.some(function(d){return Y2(d)}))return u.containerFlow(l,o);const f=u.enter("phrasing"),h=u.containerPhrasing(l,o);return f(),h}function gz(l){const a=l.options.strong||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize strong with `"+a+"` for `options.strong`, expected `*`, or `_`");return a}qf.attention=yz;qf.peek=vz;function qf(l,a,u,o){const s=u.enter("phrasing"),f=u.containerPhrasing({type:"root",children:[l]},o);return s(),f}function yz(l,a){return{construct:"strong",markers:gz(a)==="*"?["*","_"]:["_","*"],sizes:[2]}}function vz(l,a,u){return u.options.strong||"*"}function bz(l,a,u,o){const s=a?a.children:[],f=s.indexOf(l);return u.safe(l.value,{...o,afterNode:s[f+1],beforeNode:s[f-1]})}function Sz(l){const a=l.options.ruleRepetition||3;if(a<3)throw new Error("Cannot serialize rules with repetition `"+a+"` for `options.ruleRepetition`, expected `3` or more");return a}function xz(l,a,u){const o=(d0(u)+(u.options.ruleSpaces?" ":"")).repeat(Sz(u));return u.options.ruleSpaces?o.slice(0,-1):o}const m0={blockquote:V2,break:sy,code:J2,definition:I2,emphasis:Bf,hardBreak:sy,heading:nz,html:u0,image:r0,imageReference:o0,inlineCode:c0,link:f0,linkReference:h0,list:fz,listItem:dz,paragraph:mz,root:pz,strong:qf,text:bz,thematicBreak:xz};function Ez(){return{enter:{table:Tz,tableData:fy,tableHeader:fy,tableRow:Az},exit:{codeText:Cz,table:zz,tableData:lf,tableHeader:lf,tableRow:lf}}}function Tz(l){const a=l._align;this.enter({type:"table",align:a.map(function(u){return u==="none"?null:u}),children:[]},l),this.data.inTable=!0}function zz(l){this.exit(l),this.data.inTable=void 0}function Az(l){this.enter({type:"tableRow",children:[]},l)}function lf(l){this.exit(l)}function fy(l){this.enter({type:"tableCell",children:[]},l)}function Cz(l){let a=this.resume();this.data.inTable&&(a=a.replace(/\\([\\|])/g,_z));const u=this.stack[this.stack.length-1];u.type,u.value=a,this.exit(l)}function _z(l,a){return a==="|"?a:l}function Oz(l){const a=l||{},u=a.tableCellPadding,o=a.tablePipeAlign,s=a.stringLength,f=u?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
76
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:h,tableCell:v,tableRow:d}};function h(b,z,U,B){return g(y(b,U,B),b.align)}function d(b,z,U,B){const M=p(b,U,B),G=g([M]);return G.slice(0,G.indexOf(`
77
+ `))}function v(b,z,U,B){const M=U.enter("tableCell"),G=U.enter("phrasing"),Q=U.containerPhrasing(b,{...B,before:f,after:f});return G(),M(),Q}function g(b,z){return H2(b,{align:z,alignDelimiters:o,padding:u,stringLength:s})}function y(b,z,U){const B=b.children;let M=-1;const G=[],Q=z.enter("table");for(;++M<B.length;)G[M]=p(B[M],z,U);return Q(),G}function p(b,z,U){const B=b.children;let M=-1;const G=[],Q=z.enter("tableRow");for(;++M<B.length;)G[M]=v(B[M],b,z,U);return Q(),G}function x(b,z,U){let B=m0.inlineCode(b,z,U);return U.stack.includes("tableCell")&&(B=B.replace(/\|/g,"\\$&")),B}}function wz(){return{exit:{taskListCheckValueChecked:hy,taskListCheckValueUnchecked:hy,paragraph:Dz}}}function Nz(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:kz}}}function hy(l){const a=this.stack[this.stack.length-2];a.type,a.checked=l.type==="taskListCheckValueChecked"}function Dz(l){const a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){const u=this.stack[this.stack.length-1];u.type;const o=u.children[0];if(o&&o.type==="text"){const s=a.children;let f=-1,h;for(;++f<s.length;){const d=s[f];if(d.type==="paragraph"){h=d;break}}h===u&&(o.value=o.value.slice(1),o.value.length===0?u.children.shift():u.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,u.position.start=Object.assign({},o.position.start)))}}this.exit(l)}function kz(l,a,u,o){const s=l.children[0],f=typeof l.checked=="boolean"&&s&&s.type==="paragraph",h="["+(l.checked?"x":" ")+"] ",d=u.createTracker(o);f&&d.move(h);let v=m0.listItem(l,a,u,{...o,...d.current()});return f&&(v=v.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,g)),v;function g(y){return y+h}}function Mz(){return[r2(),O2(),k2(),Ez(),wz()]}function Rz(l){return{extensions:[o2(),w2(l),M2(),Oz(l),Nz()]}}const Uz={tokenize:Yz,partial:!0},p0={tokenize:Vz,partial:!0},g0={tokenize:Gz,partial:!0},y0={tokenize:Xz,partial:!0},jz={tokenize:Qz,partial:!0},v0={name:"wwwAutolink",tokenize:Hz,previous:S0},b0={name:"protocolAutolink",tokenize:qz,previous:x0},nl={name:"emailAutolink",tokenize:Bz,previous:E0},jn={};function Lz(){return{text:jn}}let ai=48;for(;ai<123;)jn[ai]=nl,ai++,ai===58?ai=65:ai===91&&(ai=97);jn[43]=nl;jn[45]=nl;jn[46]=nl;jn[95]=nl;jn[72]=[nl,b0];jn[104]=[nl,b0];jn[87]=[nl,v0];jn[119]=[nl,v0];function Bz(l,a,u){const o=this;let s,f;return h;function h(p){return!vf(p)||!E0.call(o,o.previous)||Yf(o.events)?u(p):(l.enter("literalAutolink"),l.enter("literalAutolinkEmail"),d(p))}function d(p){return vf(p)?(l.consume(p),d):p===64?(l.consume(p),v):u(p)}function v(p){return p===46?l.check(jz,y,g)(p):p===45||p===95||Ce(p)?(f=!0,l.consume(p),v):y(p)}function g(p){return l.consume(p),s=!0,v}function y(p){return f&&s&&Me(o.previous)?(l.exit("literalAutolinkEmail"),l.exit("literalAutolink"),a(p)):u(p)}}function Hz(l,a,u){const o=this;return s;function s(h){return h!==87&&h!==119||!S0.call(o,o.previous)||Yf(o.events)?u(h):(l.enter("literalAutolink"),l.enter("literalAutolinkWww"),l.check(Uz,l.attempt(p0,l.attempt(g0,f),u),u)(h))}function f(h){return l.exit("literalAutolinkWww"),l.exit("literalAutolink"),a(h)}}function qz(l,a,u){const o=this;let s="",f=!1;return h;function h(p){return(p===72||p===104)&&x0.call(o,o.previous)&&!Yf(o.events)?(l.enter("literalAutolink"),l.enter("literalAutolinkHttp"),s+=String.fromCodePoint(p),l.consume(p),d):u(p)}function d(p){if(Me(p)&&s.length<5)return s+=String.fromCodePoint(p),l.consume(p),d;if(p===58){const x=s.toLowerCase();if(x==="http"||x==="https")return l.consume(p),v}return u(p)}function v(p){return p===47?(l.consume(p),f?g:(f=!0,v)):u(p)}function g(p){return p===null||$r(p)||Kt(p)||oi(p)||no(p)?u(p):l.attempt(p0,l.attempt(g0,y),u)(p)}function y(p){return l.exit("literalAutolinkHttp"),l.exit("literalAutolink"),a(p)}}function Yz(l,a,u){let o=0;return s;function s(h){return(h===87||h===119)&&o<3?(o++,l.consume(h),s):h===46&&o===3?(l.consume(h),f):u(h)}function f(h){return h===null?u(h):a(h)}}function Vz(l,a,u){let o,s,f;return h;function h(g){return g===46||g===95?l.check(y0,v,d)(g):g===null||Kt(g)||oi(g)||g!==45&&no(g)?v(g):(f=!0,l.consume(g),h)}function d(g){return g===95?o=!0:(s=o,o=void 0),l.consume(g),h}function v(g){return s||o||!f?u(g):a(g)}}function Gz(l,a){let u=0,o=0;return s;function s(h){return h===40?(u++,l.consume(h),s):h===41&&o<u?f(h):h===33||h===34||h===38||h===39||h===41||h===42||h===44||h===46||h===58||h===59||h===60||h===63||h===93||h===95||h===126?l.check(y0,a,f)(h):h===null||Kt(h)||oi(h)?a(h):(l.consume(h),s)}function f(h){return h===41&&o++,l.consume(h),s}}function Xz(l,a,u){return o;function o(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(l.consume(d),o):d===38?(l.consume(d),f):d===93?(l.consume(d),s):d===60||d===null||Kt(d)||oi(d)?a(d):u(d)}function s(d){return d===null||d===40||d===91||Kt(d)||oi(d)?a(d):o(d)}function f(d){return Me(d)?h(d):u(d)}function h(d){return d===59?(l.consume(d),o):Me(d)?(l.consume(d),h):u(d)}}function Qz(l,a,u){return o;function o(f){return l.consume(f),s}function s(f){return Ce(f)?u(f):a(f)}}function S0(l){return l===null||l===40||l===42||l===95||l===91||l===93||l===126||Kt(l)}function x0(l){return!Me(l)}function E0(l){return!(l===47||vf(l))}function vf(l){return l===43||l===45||l===46||l===95||Ce(l)}function Yf(l){let a=l.length,u=!1;for(;a--;){const o=l[a][1];if((o.type==="labelLink"||o.type==="labelImage")&&!o._balanced){u=!0;break}if(o._gfmAutolinkLiteralWalkedInto){u=!1;break}}return l.length>0&&!u&&(l[l.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),u}const Zz={tokenize:tA,partial:!0};function Kz(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:$z,continuation:{tokenize:Pz},exit:Wz}},text:{91:{name:"gfmFootnoteCall",tokenize:Iz},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Jz,resolveTo:Fz}}}}function Jz(l,a,u){const o=this;let s=o.events.length;const f=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let h;for(;s--;){const v=o.events[s][1];if(v.type==="labelImage"){h=v;break}if(v.type==="gfmFootnoteCall"||v.type==="labelLink"||v.type==="label"||v.type==="image"||v.type==="link")break}return d;function d(v){if(!h||!h._balanced)return u(v);const g=Tn(o.sliceSerialize({start:h.end,end:o.now()}));return g.codePointAt(0)!==94||!f.includes(g.slice(1))?u(v):(l.enter("gfmFootnoteCallLabelMarker"),l.consume(v),l.exit("gfmFootnoteCallLabelMarker"),a(v))}}function Fz(l,a){let u=l.length;for(;u--;)if(l[u][1].type==="labelImage"&&l[u][0]==="enter"){l[u][1];break}l[u+1][1].type="data",l[u+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},l[u+3][1].start),end:Object.assign({},l[l.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},l[u+3][1].end),end:Object.assign({},l[u+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const f={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},l[l.length-1][1].start)},h={type:"chunkString",contentType:"string",start:Object.assign({},f.start),end:Object.assign({},f.end)},d=[l[u+1],l[u+2],["enter",o,a],l[u+3],l[u+4],["enter",s,a],["exit",s,a],["enter",f,a],["enter",h,a],["exit",h,a],["exit",f,a],l[l.length-2],l[l.length-1],["exit",o,a]];return l.splice(u,l.length-u+1,...d),l}function Iz(l,a,u){const o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let f=0,h;return d;function d(p){return l.enter("gfmFootnoteCall"),l.enter("gfmFootnoteCallLabelMarker"),l.consume(p),l.exit("gfmFootnoteCallLabelMarker"),v}function v(p){return p!==94?u(p):(l.enter("gfmFootnoteCallMarker"),l.consume(p),l.exit("gfmFootnoteCallMarker"),l.enter("gfmFootnoteCallString"),l.enter("chunkString").contentType="string",g)}function g(p){if(f>999||p===93&&!h||p===null||p===91||Kt(p))return u(p);if(p===93){l.exit("chunkString");const x=l.exit("gfmFootnoteCallString");return s.includes(Tn(o.sliceSerialize(x)))?(l.enter("gfmFootnoteCallLabelMarker"),l.consume(p),l.exit("gfmFootnoteCallLabelMarker"),l.exit("gfmFootnoteCall"),a):u(p)}return Kt(p)||(h=!0),f++,l.consume(p),p===92?y:g}function y(p){return p===91||p===92||p===93?(l.consume(p),f++,g):g(p)}}function $z(l,a,u){const o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let f,h=0,d;return v;function v(z){return l.enter("gfmFootnoteDefinition")._container=!0,l.enter("gfmFootnoteDefinitionLabel"),l.enter("gfmFootnoteDefinitionLabelMarker"),l.consume(z),l.exit("gfmFootnoteDefinitionLabelMarker"),g}function g(z){return z===94?(l.enter("gfmFootnoteDefinitionMarker"),l.consume(z),l.exit("gfmFootnoteDefinitionMarker"),l.enter("gfmFootnoteDefinitionLabelString"),l.enter("chunkString").contentType="string",y):u(z)}function y(z){if(h>999||z===93&&!d||z===null||z===91||Kt(z))return u(z);if(z===93){l.exit("chunkString");const U=l.exit("gfmFootnoteDefinitionLabelString");return f=Tn(o.sliceSerialize(U)),l.enter("gfmFootnoteDefinitionLabelMarker"),l.consume(z),l.exit("gfmFootnoteDefinitionLabelMarker"),l.exit("gfmFootnoteDefinitionLabel"),x}return Kt(z)||(d=!0),h++,l.consume(z),z===92?p:y}function p(z){return z===91||z===92||z===93?(l.consume(z),h++,y):y(z)}function x(z){return z===58?(l.enter("definitionMarker"),l.consume(z),l.exit("definitionMarker"),s.includes(f)||s.push(f),Ut(l,b,"gfmFootnoteDefinitionWhitespace")):u(z)}function b(z){return a(z)}}function Pz(l,a,u){return l.check(du,a,l.attempt(Zz,a,u))}function Wz(l){l.exit("gfmFootnoteDefinition")}function tA(l,a,u){const o=this;return Ut(l,s,"gfmFootnoteDefinitionIndent",5);function s(f){const h=o.events[o.events.length-1];return h&&h[1].type==="gfmFootnoteDefinitionIndent"&&h[2].sliceSerialize(h[1],!0).length===4?a(f):u(f)}}function eA(l){let u=(l||{}).singleTilde;const o={name:"strikethrough",tokenize:f,resolveAll:s};return u==null&&(u=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function s(h,d){let v=-1;for(;++v<h.length;)if(h[v][0]==="enter"&&h[v][1].type==="strikethroughSequenceTemporary"&&h[v][1]._close){let g=v;for(;g--;)if(h[g][0]==="exit"&&h[g][1].type==="strikethroughSequenceTemporary"&&h[g][1]._open&&h[v][1].end.offset-h[v][1].start.offset===h[g][1].end.offset-h[g][1].start.offset){h[v][1].type="strikethroughSequence",h[g][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},h[g][1].start),end:Object.assign({},h[v][1].end)},p={type:"strikethroughText",start:Object.assign({},h[g][1].end),end:Object.assign({},h[v][1].start)},x=[["enter",y,d],["enter",h[g][1],d],["exit",h[g][1],d],["enter",p,d]],b=d.parser.constructs.insideSpan.null;b&&En(x,x.length,0,lo(b,h.slice(g+1,v),d)),En(x,x.length,0,[["exit",p,d],["enter",h[v][1],d],["exit",h[v][1],d],["exit",y,d]]),En(h,g-1,v-g+3,x),v=g+x.length-2;break}}for(v=-1;++v<h.length;)h[v][1].type==="strikethroughSequenceTemporary"&&(h[v][1].type="data");return h}function f(h,d,v){const g=this.previous,y=this.events;let p=0;return x;function x(z){return g===126&&y[y.length-1][1].type!=="characterEscape"?v(z):(h.enter("strikethroughSequenceTemporary"),b(z))}function b(z){const U=Wr(g);if(z===126)return p>1?v(z):(h.consume(z),p++,b);if(p<2&&!u)return v(z);const B=h.exit("strikethroughSequenceTemporary"),M=Wr(z);return B._open=!M||M===2&&!!U,B._close=!U||U===2&&!!M,d(z)}}}class nA{constructor(){this.map=[],this.index=new Map}add(a,u,o){lA(this,a,u,o)}consume(a){if(this.map.sort(function(f,h){return f[0]-h[0]}),this.map.length===0)return;let u=this.map.length;const o=[];for(;u>0;)u-=1,o.push(a.slice(this.map[u][0]+this.map[u][1]),this.map[u][2]),a.length=this.map[u][0];o.push(a.slice()),a.length=0;let s=o.pop();for(;s;){for(const f of s)a.push(f);s=o.pop()}this.map.length=0,this.index.clear()}}function lA(l,a,u,o){if(u===0&&o.length===0)return;const s=l.index.get(a);if(s){s[1]+=u,s[2].push(...o);return}const f=[a,u,o];l.map.push(f),l.index.set(a,f)}function iA(l,a){let u=!1;const o=[];for(;a<l.length;){const s=l[a];if(u){if(s[0]==="enter")s[1].type==="tableContent"&&o.push(l[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(l[a-1][1].type==="tableDelimiterMarker"){const f=o.length-1;o[f]=o[f]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(u=!0);a+=1}return o}function aA(){return{flow:{null:{name:"table",tokenize:uA,resolveAll:rA}}}}function uA(l,a,u){const o=this;let s=0,f=0,h;return d;function d(j){let $=o.events.length-1;for(;$>-1;){const{type:ot}=o.events[$][1];if(ot==="lineEnding"||ot==="linePrefix")$--;else break}const lt=$>-1?o.events[$][1].type:null,Et=lt==="tableHead"||lt==="tableRow"?H:v;return Et===H&&o.parser.lazy[o.now().line]?u(j):Et(j)}function v(j){return l.enter("tableHead"),l.enter("tableRow"),g(j)}function g(j){return j===124||(h=!0,f+=1),y(j)}function y(j){return j===null?u(j):dt(j)?f>1?(f=0,o.interrupt=!0,l.exit("tableRow"),l.enter("lineEnding"),l.consume(j),l.exit("lineEnding"),b):u(j):At(j)?Ut(l,y,"whitespace")(j):(f+=1,h&&(h=!1,s+=1),j===124?(l.enter("tableCellDivider"),l.consume(j),l.exit("tableCellDivider"),h=!0,y):(l.enter("data"),p(j)))}function p(j){return j===null||j===124||Kt(j)?(l.exit("data"),y(j)):(l.consume(j),j===92?x:p)}function x(j){return j===92||j===124?(l.consume(j),p):p(j)}function b(j){return o.interrupt=!1,o.parser.lazy[o.now().line]?u(j):(l.enter("tableDelimiterRow"),h=!1,At(j)?Ut(l,z,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):z(j))}function z(j){return j===45||j===58?B(j):j===124?(h=!0,l.enter("tableCellDivider"),l.consume(j),l.exit("tableCellDivider"),U):rt(j)}function U(j){return At(j)?Ut(l,B,"whitespace")(j):B(j)}function B(j){return j===58?(f+=1,h=!0,l.enter("tableDelimiterMarker"),l.consume(j),l.exit("tableDelimiterMarker"),M):j===45?(f+=1,M(j)):j===null||dt(j)?st(j):rt(j)}function M(j){return j===45?(l.enter("tableDelimiterFiller"),G(j)):rt(j)}function G(j){return j===45?(l.consume(j),G):j===58?(h=!0,l.exit("tableDelimiterFiller"),l.enter("tableDelimiterMarker"),l.consume(j),l.exit("tableDelimiterMarker"),Q):(l.exit("tableDelimiterFiller"),Q(j))}function Q(j){return At(j)?Ut(l,st,"whitespace")(j):st(j)}function st(j){return j===124?z(j):j===null||dt(j)?!h||s!==f?rt(j):(l.exit("tableDelimiterRow"),l.exit("tableHead"),a(j)):rt(j)}function rt(j){return u(j)}function H(j){return l.enter("tableRow"),F(j)}function F(j){return j===124?(l.enter("tableCellDivider"),l.consume(j),l.exit("tableCellDivider"),F):j===null||dt(j)?(l.exit("tableRow"),a(j)):At(j)?Ut(l,F,"whitespace")(j):(l.enter("data"),tt(j))}function tt(j){return j===null||j===124||Kt(j)?(l.exit("data"),F(j)):(l.consume(j),j===92?kt:tt)}function kt(j){return j===92||j===124?(l.consume(j),tt):tt(j)}}function rA(l,a){let u=-1,o=!0,s=0,f=[0,0,0,0],h=[0,0,0,0],d=!1,v=0,g,y,p;const x=new nA;for(;++u<l.length;){const b=l[u],z=b[1];b[0]==="enter"?z.type==="tableHead"?(d=!1,v!==0&&(dy(x,a,v,g,y),y=void 0,v=0),g={type:"table",start:Object.assign({},z.start),end:Object.assign({},z.end)},x.add(u,0,[["enter",g,a]])):z.type==="tableRow"||z.type==="tableDelimiterRow"?(o=!0,p=void 0,f=[0,0,0,0],h=[0,u+1,0,0],d&&(d=!1,y={type:"tableBody",start:Object.assign({},z.start),end:Object.assign({},z.end)},x.add(u,0,[["enter",y,a]])),s=z.type==="tableDelimiterRow"?2:y?3:1):s&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")?(o=!1,h[2]===0&&(f[1]!==0&&(h[0]=h[1],p=Jr(x,a,f,s,void 0,p),f=[0,0,0,0]),h[2]=u)):z.type==="tableCellDivider"&&(o?o=!1:(f[1]!==0&&(h[0]=h[1],p=Jr(x,a,f,s,void 0,p)),f=h,h=[f[1],u,0,0])):z.type==="tableHead"?(d=!0,v=u):z.type==="tableRow"||z.type==="tableDelimiterRow"?(v=u,f[1]!==0?(h[0]=h[1],p=Jr(x,a,f,s,u,p)):h[1]!==0&&(p=Jr(x,a,h,s,u,p)),s=0):s&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")&&(h[3]=u)}for(v!==0&&dy(x,a,v,g,y),x.consume(a.events),u=-1;++u<a.events.length;){const b=a.events[u];b[0]==="enter"&&b[1].type==="table"&&(b[1]._align=iA(a.events,u))}return l}function Jr(l,a,u,o,s,f){const h=o===1?"tableHeader":o===2?"tableDelimiter":"tableData",d="tableContent";u[0]!==0&&(f.end=Object.assign({},la(a.events,u[0])),l.add(u[0],0,[["exit",f,a]]));const v=la(a.events,u[1]);if(f={type:h,start:Object.assign({},v),end:Object.assign({},v)},l.add(u[1],0,[["enter",f,a]]),u[2]!==0){const g=la(a.events,u[2]),y=la(a.events,u[3]),p={type:d,start:Object.assign({},g),end:Object.assign({},y)};if(l.add(u[2],0,[["enter",p,a]]),o!==2){const x=a.events[u[2]],b=a.events[u[3]];if(x[1].end=Object.assign({},b[1].end),x[1].type="chunkText",x[1].contentType="text",u[3]>u[2]+1){const z=u[2]+1,U=u[3]-u[2]-1;l.add(z,U,[])}}l.add(u[3]+1,0,[["exit",p,a]])}return s!==void 0&&(f.end=Object.assign({},la(a.events,s)),l.add(s,0,[["exit",f,a]]),f=void 0),f}function dy(l,a,u,o,s){const f=[],h=la(a.events,u);s&&(s.end=Object.assign({},h),f.push(["exit",s,a])),o.end=Object.assign({},h),f.push(["exit",o,a]),l.add(u+1,0,f)}function la(l,a){const u=l[a],o=u[0]==="enter"?"start":"end";return u[1][o]}const oA={name:"tasklistCheck",tokenize:sA};function cA(){return{text:{91:oA}}}function sA(l,a,u){const o=this;return s;function s(v){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?u(v):(l.enter("taskListCheck"),l.enter("taskListCheckMarker"),l.consume(v),l.exit("taskListCheckMarker"),f)}function f(v){return Kt(v)?(l.enter("taskListCheckValueUnchecked"),l.consume(v),l.exit("taskListCheckValueUnchecked"),h):v===88||v===120?(l.enter("taskListCheckValueChecked"),l.consume(v),l.exit("taskListCheckValueChecked"),h):u(v)}function h(v){return v===93?(l.enter("taskListCheckMarker"),l.consume(v),l.exit("taskListCheckMarker"),l.exit("taskListCheck"),d):u(v)}function d(v){return dt(v)?a(v):At(v)?l.check({tokenize:fA},a,u)(v):u(v)}}function fA(l,a,u){return Ut(l,o,"whitespace");function o(s){return s===null?u(s):a(s)}}function hA(l){return Ry([Lz(),Kz(),eA(l),aA(),cA()])}const dA={};function mA(l){const a=this,u=l||dA,o=a.data(),s=o.micromarkExtensions||(o.micromarkExtensions=[]),f=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),h=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);s.push(hA(u)),f.push(Mz()),h.push(Rz(u))}const pA={a:({href:l,children:a})=>V.jsx("a",{href:l,target:"_blank",rel:"noreferrer noopener",children:a}),img:({alt:l})=>V.jsxs("span",{className:"imagen-omitida",children:["[",l===void 0||l===""?"imagen":l,"]"]}),table:({children:l})=>V.jsx("div",{className:"tabla",children:V.jsx("table",{children:l})})};function gA({texto:l}){return V.jsx("div",{className:"markdown",children:V.jsx($T,{remarkPlugins:[mA],components:pA,children:l})})}const yA=120;function my(){try{window.scrollTo(0,document.documentElement.scrollHeight)}catch{}}function vA(l){const a=pe.useRef(!0);return pe.useEffect(()=>{const u=()=>{a.current=window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-yA};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),pe.useLayoutEffect(()=>{a.current&&my()},l),{bajarSiPegado:()=>a.current?my():void 0}}const bA=new Set(["razonamiento","fase","fin","verificacion","propuesta-de-tareas","propuesta-resuelta"]);function SA({actos:l,alElegir:a,artefactos:u={},alPedirArtefacto:o}){const{bajarSiPegado:s}=vA([l,u]);return V.jsx("ol",{className:"chat",children:l.map((f,h)=>{if(bA.has(f.tipo))return null;if(f.tipo==="usuario")return V.jsx("li",{className:"usuario",children:String(f.texto)},h);if(f.tipo==="asistente")return V.jsx("li",{className:"asistente",children:V.jsx(gA,{texto:String(f.texto)})},h);if(f.tipo==="sistema")return V.jsx("li",{className:"sistema",children:String(f.texto)},h);if(f.tipo==="herramientas"&&Array.isArray(f.lineas)&&f.lineas.length>0){const[d,...v]=f.lineas;return V.jsx("li",{className:"herramientas",children:v.length>0?`${d} +${v.length}`:d},h)}if(f.tipo==="artefacto"&&typeof f.ruta=="string"&&typeof f.nombre=="string"){const d=f.ruta,v=typeof f.mime=="string"&&gy.has(f.mime),g=u[d];return V.jsxs("li",{className:"artefacto",children:[V.jsx("p",{className:"artefacto-nombre",children:f.nombre}),v?(g==null?void 0:g.estado)==="listo"?V.jsx("img",{src:g.url,alt:f.nombre,onLoad:s}):(g==null?void 0:g.estado)==="cargando"?V.jsx("p",{className:"artefacto-nota",children:"Cargando…"}):V.jsxs(V.Fragment,{children:[(g==null?void 0:g.estado)==="error"?V.jsxs("p",{className:"artefacto-nota",children:["No se pudo ver: ",g.motivo,"."]}):null,V.jsx("button",{type:"button",onClick:()=>o==null?void 0:o(d),children:(g==null?void 0:g.estado)==="error"?"Reintentar":"Ver captura"})]}):V.jsx("p",{className:"artefacto-nota",children:"Se abre en la consola del escritorio."})]},h)}return f.tipo==="consulta"&&Array.isArray(f.opciones)?V.jsxs("li",{className:"consulta",children:[V.jsx("p",{children:String(f.pregunta)}),f.opciones.map(d=>V.jsx("button",{type:"button",onClick:()=>a(d),children:d},d))]},h):null})})}function T0({aprobacion:l,alDecidir:a,titulo:u,soloRechazar:o}){const[s,f]=pe.useState(!1),[h,d]=pe.useState(!1),v=g=>{s||(f(!0),d(!1),a(g).catch(()=>{d(!0),f(!1)}))};return V.jsxs("section",{className:"aprobacion","aria-label":"Aprobación pendiente",children:[V.jsx("h2",{children:u??"Esperan tu aprobación"}),l.pendientes.map(g=>V.jsxs("article",{children:[V.jsx("h3",{children:l.ficheros[g.id]??g.descripcion}),V.jsx("p",{className:"origen",children:g.origen}),V.jsx("pre",{className:"diff",children:(l.diffs[g.id]??[]).map((y,p)=>V.jsx("div",{className:y.tipo,children:y.tipo==="anadido"?`+ ${y.texto}`:y.tipo==="quitado"?`- ${y.texto}`:` ${y.texto}`},p))})]},g.id)),h?V.jsx("p",{className:"fallo",children:"No se pudo enviar. Vuelve a intentarlo."}):null,o===!0?V.jsx("p",{className:"tenue",children:"Recortada: apruébala en el escritorio con esa consola delante."}):null,V.jsxs("div",{className:"acciones",children:[V.jsx("button",{type:"button",onClick:()=>v("reject"),disabled:s,children:"Rechazar"}),o===!0?null:V.jsx("button",{type:"button",className:"primario",onClick:()=>v("approve"),disabled:s,children:"Aceptar"})]})]})}function xA({texto:l,alContestar:a}){const[u,o]=pe.useState(""),[s,f]=pe.useState(!1),[h,d]=pe.useState(!1),v=()=>{s||(f(!0),d(!1),a(u).catch(()=>{d(!0),f(!1)}))};return V.jsxs("section",{className:"pregunta",children:[V.jsxs("label",{children:[l,V.jsx("input",{value:u,onChange:g=>o(g.target.value)})]}),h?V.jsx("p",{className:"fallo",children:"No se pudo enviar. Vuelve a intentarlo."}):null,V.jsx("button",{type:"button",onClick:v,disabled:s,children:"Contestar"})]})}function EA({alEnviar:l}){const[a,u]=pe.useState(""),[o,s]=pe.useState(!1),[f,h]=pe.useState(!1),d=()=>{const v=a.trim();v===""||o||(s(!0),h(!1),l(v).then(()=>{u(""),s(!1)},()=>{h(!0),s(!1)}))};return V.jsxs("form",{className:"compositor",onSubmit:v=>{v.preventDefault(),d()},children:[f?V.jsx("p",{className:"fallo",children:"No se pudo enviar. Vuelve a intentarlo."}):null,V.jsx("textarea",{"aria-label":"Mensaje",value:a,onChange:v=>{u(v.target.value),h(!1)},rows:1,placeholder:"Escribe a xonecode…"}),V.jsx("button",{type:"submit",className:"enviar",disabled:o,"aria-label":"Enviar",title:"Enviar",children:V.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20","aria-hidden":"true",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:V.jsx("path",{d:"M12 19V5M5 12l7-7 7 7"})})})]})}function TA({activa:l,alElegir:a,esperando:u}){return V.jsxs("nav",{className:"pestanas","aria-label":"Secciones",children:[V.jsx("button",{type:"button",role:"tab","aria-selected":l==="chat",className:l==="chat"?"activa":"",onClick:()=>a("chat"),children:"Chat"}),V.jsxs("button",{type:"button",role:"tab","aria-selected":l==="panel",className:l==="panel"?"activa":"",onClick:()=>a("panel"),children:["Panel",u>0?V.jsx("span",{className:"insignia","aria-label":`${u} esperando`,children:u}):null]})]})}function zA({tarea:l,alEnviarFeedback:a,alContinuar:u}){const[o,s]=pe.useState(""),[f,h]=pe.useState(!1),[d,v]=pe.useState(!1),g=p=>{f||(h(!0),v(!1),p().then(()=>h(!1),()=>{v(!0),h(!1)}))},y=o.trim()==="";return V.jsxs("article",{className:"tarea-que-espera","aria-label":`Tarea que espera: ${l.titulo}`,children:[V.jsx("h3",{children:l.titulo}),V.jsx("p",{className:"origen",children:l.proyecto}),l.motivo!==void 0?V.jsx("p",{className:"motivo",children:l.motivo}):null,V.jsx("textarea",{"aria-label":`Feedback para ${l.titulo}`,rows:3,value:o,placeholder:"Escribe tu feedback",onChange:p=>s(p.target.value)}),d?V.jsx("p",{className:"fallo",children:"No se pudo enviar. Vuelve a intentarlo."}):null,V.jsxs("div",{className:"acciones",children:[V.jsx("button",{type:"button",disabled:f||y,onClick:()=>g(async()=>{await a(o),s("")}),children:"Enviar"}),V.jsx("button",{type:"button",className:"primario",disabled:f,onClick:()=>g(u),children:"Continuar"})]})]})}const AA={"esperando-aprobacion":{texto:"esperando aprobación",color:"rojo"},"esperando-respuesta":{texto:"esperando respuesta",color:"ambar"},trabajando:{texto:"trabajando",color:"verde"},parada:{texto:"parada",color:"gris"}};function af(l,a){if(l===void 0)return;const u=Date.parse(l);if(Number.isNaN(u))return;const o=Math.max(0,Math.round((a-u)/1e3));if(o<60)return"hace un momento";const s=Math.floor(o/60);if(s<60)return`hace ${s} min`;const f=Math.floor(s/60);return f<24?`hace ${f} h`:`hace ${Math.floor(f/24)} d`}const uf=l=>[l.proyecto,l.sesion].filter(a=>a!==void 0).join(" · ");function CA({panorama:l,alDecidir:a,alEnviarFeedback:u,alContinuar:o,ahora:s=Date.now()}){const f=l.consolas.filter(b=>b.aprobacion!==void 0&&b.aprobacion.pendientes.length>0),h=l.consolas.filter(b=>b.estado==="esperando-respuesta"&&!b.foco),d=l.tareas.filter(b=>b.estado==="requiere-atencion"),v=l.tareas.filter(b=>b.estado==="en-proceso"),g=l.tareas.filter(b=>b.estado==="nuevo"),y=l.tareas.filter(b=>b.estado==="terminada"),p=new Map(l.tareas.map(b=>[b.id,b.titulo])),x=f.length===0&&h.length===0&&d.length===0;return V.jsxs("div",{className:"panel",children:[V.jsxs("section",{"aria-label":"Te esperan",children:[V.jsx("h2",{children:"Te esperan"}),x?V.jsx("p",{className:"tenue",children:"Nada te espera."}):null,f.map(b=>{var z;return V.jsx(T0,{titulo:uf(b),aprobacion:b.aprobacion,soloRechazar:((z=b.aprobacion)==null?void 0:z.recortada)===!0,alDecidir:U=>a(b,U)},b.id)}),f.some(b=>{var z;return(z=b.aprobacion)==null?void 0:z.recortada})?V.jsx("p",{className:"tenue",children:"Algunos diffs vienen recortados: revísalos en el escritorio."}):null,d.map(b=>V.jsx(zA,{tarea:b,alEnviarFeedback:z=>u(b,z),alContinuar:()=>o(b)},b.id)),h.map(b=>V.jsxs("p",{className:"aviso-de-pregunta",children:[V.jsx("strong",{children:uf(b)}),": esperando tu respuesta — contéstala en el escritorio"]},b.id))]}),V.jsxs("section",{"aria-label":"Consolas",children:[V.jsx("h2",{children:"Consolas"}),l.consolas.length===0?V.jsx("p",{className:"tenue",children:"Sin consolas abiertas."}):null,V.jsx("ul",{className:"filas",children:l.consolas.map(b=>{const z=AA[b.estado],U=af(b.ultimaActividad,s);return V.jsxs("li",{children:[V.jsx("span",{className:"fila-titulo",children:uf(b)}),V.jsx("span",{className:`estado ${z.color}`,children:z.texto}),U!==void 0?V.jsx("span",{className:"tenue",children:U}):null]},b.id)})})]}),V.jsxs("section",{"aria-label":"Tareas",children:[V.jsx("h2",{children:"Tareas"}),v.length+g.length+y.length===0&&d.length===0?V.jsx("p",{className:"tenue",children:"Sin tareas."}):null,V.jsxs("ul",{className:"filas",children:[v.map(b=>V.jsxs("li",{children:[V.jsx("span",{className:"fila-titulo",children:b.titulo}),V.jsx("span",{className:"estado verde",children:"en proceso"})]},b.id)),g.map(b=>V.jsxs("li",{children:[V.jsx("span",{className:"fila-titulo",children:b.titulo}),V.jsx("span",{className:"estado gris",children:"en cola"}),b.tras!==void 0?V.jsxs("span",{className:"tenue",children:["tras ",p.get(b.tras)??"otra tarea"]}):null]},b.id)),y.map(b=>V.jsxs("li",{children:[V.jsx("span",{className:"fila-titulo",children:b.titulo}),V.jsx("span",{className:"estado gris",children:"terminada"}),af(b.acabada,s)!==void 0?V.jsx("span",{className:"tenue",children:af(b.acabada,s)}):null]},b.id))]})]})]})}function _A({estado:l,enviar:a,alContestado:u}){var g;const[o,s]=pe.useState("chat"),f=y=>a(y).catch(()=>{}),h=l.panorama,d=h!==void 0&&o==="panel",v=((g=l.aprobacion)==null?void 0:g.pendientes.map(y=>y.id))??[];return V.jsxs("main",{className:h===void 0?"pantalla":"pantalla con-pestanas",children:[V.jsx(qb,{estado:l,alParar:()=>void f({clase:"cancelar"})}),d?V.jsx(CA,{panorama:h,alDecidir:async(y,p)=>{var b;const x=((b=y.aprobacion)==null?void 0:b.pendientes.map(z=>z.id))??[];await a({clase:"decision",decisiones:Object.fromEntries(x.map(z=>[z,p])),consola:y.id}),u==null||u("aprobacion-contestada",y.id)},alEnviarFeedback:(y,p)=>a({clase:"feedback",tarea:y.id,texto:p}),alContinuar:y=>a({clase:"continuar",tarea:y.id})}):V.jsxs(V.Fragment,{children:[l.aprobacion!==void 0?V.jsx(T0,{aprobacion:l.aprobacion,alDecidir:async y=>{await a({clase:"decision",decisiones:Object.fromEntries(v.map(p=>[p,y]))}),u==null||u("aprobacion-contestada")}}):null,l.pregunta!==void 0?V.jsx(xA,{texto:l.pregunta,alContestar:async y=>{await a({clase:"respuesta",texto:y}),u==null||u("pregunta-contestada")}}):null,V.jsx(SA,{actos:l.actos,alElegir:y=>void f({clase:"prosa",texto:y}),...l.artefactos===void 0?{}:{artefactos:l.artefactos},alPedirArtefacto:y=>void f({clase:"artefacto",ruta:y})}),V.jsx(EA,{alEnviar:y=>a(l.turno.activo&&l.turno.detenible?{clase:"prosa",texto:y,detener:!0}:{clase:"prosa",texto:y})})]}),h!==void 0?V.jsx(TA,{activa:o,alElegir:s,esperando:h.esperando}):null]})}function OA({href:l,urlWs:a}){const[u,o]=pe.useState(vy),s=pe.useRef(void 0);return pe.useEffect(()=>{let f=!0;return Hb({href:l,urlWs:a,alCambiar:h=>f&&o(h)}).then(h=>{f?s.current=h:h.cerrar()},()=>f&&o(h=>by(h,{conexion:"sin-cifrado"}))),()=>{var h;f=!1,(h=s.current)==null||h.cerrar()}},[l,a]),V.jsx(_A,{estado:u,enviar:async f=>{if(s.current===void 0)throw new Error("sin conexión");await s.current.enviar(f)},alContestado:(f,h)=>{var d;return(d=s.current)==null?void 0:d.contestado(f,h)}})}const wA=location.href;history.replaceState(null,"",location.pathname);const NA=`${location.protocol==="https:"?"wss:":"ws:"}//${location.host}/ws`;Ab.createRoot(document.getElementById("raiz")).render(V.jsx(OA,{href:wA,urlWs:NA}));