ghost-api-cli 0.2.0__py3-none-any.whl

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 (125) hide show
  1. ghost_api/__init__.py +3 -0
  2. ghost_api/__main__.py +5 -0
  3. ghost_api/adopt.py +173 -0
  4. ghost_api/agent/__init__.py +0 -0
  5. ghost_api/agent/orchestrator.py +413 -0
  6. ghost_api/agent/prompts.py +149 -0
  7. ghost_api/agent/tools.py +84 -0
  8. ghost_api/analysis/__init__.py +0 -0
  9. ghost_api/analysis/analyzer.py +130 -0
  10. ghost_api/analysis/detectors.py +188 -0
  11. ghost_api/analysis/exposure.py +80 -0
  12. ghost_api/analysis/graphql.py +67 -0
  13. ghost_api/analysis/models.py +64 -0
  14. ghost_api/analysis/schema.py +109 -0
  15. ghost_api/analysis/url_grouping.py +217 -0
  16. ghost_api/api.py +264 -0
  17. ghost_api/audit.py +78 -0
  18. ghost_api/browser/__init__.py +0 -0
  19. ghost_api/browser/auth_state.py +172 -0
  20. ghost_api/browser/driver.py +273 -0
  21. ghost_api/browser/egress.py +183 -0
  22. ghost_api/browser/gate.py +127 -0
  23. ghost_api/browser/install.py +28 -0
  24. ghost_api/browser/snapshot.py +221 -0
  25. ghost_api/capture/__init__.py +0 -0
  26. ghost_api/capture/filters.py +255 -0
  27. ghost_api/capture/har.py +148 -0
  28. ghost_api/capture/models.py +41 -0
  29. ghost_api/capture/personal.py +188 -0
  30. ghost_api/capture/recorder.py +181 -0
  31. ghost_api/cli/__init__.py +44 -0
  32. ghost_api/cli/_common.py +219 -0
  33. ghost_api/cli/client.py +487 -0
  34. ghost_api/cli/data.py +492 -0
  35. ghost_api/cli/explore.py +379 -0
  36. ghost_api/cli/manage.py +437 -0
  37. ghost_api/config.py +132 -0
  38. ghost_api/drift.py +344 -0
  39. ghost_api/drive.py +211 -0
  40. ghost_api/errors.py +106 -0
  41. ghost_api/events.py +213 -0
  42. ghost_api/exitcodes.py +21 -0
  43. ghost_api/export/__init__.py +71 -0
  44. ghost_api/export/confidence.py +45 -0
  45. ghost_api/export/html.py +41 -0
  46. ghost_api/export/openapi.py +201 -0
  47. ghost_api/export/report.py +227 -0
  48. ghost_api/export/site_data.py +196 -0
  49. ghost_api/export/tabular.py +88 -0
  50. ghost_api/export/viewer/report.html +286 -0
  51. ghost_api/generator/__init__.py +221 -0
  52. ghost_api/generator/cassettes.py +80 -0
  53. ghost_api/generator/models_gen.py +144 -0
  54. ghost_api/generator/naming.py +174 -0
  55. ghost_api/generator/package.py +197 -0
  56. ghost_api/generator/python_gen.py +172 -0
  57. ghost_api/generator/spec.py +486 -0
  58. ghost_api/generator/templates/client.py.j2 +518 -0
  59. ghost_api/generator/templates/client.test.ts.j2 +106 -0
  60. ghost_api/generator/templates/client.ts.j2 +339 -0
  61. ghost_api/generator/templates/models.py.j2 +45 -0
  62. ghost_api/generator/templates/package_readme.md.j2 +111 -0
  63. ghost_api/generator/templates/pyproject.toml.j2 +22 -0
  64. ghost_api/generator/templates/test_client.py.j2 +105 -0
  65. ghost_api/generator/ts_gen.py +232 -0
  66. ghost_api/integrations/__init__.py +0 -0
  67. ghost_api/integrations/claude_code/commands/ghost-data.md +10 -0
  68. ghost_api/integrations/claude_code/commands/ghost-diff.md +10 -0
  69. ghost_api/integrations/claude_code/commands/ghost-explore.md +10 -0
  70. ghost_api/integrations/claude_code/skills/ghost-api/SKILL.md +46 -0
  71. ghost_api/integrations/setup.py +84 -0
  72. ghost_api/llm/__init__.py +0 -0
  73. ghost_api/llm/doctor.py +60 -0
  74. ghost_api/llm/gateway.py +476 -0
  75. ghost_api/llm/providers.py +124 -0
  76. ghost_api/memory/__init__.py +0 -0
  77. ghost_api/memory/knowledge.py +157 -0
  78. ghost_api/memory/store.py +883 -0
  79. ghost_api/net.py +235 -0
  80. ghost_api/netguard.py +203 -0
  81. ghost_api/pipeline.py +745 -0
  82. ghost_api/probe/__init__.py +0 -0
  83. ghost_api/probe/prober.py +311 -0
  84. ghost_api/probe/replay.py +313 -0
  85. ghost_api/project.py +186 -0
  86. ghost_api/py.typed +0 -0
  87. ghost_api/runtime.py +397 -0
  88. ghost_api/serve/__init__.py +101 -0
  89. ghost_api/serve/explorer_mcp.py +305 -0
  90. ghost_api/serve/mcp.py +121 -0
  91. ghost_api/serve/mock.py +130 -0
  92. ghost_api/serve/rest.py +132 -0
  93. ghost_api/site.py +84 -0
  94. ghost_api/specdiff.py +122 -0
  95. ghost_api/ui/__init__.py +0 -0
  96. ghost_api/ui/keys.py +134 -0
  97. ghost_api/ui/repl.py +453 -0
  98. ghost_api/ui/terminal.py +573 -0
  99. ghost_api/verify/__init__.py +0 -0
  100. ghost_api/verify/classify.py +84 -0
  101. ghost_api/verify/repair.py +40 -0
  102. ghost_api/verify/runner.py +110 -0
  103. ghost_api/verify/verifier.py +291 -0
  104. ghost_api/watch.py +313 -0
  105. ghost_api/web/__init__.py +1 -0
  106. ghost_api/web/server.py +690 -0
  107. ghost_api/web/static/assets/Endpoints-zPnjlcM8.js +46 -0
  108. ghost_api/web/static/assets/Run-D85zWHey.js +91 -0
  109. ghost_api/web/static/assets/Settings-D0aWHFAt.js +11 -0
  110. ghost_api/web/static/assets/Site-a88shEmP.js +71 -0
  111. ghost_api/web/static/assets/Watches-CqZWIa9G.js +16 -0
  112. ghost_api/web/static/assets/circle-x-BcTE_1tr.js +11 -0
  113. ghost_api/web/static/assets/index-Ds2e5B9f.js +141 -0
  114. ghost_api/web/static/assets/index-xQpyIBbG.css +1 -0
  115. ghost_api/web/static/assets/minus-C2xqP1eQ.js +6 -0
  116. ghost_api/web/static/assets/refresh-cw-CxdR_8Oi.js +6 -0
  117. ghost_api/web/static/favicon.svg +1 -0
  118. ghost_api/web/static/index.html +26 -0
  119. ghost_api/workflows.py +203 -0
  120. ghost_api_cli-0.2.0.dist-info/METADATA +1019 -0
  121. ghost_api_cli-0.2.0.dist-info/RECORD +125 -0
  122. ghost_api_cli-0.2.0.dist-info/WHEEL +5 -0
  123. ghost_api_cli-0.2.0.dist-info/entry_points.txt +2 -0
  124. ghost_api_cli-0.2.0.dist-info/licenses/LICENSE +21 -0
  125. ghost_api_cli-0.2.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,286 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="color-scheme" content="dark light" />
7
+ <meta name="generator" content="Ghost API" />
8
+ <title>Ghost API report</title>
9
+ <link
10
+ rel="icon"
11
+ type="image/svg+xml"
12
+ href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%232f55d4' d='M32 4C19.3 4 10 13.8 10 26.5V56c0 2.2 2.5 3.4 4.2 2l4.3-3.5a2.6 2.6 0 0 1 3.3 0l4.6 3.8a2.6 2.6 0 0 0 3.3 0l4.6-3.8a2.6 2.6 0 0 1 3.3 0l4.6 3.8a2.6 2.6 0 0 0 3.3 0l4.3-3.5c1.7-1.4 4.2-.2 4.2 2V26.5C54 13.8 44.7 4 32 4Z'/%3E%3C/svg%3E"
13
+ />
14
+ <script>
15
+ // Apply the saved theme before the first paint, so the page doesn't flash.
16
+ (function () {
17
+ var saved = null;
18
+ try { saved = localStorage.getItem("ghost-theme"); } catch (e) {}
19
+ var dark = saved ? saved === "dark" : !window.matchMedia("(prefers-color-scheme: light)").matches;
20
+ document.documentElement.classList.toggle("dark", dark);
21
+ })();
22
+ </script>
23
+ <script type="module">function uh(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Sf={exports:{}},Xu={};/**
24
+ * @license React
25
+ * react-jsx-runtime.production.js
26
+ *
27
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
28
+ *
29
+ * This source code is licensed under the MIT license found in the
30
+ * LICENSE file in the root directory of this source tree.
31
+ */var Mg;function zx(){if(Mg)return Xu;Mg=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function a(o,s,f){var h=null;if(f!==void 0&&(h=""+f),s.key!==void 0&&(h=""+s.key),"key"in s){f={};for(var d in s)d!=="key"&&(f[d]=s[d])}else f=s;return s=f.ref,{$$typeof:l,type:o,key:h,ref:s!==void 0?s:null,props:f}}return Xu.Fragment=u,Xu.jsx=a,Xu.jsxs=a,Xu}var Rg;function Mx(){return Rg||(Rg=1,Sf.exports=zx()),Sf.exports}var E=Mx(),Ef={exports:{}},ke={};/**
32
+ * @license React
33
+ * react.production.js
34
+ *
35
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */var Dg;function Rx(){if(Dg)return ke;Dg=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),S=Symbol.for("react.view_transition"),v=Symbol.iterator;function k(w){return w===null||typeof w!="object"?null:(w=v&&w[v]||w["@@iterator"],typeof w=="function"?w:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,D={};function K(w,Z,ue){this.props=w,this.context=Z,this.refs=D,this.updater=ue||U}K.prototype.isReactComponent={},K.prototype.setState=function(w,Z){if(typeof w!="object"&&typeof w!="function"&&w!=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,w,Z,"setState")},K.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function X(){}X.prototype=K.prototype;function xe(w,Z,ue){this.props=w,this.context=Z,this.refs=D,this.updater=ue||U}var he=xe.prototype=new X;he.constructor=xe,q(he,K.prototype),he.isPureReactComponent=!0;var Y=Array.isArray;function P(){}var ae={H:null,A:null,T:null,S:null},He=Object.prototype.hasOwnProperty;function B(w,Z,ue){var ge=ue.ref;return{$$typeof:l,type:w,key:Z,ref:ge!==void 0?ge:null,props:ue}}function W(w,Z){return B(w.type,Z,w.props)}function ce(w){return typeof w=="object"&&w!==null&&w.$$typeof===l}function Re(w){var Z={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(ue){return Z[ue]})}var de=/\/+/g;function J(w,Z){return typeof w=="object"&&w!==null&&w.key!=null?Re(""+w.key):Z.toString(36)}function Q(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status=="string"?w.then(P,P):(w.status="pending",w.then(function(Z){w.status==="pending"&&(w.status="fulfilled",w.value=Z)},function(Z){w.status==="pending"&&(w.status="rejected",w.reason=Z)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function oe(w,Z,ue,ge,Me){var Ue=typeof w;(Ue==="undefined"||Ue==="boolean")&&(w=null);var De=!1;if(w===null)De=!0;else switch(Ue){case"bigint":case"string":case"number":De=!0;break;case"object":switch(w.$$typeof){case l:case u:De=!0;break;case y:return De=w._init,oe(De(w._payload),Z,ue,ge,Me)}}if(De)return Me=Me(w),De=ge===""?"."+J(w,0):ge,Y(Me)?(ue="",De!=null&&(ue=De.replace(de,"$&/")+"/"),oe(Me,Z,ue,"",function(An){return An})):Me!=null&&(ce(Me)&&(Me=W(Me,ue+(Me.key==null||w&&w.key===Me.key?"":(""+Me.key).replace(de,"$&/")+"/")+De)),Z.push(Me)),1;De=0;var me=ge===""?".":ge+":";if(Y(w))for(var Ee=0;Ee<w.length;Ee++)ge=w[Ee],Ue=me+J(ge,Ee),De+=oe(ge,Z,ue,Ue,Me);else if(Ee=k(w),typeof Ee=="function")for(w=Ee.call(w),Ee=0;!(ge=w.next()).done;)ge=ge.value,Ue=me+J(ge,Ee++),De+=oe(ge,Z,ue,Ue,Me);else if(Ue==="object"){if(typeof w.then=="function")return oe(Q(w),Z,ue,ge,Me);throw Z=String(w),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return De}function ie(w,Z,ue){if(w==null)return w;var ge=[],Me=0;return oe(w,ge,"","",function(Ue){return Z.call(ue,Ue,Me++)}),ge}function Ne(w){if(w._status===-1){var Z=w._result,ue=Z();ue.then(function(ge){(w._status===0||w._status===-1)&&(w._status=1,w._result=ge,ue.status===void 0&&(ue.status="fulfilled",ue.value=ge))},function(ge){(w._status===0||w._status===-1)&&(w._status=2,w._result=ge,ue.status===void 0&&(ue.status="rejected",ue.reason=ge))}),w._status===-1&&(w._status=0,w._result=ue)}if(w._status===1)return w._result.default;throw w._result}var _=typeof reportError=="function"?reportError:function(w){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",w);return}console.error(w)};function nt(w){var Z=ae.T,ue={};ue.types=Z!==null?Z.types:null,ae.T=ue;try{var ge=w(),Me=ae.S;Me!==null&&Me(ue,ge),typeof ge=="object"&&ge!==null&&typeof ge.then=="function"&&ge.then(P,_)}catch(Ue){_(Ue)}finally{Z!==null&&ue.types!==null&&(Z.types=ue.types),ae.T=Z}}function yt(w){var Z=ae.T;if(Z!==null){var ue=Z.types;ue===null?Z.types=[w]:ue.indexOf(w)===-1&&ue.push(w)}else nt(yt.bind(null,w))}var N={map:ie,forEach:function(w,Z,ue){ie(w,function(){Z.apply(this,arguments)},ue)},count:function(w){var Z=0;return ie(w,function(){Z++}),Z},toArray:function(w){return ie(w,function(Z){return Z})||[]},only:function(w){if(!ce(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};return ke.Activity=p,ke.Children=N,ke.Component=K,ke.Fragment=a,ke.Profiler=s,ke.PureComponent=xe,ke.StrictMode=o,ke.Suspense=g,ke.ViewTransition=S,ke.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ae,ke.__COMPILER_RUNTIME={__proto__:null,c:function(w){return ae.H.useMemoCache(w)}},ke.addTransitionType=yt,ke.cache=function(w){return function(){return w.apply(null,arguments)}},ke.cacheSignal=function(){return null},ke.cloneElement=function(w,Z,ue){if(w==null)throw Error("The argument must be a React element, but you passed "+w+".");var ge=q({},w.props),Me=w.key;if(Z!=null)for(Ue in Z.key!==void 0&&(Me=""+Z.key),Z)!He.call(Z,Ue)||Ue==="key"||Ue==="__self"||Ue==="__source"||Ue==="ref"&&Z.ref===void 0||(ge[Ue]=Z[Ue]);var Ue=arguments.length-2;if(Ue===1)ge.children=ue;else if(1<Ue){for(var De=Array(Ue),me=0;me<Ue;me++)De[me]=arguments[me+2];ge.children=De}return B(w.type,Me,ge)},ke.createContext=function(w){return w={$$typeof:h,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:f,_context:w},w},ke.createElement=function(w,Z,ue){var ge,Me={},Ue=null;if(Z!=null)for(ge in Z.key!==void 0&&(Ue=""+Z.key),Z)He.call(Z,ge)&&ge!=="key"&&ge!=="__self"&&ge!=="__source"&&(Me[ge]=Z[ge]);var De=arguments.length-2;if(De===1)Me.children=ue;else if(1<De){for(var me=Array(De),Ee=0;Ee<De;Ee++)me[Ee]=arguments[Ee+2];Me.children=me}if(w&&w.defaultProps)for(ge in De=w.defaultProps,De)Me[ge]===void 0&&(Me[ge]=De[ge]);return B(w,Ue,Me)},ke.createRef=function(){return{current:null}},ke.forwardRef=function(w){return{$$typeof:d,render:w}},ke.isValidElement=ce,ke.lazy=function(w){return{$$typeof:y,_payload:{_status:-1,_result:w},_init:Ne}},ke.memo=function(w,Z){return{$$typeof:b,type:w,compare:Z===void 0?null:Z}},ke.startTransition=nt,ke.unstable_useCacheRefresh=function(){return ae.H.useCacheRefresh()},ke.use=function(w){return ae.H.use(w)},ke.useActionState=function(w,Z,ue){return ae.H.useActionState(w,Z,ue)},ke.useCallback=function(w,Z){return ae.H.useCallback(w,Z)},ke.useContext=function(w){return ae.H.useContext(w)},ke.useDebugValue=function(){},ke.useDeferredValue=function(w,Z){return ae.H.useDeferredValue(w,Z)},ke.useEffect=function(w,Z){return ae.H.useEffect(w,Z)},ke.useEffectEvent=function(w){return ae.H.useEffectEvent(w)},ke.useId=function(){return ae.H.useId()},ke.useImperativeHandle=function(w,Z,ue){return ae.H.useImperativeHandle(w,Z,ue)},ke.useInsertionEffect=function(w,Z){return ae.H.useInsertionEffect(w,Z)},ke.useLayoutEffect=function(w,Z){return ae.H.useLayoutEffect(w,Z)},ke.useMemo=function(w,Z){return ae.H.useMemo(w,Z)},ke.useOptimistic=function(w,Z){return ae.H.useOptimistic(w,Z)},ke.useReducer=function(w,Z,ue){return ae.H.useReducer(w,Z,ue)},ke.useRef=function(w){return ae.H.useRef(w)},ke.useState=function(w){return ae.H.useState(w)},ke.useSyncExternalStore=function(w,Z,ue){return ae.H.useSyncExternalStore(w,Z,ue)},ke.useTransition=function(){return ae.H.useTransition()},ke.version="19.3.0",ke}var jg;function rh(){return jg||(jg=1,Ef.exports=Rx()),Ef.exports}var _t=rh(),Tf={exports:{}},Qu={},_f={exports:{}},Af={};/**
40
+ * @license React
41
+ * scheduler.production.js
42
+ *
43
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
44
+ *
45
+ * This source code is licensed under the MIT license found in the
46
+ * LICENSE file in the root directory of this source tree.
47
+ */var Lg;function Dx(){return Lg||(Lg=1,(function(l){function u(Q,oe){var ie=Q.length;Q.push(oe);e:for(;0<ie;){var Ne=ie-1>>>1,_=Q[Ne];if(0<s(_,oe))Q[Ne]=oe,Q[ie]=_,ie=Ne;else break e}}function a(Q){return Q.length===0?null:Q[0]}function o(Q){if(Q.length===0)return null;var oe=Q[0],ie=Q.pop();if(ie!==oe){Q[0]=ie;e:for(var Ne=0,_=Q.length,nt=_>>>1;Ne<nt;){var yt=2*(Ne+1)-1,N=Q[yt],w=yt+1,Z=Q[w];if(0>s(N,ie))w<_&&0>s(Z,N)?(Q[Ne]=Z,Q[w]=ie,Ne=w):(Q[Ne]=N,Q[yt]=ie,Ne=yt);else if(w<_&&0>s(Z,ie))Q[Ne]=Z,Q[w]=ie,Ne=w;else break e}}return oe}function s(Q,oe){var ie=Q.sortIndex-oe.sortIndex;return ie!==0?ie:Q.id-oe.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;l.unstable_now=function(){return f.now()}}else{var h=Date,d=h.now();l.unstable_now=function(){return h.now()-d}}var g=[],b=[],y=1,p=null,S=3,v=!1,k=!1,U=!1,q=!1,D=typeof setTimeout=="function"?setTimeout:null,K=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function xe(Q){for(var oe=a(b);oe!==null;){if(oe.callback===null)o(b);else if(oe.startTime<=Q)o(b),oe.sortIndex=oe.expirationTime,u(g,oe);else break;oe=a(b)}}function he(Q){if(U=!1,xe(Q),!k)if(a(g)!==null)k=!0,Y||(Y=!0,ce());else{var oe=a(b);oe!==null&&J(he,oe.startTime-Q)}}var Y=!1,P=-1,ae=5,He=-1;function B(){return q?!0:!(l.unstable_now()-He<ae)}function W(){if(q=!1,Y){var Q=l.unstable_now();He=Q;var oe=!0;try{e:{k=!1,U&&(U=!1,K(P),P=-1),v=!0;var ie=S;try{t:{for(xe(Q),p=a(g);p!==null&&!(p.expirationTime>Q&&B());){var Ne=p.callback;if(typeof Ne=="function"){p.callback=null,S=p.priorityLevel;var _=Ne(p.expirationTime<=Q);if(Q=l.unstable_now(),typeof _=="function"){p.callback=_,xe(Q),oe=!0;break t}p===a(g)&&o(g),xe(Q)}else o(g);p=a(g)}if(p!==null)oe=!0;else{var nt=a(b);nt!==null&&J(he,nt.startTime-Q),oe=!1}}break e}finally{p=null,S=ie,v=!1}oe=void 0}}finally{oe?ce():Y=!1}}}var ce;if(typeof X=="function")ce=function(){X(W)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,de=Re.port2;Re.port1.onmessage=W,ce=function(){de.postMessage(null)}}else ce=function(){D(W,0)};function J(Q,oe){P=D(function(){Q(l.unstable_now())},oe)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(Q){Q.callback=null},l.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ae=0<Q?Math.floor(1e3/Q):5},l.unstable_getCurrentPriorityLevel=function(){return S},l.unstable_next=function(Q){switch(S){case 1:case 2:case 3:var oe=3;break;default:oe=S}var ie=S;S=oe;try{return Q()}finally{S=ie}},l.unstable_requestPaint=function(){q=!0},l.unstable_runWithPriority=function(Q,oe){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var ie=S;S=Q;try{return oe()}finally{S=ie}},l.unstable_scheduleCallback=function(Q,oe,ie){var Ne=l.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?Ne+ie:Ne):ie=Ne,Q){case 1:var _=-1;break;case 2:_=250;break;case 5:_=1073741823;break;case 4:_=1e4;break;default:_=5e3}return _=ie+_,Q={id:y++,callback:oe,priorityLevel:Q,startTime:ie,expirationTime:_,sortIndex:-1},ie>Ne?(Q.sortIndex=ie,u(b,Q),a(g)===null&&Q===a(b)&&(U?(K(P),P=-1):U=!0,J(he,ie-Ne))):(Q.sortIndex=_,u(g,Q),k||v||(k=!0,Y||(Y=!0,ce()))),Q},l.unstable_shouldYield=B,l.unstable_wrapCallback=function(Q){var oe=S;return function(){var ie=S;S=oe;try{return Q.apply(this,arguments)}finally{S=ie}}}})(Af)),Af}var Bg;function jx(){return Bg||(Bg=1,_f.exports=Dx()),_f.exports}var Nf={exports:{}},en={};/**
48
+ * @license React
49
+ * react-dom.production.js
50
+ *
51
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
52
+ *
53
+ * This source code is licensed under the MIT license found in the
54
+ * LICENSE file in the root directory of this source tree.
55
+ */var Ug;function Lx(){if(Ug)return en;Ug=1;var l=rh();function u(y){var p="https://react.dev/errors/"+y;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)p+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+y+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var o={d:{f:a,r:function(){throw Error(u(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal"),f=Symbol.for("react.recoverable"),h=Symbol.for("react.optimistic_key");function d(y,p,S){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:v===h?h:""+v,children:y,containerInfo:p,implementation:S}}var g=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function b(y,p){if(y==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return en.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,en.browser=function(y){return{$$typeof:f,_reason:y}},en.createPortal=function(y,p){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(u(299));return d(y,p,null,S)},en.flushSync=function(y){var p=g.T,S=o.p;try{if(g.T=null,o.p=2,y)return y()}finally{g.T=p,o.p=S,o.d.f()}},en.preconnect=function(y,p){typeof y=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(y,p))},en.prefetchDNS=function(y){typeof y=="string"&&o.d.D(y)},en.preinit=function(y,p){if(typeof y=="string"&&p&&typeof p.as=="string"){var S=p.as,v=b(S,p.crossOrigin),k=typeof p.integrity=="string"?p.integrity:void 0,U=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;S==="style"?o.d.S(y,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:k,fetchPriority:U}):S==="script"&&o.d.X(y,{crossOrigin:v,integrity:k,fetchPriority:U,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},en.preinitModule=function(y,p){if(typeof y=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var S=b(p.as,p.crossOrigin);o.d.M(y,{crossOrigin:S,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0})}}else p==null&&o.d.M(y)},en.preload=function(y,p){if(typeof y=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var S=p.as,v=b(S,p.crossOrigin);o.d.L(y,S,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},en.preloadModule=function(y,p){if(typeof y=="string")if(p){var S=b(p.as,p.crossOrigin);o.d.m(y,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:S,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0})}else o.d.m(y)},en.requestFormReset=function(y){o.d.r(y)},en.unstable_batchedUpdates=function(y,p){return y(p)},en.useFormState=function(y,p,S){return g.H.useFormState(y,p,S)},en.useFormStatus=function(){return g.H.useHostTransitionStatus()},en.version="19.3.0",en}var Hg;function Bx(){if(Hg)return Nf.exports;Hg=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),Nf.exports=Lx(),Nf.exports}/**
56
+ * @license React
57
+ * react-dom-client.production.js
58
+ *
59
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE file in the root directory of this source tree.
63
+ */var qg;function Ux(){if(qg)return Qu;qg=1;var l=jx(),u=rh(),a=Bx();function o(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 s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){for(var t=e,n=t;n&&!n.alternate;)t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function h(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 d(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(f(e)!==e)throw Error(o(188))}function b(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(o(188));return t!==e?null:e}for(var n=e,i=t;;){var r=n.return;if(r===null)break;var c=r.alternate;if(c===null){if(i=r.return,i!==null){n=i;continue}break}if(r.child===c.child){for(c=r.child;c;){if(c===n)return g(r),e;if(c===i)return g(r),t;c=c.sibling}throw Error(o(188))}if(n.return!==i.return)n=r,i=c;else{for(var m=!1,x=r.child;x;){if(x===n){m=!0,n=r,i=c;break}if(x===i){m=!0,i=r,n=c;break}x=x.sibling}if(!m){for(x=c.child;x;){if(x===n){m=!0,n=c,i=r;break}if(x===i){m=!0,i=c,n=r;break}x=x.sibling}if(!m)throw Error(o(189))}}if(n.alternate!==i)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}function p(e,t,n,i,r,c){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,i,r,c)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&p(e.child,t,n,i,r,c))return!0;e=e.sibling}return!1}function S(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function v(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function k(e){var t=[null,null],n=S(e);return n===null||U(t,e,n.child,{foundSelf:!1}),t}function U(e,t,n,i){for(;n!==null;){if(n===t)i.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(i.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&U(e,t,n.child,i))return!0;n=n.sibling}return!1}function q(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(o(559))}}var D=null,K=null;function X(e,t,n){return e===n?!0:e===t?(D=e,!0):!1}function xe(e,t,n){return e===n?(K=e,!1):e===t?(K!==null&&(D=e),!0):!1}function he(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function Y(e,t,n){for(var i=0,r=e;r;r=n(r))i++;r=0;for(var c=t;c;c=n(c))r++;for(;0<i-r;)e=n(e),i--;for(;0<r-i;)t=n(t),r--;for(;i--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var P=Object.assign,ae=Symbol.for("react.element"),He=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),ce=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),de=Symbol.for("react.consumer"),J=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),Ne=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),nt=Symbol.for("react.activity"),yt=Symbol.for("react.legacy_hidden"),N=Symbol.for("react.memo_cache_sentinel"),w=Symbol.for("react.view_transition"),Z=Symbol.for("react.recoverable"),ue=Symbol.iterator;function ge(e){return e===null||typeof e!="object"?null:(e=ue&&e[ue]||e["@@iterator"],typeof e=="function"?e:null)}var Me=Symbol.for("react.client.reference");function Ue(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Me?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case W:return"Fragment";case Re:return"Profiler";case ce:return"StrictMode";case oe:return"Suspense";case ie:return"SuspenseList";case nt:return"Activity";case w:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case B:return"Portal";case J:return e.displayName||"Context";case de:return(e._context.displayName||"Context")+".Consumer";case Q:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ne:return t=e.displayName||null,t!==null?t:Ue(e.type)||"Memo";case _:t=e._payload,e=e._init;try{return Ue(e(t))}catch{}}return null}var De=Array.isArray,me=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,An={pending:!1,data:null,method:null,action:null},wi=[],ol=-1;function rn(e){return{current:e}}function vt(e){0>ol||(e.current=wi[ol],wi[ol]=null,ol--)}function $e(e,t){ol++,wi[ol]=e.current,e.current=t}var mn=rn(null),Kn=rn(null),Nn=rn(null),Ql=rn(null);function Tl(e,t){switch($e(Nn,t),$e(Kn,e),$e(mn,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Yp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Yp(t),e=Gp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}vt(mn),$e(mn,e)}function nn(){vt(mn),vt(Kn),vt(Nn)}function Zl(e){var t=e.memoizedState;t!==null&&(Ga._currentValue=t.memoizedState,$e(Ql,e)),t=mn.current;var n=Gp(t,e.type);t!==n&&($e(Kn,e),$e(mn,n))}function Cn(e){Kn.current===e&&(vt(mn),vt(Kn)),Ql.current===e&&(vt(Ql),Ga._currentValue=An)}var H,ee;function Se(e){if(H===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);H=t&&t[1]||"",ee=-1<n.stack.indexOf(`
64
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
65
+ `+H+e+ee}var Ce=!1;function Ct(e,t){if(!e||Ce)return"";Ce=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(ne){var O=ne}Reflect.construct(e,[],V)}else{try{V.call()}catch(ne){O=ne}V=!1;try{var j=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),V=!0,new e}finally{V&&(j!==void 0?Object.defineProperty(e.prototype,"props",j):delete e.prototype.props)}}}else{try{throw Error()}catch(ne){O=ne}(V=e())&&typeof V.catch=="function"&&V.catch(function(){})}}catch(ne){if(ne&&O&&typeof ne.stack=="string")return[ne.stack,O.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=i.DetermineComponentFrameRoot(),m=c[0],x=c[1];if(m&&x){var T=m.split(`
66
+ `),M=x.split(`
67
+ `);for(r=i=0;i<T.length&&!T[i].includes("DetermineComponentFrameRoot");)i++;for(;r<M.length&&!M[r].includes("DetermineComponentFrameRoot");)r++;if(i===T.length||r===M.length)for(i=T.length-1,r=M.length-1;1<=i&&0<=r&&T[i]!==M[r];)r--;for(;1<=i&&0<=r;i--,r--)if(T[i]!==M[r]){if(i!==1||r!==1)do if(i--,r--,0>r||T[i]!==M[r]){var L=`
68
+ `+T[i].replace(" at new "," at ");return e.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",e.displayName)),L}while(1<=i&&0<=r);break}}}finally{Ce=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Se(n):""}function it(e,t){switch(e.tag){case 26:case 27:case 5:return Se(e.type);case 16:return Se("Lazy");case 13:return e.child!==t&&t!==null?Se("Suspense Fallback"):Se("Suspense");case 19:return Se("SuspenseList");case 0:case 15:return Ct(e.type,!1);case 11:return Ct(e.type.render,!1);case 1:return Ct(e.type,!0);case 31:return Se("Activity");case 30:return Se("ViewTransition");default:return""}}function Bt(e){try{var t="",n=null;do t+=it(e,n),n=e,e=e.return;while(e);return t}catch(i){return`
69
+ Error generating stack: `+i.message+`
70
+ `+i.stack}}var Qt=Object.prototype.hasOwnProperty,Fn=l.unstable_scheduleCallback,Jn=l.unstable_cancelCallback,_l=l.unstable_shouldYield,Kl=l.unstable_requestPaint,wt=l.unstable_now,qt=l.unstable_getCurrentPriorityLevel,$n=l.unstable_ImmediatePriority,on=l.unstable_UserBlockingPriority,Pn=l.unstable_NormalPriority,A=l.unstable_LowPriority,I=l.unstable_IdlePriority,le=l.log,we=l.unstable_setDisableYieldValue,ft=null,Ze=null;function se(e){if(typeof le=="function"&&we(e),Ze&&typeof Ze.setStrictMode=="function")try{Ze.setStrictMode(ft,e)}catch{}}var te=Math.clz32?Math.clz32:St,Ae=Math.log,kt=Math.LN2;function St(e){return e>>>=0,e===0?32:31-(Ae(e)/kt|0)|0}var cl=256,Fl=262144,Jl=4194304;function Al(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:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;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 $l(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var r=0,c=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var x=i&134217727;return x!==0?(i=x&~c,i!==0?r=Al(i):(m&=x,m!==0?r=Al(m):n||(n=x&~e,n!==0&&(r=Al(n))))):(x=i&~c,x!==0?r=Al(x):m!==0?r=Al(m):n||(n=i&~e,n!==0&&(r=Al(n)))),r===0?0:t!==0&&t!==r&&(t&c)===0&&(c=r&-r,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:r}function ki(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rr(e,t){(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var i=31-te(n),r=1<<i;t|=e[i],n&=~r}return t}function $o(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 Wa(){var e=Jl;return Jl<<=1,(Jl&62914560)===0&&(Jl=4194304),e}function Pl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Oi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Po(e,t,n,i,r,c){var m=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 x=e.entanglements,T=e.expirationTimes,M=e.hiddenUpdates;for(n=m&~n;0<n;){var L=31-te(n),V=1<<L;x[L]=0,T[L]=-1;var O=M[L];if(O!==null)for(M[L]=null,L=0;L<O.length;L++){var j=O[L];j!==null&&(j.lane&=-536870913)}n&=~V}i!==0&&or(e,i,0),c!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=c&~(m&~t))}function or(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-te(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function Wn(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-te(n),r=1<<i;r&t|e[i]&t&&(e[i]|=t),n&=~r}}function eu(e,t){var n=t&-t;return n=(n&42)!==0?1:la(n),(n&(e.suspendedLanes|t))!==0?0:n}function la(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 tu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function cr(){var e=Ee.p;return e!==0?e:(e=window.event,e===void 0?32:Ag(e.type))}function sr(e,t){var n=Ee.p;try{return Ee.p=e,t()}finally{Ee.p=n}}var pn=Math.random().toString(36).slice(2),Ut="__reactFiber$"+pn,F="__reactProps$"+pn,ye="__reactContainer$"+pn,Ge="__reactEvents$"+pn,ct="__reactListeners$"+pn,At="__reactHandles$"+pn,gn="__reactResources$"+pn,yn="__reactMarker$"+pn,Nl="__reactLoad$"+pn;function Yt(e){delete e[Ut],delete e[F],delete e[ct],delete e[At]}function Gt(e){var t;if(t=e[Ut])return t;for(var n=e.parentNode;n;){if(t=n[ye]||n[Ut]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ag(e);e!==null;){if(n=e[Ut])return n;e=ag(e)}return t}e=n,n=e.parentNode}return null}function Cl(e){if(e=e[Ut]||e[ye]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Wl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function wl(e){var t=e[gn];return t||(t=e[gn]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ot(e){e[yn]=!0}function fr(e){e[Nl]=void 0}var hr=new Set,dr={};function Bn(e,t){kl(e,t),kl(e+"Capture",t)}function kl(e,t){for(dr[e]=t,e=0;e<t.length;e++)hr.add(t[e])}var Un=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]*$"),mr={},ia={};function Oe(e){return Qt.call(ia,e)?!0:Qt.call(mr,e)?!1:Un.test(e)?ia[e]=!0:(mr[e]=!0,!1)}var Ke=!1;function zt(){var e=Ke;return Ke=!1,e}function Pe(e,t,n){if(Oe(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 Ol(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 Zt(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)}}function Kt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function aa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function re(e,t,n){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,c=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(m){n=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(m){n=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function be(e){if(!e._valueTracker){var t=aa(e)?"checked":"value";e._valueTracker=re(e,t,""+e[t])}}function je(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=aa(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}var We=/[\n"\\]/g;function at(e){return e.replace(We,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function wn(e,t,n,i,r,c,m,x){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Kt(t)):e.value!==""+Kt(t)&&(e.value=""+Kt(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?m==="number"&&e.value==t?nu(e,Kt(e.value)):nu(e,Kt(t)):n!=null?nu(e,Kt(n)):i!=null&&e.removeAttribute("value"),r==null&&c!=null&&(e.defaultChecked=!!c),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+Kt(x):e.removeAttribute("name")}function pr(e,t,n,i,r,c,m,x){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){be(e);return}n=n!=null?""+Kt(n):"",t=t!=null?""+Kt(t):n,x||t===e.value||(e.value=t),e.defaultValue=t}i=i??r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=x?e.checked:!!i,e.defaultChecked=!!i,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m),be(e)}function nu(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function ua(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=""+Kt(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 zh(e,t,n){if(t!=null&&(t=""+Kt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Kt(n):""}function Mh(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(o(92));if(De(i)){if(1<i.length)throw Error(o(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=Kt(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),be(e)}function ra(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var W1=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 Rh(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||W1.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Dh(e,t,n){if(t!=null&&typeof t!="object")throw Error(o(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]="",Ke=!0);for(var r in t)i=t[r],t.hasOwnProperty(r)&&n[r]!==i&&(Rh(e,r,i),Ke=!0)}else for(var c in t)t.hasOwnProperty(c)&&Rh(e,c,t[c])}function Wo(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 e0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),t0=/^[\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 gr(e){return t0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function sl(){}var ec=null;function tc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oa=null,ca=null;function jh(e){var t=Cl(e);if(t&&(e=t.stateNode)){var n=e[F]||null;e:switch(e=t.stateNode,t.type){case"input":if(wn(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="'+at(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var r=i[F]||null;if(!r)throw Error(o(90));wn(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&&je(i)}break e;case"textarea":zh(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ua(e,!!n.multiple,t,!1)}}}var nc=!1;function Lh(e,t,n){if(nc)return e(t,n);nc=!0;try{var i=e(t);return i}finally{if(nc=!1,(oa!==null||ca!==null)&&(yo(),oa&&(t=oa,e=ca,ca=oa=null,jh(t),e)))for(t=0;t<e.length;t++)jh(e[t])}}function lu(e,t){var n=e.stateNode;if(n===null)return null;var i=n[F]||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(o(231,t,typeof n));return n}var zl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lc=!1;if(zl)try{var iu={};Object.defineProperty(iu,"passive",{get:function(){lc=!0}}),window.addEventListener("test",iu,iu),window.removeEventListener("test",iu,iu)}catch{lc=!1}var ei=null,ic=null,yr=null;function Bh(){if(yr)return yr;var e,t=ic,n=t.length,i,r="value"in ei?ei.value:ei.textContent,c=r.length;for(e=0;e<n&&t[e]===r[e];e++);var m=n-e;for(i=1;i<=m&&t[n-i]===r[c-i];i++);return yr=r.slice(e,1<i?1-i:void 0)}function br(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 xr(){return!0}function Uh(){return!1}function cn(e){function t(n,i,r,c,m){this._reactName=n,this._targetInst=r,this.type=i,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(n=e[x],this[x]=n?n(c):c[x]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?xr:Uh,this.isPropagationStopped=Uh,this}return P(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=xr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=xr)},persist:function(){},isPersistent:xr}),t}var ti={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vr=cn(ti),au=P({},ti,{view:0,detail:0}),n0=cn(au),ac,uc,uu,Sr=P({},au,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:oc,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!==uu&&(uu&&e.type==="mousemove"?(ac=e.screenX-uu.screenX,uc=e.screenY-uu.screenY):uc=ac=0,uu=e),ac)},movementY:function(e){return"movementY"in e?e.movementY:uc}}),Hh=cn(Sr),l0=P({},Sr,{dataTransfer:0}),i0=cn(l0),a0=P({},au,{relatedTarget:0}),rc=cn(a0),u0=P({},ti,{animationName:0,elapsedTime:0,pseudoElement:0}),r0=cn(u0),o0=P({},ti,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),c0=cn(o0),s0=P({},ti,{data:0}),qh=cn(s0),f0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},h0={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"},d0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function m0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=d0[e])?!!t[e]:!1}function oc(){return m0}var p0=P({},au,{key:function(e){if(e.key){var t=f0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=br(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?h0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:oc,charCode:function(e){return e.type==="keypress"?br(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?br(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),g0=cn(p0),y0=P({},Sr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yh=cn(y0),b0=P({},ti,{submitter:0}),x0=cn(b0),v0=P({},au,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:oc}),S0=cn(v0),E0=P({},ti,{propertyName:0,elapsedTime:0,pseudoElement:0}),T0=cn(E0),_0=P({},Sr,{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}),A0=cn(_0),N0=P({},ti,{newState:0,oldState:0,source:0}),C0=cn(N0),w0=[9,13,27,32],cc=zl&&"CompositionEvent"in window,ru=null;zl&&"documentMode"in document&&(ru=document.documentMode);var k0=zl&&"TextEvent"in window&&!ru,Gh=zl&&(!cc||ru&&8<ru&&11>=ru),Vh=" ",Ih=!1;function Xh(e,t){switch(e){case"keyup":return w0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var sa=!1;function O0(e,t){switch(e){case"compositionend":return Qh(t);case"keypress":return t.which!==32?null:(Ih=!0,Vh);case"textInput":return e=t.data,e===Vh&&Ih?null:e;default:return null}}function z0(e,t){if(sa)return e==="compositionend"||!cc&&Xh(e,t)?(e=Bh(),yr=ic=ei=null,sa=!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 Gh&&t.locale!=="ko"?null:t.data;default:return null}}var M0={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!M0[e.type]:t==="textarea"}function Kh(e,t,n,i){oa?ca?ca.push(i):ca=[i]:oa=i,t=To(t,"onChange"),0<t.length&&(n=new vr("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var ou=null,cu=null;function R0(e){jp(e,0)}function Er(e){var t=Wl(e);if(je(t))return e}function Fh(e,t){if(e==="change")return t}var Jh=!1;if(zl){var sc;if(zl){var fc="oninput"in document;if(!fc){var $h=document.createElement("div");$h.setAttribute("oninput","return;"),fc=typeof $h.oninput=="function"}sc=fc}else sc=!1;Jh=sc&&(!document.documentMode||9<document.documentMode)}function Ph(){ou&&(ou.detachEvent("onpropertychange",Wh),cu=ou=null)}function Wh(e){if(e.propertyName==="value"&&Er(cu)){var t=[];Kh(t,cu,e,tc(e)),Lh(R0,t)}}function D0(e,t,n){e==="focusin"?(Ph(),ou=t,cu=n,ou.attachEvent("onpropertychange",Wh)):e==="focusout"&&Ph()}function j0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Er(cu)}function L0(e,t){if(e==="click")return Er(t)}function B0(e,t){if(e==="input"||e==="change")return Er(t)}function U0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kn=typeof Object.is=="function"?Object.is:U0;function su(e,t){if(kn(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(!Qt.call(t,r)||!kn(e[r],t[r]))return!1}return!0}function hc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ed(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function td(e,t){var n=ed(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=ed(n)}}function nd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ld(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=hc(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=hc(e.document)}return t}function dc(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 H0=zl&&"documentMode"in document&&11>=document.documentMode,fa=null,mc=null,fu=null,pc=!1;function id(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pc||fa==null||fa!==hc(i)||(i=fa,"selectionStart"in i&&dc(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}),fu&&su(fu,i)||(fu=i,i=To(mc,"onSelect"),0<i.length&&(t=new vr("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=fa)))}function zi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ha={animationend:zi("Animation","AnimationEnd"),animationiteration:zi("Animation","AnimationIteration"),animationstart:zi("Animation","AnimationStart"),transitionrun:zi("Transition","TransitionRun"),transitionstart:zi("Transition","TransitionStart"),transitioncancel:zi("Transition","TransitionCancel"),transitionend:zi("Transition","TransitionEnd")},gc={},ad={};zl&&(ad=document.createElement("div").style,"AnimationEvent"in window||(delete ha.animationend.animation,delete ha.animationiteration.animation,delete ha.animationstart.animation),"TransitionEvent"in window||delete ha.transitionend.transition);function Mi(e){if(gc[e])return gc[e];if(!ha[e])return e;var t=ha[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ad)return gc[e]=t[n];return e}var ud=Mi("animationend"),rd=Mi("animationiteration"),od=Mi("animationstart"),q0=Mi("transitionrun"),Y0=Mi("transitionstart"),G0=Mi("transitioncancel"),cd=Mi("transitionend"),sd=new Map,yc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");yc.push("scrollEnd");function el(e,t){sd.set(e,t),Bn(t,[e])}var V0=0;function Ml(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=il.identifierPrefix;var n=V0++;return e="_"+e+"t_"+n.toString(32)+"_",t.autoName=e}function fd(e){if(e==null||typeof e=="string")return e;var t=null,n=Ma;if(n!==null)for(var i=0;i<n.length;i++){var r=e[n[i]];if(r!=null){if(r==="none")return"none";t=t==null?r:t+(" "+r)}}return t??e.default}function Rl(e,t){return e=fd(e),t=fd(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var Tr=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)},Hn=[],da=0,bc=0;function _r(){for(var e=da,t=bc=da=0;t<e;){var n=Hn[t];Hn[t++]=null;var i=Hn[t];Hn[t++]=null;var r=Hn[t];Hn[t++]=null;var c=Hn[t];if(Hn[t++]=null,i!==null&&r!==null){var m=i.pending;m===null?r.next=r:(r.next=m.next,m.next=r),i.pending=r}c!==0&&hd(n,r,c)}}function Ar(e,t,n,i){Hn[da++]=e,Hn[da++]=t,Hn[da++]=n,Hn[da++]=i,bc|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function xc(e,t,n,i){return Ar(e,t,n,i),Nr(e)}function Ri(e,t){return Ar(e,null,null,t),Nr(e)}function hd(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var r=!1,c=e.return;c!==null;)c.childLanes|=n,i=c.alternate,i!==null&&(i.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(r=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,r&&t!==null&&(r=31-te(n),e=c.hiddenUpdates,i=e[r],i===null?e[r]=[t]:i.push(t),t.lane=n|536870912),c):null}function Nr(e){if(50<Ru)throw Ru=0,go=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ma={};function I0(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 bn(e,t,n,i){return new I0(e,t,n,i)}function vc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Dl(e,t){var n=e.alternate;return n===null?(n=bn(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&1206910976,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 dd(e,t){e.flags&=1206910978;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 Cr(e,t,n,i,r,c){var m=0;if(i=e,typeof i=="function")vc(i)&&(m=1);else if(typeof i=="string")m=bx(e,n,mn.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(i){case nt:return e=bn(31,n,t,r),e.elementType=nt,e.lanes=c,e;case W:return Di(n.children,r,c,t);case ce:m=8,r|=24;break;case Re:return e=bn(12,n,t,r|2),e.elementType=Re,e.lanes=c,e;case oe:return e=bn(13,n,t,r),e.elementType=oe,e.lanes=c,e;case ie:return e=bn(19,n,t,r),e.elementType=ie,e.lanes=c,e;case yt:case w:return e=r|32,e=bn(30,n,t,e),e.elementType=w,e.lanes=c,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case J:m=10;break e;case de:m=9;break e;case Q:m=11;break e;case Ne:m=14;break e;case _:m=16,i=null;break e}m=29,n=Error(o(130,e===null?"null":typeof e,"")),i=null}return t=bn(m,n,t,r),t.elementType=e,t.type=i,t.lanes=c,t}function Di(e,t,n,i){return e=bn(7,e,i,t),e.lanes=n,e}function Sc(e,t,n){return e=bn(6,e,null,t),e.lanes=n,e}function md(e){var t=bn(18,null,null,0);return t.stateNode=e,t}function Ec(e,t,n){return t=bn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var pd=new WeakMap;function qn(e,t){if(typeof e=="object"&&e!==null){var n=pd.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Bt(t)},pd.set(e,t),t)}return{value:e,source:t,stack:Bt(t)}}var pa=[],ga=0,wr=null,hu=0,Yn=[],Gn=0,ni=null,fl=1,hl="";function jl(e,t){pa[ga++]=hu,pa[ga++]=wr,wr=e,hu=t}function gd(e,t,n){Yn[Gn++]=fl,Yn[Gn++]=hl,Yn[Gn++]=ni,ni=e;var i=fl;e=hl;var r=32-te(i)-1;i&=~(1<<r),n+=1;var c=32-te(t)+r;if(30<c){var m=r-r%5;c=(i&(1<<m)-1).toString(32),i>>=m,r-=m,fl=1<<32-te(t)+r|n<<r|i,hl=c+e}else fl=1<<c|n<<r|i,hl=e}function kr(e){e.return!==null&&(jl(e,1),gd(e,1,0))}function Tc(e){for(;e===wr;)wr=pa[--ga],pa[ga]=null,hu=pa[--ga],pa[ga]=null;for(;e===ni;)ni=Yn[--Gn],Yn[Gn]=null,hl=Yn[--Gn],Yn[Gn]=null,fl=Yn[--Gn],Yn[Gn]=null}function yd(e,t){Yn[Gn++]=fl,Yn[Gn++]=hl,Yn[Gn++]=ni,fl=t.id,hl=t.overflow,ni=e}var Vt=null,pt=null,qe=!1,li=null,Vn=!1,_c=Error(o(519));function ii(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw du(qn(t,e)),_c}function bd(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[Ut]=e,t[F]=i,n){case"dialog":Ie("cancel",t),Ie("close",t);break;case"iframe":case"object":case"embed":Ie("load",t);break;case"video":case"audio":for(n=0;n<ju.length;n++)Ie(ju[n],t);break;case"source":Ie("error",t);break;case"img":case"image":case"link":Ie("error",t),Ie("load",t);break;case"details":Ie("toggle",t);break;case"input":Ie("invalid",t),pr(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Ie("invalid",t);break;case"textarea":Ie("invalid",t),Mh(t,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||Hp(t.textContent,n)?(i.popover!=null&&(Ie("beforetoggle",t),Ie("toggle",t)),i.onScroll!=null&&Ie("scroll",t),i.onScrollEnd!=null&&Ie("scrollend",t),i.onClick!=null&&(t.onclick=sl),t=!0):t=!1,t||ii(e,!0)}function Or(e){for(Vt=e.return;Vt;)switch(Vt.tag){case 5:case 31:case 13:Vn=!1;return;case 27:case 3:Vn=!0;return;default:Vt=Vt.return}}function ya(e){if(e!==Vt)return!1;if(!qe)return Or(e),qe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||ef(e.type,e.memoizedProps)),n=!n),n&&pt&&ii(e),Or(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));pt=ig(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));pt=ig(e)}else t===27?(t=pt,vi(e.type)?(e=sf,sf=null,pt=e):pt=t):pt=Vt?Xn(e.stateNode.nextSibling):null;return!0}function ji(){pt=Vt=null,qe=!1}function Ac(){var e=li;return e!==null&&(Sn===null?Sn=e:Sn.push.apply(Sn,e),li=null),e}function du(e){li===null?li=[e]:li.push(e)}var Nc=rn(null),Li=null,Ll=null;function ai(e,t,n){$e(Nc,t._currentValue),t._currentValue=n}function Bl(e){e._currentValue=Nc.current,vt(Nc)}function zr(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 Cc(e,t,n,i){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var c=r.dependencies;if(c!==null){var m=r.child;c=c.firstContext;e:for(;c!==null;){var x=c;c=r;for(var T=0;T<t.length;T++)if(x.context===t[T]){c.lanes|=n,x=c.alternate,x!==null&&(x.lanes|=n),zr(c.return,n,e),i||(m=null);break e}c=x.next}}else if(r.tag===18){if(m=r.return,m===null)throw Error(o(341));m.lanes|=n,c=m.alternate,c!==null&&(c.lanes|=n),zr(m,n,e),m=null}else r.tag===13&&r.memoizedState!==null&&r.memoizedState.dehydrated===null?(r.lanes|=n,m=r.alternate,m!==null&&(m.lanes|=n),zr(r.return,n,e),m=r.child,m=m!==null?m.sibling:null):m=r.child;if(m!==null)m.return=r;else for(m=r;m!==null;){if(m===e){m=null;break}if(r=m.sibling,r!==null){r.return=m.return,m=r;break}m=m.return}r=m}}function Bi(e,t,n,i){e=null;for(var r=t,c=!1;r!==null;){if(!c){if((r.flags&524288)!==0)c=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var m=r.alternate;if(m===null)throw Error(o(387));if(m=m.memoizedProps,m!==null){var x=r.type;kn(r.pendingProps.value,m.value)||(e!==null?e.push(x):e=[x])}}else if(r===Ql.current){if(m=r.alternate,m===null)throw Error(o(387));m.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(Ga):e=[Ga])}r=r.return}return e!==null&&Cc(t,e,n,i),t.flags|=262144,e!==null}function Mr(e){for(e=e.firstContext;e!==null;){if(!kn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ui(e){Li=e,Ll=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ft(e){return xd(Li,e)}function Rr(e,t){return Li===null&&Ui(e),xd(e,t)}function xd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ll===null){if(e===null)throw Error(o(308));Ll=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ll=Ll.next=t;return n}var X0=typeof AbortController<"u"?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()})}},Q0=l.unstable_scheduleCallback,Z0=l.unstable_NormalPriority,Mt={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wc(){return{controller:new X0,data:new Map,refCount:0}}function mu(e){e.refCount--,e.refCount===0&&Q0(Z0,function(){e.controller.abort()})}function vd(e,t){if((e.pendingLanes&4194048)!==0){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var i=t[e];n.indexOf(i)===-1&&n.push(i)}}}var pu=null;function K0(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var gu=null,kc=0,Hi=0,ba=null;function F0(e,t){if(gu===null){var n=gu=[];kc=0,Hi=Xs(),ba={status:"pending",value:void 0,then:function(i){n.push(i)}}}return kc++,t.then(Sd,Sd),t}function Sd(){if(--kc===0&&(pu=null,gu!==null)){ba!==null&&(ba.status="fulfilled");var e=gu;gu=null,Hi=0,ba=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function J0(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 Ed=me.S;me.S=function(e,t){if(mp=wt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&F0(e,t),pu!==null)for(var n=La;n!==null;)vd(n,pu),n=n.next;if(n=e.types,n!==null){for(var i=La;i!==null;)vd(i,n),i=i.next;if(Hi!==0){i=pu,i===null&&(i=pu=[]);for(var r=0;r<n.length;r++){var c=n[r];i.indexOf(c)===-1&&i.push(c)}}}Ed!==null&&Ed(e,t)};var qi=rn(null);function Oc(){var e=qi.current;return e!==null?e:ht.pooledCache}function Dr(e,t){t===null?$e(qi,qi.current):$e(qi,t.pool)}function Td(){var e=Oc();return e===null?null:{parent:Mt._currentValue,pool:e}}var xa=Error(o(460)),zc=Error(o(474)),jr=Error(o(542)),Lr={then:function(){}};function _d(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Ad(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(sl,sl),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Cd(e),e===void 0&&!("reason"in t)?Error(o(600)):e;default:if(typeof t.status=="string")t.then(sl,sl);else{if(e=ht,e!==null&&100<e.shellSuspendCounter)throw Error(o(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,Cd(e),e}throw Gi=t,xa}}function Yi(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Gi=n,xa):n}}var Gi=null;function Nd(){if(Gi===null)throw Error(o(459));var e=Gi;return Gi=null,e}function Cd(e){if(e===xa||e===jr)throw Error(o(483))}var va=null,yu=0;function Br(e){var t=yu;return yu+=1,va===null&&(va=[]),Ad(va,e,t)}function ui(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ur(e,t){throw t.$$typeof===ae?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function wd(e){function t(z,C){if(e){var R=z.deletions;R===null?(z.deletions=[C],z.flags|=16):R.push(C)}}function n(z,C){if(!e)return null;for(;C!==null;)t(z,C),C=C.sibling;return null}function i(z){for(var C=new Map;z!==null;)z.key===null?C.set(z.index,z):C.set(z.key,z),z=z.sibling;return C}function r(z,C){return z=Dl(z,C),z.index=0,z.sibling=null,z}function c(z,C,R){return z.index=R,e?(R=z.alternate,R!==null?(R=R.index,R<C?(z.flags|=2,C):R):(z.flags|=134217730,C)):(z.flags|=1048576,C)}function m(z){return e&&z.alternate===null&&(z.flags|=134217730),z}function x(z,C,R,G){return C===null||C.tag!==6?(C=Sc(R,z.mode,G),C.return=z,C):(C=r(C,R),C.return=z,C)}function T(z,C,R,G){var fe=R.type;return fe===W?(z=L(z,C,R.props.children,G,R.key),ui(z,R),z):C!==null&&(C.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===_&&Yi(fe)===C.type)?(C=r(C,R.props),ui(C,R),C.return=z,C):(C=Cr(R.type,R.key,R.props,null,z.mode,G),ui(C,R),C.return=z,C)}function M(z,C,R,G){return C===null||C.tag!==4||C.stateNode.containerInfo!==R.containerInfo||C.stateNode.implementation!==R.implementation?(C=Ec(R,z.mode,G),C.return=z,C):(C=r(C,R.children||[]),C.return=z,C)}function L(z,C,R,G,fe){return C===null||C.tag!==7?(C=Di(R,z.mode,G,fe),C.return=z,C):(C=r(C,R),C.return=z,C)}function V(z,C,R){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Sc(""+C,z.mode,R),C.return=z,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case He:return R=Cr(C.type,C.key,C.props,null,z.mode,R),ui(R,C),R.return=z,R;case B:return C=Ec(C,z.mode,R),C.return=z,C;case _:return C=Yi(C),V(z,C,R)}if(De(C)||ge(C))return C=Di(C,z.mode,R,null),C.return=z,C;if(typeof C.then=="function")return V(z,Br(C),R);if(C.$$typeof===J)return V(z,Rr(z,C),R);Ur(z,C)}return null}function O(z,C,R,G){var fe=C!==null?C.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return fe!==null?null:x(z,C,""+R,G);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case He:return R.key===fe?T(z,C,R,G):null;case B:return R.key===fe?M(z,C,R,G):null;case _:return R=Yi(R),O(z,C,R,G)}if(De(R)||ge(R))return fe!==null?null:L(z,C,R,G,null);if(typeof R.then=="function")return O(z,C,Br(R),G);if(R.$$typeof===J)return O(z,C,Rr(z,R),G);Ur(z,R)}return null}function j(z,C,R,G,fe){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return z=z.get(R)||null,x(C,z,""+G,fe);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case He:return z=z.get(G.key===null?R:G.key)||null,T(C,z,G,fe);case B:return z=z.get(G.key===null?R:G.key)||null,M(C,z,G,fe);case _:return G=Yi(G),j(z,C,R,G,fe)}if(De(G)||ge(G))return z=z.get(R)||null,L(C,z,G,fe,null);if(typeof G.then=="function")return j(z,C,R,Br(G),fe);if(G.$$typeof===J)return j(z,C,R,Rr(C,G),fe);Ur(C,G)}return null}function ne(z,C,R,G){for(var fe=null,Qe=null,ve=C,_e=C=0,jt=null;ve!==null&&_e<R.length;_e++){ve.index>_e?(jt=ve,ve=null):jt=ve.sibling;var Fe=O(z,ve,R[_e],G);if(Fe===null){ve===null&&(ve=jt);break}e&&ve&&Fe.alternate===null&&t(z,ve),C=c(Fe,C,_e),Qe===null?fe=Fe:Qe.sibling=Fe,Qe=Fe,ve=jt}if(_e===R.length)return n(z,ve),qe&&jl(z,_e),fe;if(ve===null){for(;_e<R.length;_e++)ve=V(z,R[_e],G),ve!==null&&(C=c(ve,C,_e),Qe===null?fe=ve:Qe.sibling=ve,Qe=ve);return qe&&jl(z,_e),fe}for(ve=i(ve);_e<R.length;_e++)jt=j(ve,z,_e,R[_e],G),jt!==null&&(e&&(Fe=jt.alternate,Fe!==null&&ve.delete(Fe.key===null?_e:Fe.key)),C=c(jt,C,_e),Qe===null?fe=jt:Qe.sibling=jt,Qe=jt);return e&&ve.forEach(function(Ai){return t(z,Ai)}),qe&&jl(z,_e),fe}function pe(z,C,R,G){if(R==null)throw Error(o(151));for(var fe=null,Qe=null,ve=C,_e=C=0,jt=null,Fe=R.next();ve!==null&&!Fe.done;_e++,Fe=R.next()){ve.index>_e?(jt=ve,ve=null):jt=ve.sibling;var Ai=O(z,ve,Fe.value,G);if(Ai===null){ve===null&&(ve=jt);break}e&&ve&&Ai.alternate===null&&t(z,ve),C=c(Ai,C,_e),Qe===null?fe=Ai:Qe.sibling=Ai,Qe=Ai,ve=jt}if(Fe.done)return n(z,ve),qe&&jl(z,_e),fe;if(ve===null){for(;!Fe.done;_e++,Fe=R.next())Fe=V(z,Fe.value,G),Fe!==null&&(C=c(Fe,C,_e),Qe===null?fe=Fe:Qe.sibling=Fe,Qe=Fe);return qe&&jl(z,_e),fe}for(ve=i(ve);!Fe.done;_e++,Fe=R.next())Fe=j(ve,z,_e,Fe.value,G),Fe!==null&&(e&&(jt=Fe.alternate,jt!==null&&ve.delete(jt.key===null?_e:jt.key)),C=c(Fe,C,_e),Qe===null?fe=Fe:Qe.sibling=Fe,Qe=Fe);return e&&ve.forEach(function(Ox){return t(z,Ox)}),qe&&jl(z,_e),fe}function Be(z,C,R,G){if(typeof R=="object"&&R!==null&&R.type===W&&R.key===null&&R.props.ref===void 0&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case He:e:{for(var fe=R.key;C!==null;){if(C.key===fe){if(fe=R.type,fe===W){if(C.tag===7){n(z,C.sibling),G=r(C,R.props.children),ui(G,R),G.return=z,z=G;break e}}else if(C.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===_&&Yi(fe)===C.type){n(z,C.sibling),G=r(C,R.props),ui(G,R),G.return=z,z=G;break e}n(z,C);break}else t(z,C);C=C.sibling}R.type===W?(G=Di(R.props.children,z.mode,G,R.key),ui(G,R),G.return=z,z=G):(G=Cr(R.type,R.key,R.props,null,z.mode,G),ui(G,R),G.return=z,z=G)}return m(z);case B:e:{for(fe=R.key;C!==null;){if(C.key===fe)if(C.tag===4&&C.stateNode.containerInfo===R.containerInfo&&C.stateNode.implementation===R.implementation){n(z,C.sibling),G=r(C,R.children||[]),G.return=z,z=G;break e}else{n(z,C);break}else t(z,C);C=C.sibling}G=Ec(R,z.mode,G),G.return=z,z=G}return m(z);case _:return R=Yi(R),Be(z,C,R,G)}if(De(R))return ne(z,C,R,G);if(ge(R)){if(fe=ge(R),typeof fe!="function")throw Error(o(150));return R=fe.call(R),pe(z,C,R,G)}if(typeof R.then=="function")return Be(z,C,Br(R),G);if(R.$$typeof===J)return Be(z,C,Rr(z,R),G);Ur(z,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(R=""+R,C!==null&&C.tag===6?(n(z,C.sibling),G=r(C,R),G.return=z,z=G):(n(z,C),G=Sc(R,z.mode,G),G.return=z,z=G),m(z)):n(z,C)}return function(z,C,R,G){try{yu=0;var fe=Be(z,C,R,G);return va=null,fe}catch(ve){if(ve===xa||ve===jr)throw ve;var Qe=bn(29,ve,null,z.mode);return Qe.lanes=G,Qe.return=z,Qe}finally{}}}var Vi=wd(!0),kd=wd(!1),ri=!1;function Mc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Rc(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 oi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ci(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(et&2)!==0){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,t=Nr(e),hd(e,null,n),t}return Ar(e,i,t,n),Nr(e)}function bu(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,Wn(e,n)}}function Dc(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var m={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?r=c=m:c=c.next=m,n=n.next}while(n!==null);c===null?r=c=t:c=c.next=t}else r=c=t;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:c,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 xu(){if(jc){var e=ba;if(e!==null)throw e}}function vu(e,t,n,i){jc=!1;var r=e.updateQueue;ri=!1;var c=r.firstBaseUpdate,m=r.lastBaseUpdate,x=r.shared.pending;if(x!==null){r.shared.pending=null;var T=x,M=T.next;T.next=null,m===null?c=M:m.next=M,m=T;var L=e.alternate;L!==null&&(L=L.updateQueue,x=L.lastBaseUpdate,x!==m&&(x===null?L.firstBaseUpdate=M:x.next=M,L.lastBaseUpdate=T))}if(c!==null){var V=r.baseState;m=0,L=M=T=null,x=c;do{var O=x.lane&-536870913,j=O!==x.lane;if(j?(Xe&O)===O:(i&O)===O){O!==0&&O===Hi&&(jc=!0),L!==null&&(L=L.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var ne=e,pe=x;O=t;var Be=n;switch(pe.tag){case 1:if(ne=pe.payload,typeof ne=="function"){V=ne.call(Be,V,O);break e}V=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=pe.payload,O=typeof ne=="function"?ne.call(Be,V,O):ne,O==null)break e;V=P({},V,O);break e;case 2:ri=!0}}O=x.callback,O!==null&&(e.flags|=64,j&&(e.flags|=8192),j=r.callbacks,j===null?r.callbacks=[O]:j.push(O))}else j={lane:O,tag:x.tag,payload:x.payload,callback:x.callback,next:null},L===null?(M=L=j,T=V):L=L.next=j,m|=O;if(x=x.next,x===null){if(x=r.shared.pending,x===null)break;j=x,x=j.next,j.next=null,r.lastBaseUpdate=j,r.shared.pending=null}}while(!0);L===null&&(T=V),r.baseState=T,r.firstBaseUpdate=M,r.lastBaseUpdate=L,c===null&&(r.shared.lanes=0),gi|=m,e.lanes=m,e.memoizedState=V}}function Od(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function zd(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Od(n[e],t)}var si=rn(null),Hr=rn(0);function Md(e,t){e=Gl,$e(Hr,e),$e(si,t),Gl=e|t.baseLanes}function Lc(){$e(Hr,Gl),$e(si,si.current)}function Bc(){Gl=Hr.current,vt(si),vt(Hr)}var Jt=rn(null),ln=null;function fi(e){var t=e.alternate;$e($t,$t.current&1),$e(Jt,e),ln===null&&(t===null||si.current!==null||t.memoizedState!==null)&&(ln=e)}function Uc(e){$e($t,$t.current),$e(Jt,e),ln===null&&(ln=e)}function Rd(e){e.tag===22?($e($t,$t.current),$e(Jt,e),ln===null&&(ln=e)):hi()}function hi(){$e($t,$t.current),$e(Jt,Jt.current)}function On(e){vt(Jt),ln===e&&(ln=null),vt($t)}var $t=rn(0);function Su(e,t){$e(Jt,Jt.current),$e($t,t)}function Hc(e){vt($t),vt(Jt),ln===e&&(ln=null)}function qr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||of(n)||cf(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ul=0,Le=null,st=null,Rt=null,Yr=!1,Sa=!1,Ii=!1,Gr=0,Eu=0,Ea=null,$0=0;function Et(){throw Error(o(321))}function qc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!kn(e[n],t[n]))return!1;return!0}function Yc(e,t,n,i,r,c){return Ul=c,Le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,me.H=e===null||e.memoizedState===null?gm:ym,Ii=!1,c=n(i,r),Ii=!1,Sa&&(c=jd(t,n,i,r)),Dd(e),c}function Dd(e){me.H=Fr;var t=st!==null&&st.next!==null;if(Ul=0,Rt=st=Le=null,Yr=!1,Eu=0,Ea=null,t)throw Error(o(300));e===null||Dt||(e=e.dependencies,e!==null&&Mr(e)&&(Dt=!0))}function jd(e,t,n,i){Le=e;var r=0;do{if(Sa&&(Ea=null),Eu=0,Sa=!1,25<=r)throw Error(o(301));if(r+=1,Rt=st=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}me.H=ab,c=t(n,i)}while(Sa);return c}function P0(){var e=me.H,t=e.useState()[0];return t=typeof t.then=="function"?Tu(t):t,e=e.useState()[0],(st!==null?st.memoizedState:null)!==e&&(Le.flags|=1024),t}function Gc(){var e=Gr!==0;return Gr=0,e}function Vc(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ic(e){if(Yr){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Yr=!1}Ul=0,Rt=st=Le=null,Sa=!1,Eu=Gr=0,Ea=null}function sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rt===null?Le.memoizedState=Rt=e:Rt=Rt.next=e,Rt}function Nt(){if(st===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=st.next;var t=Rt===null?Le.memoizedState:Rt.next;if(t!==null)Rt=t,st=e;else{if(e===null)throw Le.alternate===null?Error(o(467)):Error(o(310));st=e,e={memoizedState:st.memoizedState,baseState:st.baseState,baseQueue:st.baseQueue,queue:st.queue,next:null},Rt===null?Le.memoizedState=Rt=e:Rt=Rt.next=e}return Rt}function Vr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tu(e){var t=Eu;return Eu+=1,Ea===null&&(Ea=[]),e=Ad(Ea,e,t),t=Le,(Rt===null?t.memoizedState:Rt.next)===null&&(t=t.alternate,me.H=t===null||t.memoizedState===null?gm:ym),e}function Ir(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Tu(e);if(e.$$typeof===Z)return;if(e.$$typeof===J)return Ft(e)}throw Error(o(438,String(e)))}function Xc(e){var t=null,n=Le.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=Le.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=Vr(),Le.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]=N;return t.index++,n}function Hl(e,t){return typeof t=="function"?t(e):t}function Xr(e){var t=Nt();return Qc(t,st,e)}function Qc(e,t,n){var i=e.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=n;var r=e.baseQueue,c=i.pending;if(c!==null){if(r!==null){var m=r.next;r.next=c.next,c.next=m}t.baseQueue=r=c,i.pending=null}if(c=e.baseState,r===null)e.memoizedState=c;else{t=r.next;var x=m=null,T=null,M=t,L=!1;do{var V=M.lane&-536870913;if(V!==M.lane?(Xe&V)===V:(Ul&V)===V){var O=M.revertLane;if(O===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),V===Hi&&(L=!0);else if((Ul&O)===O){M=M.next,O===Hi&&(L=!0);continue}else V={lane:0,revertLane:M.revertLane,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},T===null?(x=T=V,m=c):T=T.next=V,Le.lanes|=O,gi|=O;V=M.action,Ii&&n(c,V),c=M.hasEagerState?M.eagerState:n(c,V)}else O={lane:V,revertLane:M.revertLane,gesture:M.gesture,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},T===null?(x=T=O,m=c):T=T.next=O,Le.lanes|=V,gi|=V;M=M.next}while(M!==null&&M!==t);if(T===null?m=c:T.next=x,!kn(c,e.memoizedState)&&(Dt=!0,L&&(n=ba,n!==null)))throw n;e.memoizedState=c,e.baseState=m,e.baseQueue=T,i.lastRenderedState=c}return r===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Zc(e){var t=Nt(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var i=n.dispatch,r=n.pending,c=t.memoizedState;if(r!==null){n.pending=null;var m=r=r.next;do c=e(c,m.action),m=m.next;while(m!==r);kn(c,t.memoizedState)||(Dt=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,i]}function Ld(e,t,n){var i=Le,r=Nt(),c=qe;if(c){if(n===void 0)throw Error(o(407));n=n()}else n=t();var m=!kn((st||r).memoizedState,n);if(m&&(r.memoizedState=n,Dt=!0),r=r.queue,Jc(Hd.bind(null,i,r,e),[e]),e=r.getSnapshot!==t||m||Rt!==null&&(Rt.memoizedState.tag&1)!==0,Ta(e?9:8,{destroy:void 0},Ud.bind(null,i,r,n,t),null),e){if(i.flags|=2048,ht===null)throw Error(o(349));c||(Ul&127)!==0||Bd(i,t,n)}return n}function Bd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Le.updateQueue,t===null?(t=Vr(),Le.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ud(e,t,n,i){t.value=n,t.getSnapshot=i,qd(t)&&Yd(e)}function Hd(e,t,n){return n(function(){qd(t)&&Yd(e)})}function qd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!kn(e,n)}catch{return!0}}function Yd(e){var t=Ri(e,2);t!==null&&En(t,e,2)}function Kc(e){var t=sn();if(typeof e=="function"){var n=e;if(e=n(),Ii){se(!0);try{n()}finally{se(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hl,lastRenderedState:e},t}function Gd(e,t,n,i){return e.baseState=n,Qc(e,st,typeof i=="function"?i:Hl)}function W0(e,t,n,i,r){if(Kr(e))throw Error(o(485));if(e=t.action,e!==null){var c={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};me.T!==null?n(!0):c.isTransition=!1,i(c),n=t.pending,n===null?(c.next=t.pending=c,Vd(t,c)):(c.next=n.next,t.pending=n.next=c)}}function Vd(e,t){var n=t.action,i=t.payload,r=e.state;if(t.isTransition){var c=me.T,m={};m.types=c!==null?c.types:null,me.T=m;try{var x=n(r,i),T=me.S;T!==null&&T(m,x),Id(e,t,x)}catch(M){Fc(e,t,M)}finally{c!==null&&m.types!==null&&(c.types=m.types),me.T=c}}else try{c=n(r,i),Id(e,t,c)}catch(M){Fc(e,t,M)}}function Id(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){Xd(e,t,i)},function(i){return Fc(e,t,i)}):Xd(e,t,n)}function Xd(e,t,n){t.status="fulfilled",t.value=n,Qd(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Vd(e,n)))}function Fc(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,Qd(t),t=t.next;while(t!==i)}e.action=null}function Qd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Zd(e,t){return t}function Kd(e,t){if(qe){var n=ht.formState;if(n!==null){e:{var i=Le;if(qe){if(pt){t:{for(var r=pt,c=Vn;r.nodeType!==8;){if(!c){r=null;break t}if(r=Xn(r.nextSibling),r===null){r=null;break t}}c=r.data,r=c==="F!"||c==="F"?r:null}if(r){pt=Xn(r.nextSibling),i=r.data==="F!";break e}}ii(i)}i=!1}i&&(t=n[0])}}return n=sn(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zd,lastRenderedState:t},n.queue=i,n=dm.bind(null,Le,i),i.dispatch=n,i=Kc(!1),c=ts.bind(null,Le,!1,i.queue),i=sn(),r={state:t,dispatch:null,action:e,pending:null},i.queue=r,n=W0.bind(null,Le,r,c,n),r.dispatch=n,i.memoizedState=e,[t,n,!1]}function Fd(e){var t=Nt();return Jd(t,st,e)}function Jd(e,t,n){if(t=Qc(e,t,Zd)[0],e=Xr(Hl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Tu(t)}catch(m){throw m===xa?jr:m}else i=t;t=Nt();var r=t.queue,c=r.dispatch;return n!==t.memoizedState&&(Le.flags|=2048,Ta(9,{destroy:void 0},eb.bind(null,r,n),null)),[i,c,e]}function eb(e,t){e.action=t}function $d(e){var t=Nt(),n=st;if(n!==null)return Jd(t,n,e);Nt(),t=t.memoizedState,n=Nt();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function Ta(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=Le.updateQueue,t===null&&(t=Vr(),Le.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 Pd(){return Nt().memoizedState}function Qr(e,t,n,i){var r=sn();Le.flags|=e,r.memoizedState=Ta(1|t,{destroy:void 0},n,i===void 0?null:i)}function Zr(e,t,n,i){var r=Nt();i=i===void 0?null:i;var c=r.memoizedState.inst;st!==null&&i!==null&&qc(i,st.memoizedState.deps)?r.memoizedState=Ta(t,c,n,i):(Le.flags|=e,r.memoizedState=Ta(1|t,c,n,i))}function Wd(e,t){Qr(8390656,8,e,t)}function Jc(e,t){Zr(2048,8,e,t)}function tb(e){Le.flags|=4;var t=Le.updateQueue;if(t===null)t=Vr(),Le.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function em(e){var t=Nt().memoizedState;return tb({ref:t,nextImpl:e}),function(){if((et&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function tm(e,t){return Zr(4,2,e,t)}function nm(e,t){return Zr(4,4,e,t)}function lm(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 im(e,t,n){n=n!=null?n.concat([e]):null,Zr(4,4,lm.bind(null,t,e),n)}function $c(){}function am(e,t){var n=Nt();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&qc(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function um(e,t){var n=Nt();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&qc(t,i[1]))return i[0];if(i=e(),Ii){se(!0);try{e()}finally{se(!1)}}return n.memoizedState=[i,t],i}function Pc(e,t,n){return n===void 0||(Ul&1073741824)!==0&&(Xe&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=gp(),Le.lanes|=e,gi|=e,n)}function rm(e,t,n,i){return kn(n,t)?n:si.current!==null?(e=Pc(e,n,i),kn(e,t)||(Dt=!0),e):(Ul&106)===0||(Ul&1073741824)!==0&&(Xe&261930)===0?(Dt=!0,e.memoizedState=n):(e=gp(),Le.lanes|=e,gi|=e,t)}function om(e,t,n,i,r){var c=Ee.p;Ee.p=c!==0&&8>c?c:8;var m=me.T,x={};x.types=m!==null?m.types:null,me.T=x,ts(e,!1,t,n);try{var T=r(),M=me.S;if(M!==null&&M(x,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var L=J0(T,i);_u(e,t,L,Dn(e))}else _u(e,t,i,Dn(e))}catch(V){_u(e,t,{then:function(){},status:"rejected",reason:V},Dn())}finally{Ee.p=c,m!==null&&x.types!==null&&(m.types=x.types),me.T=m}}function nb(){}function Wc(e,t,n,i){if(e.tag!==5)throw Error(o(476));var r=cm(e).queue;om(e,r,t,An,n===null?nb:function(){return sm(e),n(i)})}function cm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:An,baseState:An,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hl,lastRenderedState:An},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hl,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function sm(e){var t=cm(e);t.next===null&&(t=e.alternate.memoizedState),_u(e,t.next.queue,{},Dn())}function es(){return Ft(Ga)}function fm(){return Nt().memoizedState}function hm(){return Nt().memoizedState}function lb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Dn();e=oi(n);var i=ci(t,e,n);i!==null&&(En(i,t,n),bu(i,t,n)),t={cache:wc()},e.payload=t;return}t=t.return}}function ib(e,t,n){var i=Dn();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Kr(e)?mm(t,n):(n=xc(e,t,n,i),n!==null&&(En(n,e,i),pm(n,t,i)))}function dm(e,t,n){var i=Dn();_u(e,t,n,i)}function _u(e,t,n,i){var r={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Kr(e))mm(t,r);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var m=t.lastRenderedState,x=c(m,n);if(r.hasEagerState=!0,r.eagerState=x,kn(x,m))return Ar(e,t,r,0),ht===null&&_r(),!1}catch{}finally{}if(n=xc(e,t,r,i),n!==null)return En(n,e,i),pm(n,t,i),!0}return!1}function ts(e,t,n,i){if(i={lane:2,revertLane:Xs(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Kr(e)){if(t)throw Error(o(479))}else t=xc(e,n,i,2),t!==null&&En(t,e,2)}function Kr(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function mm(e,t){Sa=Yr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function pm(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Wn(e,n)}}var Fr={readContext:Ft,use:Ir,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useLayoutEffect:Et,useInsertionEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useSyncExternalStore:Et,useId:Et,useHostTransitionStatus:Et,useFormState:Et,useActionState:Et,useOptimistic:Et,useMemoCache:Et,useCacheRefresh:Et,useEffectEvent:Et},gm={readContext:Ft,use:Ir,useCallback:function(e,t){return sn().memoizedState=[e,t===void 0?null:t],e},useContext:Ft,useEffect:Wd,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Qr(4194308,4,lm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qr(4194308,4,e,t)},useInsertionEffect:function(e,t){Qr(4,2,e,t)},useMemo:function(e,t){var n=sn();t=t===void 0?null:t;var i=e();if(Ii){se(!0);try{e()}finally{se(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=sn();if(n!==void 0){var r=n(t);if(Ii){se(!0);try{n(t)}finally{se(!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=ib.bind(null,Le,e),[i.memoizedState,e]},useRef:function(e){var t=sn();return e={current:e},t.memoizedState=e},useState:function(e){e=Kc(e);var t=e.queue,n=dm.bind(null,Le,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:$c,useDeferredValue:function(e,t){var n=sn();return Pc(n,e,t)},useTransition:function(){var e=Kc(!1);return e=om.bind(null,Le,e.queue,!0,!1),sn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=Le,r=sn();if(qe){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),ht===null)throw Error(o(349));(Xe&127)!==0||Bd(i,t,n)}r.memoizedState=n;var c={value:n,getSnapshot:t};return r.queue=c,Wd(Hd.bind(null,i,c,e),[e]),i.flags|=2048,Ta(9,{destroy:void 0},Ud.bind(null,i,c,n,t),null),n},useId:function(){var e=sn(),t=ht.identifierPrefix;if(qe){var n=hl,i=fl;n=(i&~(1<<32-te(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Gr++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=$0++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:es,useFormState:Kd,useActionState:Kd,useOptimistic:function(e){var t=sn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ts.bind(null,Le,!0,n),n.dispatch=t,[e,t]},useMemoCache:Xc,useCacheRefresh:function(){return sn().memoizedState=lb.bind(null,Le)},useEffectEvent:function(e){var t=sn(),n={impl:e};return t.memoizedState=n,function(){if((et&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},ym={readContext:Ft,use:Ir,useCallback:am,useContext:Ft,useEffect:Jc,useImperativeHandle:im,useInsertionEffect:tm,useLayoutEffect:nm,useMemo:um,useReducer:Xr,useRef:Pd,useState:function(){return Xr(Hl)},useDebugValue:$c,useDeferredValue:function(e,t){var n=Nt();return rm(n,st.memoizedState,e,t)},useTransition:function(){var e=Xr(Hl)[0],t=Nt().memoizedState;return[typeof e=="boolean"?e:Tu(e),t]},useSyncExternalStore:Ld,useId:fm,useHostTransitionStatus:es,useFormState:Fd,useActionState:Fd,useOptimistic:function(e,t){var n=Nt();return Gd(n,st,e,t)},useMemoCache:Xc,useCacheRefresh:hm,useEffectEvent:em},ab={readContext:Ft,use:Ir,useCallback:am,useContext:Ft,useEffect:Jc,useImperativeHandle:im,useInsertionEffect:tm,useLayoutEffect:nm,useMemo:um,useReducer:Zc,useRef:Pd,useState:function(){return Zc(Hl)},useDebugValue:$c,useDeferredValue:function(e,t){var n=Nt();return st===null?Pc(n,e,t):rm(n,st.memoizedState,e,t)},useTransition:function(){var e=Zc(Hl)[0],t=Nt().memoizedState;return[typeof e=="boolean"?e:Tu(e),t]},useSyncExternalStore:Ld,useId:fm,useHostTransitionStatus:es,useFormState:$d,useActionState:$d,useOptimistic:function(e,t){var n=Nt();return st!==null?Gd(n,st,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Xc,useCacheRefresh:hm,useEffectEvent:em};function ns(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:P({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ls={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Dn(),r=oi(i);r.payload=t,n!=null&&(r.callback=n),t=ci(e,r,i),t!==null&&(En(t,e,i),bu(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Dn(),r=oi(i);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=ci(e,r,i),t!==null&&(En(t,e,i),bu(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Dn(),i=oi(n);i.tag=2,t!=null&&(i.callback=t),t=ci(e,i,n),t!==null&&(En(t,e,n),bu(t,e,n))}};function bm(e,t,n,i,r,c,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,c,m):t.prototype&&t.prototype.isPureReactComponent?!su(n,i)||!su(r,c):!0}function xm(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&&ls.enqueueReplaceState(t,t.state,null)}function Xi(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=P({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function vm(e){Tr(e)}function Sm(e){console.error(e)}function Em(e){Tr(e)}function Jr(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function Tm(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 is(e,t,n){return n=oi(n),n.tag=3,n.payload={element:null},n.callback=function(){Jr(e,t)},n}function _m(e){return e=oi(e),e.tag=3,e}function Am(e,t,n,i){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var c=i.value;e.payload=function(){return r(c)},e.callback=function(){Tm(t,n,i)}}var m=n.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){Tm(t,n,i),typeof r!="function"&&(yi===null?yi=new Set([this]):yi.add(this));var x=i.stack;this.componentDidCatch(i.value,{componentStack:x!==null?x:""})})}function ub(e,t,n,i,r){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&Bi(t,n,r,!0),n=Jt.current,n!==null){switch(n.tag){case 31:case 13:case 19:return ln===null?bo():n.alternate===null&&Tt===0&&(Tt=3),n.flags&=-257,n.flags|=65536,n.lanes=r,i===Lr?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),Gs(e,i,r)),!1;case 22:return n.flags|=65536,i===Lr?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)),Gs(e,i,r)),!1}throw Error(o(435,n.tag))}return Gs(e,i,r),bo(),!1}if(qe)return t=Jt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,i!==_c&&(e=Error(o(422),{cause:i}),du(qn(e,n)))):(i!==_c&&(t=Error(o(423),{cause:i}),du(qn(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,i=qn(i,n),r=is(e.stateNode,i,r),Dc(e,r),Tt!==4&&(Tt=2)),!1;var c=Error(o(520),{cause:i});if(c=qn(c,n),Mu===null?Mu=[c]:Mu.push(c),Tt!==4&&(Tt=2),t===null)return!0;i=qn(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=is(n.stateNode,i,e),Dc(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(yi===null||!yi.has(c))))return n.flags|=65536,r&=-r,n.lanes|=r,r=_m(r),Am(r,e,n,i),Dc(n,r),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var as=Error(o(461)),Dt=!1;function Ht(e,t,n,i){t.child=e===null?kd(t,null,n,i):Vi(t,e.child,n,i)}function Nm(e,t,n,i,r){n=n.render;var c=t.ref;if("ref"in i){var m={};for(var x in i)x!=="ref"&&(m[x]=i[x])}else m=i;return Ui(t),i=Yc(e,t,n,m,c,r),x=Gc(),e!==null&&!Dt?(Vc(e,t,r),ql(e,t,r)):(qe&&x&&kr(t),t.flags|=1,Ht(e,t,i,r),t.child)}function Cm(e,t,n,i,r){if(e===null){var c=n.type;return typeof c=="function"&&!vc(c)&&c.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=c,wm(e,t,c,i,r)):(e=Cr(n.type,null,i,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!ds(e,r)){var m=c.memoizedProps;if(n=n.compare,n=n!==null?n:su,n(m,i)&&e.ref===t.ref)return ql(e,t,r)}return t.flags|=1,e=Dl(c,i),e.ref=t.ref,e.return=t,t.child=e}function wm(e,t,n,i,r){if(e!==null){var c=e.memoizedProps;if(su(c,i)&&e.ref===t.ref)if(Dt=!1,t.pendingProps=i=c,ds(e,r))(e.flags&131072)!==0&&(Dt=!0);else return t.lanes=e.lanes,ql(e,t,r)}return us(e,t,n,i,r)}function km(e,t,n,i){var r=i.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,e!==null){for(i=t.child=e.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;i=r&~c}else i=0,t.child=null;return Om(e,t,c,n,i)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Dr(t,c!==null?c.cachePool:null),c!==null?Md(t,c):Lc(),Rd(t);else return i=t.lanes=536870912,Om(e,t,c!==null?c.baseLanes|n:n,n,i)}else c!==null?(Dr(t,c.cachePool),Md(t,c),hi(),t.memoizedState=null):(e!==null&&Dr(t,null),Lc(),hi());return Ht(e,t,r,n),t.child}function Au(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Om(e,t,n,i,r){var c=Oc();return c=c===null?null:{parent:Mt._currentValue,pool:c},t.memoizedState={baseLanes:n,cachePool:c},e!==null&&Dr(t,null),Lc(),Rd(t),e!==null&&Bi(e,t,i,!0),t.childLanes=r,null}function $r(e,t){return t=Pr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function zm(e,t,n){return Vi(t,e.child,null,n),e=$r(t,t.pendingProps),e.flags|=2,On(t),t.memoizedState=null,e}function rb(e,t,n){var i=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(qe){if(i.mode==="hidden")return e=$r(t,i),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Au(null,e);if(Uc(t),(e=pt)?(e=lg(e,Vn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ni!==null?{id:fl,overflow:hl}:null,retryLane:536870912,hydrationErrors:null},n=md(e),n.return=t,t.child=n,Vt=t,pt=null)):e=null,e===null)throw ii(t);return t.lanes=536870912,null}return $r(t,i)}var c=e.memoizedState;if(c!==null){var m=c.dehydrated;if(Uc(t),r)if(t.flags&256)t.flags&=-257,t=zm(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Dt||Bi(e,t,n,!1),r=(n&e.childLanes)!==0,Dt||r){if(si.current===null){if(i=ht,i!==null&&(m=eu(i,n),m!==0&&m!==c.retryLane))throw c.retryLane=m,Ri(e,m),En(i,e,m),as;bo()}t=zm(e,t,n)}else e=c.treeContext,pt=Xn(m.nextSibling),Vt=t,qe=!0,li=null,Vn=!1,e!==null&&yd(t,e),t=$r(t,i),t.flags|=134221824;return t}return e=Dl(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function _a(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(o(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function us(e,t,n,i,r){return Ui(t),n=Yc(e,t,n,i,void 0,r),i=Gc(),e!==null&&!Dt?(Vc(e,t,r),ql(e,t,r)):(qe&&i&&kr(t),t.flags|=1,Ht(e,t,n,r),t.child)}function Mm(e,t,n,i,r,c){return Ui(t),t.updateQueue=null,n=jd(t,i,n,r),Dd(e),i=Gc(),e!==null&&!Dt?(Vc(e,t,c),ql(e,t,c)):(qe&&i&&kr(t),t.flags|=1,Ht(e,t,n,c),t.child)}function Rm(e,t,n,i,r){if(Ui(t),t.stateNode===null){var c=ma,m=n.contextType;typeof m=="object"&&m!==null&&(c=Ft(m)),c=new n(i,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ls,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=i,c.state=t.memoizedState,c.refs={},Mc(t),m=n.contextType,c.context=typeof m=="object"&&m!==null?Ft(m):ma,c.state=t.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(ns(t,n,m,i),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&ls.enqueueReplaceState(c,c.state,null),vu(t,i,c,r),xu(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){c=t.stateNode;var x=t.memoizedProps,T=Xi(n,x);c.props=T;var M=c.context,L=n.contextType;m=ma,typeof L=="object"&&L!==null&&(m=Ft(L));var V=n.getDerivedStateFromProps;L=typeof V=="function"||typeof c.getSnapshotBeforeUpdate=="function",x=t.pendingProps!==x,L||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(x||M!==m)&&xm(t,c,i,m),ri=!1;var O=t.memoizedState;c.state=O,vu(t,i,c,r),xu(),M=t.memoizedState,x||O!==M||ri?(typeof V=="function"&&(ns(t,n,V,i),M=t.memoizedState),(T=ri||bm(t,n,T,i,O,M,m))?(L||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=M),c.props=i,c.state=M,c.context=m,i=T):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{c=t.stateNode,Rc(e,t),m=t.memoizedProps,L=Xi(n,m),c.props=L,V=t.pendingProps,O=c.context,M=n.contextType,T=ma,typeof M=="object"&&M!==null&&(T=Ft(M)),x=n.getDerivedStateFromProps,(M=typeof x=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==V||O!==T)&&xm(t,c,i,T),ri=!1,O=t.memoizedState,c.state=O,vu(t,i,c,r),xu();var j=t.memoizedState;m!==V||O!==j||ri||e!==null&&e.dependencies!==null&&Mr(e.dependencies)?(typeof x=="function"&&(ns(t,n,x,i),j=t.memoizedState),(L=ri||bm(t,n,L,i,O,j,T)||e!==null&&e.dependencies!==null&&Mr(e.dependencies))?(M||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(i,j,T),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(i,j,T)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=j),c.props=i,c.state=j,c.context=T,i=L):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),i=!1)}return c=i,_a(e,t),i=(t.flags&128)!==0,c||i?(c=t.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&i?(t.child=Vi(t,e.child,null,r),t.child=Vi(t,null,n,r)):Ht(e,t,n,r),t.memoizedState=c.state,e=t.child):e=ql(e,t,r),e}function Dm(e,t,n,i){return ji(),t.flags|=256,Ht(e,t,n,i),t.child}var rs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function os(e){return{baseLanes:e,cachePool:Td()}}function cs(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Rn),e}function jm(e,t,n){var i=t.pendingProps,r=!1,c=(t.flags&128)!==0,m;if((m=c)||(m=e!==null&&e.memoizedState===null?!1:($t.current&2)!==0),m&&(r=!0,t.flags&=-129),m=(t.flags&32)!==0,t.flags&=-33,e===null){if(qe){if(r?fi(t):hi(),(e=pt)?(e=lg(e,Vn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ni!==null?{id:fl,overflow:hl}:null,retryLane:536870912,hydrationErrors:null},n=md(e),n.return=t,t.child=n,Vt=t,pt=null)):e=null,e===null)throw ii(t);return cf(e)?t.lanes=32:t.lanes=536870912,null}return c=i.children,i=i.fallback,r?(hi(),r=t.mode,c=Pr({mode:"hidden",children:c},r),i=Di(i,r,n,null),c.return=t,i.return=t,c.sibling=i,t.child=c,i=t.child,i.memoizedState=os(n),i.childLanes=cs(e,m,n),t.memoizedState=rs,Au(null,i)):(fi(t),ss(t,c))}var x=e.memoizedState;if(x!==null){var T=x.dehydrated;if(T!==null)return ob(e,t,c,m,i,T,x,n)}return r?(hi(),r=i.fallback,c=t.mode,x=e.child,T=x.sibling,i=Dl(x,{mode:"hidden",children:i.children}),i.subtreeFlags=x.subtreeFlags&1206910976,T!==null?r=Dl(T,r):(r=Di(r,c,n,null),r.flags|=2),r.return=t,i.return=t,i.sibling=r,t.child=i,Au(null,i),i=t.child,r=e.child.memoizedState,r===null?r=os(n):(c=r.cachePool,c!==null?(x=Mt._currentValue,c=c.parent!==x?{parent:x,pool:x}:c):c=Td(),r={baseLanes:r.baseLanes|n,cachePool:c}),i.memoizedState=r,i.childLanes=cs(e,m,n),t.memoizedState=rs,Au(e.child,i)):(fi(t),n=e.child,e=n.sibling,n=Dl(n,{mode:"visible",children:i.children}),n.return=t,n.sibling=null,e!==null&&(m=t.deletions,m===null?(t.deletions=[e],t.flags|=16):m.push(e)),t.child=n,t.memoizedState=null,n)}function ss(e,t){return t=Pr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Pr(e,t){return e=bn(22,e,null,t),e.lanes=0,e}function Wr(e,t,n){return Vi(t,e.child,null,n),e=ss(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ob(e,t,n,i,r,c,m,x){if(n)return t.flags&256?(fi(t),t.flags&=-257,Wr(e,t,x)):t.memoizedState!==null?(hi(),t.child=e.child,t.flags|=128,null):(hi(),c=r.fallback,m=t.mode,r=Pr({mode:"visible",children:r.children},m),c=Di(c,m,x,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Vi(t,e.child,null,x),r=t.child,r.memoizedState=os(x),r.childLanes=cs(e,i,x),t.memoizedState=rs,Au(null,r));if(fi(t),cf(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var T=i.dgst;return i=T,i!==""&&(r=Error(o(419)),r.stack="",r.digest=i,du({value:r,source:null,stack:null})),Wr(e,t,x)}if(Dt||Bi(e,t,x,!1),i=(x&e.childLanes)!==0,Dt||i){if(si.current!==null)return Wr(e,t,x);if(i=ht,i!==null&&(r=eu(i,x),r!==0&&r!==m.retryLane))throw m.retryLane=r,Ri(e,r),En(i,e,r),as;return of(c)||bo(),Wr(e,t,x)}return of(c)?(t.flags|=192,t.child=e.child,null):(e=m.treeContext,pt=Xn(c.nextSibling),Vt=t,qe=!0,li=null,Vn=!1,e!==null&&yd(t,e),t=ss(t,r.children),t.flags|=134221824,t)}function Lm(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),zr(e.return,t,n)}function Bm(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&qr(n)===null&&(t=e),e=e.sibling}return t}function eo(e,t,n,i,r,c){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r,treeForkCount:c}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=i,m.tail=n,m.tailMode=r,m.treeForkCount=c)}function fs(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function hs(e,t,n){var i=t.pendingProps,r=i.revealOrder,c=i.tail;i=i.children;var m=$t.current;if(t.flags&128)return Su(t,m),null;var x=(m&2)!==0;if(x?(m=m&1|2,t.flags|=128):m&=1,Su(t,m),r==="backwards"&&e!==null?(fs(e),Ht(e,t,i,n),fs(e)):Ht(e,t,i,n),i=qe?hu:0,!x&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Lm(e,n,t);else if(e.tag===19)Lm(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}switch(r){case"backwards":n=Bm(t.child),n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null,fs(t)),eo(t,!0,r,null,c,i);break;case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&qr(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}eo(t,!0,n,null,c,i);break;case"together":eo(t,!1,null,null,void 0,i);break;case"independent":t.memoizedState=null;break;default:n=Bm(t.child),n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),eo(t,!1,r,n,c,i)}return t.child}function Um(e,t,n){var i=t.pendingProps;return ai(t,t.type,i.value),Ht(e,t,i.children,n),t.child}function ql(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),gi|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Bi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=Dl(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Dl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ds(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Mr(e)))}function cb(e,t,n){switch(t.tag){case 3:Tl(t,t.stateNode.containerInfo),ai(t,Mt,e.memoizedState.cache),ji();break;case 27:case 5:Zl(t);break;case 4:Tl(t,t.stateNode.containerInfo);break;case 10:ai(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Uc(t),null;break;case 13:var i=t.memoizedState;if(i!==null){if(i.dehydrated!==null)return fi(t),t.flags|=128,null;i=Bi(e,t,n,!1);var r=t.child.childLanes;return i||(n&r)!==0?jm(e,t,n):(fi(t),e=ql(e,t,n),e!==null?e.sibling:null)}fi(t);break;case 19:if(t.flags&128)return hs(e,t,n);if(r=(e.flags&128)!==0,i=(n&t.childLanes)!==0,i||(Bi(e,t,n,!1),i=(n&t.childLanes)!==0),r){if(i)return hs(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Su(t,$t.current),i)break;return null;case 22:return t.lanes=0,km(e,t,n,t.pendingProps);case 24:ai(t,Mt,e.memoizedState.cache)}return ql(e,t,n)}function Hm(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Dt=!0;else{if(!ds(e,n)&&(t.flags&128)===0)return Dt=!1,cb(e,t,n);Dt=(e.flags&131072)!==0}else Dt=!1,qe&&(t.flags&1048576)!==0&&gd(t,hu,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=Yi(t.elementType),t.type=e,typeof e=="function")vc(e)?(i=Xi(e,i),t.tag=1,t=Rm(null,t,e,i,n)):(t.tag=0,t=us(null,t,e,i,n));else{if(e!=null){var r=e.$$typeof;if(r===Q){t.tag=11,t=Nm(null,t,e,i,n);break e}else if(r===Ne){t.tag=14,t=Cm(null,t,e,i,n);break e}else if(r===J){t.tag=10,t.type=e,t=Um(null,t,n);break e}}throw t=Ue(e)||e,Error(o(306,t,""))}}return t;case 0:return us(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,r=Xi(i,t.pendingProps),Rm(e,t,i,r,n);case 3:e:{if(Tl(t,t.stateNode.containerInfo),e===null)throw Error(o(387));i=t.pendingProps;var c=t.memoizedState;r=c.element,Rc(e,t),vu(t,i,null,n);var m=t.memoizedState;if(i=m.cache,ai(t,Mt,i),i!==c.cache&&Cc(t,[Mt],n,!0),xu(),i=m.element,c.isDehydrated)if(c={element:i,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=Dm(e,t,i,n);break e}else if(i!==r){r=qn(Error(o(424)),t),du(r),t=Dm(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(pt=Xn(e.firstChild),Vt=t,qe=!0,li=null,Vn=!0,n=kd(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(ji(),i===r){t=ql(e,t,n);break e}Ht(e,t,i,n)}t=t.child}return t;case 26:return _a(e,t),e===null?(n=sg(t.type,null,t.pendingProps,null))?t.memoizedState=n:qe||(t.stateNode=Vp(t.type,t.pendingProps,Nn.current,t)):t.memoizedState=sg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Zl(t),e===null&&qe&&(i=t.stateNode=ug(t.type,t.pendingProps,Nn.current),Vt=t,Vn=!0,r=pt,vi(t.type)?(sf=r,pt=Xn(i.firstChild)):pt=r),Ht(e,t,t.pendingProps.children,n),_a(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&qe&&((r=i=pt)&&(i=lx(i,t.type,t.pendingProps,Vn),i!==null?(t.stateNode=i,Vt=t,pt=Xn(i.firstChild),Vn=!1,r=!0):r=!1),r||ii(t)),Zl(t),r=t.type,c=t.pendingProps,m=e!==null?e.memoizedProps:null,i=c.children,ef(r,c)?i=null:m!==null&&ef(r,m)&&(t.flags|=32),t.memoizedState!==null&&(r=Yc(e,t,P0,null,null,n),Ga._currentValue=r),_a(e,t),Ht(e,t,i,n),t.child;case 6:return e===null&&qe&&((e=n=pt)&&(n=ix(n,t.pendingProps,Vn),n!==null?(t.stateNode=n,Vt=t,pt=null,e=!0):e=!1),e||ii(t)),null;case 13:return jm(e,t,n);case 4:return Tl(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Vi(t,null,i,n):Ht(e,t,i,n),t.child;case 11:return Nm(e,t,t.type,t.pendingProps,n);case 7:return i=t.pendingProps,_a(e,t),Ht(e,t,i,n),t.child;case 8:return Ht(e,t,t.pendingProps.children,n),t.child;case 12:return Ht(e,t,t.pendingProps.children,n),t.child;case 10:return Um(e,t,n);case 9:return r=t.type._context,i=t.pendingProps.children,Ui(t),r=Ft(r),i=i(r),t.flags|=1,Ht(e,t,i,n),t.child;case 14:return Cm(e,t,t.type,t.pendingProps,n);case 15:return wm(e,t,t.type,t.pendingProps,n);case 19:return hs(e,t,n);case 31:return rb(e,t,n);case 22:return km(e,t,n,t.pendingProps);case 24:return Ui(t),i=Ft(Mt),e===null?(r=Oc(),r===null&&(r=ht,c=wc(),r.pooledCache=c,c.refCount++,c!==null&&(r.pooledCacheLanes|=n),r=c),t.memoizedState={parent:i,cache:r},Mc(t),ai(t,Mt,r)):((e.lanes&n)!==0&&(Rc(e,t),vu(t,null,null,n),xu()),r=e.memoizedState,c=t.memoizedState,r.parent!==i?(r={parent:i,cache:i},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),ai(t,Mt,i)):(i=c.cache,ai(t,Mt,i),i!==r.cache&&Cc(t,[Mt],n,!0))),Ht(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),i=t.pendingProps,i.name!=null&&i.name!=="auto"?t.flags|=e===null?18882560:18874368:qe&&kr(t),e!==null&&e.memoizedProps.name!==i.name?t.flags|=4194816:_a(e,t),Ht(e,t,i.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Yl(e){e.flags|=4}function ms(e,t,n,i,r){var c;if((c=(e.mode&32)!==0)&&(c=n===null?mg(t,i):mg(t,i)&&(i.src!==n.src||i.srcSet!==n.srcSet)),c){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(vp())e.flags|=8192;else throw Gi=Lr,zc}else e.flags&=-16777217}function qm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!pg(t))if(vp())e.flags|=8192;else throw Gi=Lr,zc}function to(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Wa():536870912,e.lanes|=t,ka|=t)}function Nu(e,t){if(!qe)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,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;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function gt(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&1206910976,i|=r.flags&1206910976,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 sb(e,t,n){var i=t.pendingProps;switch(Tc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(t),null;case 1:return gt(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Bl(Mt),nn(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ya(t)?Yl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ac())),gt(t),null;case 26:var r=t.type,c=t.memoizedState;return e===null?(Yl(t),c!==null?(gt(t),qm(t,c)):(gt(t),ms(t,r,null,i,n))):c?c!==e.memoizedState?(Yl(t),gt(t),qm(t,c)):(gt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&Yl(t),gt(t),ms(t,r,e,i,n)),null;case 27:if(Cn(t),n=Nn.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Yl(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return gt(t),t.subtreeFlags&=-33554433,null}e=mn.current,ya(t)?bd(t):(e=ug(r,i,n),t.stateNode=e,Yl(t))}return gt(t),t.subtreeFlags&=-33554433,null;case 5:if(Cn(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Yl(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return gt(t),t.subtreeFlags&=-33554433,null}if(c=mn.current,ya(t))bd(t);else{var m=Bu(Nn.current);switch(c){case 1:c=m.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:c=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":c=m.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":c=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":c=m.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof i.is=="string"?m.createElement("select",{is:i.is}):m.createElement("select"),i.multiple?c.multiple=!0:i.size&&(c.size=i.size);break;default:c=typeof i.is=="string"?m.createElement(r,{is:i.is}):m.createElement(r)}}c[Ut]=t,c[F]=i;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)c.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=c;e:switch(Wt(c,r,i),r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Yl(t)}}return gt(t),t.subtreeFlags&=-33554433,ms(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Yl(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(o(166));if(e=Nn.current,ya(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,r=Vt,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}e[Ut]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||Hp(e.nodeValue,n)),e||ii(t,!0)}else e=Bu(e).createTextNode(i),e[Ut]=t,t.stateNode=e}return gt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=ya(t),n!==null){if(e===null){if(!i)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Ut]=t}else ji(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;gt(t),e=!1}else n=Ac(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(On(t),t):(On(t),null);if((t.flags&128)!==0)throw Error(o(558))}return gt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=ya(t),i!==null&&i.dehydrated!==null){if(e===null){if(!r)throw Error(o(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));r[Ut]=t}else ji(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;gt(t),r=!1}else r=Ac(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(On(t),t):(On(t),null)}return On(t),(t.flags&128)!==0?(t.lanes=n,t):(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),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==r&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),to(t,t.updateQueue),gt(t),null);case 4:return nn(),e===null&&Fs(t.stateNode.containerInfo),t.flags|=67108864,gt(t),null;case 10:return Bl(t.type),gt(t),null;case 19:if(Hc(t),i=t.memoizedState,i===null)return gt(t),null;if(r=(t.flags&128)!==0,c=i.rendering,c===null)if(r)Nu(i,!1);else{if(Tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=qr(e),c!==null){for(t.flags|=128,Nu(i,!1),e=c.updateQueue,t.updateQueue=e,to(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)dd(n,e),n=n.sibling;return Su(t,$t.current&1|2),qe&&jl(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&wt()>mo&&(t.flags|=128,r=!0,Nu(i,!1),t.lanes=4194304)}else{if(!r)if(e=qr(c),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,to(t,e),Nu(i,!0),i.tail===null&&i.tailMode!=="collapsed"&&i.tailMode!=="visible"&&!c.alternate&&!qe)return gt(t),null}else 2*wt()-i.renderingStartTime>mo&&n!==536870912&&(t.flags|=128,r=!0,Nu(i,!1),t.lanes=4194304);i.isBackwards?(c.sibling=t.child,t.child=c):(e=i.last,e!==null?e.sibling=c:t.child=c,i.last=c)}if(i.tail!==null){e=i.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return i.rendering=e,i.tail=e.sibling,i.renderingStartTime=wt(),e.sibling=null,c=$t.current,c=r?c&1|2:c&1,i.tailMode==="visible"||i.tailMode==="collapsed"||!n||qe?Su(t,c):(n=c,$e(Jt,t),$e($t,n),ln===null&&(ln=t)),qe&&jl(t,i.treeForkCount),e}return gt(t),null;case 22:case 23:return On(t),Bc(),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&&(gt(t),t.subtreeFlags&6&&(t.flags|=8192)):gt(t),n=t.updateQueue,n!==null&&to(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&&vt(qi),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Bl(Mt),gt(t),null;case 25:return null;case 30:return t.flags|=33554432,gt(t),null}throw Error(o(156,t.tag))}function fb(e,t){switch(Tc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Bl(Mt),nn(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Cn(t),null;case 31:if(t.memoizedState!==null){if(On(t),t.alternate===null)throw Error(o(340));ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(On(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Hc(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return nn(),null;case 10:return Bl(t.type),null;case 22:case 23:return On(t),Bc(),e!==null&&vt(qi),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Bl(Mt),null;case 25:return null;default:return null}}function Ym(e,t){switch(Tc(t),t.tag){case 3:Bl(Mt),nn();break;case 26:case 27:case 5:Cn(t);break;case 4:nn();break;case 31:t.memoizedState!==null&&On(t);break;case 13:On(t);break;case 19:Hc(t);break;case 10:Bl(t.type);break;case 22:case 23:On(t),Bc(),e!==null&&vt(qi);break;case 24:Bl(Mt)}}function Cu(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 c=n.create,m=n.inst;i=c(),m.destroy=i}n=n.next}while(n!==r)}}catch(x){rt(t,t.return,x)}}function di(e,t,n){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var c=r.next;i=c;do{if((i.tag&e)===e){var m=i.inst,x=m.destroy;if(x!==void 0){m.destroy=void 0,r=t;var T=n,M=x;try{M()}catch(L){rt(r,T,L)}}}i=i.next}while(i!==c)}}catch(L){rt(t,t.return,L)}}function Gm(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{zd(t,n)}catch(i){rt(e,e.return,i)}}}function Vm(e,t,n){n.props=Xi(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){rt(e,t,i)}}function dl(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:var r=e.stateNode,c=Ml(e.memoizedProps,r);(r.ref===null||r.ref.name!==c)&&(r.ref=Jp(c)),i=r.ref;break;case 7:if(e.stateNode===null){var m=new jn(e);p(e.child,!1,tx,m,void 0,void 0),e.stateNode=m}i=e.stateNode;break;default:i=e.stateNode}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(x){rt(e,t,x)}}function Pt(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(r){rt(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){rt(e,t,r)}else n.current=null}function no(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)ng(e.stateNode,t[n])}function Im(e){for(var t=e.return;t!==null&&(gs(t)&&ng(e.stateNode,t.stateNode),!ps(t));)t=t.return}function wu(e){for(var t=e.return;t!==null&&(gs(t)&&nx(e.stateNode,t.stateNode),!ps(t));)t=t.return}function ps(e){return e.tag===5||e.tag===3||e.tag===27}function gs(e){return e&&e.tag===7&&e.stateNode!==null}function ys(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){rt(e,e.return,r)}}function bs(e,t,n){try{var i=e.stateNode;Bb(i,e.type,n,t),i[F]=t}catch(r){rt(e,e.return,r)}}function Xm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&vi(e.type)||e.tag===4}function xs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xm(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&&vi(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 vs(e,t,n,i){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(r,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(r),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=sl)),no(e,i),Ke=!0;else if(r!==4&&(r===27&&(no(e,i),i=null,vi(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(vs(e,t,n,i),e=e.sibling;e!==null;)vs(e,t,n,i),e=e.sibling}function lo(e,t,n,i){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?n.insertBefore(r,t):n.appendChild(r),no(e,i),Ke=!0;else if(r!==4&&(r===27&&(no(e,i),i=null,vi(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(lo(e,t,n,i),e=e.sibling;e!==null;)lo(e,t,n,i),e=e.sibling}function Qm(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Wt(t,i,n),t[Ut]=e,t[F]=n}catch(c){rt(e,e.return,c)}}var io=!1,zn=null;function Zm(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(io=!0)}var ml=null;function Km(){var e=ml;return ml=null,e}var xn=0;function Aa(e,t,n,i,r){return xn=0,Fm(e.child,t,n,i,r)}function Fm(e,t,n,i,r){for(var c=!1;e!==null;){if(e.tag===5){var m=e.stateNode;if(i!==null){var x=lf(m);i.push(x),x.view&&(c=!0)}else c||lf(m).view&&(c=!0);io=!0,Kp(m,xn===0?t:t+"_"+xn,n),xn++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&r||Fm(e.child,t,n,i,r)&&(c=!0));e=e.sibling}return c}function pl(e,t){for(;e!==null;)e.tag===5?Fp(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||pl(e.child,t)),e=e.sibling}function ao(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(ao(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(o(544));var n=t.name;t=Rl(t.default,t.share),t!=="none"&&(Aa(e,n,t,null,!1)||pl(e.child,!1))}e=e.sibling}}function Ss(e,t){if(e.tag===30){var n=e.stateNode,i=e.memoizedProps,r=Ml(i,n),c=Rl(i.default,n.paired?i.share:i.enter);c!=="none"?Aa(e,r,c,null,!1)?(ao(e),n.paired||t||Ra(e,i.onEnter)):pl(e.child,!1):ao(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Ss(e,t),e=e.sibling;else ao(e)}function Es(e){if(zn!==null&&zn.size!==0){var t=zn;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var n=e.memoizedProps,i=n.name;if(i!=null&&i!=="auto"){var r=t.get(i);if(r!==void 0){var c=Rl(n.default,n.share);if(c!=="none"&&(Aa(e,i,c,null,!1)?(c=e.stateNode,r.paired=c,c.paired=r,Ra(e,n.onShare)):pl(e.child,!1)),t.delete(i),t.size===0)break}}}Es(e)}e=e.sibling}}}function Ts(e){if(e.tag===30){var t=e.memoizedProps,n=Ml(t,e.stateNode),i=zn!==null?zn.get(n):void 0,r=Rl(t.default,i!==void 0?t.share:t.exit);r!=="none"&&(Aa(e,n,r,null,!1)?i!==void 0?(r=e.stateNode,i.paired=r,r.paired=i,zn.delete(n),Ra(e,t.onShare)):Ra(e,t.onExit):pl(e.child,!1)),zn!==null&&Es(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Ts(e),e=e.sibling;else zn!==null&&Es(e)}function Jm(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=Ml(t,e.stateNode);t=Rl(t.default,t.update),e.flags&=-5,t!=="none"&&Aa(e,n,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&Jm(e);e=e.sibling}}function _s(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,pl(e.child,!1))}_s(e)}e=e.sibling}}function uo(e){if(e.tag===30)e.stateNode.paired=null,pl(e.child,!1),_s(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)uo(e),e=e.sibling;else _s(e)}function $m(e){for(e=e.child;e!==null;)e.tag===30?pl(e.child,!1):(e.subtreeFlags&33554432)!==0&&$m(e),e=e.sibling}function As(e,t,n,i,r,c,m){for(var x=!1;t!==null;){if(t.tag===5){var T=t.stateNode;if(c!==null&&xn<c.length){var M=c[xn],L=lf(T);(M.view||L.view)&&(x=!0);var V;if(V=(e.flags&4)===0)if(L.clip)V=!0;else{V=M.rect;var O=L.rect;V=V.y!==O.y||V.x!==O.x||V.height!==O.height||V.width!==O.width}V&&(e.flags|=4),L.abs?L=!M.abs:(M=M.rect,L=L.rect,L=M.height!==L.height||M.width!==L.width),L&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&Kp(T,xn===0?n:n+"_"+xn,r),x&&(e.flags&4)!==0||(ml===null&&(ml=[]),ml.push(T,xn===0?i:i+"_"+xn,t.memoizedProps)),xn++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&m?e.flags|=t.flags&32:As(e,t.child,n,i,r,c,m)&&(x=!0));t=t.sibling}return x}function Pm(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,i=e.stateNode,r=Ml(n,i),c=Rl(n.default,n.update),m;m=e.memoizedState,e.memoizedState=null,i=e;var x=e.child;xn=0,r=As(i,x,r,r,c,m,!1),(e.flags&4)!==0&&r&&Ra(e,n.onUpdate)}else(e.subtreeFlags&33554432)!==0&&Pm(e);e=e.sibling}}var It=!1,lt=!1,gl=!1,Ns=!1,Wm=typeof WeakSet=="function"?WeakSet:Set,Xt=null,yl=!1,ku=!1,ro=!1,Cs=!1;function hb(e,t,n){if(e=e.containerInfo,Ps=Va,e=ld(e),dc(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var c=r.anchorOffset,m=r.focusNode;r=r.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var x=0,T=-1,M=-1,L=0,V=0,O=e,j=null;t:for(;;){for(var ne;O!==i||c!==0&&O.nodeType!==3||(T=x+c),O!==m||r!==0&&O.nodeType!==3||(M=x+r),O.nodeType===3&&(x+=O.nodeValue.length),(ne=O.firstChild)!==null;)j=O,O=ne;for(;;){if(O===e)break t;if(j===i&&++L===c&&(T=x),j===m&&++V===r&&(M=x),(ne=O.nextSibling)!==null)break;O=j,j=O.parentNode}O=ne}i=T===-1||M===-1?null:{start:T,end:M}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ws={focusedElem:e,selectionRange:i},Va=!1,n=(n&335544064)===n,Xt=t,t=n?9270:1024;Xt!==null;){if(e=Xt,n&&(i=e.deletions,i!==null))for(c=0;c<i.length;c++)n&&Ts(i[c]);if(e.alternate===null&&(e.flags&2)!==0)n&&Zm(e),oo(n);else{if(e.tag===22){if(i=e.alternate,e.memoizedState!==null){i!==null&&i.memoizedState===null&&n&&Ts(i),oo(n);continue}else if(i!==null&&i.memoizedState!==null){n&&Zm(e),oo(n);continue}}i=e.child,(e.subtreeFlags&t)!==0&&i!==null?(i.return=e,Xt=i):(n&&Jm(e),oo(n))}}zn=null}function oo(e){for(;Xt!==null;){var t=Xt,n=e,i=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((r&1024)!==0&&i!==null){n=void 0,r=i.memoizedProps,i=i.memoizedState;var c=t.stateNode;try{var m=Xi(t.type,r);n=c.getSnapshotBeforeUpdate(m,i),c.__reactInternalSnapshotBeforeUpdate=n}catch(x){rt(t,t.return,x)}}break;case 3:if((r&1024)!==0){if(i=t.stateNode.containerInfo,n=i.nodeType,n===9)rf(i);else if(n===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":rf(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&i!==null&&(n=Ml(i.memoizedProps,i.stateNode),r=t.memoizedProps,r=Rl(r.default,r.update),r!=="none"&&Aa(i,n,r,i.memoizedState=[],!0));break;default:if((r&1024)!==0)throw Error(o(163))}if(i=t.sibling,i!==null){i.return=t.return,Xt=i;break}Xt=t.return}}function ep(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:bl(e,n),i&4&&Cu(5,n);break;case 1:if(bl(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(m){rt(n,n.return,m)}else{var r=Xi(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(m){rt(n,n.return,m)}}i&64&&Gm(n),i&512&&dl(n,n.return);break;case 3:if(bl(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{zd(e,t)}catch(m){rt(n,n.return,m)}}break;case 27:t===null&&i&4&&Qm(n);case 26:case 5:bl(e,n),t===null&&i&4&&ys(n),i&512&&dl(n,n.return);break;case 12:bl(e,n);break;case 31:bl(e,n),i&4&&ip(e,n);break;case 13:bl(e,n),i&4&&ap(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=_b.bind(null,n),ax(e,n))));break;case 22:if(i=n.memoizedState!==null||It,!i){var c=t!==null&&t.memoizedState!==null||lt;t=It,r=lt,It=i,(lt=c)&&!r?(i=2,(n.subtreeFlags&8772)!==0&&(i|=1),ll(e,n,i)):bl(e,n),It=t,lt=r}break;case 30:bl(e,n),i&512&&dl(n,n.return);break;case 7:i&512&&dl(n,n.return);default:bl(e,n)}}function ws(e,t){for(e=e.child;e!==null;)tp(e,t),e=e.sibling}function tp(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var i=n.style;typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"}else{var r=e.stateNode,c=e.memoizedProps.style,m=c!=null&&c.hasOwnProperty("display")?c.display:null;r.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(T){rt(e,e.return,T)}ks(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,Ke=!0}catch(T){rt(e,e.return,T)}break;case 18:try{var x=e.stateNode;t?Zp(x,!0):Zp(e.stateNode,!1)}catch(T){rt(e,e.return,T)}break;case 22:case 23:e.memoizedState===null&&ws(e,t);break;default:ws(e,t)}}function ks(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var n=e,i=t;switch(n.tag){case 4:tp(n,i);break e;case 22:n.memoizedState===null&&ks(n,i);break e;default:ks(n,i)}}e=e.sibling}}function np(e){var t=e.alternate;t!==null&&(e.alternate=null,np(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Yt(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 bt=null,vn=!1;function tl(e,t,n){for(n=n.child;n!==null;)lp(e,t,n),n=n.sibling}function lp(e,t,n){if(Ze&&typeof Ze.onCommitFiberUnmount=="function")try{Ze.onCommitFiberUnmount(ft,n)}catch{}switch(n.tag){case 26:lt||Pt(n,t),tl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!lt&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:lt||Pt(n,t),wu(n);var i=bt,r=vn;vi(n.type)&&(bt=n.stateNode,vn=!1),tl(e,t,n),rg(n.stateNode,n.type,n.memoizedProps),bt=i,vn=r;break;case 5:lt||Pt(n,t),wu(n);case 6:if(n.tag===6&&wu(n),i=bt,r=vn,bt=null,tl(e,t,n),bt=i,vn=r,bt!==null)if(vn)try{(bt.nodeType===9?bt.body:bt.nodeName==="HTML"?bt.ownerDocument.body:bt).removeChild(n.stateNode),Ke=!0}catch(c){rt(n,t,c)}else try{bt.removeChild(n.stateNode),Ke=!0}catch(c){rt(n,t,c)}break;case 18:bt!==null&&(vn?(e=bt,Qp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Ia(e)):Qp(bt,n.stateNode));break;case 4:i=bt,r=vn,bt=n.stateNode.containerInfo,vn=!0,tl(e,t,n),bt=i,vn=r;break;case 0:case 11:case 14:case 15:di(2,n,t),lt||di(4,n,t),tl(e,t,n);break;case 1:lt||(Pt(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&Vm(n,t,i)),tl(e,t,n);break;case 21:tl(e,t,n);break;case 22:lt=(i=lt)||n.memoizedState!==null,tl(e,t,n),lt=i;break;case 30:Pt(n,t),tl(e,t,n);break;case 7:lt||Pt(n,t),tl(e,t,n);break;default:tl(e,t,n)}}function ip(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ia(e)}catch(n){rt(t,t.return,n)}}}function ap(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ia(e)}catch(n){rt(t,t.return,n)}}function db(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Wm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Wm),t;default:throw Error(o(435,e.tag))}}function co(e,t){var n=db(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var r=Ab.bind(null,e,i);i.then(r,r)}})}function fn(e,t,n){var i=t.deletions;if(i!==null)for(var r=0;r<i.length;r++){var c=i[r],m=e,x=t,T=x;e:for(;T!==null;){switch(T.tag){case 27:if(vi(T.type)){bt=T.stateNode,vn=!1;break e}break;case 5:bt=T.stateNode,vn=!1;break e;case 3:case 4:bt=T.stateNode.containerInfo,vn=!0;break e}T=T.return}if(bt===null)throw Error(o(160));lp(m,x,c),bt=null,vn=!1,m=c.alternate,m!==null&&(m.return=null),c.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)up(t,e,n),t=t.sibling}var nl=null;function up(e,t,n){var i=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(r&4&&(i=e.updateQueue,i=i!==null?i.events:null,i!==null))for(var c=0;c<i.length;c++){var m=i[c];m.ref.impl=m.nextImpl}fn(t,e,n),hn(e),r&4&&(di(3,e,e.return),Cu(3,e),di(5,e,e.return));break;case 1:fn(t,e,n),hn(e),r&512&&(lt||i===null||Pt(i,i.return)),r&64&&It&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(c=nl,fn(t,e,n),hn(e),r&512&&(lt||i===null||Pt(i,i.return)),r&4)if(r=i!==null?i.memoizedState:null,n=e.memoizedState,i===null)if(n===null)if(e.stateNode===null)if(It)e.stateNode=Vp(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,r=c.ownerDocument||c;t:switch(t){case"title":i=r.getElementsByTagName("title")[0],(!i||i[yn]||i[Ut]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=r.createElement(t),r.head.insertBefore(i,r.querySelector("head > title"))),Wt(i,t,n),i[Ut]=e,Ot(i),t=i;break e;case"link":if(c=dg("link","href",r).get(t+(n.href||""))){for(m=0;m<c.length;m++)if(i=c[m],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){c.splice(m,1);break t}}i=r.createElement(t),Wt(i,t,n),r.head.appendChild(i);break;case"meta":if(c=dg("meta","content",r).get(t+(n.content||""))){for(m=0;m<c.length;m++)if(i=c[m],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){c.splice(m,1);break t}}i=r.createElement(t),Wt(i,t,n),r.head.appendChild(i);break;default:throw Error(o(468,t))}i[Ut]=e,Ot(i),t=i}e.stateNode=t}else It||mf(c,e.type,e.stateNode);else e.stateNode=hg(c,n,e.memoizedProps);else r!==n?(r===null?(t=i.stateNode,t===null||lt||t.parentNode.removeChild(t)):r.count--,n===null?It||mf(c,e.type,e.stateNode):hg(c,n,e.memoizedProps)):n===null&&e.stateNode!==null&&bs(e,e.memoizedProps,i.memoizedProps);break;case 27:fn(t,e,n),hn(e),r&512&&(lt||i===null||Pt(i,i.return)),i!==null&&r&4&&bs(e,e.memoizedProps,i.memoizedProps);break;case 5:if(c=gl,gl=!1,fn(t,e,n),gl=c,hn(e),r&512&&(lt||i===null||Pt(i,i.return)),e.flags&32){t=e.stateNode;try{ra(t,""),Ke=!0}catch(L){rt(e,e.return,L)}}r&4&&e.stateNode!=null&&(t=e.memoizedProps,bs(e,t,i!==null?i.memoizedProps:t)),r&1024&&(Ns=!0);break;case 6:if(fn(t,e,n),hn(e),r&4){if(e.stateNode===null)throw Error(o(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,Ke=!0}catch(L){rt(e,e.return,L)}}break;case 3:if(Ke=!1,Ao=null,c=nl,nl=Uu(t.containerInfo),fn(t,e,n),nl=c,hn(e),r&4&&i!==null&&i.memoizedState.isDehydrated)try{Ia(t.containerInfo)}catch(L){rt(e,e.return,L)}Ns&&(Ns=!1,rp(e)),Ke=!1;break;case 4:r=gl,gl=It,i=zt(),c=nl,nl=Uu(e.stateNode.containerInfo),fn(t,e,n),hn(e),nl=c,Ke&&ku&&(ro=!0),Ke=i,gl=r;break;case 12:fn(t,e,n),hn(e);break;case 31:fn(t,e,n),hn(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,co(e,t)));break;case 13:fn(t,e,n),hn(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(ho=wt()),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,co(e,t)));break;case 22:c=e.memoizedState!==null,m=i!==null&&i.memoizedState!==null;var x=It,T=lt,M=gl;It=x||c,gl=M||c,lt=T||m,fn(t,e,n),lt=T,gl=M,It=x,hn(e),r&8192&&(t=e.stateNode,t._visibility=c?t._visibility&-2:t._visibility|1,!c||i===null||m||It||lt||(t=m||lt,n=It,i=lt,It=c||It,lt=t,mi(e,2),It=n,lt=i),!c&&gl||ws(e,c)),r&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,co(e,n))));break;case 19:fn(t,e,n),hn(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,co(e,t)));break;case 30:r&512&&(lt||i===null||Pt(i,i.return)),r=zt(),c=ku,m=(n&335544064)===n,x=e.memoizedProps,ku=m&&Rl(x.default,x.update)!=="none",fn(t,e,n),hn(e),m&&i!==null&&Ke&&(e.flags|=4),ku=c,Ke=r;break;case 21:break;case 7:r&512&&(lt||i===null||Pt(i,i.return)),i&&i.stateNode!==null&&(i.stateNode._fragmentFiber=e);default:fn(t,e,n),hn(e)}}function hn(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(Xm(i)){n=i;break}i=i.return}i=null;for(var r=e.return;r!==null;){if(gs(r)){var c=r.stateNode;i===null?i=[c]:i.push(c)}if(ps(r))break;r=r.return}var m=i;if(n==null)throw Error(o(160));switch(n.tag){case 27:var x=n.stateNode,T=xs(e);lo(e,T,x,m);break;case 5:var M=n.stateNode;n.flags&32&&(ra(M,""),n.flags&=-33);var L=xs(e);lo(e,L,M,m);break;case 3:case 4:var V=n.stateNode.containerInfo,O=xs(e);vs(e,O,V,m);break;default:throw Error(o(161))}}catch(j){rt(e,e.return,j)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;rp(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,Va=!0,t.reset(),Va=!1),e=e.sibling}}function Na(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)op(t,e),t=t.sibling;else Pm(t)}function op(e,t){var n=e.alternate;if(n===null)Ss(e,!1);else switch(e.tag){case 3:if(Cs=yl=!1,Km(),Na(t,e),!yl&&!ro){if(e=ml,e!==null)for(var i=0;i<e.length;i+=3){n=e[i];var r=e[i+1];Fp(n,e[i+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+r+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Cs=!0}ml=null;break;case 5:Na(t,e);break;case 4:i=yl,yl=!1,Na(t,e),yl&&(ro=!0),yl=i;break;case 22:e.memoizedState===null&&(n.memoizedState!==null?Ss(e,!1):Na(t,e));break;case 30:i=yl,r=Km(),yl=!1,Na(t,e),yl&&(e.flags|=4);var c=e.memoizedProps,m=e.stateNode;t=Ml(c,m),m=Ml(n.memoizedProps,m);var x=Rl(c.default,c.update);x==="none"?t=!1:(c=n.memoizedState,n.memoizedState=null,n=e.child,xn=0,t=As(e,n,t,m,x,c,!0),xn!==(c===null?0:c.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(Ra(e,e.memoizedProps.onUpdate),ml=r):r!==null&&(r.push.apply(r,ml),ml=r),yl=(e.flags&32)!==0?!0:i;break;default:Na(t,e)}}function bl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ep(e,t.alternate,t),t=t.sibling}function mi(e,t){for(e=e.child;e!==null;){var n=e,i=t;switch(n.tag){case 0:case 11:case 14:case 15:di(4,n,n.return),mi(n,i);break;case 1:Pt(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&Vm(n,n.return,r),mi(n,i);break;case 27:(i&2)!==0&&rg(n.stateNode,n.type,n.memoizedProps);case 5:Pt(n,n.return),n.tag!==5&&n.tag!==27||wu(n),mi(n,i);break;case 6:wu(n);break;case 26:Pt(n,n.return),r=n.stateNode,n.memoizedState!==null||r===null||lt||r.parentNode.removeChild(r),mi(n,i);break;case 22:n.memoizedState===null&&mi(n,i);break;case 30:Pt(n,n.return),mi(n,i);break;case 7:Pt(n,n.return);default:mi(n,i)}e=e.sibling}}function ll(e,t,n){for(n=(t.subtreeFlags&8772)!==0?n:n&-2,t=t.child;t!==null;){var i=t.alternate,r=e,c=t,m=c.flags,x=(n&1)!==0;switch(c.tag){case 0:case 11:case 15:ll(r,c,n),Cu(4,c);break;case 1:if(ll(r,c,n),i=c,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(L){rt(i,i.return,L)}if(i=c,r=i.updateQueue,r!==null){var T=i.stateNode;try{var M=r.shared.hiddenCallbacks;if(M!==null)for(r.shared.hiddenCallbacks=null,r=0;r<M.length;r++)Od(M[r],T)}catch(L){rt(i,i.return,L)}}x&&m&64&&Gm(c),dl(c,c.return);break;case 27:(n&2)!==0&&Qm(c);case 5:c.tag!==5&&c.tag!==27||Im(c),ll(r,c,n),x&&i===null&&m&4&&ys(c),dl(c,c.return);break;case 6:Im(c);break;case 26:T=c.stateNode,c.memoizedState!==null||T===null||It||mf(Uu(T.ownerDocument),c.type,T),ll(r,c,n),x&&i===null&&m&4&&ys(c),dl(c,c.return);break;case 12:ll(r,c,n);break;case 31:ll(r,c,n),x&&m&4&&ip(r,c);break;case 13:ll(r,c,n),x&&m&4&&ap(r,c);break;case 22:c.memoizedState===null&&ll(r,c,n),dl(c,c.return);break;case 30:ll(r,c,n),dl(c,c.return);break;case 7:dl(c,c.return);default:ll(r,c,n)}t=t.sibling}}function Os(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&&mu(n))}function zs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&mu(e))}function In(e,t,n,i){var r=(n&335544064)===n;if(t.subtreeFlags&(r?10262:10256))for(t=t.child;t!==null;)cp(e,t,n,i),t=t.sibling;else r&&$m(t)}function cp(e,t,n,i){var r=(n&335544064)===n;r&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&uo(t);var c=t.flags;switch(t.tag){case 0:case 11:case 15:In(e,t,n,i),c&2048&&Cu(9,t);break;case 1:In(e,t,n,i);break;case 3:In(e,t,n,i),r&&Cs&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),c&2048&&(c=null,t.alternate!==null&&(c=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==c&&(t.refCount++,c!=null&&mu(c)));break;case 12:if(c&2048){In(e,t,n,i),c=t.stateNode;try{var m=t.memoizedProps,x=m.id,T=m.onPostCommit;typeof T=="function"&&T(x,t.alternate===null?"mount":"update",c.passiveEffectDuration,-0)}catch(M){rt(t,t.return,M)}}else In(e,t,n,i);break;case 31:In(e,t,n,i);break;case 13:In(e,t,n,i);break;case 23:break;case 22:m=t.stateNode,x=t.alternate,t.memoizedState!==null?(r&&x!==null&&x.memoizedState===null&&uo(x),m._visibility&2?In(e,t,n,i):Ou(e,t)):(r&&x!==null&&x.memoizedState!==null&&uo(t),m._visibility&2?In(e,t,n,i):(m._visibility|=2,Ca(e,t,n,i,(t.subtreeFlags&10256)!==0||!1))),c&2048&&Os(x,t);break;case 24:In(e,t,n,i),c&2048&&zs(t.alternate,t);break;case 30:r&&(c=t.alternate,c!==null&&(pl(c.child,!0),pl(t.child,!0))),In(e,t,n,i);break;default:In(e,t,n,i)}}function Ca(e,t,n,i,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,m=t,x=n,T=i,M=m.flags;switch(m.tag){case 0:case 11:case 15:Ca(c,m,x,T,r),Cu(8,m);break;case 23:break;case 22:var L=m.stateNode;m.memoizedState!==null?L._visibility&2?Ca(c,m,x,T,r):Ou(c,m):(L._visibility|=2,Ca(c,m,x,T,r)),r&&M&2048&&Os(m.alternate,m);break;case 24:Ca(c,m,x,T,r),r&&M&2048&&zs(m.alternate,m);break;default:Ca(c,m,x,T,r)}t=t.sibling}}function Ou(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:Ou(n,i),r&2048&&Os(i.alternate,i);break;case 24:Ou(n,i),r&2048&&zs(i.alternate,i);break;default:Ou(n,i)}t=t.sibling}}var Qi=8192;function Zi(e,t,n){if(e.subtreeFlags&Qi)for(e=e.child;e!==null;)sp(e,t,n),e=e.sibling}function sp(e,t,n){switch(e.tag){case 26:Zi(e,t,n),e.flags&Qi&&(e.memoizedState!==null?xx(n,nl,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&yg(n,e)));break;case 5:Zi(e,t,n),e.flags&Qi&&(e=e.stateNode,(t&335544128)===t&&yg(n,e));break;case 3:case 4:var i=nl;nl=Uu(e.stateNode.containerInfo),Zi(e,t,n),nl=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=Qi,Qi=16777216,Zi(e,t,n),Qi=i):Zi(e,t,n));break;case 30:if((e.flags&Qi)!==0&&(i=e.memoizedProps.name,i!=null&&i!=="auto")){var r=e.stateNode;r.paired=null,zn===null&&(zn=new Map),zn.set(i,r)}Zi(e,t,n);break;default:Zi(e,t,n)}}function fp(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 zu(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];Xt=i,dp(i,e)}fp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)hp(e),e=e.sibling}function hp(e){switch(e.tag){case 0:case 11:case 15:zu(e),e.flags&2048&&di(9,e,e.return);break;case 3:zu(e);break;case 12:zu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,so(e)):zu(e);break;default:zu(e)}}function so(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];Xt=i,dp(i,e)}fp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:di(8,t,t.return),so(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,so(t));break;default:so(t)}e=e.sibling}}function dp(e,t){for(;Xt!==null;){var n=Xt;switch(n.tag){case 0:case 11:case 15:di(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:mu(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,Xt=i;else e:for(n=e;Xt!==null;){i=Xt;var r=i.sibling,c=i.return;if(np(i),i===n){Xt=null;break e}if(r!==null){r.return=c,Xt=r;break e}Xt=c}}}var mb={getCacheForType:function(e){var t=Ft(Mt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ft(Mt).controller.signal}},pb=typeof WeakMap=="function"?WeakMap:Map,et=0,ht=null,Ve=null,Xe=0,ut=0,Mn=null,pi=!1,wa=!1,Ms=!1,Gl=0,Tt=0,gi=0,Ki=0,fo=0,Rn=0,ka=0,Mu=null,Sn=null,Rs=!1,ho=0,mp=0,mo=1/0,po=null,yi=null,xt=0,il=null,Fi=null,xl=0,Ds=0,js=null,pp=null,Oa=null,za=null,Ma=null,Ru=0,go=null;function Dn(){return(et&2)!==0&&Xe!==0?Xe&-Xe:me.T!==null?Xs():cr()}function gp(){if(Rn===0)if((Xe&536870912)===0||qe){var e=Fl;Fl<<=1,(Fl&3932160)===0&&(Fl=262144),Rn=e}else Rn=536870912;return e=Jt.current,e!==null&&(e.flags|=32),Rn}function Ra(e,t){if(t!=null){var n=e.stateNode,i=n.ref;i===null&&(i=n.ref=Jp(Ml(e.memoizedProps,n))),za===null&&(za=[]),za.push(t.bind(null,i))}}function En(e,t,n){(e===ht&&(ut===2||ut===9)||e.cancelPendingCommit!==null)&&(Da(e,0),bi(e,Xe,Rn,!1)),Oi(e,n),((et&2)===0||e!==ht)&&(e===ht&&((et&2)===0&&(Ki|=n),Tt===4&&bi(e,Xe,Rn,!1)),vl(e))}function yp(e,t,n){if((et&6)!==0)throw Error(o(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||ki(e,t),r=i?bb(e,t):Bs(e,t,!0),c=i;do{if(r===0){wa&&!i&&bi(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!gb(n)){r=Bs(e,t,!1),c=!1;continue}if(r===2){if(c=t,e.errorRecoveryDisabledLanes&c)var m=0;else m=e.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){t=m;e:{var x=e;r=Mu;var T=x.current.memoizedState.isDehydrated;if(T&&(Da(x,m).flags|=256),m=Bs(x,m,!1),m!==2&&m!==6){if(Ms&&!T){x.errorRecoveryDisabledLanes|=c,Ki|=c,r=4;break e}c=Sn,Sn=r,c!==null&&(Sn===null?Sn=c:Sn.push.apply(Sn,c))}r=m}if(c=!1,r!==2)continue}}if(r===1){Da(e,0),bi(e,t,0,!0);break}e:{switch(i=e,c=r,c){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:bi(i,t,Rn,!pi);break e;case 2:Sn=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(r=ho+300-wt(),10<r)){if(bi(i,t,Rn,!pi),$l(i,0,!0)!==0)break e;xl=t,i.timeoutHandle=nf(bp.bind(null,i,n,Sn,po,Rs,t,Rn,Ki,ka,pi,c,"Throttled",-0,0),r);break e}bp(i,n,Sn,po,Rs,t,Rn,Ki,ka,pi,c,null,-0,0)}}break}while(!0);vl(e)}function bp(e,t,n,i,r,c,m,x,T,M,L,V,O,j){e.timeoutHandle=-1;var ne=t.subtreeFlags,pe=(c&335544064)===c;if(V=null,(pe||ne&8192||(ne&16785408)===16785408)&&(V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sl},zn=null,sp(t,c,V),pe&&(ne=V,pe=e.containerInfo,pe=(pe.nodeType===9?pe:pe.ownerDocument).__reactViewTransition,pe!=null&&(ne.count++,ne.waitingForViewTransition=!0,ne=Yu.bind(ne),pe.finished.then(ne,ne))),ne=(c&62914560)===c?ho-wt():(c&4194048)===c?mp-wt():0,ne=vx(V,ne),ne!==null)){xl=c,e.cancelPendingCommit=ne(Np.bind(null,e,t,c,n,i,r,m,x,T,M,L,V,null,O,j)),bi(e,c,m,!M);return}Np(e,t,c,n,i,r,m,x,T,M,L,V)}function gb(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],c=r.getSnapshot;r=r.value;try{if(!kn(c(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function bi(e,t,n,i){t=rr(e,t),t&=~fo,t&=~Ki,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var r=t;0<r;){var c=31-te(r),m=1<<c;i[c]=-1,r&=~m}n!==0&&or(e,n,t)}function yo(){return(et&6)===0?(Du(0),!1):!0}function Ls(){if(Ve!==null){if(ut===0)var e=Ve.return;else e=Ve,Ll=Li=null,Ic(e),va=null,yu=0,e=Ve;for(;e!==null;)Ym(e.alternate,e),e=e.return;Ve=null}}function Da(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,qb(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),xl=0,Ls(),ht=e,Ve=n=Dl(e.current,null),Xe=t,ut=0,Mn=null,pi=!1,wa=ki(e,t),Ms=!1,ka=Rn=fo=Ki=gi=Tt=0,Sn=Mu=null,Rs=!1,Gl=rr(e,t),_r(),n}function xp(e,t){Le=null,me.H=Fr,t===xa||t===jr?(t=Nd(),ut=3):t===zc?(t=Nd(),ut=4):ut=t===as?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Mn=t,Ve===null&&(Tt=1,Jr(e,qn(t,e.current)))}function vp(){var e=Jt.current;return e===null?!0:(Xe&4194048)===Xe?ln===null:(Xe&62914560)===Xe||(Xe&536870912)!==0?e===ln:!1}function Sp(){var e=me.H;return me.H=Fr,e===null?Fr:e}function Ep(){var e=me.A;return me.A=mb,e}function bo(){Tt=4,pi||(Xe&4194048)!==Xe&&Jt.current!==null||(wa=!0),(gi&134217727)===0&&(Ki&134217727)===0||ht===null||bi(ht,Xe,Rn,!1)}function Bs(e,t,n){var i=et;et|=2;var r=Sp(),c=Ep();(ht!==e||Xe!==t)&&(po=null,Da(e,t)),t=!1;var m=Tt;e:do try{if(ut!==0&&Ve!==null){var x=Ve,T=Mn;switch(ut){case 8:Ls(),m=6;break e;case 3:case 2:case 9:case 6:Jt.current===null&&(t=!0);var M=ut;if(ut=0,Mn=null,ja(e,x,T,M),n&&wa){m=0;break e}break;default:M=ut,ut=0,Mn=null,ja(e,x,T,M)}}yb(),m=Tt;break}catch(L){xp(e,L)}while(!0);return t&&e.shellSuspendCounter++,Ll=Li=null,et=i,me.H=r,me.A=c,Ve===null&&(ht=null,Xe=0,_r()),m}function yb(){for(;Ve!==null;)Tp(Ve)}function bb(e,t){var n=et;et|=2;var i=Sp(),r=Ep();ht!==e||Xe!==t?(po=null,mo=wt()+500,Da(e,t)):wa=ki(e,t);e:do try{if(ut!==0&&Ve!==null){t=Ve;var c=Mn;t:switch(ut){case 1:ut=0,Mn=null,ja(e,t,c,1);break;case 2:case 9:if(_d(c)){ut=0,Mn=null,_p(t);break}t=function(){ut!==2&&ut!==9||ht!==e||(ut=7),vl(e)},c.then(t,t);break e;case 3:ut=7;break e;case 4:ut=5;break e;case 7:_d(c)?(ut=0,Mn=null,_p(t)):(ut=0,Mn=null,ja(e,t,c,7));break;case 5:var m=null;switch(Ve.tag){case 26:m=Ve.memoizedState;case 5:case 27:var x=Ve;if(m?pg(m):x.stateNode.complete){ut=0,Mn=null;var T=x.sibling;if(T!==null)Ve=T;else{var M=x.return;M!==null?(Ve=M,xo(M)):Ve=null}break t}}ut=0,Mn=null,ja(e,t,c,5);break;case 6:ut=0,Mn=null,ja(e,t,c,6);break;case 8:Ls(),Tt=6;break e;default:throw Error(o(462))}}xb();break}catch(L){xp(e,L)}while(!0);return Ll=Li=null,me.H=i,me.A=r,et=n,Ve!==null?0:(ht=null,Xe=0,_r(),Tt)}function xb(){for(;Ve!==null&&!_l();)Tp(Ve)}function Tp(e){var t=Hm(e.alternate,e,Gl);e.memoizedProps=e.pendingProps,t===null?xo(e):Ve=t}function _p(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Mm(n,t,t.pendingProps,t.type,void 0,Xe);break;case 11:t=Mm(n,t,t.pendingProps,t.type.render,t.ref,Xe);break;case 5:Ic(t);var i=t;i===Vt&&(qe?(Or(i),i.tag===5&&i.stateNode!=null&&(pt=i.stateNode)):(Or(i),qe=!0));default:Ym(n,t),t=Ve=dd(t,Gl),t=Hm(n,t,Gl)}e.memoizedProps=e.pendingProps,t===null?xo(e):Ve=t}function ja(e,t,n,i){Ll=Li=null,Ic(t),va=null,yu=0;var r=t.return;try{if(ub(e,r,t,n,Xe)){Tt=1,Jr(e,qn(n,e.current)),Ve=null;return}}catch(c){if(r!==null)throw Ve=r,c;Tt=1,Jr(e,qn(n,e.current)),Ve=null;return}t.flags&32768?(qe||i===1?e=!0:wa||(Xe&536870912)!==0?e=!1:(pi=e=!0,(i===2||i===9||i===3||i===6)&&(i=Jt.current,i!==null&&i.tag===13&&(i.flags|=16384))),Ap(t,e)):xo(t)}function xo(e){var t=e;do{if((t.flags&32768)!==0){Ap(t,pi);return}e=t.return;var n=sb(t.alternate,t,Gl);if(n!==null){Ve=n;return}if(t=t.sibling,t!==null){Ve=t;return}Ve=t=e}while(t!==null);Tt===0&&(Tt=5)}function Ap(e,t){do{var n=fb(e.alternate,e);if(n!==null){n.flags&=32767,Ve=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ve=e;return}Ve=e=n}while(e!==null);Tt=6,Ve=null}function Np(e,t,n,i,r,c,m,x,T,M,L,V){e.cancelPendingCommit=null;do vo();while(xt!==0);if((et&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));e===ht&&(Ve=ht=null,Xe=0),Fi=t,il=e,xl=n,js=r,pp=i,vb(e,t,n,m,x,T,V)}}function vb(e,t,n,i,r,c,m){var x=t.lanes|t.childLanes;if(Ds=x,x|=bc,Po(e,n,x,i,r,c),za=null,(n&335544064)===n?(Ma=K0(e),i=10262):(Ma=null,i=10256),(t.subtreeFlags&i)!==0||(t.flags&i)!==0?(e.callbackNode=null,e.callbackPriority=0,Nb(Pn,function(){return Ys(),null})):(e.callbackNode=null,e.callbackPriority=0),io=!1,i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=me.T,me.T=null,r=Ee.p,Ee.p=2,c=et,et|=4;try{hb(e,t,n)}finally{et=c,Ee.p=r,me.T=i}}xt=1,io?Oa=Qb(m,e.containerInfo,Ma,Us,Hs,Eb,qs,Ys,Sb):(Us(),Hs(),qs())}function Sb(e){if(xt!==0){var t=il.onRecoverableError;t(e,{componentStack:null})}}function Eb(){xt===3&&(xt=0,op(Fi,il),xt=4)}function Us(){if(xt===1){xt=0;var e=il,t=Fi,n=xl,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=me.T,me.T=null;var r=Ee.p;Ee.p=2;var c=et;et|=4;try{ku=ro=!1,up(t,e,n),n=Ws;var m=ld(e.containerInfo),x=n.focusedElem,T=n.selectionRange;if(m!==x&&x&&x.ownerDocument&&nd(x.ownerDocument.documentElement,x)){if(T!==null&&dc(x)){var M=T.start,L=T.end;if(L===void 0&&(L=M),"selectionStart"in x)x.selectionStart=M,x.selectionEnd=Math.min(L,x.value.length);else{var V=x.ownerDocument||document,O=V&&V.defaultView||window;if(O.getSelection){var j=O.getSelection(),ne=x.textContent.length,pe=Math.min(T.start,ne),Be=T.end===void 0?pe:Math.min(T.end,ne);!j.extend&&pe>Be&&(m=Be,Be=pe,pe=m);var z=td(x,pe),C=td(x,Be);if(z&&C&&(j.rangeCount!==1||j.anchorNode!==z.node||j.anchorOffset!==z.offset||j.focusNode!==C.node||j.focusOffset!==C.offset)){var R=V.createRange();R.setStart(z.node,z.offset),j.removeAllRanges(),pe>Be?(j.addRange(R),j.extend(C.node,C.offset)):(R.setEnd(C.node,C.offset),j.addRange(R))}}}}for(V=[],j=x;j=j.parentNode;)j.nodeType===1&&V.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<V.length;x++){var G=V[x];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}Va=!!Ps,Ws=Ps=null}finally{et=c,Ee.p=r,me.T=i}}e.current=t,xt=2}}function Hs(){if(xt===2){xt=0;var e=il,t=Fi,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=me.T,me.T=null;var i=Ee.p;Ee.p=2;var r=et;et|=4;try{ep(e,t.alternate,t)}finally{et=r,Ee.p=i,me.T=n}}xt=3}}function qs(){if(xt===4||xt===3){xt=0;var e=Oa;Oa=null,Kl();var t=il,n=Fi,i=xl,r=pp,c=(i&335544064)===i?10262:10256;if((n.subtreeFlags&c)!==0||(n.flags&c)!==0?xt=5:(xt=0,Fi=il=null,Cp(t,t.pendingLanes)),c=t.pendingLanes,c===0&&(yi=null),tu(i),n=n.stateNode,Ze&&typeof Ze.onCommitFiberRoot=="function")try{Ze.onCommitFiberRoot(ft,n,void 0,(n.current.flags&128)===128)}catch{}if(r!==null){n=me.T,c=Ee.p,Ee.p=2,me.T=null;try{for(var m=t.onRecoverableError,x=0;x<r.length;x++){var T=r[x];m(T.value,{componentStack:T.stack})}}finally{me.T=n,Ee.p=c}}if(r=za,m=Ma,Ma=null,r!==null&&(za=null,m===null&&(m=[]),e!==null))for(T=0;T<r.length;T++)n=(0,r[T])(m),n!==void 0&&e.finished.finally(n);(xl&3)!==0&&vo(),vl(t),c=t.pendingLanes,(i&261930)!==0&&(c&42)!==0?t===go?Ru++:(Ru=0,go=t):(Ru=0,go=null),Du(0)}}function Cp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,mu(t)))}function vo(){return Oa!==null&&(Oa.skipTransition(),Oa=null),Us(),Hs(),qs(),Ys()}function Ys(){if(xt!==5)return!1;var e=il,t=Ds;Ds=0;var n=tu(xl),i=me.T,r=Ee.p;try{Ee.p=32>n?32:n,me.T=null,n=js,js=null;var c=il,m=xl;if(xt=0,Fi=il=null,xl=0,(et&6)!==0)throw Error(o(331));var x=et;if(et|=4,hp(c.current),cp(c,c.current,m,n),et=x,Du(0,!1),Ze&&typeof Ze.onPostCommitFiberRoot=="function")try{Ze.onPostCommitFiberRoot(ft,c)}catch{}return!0}finally{Ee.p=r,me.T=i,Cp(e,t)}}function wp(e,t,n){t=qn(n,t),t=is(e.stateNode,t,2),e=ci(e,t,2),e!==null&&(Oi(e,2),vl(e))}function rt(e,t,n){if(e.tag===3)wp(e,e,n);else for(;t!==null;){if(t.tag===3){wp(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(yi===null||!yi.has(i))){e=qn(n,e),n=_m(2),i=ci(t,n,2),i!==null&&(Am(n,i,t,e),Oi(i,2),vl(i));break}}t=t.return}}function Gs(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new pb;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)||(Ms=!0,r.add(n),e=Tb.bind(null,e,t,n),t.then(e,e))}function Tb(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ht===e&&(Xe&n)===n&&((Tt===4||Tt===3&&(Xe&62914560)===Xe&&300>wt()-ho)&&(et&2)===0?Da(e,0):fo|=n,ka===Xe&&(ka=0)),vl(e)}function kp(e,t){t===0&&(t=Wa()),e=Ri(e,t),e!==null&&(Oi(e,t),vl(e))}function _b(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),kp(e,n)}function Ab(e,t){var n=0;switch(e.tag){case 31: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(o(314))}i!==null&&i.delete(t),kp(e,n)}function Nb(e,t){return Fn(e,t)}var La=null,Ba=null,Vs=!1,So=!1,Is=!1,xi=0;function vl(e){e!==Ba&&e.next===null&&(Ba===null?La=Ba=e:Ba=Ba.next=e),So=!0,Vs||(Vs=!0,wb())}function Du(e,t){if(!Is&&So){Is=!0;do for(var n=!1,i=La;i!==null;){if(e!==0){var r=i.pendingLanes;if(r===0)var c=0;else{var m=i.suspendedLanes,x=i.pingedLanes;c=(1<<31-te(42|e)+1)-1,c&=r&~(m&~x),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Rp(i,c))}else c=Xe,c=$l(i,i===ht?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(c&3)===0||ki(i,c)||(n=!0,Rp(i,c));i=i.next}while(n);Is=!1}}function Cb(){Op()}function Op(){So=Vs=!1;var e=0;xi!==0&&Hb()&&(e=xi);for(var t=wt(),n=null,i=La;i!==null;){var r=i.next,c=zp(i,t);c===0?(i.next=null,n===null?La=r:n.next=r,r===null&&(Ba=n)):(n=i,(e!==0||(c&3)!==0)&&(So=!0)),i=r}xt!==0&&xt!==5||Du(e),xi!==0&&(xi=0)}function zp(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,r=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var m=31-te(c),x=1<<m,T=r[m];T===-1?((x&n)===0||(x&i)!==0)&&(r[m]=$o(x,t)):T<=t&&(e.expiredLanes|=x),c&=~x}if(t=ht,n=Xe,n=$l(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(ut===2||ut===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&Jn(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ki(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&Jn(i),tu(n)){case 2:case 8:n=on;break;case 32:n=Pn;break;case 268435456:n=I;break;default:n=Pn}return i=Mp.bind(null,e),n=Fn(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&Jn(i),e.callbackPriority=2,e.callbackNode=null,2}function Mp(e,t){if(xt!==0&&xt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(vo()&&e.callbackNode!==n)return null;var i=Xe;return i=$l(e,e===ht?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(yp(e,i,t),zp(e,wt()),e.callbackNode!=null&&e.callbackNode===n?Mp.bind(null,e):null)}function Rp(e,t){if(vo())return null;yp(e,t,!0)}function wb(){Yb(function(){(et&6)!==0?Fn($n,Cb):Op()})}function Xs(){if(xi===0){var e=Hi;e===0&&(e=cl,cl<<=1,(cl&261888)===0&&(cl=256)),xi=e}return xi}function Dp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:gr(e)}function kb(e,t,n,i,r){if(t==="submit"&&n&&n.stateNode===r){var c=Dp((r[F]||null).action),m=i.submitter;m&&(t=(t=m[F]||null)?Dp(t.formAction):m.getAttribute("formAction"),t!==null&&(c=t,m=null));var x=new vr("action","action",null,i,r);e.push({event:x,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(xi!==0){var T=new FormData(r,m);Wc(n,{pending:!0,data:T,method:r.method,action:c},null,T)}}else typeof c=="function"&&(x.preventDefault(),T=new FormData(r,m),Wc(n,{pending:!0,data:T,method:r.method,action:c},c,T))},currentTarget:r}]})}}for(var Qs=0;Qs<yc.length;Qs++){var Zs=yc[Qs],Ob=Zs.toLowerCase(),zb=Zs[0].toUpperCase()+Zs.slice(1);el(Ob,"on"+zb)}el(ud,"onAnimationEnd"),el(rd,"onAnimationIteration"),el(od,"onAnimationStart"),el("dblclick","onDoubleClick"),el("focusin","onFocus"),el("focusout","onBlur"),el(q0,"onTransitionRun"),el(Y0,"onTransitionStart"),el(G0,"onTransitionCancel"),el(cd,"onTransitionEnd"),kl("onMouseEnter",["mouseout","mouseover"]),kl("onMouseLeave",["mouseout","mouseover"]),kl("onPointerEnter",["pointerout","pointerover"]),kl("onPointerLeave",["pointerout","pointerover"]),Bn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Bn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Bn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Bn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Bn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ju="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(" "),Mb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ju));function jp(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 c=void 0;if(t)for(var m=i.length-1;0<=m;m--){var x=i[m],T=x.instance,M=x.currentTarget;if(x=x.listener,T!==c&&r.isPropagationStopped())break e;c=x,r.currentTarget=M;try{c(r)}catch(L){Tr(L)}r.currentTarget=null,c=T}else for(m=0;m<i.length;m++){if(x=i[m],T=x.instance,M=x.currentTarget,x=x.listener,T!==c&&r.isPropagationStopped())break e;c=x,r.currentTarget=M;try{c(r)}catch(L){Tr(L)}r.currentTarget=null,c=T}}}}function Ie(e,t){var n=t[Ge];n===void 0&&(n=t[Ge]=new Set);var i=e+"__bubble";n.has(i)||(Lp(t,e,2,!1),n.add(i))}function Ks(e,t,n){var i=0;t&&(i|=4),Lp(n,e,i,t)}var Eo="_reactListening"+Math.random().toString(36).slice(2);function Fs(e){if(!e[Eo]){e[Eo]=!0,hr.forEach(function(n){n!=="selectionchange"&&(Mb.has(n)||Ks(n,!1,e),Ks(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Eo]||(t[Eo]=!0,Ks("selectionchange",!1,t))}}function Lp(e,t,n,i){switch(Ag(t)){case 2:var r=_x;break;case 8:r=Ax;break;default:r=gf}n=r.bind(null,t,n,e),r=void 0,!lc||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 Js(e,t,n,i,r){var c=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var m=i.tag;if(m===3||m===4){var x=i.stateNode.containerInfo;if(x===r)break;if(m===4)for(m=i.return;m!==null;){var T=m.tag;if((T===3||T===4)&&m.stateNode.containerInfo===r)return;m=m.return}for(;x!==null;){if(m=Gt(x),m===null)return;if(T=m.tag,T===5||T===6||T===26||T===27){i=c=m;continue e}x=x.parentNode}}i=i.return}Lh(function(){var M=c,L=tc(n),V=[];e:{var O=sd.get(e);if(O!==void 0){var j=vr,ne=e;switch(e){case"keypress":if(br(n)===0)break e;case"keydown":case"keyup":j=g0;break;case"focusin":ne="focus",j=rc;break;case"focusout":ne="blur",j=rc;break;case"beforeblur":case"afterblur":j=rc;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":j=Hh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=i0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=S0;break;case ud:case rd:case od:j=r0;break;case cd:j=T0;break;case"scroll":case"scrollend":j=n0;break;case"wheel":j=A0;break;case"copy":case"cut":case"paste":j=c0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Yh;break;case"submit":j=x0;break;case"toggle":case"beforetoggle":j=C0}var pe=(t&4)!==0,Be=!pe&&(e==="scroll"||e==="scrollend"),z=pe?O!==null?O+"Capture":null:O;pe=[];for(var C=M,R;C!==null;){var G=C;if(R=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||R===null||z===null||(G=lu(C,z),G!=null&&pe.push(Lu(C,G,R))),Be)break;C=C.return}0<pe.length&&(O=new j(O,ne,null,n,L),V.push({event:O,listeners:pe}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",O=e==="mouseout"||e==="pointerout",j&&n!==ec&&(ne=n.relatedTarget||n.fromElement)&&(Gt(ne)||ne[ye]))break e;(O||j)&&(ne=L.window===L?L:(j=L.ownerDocument)?j.defaultView||j.parentWindow:window,O?(j=n.relatedTarget||n.toElement,O=M,j=j?Gt(j):null,j!==null&&(Be=f(j),pe=j.tag,j!==Be||pe!==5&&pe!==27&&pe!==6)&&(j=null)):(O=null,j=M),O!==j&&(pe=Hh,G="onMouseLeave",z="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(pe=Yh,G="onPointerLeave",z="onPointerEnter",C="pointer"),Be=O==null?ne:Wl(O),R=j==null?ne:Wl(j),ne=new pe(G,C+"leave",O,n,L),ne.target=Be,ne.relatedTarget=R,G=null,Gt(L)===M&&(pe=new pe(z,C+"enter",j,n,L),pe.target=R,pe.relatedTarget=Be,G=pe),Be=G,pe=O&&j?Y(O,j,Rb):null,O!==null&&Bp(V,ne,O,pe,!1),j!==null&&Be!==null&&Bp(V,Be,j,pe,!0)))}e:{if(O=M?Wl(M):window,j=O.nodeName&&O.nodeName.toLowerCase(),j==="select"||j==="input"&&O.type==="file")var fe=Fh;else if(Zh(O))if(Jh)fe=B0;else{fe=j0;var Qe=D0}else j=O.nodeName,!j||j.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?M&&Wo(M.elementType)&&(fe=Fh):fe=L0;if(fe&&(fe=fe(e,M))){Kh(V,fe,n,L);break e}Qe&&Qe(e,O,M)}switch(Qe=M?Wl(M):window,e){case"focusin":(Zh(Qe)||Qe.contentEditable==="true")&&(fa=Qe,mc=M,fu=null);break;case"focusout":fu=mc=fa=null;break;case"mousedown":pc=!0;break;case"contextmenu":case"mouseup":case"dragend":pc=!1,id(V,n,L);break;case"selectionchange":if(H0)break;case"keydown":case"keyup":id(V,n,L)}var ve;if(cc)e:{switch(e){case"compositionstart":var _e="onCompositionStart";break e;case"compositionend":_e="onCompositionEnd";break e;case"compositionupdate":_e="onCompositionUpdate";break e}_e=void 0}else sa?Xh(e,n)&&(_e="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_e="onCompositionStart");_e&&(Gh&&n.locale!=="ko"&&(sa||_e!=="onCompositionStart"?_e==="onCompositionEnd"&&sa&&(ve=Bh()):(ei=L,ic="value"in ei?ei.value:ei.textContent,sa=!0)),Qe=To(M,_e),0<Qe.length&&(_e=new qh(_e,e,null,n,L),V.push({event:_e,listeners:Qe}),ve?_e.data=ve:(ve=Qh(n),ve!==null&&(_e.data=ve)))),(ve=k0?O0(e,n):z0(e,n))&&(_e=To(M,"onBeforeInput"),0<_e.length&&(Qe=new qh("onBeforeInput","beforeinput",null,n,L),V.push({event:Qe,listeners:_e}),Qe.data=ve)),kb(V,e,M,n,L)}jp(V,t)})}function Lu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function To(e,t){for(var n=t+"Capture",i=[];e!==null;){var r=e,c=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||c===null||(r=lu(e,n),r!=null&&i.unshift(Lu(e,r,c)),r=lu(e,t),r!=null&&i.push(Lu(e,r,c))),e.tag===3)return i;e=e.return}return[]}function Rb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Bp(e,t,n,i,r){for(var c=t._reactName,m=[];n!==null&&n!==i;){var x=n,T=x.alternate,M=x.stateNode;if(x=x.tag,T!==null&&T===i)break;x!==5&&x!==26&&x!==27||M===null||(T=M,r?(M=lu(n,c),M!=null&&m.unshift(Lu(n,M,T))):r||(M=lu(n,c),M!=null&&m.push(Lu(n,M,T)))),n=n.return}m.length!==0&&e.push({event:t,listeners:m})}var Db=/\r\n?/g,jb=/\u0000|\uFFFD/g;function Up(e){return(typeof e=="string"?e:""+e).replace(Db,`
71
+ `).replace(jb,"")}function Hp(e,t){return t=Up(t),Up(e)===t}function ot(e,t,n,i,r,c){switch(n){case"children":if(typeof i=="string")t==="body"||t==="textarea"&&i===""||ra(e,i);else if(typeof i=="number"||typeof i=="bigint")t!=="body"&&ra(e,""+i);else return;break;case"className":Ol(e,"class",i);break;case"tabIndex":Ol(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ol(e,n,i);break;case"style":Dh(e,i,c);return;case"data":if(t!=="object"){Ol(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=gr(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 c=="function"&&(n==="formAction"?(t!=="input"&&ot(e,t,"name",r.name,r,null),ot(e,t,"formEncType",r.formEncType,r,null),ot(e,t,"formMethod",r.formMethod,r,null),ot(e,t,"formTarget",r.formTarget,r,null)):(ot(e,t,"encType",r.encType,r,null),ot(e,t,"method",r.method,r,null),ot(e,t,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=gr(i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=sl);return;case"onScroll":i!=null&&Ie("scroll",e);return;case"onScrollEnd":i!=null&&Ie("scrollend",e);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(o(60));(c!=null?c.__html:void 0)!==n&&(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=gr(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"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?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":Ie("beforetoggle",e),Ie("toggle",e),Pe(e,"popover",i);break;case"xlinkActuate":Zt(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Zt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Zt(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Zt(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Zt(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Zt(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Zt(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Zt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Zt(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Pe(e,"is",i);break;case"innerText":case"textContent":return;default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=e0.get(n)||n,Pe(e,n,i);else return}Ke=!0}function $s(e,t,n,i,r,c){switch(n){case"style":Dh(e,i,c);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(o(60));(c!=null?c.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if(typeof i=="string")ra(e,i);else if(typeof i=="number"||typeof i=="bigint")ra(e,""+i);else return;break;case"onScroll":i!=null&&Ie("scroll",e);return;case"onScrollEnd":i!=null&&Ie("scrollend",e);return;case"onClick":i!=null&&(e.onclick=sl);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!dr.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),c=n.slice(2,r?n.length-7:void 0),t=e[F]||null,t=t!=null?t[n]:null,typeof t=="function"&&e.removeEventListener(c,t,r),typeof i=="function")){typeof t!="function"&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(c,i,r);break e}Ke=!0,n in e?e[n]=i:i===!0?e.setAttribute(n,""):Pe(e,n,i)}return}Ke=!0}function Wt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ie("error",e),Ie("load",e);var i=!1,r=!1,c;for(c in n)if(n.hasOwnProperty(c)){var m=n[c];if(m!=null)switch(c){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:ot(e,t,c,m,n,null)}}r&&ot(e,t,"srcSet",n.srcSet,n,null),i&&ot(e,t,"src",n.src,n,null);return;case"input":Ie("invalid",e);var x=c=m=r=null,T=null,M=null;for(i in n)if(n.hasOwnProperty(i)){var L=n[i];if(L!=null)switch(i){case"name":r=L;break;case"type":m=L;break;case"checked":T=L;break;case"defaultChecked":M=L;break;case"value":c=L;break;case"defaultValue":x=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(o(137,t));break;default:ot(e,t,i,L,n,null)}}pr(e,c,x,T,M,m,r,!1);return;case"select":Ie("invalid",e),i=m=c=null;for(r in n)if(n.hasOwnProperty(r)&&(x=n[r],x!=null))switch(r){case"value":c=x;break;case"defaultValue":m=x;break;case"multiple":i=x;default:ot(e,t,r,x,n,null)}t=c,n=m,e.multiple=!!i,t!=null?ua(e,!!i,t,!1):n!=null&&ua(e,!!i,n,!0);return;case"textarea":Ie("invalid",e),c=r=i=null;for(m in n)if(n.hasOwnProperty(m)&&(x=n[m],x!=null))switch(m){case"value":i=x;break;case"defaultValue":r=x;break;case"children":c=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(91));break;default:ot(e,t,m,x,n,null)}Mh(e,i,r,c);return;case"option":for(T in n)if(n.hasOwnProperty(T)&&(i=n[T],i!=null))switch(T){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:ot(e,t,T,i,n,null)}return;case"dialog":Ie("beforetoggle",e),Ie("toggle",e),Ie("cancel",e),Ie("close",e);break;case"iframe":case"object":Ie("load",e);break;case"video":case"audio":for(i=0;i<ju.length;i++)Ie(ju[i],e);break;case"image":Ie("error",e),Ie("load",e);break;case"details":Ie("toggle",e);break;case"embed":case"source":case"link":Ie("error",e),Ie("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(M in n)if(n.hasOwnProperty(M)&&(i=n[M],i!=null))switch(M){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:ot(e,t,M,i,n,null)}return;default:if(Wo(t)){for(L in n)n.hasOwnProperty(L)&&(i=n[L],i!==void 0&&$s(e,t,L,i,n,void 0));return}}for(x in n)n.hasOwnProperty(x)&&(i=n[x],i!=null&&ot(e,t,x,i,n,null))}var Lb={};function Bb(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,c=null,m=null,x=null,T=null,M=null,L=null;for(j in n){var V=n[j];if(n.hasOwnProperty(j)&&V!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":T=V;default:i.hasOwnProperty(j)||ot(e,t,j,null,i,V)}}for(var O in i){var j=i[O];if(V=n[O],i.hasOwnProperty(O)&&(j!=null||V!=null))switch(O){case"type":j!==V&&(Ke=!0),c=j;break;case"name":j!==V&&(Ke=!0),r=j;break;case"checked":j!==V&&(Ke=!0),M=j;break;case"defaultChecked":j!==V&&(Ke=!0),L=j;break;case"value":j!==V&&(Ke=!0),m=j;break;case"defaultValue":j!==V&&(Ke=!0),x=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(o(137,t));break;default:j!==V&&ot(e,t,O,j,i,V)}}wn(e,m,x,T,M,L,c,r);return;case"select":j=m=x=O=null;for(c in n)if(T=n[c],n.hasOwnProperty(c)&&T!=null)switch(c){case"value":break;case"multiple":j=T;default:i.hasOwnProperty(c)||ot(e,t,c,null,i,T)}for(r in i)if(c=i[r],T=n[r],i.hasOwnProperty(r)&&(c!=null||T!=null))switch(r){case"value":c!==T&&(Ke=!0),O=c;break;case"defaultValue":c!==T&&(Ke=!0),x=c;break;case"multiple":c!==T&&(Ke=!0),m=c;default:c!==T&&ot(e,t,r,c,i,T)}t=x,n=m,i=j,O!=null?ua(e,!!n,O,!1):!!i!=!!n&&(t!=null?ua(e,!!n,t,!0):ua(e,!!n,n?[]:"",!1));return;case"textarea":j=O=null;for(x in n)if(r=n[x],n.hasOwnProperty(x)&&r!=null&&!i.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:ot(e,t,x,null,i,r)}for(m in i)if(r=i[m],c=n[m],i.hasOwnProperty(m)&&(r!=null||c!=null))switch(m){case"value":r!==c&&(Ke=!0),O=r;break;case"defaultValue":r!==c&&(Ke=!0),j=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(o(91));break;default:r!==c&&ot(e,t,m,r,i,c)}zh(e,O,j);return;case"option":for(var ne in n)if(O=n[ne],n.hasOwnProperty(ne)&&O!=null&&!i.hasOwnProperty(ne))switch(ne){case"selected":e.selected=!1;break;default:ot(e,t,ne,null,i,O)}for(T in i)if(O=i[T],j=n[T],i.hasOwnProperty(T)&&O!==j&&(O!=null||j!=null))switch(T){case"selected":O!==j&&(Ke=!0),e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:ot(e,t,T,O,i,j)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var pe in n)O=n[pe],n.hasOwnProperty(pe)&&O!=null&&!i.hasOwnProperty(pe)&&ot(e,t,pe,null,i,O);for(M in i)if(O=i[M],j=n[M],i.hasOwnProperty(M)&&O!==j&&(O!=null||j!=null))switch(M){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(o(137,t));break;default:ot(e,t,M,O,i,j)}return;default:if(Wo(t)){for(var Be in n)O=n[Be],n.hasOwnProperty(Be)&&O!==void 0&&!i.hasOwnProperty(Be)&&$s(e,t,Be,void 0,i,O);for(L in i)O=i[L],j=n[L],!i.hasOwnProperty(L)||O===j||O===void 0&&j===void 0||$s(e,t,L,O,i,j);return}}for(var z in n)O=n[z],n.hasOwnProperty(z)&&O!=null&&!i.hasOwnProperty(z)&&ot(e,t,z,null,i,O);for(V in i)O=i[V],j=n[V],!i.hasOwnProperty(V)||O===j||O==null&&j==null||ot(e,t,V,O,i,j)}function qp(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ub(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var r=n[i],c=r.transferSize,m=r.initiatorType,x=r.duration;if(c&&x&&qp(m)){for(m=0,x=r.responseEnd,i+=1;i<n.length;i++){var T=n[i],M=T.startTime;if(M>x)break;var L=T.transferSize,V=T.initiatorType;L&&qp(V)&&(T=T.responseEnd,m+=L*(T<x?1:(x-M)/(T-M)))}if(--i,t+=8*(c+m)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ps=null,Ws=null;function Bu(e){return e.nodeType===9?e:e.ownerDocument}function Yp(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 Gp(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 Vp(e,t,n,i){return n=Bu(n).createElement(e),n[Ut]=i,n[F]=t,Wt(n,e,t),Ot(n),n}function ef(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 tf=null;function Hb(){var e=window.event;return e&&e.type==="popstate"?e===tf?!1:(tf=e,!0):(tf=null,!1)}var nf=typeof setTimeout=="function"?setTimeout:void 0,qb=typeof clearTimeout=="function"?clearTimeout:void 0,Ip=typeof Promise=="function"?Promise:void 0,Xp=typeof requestAnimationFrame=="function"?requestAnimationFrame:nf,Yb=typeof queueMicrotask=="function"?queueMicrotask:typeof Ip<"u"?function(e){return Ip.resolve(null).then(e).catch(Gb)}:nf;function Gb(e){setTimeout(function(){throw e})}function vi(e){return e==="head"}function Qp(e,t){var n=t,i=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(i===0){e.removeChild(r),Ia(t);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")ff(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,ff(n);for(var c=n.firstChild;c;){var m=c.nextSibling,x=c.nodeName;c[yn]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=m}}else n==="body"&&ff(e.ownerDocument.body);n=r}while(n);Ia(t)}function Zp(e,t){var n=e;e=0;do{var i=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=i}while(n)}function Kp(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display==="inline"){if(t=e.getClientRects(),t.length===1)var i=1;else for(var r=i=0;r<t.length;r++){var c=t[r];0<c.width&&0<c.height&&i++}i===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function Fp(e,t){e=e.style,t=t.style;var n=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=n==null||typeof n=="boolean"?"":(""+n).trim(),n=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=n==null||typeof n=="boolean"?"":(""+n).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(n=t.display,e.display=n==null||typeof n=="boolean"?"":n,n=t.margin,n!=null?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=n==null||typeof n=="boolean"?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function Vb(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function lf(e){var t=e.getBoundingClientRect(),n=getComputedStyle(e);return Vb(t,n,e)}function Ib(e){return e.documentElement.clientHeight}function Xb(e){this.addEventListener("load",e),this.addEventListener("error",e)}function Qb(e,t,n,i,r,c,m,x,T){var M=t.nodeType===9?t:t.ownerDocument;try{var L=M.startViewTransition({update:function(){var O=M.defaultView,j=O.navigation&&O.navigation.transition,ne=M.fonts.status;i();var pe=[];if(ne==="loaded"&&(Ib(M),M.fonts.status==="loading"&&pe.push(M.fonts.ready)),ne=pe.length,e!==null)for(var Be=e.suspenseyImages,z=0,C=0;C<Be.length;C++){var R=Be[C];if(!R.complete){var G=R.getBoundingClientRect();if(0<G.bottom&&0<G.right&&G.top<O.innerHeight&&G.left<O.innerWidth){if(z+=gg(R),z>No){pe.length=ne;break}R=new Promise(Xb.bind(R)),pe.push(R)}}}if(0<pe.length)return O=Promise.race([Promise.all(pe),new Promise(function(fe){return setTimeout(fe,500)})]).then(r,r),(j?Promise.allSettled([j.finished,O]):O).then(c,c);if(r(),j)return j.finished.then(c,c);c()},types:n});M.__reactViewTransition=L;var V=[];return L.ready.then(function(){for(var O=M.documentElement.getAnimations({subtree:!0}),j=0;j<O.length;j++){var ne=O[j],pe=ne.effect,Be=pe.pseudoElement;if(Be!=null&&Be.startsWith("::view-transition")){V.push(ne),ne=pe.getKeyframes();for(var z=Be=void 0,C=!0,R=0;R<ne.length;R++){var G=ne[R],fe=G.width;if(Be===void 0)Be=fe;else if(Be!==fe){C=!1;break}if(fe=G.height,z===void 0)z=fe;else if(z!==fe){C=!1;break}delete G.width,delete G.height,G.transform==="none"&&delete G.transform}C&&Be!==void 0&&z!==void 0&&(pe.setKeyframes(ne),C=getComputedStyle(pe.target,pe.pseudoElement),C.width!==Be||C.height!==z)&&(C=ne[0],C.width=Be,C.height=z,C=ne[ne.length-1],C.width=Be,C.height=z,pe.setKeyframes(ne))}}m()},function(O){M.__reactViewTransition===L&&(M.__reactViewTransition=null);try{if(typeof O=="object"&&O!==null)switch(O.name){case"InvalidStateError":(O.message==="View transition was skipped because document visibility state is hidden."||O.message==="Skipping view transition because document visibility state has become hidden."||O.message==="Skipping view transition because viewport size changed."||O.message==="Transition was aborted because of invalid state")&&(O=null)}O!==null&&T(O)}finally{i(),r(),m()}}),L.finished.finally(function(){for(var O=0;O<V.length;O++)V[O].cancel();M.__reactViewTransition===L&&(M.__reactViewTransition=null),x()}),L}catch{return i(),r(),m(),null}}function Ji(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}Ji.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:P({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Ji.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),i=[],r=0;r<n.length;r++){var c=n[r].effect;c!==null&&c.target===e&&c.pseudoElement===t&&i.push(n[r])}return i},Ji.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Jp(e){return{name:e,group:new Ji("group",e),imagePair:new Ji("image-pair",e),old:new Ji("old",e),new:new Ji("new",e)}}function jn(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}jn.prototype.addEventListener=function(e,t,n){var i=null,r=null;if(!(n!=null&&typeof n!="boolean"&&(i=n.signal||null,i!==null&&i.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var c=this._eventListeners;if(Pp(c,e,t,n)===-1){var m=this,x=t;n!=null&&typeof n!="boolean"&&n.once===!0&&(x=function(T){m.removeEventListener(e,t,n),typeof t=="function"?t.call(this,T):t.handleEvent(T)}),i!==null&&(r=m.removeEventListener.bind(m,e,t,n),i.addEventListener("abort",r,{once:!0}),r=i.removeEventListener.bind(i,"abort",r)),i=Ua(n),c.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:x,cleanup:r}),p(this._fragmentFiber.child,!1,Zb,e,x,i)}this._eventListeners=c}};function Zb(e,t,n,i){return q(e).addEventListener(t,n,i),!1}jn.prototype.removeEventListener=function(e,t,n){var i=this._eventListeners;if(i!==null&&(t=Pp(i,e,t,n),t!==-1)){var r=i[t];n=r.attachedListener;var c=r.cleanup;r=Ua(r.optionsOrUseCapture),p(this._fragmentFiber.child,!1,Kb,e,n,r),i.splice(t,1),c!==null&&c()}};function Kb(e,t,n,i){return q(e).removeEventListener(t,n,i),!1}function Ua(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function $p(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function Pp(e,t,n,i){if(e.length===0)return-1;i=$p(i);for(var r=0;r<e.length;r++){var c=e[r];if(c.type===t&&c.listener===n&&$p(c.optionsOrUseCapture)===i)return r}return-1}jn.prototype.dispatchEvent=function(e){var t=S(this._fragmentFiber);if(t===null)return!0;t=q(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var i=t.nodeType===9?t.createComment(""):document.createTextNode("");if(n)for(var r=0;r<n.length;r++){var c=n[r];i.addEventListener(c.type,c.attachedListener,Ua(c.optionsOrUseCapture))}if(t.appendChild(i),e=i.dispatchEvent(e),n)for(r=0;r<n.length;r++)c=n[r],i.removeEventListener(c.type,c.attachedListener,Ua(c.optionsOrUseCapture));return t.removeChild(i),e}return t.dispatchEvent(e)},jn.prototype.focus=function(e){p(this._fragmentFiber.child,!0,Wp,e,void 0,void 0)};function Wp(e,t){return e.tag===6?!1:(e=q(e),ux(e,t))}jn.prototype.focusLast=function(e){var t=[];p(this._fragmentFiber.child,!0,af,t,void 0,void 0);for(var n=t.length-1;0<=n&&!Wp(t[n],e);n--);};function af(e,t){return t.push(e),!1}jn.prototype.blur=function(){var e=S(this._fragmentFiber);e!==null&&(e=q(e),e=Bu(e).activeElement,e!==null&&p(this._fragmentFiber.child,!1,Fb,e,void 0,void 0))};function Fb(e,t){return e.tag===6?!1:(e=q(e),e===t||e.contains(t)?(t.blur(),!0):!1)}jn.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),p(this._fragmentFiber.child,!1,Jb,e,void 0,void 0)};function Jb(e,t){return e.tag===6||(e=q(e),t.observe(e)),!1}jn.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),p(this._fragmentFiber.child,!1,$b,e,void 0,void 0);for(var n=t=0;n<al.length;n++){var i=al[n];i.fragmentInstance===this&&i.observer===e?e.unobserve(i.instance):al[t++]=i}al.length=t}};function $b(e,t){return e.tag===6||(e=q(e),t.unobserve(e)),!1}var al=[],uf=!1;function Pb(e,t,n){al.push({fragmentInstance:e,observer:t,instance:n}),uf||(uf=!0,rx(function(){uf=!1;var i=al;al=[];for(var r=0;r<i.length;r++){var c=i[r];c.observer.unobserve(c.instance)}}))}jn.prototype.getClientRects=function(){var e=[];return p(this._fragmentFiber.child,!1,Wb,e,void 0,void 0),e};function Wb(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=q(e),t.push.apply(t,e.getClientRects());return!1}jn.prototype.getRootNode=function(e){var t=S(this._fragmentFiber);return t===null?this:q(t).getRootNode(e)},jn.prototype.compareDocumentPosition=function(e){var t=S(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];p(this._fragmentFiber.child,!1,af,n,void 0,void 0);var i=q(t);if(n.length===0){if(n=i,v(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var r=i=n.compareDocumentPosition(e);return n===e?r=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=k(t)[1],n===null?r=Node.DOCUMENT_POSITION_PRECEDING:(e=q(n).compareDocumentPosition(e),r=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),r|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=q(n[0]),r=q(n[n.length-1]);var c=v(this._fragmentFiber)?t.parentElement:i;if(c==null)return Node.DOCUMENT_POSITION_DISCONNECTED;i=c.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,c=c.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY;var m=t.compareDocumentPosition(e),x=r.compareDocumentPosition(e),T=m&Node.DOCUMENT_POSITION_CONTAINED_BY||x&Node.DOCUMENT_POSITION_CONTAINED_BY;return x=i&&c&&m&Node.DOCUMENT_POSITION_FOLLOWING&&x&Node.DOCUMENT_POSITION_PRECEDING,t=i&&t===e||c&&r===e||T||x?Node.DOCUMENT_POSITION_CONTAINED_BY:!i&&t===e||!c&&r===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:m,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||ex(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function ex(e,t,n,i,r){var c=Gt(r);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!c)e:{for(;c!==null;){if(c.tag===7&&(c===t||c.alternate===t)){n=!0;break e}c=c.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(c===null)return c=r.ownerDocument,r===c||r===c.documentElement||r===c.body;e:{for(c=t,t=S(t);c!==null;){if(!(c.tag!==5&&c.tag!==3&&c.tag!==27||c!==t&&c.alternate!==t)){c=!0;break e}c=c.return}c=!1}return c}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!c)&&!(t=c===n)&&(t=Y(n,c,he),t===null?t=!1:(p(t,!0,X,c,n),c=D,D=null,t=c!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!c)&&!(t=c===i)&&(t=Y(i,c,he),t===null?t=!1:(p(t,!0,xe,c,i),c=D,K=D=null,t=c!==null)),t):!1}function eg(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}jn.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(o(566));var t=[];p(this._fragmentFiber.child,!1,af,t,void 0,void 0);var n=e!==!1;if(t.length===0){var i=k(this._fragmentFiber);if(i=n?i[1]||i[0]||S(this._fragmentFiber):i[0]||i[1],i===null)return;if(i.tag===6){e=q(i),eg(e,n);return}if(i=q(i),i.nodeType!==9){if(i.nodeType===11){n="host"in i?i.host:null,n!==null&&n.scrollIntoView(e);return}i.scrollIntoView(e)}}for(i=n?t.length-1:0;i!==(n?-1:t.length);){var r=t[i];r.tag===6?(r=q(r),eg(r,n)):q(r).scrollIntoView(e),i+=n?-1:1}};function tx(e,t){return e=q(e),tg(e,t),!1}function tg(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function ng(e,t){var n=t._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];e.addEventListener(r.type,r.attachedListener,Ua(r.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(c){for(var m=0,x=0;x<al.length;x++){var T=al[x];(T.fragmentInstance!==t||T.observer!==c||T.instance!==e)&&(al[m++]=T)}al.length=m,c.observe(e)}),tg(e,t))}function nx(e,t){var n=t._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];e.removeEventListener(r.type,r.attachedListener,Ua(r.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(c){typeof c.rootMargin=="string"?Pb(t,c,e):c.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function rf(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":rf(n),Yt(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function lx(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[yn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==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(c=e.getAttribute("src"),(c!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Xn(e.nextSibling),e===null)break}return null}function ix(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Xn(e.nextSibling),e===null))return null;return e}function lg(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Xn(e.nextSibling),e===null))return null;return e}function of(e){return e.data==="$?"||e.data==="$~"}function cf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ax(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Xn(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==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var sf=null;function ig(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Xn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function ag(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function ux(e,t){function n(){i=!0}if(e.ownerDocument.activeElement===e)return!0;var i=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return i}function rx(e){Xp(function(){Xp(function(t){return e(t)})})}function ug(e,t,n){switch(t=Bu(n),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function rg(e,t,n){for(var i in n){var r=n[i];n.hasOwnProperty(i)&&r!=null&&ot(e,t,i,null,Lb,r)}n.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===sl&&(e.onclick=null),Yt(e)}function ff(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Yt(e)}var Qn=new Map,og=new Set;function Uu(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Vl=Ee.d;Ee.d={f:ox,r:cx,D:sx,C:fx,L:hx,m:dx,X:px,S:mx,M:gx};function ox(){var e=Vl.f(),t=yo();return e||t}function cx(e){var t=Cl(e);t!==null&&t.tag===5&&t.type==="form"?sm(t):Vl.r(e)}var Ha=typeof document>"u"?null:document;function cg(e,t,n){var i=Ha;if(i&&typeof t=="string"&&t){var r=at(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),og.has(r)||(og.add(r),e={rel:e,crossOrigin:n,href:t},i.querySelector(r)===null&&(t=i.createElement("link"),Wt(t,"link",e),Ot(t),i.head.appendChild(t)))}}function sx(e){Vl.D(e),cg("dns-prefetch",e,null)}function fx(e,t){Vl.C(e,t),cg("preconnect",e,t)}function hx(e,t,n){Vl.L(e,t,n);var i=Ha;if(i&&e&&t){var r='link[rel="preload"][as="'+at(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+at(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+at(n.imageSizes)+'"]')):r+='[href="'+at(e)+'"]';var c=r;switch(t){case"style":c=qa(e);break;case"script":c=Ya(e)}if(!(Qn.has(c)||(e=P({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Qn.set(c,e),i.querySelector(r)!==null||t==="style"&&i.querySelector(Hu(c))||t==="script"&&i.querySelector(qu(c))))){var m=i.createElement("link");Wt(m,"link",e),t==="style"&&(m[Nl]=!0,m.onload=m.onerror=function(){fr(m)}),Ot(m),i.head.appendChild(m)}}}function dx(e,t){Vl.m(e,t);var n=Ha;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+at(i)+'"][href="'+at(e)+'"]',c=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ya(e)}if(!Qn.has(c)&&(e=P({rel:"modulepreload",href:e},t),Qn.set(c,e),n.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(qu(c)))return}i=n.createElement("link"),Wt(i,"link",e),Ot(i),n.head.appendChild(i)}}}function mx(e,t,n){Vl.S(e,t,n);var i=Ha;if(i&&e){var r=wl(i).hoistableStyles,c=qa(e);t=t||"default";var m=r.get(c);if(!m){var x={loading:0,preload:null};if(m=i.querySelector(Hu(c)))x.loading=5;else{e=P({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Qn.get(c))&&hf(e,n);var T=m=i.createElement("link");Ot(T),Wt(T,"link",e),T._p=new Promise(function(M,L){T.onload=M,T.onerror=L}),T.addEventListener("load",function(){x.loading|=1}),T.addEventListener("error",function(){x.loading|=2}),x.loading|=4,_o(m,t,i)}m={type:"stylesheet",instance:m,count:1,state:x},r.set(c,m)}}}function px(e,t){Vl.X(e,t);var n=Ha;if(n&&e){var i=wl(n).hoistableScripts,r=Ya(e),c=i.get(r);c||(c=n.querySelector(qu(r)),c||(e=P({src:e,async:!0},t),(t=Qn.get(r))&&df(e,t),c=n.createElement("script"),Ot(c),Wt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(r,c))}}function gx(e,t){Vl.M(e,t);var n=Ha;if(n&&e){var i=wl(n).hoistableScripts,r=Ya(e),c=i.get(r);c||(c=n.querySelector(qu(r)),c||(e=P({src:e,async:!0,type:"module"},t),(t=Qn.get(r))&&df(e,t),c=n.createElement("script"),Ot(c),Wt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(r,c))}}function sg(e,t,n,i){var r=(r=Nn.current)?Uu(r):null;if(!r)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=qa(n.href),t=wl(r).hoistableStyles,i=t.get(n),i||(i={type:"style",instance:null,count:0,state:null},t.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=qa(n.href);var c=wl(r).hoistableStyles,m=c.get(e);if(m||(r=r.ownerDocument||r,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,m),(c=r.querySelector(Hu(e)))?c._p||(m.instance=c,m.state.loading=5):(c=Qn.get(e),c||(c={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Qn.set(e,c)),yx(r,e,c,m.state))),t&&i===null)throw Error(o(528,""));return m}if(t&&i!==null)throw Error(o(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Ya(n),t=wl(r).hoistableScripts,i=t.get(n),i||(i={type:"script",instance:null,count:0,state:null},t.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function qa(e){return'href="'+at(e)+'"'}function Hu(e){return'link[rel="stylesheet"]['+e+"]"}function fg(e){return P({},e,{"data-precedence":e.precedence,precedence:null})}function yx(e,t,n,i){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[Nl]!==!0){i.loading=1;return}}else t=e.createElement("link"),t[Nl]=!0,t.onload=t.onerror=fr.bind(null,t),Wt(t,"link",n),Ot(t),e.head.appendChild(t);i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2})}function Ya(e){return'[src="'+at(e)+'"]'}function qu(e){return"script[async]"+e}function hg(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+at(n.href)+'"]');if(i)return t.instance=i,Ot(i),i;var r=P({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ot(i),Wt(i,"style",r),_o(i,n.precedence,e),t.instance=i;case"stylesheet":r=qa(n.href);var c=e.querySelector(Hu(r));if(c)return t.state.loading|=4,t.instance=c,Ot(c),c;i=fg(n),(r=Qn.get(r))&&hf(i,r),c=(e.ownerDocument||e).createElement("link"),Ot(c);var m=c;return m._p=new Promise(function(x,T){m.onload=x,m.onerror=T}),Wt(c,"link",i),t.state.loading|=4,_o(c,n.precedence,e),t.instance=c;case"script":return c=Ya(n.src),(r=e.querySelector(qu(c)))?(t.instance=r,Ot(r),r):(i=n,(r=Qn.get(c))&&(i=P({},n),df(i,r)),e=e.ownerDocument||e,r=e.createElement("script"),Ot(r),Wt(r,"link",i),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,_o(i,n.precedence,e));return t.instance}function _o(e,t,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=i.length?i[i.length-1]:null,c=r,m=0;m<i.length;m++){var x=i[m];if(x.dataset.precedence===t)c=x;else if(c!==r)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function hf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function df(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ao=null;function dg(e,t,n){if(Ao===null){var i=new Map,r=Ao=new Map;r.set(n,i)}else r=Ao,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 c=n[r];if(!(c[yn]||c[Ut]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var m=c.getAttribute(t)||"";m=e+m;var x=i.get(m);x?x.push(c):i.set(m,[c])}}return i}function mf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function bx(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 mg(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function pg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function gg(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function yg(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=gg(t),e.suspenseyImages.push(t)),e=Sx.bind(e),t.decode().then(e,e))}function xx(e,t,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=qa(i.href),c=t.querySelector(Hu(r));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Yu.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=c,Ot(c);return}c=t.ownerDocument||t,i=fg(i),(r=Qn.get(r))&&hf(i,r),c=c.createElement("link"),Ot(c);var m=c;m._p=new Promise(function(x,T){m.onload=x,m.onerror=T}),Wt(c,"link",i),n.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Yu.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var No=0;function vx(e,t){return e.stylesheets&&e.count===0&&wo(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var i=setTimeout(function(){if(e.stylesheets&&wo(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&No===0&&(No=62500*Ub());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&wo(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>No?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(r)}}:null}function bg(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)wo(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Yu(){this.count--,bg(this)}function Sx(){this.imgCount--,bg(this)}var Co=null;function wo(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Co=new Map,t.forEach(Ex,e),Co=null,Yu.call(e))}function Ex(e,t){if(!(t.state.loading&4)){var n=Co.get(e);if(n)var i=n.get(null);else{n=new Map,Co.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<r.length;c++){var m=r[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(n.set(m.dataset.precedence,m),i=m)}i&&n.set(null,i)}r=t.instance,m=r.getAttribute("data-precedence"),c=n.get(m)||i,c===i&&n.set(null,r),n.set(m,r),this.count++,i=Yu.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),c?c.parentNode.insertBefore(r,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var Ga={$$typeof:J,Provider:null,Consumer:null,_currentValue:An,_currentValue2:An,_threadCount:0};function Tx(e,t,n,i,r,c,m,x,T){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=Pl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pl(0),this.hiddenUpdates=Pl(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.transitionTypes=null,this.incompleteTransitions=new Map}function xg(e,t,n,i,r,c,m,x,T,M,L,V){return e=new Tx(e,t,n,m,T,M,L,V,x),t=1,c===!0&&(t|=24),c=bn(3,null,null,t),e.current=c,c.stateNode=e,t=wc(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:i,isDehydrated:n,cache:t},Mc(c),e}function vg(e){return e?(e=ma,e):ma}function Sg(e,t,n,i,r,c){r=vg(r),i.context===null?i.context=r:i.pendingContext=r,i=oi(t),i.payload={element:n},c=c===void 0?null:c,c!==null&&(i.callback=c),n=ci(e,i,t),n!==null&&(En(n,e,t),bu(n,e,t))}function Eg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function pf(e,t){Eg(e,t),(e=e.alternate)&&Eg(e,t)}function Tg(e){if(e.tag===13||e.tag===31){var t=Ri(e,67108864);t!==null&&En(t,e,67108864),pf(e,67108864)}}function _g(e){if(e.tag===13||e.tag===31){var t=Dn();t=la(t);var n=Ri(e,t);n!==null&&En(n,e,t),pf(e,t)}}var Va=!0;function _x(e,t,n,i){var r=me.T;me.T=null;var c=Ee.p;try{Ee.p=2,gf(e,t,n,i)}finally{Ee.p=c,me.T=r}}function Ax(e,t,n,i){var r=me.T;me.T=null;var c=Ee.p;try{Ee.p=8,gf(e,t,n,i)}finally{Ee.p=c,me.T=r}}function gf(e,t,n,i){if(Va){var r=yf(i);if(r===null)Js(e,t,i,ko,n),Ng(e,i);else if(Cx(r,e,t,n,i))i.stopPropagation();else if(Ng(e,i),t&4&&-1<Nx.indexOf(e)){for(;r!==null;){var c=Cl(r);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=Al(c.pendingLanes);if(m!==0){var x=c;for(x.pendingLanes|=2,x.entangledLanes|=2;m;){var T=1<<31-te(m);x.entanglements[1]|=T,m&=~T}vl(c),(et&6)===0&&(mo=wt()+500,Du(0))}}break;case 31:case 13:x=Ri(c,2),x!==null&&En(x,c,2),yo(),pf(c,2)}if(c=yf(i),c===null&&Js(e,t,i,ko,n),c===r)break;r=c}r!==null&&i.stopPropagation()}else Js(e,t,i,null,n)}}function yf(e){return e=tc(e),bf(e)}var ko=null;function bf(e){if(ko=null,e=Gt(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=h(t),e!==null)return e;e=null}else if(n===31){if(e=d(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 ko=e,null}function Ag(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"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(qt()){case $n:return 2;case on:return 8;case Pn:case A:return 32;case I:return 268435456;default:return 32}default:return 32}}var xf=!1,Si=null,Ei=null,Ti=null,Gu=new Map,Vu=new Map,_i=[],Nx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Ng(e,t){switch(e){case"focusin":case"focusout":Si=null;break;case"dragenter":case"dragleave":Ei=null;break;case"mouseover":case"mouseout":Ti=null;break;case"pointerover":case"pointerout":Gu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vu.delete(t.pointerId)}}function Iu(e,t,n,i,r,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:c,targetContainers:[r]},t!==null&&(t=Cl(t),t!==null&&Tg(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function Cx(e,t,n,i,r){switch(t){case"focusin":return Si=Iu(Si,e,t,n,i,r),!0;case"dragenter":return Ei=Iu(Ei,e,t,n,i,r),!0;case"mouseover":return Ti=Iu(Ti,e,t,n,i,r),!0;case"pointerover":var c=r.pointerId;return Gu.set(c,Iu(Gu.get(c)||null,e,t,n,i,r)),!0;case"gotpointercapture":return c=r.pointerId,Vu.set(c,Iu(Vu.get(c)||null,e,t,n,i,r)),!0}return!1}function Cg(e){var t=Gt(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=h(n),t!==null){e.blockedOn=t,sr(e.priority,function(){_g(n)});return}}else if(t===31){if(t=d(n),t!==null){e.blockedOn=t,sr(e.priority,function(){_g(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Oo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yf(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);ec=i,n.target.dispatchEvent(i),ec=null}else return t=Cl(n),t!==null&&Tg(t),e.blockedOn=n,!1;t.shift()}return!0}function wg(e,t,n){Oo(e)&&n.delete(t)}function wx(){xf=!1,Si!==null&&Oo(Si)&&(Si=null),Ei!==null&&Oo(Ei)&&(Ei=null),Ti!==null&&Oo(Ti)&&(Ti=null),Gu.forEach(wg),Vu.forEach(wg)}function zo(e,t){e.blockedOn===t&&(e.blockedOn=null,xf||(xf=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,wx)))}var Mo=null;function kg(e){Mo!==e&&(Mo=e,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){Mo===e&&(Mo=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(bf(i||n)===null)continue;break}var c=Cl(n);c!==null&&(e.splice(t,3),t-=3,Wc(c,{pending:!0,data:r,method:n.method,action:i},i,r))}}))}function Ia(e){function t(T){return zo(T,e)}Si!==null&&zo(Si,e),Ei!==null&&zo(Ei,e),Ti!==null&&zo(Ti,e),Gu.forEach(t),Vu.forEach(t);for(var n=0;n<_i.length;n++){var i=_i[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<_i.length&&(n=_i[0],n.blockedOn===null);)Cg(n),n.blockedOn===null&&_i.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var r=n[i],c=n[i+1],m=r[F]||null;if(typeof c=="function")m||kg(n);else if(m){var x=null;if(c&&c.hasAttribute("formAction")){if(r=c,m=c[F]||null)x=m.formAction;else if(bf(r)!==null)continue}else x=m.action;typeof x=="function"?n[i+1]=x:(n.splice(i,3),i-=3),kg(n)}}}function Og(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return r=m})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function vf(e){this._internalRoot=e}Ro.prototype.render=vf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current,i=Dn();Sg(n,i,e,t,null,null)},Ro.prototype.unmount=vf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Sg(e.current,2,null,e,null,null),yo(),t[ye]=null}};function Ro(e){this._internalRoot=e}Ro.prototype.unstable_scheduleHydration=function(e){if(e){var t=cr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_i.length&&t!==0&&t<_i[n].priority;n++);_i.splice(n,0,e),n===0&&Cg(e)}};var zg=u.version;if(zg!=="19.3.0")throw Error(o(527,zg,"19.3.0"));Ee.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=b(t),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var kx={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:me,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Do=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Do.isDisabled&&Do.supportsFiber)try{ft=Do.inject(kx),Ze=Do}catch{}}return Qu.createRoot=function(e,t){if(!s(e))throw Error(o(299));var n=!1,i="",r=vm,c=Sm,m=Em;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&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=xg(e,1,!1,null,null,n,i,null,r,c,m,Og),e[ye]=t.current,Fs(e),new vf(t)},Qu.hydrateRoot=function(e,t,n){if(!s(e))throw Error(o(299));var i=!1,r="",c=vm,m=Sm,x=Em,T=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(x=n.onRecoverableError),n.formState!==void 0&&(T=n.formState)),t=xg(e,1,!0,t,n??null,i,r,T,c,m,x,Og),t.context=vg(null),n=t.current,i=Dn(),i=la(i),r=oi(i),r.callback=null,ci(n,r,i),n=i,t.current.lanes=n,Oi(t,n),vl(t),e[ye]=t.current,Fs(e),new Ro(t)},Qu.version="19.3.0",Qu}var Yg;function Hx(){if(Yg)return Tf.exports;Yg=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),Tf.exports=Ux(),Tf.exports}var qx=Hx();/**
72
+ * @license lucide-react v0.468.0 - ISC
73
+ *
74
+ * This source code is licensed under the ISC license.
75
+ * See the LICENSE file in the root directory of this source tree.
76
+ */const Yx=l=>l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),By=(...l)=>l.filter((u,a,o)=>!!u&&u.trim()!==""&&o.indexOf(u)===a).join(" ").trim();/**
77
+ * @license lucide-react v0.468.0 - ISC
78
+ *
79
+ * This source code is licensed under the ISC license.
80
+ * See the LICENSE file in the root directory of this source tree.
81
+ */var Gx={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
82
+ * @license lucide-react v0.468.0 - ISC
83
+ *
84
+ * This source code is licensed under the ISC license.
85
+ * See the LICENSE file in the root directory of this source tree.
86
+ */const Vx=_t.forwardRef(({color:l="currentColor",size:u=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:s="",children:f,iconNode:h,...d},g)=>_t.createElement("svg",{ref:g,...Gx,width:u,height:u,stroke:l,strokeWidth:o?Number(a)*24/Number(u):a,className:By("lucide",s),...d},[...h.map(([b,y])=>_t.createElement(b,y)),...Array.isArray(f)?f:[f]]));/**
87
+ * @license lucide-react v0.468.0 - ISC
88
+ *
89
+ * This source code is licensed under the ISC license.
90
+ * See the LICENSE file in the root directory of this source tree.
91
+ */const tt=(l,u)=>{const a=_t.forwardRef(({className:o,...s},f)=>_t.createElement(Vx,{ref:f,iconNode:u,className:By(`lucide-${Yx(l)}`,o),...s}));return a.displayName=`${l}`,a};/**
92
+ * @license lucide-react v0.468.0 - ISC
93
+ *
94
+ * This source code is licensed under the ISC license.
95
+ * See the LICENSE file in the root directory of this source tree.
96
+ */const Ix=tt("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
97
+ * @license lucide-react v0.468.0 - ISC
98
+ *
99
+ * This source code is licensed under the ISC license.
100
+ * See the LICENSE file in the root directory of this source tree.
101
+ */const Xx=tt("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
102
+ * @license lucide-react v0.468.0 - ISC
103
+ *
104
+ * This source code is licensed under the ISC license.
105
+ * See the LICENSE file in the root directory of this source tree.
106
+ */const Qx=tt("ArrowRightLeft",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);/**
107
+ * @license lucide-react v0.468.0 - ISC
108
+ *
109
+ * This source code is licensed under the ISC license.
110
+ * See the LICENSE file in the root directory of this source tree.
111
+ */const Zx=tt("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
112
+ * @license lucide-react v0.468.0 - ISC
113
+ *
114
+ * This source code is licensed under the ISC license.
115
+ * See the LICENSE file in the root directory of this source tree.
116
+ */const Kx=tt("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
117
+ * @license lucide-react v0.468.0 - ISC
118
+ *
119
+ * This source code is licensed under the ISC license.
120
+ * See the LICENSE file in the root directory of this source tree.
121
+ */const Uy=tt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
122
+ * @license lucide-react v0.468.0 - ISC
123
+ *
124
+ * This source code is licensed under the ISC license.
125
+ * See the LICENSE file in the root directory of this source tree.
126
+ */const Fx=tt("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
127
+ * @license lucide-react v0.468.0 - ISC
128
+ *
129
+ * This source code is licensed under the ISC license.
130
+ * See the LICENSE file in the root directory of this source tree.
131
+ */const Jx=tt("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
132
+ * @license lucide-react v0.468.0 - ISC
133
+ *
134
+ * This source code is licensed under the ISC license.
135
+ * See the LICENSE file in the root directory of this source tree.
136
+ */const $x=tt("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
137
+ * @license lucide-react v0.468.0 - ISC
138
+ *
139
+ * This source code is licensed under the ISC license.
140
+ * See the LICENSE file in the root directory of this source tree.
141
+ */const oh=tt("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/**
142
+ * @license lucide-react v0.468.0 - ISC
143
+ *
144
+ * This source code is licensed under the ISC license.
145
+ * See the LICENSE file in the root directory of this source tree.
146
+ */const Px=tt("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
147
+ * @license lucide-react v0.468.0 - ISC
148
+ *
149
+ * This source code is licensed under the ISC license.
150
+ * See the LICENSE file in the root directory of this source tree.
151
+ */const Wx=tt("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
152
+ * @license lucide-react v0.468.0 - ISC
153
+ *
154
+ * This source code is licensed under the ISC license.
155
+ * See the LICENSE file in the root directory of this source tree.
156
+ */const ev=tt("Flag",[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]]);/**
157
+ * @license lucide-react v0.468.0 - ISC
158
+ *
159
+ * This source code is licensed under the ISC license.
160
+ * See the LICENSE file in the root directory of this source tree.
161
+ */const tv=tt("FlaskConical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);/**
162
+ * @license lucide-react v0.468.0 - ISC
163
+ *
164
+ * This source code is licensed under the ISC license.
165
+ * See the LICENSE file in the root directory of this source tree.
166
+ */const Hy=tt("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
167
+ * @license lucide-react v0.468.0 - ISC
168
+ *
169
+ * This source code is licensed under the ISC license.
170
+ * See the LICENSE file in the root directory of this source tree.
171
+ */const nv=tt("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
172
+ * @license lucide-react v0.468.0 - ISC
173
+ *
174
+ * This source code is licensed under the ISC license.
175
+ * See the LICENSE file in the root directory of this source tree.
176
+ */const lv=tt("Keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);/**
177
+ * @license lucide-react v0.468.0 - ISC
178
+ *
179
+ * This source code is licensed under the ISC license.
180
+ * See the LICENSE file in the root directory of this source tree.
181
+ */const iv=tt("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
182
+ * @license lucide-react v0.468.0 - ISC
183
+ *
184
+ * This source code is licensed under the ISC license.
185
+ * See the LICENSE file in the root directory of this source tree.
186
+ */const Gg=tt("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
187
+ * @license lucide-react v0.468.0 - ISC
188
+ *
189
+ * This source code is licensed under the ISC license.
190
+ * See the LICENSE file in the root directory of this source tree.
191
+ */const av=tt("ListTree",[["path",{d:"M21 12h-8",key:"1bmf0i"}],["path",{d:"M21 6H8",key:"1pqkrb"}],["path",{d:"M21 18h-8",key:"1tm79t"}],["path",{d:"M3 6v4c0 1.1.9 2 2 2h3",key:"1ywdgy"}],["path",{d:"M3 10v6c0 1.1.9 2 2 2h3",key:"2wc746"}]]);/**
192
+ * @license lucide-react v0.468.0 - ISC
193
+ *
194
+ * This source code is licensed under the ISC license.
195
+ * See the LICENSE file in the root directory of this source tree.
196
+ */const uv=tt("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
197
+ * @license lucide-react v0.468.0 - ISC
198
+ *
199
+ * This source code is licensed under the ISC license.
200
+ * See the LICENSE file in the root directory of this source tree.
201
+ */const rv=tt("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
202
+ * @license lucide-react v0.468.0 - ISC
203
+ *
204
+ * This source code is licensed under the ISC license.
205
+ * See the LICENSE file in the root directory of this source tree.
206
+ */const ov=tt("MousePointerClick",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]]);/**
207
+ * @license lucide-react v0.468.0 - ISC
208
+ *
209
+ * This source code is licensed under the ISC license.
210
+ * See the LICENSE file in the root directory of this source tree.
211
+ */const cv=tt("MoveVertical",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m8 18 4 4 4-4",key:"bh5tu3"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}]]);/**
212
+ * @license lucide-react v0.468.0 - ISC
213
+ *
214
+ * This source code is licensed under the ISC license.
215
+ * See the LICENSE file in the root directory of this source tree.
216
+ */const sv=tt("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
217
+ * @license lucide-react v0.468.0 - ISC
218
+ *
219
+ * This source code is licensed under the ISC license.
220
+ * See the LICENSE file in the root directory of this source tree.
221
+ */const fv=tt("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
222
+ * @license lucide-react v0.468.0 - ISC
223
+ *
224
+ * This source code is licensed under the ISC license.
225
+ * See the LICENSE file in the root directory of this source tree.
226
+ */const ch=tt("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
227
+ * @license lucide-react v0.468.0 - ISC
228
+ *
229
+ * This source code is licensed under the ISC license.
230
+ * See the LICENSE file in the root directory of this source tree.
231
+ */const hv=tt("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
232
+ * @license lucide-react v0.468.0 - ISC
233
+ *
234
+ * This source code is licensed under the ISC license.
235
+ * See the LICENSE file in the root directory of this source tree.
236
+ */const dv=tt("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
237
+ * @license lucide-react v0.468.0 - ISC
238
+ *
239
+ * This source code is licensed under the ISC license.
240
+ * See the LICENSE file in the root directory of this source tree.
241
+ */const mv=tt("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
242
+ * @license lucide-react v0.468.0 - ISC
243
+ *
244
+ * This source code is licensed under the ISC license.
245
+ * See the LICENSE file in the root directory of this source tree.
246
+ */const pv=tt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function gv(l,u){const a={};return(l[l.length-1]===""?[...l,""]:l).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const yv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bv=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,xv={};function Vg(l,u){return(xv.jsx?bv:yv).test(l)}const vv=/[ \t\n\f\r]/g;function Sv(l){return typeof l=="object"?l.type==="text"?Ig(l.value):!1:Ig(l)}function Ig(l){return l.replace(vv,"")===""}class ir{constructor(u,a,o){this.normal=a,this.property=u,o&&(this.space=o)}}ir.prototype.normal={};ir.prototype.property={};ir.prototype.space=void 0;function qy(l,u){const a={},o={};for(const s of l)Object.assign(a,s.property),Object.assign(o,s.normal);return new ir(a,o,u)}function Xf(l){return l.toLowerCase()}class _n{constructor(u,a){this.attribute=a,this.property=u}}_n.prototype.attribute="";_n.prototype.booleanish=!1;_n.prototype.boolean=!1;_n.prototype.commaOrSpaceSeparated=!1;_n.prototype.commaSeparated=!1;_n.prototype.defined=!1;_n.prototype.mustUseProperty=!1;_n.prototype.number=!1;_n.prototype.overloadedBoolean=!1;_n.prototype.property="";_n.prototype.spaceSeparated=!1;_n.prototype.space=void 0;let Ev=0;const ze=na(),Lt=na(),Qf=na(),$=na(),dt=na(),Wi=na(),Ln=na();function na(){return 2**++Ev}const Zf=Object.freeze(Object.defineProperty({__proto__:null,boolean:ze,booleanish:Lt,commaOrSpaceSeparated:Ln,commaSeparated:Wi,number:$,overloadedBoolean:Qf,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),Cf=Object.keys(Zf);class sh extends _n{constructor(u,a,o,s){let f=-1;if(super(u,a),Xg(this,"space",s),typeof o=="number")for(;++f<Cf.length;){const h=Cf[f];Xg(this,Cf[f],(o&Zf[h])===Zf[h])}}}sh.prototype.defined=!0;function Xg(l,u,a){a&&(l[u]=a)}function $a(l){const u={},a={};for(const[o,s]of Object.entries(l.properties)){const f=new sh(o,l.transform(l.attributes||{},o),s,l.space);l.mustUseProperty&&l.mustUseProperty.includes(o)&&(f.mustUseProperty=!0),u[o]=f,a[Xf(o)]=o,a[Xf(f.attribute)]=o}return new ir(u,a,l.space)}const Yy=$a({properties:{ariaActiveDescendant:null,ariaAtomic:Lt,ariaAutoComplete:null,ariaBusy:Lt,ariaChecked:Lt,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:Lt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:Lt,ariaFlowTo:dt,ariaGrabbed:Lt,ariaHasPopup:null,ariaHidden:Lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:$,ariaLive:null,ariaModal:Lt,ariaMultiLine:Lt,ariaMultiSelectable:Lt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:Lt,ariaReadOnly:Lt,ariaRelevant:null,ariaRequired:Lt,ariaRoleDescription:dt,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:Lt,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(l,u){return u==="role"?u:"aria-"+u.slice(4).toLowerCase()}});function Gy(l,u){return u in l?l[u]:u}function Vy(l,u){return Gy(l,u.toLowerCase())}const Tv=$a({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Wi,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:ze,allowPaymentRequest:ze,allowUserMedia:ze,alpha:ze,alt:null,as:null,async:ze,autoCapitalize:null,autoComplete:dt,autoFocus:ze,autoPlay:ze,blocking:dt,capture:null,charSet:null,checked:ze,cite:null,className:dt,closedBy:null,colorSpace:null,cols:$,colSpan:$,command:null,commandFor:null,content:null,contentEditable:Lt,controls:ze,controlsList:dt,coords:$|Wi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ze,defer:ze,dir:null,dirName:null,disabled:ze,download:Qf,draggable:Lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ze,formTarget:null,headers:dt,height:$,hidden:Qf,high:$,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:ze,inputMode:null,integrity:null,is:null,isMap:ze,itemId:null,itemProp:dt,itemRef:dt,itemScope:ze,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ze,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:ze,muted:ze,name:null,nonce:null,noModule:ze,noValidate:ze,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:ze,optimum:$,pattern:null,ping:dt,placeholder:null,playsInline:ze,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ze,referrerPolicy:null,rel:dt,required:ze,reversed:ze,rows:$,rowSpan:$,sandbox:dt,scope:null,scoped:ze,seamless:ze,selected:ze,shadowRootClonable:ze,shadowRootCustomElementRegistry:ze,shadowRootDelegatesFocus:ze,shadowRootMode:null,shadowRootSerializable:ze,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:Lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:ze,useMap:null,value:Lt,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ze,declare:ze,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:ze,noHref:ze,noShade:ze,noWrap:ze,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:Lt,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:ze,disablePictureInPicture:ze,disableRemotePlayback:ze,exportParts:Wi,part:dt,prefix:null,property:null,results:$,security:null,unselectable:null},space:"html",transform:Vy}),_v=$a({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ln,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:dt,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:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:ze,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,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:Wi,g2:Wi,glyphName:Wi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:Ln,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,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:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ln,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ln,rev:Ln,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ln,requiredFeatures:Ln,requiredFonts:Ln,requiredFormats:Ln,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:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:Ln,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ln,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ln,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Gy}),Iy=$a({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(l,u){return"xlink:"+u.slice(5).toLowerCase()}}),Xy=$a({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Vy}),Qy=$a({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(l,u){return"xml:"+u.slice(3).toLowerCase()}}),Av={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"},Nv=/[A-Z]/g,Qg=/-[a-z]/g,Cv=/^data[-\w.:]+$/i;function wv(l,u){const a=Xf(u);let o=u,s=_n;if(a in l.normal)return l.property[l.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&Cv.test(u)){if(u.charAt(4)==="-"){const f=u.slice(5).replace(Qg,Ov);o="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=u.slice(4);if(!Qg.test(f)){let h=f.replace(Nv,kv);h.charAt(0)!=="-"&&(h="-"+h),u="data"+h}}s=sh}return new s(o,u)}function kv(l){return"-"+l.toLowerCase()}function Ov(l){return l.charAt(1).toUpperCase()}const zv=qy([Yy,Tv,Iy,Xy,Qy],"html"),fh=qy([Yy,_v,Iy,Xy,Qy],"svg");function Mv(l){return l.join(" ").trim()}var Xa={},wf,Zg;function Rv(){if(Zg)return wf;Zg=1;var l=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,u=/\n/g,a=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,h=/^[;\s]*/,d=/^\s+|\s+$/g,g=`
247
+ `,b="/",y="*",p="",S="comment",v="declaration";function k(q,D){if(typeof q!="string")throw new TypeError("First argument must be a string");if(!q)return[];D=D||{};var K=1,X=1;function xe(de){var J=de.match(u);J&&(K+=J.length);var Q=de.lastIndexOf(g);X=~Q?de.length-Q:X+de.length}function he(){var de={line:K,column:X};return function(J){return J.position=new Y(de),He(),J}}function Y(de){this.start=de,this.end={line:K,column:X},this.source=D.source}Y.prototype.content=q;function P(de){var J=new Error(D.source+":"+K+":"+X+": "+de);if(J.reason=de,J.filename=D.source,J.line=K,J.column=X,J.source=q,!D.silent)throw J}function ae(de){var J=de.exec(q);if(J){var Q=J[0];return xe(Q),q=q.slice(Q.length),J}}function He(){ae(a)}function B(de){var J;for(de=de||[];J=W();)J!==!1&&de.push(J);return de}function W(){var de=he();if(!(b!=q.charAt(0)||y!=q.charAt(1))){for(var J=2;p!=q.charAt(J)&&(y!=q.charAt(J)||b!=q.charAt(J+1));)++J;if(J+=2,p===q.charAt(J-1))return P("End of comment missing");var Q=q.slice(2,J-2);return X+=2,xe(Q),q=q.slice(J),X+=2,de({type:S,comment:Q})}}function ce(){var de=he(),J=ae(o);if(J){if(W(),!ae(s))return P("property missing ':'");var Q=ae(f),oe=de({type:v,property:U(J[0].replace(l,p)),value:Q?U(Q[0].replace(l,p)):p});return ae(h),oe}}function Re(){var de=[];B(de);for(var J;J=ce();)J!==!1&&(de.push(J),B(de));return de}return He(),Re()}function U(q){return q?q.replace(d,p):p}return wf=k,wf}var Kg;function Dv(){if(Kg)return Xa;Kg=1;var l=Xa&&Xa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.default=a;const u=l(Rv());function a(o,s){let f=null;if(!o||typeof o!="string")return f;const h=(0,u.default)(o),d=typeof s=="function";return h.forEach(g=>{if(g.type!=="declaration")return;const{property:b,value:y}=g;d?s(b,y,g):y&&(f=f||{},f[b]=y)}),f}return Xa}var Zu={},Fg;function jv(){if(Fg)return Zu;Fg=1,Object.defineProperty(Zu,"__esModule",{value:!0}),Zu.camelCase=void 0;var l=/^--[a-zA-Z0-9_-]+$/,u=/-([a-z])/g,a=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,f=function(b){return!b||a.test(b)||l.test(b)},h=function(b,y){return y.toUpperCase()},d=function(b,y){return"".concat(y,"-")},g=function(b,y){return y===void 0&&(y={}),f(b)?b:(b=b.toLowerCase(),y.reactCompat?b=b.replace(s,d):b=b.replace(o,d),b.replace(u,h))};return Zu.camelCase=g,Zu}var Ku,Jg;function Lv(){if(Jg)return Ku;Jg=1;var l=Ku&&Ku.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},u=l(Dv()),a=jv();function o(s,f){var h={};return!s||typeof s!="string"||(0,u.default)(s,function(d,g){d&&g&&(h[(0,a.camelCase)(d,f)]=g)}),h}return o.default=o,Ku=o,Ku}var Bv=Lv();const Uv=uh(Bv),Zy=Ky("end"),hh=Ky("start");function Ky(l){return u;function u(a){const o=a&&a.position&&a.position[l]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function Hv(l){const u=hh(l),a=Zy(l);if(u&&a)return{start:u,end:a}}function Wu(l){return!l||typeof l!="object"?"":"position"in l||"type"in l?$g(l.position):"start"in l||"end"in l?$g(l):"line"in l||"column"in l?Kf(l):""}function Kf(l){return Pg(l&&l.line)+":"+Pg(l&&l.column)}function $g(l){return Kf(l&&l.start)+"-"+Kf(l&&l.end)}function Pg(l){return l&&typeof l=="number"?l:1}class un extends Error{constructor(u,a,o){super(),typeof a=="string"&&(o=a,a=void 0);let s="",f={},h=!1;if(a&&("line"in a&&"column"in a?f={place:a}:"start"in a&&"end"in a?f={place:a}:"type"in a?f={ancestors:[a],place:a.position}:f={...a}),typeof u=="string"?s=u:!f.cause&&u&&(h=!0,s=u.message,f.cause=u),!f.ruleId&&!f.source&&typeof o=="string"){const g=o.indexOf(":");g===-1?f.ruleId=o:(f.source=o.slice(0,g),f.ruleId=o.slice(g+1))}if(!f.place&&f.ancestors&&f.ancestors){const g=f.ancestors[f.ancestors.length-1];g&&(f.place=g.position)}const d=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=d?d.line:void 0,this.name=Wu(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=h&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}un.prototype.file="";un.prototype.name="";un.prototype.reason="";un.prototype.message="";un.prototype.stack="";un.prototype.column=void 0;un.prototype.line=void 0;un.prototype.ancestors=void 0;un.prototype.cause=void 0;un.prototype.fatal=void 0;un.prototype.place=void 0;un.prototype.ruleId=void 0;un.prototype.source=void 0;const dh={}.hasOwnProperty,qv=new Map,Yv=/[A-Z]/g,Gv=new Set(["table","tbody","thead","tfoot","tr"]),Vv=new Set(["td","th"]),Fy="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Iv(l,u){if(!u||u.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=u.filePath||void 0;let o;if(u.development){if(typeof u.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=Pv(a,u.jsxDEV)}else{if(typeof u.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof u.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=$v(a,u.jsx,u.jsxs)}const s={Fragment:u.Fragment,ancestors:[],components:u.components||{},create:o,elementAttributeNameCase:u.elementAttributeNameCase||"react",evaluater:u.createEvaluater?u.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:u.ignoreInvalidStyle||!1,passKeys:u.passKeys!==!1,passNode:u.passNode||!1,schema:u.space==="svg"?fh:zv,stylePropertyNameCase:u.stylePropertyNameCase||"dom",tableCellAlignToStyle:u.tableCellAlignToStyle!==!1},f=Jy(s,l,void 0);return f&&typeof f!="string"?f:s.create(l,s.Fragment,{children:f||void 0},void 0)}function Jy(l,u,a){if(u.type==="element")return Xv(l,u,a);if(u.type==="mdxFlowExpression"||u.type==="mdxTextExpression")return Qv(l,u);if(u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement")return Kv(l,u,a);if(u.type==="mdxjsEsm")return Zv(l,u);if(u.type==="root")return Fv(l,u,a);if(u.type==="text")return Jv(l,u)}function Xv(l,u,a){const o=l.schema;let s=o;u.tagName.toLowerCase()==="svg"&&o.space==="html"&&(s=fh,l.schema=s),l.ancestors.push(u);const f=Py(l,u.tagName,!1),h=Wv(l,u);let d=ph(l,u);return Gv.has(u.tagName)&&(d=d.filter(function(g){return typeof g=="string"?!Sv(g):!0})),$y(l,h,f,u),mh(h,d),l.ancestors.pop(),l.schema=o,l.create(u,f,h,a)}function Qv(l,u){if(u.data&&u.data.estree&&l.evaluater){const o=u.data.estree.body[0];return o.type,l.evaluater.evaluateExpression(o.expression)}nr(l,u.position)}function Zv(l,u){if(u.data&&u.data.estree&&l.evaluater)return l.evaluater.evaluateProgram(u.data.estree);nr(l,u.position)}function Kv(l,u,a){const o=l.schema;let s=o;u.name==="svg"&&o.space==="html"&&(s=fh,l.schema=s),l.ancestors.push(u);const f=u.name===null?l.Fragment:Py(l,u.name,!0),h=eS(l,u),d=ph(l,u);return $y(l,h,f,u),mh(h,d),l.ancestors.pop(),l.schema=o,l.create(u,f,h,a)}function Fv(l,u,a){const o={};return mh(o,ph(l,u)),l.create(u,l.Fragment,o,a)}function Jv(l,u){return u.value}function $y(l,u,a,o){typeof a!="string"&&a!==l.Fragment&&l.passNode&&(u.node=o)}function mh(l,u){if(u.length>0){const a=u.length>1?u:u[0];a&&(l.children=a)}}function $v(l,u,a){return o;function o(s,f,h,d){const b=Array.isArray(h.children)?a:u;return d?b(f,h,d):b(f,h)}}function Pv(l,u){return a;function a(o,s,f,h){const d=Array.isArray(f.children),g=hh(o);return u(s,f,h,d,{columnNumber:g?g.column-1:void 0,fileName:l,lineNumber:g?g.line:void 0},void 0)}}function Wv(l,u){const a={};let o,s;for(s in u.properties)if(s!=="children"&&dh.call(u.properties,s)){const f=tS(l,s,u.properties[s]);if(f){const[h,d]=f;l.tableCellAlignToStyle&&h==="align"&&typeof d=="string"&&Vv.has(u.tagName)?o=d:a[h]=d}}if(o){const f=a.style||(a.style={});f[l.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return a}function eS(l,u){const a={};for(const o of u.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&l.evaluater){const f=o.data.estree.body[0];f.type;const h=f.expression;h.type;const d=h.properties[0];d.type,Object.assign(a,l.evaluater.evaluateExpression(d.argument))}else nr(l,u.position);else{const s=o.name;let f;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&l.evaluater){const d=o.value.data.estree.body[0];d.type,f=l.evaluater.evaluateExpression(d.expression)}else nr(l,u.position);else f=o.value===null?!0:o.value;a[s]=f}return a}function ph(l,u){const a=[];let o=-1;const s=l.passKeys?new Map:qv;for(;++o<u.children.length;){const f=u.children[o];let h;if(l.passKeys){const g=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(g){const b=s.get(g)||0;h=g+"-"+b,s.set(g,b+1)}}const d=Jy(l,f,h);d!==void 0&&a.push(d)}return a}function tS(l,u,a){const o=wv(l.schema,u);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=o.commaSeparated?gv(a):Mv(a)),o.property==="style"){let s=typeof a=="object"?a:nS(l,String(a));return l.stylePropertyNameCase==="css"&&(s=lS(s)),["style",s]}return[l.elementAttributeNameCase==="react"&&o.space?Av[o.property]||o.property:o.attribute,a]}}function nS(l,u){try{return Uv(u,{reactCompat:!0})}catch(a){if(l.ignoreInvalidStyle)return{};const o=a,s=new un("Cannot parse `style` attribute",{ancestors:l.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=l.filePath||void 0,s.url=Fy+"#cannot-parse-style-attribute",s}}function Py(l,u,a){let o;if(!a)o={type:"Literal",value:u};else if(u.includes(".")){const s=u.split(".");let f=-1,h;for(;++f<s.length;){const d=Vg(s[f])?{type:"Identifier",name:s[f]}:{type:"Literal",value:s[f]};h=h?{type:"MemberExpression",object:h,property:d,computed:!!(f&&d.type==="Literal"),optional:!1}:d}o=h}else o=Vg(u)&&!/^[a-z]/.test(u)?{type:"Identifier",name:u}:{type:"Literal",value:u};if(o.type==="Literal"){const s=o.value;return dh.call(l.components,s)?l.components[s]:s}if(l.evaluater)return l.evaluater.evaluateExpression(o);nr(l)}function nr(l,u){const a=new un("Cannot handle MDX estrees without `createEvaluater`",{ancestors:l.ancestors,place:u,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=l.filePath||void 0,a.url=Fy+"#cannot-handle-mdx-estrees-without-createevaluater",a}function lS(l){const u={};let a;for(a in l)dh.call(l,a)&&(u[iS(a)]=l[a]);return u}function iS(l){let u=l.replace(Yv,aS);return u.slice(0,3)==="ms-"&&(u="-"+u),u}function aS(l){return"-"+l.toLowerCase()}const kf={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"]},uS={};function gh(l,u){const a=uS,o=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,s=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return Wy(l,o,s)}function Wy(l,u,a){if(rS(l)){if("value"in l)return l.type==="html"&&!a?"":l.value;if(u&&"alt"in l&&l.alt)return l.alt;if("children"in l)return Wg(l.children,u,a)}return Array.isArray(l)?Wg(l,u,a):""}function Wg(l,u,a){const o=[];let s=-1;for(;++s<l.length;)o[s]=Wy(l[s],u,a);return o.join("")}function rS(l){return!!(l&&typeof l=="object")}const ey=document.createElement("i");function yh(l){const u="&"+l+";";ey.innerHTML=u;const a=ey.textContent;return a.charCodeAt(a.length-1)===59&&l!=="semi"||a===u?!1:a}function ul(l,u,a,o){const s=l.length;let f=0,h;if(u<0?u=-u>s?0:s+u:u=u>s?s:u,a=a>0?a:0,o.length<1e4)h=Array.from(o),h.unshift(u,a),l.splice(...h);else for(a&&l.splice(u,a);f<o.length;)h=o.slice(f,f+1e4),h.unshift(u,0),l.splice(...h),f+=1e4,u+=1e4}function Zn(l,u){return l.length>0?(ul(l,l.length,0,u),l):u}const ty={}.hasOwnProperty;function e1(l){const u={};let a=-1;for(;++a<l.length;)oS(u,l[a]);return u}function oS(l,u){let a;for(a in u){const s=(ty.call(l,a)?l[a]:void 0)||(l[a]={}),f=u[a];let h;if(f)for(h in f){ty.call(s,h)||(s[h]=[]);const d=f[h];cS(s[h],Array.isArray(d)?d:d?[d]:[])}}}function cS(l,u){let a=-1;const o=[];for(;++a<u.length;)(u[a].add==="after"?l:o).push(u[a]);ul(l,0,0,o)}function t1(l,u){const a=Number.parseInt(l,u);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function rl(l){return l.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const dn=Ci(/[A-Za-z]/),an=Ci(/[\dA-Za-z]/),sS=Ci(/[#-'*+\--9=?A-Z^-~]/);function qo(l){return l!==null&&(l<32||l===127)}const Ff=Ci(/\d/),fS=Ci(/[\dA-Fa-f]/),hS=Ci(/[!-/:-@[-`{-~]/);function Te(l){return l!==null&&l<-2}function mt(l){return l!==null&&(l<0||l===32)}function Ye(l){return l===-2||l===-1||l===32}const Qo=Ci(new RegExp("\\p{P}|\\p{S}","u")),ea=Ci(/\s/);function Ci(l){return u;function u(a){return a!==null&&a>-1&&l.test(String.fromCharCode(a))}}function Pa(l){const u=[];let a=-1,o=0,s=0;for(;++a<l.length;){const f=l.charCodeAt(a);let h="";if(f===37&&an(l.charCodeAt(a+1))&&an(l.charCodeAt(a+2)))s=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(h=String.fromCharCode(f));else if(f>55295&&f<57344){const d=l.charCodeAt(a+1);f<56320&&d>56319&&d<57344?(h=String.fromCharCode(f,d),s=1):h="�"}else h=String.fromCharCode(f);h&&(u.push(l.slice(o,a),encodeURIComponent(h)),o=a+s+1,h=""),s&&(a+=s,s=0)}return u.join("")+l.slice(o)}function Je(l,u,a,o){const s=o?o-1:1/0;let f=0;return h;function h(g){return Ye(g)?(l.enter(a),d(g)):u(g)}function d(g){return Ye(g)&&f++<s?(l.consume(g),d):(l.exit(a),u(g))}}function n1(l,u,a,o,s,f){let h=0;return d;function d(y){return Ye(y)?(l.enter(o),g(y)):b(y)}function g(y){return Ye(y)&&h<f?(l.consume(y),h++,g):(l.exit(o),b(y))}function b(y){return h>=s?u(y):a(y)}}const dS={tokenize:mS};function mS(l){const u=l.attempt(this.parser.constructs.contentInitial,o,s);let a;return u;function o(d){if(d===null){l.consume(d);return}return l.enter("lineEnding"),l.consume(d),l.exit("lineEnding"),Je(l,u,"linePrefix")}function s(d){return l.enter("paragraph"),f(d)}function f(d){const g=l.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=g),a=g,h(d)}function h(d){if(d===null){l.exit("chunkText"),l.exit("paragraph"),l.consume(d);return}return Te(d)?(l.consume(d),l.exit("chunkText"),f):(l.consume(d),h)}}let Yo=class{constructor(){this.index=new Map,this.map=[]}add(u,a,o){ny(this,u,a,o,!1)}addBefore(u,a,o){ny(this,u,a,o,!0)}consume(u){if(this.map.sort(function(f,h){return f[0]-h[0]}),this.map.length===0)return;let a=this.map.length;const o=[];for(;a>0;)a-=1,o.push(u.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),u.length=this.map[a][0];o.push(u.slice()),u.length=0;let s=o.pop();for(;s;){for(const f of s)u.push(f);s=o.pop()}this.map.length=0,this.index.clear()}};function ny(l,u,a,o,s){if(a===0&&o.length===0)return;const f=l.index.get(u);if(f){f[1]+=a,s?(o.push(...f[2]),f[2]=o):f[2].push(...o);return}const h=[u,a,o];l.map.push(h),l.index.set(u,h)}const pS={tokenize:gS},ly={tokenize:yS};function gS(l){const u=this,a=[];let o=0,s,f,h;return d;function d(X){if(o<a.length){const xe=a[o];return u.containerState=xe[1],l.attempt(xe[0].continuation,g,b)(X)}return b(X)}function g(X){if(o++,u.containerState._closeFlow){u.containerState._closeFlow=void 0,s&&K();const xe=u.events.length;let he=xe,Y;for(;he--;)if(u.events[he][0]==="exit"&&u.events[he][1].type==="chunkFlow"){Y=u.events[he][1].end;break}D(o);let P=xe;for(;P<u.events.length;)u.events[P][1].end={...Y},P++;const ae=new Yo;return ae.add(he+1,0,u.events.slice(xe)),ae.add(xe,P-xe,[]),ae.consume(u.events),b(X)}return d(X)}function b(X){if(o===a.length){if(!s)return S(X);if(s.currentConstruct&&s.currentConstruct.concrete)return k(X);u.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return u.containerState={},l.check(ly,y,p)(X)}function y(X){return s&&K(),D(o),S(X)}function p(X){return u.parser.lazy[u.now().line]=o!==a.length,h=u.now().offset,k(X)}function S(X){return u.containerState={},l.attempt(ly,v,k)(X)}function v(X){return o++,a.push([u.currentConstruct,u.containerState]),S(X)}function k(X){if(X===null){s&&K(),D(0),l.consume(X);return}return s=s||u.parser.flow(u.now()),l.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:f}),U(X)}function U(X){if(X===null){q(l.exit("chunkFlow"),!0),D(0),l.consume(X);return}return Te(X)?(l.consume(X),q(l.exit("chunkFlow")),o=0,u.interrupt=void 0,d):(l.consume(X),U)}function q(X,xe){const he=u.sliceStream(X);if(xe&&he.push(null),X.previous=f,f&&(f.next=X),f=X,s.defineSkip(X.start),s.write(he),u.parser.lazy[X.start.line]){let Y=s.events.length;for(;Y--;)if(s.events[Y][1].start.offset<h&&(!s.events[Y][1].end||s.events[Y][1].end.offset>h))return;const P=u.events.length;let ae=P,He,B;for(;ae--;)if(u.events[ae][0]==="exit"&&u.events[ae][1].type==="chunkFlow"){if(He){B=u.events[ae][1].end;break}He=!0}for(D(o),Y=P;Y<u.events.length;)u.events[Y][1].end={...B},Y++;const W=new Yo;W.add(ae+1,0,u.events.slice(P)),W.add(P,Y-P,[]),W.consume(u.events)}}function D(X){let xe=a.length;for(;xe-- >X;){const he=a[xe];u.containerState=he[1],he[0].exit.call(u,l)}a.length=X}function K(){s.write([null]),f=void 0,s=void 0,u.containerState._closeFlow=void 0}}function yS(l,u,a){return Je(l,l.attempt(this.parser.constructs.document,u,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Go(l){if(l===null||mt(l)||ea(l))return 1;if(Qo(l))return 2}function Zo(l,u,a){const o=[];let s=-1;for(;++s<l.length;){const f=l[s].resolveAll;f&&!o.includes(f)&&(u=f(u,a),o.push(f))}return u}const Jf={name:"attention",resolveAll:bS,tokenize:xS};function bS(l,u){let a=-1,o;for(;++a<l.length;)if(l[a][0]==="enter"&&l[a][1].type==="attentionSequence"&&l[a][1]._close){let s=a;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="attentionSequence"&&l[s][1]._open&&u.sliceSerialize(l[s][1]).charCodeAt(0)===u.sliceSerialize(l[a][1]).charCodeAt(0)){if((l[s][1]._close||l[a][1]._open)&&(l[a][1].end.offset-l[a][1].start.offset)%3&&!((l[s][1].end.offset-l[s][1].start.offset+l[a][1].end.offset-l[a][1].start.offset)%3))continue;const f=l[s][1].end.offset-l[s][1].start.offset>1&&l[a][1].end.offset-l[a][1].start.offset>1?2:1,h={...l[s][1].end},d={...l[a][1].start};iy(h,-f),iy(d,f);const g={type:f>1?"strongSequence":"emphasisSequence",start:h,end:{...l[s][1].end}},b={type:f>1?"strongSequence":"emphasisSequence",start:{...l[a][1].start},end:d},y={type:f>1?"strongText":"emphasisText",start:{...l[s][1].end},end:{...l[a][1].start}},p={type:f>1?"strong":"emphasis",start:{...g.start},end:{...b.end}};l[s][1].end={...g.start},l[a][1].start={...b.end},o=[],l[s][1].end.offset-l[s][1].start.offset&&(o=Zn(o,[["enter",l[s][1],u],["exit",l[s][1],u]])),o=Zn(o,[["enter",p,u],["enter",g,u],["exit",g,u],["enter",y,u]]),o=Zn(o,Zo(u.parser.constructs.insideSpan.null,l.slice(s+1,a),u)),o=Zn(o,[["exit",y,u],["enter",b,u],["exit",b,u],["exit",p,u]]);let S=0;l[a][1].end.offset-l[a][1].start.offset&&(S=2,o=Zn(o,[["enter",l[a][1],u],["exit",l[a][1],u]])),ul(l,s-1,a-s+3,o),a=s+o.length-S-2;break}}for(a=-1;++a<l.length;)l[a][1].type==="attentionSequence"&&(l[a][1].type="data");return l}function xS(l,u){const a=this.parser.constructs.attentionMarkers.null,o=this.previous,s=Go(o);let f;return h;function h(g){return f=g,l.enter("attentionSequence"),d(g)}function d(g){if(g===f)return l.consume(g),d;const b=l.exit("attentionSequence"),y=Go(g),p=!y||y===2&&s||a.includes(g)&&g!==42&&g!==95,S=!s||s===2&&y||a.includes(o)&&o!==42&&o!==95;return b._open=!!(f===42?p:p&&(s||!S)),b._close=!!(f===42?S:S&&(y||!p)),u(g)}}function iy(l,u){l.column+=u,l.offset+=u,l._bufferIndex+=u}const vS={name:"autolink",tokenize:SS};function SS(l,u,a){let o=0;return s;function s(v){return l.enter("autolink"),l.enter("autolinkMarker"),l.consume(v),l.exit("autolinkMarker"),l.enter("autolinkProtocol"),f}function f(v){return dn(v)?(l.consume(v),h):v===64?a(v):b(v)}function h(v){return v===43||v===45||v===46||an(v)?(o=1,d(v)):b(v)}function d(v){return v===58?(l.consume(v),o=0,g):(v===43||v===45||v===46||an(v))&&o++<32?(l.consume(v),d):(o=0,b(v))}function g(v){return v===62?(l.exit("autolinkProtocol"),l.enter("autolinkMarker"),l.consume(v),l.exit("autolinkMarker"),l.exit("autolink"),u):v===null||v===32||v===60||qo(v)?a(v):(l.consume(v),g)}function b(v){return v===64?(l.consume(v),y):sS(v)?(l.consume(v),b):a(v)}function y(v){return an(v)?p(v):a(v)}function p(v){return v===46?(l.consume(v),o=0,y):v===62?(l.exit("autolinkProtocol").type="autolinkEmail",l.enter("autolinkMarker"),l.consume(v),l.exit("autolinkMarker"),l.exit("autolink"),u):S(v)}function S(v){if((v===45||an(v))&&o++<63){const k=v===45?S:p;return l.consume(v),k}return a(v)}}const ar={partial:!0,tokenize:ES};function ES(l,u,a){return o;function o(f){return Ye(f)?Je(l,s,"linePrefix")(f):s(f)}function s(f){return f===null||Te(f)?u(f):a(f)}}const l1={continuation:{tokenize:_S},exit:AS,name:"blockQuote",tokenize:TS};function TS(l,u,a){const o=this;return s;function s(h){if(h===62){const d=o.containerState;return d.open||(l.enter("blockQuote",{_container:!0}),d.open=!0),l.enter("blockQuotePrefix"),l.enter("blockQuoteMarker"),l.consume(h),l.exit("blockQuoteMarker"),f}return a(h)}function f(h){return Ye(h)?(l.enter("blockQuotePrefixWhitespace"),l.consume(h),l.exit("blockQuotePrefixWhitespace"),l.exit("blockQuotePrefix"),u):(l.exit("blockQuotePrefix"),u(h))}}function _S(l,u,a){const o=this;return s;function s(h){return Ye(h)?Je(l,f,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):f(h)}function f(h){return l.attempt(l1,u,a)(h)}}function AS(l){l.exit("blockQuote")}const i1={name:"characterEscape",tokenize:NS};function NS(l,u,a){return o;function o(f){return l.enter("characterEscape"),l.enter("escapeMarker"),l.consume(f),l.exit("escapeMarker"),s}function s(f){return hS(f)?(l.enter("characterEscapeValue"),l.consume(f),l.exit("characterEscapeValue"),l.exit("characterEscape"),u):a(f)}}const a1={name:"characterReference",tokenize:CS};function CS(l,u,a){const o=this;let s=0,f,h;return d;function d(p){return l.enter("characterReference"),l.enter("characterReferenceMarker"),l.consume(p),l.exit("characterReferenceMarker"),g}function g(p){return p===35?(l.enter("characterReferenceMarkerNumeric"),l.consume(p),l.exit("characterReferenceMarkerNumeric"),b):(l.enter("characterReferenceValue"),f=31,h=an,y(p))}function b(p){return p===88||p===120?(l.enter("characterReferenceMarkerHexadecimal"),l.consume(p),l.exit("characterReferenceMarkerHexadecimal"),l.enter("characterReferenceValue"),f=6,h=fS,y):(l.enter("characterReferenceValue"),f=7,h=Ff,y(p))}function y(p){if(p===59&&s){const S=l.exit("characterReferenceValue");return h===an&&!yh(o.sliceSerialize(S))?a(p):(l.enter("characterReferenceMarker"),l.consume(p),l.exit("characterReferenceMarker"),l.exit("characterReference"),u)}return h(p)&&s++<f?(l.consume(p),y):a(p)}}const $f={partial:!0,tokenize:wS};function wS(l,u,a){const o=this;return s;function s(h){return h===null?a(h):(l.enter("lineEnding"),l.consume(h),l.exit("lineEnding"),f)}function f(h){return o.parser.lazy[o.now().line]?a(h):u(h)}}const ay={concrete:!0,name:"codeFenced",tokenize:kS};function kS(l,u,a){const o=this,s={partial:!0,tokenize:he};let f=0,h=0,d;return g;function g(Y){return b(Y)}function b(Y){const P=o.events[o.events.length-1];return f=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,d=Y,l.enter("codeFenced"),l.enter("codeFencedFence"),l.enter("codeFencedFenceSequence"),y(Y)}function y(Y){return Y===d?(h++,l.consume(Y),y):h<3?a(Y):(l.exit("codeFencedFenceSequence"),Ye(Y)?Je(l,p,"whitespace")(Y):p(Y))}function p(Y){return Y===null||Te(Y)?(l.exit("codeFencedFence"),o.interrupt?u(Y):l.check($f,U,xe)(Y)):(l.enter("codeFencedFenceInfo"),l.enter("chunkString",{contentType:"string"}),S(Y))}function S(Y){return Y===null||Te(Y)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),p(Y)):Ye(Y)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),Je(l,v,"whitespace")(Y)):Y===96&&Y===d?a(Y):(l.consume(Y),S)}function v(Y){return Y===null||Te(Y)?p(Y):(l.enter("codeFencedFenceMeta"),l.enter("chunkString",{contentType:"string"}),k(Y))}function k(Y){return Y===null||Te(Y)?(l.exit("chunkString"),l.exit("codeFencedFenceMeta"),p(Y)):Y===96&&Y===d?a(Y):(l.consume(Y),k)}function U(Y){return l.attempt(s,xe,q)(Y)}function q(Y){return l.enter("lineEnding"),l.consume(Y),l.exit("lineEnding"),D}function D(Y){return f>0&&Ye(Y)?Je(l,K,"linePrefix",f+1)(Y):K(Y)}function K(Y){return Y===null||Te(Y)?l.check($f,U,xe)(Y):(l.enter("codeFlowValue"),X(Y))}function X(Y){return Y===null||Te(Y)?(l.exit("codeFlowValue"),K(Y)):(l.consume(Y),X)}function xe(Y){return l.exit("codeFenced"),u(Y)}function he(Y,P,ae){let He=0;return B;function B(J){return Y.enter("lineEnding"),Y.consume(J),Y.exit("lineEnding"),W}function W(J){return Y.enter("codeFencedFence"),Ye(J)?Je(Y,ce,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):ce(J)}function ce(J){return J===d?(Y.enter("codeFencedFenceSequence"),Re(J)):ae(J)}function Re(J){return J===d?(He++,Y.consume(J),Re):He>=h?(Y.exit("codeFencedFenceSequence"),Ye(J)?Je(Y,de,"whitespace")(J):de(J)):ae(J)}function de(J){return J===null||Te(J)?(Y.exit("codeFencedFence"),P(J)):ae(J)}}}const Of={name:"codeIndented",tokenize:zS},OS={partial:!0,tokenize:MS};function zS(l,u,a){return o;function o(d){return l.enter("codeIndented"),n1(l,s,a,"linePrefix",4,4)(d)}function s(d){return d===null?h(d):Te(d)?l.attempt(OS,s,h)(d):(l.enter("codeFlowValue"),f(d))}function f(d){return d===null||Te(d)?(l.exit("codeFlowValue"),s(d)):(l.consume(d),f)}function h(d){return l.exit("codeIndented"),u(d)}}function MS(l,u,a){const o=this;return s;function s(h){return o.parser.lazy[o.now().line]?a(h):Te(h)?(l.enter("lineEnding"),l.consume(h),l.exit("lineEnding"),s):n1(l,u,f,"linePrefix",4,4)(h)}function f(h){return Te(h)?s(h):a(h)}}const RS={name:"codeText",previous:jS,resolve:DS,tokenize:LS};function DS(l){let u=l.length-4,a=3,o,s;if((l[a][1].type==="lineEnding"||l[a][1].type==="space")&&(l[u][1].type==="lineEnding"||l[u][1].type==="space")){for(o=a;++o<u;)if(l[o][1].type==="codeTextData"){l[a][1].type="codeTextPadding",l[u][1].type="codeTextPadding",a+=2,u-=2;break}}for(o=a-1,u++;++o<=u;)s===void 0?o!==u&&l[o][1].type!=="lineEnding"&&(s=o):(o===u||l[o][1].type==="lineEnding")&&(l[s][1].type="codeTextData",o!==s+2&&(l[s][1].end=l[o-1][1].end,l.splice(s+2,o-s-2),u-=o-s-2,o=s+2),s=void 0);return l}function jS(l){return l!==96||this.events[this.events.length-1][1].type==="characterEscape"}function LS(l,u,a){let o=0,s,f;return h;function h(p){return l.enter("codeText"),l.enter("codeTextSequence"),d(p)}function d(p){return p===96?(l.consume(p),o++,d):(l.exit("codeTextSequence"),g(p))}function g(p){return p===null?a(p):p===32?(l.enter("space"),l.consume(p),l.exit("space"),g):p===96?(f=l.enter("codeTextSequence"),s=0,y(p)):Te(p)?(l.enter("lineEnding"),l.consume(p),l.exit("lineEnding"),g):(l.enter("codeTextData"),b(p))}function b(p){return p===null||p===32||p===96||Te(p)?(l.exit("codeTextData"),g(p)):(l.consume(p),b)}function y(p){return p===96?(l.consume(p),s++,y):s===o?(l.exit("codeTextSequence"),l.exit("codeText"),u(p)):(f.type="codeTextData",b(p))}}class BS{constructor(u){this.left=u?[...u]:[],this.right=[]}get(u){if(u<0||u>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+u+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return u<this.left.length?this.left[u]:this.right[this.right.length-u+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(u,a){const o=a??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(u,o):u>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-u+this.left.length).reverse():this.left.slice(u).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(u,a,o){const s=a||0;this.setCursor(Math.trunc(u));const f=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return o&&Fu(this.left,o),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(u){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(u)}pushMany(u){this.setCursor(Number.POSITIVE_INFINITY),Fu(this.left,u)}unshift(u){this.setCursor(0),this.right.push(u)}unshiftMany(u){this.setCursor(0),Fu(this.right,u.reverse())}setCursor(u){if(!(u===this.left.length||u>this.left.length&&this.right.length===0||u<0&&this.left.length===0))if(u<this.left.length){const a=this.left.splice(u,Number.POSITIVE_INFINITY);Fu(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-u,Number.POSITIVE_INFINITY);Fu(this.left,a.reverse())}}}function Fu(l,u){let a=0;if(u.length<1e4)l.push(...u);else for(;a<u.length;)l.push(...u.slice(a,a+1e4)),a+=1e4}function u1(l){const u={};let a=-1,o,s,f,h,d,g,b;const y=new BS(l);for(;++a<y.length;){for(;a in u;)a=u[a];if(o=y.get(a),a&&o[1].type==="chunkFlow"&&y.get(a-1)[1].type==="listItemPrefix"&&(g=o[1]._tokenizer.events,f=0,f<g.length&&g[f][1].type==="lineEndingBlank"&&(f+=2),f<g.length&&g[f][1].type==="content"))for(;++f<g.length&&g[f][1].type!=="content";)g[f][1].type==="chunkText"&&(g[f][1]._isInFirstContentOfListItem=!0,f++);if(o[0]==="enter")o[1].contentType&&(Object.assign(u,US(y,a)),a=u[a],b=!0);else if(o[1]._container){for(f=a,s=void 0;f--;)if(h=y.get(f),h[1].type==="lineEnding"||h[1].type==="lineEndingBlank")h[0]==="enter"&&(s&&(y.get(s)[1].type="lineEndingBlank"),h[1].type="lineEnding",s=f);else if(!(h[1].type==="linePrefix"||h[1].type==="listItemIndent"))break;s&&(o[1].end={...y.get(s)[1].start},d=y.slice(s,a),d.unshift(o),y.splice(s,a-s+1,d))}}return ul(l,0,Number.POSITIVE_INFINITY,y.slice(0)),!b}function US(l,u){const a=l.get(u)[1],o=l.get(u)[2];let s=u-1;const f=[];let h=a._tokenizer;h||(h=o.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(h._contentTypeTextTrailing=!0));const d=h.events,g=[],b={};let y,p,S=-1,v=a,k=0,U=0;const q=[U];for(;v;){for(;l.get(++s)[1]!==v;);f.push(s),v._tokenizer||(y=o.sliceStream(v),v.next||y.push(null),p&&h.defineSkip(v.start),v._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=!0),h.write(y),v._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=void 0)),p=v,v=v.next}for(v=a;++S<d.length;)d[S][0]==="exit"&&d[S-1][0]==="enter"&&d[S][1].type===d[S-1][1].type&&d[S][1].start.line!==d[S][1].end.line&&(U=S+1,q.push(U),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(h.events=[],v?(v._tokenizer=void 0,v.previous=void 0):q.pop(),S=q.length;S--;){const D=d.slice(q[S],q[S+1]),K=f.pop();g.push([K,K+D.length-1]),l.splice(K,2,D)}for(g.reverse(),S=-1;++S<g.length;)b[k+g[S][0]]=k+g[S][1],k+=g[S][1]-g[S][0]-1;return b}const HS={resolve:YS,tokenize:GS},qS={partial:!0,tokenize:VS};function YS(l){return u1(l),l}function GS(l,u){let a;return o;function o(d){return l.enter("content"),a=l.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?f(d):Te(d)?l.check(qS,h,f)(d):(l.consume(d),s)}function f(d){return l.exit("chunkContent"),l.exit("content"),u(d)}function h(d){return l.consume(d),l.exit("chunkContent"),a.next=l.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,s}}function VS(l,u,a){const o=this;return s;function s(h){return l.exit("chunkContent"),l.enter("lineEnding"),l.consume(h),l.exit("lineEnding"),Je(l,f,"linePrefix")}function f(h){if(h===null||Te(h))return a(h);const d=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?u(h):l.interrupt(o.parser.constructs.flow,a,u)(h)}}function r1(l,u,a,o,s,f,h,d,g){const b=g||Number.POSITIVE_INFINITY;let y=0;return p;function p(D){return D===60?(l.enter(o),l.enter(s),l.enter(f),l.consume(D),l.exit(f),S):D===null||D===32||D===41||qo(D)?a(D):(l.enter(o),l.enter(h),l.enter(d),l.enter("chunkString",{contentType:"string"}),U(D))}function S(D){return D===62?(l.enter(f),l.consume(D),l.exit(f),l.exit(s),l.exit(o),u):(l.enter(d),l.enter("chunkString",{contentType:"string"}),v(D))}function v(D){return D===62?(l.exit("chunkString"),l.exit(d),S(D)):D===null||D===60||Te(D)?a(D):(l.consume(D),D===92?k:v)}function k(D){return D===60||D===62||D===92?(l.consume(D),v):v(D)}function U(D){return!y&&(D===null||D===41||mt(D))?(l.exit("chunkString"),l.exit(d),l.exit(h),l.exit(o),u(D)):y<b&&D===40?(l.consume(D),y++,U):D===41?(l.consume(D),y--,U):D===null||D===32||D===40||qo(D)?a(D):(l.consume(D),D===92?q:U)}function q(D){return D===40||D===41||D===92?(l.consume(D),U):U(D)}}function o1(l,u,a,o,s,f){const h=this;let d=0,g;return b;function b(v){return l.enter(o),l.enter(s),l.consume(v),l.exit(s),l.enter(f),y}function y(v){return d>999||v===null||v===91||v===93&&!g||v===94&&!d&&"_hiddenFootnoteSupport"in h.parser.constructs?a(v):v===93?(l.exit(f),l.enter(s),l.consume(v),l.exit(s),l.exit(o),u):Te(v)?(l.enter("lineEnding"),l.consume(v),l.exit("lineEnding"),y):(l.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===null||v===91||v===93||Te(v)||d++>999?(l.exit("chunkString"),y(v)):(l.consume(v),g||(g=!Ye(v)),v===92?S:p)}function S(v){return v===91||v===92||v===93?(l.consume(v),d++,p):p(v)}}function c1(l,u,a,o,s,f){let h;return d;function d(S){return S===34||S===39||S===40?(l.enter(o),l.enter(s),l.consume(S),l.exit(s),h=S===40?41:S,g):a(S)}function g(S){return S===h?(l.enter(s),l.consume(S),l.exit(s),l.exit(o),u):(l.enter(f),b(S))}function b(S){return S===h?(l.exit(f),g(h)):S===null?a(S):Te(S)?(l.enter("lineEnding"),l.consume(S),l.exit("lineEnding"),Je(l,b,"linePrefix")):(l.enter("chunkString",{contentType:"string"}),y(S))}function y(S){return S===h||S===null||Te(S)?(l.exit("chunkString"),b(S)):(l.consume(S),S===92?p:y)}function p(S){return S===h||S===92?(l.consume(S),y):y(S)}}function er(l,u){let a;return o;function o(s){return Te(s)?(l.enter("lineEnding"),l.consume(s),l.exit("lineEnding"),a=!0,o):Ye(s)?Je(l,o,a?"linePrefix":"lineSuffix")(s):u(s)}}const IS={name:"definition",tokenize:QS},XS={partial:!0,tokenize:ZS};function QS(l,u,a){const o=this;let s;return f;function f(v){return l.enter("definition"),h(v)}function h(v){return o1.call(o,l,d,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function d(v){return s=rl(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),v===58?(l.enter("definitionMarker"),l.consume(v),l.exit("definitionMarker"),g):a(v)}function g(v){return mt(v)?er(l,b)(v):b(v)}function b(v){return r1(l,y,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function y(v){return l.attempt(XS,p,p)(v)}function p(v){return Ye(v)?Je(l,S,"whitespace")(v):S(v)}function S(v){return v===null||Te(v)?(l.exit("definition"),o.parser.defined.push(s),u(v)):a(v)}}function ZS(l,u,a){return o;function o(d){return mt(d)?er(l,s)(d):a(d)}function s(d){return c1(l,f,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function f(d){return Ye(d)?Je(l,h,"whitespace")(d):h(d)}function h(d){return d===null||Te(d)?u(d):a(d)}}const KS={name:"hardBreakEscape",tokenize:FS};function FS(l,u,a){return o;function o(f){return l.enter("hardBreakEscape"),l.consume(f),s}function s(f){return Te(f)?(l.exit("hardBreakEscape"),u(f)):a(f)}}const JS={name:"headingAtx",resolve:$S,tokenize:PS};function $S(l,u){let a=l.length-2,o=3;if(l[o][1].type==="whitespace"&&(o+=2),a-2>o&&l[a][1].type==="whitespace"&&(a-=2),l[a][1].type==="atxHeadingSequence"&&(o===a-1||a-4>o&&l[a-2][1].type==="whitespace")&&(a-=o+1===a?2:4),a>o){const s={type:"atxHeadingText",start:l[o][1].start,end:l[a][1].end},f={type:"chunkText",start:l[o][1].start,end:l[a][1].end,contentType:"text"};ul(l,o,a-o+1,[["enter",s,u],["enter",f,u],["exit",f,u],["exit",s,u]])}return l}function PS(l,u,a){let o=0;return s;function s(y){return l.enter("atxHeading"),f(y)}function f(y){return l.enter("atxHeadingSequence"),h(y)}function h(y){return y===35&&o++<6?(l.consume(y),h):y===null||mt(y)?(l.exit("atxHeadingSequence"),d(y)):a(y)}function d(y){return y===35?(l.enter("atxHeadingSequence"),g(y)):y===null||Te(y)?(l.exit("atxHeading"),u(y)):Ye(y)?Je(l,d,"whitespace")(y):(l.enter("atxHeadingText"),b(y))}function g(y){return y===35?(l.consume(y),g):(l.exit("atxHeadingSequence"),d(y))}function b(y){return y===null||y===35||mt(y)?(l.exit("atxHeadingText"),d(y)):(l.consume(y),b)}}const WS=["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"],uy=["pre","script","style","textarea"],eE={concrete:!0,name:"htmlFlow",resolveTo:nE,tokenize:lE},tE={partial:!0,tokenize:iE};function nE(l){let u=l.length;for(;u--&&!(l[u][0]==="enter"&&l[u][1].type==="htmlFlow"););return u>1&&l[u-2][1].type==="linePrefix"&&(l[u][1].start=l[u-2][1].start,l[u+1][1].start=l[u-2][1].start,l.splice(u-2,2)),l}function lE(l,u,a){const o=this;let s,f,h,d,g;return b;function b(N){return y(N)}function y(N){return l.enter("htmlFlow"),l.enter("htmlFlowData"),l.consume(N),p}function p(N){return N===33?(l.consume(N),S):N===47?(l.consume(N),f=!0,U):N===63?(l.consume(N),s=3,o.interrupt?u:_):dn(N)?(l.consume(N),h=String.fromCharCode(N),q):a(N)}function S(N){return N===45?(l.consume(N),s=2,v):N===91?(l.consume(N),s=5,d=0,k):dn(N)?(l.consume(N),s=4,o.interrupt?u:_):a(N)}function v(N){return N===45?(l.consume(N),o.interrupt?u:_):a(N)}function k(N){const w="CDATA[";return N===w.charCodeAt(d++)?(l.consume(N),d===w.length?o.interrupt?u:ce:k):a(N)}function U(N){return dn(N)?(l.consume(N),h=String.fromCharCode(N),q):a(N)}function q(N){if(N===null||N===47||N===62||mt(N)){const w=N===47,Z=h.toLowerCase();return!w&&!f&&uy.includes(Z)?(s=1,o.interrupt?u(N):ce(N)):WS.includes(h.toLowerCase())?(s=6,w?(l.consume(N),D):o.interrupt?u(N):ce(N)):(s=7,o.interrupt&&!o.parser.lazy[o.now().line]?a(N):f?K(N):X(N))}return N===45||an(N)?(l.consume(N),h+=String.fromCharCode(N),q):a(N)}function D(N){return N===62?(l.consume(N),o.interrupt?u:ce):a(N)}function K(N){return Ye(N)?(l.consume(N),K):B(N)}function X(N){return N===47?(l.consume(N),B):N===58||N===95||dn(N)?(l.consume(N),xe):Ye(N)?(l.consume(N),X):B(N)}function xe(N){return N===45||N===46||N===58||N===95||an(N)?(l.consume(N),xe):he(N)}function he(N){return N===61?(l.consume(N),Y):Ye(N)?(l.consume(N),he):X(N)}function Y(N){return N===null||N===60||N===61||N===62||N===96?a(N):N===34||N===39?(l.consume(N),g=N,P):Ye(N)?(l.consume(N),Y):ae(N)}function P(N){return N===g?(l.consume(N),g=null,He):N===null||Te(N)?a(N):(l.consume(N),P)}function ae(N){return N===null||N===34||N===39||N===47||N===60||N===61||N===62||N===96||mt(N)?he(N):(l.consume(N),ae)}function He(N){return N===47||N===62||Ye(N)?X(N):a(N)}function B(N){return N===62?(l.consume(N),W):a(N)}function W(N){return N===null||Te(N)?ce(N):Ye(N)?(l.consume(N),W):a(N)}function ce(N){return N===45&&s===2?(l.consume(N),Q):N===60&&s===1?(l.consume(N),oe):N===62&&s===4?(l.consume(N),nt):N===63&&s===3?(l.consume(N),_):N===93&&s===5?(l.consume(N),Ne):Te(N)&&(s===6||s===7)?(l.exit("htmlFlowData"),l.check(tE,yt,Re)(N)):N===null||Te(N)?(l.exit("htmlFlowData"),Re(N)):(l.consume(N),ce)}function Re(N){return l.check($f,de,yt)(N)}function de(N){return l.enter("lineEnding"),l.consume(N),l.exit("lineEnding"),J}function J(N){return N===null||Te(N)?Re(N):(l.enter("htmlFlowData"),ce(N))}function Q(N){return N===45?(l.consume(N),_):ce(N)}function oe(N){return N===47?(l.consume(N),h="",ie):ce(N)}function ie(N){if(N===62){const w=h.toLowerCase();return uy.includes(w)?(l.consume(N),nt):ce(N)}return dn(N)&&h.length<8?(l.consume(N),h+=String.fromCharCode(N),ie):ce(N)}function Ne(N){return N===93?(l.consume(N),_):ce(N)}function _(N){return N===62?(l.consume(N),nt):N===45&&s===2?(l.consume(N),_):ce(N)}function nt(N){return N===null||Te(N)?(l.exit("htmlFlowData"),yt(N)):(l.consume(N),nt)}function yt(N){return l.exit("htmlFlow"),u(N)}}function iE(l,u,a){return o;function o(s){return l.enter("lineEnding"),l.consume(s),l.exit("lineEnding"),l.attempt(ar,u,a)}}const aE={name:"htmlText",tokenize:uE};function uE(l,u,a){const o=this;let s,f,h;return d;function d(_){return l.enter("htmlText"),l.enter("htmlTextData"),l.consume(_),g}function g(_){return _===33?(l.consume(_),b):_===47?(l.consume(_),he):_===63?(l.consume(_),X):dn(_)?(l.consume(_),ae):a(_)}function b(_){return _===45?(l.consume(_),y):_===91?(l.consume(_),f=0,k):dn(_)?(l.consume(_),K):a(_)}function y(_){return _===45?(l.consume(_),v):a(_)}function p(_){return _===null?a(_):_===45?(l.consume(_),S):Te(_)?(h=p,oe(_)):(l.consume(_),p)}function S(_){return _===45?(l.consume(_),v):p(_)}function v(_){return _===62?Q(_):_===45?S(_):p(_)}function k(_){const nt="CDATA[";return _===nt.charCodeAt(f++)?(l.consume(_),f===nt.length?U:k):a(_)}function U(_){return _===null?a(_):_===93?(l.consume(_),q):Te(_)?(h=U,oe(_)):(l.consume(_),U)}function q(_){return _===93?(l.consume(_),D):U(_)}function D(_){return _===62?Q(_):_===93?(l.consume(_),D):U(_)}function K(_){return _===null||_===62?Q(_):Te(_)?(h=K,oe(_)):(l.consume(_),K)}function X(_){return _===null?a(_):_===63?(l.consume(_),xe):Te(_)?(h=X,oe(_)):(l.consume(_),X)}function xe(_){return _===62?Q(_):X(_)}function he(_){return dn(_)?(l.consume(_),Y):a(_)}function Y(_){return _===45||an(_)?(l.consume(_),Y):P(_)}function P(_){return Te(_)?(h=P,oe(_)):Ye(_)?(l.consume(_),P):Q(_)}function ae(_){return _===45||an(_)?(l.consume(_),ae):_===47||_===62||mt(_)?He(_):a(_)}function He(_){return _===47?(l.consume(_),Q):_===58||_===95||dn(_)?(l.consume(_),B):Te(_)?(h=He,oe(_)):Ye(_)?(l.consume(_),He):Q(_)}function B(_){return _===45||_===46||_===58||_===95||an(_)?(l.consume(_),B):W(_)}function W(_){return _===61?(l.consume(_),ce):Te(_)?(h=W,oe(_)):Ye(_)?(l.consume(_),W):He(_)}function ce(_){return _===null||_===60||_===61||_===62||_===96?a(_):_===34||_===39?(l.consume(_),s=_,Re):Te(_)?(h=ce,oe(_)):Ye(_)?(l.consume(_),ce):(l.consume(_),de)}function Re(_){return _===s?(l.consume(_),s=void 0,J):_===null?a(_):Te(_)?(h=Re,oe(_)):(l.consume(_),Re)}function de(_){return _===null||_===34||_===39||_===60||_===61||_===96?a(_):_===47||_===62||mt(_)?He(_):(l.consume(_),de)}function J(_){return _===47||_===62||mt(_)?He(_):a(_)}function Q(_){return _===62?(l.consume(_),l.exit("htmlTextData"),l.exit("htmlText"),u):a(_)}function oe(_){return l.exit("htmlTextData"),l.enter("lineEnding"),l.consume(_),l.exit("lineEnding"),ie}function ie(_){return Ye(_)?Je(l,Ne,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):Ne(_)}function Ne(_){return l.enter("htmlTextData"),h(_)}}const bh={name:"labelEnd",resolveAll:sE,resolveTo:fE,tokenize:hE},rE={tokenize:dE},oE={tokenize:mE},cE={tokenize:pE};function sE(l){let u=-1;const a=[];for(;++u<l.length;){const o=l[u][1];if(a.push(l[u]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const s=o.type==="labelImage"?4:2;o.type="data",u+=s}}return l.length!==a.length&&ul(l,0,l.length,a),l}function fE(l,u){let a=l.length,o=0,s,f,h;for(;a--;){const y=l[a][1];if(s){if(y.type==="link"||y.type==="labelLink"&&y._inactive)break;l[a][0]==="enter"&&y.type==="labelLink"&&(y._inactive=!0)}else if(f){if(l[a][0]==="enter"&&(y.type==="labelImage"||y.type==="labelLink")&&!y._balanced&&(s=a,y.type!=="labelLink")){o=2;break}}else y.type==="labelEnd"&&(f=a)}const d={type:l[s][1].type==="labelLink"?"link":"image",start:{...l[s][1].start},end:{...l[l.length-1][1].end}},g={type:"label",start:{...l[s][1].start},end:{...l[f][1].end}},b={type:"labelText",start:{...l[s+o+2][1].end},end:{...l[f-2][1].start}};return h=[["enter",d,u],["enter",g,u]],h=Zn(h,l.slice(s+1,s+o+3)),h=Zn(h,[["enter",b,u]]),h=Zn(h,Zo(u.parser.constructs.insideSpan.null,l.slice(s+o+4,f-3),u)),h=Zn(h,[["exit",b,u],l[f-2],l[f-1],["exit",g,u]]),h=Zn(h,l.slice(f+1)),h=Zn(h,[["exit",d,u]]),ul(l,s,l.length,h),l}function hE(l,u,a){const o=this,s=o._labelStarts;let f,h;if(s){for(;s.length>0&&s[s.length-1]._balanced;)s.pop();f=s[s.length-1]}return d;function d(S){return f?f._inactive?p(S):(h=o.parser.defined.includes(rl(o.sliceSerialize({start:f.end,end:o.now()}))),l.enter("labelEnd"),l.enter("labelMarker"),l.consume(S),l.exit("labelMarker"),l.exit("labelEnd"),g):a(S)}function g(S){return S===40?l.attempt(rE,y,h?y:p)(S):S===91?l.attempt(oE,y,h?b:p)(S):h?y(S):p(S)}function b(S){return l.attempt(cE,y,p)(S)}function y(S){return s.pop(),u(S)}function p(S){return f._balanced=!0,a(S)}}function dE(l,u,a){return o;function o(p){return l.enter("resource"),l.enter("resourceMarker"),l.consume(p),l.exit("resourceMarker"),s}function s(p){return mt(p)?er(l,f)(p):f(p)}function f(p){return p===41?y(p):r1(l,h,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function h(p){return mt(p)?er(l,g)(p):y(p)}function d(p){return a(p)}function g(p){return p===34||p===39||p===40?c1(l,b,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):y(p)}function b(p){return mt(p)?er(l,y)(p):y(p)}function y(p){return p===41?(l.enter("resourceMarker"),l.consume(p),l.exit("resourceMarker"),l.exit("resource"),u):a(p)}}function mE(l,u,a){const o=this;return s;function s(d){return o1.call(o,l,f,h,"reference","referenceMarker","referenceString")(d)}function f(d){return o.parser.defined.includes(rl(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?u(d):a(d)}function h(d){return a(d)}}function pE(l,u,a){return o;function o(f){return l.enter("reference"),l.enter("referenceMarker"),l.consume(f),l.exit("referenceMarker"),s}function s(f){return f===93?(l.enter("referenceMarker"),l.consume(f),l.exit("referenceMarker"),l.exit("reference"),u):a(f)}}const gE={name:"labelStartImage",resolveAll:bh.resolveAll,tokenize:yE};function yE(l,u,a){const o=this;let s;return f;function f(g){return l.enter("labelImage"),l.enter("labelImageMarker"),l.consume(g),l.exit("labelImageMarker"),h}function h(g){return g===91?(l.enter("labelMarker"),l.consume(g),l.exit("labelMarker"),s=l.exit("labelImage"),d):a(g)}function d(g){return g===94&&"_hiddenFootnoteSupport"in o.parser.constructs?a(g):(o._labelStarts=o._labelStarts||[],o._labelStarts.push(s),u(g))}}const bE={name:"labelStartLink",resolveAll:bh.resolveAll,tokenize:xE};function xE(l,u,a){const o=this;let s;return f;function f(d){return l.enter("labelLink"),l.enter("labelMarker"),l.consume(d),l.exit("labelMarker"),s=l.exit("labelLink"),h}function h(d){return d===94&&"_hiddenFootnoteSupport"in o.parser.constructs?a(d):(o._labelStarts=o._labelStarts||[],o._labelStarts.push(s),u(d))}}const zf={name:"lineEnding",tokenize:vE};function vE(l,u){return a;function a(o){return l.enter("lineEnding"),l.consume(o),l.exit("lineEnding"),Je(l,u,"linePrefix")}}const Ho={name:"thematicBreak",tokenize:SE};function SE(l,u,a){let o=0,s;return f;function f(b){return l.enter("thematicBreak"),h(b)}function h(b){return s=b,d(b)}function d(b){return b===s?(l.enter("thematicBreakSequence"),g(b)):o>=3&&(b===null||Te(b))?(l.exit("thematicBreak"),u(b)):a(b)}function g(b){return b===s?(l.consume(b),o++,g):(l.exit("thematicBreakSequence"),Ye(b)?Je(l,d,"whitespace")(b):d(b))}}const Tn={continuation:{tokenize:AE},exit:CE,name:"list",tokenize:_E},EE={partial:!0,tokenize:wE},TE={partial:!0,tokenize:NE};function _E(l,u,a){const o=this,s=o.events[o.events.length-1];let f=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,h=0;return d;function d(v){const k=o.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!o.containerState.marker||v===o.containerState.marker:Ff(v)){if(o.containerState.type||(o.containerState.type=k,l.enter(k,{_container:!0})),k==="listUnordered")return l.enter("listItemPrefix"),v===42||v===45?l.check(Ho,a,b)(v):b(v);if(!o.interrupt||v===49)return l.enter("listItemPrefix"),l.enter("listItemValue"),g(v)}return a(v)}function g(v){return Ff(v)&&++h<10?(l.consume(v),g):(!o.interrupt||h<2)&&(o.containerState.marker?v===o.containerState.marker:v===41||v===46)?(l.exit("listItemValue"),b(v)):a(v)}function b(v){return l.enter("listItemMarker"),l.consume(v),l.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||v,l.check(ar,o.interrupt?a:y,l.attempt(EE,S,p))}function y(v){return o.containerState.initialBlankLine=!0,f++,S(v)}function p(v){return Ye(v)?(l.enter("listItemPrefixWhitespace"),l.consume(v),l.exit("listItemPrefixWhitespace"),S):a(v)}function S(v){return o.containerState.size=f+o.sliceSerialize(l.exit("listItemPrefix"),!0).length,u(v)}}function AE(l,u,a){const o=this;return o.containerState._closeFlow=void 0,l.check(ar,s,f);function s(d){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Je(l,u,"listItemIndent",o.containerState.size+1)(d)}function f(d){return o.containerState.furtherBlankLines||!Ye(d)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,h(d)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,l.attempt(TE,u,h)(d))}function h(d){return o.containerState._closeFlow=!0,o.interrupt=void 0,Je(l,l.attempt(Tn,u,a),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function NE(l,u,a){const o=this;return Je(l,s,"listItemIndent",o.containerState.size+1);function s(f){const h=o.events[o.events.length-1];return h&&h[1].type==="listItemIndent"&&h[2].sliceSerialize(h[1],!0).length===o.containerState.size?u(f):a(f)}}function CE(l){l.exit(this.containerState.type)}function wE(l,u,a){const o=this;return Je(l,s,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(f){const h=o.events[o.events.length-1];return!Ye(f)&&h&&h[1].type==="listItemPrefixWhitespace"?u(f):a(f)}}const ry={name:"setextUnderline",resolveTo:kE,tokenize:OE};function kE(l,u){const a=new Yo;let o=l.length,s,f,h;for(;o--;)if(l[o][0]==="enter"){if(l[o][1].type==="content"){s=o;break}l[o][1].type==="paragraph"&&(f=o)}else l[o][1].type==="content"&&a.add(o,1,[]),!h&&l[o][1].type==="definition"&&(h=o);const d={type:"setextHeading",start:{...l[s][1].start},end:{...l[l.length-1][1].end}};return l[f][1].type="setextHeadingText",h?(a.add(f,0,[["enter",d,u]]),a.add(h+1,0,[["exit",l[s][1],u]]),l[s][1].end={...l[h][1].end}):l[s][1]=d,a.add(l.length,0,[["exit",d,u]]),a.consume(l),l}function OE(l,u,a){const o=this;let s;return f;function f(b){let y=o.events.length,p;for(;y--;)if(o.events[y][1].type!=="lineEnding"&&o.events[y][1].type!=="linePrefix"&&o.events[y][1].type!=="content"){p=o.events[y][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||p)?(l.enter("setextHeadingLine"),s=b,h(b)):a(b)}function h(b){return l.enter("setextHeadingLineSequence"),d(b)}function d(b){return b===s?(l.consume(b),d):(l.exit("setextHeadingLineSequence"),Ye(b)?Je(l,g,"lineSuffix")(b):g(b))}function g(b){return b===null||Te(b)?(l.exit("setextHeadingLine"),u(b)):a(b)}}const zE={tokenize:ME};function ME(l){const u=this,a=l.attempt(ar,o,l.attempt(this.parser.constructs.flowInitial,s,Je(l,l.attempt(this.parser.constructs.flow,s,l.attempt(HS,s)),"linePrefix")));return a;function o(f){if(f===null){l.consume(f);return}return l.enter("lineEndingBlank"),l.consume(f),l.exit("lineEndingBlank"),u.currentConstruct=void 0,a}function s(f){if(f===null){l.consume(f);return}return l.enter("lineEnding"),l.consume(f),l.exit("lineEnding"),u.currentConstruct=void 0,a}}const RE={resolveAll:f1()},DE=s1("string"),jE=s1("text");function s1(l){return{resolveAll:f1(l==="text"?LE:void 0),tokenize:u};function u(a){const o=this,s=this.parser.constructs[l],f=a.attempt(s,h,d);return h;function h(y){return b(y)?f(y):d(y)}function d(y){if(y===null){a.consume(y);return}return a.enter("data"),a.consume(y),g}function g(y){return b(y)?(a.exit("data"),f(y)):(a.consume(y),g)}function b(y){if(y===null)return!0;const p=s[y];let S=-1;if(p)for(;++S<p.length;){const v=p[S];if(!v.previous||v.previous.call(o,o.previous))return!0}return!1}}}function f1(l){return u;function u(a,o){let s=-1,f;for(;++s<=a.length;)f===void 0?a[s]&&a[s][1].type==="data"&&(f=s,s++):(!a[s]||a[s][1].type!=="data")&&(s!==f+2&&(a[f][1].end=a[s-1][1].end,a.splice(f+2,s-f-2),s=f+2),f=void 0);return l?l(a,o):a}}function LE(l,u){const a=new Yo;let o=0;for(;++o<=l.length;)if((o===l.length||l[o][1].type==="lineEnding")&&l[o-1][1].type==="data"){const s=l[o-1][1],f=u.sliceStream(s);let h=f.length,d=-1,g=0,b;for(;h--;){const y=f[h];if(typeof y=="string"){for(d=y.length;y.charCodeAt(d-1)===32;)g++,d--;if(d)break;d=-1}else if(y===-2)b=!0,g++;else if(y!==-1){h++;break}}if(u._contentTypeTextTrailing&&o===l.length&&(g=0),g){const y={type:o===l.length||b||g<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:h?d:s.start._bufferIndex+d,_index:s.start._index+h,line:s.end.line,column:s.end.column-g,offset:s.end.offset-g},end:{...s.end}};s.end={...y.start},s.start.offset===s.end.offset?Object.assign(s,y):a.add(o,0,[["enter",y,u],["exit",y,u]])}o++}return a.consume(l),l}const BE={42:Tn,43:Tn,45:Tn,48:Tn,49:Tn,50:Tn,51:Tn,52:Tn,53:Tn,54:Tn,55:Tn,56:Tn,57:Tn,62:l1},UE={91:IS},HE={[-2]:Of,[-1]:Of,32:Of},qE={35:JS,42:Ho,45:[ry,Ho],60:eE,61:ry,95:Ho,96:ay,126:ay},YE={38:a1,92:i1},GE={[-5]:zf,[-4]:zf,[-3]:zf,33:gE,38:a1,42:Jf,60:[vS,aE],91:bE,92:[KS,i1],93:bh,95:Jf,96:RS},VE={null:[Jf,RE]},IE={null:[42,95]},XE={null:[]},QE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:IE,contentInitial:UE,disable:XE,document:BE,flow:qE,flowInitial:HE,insideSpan:VE,string:YE,text:GE},Symbol.toStringTag,{value:"Module"}));function ZE(l,u,a){let o={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const s={},f=[];let h=[],d=[];const g={attempt:P(he),check:P(Y),consume:K,enter:X,exit:xe,interrupt:P(Y,{interrupt:!0})},b={code:null,containerState:{},defineSkip:U,events:[],now:k,parser:l,previous:null,sliceSerialize:S,sliceStream:v,write:p};let y=u.tokenize.call(b,g);return u.resolveAll&&f.push(u),b;function p(W){return h=Zn(h,W),q(),h[h.length-1]!==null?[]:(ae(u,0),b.events=Zo(f,b.events,b),b.events)}function S(W,ce){return FE(v(W),ce)}function v(W){return KE(h,W)}function k(){const{_bufferIndex:W,_index:ce,line:Re,column:de,offset:J}=o;return{_bufferIndex:W,_index:ce,line:Re,column:de,offset:J}}function U(W){s[W.line]=W.column,B()}function q(){for(;o._index<h.length;){const W=h[o._index];if(typeof W=="string"){const ce=o._index;for(o._bufferIndex<0&&(o._bufferIndex=0);o._index===ce&&o._bufferIndex<W.length;)D(W.charCodeAt(o._bufferIndex))}else D(W)}}function D(W){y=y(W)}function K(W){Te(W)?(o.line++,o.column=1,o.offset+=W===-3?2:1,B()):W!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===h[o._index].length&&(o._bufferIndex=-1,o._index++)),b.previous=W}function X(W,ce){const Re=ce||{};return Re.type=W,Re.start=k(),b.events.push(["enter",Re,b]),d.push(Re),Re}function xe(W){const ce=d.pop();return ce.end=k(),b.events.push(["exit",ce,b]),ce}function he(W,ce){ae(W,ce.from)}function Y(W,ce){ce.restore()}function P(W,ce){return Re;function Re(de,J,Q){let oe,ie,Ne,_;return Array.isArray(de)?yt(de):"tokenize"in de?yt([de]):nt(de);function nt(ue){return ge;function ge(Me){const Ue=Me!==null&&ue[Me],De=Me!==null&&ue.null,me=[...Array.isArray(Ue)?Ue:Ue?[Ue]:[],...Array.isArray(De)?De:De?[De]:[]];return yt(me)(Me)}}function yt(ue){return oe=ue,ie=0,ue.length===0?Q:N(ue[ie])}function N(ue){return ge;function ge(Me){return _=He(),Ne=ue,ue.partial||(b.currentConstruct=ue),ue.name&&b.parser.constructs.disable.null.includes(ue.name)?Z():ue.tokenize.call(ce?Object.assign(Object.create(b),ce):b,g,w,Z)(Me)}}function w(ue){return W(Ne,_),J}function Z(ue){return _.restore(),++ie<oe.length?N(oe[ie]):Q}}}function ae(W,ce){W.resolveAll&&!f.includes(W)&&f.push(W),W.resolve&&ul(b.events,ce,b.events.length-ce,W.resolve(b.events.slice(ce),b)),W.resolveTo&&(b.events=W.resolveTo(b.events,b))}function He(){const W=k(),ce=b.previous,Re=b.currentConstruct,de=b.events.length,J=Array.from(d);return{from:de,restore:Q};function Q(){o=W,b.previous=ce,b.currentConstruct=Re,b.events.length=de,d=J,B()}}function B(){o.line in s&&o.column<2&&(o.column=s[o.line],o.offset+=s[o.line]-1)}}function KE(l,u){const a=u.start._index,o=u.start._bufferIndex,s=u.end._index,f=u.end._bufferIndex;let h;if(a===s)h=[l[a].slice(o,f)];else{if(h=l.slice(a,s),o>-1){const d=h[0];typeof d=="string"?h[0]=d.slice(o):h.shift()}f>0&&h.push(l[s].slice(0,f))}return h}function FE(l,u){let a=-1;const o=[];let s;for(;++a<l.length;){const f=l[a];let h;if(typeof f=="string")h=f;else switch(f){case-5:{h="\r";break}case-4:{h=`
248
+ `;break}case-3:{h=`\r
249
+ `;break}case-2:{h=u?" ":" ";break}case-1:{if(!u&&s)continue;h=" ";break}default:h=String.fromCharCode(f)}s=f===-2,o.push(h)}return o.join("")}function JE(l){const o={constructs:e1([QE,...(l||{}).extensions||[]]),content:s(dS),defined:[],document:s(pS),flow:s(zE),lazy:{},string:s(DE),text:s(jE)};return o;function s(f){return h;function h(d){return ZE(o,f,d)}}}function $E(l){for(;!u1(l););return l}const oy=/[\0\t\n\r]/g;function PE(){let l=1,u="",a=!0,o;return s;function s(f,h,d){f=u+(typeof f=="string"?f.toString():new TextDecoder(h||void 0).decode(f));const g=[];let b=0;for(u="",a&&(f.charCodeAt(0)===65279&&b++,a=void 0);b<f.length;){oy.lastIndex=b;const y=oy.exec(f),p=y&&y.index!==void 0?y.index:f.length,S=f.charCodeAt(p);if(!y){u=f.slice(b);break}if(S===10&&b===p&&o)g.push(-3),o=void 0;else switch(o&&(g.push(-5),o=void 0),b<p&&(g.push(f.slice(b,p)),l+=p-b),S){case 0:{g.push(65533),l++;break}case 9:{const v=Math.ceil(l/4)*4;for(g.push(-2);l++<v;)g.push(-1);break}case 10:{g.push(-4),l=1;break}default:o=!0,l=1}b=p+1}return d&&(o&&g.push(-5),u&&g.push(u),g.push(null)),g}}const WE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e2(l){return l.replace(WE,t2)}function t2(l,u,a){if(u)return u;if(a.charCodeAt(0)===35){const s=a.charCodeAt(1),f=s===120||s===88;return t1(a.slice(f?2:1),f?16:10)}return yh(a)||l}const h1={}.hasOwnProperty;function n2(l,u,a){return u&&typeof u=="object"&&(a=u,u=void 0),l2(a)($E(JE(a).document().write(PE()(l,u,!0))))}function l2(l){const u={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:h(Kn),autolinkProtocol:B,autolinkEmail:B,atxHeading:h(rn),blockQuote:h(me),characterEscape:B,characterReference:B,codeFenced:h(Ee),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:h(Ee,d),codeText:h(An,d),codeTextData:B,data:B,codeFlowValue:B,definition:h(wi),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:h(ol),hardBreakEscape:h(vt),hardBreakTrailing:h(vt),htmlFlow:h($e,d),htmlFlowData:B,htmlText:h($e,d),htmlTextData:B,image:h(mn),label:d,link:h(Kn),listItem:h(Ql),listItemValue:v,listOrdered:h(Nn,S),listUnordered:h(Nn),paragraph:h(Tl),reference:w,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:h(rn),strong:h(nn),thematicBreak:h(Cn)},exit:{atxHeading:b(),atxHeadingSequence:Y,autolink:b(),autolinkEmail:De,autolinkProtocol:Ue,blockQuote:b(),characterEscapeValue:W,characterReferenceMarkerHexadecimal:ue,characterReferenceMarkerNumeric:ue,characterReferenceValue:ge,characterReference:Me,codeFenced:b(D),codeFencedFence:q,codeFencedFenceInfo:k,codeFencedFenceMeta:U,codeFlowValue:W,codeIndented:b(K),codeText:b(Q),codeTextData:W,data:W,definition:b(),definitionDestinationString:he,definitionLabelString:X,definitionTitleString:xe,emphasis:b(),hardBreakEscape:b(Re),hardBreakTrailing:b(Re),htmlFlow:b(de),htmlFlowData:W,htmlText:b(J),htmlTextData:W,image:b(ie),label:_,labelText:Ne,lineEnding:ce,link:b(oe),listItem:b(),listOrdered:b(),listUnordered:b(),paragraph:b(),referenceString:Z,resourceDestinationString:nt,resourceTitleString:yt,resource:N,setextHeading:b(He),setextHeadingLineSequence:ae,setextHeadingText:P,strong:b(),thematicBreak:b()}};d1(u,(l||{}).mdastExtensions||[]);const a={};return o;function o(H){let ee={type:"root",children:[],position:void 0};const Se={stack:[ee],tokenStack:[],config:u,enter:g,exit:y,buffer:d,resume:p,data:a},Ce=[],Ct=[];let it=-1;for(;++it<H.length;)if(Ct.push(H[it]),H[it][1].type==="listOrdered"||H[it][1].type==="listUnordered")if(H[it][0]==="enter")Ce.push(Ct.length-1);else{const Bt=Ce.pop();f(Ct,Bt)}for(H=Ct,it=-1;++it<H.length;){const Bt=u[H[it][0]];H[it][0]==="enter"&&u.beforeEnter.length>0&&s(u.beforeEnter,{...Se,sliceSerialize:H[it][2].sliceSerialize},H[it][1]),h1.call(Bt,H[it][1].type)&&Bt[H[it][1].type].call({...Se,sliceSerialize:H[it][2].sliceSerialize},H[it][1]),H[it][0]==="exit"&&u.afterExit.length>0&&s(u.afterExit,{...Se,sliceSerialize:H[it][2].sliceSerialize},H[it][1])}if(Se.tokenStack.length>0){const Bt=Se.tokenStack[Se.tokenStack.length-1];(Bt[1]||cy).call(Se,void 0,Bt[0])}for(ee.position={start:Ni(H.length>0?H[0][1].start:{line:1,column:1,offset:0}),end:Ni(H.length>0?H[H.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<u.transforms.length;)ee=u.transforms[it](ee)||ee;return ee}function s(H,ee,Se){let Ce=-1;for(;++Ce<H.length;)H[Ce].call(ee,Se)}function f(H,ee){const Se=H.length-1;let Ce=ee-1,Ct=-1,it=!1,Bt,Qt,Fn,Jn;const _l=[];for(;++Ce<=Se;){const qt=H[Ce];switch(qt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{qt[0]==="enter"?Ct++:Ct--,Jn=void 0;break}case"lineEndingBlank":{qt[0]==="enter"&&(Bt&&!Jn&&!Ct&&!Fn&&(Fn=Ce),Jn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Jn=void 0}if(!Ct&&qt[0]==="enter"&&qt[1].type==="listItemPrefix"||Ct===-1&&qt[0]==="exit"&&(qt[1].type==="listUnordered"||qt[1].type==="listOrdered")){if(Bt){let $n=Ce;for(Qt=void 0;$n--;){const on=H[$n];if(on[1].type==="lineEnding"||on[1].type==="lineEndingBlank"){if(on[0]==="exit")continue;Qt&&(H[Qt][1].type="lineEndingBlank",it=!0),on[1].type="lineEnding",Qt=$n}else if(!(on[1].type==="linePrefix"||on[1].type==="blockQuotePrefix"||on[1].type==="blockQuotePrefixWhitespace"||on[1].type==="blockQuoteMarker"||on[1].type==="listItemIndent"))break}Fn&&(!Qt||Fn<Qt)&&(Bt._spread=!0),Bt.end=Object.assign({},Qt?H[Qt][1].start:qt[1].end),_l.push({at:Qt||Ce,event:["exit",Bt,qt[2]]})}if(qt[1].type==="listItemPrefix"){const $n={type:"listItem",_spread:!1,start:Object.assign({},qt[1].start),end:void 0};Bt=$n,_l.push({at:Ce,event:["enter",$n,qt[2]]}),Fn=void 0,Jn=!0}}}const Kl=H.splice(ee);let wt=0;for(Ce=-1;++Ce<Kl.length;){for(;wt<_l.length&&_l[wt].at===ee+Ce;)H.push(_l[wt++].event);H.push(Kl[Ce])}H[ee][1]._spread=it}function h(H,ee){return Se;function Se(Ce){g.call(this,H(Ce),Ce),ee&&ee.call(this,Ce)}}function d(){this.stack.push({type:"fragment",children:[]})}function g(H,ee,Se){this.stack[this.stack.length-1].children.push(H),this.stack.push(H),this.tokenStack.push([ee,Se||void 0]),H.position={start:Ni(ee.start),end:void 0}}function b(H){return ee;function ee(Se){H&&H.call(this,Se),y.call(this,Se)}}function y(H,ee){const Se=this.stack.pop(),Ce=this.tokenStack.pop();if(!Ce)throw new Error("Cannot close `"+H.type+"` ("+Wu({start:H.start,end:H.end})+"): it’s not open");Ce[0].type!==H.type&&(ee?ee.call(this,H,Ce[0]):(Ce[1]||cy).call(this,H,Ce[0])),Se.position.end=Ni(H.end)}function p(){return gh(this.stack.pop())}function S(){this.data.expectingFirstListItemValue=!0}function v(H){if(this.data.expectingFirstListItemValue){const ee=this.stack[this.stack.length-2];ee.start=Number.parseInt(this.sliceSerialize(H),10),this.data.expectingFirstListItemValue=void 0}}function k(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.lang=H}function U(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.meta=H}function q(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function D(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.value=H.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function K(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.value=H.replace(/(\r?\n|\r)$/g,"")}function X(H){const ee=this.resume(),Se=this.stack[this.stack.length-1];Se.label=ee,Se.identifier=rl(this.sliceSerialize(H)).toLowerCase()}function xe(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.title=H}function he(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.url=H}function Y(H){const ee=this.stack[this.stack.length-1];if(!ee.depth){const Se=this.sliceSerialize(H).length;ee.depth=Se}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function ae(H){const ee=this.stack[this.stack.length-1];ee.depth=this.sliceSerialize(H).codePointAt(0)===61?1:2}function He(){this.data.setextHeadingSlurpLineEnding=void 0}function B(H){const Se=this.stack[this.stack.length-1].children;let Ce=Se[Se.length-1];(!Ce||Ce.type!=="text")&&(Ce=Zl(),Ce.position={start:Ni(H.start),end:void 0},Se.push(Ce)),this.stack.push(Ce)}function W(H){const ee=this.stack.pop();ee.value+=this.sliceSerialize(H),ee.position.end=Ni(H.end)}function ce(H){const ee=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Se=ee.children[ee.children.length-1];Se.position.end=Ni(H.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&u.canContainEols.includes(ee.type)&&(B.call(this,H),W.call(this,H))}function Re(){this.data.atHardBreak=!0}function de(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.value=H}function J(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.value=H}function Q(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.value=H}function oe(){const H=this.stack[this.stack.length-1];if(this.data.inReference){const ee=this.data.referenceType||"shortcut";H.type+="Reference",H.referenceType=ee,delete H.url,delete H.title}else delete H.identifier,delete H.label;this.data.referenceType=void 0}function ie(){const H=this.stack[this.stack.length-1];if(this.data.inReference){const ee=this.data.referenceType||"shortcut";H.type+="Reference",H.referenceType=ee,delete H.url,delete H.title}else delete H.identifier,delete H.label;this.data.referenceType=void 0}function Ne(H){const ee=this.sliceSerialize(H),Se=this.stack[this.stack.length-2];Se.label=e2(ee),Se.identifier=rl(ee).toLowerCase()}function _(){const H=this.stack[this.stack.length-1],ee=this.resume(),Se=this.stack[this.stack.length-1];if(this.data.inReference=!0,Se.type==="link"){const Ce=H.children;Se.children=Ce}else Se.alt=ee}function nt(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.url=H}function yt(){const H=this.resume(),ee=this.stack[this.stack.length-1];ee.title=H}function N(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function Z(H){const ee=this.resume(),Se=this.stack[this.stack.length-1];Se.label=ee,Se.identifier=rl(this.sliceSerialize(H)).toLowerCase(),this.data.referenceType="full"}function ue(H){this.data.characterReferenceType=H.type}function ge(H){const ee=this.sliceSerialize(H),Se=this.data.characterReferenceType;let Ce;Se?(Ce=t1(ee,Se==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ce=yh(ee);const Ct=this.stack[this.stack.length-1];Ct.value+=Ce}function Me(H){const ee=this.stack.pop();ee.position.end=Ni(H.end)}function Ue(H){W.call(this,H);const ee=this.stack[this.stack.length-1];ee.url=this.sliceSerialize(H)}function De(H){W.call(this,H);const ee=this.stack[this.stack.length-1];ee.url="mailto:"+this.sliceSerialize(H)}function me(){return{type:"blockquote",children:[],position:void 0}}function Ee(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function An(){return{type:"inlineCode",value:"",position:void 0}}function wi(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function ol(){return{type:"emphasis",children:[],position:void 0}}function rn(){return{type:"heading",depth:0,children:[],position:void 0}}function vt(){return{type:"break",position:void 0}}function $e(){return{type:"html",value:"",position:void 0}}function mn(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function Kn(){return{type:"link",title:null,url:"",children:[],position:void 0}}function Nn(H){return{type:"list",ordered:H.type==="listOrdered",start:null,spread:H._spread,children:[],position:void 0}}function Ql(H){return{type:"listItem",spread:H._spread,checked:null,children:[],position:void 0}}function Tl(){return{type:"paragraph",children:[],position:void 0}}function nn(){return{type:"strong",children:[],position:void 0}}function Zl(){return{type:"text",value:"",position:void 0}}function Cn(){return{type:"thematicBreak",position:void 0}}}function Ni(l){return{line:l.line,column:l.column,offset:l.offset}}function d1(l,u){let a=-1;for(;++a<u.length;){const o=u[a];Array.isArray(o)?d1(l,o):i2(l,o)}}function i2(l,u){let a;for(a in u)if(h1.call(u,a))switch(a){case"canContainEols":{const o=u[a];o&&l[a].push(...o);break}case"transforms":{const o=u[a];o&&l[a].push(...o);break}case"afterExit":case"beforeEnter":{const o=u[a];o&&l[a].push(o);break}case"enter":case"exit":{const o=u[a];o&&Object.assign(l[a],o);break}}}function cy(l,u){throw l?new Error("Cannot close `"+l.type+"` ("+Wu({start:l.start,end:l.end})+"): a different token (`"+u.type+"`, "+Wu({start:u.start,end:u.end})+") is open"):new Error("Cannot close document, a token (`"+u.type+"`, "+Wu({start:u.start,end:u.end})+") is still open")}function a2(l){const u=this;u.parser=a;function a(o){return n2(o,{...u.data("settings"),...l,extensions:u.data("micromarkExtensions")||[],mdastExtensions:u.data("fromMarkdownExtensions")||[]})}}function u2(l,u){const a={type:"element",tagName:"blockquote",properties:{},children:l.wrap(l.all(u),!0)};return l.patch(u,a),l.applyData(u,a)}function r2(l,u){const a={type:"element",tagName:"br",properties:{},children:[]};return l.patch(u,a),[l.applyData(u,a),{type:"text",value:`
250
+ `}]}function o2(l,u){const a=u.value?u.value+`
251
+ `:"",o={},s=u.lang?u.lang.split(/\s+/):[];s.length>0&&(o.className=["language-"+s[0]]);let f={type:"element",tagName:"code",properties:o,children:[{type:"text",value:a}]};return u.meta&&(f.data={meta:u.meta}),l.patch(u,f),f=l.applyData(u,f),f={type:"element",tagName:"pre",properties:{},children:[f]},l.patch(u,f),f}function c2(l,u){const a={type:"element",tagName:"del",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function s2(l,u){const a={type:"element",tagName:"em",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function f2(l,u){const a=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",o=String(u.identifier).toUpperCase(),s=Pa(o.toLowerCase()),f=l.footnoteOrder.indexOf(o);let h,d=l.footnoteCounts.get(o);d===void 0?(d=0,l.footnoteOrder.push(o),h=l.footnoteOrder.length):h=f+1,d+=1,l.footnoteCounts.set(o,d);const g={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+s,id:a+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(h)}]};l.patch(u,g);const b={type:"element",tagName:"sup",properties:{},children:[g]};return l.patch(u,b),l.applyData(u,b)}function h2(l,u){const a={type:"element",tagName:"h"+u.depth,properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function d2(l,u){if(l.options.allowDangerousHtml){const a={type:"raw",value:u.value};return l.patch(u,a),l.applyData(u,a)}}function m1(l,u){const a=u.referenceType;let o="]";if(a==="collapsed"?o+="[]":a==="full"&&(o+="["+(u.label||u.identifier)+"]"),u.type==="imageReference")return[{type:"text",value:"!["+u.alt+o}];const s=l.all(u),f=s[0];f&&f.type==="text"?f.value="["+f.value:s.unshift({type:"text",value:"["});const h=s[s.length-1];return h&&h.type==="text"?h.value+=o:s.push({type:"text",value:o}),s}function m2(l,u){const a=String(u.identifier).toUpperCase(),o=l.definitionById.get(a);if(!o)return m1(l,u);const s={src:Pa(o.url||""),alt:u.alt};o.title!==null&&o.title!==void 0&&(s.title=o.title);const f={type:"element",tagName:"img",properties:s,children:[]};return l.patch(u,f),l.applyData(u,f)}function p2(l,u){const a={src:Pa(u.url)};u.alt!==null&&u.alt!==void 0&&(a.alt=u.alt),u.title!==null&&u.title!==void 0&&(a.title=u.title);const o={type:"element",tagName:"img",properties:a,children:[]};return l.patch(u,o),l.applyData(u,o)}function g2(l,u){const a={type:"text",value:u.value.replace(/\r?\n|\r/g," ")};l.patch(u,a);const o={type:"element",tagName:"code",properties:{},children:[a]};return l.patch(u,o),l.applyData(u,o)}function y2(l,u){const a=String(u.identifier).toUpperCase(),o=l.definitionById.get(a);if(!o)return m1(l,u);const s={href:Pa(o.url||"")};o.title!==null&&o.title!==void 0&&(s.title=o.title);const f={type:"element",tagName:"a",properties:s,children:l.all(u)};return l.patch(u,f),l.applyData(u,f)}function b2(l,u){const a={href:Pa(u.url)};u.title!==null&&u.title!==void 0&&(a.title=u.title);const o={type:"element",tagName:"a",properties:a,children:l.all(u)};return l.patch(u,o),l.applyData(u,o)}function x2(l,u,a){const o=l.all(u),s=a?v2(a):p1(u),f={},h=[];if(typeof u.checked=="boolean"){const y=o[0];let p;y&&y.type==="element"&&y.tagName==="p"?p=y:(p={type:"element",tagName:"p",properties:{},children:[]},o.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:u.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let d=-1;for(;++d<o.length;){const y=o[d];(s||d!==0||y.type!=="element"||y.tagName!=="p")&&h.push({type:"text",value:`
252
+ `}),y.type==="element"&&y.tagName==="p"&&!s?h.push(...y.children):h.push(y)}const g=o[o.length-1];g&&(s||g.type!=="element"||g.tagName!=="p")&&h.push({type:"text",value:`
253
+ `});const b={type:"element",tagName:"li",properties:f,children:h};return l.patch(u,b),l.applyData(u,b)}function v2(l){let u=!1;if(l.type==="list"){u=l.spread||!1;const a=l.children;let o=-1;for(;!u&&++o<a.length;)u=p1(a[o])}return u}function p1(l){const u=l.spread;return u??l.children.length>1}function S2(l,u){const a={},o=l.all(u);let s=-1;for(typeof u.start=="number"&&u.start!==1&&(a.start=u.start);++s<o.length;){const h=o[s];if(h.type==="element"&&h.tagName==="li"&&h.properties&&Array.isArray(h.properties.className)&&h.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const f={type:"element",tagName:u.ordered?"ol":"ul",properties:a,children:l.wrap(o,!0)};return l.patch(u,f),l.applyData(u,f)}function E2(l,u){const a={type:"element",tagName:"p",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function T2(l,u){const a={type:"root",children:l.wrap(l.all(u))};return l.patch(u,a),l.applyData(u,a)}function _2(l,u){const a={type:"element",tagName:"strong",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}function A2(l,u){const a=l.all(u),o=a.shift(),s=[];if(o){const h={type:"element",tagName:"thead",properties:{},children:l.wrap([o],!0)};l.patch(u.children[0],h),s.push(h)}if(a.length>0){const h={type:"element",tagName:"tbody",properties:{},children:l.wrap(a,!0)},d=hh(u.children[1]),g=Zy(u.children[u.children.length-1]);d&&g&&(h.position={start:d,end:g}),s.push(h)}const f={type:"element",tagName:"table",properties:{},children:l.wrap(s,!0)};return l.patch(u,f),l.applyData(u,f)}function N2(l,u,a){const o=a?a.children:void 0,f=(o?o.indexOf(u):1)===0?"th":"td",h=a&&a.type==="table"?a.align:void 0,d=h?h.length:u.children.length;let g=-1;const b=[];for(;++g<d;){const p=u.children[g],S={},v=h?h[g]:void 0;v&&(S.align=v);let k={type:"element",tagName:f,properties:S,children:[]};p&&(k.children=l.all(p),l.patch(p,k),k=l.applyData(p,k)),b.push(k)}const y={type:"element",tagName:"tr",properties:{},children:l.wrap(b,!0)};return l.patch(u,y),l.applyData(u,y)}function C2(l,u){const a={type:"element",tagName:"td",properties:{},children:l.all(u)};return l.patch(u,a),l.applyData(u,a)}const sy=9,fy=32;function w2(l){const u=String(l),a=/\r?\n|\r/g;let o=a.exec(u),s=0;const f=[];for(;o;)f.push(hy(u.slice(s,o.index),s>0,!0),o[0]),s=o.index+o[0].length,o=a.exec(u);return f.push(hy(u.slice(s),s>0,!1)),f.join("")}function hy(l,u,a){let o=0,s=l.length;if(u){let f=l.codePointAt(o);for(;f===sy||f===fy;)o++,f=l.codePointAt(o)}if(a){let f=l.codePointAt(s-1);for(;f===sy||f===fy;)s--,f=l.codePointAt(s-1)}return s>o?l.slice(o,s):""}function k2(l,u){const a={type:"text",value:w2(String(u.value))};return l.patch(u,a),l.applyData(u,a)}function O2(l,u){const a={type:"element",tagName:"hr",properties:{},children:[]};return l.patch(u,a),l.applyData(u,a)}const z2={blockquote:u2,break:r2,code:o2,delete:c2,emphasis:s2,footnoteReference:f2,heading:h2,html:d2,imageReference:m2,image:p2,inlineCode:g2,linkReference:y2,link:b2,listItem:x2,list:S2,paragraph:E2,root:T2,strong:_2,table:A2,tableCell:C2,tableRow:N2,text:k2,thematicBreak:O2,toml:jo,yaml:jo,definition:jo,footnoteDefinition:jo};function jo(){}const g1=-1,Ko=0,tr=1,Vo=2,xh=3,vh=4,Sh=5,Eh=6,y1=7,b1=8,{defineProperty:M2}=Object,x1=typeof self=="object"?self:globalThis,dy=(l,u)=>{switch(l){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+l)}return new x1[l](u)},R2=(l,u)=>{const a=(s,f)=>(l.set(f,s),s),o=s=>{if(l.has(s))return l.get(s);const[f,h]=u[s];switch(f){case Ko:case g1:return a(h,s);case tr:{const d=a([],s);for(const g of h)d.push(o(g));return d}case Vo:{const d=a({},s);for(const[g,b]of h){const y=o(g),p=o(b);y==="__proto__"?M2(d,y,{value:p,configurable:!0,enumerable:!0,writable:!0}):d[y]=p}return d}case xh:return a(new Date(h),s);case vh:{const{source:d,flags:g}=h;return a(new RegExp(d,g),s)}case Sh:{const d=a(new Map,s);for(const[g,b]of h)d.set(o(g),o(b));return d}case Eh:{const d=a(new Set,s);for(const g of h)d.add(o(g));return d}case y1:{const{name:d,message:g}=h;return a(typeof x1[d]=="function"?dy(d,g):new Error(g),s)}case b1:return a(BigInt(h),s);case"BigInt":return a(Object(BigInt(h)),s);case"ArrayBuffer":return a(new Uint8Array(h).buffer,h);case"DataView":{const{buffer:d}=new Uint8Array(h);return a(new DataView(d),h)}case"-0":return-0}return a(dy(f,h),s)};return o},my=l=>R2(new Map,l)(0),Pi="",{toString:D2}={},{keys:j2,is:L2}=Object,Ju=l=>{const u=typeof l;if(u!=="object"||!l)return[Ko,u];const a=D2.call(l).slice(8,-1);switch(a){case"Array":return[tr,Pi];case"Object":return[Vo,Pi];case"Date":return[xh,Pi];case"RegExp":return[vh,Pi];case"Map":return[Sh,Pi];case"Set":return[Eh,Pi];case"DataView":return[tr,a]}return a.includes("Array")?[tr,a]:l instanceof Error?[y1,l.name||"Error"]:[Vo,a]},Lo=([l,u])=>l===Ko&&(u==="function"||u==="symbol"),B2=(l,u,a,o)=>{const s=(h,d)=>{const g=o.push(h)-1;return a.set(d,g),g},f=h=>{if(a.has(h))return a.get(h);let[d,g]=Ju(h);switch(d){case Ko:{let y=h;switch(g){case"bigint":d=b1,y=h.toString();break;case"number":if(!h&&L2(h,-0))return o.push(["-0"])-1;break;case"function":case"symbol":if(l)throw new TypeError("unable to serialize "+g);y=null;break;case"undefined":return s([g1],h)}return s([d,y],h)}case tr:{if(g){let S=h;return g==="DataView"?S=new Uint8Array(h.buffer):g==="ArrayBuffer"&&(S=new Uint8Array(h)),s([g,[...S]],h)}const y=[],p=s([d,y],h);for(const S of h)y.push(f(S));return p}case Vo:{if(g)switch(g){case"BigInt":return s([g,h.toString()],h);case"Boolean":case"Number":case"String":return s([g,h.valueOf()],h)}if(u&&"toJSON"in h)return f(h.toJSON());const y=[],p=s([d,y],h);for(const S of j2(h))(l||!Lo(Ju(h[S])))&&y.push([f(S),f(h[S])]);return p}case xh:return s([d,isNaN(h.getTime())?Pi:h.toISOString()],h);case vh:{const{source:y,flags:p}=h;return s([d,{source:y,flags:p}],h)}case Sh:{const y=[],p=s([d,y],h);for(const[S,v]of h)(l||!(Lo(Ju(S))||Lo(Ju(v))))&&y.push([f(S),f(v)]);return p}case Eh:{const y=[],p=s([d,y],h);for(const S of h)(l||!Lo(Ju(S)))&&y.push(f(S));return p}}const{message:b}=h;return s([d,{name:g,message:b}],h)};return f},py=(l,{json:u,lossy:a}={})=>{const o=[];return B2(!(u||a),!!u,new Map,o)(l),o},Io=typeof structuredClone=="function"?(l,u)=>u&&("json"in u||"lossy"in u)?my(py(l,u)):structuredClone(l):(l,u)=>my(py(l,u));function U2(l,u){const a=[{type:"text",value:"↩"}];return u>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(u)}]}),a}function H2(l,u){return"Back to reference "+(l+1)+(u>1?"-"+u:"")}function q2(l){const u=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",a=l.options.footnoteBackContent||U2,o=l.options.footnoteBackLabel||H2,s=l.options.footnoteLabel||"Footnotes",f=l.options.footnoteLabelTagName||"h2",h=l.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let g=-1;for(;++g<l.footnoteOrder.length;){const b=l.footnoteById.get(l.footnoteOrder[g]);if(!b)continue;const y=l.all(b),p=String(b.identifier).toUpperCase(),S=Pa(p.toLowerCase());let v=0;const k=[],U=l.footnoteCounts.get(p);for(;U!==void 0&&++v<=U;){k.length>0&&k.push({type:"text",value:" "});let K=typeof a=="string"?a:a(g,v);typeof K=="string"&&(K={type:"text",value:K}),k.push({type:"element",tagName:"a",properties:{href:"#"+u+"fnref-"+S+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(g,v),className:["data-footnote-backref"]},children:Array.isArray(K)?K:[K]})}const q=y[y.length-1];if(q&&q.type==="element"&&q.tagName==="p"){const K=q.children[q.children.length-1];K&&K.type==="text"?K.value+=" ":q.children.push({type:"text",value:" "}),q.children.push(...k)}else y.push(...k);const D={type:"element",tagName:"li",properties:{id:u+"fn-"+S},children:l.wrap(y,!0)};l.patch(b,D),d.push(D)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Io(h),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
254
+ `},{type:"element",tagName:"ol",properties:{},children:l.wrap(d,!0)},{type:"text",value:`
255
+ `}]}}const Fo=(function(l){if(l==null)return I2;if(typeof l=="function")return Jo(l);if(typeof l=="object")return Array.isArray(l)?Y2(l):G2(l);if(typeof l=="string")return V2(l);throw new Error("Expected function, string, or object as test")});function Y2(l){const u=[];let a=-1;for(;++a<l.length;)u[a]=Fo(l[a]);return Jo(o);function o(...s){let f=-1;for(;++f<u.length;)if(u[f].apply(this,s))return!0;return!1}}function G2(l){const u=l;return Jo(a);function a(o){const s=o;let f;for(f in l)if(s[f]!==u[f])return!1;return!0}}function V2(l){return Jo(u);function u(a){return a&&a.type===l}}function Jo(l){return u;function u(a,o,s){return!!(X2(a)&&l.call(this,a,typeof o=="number"?o:void 0,s||void 0))}}function I2(){return!0}function X2(l){return l!==null&&typeof l=="object"&&"type"in l}const v1=[],Q2=!0,Pf=!1,Z2="skip";function S1(l,u,a,o){let s;typeof u=="function"&&typeof a!="function"?(o=a,a=u):s=u;const f=Fo(s),h=o?-1:1;d(l,void 0,[])();function d(g,b,y){const p=g&&typeof g=="object"?g:{};if(typeof p.type=="string"){const v=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(S,"name",{value:"node ("+(g.type+(v?"<"+v+">":""))+")"})}return S;function S(){let v=v1,k,U,q;if((!u||f(g,b,y[y.length-1]||void 0))&&(v=K2(a(g,y)),v[0]===Pf))return v;if("children"in g&&g.children){const D=g;if(D.children&&v[0]!==Z2)for(U=(o?D.children.length:-1)+h,q=y.concat(D);U>-1&&U<D.children.length;){const K=D.children[U];if(k=d(K,U,q)(),k[0]===Pf)return k;U=typeof k[1]=="number"?k[1]:U+h}}return v}}}function K2(l){return Array.isArray(l)?l:typeof l=="number"?[Q2,l]:l==null?v1:[l]}function Th(l,u,a,o){let s,f,h;typeof u=="function"&&typeof a!="function"?(f=void 0,h=u,s=a):(f=u,h=a,s=o),S1(l,f,d,s);function d(g,b){const y=b[b.length-1],p=y?y.children.indexOf(g):void 0;return h(g,p,y)}}const Wf={}.hasOwnProperty,F2={};function J2(l,u){const a=u||F2,o=new Map,s=new Map,f=new Map,h={...z2,...a.handlers},d={all:b,applyData:P2,definitionById:o,footnoteById:s,footnoteCounts:f,footnoteOrder:[],handlers:h,one:g,options:a,patch:$2,wrap:eT};return Th(l,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const p=y.type==="definition"?o:s,S=String(y.identifier).toUpperCase();p.has(S)||p.set(S,y)}}),d;function g(y,p){const S=y.type,v=d.handlers[S];if(Wf.call(d.handlers,S)&&v)return v(d,y,p);if(d.options.passThrough&&d.options.passThrough.includes(S)){if("children"in y){const{children:U,...q}=y,D=Io(q);return D.children=d.all(y),D}return Io(y)}return(d.options.unknownHandler||W2)(d,y,p)}function b(y){const p=[];if("children"in y){const S=y.children;let v=-1;for(;++v<S.length;){const k=d.one(S[v],y);if(k){if(v&&S[v-1].type==="break"&&(!Array.isArray(k)&&k.type==="text"&&(k.value=gy(k.value)),!Array.isArray(k)&&k.type==="element")){const U=k.children[0];U&&U.type==="text"&&(U.value=gy(U.value))}Array.isArray(k)?p.push(...k):p.push(k)}}}return p}}function $2(l,u){l.position&&(u.position=Hv(l))}function P2(l,u){let a=u;if(l&&l.data){const o=l.data.hName,s=l.data.hChildren,f=l.data.hProperties;if(typeof o=="string")if(a.type==="element")a.tagName=o;else{const h="children"in a?a.children:[a];a={type:"element",tagName:o,properties:{},children:h}}a.type==="element"&&f&&Object.assign(a.properties,Io(f)),"children"in a&&a.children&&s!==null&&s!==void 0&&(a.children=s)}return a}function W2(l,u){const a=u.data||{},o="value"in u&&!(Wf.call(a,"hProperties")||Wf.call(a,"hChildren"))?{type:"text",value:u.value}:{type:"element",tagName:"div",properties:{},children:l.all(u)};return l.patch(u,o),l.applyData(u,o)}function eT(l,u){const a=[];let o=-1;for(u&&a.push({type:"text",value:`
256
+ `});++o<l.length;)o&&a.push({type:"text",value:`
257
+ `}),a.push(l[o]);return u&&l.length>0&&a.push({type:"text",value:`
258
+ `}),a}function gy(l){let u=0,a=l.charCodeAt(u);for(;a===9||a===32;)u++,a=l.charCodeAt(u);return l.slice(u)}function yy(l,u){const a=J2(l,u),o=a.one(l,void 0),s=q2(a),f=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return s&&f.children.push({type:"text",value:`
259
+ `},s),f}function tT(l,u){return l&&"run"in l?async function(a,o){const s=yy(a,{file:o,...u});await l.run(s,o)}:function(a,o){return yy(a,{file:o,...l||u})}}function by(l){if(l)throw l}var Mf,xy;function nT(){if(xy)return Mf;xy=1;var l=Object.prototype.hasOwnProperty,u=Object.prototype.toString,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=function(b){return typeof Array.isArray=="function"?Array.isArray(b):u.call(b)==="[object Array]"},f=function(b){if(!b||u.call(b)!=="[object Object]")return!1;var y=l.call(b,"constructor"),p=b.constructor&&b.constructor.prototype&&l.call(b.constructor.prototype,"isPrototypeOf");if(b.constructor&&!y&&!p)return!1;var S;for(S in b);return typeof S>"u"||l.call(b,S)},h=function(b,y){a&&y.name==="__proto__"?a(b,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):b[y.name]=y.newValue},d=function(b,y){if(y==="__proto__")if(l.call(b,y)){if(o)return o(b,y).value}else return;return b[y]};return Mf=function g(){var b,y,p,S,v,k,U=arguments[0],q=1,D=arguments.length,K=!1;for(typeof U=="boolean"&&(K=U,U=arguments[1]||{},q=2),(U==null||typeof U!="object"&&typeof U!="function")&&(U={});q<D;++q)if(b=arguments[q],b!=null)for(y in b)p=d(U,y),S=d(b,y),U!==S&&(K&&S&&(f(S)||(v=s(S)))?(v?(v=!1,k=p&&s(p)?p:[]):k=p&&f(p)?p:{},h(U,{name:y,newValue:g(K,k,S)})):typeof S<"u"&&h(U,{name:y,newValue:S}));return U},Mf}var lT=nT();const Rf=uh(lT);function eh(l){if(typeof l!="object"||l===null)return!1;const u=Object.getPrototypeOf(l);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function iT(){const l=[],u={run:a,use:o};return u;function a(...s){let f=-1;const h=s.pop();if(typeof h!="function")throw new TypeError("Expected function as last argument, not "+h);d(null,...s);function d(g,...b){const y=l[++f];let p=-1;if(g){h(g);return}for(;++p<s.length;)(b[p]===null||b[p]===void 0)&&(b[p]=s[p]);s=b,y?aT(y,d)(...b):h(null,...b)}}function o(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return l.push(s),u}}function aT(l,u){let a;return o;function o(...h){const d=l.length>h.length;let g;d&&h.push(s);try{g=l.apply(this,h)}catch(b){const y=b;if(d&&a)throw y;return s(y)}d||(g&&g.then&&typeof g.then=="function"?g.then(f,s):g instanceof Error?s(g):f(g))}function s(h,...d){a||(a=!0,u(h,...d))}function f(h){s(null,h)}}const Sl={basename:uT,dirname:rT,extname:oT,join:cT,sep:"/"};function uT(l,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');ur(l);let a=0,o=-1,s=l.length,f;if(u===void 0||u.length===0||u.length>l.length){for(;s--;)if(l.codePointAt(s)===47){if(f){a=s+1;break}}else o<0&&(f=!0,o=s+1);return o<0?"":l.slice(a,o)}if(u===l)return"";let h=-1,d=u.length-1;for(;s--;)if(l.codePointAt(s)===47){if(f){a=s+1;break}}else h<0&&(f=!0,h=s+1),d>-1&&(l.codePointAt(s)===u.codePointAt(d--)?d<0&&(o=s):(d=-1,o=h));return a===o?o=h:o<0&&(o=l.length),l.slice(a,o)}function rT(l){if(ur(l),l.length===0)return".";let u=-1,a=l.length,o;for(;--a;)if(l.codePointAt(a)===47){if(o){u=a;break}}else o||(o=!0);return u<0?l.codePointAt(0)===47?"/":".":u===1&&l.codePointAt(0)===47?"//":l.slice(0,u)}function oT(l){ur(l);let u=l.length,a=-1,o=0,s=-1,f=0,h;for(;u--;){const d=l.codePointAt(u);if(d===47){if(h){o=u+1;break}continue}a<0&&(h=!0,a=u+1),d===46?s<0?s=u:f!==1&&(f=1):s>-1&&(f=-1)}return s<0||a<0||f===0||f===1&&s===a-1&&s===o+1?"":l.slice(s,a)}function cT(...l){let u=-1,a;for(;++u<l.length;)ur(l[u]),l[u]&&(a=a===void 0?l[u]:a+"/"+l[u]);return a===void 0?".":sT(a)}function sT(l){ur(l);const u=l.codePointAt(0)===47;let a=fT(l,!u);return a.length===0&&!u&&(a="."),a.length>0&&l.codePointAt(l.length-1)===47&&(a+="/"),u?"/"+a:a}function fT(l,u){let a="",o=0,s=-1,f=0,h=-1,d,g;for(;++h<=l.length;){if(h<l.length)d=l.codePointAt(h);else{if(d===47)break;d=47}if(d===47){if(!(s===h-1||f===1))if(s!==h-1&&f===2){if(a.length<2||o!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(g=a.lastIndexOf("/"),g!==a.length-1){g<0?(a="",o=0):(a=a.slice(0,g),o=a.length-1-a.lastIndexOf("/")),s=h,f=0;continue}}else if(a.length>0){a="",o=0,s=h,f=0;continue}}u&&(a=a.length>0?a+"/..":"..",o=2)}else a.length>0?a+="/"+l.slice(s+1,h):a=l.slice(s+1,h),o=h-s-1;s=h,f=0}else d===46&&f>-1?f++:f=-1}return a}function ur(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}const hT={cwd:dT};function dT(){return"/"}function th(l){return!!(l!==null&&typeof l=="object"&&"href"in l&&l.href&&"protocol"in l&&l.protocol&&l.auth===void 0)}function mT(l){if(typeof l=="string")l=new URL(l);else if(!th(l)){const u=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+l+"`");throw u.code="ERR_INVALID_ARG_TYPE",u}if(l.protocol!=="file:"){const u=new TypeError("The URL must be of scheme file");throw u.code="ERR_INVALID_URL_SCHEME",u}return pT(l)}function pT(l){if(l.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const u=l.pathname;let a=-1;for(;++a<u.length;)if(u.codePointAt(a)===37&&u.codePointAt(a+1)===50){const o=u.codePointAt(a+2);if(o===70||o===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(u)}const Df=["history","path","basename","stem","extname","dirname"];class E1{constructor(u){let a;u?th(u)?a={path:u}:typeof u=="string"||gT(u)?a={value:u}:a=u:a={},this.cwd="cwd"in a?"":hT.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<Df.length;){const f=Df[o];f in a&&a[f]!==void 0&&a[f]!==null&&(this[f]=f==="history"?[...a[f]]:a[f])}let s;for(s in a)Df.includes(s)||(this[s]=a[s])}get basename(){return typeof this.path=="string"?Sl.basename(this.path):void 0}set basename(u){Lf(u,"basename"),jf(u,"basename"),this.path=Sl.join(this.dirname||"",u)}get dirname(){return typeof this.path=="string"?Sl.dirname(this.path):void 0}set dirname(u){vy(this.basename,"dirname"),this.path=Sl.join(u||"",this.basename)}get extname(){return typeof this.path=="string"?Sl.extname(this.path):void 0}set extname(u){if(jf(u,"extname"),vy(this.dirname,"extname"),u){if(u.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(u.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Sl.join(this.dirname,this.stem+(u||""))}get path(){return this.history[this.history.length-1]}set path(u){th(u)&&(u=mT(u)),Lf(u,"path"),this.path!==u&&this.history.push(u)}get stem(){return typeof this.path=="string"?Sl.basename(this.path,this.extname):void 0}set stem(u){Lf(u,"stem"),jf(u,"stem"),this.path=Sl.join(this.dirname||"",u+(this.extname||""))}fail(u,a,o){const s=this.message(u,a,o);throw s.fatal=!0,s}info(u,a,o){const s=this.message(u,a,o);return s.fatal=void 0,s}message(u,a,o){const s=new un(u,a,o);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(u){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(u||void 0).decode(this.value)}}function jf(l,u){if(l&&l.includes(Sl.sep))throw new Error("`"+u+"` cannot be a path: did not expect `"+Sl.sep+"`")}function Lf(l,u){if(!l)throw new Error("`"+u+"` cannot be empty")}function vy(l,u){if(!l)throw new Error("Setting `"+u+"` requires `path` to be set too")}function gT(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const yT=(function(l){const o=this.constructor.prototype,s=o[l],f=function(){return s.apply(f,arguments)};return Object.setPrototypeOf(f,o),f}),bT={}.hasOwnProperty;class _h extends yT{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=iT()}copy(){const u=new _h;let a=-1;for(;++a<this.attachers.length;){const o=this.attachers[a];u.use(...o)}return u.data(Rf(!0,{},this.namespace)),u}data(u,a){return typeof u=="string"?arguments.length===2?(Hf("data",this.frozen),this.namespace[u]=a,this):bT.call(this.namespace,u)&&this.namespace[u]||void 0:u?(Hf("data",this.frozen),this.namespace=u,this):this.namespace}freeze(){if(this.frozen)return this;const u=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const s=a.call(u,...o);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(u){this.freeze();const a=Bo(u),o=this.parser||this.Parser;return Bf("parse",o),o(String(a),a)}process(u,a){const o=this;return this.freeze(),Bf("process",this.parser||this.Parser),Uf("process",this.compiler||this.Compiler),a?s(void 0,a):new Promise(s);function s(f,h){const d=Bo(u),g=o.parse(d);o.run(g,d,function(y,p,S){if(y||!p||!S)return b(y);const v=p,k=o.stringify(v,S);ST(k)?S.value=k:S.result=k,b(y,S)});function b(y,p){y||!p?h(y):f?f(p):a(void 0,p)}}}processSync(u){let a=!1,o;return this.freeze(),Bf("processSync",this.parser||this.Parser),Uf("processSync",this.compiler||this.Compiler),this.process(u,s),Ey("processSync","process",a),o;function s(f,h){a=!0,by(f),o=h}}run(u,a,o){Sy(u),this.freeze();const s=this.transformers;return!o&&typeof a=="function"&&(o=a,a=void 0),o?f(void 0,o):new Promise(f);function f(h,d){const g=Bo(a);s.run(u,g,b);function b(y,p,S){const v=p||u;y?d(y):h?h(v):o(void 0,v,S)}}}runSync(u,a){let o=!1,s;return this.run(u,a,f),Ey("runSync","run",o),s;function f(h,d){by(h),s=d,o=!0}}stringify(u,a){this.freeze();const o=Bo(a),s=this.compiler||this.Compiler;return Uf("stringify",s),Sy(u),s(u,o)}use(u,...a){const o=this.attachers,s=this.namespace;if(Hf("use",this.frozen),u!=null)if(typeof u=="function")g(u,a);else if(typeof u=="object")Array.isArray(u)?d(u):h(u);else throw new TypeError("Expected usable value, not `"+u+"`");return this;function f(b){if(typeof b=="function")g(b,[]);else if(typeof b=="object")if(Array.isArray(b)){const[y,...p]=b;g(y,p)}else h(b);else throw new TypeError("Expected usable value, not `"+b+"`")}function h(b){if(!("plugins"in b)&&!("settings"in b))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(b.plugins),b.settings&&(s.settings=Rf(!0,s.settings,b.settings))}function d(b){let y=-1;if(b!=null)if(Array.isArray(b))for(;++y<b.length;){const p=b[y];f(p)}else throw new TypeError("Expected a list of plugins, not `"+b+"`")}function g(b,y){let p=-1,S=-1;for(;++p<o.length;)if(o[p][0]===b){S=p;break}if(S===-1)o.push([b,...y]);else if(y.length>0){let[v,...k]=y;const U=o[S][1];eh(U)&&eh(v)&&(v=Rf(!0,U,v)),o[S]=[b,v,...k]}}}}const xT=new _h().freeze();function Bf(l,u){if(typeof u!="function")throw new TypeError("Cannot `"+l+"` without `parser`")}function Uf(l,u){if(typeof u!="function")throw new TypeError("Cannot `"+l+"` without `compiler`")}function Hf(l,u){if(u)throw new Error("Cannot call `"+l+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Sy(l){if(!eh(l)||typeof l.type!="string")throw new TypeError("Expected node, got `"+l+"`")}function Ey(l,u,a){if(!a)throw new Error("`"+l+"` finished async. Use `"+u+"` instead")}function Bo(l){return vT(l)?l:new E1(l)}function vT(l){return!!(l&&typeof l=="object"&&"message"in l&&"messages"in l)}function ST(l){return typeof l=="string"||ET(l)}function ET(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const TT="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ty=[],_y={allowDangerousHtml:!0},_T=/^(https?|ircs?|mailto|xmpp)$/i,AT=[{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:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function NT(l){const u=CT(l),a=wT(l);return kT(u.runSync(u.parse(a),a),l)}function CT(l){const u=l.rehypePlugins||Ty,a=l.remarkPlugins||Ty,o=l.remarkRehypeOptions?{...l.remarkRehypeOptions,..._y}:_y;return xT().use(a2).use(a).use(tT,o).use(u)}function wT(l){const u=l.children||"",a=new E1;return typeof u=="string"&&(a.value=u),a}function kT(l,u){const a=u.allowedElements,o=u.allowElement,s=u.components,f=u.disallowedElements,h=u.skipHtml,d=u.unwrapDisallowed,g=u.urlTransform||OT;for(const y of AT)Object.hasOwn(u,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+TT+y.id,void 0);return u.className&&(l={type:"element",tagName:"div",properties:{className:u.className},children:l.type==="root"?l.children:[l]}),Th(l,b),Iv(l,{Fragment:E.Fragment,components:s,ignoreInvalidStyle:!0,jsx:E.jsx,jsxs:E.jsxs,passKeys:!0,passNode:!0});function b(y,p,S){if(y.type==="raw"&&S&&typeof p=="number")return h?S.children.splice(p,1):S.children[p]={type:"text",value:y.value},p;if(y.type==="element"){let v;for(v in kf)if(Object.hasOwn(kf,v)&&Object.hasOwn(y.properties,v)){const k=y.properties[v],U=kf[v];(U===null||U.includes(y.tagName))&&(y.properties[v]=g(String(k||""),v,y))}}if(y.type==="element"){let v=a?!a.includes(y.tagName):f?f.includes(y.tagName):!1;if(!v&&o&&typeof p=="number"&&(v=!o(y,p,S)),v&&S&&typeof p=="number")return d&&y.children?S.children.splice(p,1,...y.children):S.children.splice(p,1),p}}}function OT(l){const u=l.indexOf(":"),a=l.indexOf("?"),o=l.indexOf("#"),s=l.indexOf("/");return u===-1||s!==-1&&u>s||a!==-1&&u>a||o!==-1&&u>o||_T.test(l.slice(0,u))?l:""}function Ay(l,u){const a=String(l);if(typeof u!="string")throw new TypeError("Expected character");let o=0,s=a.indexOf(u);for(;s!==-1;)o++,s=a.indexOf(u,s+u.length);return o}function zT(l){if(typeof l!="string")throw new TypeError("Expected a string");return l.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function MT(l,u,a){const s=Fo((a||{}).ignore||[]),f=RT(u);let h=-1;for(;++h<f.length;)S1(l,"text",d);function d(b,y){let p=-1,S;for(;++p<y.length;){const v=y[p],k=S?S.children:void 0;if(s(v,k?k.indexOf(v):void 0,S))return;S=v}if(S)return g(b,y)}function g(b,y){const p=y[y.length-1],S=f[h][0],v=f[h][1];let k=0;const q=p.children.indexOf(b);let D=!1,K=[];S.lastIndex=0;let X=S.exec(b.value);for(;X;){const he=X.index,Y={index:X.index,input:X.input,stack:[...y,b]};let P=v(...X,Y);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1)S.lastIndex=he+1;else{if(k!==he&&xe({type:"text",value:b.value.slice(k,he)}),Array.isArray(P))for(const ae of P)xe(ae);else P&&xe(P);k=he+X[0].length,D=!0}if(!S.global)break;X=S.exec(b.value)}return D?(k<b.value.length&&xe({type:"text",value:b.value.slice(k)}),p.children.splice(q,1,...K)):K=[b],q+K.length;function xe(he){const Y=K[K.length-1];Y&&Y.type==="text"&&he.type==="text"?Y.value+=he.value:K.push(he)}}}function RT(l){if(!Array.isArray(l))throw new TypeError("Expected find and replace tuple or list of tuples");const u=[],a=!l[0]||Array.isArray(l[0])?l:[l];let o=-1;for(;++o<a.length;){const s=a[o];u.push([DT(s[0]),jT(s[1])])}return u}function DT(l){return typeof l=="string"?new RegExp(zT(l),"g"):l}function jT(l){return typeof l=="function"?l:function(){return l}}const qf="phrasing",Yf=["autolink","link","image","label"];function LT(){return{transforms:[VT],enter:{literalAutolink:UT,literalAutolinkEmail:Gf,literalAutolinkHttp:Gf,literalAutolinkWww:Gf},exit:{literalAutolink:GT,literalAutolinkEmail:YT,literalAutolinkHttp:HT,literalAutolinkWww:qT}}}function BT(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:qf,notInConstruct:Yf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:qf,notInConstruct:Yf},{character:":",before:"[ps]",after:"\\/",inConstruct:qf,notInConstruct:Yf}]}}function UT(l){this.enter({type:"link",title:null,url:"",children:[]},l)}function Gf(l){this.config.enter.autolinkProtocol.call(this,l)}function HT(l){this.config.exit.autolinkProtocol.call(this,l)}function qT(l){this.config.exit.data.call(this,l);const u=this.stack[this.stack.length-1];u.type,u.url="http://"+this.sliceSerialize(l)}function YT(l){this.config.exit.autolinkEmail.call(this,l)}function GT(l){this.exit(l)}function VT(l){MT(l,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,IT],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),XT]],{ignore:["link","linkReference"]})}function IT(l,u,a,o,s){let f="";if(!T1(s)||(/^w/i.test(u)&&(a=u+a,u="",f="http://"),!QT(a)))return!1;const h=ZT(a+o);if(!h[0])return!1;const d={type:"link",title:null,url:f+u+h[0],children:[{type:"text",value:u+h[0]}]};return h[1]?[d,{type:"text",value:h[1]}]:d}function XT(l,u,a,o){return!T1(o,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+u+"@"+a,children:[{type:"text",value:u+"@"+a}]}}function QT(l){const u=l.split(".");return!(u.length<2||u[u.length-1]&&(/_/.test(u[u.length-1])||!/[a-zA-Z\d]/.test(u[u.length-1]))||u[u.length-2]&&(/_/.test(u[u.length-2])||!/[a-zA-Z\d]/.test(u[u.length-2])))}function ZT(l){const u=/[!"&'),.:;<>?\]}]+$/.exec(l);if(!u)return[l,void 0];l=l.slice(0,u.index);let a=u[0],o=a.indexOf(")");const s=Ay(l,"(");let f=Ay(l,")");for(;o!==-1&&s>f;)l+=a.slice(0,o+1),a=a.slice(o+1),o=a.indexOf(")"),f++;return[l,a]}function T1(l,u){const a=l.input.charCodeAt(l.index-1);return(l.index===0||ea(a)||Qo(a))&&(!u||a!==47)}_1.peek=n_;function KT(){this.buffer()}function FT(l){this.enter({type:"footnoteReference",identifier:"",label:""},l)}function JT(){this.buffer()}function $T(l){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},l)}function PT(l){const u=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=rl(this.sliceSerialize(l)).toLowerCase(),a.label=u}function WT(l){this.exit(l)}function e_(l){const u=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=rl(this.sliceSerialize(l)).toLowerCase(),a.label=u}function t_(l){this.exit(l)}function n_(){return"["}function _1(l,u,a,o){const s=a.createTracker(o);let f=s.move("[^");const h=a.enter("footnoteReference"),d=a.enter("reference");return f+=s.move(a.safe(a.associationId(l),{after:"]",before:f})),d(),h(),f+=s.move("]"),f}function l_(){return{enter:{gfmFootnoteCallString:KT,gfmFootnoteCall:FT,gfmFootnoteDefinitionLabelString:JT,gfmFootnoteDefinition:$T},exit:{gfmFootnoteCallString:PT,gfmFootnoteCall:WT,gfmFootnoteDefinitionLabelString:e_,gfmFootnoteDefinition:t_}}}function i_(l){let u=!1;return l&&l.firstLineBlank&&(u=!0),{handlers:{footnoteDefinition:a,footnoteReference:_1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function a(o,s,f,h){const d=f.createTracker(h);let g=d.move("[^");const b=f.enter("footnoteDefinition"),y=f.enter("label");return g+=d.move(f.safe(f.associationId(o),{before:g,after:"]"})),y(),g+=d.move("]:"),o.children&&o.children.length>0&&(d.shift(4),g+=d.move((u?`
260
+ `:" ")+f.indentLines(f.containerFlow(o,d.current()),u?A1:a_))),b(),g}}function a_(l,u,a){return u===0?l:A1(l,u,a)}function A1(l,u,a){return(a?"":" ")+l}const u_=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ah.attention=f_;Ah.peek=h_;function r_(){return{canContainEols:["delete"],enter:{strikethrough:c_},exit:{strikethrough:s_}}}function o_(){return{handlers:{delete:Ah},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:u_}]}}function c_(l){this.enter({type:"delete",children:[],position:void 0},l)}function s_(l){this.exit(l)}function Ah(l,u,a,o){const s=a.createTracker(o),f=a.stack.includes("strikethrough")?"~":"~~",h=a.enter("strikethrough");let d=s.move(f);return d+=a.containerPhrasing(l,{...s.current(),before:d,after:"~"}),d+=s.move(f),h(),d}function f_(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function h_(){return"~"}function d_(l){return l.length}function m_(l,u){const a=u||{},o=(a.align||[]).concat(),s=a.stringLength||d_,f=[],h=[],d=[],g=[];let b=0,y=-1;for(;++y<l.length;){const U=[],q=[];let D=-1;for(l[y].length>b&&(b=l[y].length);++D<l[y].length;){const K=p_(l[y][D]);if(a.alignDelimiters!==!1){const X=s(K);q[D]=X,(g[D]===void 0||X>g[D])&&(g[D]=X)}U.push(K)}h[y]=U,d[y]=q}let p=-1;if(typeof o=="object"&&"length"in o)for(;++p<b;)f[p]=Ny(o[p]);else{const U=Ny(o);for(;++p<b;)f[p]=U}p=-1;const S=[],v=[];for(;++p<b;){const U=f[p];let q="",D="";U===99?(q=":",D=":"):U===108?q=":":U===114&&(D=":");let K=a.alignDelimiters===!1?1:Math.max(1,g[p]-q.length-D.length);const X=q+"-".repeat(K)+D;a.alignDelimiters!==!1&&(K=q.length+K+D.length,K>g[p]&&(g[p]=K),v[p]=K),S[p]=X}h.splice(1,0,S),d.splice(1,0,v),y=-1;const k=[];for(;++y<h.length;){const U=h[y],q=d[y];p=-1;const D=[];for(;++p<b;){const K=U[p]||"";let X="",xe="";if(a.alignDelimiters!==!1){const he=g[p]-(q[p]||0),Y=f[p];Y===114?X=" ".repeat(he):Y===99?he%2?(X=" ".repeat(he/2+.5),xe=" ".repeat(he/2-.5)):(X=" ".repeat(he/2),xe=X):xe=" ".repeat(he)}a.delimiterStart!==!1&&!p&&D.push("|"),a.padding!==!1&&!(a.alignDelimiters===!1&&K==="")&&(a.delimiterStart!==!1||p)&&D.push(" "),a.alignDelimiters!==!1&&D.push(X),D.push(K),a.alignDelimiters!==!1&&D.push(xe),a.padding!==!1&&D.push(" "),(a.delimiterEnd!==!1||p!==b-1)&&D.push("|")}k.push(a.delimiterEnd===!1?D.join("").replace(/ +$/,""):D.join(""))}return k.join(`
261
+ `)}function p_(l){return l==null?"":String(l)}function Ny(l){const u=typeof l=="string"?l.codePointAt(0):0;return u===67||u===99?99:u===76||u===108?108:u===82||u===114?114:0}const g_=Fo(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function y_(l,u,a,o){const s=a.enter("blockquote"),f=a.createTracker(o);f.move("> "),f.shift(2);const h=a.indentLines(a.containerFlow(l,f.current()),b_);return s(),h}function b_(l,u,a){return">"+(a?"":" ")+l}function x_(l,u){return Cy(l,u.inConstruct,!0)&&!Cy(l,u.notInConstruct,!1)}function Cy(l,u,a){if(typeof u=="string"&&(u=[u]),!u||u.length===0)return a;let o=-1;for(;++o<u.length;)if(l.includes(u[o]))return!0;return!1}function wy(l,u,a,o){let s=-1;for(;++s<a.unsafe.length;){const f=a.unsafe[s];if(f.character===`
262
+ `&&!f.before&&!f.after&&x_(a.stack,f))return/[\t ]/.test(o.before)?"":" "}return`\\
263
+ `}function v_(l,u){const a=String(l);let o=a.indexOf(u),s=o,f=0,h=0;if(typeof u!="string")throw new TypeError("Expected substring");for(;o!==-1;)o===s?++f>h&&(h=f):f=1,s=o+u.length,o=a.indexOf(u,s);return h}function S_(l,u){return!!(u.options.fences===!1&&l.value&&!l.lang&&/[^\n\r ]/.test(l.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(l.value))}function E_(l){const u=l.options.fence||"`";if(u!=="`"&&u!=="~")throw new Error("Cannot serialize code with `"+u+"` for `options.fence`, expected `` ` `` or `~`");return u}function T_(l,u,a,o){const s=E_(a),f=l.value||"";if(S_(l,a)){const p=a.enter("codeIndented"),S=a.indentLines(f,__);return p(),S}const h=a.createTracker(o),d=s.repeat(Math.max(v_(f,s)+1,3)),g=a.enter("codeFenced"),b=s==="`"?"GraveAccent":"Tilde";let y=h.move(d);if(l.lang){const p=a.enter(`codeFencedLang${b}`);y+=h.move(a.safe(l.lang,{before:y,after:" ",encode:["`"],...h.current()})),p()}if(l.lang&&l.meta){const p=a.enter(`codeFencedMeta${b}`);y+=h.move(" "),y+=h.move(a.safe(l.meta,{before:y,after:`
264
+ `,encode:["`"],...h.current()})),p()}return y+=h.move(`
265
+ `),f&&(y+=h.move(f+`
266
+ `)),y+=h.move(d),g(),y}function __(l,u,a){return(a?"":" ")+l}function Nh(l){const u=l.options.quote||'"';if(u!=='"'&&u!=="'")throw new Error("Cannot serialize title with `"+u+"` for `options.quote`, expected `\"`, or `'`");return u}function A_(l,u,a,o){const s=Nh(a),f=s==='"'?"Quote":"Apostrophe",h=a.enter("definition");let d=a.enter("label");const g=a.createTracker(o);let b=g.move("[");return b+=g.move(a.safe(a.associationId(l),{before:b,after:"]",...g.current()})),b+=g.move("]: "),d(),!l.url||/[\0- \u007F]/.test(l.url)?(d=a.enter("destinationLiteral"),b+=g.move("<"),b+=g.move(a.safe(l.url,{before:b,after:">",...g.current()})),b+=g.move(">")):(d=a.enter("destinationRaw"),b+=g.move(a.safe(l.url,{before:b,after:l.title?" ":`
267
+ `,...g.current()}))),d(),l.title&&(d=a.enter(`title${f}`),b+=g.move(" "+s),b+=g.move(a.safe(l.title,{before:b,after:s,...g.current()})),b+=g.move(s),d()),h(),b}function N_(l){const u=l.options.emphasis||"*";if(u!=="*"&&u!=="_")throw new Error("Cannot serialize emphasis with `"+u+"` for `options.emphasis`, expected `*`, or `_`");return u}Ch.attention=C_;Ch.peek=w_;function Ch(l,u,a,o){const s=a.enter("phrasing"),f=a.containerPhrasing({type:"root",children:[l]},o);return s(),f}function C_(l,u){return{construct:"emphasis",markers:N_(u)==="*"?["*","_"]:["_","*"],sizes:[1]}}function w_(l,u,a){return a.options.emphasis||"*"}function k_(l){return"&#x"+l.toString(16).toUpperCase()+";"}function O_(l,u){let a=!1;return Th(l,function(o){if("value"in o&&/\r?\n|\r/.test(o.value)||o.type==="break")return a=!0,Pf}),!!((!l.depth||l.depth<3)&&gh(l)&&(u.options.setext||a))}function z_(l,u,a,o){const s=Math.max(Math.min(6,l.depth||1),1),f=a.createTracker(o);if(O_(l,a)){const p=a.enter("headingSetext"),S=a.enter("phrasing"),v=a.containerPhrasing(l,{...f.current(),before:`
268
+ `,after:`
269
+ `});return S(),p(),v+`
270
+ `+(s===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf("\r"),v.lastIndexOf(`
271
+ `))+1))}const h="#".repeat(s),d=a.enter("headingAtx"),g=a.enter("phrasing");f.move(h+" ");let b=a.containerPhrasing(l,{before:"# ",after:`
272
+ `,...f.current()});const y=b.charCodeAt(0);return(y===9||y===32)&&(b=k_(y)+b.slice(1)),b=b?h+" "+b:h,a.options.closeAtx&&(b+=" "+h),g(),d(),b}N1.peek=M_;function N1(l){return l.value||""}function M_(){return"<"}C1.peek=R_;function C1(l,u,a,o){const s=Nh(a),f=s==='"'?"Quote":"Apostrophe",h=a.enter("image");let d=a.enter("label");const g=a.createTracker(o);let b=g.move("![");return b+=g.move(a.safe(l.alt,{before:b,after:"]",...g.current()})),b+=g.move("]("),d(),!l.url&&l.title||/[\0- \u007F]/.test(l.url)?(d=a.enter("destinationLiteral"),b+=g.move("<"),b+=g.move(a.safe(l.url,{before:b,after:">",...g.current()})),b+=g.move(">")):(d=a.enter("destinationRaw"),b+=g.move(a.safe(l.url,{before:b,after:l.title?" ":")",...g.current()}))),d(),l.title&&(d=a.enter(`title${f}`),b+=g.move(" "+s),b+=g.move(a.safe(l.title,{before:b,after:s,...g.current()})),b+=g.move(s),d()),b+=g.move(")"),h(),b}function R_(){return"!"}w1.peek=D_;function w1(l,u,a,o){const s=l.referenceType,f=a.enter("imageReference");let h=a.enter("label");const d=a.createTracker(o);let g=d.move("![");const b=a.safe(l.alt,{before:g,after:"]",...d.current()});g+=d.move(b+"]["),h();const y=a.stack;a.stack=y.filter(function(S){return S!=="phrasing"}),h=a.enter("reference");const p=a.safe(a.associationId(l),{before:g,after:"]",...d.current()});return h(),a.stack=y,f(),s==="full"||!b||b!==p?g+=d.move(p+"]"):s==="shortcut"?g=g.slice(0,-1):g+=d.move("]"),g}function D_(){return"!"}k1.peek=j_;function k1(l,u,a){let o=l.value||"",s="`",f=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(o);)s+="`";for(/[^\n\r ]/.test(o)&&(/^[\n\r ]/.test(o)&&/[\n\r ]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++f<a.unsafe.length;){const h=a.unsafe[f],d=a.compilePattern(h);if(!h.atBreak)continue;let g;for(;g=d.exec(o);){let b=g.index;o.charCodeAt(b)===10&&o.charCodeAt(b-1)===13&&b--,o=o.slice(0,b)+" "+o.slice(g.index+1)}}return s+o+s}function j_(){return"`"}function O1(l,u){const a=gh(l);return!!(!u.options.resourceLink&&l.url&&!l.title&&l.children&&l.children.length===1&&l.children[0].type==="text"&&(a===l.url||"mailto:"+a===l.url)&&/^[a-z][+\-.a-z]+:/i.test(l.url)&&!/[\0- <>\u007F]/.test(l.url))}z1.peek=L_;function z1(l,u,a,o){const s=Nh(a),f=s==='"'?"Quote":"Apostrophe",h=a.createTracker(o);if(O1(l,a)){const y=a.stack;a.stack=y.filter(function(v){return v!=="phrasing"});const p=a.enter("autolink");let S=h.move("<");return S+=h.move(a.containerPhrasing(l,{before:S,after:">",...h.current()})),S+=h.move(">"),p(),a.stack=y,S}const d=a.enter("link");let g=a.enter("label"),b=h.move("[");return b+=h.move(a.containerPhrasing(l,{before:b,after:"](",...h.current()})),b+=h.move("]("),g(),!l.url&&l.title||/[\0- \u007F]/.test(l.url)?(g=a.enter("destinationLiteral"),b+=h.move("<"),b+=h.move(a.safe(l.url,{before:b,after:">",...h.current()})),b+=h.move(">")):(g=a.enter("destinationRaw"),b+=h.move(a.safe(l.url,{before:b,after:l.title?" ":")",...h.current()}))),g(),l.title&&(g=a.enter(`title${f}`),b+=h.move(" "+s),b+=h.move(a.safe(l.title,{before:b,after:s,...h.current()})),b+=h.move(s),g()),b+=h.move(")"),d(),b}function L_(l,u,a){return O1(l,a)?"<":"["}M1.peek=B_;function M1(l,u,a,o){const s=l.referenceType,f=a.enter("linkReference");let h=a.enter("label");const d=a.createTracker(o);let g=d.move("[");const b=a.containerPhrasing(l,{before:g,after:"]",...d.current()});g+=d.move(b+"]["),h();const y=a.stack;a.stack=y.filter(function(S){return S!=="phrasing"}),h=a.enter("reference");const p=a.safe(a.associationId(l),{before:g,after:"]",...d.current()});return h(),a.stack=y,f(),s==="full"||!b||b!==p?g+=d.move(p+"]"):s==="shortcut"?g=g.slice(0,-1):g+=d.move("]"),g}function B_(){return"["}function wh(l){const u=l.options.bullet||"*";if(u!=="*"&&u!=="+"&&u!=="-")throw new Error("Cannot serialize items with `"+u+"` for `options.bullet`, expected `*`, `+`, or `-`");return u}function U_(l){const u=wh(l),a=l.options.bulletOther;if(!a)return u==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===u)throw new Error("Expected `bullet` (`"+u+"`) and `bulletOther` (`"+a+"`) to be different");return a}function H_(l){const u=l.options.bulletOrdered||".";if(u!=="."&&u!==")")throw new Error("Cannot serialize items with `"+u+"` for `options.bulletOrdered`, expected `.` or `)`");return u}function R1(l){const u=l.options.rule||"*";if(u!=="*"&&u!=="-"&&u!=="_")throw new Error("Cannot serialize rules with `"+u+"` for `options.rule`, expected `*`, `-`, or `_`");return u}function q_(l,u,a,o){const s=a.enter("list"),f=a.bulletCurrent;let h=l.ordered?H_(a):wh(a);const d=l.ordered?h==="."?")":".":U_(a);let g=u&&a.bulletLastUsed?h===a.bulletLastUsed:!1;if(!l.ordered){const y=l.children?l.children[0]:void 0;if((h==="*"||h==="-")&&y&&(!y.children||!y.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(g=!0),R1(a)===h&&y){let p=-1;for(;++p<l.children.length;){const S=l.children[p];if(S&&S.type==="listItem"&&S.children&&S.children[0]&&S.children[0].type==="thematicBreak"){g=!0;break}}}}g&&(h=d),a.bulletCurrent=h;const b=a.containerFlow(l,o);return a.bulletLastUsed=h,a.bulletCurrent=f,s(),b}function Y_(l){const u=l.options.listItemIndent||"one";if(u!=="tab"&&u!=="one"&&u!=="mixed")throw new Error("Cannot serialize items with `"+u+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return u}function G_(l,u,a,o){const s=Y_(a);let f=a.bulletCurrent||wh(a);u&&u.type==="list"&&u.ordered&&(f=(typeof u.start=="number"&&u.start>-1?u.start:1)+(a.options.incrementListMarker===!1?0:u.children.indexOf(l))+f);let h=f.length+1;(s==="tab"||s==="mixed"&&(u&&u.type==="list"&&u.spread||l.spread))&&(h=Math.ceil(h/4)*4);const d=a.createTracker(o);d.move(f+" ".repeat(h-f.length)),d.shift(h);const g=a.enter("listItem"),b=a.indentLines(a.containerFlow(l,d.current()),y);return g(),b;function y(p,S,v){return S?(v?"":" ".repeat(h))+p:(v?f:f+" ".repeat(h-f.length))+p}}function V_(l,u,a,o){const s=a.enter("paragraph"),f=a.enter("phrasing"),h=a.containerPhrasing(l,o);return f(),s(),h}function I_(l,u,a,o){if(!l.children.some(function(d){return g_(d)}))return a.containerFlow(l,o);const f=a.enter("phrasing"),h=a.containerPhrasing(l,o);return f(),h}function X_(l){const u=l.options.strong||"*";if(u!=="*"&&u!=="_")throw new Error("Cannot serialize strong with `"+u+"` for `options.strong`, expected `*`, or `_`");return u}kh.attention=Q_;kh.peek=Z_;function kh(l,u,a,o){const s=a.enter("phrasing"),f=a.containerPhrasing({type:"root",children:[l]},o);return s(),f}function Q_(l,u){return{construct:"strong",markers:X_(u)==="*"?["*","_"]:["_","*"],sizes:[2]}}function Z_(l,u,a){return a.options.strong||"*"}function K_(l,u,a,o){const s=u?u.children:[],f=s.indexOf(l);return a.safe(l.value,{...o,afterNode:s[f+1],beforeNode:s[f-1]})}function F_(l){const u=l.options.ruleRepetition||3;if(u<3)throw new Error("Cannot serialize rules with repetition `"+u+"` for `options.ruleRepetition`, expected `3` or more");return u}function J_(l,u,a){const o=(R1(a)+(a.options.ruleSpaces?" ":"")).repeat(F_(a));return a.options.ruleSpaces?o.slice(0,-1):o}const D1={blockquote:y_,break:wy,code:T_,definition:A_,emphasis:Ch,hardBreak:wy,heading:z_,html:N1,image:C1,imageReference:w1,inlineCode:k1,link:z1,linkReference:M1,list:q_,listItem:G_,paragraph:V_,root:I_,strong:kh,text:K_,thematicBreak:J_};function $_(){return{enter:{table:P_,tableData:ky,tableHeader:ky,tableRow:eA},exit:{codeText:tA,table:W_,tableData:Vf,tableHeader:Vf,tableRow:Vf}}}function P_(l){const u=l._align;this.enter({type:"table",align:u.map(function(a){return a==="none"?null:a}),children:[]},l),this.data.inTable=!0}function W_(l){this.exit(l),this.data.inTable=void 0}function eA(l){this.enter({type:"tableRow",children:[]},l)}function Vf(l){this.exit(l)}function ky(l){this.enter({type:"tableCell",children:[]},l)}function tA(l){let u=this.resume();this.data.inTable&&(u=u.replace(/\\([\\|])/g,nA));const a=this.stack[this.stack.length-1];a.type,a.value=u,this.exit(l)}function nA(l,u){return u==="|"?u:l}function lA(l){const u=l||{},a=u.tableCellPadding,o=u.tablePipeAlign,s=u.stringLength,f=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
273
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:S,table:h,tableCell:g,tableRow:d}};function h(v,k,U,q){return b(y(v,U,q),v.align)}function d(v,k,U,q){const D=p(v,U,q),K=b([D]);return K.slice(0,K.indexOf(`
274
+ `))}function g(v,k,U,q){const D=U.enter("tableCell"),K=U.enter("phrasing"),X=U.containerPhrasing(v,{...q,before:f,after:f});return K(),D(),X}function b(v,k){return m_(v,{align:k,alignDelimiters:o,padding:a,stringLength:s})}function y(v,k,U){const q=v.children;let D=-1;const K=[],X=k.enter("table");for(;++D<q.length;)K[D]=p(q[D],k,U);return X(),K}function p(v,k,U){const q=v.children;let D=-1;const K=[],X=k.enter("tableRow");for(;++D<q.length;)K[D]=g(q[D],v,k,U);return X(),K}function S(v,k,U){let q=D1.inlineCode(v,k,U);return U.stack.includes("tableCell")&&(q=q.replace(/\|/g,"\\$&")),q}}function iA(){return{exit:{taskListCheckValueChecked:Oy,taskListCheckValueUnchecked:Oy,paragraph:uA}}}function aA(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:rA}}}function Oy(l){const u=this.stack[this.stack.length-2];u.type,u.checked=l.type==="taskListCheckValueChecked"}function uA(l){const u=this.stack[this.stack.length-2];if(u&&u.type==="listItem"&&typeof u.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const o=a.children[0];if(o&&o.type==="text"){const s=u.children;let f=-1,h;for(;++f<s.length;){const d=s[f];if(d.type==="paragraph"){h=d;break}}h===a&&(o.value=o.value.slice(1),o.value.length===0?a.children.shift():a.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,a.position.start=Object.assign({},o.position.start)))}}this.exit(l)}function rA(l,u,a,o){const s=l.children[0],f=typeof l.checked=="boolean"&&s&&s.type==="paragraph",h="["+(l.checked?"x":" ")+"] ",d=a.createTracker(o);f&&d.move(h);let g=D1.listItem(l,u,a,{...o,...d.current()});return f&&(g=g.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,b)),g;function b(y){return y+h}}function oA(){return[LT(),l_(),r_(),$_(),iA()]}function cA(l){return{extensions:[BT(),i_(l),o_(),lA(l),aA()]}}const sA={tokenize:gA,partial:!0},j1={tokenize:yA,partial:!0},L1={tokenize:bA,partial:!0},B1={tokenize:xA,partial:!0},fA={tokenize:vA,partial:!0},U1={name:"wwwAutolink",tokenize:mA,previous:q1},H1={name:"protocolAutolink",tokenize:pA,previous:Y1},Xl={name:"emailAutolink",tokenize:dA,previous:G1},El={};function hA(){return{text:El}}let $i=48;for(;$i<123;)El[$i]=Xl,$i++,$i===58?$i=65:$i===91&&($i=97);El[43]=Xl;El[45]=Xl;El[46]=Xl;El[95]=Xl;El[72]=[Xl,H1];El[104]=[Xl,H1];El[87]=[Xl,U1];El[119]=[Xl,U1];function dA(l,u,a){const o=this;let s,f;return h;function h(p){return!nh(p)||!G1.call(o,o.previous)||Oh(o.events)?a(p):(l.enter("literalAutolink"),l.enter("literalAutolinkEmail"),d(p))}function d(p){return nh(p)?(l.consume(p),d):p===64?(l.consume(p),g):a(p)}function g(p){return p===46?l.check(fA,y,b)(p):p===45||p===95||an(p)?(f=!0,l.consume(p),g):y(p)}function b(p){return l.consume(p),s=!0,g}function y(p){return f&&s&&dn(o.previous)?(l.exit("literalAutolinkEmail"),l.exit("literalAutolink"),u(p)):a(p)}}function mA(l,u,a){const o=this;return s;function s(h){return h!==87&&h!==119||!q1.call(o,o.previous)||Oh(o.events)?a(h):(l.enter("literalAutolink"),l.enter("literalAutolinkWww"),l.check(sA,l.attempt(j1,l.attempt(L1,f),a),a)(h))}function f(h){return l.exit("literalAutolinkWww"),l.exit("literalAutolink"),u(h)}}function pA(l,u,a){const o=this;let s="",f=!1;return h;function h(p){return(p===72||p===104)&&Y1.call(o,o.previous)&&!Oh(o.events)?(l.enter("literalAutolink"),l.enter("literalAutolinkHttp"),s+=String.fromCodePoint(p),l.consume(p),d):a(p)}function d(p){if(dn(p)&&s.length<5)return s+=String.fromCodePoint(p),l.consume(p),d;if(p===58){const S=s.toLowerCase();if(S==="http"||S==="https")return l.consume(p),g}return a(p)}function g(p){return p===47?(l.consume(p),f?b:(f=!0,g)):a(p)}function b(p){return p===null||qo(p)||mt(p)||ea(p)||Qo(p)?a(p):l.attempt(j1,l.attempt(L1,y),a)(p)}function y(p){return l.exit("literalAutolinkHttp"),l.exit("literalAutolink"),u(p)}}function gA(l,u,a){let o=0;return s;function s(h){return(h===87||h===119)&&o<3?(o++,l.consume(h),s):h===46&&o===3?(l.consume(h),f):a(h)}function f(h){return h===null?a(h):u(h)}}function yA(l,u,a){let o,s,f;return h;function h(b){return b===46||b===95?l.check(B1,g,d)(b):b===null||mt(b)||ea(b)||b!==45&&Qo(b)?g(b):(f=!0,l.consume(b),h)}function d(b){return b===95?o=!0:(s=o,o=void 0),l.consume(b),h}function g(b){return s||o||!f?a(b):u(b)}}function bA(l,u){let a=0,o=0;return s;function s(h){return h===40?(a++,l.consume(h),s):h===41&&o<a?f(h):h===33||h===34||h===38||h===39||h===41||h===42||h===44||h===46||h===58||h===59||h===60||h===63||h===93||h===95||h===126?l.check(B1,u,f)(h):h===null||mt(h)||ea(h)?u(h):(l.consume(h),s)}function f(h){return h===41&&o++,l.consume(h),s}}function xA(l,u,a){return o;function o(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(l.consume(d),o):d===38?(l.consume(d),f):d===93?(l.consume(d),s):d===60||d===null||mt(d)||ea(d)?u(d):a(d)}function s(d){return d===null||d===40||d===91||mt(d)||ea(d)?u(d):o(d)}function f(d){return dn(d)?h(d):a(d)}function h(d){return d===59?(l.consume(d),o):dn(d)?(l.consume(d),h):a(d)}}function vA(l,u,a){return o;function o(f){return l.consume(f),s}function s(f){return an(f)?a(f):u(f)}}function q1(l){return l===null||l===40||l===42||l===95||l===91||l===93||l===126||mt(l)}function Y1(l){return!dn(l)}function G1(l){return!(l===47||nh(l))}function nh(l){return l===43||l===45||l===46||l===95||an(l)}function Oh(l){let u=l.length,a=!1;for(;u--;){const o=l[u][1];if((o.type==="labelLink"||o.type==="labelImage")&&!o._balanced){a=!0;break}if(o._gfmAutolinkLiteralWalkedInto){a=!1;break}}return l.length>0&&!a&&(l[l.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const SA={tokenize:kA,partial:!0};function EA(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:NA,continuation:{tokenize:CA},exit:wA}},text:{91:{name:"gfmFootnoteCall",tokenize:AA},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:TA,resolveTo:_A}}}}function TA(l,u,a){const o=this;let s=o.events.length;const f=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let h;for(;s--;){const g=o.events[s][1];if(g.type==="labelImage"){h=g;break}if(g.type==="gfmFootnoteCall"||g.type==="labelLink"||g.type==="label"||g.type==="image"||g.type==="link")break}return d;function d(g){if(!h||!h._balanced)return a(g);const b=rl(o.sliceSerialize({start:h.end,end:o.now()}));return b.codePointAt(0)!==94||!f.includes(b.slice(1))?a(g):(l.enter("gfmFootnoteCallLabelMarker"),l.consume(g),l.exit("gfmFootnoteCallLabelMarker"),u(g))}}function _A(l,u){let a=l.length;for(;a--;)if(l[a][1].type==="labelImage"&&l[a][0]==="enter"){l[a][1];break}l[a+1][1].type="data",l[a+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},l[a+3][1].start),end:Object.assign({},l[l.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},l[a+3][1].end),end:Object.assign({},l[a+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const f={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},l[l.length-1][1].start)},h={type:"chunkString",contentType:"string",start:Object.assign({},f.start),end:Object.assign({},f.end)},d=[l[a+1],l[a+2],["enter",o,u],l[a+3],l[a+4],["enter",s,u],["exit",s,u],["enter",f,u],["enter",h,u],["exit",h,u],["exit",f,u],l[l.length-2],l[l.length-1],["exit",o,u]];return l.splice(a,l.length-a+1,...d),l}function AA(l,u,a){const o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let f=0,h;return d;function d(p){return l.enter("gfmFootnoteCall"),l.enter("gfmFootnoteCallLabelMarker"),l.consume(p),l.exit("gfmFootnoteCallLabelMarker"),g}function g(p){return p!==94?a(p):(l.enter("gfmFootnoteCallMarker"),l.consume(p),l.exit("gfmFootnoteCallMarker"),l.enter("gfmFootnoteCallString"),l.enter("chunkString").contentType="string",b)}function b(p){if(f>999||p===93&&!h||p===null||p===91||mt(p))return a(p);if(p===93){l.exit("chunkString");const S=l.exit("gfmFootnoteCallString");return s.includes(rl(o.sliceSerialize(S)))?(l.enter("gfmFootnoteCallLabelMarker"),l.consume(p),l.exit("gfmFootnoteCallLabelMarker"),l.exit("gfmFootnoteCall"),u):a(p)}return mt(p)||(h=!0),f++,l.consume(p),p===92?y:b}function y(p){return p===91||p===92||p===93?(l.consume(p),f++,b):b(p)}}function NA(l,u,a){const o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let f,h=0,d;return g;function g(k){return l.enter("gfmFootnoteDefinition")._container=!0,l.enter("gfmFootnoteDefinitionLabel"),l.enter("gfmFootnoteDefinitionLabelMarker"),l.consume(k),l.exit("gfmFootnoteDefinitionLabelMarker"),b}function b(k){return k===94?(l.enter("gfmFootnoteDefinitionMarker"),l.consume(k),l.exit("gfmFootnoteDefinitionMarker"),l.enter("gfmFootnoteDefinitionLabelString"),l.enter("chunkString").contentType="string",y):a(k)}function y(k){if(h>999||k===93&&!d||k===null||k===91||mt(k))return a(k);if(k===93){l.exit("chunkString");const U=l.exit("gfmFootnoteDefinitionLabelString");return f=rl(o.sliceSerialize(U)),l.enter("gfmFootnoteDefinitionLabelMarker"),l.consume(k),l.exit("gfmFootnoteDefinitionLabelMarker"),l.exit("gfmFootnoteDefinitionLabel"),S}return mt(k)||(d=!0),h++,l.consume(k),k===92?p:y}function p(k){return k===91||k===92||k===93?(l.consume(k),h++,y):y(k)}function S(k){return k===58?(l.enter("definitionMarker"),l.consume(k),l.exit("definitionMarker"),s.includes(f)||s.push(f),Je(l,v,"gfmFootnoteDefinitionWhitespace")):a(k)}function v(k){return u(k)}}function CA(l,u,a){return l.check(ar,u,l.attempt(SA,u,a))}function wA(l){l.exit("gfmFootnoteDefinition")}function kA(l,u,a){const o=this;return Je(l,s,"gfmFootnoteDefinitionIndent",5);function s(f){const h=o.events[o.events.length-1];return h&&h[1].type==="gfmFootnoteDefinitionIndent"&&h[2].sliceSerialize(h[1],!0).length===4?u(f):a(f)}}function OA(l){let a=(l||{}).singleTilde;const o={name:"strikethrough",tokenize:f,resolveAll:s};return a==null&&(a=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function s(h,d){let g=-1;for(;++g<h.length;)if(h[g][0]==="enter"&&h[g][1].type==="strikethroughSequenceTemporary"&&h[g][1]._close){let b=g;for(;b--;)if(h[b][0]==="exit"&&h[b][1].type==="strikethroughSequenceTemporary"&&h[b][1]._open&&h[g][1].end.offset-h[g][1].start.offset===h[b][1].end.offset-h[b][1].start.offset){h[g][1].type="strikethroughSequence",h[b][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},h[b][1].start),end:Object.assign({},h[g][1].end)},p={type:"strikethroughText",start:Object.assign({},h[b][1].end),end:Object.assign({},h[g][1].start)},S=[["enter",y,d],["enter",h[b][1],d],["exit",h[b][1],d],["enter",p,d]],v=d.parser.constructs.insideSpan.null;v&&ul(S,S.length,0,Zo(v,h.slice(b+1,g),d)),ul(S,S.length,0,[["exit",p,d],["enter",h[g][1],d],["exit",h[g][1],d],["exit",y,d]]),ul(h,b-1,g-b+3,S),g=b+S.length-2;break}}for(g=-1;++g<h.length;)h[g][1].type==="strikethroughSequenceTemporary"&&(h[g][1].type="data");return h}function f(h,d,g){const b=this.previous,y=this.events;let p=0;return S;function S(k){return b===126&&y[y.length-1][1].type!=="characterEscape"?g(k):(h.enter("strikethroughSequenceTemporary"),v(k))}function v(k){const U=Go(b);if(k===126)return p>1?g(k):(h.consume(k),p++,v);if(p<2&&!a)return g(k);const q=h.exit("strikethroughSequenceTemporary"),D=Go(k);return q._open=!D||D===2&&!!U,q._close=!U||U===2&&!!D,d(k)}}}class zA{constructor(){this.map=[],this.index=new Map}add(u,a,o){MA(this,u,a,o)}consume(u){if(this.map.sort(function(f,h){return f[0]-h[0]}),this.map.length===0)return;let a=this.map.length;const o=[];for(;a>0;)a-=1,o.push(u.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),u.length=this.map[a][0];o.push(u.slice()),u.length=0;let s=o.pop();for(;s;){for(const f of s)u.push(f);s=o.pop()}this.map.length=0,this.index.clear()}}function MA(l,u,a,o){if(a===0&&o.length===0)return;const s=l.index.get(u);if(s){s[1]+=a,s[2].push(...o);return}const f=[u,a,o];l.map.push(f),l.index.set(u,f)}function RA(l,u){let a=!1;const o=[];for(;u<l.length;){const s=l[u];if(a){if(s[0]==="enter")s[1].type==="tableContent"&&o.push(l[u+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(l[u-1][1].type==="tableDelimiterMarker"){const f=o.length-1;o[f]=o[f]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(a=!0);u+=1}return o}function DA(){return{flow:{null:{name:"table",tokenize:jA,resolveAll:LA}}}}function jA(l,u,a){const o=this;let s=0,f=0,h;return d;function d(B){let W=o.events.length-1;for(;W>-1;){const{type:de}=o.events[W][1];if(de==="lineEnding"||de==="linePrefix")W--;else break}const ce=W>-1?o.events[W][1].type:null,Re=ce==="tableHead"||ce==="tableRow"?Y:g;return Re===Y&&o.parser.lazy[o.now().line]?a(B):Re(B)}function g(B){return l.enter("tableHead"),l.enter("tableRow"),b(B)}function b(B){return B===124||(h=!0,f+=1),y(B)}function y(B){return B===null?a(B):Te(B)?f>1?(f=0,o.interrupt=!0,l.exit("tableRow"),l.enter("lineEnding"),l.consume(B),l.exit("lineEnding"),v):a(B):Ye(B)?Je(l,y,"whitespace")(B):(f+=1,h&&(h=!1,s+=1),B===124?(l.enter("tableCellDivider"),l.consume(B),l.exit("tableCellDivider"),h=!0,y):(l.enter("data"),p(B)))}function p(B){return B===null||B===124||mt(B)?(l.exit("data"),y(B)):(l.consume(B),B===92?S:p)}function S(B){return B===92||B===124?(l.consume(B),p):p(B)}function v(B){return o.interrupt=!1,o.parser.lazy[o.now().line]?a(B):(l.enter("tableDelimiterRow"),h=!1,Ye(B)?Je(l,k,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):k(B))}function k(B){return B===45||B===58?q(B):B===124?(h=!0,l.enter("tableCellDivider"),l.consume(B),l.exit("tableCellDivider"),U):he(B)}function U(B){return Ye(B)?Je(l,q,"whitespace")(B):q(B)}function q(B){return B===58?(f+=1,h=!0,l.enter("tableDelimiterMarker"),l.consume(B),l.exit("tableDelimiterMarker"),D):B===45?(f+=1,D(B)):B===null||Te(B)?xe(B):he(B)}function D(B){return B===45?(l.enter("tableDelimiterFiller"),K(B)):he(B)}function K(B){return B===45?(l.consume(B),K):B===58?(h=!0,l.exit("tableDelimiterFiller"),l.enter("tableDelimiterMarker"),l.consume(B),l.exit("tableDelimiterMarker"),X):(l.exit("tableDelimiterFiller"),X(B))}function X(B){return Ye(B)?Je(l,xe,"whitespace")(B):xe(B)}function xe(B){return B===124?k(B):B===null||Te(B)?!h||s!==f?he(B):(l.exit("tableDelimiterRow"),l.exit("tableHead"),u(B)):he(B)}function he(B){return a(B)}function Y(B){return l.enter("tableRow"),P(B)}function P(B){return B===124?(l.enter("tableCellDivider"),l.consume(B),l.exit("tableCellDivider"),P):B===null||Te(B)?(l.exit("tableRow"),u(B)):Ye(B)?Je(l,P,"whitespace")(B):(l.enter("data"),ae(B))}function ae(B){return B===null||B===124||mt(B)?(l.exit("data"),P(B)):(l.consume(B),B===92?He:ae)}function He(B){return B===92||B===124?(l.consume(B),ae):ae(B)}}function LA(l,u){let a=-1,o=!0,s=0,f=[0,0,0,0],h=[0,0,0,0],d=!1,g=0,b,y,p;const S=new zA;for(;++a<l.length;){const v=l[a],k=v[1];v[0]==="enter"?k.type==="tableHead"?(d=!1,g!==0&&(zy(S,u,g,b,y),y=void 0,g=0),b={type:"table",start:Object.assign({},k.start),end:Object.assign({},k.end)},S.add(a,0,[["enter",b,u]])):k.type==="tableRow"||k.type==="tableDelimiterRow"?(o=!0,p=void 0,f=[0,0,0,0],h=[0,a+1,0,0],d&&(d=!1,y={type:"tableBody",start:Object.assign({},k.start),end:Object.assign({},k.end)},S.add(a,0,[["enter",y,u]])),s=k.type==="tableDelimiterRow"?2:y?3:1):s&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")?(o=!1,h[2]===0&&(f[1]!==0&&(h[0]=h[1],p=Uo(S,u,f,s,void 0,p),f=[0,0,0,0]),h[2]=a)):k.type==="tableCellDivider"&&(o?o=!1:(f[1]!==0&&(h[0]=h[1],p=Uo(S,u,f,s,void 0,p)),f=h,h=[f[1],a,0,0])):k.type==="tableHead"?(d=!0,g=a):k.type==="tableRow"||k.type==="tableDelimiterRow"?(g=a,f[1]!==0?(h[0]=h[1],p=Uo(S,u,f,s,a,p)):h[1]!==0&&(p=Uo(S,u,h,s,a,p)),s=0):s&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")&&(h[3]=a)}for(g!==0&&zy(S,u,g,b,y),S.consume(u.events),a=-1;++a<u.events.length;){const v=u.events[a];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=RA(u.events,a))}return l}function Uo(l,u,a,o,s,f){const h=o===1?"tableHeader":o===2?"tableDelimiter":"tableData",d="tableContent";a[0]!==0&&(f.end=Object.assign({},Ka(u.events,a[0])),l.add(a[0],0,[["exit",f,u]]));const g=Ka(u.events,a[1]);if(f={type:h,start:Object.assign({},g),end:Object.assign({},g)},l.add(a[1],0,[["enter",f,u]]),a[2]!==0){const b=Ka(u.events,a[2]),y=Ka(u.events,a[3]),p={type:d,start:Object.assign({},b),end:Object.assign({},y)};if(l.add(a[2],0,[["enter",p,u]]),o!==2){const S=u.events[a[2]],v=u.events[a[3]];if(S[1].end=Object.assign({},v[1].end),S[1].type="chunkText",S[1].contentType="text",a[3]>a[2]+1){const k=a[2]+1,U=a[3]-a[2]-1;l.add(k,U,[])}}l.add(a[3]+1,0,[["exit",p,u]])}return s!==void 0&&(f.end=Object.assign({},Ka(u.events,s)),l.add(s,0,[["exit",f,u]]),f=void 0),f}function zy(l,u,a,o,s){const f=[],h=Ka(u.events,a);s&&(s.end=Object.assign({},h),f.push(["exit",s,u])),o.end=Object.assign({},h),f.push(["exit",o,u]),l.add(a+1,0,f)}function Ka(l,u){const a=l[u],o=a[0]==="enter"?"start":"end";return a[1][o]}const BA={name:"tasklistCheck",tokenize:HA};function UA(){return{text:{91:BA}}}function HA(l,u,a){const o=this;return s;function s(g){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?a(g):(l.enter("taskListCheck"),l.enter("taskListCheckMarker"),l.consume(g),l.exit("taskListCheckMarker"),f)}function f(g){return mt(g)?(l.enter("taskListCheckValueUnchecked"),l.consume(g),l.exit("taskListCheckValueUnchecked"),h):g===88||g===120?(l.enter("taskListCheckValueChecked"),l.consume(g),l.exit("taskListCheckValueChecked"),h):a(g)}function h(g){return g===93?(l.enter("taskListCheckMarker"),l.consume(g),l.exit("taskListCheckMarker"),l.exit("taskListCheck"),d):a(g)}function d(g){return Te(g)?u(g):Ye(g)?l.check({tokenize:qA},u,a)(g):a(g)}}function qA(l,u,a){return Je(l,o,"whitespace");function o(s){return s===null?a(s):u(s)}}function YA(l){return e1([hA(),EA(),OA(l),DA(),UA()])}const GA={};function VA(l){const u=this,a=l||GA,o=u.data(),s=o.micromarkExtensions||(o.micromarkExtensions=[]),f=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),h=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);s.push(YA(a)),f.push(oA()),h.push(cA(a))}var If,My;function IA(){if(My)return If;My=1;function l(A){return A instanceof Map?A.clear=A.delete=A.set=function(){throw new Error("map is read-only")}:A instanceof Set&&(A.add=A.clear=A.delete=function(){throw new Error("set is read-only")}),Object.freeze(A),Object.getOwnPropertyNames(A).forEach(I=>{const le=A[I],we=typeof le;(we==="object"||we==="function")&&!Object.isFrozen(le)&&l(le)}),A}class u{constructor(I){I.data===void 0&&(I.data={}),this.data=I.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(A){return A.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function o(A,...I){const le=Object.create(null);for(const we in A)le[we]=A[we];return I.forEach(function(we){for(const ft in we)le[ft]=we[ft]}),le}const s="</span>",f=A=>!!A.scope,h=(A,{prefix:I})=>{if(A.startsWith("language:"))return A.replace("language:","language-");if(A.includes(".")){const le=A.split(".");return[`${I}${le.shift()}`,...le.map((we,ft)=>`${we}${"_".repeat(ft+1)}`)].join(" ")}return`${I}${A}`};class d{constructor(I,le){this.buffer="",this.classPrefix=le.classPrefix,I.walk(this)}addText(I){this.buffer+=a(I)}openNode(I){if(!f(I))return;const le=h(I.scope,{prefix:this.classPrefix});this.span(le)}closeNode(I){f(I)&&(this.buffer+=s)}value(){return this.buffer}span(I){this.buffer+=`<span class="${I}">`}}const g=(A={})=>{const I={children:[]};return Object.assign(I,A),I};class b{constructor(){this.rootNode=g(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(I){this.top.children.push(I)}openNode(I){const le=g({scope:I});this.add(le),this.stack.push(le)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(I){return this.constructor._walk(I,this.rootNode)}static _walk(I,le){return typeof le=="string"?I.addText(le):le.children&&(I.openNode(le),le.children.forEach(we=>this._walk(I,we)),I.closeNode(le)),I}static _collapse(I){typeof I!="string"&&I.children&&(I.children.every(le=>typeof le=="string")?I.children=[I.children.join("")]:I.children.forEach(le=>{b._collapse(le)}))}}class y extends b{constructor(I){super(),this.options=I}addText(I){I!==""&&this.add(I)}startScope(I){this.openNode(I)}endScope(){this.closeNode()}__addSublanguage(I,le){const we=I.root;le&&(we.scope=`language:${le}`),this.add(we)}toHTML(){return new d(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function p(A){return A?typeof A=="string"?A:A.source:null}function S(A){return U("(?=",A,")")}function v(A){return U("(?:",A,")*")}function k(A){return U("(?:",A,")?")}function U(...A){return A.map(le=>p(le)).join("")}function q(A){const I=A[A.length-1];return typeof I=="object"&&I.constructor===Object?(A.splice(A.length-1,1),I):{}}function D(...A){return"("+(q(A).capture?"":"?:")+A.map(we=>p(we)).join("|")+")"}function K(A){return new RegExp(A.toString()+"|").exec("").length-1}function X(A,I){const le=A&&A.exec(I);return le&&le.index===0}const xe=new RegExp(D(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function he(A,{joinWith:I}){let le=0;return A.map(we=>{le+=1;const ft=le;let Ze=p(we),se="";for(;Ze.length>0;){const te=xe.exec(Ze);if(!te){se+=Ze;break}se+=Ze.substring(0,te.index),Ze=Ze.substring(te.index+te[0].length),te[0][0]==="\\"&&te[1]?se+="\\"+String(Number(te[1])+ft):(se+=te[0],(te[0]==="("||/^\(\?[<']/.test(te[0]))&&le++)}return se}).map(we=>`(${we})`).join(I)}const Y=/\b\B/,P="[a-zA-Z]\\w*",ae="[a-zA-Z_]\\w*",He="\\b\\d+(\\.\\d+)?",B="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",W="\\b(0b[01]+)",ce="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Re=(A={})=>{const I=/^#![ ]*\//;return A.binary&&(A.begin=U(I,/.*\b/,A.binary,/\b.*/)),o({scope:"meta",begin:I,end:/$/,relevance:0,"on:begin":(le,we)=>{le.index!==0&&we.ignoreMatch()}},A)},de={begin:"\\\\[\\s\\S]",relevance:0},J={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},Q={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},oe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ie=function(A,I,le={}){const we=o({scope:"comment",begin:A,end:I,contains:[]},le);we.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ft=D("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return we.contains.push({begin:U(/[ ]+/,"(",ft,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),we},Ne=ie("//","$"),_=ie("/\\*","\\*/"),nt=ie("#","$"),yt={scope:"number",begin:He,relevance:0},N={scope:"number",begin:B,relevance:0},w={scope:"number",begin:W,relevance:0},Z={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]},ue={scope:"title",begin:P,relevance:0},ge={scope:"title",begin:ae,relevance:0},Me={begin:"\\.\\s*"+ae,relevance:0};var De=Object.freeze({__proto__:null,APOS_STRING_MODE:J,BACKSLASH_ESCAPE:de,BINARY_NUMBER_MODE:w,BINARY_NUMBER_RE:W,COMMENT:ie,C_BLOCK_COMMENT_MODE:_,C_LINE_COMMENT_MODE:Ne,C_NUMBER_MODE:N,C_NUMBER_RE:B,END_SAME_AS_BEGIN:function(A){return Object.assign(A,{"on:begin":(I,le)=>{le.data._beginMatch=I[1]},"on:end":(I,le)=>{le.data._beginMatch!==I[1]&&le.ignoreMatch()}})},HASH_COMMENT_MODE:nt,IDENT_RE:P,MATCH_NOTHING_RE:Y,METHOD_GUARD:Me,NUMBER_MODE:yt,NUMBER_RE:He,PHRASAL_WORDS_MODE:oe,QUOTE_STRING_MODE:Q,REGEXP_MODE:Z,RE_STARTERS_RE:ce,SHEBANG:Re,TITLE_MODE:ue,UNDERSCORE_IDENT_RE:ae,UNDERSCORE_TITLE_MODE:ge});function me(A,I){A.input[A.index-1]==="."&&I.ignoreMatch()}function Ee(A,I){A.className!==void 0&&(A.scope=A.className,delete A.className)}function An(A,I){I&&A.beginKeywords&&(A.begin="\\b("+A.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",A.__beforeBegin=me,A.keywords=A.keywords||A.beginKeywords,delete A.beginKeywords,A.relevance===void 0&&(A.relevance=0))}function wi(A,I){Array.isArray(A.illegal)&&(A.illegal=D(...A.illegal))}function ol(A,I){if(A.match){if(A.begin||A.end)throw new Error("begin & end are not supported with match");A.begin=A.match,delete A.match}}function rn(A,I){A.relevance===void 0&&(A.relevance=1)}const vt=(A,I)=>{if(!A.beforeMatch)return;if(A.starts)throw new Error("beforeMatch cannot be used with starts");const le=Object.assign({},A);Object.keys(A).forEach(we=>{delete A[we]}),A.keywords=le.keywords,A.begin=U(le.beforeMatch,S(le.begin)),A.starts={relevance:0,contains:[Object.assign(le,{endsParent:!0})]},A.relevance=0,delete le.beforeMatch},$e=["of","and","for","in","not","or","if","then","parent","list","value"],mn="keyword";function Kn(A,I,le=mn){const we=Object.create(null);return typeof A=="string"?ft(le,A.split(" ")):Array.isArray(A)?ft(le,A):Object.keys(A).forEach(function(Ze){Object.assign(we,Kn(A[Ze],I,Ze))}),we;function ft(Ze,se){I&&(se=se.map(te=>te.toLowerCase())),se.forEach(function(te){const Ae=te.split("|");we[Ae[0]]=[Ze,Nn(Ae[0],Ae[1])]})}}function Nn(A,I){return I?Number(I):Ql(A)?0:1}function Ql(A){return $e.includes(A.toLowerCase())}const Tl={},nn=A=>{console.error(A)},Zl=(A,...I)=>{console.log(`WARN: ${A}`,...I)},Cn=(A,I)=>{Tl[`${A}/${I}`]||(console.log(`Deprecated as of ${A}. ${I}`),Tl[`${A}/${I}`]=!0)},H=new Error;function ee(A,I,{key:le}){let we=0;const ft=A[le],Ze={},se={};for(let te=1;te<=I.length;te++)se[te+we]=ft[te],Ze[te+we]=!0,we+=K(I[te-1]);A[le]=se,A[le]._emit=Ze,A[le]._multi=!0}function Se(A){if(Array.isArray(A.begin)){if(A.skip||A.excludeBegin||A.returnBegin)throw nn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),H;if(typeof A.beginScope!="object"||A.beginScope===null)throw nn("beginScope must be object"),H;ee(A,A.begin,{key:"beginScope"}),A.begin=he(A.begin,{joinWith:""})}}function Ce(A){if(Array.isArray(A.end)){if(A.skip||A.excludeEnd||A.returnEnd)throw nn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),H;if(typeof A.endScope!="object"||A.endScope===null)throw nn("endScope must be object"),H;ee(A,A.end,{key:"endScope"}),A.end=he(A.end,{joinWith:""})}}function Ct(A){A.scope&&typeof A.scope=="object"&&A.scope!==null&&(A.beginScope=A.scope,delete A.scope)}function it(A){Ct(A),typeof A.beginScope=="string"&&(A.beginScope={_wrap:A.beginScope}),typeof A.endScope=="string"&&(A.endScope={_wrap:A.endScope}),Se(A),Ce(A)}function Bt(A){function I(se,te){return new RegExp(p(se),"m"+(A.case_insensitive?"i":"")+(A.unicodeRegex?"u":"")+(te?"g":""))}class le{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(te,Ae){Ae.position=this.position++,this.matchIndexes[this.matchAt]=Ae,this.regexes.push([Ae,te]),this.matchAt+=K(te)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const te=this.regexes.map(Ae=>Ae[1]);this.matcherRe=I(he(te,{joinWith:"|"}),!0),this.lastIndex=0}exec(te){this.matcherRe.lastIndex=this.lastIndex;const Ae=this.matcherRe.exec(te);if(!Ae)return null;const kt=Ae.findIndex((cl,Fl)=>Fl>0&&cl!==void 0),St=this.matchIndexes[kt];return Ae.splice(0,kt),Object.assign(Ae,St)}}class we{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(te){if(this.multiRegexes[te])return this.multiRegexes[te];const Ae=new le;return this.rules.slice(te).forEach(([kt,St])=>Ae.addRule(kt,St)),Ae.compile(),this.multiRegexes[te]=Ae,Ae}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(te,Ae){this.rules.push([te,Ae]),Ae.type==="begin"&&this.count++}exec(te){const Ae=this.getMatcher(this.regexIndex);Ae.lastIndex=this.lastIndex;let kt=Ae.exec(te);if(this.resumingScanAtSamePosition()&&!(kt&&kt.index===this.lastIndex)){const St=this.getMatcher(0);St.lastIndex=this.lastIndex+1,kt=St.exec(te)}return kt&&(this.regexIndex+=kt.position+1,this.regexIndex===this.count&&this.considerAll()),kt}}function ft(se){const te=new we;return se.contains.forEach(Ae=>te.addRule(Ae.begin,{rule:Ae,type:"begin"})),se.terminatorEnd&&te.addRule(se.terminatorEnd,{type:"end"}),se.illegal&&te.addRule(se.illegal,{type:"illegal"}),te}function Ze(se,te){const Ae=se;if(se.isCompiled)return Ae;[Ee,ol,it,vt].forEach(St=>St(se,te)),A.compilerExtensions.forEach(St=>St(se,te)),se.__beforeBegin=null,[An,wi,rn].forEach(St=>St(se,te)),se.isCompiled=!0;let kt=null;return typeof se.keywords=="object"&&se.keywords.$pattern&&(se.keywords=Object.assign({},se.keywords),kt=se.keywords.$pattern,delete se.keywords.$pattern),kt=kt||/\w+/,se.keywords&&(se.keywords=Kn(se.keywords,A.case_insensitive)),Ae.keywordPatternRe=I(kt,!0),te&&(se.begin||(se.begin=/\B|\b/),Ae.beginRe=I(Ae.begin),!se.end&&!se.endsWithParent&&(se.end=/\B|\b/),se.end&&(Ae.endRe=I(Ae.end)),Ae.terminatorEnd=p(Ae.end)||"",se.endsWithParent&&te.terminatorEnd&&(Ae.terminatorEnd+=(se.end?"|":"")+te.terminatorEnd)),se.illegal&&(Ae.illegalRe=I(se.illegal)),se.contains||(se.contains=[]),se.contains=[].concat(...se.contains.map(function(St){return Fn(St==="self"?se:St)})),se.contains.forEach(function(St){Ze(St,Ae)}),se.starts&&Ze(se.starts,te),Ae.matcher=ft(Ae),Ae}if(A.compilerExtensions||(A.compilerExtensions=[]),A.contains&&A.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return A.classNameAliases=o(A.classNameAliases||{}),Ze(A)}function Qt(A){return A?A.endsWithParent||Qt(A.starts):!1}function Fn(A){return A.variants&&!A.cachedVariants&&(A.cachedVariants=A.variants.map(function(I){return o(A,{variants:null},I)})),A.cachedVariants?A.cachedVariants:Qt(A)?o(A,{starts:A.starts?o(A.starts):null}):Object.isFrozen(A)?o(A):A}var Jn="11.12.0";class _l extends Error{constructor(I,le){super(I),this.name="HTMLInjectionError",this.html=le}}const Kl=a,wt=o,qt=Symbol("nomatch"),$n=7,on=function(A){const I=Object.create(null),le=Object.create(null),we=[];let ft=!0;const Ze="Could not find the language '{}', did you forget to load/include a language module?",se={disableAutodetect:!0,name:"Plain text",contains:[]};let te={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:y};function Ae(F){return te.noHighlightRe.test(F)}function kt(F){let ye=F.className+" ";ye+=F.parentNode?F.parentNode.className:"";const Ge=te.languageDetectRe.exec(ye);if(Ge){const ct=Wn(Ge[1]);return ct||(Zl(Ze.replace("{}",Ge[1])),Zl("Falling back to no-highlight mode for this block.",F)),ct?Ge[1]:"no-highlight"}return ye.split(/\s+/).find(ct=>Ae(ct)||Wn(ct))}function St(F,ye,Ge){let ct="",At="";typeof ye=="object"?(ct=F,Ge=ye.ignoreIllegals,At=ye.language):(Cn("10.7.0","highlight(lang, code, ...args) has been deprecated."),Cn("10.7.0",`Please use highlight(code, options) instead.
275
+ https://github.com/highlightjs/highlight.js/issues/2277`),At=F,ct=ye),Ge===void 0&&(Ge=!0);const gn={code:ct,language:At};pn("before:highlight",gn);const yn=gn.result?gn.result:cl(gn.language,gn.code,Ge);return yn.code=gn.code,pn("after:highlight",yn),yn}function cl(F,ye,Ge,ct){const At=Object.create(null);function gn(re,be){return re.keywords[be]}function yn(){if(!Oe.keywords){zt.addText(Pe);return}let re=0;Oe.keywordPatternRe.lastIndex=0;let be=Oe.keywordPatternRe.exec(Pe),je="";for(;be;){je+=Pe.substring(re,be.index);const We=Un.case_insensitive?be[0].toLowerCase():be[0],at=gn(Oe,We);if(at){const[wn,pr]=at;if(zt.addText(je),je="",At[We]=(At[We]||0)+1,At[We]<=$n&&(Ol+=pr),wn.startsWith("_"))je+=be[0];else{const nu=Un.classNameAliases[wn]||wn;Gt(be[0],nu)}}else je+=be[0];re=Oe.keywordPatternRe.lastIndex,be=Oe.keywordPatternRe.exec(Pe)}je+=Pe.substring(re),zt.addText(je)}function Nl(){if(Pe==="")return;let re=null;if(typeof Oe.subLanguage=="string"){if(!I[Oe.subLanguage]){zt.addText(Pe);return}re=cl(Oe.subLanguage,Pe,!0,Ke[Oe.subLanguage]),Ke[Oe.subLanguage]=re._top}else re=Jl(Pe,Oe.subLanguage.length?Oe.subLanguage:null);Oe.relevance>0&&(Ol+=re.relevance),zt.__addSublanguage(re._emitter,re.language)}function Yt(){Oe.subLanguage!=null?Nl():yn(),Pe=""}function Gt(re,be){re!==""&&(zt.startScope(be),zt.addText(re),zt.endScope())}function Cl(re,be){let je=1;const We=be.length-1;for(;je<=We;){if(!re._emit[je]){je++;continue}const at=Un.classNameAliases[re[je]]||re[je],wn=be[je];at?Gt(wn,at):(Pe=wn,yn(),Pe=""),je++}}function Wl(re,be){return re.scope&&typeof re.scope=="string"&&zt.openNode(Un.classNameAliases[re.scope]||re.scope),re.beginScope&&(re.beginScope._wrap?(Gt(Pe,Un.classNameAliases[re.beginScope._wrap]||re.beginScope._wrap),Pe=""):re.beginScope._multi&&(Cl(re.beginScope,be),Pe="")),Oe=Object.create(re,{parent:{value:Oe}}),Oe}function wl(re,be,je){let We=X(re.endRe,je);if(We){if(re["on:end"]){const at=new u(re);re["on:end"](be,at),at.isMatchIgnored&&(We=!1)}if(We){for(;re.endsParent&&re.parent;)re=re.parent;return re}}if(re.endsWithParent)return wl(re.parent,be,je)}function Ot(re){return Oe.matcher.regexIndex===0?(Pe+=re[0],1):(aa=!0,0)}function fr(re){const be=re[0],je=re.rule,We=new u(je),at=[je.__beforeBegin,je["on:begin"]];for(const wn of at)if(wn&&(wn(re,We),We.isMatchIgnored))return Ot(be);return je.skip?Pe+=be:(je.excludeBegin&&(Pe+=be),Yt(),!je.returnBegin&&!je.excludeBegin&&(Pe=be)),Wl(je,re),je.returnBegin?0:be.length}function hr(re){const be=re[0],je=ye.substring(re.index),We=wl(Oe,re,je);if(!We)return qt;const at=Oe;Oe.endScope&&Oe.endScope._wrap?(Yt(),Gt(be,Oe.endScope._wrap)):Oe.endScope&&Oe.endScope._multi?(Yt(),Cl(Oe.endScope,re)):at.skip?Pe+=be:(at.returnEnd||at.excludeEnd||(Pe+=be),Yt(),at.excludeEnd&&(Pe=be));do Oe.scope&&zt.closeNode(),!Oe.skip&&!Oe.subLanguage&&(Ol+=Oe.relevance),Oe=Oe.parent;while(Oe!==We.parent);return We.starts&&Wl(We.starts,re),at.returnEnd?0:be.length}function dr(){const re=[];for(let be=Oe;be!==Un;be=be.parent)be.scope&&re.unshift(be.scope);re.forEach(be=>zt.openNode(be))}let Bn={};function kl(re,be){const je=be&&be[0];if(Pe+=re,je==null)return Yt(),0;if(Bn.type==="begin"&&be.type==="end"&&Bn.index===be.index&&je===""){if(Pe+=ye.slice(be.index,be.index+1),!ft){const We=new Error(`0 width match regex (${F})`);throw We.languageName=F,We.badRule=Bn.rule,We}return 1}if(Bn=be,be.type==="begin")return fr(be);if(be.type==="illegal"&&!Ge){const We=new Error('Illegal lexeme "'+je+'" for mode "'+(Oe.scope||"<unnamed>")+'"');throw We.mode=Oe,We}else if(be.type==="end"){const We=hr(be);if(We!==qt)return We}if(be.type==="illegal"&&je==="")return be.index===ye.length||(Pe+=`
276
+ `),1;if(Kt>1e5&&Kt>be.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Pe+=je,je.length}const Un=Wn(F);if(!Un)throw nn(Ze.replace("{}",F)),new Error('Unknown language: "'+F+'"');const mr=Bt(Un);let ia="",Oe=ct||mr;const Ke={},zt=new te.__emitter(te);dr();let Pe="",Ol=0,Zt=0,Kt=0,aa=!1;try{if(Un.__emitTokens)Un.__emitTokens(ye,zt);else{for(Oe.matcher.considerAll();;){Kt++,aa?aa=!1:Oe.matcher.considerAll(),Oe.matcher.lastIndex=Zt;const re=Oe.matcher.exec(ye);if(!re)break;const be=ye.substring(Zt,re.index),je=kl(be,re);Zt=re.index+je}kl(ye.substring(Zt))}return zt.finalize(),ia=zt.toHTML(),{language:F,value:ia,relevance:Ol,illegal:!1,_emitter:zt,_top:Oe}}catch(re){if(re.message&&re.message.includes("Illegal"))return{language:F,value:Kl(ye),illegal:!0,relevance:0,_illegalBy:{message:re.message,index:Zt,context:ye.slice(Zt-100,Zt+100),mode:re.mode,resultSoFar:ia},_emitter:zt};if(ft)return{language:F,value:Kl(ye),illegal:!1,relevance:0,errorRaised:re,_emitter:zt,_top:Oe};throw re}}function Fl(F){const ye={value:Kl(F),illegal:!1,relevance:0,_top:se,_emitter:new te.__emitter(te)};return ye._emitter.addText(F),ye}function Jl(F,ye){ye=ye||te.languages||Object.keys(I);const Ge=Fl(F),ct=ye.filter(Wn).filter(la).map(Yt=>cl(Yt,F,!1));ct.unshift(Ge);const At=ct.sort((Yt,Gt)=>{if(Yt.relevance!==Gt.relevance)return Gt.relevance-Yt.relevance;if(Yt.language&&Gt.language){if(Wn(Yt.language).supersetOf===Gt.language)return 1;if(Wn(Gt.language).supersetOf===Yt.language)return-1}return 0}),[gn,yn]=At,Nl=gn;return Nl.secondBest=yn,Nl}function Al(F,ye,Ge){const ct=ye&&le[ye]||Ge;F.classList.add("hljs"),F.classList.add(`language-${ct}`)}function $l(F){let ye=null;const Ge=kt(F);if(Ae(Ge))return;if(pn("before:highlightElement",{el:F,language:Ge}),F.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",F);return}if(F.children.length>0&&(te.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(F)),te.throwUnescapedHTML))throw new _l("One of your code blocks includes unescaped HTML.",F.innerHTML);ye=F;const ct=ye.textContent,At=Ge?St(ct,{language:Ge,ignoreIllegals:!0}):Jl(ct);F.innerHTML=At.value,F.dataset.highlighted="yes",Al(F,Ge,At.language),F.result={language:At.language,re:At.relevance,relevance:At.relevance},At.secondBest&&(F.secondBest={language:At.secondBest.language,relevance:At.secondBest.relevance}),pn("after:highlightElement",{el:F,result:At,text:ct})}function ki(F){te=wt(te,F)}const rr=()=>{Pl(),Cn("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function $o(){Pl(),Cn("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Wa=!1;function Pl(){function F(){Pl()}if(document.readyState==="loading"){Wa||window.addEventListener("DOMContentLoaded",F,!1),Wa=!0;return}document.querySelectorAll(te.cssSelector).forEach($l)}function Oi(F,ye){let Ge=null;try{Ge=ye(A)}catch(ct){if(nn("Language definition for '{}' could not be registered.".replace("{}",F)),ft)nn(ct);else throw ct;Ge=se}Ge.name||(Ge.name=F),I[F]=Ge,Ge.rawDefinition=ye.bind(null,A),Ge.aliases&&eu(Ge.aliases,{languageName:F})}function Po(F){delete I[F];for(const ye of Object.keys(le))le[ye]===F&&delete le[ye]}function or(){return Object.keys(I)}function Wn(F){return F=(F||"").toLowerCase(),I[F]||I[le[F]]}function eu(F,{languageName:ye}){typeof F=="string"&&(F=[F]),F.forEach(Ge=>{le[Ge.toLowerCase()]=ye})}function la(F){const ye=Wn(F);return ye&&!ye.disableAutodetect}function tu(F){F["before:highlightBlock"]&&!F["before:highlightElement"]&&(F["before:highlightElement"]=ye=>{F["before:highlightBlock"](Object.assign({block:ye.el},ye))}),F["after:highlightBlock"]&&!F["after:highlightElement"]&&(F["after:highlightElement"]=ye=>{F["after:highlightBlock"](Object.assign({block:ye.el},ye))})}function cr(F){tu(F),we.push(F)}function sr(F){const ye=we.indexOf(F);ye!==-1&&we.splice(ye,1)}function pn(F,ye){const Ge=F;we.forEach(function(ct){ct[Ge]&&ct[Ge](ye)})}function Ut(F){return Cn("10.7.0","highlightBlock will be removed entirely in v12.0"),Cn("10.7.0","Please use highlightElement now."),$l(F)}Object.assign(A,{highlight:St,highlightAuto:Jl,highlightAll:Pl,highlightElement:$l,highlightBlock:Ut,configure:ki,initHighlighting:rr,initHighlightingOnLoad:$o,registerLanguage:Oi,unregisterLanguage:Po,listLanguages:or,getLanguage:Wn,registerAliases:eu,autoDetection:la,inherit:wt,addPlugin:cr,removePlugin:sr}),A.debugMode=function(){ft=!1},A.safeMode=function(){ft=!0},A.versionString=Jn,A.regex={concat:U,lookahead:S,either:D,optional:k,anyNumberOfTimes:v};for(const F in De)typeof De[F]=="object"&&l(De[F]);return Object.assign(A,De),A},Pn=on({});return Pn.newInstance=()=>on({}),If=Pn,Pn.HighlightJS=Pn,Pn.default=Pn,If}var XA=IA();const Fa=uh(XA),QA="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",ZA={scope:"number",match:QA,relevance:0};function KA(l){const u={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],s={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:o},contains:[u,a,l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,s,ZA,l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function FA(l){const u=l.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],d={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},g={className:"meta",begin:/^(>>>|\.\.\.) /},b={className:"subst",begin:/\{/,end:/\}/,keywords:d,illegal:/#/},y={begin:/\{\{/,relevance:0},p={className:"string",contains:[l.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE,g],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,g],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE,g,y,b]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,g,y,b]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[l.BACKSLASH_ESCAPE,y,b]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[l.BACKSLASH_ESCAPE,y,b]},l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},S="[0-9](_?[0-9])*",v=`(\\b(${S}))?\\.(${S})|\\b(${S})\\.`,k=`\\b|${o.join("|")}`,U={className:"number",relevance:0,variants:[{begin:`(\\b(${S})|(${v}))[eE][+-]?(${S})[jJ]?(?=${k})`},{begin:`(${v})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${k})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${k})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${k})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${k})`},{begin:`\\b(${S})[jJ](?=${k})`}]},q={className:"comment",begin:u.lookahead(/# type:/),end:/$/,keywords:d,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},D={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",g,U,p,l.HASH_COMMENT_MODE]}]};return b.contains=[p,U,g],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:d,illegal:/(<\/|\?)|=>/,contains:[g,U,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},p,q,l.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[D]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[U,D,p]}]}}const Xo="[A-Za-z$_][0-9A-Za-z$_]*",V1=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],I1=["true","false","null","undefined","NaN","Infinity"],X1=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Q1=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Z1=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],K1=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],F1=[].concat(Z1,X1,Q1);function JA(l){const u=l.regex,a=(ie,{after:Ne})=>{const _="</"+ie[0].slice(1);return ie.input.indexOf(_,Ne)!==-1},o=Xo,s={begin:"<>",end:"</>"},f=/<[A-Za-z0-9\\._:-]+\s*\/>/,h={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ie,Ne)=>{const _=ie[0].length+ie.index,nt=ie.input[_];if(nt==="<"||nt===","){Ne.ignoreMatch();return}nt===">"&&(a(ie,{after:_})||Ne.ignoreMatch());let yt;const N=ie.input.substring(_);if(yt=N.match(/^\s*=/)){Ne.ignoreMatch();return}if((yt=N.match(/^\s+extends\s+/))&&yt.index===0){Ne.ignoreMatch();return}}},d={$pattern:Xo,keyword:V1,literal:I1,built_in:F1,"variable.language":K1},g="[0-9](_?[0-9])*",b=`\\.(${g})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${y})((${b})|\\.)?|(${b}))[eE][+-]?(${g})\\b`},{begin:`\\b(${y})\\b((${b})\\b|\\.)?|(${b})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},S={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},v={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,S],subLanguage:"xml"}},k={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,S],subLanguage:"css"}},U={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,S],subLanguage:"graphql"}},q={className:"string",begin:"`",end:"`",contains:[l.BACKSLASH_ESCAPE,S]},K={className:"comment",variants:[l.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),l.C_BLOCK_COMMENT_MODE,l.C_LINE_COMMENT_MODE]},X=[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,v,k,U,q,{match:/\$\d+/},p];S.contains=X.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(X)});const xe=[].concat(K,S.contains),he=xe.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(xe)}]),Y={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:he},P={variants:[{match:[/class/,/\s+/,o,/\s+/,/extends/,/\s+/,u.concat(o,"(",u.concat(/\./,o),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,o],scope:{1:"keyword",3:"title.class"}}]},ae={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...X1,...Q1]}},He={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,o,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Y],illegal:/%/},W={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ce(ie){return u.concat("(?!",ie.join("|"),")")}const Re={match:u.concat(/\b/,ce([...Z1,"super","import","await"].map(ie=>`${ie}\\s*\\(`)),o,u.lookahead(/\s*\(/)),className:"title.function",relevance:0},de={begin:u.concat(/\./,u.lookahead(u.concat(o,/(?![0-9A-Za-z$_(])/))),end:o,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},J={match:[/get|set/,/\s+/,o,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Y]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",oe={match:[/const|var|let/,/\s+/,o,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:he,CLASS_REFERENCE:ae},illegal:/#(?![$_A-Za-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),He,l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,v,k,U,q,K,{match:/\$\d+/},p,ae,{scope:"attr",match:o+u.lookahead(":"),relevance:0},oe,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[K,l.REGEXP_MODE,{className:"function",begin:Q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:he}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:f},{begin:h.begin,"on:begin":h.isTrulyOpeningTag,end:h.end}],subLanguage:"xml",contains:[{begin:h.begin,end:h.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Y,l.inherit(l.TITLE_MODE,{begin:o,className:"title.function"})]},{match:/\.\.\./,relevance:0},de,{match:"\\$"+o,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Y]},Re,W,P,J,{match:/\$[(.]/}]}}function $A(l){const u=l.regex,a=JA(l),o=Xo,s=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],f={begin:[/namespace/,/\s+/,l.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},h={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:s},contains:[a.exports.CLASS_REFERENCE]},d={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},g=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],b={$pattern:Xo,keyword:V1.concat(g),literal:I1,built_in:F1.concat(s),"variable.language":K1},y={className:"meta",begin:"@"+o},p=(U,q,D)=>{const K=U.contains.findIndex(X=>X.label===q);if(K===-1)throw new Error("can not find mode to replace");U.contains.splice(K,1,D)};Object.assign(a.keywords,b),a.exports.PARAMS_CONTAINS.push(y);const S=a.contains.find(U=>U.scope==="attr"),v=Object.assign({},S,{match:u.concat(o,u.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,S,v]),a.contains=a.contains.concat([y,f,h,v]),p(a,"shebang",l.SHEBANG()),p(a,"use_strict",d);const k=a.contains.find(U=>U.label==="func.def");return k.relevance=0,Object.assign(a,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),a}function PA(l){const u="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},s={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},f={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},h={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[l.BACKSLASH_ESCAPE,s]},d=l.inherit(h,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),S={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},v={end:",",endsWithParent:!0,excludeEnd:!0,keywords:u,relevance:0},k={begin:/\{/,end:/\}/,contains:[v],illegal:"\\n",relevance:0},U={begin:"\\[",end:"\\]",contains:[v],illegal:"\\n",relevance:0},q=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+l.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+l.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},l.HASH_COMMENT_MODE,{beginKeywords:u,keywords:{literal:u}},S,{className:"number",begin:l.C_NUMBER_RE+"\\b",relevance:0},k,U,f,h],D=[...q];return D.pop(),D.push(d),v.contains=D,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:q}}function tn(...l){return l.filter(Boolean).join(" ")}const WA={GET:"bg-info/15 text-info",POST:"bg-ok/15 text-ok",PUT:"bg-warn/15 text-warn",PATCH:"bg-warn/15 text-warn",DELETE:"bg-bad/15 text-bad"};function J1({method:l}){return E.jsx("span",{className:tn("inline-flex min-w-12 justify-center rounded-md px-1.5 py-0.5 font-mono text-[11px] font-semibold",WA[l]??"bg-surface-2 text-muted"),children:l})}const Ry={verified:{label:"Verified",className:"bg-ok/15 text-ok"},unverified:{label:"Unverified",className:"bg-warn/15 text-warn"},failed:{label:"Failed",className:"bg-bad/15 text-bad"},discovered:{label:"Discovered",className:"bg-surface-2 text-muted"}};function lh({status:l,title:u}){const a=Ry[l]??Ry.discovered;return E.jsx(Il,{className:a.className,title:u,children:a.label})}const eN={High:"bg-ok/15 text-ok",Medium:"bg-warn/15 text-warn",Low:"bg-bad/15 text-bad"};function $1({confidence:l}){return E.jsxs(Il,{className:eN[l],children:[l," confidence"]})}function Il({children:l,className:u,title:a}){return E.jsx("span",{title:a,className:tn("inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-medium whitespace-nowrap",u??"bg-surface-2 text-muted"),children:l})}function lr({children:l,className:u}){return E.jsx("div",{className:tn("rounded-2xl border border-line bg-surface shadow-[var(--shadow-card)]",u),children:l})}const tN={primary:"bg-accent text-white hover:brightness-110 dark:text-[#0a0f20]",secondary:"border border-line bg-surface hover:bg-surface-2",ghost:"hover:bg-surface-2 text-muted hover:text-fg",danger:"border border-bad/40 text-bad hover:bg-bad/10"};function nN({variant:l="secondary",className:u,...a}){return E.jsx("button",{type:"button",...a,className:tn("inline-flex items-center justify-center gap-1.5 rounded-xl px-3 py-1.5 text-sm font-medium transition disabled:cursor-not-allowed disabled:opacity-50",tN[l],u)})}function ta({icon:l,title:u,children:a}){return E.jsxs("div",{className:"flex flex-col items-center gap-2 px-6 py-12 text-center",children:[l&&E.jsx("div",{className:"text-muted",children:l}),E.jsx("p",{className:"font-medium",children:u}),a&&E.jsx("div",{className:"max-w-md text-sm text-muted",children:a})]})}function lN({tabs:l,value:u,onChange:a,className:o}){return E.jsx("div",{role:"tablist",className:tn("flex gap-1 overflow-x-auto border-b border-line",o),children:l.map(s=>E.jsxs("button",{role:"tab",type:"button","aria-selected":u===s.id,onClick:()=>a(s.id),className:tn("-mb-px flex shrink-0 items-center gap-1.5 border-b-2 px-3 py-2 text-sm font-medium transition",u===s.id?"border-accent text-fg":"border-transparent text-muted hover:text-fg"),children:[s.label,s.count!==void 0&&E.jsx("span",{className:"rounded-full bg-surface-2 px-1.5 text-[11px] text-muted",children:s.count})]},s.id))})}const Ja=(l,u)=>`${l} ${u}${l===1?"":"s"}`;function iN(l){return l<1024?`${l} B`:l<1024*1024?`${(l/1024).toFixed(1)} KB`:`${(l/1024/1024).toFixed(1)} MB`}function Dy({text:l}){const u=l.split(/`([^`\n]+)`/);return E.jsx(E.Fragment,{children:u.map((a,o)=>o%2?E.jsx("code",{className:"rounded bg-surface-2 px-1 py-px font-mono text-[0.85em] not-italic",children:a},o):a)})}Fa.registerLanguage("python",FA);Fa.registerLanguage("typescript",$A);Fa.registerLanguage("json",KA);Fa.registerLanguage("yaml",PA);function aN(l){return l.endsWith(".py")?"python":l.endsWith(".ts")?"typescript":l.endsWith(".json")?"json":l.endsWith(".yaml")||l.endsWith(".yml")?"yaml":"plaintext"}function uN({text:l,label:u="Copy"}){const[a,o]=_t.useState(!1),s=async()=>{try{await navigator.clipboard.writeText(l),o(!0),window.setTimeout(()=>o(!1),1500)}catch{}};return E.jsxs("button",{type:"button",onClick:()=>void s(),className:"inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs text-muted transition hover:bg-surface-2 hover:text-fg","aria-label":a?"Copied":u,children:[a?E.jsx(Kx,{className:"size-3.5 text-ok"}):E.jsx(Px,{className:"size-3.5"}),E.jsx("span",{"aria-live":"polite",children:a?"Copied":u})]})}function rN({code:l,language:u,title:a,className:o,maxHeight:s="32rem"}){const f=_t.useMemo(()=>{if(u==="plaintext"||!Fa.getLanguage(u))return null;try{return Fa.highlight(l,{language:u}).value}catch{return null}},[l,u]);return E.jsxs("div",{className:tn("overflow-hidden rounded-xl border border-line bg-surface-2/50",o),children:[E.jsxs("div",{className:"flex items-center justify-between border-b border-line px-3 py-1.5",children:[E.jsx("span",{className:"truncate font-mono text-xs text-muted",children:a??u}),E.jsx(uN,{text:l})]}),E.jsx("pre",{className:"overflow-auto p-3 font-mono text-[12.5px] leading-relaxed",style:{maxHeight:s},children:f!==null?E.jsx("code",{className:"hljs",dangerouslySetInnerHTML:{__html:f}}):E.jsx("code",{children:l})})]})}const oN={pan:"PAN number",gstin:"GST number",aadhaar:"Aadhaar number",bank_account:"bank account number",card:"card number",upi:"UPI ID",email:"email address",phone:"phone number",date_of_birth:"date of birth",account_holder:"account holder's name"},cN=l=>oN[l]??l;function sN({exposure:l}){return E.jsxs(Il,{className:l.severity==="high"?"bg-bad/15 text-bad":"bg-warn/15 text-warn",title:`Returns ${l.kinds.join(", ")}${l.open?" without a login":""}`,children:[E.jsx(ch,{className:"size-3"})," Personal data"]})}function fN({exposure:l}){const u=l.severity==="high";return E.jsxs("section",{"aria-label":"Personal data exposed",className:tn("rounded-xl border p-3 sm:p-4",u?"border-bad/40 bg-bad/5":"border-warn/40 bg-warn/5"),children:[E.jsxs("h4",{className:tn("flex items-center gap-2 text-sm font-semibold",u?"text-bad":"text-warn"),children:[E.jsx(ch,{className:"size-4","aria-hidden":!0}),"Personal data ",l.open?"exposed without a login":"in this endpoint's replies"]}),E.jsx("p",{className:"mt-1 text-sm text-muted",children:"Ghost API hid these values: they are not stored, shown or exported. Examples are masked."}),E.jsx("div",{className:"mt-3 overflow-x-auto",children:E.jsxs("table",{className:"w-full text-sm",children:[E.jsx("thead",{className:"text-left text-xs text-muted",children:E.jsxs("tr",{children:[E.jsx("th",{className:"py-1.5 pr-3 font-medium",children:"Field"}),E.jsx("th",{className:"py-1.5 pr-3 font-medium",children:"What"}),E.jsx("th",{className:"py-1.5 pr-3 font-medium",children:"Seen"}),E.jsx("th",{className:"py-1.5 font-medium",children:"Example"})]})}),E.jsx("tbody",{children:l.fields.map(a=>E.jsxs("tr",{className:"border-t border-line/70 align-top",children:[E.jsx("td",{className:"py-1.5 pr-3 font-mono text-xs break-all",children:a.path}),E.jsxs("td",{className:"py-1.5 pr-3",children:[cN(a.kind),a.severity==="high"&&E.jsx("span",{className:"ml-1 text-xs text-bad",children:"(sensitive)"})]}),E.jsx("td",{className:"py-1.5 pr-3 tabular-nums",children:a.count}),E.jsx("td",{className:"py-1.5 font-mono text-xs text-muted",children:a.example})]},`${a.path}-${a.kind}`))})]})}),E.jsx("p",{className:"mt-3 text-xs text-muted",children:"If this is your site, stop returning these fields or require a login. If it isn't, don't collect or share them, and consider telling the site owner privately."})]})}function hN(l,u){const a=l===1?"1 endpoint":`${l} endpoints`;return u?`${a} ${l===1?"exposes":"expose"} personal data without a login`:`${a} ${l===1?"returns":"return"} personal data`}function dN({endpoints:l}){const u=l.map(f=>f.exposure).filter(f=>!!f);if(!u.length)return null;const a=u.filter(f=>f.open),o=[...new Set((a.length?a:u).flatMap(f=>f.kinds))].sort(),s=u.some(f=>f.severity==="high");return E.jsxs("div",{role:"alert",className:tn("flex items-start gap-3 rounded-xl border px-4 py-3 text-sm",s?"border-bad/40 bg-bad/10":"border-warn/40 bg-warn/10"),children:[E.jsx(ch,{className:tn("mt-0.5 size-5 shrink-0",s?"text-bad":"text-warn"),"aria-hidden":!0}),E.jsxs("div",{children:[E.jsxs("p",{className:"font-semibold",children:[hN(a.length||u.length,a.length>0),": ",o.join(", ")]}),E.jsx("p",{className:"mt-0.5 text-muted",children:'Ghost API hid these values. Open an endpoint marked "Personal data" to see which fields.'})]})]})}function ih(l){var a;if((a=l.anyOf)!=null&&a.length)return l.anyOf.map(ih).join(" | ");const u=Array.isArray(l.type)?l.type.join(" | "):l.type??"any";return u==="array"&&l.items?`array of ${ih(l.items)}`:u}function ah(l){if(l.properties)return l;if(l.items)return ah(l.items);for(const u of l.anyOf??[]){const a=ah(u);if(a)return a}return null}function P1({name:l,schema:u,required:a,depth:o}){const s=ah(u),[f,h]=_t.useState(o<1),d=Object.entries((s==null?void 0:s.properties)??{});return E.jsxs("li",{children:[E.jsxs("div",{className:"flex items-center gap-1.5 py-0.5",style:{paddingLeft:`${o*14}px`},children:[d.length?E.jsx("button",{type:"button",onClick:()=>h(!f),"aria-expanded":f,"aria-label":`${f?"Collapse":"Expand"} ${l}`,className:"rounded p-0.5 text-muted hover:bg-surface-2 hover:text-fg",children:E.jsx(Uy,{className:tn("size-3.5 transition",f&&"rotate-90")})}):E.jsx("span",{className:"w-[18px]"}),E.jsx("span",{className:"font-mono text-[13px]",children:l}),!a&&E.jsx("span",{className:"text-xs text-muted",children:"optional"}),E.jsx("span",{className:"ml-auto truncate pl-2 font-mono text-xs text-accent",children:ih(u)})]}),f&&d.length>0&&E.jsx("ul",{children:d.map(([g,b])=>{var y;return E.jsx(P1,{name:g,schema:b,required:((y=s==null?void 0:s.required)==null?void 0:y.includes(g))??!1,depth:o+1},g)})})]})}function jy({schema:l,rootName:u="response"}){return E.jsx("ul",{className:"rounded-lg border border-line bg-surface-2/40 p-2","aria-label":`${u} fields`,children:E.jsx(P1,{name:u,schema:l,required:!0,depth:0})})}function mN({endpoint:l,selected:u,onSelect:a,compact:o}){const s=l;return E.jsxs("button",{type:"button",onClick:a,"aria-pressed":u,className:tn("w-full rounded-xl border bg-surface p-3 text-left transition",u?"border-accent ring-2 ring-accent/20":"border-line hover:border-accent/50"),children:[E.jsxs("div",{className:"flex items-center gap-2",children:[E.jsx(J1,{method:s.method}),E.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-sm",title:s.path,children:s.path})]}),!o&&E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"mt-2 flex flex-wrap items-center gap-1.5",children:[E.jsx(lh,{status:s.status,title:s.status_note}),E.jsx($1,{confidence:s.confidence}),s.pagination&&E.jsxs(Il,{children:[E.jsx(iv,{className:"size-3"})," ",s.pagination.style]}),s.auth_type&&E.jsxs(Il,{children:[E.jsx(uv,{className:"size-3"})," ",s.auth_type]}),s.third_party&&E.jsx(Il,{children:s.host}),s.exposure&&E.jsx(sN,{exposure:s.exposure})]}),s.fields&&E.jsx("p",{className:"mt-2 line-clamp-2 text-xs text-muted",children:s.fields})]}),o&&E.jsxs("div",{className:"mt-1.5 flex items-center gap-1.5",children:[E.jsx(lh,{status:s.status}),E.jsx("span",{className:"text-xs text-muted",children:Ja(s.samples,"sample")})]})]})}function pN({endpoints:l,selected:u,onSelect:a,compact:o}){const[s,f]=_t.useState(""),[h,d]=_t.useState(!1),g=l.filter(y=>y.third_party).length,b=_t.useMemo(()=>{const y=s.trim().toLowerCase();return l.filter(p=>(h||!p.third_party)&&(!y||p.label.toLowerCase().includes(y)||p.fields.toLowerCase().includes(y)))},[l,s,h]);return l.length?E.jsxs("div",{className:"space-y-2",children:[l.length>4&&E.jsxs("label",{className:"flex items-center gap-2 rounded-lg border border-line bg-surface px-2.5 py-1.5",children:[E.jsx(fv,{className:"size-4 text-muted","aria-hidden":!0}),E.jsx("input",{value:s,onChange:y=>f(y.target.value),placeholder:"Filter endpoints","aria-label":"Filter endpoints",className:"w-full bg-transparent text-sm outline-none placeholder:text-muted"})]}),g>0&&E.jsxs("label",{className:"flex items-center gap-2 text-xs text-muted",children:[E.jsx("input",{type:"checkbox",checked:h,onChange:y=>d(y.target.checked)}),"Show ",Ja(g,"third-party endpoint")]}),E.jsx("ul",{className:"space-y-2",children:b.map(y=>E.jsx("li",{children:E.jsx(mN,{endpoint:y,compact:o,selected:u===y.key,onSelect:a?()=>a(y.key):void 0})},y.key))}),!b.length&&E.jsx("p",{className:"py-4 text-center text-sm text-muted",children:"No endpoint matches."})]}):E.jsx(ta,{icon:E.jsx(Qx,{className:"size-7"}),title:"No endpoints yet",children:"API calls the site makes appear here as they are captured."})}function Qa({label:l,children:u}){return E.jsxs("div",{children:[E.jsx("dt",{className:"text-xs text-muted",children:l}),E.jsx("dd",{className:"mt-0.5 text-sm break-words",children:u})]})}function gN({endpoint:l,onClose:u,tryIt:a}){const o=l;return E.jsxs("article",{className:"space-y-5","aria-label":o.label,children:[E.jsxs("header",{className:"flex items-start gap-2",children:[E.jsxs("div",{className:"min-w-0 flex-1",children:[E.jsxs("div",{className:"flex items-center gap-2",children:[E.jsx(J1,{method:o.method}),E.jsx("h3",{className:"min-w-0 font-mono text-base font-semibold break-all",children:o.path})]}),E.jsxs("div",{className:"mt-2 flex flex-wrap gap-1.5",children:[E.jsx(lh,{status:o.status}),E.jsx($1,{confidence:o.confidence})]}),o.status_note&&E.jsx("p",{className:"mt-2 text-sm text-muted",children:o.status_note})]}),u&&E.jsx(nN,{variant:"ghost",onClick:u,"aria-label":"Close details",className:"px-2",children:E.jsx(pv,{className:"size-4"})})]}),E.jsxs("dl",{className:"grid grid-cols-2 gap-3 rounded-xl border border-line p-3 sm:grid-cols-4",children:[E.jsx(Qa,{label:"Host",children:o.host}),E.jsx(Qa,{label:"Seen",children:Ja(o.samples,"time")}),E.jsx(Qa,{label:"Statuses",children:o.statuses.join(", ")||"none"}),E.jsx(Qa,{label:"Auth",children:o.auth_type??"none"}),o.pagination&&E.jsxs(Qa,{label:"Pagination",children:[o.pagination.style," by ",E.jsx("span",{className:"font-mono",children:o.pagination.param}),o.pagination.confirmed?" (tested)":""]}),o.required_headers.length>0&&E.jsx(Qa,{label:"Required headers",children:E.jsx("span",{className:"font-mono",children:o.required_headers.join(", ")})})]}),o.exposure&&E.jsx(fN,{exposure:o.exposure}),o.params.length>0&&E.jsxs("section",{children:[E.jsx("h4",{className:"mb-2 text-sm font-semibold",children:"Parameters"}),E.jsx("div",{className:"overflow-x-auto rounded-xl border border-line",children:E.jsxs("table",{className:"w-full text-sm",children:[E.jsx("thead",{className:"bg-surface-2/60 text-left text-xs text-muted",children:E.jsxs("tr",{children:[E.jsx("th",{className:"px-3 py-2 font-medium",children:"Name"}),E.jsx("th",{className:"px-3 py-2 font-medium",children:"In"}),E.jsx("th",{className:"px-3 py-2 font-medium",children:"Type"}),E.jsx("th",{className:"px-3 py-2 font-medium",children:"Examples"})]})}),E.jsx("tbody",{children:o.params.map(s=>E.jsxs("tr",{className:"border-t border-line",children:[E.jsx("td",{className:"px-3 py-2 font-mono",children:s.name}),E.jsx("td",{className:"px-3 py-2 text-muted",children:s.location}),E.jsx("td",{className:"px-3 py-2 font-mono text-accent",children:s.type}),E.jsx("td",{className:"px-3 py-2 font-mono text-xs text-muted",children:s.sensitive?"hidden":s.examples.slice(0,3).join(", ")})]},s.name))})]})})]}),o.request_schema&&E.jsxs("section",{children:[E.jsx("h4",{className:"mb-2 text-sm font-semibold",children:"Request body"}),E.jsx(jy,{schema:o.request_schema,rootName:"body"})]}),o.response_schema&&E.jsxs("section",{children:[E.jsx("h4",{className:"mb-2 text-sm font-semibold",children:"Response"}),E.jsx(jy,{schema:o.response_schema})]}),o.example_urls.length>0&&E.jsxs("section",{children:[E.jsx("h4",{className:"mb-2 text-sm font-semibold",children:"Seen at"}),E.jsx("ul",{className:"space-y-1 font-mono text-xs text-muted",children:o.example_urls.slice(0,5).map(s=>E.jsx("li",{className:"break-all",children:s},s))})]}),a&&E.jsxs("section",{children:[E.jsx("h4",{className:"mb-2 text-sm font-semibold",children:"Use this endpoint"}),a]})]})}function yN({className:l="size-7"}){return E.jsxs("svg",{viewBox:"0 0 32 32",className:`text-accent ${l}`,"aria-hidden":!0,children:[E.jsx("path",{d:"M16 3C9.9 3 6 7.6 6 13.5V27c0 .9 1 1.4 1.7.8l2.3-1.9 2.4 2a1 1 0 0 0 1.3 0l2.3-2 2.3 2a1 1 0 0 0 1.3 0l2.4-2 2.3 1.9c.7.6 1.7.1 1.7-.8V13.5C26 7.6 22.1 3 16 3Z",fill:"currentColor"}),E.jsx("circle",{cx:"12.3",cy:"14",r:"2",fill:"var(--bg)"}),E.jsx("circle",{cx:"19.7",cy:"14",r:"2",fill:"var(--bg)"})]})}function bN(){return E.jsxs("span",{className:"flex items-center gap-2 font-semibold tracking-tight",children:[E.jsx(yN,{}),E.jsxs("span",{children:["Ghost ",E.jsx("span",{className:"text-accent",children:"API"})]})]})}function xN(){const[l,u]=_t.useState(()=>document.documentElement.classList.contains("dark")),a=()=>{const o=!l;document.documentElement.classList.toggle("dark",o);try{localStorage.setItem("ghost-theme",o?"dark":"light")}catch{}u(o)};return E.jsx("button",{type:"button",onClick:a,"aria-label":l?"Switch to light theme":"Switch to dark theme",className:"rounded-lg p-2 text-muted transition hover:bg-surface-2 hover:text-fg",children:l?E.jsx(dv,{className:"size-4"}):E.jsx(rv,{className:"size-4"})})}const vN={click:ov,type:lv,scroll:cv,navigate:Hy,go_back:Xx,call_endpoint:sv,ask_user:Jx,finish:ev},SN={info:{icon:nv,className:"text-muted"},success:{icon:Fx,className:"text-ok"},warning:{icon:mv,className:"text-warn"},error:{icon:$x,className:"text-bad"}};function EN(l,u){const a=u;switch(l){case"click":return`Click element #${String(a.element_id??"?")}`;case"type":return`Type "${String(a.text??"")}"${a.submit?" and press Enter":""}`;case"scroll":return`Scroll ${String(a.direction??"down")}`;case"navigate":return`Open ${String(a.url??"")}`;case"go_back":return"Go back";case"call_endpoint":return`Call ${String(a.endpoint??"")}`;case"ask_user":return`Ask: ${String(a.question??"")}`;case"finish":return"Finish";default:return l}}function $u({icon:l,iconClass:u,title:a,children:o,details:s,onSelect:f,selected:h}){const[d,g]=_t.useState(!1);return E.jsxs("li",{className:tn("relative flex gap-3 rounded-lg px-2 py-2 transition",h&&"bg-accent-soft/60",f&&"cursor-pointer hover:bg-surface-2"),onClick:f,children:[E.jsx("span",{className:tn("mt-0.5 shrink-0",u??"text-accent"),children:l}),E.jsxs("div",{className:"min-w-0 flex-1",children:[E.jsx("div",{className:"text-sm font-medium break-words",children:a}),o&&E.jsx("div",{className:"mt-0.5 text-sm text-muted break-words",children:o}),s&&E.jsxs(E.Fragment,{children:[E.jsxs("button",{type:"button",onClick:b=>{b.stopPropagation(),g(!d)},"aria-expanded":d,className:"mt-1 inline-flex items-center gap-0.5 text-xs text-muted hover:text-fg",children:[E.jsx(Uy,{className:tn("size-3 transition",d&&"rotate-90")}),d?"Hide details":"Details"]}),d&&E.jsx("div",{className:"mt-1 text-xs text-muted",children:s})]})]})]})}function TN({items:l,selectedShot:u,onSelectShot:a,follow:o=!0}){const s=_t.useRef(null);return _t.useEffect(()=>{const f=s.current;if(!o||!f)return;f.scrollHeight-f.scrollTop-f.clientHeight<160&&(f.scrollTop=f.scrollHeight)},[l.length,o]),E.jsx("div",{ref:s,className:"h-full overflow-y-auto px-2 py-2",children:E.jsx("ol",{"aria-live":"polite","aria-relevant":"additions",className:"space-y-0.5",children:l.map(f=>{switch(f.kind){case"notice":{const{icon:h,className:d}=SN[f.level];return E.jsx($u,{icon:E.jsx(h,{className:"size-4"}),iconClass:d,title:E.jsx("span",{className:f.level==="info"?"font-normal":"",children:E.jsx(Dy,{text:f.text})}),details:f.detail?E.jsx("pre",{className:"font-mono whitespace-pre-wrap",children:f.detail}):void 0},f.id)}case"step":{const h=vN[f.action]??Hy,d=f.screenshot;return E.jsxs($u,{icon:E.jsx(h,{className:"size-4"}),title:E.jsxs("span",{className:"flex flex-wrap items-center gap-x-2",children:[E.jsxs("span",{className:"text-xs font-semibold text-muted",children:["Step ",f.step]}),EN(f.action,f.args)]}),selected:!!d&&d===u,onSelect:d&&a?()=>a({name:d,box:f.box}):void 0,details:f.result?E.jsx("pre",{className:"font-mono whitespace-pre-wrap",children:f.result}):void 0,children:[f.thought&&E.jsxs("p",{className:"italic",children:["“",E.jsx(Dy,{text:f.thought}),"”"]}),E.jsxs("p",{className:"mt-1 flex flex-wrap items-center gap-1.5 text-xs",children:[E.jsx("span",{children:Ja(f.requests,"new request")}),f.newEndpoints.map(g=>E.jsxs(Il,{className:"bg-accent-soft text-accent",children:["+ ",g]},g))]})]},f.id)}case"hypothesis":{const h=f.result==="confirmed",d=f.result==="rejected";return E.jsx($u,{icon:E.jsx(tv,{className:"size-4"}),iconClass:h?"text-ok":d?"text-bad":"text-warn",title:E.jsxs("span",{className:"flex flex-wrap items-center gap-2",children:[E.jsx("span",{className:"font-mono text-xs",children:f.endpoint}),E.jsx(Il,{className:h?"bg-ok/15 text-ok":d?"bg-bad/15 text-bad":"bg-warn/15 text-warn",children:f.result})]}),details:f.evidence?E.jsx("span",{children:f.evidence}):void 0,children:f.text},f.id)}case"round":{const h=f.round,d=h.failed===0;return E.jsx($u,{icon:E.jsx(hv,{className:"size-4"}),iconClass:d?"text-ok":"text-warn",title:`Verification round ${h.number}: ${h.passed} passed, ${h.failed} failed${h.skipped?`, ${h.skipped} skipped`:""}`,details:h.failures.length||h.repairs.length?E.jsxs("ul",{className:"space-y-1",children:[h.failures.map(g=>E.jsxs("li",{children:[E.jsx("span",{className:"font-mono text-bad",children:g.name}),": ",g.message]},g.name)),h.repairs.map(g=>E.jsxs("li",{children:["Repaired ",E.jsx("span",{className:"font-mono",children:g.method})," (",g.kind,"): ",g.action]},`${g.method}-${g.kind}`))]}):void 0},f.id)}case"client":{const h=f.client;return E.jsxs($u,{icon:E.jsx(oh,{className:"size-4"}),iconClass:"text-info",title:E.jsxs("span",{children:["Generated ",E.jsx("span",{className:"font-mono",children:h.class_name})," (",h.lang,") with"," ",Ja(h.methods.length,"method")]}),children:[h.methods.slice(0,6).map(d=>d.name).join(", "),h.methods.length>6?"…":""]},f.id)}}})})})}const _N={runId:null,domain:"",startUrl:"",goal:"",mode:"",lang:"python",phase:"checks",phasesSeen:[],timeline:[],endpoints:[],requests:0,thirdParty:0,screenshot:null,usage:null,client:null,rounds:[],probes:null,finished:null,lastSeq:0};function AN(l,u){const a=u.event;if(a.seq&&a.seq<=l.lastSeq)return l;const o={...l,lastSeq:a.seq||l.lastSeq},s=f=>({...o,timeline:[...o.timeline,f]});switch(a.type){case"run_started":return{...o,runId:a.run_id,domain:a.domain,startUrl:a.start_url,goal:a.goal,mode:a.mode,lang:a.lang};case"phase":return{...o,phase:a.phase,phasesSeen:o.phasesSeen.includes(a.phase)?o.phasesSeen:[...o.phasesSeen,a.phase]};case"notice":return s({id:a.seq,kind:"notice",text:a.text,level:a.level,detail:a.detail});case"request":return{...o,requests:o.requests+1,thirdParty:o.thirdParty+(a.third_party?1:0)};case"step":{const f=s({id:a.seq,kind:"step",step:a.step,action:a.action,args:a.args,thought:a.thought,result:a.result,newEndpoints:a.new_endpoints,requests:a.requests,screenshot:a.screenshot,box:a.box});return a.screenshot?{...f,screenshot:{name:a.screenshot,box:a.box}}:f}case"screenshot":return{...o,screenshot:{name:a.name,box:null}};case"endpoints":return{...o,endpoints:a.endpoints};case"hypothesis":return s({id:a.seq,kind:"hypothesis",endpoint:a.endpoint,text:a.text,result:a.result,evidence:a.evidence});case"probe_done":return{...o,probes:{endpoints:a.endpoints,directCalls:a.direct_calls}};case"verify_round":return{...s({id:a.seq,kind:"round",round:a}),rounds:[...o.rounds,a]};case"client":return{...s({id:a.seq,kind:"client",client:a}),client:a};case"usage":return{...o,usage:a};case"run_finished":return{...o,finished:a,phase:"done",phasesSeen:o.phasesSeen.includes("done")?o.phasesSeen:[...o.phasesSeen,"done"]};default:return o}}function NN(l){var a,o;const u=((o=(a=l.getElementById("ghost-report"))==null?void 0:a.textContent)==null?void 0:o.trim())??"";if(!u||u.startsWith("__"))return null;try{return JSON.parse(u)}catch{return null}}const CN=["endpoints","activity","code","docs","report","lessons"];function wN(){const l=()=>{const s=window.location.hash.slice(1);return CN.includes(s)?s:"endpoints"},[u,a]=_t.useState(l);return _t.useEffect(()=>{const s=()=>a(l());return window.addEventListener("hashchange",s),()=>window.removeEventListener("hashchange",s)},[]),[u,s=>{history.replaceState(null,"",s==="endpoints"?" ":`#${s}`),a(s)}]}function kN(l){if(!l.finished_at)return null;const u=(new Date(l.finished_at).getTime()-new Date(l.started_at).getTime())/1e3;return Number.isFinite(u)?Math.max(0,Math.round(u)):null}function Pu({label:l,value:u}){return E.jsxs("div",{className:"rounded-xl border border-line bg-surface px-4 py-3",children:[E.jsx("div",{className:"text-xs text-muted",children:l}),E.jsx("div",{className:"mt-0.5 text-lg font-semibold tabular-nums",children:u})]})}function ON({endpoints:l}){const u=l.find(f=>!f.third_party)??l[0],[a,o]=_t.useState((u==null?void 0:u.key)??null),s=l.find(f=>f.key===a);return l.length?E.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 lg:grid-cols-[minmax(0,22rem)_minmax(0,1fr)]",children:[E.jsx("div",{className:"lg:sticky lg:top-20 lg:max-h-[calc(100vh-7rem)] lg:overflow-y-auto lg:pr-1",children:E.jsx(pN,{endpoints:l,selected:a,onSelect:o})}),E.jsx(lr,{className:"p-4 sm:p-5",children:s&&E.jsx(gN,{endpoint:s})})]}):E.jsx(ta,{title:"No endpoints were found",children:"The site may build its pages on the server, so there was no hidden API to capture."})}function zN({events:l}){const u=_t.useMemo(()=>l.reduce((a,o)=>AN(a,{event:o}),_N).timeline,[l]);return u.length?E.jsx(lr,{className:"max-h-[75vh] overflow-y-auto",children:E.jsx(TN,{items:u,follow:!1})}):E.jsx(ta,{title:"No activity was recorded for this run"})}function Ly({files:l,empty:u}){var f;const[a,o]=_t.useState((f=l[0])==null?void 0:f.name),s=l.find(h=>h.name===a)??l[0];return s?E.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-3 lg:grid-cols-[14rem_minmax(0,1fr)]",children:[E.jsx("ul",{className:"flex gap-1 overflow-x-auto lg:flex-col","aria-label":"Files",children:l.map(h=>E.jsx("li",{className:"shrink-0",children:E.jsxs("button",{type:"button",onClick:()=>o(h.name),"aria-current":h.name===s.name,className:tn("flex w-full items-center gap-2 rounded-lg px-2.5 py-1.5 text-left text-sm transition",h.name===s.name?"bg-surface-2 text-fg":"text-muted hover:text-fg"),children:[E.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:h.name}),E.jsx("span",{className:"text-[11px] text-muted",children:h.kind})]})},h.name))}),E.jsx("div",{className:"min-w-0",children:s.content===null?E.jsx(lr,{children:E.jsx(ta,{title:`${s.name} is too big to include (${iN(s.size)})`,children:"It is in the output folder next to this report."})}):E.jsx(rN,{code:s.content,language:aN(s.name),title:s.name,maxHeight:"75vh"})})]}):E.jsx(ta,{icon:E.jsx(oh,{className:"size-8"}),title:u})}function MN({data:l}){const[u,a]=wN();if(_t.useEffect(()=>{l&&(document.title=`${l.domain} · Ghost API report`)},[l]),!l)return E.jsx(ta,{title:"This report has no data",children:"It is the empty report template. Ghost API fills it in when it writes report.html."});const{run:o}=l,s=l.endpoints.filter(y=>!y.third_party),f=s.filter(y=>y.status==="verified").length,h=l.files.filter(y=>y.kind!=="openapi"),d=l.files.filter(y=>y.kind==="openapi"),g=kN(o),b=["failed","interrupted"].includes(o.status);return E.jsxs("div",{className:"flex min-h-screen flex-col",children:[E.jsx("header",{className:"sticky top-0 z-20 border-b border-line bg-bg/80 backdrop-blur",children:E.jsxs("div",{className:"mx-auto flex h-14 max-w-[1440px] items-center gap-3 px-4",children:[E.jsx(bN,{}),E.jsx("span",{className:"text-sm text-muted",children:"report"}),E.jsx("div",{className:"ml-auto",children:E.jsx(xN,{})})]})}),E.jsxs("main",{className:"mx-auto w-full max-w-[1440px] flex-1 space-y-6 px-4 py-6",children:[E.jsxs("section",{className:"space-y-4 pt-2",children:[E.jsxs("div",{className:"flex flex-wrap items-start gap-3",children:[E.jsxs("div",{className:"min-w-0 flex-1",children:[E.jsx("h1",{className:"text-2xl font-bold break-all sm:text-3xl",children:l.domain}),E.jsxs("p",{className:"mt-1 text-muted",children:["Goal: ",o.goal]}),E.jsxs("p",{className:"mt-1 truncate text-xs text-muted",children:["Started at ",E.jsx("span",{className:"font-mono",children:o.start_url})," · run #",o.id]})]}),E.jsx(Il,{className:b?"bg-warn/15 text-warn":"bg-ok/15 text-ok",children:o.status})]}),E.jsxs("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-5",children:[E.jsx(Pu,{label:"Endpoints",value:s.length}),E.jsx(Pu,{label:"Verified by live tests",value:f}),E.jsx(Pu,{label:"Requests captured",value:o.requests}),E.jsx(Pu,{label:"LLM calls",value:o.llm_calls}),E.jsx(Pu,{label:"Time",value:g===null?"n/a":`${g} s`})]})]}),E.jsx(dN,{endpoints:l.endpoints}),E.jsx(lN,{value:u,onChange:a,tabs:[{id:"endpoints",label:E.jsx(Za,{icon:E.jsx(av,{className:"size-3.5"}),children:"Endpoints"}),count:s.length},{id:"activity",label:E.jsx(Za,{icon:E.jsx(Ix,{className:"size-3.5"}),children:"Activity"})},{id:"code",label:E.jsx(Za,{icon:E.jsx(oh,{className:"size-3.5"}),children:"Client code"}),count:h.length},{id:"docs",label:E.jsx(Za,{icon:E.jsx(Zx,{className:"size-3.5"}),children:"API docs"})},{id:"report",label:E.jsx(Za,{icon:E.jsx(Wx,{className:"size-3.5"}),children:"Summary"})},{id:"lessons",label:E.jsx(Za,{icon:E.jsx(Gg,{className:"size-3.5"}),children:"Lessons"}),count:l.lessons.length}]}),u==="endpoints"&&E.jsx(ON,{endpoints:l.endpoints}),u==="activity"&&E.jsx(zN,{events:l.events}),u==="code"&&E.jsx(Ly,{files:h,empty:"No client was generated"}),u==="docs"&&E.jsx(Ly,{files:d,empty:"No OpenAPI spec"}),u==="report"&&E.jsx(lr,{className:"p-4 sm:p-6",children:E.jsx("div",{className:"prose-ghost max-w-none",children:E.jsx(NT,{remarkPlugins:[VA],children:l.report_md})})}),u==="lessons"&&(l.lessons.length?E.jsx(lr,{children:E.jsx("ul",{className:"divide-y divide-line",children:l.lessons.map(y=>E.jsxs("li",{className:"flex gap-3 px-4 py-3 text-sm",children:[E.jsx(Gg,{className:"mt-0.5 size-4 shrink-0 text-warn","aria-hidden":!0}),y]},y))})}):E.jsx(ta,{title:"No lessons saved for this site yet"}))]}),E.jsxs("footer",{className:"border-t border-line py-4 text-center text-xs text-muted",children:["Made with Ghost API ",l.version," on ",new Date(l.generated_at).toLocaleString()," ·"," ",Ja(l.endpoints.length,"endpoint")," · this page is one file and works offline"]})]})}function Za({icon:l,children:u}){return E.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[l,u]})}qx.createRoot(document.getElementById("root")).render(E.jsx(_t.StrictMode,{children:E.jsx(MN,{data:NN(document)})}));
277
+ </script>
278
+ <style>/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-content:"";--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-mono:"JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Consolas, monospace;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-3xl:48rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--default-mono-font-family:"JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Consolas, monospace}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.top-0{top:0}.z-20{z-index:20}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-1{margin-inline:var(--spacing)}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-auto{margin-top:auto}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-full{width:100%;height:100%}.h-6{height:calc(var(--spacing) * 6)}.h-10{height:calc(var(--spacing) * 10)}.h-14{height:calc(var(--spacing) * 14)}.h-40{height:calc(var(--spacing) * 40)}.h-96{height:calc(var(--spacing) * 96)}.h-\[32rem\]{height:32rem}.h-full{height:100%}.h-px{height:1px}.max-h-\[32rem\]{max-height:32rem}.max-h-\[75vh\]{max-height:75vh}.min-h-0{min-height:0}.min-h-screen{min-height:100vh}.w-3\/5{width:60%}.w-4{width:calc(var(--spacing) * 4)}.w-4\/5{width:80%}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-72{width:calc(var(--spacing) * 72)}.w-\[18px\]{width:18px}.w-full{width:100%}.w-px{width:1px}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[1280px\]{max-width:1280px}.max-w-\[1440px\]{max-width:1440px}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.min-w-0{min-width:0}.min-w-12{min-width:calc(var(--spacing) * 12)}.min-w-\[14rem\]{min-width:14rem}.flex-1{flex:1}.shrink-0{flex-shrink:0}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,1fr)}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-line>:not(:last-child)){border-color:var(--line)}.self-end{align-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-accent{border-color:var(--accent)}.border-bad\/40{border-color:var(--bad)}@supports (color:color-mix(in lab,red,red)){.border-bad\/40{border-color:color-mix(in oklab,var(--bad) 40%,transparent)}}.border-line,.border-line\/70{border-color:var(--line)}@supports (color:color-mix(in lab,red,red)){.border-line\/70{border-color:color-mix(in oklab,var(--line) 70%,transparent)}}.border-ok\/40{border-color:var(--ok)}@supports (color:color-mix(in lab,red,red)){.border-ok\/40{border-color:color-mix(in oklab,var(--ok) 40%,transparent)}}.border-transparent{border-color:#0000}.border-warn\/40{border-color:var(--warn)}@supports (color:color-mix(in lab,red,red)){.border-warn\/40{border-color:color-mix(in oklab,var(--warn) 40%,transparent)}}.bg-accent{background-color:var(--accent)}.bg-accent-soft,.bg-accent-soft\/60{background-color:var(--accent-soft)}@supports (color:color-mix(in lab,red,red)){.bg-accent-soft\/60{background-color:color-mix(in oklab,var(--accent-soft) 60%,transparent)}}.bg-accent\/50{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.bg-accent\/50{background-color:color-mix(in oklab,var(--accent) 50%,transparent)}}.bg-bad,.bg-bad\/5{background-color:var(--bad)}@supports (color:color-mix(in lab,red,red)){.bg-bad\/5{background-color:color-mix(in oklab,var(--bad) 5%,transparent)}}.bg-bad\/10{background-color:var(--bad)}@supports (color:color-mix(in lab,red,red)){.bg-bad\/10{background-color:color-mix(in oklab,var(--bad) 10%,transparent)}}.bg-bad\/15{background-color:var(--bad)}@supports (color:color-mix(in lab,red,red)){.bg-bad\/15{background-color:color-mix(in oklab,var(--bad) 15%,transparent)}}.bg-bad\/60{background-color:var(--bad)}@supports (color:color-mix(in lab,red,red)){.bg-bad\/60{background-color:color-mix(in oklab,var(--bad) 60%,transparent)}}.bg-bg,.bg-bg\/80{background-color:var(--bg)}@supports (color:color-mix(in lab,red,red)){.bg-bg\/80{background-color:color-mix(in oklab,var(--bg) 80%,transparent)}}.bg-bg\/85{background-color:var(--bg)}@supports (color:color-mix(in lab,red,red)){.bg-bg\/85{background-color:color-mix(in oklab,var(--bg) 85%,transparent)}}.bg-info\/15{background-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.bg-info\/15{background-color:color-mix(in oklab,var(--info) 15%,transparent)}}.bg-line{background-color:var(--line)}.bg-ok\/15{background-color:var(--ok)}@supports (color:color-mix(in lab,red,red)){.bg-ok\/15{background-color:color-mix(in oklab,var(--ok) 15%,transparent)}}.bg-ok\/60{background-color:var(--ok)}@supports (color:color-mix(in lab,red,red)){.bg-ok\/60{background-color:color-mix(in oklab,var(--ok) 60%,transparent)}}.bg-surface{background-color:var(--surface)}.bg-surface-2,.bg-surface-2\/40{background-color:var(--surface-2)}@supports (color:color-mix(in lab,red,red)){.bg-surface-2\/40{background-color:color-mix(in oklab,var(--surface-2) 40%,transparent)}}.bg-surface-2\/50{background-color:var(--surface-2)}@supports (color:color-mix(in lab,red,red)){.bg-surface-2\/50{background-color:color-mix(in oklab,var(--surface-2) 50%,transparent)}}.bg-surface-2\/60{background-color:var(--surface-2)}@supports (color:color-mix(in lab,red,red)){.bg-surface-2\/60{background-color:color-mix(in oklab,var(--surface-2) 60%,transparent)}}.bg-transparent{background-color:#0000}.bg-warn\/5{background-color:var(--warn)}@supports (color:color-mix(in lab,red,red)){.bg-warn\/5{background-color:color-mix(in oklab,var(--warn) 5%,transparent)}}.bg-warn\/10{background-color:var(--warn)}@supports (color:color-mix(in lab,red,red)){.bg-warn\/10{background-color:color-mix(in oklab,var(--warn) 10%,transparent)}}.bg-warn\/15{background-color:var(--warn)}@supports (color:color-mix(in lab,red,red)){.bg-warn\/15{background-color:color-mix(in oklab,var(--warn) 15%,transparent)}}.bg-warn\/60{background-color:var(--warn)}@supports (color:color-mix(in lab,red,red)){.bg-warn\/60{background-color:color-mix(in oklab,var(--warn) 60%,transparent)}}.object-contain{object-fit:contain}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.px-0{padding-inline:0}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-2{padding-top:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pl-2{padding-left:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-top{vertical-align:top}.font-mono{font-family:JetBrains Mono,Cascadia Code,SF Mono,ui-monospace,Consolas,monospace}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[0\.85em\]{font-size:.85em}.text-\[11px\]{font-size:11px}.text-\[12\.5px\]{font-size:12.5px}.text-\[13px\]{font-size:13px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent{color:var(--accent)}.text-bad{color:var(--bad)}.text-fg{color:var(--fg)}.text-info{color:var(--info)}.text-muted{color:var(--muted)}.text-ok{color:var(--ok)}.text-warn{color:var(--warn)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.decoration-muted\/50{-webkit-text-decoration-color:var(--muted);text-decoration-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.decoration-muted\/50{-webkit-text-decoration-color:color-mix(in oklab,var(--muted) 50%,transparent);text-decoration-color:color-mix(in oklab,var(--muted) 50%,transparent)}}.accent-\[var\(--accent\)\]{accent-color:var(--accent)}.opacity-90{opacity:.9}.shadow-\[0_0_0_4px_color-mix\(in_oklab\,var\(--accent\)_25\%\,transparent\)\]{--tw-shadow:0 0 0 4px var(--tw-shadow-color,var(--accent))}@supports (color:color-mix(in lab,red,red)){.shadow-\[0_0_0_4px_color-mix\(in_oklab\,var\(--accent\)_25\%\,transparent\)\]{--tw-shadow:0 0 0 4px var(--tw-shadow-color,color-mix(in oklab,var(--accent) 25%,transparent))}}.shadow-\[0_0_0_4px_color-mix\(in_oklab\,var\(--accent\)_25\%\,transparent\)\]{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[var\(--shadow-card\)\]{--tw-shadow:var(--shadow-card);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-accent\/20{--tw-ring-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.ring-accent\/20{--tw-ring-color:color-mix(in oklab, var(--accent) 20%, transparent)}}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\:text-accent:is(:where(.group):hover *){color:var(--accent)}}.placeholder\:text-muted::placeholder{color:var(--muted)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:top-2:before{content:var(--tw-content);top:calc(var(--spacing) * 2)}.before\:bottom-2:before{content:var(--tw-content);bottom:calc(var(--spacing) * 2)}.before\:-left-3:before{content:var(--tw-content);left:calc(var(--spacing) * -3)}.before\:hidden:before{content:var(--tw-content);display:none}.before\:w-1:before{content:var(--tw-content);width:var(--spacing)}.before\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\:bg-accent:before{content:var(--tw-content);background-color:var(--accent)}.focus-within\:border-accent:focus-within{border-color:var(--accent)}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-accent\/20:focus-within{--tw-ring-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.focus-within\:ring-accent\/20:focus-within{--tw-ring-color:color-mix(in oklab, var(--accent) 20%, transparent)}}@media(hover:hover){.hover\:border-accent:hover,.hover\:border-accent\/50:hover{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.hover\:border-accent\/50:hover{border-color:color-mix(in oklab,var(--accent) 50%,transparent)}}.hover\:bg-bad\/10:hover{background-color:var(--bad)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-bad\/10:hover{background-color:color-mix(in oklab,var(--bad) 10%,transparent)}}.hover\:bg-surface-2:hover,.hover\:bg-surface-2\/60:hover{background-color:var(--surface-2)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-surface-2\/60:hover{background-color:color-mix(in oklab,var(--surface-2) 60%,transparent)}}.hover\:bg-transparent:hover{background-color:#0000}.hover\:text-accent:hover{color:var(--accent)}.hover\:text-fg:hover{color:var(--fg)}.hover\:underline:hover{text-decoration-line:underline}.hover\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.focus\:border-accent:focus{border-color:var(--accent)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\:block{display:block}.sm\:w-6{width:calc(var(--spacing) * 6)}.sm\:w-14{width:calc(var(--spacing) * 14)}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:grid-cols-\[8rem_1fr\]{grid-template-columns:8rem 1fr}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:p-4{padding:calc(var(--spacing) * 4)}.sm\:p-5{padding:calc(var(--spacing) * 5)}.sm\:p-6{padding:calc(var(--spacing) * 6)}.sm\:text-right{text-align:right}.sm\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.sm\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}}@media(min-width:48rem){.md\:grid{display:grid}.md\:hidden{display:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\:sticky{position:sticky}.lg\:top-0{top:0}.lg\:top-20{top:calc(var(--spacing) * 20)}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:inline{display:inline}.lg\:h-\[calc\(100vh-15rem\)\]{height:calc(100vh - 15rem)}.lg\:h-screen{height:100vh}.lg\:max-h-\[calc\(100vh-7rem\)\]{max-height:calc(100vh - 7rem)}.lg\:max-h-none{max-height:none}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-\[14rem_minmax\(0\,1fr\)\]{grid-template-columns:14rem minmax(0,1fr)}.lg\:grid-cols-\[15rem_minmax\(0\,1fr\)\]{grid-template-columns:15rem minmax(0,1fr)}.lg\:grid-cols-\[minmax\(0\,1\.15fr\)_minmax\(0\,1fr\)_minmax\(0\,0\.8fr\)\]{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.8fr)}.lg\:grid-cols-\[minmax\(0\,5fr\)_minmax\(0\,7fr\)\]{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}.lg\:grid-cols-\[minmax\(0\,22rem\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,22rem) minmax(0,1fr)}.lg\:flex-col{flex-direction:column}.lg\:gap-6{gap:calc(var(--spacing) * 6)}.lg\:overflow-y-auto{overflow-y:auto}.lg\:px-6{padding-inline:calc(var(--spacing) * 6)}.lg\:px-8{padding-inline:calc(var(--spacing) * 8)}.lg\:py-6{padding-block:calc(var(--spacing) * 6)}.lg\:py-8{padding-block:calc(var(--spacing) * 8)}.lg\:pr-1{padding-right:var(--spacing)}.lg\:before\:block:before{content:var(--tw-content);display:block}}.dark\:text-\[\#0a0f20\]:where(.dark,.dark *){color:#0a0f20}}:root{--bg:#eef2fb;--surface:#fff;--surface-2:#e6ecfa;--line:#d9e1f4;--fg:#0e1530;--muted:#4f5b7c;--accent:#2f55d4;--accent-soft:#dce5ff;--ok:#15803d;--warn:#b45309;--bad:#dc2626;--info:#2563eb;--shadow-card:0 1px 2px #14245a0d, 0 6px 20px -8px #14245a1a}.dark{--bg:#0a0f20;--surface:#111933;--surface-2:#19234a;--line:#25315f;--fg:#e9edfb;--muted:#9aa6cc;--accent:#86a2ff;--accent-soft:#1c2b66;--ok:#4ade80;--warn:#fbbf24;--bad:#f87171;--info:#60a5fa;--shadow-card:0 1px 2px #0000004d}html,body,#root{min-height:100%}body{background:var(--bg);color:var(--fg);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}@media(prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.hljs{color:var(--fg);background:0 0}.hljs-keyword,.hljs-built_in,.hljs-selector-tag{color:var(--accent)}.hljs-string,.hljs-attr+.hljs-string{color:var(--ok)}.hljs-number,.hljs-literal{color:var(--warn)}.hljs-comment,.hljs-meta{color:var(--muted);font-style:italic}.hljs-title,.hljs-title.function_,.hljs-title.class_{color:var(--info)}.hljs-attr,.hljs-property,.hljs-variable,.hljs-params{color:var(--fg)}.hljs-type{color:var(--info)}.hljs-section,.hljs-strong{font-weight:600}.prose-ghost h1{margin:0 0 .75rem;font-size:1.5rem;font-weight:700}.prose-ghost h2{margin:1.6rem 0 .6rem;font-size:1.15rem;font-weight:650}.prose-ghost h3{margin:1.2rem 0 .4rem;font-weight:600}.prose-ghost p,.prose-ghost li{color:var(--fg);line-height:1.65}.prose-ghost ul{margin:.4rem 0;padding-left:1.3rem;list-style:outside}.prose-ghost ol{margin:.4rem 0;padding-left:1.3rem;list-style:decimal}.prose-ghost code{font-family:var(--font-mono);background:var(--surface-2);border-radius:.35rem;padding:.1rem .35rem;font-size:.85em}.prose-ghost table{border-collapse:collapse;width:100%;margin:.8rem 0;font-size:.875rem;display:block;overflow-x:auto}.prose-ghost th,.prose-ghost td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:.45rem .6rem}.prose-ghost th{color:var(--muted);font-weight:600}.prose-ghost hr{border-color:var(--line);margin:1.5rem 0}.prose-ghost em{color:var(--muted)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
279
+ </style>
280
+ </head>
281
+ <body>
282
+ <!-- ghost_api/export/html.py replaces the placeholder with the site's data (JSON). -->
283
+ <script id="ghost-report" type="application/json">__GHOST_REPORT__</script>
284
+ <div id="root"></div>
285
+ </body>
286
+ </html>