zora-agent 0.10.0 → 0.10.2

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 (166) hide show
  1. package/README.md +171 -65
  2. package/dist/cli/daemon.js +1 -0
  3. package/dist/cli/daemon.js.map +1 -1
  4. package/dist/cli/index.js +27 -0
  5. package/dist/cli/index.js.map +1 -1
  6. package/dist/cli/secret-commands.d.ts +16 -0
  7. package/dist/cli/secret-commands.d.ts.map +1 -0
  8. package/dist/cli/secret-commands.js +87 -0
  9. package/dist/cli/secret-commands.js.map +1 -0
  10. package/dist/cli/skill-commands.d.ts.map +1 -1
  11. package/dist/cli/skill-commands.js +75 -0
  12. package/dist/cli/skill-commands.js.map +1 -1
  13. package/dist/cli/subagent-commands.d.ts +13 -0
  14. package/dist/cli/subagent-commands.d.ts.map +1 -0
  15. package/dist/cli/subagent-commands.js +80 -0
  16. package/dist/cli/subagent-commands.js.map +1 -0
  17. package/dist/config/defaults.d.ts +6 -0
  18. package/dist/config/defaults.d.ts.map +1 -1
  19. package/dist/config/defaults.js +6 -0
  20. package/dist/config/defaults.js.map +1 -1
  21. package/dist/dashboard/cost-tracker.d.ts +40 -0
  22. package/dist/dashboard/cost-tracker.d.ts.map +1 -0
  23. package/dist/dashboard/cost-tracker.js +63 -0
  24. package/dist/dashboard/cost-tracker.js.map +1 -0
  25. package/dist/dashboard/frontend/dist/assets/{index-DSXaCp9r.js → index-Bi0V-1ti.js} +83 -83
  26. package/dist/dashboard/frontend/dist/assets/index-SQqtXVeO.css +1 -0
  27. package/dist/dashboard/frontend/dist/index.html +2 -2
  28. package/dist/dashboard/server.d.ts +5 -0
  29. package/dist/dashboard/server.d.ts.map +1 -1
  30. package/dist/dashboard/server.js +17 -0
  31. package/dist/dashboard/server.js.map +1 -1
  32. package/dist/hooks/built-in/audit-log.d.ts +13 -0
  33. package/dist/hooks/built-in/audit-log.d.ts.map +1 -0
  34. package/dist/hooks/built-in/audit-log.js +48 -0
  35. package/dist/hooks/built-in/audit-log.js.map +1 -0
  36. package/dist/hooks/built-in/rate-limit.d.ts +18 -0
  37. package/dist/hooks/built-in/rate-limit.d.ts.map +1 -0
  38. package/dist/hooks/built-in/rate-limit.js +30 -0
  39. package/dist/hooks/built-in/rate-limit.js.map +1 -0
  40. package/dist/hooks/built-in/secret-redact.d.ts +7 -0
  41. package/dist/hooks/built-in/secret-redact.d.ts.map +1 -0
  42. package/dist/hooks/built-in/secret-redact.js +33 -0
  43. package/dist/hooks/built-in/secret-redact.js.map +1 -0
  44. package/dist/hooks/built-in/shell-safety.d.ts +7 -0
  45. package/dist/hooks/built-in/shell-safety.d.ts.map +1 -0
  46. package/dist/hooks/built-in/shell-safety.js +34 -0
  47. package/dist/hooks/built-in/shell-safety.js.map +1 -0
  48. package/dist/hooks/index.d.ts +5 -0
  49. package/dist/hooks/index.d.ts.map +1 -1
  50. package/dist/hooks/index.js +5 -0
  51. package/dist/hooks/index.js.map +1 -1
  52. package/dist/hooks/tool-hook-runner.d.ts +36 -0
  53. package/dist/hooks/tool-hook-runner.d.ts.map +1 -0
  54. package/dist/hooks/tool-hook-runner.js +49 -0
  55. package/dist/hooks/tool-hook-runner.js.map +1 -0
  56. package/dist/lib/error-normalizer.d.ts +53 -0
  57. package/dist/lib/error-normalizer.d.ts.map +1 -0
  58. package/dist/lib/error-normalizer.js +128 -0
  59. package/dist/lib/error-normalizer.js.map +1 -0
  60. package/dist/memory/context-compressor.d.ts +3 -1
  61. package/dist/memory/context-compressor.d.ts.map +1 -1
  62. package/dist/memory/context-compressor.js +18 -3
  63. package/dist/memory/context-compressor.js.map +1 -1
  64. package/dist/memory/plan-cache.d.ts +27 -0
  65. package/dist/memory/plan-cache.d.ts.map +1 -0
  66. package/dist/memory/plan-cache.js +91 -0
  67. package/dist/memory/plan-cache.js.map +1 -0
  68. package/dist/orchestrator/code-tool-runner.d.ts +41 -0
  69. package/dist/orchestrator/code-tool-runner.d.ts.map +1 -0
  70. package/dist/orchestrator/code-tool-runner.js +375 -0
  71. package/dist/orchestrator/code-tool-runner.js.map +1 -0
  72. package/dist/orchestrator/error-pattern-detector.d.ts +54 -0
  73. package/dist/orchestrator/error-pattern-detector.d.ts.map +1 -0
  74. package/dist/orchestrator/error-pattern-detector.js +87 -0
  75. package/dist/orchestrator/error-pattern-detector.js.map +1 -0
  76. package/dist/orchestrator/execution-planner.d.ts +33 -0
  77. package/dist/orchestrator/execution-planner.d.ts.map +1 -0
  78. package/dist/orchestrator/execution-planner.js +67 -0
  79. package/dist/orchestrator/execution-planner.js.map +1 -0
  80. package/dist/orchestrator/orchestrator.d.ts +77 -0
  81. package/dist/orchestrator/orchestrator.d.ts.map +1 -1
  82. package/dist/orchestrator/orchestrator.js +595 -29
  83. package/dist/orchestrator/orchestrator.js.map +1 -1
  84. package/dist/orchestrator/retry-queue.d.ts +7 -1
  85. package/dist/orchestrator/retry-queue.d.ts.map +1 -1
  86. package/dist/orchestrator/retry-queue.js +10 -4
  87. package/dist/orchestrator/retry-queue.js.map +1 -1
  88. package/dist/orchestrator/step-classifier.d.ts +26 -0
  89. package/dist/orchestrator/step-classifier.d.ts.map +1 -0
  90. package/dist/orchestrator/step-classifier.js +77 -0
  91. package/dist/orchestrator/step-classifier.js.map +1 -0
  92. package/dist/orchestrator/tlci-dispatcher.d.ts +47 -0
  93. package/dist/orchestrator/tlci-dispatcher.d.ts.map +1 -0
  94. package/dist/orchestrator/tlci-dispatcher.js +116 -0
  95. package/dist/orchestrator/tlci-dispatcher.js.map +1 -0
  96. package/dist/routines/heartbeat.d.ts.map +1 -1
  97. package/dist/routines/heartbeat.js +3 -1
  98. package/dist/routines/heartbeat.js.map +1 -1
  99. package/dist/routines/routine-manager.d.ts.map +1 -1
  100. package/dist/routines/routine-manager.js +3 -1
  101. package/dist/routines/routine-manager.js.map +1 -1
  102. package/dist/security/intent-capsule.d.ts +19 -0
  103. package/dist/security/intent-capsule.d.ts.map +1 -1
  104. package/dist/security/intent-capsule.js +84 -1
  105. package/dist/security/intent-capsule.js.map +1 -1
  106. package/dist/security/policy-engine.d.ts +1 -0
  107. package/dist/security/policy-engine.d.ts.map +1 -1
  108. package/dist/security/policy-engine.js +22 -1
  109. package/dist/security/policy-engine.js.map +1 -1
  110. package/dist/services/negative-cache.d.ts +67 -0
  111. package/dist/services/negative-cache.d.ts.map +1 -0
  112. package/dist/services/negative-cache.js +164 -0
  113. package/dist/services/negative-cache.js.map +1 -0
  114. package/dist/skills/skill-auditor.d.ts +36 -0
  115. package/dist/skills/skill-auditor.d.ts.map +1 -0
  116. package/dist/skills/skill-auditor.js +89 -0
  117. package/dist/skills/skill-auditor.js.map +1 -0
  118. package/dist/skills/skill-installer.d.ts +41 -0
  119. package/dist/skills/skill-installer.d.ts.map +1 -0
  120. package/dist/skills/skill-installer.js +141 -0
  121. package/dist/skills/skill-installer.js.map +1 -0
  122. package/dist/skills/skill-scanner.d.ts +30 -0
  123. package/dist/skills/skill-scanner.d.ts.map +1 -0
  124. package/dist/skills/skill-scanner.js +249 -0
  125. package/dist/skills/skill-scanner.js.map +1 -0
  126. package/dist/tools/index.d.ts +2 -0
  127. package/dist/tools/index.d.ts.map +1 -1
  128. package/dist/tools/index.js +2 -0
  129. package/dist/tools/index.js.map +1 -1
  130. package/dist/tools/planning-tool.d.ts +95 -0
  131. package/dist/tools/planning-tool.d.ts.map +1 -0
  132. package/dist/tools/planning-tool.js +117 -0
  133. package/dist/tools/planning-tool.js.map +1 -0
  134. package/dist/tools/skill-tool.d.ts +94 -0
  135. package/dist/tools/skill-tool.d.ts.map +1 -0
  136. package/dist/tools/skill-tool.js +202 -0
  137. package/dist/tools/skill-tool.js.map +1 -0
  138. package/dist/tools/subagent-tool.d.ts +11 -0
  139. package/dist/tools/subagent-tool.d.ts.map +1 -0
  140. package/dist/tools/subagent-tool.js +87 -0
  141. package/dist/tools/subagent-tool.js.map +1 -0
  142. package/dist/types.d.ts +22 -0
  143. package/dist/types.d.ts.map +1 -1
  144. package/dist/utils/args.d.ts +5 -0
  145. package/dist/utils/args.d.ts.map +1 -0
  146. package/dist/utils/args.js +20 -0
  147. package/dist/utils/args.js.map +1 -0
  148. package/package.json +4 -1
  149. package/dist/dashboard/frontend/dist/assets/index-2FaDr6iS.js +0 -277
  150. package/dist/dashboard/frontend/dist/assets/index-B9-KXW14.css +0 -1
  151. package/dist/dashboard/frontend/dist/assets/index-BMxbyTer.css +0 -1
  152. package/dist/dashboard/frontend/dist/assets/index-BXUfB9iR.js +0 -253
  153. package/dist/dashboard/frontend/dist/assets/index-BcOGj1EF.css +0 -1
  154. package/dist/dashboard/frontend/dist/assets/index-BtiFO9YN.js +0 -261
  155. package/dist/dashboard/frontend/dist/assets/index-CQmpMTLW.js +0 -253
  156. package/dist/dashboard/frontend/dist/assets/index-Cfjy5acU.css +0 -1
  157. package/dist/dashboard/frontend/dist/assets/index-D41hcjgc.js +0 -253
  158. package/dist/dashboard/frontend/dist/assets/index-D83BawFd.css +0 -1
  159. package/dist/dashboard/frontend/dist/assets/index-DAODjoxu.css +0 -1
  160. package/dist/dashboard/frontend/dist/assets/index-DB-Eu5oV.js +0 -253
  161. package/dist/dashboard/frontend/dist/assets/index-W0VVEDu6.js +0 -253
  162. package/dist/dashboard/frontend/dist/assets/index-aK9PWl6w.js +0 -253
  163. package/dist/dashboard/frontend/vite.config.d.ts +0 -3
  164. package/dist/dashboard/frontend/vite.config.d.ts.map +0 -1
  165. package/dist/dashboard/frontend/vite.config.js +0 -11
  166. package/dist/dashboard/frontend/vite.config.js.map +0 -1
@@ -1,4 +1,4 @@
1
- (function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))s(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function s(u){if(u.ep)return;u.ep=!0;const f=i(u);fetch(u.href,f)}})();function Rc(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var zy={exports:{}},ah={},Uy={exports:{}},gc={exports:{}};gc.exports;var $T;function uz(){return $T||($T=1,(function(n,a){(function(){function i(T,q){Object.defineProperty(f.prototype,T,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",q[0],q[1])}})}function s(T){return T===null||typeof T!="object"?null:(T=Kn&&T[Kn]||T["@@iterator"],typeof T=="function"?T:null)}function u(T,q){T=(T=T.constructor)&&(T.displayName||T.name)||"ReactClass";var de=T+"."+q;Hr[de]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",q,T),Hr[de]=!0)}function f(T,q,de){this.props=T,this.context=q,this.refs=lt,this.updater=de||Ba}function d(){}function h(T,q,de){this.props=T,this.context=q,this.refs=lt,this.updater=de||Ba}function b(){}function g(T){return""+T}function p(T){try{g(T);var q=!1}catch{q=!0}if(q){q=console;var de=q.error,be=typeof Symbol=="function"&&Symbol.toStringTag&&T[Symbol.toStringTag]||T.constructor.name||"Object";return de.call(q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",be),g(T)}}function v(T){if(T==null)return null;if(typeof T=="function")return T.$$typeof===ls?null:T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case U:return"Fragment";case C:return"Profiler";case ue:return"StrictMode";case je:return"Suspense";case Ke:return"SuspenseList";case De:return"Activity"}if(typeof T=="object")switch(typeof T.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),T.$$typeof){case O:return"Portal";case at:return T.displayName||"Context";case xe:return(T._context.displayName||"Context")+".Consumer";case yn:var q=T.render;return T=T.displayName,T||(T=q.displayName||q.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case Ut:return q=T.displayName||null,q!==null?q:v(T.type)||"Memo";case Lt:q=T._payload,T=T._init;try{return v(T(q))}catch{}}return null}function x(T){if(T===U)return"<>";if(typeof T=="object"&&T!==null&&T.$$typeof===Lt)return"<...>";try{var q=v(T);return q?"<"+q+">":"<...>"}catch{return"<...>"}}function S(){var T=we.A;return T===null?null:T.getOwner()}function N(){return Error("react-stack-top-frame")}function V(T){if(yi.call(T,"key")){var q=Object.getOwnPropertyDescriptor(T,"key").get;if(q&&q.isReactWarning)return!1}return T.key!==void 0}function R(T,q){function de(){Ha||(Ha=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",q))}de.isReactWarning=!0,Object.defineProperty(T,"key",{get:de,configurable:!0})}function z(){var T=v(this.type);return us[T]||(us[T]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),T=this.props.ref,T!==void 0?T:null}function Q(T,q,de,be,ke,Pe){var Me=de.ref;return T={$$typeof:Oe,type:T,key:q,props:de,_owner:be},(Me!==void 0?Me:null)!==null?Object.defineProperty(T,"ref",{enumerable:!1,get:z}):Object.defineProperty(T,"ref",{enumerable:!1,value:null}),T._store={},Object.defineProperty(T._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(T,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(T,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ke}),Object.defineProperty(T,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Pe}),Object.freeze&&(Object.freeze(T.props),Object.freeze(T)),T}function I(T,q){return q=Q(T.type,q,T.props,T._owner,T._debugStack,T._debugTask),T._store&&(q._store.validated=T._store.validated),q}function ie(T){re(T)?T._store&&(T._store.validated=1):typeof T=="object"&&T!==null&&T.$$typeof===Lt&&(T._payload.status==="fulfilled"?re(T._payload.value)&&T._payload.value._store&&(T._payload.value._store.validated=1):T._store&&(T._store.validated=1))}function re(T){return typeof T=="object"&&T!==null&&T.$$typeof===Oe}function G(T){var q={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(de){return q[de]})}function ye(T,q){return typeof T=="object"&&T!==null&&T.key!=null?(p(T.key),G(""+T.key)):q.toString(36)}function se(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(b,b):(T.status="pending",T.then(function(q){T.status==="pending"&&(T.status="fulfilled",T.value=q)},function(q){T.status==="pending"&&(T.status="rejected",T.reason=q)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function ce(T,q,de,be,ke){var Pe=typeof T;(Pe==="undefined"||Pe==="boolean")&&(T=null);var Me=!1;if(T===null)Me=!0;else switch(Pe){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(T.$$typeof){case Oe:case O:Me=!0;break;case Lt:return Me=T._init,ce(Me(T._payload),q,de,be,ke)}}if(Me){Me=T,ke=ke(Me);var ot=be===""?"."+ye(Me,0):be;return gi(ke)?(de="",ot!=null&&(de=ot.replace(Ie,"$&/")+"/"),ce(ke,q,de,"",function(kn){return kn})):ke!=null&&(re(ke)&&(ke.key!=null&&(Me&&Me.key===ke.key||p(ke.key)),de=I(ke,de+(ke.key==null||Me&&Me.key===ke.key?"":(""+ke.key).replace(Ie,"$&/")+"/")+ot),be!==""&&Me!=null&&re(Me)&&Me.key==null&&Me._store&&!Me._store.validated&&(de._store.validated=2),ke=de),q.push(ke)),1}if(Me=0,ot=be===""?".":be+":",gi(T))for(var qe=0;qe<T.length;qe++)be=T[qe],Pe=ot+ye(be,qe),Me+=ce(be,q,de,Pe,ke);else if(qe=s(T),typeof qe=="function")for(qe===T.entries&&(Te||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Te=!0),T=qe.call(T),qe=0;!(be=T.next()).done;)be=be.value,Pe=ot+ye(be,qe++),Me+=ce(be,q,de,Pe,ke);else if(Pe==="object"){if(typeof T.then=="function")return ce(se(T),q,de,be,ke);throw q=String(T),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return Me}function F(T,q,de){if(T==null)return T;var be=[],ke=0;return ce(T,be,"","",function(Pe){return q.call(de,Pe,ke++)}),be}function he(T){if(T._status===-1){var q=T._ioInfo;q!=null&&(q.start=q.end=performance.now()),q=T._result;var de=q();if(de.then(function(ke){if(T._status===0||T._status===-1){T._status=1,T._result=ke;var Pe=T._ioInfo;Pe!=null&&(Pe.end=performance.now()),de.status===void 0&&(de.status="fulfilled",de.value=ke)}},function(ke){if(T._status===0||T._status===-1){T._status=2,T._result=ke;var Pe=T._ioInfo;Pe!=null&&(Pe.end=performance.now()),de.status===void 0&&(de.status="rejected",de.reason=ke)}}),q=T._ioInfo,q!=null){q.value=de;var be=de.displayName;typeof be=="string"&&(q.name=be)}T._status===-1&&(T._status=0,T._result=de)}if(T._status===1)return q=T._result,q===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ (function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))s(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function s(u){if(u.ep)return;u.ep=!0;const f=i(u);fetch(u.href,f)}})();function Rc(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var _g={exports:{}},ah={},Ug={exports:{}},yc={exports:{}};yc.exports;var XT;function c_(){return XT||(XT=1,(function(n,a){(function(){function i(T,q){Object.defineProperty(f.prototype,T,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",q[0],q[1])}})}function s(T){return T===null||typeof T!="object"?null:(T=Kn&&T[Kn]||T["@@iterator"],typeof T=="function"?T:null)}function u(T,q){T=(T=T.constructor)&&(T.displayName||T.name)||"ReactClass";var de=T+"."+q;Hr[de]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",q,T),Hr[de]=!0)}function f(T,q,de){this.props=T,this.context=q,this.refs=lt,this.updater=de||Ba}function d(){}function h(T,q,de){this.props=T,this.context=q,this.refs=lt,this.updater=de||Ba}function b(){}function y(T){return""+T}function p(T){try{y(T);var q=!1}catch{q=!0}if(q){q=console;var de=q.error,be=typeof Symbol=="function"&&Symbol.toStringTag&&T[Symbol.toStringTag]||T.constructor.name||"Object";return de.call(q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",be),y(T)}}function v(T){if(T==null)return null;if(typeof T=="function")return T.$$typeof===ls?null:T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case U:return"Fragment";case C:return"Profiler";case ue:return"StrictMode";case je:return"Suspense";case Ke:return"SuspenseList";case we:return"Activity"}if(typeof T=="object")switch(typeof T.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),T.$$typeof){case z:return"Portal";case at:return T.displayName||"Context";case xe:return(T._context.displayName||"Context")+".Consumer";case gn:var q=T.render;return T=T.displayName,T||(T=q.displayName||q.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case Ut:return q=T.displayName||null,q!==null?q:v(T.type)||"Memo";case Lt:q=T._payload,T=T._init;try{return v(T(q))}catch{}}return null}function x(T){if(T===U)return"<>";if(typeof T=="object"&&T!==null&&T.$$typeof===Lt)return"<...>";try{var q=v(T);return q?"<"+q+">":"<...>"}catch{return"<...>"}}function S(){var T=ke.A;return T===null?null:T.getOwner()}function N(){return Error("react-stack-top-frame")}function V(T){if(gi.call(T,"key")){var q=Object.getOwnPropertyDescriptor(T,"key").get;if(q&&q.isReactWarning)return!1}return T.key!==void 0}function R(T,q){function de(){Ha||(Ha=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",q))}de.isReactWarning=!0,Object.defineProperty(T,"key",{get:de,configurable:!0})}function _(){var T=v(this.type);return us[T]||(us[T]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),T=this.props.ref,T!==void 0?T:null}function Q(T,q,de,be,Ae,Pe){var Oe=de.ref;return T={$$typeof:ze,type:T,key:q,props:de,_owner:be},(Oe!==void 0?Oe:null)!==null?Object.defineProperty(T,"ref",{enumerable:!1,get:_}):Object.defineProperty(T,"ref",{enumerable:!1,value:null}),T._store={},Object.defineProperty(T._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(T,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(T,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ae}),Object.defineProperty(T,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Pe}),Object.freeze&&(Object.freeze(T.props),Object.freeze(T)),T}function I(T,q){return q=Q(T.type,q,T.props,T._owner,T._debugStack,T._debugTask),T._store&&(q._store.validated=T._store.validated),q}function ie(T){re(T)?T._store&&(T._store.validated=1):typeof T=="object"&&T!==null&&T.$$typeof===Lt&&(T._payload.status==="fulfilled"?re(T._payload.value)&&T._payload.value._store&&(T._payload.value._store.validated=1):T._store&&(T._store.validated=1))}function re(T){return typeof T=="object"&&T!==null&&T.$$typeof===ze}function G(T){var q={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(de){return q[de]})}function ge(T,q){return typeof T=="object"&&T!==null&&T.key!=null?(p(T.key),G(""+T.key)):q.toString(36)}function se(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(b,b):(T.status="pending",T.then(function(q){T.status==="pending"&&(T.status="fulfilled",T.value=q)},function(q){T.status==="pending"&&(T.status="rejected",T.reason=q)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function ce(T,q,de,be,Ae){var Pe=typeof T;(Pe==="undefined"||Pe==="boolean")&&(T=null);var Oe=!1;if(T===null)Oe=!0;else switch(Pe){case"bigint":case"string":case"number":Oe=!0;break;case"object":switch(T.$$typeof){case ze:case z:Oe=!0;break;case Lt:return Oe=T._init,ce(Oe(T._payload),q,de,be,Ae)}}if(Oe){Oe=T,Ae=Ae(Oe);var ot=be===""?"."+ge(Oe,0):be;return yi(Ae)?(de="",ot!=null&&(de=ot.replace(Ie,"$&/")+"/"),ce(Ae,q,de,"",function(An){return An})):Ae!=null&&(re(Ae)&&(Ae.key!=null&&(Oe&&Oe.key===Ae.key||p(Ae.key)),de=I(Ae,de+(Ae.key==null||Oe&&Oe.key===Ae.key?"":(""+Ae.key).replace(Ie,"$&/")+"/")+ot),be!==""&&Oe!=null&&re(Oe)&&Oe.key==null&&Oe._store&&!Oe._store.validated&&(de._store.validated=2),Ae=de),q.push(Ae)),1}if(Oe=0,ot=be===""?".":be+":",yi(T))for(var qe=0;qe<T.length;qe++)be=T[qe],Pe=ot+ge(be,qe),Oe+=ce(be,q,de,Pe,Ae);else if(qe=s(T),typeof qe=="function")for(qe===T.entries&&(Te||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Te=!0),T=qe.call(T),qe=0;!(be=T.next()).done;)be=be.value,Pe=ot+ge(be,qe++),Oe+=ce(be,q,de,Pe,Ae);else if(Pe==="object"){if(typeof T.then=="function")return ce(se(T),q,de,be,Ae);throw q=String(T),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return Oe}function F(T,q,de){if(T==null)return T;var be=[],Ae=0;return ce(T,be,"","",function(Pe){return q.call(de,Pe,Ae++)}),be}function he(T){if(T._status===-1){var q=T._ioInfo;q!=null&&(q.start=q.end=performance.now()),q=T._result;var de=q();if(de.then(function(Ae){if(T._status===0||T._status===-1){T._status=1,T._result=Ae;var Pe=T._ioInfo;Pe!=null&&(Pe.end=performance.now()),de.status===void 0&&(de.status="fulfilled",de.value=Ae)}},function(Ae){if(T._status===0||T._status===-1){T._status=2,T._result=Ae;var Pe=T._ioInfo;Pe!=null&&(Pe.end=performance.now()),de.status===void 0&&(de.status="rejected",de.reason=Ae)}}),q=T._ioInfo,q!=null){q.value=de;var be=de.displayName;typeof be=="string"&&(q.name=be)}T._status===-1&&(T._status=0,T._result=de)}if(T._status===1)return q=T._result,q===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -6,76 +6,76 @@ Your code should look like:
6
6
  Did you accidentally put curly braces around the import?`,q),"default"in q||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
7
 
8
8
  Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,q),q.default;throw T._result}function oe(){var T=we.H;return T===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,q),q.default;throw T._result}function oe(){var T=ke.H;return T===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
10
  1. You might have mismatching versions of React and the renderer (such as React DOM)
11
11
  2. You might be breaking the Rules of Hooks
12
12
  3. You might have more than one copy of React in the same app
13
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}function X(){we.asyncTransitions--}function ne(T){if(wn===null)try{var q=("require"+Math.random()).slice(0,7);wn=(n&&n[q]).call(n,"timers").setImmediate}catch{wn=function(be){Pt===!1&&(Pt=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ke=new MessageChannel;ke.port1.onmessage=be,ke.port2.postMessage(void 0)}}return wn(T)}function ae(T){return 1<T.length&&typeof AggregateError=="function"?new AggregateError(T):T[0]}function Y(T,q){q!==an-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),an=q}function le(T,q,de){var be=we.actQueue;if(be!==null)if(be.length!==0)try{pe(be),ne(function(){return le(T,q,de)});return}catch(ke){we.thrownErrors.push(ke)}else we.actQueue=null;0<we.thrownErrors.length?(be=ae(we.thrownErrors),we.thrownErrors.length=0,de(be)):q(T)}function pe(T){if(!yr){yr=!0;var q=0;try{for(;q<T.length;q++){var de=T[q];do{we.didUsePromise=!1;var be=de(!1);if(be!==null){if(we.didUsePromise){T[q]=de,T.splice(0,q);return}de=be}else break}while(!0)}T.length=0}catch(ke){T.splice(0,q+1),we.thrownErrors.push(ke)}finally{yr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Oe=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),xe=Symbol.for("react.consumer"),at=Symbol.for("react.context"),yn=Symbol.for("react.forward_ref"),je=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),Ut=Symbol.for("react.memo"),Lt=Symbol.for("react.lazy"),De=Symbol.for("react.activity"),Kn=Symbol.iterator,Hr={},Ba={isMounted:function(){return!1},enqueueForceUpdate:function(T){u(T,"forceUpdate")},enqueueReplaceState:function(T){u(T,"replaceState")},enqueueSetState:function(T){u(T,"setState")}},Pr=Object.assign,lt={};Object.freeze(lt),f.prototype.isReactComponent={},f.prototype.setState=function(T,q){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,q,"setState")},f.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};var Wt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Nn in Wt)Wt.hasOwnProperty(Nn)&&i(Nn,Wt[Nn]);d.prototype=f.prototype,Wt=h.prototype=new d,Wt.constructor=h,Pr(Wt,f.prototype),Wt.isPureReactComponent=!0;var gi=Array.isArray,ls=Symbol.for("react.client.reference"),we={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},yi=Object.prototype.hasOwnProperty,gr=console.createTask?console.createTask:function(){return null};Wt={react_stack_bottom_frame:function(T){return T()}};var Ha,ra,us={},W=Wt.react_stack_bottom_frame.bind(Wt,N)(),ee=gr(x(N)),Te=!1,Ie=/\/+/g,it=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},Pt=!1,wn=null,an=0,Wn=!1,yr=!1,qt=typeof queueMicrotask=="function"?function(T){queueMicrotask(function(){return queueMicrotask(T)})}:ne;Wt=Object.freeze({__proto__:null,c:function(T){return oe().useMemoCache(T)}});var Nn={map:F,forEach:function(T,q,de){F(T,function(){q.apply(this,arguments)},de)},count:function(T){var q=0;return F(T,function(){q++}),q},toArray:function(T){return F(T,function(q){return q})||[]},only:function(T){if(!re(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};a.Activity=De,a.Children=Nn,a.Component=f,a.Fragment=U,a.Profiler=C,a.PureComponent=h,a.StrictMode=ue,a.Suspense=je,a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=we,a.__COMPILER_RUNTIME=Wt,a.act=function(T){var q=we.actQueue,de=an;an++;var be=we.actQueue=q!==null?q:[],ke=!1;try{var Pe=T()}catch(qe){we.thrownErrors.push(qe)}if(0<we.thrownErrors.length)throw Y(q,de),T=ae(we.thrownErrors),we.thrownErrors.length=0,T;if(Pe!==null&&typeof Pe=="object"&&typeof Pe.then=="function"){var Me=Pe;return qt(function(){ke||Wn||(Wn=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(qe,kn){ke=!0,Me.then(function(aa){if(Y(q,de),de===0){try{pe(be),ne(function(){return le(aa,qe,kn)})}catch(cs){we.thrownErrors.push(cs)}if(0<we.thrownErrors.length){var Ic=ae(we.thrownErrors);we.thrownErrors.length=0,kn(Ic)}}else qe(aa)},function(aa){Y(q,de),0<we.thrownErrors.length&&(aa=ae(we.thrownErrors),we.thrownErrors.length=0),kn(aa)})}}}var ot=Pe;if(Y(q,de),de===0&&(pe(be),be.length!==0&&qt(function(){ke||Wn||(Wn=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),we.actQueue=null),0<we.thrownErrors.length)throw T=ae(we.thrownErrors),we.thrownErrors.length=0,T;return{then:function(qe,kn){ke=!0,de===0?(we.actQueue=be,ne(function(){return le(ot,qe,kn)})):qe(ot)}}},a.cache=function(T){return function(){return T.apply(null,arguments)}},a.cacheSignal=function(){return null},a.captureOwnerStack=function(){var T=we.getCurrentStack;return T===null?null:T()},a.cloneElement=function(T,q,de){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var be=Pr({},T.props),ke=T.key,Pe=T._owner;if(q!=null){var Me;e:{if(yi.call(q,"ref")&&(Me=Object.getOwnPropertyDescriptor(q,"ref").get)&&Me.isReactWarning){Me=!1;break e}Me=q.ref!==void 0}Me&&(Pe=S()),V(q)&&(p(q.key),ke=""+q.key);for(ot in q)!yi.call(q,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&q.ref===void 0||(be[ot]=q[ot])}var ot=arguments.length-2;if(ot===1)be.children=de;else if(1<ot){Me=Array(ot);for(var qe=0;qe<ot;qe++)Me[qe]=arguments[qe+2];be.children=Me}for(be=Q(T.type,ke,be,Pe,T._debugStack,T._debugTask),ke=2;ke<arguments.length;ke++)ie(arguments[ke]);return be},a.createContext=function(T){return T={$$typeof:at,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:xe,_context:T},T._currentRenderer=null,T._currentRenderer2=null,T},a.createElement=function(T,q,de){for(var be=2;be<arguments.length;be++)ie(arguments[be]);be={};var ke=null;if(q!=null)for(qe in ra||!("__self"in q)||"key"in q||(ra=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),V(q)&&(p(q.key),ke=""+q.key),q)yi.call(q,qe)&&qe!=="key"&&qe!=="__self"&&qe!=="__source"&&(be[qe]=q[qe]);var Pe=arguments.length-2;if(Pe===1)be.children=de;else if(1<Pe){for(var Me=Array(Pe),ot=0;ot<Pe;ot++)Me[ot]=arguments[ot+2];Object.freeze&&Object.freeze(Me),be.children=Me}if(T&&T.defaultProps)for(qe in Pe=T.defaultProps,Pe)be[qe]===void 0&&(be[qe]=Pe[qe]);ke&&R(be,typeof T=="function"?T.displayName||T.name||"Unknown":T);var qe=1e4>we.recentlyCreatedOwnerStacks++;return Q(T,ke,be,S(),qe?Error("react-stack-top-frame"):W,qe?gr(x(T)):ee)},a.createRef=function(){var T={current:null};return Object.seal(T),T},a.forwardRef=function(T){T!=null&&T.$$typeof===Ut?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof T!="function"?console.error("forwardRef requires a render function but was given %s.",T===null?"null":typeof T):T.length!==0&&T.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",T.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),T!=null&&T.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var q={$$typeof:yn,render:T},de;return Object.defineProperty(q,"displayName",{enumerable:!1,configurable:!0,get:function(){return de},set:function(be){de=be,T.name||T.displayName||(Object.defineProperty(T,"name",{value:be}),T.displayName=be)}}),q},a.isValidElement=re,a.lazy=function(T){T={_status:-1,_result:T};var q={$$typeof:Lt,_payload:T,_init:he},de={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return T._ioInfo=de,q._debugInfo=[{awaited:de}],q},a.memo=function(T,q){T==null&&console.error("memo: The first argument must be a component. Instead received: %s",T===null?"null":typeof T),q={$$typeof:Ut,type:T,compare:q===void 0?null:q};var de;return Object.defineProperty(q,"displayName",{enumerable:!1,configurable:!0,get:function(){return de},set:function(be){de=be,T.name||T.displayName||(Object.defineProperty(T,"name",{value:be}),T.displayName=be)}}),q},a.startTransition=function(T){var q=we.T,de={};de._updatedFibers=new Set,we.T=de;try{var be=T(),ke=we.S;ke!==null&&ke(de,be),typeof be=="object"&&be!==null&&typeof be.then=="function"&&(we.asyncTransitions++,be.then(X,X),be.then(b,it))}catch(Pe){it(Pe)}finally{q===null&&de._updatedFibers&&(T=de._updatedFibers.size,de._updatedFibers.clear(),10<T&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),q!==null&&de.types!==null&&(q.types!==null&&q.types!==de.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),q.types=de.types),we.T=q}},a.unstable_useCacheRefresh=function(){return oe().useCacheRefresh()},a.use=function(T){return oe().use(T)},a.useActionState=function(T,q,de){return oe().useActionState(T,q,de)},a.useCallback=function(T,q){return oe().useCallback(T,q)},a.useContext=function(T){var q=oe();return T.$$typeof===xe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),q.useContext(T)},a.useDebugValue=function(T,q){return oe().useDebugValue(T,q)},a.useDeferredValue=function(T,q){return oe().useDeferredValue(T,q)},a.useEffect=function(T,q){return T==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useEffect(T,q)},a.useEffectEvent=function(T){return oe().useEffectEvent(T)},a.useId=function(){return oe().useId()},a.useImperativeHandle=function(T,q,de){return oe().useImperativeHandle(T,q,de)},a.useInsertionEffect=function(T,q){return T==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useInsertionEffect(T,q)},a.useLayoutEffect=function(T,q){return T==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useLayoutEffect(T,q)},a.useMemo=function(T,q){return oe().useMemo(T,q)},a.useOptimistic=function(T,q){return oe().useOptimistic(T,q)},a.useReducer=function(T,q,de){return oe().useReducer(T,q,de)},a.useRef=function(T){return oe().useRef(T)},a.useState=function(T){return oe().useState(T)},a.useSyncExternalStore=function(T,q,de){return oe().useSyncExternalStore(T,q,de)},a.useTransition=function(){return oe().useTransition()},a.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(gc,gc.exports)),gc.exports}var XT;function Oc(){return XT||(XT=1,Uy.exports=uz()),Uy.exports}var QT;function cz(){if(QT)return ah;QT=1;return(function(){function n(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===he?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case R:return"Fragment";case Q:return"Profiler";case z:return"StrictMode";case G:return"Suspense";case ye:return"SuspenseList";case F:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case V:return"Portal";case ie:return U.displayName||"Context";case I:return(U._context.displayName||"Context")+".Consumer";case re:var ue=U.render;return U=U.displayName,U||(U=ue.displayName||ue.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case se:return ue=U.displayName||null,ue!==null?ue:n(U.type)||"Memo";case ce:ue=U._payload,U=U._init;try{return n(U(ue))}catch{}}return null}function a(U){return""+U}function i(U){try{a(U);var ue=!1}catch{ue=!0}if(ue){ue=console;var C=ue.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return C.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),a(U)}}function s(U){if(U===R)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ce)return"<...>";try{var ue=n(U);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function u(){var U=oe.A;return U===null?null:U.getOwner()}function f(){return Error("react-stack-top-frame")}function d(U){if(X.call(U,"key")){var ue=Object.getOwnPropertyDescriptor(U,"key").get;if(ue&&ue.isReactWarning)return!1}return U.key!==void 0}function h(U,ue){function C(){Y||(Y=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ue))}C.isReactWarning=!0,Object.defineProperty(U,"key",{get:C,configurable:!0})}function b(){var U=n(this.type);return le[U]||(le[U]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),U=this.props.ref,U!==void 0?U:null}function g(U,ue,C,xe,at,yn){var je=C.ref;return U={$$typeof:N,type:U,key:ue,props:C,_owner:xe},(je!==void 0?je:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:b}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:yn}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function p(U,ue,C,xe,at,yn){var je=ue.children;if(je!==void 0)if(xe)if(ne(je)){for(xe=0;xe<je.length;xe++)v(je[xe]);Object.freeze&&Object.freeze(je)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else v(je);if(X.call(ue,"key")){je=n(U);var Ke=Object.keys(ue).filter(function(Lt){return Lt!=="key"});xe=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",O[je+xe]||(Ke=0<Ke.length?"{"+Ke.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}function X(){ke.asyncTransitions--}function ne(T){if(kn===null)try{var q=("require"+Math.random()).slice(0,7);kn=(n&&n[q]).call(n,"timers").setImmediate}catch{kn=function(be){Pt===!1&&(Pt=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ae=new MessageChannel;Ae.port1.onmessage=be,Ae.port2.postMessage(void 0)}}return kn(T)}function ae(T){return 1<T.length&&typeof AggregateError=="function"?new AggregateError(T):T[0]}function Y(T,q){q!==an-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),an=q}function le(T,q,de){var be=ke.actQueue;if(be!==null)if(be.length!==0)try{pe(be),ne(function(){return le(T,q,de)});return}catch(Ae){ke.thrownErrors.push(Ae)}else ke.actQueue=null;0<ke.thrownErrors.length?(be=ae(ke.thrownErrors),ke.thrownErrors.length=0,de(be)):q(T)}function pe(T){if(!gr){gr=!0;var q=0;try{for(;q<T.length;q++){var de=T[q];do{ke.didUsePromise=!1;var be=de(!1);if(be!==null){if(ke.didUsePromise){T[q]=de,T.splice(0,q);return}de=be}else break}while(!0)}T.length=0}catch(Ae){T.splice(0,q+1),ke.thrownErrors.push(Ae)}finally{gr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ze=Symbol.for("react.transitional.element"),z=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),xe=Symbol.for("react.consumer"),at=Symbol.for("react.context"),gn=Symbol.for("react.forward_ref"),je=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),Ut=Symbol.for("react.memo"),Lt=Symbol.for("react.lazy"),we=Symbol.for("react.activity"),Kn=Symbol.iterator,Hr={},Ba={isMounted:function(){return!1},enqueueForceUpdate:function(T){u(T,"forceUpdate")},enqueueReplaceState:function(T){u(T,"replaceState")},enqueueSetState:function(T){u(T,"setState")}},Pr=Object.assign,lt={};Object.freeze(lt),f.prototype.isReactComponent={},f.prototype.setState=function(T,q){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,q,"setState")},f.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};var Wt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Nn in Wt)Wt.hasOwnProperty(Nn)&&i(Nn,Wt[Nn]);d.prototype=f.prototype,Wt=h.prototype=new d,Wt.constructor=h,Pr(Wt,f.prototype),Wt.isPureReactComponent=!0;var yi=Array.isArray,ls=Symbol.for("react.client.reference"),ke={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},gi=Object.prototype.hasOwnProperty,yr=console.createTask?console.createTask:function(){return null};Wt={react_stack_bottom_frame:function(T){return T()}};var Ha,ra,us={},W=Wt.react_stack_bottom_frame.bind(Wt,N)(),ee=yr(x(N)),Te=!1,Ie=/\/+/g,it=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},Pt=!1,kn=null,an=0,Wn=!1,gr=!1,qt=typeof queueMicrotask=="function"?function(T){queueMicrotask(function(){return queueMicrotask(T)})}:ne;Wt=Object.freeze({__proto__:null,c:function(T){return oe().useMemoCache(T)}});var Nn={map:F,forEach:function(T,q,de){F(T,function(){q.apply(this,arguments)},de)},count:function(T){var q=0;return F(T,function(){q++}),q},toArray:function(T){return F(T,function(q){return q})||[]},only:function(T){if(!re(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};a.Activity=we,a.Children=Nn,a.Component=f,a.Fragment=U,a.Profiler=C,a.PureComponent=h,a.StrictMode=ue,a.Suspense=je,a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ke,a.__COMPILER_RUNTIME=Wt,a.act=function(T){var q=ke.actQueue,de=an;an++;var be=ke.actQueue=q!==null?q:[],Ae=!1;try{var Pe=T()}catch(qe){ke.thrownErrors.push(qe)}if(0<ke.thrownErrors.length)throw Y(q,de),T=ae(ke.thrownErrors),ke.thrownErrors.length=0,T;if(Pe!==null&&typeof Pe=="object"&&typeof Pe.then=="function"){var Oe=Pe;return qt(function(){Ae||Wn||(Wn=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(qe,An){Ae=!0,Oe.then(function(aa){if(Y(q,de),de===0){try{pe(be),ne(function(){return le(aa,qe,An)})}catch(cs){ke.thrownErrors.push(cs)}if(0<ke.thrownErrors.length){var Ic=ae(ke.thrownErrors);ke.thrownErrors.length=0,An(Ic)}}else qe(aa)},function(aa){Y(q,de),0<ke.thrownErrors.length&&(aa=ae(ke.thrownErrors),ke.thrownErrors.length=0),An(aa)})}}}var ot=Pe;if(Y(q,de),de===0&&(pe(be),be.length!==0&&qt(function(){Ae||Wn||(Wn=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),ke.actQueue=null),0<ke.thrownErrors.length)throw T=ae(ke.thrownErrors),ke.thrownErrors.length=0,T;return{then:function(qe,An){Ae=!0,de===0?(ke.actQueue=be,ne(function(){return le(ot,qe,An)})):qe(ot)}}},a.cache=function(T){return function(){return T.apply(null,arguments)}},a.cacheSignal=function(){return null},a.captureOwnerStack=function(){var T=ke.getCurrentStack;return T===null?null:T()},a.cloneElement=function(T,q,de){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var be=Pr({},T.props),Ae=T.key,Pe=T._owner;if(q!=null){var Oe;e:{if(gi.call(q,"ref")&&(Oe=Object.getOwnPropertyDescriptor(q,"ref").get)&&Oe.isReactWarning){Oe=!1;break e}Oe=q.ref!==void 0}Oe&&(Pe=S()),V(q)&&(p(q.key),Ae=""+q.key);for(ot in q)!gi.call(q,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&q.ref===void 0||(be[ot]=q[ot])}var ot=arguments.length-2;if(ot===1)be.children=de;else if(1<ot){Oe=Array(ot);for(var qe=0;qe<ot;qe++)Oe[qe]=arguments[qe+2];be.children=Oe}for(be=Q(T.type,Ae,be,Pe,T._debugStack,T._debugTask),Ae=2;Ae<arguments.length;Ae++)ie(arguments[Ae]);return be},a.createContext=function(T){return T={$$typeof:at,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:xe,_context:T},T._currentRenderer=null,T._currentRenderer2=null,T},a.createElement=function(T,q,de){for(var be=2;be<arguments.length;be++)ie(arguments[be]);be={};var Ae=null;if(q!=null)for(qe in ra||!("__self"in q)||"key"in q||(ra=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),V(q)&&(p(q.key),Ae=""+q.key),q)gi.call(q,qe)&&qe!=="key"&&qe!=="__self"&&qe!=="__source"&&(be[qe]=q[qe]);var Pe=arguments.length-2;if(Pe===1)be.children=de;else if(1<Pe){for(var Oe=Array(Pe),ot=0;ot<Pe;ot++)Oe[ot]=arguments[ot+2];Object.freeze&&Object.freeze(Oe),be.children=Oe}if(T&&T.defaultProps)for(qe in Pe=T.defaultProps,Pe)be[qe]===void 0&&(be[qe]=Pe[qe]);Ae&&R(be,typeof T=="function"?T.displayName||T.name||"Unknown":T);var qe=1e4>ke.recentlyCreatedOwnerStacks++;return Q(T,Ae,be,S(),qe?Error("react-stack-top-frame"):W,qe?yr(x(T)):ee)},a.createRef=function(){var T={current:null};return Object.seal(T),T},a.forwardRef=function(T){T!=null&&T.$$typeof===Ut?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof T!="function"?console.error("forwardRef requires a render function but was given %s.",T===null?"null":typeof T):T.length!==0&&T.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",T.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),T!=null&&T.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var q={$$typeof:gn,render:T},de;return Object.defineProperty(q,"displayName",{enumerable:!1,configurable:!0,get:function(){return de},set:function(be){de=be,T.name||T.displayName||(Object.defineProperty(T,"name",{value:be}),T.displayName=be)}}),q},a.isValidElement=re,a.lazy=function(T){T={_status:-1,_result:T};var q={$$typeof:Lt,_payload:T,_init:he},de={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return T._ioInfo=de,q._debugInfo=[{awaited:de}],q},a.memo=function(T,q){T==null&&console.error("memo: The first argument must be a component. Instead received: %s",T===null?"null":typeof T),q={$$typeof:Ut,type:T,compare:q===void 0?null:q};var de;return Object.defineProperty(q,"displayName",{enumerable:!1,configurable:!0,get:function(){return de},set:function(be){de=be,T.name||T.displayName||(Object.defineProperty(T,"name",{value:be}),T.displayName=be)}}),q},a.startTransition=function(T){var q=ke.T,de={};de._updatedFibers=new Set,ke.T=de;try{var be=T(),Ae=ke.S;Ae!==null&&Ae(de,be),typeof be=="object"&&be!==null&&typeof be.then=="function"&&(ke.asyncTransitions++,be.then(X,X),be.then(b,it))}catch(Pe){it(Pe)}finally{q===null&&de._updatedFibers&&(T=de._updatedFibers.size,de._updatedFibers.clear(),10<T&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),q!==null&&de.types!==null&&(q.types!==null&&q.types!==de.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),q.types=de.types),ke.T=q}},a.unstable_useCacheRefresh=function(){return oe().useCacheRefresh()},a.use=function(T){return oe().use(T)},a.useActionState=function(T,q,de){return oe().useActionState(T,q,de)},a.useCallback=function(T,q){return oe().useCallback(T,q)},a.useContext=function(T){var q=oe();return T.$$typeof===xe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),q.useContext(T)},a.useDebugValue=function(T,q){return oe().useDebugValue(T,q)},a.useDeferredValue=function(T,q){return oe().useDeferredValue(T,q)},a.useEffect=function(T,q){return T==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useEffect(T,q)},a.useEffectEvent=function(T){return oe().useEffectEvent(T)},a.useId=function(){return oe().useId()},a.useImperativeHandle=function(T,q,de){return oe().useImperativeHandle(T,q,de)},a.useInsertionEffect=function(T,q){return T==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useInsertionEffect(T,q)},a.useLayoutEffect=function(T,q){return T==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),oe().useLayoutEffect(T,q)},a.useMemo=function(T,q){return oe().useMemo(T,q)},a.useOptimistic=function(T,q){return oe().useOptimistic(T,q)},a.useReducer=function(T,q,de){return oe().useReducer(T,q,de)},a.useRef=function(T){return oe().useRef(T)},a.useState=function(T){return oe().useState(T)},a.useSyncExternalStore=function(T,q,de){return oe().useSyncExternalStore(T,q,de)},a.useTransition=function(){return oe().useTransition()},a.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(yc,yc.exports)),yc.exports}var QT;function zc(){return QT||(QT=1,Ug.exports=c_()),Ug.exports}var ZT;function f_(){if(ZT)return ah;ZT=1;return(function(){function n(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===he?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case R:return"Fragment";case Q:return"Profiler";case _:return"StrictMode";case G:return"Suspense";case ge:return"SuspenseList";case F:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case V:return"Portal";case ie:return U.displayName||"Context";case I:return(U._context.displayName||"Context")+".Consumer";case re:var ue=U.render;return U=U.displayName,U||(U=ue.displayName||ue.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case se:return ue=U.displayName||null,ue!==null?ue:n(U.type)||"Memo";case ce:ue=U._payload,U=U._init;try{return n(U(ue))}catch{}}return null}function a(U){return""+U}function i(U){try{a(U);var ue=!1}catch{ue=!0}if(ue){ue=console;var C=ue.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return C.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),a(U)}}function s(U){if(U===R)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ce)return"<...>";try{var ue=n(U);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function u(){var U=oe.A;return U===null?null:U.getOwner()}function f(){return Error("react-stack-top-frame")}function d(U){if(X.call(U,"key")){var ue=Object.getOwnPropertyDescriptor(U,"key").get;if(ue&&ue.isReactWarning)return!1}return U.key!==void 0}function h(U,ue){function C(){Y||(Y=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ue))}C.isReactWarning=!0,Object.defineProperty(U,"key",{get:C,configurable:!0})}function b(){var U=n(this.type);return le[U]||(le[U]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),U=this.props.ref,U!==void 0?U:null}function y(U,ue,C,xe,at,gn){var je=C.ref;return U={$$typeof:N,type:U,key:ue,props:C,_owner:xe},(je!==void 0?je:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:b}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:gn}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function p(U,ue,C,xe,at,gn){var je=ue.children;if(je!==void 0)if(xe)if(ne(je)){for(xe=0;xe<je.length;xe++)v(je[xe]);Object.freeze&&Object.freeze(je)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else v(je);if(X.call(ue,"key")){je=n(U);var Ke=Object.keys(ue).filter(function(Lt){return Lt!=="key"});xe=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",z[je+xe]||(Ke=0<Ke.length?"{"+Ke.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
14
14
  let props = %s;
15
15
  <%s {...props} />
16
16
  React keys must be passed directly to JSX without using spread:
17
17
  let props = %s;
18
- <%s key={someKey} {...props} />`,xe,je,Ke,je),O[je+xe]=!0)}if(je=null,C!==void 0&&(i(C),je=""+C),d(ue)&&(i(ue.key),je=""+ue.key),"key"in ue){C={};for(var Ut in ue)Ut!=="key"&&(C[Ut]=ue[Ut])}else C=ue;return je&&h(C,typeof U=="function"?U.displayName||U.name||"Unknown":U),g(U,je,C,u(),at,yn)}function v(U){x(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ce&&(U._payload.status==="fulfilled"?x(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function x(U){return typeof U=="object"&&U!==null&&U.$$typeof===N}var S=Oc(),N=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ye=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),oe=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Object.prototype.hasOwnProperty,ne=Array.isArray,ae=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(U){return U()}};var Y,le={},pe=S.react_stack_bottom_frame.bind(S,f)(),Oe=ae(s(f)),O={};ah.Fragment=R,ah.jsxDEV=function(U,ue,C,xe){var at=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,xe,at?Error("react-stack-top-frame"):pe,at?ae(s(U)):Oe)}})(),ah}var ZT;function fz(){return ZT||(ZT=1,zy.exports=cz()),zy.exports}var k=fz(),me=Oc();const Hh=Rc(me);var jy={exports:{}},lc={},Vy={exports:{}},Ly={},JT;function dz(){return JT||(JT=1,(function(n){(function(){function a(){if(re=!1,ce){var Y=n.unstable_now();oe=Y;var le=!0;try{e:{I=!1,ie&&(ie=!1,ye(F),F=-1),Q=!0;var pe=z;try{t:{for(d(Y),R=s(S);R!==null&&!(R.expirationTime>Y&&b());){var Oe=R.callback;if(typeof Oe=="function"){R.callback=null,z=R.priorityLevel;var O=Oe(R.expirationTime<=Y);if(Y=n.unstable_now(),typeof O=="function"){R.callback=O,d(Y),le=!0;break t}R===s(S)&&u(S),d(Y)}else u(S);R=s(S)}if(R!==null)le=!0;else{var U=s(N);U!==null&&g(h,U.startTime-Y),le=!1}}break e}finally{R=null,z=pe,Q=!1}le=void 0}}finally{le?X():ce=!1}}}function i(Y,le){var pe=Y.length;Y.push(le);e:for(;0<pe;){var Oe=pe-1>>>1,O=Y[Oe];if(0<f(O,le))Y[Oe]=le,Y[pe]=O,pe=Oe;else break e}}function s(Y){return Y.length===0?null:Y[0]}function u(Y){if(Y.length===0)return null;var le=Y[0],pe=Y.pop();if(pe!==le){Y[0]=pe;e:for(var Oe=0,O=Y.length,U=O>>>1;Oe<U;){var ue=2*(Oe+1)-1,C=Y[ue],xe=ue+1,at=Y[xe];if(0>f(C,pe))xe<O&&0>f(at,C)?(Y[Oe]=at,Y[xe]=pe,Oe=xe):(Y[Oe]=C,Y[ue]=pe,Oe=ue);else if(xe<O&&0>f(at,pe))Y[Oe]=at,Y[xe]=pe,Oe=xe;else break e}}return le}function f(Y,le){var pe=Y.sortIndex-le.sortIndex;return pe!==0?pe:Y.id-le.id}function d(Y){for(var le=s(N);le!==null;){if(le.callback===null)u(N);else if(le.startTime<=Y)u(N),le.sortIndex=le.expirationTime,i(S,le);else break;le=s(N)}}function h(Y){if(ie=!1,d(Y),!I)if(s(S)!==null)I=!0,ce||(ce=!0,X());else{var le=s(N);le!==null&&g(h,le.startTime-Y)}}function b(){return re?!0:!(n.unstable_now()-oe<he)}function g(Y,le){F=G(function(){Y(n.unstable_now())},le)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var v=Date,x=v.now();n.unstable_now=function(){return v.now()-x}}var S=[],N=[],V=1,R=null,z=3,Q=!1,I=!1,ie=!1,re=!1,G=typeof setTimeout=="function"?setTimeout:null,ye=typeof clearTimeout=="function"?clearTimeout:null,se=typeof setImmediate<"u"?setImmediate:null,ce=!1,F=-1,he=5,oe=-1;if(typeof se=="function")var X=function(){se(a)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,ae=ne.port2;ne.port1.onmessage=a,X=function(){ae.postMessage(null)}}else X=function(){G(a,0)};n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Y){Y.callback=null},n.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<Y?Math.floor(1e3/Y):5},n.unstable_getCurrentPriorityLevel=function(){return z},n.unstable_next=function(Y){switch(z){case 1:case 2:case 3:var le=3;break;default:le=z}var pe=z;z=le;try{return Y()}finally{z=pe}},n.unstable_requestPaint=function(){re=!0},n.unstable_runWithPriority=function(Y,le){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var pe=z;z=Y;try{return le()}finally{z=pe}},n.unstable_scheduleCallback=function(Y,le,pe){var Oe=n.unstable_now();switch(typeof pe=="object"&&pe!==null?(pe=pe.delay,pe=typeof pe=="number"&&0<pe?Oe+pe:Oe):pe=Oe,Y){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=pe+O,Y={id:V++,callback:le,priorityLevel:Y,startTime:pe,expirationTime:O,sortIndex:-1},pe>Oe?(Y.sortIndex=pe,i(N,Y),s(S)===null&&Y===s(N)&&(ie?(ye(F),F=-1):ie=!0,g(h,pe-Oe))):(Y.sortIndex=O,i(S,Y),I||Q||(I=!0,ce||(ce=!0,X()))),Y},n.unstable_shouldYield=b,n.unstable_wrapCallback=function(Y){var le=z;return function(){var pe=z;z=le;try{return Y.apply(this,arguments)}finally{z=pe}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Ly)),Ly}var KT;function hz(){return KT||(KT=1,Vy.exports=dz()),Vy.exports}var By={exports:{}},Sn={},WT;function mz(){if(WT)return Sn;WT=1;return(function(){function n(){}function a(v){return""+v}function i(v,x,S){var N=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{a(N);var V=!1}catch{V=!0}return V&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&N[Symbol.toStringTag]||N.constructor.name||"Object"),a(N)),{$$typeof:g,key:N==null?null:""+N,children:v,containerInfo:x,implementation:S}}function s(v,x){if(v==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}function u(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":'something with type "'+typeof v+'"'}function f(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":typeof v=="string"?JSON.stringify(v):typeof v=="number"?"`"+v+"`":'something with type "'+typeof v+'"'}function d(){var v=p.H;return v===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
18
+ <%s key={someKey} {...props} />`,xe,je,Ke,je),z[je+xe]=!0)}if(je=null,C!==void 0&&(i(C),je=""+C),d(ue)&&(i(ue.key),je=""+ue.key),"key"in ue){C={};for(var Ut in ue)Ut!=="key"&&(C[Ut]=ue[Ut])}else C=ue;return je&&h(C,typeof U=="function"?U.displayName||U.name||"Unknown":U),y(U,je,C,u(),at,gn)}function v(U){x(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ce&&(U._payload.status==="fulfilled"?x(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function x(U){return typeof U=="object"&&U!==null&&U.$$typeof===N}var S=zc(),N=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),oe=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Object.prototype.hasOwnProperty,ne=Array.isArray,ae=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(U){return U()}};var Y,le={},pe=S.react_stack_bottom_frame.bind(S,f)(),ze=ae(s(f)),z={};ah.Fragment=R,ah.jsxDEV=function(U,ue,C,xe){var at=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,xe,at?Error("react-stack-top-frame"):pe,at?ae(s(U)):ze)}})(),ah}var JT;function d_(){return JT||(JT=1,_g.exports=f_()),_g.exports}var A=d_(),me=zc();const Hh=Rc(me);var jg={exports:{}},lc={},Vg={exports:{}},Lg={},KT;function h_(){return KT||(KT=1,(function(n){(function(){function a(){if(re=!1,ce){var Y=n.unstable_now();oe=Y;var le=!0;try{e:{I=!1,ie&&(ie=!1,ge(F),F=-1),Q=!0;var pe=_;try{t:{for(d(Y),R=s(S);R!==null&&!(R.expirationTime>Y&&b());){var ze=R.callback;if(typeof ze=="function"){R.callback=null,_=R.priorityLevel;var z=ze(R.expirationTime<=Y);if(Y=n.unstable_now(),typeof z=="function"){R.callback=z,d(Y),le=!0;break t}R===s(S)&&u(S),d(Y)}else u(S);R=s(S)}if(R!==null)le=!0;else{var U=s(N);U!==null&&y(h,U.startTime-Y),le=!1}}break e}finally{R=null,_=pe,Q=!1}le=void 0}}finally{le?X():ce=!1}}}function i(Y,le){var pe=Y.length;Y.push(le);e:for(;0<pe;){var ze=pe-1>>>1,z=Y[ze];if(0<f(z,le))Y[ze]=le,Y[pe]=z,pe=ze;else break e}}function s(Y){return Y.length===0?null:Y[0]}function u(Y){if(Y.length===0)return null;var le=Y[0],pe=Y.pop();if(pe!==le){Y[0]=pe;e:for(var ze=0,z=Y.length,U=z>>>1;ze<U;){var ue=2*(ze+1)-1,C=Y[ue],xe=ue+1,at=Y[xe];if(0>f(C,pe))xe<z&&0>f(at,C)?(Y[ze]=at,Y[xe]=pe,ze=xe):(Y[ze]=C,Y[ue]=pe,ze=ue);else if(xe<z&&0>f(at,pe))Y[ze]=at,Y[xe]=pe,ze=xe;else break e}}return le}function f(Y,le){var pe=Y.sortIndex-le.sortIndex;return pe!==0?pe:Y.id-le.id}function d(Y){for(var le=s(N);le!==null;){if(le.callback===null)u(N);else if(le.startTime<=Y)u(N),le.sortIndex=le.expirationTime,i(S,le);else break;le=s(N)}}function h(Y){if(ie=!1,d(Y),!I)if(s(S)!==null)I=!0,ce||(ce=!0,X());else{var le=s(N);le!==null&&y(h,le.startTime-Y)}}function b(){return re?!0:!(n.unstable_now()-oe<he)}function y(Y,le){F=G(function(){Y(n.unstable_now())},le)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var v=Date,x=v.now();n.unstable_now=function(){return v.now()-x}}var S=[],N=[],V=1,R=null,_=3,Q=!1,I=!1,ie=!1,re=!1,G=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,se=typeof setImmediate<"u"?setImmediate:null,ce=!1,F=-1,he=5,oe=-1;if(typeof se=="function")var X=function(){se(a)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,ae=ne.port2;ne.port1.onmessage=a,X=function(){ae.postMessage(null)}}else X=function(){G(a,0)};n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Y){Y.callback=null},n.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<Y?Math.floor(1e3/Y):5},n.unstable_getCurrentPriorityLevel=function(){return _},n.unstable_next=function(Y){switch(_){case 1:case 2:case 3:var le=3;break;default:le=_}var pe=_;_=le;try{return Y()}finally{_=pe}},n.unstable_requestPaint=function(){re=!0},n.unstable_runWithPriority=function(Y,le){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var pe=_;_=Y;try{return le()}finally{_=pe}},n.unstable_scheduleCallback=function(Y,le,pe){var ze=n.unstable_now();switch(typeof pe=="object"&&pe!==null?(pe=pe.delay,pe=typeof pe=="number"&&0<pe?ze+pe:ze):pe=ze,Y){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=pe+z,Y={id:V++,callback:le,priorityLevel:Y,startTime:pe,expirationTime:z,sortIndex:-1},pe>ze?(Y.sortIndex=pe,i(N,Y),s(S)===null&&Y===s(N)&&(ie?(ge(F),F=-1):ie=!0,y(h,pe-ze))):(Y.sortIndex=z,i(S,Y),I||Q||(I=!0,ce||(ce=!0,X()))),Y},n.unstable_shouldYield=b,n.unstable_wrapCallback=function(Y){var le=_;return function(){var pe=_;_=le;try{return Y.apply(this,arguments)}finally{_=pe}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Lg)),Lg}var WT;function m_(){return WT||(WT=1,Vg.exports=h_()),Vg.exports}var Bg={exports:{}},Sn={},eD;function p_(){if(eD)return Sn;eD=1;return(function(){function n(){}function a(v){return""+v}function i(v,x,S){var N=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{a(N);var V=!1}catch{V=!0}return V&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&N[Symbol.toStringTag]||N.constructor.name||"Object"),a(N)),{$$typeof:y,key:N==null?null:""+N,children:v,containerInfo:x,implementation:S}}function s(v,x){if(v==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}function u(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":'something with type "'+typeof v+'"'}function f(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":typeof v=="string"?JSON.stringify(v):typeof v=="number"?"`"+v+"`":'something with type "'+typeof v+'"'}function d(){var v=p.H;return v===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
19
19
  1. You might have mismatching versions of React and the renderer (such as React DOM)
20
20
  2. You might be breaking the Rules of Hooks
21
21
  3. You might have more than one copy of React in the same app
22
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var h=Oc(),b={d:{f:n,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},g=Symbol.for("react.portal"),p=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Sn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,Sn.createPortal=function(v,x){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error("Target container is not a DOM element.");return i(v,x,null,S)},Sn.flushSync=function(v){var x=p.T,S=b.p;try{if(p.T=null,b.p=2,v)return v()}finally{p.T=x,b.p=S,b.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Sn.preconnect=function(v,x){typeof v=="string"&&v?x!=null&&typeof x!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",f(x)):x!=null&&typeof x.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",u(x.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,b.d.C(v,x))},Sn.prefetchDNS=function(v){if(typeof v!="string"||!v)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v));else if(1<arguments.length){var x=arguments[1];typeof x=="object"&&x.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(x)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(x))}typeof v=="string"&&b.d.D(v)},Sn.preinit=function(v,x){if(typeof v=="string"&&v?x==null||typeof x!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",f(x)):x.as!=="style"&&x.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',f(x.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v=="string"&&x&&typeof x.as=="string"){var S=x.as,N=s(S,x.crossOrigin),V=typeof x.integrity=="string"?x.integrity:void 0,R=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;S==="style"?b.d.S(v,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:N,integrity:V,fetchPriority:R}):S==="script"&&b.d.X(v,{crossOrigin:N,integrity:V,fetchPriority:R,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},Sn.preinitModule=function(v,x){var S="";typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x!==void 0&&typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":x&&"as"in x&&x.as!=="script"&&(S+=" The `as` option encountered was "+f(x.as)+"."),S?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",S):(S=x&&typeof x.as=="string"?x.as:"script",S)==="script"||(S=f(S),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',S,v)),typeof v=="string"&&(typeof x=="object"&&x!==null?(x.as==null||x.as==="script")&&(S=s(x.as,x.crossOrigin),b.d.M(v,{crossOrigin:S,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})):x==null&&b.d.M(v))},Sn.preload=function(v,x){var S="";if(typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x==null||typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":typeof x.as=="string"&&x.as||(S+=" The `as` option encountered was "+u(x.as)+"."),S&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',S),typeof v=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){S=x.as;var N=s(S,x.crossOrigin);b.d.L(v,S,{crossOrigin:N,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},Sn.preloadModule=function(v,x){var S="";typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x!==void 0&&typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":x&&"as"in x&&typeof x.as!="string"&&(S+=" The `as` option encountered was "+u(x.as)+"."),S&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',S),typeof v=="string"&&(x?(S=s(x.as,x.crossOrigin),b.d.m(v,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:S,integrity:typeof x.integrity=="string"?x.integrity:void 0})):b.d.m(v))},Sn.requestFormReset=function(v){b.d.r(v)},Sn.unstable_batchedUpdates=function(v,x){return v(x)},Sn.useFormState=function(v,x,S){return d().useFormState(v,x,S)},Sn.useFormStatus=function(){return d().useHostTransitionStatus()},Sn.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Sn}var eA;function pz(){return eA||(eA=1,By.exports=mz()),By.exports}var tA;function gz(){if(tA)return lc;tA=1;return(function(){function n(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function a(e,t,r,o){if(r>=t.length)return o;var l=t[r],c=en(e)?e.slice():Je({},e);return c[l]=a(e[l],t,r+1,o),c}function i(e,t,r){if(t.length!==r.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<r.length-1;o++)if(t[o]!==r[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,r,0)}}function s(e,t,r,o){var l=t[o],c=en(e)?e.slice():Je({},e);return o+1===t.length?(c[r[o]]=c[l],en(c)?c.splice(l,1):delete c[l]):c[l]=s(e[l],t,r,o+1),c}function u(e,t,r){var o=t[r],l=en(e)?e.slice():Je({},e);return r+1===t.length?(en(l)?l.splice(o,1):delete l[o],l):(l[o]=u(e[o],t,r+1),l)}function f(){return!1}function d(){return null}function h(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function b(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function g(){}function p(){}function v(e){var t=[];return e.forEach(function(r){t.push(r)}),t.sort().join(", ")}function x(e,t,r,o){return new ZR(e,t,r,o)}function S(e,t){e.context===Vi&&(Wp(e.current,2,t,e,null,null),Es())}function N(e,t){if(Tr!==null){var r=t.staleFamilies;t=t.updatedFamilies,ru(),W0(e.current,t,r),Es()}}function V(e){Tr=e}function R(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function z(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Q(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 I(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 ie(e){if(z(e)!==e)throw Error("Unable to find node on an unmounted component.")}function re(e){var t=e.alternate;if(!t){if(t=z(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,o=t;;){var l=r.return;if(l===null)break;var c=l.alternate;if(c===null){if(o=l.return,o!==null){r=o;continue}break}if(l.child===c.child){for(c=l.child;c;){if(c===r)return ie(l),e;if(c===o)return ie(l),t;c=c.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=l,o=c;else{for(var m=!1,y=l.child;y;){if(y===r){m=!0,r=l,o=c;break}if(y===o){m=!0,o=l,r=c;break}y=y.sibling}if(!m){for(y=c.child;y;){if(y===r){m=!0,r=c,o=l;break}if(y===o){m=!0,o=c,r=l;break}y=y.sibling}if(!m)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}function ye(e){return e===null||typeof e!="object"?null:(e=oD&&e[oD]||e["@@iterator"],typeof e=="function"?e:null)}function se(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===bM?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Rs:return"Fragment";case og:return"Profiler";case Kf:return"StrictMode";case lg:return"Suspense";case ug:return"SuspenseList";case cg:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Cs:return"Portal";case Da:return e.displayName||"Context";case sg:return(e._context.displayName||"Context")+".Consumer";case hu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wf:return t=e.displayName||null,t!==null?t:se(e.type)||"Memo";case sr:t=e._payload,e=e._init;try{return se(e(t))}catch{}}return null}function ce(e){return typeof e.tag=="number"?F(e):typeof e.name=="string"?e.name:null}function F(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return se(t);case 8:return t===Kf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var r=t.length-1;0<=r;r--)if(typeof t[r].name=="string")return t[r].name}if(e.return!==null)return F(e.return)}return null}function he(e){return{current:e}}function oe(e,t){0>Za?console.error("Unexpected pop."):(t!==dg[Za]&&console.error("Unexpected Fiber popped."),e.current=fg[Za],fg[Za]=null,dg[Za]=null,Za--)}function X(e,t,r){Za++,fg[Za]=e.current,dg[Za]=r,e.current=t}function ne(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ae(e,t){X(Oi,t,e),X(mu,e,e),X(Ri,null,e);var r=t.nodeType;switch(r){case 9:case 11:r=r===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?RS(t):fi;break;default:if(r=t.tagName,t=t.namespaceURI)t=RS(t),t=OS(t,r);else switch(r){case"svg":t=cl;break;case"math":t=Jd;break;default:t=fi}}r=r.toLowerCase(),r=T0(null,r),r={context:t,ancestorInfo:r},oe(Ri,e),X(Ri,r,e)}function Y(e){oe(Ri,e),oe(mu,e),oe(Oi,e)}function le(){return ne(Ri.current)}function pe(e){e.memoizedState!==null&&X(ed,e,e);var t=ne(Ri.current),r=e.type,o=OS(t.context,r);r=T0(t.ancestorInfo,r),o={context:o,ancestorInfo:r},t!==o&&(X(mu,e,e),X(Ri,o,e))}function Oe(e){mu.current===e&&(oe(Ri,e),oe(mu,e)),ed.current===e&&(oe(ed,e),ic._currentValue=Jo)}function O(){}function U(){if(pu===0){sD=console.log,lD=console.info,uD=console.warn,cD=console.error,fD=console.group,dD=console.groupCollapsed,hD=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}pu++}function ue(){if(pu--,pu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Je({},e,{value:sD}),info:Je({},e,{value:lD}),warn:Je({},e,{value:uD}),error:Je({},e,{value:cD}),group:Je({},e,{value:fD}),groupCollapsed:Je({},e,{value:dD}),groupEnd:Je({},e,{value:hD})})}0>pu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function C(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
22
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var h=zc(),b={d:{f:n,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},y=Symbol.for("react.portal"),p=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Sn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,Sn.createPortal=function(v,x){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error("Target container is not a DOM element.");return i(v,x,null,S)},Sn.flushSync=function(v){var x=p.T,S=b.p;try{if(p.T=null,b.p=2,v)return v()}finally{p.T=x,b.p=S,b.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Sn.preconnect=function(v,x){typeof v=="string"&&v?x!=null&&typeof x!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",f(x)):x!=null&&typeof x.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",u(x.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,b.d.C(v,x))},Sn.prefetchDNS=function(v){if(typeof v!="string"||!v)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v));else if(1<arguments.length){var x=arguments[1];typeof x=="object"&&x.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(x)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(x))}typeof v=="string"&&b.d.D(v)},Sn.preinit=function(v,x){if(typeof v=="string"&&v?x==null||typeof x!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",f(x)):x.as!=="style"&&x.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',f(x.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v=="string"&&x&&typeof x.as=="string"){var S=x.as,N=s(S,x.crossOrigin),V=typeof x.integrity=="string"?x.integrity:void 0,R=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;S==="style"?b.d.S(v,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:N,integrity:V,fetchPriority:R}):S==="script"&&b.d.X(v,{crossOrigin:N,integrity:V,fetchPriority:R,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},Sn.preinitModule=function(v,x){var S="";typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x!==void 0&&typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":x&&"as"in x&&x.as!=="script"&&(S+=" The `as` option encountered was "+f(x.as)+"."),S?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",S):(S=x&&typeof x.as=="string"?x.as:"script",S)==="script"||(S=f(S),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',S,v)),typeof v=="string"&&(typeof x=="object"&&x!==null?(x.as==null||x.as==="script")&&(S=s(x.as,x.crossOrigin),b.d.M(v,{crossOrigin:S,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})):x==null&&b.d.M(v))},Sn.preload=function(v,x){var S="";if(typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x==null||typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":typeof x.as=="string"&&x.as||(S+=" The `as` option encountered was "+u(x.as)+"."),S&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',S),typeof v=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){S=x.as;var N=s(S,x.crossOrigin);b.d.L(v,S,{crossOrigin:N,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},Sn.preloadModule=function(v,x){var S="";typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x!==void 0&&typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":x&&"as"in x&&typeof x.as!="string"&&(S+=" The `as` option encountered was "+u(x.as)+"."),S&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',S),typeof v=="string"&&(x?(S=s(x.as,x.crossOrigin),b.d.m(v,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:S,integrity:typeof x.integrity=="string"?x.integrity:void 0})):b.d.m(v))},Sn.requestFormReset=function(v){b.d.r(v)},Sn.unstable_batchedUpdates=function(v,x){return v(x)},Sn.useFormState=function(v,x,S){return d().useFormState(v,x,S)},Sn.useFormStatus=function(){return d().useHostTransitionStatus()},Sn.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Sn}var tD;function y_(){return tD||(tD=1,Bg.exports=p_()),Bg.exports}var nD;function g_(){if(nD)return lc;nD=1;return(function(){function n(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function a(e,t,r,o){if(r>=t.length)return o;var l=t[r],c=en(e)?e.slice():Je({},e);return c[l]=a(e[l],t,r+1,o),c}function i(e,t,r){if(t.length!==r.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<r.length-1;o++)if(t[o]!==r[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,r,0)}}function s(e,t,r,o){var l=t[o],c=en(e)?e.slice():Je({},e);return o+1===t.length?(c[r[o]]=c[l],en(c)?c.splice(l,1):delete c[l]):c[l]=s(e[l],t,r,o+1),c}function u(e,t,r){var o=t[r],l=en(e)?e.slice():Je({},e);return r+1===t.length?(en(l)?l.splice(o,1):delete l[o],l):(l[o]=u(e[o],t,r+1),l)}function f(){return!1}function d(){return null}function h(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function b(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function y(){}function p(){}function v(e){var t=[];return e.forEach(function(r){t.push(r)}),t.sort().join(", ")}function x(e,t,r,o){return new JR(e,t,r,o)}function S(e,t){e.context===Vi&&(Wp(e.current,2,t,e,null,null),Es())}function N(e,t){if(Tr!==null){var r=t.staleFamilies;t=t.updatedFamilies,ru(),ex(e.current,t,r),Es()}}function V(e){Tr=e}function R(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Q(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 I(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 ie(e){if(_(e)!==e)throw Error("Unable to find node on an unmounted component.")}function re(e){var t=e.alternate;if(!t){if(t=_(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,o=t;;){var l=r.return;if(l===null)break;var c=l.alternate;if(c===null){if(o=l.return,o!==null){r=o;continue}break}if(l.child===c.child){for(c=l.child;c;){if(c===r)return ie(l),e;if(c===o)return ie(l),t;c=c.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=l,o=c;else{for(var m=!1,g=l.child;g;){if(g===r){m=!0,r=l,o=c;break}if(g===o){m=!0,o=l,r=c;break}g=g.sibling}if(!m){for(g=c.child;g;){if(g===r){m=!0,r=c,o=l;break}if(g===o){m=!0,o=c,r=l;break}g=g.sibling}if(!m)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}function ge(e){return e===null||typeof e!="object"?null:(e=sw&&e[sw]||e["@@iterator"],typeof e=="function"?e:null)}function se(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===vO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Rs:return"Fragment";case oy:return"Profiler";case Kf:return"StrictMode";case ly:return"Suspense";case uy:return"SuspenseList";case cy:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Cs:return"Portal";case wa:return e.displayName||"Context";case sy:return(e._context.displayName||"Context")+".Consumer";case hu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wf:return t=e.displayName||null,t!==null?t:se(e.type)||"Memo";case sr:t=e._payload,e=e._init;try{return se(e(t))}catch{}}return null}function ce(e){return typeof e.tag=="number"?F(e):typeof e.name=="string"?e.name:null}function F(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return se(t);case 8:return t===Kf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var r=t.length-1;0<=r;r--)if(typeof t[r].name=="string")return t[r].name}if(e.return!==null)return F(e.return)}return null}function he(e){return{current:e}}function oe(e,t){0>Za?console.error("Unexpected pop."):(t!==dy[Za]&&console.error("Unexpected Fiber popped."),e.current=fy[Za],fy[Za]=null,dy[Za]=null,Za--)}function X(e,t,r){Za++,fy[Za]=e.current,dy[Za]=r,e.current=t}function ne(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ae(e,t){X(zi,t,e),X(mu,e,e),X(Ri,null,e);var r=t.nodeType;switch(r){case 9:case 11:r=r===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?zS(t):fi;break;default:if(r=t.tagName,t=t.namespaceURI)t=zS(t),t=OS(t,r);else switch(r){case"svg":t=cl;break;case"math":t=Jd;break;default:t=fi}}r=r.toLowerCase(),r=Dv(null,r),r={context:t,ancestorInfo:r},oe(Ri,e),X(Ri,r,e)}function Y(e){oe(Ri,e),oe(mu,e),oe(zi,e)}function le(){return ne(Ri.current)}function pe(e){e.memoizedState!==null&&X(ed,e,e);var t=ne(Ri.current),r=e.type,o=OS(t.context,r);r=Dv(t.ancestorInfo,r),o={context:o,ancestorInfo:r},t!==o&&(X(mu,e,e),X(Ri,o,e))}function ze(e){mu.current===e&&(oe(Ri,e),oe(mu,e)),ed.current===e&&(oe(ed,e),ic._currentValue=Jo)}function z(){}function U(){if(pu===0){lw=console.log,uw=console.info,cw=console.warn,fw=console.error,dw=console.group,hw=console.groupCollapsed,mw=console.groupEnd;var e={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}pu++}function ue(){if(pu--,pu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Je({},e,{value:lw}),info:Je({},e,{value:uw}),warn:Je({},e,{value:cw}),error:Je({},e,{value:fw}),group:Je({},e,{value:dw}),groupCollapsed:Je({},e,{value:hw}),groupEnd:Je({},e,{value:mw})})}0>pu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function C(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
23
23
  `)&&(e=e.slice(29)),t=e.indexOf(`
24
24
  `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
25
- `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function xe(e){if(hg===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);hg=t&&t[1]||"",mD=-1<r.stack.indexOf(`
25
+ `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function xe(e){if(hy===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);hy=t&&t[1]||"",pw=-1<r.stack.indexOf(`
26
26
  at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
27
- `+hg+e+mD}function at(e,t){if(!e||mg)return"";var r=pg.get(e);if(r!==void 0)return r;mg=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=J.H,J.H=null,U();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(ve){var $=ve}Reflect.construct(e,[],_)}else{try{_.call()}catch(ve){$=ve}e.call(_.prototype)}}else{try{throw Error()}catch(ve){$=ve}(_=e())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(ve){if(ve&&$&&typeof ve.stack=="string")return[ve.stack,$.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=l.DetermineComponentFrameRoot(),y=m[0],D=m[1];if(y&&D){var E=y.split(`
28
- `),B=D.split(`
27
+ `+hy+e+pw}function at(e,t){if(!e||my)return"";var r=py.get(e);if(r!==void 0)return r;my=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=J.H,J.H=null,U();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(ve){var $=ve}Reflect.construct(e,[],M)}else{try{M.call()}catch(ve){$=ve}e.call(M.prototype)}}else{try{throw Error()}catch(ve){$=ve}(M=e())&&typeof M.catch=="function"&&M.catch(function(){})}}catch(ve){if(ve&&$&&typeof ve.stack=="string")return[ve.stack,$.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=l.DetermineComponentFrameRoot(),g=m[0],w=m[1];if(g&&w){var E=g.split(`
28
+ `),B=w.split(`
29
29
  `);for(m=c=0;c<E.length&&!E[c].includes("DetermineComponentFrameRoot");)c++;for(;m<B.length&&!B[m].includes("DetermineComponentFrameRoot");)m++;if(c===E.length||m===B.length)for(c=E.length-1,m=B.length-1;1<=c&&0<=m&&E[c]!==B[m];)m--;for(;1<=c&&0<=m;c--,m--)if(E[c]!==B[m]){if(c!==1||m!==1)do if(c--,m--,0>m||E[c]!==B[m]){var H=`
30
- `+E[c].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),typeof e=="function"&&pg.set(e,H),H}while(1<=c&&0<=m);break}}}finally{mg=!1,J.H=o,ue(),Error.prepareStackTrace=r}return E=(E=e?e.displayName||e.name:"")?xe(E):"",typeof e=="function"&&pg.set(e,E),E}function yn(e,t){switch(e.tag){case 26:case 27:case 5:return xe(e.type);case 16:return xe("Lazy");case 13:return e.child!==t&&t!==null?xe("Suspense Fallback"):xe("Suspense");case 19:return xe("SuspenseList");case 0:case 15:return at(e.type,!1);case 11:return at(e.type.render,!1);case 1:return at(e.type,!0);case 31:return xe("Activity");default:return""}}function je(e){try{var t="",r=null;do{t+=yn(e,r);var o=e._debugInfo;if(o)for(var l=o.length-1;0<=l;l--){var c=o[l];if(typeof c.name=="string"){var m=t;e:{var y=c.name,D=c.env,E=c.debugLocation;if(E!=null){var B=C(E),H=B.lastIndexOf(`
31
- `),_=H===-1?B:B.slice(H+1);if(_.indexOf(y)!==-1){var $=`
32
- `+_;break e}}$=xe(y+(D?" ["+D+"]":""))}t=m+$}}r=e,e=e.return}while(e);return t}catch(ve){return`
30
+ `+E[c].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),typeof e=="function"&&py.set(e,H),H}while(1<=c&&0<=m);break}}}finally{my=!1,J.H=o,ue(),Error.prepareStackTrace=r}return E=(E=e?e.displayName||e.name:"")?xe(E):"",typeof e=="function"&&py.set(e,E),E}function gn(e,t){switch(e.tag){case 26:case 27:case 5:return xe(e.type);case 16:return xe("Lazy");case 13:return e.child!==t&&t!==null?xe("Suspense Fallback"):xe("Suspense");case 19:return xe("SuspenseList");case 0:case 15:return at(e.type,!1);case 11:return at(e.type.render,!1);case 1:return at(e.type,!0);case 31:return xe("Activity");default:return""}}function je(e){try{var t="",r=null;do{t+=gn(e,r);var o=e._debugInfo;if(o)for(var l=o.length-1;0<=l;l--){var c=o[l];if(typeof c.name=="string"){var m=t;e:{var g=c.name,w=c.env,E=c.debugLocation;if(E!=null){var B=C(E),H=B.lastIndexOf(`
31
+ `),M=H===-1?B:B.slice(H+1);if(M.indexOf(g)!==-1){var $=`
32
+ `+M;break e}}$=xe(g+(w?" ["+w+"]":""))}t=m+$}}r=e,e=e.return}while(e);return t}catch(ve){return`
33
33
  Error generating stack: `+ve.message+`
34
34
  `+ve.stack}}function Ke(e){return(e=e?e.displayName||e.name:"")?xe(e):""}function Ut(){if(lr===null)return null;var e=lr._debugOwner;return e!=null?ce(e):null}function Lt(){if(lr===null)return"";var e=lr;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=xe(e.type);break;case 13:t+=xe("Suspense");break;case 19:t+=xe("SuspenseList");break;case 31:t+=xe("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Ke(e.type));break;case 11:e._debugOwner||t!==""||(t+=Ke(e.type.render))}for(;e;)if(typeof e.tag=="number"){var r=e;e=r._debugOwner;var o=r._debugStack;if(e&&o){var l=C(o);l!==""&&(t+=`
35
35
  `+l)}}else if(e.debugStack!=null){var c=e.debugStack;(e=e.owner)&&c&&(t+=`
36
- `+C(c))}else break;var m=t}catch(y){m=`
37
- Error generating stack: `+y.message+`
38
- `+y.stack}return m}function De(e,t,r,o,l,c,m){var y=lr;Kn(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,r,o,l,c,m)):t(r,o,l,c,m)}finally{Kn(y)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Kn(e){J.getCurrentStack=e===null?null:Lt,Ea=!1,lr=e}function Hr(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Ba(e){try{return Pr(e),!1}catch{return!0}}function Pr(e){return""+e}function lt(e,t){if(Ba(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Hr(e)),Pr(e)}function Wt(e,t){if(Ba(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Hr(e)),Pr(e)}function gi(e){if(Ba(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Hr(e)),Pr(e)}function ls(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Ms=t.inject(e),vn=t}catch(r){console.error("React instrumentation encountered an error: %o.",r)}return!!t.checkDCE}function we(e){if(typeof AM=="function"&&wM(e),vn&&typeof vn.setStrictMode=="function")try{vn.setStrictMode(Ms,e)}catch(t){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",t))}}function yi(e){return e>>>=0,e===0?32:31-(NM(e)/kM|0)|0}function gr(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&261888;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 console.error("Should have found matching lanes. This is a bug in React."),e}}function Ha(e,t,r){var o=e.pendingLanes;if(o===0)return 0;var l=0,c=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var y=o&134217727;return y!==0?(o=y&~c,o!==0?l=gr(o):(m&=y,m!==0?l=gr(m):r||(r=y&~e,r!==0&&(l=gr(r))))):(y=o&~c,y!==0?l=gr(y):m!==0?l=gr(m):r||(r=o&~e,r!==0&&(l=gr(r)))),l===0?0:t!==0&&t!==l&&(t&c)===0&&(c=l&-l,r=t&-t,c>=r||c===32&&(r&4194048)!==0)?t:l}function ra(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function us(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 console.error("Should have found matching lanes. This is a bug in React."),-1}}function W(){var e=rd;return rd<<=1,(rd&62914560)===0&&(rd=4194304),e}function ee(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Te(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ie(e,t,r,o,l,c){var m=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var y=e.entanglements,D=e.expirationTimes,E=e.hiddenUpdates;for(r=m&~r;0<r;){var B=31-Rn(r),H=1<<B;y[B]=0,D[B]=-1;var _=E[B];if(_!==null)for(E[B]=null,B=0;B<_.length;B++){var $=_[B];$!==null&&($.lane&=-536870913)}r&=~H}o!==0&&it(e,o,0),c!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=c&~(m&~t))}function it(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Rn(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|r&261930}function Pt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-Rn(r),l=1<<o;l&t|e[o]&t&&(e[o]|=t),r&=~l}}function wn(e,t){var r=t&-t;return r=(r&42)!==0?1:an(r),(r&(e.suspendedLanes|t))!==0?0:r}function an(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 Wn(e,t,r){if(Aa)for(e=e.pendingUpdatersLaneMap;0<r;){var o=31-Rn(r),l=1<<o;e[o].add(t),r&=~l}}function yr(e,t){if(Aa)for(var r=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var l=31-Rn(t);e=1<<l,l=r[l],0<l.size&&(l.forEach(function(c){var m=c.alternate;m!==null&&o.has(m)||o.add(c)}),l.clear()),t&=~e}}function qt(e){return e&=-e,Sr<e?wa<e?(e&134217727)!==0?Ja:ad:wa:Sr}function Nn(){var e=ft.p;return e!==0?e:(e=window.event,e===void 0?Ja:WS(e.type))}function T(e,t){var r=ft.p;try{return ft.p=e,t()}finally{ft.p=r}}function q(e){delete e[mn],delete e[On],delete e[xg],delete e[CM],delete e[RM]}function de(e){var t=e[mn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[_i]||r[mn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=BS(e);e!==null;){if(r=e[mn])return r;e=BS(e)}return t}e=r,r=e.parentNode}return null}function be(e){if(e=e[mn]||e[_i]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ke(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Pe(e){var t=e[pD];return t||(t=e[pD]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Me(e){e[gu]=!0}function ot(e,t){qe(e,t),qe(e+"Capture",t)}function qe(e,t){ko[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ko[e]=t;var r=e.toLowerCase();for(Sg[r]=e,e==="onDoubleClick"&&(Sg.ondblclick=e),e=0;e<t.length;e++)gD.add(t[e])}function kn(e,t){OM[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function aa(e){return Gr.call(bD,e)?!0:Gr.call(yD,e)?!1:MM.test(e)?bD[e]=!0:(yD[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Ic(e,t,r){if(aa(t)){if(!e.hasAttribute(t)){switch(typeof r){case"symbol":case"object":return r;case"function":return r;case"boolean":if(r===!1)return r}return r===void 0?void 0:null}return e=e.getAttribute(t),e===""&&r===!0?!0:(lt(r,t),e===""+r?r:e)}}function cs(e,t,r){if(aa(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}lt(r,t),e.setAttribute(t,""+r)}}function Fc(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}lt(r,t),e.setAttribute(t,""+r)}}function Pa(e,t,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}lt(o,r),e.setAttributeNS(t,r,""+o)}}function br(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return gi(e),e;default:return""}}function c0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function NR(e,t,r){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var l=o.get,c=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(m){gi(m),r=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return r},setValue:function(m){gi(m),r=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wh(e){if(!e._valueTracker){var t=c0(e)?"checked":"value";e._valueTracker=NR(e,t,""+e[t])}}function f0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=c0(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Yc(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 vr(e){return e.replace(_M,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function d0(e,t){t.checked===void 0||t.defaultChecked===void 0||xD||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Ut()||"A component",t.type),xD=!0),t.value===void 0||t.defaultValue===void 0||vD||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Ut()||"A component",t.type),vD=!0)}function em(e,t,r,o,l,c,m,y){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?(lt(m,"type"),e.type=m):e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+br(t)):e.value!==""+br(t)&&(e.value=""+br(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?tm(e,m,br(t)):r!=null?tm(e,m,br(r)):o!=null&&e.removeAttribute("value"),l==null&&c!=null&&(e.defaultChecked=!!c),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(lt(y,"name"),e.name=""+br(y)):e.removeAttribute("name")}function h0(e,t,r,o,l,c,m,y){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(lt(c,"type"),e.type=c),t!=null||r!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Wh(e);return}r=r!=null?""+br(r):"",t=t!=null?""+br(t):r,y||t===e.value||(e.value=t),e.defaultValue=t}o=o??l,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=y?e.checked:!!o,e.defaultChecked=!!o,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(lt(m,"name"),e.name=m),Wh(e)}function tm(e,t,r){t==="number"&&Yc(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function m0(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?ig.Children.forEach(t.children,function(r){r==null||typeof r=="string"||typeof r=="number"||typeof r=="bigint"||DD||(DD=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||ED||(ED=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||SD||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),SD=!0)}function p0(){var e=Ut();return e?`
39
-
40
- Check the render method of \``+e+"`.":""}function fs(e,t,r,o){if(e=e.options,t){t={};for(var l=0;l<r.length;l++)t["$"+r[l]]=!0;for(r=0;r<e.length;r++)l=t.hasOwnProperty("$"+e[r].value),e[r].selected!==l&&(e[r].selected=l),l&&o&&(e[r].defaultSelected=!0)}else{for(r=""+br(r),t=null,l=0;l<e.length;l++){if(e[l].value===r){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function g0(e,t){for(e=0;e<AD.length;e++){var r=AD[e];if(t[r]!=null){var o=en(t[r]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",r,p0()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",r,p0())}}t.value===void 0||t.defaultValue===void 0||TD||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),TD=!0)}function y0(e,t){t.value===void 0||t.defaultValue===void 0||wD||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Ut()||"A component"),wD=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function b0(e,t,r){if(t!=null&&(t=""+br(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+br(r):""}function v0(e,t,r,o){if(t==null){if(o!=null){if(r!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(en(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}r=o}r==null&&(r=""),t=r}r=br(t),e.defaultValue=r,o=e.textContent,o===r&&o!==""&&o!==null&&(e.value=o),Wh(e)}function x0(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?x0(e.children[0],t):e}function er(e){return" "+" ".repeat(e)}function ds(e){return"+ "+" ".repeat(e)}function ho(e){return"- "+" ".repeat(e)}function S0(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function _l(e,t){return ND.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Gc(e,t,r){var o=120-2*r;if(t===null)return ds(r)+_l(e,o)+`
41
- `;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>o-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),ds(r)+_l(e,o)+`
42
- `+ho(r)+_l(t,o)+`
43
- `}return er(r)+_l(e,o)+`
44
- `}function nm(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,r){return r})}function zl(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(en(e))return"[...]";if(e.$$typeof===Sa)return(t=se(e.type))?"<"+t+">":"<...>";var r=nm(e);if(r==="Object"){r="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var l=JSON.stringify(o);if(l!=='"'+o+'"'&&(o=l),t-=o.length-2,l=zl(e[o],15>t?t:15),t-=l.length,0>t){r+=r===""?"...":", ...";break}r+=(r===""?"":",")+o+":"+l}return"{"+r+"}"}return r;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function hs(e,t){return typeof e!="string"||ND.test(e)?"{"+zl(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function rm(e,t,r){var o=120-r.length-e.length,l=[],c;for(c in t)if(t.hasOwnProperty(c)&&c!=="children"){var m=hs(t[c],120-r.length-c.length-1);o-=c.length+m.length+2,l.push(c+"="+m)}return l.length===0?r+"<"+e+`>
36
+ `+C(c))}else break;var m=t}catch(g){m=`
37
+ Error generating stack: `+g.message+`
38
+ `+g.stack}return m}function we(e,t,r,o,l,c,m){var g=lr;Kn(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,r,o,l,c,m)):t(r,o,l,c,m)}finally{Kn(g)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Kn(e){J.getCurrentStack=e===null?null:Lt,Ea=!1,lr=e}function Hr(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Ba(e){try{return Pr(e),!1}catch{return!0}}function Pr(e){return""+e}function lt(e,t){if(Ba(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Hr(e)),Pr(e)}function Wt(e,t){if(Ba(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Hr(e)),Pr(e)}function yi(e){if(Ba(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Hr(e)),Pr(e)}function ls(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Os=t.inject(e),vn=t}catch(r){console.error("React instrumentation encountered an error: %o.",r)}return!!t.checkDCE}function ke(e){if(typeof kO=="function"&&NO(e),vn&&typeof vn.setStrictMode=="function")try{vn.setStrictMode(Os,e)}catch(t){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",t))}}function gi(e){return e>>>=0,e===0?32:31-(AO(e)/CO|0)|0}function yr(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&261888;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 console.error("Should have found matching lanes. This is a bug in React."),e}}function Ha(e,t,r){var o=e.pendingLanes;if(o===0)return 0;var l=0,c=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var g=o&134217727;return g!==0?(o=g&~c,o!==0?l=yr(o):(m&=g,m!==0?l=yr(m):r||(r=g&~e,r!==0&&(l=yr(r))))):(g=o&~c,g!==0?l=yr(g):m!==0?l=yr(m):r||(r=o&~e,r!==0&&(l=yr(r)))),l===0?0:t!==0&&t!==l&&(t&c)===0&&(c=l&-l,r=t&-t,c>=r||c===32&&(r&4194048)!==0)?t:l}function ra(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function us(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 console.error("Should have found matching lanes. This is a bug in React."),-1}}function W(){var e=rd;return rd<<=1,(rd&62914560)===0&&(rd=4194304),e}function ee(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Te(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ie(e,t,r,o,l,c){var m=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var g=e.entanglements,w=e.expirationTimes,E=e.hiddenUpdates;for(r=m&~r;0<r;){var B=31-Rn(r),H=1<<B;g[B]=0,w[B]=-1;var M=E[B];if(M!==null)for(E[B]=null,B=0;B<M.length;B++){var $=M[B];$!==null&&($.lane&=-536870913)}r&=~H}o!==0&&it(e,o,0),c!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=c&~(m&~t))}function it(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Rn(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|r&261930}function Pt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-Rn(r),l=1<<o;l&t|e[o]&t&&(e[o]|=t),r&=~l}}function kn(e,t){var r=t&-t;return r=(r&42)!==0?1:an(r),(r&(e.suspendedLanes|t))!==0?0:r}function an(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 Wn(e,t,r){if(Da)for(e=e.pendingUpdatersLaneMap;0<r;){var o=31-Rn(r),l=1<<o;e[o].add(t),r&=~l}}function gr(e,t){if(Da)for(var r=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var l=31-Rn(t);e=1<<l,l=r[l],0<l.size&&(l.forEach(function(c){var m=c.alternate;m!==null&&o.has(m)||o.add(c)}),l.clear()),t&=~e}}function qt(e){return e&=-e,Sr<e?ka<e?(e&134217727)!==0?Ja:ad:ka:Sr}function Nn(){var e=ft.p;return e!==0?e:(e=window.event,e===void 0?Ja:ew(e.type))}function T(e,t){var r=ft.p;try{return ft.p=e,t()}finally{ft.p=r}}function q(e){delete e[mn],delete e[zn],delete e[xy],delete e[RO],delete e[zO]}function de(e){var t=e[mn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Mi]||r[mn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=HS(e);e!==null;){if(r=e[mn])return r;e=HS(e)}return t}e=r,r=e.parentNode}return null}function be(e){if(e=e[mn]||e[Mi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ae(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Pe(e){var t=e[yw];return t||(t=e[yw]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Oe(e){e[yu]=!0}function ot(e,t){qe(e,t),qe(e+"Capture",t)}function qe(e,t){Ao[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ao[e]=t;var r=e.toLowerCase();for(Sy[r]=e,e==="onDoubleClick"&&(Sy.ondblclick=e),e=0;e<t.length;e++)gw.add(t[e])}function An(e,t){OO[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function aa(e){return Gr.call(vw,e)?!0:Gr.call(bw,e)?!1:MO.test(e)?vw[e]=!0:(bw[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Ic(e,t,r){if(aa(t)){if(!e.hasAttribute(t)){switch(typeof r){case"symbol":case"object":return r;case"function":return r;case"boolean":if(r===!1)return r}return r===void 0?void 0:null}return e=e.getAttribute(t),e===""&&r===!0?!0:(lt(r,t),e===""+r?r:e)}}function cs(e,t,r){if(aa(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}lt(r,t),e.setAttribute(t,""+r)}}function Fc(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}lt(r,t),e.setAttribute(t,""+r)}}function Pa(e,t,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}lt(o,r),e.setAttributeNS(t,r,""+o)}}function br(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return yi(e),e;default:return""}}function fv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function AR(e,t,r){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var l=o.get,c=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(m){yi(m),r=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return r},setValue:function(m){yi(m),r=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wh(e){if(!e._valueTracker){var t=fv(e)?"checked":"value";e._valueTracker=AR(e,t,""+e[t])}}function dv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=fv(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Yc(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 vr(e){return e.replace(_O,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function hv(e,t){t.checked===void 0||t.defaultChecked===void 0||Sw||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Ut()||"A component",t.type),Sw=!0),t.value===void 0||t.defaultValue===void 0||xw||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Ut()||"A component",t.type),xw=!0)}function em(e,t,r,o,l,c,m,g){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?(lt(m,"type"),e.type=m):e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+br(t)):e.value!==""+br(t)&&(e.value=""+br(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?tm(e,m,br(t)):r!=null?tm(e,m,br(r)):o!=null&&e.removeAttribute("value"),l==null&&c!=null&&(e.defaultChecked=!!c),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(lt(g,"name"),e.name=""+br(g)):e.removeAttribute("name")}function mv(e,t,r,o,l,c,m,g){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(lt(c,"type"),e.type=c),t!=null||r!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Wh(e);return}r=r!=null?""+br(r):"",t=t!=null?""+br(t):r,g||t===e.value||(e.value=t),e.defaultValue=t}o=o??l,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=g?e.checked:!!o,e.defaultChecked=!!o,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(lt(m,"name"),e.name=m),Wh(e)}function tm(e,t,r){t==="number"&&Yc(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function pv(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?iy.Children.forEach(t.children,function(r){r==null||typeof r=="string"||typeof r=="number"||typeof r=="bigint"||Ew||(Ew=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||Tw||(Tw=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||ww||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ww=!0)}function yv(){var e=Ut();return e?`
39
+
40
+ Check the render method of \``+e+"`.":""}function fs(e,t,r,o){if(e=e.options,t){t={};for(var l=0;l<r.length;l++)t["$"+r[l]]=!0;for(r=0;r<e.length;r++)l=t.hasOwnProperty("$"+e[r].value),e[r].selected!==l&&(e[r].selected=l),l&&o&&(e[r].defaultSelected=!0)}else{for(r=""+br(r),t=null,l=0;l<e.length;l++){if(e[l].value===r){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function gv(e,t){for(e=0;e<kw.length;e++){var r=kw[e];if(t[r]!=null){var o=en(t[r]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",r,yv()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",r,yv())}}t.value===void 0||t.defaultValue===void 0||Dw||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),Dw=!0)}function bv(e,t){t.value===void 0||t.defaultValue===void 0||Nw||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Ut()||"A component"),Nw=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function vv(e,t,r){if(t!=null&&(t=""+br(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+br(r):""}function xv(e,t,r,o){if(t==null){if(o!=null){if(r!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(en(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}r=o}r==null&&(r=""),t=r}r=br(t),e.defaultValue=r,o=e.textContent,o===r&&o!==""&&o!==null&&(e.value=o),Wh(e)}function Sv(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Sv(e.children[0],t):e}function er(e){return" "+" ".repeat(e)}function ds(e){return"+ "+" ".repeat(e)}function ho(e){return"- "+" ".repeat(e)}function wv(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Ml(e,t){return Aw.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Gc(e,t,r){var o=120-2*r;if(t===null)return ds(r)+Ml(e,o)+`
41
+ `;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>o-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),ds(r)+Ml(e,o)+`
42
+ `+ho(r)+Ml(t,o)+`
43
+ `}return er(r)+Ml(e,o)+`
44
+ `}function nm(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,r){return r})}function _l(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(en(e))return"[...]";if(e.$$typeof===Sa)return(t=se(e.type))?"<"+t+">":"<...>";var r=nm(e);if(r==="Object"){r="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var l=JSON.stringify(o);if(l!=='"'+o+'"'&&(o=l),t-=o.length-2,l=_l(e[o],15>t?t:15),t-=l.length,0>t){r+=r===""?"...":", ...";break}r+=(r===""?"":",")+o+":"+l}return"{"+r+"}"}return r;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function hs(e,t){return typeof e!="string"||Aw.test(e)?"{"+_l(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function rm(e,t,r){var o=120-r.length-e.length,l=[],c;for(c in t)if(t.hasOwnProperty(c)&&c!=="children"){var m=hs(t[c],120-r.length-c.length-1);o-=c.length+m.length+2,l.push(c+"="+m)}return l.length===0?r+"<"+e+`>
45
45
  `:0<o?r+"<"+e+" "+l.join(" ")+`>
46
46
  `:r+"<"+e+`
47
47
  `+r+" "+l.join(`
48
48
  `+r+" ")+`
49
49
  `+r+`>
50
- `}function kR(e,t,r){var o="",l=Je({},t),c;for(c in e)if(e.hasOwnProperty(c)){delete l[c];var m=120-2*r-c.length-2,y=zl(e[c],m);t.hasOwnProperty(c)?(m=zl(t[c],m),o+=ds(r)+c+": "+y+`
50
+ `}function CR(e,t,r){var o="",l=Je({},t),c;for(c in e)if(e.hasOwnProperty(c)){delete l[c];var m=120-2*r-c.length-2,g=_l(e[c],m);t.hasOwnProperty(c)?(m=_l(t[c],m),o+=ds(r)+c+": "+g+`
51
51
  `,o+=ho(r)+c+": "+m+`
52
- `):o+=ds(r)+c+": "+y+`
53
- `}for(var D in l)l.hasOwnProperty(D)&&(e=zl(l[D],120-2*r-D.length-2),o+=ho(r)+D+": "+e+`
54
- `);return o}function CR(e,t,r,o){var l="",c=new Map;for(E in r)r.hasOwnProperty(E)&&c.set(E.toLowerCase(),E);if(c.size===1&&c.has("children"))l+=rm(e,t,er(o));else{for(var m in t)if(t.hasOwnProperty(m)&&m!=="children"){var y=120-2*(o+1)-m.length-1,D=c.get(m.toLowerCase());if(D!==void 0){c.delete(m.toLowerCase());var E=t[m];D=r[D];var B=hs(E,y);y=hs(D,y),typeof E=="object"&&E!==null&&typeof D=="object"&&D!==null&&nm(E)==="Object"&&nm(D)==="Object"&&(2<Object.keys(E).length||2<Object.keys(D).length||-1<B.indexOf("...")||-1<y.indexOf("..."))?l+=er(o+1)+m+`={{
55
- `+kR(E,D,o+2)+er(o+1)+`}}
52
+ `):o+=ds(r)+c+": "+g+`
53
+ `}for(var w in l)l.hasOwnProperty(w)&&(e=_l(l[w],120-2*r-w.length-2),o+=ho(r)+w+": "+e+`
54
+ `);return o}function RR(e,t,r,o){var l="",c=new Map;for(E in r)r.hasOwnProperty(E)&&c.set(E.toLowerCase(),E);if(c.size===1&&c.has("children"))l+=rm(e,t,er(o));else{for(var m in t)if(t.hasOwnProperty(m)&&m!=="children"){var g=120-2*(o+1)-m.length-1,w=c.get(m.toLowerCase());if(w!==void 0){c.delete(m.toLowerCase());var E=t[m];w=r[w];var B=hs(E,g);g=hs(w,g),typeof E=="object"&&E!==null&&typeof w=="object"&&w!==null&&nm(E)==="Object"&&nm(w)==="Object"&&(2<Object.keys(E).length||2<Object.keys(w).length||-1<B.indexOf("...")||-1<g.indexOf("..."))?l+=er(o+1)+m+`={{
55
+ `+CR(E,w,o+2)+er(o+1)+`}}
56
56
  `:(l+=ds(o+1)+m+"="+B+`
57
- `,l+=ho(o+1)+m+"="+y+`
58
- `)}else l+=er(o+1)+m+"="+hs(t[m],y)+`
59
- `}c.forEach(function(H){if(H!=="children"){var _=120-2*(o+1)-H.length-1;l+=ho(o+1)+H+"="+hs(r[H],_)+`
57
+ `,l+=ho(o+1)+m+"="+g+`
58
+ `)}else l+=er(o+1)+m+"="+hs(t[m],g)+`
59
+ `}c.forEach(function(H){if(H!=="children"){var M=120-2*(o+1)-H.length-1;l+=ho(o+1)+H+"="+hs(r[H],M)+`
60
60
  `}}),l=l===""?er(o)+"<"+e+`>
61
61
  `:er(o)+"<"+e+`
62
62
  `+l+er(o)+`>
63
- `}return e=r.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(c="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=""+t),l+=Gc(c,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+Gc(""+t,null,o+1):l+Gc(""+t,void 0,o+1)),l}function D0(e,t){var r=S0(e);if(r===null){for(r="",e=e.child;e;)r+=D0(e,t),e=e.sibling;return r}return er(t)+"<"+r+`>
64
- `}function am(e,t){var r=x0(e,t);if(r!==e&&(e.children.length!==1||e.children[0]!==r))return er(t)+`...
63
+ `}return e=r.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(c="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=""+t),l+=Gc(c,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+Gc(""+t,null,o+1):l+Gc(""+t,void 0,o+1)),l}function Ev(e,t){var r=wv(e);if(r===null){for(r="",e=e.child;e;)r+=Ev(e,t),e=e.sibling;return r}return er(t)+"<"+r+`>
64
+ `}function am(e,t){var r=Sv(e,t);if(r!==e&&(e.children.length!==1||e.children[0]!==r))return er(t)+`...
65
65
  `+am(r,t+1);r="";var o=e.fiber._debugInfo;if(o)for(var l=0;l<o.length;l++){var c=o[l].name;typeof c=="string"&&(r+=er(t)+"<"+c+`>
66
- `,t++)}if(o="",l=e.fiber.pendingProps,e.fiber.tag===6)o=Gc(l,e.serverProps,t),t++;else if(c=S0(e.fiber),c!==null)if(e.serverProps===void 0){o=t;var m=120-2*o-c.length-2,y="";for(E in l)if(l.hasOwnProperty(E)&&E!=="children"){var D=hs(l[E],15);if(m-=E.length+D.length+2,0>m){y+=" ...";break}y+=" "+E+"="+D}o=er(o)+"<"+c+y+`>
67
- `,t++}else e.serverProps===null?(o=rm(c,l,ds(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=CR(c,l,e.serverProps,t),t++);var E="";for(l=e.fiber.child,c=0;l&&c<e.children.length;)m=e.children[c],m.fiber===l?(E+=am(m,t),c++):E+=D0(l,t),l=l.sibling;for(l&&0<e.children.length&&(E+=er(t)+`...
68
- `),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)c=l[e],E=typeof c=="string"?E+(ho(t)+_l(c,120-2*t)+`
66
+ `,t++)}if(o="",l=e.fiber.pendingProps,e.fiber.tag===6)o=Gc(l,e.serverProps,t),t++;else if(c=wv(e.fiber),c!==null)if(e.serverProps===void 0){o=t;var m=120-2*o-c.length-2,g="";for(E in l)if(l.hasOwnProperty(E)&&E!=="children"){var w=hs(l[E],15);if(m-=E.length+w.length+2,0>m){g+=" ...";break}g+=" "+E+"="+w}o=er(o)+"<"+c+g+`>
67
+ `,t++}else e.serverProps===null?(o=rm(c,l,ds(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=RR(c,l,e.serverProps,t),t++);var E="";for(l=e.fiber.child,c=0;l&&c<e.children.length;)m=e.children[c],m.fiber===l?(E+=am(m,t),c++):E+=Ev(l,t),l=l.sibling;for(l&&0<e.children.length&&(E+=er(t)+`...
68
+ `),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)c=l[e],E=typeof c=="string"?E+(ho(t)+Ml(c,120-2*t)+`
69
69
  `):E+rm(c.type,c.props,ho(t));return r+o+E}function im(e){try{return`
70
70
 
71
- `+am(e,0)}catch{return""}}function E0(e,t,r){for(var o=t,l=null,c=0;o;)o===e&&(c=0),l={fiber:o,children:l!==null?[l]:[],serverProps:o===t?r:o===e?null:void 0,serverTail:[],distanceFromLeaf:c},c++,o=o.return;return l!==null?im(l).replaceAll(/^[+-]/gm,">"):""}function T0(e,t){var r=Je({},e||CD),o={tag:t};return kD.indexOf(t)!==-1&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),UM.indexOf(t)!==-1&&(r.pTagInButtonScope=null),zM.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=o,t==="form"&&(r.formTag=o),t==="a"&&(r.aTagInScope=o),t==="button"&&(r.buttonTagInScope=o),t==="nobr"&&(r.nobrTagInScope=o),t==="p"&&(r.pTagInButtonScope=o),t==="li"&&(r.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(r.dlItemTagAutoclosing=o),t==="#document"||t==="html"?r.containerTagInScope=null:r.containerTagInScope||(r.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?r.implicitRootScope===!0&&(r.implicitRootScope=!1):r.implicitRootScope=!0,r}function A0(e,t,r){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(r)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!r)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return jM.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return r||t===null;case"html":return r&&t==="#document"||t===null;case"body":return r&&(t==="#document"||t==="html")||t===null}return!0}function RR(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function w0(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function om(e,t){t=t||CD;var r=t.current;if(t=(r=A0(e,r&&r.tag,t.implicitRootScope)?null:r)?null:RR(e,t),t=r||t,!t)return!0;var o=t.tag;if(t=String(!!r)+"|"+e+"|"+o,id[t])return!1;id[t]=!0;var l=(t=lr)?w0(t.return,o):null,c=t!==null&&l!==null?E0(l,t,null):"",m="<"+e+">";return r?(r="",o==="table"&&e==="tr"&&(r+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
71
+ `+am(e,0)}catch{return""}}function Tv(e,t,r){for(var o=t,l=null,c=0;o;)o===e&&(c=0),l={fiber:o,children:l!==null?[l]:[],serverProps:o===t?r:o===e?null:void 0,serverTail:[],distanceFromLeaf:c},c++,o=o.return;return l!==null?im(l).replaceAll(/^[+-]/gm,">"):""}function Dv(e,t){var r=Je({},e||Rw),o={tag:t};return Cw.indexOf(t)!==-1&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),jO.indexOf(t)!==-1&&(r.pTagInButtonScope=null),UO.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=o,t==="form"&&(r.formTag=o),t==="a"&&(r.aTagInScope=o),t==="button"&&(r.buttonTagInScope=o),t==="nobr"&&(r.nobrTagInScope=o),t==="p"&&(r.pTagInButtonScope=o),t==="li"&&(r.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(r.dlItemTagAutoclosing=o),t==="#document"||t==="html"?r.containerTagInScope=null:r.containerTagInScope||(r.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?r.implicitRootScope===!0&&(r.implicitRootScope=!1):r.implicitRootScope=!0,r}function kv(e,t,r){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(r)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!r)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return VO.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return r||t===null;case"html":return r&&t==="#document"||t===null;case"body":return r&&(t==="#document"||t==="html")||t===null}return!0}function zR(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Nv(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function om(e,t){t=t||Rw;var r=t.current;if(t=(r=kv(e,r&&r.tag,t.implicitRootScope)?null:r)?null:zR(e,t),t=r||t,!t)return!0;var o=t.tag;if(t=String(!!r)+"|"+e+"|"+o,id[t])return!1;id[t]=!0;var l=(t=lr)?Nv(t.return,o):null,c=t!==null&&l!==null?Tv(l,t,null):"",m="<"+e+">";return r?(r="",o==="table"&&e==="tr"&&(r+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
72
72
  This will cause a hydration error.%s`,m,o,r,c)):console.error(`In HTML, %s cannot be a descendant of <%s>.
73
- This will cause a hydration error.%s`,m,o,c),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||De(l,function(){console.error(`<%s> cannot contain a nested %s.
74
- See this log for the ancestor stack trace.`,o,m)})),!1}function $c(e,t,r){if(r||A0("#text",t,!1))return!0;if(r="#text|"+t,id[r])return!1;id[r]=!0;var o=(r=lr)?w0(r,t):null;return r=r!==null&&o!==null?E0(o,r,r.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
73
+ This will cause a hydration error.%s`,m,o,c),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||we(l,function(){console.error(`<%s> cannot contain a nested %s.
74
+ See this log for the ancestor stack trace.`,o,m)})),!1}function $c(e,t,r){if(r||kv("#text",t,!1))return!0;if(r="#text|"+t,id[r])return!1;id[r]=!0;var o=(r=lr)?Nv(r,t):null;return r=r!==null&&o!==null?Tv(o,r,r.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
75
75
  This will cause a hydration error.%s`,t,r):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
76
- This will cause a hydration error.%s`,t,r),!1}function Ul(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}function OR(e){return e.replace(BM,function(t,r){return r.toUpperCase()})}function N0(e,t,r){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?_s.hasOwnProperty(t)&&_s[t]||(_s[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,OR(t.replace(LM,"ms-")))):VM.test(t)?_s.hasOwnProperty(t)&&_s[t]||(_s[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!MD.test(r)||Eg.hasOwnProperty(r)&&Eg[r]||(Eg[r]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,r.replace(MD,""))),typeof r=="number"&&(isNaN(r)?_D||(_D=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(r)||zD||(zD=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),r==null||typeof r=="boolean"||r===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,r):typeof r!="number"||r===0||UD.has(t)?t==="float"?e.cssFloat=r:(Wt(r,t),e[t]=(""+r).trim()):e[t]=r+"px"}function k0(e,t,r){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,r!=null){if(t){var o={};if(r){for(var l in r)if(r.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var c=Dg[l]||[l],m=0;m<c.length;m++)o[c[m]]=l}for(var y in t)if(t.hasOwnProperty(y)&&(!r||r[y]!==t[y]))for(l=Dg[y]||[y],c=0;c<l.length;c++)o[l[c]]=y;y={};for(var D in t)for(l=Dg[D]||[D],c=0;c<l.length;c++)y[l[c]]=D;D={};for(var E in o)if(l=o[E],(c=y[E])&&l!==c&&(m=l+","+c,!D[m])){D[m]=!0,m=console;var B=t[l];m.error.call(m,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",B==null||typeof B=="boolean"||B===""?"Removing":"Updating",l,c)}}for(var H in r)!r.hasOwnProperty(H)||t!=null&&t.hasOwnProperty(H)||(H.indexOf("--")===0?e.setProperty(H,""):H==="float"?e.cssFloat="":e[H]="");for(var _ in t)E=t[_],t.hasOwnProperty(_)&&r[_]!==E&&N0(e,_,E)}else for(o in t)t.hasOwnProperty(o)&&N0(e,o,t[o])}function jl(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}}function C0(e){return HM.get(e)||e}function MR(e,t){if(Gr.call(Us,t)&&Us[t])return!0;if(qM.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=jD.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Us[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Us[t]=!0}if(PM.test(t)){if(e=t.toLowerCase(),e=jD.hasOwnProperty(e)?e:null,e==null)return Us[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Us[t]=!0)}return!0}function _R(e,t){var r=[],o;for(o in t)MR(e,o)||r.push(o);t=r.map(function(l){return"`"+l+"`"}).join(", "),r.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<r.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function zR(e,t,r,o){if(Gr.call(Mn,t)&&Mn[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Mn[t]=!0;if(typeof r=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(l)?e[l]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),Mn[t]=!0;if(LD.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Mn[t]=!0}else if(LD.test(t))return IM.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Mn[t]=!0;if(FM.test(t)||YM.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Mn[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Mn[t]=!0;if(l==="is"&&r!==null&&r!==void 0&&typeof r!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof r),Mn[t]=!0;if(typeof r=="number"&&isNaN(r))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Mn[t]=!0;if(sd.hasOwnProperty(l)){if(l=sd[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),Mn[t]=!0}else if(t!==l)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,l),Mn[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof r){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-"?!0:(r?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',r,t,t,r,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',r,t,t,r,t,t,t),Mn[t]=!0)}case"function":case"symbol":return Mn[t]=!0,!1;case"string":if(r==="false"||r==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",r,t,r==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,r),Mn[t]=!0}}return!0}function UR(e,t,r){var o=[],l;for(l in t)zR(e,l,t[l],r)||o.push(l);t=o.map(function(c){return"`"+c+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Vl(e){return GM.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function qa(){}function sm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function R0(e){var t=be(e);if(t&&(e=t.stateNode)){var r=e[On]||null;e:switch(e=t.stateNode,t.type){case"input":if(em(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(lt(t,"name"),r=r.querySelectorAll('input[name="'+vr(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var l=o[On]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");em(o,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<r.length;t++)o=r[t],o.form===e.form&&f0(o)}break e;case"textarea":b0(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&fs(e,!!r.multiple,t,!1)}}}function O0(e,t,r){if(Tg)return e(t,r);Tg=!0;try{var o=e(t);return o}finally{if(Tg=!1,(js!==null||Vs!==null)&&(Es(),js&&(t=js,e=Vs,Vs=js=null,R0(t),e)))for(t=0;t<e.length;t++)R0(e[t])}}function Ll(e,t){var r=e.stateNode;if(r===null)return null;var o=r[On]||null;if(o===null)return null;r=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}function M0(){if(ld)return ld;var e,t=wg,r=t.length,o,l="value"in zi?zi.value:zi.textContent,c=l.length;for(e=0;e<r&&t[e]===l[e];e++);var m=r-e;for(o=1;o<=m&&t[r-o]===l[c-o];o++);return ld=l.slice(e,1<o?1-o:void 0)}function Xc(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 Qc(){return!0}function _0(){return!1}function Hn(e){function t(r,o,l,c,m){this._reactName=r,this._targetInst=l,this.type=o,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(r=e[y],this[y]=r?r(c):c[y]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Qc:_0,this.isPropagationStopped=_0,this}return Je(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Qc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Qc)},persist:function(){},isPersistent:Qc}),t}function jR(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=i_[e])?!!t[e]:!1}function lm(){return jR}function z0(e,t){switch(e){case"keyup":return y_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==qD;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function U0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function VR(e,t){switch(e){case"compositionend":return U0(t);case"keypress":return t.which!==FD?null:(GD=!0,YD);case"textInput":return e=t.data,e===YD&&GD?null:e;default:return null}}function LR(e,t){if(Ls)return e==="compositionend"||!Rg&&z0(e,t)?(e=M0(),ld=wg=zi=null,Ls=!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 ID&&t.locale!=="ko"?null:t.data;default:return null}}function j0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!v_[e.type]:t==="textarea"}function BR(e){if(!Na)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function V0(e,t,r,o){js?Vs?Vs.push(o):Vs=[o]:js=o,t=qf(t,"onChange"),0<t.length&&(r=new ud("onChange","change",null,r,o),e.push({event:r,listeners:t}))}function HR(e){vS(e,0)}function Zc(e){var t=ke(e);if(f0(t))return e}function L0(e,t){if(e==="change")return t}function B0(){Du&&(Du.detachEvent("onpropertychange",H0),Eu=Du=null)}function H0(e){if(e.propertyName==="value"&&Zc(Eu)){var t=[];V0(t,Eu,e,sm(e)),O0(HR,t)}}function PR(e,t,r){e==="focusin"?(B0(),Du=t,Eu=r,Du.attachEvent("onpropertychange",H0)):e==="focusout"&&B0()}function qR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zc(Eu)}function IR(e,t){if(e==="click")return Zc(t)}function FR(e,t){if(e==="input"||e==="change")return Zc(t)}function YR(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Bl(e,t){if(_n(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var l=r[o];if(!Gr.call(t,l)||!_n(e[l],t[l]))return!1}return!0}function P0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function q0(e,t){var r=P0(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=t&&o>=t)return{node:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=P0(r)}}function I0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?I0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function F0(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yc(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Yc(e.document)}return t}function um(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")}function Y0(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Mg||Bs==null||Bs!==Yc(o)||(o=Bs,"selectionStart"in o&&um(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Tu&&Bl(Tu,o)||(Tu=o,o=qf(Og,"onSelect"),0<o.length&&(t=new ud("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=Bs)))}function mo(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}function po(e){if(_g[e])return _g[e];if(!Hs[e])return e;var t=Hs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in XD)return _g[e]=t[r];return e}function qr(e,t){WD.set(e,t),ot(t,[e])}function GR(e){for(var t=fd,r=0;r<e.length;r++){var o=e[r];if(typeof o=="object"&&o!==null)if(en(o)&&o.length===2&&typeof o[0]=="string"){if(t!==fd&&t!==Lg)return jg;t=Lg}else return jg;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==fd&&t!==Vg)return jg;t=Vg}}return t}function cm(e,t,r,o){for(var l in e)Gr.call(e,l)&&l[0]!=="_"&&ia(l,e[l],t,r,o)}function ia(e,t,r,o,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Sa){var c=se(t.type)||"…",m=t.key;t=t.props;var y=Object.keys(t),D=y.length;if(m==null&&D===0){t="<"+c+" />";break}if(3>o||D===1&&y[0]==="children"&&m==null){t="<"+c+" … />";break}r.push([l+"  ".repeat(o)+e,"<"+c]),m!==null&&ia("key",m,r,o+1,l),e=!1;for(var E in t)E==="children"?t.children!=null&&(!en(t.children)||0<t.children.length)&&(e=!0):Gr.call(t,E)&&E[0]!=="_"&&ia(E,t[E],r,o+1,l);r.push(["",e?">…</"+c+">":"/>"]);return}if(c=Object.prototype.toString.call(t),c=c.slice(8,c.length-1),c==="Array"){if(E=GR(t),E===Vg||E===fd){t=JSON.stringify(t);break}else if(E===Lg){for(r.push([l+"  ".repeat(o)+e,""]),e=0;e<t.length;e++)c=t[e],ia(c[0],c[1],r,o+1,l);return}}if(c==="Promise"){if(t.status==="fulfilled"){if(c=r.length,ia(e,t.value,r,o,l),r.length>c){r=r[c],r[1]="Promise<"+(r[1]||"Object")+">";return}}else if(t.status==="rejected"&&(c=r.length,ia(e,t.reason,r,o,l),r.length>c)){r=r[c],r[1]="Rejected Promise<"+r[1]+">";return}r.push(["  ".repeat(o)+e,"Promise"]);return}c==="Object"&&(E=Object.getPrototypeOf(t))&&typeof E.constructor=="function"&&(c=E.constructor.name),r.push([l+"  ".repeat(o)+e,c==="Object"?3>o?"":"…":c]),3>o&&cm(t,r,o+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===w_?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}r.push([l+"  ".repeat(o)+e,t])}function G0(e,t,r,o){var l=!0;for(m in e)m in t||(r.push([dd+"  ".repeat(o)+m,"…"]),l=!1);for(var c in t)if(c in e){var m=e[c],y=t[c];if(m!==y){if(o===0&&c==="children")l="  ".repeat(o)+c,r.push([dd+l,"…"],[hd+l,"…"]);else{if(!(3<=o)){if(typeof m=="object"&&typeof y=="object"&&m!==null&&y!==null&&m.$$typeof===y.$$typeof)if(y.$$typeof===Sa){if(m.type===y.type&&m.key===y.key){m=se(y.type)||"…",l="  ".repeat(o)+c,m="<"+m+" … />",r.push([dd+l,m],[hd+l,m]),l=!1;continue}}else{var D=Object.prototype.toString.call(m),E=Object.prototype.toString.call(y);if(D===E&&(E==="[object Object]"||E==="[object Array]")){D=[nE+"  ".repeat(o)+c,E==="[object Array]"?"Array":""],r.push(D),E=r.length,G0(m,y,r,o+1)?E===r.length&&(D[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof m=="function"&&typeof y=="function"&&m.name===y.name&&m.length===y.length&&(D=Function.prototype.toString.call(m),E=Function.prototype.toString.call(y),D===E)){m=y.name===""?"() => {}":y.name+"() {}",r.push([nE+"  ".repeat(o)+c,m+" Referentially unequal function closure. Consider memoization."]);continue}}ia(c,m,r,o,dd),ia(c,y,r,o,hd)}l=!1}}else r.push([hd+"  ".repeat(o)+c,"…"]),l=!1;return l}function Ir(e){rt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function oa(e,t,r,o){vt&&(ji.start=t,ji.end=r,Ka.color="warning",Ka.tooltipText=o,Ka.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,ji)):performance.measure(o,ji))}function Jc(e,t,r){oa(e,t,r,"Reconnect")}function Kc(e,t,r,o,l){var c=F(e);if(c!==null&&vt){var m=e.alternate,y=e.actualDuration;if(m===null||m.child!==e.child)for(var D=e.child;D!==null;D=D.sibling)y-=D.actualDuration;o=.5>y?o?"tertiary-light":"primary-light":10>y?o?"tertiary":"primary":100>y?o?"tertiary-dark":"primary-dark":"error";var E=e.memoizedProps;y=e._debugTask,E!==null&&m!==null&&m.memoizedProps!==E?(D=[N_],E=G0(m.memoizedProps,E,D,0),1<D.length&&(E&&!Ui&&(m.lanes&l)===0&&100<e.actualDuration?(Ui=!0,D[0]=k_,Ka.color="warning",Ka.tooltipText=rE):(Ka.color=o,Ka.tooltipText=c),Ka.properties=D,ji.start=t,ji.end=r,y!=null?y.run(performance.measure.bind(performance,"​"+c,ji)):performance.measure("​"+c,ji))):y!=null?y.run(console.timeStamp.bind(console,c,t,r,Dr,void 0,o)):console.timeStamp(c,t,r,Dr,void 0,o)}}function fm(e,t,r,o){if(vt){var l=F(e);if(l!==null){for(var c=null,m=[],y=0;y<o.length;y++){var D=o[y];c==null&&D.source!==null&&(c=D.source._debugTask),D=D.value,m.push(["Error",typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D)])}e.key!==null&&ia("key",e.key,m,0,""),e.memoizedProps!==null&&cm(e.memoizedProps,m,0,""),c==null&&(c=e._debugTask),e={start:t,end:r,detail:{devtools:{color:"error",track:Dr,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:m}}},c?c.run(performance.measure.bind(performance,"​"+l,e)):performance.measure("​"+l,e)}}}function sa(e,t,r,o,l){if(l!==null){if(vt){var c=F(e);if(c!==null){o=[];for(var m=0;m<l.length;m++){var y=l[m].value;o.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e.key!==null&&ia("key",e.key,o,0,""),e.memoizedProps!==null&&cm(e.memoizedProps,o,0,""),t={start:t,end:r,detail:{devtools:{color:"error",track:Dr,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+c,t)):performance.measure("​"+c,t)}}}else c=F(e),c!==null&&vt&&(l=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,c,t,r,Dr,void 0,l)):console.timeStamp(c,t,r,Dr,void 0,l))}function $R(e,t,r,o){if(vt&&!(t<=e)){var l=(r&738197653)===r?"tertiary-dark":"primary-dark";r=(r&536870912)===r?"Prepared":(r&201326741)===r?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,r,e,t,rt,tt,l)):console.timeStamp(r,e,t,rt,tt,l)}}function $0(e,t,r,o){!vt||t<=e||(r=(r&738197653)===r?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,rt,tt,r)):console.timeStamp("Prewarm",e,t,rt,tt,r))}function X0(e,t,r,o){!vt||t<=e||(r=(r&738197653)===r?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,rt,tt,r)):console.timeStamp("Suspended",e,t,rt,tt,r))}function XR(e,t,r,o,l,c){if(vt&&!(t<=e)){r=[];for(var m=0;m<o.length;m++){var y=o[m].value;r.push(["Recoverable Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:rt,trackGroup:tt,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:r}}},c?c.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function dm(e,t,r,o){!vt||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,rt,tt,"error")):console.timeStamp("Errored",e,t,rt,tt,"error"))}function QR(e,t,r,o){!vt||t<=e||(o?o.run(console.timeStamp.bind(console,r,e,t,rt,tt,"secondary-light")):console.timeStamp(r,e,t,rt,tt,"secondary-light"))}function Q0(e,t,r,o,l){if(vt&&!(t<=e)){for(var c=[],m=0;m<r.length;m++){var y=r[m].value;c.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e={start:e,end:t,detail:{devtools:{color:"error",track:rt,trackGroup:tt,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:c}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function hm(e,t,r){!vt||t<=e||console.timeStamp("Animating",e,t,rt,tt,"secondary-dark")}function Wc(){for(var e=Ps,t=Bg=Ps=0;t<e;){var r=Er[t];Er[t++]=null;var o=Er[t];Er[t++]=null;var l=Er[t];Er[t++]=null;var c=Er[t];if(Er[t++]=null,o!==null&&l!==null){var m=o.pending;m===null?l.next=l:(l.next=m.next,m.next=l),o.pending=l}c!==0&&Z0(r,l,c)}}function ef(e,t,r,o){Er[Ps++]=e,Er[Ps++]=t,Er[Ps++]=r,Er[Ps++]=o,Bg|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function mm(e,t,r,o){return ef(e,t,r,o),tf(e)}function bn(e,t){return ef(e,null,null,t),tf(e)}function Z0(e,t,r){e.lanes|=r;var o=e.alternate;o!==null&&(o.lanes|=r);for(var l=!1,c=e.return;c!==null;)c.childLanes|=r,o=c.alternate,o!==null&&(o.childLanes|=r),c.tag===22&&(e=c.stateNode,e===null||e._visibility&Au||(l=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,l&&t!==null&&(l=31-Rn(r),e=c.hiddenUpdates,o=e[l],o===null?e[l]=[t]:o.push(t),t.lane=r|536870912),c):null}function tf(e){if(Ku>F_)throw Yo=Ku=0,Wu=by=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Yo>Y_&&(Yo=0,Wu=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&dS(e);for(var t=e,r=t.return;r!==null;)t.alternate===null&&(t.flags&4098)!==0&&dS(e),t=r,r=t.return;return t.tag===3?t.stateNode:null}function go(e){if(Tr===null)return e;var t=Tr(e);return t===void 0?e:t.current}function pm(e){if(Tr===null)return e;var t=Tr(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=go(e.render),e.render!==t)?(t={$$typeof:hu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function J0(e,t){if(Tr===null)return!1;var r=e.elementType;t=t.type;var o=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||l===sr)&&(o=!0);break;case 11:(l===hu||l===sr)&&(o=!0);break;case 14:case 15:(l===Wf||l===sr)&&(o=!0);break;default:return!1}return!!(o&&(e=Tr(r),e!==void 0&&e===Tr(t)))}function K0(e){Tr!==null&&typeof WeakSet=="function"&&(qs===null&&(qs=new WeakSet),qs.add(e))}function W0(e,t,r){do{var o=e,l=o.alternate,c=o.child,m=o.sibling,y=o.tag;o=o.type;var D=null;switch(y){case 0:case 15:case 1:D=o;break;case 11:D=o.render}if(Tr===null)throw Error("Expected resolveFamily to be set during hot reload.");var E=!1;if(o=!1,D!==null&&(D=Tr(D),D!==void 0&&(r.has(D)?o=!0:t.has(D)&&(y===1?o=!0:E=!0))),qs!==null&&(qs.has(e)||l!==null&&qs.has(l))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||E)&&(l=bn(e,2),l!==null&&Ot(l,e,2)),c===null||o||W0(c,t,r),m===null)break;e=m}while(!0)}function ZR(e,t,r,o){this.tag=e,this.key=r,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,aE||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function gm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ia(e,t){var r=e.alternate;switch(r===null?(r=x(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r._debugOwner=e._debugOwner,r._debugStack=e._debugStack,r._debugTask=e._debugTask,r._debugHookTypes=e._debugHookTypes,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null,r.actualDuration=-0,r.actualStartTime=-1.1),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r.selfBaseDuration=e.selfBaseDuration,r.treeBaseDuration=e.treeBaseDuration,r._debugInfo=e._debugInfo,r._debugNeedsRemount=e._debugNeedsRemount,r.tag){case 0:case 15:r.type=go(e.type);break;case 1:r.type=go(e.type);break;case 11:r.type=pm(e.type)}return r}function ex(e,t){e.flags&=65011714;var r=e.alternate;return r===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.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=r.selfBaseDuration,e.treeBaseDuration=r.treeBaseDuration),e}function ym(e,t,r,o,l,c){var m=0,y=e;if(typeof e=="function")gm(e)&&(m=1),y=go(y);else if(typeof e=="string")m=le(),m=iM(e,r,m)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case cg:return t=x(31,r,t,l),t.elementType=cg,t.lanes=c,t;case Rs:return yo(r.children,l,c,t);case Kf:m=8,l|=xn,l|=$r;break;case og:return e=r,o=l,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=x(12,e,t,o|Ye),t.elementType=og,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case lg:return t=x(13,r,t,l),t.elementType=lg,t.lanes=c,t;case ug:return t=x(19,r,t,l),t.elementType=ug,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Da:m=10;break e;case sg:m=9;break e;case hu:m=11,y=pm(y);break e;case Wf:m=14;break e;case sr:m=16,y=null;break e}y="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?r="null":en(e)?r="array":e!==void 0&&e.$$typeof===Sa?(r="<"+(se(e.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):r=typeof e,(m=o?ce(o):null)&&(y+=`
76
+ This will cause a hydration error.%s`,t,r),!1}function Ul(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}function OR(e){return e.replace(HO,function(t,r){return r.toUpperCase()})}function Av(e,t,r){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?Ms.hasOwnProperty(t)&&Ms[t]||(Ms[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,OR(t.replace(BO,"ms-")))):LO.test(t)?Ms.hasOwnProperty(t)&&Ms[t]||(Ms[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Mw.test(r)||Ey.hasOwnProperty(r)&&Ey[r]||(Ey[r]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,r.replace(Mw,""))),typeof r=="number"&&(isNaN(r)?_w||(_w=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(r)||Uw||(Uw=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),r==null||typeof r=="boolean"||r===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,r):typeof r!="number"||r===0||jw.has(t)?t==="float"?e.cssFloat=r:(Wt(r,t),e[t]=(""+r).trim()):e[t]=r+"px"}function Cv(e,t,r){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,r!=null){if(t){var o={};if(r){for(var l in r)if(r.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var c=wy[l]||[l],m=0;m<c.length;m++)o[c[m]]=l}for(var g in t)if(t.hasOwnProperty(g)&&(!r||r[g]!==t[g]))for(l=wy[g]||[g],c=0;c<l.length;c++)o[l[c]]=g;g={};for(var w in t)for(l=wy[w]||[w],c=0;c<l.length;c++)g[l[c]]=w;w={};for(var E in o)if(l=o[E],(c=g[E])&&l!==c&&(m=l+","+c,!w[m])){w[m]=!0,m=console;var B=t[l];m.error.call(m,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",B==null||typeof B=="boolean"||B===""?"Removing":"Updating",l,c)}}for(var H in r)!r.hasOwnProperty(H)||t!=null&&t.hasOwnProperty(H)||(H.indexOf("--")===0?e.setProperty(H,""):H==="float"?e.cssFloat="":e[H]="");for(var M in t)E=t[M],t.hasOwnProperty(M)&&r[M]!==E&&Av(e,M,E)}else for(o in t)t.hasOwnProperty(o)&&Av(e,o,t[o])}function jl(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}}function Rv(e){return PO.get(e)||e}function MR(e,t){if(Gr.call(Us,t)&&Us[t])return!0;if(IO.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Vw.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Us[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Us[t]=!0}if(qO.test(t)){if(e=t.toLowerCase(),e=Vw.hasOwnProperty(e)?e:null,e==null)return Us[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Us[t]=!0)}return!0}function _R(e,t){var r=[],o;for(o in t)MR(e,o)||r.push(o);t=r.map(function(l){return"`"+l+"`"}).join(", "),r.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<r.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function UR(e,t,r,o){if(Gr.call(On,t)&&On[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),On[t]=!0;if(typeof r=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(l)?e[l]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),On[t]=!0;if(Bw.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),On[t]=!0}else if(Bw.test(t))return FO.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),On[t]=!0;if(YO.test(t)||GO.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),On[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),On[t]=!0;if(l==="is"&&r!==null&&r!==void 0&&typeof r!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof r),On[t]=!0;if(typeof r=="number"&&isNaN(r))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),On[t]=!0;if(sd.hasOwnProperty(l)){if(l=sd[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),On[t]=!0}else if(t!==l)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,l),On[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof r){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-"?!0:(r?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',r,t,t,r,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',r,t,t,r,t,t,t),On[t]=!0)}case"function":case"symbol":return On[t]=!0,!1;case"string":if(r==="false"||r==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",r,t,r==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,r),On[t]=!0}}return!0}function jR(e,t,r){var o=[],l;for(l in t)UR(e,l,t[l],r)||o.push(l);t=o.map(function(c){return"`"+c+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Vl(e){return $O.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function qa(){}function sm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function zv(e){var t=be(e);if(t&&(e=t.stateNode)){var r=e[zn]||null;e:switch(e=t.stateNode,t.type){case"input":if(em(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(lt(t,"name"),r=r.querySelectorAll('input[name="'+vr(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var l=o[zn]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");em(o,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<r.length;t++)o=r[t],o.form===e.form&&dv(o)}break e;case"textarea":vv(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&fs(e,!!r.multiple,t,!1)}}}function Ov(e,t,r){if(Ty)return e(t,r);Ty=!0;try{var o=e(t);return o}finally{if(Ty=!1,(js!==null||Vs!==null)&&(Es(),js&&(t=js,e=Vs,Vs=js=null,zv(t),e)))for(t=0;t<e.length;t++)zv(e[t])}}function Ll(e,t){var r=e.stateNode;if(r===null)return null;var o=r[zn]||null;if(o===null)return null;r=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}function Mv(){if(ld)return ld;var e,t=ky,r=t.length,o,l="value"in _i?_i.value:_i.textContent,c=l.length;for(e=0;e<r&&t[e]===l[e];e++);var m=r-e;for(o=1;o<=m&&t[r-o]===l[c-o];o++);return ld=l.slice(e,1<o?1-o:void 0)}function Xc(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 Qc(){return!0}function _v(){return!1}function Hn(e){function t(r,o,l,c,m){this._reactName=r,this._targetInst=l,this.type=o,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(r=e[g],this[g]=r?r(c):c[g]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Qc:_v,this.isPropagationStopped=_v,this}return Je(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Qc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Qc)},persist:function(){},isPersistent:Qc}),t}function VR(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=oM[e])?!!t[e]:!1}function lm(){return VR}function Uv(e,t){switch(e){case"keyup":return bM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Iw;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function LR(e,t){switch(e){case"compositionend":return jv(t);case"keypress":return t.which!==Yw?null:($w=!0,Gw);case"textInput":return e=t.data,e===Gw&&$w?null:e;default:return null}}function BR(e,t){if(Ls)return e==="compositionend"||!Ry&&Uv(e,t)?(e=Mv(),ld=ky=_i=null,Ls=!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 Fw&&t.locale!=="ko"?null:t.data;default:return null}}function Vv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!xM[e.type]:t==="textarea"}function HR(e){if(!Na)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Lv(e,t,r,o){js?Vs?Vs.push(o):Vs=[o]:js=o,t=qf(t,"onChange"),0<t.length&&(r=new ud("onChange","change",null,r,o),e.push({event:r,listeners:t}))}function PR(e){xS(e,0)}function Zc(e){var t=Ae(e);if(dv(t))return e}function Bv(e,t){if(e==="change")return t}function Hv(){wu&&(wu.detachEvent("onpropertychange",Pv),Eu=wu=null)}function Pv(e){if(e.propertyName==="value"&&Zc(Eu)){var t=[];Lv(t,Eu,e,sm(e)),Ov(PR,t)}}function qR(e,t,r){e==="focusin"?(Hv(),wu=t,Eu=r,wu.attachEvent("onpropertychange",Pv)):e==="focusout"&&Hv()}function IR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zc(Eu)}function FR(e,t){if(e==="click")return Zc(t)}function YR(e,t){if(e==="input"||e==="change")return Zc(t)}function GR(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Bl(e,t){if(Mn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var l=r[o];if(!Gr.call(t,l)||!Mn(e[l],t[l]))return!1}return!0}function qv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Iv(e,t){var r=qv(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=t&&o>=t)return{node:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=qv(r)}}function Fv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yc(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Yc(e.document)}return t}function um(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")}function Gv(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Oy||Bs==null||Bs!==Yc(o)||(o=Bs,"selectionStart"in o&&um(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Tu&&Bl(Tu,o)||(Tu=o,o=qf(zy,"onSelect"),0<o.length&&(t=new ud("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=Bs)))}function mo(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}function po(e){if(My[e])return My[e];if(!Hs[e])return e;var t=Hs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Qw)return My[e]=t[r];return e}function qr(e,t){eE.set(e,t),ot(t,[e])}function $R(e){for(var t=fd,r=0;r<e.length;r++){var o=e[r];if(typeof o=="object"&&o!==null)if(en(o)&&o.length===2&&typeof o[0]=="string"){if(t!==fd&&t!==Ly)return jy;t=Ly}else return jy;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==fd&&t!==Vy)return jy;t=Vy}}return t}function cm(e,t,r,o){for(var l in e)Gr.call(e,l)&&l[0]!=="_"&&ia(l,e[l],t,r,o)}function ia(e,t,r,o,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Sa){var c=se(t.type)||"…",m=t.key;t=t.props;var g=Object.keys(t),w=g.length;if(m==null&&w===0){t="<"+c+" />";break}if(3>o||w===1&&g[0]==="children"&&m==null){t="<"+c+" … />";break}r.push([l+"  ".repeat(o)+e,"<"+c]),m!==null&&ia("key",m,r,o+1,l),e=!1;for(var E in t)E==="children"?t.children!=null&&(!en(t.children)||0<t.children.length)&&(e=!0):Gr.call(t,E)&&E[0]!=="_"&&ia(E,t[E],r,o+1,l);r.push(["",e?">…</"+c+">":"/>"]);return}if(c=Object.prototype.toString.call(t),c=c.slice(8,c.length-1),c==="Array"){if(E=$R(t),E===Vy||E===fd){t=JSON.stringify(t);break}else if(E===Ly){for(r.push([l+"  ".repeat(o)+e,""]),e=0;e<t.length;e++)c=t[e],ia(c[0],c[1],r,o+1,l);return}}if(c==="Promise"){if(t.status==="fulfilled"){if(c=r.length,ia(e,t.value,r,o,l),r.length>c){r=r[c],r[1]="Promise<"+(r[1]||"Object")+">";return}}else if(t.status==="rejected"&&(c=r.length,ia(e,t.reason,r,o,l),r.length>c)){r=r[c],r[1]="Rejected Promise<"+r[1]+">";return}r.push(["  ".repeat(o)+e,"Promise"]);return}c==="Object"&&(E=Object.getPrototypeOf(t))&&typeof E.constructor=="function"&&(c=E.constructor.name),r.push([l+"  ".repeat(o)+e,c==="Object"?3>o?"":"…":c]),3>o&&cm(t,r,o+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===NM?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}r.push([l+"  ".repeat(o)+e,t])}function $v(e,t,r,o){var l=!0;for(m in e)m in t||(r.push([dd+"  ".repeat(o)+m,"…"]),l=!1);for(var c in t)if(c in e){var m=e[c],g=t[c];if(m!==g){if(o===0&&c==="children")l="  ".repeat(o)+c,r.push([dd+l,"…"],[hd+l,"…"]);else{if(!(3<=o)){if(typeof m=="object"&&typeof g=="object"&&m!==null&&g!==null&&m.$$typeof===g.$$typeof)if(g.$$typeof===Sa){if(m.type===g.type&&m.key===g.key){m=se(g.type)||"…",l="  ".repeat(o)+c,m="<"+m+" … />",r.push([dd+l,m],[hd+l,m]),l=!1;continue}}else{var w=Object.prototype.toString.call(m),E=Object.prototype.toString.call(g);if(w===E&&(E==="[object Object]"||E==="[object Array]")){w=[rE+"  ".repeat(o)+c,E==="[object Array]"?"Array":""],r.push(w),E=r.length,$v(m,g,r,o+1)?E===r.length&&(w[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof m=="function"&&typeof g=="function"&&m.name===g.name&&m.length===g.length&&(w=Function.prototype.toString.call(m),E=Function.prototype.toString.call(g),w===E)){m=g.name===""?"() => {}":g.name+"() {}",r.push([rE+"  ".repeat(o)+c,m+" Referentially unequal function closure. Consider memoization."]);continue}}ia(c,m,r,o,dd),ia(c,g,r,o,hd)}l=!1}}else r.push([hd+"  ".repeat(o)+c,"…"]),l=!1;return l}function Ir(e){rt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function oa(e,t,r,o){vt&&(ji.start=t,ji.end=r,Ka.color="warning",Ka.tooltipText=o,Ka.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,ji)):performance.measure(o,ji))}function Jc(e,t,r){oa(e,t,r,"Reconnect")}function Kc(e,t,r,o,l){var c=F(e);if(c!==null&&vt){var m=e.alternate,g=e.actualDuration;if(m===null||m.child!==e.child)for(var w=e.child;w!==null;w=w.sibling)g-=w.actualDuration;o=.5>g?o?"tertiary-light":"primary-light":10>g?o?"tertiary":"primary":100>g?o?"tertiary-dark":"primary-dark":"error";var E=e.memoizedProps;g=e._debugTask,E!==null&&m!==null&&m.memoizedProps!==E?(w=[AM],E=$v(m.memoizedProps,E,w,0),1<w.length&&(E&&!Ui&&(m.lanes&l)===0&&100<e.actualDuration?(Ui=!0,w[0]=CM,Ka.color="warning",Ka.tooltipText=aE):(Ka.color=o,Ka.tooltipText=c),Ka.properties=w,ji.start=t,ji.end=r,g!=null?g.run(performance.measure.bind(performance,"​"+c,ji)):performance.measure("​"+c,ji))):g!=null?g.run(console.timeStamp.bind(console,c,t,r,wr,void 0,o)):console.timeStamp(c,t,r,wr,void 0,o)}}function fm(e,t,r,o){if(vt){var l=F(e);if(l!==null){for(var c=null,m=[],g=0;g<o.length;g++){var w=o[g];c==null&&w.source!==null&&(c=w.source._debugTask),w=w.value,m.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}e.key!==null&&ia("key",e.key,m,0,""),e.memoizedProps!==null&&cm(e.memoizedProps,m,0,""),c==null&&(c=e._debugTask),e={start:t,end:r,detail:{devtools:{color:"error",track:wr,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:m}}},c?c.run(performance.measure.bind(performance,"​"+l,e)):performance.measure("​"+l,e)}}}function sa(e,t,r,o,l){if(l!==null){if(vt){var c=F(e);if(c!==null){o=[];for(var m=0;m<l.length;m++){var g=l[m].value;o.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e.key!==null&&ia("key",e.key,o,0,""),e.memoizedProps!==null&&cm(e.memoizedProps,o,0,""),t={start:t,end:r,detail:{devtools:{color:"error",track:wr,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+c,t)):performance.measure("​"+c,t)}}}else c=F(e),c!==null&&vt&&(l=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,c,t,r,wr,void 0,l)):console.timeStamp(c,t,r,wr,void 0,l))}function XR(e,t,r,o){if(vt&&!(t<=e)){var l=(r&738197653)===r?"tertiary-dark":"primary-dark";r=(r&536870912)===r?"Prepared":(r&201326741)===r?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,r,e,t,rt,tt,l)):console.timeStamp(r,e,t,rt,tt,l)}}function Xv(e,t,r,o){!vt||t<=e||(r=(r&738197653)===r?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,rt,tt,r)):console.timeStamp("Prewarm",e,t,rt,tt,r))}function Qv(e,t,r,o){!vt||t<=e||(r=(r&738197653)===r?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,rt,tt,r)):console.timeStamp("Suspended",e,t,rt,tt,r))}function QR(e,t,r,o,l,c){if(vt&&!(t<=e)){r=[];for(var m=0;m<o.length;m++){var g=o[m].value;r.push(["Recoverable Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:rt,trackGroup:tt,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:r}}},c?c.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function dm(e,t,r,o){!vt||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,rt,tt,"error")):console.timeStamp("Errored",e,t,rt,tt,"error"))}function ZR(e,t,r,o){!vt||t<=e||(o?o.run(console.timeStamp.bind(console,r,e,t,rt,tt,"secondary-light")):console.timeStamp(r,e,t,rt,tt,"secondary-light"))}function Zv(e,t,r,o,l){if(vt&&!(t<=e)){for(var c=[],m=0;m<r.length;m++){var g=r[m].value;c.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e={start:e,end:t,detail:{devtools:{color:"error",track:rt,trackGroup:tt,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:c}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function hm(e,t,r){!vt||t<=e||console.timeStamp("Animating",e,t,rt,tt,"secondary-dark")}function Wc(){for(var e=Ps,t=By=Ps=0;t<e;){var r=Er[t];Er[t++]=null;var o=Er[t];Er[t++]=null;var l=Er[t];Er[t++]=null;var c=Er[t];if(Er[t++]=null,o!==null&&l!==null){var m=o.pending;m===null?l.next=l:(l.next=m.next,m.next=l),o.pending=l}c!==0&&Jv(r,l,c)}}function ef(e,t,r,o){Er[Ps++]=e,Er[Ps++]=t,Er[Ps++]=r,Er[Ps++]=o,By|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function mm(e,t,r,o){return ef(e,t,r,o),tf(e)}function bn(e,t){return ef(e,null,null,t),tf(e)}function Jv(e,t,r){e.lanes|=r;var o=e.alternate;o!==null&&(o.lanes|=r);for(var l=!1,c=e.return;c!==null;)c.childLanes|=r,o=c.alternate,o!==null&&(o.childLanes|=r),c.tag===22&&(e=c.stateNode,e===null||e._visibility&Du||(l=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,l&&t!==null&&(l=31-Rn(r),e=c.hiddenUpdates,o=e[l],o===null?e[l]=[t]:o.push(t),t.lane=r|536870912),c):null}function tf(e){if(Ku>YM)throw Yo=Ku=0,Wu=bg=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Yo>GM&&(Yo=0,Wu=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&hS(e);for(var t=e,r=t.return;r!==null;)t.alternate===null&&(t.flags&4098)!==0&&hS(e),t=r,r=t.return;return t.tag===3?t.stateNode:null}function yo(e){if(Tr===null)return e;var t=Tr(e);return t===void 0?e:t.current}function pm(e){if(Tr===null)return e;var t=Tr(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=yo(e.render),e.render!==t)?(t={$$typeof:hu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Kv(e,t){if(Tr===null)return!1;var r=e.elementType;t=t.type;var o=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||l===sr)&&(o=!0);break;case 11:(l===hu||l===sr)&&(o=!0);break;case 14:case 15:(l===Wf||l===sr)&&(o=!0);break;default:return!1}return!!(o&&(e=Tr(r),e!==void 0&&e===Tr(t)))}function Wv(e){Tr!==null&&typeof WeakSet=="function"&&(qs===null&&(qs=new WeakSet),qs.add(e))}function ex(e,t,r){do{var o=e,l=o.alternate,c=o.child,m=o.sibling,g=o.tag;o=o.type;var w=null;switch(g){case 0:case 15:case 1:w=o;break;case 11:w=o.render}if(Tr===null)throw Error("Expected resolveFamily to be set during hot reload.");var E=!1;if(o=!1,w!==null&&(w=Tr(w),w!==void 0&&(r.has(w)?o=!0:t.has(w)&&(g===1?o=!0:E=!0))),qs!==null&&(qs.has(e)||l!==null&&qs.has(l))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||E)&&(l=bn(e,2),l!==null&&zt(l,e,2)),c===null||o||ex(c,t,r),m===null)break;e=m}while(!0)}function JR(e,t,r,o){this.tag=e,this.key=r,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,iE||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ym(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ia(e,t){var r=e.alternate;switch(r===null?(r=x(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r._debugOwner=e._debugOwner,r._debugStack=e._debugStack,r._debugTask=e._debugTask,r._debugHookTypes=e._debugHookTypes,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null,r.actualDuration=-0,r.actualStartTime=-1.1),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r.selfBaseDuration=e.selfBaseDuration,r.treeBaseDuration=e.treeBaseDuration,r._debugInfo=e._debugInfo,r._debugNeedsRemount=e._debugNeedsRemount,r.tag){case 0:case 15:r.type=yo(e.type);break;case 1:r.type=yo(e.type);break;case 11:r.type=pm(e.type)}return r}function tx(e,t){e.flags&=65011714;var r=e.alternate;return r===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.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=r.selfBaseDuration,e.treeBaseDuration=r.treeBaseDuration),e}function gm(e,t,r,o,l,c){var m=0,g=e;if(typeof e=="function")ym(e)&&(m=1),g=yo(g);else if(typeof e=="string")m=le(),m=oO(e,r,m)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case cy:return t=x(31,r,t,l),t.elementType=cy,t.lanes=c,t;case Rs:return go(r.children,l,c,t);case Kf:m=8,l|=xn,l|=$r;break;case oy:return e=r,o=l,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=x(12,e,t,o|Ye),t.elementType=oy,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case ly:return t=x(13,r,t,l),t.elementType=ly,t.lanes=c,t;case uy:return t=x(19,r,t,l),t.elementType=uy,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wa:m=10;break e;case sy:m=9;break e;case hu:m=11,g=pm(g);break e;case Wf:m=14;break e;case sr:m=16,g=null;break e}g="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?r="null":en(e)?r="array":e!==void 0&&e.$$typeof===Sa?(r="<"+(se(e.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):r=typeof e,(m=o?ce(o):null)&&(g+=`
77
77
 
78
- Check the render method of \``+m+"`."),m=29,r=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(r+"."+y)),y=null}return t=x(m,r,t,l),t.elementType=e,t.type=y,t.lanes=c,t._debugOwner=o,t}function nf(e,t,r){return t=ym(e.type,e.key,e.props,e._owner,t,r),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function yo(e,t,r,o){return e=x(7,e,o,t),e.lanes=r,e}function bm(e,t,r){return e=x(6,e,null,t),e.lanes=r,e}function tx(e){var t=x(18,null,null,Ve);return t.stateNode=e,t}function vm(e,t,r){return t=x(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tr(e,t){if(typeof e=="object"&&e!==null){var r=Hg.get(e);return r!==void 0?r:(t={value:e,source:t,stack:je(t)},Hg.set(e,t),t)}return{value:e,source:t,stack:je(t)}}function Fa(e,t){bi(),Is[Fs++]=wu,Is[Fs++]=md,md=e,wu=t}function nx(e,t,r){bi(),Ar[wr++]=ei,Ar[wr++]=ti,Ar[wr++]=Ro,Ro=e;var o=ei;e=ti;var l=32-Rn(o)-1;o&=~(1<<l),r+=1;var c=32-Rn(t)+l;if(30<c){var m=l-l%5;c=(o&(1<<m)-1).toString(32),o>>=m,l-=m,ei=1<<32-Rn(t)+l|r<<l|o,ti=c+e}else ei=1<<c|r<<l|o,ti=e}function xm(e){bi(),e.return!==null&&(Fa(e,1),nx(e,1,0))}function Sm(e){for(;e===md;)md=Is[--Fs],Is[Fs]=null,wu=Is[--Fs],Is[Fs]=null;for(;e===Ro;)Ro=Ar[--wr],Ar[wr]=null,ti=Ar[--wr],Ar[wr]=null,ei=Ar[--wr],Ar[wr]=null}function rx(){return bi(),Ro!==null?{id:ei,overflow:ti}:null}function ax(e,t){bi(),Ar[wr++]=ei,Ar[wr++]=ti,Ar[wr++]=Ro,ei=t.id,ti=t.overflow,Ro=e}function bi(){We||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function bo(e,t){if(e.return===null){if(ur===null)ur={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ur.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ur.distanceFromLeaf>t&&(ur.distanceFromLeaf=t)}return ur}var r=bo(e.return,t+1).children;return 0<r.length&&r[r.length-1].fiber===e?(r=r[r.length-1],r.distanceFromLeaf>t&&(r.distanceFromLeaf=t),r):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},r.push(t),t)}function ix(){We&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rf(e,t){ka||(e=bo(e,0),e.serverProps=null,t!==null&&(t=VS(t),e.serverTail.push(t)))}function vi(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,r="",o=ur;throw o!==null&&(ur=null,r=im(o)),Hl(tr(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
78
+ Check the render method of \``+m+"`."),m=29,r=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(r+"."+g)),g=null}return t=x(m,r,t,l),t.elementType=e,t.type=g,t.lanes=c,t._debugOwner=o,t}function nf(e,t,r){return t=gm(e.type,e.key,e.props,e._owner,t,r),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function go(e,t,r,o){return e=x(7,e,o,t),e.lanes=r,e}function bm(e,t,r){return e=x(6,e,null,t),e.lanes=r,e}function nx(e){var t=x(18,null,null,Ve);return t.stateNode=e,t}function vm(e,t,r){return t=x(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tr(e,t){if(typeof e=="object"&&e!==null){var r=Hy.get(e);return r!==void 0?r:(t={value:e,source:t,stack:je(t)},Hy.set(e,t),t)}return{value:e,source:t,stack:je(t)}}function Fa(e,t){bi(),Is[Fs++]=ku,Is[Fs++]=md,md=e,ku=t}function rx(e,t,r){bi(),Dr[kr++]=ei,Dr[kr++]=ti,Dr[kr++]=Ro,Ro=e;var o=ei;e=ti;var l=32-Rn(o)-1;o&=~(1<<l),r+=1;var c=32-Rn(t)+l;if(30<c){var m=l-l%5;c=(o&(1<<m)-1).toString(32),o>>=m,l-=m,ei=1<<32-Rn(t)+l|r<<l|o,ti=c+e}else ei=1<<c|r<<l|o,ti=e}function xm(e){bi(),e.return!==null&&(Fa(e,1),rx(e,1,0))}function Sm(e){for(;e===md;)md=Is[--Fs],Is[Fs]=null,ku=Is[--Fs],Is[Fs]=null;for(;e===Ro;)Ro=Dr[--kr],Dr[kr]=null,ti=Dr[--kr],Dr[kr]=null,ei=Dr[--kr],Dr[kr]=null}function ax(){return bi(),Ro!==null?{id:ei,overflow:ti}:null}function ix(e,t){bi(),Dr[kr++]=ei,Dr[kr++]=ti,Dr[kr++]=Ro,ei=t.id,ti=t.overflow,Ro=e}function bi(){We||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function bo(e,t){if(e.return===null){if(ur===null)ur={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ur.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ur.distanceFromLeaf>t&&(ur.distanceFromLeaf=t)}return ur}var r=bo(e.return,t+1).children;return 0<r.length&&r[r.length-1].fiber===e?(r=r[r.length-1],r.distanceFromLeaf>t&&(r.distanceFromLeaf=t),r):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},r.push(t),t)}function ox(){We&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rf(e,t){Aa||(e=bo(e,0),e.serverProps=null,t!==null&&(t=LS(t),e.serverTail.push(t)))}function vi(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,r="",o=ur;throw o!==null&&(ur=null,r=im(o)),Hl(tr(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
79
79
 
80
80
  - A server/client branch \`if (typeof window !== 'undefined')\`.
81
81
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -85,7 +85,7 @@ Check the render method of \``+m+"`."),m=29,r=Error("Element type is invalid: ex
85
85
 
86
86
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
87
87
 
88
- https://react.dev/link/hydration-mismatch`+r),e)),Pg}function ox(e){var t=e.stateNode,r=e.type,o=e.memoizedProps;switch(t[mn]=e,t[On]=o,Pp(r,o),r){case"dialog":et("cancel",t),et("close",t);break;case"iframe":case"object":case"embed":et("load",t);break;case"video":case"audio":for(r=0;r<ec.length;r++)et(ec[r],t);break;case"source":et("error",t);break;case"img":case"image":case"link":et("error",t),et("load",t);break;case"details":et("toggle",t);break;case"input":kn("input",o),et("invalid",t),d0(t,o),h0(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":m0(t,o);break;case"select":kn("select",o),et("invalid",t),g0(t,o);break;case"textarea":kn("textarea",o),et("invalid",t),y0(t,o),v0(t,o.value,o.defaultValue,o.children)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||o.suppressHydrationWarning===!0||ES(t.textContent,r)?(o.popover!=null&&(et("beforetoggle",t),et("toggle",t)),o.onScroll!=null&&et("scroll",t),o.onScrollEnd!=null&&et("scrollend",t),o.onClick!=null&&(t.onclick=qa),t=!0):t=!1,t||vi(e,!0)}function sx(e){for(pn=e.return;pn;)switch(pn.tag){case 5:case 31:case 13:Nr=!1;return;case 27:case 3:Nr=!0;return;default:pn=pn.return}}function ms(e){if(e!==pn)return!1;if(!We)return sx(e),We=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Gp(e.type,e.memoizedProps)),r=!r),r&&xt){for(r=xt;r;){var o=bo(e,0),l=VS(r);o.serverTail.push(l),r=l.type==="Suspense"?Zp(r):or(r.nextSibling)}vi(e)}if(sx(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");xt=Zp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");xt=Zp(e)}else t===27?(t=xt,Ci(e.type)?(e=Ry,Ry=null,xt=e):xt=t):xt=pn?or(e.stateNode.nextSibling):null;return!0}function vo(){xt=pn=null,ka=We=!1}function Dm(){var e=Li;return e!==null&&(Vn===null?Vn=e:Vn.push.apply(Vn,e),Li=null),e}function Hl(e){Li===null?Li=[e]:Li.push(e)}function Em(){var e=ur;if(e!==null){ur=null;for(var t=im(e);0<e.children.length;)e=e.children[0];De(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
88
+ https://react.dev/link/hydration-mismatch`+r),e)),Py}function sx(e){var t=e.stateNode,r=e.type,o=e.memoizedProps;switch(t[mn]=e,t[zn]=o,Pp(r,o),r){case"dialog":et("cancel",t),et("close",t);break;case"iframe":case"object":case"embed":et("load",t);break;case"video":case"audio":for(r=0;r<ec.length;r++)et(ec[r],t);break;case"source":et("error",t);break;case"img":case"image":case"link":et("error",t),et("load",t);break;case"details":et("toggle",t);break;case"input":An("input",o),et("invalid",t),hv(t,o),mv(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":pv(t,o);break;case"select":An("select",o),et("invalid",t),gv(t,o);break;case"textarea":An("textarea",o),et("invalid",t),bv(t,o),xv(t,o.value,o.defaultValue,o.children)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||o.suppressHydrationWarning===!0||TS(t.textContent,r)?(o.popover!=null&&(et("beforetoggle",t),et("toggle",t)),o.onScroll!=null&&et("scroll",t),o.onScrollEnd!=null&&et("scrollend",t),o.onClick!=null&&(t.onclick=qa),t=!0):t=!1,t||vi(e,!0)}function lx(e){for(pn=e.return;pn;)switch(pn.tag){case 5:case 31:case 13:Nr=!1;return;case 27:case 3:Nr=!0;return;default:pn=pn.return}}function ms(e){if(e!==pn)return!1;if(!We)return lx(e),We=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Gp(e.type,e.memoizedProps)),r=!r),r&&xt){for(r=xt;r;){var o=bo(e,0),l=LS(r);o.serverTail.push(l),r=l.type==="Suspense"?Zp(r):or(r.nextSibling)}vi(e)}if(lx(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");xt=Zp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");xt=Zp(e)}else t===27?(t=xt,Ci(e.type)?(e=Rg,Rg=null,xt=e):xt=t):xt=pn?or(e.stateNode.nextSibling):null;return!0}function vo(){xt=pn=null,Aa=We=!1}function wm(){var e=Li;return e!==null&&(Vn===null?Vn=e:Vn.push.apply(Vn,e),Li=null),e}function Hl(e){Li===null?Li=[e]:Li.push(e)}function Em(){var e=ur;if(e!==null){ur=null;for(var t=im(e);0<e.children.length;)e=e.children[0];we(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
89
89
 
90
90
  - A server/client branch \`if (typeof window !== 'undefined')\`.
91
91
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -95,54 +95,54 @@ https://react.dev/link/hydration-mismatch`+r),e)),Pg}function ox(e){var t=e.stat
95
95
 
96
96
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
97
97
 
98
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function af(){Ys=pd=null,Gs=!1}function xi(e,t,r){X(qg,t._currentValue,e),t._currentValue=r,X(Ig,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==oE&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=oE}function Ya(e,t){e._currentValue=qg.current;var r=Ig.current;oe(Ig,t),e._currentRenderer=r,oe(qg,t)}function Tm(e,t,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}e!==r&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Am(e,t,r,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var c=l.dependencies;if(c!==null){var m=l.child;c=c.firstContext;e:for(;c!==null;){var y=c;c=l;for(var D=0;D<t.length;D++)if(y.context===t[D]){c.lanes|=r,y=c.alternate,y!==null&&(y.lanes|=r),Tm(c.return,r,e),o||(m=null);break e}c=y.next}}else if(l.tag===18){if(m=l.return,m===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes|=r,c=m.alternate,c!==null&&(c.lanes|=r),Tm(m,r,e),m=null}else m=l.child;if(m!==null)m.return=l;else for(m=l;m!==null;){if(m===e){m=null;break}if(l=m.sibling,l!==null){l.return=m.return,m=l;break}m=m.return}l=m}}function ps(e,t,r,o){e=null;for(var l=t,c=!1;l!==null;){if(!c){if((l.flags&524288)!==0)c=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var m=l.alternate;if(m===null)throw Error("Should have a current fiber. This is a bug in React.");if(m=m.memoizedProps,m!==null){var y=l.type;_n(l.pendingProps.value,m.value)||(e!==null?e.push(y):e=[y])}}else if(l===ed.current){if(m=l.alternate,m===null)throw Error("Should have a current fiber. This is a bug in React.");m.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(ic):e=[ic])}l=l.return}e!==null&&Am(t,e,r,o),t.flags|=262144}function of(e){for(e=e.firstContext;e!==null;){if(!_n(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function xo(e){pd=e,Ys=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function wt(e){return Gs&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),lx(pd,e)}function sf(e,t){return pd===null&&xo(e),lx(e,t)}function lx(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},Ys===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Ys=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Ys=Ys.next=t;return r}function wm(){return{controller:new O_,data:new Map,refCount:0}}function So(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Pl(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&M_(__,function(){e.controller.abort()})}function la(e,t,r){(e&127)!==0?0>Ca&&(Ca=Yt(),ku=gd(t),Fg=t,r!=null&&(Yg=F(r)),(st&(nn|dr))!==cn&&(Mt=!0,Hi=Nu),e=lu(),t=su(),e!==$s||t!==Cu?$s=-1.1:t!==null&&(Hi=Nu),_o=e,Cu=t):(e&4194048)!==0&&0>kr&&(kr=Yt(),Ru=gd(t),sE=t,r!=null&&(lE=F(r)),0>ii)&&(e=lu(),t=su(),(e!==qi||t!==zo)&&(qi=-1.1),Pi=e,zo=t)}function JR(e){if(0>Ca){Ca=Yt(),ku=e._debugTask!=null?e._debugTask:null,(st&(nn|dr))!==cn&&(Hi=Nu);var t=lu(),r=su();t!==$s||r!==Cu?$s=-1.1:r!==null&&(Hi=Nu),_o=t,Cu=r}0>kr&&(kr=Yt(),Ru=e._debugTask!=null?e._debugTask:null,0>ii)&&(e=lu(),t=su(),(e!==qi||t!==zo)&&(qi=-1.1),Pi=e,zo=t)}function Ga(){var e=Oo;return Oo=0,e}function lf(e){var t=Oo;return Oo=e,t}function ql(e){var t=Oo;return Oo+=e,t}function uf(){Ue=ze=-1.1}function nr(){var e=ze;return ze=-1.1,e}function rr(e){0<=e&&(ze=e)}function ua(){var e=Ct;return Ct=-0,e}function ca(e){0<=e&&(Ct=e)}function fa(){var e=Nt;return Nt=null,e}function da(){var e=Mt;return Mt=!1,e}function Nm(e){zn=Yt(),0>e.actualStartTime&&(e.actualStartTime=zn)}function km(e){if(0<=zn){var t=Yt()-zn;e.actualDuration+=t,e.selfBaseDuration=t,zn=-1}}function ux(e){if(0<=zn){var t=Yt()-zn;e.actualDuration+=t,zn=-1}}function ha(){if(0<=zn){var e=Yt(),t=e-zn;zn=-1,Oo+=t,Ct+=t,Ue=e}}function cx(e){Nt===null&&(Nt=[]),Nt.push(e),ri===null&&(ri=[]),ri.push(e)}function ma(){zn=Yt(),0>ze&&(ze=zn)}function Il(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function KR(e,t){if(Mu===null){var r=Mu=[];$g=0,Uo=Vp(),Xs={status:"pending",value:void 0,then:function(o){r.push(o)}}}return $g++,t.then(fx,fx),t}function fx(){if(--$g===0&&(-1<kr||(ii=-1.1),Mu!==null)){Xs!==null&&(Xs.status="fulfilled");var e=Mu;Mu=null,Uo=0,Xs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function WR(e,t){var r=[],o={status:"pending",value:null,reason:null,then:function(l){r.push(l)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var l=0;l<r.length;l++)(0,r[l])(t)},function(l){for(o.status="rejected",o.reason=l,l=0;l<r.length;l++)(0,r[l])(void 0)}),o}function Cm(){var e=jo.current;return e!==null?e:gt.pooledCache}function cf(e,t){t===null?X(jo,jo.current,e):X(jo,t.pool,e)}function dx(){var e=Cm();return e===null?null:{parent:Ft._currentValue,pool:e}}function hx(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function mx(e){return e=e.status,e==="fulfilled"||e==="rejected"}function px(e,t,r){J.actQueue!==null&&(J.didUsePromise=!0);var o=e.thenables;if(r=o[r],r===void 0?o.push(t):r!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(qa,qa),t=r),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var l={name:typeof o=="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:l}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){l.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yx(e),e;default:if(typeof t.status=="string")t.then(qa,qa);else{if(e=gt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(c){if(t.status==="pending"){var m=t;m.status="fulfilled",m.value=c}},function(c){if(t.status==="pending"){var m=t;m.status="rejected",m.reason=c}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yx(e),e}throw Lo=t,Bu=!0,Qs}}function Si(e){try{return L_(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Lo=t,Bu=!0,Qs):t}}function gx(){if(Lo===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Lo;return Lo=null,Bu=!1,e}function yx(e){if(e===Qs||e===Td)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function fn(e){var t=Ge;return e!=null&&(Ge=t===null?e:t.concat(e)),t}function Rm(){var e=Ge;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var r=e[t].debugTask;if(r!=null)return r}}return null}function ff(e,t,r){for(var o=Object.keys(e.props),l=0;l<o.length;l++){var c=o[l];if(c!=="children"&&c!=="key"){t===null&&(t=nf(e,r.mode,0),t._debugInfo=Ge,t.return=r),De(t,function(m){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m)},c);break}}}function df(e){var t=Hu;return Hu+=1,Zs===null&&(Zs=hx()),px(Zs,e,t)}function Fl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function bx(e,t){throw t.$$typeof===gM?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
98
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function af(){Ys=pd=null,Gs=!1}function xi(e,t,r){X(qy,t._currentValue,e),t._currentValue=r,X(Iy,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==sE&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=sE}function Ya(e,t){e._currentValue=qy.current;var r=Iy.current;oe(Iy,t),e._currentRenderer=r,oe(qy,t)}function Tm(e,t,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}e!==r&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Dm(e,t,r,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var c=l.dependencies;if(c!==null){var m=l.child;c=c.firstContext;e:for(;c!==null;){var g=c;c=l;for(var w=0;w<t.length;w++)if(g.context===t[w]){c.lanes|=r,g=c.alternate,g!==null&&(g.lanes|=r),Tm(c.return,r,e),o||(m=null);break e}c=g.next}}else if(l.tag===18){if(m=l.return,m===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes|=r,c=m.alternate,c!==null&&(c.lanes|=r),Tm(m,r,e),m=null}else m=l.child;if(m!==null)m.return=l;else for(m=l;m!==null;){if(m===e){m=null;break}if(l=m.sibling,l!==null){l.return=m.return,m=l;break}m=m.return}l=m}}function ps(e,t,r,o){e=null;for(var l=t,c=!1;l!==null;){if(!c){if((l.flags&524288)!==0)c=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var m=l.alternate;if(m===null)throw Error("Should have a current fiber. This is a bug in React.");if(m=m.memoizedProps,m!==null){var g=l.type;Mn(l.pendingProps.value,m.value)||(e!==null?e.push(g):e=[g])}}else if(l===ed.current){if(m=l.alternate,m===null)throw Error("Should have a current fiber. This is a bug in React.");m.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(ic):e=[ic])}l=l.return}e!==null&&Dm(t,e,r,o),t.flags|=262144}function of(e){for(e=e.firstContext;e!==null;){if(!Mn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function xo(e){pd=e,Ys=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function kt(e){return Gs&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),ux(pd,e)}function sf(e,t){return pd===null&&xo(e),ux(e,t)}function ux(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},Ys===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Ys=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Ys=Ys.next=t;return r}function km(){return{controller:new OM,data:new Map,refCount:0}}function So(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Pl(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&MM(_M,function(){e.controller.abort()})}function la(e,t,r){(e&127)!==0?0>Ca&&(Ca=Yt(),Au=yd(t),Fy=t,r!=null&&(Yy=F(r)),(st&(nn|dr))!==cn&&(Ot=!0,Hi=Nu),e=lu(),t=su(),e!==$s||t!==Cu?$s=-1.1:t!==null&&(Hi=Nu),Mo=e,Cu=t):(e&4194048)!==0&&0>Ar&&(Ar=Yt(),Ru=yd(t),lE=t,r!=null&&(uE=F(r)),0>ii)&&(e=lu(),t=su(),(e!==qi||t!==_o)&&(qi=-1.1),Pi=e,_o=t)}function KR(e){if(0>Ca){Ca=Yt(),Au=e._debugTask!=null?e._debugTask:null,(st&(nn|dr))!==cn&&(Hi=Nu);var t=lu(),r=su();t!==$s||r!==Cu?$s=-1.1:r!==null&&(Hi=Nu),Mo=t,Cu=r}0>Ar&&(Ar=Yt(),Ru=e._debugTask!=null?e._debugTask:null,0>ii)&&(e=lu(),t=su(),(e!==qi||t!==_o)&&(qi=-1.1),Pi=e,_o=t)}function Ga(){var e=zo;return zo=0,e}function lf(e){var t=zo;return zo=e,t}function ql(e){var t=zo;return zo+=e,t}function uf(){Ue=_e=-1.1}function nr(){var e=_e;return _e=-1.1,e}function rr(e){0<=e&&(_e=e)}function ua(){var e=Ct;return Ct=-0,e}function ca(e){0<=e&&(Ct=e)}function fa(){var e=Nt;return Nt=null,e}function da(){var e=Ot;return Ot=!1,e}function Nm(e){_n=Yt(),0>e.actualStartTime&&(e.actualStartTime=_n)}function Am(e){if(0<=_n){var t=Yt()-_n;e.actualDuration+=t,e.selfBaseDuration=t,_n=-1}}function cx(e){if(0<=_n){var t=Yt()-_n;e.actualDuration+=t,_n=-1}}function ha(){if(0<=_n){var e=Yt(),t=e-_n;_n=-1,zo+=t,Ct+=t,Ue=e}}function fx(e){Nt===null&&(Nt=[]),Nt.push(e),ri===null&&(ri=[]),ri.push(e)}function ma(){_n=Yt(),0>_e&&(_e=_n)}function Il(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function WR(e,t){if(Ou===null){var r=Ou=[];$y=0,Uo=Vp(),Xs={status:"pending",value:void 0,then:function(o){r.push(o)}}}return $y++,t.then(dx,dx),t}function dx(){if(--$y===0&&(-1<Ar||(ii=-1.1),Ou!==null)){Xs!==null&&(Xs.status="fulfilled");var e=Ou;Ou=null,Uo=0,Xs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ez(e,t){var r=[],o={status:"pending",value:null,reason:null,then:function(l){r.push(l)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var l=0;l<r.length;l++)(0,r[l])(t)},function(l){for(o.status="rejected",o.reason=l,l=0;l<r.length;l++)(0,r[l])(void 0)}),o}function Cm(){var e=jo.current;return e!==null?e:yt.pooledCache}function cf(e,t){t===null?X(jo,jo.current,e):X(jo,t.pool,e)}function hx(){var e=Cm();return e===null?null:{parent:Ft._currentValue,pool:e}}function mx(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function px(e){return e=e.status,e==="fulfilled"||e==="rejected"}function yx(e,t,r){J.actQueue!==null&&(J.didUsePromise=!0);var o=e.thenables;if(r=o[r],r===void 0?o.push(t):r!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(qa,qa),t=r),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var l={name:typeof o=="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:l}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){l.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,bx(e),e;default:if(typeof t.status=="string")t.then(qa,qa);else{if(e=yt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(c){if(t.status==="pending"){var m=t;m.status="fulfilled",m.value=c}},function(c){if(t.status==="pending"){var m=t;m.status="rejected",m.reason=c}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,bx(e),e}throw Lo=t,Bu=!0,Qs}}function Si(e){try{return BM(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Lo=t,Bu=!0,Qs):t}}function gx(){if(Lo===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Lo;return Lo=null,Bu=!1,e}function bx(e){if(e===Qs||e===Td)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function fn(e){var t=Ge;return e!=null&&(Ge=t===null?e:t.concat(e)),t}function Rm(){var e=Ge;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var r=e[t].debugTask;if(r!=null)return r}}return null}function ff(e,t,r){for(var o=Object.keys(e.props),l=0;l<o.length;l++){var c=o[l];if(c!=="children"&&c!=="key"){t===null&&(t=nf(e,r.mode,0),t._debugInfo=Ge,t.return=r),we(t,function(m){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m)},c);break}}}function df(e){var t=Hu;return Hu+=1,Zs===null&&(Zs=mx()),yx(Zs,e,t)}function Fl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function vx(e,t){throw t.$$typeof===gO?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
99
99
  - Multiple copies of the "react" package is used.
100
100
  - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
101
- - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function hf(e,t){var r=Rm();r!==null?r.run(bx.bind(null,e,t)):bx(e,t)}function vx(e,t){var r=F(e)||"Component";kE[r]||(kE[r]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
101
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function hf(e,t){var r=Rm();r!==null?r.run(vx.bind(null,e,t)):vx(e,t)}function xx(e,t){var r=F(e)||"Component";CE[r]||(CE[r]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
102
102
  root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
103
- <%s>{%s}</%s>`,t,t,r,t,r))}function mf(e,t){var r=Rm();r!==null?r.run(vx.bind(null,e,t)):vx(e,t)}function xx(e,t){var r=F(e)||"Component";CE[r]||(CE[r]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
103
+ <%s>{%s}</%s>`,t,t,r,t,r))}function mf(e,t){var r=Rm();r!==null?r.run(xx.bind(null,e,t)):xx(e,t)}function Sx(e,t){var r=F(e)||"Component";RE[r]||(RE[r]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
104
104
  root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
105
- <%s>%s</%s>`,r,t,r))}function pf(e,t){var r=Rm();r!==null?r.run(xx.bind(null,e,t)):xx(e,t)}function Sx(e){function t(M,j){if(e){var L=M.deletions;L===null?(M.deletions=[j],M.flags|=16):L.push(j)}}function r(M,j){if(!e)return null;for(;j!==null;)t(M,j),j=j.sibling;return null}function o(M){for(var j=new Map;M!==null;)M.key!==null?j.set(M.key,M):j.set(M.index,M),M=M.sibling;return j}function l(M,j){return M=Ia(M,j),M.index=0,M.sibling=null,M}function c(M,j,L){return M.index=L,e?(L=M.alternate,L!==null?(L=L.index,L<j?(M.flags|=67108866,j):L):(M.flags|=67108866,j)):(M.flags|=1048576,j)}function m(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function y(M,j,L,te){return j===null||j.tag!==6?(j=bm(L,M.mode,te),j.return=M,j._debugOwner=M,j._debugTask=M._debugTask,j._debugInfo=Ge,j):(j=l(j,L),j.return=M,j._debugInfo=Ge,j)}function D(M,j,L,te){var Se=L.type;return Se===Rs?(j=B(M,j,L.props.children,te,L.key),ff(L,j,M),j):j!==null&&(j.elementType===Se||J0(j,L)||typeof Se=="object"&&Se!==null&&Se.$$typeof===sr&&Si(Se)===j.type)?(j=l(j,L.props),Fl(j,L),j.return=M,j._debugOwner=L._owner,j._debugInfo=Ge,j):(j=nf(L,M.mode,te),Fl(j,L),j.return=M,j._debugInfo=Ge,j)}function E(M,j,L,te){return j===null||j.tag!==4||j.stateNode.containerInfo!==L.containerInfo||j.stateNode.implementation!==L.implementation?(j=vm(L,M.mode,te),j.return=M,j._debugInfo=Ge,j):(j=l(j,L.children||[]),j.return=M,j._debugInfo=Ge,j)}function B(M,j,L,te,Se){return j===null||j.tag!==7?(j=yo(L,M.mode,te,Se),j.return=M,j._debugOwner=M,j._debugTask=M._debugTask,j._debugInfo=Ge,j):(j=l(j,L),j.return=M,j._debugInfo=Ge,j)}function H(M,j,L){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=bm(""+j,M.mode,L),j.return=M,j._debugOwner=M,j._debugTask=M._debugTask,j._debugInfo=Ge,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Sa:return L=nf(j,M.mode,L),Fl(L,j),L.return=M,M=fn(j._debugInfo),L._debugInfo=Ge,Ge=M,L;case Cs:return j=vm(j,M.mode,L),j.return=M,j._debugInfo=Ge,j;case sr:var te=fn(j._debugInfo);return j=Si(j),M=H(M,j,L),Ge=te,M}if(en(j)||ye(j))return L=yo(j,M.mode,L,null),L.return=M,L._debugOwner=M,L._debugTask=M._debugTask,M=fn(j._debugInfo),L._debugInfo=Ge,Ge=M,L;if(typeof j.then=="function")return te=fn(j._debugInfo),M=H(M,df(j),L),Ge=te,M;if(j.$$typeof===Da)return H(M,sf(M,j),L);hf(M,j)}return typeof j=="function"&&mf(M,j),typeof j=="symbol"&&pf(M,j),null}function _(M,j,L,te){var Se=j!==null?j.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return Se!==null?null:y(M,j,""+L,te);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case Sa:return L.key===Se?(Se=fn(L._debugInfo),M=D(M,j,L,te),Ge=Se,M):null;case Cs:return L.key===Se?E(M,j,L,te):null;case sr:return Se=fn(L._debugInfo),L=Si(L),M=_(M,j,L,te),Ge=Se,M}if(en(L)||ye(L))return Se!==null?null:(Se=fn(L._debugInfo),M=B(M,j,L,te,null),Ge=Se,M);if(typeof L.then=="function")return Se=fn(L._debugInfo),M=_(M,j,df(L),te),Ge=Se,M;if(L.$$typeof===Da)return _(M,j,sf(M,L),te);hf(M,L)}return typeof L=="function"&&mf(M,L),typeof L=="symbol"&&pf(M,L),null}function $(M,j,L,te,Se){if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return M=M.get(L)||null,y(j,M,""+te,Se);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Sa:return L=M.get(te.key===null?L:te.key)||null,M=fn(te._debugInfo),j=D(j,L,te,Se),Ge=M,j;case Cs:return M=M.get(te.key===null?L:te.key)||null,E(j,M,te,Se);case sr:var Be=fn(te._debugInfo);return te=Si(te),j=$(M,j,L,te,Se),Ge=Be,j}if(en(te)||ye(te))return L=M.get(L)||null,M=fn(te._debugInfo),j=B(j,L,te,Se,null),Ge=M,j;if(typeof te.then=="function")return Be=fn(te._debugInfo),j=$(M,j,L,df(te),Se),Ge=Be,j;if(te.$$typeof===Da)return $(M,j,L,sf(j,te),Se);hf(j,te)}return typeof te=="function"&&mf(j,te),typeof te=="symbol"&&pf(j,te),null}function ve(M,j,L,te){if(typeof L!="object"||L===null)return te;switch(L.$$typeof){case Sa:case Cs:p(M,j,L);var Se=L.key;if(typeof Se!="string")break;if(te===null){te=new Set,te.add(Se);break}if(!te.has(Se)){te.add(Se);break}De(j,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Se)});break;case sr:L=Si(L),ve(M,j,L,te)}return te}function Ee(M,j,L,te){for(var Se=null,Be=null,_e=null,Ce=j,Fe=j=0,St=null;Ce!==null&&Fe<L.length;Fe++){Ce.index>Fe?(St=Ce,Ce=null):St=Ce.sibling;var Ht=_(M,Ce,L[Fe],te);if(Ht===null){Ce===null&&(Ce=St);break}Se=ve(M,Ht,L[Fe],Se),e&&Ce&&Ht.alternate===null&&t(M,Ce),j=c(Ht,j,Fe),_e===null?Be=Ht:_e.sibling=Ht,_e=Ht,Ce=St}if(Fe===L.length)return r(M,Ce),We&&Fa(M,Fe),Be;if(Ce===null){for(;Fe<L.length;Fe++)Ce=H(M,L[Fe],te),Ce!==null&&(Se=ve(M,Ce,L[Fe],Se),j=c(Ce,j,Fe),_e===null?Be=Ce:_e.sibling=Ce,_e=Ce);return We&&Fa(M,Fe),Be}for(Ce=o(Ce);Fe<L.length;Fe++)St=$(Ce,M,Fe,L[Fe],te),St!==null&&(Se=ve(M,St,L[Fe],Se),e&&St.alternate!==null&&Ce.delete(St.key===null?Fe:St.key),j=c(St,j,Fe),_e===null?Be=St:_e.sibling=St,_e=St);return e&&Ce.forEach(function(hi){return t(M,hi)}),We&&Fa(M,Fe),Be}function bt(M,j,L,te){if(L==null)throw Error("An iterable object provided no iterator.");for(var Se=null,Be=null,_e=j,Ce=j=0,Fe=null,St=null,Ht=L.next();_e!==null&&!Ht.done;Ce++,Ht=L.next()){_e.index>Ce?(Fe=_e,_e=null):Fe=_e.sibling;var hi=_(M,_e,Ht.value,te);if(hi===null){_e===null&&(_e=Fe);break}St=ve(M,hi,Ht.value,St),e&&_e&&hi.alternate===null&&t(M,_e),j=c(hi,j,Ce),Be===null?Se=hi:Be.sibling=hi,Be=hi,_e=Fe}if(Ht.done)return r(M,_e),We&&Fa(M,Ce),Se;if(_e===null){for(;!Ht.done;Ce++,Ht=L.next())_e=H(M,Ht.value,te),_e!==null&&(St=ve(M,_e,Ht.value,St),j=c(_e,j,Ce),Be===null?Se=_e:Be.sibling=_e,Be=_e);return We&&Fa(M,Ce),Se}for(_e=o(_e);!Ht.done;Ce++,Ht=L.next())Fe=$(_e,M,Ce,Ht.value,te),Fe!==null&&(St=ve(M,Fe,Ht.value,St),e&&Fe.alternate!==null&&_e.delete(Fe.key===null?Ce:Fe.key),j=c(Fe,j,Ce),Be===null?Se=Fe:Be.sibling=Fe,Be=Fe);return e&&_e.forEach(function(lz){return t(M,lz)}),We&&Fa(M,Ce),Se}function nt(M,j,L,te){if(typeof L=="object"&&L!==null&&L.type===Rs&&L.key===null&&(ff(L,null,M),L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case Sa:var Se=fn(L._debugInfo);e:{for(var Be=L.key;j!==null;){if(j.key===Be){if(Be=L.type,Be===Rs){if(j.tag===7){r(M,j.sibling),te=l(j,L.props.children),te.return=M,te._debugOwner=L._owner,te._debugInfo=Ge,ff(L,te,M),M=te;break e}}else if(j.elementType===Be||J0(j,L)||typeof Be=="object"&&Be!==null&&Be.$$typeof===sr&&Si(Be)===j.type){r(M,j.sibling),te=l(j,L.props),Fl(te,L),te.return=M,te._debugOwner=L._owner,te._debugInfo=Ge,M=te;break e}r(M,j);break}else t(M,j);j=j.sibling}L.type===Rs?(te=yo(L.props.children,M.mode,te,L.key),te.return=M,te._debugOwner=M,te._debugTask=M._debugTask,te._debugInfo=Ge,ff(L,te,M),M=te):(te=nf(L,M.mode,te),Fl(te,L),te.return=M,te._debugInfo=Ge,M=te)}return M=m(M),Ge=Se,M;case Cs:e:{for(Se=L,L=Se.key;j!==null;){if(j.key===L)if(j.tag===4&&j.stateNode.containerInfo===Se.containerInfo&&j.stateNode.implementation===Se.implementation){r(M,j.sibling),te=l(j,Se.children||[]),te.return=M,M=te;break e}else{r(M,j);break}else t(M,j);j=j.sibling}te=vm(Se,M.mode,te),te.return=M,M=te}return m(M);case sr:return Se=fn(L._debugInfo),L=Si(L),M=nt(M,j,L,te),Ge=Se,M}if(en(L))return Se=fn(L._debugInfo),M=Ee(M,j,L,te),Ge=Se,M;if(ye(L)){if(Se=fn(L._debugInfo),Be=ye(L),typeof Be!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var _e=Be.call(L);return _e===L?(M.tag!==0||Object.prototype.toString.call(M.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(_e)!=="[object Generator]")&&(wE||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),wE=!0):L.entries!==Be||Jg||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Jg=!0),M=bt(M,j,_e,te),Ge=Se,M}if(typeof L.then=="function")return Se=fn(L._debugInfo),M=nt(M,j,df(L),te),Ge=Se,M;if(L.$$typeof===Da)return nt(M,j,sf(M,L),te);hf(M,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(Se=""+L,j!==null&&j.tag===6?(r(M,j.sibling),te=l(j,Se),te.return=M,M=te):(r(M,j),te=bm(Se,M.mode,te),te.return=M,te._debugOwner=M,te._debugTask=M._debugTask,te._debugInfo=Ge,M=te),m(M)):(typeof L=="function"&&mf(M,L),typeof L=="symbol"&&pf(M,L),r(M,j))}return function(M,j,L,te){var Se=Ge;Ge=null;try{Hu=0;var Be=nt(M,j,L,te);return Zs=null,Be}catch(St){if(St===Qs||St===Td)throw St;var _e=x(29,St,null,M.mode);_e.lanes=te,_e.return=M;var Ce=_e._debugInfo=Ge;if(_e._debugOwner=M._debugOwner,_e._debugTask=M._debugTask,Ce!=null){for(var Fe=Ce.length-1;0<=Fe;Fe--)if(typeof Ce[Fe].stack=="string"){_e._debugOwner=Ce[Fe],_e._debugTask=Ce[Fe].debugTask;break}}return _e}finally{Ge=Se}}}function Dx(e,t){var r=en(e);return e=!r&&typeof ye(e)=="function",r||e?(r=r?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",r,t,r),!1):!0}function Om(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mm(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 Di(e){return{lane:e,tag:OE,payload:null,callback:null,next:null}}function Ei(e,t,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,Wg===o&&!zE){var l=F(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
105
+ <%s>%s</%s>`,r,t,r))}function pf(e,t){var r=Rm();r!==null?r.run(Sx.bind(null,e,t)):Sx(e,t)}function wx(e){function t(O,j){if(e){var L=O.deletions;L===null?(O.deletions=[j],O.flags|=16):L.push(j)}}function r(O,j){if(!e)return null;for(;j!==null;)t(O,j),j=j.sibling;return null}function o(O){for(var j=new Map;O!==null;)O.key!==null?j.set(O.key,O):j.set(O.index,O),O=O.sibling;return j}function l(O,j){return O=Ia(O,j),O.index=0,O.sibling=null,O}function c(O,j,L){return O.index=L,e?(L=O.alternate,L!==null?(L=L.index,L<j?(O.flags|=67108866,j):L):(O.flags|=67108866,j)):(O.flags|=1048576,j)}function m(O){return e&&O.alternate===null&&(O.flags|=67108866),O}function g(O,j,L,te){return j===null||j.tag!==6?(j=bm(L,O.mode,te),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=Ge,j):(j=l(j,L),j.return=O,j._debugInfo=Ge,j)}function w(O,j,L,te){var Se=L.type;return Se===Rs?(j=B(O,j,L.props.children,te,L.key),ff(L,j,O),j):j!==null&&(j.elementType===Se||Kv(j,L)||typeof Se=="object"&&Se!==null&&Se.$$typeof===sr&&Si(Se)===j.type)?(j=l(j,L.props),Fl(j,L),j.return=O,j._debugOwner=L._owner,j._debugInfo=Ge,j):(j=nf(L,O.mode,te),Fl(j,L),j.return=O,j._debugInfo=Ge,j)}function E(O,j,L,te){return j===null||j.tag!==4||j.stateNode.containerInfo!==L.containerInfo||j.stateNode.implementation!==L.implementation?(j=vm(L,O.mode,te),j.return=O,j._debugInfo=Ge,j):(j=l(j,L.children||[]),j.return=O,j._debugInfo=Ge,j)}function B(O,j,L,te,Se){return j===null||j.tag!==7?(j=go(L,O.mode,te,Se),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=Ge,j):(j=l(j,L),j.return=O,j._debugInfo=Ge,j)}function H(O,j,L){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=bm(""+j,O.mode,L),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=Ge,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Sa:return L=nf(j,O.mode,L),Fl(L,j),L.return=O,O=fn(j._debugInfo),L._debugInfo=Ge,Ge=O,L;case Cs:return j=vm(j,O.mode,L),j.return=O,j._debugInfo=Ge,j;case sr:var te=fn(j._debugInfo);return j=Si(j),O=H(O,j,L),Ge=te,O}if(en(j)||ge(j))return L=go(j,O.mode,L,null),L.return=O,L._debugOwner=O,L._debugTask=O._debugTask,O=fn(j._debugInfo),L._debugInfo=Ge,Ge=O,L;if(typeof j.then=="function")return te=fn(j._debugInfo),O=H(O,df(j),L),Ge=te,O;if(j.$$typeof===wa)return H(O,sf(O,j),L);hf(O,j)}return typeof j=="function"&&mf(O,j),typeof j=="symbol"&&pf(O,j),null}function M(O,j,L,te){var Se=j!==null?j.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return Se!==null?null:g(O,j,""+L,te);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case Sa:return L.key===Se?(Se=fn(L._debugInfo),O=w(O,j,L,te),Ge=Se,O):null;case Cs:return L.key===Se?E(O,j,L,te):null;case sr:return Se=fn(L._debugInfo),L=Si(L),O=M(O,j,L,te),Ge=Se,O}if(en(L)||ge(L))return Se!==null?null:(Se=fn(L._debugInfo),O=B(O,j,L,te,null),Ge=Se,O);if(typeof L.then=="function")return Se=fn(L._debugInfo),O=M(O,j,df(L),te),Ge=Se,O;if(L.$$typeof===wa)return M(O,j,sf(O,L),te);hf(O,L)}return typeof L=="function"&&mf(O,L),typeof L=="symbol"&&pf(O,L),null}function $(O,j,L,te,Se){if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return O=O.get(L)||null,g(j,O,""+te,Se);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Sa:return L=O.get(te.key===null?L:te.key)||null,O=fn(te._debugInfo),j=w(j,L,te,Se),Ge=O,j;case Cs:return O=O.get(te.key===null?L:te.key)||null,E(j,O,te,Se);case sr:var Be=fn(te._debugInfo);return te=Si(te),j=$(O,j,L,te,Se),Ge=Be,j}if(en(te)||ge(te))return L=O.get(L)||null,O=fn(te._debugInfo),j=B(j,L,te,Se,null),Ge=O,j;if(typeof te.then=="function")return Be=fn(te._debugInfo),j=$(O,j,L,df(te),Se),Ge=Be,j;if(te.$$typeof===wa)return $(O,j,L,sf(j,te),Se);hf(j,te)}return typeof te=="function"&&mf(j,te),typeof te=="symbol"&&pf(j,te),null}function ve(O,j,L,te){if(typeof L!="object"||L===null)return te;switch(L.$$typeof){case Sa:case Cs:p(O,j,L);var Se=L.key;if(typeof Se!="string")break;if(te===null){te=new Set,te.add(Se);break}if(!te.has(Se)){te.add(Se);break}we(j,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Se)});break;case sr:L=Si(L),ve(O,j,L,te)}return te}function Ee(O,j,L,te){for(var Se=null,Be=null,Me=null,Ce=j,Fe=j=0,St=null;Ce!==null&&Fe<L.length;Fe++){Ce.index>Fe?(St=Ce,Ce=null):St=Ce.sibling;var Ht=M(O,Ce,L[Fe],te);if(Ht===null){Ce===null&&(Ce=St);break}Se=ve(O,Ht,L[Fe],Se),e&&Ce&&Ht.alternate===null&&t(O,Ce),j=c(Ht,j,Fe),Me===null?Be=Ht:Me.sibling=Ht,Me=Ht,Ce=St}if(Fe===L.length)return r(O,Ce),We&&Fa(O,Fe),Be;if(Ce===null){for(;Fe<L.length;Fe++)Ce=H(O,L[Fe],te),Ce!==null&&(Se=ve(O,Ce,L[Fe],Se),j=c(Ce,j,Fe),Me===null?Be=Ce:Me.sibling=Ce,Me=Ce);return We&&Fa(O,Fe),Be}for(Ce=o(Ce);Fe<L.length;Fe++)St=$(Ce,O,Fe,L[Fe],te),St!==null&&(Se=ve(O,St,L[Fe],Se),e&&St.alternate!==null&&Ce.delete(St.key===null?Fe:St.key),j=c(St,j,Fe),Me===null?Be=St:Me.sibling=St,Me=St);return e&&Ce.forEach(function(hi){return t(O,hi)}),We&&Fa(O,Fe),Be}function bt(O,j,L,te){if(L==null)throw Error("An iterable object provided no iterator.");for(var Se=null,Be=null,Me=j,Ce=j=0,Fe=null,St=null,Ht=L.next();Me!==null&&!Ht.done;Ce++,Ht=L.next()){Me.index>Ce?(Fe=Me,Me=null):Fe=Me.sibling;var hi=M(O,Me,Ht.value,te);if(hi===null){Me===null&&(Me=Fe);break}St=ve(O,hi,Ht.value,St),e&&Me&&hi.alternate===null&&t(O,Me),j=c(hi,j,Ce),Be===null?Se=hi:Be.sibling=hi,Be=hi,Me=Fe}if(Ht.done)return r(O,Me),We&&Fa(O,Ce),Se;if(Me===null){for(;!Ht.done;Ce++,Ht=L.next())Me=H(O,Ht.value,te),Me!==null&&(St=ve(O,Me,Ht.value,St),j=c(Me,j,Ce),Be===null?Se=Me:Be.sibling=Me,Be=Me);return We&&Fa(O,Ce),Se}for(Me=o(Me);!Ht.done;Ce++,Ht=L.next())Fe=$(Me,O,Ce,Ht.value,te),Fe!==null&&(St=ve(O,Fe,Ht.value,St),e&&Fe.alternate!==null&&Me.delete(Fe.key===null?Ce:Fe.key),j=c(Fe,j,Ce),Be===null?Se=Fe:Be.sibling=Fe,Be=Fe);return e&&Me.forEach(function(u_){return t(O,u_)}),We&&Fa(O,Ce),Se}function nt(O,j,L,te){if(typeof L=="object"&&L!==null&&L.type===Rs&&L.key===null&&(ff(L,null,O),L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case Sa:var Se=fn(L._debugInfo);e:{for(var Be=L.key;j!==null;){if(j.key===Be){if(Be=L.type,Be===Rs){if(j.tag===7){r(O,j.sibling),te=l(j,L.props.children),te.return=O,te._debugOwner=L._owner,te._debugInfo=Ge,ff(L,te,O),O=te;break e}}else if(j.elementType===Be||Kv(j,L)||typeof Be=="object"&&Be!==null&&Be.$$typeof===sr&&Si(Be)===j.type){r(O,j.sibling),te=l(j,L.props),Fl(te,L),te.return=O,te._debugOwner=L._owner,te._debugInfo=Ge,O=te;break e}r(O,j);break}else t(O,j);j=j.sibling}L.type===Rs?(te=go(L.props.children,O.mode,te,L.key),te.return=O,te._debugOwner=O,te._debugTask=O._debugTask,te._debugInfo=Ge,ff(L,te,O),O=te):(te=nf(L,O.mode,te),Fl(te,L),te.return=O,te._debugInfo=Ge,O=te)}return O=m(O),Ge=Se,O;case Cs:e:{for(Se=L,L=Se.key;j!==null;){if(j.key===L)if(j.tag===4&&j.stateNode.containerInfo===Se.containerInfo&&j.stateNode.implementation===Se.implementation){r(O,j.sibling),te=l(j,Se.children||[]),te.return=O,O=te;break e}else{r(O,j);break}else t(O,j);j=j.sibling}te=vm(Se,O.mode,te),te.return=O,O=te}return m(O);case sr:return Se=fn(L._debugInfo),L=Si(L),O=nt(O,j,L,te),Ge=Se,O}if(en(L))return Se=fn(L._debugInfo),O=Ee(O,j,L,te),Ge=Se,O;if(ge(L)){if(Se=fn(L._debugInfo),Be=ge(L),typeof Be!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Me=Be.call(L);return Me===L?(O.tag!==0||Object.prototype.toString.call(O.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Me)!=="[object Generator]")&&(NE||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),NE=!0):L.entries!==Be||Jy||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Jy=!0),O=bt(O,j,Me,te),Ge=Se,O}if(typeof L.then=="function")return Se=fn(L._debugInfo),O=nt(O,j,df(L),te),Ge=Se,O;if(L.$$typeof===wa)return nt(O,j,sf(O,L),te);hf(O,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(Se=""+L,j!==null&&j.tag===6?(r(O,j.sibling),te=l(j,Se),te.return=O,O=te):(r(O,j),te=bm(Se,O.mode,te),te.return=O,te._debugOwner=O,te._debugTask=O._debugTask,te._debugInfo=Ge,O=te),m(O)):(typeof L=="function"&&mf(O,L),typeof L=="symbol"&&pf(O,L),r(O,j))}return function(O,j,L,te){var Se=Ge;Ge=null;try{Hu=0;var Be=nt(O,j,L,te);return Zs=null,Be}catch(St){if(St===Qs||St===Td)throw St;var Me=x(29,St,null,O.mode);Me.lanes=te,Me.return=O;var Ce=Me._debugInfo=Ge;if(Me._debugOwner=O._debugOwner,Me._debugTask=O._debugTask,Ce!=null){for(var Fe=Ce.length-1;0<=Fe;Fe--)if(typeof Ce[Fe].stack=="string"){Me._debugOwner=Ce[Fe],Me._debugTask=Ce[Fe].debugTask;break}}return Me}finally{Ge=Se}}}function Ex(e,t){var r=en(e);return e=!r&&typeof ge(e)=="function",r||e?(r=r?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",r,t,r),!1):!0}function zm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Om(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 wi(e){return{lane:e,tag:OE,payload:null,callback:null,next:null}}function Ei(e,t,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,Wy===o&&!UE){var l=F(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
106
106
 
107
- Please update the following component: %s`,l),zE=!0}return(st&nn)!==cn?(l=o.pending,l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,t=tf(e),Z0(e,null,r),t):(ef(e,o,t,r),tf(e))}function Yl(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Pt(e,r)}}function gf(e,t){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var l=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var m={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};c===null?l=c=m:c=c.next=m,r=r.next}while(r!==null);c===null?l=c=t:c=c.next=t}else l=c=t;r={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:c,shared:o.shared,callbacks:o.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Gl(){if(ey){var e=Xs;if(e!==null)throw e}}function $l(e,t,r,o){ey=!1;var l=e.updateQueue;Ii=!1,Wg=l.shared;var c=l.firstBaseUpdate,m=l.lastBaseUpdate,y=l.shared.pending;if(y!==null){l.shared.pending=null;var D=y,E=D.next;D.next=null,m===null?c=E:m.next=E,m=D;var B=e.alternate;B!==null&&(B=B.updateQueue,y=B.lastBaseUpdate,y!==m&&(y===null?B.firstBaseUpdate=E:y.next=E,B.lastBaseUpdate=D))}if(c!==null){var H=l.baseState;m=0,B=E=D=null,y=c;do{var _=y.lane&-536870913,$=_!==y.lane;if($?($e&_)===_:(o&_)===_){_!==0&&_===Uo&&(ey=!0),B!==null&&(B=B.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{_=e;var ve=y,Ee=t,bt=r;switch(ve.tag){case ME:if(ve=ve.payload,typeof ve=="function"){Gs=!0;var nt=ve.call(bt,H,Ee);if(_.mode&xn){we(!0);try{ve.call(bt,H,Ee)}finally{we(!1)}}Gs=!1,H=nt;break e}H=ve;break e;case Kg:_.flags=_.flags&-65537|128;case OE:if(nt=ve.payload,typeof nt=="function"){if(Gs=!0,ve=nt.call(bt,H,Ee),_.mode&xn){we(!0);try{nt.call(bt,H,Ee)}finally{we(!1)}}Gs=!1}else ve=nt;if(ve==null)break e;H=Je({},H,ve);break e;case _E:Ii=!0}}_=y.callback,_!==null&&(e.flags|=64,$&&(e.flags|=8192),$=l.callbacks,$===null?l.callbacks=[_]:$.push(_))}else $={lane:_,tag:y.tag,payload:y.payload,callback:y.callback,next:null},B===null?(E=B=$,D=H):B=B.next=$,m|=_;if(y=y.next,y===null){if(y=l.shared.pending,y===null)break;$=y,y=$.next,$.next=null,l.lastBaseUpdate=$,l.shared.pending=null}}while(!0);B===null&&(D=H),l.baseState=D,l.firstBaseUpdate=E,l.lastBaseUpdate=B,c===null&&(l.shared.lanes=0),Gi|=m,e.lanes=m,e.memoizedState=H}Wg=null}function Ex(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function eO(e,t){var r=e.shared.hiddenCallbacks;if(r!==null)for(e.shared.hiddenCallbacks=null,e=0;e<r.length;e++)Ex(r[e],t)}function Tx(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)Ex(r[e],t)}function Ax(e,t){var r=Oa;X(wd,r,e),X(Js,t,e),Oa=r|t.baseLanes}function _m(e){X(wd,Oa,e),X(Js,Js.current,e)}function zm(e){Oa=wd.current,oe(Js,e),oe(wd,e)}function Ti(e){var t=e.alternate;X(Bt,Bt.current&Ks,e),X(cr,e,e),Cr===null&&(t===null||Js.current!==null||t.memoizedState!==null)&&(Cr=e)}function Um(e){X(Bt,Bt.current,e),X(cr,e,e),Cr===null&&(Cr=e)}function wx(e){e.tag===22?(X(Bt,Bt.current,e),X(cr,e,e),Cr===null&&(Cr=e)):Ai(e)}function Ai(e){X(Bt,Bt.current,e),X(cr,cr.current,e)}function ar(e){oe(cr,e),Cr===e&&(Cr=null),oe(Bt,e)}function yf(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Xp(r)||Qp(r)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ze(){var e=Z;Or===null?Or=[e]:Or.push(e)}function fe(){var e=Z;if(Or!==null&&(li++,Or[li]!==e)){var t=F(Le);if(!UE.has(t)&&(UE.add(t),Or!==null)){for(var r="",o=0;o<=li;o++){var l=Or[o],c=o===li?e:l;for(l=o+1+". "+l;30>l.length;)l+=" ";l+=c+`
107
+ Please update the following component: %s`,l),UE=!0}return(st&nn)!==cn?(l=o.pending,l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,t=tf(e),Jv(e,null,r),t):(ef(e,o,t,r),tf(e))}function Yl(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Pt(e,r)}}function yf(e,t){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var l=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var m={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};c===null?l=c=m:c=c.next=m,r=r.next}while(r!==null);c===null?l=c=t:c=c.next=t}else l=c=t;r={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:c,shared:o.shared,callbacks:o.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Gl(){if(eg){var e=Xs;if(e!==null)throw e}}function $l(e,t,r,o){eg=!1;var l=e.updateQueue;Ii=!1,Wy=l.shared;var c=l.firstBaseUpdate,m=l.lastBaseUpdate,g=l.shared.pending;if(g!==null){l.shared.pending=null;var w=g,E=w.next;w.next=null,m===null?c=E:m.next=E,m=w;var B=e.alternate;B!==null&&(B=B.updateQueue,g=B.lastBaseUpdate,g!==m&&(g===null?B.firstBaseUpdate=E:g.next=E,B.lastBaseUpdate=w))}if(c!==null){var H=l.baseState;m=0,B=E=w=null,g=c;do{var M=g.lane&-536870913,$=M!==g.lane;if($?($e&M)===M:(o&M)===M){M!==0&&M===Uo&&(eg=!0),B!==null&&(B=B.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{M=e;var ve=g,Ee=t,bt=r;switch(ve.tag){case ME:if(ve=ve.payload,typeof ve=="function"){Gs=!0;var nt=ve.call(bt,H,Ee);if(M.mode&xn){ke(!0);try{ve.call(bt,H,Ee)}finally{ke(!1)}}Gs=!1,H=nt;break e}H=ve;break e;case Ky:M.flags=M.flags&-65537|128;case OE:if(nt=ve.payload,typeof nt=="function"){if(Gs=!0,ve=nt.call(bt,H,Ee),M.mode&xn){ke(!0);try{nt.call(bt,H,Ee)}finally{ke(!1)}}Gs=!1}else ve=nt;if(ve==null)break e;H=Je({},H,ve);break e;case _E:Ii=!0}}M=g.callback,M!==null&&(e.flags|=64,$&&(e.flags|=8192),$=l.callbacks,$===null?l.callbacks=[M]:$.push(M))}else $={lane:M,tag:g.tag,payload:g.payload,callback:g.callback,next:null},B===null?(E=B=$,w=H):B=B.next=$,m|=M;if(g=g.next,g===null){if(g=l.shared.pending,g===null)break;$=g,g=$.next,$.next=null,l.lastBaseUpdate=$,l.shared.pending=null}}while(!0);B===null&&(w=H),l.baseState=w,l.firstBaseUpdate=E,l.lastBaseUpdate=B,c===null&&(l.shared.lanes=0),Gi|=m,e.lanes=m,e.memoizedState=H}Wy=null}function Tx(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function tz(e,t){var r=e.shared.hiddenCallbacks;if(r!==null)for(e.shared.hiddenCallbacks=null,e=0;e<r.length;e++)Tx(r[e],t)}function Dx(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)Tx(r[e],t)}function kx(e,t){var r=za;X(kd,r,e),X(Js,t,e),za=r|t.baseLanes}function Mm(e){X(kd,za,e),X(Js,Js.current,e)}function _m(e){za=kd.current,oe(Js,e),oe(kd,e)}function Ti(e){var t=e.alternate;X(Bt,Bt.current&Ks,e),X(cr,e,e),Cr===null&&(t===null||Js.current!==null||t.memoizedState!==null)&&(Cr=e)}function Um(e){X(Bt,Bt.current,e),X(cr,e,e),Cr===null&&(Cr=e)}function Nx(e){e.tag===22?(X(Bt,Bt.current,e),X(cr,e,e),Cr===null&&(Cr=e)):Di(e)}function Di(e){X(Bt,Bt.current,e),X(cr,cr.current,e)}function ar(e){oe(cr,e),Cr===e&&(Cr=null),oe(Bt,e)}function gf(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Xp(r)||Qp(r)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ze(){var e=Z;zr===null?zr=[e]:zr.push(e)}function fe(){var e=Z;if(zr!==null&&(li++,zr[li]!==e)){var t=F(Le);if(!jE.has(t)&&(jE.add(t),zr!==null)){for(var r="",o=0;o<=li;o++){var l=zr[o],c=o===li?e:l;for(l=o+1+". "+l;30>l.length;)l+=" ";l+=c+`
108
108
  `,r+=l}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
109
109
 
110
110
  Previous render Next render
111
111
  ------------------------------------------------------
112
112
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113
- `,t,r)}}}function gs(e){e==null||en(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Z,typeof e)}function bf(){var e=F(Le);VE.has(e)||(VE.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function jt(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
113
+ `,t,r)}}}function ys(e){e==null||en(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Z,typeof e)}function bf(){var e=F(Le);LE.has(e)||(LE.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function jt(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
114
114
  1. You might have mismatching versions of React and the renderer (such as React DOM)
115
115
  2. You might be breaking the Rules of Hooks
116
116
  3. You might have more than one copy of React in the same app
117
117
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function jm(e,t){if(Iu)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Z),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
118
118
 
119
119
  Previous: %s
120
- Incoming: %s`,Z,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var r=0;r<t.length&&r<e.length;r++)if(!_n(e[r],t[r]))return!1;return!0}function Vm(e,t,r,o,l,c){oi=c,Le=t,Or=e!==null?e._debugHookTypes:null,li=-1,Iu=e!==null&&e.type!==t.type,(Object.prototype.toString.call(r)==="[object AsyncFunction]"||Object.prototype.toString.call(r)==="[object AsyncGeneratorFunction]")&&(c=F(Le),ty.has(c)||(ty.add(c),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,J.H=e!==null&&e.memoizedState!==null?ry:Or!==null?LE:ny,Ho=c=(t.mode&xn)!==Ve;var m=Xg(r,o,l);if(Ho=!1,el&&(m=Lm(t,r,o,l)),c){we(!0);try{m=Lm(t,r,o,l)}finally{we(!1)}}return Nx(e,t),m}function Nx(e,t){t._debugHookTypes=Or,t.dependencies===null?si!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:si}):t.dependencies._debugThenableState=si,J.H=Fu;var r=pt!==null&&pt.next!==null;if(oi=0,Or=Z=Gt=pt=Le=null,li=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),kd=!1,qu=0,si=null,r)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||$t||(e=e.dependencies,e!==null&&of(e)&&($t=!0)),Bu?(Bu=!1,e=!0):e=!1,e&&(t=F(t)||"Unknown",jE.has(t)||ty.has(t)||(jE.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Lm(e,t,r,o){Le=e;var l=0;do{if(el&&(si=null),qu=0,el=!1,l>=H_)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,Iu=!1,Gt=pt=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}li=-1,J.H=BE,c=Xg(t,r,o)}while(el);return c}function tO(){var e=J.H,t=e.useState()[0];return t=typeof t.then=="function"?Xl(t):t,e=e.useState()[0],(pt!==null?pt.memoizedState:null)!==e&&(Le.flags|=1024),t}function Bm(){var e=Cd!==0;return Cd=0,e}function Hm(e,t,r){t.updateQueue=e.updateQueue,t.flags=(t.mode&$r)!==Ve?t.flags&-402655237:t.flags&-2053,e.lanes&=~r}function Pm(e){if(kd){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}kd=!1}oi=0,Or=Gt=pt=Le=null,li=-1,Z=null,el=!1,qu=Cd=0,si=null}function Cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?Le.memoizedState=Gt=e:Gt=Gt.next=e,Gt}function dt(){if(pt===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=pt.next;var t=Gt===null?Le.memoizedState:Gt.next;if(t!==null)Gt=t,pt=e;else{if(e===null)throw Le.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");pt=e,e={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},Gt===null?Le.memoizedState=Gt=e:Gt=Gt.next=e}return Gt}function vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xl(e){var t=qu;return qu+=1,si===null&&(si=hx()),e=px(si,e,t),t=Le,(Gt===null?t.memoizedState:Gt.next)===null&&(t=t.alternate,J.H=t!==null&&t.memoizedState!==null?ry:ny),e}function wi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xl(e);if(e.$$typeof===Da)return wt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Do(e){var t=null,r=Le.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var o=Le.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=vf(),Le.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0||Iu)for(r=t.data[t.index]=Array(e),o=0;o<e;o++)r[o]=yM;else r.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",r.length,e);return t.index++,r}function Fr(e,t){return typeof t=="function"?t(e):t}function qm(e,t,r){var o=Cn();if(r!==void 0){var l=r(t);if(Ho){we(!0);try{r(t)}finally{we(!1)}}}else l=t;return o.memoizedState=o.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},o.queue=e,e=e.dispatch=oO.bind(null,Le,e),[o.memoizedState,e]}function ys(e){var t=dt();return Im(t,pt,e)}function Im(e,t,r){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=r;var l=e.baseQueue,c=o.pending;if(c!==null){if(l!==null){var m=l.next;l.next=c.next,c.next=m}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=c,o.pending=null}if(c=e.baseState,l===null)e.memoizedState=c;else{t=l.next;var y=m=null,D=null,E=t,B=!1;do{var H=E.lane&-536870913;if(H!==E.lane?($e&H)===H:(oi&H)===H){var _=E.revertLane;if(_===0)D!==null&&(D=D.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),H===Uo&&(B=!0);else if((oi&_)===_){E=E.next,_===Uo&&(B=!0);continue}else H={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},D===null?(y=D=H,m=c):D=D.next=H,Le.lanes|=_,Gi|=_;H=E.action,Ho&&r(c,H),c=E.hasEagerState?E.eagerState:r(c,H)}else _={lane:H,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},D===null?(y=D=_,m=c):D=D.next=_,Le.lanes|=H,Gi|=H;E=E.next}while(E!==null&&E!==t);if(D===null?m=c:D.next=y,!_n(c,e.memoizedState)&&($t=!0,B&&(r=Xs,r!==null)))throw r;e.memoizedState=c,e.baseState=m,e.baseQueue=D,o.lastRenderedState=c}return l===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Ql(e){var t=dt(),r=t.queue;if(r===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=e;var o=r.dispatch,l=r.pending,c=t.memoizedState;if(l!==null){r.pending=null;var m=l=l.next;do c=e(c,m.action),m=m.next;while(m!==l);_n(c,t.memoizedState)||($t=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),r.lastRenderedState=c}return[c,o]}function Fm(e,t,r){var o=Le,l=Cn();if(We){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=r();Ws||c===r()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Ws=!0)}else{if(c=t(),Ws||(r=t(),_n(c,r)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ws=!0)),gt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");($e&127)!==0||kx(o,t,c)}return l.memoizedState=c,r={value:c,getSnapshot:t},l.queue=r,Ef(Rx.bind(null,o,r,e),[e]),o.flags|=2048,vs(Rr|jn,{destroy:void 0},Cx.bind(null,o,r,c,t),null),c}function xf(e,t,r){var o=Le,l=dt(),c=We;if(c){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=r()}else if(r=t(),!Ws){var m=t();_n(r,m)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ws=!0)}(m=!_n((pt||l).memoizedState,r))&&(l.memoizedState=r,$t=!0),l=l.queue;var y=Rx.bind(null,o,l,e);if(Pn(2048,jn,y,[e]),l.getSnapshot!==t||m||Gt!==null&&Gt.memoizedState.tag&Rr){if(o.flags|=2048,vs(Rr|jn,{destroy:void 0},Cx.bind(null,o,l,r,t),null),gt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(oi&127)!==0||kx(o,t,r)}return r}function kx(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Le.updateQueue,t===null?(t=vf(),Le.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Cx(e,t,r,o){t.value=r,t.getSnapshot=o,Ox(t)&&Mx(e)}function Rx(e,t,r){return r(function(){Ox(t)&&(la(2,"updateSyncExternalStore()",e),Mx(e))})}function Ox(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!_n(e,r)}catch{return!0}}function Mx(e){var t=bn(e,2);t!==null&&Ot(t,e,2)}function Ym(e){var t=Cn();if(typeof e=="function"){var r=e;if(e=r(),Ho){we(!0);try{r()}finally{we(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:e},t}function Gm(e){e=Ym(e);var t=e.queue,r=Jx.bind(null,Le,t);return t.dispatch=r,[e.memoizedState,r]}function $m(e){var t=Cn();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=sp.bind(null,Le,!0,r),r.dispatch=t,[e,t]}function _x(e,t){var r=dt();return zx(r,pt,e,t)}function zx(e,t,r,o){return e.baseState=r,Im(e,pt,typeof o=="function"?o:Fr)}function Ux(e,t){var r=dt();return pt!==null?zx(r,pt,e,t):(r.baseState=e,[e,r.queue.dispatch])}function nO(e,t,r,o,l){if(Cf(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};J.T!==null?r(!0):c.isTransition=!1,o(c),r=t.pending,r===null?(c.next=t.pending=c,jx(t,c)):(c.next=r.next,t.pending=r.next=c)}}function jx(e,t){var r=t.action,o=t.payload,l=e.state;if(t.isTransition){var c=J.T,m={};m._updatedFibers=new Set,J.T=m;try{var y=r(l,o),D=J.S;D!==null&&D(m,y),Vx(e,t,y)}catch(E){Xm(e,t,E)}finally{c!==null&&m.types!==null&&(c.types!==null&&c.types!==m.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),c.types=m.types),J.T=c,c===null&&m._updatedFibers&&(e=m._updatedFibers.size,m._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{m=r(l,o),Vx(e,t,m)}catch(E){Xm(e,t,E)}}function Vx(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?(J.asyncTransitions++,r.then(kf,kf),r.then(function(o){Lx(e,t,o)},function(o){return Xm(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Lx(e,t,r)}function Lx(e,t,r){t.status="fulfilled",t.value=r,Bx(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,jx(e,r)))}function Xm(e,t,r){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=r,Bx(t),t=t.next;while(t!==o)}e.action=null}function Bx(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Hx(e,t){return t}function bs(e,t){if(We){var r=gt.formState;if(r!==null){e:{var o=Le;if(We){if(xt){t:{for(var l=xt,c=Nr;l.nodeType!==8;){if(!c){l=null;break t}if(l=or(l.nextSibling),l===null){l=null;break t}}c=l.data,l=c===wy||c===TT?l:null}if(l){xt=or(l.nextSibling),o=l.data===wy;break e}}vi(o)}o=!1}o&&(t=r[0])}}return r=Cn(),r.memoizedState=r.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hx,lastRenderedState:t},r.queue=o,r=Jx.bind(null,Le,o),o.dispatch=r,o=Ym(!1),c=sp.bind(null,Le,!1,o.queue),o=Cn(),l={state:t,dispatch:null,action:e,pending:null},o.queue=l,r=nO.bind(null,Le,l,c,r),l.dispatch=r,o.memoizedState=e,[t,r,!1]}function Sf(e){var t=dt();return Px(t,pt,e)}function Px(e,t,r){if(t=Im(e,t,Hx)[0],e=ys(Fr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=Xl(t)}catch(m){throw m===Qs?Td:m}else o=t;t=dt();var l=t.queue,c=l.dispatch;return r!==t.memoizedState&&(Le.flags|=2048,vs(Rr|jn,{destroy:void 0},rO.bind(null,l,r),null)),[o,c,e]}function rO(e,t){e.action=t}function Df(e){var t=dt(),r=pt;if(r!==null)return Px(t,r,e);dt(),t=t.memoizedState,r=dt();var o=r.queue.dispatch;return r.memoizedState=e,[t,o,!1]}function vs(e,t,r,o){return e={tag:e,create:r,deps:o,inst:t,next:null},t=Le.updateQueue,t===null&&(t=vf(),Le.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e),e}function Qm(e){var t=Cn();return e={current:e},t.memoizedState=e}function Eo(e,t,r,o){var l=Cn();Le.flags|=e,l.memoizedState=vs(Rr|t,{destroy:void 0},r,o===void 0?null:o)}function Pn(e,t,r,o){var l=dt();o=o===void 0?null:o;var c=l.memoizedState.inst;pt!==null&&o!==null&&jm(o,pt.memoizedState.deps)?l.memoizedState=vs(t,c,r,o):(Le.flags|=e,l.memoizedState=vs(Rr|t,c,r,o))}function Ef(e,t){(Le.mode&$r)!==Ve?Eo(276826112,jn,e,t):Eo(8390656,jn,e,t)}function aO(e){Le.flags|=4;var t=Le.updateQueue;if(t===null)t=vf(),Le.updateQueue=t,t.events=[e];else{var r=t.events;r===null?t.events=[e]:r.push(e)}}function Zm(e){var t=Cn(),r={impl:e};return t.memoizedState=r,function(){if((st&nn)!==cn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return r.impl.apply(void 0,arguments)}}function Tf(e){var t=dt().memoizedState;return aO({ref:t,nextImpl:e}),function(){if((st&nn)!==cn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Jm(e,t){var r=4194308;return(Le.mode&$r)!==Ve&&(r|=134217728),Eo(r,fr,e,t)}function qx(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Km(e,t,r){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),r=r!=null?r.concat([e]):null;var o=4194308;(Le.mode&$r)!==Ve&&(o|=134217728),Eo(o,fr,qx.bind(null,t,e),r)}function Af(e,t,r){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),r=r!=null?r.concat([e]):null,Pn(4,fr,qx.bind(null,t,e),r)}function Wm(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e}function wf(e,t){var r=dt();t=t===void 0?null:t;var o=r.memoizedState;return t!==null&&jm(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function ep(e,t){var r=Cn();t=t===void 0?null:t;var o=e();if(Ho){we(!0);try{e()}finally{we(!1)}}return r.memoizedState=[o,t],o}function Nf(e,t){var r=dt();t=t===void 0?null:t;var o=r.memoizedState;if(t!==null&&jm(t,o[1]))return o[0];if(o=e(),Ho){we(!0);try{e()}finally{we(!1)}}return r.memoizedState=[o,t],o}function tp(e,t){var r=Cn();return np(r,e,t)}function Ix(e,t){var r=dt();return Yx(r,pt.memoizedState,e,t)}function Fx(e,t){var r=dt();return pt===null?np(r,e,t):Yx(r,pt.memoizedState,e,t)}function np(e,t,r){return r===void 0||(oi&1073741824)!==0&&($e&261930)===0?e.memoizedState=t:(e.memoizedState=r,e=G1(),Le.lanes|=e,Gi|=e,r)}function Yx(e,t,r,o){return _n(r,t)?r:Js.current!==null?(e=np(e,r,o),_n(e,t)||($t=!0),e):(oi&42)===0||(oi&1073741824)!==0&&($e&261930)===0?($t=!0,e.memoizedState=r):(e=G1(),Le.lanes|=e,Gi|=e,t)}function kf(){J.asyncTransitions--}function Gx(e,t,r,o,l){var c=ft.p;ft.p=c!==0&&c<wa?c:wa;var m=J.T,y={};y._updatedFibers=new Set,J.T=y,sp(e,!1,t,r);try{var D=l(),E=J.S;if(E!==null&&E(y,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){J.asyncTransitions++,D.then(kf,kf);var B=WR(D,o);Zl(e,t,B,ir(e))}else Zl(e,t,o,ir(e))}catch(H){Zl(e,t,{then:function(){},status:"rejected",reason:H},ir(e))}finally{ft.p=c,m!==null&&y.types!==null&&(m.types!==null&&m.types!==y.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),m.types=y.types),J.T=m,m===null&&y._updatedFibers&&(e=y._updatedFibers.size,y._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function rp(e,t,r,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=$x(e).queue;JR(e),Gx(e,l,t,Jo,r===null?g:function(){return Xx(e),r(o)})}function $x(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Jo,baseState:Jo,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:Jo},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Xx(e){J.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=$x(e);t.next===null&&(t=e.alternate.memoizedState),Zl(e,t.next.queue,{},ir(e))}function ap(){var e=Ym(!1);return e=Gx.bind(null,Le,e.queue,!0,!1),Cn().memoizedState=e,[!1,e]}function Qx(){var e=ys(Fr)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]}function Zx(){var e=Ql(Fr)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]}function To(){return wt(ic)}function ip(){var e=Cn(),t=gt.identifierPrefix;if(We){var r=ti,o=ei;r=(o&~(1<<32-Rn(o)-1)).toString(32)+r,t="_"+t+"R_"+r,r=Cd++,0<r&&(t+="H"+r.toString(32)),t+="_"}else r=B_++,t="_"+t+"r_"+r.toString(32)+"_";return e.memoizedState=t}function op(){return Cn().memoizedState=iO.bind(null,Le)}function iO(e,t){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var o=ir(r),l=Di(o),c=Ei(r,l,o);c!==null&&(la(o,"refresh()",e),Ot(c,r,o),Yl(c,r,o)),e=wm(),t!=null&&c!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}r=r.return}}function oO(e,t,r){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ir(e);var l={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};Cf(e)?Kx(t,l):(l=mm(e,t,l,o),l!==null&&(la(o,"dispatch()",e),Ot(l,e,o),Wx(l,t,o)))}function Jx(e,t,r){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ir(e),Zl(e,t,r,o)&&la(o,"setState()",e)}function Zl(e,t,r,o){var l={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Cf(e))Kx(t,l);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var m=J.H;J.H=Qr;try{var y=t.lastRenderedState,D=c(y,r);if(l.hasEagerState=!0,l.eagerState=D,_n(D,y))return ef(e,t,l,0),gt===null&&Wc(),!1}catch{}finally{J.H=m}}if(r=mm(e,t,l,o),r!==null)return Ot(r,e,o),Wx(r,t,o),!0}return!1}function sp(e,t,r,o){if(J.T===null&&Uo===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:Vp(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Cf(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=mm(e,r,o,2),t!==null&&(la(2,"setOptimistic()",e),Ot(t,e,2))}function Cf(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function Kx(e,t){el=kd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Wx(e,t,r){if((r&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Pt(e,r)}}function lp(e){if(e!==null&&typeof e!="function"){var t=String(e);ZE.has(t)||(ZE.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function up(e,t,r,o){var l=e.memoizedState,c=r(o,l);if(e.mode&xn){we(!0);try{c=r(o,l)}finally{we(!1)}}c===void 0&&(t=se(t)||"Component",GE.has(t)||(GE.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=c==null?l:Je({},l,c),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function e1(e,t,r,o,l,c,m){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){if(r=y.shouldComponentUpdate(o,c,m),e.mode&xn){we(!0);try{r=y.shouldComponentUpdate(o,c,m)}finally{we(!1)}}return r===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",se(t)||"Component"),r}return t.prototype&&t.prototype.isPureReactComponent?!Bl(r,o)||!Bl(l,c):!0}function t1(e,t,r,o){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==l&&(e=F(e)||"Component",PE.has(e)||(PE.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),ay.enqueueReplaceState(t,t.state,null))}function Ao(e,t){var r=t;if("ref"in t){r={};for(var o in t)o!=="ref"&&(r[o]=t[o])}if(e=e.defaultProps){r===t&&(r=Je({},r));for(var l in e)r[l]===void 0&&(r[l]=e[l])}return r}function n1(e){Ug(e),console.warn(`%s
120
+ Incoming: %s`,Z,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var r=0;r<t.length&&r<e.length;r++)if(!Mn(e[r],t[r]))return!1;return!0}function Vm(e,t,r,o,l,c){oi=c,Le=t,zr=e!==null?e._debugHookTypes:null,li=-1,Iu=e!==null&&e.type!==t.type,(Object.prototype.toString.call(r)==="[object AsyncFunction]"||Object.prototype.toString.call(r)==="[object AsyncGeneratorFunction]")&&(c=F(Le),tg.has(c)||(tg.add(c),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,J.H=e!==null&&e.memoizedState!==null?rg:zr!==null?BE:ng,Ho=c=(t.mode&xn)!==Ve;var m=Xy(r,o,l);if(Ho=!1,el&&(m=Lm(t,r,o,l)),c){ke(!0);try{m=Lm(t,r,o,l)}finally{ke(!1)}}return Ax(e,t),m}function Ax(e,t){t._debugHookTypes=zr,t.dependencies===null?si!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:si}):t.dependencies._debugThenableState=si,J.H=Fu;var r=pt!==null&&pt.next!==null;if(oi=0,zr=Z=Gt=pt=Le=null,li=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Ad=!1,qu=0,si=null,r)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||$t||(e=e.dependencies,e!==null&&of(e)&&($t=!0)),Bu?(Bu=!1,e=!0):e=!1,e&&(t=F(t)||"Unknown",VE.has(t)||tg.has(t)||(VE.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Lm(e,t,r,o){Le=e;var l=0;do{if(el&&(si=null),qu=0,el=!1,l>=PM)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,Iu=!1,Gt=pt=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}li=-1,J.H=HE,c=Xy(t,r,o)}while(el);return c}function nz(){var e=J.H,t=e.useState()[0];return t=typeof t.then=="function"?Xl(t):t,e=e.useState()[0],(pt!==null?pt.memoizedState:null)!==e&&(Le.flags|=1024),t}function Bm(){var e=Cd!==0;return Cd=0,e}function Hm(e,t,r){t.updateQueue=e.updateQueue,t.flags=(t.mode&$r)!==Ve?t.flags&-402655237:t.flags&-2053,e.lanes&=~r}function Pm(e){if(Ad){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ad=!1}oi=0,zr=Gt=pt=Le=null,li=-1,Z=null,el=!1,qu=Cd=0,si=null}function Cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?Le.memoizedState=Gt=e:Gt=Gt.next=e,Gt}function dt(){if(pt===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=pt.next;var t=Gt===null?Le.memoizedState:Gt.next;if(t!==null)Gt=t,pt=e;else{if(e===null)throw Le.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");pt=e,e={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},Gt===null?Le.memoizedState=Gt=e:Gt=Gt.next=e}return Gt}function vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xl(e){var t=qu;return qu+=1,si===null&&(si=mx()),e=yx(si,e,t),t=Le,(Gt===null?t.memoizedState:Gt.next)===null&&(t=t.alternate,J.H=t!==null&&t.memoizedState!==null?rg:ng),e}function ki(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xl(e);if(e.$$typeof===wa)return kt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function wo(e){var t=null,r=Le.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var o=Le.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=vf(),Le.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0||Iu)for(r=t.data[t.index]=Array(e),o=0;o<e;o++)r[o]=bO;else r.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",r.length,e);return t.index++,r}function Fr(e,t){return typeof t=="function"?t(e):t}function qm(e,t,r){var o=Cn();if(r!==void 0){var l=r(t);if(Ho){ke(!0);try{r(t)}finally{ke(!1)}}}else l=t;return o.memoizedState=o.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},o.queue=e,e=e.dispatch=sz.bind(null,Le,e),[o.memoizedState,e]}function gs(e){var t=dt();return Im(t,pt,e)}function Im(e,t,r){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=r;var l=e.baseQueue,c=o.pending;if(c!==null){if(l!==null){var m=l.next;l.next=c.next,c.next=m}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=c,o.pending=null}if(c=e.baseState,l===null)e.memoizedState=c;else{t=l.next;var g=m=null,w=null,E=t,B=!1;do{var H=E.lane&-536870913;if(H!==E.lane?($e&H)===H:(oi&H)===H){var M=E.revertLane;if(M===0)w!==null&&(w=w.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),H===Uo&&(B=!0);else if((oi&M)===M){E=E.next,M===Uo&&(B=!0);continue}else H={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},w===null?(g=w=H,m=c):w=w.next=H,Le.lanes|=M,Gi|=M;H=E.action,Ho&&r(c,H),c=E.hasEagerState?E.eagerState:r(c,H)}else M={lane:H,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},w===null?(g=w=M,m=c):w=w.next=M,Le.lanes|=H,Gi|=H;E=E.next}while(E!==null&&E!==t);if(w===null?m=c:w.next=g,!Mn(c,e.memoizedState)&&($t=!0,B&&(r=Xs,r!==null)))throw r;e.memoizedState=c,e.baseState=m,e.baseQueue=w,o.lastRenderedState=c}return l===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Ql(e){var t=dt(),r=t.queue;if(r===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=e;var o=r.dispatch,l=r.pending,c=t.memoizedState;if(l!==null){r.pending=null;var m=l=l.next;do c=e(c,m.action),m=m.next;while(m!==l);Mn(c,t.memoizedState)||($t=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),r.lastRenderedState=c}return[c,o]}function Fm(e,t,r){var o=Le,l=Cn();if(We){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=r();Ws||c===r()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Ws=!0)}else{if(c=t(),Ws||(r=t(),Mn(c,r)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ws=!0)),yt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");($e&127)!==0||Cx(o,t,c)}return l.memoizedState=c,r={value:c,getSnapshot:t},l.queue=r,Ef(zx.bind(null,o,r,e),[e]),o.flags|=2048,vs(Rr|jn,{destroy:void 0},Rx.bind(null,o,r,c,t),null),c}function xf(e,t,r){var o=Le,l=dt(),c=We;if(c){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=r()}else if(r=t(),!Ws){var m=t();Mn(r,m)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ws=!0)}(m=!Mn((pt||l).memoizedState,r))&&(l.memoizedState=r,$t=!0),l=l.queue;var g=zx.bind(null,o,l,e);if(Pn(2048,jn,g,[e]),l.getSnapshot!==t||m||Gt!==null&&Gt.memoizedState.tag&Rr){if(o.flags|=2048,vs(Rr|jn,{destroy:void 0},Rx.bind(null,o,l,r,t),null),yt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(oi&127)!==0||Cx(o,t,r)}return r}function Cx(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Le.updateQueue,t===null?(t=vf(),Le.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Rx(e,t,r,o){t.value=r,t.getSnapshot=o,Ox(t)&&Mx(e)}function zx(e,t,r){return r(function(){Ox(t)&&(la(2,"updateSyncExternalStore()",e),Mx(e))})}function Ox(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Mn(e,r)}catch{return!0}}function Mx(e){var t=bn(e,2);t!==null&&zt(t,e,2)}function Ym(e){var t=Cn();if(typeof e=="function"){var r=e;if(e=r(),Ho){ke(!0);try{r()}finally{ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:e},t}function Gm(e){e=Ym(e);var t=e.queue,r=Kx.bind(null,Le,t);return t.dispatch=r,[e.memoizedState,r]}function $m(e){var t=Cn();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=sp.bind(null,Le,!0,r),r.dispatch=t,[e,t]}function _x(e,t){var r=dt();return Ux(r,pt,e,t)}function Ux(e,t,r,o){return e.baseState=r,Im(e,pt,typeof o=="function"?o:Fr)}function jx(e,t){var r=dt();return pt!==null?Ux(r,pt,e,t):(r.baseState=e,[e,r.queue.dispatch])}function rz(e,t,r,o,l){if(Cf(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};J.T!==null?r(!0):c.isTransition=!1,o(c),r=t.pending,r===null?(c.next=t.pending=c,Vx(t,c)):(c.next=r.next,t.pending=r.next=c)}}function Vx(e,t){var r=t.action,o=t.payload,l=e.state;if(t.isTransition){var c=J.T,m={};m._updatedFibers=new Set,J.T=m;try{var g=r(l,o),w=J.S;w!==null&&w(m,g),Lx(e,t,g)}catch(E){Xm(e,t,E)}finally{c!==null&&m.types!==null&&(c.types!==null&&c.types!==m.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),c.types=m.types),J.T=c,c===null&&m._updatedFibers&&(e=m._updatedFibers.size,m._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{m=r(l,o),Lx(e,t,m)}catch(E){Xm(e,t,E)}}function Lx(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?(J.asyncTransitions++,r.then(Af,Af),r.then(function(o){Bx(e,t,o)},function(o){return Xm(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Bx(e,t,r)}function Bx(e,t,r){t.status="fulfilled",t.value=r,Hx(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,Vx(e,r)))}function Xm(e,t,r){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=r,Hx(t),t=t.next;while(t!==o)}e.action=null}function Hx(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Px(e,t){return t}function bs(e,t){if(We){var r=yt.formState;if(r!==null){e:{var o=Le;if(We){if(xt){t:{for(var l=xt,c=Nr;l.nodeType!==8;){if(!c){l=null;break t}if(l=or(l.nextSibling),l===null){l=null;break t}}c=l.data,l=c===kg||c===DT?l:null}if(l){xt=or(l.nextSibling),o=l.data===kg;break e}}vi(o)}o=!1}o&&(t=r[0])}}return r=Cn(),r.memoizedState=r.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Px,lastRenderedState:t},r.queue=o,r=Kx.bind(null,Le,o),o.dispatch=r,o=Ym(!1),c=sp.bind(null,Le,!1,o.queue),o=Cn(),l={state:t,dispatch:null,action:e,pending:null},o.queue=l,r=rz.bind(null,Le,l,c,r),l.dispatch=r,o.memoizedState=e,[t,r,!1]}function Sf(e){var t=dt();return qx(t,pt,e)}function qx(e,t,r){if(t=Im(e,t,Px)[0],e=gs(Fr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=Xl(t)}catch(m){throw m===Qs?Td:m}else o=t;t=dt();var l=t.queue,c=l.dispatch;return r!==t.memoizedState&&(Le.flags|=2048,vs(Rr|jn,{destroy:void 0},az.bind(null,l,r),null)),[o,c,e]}function az(e,t){e.action=t}function wf(e){var t=dt(),r=pt;if(r!==null)return qx(t,r,e);dt(),t=t.memoizedState,r=dt();var o=r.queue.dispatch;return r.memoizedState=e,[t,o,!1]}function vs(e,t,r,o){return e={tag:e,create:r,deps:o,inst:t,next:null},t=Le.updateQueue,t===null&&(t=vf(),Le.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e),e}function Qm(e){var t=Cn();return e={current:e},t.memoizedState=e}function Eo(e,t,r,o){var l=Cn();Le.flags|=e,l.memoizedState=vs(Rr|t,{destroy:void 0},r,o===void 0?null:o)}function Pn(e,t,r,o){var l=dt();o=o===void 0?null:o;var c=l.memoizedState.inst;pt!==null&&o!==null&&jm(o,pt.memoizedState.deps)?l.memoizedState=vs(t,c,r,o):(Le.flags|=e,l.memoizedState=vs(Rr|t,c,r,o))}function Ef(e,t){(Le.mode&$r)!==Ve?Eo(276826112,jn,e,t):Eo(8390656,jn,e,t)}function iz(e){Le.flags|=4;var t=Le.updateQueue;if(t===null)t=vf(),Le.updateQueue=t,t.events=[e];else{var r=t.events;r===null?t.events=[e]:r.push(e)}}function Zm(e){var t=Cn(),r={impl:e};return t.memoizedState=r,function(){if((st&nn)!==cn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return r.impl.apply(void 0,arguments)}}function Tf(e){var t=dt().memoizedState;return iz({ref:t,nextImpl:e}),function(){if((st&nn)!==cn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Jm(e,t){var r=4194308;return(Le.mode&$r)!==Ve&&(r|=134217728),Eo(r,fr,e,t)}function Ix(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Km(e,t,r){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),r=r!=null?r.concat([e]):null;var o=4194308;(Le.mode&$r)!==Ve&&(o|=134217728),Eo(o,fr,Ix.bind(null,t,e),r)}function Df(e,t,r){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),r=r!=null?r.concat([e]):null,Pn(4,fr,Ix.bind(null,t,e),r)}function Wm(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e}function kf(e,t){var r=dt();t=t===void 0?null:t;var o=r.memoizedState;return t!==null&&jm(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function ep(e,t){var r=Cn();t=t===void 0?null:t;var o=e();if(Ho){ke(!0);try{e()}finally{ke(!1)}}return r.memoizedState=[o,t],o}function Nf(e,t){var r=dt();t=t===void 0?null:t;var o=r.memoizedState;if(t!==null&&jm(t,o[1]))return o[0];if(o=e(),Ho){ke(!0);try{e()}finally{ke(!1)}}return r.memoizedState=[o,t],o}function tp(e,t){var r=Cn();return np(r,e,t)}function Fx(e,t){var r=dt();return Gx(r,pt.memoizedState,e,t)}function Yx(e,t){var r=dt();return pt===null?np(r,e,t):Gx(r,pt.memoizedState,e,t)}function np(e,t,r){return r===void 0||(oi&1073741824)!==0&&($e&261930)===0?e.memoizedState=t:(e.memoizedState=r,e=$1(),Le.lanes|=e,Gi|=e,r)}function Gx(e,t,r,o){return Mn(r,t)?r:Js.current!==null?(e=np(e,r,o),Mn(e,t)||($t=!0),e):(oi&42)===0||(oi&1073741824)!==0&&($e&261930)===0?($t=!0,e.memoizedState=r):(e=$1(),Le.lanes|=e,Gi|=e,t)}function Af(){J.asyncTransitions--}function $x(e,t,r,o,l){var c=ft.p;ft.p=c!==0&&c<ka?c:ka;var m=J.T,g={};g._updatedFibers=new Set,J.T=g,sp(e,!1,t,r);try{var w=l(),E=J.S;if(E!==null&&E(g,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){J.asyncTransitions++,w.then(Af,Af);var B=ez(w,o);Zl(e,t,B,ir(e))}else Zl(e,t,o,ir(e))}catch(H){Zl(e,t,{then:function(){},status:"rejected",reason:H},ir(e))}finally{ft.p=c,m!==null&&g.types!==null&&(m.types!==null&&m.types!==g.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),m.types=g.types),J.T=m,m===null&&g._updatedFibers&&(e=g._updatedFibers.size,g._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function rp(e,t,r,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=Xx(e).queue;KR(e),$x(e,l,t,Jo,r===null?y:function(){return Qx(e),r(o)})}function Xx(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Jo,baseState:Jo,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:Jo},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Qx(e){J.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Xx(e);t.next===null&&(t=e.alternate.memoizedState),Zl(e,t.next.queue,{},ir(e))}function ap(){var e=Ym(!1);return e=$x.bind(null,Le,e.queue,!0,!1),Cn().memoizedState=e,[!1,e]}function Zx(){var e=gs(Fr)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]}function Jx(){var e=Ql(Fr)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]}function To(){return kt(ic)}function ip(){var e=Cn(),t=yt.identifierPrefix;if(We){var r=ti,o=ei;r=(o&~(1<<32-Rn(o)-1)).toString(32)+r,t="_"+t+"R_"+r,r=Cd++,0<r&&(t+="H"+r.toString(32)),t+="_"}else r=HM++,t="_"+t+"r_"+r.toString(32)+"_";return e.memoizedState=t}function op(){return Cn().memoizedState=oz.bind(null,Le)}function oz(e,t){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var o=ir(r),l=wi(o),c=Ei(r,l,o);c!==null&&(la(o,"refresh()",e),zt(c,r,o),Yl(c,r,o)),e=km(),t!=null&&c!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}r=r.return}}function sz(e,t,r){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ir(e);var l={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};Cf(e)?Wx(t,l):(l=mm(e,t,l,o),l!==null&&(la(o,"dispatch()",e),zt(l,e,o),e1(l,t,o)))}function Kx(e,t,r){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=ir(e),Zl(e,t,r,o)&&la(o,"setState()",e)}function Zl(e,t,r,o){var l={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Cf(e))Wx(t,l);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var m=J.H;J.H=Qr;try{var g=t.lastRenderedState,w=c(g,r);if(l.hasEagerState=!0,l.eagerState=w,Mn(w,g))return ef(e,t,l,0),yt===null&&Wc(),!1}catch{}finally{J.H=m}}if(r=mm(e,t,l,o),r!==null)return zt(r,e,o),e1(r,t,o),!0}return!1}function sp(e,t,r,o){if(J.T===null&&Uo===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:Vp(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Cf(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=mm(e,r,o,2),t!==null&&(la(2,"setOptimistic()",e),zt(t,e,2))}function Cf(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function Wx(e,t){el=Ad=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function e1(e,t,r){if((r&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Pt(e,r)}}function lp(e){if(e!==null&&typeof e!="function"){var t=String(e);JE.has(t)||(JE.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function up(e,t,r,o){var l=e.memoizedState,c=r(o,l);if(e.mode&xn){ke(!0);try{c=r(o,l)}finally{ke(!1)}}c===void 0&&(t=se(t)||"Component",$E.has(t)||($E.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=c==null?l:Je({},l,c),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function t1(e,t,r,o,l,c,m){var g=e.stateNode;if(typeof g.shouldComponentUpdate=="function"){if(r=g.shouldComponentUpdate(o,c,m),e.mode&xn){ke(!0);try{r=g.shouldComponentUpdate(o,c,m)}finally{ke(!1)}}return r===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",se(t)||"Component"),r}return t.prototype&&t.prototype.isPureReactComponent?!Bl(r,o)||!Bl(l,c):!0}function n1(e,t,r,o){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==l&&(e=F(e)||"Component",qE.has(e)||(qE.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),ag.enqueueReplaceState(t,t.state,null))}function Do(e,t){var r=t;if("ref"in t){r={};for(var o in t)o!=="ref"&&(r[o]=t[o])}if(e=e.defaultProps){r===t&&(r=Je({},r));for(var l in e)r[l]===void 0&&(r[l]=e[l])}return r}function r1(e){Uy(e),console.warn(`%s
121
121
 
122
122
  %s
123
123
  `,tl?"An error occurred in the <"+tl+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
124
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function r1(e){var t=tl?"The above error occurred in the <"+tl+"> component.":"The above error occurred in one of your React components.",r="React will try to recreate this component tree from scratch using the error boundary you provided, "+((iy||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
124
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function a1(e){var t=tl?"The above error occurred in the <"+tl+"> component.":"The above error occurred in one of your React components.",r="React will try to recreate this component tree from scratch using the error boundary you provided, "+((ig||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
125
125
 
126
126
  %s
127
127
 
128
128
  %s
129
- `,e,t,r].slice(0),typeof e[0]=="string"?e.splice(0,1,MT+" "+e[0],_T,eh+o+eh,zT):e.splice(0,0,MT,_T,eh+o+eh,zT),e.unshift(console),o=oz.apply(console.error,e),o()}else console.error(`%o
129
+ `,e,t,r].slice(0),typeof e[0]=="string"?e.splice(0,1,MT+" "+e[0],_T,eh+o+eh,UT):e.splice(0,0,MT,_T,eh+o+eh,UT),e.unshift(console),o=s_.apply(console.error,e),o()}else console.error(`%o
130
130
 
131
131
  %s
132
132
 
133
133
  %s
134
- `,e,t,r)}function a1(e){Ug(e)}function Rf(e,t){try{tl=t.source?F(t.source):null,iy=null;var r=t.value;if(J.actQueue!==null)J.thrownErrors.push(r);else{var o=e.onUncaughtError;o(r,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function i1(e,t,r){try{tl=r.source?F(r.source):null,iy=F(t);var o=e.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function cp(e,t,r){return r=Di(r),r.tag=Kg,r.payload={element:null},r.callback=function(){De(t.source,Rf,e,t)},r}function fp(e){return e=Di(e),e.tag=Kg,e}function dp(e,t,r,o){var l=r.type.getDerivedStateFromError;if(typeof l=="function"){var c=o.value;e.payload=function(){return l(c)},e.callback=function(){K0(r),De(o.source,i1,t,r,o)}}var m=r.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){K0(r),De(o.source,i1,t,r,o),typeof l!="function"&&(Xi===null?Xi=new Set([this]):Xi.add(this)),U_(this,o),typeof l=="function"||(r.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",F(r)||"Unknown")})}function sO(e,t,r,o,l){if(r.flags|=32768,Aa&&au(e,l),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=r.alternate,t!==null&&ps(t,r,l,!0),We&&(ka=!0),r=cr.current,r!==null){switch(r.tag){case 31:case 13:return Cr===null?Bf():r.alternate===null&&Rt===ci&&(Rt=Md),r.flags&=-257,r.flags|=65536,r.lanes=l,o===Ad?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([o]):t.add(o),_p(e,o,l)),!1;case 22:return r.flags|=65536,o===Ad?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([o]):r.add(o)),_p(e,o,l)),!1}throw Error("Unexpected Suspense handler tag ("+r.tag+"). This is a bug in React.")}return _p(e,o,l),Bf(),!1}if(We)return ka=!0,t=cr.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,o!==Pg&&Hl(tr(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),r))):(o!==Pg&&Hl(tr(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),r)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,o=tr(o,r),l=cp(e.stateNode,o,l),gf(e,l),Rt!==Fi&&(Rt=Po)),!1;var c=tr(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),r);if(Zu===null?Zu=[c]:Zu.push(c),Rt!==Fi&&(Rt=Po),t===null)return!0;o=tr(o,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=l&-l,r.lanes|=e,e=cp(r.stateNode,o,e),gf(r,e),!1;case 1:if(t=r.type,c=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Xi===null||!Xi.has(c))))return r.flags|=65536,l&=-l,r.lanes|=l,l=fp(l),dp(l,e,r,o),gf(r,l),!1}r=r.return}while(r!==null);return!1}function dn(e,t,r,o){t.child=e===null?RE(t,null,r,o):Bo(t,e.child,r,o)}function o1(e,t,r,o,l){r=r.render;var c=t.ref;if("ref"in o){var m={};for(var y in o)y!=="ref"&&(m[y]=o[y])}else m=o;return xo(t),o=Vm(e,t,r,m,c,l),y=Bm(),e!==null&&!$t?(Hm(e,t,l),$a(e,t,l)):(We&&y&&xm(t),t.flags|=1,dn(e,t,o,l),t.child)}function s1(e,t,r,o,l){if(e===null){var c=r.type;return typeof c=="function"&&!gm(c)&&c.defaultProps===void 0&&r.compare===null?(r=go(c),t.tag=15,t.type=r,mp(t,c),l1(e,t,r,o,l)):(e=ym(r.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!xp(e,l)){var m=c.memoizedProps;if(r=r.compare,r=r!==null?r:Bl,r(m,o)&&e.ref===t.ref)return $a(e,t,l)}return t.flags|=1,e=Ia(c,o),e.ref=t.ref,e.return=t,t.child=e}function l1(e,t,r,o,l){if(e!==null){var c=e.memoizedProps;if(Bl(c,o)&&e.ref===t.ref&&t.type===e.type)if($t=!1,t.pendingProps=o=c,xp(e,l))(e.flags&131072)!==0&&($t=!0);else return t.lanes=e.lanes,$a(e,t,l)}return hp(e,t,r,o,l)}function u1(e,t,r,o){var l=o.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Au,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|r:r,e!==null){for(o=t.child=e.child,l=0;o!==null;)l=l|o.lanes|o.childLanes,o=o.sibling;o=l&~c}else o=0,t.child=null;return c1(e,t,c,r,o)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&cf(t,c!==null?c.cachePool:null),c!==null?Ax(t,c):_m(t),wx(t);else return o=t.lanes=536870912,c1(e,t,c!==null?c.baseLanes|r:r,r,o)}else c!==null?(cf(t,c.cachePool),Ax(t,c),Ai(t),t.memoizedState=null):(e!==null&&cf(t,null),_m(t),Ai(t));return dn(e,t,l,r),t.child}function Jl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Au,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function c1(e,t,r,o,l){var c=Cm();return c=c===null?null:{parent:Ft._currentValue,pool:c},t.memoizedState={baseLanes:r,cachePool:c},e!==null&&cf(t,null),_m(t),wx(t),e!==null&&ps(e,t,o,!0),t.childLanes=l,null}function Of(e,t){var r=t.hidden;return r!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
134
+ `,e,t,r)}function i1(e){Uy(e)}function Rf(e,t){try{tl=t.source?F(t.source):null,ig=null;var r=t.value;if(J.actQueue!==null)J.thrownErrors.push(r);else{var o=e.onUncaughtError;o(r,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function o1(e,t,r){try{tl=r.source?F(r.source):null,ig=F(t);var o=e.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function cp(e,t,r){return r=wi(r),r.tag=Ky,r.payload={element:null},r.callback=function(){we(t.source,Rf,e,t)},r}function fp(e){return e=wi(e),e.tag=Ky,e}function dp(e,t,r,o){var l=r.type.getDerivedStateFromError;if(typeof l=="function"){var c=o.value;e.payload=function(){return l(c)},e.callback=function(){Wv(r),we(o.source,o1,t,r,o)}}var m=r.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){Wv(r),we(o.source,o1,t,r,o),typeof l!="function"&&(Xi===null?Xi=new Set([this]):Xi.add(this)),jM(this,o),typeof l=="function"||(r.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",F(r)||"Unknown")})}function lz(e,t,r,o,l){if(r.flags|=32768,Da&&au(e,l),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=r.alternate,t!==null&&ps(t,r,l,!0),We&&(Aa=!0),r=cr.current,r!==null){switch(r.tag){case 31:case 13:return Cr===null?Bf():r.alternate===null&&Rt===ci&&(Rt=Od),r.flags&=-257,r.flags|=65536,r.lanes=l,o===Dd?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([o]):t.add(o),Mp(e,o,l)),!1;case 22:return r.flags|=65536,o===Dd?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([o]):r.add(o)),Mp(e,o,l)),!1}throw Error("Unexpected Suspense handler tag ("+r.tag+"). This is a bug in React.")}return Mp(e,o,l),Bf(),!1}if(We)return Aa=!0,t=cr.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,o!==Py&&Hl(tr(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),r))):(o!==Py&&Hl(tr(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),r)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,o=tr(o,r),l=cp(e.stateNode,o,l),yf(e,l),Rt!==Fi&&(Rt=Po)),!1;var c=tr(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),r);if(Zu===null?Zu=[c]:Zu.push(c),Rt!==Fi&&(Rt=Po),t===null)return!0;o=tr(o,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=l&-l,r.lanes|=e,e=cp(r.stateNode,o,e),yf(r,e),!1;case 1:if(t=r.type,c=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Xi===null||!Xi.has(c))))return r.flags|=65536,l&=-l,r.lanes|=l,l=fp(l),dp(l,e,r,o),yf(r,l),!1}r=r.return}while(r!==null);return!1}function dn(e,t,r,o){t.child=e===null?zE(t,null,r,o):Bo(t,e.child,r,o)}function s1(e,t,r,o,l){r=r.render;var c=t.ref;if("ref"in o){var m={};for(var g in o)g!=="ref"&&(m[g]=o[g])}else m=o;return xo(t),o=Vm(e,t,r,m,c,l),g=Bm(),e!==null&&!$t?(Hm(e,t,l),$a(e,t,l)):(We&&g&&xm(t),t.flags|=1,dn(e,t,o,l),t.child)}function l1(e,t,r,o,l){if(e===null){var c=r.type;return typeof c=="function"&&!ym(c)&&c.defaultProps===void 0&&r.compare===null?(r=yo(c),t.tag=15,t.type=r,mp(t,c),u1(e,t,r,o,l)):(e=gm(r.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!xp(e,l)){var m=c.memoizedProps;if(r=r.compare,r=r!==null?r:Bl,r(m,o)&&e.ref===t.ref)return $a(e,t,l)}return t.flags|=1,e=Ia(c,o),e.ref=t.ref,e.return=t,t.child=e}function u1(e,t,r,o,l){if(e!==null){var c=e.memoizedProps;if(Bl(c,o)&&e.ref===t.ref&&t.type===e.type)if($t=!1,t.pendingProps=o=c,xp(e,l))(e.flags&131072)!==0&&($t=!0);else return t.lanes=e.lanes,$a(e,t,l)}return hp(e,t,r,o,l)}function c1(e,t,r,o){var l=o.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Du,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|r:r,e!==null){for(o=t.child=e.child,l=0;o!==null;)l=l|o.lanes|o.childLanes,o=o.sibling;o=l&~c}else o=0,t.child=null;return f1(e,t,c,r,o)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&cf(t,c!==null?c.cachePool:null),c!==null?kx(t,c):Mm(t),Nx(t);else return o=t.lanes=536870912,f1(e,t,c!==null?c.baseLanes|r:r,r,o)}else c!==null?(cf(t,c.cachePool),kx(t,c),Di(t),t.memoizedState=null):(e!==null&&cf(t,null),Mm(t),Di(t));return dn(e,t,l,r),t.child}function Jl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Du,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function f1(e,t,r,o,l){var c=Cm();return c=c===null?null:{parent:Ft._currentValue,pool:c},t.memoizedState={baseLanes:r,cachePool:c},e!==null&&cf(t,null),Mm(t),Nx(t),e!==null&&ps(e,t,o,!0),t.childLanes=l,null}function zf(e,t){var r=t.hidden;return r!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
135
135
  - <Activity %s>
136
- + <Activity %s>`,r===!0?"hidden":r===!1?"hidden={false}":"hidden={...}",r?'mode="hidden"':'mode="visible"'),t=_f({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function f1(e,t,r){return Bo(t,e.child,null,r),e=Of(t,t.pendingProps),e.flags|=2,ar(t),t.memoizedState=null,e}function lO(e,t,r){var o=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(We){if(o.mode==="hidden")return e=Of(t,o),t.lanes=536870912,Jl(null,e);if(Um(t),(e=xt)?(r=jS(e,Nr),r=r!==null&&r.data===$o?r:null,r!==null&&(o={dehydrated:r,treeContext:rx(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=tx(r),o.return=t,t.child=o,pn=t,xt=null)):r=null,r===null)throw rf(t,e),vi(t);return t.lanes=536870912,null}return Of(t,o)}var c=e.memoizedState;if(c!==null){var m=c.dehydrated;if(Um(t),l)if(t.flags&256)t.flags&=-257,t=f1(e,t,r);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(ix(),(r&536870912)!==0&&Lf(t),$t||ps(e,t,r,!1),l=(r&e.childLanes)!==0,$t||l){if(o=gt,o!==null&&(m=wn(o,r),m!==0&&m!==c.retryLane))throw c.retryLane=m,bn(e,m),Ot(o,e,m),oy;Bf(),t=f1(e,t,r)}else e=c.treeContext,xt=or(m.nextSibling),pn=t,We=!0,Li=null,ka=!1,ur=null,Nr=!1,e!==null&&ax(t,e),t=Of(t,o),t.flags|=4096;return t}return c=e.child,o={mode:o.mode,children:o.children},(r&536870912)!==0&&(r&e.lanes)!==0&&Lf(t),e=Ia(c,o),e.ref=t.ref,t.child=e,e.return=t,e}function Mf(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==r)&&(t.flags|=4194816)}}function hp(e,t,r,o,l){if(r.prototype&&typeof r.prototype.render=="function"){var c=se(r)||"Unknown";JE[c]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",c,c),JE[c]=!0)}return t.mode&xn&&Xr.recordLegacyContextWarning(t,null),e===null&&(mp(t,t.type),r.contextTypes&&(c=se(r)||"Unknown",WE[c]||(WE[c]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",c)))),xo(t),r=Vm(e,t,r,o,void 0,l),o=Bm(),e!==null&&!$t?(Hm(e,t,l),$a(e,t,l)):(We&&o&&xm(t),t.flags|=1,dn(e,t,r,l),t.child)}function d1(e,t,r,o,l,c){return xo(t),li=-1,Iu=e!==null&&e.type!==t.type,t.updateQueue=null,r=Lm(t,o,r,l),Nx(e,t),o=Bm(),e!==null&&!$t?(Hm(e,t,c),$a(e,t,c)):(We&&o&&xm(t),t.flags|=1,dn(e,t,r,c),t.child)}function h1(e,t,r,o,l){switch(d(t)){case!1:var c=t.stateNode,m=new t.type(t.memoizedProps,c.context).state;c.updater.enqueueSetState(c,m,null);break;case!0:t.flags|=128,t.flags|=65536,c=Error("Simulated error coming from DevTools");var y=l&-l;if(t.lanes|=y,m=gt,m===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");y=fp(y),dp(y,m,t,tr(c,t)),gf(t,y)}if(xo(t),t.stateNode===null){if(m=Vi,c=r.contextType,"contextType"in r&&c!==null&&(c===void 0||c.$$typeof!==Da)&&!QE.has(r)&&(QE.add(r),y=c===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof c!="object"?" However, it is set to a "+typeof c+".":c.$$typeof===sg?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",se(r)||"Component",y)),typeof c=="object"&&c!==null&&(m=wt(c)),c=new r(o,m),t.mode&xn){we(!0);try{c=new r(o,m)}finally{we(!1)}}if(m=t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ay,t.stateNode=c,c._reactInternals=t,c._reactInternalInstance=HE,typeof r.getDerivedStateFromProps=="function"&&m===null&&(m=se(r)||"Component",qE.has(m)||(qE.add(m),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",m,c.state===null?"null":"undefined",m))),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"){var D=y=m=null;if(typeof c.componentWillMount=="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0?m="componentWillMount":typeof c.UNSAFE_componentWillMount=="function"&&(m="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0?y="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps=="function"&&(y="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate=="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0?D="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate=="function"&&(D="UNSAFE_componentWillUpdate"),m!==null||y!==null||D!==null){c=se(r)||"Component";var E=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";FE.has(c)||(FE.add(c),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
136
+ + <Activity %s>`,r===!0?"hidden":r===!1?"hidden={false}":"hidden={...}",r?'mode="hidden"':'mode="visible"'),t=Mf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function d1(e,t,r){return Bo(t,e.child,null,r),e=zf(t,t.pendingProps),e.flags|=2,ar(t),t.memoizedState=null,e}function uz(e,t,r){var o=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(We){if(o.mode==="hidden")return e=zf(t,o),t.lanes=536870912,Jl(null,e);if(Um(t),(e=xt)?(r=VS(e,Nr),r=r!==null&&r.data===$o?r:null,r!==null&&(o={dehydrated:r,treeContext:ax(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=nx(r),o.return=t,t.child=o,pn=t,xt=null)):r=null,r===null)throw rf(t,e),vi(t);return t.lanes=536870912,null}return zf(t,o)}var c=e.memoizedState;if(c!==null){var m=c.dehydrated;if(Um(t),l)if(t.flags&256)t.flags&=-257,t=d1(e,t,r);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(ox(),(r&536870912)!==0&&Lf(t),$t||ps(e,t,r,!1),l=(r&e.childLanes)!==0,$t||l){if(o=yt,o!==null&&(m=kn(o,r),m!==0&&m!==c.retryLane))throw c.retryLane=m,bn(e,m),zt(o,e,m),og;Bf(),t=d1(e,t,r)}else e=c.treeContext,xt=or(m.nextSibling),pn=t,We=!0,Li=null,Aa=!1,ur=null,Nr=!1,e!==null&&ix(t,e),t=zf(t,o),t.flags|=4096;return t}return c=e.child,o={mode:o.mode,children:o.children},(r&536870912)!==0&&(r&e.lanes)!==0&&Lf(t),e=Ia(c,o),e.ref=t.ref,t.child=e,e.return=t,e}function Of(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==r)&&(t.flags|=4194816)}}function hp(e,t,r,o,l){if(r.prototype&&typeof r.prototype.render=="function"){var c=se(r)||"Unknown";KE[c]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",c,c),KE[c]=!0)}return t.mode&xn&&Xr.recordLegacyContextWarning(t,null),e===null&&(mp(t,t.type),r.contextTypes&&(c=se(r)||"Unknown",eT[c]||(eT[c]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",c)))),xo(t),r=Vm(e,t,r,o,void 0,l),o=Bm(),e!==null&&!$t?(Hm(e,t,l),$a(e,t,l)):(We&&o&&xm(t),t.flags|=1,dn(e,t,r,l),t.child)}function h1(e,t,r,o,l,c){return xo(t),li=-1,Iu=e!==null&&e.type!==t.type,t.updateQueue=null,r=Lm(t,o,r,l),Ax(e,t),o=Bm(),e!==null&&!$t?(Hm(e,t,c),$a(e,t,c)):(We&&o&&xm(t),t.flags|=1,dn(e,t,r,c),t.child)}function m1(e,t,r,o,l){switch(d(t)){case!1:var c=t.stateNode,m=new t.type(t.memoizedProps,c.context).state;c.updater.enqueueSetState(c,m,null);break;case!0:t.flags|=128,t.flags|=65536,c=Error("Simulated error coming from DevTools");var g=l&-l;if(t.lanes|=g,m=yt,m===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");g=fp(g),dp(g,m,t,tr(c,t)),yf(t,g)}if(xo(t),t.stateNode===null){if(m=Vi,c=r.contextType,"contextType"in r&&c!==null&&(c===void 0||c.$$typeof!==wa)&&!ZE.has(r)&&(ZE.add(r),g=c===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof c!="object"?" However, it is set to a "+typeof c+".":c.$$typeof===sy?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",se(r)||"Component",g)),typeof c=="object"&&c!==null&&(m=kt(c)),c=new r(o,m),t.mode&xn){ke(!0);try{c=new r(o,m)}finally{ke(!1)}}if(m=t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ag,t.stateNode=c,c._reactInternals=t,c._reactInternalInstance=PE,typeof r.getDerivedStateFromProps=="function"&&m===null&&(m=se(r)||"Component",IE.has(m)||(IE.add(m),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",m,c.state===null?"null":"undefined",m))),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"){var w=g=m=null;if(typeof c.componentWillMount=="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0?m="componentWillMount":typeof c.UNSAFE_componentWillMount=="function"&&(m="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0?g="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps=="function"&&(g="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate=="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0?w="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate=="function"&&(w="UNSAFE_componentWillUpdate"),m!==null||g!==null||w!==null){c=se(r)||"Component";var E=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";YE.has(c)||(YE.add(c),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
137
137
 
138
138
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
139
139
 
140
140
  The above lifecycles should be removed. Learn more about this warning here:
141
141
  https://react.dev/link/unsafe-component-lifecycles`,c,E,m!==null?`
142
- `+m:"",y!==null?`
143
- `+y:"",D!==null?`
144
- `+D:""))}}c=t.stateNode,m=se(r)||"Component",c.render||(r.prototype&&typeof r.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",m):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",m)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",m),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",m),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),r.childContextTypes&&!XE.has(r)&&(XE.add(r),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",m)),r.contextTypes&&!$E.has(r)&&($E.add(r),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",m)),typeof c.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",m),r.prototype&&r.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",se(r)||"A pure component"),typeof c.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof c.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",m),typeof c.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof c.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m),y=c.props!==o,c.props!==void 0&&y&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m),c.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",m,m),typeof c.getSnapshotBeforeUpdate!="function"||typeof c.componentDidUpdate=="function"||IE.has(r)||(IE.add(r),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",se(r))),typeof c.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof c.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof r.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m),(y=c.state)&&(typeof y!="object"||en(y))&&console.error("%s.state: must be set to an object or null",m),typeof c.getChildContext=="function"&&typeof r.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m),c=t.stateNode,c.props=o,c.state=t.memoizedState,c.refs={},Om(t),m=r.contextType,c.context=typeof m=="object"&&m!==null?wt(m):Vi,c.state===o&&(m=se(r)||"Component",YE.has(m)||(YE.add(m),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",m))),t.mode&xn&&Xr.recordLegacyContextWarning(t,c),Xr.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(up(t,r,m,o),c.state=t.memoizedState),typeof r.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&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",F(t)||"Component"),ay.enqueueReplaceState(c,c.state,null)),$l(t,o,c,l),Gl(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),c=!0}else if(e===null){c=t.stateNode;var B=t.memoizedProps;y=Ao(r,B),c.props=y;var H=c.context;D=r.contextType,m=Vi,typeof D=="object"&&D!==null&&(m=wt(D)),E=r.getDerivedStateFromProps,D=typeof E=="function"||typeof c.getSnapshotBeforeUpdate=="function",B=t.pendingProps!==B,D||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(B||H!==m)&&t1(t,c,o,m),Ii=!1;var _=t.memoizedState;c.state=_,$l(t,o,c,l),Gl(),H=t.memoizedState,B||_!==H||Ii?(typeof E=="function"&&(up(t,r,E,o),H=t.memoizedState),(y=Ii||e1(t,r,y,o,_,H,m))?(D||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),(t.mode&$r)!==Ve&&(t.flags|=134217728)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=H),c.props=o,c.state=H,c.context=m,c=y):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),c=!1)}else{c=t.stateNode,Mm(e,t),m=t.memoizedProps,D=Ao(r,m),c.props=D,E=t.pendingProps,_=c.context,H=r.contextType,y=Vi,typeof H=="object"&&H!==null&&(y=wt(H)),B=r.getDerivedStateFromProps,(H=typeof B=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==E||_!==y)&&t1(t,c,o,y),Ii=!1,_=t.memoizedState,c.state=_,$l(t,o,c,l),Gl();var $=t.memoizedState;m!==E||_!==$||Ii||e!==null&&e.dependencies!==null&&of(e.dependencies)?(typeof B=="function"&&(up(t,r,B,o),$=t.memoizedState),(D=Ii||e1(t,r,D,o,_,$,y)||e!==null&&e.dependencies!==null&&of(e.dependencies))?(H||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(o,$,y),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(o,$,y)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=$),c.props=o,c.state=$,c.context=y,c=D):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),c=!1)}if(y=c,Mf(e,t),m=(t.flags&128)!==0,y||m){if(y=t.stateNode,Kn(t),m&&typeof r.getDerivedStateFromError!="function")r=null,zn=-1;else if(r=gE(y),t.mode&xn){we(!0);try{gE(y)}finally{we(!1)}}t.flags|=1,e!==null&&m?(t.child=Bo(t,e.child,null,l),t.child=Bo(t,null,r,l)):dn(e,t,r,l),t.memoizedState=y.state,e=t.child}else e=$a(e,t,l);return l=t.stateNode,c&&l.props!==o&&(nl||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",F(t)||"a component"),nl=!0),e}function m1(e,t,r,o){return vo(),t.flags|=256,dn(e,t,r,o),t.child}function mp(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
145
- %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=se(t)||"Unknown",eT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),eT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=se(t)||"Unknown",KE[t]||(console.error("%s: Function components do not support contextType.",t),KE[t]=!0))}function pp(e){return{baseLanes:e,cachePool:dx()}}function gp(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=Gn),e}function p1(e,t,r){var o,l=t.pendingProps;f(t)&&(t.flags|=128);var c=!1,m=(t.flags&128)!==0;if((o=m)||(o=e!==null&&e.memoizedState===null?!1:(Bt.current&Pu)!==0),o&&(c=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(We){if(c?Ti(t):Ai(t),(e=xt)?(r=jS(e,Nr),r=r!==null&&r.data!==$o?r:null,r!==null&&(o={dehydrated:r,treeContext:rx(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=tx(r),o.return=t,t.child=o,pn=t,xt=null)):r=null,r===null)throw rf(t,e),vi(t);return Qp(r)?t.lanes=32:t.lanes=536870912,null}var y=l.children;if(l=l.fallback,c){Ai(t);var D=t.mode;return y=_f({mode:"hidden",children:y},D),l=yo(l,D,r,null),y.return=t,l.return=t,y.sibling=l,t.child=y,l=t.child,l.memoizedState=pp(r),l.childLanes=gp(e,o,r),t.memoizedState=sy,Jl(null,l)}return Ti(t),yp(t,y)}var E=e.memoizedState;if(E!==null){var B=E.dehydrated;if(B!==null){if(m)t.flags&256?(Ti(t),t.flags&=-257,t=bp(e,t,r)):t.memoizedState!==null?(Ai(t),t.child=e.child,t.flags|=128,t=null):(Ai(t),y=l.fallback,D=t.mode,l=_f({mode:"visible",children:l.children},D),y=yo(y,D,r,null),y.flags|=2,l.return=t,y.return=t,l.sibling=y,t.child=l,Bo(t,e.child,null,r),l=t.child,l.memoizedState=pp(r),l.childLanes=gp(e,o,r),t.memoizedState=sy,t=Jl(null,l));else if(Ti(t),ix(),(r&536870912)!==0&&Lf(t),Qp(B)){if(o=B.nextSibling&&B.nextSibling.dataset,o){y=o.dgst;var H=o.msg;D=o.stck;var _=o.cstck}c=H,o=y,l=D,B=_,y=c,D=B,y=Error(y||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),y.stack=l||"",y.digest=o,o=D===void 0?null:D,l={value:y,source:null,stack:o},typeof o=="string"&&Hg.set(y,l),Hl(l),t=bp(e,t,r)}else if($t||ps(e,t,r,!1),o=(r&e.childLanes)!==0,$t||o){if(o=gt,o!==null&&(l=wn(o,r),l!==0&&l!==E.retryLane))throw E.retryLane=l,bn(e,l),Ot(o,e,l),oy;Xp(B)||Bf(),t=bp(e,t,r)}else Xp(B)?(t.flags|=192,t.child=e.child,t=null):(e=E.treeContext,xt=or(B.nextSibling),pn=t,We=!0,Li=null,ka=!1,ur=null,Nr=!1,e!==null&&ax(t,e),t=yp(t,l.children),t.flags|=4096);return t}}return c?(Ai(t),y=l.fallback,D=t.mode,_=e.child,B=_.sibling,l=Ia(_,{mode:"hidden",children:l.children}),l.subtreeFlags=_.subtreeFlags&65011712,B!==null?y=Ia(B,y):(y=yo(y,D,r,null),y.flags|=2),y.return=t,l.return=t,l.sibling=y,t.child=l,Jl(null,l),l=t.child,y=e.child.memoizedState,y===null?y=pp(r):(D=y.cachePool,D!==null?(_=Ft._currentValue,D=D.parent!==_?{parent:_,pool:_}:D):D=dx(),y={baseLanes:y.baseLanes|r,cachePool:D}),l.memoizedState=y,l.childLanes=gp(e,o,r),t.memoizedState=sy,Jl(e.child,l)):(E!==null&&(r&62914560)===r&&(r&e.lanes)!==0&&Lf(t),Ti(t),r=e.child,e=r.sibling,r=Ia(r,{mode:"visible",children:l.children}),r.return=t,r.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=r,t.memoizedState=null,r)}function yp(e,t){return t=_f({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function _f(e,t){return e=x(22,e,null,t),e.lanes=0,e}function bp(e,t,r){return Bo(t,e.child,null,r),e=yp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function g1(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Tm(e.return,t,r)}function vp(e,t,r,o,l,c){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:l,treeForkCount:c}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=o,m.tail=r,m.tailMode=l,m.treeForkCount=c)}function y1(e,t,r){var o=t.pendingProps,l=o.revealOrder,c=o.tail,m=o.children,y=Bt.current;if((o=(y&Pu)!==0)?(y=y&Ks|Pu,t.flags|=128):y&=Ks,X(Bt,y,t),y=l??"null",l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!tT[y])if(tT[y]=!0,l==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(l==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',l,l.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l);y=c??"null",Od[y]||(c==null?(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&(Od[y]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):c!=="visible"&&c!=="collapsed"&&c!=="hidden"?(Od[y]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',c)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(Od[y]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&m!==void 0&&m!==null&&m!==!1)if(en(m)){for(y=0;y<m.length;y++)if(!Dx(m[y],y))break e}else if(y=ye(m),typeof y=="function"){if(y=y.call(m))for(var D=y.next(),E=0;!D.done;D=y.next()){if(!Dx(D.value,E))break e;E++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',l);if(dn(e,t,m,r),We?(bi(),m=wu):m=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&g1(e,r,t);else if(e.tag===19)g1(e,r,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(l){case"forwards":for(r=t.child,l=null;r!==null;)e=r.alternate,e!==null&&yf(e)===null&&(l=r),r=r.sibling;r=l,r===null?(l=t.child,t.child=null):(l=r.sibling,r.sibling=null),vp(t,!1,l,r,c,m);break;case"backwards":case"unstable_legacy-backwards":for(r=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&yf(e)===null){t.child=l;break}e=l.sibling,l.sibling=r,r=l,l=e}vp(t,!0,r,null,c,m);break;case"together":vp(t,!1,null,null,void 0,m);break;default:t.memoizedState=null}return t.child}function $a(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),zn=-1,Gi|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(ps(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,r=Ia(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ia(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function xp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&of(e)))}function uO(e,t,r){switch(t.tag){case 3:ae(t,t.stateNode.containerInfo),xi(t,Ft,e.memoizedState.cache),vo();break;case 27:case 5:pe(t);break;case 4:ae(t,t.stateNode.containerInfo);break;case 10:xi(t,t.type,t.memoizedProps.value);break;case 12:(r&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Um(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ti(t),t.flags|=128,null):(r&t.child.childLanes)!==0?p1(e,t,r):(Ti(t),e=$a(e,t,r),e!==null?e.sibling:null);Ti(t);break;case 19:var l=(e.flags&128)!==0;if(o=(r&t.childLanes)!==0,o||(ps(e,t,r,!1),o=(r&t.childLanes)!==0),l){if(o)return y1(e,t,r);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),X(Bt,Bt.current,t),o)break;return null;case 22:return t.lanes=0,u1(e,t,r,t.pendingProps);case 24:xi(t,Ft,e.memoizedState.cache)}return $a(e,t,r)}function Sp(e,t,r){if(t._debugNeedsRemount&&e!==null){r=ym(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),r._debugStack=t._debugStack,r._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,r.index=t.index,r.sibling=t.sibling,r.return=t.return,r.ref=t.ref,r._debugInfo=t._debugInfo,t===o.child)o.child=r;else{var l=o.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=r}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),r.flags|=2,r}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)$t=!0;else{if(!xp(e,r)&&(t.flags&128)===0)return $t=!1,uO(e,t,r);$t=(e.flags&131072)!==0}else $t=!1,(o=We)&&(bi(),o=(t.flags&1048576)!==0),o&&(o=t.index,bi(),nx(t,wu,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=Si(t.elementType),t.type=e,typeof e=="function")gm(e)?(o=Ao(e,o),t.tag=1,t.type=e=go(e),t=h1(null,t,e,o,r)):(t.tag=0,mp(t,e),t.type=e=go(e),t=hp(null,t,e,o,r));else{if(e!=null){if(l=e.$$typeof,l===hu){t.tag=11,t.type=e=pm(e),t=o1(null,t,e,o,r);break e}else if(l===Wf){t.tag=14,t=s1(null,t,e,o,r);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===sr&&(t=" Did you wrap a component in React.lazy() more than once?"),r=se(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+r+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return hp(e,t,t.type,t.pendingProps,r);case 1:return o=t.type,l=Ao(o,t.pendingProps),h1(e,t,o,l,r);case 3:e:{if(ae(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var c=t.memoizedState;l=c.element,Mm(e,t),$l(t,o,null,r);var m=t.memoizedState;if(o=m.cache,xi(t,Ft,o),o!==c.cache&&Am(t,[Ft],r,!0),Gl(),o=m.element,c.isDehydrated)if(c={element:o,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=m1(e,t,o,r);break e}else if(o!==l){l=tr(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Hl(l),t=m1(e,t,o,r);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,xt=or(e.firstChild),pn=t,We=!0,Li=null,ka=!1,ur=null,Nr=!0,r=RE(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(vo(),o===l){t=$a(e,t,r);break e}dn(e,t,o,r)}t=t.child}return t;case 26:return Mf(e,t),e===null?(r=qS(t.type,null,t.pendingProps,null))?t.memoizedState=r:We||(r=t.type,e=t.pendingProps,o=ne(Oi.current),o=If(o).createElement(r),o[mn]=t,o[On]=e,hn(o,r,e),Me(o),t.stateNode=o):t.memoizedState=qS(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),e===null&&We&&(o=ne(Oi.current),l=le(),o=t.stateNode=HS(t.type,t.pendingProps,o,l,!1),ka||(l=kS(o,t.type,t.pendingProps,l),l!==null&&(bo(t,0).serverProps=l)),pn=t,Nr=!0,l=xt,Ci(t.type)?(Ry=l,xt=or(o.firstChild)):xt=l),dn(e,t,t.pendingProps.children,r),Mf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&We&&(c=le(),o=om(t.type,c.ancestorInfo),l=xt,(m=!l)||(m=JO(l,t.type,t.pendingProps,Nr),m!==null?(t.stateNode=m,ka||(c=kS(m,t.type,t.pendingProps,c),c!==null&&(bo(t,0).serverProps=c)),pn=t,xt=or(m.firstChild),Nr=!1,c=!0):c=!1,m=!c),m&&(o&&rf(t,l),vi(t))),pe(t),l=t.type,c=t.pendingProps,m=e!==null?e.memoizedProps:null,o=c.children,Gp(l,c)?o=null:m!==null&&Gp(l,m)&&(t.flags|=32),t.memoizedState!==null&&(l=Vm(e,t,tO,null,null,r),ic._currentValue=l),Mf(e,t),dn(e,t,o,r),t.child;case 6:return e===null&&We&&(r=t.pendingProps,e=le(),o=e.ancestorInfo.current,r=o!=null?$c(r,o.tag,e.ancestorInfo.implicitRootScope):!0,e=xt,(o=!e)||(o=KO(e,t.pendingProps,Nr),o!==null?(t.stateNode=o,pn=t,xt=null,o=!0):o=!1,o=!o),o&&(r&&rf(t,e),vi(t))),null;case 13:return p1(e,t,r);case 4:return ae(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Bo(t,null,o,r):dn(e,t,o,r),t.child;case 11:return o1(e,t,t.type,t.pendingProps,r);case 7:return dn(e,t,t.pendingProps,r),t.child;case 8:return dn(e,t,t.pendingProps.children,r),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,dn(e,t,t.pendingProps.children,r),t.child;case 10:return o=t.type,l=t.pendingProps,c=l.value,"value"in l||nT||(nT=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),xi(t,o,c),dn(e,t,l.children,r),t.child;case 9:return l=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),xo(t),l=wt(l),o=Xg(o,l,void 0),t.flags|=1,dn(e,t,o,r),t.child;case 14:return s1(e,t,t.type,t.pendingProps,r);case 15:return l1(e,t,t.type,t.pendingProps,r);case 19:return y1(e,t,r);case 31:return lO(e,t,r);case 22:return u1(e,t,r,t.pendingProps);case 24:return xo(t),o=wt(Ft),e===null?(l=Cm(),l===null&&(l=gt,c=wm(),l.pooledCache=c,So(c),c!==null&&(l.pooledCacheLanes|=r),l=c),t.memoizedState={parent:o,cache:l},Om(t),xi(t,Ft,l)):((e.lanes&r)!==0&&(Mm(e,t),$l(t,null,null,r),Gl()),l=e.memoizedState,c=t.memoizedState,l.parent!==o?(l={parent:o,cache:o},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),xi(t,Ft,o)):(o=c.cache,xi(t,Ft,o),o!==l.cache&&Am(t,[Ft],r,!0))),dn(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Xa(e){e.flags|=4}function Dp(e,t,r,o,l){if((t=(e.mode&R_)!==Ve)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(Z1())e.flags|=8192;else throw Lo=Ad,Zg}else e.flags&=-16777217}function b1(e,t){if(t.type!=="stylesheet"||(t.state.loading&Mr)!==Zo)e.flags&=-16777217;else if(e.flags|=16777216,!$S(t))if(Z1())e.flags|=8192;else throw Lo=Ad,Zg}function zf(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?W():536870912,e.lanes|=t,Fo|=t)}function Kl(e,t){if(!We)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function yt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)if((e.mode&Ye)!==Ve){for(var l=e.selfBaseDuration,c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,l+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,o|=l.subtreeFlags&65011712,o|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&Ye)!==Ve){l=e.actualDuration,c=e.selfBaseDuration;for(var m=e.child;m!==null;)r|=m.lanes|m.childLanes,o|=m.subtreeFlags,o|=m.flags,l+=m.actualDuration,c+=m.treeBaseDuration,m=m.sibling;e.actualDuration=l,e.treeBaseDuration=c}else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function cO(e,t,r){var o=t.pendingProps;switch(Sm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yt(t),null;case 1:return yt(t),null;case 3:return r=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ya(Ft,t),Y(t),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ms(t)?(Em(),Xa(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Dm())),yt(t),null;case 26:var l=t.type,c=t.memoizedState;return e===null?(Xa(t),c!==null?(yt(t),b1(t,c)):(yt(t),Dp(t,l,null,o,r))):c?c!==e.memoizedState?(Xa(t),yt(t),b1(t,c)):(yt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&Xa(t),yt(t),Dp(t,l,e,o,r)),null;case 27:if(Oe(t),r=ne(Oi.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return yt(t),null}e=le(),ms(t)?ox(t):(e=HS(l,o,r,e,!0),t.stateNode=e,Xa(t))}return yt(t),null;case 5:if(Oe(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return yt(t),null}var m=le();if(ms(t))ox(t);else{switch(c=ne(Oi.current),om(l,m.ancestorInfo),m=m.context,c=If(c),m){case cl:c=c.createElementNS(zs,l);break;case Jd:c=c.createElementNS(od,l);break;default:switch(l){case"svg":c=c.createElementNS(zs,l);break;case"math":c=c.createElementNS(od,l);break;case"script":c=c.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof o.is=="string"?c.createElement("select",{is:o.is}):c.createElement("select"),o.multiple?c.multiple=!0:o.size&&(c.size=o.size);break;default:c=typeof o.is=="string"?c.createElement(l,{is:o.is}):c.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(c)!=="[object HTMLUnknownElement]"||Gr.call(wT,l)||(wT[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}c[mn]=t,c[On]=o;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(hn(c,l,o),l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Xa(t)}}return yt(t),Dp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=ne(Oi.current),r=le(),ms(t)){if(e=t.stateNode,r=t.memoizedProps,l=!ka,o=null,c=pn,c!==null)switch(c.tag){case 3:l&&(l=LS(e,r,o),l!==null&&(bo(t,0).serverProps=l));break;case 27:case 5:o=c.memoizedProps,l&&(l=LS(e,r,o),l!==null&&(bo(t,0).serverProps=l))}e[mn]=t,e=!!(e.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||ES(e.nodeValue,r)),e||vi(t,!0)}else l=r.ancestorInfo.current,l!=null&&$c(o,l.tag,r.ancestorInfo.implicitRootScope),e=If(e).createTextNode(o),e[mn]=t,t.stateNode=e}return yt(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(o=ms(t),r!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[mn]=t,yt(t),(t.mode&Ye)!==Ve&&r!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Em(),vo(),(t.flags&128)===0&&(r=t.memoizedState=null),t.flags|=4,yt(t),(t.mode&Ye)!==Ve&&r!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else r=Dm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(ar(t),t):(ar(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return yt(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=o,c=ms(t),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");c[mn]=t,yt(t),(t.mode&Ye)!==Ve&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else Em(),vo(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,yt(t),(t.mode&Ye)!==Ve&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=Dm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(ar(t),t):(ar(t),null)}return ar(t),(t.flags&128)!==0?(t.lanes=r,(t.mode&Ye)!==Ve&&Il(t),t):(r=o!==null,e=e!==null&&e.memoizedState!==null,r&&(o=t.child,l=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(l=o.alternate.memoizedState.cachePool.pool),c=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool),c!==l&&(o.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),zf(t,t.updateQueue),yt(t),(t.mode&Ye)!==Ve&&r&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Y(t),e===null&&Bp(t.stateNode.containerInfo),yt(t),null;case 10:return Ya(t.type,t),yt(t),null;case 19:if(oe(Bt,t),o=t.memoizedState,o===null)return yt(t),null;if(l=(t.flags&128)!==0,c=o.rendering,c===null)if(l)Kl(o,!1);else{if(Rt!==ci||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=yf(e),c!==null){for(t.flags|=128,Kl(o,!1),e=c.updateQueue,t.updateQueue=e,zf(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)ex(r,e),r=r.sibling;return X(Bt,Bt.current&Ks|Pu,t),We&&Fa(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&sn()>Ld&&(t.flags|=128,l=!0,Kl(o,!1),t.lanes=4194304)}else{if(!l)if(e=yf(c),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,zf(t,e),Kl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!c.alternate&&!We)return yt(t),null}else 2*sn()-o.renderingStartTime>Ld&&r!==536870912&&(t.flags|=128,l=!0,Kl(o,!1),t.lanes=4194304);o.isBackwards?(c.sibling=t.child,t.child=c):(e=o.last,e!==null?e.sibling=c:t.child=c,o.last=c)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=sn(),e.sibling=null,r=Bt.current,r=l?r&Ks|Pu:r&Ks,X(Bt,r,t),We&&Fa(t,o.treeForkCount),e):(yt(t),null);case 22:case 23:return ar(t),zm(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(r&536870912)!==0&&(t.flags&128)===0&&(yt(t),t.subtreeFlags&6&&(t.flags|=8192)):yt(t),r=t.updateQueue,r!==null&&zf(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==r&&(t.flags|=2048),e!==null&&oe(jo,t),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ya(Ft,t),yt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function fO(e,t){switch(Sm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 3:return Ya(Ft,t),Y(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Oe(t),null;case 31:if(t.memoizedState!==null){if(ar(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 13:if(ar(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 19:return oe(Bt,t),null;case 4:return Y(t),null;case 10:return Ya(t.type,t),null;case 22:case 23:return ar(t),zm(t),e!==null&&oe(jo,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 24:return Ya(Ft,t),null;case 25:return null;default:return null}}function v1(e,t){switch(Sm(t),t.tag){case 3:Ya(Ft,t),Y(t);break;case 26:case 27:case 5:Oe(t);break;case 4:Y(t);break;case 31:t.memoizedState!==null&&ar(t);break;case 13:ar(t);break;case 19:oe(Bt,t);break;case 10:Ya(t.type,t);break;case 22:case 23:ar(t),zm(t),e!==null&&oe(jo,t);break;case 24:Ya(Ft,t)}}function pa(e){return(e.mode&Ye)!==Ve}function x1(e,t){pa(e)?(ma(),Wl(t,e),ha()):Wl(t,e)}function Ep(e,t,r){pa(e)?(ma(),xs(r,e,t),ha()):xs(r,e,t)}function Wl(e,t){try{var r=t.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var l=o.next;r=l;do{if((r.tag&e)===e&&(o=void 0,(e&Un)!==Nd&&(sl=!0),o=De(t,j_,r),(e&Un)!==Nd&&(sl=!1),o!==void 0&&typeof o!="function")){var c=void 0;c=(r.tag&fr)!==0?"useLayoutEffect":(r.tag&Un)!==0?"useInsertionEffect":"useEffect";var m=void 0;m=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
142
+ `+m:"",g!==null?`
143
+ `+g:"",w!==null?`
144
+ `+w:""))}}c=t.stateNode,m=se(r)||"Component",c.render||(r.prototype&&typeof r.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",m):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",m)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",m),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",m),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),r.childContextTypes&&!QE.has(r)&&(QE.add(r),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",m)),r.contextTypes&&!XE.has(r)&&(XE.add(r),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",m)),typeof c.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",m),r.prototype&&r.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",se(r)||"A pure component"),typeof c.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof c.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",m),typeof c.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof c.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m),g=c.props!==o,c.props!==void 0&&g&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m),c.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",m,m),typeof c.getSnapshotBeforeUpdate!="function"||typeof c.componentDidUpdate=="function"||FE.has(r)||(FE.add(r),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",se(r))),typeof c.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof c.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof r.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m),(g=c.state)&&(typeof g!="object"||en(g))&&console.error("%s.state: must be set to an object or null",m),typeof c.getChildContext=="function"&&typeof r.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m),c=t.stateNode,c.props=o,c.state=t.memoizedState,c.refs={},zm(t),m=r.contextType,c.context=typeof m=="object"&&m!==null?kt(m):Vi,c.state===o&&(m=se(r)||"Component",GE.has(m)||(GE.add(m),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",m))),t.mode&xn&&Xr.recordLegacyContextWarning(t,c),Xr.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(up(t,r,m,o),c.state=t.memoizedState),typeof r.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&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",F(t)||"Component"),ag.enqueueReplaceState(c,c.state,null)),$l(t,o,c,l),Gl(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),c=!0}else if(e===null){c=t.stateNode;var B=t.memoizedProps;g=Do(r,B),c.props=g;var H=c.context;w=r.contextType,m=Vi,typeof w=="object"&&w!==null&&(m=kt(w)),E=r.getDerivedStateFromProps,w=typeof E=="function"||typeof c.getSnapshotBeforeUpdate=="function",B=t.pendingProps!==B,w||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(B||H!==m)&&n1(t,c,o,m),Ii=!1;var M=t.memoizedState;c.state=M,$l(t,o,c,l),Gl(),H=t.memoizedState,B||M!==H||Ii?(typeof E=="function"&&(up(t,r,E,o),H=t.memoizedState),(g=Ii||t1(t,r,g,o,M,H,m))?(w||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),(t.mode&$r)!==Ve&&(t.flags|=134217728)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=H),c.props=o,c.state=H,c.context=m,c=g):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),c=!1)}else{c=t.stateNode,Om(e,t),m=t.memoizedProps,w=Do(r,m),c.props=w,E=t.pendingProps,M=c.context,H=r.contextType,g=Vi,typeof H=="object"&&H!==null&&(g=kt(H)),B=r.getDerivedStateFromProps,(H=typeof B=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==E||M!==g)&&n1(t,c,o,g),Ii=!1,M=t.memoizedState,c.state=M,$l(t,o,c,l),Gl();var $=t.memoizedState;m!==E||M!==$||Ii||e!==null&&e.dependencies!==null&&of(e.dependencies)?(typeof B=="function"&&(up(t,r,B,o),$=t.memoizedState),(w=Ii||t1(t,r,w,o,M,$,g)||e!==null&&e.dependencies!==null&&of(e.dependencies))?(H||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(o,$,g),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(o,$,g)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=$),c.props=o,c.state=$,c.context=g,c=w):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),c=!1)}if(g=c,Of(e,t),m=(t.flags&128)!==0,g||m){if(g=t.stateNode,Kn(t),m&&typeof r.getDerivedStateFromError!="function")r=null,_n=-1;else if(r=gE(g),t.mode&xn){ke(!0);try{gE(g)}finally{ke(!1)}}t.flags|=1,e!==null&&m?(t.child=Bo(t,e.child,null,l),t.child=Bo(t,null,r,l)):dn(e,t,r,l),t.memoizedState=g.state,e=t.child}else e=$a(e,t,l);return l=t.stateNode,c&&l.props!==o&&(nl||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",F(t)||"a component"),nl=!0),e}function p1(e,t,r,o){return vo(),t.flags|=256,dn(e,t,r,o),t.child}function mp(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
145
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=se(t)||"Unknown",tT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),tT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=se(t)||"Unknown",WE[t]||(console.error("%s: Function components do not support contextType.",t),WE[t]=!0))}function pp(e){return{baseLanes:e,cachePool:hx()}}function yp(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=Gn),e}function y1(e,t,r){var o,l=t.pendingProps;f(t)&&(t.flags|=128);var c=!1,m=(t.flags&128)!==0;if((o=m)||(o=e!==null&&e.memoizedState===null?!1:(Bt.current&Pu)!==0),o&&(c=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(We){if(c?Ti(t):Di(t),(e=xt)?(r=VS(e,Nr),r=r!==null&&r.data!==$o?r:null,r!==null&&(o={dehydrated:r,treeContext:ax(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=nx(r),o.return=t,t.child=o,pn=t,xt=null)):r=null,r===null)throw rf(t,e),vi(t);return Qp(r)?t.lanes=32:t.lanes=536870912,null}var g=l.children;if(l=l.fallback,c){Di(t);var w=t.mode;return g=Mf({mode:"hidden",children:g},w),l=go(l,w,r,null),g.return=t,l.return=t,g.sibling=l,t.child=g,l=t.child,l.memoizedState=pp(r),l.childLanes=yp(e,o,r),t.memoizedState=sg,Jl(null,l)}return Ti(t),gp(t,g)}var E=e.memoizedState;if(E!==null){var B=E.dehydrated;if(B!==null){if(m)t.flags&256?(Ti(t),t.flags&=-257,t=bp(e,t,r)):t.memoizedState!==null?(Di(t),t.child=e.child,t.flags|=128,t=null):(Di(t),g=l.fallback,w=t.mode,l=Mf({mode:"visible",children:l.children},w),g=go(g,w,r,null),g.flags|=2,l.return=t,g.return=t,l.sibling=g,t.child=l,Bo(t,e.child,null,r),l=t.child,l.memoizedState=pp(r),l.childLanes=yp(e,o,r),t.memoizedState=sg,t=Jl(null,l));else if(Ti(t),ox(),(r&536870912)!==0&&Lf(t),Qp(B)){if(o=B.nextSibling&&B.nextSibling.dataset,o){g=o.dgst;var H=o.msg;w=o.stck;var M=o.cstck}c=H,o=g,l=w,B=M,g=c,w=B,g=Error(g||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),g.stack=l||"",g.digest=o,o=w===void 0?null:w,l={value:g,source:null,stack:o},typeof o=="string"&&Hy.set(g,l),Hl(l),t=bp(e,t,r)}else if($t||ps(e,t,r,!1),o=(r&e.childLanes)!==0,$t||o){if(o=yt,o!==null&&(l=kn(o,r),l!==0&&l!==E.retryLane))throw E.retryLane=l,bn(e,l),zt(o,e,l),og;Xp(B)||Bf(),t=bp(e,t,r)}else Xp(B)?(t.flags|=192,t.child=e.child,t=null):(e=E.treeContext,xt=or(B.nextSibling),pn=t,We=!0,Li=null,Aa=!1,ur=null,Nr=!1,e!==null&&ix(t,e),t=gp(t,l.children),t.flags|=4096);return t}}return c?(Di(t),g=l.fallback,w=t.mode,M=e.child,B=M.sibling,l=Ia(M,{mode:"hidden",children:l.children}),l.subtreeFlags=M.subtreeFlags&65011712,B!==null?g=Ia(B,g):(g=go(g,w,r,null),g.flags|=2),g.return=t,l.return=t,l.sibling=g,t.child=l,Jl(null,l),l=t.child,g=e.child.memoizedState,g===null?g=pp(r):(w=g.cachePool,w!==null?(M=Ft._currentValue,w=w.parent!==M?{parent:M,pool:M}:w):w=hx(),g={baseLanes:g.baseLanes|r,cachePool:w}),l.memoizedState=g,l.childLanes=yp(e,o,r),t.memoizedState=sg,Jl(e.child,l)):(E!==null&&(r&62914560)===r&&(r&e.lanes)!==0&&Lf(t),Ti(t),r=e.child,e=r.sibling,r=Ia(r,{mode:"visible",children:l.children}),r.return=t,r.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=r,t.memoizedState=null,r)}function gp(e,t){return t=Mf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Mf(e,t){return e=x(22,e,null,t),e.lanes=0,e}function bp(e,t,r){return Bo(t,e.child,null,r),e=gp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function g1(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Tm(e.return,t,r)}function vp(e,t,r,o,l,c){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:l,treeForkCount:c}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=o,m.tail=r,m.tailMode=l,m.treeForkCount=c)}function b1(e,t,r){var o=t.pendingProps,l=o.revealOrder,c=o.tail,m=o.children,g=Bt.current;if((o=(g&Pu)!==0)?(g=g&Ks|Pu,t.flags|=128):g&=Ks,X(Bt,g,t),g=l??"null",l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!nT[g])if(nT[g]=!0,l==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(l==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',l,l.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l);g=c??"null",zd[g]||(c==null?(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&(zd[g]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):c!=="visible"&&c!=="collapsed"&&c!=="hidden"?(zd[g]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',c)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(zd[g]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&m!==void 0&&m!==null&&m!==!1)if(en(m)){for(g=0;g<m.length;g++)if(!Ex(m[g],g))break e}else if(g=ge(m),typeof g=="function"){if(g=g.call(m))for(var w=g.next(),E=0;!w.done;w=g.next()){if(!Ex(w.value,E))break e;E++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',l);if(dn(e,t,m,r),We?(bi(),m=ku):m=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&g1(e,r,t);else if(e.tag===19)g1(e,r,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(l){case"forwards":for(r=t.child,l=null;r!==null;)e=r.alternate,e!==null&&gf(e)===null&&(l=r),r=r.sibling;r=l,r===null?(l=t.child,t.child=null):(l=r.sibling,r.sibling=null),vp(t,!1,l,r,c,m);break;case"backwards":case"unstable_legacy-backwards":for(r=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&gf(e)===null){t.child=l;break}e=l.sibling,l.sibling=r,r=l,l=e}vp(t,!0,r,null,c,m);break;case"together":vp(t,!1,null,null,void 0,m);break;default:t.memoizedState=null}return t.child}function $a(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),_n=-1,Gi|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(ps(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,r=Ia(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ia(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function xp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&of(e)))}function cz(e,t,r){switch(t.tag){case 3:ae(t,t.stateNode.containerInfo),xi(t,Ft,e.memoizedState.cache),vo();break;case 27:case 5:pe(t);break;case 4:ae(t,t.stateNode.containerInfo);break;case 10:xi(t,t.type,t.memoizedProps.value);break;case 12:(r&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Um(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ti(t),t.flags|=128,null):(r&t.child.childLanes)!==0?y1(e,t,r):(Ti(t),e=$a(e,t,r),e!==null?e.sibling:null);Ti(t);break;case 19:var l=(e.flags&128)!==0;if(o=(r&t.childLanes)!==0,o||(ps(e,t,r,!1),o=(r&t.childLanes)!==0),l){if(o)return b1(e,t,r);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),X(Bt,Bt.current,t),o)break;return null;case 22:return t.lanes=0,c1(e,t,r,t.pendingProps);case 24:xi(t,Ft,e.memoizedState.cache)}return $a(e,t,r)}function Sp(e,t,r){if(t._debugNeedsRemount&&e!==null){r=gm(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),r._debugStack=t._debugStack,r._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,r.index=t.index,r.sibling=t.sibling,r.return=t.return,r.ref=t.ref,r._debugInfo=t._debugInfo,t===o.child)o.child=r;else{var l=o.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=r}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),r.flags|=2,r}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)$t=!0;else{if(!xp(e,r)&&(t.flags&128)===0)return $t=!1,cz(e,t,r);$t=(e.flags&131072)!==0}else $t=!1,(o=We)&&(bi(),o=(t.flags&1048576)!==0),o&&(o=t.index,bi(),rx(t,ku,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=Si(t.elementType),t.type=e,typeof e=="function")ym(e)?(o=Do(e,o),t.tag=1,t.type=e=yo(e),t=m1(null,t,e,o,r)):(t.tag=0,mp(t,e),t.type=e=yo(e),t=hp(null,t,e,o,r));else{if(e!=null){if(l=e.$$typeof,l===hu){t.tag=11,t.type=e=pm(e),t=s1(null,t,e,o,r);break e}else if(l===Wf){t.tag=14,t=l1(null,t,e,o,r);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===sr&&(t=" Did you wrap a component in React.lazy() more than once?"),r=se(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+r+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return hp(e,t,t.type,t.pendingProps,r);case 1:return o=t.type,l=Do(o,t.pendingProps),m1(e,t,o,l,r);case 3:e:{if(ae(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var c=t.memoizedState;l=c.element,Om(e,t),$l(t,o,null,r);var m=t.memoizedState;if(o=m.cache,xi(t,Ft,o),o!==c.cache&&Dm(t,[Ft],r,!0),Gl(),o=m.element,c.isDehydrated)if(c={element:o,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=p1(e,t,o,r);break e}else if(o!==l){l=tr(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Hl(l),t=p1(e,t,o,r);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,xt=or(e.firstChild),pn=t,We=!0,Li=null,Aa=!1,ur=null,Nr=!0,r=zE(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(vo(),o===l){t=$a(e,t,r);break e}dn(e,t,o,r)}t=t.child}return t;case 26:return Of(e,t),e===null?(r=IS(t.type,null,t.pendingProps,null))?t.memoizedState=r:We||(r=t.type,e=t.pendingProps,o=ne(zi.current),o=If(o).createElement(r),o[mn]=t,o[zn]=e,hn(o,r,e),Oe(o),t.stateNode=o):t.memoizedState=IS(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),e===null&&We&&(o=ne(zi.current),l=le(),o=t.stateNode=PS(t.type,t.pendingProps,o,l,!1),Aa||(l=CS(o,t.type,t.pendingProps,l),l!==null&&(bo(t,0).serverProps=l)),pn=t,Nr=!0,l=xt,Ci(t.type)?(Rg=l,xt=or(o.firstChild)):xt=l),dn(e,t,t.pendingProps.children,r),Of(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&We&&(c=le(),o=om(t.type,c.ancestorInfo),l=xt,(m=!l)||(m=Kz(l,t.type,t.pendingProps,Nr),m!==null?(t.stateNode=m,Aa||(c=CS(m,t.type,t.pendingProps,c),c!==null&&(bo(t,0).serverProps=c)),pn=t,xt=or(m.firstChild),Nr=!1,c=!0):c=!1,m=!c),m&&(o&&rf(t,l),vi(t))),pe(t),l=t.type,c=t.pendingProps,m=e!==null?e.memoizedProps:null,o=c.children,Gp(l,c)?o=null:m!==null&&Gp(l,m)&&(t.flags|=32),t.memoizedState!==null&&(l=Vm(e,t,nz,null,null,r),ic._currentValue=l),Of(e,t),dn(e,t,o,r),t.child;case 6:return e===null&&We&&(r=t.pendingProps,e=le(),o=e.ancestorInfo.current,r=o!=null?$c(r,o.tag,e.ancestorInfo.implicitRootScope):!0,e=xt,(o=!e)||(o=Wz(e,t.pendingProps,Nr),o!==null?(t.stateNode=o,pn=t,xt=null,o=!0):o=!1,o=!o),o&&(r&&rf(t,e),vi(t))),null;case 13:return y1(e,t,r);case 4:return ae(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Bo(t,null,o,r):dn(e,t,o,r),t.child;case 11:return s1(e,t,t.type,t.pendingProps,r);case 7:return dn(e,t,t.pendingProps,r),t.child;case 8:return dn(e,t,t.pendingProps.children,r),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,dn(e,t,t.pendingProps.children,r),t.child;case 10:return o=t.type,l=t.pendingProps,c=l.value,"value"in l||rT||(rT=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),xi(t,o,c),dn(e,t,l.children,r),t.child;case 9:return l=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),xo(t),l=kt(l),o=Xy(o,l,void 0),t.flags|=1,dn(e,t,o,r),t.child;case 14:return l1(e,t,t.type,t.pendingProps,r);case 15:return u1(e,t,t.type,t.pendingProps,r);case 19:return b1(e,t,r);case 31:return uz(e,t,r);case 22:return c1(e,t,r,t.pendingProps);case 24:return xo(t),o=kt(Ft),e===null?(l=Cm(),l===null&&(l=yt,c=km(),l.pooledCache=c,So(c),c!==null&&(l.pooledCacheLanes|=r),l=c),t.memoizedState={parent:o,cache:l},zm(t),xi(t,Ft,l)):((e.lanes&r)!==0&&(Om(e,t),$l(t,null,null,r),Gl()),l=e.memoizedState,c=t.memoizedState,l.parent!==o?(l={parent:o,cache:o},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),xi(t,Ft,o)):(o=c.cache,xi(t,Ft,o),o!==l.cache&&Dm(t,[Ft],r,!0))),dn(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Xa(e){e.flags|=4}function wp(e,t,r,o,l){if((t=(e.mode&zM)!==Ve)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(J1())e.flags|=8192;else throw Lo=Dd,Zy}else e.flags&=-16777217}function v1(e,t){if(t.type!=="stylesheet"||(t.state.loading&Or)!==Zo)e.flags&=-16777217;else if(e.flags|=16777216,!XS(t))if(J1())e.flags|=8192;else throw Lo=Dd,Zy}function _f(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?W():536870912,e.lanes|=t,Fo|=t)}function Kl(e,t){if(!We)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function gt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)if((e.mode&Ye)!==Ve){for(var l=e.selfBaseDuration,c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,l+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,o|=l.subtreeFlags&65011712,o|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&Ye)!==Ve){l=e.actualDuration,c=e.selfBaseDuration;for(var m=e.child;m!==null;)r|=m.lanes|m.childLanes,o|=m.subtreeFlags,o|=m.flags,l+=m.actualDuration,c+=m.treeBaseDuration,m=m.sibling;e.actualDuration=l,e.treeBaseDuration=c}else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function fz(e,t,r){var o=t.pendingProps;switch(Sm(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 r=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ya(Ft,t),Y(t),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ms(t)?(Em(),Xa(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,wm())),gt(t),null;case 26:var l=t.type,c=t.memoizedState;return e===null?(Xa(t),c!==null?(gt(t),v1(t,c)):(gt(t),wp(t,l,null,o,r))):c?c!==e.memoizedState?(Xa(t),gt(t),v1(t,c)):(gt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&Xa(t),gt(t),wp(t,l,e,o,r)),null;case 27:if(ze(t),r=ne(zi.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return gt(t),null}e=le(),ms(t)?sx(t):(e=PS(l,o,r,e,!0),t.stateNode=e,Xa(t))}return gt(t),null;case 5:if(ze(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return gt(t),null}var m=le();if(ms(t))sx(t);else{switch(c=ne(zi.current),om(l,m.ancestorInfo),m=m.context,c=If(c),m){case cl:c=c.createElementNS(_s,l);break;case Jd:c=c.createElementNS(od,l);break;default:switch(l){case"svg":c=c.createElementNS(_s,l);break;case"math":c=c.createElementNS(od,l);break;case"script":c=c.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof o.is=="string"?c.createElement("select",{is:o.is}):c.createElement("select"),o.multiple?c.multiple=!0:o.size&&(c.size=o.size);break;default:c=typeof o.is=="string"?c.createElement(l,{is:o.is}):c.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(c)!=="[object HTMLUnknownElement]"||Gr.call(NT,l)||(NT[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}c[mn]=t,c[zn]=o;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(hn(c,l,o),l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Xa(t)}}return gt(t),wp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=ne(zi.current),r=le(),ms(t)){if(e=t.stateNode,r=t.memoizedProps,l=!Aa,o=null,c=pn,c!==null)switch(c.tag){case 3:l&&(l=BS(e,r,o),l!==null&&(bo(t,0).serverProps=l));break;case 27:case 5:o=c.memoizedProps,l&&(l=BS(e,r,o),l!==null&&(bo(t,0).serverProps=l))}e[mn]=t,e=!!(e.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||TS(e.nodeValue,r)),e||vi(t,!0)}else l=r.ancestorInfo.current,l!=null&&$c(o,l.tag,r.ancestorInfo.implicitRootScope),e=If(e).createTextNode(o),e[mn]=t,t.stateNode=e}return gt(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(o=ms(t),r!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[mn]=t,gt(t),(t.mode&Ye)!==Ve&&r!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Em(),vo(),(t.flags&128)===0&&(r=t.memoizedState=null),t.flags|=4,gt(t),(t.mode&Ye)!==Ve&&r!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else r=wm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(ar(t),t):(ar(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return gt(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=o,c=ms(t),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");c[mn]=t,gt(t),(t.mode&Ye)!==Ve&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else Em(),vo(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,gt(t),(t.mode&Ye)!==Ve&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=wm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(ar(t),t):(ar(t),null)}return ar(t),(t.flags&128)!==0?(t.lanes=r,(t.mode&Ye)!==Ve&&Il(t),t):(r=o!==null,e=e!==null&&e.memoizedState!==null,r&&(o=t.child,l=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(l=o.alternate.memoizedState.cachePool.pool),c=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool),c!==l&&(o.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),_f(t,t.updateQueue),gt(t),(t.mode&Ye)!==Ve&&r&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Y(t),e===null&&Bp(t.stateNode.containerInfo),gt(t),null;case 10:return Ya(t.type,t),gt(t),null;case 19:if(oe(Bt,t),o=t.memoizedState,o===null)return gt(t),null;if(l=(t.flags&128)!==0,c=o.rendering,c===null)if(l)Kl(o,!1);else{if(Rt!==ci||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=gf(e),c!==null){for(t.flags|=128,Kl(o,!1),e=c.updateQueue,t.updateQueue=e,_f(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)tx(r,e),r=r.sibling;return X(Bt,Bt.current&Ks|Pu,t),We&&Fa(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&sn()>Ld&&(t.flags|=128,l=!0,Kl(o,!1),t.lanes=4194304)}else{if(!l)if(e=gf(c),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,_f(t,e),Kl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!c.alternate&&!We)return gt(t),null}else 2*sn()-o.renderingStartTime>Ld&&r!==536870912&&(t.flags|=128,l=!0,Kl(o,!1),t.lanes=4194304);o.isBackwards?(c.sibling=t.child,t.child=c):(e=o.last,e!==null?e.sibling=c:t.child=c,o.last=c)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=sn(),e.sibling=null,r=Bt.current,r=l?r&Ks|Pu:r&Ks,X(Bt,r,t),We&&Fa(t,o.treeForkCount),e):(gt(t),null);case 22:case 23:return ar(t),_m(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(r&536870912)!==0&&(t.flags&128)===0&&(gt(t),t.subtreeFlags&6&&(t.flags|=8192)):gt(t),r=t.updateQueue,r!==null&&_f(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==r&&(t.flags|=2048),e!==null&&oe(jo,t),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ya(Ft,t),gt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function dz(e,t){switch(Sm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 3:return Ya(Ft,t),Y(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ze(t),null;case 31:if(t.memoizedState!==null){if(ar(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 13:if(ar(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 19:return oe(Bt,t),null;case 4:return Y(t),null;case 10:return Ya(t.type,t),null;case 22:case 23:return ar(t),_m(t),e!==null&&oe(jo,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 24:return Ya(Ft,t),null;case 25:return null;default:return null}}function x1(e,t){switch(Sm(t),t.tag){case 3:Ya(Ft,t),Y(t);break;case 26:case 27:case 5:ze(t);break;case 4:Y(t);break;case 31:t.memoizedState!==null&&ar(t);break;case 13:ar(t);break;case 19:oe(Bt,t);break;case 10:Ya(t.type,t);break;case 22:case 23:ar(t),_m(t),e!==null&&oe(jo,t);break;case 24:Ya(Ft,t)}}function pa(e){return(e.mode&Ye)!==Ve}function S1(e,t){pa(e)?(ma(),Wl(t,e),ha()):Wl(t,e)}function Ep(e,t,r){pa(e)?(ma(),xs(r,e,t),ha()):xs(r,e,t)}function Wl(e,t){try{var r=t.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var l=o.next;r=l;do{if((r.tag&e)===e&&(o=void 0,(e&Un)!==Nd&&(sl=!0),o=we(t,VM,r),(e&Un)!==Nd&&(sl=!1),o!==void 0&&typeof o!="function")){var c=void 0;c=(r.tag&fr)!==0?"useLayoutEffect":(r.tag&Un)!==0?"useInsertionEffect":"useEffect";var m=void 0;m=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
146
146
 
147
147
  It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
148
148
 
@@ -155,11 +155,11 @@ It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, w
155
155
  fetchData();
156
156
  }, [someId]); // Or [] if effect doesn't need props or state
157
157
 
158
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,De(t,function(y,D){console.error("%s must not return anything besides a function, which is used for clean-up.%s",y,D)},c,m)}r=r.next}while(r!==l)}}catch(y){ct(t,t.return,y)}}function xs(e,t,r){try{var o=t.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var c=l.next;o=c;do{if((o.tag&e)===e){var m=o.inst,y=m.destroy;y!==void 0&&(m.destroy=void 0,(e&Un)!==Nd&&(sl=!0),l=t,De(l,V_,l,r,y),(e&Un)!==Nd&&(sl=!1))}o=o.next}while(o!==c)}}catch(D){ct(t,t.return,D)}}function S1(e,t){pa(e)?(ma(),Wl(t,e),ha()):Wl(t,e)}function Tp(e,t,r){pa(e)?(ma(),xs(r,e,t),ha()):xs(r,e,t)}function D1(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||nl||(r.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",F(e)||"instance"),r.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",F(e)||"instance"));try{De(e,Tx,t,r)}catch(o){ct(e,e.return,o)}}}function dO(e,t,r){return e.getSnapshotBeforeUpdate(t,r)}function hO(e,t){var r=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||nl||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",F(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",F(e)||"instance"));try{var l=Ao(e.type,r),c=De(e,dO,t,l,o);r=rT,c!==void 0||r.has(e.type)||(r.add(e.type),De(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",F(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(m){ct(e,e.return,m)}}function E1(e,t,r){r.props=Ao(e.type,e.memoizedProps),r.state=e.memoizedState,pa(e)?(ma(),De(e,DE,e,t,r),ha()):De(e,DE,e,t,r)}function mO(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}if(typeof t=="function")if(pa(e))try{ma(),e.refCleanup=t(r)}finally{ha()}else e.refCleanup=t(r);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",F(e)),t.current=r}}function eu(e,t){try{De(e,mO,e)}catch(r){ct(e,t,r)}}function ga(e,t){var r=e.ref,o=e.refCleanup;if(r!==null)if(typeof o=="function")try{if(pa(e))try{ma(),De(e,o)}finally{ha(e)}else De(e,o)}catch(l){ct(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{if(pa(e))try{ma(),De(e,r,null)}finally{ha(e)}else De(e,r,null)}catch(l){ct(e,t,l)}else r.current=null}function T1(e,t,r,o){var l=e.memoizedProps,c=l.id,m=l.onCommit;l=l.onRender,t=t===null?"mount":"update",Sd&&(t="nested-update"),typeof l=="function"&&l(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,r),typeof m=="function"&&m(c,t,o,r)}function pO(e,t,r,o){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",Sd&&(t="nested-update"),typeof l=="function"&&l(e,t,o,r)}function A1(e){var t=e.type,r=e.memoizedProps,o=e.stateNode;try{De(e,BO,o,t,r,e)}catch(l){ct(e,e.return,l)}}function Ap(e,t,r){try{De(e,PO,e.stateNode,e.type,r,t,e)}catch(o){ct(e,e.return,o)}}function w1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ci(e.type)||e.tag===4}function wp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||w1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ci(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Np(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(_S(r),(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t)):(_S(r),t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=qa));else if(o!==4&&(o===27&&Ci(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(Np(e,t,r),e=e.sibling;e!==null;)Np(e,t,r),e=e.sibling}function Uf(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(o===27&&Ci(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(Uf(e,t,r),e=e.sibling;e!==null;)Uf(e,t,r),e=e.sibling}function gO(e){for(var t,r=e.return;r!==null;){if(w1(r)){t=r;break}r=r.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,r=wp(e),Uf(e,r,t);break;case 5:r=t.stateNode,t.flags&32&&(MS(r),t.flags&=-33),t=wp(e),Uf(e,t,r);break;case 3:case 4:t=t.stateNode.containerInfo,r=wp(e),Np(e,r,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function N1(e){var t=e.stateNode,r=e.memoizedProps;try{De(e,rM,e.type,r,t,e)}catch(o){ct(e,e.return,o)}}function k1(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function yO(e,t){if(e=e.containerInfo,Ny=th,e=F0(e),um(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var l=o.anchorOffset,c=o.focusNode;o=o.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break e}var m=0,y=-1,D=-1,E=0,B=0,H=e,_=null;t:for(;;){for(var $;H!==r||l!==0&&H.nodeType!==3||(y=m+l),H!==c||o!==0&&H.nodeType!==3||(D=m+o),H.nodeType===3&&(m+=H.nodeValue.length),($=H.firstChild)!==null;)_=H,H=$;for(;;){if(H===e)break t;if(_===r&&++E===l&&(y=m),_===c&&++B===o&&(D=m),($=H.nextSibling)!==null)break;H=_,_=H.parentNode}H=$}r=y===-1||D===-1?null:{start:y,end:D}}else r=null}r=r||{start:0,end:0}}else r=null;for(ky={focusedElem:e,selectionRange:r},th=!1,un=t;un!==null;)if(t=un,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,un=e;else for(;un!==null;){switch(e=t=un,r=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)l=e[r],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&r!==null&&hO(e,r);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,r=e.nodeType,r===9)$p(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":$p(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,un=e;break}un=t.return}}function C1(e,t,r){var o=nr(),l=ua(),c=fa(),m=da(),y=r.flags;switch(r.tag){case 0:case 11:case 15:ya(e,r),y&4&&x1(r,fr|Rr);break;case 1:if(ya(e,r),y&4)if(e=r.stateNode,t===null)r.type.defaultProps||"ref"in r.memoizedProps||nl||(e.props!==r.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",F(r)||"instance"),e.state!==r.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",F(r)||"instance")),pa(r)?(ma(),De(r,Qg,r,e),ha()):De(r,Qg,r,e);else{var D=Ao(r.type,t.memoizedProps);t=t.memoizedState,r.type.defaultProps||"ref"in r.memoizedProps||nl||(e.props!==r.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",F(r)||"instance"),e.state!==r.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",F(r)||"instance")),pa(r)?(ma(),De(r,vE,r,e,D,t,e.__reactInternalSnapshotBeforeUpdate),ha()):De(r,vE,r,e,D,t,e.__reactInternalSnapshotBeforeUpdate)}y&64&&D1(r),y&512&&eu(r,r.return);break;case 3:if(t=Ga(),ya(e,r),y&64&&(y=r.updateQueue,y!==null)){if(D=null,r.child!==null)switch(r.child.tag){case 27:case 5:D=r.child.stateNode;break;case 1:D=r.child.stateNode}try{De(r,Tx,y,D)}catch(B){ct(r,r.return,B)}}e.effectDuration+=lf(t);break;case 27:t===null&&y&4&&N1(r);case 26:case 5:if(ya(e,r),t===null){if(y&4)A1(r);else if(y&64){e=r.type,t=r.memoizedProps,D=r.stateNode;try{De(r,HO,D,e,t,r)}catch(B){ct(r,r.return,B)}}}y&512&&eu(r,r.return);break;case 12:if(y&4){y=Ga(),ya(e,r),e=r.stateNode,e.effectDuration+=ql(y);try{De(r,T1,r,t,Bi,e.effectDuration)}catch(B){ct(r,r.return,B)}}else ya(e,r);break;case 31:ya(e,r),y&4&&M1(e,r);break;case 13:ya(e,r),y&4&&_1(e,r),y&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(y=wO.bind(null,r),WO(e,y))));break;case 22:if(y=r.memoizedState!==null||ui,!y){t=t!==null&&t.memoizedState!==null||Xt,D=ui;var E=Xt;ui=y,(Xt=t)&&!E?(ba(e,r,(r.subtreeFlags&8772)!==0),(r.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&Jc(r,ze,Ue)):ya(e,r),ui=D,Xt=E}break;case 30:break;default:ya(e,r)}(r.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&((Mt||.05<Ct)&&sa(r,ze,Ue,Ct,Nt),r.alternate===null&&r.return!==null&&r.return.alternate!==null&&.05<Ue-ze&&(k1(r.return.alternate,r.return)||oa(r,ze,Ue,"Mount"))),rr(o),ca(l),Nt=c,Mt=m}function R1(e){var t=e.alternate;t!==null&&(e.alternate=null,R1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&q(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Qa(e,t,r){for(r=r.child;r!==null;)O1(e,t,r),r=r.sibling}function O1(e,t,r){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(Ms,r)}catch(E){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",E))}var o=nr(),l=ua(),c=fa(),m=da();switch(r.tag){case 26:Xt||ga(r,t),Qa(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(e=r.stateNode,e.parentNode.removeChild(e));break;case 27:Xt||ga(r,t);var y=Qt,D=Fn;Ci(r.type)&&(Qt=r.stateNode,Fn=!1),Qa(e,t,r),De(r,uu,r.stateNode),Qt=y,Fn=D;break;case 5:Xt||ga(r,t);case 6:if(y=Qt,D=Fn,Qt=null,Qa(e,t,r),Qt=y,Fn=D,Qt!==null)if(Fn)try{De(r,FO,Qt,r.stateNode)}catch(E){ct(r,t,E)}else try{De(r,IO,Qt,r.stateNode)}catch(E){ct(r,t,E)}break;case 18:Qt!==null&&(Fn?(e=Qt,zS(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),ks(e)):zS(Qt,r.stateNode));break;case 4:y=Qt,D=Fn,Qt=r.stateNode.containerInfo,Fn=!0,Qa(e,t,r),Qt=y,Fn=D;break;case 0:case 11:case 14:case 15:xs(Un,r,t),Xt||Ep(r,t,fr),Qa(e,t,r);break;case 1:Xt||(ga(r,t),y=r.stateNode,typeof y.componentWillUnmount=="function"&&E1(r,t,y)),Qa(e,t,r);break;case 21:Qa(e,t,r);break;case 22:Xt=(y=Xt)||r.memoizedState!==null,Qa(e,t,r),Xt=y;break;default:Qa(e,t,r)}(r.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&sa(r,ze,Ue,Ct,Nt),rr(o),ca(l),Nt=c,Mt=m}function M1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{De(t,tM,e)}catch(r){ct(t,t.return,r)}}}function _1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{De(t,nM,e)}catch(r){ct(t,t.return,r)}}function bO(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new aT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new aT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function jf(e,t){var r=bO(e);t.forEach(function(o){if(!r.has(o)){if(r.add(o),Aa)if(rl!==null&&al!==null)au(al,rl);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=NO.bind(null,e,o);o.then(l,l)}})}function qn(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var l=e,c=t,m=r[o],y=nr(),D=c;e:for(;D!==null;){switch(D.tag){case 27:if(Ci(D.type)){Qt=D.stateNode,Fn=!1;break e}break;case 5:Qt=D.stateNode,Fn=!1;break e;case 3:case 4:Qt=D.stateNode.containerInfo,Fn=!0;break e}D=D.return}if(Qt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");O1(l,c,m),Qt=null,Fn=!1,(m.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&oa(m,ze,Ue,"Unmount"),rr(y),l=m,c=l.alternate,c!==null&&(c.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)z1(t,e),t=t.sibling}function z1(e,t){var r=nr(),o=ua(),l=fa(),c=da(),m=e.alternate,y=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:qn(t,e),In(e),y&4&&(xs(Un|Rr,e,e.return),Wl(Un|Rr,e),Ep(e,e.return,fr|Rr));break;case 1:if(qn(t,e),In(e),y&512&&(Xt||m===null||ga(m,m.return)),y&64&&ui&&(y=e.updateQueue,y!==null&&(m=y.callbacks,m!==null))){var D=y.shared.hiddenCallbacks;y.shared.hiddenCallbacks=D===null?m:D.concat(m)}break;case 26:if(D=Zr,qn(t,e),In(e),y&512&&(Xt||m===null||ga(m,m.return)),y&4){var E=m!==null?m.memoizedState:null;if(y=e.memoizedState,m===null)if(y===null)if(e.stateNode===null){e:{y=e.type,m=e.memoizedProps,D=D.ownerDocument||D;t:switch(y){case"title":E=D.getElementsByTagName("title")[0],(!E||E[gu]||E[mn]||E.namespaceURI===zs||E.hasAttribute("itemprop"))&&(E=D.createElement(y),D.head.insertBefore(E,D.querySelector("head > title"))),hn(E,y,m),E[mn]=e,Me(E),y=E;break e;case"link":var B=YS("link","href",D).get(y+(m.href||""));if(B){for(var H=0;H<B.length;H++)if(E=B[H],E.getAttribute("href")===(m.href==null||m.href===""?null:m.href)&&E.getAttribute("rel")===(m.rel==null?null:m.rel)&&E.getAttribute("title")===(m.title==null?null:m.title)&&E.getAttribute("crossorigin")===(m.crossOrigin==null?null:m.crossOrigin)){B.splice(H,1);break t}}E=D.createElement(y),hn(E,y,m),D.head.appendChild(E);break;case"meta":if(B=YS("meta","content",D).get(y+(m.content||""))){for(H=0;H<B.length;H++)if(E=B[H],lt(m.content,"content"),E.getAttribute("content")===(m.content==null?null:""+m.content)&&E.getAttribute("name")===(m.name==null?null:m.name)&&E.getAttribute("property")===(m.property==null?null:m.property)&&E.getAttribute("http-equiv")===(m.httpEquiv==null?null:m.httpEquiv)&&E.getAttribute("charset")===(m.charSet==null?null:m.charSet)){B.splice(H,1);break t}}E=D.createElement(y),hn(E,y,m),D.head.appendChild(E);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+y+'". This is a bug in React.')}E[mn]=e,Me(E),y=E}e.stateNode=y}else GS(D,e.type,e.stateNode);else e.stateNode=FS(D,y,e.memoizedProps);else E!==y?(E===null?m.stateNode!==null&&(m=m.stateNode,m.parentNode.removeChild(m)):E.count--,y===null?GS(D,e.type,e.stateNode):FS(D,y,e.memoizedProps)):y===null&&e.stateNode!==null&&Ap(e,e.memoizedProps,m.memoizedProps)}break;case 27:qn(t,e),In(e),y&512&&(Xt||m===null||ga(m,m.return)),m!==null&&y&4&&Ap(e,e.memoizedProps,m.memoizedProps);break;case 5:if(qn(t,e),In(e),y&512&&(Xt||m===null||ga(m,m.return)),e.flags&32){D=e.stateNode;try{De(e,MS,D)}catch(Ee){ct(e,e.return,Ee)}}y&4&&e.stateNode!=null&&(D=e.memoizedProps,Ap(e,D,m!==null?m.memoizedProps:D)),y&1024&&(ly=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(qn(t,e),In(e),y&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");y=e.memoizedProps,m=m!==null?m.memoizedProps:y,D=e.stateNode;try{De(e,qO,D,m,y)}catch(Ee){ct(e,e.return,Ee)}}break;case 3:if(D=Ga(),Kd=null,E=Zr,Zr=Ff(t.containerInfo),qn(t,e),Zr=E,In(e),y&4&&m!==null&&m.memoizedState.isDehydrated)try{De(e,eM,t.containerInfo)}catch(Ee){ct(e,e.return,Ee)}ly&&(ly=!1,U1(e)),t.effectDuration+=lf(D);break;case 4:y=Zr,Zr=Ff(e.stateNode.containerInfo),qn(t,e),In(e),Zr=y;break;case 12:y=Ga(),qn(t,e),In(e),e.stateNode.effectDuration+=ql(y);break;case 31:qn(t,e),In(e),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,jf(e,y)));break;case 13:qn(t,e),In(e),e.child.flags&8192&&e.memoizedState!==null!=(m!==null&&m.memoizedState!==null)&&(Vd=sn()),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,jf(e,y)));break;case 22:D=e.memoizedState!==null;var _=m!==null&&m.memoizedState!==null,$=ui,ve=Xt;if(ui=$||D,Xt=ve||_,qn(t,e),Xt=ve,ui=$,_&&!D&&!$&&!ve&&(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&Jc(e,ze,Ue),In(e),y&8192)e:for(t=e.stateNode,t._visibility=D?t._visibility&~Au:t._visibility|Au,!D||m===null||_||ui||Xt||(wo(e),(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&oa(e,ze,Ue,"Disconnect")),m=null,t=e;;){if(t.tag===5||t.tag===26){if(m===null){_=m=t;try{E=_.stateNode,D?De(_,GO,E):De(_,QO,_.stateNode,_.memoizedProps)}catch(Ee){ct(_,_.return,Ee)}}}else if(t.tag===6){if(m===null){_=t;try{B=_.stateNode,D?De(_,$O,B):De(_,ZO,B,_.memoizedProps)}catch(Ee){ct(_,_.return,Ee)}}}else if(t.tag===18){if(m===null){_=t;try{H=_.stateNode,D?De(_,YO,H):De(_,XO,_.stateNode)}catch(Ee){ct(_,_.return,Ee)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;m===t&&(m=null),t=t.return}m===t&&(m=null),t.sibling.return=t.return,t=t.sibling}y&4&&(y=e.updateQueue,y!==null&&(m=y.retryQueue,m!==null&&(y.retryQueue=null,jf(e,m))));break;case 19:qn(t,e),In(e),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,jf(e,y)));break;case 30:break;case 21:break;default:qn(t,e),In(e)}(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&((Mt||.05<Ct)&&sa(e,ze,Ue,Ct,Nt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ue-ze&&(k1(e.return.alternate,e.return)||oa(e,ze,Ue,"Mount"))),rr(r),ca(o),Nt=l,Mt=c}function In(e){var t=e.flags;if(t&2){try{De(e,gO,e)}catch(r){ct(e,e.return,r)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function U1(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;U1(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ya(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)C1(e,t.alternate,t),t=t.sibling}function j1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 14:case 15:Ep(e,e.return,fr),wo(e);break;case 1:ga(e,e.return);var c=e.stateNode;typeof c.componentWillUnmount=="function"&&E1(e,e.return,c),wo(e);break;case 27:De(e,uu,e.stateNode);case 26:case 5:ga(e,e.return),wo(e);break;case 22:e.memoizedState===null&&wo(e);break;case 30:wo(e);break;default:wo(e)}(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&sa(e,ze,Ue,Ct,Nt),rr(t),ca(r),Nt=o,Mt=l}function wo(e){for(e=e.child;e!==null;)j1(e),e=e.sibling}function V1(e,t,r,o){var l=nr(),c=ua(),m=fa(),y=da(),D=r.flags;switch(r.tag){case 0:case 11:case 15:ba(e,r,o),x1(r,fr);break;case 1:if(ba(e,r,o),t=r.stateNode,typeof t.componentDidMount=="function"&&De(r,Qg,r,t),t=r.updateQueue,t!==null){e=r.stateNode;try{De(r,eO,t,e)}catch(E){ct(r,r.return,E)}}o&&D&64&&D1(r),eu(r,r.return);break;case 27:N1(r);case 26:case 5:ba(e,r,o),o&&t===null&&D&4&&A1(r),eu(r,r.return);break;case 12:if(o&&D&4){D=Ga(),ba(e,r,o),o=r.stateNode,o.effectDuration+=ql(D);try{De(r,T1,r,t,Bi,o.effectDuration)}catch(E){ct(r,r.return,E)}}else ba(e,r,o);break;case 31:ba(e,r,o),o&&D&4&&M1(e,r);break;case 13:ba(e,r,o),o&&D&4&&_1(e,r);break;case 22:r.memoizedState===null&&ba(e,r,o),eu(r,r.return);break;case 30:break;default:ba(e,r,o)}(r.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&sa(r,ze,Ue,Ct,Nt),rr(l),ca(c),Nt=m,Mt=y}function ba(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)V1(e,t.alternate,t,r),t=t.sibling}function kp(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&So(e),r!=null&&Pl(r))}function Cp(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(So(t),e!=null&&Pl(e))}function Yr(e,t,r,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var c=t.sibling;L1(e,t,r,o,c!==null?c.actualStartTime:l),t=c}}function L1(e,t,r,o,l){var c=nr(),m=ua(),y=fa(),D=da(),E=Ui,B=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ye)!==Ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Kc(t,t.actualStartTime,l,tn,r),Yr(e,t,r,o,l),B&2048&&S1(t,jn|Rr);break;case 1:(t.mode&Ye)!==Ve&&0<t.actualStartTime&&((t.flags&128)!==0?fm(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&Kc(t,t.actualStartTime,l,tn,r)),Yr(e,t,r,o,l);break;case 3:var H=Ga(),_=tn;tn=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Yr(e,t,r,o,l),tn=_,B&2048&&(r=null,t.alternate!==null&&(r=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==r&&(So(o),r!=null&&Pl(r))),e.passiveEffectDuration+=lf(H);break;case 12:if(B&2048){B=Ga(),Yr(e,t,r,o,l),e=t.stateNode,e.passiveEffectDuration+=ql(B);try{De(t,pO,t,t.alternate,Bi,e.passiveEffectDuration)}catch($){ct(t,t.return,$)}}else Yr(e,t,r,o,l);break;case 31:B=tn,H=t.alternate!==null?t.alternate.memoizedState:null,_=t.memoizedState,H!==null&&_===null?(_=t.deletions,_!==null&&0<_.length&&_[0].tag===18?(tn=!1,H=H.hydrationErrors,H!==null&&fm(t,t.actualStartTime,l,H)):tn=!0):tn=!1,Yr(e,t,r,o,l),tn=B;break;case 13:B=tn,H=t.alternate!==null?t.alternate.memoizedState:null,_=t.memoizedState,H===null||H.dehydrated===null||_!==null&&_.dehydrated!==null?tn=!1:(_=t.deletions,_!==null&&0<_.length&&_[0].tag===18?(tn=!1,H=H.hydrationErrors,H!==null&&fm(t,t.actualStartTime,l,H)):tn=!0),Yr(e,t,r,o,l),tn=B;break;case 23:break;case 22:_=t.stateNode,H=t.alternate,t.memoizedState!==null?_._visibility&Wa?Yr(e,t,r,o,l):tu(e,t,r,o,l):_._visibility&Wa?Yr(e,t,r,o,l):(_._visibility|=Wa,Ss(e,t,r,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&Ye)===Ve||tn||(e=t.actualStartTime,0<=e&&.05<l-e&&Jc(t,e,l),0<=ze&&0<=Ue&&.05<Ue-ze&&Jc(t,ze,Ue))),B&2048&&kp(H,t);break;case 24:Yr(e,t,r,o,l),B&2048&&Cp(t.alternate,t);break;default:Yr(e,t,r,o,l)}(t.mode&Ye)!==Ve&&((e=!tn&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(r=t.actualStartTime,0<=r&&.05<l-r&&oa(t,r,l,"Mount")),0<=ze&&0<=Ue&&((Mt||.05<Ct)&&sa(t,ze,Ue,Ct,Nt),e&&.05<Ue-ze&&oa(t,ze,Ue,"Mount"))),rr(c),ca(m),Nt=y,Mt=D,Ui=E}function Ss(e,t,r,o,l,c){for(l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var m=t.sibling;B1(e,t,r,o,l,m!==null?m.actualStartTime:c),t=m}}function B1(e,t,r,o,l,c){var m=nr(),y=ua(),D=fa(),E=da(),B=Ui;l&&(t.mode&Ye)!==Ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Kc(t,t.actualStartTime,c,tn,r);var H=t.flags;switch(t.tag){case 0:case 11:case 15:Ss(e,t,r,o,l,c),S1(t,jn);break;case 23:break;case 22:var _=t.stateNode;t.memoizedState!==null?_._visibility&Wa?Ss(e,t,r,o,l,c):tu(e,t,r,o,c):(_._visibility|=Wa,Ss(e,t,r,o,l,c)),l&&H&2048&&kp(t.alternate,t);break;case 24:Ss(e,t,r,o,l,c),l&&H&2048&&Cp(t.alternate,t);break;default:Ss(e,t,r,o,l,c)}(t.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&sa(t,ze,Ue,Ct,Nt),rr(m),ca(y),Nt=D,Mt=E,Ui=B}function tu(e,t,r,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var c=t.child;c!==null;){t=c.sibling;var m=e,y=r,D=o,E=t!==null?t.actualStartTime:l,B=Ui;(c.mode&Ye)!==Ve&&0<c.actualStartTime&&(c.flags&1)!==0&&Kc(c,c.actualStartTime,E,tn,y);var H=c.flags;switch(c.tag){case 22:tu(m,c,y,D,E),H&2048&&kp(c.alternate,c);break;case 24:tu(m,c,y,D,E),H&2048&&Cp(c.alternate,c);break;default:tu(m,c,y,D,E)}Ui=B,c=t}}function Ds(e,t,r){if(e.subtreeFlags&Yu)for(e=e.child;e!==null;)H1(e,t,r),e=e.sibling}function H1(e,t,r){switch(e.tag){case 26:Ds(e,t,r),e.flags&Yu&&e.memoizedState!==null&&oM(r,Zr,e.memoizedState,e.memoizedProps);break;case 5:Ds(e,t,r);break;case 3:case 4:var o=Zr;Zr=Ff(e.stateNode.containerInfo),Ds(e,t,r),Zr=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Yu,Yu=16777216,Ds(e,t,r),Yu=o):Ds(e,t,r));break;default:Ds(e,t,r)}}function P1(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 nu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var o=t[r],l=nr();un=o,F1(o,e),(o.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&oa(o,ze,Ue,"Unmount"),rr(l)}P1(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)q1(e),e=e.sibling}function q1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 15:nu(e),e.flags&2048&&Tp(e,e.return,jn|Rr);break;case 3:var c=Ga();nu(e),e.stateNode.passiveEffectDuration+=lf(c);break;case 12:c=Ga(),nu(e),e.stateNode.passiveEffectDuration+=ql(c);break;case 22:c=e.stateNode,e.memoizedState!==null&&c._visibility&Wa&&(e.return===null||e.return.tag!==13)?(c._visibility&=~Wa,Vf(e),(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&oa(e,ze,Ue,"Disconnect")):nu(e);break;default:nu(e)}(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&sa(e,ze,Ue,Ct,Nt),rr(t),ca(r),Mt=l,Nt=o}function Vf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var o=t[r],l=nr();un=o,F1(o,e),(o.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&.05<Ue-ze&&oa(o,ze,Ue,"Unmount"),rr(l)}P1(e)}for(e=e.child;e!==null;)I1(e),e=e.sibling}function I1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 15:Tp(e,e.return,jn),Vf(e);break;case 22:var c=e.stateNode;c._visibility&Wa&&(c._visibility&=~Wa,Vf(e));break;default:Vf(e)}(e.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&sa(e,ze,Ue,Ct,Nt),rr(t),ca(r),Mt=l,Nt=o}function F1(e,t){for(;un!==null;){var r=un,o=r,l=t,c=nr(),m=ua(),y=fa(),D=da();switch(o.tag){case 0:case 11:case 15:Tp(o,l,jn);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool,l!=null&&So(l));break;case 24:Pl(o.memoizedState.cache)}if((o.mode&Ye)!==Ve&&0<=ze&&0<=Ue&&(Mt||.05<Ct)&&sa(o,ze,Ue,Ct,Nt),rr(c),ca(m),Mt=D,Nt=y,o=r.child,o!==null)o.return=r,un=o;else e:for(r=e;un!==null;){if(o=un,c=o.sibling,m=o.return,R1(o),o===r){un=null;break e}if(c!==null){c.return=m,un=c;break e}un=m}}}function vO(){q_.forEach(function(e){return e()})}function Y1(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||J.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ir(e){if((st&nn)!==cn&&$e!==0)return $e&-$e;var t=J.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Vp()):Nn()}function G1(){if(Gn===0)if(($e&536870912)===0||We){var e=nd;nd<<=1,(nd&3932160)===0&&(nd=262144),Gn=e}else Gn=536870912;return e=cr.current,e!==null&&(e.flags|=32),Gn}function Ot(e,t,r){if(sl&&console.error("useInsertionEffect must not schedule updates."),vy&&(Pd=!0),(e===gt&&(ht===qo||ht===Io)||e.cancelPendingCommit!==null)&&(Ts(e,0),Ni(e,$e,Gn,!1)),Te(e,r),(st&nn)!==cn&&e===gt){if(Ea)switch(t.tag){case 0:case 11:case 15:e=Xe&&F(Xe)||"Unknown",vT.has(e)||(vT.add(e),t=F(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:bT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),bT=!0)}}else Aa&&Wn(e,t,r),CO(t),e===gt&&((st&nn)===cn&&($i|=r),Rt===Fi&&Ni(e,$e,Gn,!1)),va(e)}function $1(e,t,r){if((st&(nn|dr))!==cn)throw Error("Should not already be working.");if($e!==0&&Xe!==null){var o=Xe,l=sn();switch(fE){case Xu:case qo:var c=Ou;vt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",c,l,Dr,void 0,"primary-light")):console.timeStamp("Suspended",c,l,Dr,void 0,"primary-light"));break;case Io:c=Ou,vt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",c,l,Dr,void 0,"primary-light")):console.timeStamp("Action",c,l,Dr,void 0,"primary-light"));break;default:vt&&(o=l-Ou,3>o||console.timeStamp("Blocked",Ou,l,Dr,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}c=(r=!r&&(t&127)===0&&(t&e.expiredLanes)===0||ra(e,t))?SO(e,t):Op(e,t,!0);var m=r;do{if(c===ci){il&&!r&&Ni(e,t,0,!1),t=ht,Ou=Yt(),fE=t;break}else{if(o=sn(),l=e.current.alternate,m&&!xO(l)){Ir(t),l=ln,c=o,!vt||c<=l||(Vt?Vt.run(console.timeStamp.bind(console,"Teared Render",l,c,rt,tt,"error")):console.timeStamp("Teared Render",l,c,rt,tt,"error")),No(t,o),c=Op(e,t,!1),m=!1;continue}if(c===Po){if(m=t,e.errorRecoveryDisabledLanes&m)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){Ir(t),dm(ln,o,t,Vt),No(t,o),t=y;e:{o=e,c=m,m=Zu;var D=o.current.memoizedState.isDehydrated;if(D&&(Ts(o,y).flags|=256),y=Op(o,y,!1),y!==Po){if(fy&&!D){o.errorRecoveryDisabledLanes|=c,$i|=c,c=Fi;break e}o=Vn,Vn=m,o!==null&&(Vn===null?Vn=o:Vn.push.apply(Vn,o))}c=y}if(m=!1,c!==Po)continue;o=sn()}}if(c===$u){Ir(t),dm(ln,o,t,Vt),No(t,o),Ts(e,0),Ni(e,t,0,!0);break}e:{switch(r=e,c){case ci:case $u:throw Error("Root did not complete. This is a bug in React.");case Fi:if((t&4194048)!==t)break;case _d:Ir(t),$0(ln,o,t,Vt),No(t,o),l=t,(l&127)!==0?bd=o:(l&4194048)!==0&&(vd=o),Ni(r,t,Gn,!Yi);break e;case Po:Vn=null;break;case Md:case iT:break;default:throw Error("Unknown root exit status.")}if(J.actQueue!==null)Mp(r,l,t,Vn,Ju,jd,Gn,$i,Fo,c,null,null,ln,o);else{if((t&62914560)===t&&(m=Vd+lT-sn(),10<m)){if(Ni(r,t,Gn,!Yi),Ha(r,0,!0)!==0)break e;Jr=t,r.timeoutHandle=NT(X1.bind(null,r,l,Vn,Ju,jd,t,Gn,$i,Fo,Yi,c,"Throttled",ln,o),m);break e}X1(r,l,Vn,Ju,jd,t,Gn,$i,Fo,Yi,c,null,ln,o)}}}break}while(!0);va(e)}function X1(e,t,r,o,l,c,m,y,D,E,B,H,_,$){e.timeoutHandle=Qo;var ve=t.subtreeFlags,Ee=null;if((ve&8192||(ve&16785408)===16785408)&&(Ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qa},H1(t,c,Ee),ve=(c&62914560)===c?Vd-sn():(c&4194048)===c?sT-sn():0,ve=sM(Ee,ve),ve!==null)){Jr=c,e.cancelPendingCommit=ve(Mp.bind(null,e,t,c,r,o,l,m,y,D,B,Ee,Ee.waitingForViewTransition?"Waiting for the previous Animation":0<Ee.count?0<Ee.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Ee.imgCount===1?"Suspended on an Image":0<Ee.imgCount?"Suspended on Images":null,_,$)),Ni(e,c,m,!E);return}Mp(e,t,c,r,o,l,m,y,D,B,Ee,H,_,$)}function xO(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var l=r[o],c=l.getSnapshot;l=l.value;try{if(!_n(c(),l))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 Ni(e,t,r,o){t&=~dy,t&=~$i,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var l=t;0<l;){var c=31-Rn(l),m=1<<c;o[c]=-1,l&=~m}r!==0&&it(e,r,t)}function Es(){return(st&(nn|dr))===cn?(iu(0),!1):!0}function Rp(){if(Xe!==null){if(ht===Yn)var e=Xe.return;else e=Xe,af(),Pm(e),Zs=null,Hu=0,e=Xe;for(;e!==null;)v1(e.alternate,e),e=e.return;Xe=null}}function No(e,t){(e&127)!==0&&(Mo=t),(e&4194048)!==0&&(ai=t),(e&62914560)!==0&&(uE=t),(e&2080374784)!==0&&(cE=t)}function Ts(e,t){vt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",tt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",tt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",tt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",tt,"primary-light"));var r=ln;if(ln=Yt(),$e!==0&&0<r){if(Ir($e),Rt===Md||Rt===Fi)$0(r,ln,t,Vt);else{var o=ln,l=Vt;if(vt&&!(o<=r)){var c=(t&738197653)===t?"tertiary-dark":"primary-dark",m=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,m,r,o,rt,tt,c)):console.timeStamp(m,r,o,rt,tt,c)}}No($e,ln)}if(r=Vt,Vt=null,(t&127)!==0){Vt=ku,l=0<=Ca&&Ca<Mo?Mo:Ca,o=0<=_o&&_o<Mo?Mo:_o,c=0<=o?o:0<=l?l:ln,0<=bd?(Ir(2),X0(bd,c,t,r)):xd&127,r=l;var y=o,D=Cu,E=0<$s,B=Hi===Nu,H=Hi===yd;if(l=ln,o=ku,c=Fg,m=Yg,vt){if(rt="Blocking",0<r?r>l&&(r=l):r=l,0<y?y>r&&(y=r):y=r,D!==null&&r>y){var _=E?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+D,y,r,rt,tt,_)):console.timeStamp(E?"Consecutive":"Event: "+D,y,r,rt,tt,_)}l>r&&(y=B?"error":(t&738197653)===t?"tertiary-light":"primary-light",B=H?"Promise Resolved":B?"Cascading Update":5<l-r?"Update Blocked":"Update",H=[],m!=null&&H.push(["Component name",m]),c!=null&&H.push(["Method name",c]),r={start:r,end:l,detail:{devtools:{properties:H,track:rt,trackGroup:tt,color:y}}},o?o.run(performance.measure.bind(performance,B,r)):performance.measure(B,r))}Ca=-1.1,Hi=0,Yg=Fg=null,bd=-1.1,$s=_o,_o=-1.1,Mo=Yt()}if((t&4194048)!==0&&(Vt=Ru,l=0<=ii&&ii<ai?ai:ii,r=0<=kr&&kr<ai?ai:kr,o=0<=Pi&&Pi<ai?ai:Pi,c=0<=o?o:0<=r?r:ln,0<=vd?(Ir(256),X0(vd,c,t,Vt)):xd&4194048,H=o,y=zo,D=0<qi,E=Gg===yd,c=ln,o=Ru,m=sE,B=lE,vt&&(rt="Transition",0<r?r>c&&(r=c):r=c,0<l?l>r&&(l=r):l=r,0<H?H>l&&(H=l):H=l,l>H&&y!==null&&(_=D?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+y,H,l,rt,tt,_)):console.timeStamp(D?"Consecutive":"Event: "+y,H,l,rt,tt,_)),r>l&&(o?o.run(console.timeStamp.bind(console,"Action",l,r,rt,tt,"primary-dark")):console.timeStamp("Action",l,r,rt,tt,"primary-dark")),c>r&&(l=E?"Promise Resolved":5<c-r?"Update Blocked":"Update",H=[],B!=null&&H.push(["Component name",B]),m!=null&&H.push(["Method name",m]),r={start:r,end:c,detail:{devtools:{properties:H,track:rt,trackGroup:tt,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,l,r)):performance.measure(l,r))),kr=ii=-1.1,Gg=0,vd=-1.1,qi=Pi,Pi=-1.1,ai=Yt()),(t&62914560)!==0&&(xd&62914560)!==0&&(Ir(4194304),hm(uE,ln)),(t&2080374784)!==0&&(xd&2080374784)!==0&&(Ir(268435456),hm(cE,ln)),r=e.timeoutHandle,r!==Qo&&(e.timeoutHandle=Qo,tz(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Jr=0,Rp(),gt=e,Xe=r=Ia(e.current,null),$e=t,ht=Yn,hr=null,Yi=!1,il=ra(e,t),fy=!1,Rt=ci,Fo=Gn=dy=$i=Gi=0,Vn=Zu=null,jd=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)l=31-Rn(o),c=1<<l,t|=e[l],o&=~c;return Oa=t,Wc(),e=tE(),1e3<e-eE&&(J.recentlyCreatedOwnerStacks=0,eE=e),Xr.discardPendingWarnings(),r}function Q1(e,t){Le=null,J.H=Fu,J.getCurrentStack=null,Ea=!1,lr=null,t===Qs||t===Td?(t=gx(),ht=Xu):t===Zg?(t=gx(),ht=oT):ht=t===oy?cy:t!==null&&typeof t=="object"&&typeof t.then=="function"?Qu:zd,hr=t;var r=Xe;r===null?(Rt=$u,Rf(e,tr(t,e.current))):r.mode&Ye&&km(r)}function Z1(){var e=cr.current;return e===null?!0:($e&4194048)===$e?Cr===null:($e&62914560)===$e||($e&536870912)!==0?e===Cr:!1}function J1(){var e=J.H;return J.H=Fu,e===null?Fu:e}function K1(){var e=J.A;return J.A=P_,e}function Lf(e){Vt===null&&(Vt=e._debugTask==null?null:e._debugTask)}function Bf(){Rt=Fi,Yi||($e&4194048)!==$e&&cr.current!==null||(il=!0),(Gi&134217727)===0&&($i&134217727)===0||gt===null||Ni(gt,$e,Gn,!1)}function Op(e,t,r){var o=st;st|=nn;var l=J1(),c=K1();if(gt!==e||$e!==t){if(Aa){var m=e.memoizedUpdaters;0<m.size&&(au(e,$e),m.clear()),yr(e,t)}Ju=null,Ts(e,t)}t=!1,m=Rt;e:do try{if(ht!==Yn&&Xe!==null){var y=Xe,D=hr;switch(ht){case cy:Rp(),m=_d;break e;case Xu:case qo:case Io:case Qu:cr.current===null&&(t=!0);var E=ht;if(ht=Yn,hr=null,As(e,y,D,E),r&&il){m=ci;break e}break;default:E=ht,ht=Yn,hr=null,As(e,y,D,E)}}W1(),m=Rt;break}catch(B){Q1(e,B)}while(!0);return t&&e.shellSuspendCounter++,af(),st=o,J.H=l,J.A=c,Xe===null&&(gt=null,$e=0,Wc()),m}function W1(){for(;Xe!==null;)eS(Xe)}function SO(e,t){var r=st;st|=nn;var o=J1(),l=K1();if(gt!==e||$e!==t){if(Aa){var c=e.memoizedUpdaters;0<c.size&&(au(e,$e),c.clear()),yr(e,t)}Ju=null,Ld=sn()+uT,Ts(e,t)}else il=ra(e,t);e:do try{if(ht!==Yn&&Xe!==null)t:switch(t=Xe,c=hr,ht){case zd:ht=Yn,hr=null,As(e,t,c,zd);break;case qo:case Io:if(mx(c)){ht=Yn,hr=null,tS(t);break}t=function(){ht!==qo&&ht!==Io||gt!==e||(ht=Ud),va(e)},c.then(t,t);break e;case Xu:ht=Ud;break e;case oT:ht=uy;break e;case Ud:mx(c)?(ht=Yn,hr=null,tS(t)):(ht=Yn,hr=null,As(e,t,c,Ud));break;case uy:var m=null;switch(Xe.tag){case 26:m=Xe.memoizedState;case 5:case 27:var y=Xe;if(m?$S(m):y.stateNode.complete){ht=Yn,hr=null;var D=y.sibling;if(D!==null)Xe=D;else{var E=y.return;E!==null?(Xe=E,Hf(E)):Xe=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ht=Yn,hr=null,As(e,t,c,uy);break;case Qu:ht=Yn,hr=null,As(e,t,c,Qu);break;case cy:Rp(),Rt=_d;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}J.actQueue!==null?W1():DO();break}catch(B){Q1(e,B)}while(!0);return af(),J.H=o,J.A=l,st=r,Xe!==null?ci:(gt=null,$e=0,Wc(),Rt)}function DO(){for(;Xe!==null&&!SM();)eS(Xe)}function eS(e){var t=e.alternate;(e.mode&Ye)!==Ve?(Nm(e),t=De(e,Sp,t,e,Oa),km(e)):t=De(e,Sp,t,e,Oa),e.memoizedProps=e.pendingProps,t===null?Hf(e):Xe=t}function tS(e){var t=De(e,EO,e);e.memoizedProps=e.pendingProps,t===null?Hf(e):Xe=t}function EO(e){var t=e.alternate,r=(e.mode&Ye)!==Ve;switch(r&&Nm(e),e.tag){case 15:case 0:t=d1(t,e,e.pendingProps,e.type,void 0,$e);break;case 11:t=d1(t,e,e.pendingProps,e.type.render,e.ref,$e);break;case 5:Pm(e);default:v1(t,e),e=Xe=ex(e,Oa),t=Sp(t,e,Oa)}return r&&km(e),t}function As(e,t,r,o){af(),Pm(t),Zs=null,Hu=0;var l=t.return;try{if(sO(e,l,t,r,$e)){Rt=$u,Rf(e,tr(r,e.current)),Xe=null;return}}catch(c){if(l!==null)throw Xe=l,c;Rt=$u,Rf(e,tr(r,e.current)),Xe=null;return}t.flags&32768?(We||o===zd?e=!0:il||($e&536870912)!==0?e=!1:(Yi=e=!0,(o===qo||o===Io||o===Xu||o===Qu)&&(o=cr.current,o!==null&&o.tag===13&&(o.flags|=16384))),nS(t,e)):Hf(t)}function Hf(e){var t=e;do{if((t.flags&32768)!==0){nS(t,Yi);return}var r=t.alternate;if(e=t.return,Nm(t),r=De(t,cO,r,t,Oa),(t.mode&Ye)!==Ve&&ux(t),r!==null){Xe=r;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);Rt===ci&&(Rt=iT)}function nS(e,t){do{var r=fO(e.alternate,e);if(r!==null){r.flags&=32767,Xe=r;return}if((e.mode&Ye)!==Ve){ux(e),r=e.actualDuration;for(var o=e.child;o!==null;)r+=o.actualDuration,o=o.sibling;e.actualDuration=r}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){Xe=e;return}Xe=e=r}while(e!==null);Rt=_d,Xe=null}function Mp(e,t,r,o,l,c,m,y,D,E,B,H,_,$){e.cancelPendingCommit=null;do ru();while(Zt!==Qi);if(Xr.flushLegacyContextWarning(),Xr.flushPendingUnsafeLifecycleWarnings(),(st&(nn|dr))!==cn)throw Error("Should not already be working.");if(Ir(r),E===Po?dm(_,$,r,Vt):o!==null?XR(_,$,r,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Vt):$R(_,$,r,Vt),t!==null){if(r===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(c=t.lanes|t.childLanes,c|=Bg,Ie(e,r,c,m,y,D),e===gt&&(Xe=gt=null,$e=0),ol=t,Zi=e,Jr=r,py=c,yy=l,pT=o,gy=$,gT=H,Kr=Bd,yT=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,kO(Os,function(){return rc=window.event,Kr===Bd&&(Kr=my),sS(),null})):(e.callbackNode=null,e.callbackPriority=0),ri=null,Bi=Yt(),H!==null&&QR($,Bi,H,Vt),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=J.T,J.T=null,l=ft.p,ft.p=Sr,m=st,st|=dr;try{yO(e,t,r)}finally{st=m,ft.p=l,J.T=o}}Zt=fT,rS(),aS(),iS()}}function rS(){if(Zt===fT){Zt=Qi;var e=Zi,t=ol,r=Jr,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=J.T,J.T=null;var l=ft.p;ft.p=Sr;var c=st;st|=dr;try{rl=r,al=e,uf(),z1(t,e),al=rl=null,r=ky;var m=F0(e.containerInfo),y=r.focusedElem,D=r.selectionRange;if(m!==y&&y&&y.ownerDocument&&I0(y.ownerDocument.documentElement,y)){if(D!==null&&um(y)){var E=D.start,B=D.end;if(B===void 0&&(B=E),"selectionStart"in y)y.selectionStart=E,y.selectionEnd=Math.min(B,y.value.length);else{var H=y.ownerDocument||document,_=H&&H.defaultView||window;if(_.getSelection){var $=_.getSelection(),ve=y.textContent.length,Ee=Math.min(D.start,ve),bt=D.end===void 0?Ee:Math.min(D.end,ve);!$.extend&&Ee>bt&&(m=bt,bt=Ee,Ee=m);var nt=q0(y,Ee),M=q0(y,bt);if(nt&&M&&($.rangeCount!==1||$.anchorNode!==nt.node||$.anchorOffset!==nt.offset||$.focusNode!==M.node||$.focusOffset!==M.offset)){var j=H.createRange();j.setStart(nt.node,nt.offset),$.removeAllRanges(),Ee>bt?($.addRange(j),$.extend(M.node,M.offset)):(j.setEnd(M.node,M.offset),$.addRange(j))}}}}for(H=[],$=y;$=$.parentNode;)$.nodeType===1&&H.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<H.length;y++){var L=H[y];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}th=!!Ny,ky=Ny=null}finally{st=c,ft.p=l,J.T=o}}e.current=t,Zt=dT}}function aS(){if(Zt===dT){Zt=Qi;var e=yT;if(e!==null){Bi=Yt();var t=ni,r=Bi;!vt||r<=t||console.timeStamp(e,t,r,rt,tt,"secondary-light")}e=Zi,t=ol,r=Jr;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=J.T,J.T=null;var l=ft.p;ft.p=Sr;var c=st;st|=dr;try{rl=r,al=e,uf(),C1(e,t.alternate,t),al=rl=null}finally{st=c,ft.p=l,J.T=o}}e=gy,t=gT,ni=Yt(),e=t===null?e:Bi,t=ni,r=Kr===hy,o=Vt,ri!==null?Q0(e,t,ri,!1,o):!vt||t<=e||(o?o.run(console.timeStamp.bind(console,r?"Commit Interrupted View Transition":"Commit",e,t,rt,tt,r?"error":"secondary-dark")):console.timeStamp(r?"Commit Interrupted View Transition":"Commit",e,t,rt,tt,r?"error":"secondary-dark")),Zt=hT}}function iS(){if(Zt===mT||Zt===hT){if(Zt===mT){var e=ni;ni=Yt();var t=ni,r=Kr===hy;!vt||t<=e||console.timeStamp(r?"Interrupted View Transition":"Starting Animation",e,t,rt,tt,r?" error":"secondary-light"),Kr!==hy&&(Kr=cT)}Zt=Qi,DM(),e=Zi;var o=ol;t=Jr,r=pT;var l=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;l?Zt=Hd:(Zt=Qi,ol=Zi=null,oS(e,e.pendingLanes),Yo=0,Wu=null);var c=e.pendingLanes;if(c===0&&(Xi=null),l||fS(e),c=qt(t),o=o.stateNode,vn&&typeof vn.onCommitFiberRoot=="function")try{var m=(o.current.flags&128)===128;switch(c){case Sr:var y=yg;break;case wa:y=bg;break;case Ja:y=Os;break;case ad:y=vg;break;default:y=Os}vn.onCommitFiberRoot(Ms,o,y,m)}catch(H){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",H))}if(Aa&&e.memoizedUpdaters.clear(),vO(),r!==null){m=J.T,y=ft.p,ft.p=Sr,J.T=null;try{var D=e.onRecoverableError;for(o=0;o<r.length;o++){var E=r[o],B=TO(E.stack);De(E.source,D,E.value,B)}}finally{J.T=m,ft.p=y}}(Jr&3)!==0&&ru(),va(e),c=e.pendingLanes,(t&261930)!==0&&(c&42)!==0?(Dd=!0,e===by?Ku++:(Ku=0,by=e)):Ku=0,l||No(t,ni),iu(0)}}function TO(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function oS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Pl(t)))}function ru(){return rS(),aS(),iS(),sS()}function sS(){if(Zt!==Hd)return!1;var e=Zi,t=py;py=0;var r=qt(Jr),o=Ja>r?Ja:r;r=J.T;var l=ft.p;try{ft.p=o,J.T=null;var c=yy;yy=null,o=Zi;var m=Jr;if(Zt=Qi,ol=Zi=null,Jr=0,(st&(nn|dr))!==cn)throw Error("Cannot flush passive effects while already rendering.");Ir(m),vy=!0,Pd=!1;var y=0;if(ri=null,y=sn(),Kr===cT)hm(ni,y,z_);else{var D=ni,E=y,B=Kr===my;!vt||E<=D||(Vt?Vt.run(console.timeStamp.bind(console,B?"Waiting for Paint":"Waiting",D,E,rt,tt,"secondary-light")):console.timeStamp(B?"Waiting for Paint":"Waiting",D,E,rt,tt,"secondary-light"))}D=st,st|=dr;var H=o.current;uf(),q1(H);var _=o.current;H=gy,uf(),L1(o,_,m,c,H),fS(o),st=D;var $=sn();if(_=y,H=Vt,ri!==null?Q0(_,$,ri,!0,H):!vt||$<=_||(H?H.run(console.timeStamp.bind(console,"Remaining Effects",_,$,rt,tt,"secondary-dark")):console.timeStamp("Remaining Effects",_,$,rt,tt,"secondary-dark")),No(m,$),iu(0,!1),Pd?o===Wu?Yo++:(Yo=0,Wu=o):Yo=0,Pd=vy=!1,vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(Ms,o)}catch(Ee){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",Ee))}var ve=o.current.stateNode;return ve.effectDuration=0,ve.passiveEffectDuration=0,!0}finally{ft.p=l,J.T=r,oS(e,t)}}function lS(e,t,r){t=tr(r,t),cx(t),t=cp(e.stateNode,t,2),e=Ei(e,t,2),e!==null&&(Te(e,2),va(e))}function ct(e,t,r){if(sl=!1,e.tag===3)lS(e,e,r);else{for(;t!==null;){if(t.tag===3){lS(t,e,r);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Xi===null||!Xi.has(o))){e=tr(r,e),cx(e),r=fp(2),o=Ei(t,r,2),o!==null&&(dp(r,o,t,e),Te(o,2),va(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
158
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,we(t,function(g,w){console.error("%s must not return anything besides a function, which is used for clean-up.%s",g,w)},c,m)}r=r.next}while(r!==l)}}catch(g){ct(t,t.return,g)}}function xs(e,t,r){try{var o=t.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var c=l.next;o=c;do{if((o.tag&e)===e){var m=o.inst,g=m.destroy;g!==void 0&&(m.destroy=void 0,(e&Un)!==Nd&&(sl=!0),l=t,we(l,LM,l,r,g),(e&Un)!==Nd&&(sl=!1))}o=o.next}while(o!==c)}}catch(w){ct(t,t.return,w)}}function w1(e,t){pa(e)?(ma(),Wl(t,e),ha()):Wl(t,e)}function Tp(e,t,r){pa(e)?(ma(),xs(r,e,t),ha()):xs(r,e,t)}function E1(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||nl||(r.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",F(e)||"instance"),r.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",F(e)||"instance"));try{we(e,Dx,t,r)}catch(o){ct(e,e.return,o)}}}function hz(e,t,r){return e.getSnapshotBeforeUpdate(t,r)}function mz(e,t){var r=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||nl||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",F(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",F(e)||"instance"));try{var l=Do(e.type,r),c=we(e,hz,t,l,o);r=aT,c!==void 0||r.has(e.type)||(r.add(e.type),we(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",F(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(m){ct(e,e.return,m)}}function T1(e,t,r){r.props=Do(e.type,e.memoizedProps),r.state=e.memoizedState,pa(e)?(ma(),we(e,EE,e,t,r),ha()):we(e,EE,e,t,r)}function pz(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}if(typeof t=="function")if(pa(e))try{ma(),e.refCleanup=t(r)}finally{ha()}else e.refCleanup=t(r);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",F(e)),t.current=r}}function eu(e,t){try{we(e,pz,e)}catch(r){ct(e,t,r)}}function ya(e,t){var r=e.ref,o=e.refCleanup;if(r!==null)if(typeof o=="function")try{if(pa(e))try{ma(),we(e,o)}finally{ha(e)}else we(e,o)}catch(l){ct(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{if(pa(e))try{ma(),we(e,r,null)}finally{ha(e)}else we(e,r,null)}catch(l){ct(e,t,l)}else r.current=null}function D1(e,t,r,o){var l=e.memoizedProps,c=l.id,m=l.onCommit;l=l.onRender,t=t===null?"mount":"update",Sd&&(t="nested-update"),typeof l=="function"&&l(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,r),typeof m=="function"&&m(c,t,o,r)}function yz(e,t,r,o){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",Sd&&(t="nested-update"),typeof l=="function"&&l(e,t,o,r)}function k1(e){var t=e.type,r=e.memoizedProps,o=e.stateNode;try{we(e,Hz,o,t,r,e)}catch(l){ct(e,e.return,l)}}function Dp(e,t,r){try{we(e,qz,e.stateNode,e.type,r,t,e)}catch(o){ct(e,e.return,o)}}function N1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ci(e.type)||e.tag===4}function kp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||N1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ci(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Np(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(_S(r),(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t)):(_S(r),t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=qa));else if(o!==4&&(o===27&&Ci(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(Np(e,t,r),e=e.sibling;e!==null;)Np(e,t,r),e=e.sibling}function Uf(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(o===27&&Ci(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(Uf(e,t,r),e=e.sibling;e!==null;)Uf(e,t,r),e=e.sibling}function gz(e){for(var t,r=e.return;r!==null;){if(N1(r)){t=r;break}r=r.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,r=kp(e),Uf(e,r,t);break;case 5:r=t.stateNode,t.flags&32&&(MS(r),t.flags&=-33),t=kp(e),Uf(e,t,r);break;case 3:case 4:t=t.stateNode.containerInfo,r=kp(e),Np(e,r,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function A1(e){var t=e.stateNode,r=e.memoizedProps;try{we(e,aO,e.type,r,t,e)}catch(o){ct(e,e.return,o)}}function C1(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function bz(e,t){if(e=e.containerInfo,Ng=th,e=Yv(e),um(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var l=o.anchorOffset,c=o.focusNode;o=o.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break e}var m=0,g=-1,w=-1,E=0,B=0,H=e,M=null;t:for(;;){for(var $;H!==r||l!==0&&H.nodeType!==3||(g=m+l),H!==c||o!==0&&H.nodeType!==3||(w=m+o),H.nodeType===3&&(m+=H.nodeValue.length),($=H.firstChild)!==null;)M=H,H=$;for(;;){if(H===e)break t;if(M===r&&++E===l&&(g=m),M===c&&++B===o&&(w=m),($=H.nextSibling)!==null)break;H=M,M=H.parentNode}H=$}r=g===-1||w===-1?null:{start:g,end:w}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ag={focusedElem:e,selectionRange:r},th=!1,un=t;un!==null;)if(t=un,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,un=e;else for(;un!==null;){switch(e=t=un,r=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)l=e[r],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&r!==null&&mz(e,r);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,r=e.nodeType,r===9)$p(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":$p(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,un=e;break}un=t.return}}function R1(e,t,r){var o=nr(),l=ua(),c=fa(),m=da(),g=r.flags;switch(r.tag){case 0:case 11:case 15:ga(e,r),g&4&&S1(r,fr|Rr);break;case 1:if(ga(e,r),g&4)if(e=r.stateNode,t===null)r.type.defaultProps||"ref"in r.memoizedProps||nl||(e.props!==r.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",F(r)||"instance"),e.state!==r.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",F(r)||"instance")),pa(r)?(ma(),we(r,Qy,r,e),ha()):we(r,Qy,r,e);else{var w=Do(r.type,t.memoizedProps);t=t.memoizedState,r.type.defaultProps||"ref"in r.memoizedProps||nl||(e.props!==r.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",F(r)||"instance"),e.state!==r.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",F(r)||"instance")),pa(r)?(ma(),we(r,xE,r,e,w,t,e.__reactInternalSnapshotBeforeUpdate),ha()):we(r,xE,r,e,w,t,e.__reactInternalSnapshotBeforeUpdate)}g&64&&E1(r),g&512&&eu(r,r.return);break;case 3:if(t=Ga(),ga(e,r),g&64&&(g=r.updateQueue,g!==null)){if(w=null,r.child!==null)switch(r.child.tag){case 27:case 5:w=r.child.stateNode;break;case 1:w=r.child.stateNode}try{we(r,Dx,g,w)}catch(B){ct(r,r.return,B)}}e.effectDuration+=lf(t);break;case 27:t===null&&g&4&&A1(r);case 26:case 5:if(ga(e,r),t===null){if(g&4)k1(r);else if(g&64){e=r.type,t=r.memoizedProps,w=r.stateNode;try{we(r,Pz,w,e,t,r)}catch(B){ct(r,r.return,B)}}}g&512&&eu(r,r.return);break;case 12:if(g&4){g=Ga(),ga(e,r),e=r.stateNode,e.effectDuration+=ql(g);try{we(r,D1,r,t,Bi,e.effectDuration)}catch(B){ct(r,r.return,B)}}else ga(e,r);break;case 31:ga(e,r),g&4&&M1(e,r);break;case 13:ga(e,r),g&4&&_1(e,r),g&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(g=Nz.bind(null,r),eO(e,g))));break;case 22:if(g=r.memoizedState!==null||ui,!g){t=t!==null&&t.memoizedState!==null||Xt,w=ui;var E=Xt;ui=g,(Xt=t)&&!E?(ba(e,r,(r.subtreeFlags&8772)!==0),(r.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&Jc(r,_e,Ue)):ga(e,r),ui=w,Xt=E}break;case 30:break;default:ga(e,r)}(r.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&((Ot||.05<Ct)&&sa(r,_e,Ue,Ct,Nt),r.alternate===null&&r.return!==null&&r.return.alternate!==null&&.05<Ue-_e&&(C1(r.return.alternate,r.return)||oa(r,_e,Ue,"Mount"))),rr(o),ca(l),Nt=c,Ot=m}function z1(e){var t=e.alternate;t!==null&&(e.alternate=null,z1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&q(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Qa(e,t,r){for(r=r.child;r!==null;)O1(e,t,r),r=r.sibling}function O1(e,t,r){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(Os,r)}catch(E){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",E))}var o=nr(),l=ua(),c=fa(),m=da();switch(r.tag){case 26:Xt||ya(r,t),Qa(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(e=r.stateNode,e.parentNode.removeChild(e));break;case 27:Xt||ya(r,t);var g=Qt,w=Fn;Ci(r.type)&&(Qt=r.stateNode,Fn=!1),Qa(e,t,r),we(r,uu,r.stateNode),Qt=g,Fn=w;break;case 5:Xt||ya(r,t);case 6:if(g=Qt,w=Fn,Qt=null,Qa(e,t,r),Qt=g,Fn=w,Qt!==null)if(Fn)try{we(r,Yz,Qt,r.stateNode)}catch(E){ct(r,t,E)}else try{we(r,Fz,Qt,r.stateNode)}catch(E){ct(r,t,E)}break;case 18:Qt!==null&&(Fn?(e=Qt,US(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),As(e)):US(Qt,r.stateNode));break;case 4:g=Qt,w=Fn,Qt=r.stateNode.containerInfo,Fn=!0,Qa(e,t,r),Qt=g,Fn=w;break;case 0:case 11:case 14:case 15:xs(Un,r,t),Xt||Ep(r,t,fr),Qa(e,t,r);break;case 1:Xt||(ya(r,t),g=r.stateNode,typeof g.componentWillUnmount=="function"&&T1(r,t,g)),Qa(e,t,r);break;case 21:Qa(e,t,r);break;case 22:Xt=(g=Xt)||r.memoizedState!==null,Qa(e,t,r),Xt=g;break;default:Qa(e,t,r)}(r.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(r,_e,Ue,Ct,Nt),rr(o),ca(l),Nt=c,Ot=m}function M1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{we(t,nO,e)}catch(r){ct(t,t.return,r)}}}function _1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{we(t,rO,e)}catch(r){ct(t,t.return,r)}}function vz(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new iT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new iT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function jf(e,t){var r=vz(e);t.forEach(function(o){if(!r.has(o)){if(r.add(o),Da)if(rl!==null&&al!==null)au(al,rl);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=Az.bind(null,e,o);o.then(l,l)}})}function qn(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var l=e,c=t,m=r[o],g=nr(),w=c;e:for(;w!==null;){switch(w.tag){case 27:if(Ci(w.type)){Qt=w.stateNode,Fn=!1;break e}break;case 5:Qt=w.stateNode,Fn=!1;break e;case 3:case 4:Qt=w.stateNode.containerInfo,Fn=!0;break e}w=w.return}if(Qt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");O1(l,c,m),Qt=null,Fn=!1,(m.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(m,_e,Ue,"Unmount"),rr(g),l=m,c=l.alternate,c!==null&&(c.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)U1(t,e),t=t.sibling}function U1(e,t){var r=nr(),o=ua(),l=fa(),c=da(),m=e.alternate,g=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:qn(t,e),In(e),g&4&&(xs(Un|Rr,e,e.return),Wl(Un|Rr,e),Ep(e,e.return,fr|Rr));break;case 1:if(qn(t,e),In(e),g&512&&(Xt||m===null||ya(m,m.return)),g&64&&ui&&(g=e.updateQueue,g!==null&&(m=g.callbacks,m!==null))){var w=g.shared.hiddenCallbacks;g.shared.hiddenCallbacks=w===null?m:w.concat(m)}break;case 26:if(w=Zr,qn(t,e),In(e),g&512&&(Xt||m===null||ya(m,m.return)),g&4){var E=m!==null?m.memoizedState:null;if(g=e.memoizedState,m===null)if(g===null)if(e.stateNode===null){e:{g=e.type,m=e.memoizedProps,w=w.ownerDocument||w;t:switch(g){case"title":E=w.getElementsByTagName("title")[0],(!E||E[yu]||E[mn]||E.namespaceURI===_s||E.hasAttribute("itemprop"))&&(E=w.createElement(g),w.head.insertBefore(E,w.querySelector("head > title"))),hn(E,g,m),E[mn]=e,Oe(E),g=E;break e;case"link":var B=GS("link","href",w).get(g+(m.href||""));if(B){for(var H=0;H<B.length;H++)if(E=B[H],E.getAttribute("href")===(m.href==null||m.href===""?null:m.href)&&E.getAttribute("rel")===(m.rel==null?null:m.rel)&&E.getAttribute("title")===(m.title==null?null:m.title)&&E.getAttribute("crossorigin")===(m.crossOrigin==null?null:m.crossOrigin)){B.splice(H,1);break t}}E=w.createElement(g),hn(E,g,m),w.head.appendChild(E);break;case"meta":if(B=GS("meta","content",w).get(g+(m.content||""))){for(H=0;H<B.length;H++)if(E=B[H],lt(m.content,"content"),E.getAttribute("content")===(m.content==null?null:""+m.content)&&E.getAttribute("name")===(m.name==null?null:m.name)&&E.getAttribute("property")===(m.property==null?null:m.property)&&E.getAttribute("http-equiv")===(m.httpEquiv==null?null:m.httpEquiv)&&E.getAttribute("charset")===(m.charSet==null?null:m.charSet)){B.splice(H,1);break t}}E=w.createElement(g),hn(E,g,m),w.head.appendChild(E);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+g+'". This is a bug in React.')}E[mn]=e,Oe(E),g=E}e.stateNode=g}else $S(w,e.type,e.stateNode);else e.stateNode=YS(w,g,e.memoizedProps);else E!==g?(E===null?m.stateNode!==null&&(m=m.stateNode,m.parentNode.removeChild(m)):E.count--,g===null?$S(w,e.type,e.stateNode):YS(w,g,e.memoizedProps)):g===null&&e.stateNode!==null&&Dp(e,e.memoizedProps,m.memoizedProps)}break;case 27:qn(t,e),In(e),g&512&&(Xt||m===null||ya(m,m.return)),m!==null&&g&4&&Dp(e,e.memoizedProps,m.memoizedProps);break;case 5:if(qn(t,e),In(e),g&512&&(Xt||m===null||ya(m,m.return)),e.flags&32){w=e.stateNode;try{we(e,MS,w)}catch(Ee){ct(e,e.return,Ee)}}g&4&&e.stateNode!=null&&(w=e.memoizedProps,Dp(e,w,m!==null?m.memoizedProps:w)),g&1024&&(lg=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(qn(t,e),In(e),g&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");g=e.memoizedProps,m=m!==null?m.memoizedProps:g,w=e.stateNode;try{we(e,Iz,w,m,g)}catch(Ee){ct(e,e.return,Ee)}}break;case 3:if(w=Ga(),Kd=null,E=Zr,Zr=Ff(t.containerInfo),qn(t,e),Zr=E,In(e),g&4&&m!==null&&m.memoizedState.isDehydrated)try{we(e,tO,t.containerInfo)}catch(Ee){ct(e,e.return,Ee)}lg&&(lg=!1,j1(e)),t.effectDuration+=lf(w);break;case 4:g=Zr,Zr=Ff(e.stateNode.containerInfo),qn(t,e),In(e),Zr=g;break;case 12:g=Ga(),qn(t,e),In(e),e.stateNode.effectDuration+=ql(g);break;case 31:qn(t,e),In(e),g&4&&(g=e.updateQueue,g!==null&&(e.updateQueue=null,jf(e,g)));break;case 13:qn(t,e),In(e),e.child.flags&8192&&e.memoizedState!==null!=(m!==null&&m.memoizedState!==null)&&(Vd=sn()),g&4&&(g=e.updateQueue,g!==null&&(e.updateQueue=null,jf(e,g)));break;case 22:w=e.memoizedState!==null;var M=m!==null&&m.memoizedState!==null,$=ui,ve=Xt;if(ui=$||w,Xt=ve||M,qn(t,e),Xt=ve,ui=$,M&&!w&&!$&&!ve&&(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&Jc(e,_e,Ue),In(e),g&8192)e:for(t=e.stateNode,t._visibility=w?t._visibility&~Du:t._visibility|Du,!w||m===null||M||ui||Xt||(ko(e),(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(e,_e,Ue,"Disconnect")),m=null,t=e;;){if(t.tag===5||t.tag===26){if(m===null){M=m=t;try{E=M.stateNode,w?we(M,$z,E):we(M,Zz,M.stateNode,M.memoizedProps)}catch(Ee){ct(M,M.return,Ee)}}}else if(t.tag===6){if(m===null){M=t;try{B=M.stateNode,w?we(M,Xz,B):we(M,Jz,B,M.memoizedProps)}catch(Ee){ct(M,M.return,Ee)}}}else if(t.tag===18){if(m===null){M=t;try{H=M.stateNode,w?we(M,Gz,H):we(M,Qz,M.stateNode)}catch(Ee){ct(M,M.return,Ee)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;m===t&&(m=null),t=t.return}m===t&&(m=null),t.sibling.return=t.return,t=t.sibling}g&4&&(g=e.updateQueue,g!==null&&(m=g.retryQueue,m!==null&&(g.retryQueue=null,jf(e,m))));break;case 19:qn(t,e),In(e),g&4&&(g=e.updateQueue,g!==null&&(e.updateQueue=null,jf(e,g)));break;case 30:break;case 21:break;default:qn(t,e),In(e)}(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&((Ot||.05<Ct)&&sa(e,_e,Ue,Ct,Nt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ue-_e&&(C1(e.return.alternate,e.return)||oa(e,_e,Ue,"Mount"))),rr(r),ca(o),Nt=l,Ot=c}function In(e){var t=e.flags;if(t&2){try{we(e,gz,e)}catch(r){ct(e,e.return,r)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function j1(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;j1(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ga(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)R1(e,t.alternate,t),t=t.sibling}function V1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 14:case 15:Ep(e,e.return,fr),ko(e);break;case 1:ya(e,e.return);var c=e.stateNode;typeof c.componentWillUnmount=="function"&&T1(e,e.return,c),ko(e);break;case 27:we(e,uu,e.stateNode);case 26:case 5:ya(e,e.return),ko(e);break;case 22:e.memoizedState===null&&ko(e);break;case 30:ko(e);break;default:ko(e)}(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(e,_e,Ue,Ct,Nt),rr(t),ca(r),Nt=o,Ot=l}function ko(e){for(e=e.child;e!==null;)V1(e),e=e.sibling}function L1(e,t,r,o){var l=nr(),c=ua(),m=fa(),g=da(),w=r.flags;switch(r.tag){case 0:case 11:case 15:ba(e,r,o),S1(r,fr);break;case 1:if(ba(e,r,o),t=r.stateNode,typeof t.componentDidMount=="function"&&we(r,Qy,r,t),t=r.updateQueue,t!==null){e=r.stateNode;try{we(r,tz,t,e)}catch(E){ct(r,r.return,E)}}o&&w&64&&E1(r),eu(r,r.return);break;case 27:A1(r);case 26:case 5:ba(e,r,o),o&&t===null&&w&4&&k1(r),eu(r,r.return);break;case 12:if(o&&w&4){w=Ga(),ba(e,r,o),o=r.stateNode,o.effectDuration+=ql(w);try{we(r,D1,r,t,Bi,o.effectDuration)}catch(E){ct(r,r.return,E)}}else ba(e,r,o);break;case 31:ba(e,r,o),o&&w&4&&M1(e,r);break;case 13:ba(e,r,o),o&&w&4&&_1(e,r);break;case 22:r.memoizedState===null&&ba(e,r,o),eu(r,r.return);break;case 30:break;default:ba(e,r,o)}(r.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(r,_e,Ue,Ct,Nt),rr(l),ca(c),Nt=m,Ot=g}function ba(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)L1(e,t.alternate,t,r),t=t.sibling}function Ap(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&So(e),r!=null&&Pl(r))}function Cp(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(So(t),e!=null&&Pl(e))}function Yr(e,t,r,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var c=t.sibling;B1(e,t,r,o,c!==null?c.actualStartTime:l),t=c}}function B1(e,t,r,o,l){var c=nr(),m=ua(),g=fa(),w=da(),E=Ui,B=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ye)!==Ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Kc(t,t.actualStartTime,l,tn,r),Yr(e,t,r,o,l),B&2048&&w1(t,jn|Rr);break;case 1:(t.mode&Ye)!==Ve&&0<t.actualStartTime&&((t.flags&128)!==0?fm(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&Kc(t,t.actualStartTime,l,tn,r)),Yr(e,t,r,o,l);break;case 3:var H=Ga(),M=tn;tn=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Yr(e,t,r,o,l),tn=M,B&2048&&(r=null,t.alternate!==null&&(r=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==r&&(So(o),r!=null&&Pl(r))),e.passiveEffectDuration+=lf(H);break;case 12:if(B&2048){B=Ga(),Yr(e,t,r,o,l),e=t.stateNode,e.passiveEffectDuration+=ql(B);try{we(t,yz,t,t.alternate,Bi,e.passiveEffectDuration)}catch($){ct(t,t.return,$)}}else Yr(e,t,r,o,l);break;case 31:B=tn,H=t.alternate!==null?t.alternate.memoizedState:null,M=t.memoizedState,H!==null&&M===null?(M=t.deletions,M!==null&&0<M.length&&M[0].tag===18?(tn=!1,H=H.hydrationErrors,H!==null&&fm(t,t.actualStartTime,l,H)):tn=!0):tn=!1,Yr(e,t,r,o,l),tn=B;break;case 13:B=tn,H=t.alternate!==null?t.alternate.memoizedState:null,M=t.memoizedState,H===null||H.dehydrated===null||M!==null&&M.dehydrated!==null?tn=!1:(M=t.deletions,M!==null&&0<M.length&&M[0].tag===18?(tn=!1,H=H.hydrationErrors,H!==null&&fm(t,t.actualStartTime,l,H)):tn=!0),Yr(e,t,r,o,l),tn=B;break;case 23:break;case 22:M=t.stateNode,H=t.alternate,t.memoizedState!==null?M._visibility&Wa?Yr(e,t,r,o,l):tu(e,t,r,o,l):M._visibility&Wa?Yr(e,t,r,o,l):(M._visibility|=Wa,Ss(e,t,r,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&Ye)===Ve||tn||(e=t.actualStartTime,0<=e&&.05<l-e&&Jc(t,e,l),0<=_e&&0<=Ue&&.05<Ue-_e&&Jc(t,_e,Ue))),B&2048&&Ap(H,t);break;case 24:Yr(e,t,r,o,l),B&2048&&Cp(t.alternate,t);break;default:Yr(e,t,r,o,l)}(t.mode&Ye)!==Ve&&((e=!tn&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(r=t.actualStartTime,0<=r&&.05<l-r&&oa(t,r,l,"Mount")),0<=_e&&0<=Ue&&((Ot||.05<Ct)&&sa(t,_e,Ue,Ct,Nt),e&&.05<Ue-_e&&oa(t,_e,Ue,"Mount"))),rr(c),ca(m),Nt=g,Ot=w,Ui=E}function Ss(e,t,r,o,l,c){for(l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var m=t.sibling;H1(e,t,r,o,l,m!==null?m.actualStartTime:c),t=m}}function H1(e,t,r,o,l,c){var m=nr(),g=ua(),w=fa(),E=da(),B=Ui;l&&(t.mode&Ye)!==Ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Kc(t,t.actualStartTime,c,tn,r);var H=t.flags;switch(t.tag){case 0:case 11:case 15:Ss(e,t,r,o,l,c),w1(t,jn);break;case 23:break;case 22:var M=t.stateNode;t.memoizedState!==null?M._visibility&Wa?Ss(e,t,r,o,l,c):tu(e,t,r,o,c):(M._visibility|=Wa,Ss(e,t,r,o,l,c)),l&&H&2048&&Ap(t.alternate,t);break;case 24:Ss(e,t,r,o,l,c),l&&H&2048&&Cp(t.alternate,t);break;default:Ss(e,t,r,o,l,c)}(t.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(t,_e,Ue,Ct,Nt),rr(m),ca(g),Nt=w,Ot=E,Ui=B}function tu(e,t,r,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var c=t.child;c!==null;){t=c.sibling;var m=e,g=r,w=o,E=t!==null?t.actualStartTime:l,B=Ui;(c.mode&Ye)!==Ve&&0<c.actualStartTime&&(c.flags&1)!==0&&Kc(c,c.actualStartTime,E,tn,g);var H=c.flags;switch(c.tag){case 22:tu(m,c,g,w,E),H&2048&&Ap(c.alternate,c);break;case 24:tu(m,c,g,w,E),H&2048&&Cp(c.alternate,c);break;default:tu(m,c,g,w,E)}Ui=B,c=t}}function ws(e,t,r){if(e.subtreeFlags&Yu)for(e=e.child;e!==null;)P1(e,t,r),e=e.sibling}function P1(e,t,r){switch(e.tag){case 26:ws(e,t,r),e.flags&Yu&&e.memoizedState!==null&&sO(r,Zr,e.memoizedState,e.memoizedProps);break;case 5:ws(e,t,r);break;case 3:case 4:var o=Zr;Zr=Ff(e.stateNode.containerInfo),ws(e,t,r),Zr=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Yu,Yu=16777216,ws(e,t,r),Yu=o):ws(e,t,r));break;default:ws(e,t,r)}}function q1(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 nu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var o=t[r],l=nr();un=o,Y1(o,e),(o.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(o,_e,Ue,"Unmount"),rr(l)}q1(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)I1(e),e=e.sibling}function I1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 15:nu(e),e.flags&2048&&Tp(e,e.return,jn|Rr);break;case 3:var c=Ga();nu(e),e.stateNode.passiveEffectDuration+=lf(c);break;case 12:c=Ga(),nu(e),e.stateNode.passiveEffectDuration+=ql(c);break;case 22:c=e.stateNode,e.memoizedState!==null&&c._visibility&Wa&&(e.return===null||e.return.tag!==13)?(c._visibility&=~Wa,Vf(e),(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(e,_e,Ue,"Disconnect")):nu(e);break;default:nu(e)}(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(e,_e,Ue,Ct,Nt),rr(t),ca(r),Ot=l,Nt=o}function Vf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var o=t[r],l=nr();un=o,Y1(o,e),(o.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(o,_e,Ue,"Unmount"),rr(l)}q1(e)}for(e=e.child;e!==null;)F1(e),e=e.sibling}function F1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 15:Tp(e,e.return,jn),Vf(e);break;case 22:var c=e.stateNode;c._visibility&Wa&&(c._visibility&=~Wa,Vf(e));break;default:Vf(e)}(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(e,_e,Ue,Ct,Nt),rr(t),ca(r),Ot=l,Nt=o}function Y1(e,t){for(;un!==null;){var r=un,o=r,l=t,c=nr(),m=ua(),g=fa(),w=da();switch(o.tag){case 0:case 11:case 15:Tp(o,l,jn);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool,l!=null&&So(l));break;case 24:Pl(o.memoizedState.cache)}if((o.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(o,_e,Ue,Ct,Nt),rr(c),ca(m),Ot=w,Nt=g,o=r.child,o!==null)o.return=r,un=o;else e:for(r=e;un!==null;){if(o=un,c=o.sibling,m=o.return,z1(o),o===r){un=null;break e}if(c!==null){c.return=m,un=c;break e}un=m}}}function xz(){IM.forEach(function(e){return e()})}function G1(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||J.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ir(e){if((st&nn)!==cn&&$e!==0)return $e&-$e;var t=J.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Vp()):Nn()}function $1(){if(Gn===0)if(($e&536870912)===0||We){var e=nd;nd<<=1,(nd&3932160)===0&&(nd=262144),Gn=e}else Gn=536870912;return e=cr.current,e!==null&&(e.flags|=32),Gn}function zt(e,t,r){if(sl&&console.error("useInsertionEffect must not schedule updates."),vg&&(Pd=!0),(e===yt&&(ht===qo||ht===Io)||e.cancelPendingCommit!==null)&&(Ts(e,0),Ni(e,$e,Gn,!1)),Te(e,r),(st&nn)!==cn&&e===yt){if(Ea)switch(t.tag){case 0:case 11:case 15:e=Xe&&F(Xe)||"Unknown",xT.has(e)||(xT.add(e),t=F(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:vT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),vT=!0)}}else Da&&Wn(e,t,r),Rz(t),e===yt&&((st&nn)===cn&&($i|=r),Rt===Fi&&Ni(e,$e,Gn,!1)),va(e)}function X1(e,t,r){if((st&(nn|dr))!==cn)throw Error("Should not already be working.");if($e!==0&&Xe!==null){var o=Xe,l=sn();switch(dE){case Xu:case qo:var c=zu;vt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",c,l,wr,void 0,"primary-light")):console.timeStamp("Suspended",c,l,wr,void 0,"primary-light"));break;case Io:c=zu,vt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",c,l,wr,void 0,"primary-light")):console.timeStamp("Action",c,l,wr,void 0,"primary-light"));break;default:vt&&(o=l-zu,3>o||console.timeStamp("Blocked",zu,l,wr,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}c=(r=!r&&(t&127)===0&&(t&e.expiredLanes)===0||ra(e,t))?wz(e,t):zp(e,t,!0);var m=r;do{if(c===ci){il&&!r&&Ni(e,t,0,!1),t=ht,zu=Yt(),dE=t;break}else{if(o=sn(),l=e.current.alternate,m&&!Sz(l)){Ir(t),l=ln,c=o,!vt||c<=l||(Vt?Vt.run(console.timeStamp.bind(console,"Teared Render",l,c,rt,tt,"error")):console.timeStamp("Teared Render",l,c,rt,tt,"error")),No(t,o),c=zp(e,t,!1),m=!1;continue}if(c===Po){if(m=t,e.errorRecoveryDisabledLanes&m)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){Ir(t),dm(ln,o,t,Vt),No(t,o),t=g;e:{o=e,c=m,m=Zu;var w=o.current.memoizedState.isDehydrated;if(w&&(Ts(o,g).flags|=256),g=zp(o,g,!1),g!==Po){if(fg&&!w){o.errorRecoveryDisabledLanes|=c,$i|=c,c=Fi;break e}o=Vn,Vn=m,o!==null&&(Vn===null?Vn=o:Vn.push.apply(Vn,o))}c=g}if(m=!1,c!==Po)continue;o=sn()}}if(c===$u){Ir(t),dm(ln,o,t,Vt),No(t,o),Ts(e,0),Ni(e,t,0,!0);break}e:{switch(r=e,c){case ci:case $u:throw Error("Root did not complete. This is a bug in React.");case Fi:if((t&4194048)!==t)break;case Md:Ir(t),Xv(ln,o,t,Vt),No(t,o),l=t,(l&127)!==0?bd=o:(l&4194048)!==0&&(vd=o),Ni(r,t,Gn,!Yi);break e;case Po:Vn=null;break;case Od:case oT:break;default:throw Error("Unknown root exit status.")}if(J.actQueue!==null)Op(r,l,t,Vn,Ju,jd,Gn,$i,Fo,c,null,null,ln,o);else{if((t&62914560)===t&&(m=Vd+uT-sn(),10<m)){if(Ni(r,t,Gn,!Yi),Ha(r,0,!0)!==0)break e;Jr=t,r.timeoutHandle=AT(Q1.bind(null,r,l,Vn,Ju,jd,t,Gn,$i,Fo,Yi,c,"Throttled",ln,o),m);break e}Q1(r,l,Vn,Ju,jd,t,Gn,$i,Fo,Yi,c,null,ln,o)}}}break}while(!0);va(e)}function Q1(e,t,r,o,l,c,m,g,w,E,B,H,M,$){e.timeoutHandle=Qo;var ve=t.subtreeFlags,Ee=null;if((ve&8192||(ve&16785408)===16785408)&&(Ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qa},P1(t,c,Ee),ve=(c&62914560)===c?Vd-sn():(c&4194048)===c?lT-sn():0,ve=lO(Ee,ve),ve!==null)){Jr=c,e.cancelPendingCommit=ve(Op.bind(null,e,t,c,r,o,l,m,g,w,B,Ee,Ee.waitingForViewTransition?"Waiting for the previous Animation":0<Ee.count?0<Ee.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Ee.imgCount===1?"Suspended on an Image":0<Ee.imgCount?"Suspended on Images":null,M,$)),Ni(e,c,m,!E);return}Op(e,t,c,r,o,l,m,g,w,B,Ee,H,M,$)}function Sz(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var l=r[o],c=l.getSnapshot;l=l.value;try{if(!Mn(c(),l))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 Ni(e,t,r,o){t&=~dg,t&=~$i,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var l=t;0<l;){var c=31-Rn(l),m=1<<c;o[c]=-1,l&=~m}r!==0&&it(e,r,t)}function Es(){return(st&(nn|dr))===cn?(iu(0),!1):!0}function Rp(){if(Xe!==null){if(ht===Yn)var e=Xe.return;else e=Xe,af(),Pm(e),Zs=null,Hu=0,e=Xe;for(;e!==null;)x1(e.alternate,e),e=e.return;Xe=null}}function No(e,t){(e&127)!==0&&(Oo=t),(e&4194048)!==0&&(ai=t),(e&62914560)!==0&&(cE=t),(e&2080374784)!==0&&(fE=t)}function Ts(e,t){vt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",tt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",tt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",tt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",tt,"primary-light"));var r=ln;if(ln=Yt(),$e!==0&&0<r){if(Ir($e),Rt===Od||Rt===Fi)Xv(r,ln,t,Vt);else{var o=ln,l=Vt;if(vt&&!(o<=r)){var c=(t&738197653)===t?"tertiary-dark":"primary-dark",m=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,m,r,o,rt,tt,c)):console.timeStamp(m,r,o,rt,tt,c)}}No($e,ln)}if(r=Vt,Vt=null,(t&127)!==0){Vt=Au,l=0<=Ca&&Ca<Oo?Oo:Ca,o=0<=Mo&&Mo<Oo?Oo:Mo,c=0<=o?o:0<=l?l:ln,0<=bd?(Ir(2),Qv(bd,c,t,r)):xd&127,r=l;var g=o,w=Cu,E=0<$s,B=Hi===Nu,H=Hi===gd;if(l=ln,o=Au,c=Fy,m=Yy,vt){if(rt="Blocking",0<r?r>l&&(r=l):r=l,0<g?g>r&&(g=r):g=r,w!==null&&r>g){var M=E?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+w,g,r,rt,tt,M)):console.timeStamp(E?"Consecutive":"Event: "+w,g,r,rt,tt,M)}l>r&&(g=B?"error":(t&738197653)===t?"tertiary-light":"primary-light",B=H?"Promise Resolved":B?"Cascading Update":5<l-r?"Update Blocked":"Update",H=[],m!=null&&H.push(["Component name",m]),c!=null&&H.push(["Method name",c]),r={start:r,end:l,detail:{devtools:{properties:H,track:rt,trackGroup:tt,color:g}}},o?o.run(performance.measure.bind(performance,B,r)):performance.measure(B,r))}Ca=-1.1,Hi=0,Yy=Fy=null,bd=-1.1,$s=Mo,Mo=-1.1,Oo=Yt()}if((t&4194048)!==0&&(Vt=Ru,l=0<=ii&&ii<ai?ai:ii,r=0<=Ar&&Ar<ai?ai:Ar,o=0<=Pi&&Pi<ai?ai:Pi,c=0<=o?o:0<=r?r:ln,0<=vd?(Ir(256),Qv(vd,c,t,Vt)):xd&4194048,H=o,g=_o,w=0<qi,E=Gy===gd,c=ln,o=Ru,m=lE,B=uE,vt&&(rt="Transition",0<r?r>c&&(r=c):r=c,0<l?l>r&&(l=r):l=r,0<H?H>l&&(H=l):H=l,l>H&&g!==null&&(M=w?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,w?"Consecutive":"Event: "+g,H,l,rt,tt,M)):console.timeStamp(w?"Consecutive":"Event: "+g,H,l,rt,tt,M)),r>l&&(o?o.run(console.timeStamp.bind(console,"Action",l,r,rt,tt,"primary-dark")):console.timeStamp("Action",l,r,rt,tt,"primary-dark")),c>r&&(l=E?"Promise Resolved":5<c-r?"Update Blocked":"Update",H=[],B!=null&&H.push(["Component name",B]),m!=null&&H.push(["Method name",m]),r={start:r,end:c,detail:{devtools:{properties:H,track:rt,trackGroup:tt,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,l,r)):performance.measure(l,r))),Ar=ii=-1.1,Gy=0,vd=-1.1,qi=Pi,Pi=-1.1,ai=Yt()),(t&62914560)!==0&&(xd&62914560)!==0&&(Ir(4194304),hm(cE,ln)),(t&2080374784)!==0&&(xd&2080374784)!==0&&(Ir(268435456),hm(fE,ln)),r=e.timeoutHandle,r!==Qo&&(e.timeoutHandle=Qo,n_(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Jr=0,Rp(),yt=e,Xe=r=Ia(e.current,null),$e=t,ht=Yn,hr=null,Yi=!1,il=ra(e,t),fg=!1,Rt=ci,Fo=Gn=dg=$i=Gi=0,Vn=Zu=null,jd=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)l=31-Rn(o),c=1<<l,t|=e[l],o&=~c;return za=t,Wc(),e=nE(),1e3<e-tE&&(J.recentlyCreatedOwnerStacks=0,tE=e),Xr.discardPendingWarnings(),r}function Z1(e,t){Le=null,J.H=Fu,J.getCurrentStack=null,Ea=!1,lr=null,t===Qs||t===Td?(t=gx(),ht=Xu):t===Zy?(t=gx(),ht=sT):ht=t===og?cg:t!==null&&typeof t=="object"&&typeof t.then=="function"?Qu:_d,hr=t;var r=Xe;r===null?(Rt=$u,Rf(e,tr(t,e.current))):r.mode&Ye&&Am(r)}function J1(){var e=cr.current;return e===null?!0:($e&4194048)===$e?Cr===null:($e&62914560)===$e||($e&536870912)!==0?e===Cr:!1}function K1(){var e=J.H;return J.H=Fu,e===null?Fu:e}function W1(){var e=J.A;return J.A=qM,e}function Lf(e){Vt===null&&(Vt=e._debugTask==null?null:e._debugTask)}function Bf(){Rt=Fi,Yi||($e&4194048)!==$e&&cr.current!==null||(il=!0),(Gi&134217727)===0&&($i&134217727)===0||yt===null||Ni(yt,$e,Gn,!1)}function zp(e,t,r){var o=st;st|=nn;var l=K1(),c=W1();if(yt!==e||$e!==t){if(Da){var m=e.memoizedUpdaters;0<m.size&&(au(e,$e),m.clear()),gr(e,t)}Ju=null,Ts(e,t)}t=!1,m=Rt;e:do try{if(ht!==Yn&&Xe!==null){var g=Xe,w=hr;switch(ht){case cg:Rp(),m=Md;break e;case Xu:case qo:case Io:case Qu:cr.current===null&&(t=!0);var E=ht;if(ht=Yn,hr=null,Ds(e,g,w,E),r&&il){m=ci;break e}break;default:E=ht,ht=Yn,hr=null,Ds(e,g,w,E)}}eS(),m=Rt;break}catch(B){Z1(e,B)}while(!0);return t&&e.shellSuspendCounter++,af(),st=o,J.H=l,J.A=c,Xe===null&&(yt=null,$e=0,Wc()),m}function eS(){for(;Xe!==null;)tS(Xe)}function wz(e,t){var r=st;st|=nn;var o=K1(),l=W1();if(yt!==e||$e!==t){if(Da){var c=e.memoizedUpdaters;0<c.size&&(au(e,$e),c.clear()),gr(e,t)}Ju=null,Ld=sn()+cT,Ts(e,t)}else il=ra(e,t);e:do try{if(ht!==Yn&&Xe!==null)t:switch(t=Xe,c=hr,ht){case _d:ht=Yn,hr=null,Ds(e,t,c,_d);break;case qo:case Io:if(px(c)){ht=Yn,hr=null,nS(t);break}t=function(){ht!==qo&&ht!==Io||yt!==e||(ht=Ud),va(e)},c.then(t,t);break e;case Xu:ht=Ud;break e;case sT:ht=ug;break e;case Ud:px(c)?(ht=Yn,hr=null,nS(t)):(ht=Yn,hr=null,Ds(e,t,c,Ud));break;case ug:var m=null;switch(Xe.tag){case 26:m=Xe.memoizedState;case 5:case 27:var g=Xe;if(m?XS(m):g.stateNode.complete){ht=Yn,hr=null;var w=g.sibling;if(w!==null)Xe=w;else{var E=g.return;E!==null?(Xe=E,Hf(E)):Xe=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ht=Yn,hr=null,Ds(e,t,c,ug);break;case Qu:ht=Yn,hr=null,Ds(e,t,c,Qu);break;case cg:Rp(),Rt=Md;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}J.actQueue!==null?eS():Ez();break}catch(B){Z1(e,B)}while(!0);return af(),J.H=o,J.A=l,st=r,Xe!==null?ci:(yt=null,$e=0,Wc(),Rt)}function Ez(){for(;Xe!==null&&!wO();)tS(Xe)}function tS(e){var t=e.alternate;(e.mode&Ye)!==Ve?(Nm(e),t=we(e,Sp,t,e,za),Am(e)):t=we(e,Sp,t,e,za),e.memoizedProps=e.pendingProps,t===null?Hf(e):Xe=t}function nS(e){var t=we(e,Tz,e);e.memoizedProps=e.pendingProps,t===null?Hf(e):Xe=t}function Tz(e){var t=e.alternate,r=(e.mode&Ye)!==Ve;switch(r&&Nm(e),e.tag){case 15:case 0:t=h1(t,e,e.pendingProps,e.type,void 0,$e);break;case 11:t=h1(t,e,e.pendingProps,e.type.render,e.ref,$e);break;case 5:Pm(e);default:x1(t,e),e=Xe=tx(e,za),t=Sp(t,e,za)}return r&&Am(e),t}function Ds(e,t,r,o){af(),Pm(t),Zs=null,Hu=0;var l=t.return;try{if(lz(e,l,t,r,$e)){Rt=$u,Rf(e,tr(r,e.current)),Xe=null;return}}catch(c){if(l!==null)throw Xe=l,c;Rt=$u,Rf(e,tr(r,e.current)),Xe=null;return}t.flags&32768?(We||o===_d?e=!0:il||($e&536870912)!==0?e=!1:(Yi=e=!0,(o===qo||o===Io||o===Xu||o===Qu)&&(o=cr.current,o!==null&&o.tag===13&&(o.flags|=16384))),rS(t,e)):Hf(t)}function Hf(e){var t=e;do{if((t.flags&32768)!==0){rS(t,Yi);return}var r=t.alternate;if(e=t.return,Nm(t),r=we(t,fz,r,t,za),(t.mode&Ye)!==Ve&&cx(t),r!==null){Xe=r;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);Rt===ci&&(Rt=oT)}function rS(e,t){do{var r=dz(e.alternate,e);if(r!==null){r.flags&=32767,Xe=r;return}if((e.mode&Ye)!==Ve){cx(e),r=e.actualDuration;for(var o=e.child;o!==null;)r+=o.actualDuration,o=o.sibling;e.actualDuration=r}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){Xe=e;return}Xe=e=r}while(e!==null);Rt=Md,Xe=null}function Op(e,t,r,o,l,c,m,g,w,E,B,H,M,$){e.cancelPendingCommit=null;do ru();while(Zt!==Qi);if(Xr.flushLegacyContextWarning(),Xr.flushPendingUnsafeLifecycleWarnings(),(st&(nn|dr))!==cn)throw Error("Should not already be working.");if(Ir(r),E===Po?dm(M,$,r,Vt):o!==null?QR(M,$,r,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Vt):XR(M,$,r,Vt),t!==null){if(r===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(c=t.lanes|t.childLanes,c|=By,Ie(e,r,c,m,g,w),e===yt&&(Xe=yt=null,$e=0),ol=t,Zi=e,Jr=r,pg=c,gg=l,yT=o,yg=$,gT=H,Kr=Bd,bT=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Cz(zs,function(){return rc=window.event,Kr===Bd&&(Kr=mg),lS(),null})):(e.callbackNode=null,e.callbackPriority=0),ri=null,Bi=Yt(),H!==null&&ZR($,Bi,H,Vt),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=J.T,J.T=null,l=ft.p,ft.p=Sr,m=st,st|=dr;try{bz(e,t,r)}finally{st=m,ft.p=l,J.T=o}}Zt=dT,aS(),iS(),oS()}}function aS(){if(Zt===dT){Zt=Qi;var e=Zi,t=ol,r=Jr,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=J.T,J.T=null;var l=ft.p;ft.p=Sr;var c=st;st|=dr;try{rl=r,al=e,uf(),U1(t,e),al=rl=null,r=Ag;var m=Yv(e.containerInfo),g=r.focusedElem,w=r.selectionRange;if(m!==g&&g&&g.ownerDocument&&Fv(g.ownerDocument.documentElement,g)){if(w!==null&&um(g)){var E=w.start,B=w.end;if(B===void 0&&(B=E),"selectionStart"in g)g.selectionStart=E,g.selectionEnd=Math.min(B,g.value.length);else{var H=g.ownerDocument||document,M=H&&H.defaultView||window;if(M.getSelection){var $=M.getSelection(),ve=g.textContent.length,Ee=Math.min(w.start,ve),bt=w.end===void 0?Ee:Math.min(w.end,ve);!$.extend&&Ee>bt&&(m=bt,bt=Ee,Ee=m);var nt=Iv(g,Ee),O=Iv(g,bt);if(nt&&O&&($.rangeCount!==1||$.anchorNode!==nt.node||$.anchorOffset!==nt.offset||$.focusNode!==O.node||$.focusOffset!==O.offset)){var j=H.createRange();j.setStart(nt.node,nt.offset),$.removeAllRanges(),Ee>bt?($.addRange(j),$.extend(O.node,O.offset)):(j.setEnd(O.node,O.offset),$.addRange(j))}}}}for(H=[],$=g;$=$.parentNode;)$.nodeType===1&&H.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<H.length;g++){var L=H[g];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}th=!!Ng,Ag=Ng=null}finally{st=c,ft.p=l,J.T=o}}e.current=t,Zt=hT}}function iS(){if(Zt===hT){Zt=Qi;var e=bT;if(e!==null){Bi=Yt();var t=ni,r=Bi;!vt||r<=t||console.timeStamp(e,t,r,rt,tt,"secondary-light")}e=Zi,t=ol,r=Jr;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=J.T,J.T=null;var l=ft.p;ft.p=Sr;var c=st;st|=dr;try{rl=r,al=e,uf(),R1(e,t.alternate,t),al=rl=null}finally{st=c,ft.p=l,J.T=o}}e=yg,t=gT,ni=Yt(),e=t===null?e:Bi,t=ni,r=Kr===hg,o=Vt,ri!==null?Zv(e,t,ri,!1,o):!vt||t<=e||(o?o.run(console.timeStamp.bind(console,r?"Commit Interrupted View Transition":"Commit",e,t,rt,tt,r?"error":"secondary-dark")):console.timeStamp(r?"Commit Interrupted View Transition":"Commit",e,t,rt,tt,r?"error":"secondary-dark")),Zt=mT}}function oS(){if(Zt===pT||Zt===mT){if(Zt===pT){var e=ni;ni=Yt();var t=ni,r=Kr===hg;!vt||t<=e||console.timeStamp(r?"Interrupted View Transition":"Starting Animation",e,t,rt,tt,r?" error":"secondary-light"),Kr!==hg&&(Kr=fT)}Zt=Qi,EO(),e=Zi;var o=ol;t=Jr,r=yT;var l=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;l?Zt=Hd:(Zt=Qi,ol=Zi=null,sS(e,e.pendingLanes),Yo=0,Wu=null);var c=e.pendingLanes;if(c===0&&(Xi=null),l||dS(e),c=qt(t),o=o.stateNode,vn&&typeof vn.onCommitFiberRoot=="function")try{var m=(o.current.flags&128)===128;switch(c){case Sr:var g=gy;break;case ka:g=by;break;case Ja:g=zs;break;case ad:g=vy;break;default:g=zs}vn.onCommitFiberRoot(Os,o,g,m)}catch(H){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",H))}if(Da&&e.memoizedUpdaters.clear(),xz(),r!==null){m=J.T,g=ft.p,ft.p=Sr,J.T=null;try{var w=e.onRecoverableError;for(o=0;o<r.length;o++){var E=r[o],B=Dz(E.stack);we(E.source,w,E.value,B)}}finally{J.T=m,ft.p=g}}(Jr&3)!==0&&ru(),va(e),c=e.pendingLanes,(t&261930)!==0&&(c&42)!==0?(wd=!0,e===bg?Ku++:(Ku=0,bg=e)):Ku=0,l||No(t,ni),iu(0)}}function Dz(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function sS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Pl(t)))}function ru(){return aS(),iS(),oS(),lS()}function lS(){if(Zt!==Hd)return!1;var e=Zi,t=pg;pg=0;var r=qt(Jr),o=Ja>r?Ja:r;r=J.T;var l=ft.p;try{ft.p=o,J.T=null;var c=gg;gg=null,o=Zi;var m=Jr;if(Zt=Qi,ol=Zi=null,Jr=0,(st&(nn|dr))!==cn)throw Error("Cannot flush passive effects while already rendering.");Ir(m),vg=!0,Pd=!1;var g=0;if(ri=null,g=sn(),Kr===fT)hm(ni,g,UM);else{var w=ni,E=g,B=Kr===mg;!vt||E<=w||(Vt?Vt.run(console.timeStamp.bind(console,B?"Waiting for Paint":"Waiting",w,E,rt,tt,"secondary-light")):console.timeStamp(B?"Waiting for Paint":"Waiting",w,E,rt,tt,"secondary-light"))}w=st,st|=dr;var H=o.current;uf(),I1(H);var M=o.current;H=yg,uf(),B1(o,M,m,c,H),dS(o),st=w;var $=sn();if(M=g,H=Vt,ri!==null?Zv(M,$,ri,!0,H):!vt||$<=M||(H?H.run(console.timeStamp.bind(console,"Remaining Effects",M,$,rt,tt,"secondary-dark")):console.timeStamp("Remaining Effects",M,$,rt,tt,"secondary-dark")),No(m,$),iu(0,!1),Pd?o===Wu?Yo++:(Yo=0,Wu=o):Yo=0,Pd=vg=!1,vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(Os,o)}catch(Ee){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",Ee))}var ve=o.current.stateNode;return ve.effectDuration=0,ve.passiveEffectDuration=0,!0}finally{ft.p=l,J.T=r,sS(e,t)}}function uS(e,t,r){t=tr(r,t),fx(t),t=cp(e.stateNode,t,2),e=Ei(e,t,2),e!==null&&(Te(e,2),va(e))}function ct(e,t,r){if(sl=!1,e.tag===3)uS(e,e,r);else{for(;t!==null;){if(t.tag===3){uS(t,e,r);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Xi===null||!Xi.has(o))){e=tr(r,e),fx(e),r=fp(2),o=Ei(t,r,2),o!==null&&(dp(r,o,t,e),Te(o,2),va(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
159
159
 
160
160
  Error message:
161
161
 
162
- %s`,r)}}function _p(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new I_;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(r)||(fy=!0,l.add(r),o=AO.bind(null,e,t,r),Aa&&au(e,r),t.then(o,o))}function AO(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,(r&127)!==0?0>Ca&&(Mo=Ca=Yt(),ku=gd("Promise Resolved"),Hi=yd):(r&4194048)!==0&&0>kr&&(ai=kr=Yt(),Ru=gd("Promise Resolved"),Gg=yd),Y1()&&J.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
162
+ %s`,r)}}function Mp(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new FM;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(r)||(fg=!0,l.add(r),o=kz.bind(null,e,t,r),Da&&au(e,r),t.then(o,o))}function kz(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,(r&127)!==0?0>Ca&&(Oo=Ca=Yt(),Au=yd("Promise Resolved"),Hi=gd):(r&4194048)!==0&&0>Ar&&(ai=Ar=Yt(),Ru=yd("Promise Resolved"),Gy=gd),G1()&&J.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
163
163
 
164
164
  When testing, code that resolves suspended data should be wrapped into act(...):
165
165
 
@@ -168,7 +168,7 @@ act(() => {
168
168
  });
169
169
  /* assert on the output */
170
170
 
171
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),gt===e&&($e&r)===r&&(Rt===Fi||Rt===Md&&($e&62914560)===$e&&sn()-Vd<lT?(st&nn)===cn&&Ts(e,0):dy|=r,Fo===$e&&(Fo=0)),va(e)}function uS(e,t){t===0&&(t=W()),e=bn(e,t),e!==null&&(Te(e,t),va(e))}function wO(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),uS(e,r)}function NO(e,t){var r=0;switch(e.tag){case 31:case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(r=l.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),uS(e,r)}function zp(e,t,r){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,l=t,c=l.type===Kf;c=r||c,l.tag!==22?l.flags&67108864?c&&De(l,cS,o,l):zp(o,l,c):l.memoizedState===null&&(c&&l.flags&8192?De(l,cS,o,l):l.subtreeFlags&67108864&&De(l,zp,o,l,c)),t=t.sibling}}function cS(e,t){we(!0);try{j1(t),I1(t),V1(e,t.alternate,t,!1),B1(e,t,0,null,!1,0)}finally{we(!1)}}function fS(e){var t=!0;e.current.mode&(xn|$r)||(t=!1),zp(e,e.current,t)}function dS(e){if((st&nn)===cn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=F(e)||"ReactComponent",qd!==null){if(qd.has(t))return;qd.add(t)}else qd=new Set([t]);De(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function au(e,t){Aa&&e.memoizedUpdaters.forEach(function(r){Wn(e,r,t)})}function kO(e,t){var r=J.actQueue;return r!==null?(r.push(t),G_):gg(e,t)}function CO(e){Y1()&&J.actQueue===null&&De(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
171
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),yt===e&&($e&r)===r&&(Rt===Fi||Rt===Od&&($e&62914560)===$e&&sn()-Vd<uT?(st&nn)===cn&&Ts(e,0):dg|=r,Fo===$e&&(Fo=0)),va(e)}function cS(e,t){t===0&&(t=W()),e=bn(e,t),e!==null&&(Te(e,t),va(e))}function Nz(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),cS(e,r)}function Az(e,t){var r=0;switch(e.tag){case 31:case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(r=l.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),cS(e,r)}function _p(e,t,r){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,l=t,c=l.type===Kf;c=r||c,l.tag!==22?l.flags&67108864?c&&we(l,fS,o,l):_p(o,l,c):l.memoizedState===null&&(c&&l.flags&8192?we(l,fS,o,l):l.subtreeFlags&67108864&&we(l,_p,o,l,c)),t=t.sibling}}function fS(e,t){ke(!0);try{V1(t),F1(t),L1(e,t.alternate,t,!1),H1(e,t,0,null,!1,0)}finally{ke(!1)}}function dS(e){var t=!0;e.current.mode&(xn|$r)||(t=!1),_p(e,e.current,t)}function hS(e){if((st&nn)===cn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=F(e)||"ReactComponent",qd!==null){if(qd.has(t))return;qd.add(t)}else qd=new Set([t]);we(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function au(e,t){Da&&e.memoizedUpdaters.forEach(function(r){Wn(e,r,t)})}function Cz(e,t){var r=J.actQueue;return r!==null?(r.push(t),$M):yy(e,t)}function Rz(e){G1()&&J.actQueue===null&&we(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
172
172
 
173
173
  When testing, code that causes React state updates should be wrapped into act(...):
174
174
 
@@ -177,16 +177,16 @@ act(() => {
177
177
  });
178
178
  /* assert on the output */
179
179
 
180
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,F(e))})}function va(e){e!==ll&&e.next===null&&(ll===null?Id=ll=e:ll=ll.next=e),Fd=!0,J.actQueue!==null?Sy||(Sy=!0,gS()):xy||(xy=!0,gS())}function iu(e,t){if(!Dy&&Fd){Dy=!0;do for(var r=!1,o=Id;o!==null;){if(e!==0){var l=o.pendingLanes;if(l===0)var c=0;else{var m=o.suspendedLanes,y=o.pingedLanes;c=(1<<31-Rn(42|e)+1)-1,c&=l&~(m&~y),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(r=!0,pS(o,c))}else c=$e,c=Ha(o,o===gt?c:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Qo),(c&3)===0||ra(o,c)||(r=!0,pS(o,c));o=o.next}while(r);Dy=!1}}function RO(){rc=window.event,Up()}function Up(){Fd=Sy=xy=!1;var e=0;Ji!==0&&VO()&&(e=Ji);for(var t=sn(),r=null,o=Id;o!==null;){var l=o.next,c=hS(o,t);c===0?(o.next=null,r===null?Id=l:r.next=l,l===null&&(ll=r)):(r=o,(e!==0||(c&3)!==0)&&(Fd=!0)),o=l}Zt!==Qi&&Zt!==Hd||iu(e),Ji!==0&&(Ji=0)}function hS(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var m=31-Rn(c),y=1<<m,D=l[m];D===-1?((y&r)===0||(y&o)!==0)&&(l[m]=us(y,t)):D<=t&&(e.expiredLanes|=y),c&=~y}if(t=gt,r=$e,r=Ha(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Qo),o=e.callbackNode,r===0||e===t&&(ht===qo||ht===Io)||e.cancelPendingCommit!==null)return o!==null&&jp(o),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||ra(e,r)){if(t=r&-r,t!==e.callbackPriority||J.actQueue!==null&&o!==Ey)jp(o);else return t;switch(qt(r)){case Sr:case wa:r=bg;break;case Ja:r=Os;break;case ad:r=vg;break;default:r=Os}return o=mS.bind(null,e),J.actQueue!==null?(J.actQueue.push(o),r=Ey):r=gg(r,o),e.callbackPriority=t,e.callbackNode=r,t}return o!==null&&jp(o),e.callbackPriority=2,e.callbackNode=null,2}function mS(e,t){if(Dd=Sd=!1,rc=window.event,Zt!==Qi&&Zt!==Hd)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(Kr===Bd&&(Kr=my),ru()&&e.callbackNode!==r)return null;var o=$e;return o=Ha(e,e===gt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Qo),o===0?null:($1(e,o,t),hS(e,sn()),e.callbackNode!=null&&e.callbackNode===r?mS.bind(null,e):null)}function pS(e,t){if(ru())return null;Sd=Dd,Dd=!1,$1(e,t,!0)}function jp(e){e!==Ey&&e!==null&&xM(e)}function gS(){J.actQueue!==null&&J.actQueue.push(function(){return Up(),null}),nz(function(){(st&(nn|dr))!==cn?gg(yg,RO):Up()})}function Vp(){if(Ji===0){var e=Uo;e===0&&(e=td,td<<=1,(td&261888)===0&&(td=256)),Ji=e}return Ji}function yS(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(lt(e,"action"),Vl(""+e))}function bS(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function OO(e,t,r,o,l){if(t==="submit"&&r&&r.stateNode===l){var c=yS((l[On]||null).action),m=o.submitter;m&&(t=(t=m[On]||null)?yS(t.formAction):m.getAttribute("formAction"),t!==null&&(c=t,m=null));var y=new ud("action","action",null,o,l);e.push({event:y,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ji!==0){var D=m?bS(l,m):new FormData(l),E={pending:!0,data:D,method:l.method,action:c};Object.freeze(E),rp(r,E,null,D)}}else typeof c=="function"&&(y.preventDefault(),D=m?bS(l,m):new FormData(l),E={pending:!0,data:D,method:l.method,action:c},Object.freeze(E),rp(r,E,c,D))},currentTarget:l}]})}}function Pf(e,t,r){e.currentTarget=r;try{t(e)}catch(o){Ug(o)}e.currentTarget=null}function vS(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var o=e[r];e:{var l=void 0,c=o.event;if(o=o.listeners,t)for(var m=o.length-1;0<=m;m--){var y=o[m],D=y.instance,E=y.currentTarget;if(y=y.listener,D!==l&&c.isPropagationStopped())break e;D!==null?De(D,Pf,c,y,E):Pf(c,y,E),l=D}else for(m=0;m<o.length;m++){if(y=o[m],D=y.instance,E=y.currentTarget,y=y.listener,D!==l&&c.isPropagationStopped())break e;D!==null?De(D,Pf,c,y,E):Pf(c,y,E),l=D}}}}function et(e,t){Ty.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var r=t[xg];r===void 0&&(r=t[xg]=new Set);var o=e+"__bubble";r.has(o)||(xS(t,e,2,!1),r.add(o))}function Lp(e,t,r){Ty.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),xS(r,e,o,t)}function Bp(e){if(!e[Yd]){e[Yd]=!0,gD.forEach(function(r){r!=="selectionchange"&&(Ty.has(r)||Lp(r,!1,e),Lp(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Yd]||(t[Yd]=!0,Lp("selectionchange",!1,t))}}function xS(e,t,r,o){switch(WS(t)){case Sr:var l=fM;break;case wa:l=dM;break;default:l=tg}r=l.bind(null,t,r,e),l=void 0,!Ag||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,r,{capture:!0,passive:l}):e.addEventListener(t,r,!0):l!==void 0?e.addEventListener(t,r,{passive:l}):e.addEventListener(t,r,!1)}function Hp(e,t,r,o,l){var c=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var m=o.tag;if(m===3||m===4){var y=o.stateNode.containerInfo;if(y===l)break;if(m===4)for(m=o.return;m!==null;){var D=m.tag;if((D===3||D===4)&&m.stateNode.containerInfo===l)return;m=m.return}for(;y!==null;){if(m=de(y),m===null)return;if(D=m.tag,D===5||D===6||D===26||D===27){o=c=m;continue e}y=y.parentNode}}o=o.return}O0(function(){var E=c,B=sm(r),H=[];e:{var _=WD.get(e);if(_!==void 0){var $=ud,ve=e;switch(e){case"keypress":if(Xc(r)===0)break e;case"keydown":case"keyup":$=s_;break;case"focusin":ve="focus",$=Cg;break;case"focusout":ve="blur",$=Cg;break;case"beforeblur":case"afterblur":$=Cg;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=BD;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=QM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=c_;break;case QD:case ZD:case JD:$=KM;break;case KD:$=d_;break;case"scroll":case"scrollend":$=$M;break;case"wheel":$=m_;break;case"copy":case"cut":case"paste":$=e_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=PD;break;case"toggle":case"beforetoggle":$=g_}var Ee=(t&4)!==0,bt=!Ee&&(e==="scroll"||e==="scrollend"),nt=Ee?_!==null?_+"Capture":null:_;Ee=[];for(var M=E,j;M!==null;){var L=M;if(j=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||j===null||nt===null||(L=Ll(M,nt),L!=null&&Ee.push(ou(M,L,j))),bt)break;M=M.return}0<Ee.length&&(_=new $(_,ve,null,r,B),H.push({event:_,listeners:Ee}))}}if((t&7)===0){e:{if(_=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",_&&r!==yu&&(ve=r.relatedTarget||r.fromElement)&&(de(ve)||ve[_i]))break e;if(($||_)&&(_=B.window===B?B:(_=B.ownerDocument)?_.defaultView||_.parentWindow:window,$?(ve=r.relatedTarget||r.toElement,$=E,ve=ve?de(ve):null,ve!==null&&(bt=z(ve),Ee=ve.tag,ve!==bt||Ee!==5&&Ee!==27&&Ee!==6)&&(ve=null)):($=null,ve=E),$!==ve)){if(Ee=BD,L="onMouseLeave",nt="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(Ee=PD,L="onPointerLeave",nt="onPointerEnter",M="pointer"),bt=$==null?_:ke($),j=ve==null?_:ke(ve),_=new Ee(L,M+"leave",$,r,B),_.target=bt,_.relatedTarget=j,L=null,de(B)===E&&(Ee=new Ee(nt,M+"enter",ve,r,B),Ee.target=j,Ee.relatedTarget=bt,L=Ee),bt=L,$&&ve)t:{for(Ee=MO,nt=$,M=ve,j=0,L=nt;L;L=Ee(L))j++;L=0;for(var te=M;te;te=Ee(te))L++;for(;0<j-L;)nt=Ee(nt),j--;for(;0<L-j;)M=Ee(M),L--;for(;j--;){if(nt===M||M!==null&&nt===M.alternate){Ee=nt;break t}nt=Ee(nt),M=Ee(M)}Ee=null}else Ee=null;$!==null&&SS(H,_,$,Ee,!1),ve!==null&&bt!==null&&SS(H,bt,ve,Ee,!0)}}e:{if(_=E?ke(E):window,$=_.nodeName&&_.nodeName.toLowerCase(),$==="select"||$==="input"&&_.type==="file")var Se=L0;else if(j0(_))if($D)Se=FR;else{Se=qR;var Be=PR}else $=_.nodeName,!$||$.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?E&&jl(E.elementType)&&(Se=L0):Se=IR;if(Se&&(Se=Se(e,E))){V0(H,Se,r,B);break e}Be&&Be(e,_,E),e==="focusout"&&E&&_.type==="number"&&E.memoizedProps.value!=null&&tm(_,"number",_.value)}switch(Be=E?ke(E):window,e){case"focusin":(j0(Be)||Be.contentEditable==="true")&&(Bs=Be,Og=E,Tu=null);break;case"focusout":Tu=Og=Bs=null;break;case"mousedown":Mg=!0;break;case"contextmenu":case"mouseup":case"dragend":Mg=!1,Y0(H,r,B);break;case"selectionchange":if(x_)break;case"keydown":case"keyup":Y0(H,r,B)}var _e;if(Rg)e:{switch(e){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else Ls?z0(e,r)&&(Ce="onCompositionEnd"):e==="keydown"&&r.keyCode===qD&&(Ce="onCompositionStart");Ce&&(ID&&r.locale!=="ko"&&(Ls||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&Ls&&(_e=M0()):(zi=B,wg="value"in zi?zi.value:zi.textContent,Ls=!0)),Be=qf(E,Ce),0<Be.length&&(Ce=new HD(Ce,e,null,r,B),H.push({event:Ce,listeners:Be}),_e?Ce.data=_e:(_e=U0(r),_e!==null&&(Ce.data=_e)))),(_e=b_?VR(e,r):LR(e,r))&&(Ce=qf(E,"onBeforeInput"),0<Ce.length&&(Be=new n_("onBeforeInput","beforeinput",null,r,B),H.push({event:Be,listeners:Ce}),Be.data=_e)),OO(H,e,E,r,B)}vS(H,t)})}function ou(e,t,r){return{instance:e,listener:t,currentTarget:r}}function qf(e,t){for(var r=t+"Capture",o=[];e!==null;){var l=e,c=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||c===null||(l=Ll(e,r),l!=null&&o.unshift(ou(e,l,c)),l=Ll(e,t),l!=null&&o.push(ou(e,l,c))),e.tag===3)return o;e=e.return}return[]}function MO(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function SS(e,t,r,o,l){for(var c=t._reactName,m=[];r!==null&&r!==o;){var y=r,D=y.alternate,E=y.stateNode;if(y=y.tag,D!==null&&D===o)break;y!==5&&y!==26&&y!==27||E===null||(D=E,l?(E=Ll(r,c),E!=null&&m.unshift(ou(r,E,D))):l||(E=Ll(r,c),E!=null&&m.push(ou(r,E,D)))),r=r.return}m.length!==0&&e.push({event:t,listeners:m})}function Pp(e,t){_R(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||VD||(VD=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var r={registrationNameDependencies:ko,possibleRegistrationNames:Sg};jl(e)||typeof t.is=="string"||UR(e,t,r),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function on(e,t,r,o){t!==r&&(r=ki(r),ki(t)!==r&&(o[e]=t))}function _O(e,t,r){t.forEach(function(o){r[TS(o)]=o==="style"?Ip(e):e.getAttribute(o)})}function xa(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function DS(e,t){return e=e.namespaceURI===od||e.namespaceURI===zs?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function ki(e){return Ba(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Hr(e)),Pr(e)),(typeof e=="string"?e:""+e).replace($_,`
181
- `).replace(X_,"")}function ES(e,t){return t=ki(t),ki(e)===t}function mt(e,t,r,o,l,c){switch(r){case"children":typeof o=="string"?($c(o,t,!1),t==="body"||t==="textarea"&&o===""||Ul(e,o)):(typeof o=="number"||typeof o=="bigint")&&($c(""+o,t,!1),t!=="body"&&Ul(e,""+o));break;case"className":Fc(e,"class",o);break;case"tabIndex":Fc(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Fc(e,r,o);break;case"style":k0(e,o,c);break;case"data":if(t!=="object"){Fc(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||r!=="href")){console.error(r==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',r,r),e.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}lt(o,r),o=Vl(""+o),e.setAttribute(r,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?r==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(l.encType==null&&l.method==null||Xd||(Xd=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),l.target==null||$d||($d=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?r==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||Gd?t!=="button"||l.type==null||l.type==="submit"||Gd?typeof o=="function"&&(l.name==null||DT||(DT=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),l.formEncType==null&&l.formMethod==null||Xd||(Xd=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),l.formTarget==null||$d||($d=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Gd=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Gd=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(r==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(r,"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"&&(r==="formAction"?(t!=="input"&&mt(e,t,"name",l.name,l,null),mt(e,t,"formEncType",l.formEncType,l,null),mt(e,t,"formMethod",l.formMethod,l,null),mt(e,t,"formTarget",l.formTarget,l,null)):(mt(e,t,"encType",l.encType,l,null),mt(e,t,"method",l.method,l,null),mt(e,t,"target",l.target,l,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}lt(o,r),o=Vl(""+o),e.setAttribute(r,o);break;case"onClick":o!=null&&(typeof o!="function"&&xa(r,o),e.onclick=qa);break;case"onScroll":o!=null&&(typeof o!="function"&&xa(r,o),et("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&xa(r,o),et("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=o.__html,r!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}lt(o,r),r=Vl(""+o),e.setAttributeNS(Go,"xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(lt(o,r),e.setAttribute(r,""+o)):e.removeAttribute(r);break;case"inert":o!==""||Qd[r]||(Qd[r]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",r));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":o===!0?e.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(lt(o,r),e.setAttribute(r,o)):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(lt(o,r),e.setAttribute(r,o)):e.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(r):(lt(o,r),e.setAttribute(r,o));break;case"popover":et("beforetoggle",e),et("toggle",e),cs(e,"popover",o);break;case"xlinkActuate":Pa(e,Go,"xlink:actuate",o);break;case"xlinkArcrole":Pa(e,Go,"xlink:arcrole",o);break;case"xlinkRole":Pa(e,Go,"xlink:role",o);break;case"xlinkShow":Pa(e,Go,"xlink:show",o);break;case"xlinkTitle":Pa(e,Go,"xlink:title",o);break;case"xlinkType":Pa(e,Go,"xlink:type",o);break;case"xmlBase":Pa(e,Ay,"xml:base",o);break;case"xmlLang":Pa(e,Ay,"xml:lang",o);break;case"xmlSpace":Pa(e,Ay,"xml:space",o);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),cs(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":ET||o==null||typeof o!="object"||(ET=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"?(r=C0(r),cs(e,r,o)):ko.hasOwnProperty(r)&&o!=null&&typeof o!="function"&&xa(r,o)}}function qp(e,t,r,o,l,c){switch(r){case"style":k0(e,o,c);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=o.__html,r!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"children":typeof o=="string"?Ul(e,o):(typeof o=="number"||typeof o=="bigint")&&Ul(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&xa(r,o),et("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&xa(r,o),et("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&xa(r,o),e.onclick=qa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ko.hasOwnProperty(r))o!=null&&typeof o!="function"&&xa(r,o);else e:{if(r[0]==="o"&&r[1]==="n"&&(l=r.endsWith("Capture"),t=r.slice(2,l?r.length-7:void 0),c=e[On]||null,c=c!=null?c[r]:null,typeof c=="function"&&e.removeEventListener(t,c,l),typeof o=="function")){typeof c!="function"&&c!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,o,l);break e}r in e?e[r]=o:o===!0?e.setAttribute(r,""):cs(e,r,o)}}}function hn(e,t,r){switch(Pp(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":et("error",e),et("load",e);var o=!1,l=!1,c;for(c in r)if(r.hasOwnProperty(c)){var m=r[c];if(m!=null)switch(c){case"src":o=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,c,m,r,null)}}l&&mt(e,t,"srcSet",r.srcSet,r,null),o&&mt(e,t,"src",r.src,r,null);return;case"input":kn("input",r),et("invalid",e);var y=c=m=l=null,D=null,E=null;for(o in r)if(r.hasOwnProperty(o)){var B=r[o];if(B!=null)switch(o){case"name":l=B;break;case"type":m=B;break;case"checked":D=B;break;case"defaultChecked":E=B;break;case"value":c=B;break;case"defaultValue":y=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,o,B,r,null)}}d0(e,r),h0(e,c,y,D,E,m,l,!1);return;case"select":kn("select",r),et("invalid",e),o=m=c=null;for(l in r)if(r.hasOwnProperty(l)&&(y=r[l],y!=null))switch(l){case"value":c=y;break;case"defaultValue":m=y;break;case"multiple":o=y;default:mt(e,t,l,y,r,null)}g0(e,r),t=c,r=m,e.multiple=!!o,t!=null?fs(e,!!o,t,!1):r!=null&&fs(e,!!o,r,!0);return;case"textarea":kn("textarea",r),et("invalid",e),c=l=o=null;for(m in r)if(r.hasOwnProperty(m)&&(y=r[m],y!=null))switch(m){case"value":o=y;break;case"defaultValue":l=y;break;case"children":c=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,m,y,r,null)}y0(e,r),v0(e,o,l,c);return;case"option":m0(e,r);for(D in r)r.hasOwnProperty(D)&&(o=r[D],o!=null)&&(D==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":mt(e,t,D,o,r,null));return;case"dialog":et("beforetoggle",e),et("toggle",e),et("cancel",e),et("close",e);break;case"iframe":case"object":et("load",e);break;case"video":case"audio":for(o=0;o<ec.length;o++)et(ec[o],e);break;case"image":et("error",e),et("load",e);break;case"details":et("toggle",e);break;case"embed":case"source":case"link":et("error",e),et("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(E in r)if(r.hasOwnProperty(E)&&(o=r[E],o!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,E,o,r,null)}return;default:if(jl(t)){for(B in r)r.hasOwnProperty(B)&&(o=r[B],o!==void 0&&qp(e,t,B,o,r,void 0));return}}for(y in r)r.hasOwnProperty(y)&&(o=r[y],o!=null&&mt(e,t,y,o,r,null))}function zO(e,t,r,o){switch(Pp(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,c=null,m=null,y=null,D=null,E=null,B=null;for($ in r){var H=r[$];if(r.hasOwnProperty($)&&H!=null)switch($){case"checked":break;case"value":break;case"defaultValue":D=H;default:o.hasOwnProperty($)||mt(e,t,$,null,o,H)}}for(var _ in o){var $=o[_];if(H=r[_],o.hasOwnProperty(_)&&($!=null||H!=null))switch(_){case"type":c=$;break;case"name":l=$;break;case"checked":E=$;break;case"defaultChecked":B=$;break;case"value":m=$;break;case"defaultValue":y=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$!==H&&mt(e,t,_,$,o,H)}}t=r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||ST||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),ST=!0),!t||o||xT||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),xT=!0),em(e,m,y,D,E,B,c,l);return;case"select":$=m=y=_=null;for(c in r)if(D=r[c],r.hasOwnProperty(c)&&D!=null)switch(c){case"value":break;case"multiple":$=D;default:o.hasOwnProperty(c)||mt(e,t,c,null,o,D)}for(l in o)if(c=o[l],D=r[l],o.hasOwnProperty(l)&&(c!=null||D!=null))switch(l){case"value":_=c;break;case"defaultValue":y=c;break;case"multiple":m=c;default:c!==D&&mt(e,t,l,c,o,D)}o=y,t=m,r=$,_!=null?fs(e,!!t,_,!1):!!r!=!!t&&(o!=null?fs(e,!!t,o,!0):fs(e,!!t,t?[]:"",!1));return;case"textarea":$=_=null;for(y in r)if(l=r[y],r.hasOwnProperty(y)&&l!=null&&!o.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:mt(e,t,y,null,o,l)}for(m in o)if(l=o[m],c=r[m],o.hasOwnProperty(m)&&(l!=null||c!=null))switch(m){case"value":_=l;break;case"defaultValue":$=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==c&&mt(e,t,m,l,o,c)}b0(e,_,$);return;case"option":for(var ve in r)_=r[ve],r.hasOwnProperty(ve)&&_!=null&&!o.hasOwnProperty(ve)&&(ve==="selected"?e.selected=!1:mt(e,t,ve,null,o,_));for(D in o)_=o[D],$=r[D],o.hasOwnProperty(D)&&_!==$&&(_!=null||$!=null)&&(D==="selected"?e.selected=_&&typeof _!="function"&&typeof _!="symbol":mt(e,t,D,_,o,$));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 Ee in r)_=r[Ee],r.hasOwnProperty(Ee)&&_!=null&&!o.hasOwnProperty(Ee)&&mt(e,t,Ee,null,o,_);for(E in o)if(_=o[E],$=r[E],o.hasOwnProperty(E)&&_!==$&&(_!=null||$!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,E,_,o,$)}return;default:if(jl(t)){for(var bt in r)_=r[bt],r.hasOwnProperty(bt)&&_!==void 0&&!o.hasOwnProperty(bt)&&qp(e,t,bt,void 0,o,_);for(B in o)_=o[B],$=r[B],!o.hasOwnProperty(B)||_===$||_===void 0&&$===void 0||qp(e,t,B,_,o,$);return}}for(var nt in r)_=r[nt],r.hasOwnProperty(nt)&&_!=null&&!o.hasOwnProperty(nt)&&mt(e,t,nt,null,o,_);for(H in o)_=o[H],$=r[H],!o.hasOwnProperty(H)||_===$||_==null&&$==null||mt(e,t,H,_,o,$)}function TS(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Ip(e){var t={};e=e.style;for(var r=0;r<e.length;r++){var o=e[r];t[o]=e.getPropertyValue(o)}return t}function AS(e,t,r){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,l=o="",c;for(c in t)if(t.hasOwnProperty(c)){var m=t[c];m!=null&&typeof m!="boolean"&&m!==""&&(c.indexOf("--")===0?(Wt(m,c),o+=l+c+":"+(""+m).trim()):typeof m!="number"||m===0||UD.has(c)?(Wt(m,c),o+=l+c.replace(RD,"-$1").toLowerCase().replace(OD,"-ms-")+":"+(""+m).trim()):o+=l+c.replace(RD,"-$1").toLowerCase().replace(OD,"-ms-")+":"+m+"px",l=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=ki(o),ki(t)!==o&&(r.style=Ip(e)))}}function xr(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(lt(o,t),e===""+o)return}on(t,e,o,c)}function wS(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}on(t,e,o,c)}function Fp(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(lt(o,r),e===""+o)return}on(t,e,o,c)}function NS(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(lt(o,t),e===""+o))return}on(t,e,o,c)}function Yp(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(lt(o,t),r=Vl(""+o),e===r)return}on(t,e,o,c)}function kS(e,t,r,o){for(var l={},c=new Set,m=e.attributes,y=0;y<m.length;y++)switch(m[y].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(m[y].name)}if(jl(t)){for(var D in r)if(r.hasOwnProperty(D)){var E=r[D];if(E!=null){if(ko.hasOwnProperty(D))typeof E!="function"&&xa(D,E);else if(r.suppressHydrationWarning!==!0)switch(D){case"children":typeof E!="string"&&typeof E!="number"||on("children",e.textContent,E,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=DS(e,E),on(D,m,E,l));continue;case"style":c.delete(D),AS(e,E,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(D.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",D);continue;case"className":c.delete("class"),m=Ic(e,"class",E),on("className",m,E,l);continue;default:o.context===fi&&t!=="svg"&&t!=="math"?c.delete(D.toLowerCase()):c.delete(D),m=Ic(e,D,E),on(D,m,E,l)}}}}else for(E in r)if(r.hasOwnProperty(E)&&(D=r[E],D!=null)){if(ko.hasOwnProperty(E))typeof D!="function"&&xa(E,D);else if(r.suppressHydrationWarning!==!0)switch(E){case"children":typeof D!="string"&&typeof D!="number"||on("children",e.textContent,D,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,D=D?D.__html:void 0,D!=null&&(D=DS(e,D),m!==D&&(l[E]={__html:m}));continue;case"className":xr(e,E,"class",D,c,l);continue;case"tabIndex":xr(e,E,"tabindex",D,c,l);continue;case"style":c.delete(E),AS(e,D,l);continue;case"multiple":c.delete(E),on(E,e.multiple,D,l);continue;case"muted":c.delete(E),on(E,e.muted,D,l);continue;case"autoFocus":c.delete("autofocus"),on(E,e.autofocus,D,l);continue;case"data":if(t!=="object"){c.delete(E),m=e.getAttribute("data"),on(E,m,D,l);continue}case"src":case"href":if(!(D!==""||t==="a"&&E==="href"||t==="object"&&E==="data")){console.error(E==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',E,E);continue}Yp(e,E,E,D,c,l);continue;case"action":case"formAction":if(m=e.getAttribute(E),typeof D=="function"){c.delete(E.toLowerCase()),E==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(m===Q_){c.delete(E.toLowerCase()),on(E,"function",D,l);continue}Yp(e,E,E.toLowerCase(),D,c,l);continue;case"xlinkHref":Yp(e,E,"xlink:href",D,c,l);continue;case"contentEditable":Fp(e,E,"contenteditable",D,c,l);continue;case"spellCheck":Fp(e,E,"spellcheck",D,c,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Fp(e,E,E,D,c,l);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":wS(e,E,E.toLowerCase(),D,c,l);continue;case"capture":case"download":e:{y=e;var B=m=E,H=l;if(c.delete(B),y=y.getAttribute(B),y===null)switch(typeof D){case"undefined":case"function":case"symbol":break e;default:if(D===!1)break e}else if(D!=null)switch(typeof D){case"function":case"symbol":break;case"boolean":if(D===!0&&y==="")break e;break;default:if(lt(D,m),y===""+D)break e}on(m,y,D,H)}continue;case"cols":case"rows":case"size":case"span":e:{if(y=e,B=m=E,H=l,c.delete(B),y=y.getAttribute(B),y===null)switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(D)||1>D)break e}else if(D!=null)switch(typeof D){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(D)||1>D)&&(lt(D,m),y===""+D))break e}on(m,y,D,H)}continue;case"rowSpan":NS(e,E,"rowspan",D,c,l);continue;case"start":NS(e,E,E,D,c,l);continue;case"xHeight":xr(e,E,"x-height",D,c,l);continue;case"xlinkActuate":xr(e,E,"xlink:actuate",D,c,l);continue;case"xlinkArcrole":xr(e,E,"xlink:arcrole",D,c,l);continue;case"xlinkRole":xr(e,E,"xlink:role",D,c,l);continue;case"xlinkShow":xr(e,E,"xlink:show",D,c,l);continue;case"xlinkTitle":xr(e,E,"xlink:title",D,c,l);continue;case"xlinkType":xr(e,E,"xlink:type",D,c,l);continue;case"xmlBase":xr(e,E,"xml:base",D,c,l);continue;case"xmlLang":xr(e,E,"xml:lang",D,c,l);continue;case"xmlSpace":xr(e,E,"xml:space",D,c,l);continue;case"inert":D!==""||Qd[E]||(Qd[E]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",E)),wS(e,E,E,D,c,l);continue;default:if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){y=C0(E),m=!1,o.context===fi&&t!=="svg"&&t!=="math"?c.delete(y.toLowerCase()):(B=E.toLowerCase(),B=sd.hasOwnProperty(B)&&sd[B]||null,B!==null&&B!==E&&(m=!0,c.delete(B)),c.delete(y));e:if(B=e,H=y,y=D,aa(H))if(B.hasAttribute(H))B=B.getAttribute(H),lt(y,H),y=B===""+y?y:B;else{switch(typeof y){case"function":case"symbol":break e;case"boolean":if(B=H.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")break e}y=y===void 0?void 0:null}else y=void 0;m||on(E,y,D,l)}}}return 0<c.size&&r.suppressHydrationWarning!==!0&&_O(e,c,l),Object.keys(l).length===0?null:l}function UO(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function CS(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function jO(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),o=0;o<r.length;o++){var l=r[o],c=l.transferSize,m=l.initiatorType,y=l.duration;if(c&&y&&CS(m)){for(m=0,y=l.responseEnd,o+=1;o<r.length;o++){var D=r[o],E=D.startTime;if(E>y)break;var B=D.transferSize,H=D.initiatorType;B&&CS(H)&&(D=D.responseEnd,m+=B*(D<y?1:(y-E)/(D-E)))}if(--o,t+=8*(c+m)/(l.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}function If(e){return e.nodeType===9?e:e.ownerDocument}function RS(e){switch(e){case zs:return cl;case od:return Jd;default:return fi}}function OS(e,t){if(e===fi)switch(t){case"svg":return cl;case"math":return Jd;default:return fi}return e===cl&&t==="foreignObject"?fi:e}function Gp(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}function VO(){var e=window.event;return e&&e.type==="popstate"?e===Cy?!1:(Cy=e,!0):(Cy=null,!1)}function su(){var e=window.event;return e&&e!==rc?e.type:null}function lu(){var e=window.event;return e&&e!==rc?e.timeStamp:-1.1}function LO(e){setTimeout(function(){throw e})}function BO(e,t,r){switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&e.focus();break;case"img":r.src?e.src=r.src:r.srcSet&&(e.srcset=r.srcSet)}}function HO(){}function PO(e,t,r,o){zO(e,t,r,o),e[On]=o}function MS(e){Ul(e,"")}function qO(e,t,r){e.nodeValue=r}function _S(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[On]||null;if(t!==null){var r=be(e);r!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,De(r,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,De(r,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Ci(e){return e==="head"}function IO(e,t){e.removeChild(t)}function FO(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function zS(e,t){var r=t,o=0;do{var l=r.nextSibling;if(e.removeChild(r),l&&l.nodeType===8)if(r=l.data,r===nc||r===Zd){if(o===0){e.removeChild(l),ks(t);return}o--}else if(r===tc||r===Ki||r===Xo||r===ul||r===$o)o++;else if(r===J_)uu(e.ownerDocument.documentElement);else if(r===W_){r=e.ownerDocument.head,uu(r);for(var c=r.firstChild;c;){var m=c.nextSibling,y=c.nodeName;c[gu]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&c.rel.toLowerCase()==="stylesheet"||r.removeChild(c),c=m}}else r===K_&&uu(e.ownerDocument.body);r=l}while(r);ks(t)}function US(e,t){var r=e;e=0;do{var o=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),o&&o.nodeType===8)if(r=o.data,r===nc){if(e===0)break;e--}else r!==tc&&r!==Ki&&r!==Xo&&r!==ul||e++;r=o}while(r)}function YO(e){US(e,!0)}function GO(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function $O(e){e.nodeValue=""}function XO(e){US(e,!1)}function QO(e,t){t=t[ez],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function ZO(e,t){e.nodeValue=t}function $p(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":$p(r),q(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function JO(e,t,r,o){for(;e.nodeType===1;){var l=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[gu])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!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){lt(l.name,"name");var c=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=or(e.nextSibling),e===null)break}return null}function KO(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=or(e.nextSibling),e===null))return null;return e}function jS(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=or(e.nextSibling),e===null))return null;return e}function Xp(e){return e.data===Ki||e.data===Xo}function Qp(e){return e.data===ul||e.data===Ki&&e.ownerDocument.readyState!==AT}function WO(e,t){var r=e.ownerDocument;if(e.data===Xo)e._reactRetry=t;else if(e.data!==Ki||r.readyState!==AT)t();else{var o=function(){t(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function or(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===tc||t===ul||t===Ki||t===Xo||t===$o||t===wy||t===TT)break;if(t===nc||t===Zd)return null}}return e}function VS(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),r={},o=e.attributes,l=0;l<o.length;l++){var c=o[l];r[TS(c.name)]=c.name.toLowerCase()==="style"?Ip(e):c.value}return{type:t,props:r}}return e.nodeType===8?e.data===$o?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function LS(e,t,r){return r===null||r[Z_]!==!0?(e.nodeValue===t?e=null:(t=ki(t),e=ki(e.nodeValue)===t?null:e.nodeValue),e):null}function Zp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===nc||r===Zd){if(t===0)return or(e.nextSibling);t--}else r!==tc&&r!==ul&&r!==Ki&&r!==Xo&&r!==$o||t++}e=e.nextSibling}return null}function BS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===tc||r===ul||r===Ki||r===Xo||r===$o){if(t===0)return e;t--}else r!==nc&&r!==Zd||t++}e=e.previousSibling}return null}function eM(e){ks(e)}function tM(e){ks(e)}function nM(e){ks(e)}function HS(e,t,r,o,l){switch(l&&om(e,o.ancestorInfo),t=If(r),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function rM(e,t,r,o){if(!r[_i]&&be(r)){var l=r.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",l,l,l)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(l=r.attributes;l.length;)r.removeAttributeNode(l[0]);hn(r,e,t),r[mn]=o,r[On]=t}function uu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);q(e)}function Ff(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function PS(e,t,r){var o=fl;if(o&&typeof t=="string"&&t){var l=vr(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof r=="string"&&(l+='[crossorigin="'+r+'"]'),OT.has(l)||(OT.add(l),e={rel:e,crossOrigin:r,href:t},o.querySelector(l)===null&&(t=o.createElement("link"),hn(t,"link",e),Me(t),o.head.appendChild(t)))}}function qS(e,t,r,o){var l=(l=Oi.current)?Ff(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(r=ws(r.href),t=Pe(l).hoistableStyles,o=t.get(r),o||(o={type:"style",instance:null,count:0,state:null},t.set(r,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=ws(r.href);var c=Pe(l).hoistableStyles,m=c.get(e);if(!m&&(l=l.ownerDocument||l,m={type:"stylesheet",instance:null,count:0,state:{loading:Zo,preload:null}},c.set(e,m),(c=l.querySelector(cu(e)))&&!c._p&&(m.instance=c,m.state.loading=ac|Mr),!_r.has(e))){var y={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy};_r.set(e,y),c||aM(l,e,y,m.state)}if(t&&o===null)throw r=`
180
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,F(e))})}function va(e){e!==ll&&e.next===null&&(ll===null?Id=ll=e:ll=ll.next=e),Fd=!0,J.actQueue!==null?Sg||(Sg=!0,gS()):xg||(xg=!0,gS())}function iu(e,t){if(!wg&&Fd){wg=!0;do for(var r=!1,o=Id;o!==null;){if(e!==0){var l=o.pendingLanes;if(l===0)var c=0;else{var m=o.suspendedLanes,g=o.pingedLanes;c=(1<<31-Rn(42|e)+1)-1,c&=l&~(m&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(r=!0,yS(o,c))}else c=$e,c=Ha(o,o===yt?c:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Qo),(c&3)===0||ra(o,c)||(r=!0,yS(o,c));o=o.next}while(r);wg=!1}}function zz(){rc=window.event,Up()}function Up(){Fd=Sg=xg=!1;var e=0;Ji!==0&&Lz()&&(e=Ji);for(var t=sn(),r=null,o=Id;o!==null;){var l=o.next,c=mS(o,t);c===0?(o.next=null,r===null?Id=l:r.next=l,l===null&&(ll=r)):(r=o,(e!==0||(c&3)!==0)&&(Fd=!0)),o=l}Zt!==Qi&&Zt!==Hd||iu(e),Ji!==0&&(Ji=0)}function mS(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var m=31-Rn(c),g=1<<m,w=l[m];w===-1?((g&r)===0||(g&o)!==0)&&(l[m]=us(g,t)):w<=t&&(e.expiredLanes|=g),c&=~g}if(t=yt,r=$e,r=Ha(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Qo),o=e.callbackNode,r===0||e===t&&(ht===qo||ht===Io)||e.cancelPendingCommit!==null)return o!==null&&jp(o),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||ra(e,r)){if(t=r&-r,t!==e.callbackPriority||J.actQueue!==null&&o!==Eg)jp(o);else return t;switch(qt(r)){case Sr:case ka:r=by;break;case Ja:r=zs;break;case ad:r=vy;break;default:r=zs}return o=pS.bind(null,e),J.actQueue!==null?(J.actQueue.push(o),r=Eg):r=yy(r,o),e.callbackPriority=t,e.callbackNode=r,t}return o!==null&&jp(o),e.callbackPriority=2,e.callbackNode=null,2}function pS(e,t){if(wd=Sd=!1,rc=window.event,Zt!==Qi&&Zt!==Hd)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(Kr===Bd&&(Kr=mg),ru()&&e.callbackNode!==r)return null;var o=$e;return o=Ha(e,e===yt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Qo),o===0?null:(X1(e,o,t),mS(e,sn()),e.callbackNode!=null&&e.callbackNode===r?pS.bind(null,e):null)}function yS(e,t){if(ru())return null;Sd=wd,wd=!1,X1(e,t,!0)}function jp(e){e!==Eg&&e!==null&&SO(e)}function gS(){J.actQueue!==null&&J.actQueue.push(function(){return Up(),null}),r_(function(){(st&(nn|dr))!==cn?yy(gy,zz):Up()})}function Vp(){if(Ji===0){var e=Uo;e===0&&(e=td,td<<=1,(td&261888)===0&&(td=256)),Ji=e}return Ji}function bS(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(lt(e,"action"),Vl(""+e))}function vS(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function Oz(e,t,r,o,l){if(t==="submit"&&r&&r.stateNode===l){var c=bS((l[zn]||null).action),m=o.submitter;m&&(t=(t=m[zn]||null)?bS(t.formAction):m.getAttribute("formAction"),t!==null&&(c=t,m=null));var g=new ud("action","action",null,o,l);e.push({event:g,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ji!==0){var w=m?vS(l,m):new FormData(l),E={pending:!0,data:w,method:l.method,action:c};Object.freeze(E),rp(r,E,null,w)}}else typeof c=="function"&&(g.preventDefault(),w=m?vS(l,m):new FormData(l),E={pending:!0,data:w,method:l.method,action:c},Object.freeze(E),rp(r,E,c,w))},currentTarget:l}]})}}function Pf(e,t,r){e.currentTarget=r;try{t(e)}catch(o){Uy(o)}e.currentTarget=null}function xS(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var o=e[r];e:{var l=void 0,c=o.event;if(o=o.listeners,t)for(var m=o.length-1;0<=m;m--){var g=o[m],w=g.instance,E=g.currentTarget;if(g=g.listener,w!==l&&c.isPropagationStopped())break e;w!==null?we(w,Pf,c,g,E):Pf(c,g,E),l=w}else for(m=0;m<o.length;m++){if(g=o[m],w=g.instance,E=g.currentTarget,g=g.listener,w!==l&&c.isPropagationStopped())break e;w!==null?we(w,Pf,c,g,E):Pf(c,g,E),l=w}}}}function et(e,t){Tg.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var r=t[xy];r===void 0&&(r=t[xy]=new Set);var o=e+"__bubble";r.has(o)||(SS(t,e,2,!1),r.add(o))}function Lp(e,t,r){Tg.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),SS(r,e,o,t)}function Bp(e){if(!e[Yd]){e[Yd]=!0,gw.forEach(function(r){r!=="selectionchange"&&(Tg.has(r)||Lp(r,!1,e),Lp(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Yd]||(t[Yd]=!0,Lp("selectionchange",!1,t))}}function SS(e,t,r,o){switch(ew(t)){case Sr:var l=dO;break;case ka:l=hO;break;default:l=ty}r=l.bind(null,t,r,e),l=void 0,!Dy||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,r,{capture:!0,passive:l}):e.addEventListener(t,r,!0):l!==void 0?e.addEventListener(t,r,{passive:l}):e.addEventListener(t,r,!1)}function Hp(e,t,r,o,l){var c=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var m=o.tag;if(m===3||m===4){var g=o.stateNode.containerInfo;if(g===l)break;if(m===4)for(m=o.return;m!==null;){var w=m.tag;if((w===3||w===4)&&m.stateNode.containerInfo===l)return;m=m.return}for(;g!==null;){if(m=de(g),m===null)return;if(w=m.tag,w===5||w===6||w===26||w===27){o=c=m;continue e}g=g.parentNode}}o=o.return}Ov(function(){var E=c,B=sm(r),H=[];e:{var M=eE.get(e);if(M!==void 0){var $=ud,ve=e;switch(e){case"keypress":if(Xc(r)===0)break e;case"keydown":case"keyup":$=lM;break;case"focusin":ve="focus",$=Cy;break;case"focusout":ve="blur",$=Cy;break;case"beforeblur":case"afterblur":$=Cy;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=Hw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=ZO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=fM;break;case Zw:case Jw:case Kw:$=WO;break;case Ww:$=hM;break;case"scroll":case"scrollend":$=XO;break;case"wheel":$=pM;break;case"copy":case"cut":case"paste":$=tM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=qw;break;case"toggle":case"beforetoggle":$=gM}var Ee=(t&4)!==0,bt=!Ee&&(e==="scroll"||e==="scrollend"),nt=Ee?M!==null?M+"Capture":null:M;Ee=[];for(var O=E,j;O!==null;){var L=O;if(j=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||j===null||nt===null||(L=Ll(O,nt),L!=null&&Ee.push(ou(O,L,j))),bt)break;O=O.return}0<Ee.length&&(M=new $(M,ve,null,r,B),H.push({event:M,listeners:Ee}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",M&&r!==gu&&(ve=r.relatedTarget||r.fromElement)&&(de(ve)||ve[Mi]))break e;if(($||M)&&(M=B.window===B?B:(M=B.ownerDocument)?M.defaultView||M.parentWindow:window,$?(ve=r.relatedTarget||r.toElement,$=E,ve=ve?de(ve):null,ve!==null&&(bt=_(ve),Ee=ve.tag,ve!==bt||Ee!==5&&Ee!==27&&Ee!==6)&&(ve=null)):($=null,ve=E),$!==ve)){if(Ee=Hw,L="onMouseLeave",nt="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(Ee=qw,L="onPointerLeave",nt="onPointerEnter",O="pointer"),bt=$==null?M:Ae($),j=ve==null?M:Ae(ve),M=new Ee(L,O+"leave",$,r,B),M.target=bt,M.relatedTarget=j,L=null,de(B)===E&&(Ee=new Ee(nt,O+"enter",ve,r,B),Ee.target=j,Ee.relatedTarget=bt,L=Ee),bt=L,$&&ve)t:{for(Ee=Mz,nt=$,O=ve,j=0,L=nt;L;L=Ee(L))j++;L=0;for(var te=O;te;te=Ee(te))L++;for(;0<j-L;)nt=Ee(nt),j--;for(;0<L-j;)O=Ee(O),L--;for(;j--;){if(nt===O||O!==null&&nt===O.alternate){Ee=nt;break t}nt=Ee(nt),O=Ee(O)}Ee=null}else Ee=null;$!==null&&wS(H,M,$,Ee,!1),ve!==null&&bt!==null&&wS(H,bt,ve,Ee,!0)}}e:{if(M=E?Ae(E):window,$=M.nodeName&&M.nodeName.toLowerCase(),$==="select"||$==="input"&&M.type==="file")var Se=Bv;else if(Vv(M))if(Xw)Se=YR;else{Se=IR;var Be=qR}else $=M.nodeName,!$||$.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?E&&jl(E.elementType)&&(Se=Bv):Se=FR;if(Se&&(Se=Se(e,E))){Lv(H,Se,r,B);break e}Be&&Be(e,M,E),e==="focusout"&&E&&M.type==="number"&&E.memoizedProps.value!=null&&tm(M,"number",M.value)}switch(Be=E?Ae(E):window,e){case"focusin":(Vv(Be)||Be.contentEditable==="true")&&(Bs=Be,zy=E,Tu=null);break;case"focusout":Tu=zy=Bs=null;break;case"mousedown":Oy=!0;break;case"contextmenu":case"mouseup":case"dragend":Oy=!1,Gv(H,r,B);break;case"selectionchange":if(SM)break;case"keydown":case"keyup":Gv(H,r,B)}var Me;if(Ry)e:{switch(e){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else Ls?Uv(e,r)&&(Ce="onCompositionEnd"):e==="keydown"&&r.keyCode===Iw&&(Ce="onCompositionStart");Ce&&(Fw&&r.locale!=="ko"&&(Ls||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&Ls&&(Me=Mv()):(_i=B,ky="value"in _i?_i.value:_i.textContent,Ls=!0)),Be=qf(E,Ce),0<Be.length&&(Ce=new Pw(Ce,e,null,r,B),H.push({event:Ce,listeners:Be}),Me?Ce.data=Me:(Me=jv(r),Me!==null&&(Ce.data=Me)))),(Me=vM?LR(e,r):BR(e,r))&&(Ce=qf(E,"onBeforeInput"),0<Ce.length&&(Be=new rM("onBeforeInput","beforeinput",null,r,B),H.push({event:Be,listeners:Ce}),Be.data=Me)),Oz(H,e,E,r,B)}xS(H,t)})}function ou(e,t,r){return{instance:e,listener:t,currentTarget:r}}function qf(e,t){for(var r=t+"Capture",o=[];e!==null;){var l=e,c=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||c===null||(l=Ll(e,r),l!=null&&o.unshift(ou(e,l,c)),l=Ll(e,t),l!=null&&o.push(ou(e,l,c))),e.tag===3)return o;e=e.return}return[]}function Mz(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function wS(e,t,r,o,l){for(var c=t._reactName,m=[];r!==null&&r!==o;){var g=r,w=g.alternate,E=g.stateNode;if(g=g.tag,w!==null&&w===o)break;g!==5&&g!==26&&g!==27||E===null||(w=E,l?(E=Ll(r,c),E!=null&&m.unshift(ou(r,E,w))):l||(E=Ll(r,c),E!=null&&m.push(ou(r,E,w)))),r=r.return}m.length!==0&&e.push({event:t,listeners:m})}function Pp(e,t){_R(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Lw||(Lw=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var r={registrationNameDependencies:Ao,possibleRegistrationNames:Sy};jl(e)||typeof t.is=="string"||jR(e,t,r),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function on(e,t,r,o){t!==r&&(r=Ai(r),Ai(t)!==r&&(o[e]=t))}function _z(e,t,r){t.forEach(function(o){r[DS(o)]=o==="style"?Ip(e):e.getAttribute(o)})}function xa(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function ES(e,t){return e=e.namespaceURI===od||e.namespaceURI===_s?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Ai(e){return Ba(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Hr(e)),Pr(e)),(typeof e=="string"?e:""+e).replace(XM,`
181
+ `).replace(QM,"")}function TS(e,t){return t=Ai(t),Ai(e)===t}function mt(e,t,r,o,l,c){switch(r){case"children":typeof o=="string"?($c(o,t,!1),t==="body"||t==="textarea"&&o===""||Ul(e,o)):(typeof o=="number"||typeof o=="bigint")&&($c(""+o,t,!1),t!=="body"&&Ul(e,""+o));break;case"className":Fc(e,"class",o);break;case"tabIndex":Fc(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Fc(e,r,o);break;case"style":Cv(e,o,c);break;case"data":if(t!=="object"){Fc(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||r!=="href")){console.error(r==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',r,r),e.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}lt(o,r),o=Vl(""+o),e.setAttribute(r,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?r==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(l.encType==null&&l.method==null||Xd||(Xd=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),l.target==null||$d||($d=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?r==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||Gd?t!=="button"||l.type==null||l.type==="submit"||Gd?typeof o=="function"&&(l.name==null||ET||(ET=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),l.formEncType==null&&l.formMethod==null||Xd||(Xd=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),l.formTarget==null||$d||($d=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Gd=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Gd=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(r==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(r,"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"&&(r==="formAction"?(t!=="input"&&mt(e,t,"name",l.name,l,null),mt(e,t,"formEncType",l.formEncType,l,null),mt(e,t,"formMethod",l.formMethod,l,null),mt(e,t,"formTarget",l.formTarget,l,null)):(mt(e,t,"encType",l.encType,l,null),mt(e,t,"method",l.method,l,null),mt(e,t,"target",l.target,l,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}lt(o,r),o=Vl(""+o),e.setAttribute(r,o);break;case"onClick":o!=null&&(typeof o!="function"&&xa(r,o),e.onclick=qa);break;case"onScroll":o!=null&&(typeof o!="function"&&xa(r,o),et("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&xa(r,o),et("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=o.__html,r!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}lt(o,r),r=Vl(""+o),e.setAttributeNS(Go,"xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(lt(o,r),e.setAttribute(r,""+o)):e.removeAttribute(r);break;case"inert":o!==""||Qd[r]||(Qd[r]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",r));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":o===!0?e.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(lt(o,r),e.setAttribute(r,o)):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(lt(o,r),e.setAttribute(r,o)):e.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(r):(lt(o,r),e.setAttribute(r,o));break;case"popover":et("beforetoggle",e),et("toggle",e),cs(e,"popover",o);break;case"xlinkActuate":Pa(e,Go,"xlink:actuate",o);break;case"xlinkArcrole":Pa(e,Go,"xlink:arcrole",o);break;case"xlinkRole":Pa(e,Go,"xlink:role",o);break;case"xlinkShow":Pa(e,Go,"xlink:show",o);break;case"xlinkTitle":Pa(e,Go,"xlink:title",o);break;case"xlinkType":Pa(e,Go,"xlink:type",o);break;case"xmlBase":Pa(e,Dg,"xml:base",o);break;case"xmlLang":Pa(e,Dg,"xml:lang",o);break;case"xmlSpace":Pa(e,Dg,"xml:space",o);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),cs(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":TT||o==null||typeof o!="object"||(TT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"?(r=Rv(r),cs(e,r,o)):Ao.hasOwnProperty(r)&&o!=null&&typeof o!="function"&&xa(r,o)}}function qp(e,t,r,o,l,c){switch(r){case"style":Cv(e,o,c);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=o.__html,r!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"children":typeof o=="string"?Ul(e,o):(typeof o=="number"||typeof o=="bigint")&&Ul(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&xa(r,o),et("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&xa(r,o),et("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&xa(r,o),e.onclick=qa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ao.hasOwnProperty(r))o!=null&&typeof o!="function"&&xa(r,o);else e:{if(r[0]==="o"&&r[1]==="n"&&(l=r.endsWith("Capture"),t=r.slice(2,l?r.length-7:void 0),c=e[zn]||null,c=c!=null?c[r]:null,typeof c=="function"&&e.removeEventListener(t,c,l),typeof o=="function")){typeof c!="function"&&c!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,o,l);break e}r in e?e[r]=o:o===!0?e.setAttribute(r,""):cs(e,r,o)}}}function hn(e,t,r){switch(Pp(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":et("error",e),et("load",e);var o=!1,l=!1,c;for(c in r)if(r.hasOwnProperty(c)){var m=r[c];if(m!=null)switch(c){case"src":o=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,c,m,r,null)}}l&&mt(e,t,"srcSet",r.srcSet,r,null),o&&mt(e,t,"src",r.src,r,null);return;case"input":An("input",r),et("invalid",e);var g=c=m=l=null,w=null,E=null;for(o in r)if(r.hasOwnProperty(o)){var B=r[o];if(B!=null)switch(o){case"name":l=B;break;case"type":m=B;break;case"checked":w=B;break;case"defaultChecked":E=B;break;case"value":c=B;break;case"defaultValue":g=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,o,B,r,null)}}hv(e,r),mv(e,c,g,w,E,m,l,!1);return;case"select":An("select",r),et("invalid",e),o=m=c=null;for(l in r)if(r.hasOwnProperty(l)&&(g=r[l],g!=null))switch(l){case"value":c=g;break;case"defaultValue":m=g;break;case"multiple":o=g;default:mt(e,t,l,g,r,null)}gv(e,r),t=c,r=m,e.multiple=!!o,t!=null?fs(e,!!o,t,!1):r!=null&&fs(e,!!o,r,!0);return;case"textarea":An("textarea",r),et("invalid",e),c=l=o=null;for(m in r)if(r.hasOwnProperty(m)&&(g=r[m],g!=null))switch(m){case"value":o=g;break;case"defaultValue":l=g;break;case"children":c=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,m,g,r,null)}bv(e,r),xv(e,o,l,c);return;case"option":pv(e,r);for(w in r)r.hasOwnProperty(w)&&(o=r[w],o!=null)&&(w==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":mt(e,t,w,o,r,null));return;case"dialog":et("beforetoggle",e),et("toggle",e),et("cancel",e),et("close",e);break;case"iframe":case"object":et("load",e);break;case"video":case"audio":for(o=0;o<ec.length;o++)et(ec[o],e);break;case"image":et("error",e),et("load",e);break;case"details":et("toggle",e);break;case"embed":case"source":case"link":et("error",e),et("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(E in r)if(r.hasOwnProperty(E)&&(o=r[E],o!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,E,o,r,null)}return;default:if(jl(t)){for(B in r)r.hasOwnProperty(B)&&(o=r[B],o!==void 0&&qp(e,t,B,o,r,void 0));return}}for(g in r)r.hasOwnProperty(g)&&(o=r[g],o!=null&&mt(e,t,g,o,r,null))}function Uz(e,t,r,o){switch(Pp(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,c=null,m=null,g=null,w=null,E=null,B=null;for($ in r){var H=r[$];if(r.hasOwnProperty($)&&H!=null)switch($){case"checked":break;case"value":break;case"defaultValue":w=H;default:o.hasOwnProperty($)||mt(e,t,$,null,o,H)}}for(var M in o){var $=o[M];if(H=r[M],o.hasOwnProperty(M)&&($!=null||H!=null))switch(M){case"type":c=$;break;case"name":l=$;break;case"checked":E=$;break;case"defaultChecked":B=$;break;case"value":m=$;break;case"defaultValue":g=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$!==H&&mt(e,t,M,$,o,H)}}t=r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||wT||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),wT=!0),!t||o||ST||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),ST=!0),em(e,m,g,w,E,B,c,l);return;case"select":$=m=g=M=null;for(c in r)if(w=r[c],r.hasOwnProperty(c)&&w!=null)switch(c){case"value":break;case"multiple":$=w;default:o.hasOwnProperty(c)||mt(e,t,c,null,o,w)}for(l in o)if(c=o[l],w=r[l],o.hasOwnProperty(l)&&(c!=null||w!=null))switch(l){case"value":M=c;break;case"defaultValue":g=c;break;case"multiple":m=c;default:c!==w&&mt(e,t,l,c,o,w)}o=g,t=m,r=$,M!=null?fs(e,!!t,M,!1):!!r!=!!t&&(o!=null?fs(e,!!t,o,!0):fs(e,!!t,t?[]:"",!1));return;case"textarea":$=M=null;for(g in r)if(l=r[g],r.hasOwnProperty(g)&&l!=null&&!o.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:mt(e,t,g,null,o,l)}for(m in o)if(l=o[m],c=r[m],o.hasOwnProperty(m)&&(l!=null||c!=null))switch(m){case"value":M=l;break;case"defaultValue":$=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==c&&mt(e,t,m,l,o,c)}vv(e,M,$);return;case"option":for(var ve in r)M=r[ve],r.hasOwnProperty(ve)&&M!=null&&!o.hasOwnProperty(ve)&&(ve==="selected"?e.selected=!1:mt(e,t,ve,null,o,M));for(w in o)M=o[w],$=r[w],o.hasOwnProperty(w)&&M!==$&&(M!=null||$!=null)&&(w==="selected"?e.selected=M&&typeof M!="function"&&typeof M!="symbol":mt(e,t,w,M,o,$));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 Ee in r)M=r[Ee],r.hasOwnProperty(Ee)&&M!=null&&!o.hasOwnProperty(Ee)&&mt(e,t,Ee,null,o,M);for(E in o)if(M=o[E],$=r[E],o.hasOwnProperty(E)&&M!==$&&(M!=null||$!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,E,M,o,$)}return;default:if(jl(t)){for(var bt in r)M=r[bt],r.hasOwnProperty(bt)&&M!==void 0&&!o.hasOwnProperty(bt)&&qp(e,t,bt,void 0,o,M);for(B in o)M=o[B],$=r[B],!o.hasOwnProperty(B)||M===$||M===void 0&&$===void 0||qp(e,t,B,M,o,$);return}}for(var nt in r)M=r[nt],r.hasOwnProperty(nt)&&M!=null&&!o.hasOwnProperty(nt)&&mt(e,t,nt,null,o,M);for(H in o)M=o[H],$=r[H],!o.hasOwnProperty(H)||M===$||M==null&&$==null||mt(e,t,H,M,o,$)}function DS(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Ip(e){var t={};e=e.style;for(var r=0;r<e.length;r++){var o=e[r];t[o]=e.getPropertyValue(o)}return t}function kS(e,t,r){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,l=o="",c;for(c in t)if(t.hasOwnProperty(c)){var m=t[c];m!=null&&typeof m!="boolean"&&m!==""&&(c.indexOf("--")===0?(Wt(m,c),o+=l+c+":"+(""+m).trim()):typeof m!="number"||m===0||jw.has(c)?(Wt(m,c),o+=l+c.replace(zw,"-$1").toLowerCase().replace(Ow,"-ms-")+":"+(""+m).trim()):o+=l+c.replace(zw,"-$1").toLowerCase().replace(Ow,"-ms-")+":"+m+"px",l=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=Ai(o),Ai(t)!==o&&(r.style=Ip(e)))}}function xr(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(lt(o,t),e===""+o)return}on(t,e,o,c)}function NS(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}on(t,e,o,c)}function Fp(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(lt(o,r),e===""+o)return}on(t,e,o,c)}function AS(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(lt(o,t),e===""+o))return}on(t,e,o,c)}function Yp(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(lt(o,t),r=Vl(""+o),e===r)return}on(t,e,o,c)}function CS(e,t,r,o){for(var l={},c=new Set,m=e.attributes,g=0;g<m.length;g++)switch(m[g].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(m[g].name)}if(jl(t)){for(var w in r)if(r.hasOwnProperty(w)){var E=r[w];if(E!=null){if(Ao.hasOwnProperty(w))typeof E!="function"&&xa(w,E);else if(r.suppressHydrationWarning!==!0)switch(w){case"children":typeof E!="string"&&typeof E!="number"||on("children",e.textContent,E,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=ES(e,E),on(w,m,E,l));continue;case"style":c.delete(w),kS(e,E,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(w.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",w);continue;case"className":c.delete("class"),m=Ic(e,"class",E),on("className",m,E,l);continue;default:o.context===fi&&t!=="svg"&&t!=="math"?c.delete(w.toLowerCase()):c.delete(w),m=Ic(e,w,E),on(w,m,E,l)}}}}else for(E in r)if(r.hasOwnProperty(E)&&(w=r[E],w!=null)){if(Ao.hasOwnProperty(E))typeof w!="function"&&xa(E,w);else if(r.suppressHydrationWarning!==!0)switch(E){case"children":typeof w!="string"&&typeof w!="number"||on("children",e.textContent,w,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,w=w?w.__html:void 0,w!=null&&(w=ES(e,w),m!==w&&(l[E]={__html:m}));continue;case"className":xr(e,E,"class",w,c,l);continue;case"tabIndex":xr(e,E,"tabindex",w,c,l);continue;case"style":c.delete(E),kS(e,w,l);continue;case"multiple":c.delete(E),on(E,e.multiple,w,l);continue;case"muted":c.delete(E),on(E,e.muted,w,l);continue;case"autoFocus":c.delete("autofocus"),on(E,e.autofocus,w,l);continue;case"data":if(t!=="object"){c.delete(E),m=e.getAttribute("data"),on(E,m,w,l);continue}case"src":case"href":if(!(w!==""||t==="a"&&E==="href"||t==="object"&&E==="data")){console.error(E==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',E,E);continue}Yp(e,E,E,w,c,l);continue;case"action":case"formAction":if(m=e.getAttribute(E),typeof w=="function"){c.delete(E.toLowerCase()),E==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(m===ZM){c.delete(E.toLowerCase()),on(E,"function",w,l);continue}Yp(e,E,E.toLowerCase(),w,c,l);continue;case"xlinkHref":Yp(e,E,"xlink:href",w,c,l);continue;case"contentEditable":Fp(e,E,"contenteditable",w,c,l);continue;case"spellCheck":Fp(e,E,"spellcheck",w,c,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Fp(e,E,E,w,c,l);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":NS(e,E,E.toLowerCase(),w,c,l);continue;case"capture":case"download":e:{g=e;var B=m=E,H=l;if(c.delete(B),g=g.getAttribute(B),g===null)switch(typeof w){case"undefined":case"function":case"symbol":break e;default:if(w===!1)break e}else if(w!=null)switch(typeof w){case"function":case"symbol":break;case"boolean":if(w===!0&&g==="")break e;break;default:if(lt(w,m),g===""+w)break e}on(m,g,w,H)}continue;case"cols":case"rows":case"size":case"span":e:{if(g=e,B=m=E,H=l,c.delete(B),g=g.getAttribute(B),g===null)switch(typeof w){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(w)||1>w)break e}else if(w!=null)switch(typeof w){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(w)||1>w)&&(lt(w,m),g===""+w))break e}on(m,g,w,H)}continue;case"rowSpan":AS(e,E,"rowspan",w,c,l);continue;case"start":AS(e,E,E,w,c,l);continue;case"xHeight":xr(e,E,"x-height",w,c,l);continue;case"xlinkActuate":xr(e,E,"xlink:actuate",w,c,l);continue;case"xlinkArcrole":xr(e,E,"xlink:arcrole",w,c,l);continue;case"xlinkRole":xr(e,E,"xlink:role",w,c,l);continue;case"xlinkShow":xr(e,E,"xlink:show",w,c,l);continue;case"xlinkTitle":xr(e,E,"xlink:title",w,c,l);continue;case"xlinkType":xr(e,E,"xlink:type",w,c,l);continue;case"xmlBase":xr(e,E,"xml:base",w,c,l);continue;case"xmlLang":xr(e,E,"xml:lang",w,c,l);continue;case"xmlSpace":xr(e,E,"xml:space",w,c,l);continue;case"inert":w!==""||Qd[E]||(Qd[E]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",E)),NS(e,E,E,w,c,l);continue;default:if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){g=Rv(E),m=!1,o.context===fi&&t!=="svg"&&t!=="math"?c.delete(g.toLowerCase()):(B=E.toLowerCase(),B=sd.hasOwnProperty(B)&&sd[B]||null,B!==null&&B!==E&&(m=!0,c.delete(B)),c.delete(g));e:if(B=e,H=g,g=w,aa(H))if(B.hasAttribute(H))B=B.getAttribute(H),lt(g,H),g=B===""+g?g:B;else{switch(typeof g){case"function":case"symbol":break e;case"boolean":if(B=H.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")break e}g=g===void 0?void 0:null}else g=void 0;m||on(E,g,w,l)}}}return 0<c.size&&r.suppressHydrationWarning!==!0&&_z(e,c,l),Object.keys(l).length===0?null:l}function jz(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function RS(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Vz(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),o=0;o<r.length;o++){var l=r[o],c=l.transferSize,m=l.initiatorType,g=l.duration;if(c&&g&&RS(m)){for(m=0,g=l.responseEnd,o+=1;o<r.length;o++){var w=r[o],E=w.startTime;if(E>g)break;var B=w.transferSize,H=w.initiatorType;B&&RS(H)&&(w=w.responseEnd,m+=B*(w<g?1:(g-E)/(w-E)))}if(--o,t+=8*(c+m)/(l.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}function If(e){return e.nodeType===9?e:e.ownerDocument}function zS(e){switch(e){case _s:return cl;case od:return Jd;default:return fi}}function OS(e,t){if(e===fi)switch(t){case"svg":return cl;case"math":return Jd;default:return fi}return e===cl&&t==="foreignObject"?fi:e}function Gp(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}function Lz(){var e=window.event;return e&&e.type==="popstate"?e===Cg?!1:(Cg=e,!0):(Cg=null,!1)}function su(){var e=window.event;return e&&e!==rc?e.type:null}function lu(){var e=window.event;return e&&e!==rc?e.timeStamp:-1.1}function Bz(e){setTimeout(function(){throw e})}function Hz(e,t,r){switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&e.focus();break;case"img":r.src?e.src=r.src:r.srcSet&&(e.srcset=r.srcSet)}}function Pz(){}function qz(e,t,r,o){Uz(e,t,r,o),e[zn]=o}function MS(e){Ul(e,"")}function Iz(e,t,r){e.nodeValue=r}function _S(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[zn]||null;if(t!==null){var r=be(e);r!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,we(r,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,we(r,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Ci(e){return e==="head"}function Fz(e,t){e.removeChild(t)}function Yz(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function US(e,t){var r=t,o=0;do{var l=r.nextSibling;if(e.removeChild(r),l&&l.nodeType===8)if(r=l.data,r===nc||r===Zd){if(o===0){e.removeChild(l),As(t);return}o--}else if(r===tc||r===Ki||r===Xo||r===ul||r===$o)o++;else if(r===KM)uu(e.ownerDocument.documentElement);else if(r===e_){r=e.ownerDocument.head,uu(r);for(var c=r.firstChild;c;){var m=c.nextSibling,g=c.nodeName;c[yu]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||r.removeChild(c),c=m}}else r===WM&&uu(e.ownerDocument.body);r=l}while(r);As(t)}function jS(e,t){var r=e;e=0;do{var o=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),o&&o.nodeType===8)if(r=o.data,r===nc){if(e===0)break;e--}else r!==tc&&r!==Ki&&r!==Xo&&r!==ul||e++;r=o}while(r)}function Gz(e){jS(e,!0)}function $z(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Xz(e){e.nodeValue=""}function Qz(e){jS(e,!1)}function Zz(e,t){t=t[t_],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Jz(e,t){e.nodeValue=t}function $p(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":$p(r),q(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function Kz(e,t,r,o){for(;e.nodeType===1;){var l=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[yu])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!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){lt(l.name,"name");var c=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=or(e.nextSibling),e===null)break}return null}function Wz(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=or(e.nextSibling),e===null))return null;return e}function VS(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=or(e.nextSibling),e===null))return null;return e}function Xp(e){return e.data===Ki||e.data===Xo}function Qp(e){return e.data===ul||e.data===Ki&&e.ownerDocument.readyState!==kT}function eO(e,t){var r=e.ownerDocument;if(e.data===Xo)e._reactRetry=t;else if(e.data!==Ki||r.readyState!==kT)t();else{var o=function(){t(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function or(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===tc||t===ul||t===Ki||t===Xo||t===$o||t===kg||t===DT)break;if(t===nc||t===Zd)return null}}return e}function LS(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),r={},o=e.attributes,l=0;l<o.length;l++){var c=o[l];r[DS(c.name)]=c.name.toLowerCase()==="style"?Ip(e):c.value}return{type:t,props:r}}return e.nodeType===8?e.data===$o?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function BS(e,t,r){return r===null||r[JM]!==!0?(e.nodeValue===t?e=null:(t=Ai(t),e=Ai(e.nodeValue)===t?null:e.nodeValue),e):null}function Zp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===nc||r===Zd){if(t===0)return or(e.nextSibling);t--}else r!==tc&&r!==ul&&r!==Ki&&r!==Xo&&r!==$o||t++}e=e.nextSibling}return null}function HS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===tc||r===ul||r===Ki||r===Xo||r===$o){if(t===0)return e;t--}else r!==nc&&r!==Zd||t++}e=e.previousSibling}return null}function tO(e){As(e)}function nO(e){As(e)}function rO(e){As(e)}function PS(e,t,r,o,l){switch(l&&om(e,o.ancestorInfo),t=If(r),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function aO(e,t,r,o){if(!r[Mi]&&be(r)){var l=r.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",l,l,l)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(l=r.attributes;l.length;)r.removeAttributeNode(l[0]);hn(r,e,t),r[mn]=o,r[zn]=t}function uu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);q(e)}function Ff(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function qS(e,t,r){var o=fl;if(o&&typeof t=="string"&&t){var l=vr(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof r=="string"&&(l+='[crossorigin="'+r+'"]'),OT.has(l)||(OT.add(l),e={rel:e,crossOrigin:r,href:t},o.querySelector(l)===null&&(t=o.createElement("link"),hn(t,"link",e),Oe(t),o.head.appendChild(t)))}}function IS(e,t,r,o){var l=(l=zi.current)?Ff(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(r=ks(r.href),t=Pe(l).hoistableStyles,o=t.get(r),o||(o={type:"style",instance:null,count:0,state:null},t.set(r,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=ks(r.href);var c=Pe(l).hoistableStyles,m=c.get(e);if(!m&&(l=l.ownerDocument||l,m={type:"stylesheet",instance:null,count:0,state:{loading:Zo,preload:null}},c.set(e,m),(c=l.querySelector(cu(e)))&&!c._p&&(m.instance=c,m.state.loading=ac|Or),!Mr.has(e))){var g={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy};Mr.set(e,g),c||iO(l,e,g,m.state)}if(t&&o===null)throw r=`
182
182
 
183
183
  - `+Yf(t)+`
184
184
  + `+Yf(r),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+r);return m}if(t&&o!==null)throw r=`
185
185
 
186
186
  - `+Yf(t)+`
187
- + `+Yf(r),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+r);return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(r=Ns(r),t=Pe(l).hoistableScripts,o=t.get(r),o||(o={type:"script",instance:null,count:0,state:null},t.set(r,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Yf(e){var t=0,r="<link";return typeof e.rel=="string"?(t++,r+=' rel="'+e.rel+'"'):Gr.call(e,"rel")&&(t++,r+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,r+=' href="'+e.href+'"'):Gr.call(e,"href")&&(t++,r+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,r+=' precedence="'+e.precedence+'"'):Gr.call(e,"precedence")&&(t++,r+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(r+=" ..."),r+" />"}function ws(e){return'href="'+vr(e)+'"'}function cu(e){return'link[rel="stylesheet"]['+e+"]"}function IS(e){return Je({},e,{"data-precedence":e.precedence,precedence:null})}function aM(e,t,r,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=ac:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=ac}),t.addEventListener("error",function(){return o.loading|=CT}),hn(t,"link",r),Me(t),e.head.appendChild(t))}function Ns(e){return'[src="'+vr(e)+'"]'}function fu(e){return"script[async]"+e}function FS(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+vr(r.href)+'"]');if(o)return t.instance=o,Me(o),o;var l=Je({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),Me(o),hn(o,"style",l),Gf(o,r.precedence,e),t.instance=o;case"stylesheet":l=ws(r.href);var c=e.querySelector(cu(l));if(c)return t.state.loading|=Mr,t.instance=c,Me(c),c;o=IS(r),(l=_r.get(l))&&Jp(o,l),c=(e.ownerDocument||e).createElement("link"),Me(c);var m=c;return m._p=new Promise(function(y,D){m.onload=y,m.onerror=D}),hn(c,"link",o),t.state.loading|=Mr,Gf(c,r.precedence,e),t.instance=c;case"script":return c=Ns(r.src),(l=e.querySelector(fu(c)))?(t.instance=l,Me(l),l):(o=r,(l=_r.get(c))&&(o=Je({},r),Kp(o,l)),e=e.ownerDocument||e,l=e.createElement("script"),Me(l),hn(l,"link",o),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Mr)===Zo&&(o=t.instance,t.state.loading|=Mr,Gf(o,r.precedence,e));return t.instance}function Gf(e,t,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=o.length?o[o.length-1]:null,c=l,m=0;m<o.length;m++){var y=o[m];if(y.dataset.precedence===t)c=y;else if(c!==l)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function Jp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Kp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function YS(e,t,r){if(Kd===null){var o=new Map,l=Kd=new Map;l.set(r,o)}else l=Kd,o=l.get(r),o||(o=new Map,l.set(r,o));if(o.has(e))return o;for(o.set(e,null),r=r.getElementsByTagName(e),l=0;l<r.length;l++){var c=r[l];if(!(c[gu]||c[mn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==zs){var m=c.getAttribute(t)||"";m=e+m;var y=o.get(m);y?y.push(c):o.set(m,[c])}}return o}function GS(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function iM(e,t,r){var o=!r.ancestorInfo.containerTagInScope;if(r.context===cl||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var l=t.onError,c=t.disabled;r=[],t.onLoad&&r.push("`onLoad`"),l&&r.push("`onError`"),c!=null&&r.push("`disabled`"),l=UO(r,"and"),l+=r.length===1?" prop":" props",c=r.length===1?"an "+l:"the "+l,r.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,c,l)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function $S(e){return!(e.type==="stylesheet"&&(e.state.loading&RT)===Zo)}function oM(e,t,r,o){if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&Mr)===Zo){if(r.instance===null){var l=ws(o.href),c=t.querySelector(cu(l));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=$f.bind(e),t.then(e,e)),r.state.loading|=Mr,r.instance=c,Me(c);return}c=t.ownerDocument||t,o=IS(o),(l=_r.get(l))&&Jp(o,l),c=c.createElement("link"),Me(c);var m=c;m._p=new Promise(function(y,D){m.onload=y,m.onerror=D}),hn(c,"link",o),r.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&RT)===Zo&&(e.count++,r=$f.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}function sM(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var o=setTimeout(function(){if(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},rz+t);0<e.imgBytes&&Oy===0&&(Oy=125*jO()*iz);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>Oy?50:az)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(l)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Wd=new Map,t.forEach(lM,e),Wd=null,$f.call(e))}function lM(e,t){if(!(t.state.loading&Mr)){var r=Wd.get(e);if(r)var o=r.get(My);else{r=new Map,Wd.set(e,r);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<l.length;c++){var m=l[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(r.set(m.dataset.precedence,m),o=m)}o&&r.set(My,o)}l=t.instance,m=l.getAttribute("data-precedence"),c=r.get(m)||o,c===o&&r.set(My,l),r.set(m,l),this.count++,o=$f.bind(this),l.addEventListener("load",o),l.addEventListener("error",o),c?c.parentNode.insertBefore(l,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=Mr}}function uM(e,t,r,o,l,c,m,y,D){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Qo,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ee(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ee(0),this.hiddenUpdates=ee(null),this.identifierPrefix=o,this.onUncaughtError=l,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=r?"hydrateRoot()":"createRoot()"}function XS(e,t,r,o,l,c,m,y,D,E,B,H){return e=new uM(e,t,r,m,D,E,B,H,y),t=C_,c===!0&&(t|=xn|$r),t|=Ye,c=x(3,null,null,t),e.current=c,c.stateNode=e,t=wm(),So(t),e.pooledCache=t,So(t),c.memoizedState={element:o,isDehydrated:r,cache:t},Om(c),e}function QS(e){return e?(e=Vi,e):Vi}function Wp(e,t,r,o,l,c){if(vn&&typeof vn.onScheduleFiberRoot=="function")try{vn.onScheduleFiberRoot(Ms,o,r)}catch(m){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",m))}l=QS(l),o.context===null?o.context=l:o.pendingContext=l,Ea&&lr!==null&&!UT&&(UT=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
187
+ + `+Yf(r),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+r);return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(r=Ns(r),t=Pe(l).hoistableScripts,o=t.get(r),o||(o={type:"script",instance:null,count:0,state:null},t.set(r,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Yf(e){var t=0,r="<link";return typeof e.rel=="string"?(t++,r+=' rel="'+e.rel+'"'):Gr.call(e,"rel")&&(t++,r+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,r+=' href="'+e.href+'"'):Gr.call(e,"href")&&(t++,r+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,r+=' precedence="'+e.precedence+'"'):Gr.call(e,"precedence")&&(t++,r+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(r+=" ..."),r+" />"}function ks(e){return'href="'+vr(e)+'"'}function cu(e){return'link[rel="stylesheet"]['+e+"]"}function FS(e){return Je({},e,{"data-precedence":e.precedence,precedence:null})}function iO(e,t,r,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=ac:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=ac}),t.addEventListener("error",function(){return o.loading|=RT}),hn(t,"link",r),Oe(t),e.head.appendChild(t))}function Ns(e){return'[src="'+vr(e)+'"]'}function fu(e){return"script[async]"+e}function YS(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+vr(r.href)+'"]');if(o)return t.instance=o,Oe(o),o;var l=Je({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),Oe(o),hn(o,"style",l),Gf(o,r.precedence,e),t.instance=o;case"stylesheet":l=ks(r.href);var c=e.querySelector(cu(l));if(c)return t.state.loading|=Or,t.instance=c,Oe(c),c;o=FS(r),(l=Mr.get(l))&&Jp(o,l),c=(e.ownerDocument||e).createElement("link"),Oe(c);var m=c;return m._p=new Promise(function(g,w){m.onload=g,m.onerror=w}),hn(c,"link",o),t.state.loading|=Or,Gf(c,r.precedence,e),t.instance=c;case"script":return c=Ns(r.src),(l=e.querySelector(fu(c)))?(t.instance=l,Oe(l),l):(o=r,(l=Mr.get(c))&&(o=Je({},r),Kp(o,l)),e=e.ownerDocument||e,l=e.createElement("script"),Oe(l),hn(l,"link",o),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Or)===Zo&&(o=t.instance,t.state.loading|=Or,Gf(o,r.precedence,e));return t.instance}function Gf(e,t,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=o.length?o[o.length-1]:null,c=l,m=0;m<o.length;m++){var g=o[m];if(g.dataset.precedence===t)c=g;else if(c!==l)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function Jp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Kp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function GS(e,t,r){if(Kd===null){var o=new Map,l=Kd=new Map;l.set(r,o)}else l=Kd,o=l.get(r),o||(o=new Map,l.set(r,o));if(o.has(e))return o;for(o.set(e,null),r=r.getElementsByTagName(e),l=0;l<r.length;l++){var c=r[l];if(!(c[yu]||c[mn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==_s){var m=c.getAttribute(t)||"";m=e+m;var g=o.get(m);g?g.push(c):o.set(m,[c])}}return o}function $S(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function oO(e,t,r){var o=!r.ancestorInfo.containerTagInScope;if(r.context===cl||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var l=t.onError,c=t.disabled;r=[],t.onLoad&&r.push("`onLoad`"),l&&r.push("`onError`"),c!=null&&r.push("`disabled`"),l=jz(r,"and"),l+=r.length===1?" prop":" props",c=r.length===1?"an "+l:"the "+l,r.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,c,l)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function XS(e){return!(e.type==="stylesheet"&&(e.state.loading&zT)===Zo)}function sO(e,t,r,o){if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&Or)===Zo){if(r.instance===null){var l=ks(o.href),c=t.querySelector(cu(l));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=$f.bind(e),t.then(e,e)),r.state.loading|=Or,r.instance=c,Oe(c);return}c=t.ownerDocument||t,o=FS(o),(l=Mr.get(l))&&Jp(o,l),c=c.createElement("link"),Oe(c);var m=c;m._p=new Promise(function(g,w){m.onload=g,m.onerror=w}),hn(c,"link",o),r.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&zT)===Zo&&(e.count++,r=$f.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}function lO(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var o=setTimeout(function(){if(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},a_+t);0<e.imgBytes&&zg===0&&(zg=125*Vz()*o_);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>zg?50:i_)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(l)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Wd=new Map,t.forEach(uO,e),Wd=null,$f.call(e))}function uO(e,t){if(!(t.state.loading&Or)){var r=Wd.get(e);if(r)var o=r.get(Og);else{r=new Map,Wd.set(e,r);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<l.length;c++){var m=l[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(r.set(m.dataset.precedence,m),o=m)}o&&r.set(Og,o)}l=t.instance,m=l.getAttribute("data-precedence"),c=r.get(m)||o,c===o&&r.set(Og,l),r.set(m,l),this.count++,o=$f.bind(this),l.addEventListener("load",o),l.addEventListener("error",o),c?c.parentNode.insertBefore(l,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=Or}}function cO(e,t,r,o,l,c,m,g,w){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Qo,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ee(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ee(0),this.hiddenUpdates=ee(null),this.identifierPrefix=o,this.onUncaughtError=l,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=r?"hydrateRoot()":"createRoot()"}function QS(e,t,r,o,l,c,m,g,w,E,B,H){return e=new cO(e,t,r,m,w,E,B,H,g),t=RM,c===!0&&(t|=xn|$r),t|=Ye,c=x(3,null,null,t),e.current=c,c.stateNode=e,t=km(),So(t),e.pooledCache=t,So(t),c.memoizedState={element:o,isDehydrated:r,cache:t},zm(c),e}function ZS(e){return e?(e=Vi,e):Vi}function Wp(e,t,r,o,l,c){if(vn&&typeof vn.onScheduleFiberRoot=="function")try{vn.onScheduleFiberRoot(Os,o,r)}catch(m){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",m))}l=ZS(l),o.context===null?o.context=l:o.pendingContext=l,Ea&&lr!==null&&!jT&&(jT=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
188
188
 
189
- Check the render method of %s.`,F(lr)||"Unknown")),o=Di(t),o.payload={element:r},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),o.callback=c),r=Ei(e,o,t),r!==null&&(la(t,"root.render()",null),Ot(r,e,t),Yl(r,e,t))}function ZS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function eg(e,t){ZS(e,t),(e=e.alternate)&&ZS(e,t)}function JS(e){if(e.tag===13||e.tag===31){var t=bn(e,67108864);t!==null&&Ot(t,e,67108864),eg(e,67108864)}}function KS(e){if(e.tag===13||e.tag===31){var t=ir(e);t=an(t);var r=bn(e,t);r!==null&&Ot(r,e,t),eg(e,t)}}function cM(){return lr}function fM(e,t,r,o){var l=J.T;J.T=null;var c=ft.p;try{ft.p=Sr,tg(e,t,r,o)}finally{ft.p=c,J.T=l}}function dM(e,t,r,o){var l=J.T;J.T=null;var c=ft.p;try{ft.p=wa,tg(e,t,r,o)}finally{ft.p=c,J.T=l}}function tg(e,t,r,o){if(th){var l=ng(o);if(l===null)Hp(e,t,o,nh,r),eD(e,o);else if(hM(l,e,t,r,o))o.stopPropagation();else if(eD(e,o),t&4&&-1<sz.indexOf(e)){for(;l!==null;){var c=be(l);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=gr(c.pendingLanes);if(m!==0){var y=c;for(y.pendingLanes|=2,y.entangledLanes|=2;m;){var D=1<<31-Rn(m);y.entanglements[1]|=D,m&=~D}va(c),(st&(nn|dr))===cn&&(Ld=sn()+uT,iu(0))}}break;case 31:case 13:y=bn(c,2),y!==null&&Ot(y,c,2),Es(),eg(c,2)}if(c=ng(o),c===null&&Hp(e,t,o,nh,r),c===l)break;l=c}l!==null&&o.stopPropagation()}else Hp(e,t,o,null,r)}}function ng(e){return e=sm(e),rg(e)}function rg(e){if(nh=null,e=de(e),e!==null){var t=z(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=Q(t),e!==null)return e;e=null}else if(r===31){if(e=I(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return nh=e,null}function WS(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Sr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return wa;case"message":switch(EM()){case yg:return Sr;case bg:return wa;case Os:case TM:return Ja;case vg:return ad;default:return Ja}default:return Ja}}function eD(e,t){switch(e){case"focusin":case"focusout":Wi=null;break;case"dragenter":case"dragleave":eo=null;break;case"mouseover":case"mouseout":to=null;break;case"pointerover":case"pointerout":oc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sc.delete(t.pointerId)}}function du(e,t,r,o,l,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:c,targetContainers:[l]},t!==null&&(t=be(t),t!==null&&JS(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function hM(e,t,r,o,l){switch(t){case"focusin":return Wi=du(Wi,e,t,r,o,l),!0;case"dragenter":return eo=du(eo,e,t,r,o,l),!0;case"mouseover":return to=du(to,e,t,r,o,l),!0;case"pointerover":var c=l.pointerId;return oc.set(c,du(oc.get(c)||null,e,t,r,o,l)),!0;case"gotpointercapture":return c=l.pointerId,sc.set(c,du(sc.get(c)||null,e,t,r,o,l)),!0}return!1}function tD(e){var t=de(e.target);if(t!==null){var r=z(t);if(r!==null){if(t=r.tag,t===13){if(t=Q(r),t!==null){e.blockedOn=t,T(e.priority,function(){KS(r)});return}}else if(t===31){if(t=I(r),t!==null){e.blockedOn=t,T(e.priority,function(){KS(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Qf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=ng(e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r),l=o;yu!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),yu=l,r.target.dispatchEvent(o),yu===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),yu=null}else return t=be(r),t!==null&&JS(t),e.blockedOn=r,!1;t.shift()}return!0}function nD(e,t,r){Qf(e)&&r.delete(t)}function mM(){_y=!1,Wi!==null&&Qf(Wi)&&(Wi=null),eo!==null&&Qf(eo)&&(eo=null),to!==null&&Qf(to)&&(to=null),oc.forEach(nD),sc.forEach(nD)}function Zf(e,t){e.blockedOn===t&&(e.blockedOn=null,_y||(_y=!0,It.unstable_scheduleCallback(It.unstable_NormalPriority,mM)))}function rD(e){rh!==e&&(rh=e,It.unstable_scheduleCallback(It.unstable_NormalPriority,function(){rh===e&&(rh=null);for(var t=0;t<e.length;t+=3){var r=e[t],o=e[t+1],l=e[t+2];if(typeof o!="function"){if(rg(o||r)===null)continue;break}var c=be(r);c!==null&&(e.splice(t,3),t-=3,r={pending:!0,data:l,method:r.method,action:o},Object.freeze(r),rp(c,r,o,l))}}))}function ks(e){function t(D){return Zf(D,e)}Wi!==null&&Zf(Wi,e),eo!==null&&Zf(eo,e),to!==null&&Zf(to,e),oc.forEach(t),sc.forEach(t);for(var r=0;r<no.length;r++){var o=no[r];o.blockedOn===e&&(o.blockedOn=null)}for(;0<no.length&&(r=no[0],r.blockedOn===null);)tD(r),r.blockedOn===null&&no.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var l=r[o],c=r[o+1],m=l[On]||null;if(typeof c=="function")m||rD(r);else if(m){var y=null;if(c&&c.hasAttribute("formAction")){if(l=c,m=c[On]||null)y=m.formAction;else if(rg(l)!==null)continue}else y=m.action;typeof y=="function"?r[o+1]=y:(r.splice(o,3),o-=3),rD(r)}}}function aD(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return l=m})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),o||setTimeout(r,20)}function r(){if(!o&&!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 o=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function ag(e){this._internalRoot=e}function Jf(e){this._internalRoot=e}function iD(e){e[_i]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var It=hz(),ig=Oc(),pM=pz(),Je=Object.assign,gM=Symbol.for("react.element"),Sa=Symbol.for("react.transitional.element"),Cs=Symbol.for("react.portal"),Rs=Symbol.for("react.fragment"),Kf=Symbol.for("react.strict_mode"),og=Symbol.for("react.profiler"),sg=Symbol.for("react.consumer"),Da=Symbol.for("react.context"),hu=Symbol.for("react.forward_ref"),lg=Symbol.for("react.suspense"),ug=Symbol.for("react.suspense_list"),Wf=Symbol.for("react.memo"),sr=Symbol.for("react.lazy"),cg=Symbol.for("react.activity"),yM=Symbol.for("react.memo_cache_sentinel"),oD=Symbol.iterator,bM=Symbol.for("react.client.reference"),en=Array.isArray,J=ig.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ft=pM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vM=Object.freeze({pending:!1,data:null,method:null,action:null}),fg=[],dg=[],Za=-1,Ri=he(null),mu=he(null),Oi=he(null),ed=he(null),pu=0,sD,lD,uD,cD,fD,dD,hD;O.__reactDisabledLog=!0;var hg,mD,mg=!1,pg=new(typeof WeakMap=="function"?WeakMap:Map),lr=null,Ea=!1,Gr=Object.prototype.hasOwnProperty,gg=It.unstable_scheduleCallback,xM=It.unstable_cancelCallback,SM=It.unstable_shouldYield,DM=It.unstable_requestPaint,sn=It.unstable_now,EM=It.unstable_getCurrentPriorityLevel,yg=It.unstable_ImmediatePriority,bg=It.unstable_UserBlockingPriority,Os=It.unstable_NormalPriority,TM=It.unstable_LowPriority,vg=It.unstable_IdlePriority,AM=It.log,wM=It.unstable_setDisableYieldValue,Ms=null,vn=null,Ta=!1,Aa=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Rn=Math.clz32?Math.clz32:yi,NM=Math.log,kM=Math.LN2,td=256,nd=262144,rd=4194304,Sr=2,wa=8,Ja=32,ad=268435456,Mi=Math.random().toString(36).slice(2),mn="__reactFiber$"+Mi,On="__reactProps$"+Mi,_i="__reactContainer$"+Mi,xg="__reactEvents$"+Mi,CM="__reactListeners$"+Mi,RM="__reactHandles$"+Mi,pD="__reactResources$"+Mi,gu="__reactMarker$"+Mi,gD=new Set,ko={},Sg={},OM={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},MM=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]*$"),yD={},bD={},_M=/[\n"\\]/g,vD=!1,xD=!1,SD=!1,DD=!1,ED=!1,TD=!1,AD=["value","defaultValue"],wD=!1,ND=/["'&<>\n\t]|^\s|\s$/,zM="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),kD="applet caption html table td th marquee object template foreignObject desc title".split(" "),UM=kD.concat(["button"]),jM="dd dt li option optgroup p rp rt".split(" "),CD={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},id={},Dg={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},RD=/([A-Z])/g,OD=/^ms-/,VM=/^(?:webkit|moz|o)[A-Z]/,LM=/^-ms-/,BM=/-(.)/g,MD=/;\s*$/,_s={},Eg={},_D=!1,zD=!1,UD=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(" ")),od="http://www.w3.org/1998/Math/MathML",zs="http://www.w3.org/2000/svg",HM=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),sd={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},jD={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Us={},PM=RegExp("^(aria)-[: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]*$"),qM=RegExp("^(aria)[A-Z][: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]*$"),VD=!1,Mn={},LD=/^on./,IM=/^on[^A-Z]/,FM=RegExp("^(aria)-[: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]*$"),YM=RegExp("^(aria)[A-Z][: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]*$"),GM=/^[\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,yu=null,js=null,Vs=null,Tg=!1,Na=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ag=!1;if(Na)try{var bu={};Object.defineProperty(bu,"passive",{get:function(){Ag=!0}}),window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch{Ag=!1}var zi=null,wg=null,ld=null,Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ud=Hn(Co),vu=Je({},Co,{view:0,detail:0}),$M=Hn(vu),Ng,kg,xu,cd=Je({},vu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lm,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!==xu&&(xu&&e.type==="mousemove"?(Ng=e.screenX-xu.screenX,kg=e.screenY-xu.screenY):kg=Ng=0,xu=e),Ng)},movementY:function(e){return"movementY"in e?e.movementY:kg}}),BD=Hn(cd),XM=Je({},cd,{dataTransfer:0}),QM=Hn(XM),ZM=Je({},vu,{relatedTarget:0}),Cg=Hn(ZM),JM=Je({},Co,{animationName:0,elapsedTime:0,pseudoElement:0}),KM=Hn(JM),WM=Je({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),e_=Hn(WM),t_=Je({},Co,{data:0}),HD=Hn(t_),n_=HD,r_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a_={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"},i_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},o_=Je({},vu,{key:function(e){if(e.key){var t=r_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?a_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lm,charCode:function(e){return e.type==="keypress"?Xc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),s_=Hn(o_),l_=Je({},cd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),PD=Hn(l_),u_=Je({},vu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lm}),c_=Hn(u_),f_=Je({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0}),d_=Hn(f_),h_=Je({},cd,{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}),m_=Hn(h_),p_=Je({},Co,{newState:0,oldState:0}),g_=Hn(p_),y_=[9,13,27,32],qD=229,Rg=Na&&"CompositionEvent"in window,Su=null;Na&&"documentMode"in document&&(Su=document.documentMode);var b_=Na&&"TextEvent"in window&&!Su,ID=Na&&(!Rg||Su&&8<Su&&11>=Su),FD=32,YD=String.fromCharCode(FD),GD=!1,Ls=!1,v_={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},Du=null,Eu=null,$D=!1;Na&&($D=BR("input")&&(!document.documentMode||9<document.documentMode));var _n=typeof Object.is=="function"?Object.is:YR,x_=Na&&"documentMode"in document&&11>=document.documentMode,Bs=null,Og=null,Tu=null,Mg=!1,Hs={animationend:mo("Animation","AnimationEnd"),animationiteration:mo("Animation","AnimationIteration"),animationstart:mo("Animation","AnimationStart"),transitionrun:mo("Transition","TransitionRun"),transitionstart:mo("Transition","TransitionStart"),transitioncancel:mo("Transition","TransitionCancel"),transitionend:mo("Transition","TransitionEnd")},_g={},XD={};Na&&(XD=document.createElement("div").style,"AnimationEvent"in window||(delete Hs.animationend.animation,delete Hs.animationiteration.animation,delete Hs.animationstart.animation),"TransitionEvent"in window||delete Hs.transitionend.transition);var QD=po("animationend"),ZD=po("animationiteration"),JD=po("animationstart"),S_=po("transitionrun"),D_=po("transitionstart"),E_=po("transitioncancel"),KD=po("transitionend"),WD=new Map,zg="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");zg.push("scrollEnd");var eE=0;if(typeof performance=="object"&&typeof performance.now=="function")var T_=performance,tE=function(){return T_.now()};else{var A_=Date;tE=function(){return A_.now()}}var Ug=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)},w_="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",fd=0,jg=1,Vg=2,Lg=3,dd="– ",hd="+ ",nE="  ",vt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Dr="Components ⚛",tt="Scheduler ⚛",rt="Blocking",Ui=!1,Ka={color:"primary",properties:null,tooltipText:"",track:Dr},ji={start:-0,end:-0,detail:{devtools:Ka}},N_=["Changed Props",""],rE="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",k_=["Changed Props",rE],Au=1,Wa=2,Er=[],Ps=0,Bg=0,Vi={};Object.freeze(Vi);var Tr=null,qs=null,Ve=0,C_=1,Ye=2,xn=8,$r=16,R_=32,aE=!1;try{var iE=Object.preventExtensions({})}catch{aE=!0}var Hg=new WeakMap,Is=[],Fs=0,md=null,wu=0,Ar=[],wr=0,Ro=null,ei=1,ti="",pn=null,xt=null,We=!1,ka=!1,ur=null,Li=null,Nr=!1,Pg=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),qg=he(null),Ig=he(null),oE={},pd=null,Ys=null,Gs=!1,O_=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},M_=It.unstable_scheduleCallback,__=It.unstable_NormalPriority,Ft={$$typeof:Da,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Yt=It.unstable_now,gd=console.createTask?console.createTask:function(){return null},Nu=1,yd=2,ln=-0,Bi=-0,ni=-0,ri=null,zn=-1.1,Oo=-0,Ct=-0,ze=-1.1,Ue=-1.1,Nt=null,Mt=!1,Mo=-0,Ca=-1.1,ku=null,Hi=0,Fg=null,Yg=null,_o=-1.1,Cu=null,$s=-1.1,bd=-1.1,ai=-0,ii=-1.1,kr=-1.1,Gg=0,Ru=null,sE=null,lE=null,Pi=-1.1,zo=null,qi=-1.1,vd=-1.1,uE=-0,cE=-0,xd=0,z_=null,fE=0,Ou=-1.1,Sd=!1,Dd=!1,Mu=null,$g=0,Uo=0,Xs=null,dE=J.S;J.S=function(e,t){if(sT=sn(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>ii&&0>kr){ii=Yt();var r=lu(),o=su();(r!==qi||o!==zo)&&(qi=-1.1),Pi=r,zo=o}KR(e,t)}dE!==null&&dE(e,t)};var jo=he(null),Xr={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},_u=[],zu=[],Uu=[],ju=[],Vu=[],Lu=[],Vo=new Set;Xr.recordUnsafeLifecycleWarnings=function(e,t){Vo.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&_u.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillMount=="function"&&zu.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Uu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ju.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Vu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Lu.push(e))},Xr.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<_u.length&&(_u.forEach(function(y){e.add(F(y)||"Component"),Vo.add(y.type)}),_u=[]);var t=new Set;0<zu.length&&(zu.forEach(function(y){t.add(F(y)||"Component"),Vo.add(y.type)}),zu=[]);var r=new Set;0<Uu.length&&(Uu.forEach(function(y){r.add(F(y)||"Component"),Vo.add(y.type)}),Uu=[]);var o=new Set;0<ju.length&&(ju.forEach(function(y){o.add(F(y)||"Component"),Vo.add(y.type)}),ju=[]);var l=new Set;0<Vu.length&&(Vu.forEach(function(y){l.add(F(y)||"Component"),Vo.add(y.type)}),Vu=[]);var c=new Set;if(0<Lu.length&&(Lu.forEach(function(y){c.add(F(y)||"Component"),Vo.add(y.type)}),Lu=[]),0<t.size){var m=v(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
189
+ Check the render method of %s.`,F(lr)||"Unknown")),o=wi(t),o.payload={element:r},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),o.callback=c),r=Ei(e,o,t),r!==null&&(la(t,"root.render()",null),zt(r,e,t),Yl(r,e,t))}function JS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function ey(e,t){JS(e,t),(e=e.alternate)&&JS(e,t)}function KS(e){if(e.tag===13||e.tag===31){var t=bn(e,67108864);t!==null&&zt(t,e,67108864),ey(e,67108864)}}function WS(e){if(e.tag===13||e.tag===31){var t=ir(e);t=an(t);var r=bn(e,t);r!==null&&zt(r,e,t),ey(e,t)}}function fO(){return lr}function dO(e,t,r,o){var l=J.T;J.T=null;var c=ft.p;try{ft.p=Sr,ty(e,t,r,o)}finally{ft.p=c,J.T=l}}function hO(e,t,r,o){var l=J.T;J.T=null;var c=ft.p;try{ft.p=ka,ty(e,t,r,o)}finally{ft.p=c,J.T=l}}function ty(e,t,r,o){if(th){var l=ny(o);if(l===null)Hp(e,t,o,nh,r),tw(e,o);else if(mO(l,e,t,r,o))o.stopPropagation();else if(tw(e,o),t&4&&-1<l_.indexOf(e)){for(;l!==null;){var c=be(l);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=yr(c.pendingLanes);if(m!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;m;){var w=1<<31-Rn(m);g.entanglements[1]|=w,m&=~w}va(c),(st&(nn|dr))===cn&&(Ld=sn()+cT,iu(0))}}break;case 31:case 13:g=bn(c,2),g!==null&&zt(g,c,2),Es(),ey(c,2)}if(c=ny(o),c===null&&Hp(e,t,o,nh,r),c===l)break;l=c}l!==null&&o.stopPropagation()}else Hp(e,t,o,null,r)}}function ny(e){return e=sm(e),ry(e)}function ry(e){if(nh=null,e=de(e),e!==null){var t=_(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=Q(t),e!==null)return e;e=null}else if(r===31){if(e=I(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return nh=e,null}function ew(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Sr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ka;case"message":switch(TO()){case gy:return Sr;case by:return ka;case zs:case DO:return Ja;case vy:return ad;default:return Ja}default:return Ja}}function tw(e,t){switch(e){case"focusin":case"focusout":Wi=null;break;case"dragenter":case"dragleave":eo=null;break;case"mouseover":case"mouseout":to=null;break;case"pointerover":case"pointerout":oc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sc.delete(t.pointerId)}}function du(e,t,r,o,l,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:c,targetContainers:[l]},t!==null&&(t=be(t),t!==null&&KS(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function mO(e,t,r,o,l){switch(t){case"focusin":return Wi=du(Wi,e,t,r,o,l),!0;case"dragenter":return eo=du(eo,e,t,r,o,l),!0;case"mouseover":return to=du(to,e,t,r,o,l),!0;case"pointerover":var c=l.pointerId;return oc.set(c,du(oc.get(c)||null,e,t,r,o,l)),!0;case"gotpointercapture":return c=l.pointerId,sc.set(c,du(sc.get(c)||null,e,t,r,o,l)),!0}return!1}function nw(e){var t=de(e.target);if(t!==null){var r=_(t);if(r!==null){if(t=r.tag,t===13){if(t=Q(r),t!==null){e.blockedOn=t,T(e.priority,function(){WS(r)});return}}else if(t===31){if(t=I(r),t!==null){e.blockedOn=t,T(e.priority,function(){WS(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Qf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=ny(e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r),l=o;gu!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),gu=l,r.target.dispatchEvent(o),gu===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),gu=null}else return t=be(r),t!==null&&KS(t),e.blockedOn=r,!1;t.shift()}return!0}function rw(e,t,r){Qf(e)&&r.delete(t)}function pO(){Mg=!1,Wi!==null&&Qf(Wi)&&(Wi=null),eo!==null&&Qf(eo)&&(eo=null),to!==null&&Qf(to)&&(to=null),oc.forEach(rw),sc.forEach(rw)}function Zf(e,t){e.blockedOn===t&&(e.blockedOn=null,Mg||(Mg=!0,It.unstable_scheduleCallback(It.unstable_NormalPriority,pO)))}function aw(e){rh!==e&&(rh=e,It.unstable_scheduleCallback(It.unstable_NormalPriority,function(){rh===e&&(rh=null);for(var t=0;t<e.length;t+=3){var r=e[t],o=e[t+1],l=e[t+2];if(typeof o!="function"){if(ry(o||r)===null)continue;break}var c=be(r);c!==null&&(e.splice(t,3),t-=3,r={pending:!0,data:l,method:r.method,action:o},Object.freeze(r),rp(c,r,o,l))}}))}function As(e){function t(w){return Zf(w,e)}Wi!==null&&Zf(Wi,e),eo!==null&&Zf(eo,e),to!==null&&Zf(to,e),oc.forEach(t),sc.forEach(t);for(var r=0;r<no.length;r++){var o=no[r];o.blockedOn===e&&(o.blockedOn=null)}for(;0<no.length&&(r=no[0],r.blockedOn===null);)nw(r),r.blockedOn===null&&no.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var l=r[o],c=r[o+1],m=l[zn]||null;if(typeof c=="function")m||aw(r);else if(m){var g=null;if(c&&c.hasAttribute("formAction")){if(l=c,m=c[zn]||null)g=m.formAction;else if(ry(l)!==null)continue}else g=m.action;typeof g=="function"?r[o+1]=g:(r.splice(o,3),o-=3),aw(r)}}}function iw(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return l=m})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),o||setTimeout(r,20)}function r(){if(!o&&!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 o=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function ay(e){this._internalRoot=e}function Jf(e){this._internalRoot=e}function ow(e){e[Mi]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var It=m_(),iy=zc(),yO=y_(),Je=Object.assign,gO=Symbol.for("react.element"),Sa=Symbol.for("react.transitional.element"),Cs=Symbol.for("react.portal"),Rs=Symbol.for("react.fragment"),Kf=Symbol.for("react.strict_mode"),oy=Symbol.for("react.profiler"),sy=Symbol.for("react.consumer"),wa=Symbol.for("react.context"),hu=Symbol.for("react.forward_ref"),ly=Symbol.for("react.suspense"),uy=Symbol.for("react.suspense_list"),Wf=Symbol.for("react.memo"),sr=Symbol.for("react.lazy"),cy=Symbol.for("react.activity"),bO=Symbol.for("react.memo_cache_sentinel"),sw=Symbol.iterator,vO=Symbol.for("react.client.reference"),en=Array.isArray,J=iy.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ft=yO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xO=Object.freeze({pending:!1,data:null,method:null,action:null}),fy=[],dy=[],Za=-1,Ri=he(null),mu=he(null),zi=he(null),ed=he(null),pu=0,lw,uw,cw,fw,dw,hw,mw;z.__reactDisabledLog=!0;var hy,pw,my=!1,py=new(typeof WeakMap=="function"?WeakMap:Map),lr=null,Ea=!1,Gr=Object.prototype.hasOwnProperty,yy=It.unstable_scheduleCallback,SO=It.unstable_cancelCallback,wO=It.unstable_shouldYield,EO=It.unstable_requestPaint,sn=It.unstable_now,TO=It.unstable_getCurrentPriorityLevel,gy=It.unstable_ImmediatePriority,by=It.unstable_UserBlockingPriority,zs=It.unstable_NormalPriority,DO=It.unstable_LowPriority,vy=It.unstable_IdlePriority,kO=It.log,NO=It.unstable_setDisableYieldValue,Os=null,vn=null,Ta=!1,Da=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Rn=Math.clz32?Math.clz32:gi,AO=Math.log,CO=Math.LN2,td=256,nd=262144,rd=4194304,Sr=2,ka=8,Ja=32,ad=268435456,Oi=Math.random().toString(36).slice(2),mn="__reactFiber$"+Oi,zn="__reactProps$"+Oi,Mi="__reactContainer$"+Oi,xy="__reactEvents$"+Oi,RO="__reactListeners$"+Oi,zO="__reactHandles$"+Oi,yw="__reactResources$"+Oi,yu="__reactMarker$"+Oi,gw=new Set,Ao={},Sy={},OO={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},MO=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]*$"),bw={},vw={},_O=/[\n"\\]/g,xw=!1,Sw=!1,ww=!1,Ew=!1,Tw=!1,Dw=!1,kw=["value","defaultValue"],Nw=!1,Aw=/["'&<>\n\t]|^\s|\s$/,UO="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),Cw="applet caption html table td th marquee object template foreignObject desc title".split(" "),jO=Cw.concat(["button"]),VO="dd dt li option optgroup p rp rt".split(" "),Rw={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},id={},wy={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},zw=/([A-Z])/g,Ow=/^ms-/,LO=/^(?:webkit|moz|o)[A-Z]/,BO=/^-ms-/,HO=/-(.)/g,Mw=/;\s*$/,Ms={},Ey={},_w=!1,Uw=!1,jw=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(" ")),od="http://www.w3.org/1998/Math/MathML",_s="http://www.w3.org/2000/svg",PO=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),sd={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Vw={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Us={},qO=RegExp("^(aria)-[: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]*$"),IO=RegExp("^(aria)[A-Z][: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]*$"),Lw=!1,On={},Bw=/^on./,FO=/^on[^A-Z]/,YO=RegExp("^(aria)-[: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]*$"),GO=RegExp("^(aria)[A-Z][: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]*$"),$O=/^[\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,gu=null,js=null,Vs=null,Ty=!1,Na=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Dy=!1;if(Na)try{var bu={};Object.defineProperty(bu,"passive",{get:function(){Dy=!0}}),window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch{Dy=!1}var _i=null,ky=null,ld=null,Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ud=Hn(Co),vu=Je({},Co,{view:0,detail:0}),XO=Hn(vu),Ny,Ay,xu,cd=Je({},vu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lm,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!==xu&&(xu&&e.type==="mousemove"?(Ny=e.screenX-xu.screenX,Ay=e.screenY-xu.screenY):Ay=Ny=0,xu=e),Ny)},movementY:function(e){return"movementY"in e?e.movementY:Ay}}),Hw=Hn(cd),QO=Je({},cd,{dataTransfer:0}),ZO=Hn(QO),JO=Je({},vu,{relatedTarget:0}),Cy=Hn(JO),KO=Je({},Co,{animationName:0,elapsedTime:0,pseudoElement:0}),WO=Hn(KO),eM=Je({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tM=Hn(eM),nM=Je({},Co,{data:0}),Pw=Hn(nM),rM=Pw,aM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iM={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"},oM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},sM=Je({},vu,{key:function(e){if(e.key){var t=aM[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?iM[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lm,charCode:function(e){return e.type==="keypress"?Xc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lM=Hn(sM),uM=Je({},cd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qw=Hn(uM),cM=Je({},vu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lm}),fM=Hn(cM),dM=Je({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0}),hM=Hn(dM),mM=Je({},cd,{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}),pM=Hn(mM),yM=Je({},Co,{newState:0,oldState:0}),gM=Hn(yM),bM=[9,13,27,32],Iw=229,Ry=Na&&"CompositionEvent"in window,Su=null;Na&&"documentMode"in document&&(Su=document.documentMode);var vM=Na&&"TextEvent"in window&&!Su,Fw=Na&&(!Ry||Su&&8<Su&&11>=Su),Yw=32,Gw=String.fromCharCode(Yw),$w=!1,Ls=!1,xM={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},wu=null,Eu=null,Xw=!1;Na&&(Xw=HR("input")&&(!document.documentMode||9<document.documentMode));var Mn=typeof Object.is=="function"?Object.is:GR,SM=Na&&"documentMode"in document&&11>=document.documentMode,Bs=null,zy=null,Tu=null,Oy=!1,Hs={animationend:mo("Animation","AnimationEnd"),animationiteration:mo("Animation","AnimationIteration"),animationstart:mo("Animation","AnimationStart"),transitionrun:mo("Transition","TransitionRun"),transitionstart:mo("Transition","TransitionStart"),transitioncancel:mo("Transition","TransitionCancel"),transitionend:mo("Transition","TransitionEnd")},My={},Qw={};Na&&(Qw=document.createElement("div").style,"AnimationEvent"in window||(delete Hs.animationend.animation,delete Hs.animationiteration.animation,delete Hs.animationstart.animation),"TransitionEvent"in window||delete Hs.transitionend.transition);var Zw=po("animationend"),Jw=po("animationiteration"),Kw=po("animationstart"),wM=po("transitionrun"),EM=po("transitionstart"),TM=po("transitioncancel"),Ww=po("transitionend"),eE=new Map,_y="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");_y.push("scrollEnd");var tE=0;if(typeof performance=="object"&&typeof performance.now=="function")var DM=performance,nE=function(){return DM.now()};else{var kM=Date;nE=function(){return kM.now()}}var Uy=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)},NM="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",fd=0,jy=1,Vy=2,Ly=3,dd="– ",hd="+ ",rE="  ",vt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",wr="Components ⚛",tt="Scheduler ⚛",rt="Blocking",Ui=!1,Ka={color:"primary",properties:null,tooltipText:"",track:wr},ji={start:-0,end:-0,detail:{devtools:Ka}},AM=["Changed Props",""],aE="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",CM=["Changed Props",aE],Du=1,Wa=2,Er=[],Ps=0,By=0,Vi={};Object.freeze(Vi);var Tr=null,qs=null,Ve=0,RM=1,Ye=2,xn=8,$r=16,zM=32,iE=!1;try{var oE=Object.preventExtensions({})}catch{iE=!0}var Hy=new WeakMap,Is=[],Fs=0,md=null,ku=0,Dr=[],kr=0,Ro=null,ei=1,ti="",pn=null,xt=null,We=!1,Aa=!1,ur=null,Li=null,Nr=!1,Py=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),qy=he(null),Iy=he(null),sE={},pd=null,Ys=null,Gs=!1,OM=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},MM=It.unstable_scheduleCallback,_M=It.unstable_NormalPriority,Ft={$$typeof:wa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Yt=It.unstable_now,yd=console.createTask?console.createTask:function(){return null},Nu=1,gd=2,ln=-0,Bi=-0,ni=-0,ri=null,_n=-1.1,zo=-0,Ct=-0,_e=-1.1,Ue=-1.1,Nt=null,Ot=!1,Oo=-0,Ca=-1.1,Au=null,Hi=0,Fy=null,Yy=null,Mo=-1.1,Cu=null,$s=-1.1,bd=-1.1,ai=-0,ii=-1.1,Ar=-1.1,Gy=0,Ru=null,lE=null,uE=null,Pi=-1.1,_o=null,qi=-1.1,vd=-1.1,cE=-0,fE=-0,xd=0,UM=null,dE=0,zu=-1.1,Sd=!1,wd=!1,Ou=null,$y=0,Uo=0,Xs=null,hE=J.S;J.S=function(e,t){if(lT=sn(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>ii&&0>Ar){ii=Yt();var r=lu(),o=su();(r!==qi||o!==_o)&&(qi=-1.1),Pi=r,_o=o}WR(e,t)}hE!==null&&hE(e,t)};var jo=he(null),Xr={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Mu=[],_u=[],Uu=[],ju=[],Vu=[],Lu=[],Vo=new Set;Xr.recordUnsafeLifecycleWarnings=function(e,t){Vo.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Mu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillMount=="function"&&_u.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Uu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ju.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Vu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Lu.push(e))},Xr.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Mu.length&&(Mu.forEach(function(g){e.add(F(g)||"Component"),Vo.add(g.type)}),Mu=[]);var t=new Set;0<_u.length&&(_u.forEach(function(g){t.add(F(g)||"Component"),Vo.add(g.type)}),_u=[]);var r=new Set;0<Uu.length&&(Uu.forEach(function(g){r.add(F(g)||"Component"),Vo.add(g.type)}),Uu=[]);var o=new Set;0<ju.length&&(ju.forEach(function(g){o.add(F(g)||"Component"),Vo.add(g.type)}),ju=[]);var l=new Set;0<Vu.length&&(Vu.forEach(function(g){l.add(F(g)||"Component"),Vo.add(g.type)}),Vu=[]);var c=new Set;if(0<Lu.length&&(Lu.forEach(function(g){c.add(F(g)||"Component"),Vo.add(g.type)}),Lu=[]),0<t.size){var m=v(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
190
190
 
191
191
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
192
192
 
@@ -215,29 +215,29 @@ Please update the following components: %s`,m)),0<l.size&&(m=v(l),console.warn(`
215
215
  * Move data fetching code or side effects to componentDidUpdate.
216
216
  * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
217
217
 
218
- Please update the following components: %s`,m))};var Ed=new Map,hE=new Set;Xr.recordLegacyContextWarning=function(e,t){for(var r=null,o=e;o!==null;)o.mode&xn&&(r=o),o=o.return;r===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!hE.has(e.type)&&(o=Ed.get(r),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Ed.set(r,o)),o.push(e))},Xr.flushLegacyContextWarning=function(){Ed.forEach(function(e){if(e.length!==0){var t=e[0],r=new Set;e.forEach(function(l){r.add(F(l)||"Component"),hE.add(l.type)});var o=v(r);De(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
218
+ Please update the following components: %s`,m))};var Ed=new Map,mE=new Set;Xr.recordLegacyContextWarning=function(e,t){for(var r=null,o=e;o!==null;)o.mode&xn&&(r=o),o=o.return;r===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!mE.has(e.type)&&(o=Ed.get(r),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Ed.set(r,o)),o.push(e))},Xr.flushLegacyContextWarning=function(){Ed.forEach(function(e){if(e.length!==0){var t=e[0],r=new Set;e.forEach(function(l){r.add(F(l)||"Component"),mE.add(l.type)});var o=v(r);we(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
219
219
 
220
220
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
221
221
 
222
222
  Please update the following components: %s
223
223
 
224
- Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Xr.discardPendingWarnings=function(){_u=[],zu=[],Uu=[],ju=[],Vu=[],Lu=[],Ed=new Map};var mE={react_stack_bottom_frame:function(e,t,r){var o=Ea;Ea=!0;try{return e(t,r)}finally{Ea=o}}},Xg=mE.react_stack_bottom_frame.bind(mE),pE={react_stack_bottom_frame:function(e){var t=Ea;Ea=!0;try{return e.render()}finally{Ea=t}}},gE=pE.react_stack_bottom_frame.bind(pE),yE={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(r){ct(e,e.return,r)}}},Qg=yE.react_stack_bottom_frame.bind(yE),bE={react_stack_bottom_frame:function(e,t,r,o,l){try{t.componentDidUpdate(r,o,l)}catch(c){ct(e,e.return,c)}}},vE=bE.react_stack_bottom_frame.bind(bE),xE={react_stack_bottom_frame:function(e,t){var r=t.stack;e.componentDidCatch(t.value,{componentStack:r!==null?r:""})}},U_=xE.react_stack_bottom_frame.bind(xE),SE={react_stack_bottom_frame:function(e,t,r){try{r.componentWillUnmount()}catch(o){ct(e,t,o)}}},DE=SE.react_stack_bottom_frame.bind(SE),EE={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},j_=EE.react_stack_bottom_frame.bind(EE),TE={react_stack_bottom_frame:function(e,t,r){try{r()}catch(o){ct(e,t,o)}}},V_=TE.react_stack_bottom_frame.bind(TE),AE={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},L_=AE.react_stack_bottom_frame.bind(AE),Qs=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Zg=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Td=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Ad={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Lo=null,Bu=!1,Zs=null,Hu=0,Ge=null,Jg,wE=Jg=!1,NE={},kE={},CE={};p=function(e,t,r){if(r!==null&&typeof r=="object"&&r._store&&(!r._store.validated&&r.key==null||r._store.validated===2)){if(typeof r._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");r._store.validated=1;var o=F(e),l=o||"null";if(!NE[l]){NE[l]=!0,r=r._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(l=F(e))&&(c=`
224
+ Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Xr.discardPendingWarnings=function(){Mu=[],_u=[],Uu=[],ju=[],Vu=[],Lu=[],Ed=new Map};var pE={react_stack_bottom_frame:function(e,t,r){var o=Ea;Ea=!0;try{return e(t,r)}finally{Ea=o}}},Xy=pE.react_stack_bottom_frame.bind(pE),yE={react_stack_bottom_frame:function(e){var t=Ea;Ea=!0;try{return e.render()}finally{Ea=t}}},gE=yE.react_stack_bottom_frame.bind(yE),bE={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(r){ct(e,e.return,r)}}},Qy=bE.react_stack_bottom_frame.bind(bE),vE={react_stack_bottom_frame:function(e,t,r,o,l){try{t.componentDidUpdate(r,o,l)}catch(c){ct(e,e.return,c)}}},xE=vE.react_stack_bottom_frame.bind(vE),SE={react_stack_bottom_frame:function(e,t){var r=t.stack;e.componentDidCatch(t.value,{componentStack:r!==null?r:""})}},jM=SE.react_stack_bottom_frame.bind(SE),wE={react_stack_bottom_frame:function(e,t,r){try{r.componentWillUnmount()}catch(o){ct(e,t,o)}}},EE=wE.react_stack_bottom_frame.bind(wE),TE={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},VM=TE.react_stack_bottom_frame.bind(TE),DE={react_stack_bottom_frame:function(e,t,r){try{r()}catch(o){ct(e,t,o)}}},LM=DE.react_stack_bottom_frame.bind(DE),kE={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},BM=kE.react_stack_bottom_frame.bind(kE),Qs=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Zy=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Td=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Dd={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Lo=null,Bu=!1,Zs=null,Hu=0,Ge=null,Jy,NE=Jy=!1,AE={},CE={},RE={};p=function(e,t,r){if(r!==null&&typeof r=="object"&&r._store&&(!r._store.validated&&r.key==null||r._store.validated===2)){if(typeof r._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");r._store.validated=1;var o=F(e),l=o||"null";if(!AE[l]){AE[l]=!0,r=r._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(l=F(e))&&(c=`
225
225
 
226
226
  Check the render method of \``+l+"`."),c||o&&(c=`
227
227
 
228
- Check the top-level render call using <`+o+">.");var m="";r!=null&&e!==r&&(o=null,typeof r.tag=="number"?o=F(r):typeof r.name=="string"&&(o=r.name),o&&(m=" It was passed a child from "+o+".")),De(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',c,m)})}}};var Bo=Sx(!0),RE=Sx(!1),OE=0,ME=1,_E=2,Kg=3,Ii=!1,zE=!1,Wg=null,ey=!1,Js=he(null),wd=he(0),cr=he(null),Cr=null,Ks=1,Pu=2,Bt=he(0),Nd=0,Rr=1,Un=2,fr=4,jn=8,Ws,UE=new Set,jE=new Set,ty=new Set,VE=new Set,oi=0,Le=null,pt=null,Gt=null,kd=!1,el=!1,Ho=!1,Cd=0,qu=0,si=null,B_=0,H_=25,Z=null,Or=null,li=-1,Iu=!1,Fu={readContext:wt,use:wi,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt};Fu.useEffectEvent=jt;var ny=null,LE=null,ry=null,BE=null,Ra=null,Qr=null,Rd=null;ny={readContext:function(e){return wt(e)},use:wi,useCallback:function(e,t){return Z="useCallback",Ze(),gs(t),Wm(e,t)},useContext:function(e){return Z="useContext",Ze(),wt(e)},useEffect:function(e,t){return Z="useEffect",Ze(),gs(t),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",Ze(),gs(r),Km(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",Ze(),gs(t),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",Ze(),gs(t),Jm(e,t)},useMemo:function(e,t){Z="useMemo",Ze(),gs(t);var r=J.H;J.H=Ra;try{return ep(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",Ze();var o=J.H;J.H=Ra;try{return qm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",Ze(),Qm(e)},useState:function(e){Z="useState",Ze();var t=J.H;J.H=Ra;try{return Gm(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",Ze()},useDeferredValue:function(e,t){return Z="useDeferredValue",Ze(),tp(e,t)},useTransition:function(){return Z="useTransition",Ze(),ap()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",Ze(),Fm(e,t,r)},useId:function(){return Z="useId",Ze(),ip()},useFormState:function(e,t){return Z="useFormState",Ze(),bf(),bs(e,t)},useActionState:function(e,t){return Z="useActionState",Ze(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",Ze(),$m(e)},useHostTransitionStatus:To,useMemoCache:Do,useCacheRefresh:function(){return Z="useCacheRefresh",Ze(),op()},useEffectEvent:function(e){return Z="useEffectEvent",Ze(),Zm(e)}},LE={readContext:function(e){return wt(e)},use:wi,useCallback:function(e,t){return Z="useCallback",fe(),Wm(e,t)},useContext:function(e){return Z="useContext",fe(),wt(e)},useEffect:function(e,t){return Z="useEffect",fe(),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Km(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",fe(),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Jm(e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Ra;try{return ep(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Ra;try{return qm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",fe(),Qm(e)},useState:function(e){Z="useState",fe();var t=J.H;J.H=Ra;try{return Gm(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),tp(e,t)},useTransition:function(){return Z="useTransition",fe(),ap()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),Fm(e,t,r)},useId:function(){return Z="useId",fe(),ip()},useActionState:function(e,t){return Z="useActionState",fe(),bs(e,t)},useFormState:function(e,t){return Z="useFormState",fe(),bf(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",fe(),$m(e)},useHostTransitionStatus:To,useMemoCache:Do,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),op()},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Zm(e)}},ry={readContext:function(e){return wt(e)},use:wi,useCallback:function(e,t){return Z="useCallback",fe(),wf(e,t)},useContext:function(e){return Z="useContext",fe(),wt(e)},useEffect:function(e,t){Z="useEffect",fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Af(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Qr;try{return ys(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",fe(),dt().memoizedState},useState:function(){Z="useState",fe();var e=J.H;J.H=Qr;try{return ys(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),Ix(e,t)},useTransition:function(){return Z="useTransition",fe(),Qx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),xf(e,t,r)},useId:function(){return Z="useId",fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",fe(),bf(),Sf(e)},useActionState:function(e){return Z="useActionState",fe(),Sf(e)},useOptimistic:function(e,t){return Z="useOptimistic",fe(),_x(e,t)},useHostTransitionStatus:To,useMemoCache:Do,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Tf(e)}},BE={readContext:function(e){return wt(e)},use:wi,useCallback:function(e,t){return Z="useCallback",fe(),wf(e,t)},useContext:function(e){return Z="useContext",fe(),wt(e)},useEffect:function(e,t){Z="useEffect",fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Af(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Rd;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Rd;try{return Ql(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",fe(),dt().memoizedState},useState:function(){Z="useState",fe();var e=J.H;J.H=Rd;try{return Ql(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),Fx(e,t)},useTransition:function(){return Z="useTransition",fe(),Zx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),xf(e,t,r)},useId:function(){return Z="useId",fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",fe(),bf(),Df(e)},useActionState:function(e){return Z="useActionState",fe(),Df(e)},useOptimistic:function(e,t){return Z="useOptimistic",fe(),Ux(e,t)},useHostTransitionStatus:To,useMemoCache:Do,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Tf(e)}},Ra={readContext:function(e){return b(),wt(e)},use:function(e){return h(),wi(e)},useCallback:function(e,t){return Z="useCallback",h(),Ze(),Wm(e,t)},useContext:function(e){return Z="useContext",h(),Ze(),wt(e)},useEffect:function(e,t){return Z="useEffect",h(),Ze(),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),Ze(),Km(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",h(),Ze(),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),Ze(),Jm(e,t)},useMemo:function(e,t){Z="useMemo",h(),Ze();var r=J.H;J.H=Ra;try{return ep(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),Ze();var o=J.H;J.H=Ra;try{return qm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",h(),Ze(),Qm(e)},useState:function(e){Z="useState",h(),Ze();var t=J.H;J.H=Ra;try{return Gm(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",h(),Ze()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),Ze(),tp(e,t)},useTransition:function(){return Z="useTransition",h(),Ze(),ap()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),Ze(),Fm(e,t,r)},useId:function(){return Z="useId",h(),Ze(),ip()},useFormState:function(e,t){return Z="useFormState",h(),Ze(),bs(e,t)},useActionState:function(e,t){return Z="useActionState",h(),Ze(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",h(),Ze(),$m(e)},useMemoCache:function(e){return h(),Do(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",Ze(),op()},useEffectEvent:function(e){return Z="useEffectEvent",h(),Ze(),Zm(e)}},Qr={readContext:function(e){return b(),wt(e)},use:function(e){return h(),wi(e)},useCallback:function(e,t){return Z="useCallback",h(),fe(),wf(e,t)},useContext:function(e){return Z="useContext",h(),fe(),wt(e)},useEffect:function(e,t){Z="useEffect",h(),fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),fe(),Af(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",h(),fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",h(),fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),fe();var o=J.H;J.H=Qr;try{return ys(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",h(),fe(),dt().memoizedState},useState:function(){Z="useState",h(),fe();var e=J.H;J.H=Qr;try{return ys(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",h(),fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),fe(),Ix(e,t)},useTransition:function(){return Z="useTransition",h(),fe(),Qx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),fe(),xf(e,t,r)},useId:function(){return Z="useId",h(),fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",h(),fe(),Sf(e)},useActionState:function(e){return Z="useActionState",h(),fe(),Sf(e)},useOptimistic:function(e,t){return Z="useOptimistic",h(),fe(),_x(e,t)},useMemoCache:function(e){return h(),Do(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",h(),fe(),Tf(e)}},Rd={readContext:function(e){return b(),wt(e)},use:function(e){return h(),wi(e)},useCallback:function(e,t){return Z="useCallback",h(),fe(),wf(e,t)},useContext:function(e){return Z="useContext",h(),fe(),wt(e)},useEffect:function(e,t){Z="useEffect",h(),fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),fe(),Af(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",h(),fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",h(),fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),fe();var o=J.H;J.H=Qr;try{return Ql(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",h(),fe(),dt().memoizedState},useState:function(){Z="useState",h(),fe();var e=J.H;J.H=Qr;try{return Ql(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",h(),fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),fe(),Fx(e,t)},useTransition:function(){return Z="useTransition",h(),fe(),Zx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),fe(),xf(e,t,r)},useId:function(){return Z="useId",h(),fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",h(),fe(),Df(e)},useActionState:function(e){return Z="useActionState",h(),fe(),Df(e)},useOptimistic:function(e,t){return Z="useOptimistic",h(),fe(),Ux(e,t)},useMemoCache:function(e){return h(),Do(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",h(),fe(),Tf(e)}};var HE={},PE=new Set,qE=new Set,IE=new Set,FE=new Set,YE=new Set,GE=new Set,$E=new Set,XE=new Set,QE=new Set,ZE=new Set;Object.freeze(HE);var ay={enqueueSetState:function(e,t,r){e=e._reactInternals;var o=ir(e),l=Di(o);l.payload=t,r!=null&&(lp(r),l.callback=r),t=Ei(e,l,o),t!==null&&(la(o,"this.setState()",e),Ot(t,e,o),Yl(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=ir(e),l=Di(o);l.tag=ME,l.payload=t,r!=null&&(lp(r),l.callback=r),t=Ei(e,l,o),t!==null&&(la(o,"this.replaceState()",e),Ot(t,e,o),Yl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ir(e),o=Di(r);o.tag=_E,t!=null&&(lp(t),o.callback=t),t=Ei(e,o,r),t!==null&&(la(r,"this.forceUpdate()",e),Ot(t,e,r),Yl(t,e,r))}},tl=null,iy=null,oy=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),$t=!1,JE={},KE={},WE={},eT={},nl=!1,tT={},Od={},sy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},nT=!1,rT=null;rT=new Set;var ui=!1,Xt=!1,ly=!1,aT=typeof WeakSet=="function"?WeakSet:Set,un=null,rl=null,al=null,Qt=null,Fn=!1,Zr=null,tn=!1,Yu=8192,P_={getCacheForType:function(e){var t=wt(Ft),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return wt(Ft).controller.signal},getOwner:function(){return lr}};if(typeof Symbol=="function"&&Symbol.for){var Gu=Symbol.for;Gu("selector.component"),Gu("selector.has_pseudo_class"),Gu("selector.role"),Gu("selector.test_id"),Gu("selector.text")}var q_=[],I_=typeof WeakMap=="function"?WeakMap:Map,cn=0,nn=2,dr=4,ci=0,$u=1,Po=2,Md=3,Fi=4,_d=6,iT=5,st=cn,gt=null,Xe=null,$e=0,Yn=0,zd=1,qo=2,Xu=3,oT=4,uy=5,Qu=6,Ud=7,cy=8,Io=9,ht=Yn,hr=null,Yi=!1,il=!1,fy=!1,Oa=0,Rt=ci,Gi=0,$i=0,dy=0,Gn=0,Fo=0,Zu=null,Vn=null,jd=!1,Vd=0,sT=0,lT=300,Ld=1/0,uT=500,Ju=null,Vt=null,Xi=null,Bd=0,hy=1,my=2,cT=3,Qi=0,fT=1,dT=2,hT=3,mT=4,Hd=5,Zt=0,Zi=null,ol=null,Jr=0,py=0,gy=-0,yy=null,pT=null,gT=null,Kr=Bd,yT=null,F_=50,Ku=0,by=null,vy=!1,Pd=!1,Y_=50,Yo=0,Wu=null,sl=!1,qd=null,bT=!1,vT=new Set,G_={},Id=null,ll=null,xy=!1,Sy=!1,Fd=!1,Dy=!1,Ji=0,Ey={};(function(){for(var e=0;e<zg.length;e++){var t=zg[e],r=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),qr(r,"on"+t)}qr(QD,"onAnimationEnd"),qr(ZD,"onAnimationIteration"),qr(JD,"onAnimationStart"),qr("dblclick","onDoubleClick"),qr("focusin","onFocus"),qr("focusout","onBlur"),qr(S_,"onTransitionRun"),qr(D_,"onTransitionStart"),qr(E_,"onTransitionCancel"),qr(KD,"onTransitionEnd")})(),qe("onMouseEnter",["mouseout","mouseover"]),qe("onMouseLeave",["mouseout","mouseover"]),qe("onPointerEnter",["pointerout","pointerover"]),qe("onPointerLeave",["pointerout","pointerover"]),ot("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ot("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ot("onBeforeInput",["compositionend","keypress","textInput","paste"]),ot("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ec="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(" "),Ty=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ec)),Yd="_reactListening"+Math.random().toString(36).slice(2),xT=!1,ST=!1,Gd=!1,DT=!1,$d=!1,Xd=!1,ET=!1,Qd={},$_=/\r\n?/g,X_=/\u0000|\uFFFD/g,Go="http://www.w3.org/1999/xlink",Ay="http://www.w3.org/XML/1998/namespace",Q_="javascript:throw new Error('React form unexpectedly submitted.')",Z_="suppressHydrationWarning",$o="&",Zd="/&",tc="$",nc="/$",Ki="$?",Xo="$~",ul="$!",J_="html",K_="body",W_="head",wy="F!",TT="F",AT="loading",ez="style",fi=0,cl=1,Jd=2,Ny=null,ky=null,wT={dialog:!0,webview:!0},Cy=null,rc=void 0,NT=typeof setTimeout=="function"?setTimeout:void 0,tz=typeof clearTimeout=="function"?clearTimeout:void 0,Qo=-1,kT=typeof Promise=="function"?Promise:void 0,nz=typeof queueMicrotask=="function"?queueMicrotask:typeof kT<"u"?function(e){return kT.resolve(null).then(e).catch(LO)}:NT,Ry=null,Zo=0,ac=1,CT=2,RT=3,Mr=4,_r=new Map,OT=new Set,di=ft.d;ft.d={f:function(){var e=di.f(),t=Es();return e||t},r:function(e){var t=be(e);t!==null&&t.tag===5&&t.type==="form"?Xx(t):di.r(e)},D:function(e){di.D(e),PS("dns-prefetch",e,null)},C:function(e,t){di.C(e,t),PS("preconnect",e,t)},L:function(e,t,r){di.L(e,t,r);var o=fl;if(o&&e&&t){var l='link[rel="preload"][as="'+vr(t)+'"]';t==="image"&&r&&r.imageSrcSet?(l+='[imagesrcset="'+vr(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(l+='[imagesizes="'+vr(r.imageSizes)+'"]')):l+='[href="'+vr(e)+'"]';var c=l;switch(t){case"style":c=ws(e);break;case"script":c=Ns(e)}_r.has(c)||(e=Je({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),_r.set(c,e),o.querySelector(l)!==null||t==="style"&&o.querySelector(cu(c))||t==="script"&&o.querySelector(fu(c))||(t=o.createElement("link"),hn(t,"link",e),Me(t),o.head.appendChild(t)))}},m:function(e,t){di.m(e,t);var r=fl;if(r&&e){var o=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+vr(o)+'"][href="'+vr(e)+'"]',c=l;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ns(e)}if(!_r.has(c)&&(e=Je({rel:"modulepreload",href:e},t),_r.set(c,e),r.querySelector(l)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(fu(c)))return}o=r.createElement("link"),hn(o,"link",e),Me(o),r.head.appendChild(o)}}},X:function(e,t){di.X(e,t);var r=fl;if(r&&e){var o=Pe(r).hoistableScripts,l=Ns(e),c=o.get(l);c||(c=r.querySelector(fu(l)),c||(e=Je({src:e,async:!0},t),(t=_r.get(l))&&Kp(e,t),c=r.createElement("script"),Me(c),hn(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},o.set(l,c))}},S:function(e,t,r){di.S(e,t,r);var o=fl;if(o&&e){var l=Pe(o).hoistableStyles,c=ws(e);t=t||"default";var m=l.get(c);if(!m){var y={loading:Zo,preload:null};if(m=o.querySelector(cu(c)))y.loading=ac|Mr;else{e=Je({rel:"stylesheet",href:e,"data-precedence":t},r),(r=_r.get(c))&&Jp(e,r);var D=m=o.createElement("link");Me(D),hn(D,"link",e),D._p=new Promise(function(E,B){D.onload=E,D.onerror=B}),D.addEventListener("load",function(){y.loading|=ac}),D.addEventListener("error",function(){y.loading|=CT}),y.loading|=Mr,Gf(m,t,o)}m={type:"stylesheet",instance:m,count:1,state:y},l.set(c,m)}}},M:function(e,t){di.M(e,t);var r=fl;if(r&&e){var o=Pe(r).hoistableScripts,l=Ns(e),c=o.get(l);c||(c=r.querySelector(fu(l)),c||(e=Je({src:e,async:!0,type:"module"},t),(t=_r.get(l))&&Kp(e,t),c=r.createElement("script"),Me(c),hn(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},o.set(l,c))}}};var fl=typeof document>"u"?null:document,Kd=null,rz=6e4,az=800,iz=500,Oy=0,My=null,Wd=null,Jo=vM,ic={$$typeof:Da,Provider:null,Consumer:null,_currentValue:Jo,_currentValue2:Jo,_threadCount:0},MT="%c%s%c",_T="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",zT="",eh=" ",oz=Function.prototype.bind,UT=!1,jT=null,VT=null,LT=null,BT=null,HT=null,PT=null,qT=null,IT=null,FT=null,YT=null;jT=function(e,t,r,o){t=n(e,t),t!==null&&(r=a(t.memoizedState,r,0,o),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&Ot(r,e,2))},VT=function(e,t,r){t=n(e,t),t!==null&&(r=u(t.memoizedState,r,0),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&Ot(r,e,2))},LT=function(e,t,r,o){t=n(e,t),t!==null&&(r=i(t.memoizedState,r,o),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&Ot(r,e,2))},BT=function(e,t,r){e.pendingProps=a(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Ot(t,e,2)},HT=function(e,t){e.pendingProps=u(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Ot(t,e,2)},PT=function(e,t,r){e.pendingProps=i(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Ot(t,e,2)},qT=function(e){var t=bn(e,2);t!==null&&Ot(t,e,2)},IT=function(e){var t=W(),r=bn(e,t);r!==null&&Ot(r,e,t)},FT=function(e){d=e},YT=function(e){f=e};var th=!0,nh=null,_y=!1,Wi=null,eo=null,to=null,oc=new Map,sc=new Map,no=[],sz="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(" "),rh=null;if(Jf.prototype.render=ag.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var r=arguments;typeof r[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):R(r[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof r[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),r=e;var o=t.current,l=ir(o);Wp(o,l,r,t,null,null)},Jf.prototype.unmount=ag.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(st&(nn|dr))!==cn&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Wp(e.current,2,null,e,null,null),Es(),t[_i]=null}},Jf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Nn();e={blockedOn:null,target:e,priority:t};for(var r=0;r<no.length&&t!==0&&t<no[r].priority;r++);no.splice(r,0,e),r===0&&tD(e)}},(function(){var e=ig.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
228
+ Check the top-level render call using <`+o+">.");var m="";r!=null&&e!==r&&(o=null,typeof r.tag=="number"?o=F(r):typeof r.name=="string"&&(o=r.name),o&&(m=" It was passed a child from "+o+".")),we(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',c,m)})}}};var Bo=wx(!0),zE=wx(!1),OE=0,ME=1,_E=2,Ky=3,Ii=!1,UE=!1,Wy=null,eg=!1,Js=he(null),kd=he(0),cr=he(null),Cr=null,Ks=1,Pu=2,Bt=he(0),Nd=0,Rr=1,Un=2,fr=4,jn=8,Ws,jE=new Set,VE=new Set,tg=new Set,LE=new Set,oi=0,Le=null,pt=null,Gt=null,Ad=!1,el=!1,Ho=!1,Cd=0,qu=0,si=null,HM=0,PM=25,Z=null,zr=null,li=-1,Iu=!1,Fu={readContext:kt,use:ki,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt};Fu.useEffectEvent=jt;var ng=null,BE=null,rg=null,HE=null,Ra=null,Qr=null,Rd=null;ng={readContext:function(e){return kt(e)},use:ki,useCallback:function(e,t){return Z="useCallback",Ze(),ys(t),Wm(e,t)},useContext:function(e){return Z="useContext",Ze(),kt(e)},useEffect:function(e,t){return Z="useEffect",Ze(),ys(t),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",Ze(),ys(r),Km(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",Ze(),ys(t),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",Ze(),ys(t),Jm(e,t)},useMemo:function(e,t){Z="useMemo",Ze(),ys(t);var r=J.H;J.H=Ra;try{return ep(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",Ze();var o=J.H;J.H=Ra;try{return qm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",Ze(),Qm(e)},useState:function(e){Z="useState",Ze();var t=J.H;J.H=Ra;try{return Gm(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",Ze()},useDeferredValue:function(e,t){return Z="useDeferredValue",Ze(),tp(e,t)},useTransition:function(){return Z="useTransition",Ze(),ap()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",Ze(),Fm(e,t,r)},useId:function(){return Z="useId",Ze(),ip()},useFormState:function(e,t){return Z="useFormState",Ze(),bf(),bs(e,t)},useActionState:function(e,t){return Z="useActionState",Ze(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",Ze(),$m(e)},useHostTransitionStatus:To,useMemoCache:wo,useCacheRefresh:function(){return Z="useCacheRefresh",Ze(),op()},useEffectEvent:function(e){return Z="useEffectEvent",Ze(),Zm(e)}},BE={readContext:function(e){return kt(e)},use:ki,useCallback:function(e,t){return Z="useCallback",fe(),Wm(e,t)},useContext:function(e){return Z="useContext",fe(),kt(e)},useEffect:function(e,t){return Z="useEffect",fe(),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Km(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",fe(),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Jm(e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Ra;try{return ep(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Ra;try{return qm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",fe(),Qm(e)},useState:function(e){Z="useState",fe();var t=J.H;J.H=Ra;try{return Gm(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),tp(e,t)},useTransition:function(){return Z="useTransition",fe(),ap()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),Fm(e,t,r)},useId:function(){return Z="useId",fe(),ip()},useActionState:function(e,t){return Z="useActionState",fe(),bs(e,t)},useFormState:function(e,t){return Z="useFormState",fe(),bf(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",fe(),$m(e)},useHostTransitionStatus:To,useMemoCache:wo,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),op()},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Zm(e)}},rg={readContext:function(e){return kt(e)},use:ki,useCallback:function(e,t){return Z="useCallback",fe(),kf(e,t)},useContext:function(e){return Z="useContext",fe(),kt(e)},useEffect:function(e,t){Z="useEffect",fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Df(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Qr;try{return gs(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",fe(),dt().memoizedState},useState:function(){Z="useState",fe();var e=J.H;J.H=Qr;try{return gs(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),Fx(e,t)},useTransition:function(){return Z="useTransition",fe(),Zx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),xf(e,t,r)},useId:function(){return Z="useId",fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",fe(),bf(),Sf(e)},useActionState:function(e){return Z="useActionState",fe(),Sf(e)},useOptimistic:function(e,t){return Z="useOptimistic",fe(),_x(e,t)},useHostTransitionStatus:To,useMemoCache:wo,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Tf(e)}},HE={readContext:function(e){return kt(e)},use:ki,useCallback:function(e,t){return Z="useCallback",fe(),kf(e,t)},useContext:function(e){return Z="useContext",fe(),kt(e)},useEffect:function(e,t){Z="useEffect",fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",fe(),Df(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",fe();var r=J.H;J.H=Rd;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",fe();var o=J.H;J.H=Rd;try{return Ql(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",fe(),dt().memoizedState},useState:function(){Z="useState",fe();var e=J.H;J.H=Rd;try{return Ql(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",fe(),Yx(e,t)},useTransition:function(){return Z="useTransition",fe(),Jx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",fe(),xf(e,t,r)},useId:function(){return Z="useId",fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",fe(),bf(),wf(e)},useActionState:function(e){return Z="useActionState",fe(),wf(e)},useOptimistic:function(e,t){return Z="useOptimistic",fe(),jx(e,t)},useHostTransitionStatus:To,useMemoCache:wo,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",fe(),Tf(e)}},Ra={readContext:function(e){return b(),kt(e)},use:function(e){return h(),ki(e)},useCallback:function(e,t){return Z="useCallback",h(),Ze(),Wm(e,t)},useContext:function(e){return Z="useContext",h(),Ze(),kt(e)},useEffect:function(e,t){return Z="useEffect",h(),Ze(),Ef(e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),Ze(),Km(e,t,r)},useInsertionEffect:function(e,t){Z="useInsertionEffect",h(),Ze(),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),Ze(),Jm(e,t)},useMemo:function(e,t){Z="useMemo",h(),Ze();var r=J.H;J.H=Ra;try{return ep(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),Ze();var o=J.H;J.H=Ra;try{return qm(e,t,r)}finally{J.H=o}},useRef:function(e){return Z="useRef",h(),Ze(),Qm(e)},useState:function(e){Z="useState",h(),Ze();var t=J.H;J.H=Ra;try{return Gm(e)}finally{J.H=t}},useDebugValue:function(){Z="useDebugValue",h(),Ze()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),Ze(),tp(e,t)},useTransition:function(){return Z="useTransition",h(),Ze(),ap()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),Ze(),Fm(e,t,r)},useId:function(){return Z="useId",h(),Ze(),ip()},useFormState:function(e,t){return Z="useFormState",h(),Ze(),bs(e,t)},useActionState:function(e,t){return Z="useActionState",h(),Ze(),bs(e,t)},useOptimistic:function(e){return Z="useOptimistic",h(),Ze(),$m(e)},useMemoCache:function(e){return h(),wo(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",Ze(),op()},useEffectEvent:function(e){return Z="useEffectEvent",h(),Ze(),Zm(e)}},Qr={readContext:function(e){return b(),kt(e)},use:function(e){return h(),ki(e)},useCallback:function(e,t){return Z="useCallback",h(),fe(),kf(e,t)},useContext:function(e){return Z="useContext",h(),fe(),kt(e)},useEffect:function(e,t){Z="useEffect",h(),fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),fe(),Df(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",h(),fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",h(),fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),fe();var o=J.H;J.H=Qr;try{return gs(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",h(),fe(),dt().memoizedState},useState:function(){Z="useState",h(),fe();var e=J.H;J.H=Qr;try{return gs(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",h(),fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),fe(),Fx(e,t)},useTransition:function(){return Z="useTransition",h(),fe(),Zx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),fe(),xf(e,t,r)},useId:function(){return Z="useId",h(),fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",h(),fe(),Sf(e)},useActionState:function(e){return Z="useActionState",h(),fe(),Sf(e)},useOptimistic:function(e,t){return Z="useOptimistic",h(),fe(),_x(e,t)},useMemoCache:function(e){return h(),wo(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",h(),fe(),Tf(e)}},Rd={readContext:function(e){return b(),kt(e)},use:function(e){return h(),ki(e)},useCallback:function(e,t){return Z="useCallback",h(),fe(),kf(e,t)},useContext:function(e){return Z="useContext",h(),fe(),kt(e)},useEffect:function(e,t){Z="useEffect",h(),fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Z="useImperativeHandle",h(),fe(),Df(e,t,r)},useInsertionEffect:function(e,t){return Z="useInsertionEffect",h(),fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Z="useLayoutEffect",h(),fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Z="useMemo",h(),fe();var r=J.H;J.H=Qr;try{return Nf(e,t)}finally{J.H=r}},useReducer:function(e,t,r){Z="useReducer",h(),fe();var o=J.H;J.H=Qr;try{return Ql(e,t,r)}finally{J.H=o}},useRef:function(){return Z="useRef",h(),fe(),dt().memoizedState},useState:function(){Z="useState",h(),fe();var e=J.H;J.H=Qr;try{return Ql(Fr)}finally{J.H=e}},useDebugValue:function(){Z="useDebugValue",h(),fe()},useDeferredValue:function(e,t){return Z="useDeferredValue",h(),fe(),Yx(e,t)},useTransition:function(){return Z="useTransition",h(),fe(),Jx()},useSyncExternalStore:function(e,t,r){return Z="useSyncExternalStore",h(),fe(),xf(e,t,r)},useId:function(){return Z="useId",h(),fe(),dt().memoizedState},useFormState:function(e){return Z="useFormState",h(),fe(),wf(e)},useActionState:function(e){return Z="useActionState",h(),fe(),wf(e)},useOptimistic:function(e,t){return Z="useOptimistic",h(),fe(),jx(e,t)},useMemoCache:function(e){return h(),wo(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Z="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Z="useEffectEvent",h(),fe(),Tf(e)}};var PE={},qE=new Set,IE=new Set,FE=new Set,YE=new Set,GE=new Set,$E=new Set,XE=new Set,QE=new Set,ZE=new Set,JE=new Set;Object.freeze(PE);var ag={enqueueSetState:function(e,t,r){e=e._reactInternals;var o=ir(e),l=wi(o);l.payload=t,r!=null&&(lp(r),l.callback=r),t=Ei(e,l,o),t!==null&&(la(o,"this.setState()",e),zt(t,e,o),Yl(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=ir(e),l=wi(o);l.tag=ME,l.payload=t,r!=null&&(lp(r),l.callback=r),t=Ei(e,l,o),t!==null&&(la(o,"this.replaceState()",e),zt(t,e,o),Yl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ir(e),o=wi(r);o.tag=_E,t!=null&&(lp(t),o.callback=t),t=Ei(e,o,r),t!==null&&(la(r,"this.forceUpdate()",e),zt(t,e,r),Yl(t,e,r))}},tl=null,ig=null,og=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),$t=!1,KE={},WE={},eT={},tT={},nl=!1,nT={},zd={},sg={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},rT=!1,aT=null;aT=new Set;var ui=!1,Xt=!1,lg=!1,iT=typeof WeakSet=="function"?WeakSet:Set,un=null,rl=null,al=null,Qt=null,Fn=!1,Zr=null,tn=!1,Yu=8192,qM={getCacheForType:function(e){var t=kt(Ft),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return kt(Ft).controller.signal},getOwner:function(){return lr}};if(typeof Symbol=="function"&&Symbol.for){var Gu=Symbol.for;Gu("selector.component"),Gu("selector.has_pseudo_class"),Gu("selector.role"),Gu("selector.test_id"),Gu("selector.text")}var IM=[],FM=typeof WeakMap=="function"?WeakMap:Map,cn=0,nn=2,dr=4,ci=0,$u=1,Po=2,Od=3,Fi=4,Md=6,oT=5,st=cn,yt=null,Xe=null,$e=0,Yn=0,_d=1,qo=2,Xu=3,sT=4,ug=5,Qu=6,Ud=7,cg=8,Io=9,ht=Yn,hr=null,Yi=!1,il=!1,fg=!1,za=0,Rt=ci,Gi=0,$i=0,dg=0,Gn=0,Fo=0,Zu=null,Vn=null,jd=!1,Vd=0,lT=0,uT=300,Ld=1/0,cT=500,Ju=null,Vt=null,Xi=null,Bd=0,hg=1,mg=2,fT=3,Qi=0,dT=1,hT=2,mT=3,pT=4,Hd=5,Zt=0,Zi=null,ol=null,Jr=0,pg=0,yg=-0,gg=null,yT=null,gT=null,Kr=Bd,bT=null,YM=50,Ku=0,bg=null,vg=!1,Pd=!1,GM=50,Yo=0,Wu=null,sl=!1,qd=null,vT=!1,xT=new Set,$M={},Id=null,ll=null,xg=!1,Sg=!1,Fd=!1,wg=!1,Ji=0,Eg={};(function(){for(var e=0;e<_y.length;e++){var t=_y[e],r=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),qr(r,"on"+t)}qr(Zw,"onAnimationEnd"),qr(Jw,"onAnimationIteration"),qr(Kw,"onAnimationStart"),qr("dblclick","onDoubleClick"),qr("focusin","onFocus"),qr("focusout","onBlur"),qr(wM,"onTransitionRun"),qr(EM,"onTransitionStart"),qr(TM,"onTransitionCancel"),qr(Ww,"onTransitionEnd")})(),qe("onMouseEnter",["mouseout","mouseover"]),qe("onMouseLeave",["mouseout","mouseover"]),qe("onPointerEnter",["pointerout","pointerover"]),qe("onPointerLeave",["pointerout","pointerover"]),ot("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ot("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ot("onBeforeInput",["compositionend","keypress","textInput","paste"]),ot("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ec="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(" "),Tg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ec)),Yd="_reactListening"+Math.random().toString(36).slice(2),ST=!1,wT=!1,Gd=!1,ET=!1,$d=!1,Xd=!1,TT=!1,Qd={},XM=/\r\n?/g,QM=/\u0000|\uFFFD/g,Go="http://www.w3.org/1999/xlink",Dg="http://www.w3.org/XML/1998/namespace",ZM="javascript:throw new Error('React form unexpectedly submitted.')",JM="suppressHydrationWarning",$o="&",Zd="/&",tc="$",nc="/$",Ki="$?",Xo="$~",ul="$!",KM="html",WM="body",e_="head",kg="F!",DT="F",kT="loading",t_="style",fi=0,cl=1,Jd=2,Ng=null,Ag=null,NT={dialog:!0,webview:!0},Cg=null,rc=void 0,AT=typeof setTimeout=="function"?setTimeout:void 0,n_=typeof clearTimeout=="function"?clearTimeout:void 0,Qo=-1,CT=typeof Promise=="function"?Promise:void 0,r_=typeof queueMicrotask=="function"?queueMicrotask:typeof CT<"u"?function(e){return CT.resolve(null).then(e).catch(Bz)}:AT,Rg=null,Zo=0,ac=1,RT=2,zT=3,Or=4,Mr=new Map,OT=new Set,di=ft.d;ft.d={f:function(){var e=di.f(),t=Es();return e||t},r:function(e){var t=be(e);t!==null&&t.tag===5&&t.type==="form"?Qx(t):di.r(e)},D:function(e){di.D(e),qS("dns-prefetch",e,null)},C:function(e,t){di.C(e,t),qS("preconnect",e,t)},L:function(e,t,r){di.L(e,t,r);var o=fl;if(o&&e&&t){var l='link[rel="preload"][as="'+vr(t)+'"]';t==="image"&&r&&r.imageSrcSet?(l+='[imagesrcset="'+vr(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(l+='[imagesizes="'+vr(r.imageSizes)+'"]')):l+='[href="'+vr(e)+'"]';var c=l;switch(t){case"style":c=ks(e);break;case"script":c=Ns(e)}Mr.has(c)||(e=Je({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),Mr.set(c,e),o.querySelector(l)!==null||t==="style"&&o.querySelector(cu(c))||t==="script"&&o.querySelector(fu(c))||(t=o.createElement("link"),hn(t,"link",e),Oe(t),o.head.appendChild(t)))}},m:function(e,t){di.m(e,t);var r=fl;if(r&&e){var o=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+vr(o)+'"][href="'+vr(e)+'"]',c=l;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ns(e)}if(!Mr.has(c)&&(e=Je({rel:"modulepreload",href:e},t),Mr.set(c,e),r.querySelector(l)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(fu(c)))return}o=r.createElement("link"),hn(o,"link",e),Oe(o),r.head.appendChild(o)}}},X:function(e,t){di.X(e,t);var r=fl;if(r&&e){var o=Pe(r).hoistableScripts,l=Ns(e),c=o.get(l);c||(c=r.querySelector(fu(l)),c||(e=Je({src:e,async:!0},t),(t=Mr.get(l))&&Kp(e,t),c=r.createElement("script"),Oe(c),hn(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},o.set(l,c))}},S:function(e,t,r){di.S(e,t,r);var o=fl;if(o&&e){var l=Pe(o).hoistableStyles,c=ks(e);t=t||"default";var m=l.get(c);if(!m){var g={loading:Zo,preload:null};if(m=o.querySelector(cu(c)))g.loading=ac|Or;else{e=Je({rel:"stylesheet",href:e,"data-precedence":t},r),(r=Mr.get(c))&&Jp(e,r);var w=m=o.createElement("link");Oe(w),hn(w,"link",e),w._p=new Promise(function(E,B){w.onload=E,w.onerror=B}),w.addEventListener("load",function(){g.loading|=ac}),w.addEventListener("error",function(){g.loading|=RT}),g.loading|=Or,Gf(m,t,o)}m={type:"stylesheet",instance:m,count:1,state:g},l.set(c,m)}}},M:function(e,t){di.M(e,t);var r=fl;if(r&&e){var o=Pe(r).hoistableScripts,l=Ns(e),c=o.get(l);c||(c=r.querySelector(fu(l)),c||(e=Je({src:e,async:!0,type:"module"},t),(t=Mr.get(l))&&Kp(e,t),c=r.createElement("script"),Oe(c),hn(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},o.set(l,c))}}};var fl=typeof document>"u"?null:document,Kd=null,a_=6e4,i_=800,o_=500,zg=0,Og=null,Wd=null,Jo=xO,ic={$$typeof:wa,Provider:null,Consumer:null,_currentValue:Jo,_currentValue2:Jo,_threadCount:0},MT="%c%s%c",_T="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",UT="",eh=" ",s_=Function.prototype.bind,jT=!1,VT=null,LT=null,BT=null,HT=null,PT=null,qT=null,IT=null,FT=null,YT=null,GT=null;VT=function(e,t,r,o){t=n(e,t),t!==null&&(r=a(t.memoizedState,r,0,o),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&zt(r,e,2))},LT=function(e,t,r){t=n(e,t),t!==null&&(r=u(t.memoizedState,r,0),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&zt(r,e,2))},BT=function(e,t,r,o){t=n(e,t),t!==null&&(r=i(t.memoizedState,r,o),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&zt(r,e,2))},HT=function(e,t,r){e.pendingProps=a(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&zt(t,e,2)},PT=function(e,t){e.pendingProps=u(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&zt(t,e,2)},qT=function(e,t,r){e.pendingProps=i(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&zt(t,e,2)},IT=function(e){var t=bn(e,2);t!==null&&zt(t,e,2)},FT=function(e){var t=W(),r=bn(e,t);r!==null&&zt(r,e,t)},YT=function(e){d=e},GT=function(e){f=e};var th=!0,nh=null,Mg=!1,Wi=null,eo=null,to=null,oc=new Map,sc=new Map,no=[],l_="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(" "),rh=null;if(Jf.prototype.render=ay.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var r=arguments;typeof r[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):R(r[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof r[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),r=e;var o=t.current,l=ir(o);Wp(o,l,r,t,null,null)},Jf.prototype.unmount=ay.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(st&(nn|dr))!==cn&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Wp(e.current,2,null,e,null,null),Es(),t[Mi]=null}},Jf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Nn();e={blockedOn:null,target:e,priority:t};for(var r=0;r<no.length&&t!==0&&t<no[r].priority;r++);no.splice(r,0,e),r===0&&nw(e)}},(function(){var e=iy.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
229
229
  - react: `+(e+`
230
230
  - react-dom: 19.2.4
231
- Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),ft.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=re(t),e=e!==null?G(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:J,reconcilerVersion:"19.2.4"};return e.overrideHookState=jT,e.overrideHookStateDeletePath=VT,e.overrideHookStateRenamePath=LT,e.overrideProps=BT,e.overridePropsDeletePath=HT,e.overridePropsRenamePath=PT,e.scheduleUpdate=qT,e.scheduleRetry=IT,e.setErrorHandler=FT,e.setSuspenseHandler=YT,e.scheduleRefresh=N,e.scheduleRoot=S,e.setRefreshHandler=V,e.getCurrentFiber=cM,ls(e)})()&&Na&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var GT=window.location.protocol;/^(https?|file):$/.test(GT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(GT==="file:"?`
232
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}lc.createRoot=function(e,t){if(!R(e))throw Error("Target container is not a DOM element.");iD(e);var r=!1,o="",l=n1,c=r1,m=a1;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Sa&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
231
+ Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),ft.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=re(t),e=e!==null?G(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:J,reconcilerVersion:"19.2.4"};return e.overrideHookState=VT,e.overrideHookStateDeletePath=LT,e.overrideHookStateRenamePath=BT,e.overrideProps=HT,e.overridePropsDeletePath=PT,e.overridePropsRenamePath=qT,e.scheduleUpdate=IT,e.scheduleRetry=FT,e.setErrorHandler=YT,e.setSuspenseHandler=GT,e.scheduleRefresh=N,e.scheduleRoot=S,e.setRefreshHandler=V,e.getCurrentFiber=fO,ls(e)})()&&Na&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var $T=window.location.protocol;/^(https?|file):$/.test($T)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+($T==="file:"?`
232
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}lc.createRoot=function(e,t){if(!R(e))throw Error("Target container is not a DOM element.");ow(e);var r=!1,o="",l=r1,c=a1,m=i1;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Sa&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
233
233
 
234
234
  let root = createRoot(domContainer);
235
- root.render(<App />);`),t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=XS(e,1,!1,null,null,r,o,null,l,c,m,aD),e[_i]=t.current,Bp(e),new ag(t)},lc.hydrateRoot=function(e,t,r){if(!R(e))throw Error("Target container is not a DOM element.");iD(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,l="",c=n1,m=r1,y=a1,D=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onUncaughtError!==void 0&&(c=r.onUncaughtError),r.onCaughtError!==void 0&&(m=r.onCaughtError),r.onRecoverableError!==void 0&&(y=r.onRecoverableError),r.formState!==void 0&&(D=r.formState)),t=XS(e,1,!0,t,r??null,o,l,D,c,m,y,aD),t.context=QS(null),r=t.current,o=ir(r),o=an(o),l=Di(o),l.callback=null,Ei(r,l,o),la(o,"hydrateRoot()",null),r=o,t.current.lanes=r,Te(t,r),va(t),e[_i]=t.current,Bp(e),new Jf(t)},lc.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),lc}var nA;function yz(){return nA||(nA=1,jy.exports=gz()),jy.exports}var bz=yz();const vz=Rc(bz);const _N=(...n)=>n.filter((a,i,s)=>!!a&&a.trim()!==""&&s.indexOf(a)===i).join(" ").trim();const xz=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Sz=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,i,s)=>s?s.toUpperCase():i.toLowerCase());const rA=n=>{const a=Sz(n);return a.charAt(0).toUpperCase()+a.slice(1)};var Dz={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"};const Ez=n=>{for(const a in n)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};const Tz=me.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:u="",children:f,iconNode:d,...h},b)=>me.createElement("svg",{ref:b,...Dz,width:a,height:a,stroke:n,strokeWidth:s?Number(i)*24/Number(a):i,className:_N("lucide",u),...!f&&!Ez(h)&&{"aria-hidden":"true"},...h},[...d.map(([g,p])=>me.createElement(g,p)),...Array.isArray(f)?f:[f]]));const kt=(n,a)=>{const i=me.forwardRef(({className:s,...u},f)=>me.createElement(Tz,{ref:f,iconNode:a,className:_N(`lucide-${xz(rA(n))}`,`lucide-${n}`,s),...u}));return i.displayName=rA(n),i};const Az=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],aA=kt("arrow-right",Az);const wz=[["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Nz=kt("ban",wz);const kz=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],zN=kt("brain",kz);const Cz=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Rz=kt("check",Cz);const Oz=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ph=kt("chevron-down",Oz);const Mz=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],gh=kt("chevron-up",Mz);const _z=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Eb=kt("circle-check-big",_z);const zz=[["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"}]],Uz=kt("circle-x",zz);const jz=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],uv=kt("clock",jz);const Vz=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],cv=kt("eye",Vz);const Lz=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],fv=kt("file-text",Lz);const Bz=[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]],Hz=kt("folder-lock",Bz);const Pz=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],UN=kt("folder-open",Pz);const qz=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],iA=kt("gauge",qz);const Iz=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Fz=kt("info",Iz);const Yz=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],Gz=kt("layout-grid",Yz);const $z=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Xz=kt("pen-line",$z);const Qz=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Zz=kt("search",Qz);const Jz=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Kz=kt("send",Jz);const Wz=[["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"}]],kh=kt("shield",Wz);const eU=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],jN=kt("sparkles",eU);const tU=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],dv=kt("terminal",tU);const nU=[["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"}]],VN=kt("triangle-alert",nU);const rU=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],aU=kt("wrench",rU);const iU=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],oU=kt("zap",iU);var Hy={exports:{}},uc={},oA;function sU(){if(oA)return uc;oA=1;return(function(){function n(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===he?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case R:return"Fragment";case Q:return"Profiler";case z:return"StrictMode";case G:return"Suspense";case ye:return"SuspenseList";case F:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case V:return"Portal";case ie:return U.displayName||"Context";case I:return(U._context.displayName||"Context")+".Consumer";case re:var ue=U.render;return U=U.displayName,U||(U=ue.displayName||ue.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case se:return ue=U.displayName||null,ue!==null?ue:n(U.type)||"Memo";case ce:ue=U._payload,U=U._init;try{return n(U(ue))}catch{}}return null}function a(U){return""+U}function i(U){try{a(U);var ue=!1}catch{ue=!0}if(ue){ue=console;var C=ue.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return C.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),a(U)}}function s(U){if(U===R)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ce)return"<...>";try{var ue=n(U);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function u(){var U=oe.A;return U===null?null:U.getOwner()}function f(){return Error("react-stack-top-frame")}function d(U){if(X.call(U,"key")){var ue=Object.getOwnPropertyDescriptor(U,"key").get;if(ue&&ue.isReactWarning)return!1}return U.key!==void 0}function h(U,ue){function C(){Y||(Y=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ue))}C.isReactWarning=!0,Object.defineProperty(U,"key",{get:C,configurable:!0})}function b(){var U=n(this.type);return le[U]||(le[U]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),U=this.props.ref,U!==void 0?U:null}function g(U,ue,C,xe,at,yn){var je=C.ref;return U={$$typeof:N,type:U,key:ue,props:C,_owner:xe},(je!==void 0?je:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:b}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:yn}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function p(U,ue,C,xe,at,yn){var je=ue.children;if(je!==void 0)if(xe)if(ne(je)){for(xe=0;xe<je.length;xe++)v(je[xe]);Object.freeze&&Object.freeze(je)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else v(je);if(X.call(ue,"key")){je=n(U);var Ke=Object.keys(ue).filter(function(Lt){return Lt!=="key"});xe=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",O[je+xe]||(Ke=0<Ke.length?"{"+Ke.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
235
+ root.render(<App />);`),t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=QS(e,1,!1,null,null,r,o,null,l,c,m,iw),e[Mi]=t.current,Bp(e),new ay(t)},lc.hydrateRoot=function(e,t,r){if(!R(e))throw Error("Target container is not a DOM element.");ow(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,l="",c=r1,m=a1,g=i1,w=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onUncaughtError!==void 0&&(c=r.onUncaughtError),r.onCaughtError!==void 0&&(m=r.onCaughtError),r.onRecoverableError!==void 0&&(g=r.onRecoverableError),r.formState!==void 0&&(w=r.formState)),t=QS(e,1,!0,t,r??null,o,l,w,c,m,g,iw),t.context=ZS(null),r=t.current,o=ir(r),o=an(o),l=wi(o),l.callback=null,Ei(r,l,o),la(o,"hydrateRoot()",null),r=o,t.current.lanes=r,Te(t,r),va(t),e[Mi]=t.current,Bp(e),new Jf(t)},lc.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),lc}var rD;function b_(){return rD||(rD=1,jg.exports=g_()),jg.exports}var v_=b_();const x_=Rc(v_);const _N=(...n)=>n.filter((a,i,s)=>!!a&&a.trim()!==""&&s.indexOf(a)===i).join(" ").trim();const S_=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const w_=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,i,s)=>s?s.toUpperCase():i.toLowerCase());const aD=n=>{const a=w_(n);return a.charAt(0).toUpperCase()+a.slice(1)};var E_={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"};const T_=n=>{for(const a in n)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};const D_=me.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:u="",children:f,iconNode:d,...h},b)=>me.createElement("svg",{ref:b,...E_,width:a,height:a,stroke:n,strokeWidth:s?Number(i)*24/Number(a):i,className:_N("lucide",u),...!f&&!T_(h)&&{"aria-hidden":"true"},...h},[...d.map(([y,p])=>me.createElement(y,p)),...Array.isArray(f)?f:[f]]));const At=(n,a)=>{const i=me.forwardRef(({className:s,...u},f)=>me.createElement(D_,{ref:f,iconNode:a,className:_N(`lucide-${S_(aD(n))}`,`lucide-${n}`,s),...u}));return i.displayName=aD(n),i};const k_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],iD=At("arrow-right",k_);const N_=[["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],A_=At("ban",N_);const C_=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],UN=At("brain",C_);const R_=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],z_=At("check",R_);const O_=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ph=At("chevron-down",O_);const M_=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],yh=At("chevron-up",M_);const __=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Tb=At("circle-check-big",__);const U_=[["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"}]],j_=At("circle-x",U_);const V_=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],c0=At("clock",V_);const L_=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],f0=At("eye",L_);const B_=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],d0=At("file-text",B_);const H_=[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]],P_=At("folder-lock",H_);const q_=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],jN=At("folder-open",q_);const I_=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],oD=At("gauge",I_);const F_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Y_=At("info",F_);const G_=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],$_=At("layout-grid",G_);const X_=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Q_=At("pen-line",X_);const Z_=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],J_=At("search",Z_);const K_=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],W_=At("send",K_);const eU=[["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"}]],Ah=At("shield",eU);const tU=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],VN=At("sparkles",tU);const nU=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],h0=At("terminal",nU);const rU=[["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"}]],LN=At("triangle-alert",rU);const aU=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],iU=At("wrench",aU);const oU=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],sU=At("zap",oU);var Hg={exports:{}},uc={},sD;function lU(){if(sD)return uc;sD=1;return(function(){function n(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===he?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case R:return"Fragment";case Q:return"Profiler";case _:return"StrictMode";case G:return"Suspense";case ge:return"SuspenseList";case F:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case V:return"Portal";case ie:return U.displayName||"Context";case I:return(U._context.displayName||"Context")+".Consumer";case re:var ue=U.render;return U=U.displayName,U||(U=ue.displayName||ue.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case se:return ue=U.displayName||null,ue!==null?ue:n(U.type)||"Memo";case ce:ue=U._payload,U=U._init;try{return n(U(ue))}catch{}}return null}function a(U){return""+U}function i(U){try{a(U);var ue=!1}catch{ue=!0}if(ue){ue=console;var C=ue.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return C.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),a(U)}}function s(U){if(U===R)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ce)return"<...>";try{var ue=n(U);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function u(){var U=oe.A;return U===null?null:U.getOwner()}function f(){return Error("react-stack-top-frame")}function d(U){if(X.call(U,"key")){var ue=Object.getOwnPropertyDescriptor(U,"key").get;if(ue&&ue.isReactWarning)return!1}return U.key!==void 0}function h(U,ue){function C(){Y||(Y=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ue))}C.isReactWarning=!0,Object.defineProperty(U,"key",{get:C,configurable:!0})}function b(){var U=n(this.type);return le[U]||(le[U]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),U=this.props.ref,U!==void 0?U:null}function y(U,ue,C,xe,at,gn){var je=C.ref;return U={$$typeof:N,type:U,key:ue,props:C,_owner:xe},(je!==void 0?je:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:b}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:gn}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function p(U,ue,C,xe,at,gn){var je=ue.children;if(je!==void 0)if(xe)if(ne(je)){for(xe=0;xe<je.length;xe++)v(je[xe]);Object.freeze&&Object.freeze(je)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else v(je);if(X.call(ue,"key")){je=n(U);var Ke=Object.keys(ue).filter(function(Lt){return Lt!=="key"});xe=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",z[je+xe]||(Ke=0<Ke.length?"{"+Ke.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
236
236
  let props = %s;
237
237
  <%s {...props} />
238
238
  React keys must be passed directly to JSX without using spread:
239
239
  let props = %s;
240
- <%s key={someKey} {...props} />`,xe,je,Ke,je),O[je+xe]=!0)}if(je=null,C!==void 0&&(i(C),je=""+C),d(ue)&&(i(ue.key),je=""+ue.key),"key"in ue){C={};for(var Ut in ue)Ut!=="key"&&(C[Ut]=ue[Ut])}else C=ue;return je&&h(C,typeof U=="function"?U.displayName||U.name||"Unknown":U),g(U,je,C,u(),at,yn)}function v(U){x(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ce&&(U._payload.status==="fulfilled"?x(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function x(U){return typeof U=="object"&&U!==null&&U.$$typeof===N}var S=Oc(),N=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ye=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),oe=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Object.prototype.hasOwnProperty,ne=Array.isArray,ae=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(U){return U()}};var Y,le={},pe=S.react_stack_bottom_frame.bind(S,f)(),Oe=ae(s(f)),O={};uc.Fragment=R,uc.jsx=function(U,ue,C){var xe=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,!1,xe?Error("react-stack-top-frame"):pe,xe?ae(s(U)):Oe)},uc.jsxs=function(U,ue,C){var xe=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,!0,xe?Error("react-stack-top-frame"):pe,xe?ae(s(U)):Oe)}})(),uc}var sA;function lU(){return sA||(sA=1,Hy.exports=sU()),Hy.exports}var Vr=lU();const hv=me.createContext({});function mv(n){const a=me.useRef(null);return a.current===null&&(a.current=n()),a.current}const LN=typeof window<"u",BN=LN?me.useLayoutEffect:me.useEffect,Ph=me.createContext(null);function pv(n,a){n.indexOf(a)===-1&&n.push(a)}function Ch(n,a){const i=n.indexOf(a);i>-1&&n.splice(i,1)}const Va=(n,a,i)=>i>a?a:i<n?n:i;function Tb(n,a){return a?`${n}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${a}`:n}let wl=()=>{},mi=()=>{};typeof process<"u"&&(wl=(n,a,i)=>{!n&&typeof console<"u"&&console.warn(Tb(a,i))},mi=(n,a,i)=>{if(!n)throw new Error(Tb(a,i))});const pi={},HN=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function PN(n){return typeof n=="object"&&n!==null}const qN=n=>/^0[^.\s]+$/u.test(n);function gv(n){let a;return()=>(a===void 0&&(a=n()),a)}const Lr=n=>n,uU=(n,a)=>i=>a(n(i)),Mc=(...n)=>n.reduce(uU),Tc=(n,a,i)=>{const s=a-n;return s===0?1:(i-n)/s};class yv{constructor(){this.subscriptions=[]}add(a){return pv(this.subscriptions,a),()=>Ch(this.subscriptions,a)}notify(a,i,s){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](a,i,s);else for(let f=0;f<u;f++){const d=this.subscriptions[f];d&&d(a,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Br=n=>n*1e3,jr=n=>n/1e3;function IN(n,a){return a?n*(1e3/a):0}const lA=new Set;function bv(n,a,i){n||lA.has(a)||(console.warn(Tb(a,i)),lA.add(a))}const FN=(n,a,i)=>(((1-3*i+3*a)*n+(3*i-6*a))*n+3*a)*n,cU=1e-7,fU=12;function dU(n,a,i,s,u){let f,d,h=0;do d=a+(i-a)/2,f=FN(d,s,u)-n,f>0?i=d:a=d;while(Math.abs(f)>cU&&++h<fU);return d}function _c(n,a,i,s){if(n===a&&i===s)return Lr;const u=f=>dU(f,0,1,n,i);return f=>f===0||f===1?f:FN(u(f),a,s)}const YN=n=>a=>a<=.5?n(2*a)/2:(2-n(2*(1-a)))/2,GN=n=>a=>1-n(1-a),$N=_c(.33,1.53,.69,.99),vv=GN($N),XN=YN(vv),QN=n=>(n*=2)<1?.5*vv(n):.5*(2-Math.pow(2,-10*(n-1))),xv=n=>1-Math.sin(Math.acos(n)),ZN=GN(xv),JN=YN(xv),hU=_c(.42,0,1,1),mU=_c(0,0,.58,1),KN=_c(.42,0,.58,1),pU=n=>Array.isArray(n)&&typeof n[0]!="number",WN=n=>Array.isArray(n)&&typeof n[0]=="number",uA={linear:Lr,easeIn:hU,easeInOut:KN,easeOut:mU,circIn:xv,circInOut:JN,circOut:ZN,backIn:vv,backInOut:XN,backOut:$N,anticipate:QN},gU=n=>typeof n=="string",cA=n=>{if(WN(n)){mi(n.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[a,i,s,u]=n;return _c(a,i,s,u)}else if(gU(n))return mi(uA[n]!==void 0,`Invalid easing type '${n}'`,"invalid-easing-type"),uA[n];return n},ih=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function yU(n,a){let i=new Set,s=new Set,u=!1,f=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function b(p){d.has(p)&&(g.schedule(p),n()),p(h)}const g={schedule:(p,v=!1,x=!1)=>{const N=x&&u?i:s;return v&&d.add(p),N.has(p)||N.add(p),p},cancel:p=>{s.delete(p),d.delete(p)},process:p=>{if(h=p,u){f=!0;return}u=!0,[i,s]=[s,i],i.forEach(b),i.clear(),u=!1,f&&(f=!1,g.process(p))}};return g}const bU=40;function ek(n,a){let i=!1,s=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>i=!0,d=ih.reduce((I,ie)=>(I[ie]=yU(f),I),{}),{setup:h,read:b,resolveKeyframes:g,preUpdate:p,update:v,preRender:x,render:S,postRender:N}=d,V=()=>{const I=pi.useManualTiming?u.timestamp:performance.now();i=!1,pi.useManualTiming||(u.delta=s?1e3/60:Math.max(Math.min(I-u.timestamp,bU),1)),u.timestamp=I,u.isProcessing=!0,h.process(u),b.process(u),g.process(u),p.process(u),v.process(u),x.process(u),S.process(u),N.process(u),u.isProcessing=!1,i&&a&&(s=!1,n(V))},R=()=>{i=!0,s=!0,u.isProcessing||n(V)};return{schedule:ih.reduce((I,ie)=>{const re=d[ie];return I[ie]=(G,ye=!1,se=!1)=>(i||R(),re.schedule(G,ye,se)),I},{}),cancel:I=>{for(let ie=0;ie<ih.length;ie++)d[ih[ie]].cancel(I)},state:u,steps:d}}const{schedule:At,cancel:lo,state:gn,steps:Py}=ek(typeof requestAnimationFrame<"u"?requestAnimationFrame:Lr,!0);let yh;function vU(){yh=void 0}const Ln={now:()=>(yh===void 0&&Ln.set(gn.isProcessing||pi.useManualTiming?gn.timestamp:performance.now()),yh),set:n=>{yh=n,queueMicrotask(vU)}},tk=n=>a=>typeof a=="string"&&a.startsWith(n),nk=tk("--"),xU=tk("var(--"),Sv=n=>xU(n)?SU.test(n.split("/*")[0].trim()):!1,SU=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function fA(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Nl={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Ac={...Nl,transform:n=>Va(0,1,n)},oh={...Nl,default:1},bc=n=>Math.round(n*1e5)/1e5,Dv=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function DU(n){return n==null}const EU=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ev=(n,a)=>i=>!!(typeof i=="string"&&EU.test(i)&&i.startsWith(n)||a&&!DU(i)&&Object.prototype.hasOwnProperty.call(i,a)),rk=(n,a,i)=>s=>{if(typeof s!="string")return s;const[u,f,d,h]=s.match(Dv);return{[n]:parseFloat(u),[a]:parseFloat(f),[i]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},TU=n=>Va(0,255,n),qy={...Nl,transform:n=>Math.round(TU(n))},ts={test:Ev("rgb","red"),parse:rk("red","green","blue"),transform:({red:n,green:a,blue:i,alpha:s=1})=>"rgba("+qy.transform(n)+", "+qy.transform(a)+", "+qy.transform(i)+", "+bc(Ac.transform(s))+")"};function AU(n){let a="",i="",s="",u="";return n.length>5?(a=n.substring(1,3),i=n.substring(3,5),s=n.substring(5,7),u=n.substring(7,9)):(a=n.substring(1,2),i=n.substring(2,3),s=n.substring(3,4),u=n.substring(4,5),a+=a,i+=i,s+=s,u+=u),{red:parseInt(a,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:u?parseInt(u,16)/255:1}}const Ab={test:Ev("#"),parse:AU,transform:ts.transform},zc=n=>({test:a=>typeof a=="string"&&a.endsWith(n)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${n}`}),io=zc("deg"),ja=zc("%"),Ne=zc("px"),wU=zc("vh"),NU=zc("vw"),dA={...ja,parse:n=>ja.parse(n)/100,transform:n=>ja.transform(n*100)},pl={test:Ev("hsl","hue"),parse:rk("hue","saturation","lightness"),transform:({hue:n,saturation:a,lightness:i,alpha:s=1})=>"hsla("+Math.round(n)+", "+ja.transform(bc(a))+", "+ja.transform(bc(i))+", "+bc(Ac.transform(s))+")"},Kt={test:n=>ts.test(n)||Ab.test(n)||pl.test(n),parse:n=>ts.test(n)?ts.parse(n):pl.test(n)?pl.parse(n):Ab.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?ts.transform(n):pl.transform(n),getAnimatableNone:n=>{const a=Kt.parse(n);return a.alpha=0,Kt.transform(a)}},kU=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function CU(n){return isNaN(n)&&typeof n=="string"&&(n.match(Dv)?.length||0)+(n.match(kU)?.length||0)>0}const ak="number",ik="color",RU="var",OU="var(",hA="${}",MU=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function wc(n){const a=n.toString(),i=[],s={color:[],number:[],var:[]},u=[];let f=0;const h=a.replace(MU,b=>(Kt.test(b)?(s.color.push(f),u.push(ik),i.push(Kt.parse(b))):b.startsWith(OU)?(s.var.push(f),u.push(RU),i.push(b)):(s.number.push(f),u.push(ak),i.push(parseFloat(b))),++f,hA)).split(hA);return{values:i,split:h,indexes:s,types:u}}function ok(n){return wc(n).values}function sk(n){const{split:a,types:i}=wc(n),s=a.length;return u=>{let f="";for(let d=0;d<s;d++)if(f+=a[d],u[d]!==void 0){const h=i[d];h===ak?f+=bc(u[d]):h===ik?f+=Kt.transform(u[d]):f+=u[d]}return f}}const _U=n=>typeof n=="number"?0:Kt.test(n)?Kt.getAnimatableNone(n):n;function zU(n){const a=ok(n);return sk(n)(a.map(_U))}const uo={test:CU,parse:ok,createTransformer:sk,getAnimatableNone:zU};function Iy(n,a,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?n+(a-n)*6*i:i<1/2?a:i<2/3?n+(a-n)*(2/3-i)*6:n}function UU({hue:n,saturation:a,lightness:i,alpha:s}){n/=360,a/=100,i/=100;let u=0,f=0,d=0;if(!a)u=f=d=i;else{const h=i<.5?i*(1+a):i+a-i*a,b=2*i-h;u=Iy(b,h,n+1/3),f=Iy(b,h,n),d=Iy(b,h,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:s}}function Rh(n,a){return i=>i>0?a:n}const zt=(n,a,i)=>n+(a-n)*i,Fy=(n,a,i)=>{const s=n*n,u=i*(a*a-s)+s;return u<0?0:Math.sqrt(u)},jU=[Ab,ts,pl],VU=n=>jU.find(a=>a.test(n));function mA(n){const a=VU(n);if(wl(!!a,`'${n}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!a)return!1;let i=a.parse(n);return a===pl&&(i=UU(i)),i}const pA=(n,a)=>{const i=mA(n),s=mA(a);if(!i||!s)return Rh(n,a);const u={...i};return f=>(u.red=Fy(i.red,s.red,f),u.green=Fy(i.green,s.green,f),u.blue=Fy(i.blue,s.blue,f),u.alpha=zt(i.alpha,s.alpha,f),ts.transform(u))},wb=new Set(["none","hidden"]);function LU(n,a){return wb.has(n)?i=>i<=0?n:a:i=>i>=1?a:n}function BU(n,a){return i=>zt(n,a,i)}function Tv(n){return typeof n=="number"?BU:typeof n=="string"?Sv(n)?Rh:Kt.test(n)?pA:qU:Array.isArray(n)?lk:typeof n=="object"?Kt.test(n)?pA:HU:Rh}function lk(n,a){const i=[...n],s=i.length,u=n.map((f,d)=>Tv(f)(f,a[d]));return f=>{for(let d=0;d<s;d++)i[d]=u[d](f);return i}}function HU(n,a){const i={...n,...a},s={};for(const u in i)n[u]!==void 0&&a[u]!==void 0&&(s[u]=Tv(n[u])(n[u],a[u]));return u=>{for(const f in s)i[f]=s[f](u);return i}}function PU(n,a){const i=[],s={color:0,var:0,number:0};for(let u=0;u<a.values.length;u++){const f=a.types[u],d=n.indexes[f][s[f]],h=n.values[d]??0;i[u]=h,s[f]++}return i}const qU=(n,a)=>{const i=uo.createTransformer(a),s=wc(n),u=wc(a);return s.indexes.var.length===u.indexes.var.length&&s.indexes.color.length===u.indexes.color.length&&s.indexes.number.length>=u.indexes.number.length?wb.has(n)&&!u.values.length||wb.has(a)&&!s.values.length?LU(n,a):Mc(lk(PU(s,u),u.values),i):(wl(!0,`Complex values '${n}' and '${a}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Rh(n,a))};function uk(n,a,i){return typeof n=="number"&&typeof a=="number"&&typeof i=="number"?zt(n,a,i):Tv(n)(n,a)}const IU=n=>{const a=({timestamp:i})=>n(i);return{start:(i=!0)=>At.update(a,i),stop:()=>lo(a),now:()=>gn.isProcessing?gn.timestamp:Ln.now()}},ck=(n,a,i=10)=>{let s="";const u=Math.max(Math.round(a/i),2);for(let f=0;f<u;f++)s+=Math.round(n(f/(u-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},Oh=2e4;function Av(n){let a=0;const i=50;let s=n.next(a);for(;!s.done&&a<Oh;)a+=i,s=n.next(a);return a>=Oh?1/0:a}function FU(n,a=100,i){const s=i({...n,keyframes:[0,a]}),u=Math.min(Av(s),Oh);return{type:"keyframes",ease:f=>s.next(u*f).value/a,duration:jr(u)}}const YU=5;function fk(n,a,i){const s=Math.max(a-YU,0);return IN(i-n(s),a-s)}const _t={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Yy=.001;function GU({duration:n=_t.duration,bounce:a=_t.bounce,velocity:i=_t.velocity,mass:s=_t.mass}){let u,f;wl(n<=Br(_t.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-a;d=Va(_t.minDamping,_t.maxDamping,d),n=Va(_t.minDuration,_t.maxDuration,jr(n)),d<1?(u=g=>{const p=g*d,v=p*n,x=p-i,S=Nb(g,d),N=Math.exp(-v);return Yy-x/S*N},f=g=>{const v=g*d*n,x=v*i+i,S=Math.pow(d,2)*Math.pow(g,2)*n,N=Math.exp(-v),V=Nb(Math.pow(g,2),d);return(-u(g)+Yy>0?-1:1)*((x-S)*N)/V}):(u=g=>{const p=Math.exp(-g*n),v=(g-i)*n+1;return-Yy+p*v},f=g=>{const p=Math.exp(-g*n),v=(i-g)*(n*n);return p*v});const h=5/n,b=XU(u,f,h);if(n=Br(n),isNaN(b))return{stiffness:_t.stiffness,damping:_t.damping,duration:n};{const g=Math.pow(b,2)*s;return{stiffness:g,damping:d*2*Math.sqrt(s*g),duration:n}}}const $U=12;function XU(n,a,i){let s=i;for(let u=1;u<$U;u++)s=s-n(s)/a(s);return s}function Nb(n,a){return n*Math.sqrt(1-a*a)}const QU=["duration","bounce"],ZU=["stiffness","damping","mass"];function gA(n,a){return a.some(i=>n[i]!==void 0)}function JU(n){let a={velocity:_t.velocity,stiffness:_t.stiffness,damping:_t.damping,mass:_t.mass,isResolvedFromDuration:!1,...n};if(!gA(n,ZU)&&gA(n,QU))if(n.visualDuration){const i=n.visualDuration,s=2*Math.PI/(i*1.2),u=s*s,f=2*Va(.05,1,1-(n.bounce||0))*Math.sqrt(u);a={...a,mass:_t.mass,stiffness:u,damping:f}}else{const i=GU(n);a={...a,...i,mass:_t.mass},a.isResolvedFromDuration=!0}return a}function Mh(n=_t.visualDuration,a=_t.bounce){const i=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:a}:n;let{restSpeed:s,restDelta:u}=i;const f=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],h={done:!1,value:f},{stiffness:b,damping:g,mass:p,duration:v,velocity:x,isResolvedFromDuration:S}=JU({...i,velocity:-jr(i.velocity||0)}),N=x||0,V=g/(2*Math.sqrt(b*p)),R=d-f,z=jr(Math.sqrt(b/p)),Q=Math.abs(R)<5;s||(s=Q?_t.restSpeed.granular:_t.restSpeed.default),u||(u=Q?_t.restDelta.granular:_t.restDelta.default);let I;if(V<1){const re=Nb(z,V);I=G=>{const ye=Math.exp(-V*z*G);return d-ye*((N+V*z*R)/re*Math.sin(re*G)+R*Math.cos(re*G))}}else if(V===1)I=re=>d-Math.exp(-z*re)*(R+(N+z*R)*re);else{const re=z*Math.sqrt(V*V-1);I=G=>{const ye=Math.exp(-V*z*G),se=Math.min(re*G,300);return d-ye*((N+V*z*R)*Math.sinh(se)+re*R*Math.cosh(se))/re}}const ie={calculatedDuration:S&&v||null,next:re=>{const G=I(re);if(S)h.done=re>=v;else{let ye=re===0?N:0;V<1&&(ye=re===0?Br(N):fk(I,re,G));const se=Math.abs(ye)<=s,ce=Math.abs(d-G)<=u;h.done=se&&ce}return h.value=h.done?d:G,h},toString:()=>{const re=Math.min(Av(ie),Oh),G=ck(ye=>ie.next(re*ye).value,re,30);return re+"ms "+G},toTransition:()=>{}};return ie}Mh.applyToOptions=n=>{const a=FU(n,100,Mh);return n.ease=a.ease,n.duration=Br(a.duration),n.type="keyframes",n};function kb({keyframes:n,velocity:a=0,power:i=.8,timeConstant:s=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:d,min:h,max:b,restDelta:g=.5,restSpeed:p}){const v=n[0],x={done:!1,value:v},S=se=>h!==void 0&&se<h||b!==void 0&&se>b,N=se=>h===void 0?b:b===void 0||Math.abs(h-se)<Math.abs(b-se)?h:b;let V=i*a;const R=v+V,z=d===void 0?R:d(R);z!==R&&(V=z-v);const Q=se=>-V*Math.exp(-se/s),I=se=>z+Q(se),ie=se=>{const ce=Q(se),F=I(se);x.done=Math.abs(ce)<=g,x.value=x.done?z:F};let re,G;const ye=se=>{S(x.value)&&(re=se,G=Mh({keyframes:[x.value,N(x.value)],velocity:fk(I,se,x.value),damping:u,stiffness:f,restDelta:g,restSpeed:p}))};return ye(0),{calculatedDuration:null,next:se=>{let ce=!1;return!G&&re===void 0&&(ce=!0,ie(se),ye(se)),re!==void 0&&se>=re?G.next(se-re):(!ce&&ie(se),x)}}}function KU(n,a,i){const s=[],u=i||pi.mix||uk,f=n.length-1;for(let d=0;d<f;d++){let h=u(n[d],n[d+1]);if(a){const b=Array.isArray(a)?a[d]||Lr:a;h=Mc(b,h)}s.push(h)}return s}function WU(n,a,{clamp:i=!0,ease:s,mixer:u}={}){const f=n.length;if(mi(f===a.length,"Both input and output ranges must be the same length","range-length"),f===1)return()=>a[0];if(f===2&&a[0]===a[1])return()=>a[1];const d=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),a=[...a].reverse());const h=KU(a,s,u),b=h.length,g=p=>{if(d&&p<n[0])return a[0];let v=0;if(b>1)for(;v<n.length-2&&!(p<n[v+1]);v++);const x=Tc(n[v],n[v+1],p);return h[v](x)};return i?p=>g(Va(n[0],n[f-1],p)):g}function e3(n,a){const i=n[n.length-1];for(let s=1;s<=a;s++){const u=Tc(0,a,s);n.push(zt(i,1,u))}}function t3(n){const a=[0];return e3(a,n.length-1),a}function n3(n,a){return n.map(i=>i*a)}function r3(n,a){return n.map(()=>a||KN).splice(0,n.length-1)}function gl({duration:n=300,keyframes:a,times:i,ease:s="easeInOut"}){const u=pU(s)?s.map(cA):cA(s),f={done:!1,value:a[0]},d=n3(i&&i.length===a.length?i:t3(a),n),h=WU(d,a,{ease:Array.isArray(u)?u:r3(a,u)});return{calculatedDuration:n,next:b=>(f.value=h(b),f.done=b>=n,f)}}const a3=n=>n!==null;function wv(n,{repeat:a,repeatType:i="loop"},s,u=1){const f=n.filter(a3),h=u<0||a&&i!=="loop"&&a%2===1?0:f.length-1;return!h||s===void 0?f[h]:s}const i3={decay:kb,inertia:kb,tween:gl,keyframes:gl,spring:Mh};function dk(n){typeof n.type=="string"&&(n.type=i3[n.type])}class Nv{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,i){return this.finished.then(a,i)}}const o3=n=>n/100;class kv extends Nv{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==Ln.now()&&this.tick(Ln.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;dk(a);const{type:i=gl,repeat:s=0,repeatDelay:u=0,repeatType:f,velocity:d=0}=a;let{keyframes:h}=a;const b=i||gl;b!==gl&&mi(h.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${h}`,"spring-two-frames"),b!==gl&&typeof h[0]!="number"&&(this.mixKeyframes=Mc(o3,uk(h[0],h[1])),h=[0,100]);const g=b({...a,keyframes:h});f==="mirror"&&(this.mirroredGenerator=b({...a,keyframes:[...h].reverse(),velocity:-d})),g.calculatedDuration===null&&(g.calculatedDuration=Av(g));const{calculatedDuration:p}=g;this.calculatedDuration=p,this.resolvedDuration=p+u,this.totalDuration=this.resolvedDuration*(s+1)-u,this.generator=g}updateTime(a){const i=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(a,i=!1){const{generator:s,totalDuration:u,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:b}=this;if(this.startTime===null)return s.next(0);const{delay:g=0,keyframes:p,repeat:v,repeatType:x,repeatDelay:S,type:N,onUpdate:V,finalKeyframe:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-u/this.speed,this.startTime)),i?this.currentTime=a:this.updateTime(a);const z=this.currentTime-g*(this.playbackSpeed>=0?1:-1),Q=this.playbackSpeed>=0?z<0:z>u;this.currentTime=Math.max(z,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let I=this.currentTime,ie=s;if(v){const se=Math.min(this.currentTime,u)/h;let ce=Math.floor(se),F=se%1;!F&&se>=1&&(F=1),F===1&&ce--,ce=Math.min(ce,v+1),ce%2&&(x==="reverse"?(F=1-F,S&&(F-=S/h)):x==="mirror"&&(ie=d)),I=Va(0,1,F)*h}const re=Q?{done:!1,value:p[0]}:ie.next(I);f&&(re.value=f(re.value));let{done:G}=re;!Q&&b!==null&&(G=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const ye=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return ye&&N!==kb&&(re.value=wv(p,this.options,R,this.speed)),V&&V(re.value),ye&&this.finish(),re}then(a,i){return this.finished.then(a,i)}get duration(){return jr(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+jr(a)}get time(){return jr(this.currentTime)}set time(a){a=Br(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(Ln.now());const i=this.playbackSpeed!==a;this.playbackSpeed=a,i&&(this.time=jr(this.currentTime))}play(){if(this.isStopped)return;const{driver:a=IU,startTime:i}=this.options;this.driver||(this.driver=a(u=>this.tick(u))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ln.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),a.observe(this)}}function s3(n){for(let a=1;a<n.length;a++)n[a]??(n[a]=n[a-1])}const ns=n=>n*180/Math.PI,Cb=n=>{const a=ns(Math.atan2(n[1],n[0]));return Rb(a)},l3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:Cb,rotateZ:Cb,skewX:n=>ns(Math.atan(n[1])),skewY:n=>ns(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},Rb=n=>(n=n%360,n<0&&(n+=360),n),yA=Cb,bA=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),vA=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),u3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:bA,scaleY:vA,scale:n=>(bA(n)+vA(n))/2,rotateX:n=>Rb(ns(Math.atan2(n[6],n[5]))),rotateY:n=>Rb(ns(Math.atan2(-n[2],n[0]))),rotateZ:yA,rotate:yA,skewX:n=>ns(Math.atan(n[4])),skewY:n=>ns(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function Ob(n){return n.includes("scale")?1:0}function Mb(n,a){if(!n||n==="none")return Ob(a);const i=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,u;if(i)s=u3,u=i;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=l3,u=h}if(!u)return Ob(a);const f=s[a],d=u[1].split(",").map(f3);return typeof f=="function"?f(d):d[f]}const c3=(n,a)=>{const{transform:i="none"}=getComputedStyle(n);return Mb(i,a)};function f3(n){return parseFloat(n.trim())}const kl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Cl=new Set(kl),xA=n=>n===Nl||n===Ne,d3=new Set(["x","y","z"]),h3=kl.filter(n=>!d3.has(n));function m3(n){const a=[];return h3.forEach(i=>{const s=n.getValue(i);s!==void 0&&(a.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),a}const oo={width:({x:n},{paddingLeft:a="0",paddingRight:i="0"})=>n.max-n.min-parseFloat(a)-parseFloat(i),height:({y:n},{paddingTop:a="0",paddingBottom:i="0"})=>n.max-n.min-parseFloat(a)-parseFloat(i),top:(n,{top:a})=>parseFloat(a),left:(n,{left:a})=>parseFloat(a),bottom:({y:n},{top:a})=>parseFloat(a)+(n.max-n.min),right:({x:n},{left:a})=>parseFloat(a)+(n.max-n.min),x:(n,{transform:a})=>Mb(a,"x"),y:(n,{transform:a})=>Mb(a,"y")};oo.translateX=oo.x;oo.translateY=oo.y;const as=new Set;let _b=!1,zb=!1,Ub=!1;function hk(){if(zb){const n=Array.from(as).filter(s=>s.needsMeasurement),a=new Set(n.map(s=>s.element)),i=new Map;a.forEach(s=>{const u=m3(s);u.length&&(i.set(s,u),s.render())}),n.forEach(s=>s.measureInitialState()),a.forEach(s=>{s.render();const u=i.get(s);u&&u.forEach(([f,d])=>{s.getValue(f)?.set(d)})}),n.forEach(s=>s.measureEndState()),n.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}zb=!1,_b=!1,as.forEach(n=>n.complete(Ub)),as.clear()}function mk(){as.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(zb=!0)})}function p3(){Ub=!0,mk(),hk(),Ub=!1}class Cv{constructor(a,i,s,u,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=i,this.name=s,this.motionValue=u,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(as.add(this),_b||(_b=!0,At.read(mk),At.resolveKeyframes(hk))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:i,element:s,motionValue:u}=this;if(a[0]===null){const f=u?.get(),d=a[a.length-1];if(f!==void 0)a[0]=f;else if(s&&i){const h=s.readValue(i,d);h!=null&&(a[0]=h)}a[0]===void 0&&(a[0]=d),u&&f===void 0&&u.set(a[0])}s3(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),as.delete(this)}cancel(){this.state==="scheduled"&&(as.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const g3=n=>n.startsWith("--");function y3(n,a,i){g3(a)?n.style.setProperty(a,i):n.style[a]=i}const b3=gv(()=>window.ScrollTimeline!==void 0),v3={};function x3(n,a){const i=gv(n);return()=>v3[a]??i()}const pk=x3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),yc=([n,a,i,s])=>`cubic-bezier(${n}, ${a}, ${i}, ${s})`,SA={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yc([0,.65,.55,1]),circOut:yc([.55,0,1,.45]),backIn:yc([.31,.01,.66,-.59]),backOut:yc([.33,1.53,.69,.99])};function gk(n,a){if(n)return typeof n=="function"?pk()?ck(n,a):"ease-out":WN(n)?yc(n):Array.isArray(n)?n.map(i=>gk(i,a)||SA.easeOut):SA[n]}function S3(n,a,i,{delay:s=0,duration:u=300,repeat:f=0,repeatType:d="loop",ease:h="easeOut",times:b}={},g=void 0){const p={[a]:i};b&&(p.offset=b);const v=gk(h,u);Array.isArray(v)&&(p.easing=v);const x={delay:s,duration:u,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return g&&(x.pseudoElement=g),n.animate(p,x)}function yk(n){return typeof n=="function"&&"applyToOptions"in n}function D3({type:n,...a}){return yk(n)&&pk()?n.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class bk extends Nv{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:i,name:s,keyframes:u,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:h,onComplete:b}=a;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=a,mi(typeof a.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const g=D3(a);this.animation=S3(i,s,u,g,f),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const p=wv(u,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(p):y3(i,s,p),this.animation.cancel()}b?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const a=this.options?.element;!this.isPseudoElement&&a?.isConnected&&this.animation.commitStyles?.()}get duration(){const a=this.animation.effect?.getComputedTiming?.().duration||0;return jr(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+jr(a)}get time(){return jr(Number(this.animation.currentTime)||0)}set time(a){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Br(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,a&&b3()?(this.animation.timeline=a,Lr):i(this)}}const vk={anticipate:QN,backInOut:XN,circInOut:JN};function E3(n){return n in vk}function T3(n){typeof n.ease=="string"&&E3(n.ease)&&(n.ease=vk[n.ease])}const Gy=10;class A3 extends bk{constructor(a){T3(a),dk(a),super(a),a.startTime!==void 0&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:i,onUpdate:s,onComplete:u,element:f,...d}=this.options;if(!i)return;if(a!==void 0){i.set(a);return}const h=new kv({...d,autoplay:!1}),b=Math.max(Gy,Ln.now()-this.startTime),g=Va(0,Gy,b-Gy);i.setWithVelocity(h.sample(Math.max(0,b-g)).value,h.sample(b).value,g),h.stop()}}const DA=(n,a)=>a==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(uo.test(n)||n==="0")&&!n.startsWith("url("));function w3(n){const a=n[0];if(n.length===1)return!0;for(let i=0;i<n.length;i++)if(n[i]!==a)return!0}function N3(n,a,i,s){const u=n[0];if(u===null)return!1;if(a==="display"||a==="visibility")return!0;const f=n[n.length-1],d=DA(u,a),h=DA(f,a);return wl(d===h,`You are trying to animate ${a} from "${u}" to "${f}". "${d?f:u}" is not an animatable value.`,"value-not-animatable"),!d||!h?!1:w3(n)||(i==="spring"||yk(i))&&s}function jb(n){n.duration=0,n.type="keyframes"}const k3=new Set(["opacity","clipPath","filter","transform"]),C3=gv(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function R3(n){const{motionValue:a,name:i,repeatDelay:s,repeatType:u,damping:f,type:d}=n;if(!(a?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:b,transformTemplate:g}=a.owner.getProps();return C3()&&i&&k3.has(i)&&(i!=="transform"||!g)&&!b&&!s&&u!=="mirror"&&f!==0&&d!=="inertia"}const O3=40;class M3 extends Nv{constructor({autoplay:a=!0,delay:i=0,type:s="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:d="loop",keyframes:h,name:b,motionValue:g,element:p,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ln.now();const x={autoplay:a,delay:i,type:s,repeat:u,repeatDelay:f,repeatType:d,name:b,motionValue:g,element:p,...v},S=p?.KeyframeResolver||Cv;this.keyframeResolver=new S(h,(N,V,R)=>this.onKeyframesResolved(N,V,x,!R),b,g,p),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(a,i,s,u){this.keyframeResolver=void 0;const{name:f,type:d,velocity:h,delay:b,isHandoff:g,onUpdate:p}=s;this.resolvedAt=Ln.now(),N3(a,f,d,h)||((pi.instantAnimations||!b)&&p?.(wv(a,s,i)),a[0]=a[a.length-1],jb(s),s.repeat=0);const x={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>O3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:a},S=!g&&R3(x),N=x.motionValue?.owner?.current,V=S?new A3({...x,element:N}):new kv(x);V.finished.then(()=>{this.notifyFinished()}).catch(Lr),this.pendingTimeline&&(this.stopTimeline=V.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=V}get finished(){return this._animation?this.animation.finished:this._finished}then(a,i){return this.finished.finally(a).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),p3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function xk(n,a,i,s=0,u=1){const f=Array.from(n).sort((g,p)=>g.sortNodePosition(p)).indexOf(a),d=n.size,h=(d-1)*s;return typeof i=="function"?i(f,d):u===1?f*s:h-f*s}const _3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function z3(n){const a=_3.exec(n);if(!a)return[,];const[,i,s,u]=a;return[`--${i??s}`,u]}const U3=4;function Sk(n,a,i=1){mi(i<=U3,`Max CSS variable fallback depth detected in property "${n}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[s,u]=z3(n);if(!s)return;const f=window.getComputedStyle(a).getPropertyValue(s);if(f){const d=f.trim();return HN(d)?parseFloat(d):d}return Sv(u)?Sk(u,a,i+1):u}const j3={type:"spring",stiffness:500,damping:25,restSpeed:10},V3=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),L3={type:"keyframes",duration:.8},B3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},H3=(n,{keyframes:a})=>a.length>2?L3:Cl.has(n)?n.startsWith("scale")?V3(a[1]):j3:B3,P3=n=>n!==null;function q3(n,{repeat:a,repeatType:i="loop"},s){const u=n.filter(P3),f=a&&i!=="loop"&&a%2===1?0:u.length-1;return u[f]}function Dk(n,a){if(n?.inherit&&a){const{inherit:i,...s}=n;return{...a,...s}}return n}function Rv(n,a){const i=n?.[a]??n?.default??n;return i!==n?Dk(i,n):i}function I3({when:n,delay:a,delayChildren:i,staggerChildren:s,staggerDirection:u,repeat:f,repeatType:d,repeatDelay:h,from:b,elapsed:g,...p}){return!!Object.keys(p).length}const Ov=(n,a,i,s={},u,f)=>d=>{const h=Rv(s,n)||{},b=h.delay||s.delay||0;let{elapsed:g=0}=s;g=g-Br(b);const p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:a.getVelocity(),...h,delay:-g,onUpdate:x=>{a.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:n,motionValue:a,element:f?void 0:u};I3(h)||Object.assign(p,H3(n,p)),p.duration&&(p.duration=Br(p.duration)),p.repeatDelay&&(p.repeatDelay=Br(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let v=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(jb(p),p.delay===0&&(v=!0)),(pi.instantAnimations||pi.skipAnimations||u?.shouldSkipAnimations)&&(v=!0,jb(p),p.delay=0),p.allowFlatten=!h.type&&!h.ease,v&&!f&&a.get()!==void 0){const x=q3(p.keyframes,h);if(x!==void 0){At.update(()=>{p.onUpdate(x),p.onComplete()});return}}return h.isSync?new kv(p):new M3(p)};function EA(n){const a=[{},{}];return n?.values.forEach((i,s)=>{a[0][s]=i.get(),a[1][s]=i.getVelocity()}),a}function Mv(n,a,i,s){if(typeof a=="function"){const[u,f]=EA(s);a=a(i!==void 0?i:n.custom,u,f)}if(typeof a=="string"&&(a=n.variants&&n.variants[a]),typeof a=="function"){const[u,f]=EA(s);a=a(i!==void 0?i:n.custom,u,f)}return a}function Sl(n,a,i){const s=n.getProps();return Mv(s,a,i!==void 0?i:s.custom,n)}const Ek=new Set(["width","height","top","left","right","bottom",...kl]),TA=30,F3=n=>!isNaN(parseFloat(n));class Y3{constructor(a,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const u=Ln.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=i.owner}setCurrent(a){this.current=a,this.updatedAt=Ln.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=F3(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return bv(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",a)}on(a,i){this.events[a]||(this.events[a]=new yv);const s=this.events[a].add(i);return a==="change"?()=>{s(),At.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,i){this.passiveEffect=a,this.stopPassiveEffect=i}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-s}jump(a,i=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Ln.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>TA)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,TA);return IN(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(a){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=a(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Tl(n,a){return new Y3(n,a)}const Vb=n=>Array.isArray(n);function G3(n,a,i){n.hasValue(a)?n.getValue(a).set(i):n.addValue(a,Tl(i))}function $3(n){return Vb(n)?n[n.length-1]||0:n}function X3(n,a){const i=Sl(n,a);let{transitionEnd:s={},transition:u={},...f}=i||{};f={...f,...s};for(const d in f){const h=$3(f[d]);G3(n,d,h)}}const En=n=>!!(n&&n.getVelocity);function Q3(n){return!!(En(n)&&n.add)}function Lb(n,a){const i=n.getValue("willChange");if(Q3(i))return i.add(a);if(!i&&pi.WillChange){const s=new pi.WillChange("auto");n.addValue("willChange",s),s.add(a)}}function _v(n){return n.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const Z3="framerAppearId",Tk="data-"+_v(Z3);function Ak(n){return n.props[Tk]}function J3({protectedKeys:n,needsAnimating:a},i){const s=n.hasOwnProperty(i)&&a[i]!==!0;return a[i]=!1,s}function wk(n,a,{delay:i=0,transitionOverride:s,type:u}={}){let{transition:f,transitionEnd:d,...h}=a;const b=n.getDefaultTransition();f=f?Dk(f,b):b;const g=f?.reduceMotion;s&&(f=s);const p=[],v=u&&n.animationState&&n.animationState.getState()[u];for(const x in h){const S=n.getValue(x,n.latestValues[x]??null),N=h[x];if(N===void 0||v&&J3(v,x))continue;const V={delay:i,...Rv(f||{},x)},R=S.get();if(R!==void 0&&!S.isAnimating&&!Array.isArray(N)&&N===R&&!V.velocity)continue;let z=!1;if(window.MotionHandoffAnimation){const ie=Ak(n);if(ie){const re=window.MotionHandoffAnimation(ie,x,At);re!==null&&(V.startTime=re,z=!0)}}Lb(n,x);const Q=g??n.shouldReduceMotion;S.start(Ov(x,S,N,Q&&Ek.has(x)?{type:!1}:V,n,z));const I=S.animation;I&&p.push(I)}if(d){const x=()=>At.update(()=>{d&&X3(n,d)});p.length?Promise.all(p).then(x):x()}return p}function Bb(n,a,i={}){const s=Sl(n,a,i.type==="exit"?n.presenceContext?.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(u=i.transitionOverride);const f=s?()=>Promise.all(wk(n,s,i)):()=>Promise.resolve(),d=n.variantChildren&&n.variantChildren.size?(b=0)=>{const{delayChildren:g=0,staggerChildren:p,staggerDirection:v}=u;return K3(n,a,b,g,p,v,i)}:()=>Promise.resolve(),{when:h}=u;if(h){const[b,g]=h==="beforeChildren"?[f,d]:[d,f];return b().then(()=>g())}else return Promise.all([f(),d(i.delay)])}function K3(n,a,i=0,s=0,u=0,f=1,d){const h=[];for(const b of n.variantChildren)b.notify("AnimationStart",a),h.push(Bb(b,a,{...d,delay:i+(typeof s=="function"?0:s)+xk(n.variantChildren,b,s,u,f)}).then(()=>b.notify("AnimationComplete",a)));return Promise.all(h)}function W3(n,a,i={}){n.notify("AnimationStart",a);let s;if(Array.isArray(a)){const u=a.map(f=>Bb(n,f,i));s=Promise.all(u)}else if(typeof a=="string")s=Bb(n,a,i);else{const u=typeof a=="function"?Sl(n,a,i.custom):a;s=Promise.all(wk(n,u,i))}return s.then(()=>{n.notify("AnimationComplete",a)})}const ej={test:n=>n==="auto",parse:n=>n},Nk=n=>a=>a.test(n),kk=[Nl,Ne,ja,io,NU,wU,ej],AA=n=>kk.find(Nk(n));function tj(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||qN(n):!0}const nj=new Set(["brightness","contrast","saturate","opacity"]);function rj(n){const[a,i]=n.slice(0,-1).split("(");if(a==="drop-shadow")return n;const[s]=i.match(Dv)||[];if(!s)return n;const u=i.replace(s,"");let f=nj.has(a)?1:0;return s!==i&&(f*=100),a+"("+f+u+")"}const aj=/\b([a-z-]*)\(.*?\)/gu,Hb={...uo,getAnimatableNone:n=>{const a=n.match(aj);return a?a.map(rj).join(" "):n}},wA={...Nl,transform:Math.round},ij={rotate:io,rotateX:io,rotateY:io,rotateZ:io,scale:oh,scaleX:oh,scaleY:oh,scaleZ:oh,skew:io,skewX:io,skewY:io,distance:Ne,translateX:Ne,translateY:Ne,translateZ:Ne,x:Ne,y:Ne,z:Ne,perspective:Ne,transformPerspective:Ne,opacity:Ac,originX:dA,originY:dA,originZ:Ne},zv={borderWidth:Ne,borderTopWidth:Ne,borderRightWidth:Ne,borderBottomWidth:Ne,borderLeftWidth:Ne,borderRadius:Ne,borderTopLeftRadius:Ne,borderTopRightRadius:Ne,borderBottomRightRadius:Ne,borderBottomLeftRadius:Ne,width:Ne,maxWidth:Ne,height:Ne,maxHeight:Ne,top:Ne,right:Ne,bottom:Ne,left:Ne,inset:Ne,insetBlock:Ne,insetBlockStart:Ne,insetBlockEnd:Ne,insetInline:Ne,insetInlineStart:Ne,insetInlineEnd:Ne,padding:Ne,paddingTop:Ne,paddingRight:Ne,paddingBottom:Ne,paddingLeft:Ne,paddingBlock:Ne,paddingBlockStart:Ne,paddingBlockEnd:Ne,paddingInline:Ne,paddingInlineStart:Ne,paddingInlineEnd:Ne,margin:Ne,marginTop:Ne,marginRight:Ne,marginBottom:Ne,marginLeft:Ne,marginBlock:Ne,marginBlockStart:Ne,marginBlockEnd:Ne,marginInline:Ne,marginInlineStart:Ne,marginInlineEnd:Ne,fontSize:Ne,backgroundPositionX:Ne,backgroundPositionY:Ne,...ij,zIndex:wA,fillOpacity:Ac,strokeOpacity:Ac,numOctaves:wA},oj={...zv,color:Kt,backgroundColor:Kt,outlineColor:Kt,fill:Kt,stroke:Kt,borderColor:Kt,borderTopColor:Kt,borderRightColor:Kt,borderBottomColor:Kt,borderLeftColor:Kt,filter:Hb,WebkitFilter:Hb},Ck=n=>oj[n];function Rk(n,a){let i=Ck(n);return i!==Hb&&(i=uo),i.getAnimatableNone?i.getAnimatableNone(a):void 0}const sj=new Set(["auto","none","0"]);function lj(n,a,i){let s=0,u;for(;s<n.length&&!u;){const f=n[s];typeof f=="string"&&!sj.has(f)&&wc(f).values.length&&(u=n[s]),s++}if(u&&i)for(const f of a)n[f]=Rk(i,u)}class uj extends Cv{constructor(a,i,s,u,f){super(a,i,s,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let p=0;p<a.length;p++){let v=a[p];if(typeof v=="string"&&(v=v.trim(),Sv(v))){const x=Sk(v,i.current);x!==void 0&&(a[p]=x),p===a.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!Ek.has(s)||a.length!==2)return;const[u,f]=a,d=AA(u),h=AA(f),b=fA(u),g=fA(f);if(b!==g&&oo[s]){this.needsMeasurement=!0;return}if(d!==h)if(xA(d)&&xA(h))for(let p=0;p<a.length;p++){const v=a[p];typeof v=="string"&&(a[p]=parseFloat(v))}else oo[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:i}=this,s=[];for(let u=0;u<a.length;u++)(a[u]===null||tj(a[u]))&&s.push(u);s.length&&lj(a,s,i)}measureInitialState(){const{element:a,unresolvedKeyframes:i,name:s}=this;if(!a||!a.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=oo[s](a.measureViewportBox(),window.getComputedStyle(a.current)),i[0]=this.measuredOrigin;const u=i[i.length-1];u!==void 0&&a.getValue(s,u).jump(u,!1)}measureEndState(){const{element:a,name:i,unresolvedKeyframes:s}=this;if(!a||!a.current)return;const u=a.getValue(i);u&&u.jump(this.measuredOrigin,!1);const f=s.length-1,d=s[f];s[f]=oo[i](a.measureViewportBox(),window.getComputedStyle(a.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,b])=>{a.getValue(h).set(b)}),this.resolveNoneKeyframes()}}const cj=new Set(["opacity","clipPath","filter","transform"]);function Ok(n,a,i){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let s=document;const u=i?.[n]??s.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(s=>s!=null)}const Mk=(n,a)=>a&&typeof n=="number"?a.transform(n):n;function Pb(n){return PN(n)&&"offsetHeight"in n}const{schedule:Uv}=ek(queueMicrotask,!1),ta={x:!1,y:!1};function _k(){return ta.x||ta.y}function fj(n){return n==="x"||n==="y"?ta[n]?null:(ta[n]=!0,()=>{ta[n]=!1}):ta.x||ta.y?null:(ta.x=ta.y=!0,()=>{ta.x=ta.y=!1})}function zk(n,a){const i=Ok(n),s=new AbortController,u={passive:!0,...a,signal:s.signal};return[i,u,()=>s.abort()]}function dj(n){return!(n.pointerType==="touch"||_k())}function hj(n,a,i={}){const[s,u,f]=zk(n,i);return s.forEach(d=>{let h=!1,b=!1,g;const p=()=>{d.removeEventListener("pointerleave",N)},v=R=>{g&&(g(R),g=void 0),p()},x=R=>{h=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),b&&(b=!1,v(R))},S=()=>{h=!0,window.addEventListener("pointerup",x,u),window.addEventListener("pointercancel",x,u)},N=R=>{if(R.pointerType!=="touch"){if(h){b=!0;return}v(R)}},V=R=>{if(!dj(R))return;b=!1;const z=a(d,R);typeof z=="function"&&(g=z,d.addEventListener("pointerleave",N,u))};d.addEventListener("pointerenter",V,u),d.addEventListener("pointerdown",S,u)}),f}const Uk=(n,a)=>a?n===a?!0:Uk(n,a.parentElement):!1,jv=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,mj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function pj(n){return mj.has(n.tagName)||n.isContentEditable===!0}const gj=new Set(["INPUT","SELECT","TEXTAREA"]);function yj(n){return gj.has(n.tagName)||n.isContentEditable===!0}const bh=new WeakSet;function NA(n){return a=>{a.key==="Enter"&&n(a)}}function $y(n,a){n.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const bj=(n,a)=>{const i=n.currentTarget;if(!i)return;const s=NA(()=>{if(bh.has(i))return;$y(i,"down");const u=NA(()=>{$y(i,"up")}),f=()=>$y(i,"cancel");i.addEventListener("keyup",u,a),i.addEventListener("blur",f,a)});i.addEventListener("keydown",s,a),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),a)};function kA(n){return jv(n)&&!_k()}const CA=new WeakSet;function vj(n,a,i={}){const[s,u,f]=zk(n,i),d=h=>{const b=h.currentTarget;if(!kA(h)||CA.has(h))return;bh.add(b),i.stopPropagation&&CA.add(h);const g=a(b,h),p=(S,N)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),bh.has(b)&&bh.delete(b),kA(S)&&typeof g=="function"&&g(S,{success:N})},v=S=>{p(S,b===window||b===document||i.useGlobalTarget||Uk(b,S.target))},x=S=>{p(S,!1)};window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",x,u)};return s.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",d,u),Pb(h)&&(h.addEventListener("focus",g=>bj(g,u)),!pj(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),f}function Vv(n){return PN(n)&&"ownerSVGElement"in n}const vh=new WeakMap;let xh;const jk=(n,a,i)=>(s,u)=>u&&u[0]?u[0][n+"Size"]:Vv(s)&&"getBBox"in s?s.getBBox()[a]:s[i],xj=jk("inline","width","offsetWidth"),Sj=jk("block","height","offsetHeight");function Dj({target:n,borderBoxSize:a}){vh.get(n)?.forEach(i=>{i(n,{get width(){return xj(n,a)},get height(){return Sj(n,a)}})})}function Ej(n){n.forEach(Dj)}function Tj(){typeof ResizeObserver>"u"||(xh=new ResizeObserver(Ej))}function Aj(n,a){xh||Tj();const i=Ok(n);return i.forEach(s=>{let u=vh.get(s);u||(u=new Set,vh.set(s,u)),u.add(a),xh?.observe(s)}),()=>{i.forEach(s=>{const u=vh.get(s);u?.delete(a),u?.size||xh?.unobserve(s)})}}const Sh=new Set;let yl;function wj(){yl=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Sh.forEach(a=>a(n))},window.addEventListener("resize",yl)}function Nj(n){return Sh.add(n),yl||wj(),()=>{Sh.delete(n),!Sh.size&&typeof yl=="function"&&(window.removeEventListener("resize",yl),yl=void 0)}}function RA(n,a){return typeof n=="function"?Nj(n):Aj(n,a)}function kj(n){return Vv(n)&&n.tagName==="svg"}const Cj=[...kk,Kt,uo],Rj=n=>Cj.find(Nk(n)),OA=()=>({translate:0,scale:1,origin:0,originPoint:0}),bl=()=>({x:OA(),y:OA()}),MA=()=>({min:0,max:0}),rn=()=>({x:MA(),y:MA()}),Oj=new WeakMap;function qh(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Nc(n){return typeof n=="string"||Array.isArray(n)}const Lv=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Bv=["initial",...Lv];function Ih(n){return qh(n.animate)||Bv.some(a=>Nc(n[a]))}function Vk(n){return!!(Ih(n)||n.variants)}function Mj(n,a,i){for(const s in a){const u=a[s],f=i[s];if(En(u))n.addValue(s,u);else if(En(f))n.addValue(s,Tl(u,{owner:n}));else if(f!==u)if(n.hasValue(s)){const d=n.getValue(s);d.liveStyle===!0?d.jump(u):d.hasAnimated||d.set(u)}else{const d=n.getStaticValue(s);n.addValue(s,Tl(d!==void 0?d:u,{owner:n}))}}for(const s in i)a[s]===void 0&&n.removeValue(s);return a}const qb={current:null},Lk={current:!1},_j=typeof window<"u";function zj(){if(Lk.current=!0,!!_j)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),a=()=>qb.current=n.matches;n.addEventListener("change",a),a()}else qb.current=!1}const _A=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let _h={};function Bk(n){_h=n}function Uj(){return _h}class jj{scrapeMotionValuesFromProps(a,i,s){return{}}constructor({parent:a,props:i,presenceContext:s,reducedMotionConfig:u,skipAnimations:f,blockInitialAnimation:d,visualState:h},b={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Cv,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=Ln.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,At.render(this.render,!1,!0))};const{latestValues:g,renderState:p}=h;this.latestValues=g,this.baseTarget={...g},this.initialValues=i.initial?{...g}:{},this.renderState=p,this.parent=a,this.props=i,this.presenceContext=s,this.depth=a?a.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=f,this.options=b,this.blockInitialAnimation=!!d,this.isControllingVariants=Ih(i),this.isVariantNode=Vk(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const S in x){const N=x[S];g[S]!==void 0&&En(N)&&N.set(g[S])}}mount(a){if(this.hasBeenMounted)for(const i in this.initialValues)this.values.get(i)?.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=a,Oj.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Lk.current||zj(),this.shouldReduceMotion=qb.current),bv(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),lo(this.notifyUpdate),lo(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const a in this.events)this.events[a].clear();for(const a in this.features){const i=this.features[a];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,i){if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),i.accelerate&&cj.has(a)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:b,ease:g,duration:p}=i.accelerate,v=new bk({element:this.current,name:a,keyframes:h,times:b,ease:g,duration:Br(p)}),x=d(v);this.valueSubscriptions.set(a,()=>{x(),v.cancel()});return}const s=Cl.has(a);s&&this.onBindTransform&&this.onBindTransform();const u=i.on("change",d=>{this.latestValues[a]=d,this.props.onUpdate&&At.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,a,i)),this.valueSubscriptions.set(a,()=>{u(),f&&f(),i.owner&&i.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in _h){const i=_h[a];if(!i)continue;const{isEnabled:s,Feature:u}=i;if(!this.features[a]&&u&&s(this.props)&&(this.features[a]=new u(this)),this.features[a]){const f=this.features[a];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rn()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,i){this.latestValues[a]=i}update(a,i){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<_A.length;s++){const u=_A[s];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,d=a[f];d&&(this.propEventSubscriptions[u]=this.on(u,d))}this.prevMotionValues=Mj(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(a),()=>i.variantChildren.delete(a)}addValue(a,i){const s=this.values.get(a);i!==s&&(s&&this.removeValue(a),this.bindToMotionValue(a,i),this.values.set(a,i),this.latestValues[a]=i.get())}removeValue(a){this.values.delete(a);const i=this.valueSubscriptions.get(a);i&&(i(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,i){if(this.props.values&&this.props.values[a])return this.props.values[a];let s=this.values.get(a);return s===void 0&&i!==void 0&&(s=Tl(i===null?void 0:i,{owner:this}),this.addValue(a,s)),s}readValue(a,i){let s=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return s!=null&&(typeof s=="string"&&(HN(s)||qN(s))?s=parseFloat(s):!Rj(s)&&uo.test(i)&&(s=Rk(a,i)),this.setBaseTarget(a,En(s)?s.get():s)),En(s)?s.get():s}setBaseTarget(a,i){this.baseTarget[a]=i}getBaseTarget(a){const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const f=Mv(this.props,i,this.presenceContext?.custom);f&&(s=f[a])}if(i&&s!==void 0)return s;const u=this.getBaseTargetFromProps(this.props,a);return u!==void 0&&!En(u)?u:this.initialValues[a]!==void 0&&s===void 0?void 0:this.baseTarget[a]}on(a,i){return this.events[a]||(this.events[a]=new yv),this.events[a].add(i)}notify(a,...i){this.events[a]&&this.events[a].notify(...i)}scheduleRenderMicrotask(){Uv.render(this.render)}}class Hk extends jj{constructor(){super(...arguments),this.KeyframeResolver=uj}sortInstanceNodePosition(a,i){return a.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(a,i){const s=a.style;return s?s[i]:void 0}removeValueFromRenderState(a,{vars:i,style:s}){delete i[a],delete s[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;En(a)&&(this.childSubscription=a.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class co{constructor(a){this.isMounted=!1,this.node=a}update(){}}function Pk({top:n,left:a,right:i,bottom:s}){return{x:{min:a,max:i},y:{min:n,max:s}}}function Vj({x:n,y:a}){return{top:a.min,right:n.max,bottom:a.max,left:n.min}}function Lj(n,a){if(!a)return n;const i=a({x:n.left,y:n.top}),s=a({x:n.right,y:n.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function Xy(n){return n===void 0||n===1}function Ib({scale:n,scaleX:a,scaleY:i}){return!Xy(n)||!Xy(a)||!Xy(i)}function es(n){return Ib(n)||qk(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function qk(n){return zA(n.x)||zA(n.y)}function zA(n){return n&&n!=="0%"}function zh(n,a,i){const s=n-i,u=a*s;return i+u}function UA(n,a,i,s,u){return u!==void 0&&(n=zh(n,u,s)),zh(n,i,s)+a}function Fb(n,a=0,i=1,s,u){n.min=UA(n.min,a,i,s,u),n.max=UA(n.max,a,i,s,u)}function Ik(n,{x:a,y:i}){Fb(n.x,a.translate,a.scale,a.originPoint),Fb(n.y,i.translate,i.scale,i.originPoint)}const jA=.999999999999,VA=1.0000000000001;function Bj(n,a,i,s=!1){const u=i.length;if(!u)return;a.x=a.y=1;let f,d;for(let h=0;h<u;h++){f=i[h],d=f.projectionDelta;const{visualElement:b}=f.options;b&&b.props.style&&b.props.style.display==="contents"||(s&&f.options.layoutScroll&&f.scroll&&f!==f.root&&xl(n,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),d&&(a.x*=d.x.scale,a.y*=d.y.scale,Ik(n,d)),s&&es(f.latestValues)&&xl(n,f.latestValues))}a.x<VA&&a.x>jA&&(a.x=1),a.y<VA&&a.y>jA&&(a.y=1)}function vl(n,a){n.min=n.min+a,n.max=n.max+a}function LA(n,a,i,s,u=.5){const f=zt(n.min,n.max,u);Fb(n,a,i,f,s)}function xl(n,a){LA(n.x,a.x,a.scaleX,a.scale,a.originX),LA(n.y,a.y,a.scaleY,a.scale,a.originY)}function Fk(n,a){return Pk(Lj(n.getBoundingClientRect(),a))}function Hj(n,a,i){const s=Fk(n,i),{scroll:u}=a;return u&&(vl(s.x,u.offset.x),vl(s.y,u.offset.y)),s}const Pj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qj=kl.length;function Ij(n,a,i){let s="",u=!0;for(let f=0;f<qj;f++){const d=kl[f],h=n[d];if(h===void 0)continue;let b=!0;if(typeof h=="number")b=h===(d.startsWith("scale")?1:0);else{const g=parseFloat(h);b=d.startsWith("scale")?g===1:g===0}if(!b||i){const g=Mk(h,zv[d]);if(!b){u=!1;const p=Pj[d]||d;s+=`${p}(${g}) `}i&&(a[d]=g)}}return s=s.trim(),i?s=i(a,u?"":s):u&&(s="none"),s}function Hv(n,a,i){const{style:s,vars:u,transformOrigin:f}=n;let d=!1,h=!1;for(const b in a){const g=a[b];if(Cl.has(b)){d=!0;continue}else if(nk(b)){u[b]=g;continue}else{const p=Mk(g,zv[b]);b.startsWith("origin")?(h=!0,f[b]=p):s[b]=p}}if(a.transform||(d||i?s.transform=Ij(a,n.transform,i):s.transform&&(s.transform="none")),h){const{originX:b="50%",originY:g="50%",originZ:p=0}=f;s.transformOrigin=`${b} ${g} ${p}`}}function Yk(n,{style:a,vars:i},s,u){const f=n.style;let d;for(d in a)f[d]=a[d];u?.applyProjectionStyles(f,s);for(d in i)f.setProperty(d,i[d])}function BA(n,a){return a.max===a.min?0:n/(a.max-a.min)*100}const cc={correct:(n,a)=>{if(!a.target)return n;if(typeof n=="string")if(Ne.test(n))n=parseFloat(n);else return n;const i=BA(n,a.target.x),s=BA(n,a.target.y);return`${i}% ${s}%`}},Fj={correct:(n,{treeScale:a,projectionDelta:i})=>{const s=n,u=uo.parse(n);if(u.length>5)return s;const f=uo.createTransformer(n),d=typeof u[0]!="number"?1:0,h=i.x.scale*a.x,b=i.y.scale*a.y;u[0+d]/=h,u[1+d]/=b;const g=zt(h,b,.5);return typeof u[2+d]=="number"&&(u[2+d]/=g),typeof u[3+d]=="number"&&(u[3+d]/=g),f(u)}},Yb={borderRadius:{...cc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:cc,borderTopRightRadius:cc,borderBottomLeftRadius:cc,borderBottomRightRadius:cc,boxShadow:Fj};function Gk(n,{layout:a,layoutId:i}){return Cl.has(n)||n.startsWith("origin")||(a||i!==void 0)&&(!!Yb[n]||n==="opacity")}function Pv(n,a,i){const s=n.style,u=a?.style,f={};if(!s)return f;for(const d in s)(En(s[d])||u&&En(u[d])||Gk(d,n)||i?.getValue(d)?.liveStyle!==void 0)&&(f[d]=s[d]);return f}function Yj(n){return window.getComputedStyle(n)}class Gj extends Hk{constructor(){super(...arguments),this.type="html",this.renderInstance=Yk}readValueFromInstance(a,i){if(Cl.has(i))return this.projection?.isProjecting?Ob(i):c3(a,i);{const s=Yj(a),u=(nk(i)?s.getPropertyValue(i):s[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(a,{transformPagePoint:i}){return Fk(a,i)}build(a,i,s){Hv(a,i,s.transformTemplate)}scrapeMotionValuesFromProps(a,i,s){return Pv(a,i,s)}}const $j={offset:"stroke-dashoffset",array:"stroke-dasharray"},Xj={offset:"strokeDashoffset",array:"strokeDasharray"};function Qj(n,a,i=1,s=0,u=!0){n.pathLength=1;const f=u?$j:Xj;n[f.offset]=`${-s}`,n[f.array]=`${a} ${i}`}const Zj=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function $k(n,{attrX:a,attrY:i,attrScale:s,pathLength:u,pathSpacing:f=1,pathOffset:d=0,...h},b,g,p){if(Hv(n,h,g),b){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:x}=n;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=p?.transformBox??"fill-box",delete v.transformBox);for(const S of Zj)v[S]!==void 0&&(x[S]=v[S],delete v[S]);a!==void 0&&(v.x=a),i!==void 0&&(v.y=i),s!==void 0&&(v.scale=s),u!==void 0&&Qj(v,u,f,d,!1)}const Xk=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Qk=n=>typeof n=="string"&&n.toLowerCase()==="svg";function Jj(n,a,i,s){Yk(n,a,void 0,s);for(const u in a.attrs)n.setAttribute(Xk.has(u)?u:_v(u),a.attrs[u])}function Zk(n,a,i){const s=Pv(n,a,i);for(const u in n)if(En(n[u])||En(a[u])){const f=kl.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;s[f]=n[u]}return s}class Kj extends Hk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rn}getBaseTargetFromProps(a,i){return a[i]}readValueFromInstance(a,i){if(Cl.has(i)){const s=Ck(i);return s&&s.default||0}return i=Xk.has(i)?i:_v(i),a.getAttribute(i)}scrapeMotionValuesFromProps(a,i,s){return Zk(a,i,s)}build(a,i,s){$k(a,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(a,i,s,u){Jj(a,i,s,u)}mount(a){this.isSVGTag=Qk(a.tagName),super.mount(a)}}const Wj=Bv.length;function Jk(n){if(!n)return;if(!n.isControllingVariants){const i=n.parent?Jk(n.parent)||{}:{};return n.props.initial!==void 0&&(i.initial=n.props.initial),i}const a={};for(let i=0;i<Wj;i++){const s=Bv[i],u=n.props[s];(Nc(u)||u===!1)&&(a[s]=u)}return a}function Kk(n,a){if(!Array.isArray(a))return!1;const i=a.length;if(i!==n.length)return!1;for(let s=0;s<i;s++)if(a[s]!==n[s])return!1;return!0}const eV=[...Lv].reverse(),tV=Lv.length;function nV(n){return a=>Promise.all(a.map(({animation:i,options:s})=>W3(n,i,s)))}function rV(n){let a=nV(n),i=HA(),s=!0;const u=b=>(g,p)=>{const v=Sl(n,p,b==="exit"?n.presenceContext?.custom:void 0);if(v){const{transition:x,transitionEnd:S,...N}=v;g={...g,...N,...S}}return g};function f(b){a=b(n)}function d(b){const{props:g}=n,p=Jk(n.parent)||{},v=[],x=new Set;let S={},N=1/0;for(let R=0;R<tV;R++){const z=eV[R],Q=i[z],I=g[z]!==void 0?g[z]:p[z],ie=Nc(I),re=z===b?Q.isActive:null;re===!1&&(N=R);let G=I===p[z]&&I!==g[z]&&ie;if(G&&s&&n.manuallyAnimateOnMount&&(G=!1),Q.protectedKeys={...S},!Q.isActive&&re===null||!I&&!Q.prevProp||qh(I)||typeof I=="boolean")continue;if(z==="exit"&&Q.isActive&&re!==!0){Q.prevResolvedValues&&(S={...S,...Q.prevResolvedValues});continue}const ye=aV(Q.prevProp,I);let se=ye||z===b&&Q.isActive&&!G&&ie||R>N&&ie,ce=!1;const F=Array.isArray(I)?I:[I];let he=F.reduce(u(z),{});re===!1&&(he={});const{prevResolvedValues:oe={}}=Q,X={...oe,...he},ne=le=>{se=!0,x.has(le)&&(ce=!0,x.delete(le)),Q.needsAnimating[le]=!0;const pe=n.getValue(le);pe&&(pe.liveStyle=!1)};for(const le in X){const pe=he[le],Oe=oe[le];if(S.hasOwnProperty(le))continue;let O=!1;Vb(pe)&&Vb(Oe)?O=!Kk(pe,Oe):O=pe!==Oe,O?pe!=null?ne(le):x.add(le):pe!==void 0&&x.has(le)?ne(le):Q.protectedKeys[le]=!0}Q.prevProp=I,Q.prevResolvedValues=he,Q.isActive&&(S={...S,...he}),s&&n.blockInitialAnimation&&(se=!1);const ae=G&&ye;se&&(!ae||ce)&&v.push(...F.map(le=>{const pe={type:z};if(typeof le=="string"&&s&&!ae&&n.manuallyAnimateOnMount&&n.parent){const{parent:Oe}=n,O=Sl(Oe,le);if(Oe.enteringChildren&&O){const{delayChildren:U}=O.transition||{};pe.delay=xk(Oe.enteringChildren,n,U)}}return{animation:le,options:pe}}))}if(x.size){const R={};if(typeof g.initial!="boolean"){const z=Sl(n,Array.isArray(g.initial)?g.initial[0]:g.initial);z&&z.transition&&(R.transition=z.transition)}x.forEach(z=>{const Q=n.getBaseTarget(z),I=n.getValue(z);I&&(I.liveStyle=!0),R[z]=Q??null}),v.push({animation:R})}let V=!!v.length;return s&&(g.initial===!1||g.initial===g.animate)&&!n.manuallyAnimateOnMount&&(V=!1),s=!1,V?a(v):Promise.resolve()}function h(b,g){if(i[b].isActive===g)return Promise.resolve();n.variantChildren?.forEach(v=>v.animationState?.setActive(b,g)),i[b].isActive=g;const p=d(b);for(const v in i)i[v].protectedKeys={};return p}return{animateChanges:d,setActive:h,setAnimateFunction:f,getState:()=>i,reset:()=>{i=HA()}}}function aV(n,a){return typeof a=="string"?a!==n:Array.isArray(a)?!Kk(a,n):!1}function Ko(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function HA(){return{animate:Ko(!0),whileInView:Ko(),whileHover:Ko(),whileTap:Ko(),whileDrag:Ko(),whileFocus:Ko(),exit:Ko()}}function PA(n,a){n.min=a.min,n.max=a.max}function Wr(n,a){PA(n.x,a.x),PA(n.y,a.y)}function qA(n,a){n.translate=a.translate,n.scale=a.scale,n.originPoint=a.originPoint,n.origin=a.origin}const Wk=1e-4,iV=1-Wk,oV=1+Wk,eC=.01,sV=0-eC,lV=0+eC;function Bn(n){return n.max-n.min}function uV(n,a,i){return Math.abs(n-a)<=i}function IA(n,a,i,s=.5){n.origin=s,n.originPoint=zt(a.min,a.max,n.origin),n.scale=Bn(i)/Bn(a),n.translate=zt(i.min,i.max,n.origin)-n.originPoint,(n.scale>=iV&&n.scale<=oV||isNaN(n.scale))&&(n.scale=1),(n.translate>=sV&&n.translate<=lV||isNaN(n.translate))&&(n.translate=0)}function vc(n,a,i,s){IA(n.x,a.x,i.x,s?s.originX:void 0),IA(n.y,a.y,i.y,s?s.originY:void 0)}function FA(n,a,i){n.min=i.min+a.min,n.max=n.min+Bn(a)}function cV(n,a,i){FA(n.x,a.x,i.x),FA(n.y,a.y,i.y)}function YA(n,a,i){n.min=a.min-i.min,n.max=n.min+Bn(a)}function Uh(n,a,i){YA(n.x,a.x,i.x),YA(n.y,a.y,i.y)}function GA(n,a,i,s,u){return n-=a,n=zh(n,1/i,s),u!==void 0&&(n=zh(n,1/u,s)),n}function fV(n,a=0,i=1,s=.5,u,f=n,d=n){if(ja.test(a)&&(a=parseFloat(a),a=zt(d.min,d.max,a/100)-d.min),typeof a!="number")return;let h=zt(f.min,f.max,s);n===f&&(h-=a),n.min=GA(n.min,a,i,h,u),n.max=GA(n.max,a,i,h,u)}function $A(n,a,[i,s,u],f,d){fV(n,a[i],a[s],a[u],a.scale,f,d)}const dV=["x","scaleX","originX"],hV=["y","scaleY","originY"];function XA(n,a,i,s){$A(n.x,a,dV,i?i.x:void 0,s?s.x:void 0),$A(n.y,a,hV,i?i.y:void 0,s?s.y:void 0)}function QA(n){return n.translate===0&&n.scale===1}function tC(n){return QA(n.x)&&QA(n.y)}function ZA(n,a){return n.min===a.min&&n.max===a.max}function mV(n,a){return ZA(n.x,a.x)&&ZA(n.y,a.y)}function JA(n,a){return Math.round(n.min)===Math.round(a.min)&&Math.round(n.max)===Math.round(a.max)}function nC(n,a){return JA(n.x,a.x)&&JA(n.y,a.y)}function KA(n){return Bn(n.x)/Bn(n.y)}function WA(n,a){return n.translate===a.translate&&n.scale===a.scale&&n.originPoint===a.originPoint}function Ma(n){return[n("x"),n("y")]}function pV(n,a,i){let s="";const u=n.x.translate/a.x,f=n.y.translate/a.y,d=i?.z||0;if((u||f||d)&&(s=`translate3d(${u}px, ${f}px, ${d}px) `),(a.x!==1||a.y!==1)&&(s+=`scale(${1/a.x}, ${1/a.y}) `),i){const{transformPerspective:g,rotate:p,rotateX:v,rotateY:x,skewX:S,skewY:N}=i;g&&(s=`perspective(${g}px) ${s}`),p&&(s+=`rotate(${p}deg) `),v&&(s+=`rotateX(${v}deg) `),x&&(s+=`rotateY(${x}deg) `),S&&(s+=`skewX(${S}deg) `),N&&(s+=`skewY(${N}deg) `)}const h=n.x.scale*a.x,b=n.y.scale*a.y;return(h!==1||b!==1)&&(s+=`scale(${h}, ${b})`),s||"none"}const rC=["TopLeft","TopRight","BottomLeft","BottomRight"],gV=rC.length,ew=n=>typeof n=="string"?parseFloat(n):n,tw=n=>typeof n=="number"||Ne.test(n);function yV(n,a,i,s,u,f){u?(n.opacity=zt(0,i.opacity??1,bV(s)),n.opacityExit=zt(a.opacity??1,0,vV(s))):f&&(n.opacity=zt(a.opacity??1,i.opacity??1,s));for(let d=0;d<gV;d++){const h=`border${rC[d]}Radius`;let b=nw(a,h),g=nw(i,h);if(b===void 0&&g===void 0)continue;b||(b=0),g||(g=0),b===0||g===0||tw(b)===tw(g)?(n[h]=Math.max(zt(ew(b),ew(g),s),0),(ja.test(g)||ja.test(b))&&(n[h]+="%")):n[h]=g}(a.rotate||i.rotate)&&(n.rotate=zt(a.rotate||0,i.rotate||0,s))}function nw(n,a){return n[a]!==void 0?n[a]:n.borderRadius}const bV=aC(0,.5,ZN),vV=aC(.5,.95,Lr);function aC(n,a,i){return s=>s<n?0:s>a?1:i(Tc(n,a,s))}function xV(n,a,i){const s=En(n)?n:Tl(n);return s.start(Ov("",s,a,i)),s.animation}function kc(n,a,i,s={passive:!0}){return n.addEventListener(a,i,s),()=>n.removeEventListener(a,i)}const SV=(n,a)=>n.depth-a.depth;class DV{constructor(){this.children=[],this.isDirty=!1}add(a){pv(this.children,a),this.isDirty=!0}remove(a){Ch(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(SV),this.isDirty=!1,this.children.forEach(a)}}function EV(n,a){const i=Ln.now(),s=({timestamp:u})=>{const f=u-i;f>=a&&(lo(s),n(f-a))};return At.setup(s,!0),()=>lo(s)}function Dh(n){return En(n)?n.get():n}class TV{constructor(){this.members=[]}add(a){pv(this.members,a);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===a||s===this.lead||s===this.prevLead)continue;const u=s.instance;u&&u.isConnected===!1&&s.isPresent!==!1&&!s.snapshot&&Ch(this.members,s)}a.scheduleRender()}remove(a){if(Ch(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(a){const i=this.members.findIndex(u=>a===u);if(i===0)return!1;let s;for(let u=i;u>=0;u--){const f=this.members[u],d=f.instance;if(f.isPresent!==!1&&(!d||d.isConnected!==!1)){s=f;break}}return s?(this.promote(s),!0):!1}promote(a,i){const s=this.lead;if(a!==s&&(this.prevLead=s,this.lead=a,a.show(),s)){s.instance&&s.scheduleRender(),a.scheduleRender();const u=s.options.layoutDependency,f=a.options.layoutDependency;if(!(u!==void 0&&f!==void 0&&u===f)){const b=s.instance;b&&b.isConnected===!1&&!s.snapshot||(a.resumeFrom=s,i&&(a.resumeFrom.preserveOpacity=!0),s.snapshot&&(a.snapshot=s.snapshot,a.snapshot.latestValues=s.animationValues||s.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0))}const{crossfade:h}=a.options;h===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:i,resumingFrom:s}=a;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Eh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Qy=["","X","Y","Z"],AV=1e3;let wV=0;function Zy(n,a,i,s){const{latestValues:u}=a;u[n]&&(i[n]=u[n],a.setStaticValue(n,0),s&&(s[n]=0))}function iC(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:a}=n.options;if(!a)return;const i=Ak(a);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(i,"transform",At,!(u||f))}const{parent:s}=n;s&&!s.hasCheckedOptimisedAppear&&iC(s)}function oC({attachResizeListener:n,defaultParent:a,measureScroll:i,checkIsScrollRoot:s,resetTransform:u}){return class{constructor(d={},h=a?.()){this.id=wV++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(CV),this.nodes.forEach(_V),this.nodes.forEach(zV),this.nodes.forEach(RV)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let b=0;b<this.path.length;b++)this.path[b].shouldResetTransform=!0;this.root===this&&(this.nodes=new DV)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new yv),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const b=this.eventHandlers.get(d);b&&b.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=Vv(d)&&!kj(d),this.instance=d;const{layoutId:h,layout:b,visualElement:g}=this.options;if(g&&!g.current&&g.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(b||h)&&(this.isLayoutDirty=!0),n){let p,v=0;const x=()=>this.root.updateBlockedByResize=!1;At.read(()=>{v=window.innerWidth}),n(d,()=>{const S=window.innerWidth;S!==v&&(v=S,this.root.updateBlockedByResize=!0,p&&p(),p=EV(x,250),Eh.hasAnimatedSinceResize&&(Eh.hasAnimatedSinceResize=!1,this.nodes.forEach(iw)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&g&&(h||b)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||g.getDefaultTransition()||BV,{onLayoutAnimationStart:V,onLayoutAnimationComplete:R}=g.getProps(),z=!this.targetLayout||!nC(this.targetLayout,S),Q=!v&&x;if(this.options.layoutRoot||this.resumeFrom||Q||v&&(z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...Rv(N,"layout"),onPlay:V,onComplete:R};(g.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(p,Q)}else v||iw(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),lo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(UV),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&iC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const v=this.path[p];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:b}=this.options;if(h===void 0&&!b)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rw);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(aw);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(MV),this.nodes.forEach(NV),this.nodes.forEach(kV)):this.nodes.forEach(aw),this.clearAllSnapshots();const h=Ln.now();gn.delta=Va(0,1e3/60,h-gn.timestamp),gn.timestamp=h,gn.isProcessing=!0,Py.update.process(gn),Py.preRender.process(gn),Py.render.process(gn),gn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Uv.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(OV),this.sharedNodes.forEach(jV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,At.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){At.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Bn(this.snapshot.measuredBox.x)&&!Bn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let b=0;b<this.path.length;b++)this.path[b].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=rn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const b=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:b,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:b}}}resetTransform(){if(!u)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!tC(this.projectionDelta),b=this.getTransformTemplate(),g=b?b(this.latestValues,""):void 0,p=g!==this.prevTransformTemplateValue;d&&this.instance&&(h||es(this.latestValues)||p)&&(u(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let b=this.removeElementScroll(h);return d&&(b=this.removeTransform(b)),HV(b),{animationId:this.root.animationId,measuredBox:h,layoutBox:b,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return rn();const h=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(PV))){const{scroll:g}=this.root;g&&(vl(h.x,g.offset.x),vl(h.y,g.offset.y))}return h}removeElementScroll(d){const h=rn();if(Wr(h,d),this.scroll?.wasRoot)return h;for(let b=0;b<this.path.length;b++){const g=this.path[b],{scroll:p,options:v}=g;g!==this.root&&p&&v.layoutScroll&&(p.wasRoot&&Wr(h,d),vl(h.x,p.offset.x),vl(h.y,p.offset.y))}return h}applyTransform(d,h=!1){const b=rn();Wr(b,d);for(let g=0;g<this.path.length;g++){const p=this.path[g];!h&&p.options.layoutScroll&&p.scroll&&p!==p.root&&xl(b,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),es(p.latestValues)&&xl(b,p.latestValues)}return es(this.latestValues)&&xl(b,this.latestValues),b}removeTransform(d){const h=rn();Wr(h,d);for(let b=0;b<this.path.length;b++){const g=this.path[b];if(!g.instance||!es(g.latestValues))continue;Ib(g.latestValues)&&g.updateSnapshot();const p=rn(),v=g.measurePageBox();Wr(p,v),XA(h,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,p)}return es(this.latestValues)&&XA(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==gn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const b=!!this.resumingFrom||this!==h;if(!(d||b&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:v}=this.options;if(!this.layout||!(p||v))return;this.resolvedRelativeTargetAt=gn.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=rn(),this.targetWithTransforms=rn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),cV(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Wr(this.target,this.layout.layoutBox),Ik(this.target,this.targetDelta)):Wr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ib(this.parent.latestValues)||qk(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,b){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rn(),this.relativeTargetOrigin=rn(),Uh(this.relativeTargetOrigin,h,b),Wr(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const d=this.getLead(),h=!!this.resumingFrom||this!==d;let b=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(b=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(b=!1),this.resolvedRelativeTargetAt===gn.timestamp&&(b=!1),b)return;const{layout:g,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||p))return;Wr(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;Bj(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=rn());const{target:S}=d;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qA(this.prevProjectionDelta.x,this.projectionDelta.x),qA(this.prevProjectionDelta.y,this.projectionDelta.y)),vc(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!WA(this.projectionDelta.x,this.prevProjectionDelta.x)||!WA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=bl(),this.projectionDelta=bl(),this.projectionDeltaWithTransform=bl()}setAnimationOrigin(d,h=!1){const b=this.snapshot,g=b?b.latestValues:{},p={...this.latestValues},v=bl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=rn(),S=b?b.source:void 0,N=this.layout?this.layout.source:void 0,V=S!==N,R=this.getStack(),z=!R||R.members.length<=1,Q=!!(V&&!z&&this.options.crossfade===!0&&!this.path.some(LV));this.animationProgress=0;let I;this.mixTargetDelta=ie=>{const re=ie/1e3;ow(v.x,d.x,re),ow(v.y,d.y,re),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Uh(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),VV(this.relativeTarget,this.relativeTargetOrigin,x,re),I&&mV(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=rn()),Wr(I,this.relativeTarget)),V&&(this.animationValues=p,yV(p,g,this.latestValues,re,Q,z)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=re},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(lo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=At.update(()=>{Eh.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Tl(0)),this.currentAnimation=xV(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),d.onUpdate&&d.onUpdate(h)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(AV),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:b,layout:g,latestValues:p}=d;if(!(!h||!b||!g)){if(this!==d&&this.layout&&g&&sC(this.options.animationType,this.layout.layoutBox,g.layoutBox)){b=this.target||rn();const v=Bn(this.layout.layoutBox.x);b.x.min=d.target.x.min,b.x.max=b.x.min+v;const x=Bn(this.layout.layoutBox.y);b.y.min=d.target.y.min,b.y.max=b.y.min+x}Wr(h,b),xl(h,p),vc(this.projectionDeltaWithTransform,this.layoutCorrected,h,p)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new TV),this.sharedNodes.get(d).add(h);const g=h.options.initialPromotionConfig;h.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:b}={}){const g=this.getStack();g&&g.promote(this,b),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:b}=d;if((b.z||b.rotate||b.rotateX||b.rotateY||b.rotateZ||b.skewX||b.skewY)&&(h=!0),!h)return;const g={};b.z&&Zy("z",d,g,this.animationValues);for(let p=0;p<Qy.length;p++)Zy(`rotate${Qy[p]}`,d,g,this.animationValues),Zy(`skew${Qy[p]}`,d,g,this.animationValues);d.render();for(const p in g)d.setStaticValue(p,g[p]),this.animationValues&&(this.animationValues[p]=g[p]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const b=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=Dh(h?.pointerEvents)||"",d.transform=b?b(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=Dh(h?.pointerEvents)||""),this.hasProjected&&!es(this.latestValues)&&(d.transform=b?b({},""):"none",this.hasProjected=!1);return}d.visibility="";const p=g.animationValues||g.latestValues;this.applyTransformsToTarget();let v=pV(this.projectionDeltaWithTransform,this.treeScale,p);b&&(v=b(p,v)),d.transform=v;const{x,y:S}=this.projectionDelta;d.transformOrigin=`${x.origin*100}% ${S.origin*100}% 0`,g.animationValues?d.opacity=g===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:d.opacity=g===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const N in Yb){if(p[N]===void 0)continue;const{correct:V,applyTo:R,isCSSVariable:z}=Yb[N],Q=v==="none"?p[N]:V(p[N],g);if(R){const I=R.length;for(let ie=0;ie<I;ie++)d[R[ie]]=Q}else z?this.options.visualElement.renderState.vars[N]=Q:d[N]=Q}this.options.layoutId&&(d.pointerEvents=g===this?Dh(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(rw),this.root.sharedNodes.clear()}}}function NV(n){n.updateLayout()}function kV(n){const a=n.resumeFrom?.snapshot||n.snapshot;if(n.isLead()&&n.layout&&a&&n.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=n.layout,{animationType:u}=n.options,f=a.source!==n.layout.source;u==="size"?Ma(p=>{const v=f?a.measuredBox[p]:a.layoutBox[p],x=Bn(v);v.min=i[p].min,v.max=v.min+x}):sC(u,a.layoutBox,i)&&Ma(p=>{const v=f?a.measuredBox[p]:a.layoutBox[p],x=Bn(i[p]);v.max=v.min+x,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[p].max=n.relativeTarget[p].min+x)});const d=bl();vc(d,i,a.layoutBox);const h=bl();f?vc(h,n.applyTransform(s,!0),a.measuredBox):vc(h,i,a.layoutBox);const b=!tC(d);let g=!1;if(!n.resumeFrom){const p=n.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:v,layout:x}=p;if(v&&x){const S=rn();Uh(S,a.layoutBox,v.layoutBox);const N=rn();Uh(N,i,x.layoutBox),nC(S,N)||(g=!0),p.options.layoutRoot&&(n.relativeTarget=N,n.relativeTargetOrigin=S,n.relativeParent=p)}}}n.notifyListeners("didUpdate",{layout:i,snapshot:a,delta:h,layoutDelta:d,hasLayoutChanged:b,hasRelativeLayoutChanged:g})}else if(n.isLead()){const{onExitComplete:i}=n.options;i&&i()}n.options.transition=void 0}function CV(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function RV(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function OV(n){n.clearSnapshot()}function rw(n){n.clearMeasurements()}function aw(n){n.isLayoutDirty=!1}function MV(n){const{visualElement:a}=n.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),n.resetTransform()}function iw(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function _V(n){n.resolveTargetDelta()}function zV(n){n.calcProjection()}function UV(n){n.resetSkewAndRotation()}function jV(n){n.removeLeadSnapshot()}function ow(n,a,i){n.translate=zt(a.translate,0,i),n.scale=zt(a.scale,1,i),n.origin=a.origin,n.originPoint=a.originPoint}function sw(n,a,i,s){n.min=zt(a.min,i.min,s),n.max=zt(a.max,i.max,s)}function VV(n,a,i,s){sw(n.x,a.x,i.x,s),sw(n.y,a.y,i.y,s)}function LV(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const BV={duration:.45,ease:[.4,0,.1,1]},lw=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),uw=lw("applewebkit/")&&!lw("chrome/")?Math.round:Lr;function cw(n){n.min=uw(n.min),n.max=uw(n.max)}function HV(n){cw(n.x),cw(n.y)}function sC(n,a,i){return n==="position"||n==="preserve-aspect"&&!uV(KA(a),KA(i),.2)}function PV(n){return n!==n.root&&n.scroll?.wasRoot}const qV=oC({attachResizeListener:(n,a)=>kc(n,"resize",a),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Jy={current:void 0},lC=oC({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Jy.current){const n=new qV({});n.mount(window),n.setOptions({layoutScroll:!0}),Jy.current=n}return Jy.current},resetTransform:(n,a)=>{n.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),qv=me.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function fw(n,a){if(typeof n=="function")return n(a);n!=null&&(n.current=a)}function IV(...n){return a=>{let i=!1;const s=n.map(u=>{const f=fw(u,a);return!i&&typeof f=="function"&&(i=!0),f});if(i)return()=>{for(let u=0;u<s.length;u++){const f=s[u];typeof f=="function"?f():fw(n[u],null)}}}}function FV(...n){return me.useCallback(IV(...n),n)}class YV extends me.Component{getSnapshotBeforeUpdate(a){const i=this.props.childRef.current;if(i&&a.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,u=Pb(s)&&s.offsetWidth||0,f=Pb(s)&&s.offsetHeight||0,d=this.props.sizeRef.current;d.height=i.offsetHeight||0,d.width=i.offsetWidth||0,d.top=i.offsetTop,d.left=i.offsetLeft,d.right=u-d.width-d.left,d.bottom=f-d.height-d.top}return null}componentDidUpdate(){}render(){return this.props.children}}function GV({children:n,isPresent:a,anchorX:i,anchorY:s,root:u,pop:f}){const d=me.useId(),h=me.useRef(null),b=me.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=me.useContext(qv),p=n.props?.ref??n?.ref,v=FV(h,p);return me.useInsertionEffect(()=>{const{width:x,height:S,top:N,left:V,right:R,bottom:z}=b.current;if(a||f===!1||!h.current||!x||!S)return;const Q=i==="left"?`left: ${V}`:`right: ${R}`,I=s==="bottom"?`bottom: ${z}`:`top: ${N}`;h.current.dataset.motionPopId=d;const ie=document.createElement("style");g&&(ie.nonce=g);const re=u??document.head;return re.appendChild(ie),ie.sheet&&ie.sheet.insertRule(`
240
+ <%s key={someKey} {...props} />`,xe,je,Ke,je),z[je+xe]=!0)}if(je=null,C!==void 0&&(i(C),je=""+C),d(ue)&&(i(ue.key),je=""+ue.key),"key"in ue){C={};for(var Ut in ue)Ut!=="key"&&(C[Ut]=ue[Ut])}else C=ue;return je&&h(C,typeof U=="function"?U.displayName||U.name||"Unknown":U),y(U,je,C,u(),at,gn)}function v(U){x(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ce&&(U._payload.status==="fulfilled"?x(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function x(U){return typeof U=="object"&&U!==null&&U.$$typeof===N}var S=zc(),N=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),oe=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Object.prototype.hasOwnProperty,ne=Array.isArray,ae=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(U){return U()}};var Y,le={},pe=S.react_stack_bottom_frame.bind(S,f)(),ze=ae(s(f)),z={};uc.Fragment=R,uc.jsx=function(U,ue,C){var xe=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,!1,xe?Error("react-stack-top-frame"):pe,xe?ae(s(U)):ze)},uc.jsxs=function(U,ue,C){var xe=1e4>oe.recentlyCreatedOwnerStacks++;return p(U,ue,C,!0,xe?Error("react-stack-top-frame"):pe,xe?ae(s(U)):ze)}})(),uc}var lD;function uU(){return lD||(lD=1,Hg.exports=lU()),Hg.exports}var Vr=uU();const m0=me.createContext({});function p0(n){const a=me.useRef(null);return a.current===null&&(a.current=n()),a.current}const BN=typeof window<"u",HN=BN?me.useLayoutEffect:me.useEffect,Ph=me.createContext(null);function y0(n,a){n.indexOf(a)===-1&&n.push(a)}function Ch(n,a){const i=n.indexOf(a);i>-1&&n.splice(i,1)}const Va=(n,a,i)=>i>a?a:i<n?n:i;function Db(n,a){return a?`${n}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${a}`:n}let kl=()=>{},mi=()=>{};typeof process<"u"&&(kl=(n,a,i)=>{!n&&typeof console<"u"&&console.warn(Db(a,i))},mi=(n,a,i)=>{if(!n)throw new Error(Db(a,i))});const pi={},PN=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function qN(n){return typeof n=="object"&&n!==null}const IN=n=>/^0[^.\s]+$/u.test(n);function g0(n){let a;return()=>(a===void 0&&(a=n()),a)}const Lr=n=>n,cU=(n,a)=>i=>a(n(i)),Oc=(...n)=>n.reduce(cU),Tc=(n,a,i)=>{const s=a-n;return s===0?1:(i-n)/s};class b0{constructor(){this.subscriptions=[]}add(a){return y0(this.subscriptions,a),()=>Ch(this.subscriptions,a)}notify(a,i,s){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](a,i,s);else for(let f=0;f<u;f++){const d=this.subscriptions[f];d&&d(a,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Br=n=>n*1e3,jr=n=>n/1e3;function FN(n,a){return a?n*(1e3/a):0}const uD=new Set;function v0(n,a,i){n||uD.has(a)||(console.warn(Db(a,i)),uD.add(a))}const YN=(n,a,i)=>(((1-3*i+3*a)*n+(3*i-6*a))*n+3*a)*n,fU=1e-7,dU=12;function hU(n,a,i,s,u){let f,d,h=0;do d=a+(i-a)/2,f=YN(d,s,u)-n,f>0?i=d:a=d;while(Math.abs(f)>fU&&++h<dU);return d}function Mc(n,a,i,s){if(n===a&&i===s)return Lr;const u=f=>hU(f,0,1,n,i);return f=>f===0||f===1?f:YN(u(f),a,s)}const GN=n=>a=>a<=.5?n(2*a)/2:(2-n(2*(1-a)))/2,$N=n=>a=>1-n(1-a),XN=Mc(.33,1.53,.69,.99),x0=$N(XN),QN=GN(x0),ZN=n=>(n*=2)<1?.5*x0(n):.5*(2-Math.pow(2,-10*(n-1))),S0=n=>1-Math.sin(Math.acos(n)),JN=$N(S0),KN=GN(S0),mU=Mc(.42,0,1,1),pU=Mc(0,0,.58,1),WN=Mc(.42,0,.58,1),yU=n=>Array.isArray(n)&&typeof n[0]!="number",eA=n=>Array.isArray(n)&&typeof n[0]=="number",cD={linear:Lr,easeIn:mU,easeInOut:WN,easeOut:pU,circIn:S0,circInOut:KN,circOut:JN,backIn:x0,backInOut:QN,backOut:XN,anticipate:ZN},gU=n=>typeof n=="string",fD=n=>{if(eA(n)){mi(n.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[a,i,s,u]=n;return Mc(a,i,s,u)}else if(gU(n))return mi(cD[n]!==void 0,`Invalid easing type '${n}'`,"invalid-easing-type"),cD[n];return n},ih=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function bU(n,a){let i=new Set,s=new Set,u=!1,f=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function b(p){d.has(p)&&(y.schedule(p),n()),p(h)}const y={schedule:(p,v=!1,x=!1)=>{const N=x&&u?i:s;return v&&d.add(p),N.has(p)||N.add(p),p},cancel:p=>{s.delete(p),d.delete(p)},process:p=>{if(h=p,u){f=!0;return}u=!0,[i,s]=[s,i],i.forEach(b),i.clear(),u=!1,f&&(f=!1,y.process(p))}};return y}const vU=40;function tA(n,a){let i=!1,s=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>i=!0,d=ih.reduce((I,ie)=>(I[ie]=bU(f),I),{}),{setup:h,read:b,resolveKeyframes:y,preUpdate:p,update:v,preRender:x,render:S,postRender:N}=d,V=()=>{const I=pi.useManualTiming?u.timestamp:performance.now();i=!1,pi.useManualTiming||(u.delta=s?1e3/60:Math.max(Math.min(I-u.timestamp,vU),1)),u.timestamp=I,u.isProcessing=!0,h.process(u),b.process(u),y.process(u),p.process(u),v.process(u),x.process(u),S.process(u),N.process(u),u.isProcessing=!1,i&&a&&(s=!1,n(V))},R=()=>{i=!0,s=!0,u.isProcessing||n(V)};return{schedule:ih.reduce((I,ie)=>{const re=d[ie];return I[ie]=(G,ge=!1,se=!1)=>(i||R(),re.schedule(G,ge,se)),I},{}),cancel:I=>{for(let ie=0;ie<ih.length;ie++)d[ih[ie]].cancel(I)},state:u,steps:d}}const{schedule:Dt,cancel:lo,state:yn,steps:Pg}=tA(typeof requestAnimationFrame<"u"?requestAnimationFrame:Lr,!0);let gh;function xU(){gh=void 0}const Ln={now:()=>(gh===void 0&&Ln.set(yn.isProcessing||pi.useManualTiming?yn.timestamp:performance.now()),gh),set:n=>{gh=n,queueMicrotask(xU)}},nA=n=>a=>typeof a=="string"&&a.startsWith(n),rA=nA("--"),SU=nA("var(--"),w0=n=>SU(n)?wU.test(n.split("/*")[0].trim()):!1,wU=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function dD(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Nl={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Dc={...Nl,transform:n=>Va(0,1,n)},oh={...Nl,default:1},bc=n=>Math.round(n*1e5)/1e5,E0=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function EU(n){return n==null}const TU=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,T0=(n,a)=>i=>!!(typeof i=="string"&&TU.test(i)&&i.startsWith(n)||a&&!EU(i)&&Object.prototype.hasOwnProperty.call(i,a)),aA=(n,a,i)=>s=>{if(typeof s!="string")return s;const[u,f,d,h]=s.match(E0);return{[n]:parseFloat(u),[a]:parseFloat(f),[i]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},DU=n=>Va(0,255,n),qg={...Nl,transform:n=>Math.round(DU(n))},ts={test:T0("rgb","red"),parse:aA("red","green","blue"),transform:({red:n,green:a,blue:i,alpha:s=1})=>"rgba("+qg.transform(n)+", "+qg.transform(a)+", "+qg.transform(i)+", "+bc(Dc.transform(s))+")"};function kU(n){let a="",i="",s="",u="";return n.length>5?(a=n.substring(1,3),i=n.substring(3,5),s=n.substring(5,7),u=n.substring(7,9)):(a=n.substring(1,2),i=n.substring(2,3),s=n.substring(3,4),u=n.substring(4,5),a+=a,i+=i,s+=s,u+=u),{red:parseInt(a,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:u?parseInt(u,16)/255:1}}const kb={test:T0("#"),parse:kU,transform:ts.transform},_c=n=>({test:a=>typeof a=="string"&&a.endsWith(n)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${n}`}),io=_c("deg"),ja=_c("%"),Ne=_c("px"),NU=_c("vh"),AU=_c("vw"),hD={...ja,parse:n=>ja.parse(n)/100,transform:n=>ja.transform(n*100)},pl={test:T0("hsl","hue"),parse:aA("hue","saturation","lightness"),transform:({hue:n,saturation:a,lightness:i,alpha:s=1})=>"hsla("+Math.round(n)+", "+ja.transform(bc(a))+", "+ja.transform(bc(i))+", "+bc(Dc.transform(s))+")"},Kt={test:n=>ts.test(n)||kb.test(n)||pl.test(n),parse:n=>ts.test(n)?ts.parse(n):pl.test(n)?pl.parse(n):kb.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?ts.transform(n):pl.transform(n),getAnimatableNone:n=>{const a=Kt.parse(n);return a.alpha=0,Kt.transform(a)}},CU=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function RU(n){return isNaN(n)&&typeof n=="string"&&(n.match(E0)?.length||0)+(n.match(CU)?.length||0)>0}const iA="number",oA="color",zU="var",OU="var(",mD="${}",MU=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function kc(n){const a=n.toString(),i=[],s={color:[],number:[],var:[]},u=[];let f=0;const h=a.replace(MU,b=>(Kt.test(b)?(s.color.push(f),u.push(oA),i.push(Kt.parse(b))):b.startsWith(OU)?(s.var.push(f),u.push(zU),i.push(b)):(s.number.push(f),u.push(iA),i.push(parseFloat(b))),++f,mD)).split(mD);return{values:i,split:h,indexes:s,types:u}}function sA(n){return kc(n).values}function lA(n){const{split:a,types:i}=kc(n),s=a.length;return u=>{let f="";for(let d=0;d<s;d++)if(f+=a[d],u[d]!==void 0){const h=i[d];h===iA?f+=bc(u[d]):h===oA?f+=Kt.transform(u[d]):f+=u[d]}return f}}const _U=n=>typeof n=="number"?0:Kt.test(n)?Kt.getAnimatableNone(n):n;function UU(n){const a=sA(n);return lA(n)(a.map(_U))}const uo={test:RU,parse:sA,createTransformer:lA,getAnimatableNone:UU};function Ig(n,a,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?n+(a-n)*6*i:i<1/2?a:i<2/3?n+(a-n)*(2/3-i)*6:n}function jU({hue:n,saturation:a,lightness:i,alpha:s}){n/=360,a/=100,i/=100;let u=0,f=0,d=0;if(!a)u=f=d=i;else{const h=i<.5?i*(1+a):i+a-i*a,b=2*i-h;u=Ig(b,h,n+1/3),f=Ig(b,h,n),d=Ig(b,h,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:s}}function Rh(n,a){return i=>i>0?a:n}const _t=(n,a,i)=>n+(a-n)*i,Fg=(n,a,i)=>{const s=n*n,u=i*(a*a-s)+s;return u<0?0:Math.sqrt(u)},VU=[kb,ts,pl],LU=n=>VU.find(a=>a.test(n));function pD(n){const a=LU(n);if(kl(!!a,`'${n}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!a)return!1;let i=a.parse(n);return a===pl&&(i=jU(i)),i}const yD=(n,a)=>{const i=pD(n),s=pD(a);if(!i||!s)return Rh(n,a);const u={...i};return f=>(u.red=Fg(i.red,s.red,f),u.green=Fg(i.green,s.green,f),u.blue=Fg(i.blue,s.blue,f),u.alpha=_t(i.alpha,s.alpha,f),ts.transform(u))},Nb=new Set(["none","hidden"]);function BU(n,a){return Nb.has(n)?i=>i<=0?n:a:i=>i>=1?a:n}function HU(n,a){return i=>_t(n,a,i)}function D0(n){return typeof n=="number"?HU:typeof n=="string"?w0(n)?Rh:Kt.test(n)?yD:IU:Array.isArray(n)?uA:typeof n=="object"?Kt.test(n)?yD:PU:Rh}function uA(n,a){const i=[...n],s=i.length,u=n.map((f,d)=>D0(f)(f,a[d]));return f=>{for(let d=0;d<s;d++)i[d]=u[d](f);return i}}function PU(n,a){const i={...n,...a},s={};for(const u in i)n[u]!==void 0&&a[u]!==void 0&&(s[u]=D0(n[u])(n[u],a[u]));return u=>{for(const f in s)i[f]=s[f](u);return i}}function qU(n,a){const i=[],s={color:0,var:0,number:0};for(let u=0;u<a.values.length;u++){const f=a.types[u],d=n.indexes[f][s[f]],h=n.values[d]??0;i[u]=h,s[f]++}return i}const IU=(n,a)=>{const i=uo.createTransformer(a),s=kc(n),u=kc(a);return s.indexes.var.length===u.indexes.var.length&&s.indexes.color.length===u.indexes.color.length&&s.indexes.number.length>=u.indexes.number.length?Nb.has(n)&&!u.values.length||Nb.has(a)&&!s.values.length?BU(n,a):Oc(uA(qU(s,u),u.values),i):(kl(!0,`Complex values '${n}' and '${a}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Rh(n,a))};function cA(n,a,i){return typeof n=="number"&&typeof a=="number"&&typeof i=="number"?_t(n,a,i):D0(n)(n,a)}const FU=n=>{const a=({timestamp:i})=>n(i);return{start:(i=!0)=>Dt.update(a,i),stop:()=>lo(a),now:()=>yn.isProcessing?yn.timestamp:Ln.now()}},fA=(n,a,i=10)=>{let s="";const u=Math.max(Math.round(a/i),2);for(let f=0;f<u;f++)s+=Math.round(n(f/(u-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},zh=2e4;function k0(n){let a=0;const i=50;let s=n.next(a);for(;!s.done&&a<zh;)a+=i,s=n.next(a);return a>=zh?1/0:a}function YU(n,a=100,i){const s=i({...n,keyframes:[0,a]}),u=Math.min(k0(s),zh);return{type:"keyframes",ease:f=>s.next(u*f).value/a,duration:jr(u)}}const GU=5;function dA(n,a,i){const s=Math.max(a-GU,0);return FN(i-n(s),a-s)}const Mt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Yg=.001;function $U({duration:n=Mt.duration,bounce:a=Mt.bounce,velocity:i=Mt.velocity,mass:s=Mt.mass}){let u,f;kl(n<=Br(Mt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-a;d=Va(Mt.minDamping,Mt.maxDamping,d),n=Va(Mt.minDuration,Mt.maxDuration,jr(n)),d<1?(u=y=>{const p=y*d,v=p*n,x=p-i,S=Ab(y,d),N=Math.exp(-v);return Yg-x/S*N},f=y=>{const v=y*d*n,x=v*i+i,S=Math.pow(d,2)*Math.pow(y,2)*n,N=Math.exp(-v),V=Ab(Math.pow(y,2),d);return(-u(y)+Yg>0?-1:1)*((x-S)*N)/V}):(u=y=>{const p=Math.exp(-y*n),v=(y-i)*n+1;return-Yg+p*v},f=y=>{const p=Math.exp(-y*n),v=(i-y)*(n*n);return p*v});const h=5/n,b=QU(u,f,h);if(n=Br(n),isNaN(b))return{stiffness:Mt.stiffness,damping:Mt.damping,duration:n};{const y=Math.pow(b,2)*s;return{stiffness:y,damping:d*2*Math.sqrt(s*y),duration:n}}}const XU=12;function QU(n,a,i){let s=i;for(let u=1;u<XU;u++)s=s-n(s)/a(s);return s}function Ab(n,a){return n*Math.sqrt(1-a*a)}const ZU=["duration","bounce"],JU=["stiffness","damping","mass"];function gD(n,a){return a.some(i=>n[i]!==void 0)}function KU(n){let a={velocity:Mt.velocity,stiffness:Mt.stiffness,damping:Mt.damping,mass:Mt.mass,isResolvedFromDuration:!1,...n};if(!gD(n,JU)&&gD(n,ZU))if(n.visualDuration){const i=n.visualDuration,s=2*Math.PI/(i*1.2),u=s*s,f=2*Va(.05,1,1-(n.bounce||0))*Math.sqrt(u);a={...a,mass:Mt.mass,stiffness:u,damping:f}}else{const i=$U(n);a={...a,...i,mass:Mt.mass},a.isResolvedFromDuration=!0}return a}function Oh(n=Mt.visualDuration,a=Mt.bounce){const i=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:a}:n;let{restSpeed:s,restDelta:u}=i;const f=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],h={done:!1,value:f},{stiffness:b,damping:y,mass:p,duration:v,velocity:x,isResolvedFromDuration:S}=KU({...i,velocity:-jr(i.velocity||0)}),N=x||0,V=y/(2*Math.sqrt(b*p)),R=d-f,_=jr(Math.sqrt(b/p)),Q=Math.abs(R)<5;s||(s=Q?Mt.restSpeed.granular:Mt.restSpeed.default),u||(u=Q?Mt.restDelta.granular:Mt.restDelta.default);let I;if(V<1){const re=Ab(_,V);I=G=>{const ge=Math.exp(-V*_*G);return d-ge*((N+V*_*R)/re*Math.sin(re*G)+R*Math.cos(re*G))}}else if(V===1)I=re=>d-Math.exp(-_*re)*(R+(N+_*R)*re);else{const re=_*Math.sqrt(V*V-1);I=G=>{const ge=Math.exp(-V*_*G),se=Math.min(re*G,300);return d-ge*((N+V*_*R)*Math.sinh(se)+re*R*Math.cosh(se))/re}}const ie={calculatedDuration:S&&v||null,next:re=>{const G=I(re);if(S)h.done=re>=v;else{let ge=re===0?N:0;V<1&&(ge=re===0?Br(N):dA(I,re,G));const se=Math.abs(ge)<=s,ce=Math.abs(d-G)<=u;h.done=se&&ce}return h.value=h.done?d:G,h},toString:()=>{const re=Math.min(k0(ie),zh),G=fA(ge=>ie.next(re*ge).value,re,30);return re+"ms "+G},toTransition:()=>{}};return ie}Oh.applyToOptions=n=>{const a=YU(n,100,Oh);return n.ease=a.ease,n.duration=Br(a.duration),n.type="keyframes",n};function Cb({keyframes:n,velocity:a=0,power:i=.8,timeConstant:s=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:d,min:h,max:b,restDelta:y=.5,restSpeed:p}){const v=n[0],x={done:!1,value:v},S=se=>h!==void 0&&se<h||b!==void 0&&se>b,N=se=>h===void 0?b:b===void 0||Math.abs(h-se)<Math.abs(b-se)?h:b;let V=i*a;const R=v+V,_=d===void 0?R:d(R);_!==R&&(V=_-v);const Q=se=>-V*Math.exp(-se/s),I=se=>_+Q(se),ie=se=>{const ce=Q(se),F=I(se);x.done=Math.abs(ce)<=y,x.value=x.done?_:F};let re,G;const ge=se=>{S(x.value)&&(re=se,G=Oh({keyframes:[x.value,N(x.value)],velocity:dA(I,se,x.value),damping:u,stiffness:f,restDelta:y,restSpeed:p}))};return ge(0),{calculatedDuration:null,next:se=>{let ce=!1;return!G&&re===void 0&&(ce=!0,ie(se),ge(se)),re!==void 0&&se>=re?G.next(se-re):(!ce&&ie(se),x)}}}function WU(n,a,i){const s=[],u=i||pi.mix||cA,f=n.length-1;for(let d=0;d<f;d++){let h=u(n[d],n[d+1]);if(a){const b=Array.isArray(a)?a[d]||Lr:a;h=Oc(b,h)}s.push(h)}return s}function e3(n,a,{clamp:i=!0,ease:s,mixer:u}={}){const f=n.length;if(mi(f===a.length,"Both input and output ranges must be the same length","range-length"),f===1)return()=>a[0];if(f===2&&a[0]===a[1])return()=>a[1];const d=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),a=[...a].reverse());const h=WU(a,s,u),b=h.length,y=p=>{if(d&&p<n[0])return a[0];let v=0;if(b>1)for(;v<n.length-2&&!(p<n[v+1]);v++);const x=Tc(n[v],n[v+1],p);return h[v](x)};return i?p=>y(Va(n[0],n[f-1],p)):y}function t3(n,a){const i=n[n.length-1];for(let s=1;s<=a;s++){const u=Tc(0,a,s);n.push(_t(i,1,u))}}function n3(n){const a=[0];return t3(a,n.length-1),a}function r3(n,a){return n.map(i=>i*a)}function a3(n,a){return n.map(()=>a||WN).splice(0,n.length-1)}function yl({duration:n=300,keyframes:a,times:i,ease:s="easeInOut"}){const u=yU(s)?s.map(fD):fD(s),f={done:!1,value:a[0]},d=r3(i&&i.length===a.length?i:n3(a),n),h=e3(d,a,{ease:Array.isArray(u)?u:a3(a,u)});return{calculatedDuration:n,next:b=>(f.value=h(b),f.done=b>=n,f)}}const i3=n=>n!==null;function N0(n,{repeat:a,repeatType:i="loop"},s,u=1){const f=n.filter(i3),h=u<0||a&&i!=="loop"&&a%2===1?0:f.length-1;return!h||s===void 0?f[h]:s}const o3={decay:Cb,inertia:Cb,tween:yl,keyframes:yl,spring:Oh};function hA(n){typeof n.type=="string"&&(n.type=o3[n.type])}class A0{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,i){return this.finished.then(a,i)}}const s3=n=>n/100;class C0 extends A0{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==Ln.now()&&this.tick(Ln.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;hA(a);const{type:i=yl,repeat:s=0,repeatDelay:u=0,repeatType:f,velocity:d=0}=a;let{keyframes:h}=a;const b=i||yl;b!==yl&&mi(h.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${h}`,"spring-two-frames"),b!==yl&&typeof h[0]!="number"&&(this.mixKeyframes=Oc(s3,cA(h[0],h[1])),h=[0,100]);const y=b({...a,keyframes:h});f==="mirror"&&(this.mirroredGenerator=b({...a,keyframes:[...h].reverse(),velocity:-d})),y.calculatedDuration===null&&(y.calculatedDuration=k0(y));const{calculatedDuration:p}=y;this.calculatedDuration=p,this.resolvedDuration=p+u,this.totalDuration=this.resolvedDuration*(s+1)-u,this.generator=y}updateTime(a){const i=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(a,i=!1){const{generator:s,totalDuration:u,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:b}=this;if(this.startTime===null)return s.next(0);const{delay:y=0,keyframes:p,repeat:v,repeatType:x,repeatDelay:S,type:N,onUpdate:V,finalKeyframe:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-u/this.speed,this.startTime)),i?this.currentTime=a:this.updateTime(a);const _=this.currentTime-y*(this.playbackSpeed>=0?1:-1),Q=this.playbackSpeed>=0?_<0:_>u;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let I=this.currentTime,ie=s;if(v){const se=Math.min(this.currentTime,u)/h;let ce=Math.floor(se),F=se%1;!F&&se>=1&&(F=1),F===1&&ce--,ce=Math.min(ce,v+1),ce%2&&(x==="reverse"?(F=1-F,S&&(F-=S/h)):x==="mirror"&&(ie=d)),I=Va(0,1,F)*h}const re=Q?{done:!1,value:p[0]}:ie.next(I);f&&(re.value=f(re.value));let{done:G}=re;!Q&&b!==null&&(G=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const ge=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return ge&&N!==Cb&&(re.value=N0(p,this.options,R,this.speed)),V&&V(re.value),ge&&this.finish(),re}then(a,i){return this.finished.then(a,i)}get duration(){return jr(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+jr(a)}get time(){return jr(this.currentTime)}set time(a){a=Br(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(Ln.now());const i=this.playbackSpeed!==a;this.playbackSpeed=a,i&&(this.time=jr(this.currentTime))}play(){if(this.isStopped)return;const{driver:a=FU,startTime:i}=this.options;this.driver||(this.driver=a(u=>this.tick(u))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ln.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),a.observe(this)}}function l3(n){for(let a=1;a<n.length;a++)n[a]??(n[a]=n[a-1])}const ns=n=>n*180/Math.PI,Rb=n=>{const a=ns(Math.atan2(n[1],n[0]));return zb(a)},u3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:Rb,rotateZ:Rb,skewX:n=>ns(Math.atan(n[1])),skewY:n=>ns(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},zb=n=>(n=n%360,n<0&&(n+=360),n),bD=Rb,vD=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),xD=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),c3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:vD,scaleY:xD,scale:n=>(vD(n)+xD(n))/2,rotateX:n=>zb(ns(Math.atan2(n[6],n[5]))),rotateY:n=>zb(ns(Math.atan2(-n[2],n[0]))),rotateZ:bD,rotate:bD,skewX:n=>ns(Math.atan(n[4])),skewY:n=>ns(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function Ob(n){return n.includes("scale")?1:0}function Mb(n,a){if(!n||n==="none")return Ob(a);const i=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,u;if(i)s=c3,u=i;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=u3,u=h}if(!u)return Ob(a);const f=s[a],d=u[1].split(",").map(d3);return typeof f=="function"?f(d):d[f]}const f3=(n,a)=>{const{transform:i="none"}=getComputedStyle(n);return Mb(i,a)};function d3(n){return parseFloat(n.trim())}const Al=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Cl=new Set(Al),SD=n=>n===Nl||n===Ne,h3=new Set(["x","y","z"]),m3=Al.filter(n=>!h3.has(n));function p3(n){const a=[];return m3.forEach(i=>{const s=n.getValue(i);s!==void 0&&(a.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),a}const oo={width:({x:n},{paddingLeft:a="0",paddingRight:i="0"})=>n.max-n.min-parseFloat(a)-parseFloat(i),height:({y:n},{paddingTop:a="0",paddingBottom:i="0"})=>n.max-n.min-parseFloat(a)-parseFloat(i),top:(n,{top:a})=>parseFloat(a),left:(n,{left:a})=>parseFloat(a),bottom:({y:n},{top:a})=>parseFloat(a)+(n.max-n.min),right:({x:n},{left:a})=>parseFloat(a)+(n.max-n.min),x:(n,{transform:a})=>Mb(a,"x"),y:(n,{transform:a})=>Mb(a,"y")};oo.translateX=oo.x;oo.translateY=oo.y;const as=new Set;let _b=!1,Ub=!1,jb=!1;function mA(){if(Ub){const n=Array.from(as).filter(s=>s.needsMeasurement),a=new Set(n.map(s=>s.element)),i=new Map;a.forEach(s=>{const u=p3(s);u.length&&(i.set(s,u),s.render())}),n.forEach(s=>s.measureInitialState()),a.forEach(s=>{s.render();const u=i.get(s);u&&u.forEach(([f,d])=>{s.getValue(f)?.set(d)})}),n.forEach(s=>s.measureEndState()),n.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Ub=!1,_b=!1,as.forEach(n=>n.complete(jb)),as.clear()}function pA(){as.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(Ub=!0)})}function y3(){jb=!0,pA(),mA(),jb=!1}class R0{constructor(a,i,s,u,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=i,this.name=s,this.motionValue=u,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(as.add(this),_b||(_b=!0,Dt.read(pA),Dt.resolveKeyframes(mA))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:i,element:s,motionValue:u}=this;if(a[0]===null){const f=u?.get(),d=a[a.length-1];if(f!==void 0)a[0]=f;else if(s&&i){const h=s.readValue(i,d);h!=null&&(a[0]=h)}a[0]===void 0&&(a[0]=d),u&&f===void 0&&u.set(a[0])}l3(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),as.delete(this)}cancel(){this.state==="scheduled"&&(as.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const g3=n=>n.startsWith("--");function b3(n,a,i){g3(a)?n.style.setProperty(a,i):n.style[a]=i}const v3=g0(()=>window.ScrollTimeline!==void 0),x3={};function S3(n,a){const i=g0(n);return()=>x3[a]??i()}const yA=S3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),gc=([n,a,i,s])=>`cubic-bezier(${n}, ${a}, ${i}, ${s})`,wD={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:gc([0,.65,.55,1]),circOut:gc([.55,0,1,.45]),backIn:gc([.31,.01,.66,-.59]),backOut:gc([.33,1.53,.69,.99])};function gA(n,a){if(n)return typeof n=="function"?yA()?fA(n,a):"ease-out":eA(n)?gc(n):Array.isArray(n)?n.map(i=>gA(i,a)||wD.easeOut):wD[n]}function w3(n,a,i,{delay:s=0,duration:u=300,repeat:f=0,repeatType:d="loop",ease:h="easeOut",times:b}={},y=void 0){const p={[a]:i};b&&(p.offset=b);const v=gA(h,u);Array.isArray(v)&&(p.easing=v);const x={delay:s,duration:u,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return y&&(x.pseudoElement=y),n.animate(p,x)}function bA(n){return typeof n=="function"&&"applyToOptions"in n}function E3({type:n,...a}){return bA(n)&&yA()?n.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class vA extends A0{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:i,name:s,keyframes:u,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:h,onComplete:b}=a;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=a,mi(typeof a.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const y=E3(a);this.animation=w3(i,s,u,y,f),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const p=N0(u,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(p):b3(i,s,p),this.animation.cancel()}b?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const a=this.options?.element;!this.isPseudoElement&&a?.isConnected&&this.animation.commitStyles?.()}get duration(){const a=this.animation.effect?.getComputedTiming?.().duration||0;return jr(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+jr(a)}get time(){return jr(Number(this.animation.currentTime)||0)}set time(a){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Br(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,a&&v3()?(this.animation.timeline=a,Lr):i(this)}}const xA={anticipate:ZN,backInOut:QN,circInOut:KN};function T3(n){return n in xA}function D3(n){typeof n.ease=="string"&&T3(n.ease)&&(n.ease=xA[n.ease])}const Gg=10;class k3 extends vA{constructor(a){D3(a),hA(a),super(a),a.startTime!==void 0&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:i,onUpdate:s,onComplete:u,element:f,...d}=this.options;if(!i)return;if(a!==void 0){i.set(a);return}const h=new C0({...d,autoplay:!1}),b=Math.max(Gg,Ln.now()-this.startTime),y=Va(0,Gg,b-Gg);i.setWithVelocity(h.sample(Math.max(0,b-y)).value,h.sample(b).value,y),h.stop()}}const ED=(n,a)=>a==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(uo.test(n)||n==="0")&&!n.startsWith("url("));function N3(n){const a=n[0];if(n.length===1)return!0;for(let i=0;i<n.length;i++)if(n[i]!==a)return!0}function A3(n,a,i,s){const u=n[0];if(u===null)return!1;if(a==="display"||a==="visibility")return!0;const f=n[n.length-1],d=ED(u,a),h=ED(f,a);return kl(d===h,`You are trying to animate ${a} from "${u}" to "${f}". "${d?f:u}" is not an animatable value.`,"value-not-animatable"),!d||!h?!1:N3(n)||(i==="spring"||bA(i))&&s}function Vb(n){n.duration=0,n.type="keyframes"}const C3=new Set(["opacity","clipPath","filter","transform"]),R3=g0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function z3(n){const{motionValue:a,name:i,repeatDelay:s,repeatType:u,damping:f,type:d}=n;if(!(a?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:b,transformTemplate:y}=a.owner.getProps();return R3()&&i&&C3.has(i)&&(i!=="transform"||!y)&&!b&&!s&&u!=="mirror"&&f!==0&&d!=="inertia"}const O3=40;class M3 extends A0{constructor({autoplay:a=!0,delay:i=0,type:s="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:d="loop",keyframes:h,name:b,motionValue:y,element:p,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ln.now();const x={autoplay:a,delay:i,type:s,repeat:u,repeatDelay:f,repeatType:d,name:b,motionValue:y,element:p,...v},S=p?.KeyframeResolver||R0;this.keyframeResolver=new S(h,(N,V,R)=>this.onKeyframesResolved(N,V,x,!R),b,y,p),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(a,i,s,u){this.keyframeResolver=void 0;const{name:f,type:d,velocity:h,delay:b,isHandoff:y,onUpdate:p}=s;this.resolvedAt=Ln.now(),A3(a,f,d,h)||((pi.instantAnimations||!b)&&p?.(N0(a,s,i)),a[0]=a[a.length-1],Vb(s),s.repeat=0);const x={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>O3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:a},S=!y&&z3(x),N=x.motionValue?.owner?.current,V=S?new k3({...x,element:N}):new C0(x);V.finished.then(()=>{this.notifyFinished()}).catch(Lr),this.pendingTimeline&&(this.stopTimeline=V.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=V}get finished(){return this._animation?this.animation.finished:this._finished}then(a,i){return this.finished.finally(a).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),y3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function SA(n,a,i,s=0,u=1){const f=Array.from(n).sort((y,p)=>y.sortNodePosition(p)).indexOf(a),d=n.size,h=(d-1)*s;return typeof i=="function"?i(f,d):u===1?f*s:h-f*s}const _3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function U3(n){const a=_3.exec(n);if(!a)return[,];const[,i,s,u]=a;return[`--${i??s}`,u]}const j3=4;function wA(n,a,i=1){mi(i<=j3,`Max CSS variable fallback depth detected in property "${n}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[s,u]=U3(n);if(!s)return;const f=window.getComputedStyle(a).getPropertyValue(s);if(f){const d=f.trim();return PN(d)?parseFloat(d):d}return w0(u)?wA(u,a,i+1):u}const V3={type:"spring",stiffness:500,damping:25,restSpeed:10},L3=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),B3={type:"keyframes",duration:.8},H3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},P3=(n,{keyframes:a})=>a.length>2?B3:Cl.has(n)?n.startsWith("scale")?L3(a[1]):V3:H3,q3=n=>n!==null;function I3(n,{repeat:a,repeatType:i="loop"},s){const u=n.filter(q3),f=a&&i!=="loop"&&a%2===1?0:u.length-1;return u[f]}function EA(n,a){if(n?.inherit&&a){const{inherit:i,...s}=n;return{...a,...s}}return n}function z0(n,a){const i=n?.[a]??n?.default??n;return i!==n?EA(i,n):i}function F3({when:n,delay:a,delayChildren:i,staggerChildren:s,staggerDirection:u,repeat:f,repeatType:d,repeatDelay:h,from:b,elapsed:y,...p}){return!!Object.keys(p).length}const O0=(n,a,i,s={},u,f)=>d=>{const h=z0(s,n)||{},b=h.delay||s.delay||0;let{elapsed:y=0}=s;y=y-Br(b);const p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:a.getVelocity(),...h,delay:-y,onUpdate:x=>{a.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:n,motionValue:a,element:f?void 0:u};F3(h)||Object.assign(p,P3(n,p)),p.duration&&(p.duration=Br(p.duration)),p.repeatDelay&&(p.repeatDelay=Br(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let v=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(Vb(p),p.delay===0&&(v=!0)),(pi.instantAnimations||pi.skipAnimations||u?.shouldSkipAnimations)&&(v=!0,Vb(p),p.delay=0),p.allowFlatten=!h.type&&!h.ease,v&&!f&&a.get()!==void 0){const x=I3(p.keyframes,h);if(x!==void 0){Dt.update(()=>{p.onUpdate(x),p.onComplete()});return}}return h.isSync?new C0(p):new M3(p)};function TD(n){const a=[{},{}];return n?.values.forEach((i,s)=>{a[0][s]=i.get(),a[1][s]=i.getVelocity()}),a}function M0(n,a,i,s){if(typeof a=="function"){const[u,f]=TD(s);a=a(i!==void 0?i:n.custom,u,f)}if(typeof a=="string"&&(a=n.variants&&n.variants[a]),typeof a=="function"){const[u,f]=TD(s);a=a(i!==void 0?i:n.custom,u,f)}return a}function Sl(n,a,i){const s=n.getProps();return M0(s,a,i!==void 0?i:s.custom,n)}const TA=new Set(["width","height","top","left","right","bottom",...Al]),DD=30,Y3=n=>!isNaN(parseFloat(n));class G3{constructor(a,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const u=Ln.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=i.owner}setCurrent(a){this.current=a,this.updatedAt=Ln.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=Y3(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return v0(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",a)}on(a,i){this.events[a]||(this.events[a]=new b0);const s=this.events[a].add(i);return a==="change"?()=>{s(),Dt.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,i){this.passiveEffect=a,this.stopPassiveEffect=i}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-s}jump(a,i=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Ln.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>DD)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,DD);return FN(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(a){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=a(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Tl(n,a){return new G3(n,a)}const Lb=n=>Array.isArray(n);function $3(n,a,i){n.hasValue(a)?n.getValue(a).set(i):n.addValue(a,Tl(i))}function X3(n){return Lb(n)?n[n.length-1]||0:n}function Q3(n,a){const i=Sl(n,a);let{transitionEnd:s={},transition:u={},...f}=i||{};f={...f,...s};for(const d in f){const h=X3(f[d]);$3(n,d,h)}}const En=n=>!!(n&&n.getVelocity);function Z3(n){return!!(En(n)&&n.add)}function Bb(n,a){const i=n.getValue("willChange");if(Z3(i))return i.add(a);if(!i&&pi.WillChange){const s=new pi.WillChange("auto");n.addValue("willChange",s),s.add(a)}}function _0(n){return n.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const J3="framerAppearId",DA="data-"+_0(J3);function kA(n){return n.props[DA]}function K3({protectedKeys:n,needsAnimating:a},i){const s=n.hasOwnProperty(i)&&a[i]!==!0;return a[i]=!1,s}function NA(n,a,{delay:i=0,transitionOverride:s,type:u}={}){let{transition:f,transitionEnd:d,...h}=a;const b=n.getDefaultTransition();f=f?EA(f,b):b;const y=f?.reduceMotion;s&&(f=s);const p=[],v=u&&n.animationState&&n.animationState.getState()[u];for(const x in h){const S=n.getValue(x,n.latestValues[x]??null),N=h[x];if(N===void 0||v&&K3(v,x))continue;const V={delay:i,...z0(f||{},x)},R=S.get();if(R!==void 0&&!S.isAnimating&&!Array.isArray(N)&&N===R&&!V.velocity)continue;let _=!1;if(window.MotionHandoffAnimation){const ie=kA(n);if(ie){const re=window.MotionHandoffAnimation(ie,x,Dt);re!==null&&(V.startTime=re,_=!0)}}Bb(n,x);const Q=y??n.shouldReduceMotion;S.start(O0(x,S,N,Q&&TA.has(x)?{type:!1}:V,n,_));const I=S.animation;I&&p.push(I)}if(d){const x=()=>Dt.update(()=>{d&&Q3(n,d)});p.length?Promise.all(p).then(x):x()}return p}function Hb(n,a,i={}){const s=Sl(n,a,i.type==="exit"?n.presenceContext?.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(u=i.transitionOverride);const f=s?()=>Promise.all(NA(n,s,i)):()=>Promise.resolve(),d=n.variantChildren&&n.variantChildren.size?(b=0)=>{const{delayChildren:y=0,staggerChildren:p,staggerDirection:v}=u;return W3(n,a,b,y,p,v,i)}:()=>Promise.resolve(),{when:h}=u;if(h){const[b,y]=h==="beforeChildren"?[f,d]:[d,f];return b().then(()=>y())}else return Promise.all([f(),d(i.delay)])}function W3(n,a,i=0,s=0,u=0,f=1,d){const h=[];for(const b of n.variantChildren)b.notify("AnimationStart",a),h.push(Hb(b,a,{...d,delay:i+(typeof s=="function"?0:s)+SA(n.variantChildren,b,s,u,f)}).then(()=>b.notify("AnimationComplete",a)));return Promise.all(h)}function ej(n,a,i={}){n.notify("AnimationStart",a);let s;if(Array.isArray(a)){const u=a.map(f=>Hb(n,f,i));s=Promise.all(u)}else if(typeof a=="string")s=Hb(n,a,i);else{const u=typeof a=="function"?Sl(n,a,i.custom):a;s=Promise.all(NA(n,u,i))}return s.then(()=>{n.notify("AnimationComplete",a)})}const tj={test:n=>n==="auto",parse:n=>n},AA=n=>a=>a.test(n),CA=[Nl,Ne,ja,io,AU,NU,tj],kD=n=>CA.find(AA(n));function nj(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||IN(n):!0}const rj=new Set(["brightness","contrast","saturate","opacity"]);function aj(n){const[a,i]=n.slice(0,-1).split("(");if(a==="drop-shadow")return n;const[s]=i.match(E0)||[];if(!s)return n;const u=i.replace(s,"");let f=rj.has(a)?1:0;return s!==i&&(f*=100),a+"("+f+u+")"}const ij=/\b([a-z-]*)\(.*?\)/gu,Pb={...uo,getAnimatableNone:n=>{const a=n.match(ij);return a?a.map(aj).join(" "):n}},ND={...Nl,transform:Math.round},oj={rotate:io,rotateX:io,rotateY:io,rotateZ:io,scale:oh,scaleX:oh,scaleY:oh,scaleZ:oh,skew:io,skewX:io,skewY:io,distance:Ne,translateX:Ne,translateY:Ne,translateZ:Ne,x:Ne,y:Ne,z:Ne,perspective:Ne,transformPerspective:Ne,opacity:Dc,originX:hD,originY:hD,originZ:Ne},U0={borderWidth:Ne,borderTopWidth:Ne,borderRightWidth:Ne,borderBottomWidth:Ne,borderLeftWidth:Ne,borderRadius:Ne,borderTopLeftRadius:Ne,borderTopRightRadius:Ne,borderBottomRightRadius:Ne,borderBottomLeftRadius:Ne,width:Ne,maxWidth:Ne,height:Ne,maxHeight:Ne,top:Ne,right:Ne,bottom:Ne,left:Ne,inset:Ne,insetBlock:Ne,insetBlockStart:Ne,insetBlockEnd:Ne,insetInline:Ne,insetInlineStart:Ne,insetInlineEnd:Ne,padding:Ne,paddingTop:Ne,paddingRight:Ne,paddingBottom:Ne,paddingLeft:Ne,paddingBlock:Ne,paddingBlockStart:Ne,paddingBlockEnd:Ne,paddingInline:Ne,paddingInlineStart:Ne,paddingInlineEnd:Ne,margin:Ne,marginTop:Ne,marginRight:Ne,marginBottom:Ne,marginLeft:Ne,marginBlock:Ne,marginBlockStart:Ne,marginBlockEnd:Ne,marginInline:Ne,marginInlineStart:Ne,marginInlineEnd:Ne,fontSize:Ne,backgroundPositionX:Ne,backgroundPositionY:Ne,...oj,zIndex:ND,fillOpacity:Dc,strokeOpacity:Dc,numOctaves:ND},sj={...U0,color:Kt,backgroundColor:Kt,outlineColor:Kt,fill:Kt,stroke:Kt,borderColor:Kt,borderTopColor:Kt,borderRightColor:Kt,borderBottomColor:Kt,borderLeftColor:Kt,filter:Pb,WebkitFilter:Pb},RA=n=>sj[n];function zA(n,a){let i=RA(n);return i!==Pb&&(i=uo),i.getAnimatableNone?i.getAnimatableNone(a):void 0}const lj=new Set(["auto","none","0"]);function uj(n,a,i){let s=0,u;for(;s<n.length&&!u;){const f=n[s];typeof f=="string"&&!lj.has(f)&&kc(f).values.length&&(u=n[s]),s++}if(u&&i)for(const f of a)n[f]=zA(i,u)}class cj extends R0{constructor(a,i,s,u,f){super(a,i,s,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let p=0;p<a.length;p++){let v=a[p];if(typeof v=="string"&&(v=v.trim(),w0(v))){const x=wA(v,i.current);x!==void 0&&(a[p]=x),p===a.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!TA.has(s)||a.length!==2)return;const[u,f]=a,d=kD(u),h=kD(f),b=dD(u),y=dD(f);if(b!==y&&oo[s]){this.needsMeasurement=!0;return}if(d!==h)if(SD(d)&&SD(h))for(let p=0;p<a.length;p++){const v=a[p];typeof v=="string"&&(a[p]=parseFloat(v))}else oo[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:i}=this,s=[];for(let u=0;u<a.length;u++)(a[u]===null||nj(a[u]))&&s.push(u);s.length&&uj(a,s,i)}measureInitialState(){const{element:a,unresolvedKeyframes:i,name:s}=this;if(!a||!a.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=oo[s](a.measureViewportBox(),window.getComputedStyle(a.current)),i[0]=this.measuredOrigin;const u=i[i.length-1];u!==void 0&&a.getValue(s,u).jump(u,!1)}measureEndState(){const{element:a,name:i,unresolvedKeyframes:s}=this;if(!a||!a.current)return;const u=a.getValue(i);u&&u.jump(this.measuredOrigin,!1);const f=s.length-1,d=s[f];s[f]=oo[i](a.measureViewportBox(),window.getComputedStyle(a.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,b])=>{a.getValue(h).set(b)}),this.resolveNoneKeyframes()}}const fj=new Set(["opacity","clipPath","filter","transform"]);function OA(n,a,i){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let s=document;const u=i?.[n]??s.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(s=>s!=null)}const MA=(n,a)=>a&&typeof n=="number"?a.transform(n):n;function qb(n){return qN(n)&&"offsetHeight"in n}const{schedule:j0}=tA(queueMicrotask,!1),ta={x:!1,y:!1};function _A(){return ta.x||ta.y}function dj(n){return n==="x"||n==="y"?ta[n]?null:(ta[n]=!0,()=>{ta[n]=!1}):ta.x||ta.y?null:(ta.x=ta.y=!0,()=>{ta.x=ta.y=!1})}function UA(n,a){const i=OA(n),s=new AbortController,u={passive:!0,...a,signal:s.signal};return[i,u,()=>s.abort()]}function hj(n){return!(n.pointerType==="touch"||_A())}function mj(n,a,i={}){const[s,u,f]=UA(n,i);return s.forEach(d=>{let h=!1,b=!1,y;const p=()=>{d.removeEventListener("pointerleave",N)},v=R=>{y&&(y(R),y=void 0),p()},x=R=>{h=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),b&&(b=!1,v(R))},S=()=>{h=!0,window.addEventListener("pointerup",x,u),window.addEventListener("pointercancel",x,u)},N=R=>{if(R.pointerType!=="touch"){if(h){b=!0;return}v(R)}},V=R=>{if(!hj(R))return;b=!1;const _=a(d,R);typeof _=="function"&&(y=_,d.addEventListener("pointerleave",N,u))};d.addEventListener("pointerenter",V,u),d.addEventListener("pointerdown",S,u)}),f}const jA=(n,a)=>a?n===a?!0:jA(n,a.parentElement):!1,V0=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,pj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function yj(n){return pj.has(n.tagName)||n.isContentEditable===!0}const gj=new Set(["INPUT","SELECT","TEXTAREA"]);function bj(n){return gj.has(n.tagName)||n.isContentEditable===!0}const bh=new WeakSet;function AD(n){return a=>{a.key==="Enter"&&n(a)}}function $g(n,a){n.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const vj=(n,a)=>{const i=n.currentTarget;if(!i)return;const s=AD(()=>{if(bh.has(i))return;$g(i,"down");const u=AD(()=>{$g(i,"up")}),f=()=>$g(i,"cancel");i.addEventListener("keyup",u,a),i.addEventListener("blur",f,a)});i.addEventListener("keydown",s,a),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),a)};function CD(n){return V0(n)&&!_A()}const RD=new WeakSet;function xj(n,a,i={}){const[s,u,f]=UA(n,i),d=h=>{const b=h.currentTarget;if(!CD(h)||RD.has(h))return;bh.add(b),i.stopPropagation&&RD.add(h);const y=a(b,h),p=(S,N)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),bh.has(b)&&bh.delete(b),CD(S)&&typeof y=="function"&&y(S,{success:N})},v=S=>{p(S,b===window||b===document||i.useGlobalTarget||jA(b,S.target))},x=S=>{p(S,!1)};window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",x,u)};return s.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",d,u),qb(h)&&(h.addEventListener("focus",y=>vj(y,u)),!yj(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),f}function L0(n){return qN(n)&&"ownerSVGElement"in n}const vh=new WeakMap;let xh;const VA=(n,a,i)=>(s,u)=>u&&u[0]?u[0][n+"Size"]:L0(s)&&"getBBox"in s?s.getBBox()[a]:s[i],Sj=VA("inline","width","offsetWidth"),wj=VA("block","height","offsetHeight");function Ej({target:n,borderBoxSize:a}){vh.get(n)?.forEach(i=>{i(n,{get width(){return Sj(n,a)},get height(){return wj(n,a)}})})}function Tj(n){n.forEach(Ej)}function Dj(){typeof ResizeObserver>"u"||(xh=new ResizeObserver(Tj))}function kj(n,a){xh||Dj();const i=OA(n);return i.forEach(s=>{let u=vh.get(s);u||(u=new Set,vh.set(s,u)),u.add(a),xh?.observe(s)}),()=>{i.forEach(s=>{const u=vh.get(s);u?.delete(a),u?.size||xh?.unobserve(s)})}}const Sh=new Set;let gl;function Nj(){gl=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Sh.forEach(a=>a(n))},window.addEventListener("resize",gl)}function Aj(n){return Sh.add(n),gl||Nj(),()=>{Sh.delete(n),!Sh.size&&typeof gl=="function"&&(window.removeEventListener("resize",gl),gl=void 0)}}function zD(n,a){return typeof n=="function"?Aj(n):kj(n,a)}function Cj(n){return L0(n)&&n.tagName==="svg"}const Rj=[...CA,Kt,uo],zj=n=>Rj.find(AA(n)),OD=()=>({translate:0,scale:1,origin:0,originPoint:0}),bl=()=>({x:OD(),y:OD()}),MD=()=>({min:0,max:0}),rn=()=>({x:MD(),y:MD()}),Oj=new WeakMap;function qh(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Nc(n){return typeof n=="string"||Array.isArray(n)}const B0=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],H0=["initial",...B0];function Ih(n){return qh(n.animate)||H0.some(a=>Nc(n[a]))}function LA(n){return!!(Ih(n)||n.variants)}function Mj(n,a,i){for(const s in a){const u=a[s],f=i[s];if(En(u))n.addValue(s,u);else if(En(f))n.addValue(s,Tl(u,{owner:n}));else if(f!==u)if(n.hasValue(s)){const d=n.getValue(s);d.liveStyle===!0?d.jump(u):d.hasAnimated||d.set(u)}else{const d=n.getStaticValue(s);n.addValue(s,Tl(d!==void 0?d:u,{owner:n}))}}for(const s in i)a[s]===void 0&&n.removeValue(s);return a}const Ib={current:null},BA={current:!1},_j=typeof window<"u";function Uj(){if(BA.current=!0,!!_j)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),a=()=>Ib.current=n.matches;n.addEventListener("change",a),a()}else Ib.current=!1}const _D=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Mh={};function HA(n){Mh=n}function jj(){return Mh}class Vj{scrapeMotionValuesFromProps(a,i,s){return{}}constructor({parent:a,props:i,presenceContext:s,reducedMotionConfig:u,skipAnimations:f,blockInitialAnimation:d,visualState:h},b={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=R0,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=Ln.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Dt.render(this.render,!1,!0))};const{latestValues:y,renderState:p}=h;this.latestValues=y,this.baseTarget={...y},this.initialValues=i.initial?{...y}:{},this.renderState=p,this.parent=a,this.props=i,this.presenceContext=s,this.depth=a?a.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=f,this.options=b,this.blockInitialAnimation=!!d,this.isControllingVariants=Ih(i),this.isVariantNode=LA(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const S in x){const N=x[S];y[S]!==void 0&&En(N)&&N.set(y[S])}}mount(a){if(this.hasBeenMounted)for(const i in this.initialValues)this.values.get(i)?.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=a,Oj.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(BA.current||Uj(),this.shouldReduceMotion=Ib.current),v0(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),lo(this.notifyUpdate),lo(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const a in this.events)this.events[a].clear();for(const a in this.features){const i=this.features[a];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,i){if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),i.accelerate&&fj.has(a)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:b,ease:y,duration:p}=i.accelerate,v=new vA({element:this.current,name:a,keyframes:h,times:b,ease:y,duration:Br(p)}),x=d(v);this.valueSubscriptions.set(a,()=>{x(),v.cancel()});return}const s=Cl.has(a);s&&this.onBindTransform&&this.onBindTransform();const u=i.on("change",d=>{this.latestValues[a]=d,this.props.onUpdate&&Dt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,a,i)),this.valueSubscriptions.set(a,()=>{u(),f&&f(),i.owner&&i.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in Mh){const i=Mh[a];if(!i)continue;const{isEnabled:s,Feature:u}=i;if(!this.features[a]&&u&&s(this.props)&&(this.features[a]=new u(this)),this.features[a]){const f=this.features[a];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rn()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,i){this.latestValues[a]=i}update(a,i){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<_D.length;s++){const u=_D[s];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,d=a[f];d&&(this.propEventSubscriptions[u]=this.on(u,d))}this.prevMotionValues=Mj(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(a),()=>i.variantChildren.delete(a)}addValue(a,i){const s=this.values.get(a);i!==s&&(s&&this.removeValue(a),this.bindToMotionValue(a,i),this.values.set(a,i),this.latestValues[a]=i.get())}removeValue(a){this.values.delete(a);const i=this.valueSubscriptions.get(a);i&&(i(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,i){if(this.props.values&&this.props.values[a])return this.props.values[a];let s=this.values.get(a);return s===void 0&&i!==void 0&&(s=Tl(i===null?void 0:i,{owner:this}),this.addValue(a,s)),s}readValue(a,i){let s=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return s!=null&&(typeof s=="string"&&(PN(s)||IN(s))?s=parseFloat(s):!zj(s)&&uo.test(i)&&(s=zA(a,i)),this.setBaseTarget(a,En(s)?s.get():s)),En(s)?s.get():s}setBaseTarget(a,i){this.baseTarget[a]=i}getBaseTarget(a){const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const f=M0(this.props,i,this.presenceContext?.custom);f&&(s=f[a])}if(i&&s!==void 0)return s;const u=this.getBaseTargetFromProps(this.props,a);return u!==void 0&&!En(u)?u:this.initialValues[a]!==void 0&&s===void 0?void 0:this.baseTarget[a]}on(a,i){return this.events[a]||(this.events[a]=new b0),this.events[a].add(i)}notify(a,...i){this.events[a]&&this.events[a].notify(...i)}scheduleRenderMicrotask(){j0.render(this.render)}}class PA extends Vj{constructor(){super(...arguments),this.KeyframeResolver=cj}sortInstanceNodePosition(a,i){return a.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(a,i){const s=a.style;return s?s[i]:void 0}removeValueFromRenderState(a,{vars:i,style:s}){delete i[a],delete s[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;En(a)&&(this.childSubscription=a.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class co{constructor(a){this.isMounted=!1,this.node=a}update(){}}function qA({top:n,left:a,right:i,bottom:s}){return{x:{min:a,max:i},y:{min:n,max:s}}}function Lj({x:n,y:a}){return{top:a.min,right:n.max,bottom:a.max,left:n.min}}function Bj(n,a){if(!a)return n;const i=a({x:n.left,y:n.top}),s=a({x:n.right,y:n.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function Xg(n){return n===void 0||n===1}function Fb({scale:n,scaleX:a,scaleY:i}){return!Xg(n)||!Xg(a)||!Xg(i)}function es(n){return Fb(n)||IA(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function IA(n){return UD(n.x)||UD(n.y)}function UD(n){return n&&n!=="0%"}function _h(n,a,i){const s=n-i,u=a*s;return i+u}function jD(n,a,i,s,u){return u!==void 0&&(n=_h(n,u,s)),_h(n,i,s)+a}function Yb(n,a=0,i=1,s,u){n.min=jD(n.min,a,i,s,u),n.max=jD(n.max,a,i,s,u)}function FA(n,{x:a,y:i}){Yb(n.x,a.translate,a.scale,a.originPoint),Yb(n.y,i.translate,i.scale,i.originPoint)}const VD=.999999999999,LD=1.0000000000001;function Hj(n,a,i,s=!1){const u=i.length;if(!u)return;a.x=a.y=1;let f,d;for(let h=0;h<u;h++){f=i[h],d=f.projectionDelta;const{visualElement:b}=f.options;b&&b.props.style&&b.props.style.display==="contents"||(s&&f.options.layoutScroll&&f.scroll&&f!==f.root&&xl(n,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),d&&(a.x*=d.x.scale,a.y*=d.y.scale,FA(n,d)),s&&es(f.latestValues)&&xl(n,f.latestValues))}a.x<LD&&a.x>VD&&(a.x=1),a.y<LD&&a.y>VD&&(a.y=1)}function vl(n,a){n.min=n.min+a,n.max=n.max+a}function BD(n,a,i,s,u=.5){const f=_t(n.min,n.max,u);Yb(n,a,i,f,s)}function xl(n,a){BD(n.x,a.x,a.scaleX,a.scale,a.originX),BD(n.y,a.y,a.scaleY,a.scale,a.originY)}function YA(n,a){return qA(Bj(n.getBoundingClientRect(),a))}function Pj(n,a,i){const s=YA(n,i),{scroll:u}=a;return u&&(vl(s.x,u.offset.x),vl(s.y,u.offset.y)),s}const qj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ij=Al.length;function Fj(n,a,i){let s="",u=!0;for(let f=0;f<Ij;f++){const d=Al[f],h=n[d];if(h===void 0)continue;let b=!0;if(typeof h=="number")b=h===(d.startsWith("scale")?1:0);else{const y=parseFloat(h);b=d.startsWith("scale")?y===1:y===0}if(!b||i){const y=MA(h,U0[d]);if(!b){u=!1;const p=qj[d]||d;s+=`${p}(${y}) `}i&&(a[d]=y)}}return s=s.trim(),i?s=i(a,u?"":s):u&&(s="none"),s}function P0(n,a,i){const{style:s,vars:u,transformOrigin:f}=n;let d=!1,h=!1;for(const b in a){const y=a[b];if(Cl.has(b)){d=!0;continue}else if(rA(b)){u[b]=y;continue}else{const p=MA(y,U0[b]);b.startsWith("origin")?(h=!0,f[b]=p):s[b]=p}}if(a.transform||(d||i?s.transform=Fj(a,n.transform,i):s.transform&&(s.transform="none")),h){const{originX:b="50%",originY:y="50%",originZ:p=0}=f;s.transformOrigin=`${b} ${y} ${p}`}}function GA(n,{style:a,vars:i},s,u){const f=n.style;let d;for(d in a)f[d]=a[d];u?.applyProjectionStyles(f,s);for(d in i)f.setProperty(d,i[d])}function HD(n,a){return a.max===a.min?0:n/(a.max-a.min)*100}const cc={correct:(n,a)=>{if(!a.target)return n;if(typeof n=="string")if(Ne.test(n))n=parseFloat(n);else return n;const i=HD(n,a.target.x),s=HD(n,a.target.y);return`${i}% ${s}%`}},Yj={correct:(n,{treeScale:a,projectionDelta:i})=>{const s=n,u=uo.parse(n);if(u.length>5)return s;const f=uo.createTransformer(n),d=typeof u[0]!="number"?1:0,h=i.x.scale*a.x,b=i.y.scale*a.y;u[0+d]/=h,u[1+d]/=b;const y=_t(h,b,.5);return typeof u[2+d]=="number"&&(u[2+d]/=y),typeof u[3+d]=="number"&&(u[3+d]/=y),f(u)}},Gb={borderRadius:{...cc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:cc,borderTopRightRadius:cc,borderBottomLeftRadius:cc,borderBottomRightRadius:cc,boxShadow:Yj};function $A(n,{layout:a,layoutId:i}){return Cl.has(n)||n.startsWith("origin")||(a||i!==void 0)&&(!!Gb[n]||n==="opacity")}function q0(n,a,i){const s=n.style,u=a?.style,f={};if(!s)return f;for(const d in s)(En(s[d])||u&&En(u[d])||$A(d,n)||i?.getValue(d)?.liveStyle!==void 0)&&(f[d]=s[d]);return f}function Gj(n){return window.getComputedStyle(n)}class $j extends PA{constructor(){super(...arguments),this.type="html",this.renderInstance=GA}readValueFromInstance(a,i){if(Cl.has(i))return this.projection?.isProjecting?Ob(i):f3(a,i);{const s=Gj(a),u=(rA(i)?s.getPropertyValue(i):s[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(a,{transformPagePoint:i}){return YA(a,i)}build(a,i,s){P0(a,i,s.transformTemplate)}scrapeMotionValuesFromProps(a,i,s){return q0(a,i,s)}}const Xj={offset:"stroke-dashoffset",array:"stroke-dasharray"},Qj={offset:"strokeDashoffset",array:"strokeDasharray"};function Zj(n,a,i=1,s=0,u=!0){n.pathLength=1;const f=u?Xj:Qj;n[f.offset]=`${-s}`,n[f.array]=`${a} ${i}`}const Jj=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function XA(n,{attrX:a,attrY:i,attrScale:s,pathLength:u,pathSpacing:f=1,pathOffset:d=0,...h},b,y,p){if(P0(n,h,y),b){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:x}=n;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=p?.transformBox??"fill-box",delete v.transformBox);for(const S of Jj)v[S]!==void 0&&(x[S]=v[S],delete v[S]);a!==void 0&&(v.x=a),i!==void 0&&(v.y=i),s!==void 0&&(v.scale=s),u!==void 0&&Zj(v,u,f,d,!1)}const QA=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),ZA=n=>typeof n=="string"&&n.toLowerCase()==="svg";function Kj(n,a,i,s){GA(n,a,void 0,s);for(const u in a.attrs)n.setAttribute(QA.has(u)?u:_0(u),a.attrs[u])}function JA(n,a,i){const s=q0(n,a,i);for(const u in n)if(En(n[u])||En(a[u])){const f=Al.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;s[f]=n[u]}return s}class Wj extends PA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rn}getBaseTargetFromProps(a,i){return a[i]}readValueFromInstance(a,i){if(Cl.has(i)){const s=RA(i);return s&&s.default||0}return i=QA.has(i)?i:_0(i),a.getAttribute(i)}scrapeMotionValuesFromProps(a,i,s){return JA(a,i,s)}build(a,i,s){XA(a,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(a,i,s,u){Kj(a,i,s,u)}mount(a){this.isSVGTag=ZA(a.tagName),super.mount(a)}}const eV=H0.length;function KA(n){if(!n)return;if(!n.isControllingVariants){const i=n.parent?KA(n.parent)||{}:{};return n.props.initial!==void 0&&(i.initial=n.props.initial),i}const a={};for(let i=0;i<eV;i++){const s=H0[i],u=n.props[s];(Nc(u)||u===!1)&&(a[s]=u)}return a}function WA(n,a){if(!Array.isArray(a))return!1;const i=a.length;if(i!==n.length)return!1;for(let s=0;s<i;s++)if(a[s]!==n[s])return!1;return!0}const tV=[...B0].reverse(),nV=B0.length;function rV(n){return a=>Promise.all(a.map(({animation:i,options:s})=>ej(n,i,s)))}function aV(n){let a=rV(n),i=PD(),s=!0;const u=b=>(y,p)=>{const v=Sl(n,p,b==="exit"?n.presenceContext?.custom:void 0);if(v){const{transition:x,transitionEnd:S,...N}=v;y={...y,...N,...S}}return y};function f(b){a=b(n)}function d(b){const{props:y}=n,p=KA(n.parent)||{},v=[],x=new Set;let S={},N=1/0;for(let R=0;R<nV;R++){const _=tV[R],Q=i[_],I=y[_]!==void 0?y[_]:p[_],ie=Nc(I),re=_===b?Q.isActive:null;re===!1&&(N=R);let G=I===p[_]&&I!==y[_]&&ie;if(G&&s&&n.manuallyAnimateOnMount&&(G=!1),Q.protectedKeys={...S},!Q.isActive&&re===null||!I&&!Q.prevProp||qh(I)||typeof I=="boolean")continue;if(_==="exit"&&Q.isActive&&re!==!0){Q.prevResolvedValues&&(S={...S,...Q.prevResolvedValues});continue}const ge=iV(Q.prevProp,I);let se=ge||_===b&&Q.isActive&&!G&&ie||R>N&&ie,ce=!1;const F=Array.isArray(I)?I:[I];let he=F.reduce(u(_),{});re===!1&&(he={});const{prevResolvedValues:oe={}}=Q,X={...oe,...he},ne=le=>{se=!0,x.has(le)&&(ce=!0,x.delete(le)),Q.needsAnimating[le]=!0;const pe=n.getValue(le);pe&&(pe.liveStyle=!1)};for(const le in X){const pe=he[le],ze=oe[le];if(S.hasOwnProperty(le))continue;let z=!1;Lb(pe)&&Lb(ze)?z=!WA(pe,ze):z=pe!==ze,z?pe!=null?ne(le):x.add(le):pe!==void 0&&x.has(le)?ne(le):Q.protectedKeys[le]=!0}Q.prevProp=I,Q.prevResolvedValues=he,Q.isActive&&(S={...S,...he}),s&&n.blockInitialAnimation&&(se=!1);const ae=G&&ge;se&&(!ae||ce)&&v.push(...F.map(le=>{const pe={type:_};if(typeof le=="string"&&s&&!ae&&n.manuallyAnimateOnMount&&n.parent){const{parent:ze}=n,z=Sl(ze,le);if(ze.enteringChildren&&z){const{delayChildren:U}=z.transition||{};pe.delay=SA(ze.enteringChildren,n,U)}}return{animation:le,options:pe}}))}if(x.size){const R={};if(typeof y.initial!="boolean"){const _=Sl(n,Array.isArray(y.initial)?y.initial[0]:y.initial);_&&_.transition&&(R.transition=_.transition)}x.forEach(_=>{const Q=n.getBaseTarget(_),I=n.getValue(_);I&&(I.liveStyle=!0),R[_]=Q??null}),v.push({animation:R})}let V=!!v.length;return s&&(y.initial===!1||y.initial===y.animate)&&!n.manuallyAnimateOnMount&&(V=!1),s=!1,V?a(v):Promise.resolve()}function h(b,y){if(i[b].isActive===y)return Promise.resolve();n.variantChildren?.forEach(v=>v.animationState?.setActive(b,y)),i[b].isActive=y;const p=d(b);for(const v in i)i[v].protectedKeys={};return p}return{animateChanges:d,setActive:h,setAnimateFunction:f,getState:()=>i,reset:()=>{i=PD()}}}function iV(n,a){return typeof a=="string"?a!==n:Array.isArray(a)?!WA(a,n):!1}function Ko(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function PD(){return{animate:Ko(!0),whileInView:Ko(),whileHover:Ko(),whileTap:Ko(),whileDrag:Ko(),whileFocus:Ko(),exit:Ko()}}function qD(n,a){n.min=a.min,n.max=a.max}function Wr(n,a){qD(n.x,a.x),qD(n.y,a.y)}function ID(n,a){n.translate=a.translate,n.scale=a.scale,n.originPoint=a.originPoint,n.origin=a.origin}const eC=1e-4,oV=1-eC,sV=1+eC,tC=.01,lV=0-tC,uV=0+tC;function Bn(n){return n.max-n.min}function cV(n,a,i){return Math.abs(n-a)<=i}function FD(n,a,i,s=.5){n.origin=s,n.originPoint=_t(a.min,a.max,n.origin),n.scale=Bn(i)/Bn(a),n.translate=_t(i.min,i.max,n.origin)-n.originPoint,(n.scale>=oV&&n.scale<=sV||isNaN(n.scale))&&(n.scale=1),(n.translate>=lV&&n.translate<=uV||isNaN(n.translate))&&(n.translate=0)}function vc(n,a,i,s){FD(n.x,a.x,i.x,s?s.originX:void 0),FD(n.y,a.y,i.y,s?s.originY:void 0)}function YD(n,a,i){n.min=i.min+a.min,n.max=n.min+Bn(a)}function fV(n,a,i){YD(n.x,a.x,i.x),YD(n.y,a.y,i.y)}function GD(n,a,i){n.min=a.min-i.min,n.max=n.min+Bn(a)}function Uh(n,a,i){GD(n.x,a.x,i.x),GD(n.y,a.y,i.y)}function $D(n,a,i,s,u){return n-=a,n=_h(n,1/i,s),u!==void 0&&(n=_h(n,1/u,s)),n}function dV(n,a=0,i=1,s=.5,u,f=n,d=n){if(ja.test(a)&&(a=parseFloat(a),a=_t(d.min,d.max,a/100)-d.min),typeof a!="number")return;let h=_t(f.min,f.max,s);n===f&&(h-=a),n.min=$D(n.min,a,i,h,u),n.max=$D(n.max,a,i,h,u)}function XD(n,a,[i,s,u],f,d){dV(n,a[i],a[s],a[u],a.scale,f,d)}const hV=["x","scaleX","originX"],mV=["y","scaleY","originY"];function QD(n,a,i,s){XD(n.x,a,hV,i?i.x:void 0,s?s.x:void 0),XD(n.y,a,mV,i?i.y:void 0,s?s.y:void 0)}function ZD(n){return n.translate===0&&n.scale===1}function nC(n){return ZD(n.x)&&ZD(n.y)}function JD(n,a){return n.min===a.min&&n.max===a.max}function pV(n,a){return JD(n.x,a.x)&&JD(n.y,a.y)}function KD(n,a){return Math.round(n.min)===Math.round(a.min)&&Math.round(n.max)===Math.round(a.max)}function rC(n,a){return KD(n.x,a.x)&&KD(n.y,a.y)}function WD(n){return Bn(n.x)/Bn(n.y)}function ek(n,a){return n.translate===a.translate&&n.scale===a.scale&&n.originPoint===a.originPoint}function Oa(n){return[n("x"),n("y")]}function yV(n,a,i){let s="";const u=n.x.translate/a.x,f=n.y.translate/a.y,d=i?.z||0;if((u||f||d)&&(s=`translate3d(${u}px, ${f}px, ${d}px) `),(a.x!==1||a.y!==1)&&(s+=`scale(${1/a.x}, ${1/a.y}) `),i){const{transformPerspective:y,rotate:p,rotateX:v,rotateY:x,skewX:S,skewY:N}=i;y&&(s=`perspective(${y}px) ${s}`),p&&(s+=`rotate(${p}deg) `),v&&(s+=`rotateX(${v}deg) `),x&&(s+=`rotateY(${x}deg) `),S&&(s+=`skewX(${S}deg) `),N&&(s+=`skewY(${N}deg) `)}const h=n.x.scale*a.x,b=n.y.scale*a.y;return(h!==1||b!==1)&&(s+=`scale(${h}, ${b})`),s||"none"}const aC=["TopLeft","TopRight","BottomLeft","BottomRight"],gV=aC.length,tk=n=>typeof n=="string"?parseFloat(n):n,nk=n=>typeof n=="number"||Ne.test(n);function bV(n,a,i,s,u,f){u?(n.opacity=_t(0,i.opacity??1,vV(s)),n.opacityExit=_t(a.opacity??1,0,xV(s))):f&&(n.opacity=_t(a.opacity??1,i.opacity??1,s));for(let d=0;d<gV;d++){const h=`border${aC[d]}Radius`;let b=rk(a,h),y=rk(i,h);if(b===void 0&&y===void 0)continue;b||(b=0),y||(y=0),b===0||y===0||nk(b)===nk(y)?(n[h]=Math.max(_t(tk(b),tk(y),s),0),(ja.test(y)||ja.test(b))&&(n[h]+="%")):n[h]=y}(a.rotate||i.rotate)&&(n.rotate=_t(a.rotate||0,i.rotate||0,s))}function rk(n,a){return n[a]!==void 0?n[a]:n.borderRadius}const vV=iC(0,.5,JN),xV=iC(.5,.95,Lr);function iC(n,a,i){return s=>s<n?0:s>a?1:i(Tc(n,a,s))}function SV(n,a,i){const s=En(n)?n:Tl(n);return s.start(O0("",s,a,i)),s.animation}function Ac(n,a,i,s={passive:!0}){return n.addEventListener(a,i,s),()=>n.removeEventListener(a,i)}const wV=(n,a)=>n.depth-a.depth;class EV{constructor(){this.children=[],this.isDirty=!1}add(a){y0(this.children,a),this.isDirty=!0}remove(a){Ch(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(wV),this.isDirty=!1,this.children.forEach(a)}}function TV(n,a){const i=Ln.now(),s=({timestamp:u})=>{const f=u-i;f>=a&&(lo(s),n(f-a))};return Dt.setup(s,!0),()=>lo(s)}function wh(n){return En(n)?n.get():n}class DV{constructor(){this.members=[]}add(a){y0(this.members,a);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===a||s===this.lead||s===this.prevLead)continue;const u=s.instance;u&&u.isConnected===!1&&s.isPresent!==!1&&!s.snapshot&&Ch(this.members,s)}a.scheduleRender()}remove(a){if(Ch(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(a){const i=this.members.findIndex(u=>a===u);if(i===0)return!1;let s;for(let u=i;u>=0;u--){const f=this.members[u],d=f.instance;if(f.isPresent!==!1&&(!d||d.isConnected!==!1)){s=f;break}}return s?(this.promote(s),!0):!1}promote(a,i){const s=this.lead;if(a!==s&&(this.prevLead=s,this.lead=a,a.show(),s)){s.instance&&s.scheduleRender(),a.scheduleRender();const u=s.options.layoutDependency,f=a.options.layoutDependency;if(!(u!==void 0&&f!==void 0&&u===f)){const b=s.instance;b&&b.isConnected===!1&&!s.snapshot||(a.resumeFrom=s,i&&(a.resumeFrom.preserveOpacity=!0),s.snapshot&&(a.snapshot=s.snapshot,a.snapshot.latestValues=s.animationValues||s.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0))}const{crossfade:h}=a.options;h===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:i,resumingFrom:s}=a;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Eh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Qg=["","X","Y","Z"],kV=1e3;let NV=0;function Zg(n,a,i,s){const{latestValues:u}=a;u[n]&&(i[n]=u[n],a.setStaticValue(n,0),s&&(s[n]=0))}function oC(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:a}=n.options;if(!a)return;const i=kA(a);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(i,"transform",Dt,!(u||f))}const{parent:s}=n;s&&!s.hasCheckedOptimisedAppear&&oC(s)}function sC({attachResizeListener:n,defaultParent:a,measureScroll:i,checkIsScrollRoot:s,resetTransform:u}){return class{constructor(d={},h=a?.()){this.id=NV++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(RV),this.nodes.forEach(_V),this.nodes.forEach(UV),this.nodes.forEach(zV)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let b=0;b<this.path.length;b++)this.path[b].shouldResetTransform=!0;this.root===this&&(this.nodes=new EV)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new b0),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const b=this.eventHandlers.get(d);b&&b.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=L0(d)&&!Cj(d),this.instance=d;const{layoutId:h,layout:b,visualElement:y}=this.options;if(y&&!y.current&&y.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(b||h)&&(this.isLayoutDirty=!0),n){let p,v=0;const x=()=>this.root.updateBlockedByResize=!1;Dt.read(()=>{v=window.innerWidth}),n(d,()=>{const S=window.innerWidth;S!==v&&(v=S,this.root.updateBlockedByResize=!0,p&&p(),p=TV(x,250),Eh.hasAnimatedSinceResize&&(Eh.hasAnimatedSinceResize=!1,this.nodes.forEach(ok)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&y&&(h||b)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||y.getDefaultTransition()||HV,{onLayoutAnimationStart:V,onLayoutAnimationComplete:R}=y.getProps(),_=!this.targetLayout||!rC(this.targetLayout,S),Q=!v&&x;if(this.options.layoutRoot||this.resumeFrom||Q||v&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...z0(N,"layout"),onPlay:V,onComplete:R};(y.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(p,Q)}else v||ok(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),lo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(jV),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&oC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const v=this.path[p];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:b}=this.options;if(h===void 0&&!b)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ak);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ik);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(MV),this.nodes.forEach(AV),this.nodes.forEach(CV)):this.nodes.forEach(ik),this.clearAllSnapshots();const h=Ln.now();yn.delta=Va(0,1e3/60,h-yn.timestamp),yn.timestamp=h,yn.isProcessing=!0,Pg.update.process(yn),Pg.preRender.process(yn),Pg.render.process(yn),yn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,j0.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(OV),this.sharedNodes.forEach(VV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Dt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Dt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Bn(this.snapshot.measuredBox.x)&&!Bn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let b=0;b<this.path.length;b++)this.path[b].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=rn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const b=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:b,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:b}}}resetTransform(){if(!u)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!nC(this.projectionDelta),b=this.getTransformTemplate(),y=b?b(this.latestValues,""):void 0,p=y!==this.prevTransformTemplateValue;d&&this.instance&&(h||es(this.latestValues)||p)&&(u(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let b=this.removeElementScroll(h);return d&&(b=this.removeTransform(b)),PV(b),{animationId:this.root.animationId,measuredBox:h,layoutBox:b,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return rn();const h=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(qV))){const{scroll:y}=this.root;y&&(vl(h.x,y.offset.x),vl(h.y,y.offset.y))}return h}removeElementScroll(d){const h=rn();if(Wr(h,d),this.scroll?.wasRoot)return h;for(let b=0;b<this.path.length;b++){const y=this.path[b],{scroll:p,options:v}=y;y!==this.root&&p&&v.layoutScroll&&(p.wasRoot&&Wr(h,d),vl(h.x,p.offset.x),vl(h.y,p.offset.y))}return h}applyTransform(d,h=!1){const b=rn();Wr(b,d);for(let y=0;y<this.path.length;y++){const p=this.path[y];!h&&p.options.layoutScroll&&p.scroll&&p!==p.root&&xl(b,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),es(p.latestValues)&&xl(b,p.latestValues)}return es(this.latestValues)&&xl(b,this.latestValues),b}removeTransform(d){const h=rn();Wr(h,d);for(let b=0;b<this.path.length;b++){const y=this.path[b];if(!y.instance||!es(y.latestValues))continue;Fb(y.latestValues)&&y.updateSnapshot();const p=rn(),v=y.measurePageBox();Wr(p,v),QD(h,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,p)}return es(this.latestValues)&&QD(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==yn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const b=!!this.resumingFrom||this!==h;if(!(d||b&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:v}=this.options;if(!this.layout||!(p||v))return;this.resolvedRelativeTargetAt=yn.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=rn(),this.targetWithTransforms=rn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),fV(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Wr(this.target,this.layout.layoutBox),FA(this.target,this.targetDelta)):Wr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Fb(this.parent.latestValues)||IA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,b){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rn(),this.relativeTargetOrigin=rn(),Uh(this.relativeTargetOrigin,h,b),Wr(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const d=this.getLead(),h=!!this.resumingFrom||this!==d;let b=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(b=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(b=!1),this.resolvedRelativeTargetAt===yn.timestamp&&(b=!1),b)return;const{layout:y,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||p))return;Wr(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;Hj(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=rn());const{target:S}=d;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ID(this.prevProjectionDelta.x,this.projectionDelta.x),ID(this.prevProjectionDelta.y,this.projectionDelta.y)),vc(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!ek(this.projectionDelta.x,this.prevProjectionDelta.x)||!ek(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=bl(),this.projectionDelta=bl(),this.projectionDeltaWithTransform=bl()}setAnimationOrigin(d,h=!1){const b=this.snapshot,y=b?b.latestValues:{},p={...this.latestValues},v=bl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=rn(),S=b?b.source:void 0,N=this.layout?this.layout.source:void 0,V=S!==N,R=this.getStack(),_=!R||R.members.length<=1,Q=!!(V&&!_&&this.options.crossfade===!0&&!this.path.some(BV));this.animationProgress=0;let I;this.mixTargetDelta=ie=>{const re=ie/1e3;sk(v.x,d.x,re),sk(v.y,d.y,re),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Uh(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),LV(this.relativeTarget,this.relativeTargetOrigin,x,re),I&&pV(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=rn()),Wr(I,this.relativeTarget)),V&&(this.animationValues=p,bV(p,y,this.latestValues,re,Q,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=re},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(lo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Dt.update(()=>{Eh.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Tl(0)),this.currentAnimation=SV(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),d.onUpdate&&d.onUpdate(h)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(kV),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:b,layout:y,latestValues:p}=d;if(!(!h||!b||!y)){if(this!==d&&this.layout&&y&&lC(this.options.animationType,this.layout.layoutBox,y.layoutBox)){b=this.target||rn();const v=Bn(this.layout.layoutBox.x);b.x.min=d.target.x.min,b.x.max=b.x.min+v;const x=Bn(this.layout.layoutBox.y);b.y.min=d.target.y.min,b.y.max=b.y.min+x}Wr(h,b),xl(h,p),vc(this.projectionDeltaWithTransform,this.layoutCorrected,h,p)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new DV),this.sharedNodes.get(d).add(h);const y=h.options.initialPromotionConfig;h.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:b}={}){const y=this.getStack();y&&y.promote(this,b),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:b}=d;if((b.z||b.rotate||b.rotateX||b.rotateY||b.rotateZ||b.skewX||b.skewY)&&(h=!0),!h)return;const y={};b.z&&Zg("z",d,y,this.animationValues);for(let p=0;p<Qg.length;p++)Zg(`rotate${Qg[p]}`,d,y,this.animationValues),Zg(`skew${Qg[p]}`,d,y,this.animationValues);d.render();for(const p in y)d.setStaticValue(p,y[p]),this.animationValues&&(this.animationValues[p]=y[p]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const b=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=wh(h?.pointerEvents)||"",d.transform=b?b(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=wh(h?.pointerEvents)||""),this.hasProjected&&!es(this.latestValues)&&(d.transform=b?b({},""):"none",this.hasProjected=!1);return}d.visibility="";const p=y.animationValues||y.latestValues;this.applyTransformsToTarget();let v=yV(this.projectionDeltaWithTransform,this.treeScale,p);b&&(v=b(p,v)),d.transform=v;const{x,y:S}=this.projectionDelta;d.transformOrigin=`${x.origin*100}% ${S.origin*100}% 0`,y.animationValues?d.opacity=y===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:d.opacity=y===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const N in Gb){if(p[N]===void 0)continue;const{correct:V,applyTo:R,isCSSVariable:_}=Gb[N],Q=v==="none"?p[N]:V(p[N],y);if(R){const I=R.length;for(let ie=0;ie<I;ie++)d[R[ie]]=Q}else _?this.options.visualElement.renderState.vars[N]=Q:d[N]=Q}this.options.layoutId&&(d.pointerEvents=y===this?wh(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(ak),this.root.sharedNodes.clear()}}}function AV(n){n.updateLayout()}function CV(n){const a=n.resumeFrom?.snapshot||n.snapshot;if(n.isLead()&&n.layout&&a&&n.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=n.layout,{animationType:u}=n.options,f=a.source!==n.layout.source;u==="size"?Oa(p=>{const v=f?a.measuredBox[p]:a.layoutBox[p],x=Bn(v);v.min=i[p].min,v.max=v.min+x}):lC(u,a.layoutBox,i)&&Oa(p=>{const v=f?a.measuredBox[p]:a.layoutBox[p],x=Bn(i[p]);v.max=v.min+x,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[p].max=n.relativeTarget[p].min+x)});const d=bl();vc(d,i,a.layoutBox);const h=bl();f?vc(h,n.applyTransform(s,!0),a.measuredBox):vc(h,i,a.layoutBox);const b=!nC(d);let y=!1;if(!n.resumeFrom){const p=n.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:v,layout:x}=p;if(v&&x){const S=rn();Uh(S,a.layoutBox,v.layoutBox);const N=rn();Uh(N,i,x.layoutBox),rC(S,N)||(y=!0),p.options.layoutRoot&&(n.relativeTarget=N,n.relativeTargetOrigin=S,n.relativeParent=p)}}}n.notifyListeners("didUpdate",{layout:i,snapshot:a,delta:h,layoutDelta:d,hasLayoutChanged:b,hasRelativeLayoutChanged:y})}else if(n.isLead()){const{onExitComplete:i}=n.options;i&&i()}n.options.transition=void 0}function RV(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function zV(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function OV(n){n.clearSnapshot()}function ak(n){n.clearMeasurements()}function ik(n){n.isLayoutDirty=!1}function MV(n){const{visualElement:a}=n.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),n.resetTransform()}function ok(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function _V(n){n.resolveTargetDelta()}function UV(n){n.calcProjection()}function jV(n){n.resetSkewAndRotation()}function VV(n){n.removeLeadSnapshot()}function sk(n,a,i){n.translate=_t(a.translate,0,i),n.scale=_t(a.scale,1,i),n.origin=a.origin,n.originPoint=a.originPoint}function lk(n,a,i,s){n.min=_t(a.min,i.min,s),n.max=_t(a.max,i.max,s)}function LV(n,a,i,s){lk(n.x,a.x,i.x,s),lk(n.y,a.y,i.y,s)}function BV(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const HV={duration:.45,ease:[.4,0,.1,1]},uk=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),ck=uk("applewebkit/")&&!uk("chrome/")?Math.round:Lr;function fk(n){n.min=ck(n.min),n.max=ck(n.max)}function PV(n){fk(n.x),fk(n.y)}function lC(n,a,i){return n==="position"||n==="preserve-aspect"&&!cV(WD(a),WD(i),.2)}function qV(n){return n!==n.root&&n.scroll?.wasRoot}const IV=sC({attachResizeListener:(n,a)=>Ac(n,"resize",a),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Jg={current:void 0},uC=sC({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Jg.current){const n=new IV({});n.mount(window),n.setOptions({layoutScroll:!0}),Jg.current=n}return Jg.current},resetTransform:(n,a)=>{n.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),I0=me.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function dk(n,a){if(typeof n=="function")return n(a);n!=null&&(n.current=a)}function FV(...n){return a=>{let i=!1;const s=n.map(u=>{const f=dk(u,a);return!i&&typeof f=="function"&&(i=!0),f});if(i)return()=>{for(let u=0;u<s.length;u++){const f=s[u];typeof f=="function"?f():dk(n[u],null)}}}}function YV(...n){return me.useCallback(FV(...n),n)}class GV extends me.Component{getSnapshotBeforeUpdate(a){const i=this.props.childRef.current;if(i&&a.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,u=qb(s)&&s.offsetWidth||0,f=qb(s)&&s.offsetHeight||0,d=this.props.sizeRef.current;d.height=i.offsetHeight||0,d.width=i.offsetWidth||0,d.top=i.offsetTop,d.left=i.offsetLeft,d.right=u-d.width-d.left,d.bottom=f-d.height-d.top}return null}componentDidUpdate(){}render(){return this.props.children}}function $V({children:n,isPresent:a,anchorX:i,anchorY:s,root:u,pop:f}){const d=me.useId(),h=me.useRef(null),b=me.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:y}=me.useContext(I0),p=n.props?.ref??n?.ref,v=YV(h,p);return me.useInsertionEffect(()=>{const{width:x,height:S,top:N,left:V,right:R,bottom:_}=b.current;if(a||f===!1||!h.current||!x||!S)return;const Q=i==="left"?`left: ${V}`:`right: ${R}`,I=s==="bottom"?`bottom: ${_}`:`top: ${N}`;h.current.dataset.motionPopId=d;const ie=document.createElement("style");y&&(ie.nonce=y);const re=u??document.head;return re.appendChild(ie),ie.sheet&&ie.sheet.insertRule(`
241
241
  [data-motion-pop-id="${d}"] {
242
242
  position: absolute !important;
243
243
  width: ${x}px !important;
@@ -245,24 +245,24 @@ React keys must be passed directly to JSX without using spread:
245
245
  ${Q}px !important;
246
246
  ${I}px !important;
247
247
  }
248
- `),()=>{re.contains(ie)&&re.removeChild(ie)}},[a]),Vr.jsx(YV,{isPresent:a,childRef:h,sizeRef:b,pop:f,children:f===!1?n:me.cloneElement(n,{ref:v})})}const $V=({children:n,initial:a,isPresent:i,onExitComplete:s,custom:u,presenceAffectsLayout:f,mode:d,anchorX:h,anchorY:b,root:g})=>{const p=mv(XV),v=me.useId();let x=!0,S=me.useMemo(()=>(x=!1,{id:v,initial:a,isPresent:i,custom:u,onExitComplete:N=>{p.set(N,!0);for(const V of p.values())if(!V)return;s&&s()},register:N=>(p.set(N,!1),()=>p.delete(N))}),[i,p,s]);return f&&x&&(S={...S}),me.useMemo(()=>{p.forEach((N,V)=>p.set(V,!1))},[i]),me.useEffect(()=>{!i&&!p.size&&s&&s()},[i]),n=Vr.jsx(GV,{pop:d==="popLayout",isPresent:i,anchorX:h,anchorY:b,root:g,children:n}),Vr.jsx(Ph.Provider,{value:S,children:n})};function XV(){return new Map}function uC(n=!0){const a=me.useContext(Ph);if(a===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:u}=a,f=me.useId();me.useEffect(()=>{if(n)return u(f)},[n]);const d=me.useCallback(()=>n&&s&&s(f),[f,s,n]);return!i&&s?[!1,d]:[!0]}const sh=n=>n.key||"";function dw(n){const a=[];return me.Children.forEach(n,i=>{me.isValidElement(i)&&a.push(i)}),a}const so=({children:n,custom:a,initial:i=!0,onExitComplete:s,presenceAffectsLayout:u=!0,mode:f="sync",propagate:d=!1,anchorX:h="left",anchorY:b="top",root:g})=>{const[p,v]=uC(d),x=me.useMemo(()=>dw(n),[n]),S=d&&!p?[]:x.map(sh),N=me.useRef(!0),V=me.useRef(x),R=mv(()=>new Map),z=me.useRef(new Set),[Q,I]=me.useState(x),[ie,re]=me.useState(x);BN(()=>{N.current=!1,V.current=x;for(let se=0;se<ie.length;se++){const ce=sh(ie[se]);S.includes(ce)?(R.delete(ce),z.current.delete(ce)):R.get(ce)!==!0&&R.set(ce,!1)}},[ie,S.length,S.join("-")]);const G=[];if(x!==Q){let se=[...x];for(let ce=0;ce<ie.length;ce++){const F=ie[ce],he=sh(F);S.includes(he)||(se.splice(ce,0,F),G.push(F))}return f==="wait"&&G.length&&(se=G),re(dw(se)),I(x),null}f==="wait"&&ie.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:ye}=me.useContext(hv);return Vr.jsx(Vr.Fragment,{children:ie.map(se=>{const ce=sh(se),F=d&&!p?!1:x===ie||S.includes(ce),he=()=>{if(z.current.has(ce))return;if(z.current.add(ce),R.has(ce))R.set(ce,!0);else return;let oe=!0;R.forEach(X=>{X||(oe=!1)}),oe&&(ye?.(),re(V.current),d&&v?.(),s&&s())};return Vr.jsx($V,{isPresent:F,initial:!N.current||i?void 0:!1,custom:a,presenceAffectsLayout:u,mode:f,root:g,onExitComplete:F?void 0:he,anchorX:h,anchorY:b,children:se},ce)})})},cC=me.createContext({strict:!1}),hw={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let mw=!1;function QV(){if(mw)return;const n={};for(const a in hw)n[a]={isEnabled:i=>hw[a].some(s=>!!i[s])};Bk(n),mw=!0}function fC(){return QV(),Uj()}function ZV(n){const a=fC();for(const i in n)a[i]={...a[i],...n[i]};Bk(a)}const JV=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function jh(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||JV.has(n)}let dC=n=>!jh(n);function KV(n){typeof n=="function"&&(dC=a=>a.startsWith("on")?!jh(a):n(a))}try{KV(require("@emotion/is-prop-valid").default)}catch{}function WV(n,a,i){const s={};for(const u in n)u==="values"&&typeof n.values=="object"||(dC(u)||i===!0&&jh(u)||!a&&!jh(u)||n.draggable&&u.startsWith("onDrag"))&&(s[u]=n[u]);return s}const Fh=me.createContext({});function e4(n,a){if(Ih(n)){const{initial:i,animate:s}=n;return{initial:i===!1||Nc(i)?i:void 0,animate:Nc(s)?s:void 0}}return n.inherit!==!1?a:{}}function t4(n){const{initial:a,animate:i}=e4(n,me.useContext(Fh));return me.useMemo(()=>({initial:a,animate:i}),[pw(a),pw(i)])}function pw(n){return Array.isArray(n)?n.join(" "):n}const Iv=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function hC(n,a,i){for(const s in a)!En(a[s])&&!Gk(s,i)&&(n[s]=a[s])}function n4({transformTemplate:n},a){return me.useMemo(()=>{const i=Iv();return Hv(i,a,n),Object.assign({},i.vars,i.style)},[a])}function r4(n,a){const i=n.style||{},s={};return hC(s,i,n),Object.assign(s,n4(n,a)),s}function a4(n,a){const i={},s=r4(n,a);return n.drag&&n.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(i.tabIndex=0),i.style=s,i}const mC=()=>({...Iv(),attrs:{}});function i4(n,a,i,s){const u=me.useMemo(()=>{const f=mC();return $k(f,a,Qk(s),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[a]);if(n.style){const f={};hC(f,n.style,n),u.style={...f,...u.style}}return u}const o4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Fv(n){return typeof n!="string"||n.includes("-")?!1:!!(o4.indexOf(n)>-1||/[A-Z]/u.test(n))}function s4(n,a,i,{latestValues:s},u,f=!1,d){const b=(d??Fv(n)?i4:a4)(a,s,u,n),g=WV(a,typeof n=="string",f),p=n!==me.Fragment?{...g,...b,ref:i}:{},{children:v}=a,x=me.useMemo(()=>En(v)?v.get():v,[v]);return me.createElement(n,{...p,children:x})}function l4({scrapeMotionValuesFromProps:n,createRenderState:a},i,s,u){return{latestValues:u4(i,s,u,n),renderState:a()}}function u4(n,a,i,s){const u={},f=s(n,{});for(const x in f)u[x]=Dh(f[x]);let{initial:d,animate:h}=n;const b=Ih(n),g=Vk(n);a&&g&&!b&&n.inherit!==!1&&(d===void 0&&(d=a.initial),h===void 0&&(h=a.animate));let p=i?i.initial===!1:!1;p=p||d===!1;const v=p?h:d;if(v&&typeof v!="boolean"&&!qh(v)){const x=Array.isArray(v)?v:[v];for(let S=0;S<x.length;S++){const N=Mv(n,x[S]);if(N){const{transitionEnd:V,transition:R,...z}=N;for(const Q in z){let I=z[Q];if(Array.isArray(I)){const ie=p?I.length-1:0;I=I[ie]}I!==null&&(u[Q]=I)}for(const Q in V)u[Q]=V[Q]}}}return u}const pC=n=>(a,i)=>{const s=me.useContext(Fh),u=me.useContext(Ph),f=()=>l4(n,a,s,u);return i?f():mv(f)},c4=pC({scrapeMotionValuesFromProps:Pv,createRenderState:Iv}),f4=pC({scrapeMotionValuesFromProps:Zk,createRenderState:mC}),d4=Symbol.for("motionComponentSymbol");function h4(n,a,i){const s=me.useRef(i);me.useInsertionEffect(()=>{s.current=i});const u=me.useRef(null);return me.useCallback(f=>{f&&n.onMount?.(f),a&&(f?a.mount(f):a.unmount());const d=s.current;if(typeof d=="function")if(f){const h=d(f);typeof h=="function"&&(u.current=h)}else u.current?(u.current(),u.current=null):d(f);else d&&(d.current=f)},[a])}const gC=me.createContext({});function ml(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function m4(n,a,i,s,u,f){const{visualElement:d}=me.useContext(Fh),h=me.useContext(cC),b=me.useContext(Ph),g=me.useContext(qv),p=g.reducedMotion,v=g.skipAnimations,x=me.useRef(null),S=me.useRef(!1);s=s||h.renderer,!x.current&&s&&(x.current=s(n,{visualState:a,parent:d,props:i,presenceContext:b,blockInitialAnimation:b?b.initial===!1:!1,reducedMotionConfig:p,skipAnimations:v,isSVG:f}),S.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const N=x.current,V=me.useContext(gC);N&&!N.projection&&u&&(N.type==="html"||N.type==="svg")&&p4(x.current,i,u,V);const R=me.useRef(!1);me.useInsertionEffect(()=>{N&&R.current&&N.update(i,b)});const z=i[Tk],Q=me.useRef(!!z&&!window.MotionHandoffIsComplete?.(z)&&window.MotionHasOptimisedAnimation?.(z));return BN(()=>{S.current=!0,N&&(R.current=!0,window.MotionIsMounted=!0,N.updateFeatures(),N.scheduleRenderMicrotask(),Q.current&&N.animationState&&N.animationState.animateChanges())}),me.useEffect(()=>{N&&(!Q.current&&N.animationState&&N.animationState.animateChanges(),Q.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(z)}),Q.current=!1),N.enteringChildren=void 0)}),N}function p4(n,a,i,s){const{layoutId:u,layout:f,drag:d,dragConstraints:h,layoutScroll:b,layoutRoot:g,layoutCrossfade:p}=a;n.projection=new i(n.latestValues,a["data-framer-portal-id"]?void 0:yC(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!d||h&&ml(h),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:s,crossfade:p,layoutScroll:b,layoutRoot:g})}function yC(n){if(n)return n.options.allowProjection!==!1?n.projection:yC(n.parent)}function Ky(n,{forwardMotionProps:a=!1,type:i}={},s,u){s&&ZV(s);const f=i?i==="svg":Fv(n),d=f?f4:c4;function h(g,p){let v;const x={...me.useContext(qv),...g,layoutId:g4(g)},{isStatic:S}=x,N=t4(g),V=d(g,S);if(!S&&LN){y4(x,s);const R=b4(x);v=R.MeasureLayout,N.visualElement=m4(n,V,x,u,R.ProjectionNode,f)}return Vr.jsxs(Fh.Provider,{value:N,children:[v&&N.visualElement?Vr.jsx(v,{visualElement:N.visualElement,...x}):null,s4(n,g,h4(V,N.visualElement,p),V,S,a,f)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const b=me.forwardRef(h);return b[d4]=n,b}function g4({layoutId:n}){const a=me.useContext(hv).id;return a&&n!==void 0?a+"-"+n:n}function y4(n,a){const i=me.useContext(cC).strict;if(a&&i){const s="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?wl(!1,s,"lazy-strict-mode"):mi(!1,s,"lazy-strict-mode")}}function b4(n){const a=fC(),{drag:i,layout:s}=a;if(!i&&!s)return{};const u={...i,...s};return{MeasureLayout:i?.isEnabled(n)||s?.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}function v4(n,a){if(typeof Proxy>"u")return Ky;const i=new Map,s=(f,d)=>Ky(f,d,n,a),u=(f,d)=>(bv(!1,"motion() is deprecated. Use motion.create() instead."),s(f,d));return new Proxy(u,{get:(f,d)=>d==="create"?s:(i.has(d)||i.set(d,Ky(d,void 0,n,a)),i.get(d))})}const x4=(n,a)=>a.isSVG??Fv(n)?new Kj(a):new Gj(a,{allowProjection:n!==me.Fragment});class S4 extends co{constructor(a){super(a),a.animationState||(a.animationState=rV(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();qh(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:i}=this.node.prevProps||{};a!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let D4=0;class E4 extends co{constructor(){super(...arguments),this.id=D4++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===s)return;const u=this.node.animationState.setActive("exit",!a);i&&!a&&u.then(()=>{i(this.id)})}mount(){const{register:a,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const T4={animation:{Feature:S4},exit:{Feature:E4}};function Uc(n){return{point:{x:n.pageX,y:n.pageY}}}const A4=n=>a=>jv(a)&&n(a,Uc(a));function xc(n,a,i,s){return kc(n,a,A4(i),s)}const bC=({current:n})=>n?n.ownerDocument.defaultView:null,gw=(n,a)=>Math.abs(n-a);function w4(n,a){const i=gw(n.x,a.x),s=gw(n.y,a.y);return Math.sqrt(i**2+s**2)}const yw=new Set(["auto","scroll"]);class vC{constructor(a,i,{transformPagePoint:s,contextWindow:u=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=eb(this.lastMoveEventInfo,this.history),N=this.startEvent!==null,V=w4(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!N&&!V)return;const{point:R}=S,{timestamp:z}=gn;this.history.push({...R,timestamp:z});const{onStart:Q,onMove:I}=this.handlers;N||(Q&&Q(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,S)},this.handlePointerMove=(S,N)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=Wy(N,this.transformPagePoint),At.update(this.updatePoint,!0)},this.handlePointerUp=(S,N)=>{this.end();const{onEnd:V,onSessionEnd:R,resumeAnimation:z}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&z&&z(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const Q=eb(S.type==="pointercancel"?this.lastMoveEventInfo:Wy(N,this.transformPagePoint),this.history);this.startEvent&&V&&V(S,Q),R&&R(S,Q)},!jv(a))return;this.dragSnapToOrigin=f,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=d,this.contextWindow=u||window;const b=Uc(a),g=Wy(b,this.transformPagePoint),{point:p}=g,{timestamp:v}=gn;this.history=[{...p,timestamp:v}];const{onSessionStart:x}=i;x&&x(a,eb(g,this.history)),this.removeListeners=Mc(xc(this.contextWindow,"pointermove",this.handlePointerMove),xc(this.contextWindow,"pointerup",this.handlePointerUp),xc(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(a){let i=a.parentElement;for(;i;){const s=getComputedStyle(i);(yw.has(s.overflowX)||yw.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const i=this.scrollPositions.get(a);if(!i)return;const s=a===window,u=s?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},f={x:u.x-i.x,y:u.y-i.y};f.x===0&&f.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(a,u),At.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),lo(this.updatePoint)}}function Wy(n,a){return a?{point:a(n.point)}:n}function bw(n,a){return{x:n.x-a.x,y:n.y-a.y}}function eb({point:n},a){return{point:n,delta:bw(n,xC(a)),offset:bw(n,N4(a)),velocity:k4(a,.1)}}function N4(n){return n[0]}function xC(n){return n[n.length-1]}function k4(n,a){if(n.length<2)return{x:0,y:0};let i=n.length-1,s=null;const u=xC(n);for(;i>=0&&(s=n[i],!(u.timestamp-s.timestamp>Br(a)));)i--;if(!s)return{x:0,y:0};s===n[0]&&n.length>2&&u.timestamp-s.timestamp>Br(a)*2&&(s=n[1]);const f=jr(u.timestamp-s.timestamp);if(f===0)return{x:0,y:0};const d={x:(u.x-s.x)/f,y:(u.y-s.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function C4(n,{min:a,max:i},s){return a!==void 0&&n<a?n=s?zt(a,n,s.min):Math.max(n,a):i!==void 0&&n>i&&(n=s?zt(i,n,s.max):Math.min(n,i)),n}function vw(n,a,i){return{min:a!==void 0?n.min+a:void 0,max:i!==void 0?n.max+i-(n.max-n.min):void 0}}function R4(n,{top:a,left:i,bottom:s,right:u}){return{x:vw(n.x,i,u),y:vw(n.y,a,s)}}function xw(n,a){let i=a.min-n.min,s=a.max-n.max;return a.max-a.min<n.max-n.min&&([i,s]=[s,i]),{min:i,max:s}}function O4(n,a){return{x:xw(n.x,a.x),y:xw(n.y,a.y)}}function M4(n,a){let i=.5;const s=Bn(n),u=Bn(a);return u>s?i=Tc(a.min,a.max-s,n.min):s>u&&(i=Tc(n.min,n.max-u,a.min)),Va(0,1,i)}function _4(n,a){const i={};return a.min!==void 0&&(i.min=a.min-n.min),a.max!==void 0&&(i.max=a.max-n.min),i}const Gb=.35;function z4(n=Gb){return n===!1?n=0:n===!0&&(n=Gb),{x:Sw(n,"left","right"),y:Sw(n,"top","bottom")}}function Sw(n,a,i){return{min:Dw(n,a),max:Dw(n,i)}}function Dw(n,a){return typeof n=="number"?n:n[a]||0}const U4=new WeakMap;class j4{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const f=v=>{i&&this.snapToCursor(Uc(v).point),this.stopAnimation()},d=(v,x)=>{const{drag:S,dragPropagation:N,onDragStart:V}=this.getProps();if(S&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=fj(S),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ma(z=>{let Q=this.getAxisMotionValue(z).get()||0;if(ja.test(Q)){const{projection:I}=this.visualElement;if(I&&I.layout){const ie=I.layout.layoutBox[z];ie&&(Q=Bn(ie)*(parseFloat(Q)/100))}}this.originPoint[z]=Q}),V&&At.update(()=>V(v,x),!1,!0),Lb(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},h=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:S,dragDirectionLock:N,onDirectionLock:V,onDrag:R}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:z}=x;if(N&&this.currentDirection===null){this.currentDirection=L4(z),this.currentDirection!==null&&V&&V(this.currentDirection);return}this.updateAxis("x",x.point,z),this.updateAxis("y",x.point,z),this.visualElement.render(),R&&At.update(()=>R(v,x),!1,!0)},b=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:p}=this.getProps();this.panSession=new vC(a,{onSessionStart:f,onStart:d,onMove:h,onSessionEnd:b,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:s,contextWindow:bC(this.visualElement),element:this.visualElement.current})}stop(a,i){const s=a||this.latestPointerEvent,u=i||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!u||!s)return;const{velocity:d}=u;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&At.postRender(()=>h(s,u))}cancel(){this.isDragging=!1;const{projection:a,animationState:i}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,i,s){const{drag:u}=this.getProps();if(!s||!lh(a,u,this.currentDirection))return;const f=this.getAxisMotionValue(a);let d=this.originPoint[a]+s[a];this.constraints&&this.constraints[a]&&(d=C4(d,this.constraints[a],this.elastic[a])),f.set(d)}resolveConstraints(){const{dragConstraints:a,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,u=this.constraints;a&&ml(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&s?this.constraints=R4(s.layoutBox,a):this.constraints=!1,this.elastic=z4(i),u!==this.constraints&&!ml(a)&&s&&this.constraints&&!this.hasMutatedConstraints&&Ma(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=_4(s.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:i}=this.getProps();if(!a||!ml(a))return!1;const s=a.current;mi(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=Hj(s,u.root,this.visualElement.getTransformPagePoint());let d=O4(u.layout.layoutBox,f);if(i){const h=i(Vj(d));this.hasMutatedConstraints=!!h,h&&(d=Pk(h))}return d}startAnimation(a){const{drag:i,dragMomentum:s,dragElastic:u,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),b=this.constraints||{},g=Ma(p=>{if(!lh(p,i,this.currentDirection))return;let v=b&&b[p]||{};d&&(v={min:0,max:0});const x=u?200:1e6,S=u?40:1e7,N={type:"inertia",velocity:s?a[p]:0,bounceStiffness:x,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...f,...v};return this.startAxisValueAnimation(p,N)});return Promise.all(g).then(h)}startAxisValueAnimation(a,i){const s=this.getAxisMotionValue(a);return Lb(this.visualElement,a),s.start(Ov(a,s,0,i,this.visualElement,!1))}stopAnimation(){Ma(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){const i=`_drag${a.toUpperCase()}`,s=this.visualElement.getProps(),u=s[i];return u||this.visualElement.getValue(a,(s.initial?s.initial[a]:void 0)||0)}snapToCursor(a){Ma(i=>{const{drag:s}=this.getProps();if(!lh(i,s,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(i);if(u&&u.layout){const{min:d,max:h}=u.layout.layoutBox[i],b=f.get()||0;f.set(a[i]-zt(d,h,.5)+b)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!ml(i)||!s||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Ma(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const b=h.get();u[d]=M4({min:b,max:b},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ma(d=>{if(!lh(d,a,null))return;const h=this.getAxisMotionValue(d),{min:b,max:g}=this.constraints[d];h.set(zt(b,g,u[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;U4.set(this.visualElement,this);const a=this.visualElement.current,i=xc(a,"pointerdown",g=>{const{drag:p,dragListener:v=!0}=this.getProps(),x=g.target,S=x!==a&&yj(x);p&&v&&!S&&this.start(g)});let s;const u=()=>{const{dragConstraints:g}=this.getProps();ml(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),s||(s=V4(a,g.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,d=f.addEventListener("measure",u);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),At.read(u);const h=kc(window,"resize",()=>this.scalePositionWithinConstraints()),b=f.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:p})=>{this.isDragging&&p&&(Ma(v=>{const x=this.getAxisMotionValue(v);x&&(this.originPoint[v]+=g[v].translate,x.set(x.get()+g[v].translate))}),this.visualElement.render())}));return()=>{h(),i(),d(),b&&b(),s&&s()}}getProps(){const a=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:d=Gb,dragMomentum:h=!0}=a;return{...a,drag:i,dragDirectionLock:s,dragPropagation:u,dragConstraints:f,dragElastic:d,dragMomentum:h}}}function Ew(n){let a=!0;return()=>{if(a){a=!1;return}n()}}function V4(n,a,i){const s=RA(n,Ew(i)),u=RA(a,Ew(i));return()=>{s(),u()}}function lh(n,a,i){return(a===!0||a===n)&&(i===null||i===n)}function L4(n,a=10){let i=null;return Math.abs(n.y)>a?i="y":Math.abs(n.x)>a&&(i="x"),i}class B4 extends co{constructor(a){super(a),this.removeGroupControls=Lr,this.removeListeners=Lr,this.controls=new j4(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lr}update(){const{dragControls:a}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};a!==i&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const tb=n=>(a,i)=>{n&&At.update(()=>n(a,i),!1,!0)};class H4 extends co{constructor(){super(...arguments),this.removePointerDownListener=Lr}onPointerDown(a){this.session=new vC(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bC(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:i,onPan:s,onPanEnd:u}=this.node.getProps();return{onSessionStart:tb(a),onStart:tb(i),onMove:tb(s),onEnd:(f,d)=>{delete this.session,u&&At.postRender(()=>u(f,d))}}}mount(){this.removePointerDownListener=xc(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let nb=!1;class P4 extends me.Component{componentDidMount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:s,layoutId:u}=this.props,{projection:f}=a;f&&(i.group&&i.group.add(f),s&&s.register&&u&&s.register(f),nb&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Eh.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:i,visualElement:s,drag:u,isPresent:f}=this.props,{projection:d}=s;return d&&(d.isPresent=f,a.layoutDependency!==i&&d.setOptions({...d.options,layoutDependency:i}),nb=!0,u||a.layoutDependency!==i||i===void 0||a.isPresent!==f?d.willUpdate():this.safeToRemove(),a.isPresent!==f&&(f?d.promote():d.relegate()||At.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),Uv.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:u}=a;nb=!0,u&&(u.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(u),s&&s.deregister&&s.deregister(u))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function SC(n){const[a,i]=uC(),s=me.useContext(hv);return Vr.jsx(P4,{...n,layoutGroup:s,switchLayoutGroup:me.useContext(gC),isPresent:a,safeToRemove:i})}const q4={pan:{Feature:H4},drag:{Feature:B4,ProjectionNode:lC,MeasureLayout:SC}};function Tw(n,a,i){const{props:s}=n;n.animationState&&s.whileHover&&n.animationState.setActive("whileHover",i==="Start");const u="onHover"+i,f=s[u];f&&At.postRender(()=>f(a,Uc(a)))}class I4 extends co{mount(){const{current:a}=this.node;a&&(this.unmount=hj(a,(i,s)=>(Tw(this.node,s,"Start"),u=>Tw(this.node,u,"End"))))}unmount(){}}class F4 extends co{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Mc(kc(this.node.current,"focus",()=>this.onFocus()),kc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Aw(n,a,i){const{props:s}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&s.whileTap&&n.animationState.setActive("whileTap",i==="Start");const u="onTap"+(i==="End"?"":i),f=s[u];f&&At.postRender(()=>f(a,Uc(a)))}class Y4 extends co{mount(){const{current:a}=this.node;if(!a)return;const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=vj(a,(u,f)=>(Aw(this.node,f,"Start"),(d,{success:h})=>Aw(this.node,d,h?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:s?.tap===!1})}unmount(){}}const $b=new WeakMap,rb=new WeakMap,G4=n=>{const a=$b.get(n.target);a&&a(n)},$4=n=>{n.forEach(G4)};function X4({root:n,...a}){const i=n||document;rb.has(i)||rb.set(i,{});const s=rb.get(i),u=JSON.stringify(a);return s[u]||(s[u]=new IntersectionObserver($4,{root:n,...a})),s[u]}function Q4(n,a,i){const s=X4(a);return $b.set(n,i),s.observe(n),()=>{$b.delete(n),s.unobserve(n)}}const Z4={some:0,all:1};class J4 extends co{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:i,margin:s,amount:u="some",once:f}=a,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof u=="number"?u:Z4[u]},h=b=>{const{isIntersecting:g}=b;if(this.isInView===g||(this.isInView=g,f&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:p,onViewportLeave:v}=this.node.getProps(),x=g?p:v;x&&x(b)};return Q4(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:i}=this.node;["amount","margin","root"].some(K4(a,i))&&this.startObserver()}unmount(){}}function K4({viewport:n={}},{viewport:a={}}={}){return i=>n[i]!==a[i]}const W4={inView:{Feature:J4},tap:{Feature:Y4},focus:{Feature:F4},hover:{Feature:I4}},e5={layout:{ProjectionNode:lC,MeasureLayout:SC}},t5={...T4,...W4,...q4,...e5},Tn=v4(t5,x4);function DC(n,a){return function(){return n.apply(a,arguments)}}const{toString:n5}=Object.prototype,{getPrototypeOf:Yv}=Object,{iterator:Yh,toStringTag:EC}=Symbol,Gh=(n=>a=>{const i=n5.call(a);return n[i]||(n[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),na=n=>(n=n.toLowerCase(),a=>Gh(a)===n),$h=n=>a=>typeof a===n,{isArray:Rl}=Array,Al=$h("undefined");function jc(n){return n!==null&&!Al(n)&&n.constructor!==null&&!Al(n.constructor)&&Xn(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const TC=na("ArrayBuffer");function r5(n){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(n):a=n&&n.buffer&&TC(n.buffer),a}const a5=$h("string"),Xn=$h("function"),AC=$h("number"),Vc=n=>n!==null&&typeof n=="object",i5=n=>n===!0||n===!1,Th=n=>{if(Gh(n)!=="object")return!1;const a=Yv(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(EC in n)&&!(Yh in n)},o5=n=>{if(!Vc(n)||jc(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},s5=na("Date"),l5=na("File"),u5=na("Blob"),c5=na("FileList"),f5=n=>Vc(n)&&Xn(n.pipe),d5=n=>{let a;return n&&(typeof FormData=="function"&&n instanceof FormData||Xn(n.append)&&((a=Gh(n))==="formdata"||a==="object"&&Xn(n.toString)&&n.toString()==="[object FormData]"))},h5=na("URLSearchParams"),[m5,p5,g5,y5]=["ReadableStream","Request","Response","Headers"].map(na),b5=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lc(n,a,{allOwnKeys:i=!1}={}){if(n===null||typeof n>"u")return;let s,u;if(typeof n!="object"&&(n=[n]),Rl(n))for(s=0,u=n.length;s<u;s++)a.call(null,n[s],s,n);else{if(jc(n))return;const f=i?Object.getOwnPropertyNames(n):Object.keys(n),d=f.length;let h;for(s=0;s<d;s++)h=f[s],a.call(null,n[h],h,n)}}function wC(n,a){if(jc(n))return null;a=a.toLowerCase();const i=Object.keys(n);let s=i.length,u;for(;s-- >0;)if(u=i[s],a===u.toLowerCase())return u;return null}const rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,NC=n=>!Al(n)&&n!==rs;function Xb(){const{caseless:n,skipUndefined:a}=NC(this)&&this||{},i={},s=(u,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const d=n&&wC(i,f)||f;Th(i[d])&&Th(u)?i[d]=Xb(i[d],u):Th(u)?i[d]=Xb({},u):Rl(u)?i[d]=u.slice():(!a||!Al(u))&&(i[d]=u)};for(let u=0,f=arguments.length;u<f;u++)arguments[u]&&Lc(arguments[u],s);return i}const v5=(n,a,i,{allOwnKeys:s}={})=>(Lc(a,(u,f)=>{i&&Xn(u)?Object.defineProperty(n,f,{value:DC(u,i),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,f,{value:u,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),n),x5=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),S5=(n,a,i,s)=>{n.prototype=Object.create(a.prototype,s),Object.defineProperty(n.prototype,"constructor",{value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{value:a.prototype}),i&&Object.assign(n.prototype,i)},D5=(n,a,i,s)=>{let u,f,d;const h={};if(a=a||{},n==null)return a;do{for(u=Object.getOwnPropertyNames(n),f=u.length;f-- >0;)d=u[f],(!s||s(d,n,a))&&!h[d]&&(a[d]=n[d],h[d]=!0);n=i!==!1&&Yv(n)}while(n&&(!i||i(n,a))&&n!==Object.prototype);return a},E5=(n,a,i)=>{n=String(n),(i===void 0||i>n.length)&&(i=n.length),i-=a.length;const s=n.indexOf(a,i);return s!==-1&&s===i},T5=n=>{if(!n)return null;if(Rl(n))return n;let a=n.length;if(!AC(a))return null;const i=new Array(a);for(;a-- >0;)i[a]=n[a];return i},A5=(n=>a=>n&&a instanceof n)(typeof Uint8Array<"u"&&Yv(Uint8Array)),w5=(n,a)=>{const s=(n&&n[Yh]).call(n);let u;for(;(u=s.next())&&!u.done;){const f=u.value;a.call(n,f[0],f[1])}},N5=(n,a)=>{let i;const s=[];for(;(i=n.exec(a))!==null;)s.push(i);return s},k5=na("HTMLFormElement"),C5=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,u){return s.toUpperCase()+u}),ww=(({hasOwnProperty:n})=>(a,i)=>n.call(a,i))(Object.prototype),R5=na("RegExp"),kC=(n,a)=>{const i=Object.getOwnPropertyDescriptors(n),s={};Lc(i,(u,f)=>{let d;(d=a(u,f,n))!==!1&&(s[f]=d||u)}),Object.defineProperties(n,s)},O5=n=>{kC(n,(a,i)=>{if(Xn(n)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const s=n[i];if(Xn(s)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},M5=(n,a)=>{const i={},s=u=>{u.forEach(f=>{i[f]=!0})};return Rl(n)?s(n):s(String(n).split(a)),i},_5=()=>{},z5=(n,a)=>n!=null&&Number.isFinite(n=+n)?n:a;function U5(n){return!!(n&&Xn(n.append)&&n[EC]==="FormData"&&n[Yh])}const j5=n=>{const a=new Array(10),i=(s,u)=>{if(Vc(s)){if(a.indexOf(s)>=0)return;if(jc(s))return s;if(!("toJSON"in s)){a[u]=s;const f=Rl(s)?[]:{};return Lc(s,(d,h)=>{const b=i(d,u+1);!Al(b)&&(f[h]=b)}),a[u]=void 0,f}}return s};return i(n,0)},V5=na("AsyncFunction"),L5=n=>n&&(Vc(n)||Xn(n))&&Xn(n.then)&&Xn(n.catch),CC=((n,a)=>n?setImmediate:a?((i,s)=>(rs.addEventListener("message",({source:u,data:f})=>{u===rs&&f===i&&s.length&&s.shift()()},!1),u=>{s.push(u),rs.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Xn(rs.postMessage)),B5=typeof queueMicrotask<"u"?queueMicrotask.bind(rs):typeof process<"u"&&process.nextTick||CC,H5=n=>n!=null&&Xn(n[Yh]),K={isArray:Rl,isArrayBuffer:TC,isBuffer:jc,isFormData:d5,isArrayBufferView:r5,isString:a5,isNumber:AC,isBoolean:i5,isObject:Vc,isPlainObject:Th,isEmptyObject:o5,isReadableStream:m5,isRequest:p5,isResponse:g5,isHeaders:y5,isUndefined:Al,isDate:s5,isFile:l5,isBlob:u5,isRegExp:R5,isFunction:Xn,isStream:f5,isURLSearchParams:h5,isTypedArray:A5,isFileList:c5,forEach:Lc,merge:Xb,extend:v5,trim:b5,stripBOM:x5,inherits:S5,toFlatObject:D5,kindOf:Gh,kindOfTest:na,endsWith:E5,toArray:T5,forEachEntry:w5,matchAll:N5,isHTMLForm:k5,hasOwnProperty:ww,hasOwnProp:ww,reduceDescriptors:kC,freezeMethods:O5,toObjectSet:M5,toCamelCase:C5,noop:_5,toFiniteNumber:z5,findKey:wC,global:rs,isContextDefined:NC,isSpecCompliantForm:U5,toJSONObject:j5,isAsyncFn:V5,isThenable:L5,setImmediate:CC,asap:B5,isIterable:H5};let He=class RC extends Error{static from(a,i,s,u,f,d){const h=new RC(a.message,i||a.code,s,u,f);return h.cause=a,h.name=a.name,d&&Object.assign(h,d),h}constructor(a,i,s,u,f){super(a),this.name="AxiosError",this.isAxiosError=!0,i&&(this.code=i),s&&(this.config=s),u&&(this.request=u),f&&(this.response=f,this.status=f.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}};He.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";He.ERR_BAD_OPTION="ERR_BAD_OPTION";He.ECONNABORTED="ECONNABORTED";He.ETIMEDOUT="ETIMEDOUT";He.ERR_NETWORK="ERR_NETWORK";He.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";He.ERR_DEPRECATED="ERR_DEPRECATED";He.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";He.ERR_BAD_REQUEST="ERR_BAD_REQUEST";He.ERR_CANCELED="ERR_CANCELED";He.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";He.ERR_INVALID_URL="ERR_INVALID_URL";const P5=null;function Qb(n){return K.isPlainObject(n)||K.isArray(n)}function OC(n){return K.endsWith(n,"[]")?n.slice(0,-2):n}function Nw(n,a,i){return n?n.concat(a).map(function(u,f){return u=OC(u),!i&&f?"["+u+"]":u}).join(i?".":""):a}function q5(n){return K.isArray(n)&&!n.some(Qb)}const I5=K.toFlatObject(K,{},null,function(a){return/^is[A-Z]/.test(a)});function Xh(n,a,i){if(!K.isObject(n))throw new TypeError("target must be an object");a=a||new FormData,i=K.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(V,R){return!K.isUndefined(R[V])});const s=i.metaTokens,u=i.visitor||p,f=i.dots,d=i.indexes,b=(i.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(a);if(!K.isFunction(u))throw new TypeError("visitor must be a function");function g(N){if(N===null)return"";if(K.isDate(N))return N.toISOString();if(K.isBoolean(N))return N.toString();if(!b&&K.isBlob(N))throw new He("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(N)||K.isTypedArray(N)?b&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function p(N,V,R){let z=N;if(N&&!R&&typeof N=="object"){if(K.endsWith(V,"{}"))V=s?V:V.slice(0,-2),N=JSON.stringify(N);else if(K.isArray(N)&&q5(N)||(K.isFileList(N)||K.endsWith(V,"[]"))&&(z=K.toArray(N)))return V=OC(V),z.forEach(function(I,ie){!(K.isUndefined(I)||I===null)&&a.append(d===!0?Nw([V],ie,f):d===null?V:V+"[]",g(I))}),!1}return Qb(N)?!0:(a.append(Nw(R,V,f),g(N)),!1)}const v=[],x=Object.assign(I5,{defaultVisitor:p,convertValue:g,isVisitable:Qb});function S(N,V){if(!K.isUndefined(N)){if(v.indexOf(N)!==-1)throw Error("Circular reference detected in "+V.join("."));v.push(N),K.forEach(N,function(z,Q){(!(K.isUndefined(z)||z===null)&&u.call(a,z,K.isString(Q)?Q.trim():Q,V,x))===!0&&S(z,V?V.concat(Q):[Q])}),v.pop()}}if(!K.isObject(n))throw new TypeError("data must be an object");return S(n),a}function kw(n){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(s){return a[s]})}function Gv(n,a){this._pairs=[],n&&Xh(n,this,a)}const MC=Gv.prototype;MC.append=function(a,i){this._pairs.push([a,i])};MC.toString=function(a){const i=a?function(s){return a.call(this,s,kw)}:kw;return this._pairs.map(function(u){return i(u[0])+"="+i(u[1])},"").join("&")};function F5(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function _C(n,a,i){if(!a)return n;const s=i&&i.encode||F5,u=K.isFunction(i)?{serialize:i}:i,f=u&&u.serialize;let d;if(f?d=f(a,u):d=K.isURLSearchParams(a)?a.toString():new Gv(a,u).toString(s),d){const h=n.indexOf("#");h!==-1&&(n=n.slice(0,h)),n+=(n.indexOf("?")===-1?"?":"&")+d}return n}class Cw{constructor(){this.handlers=[]}use(a,i,s){return this.handlers.push({fulfilled:a,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){K.forEach(this.handlers,function(s){s!==null&&a(s)})}}const $v={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Y5=typeof URLSearchParams<"u"?URLSearchParams:Gv,G5=typeof FormData<"u"?FormData:null,$5=typeof Blob<"u"?Blob:null,X5={isBrowser:!0,classes:{URLSearchParams:Y5,FormData:G5,Blob:$5},protocols:["http","https","file","blob","url","data"]},Xv=typeof window<"u"&&typeof document<"u",Zb=typeof navigator=="object"&&navigator||void 0,Q5=Xv&&(!Zb||["ReactNative","NativeScript","NS"].indexOf(Zb.product)<0),Z5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",J5=Xv&&window.location.href||"http://localhost",K5=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xv,hasStandardBrowserEnv:Q5,hasStandardBrowserWebWorkerEnv:Z5,navigator:Zb,origin:J5},Symbol.toStringTag,{value:"Module"})),Dn={...K5,...X5};function W5(n,a){return Xh(n,new Dn.classes.URLSearchParams,{visitor:function(i,s,u,f){return Dn.isNode&&K.isBuffer(i)?(this.append(s,i.toString("base64")),!1):f.defaultVisitor.apply(this,arguments)},...a})}function eL(n){return K.matchAll(/\w+|\[(\w*)]/g,n).map(a=>a[0]==="[]"?"":a[1]||a[0])}function tL(n){const a={},i=Object.keys(n);let s;const u=i.length;let f;for(s=0;s<u;s++)f=i[s],a[f]=n[f];return a}function zC(n){function a(i,s,u,f){let d=i[f++];if(d==="__proto__")return!0;const h=Number.isFinite(+d),b=f>=i.length;return d=!d&&K.isArray(u)?u.length:d,b?(K.hasOwnProp(u,d)?u[d]=[u[d],s]:u[d]=s,!h):((!u[d]||!K.isObject(u[d]))&&(u[d]=[]),a(i,s,u[d],f)&&K.isArray(u[d])&&(u[d]=tL(u[d])),!h)}if(K.isFormData(n)&&K.isFunction(n.entries)){const i={};return K.forEachEntry(n,(s,u)=>{a(eL(s),u,i,0)}),i}return null}function nL(n,a,i){if(K.isString(n))try{return(a||JSON.parse)(n),K.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(n)}const Bc={transitional:$v,adapter:["xhr","http","fetch"],transformRequest:[function(a,i){const s=i.getContentType()||"",u=s.indexOf("application/json")>-1,f=K.isObject(a);if(f&&K.isHTMLForm(a)&&(a=new FormData(a)),K.isFormData(a))return u?JSON.stringify(zC(a)):a;if(K.isArrayBuffer(a)||K.isBuffer(a)||K.isStream(a)||K.isFile(a)||K.isBlob(a)||K.isReadableStream(a))return a;if(K.isArrayBufferView(a))return a.buffer;if(K.isURLSearchParams(a))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let h;if(f){if(s.indexOf("application/x-www-form-urlencoded")>-1)return W5(a,this.formSerializer).toString();if((h=K.isFileList(a))||s.indexOf("multipart/form-data")>-1){const b=this.env&&this.env.FormData;return Xh(h?{"files[]":a}:a,b&&new b,this.formSerializer)}}return f||u?(i.setContentType("application/json",!1),nL(a)):a}],transformResponse:[function(a){const i=this.transitional||Bc.transitional,s=i&&i.forcedJSONParsing,u=this.responseType==="json";if(K.isResponse(a)||K.isReadableStream(a))return a;if(a&&K.isString(a)&&(s&&!this.responseType||u)){const d=!(i&&i.silentJSONParsing)&&u;try{return JSON.parse(a,this.parseReviver)}catch(h){if(d)throw h.name==="SyntaxError"?He.from(h,He.ERR_BAD_RESPONSE,this,null,this.response):h}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dn.classes.FormData,Blob:Dn.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],n=>{Bc.headers[n]={}});const rL=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),aL=n=>{const a={};let i,s,u;return n&&n.split(`
249
- `).forEach(function(d){u=d.indexOf(":"),i=d.substring(0,u).trim().toLowerCase(),s=d.substring(u+1).trim(),!(!i||a[i]&&rL[i])&&(i==="set-cookie"?a[i]?a[i].push(s):a[i]=[s]:a[i]=a[i]?a[i]+", "+s:s)}),a},Rw=Symbol("internals");function fc(n){return n&&String(n).trim().toLowerCase()}function Ah(n){return n===!1||n==null?n:K.isArray(n)?n.map(Ah):String(n)}function iL(n){const a=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=i.exec(n);)a[s[1]]=s[2];return a}const oL=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function ab(n,a,i,s,u){if(K.isFunction(s))return s.call(this,a,i);if(u&&(a=i),!!K.isString(a)){if(K.isString(s))return a.indexOf(s)!==-1;if(K.isRegExp(s))return s.test(a)}}function sL(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,i,s)=>i.toUpperCase()+s)}function lL(n,a){const i=K.toCamelCase(" "+a);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+i,{value:function(u,f,d){return this[s].call(this,a,u,f,d)},configurable:!0})})}let Qn=class{constructor(a){a&&this.set(a)}set(a,i,s){const u=this;function f(h,b,g){const p=fc(b);if(!p)throw new Error("header name must be a non-empty string");const v=K.findKey(u,p);(!v||u[v]===void 0||g===!0||g===void 0&&u[v]!==!1)&&(u[v||b]=Ah(h))}const d=(h,b)=>K.forEach(h,(g,p)=>f(g,p,b));if(K.isPlainObject(a)||a instanceof this.constructor)d(a,i);else if(K.isString(a)&&(a=a.trim())&&!oL(a))d(aL(a),i);else if(K.isObject(a)&&K.isIterable(a)){let h={},b,g;for(const p of a){if(!K.isArray(p))throw TypeError("Object iterator must return a key-value pair");h[g=p[0]]=(b=h[g])?K.isArray(b)?[...b,p[1]]:[b,p[1]]:p[1]}d(h,i)}else a!=null&&f(i,a,s);return this}get(a,i){if(a=fc(a),a){const s=K.findKey(this,a);if(s){const u=this[s];if(!i)return u;if(i===!0)return iL(u);if(K.isFunction(i))return i.call(this,u,s);if(K.isRegExp(i))return i.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,i){if(a=fc(a),a){const s=K.findKey(this,a);return!!(s&&this[s]!==void 0&&(!i||ab(this,this[s],s,i)))}return!1}delete(a,i){const s=this;let u=!1;function f(d){if(d=fc(d),d){const h=K.findKey(s,d);h&&(!i||ab(s,s[h],h,i))&&(delete s[h],u=!0)}}return K.isArray(a)?a.forEach(f):f(a),u}clear(a){const i=Object.keys(this);let s=i.length,u=!1;for(;s--;){const f=i[s];(!a||ab(this,this[f],f,a,!0))&&(delete this[f],u=!0)}return u}normalize(a){const i=this,s={};return K.forEach(this,(u,f)=>{const d=K.findKey(s,f);if(d){i[d]=Ah(u),delete i[f];return}const h=a?sL(f):String(f).trim();h!==f&&delete i[f],i[h]=Ah(u),s[h]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const i=Object.create(null);return K.forEach(this,(s,u)=>{s!=null&&s!==!1&&(i[u]=a&&K.isArray(s)?s.join(", "):s)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,i])=>a+": "+i).join(`
250
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...i){const s=new this(a);return i.forEach(u=>s.set(u)),s}static accessor(a){const s=(this[Rw]=this[Rw]={accessors:{}}).accessors,u=this.prototype;function f(d){const h=fc(d);s[h]||(lL(u,d),s[h]=!0)}return K.isArray(a)?a.forEach(f):f(a),this}};Qn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(Qn.prototype,({value:n},a)=>{let i=a[0].toUpperCase()+a.slice(1);return{get:()=>n,set(s){this[i]=s}}});K.freezeMethods(Qn);function ib(n,a){const i=this||Bc,s=a||i,u=Qn.from(s.headers);let f=s.data;return K.forEach(n,function(h){f=h.call(i,f,u.normalize(),a?a.status:void 0)}),u.normalize(),f}function UC(n){return!!(n&&n.__CANCEL__)}let Hc=class extends He{constructor(a,i,s){super(a??"canceled",He.ERR_CANCELED,i,s),this.name="CanceledError",this.__CANCEL__=!0}};function jC(n,a,i){const s=i.config.validateStatus;!i.status||!s||s(i.status)?n(i):a(new He("Request failed with status code "+i.status,[He.ERR_BAD_REQUEST,He.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function uL(n){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return a&&a[1]||""}function cL(n,a){n=n||10;const i=new Array(n),s=new Array(n);let u=0,f=0,d;return a=a!==void 0?a:1e3,function(b){const g=Date.now(),p=s[f];d||(d=g),i[u]=b,s[u]=g;let v=f,x=0;for(;v!==u;)x+=i[v++],v=v%n;if(u=(u+1)%n,u===f&&(f=(f+1)%n),g-d<a)return;const S=p&&g-p;return S?Math.round(x*1e3/S):void 0}}function fL(n,a){let i=0,s=1e3/a,u,f;const d=(g,p=Date.now())=>{i=p,u=null,f&&(clearTimeout(f),f=null),n(...g)};return[(...g)=>{const p=Date.now(),v=p-i;v>=s?d(g,p):(u=g,f||(f=setTimeout(()=>{f=null,d(u)},s-v)))},()=>u&&d(u)]}const Vh=(n,a,i=3)=>{let s=0;const u=cL(50,250);return fL(f=>{const d=f.loaded,h=f.lengthComputable?f.total:void 0,b=d-s,g=u(b),p=d<=h;s=d;const v={loaded:d,total:h,progress:h?d/h:void 0,bytes:b,rate:g||void 0,estimated:g&&h&&p?(h-d)/g:void 0,event:f,lengthComputable:h!=null,[a?"download":"upload"]:!0};n(v)},i)},Ow=(n,a)=>{const i=n!=null;return[s=>a[0]({lengthComputable:i,total:n,loaded:s}),a[1]]},Mw=n=>(...a)=>K.asap(()=>n(...a)),dL=Dn.hasStandardBrowserEnv?((n,a)=>i=>(i=new URL(i,Dn.origin),n.protocol===i.protocol&&n.host===i.host&&(a||n.port===i.port)))(new URL(Dn.origin),Dn.navigator&&/(msie|trident)/i.test(Dn.navigator.userAgent)):()=>!0,hL=Dn.hasStandardBrowserEnv?{write(n,a,i,s,u,f,d){if(typeof document>"u")return;const h=[`${n}=${encodeURIComponent(a)}`];K.isNumber(i)&&h.push(`expires=${new Date(i).toUTCString()}`),K.isString(s)&&h.push(`path=${s}`),K.isString(u)&&h.push(`domain=${u}`),f===!0&&h.push("secure"),K.isString(d)&&h.push(`SameSite=${d}`),document.cookie=h.join("; ")},read(n){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+n+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function mL(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function pL(n,a){return a?n.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):n}function VC(n,a,i){let s=!mL(a);return n&&(s||i==!1)?pL(n,a):a}const _w=n=>n instanceof Qn?{...n}:n;function os(n,a){a=a||{};const i={};function s(g,p,v,x){return K.isPlainObject(g)&&K.isPlainObject(p)?K.merge.call({caseless:x},g,p):K.isPlainObject(p)?K.merge({},p):K.isArray(p)?p.slice():p}function u(g,p,v,x){if(K.isUndefined(p)){if(!K.isUndefined(g))return s(void 0,g,v,x)}else return s(g,p,v,x)}function f(g,p){if(!K.isUndefined(p))return s(void 0,p)}function d(g,p){if(K.isUndefined(p)){if(!K.isUndefined(g))return s(void 0,g)}else return s(void 0,p)}function h(g,p,v){if(v in a)return s(g,p);if(v in n)return s(void 0,g)}const b={url:f,method:f,data:f,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:h,headers:(g,p,v)=>u(_w(g),_w(p),v,!0)};return K.forEach(Object.keys({...n,...a}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const v=K.hasOwnProp(b,p)?b[p]:u,x=v(n[p],a[p],p);K.isUndefined(x)&&v!==h||(i[p]=x)}),i}const LC=n=>{const a=os({},n);let{data:i,withXSRFToken:s,xsrfHeaderName:u,xsrfCookieName:f,headers:d,auth:h}=a;if(a.headers=d=Qn.from(d),a.url=_C(VC(a.baseURL,a.url,a.allowAbsoluteUrls),n.params,n.paramsSerializer),h&&d.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),K.isFormData(i)){if(Dn.hasStandardBrowserEnv||Dn.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(K.isFunction(i.getHeaders)){const b=i.getHeaders(),g=["content-type","content-length"];Object.entries(b).forEach(([p,v])=>{g.includes(p.toLowerCase())&&d.set(p,v)})}}if(Dn.hasStandardBrowserEnv&&(s&&K.isFunction(s)&&(s=s(a)),s||s!==!1&&dL(a.url))){const b=u&&f&&hL.read(f);b&&d.set(u,b)}return a},gL=typeof XMLHttpRequest<"u",yL=gL&&function(n){return new Promise(function(i,s){const u=LC(n);let f=u.data;const d=Qn.from(u.headers).normalize();let{responseType:h,onUploadProgress:b,onDownloadProgress:g}=u,p,v,x,S,N;function V(){S&&S(),N&&N(),u.cancelToken&&u.cancelToken.unsubscribe(p),u.signal&&u.signal.removeEventListener("abort",p)}let R=new XMLHttpRequest;R.open(u.method.toUpperCase(),u.url,!0),R.timeout=u.timeout;function z(){if(!R)return;const I=Qn.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),re={data:!h||h==="text"||h==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:I,config:n,request:R};jC(function(ye){i(ye),V()},function(ye){s(ye),V()},re),R=null}"onloadend"in R?R.onloadend=z:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(z)},R.onabort=function(){R&&(s(new He("Request aborted",He.ECONNABORTED,n,R)),R=null)},R.onerror=function(ie){const re=ie&&ie.message?ie.message:"Network Error",G=new He(re,He.ERR_NETWORK,n,R);G.event=ie||null,s(G),R=null},R.ontimeout=function(){let ie=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const re=u.transitional||$v;u.timeoutErrorMessage&&(ie=u.timeoutErrorMessage),s(new He(ie,re.clarifyTimeoutError?He.ETIMEDOUT:He.ECONNABORTED,n,R)),R=null},f===void 0&&d.setContentType(null),"setRequestHeader"in R&&K.forEach(d.toJSON(),function(ie,re){R.setRequestHeader(re,ie)}),K.isUndefined(u.withCredentials)||(R.withCredentials=!!u.withCredentials),h&&h!=="json"&&(R.responseType=u.responseType),g&&([x,N]=Vh(g,!0),R.addEventListener("progress",x)),b&&R.upload&&([v,S]=Vh(b),R.upload.addEventListener("progress",v),R.upload.addEventListener("loadend",S)),(u.cancelToken||u.signal)&&(p=I=>{R&&(s(!I||I.type?new Hc(null,n,R):I),R.abort(),R=null)},u.cancelToken&&u.cancelToken.subscribe(p),u.signal&&(u.signal.aborted?p():u.signal.addEventListener("abort",p)));const Q=uL(u.url);if(Q&&Dn.protocols.indexOf(Q)===-1){s(new He("Unsupported protocol "+Q+":",He.ERR_BAD_REQUEST,n));return}R.send(f||null)})},bL=(n,a)=>{const{length:i}=n=n?n.filter(Boolean):[];if(a||i){let s=new AbortController,u;const f=function(g){if(!u){u=!0,h();const p=g instanceof Error?g:this.reason;s.abort(p instanceof He?p:new Hc(p instanceof Error?p.message:p))}};let d=a&&setTimeout(()=>{d=null,f(new He(`timeout of ${a}ms exceeded`,He.ETIMEDOUT))},a);const h=()=>{n&&(d&&clearTimeout(d),d=null,n.forEach(g=>{g.unsubscribe?g.unsubscribe(f):g.removeEventListener("abort",f)}),n=null)};n.forEach(g=>g.addEventListener("abort",f));const{signal:b}=s;return b.unsubscribe=()=>K.asap(h),b}},vL=function*(n,a){let i=n.byteLength;if(i<a){yield n;return}let s=0,u;for(;s<i;)u=s+a,yield n.slice(s,u),s=u},xL=async function*(n,a){for await(const i of SL(n))yield*vL(i,a)},SL=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const a=n.getReader();try{for(;;){const{done:i,value:s}=await a.read();if(i)break;yield s}}finally{await a.cancel()}},zw=(n,a,i,s)=>{const u=xL(n,a);let f=0,d,h=b=>{d||(d=!0,s&&s(b))};return new ReadableStream({async pull(b){try{const{done:g,value:p}=await u.next();if(g){h(),b.close();return}let v=p.byteLength;if(i){let x=f+=v;i(x)}b.enqueue(new Uint8Array(p))}catch(g){throw h(g),g}},cancel(b){return h(b),u.return()}},{highWaterMark:2})},Uw=64*1024,{isFunction:uh}=K,DL=(({Request:n,Response:a})=>({Request:n,Response:a}))(K.global),{ReadableStream:jw,TextEncoder:Vw}=K.global,Lw=(n,...a)=>{try{return!!n(...a)}catch{return!1}},EL=n=>{n=K.merge.call({skipUndefined:!0},DL,n);const{fetch:a,Request:i,Response:s}=n,u=a?uh(a):typeof fetch=="function",f=uh(i),d=uh(s);if(!u)return!1;const h=u&&uh(jw),b=u&&(typeof Vw=="function"?(N=>V=>N.encode(V))(new Vw):async N=>new Uint8Array(await new i(N).arrayBuffer())),g=f&&h&&Lw(()=>{let N=!1;const V=new i(Dn.origin,{body:new jw,method:"POST",get duplex(){return N=!0,"half"}}).headers.has("Content-Type");return N&&!V}),p=d&&h&&Lw(()=>K.isReadableStream(new s("").body)),v={stream:p&&(N=>N.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(N=>{!v[N]&&(v[N]=(V,R)=>{let z=V&&V[N];if(z)return z.call(V);throw new He(`Response type '${N}' is not supported`,He.ERR_NOT_SUPPORT,R)})});const x=async N=>{if(N==null)return 0;if(K.isBlob(N))return N.size;if(K.isSpecCompliantForm(N))return(await new i(Dn.origin,{method:"POST",body:N}).arrayBuffer()).byteLength;if(K.isArrayBufferView(N)||K.isArrayBuffer(N))return N.byteLength;if(K.isURLSearchParams(N)&&(N=N+""),K.isString(N))return(await b(N)).byteLength},S=async(N,V)=>{const R=K.toFiniteNumber(N.getContentLength());return R??x(V)};return async N=>{let{url:V,method:R,data:z,signal:Q,cancelToken:I,timeout:ie,onDownloadProgress:re,onUploadProgress:G,responseType:ye,headers:se,withCredentials:ce="same-origin",fetchOptions:F}=LC(N),he=a||fetch;ye=ye?(ye+"").toLowerCase():"text";let oe=bL([Q,I&&I.toAbortSignal()],ie),X=null;const ne=oe&&oe.unsubscribe&&(()=>{oe.unsubscribe()});let ae;try{if(G&&g&&R!=="get"&&R!=="head"&&(ae=await S(se,z))!==0){let U=new i(V,{method:"POST",body:z,duplex:"half"}),ue;if(K.isFormData(z)&&(ue=U.headers.get("content-type"))&&se.setContentType(ue),U.body){const[C,xe]=Ow(ae,Vh(Mw(G)));z=zw(U.body,Uw,C,xe)}}K.isString(ce)||(ce=ce?"include":"omit");const Y=f&&"credentials"in i.prototype,le={...F,signal:oe,method:R.toUpperCase(),headers:se.normalize().toJSON(),body:z,duplex:"half",credentials:Y?ce:void 0};X=f&&new i(V,le);let pe=await(f?he(X,F):he(V,le));const Oe=p&&(ye==="stream"||ye==="response");if(p&&(re||Oe&&ne)){const U={};["status","statusText","headers"].forEach(at=>{U[at]=pe[at]});const ue=K.toFiniteNumber(pe.headers.get("content-length")),[C,xe]=re&&Ow(ue,Vh(Mw(re),!0))||[];pe=new s(zw(pe.body,Uw,C,()=>{xe&&xe(),ne&&ne()}),U)}ye=ye||"text";let O=await v[K.findKey(v,ye)||"text"](pe,N);return!Oe&&ne&&ne(),await new Promise((U,ue)=>{jC(U,ue,{data:O,headers:Qn.from(pe.headers),status:pe.status,statusText:pe.statusText,config:N,request:X})})}catch(Y){throw ne&&ne(),Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new He("Network Error",He.ERR_NETWORK,N,X,Y&&Y.response),{cause:Y.cause||Y}):He.from(Y,Y&&Y.code,N,X,Y&&Y.response)}}},TL=new Map,BC=n=>{let a=n&&n.env||{};const{fetch:i,Request:s,Response:u}=a,f=[s,u,i];let d=f.length,h=d,b,g,p=TL;for(;h--;)b=f[h],g=p.get(b),g===void 0&&p.set(b,g=h?new Map:EL(a)),p=g;return g};BC();const Qv={http:P5,xhr:yL,fetch:{get:BC}};K.forEach(Qv,(n,a)=>{if(n){try{Object.defineProperty(n,"name",{value:a})}catch{}Object.defineProperty(n,"adapterName",{value:a})}});const Bw=n=>`- ${n}`,AL=n=>K.isFunction(n)||n===null||n===!1;function wL(n,a){n=K.isArray(n)?n:[n];const{length:i}=n;let s,u;const f={};for(let d=0;d<i;d++){s=n[d];let h;if(u=s,!AL(s)&&(u=Qv[(h=String(s)).toLowerCase()],u===void 0))throw new He(`Unknown adapter '${h}'`);if(u&&(K.isFunction(u)||(u=u.get(a))))break;f[h||"#"+d]=u}if(!u){const d=Object.entries(f).map(([b,g])=>`adapter ${b} `+(g===!1?"is not supported by the environment":"is not available in the build"));let h=i?d.length>1?`since :
251
- `+d.map(Bw).join(`
252
- `):" "+Bw(d[0]):"as no adapter specified";throw new He("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return u}const HC={getAdapter:wL,adapters:Qv};function ob(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Hc(null,n)}function Hw(n){return ob(n),n.headers=Qn.from(n.headers),n.data=ib.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),HC.getAdapter(n.adapter||Bc.adapter,n)(n).then(function(s){return ob(n),s.data=ib.call(n,n.transformResponse,s),s.headers=Qn.from(s.headers),s},function(s){return UC(s)||(ob(n),s&&s.response&&(s.response.data=ib.call(n,n.transformResponse,s.response),s.response.headers=Qn.from(s.response.headers))),Promise.reject(s)})}const PC="1.13.5",Qh={};["object","boolean","number","function","string","symbol"].forEach((n,a)=>{Qh[n]=function(s){return typeof s===n||"a"+(a<1?"n ":" ")+n}});const Pw={};Qh.transitional=function(a,i,s){function u(f,d){return"[Axios v"+PC+"] Transitional option '"+f+"'"+d+(s?". "+s:"")}return(f,d,h)=>{if(a===!1)throw new He(u(d," has been removed"+(i?" in "+i:"")),He.ERR_DEPRECATED);return i&&!Pw[d]&&(Pw[d]=!0,console.warn(u(d," has been deprecated since v"+i+" and will be removed in the near future"))),a?a(f,d,h):!0}};Qh.spelling=function(a){return(i,s)=>(console.warn(`${s} is likely a misspelling of ${a}`),!0)};function NL(n,a,i){if(typeof n!="object")throw new He("options must be an object",He.ERR_BAD_OPTION_VALUE);const s=Object.keys(n);let u=s.length;for(;u-- >0;){const f=s[u],d=a[f];if(d){const h=n[f],b=h===void 0||d(h,f,n);if(b!==!0)throw new He("option "+f+" must be "+b,He.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new He("Unknown option "+f,He.ERR_BAD_OPTION)}}const wh={assertOptions:NL,validators:Qh},zr=wh.validators;let is=class{constructor(a){this.defaults=a||{},this.interceptors={request:new Cw,response:new Cw}}async request(a,i){try{return await this._request(a,i)}catch(s){if(s instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const f=u.stack?u.stack.replace(/^.+\n/,""):"";try{s.stack?f&&!String(s.stack).endsWith(f.replace(/^.+\n.+\n/,""))&&(s.stack+=`
253
- `+f):s.stack=f}catch{}}throw s}}_request(a,i){typeof a=="string"?(i=i||{},i.url=a):i=a||{},i=os(this.defaults,i);const{transitional:s,paramsSerializer:u,headers:f}=i;s!==void 0&&wh.assertOptions(s,{silentJSONParsing:zr.transitional(zr.boolean),forcedJSONParsing:zr.transitional(zr.boolean),clarifyTimeoutError:zr.transitional(zr.boolean),legacyInterceptorReqResOrdering:zr.transitional(zr.boolean)},!1),u!=null&&(K.isFunction(u)?i.paramsSerializer={serialize:u}:wh.assertOptions(u,{encode:zr.function,serialize:zr.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),wh.assertOptions(i,{baseUrl:zr.spelling("baseURL"),withXsrfToken:zr.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let d=f&&K.merge(f.common,f[i.method]);f&&K.forEach(["delete","get","head","post","put","patch","common"],N=>{delete f[N]}),i.headers=Qn.concat(d,f);const h=[];let b=!0;this.interceptors.request.forEach(function(V){if(typeof V.runWhen=="function"&&V.runWhen(i)===!1)return;b=b&&V.synchronous;const R=i.transitional||$v;R&&R.legacyInterceptorReqResOrdering?h.unshift(V.fulfilled,V.rejected):h.push(V.fulfilled,V.rejected)});const g=[];this.interceptors.response.forEach(function(V){g.push(V.fulfilled,V.rejected)});let p,v=0,x;if(!b){const N=[Hw.bind(this),void 0];for(N.unshift(...h),N.push(...g),x=N.length,p=Promise.resolve(i);v<x;)p=p.then(N[v++],N[v++]);return p}x=h.length;let S=i;for(;v<x;){const N=h[v++],V=h[v++];try{S=N(S)}catch(R){V.call(this,R);break}}try{p=Hw.call(this,S)}catch(N){return Promise.reject(N)}for(v=0,x=g.length;v<x;)p=p.then(g[v++],g[v++]);return p}getUri(a){a=os(this.defaults,a);const i=VC(a.baseURL,a.url,a.allowAbsoluteUrls);return _C(i,a.params,a.paramsSerializer)}};K.forEach(["delete","get","head","options"],function(a){is.prototype[a]=function(i,s){return this.request(os(s||{},{method:a,url:i,data:(s||{}).data}))}});K.forEach(["post","put","patch"],function(a){function i(s){return function(f,d,h){return this.request(os(h||{},{method:a,headers:s?{"Content-Type":"multipart/form-data"}:{},url:f,data:d}))}}is.prototype[a]=i(),is.prototype[a+"Form"]=i(!0)});let kL=class qC{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(f){i=f});const s=this;this.promise.then(u=>{if(!s._listeners)return;let f=s._listeners.length;for(;f-- >0;)s._listeners[f](u);s._listeners=null}),this.promise.then=u=>{let f;const d=new Promise(h=>{s.subscribe(h),f=h}).then(u);return d.cancel=function(){s.unsubscribe(f)},d},a(function(f,d,h){s.reason||(s.reason=new Hc(f,d,h),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const a=new AbortController,i=s=>{a.abort(s)};return this.subscribe(i),a.signal.unsubscribe=()=>this.unsubscribe(i),a.signal}static source(){let a;return{token:new qC(function(u){a=u}),cancel:a}}};function CL(n){return function(i){return n.apply(null,i)}}function RL(n){return K.isObject(n)&&n.isAxiosError===!0}const Jb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Jb).forEach(([n,a])=>{Jb[a]=n});function IC(n){const a=new is(n),i=DC(is.prototype.request,a);return K.extend(i,is.prototype,a,{allOwnKeys:!0}),K.extend(i,a,null,{allOwnKeys:!0}),i.create=function(u){return IC(os(n,u))},i}const Et=IC(Bc);Et.Axios=is;Et.CanceledError=Hc;Et.CancelToken=kL;Et.isCancel=UC;Et.VERSION=PC;Et.toFormData=Xh;Et.AxiosError=He;Et.Cancel=Et.CanceledError;Et.all=function(a){return Promise.all(a)};Et.spread=CL;Et.isAxiosError=RL;Et.mergeConfig=os;Et.AxiosHeaders=Qn;Et.formToJSON=n=>zC(K.isHTMLForm(n)?new FormData(n):n);Et.getAdapter=HC.getAdapter;Et.HttpStatusCode=Jb;Et.default=Et;const{Axios:vH,AxiosError:xH,CanceledError:SH,isCancel:DH,CancelToken:EH,VERSION:TH,all:AH,Cancel:wH,isAxiosError:NH,spread:kH,toFormData:CH,AxiosHeaders:RH,HttpStatusCode:OH,formToJSON:MH,getAdapter:_H,mergeConfig:zH}=Et;class OL extends Error{name="Assertion";code="ERR_ASSERTION";constructor(a,i,s,u,f){super(a),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.actual=i,this.expected=s,this.generated=f,this.operator=u}}function P(n,a){FC(!!n,!1,!0,"ok","Expected value to be truthy",a)}function Kb(n){FC(!1,!1,!0,"ok","Unreachable",n)}function FC(n,a,i,s,u,f){if(!n)throw f instanceof Error?f:new OL(f||u,a,i,s,!f)}function ML(n,a){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const _L=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zL=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,UL={};function qw(n,a){return(UL.jsx?zL:_L).test(n)}const jL=/[ \t\n\f\r]/g;function VL(n){return typeof n=="object"?n.type==="text"?Iw(n.value):!1:Iw(n)}function Iw(n){return n.replace(jL,"")===""}class Pc{constructor(a,i,s){this.normal=i,this.property=a,s&&(this.space=s)}}Pc.prototype.normal={};Pc.prototype.property={};Pc.prototype.space=void 0;function YC(n,a){const i={},s={};for(const u of n)Object.assign(i,u.property),Object.assign(s,u.normal);return new Pc(i,s,a)}function Wb(n){return n.toLowerCase()}class Jn{constructor(a,i){this.attribute=i,this.property=a}}Jn.prototype.attribute="";Jn.prototype.booleanish=!1;Jn.prototype.boolean=!1;Jn.prototype.commaOrSpaceSeparated=!1;Jn.prototype.commaSeparated=!1;Jn.prototype.defined=!1;Jn.prototype.mustUseProperty=!1;Jn.prototype.number=!1;Jn.prototype.overloadedBoolean=!1;Jn.prototype.property="";Jn.prototype.spaceSeparated=!1;Jn.prototype.space=void 0;let LL=0;const Qe=ss(),Jt=ss(),ev=ss(),ge=ss(),Dt=ss(),Dl=ss(),mr=ss();function ss(){return 2**++LL}const tv=Object.freeze(Object.defineProperty({__proto__:null,boolean:Qe,booleanish:Jt,commaOrSpaceSeparated:mr,commaSeparated:Dl,number:ge,overloadedBoolean:ev,spaceSeparated:Dt},Symbol.toStringTag,{value:"Module"})),sb=Object.keys(tv);class Zv extends Jn{constructor(a,i,s,u){let f=-1;if(super(a,i),Fw(this,"space",u),typeof s=="number")for(;++f<sb.length;){const d=sb[f];Fw(this,sb[f],(s&tv[d])===tv[d])}}}Zv.prototype.defined=!0;function Fw(n,a,i){i&&(n[a]=i)}function Ol(n){const a={},i={};for(const[s,u]of Object.entries(n.properties)){const f=new Zv(s,n.transform(n.attributes||{},s),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(s)&&(f.mustUseProperty=!0),a[s]=f,i[Wb(s)]=s,i[Wb(f.attribute)]=s}return new Pc(a,i,n.space)}const GC=Ol({properties:{ariaActiveDescendant:null,ariaAtomic:Jt,ariaAutoComplete:null,ariaBusy:Jt,ariaChecked:Jt,ariaColCount:ge,ariaColIndex:ge,ariaColSpan:ge,ariaControls:Dt,ariaCurrent:null,ariaDescribedBy:Dt,ariaDetails:null,ariaDisabled:Jt,ariaDropEffect:Dt,ariaErrorMessage:null,ariaExpanded:Jt,ariaFlowTo:Dt,ariaGrabbed:Jt,ariaHasPopup:null,ariaHidden:Jt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Dt,ariaLevel:ge,ariaLive:null,ariaModal:Jt,ariaMultiLine:Jt,ariaMultiSelectable:Jt,ariaOrientation:null,ariaOwns:Dt,ariaPlaceholder:null,ariaPosInSet:ge,ariaPressed:Jt,ariaReadOnly:Jt,ariaRelevant:null,ariaRequired:Jt,ariaRoleDescription:Dt,ariaRowCount:ge,ariaRowIndex:ge,ariaRowSpan:ge,ariaSelected:Jt,ariaSetSize:ge,ariaSort:null,ariaValueMax:ge,ariaValueMin:ge,ariaValueNow:ge,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function $C(n,a){return a in n?n[a]:a}function XC(n,a){return $C(n,a.toLowerCase())}const BL=Ol({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Dl,acceptCharset:Dt,accessKey:Dt,action:null,allow:null,allowFullScreen:Qe,allowPaymentRequest:Qe,allowUserMedia:Qe,alt:null,as:null,async:Qe,autoCapitalize:null,autoComplete:Dt,autoFocus:Qe,autoPlay:Qe,blocking:Dt,capture:null,charSet:null,checked:Qe,cite:null,className:Dt,cols:ge,colSpan:null,content:null,contentEditable:Jt,controls:Qe,controlsList:Dt,coords:ge|Dl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Qe,defer:Qe,dir:null,dirName:null,disabled:Qe,download:ev,draggable:Jt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Qe,formTarget:null,headers:Dt,height:ge,hidden:ev,high:ge,href:null,hrefLang:null,htmlFor:Dt,httpEquiv:Dt,id:null,imageSizes:null,imageSrcSet:null,inert:Qe,inputMode:null,integrity:null,is:null,isMap:Qe,itemId:null,itemProp:Dt,itemRef:Dt,itemScope:Qe,itemType:Dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Qe,low:ge,manifest:null,max:null,maxLength:ge,media:null,method:null,min:null,minLength:ge,multiple:Qe,muted:Qe,name:null,nonce:null,noModule:Qe,noValidate:Qe,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:Qe,optimum:ge,pattern:null,ping:Dt,placeholder:null,playsInline:Qe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Qe,referrerPolicy:null,rel:Dt,required:Qe,reversed:Qe,rows:ge,rowSpan:ge,sandbox:Dt,scope:null,scoped:Qe,seamless:Qe,selected:Qe,shadowRootClonable:Qe,shadowRootDelegatesFocus:Qe,shadowRootMode:null,shape:null,size:ge,sizes:null,slot:null,span:ge,spellCheck:Jt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ge,step:null,style:null,tabIndex:ge,target:null,title:null,translate:null,type:null,typeMustMatch:Qe,useMap:null,value:Jt,width:ge,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Dt,axis:null,background:null,bgColor:null,border:ge,borderColor:null,bottomMargin:ge,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Qe,declare:Qe,event:null,face:null,frame:null,frameBorder:null,hSpace:ge,leftMargin:ge,link:null,longDesc:null,lowSrc:null,marginHeight:ge,marginWidth:ge,noResize:Qe,noHref:Qe,noShade:Qe,noWrap:Qe,object:null,profile:null,prompt:null,rev:null,rightMargin:ge,rules:null,scheme:null,scrolling:Jt,standby:null,summary:null,text:null,topMargin:ge,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ge,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Qe,disableRemotePlayback:Qe,prefix:null,property:null,results:ge,security:null,unselectable:null},space:"html",transform:XC}),HL=Ol({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:mr,accentHeight:ge,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ge,amplitude:ge,arabicForm:null,ascent:ge,attributeName:null,attributeType:null,azimuth:ge,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ge,by:null,calcMode:null,capHeight:ge,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:ge,diffuseConstant:ge,direction:null,display:null,dur:null,divisor:ge,dominantBaseline:null,download:Qe,dx:null,dy:null,edgeMode:null,editable:null,elevation:ge,enableBackground:null,end:null,event:null,exponent:ge,externalResourcesRequired:null,fill:null,fillOpacity:ge,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:Dl,g2:Dl,glyphName:Dl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ge,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ge,horizOriginX:ge,horizOriginY:ge,id:null,ideographic:ge,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ge,k:ge,k1:ge,k2:ge,k3:ge,k4:ge,kernelMatrix:mr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ge,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ge,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:ge,overlineThickness:ge,paintOrder:null,panose1:null,path:null,pathLength:ge,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ge,pointsAtY:ge,pointsAtZ:ge,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mr,rev:mr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mr,requiredFeatures:mr,requiredFonts:mr,requiredFormats:mr,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:ge,specularExponent:ge,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ge,strikethroughThickness:ge,string:null,stroke:null,strokeDashArray:mr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ge,strokeOpacity:ge,strokeWidth:null,style:null,surfaceScale:ge,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:mr,tabIndex:ge,tableValues:null,target:null,targetX:ge,targetY:ge,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:mr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ge,underlineThickness:ge,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ge,values:null,vAlphabetic:ge,vMathematical:ge,vectorEffect:null,vHanging:ge,vIdeographic:ge,version:null,vertAdvY:ge,vertOriginX:ge,vertOriginY:ge,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ge,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:$C}),QC=Ol({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),ZC=Ol({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:XC}),JC=Ol({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),PL={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"},qL=/[A-Z]/g,Yw=/-[a-z]/g,IL=/^data[-\w.:]+$/i;function FL(n,a){const i=Wb(a);let s=a,u=Jn;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&IL.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(Yw,GL);s="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!Yw.test(f)){let d=f.replace(qL,YL);d.charAt(0)!=="-"&&(d="-"+d),a="data"+d}}u=Zv}return new u(s,a)}function YL(n){return"-"+n.toLowerCase()}function GL(n){return n.charAt(1).toUpperCase()}const $L=YC([GC,BL,QC,ZC,JC],"html"),Jv=YC([GC,HL,QC,ZC,JC],"svg");function XL(n){return n.join(" ").trim()}var dl={},lb,Gw;function QL(){if(Gw)return lb;Gw=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,i=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,d=/^[;\s]*/,h=/^\s+|\s+$/g,b=`
254
- `,g="/",p="*",v="",x="comment",S="declaration";function N(R,z){if(typeof R!="string")throw new TypeError("First argument must be a string");if(!R)return[];z=z||{};var Q=1,I=1;function ie(ne){var ae=ne.match(a);ae&&(Q+=ae.length);var Y=ne.lastIndexOf(b);I=~Y?ne.length-Y:I+ne.length}function re(){var ne={line:Q,column:I};return function(ae){return ae.position=new G(ne),ce(),ae}}function G(ne){this.start=ne,this.end={line:Q,column:I},this.source=z.source}G.prototype.content=R;function ye(ne){var ae=new Error(z.source+":"+Q+":"+I+": "+ne);if(ae.reason=ne,ae.filename=z.source,ae.line=Q,ae.column=I,ae.source=R,!z.silent)throw ae}function se(ne){var ae=ne.exec(R);if(ae){var Y=ae[0];return ie(Y),R=R.slice(Y.length),ae}}function ce(){se(i)}function F(ne){var ae;for(ne=ne||[];ae=he();)ae!==!1&&ne.push(ae);return ne}function he(){var ne=re();if(!(g!=R.charAt(0)||p!=R.charAt(1))){for(var ae=2;v!=R.charAt(ae)&&(p!=R.charAt(ae)||g!=R.charAt(ae+1));)++ae;if(ae+=2,v===R.charAt(ae-1))return ye("End of comment missing");var Y=R.slice(2,ae-2);return I+=2,ie(Y),R=R.slice(ae),I+=2,ne({type:x,comment:Y})}}function oe(){var ne=re(),ae=se(s);if(ae){if(he(),!se(u))return ye("property missing ':'");var Y=se(f),le=ne({type:S,property:V(ae[0].replace(n,v)),value:Y?V(Y[0].replace(n,v)):v});return se(d),le}}function X(){var ne=[];F(ne);for(var ae;ae=oe();)ae!==!1&&(ne.push(ae),F(ne));return ne}return ce(),X()}function V(R){return R?R.replace(h,v):v}return lb=N,lb}var $w;function ZL(){if($w)return dl;$w=1;var n=dl&&dl.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=i;const a=n(QL());function i(s,u){let f=null;if(!s||typeof s!="string")return f;const d=(0,a.default)(s),h=typeof u=="function";return d.forEach(b=>{if(b.type!=="declaration")return;const{property:g,value:p}=b;h?u(g,p,b):p&&(f=f||{},f[g]=p)}),f}return dl}var dc={},Xw;function JL(){if(Xw)return dc;Xw=1,Object.defineProperty(dc,"__esModule",{value:!0}),dc.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,i=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,f=function(g){return!g||i.test(g)||n.test(g)},d=function(g,p){return p.toUpperCase()},h=function(g,p){return"".concat(p,"-")},b=function(g,p){return p===void 0&&(p={}),f(g)?g:(g=g.toLowerCase(),p.reactCompat?g=g.replace(u,h):g=g.replace(s,h),g.replace(a,d))};return dc.camelCase=b,dc}var hc,Qw;function KL(){if(Qw)return hc;Qw=1;var n=hc&&hc.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},a=n(ZL()),i=JL();function s(u,f){var d={};return!u||typeof u!="string"||(0,a.default)(u,function(h,b){h&&b&&(d[(0,i.camelCase)(h,f)]=b)}),d}return s.default=s,hc=s,hc}var WL=KL();const eB=Rc(WL),KC=WC("end"),Kv=WC("start");function WC(n){return a;function a(i){const s=i&&i.position&&i.position[n]||{};if(typeof s.line=="number"&&s.line>0&&typeof s.column=="number"&&s.column>0)return{line:s.line,column:s.column,offset:typeof s.offset=="number"&&s.offset>-1?s.offset:void 0}}}function tB(n){const a=Kv(n),i=KC(n);if(a&&i)return{start:a,end:i}}function Sc(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Zw(n.position):"start"in n||"end"in n?Zw(n):"line"in n||"column"in n?nv(n):""}function nv(n){return Jw(n&&n.line)+":"+Jw(n&&n.column)}function Zw(n){return nv(n&&n.start)+"-"+nv(n&&n.end)}function Jw(n){return n&&typeof n=="number"?n:1}class An extends Error{constructor(a,i,s){super(),typeof i=="string"&&(s=i,i=void 0);let u="",f={},d=!1;if(i&&("line"in i&&"column"in i?f={place:i}:"start"in i&&"end"in i?f={place:i}:"type"in i?f={ancestors:[i],place:i.position}:f={...i}),typeof a=="string"?u=a:!f.cause&&a&&(d=!0,u=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof s=="string"){const b=s.indexOf(":");b===-1?f.ruleId=s:(f.source=s.slice(0,b),f.ruleId=s.slice(b+1))}if(!f.place&&f.ancestors&&f.ancestors){const b=f.ancestors[f.ancestors.length-1];b&&(f.place=b.position)}const h=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=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=h?h.line:void 0,this.name=Sc(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=d&&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}}An.prototype.file="";An.prototype.name="";An.prototype.reason="";An.prototype.message="";An.prototype.stack="";An.prototype.column=void 0;An.prototype.line=void 0;An.prototype.ancestors=void 0;An.prototype.cause=void 0;An.prototype.fatal=void 0;An.prototype.place=void 0;An.prototype.ruleId=void 0;An.prototype.source=void 0;const Wv={}.hasOwnProperty,nB=new Map,rB=/[A-Z]/g,aB=new Set(["table","tbody","thead","tfoot","tr"]),iB=new Set(["td","th"]),eR="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function oB(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=a.filePath||void 0;let s;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");s=mB(i,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");s=hB(i,a.jsx,a.jsxs)}const u={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:s,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?Jv:$L,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=tR(u,n,void 0);return f&&typeof f!="string"?f:u.create(n,u.Fragment,{children:f||void 0},void 0)}function tR(n,a,i){if(a.type==="element")return sB(n,a,i);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return lB(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return cB(n,a,i);if(a.type==="mdxjsEsm")return uB(n,a);if(a.type==="root")return fB(n,a,i);if(a.type==="text")return dB(n,a)}function sB(n,a,i){const s=n.schema;let u=s;a.tagName.toLowerCase()==="svg"&&s.space==="html"&&(u=Jv,n.schema=u),n.ancestors.push(a);const f=rR(n,a.tagName,!1),d=pB(n,a);let h=t0(n,a);return aB.has(a.tagName)&&(h=h.filter(function(b){return typeof b=="string"?!VL(b):!0})),nR(n,d,f,a),e0(d,h),n.ancestors.pop(),n.schema=s,n.create(a,f,d,i)}function lB(n,a){if(a.data&&a.data.estree&&n.evaluater){const s=a.data.estree.body[0];return P(s.type==="ExpressionStatement"),n.evaluater.evaluateExpression(s.expression)}Cc(n,a.position)}function uB(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Cc(n,a.position)}function cB(n,a,i){const s=n.schema;let u=s;a.name==="svg"&&s.space==="html"&&(u=Jv,n.schema=u),n.ancestors.push(a);const f=a.name===null?n.Fragment:rR(n,a.name,!0),d=gB(n,a),h=t0(n,a);return nR(n,d,f,a),e0(d,h),n.ancestors.pop(),n.schema=s,n.create(a,f,d,i)}function fB(n,a,i){const s={};return e0(s,t0(n,a)),n.create(a,n.Fragment,s,i)}function dB(n,a){return a.value}function nR(n,a,i,s){typeof i!="string"&&i!==n.Fragment&&n.passNode&&(a.node=s)}function e0(n,a){if(a.length>0){const i=a.length>1?a:a[0];i&&(n.children=i)}}function hB(n,a,i){return s;function s(u,f,d,h){const g=Array.isArray(d.children)?i:a;return h?g(f,d,h):g(f,d)}}function mB(n,a){return i;function i(s,u,f,d){const h=Array.isArray(f.children),b=Kv(s);return a(u,f,d,h,{columnNumber:b?b.column-1:void 0,fileName:n,lineNumber:b?b.line:void 0},void 0)}}function pB(n,a){const i={};let s,u;for(u in a.properties)if(u!=="children"&&Wv.call(a.properties,u)){const f=yB(n,u,a.properties[u]);if(f){const[d,h]=f;n.tableCellAlignToStyle&&d==="align"&&typeof h=="string"&&iB.has(a.tagName)?s=h:i[d]=h}}if(s){const f=i.style||(i.style={});f[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return i}function gB(n,a){const i={};for(const s of a.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&n.evaluater){const f=s.data.estree.body[0];P(f.type==="ExpressionStatement");const d=f.expression;P(d.type==="ObjectExpression");const h=d.properties[0];P(h.type==="SpreadElement"),Object.assign(i,n.evaluater.evaluateExpression(h.argument))}else Cc(n,a.position);else{const u=s.name;let f;if(s.value&&typeof s.value=="object")if(s.value.data&&s.value.data.estree&&n.evaluater){const h=s.value.data.estree.body[0];P(h.type==="ExpressionStatement"),f=n.evaluater.evaluateExpression(h.expression)}else Cc(n,a.position);else f=s.value===null?!0:s.value;i[u]=f}return i}function t0(n,a){const i=[];let s=-1;const u=n.passKeys?new Map:nB;for(;++s<a.children.length;){const f=a.children[s];let d;if(n.passKeys){const b=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(b){const g=u.get(b)||0;d=b+"-"+g,u.set(b,g+1)}}const h=tR(n,f,d);h!==void 0&&i.push(h)}return i}function yB(n,a,i){const s=FL(n.schema,a);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=s.commaSeparated?ML(i):XL(i)),s.property==="style"){let u=typeof i=="object"?i:bB(n,String(i));return n.stylePropertyNameCase==="css"&&(u=vB(u)),["style",u]}return[n.elementAttributeNameCase==="react"&&s.space?PL[s.property]||s.property:s.attribute,i]}}function bB(n,a){try{return eB(a,{reactCompat:!0})}catch(i){if(n.ignoreInvalidStyle)return{};const s=i,u=new An("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:s,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=n.filePath||void 0,u.url=eR+"#cannot-parse-style-attribute",u}}function rR(n,a,i){let s;if(!i)s={type:"Literal",value:a};else if(a.includes(".")){const u=a.split(".");let f=-1,d;for(;++f<u.length;){const h=qw(u[f])?{type:"Identifier",name:u[f]}:{type:"Literal",value:u[f]};d=d?{type:"MemberExpression",object:d,property:h,computed:!!(f&&h.type==="Literal"),optional:!1}:h}P(d,"always a result"),s=d}else s=qw(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(s.type==="Literal"){const u=s.value;return Wv.call(n.components,u)?n.components[u]:u}if(n.evaluater)return n.evaluater.evaluateExpression(s);Cc(n)}function Cc(n,a){const i=new An("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=n.filePath||void 0,i.url=eR+"#cannot-handle-mdx-estrees-without-createevaluater",i}function vB(n){const a={};let i;for(i in n)Wv.call(n,i)&&(a[xB(i)]=n[i]);return a}function xB(n){let a=n.replace(rB,SB);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function SB(n){return"-"+n.toLowerCase()}const ub={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"]},DB={};function EB(n,a){const i=DB,s=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,u=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return aR(n,s,u)}function aR(n,a,i){if(TB(n)){if("value"in n)return n.type==="html"&&!i?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Kw(n.children,a,i)}return Array.isArray(n)?Kw(n,a,i):""}function Kw(n,a,i){const s=[];let u=-1;for(;++u<n.length;)s[u]=aR(n[u],a,i);return s.join("")}function TB(n){return!!(n&&typeof n=="object")}const Ww=document.createElement("i");function n0(n){const a="&"+n+";";Ww.innerHTML=a;const i=Ww.textContent;return i.charCodeAt(i.length-1)===59&&n!=="semi"||i===a?!1:i}const w={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,ht:9,lf:10,vt:11,cr:13,space:32,exclamationMark:33,quotationMark:34,numberSign:35,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseX:88,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseX:120,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},Ae={atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},A={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},za={ht:" ",lf:`
255
- `,cr:"\r",space:" ",replacementCharacter:"�"};function La(n,a,i,s){const u=n.length;let f=0,d;if(a<0?a=-a>u?0:u+a:a=a>u?u:a,i=i>0?i:0,s.length<Ae.v8MaxSafeChunkSize)d=Array.from(s),d.unshift(a,i),n.splice(...d);else for(i&&n.splice(a,i);f<s.length;)d=s.slice(f,f+Ae.v8MaxSafeChunkSize),d.unshift(a,0),n.splice(...d),f+=Ae.v8MaxSafeChunkSize,a+=Ae.v8MaxSafeChunkSize}function Ur(n,a){return n.length>0?(La(n,n.length,0,a),n):a}const eN={}.hasOwnProperty;function AB(n){const a={};let i=-1;for(;++i<n.length;)wB(a,n[i]);return a}function wB(n,a){let i;for(i in a){const u=(eN.call(n,i)?n[i]:void 0)||(n[i]={}),f=a[i];let d;if(f)for(d in f){eN.call(u,d)||(u[d]=[]);const h=f[d];NB(u[d],Array.isArray(h)?h:h?[h]:[])}}}function NB(n,a){let i=-1;const s=[];for(;++i<a.length;)(a[i].add==="after"?n:s).push(a[i]);La(n,0,0,s)}function iR(n,a){const i=Number.parseInt(n,a);return i<w.ht||i===w.vt||i>w.cr&&i<w.space||i>w.tilde&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?za.replacementCharacter:String.fromCodePoint(i)}function El(n){return n.replace(/[\t\n\r ]+/g,za.space).replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ua=fo(/[A-Za-z]/),pr=fo(/[\dA-Za-z]/),kB=fo(/[#-'*+\--9=?A-Z^-~]/);function rv(n){return n!==null&&(n<w.space||n===w.del)}const av=fo(/\d/),CB=fo(/[\dA-Fa-f]/),RB=fo(/[!-/:-@[-`{-~]/);function Re(n){return n!==null&&n<w.horizontalTab}function Zn(n){return n!==null&&(n<w.nul||n===w.space)}function ut(n){return n===w.horizontalTab||n===w.virtualSpace||n===w.space}const OB=fo(new RegExp("\\p{P}|\\p{S}","u")),MB=fo(/\s/);function fo(n){return a;function a(i){return i!==null&&i>-1&&n.test(String.fromCharCode(i))}}function Ml(n){const a=[];let i=-1,s=0,u=0;for(;++i<n.length;){const f=n.charCodeAt(i);let d="";if(f===w.percentSign&&pr(n.charCodeAt(i+1))&&pr(n.charCodeAt(i+2)))u=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(d=String.fromCharCode(f));else if(f>55295&&f<57344){const h=n.charCodeAt(i+1);f<56320&&h>56319&&h<57344?(d=String.fromCharCode(f,h),u=1):d=za.replacementCharacter}else d=String.fromCharCode(f);d&&(a.push(n.slice(s,i),encodeURIComponent(d)),s=i+u+1,d=""),u&&(i+=u,u=0)}return a.join("")+n.slice(s)}function Tt(n,a,i,s){const u=s?s-1:Number.POSITIVE_INFINITY;let f=0;return d;function d(b){return ut(b)?(n.enter(i),h(b)):a(b)}function h(b){return ut(b)&&f++<u?(n.consume(b),h):(n.exit(i),a(b))}}const _B={tokenize:zB};function zB(n){const a=n.attempt(this.parser.constructs.contentInitial,s,u);let i;return a;function s(h){if(P(h===w.eof||Re(h),"expected eol or eof"),h===w.eof){n.consume(h);return}return n.enter(A.lineEnding),n.consume(h),n.exit(A.lineEnding),Tt(n,a,A.linePrefix)}function u(h){return P(h!==w.eof&&!Re(h),"expected anything other than a line ending or EOF"),n.enter(A.paragraph),f(h)}function f(h){const b=n.enter(A.chunkText,{contentType:Ae.contentTypeText,previous:i});return i&&(i.next=b),i=b,d(h)}function d(h){if(h===w.eof){n.exit(A.chunkText),n.exit(A.paragraph),n.consume(h);return}return Re(h)?(n.consume(h),n.exit(A.chunkText),f):(n.consume(h),d)}}const UB={tokenize:jB},tN={tokenize:VB};function jB(n){const a=this,i=[];let s=0,u,f,d;return h;function h(I){if(s<i.length){const ie=i[s];return a.containerState=ie[1],P(ie[0].continuation,"expected `continuation` to be defined on container construct"),n.attempt(ie[0].continuation,b,g)(I)}return g(I)}function b(I){if(P(a.containerState,"expected `containerState` to be defined after continuation"),s++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,u&&Q();const ie=a.events.length;let re=ie,G;for(;re--;)if(a.events[re][0]==="exit"&&a.events[re][1].type===A.chunkFlow){G=a.events[re][1].end;break}P(G,"could not find previous flow chunk"),z(s);let ye=ie;for(;ye<a.events.length;)a.events[ye][1].end={...G},ye++;return La(a.events,re+1,0,a.events.slice(ie)),a.events.length=ye,g(I)}return h(I)}function g(I){if(s===i.length){if(!u)return x(I);if(u.currentConstruct&&u.currentConstruct.concrete)return N(I);a.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(tN,p,v)(I)}function p(I){return u&&Q(),z(s),x(I)}function v(I){return a.parser.lazy[a.now().line]=s!==i.length,d=a.now().offset,N(I)}function x(I){return a.containerState={},n.attempt(tN,S,N)(I)}function S(I){return P(a.currentConstruct,"expected `currentConstruct` to be defined on tokenizer"),P(a.containerState,"expected `containerState` to be defined on tokenizer"),s++,i.push([a.currentConstruct,a.containerState]),x(I)}function N(I){if(I===w.eof){u&&Q(),z(0),n.consume(I);return}return u=u||a.parser.flow(a.now()),n.enter(A.chunkFlow,{_tokenizer:u,contentType:Ae.contentTypeFlow,previous:f}),V(I)}function V(I){if(I===w.eof){R(n.exit(A.chunkFlow),!0),z(0),n.consume(I);return}return Re(I)?(n.consume(I),R(n.exit(A.chunkFlow)),s=0,a.interrupt=void 0,h):(n.consume(I),V)}function R(I,ie){P(u,"expected `childFlow` to be defined when continuing");const re=a.sliceStream(I);if(ie&&re.push(null),I.previous=f,f&&(f.next=I),f=I,u.defineSkip(I.start),u.write(re),a.parser.lazy[I.start.line]){let G=u.events.length;for(;G--;)if(u.events[G][1].start.offset<d&&(!u.events[G][1].end||u.events[G][1].end.offset>d))return;const ye=a.events.length;let se=ye,ce,F;for(;se--;)if(a.events[se][0]==="exit"&&a.events[se][1].type===A.chunkFlow){if(ce){F=a.events[se][1].end;break}ce=!0}for(P(F,"could not find previous flow chunk"),z(s),G=ye;G<a.events.length;)a.events[G][1].end={...F},G++;La(a.events,se+1,0,a.events.slice(ye)),a.events.length=G}}function z(I){let ie=i.length;for(;ie-- >I;){const re=i[ie];a.containerState=re[1],P(re[0].exit,"expected `exit` to be defined on container construct"),re[0].exit.call(a,n)}i.length=I}function Q(){P(a.containerState,"expected `containerState` to be defined when closing flow"),P(u,"expected `childFlow` to be defined when closing it"),u.write([w.eof]),f=void 0,u=void 0,a.containerState._closeFlow=void 0}}function VB(n,a,i){return P(this.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,n.attempt(this.parser.constructs.document,a,i),A.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)}function nN(n){if(n===w.eof||Zn(n)||MB(n))return Ae.characterGroupWhitespace;if(OB(n))return Ae.characterGroupPunctuation}function r0(n,a,i){const s=[];let u=-1;for(;++u<n.length;){const f=n[u].resolveAll;f&&!s.includes(f)&&(a=f(a,i),s.push(f))}return a}const iv={name:"attention",resolveAll:LB,tokenize:BB};function LB(n,a){let i=-1,s,u,f,d,h,b,g,p;for(;++i<n.length;)if(n[i][0]==="enter"&&n[i][1].type==="attentionSequence"&&n[i][1]._close){for(s=i;s--;)if(n[s][0]==="exit"&&n[s][1].type==="attentionSequence"&&n[s][1]._open&&a.sliceSerialize(n[s][1]).charCodeAt(0)===a.sliceSerialize(n[i][1]).charCodeAt(0)){if((n[s][1]._close||n[i][1]._open)&&(n[i][1].end.offset-n[i][1].start.offset)%3&&!((n[s][1].end.offset-n[s][1].start.offset+n[i][1].end.offset-n[i][1].start.offset)%3))continue;b=n[s][1].end.offset-n[s][1].start.offset>1&&n[i][1].end.offset-n[i][1].start.offset>1?2:1;const v={...n[s][1].end},x={...n[i][1].start};rN(v,-b),rN(x,b),d={type:b>1?A.strongSequence:A.emphasisSequence,start:v,end:{...n[s][1].end}},h={type:b>1?A.strongSequence:A.emphasisSequence,start:{...n[i][1].start},end:x},f={type:b>1?A.strongText:A.emphasisText,start:{...n[s][1].end},end:{...n[i][1].start}},u={type:b>1?A.strong:A.emphasis,start:{...d.start},end:{...h.end}},n[s][1].end={...d.start},n[i][1].start={...h.end},g=[],n[s][1].end.offset-n[s][1].start.offset&&(g=Ur(g,[["enter",n[s][1],a],["exit",n[s][1],a]])),g=Ur(g,[["enter",u,a],["enter",d,a],["exit",d,a],["enter",f,a]]),P(a.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),g=Ur(g,r0(a.parser.constructs.insideSpan.null,n.slice(s+1,i),a)),g=Ur(g,[["exit",f,a],["enter",h,a],["exit",h,a],["exit",u,a]]),n[i][1].end.offset-n[i][1].start.offset?(p=2,g=Ur(g,[["enter",n[i][1],a],["exit",n[i][1],a]])):p=0,La(n,s-1,i-s+3,g),i=s+g.length-p-2;break}}for(i=-1;++i<n.length;)n[i][1].type==="attentionSequence"&&(n[i][1].type="data");return n}function BB(n,a){const i=this.parser.constructs.attentionMarkers.null,s=this.previous,u=nN(s);let f;return d;function d(b){return P(b===w.asterisk||b===w.underscore,"expected asterisk or underscore"),f=b,n.enter("attentionSequence"),h(b)}function h(b){if(b===f)return n.consume(b),h;const g=n.exit("attentionSequence"),p=nN(b);P(i,"expected `attentionMarkers` to be populated");const v=!p||p===Ae.characterGroupPunctuation&&u||i.includes(b),x=!u||u===Ae.characterGroupPunctuation&&p||i.includes(s);return g._open=!!(f===w.asterisk?v:v&&(u||!x)),g._close=!!(f===w.asterisk?x:x&&(p||!v)),a(b)}}function rN(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const HB={name:"autolink",tokenize:PB};function PB(n,a,i){let s=0;return u;function u(S){return P(S===w.lessThan,"expected `<`"),n.enter(A.autolink),n.enter(A.autolinkMarker),n.consume(S),n.exit(A.autolinkMarker),n.enter(A.autolinkProtocol),f}function f(S){return Ua(S)?(n.consume(S),d):S===w.atSign?i(S):g(S)}function d(S){return S===w.plusSign||S===w.dash||S===w.dot||pr(S)?(s=1,h(S)):g(S)}function h(S){return S===w.colon?(n.consume(S),s=0,b):(S===w.plusSign||S===w.dash||S===w.dot||pr(S))&&s++<Ae.autolinkSchemeSizeMax?(n.consume(S),h):(s=0,g(S))}function b(S){return S===w.greaterThan?(n.exit(A.autolinkProtocol),n.enter(A.autolinkMarker),n.consume(S),n.exit(A.autolinkMarker),n.exit(A.autolink),a):S===w.eof||S===w.space||S===w.lessThan||rv(S)?i(S):(n.consume(S),b)}function g(S){return S===w.atSign?(n.consume(S),p):kB(S)?(n.consume(S),g):i(S)}function p(S){return pr(S)?v(S):i(S)}function v(S){return S===w.dot?(n.consume(S),s=0,p):S===w.greaterThan?(n.exit(A.autolinkProtocol).type=A.autolinkEmail,n.enter(A.autolinkMarker),n.consume(S),n.exit(A.autolinkMarker),n.exit(A.autolink),a):x(S)}function x(S){if((S===w.dash||pr(S))&&s++<Ae.autolinkDomainSizeMax){const N=S===w.dash?x:v;return n.consume(S),N}return i(S)}}const Zh={partial:!0,tokenize:qB};function qB(n,a,i){return s;function s(f){return ut(f)?Tt(n,u,A.linePrefix)(f):u(f)}function u(f){return f===w.eof||Re(f)?a(f):i(f)}}const oR={continuation:{tokenize:FB},exit:YB,name:"blockQuote",tokenize:IB};function IB(n,a,i){const s=this;return u;function u(d){if(d===w.greaterThan){const h=s.containerState;return P(h,"expected `containerState` to be defined in container"),h.open||(n.enter(A.blockQuote,{_container:!0}),h.open=!0),n.enter(A.blockQuotePrefix),n.enter(A.blockQuoteMarker),n.consume(d),n.exit(A.blockQuoteMarker),f}return i(d)}function f(d){return ut(d)?(n.enter(A.blockQuotePrefixWhitespace),n.consume(d),n.exit(A.blockQuotePrefixWhitespace),n.exit(A.blockQuotePrefix),a):(n.exit(A.blockQuotePrefix),a(d))}}function FB(n,a,i){const s=this;return u;function u(d){return ut(d)?(P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,f,A.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)(d)):f(d)}function f(d){return n.attempt(oR,a,i)(d)}}function YB(n){n.exit(A.blockQuote)}const sR={name:"characterEscape",tokenize:GB};function GB(n,a,i){return s;function s(f){return P(f===w.backslash,"expected `\\`"),n.enter(A.characterEscape),n.enter(A.escapeMarker),n.consume(f),n.exit(A.escapeMarker),u}function u(f){return RB(f)?(n.enter(A.characterEscapeValue),n.consume(f),n.exit(A.characterEscapeValue),n.exit(A.characterEscape),a):i(f)}}const lR={name:"characterReference",tokenize:$B};function $B(n,a,i){const s=this;let u=0,f,d;return h;function h(v){return P(v===w.ampersand,"expected `&`"),n.enter(A.characterReference),n.enter(A.characterReferenceMarker),n.consume(v),n.exit(A.characterReferenceMarker),b}function b(v){return v===w.numberSign?(n.enter(A.characterReferenceMarkerNumeric),n.consume(v),n.exit(A.characterReferenceMarkerNumeric),g):(n.enter(A.characterReferenceValue),f=Ae.characterReferenceNamedSizeMax,d=pr,p(v))}function g(v){return v===w.uppercaseX||v===w.lowercaseX?(n.enter(A.characterReferenceMarkerHexadecimal),n.consume(v),n.exit(A.characterReferenceMarkerHexadecimal),n.enter(A.characterReferenceValue),f=Ae.characterReferenceHexadecimalSizeMax,d=CB,p):(n.enter(A.characterReferenceValue),f=Ae.characterReferenceDecimalSizeMax,d=av,p(v))}function p(v){if(v===w.semicolon&&u){const x=n.exit(A.characterReferenceValue);return d===pr&&!n0(s.sliceSerialize(x))?i(v):(n.enter(A.characterReferenceMarker),n.consume(v),n.exit(A.characterReferenceMarker),n.exit(A.characterReference),a)}return d(v)&&u++<f?(n.consume(v),p):i(v)}}const aN={partial:!0,tokenize:QB},iN={concrete:!0,name:"codeFenced",tokenize:XB};function XB(n,a,i){const s=this,u={partial:!0,tokenize:re};let f=0,d=0,h;return b;function b(G){return g(G)}function g(G){P(G===w.graveAccent||G===w.tilde,"expected `` ` `` or `~`");const ye=s.events[s.events.length-1];return f=ye&&ye[1].type===A.linePrefix?ye[2].sliceSerialize(ye[1],!0).length:0,h=G,n.enter(A.codeFenced),n.enter(A.codeFencedFence),n.enter(A.codeFencedFenceSequence),p(G)}function p(G){return G===h?(d++,n.consume(G),p):d<Ae.codeFencedSequenceSizeMin?i(G):(n.exit(A.codeFencedFenceSequence),ut(G)?Tt(n,v,A.whitespace)(G):v(G))}function v(G){return G===w.eof||Re(G)?(n.exit(A.codeFencedFence),s.interrupt?a(G):n.check(aN,V,ie)(G)):(n.enter(A.codeFencedFenceInfo),n.enter(A.chunkString,{contentType:Ae.contentTypeString}),x(G))}function x(G){return G===w.eof||Re(G)?(n.exit(A.chunkString),n.exit(A.codeFencedFenceInfo),v(G)):ut(G)?(n.exit(A.chunkString),n.exit(A.codeFencedFenceInfo),Tt(n,S,A.whitespace)(G)):G===w.graveAccent&&G===h?i(G):(n.consume(G),x)}function S(G){return G===w.eof||Re(G)?v(G):(n.enter(A.codeFencedFenceMeta),n.enter(A.chunkString,{contentType:Ae.contentTypeString}),N(G))}function N(G){return G===w.eof||Re(G)?(n.exit(A.chunkString),n.exit(A.codeFencedFenceMeta),v(G)):G===w.graveAccent&&G===h?i(G):(n.consume(G),N)}function V(G){return P(Re(G),"expected eol"),n.attempt(u,ie,R)(G)}function R(G){return P(Re(G),"expected eol"),n.enter(A.lineEnding),n.consume(G),n.exit(A.lineEnding),z}function z(G){return f>0&&ut(G)?Tt(n,Q,A.linePrefix,f+1)(G):Q(G)}function Q(G){return G===w.eof||Re(G)?n.check(aN,V,ie)(G):(n.enter(A.codeFlowValue),I(G))}function I(G){return G===w.eof||Re(G)?(n.exit(A.codeFlowValue),Q(G)):(n.consume(G),I)}function ie(G){return n.exit(A.codeFenced),a(G)}function re(G,ye,se){let ce=0;return F;function F(ae){return P(Re(ae),"expected eol"),G.enter(A.lineEnding),G.consume(ae),G.exit(A.lineEnding),he}function he(ae){return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),G.enter(A.codeFencedFence),ut(ae)?Tt(G,oe,A.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)(ae):oe(ae)}function oe(ae){return ae===h?(G.enter(A.codeFencedFenceSequence),X(ae)):se(ae)}function X(ae){return ae===h?(ce++,G.consume(ae),X):ce>=d?(G.exit(A.codeFencedFenceSequence),ut(ae)?Tt(G,ne,A.whitespace)(ae):ne(ae)):se(ae)}function ne(ae){return ae===w.eof||Re(ae)?(G.exit(A.codeFencedFence),ye(ae)):se(ae)}}}function QB(n,a,i){const s=this;return u;function u(d){return d===w.eof?i(d):(P(Re(d),"expected eol"),n.enter(A.lineEnding),n.consume(d),n.exit(A.lineEnding),f)}function f(d){return s.parser.lazy[s.now().line]?i(d):a(d)}}const cb={name:"codeIndented",tokenize:JB},ZB={partial:!0,tokenize:KB};function JB(n,a,i){const s=this;return u;function u(g){return P(ut(g)),n.enter(A.codeIndented),Tt(n,f,A.linePrefix,Ae.tabSize+1)(g)}function f(g){const p=s.events[s.events.length-1];return p&&p[1].type===A.linePrefix&&p[2].sliceSerialize(p[1],!0).length>=Ae.tabSize?d(g):i(g)}function d(g){return g===w.eof?b(g):Re(g)?n.attempt(ZB,d,b)(g):(n.enter(A.codeFlowValue),h(g))}function h(g){return g===w.eof||Re(g)?(n.exit(A.codeFlowValue),d(g)):(n.consume(g),h)}function b(g){return n.exit(A.codeIndented),a(g)}}function KB(n,a,i){const s=this;return u;function u(d){return s.parser.lazy[s.now().line]?i(d):Re(d)?(n.enter(A.lineEnding),n.consume(d),n.exit(A.lineEnding),u):Tt(n,f,A.linePrefix,Ae.tabSize+1)(d)}function f(d){const h=s.events[s.events.length-1];return h&&h[1].type===A.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=Ae.tabSize?a(d):Re(d)?u(d):i(d)}}const WB={name:"codeText",previous:uR,resolve:e6,tokenize:t6};function e6(n){let a=n.length-4,i=3,s,u;if((n[i][1].type===A.lineEnding||n[i][1].type==="space")&&(n[a][1].type===A.lineEnding||n[a][1].type==="space")){for(s=i;++s<a;)if(n[s][1].type===A.codeTextData){n[i][1].type=A.codeTextPadding,n[a][1].type=A.codeTextPadding,i+=2,a-=2;break}}for(s=i-1,a++;++s<=a;)u===void 0?s!==a&&n[s][1].type!==A.lineEnding&&(u=s):(s===a||n[s][1].type===A.lineEnding)&&(n[u][1].type=A.codeTextData,s!==u+2&&(n[u][1].end=n[s-1][1].end,n.splice(u+2,s-u-2),a-=s-u-2,s=u+2),u=void 0);return n}function uR(n){return n!==w.graveAccent||this.events[this.events.length-1][1].type===A.characterEscape}function t6(n,a,i){const s=this;let u=0,f,d;return h;function h(x){return P(x===w.graveAccent,"expected `` ` ``"),P(uR.call(s,s.previous),"expected correct previous"),n.enter(A.codeText),n.enter(A.codeTextSequence),b(x)}function b(x){return x===w.graveAccent?(n.consume(x),u++,b):(n.exit(A.codeTextSequence),g(x))}function g(x){return x===w.eof?i(x):x===w.space?(n.enter("space"),n.consume(x),n.exit("space"),g):x===w.graveAccent?(d=n.enter(A.codeTextSequence),f=0,v(x)):Re(x)?(n.enter(A.lineEnding),n.consume(x),n.exit(A.lineEnding),g):(n.enter(A.codeTextData),p(x))}function p(x){return x===w.eof||x===w.space||x===w.graveAccent||Re(x)?(n.exit(A.codeTextData),g(x)):(n.consume(x),p)}function v(x){return x===w.graveAccent?(n.consume(x),f++,v):f===u?(n.exit(A.codeTextSequence),n.exit(A.codeText),a(x)):(d.type=A.codeTextData,p(x))}}class n6{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,i){const s=i??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(a,s):a>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(a,i,s){const u=i||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return s&&mc(this.left,s),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),mc(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),mc(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const i=this.left.splice(a,Number.POSITIVE_INFINITY);mc(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);mc(this.left,i.reverse())}}}function mc(n,a){let i=0;if(a.length<Ae.v8MaxSafeChunkSize)n.push(...a);else for(;i<a.length;)n.push(...a.slice(i,i+Ae.v8MaxSafeChunkSize)),i+=Ae.v8MaxSafeChunkSize}function cR(n){const a={};let i=-1,s,u,f,d,h,b,g;const p=new n6(n);for(;++i<p.length;){for(;i in a;)i=a[i];if(s=p.get(i),i&&s[1].type===A.chunkFlow&&p.get(i-1)[1].type===A.listItemPrefix&&(P(s[1]._tokenizer,"expected `_tokenizer` on subtokens"),b=s[1]._tokenizer.events,f=0,f<b.length&&b[f][1].type===A.lineEndingBlank&&(f+=2),f<b.length&&b[f][1].type===A.content))for(;++f<b.length&&b[f][1].type!==A.content;)b[f][1].type===A.chunkText&&(b[f][1]._isInFirstContentOfListItem=!0,f++);if(s[0]==="enter")s[1].contentType&&(Object.assign(a,r6(p,i)),i=a[i],g=!0);else if(s[1]._container){for(f=i,u=void 0;f--;)if(d=p.get(f),d[1].type===A.lineEnding||d[1].type===A.lineEndingBlank)d[0]==="enter"&&(u&&(p.get(u)[1].type=A.lineEndingBlank),d[1].type=A.lineEnding,u=f);else if(!(d[1].type===A.linePrefix||d[1].type===A.listItemIndent))break;u&&(s[1].end={...p.get(u)[1].start},h=p.slice(u,i),h.unshift(s),p.splice(u,i-u+1,h))}}return La(n,0,Number.POSITIVE_INFINITY,p.slice(0)),!g}function r6(n,a){const i=n.get(a)[1],s=n.get(a)[2];let u=a-1;const f=[];P(i.contentType,"expected `contentType` on subtokens");let d=i._tokenizer;d||(d=s.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(d._contentTypeTextTrailing=!0));const h=d.events,b=[],g={};let p,v,x=-1,S=i,N=0,V=0;const R=[V];for(;S;){for(;n.get(++u)[1]!==S;);P(!v||S.previous===v,"expected previous to match"),P(!v||v.next===S,"expected next to match"),f.push(u),S._tokenizer||(p=s.sliceStream(S),S.next||p.push(w.eof),v&&d.defineSkip(S.start),S._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(p),S._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),v=S,S=S.next}for(S=i;++x<h.length;)h[x][0]==="exit"&&h[x-1][0]==="enter"&&h[x][1].type===h[x-1][1].type&&h[x][1].start.line!==h[x][1].end.line&&(P(S,"expected a current token"),V=x+1,R.push(V),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(d.events=[],S?(S._tokenizer=void 0,S.previous=void 0,P(!S.next,"expected no next token")):R.pop(),x=R.length;x--;){const z=h.slice(R[x],R[x+1]),Q=f.pop();P(Q!==void 0,"expected a start position when splicing"),b.push([Q,Q+z.length-1]),n.splice(Q,2,z)}for(b.reverse(),x=-1;++x<b.length;)g[N+b[x][0]]=N+b[x][1],N+=b[x][1]-b[x][0]-1;return g}const a6={resolve:o6,tokenize:s6},i6={partial:!0,tokenize:l6};function o6(n){return cR(n),n}function s6(n,a){let i;return s;function s(h){return P(h!==w.eof&&!Re(h),"expected no eof or eol"),n.enter(A.content),i=n.enter(A.chunkContent,{contentType:Ae.contentTypeContent}),u(h)}function u(h){return h===w.eof?f(h):Re(h)?n.check(i6,d,f)(h):(n.consume(h),u)}function f(h){return n.exit(A.chunkContent),n.exit(A.content),a(h)}function d(h){return P(Re(h),"expected eol"),n.consume(h),n.exit(A.chunkContent),P(i,"expected previous token"),i.next=n.enter(A.chunkContent,{contentType:Ae.contentTypeContent,previous:i}),i=i.next,u}}function l6(n,a,i){const s=this;return u;function u(d){return P(Re(d),"expected a line ending"),n.exit(A.chunkContent),n.enter(A.lineEnding),n.consume(d),n.exit(A.lineEnding),Tt(n,f,A.linePrefix)}function f(d){if(d===w.eof||Re(d))return i(d);P(s.parser.constructs.disable.null,"expected `disable.null` to be populated");const h=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type===A.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=Ae.tabSize?a(d):n.interrupt(s.parser.constructs.flow,i,a)(d)}}function fR(n,a,i,s,u,f,d,h,b){const g=b||Number.POSITIVE_INFINITY;let p=0;return v;function v(z){return z===w.lessThan?(n.enter(s),n.enter(u),n.enter(f),n.consume(z),n.exit(f),x):z===w.eof||z===w.space||z===w.rightParenthesis||rv(z)?i(z):(n.enter(s),n.enter(d),n.enter(h),n.enter(A.chunkString,{contentType:Ae.contentTypeString}),V(z))}function x(z){return z===w.greaterThan?(n.enter(f),n.consume(z),n.exit(f),n.exit(u),n.exit(s),a):(n.enter(h),n.enter(A.chunkString,{contentType:Ae.contentTypeString}),S(z))}function S(z){return z===w.greaterThan?(n.exit(A.chunkString),n.exit(h),x(z)):z===w.eof||z===w.lessThan||Re(z)?i(z):(n.consume(z),z===w.backslash?N:S)}function N(z){return z===w.lessThan||z===w.greaterThan||z===w.backslash?(n.consume(z),S):S(z)}function V(z){return!p&&(z===w.eof||z===w.rightParenthesis||Zn(z))?(n.exit(A.chunkString),n.exit(h),n.exit(d),n.exit(s),a(z)):p<g&&z===w.leftParenthesis?(n.consume(z),p++,V):z===w.rightParenthesis?(n.consume(z),p--,V):z===w.eof||z===w.space||z===w.leftParenthesis||rv(z)?i(z):(n.consume(z),z===w.backslash?R:V)}function R(z){return z===w.leftParenthesis||z===w.rightParenthesis||z===w.backslash?(n.consume(z),V):V(z)}}function dR(n,a,i,s,u,f){const d=this;let h=0,b;return g;function g(S){return P(S===w.leftSquareBracket,"expected `[`"),n.enter(s),n.enter(u),n.consume(S),n.exit(u),n.enter(f),p}function p(S){return h>Ae.linkReferenceSizeMax||S===w.eof||S===w.leftSquareBracket||S===w.rightSquareBracket&&!b||S===w.caret&&!h&&"_hiddenFootnoteSupport"in d.parser.constructs?i(S):S===w.rightSquareBracket?(n.exit(f),n.enter(u),n.consume(S),n.exit(u),n.exit(s),a):Re(S)?(n.enter(A.lineEnding),n.consume(S),n.exit(A.lineEnding),p):(n.enter(A.chunkString,{contentType:Ae.contentTypeString}),v(S))}function v(S){return S===w.eof||S===w.leftSquareBracket||S===w.rightSquareBracket||Re(S)||h++>Ae.linkReferenceSizeMax?(n.exit(A.chunkString),p(S)):(n.consume(S),b||(b=!ut(S)),S===w.backslash?x:v)}function x(S){return S===w.leftSquareBracket||S===w.backslash||S===w.rightSquareBracket?(n.consume(S),h++,v):v(S)}}function hR(n,a,i,s,u,f){let d;return h;function h(x){return x===w.quotationMark||x===w.apostrophe||x===w.leftParenthesis?(n.enter(s),n.enter(u),n.consume(x),n.exit(u),d=x===w.leftParenthesis?w.rightParenthesis:x,b):i(x)}function b(x){return x===d?(n.enter(u),n.consume(x),n.exit(u),n.exit(s),a):(n.enter(f),g(x))}function g(x){return x===d?(n.exit(f),b(d)):x===w.eof?i(x):Re(x)?(n.enter(A.lineEnding),n.consume(x),n.exit(A.lineEnding),Tt(n,g,A.linePrefix)):(n.enter(A.chunkString,{contentType:Ae.contentTypeString}),p(x))}function p(x){return x===d||x===w.eof||Re(x)?(n.exit(A.chunkString),g(x)):(n.consume(x),x===w.backslash?v:p)}function v(x){return x===d||x===w.backslash?(n.consume(x),p):p(x)}}function Dc(n,a){let i;return s;function s(u){return Re(u)?(n.enter(A.lineEnding),n.consume(u),n.exit(A.lineEnding),i=!0,s):ut(u)?Tt(n,s,i?A.linePrefix:A.lineSuffix)(u):a(u)}}const u6={name:"definition",tokenize:f6},c6={partial:!0,tokenize:d6};function f6(n,a,i){const s=this;let u;return f;function f(S){return n.enter(A.definition),d(S)}function d(S){return P(S===w.leftSquareBracket,"expected `[`"),dR.call(s,n,h,i,A.definitionLabel,A.definitionLabelMarker,A.definitionLabelString)(S)}function h(S){return u=El(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),S===w.colon?(n.enter(A.definitionMarker),n.consume(S),n.exit(A.definitionMarker),b):i(S)}function b(S){return Zn(S)?Dc(n,g)(S):g(S)}function g(S){return fR(n,p,i,A.definitionDestination,A.definitionDestinationLiteral,A.definitionDestinationLiteralMarker,A.definitionDestinationRaw,A.definitionDestinationString)(S)}function p(S){return n.attempt(c6,v,v)(S)}function v(S){return ut(S)?Tt(n,x,A.whitespace)(S):x(S)}function x(S){return S===w.eof||Re(S)?(n.exit(A.definition),s.parser.defined.push(u),a(S)):i(S)}}function d6(n,a,i){return s;function s(h){return Zn(h)?Dc(n,u)(h):i(h)}function u(h){return hR(n,f,i,A.definitionTitle,A.definitionTitleMarker,A.definitionTitleString)(h)}function f(h){return ut(h)?Tt(n,d,A.whitespace)(h):d(h)}function d(h){return h===w.eof||Re(h)?a(h):i(h)}}const h6={name:"hardBreakEscape",tokenize:m6};function m6(n,a,i){return s;function s(f){return P(f===w.backslash,"expected `\\`"),n.enter(A.hardBreakEscape),n.consume(f),u}function u(f){return Re(f)?(n.exit(A.hardBreakEscape),a(f)):i(f)}}const p6={name:"headingAtx",resolve:g6,tokenize:y6};function g6(n,a){let i=n.length-2,s=3,u,f;return n[s][1].type===A.whitespace&&(s+=2),i-2>s&&n[i][1].type===A.whitespace&&(i-=2),n[i][1].type===A.atxHeadingSequence&&(s===i-1||i-4>s&&n[i-2][1].type===A.whitespace)&&(i-=s+1===i?2:4),i>s&&(u={type:A.atxHeadingText,start:n[s][1].start,end:n[i][1].end},f={type:A.chunkText,start:n[s][1].start,end:n[i][1].end,contentType:Ae.contentTypeText},La(n,s,i-s+1,[["enter",u,a],["enter",f,a],["exit",f,a],["exit",u,a]])),n}function y6(n,a,i){let s=0;return u;function u(p){return n.enter(A.atxHeading),f(p)}function f(p){return P(p===w.numberSign,"expected `#`"),n.enter(A.atxHeadingSequence),d(p)}function d(p){return p===w.numberSign&&s++<Ae.atxHeadingOpeningFenceSizeMax?(n.consume(p),d):p===w.eof||Zn(p)?(n.exit(A.atxHeadingSequence),h(p)):i(p)}function h(p){return p===w.numberSign?(n.enter(A.atxHeadingSequence),b(p)):p===w.eof||Re(p)?(n.exit(A.atxHeading),a(p)):ut(p)?Tt(n,h,A.whitespace)(p):(n.enter(A.atxHeadingText),g(p))}function b(p){return p===w.numberSign?(n.consume(p),b):(n.exit(A.atxHeadingSequence),h(p))}function g(p){return p===w.eof||p===w.numberSign||Zn(p)?(n.exit(A.atxHeadingText),h(p)):(n.consume(p),g)}}const b6=["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"],oN=["pre","script","style","textarea"],v6={concrete:!0,name:"htmlFlow",resolveTo:D6,tokenize:E6},x6={partial:!0,tokenize:A6},S6={partial:!0,tokenize:T6};function D6(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type===A.htmlFlow););return a>1&&n[a-2][1].type===A.linePrefix&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function E6(n,a,i){const s=this;let u,f,d,h,b;return g;function g(C){return p(C)}function p(C){return P(C===w.lessThan,"expected `<`"),n.enter(A.htmlFlow),n.enter(A.htmlFlowData),n.consume(C),v}function v(C){return C===w.exclamationMark?(n.consume(C),x):C===w.slash?(n.consume(C),f=!0,V):C===w.questionMark?(n.consume(C),u=Ae.htmlInstruction,s.interrupt?a:O):Ua(C)?(P(C!==null),n.consume(C),d=String.fromCharCode(C),R):i(C)}function x(C){return C===w.dash?(n.consume(C),u=Ae.htmlComment,S):C===w.leftSquareBracket?(n.consume(C),u=Ae.htmlCdata,h=0,N):Ua(C)?(n.consume(C),u=Ae.htmlDeclaration,s.interrupt?a:O):i(C)}function S(C){return C===w.dash?(n.consume(C),s.interrupt?a:O):i(C)}function N(C){const xe=Ae.cdataOpeningString;return C===xe.charCodeAt(h++)?(n.consume(C),h===xe.length?s.interrupt?a:oe:N):i(C)}function V(C){return Ua(C)?(P(C!==null),n.consume(C),d=String.fromCharCode(C),R):i(C)}function R(C){if(C===w.eof||C===w.slash||C===w.greaterThan||Zn(C)){const xe=C===w.slash,at=d.toLowerCase();return!xe&&!f&&oN.includes(at)?(u=Ae.htmlRaw,s.interrupt?a(C):oe(C)):b6.includes(d.toLowerCase())?(u=Ae.htmlBasic,xe?(n.consume(C),z):s.interrupt?a(C):oe(C)):(u=Ae.htmlComplete,s.interrupt&&!s.parser.lazy[s.now().line]?i(C):f?Q(C):I(C))}return C===w.dash||pr(C)?(n.consume(C),d+=String.fromCharCode(C),R):i(C)}function z(C){return C===w.greaterThan?(n.consume(C),s.interrupt?a:oe):i(C)}function Q(C){return ut(C)?(n.consume(C),Q):F(C)}function I(C){return C===w.slash?(n.consume(C),F):C===w.colon||C===w.underscore||Ua(C)?(n.consume(C),ie):ut(C)?(n.consume(C),I):F(C)}function ie(C){return C===w.dash||C===w.dot||C===w.colon||C===w.underscore||pr(C)?(n.consume(C),ie):re(C)}function re(C){return C===w.equalsTo?(n.consume(C),G):ut(C)?(n.consume(C),re):I(C)}function G(C){return C===w.eof||C===w.lessThan||C===w.equalsTo||C===w.greaterThan||C===w.graveAccent?i(C):C===w.quotationMark||C===w.apostrophe?(n.consume(C),b=C,ye):ut(C)?(n.consume(C),G):se(C)}function ye(C){return C===b?(n.consume(C),b=null,ce):C===w.eof||Re(C)?i(C):(n.consume(C),ye)}function se(C){return C===w.eof||C===w.quotationMark||C===w.apostrophe||C===w.slash||C===w.lessThan||C===w.equalsTo||C===w.greaterThan||C===w.graveAccent||Zn(C)?re(C):(n.consume(C),se)}function ce(C){return C===w.slash||C===w.greaterThan||ut(C)?I(C):i(C)}function F(C){return C===w.greaterThan?(n.consume(C),he):i(C)}function he(C){return C===w.eof||Re(C)?oe(C):ut(C)?(n.consume(C),he):i(C)}function oe(C){return C===w.dash&&u===Ae.htmlComment?(n.consume(C),Y):C===w.lessThan&&u===Ae.htmlRaw?(n.consume(C),le):C===w.greaterThan&&u===Ae.htmlDeclaration?(n.consume(C),U):C===w.questionMark&&u===Ae.htmlInstruction?(n.consume(C),O):C===w.rightSquareBracket&&u===Ae.htmlCdata?(n.consume(C),Oe):Re(C)&&(u===Ae.htmlBasic||u===Ae.htmlComplete)?(n.exit(A.htmlFlowData),n.check(x6,ue,X)(C)):C===w.eof||Re(C)?(n.exit(A.htmlFlowData),X(C)):(n.consume(C),oe)}function X(C){return n.check(S6,ne,ue)(C)}function ne(C){return P(Re(C)),n.enter(A.lineEnding),n.consume(C),n.exit(A.lineEnding),ae}function ae(C){return C===w.eof||Re(C)?X(C):(n.enter(A.htmlFlowData),oe(C))}function Y(C){return C===w.dash?(n.consume(C),O):oe(C)}function le(C){return C===w.slash?(n.consume(C),d="",pe):oe(C)}function pe(C){if(C===w.greaterThan){const xe=d.toLowerCase();return oN.includes(xe)?(n.consume(C),U):oe(C)}return Ua(C)&&d.length<Ae.htmlRawSizeMax?(P(C!==null),n.consume(C),d+=String.fromCharCode(C),pe):oe(C)}function Oe(C){return C===w.rightSquareBracket?(n.consume(C),O):oe(C)}function O(C){return C===w.greaterThan?(n.consume(C),U):C===w.dash&&u===Ae.htmlComment?(n.consume(C),O):oe(C)}function U(C){return C===w.eof||Re(C)?(n.exit(A.htmlFlowData),ue(C)):(n.consume(C),U)}function ue(C){return n.exit(A.htmlFlow),a(C)}}function T6(n,a,i){const s=this;return u;function u(d){return Re(d)?(n.enter(A.lineEnding),n.consume(d),n.exit(A.lineEnding),f):i(d)}function f(d){return s.parser.lazy[s.now().line]?i(d):a(d)}}function A6(n,a,i){return s;function s(u){return P(Re(u),"expected a line ending"),n.enter(A.lineEnding),n.consume(u),n.exit(A.lineEnding),n.attempt(Zh,a,i)}}const w6={name:"htmlText",tokenize:N6};function N6(n,a,i){const s=this;let u,f,d;return h;function h(O){return P(O===w.lessThan,"expected `<`"),n.enter(A.htmlText),n.enter(A.htmlTextData),n.consume(O),b}function b(O){return O===w.exclamationMark?(n.consume(O),g):O===w.slash?(n.consume(O),re):O===w.questionMark?(n.consume(O),I):Ua(O)?(n.consume(O),se):i(O)}function g(O){return O===w.dash?(n.consume(O),p):O===w.leftSquareBracket?(n.consume(O),f=0,N):Ua(O)?(n.consume(O),Q):i(O)}function p(O){return O===w.dash?(n.consume(O),S):i(O)}function v(O){return O===w.eof?i(O):O===w.dash?(n.consume(O),x):Re(O)?(d=v,le(O)):(n.consume(O),v)}function x(O){return O===w.dash?(n.consume(O),S):v(O)}function S(O){return O===w.greaterThan?Y(O):O===w.dash?x(O):v(O)}function N(O){const U=Ae.cdataOpeningString;return O===U.charCodeAt(f++)?(n.consume(O),f===U.length?V:N):i(O)}function V(O){return O===w.eof?i(O):O===w.rightSquareBracket?(n.consume(O),R):Re(O)?(d=V,le(O)):(n.consume(O),V)}function R(O){return O===w.rightSquareBracket?(n.consume(O),z):V(O)}function z(O){return O===w.greaterThan?Y(O):O===w.rightSquareBracket?(n.consume(O),z):V(O)}function Q(O){return O===w.eof||O===w.greaterThan?Y(O):Re(O)?(d=Q,le(O)):(n.consume(O),Q)}function I(O){return O===w.eof?i(O):O===w.questionMark?(n.consume(O),ie):Re(O)?(d=I,le(O)):(n.consume(O),I)}function ie(O){return O===w.greaterThan?Y(O):I(O)}function re(O){return Ua(O)?(n.consume(O),G):i(O)}function G(O){return O===w.dash||pr(O)?(n.consume(O),G):ye(O)}function ye(O){return Re(O)?(d=ye,le(O)):ut(O)?(n.consume(O),ye):Y(O)}function se(O){return O===w.dash||pr(O)?(n.consume(O),se):O===w.slash||O===w.greaterThan||Zn(O)?ce(O):i(O)}function ce(O){return O===w.slash?(n.consume(O),Y):O===w.colon||O===w.underscore||Ua(O)?(n.consume(O),F):Re(O)?(d=ce,le(O)):ut(O)?(n.consume(O),ce):Y(O)}function F(O){return O===w.dash||O===w.dot||O===w.colon||O===w.underscore||pr(O)?(n.consume(O),F):he(O)}function he(O){return O===w.equalsTo?(n.consume(O),oe):Re(O)?(d=he,le(O)):ut(O)?(n.consume(O),he):ce(O)}function oe(O){return O===w.eof||O===w.lessThan||O===w.equalsTo||O===w.greaterThan||O===w.graveAccent?i(O):O===w.quotationMark||O===w.apostrophe?(n.consume(O),u=O,X):Re(O)?(d=oe,le(O)):ut(O)?(n.consume(O),oe):(n.consume(O),ne)}function X(O){return O===u?(n.consume(O),u=void 0,ae):O===w.eof?i(O):Re(O)?(d=X,le(O)):(n.consume(O),X)}function ne(O){return O===w.eof||O===w.quotationMark||O===w.apostrophe||O===w.lessThan||O===w.equalsTo||O===w.graveAccent?i(O):O===w.slash||O===w.greaterThan||Zn(O)?ce(O):(n.consume(O),ne)}function ae(O){return O===w.slash||O===w.greaterThan||Zn(O)?ce(O):i(O)}function Y(O){return O===w.greaterThan?(n.consume(O),n.exit(A.htmlTextData),n.exit(A.htmlText),a):i(O)}function le(O){return P(d,"expected return state"),P(Re(O),"expected eol"),n.exit(A.htmlTextData),n.enter(A.lineEnding),n.consume(O),n.exit(A.lineEnding),pe}function pe(O){return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),ut(O)?Tt(n,Oe,A.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)(O):Oe(O)}function Oe(O){return n.enter(A.htmlTextData),d(O)}}const a0={name:"labelEnd",resolveAll:O6,resolveTo:M6,tokenize:_6},k6={tokenize:z6},C6={tokenize:U6},R6={tokenize:j6};function O6(n){let a=-1;const i=[];for(;++a<n.length;){const s=n[a][1];if(i.push(n[a]),s.type===A.labelImage||s.type===A.labelLink||s.type===A.labelEnd){const u=s.type===A.labelImage?4:2;s.type=A.data,a+=u}}return n.length!==i.length&&La(n,0,n.length,i),n}function M6(n,a){let i=n.length,s=0,u,f,d,h;for(;i--;)if(u=n[i][1],f){if(u.type===A.link||u.type===A.labelLink&&u._inactive)break;n[i][0]==="enter"&&u.type===A.labelLink&&(u._inactive=!0)}else if(d){if(n[i][0]==="enter"&&(u.type===A.labelImage||u.type===A.labelLink)&&!u._balanced&&(f=i,u.type!==A.labelLink)){s=2;break}}else u.type===A.labelEnd&&(d=i);P(f!==void 0,"`open` is supposed to be found"),P(d!==void 0,"`close` is supposed to be found");const b={type:n[f][1].type===A.labelLink?A.link:A.image,start:{...n[f][1].start},end:{...n[n.length-1][1].end}},g={type:A.label,start:{...n[f][1].start},end:{...n[d][1].end}},p={type:A.labelText,start:{...n[f+s+2][1].end},end:{...n[d-2][1].start}};return h=[["enter",b,a],["enter",g,a]],h=Ur(h,n.slice(f+1,f+s+3)),h=Ur(h,[["enter",p,a]]),P(a.parser.constructs.insideSpan.null,"expected `insideSpan.null` to be populated"),h=Ur(h,r0(a.parser.constructs.insideSpan.null,n.slice(f+s+4,d-3),a)),h=Ur(h,[["exit",p,a],n[d-2],n[d-1],["exit",g,a]]),h=Ur(h,n.slice(d+1)),h=Ur(h,[["exit",b,a]]),La(n,f,n.length,h),n}function _6(n,a,i){const s=this;let u=s.events.length,f,d;for(;u--;)if((s.events[u][1].type===A.labelImage||s.events[u][1].type===A.labelLink)&&!s.events[u][1]._balanced){f=s.events[u][1];break}return h;function h(x){return P(x===w.rightSquareBracket,"expected `]`"),f?f._inactive?v(x):(d=s.parser.defined.includes(El(s.sliceSerialize({start:f.end,end:s.now()}))),n.enter(A.labelEnd),n.enter(A.labelMarker),n.consume(x),n.exit(A.labelMarker),n.exit(A.labelEnd),b):i(x)}function b(x){return x===w.leftParenthesis?n.attempt(k6,p,d?p:v)(x):x===w.leftSquareBracket?n.attempt(C6,p,d?g:v)(x):d?p(x):v(x)}function g(x){return n.attempt(R6,p,v)(x)}function p(x){return a(x)}function v(x){return f._balanced=!0,i(x)}}function z6(n,a,i){return s;function s(v){return P(v===w.leftParenthesis,"expected left paren"),n.enter(A.resource),n.enter(A.resourceMarker),n.consume(v),n.exit(A.resourceMarker),u}function u(v){return Zn(v)?Dc(n,f)(v):f(v)}function f(v){return v===w.rightParenthesis?p(v):fR(n,d,h,A.resourceDestination,A.resourceDestinationLiteral,A.resourceDestinationLiteralMarker,A.resourceDestinationRaw,A.resourceDestinationString,Ae.linkResourceDestinationBalanceMax)(v)}function d(v){return Zn(v)?Dc(n,b)(v):p(v)}function h(v){return i(v)}function b(v){return v===w.quotationMark||v===w.apostrophe||v===w.leftParenthesis?hR(n,g,i,A.resourceTitle,A.resourceTitleMarker,A.resourceTitleString)(v):p(v)}function g(v){return Zn(v)?Dc(n,p)(v):p(v)}function p(v){return v===w.rightParenthesis?(n.enter(A.resourceMarker),n.consume(v),n.exit(A.resourceMarker),n.exit(A.resource),a):i(v)}}function U6(n,a,i){const s=this;return u;function u(h){return P(h===w.leftSquareBracket,"expected left bracket"),dR.call(s,n,f,d,A.reference,A.referenceMarker,A.referenceString)(h)}function f(h){return s.parser.defined.includes(El(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?a(h):i(h)}function d(h){return i(h)}}function j6(n,a,i){return s;function s(f){return P(f===w.leftSquareBracket,"expected left bracket"),n.enter(A.reference),n.enter(A.referenceMarker),n.consume(f),n.exit(A.referenceMarker),u}function u(f){return f===w.rightSquareBracket?(n.enter(A.referenceMarker),n.consume(f),n.exit(A.referenceMarker),n.exit(A.reference),a):i(f)}}const V6={name:"labelStartImage",resolveAll:a0.resolveAll,tokenize:L6};function L6(n,a,i){const s=this;return u;function u(h){return P(h===w.exclamationMark,"expected `!`"),n.enter(A.labelImage),n.enter(A.labelImageMarker),n.consume(h),n.exit(A.labelImageMarker),f}function f(h){return h===w.leftSquareBracket?(n.enter(A.labelMarker),n.consume(h),n.exit(A.labelMarker),n.exit(A.labelImage),d):i(h)}function d(h){return h===w.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?i(h):a(h)}}const B6={name:"labelStartLink",resolveAll:a0.resolveAll,tokenize:H6};function H6(n,a,i){const s=this;return u;function u(d){return P(d===w.leftSquareBracket,"expected `[`"),n.enter(A.labelLink),n.enter(A.labelMarker),n.consume(d),n.exit(A.labelMarker),n.exit(A.labelLink),f}function f(d){return d===w.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?i(d):a(d)}}const fb={name:"lineEnding",tokenize:P6};function P6(n,a){return i;function i(s){return P(Re(s),"expected eol"),n.enter(A.lineEnding),n.consume(s),n.exit(A.lineEnding),Tt(n,a,A.linePrefix)}}const Nh={name:"thematicBreak",tokenize:q6};function q6(n,a,i){let s=0,u;return f;function f(g){return n.enter(A.thematicBreak),d(g)}function d(g){return P(g===w.asterisk||g===w.dash||g===w.underscore,"expected `*`, `-`, or `_`"),u=g,h(g)}function h(g){return g===u?(n.enter(A.thematicBreakSequence),b(g)):s>=Ae.thematicBreakMarkerCountMin&&(g===w.eof||Re(g))?(n.exit(A.thematicBreak),a(g)):i(g)}function b(g){return g===u?(n.consume(g),s++,b):(n.exit(A.thematicBreakSequence),ut(g)?Tt(n,h,A.whitespace)(g):h(g))}}const $n={continuation:{tokenize:G6},exit:X6,name:"list",tokenize:Y6},I6={partial:!0,tokenize:Q6},F6={partial:!0,tokenize:$6};function Y6(n,a,i){const s=this,u=s.events[s.events.length-1];let f=u&&u[1].type===A.linePrefix?u[2].sliceSerialize(u[1],!0).length:0,d=0;return h;function h(S){P(s.containerState,"expected state");const N=s.containerState.type||(S===w.asterisk||S===w.plusSign||S===w.dash?A.listUnordered:A.listOrdered);if(N===A.listUnordered?!s.containerState.marker||S===s.containerState.marker:av(S)){if(s.containerState.type||(s.containerState.type=N,n.enter(N,{_container:!0})),N===A.listUnordered)return n.enter(A.listItemPrefix),S===w.asterisk||S===w.dash?n.check(Nh,i,g)(S):g(S);if(!s.interrupt||S===w.digit1)return n.enter(A.listItemPrefix),n.enter(A.listItemValue),b(S)}return i(S)}function b(S){return P(s.containerState,"expected state"),av(S)&&++d<Ae.listItemValueSizeMax?(n.consume(S),b):(!s.interrupt||d<2)&&(s.containerState.marker?S===s.containerState.marker:S===w.rightParenthesis||S===w.dot)?(n.exit(A.listItemValue),g(S)):i(S)}function g(S){return P(s.containerState,"expected state"),P(S!==w.eof,"eof (`null`) is not a marker"),n.enter(A.listItemMarker),n.consume(S),n.exit(A.listItemMarker),s.containerState.marker=s.containerState.marker||S,n.check(Zh,s.interrupt?i:p,n.attempt(I6,x,v))}function p(S){return P(s.containerState,"expected state"),s.containerState.initialBlankLine=!0,f++,x(S)}function v(S){return ut(S)?(n.enter(A.listItemPrefixWhitespace),n.consume(S),n.exit(A.listItemPrefixWhitespace),x):i(S)}function x(S){return P(s.containerState,"expected state"),s.containerState.size=f+s.sliceSerialize(n.exit(A.listItemPrefix),!0).length,a(S)}}function G6(n,a,i){const s=this;return P(s.containerState,"expected state"),s.containerState._closeFlow=void 0,n.check(Zh,u,f);function u(h){return P(s.containerState,"expected state"),P(typeof s.containerState.size=="number","expected size"),s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Tt(n,a,A.listItemIndent,s.containerState.size+1)(h)}function f(h){return P(s.containerState,"expected state"),s.containerState.furtherBlankLines||!ut(h)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,d(h)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,n.attempt(F6,a,d)(h))}function d(h){return P(s.containerState,"expected state"),s.containerState._closeFlow=!0,s.interrupt=void 0,P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,n.attempt($n,a,i),A.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize)(h)}}function $6(n,a,i){const s=this;return P(s.containerState,"expected state"),P(typeof s.containerState.size=="number","expected size"),Tt(n,u,A.listItemIndent,s.containerState.size+1);function u(f){P(s.containerState,"expected state");const d=s.events[s.events.length-1];return d&&d[1].type===A.listItemIndent&&d[2].sliceSerialize(d[1],!0).length===s.containerState.size?a(f):i(f)}}function X6(n){P(this.containerState,"expected state"),P(typeof this.containerState.type=="string","expected type"),n.exit(this.containerState.type)}function Q6(n,a,i){const s=this;return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,u,A.listItemPrefixWhitespace,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ae.tabSize+1);function u(f){const d=s.events[s.events.length-1];return!ut(f)&&d&&d[1].type===A.listItemPrefixWhitespace?a(f):i(f)}}const sN={name:"setextUnderline",resolveTo:Z6,tokenize:J6};function Z6(n,a){let i=n.length,s,u,f;for(;i--;)if(n[i][0]==="enter"){if(n[i][1].type===A.content){s=i;break}n[i][1].type===A.paragraph&&(u=i)}else n[i][1].type===A.content&&n.splice(i,1),!f&&n[i][1].type===A.definition&&(f=i);P(u!==void 0,"expected a `text` index to be found"),P(s!==void 0,"expected a `text` index to be found"),P(n[s][2]===a,"enter context should be same"),P(n[n.length-1][2]===a,"enter context should be same");const d={type:A.setextHeading,start:{...n[s][1].start},end:{...n[n.length-1][1].end}};return n[u][1].type=A.setextHeadingText,f?(n.splice(u,0,["enter",d,a]),n.splice(f+1,0,["exit",n[s][1],a]),n[s][1].end={...n[f][1].end}):n[s][1]=d,n.push(["exit",d,a]),n}function J6(n,a,i){const s=this;let u;return f;function f(g){let p=s.events.length,v;for(P(g===w.dash||g===w.equalsTo,"expected `=` or `-`");p--;)if(s.events[p][1].type!==A.lineEnding&&s.events[p][1].type!==A.linePrefix&&s.events[p][1].type!==A.content){v=s.events[p][1].type===A.paragraph;break}return!s.parser.lazy[s.now().line]&&(s.interrupt||v)?(n.enter(A.setextHeadingLine),u=g,d(g)):i(g)}function d(g){return n.enter(A.setextHeadingLineSequence),h(g)}function h(g){return g===u?(n.consume(g),h):(n.exit(A.setextHeadingLineSequence),ut(g)?Tt(n,b,A.lineSuffix)(g):b(g))}function b(g){return g===w.eof||Re(g)?(n.exit(A.setextHeadingLine),a(g)):i(g)}}const K6={tokenize:W6};function W6(n){const a=this,i=n.attempt(Zh,s,n.attempt(this.parser.constructs.flowInitial,u,Tt(n,n.attempt(this.parser.constructs.flow,u,n.attempt(a6,u)),A.linePrefix)));return i;function s(f){if(P(f===w.eof||Re(f),"expected eol or eof"),f===w.eof){n.consume(f);return}return n.enter(A.lineEndingBlank),n.consume(f),n.exit(A.lineEndingBlank),a.currentConstruct=void 0,i}function u(f){if(P(f===w.eof||Re(f),"expected eol or eof"),f===w.eof){n.consume(f);return}return n.enter(A.lineEnding),n.consume(f),n.exit(A.lineEnding),a.currentConstruct=void 0,i}}const e7={resolveAll:pR()},t7=mR("string"),n7=mR("text");function mR(n){return{resolveAll:pR(n==="text"?r7:void 0),tokenize:a};function a(i){const s=this,u=this.parser.constructs[n],f=i.attempt(u,d,h);return d;function d(p){return g(p)?f(p):h(p)}function h(p){if(p===w.eof){i.consume(p);return}return i.enter(A.data),i.consume(p),b}function b(p){return g(p)?(i.exit(A.data),f(p)):(i.consume(p),b)}function g(p){if(p===w.eof)return!0;const v=u[p];let x=-1;if(v)for(P(Array.isArray(v),"expected `disable.null` to be populated");++x<v.length;){const S=v[x];if(!S.previous||S.previous.call(s,s.previous))return!0}return!1}}}function pR(n){return a;function a(i,s){let u=-1,f;for(;++u<=i.length;)f===void 0?i[u]&&i[u][1].type===A.data&&(f=u,u++):(!i[u]||i[u][1].type!==A.data)&&(u!==f+2&&(i[f][1].end=i[u-1][1].end,i.splice(f+2,u-f-2),u=f+2),f=void 0);return n?n(i,s):i}}function r7(n,a){let i=0;for(;++i<=n.length;)if((i===n.length||n[i][1].type===A.lineEnding)&&n[i-1][1].type===A.data){const s=n[i-1][1],u=a.sliceStream(s);let f=u.length,d=-1,h=0,b;for(;f--;){const g=u[f];if(typeof g=="string"){for(d=g.length;g.charCodeAt(d-1)===w.space;)h++,d--;if(d)break;d=-1}else if(g===w.horizontalTab)b=!0,h++;else if(g!==w.virtualSpace){f++;break}}if(a._contentTypeTextTrailing&&i===n.length&&(h=0),h){const g={type:i===n.length||b||h<Ae.hardBreakPrefixSizeMin?A.lineSuffix:A.hardBreakTrailing,start:{_bufferIndex:f?d:s.start._bufferIndex+d,_index:s.start._index+f,line:s.end.line,column:s.end.column-h,offset:s.end.offset-h},end:{...s.end}};s.end={...g.start},s.start.offset===s.end.offset?Object.assign(s,g):(n.splice(i,0,["enter",g,a],["exit",g,a]),i+=2)}i++}return n}const a7={[w.asterisk]:$n,[w.plusSign]:$n,[w.dash]:$n,[w.digit0]:$n,[w.digit1]:$n,[w.digit2]:$n,[w.digit3]:$n,[w.digit4]:$n,[w.digit5]:$n,[w.digit6]:$n,[w.digit7]:$n,[w.digit8]:$n,[w.digit9]:$n,[w.greaterThan]:oR},i7={[w.leftSquareBracket]:u6},o7={[w.horizontalTab]:cb,[w.virtualSpace]:cb,[w.space]:cb},s7={[w.numberSign]:p6,[w.asterisk]:Nh,[w.dash]:[sN,Nh],[w.lessThan]:v6,[w.equalsTo]:sN,[w.underscore]:Nh,[w.graveAccent]:iN,[w.tilde]:iN},l7={[w.ampersand]:lR,[w.backslash]:sR},u7={[w.carriageReturn]:fb,[w.lineFeed]:fb,[w.carriageReturnLineFeed]:fb,[w.exclamationMark]:V6,[w.ampersand]:lR,[w.asterisk]:iv,[w.lessThan]:[HB,w6],[w.leftSquareBracket]:B6,[w.backslash]:[h6,sR],[w.rightSquareBracket]:a0,[w.underscore]:iv,[w.graveAccent]:WB},c7={null:[iv,e7]},f7={null:[w.asterisk,w.underscore]},d7={null:[]},h7=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:f7,contentInitial:i7,disable:d7,document:a7,flow:s7,flowInitial:o7,insideSpan:c7,string:l7,text:u7},Symbol.toStringTag,{value:"Module"}));var ch={exports:{}},db,lN;function m7(){if(lN)return db;lN=1;var n=1e3,a=n*60,i=a*60,s=i*24,u=s*7,f=s*365.25;db=function(p,v){v=v||{};var x=typeof p;if(x==="string"&&p.length>0)return d(p);if(x==="number"&&isFinite(p))return v.long?b(p):h(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function d(p){if(p=String(p),!(p.length>100)){var v=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(v){var x=parseFloat(v[1]),S=(v[2]||"ms").toLowerCase();switch(S){case"years":case"year":case"yrs":case"yr":case"y":return x*f;case"weeks":case"week":case"w":return x*u;case"days":case"day":case"d":return x*s;case"hours":case"hour":case"hrs":case"hr":case"h":return x*i;case"minutes":case"minute":case"mins":case"min":case"m":return x*a;case"seconds":case"second":case"secs":case"sec":case"s":return x*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return x;default:return}}}}function h(p){var v=Math.abs(p);return v>=s?Math.round(p/s)+"d":v>=i?Math.round(p/i)+"h":v>=a?Math.round(p/a)+"m":v>=n?Math.round(p/n)+"s":p+"ms"}function b(p){var v=Math.abs(p);return v>=s?g(p,v,s,"day"):v>=i?g(p,v,i,"hour"):v>=a?g(p,v,a,"minute"):v>=n?g(p,v,n,"second"):p+" ms"}function g(p,v,x,S){var N=v>=x*1.5;return Math.round(p/x)+" "+S+(N?"s":"")}return db}var hb,uN;function p7(){if(uN)return hb;uN=1;function n(a){s.debug=s,s.default=s,s.coerce=g,s.disable=h,s.enable=f,s.enabled=b,s.humanize=m7(),s.destroy=p,Object.keys(a).forEach(v=>{s[v]=a[v]}),s.names=[],s.skips=[],s.formatters={};function i(v){let x=0;for(let S=0;S<v.length;S++)x=(x<<5)-x+v.charCodeAt(S),x|=0;return s.colors[Math.abs(x)%s.colors.length]}s.selectColor=i;function s(v){let x,S=null,N,V;function R(...z){if(!R.enabled)return;const Q=R,I=Number(new Date),ie=I-(x||I);Q.diff=ie,Q.prev=x,Q.curr=I,x=I,z[0]=s.coerce(z[0]),typeof z[0]!="string"&&z.unshift("%O");let re=0;z[0]=z[0].replace(/%([a-zA-Z%])/g,(ye,se)=>{if(ye==="%%")return"%";re++;const ce=s.formatters[se];if(typeof ce=="function"){const F=z[re];ye=ce.call(Q,F),z.splice(re,1),re--}return ye}),s.formatArgs.call(Q,z),(Q.log||s.log).apply(Q,z)}return R.namespace=v,R.useColors=s.useColors(),R.color=s.selectColor(v),R.extend=u,R.destroy=s.destroy,Object.defineProperty(R,"enabled",{enumerable:!0,configurable:!1,get:()=>S!==null?S:(N!==s.namespaces&&(N=s.namespaces,V=s.enabled(v)),V),set:z=>{S=z}}),typeof s.init=="function"&&s.init(R),R}function u(v,x){const S=s(this.namespace+(typeof x>"u"?":":x)+v);return S.log=this.log,S}function f(v){s.save(v),s.namespaces=v,s.names=[],s.skips=[];const x=(typeof v=="string"?v:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const S of x)S[0]==="-"?s.skips.push(S.slice(1)):s.names.push(S)}function d(v,x){let S=0,N=0,V=-1,R=0;for(;S<v.length;)if(N<x.length&&(x[N]===v[S]||x[N]==="*"))x[N]==="*"?(V=N,R=S,N++):(S++,N++);else if(V!==-1)N=V+1,R++,S=R;else return!1;for(;N<x.length&&x[N]==="*";)N++;return N===x.length}function h(){const v=[...s.names,...s.skips.map(x=>"-"+x)].join(",");return s.enable(""),v}function b(v){for(const x of s.skips)if(d(v,x))return!1;for(const x of s.names)if(d(v,x))return!0;return!1}function g(v){return v instanceof Error?v.stack||v.message:v}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}return hb=n,hb}var cN;function g7(){return cN||(cN=1,(function(n,a){var i={};a.formatArgs=u,a.save=f,a.load=d,a.useColors=s,a.storage=h(),a.destroy=(()=>{let g=!1;return()=>{g||(g=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let g;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(g=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(g[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(g){if(g[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+g[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;g.splice(1,0,p,"color: inherit");let v=0,x=0;g[0].replace(/%[a-zA-Z%]/g,S=>{S!=="%%"&&(v++,S==="%c"&&(x=v))}),g.splice(x,0,p)}a.log=console.debug||console.log||(()=>{});function f(g){try{g?a.storage.setItem("debug",g):a.storage.removeItem("debug")}catch{}}function d(){let g;try{g=a.storage.getItem("debug")||a.storage.getItem("DEBUG")}catch{}return!g&&typeof process<"u"&&"env"in process&&(g=i.DEBUG),g}function h(){try{return localStorage}catch{}}n.exports=p7()(a);const{formatters:b}=n.exports;b.j=function(g){try{return JSON.stringify(g)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(ch,ch.exports)),ch.exports}var y7=g7();const b7=Rc(y7),Wo=b7("micromark");function v7(n,a,i){let s={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const u={},f=[];let d=[],h=[],b=!0;const g={attempt:ce(ye),check:ce(se),consume:ie,enter:re,exit:G,interrupt:ce(se,{interrupt:!0})},p={code:w.eof,containerState:{},defineSkip:z,events:[],now:R,parser:n,previous:w.eof,sliceSerialize:N,sliceStream:V,write:S};let v=a.tokenize.call(p,g),x;return a.resolveAll&&f.push(a),p;function S(X){return d=Ur(d,X),Q(),d[d.length-1]!==w.eof?[]:(F(a,0),p.events=r0(f,p.events,p),p.events)}function N(X,ne){return S7(V(X),ne)}function V(X){return x7(d,X)}function R(){const{_bufferIndex:X,_index:ne,line:ae,column:Y,offset:le}=s;return{_bufferIndex:X,_index:ne,line:ae,column:Y,offset:le}}function z(X){u[X.line]=X.column,oe(),Wo("position: define skip: `%j`",s)}function Q(){let X;for(;s._index<d.length;){const ne=d[s._index];if(typeof ne=="string")for(X=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===X&&s._bufferIndex<ne.length;)I(ne.charCodeAt(s._bufferIndex));else I(ne)}}function I(X){P(b===!0,"expected character to be consumed"),b=void 0,Wo("main: passing `%s` to %s",X,v&&v.name),x=X,P(typeof v=="function","expected state"),v=v(X)}function ie(X){P(X===x,"expected given code to equal expected code"),Wo("consume: `%s`",X),P(b===void 0,"expected code to not have been consumed: this might be because `return x(code)` instead of `return x` was used"),P(X===null?p.events.length===0||p.events[p.events.length-1][0]==="exit":p.events[p.events.length-1][0]==="enter","expected last token to be open"),Re(X)?(s.line++,s.column=1,s.offset+=X===w.carriageReturnLineFeed?2:1,oe(),Wo("position: after eol: `%j`",s)):X!==w.virtualSpace&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===d[s._index].length&&(s._bufferIndex=-1,s._index++)),p.previous=X,b=!0}function re(X,ne){const ae=ne||{};return ae.type=X,ae.start=R(),P(typeof X=="string","expected string type"),P(X.length>0,"expected non-empty string"),Wo("enter: `%s`",X),p.events.push(["enter",ae,p]),h.push(ae),ae}function G(X){P(typeof X=="string","expected string type"),P(X.length>0,"expected non-empty string");const ne=h.pop();return P(ne,"cannot close w/o open tokens"),ne.end=R(),P(X===ne.type,"expected exit token to match current token"),P(!(ne.start._index===ne.end._index&&ne.start._bufferIndex===ne.end._bufferIndex),"expected non-empty token (`"+X+"`)"),Wo("exit: `%s`",ne.type),p.events.push(["exit",ne,p]),ne}function ye(X,ne){F(X,ne.from)}function se(X,ne){ne.restore()}function ce(X,ne){return ae;function ae(Y,le,pe){let Oe,O,U,ue;return Array.isArray(Y)?xe(Y):"tokenize"in Y?xe([Y]):C(Y);function C(Ke){return Ut;function Ut(Lt){const De=Lt!==null&&Ke[Lt],Kn=Lt!==null&&Ke.null,Hr=[...Array.isArray(De)?De:De?[De]:[],...Array.isArray(Kn)?Kn:Kn?[Kn]:[]];return xe(Hr)(Lt)}}function xe(Ke){return Oe=Ke,O=0,Ke.length===0?(P(pe,"expected `bogusState` to be given"),pe):at(Ke[O])}function at(Ke){return Ut;function Ut(Lt){return ue=he(),U=Ke,Ke.partial||(p.currentConstruct=Ke),P(p.parser.constructs.disable.null,"expected `disable.null` to be populated"),Ke.name&&p.parser.constructs.disable.null.includes(Ke.name)?je(Lt):Ke.tokenize.call(ne?Object.assign(Object.create(p),ne):p,g,yn,je)(Lt)}}function yn(Ke){return P(Ke===x,"expected code"),b=!0,X(U,ue),le}function je(Ke){return P(Ke===x,"expected code"),b=!0,ue.restore(),++O<Oe.length?at(Oe[O]):pe}}}function F(X,ne){X.resolveAll&&!f.includes(X)&&f.push(X),X.resolve&&La(p.events,ne,p.events.length-ne,X.resolve(p.events.slice(ne),p)),X.resolveTo&&(p.events=X.resolveTo(p.events,p)),P(X.partial||p.events.length===0||p.events[p.events.length-1][0]==="exit","expected last token to end")}function he(){const X=R(),ne=p.previous,ae=p.currentConstruct,Y=p.events.length,le=Array.from(h);return{from:Y,restore:pe};function pe(){s=X,p.previous=ne,p.currentConstruct=ae,p.events.length=Y,h=le,oe(),Wo("position: restore: `%j`",s)}}function oe(){s.line in u&&s.column<2&&(s.column=u[s.line],s.offset+=u[s.line]-1)}}function x7(n,a){const i=a.start._index,s=a.start._bufferIndex,u=a.end._index,f=a.end._bufferIndex;let d;if(i===u)P(f>-1,"expected non-negative end buffer index"),P(s>-1,"expected non-negative start buffer index"),d=[n[i].slice(s,f)];else{if(d=n.slice(i,u),s>-1){const h=d[0];typeof h=="string"?d[0]=h.slice(s):(P(s===0,"expected `startBufferIndex` to be `0`"),d.shift())}f>0&&d.push(n[u].slice(0,f))}return d}function S7(n,a){let i=-1;const s=[];let u;for(;++i<n.length;){const f=n[i];let d;if(typeof f=="string")d=f;else switch(f){case w.carriageReturn:{d=za.cr;break}case w.lineFeed:{d=za.lf;break}case w.carriageReturnLineFeed:{d=za.cr+za.lf;break}case w.horizontalTab:{d=a?za.space:za.ht;break}case w.virtualSpace:{if(!a&&u)continue;d=za.space;break}default:P(typeof f=="number","expected number"),d=String.fromCharCode(f)}u=f===w.horizontalTab,s.push(d)}return s.join("")}function D7(n){const s={constructs:AB([h7,...(n||{}).extensions||[]]),content:u(_B),defined:[],document:u(UB),flow:u(K6),lazy:{},string:u(t7),text:u(n7)};return s;function u(f){return d;function d(h){return v7(s,f,h)}}}function E7(n){for(;!cR(n););return n}const fN=/[\0\t\n\r]/g;function T7(){let n=1,a="",i=!0,s;return u;function u(f,d,h){const b=[];let g,p,v,x,S;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(d||void 0).decode(f)),v=0,a="",i&&(f.charCodeAt(0)===w.byteOrderMarker&&v++,i=void 0);v<f.length;){if(fN.lastIndex=v,g=fN.exec(f),x=g&&g.index!==void 0?g.index:f.length,S=f.charCodeAt(x),!g){a=f.slice(v);break}if(S===w.lf&&v===x&&s)b.push(w.carriageReturnLineFeed),s=void 0;else switch(s&&(b.push(w.carriageReturn),s=void 0),v<x&&(b.push(f.slice(v,x)),n+=x-v),S){case w.nul:{b.push(w.replacementCharacter),n++;break}case w.ht:{for(p=Math.ceil(n/Ae.tabSize)*Ae.tabSize,b.push(w.horizontalTab);n++<p;)b.push(w.virtualSpace);break}case w.lf:{b.push(w.lineFeed),n=1;break}default:s=!0,n=1}v=x+1}return h&&(s&&b.push(w.carriageReturn),a&&b.push(a),b.push(w.eof)),b}}const A7=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function w7(n){return n.replace(A7,N7)}function N7(n,a,i){if(a)return a;if(i.charCodeAt(0)===w.numberSign){const u=i.charCodeAt(1),f=u===w.lowercaseX||u===w.uppercaseX;return iR(i.slice(f?2:1),f?Ae.numericBaseHexadecimal:Ae.numericBaseDecimal)}return n0(i)||n}const gR={}.hasOwnProperty;function k7(n,a,i){return typeof a!="string"&&(i=a,a=void 0),C7(i)(E7(D7(i).document().write(T7()(n,a,!0))))}function C7(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(ls),autolinkProtocol:ce,autolinkEmail:ce,atxHeading:f(Pr),blockQuote:f(Lt),characterEscape:ce,characterReference:ce,codeFenced:f(De),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(De,d),codeText:f(Kn,d),codeTextData:ce,data:ce,codeFlowValue:ce,definition:f(Hr),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(Ba),hardBreakEscape:f(lt),hardBreakTrailing:f(lt),htmlFlow:f(Wt,d),htmlFlowData:ce,htmlText:f(Wt,d),htmlTextData:ce,image:f(gi),label:d,link:f(ls),listItem:f(yi),listItemValue:x,listOrdered:f(we,v),listUnordered:f(we),paragraph:f(gr),reference:C,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(Pr),strong:f(Ha),thematicBreak:f(us)},exit:{atxHeading:b(),atxHeadingSequence:re,autolink:b(),autolinkEmail:Ut,autolinkProtocol:Ke,blockQuote:b(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:at,characterReferenceMarkerNumeric:at,characterReferenceValue:yn,characterReference:je,codeFenced:b(R),codeFencedFence:V,codeFencedFenceInfo:S,codeFencedFenceMeta:N,codeFlowValue:F,codeIndented:b(z),codeText:b(ae),codeTextData:F,data:F,definition:b(),definitionDestinationString:ie,definitionLabelString:Q,definitionTitleString:I,emphasis:b(),hardBreakEscape:b(oe),hardBreakTrailing:b(oe),htmlFlow:b(X),htmlFlowData:F,htmlText:b(ne),htmlTextData:F,image:b(le),label:Oe,labelText:pe,lineEnding:he,link:b(Y),listItem:b(),listOrdered:b(),listUnordered:b(),paragraph:b(),referenceString:xe,resourceDestinationString:O,resourceTitleString:U,resource:ue,setextHeading:b(se),setextHeadingLineSequence:ye,setextHeadingText:G,strong:b(),thematicBreak:b()}};yR(a,(n||{}).mdastExtensions||[]);const i={};return s;function s(W){let ee={type:"root",children:[]};const Te={stack:[ee],tokenStack:[],config:a,enter:h,exit:g,buffer:d,resume:p,data:i},Ie=[];let it=-1;for(;++it<W.length;)if(W[it][1].type===A.listOrdered||W[it][1].type===A.listUnordered)if(W[it][0]==="enter")Ie.push(it);else{const Pt=Ie.pop();P(typeof Pt=="number","expected list ot be open"),it=u(W,Pt,it)}for(it=-1;++it<W.length;){const Pt=a[W[it][0]];gR.call(Pt,W[it][1].type)&&Pt[W[it][1].type].call(Object.assign({sliceSerialize:W[it][2].sliceSerialize},Te),W[it][1])}if(Te.tokenStack.length>0){const Pt=Te.tokenStack[Te.tokenStack.length-1];(Pt[1]||dN).call(Te,void 0,Pt[0])}for(ee.position={start:ro(W.length>0?W[0][1].start:{line:1,column:1,offset:0}),end:ro(W.length>0?W[W.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<a.transforms.length;)ee=a.transforms[it](ee)||ee;return ee}function u(W,ee,Te){let Ie=ee-1,it=-1,Pt=!1,wn,an,Wn,yr;for(;++Ie<=Te;){const qt=W[Ie];switch(qt[1].type){case A.listUnordered:case A.listOrdered:case A.blockQuote:{qt[0]==="enter"?it++:it--,yr=void 0;break}case A.lineEndingBlank:{qt[0]==="enter"&&(wn&&!yr&&!it&&!Wn&&(Wn=Ie),yr=void 0);break}case A.linePrefix:case A.listItemValue:case A.listItemMarker:case A.listItemPrefix:case A.listItemPrefixWhitespace:break;default:yr=void 0}if(!it&&qt[0]==="enter"&&qt[1].type===A.listItemPrefix||it===-1&&qt[0]==="exit"&&(qt[1].type===A.listUnordered||qt[1].type===A.listOrdered)){if(wn){let Nn=Ie;for(an=void 0;Nn--;){const T=W[Nn];if(T[1].type===A.lineEnding||T[1].type===A.lineEndingBlank){if(T[0]==="exit")continue;an&&(W[an][1].type=A.lineEndingBlank,Pt=!0),T[1].type=A.lineEnding,an=Nn}else if(!(T[1].type===A.linePrefix||T[1].type===A.blockQuotePrefix||T[1].type===A.blockQuotePrefixWhitespace||T[1].type===A.blockQuoteMarker||T[1].type===A.listItemIndent))break}Wn&&(!an||Wn<an)&&(wn._spread=!0),wn.end=Object.assign({},an?W[an][1].start:qt[1].end),W.splice(an||Ie,0,["exit",wn,qt[2]]),Ie++,Te++}if(qt[1].type===A.listItemPrefix){const Nn={type:"listItem",_spread:!1,start:Object.assign({},qt[1].start),end:void 0};wn=Nn,W.splice(Ie,0,["enter",Nn,qt[2]]),Ie++,Te++,Wn=void 0,yr=!0}}}return W[ee][1]._spread=Pt,Te}function f(W,ee){return Te;function Te(Ie){h.call(this,W(Ie),Ie),ee&&ee.call(this,Ie)}}function d(){this.stack.push({type:"fragment",children:[]})}function h(W,ee,Te){const Ie=this.stack[this.stack.length-1];P(Ie,"expected `parent`"),P("children"in Ie,"expected `parent`"),Ie.children.push(W),this.stack.push(W),this.tokenStack.push([ee,Te||void 0]),W.position={start:ro(ee.start),end:void 0}}function b(W){return ee;function ee(Te){W&&W.call(this,Te),g.call(this,Te)}}function g(W,ee){const Te=this.stack.pop();P(Te,"expected `node`");const Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==W.type&&(ee?ee.call(this,W,Ie[0]):(Ie[1]||dN).call(this,W,Ie[0]));else throw new Error("Cannot close `"+W.type+"` ("+Sc({start:W.start,end:W.end})+"): it’s not open");P(Te.type!=="fragment","unexpected fragment `exit`ed"),P(Te.position,"expected `position` to be defined"),Te.position.end=ro(W.end)}function p(){return EB(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function x(W){if(this.data.expectingFirstListItemValue){const ee=this.stack[this.stack.length-2];P(ee,"expected nodes on stack"),P(ee.type==="list","expected list on stack"),ee.start=Number.parseInt(this.sliceSerialize(W),Ae.numericBaseDecimal),this.data.expectingFirstListItemValue=void 0}}function S(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.lang=W}function N(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.meta=W}function V(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.value=W.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function z(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.value=W.replace(/(\r?\n|\r)$/g,"")}function Q(W){const ee=this.resume(),Te=this.stack[this.stack.length-1];P(Te,"expected node on stack"),P(Te.type==="definition","expected definition on stack"),Te.label=ee,Te.identifier=El(this.sliceSerialize(W)).toLowerCase()}function I(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="definition","expected definition on stack"),ee.title=W}function ie(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="definition","expected definition on stack"),ee.url=W}function re(W){const ee=this.stack[this.stack.length-1];if(P(ee,"expected node on stack"),P(ee.type==="heading","expected heading on stack"),!ee.depth){const Te=this.sliceSerialize(W).length;P(Te===1||Te===2||Te===3||Te===4||Te===5||Te===6,"expected `depth` between `1` and `6`"),ee.depth=Te}}function G(){this.data.setextHeadingSlurpLineEnding=!0}function ye(W){const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="heading","expected heading on stack"),ee.depth=this.sliceSerialize(W).codePointAt(0)===w.equalsTo?1:2}function se(){this.data.setextHeadingSlurpLineEnding=void 0}function ce(W){const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P("children"in ee,"expected parent on stack");const Te=ee.children;let Ie=Te[Te.length-1];(!Ie||Ie.type!=="text")&&(Ie=ra(),Ie.position={start:ro(W.start),end:void 0},Te.push(Ie)),this.stack.push(Ie)}function F(W){const ee=this.stack.pop();P(ee,"expected a `node` to be on the stack"),P("value"in ee,"expected a `literal` to be on the stack"),P(ee.position,"expected `node` to have an open position"),ee.value+=this.sliceSerialize(W),ee.position.end=ro(W.end)}function he(W){const ee=this.stack[this.stack.length-1];if(P(ee,"expected `node`"),this.data.atHardBreak){P("children"in ee,"expected `parent`");const Te=ee.children[ee.children.length-1];P(Te.position,"expected tail to have a starting position"),Te.position.end=ro(W.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(ee.type)&&(ce.call(this,W),F.call(this,W))}function oe(){this.data.atHardBreak=!0}function X(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="html","expected html on stack"),ee.value=W}function ne(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="html","expected html on stack"),ee.value=W}function ae(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="inlineCode","expected inline code on stack"),ee.value=W}function Y(){const W=this.stack[this.stack.length-1];if(P(W,"expected node on stack"),P(W.type==="link","expected link on stack"),this.data.inReference){const ee=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=ee,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function le(){const W=this.stack[this.stack.length-1];if(P(W,"expected node on stack"),P(W.type==="image","expected image on stack"),this.data.inReference){const ee=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=ee,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function pe(W){const ee=this.sliceSerialize(W),Te=this.stack[this.stack.length-2];P(Te,"expected ancestor on stack"),P(Te.type==="image"||Te.type==="link","expected image or link on stack"),Te.label=w7(ee),Te.identifier=El(ee).toLowerCase()}function Oe(){const W=this.stack[this.stack.length-1];P(W,"expected node on stack"),P(W.type==="fragment","expected fragment on stack");const ee=this.resume(),Te=this.stack[this.stack.length-1];if(P(Te,"expected node on stack"),P(Te.type==="image"||Te.type==="link","expected image or link on stack"),this.data.inReference=!0,Te.type==="link"){const Ie=W.children;Te.children=Ie}else Te.alt=ee}function O(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="image"||ee.type==="link","expected image or link on stack"),ee.url=W}function U(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="image"||ee.type==="link","expected image or link on stack"),ee.title=W}function ue(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function xe(W){const ee=this.resume(),Te=this.stack[this.stack.length-1];P(Te,"expected node on stack"),P(Te.type==="image"||Te.type==="link","expected image reference or link reference on stack"),Te.label=ee,Te.identifier=El(this.sliceSerialize(W)).toLowerCase(),this.data.referenceType="full"}function at(W){P(W.type==="characterReferenceMarkerNumeric"||W.type==="characterReferenceMarkerHexadecimal"),this.data.characterReferenceType=W.type}function yn(W){const ee=this.sliceSerialize(W),Te=this.data.characterReferenceType;let Ie;if(Te)Ie=iR(ee,Te===A.characterReferenceMarkerNumeric?Ae.numericBaseDecimal:Ae.numericBaseHexadecimal),this.data.characterReferenceType=void 0;else{const Pt=n0(ee);P(Pt!==!1,"expected reference to decode"),Ie=Pt}const it=this.stack[this.stack.length-1];P(it,"expected `node`"),P("value"in it,"expected `node.value`"),it.value+=Ie}function je(W){const ee=this.stack.pop();P(ee,"expected `node`"),P(ee.position,"expected `node.position`"),ee.position.end=ro(W.end)}function Ke(W){F.call(this,W);const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="link","expected link on stack"),ee.url=this.sliceSerialize(W)}function Ut(W){F.call(this,W);const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="link","expected link on stack"),ee.url="mailto:"+this.sliceSerialize(W)}function Lt(){return{type:"blockquote",children:[]}}function De(){return{type:"code",lang:null,meta:null,value:""}}function Kn(){return{type:"inlineCode",value:""}}function Hr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ba(){return{type:"emphasis",children:[]}}function Pr(){return{type:"heading",depth:0,children:[]}}function lt(){return{type:"break"}}function Wt(){return{type:"html",value:""}}function gi(){return{type:"image",title:null,url:"",alt:null}}function ls(){return{type:"link",title:null,url:"",children:[]}}function we(W){return{type:"list",ordered:W.type==="listOrdered",start:null,spread:W._spread,children:[]}}function yi(W){return{type:"listItem",spread:W._spread,checked:null,children:[]}}function gr(){return{type:"paragraph",children:[]}}function Ha(){return{type:"strong",children:[]}}function ra(){return{type:"text",value:""}}function us(){return{type:"thematicBreak"}}}function ro(n){return{line:n.line,column:n.column,offset:n.offset}}function yR(n,a){let i=-1;for(;++i<a.length;){const s=a[i];Array.isArray(s)?yR(n,s):R7(n,s)}}function R7(n,a){let i;for(i in a)if(gR.call(a,i))switch(i){case"canContainEols":{const s=a[i];s&&n[i].push(...s);break}case"transforms":{const s=a[i];s&&n[i].push(...s);break}case"enter":case"exit":{const s=a[i];s&&Object.assign(n[i],s);break}}}function dN(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+Sc({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+Sc({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+Sc({start:a.start,end:a.end})+") is still open")}function O7(n){const a=this;a.parser=i;function i(s){return k7(s,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function M7(n,a){const i={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,i),n.applyData(a,i)}function _7(n,a){const i={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,i),[n.applyData(a,i),{type:"text",value:`
256
- `}]}function z7(n,a){const i=a.value?a.value+`
257
- `:"",s={},u=a.lang?a.lang.split(/\s+/):[];u.length>0&&(s.className=["language-"+u[0]]);let f={type:"element",tagName:"code",properties:s,children:[{type:"text",value:i}]};return a.meta&&(f.data={meta:a.meta}),n.patch(a,f),f=n.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},n.patch(a,f),f}function U7(n,a){const i={type:"element",tagName:"del",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function j7(n,a){const i={type:"element",tagName:"em",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function V7(n,a){const i=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",s=String(a.identifier).toUpperCase(),u=Ml(s.toLowerCase()),f=n.footnoteOrder.indexOf(s);let d,h=n.footnoteCounts.get(s);h===void 0?(h=0,n.footnoteOrder.push(s),d=n.footnoteOrder.length):d=f+1,h+=1,n.footnoteCounts.set(s,h);const b={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+u,id:i+"fnref-"+u+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(d)}]};n.patch(a,b);const g={type:"element",tagName:"sup",properties:{},children:[b]};return n.patch(a,g),n.applyData(a,g)}function L7(n,a){const i={type:"element",tagName:"h"+a.depth,properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function B7(n,a){if(n.options.allowDangerousHtml){const i={type:"raw",value:a.value};return n.patch(a,i),n.applyData(a,i)}}function bR(n,a){const i=a.referenceType;let s="]";if(i==="collapsed"?s+="[]":i==="full"&&(s+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+s}];const u=n.all(a),f=u[0];f&&f.type==="text"?f.value="["+f.value:u.unshift({type:"text",value:"["});const d=u[u.length-1];return d&&d.type==="text"?d.value+=s:u.push({type:"text",value:s}),u}function H7(n,a){const i=String(a.identifier).toUpperCase(),s=n.definitionById.get(i);if(!s)return bR(n,a);const u={src:Ml(s.url||""),alt:a.alt};s.title!==null&&s.title!==void 0&&(u.title=s.title);const f={type:"element",tagName:"img",properties:u,children:[]};return n.patch(a,f),n.applyData(a,f)}function P7(n,a){const i={src:Ml(a.url)};a.alt!==null&&a.alt!==void 0&&(i.alt=a.alt),a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"img",properties:i,children:[]};return n.patch(a,s),n.applyData(a,s)}function q7(n,a){const i={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};n.patch(a,i);const s={type:"element",tagName:"code",properties:{},children:[i]};return n.patch(a,s),n.applyData(a,s)}function I7(n,a){const i=String(a.identifier).toUpperCase(),s=n.definitionById.get(i);if(!s)return bR(n,a);const u={href:Ml(s.url||"")};s.title!==null&&s.title!==void 0&&(u.title=s.title);const f={type:"element",tagName:"a",properties:u,children:n.all(a)};return n.patch(a,f),n.applyData(a,f)}function F7(n,a){const i={href:Ml(a.url)};a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"a",properties:i,children:n.all(a)};return n.patch(a,s),n.applyData(a,s)}function Y7(n,a,i){const s=n.all(a),u=i?G7(i):vR(a),f={},d=[];if(typeof a.checked=="boolean"){const p=s[0];let v;p&&p.type==="element"&&p.tagName==="p"?v=p:(v={type:"element",tagName:"p",properties:{},children:[]},s.unshift(v)),v.children.length>0&&v.children.unshift({type:"text",value:" "}),v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let h=-1;for(;++h<s.length;){const p=s[h];(u||h!==0||p.type!=="element"||p.tagName!=="p")&&d.push({type:"text",value:`
248
+ `),()=>{re.contains(ie)&&re.removeChild(ie)}},[a]),Vr.jsx(GV,{isPresent:a,childRef:h,sizeRef:b,pop:f,children:f===!1?n:me.cloneElement(n,{ref:v})})}const XV=({children:n,initial:a,isPresent:i,onExitComplete:s,custom:u,presenceAffectsLayout:f,mode:d,anchorX:h,anchorY:b,root:y})=>{const p=p0(QV),v=me.useId();let x=!0,S=me.useMemo(()=>(x=!1,{id:v,initial:a,isPresent:i,custom:u,onExitComplete:N=>{p.set(N,!0);for(const V of p.values())if(!V)return;s&&s()},register:N=>(p.set(N,!1),()=>p.delete(N))}),[i,p,s]);return f&&x&&(S={...S}),me.useMemo(()=>{p.forEach((N,V)=>p.set(V,!1))},[i]),me.useEffect(()=>{!i&&!p.size&&s&&s()},[i]),n=Vr.jsx($V,{pop:d==="popLayout",isPresent:i,anchorX:h,anchorY:b,root:y,children:n}),Vr.jsx(Ph.Provider,{value:S,children:n})};function QV(){return new Map}function cC(n=!0){const a=me.useContext(Ph);if(a===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:u}=a,f=me.useId();me.useEffect(()=>{if(n)return u(f)},[n]);const d=me.useCallback(()=>n&&s&&s(f),[f,s,n]);return!i&&s?[!1,d]:[!0]}const sh=n=>n.key||"";function hk(n){const a=[];return me.Children.forEach(n,i=>{me.isValidElement(i)&&a.push(i)}),a}const so=({children:n,custom:a,initial:i=!0,onExitComplete:s,presenceAffectsLayout:u=!0,mode:f="sync",propagate:d=!1,anchorX:h="left",anchorY:b="top",root:y})=>{const[p,v]=cC(d),x=me.useMemo(()=>hk(n),[n]),S=d&&!p?[]:x.map(sh),N=me.useRef(!0),V=me.useRef(x),R=p0(()=>new Map),_=me.useRef(new Set),[Q,I]=me.useState(x),[ie,re]=me.useState(x);HN(()=>{N.current=!1,V.current=x;for(let se=0;se<ie.length;se++){const ce=sh(ie[se]);S.includes(ce)?(R.delete(ce),_.current.delete(ce)):R.get(ce)!==!0&&R.set(ce,!1)}},[ie,S.length,S.join("-")]);const G=[];if(x!==Q){let se=[...x];for(let ce=0;ce<ie.length;ce++){const F=ie[ce],he=sh(F);S.includes(he)||(se.splice(ce,0,F),G.push(F))}return f==="wait"&&G.length&&(se=G),re(hk(se)),I(x),null}f==="wait"&&ie.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:ge}=me.useContext(m0);return Vr.jsx(Vr.Fragment,{children:ie.map(se=>{const ce=sh(se),F=d&&!p?!1:x===ie||S.includes(ce),he=()=>{if(_.current.has(ce))return;if(_.current.add(ce),R.has(ce))R.set(ce,!0);else return;let oe=!0;R.forEach(X=>{X||(oe=!1)}),oe&&(ge?.(),re(V.current),d&&v?.(),s&&s())};return Vr.jsx(XV,{isPresent:F,initial:!N.current||i?void 0:!1,custom:a,presenceAffectsLayout:u,mode:f,root:y,onExitComplete:F?void 0:he,anchorX:h,anchorY:b,children:se},ce)})})},fC=me.createContext({strict:!1}),mk={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let pk=!1;function ZV(){if(pk)return;const n={};for(const a in mk)n[a]={isEnabled:i=>mk[a].some(s=>!!i[s])};HA(n),pk=!0}function dC(){return ZV(),jj()}function JV(n){const a=dC();for(const i in n)a[i]={...a[i],...n[i]};HA(a)}const KV=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function jh(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||KV.has(n)}let hC=n=>!jh(n);function WV(n){typeof n=="function"&&(hC=a=>a.startsWith("on")?!jh(a):n(a))}try{WV(require("@emotion/is-prop-valid").default)}catch{}function e4(n,a,i){const s={};for(const u in n)u==="values"&&typeof n.values=="object"||(hC(u)||i===!0&&jh(u)||!a&&!jh(u)||n.draggable&&u.startsWith("onDrag"))&&(s[u]=n[u]);return s}const Fh=me.createContext({});function t4(n,a){if(Ih(n)){const{initial:i,animate:s}=n;return{initial:i===!1||Nc(i)?i:void 0,animate:Nc(s)?s:void 0}}return n.inherit!==!1?a:{}}function n4(n){const{initial:a,animate:i}=t4(n,me.useContext(Fh));return me.useMemo(()=>({initial:a,animate:i}),[yk(a),yk(i)])}function yk(n){return Array.isArray(n)?n.join(" "):n}const F0=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function mC(n,a,i){for(const s in a)!En(a[s])&&!$A(s,i)&&(n[s]=a[s])}function r4({transformTemplate:n},a){return me.useMemo(()=>{const i=F0();return P0(i,a,n),Object.assign({},i.vars,i.style)},[a])}function a4(n,a){const i=n.style||{},s={};return mC(s,i,n),Object.assign(s,r4(n,a)),s}function i4(n,a){const i={},s=a4(n,a);return n.drag&&n.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(i.tabIndex=0),i.style=s,i}const pC=()=>({...F0(),attrs:{}});function o4(n,a,i,s){const u=me.useMemo(()=>{const f=pC();return XA(f,a,ZA(s),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[a]);if(n.style){const f={};mC(f,n.style,n),u.style={...f,...u.style}}return u}const s4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Y0(n){return typeof n!="string"||n.includes("-")?!1:!!(s4.indexOf(n)>-1||/[A-Z]/u.test(n))}function l4(n,a,i,{latestValues:s},u,f=!1,d){const b=(d??Y0(n)?o4:i4)(a,s,u,n),y=e4(a,typeof n=="string",f),p=n!==me.Fragment?{...y,...b,ref:i}:{},{children:v}=a,x=me.useMemo(()=>En(v)?v.get():v,[v]);return me.createElement(n,{...p,children:x})}function u4({scrapeMotionValuesFromProps:n,createRenderState:a},i,s,u){return{latestValues:c4(i,s,u,n),renderState:a()}}function c4(n,a,i,s){const u={},f=s(n,{});for(const x in f)u[x]=wh(f[x]);let{initial:d,animate:h}=n;const b=Ih(n),y=LA(n);a&&y&&!b&&n.inherit!==!1&&(d===void 0&&(d=a.initial),h===void 0&&(h=a.animate));let p=i?i.initial===!1:!1;p=p||d===!1;const v=p?h:d;if(v&&typeof v!="boolean"&&!qh(v)){const x=Array.isArray(v)?v:[v];for(let S=0;S<x.length;S++){const N=M0(n,x[S]);if(N){const{transitionEnd:V,transition:R,..._}=N;for(const Q in _){let I=_[Q];if(Array.isArray(I)){const ie=p?I.length-1:0;I=I[ie]}I!==null&&(u[Q]=I)}for(const Q in V)u[Q]=V[Q]}}}return u}const yC=n=>(a,i)=>{const s=me.useContext(Fh),u=me.useContext(Ph),f=()=>u4(n,a,s,u);return i?f():p0(f)},f4=yC({scrapeMotionValuesFromProps:q0,createRenderState:F0}),d4=yC({scrapeMotionValuesFromProps:JA,createRenderState:pC}),h4=Symbol.for("motionComponentSymbol");function m4(n,a,i){const s=me.useRef(i);me.useInsertionEffect(()=>{s.current=i});const u=me.useRef(null);return me.useCallback(f=>{f&&n.onMount?.(f),a&&(f?a.mount(f):a.unmount());const d=s.current;if(typeof d=="function")if(f){const h=d(f);typeof h=="function"&&(u.current=h)}else u.current?(u.current(),u.current=null):d(f);else d&&(d.current=f)},[a])}const gC=me.createContext({});function ml(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function p4(n,a,i,s,u,f){const{visualElement:d}=me.useContext(Fh),h=me.useContext(fC),b=me.useContext(Ph),y=me.useContext(I0),p=y.reducedMotion,v=y.skipAnimations,x=me.useRef(null),S=me.useRef(!1);s=s||h.renderer,!x.current&&s&&(x.current=s(n,{visualState:a,parent:d,props:i,presenceContext:b,blockInitialAnimation:b?b.initial===!1:!1,reducedMotionConfig:p,skipAnimations:v,isSVG:f}),S.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const N=x.current,V=me.useContext(gC);N&&!N.projection&&u&&(N.type==="html"||N.type==="svg")&&y4(x.current,i,u,V);const R=me.useRef(!1);me.useInsertionEffect(()=>{N&&R.current&&N.update(i,b)});const _=i[DA],Q=me.useRef(!!_&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return HN(()=>{S.current=!0,N&&(R.current=!0,window.MotionIsMounted=!0,N.updateFeatures(),N.scheduleRenderMicrotask(),Q.current&&N.animationState&&N.animationState.animateChanges())}),me.useEffect(()=>{N&&(!Q.current&&N.animationState&&N.animationState.animateChanges(),Q.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),Q.current=!1),N.enteringChildren=void 0)}),N}function y4(n,a,i,s){const{layoutId:u,layout:f,drag:d,dragConstraints:h,layoutScroll:b,layoutRoot:y,layoutCrossfade:p}=a;n.projection=new i(n.latestValues,a["data-framer-portal-id"]?void 0:bC(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!d||h&&ml(h),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:s,crossfade:p,layoutScroll:b,layoutRoot:y})}function bC(n){if(n)return n.options.allowProjection!==!1?n.projection:bC(n.parent)}function Kg(n,{forwardMotionProps:a=!1,type:i}={},s,u){s&&JV(s);const f=i?i==="svg":Y0(n),d=f?d4:f4;function h(y,p){let v;const x={...me.useContext(I0),...y,layoutId:g4(y)},{isStatic:S}=x,N=n4(y),V=d(y,S);if(!S&&BN){b4(x,s);const R=v4(x);v=R.MeasureLayout,N.visualElement=p4(n,V,x,u,R.ProjectionNode,f)}return Vr.jsxs(Fh.Provider,{value:N,children:[v&&N.visualElement?Vr.jsx(v,{visualElement:N.visualElement,...x}):null,l4(n,y,m4(V,N.visualElement,p),V,S,a,f)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const b=me.forwardRef(h);return b[h4]=n,b}function g4({layoutId:n}){const a=me.useContext(m0).id;return a&&n!==void 0?a+"-"+n:n}function b4(n,a){const i=me.useContext(fC).strict;if(a&&i){const s="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?kl(!1,s,"lazy-strict-mode"):mi(!1,s,"lazy-strict-mode")}}function v4(n){const a=dC(),{drag:i,layout:s}=a;if(!i&&!s)return{};const u={...i,...s};return{MeasureLayout:i?.isEnabled(n)||s?.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}function x4(n,a){if(typeof Proxy>"u")return Kg;const i=new Map,s=(f,d)=>Kg(f,d,n,a),u=(f,d)=>(v0(!1,"motion() is deprecated. Use motion.create() instead."),s(f,d));return new Proxy(u,{get:(f,d)=>d==="create"?s:(i.has(d)||i.set(d,Kg(d,void 0,n,a)),i.get(d))})}const S4=(n,a)=>a.isSVG??Y0(n)?new Wj(a):new $j(a,{allowProjection:n!==me.Fragment});class w4 extends co{constructor(a){super(a),a.animationState||(a.animationState=aV(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();qh(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:i}=this.node.prevProps||{};a!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let E4=0;class T4 extends co{constructor(){super(...arguments),this.id=E4++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===s)return;const u=this.node.animationState.setActive("exit",!a);i&&!a&&u.then(()=>{i(this.id)})}mount(){const{register:a,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const D4={animation:{Feature:w4},exit:{Feature:T4}};function Uc(n){return{point:{x:n.pageX,y:n.pageY}}}const k4=n=>a=>V0(a)&&n(a,Uc(a));function xc(n,a,i,s){return Ac(n,a,k4(i),s)}const vC=({current:n})=>n?n.ownerDocument.defaultView:null,gk=(n,a)=>Math.abs(n-a);function N4(n,a){const i=gk(n.x,a.x),s=gk(n.y,a.y);return Math.sqrt(i**2+s**2)}const bk=new Set(["auto","scroll"]);class xC{constructor(a,i,{transformPagePoint:s,contextWindow:u=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=eb(this.lastMoveEventInfo,this.history),N=this.startEvent!==null,V=N4(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!N&&!V)return;const{point:R}=S,{timestamp:_}=yn;this.history.push({...R,timestamp:_});const{onStart:Q,onMove:I}=this.handlers;N||(Q&&Q(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,S)},this.handlePointerMove=(S,N)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=Wg(N,this.transformPagePoint),Dt.update(this.updatePoint,!0)},this.handlePointerUp=(S,N)=>{this.end();const{onEnd:V,onSessionEnd:R,resumeAnimation:_}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const Q=eb(S.type==="pointercancel"?this.lastMoveEventInfo:Wg(N,this.transformPagePoint),this.history);this.startEvent&&V&&V(S,Q),R&&R(S,Q)},!V0(a))return;this.dragSnapToOrigin=f,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=d,this.contextWindow=u||window;const b=Uc(a),y=Wg(b,this.transformPagePoint),{point:p}=y,{timestamp:v}=yn;this.history=[{...p,timestamp:v}];const{onSessionStart:x}=i;x&&x(a,eb(y,this.history)),this.removeListeners=Oc(xc(this.contextWindow,"pointermove",this.handlePointerMove),xc(this.contextWindow,"pointerup",this.handlePointerUp),xc(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(a){let i=a.parentElement;for(;i;){const s=getComputedStyle(i);(bk.has(s.overflowX)||bk.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const i=this.scrollPositions.get(a);if(!i)return;const s=a===window,u=s?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},f={x:u.x-i.x,y:u.y-i.y};f.x===0&&f.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(a,u),Dt.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),lo(this.updatePoint)}}function Wg(n,a){return a?{point:a(n.point)}:n}function vk(n,a){return{x:n.x-a.x,y:n.y-a.y}}function eb({point:n},a){return{point:n,delta:vk(n,SC(a)),offset:vk(n,A4(a)),velocity:C4(a,.1)}}function A4(n){return n[0]}function SC(n){return n[n.length-1]}function C4(n,a){if(n.length<2)return{x:0,y:0};let i=n.length-1,s=null;const u=SC(n);for(;i>=0&&(s=n[i],!(u.timestamp-s.timestamp>Br(a)));)i--;if(!s)return{x:0,y:0};s===n[0]&&n.length>2&&u.timestamp-s.timestamp>Br(a)*2&&(s=n[1]);const f=jr(u.timestamp-s.timestamp);if(f===0)return{x:0,y:0};const d={x:(u.x-s.x)/f,y:(u.y-s.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function R4(n,{min:a,max:i},s){return a!==void 0&&n<a?n=s?_t(a,n,s.min):Math.max(n,a):i!==void 0&&n>i&&(n=s?_t(i,n,s.max):Math.min(n,i)),n}function xk(n,a,i){return{min:a!==void 0?n.min+a:void 0,max:i!==void 0?n.max+i-(n.max-n.min):void 0}}function z4(n,{top:a,left:i,bottom:s,right:u}){return{x:xk(n.x,i,u),y:xk(n.y,a,s)}}function Sk(n,a){let i=a.min-n.min,s=a.max-n.max;return a.max-a.min<n.max-n.min&&([i,s]=[s,i]),{min:i,max:s}}function O4(n,a){return{x:Sk(n.x,a.x),y:Sk(n.y,a.y)}}function M4(n,a){let i=.5;const s=Bn(n),u=Bn(a);return u>s?i=Tc(a.min,a.max-s,n.min):s>u&&(i=Tc(n.min,n.max-u,a.min)),Va(0,1,i)}function _4(n,a){const i={};return a.min!==void 0&&(i.min=a.min-n.min),a.max!==void 0&&(i.max=a.max-n.min),i}const $b=.35;function U4(n=$b){return n===!1?n=0:n===!0&&(n=$b),{x:wk(n,"left","right"),y:wk(n,"top","bottom")}}function wk(n,a,i){return{min:Ek(n,a),max:Ek(n,i)}}function Ek(n,a){return typeof n=="number"?n:n[a]||0}const j4=new WeakMap;class V4{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const f=v=>{i&&this.snapToCursor(Uc(v).point),this.stopAnimation()},d=(v,x)=>{const{drag:S,dragPropagation:N,onDragStart:V}=this.getProps();if(S&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=dj(S),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Oa(_=>{let Q=this.getAxisMotionValue(_).get()||0;if(ja.test(Q)){const{projection:I}=this.visualElement;if(I&&I.layout){const ie=I.layout.layoutBox[_];ie&&(Q=Bn(ie)*(parseFloat(Q)/100))}}this.originPoint[_]=Q}),V&&Dt.update(()=>V(v,x),!1,!0),Bb(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},h=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:S,dragDirectionLock:N,onDirectionLock:V,onDrag:R}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:_}=x;if(N&&this.currentDirection===null){this.currentDirection=B4(_),this.currentDirection!==null&&V&&V(this.currentDirection);return}this.updateAxis("x",x.point,_),this.updateAxis("y",x.point,_),this.visualElement.render(),R&&Dt.update(()=>R(v,x),!1,!0)},b=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:p}=this.getProps();this.panSession=new xC(a,{onSessionStart:f,onStart:d,onMove:h,onSessionEnd:b,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:s,contextWindow:vC(this.visualElement),element:this.visualElement.current})}stop(a,i){const s=a||this.latestPointerEvent,u=i||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!u||!s)return;const{velocity:d}=u;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&Dt.postRender(()=>h(s,u))}cancel(){this.isDragging=!1;const{projection:a,animationState:i}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,i,s){const{drag:u}=this.getProps();if(!s||!lh(a,u,this.currentDirection))return;const f=this.getAxisMotionValue(a);let d=this.originPoint[a]+s[a];this.constraints&&this.constraints[a]&&(d=R4(d,this.constraints[a],this.elastic[a])),f.set(d)}resolveConstraints(){const{dragConstraints:a,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,u=this.constraints;a&&ml(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&s?this.constraints=z4(s.layoutBox,a):this.constraints=!1,this.elastic=U4(i),u!==this.constraints&&!ml(a)&&s&&this.constraints&&!this.hasMutatedConstraints&&Oa(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=_4(s.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:i}=this.getProps();if(!a||!ml(a))return!1;const s=a.current;mi(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=Pj(s,u.root,this.visualElement.getTransformPagePoint());let d=O4(u.layout.layoutBox,f);if(i){const h=i(Lj(d));this.hasMutatedConstraints=!!h,h&&(d=qA(h))}return d}startAnimation(a){const{drag:i,dragMomentum:s,dragElastic:u,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),b=this.constraints||{},y=Oa(p=>{if(!lh(p,i,this.currentDirection))return;let v=b&&b[p]||{};d&&(v={min:0,max:0});const x=u?200:1e6,S=u?40:1e7,N={type:"inertia",velocity:s?a[p]:0,bounceStiffness:x,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...f,...v};return this.startAxisValueAnimation(p,N)});return Promise.all(y).then(h)}startAxisValueAnimation(a,i){const s=this.getAxisMotionValue(a);return Bb(this.visualElement,a),s.start(O0(a,s,0,i,this.visualElement,!1))}stopAnimation(){Oa(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){const i=`_drag${a.toUpperCase()}`,s=this.visualElement.getProps(),u=s[i];return u||this.visualElement.getValue(a,(s.initial?s.initial[a]:void 0)||0)}snapToCursor(a){Oa(i=>{const{drag:s}=this.getProps();if(!lh(i,s,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(i);if(u&&u.layout){const{min:d,max:h}=u.layout.layoutBox[i],b=f.get()||0;f.set(a[i]-_t(d,h,.5)+b)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!ml(i)||!s||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Oa(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const b=h.get();u[d]=M4({min:b,max:b},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),Oa(d=>{if(!lh(d,a,null))return;const h=this.getAxisMotionValue(d),{min:b,max:y}=this.constraints[d];h.set(_t(b,y,u[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;j4.set(this.visualElement,this);const a=this.visualElement.current,i=xc(a,"pointerdown",y=>{const{drag:p,dragListener:v=!0}=this.getProps(),x=y.target,S=x!==a&&bj(x);p&&v&&!S&&this.start(y)});let s;const u=()=>{const{dragConstraints:y}=this.getProps();ml(y)&&y.current&&(this.constraints=this.resolveRefConstraints(),s||(s=L4(a,y.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,d=f.addEventListener("measure",u);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),Dt.read(u);const h=Ac(window,"resize",()=>this.scalePositionWithinConstraints()),b=f.addEventListener("didUpdate",(({delta:y,hasLayoutChanged:p})=>{this.isDragging&&p&&(Oa(v=>{const x=this.getAxisMotionValue(v);x&&(this.originPoint[v]+=y[v].translate,x.set(x.get()+y[v].translate))}),this.visualElement.render())}));return()=>{h(),i(),d(),b&&b(),s&&s()}}getProps(){const a=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:d=$b,dragMomentum:h=!0}=a;return{...a,drag:i,dragDirectionLock:s,dragPropagation:u,dragConstraints:f,dragElastic:d,dragMomentum:h}}}function Tk(n){let a=!0;return()=>{if(a){a=!1;return}n()}}function L4(n,a,i){const s=zD(n,Tk(i)),u=zD(a,Tk(i));return()=>{s(),u()}}function lh(n,a,i){return(a===!0||a===n)&&(i===null||i===n)}function B4(n,a=10){let i=null;return Math.abs(n.y)>a?i="y":Math.abs(n.x)>a&&(i="x"),i}class H4 extends co{constructor(a){super(a),this.removeGroupControls=Lr,this.removeListeners=Lr,this.controls=new V4(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lr}update(){const{dragControls:a}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};a!==i&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const tb=n=>(a,i)=>{n&&Dt.update(()=>n(a,i),!1,!0)};class P4 extends co{constructor(){super(...arguments),this.removePointerDownListener=Lr}onPointerDown(a){this.session=new xC(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:vC(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:i,onPan:s,onPanEnd:u}=this.node.getProps();return{onSessionStart:tb(a),onStart:tb(i),onMove:tb(s),onEnd:(f,d)=>{delete this.session,u&&Dt.postRender(()=>u(f,d))}}}mount(){this.removePointerDownListener=xc(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let nb=!1;class q4 extends me.Component{componentDidMount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:s,layoutId:u}=this.props,{projection:f}=a;f&&(i.group&&i.group.add(f),s&&s.register&&u&&s.register(f),nb&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Eh.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:i,visualElement:s,drag:u,isPresent:f}=this.props,{projection:d}=s;return d&&(d.isPresent=f,a.layoutDependency!==i&&d.setOptions({...d.options,layoutDependency:i}),nb=!0,u||a.layoutDependency!==i||i===void 0||a.isPresent!==f?d.willUpdate():this.safeToRemove(),a.isPresent!==f&&(f?d.promote():d.relegate()||Dt.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),j0.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:u}=a;nb=!0,u&&(u.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(u),s&&s.deregister&&s.deregister(u))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function wC(n){const[a,i]=cC(),s=me.useContext(m0);return Vr.jsx(q4,{...n,layoutGroup:s,switchLayoutGroup:me.useContext(gC),isPresent:a,safeToRemove:i})}const I4={pan:{Feature:P4},drag:{Feature:H4,ProjectionNode:uC,MeasureLayout:wC}};function Dk(n,a,i){const{props:s}=n;n.animationState&&s.whileHover&&n.animationState.setActive("whileHover",i==="Start");const u="onHover"+i,f=s[u];f&&Dt.postRender(()=>f(a,Uc(a)))}class F4 extends co{mount(){const{current:a}=this.node;a&&(this.unmount=mj(a,(i,s)=>(Dk(this.node,s,"Start"),u=>Dk(this.node,u,"End"))))}unmount(){}}class Y4 extends co{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Oc(Ac(this.node.current,"focus",()=>this.onFocus()),Ac(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function kk(n,a,i){const{props:s}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&s.whileTap&&n.animationState.setActive("whileTap",i==="Start");const u="onTap"+(i==="End"?"":i),f=s[u];f&&Dt.postRender(()=>f(a,Uc(a)))}class G4 extends co{mount(){const{current:a}=this.node;if(!a)return;const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=xj(a,(u,f)=>(kk(this.node,f,"Start"),(d,{success:h})=>kk(this.node,d,h?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:s?.tap===!1})}unmount(){}}const Xb=new WeakMap,rb=new WeakMap,$4=n=>{const a=Xb.get(n.target);a&&a(n)},X4=n=>{n.forEach($4)};function Q4({root:n,...a}){const i=n||document;rb.has(i)||rb.set(i,{});const s=rb.get(i),u=JSON.stringify(a);return s[u]||(s[u]=new IntersectionObserver(X4,{root:n,...a})),s[u]}function Z4(n,a,i){const s=Q4(a);return Xb.set(n,i),s.observe(n),()=>{Xb.delete(n),s.unobserve(n)}}const J4={some:0,all:1};class K4 extends co{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:i,margin:s,amount:u="some",once:f}=a,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof u=="number"?u:J4[u]},h=b=>{const{isIntersecting:y}=b;if(this.isInView===y||(this.isInView=y,f&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:p,onViewportLeave:v}=this.node.getProps(),x=y?p:v;x&&x(b)};return Z4(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:i}=this.node;["amount","margin","root"].some(W4(a,i))&&this.startObserver()}unmount(){}}function W4({viewport:n={}},{viewport:a={}}={}){return i=>n[i]!==a[i]}const e5={inView:{Feature:K4},tap:{Feature:G4},focus:{Feature:Y4},hover:{Feature:F4}},t5={layout:{ProjectionNode:uC,MeasureLayout:wC}},n5={...D4,...e5,...I4,...t5},Tn=x4(n5,S4);function EC(n,a){return function(){return n.apply(a,arguments)}}const{toString:r5}=Object.prototype,{getPrototypeOf:G0}=Object,{iterator:Yh,toStringTag:TC}=Symbol,Gh=(n=>a=>{const i=r5.call(a);return n[i]||(n[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),na=n=>(n=n.toLowerCase(),a=>Gh(a)===n),$h=n=>a=>typeof a===n,{isArray:Rl}=Array,Dl=$h("undefined");function jc(n){return n!==null&&!Dl(n)&&n.constructor!==null&&!Dl(n.constructor)&&Xn(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const DC=na("ArrayBuffer");function a5(n){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(n):a=n&&n.buffer&&DC(n.buffer),a}const i5=$h("string"),Xn=$h("function"),kC=$h("number"),Vc=n=>n!==null&&typeof n=="object",o5=n=>n===!0||n===!1,Th=n=>{if(Gh(n)!=="object")return!1;const a=G0(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(TC in n)&&!(Yh in n)},s5=n=>{if(!Vc(n)||jc(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},l5=na("Date"),u5=na("File"),c5=na("Blob"),f5=na("FileList"),d5=n=>Vc(n)&&Xn(n.pipe),h5=n=>{let a;return n&&(typeof FormData=="function"&&n instanceof FormData||Xn(n.append)&&((a=Gh(n))==="formdata"||a==="object"&&Xn(n.toString)&&n.toString()==="[object FormData]"))},m5=na("URLSearchParams"),[p5,y5,g5,b5]=["ReadableStream","Request","Response","Headers"].map(na),v5=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lc(n,a,{allOwnKeys:i=!1}={}){if(n===null||typeof n>"u")return;let s,u;if(typeof n!="object"&&(n=[n]),Rl(n))for(s=0,u=n.length;s<u;s++)a.call(null,n[s],s,n);else{if(jc(n))return;const f=i?Object.getOwnPropertyNames(n):Object.keys(n),d=f.length;let h;for(s=0;s<d;s++)h=f[s],a.call(null,n[h],h,n)}}function NC(n,a){if(jc(n))return null;a=a.toLowerCase();const i=Object.keys(n);let s=i.length,u;for(;s-- >0;)if(u=i[s],a===u.toLowerCase())return u;return null}const rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,AC=n=>!Dl(n)&&n!==rs;function Qb(){const{caseless:n,skipUndefined:a}=AC(this)&&this||{},i={},s=(u,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const d=n&&NC(i,f)||f;Th(i[d])&&Th(u)?i[d]=Qb(i[d],u):Th(u)?i[d]=Qb({},u):Rl(u)?i[d]=u.slice():(!a||!Dl(u))&&(i[d]=u)};for(let u=0,f=arguments.length;u<f;u++)arguments[u]&&Lc(arguments[u],s);return i}const x5=(n,a,i,{allOwnKeys:s}={})=>(Lc(a,(u,f)=>{i&&Xn(u)?Object.defineProperty(n,f,{value:EC(u,i),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,f,{value:u,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),n),S5=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),w5=(n,a,i,s)=>{n.prototype=Object.create(a.prototype,s),Object.defineProperty(n.prototype,"constructor",{value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{value:a.prototype}),i&&Object.assign(n.prototype,i)},E5=(n,a,i,s)=>{let u,f,d;const h={};if(a=a||{},n==null)return a;do{for(u=Object.getOwnPropertyNames(n),f=u.length;f-- >0;)d=u[f],(!s||s(d,n,a))&&!h[d]&&(a[d]=n[d],h[d]=!0);n=i!==!1&&G0(n)}while(n&&(!i||i(n,a))&&n!==Object.prototype);return a},T5=(n,a,i)=>{n=String(n),(i===void 0||i>n.length)&&(i=n.length),i-=a.length;const s=n.indexOf(a,i);return s!==-1&&s===i},D5=n=>{if(!n)return null;if(Rl(n))return n;let a=n.length;if(!kC(a))return null;const i=new Array(a);for(;a-- >0;)i[a]=n[a];return i},k5=(n=>a=>n&&a instanceof n)(typeof Uint8Array<"u"&&G0(Uint8Array)),N5=(n,a)=>{const s=(n&&n[Yh]).call(n);let u;for(;(u=s.next())&&!u.done;){const f=u.value;a.call(n,f[0],f[1])}},A5=(n,a)=>{let i;const s=[];for(;(i=n.exec(a))!==null;)s.push(i);return s},C5=na("HTMLFormElement"),R5=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,u){return s.toUpperCase()+u}),Nk=(({hasOwnProperty:n})=>(a,i)=>n.call(a,i))(Object.prototype),z5=na("RegExp"),CC=(n,a)=>{const i=Object.getOwnPropertyDescriptors(n),s={};Lc(i,(u,f)=>{let d;(d=a(u,f,n))!==!1&&(s[f]=d||u)}),Object.defineProperties(n,s)},O5=n=>{CC(n,(a,i)=>{if(Xn(n)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const s=n[i];if(Xn(s)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},M5=(n,a)=>{const i={},s=u=>{u.forEach(f=>{i[f]=!0})};return Rl(n)?s(n):s(String(n).split(a)),i},_5=()=>{},U5=(n,a)=>n!=null&&Number.isFinite(n=+n)?n:a;function j5(n){return!!(n&&Xn(n.append)&&n[TC]==="FormData"&&n[Yh])}const V5=n=>{const a=new Array(10),i=(s,u)=>{if(Vc(s)){if(a.indexOf(s)>=0)return;if(jc(s))return s;if(!("toJSON"in s)){a[u]=s;const f=Rl(s)?[]:{};return Lc(s,(d,h)=>{const b=i(d,u+1);!Dl(b)&&(f[h]=b)}),a[u]=void 0,f}}return s};return i(n,0)},L5=na("AsyncFunction"),B5=n=>n&&(Vc(n)||Xn(n))&&Xn(n.then)&&Xn(n.catch),RC=((n,a)=>n?setImmediate:a?((i,s)=>(rs.addEventListener("message",({source:u,data:f})=>{u===rs&&f===i&&s.length&&s.shift()()},!1),u=>{s.push(u),rs.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Xn(rs.postMessage)),H5=typeof queueMicrotask<"u"?queueMicrotask.bind(rs):typeof process<"u"&&process.nextTick||RC,P5=n=>n!=null&&Xn(n[Yh]),K={isArray:Rl,isArrayBuffer:DC,isBuffer:jc,isFormData:h5,isArrayBufferView:a5,isString:i5,isNumber:kC,isBoolean:o5,isObject:Vc,isPlainObject:Th,isEmptyObject:s5,isReadableStream:p5,isRequest:y5,isResponse:g5,isHeaders:b5,isUndefined:Dl,isDate:l5,isFile:u5,isBlob:c5,isRegExp:z5,isFunction:Xn,isStream:d5,isURLSearchParams:m5,isTypedArray:k5,isFileList:f5,forEach:Lc,merge:Qb,extend:x5,trim:v5,stripBOM:S5,inherits:w5,toFlatObject:E5,kindOf:Gh,kindOfTest:na,endsWith:T5,toArray:D5,forEachEntry:N5,matchAll:A5,isHTMLForm:C5,hasOwnProperty:Nk,hasOwnProp:Nk,reduceDescriptors:CC,freezeMethods:O5,toObjectSet:M5,toCamelCase:R5,noop:_5,toFiniteNumber:U5,findKey:NC,global:rs,isContextDefined:AC,isSpecCompliantForm:j5,toJSONObject:V5,isAsyncFn:L5,isThenable:B5,setImmediate:RC,asap:H5,isIterable:P5};let He=class zC extends Error{static from(a,i,s,u,f,d){const h=new zC(a.message,i||a.code,s,u,f);return h.cause=a,h.name=a.name,d&&Object.assign(h,d),h}constructor(a,i,s,u,f){super(a),this.name="AxiosError",this.isAxiosError=!0,i&&(this.code=i),s&&(this.config=s),u&&(this.request=u),f&&(this.response=f,this.status=f.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}};He.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";He.ERR_BAD_OPTION="ERR_BAD_OPTION";He.ECONNABORTED="ECONNABORTED";He.ETIMEDOUT="ETIMEDOUT";He.ERR_NETWORK="ERR_NETWORK";He.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";He.ERR_DEPRECATED="ERR_DEPRECATED";He.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";He.ERR_BAD_REQUEST="ERR_BAD_REQUEST";He.ERR_CANCELED="ERR_CANCELED";He.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";He.ERR_INVALID_URL="ERR_INVALID_URL";const q5=null;function Zb(n){return K.isPlainObject(n)||K.isArray(n)}function OC(n){return K.endsWith(n,"[]")?n.slice(0,-2):n}function Ak(n,a,i){return n?n.concat(a).map(function(u,f){return u=OC(u),!i&&f?"["+u+"]":u}).join(i?".":""):a}function I5(n){return K.isArray(n)&&!n.some(Zb)}const F5=K.toFlatObject(K,{},null,function(a){return/^is[A-Z]/.test(a)});function Xh(n,a,i){if(!K.isObject(n))throw new TypeError("target must be an object");a=a||new FormData,i=K.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(V,R){return!K.isUndefined(R[V])});const s=i.metaTokens,u=i.visitor||p,f=i.dots,d=i.indexes,b=(i.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(a);if(!K.isFunction(u))throw new TypeError("visitor must be a function");function y(N){if(N===null)return"";if(K.isDate(N))return N.toISOString();if(K.isBoolean(N))return N.toString();if(!b&&K.isBlob(N))throw new He("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(N)||K.isTypedArray(N)?b&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function p(N,V,R){let _=N;if(N&&!R&&typeof N=="object"){if(K.endsWith(V,"{}"))V=s?V:V.slice(0,-2),N=JSON.stringify(N);else if(K.isArray(N)&&I5(N)||(K.isFileList(N)||K.endsWith(V,"[]"))&&(_=K.toArray(N)))return V=OC(V),_.forEach(function(I,ie){!(K.isUndefined(I)||I===null)&&a.append(d===!0?Ak([V],ie,f):d===null?V:V+"[]",y(I))}),!1}return Zb(N)?!0:(a.append(Ak(R,V,f),y(N)),!1)}const v=[],x=Object.assign(F5,{defaultVisitor:p,convertValue:y,isVisitable:Zb});function S(N,V){if(!K.isUndefined(N)){if(v.indexOf(N)!==-1)throw Error("Circular reference detected in "+V.join("."));v.push(N),K.forEach(N,function(_,Q){(!(K.isUndefined(_)||_===null)&&u.call(a,_,K.isString(Q)?Q.trim():Q,V,x))===!0&&S(_,V?V.concat(Q):[Q])}),v.pop()}}if(!K.isObject(n))throw new TypeError("data must be an object");return S(n),a}function Ck(n){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(s){return a[s]})}function $0(n,a){this._pairs=[],n&&Xh(n,this,a)}const MC=$0.prototype;MC.append=function(a,i){this._pairs.push([a,i])};MC.toString=function(a){const i=a?function(s){return a.call(this,s,Ck)}:Ck;return this._pairs.map(function(u){return i(u[0])+"="+i(u[1])},"").join("&")};function Y5(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function _C(n,a,i){if(!a)return n;const s=i&&i.encode||Y5,u=K.isFunction(i)?{serialize:i}:i,f=u&&u.serialize;let d;if(f?d=f(a,u):d=K.isURLSearchParams(a)?a.toString():new $0(a,u).toString(s),d){const h=n.indexOf("#");h!==-1&&(n=n.slice(0,h)),n+=(n.indexOf("?")===-1?"?":"&")+d}return n}class Rk{constructor(){this.handlers=[]}use(a,i,s){return this.handlers.push({fulfilled:a,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){K.forEach(this.handlers,function(s){s!==null&&a(s)})}}const X0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},G5=typeof URLSearchParams<"u"?URLSearchParams:$0,$5=typeof FormData<"u"?FormData:null,X5=typeof Blob<"u"?Blob:null,Q5={isBrowser:!0,classes:{URLSearchParams:G5,FormData:$5,Blob:X5},protocols:["http","https","file","blob","url","data"]},Q0=typeof window<"u"&&typeof document<"u",Jb=typeof navigator=="object"&&navigator||void 0,Z5=Q0&&(!Jb||["ReactNative","NativeScript","NS"].indexOf(Jb.product)<0),J5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",K5=Q0&&window.location.href||"http://localhost",W5=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Q0,hasStandardBrowserEnv:Z5,hasStandardBrowserWebWorkerEnv:J5,navigator:Jb,origin:K5},Symbol.toStringTag,{value:"Module"})),wn={...W5,...Q5};function eL(n,a){return Xh(n,new wn.classes.URLSearchParams,{visitor:function(i,s,u,f){return wn.isNode&&K.isBuffer(i)?(this.append(s,i.toString("base64")),!1):f.defaultVisitor.apply(this,arguments)},...a})}function tL(n){return K.matchAll(/\w+|\[(\w*)]/g,n).map(a=>a[0]==="[]"?"":a[1]||a[0])}function nL(n){const a={},i=Object.keys(n);let s;const u=i.length;let f;for(s=0;s<u;s++)f=i[s],a[f]=n[f];return a}function UC(n){function a(i,s,u,f){let d=i[f++];if(d==="__proto__")return!0;const h=Number.isFinite(+d),b=f>=i.length;return d=!d&&K.isArray(u)?u.length:d,b?(K.hasOwnProp(u,d)?u[d]=[u[d],s]:u[d]=s,!h):((!u[d]||!K.isObject(u[d]))&&(u[d]=[]),a(i,s,u[d],f)&&K.isArray(u[d])&&(u[d]=nL(u[d])),!h)}if(K.isFormData(n)&&K.isFunction(n.entries)){const i={};return K.forEachEntry(n,(s,u)=>{a(tL(s),u,i,0)}),i}return null}function rL(n,a,i){if(K.isString(n))try{return(a||JSON.parse)(n),K.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(n)}const Bc={transitional:X0,adapter:["xhr","http","fetch"],transformRequest:[function(a,i){const s=i.getContentType()||"",u=s.indexOf("application/json")>-1,f=K.isObject(a);if(f&&K.isHTMLForm(a)&&(a=new FormData(a)),K.isFormData(a))return u?JSON.stringify(UC(a)):a;if(K.isArrayBuffer(a)||K.isBuffer(a)||K.isStream(a)||K.isFile(a)||K.isBlob(a)||K.isReadableStream(a))return a;if(K.isArrayBufferView(a))return a.buffer;if(K.isURLSearchParams(a))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let h;if(f){if(s.indexOf("application/x-www-form-urlencoded")>-1)return eL(a,this.formSerializer).toString();if((h=K.isFileList(a))||s.indexOf("multipart/form-data")>-1){const b=this.env&&this.env.FormData;return Xh(h?{"files[]":a}:a,b&&new b,this.formSerializer)}}return f||u?(i.setContentType("application/json",!1),rL(a)):a}],transformResponse:[function(a){const i=this.transitional||Bc.transitional,s=i&&i.forcedJSONParsing,u=this.responseType==="json";if(K.isResponse(a)||K.isReadableStream(a))return a;if(a&&K.isString(a)&&(s&&!this.responseType||u)){const d=!(i&&i.silentJSONParsing)&&u;try{return JSON.parse(a,this.parseReviver)}catch(h){if(d)throw h.name==="SyntaxError"?He.from(h,He.ERR_BAD_RESPONSE,this,null,this.response):h}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wn.classes.FormData,Blob:wn.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],n=>{Bc.headers[n]={}});const aL=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),iL=n=>{const a={};let i,s,u;return n&&n.split(`
249
+ `).forEach(function(d){u=d.indexOf(":"),i=d.substring(0,u).trim().toLowerCase(),s=d.substring(u+1).trim(),!(!i||a[i]&&aL[i])&&(i==="set-cookie"?a[i]?a[i].push(s):a[i]=[s]:a[i]=a[i]?a[i]+", "+s:s)}),a},zk=Symbol("internals");function fc(n){return n&&String(n).trim().toLowerCase()}function Dh(n){return n===!1||n==null?n:K.isArray(n)?n.map(Dh):String(n)}function oL(n){const a=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=i.exec(n);)a[s[1]]=s[2];return a}const sL=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function ab(n,a,i,s,u){if(K.isFunction(s))return s.call(this,a,i);if(u&&(a=i),!!K.isString(a)){if(K.isString(s))return a.indexOf(s)!==-1;if(K.isRegExp(s))return s.test(a)}}function lL(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,i,s)=>i.toUpperCase()+s)}function uL(n,a){const i=K.toCamelCase(" "+a);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+i,{value:function(u,f,d){return this[s].call(this,a,u,f,d)},configurable:!0})})}let Qn=class{constructor(a){a&&this.set(a)}set(a,i,s){const u=this;function f(h,b,y){const p=fc(b);if(!p)throw new Error("header name must be a non-empty string");const v=K.findKey(u,p);(!v||u[v]===void 0||y===!0||y===void 0&&u[v]!==!1)&&(u[v||b]=Dh(h))}const d=(h,b)=>K.forEach(h,(y,p)=>f(y,p,b));if(K.isPlainObject(a)||a instanceof this.constructor)d(a,i);else if(K.isString(a)&&(a=a.trim())&&!sL(a))d(iL(a),i);else if(K.isObject(a)&&K.isIterable(a)){let h={},b,y;for(const p of a){if(!K.isArray(p))throw TypeError("Object iterator must return a key-value pair");h[y=p[0]]=(b=h[y])?K.isArray(b)?[...b,p[1]]:[b,p[1]]:p[1]}d(h,i)}else a!=null&&f(i,a,s);return this}get(a,i){if(a=fc(a),a){const s=K.findKey(this,a);if(s){const u=this[s];if(!i)return u;if(i===!0)return oL(u);if(K.isFunction(i))return i.call(this,u,s);if(K.isRegExp(i))return i.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,i){if(a=fc(a),a){const s=K.findKey(this,a);return!!(s&&this[s]!==void 0&&(!i||ab(this,this[s],s,i)))}return!1}delete(a,i){const s=this;let u=!1;function f(d){if(d=fc(d),d){const h=K.findKey(s,d);h&&(!i||ab(s,s[h],h,i))&&(delete s[h],u=!0)}}return K.isArray(a)?a.forEach(f):f(a),u}clear(a){const i=Object.keys(this);let s=i.length,u=!1;for(;s--;){const f=i[s];(!a||ab(this,this[f],f,a,!0))&&(delete this[f],u=!0)}return u}normalize(a){const i=this,s={};return K.forEach(this,(u,f)=>{const d=K.findKey(s,f);if(d){i[d]=Dh(u),delete i[f];return}const h=a?lL(f):String(f).trim();h!==f&&delete i[f],i[h]=Dh(u),s[h]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const i=Object.create(null);return K.forEach(this,(s,u)=>{s!=null&&s!==!1&&(i[u]=a&&K.isArray(s)?s.join(", "):s)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,i])=>a+": "+i).join(`
250
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...i){const s=new this(a);return i.forEach(u=>s.set(u)),s}static accessor(a){const s=(this[zk]=this[zk]={accessors:{}}).accessors,u=this.prototype;function f(d){const h=fc(d);s[h]||(uL(u,d),s[h]=!0)}return K.isArray(a)?a.forEach(f):f(a),this}};Qn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(Qn.prototype,({value:n},a)=>{let i=a[0].toUpperCase()+a.slice(1);return{get:()=>n,set(s){this[i]=s}}});K.freezeMethods(Qn);function ib(n,a){const i=this||Bc,s=a||i,u=Qn.from(s.headers);let f=s.data;return K.forEach(n,function(h){f=h.call(i,f,u.normalize(),a?a.status:void 0)}),u.normalize(),f}function jC(n){return!!(n&&n.__CANCEL__)}let Hc=class extends He{constructor(a,i,s){super(a??"canceled",He.ERR_CANCELED,i,s),this.name="CanceledError",this.__CANCEL__=!0}};function VC(n,a,i){const s=i.config.validateStatus;!i.status||!s||s(i.status)?n(i):a(new He("Request failed with status code "+i.status,[He.ERR_BAD_REQUEST,He.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function cL(n){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return a&&a[1]||""}function fL(n,a){n=n||10;const i=new Array(n),s=new Array(n);let u=0,f=0,d;return a=a!==void 0?a:1e3,function(b){const y=Date.now(),p=s[f];d||(d=y),i[u]=b,s[u]=y;let v=f,x=0;for(;v!==u;)x+=i[v++],v=v%n;if(u=(u+1)%n,u===f&&(f=(f+1)%n),y-d<a)return;const S=p&&y-p;return S?Math.round(x*1e3/S):void 0}}function dL(n,a){let i=0,s=1e3/a,u,f;const d=(y,p=Date.now())=>{i=p,u=null,f&&(clearTimeout(f),f=null),n(...y)};return[(...y)=>{const p=Date.now(),v=p-i;v>=s?d(y,p):(u=y,f||(f=setTimeout(()=>{f=null,d(u)},s-v)))},()=>u&&d(u)]}const Vh=(n,a,i=3)=>{let s=0;const u=fL(50,250);return dL(f=>{const d=f.loaded,h=f.lengthComputable?f.total:void 0,b=d-s,y=u(b),p=d<=h;s=d;const v={loaded:d,total:h,progress:h?d/h:void 0,bytes:b,rate:y||void 0,estimated:y&&h&&p?(h-d)/y:void 0,event:f,lengthComputable:h!=null,[a?"download":"upload"]:!0};n(v)},i)},Ok=(n,a)=>{const i=n!=null;return[s=>a[0]({lengthComputable:i,total:n,loaded:s}),a[1]]},Mk=n=>(...a)=>K.asap(()=>n(...a)),hL=wn.hasStandardBrowserEnv?((n,a)=>i=>(i=new URL(i,wn.origin),n.protocol===i.protocol&&n.host===i.host&&(a||n.port===i.port)))(new URL(wn.origin),wn.navigator&&/(msie|trident)/i.test(wn.navigator.userAgent)):()=>!0,mL=wn.hasStandardBrowserEnv?{write(n,a,i,s,u,f,d){if(typeof document>"u")return;const h=[`${n}=${encodeURIComponent(a)}`];K.isNumber(i)&&h.push(`expires=${new Date(i).toUTCString()}`),K.isString(s)&&h.push(`path=${s}`),K.isString(u)&&h.push(`domain=${u}`),f===!0&&h.push("secure"),K.isString(d)&&h.push(`SameSite=${d}`),document.cookie=h.join("; ")},read(n){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+n+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function pL(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function yL(n,a){return a?n.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):n}function LC(n,a,i){let s=!pL(a);return n&&(s||i==!1)?yL(n,a):a}const _k=n=>n instanceof Qn?{...n}:n;function os(n,a){a=a||{};const i={};function s(y,p,v,x){return K.isPlainObject(y)&&K.isPlainObject(p)?K.merge.call({caseless:x},y,p):K.isPlainObject(p)?K.merge({},p):K.isArray(p)?p.slice():p}function u(y,p,v,x){if(K.isUndefined(p)){if(!K.isUndefined(y))return s(void 0,y,v,x)}else return s(y,p,v,x)}function f(y,p){if(!K.isUndefined(p))return s(void 0,p)}function d(y,p){if(K.isUndefined(p)){if(!K.isUndefined(y))return s(void 0,y)}else return s(void 0,p)}function h(y,p,v){if(v in a)return s(y,p);if(v in n)return s(void 0,y)}const b={url:f,method:f,data:f,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:h,headers:(y,p,v)=>u(_k(y),_k(p),v,!0)};return K.forEach(Object.keys({...n,...a}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const v=K.hasOwnProp(b,p)?b[p]:u,x=v(n[p],a[p],p);K.isUndefined(x)&&v!==h||(i[p]=x)}),i}const BC=n=>{const a=os({},n);let{data:i,withXSRFToken:s,xsrfHeaderName:u,xsrfCookieName:f,headers:d,auth:h}=a;if(a.headers=d=Qn.from(d),a.url=_C(LC(a.baseURL,a.url,a.allowAbsoluteUrls),n.params,n.paramsSerializer),h&&d.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),K.isFormData(i)){if(wn.hasStandardBrowserEnv||wn.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(K.isFunction(i.getHeaders)){const b=i.getHeaders(),y=["content-type","content-length"];Object.entries(b).forEach(([p,v])=>{y.includes(p.toLowerCase())&&d.set(p,v)})}}if(wn.hasStandardBrowserEnv&&(s&&K.isFunction(s)&&(s=s(a)),s||s!==!1&&hL(a.url))){const b=u&&f&&mL.read(f);b&&d.set(u,b)}return a},gL=typeof XMLHttpRequest<"u",bL=gL&&function(n){return new Promise(function(i,s){const u=BC(n);let f=u.data;const d=Qn.from(u.headers).normalize();let{responseType:h,onUploadProgress:b,onDownloadProgress:y}=u,p,v,x,S,N;function V(){S&&S(),N&&N(),u.cancelToken&&u.cancelToken.unsubscribe(p),u.signal&&u.signal.removeEventListener("abort",p)}let R=new XMLHttpRequest;R.open(u.method.toUpperCase(),u.url,!0),R.timeout=u.timeout;function _(){if(!R)return;const I=Qn.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),re={data:!h||h==="text"||h==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:I,config:n,request:R};VC(function(ge){i(ge),V()},function(ge){s(ge),V()},re),R=null}"onloadend"in R?R.onloadend=_:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(_)},R.onabort=function(){R&&(s(new He("Request aborted",He.ECONNABORTED,n,R)),R=null)},R.onerror=function(ie){const re=ie&&ie.message?ie.message:"Network Error",G=new He(re,He.ERR_NETWORK,n,R);G.event=ie||null,s(G),R=null},R.ontimeout=function(){let ie=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const re=u.transitional||X0;u.timeoutErrorMessage&&(ie=u.timeoutErrorMessage),s(new He(ie,re.clarifyTimeoutError?He.ETIMEDOUT:He.ECONNABORTED,n,R)),R=null},f===void 0&&d.setContentType(null),"setRequestHeader"in R&&K.forEach(d.toJSON(),function(ie,re){R.setRequestHeader(re,ie)}),K.isUndefined(u.withCredentials)||(R.withCredentials=!!u.withCredentials),h&&h!=="json"&&(R.responseType=u.responseType),y&&([x,N]=Vh(y,!0),R.addEventListener("progress",x)),b&&R.upload&&([v,S]=Vh(b),R.upload.addEventListener("progress",v),R.upload.addEventListener("loadend",S)),(u.cancelToken||u.signal)&&(p=I=>{R&&(s(!I||I.type?new Hc(null,n,R):I),R.abort(),R=null)},u.cancelToken&&u.cancelToken.subscribe(p),u.signal&&(u.signal.aborted?p():u.signal.addEventListener("abort",p)));const Q=cL(u.url);if(Q&&wn.protocols.indexOf(Q)===-1){s(new He("Unsupported protocol "+Q+":",He.ERR_BAD_REQUEST,n));return}R.send(f||null)})},vL=(n,a)=>{const{length:i}=n=n?n.filter(Boolean):[];if(a||i){let s=new AbortController,u;const f=function(y){if(!u){u=!0,h();const p=y instanceof Error?y:this.reason;s.abort(p instanceof He?p:new Hc(p instanceof Error?p.message:p))}};let d=a&&setTimeout(()=>{d=null,f(new He(`timeout of ${a}ms exceeded`,He.ETIMEDOUT))},a);const h=()=>{n&&(d&&clearTimeout(d),d=null,n.forEach(y=>{y.unsubscribe?y.unsubscribe(f):y.removeEventListener("abort",f)}),n=null)};n.forEach(y=>y.addEventListener("abort",f));const{signal:b}=s;return b.unsubscribe=()=>K.asap(h),b}},xL=function*(n,a){let i=n.byteLength;if(i<a){yield n;return}let s=0,u;for(;s<i;)u=s+a,yield n.slice(s,u),s=u},SL=async function*(n,a){for await(const i of wL(n))yield*xL(i,a)},wL=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const a=n.getReader();try{for(;;){const{done:i,value:s}=await a.read();if(i)break;yield s}}finally{await a.cancel()}},Uk=(n,a,i,s)=>{const u=SL(n,a);let f=0,d,h=b=>{d||(d=!0,s&&s(b))};return new ReadableStream({async pull(b){try{const{done:y,value:p}=await u.next();if(y){h(),b.close();return}let v=p.byteLength;if(i){let x=f+=v;i(x)}b.enqueue(new Uint8Array(p))}catch(y){throw h(y),y}},cancel(b){return h(b),u.return()}},{highWaterMark:2})},jk=64*1024,{isFunction:uh}=K,EL=(({Request:n,Response:a})=>({Request:n,Response:a}))(K.global),{ReadableStream:Vk,TextEncoder:Lk}=K.global,Bk=(n,...a)=>{try{return!!n(...a)}catch{return!1}},TL=n=>{n=K.merge.call({skipUndefined:!0},EL,n);const{fetch:a,Request:i,Response:s}=n,u=a?uh(a):typeof fetch=="function",f=uh(i),d=uh(s);if(!u)return!1;const h=u&&uh(Vk),b=u&&(typeof Lk=="function"?(N=>V=>N.encode(V))(new Lk):async N=>new Uint8Array(await new i(N).arrayBuffer())),y=f&&h&&Bk(()=>{let N=!1;const V=new i(wn.origin,{body:new Vk,method:"POST",get duplex(){return N=!0,"half"}}).headers.has("Content-Type");return N&&!V}),p=d&&h&&Bk(()=>K.isReadableStream(new s("").body)),v={stream:p&&(N=>N.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(N=>{!v[N]&&(v[N]=(V,R)=>{let _=V&&V[N];if(_)return _.call(V);throw new He(`Response type '${N}' is not supported`,He.ERR_NOT_SUPPORT,R)})});const x=async N=>{if(N==null)return 0;if(K.isBlob(N))return N.size;if(K.isSpecCompliantForm(N))return(await new i(wn.origin,{method:"POST",body:N}).arrayBuffer()).byteLength;if(K.isArrayBufferView(N)||K.isArrayBuffer(N))return N.byteLength;if(K.isURLSearchParams(N)&&(N=N+""),K.isString(N))return(await b(N)).byteLength},S=async(N,V)=>{const R=K.toFiniteNumber(N.getContentLength());return R??x(V)};return async N=>{let{url:V,method:R,data:_,signal:Q,cancelToken:I,timeout:ie,onDownloadProgress:re,onUploadProgress:G,responseType:ge,headers:se,withCredentials:ce="same-origin",fetchOptions:F}=BC(N),he=a||fetch;ge=ge?(ge+"").toLowerCase():"text";let oe=vL([Q,I&&I.toAbortSignal()],ie),X=null;const ne=oe&&oe.unsubscribe&&(()=>{oe.unsubscribe()});let ae;try{if(G&&y&&R!=="get"&&R!=="head"&&(ae=await S(se,_))!==0){let U=new i(V,{method:"POST",body:_,duplex:"half"}),ue;if(K.isFormData(_)&&(ue=U.headers.get("content-type"))&&se.setContentType(ue),U.body){const[C,xe]=Ok(ae,Vh(Mk(G)));_=Uk(U.body,jk,C,xe)}}K.isString(ce)||(ce=ce?"include":"omit");const Y=f&&"credentials"in i.prototype,le={...F,signal:oe,method:R.toUpperCase(),headers:se.normalize().toJSON(),body:_,duplex:"half",credentials:Y?ce:void 0};X=f&&new i(V,le);let pe=await(f?he(X,F):he(V,le));const ze=p&&(ge==="stream"||ge==="response");if(p&&(re||ze&&ne)){const U={};["status","statusText","headers"].forEach(at=>{U[at]=pe[at]});const ue=K.toFiniteNumber(pe.headers.get("content-length")),[C,xe]=re&&Ok(ue,Vh(Mk(re),!0))||[];pe=new s(Uk(pe.body,jk,C,()=>{xe&&xe(),ne&&ne()}),U)}ge=ge||"text";let z=await v[K.findKey(v,ge)||"text"](pe,N);return!ze&&ne&&ne(),await new Promise((U,ue)=>{VC(U,ue,{data:z,headers:Qn.from(pe.headers),status:pe.status,statusText:pe.statusText,config:N,request:X})})}catch(Y){throw ne&&ne(),Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new He("Network Error",He.ERR_NETWORK,N,X,Y&&Y.response),{cause:Y.cause||Y}):He.from(Y,Y&&Y.code,N,X,Y&&Y.response)}}},DL=new Map,HC=n=>{let a=n&&n.env||{};const{fetch:i,Request:s,Response:u}=a,f=[s,u,i];let d=f.length,h=d,b,y,p=DL;for(;h--;)b=f[h],y=p.get(b),y===void 0&&p.set(b,y=h?new Map:TL(a)),p=y;return y};HC();const Z0={http:q5,xhr:bL,fetch:{get:HC}};K.forEach(Z0,(n,a)=>{if(n){try{Object.defineProperty(n,"name",{value:a})}catch{}Object.defineProperty(n,"adapterName",{value:a})}});const Hk=n=>`- ${n}`,kL=n=>K.isFunction(n)||n===null||n===!1;function NL(n,a){n=K.isArray(n)?n:[n];const{length:i}=n;let s,u;const f={};for(let d=0;d<i;d++){s=n[d];let h;if(u=s,!kL(s)&&(u=Z0[(h=String(s)).toLowerCase()],u===void 0))throw new He(`Unknown adapter '${h}'`);if(u&&(K.isFunction(u)||(u=u.get(a))))break;f[h||"#"+d]=u}if(!u){const d=Object.entries(f).map(([b,y])=>`adapter ${b} `+(y===!1?"is not supported by the environment":"is not available in the build"));let h=i?d.length>1?`since :
251
+ `+d.map(Hk).join(`
252
+ `):" "+Hk(d[0]):"as no adapter specified";throw new He("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return u}const PC={getAdapter:NL,adapters:Z0};function ob(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Hc(null,n)}function Pk(n){return ob(n),n.headers=Qn.from(n.headers),n.data=ib.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),PC.getAdapter(n.adapter||Bc.adapter,n)(n).then(function(s){return ob(n),s.data=ib.call(n,n.transformResponse,s),s.headers=Qn.from(s.headers),s},function(s){return jC(s)||(ob(n),s&&s.response&&(s.response.data=ib.call(n,n.transformResponse,s.response),s.response.headers=Qn.from(s.response.headers))),Promise.reject(s)})}const qC="1.13.5",Qh={};["object","boolean","number","function","string","symbol"].forEach((n,a)=>{Qh[n]=function(s){return typeof s===n||"a"+(a<1?"n ":" ")+n}});const qk={};Qh.transitional=function(a,i,s){function u(f,d){return"[Axios v"+qC+"] Transitional option '"+f+"'"+d+(s?". "+s:"")}return(f,d,h)=>{if(a===!1)throw new He(u(d," has been removed"+(i?" in "+i:"")),He.ERR_DEPRECATED);return i&&!qk[d]&&(qk[d]=!0,console.warn(u(d," has been deprecated since v"+i+" and will be removed in the near future"))),a?a(f,d,h):!0}};Qh.spelling=function(a){return(i,s)=>(console.warn(`${s} is likely a misspelling of ${a}`),!0)};function AL(n,a,i){if(typeof n!="object")throw new He("options must be an object",He.ERR_BAD_OPTION_VALUE);const s=Object.keys(n);let u=s.length;for(;u-- >0;){const f=s[u],d=a[f];if(d){const h=n[f],b=h===void 0||d(h,f,n);if(b!==!0)throw new He("option "+f+" must be "+b,He.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new He("Unknown option "+f,He.ERR_BAD_OPTION)}}const kh={assertOptions:AL,validators:Qh},_r=kh.validators;let is=class{constructor(a){this.defaults=a||{},this.interceptors={request:new Rk,response:new Rk}}async request(a,i){try{return await this._request(a,i)}catch(s){if(s instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const f=u.stack?u.stack.replace(/^.+\n/,""):"";try{s.stack?f&&!String(s.stack).endsWith(f.replace(/^.+\n.+\n/,""))&&(s.stack+=`
253
+ `+f):s.stack=f}catch{}}throw s}}_request(a,i){typeof a=="string"?(i=i||{},i.url=a):i=a||{},i=os(this.defaults,i);const{transitional:s,paramsSerializer:u,headers:f}=i;s!==void 0&&kh.assertOptions(s,{silentJSONParsing:_r.transitional(_r.boolean),forcedJSONParsing:_r.transitional(_r.boolean),clarifyTimeoutError:_r.transitional(_r.boolean),legacyInterceptorReqResOrdering:_r.transitional(_r.boolean)},!1),u!=null&&(K.isFunction(u)?i.paramsSerializer={serialize:u}:kh.assertOptions(u,{encode:_r.function,serialize:_r.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),kh.assertOptions(i,{baseUrl:_r.spelling("baseURL"),withXsrfToken:_r.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let d=f&&K.merge(f.common,f[i.method]);f&&K.forEach(["delete","get","head","post","put","patch","common"],N=>{delete f[N]}),i.headers=Qn.concat(d,f);const h=[];let b=!0;this.interceptors.request.forEach(function(V){if(typeof V.runWhen=="function"&&V.runWhen(i)===!1)return;b=b&&V.synchronous;const R=i.transitional||X0;R&&R.legacyInterceptorReqResOrdering?h.unshift(V.fulfilled,V.rejected):h.push(V.fulfilled,V.rejected)});const y=[];this.interceptors.response.forEach(function(V){y.push(V.fulfilled,V.rejected)});let p,v=0,x;if(!b){const N=[Pk.bind(this),void 0];for(N.unshift(...h),N.push(...y),x=N.length,p=Promise.resolve(i);v<x;)p=p.then(N[v++],N[v++]);return p}x=h.length;let S=i;for(;v<x;){const N=h[v++],V=h[v++];try{S=N(S)}catch(R){V.call(this,R);break}}try{p=Pk.call(this,S)}catch(N){return Promise.reject(N)}for(v=0,x=y.length;v<x;)p=p.then(y[v++],y[v++]);return p}getUri(a){a=os(this.defaults,a);const i=LC(a.baseURL,a.url,a.allowAbsoluteUrls);return _C(i,a.params,a.paramsSerializer)}};K.forEach(["delete","get","head","options"],function(a){is.prototype[a]=function(i,s){return this.request(os(s||{},{method:a,url:i,data:(s||{}).data}))}});K.forEach(["post","put","patch"],function(a){function i(s){return function(f,d,h){return this.request(os(h||{},{method:a,headers:s?{"Content-Type":"multipart/form-data"}:{},url:f,data:d}))}}is.prototype[a]=i(),is.prototype[a+"Form"]=i(!0)});let CL=class IC{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(f){i=f});const s=this;this.promise.then(u=>{if(!s._listeners)return;let f=s._listeners.length;for(;f-- >0;)s._listeners[f](u);s._listeners=null}),this.promise.then=u=>{let f;const d=new Promise(h=>{s.subscribe(h),f=h}).then(u);return d.cancel=function(){s.unsubscribe(f)},d},a(function(f,d,h){s.reason||(s.reason=new Hc(f,d,h),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const a=new AbortController,i=s=>{a.abort(s)};return this.subscribe(i),a.signal.unsubscribe=()=>this.unsubscribe(i),a.signal}static source(){let a;return{token:new IC(function(u){a=u}),cancel:a}}};function RL(n){return function(i){return n.apply(null,i)}}function zL(n){return K.isObject(n)&&n.isAxiosError===!0}const Kb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Kb).forEach(([n,a])=>{Kb[a]=n});function FC(n){const a=new is(n),i=EC(is.prototype.request,a);return K.extend(i,is.prototype,a,{allOwnKeys:!0}),K.extend(i,a,null,{allOwnKeys:!0}),i.create=function(u){return FC(os(n,u))},i}const Et=FC(Bc);Et.Axios=is;Et.CanceledError=Hc;Et.CancelToken=CL;Et.isCancel=jC;Et.VERSION=qC;Et.toFormData=Xh;Et.AxiosError=He;Et.Cancel=Et.CanceledError;Et.all=function(a){return Promise.all(a)};Et.spread=RL;Et.isAxiosError=zL;Et.mergeConfig=os;Et.AxiosHeaders=Qn;Et.formToJSON=n=>UC(K.isHTMLForm(n)?new FormData(n):n);Et.getAdapter=PC.getAdapter;Et.HttpStatusCode=Kb;Et.default=Et;const{Axios:SH,AxiosError:wH,CanceledError:EH,isCancel:TH,CancelToken:DH,VERSION:kH,all:NH,Cancel:AH,isAxiosError:CH,spread:RH,toFormData:zH,AxiosHeaders:OH,HttpStatusCode:MH,formToJSON:_H,getAdapter:UH,mergeConfig:jH}=Et;class OL extends Error{name="Assertion";code="ERR_ASSERTION";constructor(a,i,s,u,f){super(a),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.actual=i,this.expected=s,this.generated=f,this.operator=u}}function P(n,a){YC(!!n,!1,!0,"ok","Expected value to be truthy",a)}function Wb(n){YC(!1,!1,!0,"ok","Unreachable",n)}function YC(n,a,i,s,u,f){if(!n)throw f instanceof Error?f:new OL(f||u,a,i,s,!f)}function ML(n,a){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const _L=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,UL=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jL={};function Ik(n,a){return(jL.jsx?UL:_L).test(n)}const VL=/[ \t\n\f\r]/g;function LL(n){return typeof n=="object"?n.type==="text"?Fk(n.value):!1:Fk(n)}function Fk(n){return n.replace(VL,"")===""}class Pc{constructor(a,i,s){this.normal=i,this.property=a,s&&(this.space=s)}}Pc.prototype.normal={};Pc.prototype.property={};Pc.prototype.space=void 0;function GC(n,a){const i={},s={};for(const u of n)Object.assign(i,u.property),Object.assign(s,u.normal);return new Pc(i,s,a)}function e0(n){return n.toLowerCase()}class Jn{constructor(a,i){this.attribute=i,this.property=a}}Jn.prototype.attribute="";Jn.prototype.booleanish=!1;Jn.prototype.boolean=!1;Jn.prototype.commaOrSpaceSeparated=!1;Jn.prototype.commaSeparated=!1;Jn.prototype.defined=!1;Jn.prototype.mustUseProperty=!1;Jn.prototype.number=!1;Jn.prototype.overloadedBoolean=!1;Jn.prototype.property="";Jn.prototype.spaceSeparated=!1;Jn.prototype.space=void 0;let BL=0;const Qe=ss(),Jt=ss(),t0=ss(),ye=ss(),wt=ss(),wl=ss(),mr=ss();function ss(){return 2**++BL}const n0=Object.freeze(Object.defineProperty({__proto__:null,boolean:Qe,booleanish:Jt,commaOrSpaceSeparated:mr,commaSeparated:wl,number:ye,overloadedBoolean:t0,spaceSeparated:wt},Symbol.toStringTag,{value:"Module"})),sb=Object.keys(n0);class J0 extends Jn{constructor(a,i,s,u){let f=-1;if(super(a,i),Yk(this,"space",u),typeof s=="number")for(;++f<sb.length;){const d=sb[f];Yk(this,sb[f],(s&n0[d])===n0[d])}}}J0.prototype.defined=!0;function Yk(n,a,i){i&&(n[a]=i)}function zl(n){const a={},i={};for(const[s,u]of Object.entries(n.properties)){const f=new J0(s,n.transform(n.attributes||{},s),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(s)&&(f.mustUseProperty=!0),a[s]=f,i[e0(s)]=s,i[e0(f.attribute)]=s}return new Pc(a,i,n.space)}const $C=zl({properties:{ariaActiveDescendant:null,ariaAtomic:Jt,ariaAutoComplete:null,ariaBusy:Jt,ariaChecked:Jt,ariaColCount:ye,ariaColIndex:ye,ariaColSpan:ye,ariaControls:wt,ariaCurrent:null,ariaDescribedBy:wt,ariaDetails:null,ariaDisabled:Jt,ariaDropEffect:wt,ariaErrorMessage:null,ariaExpanded:Jt,ariaFlowTo:wt,ariaGrabbed:Jt,ariaHasPopup:null,ariaHidden:Jt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wt,ariaLevel:ye,ariaLive:null,ariaModal:Jt,ariaMultiLine:Jt,ariaMultiSelectable:Jt,ariaOrientation:null,ariaOwns:wt,ariaPlaceholder:null,ariaPosInSet:ye,ariaPressed:Jt,ariaReadOnly:Jt,ariaRelevant:null,ariaRequired:Jt,ariaRoleDescription:wt,ariaRowCount:ye,ariaRowIndex:ye,ariaRowSpan:ye,ariaSelected:Jt,ariaSetSize:ye,ariaSort:null,ariaValueMax:ye,ariaValueMin:ye,ariaValueNow:ye,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function XC(n,a){return a in n?n[a]:a}function QC(n,a){return XC(n,a.toLowerCase())}const HL=zl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wl,acceptCharset:wt,accessKey:wt,action:null,allow:null,allowFullScreen:Qe,allowPaymentRequest:Qe,allowUserMedia:Qe,alt:null,as:null,async:Qe,autoCapitalize:null,autoComplete:wt,autoFocus:Qe,autoPlay:Qe,blocking:wt,capture:null,charSet:null,checked:Qe,cite:null,className:wt,cols:ye,colSpan:null,content:null,contentEditable:Jt,controls:Qe,controlsList:wt,coords:ye|wl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Qe,defer:Qe,dir:null,dirName:null,disabled:Qe,download:t0,draggable:Jt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Qe,formTarget:null,headers:wt,height:ye,hidden:t0,high:ye,href:null,hrefLang:null,htmlFor:wt,httpEquiv:wt,id:null,imageSizes:null,imageSrcSet:null,inert:Qe,inputMode:null,integrity:null,is:null,isMap:Qe,itemId:null,itemProp:wt,itemRef:wt,itemScope:Qe,itemType:wt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Qe,low:ye,manifest:null,max:null,maxLength:ye,media:null,method:null,min:null,minLength:ye,multiple:Qe,muted:Qe,name:null,nonce:null,noModule:Qe,noValidate:Qe,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:Qe,optimum:ye,pattern:null,ping:wt,placeholder:null,playsInline:Qe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Qe,referrerPolicy:null,rel:wt,required:Qe,reversed:Qe,rows:ye,rowSpan:ye,sandbox:wt,scope:null,scoped:Qe,seamless:Qe,selected:Qe,shadowRootClonable:Qe,shadowRootDelegatesFocus:Qe,shadowRootMode:null,shape:null,size:ye,sizes:null,slot:null,span:ye,spellCheck:Jt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ye,step:null,style:null,tabIndex:ye,target:null,title:null,translate:null,type:null,typeMustMatch:Qe,useMap:null,value:Jt,width:ye,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:wt,axis:null,background:null,bgColor:null,border:ye,borderColor:null,bottomMargin:ye,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Qe,declare:Qe,event:null,face:null,frame:null,frameBorder:null,hSpace:ye,leftMargin:ye,link:null,longDesc:null,lowSrc:null,marginHeight:ye,marginWidth:ye,noResize:Qe,noHref:Qe,noShade:Qe,noWrap:Qe,object:null,profile:null,prompt:null,rev:null,rightMargin:ye,rules:null,scheme:null,scrolling:Jt,standby:null,summary:null,text:null,topMargin:ye,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ye,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Qe,disableRemotePlayback:Qe,prefix:null,property:null,results:ye,security:null,unselectable:null},space:"html",transform:QC}),PL=zl({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:mr,accentHeight:ye,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ye,amplitude:ye,arabicForm:null,ascent:ye,attributeName:null,attributeType:null,azimuth:ye,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ye,by:null,calcMode:null,capHeight:ye,className:wt,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:ye,diffuseConstant:ye,direction:null,display:null,dur:null,divisor:ye,dominantBaseline:null,download:Qe,dx:null,dy:null,edgeMode:null,editable:null,elevation:ye,enableBackground:null,end:null,event:null,exponent:ye,externalResourcesRequired:null,fill:null,fillOpacity:ye,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:wl,g2:wl,glyphName:wl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ye,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ye,horizOriginX:ye,horizOriginY:ye,id:null,ideographic:ye,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ye,k:ye,k1:ye,k2:ye,k3:ye,k4:ye,kernelMatrix:mr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ye,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ye,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:ye,overlineThickness:ye,paintOrder:null,panose1:null,path:null,pathLength:ye,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ye,pointsAtY:ye,pointsAtZ:ye,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mr,rev:mr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mr,requiredFeatures:mr,requiredFonts:mr,requiredFormats:mr,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:ye,specularExponent:ye,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ye,strikethroughThickness:ye,string:null,stroke:null,strokeDashArray:mr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ye,strokeOpacity:ye,strokeWidth:null,style:null,surfaceScale:ye,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:mr,tabIndex:ye,tableValues:null,target:null,targetX:ye,targetY:ye,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:mr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ye,underlineThickness:ye,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ye,values:null,vAlphabetic:ye,vMathematical:ye,vectorEffect:null,vHanging:ye,vIdeographic:ye,version:null,vertAdvY:ye,vertOriginX:ye,vertOriginY:ye,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ye,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:XC}),ZC=zl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),JC=zl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:QC}),KC=zl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),qL={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"},IL=/[A-Z]/g,Gk=/-[a-z]/g,FL=/^data[-\w.:]+$/i;function YL(n,a){const i=e0(a);let s=a,u=Jn;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&FL.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(Gk,$L);s="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!Gk.test(f)){let d=f.replace(IL,GL);d.charAt(0)!=="-"&&(d="-"+d),a="data"+d}}u=J0}return new u(s,a)}function GL(n){return"-"+n.toLowerCase()}function $L(n){return n.charAt(1).toUpperCase()}const XL=GC([$C,HL,ZC,JC,KC],"html"),K0=GC([$C,PL,ZC,JC,KC],"svg");function QL(n){return n.join(" ").trim()}var dl={},lb,$k;function ZL(){if($k)return lb;$k=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,i=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,d=/^[;\s]*/,h=/^\s+|\s+$/g,b=`
254
+ `,y="/",p="*",v="",x="comment",S="declaration";function N(R,_){if(typeof R!="string")throw new TypeError("First argument must be a string");if(!R)return[];_=_||{};var Q=1,I=1;function ie(ne){var ae=ne.match(a);ae&&(Q+=ae.length);var Y=ne.lastIndexOf(b);I=~Y?ne.length-Y:I+ne.length}function re(){var ne={line:Q,column:I};return function(ae){return ae.position=new G(ne),ce(),ae}}function G(ne){this.start=ne,this.end={line:Q,column:I},this.source=_.source}G.prototype.content=R;function ge(ne){var ae=new Error(_.source+":"+Q+":"+I+": "+ne);if(ae.reason=ne,ae.filename=_.source,ae.line=Q,ae.column=I,ae.source=R,!_.silent)throw ae}function se(ne){var ae=ne.exec(R);if(ae){var Y=ae[0];return ie(Y),R=R.slice(Y.length),ae}}function ce(){se(i)}function F(ne){var ae;for(ne=ne||[];ae=he();)ae!==!1&&ne.push(ae);return ne}function he(){var ne=re();if(!(y!=R.charAt(0)||p!=R.charAt(1))){for(var ae=2;v!=R.charAt(ae)&&(p!=R.charAt(ae)||y!=R.charAt(ae+1));)++ae;if(ae+=2,v===R.charAt(ae-1))return ge("End of comment missing");var Y=R.slice(2,ae-2);return I+=2,ie(Y),R=R.slice(ae),I+=2,ne({type:x,comment:Y})}}function oe(){var ne=re(),ae=se(s);if(ae){if(he(),!se(u))return ge("property missing ':'");var Y=se(f),le=ne({type:S,property:V(ae[0].replace(n,v)),value:Y?V(Y[0].replace(n,v)):v});return se(d),le}}function X(){var ne=[];F(ne);for(var ae;ae=oe();)ae!==!1&&(ne.push(ae),F(ne));return ne}return ce(),X()}function V(R){return R?R.replace(h,v):v}return lb=N,lb}var Xk;function JL(){if(Xk)return dl;Xk=1;var n=dl&&dl.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=i;const a=n(ZL());function i(s,u){let f=null;if(!s||typeof s!="string")return f;const d=(0,a.default)(s),h=typeof u=="function";return d.forEach(b=>{if(b.type!=="declaration")return;const{property:y,value:p}=b;h?u(y,p,b):p&&(f=f||{},f[y]=p)}),f}return dl}var dc={},Qk;function KL(){if(Qk)return dc;Qk=1,Object.defineProperty(dc,"__esModule",{value:!0}),dc.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,i=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,f=function(y){return!y||i.test(y)||n.test(y)},d=function(y,p){return p.toUpperCase()},h=function(y,p){return"".concat(p,"-")},b=function(y,p){return p===void 0&&(p={}),f(y)?y:(y=y.toLowerCase(),p.reactCompat?y=y.replace(u,h):y=y.replace(s,h),y.replace(a,d))};return dc.camelCase=b,dc}var hc,Zk;function WL(){if(Zk)return hc;Zk=1;var n=hc&&hc.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},a=n(JL()),i=KL();function s(u,f){var d={};return!u||typeof u!="string"||(0,a.default)(u,function(h,b){h&&b&&(d[(0,i.camelCase)(h,f)]=b)}),d}return s.default=s,hc=s,hc}var eB=WL();const tB=Rc(eB),WC=eR("end"),W0=eR("start");function eR(n){return a;function a(i){const s=i&&i.position&&i.position[n]||{};if(typeof s.line=="number"&&s.line>0&&typeof s.column=="number"&&s.column>0)return{line:s.line,column:s.column,offset:typeof s.offset=="number"&&s.offset>-1?s.offset:void 0}}}function nB(n){const a=W0(n),i=WC(n);if(a&&i)return{start:a,end:i}}function Sc(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Jk(n.position):"start"in n||"end"in n?Jk(n):"line"in n||"column"in n?r0(n):""}function r0(n){return Kk(n&&n.line)+":"+Kk(n&&n.column)}function Jk(n){return r0(n&&n.start)+"-"+r0(n&&n.end)}function Kk(n){return n&&typeof n=="number"?n:1}class Dn extends Error{constructor(a,i,s){super(),typeof i=="string"&&(s=i,i=void 0);let u="",f={},d=!1;if(i&&("line"in i&&"column"in i?f={place:i}:"start"in i&&"end"in i?f={place:i}:"type"in i?f={ancestors:[i],place:i.position}:f={...i}),typeof a=="string"?u=a:!f.cause&&a&&(d=!0,u=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof s=="string"){const b=s.indexOf(":");b===-1?f.ruleId=s:(f.source=s.slice(0,b),f.ruleId=s.slice(b+1))}if(!f.place&&f.ancestors&&f.ancestors){const b=f.ancestors[f.ancestors.length-1];b&&(f.place=b.position)}const h=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=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=h?h.line:void 0,this.name=Sc(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=d&&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}}Dn.prototype.file="";Dn.prototype.name="";Dn.prototype.reason="";Dn.prototype.message="";Dn.prototype.stack="";Dn.prototype.column=void 0;Dn.prototype.line=void 0;Dn.prototype.ancestors=void 0;Dn.prototype.cause=void 0;Dn.prototype.fatal=void 0;Dn.prototype.place=void 0;Dn.prototype.ruleId=void 0;Dn.prototype.source=void 0;const ev={}.hasOwnProperty,rB=new Map,aB=/[A-Z]/g,iB=new Set(["table","tbody","thead","tfoot","tr"]),oB=new Set(["td","th"]),tR="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function sB(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=a.filePath||void 0;let s;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");s=pB(i,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");s=mB(i,a.jsx,a.jsxs)}const u={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:s,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?K0:XL,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=nR(u,n,void 0);return f&&typeof f!="string"?f:u.create(n,u.Fragment,{children:f||void 0},void 0)}function nR(n,a,i){if(a.type==="element")return lB(n,a,i);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return uB(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return fB(n,a,i);if(a.type==="mdxjsEsm")return cB(n,a);if(a.type==="root")return dB(n,a,i);if(a.type==="text")return hB(n,a)}function lB(n,a,i){const s=n.schema;let u=s;a.tagName.toLowerCase()==="svg"&&s.space==="html"&&(u=K0,n.schema=u),n.ancestors.push(a);const f=aR(n,a.tagName,!1),d=yB(n,a);let h=nv(n,a);return iB.has(a.tagName)&&(h=h.filter(function(b){return typeof b=="string"?!LL(b):!0})),rR(n,d,f,a),tv(d,h),n.ancestors.pop(),n.schema=s,n.create(a,f,d,i)}function uB(n,a){if(a.data&&a.data.estree&&n.evaluater){const s=a.data.estree.body[0];return P(s.type==="ExpressionStatement"),n.evaluater.evaluateExpression(s.expression)}Cc(n,a.position)}function cB(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Cc(n,a.position)}function fB(n,a,i){const s=n.schema;let u=s;a.name==="svg"&&s.space==="html"&&(u=K0,n.schema=u),n.ancestors.push(a);const f=a.name===null?n.Fragment:aR(n,a.name,!0),d=gB(n,a),h=nv(n,a);return rR(n,d,f,a),tv(d,h),n.ancestors.pop(),n.schema=s,n.create(a,f,d,i)}function dB(n,a,i){const s={};return tv(s,nv(n,a)),n.create(a,n.Fragment,s,i)}function hB(n,a){return a.value}function rR(n,a,i,s){typeof i!="string"&&i!==n.Fragment&&n.passNode&&(a.node=s)}function tv(n,a){if(a.length>0){const i=a.length>1?a:a[0];i&&(n.children=i)}}function mB(n,a,i){return s;function s(u,f,d,h){const y=Array.isArray(d.children)?i:a;return h?y(f,d,h):y(f,d)}}function pB(n,a){return i;function i(s,u,f,d){const h=Array.isArray(f.children),b=W0(s);return a(u,f,d,h,{columnNumber:b?b.column-1:void 0,fileName:n,lineNumber:b?b.line:void 0},void 0)}}function yB(n,a){const i={};let s,u;for(u in a.properties)if(u!=="children"&&ev.call(a.properties,u)){const f=bB(n,u,a.properties[u]);if(f){const[d,h]=f;n.tableCellAlignToStyle&&d==="align"&&typeof h=="string"&&oB.has(a.tagName)?s=h:i[d]=h}}if(s){const f=i.style||(i.style={});f[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return i}function gB(n,a){const i={};for(const s of a.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&n.evaluater){const f=s.data.estree.body[0];P(f.type==="ExpressionStatement");const d=f.expression;P(d.type==="ObjectExpression");const h=d.properties[0];P(h.type==="SpreadElement"),Object.assign(i,n.evaluater.evaluateExpression(h.argument))}else Cc(n,a.position);else{const u=s.name;let f;if(s.value&&typeof s.value=="object")if(s.value.data&&s.value.data.estree&&n.evaluater){const h=s.value.data.estree.body[0];P(h.type==="ExpressionStatement"),f=n.evaluater.evaluateExpression(h.expression)}else Cc(n,a.position);else f=s.value===null?!0:s.value;i[u]=f}return i}function nv(n,a){const i=[];let s=-1;const u=n.passKeys?new Map:rB;for(;++s<a.children.length;){const f=a.children[s];let d;if(n.passKeys){const b=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(b){const y=u.get(b)||0;d=b+"-"+y,u.set(b,y+1)}}const h=nR(n,f,d);h!==void 0&&i.push(h)}return i}function bB(n,a,i){const s=YL(n.schema,a);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=s.commaSeparated?ML(i):QL(i)),s.property==="style"){let u=typeof i=="object"?i:vB(n,String(i));return n.stylePropertyNameCase==="css"&&(u=xB(u)),["style",u]}return[n.elementAttributeNameCase==="react"&&s.space?qL[s.property]||s.property:s.attribute,i]}}function vB(n,a){try{return tB(a,{reactCompat:!0})}catch(i){if(n.ignoreInvalidStyle)return{};const s=i,u=new Dn("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:s,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=n.filePath||void 0,u.url=tR+"#cannot-parse-style-attribute",u}}function aR(n,a,i){let s;if(!i)s={type:"Literal",value:a};else if(a.includes(".")){const u=a.split(".");let f=-1,d;for(;++f<u.length;){const h=Ik(u[f])?{type:"Identifier",name:u[f]}:{type:"Literal",value:u[f]};d=d?{type:"MemberExpression",object:d,property:h,computed:!!(f&&h.type==="Literal"),optional:!1}:h}P(d,"always a result"),s=d}else s=Ik(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(s.type==="Literal"){const u=s.value;return ev.call(n.components,u)?n.components[u]:u}if(n.evaluater)return n.evaluater.evaluateExpression(s);Cc(n)}function Cc(n,a){const i=new Dn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=n.filePath||void 0,i.url=tR+"#cannot-handle-mdx-estrees-without-createevaluater",i}function xB(n){const a={};let i;for(i in n)ev.call(n,i)&&(a[SB(i)]=n[i]);return a}function SB(n){let a=n.replace(aB,wB);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function wB(n){return"-"+n.toLowerCase()}const ub={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"]},EB={};function TB(n,a){const i=EB,s=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,u=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return iR(n,s,u)}function iR(n,a,i){if(DB(n)){if("value"in n)return n.type==="html"&&!i?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Wk(n.children,a,i)}return Array.isArray(n)?Wk(n,a,i):""}function Wk(n,a,i){const s=[];let u=-1;for(;++u<n.length;)s[u]=iR(n[u],a,i);return s.join("")}function DB(n){return!!(n&&typeof n=="object")}const eN=document.createElement("i");function rv(n){const a="&"+n+";";eN.innerHTML=a;const i=eN.textContent;return i.charCodeAt(i.length-1)===59&&n!=="semi"||i===a?!1:i}const k={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,ht:9,lf:10,vt:11,cr:13,space:32,exclamationMark:33,quotationMark:34,numberSign:35,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseX:88,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseX:120,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},De={atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},D={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},_a={ht:" ",lf:`
255
+ `,cr:"\r",space:" ",replacementCharacter:"�"};function La(n,a,i,s){const u=n.length;let f=0,d;if(a<0?a=-a>u?0:u+a:a=a>u?u:a,i=i>0?i:0,s.length<De.v8MaxSafeChunkSize)d=Array.from(s),d.unshift(a,i),n.splice(...d);else for(i&&n.splice(a,i);f<s.length;)d=s.slice(f,f+De.v8MaxSafeChunkSize),d.unshift(a,0),n.splice(...d),f+=De.v8MaxSafeChunkSize,a+=De.v8MaxSafeChunkSize}function Ur(n,a){return n.length>0?(La(n,n.length,0,a),n):a}const tN={}.hasOwnProperty;function kB(n){const a={};let i=-1;for(;++i<n.length;)NB(a,n[i]);return a}function NB(n,a){let i;for(i in a){const u=(tN.call(n,i)?n[i]:void 0)||(n[i]={}),f=a[i];let d;if(f)for(d in f){tN.call(u,d)||(u[d]=[]);const h=f[d];AB(u[d],Array.isArray(h)?h:h?[h]:[])}}}function AB(n,a){let i=-1;const s=[];for(;++i<a.length;)(a[i].add==="after"?n:s).push(a[i]);La(n,0,0,s)}function oR(n,a){const i=Number.parseInt(n,a);return i<k.ht||i===k.vt||i>k.cr&&i<k.space||i>k.tilde&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?_a.replacementCharacter:String.fromCodePoint(i)}function El(n){return n.replace(/[\t\n\r ]+/g,_a.space).replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ua=fo(/[A-Za-z]/),pr=fo(/[\dA-Za-z]/),CB=fo(/[#-'*+\--9=?A-Z^-~]/);function a0(n){return n!==null&&(n<k.space||n===k.del)}const i0=fo(/\d/),RB=fo(/[\dA-Fa-f]/),zB=fo(/[!-/:-@[-`{-~]/);function Re(n){return n!==null&&n<k.horizontalTab}function Zn(n){return n!==null&&(n<k.nul||n===k.space)}function ut(n){return n===k.horizontalTab||n===k.virtualSpace||n===k.space}const OB=fo(new RegExp("\\p{P}|\\p{S}","u")),MB=fo(/\s/);function fo(n){return a;function a(i){return i!==null&&i>-1&&n.test(String.fromCharCode(i))}}function Ol(n){const a=[];let i=-1,s=0,u=0;for(;++i<n.length;){const f=n.charCodeAt(i);let d="";if(f===k.percentSign&&pr(n.charCodeAt(i+1))&&pr(n.charCodeAt(i+2)))u=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(d=String.fromCharCode(f));else if(f>55295&&f<57344){const h=n.charCodeAt(i+1);f<56320&&h>56319&&h<57344?(d=String.fromCharCode(f,h),u=1):d=_a.replacementCharacter}else d=String.fromCharCode(f);d&&(a.push(n.slice(s,i),encodeURIComponent(d)),s=i+u+1,d=""),u&&(i+=u,u=0)}return a.join("")+n.slice(s)}function Tt(n,a,i,s){const u=s?s-1:Number.POSITIVE_INFINITY;let f=0;return d;function d(b){return ut(b)?(n.enter(i),h(b)):a(b)}function h(b){return ut(b)&&f++<u?(n.consume(b),h):(n.exit(i),a(b))}}const _B={tokenize:UB};function UB(n){const a=n.attempt(this.parser.constructs.contentInitial,s,u);let i;return a;function s(h){if(P(h===k.eof||Re(h),"expected eol or eof"),h===k.eof){n.consume(h);return}return n.enter(D.lineEnding),n.consume(h),n.exit(D.lineEnding),Tt(n,a,D.linePrefix)}function u(h){return P(h!==k.eof&&!Re(h),"expected anything other than a line ending or EOF"),n.enter(D.paragraph),f(h)}function f(h){const b=n.enter(D.chunkText,{contentType:De.contentTypeText,previous:i});return i&&(i.next=b),i=b,d(h)}function d(h){if(h===k.eof){n.exit(D.chunkText),n.exit(D.paragraph),n.consume(h);return}return Re(h)?(n.consume(h),n.exit(D.chunkText),f):(n.consume(h),d)}}const jB={tokenize:VB},nN={tokenize:LB};function VB(n){const a=this,i=[];let s=0,u,f,d;return h;function h(I){if(s<i.length){const ie=i[s];return a.containerState=ie[1],P(ie[0].continuation,"expected `continuation` to be defined on container construct"),n.attempt(ie[0].continuation,b,y)(I)}return y(I)}function b(I){if(P(a.containerState,"expected `containerState` to be defined after continuation"),s++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,u&&Q();const ie=a.events.length;let re=ie,G;for(;re--;)if(a.events[re][0]==="exit"&&a.events[re][1].type===D.chunkFlow){G=a.events[re][1].end;break}P(G,"could not find previous flow chunk"),_(s);let ge=ie;for(;ge<a.events.length;)a.events[ge][1].end={...G},ge++;return La(a.events,re+1,0,a.events.slice(ie)),a.events.length=ge,y(I)}return h(I)}function y(I){if(s===i.length){if(!u)return x(I);if(u.currentConstruct&&u.currentConstruct.concrete)return N(I);a.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(nN,p,v)(I)}function p(I){return u&&Q(),_(s),x(I)}function v(I){return a.parser.lazy[a.now().line]=s!==i.length,d=a.now().offset,N(I)}function x(I){return a.containerState={},n.attempt(nN,S,N)(I)}function S(I){return P(a.currentConstruct,"expected `currentConstruct` to be defined on tokenizer"),P(a.containerState,"expected `containerState` to be defined on tokenizer"),s++,i.push([a.currentConstruct,a.containerState]),x(I)}function N(I){if(I===k.eof){u&&Q(),_(0),n.consume(I);return}return u=u||a.parser.flow(a.now()),n.enter(D.chunkFlow,{_tokenizer:u,contentType:De.contentTypeFlow,previous:f}),V(I)}function V(I){if(I===k.eof){R(n.exit(D.chunkFlow),!0),_(0),n.consume(I);return}return Re(I)?(n.consume(I),R(n.exit(D.chunkFlow)),s=0,a.interrupt=void 0,h):(n.consume(I),V)}function R(I,ie){P(u,"expected `childFlow` to be defined when continuing");const re=a.sliceStream(I);if(ie&&re.push(null),I.previous=f,f&&(f.next=I),f=I,u.defineSkip(I.start),u.write(re),a.parser.lazy[I.start.line]){let G=u.events.length;for(;G--;)if(u.events[G][1].start.offset<d&&(!u.events[G][1].end||u.events[G][1].end.offset>d))return;const ge=a.events.length;let se=ge,ce,F;for(;se--;)if(a.events[se][0]==="exit"&&a.events[se][1].type===D.chunkFlow){if(ce){F=a.events[se][1].end;break}ce=!0}for(P(F,"could not find previous flow chunk"),_(s),G=ge;G<a.events.length;)a.events[G][1].end={...F},G++;La(a.events,se+1,0,a.events.slice(ge)),a.events.length=G}}function _(I){let ie=i.length;for(;ie-- >I;){const re=i[ie];a.containerState=re[1],P(re[0].exit,"expected `exit` to be defined on container construct"),re[0].exit.call(a,n)}i.length=I}function Q(){P(a.containerState,"expected `containerState` to be defined when closing flow"),P(u,"expected `childFlow` to be defined when closing it"),u.write([k.eof]),f=void 0,u=void 0,a.containerState._closeFlow=void 0}}function LB(n,a,i){return P(this.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,n.attempt(this.parser.constructs.document,a,i),D.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:De.tabSize)}function rN(n){if(n===k.eof||Zn(n)||MB(n))return De.characterGroupWhitespace;if(OB(n))return De.characterGroupPunctuation}function av(n,a,i){const s=[];let u=-1;for(;++u<n.length;){const f=n[u].resolveAll;f&&!s.includes(f)&&(a=f(a,i),s.push(f))}return a}const o0={name:"attention",resolveAll:BB,tokenize:HB};function BB(n,a){let i=-1,s,u,f,d,h,b,y,p;for(;++i<n.length;)if(n[i][0]==="enter"&&n[i][1].type==="attentionSequence"&&n[i][1]._close){for(s=i;s--;)if(n[s][0]==="exit"&&n[s][1].type==="attentionSequence"&&n[s][1]._open&&a.sliceSerialize(n[s][1]).charCodeAt(0)===a.sliceSerialize(n[i][1]).charCodeAt(0)){if((n[s][1]._close||n[i][1]._open)&&(n[i][1].end.offset-n[i][1].start.offset)%3&&!((n[s][1].end.offset-n[s][1].start.offset+n[i][1].end.offset-n[i][1].start.offset)%3))continue;b=n[s][1].end.offset-n[s][1].start.offset>1&&n[i][1].end.offset-n[i][1].start.offset>1?2:1;const v={...n[s][1].end},x={...n[i][1].start};aN(v,-b),aN(x,b),d={type:b>1?D.strongSequence:D.emphasisSequence,start:v,end:{...n[s][1].end}},h={type:b>1?D.strongSequence:D.emphasisSequence,start:{...n[i][1].start},end:x},f={type:b>1?D.strongText:D.emphasisText,start:{...n[s][1].end},end:{...n[i][1].start}},u={type:b>1?D.strong:D.emphasis,start:{...d.start},end:{...h.end}},n[s][1].end={...d.start},n[i][1].start={...h.end},y=[],n[s][1].end.offset-n[s][1].start.offset&&(y=Ur(y,[["enter",n[s][1],a],["exit",n[s][1],a]])),y=Ur(y,[["enter",u,a],["enter",d,a],["exit",d,a],["enter",f,a]]),P(a.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),y=Ur(y,av(a.parser.constructs.insideSpan.null,n.slice(s+1,i),a)),y=Ur(y,[["exit",f,a],["enter",h,a],["exit",h,a],["exit",u,a]]),n[i][1].end.offset-n[i][1].start.offset?(p=2,y=Ur(y,[["enter",n[i][1],a],["exit",n[i][1],a]])):p=0,La(n,s-1,i-s+3,y),i=s+y.length-p-2;break}}for(i=-1;++i<n.length;)n[i][1].type==="attentionSequence"&&(n[i][1].type="data");return n}function HB(n,a){const i=this.parser.constructs.attentionMarkers.null,s=this.previous,u=rN(s);let f;return d;function d(b){return P(b===k.asterisk||b===k.underscore,"expected asterisk or underscore"),f=b,n.enter("attentionSequence"),h(b)}function h(b){if(b===f)return n.consume(b),h;const y=n.exit("attentionSequence"),p=rN(b);P(i,"expected `attentionMarkers` to be populated");const v=!p||p===De.characterGroupPunctuation&&u||i.includes(b),x=!u||u===De.characterGroupPunctuation&&p||i.includes(s);return y._open=!!(f===k.asterisk?v:v&&(u||!x)),y._close=!!(f===k.asterisk?x:x&&(p||!v)),a(b)}}function aN(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const PB={name:"autolink",tokenize:qB};function qB(n,a,i){let s=0;return u;function u(S){return P(S===k.lessThan,"expected `<`"),n.enter(D.autolink),n.enter(D.autolinkMarker),n.consume(S),n.exit(D.autolinkMarker),n.enter(D.autolinkProtocol),f}function f(S){return Ua(S)?(n.consume(S),d):S===k.atSign?i(S):y(S)}function d(S){return S===k.plusSign||S===k.dash||S===k.dot||pr(S)?(s=1,h(S)):y(S)}function h(S){return S===k.colon?(n.consume(S),s=0,b):(S===k.plusSign||S===k.dash||S===k.dot||pr(S))&&s++<De.autolinkSchemeSizeMax?(n.consume(S),h):(s=0,y(S))}function b(S){return S===k.greaterThan?(n.exit(D.autolinkProtocol),n.enter(D.autolinkMarker),n.consume(S),n.exit(D.autolinkMarker),n.exit(D.autolink),a):S===k.eof||S===k.space||S===k.lessThan||a0(S)?i(S):(n.consume(S),b)}function y(S){return S===k.atSign?(n.consume(S),p):CB(S)?(n.consume(S),y):i(S)}function p(S){return pr(S)?v(S):i(S)}function v(S){return S===k.dot?(n.consume(S),s=0,p):S===k.greaterThan?(n.exit(D.autolinkProtocol).type=D.autolinkEmail,n.enter(D.autolinkMarker),n.consume(S),n.exit(D.autolinkMarker),n.exit(D.autolink),a):x(S)}function x(S){if((S===k.dash||pr(S))&&s++<De.autolinkDomainSizeMax){const N=S===k.dash?x:v;return n.consume(S),N}return i(S)}}const Zh={partial:!0,tokenize:IB};function IB(n,a,i){return s;function s(f){return ut(f)?Tt(n,u,D.linePrefix)(f):u(f)}function u(f){return f===k.eof||Re(f)?a(f):i(f)}}const sR={continuation:{tokenize:YB},exit:GB,name:"blockQuote",tokenize:FB};function FB(n,a,i){const s=this;return u;function u(d){if(d===k.greaterThan){const h=s.containerState;return P(h,"expected `containerState` to be defined in container"),h.open||(n.enter(D.blockQuote,{_container:!0}),h.open=!0),n.enter(D.blockQuotePrefix),n.enter(D.blockQuoteMarker),n.consume(d),n.exit(D.blockQuoteMarker),f}return i(d)}function f(d){return ut(d)?(n.enter(D.blockQuotePrefixWhitespace),n.consume(d),n.exit(D.blockQuotePrefixWhitespace),n.exit(D.blockQuotePrefix),a):(n.exit(D.blockQuotePrefix),a(d))}}function YB(n,a,i){const s=this;return u;function u(d){return ut(d)?(P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,f,D.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:De.tabSize)(d)):f(d)}function f(d){return n.attempt(sR,a,i)(d)}}function GB(n){n.exit(D.blockQuote)}const lR={name:"characterEscape",tokenize:$B};function $B(n,a,i){return s;function s(f){return P(f===k.backslash,"expected `\\`"),n.enter(D.characterEscape),n.enter(D.escapeMarker),n.consume(f),n.exit(D.escapeMarker),u}function u(f){return zB(f)?(n.enter(D.characterEscapeValue),n.consume(f),n.exit(D.characterEscapeValue),n.exit(D.characterEscape),a):i(f)}}const uR={name:"characterReference",tokenize:XB};function XB(n,a,i){const s=this;let u=0,f,d;return h;function h(v){return P(v===k.ampersand,"expected `&`"),n.enter(D.characterReference),n.enter(D.characterReferenceMarker),n.consume(v),n.exit(D.characterReferenceMarker),b}function b(v){return v===k.numberSign?(n.enter(D.characterReferenceMarkerNumeric),n.consume(v),n.exit(D.characterReferenceMarkerNumeric),y):(n.enter(D.characterReferenceValue),f=De.characterReferenceNamedSizeMax,d=pr,p(v))}function y(v){return v===k.uppercaseX||v===k.lowercaseX?(n.enter(D.characterReferenceMarkerHexadecimal),n.consume(v),n.exit(D.characterReferenceMarkerHexadecimal),n.enter(D.characterReferenceValue),f=De.characterReferenceHexadecimalSizeMax,d=RB,p):(n.enter(D.characterReferenceValue),f=De.characterReferenceDecimalSizeMax,d=i0,p(v))}function p(v){if(v===k.semicolon&&u){const x=n.exit(D.characterReferenceValue);return d===pr&&!rv(s.sliceSerialize(x))?i(v):(n.enter(D.characterReferenceMarker),n.consume(v),n.exit(D.characterReferenceMarker),n.exit(D.characterReference),a)}return d(v)&&u++<f?(n.consume(v),p):i(v)}}const iN={partial:!0,tokenize:ZB},oN={concrete:!0,name:"codeFenced",tokenize:QB};function QB(n,a,i){const s=this,u={partial:!0,tokenize:re};let f=0,d=0,h;return b;function b(G){return y(G)}function y(G){P(G===k.graveAccent||G===k.tilde,"expected `` ` `` or `~`");const ge=s.events[s.events.length-1];return f=ge&&ge[1].type===D.linePrefix?ge[2].sliceSerialize(ge[1],!0).length:0,h=G,n.enter(D.codeFenced),n.enter(D.codeFencedFence),n.enter(D.codeFencedFenceSequence),p(G)}function p(G){return G===h?(d++,n.consume(G),p):d<De.codeFencedSequenceSizeMin?i(G):(n.exit(D.codeFencedFenceSequence),ut(G)?Tt(n,v,D.whitespace)(G):v(G))}function v(G){return G===k.eof||Re(G)?(n.exit(D.codeFencedFence),s.interrupt?a(G):n.check(iN,V,ie)(G)):(n.enter(D.codeFencedFenceInfo),n.enter(D.chunkString,{contentType:De.contentTypeString}),x(G))}function x(G){return G===k.eof||Re(G)?(n.exit(D.chunkString),n.exit(D.codeFencedFenceInfo),v(G)):ut(G)?(n.exit(D.chunkString),n.exit(D.codeFencedFenceInfo),Tt(n,S,D.whitespace)(G)):G===k.graveAccent&&G===h?i(G):(n.consume(G),x)}function S(G){return G===k.eof||Re(G)?v(G):(n.enter(D.codeFencedFenceMeta),n.enter(D.chunkString,{contentType:De.contentTypeString}),N(G))}function N(G){return G===k.eof||Re(G)?(n.exit(D.chunkString),n.exit(D.codeFencedFenceMeta),v(G)):G===k.graveAccent&&G===h?i(G):(n.consume(G),N)}function V(G){return P(Re(G),"expected eol"),n.attempt(u,ie,R)(G)}function R(G){return P(Re(G),"expected eol"),n.enter(D.lineEnding),n.consume(G),n.exit(D.lineEnding),_}function _(G){return f>0&&ut(G)?Tt(n,Q,D.linePrefix,f+1)(G):Q(G)}function Q(G){return G===k.eof||Re(G)?n.check(iN,V,ie)(G):(n.enter(D.codeFlowValue),I(G))}function I(G){return G===k.eof||Re(G)?(n.exit(D.codeFlowValue),Q(G)):(n.consume(G),I)}function ie(G){return n.exit(D.codeFenced),a(G)}function re(G,ge,se){let ce=0;return F;function F(ae){return P(Re(ae),"expected eol"),G.enter(D.lineEnding),G.consume(ae),G.exit(D.lineEnding),he}function he(ae){return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),G.enter(D.codeFencedFence),ut(ae)?Tt(G,oe,D.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:De.tabSize)(ae):oe(ae)}function oe(ae){return ae===h?(G.enter(D.codeFencedFenceSequence),X(ae)):se(ae)}function X(ae){return ae===h?(ce++,G.consume(ae),X):ce>=d?(G.exit(D.codeFencedFenceSequence),ut(ae)?Tt(G,ne,D.whitespace)(ae):ne(ae)):se(ae)}function ne(ae){return ae===k.eof||Re(ae)?(G.exit(D.codeFencedFence),ge(ae)):se(ae)}}}function ZB(n,a,i){const s=this;return u;function u(d){return d===k.eof?i(d):(P(Re(d),"expected eol"),n.enter(D.lineEnding),n.consume(d),n.exit(D.lineEnding),f)}function f(d){return s.parser.lazy[s.now().line]?i(d):a(d)}}const cb={name:"codeIndented",tokenize:KB},JB={partial:!0,tokenize:WB};function KB(n,a,i){const s=this;return u;function u(y){return P(ut(y)),n.enter(D.codeIndented),Tt(n,f,D.linePrefix,De.tabSize+1)(y)}function f(y){const p=s.events[s.events.length-1];return p&&p[1].type===D.linePrefix&&p[2].sliceSerialize(p[1],!0).length>=De.tabSize?d(y):i(y)}function d(y){return y===k.eof?b(y):Re(y)?n.attempt(JB,d,b)(y):(n.enter(D.codeFlowValue),h(y))}function h(y){return y===k.eof||Re(y)?(n.exit(D.codeFlowValue),d(y)):(n.consume(y),h)}function b(y){return n.exit(D.codeIndented),a(y)}}function WB(n,a,i){const s=this;return u;function u(d){return s.parser.lazy[s.now().line]?i(d):Re(d)?(n.enter(D.lineEnding),n.consume(d),n.exit(D.lineEnding),u):Tt(n,f,D.linePrefix,De.tabSize+1)(d)}function f(d){const h=s.events[s.events.length-1];return h&&h[1].type===D.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=De.tabSize?a(d):Re(d)?u(d):i(d)}}const e6={name:"codeText",previous:cR,resolve:t6,tokenize:n6};function t6(n){let a=n.length-4,i=3,s,u;if((n[i][1].type===D.lineEnding||n[i][1].type==="space")&&(n[a][1].type===D.lineEnding||n[a][1].type==="space")){for(s=i;++s<a;)if(n[s][1].type===D.codeTextData){n[i][1].type=D.codeTextPadding,n[a][1].type=D.codeTextPadding,i+=2,a-=2;break}}for(s=i-1,a++;++s<=a;)u===void 0?s!==a&&n[s][1].type!==D.lineEnding&&(u=s):(s===a||n[s][1].type===D.lineEnding)&&(n[u][1].type=D.codeTextData,s!==u+2&&(n[u][1].end=n[s-1][1].end,n.splice(u+2,s-u-2),a-=s-u-2,s=u+2),u=void 0);return n}function cR(n){return n!==k.graveAccent||this.events[this.events.length-1][1].type===D.characterEscape}function n6(n,a,i){const s=this;let u=0,f,d;return h;function h(x){return P(x===k.graveAccent,"expected `` ` ``"),P(cR.call(s,s.previous),"expected correct previous"),n.enter(D.codeText),n.enter(D.codeTextSequence),b(x)}function b(x){return x===k.graveAccent?(n.consume(x),u++,b):(n.exit(D.codeTextSequence),y(x))}function y(x){return x===k.eof?i(x):x===k.space?(n.enter("space"),n.consume(x),n.exit("space"),y):x===k.graveAccent?(d=n.enter(D.codeTextSequence),f=0,v(x)):Re(x)?(n.enter(D.lineEnding),n.consume(x),n.exit(D.lineEnding),y):(n.enter(D.codeTextData),p(x))}function p(x){return x===k.eof||x===k.space||x===k.graveAccent||Re(x)?(n.exit(D.codeTextData),y(x)):(n.consume(x),p)}function v(x){return x===k.graveAccent?(n.consume(x),f++,v):f===u?(n.exit(D.codeTextSequence),n.exit(D.codeText),a(x)):(d.type=D.codeTextData,p(x))}}class r6{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,i){const s=i??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(a,s):a>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(a,i,s){const u=i||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return s&&mc(this.left,s),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),mc(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),mc(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const i=this.left.splice(a,Number.POSITIVE_INFINITY);mc(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);mc(this.left,i.reverse())}}}function mc(n,a){let i=0;if(a.length<De.v8MaxSafeChunkSize)n.push(...a);else for(;i<a.length;)n.push(...a.slice(i,i+De.v8MaxSafeChunkSize)),i+=De.v8MaxSafeChunkSize}function fR(n){const a={};let i=-1,s,u,f,d,h,b,y;const p=new r6(n);for(;++i<p.length;){for(;i in a;)i=a[i];if(s=p.get(i),i&&s[1].type===D.chunkFlow&&p.get(i-1)[1].type===D.listItemPrefix&&(P(s[1]._tokenizer,"expected `_tokenizer` on subtokens"),b=s[1]._tokenizer.events,f=0,f<b.length&&b[f][1].type===D.lineEndingBlank&&(f+=2),f<b.length&&b[f][1].type===D.content))for(;++f<b.length&&b[f][1].type!==D.content;)b[f][1].type===D.chunkText&&(b[f][1]._isInFirstContentOfListItem=!0,f++);if(s[0]==="enter")s[1].contentType&&(Object.assign(a,a6(p,i)),i=a[i],y=!0);else if(s[1]._container){for(f=i,u=void 0;f--;)if(d=p.get(f),d[1].type===D.lineEnding||d[1].type===D.lineEndingBlank)d[0]==="enter"&&(u&&(p.get(u)[1].type=D.lineEndingBlank),d[1].type=D.lineEnding,u=f);else if(!(d[1].type===D.linePrefix||d[1].type===D.listItemIndent))break;u&&(s[1].end={...p.get(u)[1].start},h=p.slice(u,i),h.unshift(s),p.splice(u,i-u+1,h))}}return La(n,0,Number.POSITIVE_INFINITY,p.slice(0)),!y}function a6(n,a){const i=n.get(a)[1],s=n.get(a)[2];let u=a-1;const f=[];P(i.contentType,"expected `contentType` on subtokens");let d=i._tokenizer;d||(d=s.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(d._contentTypeTextTrailing=!0));const h=d.events,b=[],y={};let p,v,x=-1,S=i,N=0,V=0;const R=[V];for(;S;){for(;n.get(++u)[1]!==S;);P(!v||S.previous===v,"expected previous to match"),P(!v||v.next===S,"expected next to match"),f.push(u),S._tokenizer||(p=s.sliceStream(S),S.next||p.push(k.eof),v&&d.defineSkip(S.start),S._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(p),S._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),v=S,S=S.next}for(S=i;++x<h.length;)h[x][0]==="exit"&&h[x-1][0]==="enter"&&h[x][1].type===h[x-1][1].type&&h[x][1].start.line!==h[x][1].end.line&&(P(S,"expected a current token"),V=x+1,R.push(V),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(d.events=[],S?(S._tokenizer=void 0,S.previous=void 0,P(!S.next,"expected no next token")):R.pop(),x=R.length;x--;){const _=h.slice(R[x],R[x+1]),Q=f.pop();P(Q!==void 0,"expected a start position when splicing"),b.push([Q,Q+_.length-1]),n.splice(Q,2,_)}for(b.reverse(),x=-1;++x<b.length;)y[N+b[x][0]]=N+b[x][1],N+=b[x][1]-b[x][0]-1;return y}const i6={resolve:s6,tokenize:l6},o6={partial:!0,tokenize:u6};function s6(n){return fR(n),n}function l6(n,a){let i;return s;function s(h){return P(h!==k.eof&&!Re(h),"expected no eof or eol"),n.enter(D.content),i=n.enter(D.chunkContent,{contentType:De.contentTypeContent}),u(h)}function u(h){return h===k.eof?f(h):Re(h)?n.check(o6,d,f)(h):(n.consume(h),u)}function f(h){return n.exit(D.chunkContent),n.exit(D.content),a(h)}function d(h){return P(Re(h),"expected eol"),n.consume(h),n.exit(D.chunkContent),P(i,"expected previous token"),i.next=n.enter(D.chunkContent,{contentType:De.contentTypeContent,previous:i}),i=i.next,u}}function u6(n,a,i){const s=this;return u;function u(d){return P(Re(d),"expected a line ending"),n.exit(D.chunkContent),n.enter(D.lineEnding),n.consume(d),n.exit(D.lineEnding),Tt(n,f,D.linePrefix)}function f(d){if(d===k.eof||Re(d))return i(d);P(s.parser.constructs.disable.null,"expected `disable.null` to be populated");const h=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type===D.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=De.tabSize?a(d):n.interrupt(s.parser.constructs.flow,i,a)(d)}}function dR(n,a,i,s,u,f,d,h,b){const y=b||Number.POSITIVE_INFINITY;let p=0;return v;function v(_){return _===k.lessThan?(n.enter(s),n.enter(u),n.enter(f),n.consume(_),n.exit(f),x):_===k.eof||_===k.space||_===k.rightParenthesis||a0(_)?i(_):(n.enter(s),n.enter(d),n.enter(h),n.enter(D.chunkString,{contentType:De.contentTypeString}),V(_))}function x(_){return _===k.greaterThan?(n.enter(f),n.consume(_),n.exit(f),n.exit(u),n.exit(s),a):(n.enter(h),n.enter(D.chunkString,{contentType:De.contentTypeString}),S(_))}function S(_){return _===k.greaterThan?(n.exit(D.chunkString),n.exit(h),x(_)):_===k.eof||_===k.lessThan||Re(_)?i(_):(n.consume(_),_===k.backslash?N:S)}function N(_){return _===k.lessThan||_===k.greaterThan||_===k.backslash?(n.consume(_),S):S(_)}function V(_){return!p&&(_===k.eof||_===k.rightParenthesis||Zn(_))?(n.exit(D.chunkString),n.exit(h),n.exit(d),n.exit(s),a(_)):p<y&&_===k.leftParenthesis?(n.consume(_),p++,V):_===k.rightParenthesis?(n.consume(_),p--,V):_===k.eof||_===k.space||_===k.leftParenthesis||a0(_)?i(_):(n.consume(_),_===k.backslash?R:V)}function R(_){return _===k.leftParenthesis||_===k.rightParenthesis||_===k.backslash?(n.consume(_),V):V(_)}}function hR(n,a,i,s,u,f){const d=this;let h=0,b;return y;function y(S){return P(S===k.leftSquareBracket,"expected `[`"),n.enter(s),n.enter(u),n.consume(S),n.exit(u),n.enter(f),p}function p(S){return h>De.linkReferenceSizeMax||S===k.eof||S===k.leftSquareBracket||S===k.rightSquareBracket&&!b||S===k.caret&&!h&&"_hiddenFootnoteSupport"in d.parser.constructs?i(S):S===k.rightSquareBracket?(n.exit(f),n.enter(u),n.consume(S),n.exit(u),n.exit(s),a):Re(S)?(n.enter(D.lineEnding),n.consume(S),n.exit(D.lineEnding),p):(n.enter(D.chunkString,{contentType:De.contentTypeString}),v(S))}function v(S){return S===k.eof||S===k.leftSquareBracket||S===k.rightSquareBracket||Re(S)||h++>De.linkReferenceSizeMax?(n.exit(D.chunkString),p(S)):(n.consume(S),b||(b=!ut(S)),S===k.backslash?x:v)}function x(S){return S===k.leftSquareBracket||S===k.backslash||S===k.rightSquareBracket?(n.consume(S),h++,v):v(S)}}function mR(n,a,i,s,u,f){let d;return h;function h(x){return x===k.quotationMark||x===k.apostrophe||x===k.leftParenthesis?(n.enter(s),n.enter(u),n.consume(x),n.exit(u),d=x===k.leftParenthesis?k.rightParenthesis:x,b):i(x)}function b(x){return x===d?(n.enter(u),n.consume(x),n.exit(u),n.exit(s),a):(n.enter(f),y(x))}function y(x){return x===d?(n.exit(f),b(d)):x===k.eof?i(x):Re(x)?(n.enter(D.lineEnding),n.consume(x),n.exit(D.lineEnding),Tt(n,y,D.linePrefix)):(n.enter(D.chunkString,{contentType:De.contentTypeString}),p(x))}function p(x){return x===d||x===k.eof||Re(x)?(n.exit(D.chunkString),y(x)):(n.consume(x),x===k.backslash?v:p)}function v(x){return x===d||x===k.backslash?(n.consume(x),p):p(x)}}function wc(n,a){let i;return s;function s(u){return Re(u)?(n.enter(D.lineEnding),n.consume(u),n.exit(D.lineEnding),i=!0,s):ut(u)?Tt(n,s,i?D.linePrefix:D.lineSuffix)(u):a(u)}}const c6={name:"definition",tokenize:d6},f6={partial:!0,tokenize:h6};function d6(n,a,i){const s=this;let u;return f;function f(S){return n.enter(D.definition),d(S)}function d(S){return P(S===k.leftSquareBracket,"expected `[`"),hR.call(s,n,h,i,D.definitionLabel,D.definitionLabelMarker,D.definitionLabelString)(S)}function h(S){return u=El(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),S===k.colon?(n.enter(D.definitionMarker),n.consume(S),n.exit(D.definitionMarker),b):i(S)}function b(S){return Zn(S)?wc(n,y)(S):y(S)}function y(S){return dR(n,p,i,D.definitionDestination,D.definitionDestinationLiteral,D.definitionDestinationLiteralMarker,D.definitionDestinationRaw,D.definitionDestinationString)(S)}function p(S){return n.attempt(f6,v,v)(S)}function v(S){return ut(S)?Tt(n,x,D.whitespace)(S):x(S)}function x(S){return S===k.eof||Re(S)?(n.exit(D.definition),s.parser.defined.push(u),a(S)):i(S)}}function h6(n,a,i){return s;function s(h){return Zn(h)?wc(n,u)(h):i(h)}function u(h){return mR(n,f,i,D.definitionTitle,D.definitionTitleMarker,D.definitionTitleString)(h)}function f(h){return ut(h)?Tt(n,d,D.whitespace)(h):d(h)}function d(h){return h===k.eof||Re(h)?a(h):i(h)}}const m6={name:"hardBreakEscape",tokenize:p6};function p6(n,a,i){return s;function s(f){return P(f===k.backslash,"expected `\\`"),n.enter(D.hardBreakEscape),n.consume(f),u}function u(f){return Re(f)?(n.exit(D.hardBreakEscape),a(f)):i(f)}}const y6={name:"headingAtx",resolve:g6,tokenize:b6};function g6(n,a){let i=n.length-2,s=3,u,f;return n[s][1].type===D.whitespace&&(s+=2),i-2>s&&n[i][1].type===D.whitespace&&(i-=2),n[i][1].type===D.atxHeadingSequence&&(s===i-1||i-4>s&&n[i-2][1].type===D.whitespace)&&(i-=s+1===i?2:4),i>s&&(u={type:D.atxHeadingText,start:n[s][1].start,end:n[i][1].end},f={type:D.chunkText,start:n[s][1].start,end:n[i][1].end,contentType:De.contentTypeText},La(n,s,i-s+1,[["enter",u,a],["enter",f,a],["exit",f,a],["exit",u,a]])),n}function b6(n,a,i){let s=0;return u;function u(p){return n.enter(D.atxHeading),f(p)}function f(p){return P(p===k.numberSign,"expected `#`"),n.enter(D.atxHeadingSequence),d(p)}function d(p){return p===k.numberSign&&s++<De.atxHeadingOpeningFenceSizeMax?(n.consume(p),d):p===k.eof||Zn(p)?(n.exit(D.atxHeadingSequence),h(p)):i(p)}function h(p){return p===k.numberSign?(n.enter(D.atxHeadingSequence),b(p)):p===k.eof||Re(p)?(n.exit(D.atxHeading),a(p)):ut(p)?Tt(n,h,D.whitespace)(p):(n.enter(D.atxHeadingText),y(p))}function b(p){return p===k.numberSign?(n.consume(p),b):(n.exit(D.atxHeadingSequence),h(p))}function y(p){return p===k.eof||p===k.numberSign||Zn(p)?(n.exit(D.atxHeadingText),h(p)):(n.consume(p),y)}}const v6=["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"],sN=["pre","script","style","textarea"],x6={concrete:!0,name:"htmlFlow",resolveTo:E6,tokenize:T6},S6={partial:!0,tokenize:k6},w6={partial:!0,tokenize:D6};function E6(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type===D.htmlFlow););return a>1&&n[a-2][1].type===D.linePrefix&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function T6(n,a,i){const s=this;let u,f,d,h,b;return y;function y(C){return p(C)}function p(C){return P(C===k.lessThan,"expected `<`"),n.enter(D.htmlFlow),n.enter(D.htmlFlowData),n.consume(C),v}function v(C){return C===k.exclamationMark?(n.consume(C),x):C===k.slash?(n.consume(C),f=!0,V):C===k.questionMark?(n.consume(C),u=De.htmlInstruction,s.interrupt?a:z):Ua(C)?(P(C!==null),n.consume(C),d=String.fromCharCode(C),R):i(C)}function x(C){return C===k.dash?(n.consume(C),u=De.htmlComment,S):C===k.leftSquareBracket?(n.consume(C),u=De.htmlCdata,h=0,N):Ua(C)?(n.consume(C),u=De.htmlDeclaration,s.interrupt?a:z):i(C)}function S(C){return C===k.dash?(n.consume(C),s.interrupt?a:z):i(C)}function N(C){const xe=De.cdataOpeningString;return C===xe.charCodeAt(h++)?(n.consume(C),h===xe.length?s.interrupt?a:oe:N):i(C)}function V(C){return Ua(C)?(P(C!==null),n.consume(C),d=String.fromCharCode(C),R):i(C)}function R(C){if(C===k.eof||C===k.slash||C===k.greaterThan||Zn(C)){const xe=C===k.slash,at=d.toLowerCase();return!xe&&!f&&sN.includes(at)?(u=De.htmlRaw,s.interrupt?a(C):oe(C)):v6.includes(d.toLowerCase())?(u=De.htmlBasic,xe?(n.consume(C),_):s.interrupt?a(C):oe(C)):(u=De.htmlComplete,s.interrupt&&!s.parser.lazy[s.now().line]?i(C):f?Q(C):I(C))}return C===k.dash||pr(C)?(n.consume(C),d+=String.fromCharCode(C),R):i(C)}function _(C){return C===k.greaterThan?(n.consume(C),s.interrupt?a:oe):i(C)}function Q(C){return ut(C)?(n.consume(C),Q):F(C)}function I(C){return C===k.slash?(n.consume(C),F):C===k.colon||C===k.underscore||Ua(C)?(n.consume(C),ie):ut(C)?(n.consume(C),I):F(C)}function ie(C){return C===k.dash||C===k.dot||C===k.colon||C===k.underscore||pr(C)?(n.consume(C),ie):re(C)}function re(C){return C===k.equalsTo?(n.consume(C),G):ut(C)?(n.consume(C),re):I(C)}function G(C){return C===k.eof||C===k.lessThan||C===k.equalsTo||C===k.greaterThan||C===k.graveAccent?i(C):C===k.quotationMark||C===k.apostrophe?(n.consume(C),b=C,ge):ut(C)?(n.consume(C),G):se(C)}function ge(C){return C===b?(n.consume(C),b=null,ce):C===k.eof||Re(C)?i(C):(n.consume(C),ge)}function se(C){return C===k.eof||C===k.quotationMark||C===k.apostrophe||C===k.slash||C===k.lessThan||C===k.equalsTo||C===k.greaterThan||C===k.graveAccent||Zn(C)?re(C):(n.consume(C),se)}function ce(C){return C===k.slash||C===k.greaterThan||ut(C)?I(C):i(C)}function F(C){return C===k.greaterThan?(n.consume(C),he):i(C)}function he(C){return C===k.eof||Re(C)?oe(C):ut(C)?(n.consume(C),he):i(C)}function oe(C){return C===k.dash&&u===De.htmlComment?(n.consume(C),Y):C===k.lessThan&&u===De.htmlRaw?(n.consume(C),le):C===k.greaterThan&&u===De.htmlDeclaration?(n.consume(C),U):C===k.questionMark&&u===De.htmlInstruction?(n.consume(C),z):C===k.rightSquareBracket&&u===De.htmlCdata?(n.consume(C),ze):Re(C)&&(u===De.htmlBasic||u===De.htmlComplete)?(n.exit(D.htmlFlowData),n.check(S6,ue,X)(C)):C===k.eof||Re(C)?(n.exit(D.htmlFlowData),X(C)):(n.consume(C),oe)}function X(C){return n.check(w6,ne,ue)(C)}function ne(C){return P(Re(C)),n.enter(D.lineEnding),n.consume(C),n.exit(D.lineEnding),ae}function ae(C){return C===k.eof||Re(C)?X(C):(n.enter(D.htmlFlowData),oe(C))}function Y(C){return C===k.dash?(n.consume(C),z):oe(C)}function le(C){return C===k.slash?(n.consume(C),d="",pe):oe(C)}function pe(C){if(C===k.greaterThan){const xe=d.toLowerCase();return sN.includes(xe)?(n.consume(C),U):oe(C)}return Ua(C)&&d.length<De.htmlRawSizeMax?(P(C!==null),n.consume(C),d+=String.fromCharCode(C),pe):oe(C)}function ze(C){return C===k.rightSquareBracket?(n.consume(C),z):oe(C)}function z(C){return C===k.greaterThan?(n.consume(C),U):C===k.dash&&u===De.htmlComment?(n.consume(C),z):oe(C)}function U(C){return C===k.eof||Re(C)?(n.exit(D.htmlFlowData),ue(C)):(n.consume(C),U)}function ue(C){return n.exit(D.htmlFlow),a(C)}}function D6(n,a,i){const s=this;return u;function u(d){return Re(d)?(n.enter(D.lineEnding),n.consume(d),n.exit(D.lineEnding),f):i(d)}function f(d){return s.parser.lazy[s.now().line]?i(d):a(d)}}function k6(n,a,i){return s;function s(u){return P(Re(u),"expected a line ending"),n.enter(D.lineEnding),n.consume(u),n.exit(D.lineEnding),n.attempt(Zh,a,i)}}const N6={name:"htmlText",tokenize:A6};function A6(n,a,i){const s=this;let u,f,d;return h;function h(z){return P(z===k.lessThan,"expected `<`"),n.enter(D.htmlText),n.enter(D.htmlTextData),n.consume(z),b}function b(z){return z===k.exclamationMark?(n.consume(z),y):z===k.slash?(n.consume(z),re):z===k.questionMark?(n.consume(z),I):Ua(z)?(n.consume(z),se):i(z)}function y(z){return z===k.dash?(n.consume(z),p):z===k.leftSquareBracket?(n.consume(z),f=0,N):Ua(z)?(n.consume(z),Q):i(z)}function p(z){return z===k.dash?(n.consume(z),S):i(z)}function v(z){return z===k.eof?i(z):z===k.dash?(n.consume(z),x):Re(z)?(d=v,le(z)):(n.consume(z),v)}function x(z){return z===k.dash?(n.consume(z),S):v(z)}function S(z){return z===k.greaterThan?Y(z):z===k.dash?x(z):v(z)}function N(z){const U=De.cdataOpeningString;return z===U.charCodeAt(f++)?(n.consume(z),f===U.length?V:N):i(z)}function V(z){return z===k.eof?i(z):z===k.rightSquareBracket?(n.consume(z),R):Re(z)?(d=V,le(z)):(n.consume(z),V)}function R(z){return z===k.rightSquareBracket?(n.consume(z),_):V(z)}function _(z){return z===k.greaterThan?Y(z):z===k.rightSquareBracket?(n.consume(z),_):V(z)}function Q(z){return z===k.eof||z===k.greaterThan?Y(z):Re(z)?(d=Q,le(z)):(n.consume(z),Q)}function I(z){return z===k.eof?i(z):z===k.questionMark?(n.consume(z),ie):Re(z)?(d=I,le(z)):(n.consume(z),I)}function ie(z){return z===k.greaterThan?Y(z):I(z)}function re(z){return Ua(z)?(n.consume(z),G):i(z)}function G(z){return z===k.dash||pr(z)?(n.consume(z),G):ge(z)}function ge(z){return Re(z)?(d=ge,le(z)):ut(z)?(n.consume(z),ge):Y(z)}function se(z){return z===k.dash||pr(z)?(n.consume(z),se):z===k.slash||z===k.greaterThan||Zn(z)?ce(z):i(z)}function ce(z){return z===k.slash?(n.consume(z),Y):z===k.colon||z===k.underscore||Ua(z)?(n.consume(z),F):Re(z)?(d=ce,le(z)):ut(z)?(n.consume(z),ce):Y(z)}function F(z){return z===k.dash||z===k.dot||z===k.colon||z===k.underscore||pr(z)?(n.consume(z),F):he(z)}function he(z){return z===k.equalsTo?(n.consume(z),oe):Re(z)?(d=he,le(z)):ut(z)?(n.consume(z),he):ce(z)}function oe(z){return z===k.eof||z===k.lessThan||z===k.equalsTo||z===k.greaterThan||z===k.graveAccent?i(z):z===k.quotationMark||z===k.apostrophe?(n.consume(z),u=z,X):Re(z)?(d=oe,le(z)):ut(z)?(n.consume(z),oe):(n.consume(z),ne)}function X(z){return z===u?(n.consume(z),u=void 0,ae):z===k.eof?i(z):Re(z)?(d=X,le(z)):(n.consume(z),X)}function ne(z){return z===k.eof||z===k.quotationMark||z===k.apostrophe||z===k.lessThan||z===k.equalsTo||z===k.graveAccent?i(z):z===k.slash||z===k.greaterThan||Zn(z)?ce(z):(n.consume(z),ne)}function ae(z){return z===k.slash||z===k.greaterThan||Zn(z)?ce(z):i(z)}function Y(z){return z===k.greaterThan?(n.consume(z),n.exit(D.htmlTextData),n.exit(D.htmlText),a):i(z)}function le(z){return P(d,"expected return state"),P(Re(z),"expected eol"),n.exit(D.htmlTextData),n.enter(D.lineEnding),n.consume(z),n.exit(D.lineEnding),pe}function pe(z){return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),ut(z)?Tt(n,ze,D.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:De.tabSize)(z):ze(z)}function ze(z){return n.enter(D.htmlTextData),d(z)}}const iv={name:"labelEnd",resolveAll:O6,resolveTo:M6,tokenize:_6},C6={tokenize:U6},R6={tokenize:j6},z6={tokenize:V6};function O6(n){let a=-1;const i=[];for(;++a<n.length;){const s=n[a][1];if(i.push(n[a]),s.type===D.labelImage||s.type===D.labelLink||s.type===D.labelEnd){const u=s.type===D.labelImage?4:2;s.type=D.data,a+=u}}return n.length!==i.length&&La(n,0,n.length,i),n}function M6(n,a){let i=n.length,s=0,u,f,d,h;for(;i--;)if(u=n[i][1],f){if(u.type===D.link||u.type===D.labelLink&&u._inactive)break;n[i][0]==="enter"&&u.type===D.labelLink&&(u._inactive=!0)}else if(d){if(n[i][0]==="enter"&&(u.type===D.labelImage||u.type===D.labelLink)&&!u._balanced&&(f=i,u.type!==D.labelLink)){s=2;break}}else u.type===D.labelEnd&&(d=i);P(f!==void 0,"`open` is supposed to be found"),P(d!==void 0,"`close` is supposed to be found");const b={type:n[f][1].type===D.labelLink?D.link:D.image,start:{...n[f][1].start},end:{...n[n.length-1][1].end}},y={type:D.label,start:{...n[f][1].start},end:{...n[d][1].end}},p={type:D.labelText,start:{...n[f+s+2][1].end},end:{...n[d-2][1].start}};return h=[["enter",b,a],["enter",y,a]],h=Ur(h,n.slice(f+1,f+s+3)),h=Ur(h,[["enter",p,a]]),P(a.parser.constructs.insideSpan.null,"expected `insideSpan.null` to be populated"),h=Ur(h,av(a.parser.constructs.insideSpan.null,n.slice(f+s+4,d-3),a)),h=Ur(h,[["exit",p,a],n[d-2],n[d-1],["exit",y,a]]),h=Ur(h,n.slice(d+1)),h=Ur(h,[["exit",b,a]]),La(n,f,n.length,h),n}function _6(n,a,i){const s=this;let u=s.events.length,f,d;for(;u--;)if((s.events[u][1].type===D.labelImage||s.events[u][1].type===D.labelLink)&&!s.events[u][1]._balanced){f=s.events[u][1];break}return h;function h(x){return P(x===k.rightSquareBracket,"expected `]`"),f?f._inactive?v(x):(d=s.parser.defined.includes(El(s.sliceSerialize({start:f.end,end:s.now()}))),n.enter(D.labelEnd),n.enter(D.labelMarker),n.consume(x),n.exit(D.labelMarker),n.exit(D.labelEnd),b):i(x)}function b(x){return x===k.leftParenthesis?n.attempt(C6,p,d?p:v)(x):x===k.leftSquareBracket?n.attempt(R6,p,d?y:v)(x):d?p(x):v(x)}function y(x){return n.attempt(z6,p,v)(x)}function p(x){return a(x)}function v(x){return f._balanced=!0,i(x)}}function U6(n,a,i){return s;function s(v){return P(v===k.leftParenthesis,"expected left paren"),n.enter(D.resource),n.enter(D.resourceMarker),n.consume(v),n.exit(D.resourceMarker),u}function u(v){return Zn(v)?wc(n,f)(v):f(v)}function f(v){return v===k.rightParenthesis?p(v):dR(n,d,h,D.resourceDestination,D.resourceDestinationLiteral,D.resourceDestinationLiteralMarker,D.resourceDestinationRaw,D.resourceDestinationString,De.linkResourceDestinationBalanceMax)(v)}function d(v){return Zn(v)?wc(n,b)(v):p(v)}function h(v){return i(v)}function b(v){return v===k.quotationMark||v===k.apostrophe||v===k.leftParenthesis?mR(n,y,i,D.resourceTitle,D.resourceTitleMarker,D.resourceTitleString)(v):p(v)}function y(v){return Zn(v)?wc(n,p)(v):p(v)}function p(v){return v===k.rightParenthesis?(n.enter(D.resourceMarker),n.consume(v),n.exit(D.resourceMarker),n.exit(D.resource),a):i(v)}}function j6(n,a,i){const s=this;return u;function u(h){return P(h===k.leftSquareBracket,"expected left bracket"),hR.call(s,n,f,d,D.reference,D.referenceMarker,D.referenceString)(h)}function f(h){return s.parser.defined.includes(El(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?a(h):i(h)}function d(h){return i(h)}}function V6(n,a,i){return s;function s(f){return P(f===k.leftSquareBracket,"expected left bracket"),n.enter(D.reference),n.enter(D.referenceMarker),n.consume(f),n.exit(D.referenceMarker),u}function u(f){return f===k.rightSquareBracket?(n.enter(D.referenceMarker),n.consume(f),n.exit(D.referenceMarker),n.exit(D.reference),a):i(f)}}const L6={name:"labelStartImage",resolveAll:iv.resolveAll,tokenize:B6};function B6(n,a,i){const s=this;return u;function u(h){return P(h===k.exclamationMark,"expected `!`"),n.enter(D.labelImage),n.enter(D.labelImageMarker),n.consume(h),n.exit(D.labelImageMarker),f}function f(h){return h===k.leftSquareBracket?(n.enter(D.labelMarker),n.consume(h),n.exit(D.labelMarker),n.exit(D.labelImage),d):i(h)}function d(h){return h===k.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?i(h):a(h)}}const H6={name:"labelStartLink",resolveAll:iv.resolveAll,tokenize:P6};function P6(n,a,i){const s=this;return u;function u(d){return P(d===k.leftSquareBracket,"expected `[`"),n.enter(D.labelLink),n.enter(D.labelMarker),n.consume(d),n.exit(D.labelMarker),n.exit(D.labelLink),f}function f(d){return d===k.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?i(d):a(d)}}const fb={name:"lineEnding",tokenize:q6};function q6(n,a){return i;function i(s){return P(Re(s),"expected eol"),n.enter(D.lineEnding),n.consume(s),n.exit(D.lineEnding),Tt(n,a,D.linePrefix)}}const Nh={name:"thematicBreak",tokenize:I6};function I6(n,a,i){let s=0,u;return f;function f(y){return n.enter(D.thematicBreak),d(y)}function d(y){return P(y===k.asterisk||y===k.dash||y===k.underscore,"expected `*`, `-`, or `_`"),u=y,h(y)}function h(y){return y===u?(n.enter(D.thematicBreakSequence),b(y)):s>=De.thematicBreakMarkerCountMin&&(y===k.eof||Re(y))?(n.exit(D.thematicBreak),a(y)):i(y)}function b(y){return y===u?(n.consume(y),s++,b):(n.exit(D.thematicBreakSequence),ut(y)?Tt(n,h,D.whitespace)(y):h(y))}}const $n={continuation:{tokenize:$6},exit:Q6,name:"list",tokenize:G6},F6={partial:!0,tokenize:Z6},Y6={partial:!0,tokenize:X6};function G6(n,a,i){const s=this,u=s.events[s.events.length-1];let f=u&&u[1].type===D.linePrefix?u[2].sliceSerialize(u[1],!0).length:0,d=0;return h;function h(S){P(s.containerState,"expected state");const N=s.containerState.type||(S===k.asterisk||S===k.plusSign||S===k.dash?D.listUnordered:D.listOrdered);if(N===D.listUnordered?!s.containerState.marker||S===s.containerState.marker:i0(S)){if(s.containerState.type||(s.containerState.type=N,n.enter(N,{_container:!0})),N===D.listUnordered)return n.enter(D.listItemPrefix),S===k.asterisk||S===k.dash?n.check(Nh,i,y)(S):y(S);if(!s.interrupt||S===k.digit1)return n.enter(D.listItemPrefix),n.enter(D.listItemValue),b(S)}return i(S)}function b(S){return P(s.containerState,"expected state"),i0(S)&&++d<De.listItemValueSizeMax?(n.consume(S),b):(!s.interrupt||d<2)&&(s.containerState.marker?S===s.containerState.marker:S===k.rightParenthesis||S===k.dot)?(n.exit(D.listItemValue),y(S)):i(S)}function y(S){return P(s.containerState,"expected state"),P(S!==k.eof,"eof (`null`) is not a marker"),n.enter(D.listItemMarker),n.consume(S),n.exit(D.listItemMarker),s.containerState.marker=s.containerState.marker||S,n.check(Zh,s.interrupt?i:p,n.attempt(F6,x,v))}function p(S){return P(s.containerState,"expected state"),s.containerState.initialBlankLine=!0,f++,x(S)}function v(S){return ut(S)?(n.enter(D.listItemPrefixWhitespace),n.consume(S),n.exit(D.listItemPrefixWhitespace),x):i(S)}function x(S){return P(s.containerState,"expected state"),s.containerState.size=f+s.sliceSerialize(n.exit(D.listItemPrefix),!0).length,a(S)}}function $6(n,a,i){const s=this;return P(s.containerState,"expected state"),s.containerState._closeFlow=void 0,n.check(Zh,u,f);function u(h){return P(s.containerState,"expected state"),P(typeof s.containerState.size=="number","expected size"),s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Tt(n,a,D.listItemIndent,s.containerState.size+1)(h)}function f(h){return P(s.containerState,"expected state"),s.containerState.furtherBlankLines||!ut(h)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,d(h)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,n.attempt(Y6,a,d)(h))}function d(h){return P(s.containerState,"expected state"),s.containerState._closeFlow=!0,s.interrupt=void 0,P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,n.attempt($n,a,i),D.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:De.tabSize)(h)}}function X6(n,a,i){const s=this;return P(s.containerState,"expected state"),P(typeof s.containerState.size=="number","expected size"),Tt(n,u,D.listItemIndent,s.containerState.size+1);function u(f){P(s.containerState,"expected state");const d=s.events[s.events.length-1];return d&&d[1].type===D.listItemIndent&&d[2].sliceSerialize(d[1],!0).length===s.containerState.size?a(f):i(f)}}function Q6(n){P(this.containerState,"expected state"),P(typeof this.containerState.type=="string","expected type"),n.exit(this.containerState.type)}function Z6(n,a,i){const s=this;return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,u,D.listItemPrefixWhitespace,s.parser.constructs.disable.null.includes("codeIndented")?void 0:De.tabSize+1);function u(f){const d=s.events[s.events.length-1];return!ut(f)&&d&&d[1].type===D.listItemPrefixWhitespace?a(f):i(f)}}const lN={name:"setextUnderline",resolveTo:J6,tokenize:K6};function J6(n,a){let i=n.length,s,u,f;for(;i--;)if(n[i][0]==="enter"){if(n[i][1].type===D.content){s=i;break}n[i][1].type===D.paragraph&&(u=i)}else n[i][1].type===D.content&&n.splice(i,1),!f&&n[i][1].type===D.definition&&(f=i);P(u!==void 0,"expected a `text` index to be found"),P(s!==void 0,"expected a `text` index to be found"),P(n[s][2]===a,"enter context should be same"),P(n[n.length-1][2]===a,"enter context should be same");const d={type:D.setextHeading,start:{...n[s][1].start},end:{...n[n.length-1][1].end}};return n[u][1].type=D.setextHeadingText,f?(n.splice(u,0,["enter",d,a]),n.splice(f+1,0,["exit",n[s][1],a]),n[s][1].end={...n[f][1].end}):n[s][1]=d,n.push(["exit",d,a]),n}function K6(n,a,i){const s=this;let u;return f;function f(y){let p=s.events.length,v;for(P(y===k.dash||y===k.equalsTo,"expected `=` or `-`");p--;)if(s.events[p][1].type!==D.lineEnding&&s.events[p][1].type!==D.linePrefix&&s.events[p][1].type!==D.content){v=s.events[p][1].type===D.paragraph;break}return!s.parser.lazy[s.now().line]&&(s.interrupt||v)?(n.enter(D.setextHeadingLine),u=y,d(y)):i(y)}function d(y){return n.enter(D.setextHeadingLineSequence),h(y)}function h(y){return y===u?(n.consume(y),h):(n.exit(D.setextHeadingLineSequence),ut(y)?Tt(n,b,D.lineSuffix)(y):b(y))}function b(y){return y===k.eof||Re(y)?(n.exit(D.setextHeadingLine),a(y)):i(y)}}const W6={tokenize:e7};function e7(n){const a=this,i=n.attempt(Zh,s,n.attempt(this.parser.constructs.flowInitial,u,Tt(n,n.attempt(this.parser.constructs.flow,u,n.attempt(i6,u)),D.linePrefix)));return i;function s(f){if(P(f===k.eof||Re(f),"expected eol or eof"),f===k.eof){n.consume(f);return}return n.enter(D.lineEndingBlank),n.consume(f),n.exit(D.lineEndingBlank),a.currentConstruct=void 0,i}function u(f){if(P(f===k.eof||Re(f),"expected eol or eof"),f===k.eof){n.consume(f);return}return n.enter(D.lineEnding),n.consume(f),n.exit(D.lineEnding),a.currentConstruct=void 0,i}}const t7={resolveAll:yR()},n7=pR("string"),r7=pR("text");function pR(n){return{resolveAll:yR(n==="text"?a7:void 0),tokenize:a};function a(i){const s=this,u=this.parser.constructs[n],f=i.attempt(u,d,h);return d;function d(p){return y(p)?f(p):h(p)}function h(p){if(p===k.eof){i.consume(p);return}return i.enter(D.data),i.consume(p),b}function b(p){return y(p)?(i.exit(D.data),f(p)):(i.consume(p),b)}function y(p){if(p===k.eof)return!0;const v=u[p];let x=-1;if(v)for(P(Array.isArray(v),"expected `disable.null` to be populated");++x<v.length;){const S=v[x];if(!S.previous||S.previous.call(s,s.previous))return!0}return!1}}}function yR(n){return a;function a(i,s){let u=-1,f;for(;++u<=i.length;)f===void 0?i[u]&&i[u][1].type===D.data&&(f=u,u++):(!i[u]||i[u][1].type!==D.data)&&(u!==f+2&&(i[f][1].end=i[u-1][1].end,i.splice(f+2,u-f-2),u=f+2),f=void 0);return n?n(i,s):i}}function a7(n,a){let i=0;for(;++i<=n.length;)if((i===n.length||n[i][1].type===D.lineEnding)&&n[i-1][1].type===D.data){const s=n[i-1][1],u=a.sliceStream(s);let f=u.length,d=-1,h=0,b;for(;f--;){const y=u[f];if(typeof y=="string"){for(d=y.length;y.charCodeAt(d-1)===k.space;)h++,d--;if(d)break;d=-1}else if(y===k.horizontalTab)b=!0,h++;else if(y!==k.virtualSpace){f++;break}}if(a._contentTypeTextTrailing&&i===n.length&&(h=0),h){const y={type:i===n.length||b||h<De.hardBreakPrefixSizeMin?D.lineSuffix:D.hardBreakTrailing,start:{_bufferIndex:f?d:s.start._bufferIndex+d,_index:s.start._index+f,line:s.end.line,column:s.end.column-h,offset:s.end.offset-h},end:{...s.end}};s.end={...y.start},s.start.offset===s.end.offset?Object.assign(s,y):(n.splice(i,0,["enter",y,a],["exit",y,a]),i+=2)}i++}return n}const i7={[k.asterisk]:$n,[k.plusSign]:$n,[k.dash]:$n,[k.digit0]:$n,[k.digit1]:$n,[k.digit2]:$n,[k.digit3]:$n,[k.digit4]:$n,[k.digit5]:$n,[k.digit6]:$n,[k.digit7]:$n,[k.digit8]:$n,[k.digit9]:$n,[k.greaterThan]:sR},o7={[k.leftSquareBracket]:c6},s7={[k.horizontalTab]:cb,[k.virtualSpace]:cb,[k.space]:cb},l7={[k.numberSign]:y6,[k.asterisk]:Nh,[k.dash]:[lN,Nh],[k.lessThan]:x6,[k.equalsTo]:lN,[k.underscore]:Nh,[k.graveAccent]:oN,[k.tilde]:oN},u7={[k.ampersand]:uR,[k.backslash]:lR},c7={[k.carriageReturn]:fb,[k.lineFeed]:fb,[k.carriageReturnLineFeed]:fb,[k.exclamationMark]:L6,[k.ampersand]:uR,[k.asterisk]:o0,[k.lessThan]:[PB,N6],[k.leftSquareBracket]:H6,[k.backslash]:[m6,lR],[k.rightSquareBracket]:iv,[k.underscore]:o0,[k.graveAccent]:e6},f7={null:[o0,t7]},d7={null:[k.asterisk,k.underscore]},h7={null:[]},m7=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:d7,contentInitial:o7,disable:h7,document:i7,flow:l7,flowInitial:s7,insideSpan:f7,string:u7,text:c7},Symbol.toStringTag,{value:"Module"}));var ch={exports:{}},db,uN;function p7(){if(uN)return db;uN=1;var n=1e3,a=n*60,i=a*60,s=i*24,u=s*7,f=s*365.25;db=function(p,v){v=v||{};var x=typeof p;if(x==="string"&&p.length>0)return d(p);if(x==="number"&&isFinite(p))return v.long?b(p):h(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function d(p){if(p=String(p),!(p.length>100)){var v=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(v){var x=parseFloat(v[1]),S=(v[2]||"ms").toLowerCase();switch(S){case"years":case"year":case"yrs":case"yr":case"y":return x*f;case"weeks":case"week":case"w":return x*u;case"days":case"day":case"d":return x*s;case"hours":case"hour":case"hrs":case"hr":case"h":return x*i;case"minutes":case"minute":case"mins":case"min":case"m":return x*a;case"seconds":case"second":case"secs":case"sec":case"s":return x*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return x;default:return}}}}function h(p){var v=Math.abs(p);return v>=s?Math.round(p/s)+"d":v>=i?Math.round(p/i)+"h":v>=a?Math.round(p/a)+"m":v>=n?Math.round(p/n)+"s":p+"ms"}function b(p){var v=Math.abs(p);return v>=s?y(p,v,s,"day"):v>=i?y(p,v,i,"hour"):v>=a?y(p,v,a,"minute"):v>=n?y(p,v,n,"second"):p+" ms"}function y(p,v,x,S){var N=v>=x*1.5;return Math.round(p/x)+" "+S+(N?"s":"")}return db}var hb,cN;function y7(){if(cN)return hb;cN=1;function n(a){s.debug=s,s.default=s,s.coerce=y,s.disable=h,s.enable=f,s.enabled=b,s.humanize=p7(),s.destroy=p,Object.keys(a).forEach(v=>{s[v]=a[v]}),s.names=[],s.skips=[],s.formatters={};function i(v){let x=0;for(let S=0;S<v.length;S++)x=(x<<5)-x+v.charCodeAt(S),x|=0;return s.colors[Math.abs(x)%s.colors.length]}s.selectColor=i;function s(v){let x,S=null,N,V;function R(..._){if(!R.enabled)return;const Q=R,I=Number(new Date),ie=I-(x||I);Q.diff=ie,Q.prev=x,Q.curr=I,x=I,_[0]=s.coerce(_[0]),typeof _[0]!="string"&&_.unshift("%O");let re=0;_[0]=_[0].replace(/%([a-zA-Z%])/g,(ge,se)=>{if(ge==="%%")return"%";re++;const ce=s.formatters[se];if(typeof ce=="function"){const F=_[re];ge=ce.call(Q,F),_.splice(re,1),re--}return ge}),s.formatArgs.call(Q,_),(Q.log||s.log).apply(Q,_)}return R.namespace=v,R.useColors=s.useColors(),R.color=s.selectColor(v),R.extend=u,R.destroy=s.destroy,Object.defineProperty(R,"enabled",{enumerable:!0,configurable:!1,get:()=>S!==null?S:(N!==s.namespaces&&(N=s.namespaces,V=s.enabled(v)),V),set:_=>{S=_}}),typeof s.init=="function"&&s.init(R),R}function u(v,x){const S=s(this.namespace+(typeof x>"u"?":":x)+v);return S.log=this.log,S}function f(v){s.save(v),s.namespaces=v,s.names=[],s.skips=[];const x=(typeof v=="string"?v:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const S of x)S[0]==="-"?s.skips.push(S.slice(1)):s.names.push(S)}function d(v,x){let S=0,N=0,V=-1,R=0;for(;S<v.length;)if(N<x.length&&(x[N]===v[S]||x[N]==="*"))x[N]==="*"?(V=N,R=S,N++):(S++,N++);else if(V!==-1)N=V+1,R++,S=R;else return!1;for(;N<x.length&&x[N]==="*";)N++;return N===x.length}function h(){const v=[...s.names,...s.skips.map(x=>"-"+x)].join(",");return s.enable(""),v}function b(v){for(const x of s.skips)if(d(v,x))return!1;for(const x of s.names)if(d(v,x))return!0;return!1}function y(v){return v instanceof Error?v.stack||v.message:v}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}return hb=n,hb}var fN;function g7(){return fN||(fN=1,(function(n,a){var i={};a.formatArgs=u,a.save=f,a.load=d,a.useColors=s,a.storage=h(),a.destroy=(()=>{let y=!1;return()=>{y||(y=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let y;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(y=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(y[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(y){if(y[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+y[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;y.splice(1,0,p,"color: inherit");let v=0,x=0;y[0].replace(/%[a-zA-Z%]/g,S=>{S!=="%%"&&(v++,S==="%c"&&(x=v))}),y.splice(x,0,p)}a.log=console.debug||console.log||(()=>{});function f(y){try{y?a.storage.setItem("debug",y):a.storage.removeItem("debug")}catch{}}function d(){let y;try{y=a.storage.getItem("debug")||a.storage.getItem("DEBUG")}catch{}return!y&&typeof process<"u"&&"env"in process&&(y=i.DEBUG),y}function h(){try{return localStorage}catch{}}n.exports=y7()(a);const{formatters:b}=n.exports;b.j=function(y){try{return JSON.stringify(y)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(ch,ch.exports)),ch.exports}var b7=g7();const v7=Rc(b7),Wo=v7("micromark");function x7(n,a,i){let s={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const u={},f=[];let d=[],h=[],b=!0;const y={attempt:ce(ge),check:ce(se),consume:ie,enter:re,exit:G,interrupt:ce(se,{interrupt:!0})},p={code:k.eof,containerState:{},defineSkip:_,events:[],now:R,parser:n,previous:k.eof,sliceSerialize:N,sliceStream:V,write:S};let v=a.tokenize.call(p,y),x;return a.resolveAll&&f.push(a),p;function S(X){return d=Ur(d,X),Q(),d[d.length-1]!==k.eof?[]:(F(a,0),p.events=av(f,p.events,p),p.events)}function N(X,ne){return w7(V(X),ne)}function V(X){return S7(d,X)}function R(){const{_bufferIndex:X,_index:ne,line:ae,column:Y,offset:le}=s;return{_bufferIndex:X,_index:ne,line:ae,column:Y,offset:le}}function _(X){u[X.line]=X.column,oe(),Wo("position: define skip: `%j`",s)}function Q(){let X;for(;s._index<d.length;){const ne=d[s._index];if(typeof ne=="string")for(X=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===X&&s._bufferIndex<ne.length;)I(ne.charCodeAt(s._bufferIndex));else I(ne)}}function I(X){P(b===!0,"expected character to be consumed"),b=void 0,Wo("main: passing `%s` to %s",X,v&&v.name),x=X,P(typeof v=="function","expected state"),v=v(X)}function ie(X){P(X===x,"expected given code to equal expected code"),Wo("consume: `%s`",X),P(b===void 0,"expected code to not have been consumed: this might be because `return x(code)` instead of `return x` was used"),P(X===null?p.events.length===0||p.events[p.events.length-1][0]==="exit":p.events[p.events.length-1][0]==="enter","expected last token to be open"),Re(X)?(s.line++,s.column=1,s.offset+=X===k.carriageReturnLineFeed?2:1,oe(),Wo("position: after eol: `%j`",s)):X!==k.virtualSpace&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===d[s._index].length&&(s._bufferIndex=-1,s._index++)),p.previous=X,b=!0}function re(X,ne){const ae=ne||{};return ae.type=X,ae.start=R(),P(typeof X=="string","expected string type"),P(X.length>0,"expected non-empty string"),Wo("enter: `%s`",X),p.events.push(["enter",ae,p]),h.push(ae),ae}function G(X){P(typeof X=="string","expected string type"),P(X.length>0,"expected non-empty string");const ne=h.pop();return P(ne,"cannot close w/o open tokens"),ne.end=R(),P(X===ne.type,"expected exit token to match current token"),P(!(ne.start._index===ne.end._index&&ne.start._bufferIndex===ne.end._bufferIndex),"expected non-empty token (`"+X+"`)"),Wo("exit: `%s`",ne.type),p.events.push(["exit",ne,p]),ne}function ge(X,ne){F(X,ne.from)}function se(X,ne){ne.restore()}function ce(X,ne){return ae;function ae(Y,le,pe){let ze,z,U,ue;return Array.isArray(Y)?xe(Y):"tokenize"in Y?xe([Y]):C(Y);function C(Ke){return Ut;function Ut(Lt){const we=Lt!==null&&Ke[Lt],Kn=Lt!==null&&Ke.null,Hr=[...Array.isArray(we)?we:we?[we]:[],...Array.isArray(Kn)?Kn:Kn?[Kn]:[]];return xe(Hr)(Lt)}}function xe(Ke){return ze=Ke,z=0,Ke.length===0?(P(pe,"expected `bogusState` to be given"),pe):at(Ke[z])}function at(Ke){return Ut;function Ut(Lt){return ue=he(),U=Ke,Ke.partial||(p.currentConstruct=Ke),P(p.parser.constructs.disable.null,"expected `disable.null` to be populated"),Ke.name&&p.parser.constructs.disable.null.includes(Ke.name)?je(Lt):Ke.tokenize.call(ne?Object.assign(Object.create(p),ne):p,y,gn,je)(Lt)}}function gn(Ke){return P(Ke===x,"expected code"),b=!0,X(U,ue),le}function je(Ke){return P(Ke===x,"expected code"),b=!0,ue.restore(),++z<ze.length?at(ze[z]):pe}}}function F(X,ne){X.resolveAll&&!f.includes(X)&&f.push(X),X.resolve&&La(p.events,ne,p.events.length-ne,X.resolve(p.events.slice(ne),p)),X.resolveTo&&(p.events=X.resolveTo(p.events,p)),P(X.partial||p.events.length===0||p.events[p.events.length-1][0]==="exit","expected last token to end")}function he(){const X=R(),ne=p.previous,ae=p.currentConstruct,Y=p.events.length,le=Array.from(h);return{from:Y,restore:pe};function pe(){s=X,p.previous=ne,p.currentConstruct=ae,p.events.length=Y,h=le,oe(),Wo("position: restore: `%j`",s)}}function oe(){s.line in u&&s.column<2&&(s.column=u[s.line],s.offset+=u[s.line]-1)}}function S7(n,a){const i=a.start._index,s=a.start._bufferIndex,u=a.end._index,f=a.end._bufferIndex;let d;if(i===u)P(f>-1,"expected non-negative end buffer index"),P(s>-1,"expected non-negative start buffer index"),d=[n[i].slice(s,f)];else{if(d=n.slice(i,u),s>-1){const h=d[0];typeof h=="string"?d[0]=h.slice(s):(P(s===0,"expected `startBufferIndex` to be `0`"),d.shift())}f>0&&d.push(n[u].slice(0,f))}return d}function w7(n,a){let i=-1;const s=[];let u;for(;++i<n.length;){const f=n[i];let d;if(typeof f=="string")d=f;else switch(f){case k.carriageReturn:{d=_a.cr;break}case k.lineFeed:{d=_a.lf;break}case k.carriageReturnLineFeed:{d=_a.cr+_a.lf;break}case k.horizontalTab:{d=a?_a.space:_a.ht;break}case k.virtualSpace:{if(!a&&u)continue;d=_a.space;break}default:P(typeof f=="number","expected number"),d=String.fromCharCode(f)}u=f===k.horizontalTab,s.push(d)}return s.join("")}function E7(n){const s={constructs:kB([m7,...(n||{}).extensions||[]]),content:u(_B),defined:[],document:u(jB),flow:u(W6),lazy:{},string:u(n7),text:u(r7)};return s;function u(f){return d;function d(h){return x7(s,f,h)}}}function T7(n){for(;!fR(n););return n}const dN=/[\0\t\n\r]/g;function D7(){let n=1,a="",i=!0,s;return u;function u(f,d,h){const b=[];let y,p,v,x,S;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(d||void 0).decode(f)),v=0,a="",i&&(f.charCodeAt(0)===k.byteOrderMarker&&v++,i=void 0);v<f.length;){if(dN.lastIndex=v,y=dN.exec(f),x=y&&y.index!==void 0?y.index:f.length,S=f.charCodeAt(x),!y){a=f.slice(v);break}if(S===k.lf&&v===x&&s)b.push(k.carriageReturnLineFeed),s=void 0;else switch(s&&(b.push(k.carriageReturn),s=void 0),v<x&&(b.push(f.slice(v,x)),n+=x-v),S){case k.nul:{b.push(k.replacementCharacter),n++;break}case k.ht:{for(p=Math.ceil(n/De.tabSize)*De.tabSize,b.push(k.horizontalTab);n++<p;)b.push(k.virtualSpace);break}case k.lf:{b.push(k.lineFeed),n=1;break}default:s=!0,n=1}v=x+1}return h&&(s&&b.push(k.carriageReturn),a&&b.push(a),b.push(k.eof)),b}}const k7=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function N7(n){return n.replace(k7,A7)}function A7(n,a,i){if(a)return a;if(i.charCodeAt(0)===k.numberSign){const u=i.charCodeAt(1),f=u===k.lowercaseX||u===k.uppercaseX;return oR(i.slice(f?2:1),f?De.numericBaseHexadecimal:De.numericBaseDecimal)}return rv(i)||n}const gR={}.hasOwnProperty;function C7(n,a,i){return typeof a!="string"&&(i=a,a=void 0),R7(i)(T7(E7(i).document().write(D7()(n,a,!0))))}function R7(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(ls),autolinkProtocol:ce,autolinkEmail:ce,atxHeading:f(Pr),blockQuote:f(Lt),characterEscape:ce,characterReference:ce,codeFenced:f(we),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(we,d),codeText:f(Kn,d),codeTextData:ce,data:ce,codeFlowValue:ce,definition:f(Hr),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(Ba),hardBreakEscape:f(lt),hardBreakTrailing:f(lt),htmlFlow:f(Wt,d),htmlFlowData:ce,htmlText:f(Wt,d),htmlTextData:ce,image:f(yi),label:d,link:f(ls),listItem:f(gi),listItemValue:x,listOrdered:f(ke,v),listUnordered:f(ke),paragraph:f(yr),reference:C,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(Pr),strong:f(Ha),thematicBreak:f(us)},exit:{atxHeading:b(),atxHeadingSequence:re,autolink:b(),autolinkEmail:Ut,autolinkProtocol:Ke,blockQuote:b(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:at,characterReferenceMarkerNumeric:at,characterReferenceValue:gn,characterReference:je,codeFenced:b(R),codeFencedFence:V,codeFencedFenceInfo:S,codeFencedFenceMeta:N,codeFlowValue:F,codeIndented:b(_),codeText:b(ae),codeTextData:F,data:F,definition:b(),definitionDestinationString:ie,definitionLabelString:Q,definitionTitleString:I,emphasis:b(),hardBreakEscape:b(oe),hardBreakTrailing:b(oe),htmlFlow:b(X),htmlFlowData:F,htmlText:b(ne),htmlTextData:F,image:b(le),label:ze,labelText:pe,lineEnding:he,link:b(Y),listItem:b(),listOrdered:b(),listUnordered:b(),paragraph:b(),referenceString:xe,resourceDestinationString:z,resourceTitleString:U,resource:ue,setextHeading:b(se),setextHeadingLineSequence:ge,setextHeadingText:G,strong:b(),thematicBreak:b()}};bR(a,(n||{}).mdastExtensions||[]);const i={};return s;function s(W){let ee={type:"root",children:[]};const Te={stack:[ee],tokenStack:[],config:a,enter:h,exit:y,buffer:d,resume:p,data:i},Ie=[];let it=-1;for(;++it<W.length;)if(W[it][1].type===D.listOrdered||W[it][1].type===D.listUnordered)if(W[it][0]==="enter")Ie.push(it);else{const Pt=Ie.pop();P(typeof Pt=="number","expected list ot be open"),it=u(W,Pt,it)}for(it=-1;++it<W.length;){const Pt=a[W[it][0]];gR.call(Pt,W[it][1].type)&&Pt[W[it][1].type].call(Object.assign({sliceSerialize:W[it][2].sliceSerialize},Te),W[it][1])}if(Te.tokenStack.length>0){const Pt=Te.tokenStack[Te.tokenStack.length-1];(Pt[1]||hN).call(Te,void 0,Pt[0])}for(ee.position={start:ro(W.length>0?W[0][1].start:{line:1,column:1,offset:0}),end:ro(W.length>0?W[W.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<a.transforms.length;)ee=a.transforms[it](ee)||ee;return ee}function u(W,ee,Te){let Ie=ee-1,it=-1,Pt=!1,kn,an,Wn,gr;for(;++Ie<=Te;){const qt=W[Ie];switch(qt[1].type){case D.listUnordered:case D.listOrdered:case D.blockQuote:{qt[0]==="enter"?it++:it--,gr=void 0;break}case D.lineEndingBlank:{qt[0]==="enter"&&(kn&&!gr&&!it&&!Wn&&(Wn=Ie),gr=void 0);break}case D.linePrefix:case D.listItemValue:case D.listItemMarker:case D.listItemPrefix:case D.listItemPrefixWhitespace:break;default:gr=void 0}if(!it&&qt[0]==="enter"&&qt[1].type===D.listItemPrefix||it===-1&&qt[0]==="exit"&&(qt[1].type===D.listUnordered||qt[1].type===D.listOrdered)){if(kn){let Nn=Ie;for(an=void 0;Nn--;){const T=W[Nn];if(T[1].type===D.lineEnding||T[1].type===D.lineEndingBlank){if(T[0]==="exit")continue;an&&(W[an][1].type=D.lineEndingBlank,Pt=!0),T[1].type=D.lineEnding,an=Nn}else if(!(T[1].type===D.linePrefix||T[1].type===D.blockQuotePrefix||T[1].type===D.blockQuotePrefixWhitespace||T[1].type===D.blockQuoteMarker||T[1].type===D.listItemIndent))break}Wn&&(!an||Wn<an)&&(kn._spread=!0),kn.end=Object.assign({},an?W[an][1].start:qt[1].end),W.splice(an||Ie,0,["exit",kn,qt[2]]),Ie++,Te++}if(qt[1].type===D.listItemPrefix){const Nn={type:"listItem",_spread:!1,start:Object.assign({},qt[1].start),end:void 0};kn=Nn,W.splice(Ie,0,["enter",Nn,qt[2]]),Ie++,Te++,Wn=void 0,gr=!0}}}return W[ee][1]._spread=Pt,Te}function f(W,ee){return Te;function Te(Ie){h.call(this,W(Ie),Ie),ee&&ee.call(this,Ie)}}function d(){this.stack.push({type:"fragment",children:[]})}function h(W,ee,Te){const Ie=this.stack[this.stack.length-1];P(Ie,"expected `parent`"),P("children"in Ie,"expected `parent`"),Ie.children.push(W),this.stack.push(W),this.tokenStack.push([ee,Te||void 0]),W.position={start:ro(ee.start),end:void 0}}function b(W){return ee;function ee(Te){W&&W.call(this,Te),y.call(this,Te)}}function y(W,ee){const Te=this.stack.pop();P(Te,"expected `node`");const Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==W.type&&(ee?ee.call(this,W,Ie[0]):(Ie[1]||hN).call(this,W,Ie[0]));else throw new Error("Cannot close `"+W.type+"` ("+Sc({start:W.start,end:W.end})+"): it’s not open");P(Te.type!=="fragment","unexpected fragment `exit`ed"),P(Te.position,"expected `position` to be defined"),Te.position.end=ro(W.end)}function p(){return TB(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function x(W){if(this.data.expectingFirstListItemValue){const ee=this.stack[this.stack.length-2];P(ee,"expected nodes on stack"),P(ee.type==="list","expected list on stack"),ee.start=Number.parseInt(this.sliceSerialize(W),De.numericBaseDecimal),this.data.expectingFirstListItemValue=void 0}}function S(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.lang=W}function N(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.meta=W}function V(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.value=W.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function _(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="code","expected code on stack"),ee.value=W.replace(/(\r?\n|\r)$/g,"")}function Q(W){const ee=this.resume(),Te=this.stack[this.stack.length-1];P(Te,"expected node on stack"),P(Te.type==="definition","expected definition on stack"),Te.label=ee,Te.identifier=El(this.sliceSerialize(W)).toLowerCase()}function I(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="definition","expected definition on stack"),ee.title=W}function ie(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="definition","expected definition on stack"),ee.url=W}function re(W){const ee=this.stack[this.stack.length-1];if(P(ee,"expected node on stack"),P(ee.type==="heading","expected heading on stack"),!ee.depth){const Te=this.sliceSerialize(W).length;P(Te===1||Te===2||Te===3||Te===4||Te===5||Te===6,"expected `depth` between `1` and `6`"),ee.depth=Te}}function G(){this.data.setextHeadingSlurpLineEnding=!0}function ge(W){const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="heading","expected heading on stack"),ee.depth=this.sliceSerialize(W).codePointAt(0)===k.equalsTo?1:2}function se(){this.data.setextHeadingSlurpLineEnding=void 0}function ce(W){const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P("children"in ee,"expected parent on stack");const Te=ee.children;let Ie=Te[Te.length-1];(!Ie||Ie.type!=="text")&&(Ie=ra(),Ie.position={start:ro(W.start),end:void 0},Te.push(Ie)),this.stack.push(Ie)}function F(W){const ee=this.stack.pop();P(ee,"expected a `node` to be on the stack"),P("value"in ee,"expected a `literal` to be on the stack"),P(ee.position,"expected `node` to have an open position"),ee.value+=this.sliceSerialize(W),ee.position.end=ro(W.end)}function he(W){const ee=this.stack[this.stack.length-1];if(P(ee,"expected `node`"),this.data.atHardBreak){P("children"in ee,"expected `parent`");const Te=ee.children[ee.children.length-1];P(Te.position,"expected tail to have a starting position"),Te.position.end=ro(W.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(ee.type)&&(ce.call(this,W),F.call(this,W))}function oe(){this.data.atHardBreak=!0}function X(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="html","expected html on stack"),ee.value=W}function ne(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="html","expected html on stack"),ee.value=W}function ae(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="inlineCode","expected inline code on stack"),ee.value=W}function Y(){const W=this.stack[this.stack.length-1];if(P(W,"expected node on stack"),P(W.type==="link","expected link on stack"),this.data.inReference){const ee=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=ee,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function le(){const W=this.stack[this.stack.length-1];if(P(W,"expected node on stack"),P(W.type==="image","expected image on stack"),this.data.inReference){const ee=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=ee,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function pe(W){const ee=this.sliceSerialize(W),Te=this.stack[this.stack.length-2];P(Te,"expected ancestor on stack"),P(Te.type==="image"||Te.type==="link","expected image or link on stack"),Te.label=N7(ee),Te.identifier=El(ee).toLowerCase()}function ze(){const W=this.stack[this.stack.length-1];P(W,"expected node on stack"),P(W.type==="fragment","expected fragment on stack");const ee=this.resume(),Te=this.stack[this.stack.length-1];if(P(Te,"expected node on stack"),P(Te.type==="image"||Te.type==="link","expected image or link on stack"),this.data.inReference=!0,Te.type==="link"){const Ie=W.children;Te.children=Ie}else Te.alt=ee}function z(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="image"||ee.type==="link","expected image or link on stack"),ee.url=W}function U(){const W=this.resume(),ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="image"||ee.type==="link","expected image or link on stack"),ee.title=W}function ue(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function xe(W){const ee=this.resume(),Te=this.stack[this.stack.length-1];P(Te,"expected node on stack"),P(Te.type==="image"||Te.type==="link","expected image reference or link reference on stack"),Te.label=ee,Te.identifier=El(this.sliceSerialize(W)).toLowerCase(),this.data.referenceType="full"}function at(W){P(W.type==="characterReferenceMarkerNumeric"||W.type==="characterReferenceMarkerHexadecimal"),this.data.characterReferenceType=W.type}function gn(W){const ee=this.sliceSerialize(W),Te=this.data.characterReferenceType;let Ie;if(Te)Ie=oR(ee,Te===D.characterReferenceMarkerNumeric?De.numericBaseDecimal:De.numericBaseHexadecimal),this.data.characterReferenceType=void 0;else{const Pt=rv(ee);P(Pt!==!1,"expected reference to decode"),Ie=Pt}const it=this.stack[this.stack.length-1];P(it,"expected `node`"),P("value"in it,"expected `node.value`"),it.value+=Ie}function je(W){const ee=this.stack.pop();P(ee,"expected `node`"),P(ee.position,"expected `node.position`"),ee.position.end=ro(W.end)}function Ke(W){F.call(this,W);const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="link","expected link on stack"),ee.url=this.sliceSerialize(W)}function Ut(W){F.call(this,W);const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="link","expected link on stack"),ee.url="mailto:"+this.sliceSerialize(W)}function Lt(){return{type:"blockquote",children:[]}}function we(){return{type:"code",lang:null,meta:null,value:""}}function Kn(){return{type:"inlineCode",value:""}}function Hr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ba(){return{type:"emphasis",children:[]}}function Pr(){return{type:"heading",depth:0,children:[]}}function lt(){return{type:"break"}}function Wt(){return{type:"html",value:""}}function yi(){return{type:"image",title:null,url:"",alt:null}}function ls(){return{type:"link",title:null,url:"",children:[]}}function ke(W){return{type:"list",ordered:W.type==="listOrdered",start:null,spread:W._spread,children:[]}}function gi(W){return{type:"listItem",spread:W._spread,checked:null,children:[]}}function yr(){return{type:"paragraph",children:[]}}function Ha(){return{type:"strong",children:[]}}function ra(){return{type:"text",value:""}}function us(){return{type:"thematicBreak"}}}function ro(n){return{line:n.line,column:n.column,offset:n.offset}}function bR(n,a){let i=-1;for(;++i<a.length;){const s=a[i];Array.isArray(s)?bR(n,s):z7(n,s)}}function z7(n,a){let i;for(i in a)if(gR.call(a,i))switch(i){case"canContainEols":{const s=a[i];s&&n[i].push(...s);break}case"transforms":{const s=a[i];s&&n[i].push(...s);break}case"enter":case"exit":{const s=a[i];s&&Object.assign(n[i],s);break}}}function hN(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+Sc({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+Sc({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+Sc({start:a.start,end:a.end})+") is still open")}function O7(n){const a=this;a.parser=i;function i(s){return C7(s,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function M7(n,a){const i={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,i),n.applyData(a,i)}function _7(n,a){const i={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,i),[n.applyData(a,i),{type:"text",value:`
256
+ `}]}function U7(n,a){const i=a.value?a.value+`
257
+ `:"",s={},u=a.lang?a.lang.split(/\s+/):[];u.length>0&&(s.className=["language-"+u[0]]);let f={type:"element",tagName:"code",properties:s,children:[{type:"text",value:i}]};return a.meta&&(f.data={meta:a.meta}),n.patch(a,f),f=n.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},n.patch(a,f),f}function j7(n,a){const i={type:"element",tagName:"del",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function V7(n,a){const i={type:"element",tagName:"em",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function L7(n,a){const i=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",s=String(a.identifier).toUpperCase(),u=Ol(s.toLowerCase()),f=n.footnoteOrder.indexOf(s);let d,h=n.footnoteCounts.get(s);h===void 0?(h=0,n.footnoteOrder.push(s),d=n.footnoteOrder.length):d=f+1,h+=1,n.footnoteCounts.set(s,h);const b={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+u,id:i+"fnref-"+u+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(d)}]};n.patch(a,b);const y={type:"element",tagName:"sup",properties:{},children:[b]};return n.patch(a,y),n.applyData(a,y)}function B7(n,a){const i={type:"element",tagName:"h"+a.depth,properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function H7(n,a){if(n.options.allowDangerousHtml){const i={type:"raw",value:a.value};return n.patch(a,i),n.applyData(a,i)}}function vR(n,a){const i=a.referenceType;let s="]";if(i==="collapsed"?s+="[]":i==="full"&&(s+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+s}];const u=n.all(a),f=u[0];f&&f.type==="text"?f.value="["+f.value:u.unshift({type:"text",value:"["});const d=u[u.length-1];return d&&d.type==="text"?d.value+=s:u.push({type:"text",value:s}),u}function P7(n,a){const i=String(a.identifier).toUpperCase(),s=n.definitionById.get(i);if(!s)return vR(n,a);const u={src:Ol(s.url||""),alt:a.alt};s.title!==null&&s.title!==void 0&&(u.title=s.title);const f={type:"element",tagName:"img",properties:u,children:[]};return n.patch(a,f),n.applyData(a,f)}function q7(n,a){const i={src:Ol(a.url)};a.alt!==null&&a.alt!==void 0&&(i.alt=a.alt),a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"img",properties:i,children:[]};return n.patch(a,s),n.applyData(a,s)}function I7(n,a){const i={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};n.patch(a,i);const s={type:"element",tagName:"code",properties:{},children:[i]};return n.patch(a,s),n.applyData(a,s)}function F7(n,a){const i=String(a.identifier).toUpperCase(),s=n.definitionById.get(i);if(!s)return vR(n,a);const u={href:Ol(s.url||"")};s.title!==null&&s.title!==void 0&&(u.title=s.title);const f={type:"element",tagName:"a",properties:u,children:n.all(a)};return n.patch(a,f),n.applyData(a,f)}function Y7(n,a){const i={href:Ol(a.url)};a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"a",properties:i,children:n.all(a)};return n.patch(a,s),n.applyData(a,s)}function G7(n,a,i){const s=n.all(a),u=i?$7(i):xR(a),f={},d=[];if(typeof a.checked=="boolean"){const p=s[0];let v;p&&p.type==="element"&&p.tagName==="p"?v=p:(v={type:"element",tagName:"p",properties:{},children:[]},s.unshift(v)),v.children.length>0&&v.children.unshift({type:"text",value:" "}),v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let h=-1;for(;++h<s.length;){const p=s[h];(u||h!==0||p.type!=="element"||p.tagName!=="p")&&d.push({type:"text",value:`
258
258
  `}),p.type==="element"&&p.tagName==="p"&&!u?d.push(...p.children):d.push(p)}const b=s[s.length-1];b&&(u||b.type!=="element"||b.tagName!=="p")&&d.push({type:"text",value:`
259
- `});const g={type:"element",tagName:"li",properties:f,children:d};return n.patch(a,g),n.applyData(a,g)}function G7(n){let a=!1;if(n.type==="list"){a=n.spread||!1;const i=n.children;let s=-1;for(;!a&&++s<i.length;)a=vR(i[s])}return a}function vR(n){const a=n.spread;return a??n.children.length>1}function $7(n,a){const i={},s=n.all(a);let u=-1;for(typeof a.start=="number"&&a.start!==1&&(i.start=a.start);++u<s.length;){const d=s[u];if(d.type==="element"&&d.tagName==="li"&&d.properties&&Array.isArray(d.properties.className)&&d.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:i,children:n.wrap(s,!0)};return n.patch(a,f),n.applyData(a,f)}function X7(n,a){const i={type:"element",tagName:"p",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function Q7(n,a){const i={type:"root",children:n.wrap(n.all(a))};return n.patch(a,i),n.applyData(a,i)}function Z7(n,a){const i={type:"element",tagName:"strong",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function J7(n,a){const i=n.all(a),s=i.shift(),u=[];if(s){const d={type:"element",tagName:"thead",properties:{},children:n.wrap([s],!0)};n.patch(a.children[0],d),u.push(d)}if(i.length>0){const d={type:"element",tagName:"tbody",properties:{},children:n.wrap(i,!0)},h=Kv(a.children[1]),b=KC(a.children[a.children.length-1]);h&&b&&(d.position={start:h,end:b}),u.push(d)}const f={type:"element",tagName:"table",properties:{},children:n.wrap(u,!0)};return n.patch(a,f),n.applyData(a,f)}function K7(n,a,i){const s=i?i.children:void 0,f=(s?s.indexOf(a):1)===0?"th":"td",d=i&&i.type==="table"?i.align:void 0,h=d?d.length:a.children.length;let b=-1;const g=[];for(;++b<h;){const v=a.children[b],x={},S=d?d[b]:void 0;S&&(x.align=S);let N={type:"element",tagName:f,properties:x,children:[]};v&&(N.children=n.all(v),n.patch(v,N),N=n.applyData(v,N)),g.push(N)}const p={type:"element",tagName:"tr",properties:{},children:n.wrap(g,!0)};return n.patch(a,p),n.applyData(a,p)}function W7(n,a){const i={type:"element",tagName:"td",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}const hN=9,mN=32;function e9(n){const a=String(n),i=/\r?\n|\r/g;let s=i.exec(a),u=0;const f=[];for(;s;)f.push(pN(a.slice(u,s.index),u>0,!0),s[0]),u=s.index+s[0].length,s=i.exec(a);return f.push(pN(a.slice(u),u>0,!1)),f.join("")}function pN(n,a,i){let s=0,u=n.length;if(a){let f=n.codePointAt(s);for(;f===hN||f===mN;)s++,f=n.codePointAt(s)}if(i){let f=n.codePointAt(u-1);for(;f===hN||f===mN;)u--,f=n.codePointAt(u-1)}return u>s?n.slice(s,u):""}function t9(n,a){const i={type:"text",value:e9(String(a.value))};return n.patch(a,i),n.applyData(a,i)}function n9(n,a){const i={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(a,i),n.applyData(a,i)}const r9={blockquote:M7,break:_7,code:z7,delete:U7,emphasis:j7,footnoteReference:V7,heading:L7,html:B7,imageReference:H7,image:P7,inlineCode:q7,linkReference:I7,link:F7,listItem:Y7,list:$7,paragraph:X7,root:Q7,strong:Z7,table:J7,tableCell:W7,tableRow:K7,text:t9,thematicBreak:n9,toml:fh,yaml:fh,definition:fh,footnoteDefinition:fh};function fh(){}const xR=-1,Jh=0,Ec=1,Lh=2,i0=3,o0=4,s0=5,l0=6,SR=7,DR=8,gN=typeof self=="object"?self:globalThis,a9=(n,a)=>{const i=(u,f)=>(n.set(f,u),u),s=u=>{if(n.has(u))return n.get(u);const[f,d]=a[u];switch(f){case Jh:case xR:return i(d,u);case Ec:{const h=i([],u);for(const b of d)h.push(s(b));return h}case Lh:{const h=i({},u);for(const[b,g]of d)h[s(b)]=s(g);return h}case i0:return i(new Date(d),u);case o0:{const{source:h,flags:b}=d;return i(new RegExp(h,b),u)}case s0:{const h=i(new Map,u);for(const[b,g]of d)h.set(s(b),s(g));return h}case l0:{const h=i(new Set,u);for(const b of d)h.add(s(b));return h}case SR:{const{name:h,message:b}=d;return i(new gN[h](b),u)}case DR:return i(BigInt(d),u);case"BigInt":return i(Object(BigInt(d)),u);case"ArrayBuffer":return i(new Uint8Array(d).buffer,d);case"DataView":{const{buffer:h}=new Uint8Array(d);return i(new DataView(h),d)}}return i(new gN[f](d),u)};return s},yN=n=>a9(new Map,n)(0),hl="",{toString:i9}={},{keys:o9}=Object,pc=n=>{const a=typeof n;if(a!=="object"||!n)return[Jh,a];const i=i9.call(n).slice(8,-1);switch(i){case"Array":return[Ec,hl];case"Object":return[Lh,hl];case"Date":return[i0,hl];case"RegExp":return[o0,hl];case"Map":return[s0,hl];case"Set":return[l0,hl];case"DataView":return[Ec,i]}return i.includes("Array")?[Ec,i]:i.includes("Error")?[SR,i]:[Lh,i]},dh=([n,a])=>n===Jh&&(a==="function"||a==="symbol"),s9=(n,a,i,s)=>{const u=(d,h)=>{const b=s.push(d)-1;return i.set(h,b),b},f=d=>{if(i.has(d))return i.get(d);let[h,b]=pc(d);switch(h){case Jh:{let p=d;switch(b){case"bigint":h=DR,p=d.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+b);p=null;break;case"undefined":return u([xR],d)}return u([h,p],d)}case Ec:{if(b){let x=d;return b==="DataView"?x=new Uint8Array(d.buffer):b==="ArrayBuffer"&&(x=new Uint8Array(d)),u([b,[...x]],d)}const p=[],v=u([h,p],d);for(const x of d)p.push(f(x));return v}case Lh:{if(b)switch(b){case"BigInt":return u([b,d.toString()],d);case"Boolean":case"Number":case"String":return u([b,d.valueOf()],d)}if(a&&"toJSON"in d)return f(d.toJSON());const p=[],v=u([h,p],d);for(const x of o9(d))(n||!dh(pc(d[x])))&&p.push([f(x),f(d[x])]);return v}case i0:return u([h,d.toISOString()],d);case o0:{const{source:p,flags:v}=d;return u([h,{source:p,flags:v}],d)}case s0:{const p=[],v=u([h,p],d);for(const[x,S]of d)(n||!(dh(pc(x))||dh(pc(S))))&&p.push([f(x),f(S)]);return v}case l0:{const p=[],v=u([h,p],d);for(const x of d)(n||!dh(pc(x)))&&p.push(f(x));return v}}const{message:g}=d;return u([h,{name:b,message:g}],d)};return f},bN=(n,{json:a,lossy:i}={})=>{const s=[];return s9(!(a||i),!!a,new Map,s)(n),s},Bh=typeof structuredClone=="function"?(n,a)=>a&&("json"in a||"lossy"in a)?yN(bN(n,a)):structuredClone(n):(n,a)=>yN(bN(n,a));function l9(n,a){const i=[{type:"text",value:"↩"}];return a>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),i}function u9(n,a){return"Back to reference "+(n+1)+(a>1?"-"+a:"")}function c9(n){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",i=n.options.footnoteBackContent||l9,s=n.options.footnoteBackLabel||u9,u=n.options.footnoteLabel||"Footnotes",f=n.options.footnoteLabelTagName||"h2",d=n.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let b=-1;for(;++b<n.footnoteOrder.length;){const g=n.footnoteById.get(n.footnoteOrder[b]);if(!g)continue;const p=n.all(g),v=String(g.identifier).toUpperCase(),x=Ml(v.toLowerCase());let S=0;const N=[],V=n.footnoteCounts.get(v);for(;V!==void 0&&++S<=V;){N.length>0&&N.push({type:"text",value:" "});let Q=typeof i=="string"?i:i(b,S);typeof Q=="string"&&(Q={type:"text",value:Q}),N.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+x+(S>1?"-"+S:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(b,S),className:["data-footnote-backref"]},children:Array.isArray(Q)?Q:[Q]})}const R=p[p.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const Q=R.children[R.children.length-1];Q&&Q.type==="text"?Q.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...N)}else p.push(...N);const z={type:"element",tagName:"li",properties:{id:a+"fn-"+x},children:n.wrap(p,!0)};n.patch(g,z),h.push(z)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Bh(d),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
259
+ `});const y={type:"element",tagName:"li",properties:f,children:d};return n.patch(a,y),n.applyData(a,y)}function $7(n){let a=!1;if(n.type==="list"){a=n.spread||!1;const i=n.children;let s=-1;for(;!a&&++s<i.length;)a=xR(i[s])}return a}function xR(n){const a=n.spread;return a??n.children.length>1}function X7(n,a){const i={},s=n.all(a);let u=-1;for(typeof a.start=="number"&&a.start!==1&&(i.start=a.start);++u<s.length;){const d=s[u];if(d.type==="element"&&d.tagName==="li"&&d.properties&&Array.isArray(d.properties.className)&&d.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:i,children:n.wrap(s,!0)};return n.patch(a,f),n.applyData(a,f)}function Q7(n,a){const i={type:"element",tagName:"p",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function Z7(n,a){const i={type:"root",children:n.wrap(n.all(a))};return n.patch(a,i),n.applyData(a,i)}function J7(n,a){const i={type:"element",tagName:"strong",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function K7(n,a){const i=n.all(a),s=i.shift(),u=[];if(s){const d={type:"element",tagName:"thead",properties:{},children:n.wrap([s],!0)};n.patch(a.children[0],d),u.push(d)}if(i.length>0){const d={type:"element",tagName:"tbody",properties:{},children:n.wrap(i,!0)},h=W0(a.children[1]),b=WC(a.children[a.children.length-1]);h&&b&&(d.position={start:h,end:b}),u.push(d)}const f={type:"element",tagName:"table",properties:{},children:n.wrap(u,!0)};return n.patch(a,f),n.applyData(a,f)}function W7(n,a,i){const s=i?i.children:void 0,f=(s?s.indexOf(a):1)===0?"th":"td",d=i&&i.type==="table"?i.align:void 0,h=d?d.length:a.children.length;let b=-1;const y=[];for(;++b<h;){const v=a.children[b],x={},S=d?d[b]:void 0;S&&(x.align=S);let N={type:"element",tagName:f,properties:x,children:[]};v&&(N.children=n.all(v),n.patch(v,N),N=n.applyData(v,N)),y.push(N)}const p={type:"element",tagName:"tr",properties:{},children:n.wrap(y,!0)};return n.patch(a,p),n.applyData(a,p)}function e9(n,a){const i={type:"element",tagName:"td",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}const mN=9,pN=32;function t9(n){const a=String(n),i=/\r?\n|\r/g;let s=i.exec(a),u=0;const f=[];for(;s;)f.push(yN(a.slice(u,s.index),u>0,!0),s[0]),u=s.index+s[0].length,s=i.exec(a);return f.push(yN(a.slice(u),u>0,!1)),f.join("")}function yN(n,a,i){let s=0,u=n.length;if(a){let f=n.codePointAt(s);for(;f===mN||f===pN;)s++,f=n.codePointAt(s)}if(i){let f=n.codePointAt(u-1);for(;f===mN||f===pN;)u--,f=n.codePointAt(u-1)}return u>s?n.slice(s,u):""}function n9(n,a){const i={type:"text",value:t9(String(a.value))};return n.patch(a,i),n.applyData(a,i)}function r9(n,a){const i={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(a,i),n.applyData(a,i)}const a9={blockquote:M7,break:_7,code:U7,delete:j7,emphasis:V7,footnoteReference:L7,heading:B7,html:H7,imageReference:P7,image:q7,inlineCode:I7,linkReference:F7,link:Y7,listItem:G7,list:X7,paragraph:Q7,root:Z7,strong:J7,table:K7,tableCell:e9,tableRow:W7,text:n9,thematicBreak:r9,toml:fh,yaml:fh,definition:fh,footnoteDefinition:fh};function fh(){}const SR=-1,Jh=0,Ec=1,Lh=2,ov=3,sv=4,lv=5,uv=6,wR=7,ER=8,gN=typeof self=="object"?self:globalThis,i9=(n,a)=>{const i=(u,f)=>(n.set(f,u),u),s=u=>{if(n.has(u))return n.get(u);const[f,d]=a[u];switch(f){case Jh:case SR:return i(d,u);case Ec:{const h=i([],u);for(const b of d)h.push(s(b));return h}case Lh:{const h=i({},u);for(const[b,y]of d)h[s(b)]=s(y);return h}case ov:return i(new Date(d),u);case sv:{const{source:h,flags:b}=d;return i(new RegExp(h,b),u)}case lv:{const h=i(new Map,u);for(const[b,y]of d)h.set(s(b),s(y));return h}case uv:{const h=i(new Set,u);for(const b of d)h.add(s(b));return h}case wR:{const{name:h,message:b}=d;return i(new gN[h](b),u)}case ER:return i(BigInt(d),u);case"BigInt":return i(Object(BigInt(d)),u);case"ArrayBuffer":return i(new Uint8Array(d).buffer,d);case"DataView":{const{buffer:h}=new Uint8Array(d);return i(new DataView(h),d)}}return i(new gN[f](d),u)};return s},bN=n=>i9(new Map,n)(0),hl="",{toString:o9}={},{keys:s9}=Object,pc=n=>{const a=typeof n;if(a!=="object"||!n)return[Jh,a];const i=o9.call(n).slice(8,-1);switch(i){case"Array":return[Ec,hl];case"Object":return[Lh,hl];case"Date":return[ov,hl];case"RegExp":return[sv,hl];case"Map":return[lv,hl];case"Set":return[uv,hl];case"DataView":return[Ec,i]}return i.includes("Array")?[Ec,i]:i.includes("Error")?[wR,i]:[Lh,i]},dh=([n,a])=>n===Jh&&(a==="function"||a==="symbol"),l9=(n,a,i,s)=>{const u=(d,h)=>{const b=s.push(d)-1;return i.set(h,b),b},f=d=>{if(i.has(d))return i.get(d);let[h,b]=pc(d);switch(h){case Jh:{let p=d;switch(b){case"bigint":h=ER,p=d.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+b);p=null;break;case"undefined":return u([SR],d)}return u([h,p],d)}case Ec:{if(b){let x=d;return b==="DataView"?x=new Uint8Array(d.buffer):b==="ArrayBuffer"&&(x=new Uint8Array(d)),u([b,[...x]],d)}const p=[],v=u([h,p],d);for(const x of d)p.push(f(x));return v}case Lh:{if(b)switch(b){case"BigInt":return u([b,d.toString()],d);case"Boolean":case"Number":case"String":return u([b,d.valueOf()],d)}if(a&&"toJSON"in d)return f(d.toJSON());const p=[],v=u([h,p],d);for(const x of s9(d))(n||!dh(pc(d[x])))&&p.push([f(x),f(d[x])]);return v}case ov:return u([h,d.toISOString()],d);case sv:{const{source:p,flags:v}=d;return u([h,{source:p,flags:v}],d)}case lv:{const p=[],v=u([h,p],d);for(const[x,S]of d)(n||!(dh(pc(x))||dh(pc(S))))&&p.push([f(x),f(S)]);return v}case uv:{const p=[],v=u([h,p],d);for(const x of d)(n||!dh(pc(x)))&&p.push(f(x));return v}}const{message:y}=d;return u([h,{name:b,message:y}],d)};return f},vN=(n,{json:a,lossy:i}={})=>{const s=[];return l9(!(a||i),!!a,new Map,s)(n),s},Bh=typeof structuredClone=="function"?(n,a)=>a&&("json"in a||"lossy"in a)?bN(vN(n,a)):structuredClone(n):(n,a)=>bN(vN(n,a));function u9(n,a){const i=[{type:"text",value:"↩"}];return a>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),i}function c9(n,a){return"Back to reference "+(n+1)+(a>1?"-"+a:"")}function f9(n){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",i=n.options.footnoteBackContent||u9,s=n.options.footnoteBackLabel||c9,u=n.options.footnoteLabel||"Footnotes",f=n.options.footnoteLabelTagName||"h2",d=n.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let b=-1;for(;++b<n.footnoteOrder.length;){const y=n.footnoteById.get(n.footnoteOrder[b]);if(!y)continue;const p=n.all(y),v=String(y.identifier).toUpperCase(),x=Ol(v.toLowerCase());let S=0;const N=[],V=n.footnoteCounts.get(v);for(;V!==void 0&&++S<=V;){N.length>0&&N.push({type:"text",value:" "});let Q=typeof i=="string"?i:i(b,S);typeof Q=="string"&&(Q={type:"text",value:Q}),N.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+x+(S>1?"-"+S:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(b,S),className:["data-footnote-backref"]},children:Array.isArray(Q)?Q:[Q]})}const R=p[p.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const Q=R.children[R.children.length-1];Q&&Q.type==="text"?Q.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...N)}else p.push(...N);const _={type:"element",tagName:"li",properties:{id:a+"fn-"+x},children:n.wrap(p,!0)};n.patch(y,_),h.push(_)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Bh(d),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
260
260
  `},{type:"element",tagName:"ol",properties:{},children:n.wrap(h,!0)},{type:"text",value:`
261
- `}]}}const ER=(function(n){if(n==null)return m9;if(typeof n=="function")return Kh(n);if(typeof n=="object")return Array.isArray(n)?f9(n):d9(n);if(typeof n=="string")return h9(n);throw new Error("Expected function, string, or object as test")});function f9(n){const a=[];let i=-1;for(;++i<n.length;)a[i]=ER(n[i]);return Kh(s);function s(...u){let f=-1;for(;++f<a.length;)if(a[f].apply(this,u))return!0;return!1}}function d9(n){const a=n;return Kh(i);function i(s){const u=s;let f;for(f in n)if(u[f]!==a[f])return!1;return!0}}function h9(n){return Kh(a);function a(i){return i&&i.type===n}}function Kh(n){return a;function a(i,s,u){return!!(p9(i)&&n.call(this,i,typeof s=="number"?s:void 0,u||void 0))}}function m9(){return!0}function p9(n){return n!==null&&typeof n=="object"&&"type"in n}const TR=[],g9=!0,vN=!1,y9="skip";function b9(n,a,i,s){let u;typeof a=="function"&&typeof i!="function"?(s=i,i=a):u=a;const f=ER(u),d=s?-1:1;h(n,void 0,[])();function h(b,g,p){const v=b&&typeof b=="object"?b:{};if(typeof v.type=="string"){const S=typeof v.tagName=="string"?v.tagName:typeof v.name=="string"?v.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(b.type+(S?"<"+S+">":""))+")"})}return x;function x(){let S=TR,N,V,R;if((!a||f(b,g,p[p.length-1]||void 0))&&(S=v9(i(b,p)),S[0]===vN))return S;if("children"in b&&b.children){const z=b;if(z.children&&S[0]!==y9)for(V=(s?z.children.length:-1)+d,R=p.concat(z);V>-1&&V<z.children.length;){const Q=z.children[V];if(N=h(Q,V,R)(),N[0]===vN)return N;V=typeof N[1]=="number"?N[1]:V+d}}return S}}}function v9(n){return Array.isArray(n)?n:typeof n=="number"?[g9,n]:n==null?TR:[n]}function AR(n,a,i,s){let u,f,d;typeof a=="function"&&typeof i!="function"?(f=void 0,d=a,u=i):(f=a,d=i,u=s),b9(n,f,h,u);function h(b,g){const p=g[g.length-1],v=p?p.children.indexOf(b):void 0;return d(b,v,p)}}const ov={}.hasOwnProperty,x9={};function S9(n,a){const i=a||x9,s=new Map,u=new Map,f=new Map,d={...r9,...i.handlers},h={all:g,applyData:E9,definitionById:s,footnoteById:u,footnoteCounts:f,footnoteOrder:[],handlers:d,one:b,options:i,patch:D9,wrap:A9};return AR(n,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const v=p.type==="definition"?s:u,x=String(p.identifier).toUpperCase();v.has(x)||v.set(x,p)}}),h;function b(p,v){const x=p.type,S=h.handlers[x];if(ov.call(h.handlers,x)&&S)return S(h,p,v);if(h.options.passThrough&&h.options.passThrough.includes(x)){if("children"in p){const{children:V,...R}=p,z=Bh(R);return z.children=h.all(p),z}return Bh(p)}return(h.options.unknownHandler||T9)(h,p,v)}function g(p){const v=[];if("children"in p){const x=p.children;let S=-1;for(;++S<x.length;){const N=h.one(x[S],p);if(N){if(S&&x[S-1].type==="break"&&(!Array.isArray(N)&&N.type==="text"&&(N.value=xN(N.value)),!Array.isArray(N)&&N.type==="element")){const V=N.children[0];V&&V.type==="text"&&(V.value=xN(V.value))}Array.isArray(N)?v.push(...N):v.push(N)}}}return v}}function D9(n,a){n.position&&(a.position=tB(n))}function E9(n,a){let i=a;if(n&&n.data){const s=n.data.hName,u=n.data.hChildren,f=n.data.hProperties;if(typeof s=="string")if(i.type==="element")i.tagName=s;else{const d="children"in i?i.children:[i];i={type:"element",tagName:s,properties:{},children:d}}i.type==="element"&&f&&Object.assign(i.properties,Bh(f)),"children"in i&&i.children&&u!==null&&u!==void 0&&(i.children=u)}return i}function T9(n,a){const i=a.data||{},s="value"in a&&!(ov.call(i,"hProperties")||ov.call(i,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:n.all(a)};return n.patch(a,s),n.applyData(a,s)}function A9(n,a){const i=[];let s=-1;for(a&&i.push({type:"text",value:`
261
+ `}]}}const TR=(function(n){if(n==null)return p9;if(typeof n=="function")return Kh(n);if(typeof n=="object")return Array.isArray(n)?d9(n):h9(n);if(typeof n=="string")return m9(n);throw new Error("Expected function, string, or object as test")});function d9(n){const a=[];let i=-1;for(;++i<n.length;)a[i]=TR(n[i]);return Kh(s);function s(...u){let f=-1;for(;++f<a.length;)if(a[f].apply(this,u))return!0;return!1}}function h9(n){const a=n;return Kh(i);function i(s){const u=s;let f;for(f in n)if(u[f]!==a[f])return!1;return!0}}function m9(n){return Kh(a);function a(i){return i&&i.type===n}}function Kh(n){return a;function a(i,s,u){return!!(y9(i)&&n.call(this,i,typeof s=="number"?s:void 0,u||void 0))}}function p9(){return!0}function y9(n){return n!==null&&typeof n=="object"&&"type"in n}const DR=[],g9=!0,xN=!1,b9="skip";function v9(n,a,i,s){let u;typeof a=="function"&&typeof i!="function"?(s=i,i=a):u=a;const f=TR(u),d=s?-1:1;h(n,void 0,[])();function h(b,y,p){const v=b&&typeof b=="object"?b:{};if(typeof v.type=="string"){const S=typeof v.tagName=="string"?v.tagName:typeof v.name=="string"?v.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(b.type+(S?"<"+S+">":""))+")"})}return x;function x(){let S=DR,N,V,R;if((!a||f(b,y,p[p.length-1]||void 0))&&(S=x9(i(b,p)),S[0]===xN))return S;if("children"in b&&b.children){const _=b;if(_.children&&S[0]!==b9)for(V=(s?_.children.length:-1)+d,R=p.concat(_);V>-1&&V<_.children.length;){const Q=_.children[V];if(N=h(Q,V,R)(),N[0]===xN)return N;V=typeof N[1]=="number"?N[1]:V+d}}return S}}}function x9(n){return Array.isArray(n)?n:typeof n=="number"?[g9,n]:n==null?DR:[n]}function kR(n,a,i,s){let u,f,d;typeof a=="function"&&typeof i!="function"?(f=void 0,d=a,u=i):(f=a,d=i,u=s),v9(n,f,h,u);function h(b,y){const p=y[y.length-1],v=p?p.children.indexOf(b):void 0;return d(b,v,p)}}const s0={}.hasOwnProperty,S9={};function w9(n,a){const i=a||S9,s=new Map,u=new Map,f=new Map,d={...a9,...i.handlers},h={all:y,applyData:T9,definitionById:s,footnoteById:u,footnoteCounts:f,footnoteOrder:[],handlers:d,one:b,options:i,patch:E9,wrap:k9};return kR(n,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const v=p.type==="definition"?s:u,x=String(p.identifier).toUpperCase();v.has(x)||v.set(x,p)}}),h;function b(p,v){const x=p.type,S=h.handlers[x];if(s0.call(h.handlers,x)&&S)return S(h,p,v);if(h.options.passThrough&&h.options.passThrough.includes(x)){if("children"in p){const{children:V,...R}=p,_=Bh(R);return _.children=h.all(p),_}return Bh(p)}return(h.options.unknownHandler||D9)(h,p,v)}function y(p){const v=[];if("children"in p){const x=p.children;let S=-1;for(;++S<x.length;){const N=h.one(x[S],p);if(N){if(S&&x[S-1].type==="break"&&(!Array.isArray(N)&&N.type==="text"&&(N.value=SN(N.value)),!Array.isArray(N)&&N.type==="element")){const V=N.children[0];V&&V.type==="text"&&(V.value=SN(V.value))}Array.isArray(N)?v.push(...N):v.push(N)}}}return v}}function E9(n,a){n.position&&(a.position=nB(n))}function T9(n,a){let i=a;if(n&&n.data){const s=n.data.hName,u=n.data.hChildren,f=n.data.hProperties;if(typeof s=="string")if(i.type==="element")i.tagName=s;else{const d="children"in i?i.children:[i];i={type:"element",tagName:s,properties:{},children:d}}i.type==="element"&&f&&Object.assign(i.properties,Bh(f)),"children"in i&&i.children&&u!==null&&u!==void 0&&(i.children=u)}return i}function D9(n,a){const i=a.data||{},s="value"in a&&!(s0.call(i,"hProperties")||s0.call(i,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:n.all(a)};return n.patch(a,s),n.applyData(a,s)}function k9(n,a){const i=[];let s=-1;for(a&&i.push({type:"text",value:`
262
262
  `});++s<n.length;)s&&i.push({type:"text",value:`
263
263
  `}),i.push(n[s]);return a&&n.length>0&&i.push({type:"text",value:`
264
- `}),i}function xN(n){let a=0,i=n.charCodeAt(a);for(;i===9||i===32;)a++,i=n.charCodeAt(a);return n.slice(a)}function SN(n,a){const i=S9(n,a),s=i.one(n,void 0),u=c9(i),f=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&(P("children"in f),f.children.push({type:"text",value:`
265
- `},u)),f}function w9(n,a){return n&&"run"in n?async function(i,s){const u=SN(i,{file:s,...a});await n.run(u,s)}:function(i,s){return SN(i,{file:s,...n||a})}}function DN(n){if(n)throw n}var mb,EN;function N9(){if(EN)return mb;EN=1;var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=function(g){return typeof Array.isArray=="function"?Array.isArray(g):a.call(g)==="[object Array]"},f=function(g){if(!g||a.call(g)!=="[object Object]")return!1;var p=n.call(g,"constructor"),v=g.constructor&&g.constructor.prototype&&n.call(g.constructor.prototype,"isPrototypeOf");if(g.constructor&&!p&&!v)return!1;var x;for(x in g);return typeof x>"u"||n.call(g,x)},d=function(g,p){i&&p.name==="__proto__"?i(g,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):g[p.name]=p.newValue},h=function(g,p){if(p==="__proto__")if(n.call(g,p)){if(s)return s(g,p).value}else return;return g[p]};return mb=function b(){var g,p,v,x,S,N,V=arguments[0],R=1,z=arguments.length,Q=!1;for(typeof V=="boolean"&&(Q=V,V=arguments[1]||{},R=2),(V==null||typeof V!="object"&&typeof V!="function")&&(V={});R<z;++R)if(g=arguments[R],g!=null)for(p in g)v=h(V,p),x=h(g,p),V!==x&&(Q&&x&&(f(x)||(S=u(x)))?(S?(S=!1,N=v&&u(v)?v:[]):N=v&&f(v)?v:{},d(V,{name:p,newValue:b(Q,N,x)})):typeof x<"u"&&d(V,{name:p,newValue:x}));return V},mb}var k9=N9();const pb=Rc(k9);function sv(n){if(typeof n!="object"||n===null)return!1;const a=Object.getPrototypeOf(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function C9(){const n=[],a={run:i,use:s};return a;function i(...u){let f=-1;const d=u.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);h(null,...u);function h(b,...g){const p=n[++f];let v=-1;if(b){d(b);return}for(;++v<u.length;)(g[v]===null||g[v]===void 0)&&(g[v]=u[v]);u=g,p?R9(p,h)(...g):d(null,...g)}}function s(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return n.push(u),a}}function R9(n,a){let i;return s;function s(...d){const h=n.length>d.length;let b;h&&d.push(u);try{b=n.apply(this,d)}catch(g){const p=g;if(h&&i)throw p;return u(p)}h||(b&&b.then&&typeof b.then=="function"?b.then(f,u):b instanceof Error?u(b):f(b))}function u(d,...h){i||(i=!0,a(d,...h))}function f(d){u(null,d)}}const _a={basename:O9,dirname:M9,extname:_9,join:z9,sep:"/"};function O9(n,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');qc(n);let i=0,s=-1,u=n.length,f;if(a===void 0||a.length===0||a.length>n.length){for(;u--;)if(n.codePointAt(u)===47){if(f){i=u+1;break}}else s<0&&(f=!0,s=u+1);return s<0?"":n.slice(i,s)}if(a===n)return"";let d=-1,h=a.length-1;for(;u--;)if(n.codePointAt(u)===47){if(f){i=u+1;break}}else d<0&&(f=!0,d=u+1),h>-1&&(n.codePointAt(u)===a.codePointAt(h--)?h<0&&(s=u):(h=-1,s=d));return i===s?s=d:s<0&&(s=n.length),n.slice(i,s)}function M9(n){if(qc(n),n.length===0)return".";let a=-1,i=n.length,s;for(;--i;)if(n.codePointAt(i)===47){if(s){a=i;break}}else s||(s=!0);return a<0?n.codePointAt(0)===47?"/":".":a===1&&n.codePointAt(0)===47?"//":n.slice(0,a)}function _9(n){qc(n);let a=n.length,i=-1,s=0,u=-1,f=0,d;for(;a--;){const h=n.codePointAt(a);if(h===47){if(d){s=a+1;break}continue}i<0&&(d=!0,i=a+1),h===46?u<0?u=a:f!==1&&(f=1):u>-1&&(f=-1)}return u<0||i<0||f===0||f===1&&u===i-1&&u===s+1?"":n.slice(u,i)}function z9(...n){let a=-1,i;for(;++a<n.length;)qc(n[a]),n[a]&&(i=i===void 0?n[a]:i+"/"+n[a]);return i===void 0?".":U9(i)}function U9(n){qc(n);const a=n.codePointAt(0)===47;let i=j9(n,!a);return i.length===0&&!a&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),a?"/"+i:i}function j9(n,a){let i="",s=0,u=-1,f=0,d=-1,h,b;for(;++d<=n.length;){if(d<n.length)h=n.codePointAt(d);else{if(h===47)break;h=47}if(h===47){if(!(u===d-1||f===1))if(u!==d-1&&f===2){if(i.length<2||s!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(b=i.lastIndexOf("/"),b!==i.length-1){b<0?(i="",s=0):(i=i.slice(0,b),s=i.length-1-i.lastIndexOf("/")),u=d,f=0;continue}}else if(i.length>0){i="",s=0,u=d,f=0;continue}}a&&(i=i.length>0?i+"/..":"..",s=2)}else i.length>0?i+="/"+n.slice(u+1,d):i=n.slice(u+1,d),s=d-u-1;u=d,f=0}else h===46&&f>-1?f++:f=-1}return i}function qc(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const V9={cwd:L9};function L9(){return"/"}function lv(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function B9(n){if(typeof n=="string")n=new URL(n);else if(!lv(n)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(n.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return H9(n)}function H9(n){if(n.hostname!==""){const s=new TypeError('File URL host must be "localhost" or empty on darwin');throw s.code="ERR_INVALID_FILE_URL_HOST",s}const a=n.pathname;let i=-1;for(;++i<a.length;)if(a.codePointAt(i)===37&&a.codePointAt(i+1)===50){const s=a.codePointAt(i+2);if(s===70||s===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(a)}const gb=["history","path","basename","stem","extname","dirname"];class wR{constructor(a){let i;a?lv(a)?i={path:a}:typeof a=="string"||P9(a)?i={value:a}:i=a:i={},this.cwd="cwd"in i?"":V9.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<gb.length;){const f=gb[s];f in i&&i[f]!==void 0&&i[f]!==null&&(this[f]=f==="history"?[...i[f]]:i[f])}let u;for(u in i)gb.includes(u)||(this[u]=i[u])}get basename(){return typeof this.path=="string"?_a.basename(this.path):void 0}set basename(a){bb(a,"basename"),yb(a,"basename"),this.path=_a.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?_a.dirname(this.path):void 0}set dirname(a){TN(this.basename,"dirname"),this.path=_a.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?_a.extname(this.path):void 0}set extname(a){if(yb(a,"extname"),TN(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=_a.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){lv(a)&&(a=B9(a)),bb(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?_a.basename(this.path,this.extname):void 0}set stem(a){bb(a,"stem"),yb(a,"stem"),this.path=_a.join(this.dirname||"",a+(this.extname||""))}fail(a,i,s){const u=this.message(a,i,s);throw u.fatal=!0,u}info(a,i,s){const u=this.message(a,i,s);return u.fatal=void 0,u}message(a,i,s){const u=new An(a,i,s);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function yb(n,a){if(n&&n.includes(_a.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+_a.sep+"`")}function bb(n,a){if(!n)throw new Error("`"+a+"` cannot be empty")}function TN(n,a){if(!n)throw new Error("Setting `"+a+"` requires `path` to be set too")}function P9(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const q9=(function(n){const s=this.constructor.prototype,u=s[n],f=function(){return u.apply(f,arguments)};return Object.setPrototypeOf(f,s),f}),I9={}.hasOwnProperty;class u0 extends q9{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=C9()}copy(){const a=new u0;let i=-1;for(;++i<this.attachers.length;){const s=this.attachers[i];a.use(...s)}return a.data(pb(!0,{},this.namespace)),a}data(a,i){return typeof a=="string"?arguments.length===2?(Sb("data",this.frozen),this.namespace[a]=i,this):I9.call(this.namespace,a)&&this.namespace[a]||void 0:a?(Sb("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...s]=this.attachers[this.freezeIndex];if(s[0]===!1)continue;s[0]===!0&&(s[0]=void 0);const u=i.call(a,...s);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const i=hh(a),s=this.parser||this.Parser;return vb("parse",s),s(String(i),i)}process(a,i){const s=this;return this.freeze(),vb("process",this.parser||this.Parser),xb("process",this.compiler||this.Compiler),i?u(void 0,i):new Promise(u);function u(f,d){const h=hh(a),b=s.parse(h);s.run(b,h,function(p,v,x){if(p||!v||!x)return g(p);const S=v,N=s.stringify(S,x);G9(N)?x.value=N:x.result=N,g(p,x)});function g(p,v){p||!v?d(p):f?f(v):(P(i,"`done` is defined if `resolve` is not"),i(void 0,v))}}}processSync(a){let i=!1,s;return this.freeze(),vb("processSync",this.parser||this.Parser),xb("processSync",this.compiler||this.Compiler),this.process(a,u),wN("processSync","process",i),P(s,"we either bailed on an error or have a tree"),s;function u(f,d){i=!0,DN(f),s=d}}run(a,i,s){AN(a),this.freeze();const u=this.transformers;return!s&&typeof i=="function"&&(s=i,i=void 0),s?f(void 0,s):new Promise(f);function f(d,h){P(typeof i!="function","`file` can’t be a `done` anymore, we checked");const b=hh(i);u.run(a,b,g);function g(p,v,x){const S=v||a;p?h(p):d?d(S):(P(s,"`done` is defined if `resolve` is not"),s(void 0,S,x))}}}runSync(a,i){let s=!1,u;return this.run(a,i,f),wN("runSync","run",s),P(u,"we either bailed on an error or have a tree"),u;function f(d,h){DN(d),u=h,s=!0}}stringify(a,i){this.freeze();const s=hh(i),u=this.compiler||this.Compiler;return xb("stringify",u),AN(a),u(a,s)}use(a,...i){const s=this.attachers,u=this.namespace;if(Sb("use",this.frozen),a!=null)if(typeof a=="function")b(a,i);else if(typeof a=="object")Array.isArray(a)?h(a):d(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(g){if(typeof g=="function")b(g,[]);else if(typeof g=="object")if(Array.isArray(g)){const[p,...v]=g;b(p,v)}else d(g);else throw new TypeError("Expected usable value, not `"+g+"`")}function d(g){if(!("plugins"in g)&&!("settings"in g))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(g.plugins),g.settings&&(u.settings=pb(!0,u.settings,g.settings))}function h(g){let p=-1;if(g!=null)if(Array.isArray(g))for(;++p<g.length;){const v=g[p];f(v)}else throw new TypeError("Expected a list of plugins, not `"+g+"`")}function b(g,p){let v=-1,x=-1;for(;++v<s.length;)if(s[v][0]===g){x=v;break}if(x===-1)s.push([g,...p]);else if(p.length>0){let[S,...N]=p;const V=s[x][1];sv(V)&&sv(S)&&(S=pb(!0,V,S)),s[x]=[g,S,...N]}}}}const F9=new u0().freeze();function vb(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function xb(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function Sb(n,a){if(a)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function AN(n){if(!sv(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function wN(n,a,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+a+"` instead")}function hh(n){return Y9(n)?n:new wR(n)}function Y9(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function G9(n){return typeof n=="string"||$9(n)}function $9(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const X9="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",NN=[],kN={allowDangerousHtml:!0},Q9=/^(https?|ircs?|mailto|xmpp)$/i,Z9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function J9(n){const a=K9(n),i=W9(n);return eH(a.runSync(a.parse(i),i),n)}function K9(n){const a=n.rehypePlugins||NN,i=n.remarkPlugins||NN,s=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...kN}:kN;return F9().use(O7).use(i).use(w9,s).use(a)}function W9(n){const a=n.children||"",i=new wR;return typeof a=="string"?i.value=a:Kb("Unexpected value `"+a+"` for `children` prop, expected `string`"),i}function eH(n,a){const i=a.allowedElements,s=a.allowElement,u=a.components,f=a.disallowedElements,d=a.skipHtml,h=a.unwrapDisallowed,b=a.urlTransform||tH;for(const p of Z9)Object.hasOwn(a,p.from)&&Kb("Unexpected `"+p.from+"` prop, "+(p.to?"use `"+p.to+"` instead":"remove it")+" (see <"+X9+"#"+p.id+"> for more info)");return i&&f&&Kb("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),AR(n,g),oB(n,{Fragment:Vr.Fragment,components:u,ignoreInvalidStyle:!0,jsx:Vr.jsx,jsxs:Vr.jsxs,passKeys:!0,passNode:!0});function g(p,v,x){if(p.type==="raw"&&x&&typeof v=="number")return d?x.children.splice(v,1):x.children[v]={type:"text",value:p.value},v;if(p.type==="element"){let S;for(S in ub)if(Object.hasOwn(ub,S)&&Object.hasOwn(p.properties,S)){const N=p.properties[S],V=ub[S];(V===null||V.includes(p.tagName))&&(p.properties[S]=b(String(N||""),S,p))}}if(p.type==="element"){let S=i?!i.includes(p.tagName):f?f.includes(p.tagName):!1;if(!S&&s&&typeof v=="number"&&(S=!s(p,v,x)),S&&x&&typeof v=="number")return h&&p.children?x.children.splice(v,1,...p.children):x.children.splice(v,1),v}}}function tH(n){const a=n.indexOf(":"),i=n.indexOf("?"),s=n.indexOf("#"),u=n.indexOf("/");return a===-1||u!==-1&&a>u||i!==-1&&a>i||s!==-1&&a>s||Q9.test(n.slice(0,a))?n:""}const ao=[{id:"welcome",title:"Welcome to Zora",subtitle:"Your personal AI assistant that actually does things"},{id:"how-it-works",title:"How Zora Works",subtitle:"Three things to know before you start"},{id:"try-it",title:"Try Your First Task",subtitle:"Click one to get started, or type your own"}],nH=[{emoji:"📂",label:"Organize my Downloads",prompt:"List everything in ~/Downloads grouped by file type, and tell me which files are oldest"},{emoji:"📝",label:"Summarize a folder",prompt:"Give me a one-line summary of each item in ~/Projects (or ~/Documents if Projects doesn't exist)"},{emoji:"🔍",label:"Find large files",prompt:"Find the 10 largest files in my home directory and tell me their sizes"},{emoji:"🧠",label:"Teach Zora about me",prompt:"Remember that I prefer concise, direct answers and I'm a non-technical user"},{emoji:"📊",label:"Project status check",prompt:"Check ~/Projects for any git repos and tell me which have uncommitted changes"},{emoji:"🗑️",label:"Clean up suggestions",prompt:"Look at my ~/Downloads and ~/Desktop folders and suggest files I might want to clean up or archive"}],rH=({onComplete:n,onSubmitTask:a})=>{const[i,s]=me.useState(0),u=()=>{i<ao.length-1&&s(i+1)},f=h=>{a(h),n()},d=()=>{n()};return k.jsxDEV("div",{className:"fixed inset-0 z-40 bg-zora-obsidian/95 flex items-center justify-center p-8",children:k.jsxDEV(Tn.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"max-w-2xl w-full",children:[k.jsxDEV("div",{className:"flex justify-center gap-2 mb-8",children:ao.map((h,b)=>k.jsxDEV("div",{className:`w-2 h-2 rounded-full transition-colors ${b===i?"bg-zora-teal":b<i?"bg-zora-teal/40":"bg-zora-ghost"}`},b,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:89,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:87,columnNumber:9},void 0),k.jsxDEV(so,{mode:"wait",children:[i===0&&k.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"text-center",children:[k.jsxDEV("div",{className:"w-16 h-16 rounded-2xl bg-zora-teal/20 border border-zora-teal/30 flex items-center justify-center mx-auto mb-6",children:k.jsxDEV(jN,{size:32,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:109,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:108,columnNumber:15},void 0),k.jsxDEV("h1",{className:"text-3xl font-tactical font-bold text-zora-white mb-3",children:ao[0].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:111,columnNumber:15},void 0),k.jsxDEV("p",{className:"text-zora-blue/70 text-lg mb-2",children:ao[0].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:114,columnNumber:15},void 0),k.jsxDEV("p",{className:"text-white/40 text-sm max-w-md mx-auto mb-10",children:"Tell Zora what you need in plain English — organize files, summarize documents, automate tasks — and it handles it while you do something else."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:117,columnNumber:15},void 0),k.jsxDEV("div",{className:"flex flex-col items-center gap-3",children:k.jsxDEV("div",{className:"flex items-center gap-2 text-sm text-zora-teal/70",children:[k.jsxDEV(kh,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:124,columnNumber:19},void 0),k.jsxDEV("span",{children:"No API keys. No surprise bills. Uses your existing subscription."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:125,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:123,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:122,columnNumber:15},void 0),k.jsxDEV("button",{onClick:u,className:"mt-8 bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 mx-auto text-sm",children:["Get Started ",k.jsxDEV(aA,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:133,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:129,columnNumber:15},void 0),k.jsxDEV("button",{onClick:d,className:"mt-3 text-white/30 text-xs hover:text-white/50 transition-colors",children:"Skip intro — I know what I'm doing"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:136,columnNumber:15},void 0)]},"welcome",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:101,columnNumber:13},void 0),i===1&&k.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[k.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:ao[1].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:153,columnNumber:15},void 0),k.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-8",children:ao[1].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:156,columnNumber:15},void 0),k.jsxDEV("div",{className:"space-y-4",children:[k.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-teal",children:[k.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-teal/20 flex items-center justify-center flex-shrink-0",children:k.jsxDEV(oU,{size:20,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:161,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:160,columnNumber:19},void 0),k.jsxDEV("div",{children:[k.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It takes action, not just talks"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:164,columnNumber:21},void 0),k.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Unlike chatbots, Zora actually reads your files, runs commands, and creates output. When you say "organize my downloads," it really moves the files.'},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:165,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:163,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:159,columnNumber:17},void 0),k.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-gold",children:[k.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-gold/20 flex items-center justify-center flex-shrink-0",children:k.jsxDEV(kh,{size:20,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:174,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:173,columnNumber:19},void 0),k.jsxDEV("div",{children:[k.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"You set the boundaries"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:177,columnNumber:21},void 0),k.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:"Zora only accesses folders you've allowed. Destructive commands are blocked. Every action is logged. You can review everything it did anytime."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:178,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:176,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:172,columnNumber:17},void 0),k.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-cyan",children:[k.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-cyan/20 flex items-center justify-center flex-shrink-0",children:k.jsxDEV(zN,{size:20,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:187,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:186,columnNumber:19},void 0),k.jsxDEV("div",{children:[k.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It remembers and learns"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:190,columnNumber:21},void 0),k.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Tell Zora your preferences once and it remembers across sessions. "I prefer TypeScript" or "keep answers short" — it adapts to how you work.'},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:191,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:189,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:185,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:158,columnNumber:15},void 0),k.jsxDEV("div",{className:"flex justify-center mt-8",children:k.jsxDEV("button",{onClick:u,className:"bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:["Show Me What It Can Do ",k.jsxDEV(aA,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:204,columnNumber:42},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:200,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:199,columnNumber:15},void 0)]},"how-it-works",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:147,columnNumber:13},void 0),i===2&&k.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[k.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:ao[2].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:218,columnNumber:15},void 0),k.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-6",children:ao[2].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:221,columnNumber:15},void 0),k.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:nH.map((h,b)=>k.jsxDEV("button",{onClick:()=>f(h.prompt),className:"text-left p-4 bg-black/40 rounded-xl border border-zora-ghost/30 hover:border-zora-teal/50 hover:bg-black/60 transition-all group",children:[k.jsxDEV("div",{className:"text-2xl mb-2",children:h.emoji},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:230,columnNumber:21},void 0),k.jsxDEV("div",{className:"text-zora-white text-sm font-bold mb-1 group-hover:text-zora-teal transition-colors",children:h.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:231,columnNumber:21},void 0),k.jsxDEV("div",{className:"text-white/30 text-xs line-clamp-2",children:h.prompt},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:234,columnNumber:21},void 0)]},b,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:225,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:223,columnNumber:15},void 0),k.jsxDEV("div",{className:"flex justify-center mt-6",children:k.jsxDEV("button",{onClick:d,className:"text-white/40 text-xs hover:text-white/60 transition-colors flex items-center gap-1",children:[k.jsxDEV(Rz,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:246,columnNumber:19},void 0)," Skip to dashboard — I'll explore on my own"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:242,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:241,columnNumber:15},void 0)]},"try-it",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:212,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:98,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:81,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:80,columnNumber:5},void 0)},aH=[{icon:UN,label:"Files",color:"text-zora-teal",bgColor:"bg-zora-teal/10",borderColor:"border-zora-teal/30",tasks:[{label:"Organize Downloads",prompt:"List everything in ~/Downloads grouped by file type and suggest how to organize them"},{label:"Find big files",prompt:"Find the 10 largest files in my home directory with their sizes"},{label:"Clean up Desktop",prompt:"List everything on ~/Desktop grouped by age — what can I archive?"}]},{icon:fv,label:"Summaries",color:"text-zora-gold",bgColor:"bg-zora-gold/10",borderColor:"border-zora-gold/30",tasks:[{label:"Folder overview",prompt:"Give me a one-line summary of each item in ~/Projects"},{label:"README roundup",prompt:"Find all README files in ~/Projects and summarize each one"},{label:"Recent changes",prompt:"What files in ~/Documents were modified in the last 7 days?"}]},{icon:Zz,label:"Search",color:"text-zora-cyan",bgColor:"bg-zora-cyan/10",borderColor:"border-zora-cyan/30",tasks:[{label:"Find TODOs",prompt:"Search for TODO comments across all files in ~/Projects and list them"},{label:"Find duplicates",prompt:"Look for files with identical names across ~/Documents and ~/Desktop"},{label:"Search content",prompt:'Find all files containing the word "password" in my home directory'}]},{icon:zN,label:"Memory",color:"text-purple-400",bgColor:"bg-purple-400/10",borderColor:"border-purple-400/30",tasks:[{label:"Set preferences",prompt:"Remember: I prefer concise answers, dark mode, and bullet-point summaries"},{label:"What do you know?",prompt:"Show me everything you remember about me and my preferences"},{label:"Project context",prompt:"Remember: my main project is in ~/Projects/my-app and uses React + TypeScript"}]},{icon:aU,label:"Dev Tools",color:"text-green-400",bgColor:"bg-green-400/10",borderColor:"border-green-400/30",tasks:[{label:"Git status check",prompt:"Check all git repos in ~/Projects and report which have uncommitted changes"},{label:"Dependency audit",prompt:"Check ~/Projects for any package.json files with outdated dependencies"},{label:"Code summary",prompt:"Analyze the file structure of ~/Projects/my-app and describe the architecture"}]},{icon:uv,label:"Automate",color:"text-rose-400",bgColor:"bg-rose-400/10",borderColor:"border-rose-400/30",tasks:[{label:"Daily standup prep",prompt:"Check my recent git commits across all repos and draft a standup summary"},{label:"Weekly report",prompt:"Summarize what changed in ~/Projects this week — new files, modifications, deletions"},{label:"Backup check",prompt:"List important config files in my home directory that should be backed up"}]}],iH=({onSubmitTask:n})=>{const[a,i]=Hh.useState(null);return k.jsxDEV("div",{className:"px-4 py-3",children:[k.jsxDEV("div",{className:"mb-3",children:k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Quick Tasks"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:90,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:89,columnNumber:7},void 0),k.jsxDEV("div",{className:"space-y-1.5",children:aH.map(s=>{const u=s.icon,f=a===s.label;return k.jsxDEV("div",{children:[k.jsxDEV("button",{onClick:()=>i(f?null:s.label),className:`w-full flex items-center gap-2 px-3 py-2 rounded-lg text-left transition-all ${f?`${s.bgColor} border ${s.borderColor}`:"hover:bg-black/30 border border-transparent"}`,children:[k.jsxDEV(u,{size:14,className:s.color},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:110,columnNumber:17},void 0),k.jsxDEV("span",{className:`text-xs font-bold uppercase ${f?s.color:"text-white/60"}`,children:s.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:111,columnNumber:17},void 0),k.jsxDEV("span",{className:"text-[9px] text-white/20 ml-auto",children:s.tasks.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:114,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:102,columnNumber:15},void 0),k.jsxDEV(so,{children:f&&k.jsxDEV(Tn.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"pl-7 pb-2 space-y-1",children:s.tasks.map((d,h)=>k.jsxDEV("button",{onClick:()=>n(d.prompt),className:"w-full text-left px-3 py-1.5 rounded-md text-[11px] text-white/50 hover:text-zora-white hover:bg-black/30 transition-all",title:d.prompt,children:d.label},h,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:129,columnNumber:23},void 0))},s.label,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:121,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:119,columnNumber:15},void 0)]},s.label,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:101,columnNumber:13},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:95,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:88,columnNumber:5},void 0)},oH={read:cv,write:fv,shell:dv,think:uv,error:VN},CN={read:"text-zora-cyan",write:"text-zora-gold",shell:"text-green-400",think:"text-zora-blue",error:"text-red-400"},sH={read:"Read",write:"Created",shell:"Ran",think:"Thinking",error:"Error"},lH=({steps:n,isRunning:a,taskPrompt:i})=>{const[s,u]=Hh.useState(!1);if(n.length===0&&!a)return null;const f=n.filter(g=>g.type==="read").length,d=n.filter(g=>g.type==="write").length,h=n.filter(g=>g.type==="shell").length,b=n.filter(g=>g.type==="error").length;return k.jsxDEV("div",{className:"border-t border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>u(!s),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[k.jsxDEV("div",{className:"flex items-center gap-3",children:[k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:a?"Task In Progress":"What Just Happened"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:60,columnNumber:11},void 0),a&&k.jsxDEV(Tn.div,{animate:{opacity:[1,.3,1]},transition:{duration:1.5,repeat:1/0},className:"w-2 h-2 rounded-full bg-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:64,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:59,columnNumber:9},void 0),k.jsxDEV("div",{className:"flex items-center gap-3",children:[k.jsxDEV("div",{className:"flex items-center gap-2 text-[9px] font-data text-white/40",children:[f>0&&k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(cv,{size:10,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:76,columnNumber:17},void 0)," ",f]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:75,columnNumber:15},void 0),d>0&&k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(fv,{size:10,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:81,columnNumber:17},void 0)," ",d]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:80,columnNumber:15},void 0),h>0&&k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(dv,{size:10,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:86,columnNumber:17},void 0)," ",h]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:85,columnNumber:15},void 0),b>0&&k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(VN,{size:10,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:91,columnNumber:17},void 0)," ",b]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:90,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:73,columnNumber:11},void 0),s?k.jsxDEV(ph,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:96,columnNumber:13},void 0):k.jsxDEV(gh,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:98,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:71,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:55,columnNumber:7},void 0),k.jsxDEV(so,{children:!s&&k.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:[i&&k.jsxDEV("div",{className:"px-4 pb-2",children:k.jsxDEV("div",{className:"text-[10px] font-data text-white/30 italic truncate",children:['"',i,'"']},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:114,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:113,columnNumber:15},void 0),k.jsxDEV("div",{className:"px-4 pb-3 max-h-40 overflow-y-auto lcars-scrollbar",children:k.jsxDEV("div",{className:"space-y-1",children:[n.map((g,p)=>{const v=oH[g.type];return k.jsxDEV(Tn.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:"flex items-start gap-2 text-[10px] font-data",children:[k.jsxDEV(v,{size:12,className:`${CN[g.type]} mt-0.5 flex-shrink-0`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:131,columnNumber:23},void 0),k.jsxDEV("span",{className:`${CN[g.type]} font-bold uppercase w-12 flex-shrink-0`,children:sH[g.type]},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:132,columnNumber:23},void 0),k.jsxDEV("span",{className:"text-white/50 truncate flex-1",children:g.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:135,columnNumber:23},void 0),k.jsxDEV("span",{className:"text-white/20 flex-shrink-0",children:g.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:138,columnNumber:23},void 0)]},p,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:125,columnNumber:21},void 0)}),a&&k.jsxDEV(Tn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"flex items-center gap-2 text-[10px] font-data text-zora-teal",children:[k.jsxDEV(uv,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:151,columnNumber:21},void 0),k.jsxDEV("span",{children:"Working..."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:152,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:146,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:121,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:120,columnNumber:13},void 0),!a&&n.length>0&&k.jsxDEV("div",{className:"px-4 pb-3",children:k.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data text-green-400/70",children:[k.jsxDEV(Eb,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:161,columnNumber:19},void 0),k.jsxDEV("span",{children:["Task complete",f+d+h>0?" — ":"",f>0?`read ${f} file${f>1?"s":""}`:"",f>0&&d>0?", ":"",d>0?`created ${d} file${d>1?"s":""}`:"",(f>0||d>0)&&h>0?", ":"",h>0?`ran ${h} command${h>1?"s":""}`:""]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:162,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:160,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:159,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:106,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:104,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:53,columnNumber:5},void 0)},RN={safe:{label:"Safe",description:"Zora can only look at files — never change or delete anything.",color:"text-green-400"},balanced:{label:"Balanced",description:"Zora can read and write in your work folders. Dangerous commands are blocked.",color:"text-zora-gold"},power:{label:"Power",description:"Broad access for experienced users. Still blocks truly dangerous actions.",color:"text-orange-400"}},uH=()=>{const[n,a]=me.useState(null),[i,s]=me.useState(!0),[u,f]=me.useState(!1),[d,h]=me.useState("folders");me.useEffect(()=>{(async()=>{try{const v=await Et.get("/api/policy");v.data.ok&&a(v.data.policy)}catch{f(!0),a({preset:"balanced",allowedPaths:["~/Projects","~/Documents","~/Desktop"],deniedPaths:["~/.ssh","~/.gnupg","~/.aws","~/.zora/audit"],allowedCommands:["git","ls","cat","grep","find","node","npm","python"],blockedCommands:["sudo","rm -rf","chmod","chown","mkfs","dd"]})}finally{s(!1)}})()},[]);const b=p=>{h(d===p?null:p)};if(i)return k.jsxDEV("div",{className:"px-4 py-6 text-center",children:k.jsxDEV(Tn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"text-[10px] font-data text-zora-teal",children:"Loading security settings..."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:69,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:68,columnNumber:7},void 0);if(!n)return k.jsxDEV("div",{className:"px-4 py-4 text-[10px] font-data text-white/40",children:["Unable to load security settings. Run ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:83,columnNumber:47},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:82,columnNumber:7},void 0);const g=RN[n.preset]||RN.balanced;return k.jsxDEV("div",{className:"space-y-0",children:[u&&k.jsxDEV("div",{className:"px-4 py-2 text-[9px] font-data text-zora-gold/70 bg-zora-gold/5 border-b border-zora-ghost/30",children:["Showing default policy. Run ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:94,columnNumber:39},void 0)," to verify your actual settings."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:93,columnNumber:9},void 0),k.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:[k.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[k.jsxDEV(kh,{size:14,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:100,columnNumber:11},void 0),k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Your Safety Level"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:101,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:99,columnNumber:9},void 0),k.jsxDEV("div",{className:"bg-black/40 rounded-lg p-3 border-l-2 border-zora-gold",children:[k.jsxDEV("div",{className:`text-sm font-bold ${g.color} mb-1`,children:[g.label," Mode"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:106,columnNumber:11},void 0),k.jsxDEV("div",{className:"text-[10px] font-data text-white/50",children:g.description},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:109,columnNumber:11},void 0),k.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mt-2",children:["Change with: ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent init --force"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:113,columnNumber:26},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:112,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:105,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:98,columnNumber:7},void 0),k.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>b("folders"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(UN,{size:12,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:125,columnNumber:13},void 0),k.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Folders Zora can see"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:126,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:124,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.allowedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:131,columnNumber:13},void 0),d==="folders"?k.jsxDEV(gh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:133,columnNumber:15},void 0):k.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:135,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:130,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:120,columnNumber:9},void 0),k.jsxDEV(so,{children:d==="folders"&&k.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:k.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:n.allowedPaths.map((p,v)=>k.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[k.jsxDEV(Eb,{size:10,className:"text-green-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:150,columnNumber:21},void 0),k.jsxDEV("span",{className:"text-white/60",children:p},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:151,columnNumber:21},void 0),k.jsxDEV("span",{className:"text-white/20 ml-auto",children:n.preset==="safe"?k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(cv,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:155,columnNumber:27},void 0)," read only"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:154,columnNumber:25},void 0):k.jsxDEV("span",{className:"flex items-center gap-1",children:[k.jsxDEV(Xz,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:159,columnNumber:27},void 0)," read & write"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:158,columnNumber:25},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:152,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:149,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:147,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:141,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:139,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:119,columnNumber:7},void 0),k.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>b("denied"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(Hz,{size:12,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:178,columnNumber:13},void 0),k.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Off-limits folders"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:179,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:177,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.deniedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:184,columnNumber:13},void 0),d==="denied"?k.jsxDEV(gh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:186,columnNumber:15},void 0):k.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:188,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:183,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:173,columnNumber:9},void 0),k.jsxDEV(so,{children:d==="denied"&&k.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:k.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:[n.deniedPaths.map((p,v)=>k.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[k.jsxDEV(Uz,{size:10,className:"text-red-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:203,columnNumber:21},void 0),k.jsxDEV("span",{className:"text-white/60",children:p},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:204,columnNumber:21},void 0),k.jsxDEV("span",{className:"text-white/20 ml-auto text-[9px]",children:[p.includes(".ssh")&&"SSH keys",p.includes(".gnupg")&&"encryption keys",p.includes(".aws")&&"AWS credentials",p.includes("audit")&&"audit logs"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:205,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:202,columnNumber:19},void 0)),k.jsxDEV("div",{className:"flex items-start gap-2 mt-2 text-[9px] font-data text-white/25",children:[k.jsxDEV(Fz,{size:10,className:"flex-shrink-0 mt-0.5"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:214,columnNumber:19},void 0),k.jsxDEV("span",{children:"These folders are always blocked, regardless of your safety level."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:215,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:213,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:200,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:194,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:192,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:172,columnNumber:7},void 0),k.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>b("commands"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(dv,{size:12,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:230,columnNumber:13},void 0),k.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Allowed commands"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:231,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:229,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.allowedCommands.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:236,columnNumber:13},void 0),d==="commands"?k.jsxDEV(gh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:238,columnNumber:15},void 0):k.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:240,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:235,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:225,columnNumber:9},void 0),k.jsxDEV(so,{children:d==="commands"&&k.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:k.jsxDEV("div",{className:"px-4 pb-3",children:[k.jsxDEV("div",{className:"flex flex-wrap gap-1 mb-3",children:n.allowedCommands.map((p,v)=>k.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-green-900/30 rounded text-[9px] font-data text-green-400 border border-green-800/30",children:[k.jsxDEV(Eb,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:259,columnNumber:23},void 0)," ",p]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:255,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:253,columnNumber:17},void 0),k.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mb-2 uppercase",children:"Always blocked:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:263,columnNumber:17},void 0),k.jsxDEV("div",{className:"flex flex-wrap gap-1",children:n.blockedCommands.map((p,v)=>k.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-red-900/20 rounded text-[9px] font-data text-red-400/70 border border-red-800/20",children:[k.jsxDEV(Nz,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:270,columnNumber:23},void 0)," ",p]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:266,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:264,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:252,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:246,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:244,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:224,columnNumber:7},void 0),k.jsxDEV("div",{className:"px-4 py-3",children:k.jsxDEV("div",{className:"text-[9px] font-data text-white/25 space-y-1",children:[k.jsxDEV("div",{children:"Every action Zora takes is logged and tamper-proof."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:283,columnNumber:11},void 0),k.jsxDEV("div",{children:["View the full log: ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent audit show"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:285,columnNumber:32},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:284,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:282,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:281,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:91,columnNumber:5},void 0)},cH="v0.9.5",mh=200,ON="zora_onboarding_complete";let ea=0;function MN(n){return n>=1e6?`${(n/1e6).toFixed(1)}M`:n>=1e3?`${(n/1e3).toFixed(1)}K`:String(n)}function Db(n){return n>=.7?"text-green-500":n>=.3?"text-zora-gold":"text-red-500"}function fH(n){return n>=.7?"bg-green-500":n>=.3?"bg-zora-gold":"bg-red-500"}const dH=({items:n})=>{const[a,i]=Hh.useState(!1),s=n.filter(d=>d.type==="tool-call"),u=[...new Set(s.map(d=>d.tool))],f=u.length<=3?u.join(", "):`${u.slice(0,2).join(", ")} +${u.length-2} more`;return k.jsxDEV(Tn.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.15},className:"bubble bubble-tool self-start w-full max-w-[90%]",children:[k.jsxDEV("button",{onClick:()=>i(d=>!d),className:"w-full flex items-center gap-2 font-data text-[10px] uppercase tracking-widest text-zora-gold/60 hover:text-zora-gold/90 transition-colors",children:[k.jsxDEV("span",{children:"⚙"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:86,columnNumber:9},void 0),k.jsxDEV("span",{className:"font-mono normal-case tracking-normal text-white/50",children:f},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:87,columnNumber:9},void 0),k.jsxDEV("span",{className:"text-white/25 ml-1",children:["(",s.length," calls)"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:88,columnNumber:9},void 0),k.jsxDEV("span",{className:"ml-auto text-[9px] opacity-40",children:n[0].timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:89,columnNumber:9},void 0),k.jsxDEV("span",{className:"opacity-40",children:a?"▲":"▼"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:90,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:82,columnNumber:7},void 0),a&&k.jsxDEV("div",{className:"mt-2 border-t border-white/10 pt-2 flex flex-col gap-1",children:n.map(d=>k.jsxDEV("div",{className:`flex items-center gap-2 text-[10px] font-mono ${d.type==="tool-call"?"text-zora-gold/50":"text-zora-cyan/40"}`,children:[k.jsxDEV("span",{children:d.type==="tool-call"?"→":"←"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:98,columnNumber:15},void 0),k.jsxDEV("span",{children:d.tool},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:99,columnNumber:15},void 0),k.jsxDEV("span",{className:"ml-auto text-[9px] opacity-30",children:d.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:100,columnNumber:15},void 0)]},d.id,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:95,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:93,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:76,columnNumber:5},void 0)},hH=({msg:n})=>{const a={agent:"bubble bubble-agent",user:"bubble bubble-user",system:"bubble bubble-system","tool-call":"bubble bubble-tool","tool-result":"bubble bubble-tool"}[n.type]??"bubble bubble-system";return k.jsxDEV(Tn.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:a,"data-testid":`bubble-${n.type}`,children:[n.type==="agent"?k.jsxDEV("div",{style:{fontFamily:"var(--font-prose)",fontSize:"0.875rem",lineHeight:"1.7"},className:`text-zora-white max-w-none
264
+ `}),i}function SN(n){let a=0,i=n.charCodeAt(a);for(;i===9||i===32;)a++,i=n.charCodeAt(a);return n.slice(a)}function wN(n,a){const i=w9(n,a),s=i.one(n,void 0),u=f9(i),f=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&(P("children"in f),f.children.push({type:"text",value:`
265
+ `},u)),f}function N9(n,a){return n&&"run"in n?async function(i,s){const u=wN(i,{file:s,...a});await n.run(u,s)}:function(i,s){return wN(i,{file:s,...n||a})}}function EN(n){if(n)throw n}var mb,TN;function A9(){if(TN)return mb;TN=1;var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=function(y){return typeof Array.isArray=="function"?Array.isArray(y):a.call(y)==="[object Array]"},f=function(y){if(!y||a.call(y)!=="[object Object]")return!1;var p=n.call(y,"constructor"),v=y.constructor&&y.constructor.prototype&&n.call(y.constructor.prototype,"isPrototypeOf");if(y.constructor&&!p&&!v)return!1;var x;for(x in y);return typeof x>"u"||n.call(y,x)},d=function(y,p){i&&p.name==="__proto__"?i(y,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):y[p.name]=p.newValue},h=function(y,p){if(p==="__proto__")if(n.call(y,p)){if(s)return s(y,p).value}else return;return y[p]};return mb=function b(){var y,p,v,x,S,N,V=arguments[0],R=1,_=arguments.length,Q=!1;for(typeof V=="boolean"&&(Q=V,V=arguments[1]||{},R=2),(V==null||typeof V!="object"&&typeof V!="function")&&(V={});R<_;++R)if(y=arguments[R],y!=null)for(p in y)v=h(V,p),x=h(y,p),V!==x&&(Q&&x&&(f(x)||(S=u(x)))?(S?(S=!1,N=v&&u(v)?v:[]):N=v&&f(v)?v:{},d(V,{name:p,newValue:b(Q,N,x)})):typeof x<"u"&&d(V,{name:p,newValue:x}));return V},mb}var C9=A9();const pb=Rc(C9);function l0(n){if(typeof n!="object"||n===null)return!1;const a=Object.getPrototypeOf(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function R9(){const n=[],a={run:i,use:s};return a;function i(...u){let f=-1;const d=u.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);h(null,...u);function h(b,...y){const p=n[++f];let v=-1;if(b){d(b);return}for(;++v<u.length;)(y[v]===null||y[v]===void 0)&&(y[v]=u[v]);u=y,p?z9(p,h)(...y):d(null,...y)}}function s(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return n.push(u),a}}function z9(n,a){let i;return s;function s(...d){const h=n.length>d.length;let b;h&&d.push(u);try{b=n.apply(this,d)}catch(y){const p=y;if(h&&i)throw p;return u(p)}h||(b&&b.then&&typeof b.then=="function"?b.then(f,u):b instanceof Error?u(b):f(b))}function u(d,...h){i||(i=!0,a(d,...h))}function f(d){u(null,d)}}const Ma={basename:O9,dirname:M9,extname:_9,join:U9,sep:"/"};function O9(n,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');qc(n);let i=0,s=-1,u=n.length,f;if(a===void 0||a.length===0||a.length>n.length){for(;u--;)if(n.codePointAt(u)===47){if(f){i=u+1;break}}else s<0&&(f=!0,s=u+1);return s<0?"":n.slice(i,s)}if(a===n)return"";let d=-1,h=a.length-1;for(;u--;)if(n.codePointAt(u)===47){if(f){i=u+1;break}}else d<0&&(f=!0,d=u+1),h>-1&&(n.codePointAt(u)===a.codePointAt(h--)?h<0&&(s=u):(h=-1,s=d));return i===s?s=d:s<0&&(s=n.length),n.slice(i,s)}function M9(n){if(qc(n),n.length===0)return".";let a=-1,i=n.length,s;for(;--i;)if(n.codePointAt(i)===47){if(s){a=i;break}}else s||(s=!0);return a<0?n.codePointAt(0)===47?"/":".":a===1&&n.codePointAt(0)===47?"//":n.slice(0,a)}function _9(n){qc(n);let a=n.length,i=-1,s=0,u=-1,f=0,d;for(;a--;){const h=n.codePointAt(a);if(h===47){if(d){s=a+1;break}continue}i<0&&(d=!0,i=a+1),h===46?u<0?u=a:f!==1&&(f=1):u>-1&&(f=-1)}return u<0||i<0||f===0||f===1&&u===i-1&&u===s+1?"":n.slice(u,i)}function U9(...n){let a=-1,i;for(;++a<n.length;)qc(n[a]),n[a]&&(i=i===void 0?n[a]:i+"/"+n[a]);return i===void 0?".":j9(i)}function j9(n){qc(n);const a=n.codePointAt(0)===47;let i=V9(n,!a);return i.length===0&&!a&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),a?"/"+i:i}function V9(n,a){let i="",s=0,u=-1,f=0,d=-1,h,b;for(;++d<=n.length;){if(d<n.length)h=n.codePointAt(d);else{if(h===47)break;h=47}if(h===47){if(!(u===d-1||f===1))if(u!==d-1&&f===2){if(i.length<2||s!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(b=i.lastIndexOf("/"),b!==i.length-1){b<0?(i="",s=0):(i=i.slice(0,b),s=i.length-1-i.lastIndexOf("/")),u=d,f=0;continue}}else if(i.length>0){i="",s=0,u=d,f=0;continue}}a&&(i=i.length>0?i+"/..":"..",s=2)}else i.length>0?i+="/"+n.slice(u+1,d):i=n.slice(u+1,d),s=d-u-1;u=d,f=0}else h===46&&f>-1?f++:f=-1}return i}function qc(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const L9={cwd:B9};function B9(){return"/"}function u0(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function H9(n){if(typeof n=="string")n=new URL(n);else if(!u0(n)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(n.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return P9(n)}function P9(n){if(n.hostname!==""){const s=new TypeError('File URL host must be "localhost" or empty on darwin');throw s.code="ERR_INVALID_FILE_URL_HOST",s}const a=n.pathname;let i=-1;for(;++i<a.length;)if(a.codePointAt(i)===37&&a.codePointAt(i+1)===50){const s=a.codePointAt(i+2);if(s===70||s===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(a)}const yb=["history","path","basename","stem","extname","dirname"];class NR{constructor(a){let i;a?u0(a)?i={path:a}:typeof a=="string"||q9(a)?i={value:a}:i=a:i={},this.cwd="cwd"in i?"":L9.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<yb.length;){const f=yb[s];f in i&&i[f]!==void 0&&i[f]!==null&&(this[f]=f==="history"?[...i[f]]:i[f])}let u;for(u in i)yb.includes(u)||(this[u]=i[u])}get basename(){return typeof this.path=="string"?Ma.basename(this.path):void 0}set basename(a){bb(a,"basename"),gb(a,"basename"),this.path=Ma.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?Ma.dirname(this.path):void 0}set dirname(a){DN(this.basename,"dirname"),this.path=Ma.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?Ma.extname(this.path):void 0}set extname(a){if(gb(a,"extname"),DN(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ma.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){u0(a)&&(a=H9(a)),bb(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?Ma.basename(this.path,this.extname):void 0}set stem(a){bb(a,"stem"),gb(a,"stem"),this.path=Ma.join(this.dirname||"",a+(this.extname||""))}fail(a,i,s){const u=this.message(a,i,s);throw u.fatal=!0,u}info(a,i,s){const u=this.message(a,i,s);return u.fatal=void 0,u}message(a,i,s){const u=new Dn(a,i,s);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function gb(n,a){if(n&&n.includes(Ma.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+Ma.sep+"`")}function bb(n,a){if(!n)throw new Error("`"+a+"` cannot be empty")}function DN(n,a){if(!n)throw new Error("Setting `"+a+"` requires `path` to be set too")}function q9(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const I9=(function(n){const s=this.constructor.prototype,u=s[n],f=function(){return u.apply(f,arguments)};return Object.setPrototypeOf(f,s),f}),F9={}.hasOwnProperty;class cv extends I9{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=R9()}copy(){const a=new cv;let i=-1;for(;++i<this.attachers.length;){const s=this.attachers[i];a.use(...s)}return a.data(pb(!0,{},this.namespace)),a}data(a,i){return typeof a=="string"?arguments.length===2?(Sb("data",this.frozen),this.namespace[a]=i,this):F9.call(this.namespace,a)&&this.namespace[a]||void 0:a?(Sb("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...s]=this.attachers[this.freezeIndex];if(s[0]===!1)continue;s[0]===!0&&(s[0]=void 0);const u=i.call(a,...s);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const i=hh(a),s=this.parser||this.Parser;return vb("parse",s),s(String(i),i)}process(a,i){const s=this;return this.freeze(),vb("process",this.parser||this.Parser),xb("process",this.compiler||this.Compiler),i?u(void 0,i):new Promise(u);function u(f,d){const h=hh(a),b=s.parse(h);s.run(b,h,function(p,v,x){if(p||!v||!x)return y(p);const S=v,N=s.stringify(S,x);$9(N)?x.value=N:x.result=N,y(p,x)});function y(p,v){p||!v?d(p):f?f(v):(P(i,"`done` is defined if `resolve` is not"),i(void 0,v))}}}processSync(a){let i=!1,s;return this.freeze(),vb("processSync",this.parser||this.Parser),xb("processSync",this.compiler||this.Compiler),this.process(a,u),NN("processSync","process",i),P(s,"we either bailed on an error or have a tree"),s;function u(f,d){i=!0,EN(f),s=d}}run(a,i,s){kN(a),this.freeze();const u=this.transformers;return!s&&typeof i=="function"&&(s=i,i=void 0),s?f(void 0,s):new Promise(f);function f(d,h){P(typeof i!="function","`file` can’t be a `done` anymore, we checked");const b=hh(i);u.run(a,b,y);function y(p,v,x){const S=v||a;p?h(p):d?d(S):(P(s,"`done` is defined if `resolve` is not"),s(void 0,S,x))}}}runSync(a,i){let s=!1,u;return this.run(a,i,f),NN("runSync","run",s),P(u,"we either bailed on an error or have a tree"),u;function f(d,h){EN(d),u=h,s=!0}}stringify(a,i){this.freeze();const s=hh(i),u=this.compiler||this.Compiler;return xb("stringify",u),kN(a),u(a,s)}use(a,...i){const s=this.attachers,u=this.namespace;if(Sb("use",this.frozen),a!=null)if(typeof a=="function")b(a,i);else if(typeof a=="object")Array.isArray(a)?h(a):d(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(y){if(typeof y=="function")b(y,[]);else if(typeof y=="object")if(Array.isArray(y)){const[p,...v]=y;b(p,v)}else d(y);else throw new TypeError("Expected usable value, not `"+y+"`")}function d(y){if(!("plugins"in y)&&!("settings"in y))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(y.plugins),y.settings&&(u.settings=pb(!0,u.settings,y.settings))}function h(y){let p=-1;if(y!=null)if(Array.isArray(y))for(;++p<y.length;){const v=y[p];f(v)}else throw new TypeError("Expected a list of plugins, not `"+y+"`")}function b(y,p){let v=-1,x=-1;for(;++v<s.length;)if(s[v][0]===y){x=v;break}if(x===-1)s.push([y,...p]);else if(p.length>0){let[S,...N]=p;const V=s[x][1];l0(V)&&l0(S)&&(S=pb(!0,V,S)),s[x]=[y,S,...N]}}}}const Y9=new cv().freeze();function vb(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function xb(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function Sb(n,a){if(a)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function kN(n){if(!l0(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function NN(n,a,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+a+"` instead")}function hh(n){return G9(n)?n:new NR(n)}function G9(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function $9(n){return typeof n=="string"||X9(n)}function X9(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Q9="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",AN=[],CN={allowDangerousHtml:!0},Z9=/^(https?|ircs?|mailto|xmpp)$/i,J9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function K9(n){const a=W9(n),i=eH(n);return tH(a.runSync(a.parse(i),i),n)}function W9(n){const a=n.rehypePlugins||AN,i=n.remarkPlugins||AN,s=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...CN}:CN;return Y9().use(O7).use(i).use(N9,s).use(a)}function eH(n){const a=n.children||"",i=new NR;return typeof a=="string"?i.value=a:Wb("Unexpected value `"+a+"` for `children` prop, expected `string`"),i}function tH(n,a){const i=a.allowedElements,s=a.allowElement,u=a.components,f=a.disallowedElements,d=a.skipHtml,h=a.unwrapDisallowed,b=a.urlTransform||nH;for(const p of J9)Object.hasOwn(a,p.from)&&Wb("Unexpected `"+p.from+"` prop, "+(p.to?"use `"+p.to+"` instead":"remove it")+" (see <"+Q9+"#"+p.id+"> for more info)");return i&&f&&Wb("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),kR(n,y),sB(n,{Fragment:Vr.Fragment,components:u,ignoreInvalidStyle:!0,jsx:Vr.jsx,jsxs:Vr.jsxs,passKeys:!0,passNode:!0});function y(p,v,x){if(p.type==="raw"&&x&&typeof v=="number")return d?x.children.splice(v,1):x.children[v]={type:"text",value:p.value},v;if(p.type==="element"){let S;for(S in ub)if(Object.hasOwn(ub,S)&&Object.hasOwn(p.properties,S)){const N=p.properties[S],V=ub[S];(V===null||V.includes(p.tagName))&&(p.properties[S]=b(String(N||""),S,p))}}if(p.type==="element"){let S=i?!i.includes(p.tagName):f?f.includes(p.tagName):!1;if(!S&&s&&typeof v=="number"&&(S=!s(p,v,x)),S&&x&&typeof v=="number")return h&&p.children?x.children.splice(v,1,...p.children):x.children.splice(v,1),v}}}function nH(n){const a=n.indexOf(":"),i=n.indexOf("?"),s=n.indexOf("#"),u=n.indexOf("/");return a===-1||u!==-1&&a>u||i!==-1&&a>i||s!==-1&&a>s||Z9.test(n.slice(0,a))?n:""}const ao=[{id:"welcome",title:"Welcome to Zora",subtitle:"Your personal AI assistant that actually does things"},{id:"how-it-works",title:"How Zora Works",subtitle:"Three things to know before you start"},{id:"try-it",title:"Try Your First Task",subtitle:"Click one to get started, or type your own"}],rH=[{emoji:"📂",label:"Organize my Downloads",prompt:"List everything in ~/Downloads grouped by file type, and tell me which files are oldest"},{emoji:"📝",label:"Summarize a folder",prompt:"Give me a one-line summary of each item in ~/Projects (or ~/Documents if Projects doesn't exist)"},{emoji:"🔍",label:"Find large files",prompt:"Find the 10 largest files in my home directory and tell me their sizes"},{emoji:"🧠",label:"Teach Zora about me",prompt:"Remember that I prefer concise, direct answers and I'm a non-technical user"},{emoji:"📊",label:"Project status check",prompt:"Check ~/Projects for any git repos and tell me which have uncommitted changes"},{emoji:"🗑️",label:"Clean up suggestions",prompt:"Look at my ~/Downloads and ~/Desktop folders and suggest files I might want to clean up or archive"}],aH=({onComplete:n,onSubmitTask:a})=>{const[i,s]=me.useState(0),u=()=>{i<ao.length-1&&s(i+1)},f=h=>{a(h),n()},d=()=>{n()};return A.jsxDEV("div",{className:"fixed inset-0 z-40 bg-zora-obsidian/95 flex items-center justify-center p-8",children:A.jsxDEV(Tn.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"max-w-2xl w-full",children:[A.jsxDEV("div",{className:"flex justify-center gap-2 mb-8",children:ao.map((h,b)=>A.jsxDEV("div",{className:`w-2 h-2 rounded-full transition-colors ${b===i?"bg-zora-teal":b<i?"bg-zora-teal/40":"bg-zora-ghost"}`},b,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:89,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:87,columnNumber:9},void 0),A.jsxDEV(so,{mode:"wait",children:[i===0&&A.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"text-center",children:[A.jsxDEV("div",{className:"w-16 h-16 rounded-2xl bg-zora-teal/20 border border-zora-teal/30 flex items-center justify-center mx-auto mb-6",children:A.jsxDEV(VN,{size:32,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:109,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:108,columnNumber:15},void 0),A.jsxDEV("h1",{className:"text-3xl font-tactical font-bold text-zora-white mb-3",children:ao[0].title},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:111,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/70 text-lg mb-2",children:ao[0].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:114,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-white/40 text-sm max-w-md mx-auto mb-10",children:"Tell Zora what you need in plain English — organize files, summarize documents, automate tasks — and it handles it while you do something else."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:117,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex flex-col items-center gap-3",children:A.jsxDEV("div",{className:"flex items-center gap-2 text-sm text-zora-teal/70",children:[A.jsxDEV(Ah,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:124,columnNumber:19},void 0),A.jsxDEV("span",{children:"No API keys. No surprise bills. Uses your existing subscription."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:125,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:123,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:122,columnNumber:15},void 0),A.jsxDEV("button",{onClick:u,className:"mt-8 bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 mx-auto text-sm",children:["Get Started ",A.jsxDEV(iD,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:133,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:129,columnNumber:15},void 0),A.jsxDEV("button",{onClick:d,className:"mt-3 text-white/30 text-xs hover:text-white/50 transition-colors",children:"Skip intro — I know what I'm doing"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:136,columnNumber:15},void 0)]},"welcome",!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:101,columnNumber:13},void 0),i===1&&A.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[A.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:ao[1].title},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:153,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-8",children:ao[1].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:156,columnNumber:15},void 0),A.jsxDEV("div",{className:"space-y-4",children:[A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-teal",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-teal/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(sU,{size:20,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:161,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:160,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It takes action, not just talks"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:164,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Unlike chatbots, Zora actually reads your files, runs commands, and creates output. When you say "organize my downloads," it really moves the files.'},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:165,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:163,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:159,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-gold",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-gold/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(Ah,{size:20,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:174,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:173,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"You set the boundaries"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:177,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:"Zora only accesses folders you've allowed. Destructive commands are blocked. Every action is logged. You can review everything it did anytime."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:178,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:176,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:172,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-cyan",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-cyan/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(UN,{size:20,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:187,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:186,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It remembers and learns"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:190,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Tell Zora your preferences once and it remembers across sessions. "I prefer TypeScript" or "keep answers short" — it adapts to how you work.'},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:191,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:189,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:185,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:158,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex justify-center mt-8",children:A.jsxDEV("button",{onClick:u,className:"bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:["Show Me What It Can Do ",A.jsxDEV(iD,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:204,columnNumber:42},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:200,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:199,columnNumber:15},void 0)]},"how-it-works",!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:147,columnNumber:13},void 0),i===2&&A.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[A.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:ao[2].title},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:218,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-6",children:ao[2].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:221,columnNumber:15},void 0),A.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:rH.map((h,b)=>A.jsxDEV("button",{onClick:()=>f(h.prompt),className:"text-left p-4 bg-black/40 rounded-xl border border-zora-ghost/30 hover:border-zora-teal/50 hover:bg-black/60 transition-all group",children:[A.jsxDEV("div",{className:"text-2xl mb-2",children:h.emoji},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:230,columnNumber:21},void 0),A.jsxDEV("div",{className:"text-zora-white text-sm font-bold mb-1 group-hover:text-zora-teal transition-colors",children:h.label},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:231,columnNumber:21},void 0),A.jsxDEV("div",{className:"text-white/30 text-xs line-clamp-2",children:h.prompt},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:234,columnNumber:21},void 0)]},b,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:225,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:223,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex justify-center mt-6",children:A.jsxDEV("button",{onClick:d,className:"text-white/40 text-xs hover:text-white/60 transition-colors flex items-center gap-1",children:[A.jsxDEV(z_,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:246,columnNumber:19},void 0)," Skip to dashboard — I'll explore on my own"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:242,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:241,columnNumber:15},void 0)]},"try-it",!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:212,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:98,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:81,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:80,columnNumber:5},void 0)};function wb({label:n,pct:a,color:i}){return A.jsxDEV("div",{className:"flex items-center gap-2 text-xs",children:[A.jsxDEV("span",{className:"w-16 text-neutral-400",children:n},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:17,columnNumber:7},this),A.jsxDEV("div",{className:"flex-1 bg-neutral-700 rounded-full h-2",children:A.jsxDEV("div",{className:`${i} h-2 rounded-full transition-all`,style:{width:`${a}%`}},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:19,columnNumber:9},this)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:18,columnNumber:7},this),A.jsxDEV("span",{className:"w-8 text-right text-neutral-300",children:[a,"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:21,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:16,columnNumber:5},this)}function iH(){const[n,a]=me.useState(null),[i,s]=me.useState(!0);if(me.useEffect(()=>{if(!i)return;const b=async()=>{try{const p=await fetch("/api/tlci-stats");if(p.status===503||p.status===401||p.status===403){s(!1);return}if(!p.ok)return;a(await p.json())}catch{}};b();const y=setInterval(b,5e3);return()=>clearInterval(y)},[i]),!i)return null;if(!n)return A.jsxDEV("div",{className:"rounded-lg border border-neutral-700 bg-neutral-800/50 p-4 text-neutral-500 text-xs",children:"Loading TLCI stats..."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:54,columnNumber:5},this);const u=n.last100StepsTierDistribution.code+n.last100StepsTierDistribution.slm+n.last100StepsTierDistribution.frontier,f=u===0?0:Math.round(n.last100StepsTierDistribution.code/u*100),d=u===0?0:Math.round(n.last100StepsTierDistribution.slm/u*100),h=u===0?0:Math.round(n.last100StepsTierDistribution.frontier/u*100);return A.jsxDEV("div",{className:"rounded-lg border border-neutral-700 bg-neutral-800/50 p-4 space-y-3",children:[A.jsxDEV("div",{className:"flex items-center justify-between",children:[A.jsxDEV("h3",{className:"text-sm font-semibold text-neutral-200",children:"TLCI Cost Tracker"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:71,columnNumber:9},this),A.jsxDEV("span",{className:"text-xs text-emerald-400 font-medium",children:n.vsAllLLMMessage},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:72,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:70,columnNumber:7},this),A.jsxDEV("div",{className:"flex flex-wrap gap-x-4 gap-y-1 text-xs text-neutral-400",children:[A.jsxDEV("span",{children:["Today: ",A.jsxDEV("span",{className:"text-neutral-200",children:["$",n.todayCostUSD.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:76,columnNumber:22},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:76,columnNumber:9},this),A.jsxDEV("span",{children:["Saved today: ",A.jsxDEV("span",{className:"text-emerald-400",children:["$",n.todaySavingsUSD.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:77,columnNumber:28},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:77,columnNumber:9},this),A.jsxDEV("span",{children:["Cache: ",A.jsxDEV("span",{className:"text-neutral-200",children:[Math.round(n.planCacheHitRate*100),"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:78,columnNumber:22},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:78,columnNumber:9},this),A.jsxDEV("span",{children:["All-time: ",A.jsxDEV("span",{className:"text-emerald-400",children:["$",n.allTimeSavingsUSD.toFixed(2)," saved"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:79,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:79,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:75,columnNumber:7},this),A.jsxDEV("div",{className:"space-y-1.5",children:[A.jsxDEV("p",{className:"text-xs text-neutral-500",children:"Step distribution (last 100)"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:83,columnNumber:9},this),A.jsxDEV(wb,{label:"Code",pct:f,color:"bg-blue-500"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:84,columnNumber:9},this),A.jsxDEV(wb,{label:"SLM",pct:d,color:"bg-purple-500"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:85,columnNumber:9},this),A.jsxDEV(wb,{label:"Frontier",pct:h,color:"bg-amber-500"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:86,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:82,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:69,columnNumber:5},this)}const oH=[{icon:jN,label:"Files",color:"text-zora-teal",bgColor:"bg-zora-teal/10",borderColor:"border-zora-teal/30",tasks:[{label:"Organize Downloads",prompt:"List everything in ~/Downloads grouped by file type and suggest how to organize them"},{label:"Find big files",prompt:"Find the 10 largest files in my home directory with their sizes"},{label:"Clean up Desktop",prompt:"List everything on ~/Desktop grouped by age — what can I archive?"}]},{icon:d0,label:"Summaries",color:"text-zora-gold",bgColor:"bg-zora-gold/10",borderColor:"border-zora-gold/30",tasks:[{label:"Folder overview",prompt:"Give me a one-line summary of each item in ~/Projects"},{label:"README roundup",prompt:"Find all README files in ~/Projects and summarize each one"},{label:"Recent changes",prompt:"What files in ~/Documents were modified in the last 7 days?"}]},{icon:J_,label:"Search",color:"text-zora-cyan",bgColor:"bg-zora-cyan/10",borderColor:"border-zora-cyan/30",tasks:[{label:"Find TODOs",prompt:"Search for TODO comments across all files in ~/Projects and list them"},{label:"Find duplicates",prompt:"Look for files with identical names across ~/Documents and ~/Desktop"},{label:"Search content",prompt:'Find all files containing the word "password" in my home directory'}]},{icon:UN,label:"Memory",color:"text-purple-400",bgColor:"bg-purple-400/10",borderColor:"border-purple-400/30",tasks:[{label:"Set preferences",prompt:"Remember: I prefer concise answers, dark mode, and bullet-point summaries"},{label:"What do you know?",prompt:"Show me everything you remember about me and my preferences"},{label:"Project context",prompt:"Remember: my main project is in ~/Projects/my-app and uses React + TypeScript"}]},{icon:iU,label:"Dev Tools",color:"text-green-400",bgColor:"bg-green-400/10",borderColor:"border-green-400/30",tasks:[{label:"Git status check",prompt:"Check all git repos in ~/Projects and report which have uncommitted changes"},{label:"Dependency audit",prompt:"Check ~/Projects for any package.json files with outdated dependencies"},{label:"Code summary",prompt:"Analyze the file structure of ~/Projects/my-app and describe the architecture"}]},{icon:c0,label:"Automate",color:"text-rose-400",bgColor:"bg-rose-400/10",borderColor:"border-rose-400/30",tasks:[{label:"Daily standup prep",prompt:"Check my recent git commits across all repos and draft a standup summary"},{label:"Weekly report",prompt:"Summarize what changed in ~/Projects this week — new files, modifications, deletions"},{label:"Backup check",prompt:"List important config files in my home directory that should be backed up"}]}],sH=({onSubmitTask:n})=>{const[a,i]=Hh.useState(null);return A.jsxDEV("div",{className:"px-4 py-3",children:[A.jsxDEV("div",{className:"mb-3",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Quick Tasks"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:90,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:89,columnNumber:7},void 0),A.jsxDEV("div",{className:"space-y-1.5",children:oH.map(s=>{const u=s.icon,f=a===s.label;return A.jsxDEV("div",{children:[A.jsxDEV("button",{onClick:()=>i(f?null:s.label),className:`w-full flex items-center gap-2 px-3 py-2 rounded-lg text-left transition-all ${f?`${s.bgColor} border ${s.borderColor}`:"hover:bg-black/30 border border-transparent"}`,children:[A.jsxDEV(u,{size:14,className:s.color},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:110,columnNumber:17},void 0),A.jsxDEV("span",{className:`text-xs font-bold uppercase ${f?s.color:"text-white/60"}`,children:s.label},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:111,columnNumber:17},void 0),A.jsxDEV("span",{className:"text-[9px] text-white/20 ml-auto",children:s.tasks.length},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:114,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:102,columnNumber:15},void 0),A.jsxDEV(so,{children:f&&A.jsxDEV(Tn.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"pl-7 pb-2 space-y-1",children:s.tasks.map((d,h)=>A.jsxDEV("button",{onClick:()=>n(d.prompt),className:"w-full text-left px-3 py-1.5 rounded-md text-[11px] text-white/50 hover:text-zora-white hover:bg-black/30 transition-all",title:d.prompt,children:d.label},h,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:129,columnNumber:23},void 0))},s.label,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:121,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:119,columnNumber:15},void 0)]},s.label,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:101,columnNumber:13},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:95,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:88,columnNumber:5},void 0)},lH={read:f0,write:d0,shell:h0,think:c0,error:LN},RN={read:"text-zora-cyan",write:"text-zora-gold",shell:"text-green-400",think:"text-zora-blue",error:"text-red-400"},uH={read:"Read",write:"Created",shell:"Ran",think:"Thinking",error:"Error"},cH=({steps:n,isRunning:a,taskPrompt:i})=>{const[s,u]=Hh.useState(!1);if(n.length===0&&!a)return null;const f=n.filter(y=>y.type==="read").length,d=n.filter(y=>y.type==="write").length,h=n.filter(y=>y.type==="shell").length,b=n.filter(y=>y.type==="error").length;return A.jsxDEV("div",{className:"border-t border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>u(!s),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-3",children:[A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:a?"Task In Progress":"What Just Happened"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:60,columnNumber:11},void 0),a&&A.jsxDEV(Tn.div,{animate:{opacity:[1,.3,1]},transition:{duration:1.5,repeat:1/0},className:"w-2 h-2 rounded-full bg-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:64,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:59,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-3",children:[A.jsxDEV("div",{className:"flex items-center gap-2 text-[9px] font-data text-white/40",children:[f>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(f0,{size:10,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:76,columnNumber:17},void 0)," ",f]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:75,columnNumber:15},void 0),d>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(d0,{size:10,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:81,columnNumber:17},void 0)," ",d]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:80,columnNumber:15},void 0),h>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(h0,{size:10,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:86,columnNumber:17},void 0)," ",h]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:85,columnNumber:15},void 0),b>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(LN,{size:10,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:91,columnNumber:17},void 0)," ",b]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:90,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:73,columnNumber:11},void 0),s?A.jsxDEV(ph,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:96,columnNumber:13},void 0):A.jsxDEV(yh,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:98,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:71,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:55,columnNumber:7},void 0),A.jsxDEV(so,{children:!s&&A.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:[i&&A.jsxDEV("div",{className:"px-4 pb-2",children:A.jsxDEV("div",{className:"text-[10px] font-data text-white/30 italic truncate",children:['"',i,'"']},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:114,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:113,columnNumber:15},void 0),A.jsxDEV("div",{className:"px-4 pb-3 max-h-40 overflow-y-auto lcars-scrollbar",children:A.jsxDEV("div",{className:"space-y-1",children:[n.map((y,p)=>{const v=lH[y.type];return A.jsxDEV(Tn.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:"flex items-start gap-2 text-[10px] font-data",children:[A.jsxDEV(v,{size:12,className:`${RN[y.type]} mt-0.5 flex-shrink-0`},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:131,columnNumber:23},void 0),A.jsxDEV("span",{className:`${RN[y.type]} font-bold uppercase w-12 flex-shrink-0`,children:uH[y.type]},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:132,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-white/50 truncate flex-1",children:y.label},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:135,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-white/20 flex-shrink-0",children:y.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:138,columnNumber:23},void 0)]},p,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:125,columnNumber:21},void 0)}),a&&A.jsxDEV(Tn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"flex items-center gap-2 text-[10px] font-data text-zora-teal",children:[A.jsxDEV(c0,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:151,columnNumber:21},void 0),A.jsxDEV("span",{children:"Working..."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:152,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:146,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:121,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:120,columnNumber:13},void 0),!a&&n.length>0&&A.jsxDEV("div",{className:"px-4 pb-3",children:A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data text-green-400/70",children:[A.jsxDEV(Tb,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:161,columnNumber:19},void 0),A.jsxDEV("span",{children:["Task complete",f+d+h>0?" — ":"",f>0?`read ${f} file${f>1?"s":""}`:"",f>0&&d>0?", ":"",d>0?`created ${d} file${d>1?"s":""}`:"",(f>0||d>0)&&h>0?", ":"",h>0?`ran ${h} command${h>1?"s":""}`:""]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:162,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:160,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:159,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:106,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:104,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:53,columnNumber:5},void 0)},zN={safe:{label:"Safe",description:"Zora can only look at files — never change or delete anything.",color:"text-green-400"},balanced:{label:"Balanced",description:"Zora can read and write in your work folders. Dangerous commands are blocked.",color:"text-zora-gold"},power:{label:"Power",description:"Broad access for experienced users. Still blocks truly dangerous actions.",color:"text-orange-400"}},fH=()=>{const[n,a]=me.useState(null),[i,s]=me.useState(!0),[u,f]=me.useState(!1),[d,h]=me.useState("folders");me.useEffect(()=>{(async()=>{try{const v=await Et.get("/api/policy");v.data.ok&&a(v.data.policy)}catch{f(!0),a({preset:"balanced",allowedPaths:["~/Projects","~/Documents","~/Desktop"],deniedPaths:["~/.ssh","~/.gnupg","~/.aws","~/.zora/audit"],allowedCommands:["git","ls","cat","grep","find","node","npm","python"],blockedCommands:["sudo","rm -rf","chmod","chown","mkfs","dd"]})}finally{s(!1)}})()},[]);const b=p=>{h(d===p?null:p)};if(i)return A.jsxDEV("div",{className:"px-4 py-6 text-center",children:A.jsxDEV(Tn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"text-[10px] font-data text-zora-teal",children:"Loading security settings..."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:69,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:68,columnNumber:7},void 0);if(!n)return A.jsxDEV("div",{className:"px-4 py-4 text-[10px] font-data text-white/40",children:["Unable to load security settings. Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:83,columnNumber:47},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:82,columnNumber:7},void 0);const y=zN[n.preset]||zN.balanced;return A.jsxDEV("div",{className:"space-y-0",children:[u&&A.jsxDEV("div",{className:"px-4 py-2 text-[9px] font-data text-zora-gold/70 bg-zora-gold/5 border-b border-zora-ghost/30",children:["Showing default policy. Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:94,columnNumber:39},void 0)," to verify your actual settings."]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:93,columnNumber:9},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:[A.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[A.jsxDEV(Ah,{size:14,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:100,columnNumber:11},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Your Safety Level"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:101,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:99,columnNumber:9},void 0),A.jsxDEV("div",{className:"bg-black/40 rounded-lg p-3 border-l-2 border-zora-gold",children:[A.jsxDEV("div",{className:`text-sm font-bold ${y.color} mb-1`,children:[y.label," Mode"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:106,columnNumber:11},void 0),A.jsxDEV("div",{className:"text-[10px] font-data text-white/50",children:y.description},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:109,columnNumber:11},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mt-2",children:["Change with: ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent init --force"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:113,columnNumber:26},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:112,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:105,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:98,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>b("folders"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(jN,{size:12,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:125,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Folders Zora can see"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:126,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:124,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.allowedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:131,columnNumber:13},void 0),d==="folders"?A.jsxDEV(yh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:133,columnNumber:15},void 0):A.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:135,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:130,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:120,columnNumber:9},void 0),A.jsxDEV(so,{children:d==="folders"&&A.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:n.allowedPaths.map((p,v)=>A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[A.jsxDEV(Tb,{size:10,className:"text-green-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:150,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/60",children:p},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:151,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/20 ml-auto",children:n.preset==="safe"?A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(f0,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:155,columnNumber:27},void 0)," read only"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:154,columnNumber:25},void 0):A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(Q_,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:159,columnNumber:27},void 0)," read & write"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:158,columnNumber:25},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:152,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:149,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:147,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:141,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:139,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:119,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>b("denied"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(P_,{size:12,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:178,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Off-limits folders"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:179,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:177,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.deniedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:184,columnNumber:13},void 0),d==="denied"?A.jsxDEV(yh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:186,columnNumber:15},void 0):A.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:188,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:183,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:173,columnNumber:9},void 0),A.jsxDEV(so,{children:d==="denied"&&A.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:[n.deniedPaths.map((p,v)=>A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[A.jsxDEV(j_,{size:10,className:"text-red-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:203,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/60",children:p},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:204,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/20 ml-auto text-[9px]",children:[p.includes(".ssh")&&"SSH keys",p.includes(".gnupg")&&"encryption keys",p.includes(".aws")&&"AWS credentials",p.includes("audit")&&"audit logs"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:205,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:202,columnNumber:19},void 0)),A.jsxDEV("div",{className:"flex items-start gap-2 mt-2 text-[9px] font-data text-white/25",children:[A.jsxDEV(Y_,{size:10,className:"flex-shrink-0 mt-0.5"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:214,columnNumber:19},void 0),A.jsxDEV("span",{children:"These folders are always blocked, regardless of your safety level."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:215,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:213,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:200,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:194,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:192,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:172,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>b("commands"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(h0,{size:12,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:230,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Allowed commands"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:231,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:229,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.allowedCommands.length},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:236,columnNumber:13},void 0),d==="commands"?A.jsxDEV(yh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:238,columnNumber:15},void 0):A.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:240,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:235,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:225,columnNumber:9},void 0),A.jsxDEV(so,{children:d==="commands"&&A.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3",children:[A.jsxDEV("div",{className:"flex flex-wrap gap-1 mb-3",children:n.allowedCommands.map((p,v)=>A.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-green-900/30 rounded text-[9px] font-data text-green-400 border border-green-800/30",children:[A.jsxDEV(Tb,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:259,columnNumber:23},void 0)," ",p]},v,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:255,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:253,columnNumber:17},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mb-2 uppercase",children:"Always blocked:"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:263,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex flex-wrap gap-1",children:n.blockedCommands.map((p,v)=>A.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-red-900/20 rounded text-[9px] font-data text-red-400/70 border border-red-800/20",children:[A.jsxDEV(A_,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:270,columnNumber:23},void 0)," ",p]},v,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:266,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:264,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:252,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:246,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:244,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:224,columnNumber:7},void 0),A.jsxDEV("div",{className:"px-4 py-3",children:A.jsxDEV("div",{className:"text-[9px] font-data text-white/25 space-y-1",children:[A.jsxDEV("div",{children:"Every action Zora takes is logged and tamper-proof."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:283,columnNumber:11},void 0),A.jsxDEV("div",{children:["View the full log: ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent audit show"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:285,columnNumber:32},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:284,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:282,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:281,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:91,columnNumber:5},void 0)},dH="v0.9.5",mh=200,ON="zora_onboarding_complete";let ea=0;function MN(n){return n>=1e6?`${(n/1e6).toFixed(1)}M`:n>=1e3?`${(n/1e3).toFixed(1)}K`:String(n)}function Eb(n){return n>=.7?"text-green-500":n>=.3?"text-zora-gold":"text-red-500"}function hH(n){return n>=.7?"bg-green-500":n>=.3?"bg-zora-gold":"bg-red-500"}const mH=({items:n})=>{const[a,i]=Hh.useState(!1),s=n.filter(d=>d.type==="tool-call"),u=[...new Set(s.map(d=>d.tool))],f=u.length<=3?u.join(", "):`${u.slice(0,2).join(", ")} +${u.length-2} more`;return A.jsxDEV(Tn.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.15},className:"bubble bubble-tool self-start w-full max-w-[90%]",children:[A.jsxDEV("button",{onClick:()=>i(d=>!d),className:"w-full flex items-center gap-2 font-data text-[10px] uppercase tracking-widest text-zora-gold/60 hover:text-zora-gold/90 transition-colors",children:[A.jsxDEV("span",{children:"⚙"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:87,columnNumber:9},void 0),A.jsxDEV("span",{className:"font-mono normal-case tracking-normal text-white/50",children:f},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:88,columnNumber:9},void 0),A.jsxDEV("span",{className:"text-white/25 ml-1",children:["(",s.length," calls)"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:89,columnNumber:9},void 0),A.jsxDEV("span",{className:"ml-auto text-[9px] opacity-40",children:n[0].timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:90,columnNumber:9},void 0),A.jsxDEV("span",{className:"opacity-40",children:a?"▲":"▼"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:91,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:83,columnNumber:7},void 0),a&&A.jsxDEV("div",{className:"mt-2 border-t border-white/10 pt-2 flex flex-col gap-1",children:n.map(d=>A.jsxDEV("div",{className:`flex items-center gap-2 text-[10px] font-mono ${d.type==="tool-call"?"text-zora-gold/50":"text-zora-cyan/40"}`,children:[A.jsxDEV("span",{children:d.type==="tool-call"?"→":"←"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:99,columnNumber:15},void 0),A.jsxDEV("span",{children:d.tool},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:100,columnNumber:15},void 0),A.jsxDEV("span",{className:"ml-auto text-[9px] opacity-30",children:d.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:101,columnNumber:15},void 0)]},d.id,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:96,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:94,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:77,columnNumber:5},void 0)},pH=({msg:n})=>{const a={agent:"bubble bubble-agent",user:"bubble bubble-user",system:"bubble bubble-system","tool-call":"bubble bubble-tool","tool-result":"bubble bubble-tool"}[n.type]??"bubble bubble-system";return A.jsxDEV(Tn.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:a,"data-testid":`bubble-${n.type}`,children:[n.type==="agent"?A.jsxDEV("div",{style:{fontFamily:"var(--font-prose)",fontSize:"0.875rem",lineHeight:"1.7"},className:`text-zora-white max-w-none
266
266
  [&_p]:mb-3 [&_p:last-child]:mb-0
267
267
  [&_ul]:list-disc [&_ul]:pl-5 [&_ul]:mb-3 [&_li]:mb-1
268
268
  [&_ol]:list-decimal [&_ol]:pl-5 [&_ol]:mb-3
@@ -274,4 +274,4 @@ React keys must be passed directly to JSX without using spread:
274
274
  [&_blockquote]:border-l-2 [&_blockquote]:border-zora-teal/40 [&_blockquote]:pl-3 [&_blockquote]:opacity-70 [&_blockquote]:my-2
275
275
  [&_hr]:border-white/10 [&_hr]:my-3
276
276
  [&_strong]:text-zora-white [&_strong]:font-semibold
277
- [&_table]:text-xs [&_table]:my-2 [&_td]:px-2 [&_td]:py-1 [&_th]:px-2 [&_th]:py-1 [&_th]:text-zora-teal [&_th]:font-data [&_th]:uppercase [&_th]:text-[9px]`,children:k.jsxDEV(J9,{children:n.content},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:145,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:129,columnNumber:9},void 0):k.jsxDEV("div",{children:n.content},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:148,columnNumber:9},void 0),k.jsxDEV("div",{className:"text-[9px] opacity-30 mt-1.5",children:n.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:150,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:121,columnNumber:5},void 0)},mH=()=>{const[n,a]=me.useState([]),[i,s]=me.useState([]),[u,f]=me.useState(""),[d,h]=me.useState("job_active"),[b,g]=me.useState([{id:++ea,type:"system",content:"Zora is ready.",timestamp:new Date}]),p=me.useRef(null),[v,x]=me.useState(()=>{try{return!localStorage.getItem(ON)}catch{return!0}}),[S,N]=me.useState("status"),[V,R]=me.useState([]),[z,Q]=me.useState(!1),[I,ie]=me.useState(),re=()=>{x(!1);try{localStorage.setItem(ON,"true")}catch{}},G=async F=>{if(!z){g(he=>[...he,{id:++ea,type:"user",content:F,timestamp:new Date}].slice(-mh)),ie(F),Q(!0),R([]);try{await Et.post("/api/steer",{jobId:d,message:F,author:"operator",source:"dashboard"})}catch(he){console.error("Task submission failed",he),g(oe=>[...oe,{id:++ea,type:"system",content:"Failed to send task. Check that Zora is running.",timestamp:new Date}].slice(-mh)),Q(!1)}}};me.useEffect(()=>{p.current?.scrollIntoView({behavior:"smooth"})},[b]),me.useEffect(()=>{(async()=>{try{const oe=(await Et.get("/api/history",{params:{limit:1}})).data?.events??[];if(oe.length===0)return;const X=[];for(const{event:ne}of oe){const ae=ne.timestamp?new Date(ne.timestamp):new Date;if(ne.type==="text"||ne.type==="text_delta"){const Y=ne.content?.text??"";if(!Y.trim())continue;const le=X[X.length-1];le?.type==="agent"?le.content+=Y:X.push({id:++ea,type:"agent",content:Y,timestamp:ae})}else if(ne.type==="tool_call"){const Y=ne.content?.tool??"tool";X.push({id:++ea,type:"tool-call",content:Y,timestamp:ae})}else if(ne.type==="job_update"){const Y=ne.content?.status??"update";(Y==="started"||Y==="completed"||Y==="failed")&&X.push({id:++ea,type:"system",content:`Task ${Y}`,timestamp:ae})}else if(ne.type==="error"){const Y=ne.content?.message??"Error";X.push({id:++ea,type:"system",content:Y,timestamp:ae})}}X.length>0&&g([{id:++ea,type:"system",content:"— session history —",timestamp:new Date(0)},...X,{id:++ea,type:"system",content:"Zora is ready.",timestamp:new Date}])}catch{}})()},[]),me.useEffect(()=>{const F=async()=>{try{const oe=await Et.get("/api/health");oe.data.ok&&a(oe.data.providers)}catch(oe){console.error("Health check failed",oe)}};F();const he=setInterval(F,3e4);return()=>clearInterval(he)},[]),me.useEffect(()=>{const F=async()=>{try{const oe=await Et.get("/api/quota");oe.data.ok&&s(oe.data.providers)}catch(oe){console.error("Quota fetch failed",oe)}};F();const he=setInterval(F,1e4);return()=>clearInterval(he)},[]),me.useEffect(()=>{const F=async()=>{try{((await Et.get("/api/jobs")).data?.jobs??[]).some(ae=>ae.status==="running")||Q(!1)}catch{}},he=new EventSource("/api/events");return he.onmessage=oe=>{try{const X=JSON.parse(oe.data);if(X.type==="connected"){F();return}let ne="agent",ae="";if(X.type==="job_update")ne="system",ae=`Task ${X.data?.status==="completed"?"completed":X.data?.status??"update"}`,(X.data?.status==="completed"||X.data?.status==="failed")&&Q(!1);else if(X.type==="tool_call"){ne="tool-call",ae=X.data?.tool??JSON.stringify(X);const Y=X.data?.tool??"unknown";let le="think";Y.toLowerCase().includes("read")||Y.toLowerCase().includes("glob")||Y.toLowerCase().includes("grep")?le="read":Y.toLowerCase().includes("write")||Y.toLowerCase().includes("edit")?le="write":(Y.toLowerCase().includes("bash")||Y.toLowerCase().includes("shell"))&&(le="shell"),R(pe=>[...pe,{type:le,label:ae,timestamp:new Date}])}else if(X.type==="tool_result")ne="tool-result",ae=X.data?.result??JSON.stringify(X);else if(X.type==="text_delta"||X.type==="text.delta"||X.type==="text"){const Y=X.data?.text??X.data?.delta??"";Y&&g(le=>{const pe=le[le.length-1];if(pe?.type==="agent"){const Oe={...pe,content:pe.content+Y};return[...le.slice(0,-1),Oe]}return[...le,{id:++ea,type:"agent",content:Y,timestamp:new Date}].slice(-mh)});return}else X.type==="error"?(ne="system",ae=X.data?.message??"An error occurred",R(Y=>[...Y,{type:"error",label:ae,timestamp:new Date}])):(ne="system",ae=JSON.stringify(X));g(Y=>[...Y,{id:++ea,type:ne,content:ae,timestamp:new Date}].slice(-mh))}catch{}},()=>he.close()},[]);const ye=async()=>{if(!u)return;const F=u;f(""),G(F)},se=i.reduce((F,he)=>F+he.usage.totalCostUsd,0),ce=i.reduce((F,he)=>F+he.usage.requestCount,0);return k.jsxDEV("div",{className:"h-screen w-screen flex flex-col bg-zora-obsidian relative overflow-hidden",children:[k.jsxDEV("div",{className:"scanline"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:415,columnNumber:7},void 0),v&&k.jsxDEV(rH,{onComplete:re,onSubmitTask:F=>{re(),G(F)}},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:419,columnNumber:9},void 0),k.jsxDEV("div",{className:"flex items-center gap-4 px-4 pt-4 pb-2",children:[k.jsxDEV("div",{className:"lcars-bar flex-1 bg-zora-gold",children:["ZORA ","/"," DASHBOARD"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:430,columnNumber:9},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:n.length>0&&k.jsxDEV("div",{className:"flex items-center gap-1.5 text-[9px] font-data text-white/40",children:n.map(F=>k.jsxDEV("div",{className:"flex items-center gap-1",children:[k.jsxDEV("span",{className:`w-2 h-2 rounded-full ${F.valid?"bg-green-500":"bg-red-500"}`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:438,columnNumber:19},void 0),k.jsxDEV("span",{className:"uppercase",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:439,columnNumber:19},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:437,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:435,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:433,columnNumber:9},void 0),k.jsxDEV("div",{className:"w-32 bg-zora-teal h-8 rounded-r-full"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:445,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:429,columnNumber:7},void 0),k.jsxDEV("div",{className:"flex-1 flex min-h-0",children:[k.jsxDEV("div",{className:"w-16 flex flex-col items-center py-4 gap-4 bg-zora-rail border-r border-zora-ghost/30",children:[k.jsxDEV("div",{className:"w-8 h-8 rounded-tl-xl border-t-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:453,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex-1"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:454,columnNumber:11},void 0),k.jsxDEV("button",{onClick:()=>x(!0),className:"w-8 h-8 flex items-center justify-center text-white/30 hover:text-zora-teal transition-colors",title:"Show welcome guide",children:k.jsxDEV(jN,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:460,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:455,columnNumber:11},void 0),k.jsxDEV("div",{className:"w-8 h-8 rounded-bl-xl border-b-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:462,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:452,columnNumber:9},void 0),k.jsxDEV("div",{className:"flex-1 flex flex-col min-w-0",children:[k.jsxDEV("div",{className:"px-4 py-2",children:k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Activity Feed"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:468,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:467,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex-1 overflow-y-auto px-4 flex flex-col gap-2 lcars-scrollbar",children:[k.jsxDEV(so,{children:(()=>{const F=[];for(const he of b)if(he.type==="tool-call"||he.type==="tool-result"){const oe=F[F.length-1],X={id:he.id,tool:he.content,type:he.type,timestamp:he.timestamp};oe?.kind==="tools"?oe.items.push(X):F.push({kind:"tools",items:[X],key:he.id})}else F.push({kind:"msg",msg:he});return F.map(he=>he.kind==="tools"?k.jsxDEV(dH,{items:he.items},he.key,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:496,columnNumber:23},void 0):k.jsxDEV(hH,{msg:he.msg},he.msg.id,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:497,columnNumber:23},void 0))})()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:475,columnNumber:13},void 0),k.jsxDEV("div",{ref:p},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:501,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:474,columnNumber:11},void 0),k.jsxDEV(lH,{steps:V,isRunning:z,taskPrompt:I},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:505,columnNumber:11},void 0),k.jsxDEV("div",{className:"px-4 py-3 border-t border-zora-ghost/30",children:k.jsxDEV("div",{className:"flex gap-2",children:[k.jsxDEV("input",{type:"text",value:u,onChange:F=>f(F.target.value),onKeyDown:F=>F.key==="Enter"&&ye(),placeholder:"Ask Zora to do something...",className:"flex-1 bg-zora-rail border border-zora-ghost/50 rounded-lg px-4 py-2 font-data text-zora-gold text-sm focus:ring-2 focus:ring-zora-teal focus:border-transparent focus:outline-none placeholder:text-white/20"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:514,columnNumber:15},void 0),k.jsxDEV("button",{onClick:ye,className:"bg-zora-teal text-zora-obsidian px-5 py-2 rounded-lg font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:[k.jsxDEV(Kz,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:526,columnNumber:17},void 0)," SEND"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:522,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:513,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:512,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:466,columnNumber:9},void 0),k.jsxDEV("div",{className:"w-80 flex flex-col border-l border-zora-ghost/30 bg-zora-rail/50",children:[k.jsxDEV("div",{className:"flex border-b border-zora-ghost/30",children:[k.jsxDEV("button",{onClick:()=>N("status"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="status"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[k.jsxDEV(iA,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:545,columnNumber:15},void 0)," Status"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:537,columnNumber:13},void 0),k.jsxDEV("button",{onClick:()=>N("templates"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="templates"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[k.jsxDEV(Gz,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:555,columnNumber:15},void 0)," Tasks"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:547,columnNumber:13},void 0),k.jsxDEV("button",{onClick:()=>N("security"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="security"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[k.jsxDEV(kh,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:565,columnNumber:15},void 0)," Safety"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:557,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:536,columnNumber:11},void 0),k.jsxDEV("div",{className:"flex-1 overflow-y-auto lcars-scrollbar",children:[S==="status"&&k.jsxDEV(k.Fragment,{children:[k.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"AI Providers"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:577,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:576,columnNumber:17},void 0),k.jsxDEV("div",{className:"px-4 py-2 space-y-3",children:[k.jsxDEV(so,{children:n.map(F=>{const he=i.find(oe=>oe.name===F.name);return k.jsxDEV(Tn.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},className:"p-2 bg-black/40 rounded-lg border-l-2 border-zora-teal",children:[k.jsxDEV("div",{className:"flex justify-between items-center mb-1",children:[k.jsxDEV("span",{className:"text-zora-cyan font-bold uppercase text-xs",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:593,columnNumber:29},void 0),k.jsxDEV("span",{className:`w-2.5 h-2.5 rounded-full ${F.valid?"bg-green-500":"bg-red-500"}`,title:F.valid?"Connected":"Disconnected","data-testid":`provider-dot-${F.name}`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:594,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:592,columnNumber:27},void 0),he&&k.jsxDEV("div",{className:"space-y-1",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(iA,{size:10,className:Db(he.quota.healthScore)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:603,columnNumber:33},void 0),k.jsxDEV("div",{className:"flex-1 h-1.5 bg-black/60 rounded-full overflow-hidden",children:k.jsxDEV("div",{className:`h-full rounded-full transition-all ${fH(he.quota.healthScore)}`,style:{width:`${he.quota.healthScore*100}%`}},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:605,columnNumber:35},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:604,columnNumber:33},void 0),k.jsxDEV("span",{className:`text-[9px] font-data ${Db(he.quota.healthScore)}`,children:[Math.round(he.quota.healthScore*100),"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:610,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:602,columnNumber:31},void 0),k.jsxDEV("div",{className:"text-[9px] font-data text-white/50 space-y-0.5",children:[he.usage.totalCostUsd>0&&k.jsxDEV("div",{className:"flex justify-between",children:[k.jsxDEV("span",{children:"COST"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:617,columnNumber:37},void 0),k.jsxDEV("span",{className:"text-zora-gold",children:["$",he.usage.totalCostUsd.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:618,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:616,columnNumber:35},void 0),k.jsxDEV("div",{className:"flex justify-between",children:[k.jsxDEV("span",{children:"REQUESTS"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:622,columnNumber:35},void 0),k.jsxDEV("span",{className:"text-zora-cyan",children:he.usage.requestCount},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:623,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:621,columnNumber:33},void 0),(he.usage.totalInputTokens>0||he.usage.totalOutputTokens>0)&&k.jsxDEV("div",{className:"flex justify-between",children:[k.jsxDEV("span",{children:"TOKENS"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:627,columnNumber:37},void 0),k.jsxDEV("span",{className:"text-zora-cyan",children:[MN(he.usage.totalInputTokens)," in / ",MN(he.usage.totalOutputTokens)," out"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:628,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:626,columnNumber:35},void 0),he.quota.isExhausted&&k.jsxDEV("div",{className:"text-red-500 font-bold mt-1",children:"QUOTA EXHAUSTED"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:634,columnNumber:35},void 0),he.quota.cooldownUntil&&k.jsxDEV("div",{className:"text-zora-gold",children:"COOLDOWN ACTIVE"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:637,columnNumber:35},void 0),k.jsxDEV("div",{className:"flex justify-between",children:[k.jsxDEV("span",{children:"TIER"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:640,columnNumber:35},void 0),k.jsxDEV("span",{className:"text-white/40 uppercase",children:he.costTier},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:641,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:639,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:614,columnNumber:31},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:601,columnNumber:29},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:586,columnNumber:25},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:582,columnNumber:19},void 0),n.length===0&&k.jsxDEV("div",{className:"text-[10px] font-data text-white/30 py-4 text-center",children:["No AI providers detected.",k.jsxDEV("br",{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:652,columnNumber:48},void 0),"Run ",k.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:653,columnNumber:27},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:651,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:581,columnNumber:17},void 0),k.jsxDEV("div",{className:"px-4 py-3 border-t border-b border-zora-ghost/30",children:k.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Session Stats"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:660,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:659,columnNumber:17},void 0),k.jsxDEV("div",{className:"px-4 py-3 lcars-panel border-zora-teal",children:k.jsxDEV("div",{className:"text-[10px] font-data text-white/60 space-y-2",children:[k.jsxDEV("div",{className:"flex justify-between items-center",children:[k.jsxDEV("span",{children:"TOTAL COST:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:667,columnNumber:23},void 0),k.jsxDEV("span",{className:"text-zora-gold font-bold",children:["$",se.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:668,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:666,columnNumber:21},void 0),k.jsxDEV("div",{className:"flex justify-between items-center",children:[k.jsxDEV("span",{children:"REQUESTS:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:671,columnNumber:23},void 0),k.jsxDEV("span",{className:"text-zora-cyan font-bold",children:ce},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:672,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:670,columnNumber:21},void 0),i.map(F=>k.jsxDEV("div",{className:"flex justify-between items-center text-[9px]",children:[k.jsxDEV("span",{className:"uppercase text-white/40",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:676,columnNumber:25},void 0),k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV("span",{className:Db(F.quota.healthScore),children:F.quota.isExhausted?"EXHAUSTED":`${Math.round(F.quota.healthScore*100)}%`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:678,columnNumber:27},void 0),F.usage.totalCostUsd>0&&k.jsxDEV("span",{className:"text-zora-gold",children:["$",F.usage.totalCostUsd.toFixed(3)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:682,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:677,columnNumber:25},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:675,columnNumber:23},void 0))]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:665,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:664,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:574,columnNumber:15},void 0),S==="templates"&&k.jsxDEV(iH,{onSubmitTask:G},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:694,columnNumber:15},void 0),S==="security"&&k.jsxDEV(uH,{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:699,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:570,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:533,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:449,columnNumber:7},void 0),k.jsxDEV("div",{className:"px-4 py-2 flex justify-between text-[10px] font-data text-white/40 uppercase tracking-widest border-t border-zora-ghost/30",children:[k.jsxDEV("div",{children:["Zora ",cH]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:707,columnNumber:9},void 0),k.jsxDEV("div",{children:"Dashboard"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:708,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:706,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:414,columnNumber:5},void 0)};vz.createRoot(document.getElementById("root")).render(k.jsxDEV(Hh.StrictMode,{children:k.jsxDEV(mH,{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/main.tsx",lineNumber:8,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/main.tsx",lineNumber:7,columnNumber:3},void 0));
277
+ [&_table]:text-xs [&_table]:my-2 [&_td]:px-2 [&_td]:py-1 [&_th]:px-2 [&_th]:py-1 [&_th]:text-zora-teal [&_th]:font-data [&_th]:uppercase [&_th]:text-[9px]`,children:A.jsxDEV(K9,{children:n.content},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:146,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:130,columnNumber:9},void 0):A.jsxDEV("div",{children:n.content},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:149,columnNumber:9},void 0),A.jsxDEV("div",{className:"text-[9px] opacity-30 mt-1.5",children:n.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:151,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:122,columnNumber:5},void 0)},yH=()=>{const[n,a]=me.useState([]),[i,s]=me.useState([]),[u,f]=me.useState(""),[d,h]=me.useState("job_active"),[b,y]=me.useState([{id:++ea,type:"system",content:"Zora is ready.",timestamp:new Date}]),p=me.useRef(null),[v,x]=me.useState(()=>{try{return!localStorage.getItem(ON)}catch{return!0}}),[S,N]=me.useState("status"),[V,R]=me.useState([]),[_,Q]=me.useState(!1),[I,ie]=me.useState(),re=()=>{x(!1);try{localStorage.setItem(ON,"true")}catch{}},G=async F=>{if(!_){y(he=>[...he,{id:++ea,type:"user",content:F,timestamp:new Date}].slice(-mh)),ie(F),Q(!0),R([]);try{await Et.post("/api/steer",{jobId:d,message:F,author:"operator",source:"dashboard"})}catch(he){console.error("Task submission failed",he),y(oe=>[...oe,{id:++ea,type:"system",content:"Failed to send task. Check that Zora is running.",timestamp:new Date}].slice(-mh)),Q(!1)}}};me.useEffect(()=>{p.current?.scrollIntoView({behavior:"smooth"})},[b]),me.useEffect(()=>{(async()=>{try{const oe=(await Et.get("/api/history",{params:{limit:1}})).data?.events??[];if(oe.length===0)return;const X=[];for(const{event:ne}of oe){const ae=ne.timestamp?new Date(ne.timestamp):new Date;if(ne.type==="text"||ne.type==="text_delta"){const Y=ne.content?.text??"";if(!Y.trim())continue;const le=X[X.length-1];le?.type==="agent"?le.content+=Y:X.push({id:++ea,type:"agent",content:Y,timestamp:ae})}else if(ne.type==="tool_call"){const Y=ne.content?.tool??"tool";X.push({id:++ea,type:"tool-call",content:Y,timestamp:ae})}else if(ne.type==="job_update"){const Y=ne.content?.status??"update";(Y==="started"||Y==="completed"||Y==="failed")&&X.push({id:++ea,type:"system",content:`Task ${Y}`,timestamp:ae})}else if(ne.type==="error"){const Y=ne.content?.message??"Error";X.push({id:++ea,type:"system",content:Y,timestamp:ae})}}X.length>0&&y([{id:++ea,type:"system",content:"— session history —",timestamp:new Date(0)},...X,{id:++ea,type:"system",content:"Zora is ready.",timestamp:new Date}])}catch{}})()},[]),me.useEffect(()=>{const F=async()=>{try{const oe=await Et.get("/api/health");oe.data.ok&&a(oe.data.providers)}catch(oe){console.error("Health check failed",oe)}};F();const he=setInterval(F,3e4);return()=>clearInterval(he)},[]),me.useEffect(()=>{const F=async()=>{try{const oe=await Et.get("/api/quota");oe.data.ok&&s(oe.data.providers)}catch(oe){console.error("Quota fetch failed",oe)}};F();const he=setInterval(F,1e4);return()=>clearInterval(he)},[]),me.useEffect(()=>{const F=async()=>{try{((await Et.get("/api/jobs")).data?.jobs??[]).some(ae=>ae.status==="running")||Q(!1)}catch{}},he=new EventSource("/api/events");return he.onmessage=oe=>{try{const X=JSON.parse(oe.data);if(X.type==="connected"){F();return}let ne="agent",ae="";if(X.type==="job_update")ne="system",ae=`Task ${X.data?.status==="completed"?"completed":X.data?.status??"update"}`,(X.data?.status==="completed"||X.data?.status==="failed")&&Q(!1);else if(X.type==="tool_call"){ne="tool-call",ae=X.data?.tool??JSON.stringify(X);const Y=X.data?.tool??"unknown";let le="think";Y.toLowerCase().includes("read")||Y.toLowerCase().includes("glob")||Y.toLowerCase().includes("grep")?le="read":Y.toLowerCase().includes("write")||Y.toLowerCase().includes("edit")?le="write":(Y.toLowerCase().includes("bash")||Y.toLowerCase().includes("shell"))&&(le="shell"),R(pe=>[...pe,{type:le,label:ae,timestamp:new Date}])}else if(X.type==="tool_result")ne="tool-result",ae=X.data?.result??JSON.stringify(X);else if(X.type==="text_delta"||X.type==="text.delta"||X.type==="text"){const Y=X.data?.text??X.data?.delta??"";Y&&y(le=>{const pe=le[le.length-1];if(pe?.type==="agent"){const ze={...pe,content:pe.content+Y};return[...le.slice(0,-1),ze]}return[...le,{id:++ea,type:"agent",content:Y,timestamp:new Date}].slice(-mh)});return}else X.type==="error"?(ne="system",ae=X.data?.message??"An error occurred",R(Y=>[...Y,{type:"error",label:ae,timestamp:new Date}])):(ne="system",ae=JSON.stringify(X));y(Y=>[...Y,{id:++ea,type:ne,content:ae,timestamp:new Date}].slice(-mh))}catch{}},()=>he.close()},[]);const ge=async()=>{if(!u)return;const F=u;f(""),G(F)},se=i.reduce((F,he)=>F+he.usage.totalCostUsd,0),ce=i.reduce((F,he)=>F+he.usage.requestCount,0);return A.jsxDEV("div",{className:"h-screen w-screen flex flex-col bg-zora-obsidian relative overflow-hidden",children:[A.jsxDEV("div",{className:"scanline"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:416,columnNumber:7},void 0),v&&A.jsxDEV(aH,{onComplete:re,onSubmitTask:F=>{re(),G(F)}},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:420,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-4 px-4 pt-4 pb-2",children:[A.jsxDEV("div",{className:"lcars-bar flex-1 bg-zora-gold",children:["ZORA ","/"," DASHBOARD"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:431,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:n.length>0&&A.jsxDEV("div",{className:"flex items-center gap-1.5 text-[9px] font-data text-white/40",children:n.map(F=>A.jsxDEV("div",{className:"flex items-center gap-1",children:[A.jsxDEV("span",{className:`w-2 h-2 rounded-full ${F.valid?"bg-green-500":"bg-red-500"}`},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:439,columnNumber:19},void 0),A.jsxDEV("span",{className:"uppercase",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:440,columnNumber:19},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:438,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:436,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:434,columnNumber:9},void 0),A.jsxDEV("div",{className:"w-32 bg-zora-teal h-8 rounded-r-full"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:446,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:430,columnNumber:7},void 0),A.jsxDEV("div",{className:"flex-1 flex min-h-0",children:[A.jsxDEV("div",{className:"w-16 flex flex-col items-center py-4 gap-4 bg-zora-rail border-r border-zora-ghost/30",children:[A.jsxDEV("div",{className:"w-8 h-8 rounded-tl-xl border-t-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:454,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:455,columnNumber:11},void 0),A.jsxDEV("button",{onClick:()=>x(!0),className:"w-8 h-8 flex items-center justify-center text-white/30 hover:text-zora-teal transition-colors",title:"Show welcome guide",children:A.jsxDEV(VN,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:461,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:456,columnNumber:11},void 0),A.jsxDEV("div",{className:"w-8 h-8 rounded-bl-xl border-b-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:463,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:453,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex-1 flex flex-col min-w-0",children:[A.jsxDEV("div",{className:"px-4 py-2",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Activity Feed"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:469,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:468,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1 overflow-y-auto px-4 flex flex-col gap-2 lcars-scrollbar",children:[A.jsxDEV(so,{children:(()=>{const F=[];for(const he of b)if(he.type==="tool-call"||he.type==="tool-result"){const oe=F[F.length-1],X={id:he.id,tool:he.content,type:he.type,timestamp:he.timestamp};oe?.kind==="tools"?oe.items.push(X):F.push({kind:"tools",items:[X],key:he.id})}else F.push({kind:"msg",msg:he});return F.map(he=>he.kind==="tools"?A.jsxDEV(mH,{items:he.items},he.key,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:497,columnNumber:23},void 0):A.jsxDEV(pH,{msg:he.msg},he.msg.id,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:498,columnNumber:23},void 0))})()},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:476,columnNumber:13},void 0),A.jsxDEV("div",{ref:p},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:502,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:475,columnNumber:11},void 0),A.jsxDEV(cH,{steps:V,isRunning:_,taskPrompt:I},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:506,columnNumber:11},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-t border-zora-ghost/30",children:A.jsxDEV("div",{className:"flex gap-2",children:[A.jsxDEV("input",{type:"text",value:u,onChange:F=>f(F.target.value),onKeyDown:F=>F.key==="Enter"&&ge(),placeholder:"Ask Zora to do something...",className:"flex-1 bg-zora-rail border border-zora-ghost/50 rounded-lg px-4 py-2 font-data text-zora-gold text-sm focus:ring-2 focus:ring-zora-teal focus:border-transparent focus:outline-none placeholder:text-white/20"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:515,columnNumber:15},void 0),A.jsxDEV("button",{onClick:ge,className:"bg-zora-teal text-zora-obsidian px-5 py-2 rounded-lg font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:[A.jsxDEV(W_,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:527,columnNumber:17},void 0)," SEND"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:523,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:514,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:513,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:467,columnNumber:9},void 0),A.jsxDEV("div",{className:"w-80 flex flex-col border-l border-zora-ghost/30 bg-zora-rail/50",children:[A.jsxDEV("div",{className:"flex border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>N("status"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="status"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(oD,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:546,columnNumber:15},void 0)," Status"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:538,columnNumber:13},void 0),A.jsxDEV("button",{onClick:()=>N("templates"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="templates"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV($_,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:556,columnNumber:15},void 0)," Tasks"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:548,columnNumber:13},void 0),A.jsxDEV("button",{onClick:()=>N("security"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="security"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(Ah,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:566,columnNumber:15},void 0)," Safety"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:558,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:537,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1 overflow-y-auto lcars-scrollbar",children:[S==="status"&&A.jsxDEV(A.Fragment,{children:[A.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"AI Providers"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:578,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:577,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-2 space-y-3",children:[A.jsxDEV(so,{children:n.map(F=>{const he=i.find(oe=>oe.name===F.name);return A.jsxDEV(Tn.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},className:"p-2 bg-black/40 rounded-lg border-l-2 border-zora-teal",children:[A.jsxDEV("div",{className:"flex justify-between items-center mb-1",children:[A.jsxDEV("span",{className:"text-zora-cyan font-bold uppercase text-xs",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:594,columnNumber:29},void 0),A.jsxDEV("span",{className:`w-2.5 h-2.5 rounded-full ${F.valid?"bg-green-500":"bg-red-500"}`,title:F.valid?"Connected":"Disconnected","data-testid":`provider-dot-${F.name}`},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:595,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:593,columnNumber:27},void 0),he&&A.jsxDEV("div",{className:"space-y-1",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(oD,{size:10,className:Eb(he.quota.healthScore)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:604,columnNumber:33},void 0),A.jsxDEV("div",{className:"flex-1 h-1.5 bg-black/60 rounded-full overflow-hidden",children:A.jsxDEV("div",{className:`h-full rounded-full transition-all ${hH(he.quota.healthScore)}`,style:{width:`${he.quota.healthScore*100}%`}},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:606,columnNumber:35},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:605,columnNumber:33},void 0),A.jsxDEV("span",{className:`text-[9px] font-data ${Eb(he.quota.healthScore)}`,children:[Math.round(he.quota.healthScore*100),"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:611,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:603,columnNumber:31},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/50 space-y-0.5",children:[he.usage.totalCostUsd>0&&A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"COST"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:618,columnNumber:37},void 0),A.jsxDEV("span",{className:"text-zora-gold",children:["$",he.usage.totalCostUsd.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:619,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:617,columnNumber:35},void 0),A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"REQUESTS"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:623,columnNumber:35},void 0),A.jsxDEV("span",{className:"text-zora-cyan",children:he.usage.requestCount},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:624,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:622,columnNumber:33},void 0),(he.usage.totalInputTokens>0||he.usage.totalOutputTokens>0)&&A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"TOKENS"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:628,columnNumber:37},void 0),A.jsxDEV("span",{className:"text-zora-cyan",children:[MN(he.usage.totalInputTokens)," in / ",MN(he.usage.totalOutputTokens)," out"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:629,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:627,columnNumber:35},void 0),he.quota.isExhausted&&A.jsxDEV("div",{className:"text-red-500 font-bold mt-1",children:"QUOTA EXHAUSTED"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:635,columnNumber:35},void 0),he.quota.cooldownUntil&&A.jsxDEV("div",{className:"text-zora-gold",children:"COOLDOWN ACTIVE"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:638,columnNumber:35},void 0),A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"TIER"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:641,columnNumber:35},void 0),A.jsxDEV("span",{className:"text-white/40 uppercase",children:he.costTier},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:642,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:640,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:615,columnNumber:31},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:602,columnNumber:29},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:587,columnNumber:25},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:583,columnNumber:19},void 0),n.length===0&&A.jsxDEV("div",{className:"text-[10px] font-data text-white/30 py-4 text-center",children:["No AI providers detected.",A.jsxDEV("br",{},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:653,columnNumber:48},void 0),"Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:654,columnNumber:27},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:652,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:582,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-t border-b border-zora-ghost/30",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Session Stats"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:661,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:660,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-3 lcars-panel border-zora-teal",children:A.jsxDEV("div",{className:"text-[10px] font-data text-white/60 space-y-2",children:[A.jsxDEV("div",{className:"flex justify-between items-center",children:[A.jsxDEV("span",{children:"TOTAL COST:"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:668,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-zora-gold font-bold",children:["$",se.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:669,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:667,columnNumber:21},void 0),A.jsxDEV("div",{className:"flex justify-between items-center",children:[A.jsxDEV("span",{children:"REQUESTS:"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:672,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-zora-cyan font-bold",children:ce},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:673,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:671,columnNumber:21},void 0),i.map(F=>A.jsxDEV("div",{className:"flex justify-between items-center text-[9px]",children:[A.jsxDEV("span",{className:"uppercase text-white/40",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:677,columnNumber:25},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:Eb(F.quota.healthScore),children:F.quota.isExhausted?"EXHAUSTED":`${Math.round(F.quota.healthScore*100)}%`},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:679,columnNumber:27},void 0),F.usage.totalCostUsd>0&&A.jsxDEV("span",{className:"text-zora-gold",children:["$",F.usage.totalCostUsd.toFixed(3)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:683,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:678,columnNumber:25},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:676,columnNumber:23},void 0))]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:666,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:665,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-3",children:A.jsxDEV(iH,{},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:693,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:692,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:575,columnNumber:15},void 0),S==="templates"&&A.jsxDEV(sH,{onSubmitTask:G},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:700,columnNumber:15},void 0),S==="security"&&A.jsxDEV(fH,{},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:705,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:571,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:534,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:450,columnNumber:7},void 0),A.jsxDEV("div",{className:"px-4 py-2 flex justify-between text-[10px] font-data text-white/40 uppercase tracking-widest border-t border-zora-ghost/30",children:[A.jsxDEV("div",{children:["Zora ",dH]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:713,columnNumber:9},void 0),A.jsxDEV("div",{children:"Dashboard"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:714,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:712,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:415,columnNumber:5},void 0)};x_.createRoot(document.getElementById("root")).render(A.jsxDEV(Hh.StrictMode,{children:A.jsxDEV(yH,{},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/main.tsx",lineNumber:8,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/main.tsx",lineNumber:7,columnNumber:3},void 0));