lua-cli 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +244 -63
  3. package/dist/commands/agents.js +17 -17
  4. package/dist/commands/apiKey.js +24 -19
  5. package/dist/commands/compile.d.ts +1 -0
  6. package/dist/commands/compile.js +1004 -0
  7. package/dist/commands/configure.js +93 -68
  8. package/dist/commands/deploy-new.d.ts +0 -0
  9. package/dist/commands/deploy-new.js +130 -0
  10. package/dist/commands/deploy.d.ts +19 -0
  11. package/dist/commands/deploy.js +81 -763
  12. package/dist/commands/destroy.js +26 -21
  13. package/dist/commands/dev.d.ts +63 -0
  14. package/dist/commands/dev.js +656 -0
  15. package/dist/commands/index.d.ts +4 -2
  16. package/dist/commands/index.js +4 -2
  17. package/dist/commands/init.js +297 -62
  18. package/dist/commands/push.d.ts +22 -0
  19. package/dist/commands/push.js +127 -0
  20. package/dist/commands/test.js +14 -15
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.js +35 -19
  23. package/dist/services/api.d.ts +195 -0
  24. package/dist/services/api.js +209 -0
  25. package/dist/services/auth.d.ts +102 -0
  26. package/dist/services/auth.js +129 -40
  27. package/dist/skill.d.ts +22 -1
  28. package/dist/skill.js +21 -1
  29. package/dist/types/index.d.ts +16 -2
  30. package/dist/types/index.js +16 -1
  31. package/dist/user-data-api.d.ts +52 -0
  32. package/dist/user-data-api.js +151 -0
  33. package/dist/utils/cli.d.ts +34 -0
  34. package/dist/utils/cli.js +58 -0
  35. package/dist/utils/files.d.ts +4 -1
  36. package/dist/utils/files.js +61 -14
  37. package/dist/web/app.css +1050 -0
  38. package/dist/web/app.js +79 -0
  39. package/dist/web/tools-page.css +377 -0
  40. package/package.json +18 -5
  41. package/template/package-lock.json +32 -3
  42. package/template/package.json +3 -1
  43. package/template/{index.ts → src/index.ts} +13 -4
  44. package/template/src/tools/UserPreferencesTool.ts +73 -0
  45. package/template/tools/UserPreferencesTool.ts +73 -0
  46. package/template/tsconfig.json +1 -1
  47. package/template/.lua/deploy.json +0 -145
  48. /package/template/{services → src/services}/ApiService.ts +0 -0
  49. /package/template/{services → src/services}/GetWeather.ts +0 -0
  50. /package/template/{services → src/services}/MathService.ts +0 -0
  51. /package/template/{tools → src/tools}/AdvancedMathTool.ts +0 -0
  52. /package/template/{tools → src/tools}/CalculatorTool.ts +0 -0
  53. /package/template/{tools → src/tools}/CreatePostTool.ts +0 -0
  54. /package/template/{tools → src/tools}/GetUserDataTool.ts +0 -0
  55. /package/template/{tools → src/tools}/GetWeatherTool.ts +0 -0
@@ -0,0 +1,79 @@
1
+ "use strict";var LuaApp=(()=>{var hE=Object.create;var Wa=Object.defineProperty,dE=Object.defineProperties,mE=Object.getOwnPropertyDescriptor,gE=Object.getOwnPropertyDescriptors,yE=Object.getOwnPropertyNames,Fa=Object.getOwnPropertySymbols,bE=Object.getPrototypeOf,ks=Object.prototype.hasOwnProperty,od=Object.prototype.propertyIsEnumerable;var ud=Math.pow,ad=(e,t,n)=>t in e?Wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t)=>{for(var n in t||(t={}))ks.call(t,n)&&ad(e,n,t[n]);if(Fa)for(var n of Fa(t))od.call(t,n)&&ad(e,n,t[n]);return e},rr=(e,t)=>dE(e,gE(t));var sd=(e,t)=>{var n={};for(var i in e)ks.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Fa)for(var i of Fa(e))t.indexOf(i)<0&&od.call(e,i)&&(n[i]=e[i]);return n};var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var Fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),As=(e,t)=>{for(var n in t)Wa(e,n,{get:t[n],enumerable:!0})},xE=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of yE(t))!ks.call(e,r)&&r!==n&&Wa(e,r,{get:()=>t[r],enumerable:!(i=mE(t,r))||i.enumerable});return e};var ue=(e,t,n)=>(n=e!=null?hE(bE(e)):{},xE(t||!e||!e.__esModule?Wa(n,"default",{value:e,enumerable:!0}):n,e));var I=(e,t,n)=>new Promise((i,r)=>{var l=u=>{try{o(n.next(u))}catch(c){r(c)}},a=u=>{try{o(n.throw(u))}catch(c){r(c)}},o=u=>u.done?i(u.value):Promise.resolve(u.value).then(l,a);o((n=n.apply(e,t)).next())});var Sd=Fe(G=>{"use strict";var Cs=Symbol.for("react.transitional.element"),vE=Symbol.for("react.portal"),SE=Symbol.for("react.fragment"),EE=Symbol.for("react.strict_mode"),TE=Symbol.for("react.profiler"),wE=Symbol.for("react.consumer"),kE=Symbol.for("react.context"),AE=Symbol.for("react.forward_ref"),_E=Symbol.for("react.suspense"),CE=Symbol.for("react.memo"),md=Symbol.for("react.lazy"),cd=Symbol.iterator;function OE(e){return e===null||typeof e!="object"?null:(e=cd&&e[cd]||e["@@iterator"],typeof e=="function"?e:null)}var gd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},yd=Object.assign,bd={};function ar(e,t,n){this.props=e,this.context=t,this.refs=bd,this.updater=n||gd}ar.prototype.isReactComponent={};ar.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};ar.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xd(){}xd.prototype=ar.prototype;function Os(e,t,n){this.props=e,this.context=t,this.refs=bd,this.updater=n||gd}var zs=Os.prototype=new xd;zs.constructor=Os;yd(zs,ar.prototype);zs.isPureReactComponent=!0;var fd=Array.isArray,ye={H:null,A:null,T:null,S:null,V:null},vd=Object.prototype.hasOwnProperty;function Ns(e,t,n,i,r,l){return n=l.ref,{$$typeof:Cs,type:e,key:t,ref:n!==void 0?n:null,props:l}}function zE(e,t){return Ns(e.type,t,void 0,void 0,void 0,e.props)}function Rs(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cs}function NE(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var pd=/\/+/g;function _s(e,t){return typeof e=="object"&&e!==null&&e.key!=null?NE(""+e.key):t.toString(36)}function hd(){}function RE(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(hd,hd):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function lr(e,t,n,i,r){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(l){case"bigint":case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Cs:case vE:a=!0;break;case md:return a=e._init,lr(a(e._payload),t,n,i,r)}}if(a)return r=r(e),a=i===""?"."+_s(e,0):i,fd(r)?(n="",a!=null&&(n=a.replace(pd,"$&/")+"/"),lr(r,t,n,"",function(c){return c})):r!=null&&(Rs(r)&&(r=zE(r,n+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace(pd,"$&/")+"/")+a)),t.push(r)),1;a=0;var o=i===""?".":i+":";if(fd(e))for(var u=0;u<e.length;u++)i=e[u],l=o+_s(i,u),a+=lr(i,t,n,l,r);else if(u=OE(e),typeof u=="function")for(e=u.call(e),u=0;!(i=e.next()).done;)i=i.value,l=o+_s(i,u++),a+=lr(i,t,n,l,r);else if(l==="object"){if(typeof e.then=="function")return lr(RE(e),t,n,i,r);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return a}function $a(e,t,n){if(e==null)return e;var i=[],r=0;return lr(e,i,"","",function(l){return t.call(n,l,r++)}),i}function DE(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var dd=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function ME(){}G.Children={map:$a,forEach:function(e,t,n){$a(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return $a(e,function(){t++}),t},toArray:function(e){return $a(e,function(t){return t})||[]},only:function(e){if(!Rs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};G.Component=ar;G.Fragment=SE;G.Profiler=TE;G.PureComponent=Os;G.StrictMode=EE;G.Suspense=_E;G.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ye;G.__COMPILER_RUNTIME={__proto__:null,c:function(e){return ye.H.useMemoCache(e)}};G.cache=function(e){return function(){return e.apply(null,arguments)}};G.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=yd({},e.props),r=e.key,l=void 0;if(t!=null)for(a in t.ref!==void 0&&(l=void 0),t.key!==void 0&&(r=""+t.key),t)!vd.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(i[a]=t[a]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var o=Array(a),u=0;u<a;u++)o[u]=arguments[u+2];i.children=o}return Ns(e.type,r,void 0,void 0,l,i)};G.createContext=function(e){return e={$$typeof:kE,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:wE,_context:e},e};G.createElement=function(e,t,n){var i,r={},l=null;if(t!=null)for(i in t.key!==void 0&&(l=""+t.key),t)vd.call(t,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=t[i]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),u=0;u<a;u++)o[u]=arguments[u+2];r.children=o}if(e&&e.defaultProps)for(i in a=e.defaultProps,a)r[i]===void 0&&(r[i]=a[i]);return Ns(e,l,void 0,void 0,null,r)};G.createRef=function(){return{current:null}};G.forwardRef=function(e){return{$$typeof:AE,render:e}};G.isValidElement=Rs;G.lazy=function(e){return{$$typeof:md,_payload:{_status:-1,_result:e},_init:DE}};G.memo=function(e,t){return{$$typeof:CE,type:e,compare:t===void 0?null:t}};G.startTransition=function(e){var t=ye.T,n={};ye.T=n;try{var i=e(),r=ye.S;r!==null&&r(n,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(ME,dd)}catch(l){dd(l)}finally{ye.T=t}};G.unstable_useCacheRefresh=function(){return ye.H.useCacheRefresh()};G.use=function(e){return ye.H.use(e)};G.useActionState=function(e,t,n){return ye.H.useActionState(e,t,n)};G.useCallback=function(e,t){return ye.H.useCallback(e,t)};G.useContext=function(e){return ye.H.useContext(e)};G.useDebugValue=function(){};G.useDeferredValue=function(e,t){return ye.H.useDeferredValue(e,t)};G.useEffect=function(e,t,n){var i=ye.H;if(typeof n=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return i.useEffect(e,t)};G.useId=function(){return ye.H.useId()};G.useImperativeHandle=function(e,t,n){return ye.H.useImperativeHandle(e,t,n)};G.useInsertionEffect=function(e,t){return ye.H.useInsertionEffect(e,t)};G.useLayoutEffect=function(e,t){return ye.H.useLayoutEffect(e,t)};G.useMemo=function(e,t){return ye.H.useMemo(e,t)};G.useOptimistic=function(e,t){return ye.H.useOptimistic(e,t)};G.useReducer=function(e,t,n){return ye.H.useReducer(e,t,n)};G.useRef=function(e){return ye.H.useRef(e)};G.useState=function(e){return ye.H.useState(e)};G.useSyncExternalStore=function(e,t,n){return ye.H.useSyncExternalStore(e,t,n)};G.useTransition=function(){return ye.H.useTransition()};G.version="19.1.1"});var Xt=Fe((K_,Ed)=>{"use strict";Ed.exports=Sd()});var Rd=Fe(be=>{"use strict";function Ls(e,t){var n=e.length;e.push(t);e:for(;0<n;){var i=n-1>>>1,r=e[i];if(0<eo(r,t))e[i]=t,e[n]=r,n=i;else break e}}function Wt(e){return e.length===0?null:e[0]}function no(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var i=0,r=e.length,l=r>>>1;i<l;){var a=2*(i+1)-1,o=e[a],u=a+1,c=e[u];if(0>eo(o,n))u<r&&0>eo(c,o)?(e[i]=c,e[u]=n,i=u):(e[i]=o,e[a]=n,i=a);else if(u<r&&0>eo(c,n))e[i]=c,e[u]=n,i=u;else break e}}return t}function eo(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}be.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Td=performance,be.unstable_now=function(){return Td.now()}):(Ds=Date,wd=Ds.now(),be.unstable_now=function(){return Ds.now()-wd});var Td,Ds,wd,gn=[],Hn=[],UE=1,Ot=null,We=3,Bs=!1,ml=!1,gl=!1,Hs=!1,_d=typeof setTimeout=="function"?setTimeout:null,Cd=typeof clearTimeout=="function"?clearTimeout:null,kd=typeof setImmediate!="undefined"?setImmediate:null;function to(e){for(var t=Wt(Hn);t!==null;){if(t.callback===null)no(Hn);else if(t.startTime<=e)no(Hn),t.sortIndex=t.expirationTime,Ls(gn,t);else break;t=Wt(Hn)}}function qs(e){if(gl=!1,to(e),!ml)if(Wt(gn)!==null)ml=!0,ur||(ur=!0,or());else{var t=Wt(Hn);t!==null&&Ys(qs,t.startTime-e)}}var ur=!1,yl=-1,Od=5,zd=-1;function Nd(){return Hs?!0:!(be.unstable_now()-zd<Od)}function Ms(){if(Hs=!1,ur){var e=be.unstable_now();zd=e;var t=!0;try{e:{ml=!1,gl&&(gl=!1,Cd(yl),yl=-1),Bs=!0;var n=We;try{t:{for(to(e),Ot=Wt(gn);Ot!==null&&!(Ot.expirationTime>e&&Nd());){var i=Ot.callback;if(typeof i=="function"){Ot.callback=null,We=Ot.priorityLevel;var r=i(Ot.expirationTime<=e);if(e=be.unstable_now(),typeof r=="function"){Ot.callback=r,to(e),t=!0;break t}Ot===Wt(gn)&&no(gn),to(e)}else no(gn);Ot=Wt(gn)}if(Ot!==null)t=!0;else{var l=Wt(Hn);l!==null&&Ys(qs,l.startTime-e),t=!1}}break e}finally{Ot=null,We=n,Bs=!1}t=void 0}}finally{t?or():ur=!1}}}var or;typeof kd=="function"?or=function(){kd(Ms)}:typeof MessageChannel!="undefined"?(Us=new MessageChannel,Ad=Us.port2,Us.port1.onmessage=Ms,or=function(){Ad.postMessage(null)}):or=function(){_d(Ms,0)};var Us,Ad;function Ys(e,t){yl=_d(function(){e(be.unstable_now())},t)}be.unstable_IdlePriority=5;be.unstable_ImmediatePriority=1;be.unstable_LowPriority=4;be.unstable_NormalPriority=3;be.unstable_Profiling=null;be.unstable_UserBlockingPriority=2;be.unstable_cancelCallback=function(e){e.callback=null};be.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Od=0<e?Math.floor(1e3/e):5};be.unstable_getCurrentPriorityLevel=function(){return We};be.unstable_next=function(e){switch(We){case 1:case 2:case 3:var t=3;break;default:t=We}var n=We;We=t;try{return e()}finally{We=n}};be.unstable_requestPaint=function(){Hs=!0};be.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=We;We=e;try{return t()}finally{We=n}};be.unstable_scheduleCallback=function(e,t,n){var i=be.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?i+n:i):n=i,e){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=n+r,e={id:UE++,callback:t,priorityLevel:e,startTime:n,expirationTime:r,sortIndex:-1},n>i?(e.sortIndex=n,Ls(Hn,e),Wt(gn)===null&&e===Wt(Hn)&&(gl?(Cd(yl),yl=-1):gl=!0,Ys(qs,n-i))):(e.sortIndex=r,Ls(gn,e),ml||Bs||(ml=!0,ur||(ur=!0,or()))),e};be.unstable_shouldYield=Nd;be.unstable_wrapCallback=function(e){var t=We;return function(){var n=We;We=t;try{return e.apply(this,arguments)}finally{We=n}}}});var Md=Fe((J_,Dd)=>{"use strict";Dd.exports=Rd()});var Ld=Fe(rt=>{"use strict";var LE=Xt();function Ud(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function qn(){}var it={d:{f:qn,r:function(){throw Error(Ud(522))},D:qn,C:qn,L:qn,m:qn,X:qn,S:qn,M:qn},p:0,findDOMNode:null},BE=Symbol.for("react.portal");function HE(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:BE,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var bl=LE.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function io(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=it;rt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Ud(299));return HE(e,t,null,n)};rt.flushSync=function(e){var t=bl.T,n=it.p;try{if(bl.T=null,it.p=2,e)return e()}finally{bl.T=t,it.p=n,it.d.f()}};rt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,it.d.C(e,t))};rt.prefetchDNS=function(e){typeof e=="string"&&it.d.D(e)};rt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,i=io(n,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,l=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?it.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:l}):n==="script"&&it.d.X(e,{crossOrigin:i,integrity:r,fetchPriority:l,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};rt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=io(t.as,t.crossOrigin);it.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&it.d.M(e)};rt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,i=io(n,t.crossOrigin);it.d.L(e,n,{crossOrigin:i,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};rt.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=io(t.as,t.crossOrigin);it.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else it.d.m(e)};rt.requestFormReset=function(e){it.d.r(e)};rt.unstable_batchedUpdates=function(e,t){return e(t)};rt.useFormState=function(e,t,n){return bl.H.useFormState(e,t,n)};rt.useFormStatus=function(){return bl.H.useHostTransitionStatus()};rt.version="19.1.1"});var qd=Fe((F_,Hd)=>{"use strict";function Bd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bd)}catch(e){console.error(e)}}Bd(),Hd.exports=Ld()});var j0=Fe(Au=>{"use strict";var Ue=Md(),og=Xt(),qE=qd();function _(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function ug(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function la(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function sg(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Yd(e){if(la(e)!==e)throw Error(_(188))}function YE(e){var t=e.alternate;if(!t){if(t=la(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,i=t;;){var r=n.return;if(r===null)break;var l=r.alternate;if(l===null){if(i=r.return,i!==null){n=i;continue}break}if(r.child===l.child){for(l=r.child;l;){if(l===n)return Yd(r),e;if(l===i)return Yd(r),t;l=l.sibling}throw Error(_(188))}if(n.return!==i.return)n=r,i=l;else{for(var a=!1,o=r.child;o;){if(o===n){a=!0,n=r,i=l;break}if(o===i){a=!0,i=r,n=l;break}o=o.sibling}if(!a){for(o=l.child;o;){if(o===n){a=!0,n=l,i=r;break}if(o===i){a=!0,i=l,n=r;break}o=o.sibling}if(!a)throw Error(_(189))}}if(n.alternate!==i)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function cg(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=cg(e),t!==null)return t;e=e.sibling}return null}var ge=Object.assign,jE=Symbol.for("react.element"),ro=Symbol.for("react.transitional.element"),_l=Symbol.for("react.portal"),mr=Symbol.for("react.fragment"),fg=Symbol.for("react.strict_mode"),bc=Symbol.for("react.profiler"),VE=Symbol.for("react.provider"),pg=Symbol.for("react.consumer"),Sn=Symbol.for("react.context"),df=Symbol.for("react.forward_ref"),xc=Symbol.for("react.suspense"),vc=Symbol.for("react.suspense_list"),mf=Symbol.for("react.memo"),Vn=Symbol.for("react.lazy");Symbol.for("react.scope");var Sc=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var XE=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var jd=Symbol.iterator;function xl(e){return e===null||typeof e!="object"?null:(e=jd&&e[jd]||e["@@iterator"],typeof e=="function"?e:null)}var GE=Symbol.for("react.client.reference");function Ec(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===GE?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case mr:return"Fragment";case bc:return"Profiler";case fg:return"StrictMode";case xc:return"Suspense";case vc:return"SuspenseList";case Sc:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case _l:return"Portal";case Sn:return(e.displayName||"Context")+".Provider";case pg:return(e._context.displayName||"Context")+".Consumer";case df:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mf:return t=e.displayName||null,t!==null?t:Ec(e.type)||"Memo";case Vn:t=e._payload,e=e._init;try{return Ec(e(t))}catch(n){}}return null}var Cl=Array.isArray,B=og.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=qE.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_i={pending:!1,data:null,method:null,action:null},Tc=[],gr=-1;function an(e){return{current:e}}function qe(e){0>gr||(e.current=Tc[gr],Tc[gr]=null,gr--)}function ve(e,t){gr++,Tc[gr]=e.current,e.current=t}var nn=an(null),Ql=an(null),Wn=an(null),Uo=an(null);function Lo(e,t){switch(ve(Wn,t),ve(Ql,e),ve(nn,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Km(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Km(t),e=O0(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}qe(nn),ve(nn,e)}function Ur(){qe(nn),qe(Ql),qe(Wn)}function wc(e){e.memoizedState!==null&&ve(Uo,e);var t=nn.current,n=O0(t,e.type);t!==n&&(ve(Ql,e),ve(nn,n))}function Bo(e){Ql.current===e&&(qe(nn),qe(Ql)),Uo.current===e&&(qe(Uo),ta._currentValue=_i)}var kc=Object.prototype.hasOwnProperty,gf=Ue.unstable_scheduleCallback,js=Ue.unstable_cancelCallback,QE=Ue.unstable_shouldYield,ZE=Ue.unstable_requestPaint,rn=Ue.unstable_now,KE=Ue.unstable_getCurrentPriorityLevel,hg=Ue.unstable_ImmediatePriority,dg=Ue.unstable_UserBlockingPriority,Ho=Ue.unstable_NormalPriority,IE=Ue.unstable_LowPriority,mg=Ue.unstable_IdlePriority,JE=Ue.log,PE=Ue.unstable_setDisableYieldValue,aa=null,vt=null;function In(e){if(typeof JE=="function"&&PE(e),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(aa,e)}catch(t){}}var St=Math.clz32?Math.clz32:$E,FE=Math.log,WE=Math.LN2;function $E(e){return e>>>=0,e===0?32:31-(FE(e)/WE|0)|0}var lo=256,ao=4194304;function wi(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function fu(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var o=i&134217727;return o!==0?(i=o&~l,i!==0?r=wi(i):(a&=o,a!==0?r=wi(a):n||(n=o&~e,n!==0&&(r=wi(n))))):(o=i&~l,o!==0?r=wi(o):a!==0?r=wi(a):n||(n=i&~e,n!==0&&(r=wi(n)))),r===0?0:t!==0&&t!==r&&(t&l)===0&&(l=r&-r,n=t&-t,l>=n||l===32&&(n&4194048)!==0)?t:r}function oa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function e2(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function gg(){var e=lo;return lo<<=1,(lo&4194048)===0&&(lo=256),e}function yg(){var e=ao;return ao<<=1,(ao&62914560)===0&&(ao=4194304),e}function Vs(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ua(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function t2(e,t,n,i,r,l){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var o=e.entanglements,u=e.expirationTimes,c=e.hiddenUpdates;for(n=a&~n;0<n;){var s=31-St(n),h=1<<s;o[s]=0,u[s]=-1;var p=c[s];if(p!==null)for(c[s]=null,s=0;s<p.length;s++){var f=p[s];f!==null&&(f.lane&=-536870913)}n&=~h}i!==0&&bg(e,i,0),l!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=l&~(a&~t))}function bg(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-St(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&4194090}function xg(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-St(n),r=1<<i;r&t|e[i]&t&&(e[i]|=t),n&=~r}}function yf(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function bf(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function vg(){var e=ie.p;return e!==0?e:(e=window.event,e===void 0?32:q0(e.type))}function n2(e,t){var n=ie.p;try{return ie.p=e,t()}finally{ie.p=n}}var si=Math.random().toString(36).slice(2),$e="__reactFiber$"+si,ft="__reactProps$"+si,Zr="__reactContainer$"+si,Ac="__reactEvents$"+si,i2="__reactListeners$"+si,r2="__reactHandles$"+si,Vd="__reactResources$"+si,sa="__reactMarker$"+si;function xf(e){delete e[$e],delete e[ft],delete e[Ac],delete e[i2],delete e[r2]}function yr(e){var t=e[$e];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zr]||n[$e]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Pm(e);e!==null;){if(n=e[$e])return n;e=Pm(e)}return t}e=n,n=e.parentNode}return null}function Kr(e){if(e=e[$e]||e[Zr]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Ol(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(_(33))}function _r(e){var t=e[Vd];return t||(t=e[Vd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Be(e){e[sa]=!0}var Sg=new Set,Eg={};function Hi(e,t){Lr(e,t),Lr(e+"Capture",t)}function Lr(e,t){for(Eg[e]=t,e=0;e<t.length;e++)Sg.add(t[e])}var l2=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Xd={},Gd={};function a2(e){return kc.call(Gd,e)?!0:kc.call(Xd,e)?!1:l2.test(e)?Gd[e]=!0:(Xd[e]=!0,!1)}function Eo(e,t,n){if(a2(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function oo(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function yn(e,t,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+i)}}var Xs,Qd;function pr(e){if(Xs===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Xs=t&&t[1]||"",Qd=-1<n.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+Xs+e+Qd}var Gs=!1;function Qs(e,t){if(!e||Gs)return"";Gs=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(f){var p=f}Reflect.construct(e,[],h)}else{try{h.call()}catch(f){p=f}e.call(h.prototype)}}else{try{throw Error()}catch(f){p=f}(h=e())&&typeof h.catch=="function"&&h.catch(function(){})}}catch(f){if(f&&p&&typeof f.stack=="string")return[f.stack,p.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 l=i.DetermineComponentFrameRoot(),a=l[0],o=l[1];if(a&&o){var u=a.split(`
4
+ `),c=o.split(`
5
+ `);for(r=i=0;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;for(;r<c.length&&!c[r].includes("DetermineComponentFrameRoot");)r++;if(i===u.length||r===c.length)for(i=u.length-1,r=c.length-1;1<=i&&0<=r&&u[i]!==c[r];)r--;for(;1<=i&&0<=r;i--,r--)if(u[i]!==c[r]){if(i!==1||r!==1)do if(i--,r--,0>r||u[i]!==c[r]){var s=`
6
+ `+u[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=r);break}}}finally{Gs=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?pr(n):""}function o2(e){switch(e.tag){case 26:case 27:case 5:return pr(e.type);case 16:return pr("Lazy");case 13:return pr("Suspense");case 19:return pr("SuspenseList");case 0:case 15:return Qs(e.type,!1);case 11:return Qs(e.type.render,!1);case 1:return Qs(e.type,!0);case 31:return pr("Activity");default:return""}}function Zd(e){try{var t="";do t+=o2(e),e=e.return;while(e);return t}catch(n){return`
7
+ Error generating stack: `+n.message+`
8
+ `+n.stack}}function Nt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function u2(e){var t=Tg(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(a){i=""+a,l.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(a){i=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qo(e){e._valueTracker||(e._valueTracker=u2(e))}function wg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Tg(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Yo(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}var s2=/[\n"\\]/g;function Mt(e){return e.replace(s2,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function _c(e,t,n,i,r,l,a,o){e.name="",a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"?e.type=a:e.removeAttribute("type"),t!=null?a==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Nt(t)):e.value!==""+Nt(t)&&(e.value=""+Nt(t)):a!=="submit"&&a!=="reset"||e.removeAttribute("value"),t!=null?Cc(e,a,Nt(t)):n!=null?Cc(e,a,Nt(n)):i!=null&&e.removeAttribute("value"),r==null&&l!=null&&(e.defaultChecked=!!l),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.name=""+Nt(o):e.removeAttribute("name")}function kg(e,t,n,i,r,l,a,o){if(l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(e.type=l),t!=null||n!=null){if(!(l!=="submit"&&l!=="reset"||t!=null))return;n=n!=null?""+Nt(n):"",t=t!=null?""+Nt(t):n,o||t===e.value||(e.value=t),e.defaultValue=t}i=i!=null?i:r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=o?e.checked:!!i,e.defaultChecked=!!i,a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.name=a)}function Cc(e,t,n){t==="number"&&Yo(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Cr(e,t,n,i){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&i&&(e[n].defaultSelected=!0)}else{for(n=""+Nt(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,i&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Ag(e,t,n){if(t!=null&&(t=""+Nt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Nt(n):""}function _g(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(_(92));if(Cl(i)){if(1<i.length)throw Error(_(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=Nt(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i)}function Br(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var c2=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 Kd(e,t,n){var i=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,n):typeof n!="number"||n===0||c2.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Cg(e,t,n){if(t!=null&&typeof t!="object")throw Error(_(62));if(e=e.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var r in t)i=t[r],t.hasOwnProperty(r)&&n[r]!==i&&Kd(e,r,i)}else for(var l in t)t.hasOwnProperty(l)&&Kd(e,l,t[l])}function vf(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var f2=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),p2=/^[\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 To(e){return p2.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Oc=null;function Sf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var br=null,Or=null;function Id(e){var t=Kr(e);if(t&&(e=t.stateNode)){var n=e[ft]||null;e:switch(e=t.stateNode,t.type){case"input":if(_c(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Mt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var r=i[ft]||null;if(!r)throw Error(_(90));_c(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)i=n[t],i.form===e.form&&wg(i)}break e;case"textarea":Ag(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Cr(e,!!n.multiple,t,!1)}}}var Zs=!1;function Og(e,t,n){if(Zs)return e(t,n);Zs=!0;try{var i=e(t);return i}finally{if(Zs=!1,(br!==null||Or!==null)&&(Su(),br&&(t=br,e=Or,Or=br=null,Id(t),e)))for(t=0;t<e.length;t++)Id(e[t])}}function Zl(e,t){var n=e.stateNode;if(n===null)return null;var i=n[ft]||null;if(i===null)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(_(231,t,typeof n));return n}var Cn=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),zc=!1;if(Cn)try{sr={},Object.defineProperty(sr,"passive",{get:function(){zc=!0}}),window.addEventListener("test",sr,sr),window.removeEventListener("test",sr,sr)}catch(e){zc=!1}var sr,Jn=null,Ef=null,wo=null;function zg(){if(wo)return wo;var e,t=Ef,n=t.length,i,r="value"in Jn?Jn.value:Jn.textContent,l=r.length;for(e=0;e<n&&t[e]===r[e];e++);var a=n-e;for(i=1;i<=a&&t[n-i]===r[l-i];i++);return wo=r.slice(e,1<i?1-i:void 0)}function ko(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function uo(){return!0}function Jd(){return!1}function pt(e){function t(n,i,r,l,a){this._reactName=n,this._targetInst=r,this.type=i,this.nativeEvent=l,this.target=a,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(l):l[o]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?uo:Jd,this.isPropagationStopped=Jd,this}return ge(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=uo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=uo)},persist:function(){},isPersistent:uo}),t}var qi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pu=pt(qi),ca=ge({},qi,{view:0,detail:0}),h2=pt(ca),Ks,Is,vl,hu=ge({},ca,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==vl&&(vl&&e.type==="mousemove"?(Ks=e.screenX-vl.screenX,Is=e.screenY-vl.screenY):Is=Ks=0,vl=e),Ks)},movementY:function(e){return"movementY"in e?e.movementY:Is}}),Pd=pt(hu),d2=ge({},hu,{dataTransfer:0}),m2=pt(d2),g2=ge({},ca,{relatedTarget:0}),Js=pt(g2),y2=ge({},qi,{animationName:0,elapsedTime:0,pseudoElement:0}),b2=pt(y2),x2=ge({},qi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),v2=pt(x2),S2=ge({},qi,{data:0}),Fd=pt(S2),E2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},T2={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"},w2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function k2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=w2[e])?!!t[e]:!1}function Tf(){return k2}var A2=ge({},ca,{key:function(e){if(e.key){var t=E2[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ko(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?T2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tf,charCode:function(e){return e.type==="keypress"?ko(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ko(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_2=pt(A2),C2=ge({},hu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=pt(C2),O2=ge({},ca,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tf}),z2=pt(O2),N2=ge({},qi,{propertyName:0,elapsedTime:0,pseudoElement:0}),R2=pt(N2),D2=ge({},hu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),M2=pt(D2),U2=ge({},qi,{newState:0,oldState:0}),L2=pt(U2),B2=[9,13,27,32],wf=Cn&&"CompositionEvent"in window,Nl=null;Cn&&"documentMode"in document&&(Nl=document.documentMode);var H2=Cn&&"TextEvent"in window&&!Nl,Ng=Cn&&(!wf||Nl&&8<Nl&&11>=Nl),$d=" ",em=!1;function Rg(e,t){switch(e){case"keyup":return B2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xr=!1;function q2(e,t){switch(e){case"compositionend":return Dg(t);case"keypress":return t.which!==32?null:(em=!0,$d);case"textInput":return e=t.data,e===$d&&em?null:e;default:return null}}function Y2(e,t){if(xr)return e==="compositionend"||!wf&&Rg(e,t)?(e=zg(),wo=Ef=Jn=null,xr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ng&&t.locale!=="ko"?null:t.data;default:return null}}var j2={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 tm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!j2[e.type]:t==="textarea"}function Mg(e,t,n,i){br?Or?Or.push(i):Or=[i]:br=i,t=ru(t,"onChange"),0<t.length&&(n=new pu("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Rl=null,Kl=null;function V2(e){A0(e,0)}function du(e){var t=Ol(e);if(wg(t))return e}function nm(e,t){if(e==="change")return t}var Ug=!1;Cn&&(Cn?(co="oninput"in document,co||(Ps=document.createElement("div"),Ps.setAttribute("oninput","return;"),co=typeof Ps.oninput=="function"),so=co):so=!1,Ug=so&&(!document.documentMode||9<document.documentMode));var so,co,Ps;function im(){Rl&&(Rl.detachEvent("onpropertychange",Lg),Kl=Rl=null)}function Lg(e){if(e.propertyName==="value"&&du(Kl)){var t=[];Mg(t,Kl,e,Sf(e)),Og(V2,t)}}function X2(e,t,n){e==="focusin"?(im(),Rl=t,Kl=n,Rl.attachEvent("onpropertychange",Lg)):e==="focusout"&&im()}function G2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return du(Kl)}function Q2(e,t){if(e==="click")return du(t)}function Z2(e,t){if(e==="input"||e==="change")return du(t)}function K2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var wt=typeof Object.is=="function"?Object.is:K2;function Il(e,t){if(wt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var r=n[i];if(!kc.call(t,r)||!wt(e[r],t[r]))return!1}return!0}function rm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lm(e,t){var n=rm(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rm(n)}}function Bg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Hg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yo(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(i){n=!1}if(n)e=t.contentWindow;else break;t=Yo(e.document)}return t}function kf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var I2=Cn&&"documentMode"in document&&11>=document.documentMode,vr=null,Nc=null,Dl=null,Rc=!1;function am(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Rc||vr==null||vr!==Yo(i)||(i=vr,"selectionStart"in i&&kf(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}),Dl&&Il(Dl,i)||(Dl=i,i=ru(Nc,"onSelect"),0<i.length&&(t=new pu("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=vr)))}function Ti(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:Ti("Animation","AnimationEnd"),animationiteration:Ti("Animation","AnimationIteration"),animationstart:Ti("Animation","AnimationStart"),transitionrun:Ti("Transition","TransitionRun"),transitionstart:Ti("Transition","TransitionStart"),transitioncancel:Ti("Transition","TransitionCancel"),transitionend:Ti("Transition","TransitionEnd")},Fs={},qg={};Cn&&(qg=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);function Yi(e){if(Fs[e])return Fs[e];if(!Sr[e])return e;var t=Sr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qg)return Fs[e]=t[n];return e}var Yg=Yi("animationend"),jg=Yi("animationiteration"),Vg=Yi("animationstart"),J2=Yi("transitionrun"),P2=Yi("transitionstart"),F2=Yi("transitioncancel"),Xg=Yi("transitionend"),Gg=new Map,Dc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Dc.push("scrollEnd");function Zt(e,t){Gg.set(e,t),Hi(t,[e])}var om=new WeakMap;function Ut(e,t){if(typeof e=="object"&&e!==null){var n=om.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Zd(t)},om.set(e,t),t)}return{value:e,source:t,stack:Zd(t)}}var zt=[],Er=0,Af=0;function mu(){for(var e=Er,t=Af=Er=0;t<e;){var n=zt[t];zt[t++]=null;var i=zt[t];zt[t++]=null;var r=zt[t];zt[t++]=null;var l=zt[t];if(zt[t++]=null,i!==null&&r!==null){var a=i.pending;a===null?r.next=r:(r.next=a.next,a.next=r),i.pending=r}l!==0&&Qg(n,r,l)}}function gu(e,t,n,i){zt[Er++]=e,zt[Er++]=t,zt[Er++]=n,zt[Er++]=i,Af|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function _f(e,t,n,i){return gu(e,t,n,i),jo(e)}function Ir(e,t){return gu(e,null,null,t),jo(e)}function Qg(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var r=!1,l=e.return;l!==null;)l.childLanes|=n,i=l.alternate,i!==null&&(i.childLanes|=n),l.tag===22&&(e=l.stateNode,e===null||e._visibility&1||(r=!0)),e=l,l=l.return;return e.tag===3?(l=e.stateNode,r&&t!==null&&(r=31-St(n),e=l.hiddenUpdates,i=e[r],i===null?e[r]=[t]:i.push(t),t.lane=n|536870912),l):null}function jo(e){if(50<Xl)throw Xl=0,ef=null,Error(_(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Tr={};function W2(e,t,n,i){this.tag=e,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=t,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 xt(e,t,n,i){return new W2(e,t,n,i)}function Cf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function An(e,t){var n=e.alternate;return n===null?(n=xt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Zg(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ao(e,t,n,i,r,l){var a=0;if(i=e,typeof e=="function")Cf(e)&&(a=1);else if(typeof e=="string")a=WT(e,n,nn.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Sc:return e=xt(31,n,t,r),e.elementType=Sc,e.lanes=l,e;case mr:return Ci(n.children,r,l,t);case fg:a=8,r|=24;break;case bc:return e=xt(12,n,t,r|2),e.elementType=bc,e.lanes=l,e;case xc:return e=xt(13,n,t,r),e.elementType=xc,e.lanes=l,e;case vc:return e=xt(19,n,t,r),e.elementType=vc,e.lanes=l,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case VE:case Sn:a=10;break e;case pg:a=9;break e;case df:a=11;break e;case mf:a=14;break e;case Vn:a=16,i=null;break e}a=29,n=Error(_(130,e===null?"null":typeof e,"")),i=null}return t=xt(a,n,t,r),t.elementType=e,t.type=i,t.lanes=l,t}function Ci(e,t,n,i){return e=xt(7,e,i,t),e.lanes=n,e}function Ws(e,t,n){return e=xt(6,e,null,t),e.lanes=n,e}function $s(e,t,n){return t=xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var wr=[],kr=0,Vo=null,Xo=0,Rt=[],Dt=0,Oi=null,En=1,Tn="";function ki(e,t){wr[kr++]=Xo,wr[kr++]=Vo,Vo=e,Xo=t}function Kg(e,t,n){Rt[Dt++]=En,Rt[Dt++]=Tn,Rt[Dt++]=Oi,Oi=e;var i=En;e=Tn;var r=32-St(i)-1;i&=~(1<<r),n+=1;var l=32-St(t)+r;if(30<l){var a=r-r%5;l=(i&(1<<a)-1).toString(32),i>>=a,r-=a,En=1<<32-St(t)+r|n<<r|i,Tn=l+e}else En=1<<l|n<<r|i,Tn=e}function Of(e){e.return!==null&&(ki(e,1),Kg(e,1,0))}function zf(e){for(;e===Vo;)Vo=wr[--kr],wr[kr]=null,Xo=wr[--kr],wr[kr]=null;for(;e===Oi;)Oi=Rt[--Dt],Rt[Dt]=null,Tn=Rt[--Dt],Rt[Dt]=null,En=Rt[--Dt],Rt[Dt]=null}var lt=null,Te=null,ne=!1,zi=null,en=!1,Mc=Error(_(519));function Mi(e){var t=Error(_(418,""));throw Jl(Ut(t,e)),Mc}function um(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[$e]=e,t[ft]=i,n){case"dialog":J("cancel",t),J("close",t);break;case"iframe":case"object":case"embed":J("load",t);break;case"video":case"audio":for(n=0;n<Wl.length;n++)J(Wl[n],t);break;case"source":J("error",t);break;case"img":case"image":case"link":J("error",t),J("load",t);break;case"details":J("toggle",t);break;case"input":J("invalid",t),kg(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),qo(t);break;case"select":J("invalid",t);break;case"textarea":J("invalid",t),_g(t,i.value,i.defaultValue,i.children),qo(t)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||C0(t.textContent,n)?(i.popover!=null&&(J("beforetoggle",t),J("toggle",t)),i.onScroll!=null&&J("scroll",t),i.onScrollEnd!=null&&J("scrollend",t),i.onClick!=null&&(t.onclick=wu),t=!0):t=!1,t||Mi(e)}function sm(e){for(lt=e.return;lt;)switch(lt.tag){case 5:case 13:en=!1;return;case 27:case 3:en=!0;return;default:lt=lt.return}}function Sl(e){if(e!==lt)return!1;if(!ne)return sm(e),ne=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||of(e.type,e.memoizedProps)),n=!n),n&&Te&&Mi(e),sm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(n=e.data,n==="/$"){if(t===0){Te=Qt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++;e=e.nextSibling}Te=null}}else t===27?(t=Te,ci(e.type)?(e=cf,cf=null,Te=e):Te=t):Te=lt?Qt(e.stateNode.nextSibling):null;return!0}function fa(){Te=lt=null,ne=!1}function cm(){var e=zi;return e!==null&&(ct===null?ct=e:ct.push.apply(ct,e),zi=null),e}function Jl(e){zi===null?zi=[e]:zi.push(e)}var Uc=an(null),ji=null,wn=null;function Gn(e,t,n){ve(Uc,t._currentValue),t._currentValue=n}function _n(e){e._currentValue=Uc.current,qe(Uc)}function Lc(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function Bc(e,t,n,i){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var l=r.dependencies;if(l!==null){var a=r.child;l=l.firstContext;e:for(;l!==null;){var o=l;l=r;for(var u=0;u<t.length;u++)if(o.context===t[u]){l.lanes|=n,o=l.alternate,o!==null&&(o.lanes|=n),Lc(l.return,n,e),i||(a=null);break e}l=o.next}}else if(r.tag===18){if(a=r.return,a===null)throw Error(_(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Lc(a,n,e),a=null}else a=r.child;if(a!==null)a.return=r;else for(a=r;a!==null;){if(a===e){a=null;break}if(r=a.sibling,r!==null){r.return=a.return,a=r;break}a=a.return}r=a}}function pa(e,t,n,i){e=null;for(var r=t,l=!1;r!==null;){if(!l){if((r.flags&524288)!==0)l=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var a=r.alternate;if(a===null)throw Error(_(387));if(a=a.memoizedProps,a!==null){var o=r.type;wt(r.pendingProps.value,a.value)||(e!==null?e.push(o):e=[o])}}else if(r===Uo.current){if(a=r.alternate,a===null)throw Error(_(387));a.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(ta):e=[ta])}r=r.return}e!==null&&Bc(t,e,n,i),t.flags|=262144}function Go(e){for(e=e.firstContext;e!==null;){if(!wt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ui(e){ji=e,wn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function et(e){return Ig(ji,e)}function fo(e,t){return ji===null&&Ui(e),Ig(e,t)}function Ig(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},wn===null){if(e===null)throw Error(_(308));wn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else wn=wn.next=t;return n}var $2=typeof AbortController!="undefined"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},eT=Ue.unstable_scheduleCallback,tT=Ue.unstable_NormalPriority,De={$$typeof:Sn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Nf(){return{controller:new $2,data:new Map,refCount:0}}function ha(e){e.refCount--,e.refCount===0&&eT(tT,function(){e.controller.abort()})}var Ml=null,Hc=0,Hr=0,zr=null;function nT(e,t){if(Ml===null){var n=Ml=[];Hc=0,Hr=ep(),zr={status:"pending",value:void 0,then:function(i){n.push(i)}}}return Hc++,t.then(fm,fm),t}function fm(){if(--Hc===0&&Ml!==null){zr!==null&&(zr.status="fulfilled");var e=Ml;Ml=null,Hr=0,zr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function iT(e,t){var n=[],i={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(i.status="rejected",i.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),i}var pm=B.S;B.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&nT(e,t),pm!==null&&pm(e,t)};var Ni=an(null);function Rf(){var e=Ni.current;return e!==null?e:de.pooledCache}function _o(e,t){t===null?ve(Ni,Ni.current):ve(Ni,t.pool)}function Jg(){var e=Rf();return e===null?null:{parent:De._currentValue,pool:e}}var da=Error(_(460)),Pg=Error(_(474)),yu=Error(_(542)),qc={then:function(){}};function hm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function po(){}function Fg(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(po,po),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,mm(e),e;default:if(typeof t.status=="string")t.then(po,po);else{if(e=de,e!==null&&100<e.shellSuspendCounter)throw Error(_(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=i}},function(i){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,mm(e),e}throw Ul=t,da}}var Ul=null;function dm(){if(Ul===null)throw Error(_(459));var e=Ul;return Ul=null,e}function mm(e){if(e===da||e===yu)throw Error(_(483))}var Xn=!1;function Df(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Yc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function $n(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ei(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(le&2)!==0){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,t=jo(e),Qg(e,null,n),t}return gu(e,i,t,n),jo(e)}function Ll(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,xg(e,n)}}function ec(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};l===null?r=l=a:l=l.next=a,n=n.next}while(n!==null);l===null?r=l=t:l=l.next=t}else r=l=t;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:l,shared:i.shared,callbacks:i.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var jc=!1;function Bl(){if(jc){var e=zr;if(e!==null)throw e}}function Hl(e,t,n,i){jc=!1;var r=e.updateQueue;Xn=!1;var l=r.firstBaseUpdate,a=r.lastBaseUpdate,o=r.shared.pending;if(o!==null){r.shared.pending=null;var u=o,c=u.next;u.next=null,a===null?l=c:a.next=c,a=u;var s=e.alternate;s!==null&&(s=s.updateQueue,o=s.lastBaseUpdate,o!==a&&(o===null?s.firstBaseUpdate=c:o.next=c,s.lastBaseUpdate=u))}if(l!==null){var h=r.baseState;a=0,s=c=u=null,o=l;do{var p=o.lane&-536870913,f=p!==o.lane;if(f?(te&p)===p:(i&p)===p){p!==0&&p===Hr&&(jc=!0),s!==null&&(s=s.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});e:{var w=e,E=o;p=t;var k=n;switch(E.tag){case 1:if(w=E.payload,typeof w=="function"){h=w.call(k,h,p);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=E.payload,p=typeof w=="function"?w.call(k,h,p):w,p==null)break e;h=ge({},h,p);break e;case 2:Xn=!0}}p=o.callback,p!==null&&(e.flags|=64,f&&(e.flags|=8192),f=r.callbacks,f===null?r.callbacks=[p]:f.push(p))}else f={lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},s===null?(c=s=f,u=h):s=s.next=f,a|=p;if(o=o.next,o===null){if(o=r.shared.pending,o===null)break;f=o,o=f.next,f.next=null,r.lastBaseUpdate=f,r.shared.pending=null}}while(!0);s===null&&(u=h),r.baseState=u,r.firstBaseUpdate=c,r.lastBaseUpdate=s,l===null&&(r.shared.lanes=0),ui|=a,e.lanes=a,e.memoizedState=h}}function Wg(e,t){if(typeof e!="function")throw Error(_(191,e));e.call(t)}function $g(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Wg(n[e],t)}var qr=an(null),Qo=an(0);function gm(e,t){e=Nn,ve(Qo,e),ve(qr,t),Nn=e|t.baseLanes}function Vc(){ve(Qo,Nn),ve(qr,qr.current)}function Mf(){Nn=Qo.current,qe(qr),qe(Qo)}var ai=0,Z=null,ce=null,ze=null,Zo=!1,Nr=!1,Li=!1,Ko=0,Pl=0,Rr=null,rT=0;function Ae(){throw Error(_(321))}function Uf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wt(e[n],t[n]))return!1;return!0}function Lf(e,t,n,i,r,l){return ai=l,Z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=e===null||e.memoizedState===null?zy:Ny,Li=!1,l=n(i,r),Li=!1,Nr&&(l=ty(t,n,i,r)),ey(e),l}function ey(e){B.H=Io;var t=ce!==null&&ce.next!==null;if(ai=0,ze=ce=Z=null,Zo=!1,Pl=0,Rr=null,t)throw Error(_(300));e===null||He||(e=e.dependencies,e!==null&&Go(e)&&(He=!0))}function ty(e,t,n,i){Z=e;var r=0;do{if(Nr&&(Rr=null),Pl=0,Nr=!1,25<=r)throw Error(_(301));if(r+=1,ze=ce=null,e.updateQueue!=null){var l=e.updateQueue;l.lastEffect=null,l.events=null,l.stores=null,l.memoCache!=null&&(l.memoCache.index=0)}B.H=fT,l=t(n,i)}while(Nr);return l}function lT(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?ma(t):t,e=e.useState()[0],(ce!==null?ce.memoizedState:null)!==e&&(Z.flags|=1024),t}function Bf(){var e=Ko!==0;return Ko=0,e}function Hf(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function qf(e){if(Zo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Zo=!1}ai=0,ze=ce=Z=null,Nr=!1,Pl=Ko=0,Rr=null}function ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ze===null?Z.memoizedState=ze=e:ze=ze.next=e,ze}function Ne(){if(ce===null){var e=Z.alternate;e=e!==null?e.memoizedState:null}else e=ce.next;var t=ze===null?Z.memoizedState:ze.next;if(t!==null)ze=t,ce=e;else{if(e===null)throw Z.alternate===null?Error(_(467)):Error(_(310));ce=e,e={memoizedState:ce.memoizedState,baseState:ce.baseState,baseQueue:ce.baseQueue,queue:ce.queue,next:null},ze===null?Z.memoizedState=ze=e:ze=ze.next=e}return ze}function Yf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ma(e){var t=Pl;return Pl+=1,Rr===null&&(Rr=[]),e=Fg(Rr,e,t),t=Z,(ze===null?t.memoizedState:ze.next)===null&&(t=t.alternate,B.H=t===null||t.memoizedState===null?zy:Ny),e}function bu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ma(e);if(e.$$typeof===Sn)return et(e)}throw Error(_(438,String(e)))}function jf(e){var t=null,n=Z.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=Z.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Yf(),Z.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),i=0;i<e;i++)n[i]=XE;return t.index++,n}function On(e,t){return typeof t=="function"?t(e):t}function Co(e){var t=Ne();return Vf(t,ce,e)}function Vf(e,t,n){var i=e.queue;if(i===null)throw Error(_(311));i.lastRenderedReducer=n;var r=e.baseQueue,l=i.pending;if(l!==null){if(r!==null){var a=r.next;r.next=l.next,l.next=a}t.baseQueue=r=l,i.pending=null}if(l=e.baseState,r===null)e.memoizedState=l;else{t=r.next;var o=a=null,u=null,c=t,s=!1;do{var h=c.lane&-536870913;if(h!==c.lane?(te&h)===h:(ai&h)===h){var p=c.revertLane;if(p===0)u!==null&&(u=u.next={lane:0,revertLane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),h===Hr&&(s=!0);else if((ai&p)===p){c=c.next,p===Hr&&(s=!0);continue}else h={lane:0,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},u===null?(o=u=h,a=l):u=u.next=h,Z.lanes|=p,ui|=p;h=c.action,Li&&n(l,h),l=c.hasEagerState?c.eagerState:n(l,h)}else p={lane:h,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},u===null?(o=u=p,a=l):u=u.next=p,Z.lanes|=h,ui|=h;c=c.next}while(c!==null&&c!==t);if(u===null?a=l:u.next=o,!wt(l,e.memoizedState)&&(He=!0,s&&(n=zr,n!==null)))throw n;e.memoizedState=l,e.baseState=a,e.baseQueue=u,i.lastRenderedState=l}return r===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function tc(e){var t=Ne(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var i=n.dispatch,r=n.pending,l=t.memoizedState;if(r!==null){n.pending=null;var a=r=r.next;do l=e(l,a.action),a=a.next;while(a!==r);wt(l,t.memoizedState)||(He=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),n.lastRenderedState=l}return[l,i]}function ny(e,t,n){var i=Z,r=Ne(),l=ne;if(l){if(n===void 0)throw Error(_(407));n=n()}else n=t();var a=!wt((ce||r).memoizedState,n);a&&(r.memoizedState=n,He=!0),r=r.queue;var o=ly.bind(null,i,r,e);if(ga(2048,8,o,[e]),r.getSnapshot!==t||a||ze!==null&&ze.memoizedState.tag&1){if(i.flags|=2048,Yr(9,xu(),ry.bind(null,i,r,n,t),null),de===null)throw Error(_(349));l||(ai&124)!==0||iy(i,t,n)}return n}function iy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Z.updateQueue,t===null?(t=Yf(),Z.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ry(e,t,n,i){t.value=n,t.getSnapshot=i,ay(t)&&oy(e)}function ly(e,t,n){return n(function(){ay(t)&&oy(e)})}function ay(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wt(e,n)}catch(i){return!0}}function oy(e){var t=Ir(e,2);t!==null&&Tt(t,e,2)}function Xc(e){var t=ut();if(typeof e=="function"){var n=e;if(e=n(),Li){In(!0);try{n()}finally{In(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:e},t}function uy(e,t,n,i){return e.baseState=n,Vf(e,ce,typeof i=="function"?i:On)}function aT(e,t,n,i,r){if(vu(e))throw Error(_(485));if(e=t.action,e!==null){var l={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(a){l.listeners.push(a)}};B.T!==null?n(!0):l.isTransition=!1,i(l),n=t.pending,n===null?(l.next=t.pending=l,sy(t,l)):(l.next=n.next,t.pending=n.next=l)}}function sy(e,t){var n=t.action,i=t.payload,r=e.state;if(t.isTransition){var l=B.T,a={};B.T=a;try{var o=n(r,i),u=B.S;u!==null&&u(a,o),ym(e,t,o)}catch(c){Gc(e,t,c)}finally{B.T=l}}else try{l=n(r,i),ym(e,t,l)}catch(c){Gc(e,t,c)}}function ym(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){bm(e,t,i)},function(i){return Gc(e,t,i)}):bm(e,t,n)}function bm(e,t,n){t.status="fulfilled",t.value=n,cy(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,sy(e,n)))}function Gc(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,cy(t),t=t.next;while(t!==i)}e.action=null}function cy(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function fy(e,t){return t}function xm(e,t){if(ne){var n=de.formState;if(n!==null){e:{var i=Z;if(ne){if(Te){t:{for(var r=Te,l=en;r.nodeType!==8;){if(!l){r=null;break t}if(r=Qt(r.nextSibling),r===null){r=null;break t}}l=r.data,r=l==="F!"||l==="F"?r:null}if(r){Te=Qt(r.nextSibling),i=r.data==="F!";break e}}Mi(i)}i=!1}i&&(t=n[0])}}return n=ut(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fy,lastRenderedState:t},n.queue=i,n=_y.bind(null,Z,i),i.dispatch=n,i=Xc(!1),l=Zf.bind(null,Z,!1,i.queue),i=ut(),r={state:t,dispatch:null,action:e,pending:null},i.queue=r,n=aT.bind(null,Z,r,l,n),r.dispatch=n,i.memoizedState=e,[t,n,!1]}function vm(e){var t=Ne();return py(t,ce,e)}function py(e,t,n){if(t=Vf(e,t,fy)[0],e=Co(On)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=ma(t)}catch(a){throw a===da?yu:a}else i=t;t=Ne();var r=t.queue,l=r.dispatch;return n!==t.memoizedState&&(Z.flags|=2048,Yr(9,xu(),oT.bind(null,r,n),null)),[i,l,e]}function oT(e,t){e.action=t}function Sm(e){var t=Ne(),n=ce;if(n!==null)return py(t,n,e);Ne(),t=t.memoizedState,n=Ne();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function Yr(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=Z.updateQueue,t===null&&(t=Yf(),Z.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function xu(){return{destroy:void 0,resource:void 0}}function hy(){return Ne().memoizedState}function Oo(e,t,n,i){var r=ut();i=i===void 0?null:i,Z.flags|=e,r.memoizedState=Yr(1|t,xu(),n,i)}function ga(e,t,n,i){var r=Ne();i=i===void 0?null:i;var l=r.memoizedState.inst;ce!==null&&i!==null&&Uf(i,ce.memoizedState.deps)?r.memoizedState=Yr(t,l,n,i):(Z.flags|=e,r.memoizedState=Yr(1|t,l,n,i))}function Em(e,t){Oo(8390656,8,e,t)}function dy(e,t){ga(2048,8,e,t)}function my(e,t){return ga(4,2,e,t)}function gy(e,t){return ga(4,4,e,t)}function yy(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function by(e,t,n){n=n!=null?n.concat([e]):null,ga(4,4,yy.bind(null,t,e),n)}function Xf(){}function xy(e,t){var n=Ne();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&Uf(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function vy(e,t){var n=Ne();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&Uf(t,i[1]))return i[0];if(i=e(),Li){In(!0);try{e()}finally{In(!1)}}return n.memoizedState=[i,t],i}function Gf(e,t,n){return n===void 0||(ai&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=c0(),Z.lanes|=e,ui|=e,n)}function Sy(e,t,n,i){return wt(n,t)?n:qr.current!==null?(e=Gf(e,n,i),wt(e,t)||(He=!0),e):(ai&42)===0?(He=!0,e.memoizedState=n):(e=c0(),Z.lanes|=e,ui|=e,t)}function Ey(e,t,n,i,r){var l=ie.p;ie.p=l!==0&&8>l?l:8;var a=B.T,o={};B.T=o,Zf(e,!1,t,n);try{var u=r(),c=B.S;if(c!==null&&c(o,u),u!==null&&typeof u=="object"&&typeof u.then=="function"){var s=iT(u,i);ql(e,t,s,Et(e))}else ql(e,t,i,Et(e))}catch(h){ql(e,t,{then:function(){},status:"rejected",reason:h},Et())}finally{ie.p=l,B.T=a}}function uT(){}function Qc(e,t,n,i){if(e.tag!==5)throw Error(_(476));var r=Ty(e).queue;Ey(e,r,t,_i,n===null?uT:function(){return wy(e),n(i)})}function Ty(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:_i,baseState:_i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:_i},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function wy(e){var t=Ty(e).next.queue;ql(e,t,{},Et())}function Qf(){return et(ta)}function ky(){return Ne().memoizedState}function Ay(){return Ne().memoizedState}function sT(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Et();e=$n(n);var i=ei(t,e,n);i!==null&&(Tt(i,t,n),Ll(i,t,n)),t={cache:Nf()},e.payload=t;return}t=t.return}}function cT(e,t,n){var i=Et();n={lane:i,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},vu(e)?Cy(t,n):(n=_f(e,t,n,i),n!==null&&(Tt(n,e,i),Oy(n,t,i)))}function _y(e,t,n){var i=Et();ql(e,t,n,i)}function ql(e,t,n,i){var r={lane:i,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(vu(e))Cy(t,r);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var a=t.lastRenderedState,o=l(a,n);if(r.hasEagerState=!0,r.eagerState=o,wt(o,a))return gu(e,t,r,0),de===null&&mu(),!1}catch(u){}finally{}if(n=_f(e,t,r,i),n!==null)return Tt(n,e,i),Oy(n,t,i),!0}return!1}function Zf(e,t,n,i){if(i={lane:2,revertLane:ep(),action:i,hasEagerState:!1,eagerState:null,next:null},vu(e)){if(t)throw Error(_(479))}else t=_f(e,n,i,2),t!==null&&Tt(t,e,2)}function vu(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Cy(e,t){Nr=Zo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Oy(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,xg(e,n)}}var Io={readContext:et,use:bu,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useLayoutEffect:Ae,useInsertionEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useSyncExternalStore:Ae,useId:Ae,useHostTransitionStatus:Ae,useFormState:Ae,useActionState:Ae,useOptimistic:Ae,useMemoCache:Ae,useCacheRefresh:Ae},zy={readContext:et,use:bu,useCallback:function(e,t){return ut().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:Em,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Oo(4194308,4,yy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Oo(4194308,4,e,t)},useInsertionEffect:function(e,t){Oo(4,2,e,t)},useMemo:function(e,t){var n=ut();t=t===void 0?null:t;var i=e();if(Li){In(!0);try{e()}finally{In(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=ut();if(n!==void 0){var r=n(t);if(Li){In(!0);try{n(t)}finally{In(!1)}}}else r=t;return i.memoizedState=i.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},i.queue=e,e=e.dispatch=cT.bind(null,Z,e),[i.memoizedState,e]},useRef:function(e){var t=ut();return e={current:e},t.memoizedState=e},useState:function(e){e=Xc(e);var t=e.queue,n=_y.bind(null,Z,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Xf,useDeferredValue:function(e,t){var n=ut();return Gf(n,e,t)},useTransition:function(){var e=Xc(!1);return e=Ey.bind(null,Z,e.queue,!0,!1),ut().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=Z,r=ut();if(ne){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),de===null)throw Error(_(349));(te&124)!==0||iy(i,t,n)}r.memoizedState=n;var l={value:n,getSnapshot:t};return r.queue=l,Em(ly.bind(null,i,l,e),[e]),i.flags|=2048,Yr(9,xu(),ry.bind(null,i,l,n,t),null),n},useId:function(){var e=ut(),t=de.identifierPrefix;if(ne){var n=Tn,i=En;n=(i&~(1<<32-St(i)-1)).toString(32)+n,t="\xAB"+t+"R"+n,n=Ko++,0<n&&(t+="H"+n.toString(32)),t+="\xBB"}else n=rT++,t="\xAB"+t+"r"+n.toString(32)+"\xBB";return e.memoizedState=t},useHostTransitionStatus:Qf,useFormState:xm,useActionState:xm,useOptimistic:function(e){var t=ut();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Zf.bind(null,Z,!0,n),n.dispatch=t,[e,t]},useMemoCache:jf,useCacheRefresh:function(){return ut().memoizedState=sT.bind(null,Z)}},Ny={readContext:et,use:bu,useCallback:xy,useContext:et,useEffect:dy,useImperativeHandle:by,useInsertionEffect:my,useLayoutEffect:gy,useMemo:vy,useReducer:Co,useRef:hy,useState:function(){return Co(On)},useDebugValue:Xf,useDeferredValue:function(e,t){var n=Ne();return Sy(n,ce.memoizedState,e,t)},useTransition:function(){var e=Co(On)[0],t=Ne().memoizedState;return[typeof e=="boolean"?e:ma(e),t]},useSyncExternalStore:ny,useId:ky,useHostTransitionStatus:Qf,useFormState:vm,useActionState:vm,useOptimistic:function(e,t){var n=Ne();return uy(n,ce,e,t)},useMemoCache:jf,useCacheRefresh:Ay},fT={readContext:et,use:bu,useCallback:xy,useContext:et,useEffect:dy,useImperativeHandle:by,useInsertionEffect:my,useLayoutEffect:gy,useMemo:vy,useReducer:tc,useRef:hy,useState:function(){return tc(On)},useDebugValue:Xf,useDeferredValue:function(e,t){var n=Ne();return ce===null?Gf(n,e,t):Sy(n,ce.memoizedState,e,t)},useTransition:function(){var e=tc(On)[0],t=Ne().memoizedState;return[typeof e=="boolean"?e:ma(e),t]},useSyncExternalStore:ny,useId:ky,useHostTransitionStatus:Qf,useFormState:Sm,useActionState:Sm,useOptimistic:function(e,t){var n=Ne();return ce!==null?uy(n,ce,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:jf,useCacheRefresh:Ay},Dr=null,Fl=0;function ho(e){var t=Fl;return Fl+=1,Dr===null&&(Dr=[]),Fg(Dr,e,t)}function El(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function mo(e,t){throw t.$$typeof===jE?Error(_(525)):(e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Tm(e){var t=e._init;return t(e._payload)}function Ry(e){function t(d,m){if(e){var g=d.deletions;g===null?(d.deletions=[m],d.flags|=16):g.push(m)}}function n(d,m){if(!e)return null;for(;m!==null;)t(d,m),m=m.sibling;return null}function i(d){for(var m=new Map;d!==null;)d.key!==null?m.set(d.key,d):m.set(d.index,d),d=d.sibling;return m}function r(d,m){return d=An(d,m),d.index=0,d.sibling=null,d}function l(d,m,g){return d.index=g,e?(g=d.alternate,g!==null?(g=g.index,g<m?(d.flags|=67108866,m):g):(d.flags|=67108866,m)):(d.flags|=1048576,m)}function a(d){return e&&d.alternate===null&&(d.flags|=67108866),d}function o(d,m,g,x){return m===null||m.tag!==6?(m=Ws(g,d.mode,x),m.return=d,m):(m=r(m,g),m.return=d,m)}function u(d,m,g,x){var T=g.type;return T===mr?s(d,m,g.props.children,x,g.key):m!==null&&(m.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Vn&&Tm(T)===m.type)?(m=r(m,g.props),El(m,g),m.return=d,m):(m=Ao(g.type,g.key,g.props,null,d.mode,x),El(m,g),m.return=d,m)}function c(d,m,g,x){return m===null||m.tag!==4||m.stateNode.containerInfo!==g.containerInfo||m.stateNode.implementation!==g.implementation?(m=$s(g,d.mode,x),m.return=d,m):(m=r(m,g.children||[]),m.return=d,m)}function s(d,m,g,x,T){return m===null||m.tag!==7?(m=Ci(g,d.mode,x,T),m.return=d,m):(m=r(m,g),m.return=d,m)}function h(d,m,g){if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return m=Ws(""+m,d.mode,g),m.return=d,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ro:return g=Ao(m.type,m.key,m.props,null,d.mode,g),El(g,m),g.return=d,g;case _l:return m=$s(m,d.mode,g),m.return=d,m;case Vn:var x=m._init;return m=x(m._payload),h(d,m,g)}if(Cl(m)||xl(m))return m=Ci(m,d.mode,g,null),m.return=d,m;if(typeof m.then=="function")return h(d,ho(m),g);if(m.$$typeof===Sn)return h(d,fo(d,m),g);mo(d,m)}return null}function p(d,m,g,x){var T=m!==null?m.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return T!==null?null:o(d,m,""+g,x);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ro:return g.key===T?u(d,m,g,x):null;case _l:return g.key===T?c(d,m,g,x):null;case Vn:return T=g._init,g=T(g._payload),p(d,m,g,x)}if(Cl(g)||xl(g))return T!==null?null:s(d,m,g,x,null);if(typeof g.then=="function")return p(d,m,ho(g),x);if(g.$$typeof===Sn)return p(d,m,fo(d,g),x);mo(d,g)}return null}function f(d,m,g,x,T){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return d=d.get(g)||null,o(m,d,""+x,T);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ro:return d=d.get(x.key===null?g:x.key)||null,u(m,d,x,T);case _l:return d=d.get(x.key===null?g:x.key)||null,c(m,d,x,T);case Vn:var S=x._init;return x=S(x._payload),f(d,m,g,x,T)}if(Cl(x)||xl(x))return d=d.get(g)||null,s(m,d,x,T,null);if(typeof x.then=="function")return f(d,m,g,ho(x),T);if(x.$$typeof===Sn)return f(d,m,g,fo(m,x),T);mo(m,x)}return null}function w(d,m,g,x){for(var T=null,S=null,C=m,N=m=0,z=null;C!==null&&N<g.length;N++){C.index>N?(z=C,C=null):z=C.sibling;var R=p(d,C,g[N],x);if(R===null){C===null&&(C=z);break}e&&C&&R.alternate===null&&t(d,C),m=l(R,m,N),S===null?T=R:S.sibling=R,S=R,C=z}if(N===g.length)return n(d,C),ne&&ki(d,N),T;if(C===null){for(;N<g.length;N++)C=h(d,g[N],x),C!==null&&(m=l(C,m,N),S===null?T=C:S.sibling=C,S=C);return ne&&ki(d,N),T}for(C=i(C);N<g.length;N++)z=f(C,d,N,g[N],x),z!==null&&(e&&z.alternate!==null&&C.delete(z.key===null?N:z.key),m=l(z,m,N),S===null?T=z:S.sibling=z,S=z);return e&&C.forEach(function(X){return t(d,X)}),ne&&ki(d,N),T}function E(d,m,g,x){if(g==null)throw Error(_(151));for(var T=null,S=null,C=m,N=m=0,z=null,R=g.next();C!==null&&!R.done;N++,R=g.next()){C.index>N?(z=C,C=null):z=C.sibling;var X=p(d,C,R.value,x);if(X===null){C===null&&(C=z);break}e&&C&&X.alternate===null&&t(d,C),m=l(X,m,N),S===null?T=X:S.sibling=X,S=X,C=z}if(R.done)return n(d,C),ne&&ki(d,N),T;if(C===null){for(;!R.done;N++,R=g.next())R=h(d,R.value,x),R!==null&&(m=l(R,m,N),S===null?T=R:S.sibling=R,S=R);return ne&&ki(d,N),T}for(C=i(C);!R.done;N++,R=g.next())R=f(C,d,N,R.value,x),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?N:R.key),m=l(R,m,N),S===null?T=R:S.sibling=R,S=R);return e&&C.forEach(function($){return t(d,$)}),ne&&ki(d,N),T}function k(d,m,g,x){if(typeof g=="object"&&g!==null&&g.type===mr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case ro:e:{for(var T=g.key;m!==null;){if(m.key===T){if(T=g.type,T===mr){if(m.tag===7){n(d,m.sibling),x=r(m,g.props.children),x.return=d,d=x;break e}}else if(m.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Vn&&Tm(T)===m.type){n(d,m.sibling),x=r(m,g.props),El(x,g),x.return=d,d=x;break e}n(d,m);break}else t(d,m);m=m.sibling}g.type===mr?(x=Ci(g.props.children,d.mode,x,g.key),x.return=d,d=x):(x=Ao(g.type,g.key,g.props,null,d.mode,x),El(x,g),x.return=d,d=x)}return a(d);case _l:e:{for(T=g.key;m!==null;){if(m.key===T)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){n(d,m.sibling),x=r(m,g.children||[]),x.return=d,d=x;break e}else{n(d,m);break}else t(d,m);m=m.sibling}x=$s(g,d.mode,x),x.return=d,d=x}return a(d);case Vn:return T=g._init,g=T(g._payload),k(d,m,g,x)}if(Cl(g))return w(d,m,g,x);if(xl(g)){if(T=xl(g),typeof T!="function")throw Error(_(150));return g=T.call(g),E(d,m,g,x)}if(typeof g.then=="function")return k(d,m,ho(g),x);if(g.$$typeof===Sn)return k(d,m,fo(d,g),x);mo(d,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,m!==null&&m.tag===6?(n(d,m.sibling),x=r(m,g),x.return=d,d=x):(n(d,m),x=Ws(g,d.mode,x),x.return=d,d=x),a(d)):n(d,m)}return function(d,m,g,x){try{Fl=0;var T=k(d,m,g,x);return Dr=null,T}catch(C){if(C===da||C===yu)throw C;var S=xt(29,C,null,d.mode);return S.lanes=x,S.return=d,S}finally{}}}var jr=Ry(!0),Dy=Ry(!1),Bt=an(null),ln=null;function Qn(e){var t=e.alternate;ve(Me,Me.current&1),ve(Bt,e),ln===null&&(t===null||qr.current!==null||t.memoizedState!==null)&&(ln=e)}function My(e){if(e.tag===22){if(ve(Me,Me.current),ve(Bt,e),ln===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(ln=e)}}else Zn(e)}function Zn(){ve(Me,Me.current),ve(Bt,Bt.current)}function kn(e){qe(Bt),ln===e&&(ln=null),qe(Me)}var Me=an(0);function Jo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||sf(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function nc(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Zc={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Et(),r=$n(i);r.payload=t,n!=null&&(r.callback=n),t=ei(e,r,i),t!==null&&(Tt(t,e,i),Ll(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Et(),r=$n(i);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=ei(e,r,i),t!==null&&(Tt(t,e,i),Ll(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Et(),i=$n(n);i.tag=2,t!=null&&(i.callback=t),t=ei(e,i,n),t!==null&&(Tt(t,e,n),Ll(t,e,n))}};function wm(e,t,n,i,r,l,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,l,a):t.prototype&&t.prototype.isPureReactComponent?!Il(n,i)||!Il(r,l):!0}function km(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&Zc.enqueueReplaceState(t,t.state,null)}function Bi(e,t){var n=t;if("ref"in t){n={};for(var i in t)i!=="ref"&&(n[i]=t[i])}if(e=e.defaultProps){n===t&&(n=ge({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}var Po=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Uy(e){Po(e)}function Ly(e){console.error(e)}function By(e){Po(e)}function Fo(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function Am(e,t,n){try{var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Kc(e,t,n){return n=$n(n),n.tag=3,n.payload={element:null},n.callback=function(){Fo(e,t)},n}function Hy(e){return e=$n(e),e.tag=3,e}function qy(e,t,n,i){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var l=i.value;e.payload=function(){return r(l)},e.callback=function(){Am(t,n,i)}}var a=n.stateNode;a!==null&&typeof a.componentDidCatch=="function"&&(e.callback=function(){Am(t,n,i),typeof r!="function"&&(ti===null?ti=new Set([this]):ti.add(this));var o=i.stack;this.componentDidCatch(i.value,{componentStack:o!==null?o:""})})}function pT(e,t,n,i,r){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&pa(t,n,r,!0),n=Bt.current,n!==null){switch(n.tag){case 13:return ln===null?tf():n.alternate===null&&we===0&&(we=3),n.flags&=-257,n.flags|=65536,n.lanes=r,i===qc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),hc(e,i,r)),!1;case 22:return n.flags|=65536,i===qc?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),hc(e,i,r)),!1}throw Error(_(435,n.tag))}return hc(e,i,r),tf(),!1}if(ne)return t=Bt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,i!==Mc&&(e=Error(_(422),{cause:i}),Jl(Ut(e,n)))):(i!==Mc&&(t=Error(_(423),{cause:i}),Jl(Ut(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,i=Ut(i,n),r=Kc(e.stateNode,i,r),ec(e,r),we!==4&&(we=2)),!1;var l=Error(_(520),{cause:i});if(l=Ut(l,n),Vl===null?Vl=[l]:Vl.push(l),we!==4&&(we=2),t===null)return!0;i=Ut(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=Kc(n.stateNode,i,e),ec(n,e),!1;case 1:if(t=n.type,l=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||l!==null&&typeof l.componentDidCatch=="function"&&(ti===null||!ti.has(l))))return n.flags|=65536,r&=-r,n.lanes|=r,r=Hy(r),qy(r,e,n,i),ec(n,r),!1}n=n.return}while(n!==null);return!1}var Yy=Error(_(461)),He=!1;function Qe(e,t,n,i){t.child=e===null?Dy(t,null,n,i):jr(t,e.child,n,i)}function _m(e,t,n,i,r){n=n.render;var l=t.ref;if("ref"in i){var a={};for(var o in i)o!=="ref"&&(a[o]=i[o])}else a=i;return Ui(t),i=Lf(e,t,n,a,l,r),o=Bf(),e!==null&&!He?(Hf(e,t,r),zn(e,t,r)):(ne&&o&&Of(t),t.flags|=1,Qe(e,t,i,r),t.child)}function Cm(e,t,n,i,r){if(e===null){var l=n.type;return typeof l=="function"&&!Cf(l)&&l.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=l,jy(e,t,l,i,r)):(e=Ao(n.type,null,i,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!Kf(e,r)){var a=l.memoizedProps;if(n=n.compare,n=n!==null?n:Il,n(a,i)&&e.ref===t.ref)return zn(e,t,r)}return t.flags|=1,e=An(l,i),e.ref=t.ref,e.return=t,t.child=e}function jy(e,t,n,i,r){if(e!==null){var l=e.memoizedProps;if(Il(l,i)&&e.ref===t.ref)if(He=!1,t.pendingProps=i=l,Kf(e,r))(e.flags&131072)!==0&&(He=!0);else return t.lanes=e.lanes,zn(e,t,r)}return Ic(e,t,n,i,r)}function Vy(e,t,n){var i=t.pendingProps,r=i.children,l=e!==null?e.memoizedState:null;if(i.mode==="hidden"){if((t.flags&128)!==0){if(i=l!==null?l.baseLanes|n:n,e!==null){for(r=t.child=e.child,l=0;r!==null;)l=l|r.lanes|r.childLanes,r=r.sibling;t.childLanes=l&~i}else t.childLanes=0,t.child=null;return Om(e,t,i,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&_o(t,l!==null?l.cachePool:null),l!==null?gm(t,l):Vc(),My(t);else return t.lanes=t.childLanes=536870912,Om(e,t,l!==null?l.baseLanes|n:n,n)}else l!==null?(_o(t,l.cachePool),gm(t,l),Zn(t),t.memoizedState=null):(e!==null&&_o(t,null),Vc(),Zn(t));return Qe(e,t,r,n),t.child}function Om(e,t,n,i){var r=Rf();return r=r===null?null:{parent:De._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&_o(t,null),Vc(),My(t),e!==null&&pa(e,t,i,!0),null}function zo(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(_(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Ic(e,t,n,i,r){return Ui(t),n=Lf(e,t,n,i,void 0,r),i=Bf(),e!==null&&!He?(Hf(e,t,r),zn(e,t,r)):(ne&&i&&Of(t),t.flags|=1,Qe(e,t,n,r),t.child)}function zm(e,t,n,i,r,l){return Ui(t),t.updateQueue=null,n=ty(t,i,n,r),ey(e),i=Bf(),e!==null&&!He?(Hf(e,t,l),zn(e,t,l)):(ne&&i&&Of(t),t.flags|=1,Qe(e,t,n,l),t.child)}function Nm(e,t,n,i,r){if(Ui(t),t.stateNode===null){var l=Tr,a=n.contextType;typeof a=="object"&&a!==null&&(l=et(a)),l=new n(i,l),t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=Zc,t.stateNode=l,l._reactInternals=t,l=t.stateNode,l.props=i,l.state=t.memoizedState,l.refs={},Df(t),a=n.contextType,l.context=typeof a=="object"&&a!==null?et(a):Tr,l.state=t.memoizedState,a=n.getDerivedStateFromProps,typeof a=="function"&&(nc(t,n,a,i),l.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(a=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),a!==l.state&&Zc.enqueueReplaceState(l,l.state,null),Hl(t,i,l,r),Bl(),l.state=t.memoizedState),typeof l.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){l=t.stateNode;var o=t.memoizedProps,u=Bi(n,o);l.props=u;var c=l.context,s=n.contextType;a=Tr,typeof s=="object"&&s!==null&&(a=et(s));var h=n.getDerivedStateFromProps;s=typeof h=="function"||typeof l.getSnapshotBeforeUpdate=="function",o=t.pendingProps!==o,s||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(o||c!==a)&&km(t,l,i,a),Xn=!1;var p=t.memoizedState;l.state=p,Hl(t,i,l,r),Bl(),c=t.memoizedState,o||p!==c||Xn?(typeof h=="function"&&(nc(t,n,h,i),c=t.memoizedState),(u=Xn||wm(t,n,u,i,p,c,a))?(s||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=c),l.props=i,l.state=c,l.context=a,i=u):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{l=t.stateNode,Yc(e,t),a=t.memoizedProps,s=Bi(n,a),l.props=s,h=t.pendingProps,p=l.context,c=n.contextType,u=Tr,typeof c=="object"&&c!==null&&(u=et(c)),o=n.getDerivedStateFromProps,(c=typeof o=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==h||p!==u)&&km(t,l,i,u),Xn=!1,p=t.memoizedState,l.state=p,Hl(t,i,l,r),Bl();var f=t.memoizedState;a!==h||p!==f||Xn||e!==null&&e.dependencies!==null&&Go(e.dependencies)?(typeof o=="function"&&(nc(t,n,o,i),f=t.memoizedState),(s=Xn||wm(t,n,s,i,p,f,u)||e!==null&&e.dependencies!==null&&Go(e.dependencies))?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(i,f,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(i,f,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=f),l.props=i,l.state=f,l.context=u,i=s):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),i=!1)}return l=i,zo(e,t),i=(t.flags&128)!==0,l||i?(l=t.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:l.render(),t.flags|=1,e!==null&&i?(t.child=jr(t,e.child,null,r),t.child=jr(t,null,n,r)):Qe(e,t,n,r),t.memoizedState=l.state,e=t.child):e=zn(e,t,r),e}function Rm(e,t,n,i){return fa(),t.flags|=256,Qe(e,t,n,i),t.child}var ic={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function rc(e){return{baseLanes:e,cachePool:Jg()}}function lc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Lt),e}function Xy(e,t,n){var i=t.pendingProps,r=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(Me.current&2)!==0),a&&(r=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(ne){if(r?Qn(t):Zn(t),ne){var o=Te,u;if(u=o){e:{for(u=o,o=en;u.nodeType!==8;){if(!o){o=null;break e}if(u=Qt(u.nextSibling),u===null){o=null;break e}}o=u}o!==null?(t.memoizedState={dehydrated:o,treeContext:Oi!==null?{id:En,overflow:Tn}:null,retryLane:536870912,hydrationErrors:null},u=xt(18,null,null,0),u.stateNode=o,u.return=t,t.child=u,lt=t,Te=null,u=!0):u=!1}u||Mi(t)}if(o=t.memoizedState,o!==null&&(o=o.dehydrated,o!==null))return sf(o)?t.lanes=32:t.lanes=536870912,null;kn(t)}return o=i.children,i=i.fallback,r?(Zn(t),r=t.mode,o=Wo({mode:"hidden",children:o},r),i=Ci(i,r,n,null),o.return=t,i.return=t,o.sibling=i,t.child=o,r=t.child,r.memoizedState=rc(n),r.childLanes=lc(e,a,n),t.memoizedState=ic,i):(Qn(t),Jc(t,o))}if(u=e.memoizedState,u!==null&&(o=u.dehydrated,o!==null)){if(l)t.flags&256?(Qn(t),t.flags&=-257,t=ac(e,t,n)):t.memoizedState!==null?(Zn(t),t.child=e.child,t.flags|=128,t=null):(Zn(t),r=i.fallback,o=t.mode,i=Wo({mode:"visible",children:i.children},o),r=Ci(r,o,n,null),r.flags|=2,i.return=t,r.return=t,i.sibling=r,t.child=i,jr(t,e.child,null,n),i=t.child,i.memoizedState=rc(n),i.childLanes=lc(e,a,n),t.memoizedState=ic,t=r);else if(Qn(t),sf(o)){if(a=o.nextSibling&&o.nextSibling.dataset,a)var c=a.dgst;a=c,i=Error(_(419)),i.stack="",i.digest=a,Jl({value:i,source:null,stack:null}),t=ac(e,t,n)}else if(He||pa(e,t,n,!1),a=(n&e.childLanes)!==0,He||a){if(a=de,a!==null&&(i=n&-n,i=(i&42)!==0?1:yf(i),i=(i&(a.suspendedLanes|n))!==0?0:i,i!==0&&i!==u.retryLane))throw u.retryLane=i,Ir(e,i),Tt(a,e,i),Yy;o.data==="$?"||tf(),t=ac(e,t,n)}else o.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,Te=Qt(o.nextSibling),lt=t,ne=!0,zi=null,en=!1,e!==null&&(Rt[Dt++]=En,Rt[Dt++]=Tn,Rt[Dt++]=Oi,En=e.id,Tn=e.overflow,Oi=t),t=Jc(t,i.children),t.flags|=4096);return t}return r?(Zn(t),r=i.fallback,o=t.mode,u=e.child,c=u.sibling,i=An(u,{mode:"hidden",children:i.children}),i.subtreeFlags=u.subtreeFlags&65011712,c!==null?r=An(c,r):(r=Ci(r,o,n,null),r.flags|=2),r.return=t,i.return=t,i.sibling=r,t.child=i,i=r,r=t.child,o=e.child.memoizedState,o===null?o=rc(n):(u=o.cachePool,u!==null?(c=De._currentValue,u=u.parent!==c?{parent:c,pool:c}:u):u=Jg(),o={baseLanes:o.baseLanes|n,cachePool:u}),r.memoizedState=o,r.childLanes=lc(e,a,n),t.memoizedState=ic,i):(Qn(t),n=e.child,e=n.sibling,n=An(n,{mode:"visible",children:i.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function Jc(e,t){return t=Wo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Wo(e,t){return e=xt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function ac(e,t,n){return jr(t,e.child,null,n),e=Jc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Dm(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Lc(e.return,t,n)}function oc(e,t,n,i,r){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=i,l.tail=n,l.tailMode=r)}function Gy(e,t,n){var i=t.pendingProps,r=i.revealOrder,l=i.tail;if(Qe(e,t,i.children,n),i=Me.current,(i&2)!==0)i=i&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Dm(e,n,t);else if(e.tag===19)Dm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}switch(ve(Me,i),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&Jo(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),oc(t,!1,r,n,l);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Jo(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}oc(t,!0,n,null,l);break;case"together":oc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function zn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ui|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(pa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=An(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=An(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Kf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Go(e)))}function hT(e,t,n){switch(t.tag){case 3:Lo(t,t.stateNode.containerInfo),Gn(t,De,e.memoizedState.cache),fa();break;case 27:case 5:wc(t);break;case 4:Lo(t,t.stateNode.containerInfo);break;case 10:Gn(t,t.type,t.memoizedProps.value);break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(Qn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Xy(e,t,n):(Qn(t),e=zn(e,t,n),e!==null?e.sibling:null);Qn(t);break;case 19:var r=(e.flags&128)!==0;if(i=(n&t.childLanes)!==0,i||(pa(e,t,n,!1),i=(n&t.childLanes)!==0),r){if(i)return Gy(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),ve(Me,Me.current),i)break;return null;case 22:case 23:return t.lanes=0,Vy(e,t,n);case 24:Gn(t,De,e.memoizedState.cache)}return zn(e,t,n)}function Qy(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)He=!0;else{if(!Kf(e,n)&&(t.flags&128)===0)return He=!1,hT(e,t,n);He=(e.flags&131072)!==0}else He=!1,ne&&(t.flags&1048576)!==0&&Kg(t,Xo,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var i=t.elementType,r=i._init;if(i=r(i._payload),t.type=i,typeof i=="function")Cf(i)?(e=Bi(i,e),t.tag=1,t=Nm(null,t,i,e,n)):(t.tag=0,t=Ic(null,t,i,e,n));else{if(i!=null){if(r=i.$$typeof,r===df){t.tag=11,t=_m(null,t,i,e,n);break e}else if(r===mf){t.tag=14,t=Cm(null,t,i,e,n);break e}}throw t=Ec(i)||i,Error(_(306,t,""))}}return t;case 0:return Ic(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,r=Bi(i,t.pendingProps),Nm(e,t,i,r,n);case 3:e:{if(Lo(t,t.stateNode.containerInfo),e===null)throw Error(_(387));i=t.pendingProps;var l=t.memoizedState;r=l.element,Yc(e,t),Hl(t,i,null,n);var a=t.memoizedState;if(i=a.cache,Gn(t,De,i),i!==l.cache&&Bc(t,[De],n,!0),Bl(),i=a.element,l.isDehydrated)if(l={element:i,isDehydrated:!1,cache:a.cache},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){t=Rm(e,t,i,n);break e}else if(i!==r){r=Ut(Error(_(424)),t),Jl(r),t=Rm(e,t,i,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Te=Qt(e.firstChild),lt=t,ne=!0,zi=null,en=!0,n=Dy(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(fa(),i===r){t=zn(e,t,n);break e}Qe(e,t,i,n)}t=t.child}return t;case 26:return zo(e,t),e===null?(n=Wm(t.type,null,t.pendingProps,null))?t.memoizedState=n:ne||(n=t.type,e=t.pendingProps,i=lu(Wn.current).createElement(n),i[$e]=t,i[ft]=e,Ke(i,n,e),Be(i),t.stateNode=i):t.memoizedState=Wm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return wc(t),e===null&&ne&&(i=t.stateNode=N0(t.type,t.pendingProps,Wn.current),lt=t,en=!0,r=Te,ci(t.type)?(cf=r,Te=Qt(i.firstChild)):Te=r),Qe(e,t,t.pendingProps.children,n),zo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ne&&((r=i=Te)&&(i=qT(i,t.type,t.pendingProps,en),i!==null?(t.stateNode=i,lt=t,Te=Qt(i.firstChild),en=!1,r=!0):r=!1),r||Mi(t)),wc(t),r=t.type,l=t.pendingProps,a=e!==null?e.memoizedProps:null,i=l.children,of(r,l)?i=null:a!==null&&of(r,a)&&(t.flags|=32),t.memoizedState!==null&&(r=Lf(e,t,lT,null,null,n),ta._currentValue=r),zo(e,t),Qe(e,t,i,n),t.child;case 6:return e===null&&ne&&((e=n=Te)&&(n=YT(n,t.pendingProps,en),n!==null?(t.stateNode=n,lt=t,Te=null,e=!0):e=!1),e||Mi(t)),null;case 13:return Xy(e,t,n);case 4:return Lo(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=jr(t,null,i,n):Qe(e,t,i,n),t.child;case 11:return _m(e,t,t.type,t.pendingProps,n);case 7:return Qe(e,t,t.pendingProps,n),t.child;case 8:return Qe(e,t,t.pendingProps.children,n),t.child;case 12:return Qe(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,Gn(t,t.type,i.value),Qe(e,t,i.children,n),t.child;case 9:return r=t.type._context,i=t.pendingProps.children,Ui(t),r=et(r),i=i(r),t.flags|=1,Qe(e,t,i,n),t.child;case 14:return Cm(e,t,t.type,t.pendingProps,n);case 15:return jy(e,t,t.type,t.pendingProps,n);case 19:return Gy(e,t,n);case 31:return i=t.pendingProps,n=t.mode,i={mode:i.mode,children:i.children},e===null?(n=Wo(i,n),n.ref=t.ref,t.child=n,n.return=t,t=n):(n=An(e.child,i),n.ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Vy(e,t,n);case 24:return Ui(t),i=et(De),e===null?(r=Rf(),r===null&&(r=de,l=Nf(),r.pooledCache=l,l.refCount++,l!==null&&(r.pooledCacheLanes|=n),r=l),t.memoizedState={parent:i,cache:r},Df(t),Gn(t,De,r)):((e.lanes&n)!==0&&(Yc(e,t),Hl(t,null,null,n),Bl()),r=e.memoizedState,l=t.memoizedState,r.parent!==i?(r={parent:i,cache:i},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Gn(t,De,i)):(i=l.cache,Gn(t,De,i),i!==r.cache&&Bc(t,[De],n,!0))),Qe(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(_(156,t.tag))}function bn(e){e.flags|=4}function Mm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!M0(t)){if(t=Bt.current,t!==null&&((te&4194048)===te?ln!==null:(te&62914560)!==te&&(te&536870912)===0||t!==ln))throw Ul=qc,Pg;e.flags|=8192}}function go(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?yg():536870912,e.lanes|=t,Vr|=t)}function Tl(e,t){if(!ne)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Se(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&65011712,i|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function dT(e,t,n){var i=t.pendingProps;switch(zf(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:return Se(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),_n(De),Ur(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Sl(t)?bn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,cm())),Se(t),null;case 26:return n=t.memoizedState,e===null?(bn(t),n!==null?(Se(t),Mm(t,n)):(Se(t),t.flags&=-16777217)):n?n!==e.memoizedState?(bn(t),Se(t),Mm(t,n)):(Se(t),t.flags&=-16777217):(e.memoizedProps!==i&&bn(t),Se(t),t.flags&=-16777217),null;case 27:Bo(t),n=Wn.current;var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&bn(t);else{if(!i){if(t.stateNode===null)throw Error(_(166));return Se(t),null}e=nn.current,Sl(t)?um(t,e):(e=N0(r,i,n),t.stateNode=e,bn(t))}return Se(t),null;case 5:if(Bo(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&bn(t);else{if(!i){if(t.stateNode===null)throw Error(_(166));return Se(t),null}if(e=nn.current,Sl(t))um(t,e);else{switch(r=lu(Wn.current),e){case 1:e=r.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=r.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=r.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=r.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":e=r.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?r.createElement("select",{is:i.is}):r.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?r.createElement(n,{is:i.is}):r.createElement(n)}}e[$e]=t,e[ft]=i;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(Ke(e,n,i),n){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&bn(t)}}return Se(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&bn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(_(166));if(e=Wn.current,Sl(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,r=lt,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}e[$e]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||C0(e.nodeValue,n)),e||Mi(t)}else e=lu(e).createTextNode(i),e[$e]=t,t.stateNode=e}return Se(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Sl(t),i!==null&&i.dehydrated!==null){if(e===null){if(!r)throw Error(_(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(_(317));r[$e]=t}else fa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Se(t),r=!1}else r=cm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(kn(t),t):(kn(t),null)}if(kn(t),(t.flags&128)!==0)return t.lanes=n,t;if(n=i!==null,e=e!==null&&e.memoizedState!==null,n){i=t.child,r=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(r=i.alternate.memoizedState.cachePool.pool);var l=null;i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==r&&(i.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),go(t,t.updateQueue),Se(t),null;case 4:return Ur(),e===null&&tp(t.stateNode.containerInfo),Se(t),null;case 10:return _n(t.type),Se(t),null;case 19:if(qe(Me),r=t.memoizedState,r===null)return Se(t),null;if(i=(t.flags&128)!==0,l=r.rendering,l===null)if(i)Tl(r,!1);else{if(we!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Jo(e),l!==null){for(t.flags|=128,Tl(r,!1),e=l.updateQueue,t.updateQueue=e,go(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Zg(n,e),n=n.sibling;return ve(Me,Me.current&1|2),t.child}e=e.sibling}r.tail!==null&&rn()>eu&&(t.flags|=128,i=!0,Tl(r,!1),t.lanes=4194304)}else{if(!i)if(e=Jo(l),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,go(t,e),Tl(r,!0),r.tail===null&&r.tailMode==="hidden"&&!l.alternate&&!ne)return Se(t),null}else 2*rn()-r.renderingStartTime>eu&&n!==536870912&&(t.flags|=128,i=!0,Tl(r,!1),t.lanes=4194304);r.isBackwards?(l.sibling=t.child,t.child=l):(e=r.last,e!==null?e.sibling=l:t.child=l,r.last=l)}return r.tail!==null?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.renderingStartTime=rn(),t.sibling=null,e=Me.current,ve(Me,i?e&1|2:e&1),t):(Se(t),null);case 22:case 23:return kn(t),Mf(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(n&536870912)!==0&&(t.flags&128)===0&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),n=t.updateQueue,n!==null&&go(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),e!==null&&qe(Ni),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),_n(De),Se(t),null;case 25:return null;case 30:return null}throw Error(_(156,t.tag))}function mT(e,t){switch(zf(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _n(De),Ur(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Bo(t),null;case 13:if(kn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return qe(Me),null;case 4:return Ur(),null;case 10:return _n(t.type),null;case 22:case 23:return kn(t),Mf(),e!==null&&qe(Ni),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return _n(De),null;case 25:return null;default:return null}}function Zy(e,t){switch(zf(t),t.tag){case 3:_n(De),Ur();break;case 26:case 27:case 5:Bo(t);break;case 4:Ur();break;case 13:kn(t);break;case 19:qe(Me);break;case 10:_n(t.type);break;case 22:case 23:kn(t),Mf(),e!==null&&qe(Ni);break;case 24:_n(De)}}function ya(e,t){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var r=i.next;n=r;do{if((n.tag&e)===e){i=void 0;var l=n.create,a=n.inst;i=l(),a.destroy=i}n=n.next}while(n!==r)}}catch(o){he(t,t.return,o)}}function oi(e,t,n){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var l=r.next;i=l;do{if((i.tag&e)===e){var a=i.inst,o=a.destroy;if(o!==void 0){a.destroy=void 0,r=t;var u=n,c=o;try{c()}catch(s){he(r,u,s)}}}i=i.next}while(i!==l)}}catch(s){he(t,t.return,s)}}function Ky(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{$g(t,n)}catch(i){he(e,e.return,i)}}}function Iy(e,t,n){n.props=Bi(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){he(e,t,i)}}function Yl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(r){he(e,t,r)}}function tn(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(r){he(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){he(e,t,r)}else n.current=null}function Jy(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break e;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(r){he(e,e.return,r)}}function uc(e,t,n){try{var i=e.stateNode;MT(i,e.type,n,t),i[ft]=t}catch(r){he(e,e.return,r)}}function Py(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ci(e.type)||e.tag===4}function sc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Py(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ci(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Pc(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=wu));else if(i!==4&&(i===27&&ci(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Pc(e,t,n),e=e.sibling;e!==null;)Pc(e,t,n),e=e.sibling}function $o(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(i===27&&ci(e.type)&&(n=e.stateNode),e=e.child,e!==null))for($o(e,t,n),e=e.sibling;e!==null;)$o(e,t,n),e=e.sibling}function Fy(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Ke(t,i,n),t[$e]=e,t[ft]=n}catch(l){he(e,e.return,l)}}var vn=!1,_e=!1,cc=!1,Um=typeof WeakSet=="function"?WeakSet:Set,Le=null;function gT(e,t){if(e=e.containerInfo,lf=su,e=Hg(e),kf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var r=i.anchorOffset,l=i.focusNode;i=i.focusOffset;try{n.nodeType,l.nodeType}catch(E){n=null;break e}var a=0,o=-1,u=-1,c=0,s=0,h=e,p=null;t:for(;;){for(var f;h!==n||r!==0&&h.nodeType!==3||(o=a+r),h!==l||i!==0&&h.nodeType!==3||(u=a+i),h.nodeType===3&&(a+=h.nodeValue.length),(f=h.firstChild)!==null;)p=h,h=f;for(;;){if(h===e)break t;if(p===n&&++c===r&&(o=a),p===l&&++s===i&&(u=a),(f=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=f}n=o===-1||u===-1?null:{start:o,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(af={focusedElem:e,selectionRange:n},su=!1,Le=t;Le!==null;)if(t=Le,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Le=e;else for(;Le!==null;){switch(t=Le,l=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&l!==null){e=void 0,n=t,r=l.memoizedProps,l=l.memoizedState,i=n.stateNode;try{var w=Bi(n.type,r,n.elementType===n.type);e=i.getSnapshotBeforeUpdate(w,l),i.__reactInternalSnapshotBeforeUpdate=e}catch(E){he(n,n.return,E)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)uf(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":uf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(_(163))}if(e=t.sibling,e!==null){e.return=t.return,Le=e;break}Le=t.return}}function Wy(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:Yn(e,n),i&4&&ya(5,n);break;case 1:if(Yn(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(a){he(n,n.return,a)}else{var r=Bi(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(a){he(n,n.return,a)}}i&64&&Ky(n),i&512&&Yl(n,n.return);break;case 3:if(Yn(e,n),i&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{$g(e,t)}catch(a){he(n,n.return,a)}}break;case 27:t===null&&i&4&&Fy(n);case 26:case 5:Yn(e,n),t===null&&i&4&&Jy(n),i&512&&Yl(n,n.return);break;case 12:Yn(e,n);break;case 13:Yn(e,n),i&4&&t0(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=kT.bind(null,n),jT(e,n))));break;case 22:if(i=n.memoizedState!==null||vn,!i){t=t!==null&&t.memoizedState!==null||_e,r=vn;var l=_e;vn=i,(_e=t)&&!l?jn(e,n,(n.subtreeFlags&8772)!==0):Yn(e,n),vn=r,_e=l}break;case 30:break;default:Yn(e,n)}}function $y(e){var t=e.alternate;t!==null&&(e.alternate=null,$y(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&xf(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var xe=null,st=!1;function xn(e,t,n){for(n=n.child;n!==null;)e0(e,t,n),n=n.sibling}function e0(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(aa,n)}catch(l){}switch(n.tag){case 26:_e||tn(n,t),xn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:_e||tn(n,t);var i=xe,r=st;ci(n.type)&&(xe=n.stateNode,st=!1),xn(e,t,n),Gl(n.stateNode),xe=i,st=r;break;case 5:_e||tn(n,t);case 6:if(i=xe,r=st,xe=null,xn(e,t,n),xe=i,st=r,xe!==null)if(st)try{(xe.nodeType===9?xe.body:xe.nodeName==="HTML"?xe.ownerDocument.body:xe).removeChild(n.stateNode)}catch(l){he(n,t,l)}else try{xe.removeChild(n.stateNode)}catch(l){he(n,t,l)}break;case 18:xe!==null&&(st?(e=xe,Jm(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ra(e)):Jm(xe,n.stateNode));break;case 4:i=xe,r=st,xe=n.stateNode.containerInfo,st=!0,xn(e,t,n),xe=i,st=r;break;case 0:case 11:case 14:case 15:_e||oi(2,n,t),_e||oi(4,n,t),xn(e,t,n);break;case 1:_e||(tn(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&Iy(n,t,i)),xn(e,t,n);break;case 21:xn(e,t,n);break;case 22:_e=(i=_e)||n.memoizedState!==null,xn(e,t,n),_e=i;break;default:xn(e,t,n)}}function t0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ra(e)}catch(n){he(t,t.return,n)}}function yT(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Um),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Um),t;default:throw Error(_(435,e.tag))}}function fc(e,t){var n=yT(e);t.forEach(function(i){var r=AT.bind(null,e,i);n.has(i)||(n.add(i),i.then(r,r))})}function gt(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i],l=e,a=t,o=a;e:for(;o!==null;){switch(o.tag){case 27:if(ci(o.type)){xe=o.stateNode,st=!1;break e}break;case 5:xe=o.stateNode,st=!1;break e;case 3:case 4:xe=o.stateNode.containerInfo,st=!0;break e}o=o.return}if(xe===null)throw Error(_(160));e0(l,a,r),xe=null,st=!1,l=r.alternate,l!==null&&(l.return=null),r.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)n0(t,e),t=t.sibling}var Gt=null;function n0(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gt(t,e),yt(e),i&4&&(oi(3,e,e.return),ya(3,e),oi(5,e,e.return));break;case 1:gt(t,e),yt(e),i&512&&(_e||n===null||tn(n,n.return)),i&64&&vn&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var r=Gt;if(gt(t,e),yt(e),i&512&&(_e||n===null||tn(n,n.return)),i&4){var l=n!==null?n.memoizedState:null;if(i=e.memoizedState,n===null)if(i===null)if(e.stateNode===null){e:{i=e.type,n=e.memoizedProps,r=r.ownerDocument||r;t:switch(i){case"title":l=r.getElementsByTagName("title")[0],(!l||l[sa]||l[$e]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=r.createElement(i),r.head.insertBefore(l,r.querySelector("head > title"))),Ke(l,i,n),l[$e]=e,Be(l),i=l;break e;case"link":var a=eg("link","href",r).get(i+(n.href||""));if(a){for(var o=0;o<a.length;o++)if(l=a[o],l.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&l.getAttribute("rel")===(n.rel==null?null:n.rel)&&l.getAttribute("title")===(n.title==null?null:n.title)&&l.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){a.splice(o,1);break t}}l=r.createElement(i),Ke(l,i,n),r.head.appendChild(l);break;case"meta":if(a=eg("meta","content",r).get(i+(n.content||""))){for(o=0;o<a.length;o++)if(l=a[o],l.getAttribute("content")===(n.content==null?null:""+n.content)&&l.getAttribute("name")===(n.name==null?null:n.name)&&l.getAttribute("property")===(n.property==null?null:n.property)&&l.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&l.getAttribute("charset")===(n.charSet==null?null:n.charSet)){a.splice(o,1);break t}}l=r.createElement(i),Ke(l,i,n),r.head.appendChild(l);break;default:throw Error(_(468,i))}l[$e]=e,Be(l),i=l}e.stateNode=i}else tg(r,e.type,e.stateNode);else e.stateNode=$m(r,i,e.memoizedProps);else l!==i?(l===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):l.count--,i===null?tg(r,e.type,e.stateNode):$m(r,i,e.memoizedProps)):i===null&&e.stateNode!==null&&uc(e,e.memoizedProps,n.memoizedProps)}break;case 27:gt(t,e),yt(e),i&512&&(_e||n===null||tn(n,n.return)),n!==null&&i&4&&uc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(gt(t,e),yt(e),i&512&&(_e||n===null||tn(n,n.return)),e.flags&32){r=e.stateNode;try{Br(r,"")}catch(f){he(e,e.return,f)}}i&4&&e.stateNode!=null&&(r=e.memoizedProps,uc(e,r,n!==null?n.memoizedProps:r)),i&1024&&(cc=!0);break;case 6:if(gt(t,e),yt(e),i&4){if(e.stateNode===null)throw Error(_(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch(f){he(e,e.return,f)}}break;case 3:if(Do=null,r=Gt,Gt=au(t.containerInfo),gt(t,e),Gt=r,yt(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{ra(t.containerInfo)}catch(f){he(e,e.return,f)}cc&&(cc=!1,i0(e));break;case 4:i=Gt,Gt=au(e.stateNode.containerInfo),gt(t,e),yt(e),Gt=i;break;case 12:gt(t,e),yt(e);break;case 13:gt(t,e),yt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Wf=rn()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,fc(e,i)));break;case 22:r=e.memoizedState!==null;var u=n!==null&&n.memoizedState!==null,c=vn,s=_e;if(vn=c||r,_e=s||u,gt(t,e),_e=s,vn=c,yt(e),i&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(n===null||u||vn||_e||Ai(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){u=n=t;try{if(l=u.stateNode,r)a=l.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none";else{o=u.stateNode;var h=u.memoizedProps.style,p=h!=null&&h.hasOwnProperty("display")?h.display:null;o.style.display=p==null||typeof p=="boolean"?"":(""+p).trim()}}catch(f){he(u,u.return,f)}}}else if(t.tag===6){if(n===null){u=t;try{u.stateNode.nodeValue=r?"":u.memoizedProps}catch(f){he(u,u.return,f)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,fc(e,n))));break;case 19:gt(t,e),yt(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,fc(e,i)));break;case 30:break;case 21:break;default:gt(t,e),yt(e)}}function yt(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(Py(i)){n=i;break}i=i.return}if(n==null)throw Error(_(160));switch(n.tag){case 27:var r=n.stateNode,l=sc(e);$o(e,l,r);break;case 5:var a=n.stateNode;n.flags&32&&(Br(a,""),n.flags&=-33);var o=sc(e);$o(e,o,a);break;case 3:case 4:var u=n.stateNode.containerInfo,c=sc(e);Pc(e,c,u);break;default:throw Error(_(161))}}catch(s){he(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function i0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;i0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Yn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Wy(e,t.alternate,t),t=t.sibling}function Ai(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:oi(4,t,t.return),Ai(t);break;case 1:tn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Iy(t,t.return,n),Ai(t);break;case 27:Gl(t.stateNode);case 26:case 5:tn(t,t.return),Ai(t);break;case 22:t.memoizedState===null&&Ai(t);break;case 30:Ai(t);break;default:Ai(t)}e=e.sibling}}function jn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,r=e,l=t,a=l.flags;switch(l.tag){case 0:case 11:case 15:jn(r,l,n),ya(4,l);break;case 1:if(jn(r,l,n),i=l,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(c){he(i,i.return,c)}if(i=l,r=i.updateQueue,r!==null){var o=i.stateNode;try{var u=r.shared.hiddenCallbacks;if(u!==null)for(r.shared.hiddenCallbacks=null,r=0;r<u.length;r++)Wg(u[r],o)}catch(c){he(i,i.return,c)}}n&&a&64&&Ky(l),Yl(l,l.return);break;case 27:Fy(l);case 26:case 5:jn(r,l,n),n&&i===null&&a&4&&Jy(l),Yl(l,l.return);break;case 12:jn(r,l,n);break;case 13:jn(r,l,n),n&&a&4&&t0(r,l);break;case 22:l.memoizedState===null&&jn(r,l,n),Yl(l,l.return);break;case 30:break;default:jn(r,l,n)}t=t.sibling}}function If(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ha(n))}function Jf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ha(e))}function $t(e,t,n,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)r0(e,t,n,i),t=t.sibling}function r0(e,t,n,i){var r=t.flags;switch(t.tag){case 0:case 11:case 15:$t(e,t,n,i),r&2048&&ya(9,t);break;case 1:$t(e,t,n,i);break;case 3:$t(e,t,n,i),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ha(e)));break;case 12:if(r&2048){$t(e,t,n,i),e=t.stateNode;try{var l=t.memoizedProps,a=l.id,o=l.onPostCommit;typeof o=="function"&&o(a,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(u){he(t,t.return,u)}}else $t(e,t,n,i);break;case 13:$t(e,t,n,i);break;case 23:break;case 22:l=t.stateNode,a=t.alternate,t.memoizedState!==null?l._visibility&2?$t(e,t,n,i):jl(e,t):l._visibility&2?$t(e,t,n,i):(l._visibility|=2,hr(e,t,n,i,(t.subtreeFlags&10256)!==0)),r&2048&&If(a,t);break;case 24:$t(e,t,n,i),r&2048&&Jf(t.alternate,t);break;default:$t(e,t,n,i)}}function hr(e,t,n,i,r){for(r=r&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var l=e,a=t,o=n,u=i,c=a.flags;switch(a.tag){case 0:case 11:case 15:hr(l,a,o,u,r),ya(8,a);break;case 23:break;case 22:var s=a.stateNode;a.memoizedState!==null?s._visibility&2?hr(l,a,o,u,r):jl(l,a):(s._visibility|=2,hr(l,a,o,u,r)),r&&c&2048&&If(a.alternate,a);break;case 24:hr(l,a,o,u,r),r&&c&2048&&Jf(a.alternate,a);break;default:hr(l,a,o,u,r)}t=t.sibling}}function jl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,i=t,r=i.flags;switch(i.tag){case 22:jl(n,i),r&2048&&If(i.alternate,i);break;case 24:jl(n,i),r&2048&&Jf(i.alternate,i);break;default:jl(n,i)}t=t.sibling}}var zl=8192;function cr(e){if(e.subtreeFlags&zl)for(e=e.child;e!==null;)l0(e),e=e.sibling}function l0(e){switch(e.tag){case 26:cr(e),e.flags&zl&&e.memoizedState!==null&&ew(Gt,e.memoizedState,e.memoizedProps);break;case 5:cr(e);break;case 3:case 4:var t=Gt;Gt=au(e.stateNode.containerInfo),cr(e),Gt=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=zl,zl=16777216,cr(e),zl=t):cr(e));break;default:cr(e)}}function a0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function wl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];Le=i,u0(i,e)}a0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)o0(e),e=e.sibling}function o0(e){switch(e.tag){case 0:case 11:case 15:wl(e),e.flags&2048&&oi(9,e,e.return);break;case 3:wl(e);break;case 12:wl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,No(e)):wl(e);break;default:wl(e)}}function No(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];Le=i,u0(i,e)}a0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:oi(8,t,t.return),No(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,No(t));break;default:No(t)}e=e.sibling}}function u0(e,t){for(;Le!==null;){var n=Le;switch(n.tag){case 0:case 11:case 15:oi(8,n,t);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:ha(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,Le=i;else e:for(n=e;Le!==null;){i=Le;var r=i.sibling,l=i.return;if($y(i),i===n){Le=null;break e}if(r!==null){r.return=l,Le=r;break e}Le=l}}}var bT={getCacheForType:function(e){var t=et(De),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},xT=typeof WeakMap=="function"?WeakMap:Map,le=0,de=null,P=null,te=0,re=0,bt=null,Pn=!1,Jr=!1,Pf=!1,Nn=0,we=0,ui=0,Ri=0,Ff=0,Lt=0,Vr=0,Vl=null,ct=null,Fc=!1,Wf=0,eu=1/0,tu=null,ti=null,Ze=0,ni=null,Xr=null,Mr=0,Wc=0,$c=null,s0=null,Xl=0,ef=null;function Et(){if((le&2)!==0&&te!==0)return te&-te;if(B.T!==null){var e=Hr;return e!==0?e:ep()}return vg()}function c0(){Lt===0&&(Lt=(te&536870912)===0||ne?gg():536870912);var e=Bt.current;return e!==null&&(e.flags|=32),Lt}function Tt(e,t,n){(e===de&&(re===2||re===9)||e.cancelPendingCommit!==null)&&(Gr(e,0),Fn(e,te,Lt,!1)),ua(e,n),((le&2)===0||e!==de)&&(e===de&&((le&2)===0&&(Ri|=n),we===4&&Fn(e,te,Lt,!1)),on(e))}function f0(e,t,n){if((le&6)!==0)throw Error(_(327));var i=!n&&(t&124)===0&&(t&e.expiredLanes)===0||oa(e,t),r=i?ET(e,t):pc(e,t,!0),l=i;do{if(r===0){Jr&&!i&&Fn(e,t,0,!1);break}else{if(n=e.current.alternate,l&&!vT(n)){r=pc(e,t,!1),l=!1;continue}if(r===2){if(l=t,e.errorRecoveryDisabledLanes&l)var a=0;else a=e.pendingLanes&-536870913,a=a!==0?a:a&536870912?536870912:0;if(a!==0){t=a;e:{var o=e;r=Vl;var u=o.current.memoizedState.isDehydrated;if(u&&(Gr(o,a).flags|=256),a=pc(o,a,!1),a!==2){if(Pf&&!u){o.errorRecoveryDisabledLanes|=l,Ri|=l,r=4;break e}l=ct,ct=r,l!==null&&(ct===null?ct=l:ct.push.apply(ct,l))}r=a}if(l=!1,r!==2)continue}}if(r===1){Gr(e,0),Fn(e,t,0,!0);break}e:{switch(i=e,l=r,l){case 0:case 1:throw Error(_(345));case 4:if((t&4194048)!==t)break;case 6:Fn(i,t,Lt,!Pn);break e;case 2:ct=null;break;case 3:case 5:break;default:throw Error(_(329))}if((t&62914560)===t&&(r=Wf+300-rn(),10<r)){if(Fn(i,t,Lt,!Pn),fu(i,0,!0)!==0)break e;i.timeoutHandle=z0(Lm.bind(null,i,n,ct,tu,Fc,t,Lt,Ri,Vr,Pn,l,2,-0,0),r);break e}Lm(i,n,ct,tu,Fc,t,Lt,Ri,Vr,Pn,l,0,-0,0)}}break}while(!0);on(e)}function Lm(e,t,n,i,r,l,a,o,u,c,s,h,p,f){if(e.timeoutHandle=-1,h=t.subtreeFlags,(h&8192||(h&16785408)===16785408)&&(ea={stylesheets:null,count:0,unsuspend:$T},l0(t),h=tw(),h!==null)){e.cancelPendingCommit=h(Hm.bind(null,e,t,l,n,i,r,a,o,u,s,1,p,f)),Fn(e,l,a,!c);return}Hm(e,t,l,n,i,r,a,o,u)}function vT(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var r=n[i],l=r.getSnapshot;r=r.value;try{if(!wt(l(),r))return!1}catch(a){return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Fn(e,t,n,i){t&=~Ff,t&=~Ri,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var r=t;0<r;){var l=31-St(r),a=1<<l;i[l]=-1,r&=~a}n!==0&&bg(e,n,t)}function Su(){return(le&6)===0?(ba(0,!1),!1):!0}function $f(){if(P!==null){if(re===0)var e=P.return;else e=P,wn=ji=null,qf(e),Dr=null,Fl=0,e=P;for(;e!==null;)Zy(e.alternate,e),e=e.return;P=null}}function Gr(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,LT(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),$f(),de=e,P=n=An(e.current,null),te=t,re=0,bt=null,Pn=!1,Jr=oa(e,t),Pf=!1,Vr=Lt=Ff=Ri=ui=we=0,ct=Vl=null,Fc=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var r=31-St(i),l=1<<r;t|=e[r],i&=~l}return Nn=t,mu(),n}function p0(e,t){Z=null,B.H=Io,t===da||t===yu?(t=dm(),re=3):t===Pg?(t=dm(),re=4):re=t===Yy?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,bt=t,P===null&&(we=1,Fo(e,Ut(t,e.current)))}function h0(){var e=B.H;return B.H=Io,e===null?Io:e}function d0(){var e=B.A;return B.A=bT,e}function tf(){we=4,Pn||(te&4194048)!==te&&Bt.current!==null||(Jr=!0),(ui&134217727)===0&&(Ri&134217727)===0||de===null||Fn(de,te,Lt,!1)}function pc(e,t,n){var i=le;le|=2;var r=h0(),l=d0();(de!==e||te!==t)&&(tu=null,Gr(e,t)),t=!1;var a=we;e:do try{if(re!==0&&P!==null){var o=P,u=bt;switch(re){case 8:$f(),a=6;break e;case 3:case 2:case 9:case 6:Bt.current===null&&(t=!0);var c=re;if(re=0,bt=null,Ar(e,o,u,c),n&&Jr){a=0;break e}break;default:c=re,re=0,bt=null,Ar(e,o,u,c)}}ST(),a=we;break}catch(s){p0(e,s)}while(!0);return t&&e.shellSuspendCounter++,wn=ji=null,le=i,B.H=r,B.A=l,P===null&&(de=null,te=0,mu()),a}function ST(){for(;P!==null;)m0(P)}function ET(e,t){var n=le;le|=2;var i=h0(),r=d0();de!==e||te!==t?(tu=null,eu=rn()+500,Gr(e,t)):Jr=oa(e,t);e:do try{if(re!==0&&P!==null){t=P;var l=bt;t:switch(re){case 1:re=0,bt=null,Ar(e,t,l,1);break;case 2:case 9:if(hm(l)){re=0,bt=null,Bm(t);break}t=function(){re!==2&&re!==9||de!==e||(re=7),on(e)},l.then(t,t);break e;case 3:re=7;break e;case 4:re=5;break e;case 7:hm(l)?(re=0,bt=null,Bm(t)):(re=0,bt=null,Ar(e,t,l,7));break;case 5:var a=null;switch(P.tag){case 26:a=P.memoizedState;case 5:case 27:var o=P;if(!a||M0(a)){re=0,bt=null;var u=o.sibling;if(u!==null)P=u;else{var c=o.return;c!==null?(P=c,Eu(c)):P=null}break t}}re=0,bt=null,Ar(e,t,l,5);break;case 6:re=0,bt=null,Ar(e,t,l,6);break;case 8:$f(),we=6;break e;default:throw Error(_(462))}}TT();break}catch(s){p0(e,s)}while(!0);return wn=ji=null,B.H=i,B.A=r,le=n,P!==null?0:(de=null,te=0,mu(),we)}function TT(){for(;P!==null&&!QE();)m0(P)}function m0(e){var t=Qy(e.alternate,e,Nn);e.memoizedProps=e.pendingProps,t===null?Eu(e):P=t}function Bm(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=zm(n,t,t.pendingProps,t.type,void 0,te);break;case 11:t=zm(n,t,t.pendingProps,t.type.render,t.ref,te);break;case 5:qf(t);default:Zy(n,t),t=P=Zg(t,Nn),t=Qy(n,t,Nn)}e.memoizedProps=e.pendingProps,t===null?Eu(e):P=t}function Ar(e,t,n,i){wn=ji=null,qf(t),Dr=null,Fl=0;var r=t.return;try{if(pT(e,r,t,n,te)){we=1,Fo(e,Ut(n,e.current)),P=null;return}}catch(l){if(r!==null)throw P=r,l;we=1,Fo(e,Ut(n,e.current)),P=null;return}t.flags&32768?(ne||i===1?e=!0:Jr||(te&536870912)!==0?e=!1:(Pn=e=!0,(i===2||i===9||i===3||i===6)&&(i=Bt.current,i!==null&&i.tag===13&&(i.flags|=16384))),g0(t,e)):Eu(t)}function Eu(e){var t=e;do{if((t.flags&32768)!==0){g0(t,Pn);return}e=t.return;var n=dT(t.alternate,t,Nn);if(n!==null){P=n;return}if(t=t.sibling,t!==null){P=t;return}P=t=e}while(t!==null);we===0&&(we=5)}function g0(e,t){do{var n=mT(e.alternate,e);if(n!==null){n.flags&=32767,P=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){P=e;return}P=e=n}while(e!==null);we=6,P=null}function Hm(e,t,n,i,r,l,a,o,u){e.cancelPendingCommit=null;do Tu();while(Ze!==0);if((le&6)!==0)throw Error(_(327));if(t!==null){if(t===e.current)throw Error(_(177));if(l=t.lanes|t.childLanes,l|=Af,t2(e,n,l,a,o,u),e===de&&(P=de=null,te=0),Xr=t,ni=e,Mr=n,Wc=l,$c=r,s0=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,_T(Ho,function(){return S0(!0),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=B.T,B.T=null,r=ie.p,ie.p=2,a=le,le|=4;try{gT(e,t,n)}finally{le=a,ie.p=r,B.T=i}}Ze=1,y0(),b0(),x0()}}function y0(){if(Ze===1){Ze=0;var e=ni,t=Xr,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=B.T,B.T=null;var i=ie.p;ie.p=2;var r=le;le|=4;try{n0(t,e);var l=af,a=Hg(e.containerInfo),o=l.focusedElem,u=l.selectionRange;if(a!==o&&o&&o.ownerDocument&&Bg(o.ownerDocument.documentElement,o)){if(u!==null&&kf(o)){var c=u.start,s=u.end;if(s===void 0&&(s=c),"selectionStart"in o)o.selectionStart=c,o.selectionEnd=Math.min(s,o.value.length);else{var h=o.ownerDocument||document,p=h&&h.defaultView||window;if(p.getSelection){var f=p.getSelection(),w=o.textContent.length,E=Math.min(u.start,w),k=u.end===void 0?E:Math.min(u.end,w);!f.extend&&E>k&&(a=k,k=E,E=a);var d=lm(o,E),m=lm(o,k);if(d&&m&&(f.rangeCount!==1||f.anchorNode!==d.node||f.anchorOffset!==d.offset||f.focusNode!==m.node||f.focusOffset!==m.offset)){var g=h.createRange();g.setStart(d.node,d.offset),f.removeAllRanges(),E>k?(f.addRange(g),f.extend(m.node,m.offset)):(g.setEnd(m.node,m.offset),f.addRange(g))}}}}for(h=[],f=o;f=f.parentNode;)f.nodeType===1&&h.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<h.length;o++){var x=h[o];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}su=!!lf,af=lf=null}finally{le=r,ie.p=i,B.T=n}}e.current=t,Ze=2}}function b0(){if(Ze===2){Ze=0;var e=ni,t=Xr,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=B.T,B.T=null;var i=ie.p;ie.p=2;var r=le;le|=4;try{Wy(e,t.alternate,t)}finally{le=r,ie.p=i,B.T=n}}Ze=3}}function x0(){if(Ze===4||Ze===3){Ze=0,ZE();var e=ni,t=Xr,n=Mr,i=s0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ze=5:(Ze=0,Xr=ni=null,v0(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(ti=null),bf(n),t=t.stateNode,vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(aa,t,void 0,(t.current.flags&128)===128)}catch(u){}if(i!==null){t=B.T,r=ie.p,ie.p=2,B.T=null;try{for(var l=e.onRecoverableError,a=0;a<i.length;a++){var o=i[a];l(o.value,{componentStack:o.stack})}}finally{B.T=t,ie.p=r}}(Mr&3)!==0&&Tu(),on(e),r=e.pendingLanes,(n&4194090)!==0&&(r&42)!==0?e===ef?Xl++:(Xl=0,ef=e):Xl=0,ba(0,!1)}}function v0(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ha(t)))}function Tu(e){return y0(),b0(),x0(),S0(e)}function S0(){if(Ze!==5)return!1;var e=ni,t=Wc;Wc=0;var n=bf(Mr),i=B.T,r=ie.p;try{ie.p=32>n?32:n,B.T=null,n=$c,$c=null;var l=ni,a=Mr;if(Ze=0,Xr=ni=null,Mr=0,(le&6)!==0)throw Error(_(331));var o=le;if(le|=4,o0(l.current),r0(l,l.current,a,n),le=o,ba(0,!1),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(aa,l)}catch(u){}return!0}finally{ie.p=r,B.T=i,v0(e,t)}}function qm(e,t,n){t=Ut(n,t),t=Kc(e.stateNode,t,2),e=ei(e,t,2),e!==null&&(ua(e,2),on(e))}function he(e,t,n){if(e.tag===3)qm(e,e,n);else for(;t!==null;){if(t.tag===3){qm(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(ti===null||!ti.has(i))){e=Ut(n,e),n=Hy(2),i=ei(t,n,2),i!==null&&(qy(n,i,t,e),ua(i,2),on(i));break}}t=t.return}}function hc(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new xT;var r=new Set;i.set(t,r)}else r=i.get(t),r===void 0&&(r=new Set,i.set(t,r));r.has(n)||(Pf=!0,r.add(n),e=wT.bind(null,e,t,n),t.then(e,e))}function wT(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,de===e&&(te&n)===n&&(we===4||we===3&&(te&62914560)===te&&300>rn()-Wf?(le&2)===0&&Gr(e,0):Ff|=n,Vr===te&&(Vr=0)),on(e)}function E0(e,t){t===0&&(t=yg()),e=Ir(e,t),e!==null&&(ua(e,t),on(e))}function kT(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),E0(e,n)}function AT(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(_(314))}i!==null&&i.delete(t),E0(e,n)}function _T(e,t){return gf(e,t)}var nu=null,dr=null,nf=!1,iu=!1,dc=!1,Di=0;function on(e){e!==dr&&e.next===null&&(dr===null?nu=dr=e:dr=dr.next=e),iu=!0,nf||(nf=!0,OT())}function ba(e,t){if(!dc&&iu){dc=!0;do for(var n=!1,i=nu;i!==null;){if(!t)if(e!==0){var r=i.pendingLanes;if(r===0)var l=0;else{var a=i.suspendedLanes,o=i.pingedLanes;l=(1<<31-St(42|e)+1)-1,l&=r&~(a&~o),l=l&201326741?l&201326741|1:l?l|2:0}l!==0&&(n=!0,Ym(i,l))}else l=te,l=fu(i,i===de?l:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(l&3)===0||oa(i,l)||(n=!0,Ym(i,l));i=i.next}while(n);dc=!1}}function CT(){T0()}function T0(){iu=nf=!1;var e=0;Di!==0&&(UT()&&(e=Di),Di=0);for(var t=rn(),n=null,i=nu;i!==null;){var r=i.next,l=w0(i,t);l===0?(i.next=null,n===null?nu=r:n.next=r,r===null&&(dr=n)):(n=i,(e!==0||(l&3)!==0)&&(iu=!0)),i=r}ba(e,!1)}function w0(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,r=e.expirationTimes,l=e.pendingLanes&-62914561;0<l;){var a=31-St(l),o=1<<a,u=r[a];u===-1?((o&n)===0||(o&i)!==0)&&(r[a]=e2(o,t)):u<=t&&(e.expiredLanes|=o),l&=~o}if(t=de,n=te,n=fu(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(re===2||re===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&js(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||oa(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&js(i),bf(n)){case 2:case 8:n=dg;break;case 32:n=Ho;break;case 268435456:n=mg;break;default:n=Ho}return i=k0.bind(null,e),n=gf(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&js(i),e.callbackPriority=2,e.callbackNode=null,2}function k0(e,t){if(Ze!==0&&Ze!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Tu(!0)&&e.callbackNode!==n)return null;var i=te;return i=fu(e,e===de?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(f0(e,i,t),w0(e,rn()),e.callbackNode!=null&&e.callbackNode===n?k0.bind(null,e):null)}function Ym(e,t){if(Tu())return null;f0(e,t,!0)}function OT(){BT(function(){(le&6)!==0?gf(hg,CT):T0()})}function ep(){return Di===0&&(Di=gg()),Di}function jm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:To(""+e)}function Vm(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function zT(e,t,n,i,r){if(t==="submit"&&n&&n.stateNode===r){var l=jm((r[ft]||null).action),a=i.submitter;a&&(t=(t=a[ft]||null)?jm(t.formAction):a.getAttribute("formAction"),t!==null&&(l=t,a=null));var o=new pu("action","action",null,i,r);e.push({event:o,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Di!==0){var u=a?Vm(r,a):new FormData(r);Qc(n,{pending:!0,data:u,method:r.method,action:l},null,u)}}else typeof l=="function"&&(o.preventDefault(),u=a?Vm(r,a):new FormData(r),Qc(n,{pending:!0,data:u,method:r.method,action:l},l,u))},currentTarget:r}]})}}for(yo=0;yo<Dc.length;yo++)bo=Dc[yo],Xm=bo.toLowerCase(),Gm=bo[0].toUpperCase()+bo.slice(1),Zt(Xm,"on"+Gm);var bo,Xm,Gm,yo;Zt(Yg,"onAnimationEnd");Zt(jg,"onAnimationIteration");Zt(Vg,"onAnimationStart");Zt("dblclick","onDoubleClick");Zt("focusin","onFocus");Zt("focusout","onBlur");Zt(J2,"onTransitionRun");Zt(P2,"onTransitionStart");Zt(F2,"onTransitionCancel");Zt(Xg,"onTransitionEnd");Lr("onMouseEnter",["mouseout","mouseover"]);Lr("onMouseLeave",["mouseout","mouseover"]);Lr("onPointerEnter",["pointerout","pointerover"]);Lr("onPointerLeave",["pointerout","pointerover"]);Hi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Hi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Hi("onBeforeInput",["compositionend","keypress","textInput","paste"]);Hi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Hi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Hi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wl="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(" "),NT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wl));function A0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],r=i.event;i=i.listeners;e:{var l=void 0;if(t)for(var a=i.length-1;0<=a;a--){var o=i[a],u=o.instance,c=o.currentTarget;if(o=o.listener,u!==l&&r.isPropagationStopped())break e;l=o,r.currentTarget=c;try{l(r)}catch(s){Po(s)}r.currentTarget=null,l=u}else for(a=0;a<i.length;a++){if(o=i[a],u=o.instance,c=o.currentTarget,o=o.listener,u!==l&&r.isPropagationStopped())break e;l=o,r.currentTarget=c;try{l(r)}catch(s){Po(s)}r.currentTarget=null,l=u}}}}function J(e,t){var n=t[Ac];n===void 0&&(n=t[Ac]=new Set);var i=e+"__bubble";n.has(i)||(_0(t,e,2,!1),n.add(i))}function mc(e,t,n){var i=0;t&&(i|=4),_0(n,e,i,t)}var xo="_reactListening"+Math.random().toString(36).slice(2);function tp(e){if(!e[xo]){e[xo]=!0,Sg.forEach(function(n){n!=="selectionchange"&&(NT.has(n)||mc(n,!1,e),mc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xo]||(t[xo]=!0,mc("selectionchange",!1,t))}}function _0(e,t,n,i){switch(q0(t)){case 2:var r=rw;break;case 8:r=lw;break;default:r=lp}n=r.bind(null,t,n,e),r=void 0,!zc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),i?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function gc(e,t,n,i,r){var l=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var a=i.tag;if(a===3||a===4){var o=i.stateNode.containerInfo;if(o===r)break;if(a===4)for(a=i.return;a!==null;){var u=a.tag;if((u===3||u===4)&&a.stateNode.containerInfo===r)return;a=a.return}for(;o!==null;){if(a=yr(o),a===null)return;if(u=a.tag,u===5||u===6||u===26||u===27){i=l=a;continue e}o=o.parentNode}}i=i.return}Og(function(){var c=l,s=Sf(n),h=[];e:{var p=Gg.get(e);if(p!==void 0){var f=pu,w=e;switch(e){case"keypress":if(ko(n)===0)break e;case"keydown":case"keyup":f=_2;break;case"focusin":w="focus",f=Js;break;case"focusout":w="blur",f=Js;break;case"beforeblur":case"afterblur":f=Js;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=Pd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=m2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=z2;break;case Yg:case jg:case Vg:f=b2;break;case Xg:f=R2;break;case"scroll":case"scrollend":f=h2;break;case"wheel":f=M2;break;case"copy":case"cut":case"paste":f=v2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Wd;break;case"toggle":case"beforetoggle":f=L2}var E=(t&4)!==0,k=!E&&(e==="scroll"||e==="scrollend"),d=E?p!==null?p+"Capture":null:p;E=[];for(var m=c,g;m!==null;){var x=m;if(g=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||g===null||d===null||(x=Zl(m,d),x!=null&&E.push($l(m,x,g))),k)break;m=m.return}0<E.length&&(p=new f(p,w,null,n,s),h.push({event:p,listeners:E}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",p&&n!==Oc&&(w=n.relatedTarget||n.fromElement)&&(yr(w)||w[Zr]))break e;if((f||p)&&(p=s.window===s?s:(p=s.ownerDocument)?p.defaultView||p.parentWindow:window,f?(w=n.relatedTarget||n.toElement,f=c,w=w?yr(w):null,w!==null&&(k=la(w),E=w.tag,w!==k||E!==5&&E!==27&&E!==6)&&(w=null)):(f=null,w=c),f!==w)){if(E=Pd,x="onMouseLeave",d="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(E=Wd,x="onPointerLeave",d="onPointerEnter",m="pointer"),k=f==null?p:Ol(f),g=w==null?p:Ol(w),p=new E(x,m+"leave",f,n,s),p.target=k,p.relatedTarget=g,x=null,yr(s)===c&&(E=new E(d,m+"enter",w,n,s),E.target=g,E.relatedTarget=k,x=E),k=x,f&&w)t:{for(E=f,d=w,m=0,g=E;g;g=fr(g))m++;for(g=0,x=d;x;x=fr(x))g++;for(;0<m-g;)E=fr(E),m--;for(;0<g-m;)d=fr(d),g--;for(;m--;){if(E===d||d!==null&&E===d.alternate)break t;E=fr(E),d=fr(d)}E=null}else E=null;f!==null&&Qm(h,p,f,E,!1),w!==null&&k!==null&&Qm(h,k,w,E,!0)}}e:{if(p=c?Ol(c):window,f=p.nodeName&&p.nodeName.toLowerCase(),f==="select"||f==="input"&&p.type==="file")var T=nm;else if(tm(p))if(Ug)T=Z2;else{T=G2;var S=X2}else f=p.nodeName,!f||f.toLowerCase()!=="input"||p.type!=="checkbox"&&p.type!=="radio"?c&&vf(c.elementType)&&(T=nm):T=Q2;if(T&&(T=T(e,c))){Mg(h,T,n,s);break e}S&&S(e,p,c),e==="focusout"&&c&&p.type==="number"&&c.memoizedProps.value!=null&&Cc(p,"number",p.value)}switch(S=c?Ol(c):window,e){case"focusin":(tm(S)||S.contentEditable==="true")&&(vr=S,Nc=c,Dl=null);break;case"focusout":Dl=Nc=vr=null;break;case"mousedown":Rc=!0;break;case"contextmenu":case"mouseup":case"dragend":Rc=!1,am(h,n,s);break;case"selectionchange":if(I2)break;case"keydown":case"keyup":am(h,n,s)}var C;if(wf)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else xr?Rg(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(Ng&&n.locale!=="ko"&&(xr||N!=="onCompositionStart"?N==="onCompositionEnd"&&xr&&(C=zg()):(Jn=s,Ef="value"in Jn?Jn.value:Jn.textContent,xr=!0)),S=ru(c,N),0<S.length&&(N=new Fd(N,e,null,n,s),h.push({event:N,listeners:S}),C?N.data=C:(C=Dg(n),C!==null&&(N.data=C)))),(C=H2?q2(e,n):Y2(e,n))&&(N=ru(c,"onBeforeInput"),0<N.length&&(S=new Fd("onBeforeInput","beforeinput",null,n,s),h.push({event:S,listeners:N}),S.data=C)),zT(h,e,c,n,s)}A0(h,t)})}function $l(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ru(e,t){for(var n=t+"Capture",i=[];e!==null;){var r=e,l=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||l===null||(r=Zl(e,n),r!=null&&i.unshift($l(e,r,l)),r=Zl(e,t),r!=null&&i.push($l(e,r,l))),e.tag===3)return i;e=e.return}return[]}function fr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Qm(e,t,n,i,r){for(var l=t._reactName,a=[];n!==null&&n!==i;){var o=n,u=o.alternate,c=o.stateNode;if(o=o.tag,u!==null&&u===i)break;o!==5&&o!==26&&o!==27||c===null||(u=c,r?(c=Zl(n,l),c!=null&&a.unshift($l(n,c,u))):r||(c=Zl(n,l),c!=null&&a.push($l(n,c,u)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var RT=/\r\n?/g,DT=/\u0000|\uFFFD/g;function Zm(e){return(typeof e=="string"?e:""+e).replace(RT,`
9
+ `).replace(DT,"")}function C0(e,t){return t=Zm(t),Zm(e)===t}function wu(){}function se(e,t,n,i,r,l){switch(n){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||Br(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&Br(e,""+i);break;case"className":oo(e,"class",i);break;case"tabIndex":oo(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":oo(e,n,i);break;case"style":Cg(e,i,l);break;case"data":if(t!=="object"){oo(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=To(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){e.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 l=="function"&&(n==="formAction"?(t!=="input"&&se(e,t,"name",r.name,r,null),se(e,t,"formEncType",r.formEncType,r,null),se(e,t,"formMethod",r.formMethod,r,null),se(e,t,"formTarget",r.formTarget,r,null)):(se(e,t,"encType",r.encType,r,null),se(e,t,"method",r.method,r,null),se(e,t,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=To(""+i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=wu);break;case"onScroll":i!=null&&J("scroll",e);break;case"onScrollEnd":i!=null&&J("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(_(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(_(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.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"){e.removeAttribute("xlink:href");break}n=To(""+i),e.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"?e.setAttribute(n,""+i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":i===!0?e.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":J("beforetoggle",e),J("toggle",e),Eo(e,"popover",i);break;case"xlinkActuate":yn(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":yn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":yn(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":yn(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":yn(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":yn(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":yn(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":yn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":yn(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Eo(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=f2.get(n)||n,Eo(e,n,i))}}function rf(e,t,n,i,r,l){switch(n){case"style":Cg(e,i,l);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(_(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(_(60));e.innerHTML=n}}break;case"children":typeof i=="string"?Br(e,i):(typeof i=="number"||typeof i=="bigint")&&Br(e,""+i);break;case"onScroll":i!=null&&J("scroll",e);break;case"onScrollEnd":i!=null&&J("scrollend",e);break;case"onClick":i!=null&&(e.onclick=wu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Eg.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),l=e[ft]||null,l=l!=null?l[n]:null,typeof l=="function"&&e.removeEventListener(t,l,r),typeof i=="function")){typeof l!="function"&&l!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,r);break e}n in e?e[n]=i:i===!0?e.setAttribute(n,""):Eo(e,n,i)}}}function Ke(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":J("error",e),J("load",e);var i=!1,r=!1,l;for(l in n)if(n.hasOwnProperty(l)){var a=n[l];if(a!=null)switch(l){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(_(137,t));default:se(e,t,l,a,n,null)}}r&&se(e,t,"srcSet",n.srcSet,n,null),i&&se(e,t,"src",n.src,n,null);return;case"input":J("invalid",e);var o=l=a=r=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var s=n[i];if(s!=null)switch(i){case"name":r=s;break;case"type":a=s;break;case"checked":u=s;break;case"defaultChecked":c=s;break;case"value":l=s;break;case"defaultValue":o=s;break;case"children":case"dangerouslySetInnerHTML":if(s!=null)throw Error(_(137,t));break;default:se(e,t,i,s,n,null)}}kg(e,l,o,u,c,a,r,!1),qo(e);return;case"select":J("invalid",e),i=a=l=null;for(r in n)if(n.hasOwnProperty(r)&&(o=n[r],o!=null))switch(r){case"value":l=o;break;case"defaultValue":a=o;break;case"multiple":i=o;default:se(e,t,r,o,n,null)}t=l,n=a,e.multiple=!!i,t!=null?Cr(e,!!i,t,!1):n!=null&&Cr(e,!!i,n,!0);return;case"textarea":J("invalid",e),l=r=i=null;for(a in n)if(n.hasOwnProperty(a)&&(o=n[a],o!=null))switch(a){case"value":i=o;break;case"defaultValue":r=o;break;case"children":l=o;break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(_(91));break;default:se(e,t,a,o,n,null)}_g(e,i,r,l),qo(e);return;case"option":for(u in n)if(n.hasOwnProperty(u)&&(i=n[u],i!=null))switch(u){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:se(e,t,u,i,n,null)}return;case"dialog":J("beforetoggle",e),J("toggle",e),J("cancel",e),J("close",e);break;case"iframe":case"object":J("load",e);break;case"video":case"audio":for(i=0;i<Wl.length;i++)J(Wl[i],e);break;case"image":J("error",e),J("load",e);break;case"details":J("toggle",e);break;case"embed":case"source":case"link":J("error",e),J("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(i=n[c],i!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(_(137,t));default:se(e,t,c,i,n,null)}return;default:if(vf(t)){for(s in n)n.hasOwnProperty(s)&&(i=n[s],i!==void 0&&rf(e,t,s,i,n,void 0));return}}for(o in n)n.hasOwnProperty(o)&&(i=n[o],i!=null&&se(e,t,o,i,n,null))}function MT(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,l=null,a=null,o=null,u=null,c=null,s=null;for(f in n){var h=n[f];if(n.hasOwnProperty(f)&&h!=null)switch(f){case"checked":break;case"value":break;case"defaultValue":u=h;default:i.hasOwnProperty(f)||se(e,t,f,null,i,h)}}for(var p in i){var f=i[p];if(h=n[p],i.hasOwnProperty(p)&&(f!=null||h!=null))switch(p){case"type":l=f;break;case"name":r=f;break;case"checked":c=f;break;case"defaultChecked":s=f;break;case"value":a=f;break;case"defaultValue":o=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(_(137,t));break;default:f!==h&&se(e,t,p,f,i,h)}}_c(e,a,o,u,c,s,l,r);return;case"select":f=a=o=p=null;for(l in n)if(u=n[l],n.hasOwnProperty(l)&&u!=null)switch(l){case"value":break;case"multiple":f=u;default:i.hasOwnProperty(l)||se(e,t,l,null,i,u)}for(r in i)if(l=i[r],u=n[r],i.hasOwnProperty(r)&&(l!=null||u!=null))switch(r){case"value":p=l;break;case"defaultValue":o=l;break;case"multiple":a=l;default:l!==u&&se(e,t,r,l,i,u)}t=o,n=a,i=f,p!=null?Cr(e,!!n,p,!1):!!i!=!!n&&(t!=null?Cr(e,!!n,t,!0):Cr(e,!!n,n?[]:"",!1));return;case"textarea":f=p=null;for(o in n)if(r=n[o],n.hasOwnProperty(o)&&r!=null&&!i.hasOwnProperty(o))switch(o){case"value":break;case"children":break;default:se(e,t,o,null,i,r)}for(a in i)if(r=i[a],l=n[a],i.hasOwnProperty(a)&&(r!=null||l!=null))switch(a){case"value":p=r;break;case"defaultValue":f=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(_(91));break;default:r!==l&&se(e,t,a,r,i,l)}Ag(e,p,f);return;case"option":for(var w in n)if(p=n[w],n.hasOwnProperty(w)&&p!=null&&!i.hasOwnProperty(w))switch(w){case"selected":e.selected=!1;break;default:se(e,t,w,null,i,p)}for(u in i)if(p=i[u],f=n[u],i.hasOwnProperty(u)&&p!==f&&(p!=null||f!=null))switch(u){case"selected":e.selected=p&&typeof p!="function"&&typeof p!="symbol";break;default:se(e,t,u,p,i,f)}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 E in n)p=n[E],n.hasOwnProperty(E)&&p!=null&&!i.hasOwnProperty(E)&&se(e,t,E,null,i,p);for(c in i)if(p=i[c],f=n[c],i.hasOwnProperty(c)&&p!==f&&(p!=null||f!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(_(137,t));break;default:se(e,t,c,p,i,f)}return;default:if(vf(t)){for(var k in n)p=n[k],n.hasOwnProperty(k)&&p!==void 0&&!i.hasOwnProperty(k)&&rf(e,t,k,void 0,i,p);for(s in i)p=i[s],f=n[s],!i.hasOwnProperty(s)||p===f||p===void 0&&f===void 0||rf(e,t,s,p,i,f);return}}for(var d in n)p=n[d],n.hasOwnProperty(d)&&p!=null&&!i.hasOwnProperty(d)&&se(e,t,d,null,i,p);for(h in i)p=i[h],f=n[h],!i.hasOwnProperty(h)||p===f||p==null&&f==null||se(e,t,h,p,i,f)}var lf=null,af=null;function lu(e){return e.nodeType===9?e:e.ownerDocument}function Km(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function O0(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function of(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var yc=null;function UT(){var e=window.event;return e&&e.type==="popstate"?e===yc?!1:(yc=e,!0):(yc=null,!1)}var z0=typeof setTimeout=="function"?setTimeout:void 0,LT=typeof clearTimeout=="function"?clearTimeout:void 0,Im=typeof Promise=="function"?Promise:void 0,BT=typeof queueMicrotask=="function"?queueMicrotask:typeof Im!="undefined"?function(e){return Im.resolve(null).then(e).catch(HT)}:z0;function HT(e){setTimeout(function(){throw e})}function ci(e){return e==="head"}function Jm(e,t){var n=t,i=0,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(0<i&&8>i){n=i;var a=e.ownerDocument;if(n&1&&Gl(a.documentElement),n&2&&Gl(a.body),n&4)for(n=a.head,Gl(n),a=n.firstChild;a;){var o=a.nextSibling,u=a.nodeName;a[sa]||u==="SCRIPT"||u==="STYLE"||u==="LINK"&&a.rel.toLowerCase()==="stylesheet"||n.removeChild(a),a=o}}if(r===0){e.removeChild(l),ra(t);return}r--}else n==="$"||n==="$?"||n==="$!"?r++:i=n.charCodeAt(0)-48;else i=0;n=l}while(n);ra(t)}function uf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":uf(n),xf(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function qT(e,t,n,i){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[sa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(l=e.getAttribute("rel"),l==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(l!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(l=e.getAttribute("src"),(l!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&l&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var l=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===l)return e}else return e;if(e=Qt(e.nextSibling),e===null)break}return null}function YT(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Qt(e.nextSibling),e===null))return null;return e}function sf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function jT(e,t){var n=e.ownerDocument;if(e.data!=="$?"||n.readyState==="complete")t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var cf=null;function Pm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}function N0(e,t,n){switch(t=lu(n),e){case"html":if(e=t.documentElement,!e)throw Error(_(452));return e;case"head":if(e=t.head,!e)throw Error(_(453));return e;case"body":if(e=t.body,!e)throw Error(_(454));return e;default:throw Error(_(451))}}function Gl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);xf(e)}var Ht=new Map,Fm=new Set;function au(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Rn=ie.d;ie.d={f:VT,r:XT,D:GT,C:QT,L:ZT,m:KT,X:JT,S:IT,M:PT};function VT(){var e=Rn.f(),t=Su();return e||t}function XT(e){var t=Kr(e);t!==null&&t.tag===5&&t.type==="form"?wy(t):Rn.r(e)}var Pr=typeof document=="undefined"?null:document;function R0(e,t,n){var i=Pr;if(i&&typeof t=="string"&&t){var r=Mt(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),Fm.has(r)||(Fm.add(r),e={rel:e,crossOrigin:n,href:t},i.querySelector(r)===null&&(t=i.createElement("link"),Ke(t,"link",e),Be(t),i.head.appendChild(t)))}}function GT(e){Rn.D(e),R0("dns-prefetch",e,null)}function QT(e,t){Rn.C(e,t),R0("preconnect",e,t)}function ZT(e,t,n){Rn.L(e,t,n);var i=Pr;if(i&&e&&t){var r='link[rel="preload"][as="'+Mt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Mt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Mt(n.imageSizes)+'"]')):r+='[href="'+Mt(e)+'"]';var l=r;switch(t){case"style":l=Qr(e);break;case"script":l=Fr(e)}Ht.has(l)||(e=ge({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Ht.set(l,e),i.querySelector(r)!==null||t==="style"&&i.querySelector(xa(l))||t==="script"&&i.querySelector(va(l))||(t=i.createElement("link"),Ke(t,"link",e),Be(t),i.head.appendChild(t)))}}function KT(e,t){Rn.m(e,t);var n=Pr;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Mt(i)+'"][href="'+Mt(e)+'"]',l=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":l=Fr(e)}if(!Ht.has(l)&&(e=ge({rel:"modulepreload",href:e},t),Ht.set(l,e),n.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(va(l)))return}i=n.createElement("link"),Ke(i,"link",e),Be(i),n.head.appendChild(i)}}}function IT(e,t,n){Rn.S(e,t,n);var i=Pr;if(i&&e){var r=_r(i).hoistableStyles,l=Qr(e);t=t||"default";var a=r.get(l);if(!a){var o={loading:0,preload:null};if(a=i.querySelector(xa(l)))o.loading=5;else{e=ge({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ht.get(l))&&np(e,n);var u=a=i.createElement("link");Be(u),Ke(u,"link",e),u._p=new Promise(function(c,s){u.onload=c,u.onerror=s}),u.addEventListener("load",function(){o.loading|=1}),u.addEventListener("error",function(){o.loading|=2}),o.loading|=4,Ro(a,t,i)}a={type:"stylesheet",instance:a,count:1,state:o},r.set(l,a)}}}function JT(e,t){Rn.X(e,t);var n=Pr;if(n&&e){var i=_r(n).hoistableScripts,r=Fr(e),l=i.get(r);l||(l=n.querySelector(va(r)),l||(e=ge({src:e,async:!0},t),(t=Ht.get(r))&&ip(e,t),l=n.createElement("script"),Be(l),Ke(l,"link",e),n.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},i.set(r,l))}}function PT(e,t){Rn.M(e,t);var n=Pr;if(n&&e){var i=_r(n).hoistableScripts,r=Fr(e),l=i.get(r);l||(l=n.querySelector(va(r)),l||(e=ge({src:e,async:!0,type:"module"},t),(t=Ht.get(r))&&ip(e,t),l=n.createElement("script"),Be(l),Ke(l,"link",e),n.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},i.set(r,l))}}function Wm(e,t,n,i){var r=(r=Wn.current)?au(r):null;if(!r)throw Error(_(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Qr(n.href),n=_r(r).hoistableStyles,i=n.get(t),i||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Qr(n.href);var l=_r(r).hoistableStyles,a=l.get(e);if(a||(r=r.ownerDocument||r,a={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},l.set(e,a),(l=r.querySelector(xa(e)))&&!l._p&&(a.instance=l,a.state.loading=5),Ht.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ht.set(e,n),l||FT(r,e,n,a.state))),t&&i===null)throw Error(_(528,""));return a}if(t&&i!==null)throw Error(_(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Fr(n),n=_r(r).hoistableScripts,i=n.get(t),i||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(_(444,e))}}function Qr(e){return'href="'+Mt(e)+'"'}function xa(e){return'link[rel="stylesheet"]['+e+"]"}function D0(e){return ge({},e,{"data-precedence":e.precedence,precedence:null})}function FT(e,t,n,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),Ke(t,"link",n),Be(t),e.head.appendChild(t))}function Fr(e){return'[src="'+Mt(e)+'"]'}function va(e){return"script[async]"+e}function $m(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Mt(n.href)+'"]');if(i)return t.instance=i,Be(i),i;var r=ge({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Be(i),Ke(i,"style",r),Ro(i,n.precedence,e),t.instance=i;case"stylesheet":r=Qr(n.href);var l=e.querySelector(xa(r));if(l)return t.state.loading|=4,t.instance=l,Be(l),l;i=D0(n),(r=Ht.get(r))&&np(i,r),l=(e.ownerDocument||e).createElement("link"),Be(l);var a=l;return a._p=new Promise(function(o,u){a.onload=o,a.onerror=u}),Ke(l,"link",i),t.state.loading|=4,Ro(l,n.precedence,e),t.instance=l;case"script":return l=Fr(n.src),(r=e.querySelector(va(l)))?(t.instance=r,Be(r),r):(i=n,(r=Ht.get(l))&&(i=ge({},n),ip(i,r)),e=e.ownerDocument||e,r=e.createElement("script"),Be(r),Ke(r,"link",i),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(_(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,Ro(i,n.precedence,e));return t.instance}function Ro(e,t,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=i.length?i[i.length-1]:null,l=r,a=0;a<i.length;a++){var o=i[a];if(o.dataset.precedence===t)l=o;else if(l!==r)break}l?l.parentNode.insertBefore(e,l.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function np(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ip(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Do=null;function eg(e,t,n){if(Do===null){var i=new Map,r=Do=new Map;r.set(n,i)}else r=Do,i=r.get(n),i||(i=new Map,r.set(n,i));if(i.has(e))return i;for(i.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var l=n[r];if(!(l[sa]||l[$e]||e==="link"&&l.getAttribute("rel")==="stylesheet")&&l.namespaceURI!=="http://www.w3.org/2000/svg"){var a=l.getAttribute(t)||"";a=e+a;var o=i.get(a);o?o.push(l):i.set(a,[l])}}return i}function tg(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function WT(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function M0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var ea=null;function $T(){}function ew(e,t,n){if(ea===null)throw Error(_(475));var i=ea;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var r=Qr(n.href),l=e.querySelector(xa(r));if(l){e=l._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=ou.bind(i),e.then(i,i)),t.state.loading|=4,t.instance=l,Be(l);return}l=e.ownerDocument||e,n=D0(n),(r=Ht.get(r))&&np(n,r),l=l.createElement("link"),Be(l);var a=l;a._p=new Promise(function(o,u){a.onload=o,a.onerror=u}),Ke(l,"link",n),t.instance=l}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(i.count++,t=ou.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function tw(){if(ea===null)throw Error(_(475));var e=ea;return e.stylesheets&&e.count===0&&ff(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&ff(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function ou(){if(this.count--,this.count===0){if(this.stylesheets)ff(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var uu=null;function ff(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,uu=new Map,t.forEach(nw,e),uu=null,ou.call(e))}function nw(e,t){if(!(t.state.loading&4)){var n=uu.get(e);if(n)var i=n.get(null);else{n=new Map,uu.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l<r.length;l++){var a=r[l];(a.nodeName==="LINK"||a.getAttribute("media")!=="not all")&&(n.set(a.dataset.precedence,a),i=a)}i&&n.set(null,i)}r=t.instance,a=r.getAttribute("data-precedence"),l=n.get(a)||i,l===i&&n.set(null,r),n.set(a,r),this.count++,i=ou.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),l?l.parentNode.insertBefore(r,l.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var ta={$$typeof:Sn,Provider:null,Consumer:null,_currentValue:_i,_currentValue2:_i,_threadCount:0};function iw(e,t,n,i,r,l,a,o){this.tag=1,this.containerInfo=e,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=Vs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vs(0),this.hiddenUpdates=Vs(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=l,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function U0(e,t,n,i,r,l,a,o,u,c,s,h){return e=new iw(e,t,n,a,o,u,c,h),t=1,l===!0&&(t|=24),l=xt(3,null,null,t),e.current=l,l.stateNode=e,t=Nf(),t.refCount++,e.pooledCache=t,t.refCount++,l.memoizedState={element:i,isDehydrated:n,cache:t},Df(l),e}function L0(e){return e?(e=Tr,e):Tr}function B0(e,t,n,i,r,l){r=L0(r),i.context===null?i.context=r:i.pendingContext=r,i=$n(t),i.payload={element:n},l=l===void 0?null:l,l!==null&&(i.callback=l),n=ei(e,i,t),n!==null&&(Tt(n,e,t),Ll(n,e,t))}function ng(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function rp(e,t){ng(e,t),(e=e.alternate)&&ng(e,t)}function H0(e){if(e.tag===13){var t=Ir(e,67108864);t!==null&&Tt(t,e,67108864),rp(e,67108864)}}var su=!0;function rw(e,t,n,i){var r=B.T;B.T=null;var l=ie.p;try{ie.p=2,lp(e,t,n,i)}finally{ie.p=l,B.T=r}}function lw(e,t,n,i){var r=B.T;B.T=null;var l=ie.p;try{ie.p=8,lp(e,t,n,i)}finally{ie.p=l,B.T=r}}function lp(e,t,n,i){if(su){var r=pf(i);if(r===null)gc(e,t,i,cu,n),ig(e,i);else if(ow(r,e,t,n,i))i.stopPropagation();else if(ig(e,i),t&4&&-1<aw.indexOf(e)){for(;r!==null;){var l=Kr(r);if(l!==null)switch(l.tag){case 3:if(l=l.stateNode,l.current.memoizedState.isDehydrated){var a=wi(l.pendingLanes);if(a!==0){var o=l;for(o.pendingLanes|=2,o.entangledLanes|=2;a;){var u=1<<31-St(a);o.entanglements[1]|=u,a&=~u}on(l),(le&6)===0&&(eu=rn()+500,ba(0,!1))}}break;case 13:o=Ir(l,2),o!==null&&Tt(o,l,2),Su(),rp(l,2)}if(l=pf(i),l===null&&gc(e,t,i,cu,n),l===r)break;r=l}r!==null&&i.stopPropagation()}else gc(e,t,i,null,n)}}function pf(e){return e=Sf(e),ap(e)}var cu=null;function ap(e){if(cu=null,e=yr(e),e!==null){var t=la(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=sg(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return cu=e,null}function q0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(KE()){case hg:return 2;case dg:return 8;case Ho:case IE:return 32;case mg:return 268435456;default:return 32}default:return 32}}var hf=!1,ii=null,ri=null,li=null,na=new Map,ia=new Map,Kn=[],aw="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 ig(e,t){switch(e){case"focusin":case"focusout":ii=null;break;case"dragenter":case"dragleave":ri=null;break;case"mouseover":case"mouseout":li=null;break;case"pointerover":case"pointerout":na.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ia.delete(t.pointerId)}}function kl(e,t,n,i,r,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:l,targetContainers:[r]},t!==null&&(t=Kr(t),t!==null&&H0(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function ow(e,t,n,i,r){switch(t){case"focusin":return ii=kl(ii,e,t,n,i,r),!0;case"dragenter":return ri=kl(ri,e,t,n,i,r),!0;case"mouseover":return li=kl(li,e,t,n,i,r),!0;case"pointerover":var l=r.pointerId;return na.set(l,kl(na.get(l)||null,e,t,n,i,r)),!0;case"gotpointercapture":return l=r.pointerId,ia.set(l,kl(ia.get(l)||null,e,t,n,i,r)),!0}return!1}function Y0(e){var t=yr(e.target);if(t!==null){var n=la(t);if(n!==null){if(t=n.tag,t===13){if(t=sg(n),t!==null){e.blockedOn=t,n2(e.priority,function(){if(n.tag===13){var i=Et();i=yf(i);var r=Ir(n,i);r!==null&&Tt(r,n,i),rp(n,i)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Mo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pf(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Oc=i,n.target.dispatchEvent(i),Oc=null}else return t=Kr(n),t!==null&&H0(t),e.blockedOn=n,!1;t.shift()}return!0}function rg(e,t,n){Mo(e)&&n.delete(t)}function uw(){hf=!1,ii!==null&&Mo(ii)&&(ii=null),ri!==null&&Mo(ri)&&(ri=null),li!==null&&Mo(li)&&(li=null),na.forEach(rg),ia.forEach(rg)}function vo(e,t){e.blockedOn===t&&(e.blockedOn=null,hf||(hf=!0,Ue.unstable_scheduleCallback(Ue.unstable_NormalPriority,uw)))}var So=null;function lg(e){So!==e&&(So=e,Ue.unstable_scheduleCallback(Ue.unstable_NormalPriority,function(){So===e&&(So=null);for(var t=0;t<e.length;t+=3){var n=e[t],i=e[t+1],r=e[t+2];if(typeof i!="function"){if(ap(i||n)===null)continue;break}var l=Kr(n);l!==null&&(e.splice(t,3),t-=3,Qc(l,{pending:!0,data:r,method:n.method,action:i},i,r))}}))}function ra(e){function t(u){return vo(u,e)}ii!==null&&vo(ii,e),ri!==null&&vo(ri,e),li!==null&&vo(li,e),na.forEach(t),ia.forEach(t);for(var n=0;n<Kn.length;n++){var i=Kn[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Kn.length&&(n=Kn[0],n.blockedOn===null);)Y0(n),n.blockedOn===null&&Kn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var r=n[i],l=n[i+1],a=r[ft]||null;if(typeof l=="function")a||lg(n);else if(a){var o=null;if(l&&l.hasAttribute("formAction")){if(r=l,a=l[ft]||null)o=a.formAction;else if(ap(r)!==null)continue}else o=a.action;typeof o=="function"?n[i+1]=o:(n.splice(i,3),i-=3),lg(n)}}}function op(e){this._internalRoot=e}ku.prototype.render=op.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));var n=t.current,i=Et();B0(n,i,e,t,null,null)};ku.prototype.unmount=op.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;B0(e.current,2,null,e,null,null),Su(),t[Zr]=null}};function ku(e){this._internalRoot=e}ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=vg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Kn.length&&t!==0&&t<Kn[n].priority;n++);Kn.splice(n,0,e),n===0&&Y0(e)}};var ag=og.version;if(ag!=="19.1.1")throw Error(_(527,ag,"19.1.1"));ie.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=YE(t),e=e!==null?cg(e):null,e=e===null?null:e.stateNode,e};var sw={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&(Al=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Al.isDisabled&&Al.supportsFiber))try{aa=Al.inject(sw),vt=Al}catch(e){}var Al;Au.createRoot=function(e,t){if(!ug(e))throw Error(_(299));var n=!1,i="",r=Uy,l=Ly,a=By,o=null;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(l=t.onCaughtError),t.onRecoverableError!==void 0&&(a=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(o=t.unstable_transitionCallbacks)),t=U0(e,1,!1,null,null,n,i,r,l,a,o,null),e[Zr]=t.current,tp(e),new op(t)};Au.hydrateRoot=function(e,t,n){if(!ug(e))throw Error(_(299));var i=!1,r="",l=Uy,a=Ly,o=By,u=null,c=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(l=n.onUncaughtError),n.onCaughtError!==void 0&&(a=n.onCaughtError),n.onRecoverableError!==void 0&&(o=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(u=n.unstable_transitionCallbacks),n.formState!==void 0&&(c=n.formState)),t=U0(e,1,!0,t,n!=null?n:null,i,r,l,a,o,u,c),t.context=L0(null),n=t.current,i=Et(),i=yf(i),r=$n(i),r.callback=null,ei(n,r,i),n=i,t.current.lanes=n,ua(t,n),on(t),e[Zr]=t.current,tp(e),new ku(t)};Au.version="19.1.1"});var G0=Fe(($_,X0)=>{"use strict";function V0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(V0)}catch(e){console.error(e)}}V0(),X0.exports=j0()});function Q0(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var Z0=v(()=>{});function _u(e,t){return((t||pw).jsx?fw:cw).test(e)}var cw,fw,pw,K0=v(()=>{cw=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,fw=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,pw={}});var I0=v(()=>{K0()});function up(e){return typeof e=="object"?e.type==="text"?J0(e.value):!1:J0(e)}function J0(e){return e.replace(hw,"")===""}var hw,P0=v(()=>{hw=/[ \t\n\f\r]/g});var F0=v(()=>{P0()});var Dn,sp=v(()=>{Dn=class{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}};Dn.prototype.normal={};Dn.prototype.property={};Dn.prototype.space=void 0});function cp(e,t){let n={},i={};for(let r of e)Object.assign(n,r.property),Object.assign(i,r.normal);return new Dn(n,i,t)}var W0=v(()=>{sp()});function Sa(e){return e.toLowerCase()}var fp=v(()=>{});var Ye,pp=v(()=>{Ye=class{constructor(t,n){this.attribute=n,this.property=t}};Ye.prototype.attribute="";Ye.prototype.booleanish=!1;Ye.prototype.boolean=!1;Ye.prototype.commaOrSpaceSeparated=!1;Ye.prototype.commaSeparated=!1;Ye.prototype.defined=!1;Ye.prototype.mustUseProperty=!1;Ye.prototype.number=!1;Ye.prototype.overloadedBoolean=!1;Ye.prototype.property="";Ye.prototype.spaceSeparated=!1;Ye.prototype.space=void 0});var Ea={};As(Ea,{boolean:()=>j,booleanish:()=>ke,commaOrSpaceSeparated:()=>ht,commaSeparated:()=>fi,number:()=>O,overloadedBoolean:()=>Cu,spaceSeparated:()=>ae});function Vi(){return ud(2,++dw)}var dw,j,ke,Cu,O,ae,fi,ht,Ta=v(()=>{dw=0,j=Vi(),ke=Vi(),Cu=Vi(),O=Vi(),ae=Vi(),fi=Vi(),ht=Vi()});function $0(e,t,n){n&&(e[t]=n)}var hp,Xi,dp=v(()=>{pp();Ta();hp=Object.keys(Ea),Xi=class extends Ye{constructor(t,n,i,r){let l=-1;if(super(t,n),$0(this,"space",r),typeof i=="number")for(;++l<hp.length;){let a=hp[l];$0(this,hp[l],(i&Ea[a])===Ea[a])}}};Xi.prototype.defined=!0});function qt(e){let t={},n={};for(let[i,r]of Object.entries(e.properties)){let l=new Xi(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(l.mustUseProperty=!0),t[i]=l,n[Sa(i)]=i,n[Sa(l.attribute)]=i}return new Dn(t,n,e.space)}var Gi=v(()=>{fp();dp();sp()});var mp,eb=v(()=>{Gi();Ta();mp=qt({properties:{ariaActiveDescendant:null,ariaAtomic:ke,ariaAutoComplete:null,ariaBusy:ke,ariaChecked:ke,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:ae,ariaCurrent:null,ariaDescribedBy:ae,ariaDetails:null,ariaDisabled:ke,ariaDropEffect:ae,ariaErrorMessage:null,ariaExpanded:ke,ariaFlowTo:ae,ariaGrabbed:ke,ariaHasPopup:null,ariaHidden:ke,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ae,ariaLevel:O,ariaLive:null,ariaModal:ke,ariaMultiLine:ke,ariaMultiSelectable:ke,ariaOrientation:null,ariaOwns:ae,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:ke,ariaReadOnly:ke,ariaRelevant:null,ariaRequired:ke,ariaRoleDescription:ae,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:ke,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}})});function Ou(e,t){return t in e?e[t]:t}var gp=v(()=>{});function zu(e,t){return Ou(e,t.toLowerCase())}var yp=v(()=>{gp()});var tb,nb=v(()=>{yp();Gi();Ta();tb=qt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:fi,acceptCharset:ae,accessKey:ae,action:null,allow:null,allowFullScreen:j,allowPaymentRequest:j,allowUserMedia:j,alt:null,as:null,async:j,autoCapitalize:null,autoComplete:ae,autoFocus:j,autoPlay:j,blocking:ae,capture:null,charSet:null,checked:j,cite:null,className:ae,cols:O,colSpan:null,content:null,contentEditable:ke,controls:j,controlsList:ae,coords:O|fi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:j,defer:j,dir:null,dirName:null,disabled:j,download:Cu,draggable:ke,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:j,formTarget:null,headers:ae,height:O,hidden:Cu,high:O,href:null,hrefLang:null,htmlFor:ae,httpEquiv:ae,id:null,imageSizes:null,imageSrcSet:null,inert:j,inputMode:null,integrity:null,is:null,isMap:j,itemId:null,itemProp:ae,itemRef:ae,itemScope:j,itemType:ae,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:j,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:j,muted:j,name:null,nonce:null,noModule:j,noValidate:j,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:j,optimum:O,pattern:null,ping:ae,placeholder:null,playsInline:j,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:j,referrerPolicy:null,rel:ae,required:j,reversed:j,rows:O,rowSpan:O,sandbox:ae,scope:null,scoped:j,seamless:j,selected:j,shadowRootClonable:j,shadowRootDelegatesFocus:j,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:ke,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:j,useMap:null,value:ke,width:O,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ae,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:j,declare:j,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:j,noHref:j,noShade:j,noWrap:j,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:ke,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:j,disableRemotePlayback:j,prefix:null,property:null,results:O,security:null,unselectable:null},space:"html",transform:zu})});var ib,rb=v(()=>{gp();Gi();Ta();ib=qt({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",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:ht,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:ae,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:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:j,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,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:fi,g2:fi,glyphName:fi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:ht,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,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:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ae,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ht,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ht,rev:ht,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ht,requiredFeatures:ht,requiredFonts:ht,requiredFormats:ht,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:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:ht,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ht,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ht,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ou})});var bp,lb=v(()=>{Gi();bp=qt({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}})});var xp,ab=v(()=>{Gi();yp();xp=qt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:zu})});var vp,ob=v(()=>{Gi();vp=qt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}})});var Sp,ub=v(()=>{Sp={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"}});function Ep(e,t){let n=Sa(t),i=t,r=Ye;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&gw.test(t)){if(t.charAt(4)==="-"){let l=t.slice(5).replace(sb,bw);i="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{let l=t.slice(4);if(!sb.test(l)){let a=l.replace(mw,yw);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}r=Xi}return new r(i,t)}function yw(e){return"-"+e.toLowerCase()}function bw(e){return e.charAt(1).toUpperCase()}var mw,sb,gw,cb=v(()=>{dp();pp();fp();mw=/[A-Z]/g,sb=/-[a-z]/g,gw=/^data[-\w.:]+$/i});var fb,Nu,pb=v(()=>{W0();eb();nb();rb();lb();ab();ob();ub();cb();fb=cp([mp,tb,bp,xp,vp],"html"),Nu=cp([mp,ib,bp,xp,vp],"svg")});function hb(e){return e.join(" ").trim()}var db=v(()=>{});var vb=Fe((r4,xb)=>{var mb=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,xw=/\n/g,vw=/^\s*/,Sw=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ew=/^:\s*/,Tw=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ww=/^[;\s]*/,kw=/^\s+|\s+$/g,Aw=`
10
+ `,gb="/",yb="*",Qi="",_w="comment",Cw="declaration";xb.exports=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,i=1;function r(E){var k=E.match(xw);k&&(n+=k.length);var d=E.lastIndexOf(Aw);i=~d?E.length-d:i+E.length}function l(){var E={line:n,column:i};return function(k){return k.position=new a(E),s(),k}}function a(E){this.start=E,this.end={line:n,column:i},this.source=t.source}a.prototype.content=e;var o=[];function u(E){var k=new Error(t.source+":"+n+":"+i+": "+E);if(k.reason=E,k.filename=t.source,k.line=n,k.column=i,k.source=e,t.silent)o.push(k);else throw k}function c(E){var k=E.exec(e);if(k){var d=k[0];return r(d),e=e.slice(d.length),k}}function s(){c(vw)}function h(E){var k;for(E=E||[];k=p();)k!==!1&&E.push(k);return E}function p(){var E=l();if(!(gb!=e.charAt(0)||yb!=e.charAt(1))){for(var k=2;Qi!=e.charAt(k)&&(yb!=e.charAt(k)||gb!=e.charAt(k+1));)++k;if(k+=2,Qi===e.charAt(k-1))return u("End of comment missing");var d=e.slice(2,k-2);return i+=2,r(d),e=e.slice(k),i+=2,E({type:_w,comment:d})}}function f(){var E=l(),k=c(Sw);if(k){if(p(),!c(Ew))return u("property missing ':'");var d=c(Tw),m=E({type:Cw,property:bb(k[0].replace(mb,Qi)),value:d?bb(d[0].replace(mb,Qi)):Qi});return c(ww),m}}function w(){var E=[];h(E);for(var k;k=f();)k!==!1&&(E.push(k),h(E));return E}return s(),w()};function bb(e){return e?e.replace(kw,Qi):Qi}});var Sb=Fe(wa=>{"use strict";var Ow=wa&&wa.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wa,"__esModule",{value:!0});wa.default=Nw;var zw=Ow(vb());function Nw(e,t){var n=null;if(!e||typeof e!="string")return n;var i=(0,zw.default)(e),r=typeof t=="function";return i.forEach(function(l){if(l.type==="declaration"){var a=l.property,o=l.value;r?t(a,o,l):o&&(n=n||{},n[a]=o)}}),n}});var Tb=Fe(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.camelCase=void 0;var Rw=/^--[a-zA-Z0-9_-]+$/,Dw=/-([a-z])/g,Mw=/^[^-]+$/,Uw=/^-(webkit|moz|ms|o|khtml)-/,Lw=/^-(ms)-/,Bw=function(e){return!e||Mw.test(e)||Rw.test(e)},Hw=function(e,t){return t.toUpperCase()},Eb=function(e,t){return"".concat(t,"-")},qw=function(e,t){return t===void 0&&(t={}),Bw(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(Lw,Eb):e=e.replace(Uw,Eb),e.replace(Dw,Hw))};Ru.camelCase=qw});var kb=Fe((wp,wb)=>{"use strict";var Yw=wp&&wp.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},jw=Yw(Sb()),Vw=Tb();function Tp(e,t){var n={};return!e||typeof e!="string"||(0,jw.default)(e,function(i,r){i&&r&&(n[(0,Vw.camelCase)(i,t)]=r)}),n}Tp.default=Tp;wb.exports=Tp});function Ab(e){return t;function t(n){let i=n&&n.position&&n.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function kp(e){let t=Wr(e),n=Du(e);if(t&&n)return{start:t,end:n}}var Du,Wr,_b=v(()=>{Du=Ab("end"),Wr=Ab("start")});var Mu=v(()=>{_b()});function pi(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Cb(e.position):"start"in e||"end"in e?Cb(e):"line"in e||"column"in e?Ap(e):""}function Ap(e){return Ob(e&&e.line)+":"+Ob(e&&e.column)}function Cb(e){return Ap(e&&e.start)+"-"+Ap(e&&e.end)}function Ob(e){return e&&typeof e=="number"?e:1}var zb=v(()=>{});var _p=v(()=>{zb()});var Ce,Nb=v(()=>{_p();Ce=class extends Error{constructor(t,n,i){super(),typeof n=="string"&&(i=n,n=void 0);let r="",l={},a=!1;if(n&&("line"in n&&"column"in n?l={place:n}:"start"in n&&"end"in n?l={place:n}:"type"in n?l={ancestors:[n],place:n.position}:l=L({},n)),typeof t=="string"?r=t:!l.cause&&t&&(a=!0,r=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof i=="string"){let u=i.indexOf(":");u===-1?l.ruleId=i:(l.source=i.slice(0,u),l.ruleId=i.slice(u+1))}if(!l.place&&l.ancestors&&l.ancestors){let u=l.ancestors[l.ancestors.length-1];u&&(l.place=u.position)}let o=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=o?o.line:void 0,this.name=pi(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=a&&l.cause&&typeof l.cause.stack=="string"?l.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});var Cp=v(()=>{Nb()});function zp(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,i;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=ek(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=$w(n,t.jsx,t.jsxs)}let r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Nu:fb,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=Mb(r,e,void 0);return l&&typeof l!="string"?l:r.create(e,r.Fragment,{children:l||void 0},void 0)}function Mb(e,t,n){if(t.type==="element")return Kw(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Iw(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Pw(e,t,n);if(t.type==="mdxjsEsm")return Jw(e,t);if(t.type==="root")return Fw(e,t,n);if(t.type==="text")return Ww(e,t)}function Kw(e,t,n){let i=e.schema,r=i;t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(r=Nu,e.schema=r),e.ancestors.push(t);let l=Lb(e,t.tagName,!1),a=tk(e,t),o=Rp(e,t);return Qw.has(t.tagName)&&(o=o.filter(function(u){return typeof u=="string"?!up(u):!0})),Ub(e,a,l,t),Np(a,o),e.ancestors.pop(),e.schema=i,e.create(t,l,a,n)}function Iw(e,t){if(t.data&&t.data.estree&&e.evaluater){let i=t.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}ka(e,t.position)}function Jw(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ka(e,t.position)}function Pw(e,t,n){let i=e.schema,r=i;t.name==="svg"&&i.space==="html"&&(r=Nu,e.schema=r),e.ancestors.push(t);let l=t.name===null?e.Fragment:Lb(e,t.name,!0),a=nk(e,t),o=Rp(e,t);return Ub(e,a,l,t),Np(a,o),e.ancestors.pop(),e.schema=i,e.create(t,l,a,n)}function Fw(e,t,n){let i={};return Np(i,Rp(e,t)),e.create(t,e.Fragment,i,n)}function Ww(e,t){return t.value}function Ub(e,t,n,i){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=i)}function Np(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function $w(e,t,n){return i;function i(r,l,a,o){let c=Array.isArray(a.children)?n:t;return o?c(l,a,o):c(l,a)}}function ek(e,t){return n;function n(i,r,l,a){let o=Array.isArray(l.children),u=Wr(i);return t(r,l,a,o,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function tk(e,t){let n={},i,r;for(r in t.properties)if(r!=="children"&&Op.call(t.properties,r)){let l=ik(e,r,t.properties[r]);if(l){let[a,o]=l;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&Zw.has(t.tagName)?i=o:n[a]=o}}if(i){let l=n.style||(n.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return n}function nk(e,t){let n={};for(let i of t.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let l=i.data.estree.body[0];l.type;let a=l.expression;a.type;let o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else ka(e,t.position);else{let r=i.name,l;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let o=i.value.data.estree.body[0];o.type,l=e.evaluater.evaluateExpression(o.expression)}else ka(e,t.position);else l=i.value===null?!0:i.value;n[r]=l}return n}function Rp(e,t){let n=[],i=-1,r=e.passKeys?new Map:Xw;for(;++i<t.children.length;){let l=t.children[i],a;if(e.passKeys){let u=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(u){let c=r.get(u)||0;a=u+"-"+c,r.set(u,c+1)}}let o=Mb(e,l,a);o!==void 0&&n.push(o)}return n}function ik(e,t,n){let i=Ep(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?Q0(n):hb(n)),i.property==="style"){let r=typeof n=="object"?n:rk(e,String(n));return e.stylePropertyNameCase==="css"&&(r=lk(r)),["style",r]}return[e.elementAttributeNameCase==="react"&&i.space?Sp[i.property]||i.property:i.attribute,n]}}function rk(e,t){try{return(0,Rb.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let i=n,r=new Ce("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Db+"#cannot-parse-style-attribute",r}}function Lb(e,t,n){let i;if(!n)i={type:"Literal",value:t};else if(t.includes(".")){let r=t.split("."),l=-1,a;for(;++l<r.length;){let o=_u(r[l])?{type:"Identifier",name:r[l]}:{type:"Literal",value:r[l]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(l&&o.type==="Literal"),optional:!1}:o}i=a}else i=_u(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(i.type==="Literal"){let r=i.value;return Op.call(e.components,r)?e.components[r]:r}if(e.evaluater)return e.evaluater.evaluateExpression(i);ka(e)}function ka(e,t){let n=new Ce("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Db+"#cannot-handle-mdx-estrees-without-createevaluater",n}function lk(e){let t={},n;for(n in e)Op.call(e,n)&&(t[ak(n)]=e[n]);return t}function ak(e){let t=e.replace(Gw,ok);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function ok(e){return"-"+e.toLowerCase()}var Rb,Op,Xw,Gw,Qw,Zw,Db,Bb=v(()=>{Z0();I0();F0();pb();db();Rb=ue(kb(),1);Mu();Cp();Op={}.hasOwnProperty,Xw=new Map,Gw=/[A-Z]/g,Qw=new Set(["table","tbody","thead","tfoot","tr"]),Zw=new Set(["td","th"]),Db="https://github.com/syntax-tree/hast-util-to-jsx-runtime"});var Hb=v(()=>{Bb()});var Aa,qb=v(()=>{Aa={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"]}});var Yb=v(()=>{qb()});var Vb=Fe(Uu=>{"use strict";var uk=Symbol.for("react.transitional.element"),sk=Symbol.for("react.fragment");function jb(e,t,n){var i=null;if(n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),"key"in t){n={};for(var r in t)r!=="key"&&(n[r]=t[r])}else n=t;return t=n.ref,{$$typeof:uk,type:e,key:i,ref:t!==void 0?t:null,props:n}}Uu.Fragment=sk;Uu.jsx=jb;Uu.jsxs=jb});var je=Fe((R4,Xb)=>{"use strict";Xb.exports=Vb()});function Dp(e,t){let n=t||ck,i=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,r=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Qb(e,i,r)}function Qb(e,t,n){if(fk(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Gb(e.children,t,n)}return Array.isArray(e)?Gb(e,t,n):""}function Gb(e,t,n){let i=[],r=-1;for(;++r<e.length;)i[r]=Qb(e[r],t,n);return i.join("")}function fk(e){return!!(e&&typeof e=="object")}var ck,Zb=v(()=>{ck={}});var Kb=v(()=>{Zb()});function $r(e){let t="&"+e+";";Ib.innerHTML=t;let n=Ib.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}var Ib,Lu=v(()=>{Ib=document.createElement("i")});function Ie(e,t,n,i){let r=e.length,l=0,a;if(t<0?t=-t>r?0:r+t:t=t>r?r:t,n=n>0?n:0,i.length<1e4)a=Array.from(i),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);l<i.length;)a=i.slice(l,l+1e4),a.unshift(t,0),e.splice(...a),l+=1e4,t+=1e4}function at(e,t){return e.length>0?(Ie(e,e.length,0,t),e):t}var hi=v(()=>{});function Pb(e){let t={},n=-1;for(;++n<e.length;)pk(t,e[n]);return t}function pk(e,t){let n;for(n in t){let r=(Jb.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n],a;if(l)for(a in l){Jb.call(r,a)||(r[a]=[]);let o=l[a];hk(r[a],Array.isArray(o)?o:o?[o]:[])}}}function hk(e,t){let n=-1,i=[];for(;++n<t.length;)(t[n].add==="after"?e:i).push(t[n]);Ie(e,0,0,i)}var Jb,Fb=v(()=>{hi();Jb={}.hasOwnProperty});function Bu(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}var Mp=v(()=>{});function Mn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Hu=v(()=>{});function _a(e){return e!==null&&(e<32||e===127)}function M(e){return e!==null&&e<-2}function Oe(e){return e!==null&&(e<0||e===32)}function q(e){return e===-2||e===-1||e===32}function di(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}var kt,Ve,Wb,Ca,$b,e1,t1,n1,oe=v(()=>{kt=di(/[A-Za-z]/),Ve=di(/[\dA-Za-z]/),Wb=di(/[#-'*+\--9=?A-Z^-~]/);Ca=di(/\d/),$b=di(/[\dA-Fa-f]/),e1=di(/[!-/:-@[-`{-~]/);t1=di(new RegExp("\\p{P}|\\p{S}","u")),n1=di(/\s/)});function Yt(e){let t=[],n=-1,i=0,r=0;for(;++n<e.length;){let l=e.charCodeAt(n),a="";if(l===37&&Ve(e.charCodeAt(n+1))&&Ve(e.charCodeAt(n+2)))r=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(a=String.fromCharCode(l));else if(l>55295&&l<57344){let o=e.charCodeAt(n+1);l<56320&&o>56319&&o<57344?(a=String.fromCharCode(l,o),r=1):a="\uFFFD"}else a=String.fromCharCode(l);a&&(t.push(e.slice(i,n),encodeURIComponent(a)),i=n+r+1,a=""),r&&(n+=r,r=0)}return t.join("")+e.slice(i)}var Zi=v(()=>{oe()});function V(e,t,n,i){let r=i?i-1:Number.POSITIVE_INFINITY,l=0;return a;function a(u){return q(u)?(e.enter(n),o(u)):t(u)}function o(u){return q(u)&&l++<r?(e.consume(u),o):(e.exit(n),t(u))}}var Xe=v(()=>{oe()});function dk(e){let t=e.attempt(this.parser.constructs.contentInitial,i,r),n;return t;function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),V(e,t,"linePrefix")}function r(o){return e.enter("paragraph"),l(o)}function l(o){let u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return M(o)?(e.consume(o),e.exit("chunkText"),l):(e.consume(o),a)}}var i1,r1=v(()=>{Xe();oe();i1={tokenize:dk}});function mk(e){let t=this,n=[],i=0,r,l,a;return o;function o(g){if(i<n.length){let x=n[i];return t.containerState=x[1],e.attempt(x[0].continuation,u,c)(g)}return c(g)}function u(g){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&m();let x=t.events.length,T=x,S;for(;T--;)if(t.events[T][0]==="exit"&&t.events[T][1].type==="chunkFlow"){S=t.events[T][1].end;break}d(i);let C=x;for(;C<t.events.length;)t.events[C][1].end=L({},S),C++;return Ie(t.events,T+1,0,t.events.slice(x)),t.events.length=C,c(g)}return o(g)}function c(g){if(i===n.length){if(!r)return p(g);if(r.currentConstruct&&r.currentConstruct.concrete)return w(g);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(l1,s,h)(g)}function s(g){return r&&m(),d(i),p(g)}function h(g){return t.parser.lazy[t.now().line]=i!==n.length,a=t.now().offset,w(g)}function p(g){return t.containerState={},e.attempt(l1,f,w)(g)}function f(g){return i++,n.push([t.currentConstruct,t.containerState]),p(g)}function w(g){if(g===null){r&&m(),d(0),e.consume(g);return}return r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:l}),E(g)}function E(g){if(g===null){k(e.exit("chunkFlow"),!0),d(0),e.consume(g);return}return M(g)?(e.consume(g),k(e.exit("chunkFlow")),i=0,t.interrupt=void 0,o):(e.consume(g),E)}function k(g,x){let T=t.sliceStream(g);if(x&&T.push(null),g.previous=l,l&&(l.next=g),l=g,r.defineSkip(g.start),r.write(T),t.parser.lazy[g.start.line]){let S=r.events.length;for(;S--;)if(r.events[S][1].start.offset<a&&(!r.events[S][1].end||r.events[S][1].end.offset>a))return;let C=t.events.length,N=C,z,R;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){if(z){R=t.events[N][1].end;break}z=!0}for(d(i),S=C;S<t.events.length;)t.events[S][1].end=L({},R),S++;Ie(t.events,N+1,0,t.events.slice(C)),t.events.length=S}}function d(g){let x=n.length;for(;x-- >g;){let T=n[x];t.containerState=T[1],T[0].exit.call(t,e)}n.length=g}function m(){r.write([null]),l=void 0,r=void 0,t.containerState._closeFlow=void 0}}function gk(e,t,n){return V(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var a1,l1,o1=v(()=>{Xe();oe();hi();a1={tokenize:mk},l1={tokenize:gk}});function Up(e){if(e===null||Oe(e)||n1(e))return 1;if(t1(e))return 2}var u1=v(()=>{oe()});function el(e,t,n){let i=[],r=-1;for(;++r<e.length;){let l=e[r].resolveAll;l&&!i.includes(l)&&(t=l(t,n),i.push(l))}return t}var qu=v(()=>{});function yk(e,t){let n=-1,i,r,l,a,o,u,c,s;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(i=n;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let h=L({},e[i][1].end),p=L({},e[n][1].start);s1(h,-u),s1(p,u),a={type:u>1?"strongSequence":"emphasisSequence",start:h,end:L({},e[i][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:L({},e[n][1].start),end:p},l={type:u>1?"strongText":"emphasisText",start:L({},e[i][1].end),end:L({},e[n][1].start)},r={type:u>1?"strong":"emphasis",start:L({},a.start),end:L({},o.end)},e[i][1].end=L({},a.start),e[n][1].start=L({},o.end),c=[],e[i][1].end.offset-e[i][1].start.offset&&(c=at(c,[["enter",e[i][1],t],["exit",e[i][1],t]])),c=at(c,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",l,t]]),c=at(c,el(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),c=at(c,[["exit",l,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[n][1].end.offset-e[n][1].start.offset?(s=2,c=at(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):s=0,Ie(e,i-1,n-i+3,c),n=i+c.length-s-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function bk(e,t){let n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=Up(i),l;return a;function a(u){return l=u,e.enter("attentionSequence"),o(u)}function o(u){if(u===l)return e.consume(u),o;let c=e.exit("attentionSequence"),s=Up(u),h=!s||s===2&&r||n.includes(u),p=!r||r===2&&s||n.includes(i);return c._open=!!(l===42?h:h&&(r||!p)),c._close=!!(l===42?p:p&&(s||!h)),t(u)}}function s1(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Oa,c1=v(()=>{hi();u1();qu();Oa={name:"attention",resolveAll:yk,tokenize:bk}});function xk(e,t,n){let i=0;return r;function r(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(f){return kt(f)?(e.consume(f),a):f===64?n(f):c(f)}function a(f){return f===43||f===45||f===46||Ve(f)?(i=1,o(f)):c(f)}function o(f){return f===58?(e.consume(f),i=0,u):(f===43||f===45||f===46||Ve(f))&&i++<32?(e.consume(f),o):(i=0,c(f))}function u(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||_a(f)?n(f):(e.consume(f),u)}function c(f){return f===64?(e.consume(f),s):Wb(f)?(e.consume(f),c):n(f)}function s(f){return Ve(f)?h(f):n(f)}function h(f){return f===46?(e.consume(f),i=0,s):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):p(f)}function p(f){if((f===45||Ve(f))&&i++<63){let w=f===45?p:h;return e.consume(f),w}return n(f)}}var Lp,f1=v(()=>{oe();Lp={name:"autolink",tokenize:xk}});function vk(e,t,n){return i;function i(l){return q(l)?V(e,r,"linePrefix")(l):r(l)}function r(l){return l===null||M(l)?t(l):n(l)}}var mi,Yu=v(()=>{Xe();oe();mi={partial:!0,tokenize:vk}});function Sk(e,t,n){let i=this;return r;function r(a){if(a===62){let o=i.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),l}return n(a)}function l(a){return q(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Ek(e,t,n){let i=this;return r;function r(a){return q(a)?V(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):l(a)}function l(a){return e.attempt(ju,t,n)(a)}}function Tk(e){e.exit("blockQuote")}var ju,p1=v(()=>{Xe();oe();ju={continuation:{tokenize:Ek},exit:Tk,name:"blockQuote",tokenize:Sk}});function wk(e,t,n){return i;function i(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),r}function r(l){return e1(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(l)}}var Vu,h1=v(()=>{oe();Vu={name:"characterEscape",tokenize:wk}});function kk(e,t,n){let i=this,r=0,l,a;return o;function o(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),u}function u(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),l=31,a=Ve,s(h))}function c(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,a=$b,s):(e.enter("characterReferenceValue"),l=7,a=Ca,s(h))}function s(h){if(h===59&&r){let p=e.exit("characterReferenceValue");return a===Ve&&!$r(i.sliceSerialize(p))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(h)&&r++<l?(e.consume(h),s):n(h)}}var Xu,d1=v(()=>{Lu();oe();Xu={name:"characterReference",tokenize:kk}});function Ak(e,t,n){let i=this,r={partial:!0,tokenize:T},l=0,a=0,o;return u;function u(S){return c(S)}function c(S){let C=i.events[i.events.length-1];return l=C&&C[1].type==="linePrefix"?C[2].sliceSerialize(C[1],!0).length:0,o=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(S)}function s(S){return S===o?(a++,e.consume(S),s):a<3?n(S):(e.exit("codeFencedFenceSequence"),q(S)?V(e,h,"whitespace")(S):h(S))}function h(S){return S===null||M(S)?(e.exit("codeFencedFence"),i.interrupt?t(S):e.check(m1,E,x)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(S))}function p(S){return S===null||M(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(S)):q(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),V(e,f,"whitespace")(S)):S===96&&S===o?n(S):(e.consume(S),p)}function f(S){return S===null||M(S)?h(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),w(S))}function w(S){return S===null||M(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(S)):S===96&&S===o?n(S):(e.consume(S),w)}function E(S){return e.attempt(r,x,k)(S)}function k(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),d}function d(S){return l>0&&q(S)?V(e,m,"linePrefix",l+1)(S):m(S)}function m(S){return S===null||M(S)?e.check(m1,E,x)(S):(e.enter("codeFlowValue"),g(S))}function g(S){return S===null||M(S)?(e.exit("codeFlowValue"),m(S)):(e.consume(S),g)}function x(S){return e.exit("codeFenced"),t(S)}function T(S,C,N){let z=0;return R;function R(Q){return S.enter("lineEnding"),S.consume(Q),S.exit("lineEnding"),X}function X(Q){return S.enter("codeFencedFence"),q(Q)?V(S,$,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):$(Q)}function $(Q){return Q===o?(S.enter("codeFencedFenceSequence"),U(Q)):N(Q)}function U(Q){return Q===o?(z++,S.consume(Q),U):z>=a?(S.exit("codeFencedFenceSequence"),q(Q)?V(S,K,"whitespace")(Q):K(Q)):N(Q)}function K(Q){return Q===null||M(Q)?(S.exit("codeFencedFence"),C(Q)):N(Q)}}}function _k(e,t,n){let i=this;return r;function r(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l)}function l(a){return i.parser.lazy[i.now().line]?n(a):t(a)}}var m1,Gu,g1=v(()=>{Xe();oe();m1={partial:!0,tokenize:_k},Gu={concrete:!0,name:"codeFenced",tokenize:Ak}});function Ok(e,t,n){let i=this;return r;function r(c){return e.enter("codeIndented"),V(e,l,"linePrefix",5)(c)}function l(c){let s=i.events[i.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?u(c):M(c)?e.attempt(Ck,a,u)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||M(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function u(c){return e.exit("codeIndented"),t(c)}}function zk(e,t,n){let i=this;return r;function r(a){return i.parser.lazy[i.now().line]?n(a):M(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r):V(e,l,"linePrefix",5)(a)}function l(a){let o=i.events[i.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):M(a)?r(a):n(a)}}var za,Ck,y1=v(()=>{Xe();oe();za={name:"codeIndented",tokenize:Ok},Ck={partial:!0,tokenize:zk}});function Nk(e){let t=e.length-4,n=3,i,r;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=n;++i<t;)if(e[i][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(i=n-1,t++;++i<=t;)r===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(r=i):(i===t||e[i][1].type==="lineEnding")&&(e[r][1].type="codeTextData",i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),t-=i-r-2,i=r+2),r=void 0);return e}function Rk(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Dk(e,t,n){let i=this,r=0,l,a;return o;function o(p){return e.enter("codeText"),e.enter("codeTextSequence"),u(p)}function u(p){return p===96?(e.consume(p),r++,u):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(a=e.enter("codeTextSequence"),l=0,h(p)):M(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),s(p))}function s(p){return p===null||p===32||p===96||M(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),s)}function h(p){return p===96?(e.consume(p),l++,h):l===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(a.type="codeTextData",s(p))}}var Bp,b1=v(()=>{oe();Bp={name:"codeText",previous:Rk,resolve:Nk,tokenize:Dk}});function Na(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}var Qu,x1=v(()=>{Qu=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){let i=n==null?Number.POSITIVE_INFINITY:n;return i<this.left.length?this.left.slice(t,i):t>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(t,n,i){let r=n||0;this.setCursor(Math.trunc(t));let l=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return i&&Na(this.left,i),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Na(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Na(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let n=this.left.splice(t,Number.POSITIVE_INFINITY);Na(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Na(this.left,n.reverse())}}}});function Zu(e){let t={},n=-1,i,r,l,a,o,u,c,s=new Qu(e);for(;++n<s.length;){for(;n in t;)n=t[n];if(i=s.get(n),n&&i[1].type==="chunkFlow"&&s.get(n-1)[1].type==="listItemPrefix"&&(u=i[1]._tokenizer.events,l=0,l<u.length&&u[l][1].type==="lineEndingBlank"&&(l+=2),l<u.length&&u[l][1].type==="content"))for(;++l<u.length&&u[l][1].type!=="content";)u[l][1].type==="chunkText"&&(u[l][1]._isInFirstContentOfListItem=!0,l++);if(i[0]==="enter")i[1].contentType&&(Object.assign(t,Mk(s,n)),n=t[n],c=!0);else if(i[1]._container){for(l=n,r=void 0;l--;)if(a=s.get(l),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(r&&(s.get(r)[1].type="lineEndingBlank"),a[1].type="lineEnding",r=l);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;r&&(i[1].end=L({},s.get(r)[1].start),o=s.slice(r,n),o.unshift(i),s.splice(r,n-r+1,o))}}return Ie(e,0,Number.POSITIVE_INFINITY,s.slice(0)),!c}function Mk(e,t){let n=e.get(t)[1],i=e.get(t)[2],r=t-1,l=[],a=n._tokenizer;a||(a=i.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let o=a.events,u=[],c={},s,h,p=-1,f=n,w=0,E=0,k=[E];for(;f;){for(;e.get(++r)[1]!==f;);l.push(r),f._tokenizer||(s=i.sliceStream(f),f.next||s.push(null),h&&a.defineSkip(f.start),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(s),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=f,f=f.next}for(f=n;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(E=p+1,k.push(E),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(a.events=[],f?(f._tokenizer=void 0,f.previous=void 0):k.pop(),p=k.length;p--;){let d=o.slice(k[p],k[p+1]),m=l.pop();u.push([m,m+d.length-1]),e.splice(m,2,d)}for(u.reverse(),p=-1;++p<u.length;)c[w+u[p][0]]=w+u[p][1],w+=u[p][1]-u[p][0]-1;return c}var Hp=v(()=>{hi();x1()});function Lk(e){return Zu(e),e}function Bk(e,t){let n;return i;function i(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(o)}function r(o){return o===null?l(o):M(o)?e.check(Uk,a,l)(o):(e.consume(o),r)}function l(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}function Hk(e,t,n){let i=this;return r;function r(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),V(e,l,"linePrefix")}function l(a){if(a===null||M(a))return n(a);let o=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(i.parser.constructs.flow,n,t)(a)}}var qp,Uk,v1=v(()=>{Xe();oe();Hp();qp={resolve:Lk,tokenize:Bk},Uk={partial:!0,tokenize:Hk}});function Ku(e,t,n,i,r,l,a,o,u){let c=u||Number.POSITIVE_INFINITY,s=0;return h;function h(d){return d===60?(e.enter(i),e.enter(r),e.enter(l),e.consume(d),e.exit(l),p):d===null||d===32||d===41||_a(d)?n(d):(e.enter(i),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),E(d))}function p(d){return d===62?(e.enter(l),e.consume(d),e.exit(l),e.exit(r),e.exit(i),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===62?(e.exit("chunkString"),e.exit(o),p(d)):d===null||d===60||M(d)?n(d):(e.consume(d),d===92?w:f)}function w(d){return d===60||d===62||d===92?(e.consume(d),f):f(d)}function E(d){return!s&&(d===null||d===41||Oe(d))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(i),t(d)):s<c&&d===40?(e.consume(d),s++,E):d===41?(e.consume(d),s--,E):d===null||d===32||d===40||_a(d)?n(d):(e.consume(d),d===92?k:E)}function k(d){return d===40||d===41||d===92?(e.consume(d),E):E(d)}}var Yp=v(()=>{oe()});function Iu(e,t,n,i,r,l){let a=this,o=0,u;return c;function c(f){return e.enter(i),e.enter(r),e.consume(f),e.exit(r),e.enter(l),s}function s(f){return o>999||f===null||f===91||f===93&&!u||f===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):f===93?(e.exit(l),e.enter(r),e.consume(f),e.exit(r),e.exit(i),t):M(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),h(f))}function h(f){return f===null||f===91||f===93||M(f)||o++>999?(e.exit("chunkString"),s(f)):(e.consume(f),u||(u=!q(f)),f===92?p:h)}function p(f){return f===91||f===92||f===93?(e.consume(f),o++,h):h(f)}}var jp=v(()=>{oe()});function Ju(e,t,n,i,r,l){let a;return o;function o(p){return p===34||p===39||p===40?(e.enter(i),e.enter(r),e.consume(p),e.exit(r),a=p===40?41:p,u):n(p)}function u(p){return p===a?(e.enter(r),e.consume(p),e.exit(r),e.exit(i),t):(e.enter(l),c(p))}function c(p){return p===a?(e.exit(l),u(a)):p===null?n(p):M(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),V(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(p))}function s(p){return p===a||p===null||M(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?h:s)}function h(p){return p===a||p===92?(e.consume(p),s):s(p)}}var Vp=v(()=>{Xe();oe()});function Ki(e,t){let n;return i;function i(r){return M(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n=!0,i):q(r)?V(e,i,n?"linePrefix":"lineSuffix")(r):t(r)}}var Xp=v(()=>{Xe();oe()});function Yk(e,t,n){let i=this,r;return l;function l(f){return e.enter("definition"),a(f)}function a(f){return Iu.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function o(f){return r=Mn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),u):n(f)}function u(f){return Oe(f)?Ki(e,c)(f):c(f)}function c(f){return Ku(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function s(f){return e.attempt(qk,h,h)(f)}function h(f){return q(f)?V(e,p,"whitespace")(f):p(f)}function p(f){return f===null||M(f)?(e.exit("definition"),i.parser.defined.push(r),t(f)):n(f)}}function jk(e,t,n){return i;function i(o){return Oe(o)?Ki(e,r)(o):n(o)}function r(o){return Ju(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function l(o){return q(o)?V(e,a,"whitespace")(o):a(o)}function a(o){return o===null||M(o)?t(o):n(o)}}var Gp,qk,S1=v(()=>{Yp();jp();Xe();Vp();Xp();oe();Hu();Gp={name:"definition",tokenize:Yk},qk={partial:!0,tokenize:jk}});function Vk(e,t,n){return i;function i(l){return e.enter("hardBreakEscape"),e.consume(l),r}function r(l){return M(l)?(e.exit("hardBreakEscape"),t(l)):n(l)}}var Qp,E1=v(()=>{oe();Qp={name:"hardBreakEscape",tokenize:Vk}});function Xk(e,t){let n=e.length-2,i=3,r,l;return e[i][1].type==="whitespace"&&(i+=2),n-2>i&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(i===n-1||n-4>i&&e[n-2][1].type==="whitespace")&&(n-=i+1===n?2:4),n>i&&(r={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},l={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},Ie(e,i,n-i+1,[["enter",r,t],["enter",l,t],["exit",l,t],["exit",r,t]])),e}function Gk(e,t,n){let i=0;return r;function r(s){return e.enter("atxHeading"),l(s)}function l(s){return e.enter("atxHeadingSequence"),a(s)}function a(s){return s===35&&i++<6?(e.consume(s),a):s===null||Oe(s)?(e.exit("atxHeadingSequence"),o(s)):n(s)}function o(s){return s===35?(e.enter("atxHeadingSequence"),u(s)):s===null||M(s)?(e.exit("atxHeading"),t(s)):q(s)?V(e,o,"whitespace")(s):(e.enter("atxHeadingText"),c(s))}function u(s){return s===35?(e.consume(s),u):(e.exit("atxHeadingSequence"),o(s))}function c(s){return s===null||s===35||Oe(s)?(e.exit("atxHeadingText"),o(s)):(e.consume(s),c)}}var Zp,T1=v(()=>{Xe();oe();hi();Zp={name:"headingAtx",resolve:Xk,tokenize:Gk}});var w1,Kp,k1=v(()=>{w1=["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"],Kp=["pre","script","style","textarea"]});function Kk(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ik(e,t,n){let i=this,r,l,a,o,u;return c;function c(b){return s(b)}function s(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),h}function h(b){return b===33?(e.consume(b),p):b===47?(e.consume(b),l=!0,E):b===63?(e.consume(b),r=3,i.interrupt?t:y):kt(b)?(e.consume(b),a=String.fromCharCode(b),k):n(b)}function p(b){return b===45?(e.consume(b),r=2,f):b===91?(e.consume(b),r=5,o=0,w):kt(b)?(e.consume(b),r=4,i.interrupt?t:y):n(b)}function f(b){return b===45?(e.consume(b),i.interrupt?t:y):n(b)}function w(b){let dt="CDATA[";return b===dt.charCodeAt(o++)?(e.consume(b),o===dt.length?i.interrupt?t:$:w):n(b)}function E(b){return kt(b)?(e.consume(b),a=String.fromCharCode(b),k):n(b)}function k(b){if(b===null||b===47||b===62||Oe(b)){let dt=b===47,vi=a.toLowerCase();return!dt&&!l&&Kp.includes(vi)?(r=1,i.interrupt?t(b):$(b)):w1.includes(a.toLowerCase())?(r=6,dt?(e.consume(b),d):i.interrupt?t(b):$(b)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(b):l?m(b):g(b))}return b===45||Ve(b)?(e.consume(b),a+=String.fromCharCode(b),k):n(b)}function d(b){return b===62?(e.consume(b),i.interrupt?t:$):n(b)}function m(b){return q(b)?(e.consume(b),m):R(b)}function g(b){return b===47?(e.consume(b),R):b===58||b===95||kt(b)?(e.consume(b),x):q(b)?(e.consume(b),g):R(b)}function x(b){return b===45||b===46||b===58||b===95||Ve(b)?(e.consume(b),x):T(b)}function T(b){return b===61?(e.consume(b),S):q(b)?(e.consume(b),T):g(b)}function S(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),u=b,C):q(b)?(e.consume(b),S):N(b)}function C(b){return b===u?(e.consume(b),u=null,z):b===null||M(b)?n(b):(e.consume(b),C)}function N(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||Oe(b)?T(b):(e.consume(b),N)}function z(b){return b===47||b===62||q(b)?g(b):n(b)}function R(b){return b===62?(e.consume(b),X):n(b)}function X(b){return b===null||M(b)?$(b):q(b)?(e.consume(b),X):n(b)}function $(b){return b===45&&r===2?(e.consume(b),Ee):b===60&&r===1?(e.consume(b),Re):b===62&&r===4?(e.consume(b),Ct):b===63&&r===3?(e.consume(b),y):b===93&&r===5?(e.consume(b),Ft):M(b)&&(r===6||r===7)?(e.exit("htmlFlowData"),e.check(Qk,pn,U)(b)):b===null||M(b)?(e.exit("htmlFlowData"),U(b)):(e.consume(b),$)}function U(b){return e.check(Zk,K,pn)(b)}function K(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),Q}function Q(b){return b===null||M(b)?U(b):(e.enter("htmlFlowData"),$(b))}function Ee(b){return b===45?(e.consume(b),y):$(b)}function Re(b){return b===47?(e.consume(b),a="",jt):$(b)}function jt(b){if(b===62){let dt=a.toLowerCase();return Kp.includes(dt)?(e.consume(b),Ct):$(b)}return kt(b)&&a.length<8?(e.consume(b),a+=String.fromCharCode(b),jt):$(b)}function Ft(b){return b===93?(e.consume(b),y):$(b)}function y(b){return b===62?(e.consume(b),Ct):b===45&&r===2?(e.consume(b),y):$(b)}function Ct(b){return b===null||M(b)?(e.exit("htmlFlowData"),pn(b)):(e.consume(b),Ct)}function pn(b){return e.exit("htmlFlow"),t(b)}}function Jk(e,t,n){let i=this;return r;function r(a){return M(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l):n(a)}function l(a){return i.parser.lazy[i.now().line]?n(a):t(a)}}function Pk(e,t,n){return i;function i(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(mi,t,n)}}var Ip,Qk,Zk,A1=v(()=>{oe();k1();Yu();Ip={concrete:!0,name:"htmlFlow",resolveTo:Kk,tokenize:Ik},Qk={partial:!0,tokenize:Pk},Zk={partial:!0,tokenize:Jk}});function Fk(e,t,n){let i=this,r,l,a;return o;function o(y){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(y),u}function u(y){return y===33?(e.consume(y),c):y===47?(e.consume(y),T):y===63?(e.consume(y),g):kt(y)?(e.consume(y),N):n(y)}function c(y){return y===45?(e.consume(y),s):y===91?(e.consume(y),l=0,w):kt(y)?(e.consume(y),m):n(y)}function s(y){return y===45?(e.consume(y),f):n(y)}function h(y){return y===null?n(y):y===45?(e.consume(y),p):M(y)?(a=h,Re(y)):(e.consume(y),h)}function p(y){return y===45?(e.consume(y),f):h(y)}function f(y){return y===62?Ee(y):y===45?p(y):h(y)}function w(y){let Ct="CDATA[";return y===Ct.charCodeAt(l++)?(e.consume(y),l===Ct.length?E:w):n(y)}function E(y){return y===null?n(y):y===93?(e.consume(y),k):M(y)?(a=E,Re(y)):(e.consume(y),E)}function k(y){return y===93?(e.consume(y),d):E(y)}function d(y){return y===62?Ee(y):y===93?(e.consume(y),d):E(y)}function m(y){return y===null||y===62?Ee(y):M(y)?(a=m,Re(y)):(e.consume(y),m)}function g(y){return y===null?n(y):y===63?(e.consume(y),x):M(y)?(a=g,Re(y)):(e.consume(y),g)}function x(y){return y===62?Ee(y):g(y)}function T(y){return kt(y)?(e.consume(y),S):n(y)}function S(y){return y===45||Ve(y)?(e.consume(y),S):C(y)}function C(y){return M(y)?(a=C,Re(y)):q(y)?(e.consume(y),C):Ee(y)}function N(y){return y===45||Ve(y)?(e.consume(y),N):y===47||y===62||Oe(y)?z(y):n(y)}function z(y){return y===47?(e.consume(y),Ee):y===58||y===95||kt(y)?(e.consume(y),R):M(y)?(a=z,Re(y)):q(y)?(e.consume(y),z):Ee(y)}function R(y){return y===45||y===46||y===58||y===95||Ve(y)?(e.consume(y),R):X(y)}function X(y){return y===61?(e.consume(y),$):M(y)?(a=X,Re(y)):q(y)?(e.consume(y),X):z(y)}function $(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),r=y,U):M(y)?(a=$,Re(y)):q(y)?(e.consume(y),$):(e.consume(y),K)}function U(y){return y===r?(e.consume(y),r=void 0,Q):y===null?n(y):M(y)?(a=U,Re(y)):(e.consume(y),U)}function K(y){return y===null||y===34||y===39||y===60||y===61||y===96?n(y):y===47||y===62||Oe(y)?z(y):(e.consume(y),K)}function Q(y){return y===47||y===62||Oe(y)?z(y):n(y)}function Ee(y){return y===62?(e.consume(y),e.exit("htmlTextData"),e.exit("htmlText"),t):n(y)}function Re(y){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),jt}function jt(y){return q(y)?V(e,Ft,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(y):Ft(y)}function Ft(y){return e.enter("htmlTextData"),a(y)}}var Jp,_1=v(()=>{Xe();oe();Jp={name:"htmlText",tokenize:Fk}});function tA(e){let t=-1,n=[];for(;++t<e.length;){let i=e[t][1];if(n.push(e[t]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){let r=i.type==="labelImage"?4:2;i.type="data",t+=r}}return e.length!==n.length&&Ie(e,0,e.length,n),e}function nA(e,t){let n=e.length,i=0,r,l,a,o;for(;n--;)if(r=e[n][1],l){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;e[n][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(l=n,r.type!=="labelLink")){i=2;break}}else r.type==="labelEnd"&&(a=n);let u={type:e[l][1].type==="labelLink"?"link":"image",start:L({},e[l][1].start),end:L({},e[e.length-1][1].end)},c={type:"label",start:L({},e[l][1].start),end:L({},e[a][1].end)},s={type:"labelText",start:L({},e[l+i+2][1].end),end:L({},e[a-2][1].start)};return o=[["enter",u,t],["enter",c,t]],o=at(o,e.slice(l+1,l+i+3)),o=at(o,[["enter",s,t]]),o=at(o,el(t.parser.constructs.insideSpan.null,e.slice(l+i+4,a-3),t)),o=at(o,[["exit",s,t],e[a-2],e[a-1],["exit",c,t]]),o=at(o,e.slice(a+1)),o=at(o,[["exit",u,t]]),Ie(e,l,e.length,o),e}function iA(e,t,n){let i=this,r=i.events.length,l,a;for(;r--;)if((i.events[r][1].type==="labelImage"||i.events[r][1].type==="labelLink")&&!i.events[r][1]._balanced){l=i.events[r][1];break}return o;function o(p){return l?l._inactive?h(p):(a=i.parser.defined.includes(Mn(i.sliceSerialize({start:l.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):n(p)}function u(p){return p===40?e.attempt(Wk,s,a?s:h)(p):p===91?e.attempt($k,s,a?c:h)(p):a?s(p):h(p)}function c(p){return e.attempt(eA,s,h)(p)}function s(p){return t(p)}function h(p){return l._balanced=!0,n(p)}}function rA(e,t,n){return i;function i(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),r}function r(h){return Oe(h)?Ki(e,l)(h):l(h)}function l(h){return h===41?s(h):Ku(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function a(h){return Oe(h)?Ki(e,u)(h):s(h)}function o(h){return n(h)}function u(h){return h===34||h===39||h===40?Ju(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):s(h)}function c(h){return Oe(h)?Ki(e,s)(h):s(h)}function s(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function lA(e,t,n){let i=this;return r;function r(o){return Iu.call(i,e,l,a,"reference","referenceMarker","referenceString")(o)}function l(o){return i.parser.defined.includes(Mn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function aA(e,t,n){return i;function i(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),r}function r(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):n(l)}}var Ii,Wk,$k,eA,Pu=v(()=>{Yp();jp();Vp();Xp();oe();hi();Hu();qu();Ii={name:"labelEnd",resolveAll:tA,resolveTo:nA,tokenize:iA},Wk={tokenize:rA},$k={tokenize:lA},eA={tokenize:aA}});function oA(e,t,n){let i=this;return r;function r(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),l}function l(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(o):t(o)}}var Pp,C1=v(()=>{Pu();Pp={name:"labelStartImage",resolveAll:Ii.resolveAll,tokenize:oA}});function uA(e,t,n){let i=this;return r;function r(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),l}function l(a){return a===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(a):t(a)}}var Fp,O1=v(()=>{Pu();Fp={name:"labelStartLink",resolveAll:Ii.resolveAll,tokenize:uA}});function sA(e,t){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),V(e,t,"linePrefix")}}var Ra,z1=v(()=>{Xe();Ra={name:"lineEnding",tokenize:sA}});function cA(e,t,n){let i=0,r;return l;function l(c){return e.enter("thematicBreak"),a(c)}function a(c){return r=c,o(c)}function o(c){return c===r?(e.enter("thematicBreakSequence"),u(c)):i>=3&&(c===null||M(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===r?(e.consume(c),i++,u):(e.exit("thematicBreakSequence"),q(c)?V(e,o,"whitespace")(c):o(c))}}var Ji,Wp=v(()=>{Xe();oe();Ji={name:"thematicBreak",tokenize:cA}});function hA(e,t,n){let i=this,r=i.events[i.events.length-1],l=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,a=0;return o;function o(f){let w=i.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!i.containerState.marker||f===i.containerState.marker:Ca(f)){if(i.containerState.type||(i.containerState.type=w,e.enter(w,{_container:!0})),w==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(Ji,n,c)(f):c(f);if(!i.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(f)}return n(f)}function u(f){return Ca(f)&&++a<10?(e.consume(f),u):(!i.interrupt||a<2)&&(i.containerState.marker?f===i.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),c(f)):n(f)}function c(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||f,e.check(mi,i.interrupt?n:s,e.attempt(fA,p,h))}function s(f){return i.containerState.initialBlankLine=!0,l++,p(f)}function h(f){return q(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),p):n(f)}function p(f){return i.containerState.size=l+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function dA(e,t,n){let i=this;return i.containerState._closeFlow=void 0,e.check(mi,r,l);function r(o){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,V(e,t,"listItemIndent",i.containerState.size+1)(o)}function l(o){return i.containerState.furtherBlankLines||!q(o)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(o)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(pA,t,a)(o))}function a(o){return i.containerState._closeFlow=!0,i.interrupt=void 0,V(e,e.attempt(tt,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function mA(e,t,n){let i=this;return V(e,r,"listItemIndent",i.containerState.size+1);function r(l){let a=i.events[i.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?t(l):n(l)}}function gA(e){e.exit(this.containerState.type)}function yA(e,t,n){let i=this;return V(e,r,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(l){let a=i.events[i.events.length-1];return!q(l)&&a&&a[1].type==="listItemPrefixWhitespace"?t(l):n(l)}}var tt,fA,pA,N1=v(()=>{Xe();oe();Yu();Wp();tt={continuation:{tokenize:dA},exit:gA,name:"list",tokenize:hA},fA={partial:!0,tokenize:yA},pA={partial:!0,tokenize:mA}});function bA(e,t){let n=e.length,i,r,l;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){i=n;break}e[n][1].type==="paragraph"&&(r=n)}else e[n][1].type==="content"&&e.splice(n,1),!l&&e[n][1].type==="definition"&&(l=n);let a={type:"setextHeading",start:L({},e[i][1].start),end:L({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",a,t]),e.splice(l+1,0,["exit",e[i][1],t]),e[i][1].end=L({},e[l][1].end)):e[i][1]=a,e.push(["exit",a,t]),e}function xA(e,t,n){let i=this,r;return l;function l(c){let s=i.events.length,h;for(;s--;)if(i.events[s][1].type!=="lineEnding"&&i.events[s][1].type!=="linePrefix"&&i.events[s][1].type!=="content"){h=i.events[s][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||h)?(e.enter("setextHeadingLine"),r=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===r?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),q(c)?V(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||M(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}var Fu,R1=v(()=>{Xe();oe();Fu={name:"setextUnderline",resolveTo:bA,tokenize:xA}});var $p=v(()=>{c1();f1();Yu();p1();h1();d1();g1();y1();b1();v1();S1();E1();T1();A1();_1();Pu();C1();O1();z1();N1();R1();Wp()});function vA(e){let t=this,n=e.attempt(mi,i,e.attempt(this.parser.constructs.flowInitial,r,V(e,e.attempt(this.parser.constructs.flow,r,e.attempt(qp,r)),"linePrefix")));return n;function i(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var D1,M1=v(()=>{$p();Xe();D1={tokenize:vA}});function H1(e){return{resolveAll:q1(e==="text"?SA:void 0),tokenize:t};function t(n){let i=this,r=this.parser.constructs[e],l=n.attempt(r,a,o);return a;function a(s){return c(s)?l(s):o(s)}function o(s){if(s===null){n.consume(s);return}return n.enter("data"),n.consume(s),u}function u(s){return c(s)?(n.exit("data"),l(s)):(n.consume(s),u)}function c(s){if(s===null)return!0;let h=r[s],p=-1;if(h)for(;++p<h.length;){let f=h[p];if(!f.previous||f.previous.call(i,i.previous))return!0}return!1}}}function q1(e){return t;function t(n,i){let r=-1,l;for(;++r<=n.length;)l===void 0?n[r]&&n[r][1].type==="data"&&(l=r,r++):(!n[r]||n[r][1].type!=="data")&&(r!==l+2&&(n[l][1].end=n[r-1][1].end,n.splice(l+2,r-l-2),r=l+2),l=void 0);return e?e(n,i):n}}function SA(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){let i=e[n-1][1],r=t.sliceStream(i),l=r.length,a=-1,o=0,u;for(;l--;){let c=r[l];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)u=!0,o++;else if(c!==-1){l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){let c={type:n===e.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:i.start._bufferIndex+a,_index:i.start._index+l,line:i.end.line,column:i.end.column-o,offset:i.end.offset-o},end:L({},i.end)};i.end=L({},c.start),i.start.offset===i.end.offset?Object.assign(i,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}var U1,L1,B1,eh=v(()=>{U1={resolveAll:q1()},L1=H1("string"),B1=H1("text")});var th={};As(th,{attentionMarkers:()=>OA,contentInitial:()=>TA,disable:()=>zA,document:()=>EA,flow:()=>kA,flowInitial:()=>wA,insideSpan:()=>CA,string:()=>AA,text:()=>_A});var EA,TA,wA,kA,AA,_A,CA,OA,zA,Y1=v(()=>{$p();eh();EA={42:tt,43:tt,45:tt,48:tt,49:tt,50:tt,51:tt,52:tt,53:tt,54:tt,55:tt,56:tt,57:tt,62:ju},TA={91:Gp},wA={[-2]:za,[-1]:za,32:za},kA={35:Zp,42:Ji,45:[Fu,Ji],60:Ip,61:Fu,95:Ji,96:Gu,126:Gu},AA={38:Xu,92:Vu},_A={[-5]:Ra,[-4]:Ra,[-3]:Ra,33:Pp,38:Xu,42:Oa,60:[Lp,Jp],91:Fp,92:[Qp,Vu],93:Ii,95:Oa,96:Bp},CA={null:[Oa,U1]},OA={null:[42,95]},zA={null:[]}});function j1(e,t,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},r={},l=[],a=[],o=[],u=!0,c={attempt:z(C),check:z(N),consume:x,enter:T,exit:S,interrupt:z(N,{interrupt:!0})},s={code:null,containerState:{},defineSkip:d,events:[],now:k,parser:e,previous:null,sliceSerialize:w,sliceStream:E,write:f},h=t.tokenize.call(s,c),p;return t.resolveAll&&l.push(t),s;function f(U){return a=at(a,U),m(),a[a.length-1]!==null?[]:(R(t,0),s.events=el(l,s.events,s),s.events)}function w(U,K){return RA(E(U),K)}function E(U){return NA(a,U)}function k(){let{_bufferIndex:U,_index:K,line:Q,column:Ee,offset:Re}=i;return{_bufferIndex:U,_index:K,line:Q,column:Ee,offset:Re}}function d(U){r[U.line]=U.column,$()}function m(){let U;for(;i._index<a.length;){let K=a[i._index];if(typeof K=="string")for(U=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===U&&i._bufferIndex<K.length;)g(K.charCodeAt(i._bufferIndex));else g(K)}}function g(U){u=void 0,p=U,h=h(U)}function x(U){M(U)?(i.line++,i.column=1,i.offset+=U===-3?2:1,$()):U!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===a[i._index].length&&(i._bufferIndex=-1,i._index++)),s.previous=U,u=!0}function T(U,K){let Q=K||{};return Q.type=U,Q.start=k(),s.events.push(["enter",Q,s]),o.push(Q),Q}function S(U){let K=o.pop();return K.end=k(),s.events.push(["exit",K,s]),K}function C(U,K){R(U,K.from)}function N(U,K){K.restore()}function z(U,K){return Q;function Q(Ee,Re,jt){let Ft,y,Ct,pn;return Array.isArray(Ee)?dt(Ee):"tokenize"in Ee?dt([Ee]):b(Ee);function b(Ge){return pl;function pl(hn){let Si=hn!==null&&Ge[hn],nr=hn!==null&&Ge.null,ws=[...Array.isArray(Si)?Si:Si?[Si]:[],...Array.isArray(nr)?nr:nr?[nr]:[]];return dt(ws)(hn)}}function dt(Ge){return Ft=Ge,y=0,Ge.length===0?jt:vi(Ge[y])}function vi(Ge){return pl;function pl(hn){return pn=X(),Ct=Ge,Ge.partial||(s.currentConstruct=Ge),Ge.name&&s.parser.constructs.disable.null.includes(Ge.name)?Pa(hn):Ge.tokenize.call(K?Object.assign(Object.create(s),K):s,c,Ts,Pa)(hn)}}function Ts(Ge){return u=!0,U(Ct,pn),Re}function Pa(Ge){return u=!0,pn.restore(),++y<Ft.length?vi(Ft[y]):jt}}}function R(U,K){U.resolveAll&&!l.includes(U)&&l.push(U),U.resolve&&Ie(s.events,K,s.events.length-K,U.resolve(s.events.slice(K),s)),U.resolveTo&&(s.events=U.resolveTo(s.events,s))}function X(){let U=k(),K=s.previous,Q=s.currentConstruct,Ee=s.events.length,Re=Array.from(o);return{from:Ee,restore:jt};function jt(){i=U,s.previous=K,s.currentConstruct=Q,s.events.length=Ee,o=Re,$()}}function $(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}function NA(e,t){let n=t.start._index,i=t.start._bufferIndex,r=t.end._index,l=t.end._bufferIndex,a;if(n===r)a=[e[n].slice(i,l)];else{if(a=e.slice(n,r),i>-1){let o=a[0];typeof o=="string"?a[0]=o.slice(i):a.shift()}l>0&&a.push(e[r].slice(0,l))}return a}function RA(e,t){let n=-1,i=[],r;for(;++n<e.length;){let l=e[n],a;if(typeof l=="string")a=l;else switch(l){case-5:{a="\r";break}case-4:{a=`
11
+ `;break}case-3:{a=`\r
12
+ `;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&r)continue;a=" ";break}default:a=String.fromCharCode(l)}r=l===-2,i.push(a)}return i.join("")}var V1=v(()=>{oe();hi();qu()});function nh(e){let i={constructs:Pb([th,...(e||{}).extensions||[]]),content:r(i1),defined:[],document:r(a1),flow:r(D1),lazy:{},string:r(L1),text:r(B1)};return i;function r(l){return a;function a(o){return j1(i,l,o)}}}var X1=v(()=>{Fb();r1();o1();M1();eh();Y1();V1()});function ih(e){for(;!Zu(e););return e}var G1=v(()=>{Hp()});function rh(){let e=1,t="",n=!0,i;return r;function r(l,a,o){let u=[],c,s,h,p,f;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(a||void 0).decode(l)),h=0,t="",n&&(l.charCodeAt(0)===65279&&h++,n=void 0);h<l.length;){if(Q1.lastIndex=h,c=Q1.exec(l),p=c&&c.index!==void 0?c.index:l.length,f=l.charCodeAt(p),!c){t=l.slice(h);break}if(f===10&&h===p&&i)u.push(-3),i=void 0;else switch(i&&(u.push(-5),i=void 0),h<p&&(u.push(l.slice(h,p)),e+=p-h),f){case 0:{u.push(65533),e++;break}case 9:{for(s=Math.ceil(e/4)*4,u.push(-2);e++<s;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:i=!0,e=1}h=p+1}return o&&(i&&u.push(-5),t&&u.push(t),u.push(null)),u}}var Q1,Z1=v(()=>{Q1=/[\0\t\n\r]/g});var K1=v(()=>{X1();G1();Z1()});function I1(e){return e.replace(DA,MA)}function MA(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let r=n.charCodeAt(1),l=r===120||r===88;return Bu(n.slice(l?2:1),l?16:10)}return $r(n)||e}var DA,J1=v(()=>{Lu();Mp();DA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi});function lh(e,t,n){return typeof t!="string"&&(n=t,t=void 0),UA(n)(ih(nh(n).document().write(rh()(e,t,!0))))}function UA(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(rd),autolinkProtocol:z,autolinkEmail:z,atxHeading:l(td),blockQuote:l(hn),characterEscape:z,characterReference:z,codeFenced:l(Si),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:l(Si,a),codeText:l(nr,a),codeTextData:z,data:z,codeFlowValue:z,definition:l(ws),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:l(aE),hardBreakEscape:l(nd),hardBreakTrailing:l(nd),htmlFlow:l(id,a),htmlFlowData:z,htmlText:l(id,a),htmlTextData:z,image:l(oE),label:a,link:l(rd),listItem:l(uE),listItemValue:p,listOrdered:l(ld,h),listUnordered:l(ld),paragraph:l(sE),reference:b,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:l(td),strong:l(cE),thematicBreak:l(pE)},exit:{atxHeading:u(),atxHeadingSequence:T,autolink:u(),autolinkEmail:pl,autolinkProtocol:Ge,blockQuote:u(),characterEscapeValue:R,characterReferenceMarkerHexadecimal:vi,characterReferenceMarkerNumeric:vi,characterReferenceValue:Ts,characterReference:Pa,codeFenced:u(k),codeFencedFence:E,codeFencedFenceInfo:f,codeFencedFenceMeta:w,codeFlowValue:R,codeIndented:u(d),codeText:u(Q),codeTextData:R,data:R,definition:u(),definitionDestinationString:x,definitionLabelString:m,definitionTitleString:g,emphasis:u(),hardBreakEscape:u($),hardBreakTrailing:u($),htmlFlow:u(U),htmlFlowData:R,htmlText:u(K),htmlTextData:R,image:u(Re),label:Ft,labelText:jt,lineEnding:X,link:u(Ee),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:dt,resourceDestinationString:y,resourceTitleString:Ct,resource:pn,setextHeading:u(N),setextHeadingLineSequence:C,setextHeadingText:S,strong:u(),thematicBreak:u()}};W1(t,(e||{}).mdastExtensions||[]);let n={};return i;function i(A){let D={type:"root",children:[]},Y={stack:[D],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:s,data:n},ee=[],pe=-1;for(;++pe<A.length;)if(A[pe][1].type==="listOrdered"||A[pe][1].type==="listUnordered")if(A[pe][0]==="enter")ee.push(pe);else{let Vt=ee.pop();pe=r(A,Vt,pe)}for(pe=-1;++pe<A.length;){let Vt=t[A[pe][0]];F1.call(Vt,A[pe][1].type)&&Vt[A[pe][1].type].call(Object.assign({sliceSerialize:A[pe][2].sliceSerialize},Y),A[pe][1])}if(Y.tokenStack.length>0){let Vt=Y.tokenStack[Y.tokenStack.length-1];(Vt[1]||P1).call(Y,void 0,Vt[0])}for(D.position={start:gi(A.length>0?A[0][1].start:{line:1,column:1,offset:0}),end:gi(A.length>0?A[A.length-2][1].end:{line:1,column:1,offset:0})},pe=-1;++pe<t.transforms.length;)D=t.transforms[pe](D)||D;return D}function r(A,D,Y){let ee=D-1,pe=-1,Vt=!1,Ei,dn,hl,dl;for(;++ee<=Y;){let mt=A[ee];switch(mt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{mt[0]==="enter"?pe++:pe--,dl=void 0;break}case"lineEndingBlank":{mt[0]==="enter"&&(Ei&&!dl&&!pe&&!hl&&(hl=ee),dl=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:dl=void 0}if(!pe&&mt[0]==="enter"&&mt[1].type==="listItemPrefix"||pe===-1&&mt[0]==="exit"&&(mt[1].type==="listUnordered"||mt[1].type==="listOrdered")){if(Ei){let ir=ee;for(dn=void 0;ir--;){let mn=A[ir];if(mn[1].type==="lineEnding"||mn[1].type==="lineEndingBlank"){if(mn[0]==="exit")continue;dn&&(A[dn][1].type="lineEndingBlank",Vt=!0),mn[1].type="lineEnding",dn=ir}else if(!(mn[1].type==="linePrefix"||mn[1].type==="blockQuotePrefix"||mn[1].type==="blockQuotePrefixWhitespace"||mn[1].type==="blockQuoteMarker"||mn[1].type==="listItemIndent"))break}hl&&(!dn||hl<dn)&&(Ei._spread=!0),Ei.end=Object.assign({},dn?A[dn][1].start:mt[1].end),A.splice(dn||ee,0,["exit",Ei,mt[2]]),ee++,Y++}if(mt[1].type==="listItemPrefix"){let ir={type:"listItem",_spread:!1,start:Object.assign({},mt[1].start),end:void 0};Ei=ir,A.splice(ee,0,["enter",ir,mt[2]]),ee++,Y++,hl=void 0,dl=!0}}}return A[D][1]._spread=Vt,Y}function l(A,D){return Y;function Y(ee){o.call(this,A(ee),ee),D&&D.call(this,ee)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(A,D,Y){this.stack[this.stack.length-1].children.push(A),this.stack.push(A),this.tokenStack.push([D,Y||void 0]),A.position={start:gi(D.start),end:void 0}}function u(A){return D;function D(Y){A&&A.call(this,Y),c.call(this,Y)}}function c(A,D){let Y=this.stack.pop(),ee=this.tokenStack.pop();if(ee)ee[0].type!==A.type&&(D?D.call(this,A,ee[0]):(ee[1]||P1).call(this,A,ee[0]));else throw new Error("Cannot close `"+A.type+"` ("+pi({start:A.start,end:A.end})+"): it\u2019s not open");Y.position.end=gi(A.end)}function s(){return Dp(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function p(A){if(this.data.expectingFirstListItemValue){let D=this.stack[this.stack.length-2];D.start=Number.parseInt(this.sliceSerialize(A),10),this.data.expectingFirstListItemValue=void 0}}function f(){let A=this.resume(),D=this.stack[this.stack.length-1];D.lang=A}function w(){let A=this.resume(),D=this.stack[this.stack.length-1];D.meta=A}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){let A=this.resume(),D=this.stack[this.stack.length-1];D.value=A.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function d(){let A=this.resume(),D=this.stack[this.stack.length-1];D.value=A.replace(/(\r?\n|\r)$/g,"")}function m(A){let D=this.resume(),Y=this.stack[this.stack.length-1];Y.label=D,Y.identifier=Mn(this.sliceSerialize(A)).toLowerCase()}function g(){let A=this.resume(),D=this.stack[this.stack.length-1];D.title=A}function x(){let A=this.resume(),D=this.stack[this.stack.length-1];D.url=A}function T(A){let D=this.stack[this.stack.length-1];if(!D.depth){let Y=this.sliceSerialize(A).length;D.depth=Y}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(A){let D=this.stack[this.stack.length-1];D.depth=this.sliceSerialize(A).codePointAt(0)===61?1:2}function N(){this.data.setextHeadingSlurpLineEnding=void 0}function z(A){let Y=this.stack[this.stack.length-1].children,ee=Y[Y.length-1];(!ee||ee.type!=="text")&&(ee=fE(),ee.position={start:gi(A.start),end:void 0},Y.push(ee)),this.stack.push(ee)}function R(A){let D=this.stack.pop();D.value+=this.sliceSerialize(A),D.position.end=gi(A.end)}function X(A){let D=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Y=D.children[D.children.length-1];Y.position.end=gi(A.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(D.type)&&(z.call(this,A),R.call(this,A))}function $(){this.data.atHardBreak=!0}function U(){let A=this.resume(),D=this.stack[this.stack.length-1];D.value=A}function K(){let A=this.resume(),D=this.stack[this.stack.length-1];D.value=A}function Q(){let A=this.resume(),D=this.stack[this.stack.length-1];D.value=A}function Ee(){let A=this.stack[this.stack.length-1];if(this.data.inReference){let D=this.data.referenceType||"shortcut";A.type+="Reference",A.referenceType=D,delete A.url,delete A.title}else delete A.identifier,delete A.label;this.data.referenceType=void 0}function Re(){let A=this.stack[this.stack.length-1];if(this.data.inReference){let D=this.data.referenceType||"shortcut";A.type+="Reference",A.referenceType=D,delete A.url,delete A.title}else delete A.identifier,delete A.label;this.data.referenceType=void 0}function jt(A){let D=this.sliceSerialize(A),Y=this.stack[this.stack.length-2];Y.label=I1(D),Y.identifier=Mn(D).toLowerCase()}function Ft(){let A=this.stack[this.stack.length-1],D=this.resume(),Y=this.stack[this.stack.length-1];if(this.data.inReference=!0,Y.type==="link"){let ee=A.children;Y.children=ee}else Y.alt=D}function y(){let A=this.resume(),D=this.stack[this.stack.length-1];D.url=A}function Ct(){let A=this.resume(),D=this.stack[this.stack.length-1];D.title=A}function pn(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function dt(A){let D=this.resume(),Y=this.stack[this.stack.length-1];Y.label=D,Y.identifier=Mn(this.sliceSerialize(A)).toLowerCase(),this.data.referenceType="full"}function vi(A){this.data.characterReferenceType=A.type}function Ts(A){let D=this.sliceSerialize(A),Y=this.data.characterReferenceType,ee;Y?(ee=Bu(D,Y==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ee=$r(D);let pe=this.stack[this.stack.length-1];pe.value+=ee}function Pa(A){let D=this.stack.pop();D.position.end=gi(A.end)}function Ge(A){R.call(this,A);let D=this.stack[this.stack.length-1];D.url=this.sliceSerialize(A)}function pl(A){R.call(this,A);let D=this.stack[this.stack.length-1];D.url="mailto:"+this.sliceSerialize(A)}function hn(){return{type:"blockquote",children:[]}}function Si(){return{type:"code",lang:null,meta:null,value:""}}function nr(){return{type:"inlineCode",value:""}}function ws(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function aE(){return{type:"emphasis",children:[]}}function td(){return{type:"heading",depth:0,children:[]}}function nd(){return{type:"break"}}function id(){return{type:"html",value:""}}function oE(){return{type:"image",title:null,url:"",alt:null}}function rd(){return{type:"link",title:null,url:"",children:[]}}function ld(A){return{type:"list",ordered:A.type==="listOrdered",start:null,spread:A._spread,children:[]}}function uE(A){return{type:"listItem",spread:A._spread,checked:null,children:[]}}function sE(){return{type:"paragraph",children:[]}}function cE(){return{type:"strong",children:[]}}function fE(){return{type:"text",value:""}}function pE(){return{type:"thematicBreak"}}}function gi(e){return{line:e.line,column:e.column,offset:e.offset}}function W1(e,t){let n=-1;for(;++n<t.length;){let i=t[n];Array.isArray(i)?W1(e,i):LA(e,i)}}function LA(e,t){let n;for(n in t)if(F1.call(t,n))switch(n){case"canContainEols":{let i=t[n];i&&e[n].push(...i);break}case"transforms":{let i=t[n];i&&e[n].push(...i);break}case"enter":case"exit":{let i=t[n];i&&Object.assign(e[n],i);break}}}function P1(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+pi({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+pi({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+pi({start:t.start,end:t.end})+") is still open")}var F1,$1=v(()=>{Kb();K1();Mp();J1();Hu();Lu();_p();F1={}.hasOwnProperty});var ex=v(()=>{$1()});function Wu(e){let t=this;t.parser=n;function n(i){return lh(i,rr(L(L({},t.data("settings")),e),{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}}var tx=v(()=>{ex()});var nx=v(()=>{tx()});function ix(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}var rx=v(()=>{""});function lx(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
13
+ `}]}var ax=v(()=>{""});function ox(e,t){let n=t.value?t.value+`
14
+ `:"",i={};t.lang&&(i.className=["language-"+t.lang]);let r={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(r.data={meta:t.meta}),e.patch(t,r),r=e.applyData(t,r),r={type:"element",tagName:"pre",properties:{},children:[r]},e.patch(t,r),r}var ux=v(()=>{""});function sx(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var cx=v(()=>{""});function fx(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var px=v(()=>{""});function hx(e,t){let n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),r=Yt(i.toLowerCase()),l=e.footnoteOrder.indexOf(i),a,o=e.footnoteCounts.get(i);o===void 0?(o=0,e.footnoteOrder.push(i),a=e.footnoteOrder.length):a=l+1,o+=1,e.footnoteCounts.set(i,o);let u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+r,id:n+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,u);let c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)}var dx=v(()=>{Zi()});function mx(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var gx=v(()=>{""});function yx(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}var bx=v(()=>{""});function $u(e,t){let n=t.referenceType,i="]";if(n==="collapsed"?i+="[]":n==="full"&&(i+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+i}];let r=e.all(t),l=r[0];l&&l.type==="text"?l.value="["+l.value:r.unshift({type:"text",value:"["});let a=r[r.length-1];return a&&a.type==="text"?a.value+=i:r.push({type:"text",value:i}),r}var ah=v(()=>{""});function xx(e,t){let n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return $u(e,t);let r={src:Yt(i.url||""),alt:t.alt};i.title!==null&&i.title!==void 0&&(r.title=i.title);let l={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,l),e.applyData(t,l)}var vx=v(()=>{Zi();ah()});function Sx(e,t){let n={src:Yt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let i={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,i),e.applyData(t,i)}var Ex=v(()=>{Zi()});function Tx(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let i={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,i),e.applyData(t,i)}var wx=v(()=>{""});function kx(e,t){let n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return $u(e,t);let r={href:Yt(i.url||"")};i.title!==null&&i.title!==void 0&&(r.title=i.title);let l={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}var Ax=v(()=>{Zi();ah()});function _x(e,t){let n={href:Yt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let i={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}var Cx=v(()=>{Zi()});function Ox(e,t,n){let i=e.all(t),r=n?BA(n):zx(t),l={},a=[];if(typeof t.checked=="boolean"){let s=i[0],h;s&&s.type==="element"&&s.tagName==="p"?h=s:(h={type:"element",tagName:"p",properties:{},children:[]},i.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let o=-1;for(;++o<i.length;){let s=i[o];(r||o!==0||s.type!=="element"||s.tagName!=="p")&&a.push({type:"text",value:`
15
+ `}),s.type==="element"&&s.tagName==="p"&&!r?a.push(...s.children):a.push(s)}let u=i[i.length-1];u&&(r||u.type!=="element"||u.tagName!=="p")&&a.push({type:"text",value:`
16
+ `});let c={type:"element",tagName:"li",properties:l,children:a};return e.patch(t,c),e.applyData(t,c)}function BA(e){let t=!1;if(e.type==="list"){t=e.spread||!1;let n=e.children,i=-1;for(;!t&&++i<n.length;)t=zx(n[i])}return t}function zx(e){let t=e.spread;return t==null?e.children.length>1:t}var Nx=v(()=>{""});function Rx(e,t){let n={},i=e.all(t),r=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++r<i.length;){let a=i[r];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(i,!0)};return e.patch(t,l),e.applyData(t,l)}var Dx=v(()=>{""});function Mx(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var Ux=v(()=>{""});function Lx(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}var Bx=v(()=>{""});function Hx(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var qx=v(()=>{""});function Yx(e,t){let n=e.all(t),i=n.shift(),r=[];if(i){let a={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(t.children[0],a),r.push(a)}if(n.length>0){let a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Wr(t.children[1]),u=Du(t.children[t.children.length-1]);o&&u&&(a.position={start:o,end:u}),r.push(a)}let l={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(t,l),e.applyData(t,l)}var jx=v(()=>{Mu()});function Vx(e,t,n){let i=n?n.children:void 0,l=(i?i.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length,u=-1,c=[];for(;++u<o;){let h=t.children[u],p={},f=a?a[u]:void 0;f&&(p.align=f);let w={type:"element",tagName:l,properties:p,children:[]};h&&(w.children=e.all(h),e.patch(h,w),w=e.applyData(h,w)),c.push(w)}let s={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,s),e.applyData(t,s)}var Xx=v(()=>{""});function Gx(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var Qx=v(()=>{""});function Kx(e){let t=String(e),n=/\r?\n|\r/g,i=n.exec(t),r=0,l=[];for(;i;)l.push(Zx(t.slice(r,i.index),r>0,!0),i[0]),r=i.index+i[0].length,i=n.exec(t);return l.push(Zx(t.slice(r),r>0,!1)),l.join("")}function Zx(e,t,n){let i=0,r=e.length;if(t){let l=e.codePointAt(i);for(;l===9||l===32;)i++,l=e.codePointAt(i)}if(n){let l=e.codePointAt(r-1);for(;l===9||l===32;)r--,l=e.codePointAt(r-1)}return r>i?e.slice(i,r):""}var Ix=v(()=>{});function Jx(e,t){let n={type:"text",value:Kx(String(t.value))};return e.patch(t,n),e.applyData(t,n)}var Px=v(()=>{Ix()});function Fx(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var Wx=v(()=>{""});function es(){}var $x,ev=v(()=>{rx();ax();ux();cx();px();dx();gx();bx();vx();Ex();wx();Ax();Cx();Nx();Dx();Ux();Bx();qx();jx();Xx();Qx();Px();Wx();$x={blockquote:ix,break:lx,code:ox,delete:sx,emphasis:fx,footnoteReference:hx,heading:mx,html:yx,imageReference:xx,image:Sx,inlineCode:Tx,linkReference:kx,link:_x,listItem:Ox,list:Rx,paragraph:Mx,root:Lx,strong:Hx,table:Yx,tableCell:Gx,tableRow:Vx,text:Jx,thematicBreak:Fx,toml:es,yaml:es,definition:es,footnoteDefinition:es}});var tv,jA,sh,av=v(()=>{tv=typeof self=="object"?self:globalThis,jA=(e,t)=>{let n=(r,l)=>(e.set(l,r),r),i=r=>{if(e.has(r))return e.get(r);let[l,a]=t[r];switch(l){case 0:case-1:return n(a,r);case 1:{let o=n([],r);for(let u of a)o.push(i(u));return o}case 2:{let o=n({},r);for(let[u,c]of a)o[i(u)]=i(c);return o}case 3:return n(new Date(a),r);case 4:{let{source:o,flags:u}=a;return n(new RegExp(o,u),r)}case 5:{let o=n(new Map,r);for(let[u,c]of a)o.set(i(u),i(c));return o}case 6:{let o=n(new Set,r);for(let u of a)o.add(i(u));return o}case 7:{let{name:o,message:u}=a;return n(new tv[o](u),r)}case 8:return n(BigInt(a),r);case"BigInt":return n(Object(BigInt(a)),r);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:o}=new Uint8Array(a);return n(new DataView(o),a)}}return n(new tv[l](a),r)};return i},sh=e=>jA(new Map,e)(0)});var tl,VA,XA,Da,ns,GA,ch,ov=v(()=>{tl="",{toString:VA}={},{keys:XA}=Object,Da=e=>{let t=typeof e;if(t!=="object"||!e)return[0,t];let n=VA.call(e).slice(8,-1);switch(n){case"Array":return[1,tl];case"Object":return[2,tl];case"Date":return[3,tl];case"RegExp":return[4,tl];case"Map":return[5,tl];case"Set":return[6,tl];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},ns=([e,t])=>e===0&&(t==="function"||t==="symbol"),GA=(e,t,n,i)=>{let r=(a,o)=>{let u=i.push(a)-1;return n.set(o,u),u},l=a=>{if(n.has(a))return n.get(a);let[o,u]=Da(a);switch(o){case 0:{let s=a;switch(u){case"bigint":o=8,s=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);s=null;break;case"undefined":return r([-1],a)}return r([o,s],a)}case 1:{if(u){let p=a;return u==="DataView"?p=new Uint8Array(a.buffer):u==="ArrayBuffer"&&(p=new Uint8Array(a)),r([u,[...p]],a)}let s=[],h=r([o,s],a);for(let p of a)s.push(l(p));return h}case 2:{if(u)switch(u){case"BigInt":return r([u,a.toString()],a);case"Boolean":case"Number":case"String":return r([u,a.valueOf()],a)}if(t&&"toJSON"in a)return l(a.toJSON());let s=[],h=r([o,s],a);for(let p of XA(a))(e||!ns(Da(a[p])))&&s.push([l(p),l(a[p])]);return h}case 3:return r([o,a.toISOString()],a);case 4:{let{source:s,flags:h}=a;return r([o,{source:s,flags:h}],a)}case 5:{let s=[],h=r([o,s],a);for(let[p,f]of a)(e||!(ns(Da(p))||ns(Da(f))))&&s.push([l(p),l(f)]);return h}case 6:{let s=[],h=r([o,s],a);for(let p of a)(e||!ns(Da(p)))&&s.push(l(p));return h}}let{message:c}=a;return r([o,{name:u,message:c}],a)};return l},ch=(e,{json:t,lossy:n}={})=>{let i=[];return GA(!(t||n),!!t,new Map,i)(e),i}});var nl,fh=v(()=>{av();ov();nl=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?sh(ch(e,t)):structuredClone(e):(e,t)=>sh(ch(e,t))});function QA(e,t){let n=[{type:"text",value:"\u21A9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ZA(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function uv(e){let t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||QA,i=e.options.footnoteBackLabel||ZA,r=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[],u=-1;for(;++u<e.footnoteOrder.length;){let c=e.footnoteById.get(e.footnoteOrder[u]);if(!c)continue;let s=e.all(c),h=String(c.identifier).toUpperCase(),p=Yt(h.toLowerCase()),f=0,w=[],E=e.footnoteCounts.get(h);for(;E!==void 0&&++f<=E;){w.length>0&&w.push({type:"text",value:" "});let m=typeof n=="string"?n:n(u,f);typeof m=="string"&&(m={type:"text",value:m}),w.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(u,f),className:["data-footnote-backref"]},children:Array.isArray(m)?m:[m]})}let k=s[s.length-1];if(k&&k.type==="element"&&k.tagName==="p"){let m=k.children[k.children.length-1];m&&m.type==="text"?m.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...w)}else s.push(...w);let d={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(s,!0)};e.patch(c,d),o.push(d)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:rr(L({},nl(a)),{id:"footnote-label"}),children:[{type:"text",value:r}]},{type:"text",value:`
17
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
18
+ `}]}}var sv=v(()=>{fh();Zi()});function KA(e){let t=[],n=-1;for(;++n<e.length;)t[n]=is(e[n]);return rs(i);function i(...r){let l=-1;for(;++l<t.length;)if(t[l].apply(this,r))return!0;return!1}}function IA(e){let t=e;return rs(n);function n(i){let r=i,l;for(l in e)if(r[l]!==t[l])return!1;return!0}}function JA(e){return rs(t);function t(n){return n&&n.type===e}}function rs(e){return t;function t(n,i,r){return!!(FA(n)&&e.call(this,n,typeof i=="number"?i:void 0,r||void 0))}}function PA(){return!0}function FA(e){return e!==null&&typeof e=="object"&&"type"in e}var is,cv=v(()=>{is=(function(e){if(e==null)return PA;if(typeof e=="function")return rs(e);if(typeof e=="object")return Array.isArray(e)?KA(e):IA(e);if(typeof e=="string")return JA(e);throw new Error("Expected function, string, or object as test")})});var fv=v(()=>{cv()});function dh(e,t,n,i){let r;typeof t=="function"&&typeof n!="function"?(i=n,n=t):r=t;let l=is(r),a=i?-1:1;o(e,void 0,[])();function o(u,c,s){let h=u&&typeof u=="object"?u:{};if(typeof h.type=="string"){let f=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(u.type+(f?"<"+f+">":""))+")"})}return p;function p(){let f=pv,w,E,k;if((!t||l(u,c,s[s.length-1]||void 0))&&(f=WA(n(u,s)),f[0]===ls))return f;if("children"in u&&u.children){let d=u;if(d.children&&f[0]!==hh)for(E=(i?d.children.length:-1)+a,k=s.concat(d);E>-1&&E<d.children.length;){let m=d.children[E];if(w=o(m,E,k)(),w[0]===ls)return w;E=typeof w[1]=="number"?w[1]:E+a}}return f}}}function WA(e){return Array.isArray(e)?e:typeof e=="number"?[ph,e]:e==null?pv:[e]}var pv,ph,ls,hh,hv=v(()=>{fv();pv=[],ph=!0,ls=!1,hh="skip"});var dv=v(()=>{hv()});function Ma(e,t,n,i){let r,l,a;typeof t=="function"&&typeof n!="function"?(l=void 0,a=t,r=n):(l=t,a=n,r=i),dh(e,l,o,r);function o(u,c){let s=c[c.length-1],h=s?s.children.indexOf(u):void 0;return a(u,h,s)}}var mv=v(()=>{dv()});var mh=v(()=>{mv()});function yv(e,t){let n=t||$A,i=new Map,r=new Map,l=new Map,a=L(L({},$x),n.handlers),o={all:c,applyData:t_,definitionById:i,footnoteById:r,footnoteCounts:l,footnoteOrder:[],handlers:a,one:u,options:n,patch:e_,wrap:i_};return Ma(e,function(s){if(s.type==="definition"||s.type==="footnoteDefinition"){let h=s.type==="definition"?i:r,p=String(s.identifier).toUpperCase();h.has(p)||h.set(p,s)}}),o;function u(s,h){let p=s.type,f=o.handlers[p];if(gh.call(o.handlers,p)&&f)return f(o,s,h);if(o.options.passThrough&&o.options.passThrough.includes(p)){if("children"in s){let E=s,{children:k}=E,d=sd(E,["children"]),m=nl(d);return m.children=o.all(s),m}return nl(s)}return(o.options.unknownHandler||n_)(o,s,h)}function c(s){let h=[];if("children"in s){let p=s.children,f=-1;for(;++f<p.length;){let w=o.one(p[f],s);if(w){if(f&&p[f-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=gv(w.value)),!Array.isArray(w)&&w.type==="element")){let E=w.children[0];E&&E.type==="text"&&(E.value=gv(E.value))}Array.isArray(w)?h.push(...w):h.push(w)}}}return h}}function e_(e,t){e.position&&(t.position=kp(e))}function t_(e,t){let n=t;if(e&&e.data){let i=e.data.hName,r=e.data.hChildren,l=e.data.hProperties;if(typeof i=="string")if(n.type==="element")n.tagName=i;else{let a="children"in n?n.children:[n];n={type:"element",tagName:i,properties:{},children:a}}n.type==="element"&&l&&Object.assign(n.properties,nl(l)),"children"in n&&n.children&&r!==null&&r!==void 0&&(n.children=r)}return n}function n_(e,t){let n=t.data||{},i="value"in t&&!(gh.call(n,"hProperties")||gh.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function i_(e,t){let n=[],i=-1;for(t&&n.push({type:"text",value:`
19
+ `});++i<e.length;)i&&n.push({type:"text",value:`
20
+ `}),n.push(e[i]);return t&&e.length>0&&n.push({type:"text",value:`
21
+ `}),n}function gv(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}var gh,$A,bv=v(()=>{fh();mh();Mu();ev();gh={}.hasOwnProperty,$A={}});function as(e,t){let n=yv(e,t),i=n.one(e,void 0),r=uv(n),l=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return r&&("children"in l,l.children.push({type:"text",value:`
22
+ `},r)),l}var xv=v(()=>{sv();bv()});var vv=v(()=>{xv()});function os(e,t){return e&&"run"in e?function(n,i){return I(this,null,function*(){let r=as(n,L({file:i},t));yield e.run(r,i)})}:function(n,i){return as(n,L({file:i},e||t))}}var Sv=v(()=>{vv()});var Ev=v(()=>{Sv()});function yh(e){if(e)throw e}var Tv=v(()=>{});var Rv=Fe((ZR,Nv)=>{"use strict";var us=Object.prototype.hasOwnProperty,zv=Object.prototype.toString,wv=Object.defineProperty,kv=Object.getOwnPropertyDescriptor,Av=function(t){return typeof Array.isArray=="function"?Array.isArray(t):zv.call(t)==="[object Array]"},_v=function(t){if(!t||zv.call(t)!=="[object Object]")return!1;var n=us.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&us.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!i)return!1;var r;for(r in t);return typeof r=="undefined"||us.call(t,r)},Cv=function(t,n){wv&&n.name==="__proto__"?wv(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Ov=function(t,n){if(n==="__proto__")if(us.call(t,n)){if(kv)return kv(t,n).value}else return;return t[n]};Nv.exports=function e(){var t,n,i,r,l,a,o=arguments[0],u=1,c=arguments.length,s=!1;for(typeof o=="boolean"&&(s=o,o=arguments[1]||{},u=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});u<c;++u)if(t=arguments[u],t!=null)for(n in t)i=Ov(o,n),r=Ov(t,n),o!==r&&(s&&r&&(_v(r)||(l=Av(r)))?(l?(l=!1,a=i&&Av(i)?i:[]):a=i&&_v(i)?i:{},Cv(o,{name:n,newValue:e(s,a,r)})):typeof r!="undefined"&&Cv(o,{name:n,newValue:r}));return o}});function Ua(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var Dv=v(()=>{});function bh(){let e=[],t={run:n,use:i};return t;function n(...r){let l=-1,a=r.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...r);function o(u,...c){let s=e[++l],h=-1;if(u){a(u);return}for(;++h<r.length;)(c[h]===null||c[h]===void 0)&&(c[h]=r[h]);r=c,s?Mv(s,o)(...c):a(null,...c)}}function i(r){if(typeof r!="function")throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}}function Mv(e,t){let n;return i;function i(...a){let o=e.length>a.length,u;o&&a.push(r);try{u=e.apply(this,a)}catch(c){let s=c;if(o&&n)throw s;return r(s)}o||(u&&u.then&&typeof u.then=="function"?u.then(l,r):u instanceof Error?r(u):l(u))}function r(a,...o){n||(n=!0,t(a,...o))}function l(a){r(null,a)}}var Uv=v(()=>{});var Lv=v(()=>{Uv()});function r_(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');La(e);let n=0,i=-1,r=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;r--;)if(e.codePointAt(r)===47){if(l){n=r+1;break}}else i<0&&(l=!0,i=r+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,o=t.length-1;for(;r--;)if(e.codePointAt(r)===47){if(l){n=r+1;break}}else a<0&&(l=!0,a=r+1),o>-1&&(e.codePointAt(r)===t.codePointAt(o--)?o<0&&(i=r):(o=-1,i=a));return n===i?i=a:i<0&&(i=e.length),e.slice(n,i)}function l_(e){if(La(e),e.length===0)return".";let t=-1,n=e.length,i;for(;--n;)if(e.codePointAt(n)===47){if(i){t=n;break}}else i||(i=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function a_(e){La(e);let t=e.length,n=-1,i=0,r=-1,l=0,a;for(;t--;){let o=e.codePointAt(t);if(o===47){if(a){i=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?r<0?r=t:l!==1&&(l=1):r>-1&&(l=-1)}return r<0||n<0||l===0||l===1&&r===n-1&&r===i+1?"":e.slice(r,n)}function o_(...e){let t=-1,n;for(;++t<e.length;)La(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":u_(n)}function u_(e){La(e);let t=e.codePointAt(0)===47,n=s_(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function s_(e,t){let n="",i=0,r=-1,l=0,a=-1,o,u;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(r===a-1||l===1))if(r!==a-1&&l===2){if(n.length<2||i!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",i=0):(n=n.slice(0,u),i=n.length-1-n.lastIndexOf("/")),r=a,l=0;continue}}else if(n.length>0){n="",i=0,r=a,l=0;continue}}t&&(n=n.length>0?n+"/..":"..",i=2)}else n.length>0?n+="/"+e.slice(r+1,a):n=e.slice(r+1,a),i=a-r-1;r=a,l=0}else o===46&&l>-1?l++:l=-1}return n}function La(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var Kt,Bv=v(()=>{Kt={basename:r_,dirname:l_,extname:a_,join:o_,sep:"/"}});function c_(){return"/"}var Hv,qv=v(()=>{Hv={cwd:c_}});function il(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}var xh=v(()=>{});function Yv(e){if(typeof e=="string")e=new URL(e);else if(!il(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return f_(e)}function f_(e){if(e.hostname!==""){let i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let i=t.codePointAt(n+2);if(i===70||i===102){let r=new TypeError("File URL path must not include encoded / characters");throw r.code="ERR_INVALID_FILE_URL_PATH",r}}return decodeURIComponent(t)}var jv=v(()=>{xh();xh()});function Sh(e,t){if(e&&e.includes(Kt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Kt.sep+"`")}function Eh(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Vv(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function p_(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var vh,Pi,Xv=v(()=>{Cp();Bv();qv();jv();vh=["history","path","basename","stem","extname","dirname"],Pi=class{constructor(t){let n;t?il(t)?n={path:t}:typeof t=="string"||p_(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Hv.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<vh.length;){let l=vh[i];l in n&&n[l]!==void 0&&n[l]!==null&&(this[l]=l==="history"?[...n[l]]:n[l])}let r;for(r in n)vh.includes(r)||(this[r]=n[r])}get basename(){return typeof this.path=="string"?Kt.basename(this.path):void 0}set basename(t){Eh(t,"basename"),Sh(t,"basename"),this.path=Kt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Kt.dirname(this.path):void 0}set dirname(t){Vv(this.basename,"dirname"),this.path=Kt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Kt.extname(this.path):void 0}set extname(t){if(Sh(t,"extname"),Vv(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Kt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){il(t)&&(t=Yv(t)),Eh(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Kt.basename(this.path,this.extname):void 0}set stem(t){Eh(t,"stem"),Sh(t,"stem"),this.path=Kt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,i){let r=this.message(t,n,i);throw r.fatal=!0,r}info(t,n,i){let r=this.message(t,n,i);return r.fatal=void 0,r}message(t,n,i){let r=new Ce(t,n,i);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}});var Th=v(()=>{Xv()});var Gv,Qv=v(()=>{Gv=(function(e){let i=this.constructor.prototype,r=i[e],l=function(){return r.apply(l,arguments)};return Object.setPrototypeOf(l,i),l})});function wh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function kh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ah(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Zv(e){if(!Ua(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Kv(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ss(e){return d_(e)?e:new Pi(e)}function d_(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function m_(e){return typeof e=="string"||g_(e)}function g_(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var cs,h_,_h,Ch,Iv=v(()=>{Tv();cs=ue(Rv(),1);Dv();Lv();Th();Qv();h_={}.hasOwnProperty,_h=class e extends Gv{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=bh()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let i=this.attachers[n];t.use(...i)}return t.data((0,cs.default)(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Ah("data",this.frozen),this.namespace[t]=n,this):h_.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Ah("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[n,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);let r=n.call(t,...i);typeof r=="function"&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let n=ss(t),i=this.parser||this.Parser;return wh("parse",i),i(String(n),n)}process(t,n){let i=this;return this.freeze(),wh("process",this.parser||this.Parser),kh("process",this.compiler||this.Compiler),n?r(void 0,n):new Promise(r);function r(l,a){let o=ss(t),u=i.parse(o);i.run(u,o,function(s,h,p){if(s||!h||!p)return c(s);let f=h,w=i.stringify(f,p);m_(w)?p.value=w:p.result=w,c(s,p)});function c(s,h){s||!h?a(s):l?l(h):n(void 0,h)}}}processSync(t){let n=!1,i;return this.freeze(),wh("processSync",this.parser||this.Parser),kh("processSync",this.compiler||this.Compiler),this.process(t,r),Kv("processSync","process",n),i;function r(l,a){n=!0,yh(l),i=a}}run(t,n,i){Zv(t),this.freeze();let r=this.transformers;return!i&&typeof n=="function"&&(i=n,n=void 0),i?l(void 0,i):new Promise(l);function l(a,o){let u=ss(n);r.run(t,u,c);function c(s,h,p){let f=h||t;s?o(s):a?a(f):i(void 0,f,p)}}}runSync(t,n){let i=!1,r;return this.run(t,n,l),Kv("runSync","run",i),r;function l(a,o){yh(a),r=o,i=!0}}stringify(t,n){this.freeze();let i=ss(n),r=this.compiler||this.Compiler;return kh("stringify",r),Zv(t),r(t,i)}use(t,...n){let i=this.attachers,r=this.namespace;if(Ah("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[s,...h]=c;u(s,h)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))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");o(c.plugins),c.settings&&(r.settings=(0,cs.default)(!0,r.settings,c.settings))}function o(c){let s=-1;if(c!=null)if(Array.isArray(c))for(;++s<c.length;){let h=c[s];l(h)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,s){let h=-1,p=-1;for(;++h<i.length;)if(i[h][0]===c){p=h;break}if(p===-1)i.push([c,...s]);else if(s.length>0){let[f,...w]=s,E=i[p][1];Ua(E)&&Ua(f)&&(f=(0,cs.default)(!0,E,f)),i[p]=[c,f,...w]}}}},Ch=new _h().freeze()});var Jv=v(()=>{Iv()});function Oh(e){let t=v_(e),n=S_(e);return E_(t.runSync(t.parse(n),n),e)}function v_(e){let t=e.rehypePlugins||Pv,n=e.remarkPlugins||Pv,i=e.remarkRehypeOptions?L(L({},e.remarkRehypeOptions),Fv):Fv;return Ch().use(Wu).use(n).use(os,i).use(t)}function S_(e){let t=e.children||"",n=new Pi;return typeof t=="string"?n.value=t:(""+t,void 0),n}function E_(e,t){let n=t.allowedElements,i=t.allowElement,r=t.components,l=t.disallowedElements,a=t.skipHtml,o=t.unwrapDisallowed,u=t.urlTransform||$v;for(let s of x_)Object.hasOwn(t,s.from)&&(""+s.from+(s.to?"use `"+s.to+"` instead":"remove it")+y_+s.id,void 0);return n&&l&&void 0,Ma(e,c),zp(e,{Fragment:rl.Fragment,components:r,ignoreInvalidStyle:!0,jsx:rl.jsx,jsxs:rl.jsxs,passKeys:!0,passNode:!0});function c(s,h,p){if(s.type==="raw"&&p&&typeof h=="number")return a?p.children.splice(h,1):p.children[h]={type:"text",value:s.value},h;if(s.type==="element"){let f;for(f in Aa)if(Object.hasOwn(Aa,f)&&Object.hasOwn(s.properties,f)){let w=s.properties[f],E=Aa[f];(E===null||E.includes(s.tagName))&&(s.properties[f]=u(String(w||""),f,s))}}if(s.type==="element"){let f=n?!n.includes(s.tagName):l?l.includes(s.tagName):!1;if(!f&&i&&typeof h=="number"&&(f=!i(s,h,p)),f&&p&&typeof h=="number")return o&&s.children?p.children.splice(h,1,...s.children):p.children.splice(h,1),h}}}function $v(e){let t=e.indexOf(":"),n=e.indexOf("?"),i=e.indexOf("#"),r=e.indexOf("/");return t===-1||r!==-1&&t>r||n!==-1&&t>n||i!==-1&&t>i||b_.test(e.slice(0,t))?e:""}var rl,Wv,y_,Pv,Fv,b_,x_,eS=v(()=>{Hb();Yb();rl=ue(je(),1),Wv=ue(Xt(),1);nx();Ev();Jv();mh();Th();y_="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Pv=[],Fv={allowDangerousHtml:!0},b_=/^(https?|ircs?|mailto|xmpp)$/i,x_=[{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"}]});var tS=v(()=>{eS()});var zh,nt,ll=v(()=>{"use strict";zh=class{constructor(t=""){this.baseUrl=t}sendChatMessage(t,n,i,r,l,a){return I(this,null,function*(){try{let o=L({messages:[{type:"text",text:t}],navigate:!0,skillOverride:[{skillId:i,sandboxId:r}]},a&&{personaOverride:a}),u=yield fetch(`https://api.lua.dev/chat/generate/${n}?channel=dev`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:l},body:JSON.stringify(o)});if(!u.ok)throw new Error(`HTTP error! status: ${u.status}`);return{success:!0,text:(yield u.json()).text||"No response received"}}catch(o){return console.error("Chat API error:",o),{success:!1,error:o instanceof Error?o.message:"Unknown error occurred"}}})}sendLocalChatMessage(t,n){return I(this,null,function*(){try{let i=yield fetch("/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:t,persona:n})});if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);return yield i.json()}catch(i){return console.error("Local chat API error:",i),{success:!1,error:i instanceof Error?i.message:"Unknown error occurred"}}})}loadPersona(){return I(this,null,function*(){try{let t=yield fetch("/persona");if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return yield t.json()}catch(t){return console.error("Load persona error:",t),{success:!1,error:t instanceof Error?t.message:"Failed to load persona"}}})}savePersona(t){return I(this,null,function*(){try{let n=yield fetch("/persona",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({persona:t})});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return yield n.json()}catch(n){return console.error("Save persona error:",n),{success:!1,error:n instanceof Error?n.message:"Failed to save persona"}}})}loadTools(){return I(this,null,function*(){try{let t=yield fetch("/tools");if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return yield t.json()}catch(t){return console.error("Load tools error:",t),{success:!1,error:t instanceof Error?t.message:"Failed to load tools"}}})}testTool(t,n,i,r,l,a){return I(this,null,function*(){try{let o={toolName:t,inputs:n,skillOverride:[{skillId:r,sandboxId:l}]},u=yield fetch(`https://api.lua.dev/tools/test/${i}`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:a},body:JSON.stringify(o)});if(!u.ok)throw new Error(`HTTP error! status: ${u.status}`);let c=yield u.json();return{success:!0,result:c.result||c}}catch(o){return console.error("Tool test error:",o),{success:!1,error:o instanceof Error?o.message:"Unknown error occurred"}}})}testLocalTool(t,n){return I(this,null,function*(){try{let i=yield fetch("/tools/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({toolName:t,inputs:n})});if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);return yield i.json()}catch(i){return console.error("Local tool test error:",i),{success:!1,error:i instanceof Error?i.message:"Unknown error occurred"}}})}loadChatHistory(t,n){return I(this,null,function*(){try{console.log("ApiService: Loading chat history with API key:",t,"agentId:",n);let i=yield fetch(`https://api.lua.dev/chat/history/${n}`,{method:"GET",headers:{accept:"*/*",Authorization:`Bearer ${t}`}});if(console.log("ApiService: Response status:",i.status),console.log("ApiService: Response headers:",i.headers),!i.ok){let l=yield i.text();throw console.error("ApiService: HTTP error response:",l),new Error(`HTTP error! status: ${i.status}`)}let r=yield i.json();return console.log("ApiService: Received data:",r),{success:!0,data:r}}catch(i){return console.error("ApiService: Chat history load error:",i),{success:!1,error:i instanceof Error?i.message:"Unknown error occurred"}}})}clearChatHistory(t,n){return I(this,null,function*(){try{console.log("ApiService: Clearing chat history with API key:",t,"agentId:",n);let i=yield fetch(`https://api.lua.dev/chat/history/${n}`,{method:"DELETE",headers:{accept:"*/*",Authorization:`Bearer ${t}`}});if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);return{success:!0}}catch(i){return console.error("Clear chat history error:",i),{success:!1,error:i instanceof Error?i.message:"Unknown error occurred"}}})}clearSandboxLogs(t,n,i){return I(this,null,function*(){try{console.log("ApiService: Clearing sandbox logs with API key:",t,"agentId:",n,"sandboxId:",i);let r=yield fetch(`http://localhost:3022/developer/skills/${n}/${i}/logs`,{method:"DELETE",headers:{accept:"application/json",Authorization:`Bearer ${t}`}});if(console.log("ApiService: Clear logs response status:",r.status),!r.ok){let a=yield r.text();throw console.error("ApiService: HTTP error response:",a),new Error(`HTTP error! status: ${r.status}`)}let l=yield r.json();return console.log("ApiService: Clear logs response:",l),{success:!0,data:l}}catch(r){return console.error("ApiService: Clear sandbox logs error:",r),{success:!1,error:r instanceof Error?r.message:"Unknown error occurred"}}})}loadSandboxLogs(t,n,i,r=20){return I(this,null,function*(){try{console.log("ApiService: Loading sandbox logs with API key:",t,"agentId:",n,"sandboxId:",i);let l=yield fetch(`http://localhost:3022/developer/skills/${n}/${i}/logs?limit=${r}`,{method:"GET",headers:{accept:"application/json",Authorization:`Bearer ${t}`}});if(console.log("ApiService: Logs response status:",l.status),!l.ok){let o=yield l.text();throw console.error("ApiService: HTTP error response:",o),new Error(`HTTP error! status: ${l.status}`)}let a=yield l.json();return console.log("ApiService: Received logs data:",a),{success:!0,data:a}}catch(l){return console.error("ApiService: Sandbox logs load error:",l),{success:!1,error:l instanceof Error?l.message:"Unknown error occurred"}}})}loadUserData(t,n){return I(this,null,function*(){try{console.log("ApiService: Loading user data with API key:",t,"agentId:",n),console.log("ApiService: API key length:",t==null?void 0:t.length),console.log("ApiService: API key starts with:",t==null?void 0:t.substring(0,10));let i=yield fetch(`http://localhost:3022/developer/user/data/agent/${n}`,{method:"GET",headers:{accept:"*/*",Authorization:`Bearer ${t}`}});if(console.log("ApiService: User data response status:",i.status),console.log("ApiService: Response headers:",Object.fromEntries(i.headers.entries())),!i.ok){let l=yield i.text();if(console.error("ApiService: HTTP error response:",l),i.status===401){console.log("ApiService: Trying alternative authentication method...");let a=yield fetch(`http://localhost:3022/developer/user/data/agent/${n}`,{method:"GET",headers:{accept:"*/*",Authorization:t}});if(a.ok){let o=yield a.json();return console.log("ApiService: Alternative auth successful:",o),{success:!0,data:o}}}throw new Error(`HTTP error! status: ${i.status}`)}let r=yield i.json();return console.log("ApiService: Received user data:",r),{success:!0,data:r}}catch(i){return console.error("ApiService: User data load error:",i),{success:!1,error:i instanceof Error?i.message:"Unknown error occurred"}}})}updateUserData(t,n,i){return I(this,null,function*(){try{console.log("ApiService: Updating user data with API key:",t,"agentId:",n,"data:",i);let r=yield fetch(`http://localhost:3022/developer/user/data/agent/${n}`,{method:"PUT",headers:{accept:"*/*",Authorization:`Bearer ${t}`,"Content-Type":"application/json"},body:JSON.stringify(i)});if(console.log("ApiService: Update user data response status:",r.status),!r.ok){let a=yield r.text();throw console.error("ApiService: HTTP error response:",a),new Error(`HTTP error! status: ${r.status}`)}let l=yield r.json();return console.log("ApiService: Updated user data response:",l),{success:!0,data:l}}catch(r){return console.error("ApiService: Update user data error:",r),{success:!1,error:r instanceof Error?r.message:"Unknown error occurred"}}})}clearUserData(t,n){return I(this,null,function*(){try{console.log("ApiService: Clearing user data with API key:",t,"agentId:",n);let i=yield fetch(`http://localhost:3022/developer/user/data/agent/${n}`,{method:"DELETE",headers:{accept:"*/*",Authorization:`Bearer ${t}`}});if(console.log("ApiService: Clear user data response status:",i.status),!i.ok){let l=yield i.text();throw console.error("ApiService: HTTP error response:",l),new Error(`HTTP error! status: ${i.status}`)}let r=yield i.json();return console.log("ApiService: Clear user data response:",r),{success:!0,data:r}}catch(i){return console.error("ApiService: Clear user data error:",i),{success:!1,error:i instanceof Error?i.message:"Unknown error occurred"}}})}},nt=new zh});var un,Je,nS,iS=v(()=>{"use strict";un=ue(Xt());tS();ll();Je=ue(je()),nS=({apiKey:e,agentId:t,skillId:n,sandboxId:i,persona:r})=>{let[l,a]=(0,un.useState)([]),[o,u]=(0,un.useState)(""),[c,s]=(0,un.useState)(!1),[h,p]=(0,un.useState)(!0),f=(0,un.useRef)(null),w=()=>{var T;(T=f.current)==null||T.scrollIntoView({behavior:"smooth"})};(0,un.useEffect)(()=>{w()},[l]),(0,un.useEffect)(()=>{E()},[e]);let E=()=>I(null,null,function*(){try{console.log("Loading chat history with API key:",e,"agentId:",t),p(!0);let T=yield nt.loadChatHistory(e,t);if(console.log("Chat history response:",T),T.success&&T.data){let S=T.data.map(C=>{var N;return{text:((N=C.content[0])==null?void 0:N.text)||"",isUser:C.role==="user",timestamp:new Date(C.createdAt)}});console.log("Converted history messages:",S),a(S)}else console.log("No history data or error:",T.error),a([{text:"\u{1F44B} Welcome! Start chatting to test your Lua skill. Your messages will be sent to the sandbox environment.",isUser:!1,timestamp:new Date}])}catch(T){console.error("Failed to load chat history:",T),a([{text:"\u{1F44B} Welcome! Start chatting to test your Lua skill. Your messages will be sent to the sandbox environment.",isUser:!1,timestamp:new Date}])}finally{p(!1)}}),k=()=>I(null,null,function*(){try{console.log("Clearing chat history with API key:",e,"agentId:",t);let T=yield nt.clearChatHistory(e,t);T.success?a([{text:"\u{1F44B} Welcome! Start chatting to test your Lua skill. Your messages will be sent to the sandbox environment.",isUser:!1,timestamp:new Date}]):alert("Failed to clear chat history: "+(T.error||"Unknown error"))}catch(T){console.error("Failed to clear chat history:",T),alert("Failed to clear chat history")}}),d=(T,S)=>{let C={text:T,isUser:S,timestamp:new Date};a(N=>[...N,C])},m=T=>I(null,null,function*(){if(T.trim()){d(T,!0),u(""),s(!0);try{let S=yield nt.sendLocalChatMessage(T,r);S.success?d(S.text||"No response received",!1):d(`\u274C ${S.error||"Failed to send message"}`,!1)}catch(S){d(`\u274C Error: ${S instanceof Error?S.message:"Unknown error"}`,!1)}finally{s(!1)}}}),g=T=>{T.preventDefault(),m(o)},x=T=>{T.key==="Enter"&&!T.shiftKey&&(T.preventDefault(),m(o))};return(0,Je.jsxs)("div",{className:"chat-container",children:[(0,Je.jsxs)("div",{className:"chat-header",children:[(0,Je.jsx)("h1",{children:"Skill Dev Chat"}),(0,Je.jsx)("p",{children:"Test your sandbox skill in real-time"}),(0,Je.jsx)("button",{className:"clear-chat-button",onClick:k,disabled:h,children:"Clear Chat"})]}),(0,Je.jsxs)("div",{className:"chat-messages",children:[l.map((T,S)=>(0,Je.jsx)("div",{className:`message ${T.isUser?"user":"assistant"}`,children:(0,Je.jsx)("div",{className:"message-bubble",children:(0,Je.jsx)(Oh,{children:T.text})})},S)),c&&(0,Je.jsx)("div",{className:"loading",children:"\u{1F916} Agent is typing..."}),(0,Je.jsx)("div",{ref:f})]}),(0,Je.jsx)("div",{className:"chat-input-container",children:(0,Je.jsxs)("form",{className:"chat-input-form",onSubmit:g,children:[(0,Je.jsx)("input",{type:"text",className:"chat-input",value:o,onChange:T=>u(T.target.value),onKeyDown:x,placeholder:"Type your message...",disabled:c}),(0,Je.jsx)("button",{type:"submit",className:"send-button",disabled:c||!o.trim(),children:"Send"})]})})]})}});var It,Ba,Ha,fs=v(()=>{It=Object.create(null);It.open="0";It.close="1";It.ping="2";It.pong="3";It.message="4";It.upgrade="5";It.noop="6";Ba=Object.create(null);Object.keys(It).forEach(e=>{Ba[It[e]]=e});Ha={type:"error",data:"parser error"}});function lS(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function sS(e,t){if(aS&&e.data instanceof Blob)return e.data.arrayBuffer().then(lS).then(t);if(oS&&(e.data instanceof ArrayBuffer||uS(e.data)))return t(lS(e.data));qa(e,!1,n=>{Nh||(Nh=new TextEncoder),t(Nh.encode(n))})}var aS,oS,uS,qa,rS,Nh,cS=v(()=>{fs();aS=typeof Blob=="function"||typeof Blob!="undefined"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",oS=typeof ArrayBuffer=="function",uS=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,qa=({type:e,data:t},n,i)=>aS&&t instanceof Blob?n?i(t):rS(t,i):oS&&(t instanceof ArrayBuffer||uS(t))?n?i(t):rS(new Blob([t]),i):i(It[e]+(t||"")),rS=(e,t)=>{let n=new FileReader;return n.onload=function(){let i=n.result.split(",")[1];t("b"+(i||""))},n.readAsDataURL(e)}});var fS,Ya,pS,hS=v(()=>{fS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ya=typeof Uint8Array=="undefined"?[]:new Uint8Array(256);for(let e=0;e<fS.length;e++)Ya[fS.charCodeAt(e)]=e;pS=e=>{let t=e.length*.75,n=e.length,i,r=0,l,a,o,u;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);let c=new ArrayBuffer(t),s=new Uint8Array(c);for(i=0;i<n;i+=4)l=Ya[e.charCodeAt(i)],a=Ya[e.charCodeAt(i+1)],o=Ya[e.charCodeAt(i+2)],u=Ya[e.charCodeAt(i+3)],s[r++]=l<<2|a>>4,s[r++]=(a&15)<<4|o>>2,s[r++]=(o&3)<<6|u&63;return c}});var T_,ja,w_,dS,mS=v(()=>{fs();hS();T_=typeof ArrayBuffer=="function",ja=(e,t)=>{if(typeof e!="string")return{type:"message",data:dS(e,t)};let n=e.charAt(0);return n==="b"?{type:"message",data:w_(e.substring(1),t)}:Ba[n]?e.length>1?{type:Ba[n],data:e.substring(1)}:{type:Ba[n]}:Ha},w_=(e,t)=>{if(T_){let n=pS(e);return dS(n,t)}else return{base64:!0,data:e}},dS=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}}});function xS(){return new TransformStream({transform(e,t){sS(e,n=>{let i=n.length,r;if(i<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,i);else if(i<65536){r=new Uint8Array(3);let l=new DataView(r.buffer);l.setUint8(0,126),l.setUint16(1,i)}else{r=new Uint8Array(9);let l=new DataView(r.buffer);l.setUint8(0,127),l.setBigUint64(1,BigInt(i))}e.data&&typeof e.data!="string"&&(r[0]|=128),t.enqueue(r),t.enqueue(n)})}})}function ps(e){return e.reduce((t,n)=>t+n.length,0)}function hs(e,t){if(e[0].length===t)return e.shift();let n=new Uint8Array(t),i=0;for(let r=0;r<t;r++)n[r]=e[0][i++],i===e[0].length&&(e.shift(),i=0);return e.length&&i<e[0].length&&(e[0]=e[0].slice(i)),n}function vS(e,t){Rh||(Rh=new TextDecoder);let n=[],i=0,r=-1,l=!1;return new TransformStream({transform(a,o){for(n.push(a);;){if(i===0){if(ps(n)<1)break;let u=hs(n,1);l=(u[0]&128)===128,r=u[0]&127,r<126?i=3:r===126?i=1:i=2}else if(i===1){if(ps(n)<2)break;let u=hs(n,2);r=new DataView(u.buffer,u.byteOffset,u.length).getUint16(0),i=3}else if(i===2){if(ps(n)<8)break;let u=hs(n,8),c=new DataView(u.buffer,u.byteOffset,u.length),s=c.getUint32(0);if(s>Math.pow(2,21)-1){o.enqueue(Ha);break}r=s*Math.pow(2,32)+c.getUint32(4),i=3}else{if(ps(n)<r)break;let u=hs(n,r);o.enqueue(ja(l?u:Rh.decode(u),t)),i=0}if(r===0||r>e){o.enqueue(Ha);break}}}})}var gS,yS,bS,Rh,Dh,al=v(()=>{cS();mS();fs();gS="",yS=(e,t)=>{let n=e.length,i=new Array(n),r=0;e.forEach((l,a)=>{qa(l,!1,o=>{i[a]=o,++r===n&&t(i.join(gS))})})},bS=(e,t)=>{let n=e.split(gS),i=[];for(let r=0;r<n.length;r++){let l=ja(n[r],t);if(i.push(l),l.type==="error")break}return i};Dh=4});function me(e){if(e)return k_(e)}function k_(e){for(var t in me.prototype)e[t]=me.prototype[t];return e}var Fi=v(()=>{me.prototype.on=me.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};me.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};me.prototype.off=me.prototype.removeListener=me.prototype.removeAllListeners=me.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var i,r=0;r<n.length;r++)if(i=n[r],i===t||i.fn===t){n.splice(r,1);break}return n.length===0&&delete this._callbacks["$"+e],this};me.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(n){n=n.slice(0);for(var i=0,r=n.length;i<r;++i)n[i].apply(this,t)}return this};me.prototype.emitReserved=me.prototype.emit;me.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};me.prototype.hasListeners=function(e){return!!this.listeners(e).length}});var Un,ot,SS,Wi=v(()=>{Un=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),ot=typeof self!="undefined"?self:typeof window!="undefined"?window:Function("return this")(),SS="arraybuffer"});function ds(e,...t){return t.reduce((n,i)=>(e.hasOwnProperty(i)&&(n[i]=e[i]),n),{})}function Ln(e,t){t.useNativeTimers?(e.setTimeoutFn=A_.bind(ot),e.clearTimeoutFn=__.bind(ot)):(e.setTimeoutFn=ot.setTimeout.bind(ot),e.clearTimeoutFn=ot.clearTimeout.bind(ot))}function ES(e){return typeof e=="string"?O_(e):Math.ceil((e.byteLength||e.size)*C_)}function O_(e){let t=0,n=0;for(let i=0,r=e.length;i<r;i++)t=e.charCodeAt(i),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(i++,n+=4);return n}function ms(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}var A_,__,C_,$i=v(()=>{Wi();A_=ot.setTimeout,__=ot.clearTimeout;C_=1.33});function TS(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function wS(e){let t={},n=e.split("&");for(let i=0,r=n.length;i<r;i++){let l=n[i].split("=");t[decodeURIComponent(l[0])]=decodeURIComponent(l[1])}return t}var Mh=v(()=>{});var gs,Bn,Va=v(()=>{al();Fi();$i();Mh();gs=class extends Error{constructor(t,n,i){super(t),this.description=n,this.context=i,this.type="TransportError"}},Bn=class extends me{constructor(t){super(),this.writable=!1,Ln(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,i){return super.emitReserved("error",new gs(t,n,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){let n=ja(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){let t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){let n=TS(t);return n.length?"?"+n:""}}});var Xa,Uh=v(()=>{Va();$i();al();Xa=class extends Bn{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";let n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let i=0;this._polling&&(i++,this.once("pollComplete",function(){--i||n()})),this.writable||(i++,this.once("drain",function(){--i||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){let n=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};bS(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){let t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,yS(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=ms()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}});var kS,AS,_S=v(()=>{kS=!1;try{kS=typeof XMLHttpRequest!="undefined"&&"withCredentials"in new XMLHttpRequest}catch(e){}AS=kS});function z_(){}function CS(){for(let e in yi.requests)yi.requests.hasOwnProperty(e)&&yi.requests[e].abort()}function OS(e){let t=e.xdomain;try{if(typeof XMLHttpRequest!="undefined"&&(!t||AS))return new XMLHttpRequest}catch(n){}if(!t)try{return new ot[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(n){}}var Lh,yi,N_,bi,ys=v(()=>{Uh();Fi();$i();Wi();_S();Lh=class extends Xa{constructor(t){if(super(t),typeof location!="undefined"){let n=location.protocol==="https:",i=location.port;i||(i=n?"443":"80"),this.xd=typeof location!="undefined"&&t.hostname!==location.hostname||i!==t.port}}doWrite(t,n){let i=this.request({method:"POST",data:t});i.on("success",n),i.on("error",(r,l)=>{this.onError("xhr post error",r,l)})}doPoll(){let t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,i)=>{this.onError("xhr poll error",n,i)}),this.pollXhr=t}},yi=class e extends me{constructor(t,n,i){super(),this.createRequest=t,Ln(this,i),this._opts=i,this._method=i.method||"GET",this._uri=n,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var t;let n=ds(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;let i=this._xhr=this.createRequest(n);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let r in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(r)&&i.setRequestHeader(r,this._opts.extraHeaders[r])}}catch(r){}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(r){}try{i.setRequestHeader("Accept","*/*")}catch(r){}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var r;i.readyState===3&&((r=this._opts.cookieJar)===null||r===void 0||r.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(r){this.setTimeoutFn(()=>{this._onError(r)},0);return}typeof document!="undefined"&&(this._index=e.requestsCount++,e.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr=="undefined"||this._xhr===null)){if(this._xhr.onreadystatechange=z_,t)try{this._xhr.abort()}catch(n){}typeof document!="undefined"&&delete e.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}};yi.requestsCount=0;yi.requests={};if(typeof document!="undefined"){if(typeof attachEvent=="function")attachEvent("onunload",CS);else if(typeof addEventListener=="function"){let e="onpagehide"in ot?"pagehide":"unload";addEventListener(e,CS,!1)}}N_=(function(){let e=OS({xdomain:!1});return e&&e.responseType!==null})(),bi=class extends Lh{constructor(t){super(t);let n=t&&t.forceBase64;this.supportsBinary=N_&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new yi(OS,this.uri(),t)}}});var zS,Hh,Bh,xi,bs=v(()=>{Va();$i();al();Wi();zS=typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",Hh=class extends Bn{get name(){return"websocket"}doOpen(){let t=this.uri(),n=this.opts.protocols,i=zS?{}:ds(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,i)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){let i=t[n],r=n===t.length-1;qa(i,this.supportsBinary,l=>{try{this.doWrite(i,l)}catch(a){}r&&Un(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws!="undefined"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=ms()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}},Bh=ot.WebSocket||ot.MozWebSocket,xi=class extends Hh{createSocket(t,n,i){return zS?new Bh(t,n,i):n?new Bh(t,n):new Bh(t)}doWrite(t,n){this.ws.send(n)}}});var ol,qh=v(()=>{Va();Wi();al();ol=class extends Bn{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{let n=vS(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=t.readable.pipeThrough(n).getReader(),r=xS();r.readable.pipeTo(t.writable),this._writer=r.writable.getWriter();let l=()=>{i.read().then(({done:o,value:u})=>{o||(this.onPacket(u),l())}).catch(o=>{})};l();let a={type:"open"};this.query.sid&&(a.data=`{"sid":"${this.query.sid}"}`),this._writer.write(a).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){let i=t[n],r=n===t.length-1;this._writer.write(i).then(()=>{r&&Un(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}});var Yh,jh=v(()=>{ys();bs();qh();Yh={websocket:xi,webtransport:ol,polling:bi}});function ul(e){if(e.length>8e3)throw"URI too long";let t=e,n=e.indexOf("["),i=e.indexOf("]");n!=-1&&i!=-1&&(e=e.substring(0,n)+e.substring(n,i).replace(/:/g,";")+e.substring(i,e.length));let r=R_.exec(e||""),l={},a=14;for(;a--;)l[D_[a]]=r[a]||"";return n!=-1&&i!=-1&&(l.source=t,l.host=l.host.substring(1,l.host.length-1).replace(/;/g,":"),l.authority=l.authority.replace("[","").replace("]","").replace(/;/g,":"),l.ipv6uri=!0),l.pathNames=M_(l,l.path),l.queryKey=U_(l,l.query),l}function M_(e,t){let n=/\/{2,9}/g,i=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&i.splice(0,1),t.slice(-1)=="/"&&i.splice(i.length-1,1),i}function U_(e,t){let n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,r,l){r&&(n[r]=l)}),n}var R_,D_,Vh=v(()=>{R_=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,D_=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"]});var Xh,xs,er,vs,sl,Gh=v(()=>{jh();$i();Mh();Vh();Fi();al();Wi();Xh=typeof addEventListener=="function"&&typeof removeEventListener=="function",xs=[];Xh&&addEventListener("offline",()=>{xs.forEach(e=>e())},!1);er=class e extends me{constructor(t,n){if(super(),this.binaryType=SS,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){let i=ul(t);n.hostname=i.host,n.secure=i.protocol==="https"||i.protocol==="wss",n.port=i.port,i.query&&(n.query=i.query)}else n.host&&(n.hostname=ul(n.host).host);Ln(this,n),this.secure=n.secure!=null?n.secure:typeof location!="undefined"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location!="undefined"?location.hostname:"localhost"),this.port=n.port||(typeof location!="undefined"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(i=>{let r=i.prototype.name;this.transports.push(r),this._transportsByName[r]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=wS(this.opts.query)),Xh&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},xs.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let n=Object.assign({},this.opts.query);n.EIO=Dh,n.transport=t,this.id&&(n.sid=this.id);let i=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}let t=this.opts.rememberUpgrade&&e.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";let n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",e.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let i=0;i<this.writeBuffer.length;i++){let r=this.writeBuffer[i].data;if(r&&(n+=ES(r)),i>0&&n>this._maxPayload)return this.writeBuffer.slice(0,i);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Un(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,i){return this._sendPacket("message",t,n,i),this}send(t,n,i){return this._sendPacket("message",t,n,i),this}_sendPacket(t,n,i,r){if(typeof n=="function"&&(r=n,n=void 0),typeof i=="function"&&(r=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;let l={type:t,data:n,options:i};this.emitReserved("packetCreate",l),this.writeBuffer.push(l),r&&this.once("flush",r),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},i=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():t()}):this.upgrading?i():t()),this}_onError(t){if(e.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Xh&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let i=xs.indexOf(this._offlineEventListener);i!==-1&&xs.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}};er.protocol=Dh;vs=class extends er{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),i=!1;er.priorWebsocketSuccess=!1;let r=()=>{i||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!i)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;er.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(s(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{let p=new Error("probe error");p.transport=n.name,this.emitReserved("upgradeError",p)}}))};function l(){i||(i=!0,s(),n.close(),n=null)}let a=h=>{let p=new Error("probe error: "+h);p.transport=n.name,l(),this.emitReserved("upgradeError",p)};function o(){a("transport closed")}function u(){a("socket closed")}function c(h){n&&h.name!==n.name&&l()}let s=()=>{n.removeListener("open",r),n.removeListener("error",a),n.removeListener("close",o),this.off("close",u),this.off("upgrading",c)};n.once("open",r),n.once("error",a),n.once("close",o),this.once("close",u),this.once("upgrading",c),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{i||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){let n=[];for(let i=0;i<t.length;i++)~this.transports.indexOf(t[i])&&n.push(t[i]);return n}},sl=class extends vs{constructor(t,n={}){let i=typeof t=="object"?t:n;(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(r=>Yh[r]).filter(r=>!!r)),super(t,i)}}});var NS=v(()=>{Uh()});var GD,Ss=v(()=>{Gh();Gh();Va();jh();$i();Vh();Wi();NS();ys();ys();bs();bs();qh();GD=sl.protocol});function RS(e,t="",n){let i=e;n=n||typeof location!="undefined"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n!="undefined"?e=n.protocol+"//"+e:e="https://"+e),i=ul(e)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";let l=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+l+":"+i.port+t,i.href=i.protocol+"://"+l+(n&&n.port===i.port?"":":"+i.port),i}var DS=v(()=>{Ss()});function Qa(e){return B_&&(e instanceof ArrayBuffer||H_(e))||q_&&e instanceof Blob||Y_&&e instanceof File}function Ga(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,i=e.length;n<i;n++)if(Ga(e[n]))return!0;return!1}if(Qa(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Ga(e.toJSON(),!0);for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Ga(e[n]))return!0;return!1}var B_,H_,MS,q_,Y_,Qh=v(()=>{B_=typeof ArrayBuffer=="function",H_=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,MS=Object.prototype.toString,q_=typeof Blob=="function"||typeof Blob!="undefined"&&MS.call(Blob)==="[object BlobConstructor]",Y_=typeof File=="function"||typeof File!="undefined"&&MS.call(File)==="[object FileConstructor]"});function US(e){let t=[],n=e.data,i=e;return i.data=Zh(n,t),i.attachments=t.length,{packet:i,buffers:t}}function Zh(e,t){if(!e)return e;if(Qa(e)){let n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){let n=new Array(e.length);for(let i=0;i<e.length;i++)n[i]=Zh(e[i],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){let n={};for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=Zh(e[i],t));return n}return e}function LS(e,t){return e.data=Kh(e.data,t),delete e.attachments,e}function Kh(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Kh(e[n],t);else if(typeof e=="object")for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Kh(e[n],t));return e}var BS=v(()=>{Qh()});var Fh={};As(Fh,{Decoder:()=>Jh,Encoder:()=>Ih,PacketType:()=>F,protocol:()=>qS});function HS(e){return Object.prototype.toString.call(e)==="[object Object]"}var j_,qS,F,Ih,Jh,Ph,Es=v(()=>{Fi();BS();Qh();j_=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],qS=5;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(F||(F={}));Ih=class{constructor(t){this.replacer=t}encode(t){return(t.type===F.EVENT||t.type===F.ACK)&&Ga(t)?this.encodeAsBinary({type:t.type===F.EVENT?F.BINARY_EVENT:F.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===F.BINARY_EVENT||t.type===F.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){let n=US(t),i=this.encodeAsString(n.packet),r=n.buffers;return r.unshift(i),r}};Jh=class e extends me{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);let i=n.type===F.BINARY_EVENT;i||n.type===F.BINARY_ACK?(n.type=i?F.EVENT:F.ACK,this.reconstructor=new Ph(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Qa(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0,i={type:Number(t.charAt(0))};if(F[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===F.BINARY_EVENT||i.type===F.BINARY_ACK){let l=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);let a=t.substring(l,n);if(a!=Number(a)||t.charAt(n)!=="-")throw new Error("Illegal attachments");i.attachments=Number(a)}if(t.charAt(n+1)==="/"){let l=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););i.nsp=t.substring(l,n)}else i.nsp="/";let r=t.charAt(n+1);if(r!==""&&Number(r)==r){let l=n+1;for(;++n;){let a=t.charAt(n);if(a==null||Number(a)!=a){--n;break}if(n===t.length)break}i.id=Number(t.substring(l,n+1))}if(t.charAt(++n)){let l=this.tryParse(t.substr(n));if(e.isPayloadValid(i.type,l))i.data=l;else throw new Error("invalid payload")}return i}tryParse(t){try{return JSON.parse(t,this.reviver)}catch(n){return!1}}static isPayloadValid(t,n){switch(t){case F.CONNECT:return HS(n);case F.DISCONNECT:return n===void 0;case F.CONNECT_ERROR:return typeof n=="string"||HS(n);case F.EVENT:case F.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&j_.indexOf(n[0])===-1);case F.ACK:case F.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}},Ph=class{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){let n=LS(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}});function At(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var Wh=v(()=>{});var V_,cl,$h=v(()=>{Es();Wh();Fi();V_=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),cl=class extends me{constructor(t,n,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let t=this.io;this.subs=[At(t,"open",this.onopen.bind(this)),At(t,"packet",this.onpacket.bind(this)),At(t,"error",this.onerror.bind(this)),At(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var i,r,l;if(V_.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;let a={type:F.EVENT,data:n};if(a.options={},a.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){let s=this.ids++,h=n.pop();this._registerAckCallback(s,h),a.id=s}let o=(r=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||r===void 0?void 0:r.writable,u=this.connected&&!(!((l=this.io.engine)===null||l===void 0)&&l._hasPingExpired());return this.flags.volatile&&!o||(u?(this.notifyOutgoingListeners(a),this.packet(a)):this.sendBuffer.push(a)),this.flags={},this}_registerAckCallback(t,n){var i;let r=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(r===void 0){this.acks[t]=n;return}let l=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===t&&this.sendBuffer.splice(o,1);n.call(this,new Error("operation has timed out"))},r),a=(...o)=>{this.io.clearTimeoutFn(l),n.apply(this,o)};a.withError=!0,this.acks[t]=a}emitWithAck(t,...n){return new Promise((i,r)=>{let l=(a,o)=>a?r(a):i(o);l.withError=!0,n.push(l),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());let i={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((r,...l)=>i!==this._queue[0]?void 0:(r!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(r)):(this._queue.shift(),n&&n(null,...l)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;let n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:F.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(i=>String(i.id)===t)){let i=this.acks[t];delete this.acks[t],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case F.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case F.EVENT:case F.BINARY_EVENT:this.onevent(t);break;case F.ACK:case F.BINARY_ACK:this.onack(t);break;case F.DISCONNECT:this.ondisconnect();break;case F.CONNECT_ERROR:this.destroy();let i=new Error(t.data.message);i.data=t.data.data,this.emitReserved("connect_error",i);break}}onevent(t){let n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){let n=this._anyListeners.slice();for(let i of n)i.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){let n=this,i=!1;return function(...r){i||(i=!0,n.packet({type:F.ACK,id:t,data:r}))}}onack(t){let n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:F.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){let n=this._anyListeners;for(let i=0;i<n.length;i++)if(t===n[i])return n.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){let n=this._anyOutgoingListeners;for(let i=0;i<n.length;i++)if(t===n[i])return n.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){let n=this._anyOutgoingListeners.slice();for(let i of n)i.apply(this,t.data)}}}});function tr(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}var YS=v(()=>{tr.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-n:e+n}return Math.min(e,this.max)|0};tr.prototype.reset=function(){this.attempts=0};tr.prototype.setMin=function(e){this.ms=e};tr.prototype.setMax=function(e){this.max=e};tr.prototype.setJitter=function(e){this.jitter=e}});var fl,jS=v(()=>{Ss();$h();Es();Wh();YS();Fi();fl=class extends me{constructor(t,n){var i;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Ln(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((i=n.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new tr({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;let r=n.parser||Fh;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new sl(this.uri,this.opts);let n=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;let r=At(n,"open",function(){i.onopen(),t&&t()}),l=o=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",o),t?t(o):this.maybeReconnectOnOpen()},a=At(n,"error",l);if(this._timeout!==!1){let o=this._timeout,u=this.setTimeoutFn(()=>{r(),l(new Error("timeout")),n.close()},o);this.opts.autoUnref&&u.unref(),this.subs.push(()=>{this.clearTimeoutFn(u)})}return this.subs.push(r),this.subs.push(a),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let t=this.engine;this.subs.push(At(t,"ping",this.onping.bind(this)),At(t,"data",this.ondata.bind(this)),At(t,"error",this.onerror.bind(this)),At(t,"close",this.onclose.bind(this)),At(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Un(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let i=this.nsps[t];return i?this._autoConnect&&!i.active&&i.connect():(i=new cl(this,t,n),this.nsps[t]=i),i}_destroy(t){let n=Object.keys(this.nsps);for(let i of n)if(this.nsps[i].active)return;this._close()}_packet(t){let n=this.encoder.encode(t);for(let i=0;i<n.length;i++)this.engine.write(n[i],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let n=this.backoff.duration();this._reconnecting=!0;let i=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(r=>{r?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",r)):t.onreconnect()}))},n);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){let t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}});function Ka(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};let n=RS(e,t.path||"/socket.io"),i=n.source,r=n.id,l=n.path,a=Za[r]&&l in Za[r].nsps,o=t.forceNew||t["force new connection"]||t.multiplex===!1||a,u;return o?u=new fl(i,t):(Za[r]||(Za[r]=new fl(i,t)),u=Za[r]),n.query&&!t.query&&(t.query=n.queryKey),u.socket(n.path,t)}var Za,VS=v(()=>{DS();jS();$h();Es();Ss();Za={};Object.assign(Ka,{Manager:fl,Socket:cl,io:Ka,connect:Ka})});var _t,W,XS,GS=v(()=>{"use strict";_t=ue(Xt());VS();ll();W=ue(je()),XS=({apiKey:e,agentId:t,sandboxId:n})=>{let[i,r]=(0,_t.useState)([]),[l,a]=(0,_t.useState)(!1),[o,u]=(0,_t.useState)(new Set),[c,s]=(0,_t.useState)(!0),[h,p]=(0,_t.useState)(!1),f=(0,_t.useRef)(null),w=(0,_t.useRef)(null),E=()=>{var m;(m=f.current)==null||m.scrollIntoView({behavior:"smooth"})},k=m=>{u(g=>{let x=new Set(g);return x.has(m)?x.delete(m):x.add(m),x})},d=()=>I(null,null,function*(){try{console.log("Clearing logs with API key:",e,"agentId:",t,"sandboxId:",n),p(!0);let m=yield nt.clearSandboxLogs(e,t,n);console.log("Clear logs response:",m),m.success?(r([]),u(new Set),console.log("Logs cleared successfully")):(console.error("Failed to clear logs:",m.error),alert("Failed to clear logs: "+(m.error||"Unknown error")))}catch(m){console.error("Failed to clear logs:",m),alert("Failed to clear logs")}finally{p(!1)}});return(0,_t.useEffect)(()=>{E()},[i]),(0,_t.useEffect)(()=>{e&&t&&n&&I(null,null,function*(){try{console.log("Loading initial logs with API key:",e,"agentId:",t,"sandboxId:",n),s(!0);let g=yield nt.loadSandboxLogs(e,t,n,100);if(console.log("Initial logs response:",g),g.success&&g.data){let x=g.data.logs.map(T=>({_id:T._id,id:T.id,timestamp:new Date(T.timestamp).toLocaleTimeString(),type:T.type,subType:T.subType,message:T.message,duration:T.duration,error:T.error,metadata:T.metadata}));console.log("Converted initial logs:",x),r(x)}else console.log("No initial logs or error:",g.error)}catch(g){console.error("Failed to load initial logs:",g)}finally{s(!1)}})},[e,t,n]),(0,_t.useEffect)(()=>{let m=()=>{try{let x=Ka("wss://api.lua.dev/feed",{query:{apiKey:e,channel:"logs"}});x.on("connect",()=>{a(!0),g("\u{1F7E2} Connected to log feed","connected")}),x.on("disconnect",()=>{a(!1),g("\u{1F534} Disconnected from log feed","disconnected")}),x.on("log",T=>{let S="info",C="No message",N={},z="";if(T&&typeof T=="object"){let X=T.data||T;S=X.subType||"info",C=X.message||"No message",N=X.metadata||{},z=X.error||X.details||"",z&&typeof z=="object"&&(z=JSON.stringify(z,null,2))}else typeof T=="string"&&(C=T,S="info");let R={id:Date.now().toString(),timestamp:new Date().toLocaleTimeString(),type:"log",subType:S,message:C,metadata:N,error:z};r(X=>[...X,R])}),x.on("connect_error",T=>{g("\u{1F534} Connection failed","disconnected")}),w.current=x}catch(x){g("\u{1F534} Connection error","disconnected")}},g=(x,T)=>{let S=document.getElementById("logConnectionStatus");S&&(S.textContent=x,S.className=`log-connection-status ${T}`)};return m(),()=>{w.current&&w.current.disconnect()}},[e]),(0,W.jsxs)("div",{className:"log-messages",children:[(0,W.jsxs)("div",{className:"logs-header",children:[(0,W.jsxs)("div",{className:"logs-title",children:["Console Logs (",i.length,")"]}),(0,W.jsx)("button",{className:"clear-logs-button",onClick:d,disabled:h,children:h?"Clearing...":"Clear Logs"})]}),(0,W.jsxs)("div",{className:"log-content",children:[c?(0,W.jsxs)("div",{className:"no-logs",children:[(0,W.jsx)("div",{className:"no-logs-icon",children:"\u23F3"}),(0,W.jsx)("div",{className:"no-logs-text",children:"Loading logs..."}),(0,W.jsx)("div",{className:"no-logs-subtext",children:"Fetching recent logs from sandbox"})]}):i.length===0?(0,W.jsxs)("div",{className:"no-logs",children:[(0,W.jsx)("div",{className:"no-logs-icon",children:"\u{1F4CB}"}),(0,W.jsx)("div",{className:"no-logs-text",children:"No logs yet"}),(0,W.jsx)("div",{className:"no-logs-subtext",children:"Console logs will appear here when your skill runs"})]}):(0,W.jsx)(W.Fragment,{children:i.map(m=>{let g=o.has(m.id),x=m.metadata&&Object.keys(m.metadata).length>0,T=m.error&&m.error.trim()!=="",S=x||T;return(0,W.jsxs)("div",{className:`log-entry ${m.subType}`,children:[(0,W.jsxs)("div",{className:"log-main",onClick:()=>S&&k(m.id),children:[(0,W.jsxs)("span",{className:"log-timestamp",children:["[",m.timestamp,"]"]}),(0,W.jsxs)("span",{className:"log-type",children:["[",m.subType.toUpperCase(),"]"]}),(0,W.jsx)("span",{className:"log-message",children:m.message}),S&&(0,W.jsx)("span",{className:`expand-arrow ${g?"expanded":""}`,children:"\u25B6"})]}),g&&(0,W.jsxs)("div",{className:"log-details",children:[x&&(0,W.jsxs)("div",{className:"metadata",children:[(0,W.jsx)("div",{className:"metadata-label",children:"Metadata:"}),Object.entries(m.metadata).map(([C,N])=>(0,W.jsxs)("div",{className:"metadata-item",children:[(0,W.jsxs)("span",{className:"metadata-key",children:[C,":"]}),(0,W.jsx)("span",{className:"metadata-value",children:String(N)})]},C))]}),T&&(0,W.jsxs)("div",{className:"details",children:[(0,W.jsx)("div",{className:"details-label",children:"Details:"}),(0,W.jsx)("pre",{className:"details-content",children:m.error})]})]})]},m.id)})}),(0,W.jsx)("div",{ref:f})]}),(0,W.jsx)("div",{className:"log-footer-status",children:(0,W.jsx)("div",{id:"logConnectionStatus",className:"log-connection-status",children:"\u{1F7E1} Connecting..."})})]})}});var Ia,sn,QS,ZS=v(()=>{"use strict";Ia=ue(Xt()),sn=ue(je()),QS=({persona:e,onSavePersona:t})=>{let[n,i]=(0,Ia.useState)(e),[r,l]=(0,Ia.useState)(!1);return(0,Ia.useEffect)(()=>{i(e)},[e]),(0,sn.jsxs)("div",{className:"persona-section",children:[(0,sn.jsx)("div",{className:"persona-header",children:(0,sn.jsx)("h3",{children:"\u{1F916} Agent Persona"})}),(0,sn.jsx)("div",{className:"persona-content",children:(0,sn.jsxs)("div",{className:"persona-edit",children:[(0,sn.jsx)("textarea",{value:n,onChange:o=>i(o.target.value),placeholder:"Enter agent persona...",className:"persona-textarea"}),(0,sn.jsx)("div",{className:"persona-actions",children:(0,sn.jsx)("button",{className:"save-btn",onClick:()=>I(null,null,function*(){let o=n.trim();if(!o){alert("Persona cannot be empty");return}l(!0);try{(yield t(o))&&i(o)}finally{l(!1)}}),disabled:r,children:r?"Saving...":"Save"})})]})})]})}});var KS=v(()=>{});var cn,H,IS,JS=v(()=>{"use strict";cn=ue(Xt());ll();KS();H=ue(je()),IS=({apiKey:e,agentId:t,skillId:n,sandboxId:i})=>{let[r,l]=(0,cn.useState)([]),[a,o]=(0,cn.useState)(null),[u,c]=(0,cn.useState)({}),[s,h]=(0,cn.useState)(null),[p,f]=(0,cn.useState)(!1),[w,E]=(0,cn.useState)(!0),[k,d]=(0,cn.useState)(!1);(0,cn.useEffect)(()=>{m()},[]);let m=()=>I(null,null,function*(){try{E(!0);let R=yield(yield fetch("/tools")).json();R.success&&R.tools?l(R.tools):console.error("Failed to load tools:",R.error)}catch(z){console.error("Error loading tools:",z)}finally{E(!1)}}),g=z=>{let R={};z.inputSchema.properties&&Object.keys(z.inputSchema.properties).forEach(X=>{let $=z.inputSchema.properties[X];$.type==="number"?R[X]=0:$.type==="boolean"?R[X]=!1:R[X]=""}),c(R)},x=z=>{o(z),g(z),h(null),d(!0)},T=()=>{d(!1),o(null),h(null)},S=(z,R)=>{c(X=>rr(L({},X),{[z]:R}))},C=()=>I(null,null,function*(){if(a){f(!0),h(null);try{let z=yield nt.testLocalTool(a.name,u);h(z)}catch(z){h({success:!1,error:z instanceof Error?z.message:"Unknown error occurred"})}finally{f(!1)}}}),N=(z,R)=>{let X=u[z]||"",$=a==null?void 0:a.inputSchema.required.includes(z);switch(R.type){case"number":return(0,H.jsx)("input",{type:"number",value:X,onChange:U=>S(z,parseFloat(U.target.value)||0),placeholder:R.description||`Enter ${z}`,className:"tool-input",required:$});case"boolean":return(0,H.jsx)("input",{type:"checkbox",checked:X,onChange:U=>S(z,U.target.checked),className:"tool-checkbox"});case"string":default:return(0,H.jsx)("input",{type:"text",value:X,onChange:U=>S(z,U.target.value),placeholder:R.description||`Enter ${z}`,className:"tool-input",required:$})}};return w?(0,H.jsx)("div",{className:"tools-page",children:(0,H.jsxs)("div",{className:"tools-loading",children:[(0,H.jsx)("div",{className:"loading-spinner"}),(0,H.jsx)("p",{children:"Loading tools..."})]})}):(0,H.jsx)("div",{className:"tools-page",children:k&&a?(0,H.jsxs)("div",{className:"tool-form",children:[(0,H.jsxs)("div",{className:"tool-form-header",children:[(0,H.jsx)("button",{className:"back-button",onClick:T,children:"\u2190 Back to Tools"}),(0,H.jsx)("h3",{children:a.name})]}),(0,H.jsxs)("div",{className:"tool-form-content",children:[(0,H.jsx)("div",{className:"tool-info",children:(0,H.jsx)("p",{children:a.description})}),(0,H.jsxs)("div",{className:"tool-inputs",children:[(0,H.jsx)("h4",{children:"Input Parameters"}),Object.keys(a.inputSchema.properties||{}).length>0?(0,H.jsx)("div",{className:"input-fields",children:Object.entries(a.inputSchema.properties).map(([z,R])=>(0,H.jsxs)("div",{className:"input-field",children:[(0,H.jsxs)("label",{children:[z,a.inputSchema.required.includes(z)&&(0,H.jsx)("span",{className:"required",children:"*"})]}),N(z,R),R.description&&(0,H.jsx)("div",{className:"input-description",children:R.description})]},z))}):(0,H.jsx)("p",{className:"no-inputs",children:"This tool requires no input parameters."})]}),(0,H.jsx)("div",{className:"tool-actions",children:(0,H.jsx)("button",{onClick:C,disabled:p,className:"test-button",children:p?"Testing...":"Test Tool"})}),s&&(0,H.jsxs)("div",{className:"test-result",children:[(0,H.jsx)("h4",{children:"Test Result"}),(0,H.jsx)("div",{className:`result-content ${s.success?"success":"error"}`,children:s.success?(0,H.jsxs)("div",{children:[(0,H.jsx)("div",{className:"result-label",children:"\u2705 Success"}),(0,H.jsx)("pre",{className:"result-data",children:JSON.stringify(s.result,null,2)})]}):(0,H.jsxs)("div",{children:[(0,H.jsx)("div",{className:"result-label",children:"\u274C Error"}),(0,H.jsx)("div",{className:"result-error",children:s.error})]})})]})]})]}):(0,H.jsxs)("div",{className:"tools-list-view",children:[(0,H.jsxs)("div",{className:"tools-header",children:[(0,H.jsx)("h3",{children:"Available Tools"}),(0,H.jsx)("p",{children:"Click on a tool to test it"})]}),(0,H.jsx)("div",{className:"tools-grid",children:r.map(z=>(0,H.jsxs)("div",{className:"tool-card",onClick:()=>x(z),children:[(0,H.jsx)("div",{className:"tool-card-header",children:(0,H.jsx)("h4",{children:z.name})}),(0,H.jsxs)("div",{className:"tool-card-body",children:[(0,H.jsx)("p",{children:z.description}),(0,H.jsx)("div",{className:"tool-card-meta",children:(0,H.jsxs)("span",{className:"input-count",children:[Object.keys(z.inputSchema.properties||{}).length," input",Object.keys(z.inputSchema.properties||{}).length!==1?"s":""]})})]})]},z.name))})]})})}});var fn,fe,PS,FS=v(()=>{"use strict";fn=ue(Xt());ll();fe=ue(je()),PS=({apiKey:e,agentId:t})=>{let[n,i]=(0,fn.useState)(null),[r,l]=(0,fn.useState)(!0),[a,o]=(0,fn.useState)(!1),[u,c]=(0,fn.useState)(!1),[s,h]=(0,fn.useState)(""),[p,f]=(0,fn.useState)(null),[w,E]=(0,fn.useState)(null);(0,fn.useEffect)(()=>{k()},[e,t]);let k=()=>I(null,null,function*(){try{if(console.log("Loading user data with API key:",e,"agentId:",t),l(!0),f(null),!e||!t){console.error("Missing API key or agentId:",{apiKey:!!e,agentId:!!t}),f("Missing API key or agent ID"),h("{}");return}let x=yield nt.loadUserData(e,t);if(console.log("User data response:",x),x.success&&x.data){i(x.data);let T;x.data.data?T=x.data.data:T=x.data,h(JSON.stringify(T,null,2)),console.log("User data loaded successfully:",x.data),console.log("Data to display:",T)}else console.log("No user data or error:",x.error),f(x.error||"No user data found"),h("{}")}catch(x){console.error("Failed to load user data:",x),f(`Failed to load user data: ${x instanceof Error?x.message:"Unknown error"}`),h("{}")}finally{l(!1)}}),d=()=>I(null,null,function*(){try{console.log("Saving user data:",s),o(!0),f(null),E(null);let x=JSON.parse(s),T=yield nt.updateUserData(e,t,x);console.log("Save user data response:",T),T.success&&T.data?(i(T.data),E("User data saved successfully!"),setTimeout(()=>E(null),3e3)):f("Failed to save user data: "+(T.error||"Unknown error"))}catch(x){console.error("Failed to save user data:",x),x instanceof SyntaxError?f("Invalid JSON format. Please check your syntax."):f("Failed to save user data")}finally{o(!1)}}),m=()=>I(null,null,function*(){try{console.log("Clearing user data"),c(!0),f(null),E(null);let x=yield nt.clearUserData(e,t);console.log("Clear user data response:",x),x.success?(i(null),h("{}"),E("User data cleared successfully!"),setTimeout(()=>E(null),3e3)):f("Failed to clear user data: "+(x.error||"Unknown error"))}catch(x){console.error("Failed to clear user data:",x),f("Failed to clear user data")}finally{c(!1)}}),g=x=>{h(x),f(null),E(null)};return r?(0,fe.jsx)("div",{className:"user-data-panel",children:(0,fe.jsxs)("div",{className:"user-data-loading",children:[(0,fe.jsx)("div",{className:"loading-spinner"}),(0,fe.jsx)("p",{children:"Loading user data..."})]})}):(0,fe.jsxs)("div",{className:"user-data-panel",children:[(0,fe.jsxs)("div",{className:"user-data-header",children:[(0,fe.jsx)("h3",{children:"User Data"}),(0,fe.jsxs)("div",{className:"user-data-actions",children:[(0,fe.jsx)("button",{className:"refresh-button",onClick:k,disabled:r,children:r?"Loading...":"Refresh"}),(0,fe.jsx)("button",{className:"save-button",onClick:d,disabled:a,children:a?"Saving...":"Save"}),(0,fe.jsx)("button",{className:"clear-button",onClick:m,disabled:u,children:u?"Clearing...":"Clear"})]})]}),p&&(0,fe.jsxs)("div",{className:"error-message",children:["\u274C ",p]}),w&&(0,fe.jsxs)("div",{className:"success-message",children:["\u2705 ",w]}),(0,fe.jsx)("div",{className:"user-data-content",children:(0,fe.jsx)("div",{className:"json-editor",children:(0,fe.jsx)("textarea",{value:s,onChange:x=>g(x.target.value),placeholder:"Enter JSON data...",className:"json-textarea",spellCheck:!1})})}),n&&(0,fe.jsxs)("div",{className:"user-data-info",children:[(0,fe.jsxs)("div",{className:"info-item",children:[(0,fe.jsx)("span",{className:"info-label",children:"User ID:"}),(0,fe.jsx)("span",{className:"info-value",children:n.userId})]}),(0,fe.jsxs)("div",{className:"info-item",children:[(0,fe.jsx)("span",{className:"info-label",children:"Agent ID:"}),(0,fe.jsx)("span",{className:"info-value",children:n.agentId})]}),(0,fe.jsxs)("div",{className:"info-item",children:[(0,fe.jsx)("span",{className:"info-label",children:"Last Updated:"}),(0,fe.jsx)("span",{className:"info-value",children:new Date(n.updatedAt).toLocaleString()})]})]})]})}});var Pe,WS,$S=v(()=>{"use strict";GS();ZS();JS();FS();Pe=ue(je()),WS=({activeTab:e,onTabChange:t,persona:n,onSavePersona:i,apiKey:r,agentId:l,skillId:a,sandboxId:o,width:u})=>(0,Pe.jsxs)("div",{className:"log-container",style:{width:`${u}px`},children:[(0,Pe.jsx)("div",{className:"log-header",children:(0,Pe.jsxs)("div",{className:"tab-buttons",children:[(0,Pe.jsx)("button",{className:`tab-button ${e==="logs"?"active":""}`,onClick:()=>t("logs"),children:"Console"}),(0,Pe.jsx)("button",{className:`tab-button ${e==="persona"?"active":""}`,onClick:()=>t("persona"),children:"Persona"}),(0,Pe.jsx)("button",{className:`tab-button ${e==="tools"?"active":""}`,onClick:()=>t("tools"),children:"Tools"}),(0,Pe.jsx)("button",{className:`tab-button ${e==="userdata"?"active":""}`,onClick:()=>t("userdata"),children:"User Data"})]})}),(0,Pe.jsx)("div",{className:`tab-content ${e==="logs"?"active":""}`,children:(0,Pe.jsx)(XS,{apiKey:r,agentId:l,sandboxId:o})}),(0,Pe.jsx)("div",{className:`tab-content ${e==="persona"?"active":""}`,children:(0,Pe.jsx)(QS,{persona:n,onSavePersona:i})}),(0,Pe.jsx)("div",{className:`tab-content ${e==="tools"?"active":""}`,children:(0,Pe.jsx)(IS,{apiKey:r,agentId:l,skillId:a,sandboxId:o})}),(0,Pe.jsx)("div",{className:`tab-content ${e==="userdata"?"active":""}`,children:(0,Pe.jsx)(PS,{apiKey:r,agentId:l})})]})});var eE=v(()=>{});var Pt,Jt,tE,nE=v(()=>{"use strict";Pt=ue(Xt());iS();$S();ll();eE();Jt=ue(je()),tE=({apiKey:e,agentId:t,skillId:n,sandboxId:i})=>{let[r,l]=(0,Pt.useState)("logs"),[a,o]=(0,Pt.useState)(""),[u,c]=(0,Pt.useState)(400),s=(0,Pt.useRef)(!1),h=(0,Pt.useRef)(null);(0,Pt.useEffect)(()=>{p()},[]),(0,Pt.useEffect)(()=>{let w=d=>{d.target===h.current&&(s.current=!0,document.body.style.cursor="col-resize",document.body.style.userSelect="none")},E=d=>{if(s.current){let m=window.innerWidth,g=m-d.clientX,x=300,T=m-300;g>=x&&g<=T&&c(g)}},k=()=>{s.current&&(s.current=!1,document.body.style.cursor="",document.body.style.userSelect="")};return document.addEventListener("mousedown",w),document.addEventListener("mousemove",E),document.addEventListener("mouseup",k),()=>{document.removeEventListener("mousedown",w),document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",k)}},[]),(0,Pt.useEffect)(()=>{let E=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}`,k=new WebSocket(E);return k.onopen=()=>{console.log("\u{1F504} Connected to live reload WebSocket")},k.onmessage=d=>{try{let m=JSON.parse(d.data);m.type==="reload"&&(console.log("\u{1F504} Live reload triggered:",m.message),window.location.reload())}catch(m){console.error("\u{1F504} Error parsing WebSocket message:",m)}},k.onclose=()=>{console.log("\u{1F504} WebSocket connection closed")},k.onerror=d=>{console.error("\u{1F504} WebSocket error:",d)},()=>{k.close()}},[]);let p=()=>I(null,null,function*(){try{let w=yield nt.loadPersona();w.success&&w.persona&&o(w.persona)}catch(w){console.error("Failed to load persona:",w)}});return(0,Jt.jsxs)("div",{className:"main-container",children:[(0,Jt.jsx)("div",{className:"page-navigation",children:(0,Jt.jsxs)("div",{className:"nav-logo",children:[(0,Jt.jsx)("div",{className:"logo-icon"}),(0,Jt.jsx)("span",{className:"logo-text",children:" - Your Development Playground"})]})}),(0,Jt.jsxs)("div",{className:"main-content",children:[(0,Jt.jsx)(nS,{apiKey:e,agentId:t,skillId:n,sandboxId:i,persona:a}),(0,Jt.jsx)("div",{ref:h,className:"resize-handle"}),(0,Jt.jsx)(WS,{activeTab:r,onTabChange:l,persona:a,onSavePersona:w=>I(null,null,function*(){try{let E=yield nt.savePersona(w);return E.success?(o(w),!0):(alert("Failed to save persona: "+(E.error||"Unknown error")),!1)}catch(E){return console.error("Failed to save persona:",E),alert("Failed to save persona"),!1}}),apiKey:e,agentId:t,skillId:n,sandboxId:i,width:u})]})]})}});var G_=Fe(()=>{var iE=ue(Xt()),rE=ue(G0());nE();var ed=ue(je()),Ja=window.__LUA_CONFIG__;if(!Ja)throw new Error("Lua configuration not found");var lE=document.getElementById("root");if(!lE)throw new Error("Root container not found");var X_=(0,rE.createRoot)(lE);X_.render((0,ed.jsx)(iE.default.StrictMode,{children:(0,ed.jsx)(tE,{apiKey:Ja.apiKey,agentId:Ja.agentId,skillId:Ja.skillId,sandboxId:Ja.sandboxId})}))});return G_();})();
23
+ /*! Bundled license information:
24
+
25
+ react/cjs/react.production.js:
26
+ (**
27
+ * @license React
28
+ * react.production.js
29
+ *
30
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ *)
35
+
36
+ scheduler/cjs/scheduler.production.js:
37
+ (**
38
+ * @license React
39
+ * scheduler.production.js
40
+ *
41
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
42
+ *
43
+ * This source code is licensed under the MIT license found in the
44
+ * LICENSE file in the root directory of this source tree.
45
+ *)
46
+
47
+ react-dom/cjs/react-dom.production.js:
48
+ (**
49
+ * @license React
50
+ * react-dom.production.js
51
+ *
52
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE file in the root directory of this source tree.
56
+ *)
57
+
58
+ react-dom/cjs/react-dom-client.production.js:
59
+ (**
60
+ * @license React
61
+ * react-dom-client.production.js
62
+ *
63
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ *)
68
+
69
+ react/cjs/react-jsx-runtime.production.js:
70
+ (**
71
+ * @license React
72
+ * react-jsx-runtime.production.js
73
+ *
74
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
75
+ *
76
+ * This source code is licensed under the MIT license found in the
77
+ * LICENSE file in the root directory of this source tree.
78
+ *)
79
+ */