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,253 +0,0 @@
1
- (function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const h of m.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&u(h)}).observe(document,{childList:!0,subtree:!0});function l(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function u(f){if(f.ep)return;f.ep=!0;const m=l(f);fetch(f.href,m)}})();function iT(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var _y={exports:{}},md={},zy={exports:{}},Mu={exports:{}};Mu.exports;var lE;function tM(){return lE||(lE=1,(function(o,r){(function(){function l(x,z){Object.defineProperty(m.prototype,x,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",z[0],z[1])}})}function u(x){return x===null||typeof x!="object"?null:(x=Ns&&x[Ns]||x["@@iterator"],typeof x=="function"?x:null)}function f(x,z){x=(x=x.constructor)&&(x.displayName||x.name)||"ReactClass";var Z=x+"."+z;Rr[Z]||(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.",z,x),Rr[Z]=!0)}function m(x,z,Z){this.props=x,this.context=z,this.refs=Je,this.updater=Z||Or}function h(){}function p(x,z,Z){this.props=x,this.context=z,this.refs=Je,this.updater=Z||Or}function v(){}function S(x){return""+x}function b(x){try{S(x);var z=!1}catch{z=!0}if(z){z=console;var Z=z.error,ee=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return Z.call(z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ee),S(x)}}function E(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===Id?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case O:return"Fragment";case ge:return"Profiler";case J:return"StrictMode";case Oe:return"Suspense";case Vt:return"SuspenseList";case le:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case He:return"Portal";case nt:return x.displayName||"Context";case ce:return(x._context.displayName||"Context")+".Consumer";case Bn:var z=x.render;return x=x.displayName,x||(x=z.displayName||z.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Qt:return z=x.displayName||null,z!==null?z:E(x.type)||"Memo";case sa:z=x._payload,x=x._init;try{return E(x(z))}catch{}}return null}function D(x){if(x===O)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===sa)return"<...>";try{var z=E(x);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function C(){var x=he.A;return x===null?null:x.getOwner()}function R(){return Error("react-stack-top-frame")}function L(x){if(Rs.call(x,"key")){var z=Object.getOwnPropertyDescriptor(x,"key").get;if(z&&z.isReactWarning)return!1}return x.key!==void 0}function j(x,z){function Z(){Cr||(Cr=!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)",z))}Z.isReactWarning=!0,Object.defineProperty(x,"key",{get:Z,configurable:!0})}function Y(){var x=E(this.type);return Iu[x]||(Iu[x]=!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.")),x=this.props.ref,x!==void 0?x:null}function Q(x,z,Z,ee,me,Ce){var ye=Z.ref;return x={$$typeof:Re,type:x,key:z,props:Z,_owner:ee},(ye!==void 0?ye:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:Y}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:me}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ce}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function $(x,z){return z=Q(x.type,z,x.props,x._owner,x._debugStack,x._debugTask),x._store&&(z._store.validated=x._store.validated),z}function K(x){I(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===sa&&(x._payload.status==="fulfilled"?I(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function I(x){return typeof x=="object"&&x!==null&&x.$$typeof===Re}function De(x){var z={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(Z){return z[Z]})}function be(x,z){return typeof x=="object"&&x!==null&&x.key!=null?(b(x.key),De(""+x.key)):z.toString(36)}function W(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(v,v):(x.status="pending",x.then(function(z){x.status==="pending"&&(x.status="fulfilled",x.value=z)},function(z){x.status==="pending"&&(x.status="rejected",x.reason=z)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function fe(x,z,Z,ee,me){var Ce=typeof x;(Ce==="undefined"||Ce==="boolean")&&(x=null);var ye=!1;if(x===null)ye=!0;else switch(Ce){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(x.$$typeof){case Re:case He:ye=!0;break;case sa:return ye=x._init,fe(ye(x._payload),z,Z,ee,me)}}if(ye){ye=x,me=me(ye);var Xe=ee===""?"."+be(ye,0):ee;return ws(me)?(Z="",Xe!=null&&(Z=Xe.replace(Ku,"$&/")+"/"),fe(me,z,Z,"",function(nn){return nn})):me!=null&&(I(me)&&(me.key!=null&&(ye&&ye.key===me.key||b(me.key)),Z=$(me,Z+(me.key==null||ye&&ye.key===me.key?"":(""+me.key).replace(Ku,"$&/")+"/")+Xe),ee!==""&&ye!=null&&I(ye)&&ye.key==null&&ye._store&&!ye._store.validated&&(Z._store.validated=2),me=Z),z.push(me)),1}if(ye=0,Xe=ee===""?".":ee+":",ws(x))for(var Me=0;Me<x.length;Me++)ee=x[Me],Ce=Xe+be(ee,Me),ye+=fe(ee,z,Z,Ce,me);else if(Me=u(x),typeof Me=="function")for(Me===x.entries&&(_o||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_o=!0),x=Me.call(x),Me=0;!(ee=x.next()).done;)ee=ee.value,Ce=Xe+be(ee,Me++),ye+=fe(ee,z,Z,Ce,me);else if(Ce==="object"){if(typeof x.then=="function")return fe(W(x),z,Z,ee,me);throw z=String(x),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return ye}function q(x,z,Z){if(x==null)return x;var ee=[],me=0;return fe(x,ee,"","",function(Ce){return z.call(Z,Ce,me++)}),ee}function ue(x){if(x._status===-1){var z=x._ioInfo;z!=null&&(z.start=z.end=performance.now()),z=x._result;var Z=z();if(Z.then(function(me){if(x._status===0||x._status===-1){x._status=1,x._result=me;var Ce=x._ioInfo;Ce!=null&&(Ce.end=performance.now()),Z.status===void 0&&(Z.status="fulfilled",Z.value=me)}},function(me){if(x._status===0||x._status===-1){x._status=2,x._result=me;var Ce=x._ioInfo;Ce!=null&&(Ce.end=performance.now()),Z.status===void 0&&(Z.status="rejected",Z.reason=me)}}),z=x._ioInfo,z!=null){z.value=Z;var ee=Z.displayName;typeof ee=="string"&&(z.name=ee)}x._status===-1&&(x._status=0,x._result=Z)}if(x._status===1)return z=x._result,z===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
-
3
- Your code should look like:
4
- const MyComponent = lazy(() => import('./MyComponent'))
5
-
6
- Did you accidentally put curly braces around the import?`,z),"default"in z||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
-
8
- Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,z),z.default;throw x._result}function ne(){var x=he.H;return x===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
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
- 2. You might be breaking the Rules of Hooks
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.`),x}function ae(){he.asyncTransitions--}function Ee(x){if(Mr===null)try{var z=("require"+Math.random()).slice(0,7);Mr=(o&&o[z]).call(o,"timers").setImmediate}catch{Mr=function(ee){Ii===!1&&(Ii=!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 me=new MessageChannel;me.port1.onmessage=ee,me.port2.postMessage(void 0)}}return Mr(x)}function _e(x){return 1<x.length&&typeof AggregateError=="function"?new AggregateError(x):x[0]}function G(x,z){z!==zo-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. "),zo=z}function oe(x,z,Z){var ee=he.actQueue;if(ee!==null)if(ee.length!==0)try{se(ee),Ee(function(){return oe(x,z,Z)});return}catch(me){he.thrownErrors.push(me)}else he.actQueue=null;0<he.thrownErrors.length?(ee=_e(he.thrownErrors),he.thrownErrors.length=0,Z(ee)):z(x)}function se(x){if(!Os){Os=!0;var z=0;try{for(;z<x.length;z++){var Z=x[z];do{he.didUsePromise=!1;var ee=Z(!1);if(ee!==null){if(he.didUsePromise){x[z]=Z,x.splice(0,z);return}Z=ee}else break}while(!0)}x.length=0}catch(me){x.splice(0,z+1),he.thrownErrors.push(me)}finally{Os=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Re=Symbol.for("react.transitional.element"),He=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),ce=Symbol.for("react.consumer"),nt=Symbol.for("react.context"),Bn=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Vt=Symbol.for("react.suspense_list"),Qt=Symbol.for("react.memo"),sa=Symbol.for("react.lazy"),le=Symbol.for("react.activity"),Ns=Symbol.iterator,Rr={},Or={isMounted:function(){return!1},enqueueForceUpdate:function(x){f(x,"forceUpdate")},enqueueReplaceState:function(x){f(x,"replaceState")},enqueueSetState:function(x){f(x,"setState")}},Mo=Object.assign,Je={};Object.freeze(Je),m.prototype.isReactComponent={},m.prototype.setState=function(x,z){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,z,"setState")},m.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};var Ft={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(jo in Ft)Ft.hasOwnProperty(jo)&&l(jo,Ft[jo]);h.prototype=m.prototype,Ft=p.prototype=new h,Ft.constructor=p,Mo(Ft,m.prototype),Ft.isPureReactComponent=!0;var ws=Array.isArray,Id=Symbol.for("react.client.reference"),he={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Rs=Object.prototype.hasOwnProperty,Da=console.createTask?console.createTask:function(){return null};Ft={react_stack_bottom_frame:function(x){return x()}};var Cr,Uo,Iu={},Qi=Ft.react_stack_bottom_frame.bind(Ft,R)(),Fi=Da(D(R)),_o=!1,Ku=/\/+/g,Ji=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},Ii=!1,Mr=null,zo=0,Ur=!1,Os=!1,Cs=typeof queueMicrotask=="function"?function(x){queueMicrotask(function(){return queueMicrotask(x)})}:Ee;Ft=Object.freeze({__proto__:null,c:function(x){return ne().useMemoCache(x)}});var jo={map:q,forEach:function(x,z,Z){q(x,function(){z.apply(this,arguments)},Z)},count:function(x){var z=0;return q(x,function(){z++}),z},toArray:function(x){return q(x,function(z){return z})||[]},only:function(x){if(!I(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};r.Activity=le,r.Children=jo,r.Component=m,r.Fragment=O,r.Profiler=ge,r.PureComponent=p,r.StrictMode=J,r.Suspense=Oe,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=he,r.__COMPILER_RUNTIME=Ft,r.act=function(x){var z=he.actQueue,Z=zo;zo++;var ee=he.actQueue=z!==null?z:[],me=!1;try{var Ce=x()}catch(Me){he.thrownErrors.push(Me)}if(0<he.thrownErrors.length)throw G(z,Z),x=_e(he.thrownErrors),he.thrownErrors.length=0,x;if(Ce!==null&&typeof Ce=="object"&&typeof Ce.then=="function"){var ye=Ce;return Cs(function(){me||Ur||(Ur=!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(Me,nn){me=!0,ye.then(function(xa){if(G(z,Z),Z===0){try{se(ee),Ee(function(){return oe(xa,Me,nn)})}catch(Ms){he.thrownErrors.push(Ms)}if(0<he.thrownErrors.length){var Wu=_e(he.thrownErrors);he.thrownErrors.length=0,nn(Wu)}}else Me(xa)},function(xa){G(z,Z),0<he.thrownErrors.length&&(xa=_e(he.thrownErrors),he.thrownErrors.length=0),nn(xa)})}}}var Xe=Ce;if(G(z,Z),Z===0&&(se(ee),ee.length!==0&&Cs(function(){me||Ur||(Ur=!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(() => ...)"))}),he.actQueue=null),0<he.thrownErrors.length)throw x=_e(he.thrownErrors),he.thrownErrors.length=0,x;return{then:function(Me,nn){me=!0,Z===0?(he.actQueue=ee,Ee(function(){return oe(Xe,Me,nn)})):Me(Xe)}}},r.cache=function(x){return function(){return x.apply(null,arguments)}},r.cacheSignal=function(){return null},r.captureOwnerStack=function(){var x=he.getCurrentStack;return x===null?null:x()},r.cloneElement=function(x,z,Z){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var ee=Mo({},x.props),me=x.key,Ce=x._owner;if(z!=null){var ye;e:{if(Rs.call(z,"ref")&&(ye=Object.getOwnPropertyDescriptor(z,"ref").get)&&ye.isReactWarning){ye=!1;break e}ye=z.ref!==void 0}ye&&(Ce=C()),L(z)&&(b(z.key),me=""+z.key);for(Xe in z)!Rs.call(z,Xe)||Xe==="key"||Xe==="__self"||Xe==="__source"||Xe==="ref"&&z.ref===void 0||(ee[Xe]=z[Xe])}var Xe=arguments.length-2;if(Xe===1)ee.children=Z;else if(1<Xe){ye=Array(Xe);for(var Me=0;Me<Xe;Me++)ye[Me]=arguments[Me+2];ee.children=ye}for(ee=Q(x.type,me,ee,Ce,x._debugStack,x._debugTask),me=2;me<arguments.length;me++)K(arguments[me]);return ee},r.createContext=function(x){return x={$$typeof:nt,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:ce,_context:x},x._currentRenderer=null,x._currentRenderer2=null,x},r.createElement=function(x,z,Z){for(var ee=2;ee<arguments.length;ee++)K(arguments[ee]);ee={};var me=null;if(z!=null)for(Me in Uo||!("__self"in z)||"key"in z||(Uo=!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")),L(z)&&(b(z.key),me=""+z.key),z)Rs.call(z,Me)&&Me!=="key"&&Me!=="__self"&&Me!=="__source"&&(ee[Me]=z[Me]);var Ce=arguments.length-2;if(Ce===1)ee.children=Z;else if(1<Ce){for(var ye=Array(Ce),Xe=0;Xe<Ce;Xe++)ye[Xe]=arguments[Xe+2];Object.freeze&&Object.freeze(ye),ee.children=ye}if(x&&x.defaultProps)for(Me in Ce=x.defaultProps,Ce)ee[Me]===void 0&&(ee[Me]=Ce[Me]);me&&j(ee,typeof x=="function"?x.displayName||x.name||"Unknown":x);var Me=1e4>he.recentlyCreatedOwnerStacks++;return Q(x,me,ee,C(),Me?Error("react-stack-top-frame"):Qi,Me?Da(D(x)):Fi)},r.createRef=function(){var x={current:null};return Object.seal(x),x},r.forwardRef=function(x){x!=null&&x.$$typeof===Qt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?console.error("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&x.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var z={$$typeof:Bn,render:x},Z;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return Z},set:function(ee){Z=ee,x.name||x.displayName||(Object.defineProperty(x,"name",{value:ee}),x.displayName=ee)}}),z},r.isValidElement=I,r.lazy=function(x){x={_status:-1,_result:x};var z={$$typeof:sa,_payload:x,_init:ue},Z={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return x._ioInfo=Z,z._debugInfo=[{awaited:Z}],z},r.memo=function(x,z){x==null&&console.error("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x),z={$$typeof:Qt,type:x,compare:z===void 0?null:z};var Z;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return Z},set:function(ee){Z=ee,x.name||x.displayName||(Object.defineProperty(x,"name",{value:ee}),x.displayName=ee)}}),z},r.startTransition=function(x){var z=he.T,Z={};Z._updatedFibers=new Set,he.T=Z;try{var ee=x(),me=he.S;me!==null&&me(Z,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&(he.asyncTransitions++,ee.then(ae,ae),ee.then(v,Ji))}catch(Ce){Ji(Ce)}finally{z===null&&Z._updatedFibers&&(x=Z._updatedFibers.size,Z._updatedFibers.clear(),10<x&&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.")),z!==null&&Z.types!==null&&(z.types!==null&&z.types!==Z.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."),z.types=Z.types),he.T=z}},r.unstable_useCacheRefresh=function(){return ne().useCacheRefresh()},r.use=function(x){return ne().use(x)},r.useActionState=function(x,z,Z){return ne().useActionState(x,z,Z)},r.useCallback=function(x,z){return ne().useCallback(x,z)},r.useContext=function(x){var z=ne();return x.$$typeof===ce&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),z.useContext(x)},r.useDebugValue=function(x,z){return ne().useDebugValue(x,z)},r.useDeferredValue=function(x,z){return ne().useDeferredValue(x,z)},r.useEffect=function(x,z){return x==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ne().useEffect(x,z)},r.useEffectEvent=function(x){return ne().useEffectEvent(x)},r.useId=function(){return ne().useId()},r.useImperativeHandle=function(x,z,Z){return ne().useImperativeHandle(x,z,Z)},r.useInsertionEffect=function(x,z){return x==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ne().useInsertionEffect(x,z)},r.useLayoutEffect=function(x,z){return x==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ne().useLayoutEffect(x,z)},r.useMemo=function(x,z){return ne().useMemo(x,z)},r.useOptimistic=function(x,z){return ne().useOptimistic(x,z)},r.useReducer=function(x,z,Z){return ne().useReducer(x,z,Z)},r.useRef=function(x){return ne().useRef(x)},r.useState=function(x){return ne().useState(x)},r.useSyncExternalStore=function(x,z,Z){return ne().useSyncExternalStore(x,z,Z)},r.useTransition=function(){return ne().useTransition()},r.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Mu,Mu.exports)),Mu.exports}var uE;function qu(){return uE||(uE=1,zy.exports=tM()),zy.exports}var cE;function nM(){if(cE)return md;cE=1;return(function(){function o(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===ue?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case j:return"Fragment";case Q:return"Profiler";case Y:return"StrictMode";case De:return"Suspense";case be:return"SuspenseList";case q:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case L:return"Portal";case K:return O.displayName||"Context";case $:return(O._context.displayName||"Context")+".Consumer";case I:var J=O.render;return O=O.displayName,O||(O=J.displayName||J.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case W:return J=O.displayName||null,J!==null?J:o(O.type)||"Memo";case fe:J=O._payload,O=O._init;try{return o(O(J))}catch{}}return null}function r(O){return""+O}function l(O){try{r(O);var J=!1}catch{J=!0}if(J){J=console;var ge=J.error,ce=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ge.call(J,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ce),r(O)}}function u(O){if(O===j)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===fe)return"<...>";try{var J=o(O);return J?"<"+J+">":"<...>"}catch{return"<...>"}}function f(){var O=ne.A;return O===null?null:O.getOwner()}function m(){return Error("react-stack-top-frame")}function h(O){if(ae.call(O,"key")){var J=Object.getOwnPropertyDescriptor(O,"key").get;if(J&&J.isReactWarning)return!1}return O.key!==void 0}function p(O,J){function ge(){G||(G=!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)",J))}ge.isReactWarning=!0,Object.defineProperty(O,"key",{get:ge,configurable:!0})}function v(){var O=o(this.type);return oe[O]||(oe[O]=!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.")),O=this.props.ref,O!==void 0?O:null}function S(O,J,ge,ce,nt,Bn){var Oe=ge.ref;return O={$$typeof:R,type:O,key:J,props:ge,_owner:ce},(Oe!==void 0?Oe:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:v}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:nt}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Bn}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function b(O,J,ge,ce,nt,Bn){var Oe=J.children;if(Oe!==void 0)if(ce)if(Ee(Oe)){for(ce=0;ce<Oe.length;ce++)E(Oe[ce]);Object.freeze&&Object.freeze(Oe)}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 E(Oe);if(ae.call(J,"key")){Oe=o(O);var Vt=Object.keys(J).filter(function(sa){return sa!=="key"});ce=0<Vt.length?"{key: someKey, "+Vt.join(": ..., ")+": ...}":"{key: someKey}",He[Oe+ce]||(Vt=0<Vt.length?"{"+Vt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
14
- let props = %s;
15
- <%s {...props} />
16
- React keys must be passed directly to JSX without using spread:
17
- let props = %s;
18
- <%s key={someKey} {...props} />`,ce,Oe,Vt,Oe),He[Oe+ce]=!0)}if(Oe=null,ge!==void 0&&(l(ge),Oe=""+ge),h(J)&&(l(J.key),Oe=""+J.key),"key"in J){ge={};for(var Qt in J)Qt!=="key"&&(ge[Qt]=J[Qt])}else ge=J;return Oe&&p(ge,typeof O=="function"?O.displayName||O.name||"Unknown":O),S(O,Oe,ge,f(),nt,Bn)}function E(O){D(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===fe&&(O._payload.status==="fulfilled"?D(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function D(O){return typeof O=="object"&&O!==null&&O.$$typeof===R}var C=qu(),R=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),K=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),De=Symbol.for("react.suspense"),be=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),ne=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,Ee=Array.isArray,_e=console.createTask?console.createTask:function(){return null};C={react_stack_bottom_frame:function(O){return O()}};var G,oe={},se=C.react_stack_bottom_frame.bind(C,m)(),Re=_e(u(m)),He={};md.Fragment=j,md.jsxDEV=function(O,J,ge,ce){var nt=1e4>ne.recentlyCreatedOwnerStacks++;return b(O,J,ge,ce,nt?Error("react-stack-top-frame"):se,nt?_e(u(O)):Re)}})(),md}var fE;function aM(){return fE||(fE=1,_y.exports=nM()),_y.exports}var A=aM(),F=qu();const kg=iT(F);var jy={exports:{}},wu={},Vy={exports:{}},ky={},dE;function oM(){return dE||(dE=1,(function(o){(function(){function r(){if(I=!1,fe){var G=o.unstable_now();ne=G;var oe=!0;try{e:{$=!1,K&&(K=!1,be(q),q=-1),Q=!0;var se=Y;try{t:{for(h(G),j=u(C);j!==null&&!(j.expirationTime>G&&v());){var Re=j.callback;if(typeof Re=="function"){j.callback=null,Y=j.priorityLevel;var He=Re(j.expirationTime<=G);if(G=o.unstable_now(),typeof He=="function"){j.callback=He,h(G),oe=!0;break t}j===u(C)&&f(C),h(G)}else f(C);j=u(C)}if(j!==null)oe=!0;else{var O=u(R);O!==null&&S(p,O.startTime-G),oe=!1}}break e}finally{j=null,Y=se,Q=!1}oe=void 0}}finally{oe?ae():fe=!1}}}function l(G,oe){var se=G.length;G.push(oe);e:for(;0<se;){var Re=se-1>>>1,He=G[Re];if(0<m(He,oe))G[Re]=oe,G[se]=He,se=Re;else break e}}function u(G){return G.length===0?null:G[0]}function f(G){if(G.length===0)return null;var oe=G[0],se=G.pop();if(se!==oe){G[0]=se;e:for(var Re=0,He=G.length,O=He>>>1;Re<O;){var J=2*(Re+1)-1,ge=G[J],ce=J+1,nt=G[ce];if(0>m(ge,se))ce<He&&0>m(nt,ge)?(G[Re]=nt,G[ce]=se,Re=ce):(G[Re]=ge,G[J]=se,Re=J);else if(ce<He&&0>m(nt,se))G[Re]=nt,G[ce]=se,Re=ce;else break e}}return oe}function m(G,oe){var se=G.sortIndex-oe.sortIndex;return se!==0?se:G.id-oe.id}function h(G){for(var oe=u(R);oe!==null;){if(oe.callback===null)f(R);else if(oe.startTime<=G)f(R),oe.sortIndex=oe.expirationTime,l(C,oe);else break;oe=u(R)}}function p(G){if(K=!1,h(G),!$)if(u(C)!==null)$=!0,fe||(fe=!0,ae());else{var oe=u(R);oe!==null&&S(p,oe.startTime-G)}}function v(){return I?!0:!(o.unstable_now()-ne<ue)}function S(G,oe){q=De(function(){G(o.unstable_now())},oe)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;o.unstable_now=function(){return b.now()}}else{var E=Date,D=E.now();o.unstable_now=function(){return E.now()-D}}var C=[],R=[],L=1,j=null,Y=3,Q=!1,$=!1,K=!1,I=!1,De=typeof setTimeout=="function"?setTimeout:null,be=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null,fe=!1,q=-1,ue=5,ne=-1;if(typeof W=="function")var ae=function(){W(r)};else if(typeof MessageChannel<"u"){var Ee=new MessageChannel,_e=Ee.port2;Ee.port1.onmessage=r,ae=function(){_e.postMessage(null)}}else ae=function(){De(r,0)};o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(G){G.callback=null},o.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<G?Math.floor(1e3/G):5},o.unstable_getCurrentPriorityLevel=function(){return Y},o.unstable_next=function(G){switch(Y){case 1:case 2:case 3:var oe=3;break;default:oe=Y}var se=Y;Y=oe;try{return G()}finally{Y=se}},o.unstable_requestPaint=function(){I=!0},o.unstable_runWithPriority=function(G,oe){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var se=Y;Y=G;try{return oe()}finally{Y=se}},o.unstable_scheduleCallback=function(G,oe,se){var Re=o.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?Re+se:Re):se=Re,G){case 1:var He=-1;break;case 2:He=250;break;case 5:He=1073741823;break;case 4:He=1e4;break;default:He=5e3}return He=se+He,G={id:L++,callback:oe,priorityLevel:G,startTime:se,expirationTime:He,sortIndex:-1},se>Re?(G.sortIndex=se,l(R,G),u(C)===null&&G===u(R)&&(K?(be(q),q=-1):K=!0,S(p,se-Re))):(G.sortIndex=He,l(C,G),$||Q||($=!0,fe||(fe=!0,ae()))),G},o.unstable_shouldYield=v,o.unstable_wrapCallback=function(G){var oe=Y;return function(){var se=Y;Y=oe;try{return G.apply(this,arguments)}finally{Y=se}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(ky)),ky}var hE;function rM(){return hE||(hE=1,Vy.exports=oM()),Vy.exports}var Ly={exports:{}},Wt={},mE;function sM(){if(mE)return Wt;mE=1;return(function(){function o(){}function r(E){return""+E}function l(E,D,C){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(R);var L=!1}catch{L=!0}return L&&(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&&R[Symbol.toStringTag]||R.constructor.name||"Object"),r(R)),{$$typeof:S,key:R==null?null:""+R,children:E,containerInfo:D,implementation:C}}function u(E,D){if(E==="font")return"";if(typeof D=="string")return D==="use-credentials"?D:""}function f(E){return E===null?"`null`":E===void 0?"`undefined`":E===""?"an empty string":'something with type "'+typeof E+'"'}function m(E){return E===null?"`null`":E===void 0?"`undefined`":E===""?"an empty string":typeof E=="string"?JSON.stringify(E):typeof E=="number"?"`"+E+"`":'something with type "'+typeof E+'"'}function h(){var E=b.H;return E===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
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
20
- 2. You might be breaking the Rules of Hooks
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.`),E}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var p=qu(),v={d:{f:o,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},S=Symbol.for("react.portal"),b=p.__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"),Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=v,Wt.createPortal=function(E,D){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!D||D.nodeType!==1&&D.nodeType!==9&&D.nodeType!==11)throw Error("Target container is not a DOM element.");return l(E,D,null,C)},Wt.flushSync=function(E){var D=b.T,C=v.p;try{if(b.T=null,v.p=2,E)return E()}finally{b.T=D,v.p=C,v.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.")}},Wt.preconnect=function(E,D){typeof E=="string"&&E?D!=null&&typeof D!="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.",m(D)):D!=null&&typeof D.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.",f(D.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(E)),typeof E=="string"&&(D?(D=D.crossOrigin,D=typeof D=="string"?D==="use-credentials"?D:"":void 0):D=null,v.d.C(E,D))},Wt.prefetchDNS=function(E){if(typeof E!="string"||!E)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(E));else if(1<arguments.length){var D=arguments[1];typeof D=="object"&&D.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`.",m(D)):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`.",m(D))}typeof E=="string"&&v.d.D(E)},Wt.preinit=function(E,D){if(typeof E=="string"&&E?D==null||typeof D!="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.",m(D)):D.as!=="style"&&D.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".',m(D.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(E)),typeof E=="string"&&D&&typeof D.as=="string"){var C=D.as,R=u(C,D.crossOrigin),L=typeof D.integrity=="string"?D.integrity:void 0,j=typeof D.fetchPriority=="string"?D.fetchPriority:void 0;C==="style"?v.d.S(E,typeof D.precedence=="string"?D.precedence:void 0,{crossOrigin:R,integrity:L,fetchPriority:j}):C==="script"&&v.d.X(E,{crossOrigin:R,integrity:L,fetchPriority:j,nonce:typeof D.nonce=="string"?D.nonce:void 0})}},Wt.preinitModule=function(E,D){var C="";typeof E=="string"&&E||(C+=" The `href` argument encountered was "+f(E)+"."),D!==void 0&&typeof D!="object"?C+=" The `options` argument encountered was "+f(D)+".":D&&"as"in D&&D.as!=="script"&&(C+=" The `as` option encountered was "+m(D.as)+"."),C?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",C):(C=D&&typeof D.as=="string"?D.as:"script",C)==="script"||(C=m(C),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)',C,E)),typeof E=="string"&&(typeof D=="object"&&D!==null?(D.as==null||D.as==="script")&&(C=u(D.as,D.crossOrigin),v.d.M(E,{crossOrigin:C,integrity:typeof D.integrity=="string"?D.integrity:void 0,nonce:typeof D.nonce=="string"?D.nonce:void 0})):D==null&&v.d.M(E))},Wt.preload=function(E,D){var C="";if(typeof E=="string"&&E||(C+=" The `href` argument encountered was "+f(E)+"."),D==null||typeof D!="object"?C+=" The `options` argument encountered was "+f(D)+".":typeof D.as=="string"&&D.as||(C+=" The `as` option encountered was "+f(D.as)+"."),C&&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',C),typeof E=="string"&&typeof D=="object"&&D!==null&&typeof D.as=="string"){C=D.as;var R=u(C,D.crossOrigin);v.d.L(E,C,{crossOrigin:R,integrity:typeof D.integrity=="string"?D.integrity:void 0,nonce:typeof D.nonce=="string"?D.nonce:void 0,type:typeof D.type=="string"?D.type:void 0,fetchPriority:typeof D.fetchPriority=="string"?D.fetchPriority:void 0,referrerPolicy:typeof D.referrerPolicy=="string"?D.referrerPolicy:void 0,imageSrcSet:typeof D.imageSrcSet=="string"?D.imageSrcSet:void 0,imageSizes:typeof D.imageSizes=="string"?D.imageSizes:void 0,media:typeof D.media=="string"?D.media:void 0})}},Wt.preloadModule=function(E,D){var C="";typeof E=="string"&&E||(C+=" The `href` argument encountered was "+f(E)+"."),D!==void 0&&typeof D!="object"?C+=" The `options` argument encountered was "+f(D)+".":D&&"as"in D&&typeof D.as!="string"&&(C+=" The `as` option encountered was "+f(D.as)+"."),C&&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',C),typeof E=="string"&&(D?(C=u(D.as,D.crossOrigin),v.d.m(E,{as:typeof D.as=="string"&&D.as!=="script"?D.as:void 0,crossOrigin:C,integrity:typeof D.integrity=="string"?D.integrity:void 0})):v.d.m(E))},Wt.requestFormReset=function(E){v.d.r(E)},Wt.unstable_batchedUpdates=function(E,D){return E(D)},Wt.useFormState=function(E,D,C){return h().useFormState(E,D,C)},Wt.useFormStatus=function(){return h().useHostTransitionStatus()},Wt.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Wt}var pE;function iM(){return pE||(pE=1,Ly.exports=sM()),Ly.exports}var yE;function lM(){if(yE)return wu;yE=1;return(function(){function o(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function r(e,t,n,a){if(n>=t.length)return a;var s=t[n],i=Ut(e)?e.slice():Be({},e);return i[s]=r(e[s],t,n+1,a),i}function l(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return u(e,t,n,0)}}function u(e,t,n,a){var s=t[a],i=Ut(e)?e.slice():Be({},e);return a+1===t.length?(i[n[a]]=i[s],Ut(i)?i.splice(s,1):delete i[s]):i[s]=u(e[s],t,n,a+1),i}function f(e,t,n){var a=t[n],s=Ut(e)?e.slice():Be({},e);return n+1===t.length?(Ut(s)?s.splice(a,1):delete s[a],s):(s[a]=f(e[a],t,n+1),s)}function m(){return!1}function h(){return null}function p(){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 v(){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 S(){}function b(){}function E(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function D(e,t,n,a){return new Yw(e,t,n,a)}function C(e,t){e.context===tr&&(Km(e.current,2,t,e,null,null),Gs())}function R(e,t){if(Xn!==null){var n=t.staleFamilies;t=t.updatedFamilies,xl(),mb(e.current,t,n),Gs()}}function L(e){Xn=e}function j(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Y(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function 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 $(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 K(e){if(Y(e)!==e)throw Error("Unable to find node on an unmounted component.")}function I(e){var t=e.alternate;if(!t){if(t=Y(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(a=s.return,a!==null){n=a;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return K(s),e;if(i===a)return K(s),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=s,a=i;else{for(var c=!1,d=s.child;d;){if(d===n){c=!0,n=s,a=i;break}if(d===a){c=!0,a=s,n=i;break}d=d.sibling}if(!c){for(d=i.child;d;){if(d===n){c=!0,n=i,a=s;break}if(d===a){c=!0,a=i,n=s;break}d=d.sibling}if(!c)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(n.alternate!==a)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(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function De(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=De(e),t!==null)return t;e=e.sibling}return null}function be(e){return e===null||typeof e!="object"?null:(e=DS&&e[DS]||e["@@iterator"],typeof e=="function"?e:null)}function W(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===cO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Is:return"Fragment";case rp:return"Profiler";case lf:return"StrictMode";case ip:return"Suspense";case lp:return"SuspenseList";case up: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 Js:return"Portal";case Ha:return e.displayName||"Context";case sp:return(e._context.displayName||"Context")+".Consumer";case Ul:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case uf:return t=e.displayName||null,t!==null?t:W(e.type)||"Memo";case Un:t=e._payload,e=e._init;try{return W(e(t))}catch{}}return null}function fe(e){return typeof e.tag=="number"?q(e):typeof e.name=="string"?e.name:null}function q(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 W(t);case 8:return t===lf?"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 n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return q(e.return)}return null}function ue(e){return{current:e}}function ne(e,t){0>uo?console.error("Unexpected pop."):(t!==fp[uo]&&console.error("Unexpected Fiber popped."),e.current=cp[uo],cp[uo]=null,fp[uo]=null,uo--)}function ae(e,t,n){uo++,cp[uo]=e.current,fp[uo]=n,e.current=t}function Ee(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 _e(e,t){ae(Fo,t,e),ae(_l,e,e),ae(Qo,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?$1(t):To;break;default:if(n=t.tagName,t=t.namespaceURI)t=$1(t),t=X1(t,n);else switch(n){case"svg":t=Mi;break;case"math":t=id;break;default:t=To}}n=n.toLowerCase(),n=Bv(null,n),n={context:t,ancestorInfo:n},ne(Qo,e),ae(Qo,n,e)}function G(e){ne(Qo,e),ne(_l,e),ne(Fo,e)}function oe(){return Ee(Qo.current)}function se(e){e.memoizedState!==null&&ae(cf,e,e);var t=Ee(Qo.current),n=e.type,a=X1(t.context,n);n=Bv(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(ae(_l,e,e),ae(Qo,a,e))}function Re(e){_l.current===e&&(ne(Qo,e),ne(_l,e)),cf.current===e&&(ne(cf,e),Au._currentValue=gs)}function He(){}function O(){if(zl===0){xS=console.log,ES=console.info,AS=console.warn,TS=console.error,NS=console.group,wS=console.groupCollapsed,RS=console.groupEnd;var e={configurable:!0,enumerable:!0,value:He,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}zl++}function J(){if(zl--,zl===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Be({},e,{value:xS}),info:Be({},e,{value:ES}),warn:Be({},e,{value:AS}),error:Be({},e,{value:TS}),group:Be({},e,{value:NS}),groupCollapsed:Be({},e,{value:wS}),groupEnd:Be({},e,{value:RS})})}0>zl&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ge(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
23
- `)&&(e=e.slice(29)),t=e.indexOf(`
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 ce(e){if(dp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);dp=t&&t[1]||"",OS=-1<n.stack.indexOf(`
26
- at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
27
- `+dp+e+OS}function nt(e,t){if(!e||hp)return"";var n=mp.get(e);if(n!==void 0)return n;hp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=B.H,B.H=null,O();try{var s={DetermineComponentFrameRoot:function(){try{if(t){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(te){var V=te}Reflect.construct(e,[],N)}else{try{N.call()}catch(te){V=te}e.call(N.prototype)}}else{try{throw Error()}catch(te){V=te}(N=e())&&typeof N.catch=="function"&&N.catch(function(){})}}catch(te){if(te&&V&&typeof te.stack=="string")return[te.stack,V.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=s.DetermineComponentFrameRoot(),d=c[0],y=c[1];if(d&&y){var g=d.split(`
28
- `),U=y.split(`
29
- `);for(c=i=0;i<g.length&&!g[i].includes("DetermineComponentFrameRoot");)i++;for(;c<U.length&&!U[c].includes("DetermineComponentFrameRoot");)c++;if(i===g.length||c===U.length)for(i=g.length-1,c=U.length-1;1<=i&&0<=c&&g[i]!==U[c];)c--;for(;1<=i&&0<=c;i--,c--)if(g[i]!==U[c]){if(i!==1||c!==1)do if(i--,c--,0>c||g[i]!==U[c]){var _=`
30
- `+g[i].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&mp.set(e,_),_}while(1<=i&&0<=c);break}}}finally{hp=!1,B.H=a,J(),Error.prepareStackTrace=n}return g=(g=e?e.displayName||e.name:"")?ce(g):"",typeof e=="function"&&mp.set(e,g),g}function Bn(e,t){switch(e.tag){case 26:case 27:case 5:return ce(e.type);case 16:return ce("Lazy");case 13:return e.child!==t&&t!==null?ce("Suspense Fallback"):ce("Suspense");case 19:return ce("SuspenseList");case 0:case 15:return nt(e.type,!1);case 11:return nt(e.type.render,!1);case 1:return nt(e.type,!0);case 31:return ce("Activity");default:return""}}function Oe(e){try{var t="",n=null;do{t+=Bn(e,n);var a=e._debugInfo;if(a)for(var s=a.length-1;0<=s;s--){var i=a[s];if(typeof i.name=="string"){var c=t;e:{var d=i.name,y=i.env,g=i.debugLocation;if(g!=null){var U=ge(g),_=U.lastIndexOf(`
31
- `),N=_===-1?U:U.slice(_+1);if(N.indexOf(d)!==-1){var V=`
32
- `+N;break e}}V=ce(d+(y?" ["+y+"]":""))}t=c+V}}n=e,e=e.return}while(e);return t}catch(te){return`
33
- Error generating stack: `+te.message+`
34
- `+te.stack}}function Vt(e){return(e=e?e.displayName||e.name:"")?ce(e):""}function Qt(){if(_n===null)return null;var e=_n._debugOwner;return e!=null?fe(e):null}function sa(){if(_n===null)return"";var e=_n;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=ce(e.type);break;case 13:t+=ce("Suspense");break;case 19:t+=ce("SuspenseList");break;case 31:t+=ce("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Vt(e.type));break;case 11:e._debugOwner||t!==""||(t+=Vt(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var a=n._debugStack;if(e&&a){var s=ge(a);s!==""&&(t+=`
35
- `+s)}}else if(e.debugStack!=null){var i=e.debugStack;(e=e.owner)&&i&&(t+=`
36
- `+ge(i))}else break;var c=t}catch(d){c=`
37
- Error generating stack: `+d.message+`
38
- `+d.stack}return c}function le(e,t,n,a,s,i,c){var d=_n;Ns(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,s,i,c)):t(n,a,s,i,c)}finally{Ns(d)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ns(e){B.getCurrentStack=e===null?null:sa,qa=!1,_n=e}function Rr(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Or(e){try{return Mo(e),!1}catch{return!0}}function Mo(e){return""+e}function Je(e,t){if(Or(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,Rr(e)),Mo(e)}function Ft(e,t){if(Or(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,Rr(e)),Mo(e)}function ws(e){if(Or(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.",Rr(e)),Mo(e)}function Id(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{Ws=t.inject(e),It=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function he(e){if(typeof gO=="function"&&vO(e),It&&typeof It.setStrictMode=="function")try{It.setStrictMode(Ws,e)}catch(t){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",t))}}function Rs(e){return e>>>=0,e===0?32:31-(bO(e)/SO|0)|0}function Da(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 Cr(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var s=0,i=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~i,a!==0?s=Da(a):(c&=d,c!==0?s=Da(c):n||(n=d&~e,n!==0&&(s=Da(n))))):(d=a&~i,d!==0?s=Da(d):c!==0?s=Da(c):n||(n=a&~e,n!==0&&(s=Da(n)))),s===0?0:t!==0&&t!==s&&(t&i)===0&&(i=s&-s,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:s}function Uo(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Iu(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 Qi(){var e=hf;return hf<<=1,(hf&62914560)===0&&(hf=4194304),e}function Fi(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _o(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ku(e,t,n,a,s,i){var c=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var d=e.entanglements,y=e.expirationTimes,g=e.hiddenUpdates;for(n=c&~n;0<n;){var U=31-on(n),_=1<<U;d[U]=0,y[U]=-1;var N=g[U];if(N!==null)for(g[U]=null,U=0;U<N.length;U++){var V=N[U];V!==null&&(V.lane&=-536870913)}n&=~_}a!==0&&Ji(e,a,0),i!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=i&~(c&~t))}function Ji(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-on(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Ii(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-on(n),s=1<<a;s&t|e[a]&t&&(e[a]|=t),n&=~s}}function Mr(e,t){var n=t&-t;return n=(n&42)!==0?1:zo(n),(n&(e.suspendedLanes|t))!==0?0:n}function zo(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 Ur(e,t,n){if(Pa)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-on(n),s=1<<a;e[a].add(t),n&=~s}}function Os(e,t){if(Pa)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var s=31-on(t);e=1<<s,s=n[s],0<s.size&&(s.forEach(function(i){var c=i.alternate;c!==null&&a.has(c)||a.add(i)}),s.clear()),t&=~e}}function Cs(e){return e&=-e,Pn<e?Ga<e?(e&134217727)!==0?co:mf:Ga:Pn}function jo(){var e=Fe.p;return e!==0?e:(e=window.event,e===void 0?co:mS(e.type))}function x(e,t){var n=Fe.p;try{return Fe.p=e,t()}finally{Fe.p=n}}function z(e){delete e[$t],delete e[rn],delete e[bp],delete e[DO],delete e[xO]}function Z(e){var t=e[$t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Io]||n[$t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=eS(e);e!==null;){if(n=e[$t])return n;e=eS(e)}return t}e=n,n=e.parentNode}return null}function ee(e){if(e=e[$t]||e[Io]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function me(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ce(e){var t=e[CS];return t||(t=e[CS]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ye(e){e[jl]=!0}function Xe(e,t){Me(e,t),Me(e+"Capture",t)}function Me(e,t){Qr[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Qr[e]=t;var n=e.toLowerCase();for(Sp[n]=e,e==="onDoubleClick"&&(Sp.ondblclick=e),e=0;e<t.length;e++)MS.add(t[e])}function nn(e,t){EO[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 xa(e){return fa.call(_S,e)?!0:fa.call(US,e)?!1:AO.test(e)?_S[e]=!0:(US[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Wu(e,t,n){if(xa(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(Je(n,t),e===""+n?n:e)}}function Ms(e,t,n){if(xa(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}Je(n,t),e.setAttribute(t,""+n)}}function ec(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Je(n,t),e.setAttribute(t,""+n)}}function eo(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}Je(a,n),e.setAttributeNS(t,n,""+a)}}function Hn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return ws(e),e;default:return""}}function Tv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bw(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(c){ws(c),n=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(c){ws(c),n=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Kd(e){if(!e._valueTracker){var t=Tv(e)?"checked":"value";e._valueTracker=bw(e,t,""+e[t])}}function Nv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=Tv(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function tc(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 qn(e){return e.replace(TO,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function wv(e,t){t.checked===void 0||t.defaultChecked===void 0||jS||(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",Qt()||"A component",t.type),jS=!0),t.value===void 0||t.defaultValue===void 0||zS||(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",Qt()||"A component",t.type),zS=!0)}function Wd(e,t,n,a,s,i,c,d){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?(Je(c,"type"),e.type=c):e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Hn(t)):e.value!==""+Hn(t)&&(e.value=""+Hn(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?eh(e,c,Hn(t)):n!=null?eh(e,c,Hn(n)):a!=null&&e.removeAttribute("value"),s==null&&i!=null&&(e.defaultChecked=!!i),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(Je(d,"name"),e.name=""+Hn(d)):e.removeAttribute("name")}function Rv(e,t,n,a,s,i,c,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(Je(i,"type"),e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Kd(e);return}n=n!=null?""+Hn(n):"",t=t!=null?""+Hn(t):n,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(Je(c,"name"),e.name=c),Kd(e)}function eh(e,t,n){t==="number"&&tc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ov(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?op.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||kS||(kS=!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||LS||(LS=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||VS||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),VS=!0)}function Cv(){var e=Qt();return e?`
39
-
40
- Check the render method of \``+e+"`.":""}function Us(e,t,n,a){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Hn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,a&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Mv(e,t){for(e=0;e<HS.length;e++){var n=HS[e];if(t[n]!=null){var a=Ut(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Cv()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Cv())}}t.value===void 0||t.defaultValue===void 0||BS||(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"),BS=!0)}function Uv(e,t){t.value===void 0||t.defaultValue===void 0||qS||(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",Qt()||"A component"),qS=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function _v(e,t,n){if(t!=null&&(t=""+Hn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Hn(n):""}function zv(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ut(a)){if(1<a.length)throw Error("<textarea> can only have at most one child.");a=a[0]}n=a}n==null&&(n=""),t=n}n=Hn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Kd(e)}function jv(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?jv(e.children[0],t):e}function Tn(e){return" "+" ".repeat(e)}function _s(e){return"+ "+" ".repeat(e)}function _r(e){return"- "+" ".repeat(e)}function Vv(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 Ki(e,t){return YS.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 nc(e,t,n){var a=120-2*n;if(t===null)return _s(n)+Ki(e,a)+`
41
- `;if(typeof t=="string"){for(var s=0;s<t.length&&s<e.length&&t.charCodeAt(s)===e.charCodeAt(s);s++);return s>a-8&&10<s&&(e="..."+e.slice(s-8),t="..."+t.slice(s-8)),_s(n)+Ki(e,a)+`
42
- `+_r(n)+Ki(t,a)+`
43
- `}return Tn(n)+Ki(e,a)+`
44
- `}function th(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Wi(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(Ut(e))return"[...]";if(e.$$typeof===Ba)return(t=W(e.type))?"<"+t+">":"<...>";var n=th(e);if(n==="Object"){n="",t-=2;for(var a in e)if(e.hasOwnProperty(a)){var s=JSON.stringify(a);if(s!=='"'+a+'"'&&(a=s),t-=a.length-2,s=Wi(e[a],15>t?t:15),t-=s.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+a+":"+s}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function zs(e,t){return typeof e!="string"||YS.test(e)?"{"+Wi(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function nh(e,t,n){var a=120-n.length-e.length,s=[],i;for(i in t)if(t.hasOwnProperty(i)&&i!=="children"){var c=zs(t[i],120-n.length-i.length-1);a-=i.length+c.length+2,s.push(i+"="+c)}return s.length===0?n+"<"+e+`>
45
- `:0<a?n+"<"+e+" "+s.join(" ")+`>
46
- `:n+"<"+e+`
47
- `+n+" "+s.join(`
48
- `+n+" ")+`
49
- `+n+`>
50
- `}function Sw(e,t,n){var a="",s=Be({},t),i;for(i in e)if(e.hasOwnProperty(i)){delete s[i];var c=120-2*n-i.length-2,d=Wi(e[i],c);t.hasOwnProperty(i)?(c=Wi(t[i],c),a+=_s(n)+i+": "+d+`
51
- `,a+=_r(n)+i+": "+c+`
52
- `):a+=_s(n)+i+": "+d+`
53
- `}for(var y in s)s.hasOwnProperty(y)&&(e=Wi(s[y],120-2*n-y.length-2),a+=_r(n)+y+": "+e+`
54
- `);return a}function Dw(e,t,n,a){var s="",i=new Map;for(g in n)n.hasOwnProperty(g)&&i.set(g.toLowerCase(),g);if(i.size===1&&i.has("children"))s+=nh(e,t,Tn(a));else{for(var c in t)if(t.hasOwnProperty(c)&&c!=="children"){var d=120-2*(a+1)-c.length-1,y=i.get(c.toLowerCase());if(y!==void 0){i.delete(c.toLowerCase());var g=t[c];y=n[y];var U=zs(g,d);d=zs(y,d),typeof g=="object"&&g!==null&&typeof y=="object"&&y!==null&&th(g)==="Object"&&th(y)==="Object"&&(2<Object.keys(g).length||2<Object.keys(y).length||-1<U.indexOf("...")||-1<d.indexOf("..."))?s+=Tn(a+1)+c+`={{
55
- `+Sw(g,y,a+2)+Tn(a+1)+`}}
56
- `:(s+=_s(a+1)+c+"="+U+`
57
- `,s+=_r(a+1)+c+"="+d+`
58
- `)}else s+=Tn(a+1)+c+"="+zs(t[c],d)+`
59
- `}i.forEach(function(_){if(_!=="children"){var N=120-2*(a+1)-_.length-1;s+=_r(a+1)+_+"="+zs(n[_],N)+`
60
- `}}),s=s===""?Tn(a)+"<"+e+`>
61
- `:Tn(a)+"<"+e+`
62
- `+s+Tn(a)+`>
63
- `}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(i="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(i=""+t),s+=nc(i,""+e,a+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=e==null?s+nc(""+t,null,a+1):s+nc(""+t,void 0,a+1)),s}function kv(e,t){var n=Vv(e);if(n===null){for(n="",e=e.child;e;)n+=kv(e,t),e=e.sibling;return n}return Tn(t)+"<"+n+`>
64
- `}function ah(e,t){var n=jv(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Tn(t)+`...
65
- `+ah(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var s=0;s<a.length;s++){var i=a[s].name;typeof i=="string"&&(n+=Tn(t)+"<"+i+`>
66
- `,t++)}if(a="",s=e.fiber.pendingProps,e.fiber.tag===6)a=nc(s,e.serverProps,t),t++;else if(i=Vv(e.fiber),i!==null)if(e.serverProps===void 0){a=t;var c=120-2*a-i.length-2,d="";for(g in s)if(s.hasOwnProperty(g)&&g!=="children"){var y=zs(s[g],15);if(c-=g.length+y.length+2,0>c){d+=" ...";break}d+=" "+g+"="+y}a=Tn(a)+"<"+i+d+`>
67
- `,t++}else e.serverProps===null?(a=nh(i,s,_s(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."):(a=Dw(i,s,e.serverProps,t),t++);var g="";for(s=e.fiber.child,i=0;s&&i<e.children.length;)c=e.children[i],c.fiber===s?(g+=ah(c,t),i++):g+=kv(s,t),s=s.sibling;for(s&&0<e.children.length&&(g+=Tn(t)+`...
68
- `),s=e.serverTail,e.serverProps===null&&t--,e=0;e<s.length;e++)i=s[e],g=typeof i=="string"?g+(_r(t)+Ki(i,120-2*t)+`
69
- `):g+nh(i.type,i.props,_r(t));return n+a+g}function oh(e){try{return`
70
-
71
- `+ah(e,0)}catch{return""}}function Lv(e,t,n){for(var a=t,s=null,i=0;a;)a===e&&(i=0),s={fiber:a,children:s!==null?[s]:[],serverProps:a===t?n:a===e?null:void 0,serverTail:[],distanceFromLeaf:i},i++,a=a.return;return s!==null?oh(s).replaceAll(/^[+-]/gm,">"):""}function Bv(e,t){var n=Be({},e||GS),a={tag:t};return PS.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),wO.indexOf(t)!==-1&&(n.pTagInButtonScope=null),NO.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=a),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Hv(e,t,n){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(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)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 RO.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 n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function xw(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 qv(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 rh(e,t){t=t||GS;var n=t.current;if(t=(n=Hv(e,n&&n.tag,t.implicitRootScope)?null:n)?null:xw(e,t),t=n||t,!t)return!0;var a=t.tag;if(t=String(!!n)+"|"+e+"|"+a,pf[t])return!1;pf[t]=!0;var s=(t=_n)?qv(t.return,a):null,i=t!==null&&s!==null?Lv(s,t,null):"",c="<"+e+">";return n?(n="",a==="table"&&e==="tr"&&(n+=" 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
- This will cause a hydration error.%s`,c,a,n,i)):console.error(`In HTML, %s cannot be a descendant of <%s>.
73
- This will cause a hydration error.%s`,c,a,i),t&&(e=t.return,s===null||e===null||s===e&&e._debugOwner===t._debugOwner||le(s,function(){console.error(`<%s> cannot contain a nested %s.
74
- See this log for the ancestor stack trace.`,a,c)})),!1}function ac(e,t,n){if(n||Hv("#text",t,!1))return!0;if(n="#text|"+t,pf[n])return!1;pf[n]=!0;var a=(n=_n)?qv(n,t):null;return n=n!==null&&a!==null?Lv(a,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
75
- This will cause a hydration error.%s`,t,n):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,n),!1}function el(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Ew(e){return e.replace(MO,function(t,n){return n.toUpperCase()})}function Yv(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?ei.hasOwnProperty(t)&&ei[t]||(ei[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Ew(t.replace(CO,"ms-")))):OO.test(t)?ei.hasOwnProperty(t)&&ei[t]||(ei[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!ZS.test(n)||xp.hasOwnProperty(n)&&xp[n]||(xp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(ZS,""))),typeof n=="number"&&(isNaN(n)?QS||(QS=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||FS||(FS=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||JS.has(t)?t==="float"?e.cssFloat=n:(Ft(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Pv(e,t,n){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,n!=null){if(t){var a={};if(n){for(var s in n)if(n.hasOwnProperty(s)&&!t.hasOwnProperty(s))for(var i=Dp[s]||[s],c=0;c<i.length;c++)a[i[c]]=s}for(var d in t)if(t.hasOwnProperty(d)&&(!n||n[d]!==t[d]))for(s=Dp[d]||[d],i=0;i<s.length;i++)a[s[i]]=d;d={};for(var y in t)for(s=Dp[y]||[y],i=0;i<s.length;i++)d[s[i]]=y;y={};for(var g in a)if(s=a[g],(i=d[g])&&s!==i&&(c=s+","+i,!y[c])){y[c]=!0,c=console;var U=t[s];c.error.call(c,"%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.",U==null||typeof U=="boolean"||U===""?"Removing":"Updating",s,i)}}for(var _ in n)!n.hasOwnProperty(_)||t!=null&&t.hasOwnProperty(_)||(_.indexOf("--")===0?e.setProperty(_,""):_==="float"?e.cssFloat="":e[_]="");for(var N in t)g=t[N],t.hasOwnProperty(N)&&n[N]!==g&&Yv(e,N,g)}else for(a in t)t.hasOwnProperty(a)&&Yv(e,a,t[a])}function tl(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 Gv(e){return UO.get(e)||e}function Aw(e,t){if(fa.call(ni,t)&&ni[t])return!0;if(zO.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=IS.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ni[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),ni[t]=!0}if(_O.test(t)){if(e=t.toLowerCase(),e=IS.hasOwnProperty(e)?e:null,e==null)return ni[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),ni[t]=!0)}return!0}function Tw(e,t){var n=[],a;for(a in t)Aw(e,a)||n.push(a);t=n.map(function(s){return"`"+s+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Nw(e,t,n,a){if(fa.call(sn,t)&&sn[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="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."),sn[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(s)?e[s]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),sn[t]=!0;if(WS.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),sn[t]=!0}else if(WS.test(t))return jO.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),sn[t]=!0;if(VO.test(t)||kO.test(t))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),sn[t]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),sn[t]=!0;if(s==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),sn[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),sn[t]=!0;if(gf.hasOwnProperty(s)){if(s=gf[s],s!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,s),sn[t]=!0}else if(t!==s)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,s),sn[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 n){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 s=t.toLowerCase().slice(0,5),s==="data-"||s==="aria-"?!0:(n?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,t,t,n,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.',n,t,t,n,t,t,t),sn[t]=!0)}case"function":case"symbol":return sn[t]=!0,!1;case"string":if(n==="false"||n==="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}?",n,t,n==="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,n),sn[t]=!0}}return!0}function ww(e,t,n){var a=[],s;for(s in t)Nw(e,s,t[s],n)||a.push(s);t=a.map(function(i){return"`"+i+"`"}).join(", "),a.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<a.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 nl(e){return LO.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function to(){}function sh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function $v(e){var t=ee(e);if(t&&(e=t.stateNode)){var n=e[rn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Wd(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Je(t,"name"),n=n.querySelectorAll('input[name="'+qn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var s=a[rn]||null;if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Wd(a,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Nv(a)}break e;case"textarea":_v(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Us(e,!!n.multiple,t,!1)}}}function Xv(e,t,n){if(Ep)return e(t,n);Ep=!0;try{var a=e(t);return a}finally{if(Ep=!1,(ai!==null||oi!==null)&&(Gs(),ai&&(t=ai,e=oi,oi=ai=null,$v(t),e)))for(t=0;t<e.length;t++)$v(e[t])}}function al(e,t){var n=e.stateNode;if(n===null)return null;var a=n[rn]||null;if(a===null)return null;n=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Zv(){if(vf)return vf;var e,t=Tp,n=t.length,a,s="value"in Ko?Ko.value:Ko.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var c=n-e;for(a=1;a<=c&&t[n-a]===s[i-a];a++);return vf=s.slice(e,1<a?1-a:void 0)}function oc(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 rc(){return!0}function Qv(){return!1}function yn(e){function t(n,a,s,i,c){this._reactName=n,this._targetInst=s,this.type=a,this.nativeEvent=i,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(n=e[d],this[d]=n?n(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?rc:Qv,this.isPropagationStopped=Qv,this}return Be(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=rc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=rc)},persist:function(){},isPersistent:rc}),t}function Rw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=IO[e])?!!t[e]:!1}function ih(){return Rw}function Fv(e,t){switch(e){case"keyup":return uC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==aD;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 Ow(e,t){switch(e){case"compositionend":return Jv(t);case"keypress":return t.which!==rD?null:(iD=!0,sD);case"textInput":return e=t.data,e===sD&&iD?null:e;default:return null}}function Cw(e,t){if(ri)return e==="compositionend"||!Op&&Fv(e,t)?(e=Zv(),vf=Tp=Ko=null,ri=!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 oD&&t.locale!=="ko"?null:t.data;default:return null}}function Iv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!fC[e.type]:t==="textarea"}function Mw(e){if(!$a)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 Kv(e,t,n,a){ai?oi?oi.push(a):oi=[a]:ai=a,t=Ic(t,"onChange"),0<t.length&&(n=new bf("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function Uw(e){z1(e,0)}function sc(e){var t=me(e);if(Nv(t))return e}function Wv(e,t){if(e==="change")return t}function eb(){ql&&(ql.detachEvent("onpropertychange",tb),Yl=ql=null)}function tb(e){if(e.propertyName==="value"&&sc(Yl)){var t=[];Kv(t,Yl,e,sh(e)),Xv(Uw,t)}}function _w(e,t,n){e==="focusin"?(eb(),ql=t,Yl=n,ql.attachEvent("onpropertychange",tb)):e==="focusout"&&eb()}function zw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return sc(Yl)}function jw(e,t){if(e==="click")return sc(t)}function Vw(e,t){if(e==="input"||e==="change")return sc(t)}function kw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function ol(e,t){if(ln(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var s=n[a];if(!fa.call(t,s)||!ln(e[s],t[s]))return!1}return!0}function nb(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ab(e,t){var n=nb(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=nb(n)}}function ob(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ob(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rb(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=tc(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=tc(e.document)}return t}function lh(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 sb(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mp||si==null||si!==tc(a)||(a=si,"selectionStart"in a&&lh(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Pl&&ol(Pl,a)||(Pl=a,a=Ic(Cp,"onSelect"),0<a.length&&(t=new bf("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=si)))}function zr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function jr(e){if(Up[e])return Up[e];if(!ii[e])return e;var t=ii[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in uD)return Up[e]=t[n];return e}function ia(e,t){mD.set(e,t),Xe(t,[e])}function Lw(e){for(var t=Df,n=0;n<e.length;n++){var a=e[n];if(typeof a=="object"&&a!==null)if(Ut(a)&&a.length===2&&typeof a[0]=="string"){if(t!==Df&&t!==kp)return jp;t=kp}else return jp;else{if(typeof a=="function"||typeof a=="string"&&50<a.length||t!==Df&&t!==Vp)return jp;t=Vp}}return t}function uh(e,t,n,a){for(var s in e)fa.call(e,s)&&s[0]!=="_"&&Ea(s,e[s],t,n,a)}function Ea(e,t,n,a,s){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Ba){var i=W(t.type)||"…",c=t.key;t=t.props;var d=Object.keys(t),y=d.length;if(c==null&&y===0){t="<"+i+" />";break}if(3>a||y===1&&d[0]==="children"&&c==null){t="<"+i+" … />";break}n.push([s+"  ".repeat(a)+e,"<"+i]),c!==null&&Ea("key",c,n,a+1,s),e=!1;for(var g in t)g==="children"?t.children!=null&&(!Ut(t.children)||0<t.children.length)&&(e=!0):fa.call(t,g)&&g[0]!=="_"&&Ea(g,t[g],n,a+1,s);n.push(["",e?">…</"+i+">":"/>"]);return}if(i=Object.prototype.toString.call(t),i=i.slice(8,i.length-1),i==="Array"){if(g=Lw(t),g===Vp||g===Df){t=JSON.stringify(t);break}else if(g===kp){for(n.push([s+"  ".repeat(a)+e,""]),e=0;e<t.length;e++)i=t[e],Ea(i[0],i[1],n,a+1,s);return}}if(i==="Promise"){if(t.status==="fulfilled"){if(i=n.length,Ea(e,t.value,n,a,s),n.length>i){n=n[i],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(i=n.length,Ea(e,t.reason,n,a,s),n.length>i)){n=n[i],n[1]="Rejected Promise<"+n[1]+">";return}n.push(["  ".repeat(a)+e,"Promise"]);return}i==="Object"&&(g=Object.getPrototypeOf(t))&&typeof g.constructor=="function"&&(i=g.constructor.name),n.push([s+"  ".repeat(a)+e,i==="Object"?3>a?"":"…":i]),3>a&&uh(t,n,a+1,s);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===vC?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([s+"  ".repeat(a)+e,t])}function ib(e,t,n,a){var s=!0;for(c in e)c in t||(n.push([xf+"  ".repeat(a)+c,"…"]),s=!1);for(var i in t)if(i in e){var c=e[i],d=t[i];if(c!==d){if(a===0&&i==="children")s="  ".repeat(a)+i,n.push([xf+s,"…"],[Ef+s,"…"]);else{if(!(3<=a)){if(typeof c=="object"&&typeof d=="object"&&c!==null&&d!==null&&c.$$typeof===d.$$typeof)if(d.$$typeof===Ba){if(c.type===d.type&&c.key===d.key){c=W(d.type)||"…",s="  ".repeat(a)+i,c="<"+c+" … />",n.push([xf+s,c],[Ef+s,c]),s=!1;continue}}else{var y=Object.prototype.toString.call(c),g=Object.prototype.toString.call(d);if(y===g&&(g==="[object Object]"||g==="[object Array]")){y=[gD+"  ".repeat(a)+i,g==="[object Array]"?"Array":""],n.push(y),g=n.length,ib(c,d,n,a+1)?g===n.length&&(y[1]="Referentially unequal but deeply equal objects. Consider memoization."):s=!1;continue}}else if(typeof c=="function"&&typeof d=="function"&&c.name===d.name&&c.length===d.length&&(y=Function.prototype.toString.call(c),g=Function.prototype.toString.call(d),y===g)){c=d.name===""?"() => {}":d.name+"() {}",n.push([gD+"  ".repeat(a)+i,c+" Referentially unequal function closure. Consider memoization."]);continue}}Ea(i,c,n,a,xf),Ea(i,d,n,a,Ef)}s=!1}}else n.push([Ef+"  ".repeat(a)+i,"…"]),s=!1;return s}function la(e){$e=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Aa(e,t,n,a){rt&&(er.start=t,er.end=n,fo.color="warning",fo.tooltipText=a,fo.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,er)):performance.measure(a,er))}function ic(e,t,n){Aa(e,t,n,"Reconnect")}function lc(e,t,n,a,s){var i=q(e);if(i!==null&&rt){var c=e.alternate,d=e.actualDuration;if(c===null||c.child!==e.child)for(var y=e.child;y!==null;y=y.sibling)d-=y.actualDuration;a=.5>d?a?"tertiary-light":"primary-light":10>d?a?"tertiary":"primary":100>d?a?"tertiary-dark":"primary-dark":"error";var g=e.memoizedProps;d=e._debugTask,g!==null&&c!==null&&c.memoizedProps!==g?(y=[bC],g=ib(c.memoizedProps,g,y,0),1<y.length&&(g&&!Wo&&(c.lanes&s)===0&&100<e.actualDuration?(Wo=!0,y[0]=SC,fo.color="warning",fo.tooltipText=vD):(fo.color=a,fo.tooltipText=i),fo.properties=y,er.start=t,er.end=n,d!=null?d.run(performance.measure.bind(performance,"​"+i,er)):performance.measure("​"+i,er))):d!=null?d.run(console.timeStamp.bind(console,i,t,n,Gn,void 0,a)):console.timeStamp(i,t,n,Gn,void 0,a)}}function ch(e,t,n,a){if(rt){var s=q(e);if(s!==null){for(var i=null,c=[],d=0;d<a.length;d++){var y=a[d];i==null&&y.source!==null&&(i=y.source._debugTask),y=y.value,c.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e.key!==null&&Ea("key",e.key,c,0,""),e.memoizedProps!==null&&uh(e.memoizedProps,c,0,""),i==null&&(i=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:Gn,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:c}}},i?i.run(performance.measure.bind(performance,"​"+s,e)):performance.measure("​"+s,e)}}}function Ta(e,t,n,a,s){if(s!==null){if(rt){var i=q(e);if(i!==null){a=[];for(var c=0;c<s.length;c++){var d=s[c].value;a.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e.key!==null&&Ea("key",e.key,a,0,""),e.memoizedProps!==null&&uh(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:Gn,tooltipText:"A lifecycle or effect errored",properties:a}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+i,t)):performance.measure("​"+i,t)}}}else i=q(e),i!==null&&rt&&(s=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,i,t,n,Gn,void 0,s)):console.timeStamp(i,t,n,Gn,void 0,s))}function Bw(e,t,n,a){if(rt&&!(t<=e)){var s=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",a?a.run(console.timeStamp.bind(console,n,e,t,$e,Pe,s)):console.timeStamp(n,e,t,$e,Pe,s)}}function lb(e,t,n,a){!rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,$e,Pe,n)):console.timeStamp("Prewarm",e,t,$e,Pe,n))}function ub(e,t,n,a){!rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,$e,Pe,n)):console.timeStamp("Suspended",e,t,$e,Pe,n))}function Hw(e,t,n,a,s,i){if(rt&&!(t<=e)){n=[];for(var c=0;c<a.length;c++){var d=a[c].value;n.push(["Recoverable Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:$e,trackGroup:Pe,tooltipText:s?"Hydration Failed":"Recovered after Error",properties:n}}},i?i.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function fh(e,t,n,a){!rt||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,$e,Pe,"error")):console.timeStamp("Errored",e,t,$e,Pe,"error"))}function qw(e,t,n,a){!rt||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,$e,Pe,"secondary-light")):console.timeStamp(n,e,t,$e,Pe,"secondary-light"))}function cb(e,t,n,a,s){if(rt&&!(t<=e)){for(var i=[],c=0;c<n.length;c++){var d=n[c].value;i.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"error",track:$e,trackGroup:Pe,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:i}}},s?s.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function dh(e,t,n){!rt||t<=e||console.timeStamp("Animating",e,t,$e,Pe,"secondary-dark")}function uc(){for(var e=li,t=Lp=li=0;t<e;){var n=$n[t];$n[t++]=null;var a=$n[t];$n[t++]=null;var s=$n[t];$n[t++]=null;var i=$n[t];if($n[t++]=null,a!==null&&s!==null){var c=a.pending;c===null?s.next=s:(s.next=c.next,c.next=s),a.pending=s}i!==0&&fb(n,s,i)}}function cc(e,t,n,a){$n[li++]=e,$n[li++]=t,$n[li++]=n,$n[li++]=a,Lp|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function hh(e,t,n,a){return cc(e,t,n,a),fc(e)}function Jt(e,t){return cc(e,null,null,t),fc(e)}function fb(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var s=!1,i=e.return;i!==null;)i.childLanes|=n,a=i.alternate,a!==null&&(a.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&Gl||(s=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,s&&t!==null&&(s=31-on(n),e=i.hiddenUpdates,a=e[s],a===null?e[s]=[t]:a.push(t),t.lane=n|536870912),i):null}function fc(e){if(gu>VC)throw fs=gu=0,vu=gy=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.");fs>kC&&(fs=0,vu=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&&w1(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&w1(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Vr(e){if(Xn===null)return e;var t=Xn(e);return t===void 0?e:t.current}function mh(e){if(Xn===null)return e;var t=Xn(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Vr(e.render),e.render!==t)?(t={$$typeof:Ul,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function db(e,t){if(Xn===null)return!1;var n=e.elementType;t=t.type;var a=!1,s=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(a=!0);break;case 0:(typeof t=="function"||s===Un)&&(a=!0);break;case 11:(s===Ul||s===Un)&&(a=!0);break;case 14:case 15:(s===uf||s===Un)&&(a=!0);break;default:return!1}return!!(a&&(e=Xn(n),e!==void 0&&e===Xn(t)))}function hb(e){Xn!==null&&typeof WeakSet=="function"&&(ui===null&&(ui=new WeakSet),ui.add(e))}function mb(e,t,n){do{var a=e,s=a.alternate,i=a.child,c=a.sibling,d=a.tag;a=a.type;var y=null;switch(d){case 0:case 15:case 1:y=a;break;case 11:y=a.render}if(Xn===null)throw Error("Expected resolveFamily to be set during hot reload.");var g=!1;if(a=!1,y!==null&&(y=Xn(y),y!==void 0&&(n.has(y)?a=!0:t.has(y)&&(d===1?a=!0:g=!0))),ui!==null&&(ui.has(e)||s!==null&&ui.has(s))&&(a=!0),a&&(e._debugNeedsRemount=!0),(a||g)&&(s=Jt(e,2),s!==null&&pt(s,e,2)),i===null||a||mb(i,t,n),c===null)break;e=c}while(!0)}function Yw(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,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,bD||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ph(e){return e=e.prototype,!(!e||!e.isReactComponent)}function no(e,t){var n=e.alternate;switch(n===null?(n=D(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Vr(e.type);break;case 1:n.type=Vr(e.type);break;case 11:n.type=mh(e.type)}return n}function pb(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function yh(e,t,n,a,s,i){var c=0,d=e;if(typeof e=="function")ph(e)&&(c=1),d=Vr(d);else if(typeof e=="string")c=oe(),c=IR(e,n,c)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case up:return t=D(31,n,t,s),t.elementType=up,t.lanes=i,t;case Is:return kr(n.children,s,i,t);case lf:c=8,s|=Kt,s|=da;break;case rp:return e=n,a=s,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=D(12,e,t,a|ze),t.elementType=rp,t.lanes=i,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case ip:return t=D(13,n,t,s),t.elementType=ip,t.lanes=i,t;case lp:return t=D(19,n,t,s),t.elementType=lp,t.lanes=i,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ha:c=10;break e;case sp:c=9;break e;case Ul:c=11,d=mh(d);break e;case uf:c=14;break e;case Un:c=16,d=null;break e}d="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" 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?n="null":Ut(e)?n="array":e!==void 0&&e.$$typeof===Ba?(n="<"+(W(e.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(c=a?fe(a):null)&&(d+=`
77
-
78
- Check the render method of \``+c+"`."),c=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+d)),d=null}return t=D(c,n,t,s),t.elementType=e,t.type=d,t.lanes=i,t._debugOwner=a,t}function dc(e,t,n){return t=yh(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function kr(e,t,n,a){return e=D(7,e,a,t),e.lanes=n,e}function gh(e,t,n){return e=D(6,e,null,t),e.lanes=n,e}function yb(e){var t=D(18,null,null,Ae);return t.stateNode=e,t}function vh(e,t,n){return t=D(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nn(e,t){if(typeof e=="object"&&e!==null){var n=Bp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Oe(t)},Bp.set(e,t),t)}return{value:e,source:t,stack:Oe(t)}}function ao(e,t){Vo(),ci[fi++]=$l,ci[fi++]=Af,Af=e,$l=t}function gb(e,t,n){Vo(),Zn[Qn++]=mo,Zn[Qn++]=po,Zn[Qn++]=Jr,Jr=e;var a=mo;e=po;var s=32-on(a)-1;a&=~(1<<s),n+=1;var i=32-on(t)+s;if(30<i){var c=s-s%5;i=(a&(1<<c)-1).toString(32),a>>=c,s-=c,mo=1<<32-on(t)+s|n<<s|a,po=i+e}else mo=1<<i|n<<s|a,po=e}function bh(e){Vo(),e.return!==null&&(ao(e,1),gb(e,1,0))}function Sh(e){for(;e===Af;)Af=ci[--fi],ci[fi]=null,$l=ci[--fi],ci[fi]=null;for(;e===Jr;)Jr=Zn[--Qn],Zn[Qn]=null,po=Zn[--Qn],Zn[Qn]=null,mo=Zn[--Qn],Zn[Qn]=null}function vb(){return Vo(),Jr!==null?{id:mo,overflow:po}:null}function bb(e,t){Vo(),Zn[Qn++]=mo,Zn[Qn++]=po,Zn[Qn++]=Jr,mo=t.id,po=t.overflow,Jr=e}function Vo(){qe||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Lr(e,t){if(e.return===null){if(zn===null)zn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(zn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");zn.distanceFromLeaf>t&&(zn.distanceFromLeaf=t)}return zn}var n=Lr(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Sb(){qe&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function hc(e,t){Xa||(e=Lr(e,0),e.serverProps=null,t!==null&&(t=K1(t),e.serverTail.push(t)))}function ko(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",a=zn;throw a!==null&&(zn=null,n=oh(a)),rl(Nn(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
-
80
- - A server/client branch \`if (typeof window !== 'undefined')\`.
81
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
82
- - Date formatting in a user's locale which doesn't match the server.
83
- - External changing data without sending a snapshot of it along with the HTML.
84
- - Invalid HTML tag nesting.
85
-
86
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
87
-
88
- https://react.dev/link/hydration-mismatch`+n),e)),Hp}function Db(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[$t]=e,t[rn]=a,Hm(n,a),n){case"dialog":Ye("cancel",t),Ye("close",t);break;case"iframe":case"object":case"embed":Ye("load",t);break;case"video":case"audio":for(n=0;n<bu.length;n++)Ye(bu[n],t);break;case"source":Ye("error",t);break;case"img":case"image":case"link":Ye("error",t),Ye("load",t);break;case"details":Ye("toggle",t);break;case"input":nn("input",a),Ye("invalid",t),wv(t,a),Rv(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"option":Ov(t,a);break;case"select":nn("select",a),Ye("invalid",t),Mv(t,a);break;case"textarea":nn("textarea",a),Ye("invalid",t),Uv(t,a),zv(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||L1(t.textContent,n)?(a.popover!=null&&(Ye("beforetoggle",t),Ye("toggle",t)),a.onScroll!=null&&Ye("scroll",t),a.onScrollEnd!=null&&Ye("scrollend",t),a.onClick!=null&&(t.onclick=to),t=!0):t=!1,t||ko(e,!0)}function xb(e){for(Xt=e.return;Xt;)switch(Xt.tag){case 5:case 31:case 13:Fn=!1;return;case 27:case 3:Fn=!0;return;default:Xt=Xt.return}}function js(e){if(e!==Xt)return!1;if(!qe)return xb(e),qe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||$m(e.type,e.memoizedProps)),n=!n),n&&st){for(n=st;n;){var a=Lr(e,0),s=K1(n);a.serverTail.push(s),n=s.type==="Suspense"?Fm(n):Mn(n.nextSibling)}ko(e)}if(xb(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.");st=Fm(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.");st=Fm(e)}else t===27?(t=st,Zo(e.type)?(e=Oy,Oy=null,st=e):st=t):st=Xt?Mn(e.stateNode.nextSibling):null;return!0}function Br(){st=Xt=null,Xa=qe=!1}function Dh(){var e=nr;return e!==null&&(dn===null?dn=e:dn.push.apply(dn,e),nr=null),e}function rl(e){nr===null?nr=[e]:nr.push(e)}function xh(){var e=zn;if(e!==null){zn=null;for(var t=oh(e);0<e.children.length;)e=e.children[0];le(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
-
90
- - A server/client branch \`if (typeof window !== 'undefined')\`.
91
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
92
- - Date formatting in a user's locale which doesn't match the server.
93
- - External changing data without sending a snapshot of it along with the HTML.
94
- - Invalid HTML tag nesting.
95
-
96
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
97
-
98
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function mc(){di=Tf=null,hi=!1}function Lo(e,t,n){ae(qp,t._currentValue,e),t._currentValue=n,ae(Yp,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==DD&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=DD}function oo(e,t){e._currentValue=qp.current;var n=Yp.current;ne(Yp,t),e._currentRenderer=n,ne(qp,t)}function Eh(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}e!==n&&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 Ah(e,t,n,a){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var i=s.dependencies;if(i!==null){var c=s.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=s;for(var y=0;y<t.length;y++)if(d.context===t[y]){i.lanes|=n,d=i.alternate,d!==null&&(d.lanes|=n),Eh(i.return,n,e),a||(c=null);break e}i=d.next}}else if(s.tag===18){if(c=s.return,c===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");c.lanes|=n,i=c.alternate,i!==null&&(i.lanes|=n),Eh(c,n,e),c=null}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===e){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}}function Vs(e,t,n,a){e=null;for(var s=t,i=!1;s!==null;){if(!i){if((s.flags&524288)!==0)i=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var c=s.alternate;if(c===null)throw Error("Should have a current fiber. This is a bug in React.");if(c=c.memoizedProps,c!==null){var d=s.type;ln(s.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(s===cf.current){if(c=s.alternate,c===null)throw Error("Should have a current fiber. This is a bug in React.");c.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Au):e=[Au])}s=s.return}e!==null&&Ah(t,e,n,a),t.flags|=262144}function pc(e){for(e=e.firstContext;e!==null;){if(!ln(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Hr(e){Tf=e,di=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ct(e){return hi&&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()."),Eb(Tf,e)}function yc(e,t){return Tf===null&&Hr(e),Eb(e,t)}function Eb(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},di===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().");di=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else di=di.next=t;return n}function Th(){return{controller:new EC,data:new Map,refCount:0}}function qr(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 sl(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&&AC(TC,function(){e.controller.abort()})}function Na(e,t,n){(e&127)!==0?0>Za&&(Za=Tt(),Zl=Nf(t),Pp=t,n!=null&&(Gp=q(n)),(Ze&(zt|kn))!==qt&&(yt=!0,or=Xl),e=wl(),t=Nl(),e!==mi||t!==Ql?mi=-1.1:t!==null&&(or=Xl),Wr=e,Ql=t):(e&4194048)!==0&&0>Jn&&(Jn=Tt(),Fl=Nf(t),xD=t,n!=null&&(ED=q(n)),0>bo)&&(e=wl(),t=Nl(),(e!==sr||t!==es)&&(sr=-1.1),rr=e,es=t)}function Pw(e){if(0>Za){Za=Tt(),Zl=e._debugTask!=null?e._debugTask:null,(Ze&(zt|kn))!==qt&&(or=Xl);var t=wl(),n=Nl();t!==mi||n!==Ql?mi=-1.1:n!==null&&(or=Xl),Wr=t,Ql=n}0>Jn&&(Jn=Tt(),Fl=e._debugTask!=null?e._debugTask:null,0>bo)&&(e=wl(),t=Nl(),(e!==sr||t!==es)&&(sr=-1.1),rr=e,es=t)}function ro(){var e=Ir;return Ir=0,e}function gc(e){var t=Ir;return Ir=e,t}function il(e){var t=Ir;return Ir+=e,t}function vc(){xe=Se=-1.1}function wn(){var e=Se;return Se=-1.1,e}function Rn(e){0<=e&&(Se=e)}function wa(){var e=ht;return ht=-0,e}function Ra(e){0<=e&&(ht=e)}function Oa(){var e=ft;return ft=null,e}function Ca(){var e=yt;return yt=!1,e}function Nh(e){un=Tt(),0>e.actualStartTime&&(e.actualStartTime=un)}function wh(e){if(0<=un){var t=Tt()-un;e.actualDuration+=t,e.selfBaseDuration=t,un=-1}}function Ab(e){if(0<=un){var t=Tt()-un;e.actualDuration+=t,un=-1}}function Ma(){if(0<=un){var e=Tt(),t=e-un;un=-1,Ir+=t,ht+=t,xe=e}}function Tb(e){ft===null&&(ft=[]),ft.push(e),go===null&&(go=[]),go.push(e)}function Ua(){un=Tt(),0>Se&&(Se=un)}function ll(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Gw(e,t){if(Il===null){var n=Il=[];Xp=0,ts=Vm(),pi={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Xp++,t.then(Nb,Nb),t}function Nb(){if(--Xp===0&&(-1<Jn||(bo=-1.1),Il!==null)){pi!==null&&(pi.status="fulfilled");var e=Il;Il=null,ts=0,pi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function $w(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(a.status="rejected",a.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),a}function Rh(){var e=ns.current;return e!==null?e:tt.pooledCache}function bc(e,t){t===null?ae(ns,ns.current,e):ae(ns,t.pool,e)}function wb(){var e=Rh();return e===null?null:{parent:At._currentValue,pool:e}}function Rb(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ob(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Cb(e,t,n){B.actQueue!==null&&(B.didUsePromise=!0);var a=e.thenables;if(n=a[n],n===void 0?a.push(t):n!==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(to,to),t=n),t._debugInfo===void 0){e=performance.now(),a=t.displayName;var s={name:typeof a=="string"?a:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:s}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){s.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ub(e),e;default:if(typeof t.status=="string")t.then(to,to);else{if(e=tt,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(i){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=i}},function(i){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ub(e),e}throw os=t,ou=!0,yi}}function Bo(e){try{return CC(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(os=t,ou=!0,yi):t}}function Mb(){if(os===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=os;return os=null,ou=!1,e}function Ub(e){if(e===yi||e===zf)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 Yt(e){var t=je;return e!=null&&(je=t===null?e:t.concat(e)),t}function Oh(){var e=je;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function Sc(e,t,n){for(var a=Object.keys(e.props),s=0;s<a.length;s++){var i=a[s];if(i!=="children"&&i!=="key"){t===null&&(t=dc(e,n.mode,0),t._debugInfo=je,t.return=n),le(t,function(c){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",c)},i);break}}}function Dc(e){var t=ru;return ru+=1,gi===null&&(gi=Rb()),Cb(gi,e,t)}function ul(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function _b(e,t){throw t.$$typeof===lO?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
99
- - Multiple copies of the "react" package is used.
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 xc(e,t){var n=Oh();n!==null?n.run(_b.bind(null,e,t)):_b(e,t)}function zb(e,t){var n=q(e)||"Component";PD[n]||(PD[n]=!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
- 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,n,t,n))}function Ec(e,t){var n=Oh();n!==null?n.run(zb.bind(null,e,t)):zb(e,t)}function jb(e,t){var n=q(e)||"Component";GD[n]||(GD[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
104
- root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
105
- <%s>%s</%s>`,n,t,n))}function Ac(e,t){var n=Oh();n!==null?n.run(jb.bind(null,e,t)):jb(e,t)}function Vb(e){function t(T,w){if(e){var M=T.deletions;M===null?(T.deletions=[w],T.flags|=16):M.push(w)}}function n(T,w){if(!e)return null;for(;w!==null;)t(T,w),w=w.sibling;return null}function a(T){for(var w=new Map;T!==null;)T.key!==null?w.set(T.key,T):w.set(T.index,T),T=T.sibling;return w}function s(T,w){return T=no(T,w),T.index=0,T.sibling=null,T}function i(T,w,M){return T.index=M,e?(M=T.alternate,M!==null?(M=M.index,M<w?(T.flags|=67108866,w):M):(T.flags|=67108866,w)):(T.flags|=1048576,w)}function c(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function d(T,w,M,P){return w===null||w.tag!==6?(w=gh(M,T.mode,P),w.return=T,w._debugOwner=T,w._debugTask=T._debugTask,w._debugInfo=je,w):(w=s(w,M),w.return=T,w._debugInfo=je,w)}function y(T,w,M,P){var re=M.type;return re===Is?(w=U(T,w,M.props.children,P,M.key),Sc(M,w,T),w):w!==null&&(w.elementType===re||db(w,M)||typeof re=="object"&&re!==null&&re.$$typeof===Un&&Bo(re)===w.type)?(w=s(w,M.props),ul(w,M),w.return=T,w._debugOwner=M._owner,w._debugInfo=je,w):(w=dc(M,T.mode,P),ul(w,M),w.return=T,w._debugInfo=je,w)}function g(T,w,M,P){return w===null||w.tag!==4||w.stateNode.containerInfo!==M.containerInfo||w.stateNode.implementation!==M.implementation?(w=vh(M,T.mode,P),w.return=T,w._debugInfo=je,w):(w=s(w,M.children||[]),w.return=T,w._debugInfo=je,w)}function U(T,w,M,P,re){return w===null||w.tag!==7?(w=kr(M,T.mode,P,re),w.return=T,w._debugOwner=T,w._debugTask=T._debugTask,w._debugInfo=je,w):(w=s(w,M),w.return=T,w._debugInfo=je,w)}function _(T,w,M){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return w=gh(""+w,T.mode,M),w.return=T,w._debugOwner=T,w._debugTask=T._debugTask,w._debugInfo=je,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ba:return M=dc(w,T.mode,M),ul(M,w),M.return=T,T=Yt(w._debugInfo),M._debugInfo=je,je=T,M;case Js:return w=vh(w,T.mode,M),w.return=T,w._debugInfo=je,w;case Un:var P=Yt(w._debugInfo);return w=Bo(w),T=_(T,w,M),je=P,T}if(Ut(w)||be(w))return M=kr(w,T.mode,M,null),M.return=T,M._debugOwner=T,M._debugTask=T._debugTask,T=Yt(w._debugInfo),M._debugInfo=je,je=T,M;if(typeof w.then=="function")return P=Yt(w._debugInfo),T=_(T,Dc(w),M),je=P,T;if(w.$$typeof===Ha)return _(T,yc(T,w),M);xc(T,w)}return typeof w=="function"&&Ec(T,w),typeof w=="symbol"&&Ac(T,w),null}function N(T,w,M,P){var re=w!==null?w.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return re!==null?null:d(T,w,""+M,P);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Ba:return M.key===re?(re=Yt(M._debugInfo),T=y(T,w,M,P),je=re,T):null;case Js:return M.key===re?g(T,w,M,P):null;case Un:return re=Yt(M._debugInfo),M=Bo(M),T=N(T,w,M,P),je=re,T}if(Ut(M)||be(M))return re!==null?null:(re=Yt(M._debugInfo),T=U(T,w,M,P,null),je=re,T);if(typeof M.then=="function")return re=Yt(M._debugInfo),T=N(T,w,Dc(M),P),je=re,T;if(M.$$typeof===Ha)return N(T,w,yc(T,M),P);xc(T,M)}return typeof M=="function"&&Ec(T,M),typeof M=="symbol"&&Ac(T,M),null}function V(T,w,M,P,re){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return T=T.get(M)||null,d(w,T,""+P,re);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case Ba:return M=T.get(P.key===null?M:P.key)||null,T=Yt(P._debugInfo),w=y(w,M,P,re),je=T,w;case Js:return T=T.get(P.key===null?M:P.key)||null,g(w,T,P,re);case Un:var Ne=Yt(P._debugInfo);return P=Bo(P),w=V(T,w,M,P,re),je=Ne,w}if(Ut(P)||be(P))return M=T.get(M)||null,T=Yt(P._debugInfo),w=U(w,M,P,re,null),je=T,w;if(typeof P.then=="function")return Ne=Yt(P._debugInfo),w=V(T,w,M,Dc(P),re),je=Ne,w;if(P.$$typeof===Ha)return V(T,w,M,yc(w,P),re);xc(w,P)}return typeof P=="function"&&Ec(w,P),typeof P=="symbol"&&Ac(w,P),null}function te(T,w,M,P){if(typeof M!="object"||M===null)return P;switch(M.$$typeof){case Ba:case Js:b(T,w,M);var re=M.key;if(typeof re!="string")break;if(P===null){P=new Set,P.add(re);break}if(!P.has(re)){P.add(re);break}le(w,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.",re)});break;case Un:M=Bo(M),te(T,w,M,P)}return P}function ie(T,w,M,P){for(var re=null,Ne=null,ve=null,pe=w,Ue=w=0,it=null;pe!==null&&Ue<M.length;Ue++){pe.index>Ue?(it=pe,pe=null):it=pe.sibling;var xt=N(T,pe,M[Ue],P);if(xt===null){pe===null&&(pe=it);break}re=te(T,xt,M[Ue],re),e&&pe&&xt.alternate===null&&t(T,pe),w=i(xt,w,Ue),ve===null?Ne=xt:ve.sibling=xt,ve=xt,pe=it}if(Ue===M.length)return n(T,pe),qe&&ao(T,Ue),Ne;if(pe===null){for(;Ue<M.length;Ue++)pe=_(T,M[Ue],P),pe!==null&&(re=te(T,pe,M[Ue],re),w=i(pe,w,Ue),ve===null?Ne=pe:ve.sibling=pe,ve=pe);return qe&&ao(T,Ue),Ne}for(pe=a(pe);Ue<M.length;Ue++)it=V(pe,T,Ue,M[Ue],P),it!==null&&(re=te(T,it,M[Ue],re),e&&it.alternate!==null&&pe.delete(it.key===null?Ue:it.key),w=i(it,w,Ue),ve===null?Ne=it:ve.sibling=it,ve=it);return e&&pe.forEach(function(wo){return t(T,wo)}),qe&&ao(T,Ue),Ne}function ot(T,w,M,P){if(M==null)throw Error("An iterable object provided no iterator.");for(var re=null,Ne=null,ve=w,pe=w=0,Ue=null,it=null,xt=M.next();ve!==null&&!xt.done;pe++,xt=M.next()){ve.index>pe?(Ue=ve,ve=null):Ue=ve.sibling;var wo=N(T,ve,xt.value,P);if(wo===null){ve===null&&(ve=Ue);break}it=te(T,wo,xt.value,it),e&&ve&&wo.alternate===null&&t(T,ve),w=i(wo,w,pe),Ne===null?re=wo:Ne.sibling=wo,Ne=wo,ve=Ue}if(xt.done)return n(T,ve),qe&&ao(T,pe),re;if(ve===null){for(;!xt.done;pe++,xt=M.next())ve=_(T,xt.value,P),ve!==null&&(it=te(T,ve,xt.value,it),w=i(ve,w,pe),Ne===null?re=ve:Ne.sibling=ve,Ne=ve);return qe&&ao(T,pe),re}for(ve=a(ve);!xt.done;pe++,xt=M.next())Ue=V(ve,T,pe,xt.value,P),Ue!==null&&(it=te(T,Ue,xt.value,it),e&&Ue.alternate!==null&&ve.delete(Ue.key===null?pe:Ue.key),w=i(Ue,w,pe),Ne===null?re=Ue:Ne.sibling=Ue,Ne=Ue);return e&&ve.forEach(function(eM){return t(T,eM)}),qe&&ao(T,pe),re}function Ge(T,w,M,P){if(typeof M=="object"&&M!==null&&M.type===Is&&M.key===null&&(Sc(M,null,T),M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case Ba:var re=Yt(M._debugInfo);e:{for(var Ne=M.key;w!==null;){if(w.key===Ne){if(Ne=M.type,Ne===Is){if(w.tag===7){n(T,w.sibling),P=s(w,M.props.children),P.return=T,P._debugOwner=M._owner,P._debugInfo=je,Sc(M,P,T),T=P;break e}}else if(w.elementType===Ne||db(w,M)||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===Un&&Bo(Ne)===w.type){n(T,w.sibling),P=s(w,M.props),ul(P,M),P.return=T,P._debugOwner=M._owner,P._debugInfo=je,T=P;break e}n(T,w);break}else t(T,w);w=w.sibling}M.type===Is?(P=kr(M.props.children,T.mode,P,M.key),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=je,Sc(M,P,T),T=P):(P=dc(M,T.mode,P),ul(P,M),P.return=T,P._debugInfo=je,T=P)}return T=c(T),je=re,T;case Js:e:{for(re=M,M=re.key;w!==null;){if(w.key===M)if(w.tag===4&&w.stateNode.containerInfo===re.containerInfo&&w.stateNode.implementation===re.implementation){n(T,w.sibling),P=s(w,re.children||[]),P.return=T,T=P;break e}else{n(T,w);break}else t(T,w);w=w.sibling}P=vh(re,T.mode,P),P.return=T,T=P}return c(T);case Un:return re=Yt(M._debugInfo),M=Bo(M),T=Ge(T,w,M,P),je=re,T}if(Ut(M))return re=Yt(M._debugInfo),T=ie(T,w,M,P),je=re,T;if(be(M)){if(re=Yt(M._debugInfo),Ne=be(M),typeof Ne!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var ve=Ne.call(M);return ve===M?(T.tag!==0||Object.prototype.toString.call(T.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(ve)!=="[object Generator]")&&(qD||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."),qD=!0):M.entries!==Ne||Jp||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Jp=!0),T=ot(T,w,ve,P),je=re,T}if(typeof M.then=="function")return re=Yt(M._debugInfo),T=Ge(T,w,Dc(M),P),je=re,T;if(M.$$typeof===Ha)return Ge(T,w,yc(T,M),P);xc(T,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(re=""+M,w!==null&&w.tag===6?(n(T,w.sibling),P=s(w,re),P.return=T,T=P):(n(T,w),P=gh(re,T.mode,P),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=je,T=P),c(T)):(typeof M=="function"&&Ec(T,M),typeof M=="symbol"&&Ac(T,M),n(T,w))}return function(T,w,M,P){var re=je;je=null;try{ru=0;var Ne=Ge(T,w,M,P);return gi=null,Ne}catch(it){if(it===yi||it===zf)throw it;var ve=D(29,it,null,T.mode);ve.lanes=P,ve.return=T;var pe=ve._debugInfo=je;if(ve._debugOwner=T._debugOwner,ve._debugTask=T._debugTask,pe!=null){for(var Ue=pe.length-1;0<=Ue;Ue--)if(typeof pe[Ue].stack=="string"){ve._debugOwner=pe[Ue],ve._debugTask=pe[Ue].debugTask;break}}return ve}finally{je=re}}}function kb(e,t){var n=Ut(e);return e=!n&&typeof be(e)=="function",n||e?(n=n?"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>",n,t,n),!1):!0}function Ch(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mh(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 Ho(e){return{lane:e,tag:XD,payload:null,callback:null,next:null}}function qo(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Kp===a&&!FD){var s=q(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
-
107
- Please update the following component: %s`,s),FD=!0}return(Ze&zt)!==qt?(s=a.pending,s===null?t.next=t:(t.next=s.next,s.next=t),a.pending=t,t=fc(e),fb(e,null,n),t):(cc(e,a,t,n),fc(e))}function cl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ii(e,n)}}function Tc(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var c={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?s=i=c:i=i.next=c,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fl(){if(Wp){var e=pi;if(e!==null)throw e}}function dl(e,t,n,a){Wp=!1;var s=e.updateQueue;ir=!1,Kp=s.shared;var i=s.firstBaseUpdate,c=s.lastBaseUpdate,d=s.shared.pending;if(d!==null){s.shared.pending=null;var y=d,g=y.next;y.next=null,c===null?i=g:c.next=g,c=y;var U=e.alternate;U!==null&&(U=U.updateQueue,d=U.lastBaseUpdate,d!==c&&(d===null?U.firstBaseUpdate=g:d.next=g,U.lastBaseUpdate=y))}if(i!==null){var _=s.baseState;c=0,U=g=y=null,d=i;do{var N=d.lane&-536870913,V=N!==d.lane;if(V?(Ve&N)===N:(a&N)===N){N!==0&&N===ts&&(Wp=!0),U!==null&&(U=U.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{N=e;var te=d,ie=t,ot=n;switch(te.tag){case ZD:if(te=te.payload,typeof te=="function"){hi=!0;var Ge=te.call(ot,_,ie);if(N.mode&Kt){he(!0);try{te.call(ot,_,ie)}finally{he(!1)}}hi=!1,_=Ge;break e}_=te;break e;case Ip:N.flags=N.flags&-65537|128;case XD:if(Ge=te.payload,typeof Ge=="function"){if(hi=!0,te=Ge.call(ot,_,ie),N.mode&Kt){he(!0);try{Ge.call(ot,_,ie)}finally{he(!1)}}hi=!1}else te=Ge;if(te==null)break e;_=Be({},_,te);break e;case QD:ir=!0}}N=d.callback,N!==null&&(e.flags|=64,V&&(e.flags|=8192),V=s.callbacks,V===null?s.callbacks=[N]:V.push(N))}else V={lane:N,tag:d.tag,payload:d.payload,callback:d.callback,next:null},U===null?(g=U=V,y=_):U=U.next=V,c|=N;if(d=d.next,d===null){if(d=s.shared.pending,d===null)break;V=d,d=V.next,V.next=null,s.lastBaseUpdate=V,s.shared.pending=null}}while(!0);U===null&&(y=_),s.baseState=y,s.firstBaseUpdate=g,s.lastBaseUpdate=U,i===null&&(s.shared.lanes=0),cr|=c,e.lanes=c,e.memoizedState=_}Kp=null}function Lb(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Xw(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Lb(n[e],t)}function Bb(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Lb(n[e],t)}function Hb(e,t){var n=Fa;ae(Vf,n,e),ae(vi,t,e),Fa=n|t.baseLanes}function Uh(e){ae(Vf,Fa,e),ae(vi,vi.current,e)}function _h(e){Fa=Vf.current,ne(vi,e),ne(Vf,e)}function Yo(e){var t=e.alternate;ae(Dt,Dt.current&bi,e),ae(jn,e,e),In===null&&(t===null||vi.current!==null||t.memoizedState!==null)&&(In=e)}function zh(e){ae(Dt,Dt.current,e),ae(jn,e,e),In===null&&(In=e)}function qb(e){e.tag===22?(ae(Dt,Dt.current,e),ae(jn,e,e),In===null&&(In=e)):Po(e)}function Po(e){ae(Dt,Dt.current,e),ae(jn,jn.current,e)}function On(e){ne(jn,e),In===e&&(In=null),ne(Dt,e)}function Nc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Zm(n)||Qm(n)))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 Le(){var e=k;Wn===null?Wn=[e]:Wn.push(e)}function X(){var e=k;if(Wn!==null&&(xo++,Wn[xo]!==e)){var t=q(Te);if(!JD.has(t)&&(JD.add(t),Wn!==null)){for(var n="",a=0;a<=xo;a++){var s=Wn[a],i=a===xo?e:s;for(s=a+1+". "+s;30>s.length;)s+=" ";s+=i+`
108
- `,n+=s}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
-
110
- Previous render Next render
111
- ------------------------------------------------------
112
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113
- `,t,n)}}}function ks(e){e==null||Ut(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.",k,typeof e)}function wc(){var e=q(Te);KD.has(e)||(KD.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function bt(){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
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
115
- 2. You might be breaking the Rules of Hooks
116
- 3. You might have more than one copy of React in the same app
117
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function jh(e,t){if(lu)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.",k),!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
-
119
- Previous: %s
120
- Incoming: %s`,k,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!ln(e[n],t[n]))return!1;return!0}function Vh(e,t,n,a,s,i){So=i,Te=t,Wn=e!==null?e._debugHookTypes:null,xo=-1,lu=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(i=q(Te),ey.has(i)||(ey.add(i),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.",i===null?"An unknown Component":"<"+i+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=e!==null&&e.memoizedState!==null?ny:Wn!==null?WD:ty,ss=i=(t.mode&Kt)!==Ae;var c=Zp(n,a,s);if(ss=!1,Di&&(c=kh(t,n,a,s)),i){he(!0);try{c=kh(t,n,a,s)}finally{he(!1)}}return Yb(e,t),c}function Yb(e,t){t._debugHookTypes=Wn,t.dependencies===null?Do!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Do}):t.dependencies._debugThenableState=Do,B.H=uu;var n=et!==null&&et.next!==null;if(So=0,Wn=k=Nt=et=Te=null,xo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Lf=!1,iu=0,Do=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||wt||(e=e.dependencies,e!==null&&pc(e)&&(wt=!0)),ou?(ou=!1,e=!0):e=!1,e&&(t=q(t)||"Unknown",ID.has(t)||ey.has(t)||(ID.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 kh(e,t,n,a){Te=e;var s=0;do{if(Di&&(Do=null),iu=0,Di=!1,s>=UC)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s+=1,lu=!1,Nt=et=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}xo=-1,B.H=ex,i=Zp(t,n,a)}while(Di);return i}function Zw(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?hl(t):t,e=e.useState()[0],(et!==null?et.memoizedState:null)!==e&&(Te.flags|=1024),t}function Lh(){var e=Bf!==0;return Bf=0,e}function Bh(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&da)!==Ae?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Hh(e){if(Lf){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Lf=!1}So=0,Wn=Nt=et=Te=null,xo=-1,k=null,Di=!1,iu=Bf=0,Do=null}function an(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?Te.memoizedState=Nt=e:Nt=Nt.next=e,Nt}function Ie(){if(et===null){var e=Te.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=Nt===null?Te.memoizedState:Nt.next;if(t!==null)Nt=t,et=e;else{if(e===null)throw Te.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.");et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},Nt===null?Te.memoizedState=Nt=e:Nt=Nt.next=e}return Nt}function Rc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function hl(e){var t=iu;return iu+=1,Do===null&&(Do=Rb()),e=Cb(Do,e,t),t=Te,(Nt===null?t.memoizedState:Nt.next)===null&&(t=t.alternate,B.H=t!==null&&t.memoizedState!==null?ny:ty),e}function Go(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return hl(e);if(e.$$typeof===Ha)return ct(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Yr(e){var t=null,n=Te.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Te.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Rc(),Te.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||lu)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=uO;else n.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.",n.length,e);return t.index++,n}function ua(e,t){return typeof t=="function"?t(e):t}function qh(e,t,n){var a=an();if(n!==void 0){var s=n(t);if(ss){he(!0);try{n(t)}finally{he(!1)}}}else s=t;return a.memoizedState=a.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},a.queue=e,e=e.dispatch=Kw.bind(null,Te,e),[a.memoizedState,e]}function Ls(e){var t=Ie();return Yh(t,et,e)}function Yh(e,t,n){var a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=n;var s=e.baseQueue,i=a.pending;if(i!==null){if(s!==null){var c=s.next;s.next=i.next,i.next=c}t.baseQueue!==s&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=s=i,a.pending=null}if(i=e.baseState,s===null)e.memoizedState=i;else{t=s.next;var d=c=null,y=null,g=t,U=!1;do{var _=g.lane&-536870913;if(_!==g.lane?(Ve&_)===_:(So&_)===_){var N=g.revertLane;if(N===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),_===ts&&(U=!0);else if((So&N)===N){g=g.next,N===ts&&(U=!0);continue}else _={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},y===null?(d=y=_,c=i):y=y.next=_,Te.lanes|=N,cr|=N;_=g.action,ss&&n(i,_),i=g.hasEagerState?g.eagerState:n(i,_)}else N={lane:_,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},y===null?(d=y=N,c=i):y=y.next=N,Te.lanes|=_,cr|=_;g=g.next}while(g!==null&&g!==t);if(y===null?c=i:y.next=d,!ln(i,e.memoizedState)&&(wt=!0,U&&(n=pi,n!==null)))throw n;e.memoizedState=i,e.baseState=c,e.baseQueue=y,a.lastRenderedState=i}return s===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function ml(e){var t=Ie(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var a=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var c=s=s.next;do i=e(i,c.action),c=c.next;while(c!==s);ln(i,t.memoizedState)||(wt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function Ph(e,t,n){var a=Te,s=an();if(qe){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var i=n();Si||i===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Si=!0)}else{if(i=t(),Si||(n=t(),ln(i,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Si=!0)),tt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ve&127)!==0||Pb(a,t,i)}return s.memoizedState=i,n={value:i,getSnapshot:t},s.queue=n,Uc($b.bind(null,a,n,e),[e]),a.flags|=2048,Hs(Kn|fn,{destroy:void 0},Gb.bind(null,a,n,i,t),null),i}function Oc(e,t,n){var a=Te,s=Ie(),i=qe;if(i){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Si){var c=t();ln(n,c)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Si=!0)}(c=!ln((et||s).memoizedState,n))&&(s.memoizedState=n,wt=!0),s=s.queue;var d=$b.bind(null,a,s,e);if(gn(2048,fn,d,[e]),s.getSnapshot!==t||c||Nt!==null&&Nt.memoizedState.tag&Kn){if(a.flags|=2048,Hs(Kn|fn,{destroy:void 0},Gb.bind(null,a,s,n,t),null),tt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i||(So&127)!==0||Pb(a,t,n)}return n}function Pb(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Te.updateQueue,t===null?(t=Rc(),Te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Gb(e,t,n,a){t.value=n,t.getSnapshot=a,Xb(t)&&Zb(e)}function $b(e,t,n){return n(function(){Xb(t)&&(Na(2,"updateSyncExternalStore()",e),Zb(e))})}function Xb(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ln(e,n)}catch{return!0}}function Zb(e){var t=Jt(e,2);t!==null&&pt(t,e,2)}function Gh(e){var t=an();if(typeof e=="function"){var n=e;if(e=n(),ss){he(!0);try{n()}finally{he(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:e},t}function $h(e){e=Gh(e);var t=e.queue,n=d0.bind(null,Te,t);return t.dispatch=n,[e.memoizedState,n]}function Xh(e){var t=an();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=sm.bind(null,Te,!0,n),n.dispatch=t,[e,t]}function Qb(e,t){var n=Ie();return Fb(n,et,e,t)}function Fb(e,t,n,a){return e.baseState=n,Yh(e,et,typeof a=="function"?a:ua)}function Jb(e,t){var n=Ie();return et!==null?Fb(n,et,e,t):(n.baseState=e,[e,n.queue.dispatch])}function Qw(e,t,n,a,s){if(Lc(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var i={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};B.T!==null?n(!0):i.isTransition=!1,a(i),n=t.pending,n===null?(i.next=t.pending=i,Ib(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Ib(e,t){var n=t.action,a=t.payload,s=e.state;if(t.isTransition){var i=B.T,c={};c._updatedFibers=new Set,B.T=c;try{var d=n(s,a),y=B.S;y!==null&&y(c,d),Kb(e,t,d)}catch(g){Zh(e,t,g)}finally{i!==null&&c.types!==null&&(i.types!==null&&i.types!==c.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."),i.types=c.types),B.T=i,i===null&&c._updatedFibers&&(e=c._updatedFibers.size,c._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{c=n(s,a),Kb(e,t,c)}catch(g){Zh(e,t,g)}}function Kb(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(B.asyncTransitions++,n.then(kc,kc),n.then(function(a){Wb(e,t,a)},function(a){return Zh(e,t,a)}),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.")):Wb(e,t,n)}function Wb(e,t,n){t.status="fulfilled",t.value=n,e0(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Ib(e,n)))}function Zh(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,e0(t),t=t.next;while(t!==a)}e.action=null}function e0(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function t0(e,t){return t}function Bs(e,t){if(qe){var n=tt.formState;if(n!==null){e:{var a=Te;if(qe){if(st){t:{for(var s=st,i=Fn;s.nodeType!==8;){if(!i){s=null;break t}if(s=Mn(s.nextSibling),s===null){s=null;break t}}i=s.data,s=i===Ty||i===Bx?s:null}if(s){st=Mn(s.nextSibling),a=s.data===Ty;break e}}ko(a)}a=!1}a&&(t=n[0])}}return n=an(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t0,lastRenderedState:t},n.queue=a,n=d0.bind(null,Te,a),a.dispatch=n,a=Gh(!1),i=sm.bind(null,Te,!1,a.queue),a=an(),s={state:t,dispatch:null,action:e,pending:null},a.queue=s,n=Qw.bind(null,Te,s,i,n),s.dispatch=n,a.memoizedState=e,[t,n,!1]}function Cc(e){var t=Ie();return n0(t,et,e)}function n0(e,t,n){if(t=Yh(e,t,t0)[0],e=Ls(ua)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=hl(t)}catch(c){throw c===yi?zf:c}else a=t;t=Ie();var s=t.queue,i=s.dispatch;return n!==t.memoizedState&&(Te.flags|=2048,Hs(Kn|fn,{destroy:void 0},Fw.bind(null,s,n),null)),[a,i,e]}function Fw(e,t){e.action=t}function Mc(e){var t=Ie(),n=et;if(n!==null)return n0(t,n,e);Ie(),t=t.memoizedState,n=Ie();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Hs(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Te.updateQueue,t===null&&(t=Rc(),Te.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Qh(e){var t=an();return e={current:e},t.memoizedState=e}function Pr(e,t,n,a){var s=an();Te.flags|=e,s.memoizedState=Hs(Kn|t,{destroy:void 0},n,a===void 0?null:a)}function gn(e,t,n,a){var s=Ie();a=a===void 0?null:a;var i=s.memoizedState.inst;et!==null&&a!==null&&jh(a,et.memoizedState.deps)?s.memoizedState=Hs(t,i,n,a):(Te.flags|=e,s.memoizedState=Hs(Kn|t,i,n,a))}function Uc(e,t){(Te.mode&da)!==Ae?Pr(276826112,fn,e,t):Pr(8390656,fn,e,t)}function Jw(e){Te.flags|=4;var t=Te.updateQueue;if(t===null)t=Rc(),Te.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Fh(e){var t=an(),n={impl:e};return t.memoizedState=n,function(){if((Ze&zt)!==qt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function _c(e){var t=Ie().memoizedState;return Jw({ref:t,nextImpl:e}),function(){if((Ze&zt)!==qt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Jh(e,t){var n=4194308;return(Te.mode&da)!==Ae&&(n|=134217728),Pr(n,Vn,e,t)}function a0(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():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 Ih(e,t,n){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"),n=n!=null?n.concat([e]):null;var a=4194308;(Te.mode&da)!==Ae&&(a|=134217728),Pr(a,Vn,a0.bind(null,t,e),n)}function zc(e,t,n){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"),n=n!=null?n.concat([e]):null,gn(4,Vn,a0.bind(null,t,e),n)}function Kh(e,t){return an().memoizedState=[e,t===void 0?null:t],e}function jc(e,t){var n=Ie();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&jh(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Wh(e,t){var n=an();t=t===void 0?null:t;var a=e();if(ss){he(!0);try{e()}finally{he(!1)}}return n.memoizedState=[a,t],a}function Vc(e,t){var n=Ie();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&jh(t,a[1]))return a[0];if(a=e(),ss){he(!0);try{e()}finally{he(!1)}}return n.memoizedState=[a,t],a}function em(e,t){var n=an();return tm(n,e,t)}function o0(e,t){var n=Ie();return s0(n,et.memoizedState,e,t)}function r0(e,t){var n=Ie();return et===null?tm(n,e,t):s0(n,et.memoizedState,e,t)}function tm(e,t,n){return n===void 0||(So&1073741824)!==0&&(Ve&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=i1(),Te.lanes|=e,cr|=e,n)}function s0(e,t,n,a){return ln(n,t)?n:vi.current!==null?(e=tm(e,n,a),ln(e,t)||(wt=!0),e):(So&42)===0||(So&1073741824)!==0&&(Ve&261930)===0?(wt=!0,e.memoizedState=n):(e=i1(),Te.lanes|=e,cr|=e,t)}function kc(){B.asyncTransitions--}function i0(e,t,n,a,s){var i=Fe.p;Fe.p=i!==0&&i<Ga?i:Ga;var c=B.T,d={};d._updatedFibers=new Set,B.T=d,sm(e,!1,t,n);try{var y=s(),g=B.S;if(g!==null&&g(d,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){B.asyncTransitions++,y.then(kc,kc);var U=$w(y,a);pl(e,t,U,Cn(e))}else pl(e,t,a,Cn(e))}catch(_){pl(e,t,{then:function(){},status:"rejected",reason:_},Cn(e))}finally{Fe.p=i,c!==null&&d.types!==null&&(c.types!==null&&c.types!==d.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=d.types),B.T=c,c===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._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 nm(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var s=l0(e).queue;Pw(e),i0(e,s,t,gs,n===null?S:function(){return u0(e),n(a)})}function l0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:gs,baseState:gs,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:gs},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function u0(e){B.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=l0(e);t.next===null&&(t=e.alternate.memoizedState),pl(e,t.next.queue,{},Cn(e))}function am(){var e=Gh(!1);return e=i0.bind(null,Te,e.queue,!0,!1),an().memoizedState=e,[!1,e]}function c0(){var e=Ls(ua)[0],t=Ie().memoizedState;return[typeof e=="boolean"?e:hl(e),t]}function f0(){var e=ml(ua)[0],t=Ie().memoizedState;return[typeof e=="boolean"?e:hl(e),t]}function Gr(){return ct(Au)}function om(){var e=an(),t=tt.identifierPrefix;if(qe){var n=po,a=mo;n=(a&~(1<<32-on(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Bf++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=MC++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function rm(){return an().memoizedState=Iw.bind(null,Te)}function Iw(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=Cn(n),s=Ho(a),i=qo(n,s,a);i!==null&&(Na(a,"refresh()",e),pt(i,n,a),cl(i,n,a)),e=Th(),t!=null&&i!==null&&console.error("The seed argument is not enabled outside experimental channels."),s.payload={cache:e};return}n=n.return}}function Kw(e,t,n){var a=arguments;typeof a[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()."),a=Cn(e);var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Lc(e)?h0(t,s):(s=hh(e,t,s,a),s!==null&&(Na(a,"dispatch()",e),pt(s,e,a),m0(s,t,a)))}function d0(e,t,n){var a=arguments;typeof a[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()."),a=Cn(e),pl(e,t,n,a)&&Na(a,"setState()",e)}function pl(e,t,n,a){var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lc(e))h0(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null)){var c=B.H;B.H=ma;try{var d=t.lastRenderedState,y=i(d,n);if(s.hasEagerState=!0,s.eagerState=y,ln(y,d))return cc(e,t,s,0),tt===null&&uc(),!1}catch{}finally{B.H=c}}if(n=hh(e,t,s,a),n!==null)return pt(n,e,a),m0(n,t,a),!0}return!1}function sm(e,t,n,a){if(B.T===null&&ts===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."),a={lane:2,revertLane:Vm(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Lc(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=hh(e,n,a,2),t!==null&&(Na(2,"setOptimistic()",e),pt(t,e,2))}function Lc(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function h0(e,t){Di=Lf=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function m0(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ii(e,n)}}function im(e){if(e!==null&&typeof e!="function"){var t=String(e);fx.has(t)||(fx.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function lm(e,t,n,a){var s=e.memoizedState,i=n(a,s);if(e.mode&Kt){he(!0);try{i=n(a,s)}finally{he(!1)}}i===void 0&&(t=W(t)||"Component",ix.has(t)||(ix.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),s=i==null?s:Be({},s,i),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}function p0(e,t,n,a,s,i,c){var d=e.stateNode;if(typeof d.shouldComponentUpdate=="function"){if(n=d.shouldComponentUpdate(a,i,c),e.mode&Kt){he(!0);try{n=d.shouldComponentUpdate(a,i,c)}finally{he(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",W(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!ol(n,a)||!ol(s,i):!0}function y0(e,t,n,a){var s=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==s&&(e=q(e)||"Component",nx.has(e)||(nx.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 $r(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=Be({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function g0(e){zp(e),console.warn(`%s
121
-
122
- %s
123
- `,xi?"An error occurred in the <"+xi+"> 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 v0(e){var t=xi?"The above error occurred in the <"+xi+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((oy||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var a=e.environmentName;e=[`%o
125
-
126
- %s
127
-
128
- %s
129
- `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,Zx+" "+e[0],Qx,cd+a+cd,Fx):e.splice(0,0,Zx,Qx,cd+a+cd,Fx),e.unshift(console),a=KC.apply(console.error,e),a()}else console.error(`%o
130
-
131
- %s
132
-
133
- %s
134
- `,e,t,n)}function b0(e){zp(e)}function Bc(e,t){try{xi=t.source?q(t.source):null,oy=null;var n=t.value;if(B.actQueue!==null)B.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(s){setTimeout(function(){throw s})}}function S0(e,t,n){try{xi=n.source?q(n.source):null,oy=q(t);var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function um(e,t,n){return n=Ho(n),n.tag=Ip,n.payload={element:null},n.callback=function(){le(t.source,Bc,e,t)},n}function cm(e){return e=Ho(e),e.tag=Ip,e}function fm(e,t,n,a){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var i=a.value;e.payload=function(){return s(i)},e.callback=function(){hb(n),le(a.source,S0,t,n,a)}}var c=n.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){hb(n),le(a.source,S0,t,n,a),typeof s!="function"&&(dr===null?dr=new Set([this]):dr.add(this)),wC(this,a),typeof s=="function"||(n.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.",q(n)||"Unknown")})}function Ww(e,t,n,a,s){if(n.flags|=32768,Pa&&El(e,s),a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Vs(t,n,s,!0),qe&&(Xa=!0),n=jn.current,n!==null){switch(n.tag){case 31:case 13:return In===null?Qc():n.alternate===null&&mt===Ao&&(mt=Yf),n.flags&=-257,n.flags|=65536,n.lanes=s,a===jf?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Um(e,a,s)),!1;case 22:return n.flags|=65536,a===jf?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),Um(e,a,s)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Um(e,a,s),Qc(),!1}if(qe)return Xa=!0,t=jn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,a!==Hp&&rl(Nn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:a}),n))):(a!==Hp&&rl(Nn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:a}),n)),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,a=Nn(a,n),s=um(e.stateNode,a,s),Tc(e,s),mt!==lr&&(mt=is)),!1;var i=Nn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:a}),n);if(pu===null?pu=[i]:pu.push(i),mt!==lr&&(mt=is),t===null)return!0;a=Nn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=um(n.stateNode,a,e),Tc(n,e),!1;case 1:if(t=n.type,i=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(dr===null||!dr.has(i))))return n.flags|=65536,s&=-s,n.lanes|=s,s=cm(s),fm(s,e,n,a),Tc(n,s),!1}n=n.return}while(n!==null);return!1}function Pt(e,t,n,a){t.child=e===null?$D(t,null,n,a):rs(t,e.child,n,a)}function D0(e,t,n,a,s){n=n.render;var i=t.ref;if("ref"in a){var c={};for(var d in a)d!=="ref"&&(c[d]=a[d])}else c=a;return Hr(t),a=Vh(e,t,n,c,i,s),d=Lh(),e!==null&&!wt?(Bh(e,t,s),so(e,t,s)):(qe&&d&&bh(t),t.flags|=1,Pt(e,t,a,s),t.child)}function x0(e,t,n,a,s){if(e===null){var i=n.type;return typeof i=="function"&&!ph(i)&&i.defaultProps===void 0&&n.compare===null?(n=Vr(i),t.tag=15,t.type=n,hm(t,i),E0(e,t,n,a,s)):(e=yh(n.type,null,a,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!bm(e,s)){var c=i.memoizedProps;if(n=n.compare,n=n!==null?n:ol,n(c,a)&&e.ref===t.ref)return so(e,t,s)}return t.flags|=1,e=no(i,a),e.ref=t.ref,e.return=t,t.child=e}function E0(e,t,n,a,s){if(e!==null){var i=e.memoizedProps;if(ol(i,a)&&e.ref===t.ref&&t.type===e.type)if(wt=!1,t.pendingProps=a=i,bm(e,s))(e.flags&131072)!==0&&(wt=!0);else return t.lanes=e.lanes,so(e,t,s)}return dm(e,t,n,a,s)}function A0(e,t,n,a){var s=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Gl,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|n:n,e!==null){for(a=t.child=e.child,s=0;a!==null;)s=s|a.lanes|a.childLanes,a=a.sibling;a=s&~i}else a=0,t.child=null;return T0(e,t,i,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&bc(t,i!==null?i.cachePool:null),i!==null?Hb(t,i):Uh(t),qb(t);else return a=t.lanes=536870912,T0(e,t,i!==null?i.baseLanes|n:n,n,a)}else i!==null?(bc(t,i.cachePool),Hb(t,i),Po(t),t.memoizedState=null):(e!==null&&bc(t,null),Uh(t),Po(t));return Pt(e,t,s,n),t.child}function yl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Gl,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function T0(e,t,n,a,s){var i=Rh();return i=i===null?null:{parent:At._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&bc(t,null),Uh(t),qb(t),e!==null&&Vs(e,t,a,!0),t.childLanes=s,null}function Hc(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
135
- - <Activity %s>
136
- + <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=Yc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function N0(e,t,n){return rs(t,e.child,null,n),e=Hc(t,t.pendingProps),e.flags|=2,On(t),t.memoizedState=null,e}function eR(e,t,n){var a=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(qe){if(a.mode==="hidden")return e=Hc(t,a),t.lanes=536870912,yl(null,e);if(zh(t),(e=st)?(n=I1(e,Fn),n=n!==null&&n.data===hs?n:null,n!==null&&(a={dehydrated:n,treeContext:vb(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=yb(n),a.return=t,t.child=a,Xt=t,st=null)):n=null,n===null)throw hc(t,e),ko(t);return t.lanes=536870912,null}return Hc(t,a)}var i=e.memoizedState;if(i!==null){var c=i.dehydrated;if(zh(t),s)if(t.flags&256)t.flags&=-257,t=N0(e,t,n);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(Sb(),(n&536870912)!==0&&Zc(t),wt||Vs(e,t,n,!1),s=(n&e.childLanes)!==0,wt||s){if(a=tt,a!==null&&(c=Mr(a,n),c!==0&&c!==i.retryLane))throw i.retryLane=c,Jt(e,c),pt(a,e,c),ry;Qc(),t=N0(e,t,n)}else e=i.treeContext,st=Mn(c.nextSibling),Xt=t,qe=!0,nr=null,Xa=!1,zn=null,Fn=!1,e!==null&&bb(t,e),t=Hc(t,a),t.flags|=4096;return t}return i=e.child,a={mode:a.mode,children:a.children},(n&536870912)!==0&&(n&e.lanes)!==0&&Zc(t),e=no(i,a),e.ref=t.ref,t.child=e,e.return=t,e}function qc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function dm(e,t,n,a,s){if(n.prototype&&typeof n.prototype.render=="function"){var i=W(n)||"Unknown";dx[i]||(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.",i,i),dx[i]=!0)}return t.mode&Kt&&ha.recordLegacyContextWarning(t,null),e===null&&(hm(t,t.type),n.contextTypes&&(i=W(n)||"Unknown",mx[i]||(mx[i]=!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)",i)))),Hr(t),n=Vh(e,t,n,a,void 0,s),a=Lh(),e!==null&&!wt?(Bh(e,t,s),so(e,t,s)):(qe&&a&&bh(t),t.flags|=1,Pt(e,t,n,s),t.child)}function w0(e,t,n,a,s,i){return Hr(t),xo=-1,lu=e!==null&&e.type!==t.type,t.updateQueue=null,n=kh(t,a,n,s),Yb(e,t),a=Lh(),e!==null&&!wt?(Bh(e,t,i),so(e,t,i)):(qe&&a&&bh(t),t.flags|=1,Pt(e,t,n,i),t.child)}function R0(e,t,n,a,s){switch(h(t)){case!1:var i=t.stateNode,c=new t.type(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,c,null);break;case!0:t.flags|=128,t.flags|=65536,i=Error("Simulated error coming from DevTools");var d=s&-s;if(t.lanes|=d,c=tt,c===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");d=cm(d),fm(d,c,t,Nn(i,t)),Tc(t,d)}if(Hr(t),t.stateNode===null){if(c=tr,i=n.contextType,"contextType"in n&&i!==null&&(i===void 0||i.$$typeof!==Ha)&&!cx.has(n)&&(cx.add(n),d=i===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 i!="object"?" However, it is set to a "+typeof i+".":i.$$typeof===sp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(i).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",W(n)||"Component",d)),typeof i=="object"&&i!==null&&(c=ct(i)),i=new n(a,c),t.mode&Kt){he(!0);try{i=new n(a,c)}finally{he(!1)}}if(c=t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=ay,t.stateNode=i,i._reactInternals=t,i._reactInternalInstance=tx,typeof n.getDerivedStateFromProps=="function"&&c===null&&(c=W(n)||"Component",ax.has(c)||(ax.add(c),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.",c,i.state===null?"null":"undefined",c))),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"){var y=d=c=null;if(typeof i.componentWillMount=="function"&&i.componentWillMount.__suppressDeprecationWarning!==!0?c="componentWillMount":typeof i.UNSAFE_componentWillMount=="function"&&(c="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps.__suppressDeprecationWarning!==!0?d="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(d="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"&&i.componentWillUpdate.__suppressDeprecationWarning!==!0?y="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(y="UNSAFE_componentWillUpdate"),c!==null||d!==null||y!==null){i=W(n)||"Component";var g=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";rx.has(i)||(rx.add(i),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
137
-
138
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
139
-
140
- The above lifecycles should be removed. Learn more about this warning here:
141
- https://react.dev/link/unsafe-component-lifecycles`,i,g,c!==null?`
142
- `+c:"",d!==null?`
143
- `+d:"",y!==null?`
144
- `+y:""))}}i=t.stateNode,c=W(n)||"Component",i.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",c):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",c)),!i.getInitialState||i.getInitialState.isReactClassApproved||i.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?",c),i.getDefaultProps&&!i.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.",c),i.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),n.childContextTypes&&!ux.has(n)&&(ux.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",c)),n.contextTypes&&!lx.has(n)&&(lx.add(n),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)",c)),typeof i.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.",c),n.prototype&&n.prototype.isPureReactComponent&&typeof i.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.",W(n)||"A pure component"),typeof i.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof i.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().",c),typeof i.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof i.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c),d=i.props!==a,i.props!==void 0&&d&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c),i.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.",c,c),typeof i.getSnapshotBeforeUpdate!="function"||typeof i.componentDidUpdate=="function"||ox.has(n)||(ox.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",W(n))),typeof i.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof i.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c),(d=i.state)&&(typeof d!="object"||Ut(d))&&console.error("%s.state: must be set to an object or null",c),typeof i.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c),i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},Ch(t),c=n.contextType,i.context=typeof c=="object"&&c!==null?ct(c):tr,i.state===a&&(c=W(n)||"Component",sx.has(c)||(sx.add(c),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.",c))),t.mode&Kt&&ha.recordLegacyContextWarning(t,i),ha.recordUnsafeLifecycleWarnings(t,i),i.state=t.memoizedState,c=n.getDerivedStateFromProps,typeof c=="function"&&(lm(t,n,c,a),i.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",q(t)||"Component"),ay.enqueueReplaceState(i,i.state,null)),dl(t,a,i,s),fl(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&da)!==Ae&&(t.flags|=134217728),i=!0}else if(e===null){i=t.stateNode;var U=t.memoizedProps;d=$r(n,U),i.props=d;var _=i.context;y=n.contextType,c=tr,typeof y=="object"&&y!==null&&(c=ct(y)),g=n.getDerivedStateFromProps,y=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function",U=t.pendingProps!==U,y||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(U||_!==c)&&y0(t,i,a,c),ir=!1;var N=t.memoizedState;i.state=N,dl(t,a,i,s),fl(),_=t.memoizedState,U||N!==_||ir?(typeof g=="function"&&(lm(t,n,g,a),_=t.memoizedState),(d=ir||p0(t,n,d,a,N,_,c))?(y||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&da)!==Ae&&(t.flags|=134217728)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&da)!==Ae&&(t.flags|=134217728),t.memoizedProps=a,t.memoizedState=_),i.props=a,i.state=_,i.context=c,i=d):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&da)!==Ae&&(t.flags|=134217728),i=!1)}else{i=t.stateNode,Mh(e,t),c=t.memoizedProps,y=$r(n,c),i.props=y,g=t.pendingProps,N=i.context,_=n.contextType,d=tr,typeof _=="object"&&_!==null&&(d=ct(_)),U=n.getDerivedStateFromProps,(_=typeof U=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==g||N!==d)&&y0(t,i,a,d),ir=!1,N=t.memoizedState,i.state=N,dl(t,a,i,s),fl();var V=t.memoizedState;c!==g||N!==V||ir||e!==null&&e.dependencies!==null&&pc(e.dependencies)?(typeof U=="function"&&(lm(t,n,U,a),V=t.memoizedState),(y=ir||p0(t,n,y,a,N,V,d)||e!==null&&e.dependencies!==null&&pc(e.dependencies))?(_||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,V,d),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,V,d)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=V),i.props=a,i.state=V,i.context=d,i=y):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),i=!1)}if(d=i,qc(e,t),c=(t.flags&128)!==0,d||c){if(d=t.stateNode,Ns(t),c&&typeof n.getDerivedStateFromError!="function")n=null,un=-1;else if(n=MD(d),t.mode&Kt){he(!0);try{MD(d)}finally{he(!1)}}t.flags|=1,e!==null&&c?(t.child=rs(t,e.child,null,s),t.child=rs(t,null,n,s)):Pt(e,t,n,s),t.memoizedState=d.state,e=t.child}else e=so(e,t,s);return s=t.stateNode,i&&s.props!==a&&(Ei||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",q(t)||"a component"),Ei=!0),e}function O0(e,t,n,a){return Br(),t.flags|=256,Pt(e,t,n,a),t.child}function hm(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=W(t)||"Unknown",px[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),px[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=W(t)||"Unknown",hx[t]||(console.error("%s: Function components do not support contextType.",t),hx[t]=!0))}function mm(e){return{baseLanes:e,cachePool:wb()}}function pm(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=xn),e}function C0(e,t,n){var a,s=t.pendingProps;m(t)&&(t.flags|=128);var i=!1,c=(t.flags&128)!==0;if((a=c)||(a=e!==null&&e.memoizedState===null?!1:(Dt.current&su)!==0),a&&(i=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(qe){if(i?Yo(t):Po(t),(e=st)?(n=I1(e,Fn),n=n!==null&&n.data!==hs?n:null,n!==null&&(a={dehydrated:n,treeContext:vb(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=yb(n),a.return=t,t.child=a,Xt=t,st=null)):n=null,n===null)throw hc(t,e),ko(t);return Qm(n)?t.lanes=32:t.lanes=536870912,null}var d=s.children;if(s=s.fallback,i){Po(t);var y=t.mode;return d=Yc({mode:"hidden",children:d},y),s=kr(s,y,n,null),d.return=t,s.return=t,d.sibling=s,t.child=d,s=t.child,s.memoizedState=mm(n),s.childLanes=pm(e,a,n),t.memoizedState=sy,yl(null,s)}return Yo(t),ym(t,d)}var g=e.memoizedState;if(g!==null){var U=g.dehydrated;if(U!==null){if(c)t.flags&256?(Yo(t),t.flags&=-257,t=gm(e,t,n)):t.memoizedState!==null?(Po(t),t.child=e.child,t.flags|=128,t=null):(Po(t),d=s.fallback,y=t.mode,s=Yc({mode:"visible",children:s.children},y),d=kr(d,y,n,null),d.flags|=2,s.return=t,d.return=t,s.sibling=d,t.child=s,rs(t,e.child,null,n),s=t.child,s.memoizedState=mm(n),s.childLanes=pm(e,a,n),t.memoizedState=sy,t=yl(null,s));else if(Yo(t),Sb(),(n&536870912)!==0&&Zc(t),Qm(U)){if(a=U.nextSibling&&U.nextSibling.dataset,a){d=a.dgst;var _=a.msg;y=a.stck;var N=a.cstck}i=_,a=d,s=y,U=N,d=i,y=U,d=Error(d||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),d.stack=s||"",d.digest=a,a=y===void 0?null:y,s={value:d,source:null,stack:a},typeof a=="string"&&Bp.set(d,s),rl(s),t=gm(e,t,n)}else if(wt||Vs(e,t,n,!1),a=(n&e.childLanes)!==0,wt||a){if(a=tt,a!==null&&(s=Mr(a,n),s!==0&&s!==g.retryLane))throw g.retryLane=s,Jt(e,s),pt(a,e,s),ry;Zm(U)||Qc(),t=gm(e,t,n)}else Zm(U)?(t.flags|=192,t.child=e.child,t=null):(e=g.treeContext,st=Mn(U.nextSibling),Xt=t,qe=!0,nr=null,Xa=!1,zn=null,Fn=!1,e!==null&&bb(t,e),t=ym(t,s.children),t.flags|=4096);return t}}return i?(Po(t),d=s.fallback,y=t.mode,N=e.child,U=N.sibling,s=no(N,{mode:"hidden",children:s.children}),s.subtreeFlags=N.subtreeFlags&65011712,U!==null?d=no(U,d):(d=kr(d,y,n,null),d.flags|=2),d.return=t,s.return=t,s.sibling=d,t.child=s,yl(null,s),s=t.child,d=e.child.memoizedState,d===null?d=mm(n):(y=d.cachePool,y!==null?(N=At._currentValue,y=y.parent!==N?{parent:N,pool:N}:y):y=wb(),d={baseLanes:d.baseLanes|n,cachePool:y}),s.memoizedState=d,s.childLanes=pm(e,a,n),t.memoizedState=sy,yl(e.child,s)):(g!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Zc(t),Yo(t),n=e.child,e=n.sibling,n=no(n,{mode:"visible",children:s.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function ym(e,t){return t=Yc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Yc(e,t){return e=D(22,e,null,t),e.lanes=0,e}function gm(e,t,n){return rs(t,e.child,null,n),e=ym(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function M0(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Eh(e.return,t,n)}function vm(e,t,n,a,s,i){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:s,treeForkCount:i}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=n,c.tailMode=s,c.treeForkCount=i)}function U0(e,t,n){var a=t.pendingProps,s=a.revealOrder,i=a.tail,c=a.children,d=Dt.current;if((a=(d&su)!==0)?(d=d&bi|su,t.flags|=128):d&=bi,ae(Dt,d,t),d=s??"null",s!=="forwards"&&s!=="unstable_legacy-backwards"&&s!=="together"&&s!=="independent"&&!yx[d])if(yx[d]=!0,s==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(s==="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 s=="string")switch(s.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.',s,s.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.',s,s.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s);d=i??"null",qf[d]||(i==null?(s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&(qf[d]=!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".')):i!=="visible"&&i!=="collapsed"&&i!=="hidden"?(qf[d]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',i)):s!=="forwards"&&s!=="backwards"&&s!=="unstable_legacy-backwards"&&(qf[d]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)));e:if((s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&c!==void 0&&c!==null&&c!==!1)if(Ut(c)){for(d=0;d<c.length;d++)if(!kb(c[d],d))break e}else if(d=be(c),typeof d=="function"){if(d=d.call(c))for(var y=d.next(),g=0;!y.done;y=d.next()){if(!kb(y.value,g))break e;g++}}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?',s);if(Pt(e,t,c,n),qe?(Vo(),c=$l):c=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&M0(e,n,t);else if(e.tag===19)M0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Nc(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),vm(t,!1,s,n,i,c);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Nc(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}vm(t,!0,n,null,i,c);break;case"together":vm(t,!1,null,null,void 0,c);break;default:t.memoizedState=null}return t.child}function so(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),un=-1,cr|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Vs(e,t,n,!1),(n&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,n=no(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=no(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function bm(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&pc(e)))}function tR(e,t,n){switch(t.tag){case 3:_e(t,t.stateNode.containerInfo),Lo(t,At,e.memoizedState.cache),Br();break;case 27:case 5:se(t);break;case 4:_e(t,t.stateNode.containerInfo);break;case 10:Lo(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,zh(t),null;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(Yo(t),t.flags|=128,null):(n&t.child.childLanes)!==0?C0(e,t,n):(Yo(t),e=so(e,t,n),e!==null?e.sibling:null);Yo(t);break;case 19:var s=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Vs(e,t,n,!1),a=(n&t.childLanes)!==0),s){if(a)return U0(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ae(Dt,Dt.current,t),a)break;return null;case 22:return t.lanes=0,A0(e,t,n,t.pendingProps);case 24:Lo(t,At,e.memoizedState.cache)}return so(e,t,n)}function Sm(e,t,n){if(t._debugNeedsRemount&&e!==null){n=yh(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var s=a.child;if(s===null)throw Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw Error("Expected to find the previous sibling.");s.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)wt=!0;else{if(!bm(e,n)&&(t.flags&128)===0)return wt=!1,tR(e,t,n);wt=(e.flags&131072)!==0}else wt=!1,(a=qe)&&(Vo(),a=(t.flags&1048576)!==0),a&&(a=t.index,Vo(),gb(t,$l,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=Bo(t.elementType),t.type=e,typeof e=="function")ph(e)?(a=$r(e,a),t.tag=1,t.type=e=Vr(e),t=R0(null,t,e,a,n)):(t.tag=0,hm(t,e),t.type=e=Vr(e),t=dm(null,t,e,a,n));else{if(e!=null){if(s=e.$$typeof,s===Ul){t.tag=11,t.type=e=mh(e),t=D0(null,t,e,a,n);break e}else if(s===uf){t.tag=14,t=x0(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Un&&(t=" Did you wrap a component in React.lazy() more than once?"),n=W(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return dm(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,s=$r(a,t.pendingProps),R0(e,t,a,s,n);case 3:e:{if(_e(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var i=t.memoizedState;s=i.element,Mh(e,t),dl(t,a,null,n);var c=t.memoizedState;if(a=c.cache,Lo(t,At,a),a!==i.cache&&Ah(t,[At],n,!0),fl(),a=c.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=O0(e,t,a,n);break e}else if(a!==s){s=Nn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),rl(s),t=O0(e,t,a,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,st=Mn(e.firstChild),Xt=t,qe=!0,nr=null,Xa=!1,zn=null,Fn=!0,n=$D(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Br(),a===s){t=so(e,t,n);break e}Pt(e,t,a,n)}t=t.child}return t;case 26:return qc(e,t),e===null?(n=aS(t.type,null,t.pendingProps,null))?t.memoizedState=n:qe||(n=t.type,e=t.pendingProps,a=Ee(Fo.current),a=Kc(a).createElement(n),a[$t]=t,a[rn]=e,Gt(a,n,e),ye(a),t.stateNode=a):t.memoizedState=aS(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&qe&&(a=Ee(Fo.current),s=oe(),a=t.stateNode=tS(t.type,t.pendingProps,a,s,!1),Xa||(s=P1(a,t.type,t.pendingProps,s),s!==null&&(Lr(t,0).serverProps=s)),Xt=t,Fn=!0,s=st,Zo(t.type)?(Oy=s,st=Mn(a.firstChild)):st=s),Pt(e,t,t.pendingProps.children,n),qc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&qe&&(i=oe(),a=rh(t.type,i.ancestorInfo),s=st,(c=!s)||(c=PR(s,t.type,t.pendingProps,Fn),c!==null?(t.stateNode=c,Xa||(i=P1(c,t.type,t.pendingProps,i),i!==null&&(Lr(t,0).serverProps=i)),Xt=t,st=Mn(c.firstChild),Fn=!1,i=!0):i=!1,c=!i),c&&(a&&hc(t,s),ko(t))),se(t),s=t.type,i=t.pendingProps,c=e!==null?e.memoizedProps:null,a=i.children,$m(s,i)?a=null:c!==null&&$m(s,c)&&(t.flags|=32),t.memoizedState!==null&&(s=Vh(e,t,Zw,null,null,n),Au._currentValue=s),qc(e,t),Pt(e,t,a,n),t.child;case 6:return e===null&&qe&&(n=t.pendingProps,e=oe(),a=e.ancestorInfo.current,n=a!=null?ac(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=st,(a=!e)||(a=GR(e,t.pendingProps,Fn),a!==null?(t.stateNode=a,Xt=t,st=null,a=!0):a=!1,a=!a),a&&(n&&hc(t,e),ko(t))),null;case 13:return C0(e,t,n);case 4:return _e(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=rs(t,null,a,n):Pt(e,t,a,n),t.child;case 11:return D0(e,t,t.type,t.pendingProps,n);case 7:return Pt(e,t,t.pendingProps,n),t.child;case 8:return Pt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,Pt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,s=t.pendingProps,i=s.value,"value"in s||gx||(gx=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Lo(t,a,i),Pt(e,t,s.children,n),t.child;case 9:return s=t.type._context,a=t.pendingProps.children,typeof a!="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."),Hr(t),s=ct(s),a=Zp(a,s,void 0),t.flags|=1,Pt(e,t,a,n),t.child;case 14:return x0(e,t,t.type,t.pendingProps,n);case 15:return E0(e,t,t.type,t.pendingProps,n);case 19:return U0(e,t,n);case 31:return eR(e,t,n);case 22:return A0(e,t,n,t.pendingProps);case 24:return Hr(t),a=ct(At),e===null?(s=Rh(),s===null&&(s=tt,i=Th(),s.pooledCache=i,qr(i),i!==null&&(s.pooledCacheLanes|=n),s=i),t.memoizedState={parent:a,cache:s},Ch(t),Lo(t,At,s)):((e.lanes&n)!==0&&(Mh(e,t),dl(t,null,null,n),fl()),s=e.memoizedState,i=t.memoizedState,s.parent!==a?(s={parent:a,cache:a},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Lo(t,At,a)):(a=i.cache,Lo(t,At,a),a!==s.cache&&Ah(t,[At],n,!0))),Pt(e,t,t.pendingProps.children,n),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 io(e){e.flags|=4}function Dm(e,t,n,a,s){if((t=(e.mode&xC)!==Ae)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(f1())e.flags|=8192;else throw os=jf,Fp}else e.flags&=-16777217}function _0(e,t){if(t.type!=="stylesheet"||(t.state.loading&ea)!==ys)e.flags&=-16777217;else if(e.flags|=16777216,!lS(t))if(f1())e.flags|=8192;else throw os=jf,Fp}function Pc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Qi():536870912,e.lanes|=t,cs|=t)}function gl(e,t){if(!qe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function at(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&ze)!==Ae){for(var s=e.selfBaseDuration,i=e.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,s+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=s}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags&65011712,a|=s.flags&65011712,s.return=e,s=s.sibling;else if((e.mode&ze)!==Ae){s=e.actualDuration,i=e.selfBaseDuration;for(var c=e.child;c!==null;)n|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,s+=c.actualDuration,i+=c.treeBaseDuration,c=c.sibling;e.actualDuration=s,e.treeBaseDuration=i}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function nR(e,t,n){var a=t.pendingProps;switch(Sh(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(t),null;case 1:return at(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),oo(At,t),G(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(js(t)?(xh(),io(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Dh())),at(t),null;case 26:var s=t.type,i=t.memoizedState;return e===null?(io(t),i!==null?(at(t),_0(t,i)):(at(t),Dm(t,s,null,a,n))):i?i!==e.memoizedState?(io(t),at(t),_0(t,i)):(at(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&io(t),at(t),Dm(t,s,e,a,n)),null;case 27:if(Re(t),n=Ee(Fo.current),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&io(t);else{if(!a){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 at(t),null}e=oe(),js(t)?Db(t):(e=tS(s,a,n,e,!0),t.stateNode=e,io(t))}return at(t),null;case 5:if(Re(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&io(t);else{if(!a){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 at(t),null}var c=oe();if(js(t))Db(t);else{switch(i=Ee(Fo.current),rh(s,c.ancestorInfo),c=c.context,i=Kc(i),c){case Mi:i=i.createElementNS(ti,s);break;case id:i=i.createElementNS(yf,s);break;default:switch(s){case"svg":i=i.createElementNS(ti,s);break;case"math":i=i.createElementNS(yf,s);break;case"script":i=i.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?i.createElement(s,{is:a.is}):i.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||fa.call(qx,s)||(qx[s]=!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.",s)))}}i[$t]=t,i[rn]=a;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=i;e:switch(Gt(i,s,a),s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&io(t)}}return at(t),Dm(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&io(t);else{if(typeof a!="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=Ee(Fo.current),n=oe(),js(t)){if(e=t.stateNode,n=t.memoizedProps,s=!Xa,a=null,i=Xt,i!==null)switch(i.tag){case 3:s&&(s=W1(e,n,a),s!==null&&(Lr(t,0).serverProps=s));break;case 27:case 5:a=i.memoizedProps,s&&(s=W1(e,n,a),s!==null&&(Lr(t,0).serverProps=s))}e[$t]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||L1(e.nodeValue,n)),e||ko(t,!0)}else s=n.ancestorInfo.current,s!=null&&ac(a,s.tag,n.ancestorInfo.implicitRootScope),e=Kc(e).createTextNode(a),e[$t]=t,t.stateNode=e}return at(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=js(t),n!==null){if(e===null){if(!a)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[$t]=t,at(t),(t.mode&ze)!==Ae&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else xh(),Br(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,at(t),(t.mode&ze)!==Ae&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Dh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(On(t),t):(On(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return at(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=a,i=js(t),s!==null&&s.dehydrated!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");i[$t]=t,at(t),(t.mode&ze)!==Ae&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration))}else xh(),Br(),(t.flags&128)===0&&(s=t.memoizedState=null),t.flags|=4,at(t),(t.mode&ze)!==Ae&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration));s=!1}else s=Dh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(On(t),t):(On(t),null)}return On(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&ze)!==Ae&&ll(t),t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,s=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(s=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==s&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Pc(t,t.updateQueue),at(t),(t.mode&ze)!==Ae&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return G(t),e===null&&Lm(t.stateNode.containerInfo),at(t),null;case 10:return oo(t.type,t),at(t),null;case 19:if(ne(Dt,t),a=t.memoizedState,a===null)return at(t),null;if(s=(t.flags&128)!==0,i=a.rendering,i===null)if(s)gl(a,!1);else{if(mt!==Ao||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Nc(e),i!==null){for(t.flags|=128,gl(a,!1),e=i.updateQueue,t.updateQueue=e,Pc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)pb(n,e),n=n.sibling;return ae(Dt,Dt.current&bi|su,t),qe&&ao(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Lt()>Qf&&(t.flags|=128,s=!0,gl(a,!1),t.lanes=4194304)}else{if(!s)if(e=Nc(i),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Pc(t,e),gl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!qe)return at(t),null}else 2*Lt()-a.renderingStartTime>Qf&&n!==536870912&&(t.flags|=128,s=!0,gl(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Lt(),e.sibling=null,n=Dt.current,n=s?n&bi|su:n&bi,ae(Dt,n,t),qe&&ao(t,a.treeForkCount),e):(at(t),null);case 22:case 23:return On(t),_h(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),n=t.updateQueue,n!==null&&Pc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&ne(ns,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),oo(At,t),at(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 aR(e,t){switch(Sh(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ze)!==Ae&&ll(t),t):null;case 3:return oo(At,t),G(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Re(t),null;case 31:if(t.memoizedState!==null){if(On(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ze)!==Ae&&ll(t),t):null;case 13:if(On(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.");Br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ze)!==Ae&&ll(t),t):null;case 19:return ne(Dt,t),null;case 4:return G(t),null;case 10:return oo(t.type,t),null;case 22:case 23:return On(t),_h(t),e!==null&&ne(ns,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ze)!==Ae&&ll(t),t):null;case 24:return oo(At,t),null;case 25:return null;default:return null}}function z0(e,t){switch(Sh(t),t.tag){case 3:oo(At,t),G(t);break;case 26:case 27:case 5:Re(t);break;case 4:G(t);break;case 31:t.memoizedState!==null&&On(t);break;case 13:On(t);break;case 19:ne(Dt,t);break;case 10:oo(t.type,t);break;case 22:case 23:On(t),_h(t),e!==null&&ne(ns,t);break;case 24:oo(At,t)}}function _a(e){return(e.mode&ze)!==Ae}function j0(e,t){_a(e)?(Ua(),vl(t,e),Ma()):vl(t,e)}function xm(e,t,n){_a(e)?(Ua(),qs(n,e,t),Ma()):qs(n,e,t)}function vl(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var s=a.next;n=s;do{if((n.tag&e)===e&&(a=void 0,(e&cn)!==kf&&(Ri=!0),a=le(t,RC,n),(e&cn)!==kf&&(Ri=!1),a!==void 0&&typeof a!="function")){var i=void 0;i=(n.tag&Vn)!==0?"useLayoutEffect":(n.tag&cn)!==0?"useInsertionEffect":"useEffect";var c=void 0;c=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then=="function"?`
146
-
147
- It looks like you wrote `+i+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
148
-
149
- `+i+`(() => {
150
- async function fetchData() {
151
- // You can await here
152
- const response = await MyAPI.getData(someId);
153
- // ...
154
- }
155
- fetchData();
156
- }, [someId]); // Or [] if effect doesn't need props or state
157
-
158
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,le(t,function(d,y){console.error("%s must not return anything besides a function, which is used for clean-up.%s",d,y)},i,c)}n=n.next}while(n!==s)}}catch(d){Qe(t,t.return,d)}}function qs(e,t,n){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var i=s.next;a=i;do{if((a.tag&e)===e){var c=a.inst,d=c.destroy;d!==void 0&&(c.destroy=void 0,(e&cn)!==kf&&(Ri=!0),s=t,le(s,OC,s,n,d),(e&cn)!==kf&&(Ri=!1))}a=a.next}while(a!==i)}}catch(y){Qe(t,t.return,y)}}function V0(e,t){_a(e)?(Ua(),vl(t,e),Ma()):vl(t,e)}function Em(e,t,n){_a(e)?(Ua(),qs(n,e,t),Ma()):qs(n,e,t)}function k0(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Ei||(n.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.",q(e)||"instance"),n.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.",q(e)||"instance"));try{le(e,Bb,t,n)}catch(a){Qe(e,e.return,a)}}}function oR(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function rR(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Ei||(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.",q(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.",q(e)||"instance"));try{var s=$r(e.type,n),i=le(e,oR,t,s,a);n=vx,i!==void 0||n.has(e.type)||(n.add(e.type),le(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",q(e))})),t.__reactInternalSnapshotBeforeUpdate=i}catch(c){Qe(e,e.return,c)}}function L0(e,t,n){n.props=$r(e.type,e.memoizedProps),n.state=e.memoizedState,_a(e)?(Ua(),le(e,kD,e,t,n),Ma()):le(e,kD,e,t,n)}function sR(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(_a(e))try{Ua(),e.refCleanup=t(n)}finally{Ma()}else e.refCleanup=t(n);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().",q(e)),t.current=n}}function bl(e,t){try{le(e,sR,e)}catch(n){Qe(e,t,n)}}function za(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(_a(e))try{Ua(),le(e,a)}finally{Ma(e)}else le(e,a)}catch(s){Qe(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(_a(e))try{Ua(),le(e,n,null)}finally{Ma(e)}else le(e,n,null)}catch(s){Qe(e,t,s)}else n.current=null}function B0(e,t,n,a){var s=e.memoizedProps,i=s.id,c=s.onCommit;s=s.onRender,t=t===null?"mount":"update",Mf&&(t="nested-update"),typeof s=="function"&&s(i,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof c=="function"&&c(i,t,a,n)}function iR(e,t,n,a){var s=e.memoizedProps;e=s.id,s=s.onPostCommit,t=t===null?"mount":"update",Mf&&(t="nested-update"),typeof s=="function"&&s(e,t,a,n)}function H0(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{le(e,MR,a,t,n,e)}catch(s){Qe(e,e.return,s)}}function Am(e,t,n){try{le(e,_R,e.stateNode,e.type,n,t,e)}catch(a){Qe(e,e.return,a)}}function q0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zo(e.type)||e.tag===4}function Tm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||q0(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&&Zo(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 Nm(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(Q1(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(Q1(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=to));else if(a!==4&&(a===27&&Zo(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Nm(e,t,n),e=e.sibling;e!==null;)Nm(e,t,n),e=e.sibling}function Gc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Zo(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Gc(e,t,n),e=e.sibling;e!==null;)Gc(e,t,n),e=e.sibling}function lR(e){for(var t,n=e.return;n!==null;){if(q0(n)){t=n;break}n=n.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,n=Tm(e),Gc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Z1(n),t.flags&=-33),t=Tm(e),Gc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Tm(e),Nm(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Y0(e){var t=e.stateNode,n=e.memoizedProps;try{le(e,FR,e.type,n,t,e)}catch(a){Qe(e,e.return,a)}}function P0(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 uR(e,t){if(e=e.containerInfo,Ny=fd,e=rb(e),lh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var s=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var c=0,d=-1,y=-1,g=0,U=0,_=e,N=null;t:for(;;){for(var V;_!==n||s!==0&&_.nodeType!==3||(d=c+s),_!==i||a!==0&&_.nodeType!==3||(y=c+a),_.nodeType===3&&(c+=_.nodeValue.length),(V=_.firstChild)!==null;)N=_,_=V;for(;;){if(_===e)break t;if(N===n&&++g===s&&(d=c),N===i&&++U===a&&(y=c),(V=_.nextSibling)!==null)break;_=N,N=_.parentNode}_=V}n=d===-1||y===-1?null:{start:d,end:y}}else n=null}n=n||{start:0,end:0}}else n=null;for(wy={focusedElem:e,selectionRange:n},fd=!1,Ht=t;Ht!==null;)if(t=Ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ht=e;else for(;Ht!==null;){switch(e=t=Ht,n=e.alternate,s=e.flags,e.tag){case 0:if((s&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:(s&1024)!==0&&n!==null&&rR(e,n);break;case 3:if((s&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Xm(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xm(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&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,Ht=e;break}Ht=t.return}}function G0(e,t,n){var a=wn(),s=wa(),i=Oa(),c=Ca(),d=n.flags;switch(n.tag){case 0:case 11:case 15:ja(e,n),d&4&&j0(n,Vn|Kn);break;case 1:if(ja(e,n),d&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Ei||(e.props!==n.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.",q(n)||"instance"),e.state!==n.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.",q(n)||"instance")),_a(n)?(Ua(),le(n,Qp,n,e),Ma()):le(n,Qp,n,e);else{var y=$r(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Ei||(e.props!==n.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.",q(n)||"instance"),e.state!==n.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.",q(n)||"instance")),_a(n)?(Ua(),le(n,zD,n,e,y,t,e.__reactInternalSnapshotBeforeUpdate),Ma()):le(n,zD,n,e,y,t,e.__reactInternalSnapshotBeforeUpdate)}d&64&&k0(n),d&512&&bl(n,n.return);break;case 3:if(t=ro(),ja(e,n),d&64&&(d=n.updateQueue,d!==null)){if(y=null,n.child!==null)switch(n.child.tag){case 27:case 5:y=n.child.stateNode;break;case 1:y=n.child.stateNode}try{le(n,Bb,d,y)}catch(U){Qe(n,n.return,U)}}e.effectDuration+=gc(t);break;case 27:t===null&&d&4&&Y0(n);case 26:case 5:if(ja(e,n),t===null){if(d&4)H0(n);else if(d&64){e=n.type,t=n.memoizedProps,y=n.stateNode;try{le(n,UR,y,e,t,n)}catch(U){Qe(n,n.return,U)}}}d&512&&bl(n,n.return);break;case 12:if(d&4){d=ro(),ja(e,n),e=n.stateNode,e.effectDuration+=il(d);try{le(n,B0,n,t,ar,e.effectDuration)}catch(U){Qe(n,n.return,U)}}else ja(e,n);break;case 31:ja(e,n),d&4&&Z0(e,n);break;case 13:ja(e,n),d&4&&Q0(e,n),d&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(d=vR.bind(null,n),$R(e,d))));break;case 22:if(d=n.memoizedState!==null||Eo,!d){t=t!==null&&t.memoizedState!==null||Rt,y=Eo;var g=Rt;Eo=d,(Rt=t)&&!g?(Va(e,n,(n.subtreeFlags&8772)!==0),(n.mode&ze)!==Ae&&0<=Se&&0<=xe&&.05<xe-Se&&ic(n,Se,xe)):ja(e,n),Eo=y,Rt=g}break;case 30:break;default:ja(e,n)}(n.mode&ze)!==Ae&&0<=Se&&0<=xe&&((yt||.05<ht)&&Ta(n,Se,xe,ht,ft),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<xe-Se&&(P0(n.return.alternate,n.return)||Aa(n,Se,xe,"Mount"))),Rn(a),Ra(s),ft=i,yt=c}function $0(e){var t=e.alternate;t!==null&&(e.alternate=null,$0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&z(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 lo(e,t,n){for(n=n.child;n!==null;)X0(e,t,n),n=n.sibling}function X0(e,t,n){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(Ws,n)}catch(g){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",g))}var a=wn(),s=wa(),i=Oa(),c=Ca();switch(n.tag){case 26:Rt||za(n,t),lo(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Rt||za(n,t);var d=Ot,y=Sn;Zo(n.type)&&(Ot=n.stateNode,Sn=!1),lo(e,t,n),le(n,Rl,n.stateNode),Ot=d,Sn=y;break;case 5:Rt||za(n,t);case 6:if(d=Ot,y=Sn,Ot=null,lo(e,t,n),Ot=d,Sn=y,Ot!==null)if(Sn)try{le(n,VR,Ot,n.stateNode)}catch(g){Qe(n,t,g)}else try{le(n,jR,Ot,n.stateNode)}catch(g){Qe(n,t,g)}break;case 18:Ot!==null&&(Sn?(e=Ot,F1(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Fs(e)):F1(Ot,n.stateNode));break;case 4:d=Ot,y=Sn,Ot=n.stateNode.containerInfo,Sn=!0,lo(e,t,n),Ot=d,Sn=y;break;case 0:case 11:case 14:case 15:qs(cn,n,t),Rt||xm(n,t,Vn),lo(e,t,n);break;case 1:Rt||(za(n,t),d=n.stateNode,typeof d.componentWillUnmount=="function"&&L0(n,t,d)),lo(e,t,n);break;case 21:lo(e,t,n);break;case 22:Rt=(d=Rt)||n.memoizedState!==null,lo(e,t,n),Rt=d;break;default:lo(e,t,n)}(n.mode&ze)!==Ae&&0<=Se&&0<=xe&&(yt||.05<ht)&&Ta(n,Se,xe,ht,ft),Rn(a),Ra(s),ft=i,yt=c}function Z0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{le(t,ZR,e)}catch(n){Qe(t,t.return,n)}}}function Q0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{le(t,QR,e)}catch(n){Qe(t,t.return,n)}}function cR(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new bx),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new bx),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function $c(e,t){var n=cR(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),Pa)if(Ai!==null&&Ti!==null)El(Ti,Ai);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var s=bR.bind(null,e,a);a.then(s,s)}})}function vn(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var s=e,i=t,c=n[a],d=wn(),y=i;e:for(;y!==null;){switch(y.tag){case 27:if(Zo(y.type)){Ot=y.stateNode,Sn=!1;break e}break;case 5:Ot=y.stateNode,Sn=!1;break e;case 3:case 4:Ot=y.stateNode.containerInfo,Sn=!0;break e}y=y.return}if(Ot===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");X0(s,i,c),Ot=null,Sn=!1,(c.mode&ze)!==Ae&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(c,Se,xe,"Unmount"),Rn(d),s=c,i=s.alternate,i!==null&&(i.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)F0(t,e),t=t.sibling}function F0(e,t){var n=wn(),a=wa(),s=Oa(),i=Ca(),c=e.alternate,d=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:vn(t,e),bn(e),d&4&&(qs(cn|Kn,e,e.return),vl(cn|Kn,e),xm(e,e.return,Vn|Kn));break;case 1:if(vn(t,e),bn(e),d&512&&(Rt||c===null||za(c,c.return)),d&64&&Eo&&(d=e.updateQueue,d!==null&&(c=d.callbacks,c!==null))){var y=d.shared.hiddenCallbacks;d.shared.hiddenCallbacks=y===null?c:y.concat(c)}break;case 26:if(y=pa,vn(t,e),bn(e),d&512&&(Rt||c===null||za(c,c.return)),d&4){var g=c!==null?c.memoizedState:null;if(d=e.memoizedState,c===null)if(d===null)if(e.stateNode===null){e:{d=e.type,c=e.memoizedProps,y=y.ownerDocument||y;t:switch(d){case"title":g=y.getElementsByTagName("title")[0],(!g||g[jl]||g[$t]||g.namespaceURI===ti||g.hasAttribute("itemprop"))&&(g=y.createElement(d),y.head.insertBefore(g,y.querySelector("head > title"))),Gt(g,d,c),g[$t]=e,ye(g),d=g;break e;case"link":var U=sS("link","href",y).get(d+(c.href||""));if(U){for(var _=0;_<U.length;_++)if(g=U[_],g.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&g.getAttribute("rel")===(c.rel==null?null:c.rel)&&g.getAttribute("title")===(c.title==null?null:c.title)&&g.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){U.splice(_,1);break t}}g=y.createElement(d),Gt(g,d,c),y.head.appendChild(g);break;case"meta":if(U=sS("meta","content",y).get(d+(c.content||""))){for(_=0;_<U.length;_++)if(g=U[_],Je(c.content,"content"),g.getAttribute("content")===(c.content==null?null:""+c.content)&&g.getAttribute("name")===(c.name==null?null:c.name)&&g.getAttribute("property")===(c.property==null?null:c.property)&&g.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&g.getAttribute("charset")===(c.charSet==null?null:c.charSet)){U.splice(_,1);break t}}g=y.createElement(d),Gt(g,d,c),y.head.appendChild(g);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+d+'". This is a bug in React.')}g[$t]=e,ye(g),d=g}e.stateNode=d}else iS(y,e.type,e.stateNode);else e.stateNode=rS(y,d,e.memoizedProps);else g!==d?(g===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):g.count--,d===null?iS(y,e.type,e.stateNode):rS(y,d,e.memoizedProps)):d===null&&e.stateNode!==null&&Am(e,e.memoizedProps,c.memoizedProps)}break;case 27:vn(t,e),bn(e),d&512&&(Rt||c===null||za(c,c.return)),c!==null&&d&4&&Am(e,e.memoizedProps,c.memoizedProps);break;case 5:if(vn(t,e),bn(e),d&512&&(Rt||c===null||za(c,c.return)),e.flags&32){y=e.stateNode;try{le(e,Z1,y)}catch(ie){Qe(e,e.return,ie)}}d&4&&e.stateNode!=null&&(y=e.memoizedProps,Am(e,y,c!==null?c.memoizedProps:y)),d&1024&&(iy=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(vn(t,e),bn(e),d&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.");d=e.memoizedProps,c=c!==null?c.memoizedProps:d,y=e.stateNode;try{le(e,zR,y,c,d)}catch(ie){Qe(e,e.return,ie)}}break;case 3:if(y=ro(),ld=null,g=pa,pa=Wc(t.containerInfo),vn(t,e),pa=g,bn(e),d&4&&c!==null&&c.memoizedState.isDehydrated)try{le(e,XR,t.containerInfo)}catch(ie){Qe(e,e.return,ie)}iy&&(iy=!1,J0(e)),t.effectDuration+=gc(y);break;case 4:d=pa,pa=Wc(e.stateNode.containerInfo),vn(t,e),bn(e),pa=d;break;case 12:d=ro(),vn(t,e),bn(e),e.stateNode.effectDuration+=il(d);break;case 31:vn(t,e),bn(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,$c(e,d)));break;case 13:vn(t,e),bn(e),e.child.flags&8192&&e.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(Zf=Lt()),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,$c(e,d)));break;case 22:y=e.memoizedState!==null;var N=c!==null&&c.memoizedState!==null,V=Eo,te=Rt;if(Eo=V||y,Rt=te||N,vn(t,e),Rt=te,Eo=V,N&&!y&&!V&&!te&&(e.mode&ze)!==Ae&&0<=Se&&0<=xe&&.05<xe-Se&&ic(e,Se,xe),bn(e),d&8192)e:for(t=e.stateNode,t._visibility=y?t._visibility&~Gl:t._visibility|Gl,!y||c===null||N||Eo||Rt||(Xr(e),(e.mode&ze)!==Ae&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(e,Se,xe,"Disconnect")),c=null,t=e;;){if(t.tag===5||t.tag===26){if(c===null){N=c=t;try{g=N.stateNode,y?le(N,LR,g):le(N,qR,N.stateNode,N.memoizedProps)}catch(ie){Qe(N,N.return,ie)}}}else if(t.tag===6){if(c===null){N=t;try{U=N.stateNode,y?le(N,BR,U):le(N,YR,U,N.memoizedProps)}catch(ie){Qe(N,N.return,ie)}}}else if(t.tag===18){if(c===null){N=t;try{_=N.stateNode,y?le(N,kR,_):le(N,HR,N.stateNode)}catch(ie){Qe(N,N.return,ie)}}}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;c===t&&(c=null),t=t.return}c===t&&(c=null),t.sibling.return=t.return,t=t.sibling}d&4&&(d=e.updateQueue,d!==null&&(c=d.retryQueue,c!==null&&(d.retryQueue=null,$c(e,c))));break;case 19:vn(t,e),bn(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,$c(e,d)));break;case 30:break;case 21:break;default:vn(t,e),bn(e)}(e.mode&ze)!==Ae&&0<=Se&&0<=xe&&((yt||.05<ht)&&Ta(e,Se,xe,ht,ft),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<xe-Se&&(P0(e.return.alternate,e.return)||Aa(e,Se,xe,"Mount"))),Rn(n),Ra(a),ft=s,yt=i}function bn(e){var t=e.flags;if(t&2){try{le(e,lR,e)}catch(n){Qe(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function J0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;J0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ja(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)G0(e,t.alternate,t),t=t.sibling}function I0(e){var t=wn(),n=wa(),a=Oa(),s=Ca();switch(e.tag){case 0:case 11:case 14:case 15:xm(e,e.return,Vn),Xr(e);break;case 1:za(e,e.return);var i=e.stateNode;typeof i.componentWillUnmount=="function"&&L0(e,e.return,i),Xr(e);break;case 27:le(e,Rl,e.stateNode);case 26:case 5:za(e,e.return),Xr(e);break;case 22:e.memoizedState===null&&Xr(e);break;case 30:Xr(e);break;default:Xr(e)}(e.mode&ze)!==Ae&&0<=Se&&0<=xe&&(yt||.05<ht)&&Ta(e,Se,xe,ht,ft),Rn(t),Ra(n),ft=a,yt=s}function Xr(e){for(e=e.child;e!==null;)I0(e),e=e.sibling}function K0(e,t,n,a){var s=wn(),i=wa(),c=Oa(),d=Ca(),y=n.flags;switch(n.tag){case 0:case 11:case 15:Va(e,n,a),j0(n,Vn);break;case 1:if(Va(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&le(n,Qp,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{le(n,Xw,t,e)}catch(g){Qe(n,n.return,g)}}a&&y&64&&k0(n),bl(n,n.return);break;case 27:Y0(n);case 26:case 5:Va(e,n,a),a&&t===null&&y&4&&H0(n),bl(n,n.return);break;case 12:if(a&&y&4){y=ro(),Va(e,n,a),a=n.stateNode,a.effectDuration+=il(y);try{le(n,B0,n,t,ar,a.effectDuration)}catch(g){Qe(n,n.return,g)}}else Va(e,n,a);break;case 31:Va(e,n,a),a&&y&4&&Z0(e,n);break;case 13:Va(e,n,a),a&&y&4&&Q0(e,n);break;case 22:n.memoizedState===null&&Va(e,n,a),bl(n,n.return);break;case 30:break;default:Va(e,n,a)}(n.mode&ze)!==Ae&&0<=Se&&0<=xe&&(yt||.05<ht)&&Ta(n,Se,xe,ht,ft),Rn(s),Ra(i),ft=c,yt=d}function Va(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)K0(e,t.alternate,t,n),t=t.sibling}function wm(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&qr(e),n!=null&&sl(n))}function Rm(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(qr(t),e!=null&&sl(e))}function ca(e,t,n,a,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var i=t.sibling;W0(e,t,n,a,i!==null?i.actualStartTime:s),t=i}}function W0(e,t,n,a,s){var i=wn(),c=wa(),d=Oa(),y=Ca(),g=Wo,U=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&ze)!==Ae&&0<t.actualStartTime&&(t.flags&1)!==0&&lc(t,t.actualStartTime,s,_t,n),ca(e,t,n,a,s),U&2048&&V0(t,fn|Kn);break;case 1:(t.mode&ze)!==Ae&&0<t.actualStartTime&&((t.flags&128)!==0?ch(t,t.actualStartTime,s,[]):(t.flags&1)!==0&&lc(t,t.actualStartTime,s,_t,n)),ca(e,t,n,a,s);break;case 3:var _=ro(),N=_t;_t=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,ca(e,t,n,a,s),_t=N,U&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(qr(a),n!=null&&sl(n))),e.passiveEffectDuration+=gc(_);break;case 12:if(U&2048){U=ro(),ca(e,t,n,a,s),e=t.stateNode,e.passiveEffectDuration+=il(U);try{le(t,iR,t,t.alternate,ar,e.passiveEffectDuration)}catch(V){Qe(t,t.return,V)}}else ca(e,t,n,a,s);break;case 31:U=_t,_=t.alternate!==null?t.alternate.memoizedState:null,N=t.memoizedState,_!==null&&N===null?(N=t.deletions,N!==null&&0<N.length&&N[0].tag===18?(_t=!1,_=_.hydrationErrors,_!==null&&ch(t,t.actualStartTime,s,_)):_t=!0):_t=!1,ca(e,t,n,a,s),_t=U;break;case 13:U=_t,_=t.alternate!==null?t.alternate.memoizedState:null,N=t.memoizedState,_===null||_.dehydrated===null||N!==null&&N.dehydrated!==null?_t=!1:(N=t.deletions,N!==null&&0<N.length&&N[0].tag===18?(_t=!1,_=_.hydrationErrors,_!==null&&ch(t,t.actualStartTime,s,_)):_t=!0),ca(e,t,n,a,s),_t=U;break;case 23:break;case 22:N=t.stateNode,_=t.alternate,t.memoizedState!==null?N._visibility&ho?ca(e,t,n,a,s):Sl(e,t,n,a,s):N._visibility&ho?ca(e,t,n,a,s):(N._visibility|=ho,Ys(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),s),(t.mode&ze)===Ae||_t||(e=t.actualStartTime,0<=e&&.05<s-e&&ic(t,e,s),0<=Se&&0<=xe&&.05<xe-Se&&ic(t,Se,xe))),U&2048&&wm(_,t);break;case 24:ca(e,t,n,a,s),U&2048&&Rm(t.alternate,t);break;default:ca(e,t,n,a,s)}(t.mode&ze)!==Ae&&((e=!_t&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<s-n&&Aa(t,n,s,"Mount")),0<=Se&&0<=xe&&((yt||.05<ht)&&Ta(t,Se,xe,ht,ft),e&&.05<xe-Se&&Aa(t,Se,xe,"Mount"))),Rn(i),Ra(c),ft=d,yt=y,Wo=g}function Ys(e,t,n,a,s,i){for(s=s&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var c=t.sibling;e1(e,t,n,a,s,c!==null?c.actualStartTime:i),t=c}}function e1(e,t,n,a,s,i){var c=wn(),d=wa(),y=Oa(),g=Ca(),U=Wo;s&&(t.mode&ze)!==Ae&&0<t.actualStartTime&&(t.flags&1)!==0&&lc(t,t.actualStartTime,i,_t,n);var _=t.flags;switch(t.tag){case 0:case 11:case 15:Ys(e,t,n,a,s,i),V0(t,fn);break;case 23:break;case 22:var N=t.stateNode;t.memoizedState!==null?N._visibility&ho?Ys(e,t,n,a,s,i):Sl(e,t,n,a,i):(N._visibility|=ho,Ys(e,t,n,a,s,i)),s&&_&2048&&wm(t.alternate,t);break;case 24:Ys(e,t,n,a,s,i),s&&_&2048&&Rm(t.alternate,t);break;default:Ys(e,t,n,a,s,i)}(t.mode&ze)!==Ae&&0<=Se&&0<=xe&&(yt||.05<ht)&&Ta(t,Se,xe,ht,ft),Rn(c),Ra(d),ft=y,yt=g,Wo=U}function Sl(e,t,n,a,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var i=t.child;i!==null;){t=i.sibling;var c=e,d=n,y=a,g=t!==null?t.actualStartTime:s,U=Wo;(i.mode&ze)!==Ae&&0<i.actualStartTime&&(i.flags&1)!==0&&lc(i,i.actualStartTime,g,_t,d);var _=i.flags;switch(i.tag){case 22:Sl(c,i,d,y,g),_&2048&&wm(i.alternate,i);break;case 24:Sl(c,i,d,y,g),_&2048&&Rm(i.alternate,i);break;default:Sl(c,i,d,y,g)}Wo=U,i=t}}function Ps(e,t,n){if(e.subtreeFlags&cu)for(e=e.child;e!==null;)t1(e,t,n),e=e.sibling}function t1(e,t,n){switch(e.tag){case 26:Ps(e,t,n),e.flags&cu&&e.memoizedState!==null&&KR(n,pa,e.memoizedState,e.memoizedProps);break;case 5:Ps(e,t,n);break;case 3:case 4:var a=pa;pa=Wc(e.stateNode.containerInfo),Ps(e,t,n),pa=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=cu,cu=16777216,Ps(e,t,n),cu=a):Ps(e,t,n));break;default:Ps(e,t,n)}}function n1(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 Dl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],s=wn();Ht=a,r1(a,e),(a.mode&ze)!==Ae&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(a,Se,xe,"Unmount"),Rn(s)}n1(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)a1(e),e=e.sibling}function a1(e){var t=wn(),n=wa(),a=Oa(),s=Ca();switch(e.tag){case 0:case 11:case 15:Dl(e),e.flags&2048&&Em(e,e.return,fn|Kn);break;case 3:var i=ro();Dl(e),e.stateNode.passiveEffectDuration+=gc(i);break;case 12:i=ro(),Dl(e),e.stateNode.passiveEffectDuration+=il(i);break;case 22:i=e.stateNode,e.memoizedState!==null&&i._visibility&ho&&(e.return===null||e.return.tag!==13)?(i._visibility&=~ho,Xc(e),(e.mode&ze)!==Ae&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(e,Se,xe,"Disconnect")):Dl(e);break;default:Dl(e)}(e.mode&ze)!==Ae&&0<=Se&&0<=xe&&(yt||.05<ht)&&Ta(e,Se,xe,ht,ft),Rn(t),Ra(n),yt=s,ft=a}function Xc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],s=wn();Ht=a,r1(a,e),(a.mode&ze)!==Ae&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(a,Se,xe,"Unmount"),Rn(s)}n1(e)}for(e=e.child;e!==null;)o1(e),e=e.sibling}function o1(e){var t=wn(),n=wa(),a=Oa(),s=Ca();switch(e.tag){case 0:case 11:case 15:Em(e,e.return,fn),Xc(e);break;case 22:var i=e.stateNode;i._visibility&ho&&(i._visibility&=~ho,Xc(e));break;default:Xc(e)}(e.mode&ze)!==Ae&&0<=Se&&0<=xe&&(yt||.05<ht)&&Ta(e,Se,xe,ht,ft),Rn(t),Ra(n),yt=s,ft=a}function r1(e,t){for(;Ht!==null;){var n=Ht,a=n,s=t,i=wn(),c=wa(),d=Oa(),y=Ca();switch(a.tag){case 0:case 11:case 15:Em(a,s,fn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool,s!=null&&qr(s));break;case 24:sl(a.memoizedState.cache)}if((a.mode&ze)!==Ae&&0<=Se&&0<=xe&&(yt||.05<ht)&&Ta(a,Se,xe,ht,ft),Rn(i),Ra(c),yt=y,ft=d,a=n.child,a!==null)a.return=n,Ht=a;else e:for(n=e;Ht!==null;){if(a=Ht,i=a.sibling,c=a.return,$0(a),a===n){Ht=null;break e}if(i!==null){i.return=c,Ht=i;break e}Ht=c}}}function fR(){zC.forEach(function(e){return e()})}function s1(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||B.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Cn(e){if((Ze&zt)!==qt&&Ve!==0)return Ve&-Ve;var t=B.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Vm()):jo()}function i1(){if(xn===0)if((Ve&536870912)===0||qe){var e=df;df<<=1,(df&3932160)===0&&(df=262144),xn=e}else xn=536870912;return e=jn.current,e!==null&&(e.flags|=32),xn}function pt(e,t,n){if(Ri&&console.error("useInsertionEffect must not schedule updates."),vy&&(If=!0),(e===tt&&(Ke===ls||Ke===us)||e.cancelPendingCommit!==null)&&($s(e,0),$o(e,Ve,xn,!1)),_o(e,n),(Ze&zt)!==qt&&e===tt){if(qa)switch(t.tag){case 0:case 11:case 15:e=ke&&q(ke)||"Unknown",zx.has(e)||(zx.add(e),t=q(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:_x||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),_x=!0)}}else Pa&&Ur(e,t,n),DR(t),e===tt&&((Ze&zt)===qt&&(fr|=n),mt===lr&&$o(e,Ve,xn,!1)),ka(e)}function l1(e,t,n){if((Ze&(zt|kn))!==qt)throw Error("Should not already be working.");if(Ve!==0&&ke!==null){var a=ke,s=Lt();switch(ND){case hu:case ls:var i=Jl;rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",i,s,Gn,void 0,"primary-light")):console.timeStamp("Suspended",i,s,Gn,void 0,"primary-light"));break;case us:i=Jl,rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",i,s,Gn,void 0,"primary-light")):console.timeStamp("Action",i,s,Gn,void 0,"primary-light"));break;default:rt&&(a=s-Jl,3>a||console.timeStamp("Blocked",Jl,s,Gn,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}i=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Uo(e,t))?hR(e,t):Cm(e,t,!0);var c=n;do{if(i===Ao){Ni&&!n&&$o(e,t,0,!1),t=Ke,Jl=Tt(),ND=t;break}else{if(a=Lt(),s=e.current.alternate,c&&!dR(s)){la(t),s=Bt,i=a,!rt||i<=s||(St?St.run(console.timeStamp.bind(console,"Teared Render",s,i,$e,Pe,"error")):console.timeStamp("Teared Render",s,i,$e,Pe,"error")),Zr(t,a),i=Cm(e,t,!1),c=!1;continue}if(i===is){if(c=t,e.errorRecoveryDisabledLanes&c)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){la(t),fh(Bt,a,t,St),Zr(t,a),t=d;e:{a=e,i=c,c=pu;var y=a.current.memoizedState.isDehydrated;if(y&&($s(a,d).flags|=256),d=Cm(a,d,!1),d!==is){if(cy&&!y){a.errorRecoveryDisabledLanes|=i,fr|=i,i=lr;break e}a=dn,dn=c,a!==null&&(dn===null?dn=a:dn.push.apply(dn,a))}i=d}if(c=!1,i!==is)continue;a=Lt()}}if(i===du){la(t),fh(Bt,a,t,St),Zr(t,a),$s(e,0),$o(e,t,0,!0);break}e:{switch(n=e,i){case Ao:case du:throw Error("Root did not complete. This is a bug in React.");case lr:if((t&4194048)!==t)break;case Pf:la(t),lb(Bt,a,t,St),Zr(t,a),s=t,(s&127)!==0?Rf=a:(s&4194048)!==0&&(Of=a),$o(n,t,xn,!ur);break e;case is:dn=null;break;case Yf:case Sx:break;default:throw Error("Unknown root exit status.")}if(B.actQueue!==null)Mm(n,s,t,dn,yu,Xf,xn,fr,cs,i,null,null,Bt,a);else{if((t&62914560)===t&&(c=Zf+Ex-Lt(),10<c)){if($o(n,t,xn,!ur),Cr(n,0,!0)!==0)break e;ya=t,n.timeoutHandle=Yx(u1.bind(null,n,s,dn,yu,Xf,t,xn,fr,cs,ur,i,"Throttled",Bt,a),c);break e}u1(n,s,dn,yu,Xf,t,xn,fr,cs,ur,i,null,Bt,a)}}}break}while(!0);ka(e)}function u1(e,t,n,a,s,i,c,d,y,g,U,_,N,V){e.timeoutHandle=ps;var te=t.subtreeFlags,ie=null;if((te&8192||(te&16785408)===16785408)&&(ie={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:to},t1(t,i,ie),te=(i&62914560)===i?Zf-Lt():(i&4194048)===i?xx-Lt():0,te=WR(ie,te),te!==null)){ya=i,e.cancelPendingCommit=te(Mm.bind(null,e,t,i,n,a,s,c,d,y,U,ie,ie.waitingForViewTransition?"Waiting for the previous Animation":0<ie.count?0<ie.imgCount?"Suspended on CSS and Images":"Suspended on CSS":ie.imgCount===1?"Suspended on an Image":0<ie.imgCount?"Suspended on Images":null,N,V)),$o(e,i,c,!g);return}Mm(e,t,i,n,a,s,c,d,y,U,ie,_,N,V)}function dR(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var s=n[a],i=s.getSnapshot;s=s.value;try{if(!ln(i(),s))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function $o(e,t,n,a){t&=~fy,t&=~fr,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var s=t;0<s;){var i=31-on(s),c=1<<i;a[i]=-1,s&=~c}n!==0&&Ji(e,n,t)}function Gs(){return(Ze&(zt|kn))===qt?(Al(0),!1):!0}function Om(){if(ke!==null){if(Ke===Dn)var e=ke.return;else e=ke,mc(),Hh(e),gi=null,ru=0,e=ke;for(;e!==null;)z0(e.alternate,e),e=e.return;ke=null}}function Zr(e,t){(e&127)!==0&&(Kr=t),(e&4194048)!==0&&(vo=t),(e&62914560)!==0&&(AD=t),(e&2080374784)!==0&&(TD=t)}function $s(e,t){rt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Pe,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Pe,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Pe,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Pe,"primary-light"));var n=Bt;if(Bt=Tt(),Ve!==0&&0<n){if(la(Ve),mt===Yf||mt===lr)lb(n,Bt,t,St);else{var a=Bt,s=St;if(rt&&!(a<=n)){var i=(t&738197653)===t?"tertiary-dark":"primary-dark",c=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";s?s.run(console.timeStamp.bind(console,c,n,a,$e,Pe,i)):console.timeStamp(c,n,a,$e,Pe,i)}}Zr(Ve,Bt)}if(n=St,St=null,(t&127)!==0){St=Zl,s=0<=Za&&Za<Kr?Kr:Za,a=0<=Wr&&Wr<Kr?Kr:Wr,i=0<=a?a:0<=s?s:Bt,0<=Rf?(la(2),ub(Rf,i,t,n)):Cf&127,n=s;var d=a,y=Ql,g=0<mi,U=or===Xl,_=or===wf;if(s=Bt,a=Zl,i=Pp,c=Gp,rt){if($e="Blocking",0<n?n>s&&(n=s):n=s,0<d?d>n&&(d=n):d=n,y!==null&&n>d){var N=g?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+y,d,n,$e,Pe,N)):console.timeStamp(g?"Consecutive":"Event: "+y,d,n,$e,Pe,N)}s>n&&(d=U?"error":(t&738197653)===t?"tertiary-light":"primary-light",U=_?"Promise Resolved":U?"Cascading Update":5<s-n?"Update Blocked":"Update",_=[],c!=null&&_.push(["Component name",c]),i!=null&&_.push(["Method name",i]),n={start:n,end:s,detail:{devtools:{properties:_,track:$e,trackGroup:Pe,color:d}}},a?a.run(performance.measure.bind(performance,U,n)):performance.measure(U,n))}Za=-1.1,or=0,Gp=Pp=null,Rf=-1.1,mi=Wr,Wr=-1.1,Kr=Tt()}if((t&4194048)!==0&&(St=Fl,s=0<=bo&&bo<vo?vo:bo,n=0<=Jn&&Jn<vo?vo:Jn,a=0<=rr&&rr<vo?vo:rr,i=0<=a?a:0<=n?n:Bt,0<=Of?(la(256),ub(Of,i,t,St)):Cf&4194048,_=a,d=es,y=0<sr,g=$p===wf,i=Bt,a=Fl,c=xD,U=ED,rt&&($e="Transition",0<n?n>i&&(n=i):n=i,0<s?s>n&&(s=n):s=n,0<_?_>s&&(_=s):_=s,s>_&&d!==null&&(N=y?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+d,_,s,$e,Pe,N)):console.timeStamp(y?"Consecutive":"Event: "+d,_,s,$e,Pe,N)),n>s&&(a?a.run(console.timeStamp.bind(console,"Action",s,n,$e,Pe,"primary-dark")):console.timeStamp("Action",s,n,$e,Pe,"primary-dark")),i>n&&(s=g?"Promise Resolved":5<i-n?"Update Blocked":"Update",_=[],U!=null&&_.push(["Component name",U]),c!=null&&_.push(["Method name",c]),n={start:n,end:i,detail:{devtools:{properties:_,track:$e,trackGroup:Pe,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,s,n)):performance.measure(s,n))),Jn=bo=-1.1,$p=0,Of=-1.1,sr=rr,rr=-1.1,vo=Tt()),(t&62914560)!==0&&(Cf&62914560)!==0&&(la(4194304),dh(AD,Bt)),(t&2080374784)!==0&&(Cf&2080374784)!==0&&(la(268435456),dh(TD,Bt)),n=e.timeoutHandle,n!==ps&&(e.timeoutHandle=ps,ZC(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ya=0,Om(),tt=e,ke=n=no(e.current,null),Ve=t,Ke=Dn,Ln=null,ur=!1,Ni=Uo(e,t),cy=!1,mt=Ao,cs=xn=fy=fr=cr=0,dn=pu=null,Xf=!1,(t&8)!==0&&(t|=t&32),a=e.entangledLanes,a!==0)for(e=e.entanglements,a&=t;0<a;)s=31-on(a),i=1<<s,t|=e[s],a&=~i;return Fa=t,uc(),e=yD(),1e3<e-pD&&(B.recentlyCreatedOwnerStacks=0,pD=e),ha.discardPendingWarnings(),n}function c1(e,t){Te=null,B.H=uu,B.getCurrentStack=null,qa=!1,_n=null,t===yi||t===zf?(t=Mb(),Ke=hu):t===Fp?(t=Mb(),Ke=Dx):Ke=t===ry?uy:t!==null&&typeof t=="object"&&typeof t.then=="function"?mu:Gf,Ln=t;var n=ke;n===null?(mt=du,Bc(e,Nn(t,e.current))):n.mode&ze&&wh(n)}function f1(){var e=jn.current;return e===null?!0:(Ve&4194048)===Ve?In===null:(Ve&62914560)===Ve||(Ve&536870912)!==0?e===In:!1}function d1(){var e=B.H;return B.H=uu,e===null?uu:e}function h1(){var e=B.A;return B.A=_C,e}function Zc(e){St===null&&(St=e._debugTask==null?null:e._debugTask)}function Qc(){mt=lr,ur||(Ve&4194048)!==Ve&&jn.current!==null||(Ni=!0),(cr&134217727)===0&&(fr&134217727)===0||tt===null||$o(tt,Ve,xn,!1)}function Cm(e,t,n){var a=Ze;Ze|=zt;var s=d1(),i=h1();if(tt!==e||Ve!==t){if(Pa){var c=e.memoizedUpdaters;0<c.size&&(El(e,Ve),c.clear()),Os(e,t)}yu=null,$s(e,t)}t=!1,c=mt;e:do try{if(Ke!==Dn&&ke!==null){var d=ke,y=Ln;switch(Ke){case uy:Om(),c=Pf;break e;case hu:case ls:case us:case mu:jn.current===null&&(t=!0);var g=Ke;if(Ke=Dn,Ln=null,Xs(e,d,y,g),n&&Ni){c=Ao;break e}break;default:g=Ke,Ke=Dn,Ln=null,Xs(e,d,y,g)}}m1(),c=mt;break}catch(U){c1(e,U)}while(!0);return t&&e.shellSuspendCounter++,mc(),Ze=a,B.H=s,B.A=i,ke===null&&(tt=null,Ve=0,uc()),c}function m1(){for(;ke!==null;)p1(ke)}function hR(e,t){var n=Ze;Ze|=zt;var a=d1(),s=h1();if(tt!==e||Ve!==t){if(Pa){var i=e.memoizedUpdaters;0<i.size&&(El(e,Ve),i.clear()),Os(e,t)}yu=null,Qf=Lt()+Ax,$s(e,t)}else Ni=Uo(e,t);e:do try{if(Ke!==Dn&&ke!==null)t:switch(t=ke,i=Ln,Ke){case Gf:Ke=Dn,Ln=null,Xs(e,t,i,Gf);break;case ls:case us:if(Ob(i)){Ke=Dn,Ln=null,y1(t);break}t=function(){Ke!==ls&&Ke!==us||tt!==e||(Ke=$f),ka(e)},i.then(t,t);break e;case hu:Ke=$f;break e;case Dx:Ke=ly;break e;case $f:Ob(i)?(Ke=Dn,Ln=null,y1(t)):(Ke=Dn,Ln=null,Xs(e,t,i,$f));break;case ly:var c=null;switch(ke.tag){case 26:c=ke.memoizedState;case 5:case 27:var d=ke;if(c?lS(c):d.stateNode.complete){Ke=Dn,Ln=null;var y=d.sibling;if(y!==null)ke=y;else{var g=d.return;g!==null?(ke=g,Fc(g)):ke=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Ke=Dn,Ln=null,Xs(e,t,i,ly);break;case mu:Ke=Dn,Ln=null,Xs(e,t,i,mu);break;case uy:Om(),mt=Pf;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}B.actQueue!==null?m1():mR();break}catch(U){c1(e,U)}while(!0);return mc(),B.H=a,B.A=s,Ze=n,ke!==null?Ao:(tt=null,Ve=0,uc(),mt)}function mR(){for(;ke!==null&&!hO();)p1(ke)}function p1(e){var t=e.alternate;(e.mode&ze)!==Ae?(Nh(e),t=le(e,Sm,t,e,Fa),wh(e)):t=le(e,Sm,t,e,Fa),e.memoizedProps=e.pendingProps,t===null?Fc(e):ke=t}function y1(e){var t=le(e,pR,e);e.memoizedProps=e.pendingProps,t===null?Fc(e):ke=t}function pR(e){var t=e.alternate,n=(e.mode&ze)!==Ae;switch(n&&Nh(e),e.tag){case 15:case 0:t=w0(t,e,e.pendingProps,e.type,void 0,Ve);break;case 11:t=w0(t,e,e.pendingProps,e.type.render,e.ref,Ve);break;case 5:Hh(e);default:z0(t,e),e=ke=pb(e,Fa),t=Sm(t,e,Fa)}return n&&wh(e),t}function Xs(e,t,n,a){mc(),Hh(t),gi=null,ru=0;var s=t.return;try{if(Ww(e,s,t,n,Ve)){mt=du,Bc(e,Nn(n,e.current)),ke=null;return}}catch(i){if(s!==null)throw ke=s,i;mt=du,Bc(e,Nn(n,e.current)),ke=null;return}t.flags&32768?(qe||a===Gf?e=!0:Ni||(Ve&536870912)!==0?e=!1:(ur=e=!0,(a===ls||a===us||a===hu||a===mu)&&(a=jn.current,a!==null&&a.tag===13&&(a.flags|=16384))),g1(t,e)):Fc(t)}function Fc(e){var t=e;do{if((t.flags&32768)!==0){g1(t,ur);return}var n=t.alternate;if(e=t.return,Nh(t),n=le(t,nR,n,t,Fa),(t.mode&ze)!==Ae&&Ab(t),n!==null){ke=n;return}if(t=t.sibling,t!==null){ke=t;return}ke=t=e}while(t!==null);mt===Ao&&(mt=Sx)}function g1(e,t){do{var n=aR(e.alternate,e);if(n!==null){n.flags&=32767,ke=n;return}if((e.mode&ze)!==Ae){Ab(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){ke=e;return}ke=e=n}while(e!==null);mt=Pf,ke=null}function Mm(e,t,n,a,s,i,c,d,y,g,U,_,N,V){e.cancelPendingCommit=null;do xl();while(Ct!==hr);if(ha.flushLegacyContextWarning(),ha.flushPendingUnsafeLifecycleWarnings(),(Ze&(zt|kn))!==qt)throw Error("Should not already be working.");if(la(n),g===is?fh(N,V,n,St):a!==null?Hw(N,V,n,a,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,St):Bw(N,V,n,St),t!==null){if(n===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(i=t.lanes|t.childLanes,i|=Lp,Ku(e,n,i,c,d,y),e===tt&&(ke=tt=null,Ve=0),wi=t,mr=e,ya=n,my=i,yy=s,Cx=a,py=V,Mx=_,ga=Ff,Ux=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,SR(Ks,function(){return xu=window.event,ga===Ff&&(ga=hy),x1(),null})):(e.callbackNode=null,e.callbackPriority=0),go=null,ar=Tt(),_!==null&&qw(V,ar,_,St),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,s=Fe.p,Fe.p=Pn,c=Ze,Ze|=kn;try{uR(e,t,n)}finally{Ze=c,Fe.p=s,B.T=a}}Ct=Nx,v1(),b1(),S1()}}function v1(){if(Ct===Nx){Ct=hr;var e=mr,t=wi,n=ya,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null;var s=Fe.p;Fe.p=Pn;var i=Ze;Ze|=kn;try{Ai=n,Ti=e,vc(),F0(t,e),Ti=Ai=null,n=wy;var c=rb(e.containerInfo),d=n.focusedElem,y=n.selectionRange;if(c!==d&&d&&d.ownerDocument&&ob(d.ownerDocument.documentElement,d)){if(y!==null&&lh(d)){var g=y.start,U=y.end;if(U===void 0&&(U=g),"selectionStart"in d)d.selectionStart=g,d.selectionEnd=Math.min(U,d.value.length);else{var _=d.ownerDocument||document,N=_&&_.defaultView||window;if(N.getSelection){var V=N.getSelection(),te=d.textContent.length,ie=Math.min(y.start,te),ot=y.end===void 0?ie:Math.min(y.end,te);!V.extend&&ie>ot&&(c=ot,ot=ie,ie=c);var Ge=ab(d,ie),T=ab(d,ot);if(Ge&&T&&(V.rangeCount!==1||V.anchorNode!==Ge.node||V.anchorOffset!==Ge.offset||V.focusNode!==T.node||V.focusOffset!==T.offset)){var w=_.createRange();w.setStart(Ge.node,Ge.offset),V.removeAllRanges(),ie>ot?(V.addRange(w),V.extend(T.node,T.offset)):(w.setEnd(T.node,T.offset),V.addRange(w))}}}}for(_=[],V=d;V=V.parentNode;)V.nodeType===1&&_.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<_.length;d++){var M=_[d];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}fd=!!Ny,wy=Ny=null}finally{Ze=i,Fe.p=s,B.T=a}}e.current=t,Ct=wx}}function b1(){if(Ct===wx){Ct=hr;var e=Ux;if(e!==null){ar=Tt();var t=yo,n=ar;!rt||n<=t||console.timeStamp(e,t,n,$e,Pe,"secondary-light")}e=mr,t=wi,n=ya;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=B.T,B.T=null;var s=Fe.p;Fe.p=Pn;var i=Ze;Ze|=kn;try{Ai=n,Ti=e,vc(),G0(e,t.alternate,t),Ti=Ai=null}finally{Ze=i,Fe.p=s,B.T=a}}e=py,t=Mx,yo=Tt(),e=t===null?e:ar,t=yo,n=ga===dy,a=St,go!==null?cb(e,t,go,!1,a):!rt||t<=e||(a?a.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,$e,Pe,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,$e,Pe,n?"error":"secondary-dark")),Ct=Rx}}function S1(){if(Ct===Ox||Ct===Rx){if(Ct===Ox){var e=yo;yo=Tt();var t=yo,n=ga===dy;!rt||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,$e,Pe,n?" error":"secondary-light"),ga!==dy&&(ga=Tx)}Ct=hr,mO(),e=mr;var a=wi;t=ya,n=Cx;var s=a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;s?Ct=Jf:(Ct=hr,wi=mr=null,D1(e,e.pendingLanes),fs=0,vu=null);var i=e.pendingLanes;if(i===0&&(dr=null),s||N1(e),i=Cs(t),a=a.stateNode,It&&typeof It.onCommitFiberRoot=="function")try{var c=(a.current.flags&128)===128;switch(i){case Pn:var d=yp;break;case Ga:d=gp;break;case co:d=Ks;break;case mf:d=vp;break;default:d=Ks}It.onCommitFiberRoot(Ws,a,d,c)}catch(_){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",_))}if(Pa&&e.memoizedUpdaters.clear(),fR(),n!==null){c=B.T,d=Fe.p,Fe.p=Pn,B.T=null;try{var y=e.onRecoverableError;for(a=0;a<n.length;a++){var g=n[a],U=yR(g.stack);le(g.source,y,g.value,U)}}finally{B.T=c,Fe.p=d}}(ya&3)!==0&&xl(),ka(e),i=e.pendingLanes,(t&261930)!==0&&(i&42)!==0?(Uf=!0,e===gy?gu++:(gu=0,gy=e)):gu=0,s||Zr(t,yo),Al(0)}}function yR(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 D1(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,sl(t)))}function xl(){return v1(),b1(),S1(),x1()}function x1(){if(Ct!==Jf)return!1;var e=mr,t=my;my=0;var n=Cs(ya),a=co>n?co:n;n=B.T;var s=Fe.p;try{Fe.p=a,B.T=null;var i=yy;yy=null,a=mr;var c=ya;if(Ct=hr,wi=mr=null,ya=0,(Ze&(zt|kn))!==qt)throw Error("Cannot flush passive effects while already rendering.");la(c),vy=!0,If=!1;var d=0;if(go=null,d=Lt(),ga===Tx)dh(yo,d,NC);else{var y=yo,g=d,U=ga===hy;!rt||g<=y||(St?St.run(console.timeStamp.bind(console,U?"Waiting for Paint":"Waiting",y,g,$e,Pe,"secondary-light")):console.timeStamp(U?"Waiting for Paint":"Waiting",y,g,$e,Pe,"secondary-light"))}y=Ze,Ze|=kn;var _=a.current;vc(),a1(_);var N=a.current;_=py,vc(),W0(a,N,c,i,_),N1(a),Ze=y;var V=Lt();if(N=d,_=St,go!==null?cb(N,V,go,!0,_):!rt||V<=N||(_?_.run(console.timeStamp.bind(console,"Remaining Effects",N,V,$e,Pe,"secondary-dark")):console.timeStamp("Remaining Effects",N,V,$e,Pe,"secondary-dark")),Zr(c,V),Al(0,!1),If?a===vu?fs++:(fs=0,vu=a):fs=0,If=vy=!1,It&&typeof It.onPostCommitFiberRoot=="function")try{It.onPostCommitFiberRoot(Ws,a)}catch(ie){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",ie))}var te=a.current.stateNode;return te.effectDuration=0,te.passiveEffectDuration=0,!0}finally{Fe.p=s,B.T=n,D1(e,t)}}function E1(e,t,n){t=Nn(n,t),Tb(t),t=um(e.stateNode,t,2),e=qo(e,t,2),e!==null&&(_o(e,2),ka(e))}function Qe(e,t,n){if(Ri=!1,e.tag===3)E1(e,e,n);else{for(;t!==null;){if(t.tag===3){E1(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(dr===null||!dr.has(a))){e=Nn(n,e),Tb(e),n=cm(2),a=qo(t,n,2),a!==null&&(fm(n,a,t,e),_o(a,2),ka(a));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
-
160
- Error message:
161
-
162
- %s`,n)}}function Um(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new jC;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(n)||(cy=!0,s.add(n),a=gR.bind(null,e,t,n),Pa&&El(e,n),t.then(a,a))}function gR(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>Za&&(Kr=Za=Tt(),Zl=Nf("Promise Resolved"),or=wf):(n&4194048)!==0&&0>Jn&&(vo=Jn=Tt(),Fl=Nf("Promise Resolved"),$p=wf),s1()&&B.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
163
-
164
- When testing, code that resolves suspended data should be wrapped into act(...):
165
-
166
- act(() => {
167
- /* finish loading suspended data */
168
- });
169
- /* assert on the output */
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`),tt===e&&(Ve&n)===n&&(mt===lr||mt===Yf&&(Ve&62914560)===Ve&&Lt()-Zf<Ex?(Ze&zt)===qt&&$s(e,0):fy|=n,cs===Ve&&(cs=0)),ka(e)}function A1(e,t){t===0&&(t=Qi()),e=Jt(e,t),e!==null&&(_o(e,t),ka(e))}function vR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),A1(e,n)}function bR(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),A1(e,n)}function _m(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var a=e,s=t,i=s.type===lf;i=n||i,s.tag!==22?s.flags&67108864?i&&le(s,T1,a,s):_m(a,s,i):s.memoizedState===null&&(i&&s.flags&8192?le(s,T1,a,s):s.subtreeFlags&67108864&&le(s,_m,a,s,i)),t=t.sibling}}function T1(e,t){he(!0);try{I0(t),o1(t),K0(e,t.alternate,t,!1),e1(e,t,0,null,!1,0)}finally{he(!1)}}function N1(e){var t=!0;e.current.mode&(Kt|da)||(t=!1),_m(e,e.current,t)}function w1(e){if((Ze&zt)===qt){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=q(e)||"ReactComponent",Kf!==null){if(Kf.has(t))return;Kf.add(t)}else Kf=new Set([t]);le(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 El(e,t){Pa&&e.memoizedUpdaters.forEach(function(n){Ur(e,n,t)})}function SR(e,t){var n=B.actQueue;return n!==null?(n.push(t),LC):pp(e,t)}function DR(e){s1()&&B.actQueue===null&&le(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
172
-
173
- When testing, code that causes React state updates should be wrapped into act(...):
174
-
175
- act(() => {
176
- /* fire events that update state */
177
- });
178
- /* assert on the output */
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`,q(e))})}function ka(e){e!==Oi&&e.next===null&&(Oi===null?Wf=Oi=e:Oi=Oi.next=e),ed=!0,B.actQueue!==null?Sy||(Sy=!0,M1()):by||(by=!0,M1())}function Al(e,t){if(!Dy&&ed){Dy=!0;do for(var n=!1,a=Wf;a!==null;){if(e!==0){var s=a.pendingLanes;if(s===0)var i=0;else{var c=a.suspendedLanes,d=a.pingedLanes;i=(1<<31-on(42|e)+1)-1,i&=s&~(c&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,C1(a,i))}else i=Ve,i=Cr(a,a===tt?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==ps),(i&3)===0||Uo(a,i)||(n=!0,C1(a,i));a=a.next}while(n);Dy=!1}}function xR(){xu=window.event,zm()}function zm(){ed=Sy=by=!1;var e=0;pr!==0&&OR()&&(e=pr);for(var t=Lt(),n=null,a=Wf;a!==null;){var s=a.next,i=R1(a,t);i===0?(a.next=null,n===null?Wf=s:n.next=s,s===null&&(Oi=n)):(n=a,(e!==0||(i&3)!==0)&&(ed=!0)),a=s}Ct!==hr&&Ct!==Jf||Al(e),pr!==0&&(pr=0)}function R1(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var c=31-on(i),d=1<<c,y=s[c];y===-1?((d&n)===0||(d&a)!==0)&&(s[c]=Iu(d,t)):y<=t&&(e.expiredLanes|=d),i&=~d}if(t=tt,n=Ve,n=Cr(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ps),a=e.callbackNode,n===0||e===t&&(Ke===ls||Ke===us)||e.cancelPendingCommit!==null)return a!==null&&jm(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Uo(e,n)){if(t=n&-n,t!==e.callbackPriority||B.actQueue!==null&&a!==xy)jm(a);else return t;switch(Cs(n)){case Pn:case Ga:n=gp;break;case co:n=Ks;break;case mf:n=vp;break;default:n=Ks}return a=O1.bind(null,e),B.actQueue!==null?(B.actQueue.push(a),n=xy):n=pp(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&jm(a),e.callbackPriority=2,e.callbackNode=null,2}function O1(e,t){if(Uf=Mf=!1,xu=window.event,Ct!==hr&&Ct!==Jf)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(ga===Ff&&(ga=hy),xl()&&e.callbackNode!==n)return null;var a=Ve;return a=Cr(e,e===tt?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ps),a===0?null:(l1(e,a,t),R1(e,Lt()),e.callbackNode!=null&&e.callbackNode===n?O1.bind(null,e):null)}function C1(e,t){if(xl())return null;Mf=Uf,Uf=!1,l1(e,t,!0)}function jm(e){e!==xy&&e!==null&&dO(e)}function M1(){B.actQueue!==null&&B.actQueue.push(function(){return zm(),null}),QC(function(){(Ze&(zt|kn))!==qt?pp(yp,xR):zm()})}function Vm(){if(pr===0){var e=ts;e===0&&(e=ff,ff<<=1,(ff&261888)===0&&(ff=256)),pr=e}return pr}function U1(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Je(e,"action"),nl(""+e))}function _1(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function ER(e,t,n,a,s){if(t==="submit"&&n&&n.stateNode===s){var i=U1((s[rn]||null).action),c=a.submitter;c&&(t=(t=c[rn]||null)?U1(t.formAction):c.getAttribute("formAction"),t!==null&&(i=t,c=null));var d=new bf("action","action",null,a,s);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(pr!==0){var y=c?_1(s,c):new FormData(s),g={pending:!0,data:y,method:s.method,action:i};Object.freeze(g),nm(n,g,null,y)}}else typeof i=="function"&&(d.preventDefault(),y=c?_1(s,c):new FormData(s),g={pending:!0,data:y,method:s.method,action:i},Object.freeze(g),nm(n,g,i,y))},currentTarget:s}]})}}function Jc(e,t,n){e.currentTarget=n;try{t(e)}catch(a){zp(a)}e.currentTarget=null}function z1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var s=void 0,i=a.event;if(a=a.listeners,t)for(var c=a.length-1;0<=c;c--){var d=a[c],y=d.instance,g=d.currentTarget;if(d=d.listener,y!==s&&i.isPropagationStopped())break e;y!==null?le(y,Jc,i,d,g):Jc(i,d,g),s=y}else for(c=0;c<a.length;c++){if(d=a[c],y=d.instance,g=d.currentTarget,d=d.listener,y!==s&&i.isPropagationStopped())break e;y!==null?le(y,Jc,i,d,g):Jc(i,d,g),s=y}}}}function Ye(e,t){Ey.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[bp];n===void 0&&(n=t[bp]=new Set);var a=e+"__bubble";n.has(a)||(j1(t,e,2,!1),n.add(a))}function km(e,t,n){Ey.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 a=0;t&&(a|=4),j1(n,e,a,t)}function Lm(e){if(!e[td]){e[td]=!0,MS.forEach(function(n){n!=="selectionchange"&&(Ey.has(n)||km(n,!1,e),km(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[td]||(t[td]=!0,km("selectionchange",!1,t))}}function j1(e,t,n,a){switch(mS(t)){case Pn:var s=aO;break;case Ga:s=oO;break;default:s=ep}n=s.bind(null,t,n,e),s=void 0,!Ap||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),a?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Bm(e,t,n,a,s){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var d=a.stateNode.containerInfo;if(d===s)break;if(c===4)for(c=a.return;c!==null;){var y=c.tag;if((y===3||y===4)&&c.stateNode.containerInfo===s)return;c=c.return}for(;d!==null;){if(c=Z(d),c===null)return;if(y=c.tag,y===5||y===6||y===26||y===27){a=i=c;continue e}d=d.parentNode}}a=a.return}Xv(function(){var g=i,U=sh(n),_=[];e:{var N=mD.get(e);if(N!==void 0){var V=bf,te=e;switch(e){case"keypress":if(oc(n)===0)break e;case"keydown":case"keyup":V=WO;break;case"focusin":te="focus",V=Rp;break;case"focusout":te="blur",V=Rp;break;case"beforeblur":case"afterblur":V=Rp;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=eD;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=qO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=nC;break;case cD:case fD:case dD:V=GO;break;case hD:V=oC;break;case"scroll":case"scrollend":V=BO;break;case"wheel":V=sC;break;case"copy":case"cut":case"paste":V=XO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=nD;break;case"toggle":case"beforetoggle":V=lC}var ie=(t&4)!==0,ot=!ie&&(e==="scroll"||e==="scrollend"),Ge=ie?N!==null?N+"Capture":null:N;ie=[];for(var T=g,w;T!==null;){var M=T;if(w=M.stateNode,M=M.tag,M!==5&&M!==26&&M!==27||w===null||Ge===null||(M=al(T,Ge),M!=null&&ie.push(Tl(T,M,w))),ot)break;T=T.return}0<ie.length&&(N=new V(N,te,null,n,U),_.push({event:N,listeners:ie}))}}if((t&7)===0){e:{if(N=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",N&&n!==Vl&&(te=n.relatedTarget||n.fromElement)&&(Z(te)||te[Io]))break e;if((V||N)&&(N=U.window===U?U:(N=U.ownerDocument)?N.defaultView||N.parentWindow:window,V?(te=n.relatedTarget||n.toElement,V=g,te=te?Z(te):null,te!==null&&(ot=Y(te),ie=te.tag,te!==ot||ie!==5&&ie!==27&&ie!==6)&&(te=null)):(V=null,te=g),V!==te)){if(ie=eD,M="onMouseLeave",Ge="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(ie=nD,M="onPointerLeave",Ge="onPointerEnter",T="pointer"),ot=V==null?N:me(V),w=te==null?N:me(te),N=new ie(M,T+"leave",V,n,U),N.target=ot,N.relatedTarget=w,M=null,Z(U)===g&&(ie=new ie(Ge,T+"enter",te,n,U),ie.target=w,ie.relatedTarget=ot,M=ie),ot=M,V&&te)t:{for(ie=AR,Ge=V,T=te,w=0,M=Ge;M;M=ie(M))w++;M=0;for(var P=T;P;P=ie(P))M++;for(;0<w-M;)Ge=ie(Ge),w--;for(;0<M-w;)T=ie(T),M--;for(;w--;){if(Ge===T||T!==null&&Ge===T.alternate){ie=Ge;break t}Ge=ie(Ge),T=ie(T)}ie=null}else ie=null;V!==null&&V1(_,N,V,ie,!1),te!==null&&ot!==null&&V1(_,ot,te,ie,!0)}}e:{if(N=g?me(g):window,V=N.nodeName&&N.nodeName.toLowerCase(),V==="select"||V==="input"&&N.type==="file")var re=Wv;else if(Iv(N))if(lD)re=Vw;else{re=zw;var Ne=_w}else V=N.nodeName,!V||V.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?g&&tl(g.elementType)&&(re=Wv):re=jw;if(re&&(re=re(e,g))){Kv(_,re,n,U);break e}Ne&&Ne(e,N,g),e==="focusout"&&g&&N.type==="number"&&g.memoizedProps.value!=null&&eh(N,"number",N.value)}switch(Ne=g?me(g):window,e){case"focusin":(Iv(Ne)||Ne.contentEditable==="true")&&(si=Ne,Cp=g,Pl=null);break;case"focusout":Pl=Cp=si=null;break;case"mousedown":Mp=!0;break;case"contextmenu":case"mouseup":case"dragend":Mp=!1,sb(_,n,U);break;case"selectionchange":if(dC)break;case"keydown":case"keyup":sb(_,n,U)}var ve;if(Op)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else ri?Fv(e,n)&&(pe="onCompositionEnd"):e==="keydown"&&n.keyCode===aD&&(pe="onCompositionStart");pe&&(oD&&n.locale!=="ko"&&(ri||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&ri&&(ve=Zv()):(Ko=U,Tp="value"in Ko?Ko.value:Ko.textContent,ri=!0)),Ne=Ic(g,pe),0<Ne.length&&(pe=new tD(pe,e,null,n,U),_.push({event:pe,listeners:Ne}),ve?pe.data=ve:(ve=Jv(n),ve!==null&&(pe.data=ve)))),(ve=cC?Ow(e,n):Cw(e,n))&&(pe=Ic(g,"onBeforeInput"),0<pe.length&&(Ne=new QO("onBeforeInput","beforeinput",null,n,U),_.push({event:Ne,listeners:pe}),Ne.data=ve)),ER(_,e,g,n,U)}z1(_,t)})}function Tl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ic(e,t){for(var n=t+"Capture",a=[];e!==null;){var s=e,i=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||i===null||(s=al(e,n),s!=null&&a.unshift(Tl(e,s,i)),s=al(e,t),s!=null&&a.push(Tl(e,s,i))),e.tag===3)return a;e=e.return}return[]}function AR(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function V1(e,t,n,a,s){for(var i=t._reactName,c=[];n!==null&&n!==a;){var d=n,y=d.alternate,g=d.stateNode;if(d=d.tag,y!==null&&y===a)break;d!==5&&d!==26&&d!==27||g===null||(y=g,s?(g=al(n,i),g!=null&&c.unshift(Tl(n,g,y))):s||(g=al(n,i),g!=null&&c.push(Tl(n,g,y)))),n=n.return}c.length!==0&&e.push({event:t,listeners:c})}function Hm(e,t){Tw(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||KS||(KS=!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 n={registrationNameDependencies:Qr,possibleRegistrationNames:Sp};tl(e)||typeof t.is=="string"||ww(e,t,n),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 kt(e,t,n,a){t!==n&&(n=Xo(n),Xo(t)!==n&&(a[e]=t))}function TR(e,t,n){t.forEach(function(a){n[B1(a)]=a==="style"?Ym(e):e.getAttribute(a)})}function La(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 k1(e,t){return e=e.namespaceURI===yf||e.namespaceURI===ti?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Xo(e){return Or(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.",Rr(e)),Mo(e)),(typeof e=="string"?e:""+e).replace(BC,`
181
- `).replace(HC,"")}function L1(e,t){return t=Xo(t),Xo(e)===t}function We(e,t,n,a,s,i){switch(n){case"children":typeof a=="string"?(ac(a,t,!1),t==="body"||t==="textarea"&&a===""||el(e,a)):(typeof a=="number"||typeof a=="bigint")&&(ac(""+a,t,!1),t!=="body"&&el(e,""+a));break;case"className":ec(e,"class",a);break;case"tabIndex":ec(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ec(e,n,a);break;case"style":Pv(e,a,i);break;case"data":if(t!=="object"){ec(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){console.error(n==="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.',n,n),e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Je(a,n),a=nl(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a=="function"&&(s.encType==null&&s.method==null||od||(od=!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.")),s.target==null||ad||(ad=!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"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||s.type==="submit"||s.type==="image"||nd?t!=="button"||s.type==null||s.type==="submit"||nd?typeof a=="function"&&(s.name==null||kx||(kx=!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.')),s.formEncType==null&&s.formMethod==null||od||(od=!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.")),s.formTarget==null||ad||(ad=!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."))):(nd=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(nd=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(n==="formAction"?(t!=="input"&&We(e,t,"name",s.name,s,null),We(e,t,"formEncType",s.formEncType,s,null),We(e,t,"formMethod",s.formMethod,s,null),We(e,t,"formTarget",s.formTarget,s,null)):(We(e,t,"encType",s.encType,s,null),We(e,t,"method",s.method,s,null),We(e,t,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Je(a,n),a=nl(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&La(n,a),e.onclick=to);break;case"onScroll":a!=null&&(typeof a!="function"&&La(n,a),Ye("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&La(n,a),Ye("scrollend",e));break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}Je(a,n),n=nl(""+a),e.setAttributeNS(ds,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?(Je(a,n),e.setAttribute(n,""+a)):e.removeAttribute(n);break;case"inert":a!==""||rd[n]||(rd[n]=!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.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?(Je(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?(Je(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):(Je(a,n),e.setAttribute(n,a));break;case"popover":Ye("beforetoggle",e),Ye("toggle",e),Ms(e,"popover",a);break;case"xlinkActuate":eo(e,ds,"xlink:actuate",a);break;case"xlinkArcrole":eo(e,ds,"xlink:arcrole",a);break;case"xlinkRole":eo(e,ds,"xlink:role",a);break;case"xlinkShow":eo(e,ds,"xlink:show",a);break;case"xlinkTitle":eo(e,ds,"xlink:title",a);break;case"xlinkType":eo(e,ds,"xlink:type",a);break;case"xmlBase":eo(e,Ay,"xml:base",a);break;case"xmlLang":eo(e,Ay,"xml:lang",a);break;case"xmlSpace":eo(e,Ay,"xml:space",a);break;case"is":i!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ms(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":Lx||a==null||typeof a!="object"||(Lx=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Gv(n),Ms(e,n,a)):Qr.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&La(n,a)}}function qm(e,t,n,a,s,i){switch(n){case"style":Pv(e,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof a=="string"?el(e,a):(typeof a=="number"||typeof a=="bigint")&&el(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&La(n,a),Ye("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&La(n,a),Ye("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&La(n,a),e.onclick=to);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Qr.hasOwnProperty(n))a!=null&&typeof a!="function"&&La(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),i=e[rn]||null,i=i!=null?i[n]:null,typeof i=="function"&&e.removeEventListener(t,i,s),typeof a=="function")){typeof i!="function"&&i!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,s);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Ms(e,n,a)}}}function Gt(e,t,n){switch(Hm(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ye("error",e),Ye("load",e);var a=!1,s=!1,i;for(i in n)if(n.hasOwnProperty(i)){var c=n[i];if(c!=null)switch(i){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:We(e,t,i,c,n,null)}}s&&We(e,t,"srcSet",n.srcSet,n,null),a&&We(e,t,"src",n.src,n,null);return;case"input":nn("input",n),Ye("invalid",e);var d=i=c=s=null,y=null,g=null;for(a in n)if(n.hasOwnProperty(a)){var U=n[a];if(U!=null)switch(a){case"name":s=U;break;case"type":c=U;break;case"checked":y=U;break;case"defaultChecked":g=U;break;case"value":i=U;break;case"defaultValue":d=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:We(e,t,a,U,n,null)}}wv(e,n),Rv(e,i,d,y,g,c,s,!1);return;case"select":nn("select",n),Ye("invalid",e),a=c=i=null;for(s in n)if(n.hasOwnProperty(s)&&(d=n[s],d!=null))switch(s){case"value":i=d;break;case"defaultValue":c=d;break;case"multiple":a=d;default:We(e,t,s,d,n,null)}Mv(e,n),t=i,n=c,e.multiple=!!a,t!=null?Us(e,!!a,t,!1):n!=null&&Us(e,!!a,n,!0);return;case"textarea":nn("textarea",n),Ye("invalid",e),i=s=a=null;for(c in n)if(n.hasOwnProperty(c)&&(d=n[c],d!=null))switch(c){case"value":a=d;break;case"defaultValue":s=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:We(e,t,c,d,n,null)}Uv(e,n),zv(e,a,s,i);return;case"option":Ov(e,n);for(y in n)n.hasOwnProperty(y)&&(a=n[y],a!=null)&&(y==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":We(e,t,y,a,n,null));return;case"dialog":Ye("beforetoggle",e),Ye("toggle",e),Ye("cancel",e),Ye("close",e);break;case"iframe":case"object":Ye("load",e);break;case"video":case"audio":for(a=0;a<bu.length;a++)Ye(bu[a],e);break;case"image":Ye("error",e),Ye("load",e);break;case"details":Ye("toggle",e);break;case"embed":case"source":case"link":Ye("error",e),Ye("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(g in n)if(n.hasOwnProperty(g)&&(a=n[g],a!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:We(e,t,g,a,n,null)}return;default:if(tl(t)){for(U in n)n.hasOwnProperty(U)&&(a=n[U],a!==void 0&&qm(e,t,U,a,n,void 0));return}}for(d in n)n.hasOwnProperty(d)&&(a=n[d],a!=null&&We(e,t,d,a,n,null))}function NR(e,t,n,a){switch(Hm(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,i=null,c=null,d=null,y=null,g=null,U=null;for(V in n){var _=n[V];if(n.hasOwnProperty(V)&&_!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":y=_;default:a.hasOwnProperty(V)||We(e,t,V,null,a,_)}}for(var N in a){var V=a[N];if(_=n[N],a.hasOwnProperty(N)&&(V!=null||_!=null))switch(N){case"type":i=V;break;case"name":s=V;break;case"checked":g=V;break;case"defaultChecked":U=V;break;case"value":c=V;break;case"defaultValue":d=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:V!==_&&We(e,t,N,V,a,_)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||Vx||(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"),Vx=!0),!t||a||jx||(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"),jx=!0),Wd(e,c,d,y,g,U,i,s);return;case"select":V=c=d=N=null;for(i in n)if(y=n[i],n.hasOwnProperty(i)&&y!=null)switch(i){case"value":break;case"multiple":V=y;default:a.hasOwnProperty(i)||We(e,t,i,null,a,y)}for(s in a)if(i=a[s],y=n[s],a.hasOwnProperty(s)&&(i!=null||y!=null))switch(s){case"value":N=i;break;case"defaultValue":d=i;break;case"multiple":c=i;default:i!==y&&We(e,t,s,i,a,y)}a=d,t=c,n=V,N!=null?Us(e,!!t,N,!1):!!n!=!!t&&(a!=null?Us(e,!!t,a,!0):Us(e,!!t,t?[]:"",!1));return;case"textarea":V=N=null;for(d in n)if(s=n[d],n.hasOwnProperty(d)&&s!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:We(e,t,d,null,a,s)}for(c in a)if(s=a[c],i=n[c],a.hasOwnProperty(c)&&(s!=null||i!=null))switch(c){case"value":N=s;break;case"defaultValue":V=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:s!==i&&We(e,t,c,s,a,i)}_v(e,N,V);return;case"option":for(var te in n)N=n[te],n.hasOwnProperty(te)&&N!=null&&!a.hasOwnProperty(te)&&(te==="selected"?e.selected=!1:We(e,t,te,null,a,N));for(y in a)N=a[y],V=n[y],a.hasOwnProperty(y)&&N!==V&&(N!=null||V!=null)&&(y==="selected"?e.selected=N&&typeof N!="function"&&typeof N!="symbol":We(e,t,y,N,a,V));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 ie in n)N=n[ie],n.hasOwnProperty(ie)&&N!=null&&!a.hasOwnProperty(ie)&&We(e,t,ie,null,a,N);for(g in a)if(N=a[g],V=n[g],a.hasOwnProperty(g)&&N!==V&&(N!=null||V!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:We(e,t,g,N,a,V)}return;default:if(tl(t)){for(var ot in n)N=n[ot],n.hasOwnProperty(ot)&&N!==void 0&&!a.hasOwnProperty(ot)&&qm(e,t,ot,void 0,a,N);for(U in a)N=a[U],V=n[U],!a.hasOwnProperty(U)||N===V||N===void 0&&V===void 0||qm(e,t,U,N,a,V);return}}for(var Ge in n)N=n[Ge],n.hasOwnProperty(Ge)&&N!=null&&!a.hasOwnProperty(Ge)&&We(e,t,Ge,null,a,N);for(_ in a)N=a[_],V=n[_],!a.hasOwnProperty(_)||N===V||N==null&&V==null||We(e,t,_,N,a,V)}function B1(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Ym(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var a=e[n];t[a]=e.getPropertyValue(a)}return t}function H1(e,t,n){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 a,s=a="",i;for(i in t)if(t.hasOwnProperty(i)){var c=t[i];c!=null&&typeof c!="boolean"&&c!==""&&(i.indexOf("--")===0?(Ft(c,i),a+=s+i+":"+(""+c).trim()):typeof c!="number"||c===0||JS.has(i)?(Ft(c,i),a+=s+i.replace($S,"-$1").toLowerCase().replace(XS,"-ms-")+":"+(""+c).trim()):a+=s+i.replace($S,"-$1").toLowerCase().replace(XS,"-ms-")+":"+c+"px",s=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=Xo(a),Xo(t)!==a&&(n.style=Ym(e)))}}function Yn(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Je(a,t),e===""+a)return}kt(t,e,a,i)}function q1(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}kt(t,e,a,i)}function Pm(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(Je(a,n),e===""+a)return}kt(t,e,a,i)}function Y1(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(Je(a,t),e===""+a))return}kt(t,e,a,i)}function Gm(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Je(a,t),n=nl(""+a),e===n)return}kt(t,e,a,i)}function P1(e,t,n,a){for(var s={},i=new Set,c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:i.add(c[d].name)}if(tl(t)){for(var y in n)if(n.hasOwnProperty(y)){var g=n[y];if(g!=null){if(Qr.hasOwnProperty(y))typeof g!="function"&&La(y,g);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof g!="string"&&typeof g!="number"||kt("children",e.textContent,g,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":c=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=k1(e,g),kt(y,c,g,s));continue;case"style":i.delete(y),H1(e,g,s);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":i.delete(y.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",y);continue;case"className":i.delete("class"),c=Wu(e,"class",g),kt("className",c,g,s);continue;default:a.context===To&&t!=="svg"&&t!=="math"?i.delete(y.toLowerCase()):i.delete(y),c=Wu(e,y,g),kt(y,c,g,s)}}}}else for(g in n)if(n.hasOwnProperty(g)&&(y=n[g],y!=null)){if(Qr.hasOwnProperty(g))typeof y!="function"&&La(g,y);else if(n.suppressHydrationWarning!==!0)switch(g){case"children":typeof y!="string"&&typeof y!="number"||kt("children",e.textContent,y,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":c=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=k1(e,y),c!==y&&(s[g]={__html:c}));continue;case"className":Yn(e,g,"class",y,i,s);continue;case"tabIndex":Yn(e,g,"tabindex",y,i,s);continue;case"style":i.delete(g),H1(e,y,s);continue;case"multiple":i.delete(g),kt(g,e.multiple,y,s);continue;case"muted":i.delete(g),kt(g,e.muted,y,s);continue;case"autoFocus":i.delete("autofocus"),kt(g,e.autofocus,y,s);continue;case"data":if(t!=="object"){i.delete(g),c=e.getAttribute("data"),kt(g,c,y,s);continue}case"src":case"href":if(!(y!==""||t==="a"&&g==="href"||t==="object"&&g==="data")){console.error(g==="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.',g,g);continue}Gm(e,g,g,y,i,s);continue;case"action":case"formAction":if(c=e.getAttribute(g),typeof y=="function"){i.delete(g.toLowerCase()),g==="formAction"?(i.delete("name"),i.delete("formenctype"),i.delete("formmethod"),i.delete("formtarget")):(i.delete("enctype"),i.delete("method"),i.delete("target"));continue}else if(c===qC){i.delete(g.toLowerCase()),kt(g,"function",y,s);continue}Gm(e,g,g.toLowerCase(),y,i,s);continue;case"xlinkHref":Gm(e,g,"xlink:href",y,i,s);continue;case"contentEditable":Pm(e,g,"contenteditable",y,i,s);continue;case"spellCheck":Pm(e,g,"spellcheck",y,i,s);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Pm(e,g,g,y,i,s);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":q1(e,g,g.toLowerCase(),y,i,s);continue;case"capture":case"download":e:{d=e;var U=c=g,_=s;if(i.delete(U),d=d.getAttribute(U),d===null)switch(typeof y){case"undefined":case"function":case"symbol":break e;default:if(y===!1)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":break;case"boolean":if(y===!0&&d==="")break e;break;default:if(Je(y,c),d===""+y)break e}kt(c,d,y,_)}continue;case"cols":case"rows":case"size":case"span":e:{if(d=e,U=c=g,_=s,i.delete(U),d=d.getAttribute(U),d===null)switch(typeof y){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(y)||1>y)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(y)||1>y)&&(Je(y,c),d===""+y))break e}kt(c,d,y,_)}continue;case"rowSpan":Y1(e,g,"rowspan",y,i,s);continue;case"start":Y1(e,g,g,y,i,s);continue;case"xHeight":Yn(e,g,"x-height",y,i,s);continue;case"xlinkActuate":Yn(e,g,"xlink:actuate",y,i,s);continue;case"xlinkArcrole":Yn(e,g,"xlink:arcrole",y,i,s);continue;case"xlinkRole":Yn(e,g,"xlink:role",y,i,s);continue;case"xlinkShow":Yn(e,g,"xlink:show",y,i,s);continue;case"xlinkTitle":Yn(e,g,"xlink:title",y,i,s);continue;case"xlinkType":Yn(e,g,"xlink:type",y,i,s);continue;case"xmlBase":Yn(e,g,"xml:base",y,i,s);continue;case"xmlLang":Yn(e,g,"xml:lang",y,i,s);continue;case"xmlSpace":Yn(e,g,"xml:space",y,i,s);continue;case"inert":y!==""||rd[g]||(rd[g]=!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.",g)),q1(e,g,g,y,i,s);continue;default:if(!(2<g.length)||g[0]!=="o"&&g[0]!=="O"||g[1]!=="n"&&g[1]!=="N"){d=Gv(g),c=!1,a.context===To&&t!=="svg"&&t!=="math"?i.delete(d.toLowerCase()):(U=g.toLowerCase(),U=gf.hasOwnProperty(U)&&gf[U]||null,U!==null&&U!==g&&(c=!0,i.delete(U)),i.delete(d));e:if(U=e,_=d,d=y,xa(_))if(U.hasAttribute(_))U=U.getAttribute(_),Je(d,_),d=U===""+d?d:U;else{switch(typeof d){case"function":case"symbol":break e;case"boolean":if(U=_.toLowerCase().slice(0,5),U!=="data-"&&U!=="aria-")break e}d=d===void 0?void 0:null}else d=void 0;c||kt(g,d,y,s)}}}return 0<i.size&&n.suppressHydrationWarning!==!0&&TR(e,i,s),Object.keys(s).length===0?null:s}function wR(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 G1(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function RR(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var s=n[a],i=s.transferSize,c=s.initiatorType,d=s.duration;if(i&&d&&G1(c)){for(c=0,d=s.responseEnd,a+=1;a<n.length;a++){var y=n[a],g=y.startTime;if(g>d)break;var U=y.transferSize,_=y.initiatorType;U&&G1(_)&&(y=y.responseEnd,c+=U*(y<d?1:(d-g)/(y-g)))}if(--a,t+=8*(i+c)/(s.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 Kc(e){return e.nodeType===9?e:e.ownerDocument}function $1(e){switch(e){case ti:return Mi;case yf:return id;default:return To}}function X1(e,t){if(e===To)switch(t){case"svg":return Mi;case"math":return id;default:return To}return e===Mi&&t==="foreignObject"?To:e}function $m(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 OR(){var e=window.event;return e&&e.type==="popstate"?e===Ry?!1:(Ry=e,!0):(Ry=null,!1)}function Nl(){var e=window.event;return e&&e!==xu?e.type:null}function wl(){var e=window.event;return e&&e!==xu?e.timeStamp:-1.1}function CR(e){setTimeout(function(){throw e})}function MR(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function UR(){}function _R(e,t,n,a){NR(e,t,n,a),e[rn]=a}function Z1(e){el(e,"")}function zR(e,t,n){e.nodeValue=n}function Q1(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[rn]||null;if(t!==null){var n=ee(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,le(n,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,le(n,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 Zo(e){return e==="head"}function jR(e,t){e.removeChild(t)}function VR(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function F1(e,t){var n=t,a=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n===Du||n===sd){if(a===0){e.removeChild(s),Fs(t);return}a--}else if(n===Su||n===yr||n===ms||n===Ci||n===hs)a++;else if(n===PC)Rl(e.ownerDocument.documentElement);else if(n===$C){n=e.ownerDocument.head,Rl(n);for(var i=n.firstChild;i;){var c=i.nextSibling,d=i.nodeName;i[jl]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=c}}else n===GC&&Rl(e.ownerDocument.body);n=s}while(n);Fs(t)}function J1(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n===Du){if(e===0)break;e--}else n!==Su&&n!==yr&&n!==ms&&n!==Ci||e++;n=a}while(n)}function kR(e){J1(e,!0)}function LR(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function BR(e){e.nodeValue=""}function HR(e){J1(e,!1)}function qR(e,t){t=t[XC],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function YR(e,t){e.nodeValue=t}function Xm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Xm(n),z(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function PR(e,t,n,a){for(;e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[jl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Je(s.name,"name");var i=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Mn(e.nextSibling),e===null)break}return null}function GR(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Mn(e.nextSibling),e===null))return null;return e}function I1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Mn(e.nextSibling),e===null))return null;return e}function Zm(e){return e.data===yr||e.data===ms}function Qm(e){return e.data===Ci||e.data===yr&&e.ownerDocument.readyState!==Hx}function $R(e,t){var n=e.ownerDocument;if(e.data===ms)e._reactRetry=t;else if(e.data!==yr||n.readyState!==Hx)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Mn(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===Su||t===Ci||t===yr||t===ms||t===hs||t===Ty||t===Bx)break;if(t===Du||t===sd)return null}}return e}function K1(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,s=0;s<a.length;s++){var i=a[s];n[B1(i.name)]=i.name.toLowerCase()==="style"?Ym(e):i.value}return{type:t,props:n}}return e.nodeType===8?e.data===hs?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function W1(e,t,n){return n===null||n[YC]!==!0?(e.nodeValue===t?e=null:(t=Xo(t),e=Xo(e.nodeValue)===t?null:e.nodeValue),e):null}function Fm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Du||n===sd){if(t===0)return Mn(e.nextSibling);t--}else n!==Su&&n!==Ci&&n!==yr&&n!==ms&&n!==hs||t++}e=e.nextSibling}return null}function eS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Su||n===Ci||n===yr||n===ms||n===hs){if(t===0)return e;t--}else n!==Du&&n!==sd||t++}e=e.previousSibling}return null}function XR(e){Fs(e)}function ZR(e){Fs(e)}function QR(e){Fs(e)}function tS(e,t,n,a,s){switch(s&&rh(e,a.ancestorInfo),t=Kc(n),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 FR(e,t,n,a){if(!n[Io]&&ee(n)){var s=n.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.",s,s,s)}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(s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Gt(n,e,t),n[$t]=a,n[rn]=t}function Rl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);z(e)}function Wc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function nS(e,t,n){var a=Ui;if(a&&typeof t=="string"&&t){var s=qn(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),Xx.has(s)||(Xx.add(s),e={rel:e,crossOrigin:n,href:t},a.querySelector(s)===null&&(t=a.createElement("link"),Gt(t,"link",e),ye(t),a.head.appendChild(t)))}}function aS(e,t,n,a){var s=(s=Fo.current)?Wc(s):null;if(!s)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 n.precedence=="string"&&typeof n.href=="string"?(n=Zs(n.href),t=Ce(s).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Zs(n.href);var i=Ce(s).hoistableStyles,c=i.get(e);if(!c&&(s=s.ownerDocument||s,c={type:"stylesheet",instance:null,count:0,state:{loading:ys,preload:null}},i.set(e,c),(i=s.querySelector(Ol(e)))&&!i._p&&(c.instance=i,c.state.loading=Eu|ea),!ta.has(e))){var d={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};ta.set(e,d),i||JR(s,e,d,c.state)}if(t&&a===null)throw n=`
182
-
183
- - `+ef(t)+`
184
- + `+ef(n),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."+n);return c}if(t&&a!==null)throw n=`
185
-
186
- - `+ef(t)+`
187
- + `+ef(n),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."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Qs(n),t=Ce(s).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{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 ef(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):fa.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):fa.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):fa.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Zs(e){return'href="'+qn(e)+'"'}function Ol(e){return'link[rel="stylesheet"]['+e+"]"}function oS(e){return Be({},e,{"data-precedence":e.precedence,precedence:null})}function JR(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=Eu:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=Eu}),t.addEventListener("error",function(){return a.loading|=Gx}),Gt(t,"link",n),ye(t),e.head.appendChild(t))}function Qs(e){return'[src="'+qn(e)+'"]'}function Cl(e){return"script[async]"+e}function rS(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+qn(n.href)+'"]');if(a)return t.instance=a,ye(a),a;var s=Be({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),ye(a),Gt(a,"style",s),tf(a,n.precedence,e),t.instance=a;case"stylesheet":s=Zs(n.href);var i=e.querySelector(Ol(s));if(i)return t.state.loading|=ea,t.instance=i,ye(i),i;a=oS(n),(s=ta.get(s))&&Jm(a,s),i=(e.ownerDocument||e).createElement("link"),ye(i);var c=i;return c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),Gt(i,"link",a),t.state.loading|=ea,tf(i,n.precedence,e),t.instance=i;case"script":return i=Qs(n.src),(s=e.querySelector(Cl(i)))?(t.instance=s,ye(s),s):(a=n,(s=ta.get(i))&&(a=Be({},n),Im(a,s)),e=e.ownerDocument||e,s=e.createElement("script"),ye(s),Gt(s,"link",a),e.head.appendChild(s),t.instance=s);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&ea)===ys&&(a=t.instance,t.state.loading|=ea,tf(a,n.precedence,e));return t.instance}function tf(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,i=s,c=0;c<a.length;c++){var d=a[c];if(d.dataset.precedence===t)i=d;else if(i!==s)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Jm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Im(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function sS(e,t,n){if(ld===null){var a=new Map,s=ld=new Map;s.set(n,a)}else s=ld,a=s.get(n),a||(a=new Map,s.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var i=n[s];if(!(i[jl]||i[$t]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!==ti){var c=i.getAttribute(t)||"";c=e+c;var d=a.get(c);d?d.push(i):a.set(c,[i])}}return a}function iS(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function IR(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===Mi||t.itemProp!=null)return!a||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===""){a&&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 s=t.onError,i=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),s&&n.push("`onError`"),i!=null&&n.push("`disabled`"),s=wR(n,"and"),s+=n.length===1?" prop":" props",i=n.length===1?"an "+s:"the "+s,n.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,i,s)}a&&(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"&&a&&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"){a&&(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":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function lS(e){return!(e.type==="stylesheet"&&(e.state.loading&$x)===ys)}function KR(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&ea)===ys){if(n.instance===null){var s=Zs(a.href),i=t.querySelector(Ol(s));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=nf.bind(e),t.then(e,e)),n.state.loading|=ea,n.instance=i,ye(i);return}i=t.ownerDocument||t,a=oS(a),(s=ta.get(s))&&Jm(a,s),i=i.createElement("link"),ye(i);var c=i;c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),Gt(i,"link",a),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&$x)===ys&&(e.count++,n=nf.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function WR(e,t){return e.stylesheets&&e.count===0&&af(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&af(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},FC+t);0<e.imgBytes&&Cy===0&&(Cy=125*RR()*IC);var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&af(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Cy?50:JC)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(s)}}:null}function nf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)af(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function af(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ud=new Map,t.forEach(eO,e),ud=null,nf.call(e))}function eO(e,t){if(!(t.state.loading&ea)){var n=ud.get(e);if(n)var a=n.get(My);else{n=new Map,ud.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<s.length;i++){var c=s[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(n.set(c.dataset.precedence,c),a=c)}a&&n.set(My,a)}s=t.instance,c=s.getAttribute("data-precedence"),i=n.get(c)||a,i===a&&n.set(My,s),n.set(c,s),this.count++,a=nf.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),i?i.parentNode.insertBefore(s,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=ea}}function tO(e,t,n,a,s,i,c,d,y){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ps,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Fi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fi(0),this.hiddenUpdates=Fi(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,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=n?"hydrateRoot()":"createRoot()"}function uS(e,t,n,a,s,i,c,d,y,g,U,_){return e=new tO(e,t,n,c,y,g,U,_,d),t=DC,i===!0&&(t|=Kt|da),t|=ze,i=D(3,null,null,t),e.current=i,i.stateNode=e,t=Th(),qr(t),e.pooledCache=t,qr(t),i.memoizedState={element:a,isDehydrated:n,cache:t},Ch(i),e}function cS(e){return e?(e=tr,e):tr}function Km(e,t,n,a,s,i){if(It&&typeof It.onScheduleFiberRoot=="function")try{It.onScheduleFiberRoot(Ws,a,n)}catch(c){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",c))}s=cS(s),a.context===null?a.context=s:a.pendingContext=s,qa&&_n!==null&&!Jx&&(Jx=!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
-
189
- Check the render method of %s.`,q(_n)||"Unknown")),a=Ho(t),a.payload={element:n},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",i),a.callback=i),n=qo(e,a,t),n!==null&&(Na(t,"root.render()",null),pt(n,e,t),cl(n,e,t))}function fS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Wm(e,t){fS(e,t),(e=e.alternate)&&fS(e,t)}function dS(e){if(e.tag===13||e.tag===31){var t=Jt(e,67108864);t!==null&&pt(t,e,67108864),Wm(e,67108864)}}function hS(e){if(e.tag===13||e.tag===31){var t=Cn(e);t=zo(t);var n=Jt(e,t);n!==null&&pt(n,e,t),Wm(e,t)}}function nO(){return _n}function aO(e,t,n,a){var s=B.T;B.T=null;var i=Fe.p;try{Fe.p=Pn,ep(e,t,n,a)}finally{Fe.p=i,B.T=s}}function oO(e,t,n,a){var s=B.T;B.T=null;var i=Fe.p;try{Fe.p=Ga,ep(e,t,n,a)}finally{Fe.p=i,B.T=s}}function ep(e,t,n,a){if(fd){var s=tp(a);if(s===null)Bm(e,t,a,dd,n),pS(e,a);else if(rO(s,e,t,n,a))a.stopPropagation();else if(pS(e,a),t&4&&-1<WC.indexOf(e)){for(;s!==null;){var i=ee(s);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=Da(i.pendingLanes);if(c!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;c;){var y=1<<31-on(c);d.entanglements[1]|=y,c&=~y}ka(i),(Ze&(zt|kn))===qt&&(Qf=Lt()+Ax,Al(0))}}break;case 31:case 13:d=Jt(i,2),d!==null&&pt(d,i,2),Gs(),Wm(i,2)}if(i=tp(a),i===null&&Bm(e,t,a,dd,n),i===s)break;s=i}s!==null&&a.stopPropagation()}else Bm(e,t,a,null,n)}}function tp(e){return e=sh(e),np(e)}function np(e){if(dd=null,e=Z(e),e!==null){var t=Y(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Q(t),e!==null)return e;e=null}else if(n===31){if(e=$(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return dd=e,null}function mS(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 Pn;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 Ga;case"message":switch(pO()){case yp:return Pn;case gp:return Ga;case Ks:case yO:return co;case vp:return mf;default:return co}default:return co}}function pS(e,t){switch(e){case"focusin":case"focusout":gr=null;break;case"dragenter":case"dragleave":vr=null;break;case"mouseover":case"mouseout":br=null;break;case"pointerover":case"pointerout":Tu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nu.delete(t.pointerId)}}function Ml(e,t,n,a,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:i,targetContainers:[s]},t!==null&&(t=ee(t),t!==null&&dS(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function rO(e,t,n,a,s){switch(t){case"focusin":return gr=Ml(gr,e,t,n,a,s),!0;case"dragenter":return vr=Ml(vr,e,t,n,a,s),!0;case"mouseover":return br=Ml(br,e,t,n,a,s),!0;case"pointerover":var i=s.pointerId;return Tu.set(i,Ml(Tu.get(i)||null,e,t,n,a,s)),!0;case"gotpointercapture":return i=s.pointerId,Nu.set(i,Ml(Nu.get(i)||null,e,t,n,a,s)),!0}return!1}function yS(e){var t=Z(e.target);if(t!==null){var n=Y(t);if(n!==null){if(t=n.tag,t===13){if(t=Q(n),t!==null){e.blockedOn=t,x(e.priority,function(){hS(n)});return}}else if(t===31){if(t=$(n),t!==null){e.blockedOn=t,x(e.priority,function(){hS(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function of(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=tp(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),s=a;Vl!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Vl=s,n.target.dispatchEvent(a),Vl===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."),Vl=null}else return t=ee(n),t!==null&&dS(t),e.blockedOn=n,!1;t.shift()}return!0}function gS(e,t,n){of(e)&&n.delete(t)}function sO(){Uy=!1,gr!==null&&of(gr)&&(gr=null),vr!==null&&of(vr)&&(vr=null),br!==null&&of(br)&&(br=null),Tu.forEach(gS),Nu.forEach(gS)}function rf(e,t){e.blockedOn===t&&(e.blockedOn=null,Uy||(Uy=!0,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,sO)))}function vS(e){hd!==e&&(hd=e,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,function(){hd===e&&(hd=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],s=e[t+2];if(typeof a!="function"){if(np(a||n)===null)continue;break}var i=ee(n);i!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:s,method:n.method,action:a},Object.freeze(n),nm(i,n,a,s))}}))}function Fs(e){function t(y){return rf(y,e)}gr!==null&&rf(gr,e),vr!==null&&rf(vr,e),br!==null&&rf(br,e),Tu.forEach(t),Nu.forEach(t);for(var n=0;n<Sr.length;n++){var a=Sr[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Sr.length&&(n=Sr[0],n.blockedOn===null);)yS(n),n.blockedOn===null&&Sr.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var s=n[a],i=n[a+1],c=s[rn]||null;if(typeof i=="function")c||vS(n);else if(c){var d=null;if(i&&i.hasAttribute("formAction")){if(s=i,c=i[rn]||null)d=c.formAction;else if(np(s)!==null)continue}else d=c.action;typeof d=="function"?n[a+1]=d:(n.splice(a,3),a-=3),vS(n)}}}function bS(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return s=c})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function ap(e){this._internalRoot=e}function sf(e){this._internalRoot=e}function SS(e){e[Io]&&(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 Et=rM(),op=qu(),iO=iM(),Be=Object.assign,lO=Symbol.for("react.element"),Ba=Symbol.for("react.transitional.element"),Js=Symbol.for("react.portal"),Is=Symbol.for("react.fragment"),lf=Symbol.for("react.strict_mode"),rp=Symbol.for("react.profiler"),sp=Symbol.for("react.consumer"),Ha=Symbol.for("react.context"),Ul=Symbol.for("react.forward_ref"),ip=Symbol.for("react.suspense"),lp=Symbol.for("react.suspense_list"),uf=Symbol.for("react.memo"),Un=Symbol.for("react.lazy"),up=Symbol.for("react.activity"),uO=Symbol.for("react.memo_cache_sentinel"),DS=Symbol.iterator,cO=Symbol.for("react.client.reference"),Ut=Array.isArray,B=op.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Fe=iO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fO=Object.freeze({pending:!1,data:null,method:null,action:null}),cp=[],fp=[],uo=-1,Qo=ue(null),_l=ue(null),Fo=ue(null),cf=ue(null),zl=0,xS,ES,AS,TS,NS,wS,RS;He.__reactDisabledLog=!0;var dp,OS,hp=!1,mp=new(typeof WeakMap=="function"?WeakMap:Map),_n=null,qa=!1,fa=Object.prototype.hasOwnProperty,pp=Et.unstable_scheduleCallback,dO=Et.unstable_cancelCallback,hO=Et.unstable_shouldYield,mO=Et.unstable_requestPaint,Lt=Et.unstable_now,pO=Et.unstable_getCurrentPriorityLevel,yp=Et.unstable_ImmediatePriority,gp=Et.unstable_UserBlockingPriority,Ks=Et.unstable_NormalPriority,yO=Et.unstable_LowPriority,vp=Et.unstable_IdlePriority,gO=Et.log,vO=Et.unstable_setDisableYieldValue,Ws=null,It=null,Ya=!1,Pa=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",on=Math.clz32?Math.clz32:Rs,bO=Math.log,SO=Math.LN2,ff=256,df=262144,hf=4194304,Pn=2,Ga=8,co=32,mf=268435456,Jo=Math.random().toString(36).slice(2),$t="__reactFiber$"+Jo,rn="__reactProps$"+Jo,Io="__reactContainer$"+Jo,bp="__reactEvents$"+Jo,DO="__reactListeners$"+Jo,xO="__reactHandles$"+Jo,CS="__reactResources$"+Jo,jl="__reactMarker$"+Jo,MS=new Set,Qr={},Sp={},EO={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},AO=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]*$"),US={},_S={},TO=/[\n"\\]/g,zS=!1,jS=!1,VS=!1,kS=!1,LS=!1,BS=!1,HS=["value","defaultValue"],qS=!1,YS=/["'&<>\n\t]|^\s|\s$/,NO="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(" "),PS="applet caption html table td th marquee object template foreignObject desc title".split(" "),wO=PS.concat(["button"]),RO="dd dt li option optgroup p rp rt".split(" "),GS={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},pf={},Dp={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"]},$S=/([A-Z])/g,XS=/^ms-/,OO=/^(?:webkit|moz|o)[A-Z]/,CO=/^-ms-/,MO=/-(.)/g,ZS=/;\s*$/,ei={},xp={},QS=!1,FS=!1,JS=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(" ")),yf="http://www.w3.org/1998/Math/MathML",ti="http://www.w3.org/2000/svg",UO=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"]]),gf={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"},IS={"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},ni={},_O=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]*$"),zO=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]*$"),KS=!1,sn={},WS=/^on./,jO=/^on[^A-Z]/,VO=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]*$"),kO=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]*$"),LO=/^[\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,Vl=null,ai=null,oi=null,Ep=!1,$a=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ap=!1;if($a)try{var kl={};Object.defineProperty(kl,"passive",{get:function(){Ap=!0}}),window.addEventListener("test",kl,kl),window.removeEventListener("test",kl,kl)}catch{Ap=!1}var Ko=null,Tp=null,vf=null,Fr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bf=yn(Fr),Ll=Be({},Fr,{view:0,detail:0}),BO=yn(Ll),Np,wp,Bl,Sf=Be({},Ll,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ih,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!==Bl&&(Bl&&e.type==="mousemove"?(Np=e.screenX-Bl.screenX,wp=e.screenY-Bl.screenY):wp=Np=0,Bl=e),Np)},movementY:function(e){return"movementY"in e?e.movementY:wp}}),eD=yn(Sf),HO=Be({},Sf,{dataTransfer:0}),qO=yn(HO),YO=Be({},Ll,{relatedTarget:0}),Rp=yn(YO),PO=Be({},Fr,{animationName:0,elapsedTime:0,pseudoElement:0}),GO=yn(PO),$O=Be({},Fr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),XO=yn($O),ZO=Be({},Fr,{data:0}),tD=yn(ZO),QO=tD,FO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},JO={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"},IO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},KO=Be({},Ll,{key:function(e){if(e.key){var t=FO[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=oc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?JO[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ih,charCode:function(e){return e.type==="keypress"?oc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?oc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),WO=yn(KO),eC=Be({},Sf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nD=yn(eC),tC=Be({},Ll,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ih}),nC=yn(tC),aC=Be({},Fr,{propertyName:0,elapsedTime:0,pseudoElement:0}),oC=yn(aC),rC=Be({},Sf,{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}),sC=yn(rC),iC=Be({},Fr,{newState:0,oldState:0}),lC=yn(iC),uC=[9,13,27,32],aD=229,Op=$a&&"CompositionEvent"in window,Hl=null;$a&&"documentMode"in document&&(Hl=document.documentMode);var cC=$a&&"TextEvent"in window&&!Hl,oD=$a&&(!Op||Hl&&8<Hl&&11>=Hl),rD=32,sD=String.fromCharCode(rD),iD=!1,ri=!1,fC={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},ql=null,Yl=null,lD=!1;$a&&(lD=Mw("input")&&(!document.documentMode||9<document.documentMode));var ln=typeof Object.is=="function"?Object.is:kw,dC=$a&&"documentMode"in document&&11>=document.documentMode,si=null,Cp=null,Pl=null,Mp=!1,ii={animationend:zr("Animation","AnimationEnd"),animationiteration:zr("Animation","AnimationIteration"),animationstart:zr("Animation","AnimationStart"),transitionrun:zr("Transition","TransitionRun"),transitionstart:zr("Transition","TransitionStart"),transitioncancel:zr("Transition","TransitionCancel"),transitionend:zr("Transition","TransitionEnd")},Up={},uD={};$a&&(uD=document.createElement("div").style,"AnimationEvent"in window||(delete ii.animationend.animation,delete ii.animationiteration.animation,delete ii.animationstart.animation),"TransitionEvent"in window||delete ii.transitionend.transition);var cD=jr("animationend"),fD=jr("animationiteration"),dD=jr("animationstart"),hC=jr("transitionrun"),mC=jr("transitionstart"),pC=jr("transitioncancel"),hD=jr("transitionend"),mD=new Map,_p="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(" ");_p.push("scrollEnd");var pD=0;if(typeof performance=="object"&&typeof performance.now=="function")var yC=performance,yD=function(){return yC.now()};else{var gC=Date;yD=function(){return gC.now()}}var zp=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)},vC="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.",Df=0,jp=1,Vp=2,kp=3,xf="– ",Ef="+ ",gD="  ",rt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Gn="Components ⚛",Pe="Scheduler ⚛",$e="Blocking",Wo=!1,fo={color:"primary",properties:null,tooltipText:"",track:Gn},er={start:-0,end:-0,detail:{devtools:fo}},bC=["Changed Props",""],vD="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",SC=["Changed Props",vD],Gl=1,ho=2,$n=[],li=0,Lp=0,tr={};Object.freeze(tr);var Xn=null,ui=null,Ae=0,DC=1,ze=2,Kt=8,da=16,xC=32,bD=!1;try{var SD=Object.preventExtensions({})}catch{bD=!0}var Bp=new WeakMap,ci=[],fi=0,Af=null,$l=0,Zn=[],Qn=0,Jr=null,mo=1,po="",Xt=null,st=null,qe=!1,Xa=!1,zn=null,nr=null,Fn=!1,Hp=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."),qp=ue(null),Yp=ue(null),DD={},Tf=null,di=null,hi=!1,EC=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},AC=Et.unstable_scheduleCallback,TC=Et.unstable_NormalPriority,At={$$typeof:Ha,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Tt=Et.unstable_now,Nf=console.createTask?console.createTask:function(){return null},Xl=1,wf=2,Bt=-0,ar=-0,yo=-0,go=null,un=-1.1,Ir=-0,ht=-0,Se=-1.1,xe=-1.1,ft=null,yt=!1,Kr=-0,Za=-1.1,Zl=null,or=0,Pp=null,Gp=null,Wr=-1.1,Ql=null,mi=-1.1,Rf=-1.1,vo=-0,bo=-1.1,Jn=-1.1,$p=0,Fl=null,xD=null,ED=null,rr=-1.1,es=null,sr=-1.1,Of=-1.1,AD=-0,TD=-0,Cf=0,NC=null,ND=0,Jl=-1.1,Mf=!1,Uf=!1,Il=null,Xp=0,ts=0,pi=null,wD=B.S;B.S=function(e,t){if(xx=Lt(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>bo&&0>Jn){bo=Tt();var n=wl(),a=Nl();(n!==sr||a!==es)&&(sr=-1.1),rr=n,es=a}Gw(e,t)}wD!==null&&wD(e,t)};var ns=ue(null),ha={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Kl=[],Wl=[],eu=[],tu=[],nu=[],au=[],as=new Set;ha.recordUnsafeLifecycleWarnings=function(e,t){as.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Kl.push(e),e.mode&Kt&&typeof t.UNSAFE_componentWillMount=="function"&&Wl.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&eu.push(e),e.mode&Kt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&tu.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&nu.push(e),e.mode&Kt&&typeof t.UNSAFE_componentWillUpdate=="function"&&au.push(e))},ha.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Kl.length&&(Kl.forEach(function(d){e.add(q(d)||"Component"),as.add(d.type)}),Kl=[]);var t=new Set;0<Wl.length&&(Wl.forEach(function(d){t.add(q(d)||"Component"),as.add(d.type)}),Wl=[]);var n=new Set;0<eu.length&&(eu.forEach(function(d){n.add(q(d)||"Component"),as.add(d.type)}),eu=[]);var a=new Set;0<tu.length&&(tu.forEach(function(d){a.add(q(d)||"Component"),as.add(d.type)}),tu=[]);var s=new Set;0<nu.length&&(nu.forEach(function(d){s.add(q(d)||"Component"),as.add(d.type)}),nu=[]);var i=new Set;if(0<au.length&&(au.forEach(function(d){i.add(q(d)||"Component"),as.add(d.type)}),au=[]),0<t.size){var c=E(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
-
191
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
192
-
193
- Please update the following components: %s`,c)}0<a.size&&(c=E(a),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
194
-
195
- * Move data fetching code or side effects to componentDidUpdate.
196
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
197
-
198
- Please update the following components: %s`,c)),0<i.size&&(c=E(i),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
199
-
200
- * Move data fetching code or side effects to componentDidUpdate.
201
-
202
- Please update the following components: %s`,c)),0<e.size&&(c=E(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
-
204
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
205
- * Rename componentWillMount to UNSAFE_componentWillMount 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.
206
-
207
- Please update the following components: %s`,c)),0<n.size&&(c=E(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
208
-
209
- * Move data fetching code or side effects to componentDidUpdate.
210
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
211
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps 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.
212
-
213
- Please update the following components: %s`,c)),0<s.size&&(c=E(s),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
214
-
215
- * Move data fetching code or side effects to componentDidUpdate.
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
-
218
- Please update the following components: %s`,c))};var _f=new Map,RD=new Set;ha.recordLegacyContextWarning=function(e,t){for(var n=null,a=e;a!==null;)a.mode&Kt&&(n=a),a=a.return;n===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."):!RD.has(e.type)&&(a=_f.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],_f.set(n,a)),a.push(e))},ha.flushLegacyContextWarning=function(){_f.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(s){n.add(q(s)||"Component"),RD.add(s.type)});var a=E(n);le(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
219
-
220
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
221
-
222
- Please update the following components: %s
223
-
224
- Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}})},ha.discardPendingWarnings=function(){Kl=[],Wl=[],eu=[],tu=[],nu=[],au=[],_f=new Map};var OD={react_stack_bottom_frame:function(e,t,n){var a=qa;qa=!0;try{return e(t,n)}finally{qa=a}}},Zp=OD.react_stack_bottom_frame.bind(OD),CD={react_stack_bottom_frame:function(e){var t=qa;qa=!0;try{return e.render()}finally{qa=t}}},MD=CD.react_stack_bottom_frame.bind(CD),UD={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){Qe(e,e.return,n)}}},Qp=UD.react_stack_bottom_frame.bind(UD),_D={react_stack_bottom_frame:function(e,t,n,a,s){try{t.componentDidUpdate(n,a,s)}catch(i){Qe(e,e.return,i)}}},zD=_D.react_stack_bottom_frame.bind(_D),jD={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},wC=jD.react_stack_bottom_frame.bind(jD),VD={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){Qe(e,t,a)}}},kD=VD.react_stack_bottom_frame.bind(VD),LD={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},RC=LD.react_stack_bottom_frame.bind(LD),BD={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){Qe(e,t,a)}}},OC=BD.react_stack_bottom_frame.bind(BD),HD={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},CC=HD.react_stack_bottom_frame.bind(HD),yi=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`."),Fp=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."),zf=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."),jf={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.')}},os=null,ou=!1,gi=null,ru=0,je=null,Jp,qD=Jp=!1,YD={},PD={},GD={};b=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._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.");n._store.validated=1;var a=q(e),s=a||"null";if(!YD[s]){YD[s]=!0,n=n._owner,e=e._debugOwner;var i="";e&&typeof e.tag=="number"&&(s=q(e))&&(i=`
225
-
226
- Check the render method of \``+s+"`."),i||a&&(i=`
227
-
228
- Check the top-level render call using <`+a+">.");var c="";n!=null&&e!==n&&(a=null,typeof n.tag=="number"?a=q(n):typeof n.name=="string"&&(a=n.name),a&&(c=" It was passed a child from "+a+".")),le(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.',i,c)})}}};var rs=Vb(!0),$D=Vb(!1),XD=0,ZD=1,QD=2,Ip=3,ir=!1,FD=!1,Kp=null,Wp=!1,vi=ue(null),Vf=ue(0),jn=ue(null),In=null,bi=1,su=2,Dt=ue(0),kf=0,Kn=1,cn=2,Vn=4,fn=8,Si,JD=new Set,ID=new Set,ey=new Set,KD=new Set,So=0,Te=null,et=null,Nt=null,Lf=!1,Di=!1,ss=!1,Bf=0,iu=0,Do=null,MC=0,UC=25,k=null,Wn=null,xo=-1,lu=!1,uu={readContext:ct,use:Go,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useLayoutEffect:bt,useInsertionEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useSyncExternalStore:bt,useId:bt,useHostTransitionStatus:bt,useFormState:bt,useActionState:bt,useOptimistic:bt,useMemoCache:bt,useCacheRefresh:bt};uu.useEffectEvent=bt;var ty=null,WD=null,ny=null,ex=null,Qa=null,ma=null,Hf=null;ty={readContext:function(e){return ct(e)},use:Go,useCallback:function(e,t){return k="useCallback",Le(),ks(t),Kh(e,t)},useContext:function(e){return k="useContext",Le(),ct(e)},useEffect:function(e,t){return k="useEffect",Le(),ks(t),Uc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",Le(),ks(n),Ih(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",Le(),ks(t),Pr(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",Le(),ks(t),Jh(e,t)},useMemo:function(e,t){k="useMemo",Le(),ks(t);var n=B.H;B.H=Qa;try{return Wh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",Le();var a=B.H;B.H=Qa;try{return qh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",Le(),Qh(e)},useState:function(e){k="useState",Le();var t=B.H;B.H=Qa;try{return $h(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",Le()},useDeferredValue:function(e,t){return k="useDeferredValue",Le(),em(e,t)},useTransition:function(){return k="useTransition",Le(),am()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",Le(),Ph(e,t,n)},useId:function(){return k="useId",Le(),om()},useFormState:function(e,t){return k="useFormState",Le(),wc(),Bs(e,t)},useActionState:function(e,t){return k="useActionState",Le(),Bs(e,t)},useOptimistic:function(e){return k="useOptimistic",Le(),Xh(e)},useHostTransitionStatus:Gr,useMemoCache:Yr,useCacheRefresh:function(){return k="useCacheRefresh",Le(),rm()},useEffectEvent:function(e){return k="useEffectEvent",Le(),Fh(e)}},WD={readContext:function(e){return ct(e)},use:Go,useCallback:function(e,t){return k="useCallback",X(),Kh(e,t)},useContext:function(e){return k="useContext",X(),ct(e)},useEffect:function(e,t){return k="useEffect",X(),Uc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",X(),Ih(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",X(),Pr(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",X(),Jh(e,t)},useMemo:function(e,t){k="useMemo",X();var n=B.H;B.H=Qa;try{return Wh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",X();var a=B.H;B.H=Qa;try{return qh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",X(),Qh(e)},useState:function(e){k="useState",X();var t=B.H;B.H=Qa;try{return $h(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",X()},useDeferredValue:function(e,t){return k="useDeferredValue",X(),em(e,t)},useTransition:function(){return k="useTransition",X(),am()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",X(),Ph(e,t,n)},useId:function(){return k="useId",X(),om()},useActionState:function(e,t){return k="useActionState",X(),Bs(e,t)},useFormState:function(e,t){return k="useFormState",X(),wc(),Bs(e,t)},useOptimistic:function(e){return k="useOptimistic",X(),Xh(e)},useHostTransitionStatus:Gr,useMemoCache:Yr,useCacheRefresh:function(){return k="useCacheRefresh",X(),rm()},useEffectEvent:function(e){return k="useEffectEvent",X(),Fh(e)}},ny={readContext:function(e){return ct(e)},use:Go,useCallback:function(e,t){return k="useCallback",X(),jc(e,t)},useContext:function(e){return k="useContext",X(),ct(e)},useEffect:function(e,t){k="useEffect",X(),gn(2048,fn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",X(),zc(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",X(),gn(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",X(),gn(4,Vn,e,t)},useMemo:function(e,t){k="useMemo",X();var n=B.H;B.H=ma;try{return Vc(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",X();var a=B.H;B.H=ma;try{return Ls(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",X(),Ie().memoizedState},useState:function(){k="useState",X();var e=B.H;B.H=ma;try{return Ls(ua)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",X()},useDeferredValue:function(e,t){return k="useDeferredValue",X(),o0(e,t)},useTransition:function(){return k="useTransition",X(),c0()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",X(),Oc(e,t,n)},useId:function(){return k="useId",X(),Ie().memoizedState},useFormState:function(e){return k="useFormState",X(),wc(),Cc(e)},useActionState:function(e){return k="useActionState",X(),Cc(e)},useOptimistic:function(e,t){return k="useOptimistic",X(),Qb(e,t)},useHostTransitionStatus:Gr,useMemoCache:Yr,useCacheRefresh:function(){return k="useCacheRefresh",X(),Ie().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",X(),_c(e)}},ex={readContext:function(e){return ct(e)},use:Go,useCallback:function(e,t){return k="useCallback",X(),jc(e,t)},useContext:function(e){return k="useContext",X(),ct(e)},useEffect:function(e,t){k="useEffect",X(),gn(2048,fn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",X(),zc(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",X(),gn(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",X(),gn(4,Vn,e,t)},useMemo:function(e,t){k="useMemo",X();var n=B.H;B.H=Hf;try{return Vc(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",X();var a=B.H;B.H=Hf;try{return ml(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",X(),Ie().memoizedState},useState:function(){k="useState",X();var e=B.H;B.H=Hf;try{return ml(ua)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",X()},useDeferredValue:function(e,t){return k="useDeferredValue",X(),r0(e,t)},useTransition:function(){return k="useTransition",X(),f0()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",X(),Oc(e,t,n)},useId:function(){return k="useId",X(),Ie().memoizedState},useFormState:function(e){return k="useFormState",X(),wc(),Mc(e)},useActionState:function(e){return k="useActionState",X(),Mc(e)},useOptimistic:function(e,t){return k="useOptimistic",X(),Jb(e,t)},useHostTransitionStatus:Gr,useMemoCache:Yr,useCacheRefresh:function(){return k="useCacheRefresh",X(),Ie().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",X(),_c(e)}},Qa={readContext:function(e){return v(),ct(e)},use:function(e){return p(),Go(e)},useCallback:function(e,t){return k="useCallback",p(),Le(),Kh(e,t)},useContext:function(e){return k="useContext",p(),Le(),ct(e)},useEffect:function(e,t){return k="useEffect",p(),Le(),Uc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",p(),Le(),Ih(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",p(),Le(),Pr(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",p(),Le(),Jh(e,t)},useMemo:function(e,t){k="useMemo",p(),Le();var n=B.H;B.H=Qa;try{return Wh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",p(),Le();var a=B.H;B.H=Qa;try{return qh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",p(),Le(),Qh(e)},useState:function(e){k="useState",p(),Le();var t=B.H;B.H=Qa;try{return $h(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",p(),Le()},useDeferredValue:function(e,t){return k="useDeferredValue",p(),Le(),em(e,t)},useTransition:function(){return k="useTransition",p(),Le(),am()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",p(),Le(),Ph(e,t,n)},useId:function(){return k="useId",p(),Le(),om()},useFormState:function(e,t){return k="useFormState",p(),Le(),Bs(e,t)},useActionState:function(e,t){return k="useActionState",p(),Le(),Bs(e,t)},useOptimistic:function(e){return k="useOptimistic",p(),Le(),Xh(e)},useMemoCache:function(e){return p(),Yr(e)},useHostTransitionStatus:Gr,useCacheRefresh:function(){return k="useCacheRefresh",Le(),rm()},useEffectEvent:function(e){return k="useEffectEvent",p(),Le(),Fh(e)}},ma={readContext:function(e){return v(),ct(e)},use:function(e){return p(),Go(e)},useCallback:function(e,t){return k="useCallback",p(),X(),jc(e,t)},useContext:function(e){return k="useContext",p(),X(),ct(e)},useEffect:function(e,t){k="useEffect",p(),X(),gn(2048,fn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",p(),X(),zc(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",p(),X(),gn(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",p(),X(),gn(4,Vn,e,t)},useMemo:function(e,t){k="useMemo",p(),X();var n=B.H;B.H=ma;try{return Vc(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",p(),X();var a=B.H;B.H=ma;try{return Ls(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",p(),X(),Ie().memoizedState},useState:function(){k="useState",p(),X();var e=B.H;B.H=ma;try{return Ls(ua)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",p(),X()},useDeferredValue:function(e,t){return k="useDeferredValue",p(),X(),o0(e,t)},useTransition:function(){return k="useTransition",p(),X(),c0()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",p(),X(),Oc(e,t,n)},useId:function(){return k="useId",p(),X(),Ie().memoizedState},useFormState:function(e){return k="useFormState",p(),X(),Cc(e)},useActionState:function(e){return k="useActionState",p(),X(),Cc(e)},useOptimistic:function(e,t){return k="useOptimistic",p(),X(),Qb(e,t)},useMemoCache:function(e){return p(),Yr(e)},useHostTransitionStatus:Gr,useCacheRefresh:function(){return k="useCacheRefresh",X(),Ie().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",p(),X(),_c(e)}},Hf={readContext:function(e){return v(),ct(e)},use:function(e){return p(),Go(e)},useCallback:function(e,t){return k="useCallback",p(),X(),jc(e,t)},useContext:function(e){return k="useContext",p(),X(),ct(e)},useEffect:function(e,t){k="useEffect",p(),X(),gn(2048,fn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",p(),X(),zc(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",p(),X(),gn(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",p(),X(),gn(4,Vn,e,t)},useMemo:function(e,t){k="useMemo",p(),X();var n=B.H;B.H=ma;try{return Vc(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",p(),X();var a=B.H;B.H=ma;try{return ml(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",p(),X(),Ie().memoizedState},useState:function(){k="useState",p(),X();var e=B.H;B.H=ma;try{return ml(ua)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",p(),X()},useDeferredValue:function(e,t){return k="useDeferredValue",p(),X(),r0(e,t)},useTransition:function(){return k="useTransition",p(),X(),f0()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",p(),X(),Oc(e,t,n)},useId:function(){return k="useId",p(),X(),Ie().memoizedState},useFormState:function(e){return k="useFormState",p(),X(),Mc(e)},useActionState:function(e){return k="useActionState",p(),X(),Mc(e)},useOptimistic:function(e,t){return k="useOptimistic",p(),X(),Jb(e,t)},useMemoCache:function(e){return p(),Yr(e)},useHostTransitionStatus:Gr,useCacheRefresh:function(){return k="useCacheRefresh",X(),Ie().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",p(),X(),_c(e)}};var tx={},nx=new Set,ax=new Set,ox=new Set,rx=new Set,sx=new Set,ix=new Set,lx=new Set,ux=new Set,cx=new Set,fx=new Set;Object.freeze(tx);var ay={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Cn(e),s=Ho(a);s.payload=t,n!=null&&(im(n),s.callback=n),t=qo(e,s,a),t!==null&&(Na(a,"this.setState()",e),pt(t,e,a),cl(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Cn(e),s=Ho(a);s.tag=ZD,s.payload=t,n!=null&&(im(n),s.callback=n),t=qo(e,s,a),t!==null&&(Na(a,"this.replaceState()",e),pt(t,e,a),cl(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Cn(e),a=Ho(n);a.tag=QD,t!=null&&(im(t),a.callback=t),t=qo(e,a,n),t!==null&&(Na(n,"this.forceUpdate()",e),pt(t,e,n),cl(t,e,n))}},xi=null,oy=null,ry=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."),wt=!1,dx={},hx={},mx={},px={},Ei=!1,yx={},qf={},sy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},gx=!1,vx=null;vx=new Set;var Eo=!1,Rt=!1,iy=!1,bx=typeof WeakSet=="function"?WeakSet:Set,Ht=null,Ai=null,Ti=null,Ot=null,Sn=!1,pa=null,_t=!1,cu=8192,_C={getCacheForType:function(e){var t=ct(At),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ct(At).controller.signal},getOwner:function(){return _n}};if(typeof Symbol=="function"&&Symbol.for){var fu=Symbol.for;fu("selector.component"),fu("selector.has_pseudo_class"),fu("selector.role"),fu("selector.test_id"),fu("selector.text")}var zC=[],jC=typeof WeakMap=="function"?WeakMap:Map,qt=0,zt=2,kn=4,Ao=0,du=1,is=2,Yf=3,lr=4,Pf=6,Sx=5,Ze=qt,tt=null,ke=null,Ve=0,Dn=0,Gf=1,ls=2,hu=3,Dx=4,ly=5,mu=6,$f=7,uy=8,us=9,Ke=Dn,Ln=null,ur=!1,Ni=!1,cy=!1,Fa=0,mt=Ao,cr=0,fr=0,fy=0,xn=0,cs=0,pu=null,dn=null,Xf=!1,Zf=0,xx=0,Ex=300,Qf=1/0,Ax=500,yu=null,St=null,dr=null,Ff=0,dy=1,hy=2,Tx=3,hr=0,Nx=1,wx=2,Rx=3,Ox=4,Jf=5,Ct=0,mr=null,wi=null,ya=0,my=0,py=-0,yy=null,Cx=null,Mx=null,ga=Ff,Ux=null,VC=50,gu=0,gy=null,vy=!1,If=!1,kC=50,fs=0,vu=null,Ri=!1,Kf=null,_x=!1,zx=new Set,LC={},Wf=null,Oi=null,by=!1,Sy=!1,ed=!1,Dy=!1,pr=0,xy={};(function(){for(var e=0;e<_p.length;e++){var t=_p[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),ia(n,"on"+t)}ia(cD,"onAnimationEnd"),ia(fD,"onAnimationIteration"),ia(dD,"onAnimationStart"),ia("dblclick","onDoubleClick"),ia("focusin","onFocus"),ia("focusout","onBlur"),ia(hC,"onTransitionRun"),ia(mC,"onTransitionStart"),ia(pC,"onTransitionCancel"),ia(hD,"onTransitionEnd")})(),Me("onMouseEnter",["mouseout","mouseover"]),Me("onMouseLeave",["mouseout","mouseover"]),Me("onPointerEnter",["pointerout","pointerover"]),Me("onPointerLeave",["pointerout","pointerover"]),Xe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Xe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Xe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Xe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Xe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bu="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(" "),Ey=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bu)),td="_reactListening"+Math.random().toString(36).slice(2),jx=!1,Vx=!1,nd=!1,kx=!1,ad=!1,od=!1,Lx=!1,rd={},BC=/\r\n?/g,HC=/\u0000|\uFFFD/g,ds="http://www.w3.org/1999/xlink",Ay="http://www.w3.org/XML/1998/namespace",qC="javascript:throw new Error('React form unexpectedly submitted.')",YC="suppressHydrationWarning",hs="&",sd="/&",Su="$",Du="/$",yr="$?",ms="$~",Ci="$!",PC="html",GC="body",$C="head",Ty="F!",Bx="F",Hx="loading",XC="style",To=0,Mi=1,id=2,Ny=null,wy=null,qx={dialog:!0,webview:!0},Ry=null,xu=void 0,Yx=typeof setTimeout=="function"?setTimeout:void 0,ZC=typeof clearTimeout=="function"?clearTimeout:void 0,ps=-1,Px=typeof Promise=="function"?Promise:void 0,QC=typeof queueMicrotask=="function"?queueMicrotask:typeof Px<"u"?function(e){return Px.resolve(null).then(e).catch(CR)}:Yx,Oy=null,ys=0,Eu=1,Gx=2,$x=3,ea=4,ta=new Map,Xx=new Set,No=Fe.d;Fe.d={f:function(){var e=No.f(),t=Gs();return e||t},r:function(e){var t=ee(e);t!==null&&t.tag===5&&t.type==="form"?u0(t):No.r(e)},D:function(e){No.D(e),nS("dns-prefetch",e,null)},C:function(e,t){No.C(e,t),nS("preconnect",e,t)},L:function(e,t,n){No.L(e,t,n);var a=Ui;if(a&&e&&t){var s='link[rel="preload"][as="'+qn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+qn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+qn(n.imageSizes)+'"]')):s+='[href="'+qn(e)+'"]';var i=s;switch(t){case"style":i=Zs(e);break;case"script":i=Qs(e)}ta.has(i)||(e=Be({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),ta.set(i,e),a.querySelector(s)!==null||t==="style"&&a.querySelector(Ol(i))||t==="script"&&a.querySelector(Cl(i))||(t=a.createElement("link"),Gt(t,"link",e),ye(t),a.head.appendChild(t)))}},m:function(e,t){No.m(e,t);var n=Ui;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+qn(a)+'"][href="'+qn(e)+'"]',i=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Qs(e)}if(!ta.has(i)&&(e=Be({rel:"modulepreload",href:e},t),ta.set(i,e),n.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Cl(i)))return}a=n.createElement("link"),Gt(a,"link",e),ye(a),n.head.appendChild(a)}}},X:function(e,t){No.X(e,t);var n=Ui;if(n&&e){var a=Ce(n).hoistableScripts,s=Qs(e),i=a.get(s);i||(i=n.querySelector(Cl(s)),i||(e=Be({src:e,async:!0},t),(t=ta.get(s))&&Im(e,t),i=n.createElement("script"),ye(i),Gt(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(s,i))}},S:function(e,t,n){No.S(e,t,n);var a=Ui;if(a&&e){var s=Ce(a).hoistableStyles,i=Zs(e);t=t||"default";var c=s.get(i);if(!c){var d={loading:ys,preload:null};if(c=a.querySelector(Ol(i)))d.loading=Eu|ea;else{e=Be({rel:"stylesheet",href:e,"data-precedence":t},n),(n=ta.get(i))&&Jm(e,n);var y=c=a.createElement("link");ye(y),Gt(y,"link",e),y._p=new Promise(function(g,U){y.onload=g,y.onerror=U}),y.addEventListener("load",function(){d.loading|=Eu}),y.addEventListener("error",function(){d.loading|=Gx}),d.loading|=ea,tf(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:d},s.set(i,c)}}},M:function(e,t){No.M(e,t);var n=Ui;if(n&&e){var a=Ce(n).hoistableScripts,s=Qs(e),i=a.get(s);i||(i=n.querySelector(Cl(s)),i||(e=Be({src:e,async:!0,type:"module"},t),(t=ta.get(s))&&Im(e,t),i=n.createElement("script"),ye(i),Gt(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(s,i))}}};var Ui=typeof document>"u"?null:document,ld=null,FC=6e4,JC=800,IC=500,Cy=0,My=null,ud=null,gs=fO,Au={$$typeof:Ha,Provider:null,Consumer:null,_currentValue:gs,_currentValue2:gs,_threadCount:0},Zx="%c%s%c",Qx="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",Fx="",cd=" ",KC=Function.prototype.bind,Jx=!1,Ix=null,Kx=null,Wx=null,eE=null,tE=null,nE=null,aE=null,oE=null,rE=null,sE=null;Ix=function(e,t,n,a){t=o(e,t),t!==null&&(n=r(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Be({},e.memoizedProps),n=Jt(e,2),n!==null&&pt(n,e,2))},Kx=function(e,t,n){t=o(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Be({},e.memoizedProps),n=Jt(e,2),n!==null&&pt(n,e,2))},Wx=function(e,t,n,a){t=o(e,t),t!==null&&(n=l(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Be({},e.memoizedProps),n=Jt(e,2),n!==null&&pt(n,e,2))},eE=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Jt(e,2),t!==null&&pt(t,e,2)},tE=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Jt(e,2),t!==null&&pt(t,e,2)},nE=function(e,t,n){e.pendingProps=l(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Jt(e,2),t!==null&&pt(t,e,2)},aE=function(e){var t=Jt(e,2);t!==null&&pt(t,e,2)},oE=function(e){var t=Qi(),n=Jt(e,t);n!==null&&pt(n,e,t)},rE=function(e){h=e},sE=function(e){m=e};var fd=!0,dd=null,Uy=!1,gr=null,vr=null,br=null,Tu=new Map,Nu=new Map,Sr=[],WC="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(" "),hd=null;if(sf.prototype.render=ap.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[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()."):j(n[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 n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,s=Cn(a);Km(a,s,n,t,null,null)},sf.prototype.unmount=ap.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;(Ze&(zt|kn))!==qt&&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."),Km(e.current,2,null,e,null,null),Gs(),t[Io]=null}},sf.prototype.unstable_scheduleHydration=function(e){if(e){var t=jo();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sr.length&&t!==0&&t<Sr[n].priority;n++);Sr.splice(n,0,e),n===0&&yS(e)}},(function(){var e=op.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
- - react: `+(e+`
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"),Fe.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=I(t),e=e!==null?De(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.4"};return e.overrideHookState=Ix,e.overrideHookStateDeletePath=Kx,e.overrideHookStateRenamePath=Wx,e.overrideProps=eE,e.overridePropsDeletePath=tE,e.overridePropsRenamePath=nE,e.scheduleUpdate=aE,e.scheduleRetry=oE,e.setErrorHandler=rE,e.setSuspenseHandler=sE,e.scheduleRefresh=R,e.scheduleRoot=C,e.setRefreshHandler=L,e.getCurrentFiber=nO,Id(e)})()&&$a&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var iE=window.location.protocol;/^(https?|file):$/.test(iE)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(iE==="file:"?`
232
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}wu.createRoot=function(e,t){if(!j(e))throw Error("Target container is not a DOM element.");SS(e);var n=!1,a="",s=g0,i=v0,c=b0;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===Ba&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
233
-
234
- let root = createRoot(domContainer);
235
- root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=uS(e,1,!1,null,null,n,a,null,s,i,c,bS),e[Io]=t.current,Lm(e),new ap(t)},wu.hydrateRoot=function(e,t,n){if(!j(e))throw Error("Target container is not a DOM element.");SS(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,s="",i=g0,c=v0,d=b0,y=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(y=n.formState)),t=uS(e,1,!0,t,n??null,a,s,y,i,c,d,bS),t.context=cS(null),n=t.current,a=Cn(n),a=zo(a),s=Ho(a),s.callback=null,qo(n,s,a),Na(a,"hydrateRoot()",null),n=a,t.current.lanes=n,_o(t,n),ka(t),e[Io]=t.current,Lm(e),new sf(t)},wu.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),wu}var gE;function uM(){return gE||(gE=1,jy.exports=lM()),jy.exports}var cM=uM();const fM=iT(cM);const lT=(...o)=>o.filter((r,l,u)=>!!r&&r.trim()!==""&&u.indexOf(r)===l).join(" ").trim();const dM=o=>o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const hM=o=>o.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,u)=>u?u.toUpperCase():l.toLowerCase());const vE=o=>{const r=hM(o);return r.charAt(0).toUpperCase()+r.slice(1)};var mM={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 pM=o=>{for(const r in o)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const yM=F.forwardRef(({color:o="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:f="",children:m,iconNode:h,...p},v)=>F.createElement("svg",{ref:v,...mM,width:r,height:r,stroke:o,strokeWidth:u?Number(l)*24/Number(r):l,className:lT("lucide",f),...!m&&!pM(p)&&{"aria-hidden":"true"},...p},[...h.map(([S,b])=>F.createElement(S,b)),...Array.isArray(m)?m:[m]]));const dt=(o,r)=>{const l=F.forwardRef(({className:u,...f},m)=>F.createElement(yM,{ref:m,iconNode:r,className:lT(`lucide-${dM(vE(o))}`,`lucide-${o}`,u),...f}));return l.displayName=vE(o),l};const gM=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],bE=dt("arrow-right",gM);const vM=[["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],bM=dt("ban",vM);const SM=[["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"}]],uT=dt("brain",SM);const DM=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],xM=dt("check",DM);const EM=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Sd=dt("chevron-down",EM);const AM=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Dd=dt("chevron-up",AM);const TM=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],lg=dt("circle-check-big",TM);const NM=[["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"}]],wM=dt("circle-x",NM);const RM=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Lg=dt("clock",RM);const OM=[["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"}]],Bg=dt("eye",OM);const CM=[["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"}]],Hg=dt("file-text",CM);const MM=[["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"}]],UM=dt("folder-lock",MM);const _M=[["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"}]],cT=dt("folder-open",_M);const zM=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],SE=dt("gauge",zM);const jM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],VM=dt("info",jM);const kM=[["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"}]],LM=dt("layout-grid",kM);const BM=[["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"}]],HM=dt("pen-line",BM);const qM=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],YM=dt("search",qM);const PM=[["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"}]],GM=dt("send",PM);const $M=[["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"}]],Ud=dt("shield",$M);const XM=[["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"}]],fT=dt("sparkles",XM);const ZM=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],qg=dt("terminal",ZM);const QM=[["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"}]],dT=dt("triangle-alert",QM);const FM=[["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"}]],JM=dt("wrench",FM);const IM=[["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"}]],KM=dt("zap",IM);var By={exports:{}},Ru={},DE;function WM(){if(DE)return Ru;DE=1;return(function(){function o(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===ue?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case j:return"Fragment";case Q:return"Profiler";case Y:return"StrictMode";case De:return"Suspense";case be:return"SuspenseList";case q:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case L:return"Portal";case K:return O.displayName||"Context";case $:return(O._context.displayName||"Context")+".Consumer";case I:var J=O.render;return O=O.displayName,O||(O=J.displayName||J.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case W:return J=O.displayName||null,J!==null?J:o(O.type)||"Memo";case fe:J=O._payload,O=O._init;try{return o(O(J))}catch{}}return null}function r(O){return""+O}function l(O){try{r(O);var J=!1}catch{J=!0}if(J){J=console;var ge=J.error,ce=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ge.call(J,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ce),r(O)}}function u(O){if(O===j)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===fe)return"<...>";try{var J=o(O);return J?"<"+J+">":"<...>"}catch{return"<...>"}}function f(){var O=ne.A;return O===null?null:O.getOwner()}function m(){return Error("react-stack-top-frame")}function h(O){if(ae.call(O,"key")){var J=Object.getOwnPropertyDescriptor(O,"key").get;if(J&&J.isReactWarning)return!1}return O.key!==void 0}function p(O,J){function ge(){G||(G=!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)",J))}ge.isReactWarning=!0,Object.defineProperty(O,"key",{get:ge,configurable:!0})}function v(){var O=o(this.type);return oe[O]||(oe[O]=!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.")),O=this.props.ref,O!==void 0?O:null}function S(O,J,ge,ce,nt,Bn){var Oe=ge.ref;return O={$$typeof:R,type:O,key:J,props:ge,_owner:ce},(Oe!==void 0?Oe:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:v}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:nt}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Bn}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function b(O,J,ge,ce,nt,Bn){var Oe=J.children;if(Oe!==void 0)if(ce)if(Ee(Oe)){for(ce=0;ce<Oe.length;ce++)E(Oe[ce]);Object.freeze&&Object.freeze(Oe)}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 E(Oe);if(ae.call(J,"key")){Oe=o(O);var Vt=Object.keys(J).filter(function(sa){return sa!=="key"});ce=0<Vt.length?"{key: someKey, "+Vt.join(": ..., ")+": ...}":"{key: someKey}",He[Oe+ce]||(Vt=0<Vt.length?"{"+Vt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
236
- let props = %s;
237
- <%s {...props} />
238
- React keys must be passed directly to JSX without using spread:
239
- let props = %s;
240
- <%s key={someKey} {...props} />`,ce,Oe,Vt,Oe),He[Oe+ce]=!0)}if(Oe=null,ge!==void 0&&(l(ge),Oe=""+ge),h(J)&&(l(J.key),Oe=""+J.key),"key"in J){ge={};for(var Qt in J)Qt!=="key"&&(ge[Qt]=J[Qt])}else ge=J;return Oe&&p(ge,typeof O=="function"?O.displayName||O.name||"Unknown":O),S(O,Oe,ge,f(),nt,Bn)}function E(O){D(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===fe&&(O._payload.status==="fulfilled"?D(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function D(O){return typeof O=="object"&&O!==null&&O.$$typeof===R}var C=qu(),R=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),K=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),De=Symbol.for("react.suspense"),be=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),ne=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,Ee=Array.isArray,_e=console.createTask?console.createTask:function(){return null};C={react_stack_bottom_frame:function(O){return O()}};var G,oe={},se=C.react_stack_bottom_frame.bind(C,m)(),Re=_e(u(m)),He={};Ru.Fragment=j,Ru.jsx=function(O,J,ge){var ce=1e4>ne.recentlyCreatedOwnerStacks++;return b(O,J,ge,!1,ce?Error("react-stack-top-frame"):se,ce?_e(u(O)):Re)},Ru.jsxs=function(O,J,ge){var ce=1e4>ne.recentlyCreatedOwnerStacks++;return b(O,J,ge,!0,ce?Error("react-stack-top-frame"):se,ce?_e(u(O)):Re)}})(),Ru}var xE;function eU(){return xE||(xE=1,By.exports=WM()),By.exports}var Ro=eU();const Yg=F.createContext({});function Pg(o){const r=F.useRef(null);return r.current===null&&(r.current=o()),r.current}const hT=typeof window<"u",mT=hT?F.useLayoutEffect:F.useEffect,Yd=F.createContext(null);function Gg(o,r){o.indexOf(r)===-1&&o.push(r)}function _d(o,r){const l=o.indexOf(r);l>-1&&o.splice(l,1)}const Wa=(o,r,l)=>l>r?r:l<o?o:l;function ug(o,r){return r?`${o}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${r}`:o}let Pi=()=>{},Oo=()=>{};typeof process<"u"&&(Pi=(o,r,l)=>{!o&&typeof console<"u"&&console.warn(ug(r,l))},Oo=(o,r,l)=>{if(!o)throw new Error(ug(r,l))});const Co={},pT=o=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(o);function yT(o){return typeof o=="object"&&o!==null}const gT=o=>/^0[^.\s]+$/u.test(o);function $g(o){let r;return()=>(r===void 0&&(r=o()),r)}const oa=o=>o,tU=(o,r)=>l=>r(o(l)),Yu=(...o)=>o.reduce(tU),Vu=(o,r,l)=>{const u=r-o;return u===0?1:(l-o)/u};class Xg{constructor(){this.subscriptions=[]}add(r){return Gg(this.subscriptions,r),()=>_d(this.subscriptions,r)}notify(r,l,u){const f=this.subscriptions.length;if(f)if(f===1)this.subscriptions[0](r,l,u);else for(let m=0;m<f;m++){const h=this.subscriptions[m];h&&h(r,l,u)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ra=o=>o*1e3,aa=o=>o/1e3;function vT(o,r){return r?o*(1e3/r):0}const EE=new Set;function Zg(o,r,l){o||EE.has(r)||(console.warn(ug(r,l)),EE.add(r))}const bT=(o,r,l)=>(((1-3*l+3*r)*o+(3*l-6*r))*o+3*r)*o,nU=1e-7,aU=12;function oU(o,r,l,u,f){let m,h,p=0;do h=r+(l-r)/2,m=bT(h,u,f)-o,m>0?l=h:r=h;while(Math.abs(m)>nU&&++p<aU);return h}function Pu(o,r,l,u){if(o===r&&l===u)return oa;const f=m=>oU(m,0,1,o,l);return m=>m===0||m===1?m:bT(f(m),r,u)}const ST=o=>r=>r<=.5?o(2*r)/2:(2-o(2*(1-r)))/2,DT=o=>r=>1-o(1-r),xT=Pu(.33,1.53,.69,.99),Qg=DT(xT),ET=ST(Qg),AT=o=>(o*=2)<1?.5*Qg(o):.5*(2-Math.pow(2,-10*(o-1))),Fg=o=>1-Math.sin(Math.acos(o)),TT=DT(Fg),NT=ST(Fg),rU=Pu(.42,0,1,1),sU=Pu(0,0,.58,1),wT=Pu(.42,0,.58,1),iU=o=>Array.isArray(o)&&typeof o[0]!="number",RT=o=>Array.isArray(o)&&typeof o[0]=="number",AE={linear:oa,easeIn:rU,easeInOut:wT,easeOut:sU,circIn:Fg,circInOut:NT,circOut:TT,backIn:Qg,backInOut:ET,backOut:xT,anticipate:AT},lU=o=>typeof o=="string",TE=o=>{if(RT(o)){Oo(o.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[r,l,u,f]=o;return Pu(r,l,u,f)}else if(lU(o))return Oo(AE[o]!==void 0,`Invalid easing type '${o}'`,"invalid-easing-type"),AE[o];return o},pd=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function uU(o,r){let l=new Set,u=new Set,f=!1,m=!1;const h=new WeakSet;let p={delta:0,timestamp:0,isProcessing:!1};function v(b){h.has(b)&&(S.schedule(b),o()),b(p)}const S={schedule:(b,E=!1,D=!1)=>{const R=D&&f?l:u;return E&&h.add(b),R.has(b)||R.add(b),b},cancel:b=>{u.delete(b),h.delete(b)},process:b=>{if(p=b,f){m=!0;return}f=!0,[l,u]=[u,l],l.forEach(v),l.clear(),f=!1,m&&(m=!1,S.process(b))}};return S}const cU=40;function OT(o,r){let l=!1,u=!0;const f={delta:0,timestamp:0,isProcessing:!1},m=()=>l=!0,h=pd.reduce(($,K)=>($[K]=uU(m),$),{}),{setup:p,read:v,resolveKeyframes:S,preUpdate:b,update:E,preRender:D,render:C,postRender:R}=h,L=()=>{const $=Co.useManualTiming?f.timestamp:performance.now();l=!1,Co.useManualTiming||(f.delta=u?1e3/60:Math.max(Math.min($-f.timestamp,cU),1)),f.timestamp=$,f.isProcessing=!0,p.process(f),v.process(f),S.process(f),b.process(f),E.process(f),D.process(f),C.process(f),R.process(f),f.isProcessing=!1,l&&r&&(u=!1,o(L))},j=()=>{l=!0,u=!0,f.isProcessing||o(L)};return{schedule:pd.reduce(($,K)=>{const I=h[K];return $[K]=(De,be=!1,W=!1)=>(l||j(),I.schedule(De,be,W)),$},{}),cancel:$=>{for(let K=0;K<pd.length;K++)h[pd[K]].cancel($)},state:f,steps:h}}const{schedule:ut,cancel:Tr,state:Zt,steps:Hy}=OT(typeof requestAnimationFrame<"u"?requestAnimationFrame:oa,!0);let xd;function fU(){xd=void 0}const hn={now:()=>(xd===void 0&&hn.set(Zt.isProcessing||Co.useManualTiming?Zt.timestamp:performance.now()),xd),set:o=>{xd=o,queueMicrotask(fU)}},CT=o=>r=>typeof r=="string"&&r.startsWith(o),MT=CT("--"),dU=CT("var(--"),Jg=o=>dU(o)?hU.test(o.split("/*")[0].trim()):!1,hU=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function NE(o){return typeof o!="string"?!1:o.split("/*")[0].includes("var(--")}const Gi={test:o=>typeof o=="number",parse:parseFloat,transform:o=>o},ku={...Gi,transform:o=>Wa(0,1,o)},yd={...Gi,default:1},_u=o=>Math.round(o*1e5)/1e5,Ig=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mU(o){return o==null}const pU=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Kg=(o,r)=>l=>!!(typeof l=="string"&&pU.test(l)&&l.startsWith(o)||r&&!mU(l)&&Object.prototype.hasOwnProperty.call(l,r)),UT=(o,r,l)=>u=>{if(typeof u!="string")return u;const[f,m,h,p]=u.match(Ig);return{[o]:parseFloat(f),[r]:parseFloat(m),[l]:parseFloat(h),alpha:p!==void 0?parseFloat(p):1}},yU=o=>Wa(0,255,o),qy={...Gi,transform:o=>Math.round(yU(o))},Ss={test:Kg("rgb","red"),parse:UT("red","green","blue"),transform:({red:o,green:r,blue:l,alpha:u=1})=>"rgba("+qy.transform(o)+", "+qy.transform(r)+", "+qy.transform(l)+", "+_u(ku.transform(u))+")"};function gU(o){let r="",l="",u="",f="";return o.length>5?(r=o.substring(1,3),l=o.substring(3,5),u=o.substring(5,7),f=o.substring(7,9)):(r=o.substring(1,2),l=o.substring(2,3),u=o.substring(3,4),f=o.substring(4,5),r+=r,l+=l,u+=u,f+=f),{red:parseInt(r,16),green:parseInt(l,16),blue:parseInt(u,16),alpha:f?parseInt(f,16)/255:1}}const cg={test:Kg("#"),parse:gU,transform:Ss.transform},Gu=o=>({test:r=>typeof r=="string"&&r.endsWith(o)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${o}`}),xr=Gu("deg"),Ka=Gu("%"),de=Gu("px"),vU=Gu("vh"),bU=Gu("vw"),wE={...Ka,parse:o=>Ka.parse(o)/100,transform:o=>Ka.transform(o*100)},zi={test:Kg("hsl","hue"),parse:UT("hue","saturation","lightness"),transform:({hue:o,saturation:r,lightness:l,alpha:u=1})=>"hsla("+Math.round(o)+", "+Ka.transform(_u(r))+", "+Ka.transform(_u(l))+", "+_u(ku.transform(u))+")"},Mt={test:o=>Ss.test(o)||cg.test(o)||zi.test(o),parse:o=>Ss.test(o)?Ss.parse(o):zi.test(o)?zi.parse(o):cg.parse(o),transform:o=>typeof o=="string"?o:o.hasOwnProperty("red")?Ss.transform(o):zi.transform(o),getAnimatableNone:o=>{const r=Mt.parse(o);return r.alpha=0,Mt.transform(r)}},SU=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function DU(o){return isNaN(o)&&typeof o=="string"&&(o.match(Ig)?.length||0)+(o.match(SU)?.length||0)>0}const _T="number",zT="color",xU="var",EU="var(",RE="${}",AU=/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 Lu(o){const r=o.toString(),l=[],u={color:[],number:[],var:[]},f=[];let m=0;const p=r.replace(AU,v=>(Mt.test(v)?(u.color.push(m),f.push(zT),l.push(Mt.parse(v))):v.startsWith(EU)?(u.var.push(m),f.push(xU),l.push(v)):(u.number.push(m),f.push(_T),l.push(parseFloat(v))),++m,RE)).split(RE);return{values:l,split:p,indexes:u,types:f}}function jT(o){return Lu(o).values}function VT(o){const{split:r,types:l}=Lu(o),u=r.length;return f=>{let m="";for(let h=0;h<u;h++)if(m+=r[h],f[h]!==void 0){const p=l[h];p===_T?m+=_u(f[h]):p===zT?m+=Mt.transform(f[h]):m+=f[h]}return m}}const TU=o=>typeof o=="number"?0:Mt.test(o)?Mt.getAnimatableNone(o):o;function NU(o){const r=jT(o);return VT(o)(r.map(TU))}const Nr={test:DU,parse:jT,createTransformer:VT,getAnimatableNone:NU};function Yy(o,r,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?o+(r-o)*6*l:l<1/2?r:l<2/3?o+(r-o)*(2/3-l)*6:o}function wU({hue:o,saturation:r,lightness:l,alpha:u}){o/=360,r/=100,l/=100;let f=0,m=0,h=0;if(!r)f=m=h=l;else{const p=l<.5?l*(1+r):l+r-l*r,v=2*l-p;f=Yy(v,p,o+1/3),m=Yy(v,p,o),h=Yy(v,p,o-1/3)}return{red:Math.round(f*255),green:Math.round(m*255),blue:Math.round(h*255),alpha:u}}function zd(o,r){return l=>l>0?r:o}const vt=(o,r,l)=>o+(r-o)*l,Py=(o,r,l)=>{const u=o*o,f=l*(r*r-u)+u;return f<0?0:Math.sqrt(f)},RU=[cg,Ss,zi],OU=o=>RU.find(r=>r.test(o));function OE(o){const r=OU(o);if(Pi(!!r,`'${o}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!r)return!1;let l=r.parse(o);return r===zi&&(l=wU(l)),l}const CE=(o,r)=>{const l=OE(o),u=OE(r);if(!l||!u)return zd(o,r);const f={...l};return m=>(f.red=Py(l.red,u.red,m),f.green=Py(l.green,u.green,m),f.blue=Py(l.blue,u.blue,m),f.alpha=vt(l.alpha,u.alpha,m),Ss.transform(f))},fg=new Set(["none","hidden"]);function CU(o,r){return fg.has(o)?l=>l<=0?o:r:l=>l>=1?r:o}function MU(o,r){return l=>vt(o,r,l)}function Wg(o){return typeof o=="number"?MU:typeof o=="string"?Jg(o)?zd:Mt.test(o)?CE:zU:Array.isArray(o)?kT:typeof o=="object"?Mt.test(o)?CE:UU:zd}function kT(o,r){const l=[...o],u=l.length,f=o.map((m,h)=>Wg(m)(m,r[h]));return m=>{for(let h=0;h<u;h++)l[h]=f[h](m);return l}}function UU(o,r){const l={...o,...r},u={};for(const f in l)o[f]!==void 0&&r[f]!==void 0&&(u[f]=Wg(o[f])(o[f],r[f]));return f=>{for(const m in u)l[m]=u[m](f);return l}}function _U(o,r){const l=[],u={color:0,var:0,number:0};for(let f=0;f<r.values.length;f++){const m=r.types[f],h=o.indexes[m][u[m]],p=o.values[h]??0;l[f]=p,u[m]++}return l}const zU=(o,r)=>{const l=Nr.createTransformer(r),u=Lu(o),f=Lu(r);return u.indexes.var.length===f.indexes.var.length&&u.indexes.color.length===f.indexes.color.length&&u.indexes.number.length>=f.indexes.number.length?fg.has(o)&&!f.values.length||fg.has(r)&&!u.values.length?CU(o,r):Yu(kT(_U(u,f),f.values),l):(Pi(!0,`Complex values '${o}' and '${r}' 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"),zd(o,r))};function LT(o,r,l){return typeof o=="number"&&typeof r=="number"&&typeof l=="number"?vt(o,r,l):Wg(o)(o,r)}const jU=o=>{const r=({timestamp:l})=>o(l);return{start:(l=!0)=>ut.update(r,l),stop:()=>Tr(r),now:()=>Zt.isProcessing?Zt.timestamp:hn.now()}},BT=(o,r,l=10)=>{let u="";const f=Math.max(Math.round(r/l),2);for(let m=0;m<f;m++)u+=Math.round(o(m/(f-1))*1e4)/1e4+", ";return`linear(${u.substring(0,u.length-2)})`},jd=2e4;function ev(o){let r=0;const l=50;let u=o.next(r);for(;!u.done&&r<jd;)r+=l,u=o.next(r);return r>=jd?1/0:r}function VU(o,r=100,l){const u=l({...o,keyframes:[0,r]}),f=Math.min(ev(u),jd);return{type:"keyframes",ease:m=>u.next(f*m).value/r,duration:aa(f)}}const kU=5;function HT(o,r,l){const u=Math.max(r-kU,0);return vT(l-o(u),r-u)}const gt={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},Gy=.001;function LU({duration:o=gt.duration,bounce:r=gt.bounce,velocity:l=gt.velocity,mass:u=gt.mass}){let f,m;Pi(o<=ra(gt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let h=1-r;h=Wa(gt.minDamping,gt.maxDamping,h),o=Wa(gt.minDuration,gt.maxDuration,aa(o)),h<1?(f=S=>{const b=S*h,E=b*o,D=b-l,C=dg(S,h),R=Math.exp(-E);return Gy-D/C*R},m=S=>{const E=S*h*o,D=E*l+l,C=Math.pow(h,2)*Math.pow(S,2)*o,R=Math.exp(-E),L=dg(Math.pow(S,2),h);return(-f(S)+Gy>0?-1:1)*((D-C)*R)/L}):(f=S=>{const b=Math.exp(-S*o),E=(S-l)*o+1;return-Gy+b*E},m=S=>{const b=Math.exp(-S*o),E=(l-S)*(o*o);return b*E});const p=5/o,v=HU(f,m,p);if(o=ra(o),isNaN(v))return{stiffness:gt.stiffness,damping:gt.damping,duration:o};{const S=Math.pow(v,2)*u;return{stiffness:S,damping:h*2*Math.sqrt(u*S),duration:o}}}const BU=12;function HU(o,r,l){let u=l;for(let f=1;f<BU;f++)u=u-o(u)/r(u);return u}function dg(o,r){return o*Math.sqrt(1-r*r)}const qU=["duration","bounce"],YU=["stiffness","damping","mass"];function ME(o,r){return r.some(l=>o[l]!==void 0)}function PU(o){let r={velocity:gt.velocity,stiffness:gt.stiffness,damping:gt.damping,mass:gt.mass,isResolvedFromDuration:!1,...o};if(!ME(o,YU)&&ME(o,qU))if(o.visualDuration){const l=o.visualDuration,u=2*Math.PI/(l*1.2),f=u*u,m=2*Wa(.05,1,1-(o.bounce||0))*Math.sqrt(f);r={...r,mass:gt.mass,stiffness:f,damping:m}}else{const l=LU(o);r={...r,...l,mass:gt.mass},r.isResolvedFromDuration=!0}return r}function Vd(o=gt.visualDuration,r=gt.bounce){const l=typeof o!="object"?{visualDuration:o,keyframes:[0,1],bounce:r}:o;let{restSpeed:u,restDelta:f}=l;const m=l.keyframes[0],h=l.keyframes[l.keyframes.length-1],p={done:!1,value:m},{stiffness:v,damping:S,mass:b,duration:E,velocity:D,isResolvedFromDuration:C}=PU({...l,velocity:-aa(l.velocity||0)}),R=D||0,L=S/(2*Math.sqrt(v*b)),j=h-m,Y=aa(Math.sqrt(v/b)),Q=Math.abs(j)<5;u||(u=Q?gt.restSpeed.granular:gt.restSpeed.default),f||(f=Q?gt.restDelta.granular:gt.restDelta.default);let $;if(L<1){const I=dg(Y,L);$=De=>{const be=Math.exp(-L*Y*De);return h-be*((R+L*Y*j)/I*Math.sin(I*De)+j*Math.cos(I*De))}}else if(L===1)$=I=>h-Math.exp(-Y*I)*(j+(R+Y*j)*I);else{const I=Y*Math.sqrt(L*L-1);$=De=>{const be=Math.exp(-L*Y*De),W=Math.min(I*De,300);return h-be*((R+L*Y*j)*Math.sinh(W)+I*j*Math.cosh(W))/I}}const K={calculatedDuration:C&&E||null,next:I=>{const De=$(I);if(C)p.done=I>=E;else{let be=I===0?R:0;L<1&&(be=I===0?ra(R):HT($,I,De));const W=Math.abs(be)<=u,fe=Math.abs(h-De)<=f;p.done=W&&fe}return p.value=p.done?h:De,p},toString:()=>{const I=Math.min(ev(K),jd),De=BT(be=>K.next(I*be).value,I,30);return I+"ms "+De},toTransition:()=>{}};return K}Vd.applyToOptions=o=>{const r=VU(o,100,Vd);return o.ease=r.ease,o.duration=ra(r.duration),o.type="keyframes",o};function hg({keyframes:o,velocity:r=0,power:l=.8,timeConstant:u=325,bounceDamping:f=10,bounceStiffness:m=500,modifyTarget:h,min:p,max:v,restDelta:S=.5,restSpeed:b}){const E=o[0],D={done:!1,value:E},C=W=>p!==void 0&&W<p||v!==void 0&&W>v,R=W=>p===void 0?v:v===void 0||Math.abs(p-W)<Math.abs(v-W)?p:v;let L=l*r;const j=E+L,Y=h===void 0?j:h(j);Y!==j&&(L=Y-E);const Q=W=>-L*Math.exp(-W/u),$=W=>Y+Q(W),K=W=>{const fe=Q(W),q=$(W);D.done=Math.abs(fe)<=S,D.value=D.done?Y:q};let I,De;const be=W=>{C(D.value)&&(I=W,De=Vd({keyframes:[D.value,R(D.value)],velocity:HT($,W,D.value),damping:f,stiffness:m,restDelta:S,restSpeed:b}))};return be(0),{calculatedDuration:null,next:W=>{let fe=!1;return!De&&I===void 0&&(fe=!0,K(W),be(W)),I!==void 0&&W>=I?De.next(W-I):(!fe&&K(W),D)}}}function GU(o,r,l){const u=[],f=l||Co.mix||LT,m=o.length-1;for(let h=0;h<m;h++){let p=f(o[h],o[h+1]);if(r){const v=Array.isArray(r)?r[h]||oa:r;p=Yu(v,p)}u.push(p)}return u}function $U(o,r,{clamp:l=!0,ease:u,mixer:f}={}){const m=o.length;if(Oo(m===r.length,"Both input and output ranges must be the same length","range-length"),m===1)return()=>r[0];if(m===2&&r[0]===r[1])return()=>r[1];const h=o[0]===o[1];o[0]>o[m-1]&&(o=[...o].reverse(),r=[...r].reverse());const p=GU(r,u,f),v=p.length,S=b=>{if(h&&b<o[0])return r[0];let E=0;if(v>1)for(;E<o.length-2&&!(b<o[E+1]);E++);const D=Vu(o[E],o[E+1],b);return p[E](D)};return l?b=>S(Wa(o[0],o[m-1],b)):S}function XU(o,r){const l=o[o.length-1];for(let u=1;u<=r;u++){const f=Vu(0,r,u);o.push(vt(l,1,f))}}function ZU(o){const r=[0];return XU(r,o.length-1),r}function QU(o,r){return o.map(l=>l*r)}function FU(o,r){return o.map(()=>r||wT).splice(0,o.length-1)}function ji({duration:o=300,keyframes:r,times:l,ease:u="easeInOut"}){const f=iU(u)?u.map(TE):TE(u),m={done:!1,value:r[0]},h=QU(l&&l.length===r.length?l:ZU(r),o),p=$U(h,r,{ease:Array.isArray(f)?f:FU(r,f)});return{calculatedDuration:o,next:v=>(m.value=p(v),m.done=v>=o,m)}}const JU=o=>o!==null;function tv(o,{repeat:r,repeatType:l="loop"},u,f=1){const m=o.filter(JU),p=f<0||r&&l!=="loop"&&r%2===1?0:m.length-1;return!p||u===void 0?m[p]:u}const IU={decay:hg,inertia:hg,tween:ji,keyframes:ji,spring:Vd};function qT(o){typeof o.type=="string"&&(o.type=IU[o.type])}class nv{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,l){return this.finished.then(r,l)}}const KU=o=>o/100;class av extends nv{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:l}=this.options;l&&l.updatedAt!==hn.now()&&this.tick(hn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;qT(r);const{type:l=ji,repeat:u=0,repeatDelay:f=0,repeatType:m,velocity:h=0}=r;let{keyframes:p}=r;const v=l||ji;v!==ji&&Oo(p.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${p}`,"spring-two-frames"),v!==ji&&typeof p[0]!="number"&&(this.mixKeyframes=Yu(KU,LT(p[0],p[1])),p=[0,100]);const S=v({...r,keyframes:p});m==="mirror"&&(this.mirroredGenerator=v({...r,keyframes:[...p].reverse(),velocity:-h})),S.calculatedDuration===null&&(S.calculatedDuration=ev(S));const{calculatedDuration:b}=S;this.calculatedDuration=b,this.resolvedDuration=b+f,this.totalDuration=this.resolvedDuration*(u+1)-f,this.generator=S}updateTime(r){const l=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=l}tick(r,l=!1){const{generator:u,totalDuration:f,mixKeyframes:m,mirroredGenerator:h,resolvedDuration:p,calculatedDuration:v}=this;if(this.startTime===null)return u.next(0);const{delay:S=0,keyframes:b,repeat:E,repeatType:D,repeatDelay:C,type:R,onUpdate:L,finalKeyframe:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-f/this.speed,this.startTime)),l?this.currentTime=r:this.updateTime(r);const Y=this.currentTime-S*(this.playbackSpeed>=0?1:-1),Q=this.playbackSpeed>=0?Y<0:Y>f;this.currentTime=Math.max(Y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let $=this.currentTime,K=u;if(E){const W=Math.min(this.currentTime,f)/p;let fe=Math.floor(W),q=W%1;!q&&W>=1&&(q=1),q===1&&fe--,fe=Math.min(fe,E+1),fe%2&&(D==="reverse"?(q=1-q,C&&(q-=C/p)):D==="mirror"&&(K=h)),$=Wa(0,1,q)*p}const I=Q?{done:!1,value:b[0]}:K.next($);m&&(I.value=m(I.value));let{done:De}=I;!Q&&v!==null&&(De=this.playbackSpeed>=0?this.currentTime>=f:this.currentTime<=0);const be=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&De);return be&&R!==hg&&(I.value=tv(b,this.options,j,this.speed)),L&&L(I.value),be&&this.finish(),I}then(r,l){return this.finished.then(r,l)}get duration(){return aa(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+aa(r)}get time(){return aa(this.currentTime)}set time(r){r=ra(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(hn.now());const l=this.playbackSpeed!==r;this.playbackSpeed=r,l&&(this.time=aa(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=jU,startTime:l}=this.options;this.driver||(this.driver=r(f=>this.tick(f))),this.options.onPlay?.();const u=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=u):this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime||(this.startTime=l??u),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(hn.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(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),r.observe(this)}}function WU(o){for(let r=1;r<o.length;r++)o[r]??(o[r]=o[r-1])}const Ds=o=>o*180/Math.PI,mg=o=>{const r=Ds(Math.atan2(o[1],o[0]));return pg(r)},e_={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:o=>(Math.abs(o[0])+Math.abs(o[3]))/2,rotate:mg,rotateZ:mg,skewX:o=>Ds(Math.atan(o[1])),skewY:o=>Ds(Math.atan(o[2])),skew:o=>(Math.abs(o[1])+Math.abs(o[2]))/2},pg=o=>(o=o%360,o<0&&(o+=360),o),UE=mg,_E=o=>Math.sqrt(o[0]*o[0]+o[1]*o[1]),zE=o=>Math.sqrt(o[4]*o[4]+o[5]*o[5]),t_={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:_E,scaleY:zE,scale:o=>(_E(o)+zE(o))/2,rotateX:o=>pg(Ds(Math.atan2(o[6],o[5]))),rotateY:o=>pg(Ds(Math.atan2(-o[2],o[0]))),rotateZ:UE,rotate:UE,skewX:o=>Ds(Math.atan(o[4])),skewY:o=>Ds(Math.atan(o[1])),skew:o=>(Math.abs(o[1])+Math.abs(o[4]))/2};function yg(o){return o.includes("scale")?1:0}function gg(o,r){if(!o||o==="none")return yg(r);const l=o.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let u,f;if(l)u=t_,f=l;else{const p=o.match(/^matrix\(([-\d.e\s,]+)\)$/u);u=e_,f=p}if(!f)return yg(r);const m=u[r],h=f[1].split(",").map(a_);return typeof m=="function"?m(h):h[m]}const n_=(o,r)=>{const{transform:l="none"}=getComputedStyle(o);return gg(l,r)};function a_(o){return parseFloat(o.trim())}const $i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xi=new Set($i),jE=o=>o===Gi||o===de,o_=new Set(["x","y","z"]),r_=$i.filter(o=>!o_.has(o));function s_(o){const r=[];return r_.forEach(l=>{const u=o.getValue(l);u!==void 0&&(r.push([l,u.get()]),u.set(l.startsWith("scale")?1:0))}),r}const Er={width:({x:o},{paddingLeft:r="0",paddingRight:l="0"})=>o.max-o.min-parseFloat(r)-parseFloat(l),height:({y:o},{paddingTop:r="0",paddingBottom:l="0"})=>o.max-o.min-parseFloat(r)-parseFloat(l),top:(o,{top:r})=>parseFloat(r),left:(o,{left:r})=>parseFloat(r),bottom:({y:o},{top:r})=>parseFloat(r)+(o.max-o.min),right:({x:o},{left:r})=>parseFloat(r)+(o.max-o.min),x:(o,{transform:r})=>gg(r,"x"),y:(o,{transform:r})=>gg(r,"y")};Er.translateX=Er.x;Er.translateY=Er.y;const Es=new Set;let vg=!1,bg=!1,Sg=!1;function YT(){if(bg){const o=Array.from(Es).filter(u=>u.needsMeasurement),r=new Set(o.map(u=>u.element)),l=new Map;r.forEach(u=>{const f=s_(u);f.length&&(l.set(u,f),u.render())}),o.forEach(u=>u.measureInitialState()),r.forEach(u=>{u.render();const f=l.get(u);f&&f.forEach(([m,h])=>{u.getValue(m)?.set(h)})}),o.forEach(u=>u.measureEndState()),o.forEach(u=>{u.suspendedScrollY!==void 0&&window.scrollTo(0,u.suspendedScrollY)})}bg=!1,vg=!1,Es.forEach(o=>o.complete(Sg)),Es.clear()}function PT(){Es.forEach(o=>{o.readKeyframes(),o.needsMeasurement&&(bg=!0)})}function i_(){Sg=!0,PT(),YT(),Sg=!1}class ov{constructor(r,l,u,f,m,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=l,this.name=u,this.motionValue=f,this.element=m,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(Es.add(this),vg||(vg=!0,ut.read(PT),ut.resolveKeyframes(YT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:l,element:u,motionValue:f}=this;if(r[0]===null){const m=f?.get(),h=r[r.length-1];if(m!==void 0)r[0]=m;else if(u&&l){const p=u.readValue(l,h);p!=null&&(r[0]=p)}r[0]===void 0&&(r[0]=h),f&&m===void 0&&f.set(r[0])}WU(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),Es.delete(this)}cancel(){this.state==="scheduled"&&(Es.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const l_=o=>o.startsWith("--");function u_(o,r,l){l_(r)?o.style.setProperty(r,l):o.style[r]=l}const c_=$g(()=>window.ScrollTimeline!==void 0),f_={};function d_(o,r){const l=$g(o);return()=>f_[r]??l()}const GT=d_(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Uu=([o,r,l,u])=>`cubic-bezier(${o}, ${r}, ${l}, ${u})`,VE={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Uu([0,.65,.55,1]),circOut:Uu([.55,0,1,.45]),backIn:Uu([.31,.01,.66,-.59]),backOut:Uu([.33,1.53,.69,.99])};function $T(o,r){if(o)return typeof o=="function"?GT()?BT(o,r):"ease-out":RT(o)?Uu(o):Array.isArray(o)?o.map(l=>$T(l,r)||VE.easeOut):VE[o]}function h_(o,r,l,{delay:u=0,duration:f=300,repeat:m=0,repeatType:h="loop",ease:p="easeOut",times:v}={},S=void 0){const b={[r]:l};v&&(b.offset=v);const E=$T(p,f);Array.isArray(E)&&(b.easing=E);const D={delay:u,duration:f,easing:Array.isArray(E)?"linear":E,fill:"both",iterations:m+1,direction:h==="reverse"?"alternate":"normal"};return S&&(D.pseudoElement=S),o.animate(b,D)}function XT(o){return typeof o=="function"&&"applyToOptions"in o}function m_({type:o,...r}){return XT(o)&&GT()?o.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class ZT extends nv{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:l,name:u,keyframes:f,pseudoElement:m,allowFlatten:h=!1,finalKeyframe:p,onComplete:v}=r;this.isPseudoElement=!!m,this.allowFlatten=h,this.options=r,Oo(typeof r.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const S=m_(r);this.animation=h_(l,u,f,S,m),S.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!m){const b=tv(f,this.options,p,this.speed);this.updateMotionValue?this.updateMotionValue(b):u_(l,u,b),this.animation.cancel()}v?.(),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:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const r=this.options?.element;!this.isPseudoElement&&r?.isConnected&&this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return aa(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+aa(r)}get time(){return aa(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ra(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,r&&c_()?(this.animation.timeline=r,oa):l(this)}}const QT={anticipate:AT,backInOut:ET,circInOut:NT};function p_(o){return o in QT}function y_(o){typeof o.ease=="string"&&p_(o.ease)&&(o.ease=QT[o.ease])}const $y=10;class g_ extends ZT{constructor(r){y_(r),qT(r),super(r),r.startTime!==void 0&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:l,onUpdate:u,onComplete:f,element:m,...h}=this.options;if(!l)return;if(r!==void 0){l.set(r);return}const p=new av({...h,autoplay:!1}),v=Math.max($y,hn.now()-this.startTime),S=Wa(0,$y,v-$y);l.setWithVelocity(p.sample(Math.max(0,v-S)).value,p.sample(v).value,S),p.stop()}}const kE=(o,r)=>r==="zIndex"?!1:!!(typeof o=="number"||Array.isArray(o)||typeof o=="string"&&(Nr.test(o)||o==="0")&&!o.startsWith("url("));function v_(o){const r=o[0];if(o.length===1)return!0;for(let l=0;l<o.length;l++)if(o[l]!==r)return!0}function b_(o,r,l,u){const f=o[0];if(f===null)return!1;if(r==="display"||r==="visibility")return!0;const m=o[o.length-1],h=kE(f,r),p=kE(m,r);return Pi(h===p,`You are trying to animate ${r} from "${f}" to "${m}". "${h?m:f}" is not an animatable value.`,"value-not-animatable"),!h||!p?!1:v_(o)||(l==="spring"||XT(l))&&u}function Dg(o){o.duration=0,o.type="keyframes"}const S_=new Set(["opacity","clipPath","filter","transform"]),D_=$g(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function x_(o){const{motionValue:r,name:l,repeatDelay:u,repeatType:f,damping:m,type:h}=o;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:v,transformTemplate:S}=r.owner.getProps();return D_()&&l&&S_.has(l)&&(l!=="transform"||!S)&&!v&&!u&&f!=="mirror"&&m!==0&&h!=="inertia"}const E_=40;class A_ extends nv{constructor({autoplay:r=!0,delay:l=0,type:u="keyframes",repeat:f=0,repeatDelay:m=0,repeatType:h="loop",keyframes:p,name:v,motionValue:S,element:b,...E}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=hn.now();const D={autoplay:r,delay:l,type:u,repeat:f,repeatDelay:m,repeatType:h,name:v,motionValue:S,element:b,...E},C=b?.KeyframeResolver||ov;this.keyframeResolver=new C(p,(R,L,j)=>this.onKeyframesResolved(R,L,D,!j),v,S,b),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,l,u,f){this.keyframeResolver=void 0;const{name:m,type:h,velocity:p,delay:v,isHandoff:S,onUpdate:b}=u;this.resolvedAt=hn.now(),b_(r,m,h,p)||((Co.instantAnimations||!v)&&b?.(tv(r,u,l)),r[0]=r[r.length-1],Dg(u),u.repeat=0);const D={startTime:f?this.resolvedAt?this.resolvedAt-this.createdAt>E_?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:l,...u,keyframes:r},C=!S&&x_(D),R=D.motionValue?.owner?.current,L=C?new g_({...D,element:R}):new av(D);L.finished.then(()=>{this.notifyFinished()}).catch(oa),this.pendingTimeline&&(this.stopTimeline=L.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=L}get finished(){return this._animation?this.animation.finished:this._finished}then(r,l){return this.finished.finally(r).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),i_()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function FT(o,r,l,u=0,f=1){const m=Array.from(o).sort((S,b)=>S.sortNodePosition(b)).indexOf(r),h=o.size,p=(h-1)*u;return typeof l=="function"?l(m,h):f===1?m*u:p-m*u}const T_=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function N_(o){const r=T_.exec(o);if(!r)return[,];const[,l,u,f]=r;return[`--${l??u}`,f]}const w_=4;function JT(o,r,l=1){Oo(l<=w_,`Max CSS variable fallback depth detected in property "${o}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[u,f]=N_(o);if(!u)return;const m=window.getComputedStyle(r).getPropertyValue(u);if(m){const h=m.trim();return pT(h)?parseFloat(h):h}return Jg(f)?JT(f,r,l+1):f}const R_={type:"spring",stiffness:500,damping:25,restSpeed:10},O_=o=>({type:"spring",stiffness:550,damping:o===0?2*Math.sqrt(550):30,restSpeed:10}),C_={type:"keyframes",duration:.8},M_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},U_=(o,{keyframes:r})=>r.length>2?C_:Xi.has(o)?o.startsWith("scale")?O_(r[1]):R_:M_,__=o=>o!==null;function z_(o,{repeat:r,repeatType:l="loop"},u){const f=o.filter(__),m=r&&l!=="loop"&&r%2===1?0:f.length-1;return f[m]}function IT(o,r){if(o?.inherit&&r){const{inherit:l,...u}=o;return{...r,...u}}return o}function rv(o,r){const l=o?.[r]??o?.default??o;return l!==o?IT(l,o):l}function j_({when:o,delay:r,delayChildren:l,staggerChildren:u,staggerDirection:f,repeat:m,repeatType:h,repeatDelay:p,from:v,elapsed:S,...b}){return!!Object.keys(b).length}const sv=(o,r,l,u={},f,m)=>h=>{const p=rv(u,o)||{},v=p.delay||u.delay||0;let{elapsed:S=0}=u;S=S-ra(v);const b={keyframes:Array.isArray(l)?l:[null,l],ease:"easeOut",velocity:r.getVelocity(),...p,delay:-S,onUpdate:D=>{r.set(D),p.onUpdate&&p.onUpdate(D)},onComplete:()=>{h(),p.onComplete&&p.onComplete()},name:o,motionValue:r,element:m?void 0:f};j_(p)||Object.assign(b,U_(o,b)),b.duration&&(b.duration=ra(b.duration)),b.repeatDelay&&(b.repeatDelay=ra(b.repeatDelay)),b.from!==void 0&&(b.keyframes[0]=b.from);let E=!1;if((b.type===!1||b.duration===0&&!b.repeatDelay)&&(Dg(b),b.delay===0&&(E=!0)),(Co.instantAnimations||Co.skipAnimations||f?.shouldSkipAnimations)&&(E=!0,Dg(b),b.delay=0),b.allowFlatten=!p.type&&!p.ease,E&&!m&&r.get()!==void 0){const D=z_(b.keyframes,p);if(D!==void 0){ut.update(()=>{b.onUpdate(D),b.onComplete()});return}}return p.isSync?new av(b):new A_(b)};function LE(o){const r=[{},{}];return o?.values.forEach((l,u)=>{r[0][u]=l.get(),r[1][u]=l.getVelocity()}),r}function iv(o,r,l,u){if(typeof r=="function"){const[f,m]=LE(u);r=r(l!==void 0?l:o.custom,f,m)}if(typeof r=="string"&&(r=o.variants&&o.variants[r]),typeof r=="function"){const[f,m]=LE(u);r=r(l!==void 0?l:o.custom,f,m)}return r}function Hi(o,r,l){const u=o.getProps();return iv(u,r,l!==void 0?l:u.custom,o)}const KT=new Set(["width","height","top","left","right","bottom",...$i]),BE=30,V_=o=>!isNaN(parseFloat(o));class k_{constructor(r,l={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=u=>{const f=hn.now();if(this.updatedAt!==f&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(u),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const m of this.dependents)m.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=l.owner}setCurrent(r){this.current=r,this.updatedAt=hn.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=V_(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return Zg(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,l){this.events[r]||(this.events[r]=new Xg);const u=this.events[r].add(l);return r==="change"?()=>{u(),ut.read(()=>{this.events.change.getSize()||this.stop()})}:u}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,l){this.passiveEffect=r,this.stopPassiveEffect=l}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,l,u){this.set(l),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-u}jump(r,l=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,l&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=hn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>BE)return 0;const l=Math.min(this.updatedAt-this.prevUpdatedAt,BE);return vT(parseFloat(this.current)-parseFloat(this.prevFrameValue),l)}start(r){return this.stop(),new Promise(l=>{this.hasAnimated=!0,this.animation=r(l),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 qi(o,r){return new k_(o,r)}const xg=o=>Array.isArray(o);function L_(o,r,l){o.hasValue(r)?o.getValue(r).set(l):o.addValue(r,qi(l))}function B_(o){return xg(o)?o[o.length-1]||0:o}function H_(o,r){const l=Hi(o,r);let{transitionEnd:u={},transition:f={},...m}=l||{};m={...m,...u};for(const h in m){const p=B_(m[h]);L_(o,h,p)}}const tn=o=>!!(o&&o.getVelocity);function q_(o){return!!(tn(o)&&o.add)}function Eg(o,r){const l=o.getValue("willChange");if(q_(l))return l.add(r);if(!l&&Co.WillChange){const u=new Co.WillChange("auto");o.addValue("willChange",u),u.add(r)}}function lv(o){return o.replace(/([A-Z])/g,r=>`-${r.toLowerCase()}`)}const Y_="framerAppearId",WT="data-"+lv(Y_);function eN(o){return o.props[WT]}function P_({protectedKeys:o,needsAnimating:r},l){const u=o.hasOwnProperty(l)&&r[l]!==!0;return r[l]=!1,u}function tN(o,r,{delay:l=0,transitionOverride:u,type:f}={}){let{transition:m,transitionEnd:h,...p}=r;const v=o.getDefaultTransition();m=m?IT(m,v):v;const S=m?.reduceMotion;u&&(m=u);const b=[],E=f&&o.animationState&&o.animationState.getState()[f];for(const D in p){const C=o.getValue(D,o.latestValues[D]??null),R=p[D];if(R===void 0||E&&P_(E,D))continue;const L={delay:l,...rv(m||{},D)},j=C.get();if(j!==void 0&&!C.isAnimating&&!Array.isArray(R)&&R===j&&!L.velocity)continue;let Y=!1;if(window.MotionHandoffAnimation){const K=eN(o);if(K){const I=window.MotionHandoffAnimation(K,D,ut);I!==null&&(L.startTime=I,Y=!0)}}Eg(o,D);const Q=S??o.shouldReduceMotion;C.start(sv(D,C,R,Q&&KT.has(D)?{type:!1}:L,o,Y));const $=C.animation;$&&b.push($)}if(h){const D=()=>ut.update(()=>{h&&H_(o,h)});b.length?Promise.all(b).then(D):D()}return b}function Ag(o,r,l={}){const u=Hi(o,r,l.type==="exit"?o.presenceContext?.custom:void 0);let{transition:f=o.getDefaultTransition()||{}}=u||{};l.transitionOverride&&(f=l.transitionOverride);const m=u?()=>Promise.all(tN(o,u,l)):()=>Promise.resolve(),h=o.variantChildren&&o.variantChildren.size?(v=0)=>{const{delayChildren:S=0,staggerChildren:b,staggerDirection:E}=f;return G_(o,r,v,S,b,E,l)}:()=>Promise.resolve(),{when:p}=f;if(p){const[v,S]=p==="beforeChildren"?[m,h]:[h,m];return v().then(()=>S())}else return Promise.all([m(),h(l.delay)])}function G_(o,r,l=0,u=0,f=0,m=1,h){const p=[];for(const v of o.variantChildren)v.notify("AnimationStart",r),p.push(Ag(v,r,{...h,delay:l+(typeof u=="function"?0:u)+FT(o.variantChildren,v,u,f,m)}).then(()=>v.notify("AnimationComplete",r)));return Promise.all(p)}function $_(o,r,l={}){o.notify("AnimationStart",r);let u;if(Array.isArray(r)){const f=r.map(m=>Ag(o,m,l));u=Promise.all(f)}else if(typeof r=="string")u=Ag(o,r,l);else{const f=typeof r=="function"?Hi(o,r,l.custom):r;u=Promise.all(tN(o,f,l))}return u.then(()=>{o.notify("AnimationComplete",r)})}const X_={test:o=>o==="auto",parse:o=>o},nN=o=>r=>r.test(o),aN=[Gi,de,Ka,xr,bU,vU,X_],HE=o=>aN.find(nN(o));function Z_(o){return typeof o=="number"?o===0:o!==null?o==="none"||o==="0"||gT(o):!0}const Q_=new Set(["brightness","contrast","saturate","opacity"]);function F_(o){const[r,l]=o.slice(0,-1).split("(");if(r==="drop-shadow")return o;const[u]=l.match(Ig)||[];if(!u)return o;const f=l.replace(u,"");let m=Q_.has(r)?1:0;return u!==l&&(m*=100),r+"("+m+f+")"}const J_=/\b([a-z-]*)\(.*?\)/gu,Tg={...Nr,getAnimatableNone:o=>{const r=o.match(J_);return r?r.map(F_).join(" "):o}},qE={...Gi,transform:Math.round},I_={rotate:xr,rotateX:xr,rotateY:xr,rotateZ:xr,scale:yd,scaleX:yd,scaleY:yd,scaleZ:yd,skew:xr,skewX:xr,skewY:xr,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:ku,originX:wE,originY:wE,originZ:de},uv={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,inset:de,insetBlock:de,insetBlockStart:de,insetBlockEnd:de,insetInline:de,insetInlineStart:de,insetInlineEnd:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,paddingBlock:de,paddingBlockStart:de,paddingBlockEnd:de,paddingInline:de,paddingInlineStart:de,paddingInlineEnd:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,marginBlock:de,marginBlockStart:de,marginBlockEnd:de,marginInline:de,marginInlineStart:de,marginInlineEnd:de,fontSize:de,backgroundPositionX:de,backgroundPositionY:de,...I_,zIndex:qE,fillOpacity:ku,strokeOpacity:ku,numOctaves:qE},K_={...uv,color:Mt,backgroundColor:Mt,outlineColor:Mt,fill:Mt,stroke:Mt,borderColor:Mt,borderTopColor:Mt,borderRightColor:Mt,borderBottomColor:Mt,borderLeftColor:Mt,filter:Tg,WebkitFilter:Tg},oN=o=>K_[o];function rN(o,r){let l=oN(o);return l!==Tg&&(l=Nr),l.getAnimatableNone?l.getAnimatableNone(r):void 0}const W_=new Set(["auto","none","0"]);function e3(o,r,l){let u=0,f;for(;u<o.length&&!f;){const m=o[u];typeof m=="string"&&!W_.has(m)&&Lu(m).values.length&&(f=o[u]),u++}if(f&&l)for(const m of r)o[m]=rN(l,f)}class t3 extends ov{constructor(r,l,u,f,m){super(r,l,u,f,m,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:l,name:u}=this;if(!l||!l.current)return;super.readKeyframes();for(let b=0;b<r.length;b++){let E=r[b];if(typeof E=="string"&&(E=E.trim(),Jg(E))){const D=JT(E,l.current);D!==void 0&&(r[b]=D),b===r.length-1&&(this.finalKeyframe=E)}}if(this.resolveNoneKeyframes(),!KT.has(u)||r.length!==2)return;const[f,m]=r,h=HE(f),p=HE(m),v=NE(f),S=NE(m);if(v!==S&&Er[u]){this.needsMeasurement=!0;return}if(h!==p)if(jE(h)&&jE(p))for(let b=0;b<r.length;b++){const E=r[b];typeof E=="string"&&(r[b]=parseFloat(E))}else Er[u]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:l}=this,u=[];for(let f=0;f<r.length;f++)(r[f]===null||Z_(r[f]))&&u.push(f);u.length&&e3(r,u,l)}measureInitialState(){const{element:r,unresolvedKeyframes:l,name:u}=this;if(!r||!r.current)return;u==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Er[u](r.measureViewportBox(),window.getComputedStyle(r.current)),l[0]=this.measuredOrigin;const f=l[l.length-1];f!==void 0&&r.getValue(u,f).jump(f,!1)}measureEndState(){const{element:r,name:l,unresolvedKeyframes:u}=this;if(!r||!r.current)return;const f=r.getValue(l);f&&f.jump(this.measuredOrigin,!1);const m=u.length-1,h=u[m];u[m]=Er[l](r.measureViewportBox(),window.getComputedStyle(r.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),this.removedTransforms?.length&&this.removedTransforms.forEach(([p,v])=>{r.getValue(p).set(v)}),this.resolveNoneKeyframes()}}const n3=new Set(["opacity","clipPath","filter","transform"]);function sN(o,r,l){if(o==null)return[];if(o instanceof EventTarget)return[o];if(typeof o=="string"){let u=document;const f=l?.[o]??u.querySelectorAll(o);return f?Array.from(f):[]}return Array.from(o).filter(u=>u!=null)}const iN=(o,r)=>r&&typeof o=="number"?r.transform(o):o;function Ng(o){return yT(o)&&"offsetHeight"in o}const{schedule:cv}=OT(queueMicrotask,!1),ba={x:!1,y:!1};function lN(){return ba.x||ba.y}function a3(o){return o==="x"||o==="y"?ba[o]?null:(ba[o]=!0,()=>{ba[o]=!1}):ba.x||ba.y?null:(ba.x=ba.y=!0,()=>{ba.x=ba.y=!1})}function uN(o,r){const l=sN(o),u=new AbortController,f={passive:!0,...r,signal:u.signal};return[l,f,()=>u.abort()]}function o3(o){return!(o.pointerType==="touch"||lN())}function r3(o,r,l={}){const[u,f,m]=uN(o,l);return u.forEach(h=>{let p=!1,v=!1,S;const b=()=>{h.removeEventListener("pointerleave",R)},E=j=>{S&&(S(j),S=void 0),b()},D=j=>{p=!1,window.removeEventListener("pointerup",D),window.removeEventListener("pointercancel",D),v&&(v=!1,E(j))},C=()=>{p=!0,window.addEventListener("pointerup",D,f),window.addEventListener("pointercancel",D,f)},R=j=>{if(j.pointerType!=="touch"){if(p){v=!0;return}E(j)}},L=j=>{if(!o3(j))return;v=!1;const Y=r(h,j);typeof Y=="function"&&(S=Y,h.addEventListener("pointerleave",R,f))};h.addEventListener("pointerenter",L,f),h.addEventListener("pointerdown",C,f)}),m}const cN=(o,r)=>r?o===r?!0:cN(o,r.parentElement):!1,fv=o=>o.pointerType==="mouse"?typeof o.button!="number"||o.button<=0:o.isPrimary!==!1,s3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function i3(o){return s3.has(o.tagName)||o.isContentEditable===!0}const l3=new Set(["INPUT","SELECT","TEXTAREA"]);function u3(o){return l3.has(o.tagName)||o.isContentEditable===!0}const Ed=new WeakSet;function YE(o){return r=>{r.key==="Enter"&&o(r)}}function Xy(o,r){o.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const c3=(o,r)=>{const l=o.currentTarget;if(!l)return;const u=YE(()=>{if(Ed.has(l))return;Xy(l,"down");const f=YE(()=>{Xy(l,"up")}),m=()=>Xy(l,"cancel");l.addEventListener("keyup",f,r),l.addEventListener("blur",m,r)});l.addEventListener("keydown",u,r),l.addEventListener("blur",()=>l.removeEventListener("keydown",u),r)};function PE(o){return fv(o)&&!lN()}const GE=new WeakSet;function f3(o,r,l={}){const[u,f,m]=uN(o,l),h=p=>{const v=p.currentTarget;if(!PE(p)||GE.has(p))return;Ed.add(v),l.stopPropagation&&GE.add(p);const S=r(v,p),b=(C,R)=>{window.removeEventListener("pointerup",E),window.removeEventListener("pointercancel",D),Ed.has(v)&&Ed.delete(v),PE(C)&&typeof S=="function"&&S(C,{success:R})},E=C=>{b(C,v===window||v===document||l.useGlobalTarget||cN(v,C.target))},D=C=>{b(C,!1)};window.addEventListener("pointerup",E,f),window.addEventListener("pointercancel",D,f)};return u.forEach(p=>{(l.useGlobalTarget?window:p).addEventListener("pointerdown",h,f),Ng(p)&&(p.addEventListener("focus",S=>c3(S,f)),!i3(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),m}function dv(o){return yT(o)&&"ownerSVGElement"in o}const Ad=new WeakMap;let Td;const fN=(o,r,l)=>(u,f)=>f&&f[0]?f[0][o+"Size"]:dv(u)&&"getBBox"in u?u.getBBox()[r]:u[l],d3=fN("inline","width","offsetWidth"),h3=fN("block","height","offsetHeight");function m3({target:o,borderBoxSize:r}){Ad.get(o)?.forEach(l=>{l(o,{get width(){return d3(o,r)},get height(){return h3(o,r)}})})}function p3(o){o.forEach(m3)}function y3(){typeof ResizeObserver>"u"||(Td=new ResizeObserver(p3))}function g3(o,r){Td||y3();const l=sN(o);return l.forEach(u=>{let f=Ad.get(u);f||(f=new Set,Ad.set(u,f)),f.add(r),Td?.observe(u)}),()=>{l.forEach(u=>{const f=Ad.get(u);f?.delete(r),f?.size||Td?.unobserve(u)})}}const Nd=new Set;let Vi;function v3(){Vi=()=>{const o={get width(){return window.innerWidth},get height(){return window.innerHeight}};Nd.forEach(r=>r(o))},window.addEventListener("resize",Vi)}function b3(o){return Nd.add(o),Vi||v3(),()=>{Nd.delete(o),!Nd.size&&typeof Vi=="function"&&(window.removeEventListener("resize",Vi),Vi=void 0)}}function $E(o,r){return typeof o=="function"?b3(o):g3(o,r)}function S3(o){return dv(o)&&o.tagName==="svg"}const D3=[...aN,Mt,Nr],x3=o=>D3.find(nN(o)),XE=()=>({translate:0,scale:1,origin:0,originPoint:0}),ki=()=>({x:XE(),y:XE()}),ZE=()=>({min:0,max:0}),jt=()=>({x:ZE(),y:ZE()}),E3=new WeakMap;function Pd(o){return o!==null&&typeof o=="object"&&typeof o.start=="function"}function Bu(o){return typeof o=="string"||Array.isArray(o)}const hv=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mv=["initial",...hv];function Gd(o){return Pd(o.animate)||mv.some(r=>Bu(o[r]))}function dN(o){return!!(Gd(o)||o.variants)}function A3(o,r,l){for(const u in r){const f=r[u],m=l[u];if(tn(f))o.addValue(u,f);else if(tn(m))o.addValue(u,qi(f,{owner:o}));else if(m!==f)if(o.hasValue(u)){const h=o.getValue(u);h.liveStyle===!0?h.jump(f):h.hasAnimated||h.set(f)}else{const h=o.getStaticValue(u);o.addValue(u,qi(h!==void 0?h:f,{owner:o}))}}for(const u in l)r[u]===void 0&&o.removeValue(u);return r}const wg={current:null},hN={current:!1},T3=typeof window<"u";function N3(){if(hN.current=!0,!!T3)if(window.matchMedia){const o=window.matchMedia("(prefers-reduced-motion)"),r=()=>wg.current=o.matches;o.addEventListener("change",r),r()}else wg.current=!1}const QE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let kd={};function mN(o){kd=o}function w3(){return kd}class R3{scrapeMotionValuesFromProps(r,l,u){return{}}constructor({parent:r,props:l,presenceContext:u,reducedMotionConfig:f,skipAnimations:m,blockInitialAnimation:h,visualState:p},v={}){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=ov,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 C=hn.now();this.renderScheduledAt<C&&(this.renderScheduledAt=C,ut.render(this.render,!1,!0))};const{latestValues:S,renderState:b}=p;this.latestValues=S,this.baseTarget={...S},this.initialValues=l.initial?{...S}:{},this.renderState=b,this.parent=r,this.props=l,this.presenceContext=u,this.depth=r?r.depth+1:0,this.reducedMotionConfig=f,this.skipAnimationsConfig=m,this.options=v,this.blockInitialAnimation=!!h,this.isControllingVariants=Gd(l),this.isVariantNode=dN(l),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:E,...D}=this.scrapeMotionValuesFromProps(l,{},this);for(const C in D){const R=D[C];S[C]!==void 0&&tn(R)&&R.set(S[C])}}mount(r){if(this.hasBeenMounted)for(const l in this.initialValues)this.values.get(l)?.jump(this.initialValues[l]),this.latestValues[l]=this.initialValues[l];this.current=r,E3.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((l,u)=>this.bindToMotionValue(u,l)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(hN.current||N3(),this.shouldReduceMotion=wg.current),Zg(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(),Tr(this.notifyUpdate),Tr(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const l=this.features[r];l&&(l.unmount(),l.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,l){if(this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)(),l.accelerate&&n3.has(r)&&this.current instanceof HTMLElement){const{factory:h,keyframes:p,times:v,ease:S,duration:b}=l.accelerate,E=new ZT({element:this.current,name:r,keyframes:p,times:v,ease:S,duration:ra(b)}),D=h(E);this.valueSubscriptions.set(r,()=>{D(),E.cancel()});return}const u=Xi.has(r);u&&this.onBindTransform&&this.onBindTransform();const f=l.on("change",h=>{this.latestValues[r]=h,this.props.onUpdate&&ut.preRender(this.notifyUpdate),u&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let m;typeof window<"u"&&window.MotionCheckAppearSync&&(m=window.MotionCheckAppearSync(this,r,l)),this.valueSubscriptions.set(r,()=>{f(),m&&m(),l.owner&&l.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in kd){const l=kd[r];if(!l)continue;const{isEnabled:u,Feature:f}=l;if(!this.features[r]&&f&&u(this.props)&&(this.features[r]=new f(this)),this.features[r]){const m=this.features[r];m.isMounted?m.update():(m.mount(),m.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):jt()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,l){this.latestValues[r]=l}update(r,l){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=l;for(let u=0;u<QE.length;u++){const f=QE[u];this.propEventSubscriptions[f]&&(this.propEventSubscriptions[f](),delete this.propEventSubscriptions[f]);const m="on"+f,h=r[m];h&&(this.propEventSubscriptions[f]=this.on(f,h))}this.prevMotionValues=A3(this,this.scrapeMotionValuesFromProps(r,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]: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(r){const l=this.getClosestVariantNode();if(l)return l.variantChildren&&l.variantChildren.add(r),()=>l.variantChildren.delete(r)}addValue(r,l){const u=this.values.get(r);l!==u&&(u&&this.removeValue(r),this.bindToMotionValue(r,l),this.values.set(r,l),this.latestValues[r]=l.get())}removeValue(r){this.values.delete(r);const l=this.valueSubscriptions.get(r);l&&(l(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,l){if(this.props.values&&this.props.values[r])return this.props.values[r];let u=this.values.get(r);return u===void 0&&l!==void 0&&(u=qi(l===null?void 0:l,{owner:this}),this.addValue(r,u)),u}readValue(r,l){let u=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return u!=null&&(typeof u=="string"&&(pT(u)||gT(u))?u=parseFloat(u):!x3(u)&&Nr.test(l)&&(u=rN(r,l)),this.setBaseTarget(r,tn(u)?u.get():u)),tn(u)?u.get():u}setBaseTarget(r,l){this.baseTarget[r]=l}getBaseTarget(r){const{initial:l}=this.props;let u;if(typeof l=="string"||typeof l=="object"){const m=iv(this.props,l,this.presenceContext?.custom);m&&(u=m[r])}if(l&&u!==void 0)return u;const f=this.getBaseTargetFromProps(this.props,r);return f!==void 0&&!tn(f)?f:this.initialValues[r]!==void 0&&u===void 0?void 0:this.baseTarget[r]}on(r,l){return this.events[r]||(this.events[r]=new Xg),this.events[r].add(l)}notify(r,...l){this.events[r]&&this.events[r].notify(...l)}scheduleRenderMicrotask(){cv.render(this.render)}}class pN extends R3{constructor(){super(...arguments),this.KeyframeResolver=t3}sortInstanceNodePosition(r,l){return r.compareDocumentPosition(l)&2?1:-1}getBaseTargetFromProps(r,l){const u=r.style;return u?u[l]:void 0}removeValueFromRenderState(r,{vars:l,style:u}){delete l[r],delete u[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;tn(r)&&(this.childSubscription=r.on("change",l=>{this.current&&(this.current.textContent=`${l}`)}))}}class wr{constructor(r){this.isMounted=!1,this.node=r}update(){}}function yN({top:o,left:r,right:l,bottom:u}){return{x:{min:r,max:l},y:{min:o,max:u}}}function O3({x:o,y:r}){return{top:r.min,right:o.max,bottom:r.max,left:o.min}}function C3(o,r){if(!r)return o;const l=r({x:o.left,y:o.top}),u=r({x:o.right,y:o.bottom});return{top:l.y,left:l.x,bottom:u.y,right:u.x}}function Zy(o){return o===void 0||o===1}function Rg({scale:o,scaleX:r,scaleY:l}){return!Zy(o)||!Zy(r)||!Zy(l)}function bs(o){return Rg(o)||gN(o)||o.z||o.rotate||o.rotateX||o.rotateY||o.skewX||o.skewY}function gN(o){return FE(o.x)||FE(o.y)}function FE(o){return o&&o!=="0%"}function Ld(o,r,l){const u=o-l,f=r*u;return l+f}function JE(o,r,l,u,f){return f!==void 0&&(o=Ld(o,f,u)),Ld(o,l,u)+r}function Og(o,r=0,l=1,u,f){o.min=JE(o.min,r,l,u,f),o.max=JE(o.max,r,l,u,f)}function vN(o,{x:r,y:l}){Og(o.x,r.translate,r.scale,r.originPoint),Og(o.y,l.translate,l.scale,l.originPoint)}const IE=.999999999999,KE=1.0000000000001;function M3(o,r,l,u=!1){const f=l.length;if(!f)return;r.x=r.y=1;let m,h;for(let p=0;p<f;p++){m=l[p],h=m.projectionDelta;const{visualElement:v}=m.options;v&&v.props.style&&v.props.style.display==="contents"||(u&&m.options.layoutScroll&&m.scroll&&m!==m.root&&Bi(o,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),h&&(r.x*=h.x.scale,r.y*=h.y.scale,vN(o,h)),u&&bs(m.latestValues)&&Bi(o,m.latestValues))}r.x<KE&&r.x>IE&&(r.x=1),r.y<KE&&r.y>IE&&(r.y=1)}function Li(o,r){o.min=o.min+r,o.max=o.max+r}function WE(o,r,l,u,f=.5){const m=vt(o.min,o.max,f);Og(o,r,l,m,u)}function Bi(o,r){WE(o.x,r.x,r.scaleX,r.scale,r.originX),WE(o.y,r.y,r.scaleY,r.scale,r.originY)}function bN(o,r){return yN(C3(o.getBoundingClientRect(),r))}function U3(o,r,l){const u=bN(o,l),{scroll:f}=r;return f&&(Li(u.x,f.offset.x),Li(u.y,f.offset.y)),u}const _3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},z3=$i.length;function j3(o,r,l){let u="",f=!0;for(let m=0;m<z3;m++){const h=$i[m],p=o[h];if(p===void 0)continue;let v=!0;if(typeof p=="number")v=p===(h.startsWith("scale")?1:0);else{const S=parseFloat(p);v=h.startsWith("scale")?S===1:S===0}if(!v||l){const S=iN(p,uv[h]);if(!v){f=!1;const b=_3[h]||h;u+=`${b}(${S}) `}l&&(r[h]=S)}}return u=u.trim(),l?u=l(r,f?"":u):f&&(u="none"),u}function pv(o,r,l){const{style:u,vars:f,transformOrigin:m}=o;let h=!1,p=!1;for(const v in r){const S=r[v];if(Xi.has(v)){h=!0;continue}else if(MT(v)){f[v]=S;continue}else{const b=iN(S,uv[v]);v.startsWith("origin")?(p=!0,m[v]=b):u[v]=b}}if(r.transform||(h||l?u.transform=j3(r,o.transform,l):u.transform&&(u.transform="none")),p){const{originX:v="50%",originY:S="50%",originZ:b=0}=m;u.transformOrigin=`${v} ${S} ${b}`}}function SN(o,{style:r,vars:l},u,f){const m=o.style;let h;for(h in r)m[h]=r[h];f?.applyProjectionStyles(m,u);for(h in l)m.setProperty(h,l[h])}function eA(o,r){return r.max===r.min?0:o/(r.max-r.min)*100}const Ou={correct:(o,r)=>{if(!r.target)return o;if(typeof o=="string")if(de.test(o))o=parseFloat(o);else return o;const l=eA(o,r.target.x),u=eA(o,r.target.y);return`${l}% ${u}%`}},V3={correct:(o,{treeScale:r,projectionDelta:l})=>{const u=o,f=Nr.parse(o);if(f.length>5)return u;const m=Nr.createTransformer(o),h=typeof f[0]!="number"?1:0,p=l.x.scale*r.x,v=l.y.scale*r.y;f[0+h]/=p,f[1+h]/=v;const S=vt(p,v,.5);return typeof f[2+h]=="number"&&(f[2+h]/=S),typeof f[3+h]=="number"&&(f[3+h]/=S),m(f)}},Cg={borderRadius:{...Ou,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ou,borderTopRightRadius:Ou,borderBottomLeftRadius:Ou,borderBottomRightRadius:Ou,boxShadow:V3};function DN(o,{layout:r,layoutId:l}){return Xi.has(o)||o.startsWith("origin")||(r||l!==void 0)&&(!!Cg[o]||o==="opacity")}function yv(o,r,l){const u=o.style,f=r?.style,m={};if(!u)return m;for(const h in u)(tn(u[h])||f&&tn(f[h])||DN(h,o)||l?.getValue(h)?.liveStyle!==void 0)&&(m[h]=u[h]);return m}function k3(o){return window.getComputedStyle(o)}class L3 extends pN{constructor(){super(...arguments),this.type="html",this.renderInstance=SN}readValueFromInstance(r,l){if(Xi.has(l))return this.projection?.isProjecting?yg(l):n_(r,l);{const u=k3(r),f=(MT(l)?u.getPropertyValue(l):u[l])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(r,{transformPagePoint:l}){return bN(r,l)}build(r,l,u){pv(r,l,u.transformTemplate)}scrapeMotionValuesFromProps(r,l,u){return yv(r,l,u)}}const B3={offset:"stroke-dashoffset",array:"stroke-dasharray"},H3={offset:"strokeDashoffset",array:"strokeDasharray"};function q3(o,r,l=1,u=0,f=!0){o.pathLength=1;const m=f?B3:H3;o[m.offset]=`${-u}`,o[m.array]=`${r} ${l}`}const Y3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function xN(o,{attrX:r,attrY:l,attrScale:u,pathLength:f,pathSpacing:m=1,pathOffset:h=0,...p},v,S,b){if(pv(o,p,S),v){o.style.viewBox&&(o.attrs.viewBox=o.style.viewBox);return}o.attrs=o.style,o.style={};const{attrs:E,style:D}=o;E.transform&&(D.transform=E.transform,delete E.transform),(D.transform||E.transformOrigin)&&(D.transformOrigin=E.transformOrigin??"50% 50%",delete E.transformOrigin),D.transform&&(D.transformBox=b?.transformBox??"fill-box",delete E.transformBox);for(const C of Y3)E[C]!==void 0&&(D[C]=E[C],delete E[C]);r!==void 0&&(E.x=r),l!==void 0&&(E.y=l),u!==void 0&&(E.scale=u),f!==void 0&&q3(E,f,m,h,!1)}const EN=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"]),AN=o=>typeof o=="string"&&o.toLowerCase()==="svg";function P3(o,r,l,u){SN(o,r,void 0,u);for(const f in r.attrs)o.setAttribute(EN.has(f)?f:lv(f),r.attrs[f])}function TN(o,r,l){const u=yv(o,r,l);for(const f in o)if(tn(o[f])||tn(r[f])){const m=$i.indexOf(f)!==-1?"attr"+f.charAt(0).toUpperCase()+f.substring(1):f;u[m]=o[f]}return u}class G3 extends pN{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=jt}getBaseTargetFromProps(r,l){return r[l]}readValueFromInstance(r,l){if(Xi.has(l)){const u=oN(l);return u&&u.default||0}return l=EN.has(l)?l:lv(l),r.getAttribute(l)}scrapeMotionValuesFromProps(r,l,u){return TN(r,l,u)}build(r,l,u){xN(r,l,this.isSVGTag,u.transformTemplate,u.style)}renderInstance(r,l,u,f){P3(r,l,u,f)}mount(r){this.isSVGTag=AN(r.tagName),super.mount(r)}}const $3=mv.length;function NN(o){if(!o)return;if(!o.isControllingVariants){const l=o.parent?NN(o.parent)||{}:{};return o.props.initial!==void 0&&(l.initial=o.props.initial),l}const r={};for(let l=0;l<$3;l++){const u=mv[l],f=o.props[u];(Bu(f)||f===!1)&&(r[u]=f)}return r}function wN(o,r){if(!Array.isArray(r))return!1;const l=r.length;if(l!==o.length)return!1;for(let u=0;u<l;u++)if(r[u]!==o[u])return!1;return!0}const X3=[...hv].reverse(),Z3=hv.length;function Q3(o){return r=>Promise.all(r.map(({animation:l,options:u})=>$_(o,l,u)))}function F3(o){let r=Q3(o),l=tA(),u=!0;const f=v=>(S,b)=>{const E=Hi(o,b,v==="exit"?o.presenceContext?.custom:void 0);if(E){const{transition:D,transitionEnd:C,...R}=E;S={...S,...R,...C}}return S};function m(v){r=v(o)}function h(v){const{props:S}=o,b=NN(o.parent)||{},E=[],D=new Set;let C={},R=1/0;for(let j=0;j<Z3;j++){const Y=X3[j],Q=l[Y],$=S[Y]!==void 0?S[Y]:b[Y],K=Bu($),I=Y===v?Q.isActive:null;I===!1&&(R=j);let De=$===b[Y]&&$!==S[Y]&&K;if(De&&u&&o.manuallyAnimateOnMount&&(De=!1),Q.protectedKeys={...C},!Q.isActive&&I===null||!$&&!Q.prevProp||Pd($)||typeof $=="boolean")continue;if(Y==="exit"&&Q.isActive&&I!==!0){Q.prevResolvedValues&&(C={...C,...Q.prevResolvedValues});continue}const be=J3(Q.prevProp,$);let W=be||Y===v&&Q.isActive&&!De&&K||j>R&&K,fe=!1;const q=Array.isArray($)?$:[$];let ue=q.reduce(f(Y),{});I===!1&&(ue={});const{prevResolvedValues:ne={}}=Q,ae={...ne,...ue},Ee=oe=>{W=!0,D.has(oe)&&(fe=!0,D.delete(oe)),Q.needsAnimating[oe]=!0;const se=o.getValue(oe);se&&(se.liveStyle=!1)};for(const oe in ae){const se=ue[oe],Re=ne[oe];if(C.hasOwnProperty(oe))continue;let He=!1;xg(se)&&xg(Re)?He=!wN(se,Re):He=se!==Re,He?se!=null?Ee(oe):D.add(oe):se!==void 0&&D.has(oe)?Ee(oe):Q.protectedKeys[oe]=!0}Q.prevProp=$,Q.prevResolvedValues=ue,Q.isActive&&(C={...C,...ue}),u&&o.blockInitialAnimation&&(W=!1);const _e=De&&be;W&&(!_e||fe)&&E.push(...q.map(oe=>{const se={type:Y};if(typeof oe=="string"&&u&&!_e&&o.manuallyAnimateOnMount&&o.parent){const{parent:Re}=o,He=Hi(Re,oe);if(Re.enteringChildren&&He){const{delayChildren:O}=He.transition||{};se.delay=FT(Re.enteringChildren,o,O)}}return{animation:oe,options:se}}))}if(D.size){const j={};if(typeof S.initial!="boolean"){const Y=Hi(o,Array.isArray(S.initial)?S.initial[0]:S.initial);Y&&Y.transition&&(j.transition=Y.transition)}D.forEach(Y=>{const Q=o.getBaseTarget(Y),$=o.getValue(Y);$&&($.liveStyle=!0),j[Y]=Q??null}),E.push({animation:j})}let L=!!E.length;return u&&(S.initial===!1||S.initial===S.animate)&&!o.manuallyAnimateOnMount&&(L=!1),u=!1,L?r(E):Promise.resolve()}function p(v,S){if(l[v].isActive===S)return Promise.resolve();o.variantChildren?.forEach(E=>E.animationState?.setActive(v,S)),l[v].isActive=S;const b=h(v);for(const E in l)l[E].protectedKeys={};return b}return{animateChanges:h,setActive:p,setAnimateFunction:m,getState:()=>l,reset:()=>{l=tA()}}}function J3(o,r){return typeof r=="string"?r!==o:Array.isArray(r)?!wN(r,o):!1}function vs(o=!1){return{isActive:o,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tA(){return{animate:vs(!0),whileInView:vs(),whileHover:vs(),whileTap:vs(),whileDrag:vs(),whileFocus:vs(),exit:vs()}}function nA(o,r){o.min=r.min,o.max=r.max}function va(o,r){nA(o.x,r.x),nA(o.y,r.y)}function aA(o,r){o.translate=r.translate,o.scale=r.scale,o.originPoint=r.originPoint,o.origin=r.origin}const RN=1e-4,I3=1-RN,K3=1+RN,ON=.01,W3=0-ON,ez=0+ON;function mn(o){return o.max-o.min}function tz(o,r,l){return Math.abs(o-r)<=l}function oA(o,r,l,u=.5){o.origin=u,o.originPoint=vt(r.min,r.max,o.origin),o.scale=mn(l)/mn(r),o.translate=vt(l.min,l.max,o.origin)-o.originPoint,(o.scale>=I3&&o.scale<=K3||isNaN(o.scale))&&(o.scale=1),(o.translate>=W3&&o.translate<=ez||isNaN(o.translate))&&(o.translate=0)}function zu(o,r,l,u){oA(o.x,r.x,l.x,u?u.originX:void 0),oA(o.y,r.y,l.y,u?u.originY:void 0)}function rA(o,r,l){o.min=l.min+r.min,o.max=o.min+mn(r)}function nz(o,r,l){rA(o.x,r.x,l.x),rA(o.y,r.y,l.y)}function sA(o,r,l){o.min=r.min-l.min,o.max=o.min+mn(r)}function Bd(o,r,l){sA(o.x,r.x,l.x),sA(o.y,r.y,l.y)}function iA(o,r,l,u,f){return o-=r,o=Ld(o,1/l,u),f!==void 0&&(o=Ld(o,1/f,u)),o}function az(o,r=0,l=1,u=.5,f,m=o,h=o){if(Ka.test(r)&&(r=parseFloat(r),r=vt(h.min,h.max,r/100)-h.min),typeof r!="number")return;let p=vt(m.min,m.max,u);o===m&&(p-=r),o.min=iA(o.min,r,l,p,f),o.max=iA(o.max,r,l,p,f)}function lA(o,r,[l,u,f],m,h){az(o,r[l],r[u],r[f],r.scale,m,h)}const oz=["x","scaleX","originX"],rz=["y","scaleY","originY"];function uA(o,r,l,u){lA(o.x,r,oz,l?l.x:void 0,u?u.x:void 0),lA(o.y,r,rz,l?l.y:void 0,u?u.y:void 0)}function cA(o){return o.translate===0&&o.scale===1}function CN(o){return cA(o.x)&&cA(o.y)}function fA(o,r){return o.min===r.min&&o.max===r.max}function sz(o,r){return fA(o.x,r.x)&&fA(o.y,r.y)}function dA(o,r){return Math.round(o.min)===Math.round(r.min)&&Math.round(o.max)===Math.round(r.max)}function MN(o,r){return dA(o.x,r.x)&&dA(o.y,r.y)}function hA(o){return mn(o.x)/mn(o.y)}function mA(o,r){return o.translate===r.translate&&o.scale===r.scale&&o.originPoint===r.originPoint}function Ia(o){return[o("x"),o("y")]}function iz(o,r,l){let u="";const f=o.x.translate/r.x,m=o.y.translate/r.y,h=l?.z||0;if((f||m||h)&&(u=`translate3d(${f}px, ${m}px, ${h}px) `),(r.x!==1||r.y!==1)&&(u+=`scale(${1/r.x}, ${1/r.y}) `),l){const{transformPerspective:S,rotate:b,rotateX:E,rotateY:D,skewX:C,skewY:R}=l;S&&(u=`perspective(${S}px) ${u}`),b&&(u+=`rotate(${b}deg) `),E&&(u+=`rotateX(${E}deg) `),D&&(u+=`rotateY(${D}deg) `),C&&(u+=`skewX(${C}deg) `),R&&(u+=`skewY(${R}deg) `)}const p=o.x.scale*r.x,v=o.y.scale*r.y;return(p!==1||v!==1)&&(u+=`scale(${p}, ${v})`),u||"none"}const UN=["TopLeft","TopRight","BottomLeft","BottomRight"],lz=UN.length,pA=o=>typeof o=="string"?parseFloat(o):o,yA=o=>typeof o=="number"||de.test(o);function uz(o,r,l,u,f,m){f?(o.opacity=vt(0,l.opacity??1,cz(u)),o.opacityExit=vt(r.opacity??1,0,fz(u))):m&&(o.opacity=vt(r.opacity??1,l.opacity??1,u));for(let h=0;h<lz;h++){const p=`border${UN[h]}Radius`;let v=gA(r,p),S=gA(l,p);if(v===void 0&&S===void 0)continue;v||(v=0),S||(S=0),v===0||S===0||yA(v)===yA(S)?(o[p]=Math.max(vt(pA(v),pA(S),u),0),(Ka.test(S)||Ka.test(v))&&(o[p]+="%")):o[p]=S}(r.rotate||l.rotate)&&(o.rotate=vt(r.rotate||0,l.rotate||0,u))}function gA(o,r){return o[r]!==void 0?o[r]:o.borderRadius}const cz=_N(0,.5,TT),fz=_N(.5,.95,oa);function _N(o,r,l){return u=>u<o?0:u>r?1:l(Vu(o,r,u))}function dz(o,r,l){const u=tn(o)?o:qi(o);return u.start(sv("",u,r,l)),u.animation}function Hu(o,r,l,u={passive:!0}){return o.addEventListener(r,l,u),()=>o.removeEventListener(r,l)}const hz=(o,r)=>o.depth-r.depth;class mz{constructor(){this.children=[],this.isDirty=!1}add(r){Gg(this.children,r),this.isDirty=!0}remove(r){_d(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(hz),this.isDirty=!1,this.children.forEach(r)}}function pz(o,r){const l=hn.now(),u=({timestamp:f})=>{const m=f-l;m>=r&&(Tr(u),o(m-r))};return ut.setup(u,!0),()=>Tr(u)}function wd(o){return tn(o)?o.get():o}class yz{constructor(){this.members=[]}add(r){Gg(this.members,r);for(let l=this.members.length-1;l>=0;l--){const u=this.members[l];if(u===r||u===this.lead||u===this.prevLead)continue;const f=u.instance;f&&f.isConnected===!1&&u.isPresent!==!1&&!u.snapshot&&_d(this.members,u)}r.scheduleRender()}remove(r){if(_d(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const l=this.members[this.members.length-1];l&&this.promote(l)}}relegate(r){const l=this.members.findIndex(f=>r===f);if(l===0)return!1;let u;for(let f=l;f>=0;f--){const m=this.members[f],h=m.instance;if(m.isPresent!==!1&&(!h||h.isConnected!==!1)){u=m;break}}return u?(this.promote(u),!0):!1}promote(r,l){const u=this.lead;if(r!==u&&(this.prevLead=u,this.lead=r,r.show(),u)){u.instance&&u.scheduleRender(),r.scheduleRender();const f=u.options.layoutDependency,m=r.options.layoutDependency;if(!(f!==void 0&&m!==void 0&&f===m)){const v=u.instance;v&&v.isConnected===!1&&!u.snapshot||(r.resumeFrom=u,l&&(r.resumeFrom.preserveOpacity=!0),u.snapshot&&(r.snapshot=u.snapshot,r.snapshot.latestValues=u.animationValues||u.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0))}const{crossfade:p}=r.options;p===!1&&u.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:l,resumingFrom:u}=r;l.onExitComplete&&l.onExitComplete(),u&&u.options.onExitComplete&&u.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Rd={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Qy=["","X","Y","Z"],gz=1e3;let vz=0;function Fy(o,r,l,u){const{latestValues:f}=r;f[o]&&(l[o]=f[o],r.setStaticValue(o,0),u&&(u[o]=0))}function zN(o){if(o.hasCheckedOptimisedAppear=!0,o.root===o)return;const{visualElement:r}=o.options;if(!r)return;const l=eN(r);if(window.MotionHasOptimisedAnimation(l,"transform")){const{layout:f,layoutId:m}=o.options;window.MotionCancelOptimisedAnimation(l,"transform",ut,!(f||m))}const{parent:u}=o;u&&!u.hasCheckedOptimisedAppear&&zN(u)}function jN({attachResizeListener:o,defaultParent:r,measureScroll:l,checkIsScrollRoot:u,resetTransform:f}){return class{constructor(h={},p=r?.()){this.id=vz++,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(Dz),this.nodes.forEach(Tz),this.nodes.forEach(Nz),this.nodes.forEach(xz)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let v=0;v<this.path.length;v++)this.path[v].shouldResetTransform=!0;this.root===this&&(this.nodes=new mz)}addEventListener(h,p){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new Xg),this.eventHandlers.get(h).add(p)}notifyListeners(h,...p){const v=this.eventHandlers.get(h);v&&v.notify(...p)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=dv(h)&&!S3(h),this.instance=h;const{layoutId:p,layout:v,visualElement:S}=this.options;if(S&&!S.current&&S.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(v||p)&&(this.isLayoutDirty=!0),o){let b,E=0;const D=()=>this.root.updateBlockedByResize=!1;ut.read(()=>{E=window.innerWidth}),o(h,()=>{const C=window.innerWidth;C!==E&&(E=C,this.root.updateBlockedByResize=!0,b&&b(),b=pz(D,250),Rd.hasAnimatedSinceResize&&(Rd.hasAnimatedSinceResize=!1,this.nodes.forEach(SA)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&S&&(p||v)&&this.addEventListener("didUpdate",({delta:b,hasLayoutChanged:E,hasRelativeLayoutChanged:D,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const R=this.options.transition||S.getDefaultTransition()||Mz,{onLayoutAnimationStart:L,onLayoutAnimationComplete:j}=S.getProps(),Y=!this.targetLayout||!MN(this.targetLayout,C),Q=!E&&D;if(this.options.layoutRoot||this.resumeFrom||Q||E&&(Y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const $={...rv(R,"layout"),onPlay:L,onComplete:j};(S.shouldReduceMotion||this.options.layoutRoot)&&($.delay=0,$.type=!1),this.startAnimation($),this.setAnimationOrigin(b,Q)}else E||SA(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Tr(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(wz),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&zN(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let b=0;b<this.path.length;b++){const E=this.path[b];E.shouldResetTransform=!0,E.updateScroll("snapshot"),E.options.layoutRoot&&E.willUpdate(!1)}const{layoutId:p,layout:v}=this.options;if(p===void 0&&!v)return;const S=this.getTransformTemplate();this.prevTransformTemplateValue=S?S(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vA);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(bA);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Az),this.nodes.forEach(bz),this.nodes.forEach(Sz)):this.nodes.forEach(bA),this.clearAllSnapshots();const p=hn.now();Zt.delta=Wa(0,1e3/60,p-Zt.timestamp),Zt.timestamp=p,Zt.isProcessing=!0,Hy.update.process(Zt),Hy.preRender.process(Zt),Hy.render.process(Zt),Zt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,cv.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ez),this.sharedNodes.forEach(Rz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ut.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ut.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!mn(this.snapshot.measuredBox.x)&&!mn(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 v=0;v<this.path.length;v++)this.path[v].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=jt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(p=!1),p&&this.instance){const v=u(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:v,offset:l(this.instance),wasRoot:this.scroll?this.scroll.isRoot:v}}}resetTransform(){if(!f)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!CN(this.projectionDelta),v=this.getTransformTemplate(),S=v?v(this.latestValues,""):void 0,b=S!==this.prevTransformTemplateValue;h&&this.instance&&(p||bs(this.latestValues)||b)&&(f(this.instance,S),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const p=this.measurePageBox();let v=this.removeElementScroll(p);return h&&(v=this.removeTransform(v)),Uz(v),{animationId:this.root.animationId,measuredBox:p,layoutBox:v,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return jt();const p=h.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(_z))){const{scroll:S}=this.root;S&&(Li(p.x,S.offset.x),Li(p.y,S.offset.y))}return p}removeElementScroll(h){const p=jt();if(va(p,h),this.scroll?.wasRoot)return p;for(let v=0;v<this.path.length;v++){const S=this.path[v],{scroll:b,options:E}=S;S!==this.root&&b&&E.layoutScroll&&(b.wasRoot&&va(p,h),Li(p.x,b.offset.x),Li(p.y,b.offset.y))}return p}applyTransform(h,p=!1){const v=jt();va(v,h);for(let S=0;S<this.path.length;S++){const b=this.path[S];!p&&b.options.layoutScroll&&b.scroll&&b!==b.root&&Bi(v,{x:-b.scroll.offset.x,y:-b.scroll.offset.y}),bs(b.latestValues)&&Bi(v,b.latestValues)}return bs(this.latestValues)&&Bi(v,this.latestValues),v}removeTransform(h){const p=jt();va(p,h);for(let v=0;v<this.path.length;v++){const S=this.path[v];if(!S.instance||!bs(S.latestValues))continue;Rg(S.latestValues)&&S.updateSnapshot();const b=jt(),E=S.measurePageBox();va(b,E),uA(p,S.latestValues,S.snapshot?S.snapshot.layoutBox:void 0,b)}return bs(this.latestValues)&&uA(p,this.latestValues),p}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.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!==Zt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const v=!!this.resumingFrom||this!==p;if(!(h||v&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:b,layoutId:E}=this.options;if(!this.layout||!(b||E))return;this.resolvedRelativeTargetAt=Zt.timestamp;const D=this.getClosestProjectingParent();D&&this.linkedParentVersion!==D.layoutVersion&&!D.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(D&&D.layout?this.createRelativeTarget(D,this.layout.layoutBox,D.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=jt(),this.targetWithTransforms=jt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),nz(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):va(this.target,this.layout.layoutBox),vN(this.target,this.targetDelta)):va(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,D&&!!D.resumingFrom==!!this.resumingFrom&&!D.options.layoutScroll&&D.target&&this.animationProgress!==1?this.createRelativeTarget(D,this.target,D.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Rg(this.parent.latestValues)||gN(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,p,v){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=jt(),this.relativeTargetOrigin=jt(),Bd(this.relativeTargetOrigin,p,v),va(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const h=this.getLead(),p=!!this.resumingFrom||this!==h;let v=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(v=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(v=!1),this.resolvedRelativeTargetAt===Zt.timestamp&&(v=!1),v)return;const{layout:S,layoutId:b}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(S||b))return;va(this.layoutCorrected,this.layout.layoutBox);const E=this.treeScale.x,D=this.treeScale.y;M3(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=jt());const{target:C}=h;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(aA(this.prevProjectionDelta.x,this.projectionDelta.x),aA(this.prevProjectionDelta.y,this.projectionDelta.y)),zu(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==E||this.treeScale.y!==D||!mA(this.projectionDelta.x,this.prevProjectionDelta.x)||!mA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.visualElement?.scheduleRender(),h){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ki(),this.projectionDelta=ki(),this.projectionDeltaWithTransform=ki()}setAnimationOrigin(h,p=!1){const v=this.snapshot,S=v?v.latestValues:{},b={...this.latestValues},E=ki();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const D=jt(),C=v?v.source:void 0,R=this.layout?this.layout.source:void 0,L=C!==R,j=this.getStack(),Y=!j||j.members.length<=1,Q=!!(L&&!Y&&this.options.crossfade===!0&&!this.path.some(Cz));this.animationProgress=0;let $;this.mixTargetDelta=K=>{const I=K/1e3;DA(E.x,h.x,I),DA(E.y,h.y,I),this.setTargetDelta(E),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bd(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Oz(this.relativeTarget,this.relativeTargetOrigin,D,I),$&&sz(this.relativeTarget,$)&&(this.isProjectionDirty=!1),$||($=jt()),va($,this.relativeTarget)),L&&(this.animationValues=b,uz(b,S,this.latestValues,I,Q,Y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=I},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Tr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ut.update(()=>{Rd.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=qi(0)),this.currentAnimation=dz(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),h.onUpdate&&h.onUpdate(p)},onStop:()=>{},onComplete:()=>{h.onComplete&&h.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 h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(gz),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:p,target:v,layout:S,latestValues:b}=h;if(!(!p||!v||!S)){if(this!==h&&this.layout&&S&&VN(this.options.animationType,this.layout.layoutBox,S.layoutBox)){v=this.target||jt();const E=mn(this.layout.layoutBox.x);v.x.min=h.target.x.min,v.x.max=v.x.min+E;const D=mn(this.layout.layoutBox.y);v.y.min=h.target.y.min,v.y.max=v.y.min+D}va(p,v),Bi(p,b),zu(this.projectionDeltaWithTransform,this.layoutCorrected,p,b)}}registerSharedNode(h,p){this.sharedNodes.has(h)||this.sharedNodes.set(h,new yz),this.sharedNodes.get(h).add(p);const S=p.options.initialPromotionConfig;p.promote({transition:S?S.transition:void 0,preserveFollowOpacity:S&&S.shouldPreserveFollowOpacity?S.shouldPreserveFollowOpacity(p):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){const{layoutId:h}=this.options;return h?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:h}=this.options;return h?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:p,preserveFollowOpacity:v}={}){const S=this.getStack();S&&S.promote(this,v),h&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let p=!1;const{latestValues:v}=h;if((v.z||v.rotate||v.rotateX||v.rotateY||v.rotateZ||v.skewX||v.skewY)&&(p=!0),!p)return;const S={};v.z&&Fy("z",h,S,this.animationValues);for(let b=0;b<Qy.length;b++)Fy(`rotate${Qy[b]}`,h,S,this.animationValues),Fy(`skew${Qy[b]}`,h,S,this.animationValues);h.render();for(const b in S)h.setStaticValue(b,S[b]),this.animationValues&&(this.animationValues[b]=S[b]);h.scheduleRender()}applyProjectionStyles(h,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){h.visibility="hidden";return}const v=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,h.visibility="",h.opacity="",h.pointerEvents=wd(p?.pointerEvents)||"",h.transform=v?v(this.latestValues,""):"none";return}const S=this.getLead();if(!this.projectionDelta||!this.layout||!S.target){this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=wd(p?.pointerEvents)||""),this.hasProjected&&!bs(this.latestValues)&&(h.transform=v?v({},""):"none",this.hasProjected=!1);return}h.visibility="";const b=S.animationValues||S.latestValues;this.applyTransformsToTarget();let E=iz(this.projectionDeltaWithTransform,this.treeScale,b);v&&(E=v(b,E)),h.transform=E;const{x:D,y:C}=this.projectionDelta;h.transformOrigin=`${D.origin*100}% ${C.origin*100}% 0`,S.animationValues?h.opacity=S===this?b.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:b.opacityExit:h.opacity=S===this?b.opacity!==void 0?b.opacity:"":b.opacityExit!==void 0?b.opacityExit:0;for(const R in Cg){if(b[R]===void 0)continue;const{correct:L,applyTo:j,isCSSVariable:Y}=Cg[R],Q=E==="none"?b[R]:L(b[R],S);if(j){const $=j.length;for(let K=0;K<$;K++)h[j[K]]=Q}else Y?this.options.visualElement.renderState.vars[R]=Q:h[R]=Q}this.options.layoutId&&(h.pointerEvents=S===this?wd(p?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>h.currentAnimation?.stop()),this.root.nodes.forEach(vA),this.root.sharedNodes.clear()}}}function bz(o){o.updateLayout()}function Sz(o){const r=o.resumeFrom?.snapshot||o.snapshot;if(o.isLead()&&o.layout&&r&&o.hasListeners("didUpdate")){const{layoutBox:l,measuredBox:u}=o.layout,{animationType:f}=o.options,m=r.source!==o.layout.source;f==="size"?Ia(b=>{const E=m?r.measuredBox[b]:r.layoutBox[b],D=mn(E);E.min=l[b].min,E.max=E.min+D}):VN(f,r.layoutBox,l)&&Ia(b=>{const E=m?r.measuredBox[b]:r.layoutBox[b],D=mn(l[b]);E.max=E.min+D,o.relativeTarget&&!o.currentAnimation&&(o.isProjectionDirty=!0,o.relativeTarget[b].max=o.relativeTarget[b].min+D)});const h=ki();zu(h,l,r.layoutBox);const p=ki();m?zu(p,o.applyTransform(u,!0),r.measuredBox):zu(p,l,r.layoutBox);const v=!CN(h);let S=!1;if(!o.resumeFrom){const b=o.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:E,layout:D}=b;if(E&&D){const C=jt();Bd(C,r.layoutBox,E.layoutBox);const R=jt();Bd(R,l,D.layoutBox),MN(C,R)||(S=!0),b.options.layoutRoot&&(o.relativeTarget=R,o.relativeTargetOrigin=C,o.relativeParent=b)}}}o.notifyListeners("didUpdate",{layout:l,snapshot:r,delta:p,layoutDelta:h,hasLayoutChanged:v,hasRelativeLayoutChanged:S})}else if(o.isLead()){const{onExitComplete:l}=o.options;l&&l()}o.options.transition=void 0}function Dz(o){o.parent&&(o.isProjecting()||(o.isProjectionDirty=o.parent.isProjectionDirty),o.isSharedProjectionDirty||(o.isSharedProjectionDirty=!!(o.isProjectionDirty||o.parent.isProjectionDirty||o.parent.isSharedProjectionDirty)),o.isTransformDirty||(o.isTransformDirty=o.parent.isTransformDirty))}function xz(o){o.isProjectionDirty=o.isSharedProjectionDirty=o.isTransformDirty=!1}function Ez(o){o.clearSnapshot()}function vA(o){o.clearMeasurements()}function bA(o){o.isLayoutDirty=!1}function Az(o){const{visualElement:r}=o.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),o.resetTransform()}function SA(o){o.finishAnimation(),o.targetDelta=o.relativeTarget=o.target=void 0,o.isProjectionDirty=!0}function Tz(o){o.resolveTargetDelta()}function Nz(o){o.calcProjection()}function wz(o){o.resetSkewAndRotation()}function Rz(o){o.removeLeadSnapshot()}function DA(o,r,l){o.translate=vt(r.translate,0,l),o.scale=vt(r.scale,1,l),o.origin=r.origin,o.originPoint=r.originPoint}function xA(o,r,l,u){o.min=vt(r.min,l.min,u),o.max=vt(r.max,l.max,u)}function Oz(o,r,l,u){xA(o.x,r.x,l.x,u),xA(o.y,r.y,l.y,u)}function Cz(o){return o.animationValues&&o.animationValues.opacityExit!==void 0}const Mz={duration:.45,ease:[.4,0,.1,1]},EA=o=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(o),AA=EA("applewebkit/")&&!EA("chrome/")?Math.round:oa;function TA(o){o.min=AA(o.min),o.max=AA(o.max)}function Uz(o){TA(o.x),TA(o.y)}function VN(o,r,l){return o==="position"||o==="preserve-aspect"&&!tz(hA(r),hA(l),.2)}function _z(o){return o!==o.root&&o.scroll?.wasRoot}const zz=jN({attachResizeListener:(o,r)=>Hu(o,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Jy={current:void 0},kN=jN({measureScroll:o=>({x:o.scrollLeft,y:o.scrollTop}),defaultParent:()=>{if(!Jy.current){const o=new zz({});o.mount(window),o.setOptions({layoutScroll:!0}),Jy.current=o}return Jy.current},resetTransform:(o,r)=>{o.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:o=>window.getComputedStyle(o).position==="fixed"}),gv=F.createContext({transformPagePoint:o=>o,isStatic:!1,reducedMotion:"never"});function NA(o,r){if(typeof o=="function")return o(r);o!=null&&(o.current=r)}function jz(...o){return r=>{let l=!1;const u=o.map(f=>{const m=NA(f,r);return!l&&typeof m=="function"&&(l=!0),m});if(l)return()=>{for(let f=0;f<u.length;f++){const m=u[f];typeof m=="function"?m():NA(o[f],null)}}}}function Vz(...o){return F.useCallback(jz(...o),o)}class kz extends F.Component{getSnapshotBeforeUpdate(r){const l=this.props.childRef.current;if(l&&r.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const u=l.offsetParent,f=Ng(u)&&u.offsetWidth||0,m=Ng(u)&&u.offsetHeight||0,h=this.props.sizeRef.current;h.height=l.offsetHeight||0,h.width=l.offsetWidth||0,h.top=l.offsetTop,h.left=l.offsetLeft,h.right=f-h.width-h.left,h.bottom=m-h.height-h.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Lz({children:o,isPresent:r,anchorX:l,anchorY:u,root:f,pop:m}){const h=F.useId(),p=F.useRef(null),v=F.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:S}=F.useContext(gv),b=o.props?.ref??o?.ref,E=Vz(p,b);return F.useInsertionEffect(()=>{const{width:D,height:C,top:R,left:L,right:j,bottom:Y}=v.current;if(r||m===!1||!p.current||!D||!C)return;const Q=l==="left"?`left: ${L}`:`right: ${j}`,$=u==="bottom"?`bottom: ${Y}`:`top: ${R}`;p.current.dataset.motionPopId=h;const K=document.createElement("style");S&&(K.nonce=S);const I=f??document.head;return I.appendChild(K),K.sheet&&K.sheet.insertRule(`
241
- [data-motion-pop-id="${h}"] {
242
- position: absolute !important;
243
- width: ${D}px !important;
244
- height: ${C}px !important;
245
- ${Q}px !important;
246
- ${$}px !important;
247
- }
248
- `),()=>{I.contains(K)&&I.removeChild(K)}},[r]),Ro.jsx(kz,{isPresent:r,childRef:p,sizeRef:v,pop:m,children:m===!1?o:F.cloneElement(o,{ref:E})})}const Bz=({children:o,initial:r,isPresent:l,onExitComplete:u,custom:f,presenceAffectsLayout:m,mode:h,anchorX:p,anchorY:v,root:S})=>{const b=Pg(Hz),E=F.useId();let D=!0,C=F.useMemo(()=>(D=!1,{id:E,initial:r,isPresent:l,custom:f,onExitComplete:R=>{b.set(R,!0);for(const L of b.values())if(!L)return;u&&u()},register:R=>(b.set(R,!1),()=>b.delete(R))}),[l,b,u]);return m&&D&&(C={...C}),F.useMemo(()=>{b.forEach((R,L)=>b.set(L,!1))},[l]),F.useEffect(()=>{!l&&!b.size&&u&&u()},[l]),o=Ro.jsx(Lz,{pop:h==="popLayout",isPresent:l,anchorX:p,anchorY:v,root:S,children:o}),Ro.jsx(Yd.Provider,{value:C,children:o})};function Hz(){return new Map}function LN(o=!0){const r=F.useContext(Yd);if(r===null)return[!0,null];const{isPresent:l,onExitComplete:u,register:f}=r,m=F.useId();F.useEffect(()=>{if(o)return f(m)},[o]);const h=F.useCallback(()=>o&&u&&u(m),[m,u,o]);return!l&&u?[!1,h]:[!0]}const gd=o=>o.key||"";function wA(o){const r=[];return F.Children.forEach(o,l=>{F.isValidElement(l)&&r.push(l)}),r}const Ar=({children:o,custom:r,initial:l=!0,onExitComplete:u,presenceAffectsLayout:f=!0,mode:m="sync",propagate:h=!1,anchorX:p="left",anchorY:v="top",root:S})=>{const[b,E]=LN(h),D=F.useMemo(()=>wA(o),[o]),C=h&&!b?[]:D.map(gd),R=F.useRef(!0),L=F.useRef(D),j=Pg(()=>new Map),Y=F.useRef(new Set),[Q,$]=F.useState(D),[K,I]=F.useState(D);mT(()=>{R.current=!1,L.current=D;for(let W=0;W<K.length;W++){const fe=gd(K[W]);C.includes(fe)?(j.delete(fe),Y.current.delete(fe)):j.get(fe)!==!0&&j.set(fe,!1)}},[K,C.length,C.join("-")]);const De=[];if(D!==Q){let W=[...D];for(let fe=0;fe<K.length;fe++){const q=K[fe],ue=gd(q);C.includes(ue)||(W.splice(fe,0,q),De.push(q))}return m==="wait"&&De.length&&(W=De),I(wA(W)),$(D),null}m==="wait"&&K.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:be}=F.useContext(Yg);return Ro.jsx(Ro.Fragment,{children:K.map(W=>{const fe=gd(W),q=h&&!b?!1:D===K||C.includes(fe),ue=()=>{if(Y.current.has(fe))return;if(Y.current.add(fe),j.has(fe))j.set(fe,!0);else return;let ne=!0;j.forEach(ae=>{ae||(ne=!1)}),ne&&(be?.(),I(L.current),h&&E?.(),u&&u())};return Ro.jsx(Bz,{isPresent:q,initial:!R.current||l?void 0:!1,custom:r,presenceAffectsLayout:f,mode:m,root:S,onExitComplete:q?void 0:ue,anchorX:p,anchorY:v,children:W},fe)})})},BN=F.createContext({strict:!1}),RA={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 OA=!1;function qz(){if(OA)return;const o={};for(const r in RA)o[r]={isEnabled:l=>RA[r].some(u=>!!l[u])};mN(o),OA=!0}function HN(){return qz(),w3()}function Yz(o){const r=HN();for(const l in o)r[l]={...r[l],...o[l]};mN(r)}const Pz=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 Hd(o){return o.startsWith("while")||o.startsWith("drag")&&o!=="draggable"||o.startsWith("layout")||o.startsWith("onTap")||o.startsWith("onPan")||o.startsWith("onLayout")||Pz.has(o)}let qN=o=>!Hd(o);function Gz(o){typeof o=="function"&&(qN=r=>r.startsWith("on")?!Hd(r):o(r))}try{Gz(require("@emotion/is-prop-valid").default)}catch{}function $z(o,r,l){const u={};for(const f in o)f==="values"&&typeof o.values=="object"||(qN(f)||l===!0&&Hd(f)||!r&&!Hd(f)||o.draggable&&f.startsWith("onDrag"))&&(u[f]=o[f]);return u}const $d=F.createContext({});function Xz(o,r){if(Gd(o)){const{initial:l,animate:u}=o;return{initial:l===!1||Bu(l)?l:void 0,animate:Bu(u)?u:void 0}}return o.inherit!==!1?r:{}}function Zz(o){const{initial:r,animate:l}=Xz(o,F.useContext($d));return F.useMemo(()=>({initial:r,animate:l}),[CA(r),CA(l)])}function CA(o){return Array.isArray(o)?o.join(" "):o}const vv=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function YN(o,r,l){for(const u in r)!tn(r[u])&&!DN(u,l)&&(o[u]=r[u])}function Qz({transformTemplate:o},r){return F.useMemo(()=>{const l=vv();return pv(l,r,o),Object.assign({},l.vars,l.style)},[r])}function Fz(o,r){const l=o.style||{},u={};return YN(u,l,o),Object.assign(u,Qz(o,r)),u}function Jz(o,r){const l={},u=Fz(o,r);return o.drag&&o.dragListener!==!1&&(l.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=o.drag===!0?"none":`pan-${o.drag==="x"?"y":"x"}`),o.tabIndex===void 0&&(o.onTap||o.onTapStart||o.whileTap)&&(l.tabIndex=0),l.style=u,l}const PN=()=>({...vv(),attrs:{}});function Iz(o,r,l,u){const f=F.useMemo(()=>{const m=PN();return xN(m,r,AN(u),o.transformTemplate,o.style),{...m.attrs,style:{...m.style}}},[r]);if(o.style){const m={};YN(m,o.style,o),f.style={...m,...f.style}}return f}const Kz=["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 bv(o){return typeof o!="string"||o.includes("-")?!1:!!(Kz.indexOf(o)>-1||/[A-Z]/u.test(o))}function Wz(o,r,l,{latestValues:u},f,m=!1,h){const v=(h??bv(o)?Iz:Jz)(r,u,f,o),S=$z(r,typeof o=="string",m),b=o!==F.Fragment?{...S,...v,ref:l}:{},{children:E}=r,D=F.useMemo(()=>tn(E)?E.get():E,[E]);return F.createElement(o,{...b,children:D})}function ej({scrapeMotionValuesFromProps:o,createRenderState:r},l,u,f){return{latestValues:tj(l,u,f,o),renderState:r()}}function tj(o,r,l,u){const f={},m=u(o,{});for(const D in m)f[D]=wd(m[D]);let{initial:h,animate:p}=o;const v=Gd(o),S=dN(o);r&&S&&!v&&o.inherit!==!1&&(h===void 0&&(h=r.initial),p===void 0&&(p=r.animate));let b=l?l.initial===!1:!1;b=b||h===!1;const E=b?p:h;if(E&&typeof E!="boolean"&&!Pd(E)){const D=Array.isArray(E)?E:[E];for(let C=0;C<D.length;C++){const R=iv(o,D[C]);if(R){const{transitionEnd:L,transition:j,...Y}=R;for(const Q in Y){let $=Y[Q];if(Array.isArray($)){const K=b?$.length-1:0;$=$[K]}$!==null&&(f[Q]=$)}for(const Q in L)f[Q]=L[Q]}}}return f}const GN=o=>(r,l)=>{const u=F.useContext($d),f=F.useContext(Yd),m=()=>ej(o,r,u,f);return l?m():Pg(m)},nj=GN({scrapeMotionValuesFromProps:yv,createRenderState:vv}),aj=GN({scrapeMotionValuesFromProps:TN,createRenderState:PN}),oj=Symbol.for("motionComponentSymbol");function rj(o,r,l){const u=F.useRef(l);F.useInsertionEffect(()=>{u.current=l});const f=F.useRef(null);return F.useCallback(m=>{m&&o.onMount?.(m),r&&(m?r.mount(m):r.unmount());const h=u.current;if(typeof h=="function")if(m){const p=h(m);typeof p=="function"&&(f.current=p)}else f.current?(f.current(),f.current=null):h(m);else h&&(h.current=m)},[r])}const $N=F.createContext({});function _i(o){return o&&typeof o=="object"&&Object.prototype.hasOwnProperty.call(o,"current")}function sj(o,r,l,u,f,m){const{visualElement:h}=F.useContext($d),p=F.useContext(BN),v=F.useContext(Yd),S=F.useContext(gv),b=S.reducedMotion,E=S.skipAnimations,D=F.useRef(null),C=F.useRef(!1);u=u||p.renderer,!D.current&&u&&(D.current=u(o,{visualState:r,parent:h,props:l,presenceContext:v,blockInitialAnimation:v?v.initial===!1:!1,reducedMotionConfig:b,skipAnimations:E,isSVG:m}),C.current&&D.current&&(D.current.manuallyAnimateOnMount=!0));const R=D.current,L=F.useContext($N);R&&!R.projection&&f&&(R.type==="html"||R.type==="svg")&&ij(D.current,l,f,L);const j=F.useRef(!1);F.useInsertionEffect(()=>{R&&j.current&&R.update(l,v)});const Y=l[WT],Q=F.useRef(!!Y&&!window.MotionHandoffIsComplete?.(Y)&&window.MotionHasOptimisedAnimation?.(Y));return mT(()=>{C.current=!0,R&&(j.current=!0,window.MotionIsMounted=!0,R.updateFeatures(),R.scheduleRenderMicrotask(),Q.current&&R.animationState&&R.animationState.animateChanges())}),F.useEffect(()=>{R&&(!Q.current&&R.animationState&&R.animationState.animateChanges(),Q.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(Y)}),Q.current=!1),R.enteringChildren=void 0)}),R}function ij(o,r,l,u){const{layoutId:f,layout:m,drag:h,dragConstraints:p,layoutScroll:v,layoutRoot:S,layoutCrossfade:b}=r;o.projection=new l(o.latestValues,r["data-framer-portal-id"]?void 0:XN(o.parent)),o.projection.setOptions({layoutId:f,layout:m,alwaysMeasureLayout:!!h||p&&_i(p),visualElement:o,animationType:typeof m=="string"?m:"both",initialPromotionConfig:u,crossfade:b,layoutScroll:v,layoutRoot:S})}function XN(o){if(o)return o.options.allowProjection!==!1?o.projection:XN(o.parent)}function Iy(o,{forwardMotionProps:r=!1,type:l}={},u,f){u&&Yz(u);const m=l?l==="svg":bv(o),h=m?aj:nj;function p(S,b){let E;const D={...F.useContext(gv),...S,layoutId:lj(S)},{isStatic:C}=D,R=Zz(S),L=h(S,C);if(!C&&hT){uj(D,u);const j=cj(D);E=j.MeasureLayout,R.visualElement=sj(o,L,D,f,j.ProjectionNode,m)}return Ro.jsxs($d.Provider,{value:R,children:[E&&R.visualElement?Ro.jsx(E,{visualElement:R.visualElement,...D}):null,Wz(o,S,rj(L,R.visualElement,b),L,C,r,m)]})}p.displayName=`motion.${typeof o=="string"?o:`create(${o.displayName??o.name??""})`}`;const v=F.forwardRef(p);return v[oj]=o,v}function lj({layoutId:o}){const r=F.useContext(Yg).id;return r&&o!==void 0?r+"-"+o:o}function uj(o,r){const l=F.useContext(BN).strict;if(r&&l){const u="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";o.ignoreStrict?Pi(!1,u,"lazy-strict-mode"):Oo(!1,u,"lazy-strict-mode")}}function cj(o){const r=HN(),{drag:l,layout:u}=r;if(!l&&!u)return{};const f={...l,...u};return{MeasureLayout:l?.isEnabled(o)||u?.isEnabled(o)?f.MeasureLayout:void 0,ProjectionNode:f.ProjectionNode}}function fj(o,r){if(typeof Proxy>"u")return Iy;const l=new Map,u=(m,h)=>Iy(m,h,o,r),f=(m,h)=>(Zg(!1,"motion() is deprecated. Use motion.create() instead."),u(m,h));return new Proxy(f,{get:(m,h)=>h==="create"?u:(l.has(h)||l.set(h,Iy(h,void 0,o,r)),l.get(h))})}const dj=(o,r)=>r.isSVG??bv(o)?new G3(r):new L3(r,{allowProjection:o!==F.Fragment});class hj extends wr{constructor(r){super(r),r.animationState||(r.animationState=F3(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Pd(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:l}=this.node.prevProps||{};r!==l&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let mj=0;class pj extends wr{constructor(){super(...arguments),this.id=mj++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:l}=this.node.presenceContext,{isPresent:u}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===u)return;const f=this.node.animationState.setActive("exit",!r);l&&!r&&f.then(()=>{l(this.id)})}mount(){const{register:r,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const yj={animation:{Feature:hj},exit:{Feature:pj}};function $u(o){return{point:{x:o.pageX,y:o.pageY}}}const gj=o=>r=>fv(r)&&o(r,$u(r));function ju(o,r,l,u){return Hu(o,r,gj(l),u)}const ZN=({current:o})=>o?o.ownerDocument.defaultView:null,MA=(o,r)=>Math.abs(o-r);function vj(o,r){const l=MA(o.x,r.x),u=MA(o.y,r.y);return Math.sqrt(l**2+u**2)}const UA=new Set(["auto","scroll"]);class QN{constructor(r,l,{transformPagePoint:u,contextWindow:f=window,dragSnapToOrigin:m=!1,distanceThreshold:h=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=C=>{this.handleScroll(C.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=Wy(this.lastMoveEventInfo,this.history),R=this.startEvent!==null,L=vj(C.offset,{x:0,y:0})>=this.distanceThreshold;if(!R&&!L)return;const{point:j}=C,{timestamp:Y}=Zt;this.history.push({...j,timestamp:Y});const{onStart:Q,onMove:$}=this.handlers;R||(Q&&Q(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),$&&$(this.lastMoveEvent,C)},this.handlePointerMove=(C,R)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=Ky(R,this.transformPagePoint),ut.update(this.updatePoint,!0)},this.handlePointerUp=(C,R)=>{this.end();const{onEnd:L,onSessionEnd:j,resumeAnimation:Y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Y&&Y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const Q=Wy(C.type==="pointercancel"?this.lastMoveEventInfo:Ky(R,this.transformPagePoint),this.history);this.startEvent&&L&&L(C,Q),j&&j(C,Q)},!fv(r))return;this.dragSnapToOrigin=m,this.handlers=l,this.transformPagePoint=u,this.distanceThreshold=h,this.contextWindow=f||window;const v=$u(r),S=Ky(v,this.transformPagePoint),{point:b}=S,{timestamp:E}=Zt;this.history=[{...b,timestamp:E}];const{onSessionStart:D}=l;D&&D(r,Wy(S,this.history)),this.removeListeners=Yu(ju(this.contextWindow,"pointermove",this.handlePointerMove),ju(this.contextWindow,"pointerup",this.handlePointerUp),ju(this.contextWindow,"pointercancel",this.handlePointerUp)),p&&this.startScrollTracking(p)}startScrollTracking(r){let l=r.parentElement;for(;l;){const u=getComputedStyle(l);(UA.has(u.overflowX)||UA.has(u.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.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(r){const l=this.scrollPositions.get(r);if(!l)return;const u=r===window,f=u?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},m={x:f.x-l.x,y:f.y-l.y};m.x===0&&m.y===0||(u?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=m.x,this.lastMoveEventInfo.point.y+=m.y):this.history.length>0&&(this.history[0].x-=m.x,this.history[0].y-=m.y),this.scrollPositions.set(r,f),ut.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Tr(this.updatePoint)}}function Ky(o,r){return r?{point:r(o.point)}:o}function _A(o,r){return{x:o.x-r.x,y:o.y-r.y}}function Wy({point:o},r){return{point:o,delta:_A(o,FN(r)),offset:_A(o,bj(r)),velocity:Sj(r,.1)}}function bj(o){return o[0]}function FN(o){return o[o.length-1]}function Sj(o,r){if(o.length<2)return{x:0,y:0};let l=o.length-1,u=null;const f=FN(o);for(;l>=0&&(u=o[l],!(f.timestamp-u.timestamp>ra(r)));)l--;if(!u)return{x:0,y:0};u===o[0]&&o.length>2&&f.timestamp-u.timestamp>ra(r)*2&&(u=o[1]);const m=aa(f.timestamp-u.timestamp);if(m===0)return{x:0,y:0};const h={x:(f.x-u.x)/m,y:(f.y-u.y)/m};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function Dj(o,{min:r,max:l},u){return r!==void 0&&o<r?o=u?vt(r,o,u.min):Math.max(o,r):l!==void 0&&o>l&&(o=u?vt(l,o,u.max):Math.min(o,l)),o}function zA(o,r,l){return{min:r!==void 0?o.min+r:void 0,max:l!==void 0?o.max+l-(o.max-o.min):void 0}}function xj(o,{top:r,left:l,bottom:u,right:f}){return{x:zA(o.x,l,f),y:zA(o.y,r,u)}}function jA(o,r){let l=r.min-o.min,u=r.max-o.max;return r.max-r.min<o.max-o.min&&([l,u]=[u,l]),{min:l,max:u}}function Ej(o,r){return{x:jA(o.x,r.x),y:jA(o.y,r.y)}}function Aj(o,r){let l=.5;const u=mn(o),f=mn(r);return f>u?l=Vu(r.min,r.max-u,o.min):u>f&&(l=Vu(o.min,o.max-f,r.min)),Wa(0,1,l)}function Tj(o,r){const l={};return r.min!==void 0&&(l.min=r.min-o.min),r.max!==void 0&&(l.max=r.max-o.min),l}const Mg=.35;function Nj(o=Mg){return o===!1?o=0:o===!0&&(o=Mg),{x:VA(o,"left","right"),y:VA(o,"top","bottom")}}function VA(o,r,l){return{min:kA(o,r),max:kA(o,l)}}function kA(o,r){return typeof o=="number"?o:o[r]||0}const wj=new WeakMap;class Rj{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=jt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:l=!1,distanceThreshold:u}={}){const{presenceContext:f}=this.visualElement;if(f&&f.isPresent===!1)return;const m=E=>{l&&this.snapToCursor($u(E).point),this.stopAnimation()},h=(E,D)=>{const{drag:C,dragPropagation:R,onDragStart:L}=this.getProps();if(C&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=a3(C),!this.openDragLock))return;this.latestPointerEvent=E,this.latestPanInfo=D,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ia(Y=>{let Q=this.getAxisMotionValue(Y).get()||0;if(Ka.test(Q)){const{projection:$}=this.visualElement;if($&&$.layout){const K=$.layout.layoutBox[Y];K&&(Q=mn(K)*(parseFloat(Q)/100))}}this.originPoint[Y]=Q}),L&&ut.update(()=>L(E,D),!1,!0),Eg(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},p=(E,D)=>{this.latestPointerEvent=E,this.latestPanInfo=D;const{dragPropagation:C,dragDirectionLock:R,onDirectionLock:L,onDrag:j}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:Y}=D;if(R&&this.currentDirection===null){this.currentDirection=Cj(Y),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",D.point,Y),this.updateAxis("y",D.point,Y),this.visualElement.render(),j&&ut.update(()=>j(E,D),!1,!0)},v=(E,D)=>{this.latestPointerEvent=E,this.latestPanInfo=D,this.stop(E,D),this.latestPointerEvent=null,this.latestPanInfo=null},S=()=>{const{dragSnapToOrigin:E}=this.getProps();(E||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:b}=this.getProps();this.panSession=new QN(r,{onSessionStart:m,onStart:h,onMove:p,onSessionEnd:v,resumeAnimation:S},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:b,distanceThreshold:u,contextWindow:ZN(this.visualElement),element:this.visualElement.current})}stop(r,l){const u=r||this.latestPointerEvent,f=l||this.latestPanInfo,m=this.isDragging;if(this.cancel(),!m||!f||!u)return;const{velocity:h}=f;this.startAnimation(h);const{onDragEnd:p}=this.getProps();p&&ut.postRender(()=>p(u,f))}cancel(){this.isDragging=!1;const{projection:r,animationState:l}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:u}=this.getProps();!u&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(r,l,u){const{drag:f}=this.getProps();if(!u||!vd(r,f,this.currentDirection))return;const m=this.getAxisMotionValue(r);let h=this.originPoint[r]+u[r];this.constraints&&this.constraints[r]&&(h=Dj(h,this.constraints[r],this.elastic[r])),m.set(h)}resolveConstraints(){const{dragConstraints:r,dragElastic:l}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,f=this.constraints;r&&_i(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&u?this.constraints=xj(u.layoutBox,r):this.constraints=!1,this.elastic=Nj(l),f!==this.constraints&&!_i(r)&&u&&this.constraints&&!this.hasMutatedConstraints&&Ia(m=>{this.constraints!==!1&&this.getAxisMotionValue(m)&&(this.constraints[m]=Tj(u.layoutBox[m],this.constraints[m]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:l}=this.getProps();if(!r||!_i(r))return!1;const u=r.current;Oo(u!==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:f}=this.visualElement;if(!f||!f.layout)return!1;const m=U3(u,f.root,this.visualElement.getTransformPagePoint());let h=Ej(f.layout.layoutBox,m);if(l){const p=l(O3(h));this.hasMutatedConstraints=!!p,p&&(h=yN(p))}return h}startAnimation(r){const{drag:l,dragMomentum:u,dragElastic:f,dragTransition:m,dragSnapToOrigin:h,onDragTransitionEnd:p}=this.getProps(),v=this.constraints||{},S=Ia(b=>{if(!vd(b,l,this.currentDirection))return;let E=v&&v[b]||{};h&&(E={min:0,max:0});const D=f?200:1e6,C=f?40:1e7,R={type:"inertia",velocity:u?r[b]:0,bounceStiffness:D,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...m,...E};return this.startAxisValueAnimation(b,R)});return Promise.all(S).then(p)}startAxisValueAnimation(r,l){const u=this.getAxisMotionValue(r);return Eg(this.visualElement,r),u.start(sv(r,u,0,l,this.visualElement,!1))}stopAnimation(){Ia(r=>this.getAxisMotionValue(r).stop())}getAxisMotionValue(r){const l=`_drag${r.toUpperCase()}`,u=this.visualElement.getProps(),f=u[l];return f||this.visualElement.getValue(r,(u.initial?u.initial[r]:void 0)||0)}snapToCursor(r){Ia(l=>{const{drag:u}=this.getProps();if(!vd(l,u,this.currentDirection))return;const{projection:f}=this.visualElement,m=this.getAxisMotionValue(l);if(f&&f.layout){const{min:h,max:p}=f.layout.layoutBox[l],v=m.get()||0;m.set(r[l]-vt(h,p,.5)+v)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:l}=this.getProps(),{projection:u}=this.visualElement;if(!_i(l)||!u||!this.constraints)return;this.stopAnimation();const f={x:0,y:0};Ia(h=>{const p=this.getAxisMotionValue(h);if(p&&this.constraints!==!1){const v=p.get();f[h]=Aj({min:v,max:v},this.constraints[h])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",u.root&&u.root.updateScroll(),u.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ia(h=>{if(!vd(h,r,null))return;const p=this.getAxisMotionValue(h),{min:v,max:S}=this.constraints[h];p.set(vt(v,S,f[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;wj.set(this.visualElement,this);const r=this.visualElement.current,l=ju(r,"pointerdown",S=>{const{drag:b,dragListener:E=!0}=this.getProps(),D=S.target,C=D!==r&&u3(D);b&&E&&!C&&this.start(S)});let u;const f=()=>{const{dragConstraints:S}=this.getProps();_i(S)&&S.current&&(this.constraints=this.resolveRefConstraints(),u||(u=Oj(r,S.current,()=>this.scalePositionWithinConstraints())))},{projection:m}=this.visualElement,h=m.addEventListener("measure",f);m&&!m.layout&&(m.root&&m.root.updateScroll(),m.updateLayout()),ut.read(f);const p=Hu(window,"resize",()=>this.scalePositionWithinConstraints()),v=m.addEventListener("didUpdate",(({delta:S,hasLayoutChanged:b})=>{this.isDragging&&b&&(Ia(E=>{const D=this.getAxisMotionValue(E);D&&(this.originPoint[E]+=S[E].translate,D.set(D.get()+S[E].translate))}),this.visualElement.render())}));return()=>{p(),l(),h(),v&&v(),u&&u()}}getProps(){const r=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:u=!1,dragPropagation:f=!1,dragConstraints:m=!1,dragElastic:h=Mg,dragMomentum:p=!0}=r;return{...r,drag:l,dragDirectionLock:u,dragPropagation:f,dragConstraints:m,dragElastic:h,dragMomentum:p}}}function LA(o){let r=!0;return()=>{if(r){r=!1;return}o()}}function Oj(o,r,l){const u=$E(o,LA(l)),f=$E(r,LA(l));return()=>{u(),f()}}function vd(o,r,l){return(r===!0||r===o)&&(l===null||l===o)}function Cj(o,r=10){let l=null;return Math.abs(o.y)>r?l="y":Math.abs(o.x)>r&&(l="x"),l}class Mj extends wr{constructor(r){super(r),this.removeGroupControls=oa,this.removeListeners=oa,this.controls=new Rj(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||oa}update(){const{dragControls:r}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};r!==l&&(this.removeGroupControls(),r&&(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const eg=o=>(r,l)=>{o&&ut.update(()=>o(r,l),!1,!0)};class Uj extends wr{constructor(){super(...arguments),this.removePointerDownListener=oa}onPointerDown(r){this.session=new QN(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ZN(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:l,onPan:u,onPanEnd:f}=this.node.getProps();return{onSessionStart:eg(r),onStart:eg(l),onMove:eg(u),onEnd:(m,h)=>{delete this.session,f&&ut.postRender(()=>f(m,h))}}}mount(){this.removePointerDownListener=ju(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let tg=!1;class _j extends F.Component{componentDidMount(){const{visualElement:r,layoutGroup:l,switchLayoutGroup:u,layoutId:f}=this.props,{projection:m}=r;m&&(l.group&&l.group.add(m),u&&u.register&&f&&u.register(m),tg&&m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Rd.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:l,visualElement:u,drag:f,isPresent:m}=this.props,{projection:h}=u;return h&&(h.isPresent=m,r.layoutDependency!==l&&h.setOptions({...h.options,layoutDependency:l}),tg=!0,f||r.layoutDependency!==l||l===void 0||r.isPresent!==m?h.willUpdate():this.safeToRemove(),r.isPresent!==m&&(m?h.promote():h.relegate()||ut.postRender(()=>{const p=h.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),cv.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:l,switchLayoutGroup:u}=this.props,{projection:f}=r;tg=!0,f&&(f.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(f),u&&u.deregister&&u.deregister(f))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function JN(o){const[r,l]=LN(),u=F.useContext(Yg);return Ro.jsx(_j,{...o,layoutGroup:u,switchLayoutGroup:F.useContext($N),isPresent:r,safeToRemove:l})}const zj={pan:{Feature:Uj},drag:{Feature:Mj,ProjectionNode:kN,MeasureLayout:JN}};function BA(o,r,l){const{props:u}=o;o.animationState&&u.whileHover&&o.animationState.setActive("whileHover",l==="Start");const f="onHover"+l,m=u[f];m&&ut.postRender(()=>m(r,$u(r)))}class jj extends wr{mount(){const{current:r}=this.node;r&&(this.unmount=r3(r,(l,u)=>(BA(this.node,u,"Start"),f=>BA(this.node,f,"End"))))}unmount(){}}class Vj extends wr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!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=Yu(Hu(this.node.current,"focus",()=>this.onFocus()),Hu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function HA(o,r,l){const{props:u}=o;if(o.current instanceof HTMLButtonElement&&o.current.disabled)return;o.animationState&&u.whileTap&&o.animationState.setActive("whileTap",l==="Start");const f="onTap"+(l==="End"?"":l),m=u[f];m&&ut.postRender(()=>m(r,$u(r)))}class kj extends wr{mount(){const{current:r}=this.node;if(!r)return;const{globalTapTarget:l,propagate:u}=this.node.props;this.unmount=f3(r,(f,m)=>(HA(this.node,m,"Start"),(h,{success:p})=>HA(this.node,h,p?"End":"Cancel")),{useGlobalTarget:l,stopPropagation:u?.tap===!1})}unmount(){}}const Ug=new WeakMap,ng=new WeakMap,Lj=o=>{const r=Ug.get(o.target);r&&r(o)},Bj=o=>{o.forEach(Lj)};function Hj({root:o,...r}){const l=o||document;ng.has(l)||ng.set(l,{});const u=ng.get(l),f=JSON.stringify(r);return u[f]||(u[f]=new IntersectionObserver(Bj,{root:o,...r})),u[f]}function qj(o,r,l){const u=Hj(r);return Ug.set(o,l),u.observe(o),()=>{Ug.delete(o),u.unobserve(o)}}const Yj={some:0,all:1};class Pj extends wr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:l,margin:u,amount:f="some",once:m}=r,h={root:l?l.current:void 0,rootMargin:u,threshold:typeof f=="number"?f:Yj[f]},p=v=>{const{isIntersecting:S}=v;if(this.isInView===S||(this.isInView=S,m&&!S&&this.hasEnteredView))return;S&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",S);const{onViewportEnter:b,onViewportLeave:E}=this.node.getProps(),D=S?b:E;D&&D(v)};return qj(this.node.current,h,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:l}=this.node;["amount","margin","root"].some(Gj(r,l))&&this.startObserver()}unmount(){}}function Gj({viewport:o={}},{viewport:r={}}={}){return l=>o[l]!==r[l]}const $j={inView:{Feature:Pj},tap:{Feature:kj},focus:{Feature:Vj},hover:{Feature:jj}},Xj={layout:{ProjectionNode:kN,MeasureLayout:JN}},Zj={...yj,...$j,...zj,...Xj},pn=fj(Zj,dj);function IN(o,r){return function(){return o.apply(r,arguments)}}const{toString:Qj}=Object.prototype,{getPrototypeOf:Sv}=Object,{iterator:Xd,toStringTag:KN}=Symbol,Zd=(o=>r=>{const l=Qj.call(r);return o[l]||(o[l]=l.slice(8,-1).toLowerCase())})(Object.create(null)),Sa=o=>(o=o.toLowerCase(),r=>Zd(r)===o),Qd=o=>r=>typeof r===o,{isArray:Zi}=Array,Yi=Qd("undefined");function Xu(o){return o!==null&&!Yi(o)&&o.constructor!==null&&!Yi(o.constructor)&&En(o.constructor.isBuffer)&&o.constructor.isBuffer(o)}const WN=Sa("ArrayBuffer");function Fj(o){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(o):r=o&&o.buffer&&WN(o.buffer),r}const Jj=Qd("string"),En=Qd("function"),ew=Qd("number"),Zu=o=>o!==null&&typeof o=="object",Ij=o=>o===!0||o===!1,Od=o=>{if(Zd(o)!=="object")return!1;const r=Sv(o);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(KN in o)&&!(Xd in o)},Kj=o=>{if(!Zu(o)||Xu(o))return!1;try{return Object.keys(o).length===0&&Object.getPrototypeOf(o)===Object.prototype}catch{return!1}},Wj=Sa("Date"),eV=Sa("File"),tV=Sa("Blob"),nV=Sa("FileList"),aV=o=>Zu(o)&&En(o.pipe),oV=o=>{let r;return o&&(typeof FormData=="function"&&o instanceof FormData||En(o.append)&&((r=Zd(o))==="formdata"||r==="object"&&En(o.toString)&&o.toString()==="[object FormData]"))},rV=Sa("URLSearchParams"),[sV,iV,lV,uV]=["ReadableStream","Request","Response","Headers"].map(Sa),cV=o=>o.trim?o.trim():o.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qu(o,r,{allOwnKeys:l=!1}={}){if(o===null||typeof o>"u")return;let u,f;if(typeof o!="object"&&(o=[o]),Zi(o))for(u=0,f=o.length;u<f;u++)r.call(null,o[u],u,o);else{if(Xu(o))return;const m=l?Object.getOwnPropertyNames(o):Object.keys(o),h=m.length;let p;for(u=0;u<h;u++)p=m[u],r.call(null,o[p],p,o)}}function tw(o,r){if(Xu(o))return null;r=r.toLowerCase();const l=Object.keys(o);let u=l.length,f;for(;u-- >0;)if(f=l[u],r===f.toLowerCase())return f;return null}const xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,nw=o=>!Yi(o)&&o!==xs;function _g(){const{caseless:o,skipUndefined:r}=nw(this)&&this||{},l={},u=(f,m)=>{if(m==="__proto__"||m==="constructor"||m==="prototype")return;const h=o&&tw(l,m)||m;Od(l[h])&&Od(f)?l[h]=_g(l[h],f):Od(f)?l[h]=_g({},f):Zi(f)?l[h]=f.slice():(!r||!Yi(f))&&(l[h]=f)};for(let f=0,m=arguments.length;f<m;f++)arguments[f]&&Qu(arguments[f],u);return l}const fV=(o,r,l,{allOwnKeys:u}={})=>(Qu(r,(f,m)=>{l&&En(f)?Object.defineProperty(o,m,{value:IN(f,l),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(o,m,{value:f,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:u}),o),dV=o=>(o.charCodeAt(0)===65279&&(o=o.slice(1)),o),hV=(o,r,l,u)=>{o.prototype=Object.create(r.prototype,u),Object.defineProperty(o.prototype,"constructor",{value:o,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(o,"super",{value:r.prototype}),l&&Object.assign(o.prototype,l)},mV=(o,r,l,u)=>{let f,m,h;const p={};if(r=r||{},o==null)return r;do{for(f=Object.getOwnPropertyNames(o),m=f.length;m-- >0;)h=f[m],(!u||u(h,o,r))&&!p[h]&&(r[h]=o[h],p[h]=!0);o=l!==!1&&Sv(o)}while(o&&(!l||l(o,r))&&o!==Object.prototype);return r},pV=(o,r,l)=>{o=String(o),(l===void 0||l>o.length)&&(l=o.length),l-=r.length;const u=o.indexOf(r,l);return u!==-1&&u===l},yV=o=>{if(!o)return null;if(Zi(o))return o;let r=o.length;if(!ew(r))return null;const l=new Array(r);for(;r-- >0;)l[r]=o[r];return l},gV=(o=>r=>o&&r instanceof o)(typeof Uint8Array<"u"&&Sv(Uint8Array)),vV=(o,r)=>{const u=(o&&o[Xd]).call(o);let f;for(;(f=u.next())&&!f.done;){const m=f.value;r.call(o,m[0],m[1])}},bV=(o,r)=>{let l;const u=[];for(;(l=o.exec(r))!==null;)u.push(l);return u},SV=Sa("HTMLFormElement"),DV=o=>o.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(l,u,f){return u.toUpperCase()+f}),qA=(({hasOwnProperty:o})=>(r,l)=>o.call(r,l))(Object.prototype),xV=Sa("RegExp"),aw=(o,r)=>{const l=Object.getOwnPropertyDescriptors(o),u={};Qu(l,(f,m)=>{let h;(h=r(f,m,o))!==!1&&(u[m]=h||f)}),Object.defineProperties(o,u)},EV=o=>{aw(o,(r,l)=>{if(En(o)&&["arguments","caller","callee"].indexOf(l)!==-1)return!1;const u=o[l];if(En(u)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+l+"'")})}})},AV=(o,r)=>{const l={},u=f=>{f.forEach(m=>{l[m]=!0})};return Zi(o)?u(o):u(String(o).split(r)),l},TV=()=>{},NV=(o,r)=>o!=null&&Number.isFinite(o=+o)?o:r;function wV(o){return!!(o&&En(o.append)&&o[KN]==="FormData"&&o[Xd])}const RV=o=>{const r=new Array(10),l=(u,f)=>{if(Zu(u)){if(r.indexOf(u)>=0)return;if(Xu(u))return u;if(!("toJSON"in u)){r[f]=u;const m=Zi(u)?[]:{};return Qu(u,(h,p)=>{const v=l(h,f+1);!Yi(v)&&(m[p]=v)}),r[f]=void 0,m}}return u};return l(o,0)},OV=Sa("AsyncFunction"),CV=o=>o&&(Zu(o)||En(o))&&En(o.then)&&En(o.catch),ow=((o,r)=>o?setImmediate:r?((l,u)=>(xs.addEventListener("message",({source:f,data:m})=>{f===xs&&m===l&&u.length&&u.shift()()},!1),f=>{u.push(f),xs.postMessage(l,"*")}))(`axios@${Math.random()}`,[]):l=>setTimeout(l))(typeof setImmediate=="function",En(xs.postMessage)),MV=typeof queueMicrotask<"u"?queueMicrotask.bind(xs):typeof process<"u"&&process.nextTick||ow,UV=o=>o!=null&&En(o[Xd]),H={isArray:Zi,isArrayBuffer:WN,isBuffer:Xu,isFormData:oV,isArrayBufferView:Fj,isString:Jj,isNumber:ew,isBoolean:Ij,isObject:Zu,isPlainObject:Od,isEmptyObject:Kj,isReadableStream:sV,isRequest:iV,isResponse:lV,isHeaders:uV,isUndefined:Yi,isDate:Wj,isFile:eV,isBlob:tV,isRegExp:xV,isFunction:En,isStream:aV,isURLSearchParams:rV,isTypedArray:gV,isFileList:nV,forEach:Qu,merge:_g,extend:fV,trim:cV,stripBOM:dV,inherits:hV,toFlatObject:mV,kindOf:Zd,kindOfTest:Sa,endsWith:pV,toArray:yV,forEachEntry:vV,matchAll:bV,isHTMLForm:SV,hasOwnProperty:qA,hasOwnProp:qA,reduceDescriptors:aw,freezeMethods:EV,toObjectSet:AV,toCamelCase:DV,noop:TV,toFiniteNumber:NV,findKey:tw,global:xs,isContextDefined:nw,isSpecCompliantForm:wV,toJSONObject:RV,isAsyncFn:OV,isThenable:CV,setImmediate:ow,asap:MV,isIterable:UV};let we=class rw extends Error{static from(r,l,u,f,m,h){const p=new rw(r.message,l||r.code,u,f,m);return p.cause=r,p.name=r.name,h&&Object.assign(p,h),p}constructor(r,l,u,f,m){super(r),this.name="AxiosError",this.isAxiosError=!0,l&&(this.code=l),u&&(this.config=u),f&&(this.request=f),m&&(this.response=m,this.status=m.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:H.toJSONObject(this.config),code:this.code,status:this.status}}};we.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";we.ERR_BAD_OPTION="ERR_BAD_OPTION";we.ECONNABORTED="ECONNABORTED";we.ETIMEDOUT="ETIMEDOUT";we.ERR_NETWORK="ERR_NETWORK";we.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";we.ERR_DEPRECATED="ERR_DEPRECATED";we.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";we.ERR_BAD_REQUEST="ERR_BAD_REQUEST";we.ERR_CANCELED="ERR_CANCELED";we.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";we.ERR_INVALID_URL="ERR_INVALID_URL";const _V=null;function zg(o){return H.isPlainObject(o)||H.isArray(o)}function sw(o){return H.endsWith(o,"[]")?o.slice(0,-2):o}function YA(o,r,l){return o?o.concat(r).map(function(f,m){return f=sw(f),!l&&m?"["+f+"]":f}).join(l?".":""):r}function zV(o){return H.isArray(o)&&!o.some(zg)}const jV=H.toFlatObject(H,{},null,function(r){return/^is[A-Z]/.test(r)});function Fd(o,r,l){if(!H.isObject(o))throw new TypeError("target must be an object");r=r||new FormData,l=H.toFlatObject(l,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,j){return!H.isUndefined(j[L])});const u=l.metaTokens,f=l.visitor||b,m=l.dots,h=l.indexes,v=(l.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(r);if(!H.isFunction(f))throw new TypeError("visitor must be a function");function S(R){if(R===null)return"";if(H.isDate(R))return R.toISOString();if(H.isBoolean(R))return R.toString();if(!v&&H.isBlob(R))throw new we("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(R)||H.isTypedArray(R)?v&&typeof Blob=="function"?new Blob([R]):Buffer.from(R):R}function b(R,L,j){let Y=R;if(R&&!j&&typeof R=="object"){if(H.endsWith(L,"{}"))L=u?L:L.slice(0,-2),R=JSON.stringify(R);else if(H.isArray(R)&&zV(R)||(H.isFileList(R)||H.endsWith(L,"[]"))&&(Y=H.toArray(R)))return L=sw(L),Y.forEach(function($,K){!(H.isUndefined($)||$===null)&&r.append(h===!0?YA([L],K,m):h===null?L:L+"[]",S($))}),!1}return zg(R)?!0:(r.append(YA(j,L,m),S(R)),!1)}const E=[],D=Object.assign(jV,{defaultVisitor:b,convertValue:S,isVisitable:zg});function C(R,L){if(!H.isUndefined(R)){if(E.indexOf(R)!==-1)throw Error("Circular reference detected in "+L.join("."));E.push(R),H.forEach(R,function(Y,Q){(!(H.isUndefined(Y)||Y===null)&&f.call(r,Y,H.isString(Q)?Q.trim():Q,L,D))===!0&&C(Y,L?L.concat(Q):[Q])}),E.pop()}}if(!H.isObject(o))throw new TypeError("data must be an object");return C(o),r}function PA(o){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(o).replace(/[!'()~]|%20|%00/g,function(u){return r[u]})}function Dv(o,r){this._pairs=[],o&&Fd(o,this,r)}const iw=Dv.prototype;iw.append=function(r,l){this._pairs.push([r,l])};iw.toString=function(r){const l=r?function(u){return r.call(this,u,PA)}:PA;return this._pairs.map(function(f){return l(f[0])+"="+l(f[1])},"").join("&")};function VV(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function lw(o,r,l){if(!r)return o;const u=l&&l.encode||VV,f=H.isFunction(l)?{serialize:l}:l,m=f&&f.serialize;let h;if(m?h=m(r,f):h=H.isURLSearchParams(r)?r.toString():new Dv(r,f).toString(u),h){const p=o.indexOf("#");p!==-1&&(o=o.slice(0,p)),o+=(o.indexOf("?")===-1?"?":"&")+h}return o}class GA{constructor(){this.handlers=[]}use(r,l,u){return this.handlers.push({fulfilled:r,rejected:l,synchronous:u?u.synchronous:!1,runWhen:u?u.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){H.forEach(this.handlers,function(u){u!==null&&r(u)})}}const xv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},kV=typeof URLSearchParams<"u"?URLSearchParams:Dv,LV=typeof FormData<"u"?FormData:null,BV=typeof Blob<"u"?Blob:null,HV={isBrowser:!0,classes:{URLSearchParams:kV,FormData:LV,Blob:BV},protocols:["http","https","file","blob","url","data"]},Ev=typeof window<"u"&&typeof document<"u",jg=typeof navigator=="object"&&navigator||void 0,qV=Ev&&(!jg||["ReactNative","NativeScript","NS"].indexOf(jg.product)<0),YV=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PV=Ev&&window.location.href||"http://localhost",GV=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ev,hasStandardBrowserEnv:qV,hasStandardBrowserWebWorkerEnv:YV,navigator:jg,origin:PV},Symbol.toStringTag,{value:"Module"})),en={...GV,...HV};function $V(o,r){return Fd(o,new en.classes.URLSearchParams,{visitor:function(l,u,f,m){return en.isNode&&H.isBuffer(l)?(this.append(u,l.toString("base64")),!1):m.defaultVisitor.apply(this,arguments)},...r})}function XV(o){return H.matchAll(/\w+|\[(\w*)]/g,o).map(r=>r[0]==="[]"?"":r[1]||r[0])}function ZV(o){const r={},l=Object.keys(o);let u;const f=l.length;let m;for(u=0;u<f;u++)m=l[u],r[m]=o[m];return r}function uw(o){function r(l,u,f,m){let h=l[m++];if(h==="__proto__")return!0;const p=Number.isFinite(+h),v=m>=l.length;return h=!h&&H.isArray(f)?f.length:h,v?(H.hasOwnProp(f,h)?f[h]=[f[h],u]:f[h]=u,!p):((!f[h]||!H.isObject(f[h]))&&(f[h]=[]),r(l,u,f[h],m)&&H.isArray(f[h])&&(f[h]=ZV(f[h])),!p)}if(H.isFormData(o)&&H.isFunction(o.entries)){const l={};return H.forEachEntry(o,(u,f)=>{r(XV(u),f,l,0)}),l}return null}function QV(o,r,l){if(H.isString(o))try{return(r||JSON.parse)(o),H.trim(o)}catch(u){if(u.name!=="SyntaxError")throw u}return(l||JSON.stringify)(o)}const Fu={transitional:xv,adapter:["xhr","http","fetch"],transformRequest:[function(r,l){const u=l.getContentType()||"",f=u.indexOf("application/json")>-1,m=H.isObject(r);if(m&&H.isHTMLForm(r)&&(r=new FormData(r)),H.isFormData(r))return f?JSON.stringify(uw(r)):r;if(H.isArrayBuffer(r)||H.isBuffer(r)||H.isStream(r)||H.isFile(r)||H.isBlob(r)||H.isReadableStream(r))return r;if(H.isArrayBufferView(r))return r.buffer;if(H.isURLSearchParams(r))return l.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let p;if(m){if(u.indexOf("application/x-www-form-urlencoded")>-1)return $V(r,this.formSerializer).toString();if((p=H.isFileList(r))||u.indexOf("multipart/form-data")>-1){const v=this.env&&this.env.FormData;return Fd(p?{"files[]":r}:r,v&&new v,this.formSerializer)}}return m||f?(l.setContentType("application/json",!1),QV(r)):r}],transformResponse:[function(r){const l=this.transitional||Fu.transitional,u=l&&l.forcedJSONParsing,f=this.responseType==="json";if(H.isResponse(r)||H.isReadableStream(r))return r;if(r&&H.isString(r)&&(u&&!this.responseType||f)){const h=!(l&&l.silentJSONParsing)&&f;try{return JSON.parse(r,this.parseReviver)}catch(p){if(h)throw p.name==="SyntaxError"?we.from(p,we.ERR_BAD_RESPONSE,this,null,this.response):p}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:en.classes.FormData,Blob:en.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],o=>{Fu.headers[o]={}});const FV=H.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"]),JV=o=>{const r={};let l,u,f;return o&&o.split(`
249
- `).forEach(function(h){f=h.indexOf(":"),l=h.substring(0,f).trim().toLowerCase(),u=h.substring(f+1).trim(),!(!l||r[l]&&FV[l])&&(l==="set-cookie"?r[l]?r[l].push(u):r[l]=[u]:r[l]=r[l]?r[l]+", "+u:u)}),r},$A=Symbol("internals");function Cu(o){return o&&String(o).trim().toLowerCase()}function Cd(o){return o===!1||o==null?o:H.isArray(o)?o.map(Cd):String(o)}function IV(o){const r=Object.create(null),l=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let u;for(;u=l.exec(o);)r[u[1]]=u[2];return r}const KV=o=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(o.trim());function ag(o,r,l,u,f){if(H.isFunction(u))return u.call(this,r,l);if(f&&(r=l),!!H.isString(r)){if(H.isString(u))return r.indexOf(u)!==-1;if(H.isRegExp(u))return u.test(r)}}function WV(o){return o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,l,u)=>l.toUpperCase()+u)}function e5(o,r){const l=H.toCamelCase(" "+r);["get","set","has"].forEach(u=>{Object.defineProperty(o,u+l,{value:function(f,m,h){return this[u].call(this,r,f,m,h)},configurable:!0})})}let An=class{constructor(r){r&&this.set(r)}set(r,l,u){const f=this;function m(p,v,S){const b=Cu(v);if(!b)throw new Error("header name must be a non-empty string");const E=H.findKey(f,b);(!E||f[E]===void 0||S===!0||S===void 0&&f[E]!==!1)&&(f[E||v]=Cd(p))}const h=(p,v)=>H.forEach(p,(S,b)=>m(S,b,v));if(H.isPlainObject(r)||r instanceof this.constructor)h(r,l);else if(H.isString(r)&&(r=r.trim())&&!KV(r))h(JV(r),l);else if(H.isObject(r)&&H.isIterable(r)){let p={},v,S;for(const b of r){if(!H.isArray(b))throw TypeError("Object iterator must return a key-value pair");p[S=b[0]]=(v=p[S])?H.isArray(v)?[...v,b[1]]:[v,b[1]]:b[1]}h(p,l)}else r!=null&&m(l,r,u);return this}get(r,l){if(r=Cu(r),r){const u=H.findKey(this,r);if(u){const f=this[u];if(!l)return f;if(l===!0)return IV(f);if(H.isFunction(l))return l.call(this,f,u);if(H.isRegExp(l))return l.exec(f);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,l){if(r=Cu(r),r){const u=H.findKey(this,r);return!!(u&&this[u]!==void 0&&(!l||ag(this,this[u],u,l)))}return!1}delete(r,l){const u=this;let f=!1;function m(h){if(h=Cu(h),h){const p=H.findKey(u,h);p&&(!l||ag(u,u[p],p,l))&&(delete u[p],f=!0)}}return H.isArray(r)?r.forEach(m):m(r),f}clear(r){const l=Object.keys(this);let u=l.length,f=!1;for(;u--;){const m=l[u];(!r||ag(this,this[m],m,r,!0))&&(delete this[m],f=!0)}return f}normalize(r){const l=this,u={};return H.forEach(this,(f,m)=>{const h=H.findKey(u,m);if(h){l[h]=Cd(f),delete l[m];return}const p=r?WV(m):String(m).trim();p!==m&&delete l[m],l[p]=Cd(f),u[p]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const l=Object.create(null);return H.forEach(this,(u,f)=>{u!=null&&u!==!1&&(l[f]=r&&H.isArray(u)?u.join(", "):u)}),l}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,l])=>r+": "+l).join(`
250
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...l){const u=new this(r);return l.forEach(f=>u.set(f)),u}static accessor(r){const u=(this[$A]=this[$A]={accessors:{}}).accessors,f=this.prototype;function m(h){const p=Cu(h);u[p]||(e5(f,h),u[p]=!0)}return H.isArray(r)?r.forEach(m):m(r),this}};An.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);H.reduceDescriptors(An.prototype,({value:o},r)=>{let l=r[0].toUpperCase()+r.slice(1);return{get:()=>o,set(u){this[l]=u}}});H.freezeMethods(An);function og(o,r){const l=this||Fu,u=r||l,f=An.from(u.headers);let m=u.data;return H.forEach(o,function(p){m=p.call(l,m,f.normalize(),r?r.status:void 0)}),f.normalize(),m}function cw(o){return!!(o&&o.__CANCEL__)}let Ju=class extends we{constructor(r,l,u){super(r??"canceled",we.ERR_CANCELED,l,u),this.name="CanceledError",this.__CANCEL__=!0}};function fw(o,r,l){const u=l.config.validateStatus;!l.status||!u||u(l.status)?o(l):r(new we("Request failed with status code "+l.status,[we.ERR_BAD_REQUEST,we.ERR_BAD_RESPONSE][Math.floor(l.status/100)-4],l.config,l.request,l))}function t5(o){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return r&&r[1]||""}function n5(o,r){o=o||10;const l=new Array(o),u=new Array(o);let f=0,m=0,h;return r=r!==void 0?r:1e3,function(v){const S=Date.now(),b=u[m];h||(h=S),l[f]=v,u[f]=S;let E=m,D=0;for(;E!==f;)D+=l[E++],E=E%o;if(f=(f+1)%o,f===m&&(m=(m+1)%o),S-h<r)return;const C=b&&S-b;return C?Math.round(D*1e3/C):void 0}}function a5(o,r){let l=0,u=1e3/r,f,m;const h=(S,b=Date.now())=>{l=b,f=null,m&&(clearTimeout(m),m=null),o(...S)};return[(...S)=>{const b=Date.now(),E=b-l;E>=u?h(S,b):(f=S,m||(m=setTimeout(()=>{m=null,h(f)},u-E)))},()=>f&&h(f)]}const qd=(o,r,l=3)=>{let u=0;const f=n5(50,250);return a5(m=>{const h=m.loaded,p=m.lengthComputable?m.total:void 0,v=h-u,S=f(v),b=h<=p;u=h;const E={loaded:h,total:p,progress:p?h/p:void 0,bytes:v,rate:S||void 0,estimated:S&&p&&b?(p-h)/S:void 0,event:m,lengthComputable:p!=null,[r?"download":"upload"]:!0};o(E)},l)},XA=(o,r)=>{const l=o!=null;return[u=>r[0]({lengthComputable:l,total:o,loaded:u}),r[1]]},ZA=o=>(...r)=>H.asap(()=>o(...r)),o5=en.hasStandardBrowserEnv?((o,r)=>l=>(l=new URL(l,en.origin),o.protocol===l.protocol&&o.host===l.host&&(r||o.port===l.port)))(new URL(en.origin),en.navigator&&/(msie|trident)/i.test(en.navigator.userAgent)):()=>!0,r5=en.hasStandardBrowserEnv?{write(o,r,l,u,f,m,h){if(typeof document>"u")return;const p=[`${o}=${encodeURIComponent(r)}`];H.isNumber(l)&&p.push(`expires=${new Date(l).toUTCString()}`),H.isString(u)&&p.push(`path=${u}`),H.isString(f)&&p.push(`domain=${f}`),m===!0&&p.push("secure"),H.isString(h)&&p.push(`SameSite=${h}`),document.cookie=p.join("; ")},read(o){if(typeof document>"u")return null;const r=document.cookie.match(new RegExp("(?:^|; )"+o+"=([^;]*)"));return r?decodeURIComponent(r[1]):null},remove(o){this.write(o,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function s5(o){return typeof o!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function i5(o,r){return r?o.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):o}function dw(o,r,l){let u=!s5(r);return o&&(u||l==!1)?i5(o,r):r}const QA=o=>o instanceof An?{...o}:o;function Ts(o,r){r=r||{};const l={};function u(S,b,E,D){return H.isPlainObject(S)&&H.isPlainObject(b)?H.merge.call({caseless:D},S,b):H.isPlainObject(b)?H.merge({},b):H.isArray(b)?b.slice():b}function f(S,b,E,D){if(H.isUndefined(b)){if(!H.isUndefined(S))return u(void 0,S,E,D)}else return u(S,b,E,D)}function m(S,b){if(!H.isUndefined(b))return u(void 0,b)}function h(S,b){if(H.isUndefined(b)){if(!H.isUndefined(S))return u(void 0,S)}else return u(void 0,b)}function p(S,b,E){if(E in r)return u(S,b);if(E in o)return u(void 0,S)}const v={url:m,method:m,data:m,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,responseEncoding:h,validateStatus:p,headers:(S,b,E)=>f(QA(S),QA(b),E,!0)};return H.forEach(Object.keys({...o,...r}),function(b){if(b==="__proto__"||b==="constructor"||b==="prototype")return;const E=H.hasOwnProp(v,b)?v[b]:f,D=E(o[b],r[b],b);H.isUndefined(D)&&E!==p||(l[b]=D)}),l}const hw=o=>{const r=Ts({},o);let{data:l,withXSRFToken:u,xsrfHeaderName:f,xsrfCookieName:m,headers:h,auth:p}=r;if(r.headers=h=An.from(h),r.url=lw(dw(r.baseURL,r.url,r.allowAbsoluteUrls),o.params,o.paramsSerializer),p&&h.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),H.isFormData(l)){if(en.hasStandardBrowserEnv||en.hasStandardBrowserWebWorkerEnv)h.setContentType(void 0);else if(H.isFunction(l.getHeaders)){const v=l.getHeaders(),S=["content-type","content-length"];Object.entries(v).forEach(([b,E])=>{S.includes(b.toLowerCase())&&h.set(b,E)})}}if(en.hasStandardBrowserEnv&&(u&&H.isFunction(u)&&(u=u(r)),u||u!==!1&&o5(r.url))){const v=f&&m&&r5.read(m);v&&h.set(f,v)}return r},l5=typeof XMLHttpRequest<"u",u5=l5&&function(o){return new Promise(function(l,u){const f=hw(o);let m=f.data;const h=An.from(f.headers).normalize();let{responseType:p,onUploadProgress:v,onDownloadProgress:S}=f,b,E,D,C,R;function L(){C&&C(),R&&R(),f.cancelToken&&f.cancelToken.unsubscribe(b),f.signal&&f.signal.removeEventListener("abort",b)}let j=new XMLHttpRequest;j.open(f.method.toUpperCase(),f.url,!0),j.timeout=f.timeout;function Y(){if(!j)return;const $=An.from("getAllResponseHeaders"in j&&j.getAllResponseHeaders()),I={data:!p||p==="text"||p==="json"?j.responseText:j.response,status:j.status,statusText:j.statusText,headers:$,config:o,request:j};fw(function(be){l(be),L()},function(be){u(be),L()},I),j=null}"onloadend"in j?j.onloadend=Y:j.onreadystatechange=function(){!j||j.readyState!==4||j.status===0&&!(j.responseURL&&j.responseURL.indexOf("file:")===0)||setTimeout(Y)},j.onabort=function(){j&&(u(new we("Request aborted",we.ECONNABORTED,o,j)),j=null)},j.onerror=function(K){const I=K&&K.message?K.message:"Network Error",De=new we(I,we.ERR_NETWORK,o,j);De.event=K||null,u(De),j=null},j.ontimeout=function(){let K=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded";const I=f.transitional||xv;f.timeoutErrorMessage&&(K=f.timeoutErrorMessage),u(new we(K,I.clarifyTimeoutError?we.ETIMEDOUT:we.ECONNABORTED,o,j)),j=null},m===void 0&&h.setContentType(null),"setRequestHeader"in j&&H.forEach(h.toJSON(),function(K,I){j.setRequestHeader(I,K)}),H.isUndefined(f.withCredentials)||(j.withCredentials=!!f.withCredentials),p&&p!=="json"&&(j.responseType=f.responseType),S&&([D,R]=qd(S,!0),j.addEventListener("progress",D)),v&&j.upload&&([E,C]=qd(v),j.upload.addEventListener("progress",E),j.upload.addEventListener("loadend",C)),(f.cancelToken||f.signal)&&(b=$=>{j&&(u(!$||$.type?new Ju(null,o,j):$),j.abort(),j=null)},f.cancelToken&&f.cancelToken.subscribe(b),f.signal&&(f.signal.aborted?b():f.signal.addEventListener("abort",b)));const Q=t5(f.url);if(Q&&en.protocols.indexOf(Q)===-1){u(new we("Unsupported protocol "+Q+":",we.ERR_BAD_REQUEST,o));return}j.send(m||null)})},c5=(o,r)=>{const{length:l}=o=o?o.filter(Boolean):[];if(r||l){let u=new AbortController,f;const m=function(S){if(!f){f=!0,p();const b=S instanceof Error?S:this.reason;u.abort(b instanceof we?b:new Ju(b instanceof Error?b.message:b))}};let h=r&&setTimeout(()=>{h=null,m(new we(`timeout of ${r}ms exceeded`,we.ETIMEDOUT))},r);const p=()=>{o&&(h&&clearTimeout(h),h=null,o.forEach(S=>{S.unsubscribe?S.unsubscribe(m):S.removeEventListener("abort",m)}),o=null)};o.forEach(S=>S.addEventListener("abort",m));const{signal:v}=u;return v.unsubscribe=()=>H.asap(p),v}},f5=function*(o,r){let l=o.byteLength;if(l<r){yield o;return}let u=0,f;for(;u<l;)f=u+r,yield o.slice(u,f),u=f},d5=async function*(o,r){for await(const l of h5(o))yield*f5(l,r)},h5=async function*(o){if(o[Symbol.asyncIterator]){yield*o;return}const r=o.getReader();try{for(;;){const{done:l,value:u}=await r.read();if(l)break;yield u}}finally{await r.cancel()}},FA=(o,r,l,u)=>{const f=d5(o,r);let m=0,h,p=v=>{h||(h=!0,u&&u(v))};return new ReadableStream({async pull(v){try{const{done:S,value:b}=await f.next();if(S){p(),v.close();return}let E=b.byteLength;if(l){let D=m+=E;l(D)}v.enqueue(new Uint8Array(b))}catch(S){throw p(S),S}},cancel(v){return p(v),f.return()}},{highWaterMark:2})},JA=64*1024,{isFunction:bd}=H,m5=(({Request:o,Response:r})=>({Request:o,Response:r}))(H.global),{ReadableStream:IA,TextEncoder:KA}=H.global,WA=(o,...r)=>{try{return!!o(...r)}catch{return!1}},p5=o=>{o=H.merge.call({skipUndefined:!0},m5,o);const{fetch:r,Request:l,Response:u}=o,f=r?bd(r):typeof fetch=="function",m=bd(l),h=bd(u);if(!f)return!1;const p=f&&bd(IA),v=f&&(typeof KA=="function"?(R=>L=>R.encode(L))(new KA):async R=>new Uint8Array(await new l(R).arrayBuffer())),S=m&&p&&WA(()=>{let R=!1;const L=new l(en.origin,{body:new IA,method:"POST",get duplex(){return R=!0,"half"}}).headers.has("Content-Type");return R&&!L}),b=h&&p&&WA(()=>H.isReadableStream(new u("").body)),E={stream:b&&(R=>R.body)};f&&["text","arrayBuffer","blob","formData","stream"].forEach(R=>{!E[R]&&(E[R]=(L,j)=>{let Y=L&&L[R];if(Y)return Y.call(L);throw new we(`Response type '${R}' is not supported`,we.ERR_NOT_SUPPORT,j)})});const D=async R=>{if(R==null)return 0;if(H.isBlob(R))return R.size;if(H.isSpecCompliantForm(R))return(await new l(en.origin,{method:"POST",body:R}).arrayBuffer()).byteLength;if(H.isArrayBufferView(R)||H.isArrayBuffer(R))return R.byteLength;if(H.isURLSearchParams(R)&&(R=R+""),H.isString(R))return(await v(R)).byteLength},C=async(R,L)=>{const j=H.toFiniteNumber(R.getContentLength());return j??D(L)};return async R=>{let{url:L,method:j,data:Y,signal:Q,cancelToken:$,timeout:K,onDownloadProgress:I,onUploadProgress:De,responseType:be,headers:W,withCredentials:fe="same-origin",fetchOptions:q}=hw(R),ue=r||fetch;be=be?(be+"").toLowerCase():"text";let ne=c5([Q,$&&$.toAbortSignal()],K),ae=null;const Ee=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()});let _e;try{if(De&&S&&j!=="get"&&j!=="head"&&(_e=await C(W,Y))!==0){let O=new l(L,{method:"POST",body:Y,duplex:"half"}),J;if(H.isFormData(Y)&&(J=O.headers.get("content-type"))&&W.setContentType(J),O.body){const[ge,ce]=XA(_e,qd(ZA(De)));Y=FA(O.body,JA,ge,ce)}}H.isString(fe)||(fe=fe?"include":"omit");const G=m&&"credentials"in l.prototype,oe={...q,signal:ne,method:j.toUpperCase(),headers:W.normalize().toJSON(),body:Y,duplex:"half",credentials:G?fe:void 0};ae=m&&new l(L,oe);let se=await(m?ue(ae,q):ue(L,oe));const Re=b&&(be==="stream"||be==="response");if(b&&(I||Re&&Ee)){const O={};["status","statusText","headers"].forEach(nt=>{O[nt]=se[nt]});const J=H.toFiniteNumber(se.headers.get("content-length")),[ge,ce]=I&&XA(J,qd(ZA(I),!0))||[];se=new u(FA(se.body,JA,ge,()=>{ce&&ce(),Ee&&Ee()}),O)}be=be||"text";let He=await E[H.findKey(E,be)||"text"](se,R);return!Re&&Ee&&Ee(),await new Promise((O,J)=>{fw(O,J,{data:He,headers:An.from(se.headers),status:se.status,statusText:se.statusText,config:R,request:ae})})}catch(G){throw Ee&&Ee(),G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)?Object.assign(new we("Network Error",we.ERR_NETWORK,R,ae,G&&G.response),{cause:G.cause||G}):we.from(G,G&&G.code,R,ae,G&&G.response)}}},y5=new Map,mw=o=>{let r=o&&o.env||{};const{fetch:l,Request:u,Response:f}=r,m=[u,f,l];let h=m.length,p=h,v,S,b=y5;for(;p--;)v=m[p],S=b.get(v),S===void 0&&b.set(v,S=p?new Map:p5(r)),b=S;return S};mw();const Av={http:_V,xhr:u5,fetch:{get:mw}};H.forEach(Av,(o,r)=>{if(o){try{Object.defineProperty(o,"name",{value:r})}catch{}Object.defineProperty(o,"adapterName",{value:r})}});const eT=o=>`- ${o}`,g5=o=>H.isFunction(o)||o===null||o===!1;function v5(o,r){o=H.isArray(o)?o:[o];const{length:l}=o;let u,f;const m={};for(let h=0;h<l;h++){u=o[h];let p;if(f=u,!g5(u)&&(f=Av[(p=String(u)).toLowerCase()],f===void 0))throw new we(`Unknown adapter '${p}'`);if(f&&(H.isFunction(f)||(f=f.get(r))))break;m[p||"#"+h]=f}if(!f){const h=Object.entries(m).map(([v,S])=>`adapter ${v} `+(S===!1?"is not supported by the environment":"is not available in the build"));let p=l?h.length>1?`since :
251
- `+h.map(eT).join(`
252
- `):" "+eT(h[0]):"as no adapter specified";throw new we("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return f}const pw={getAdapter:v5,adapters:Av};function rg(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new Ju(null,o)}function tT(o){return rg(o),o.headers=An.from(o.headers),o.data=og.call(o,o.transformRequest),["post","put","patch"].indexOf(o.method)!==-1&&o.headers.setContentType("application/x-www-form-urlencoded",!1),pw.getAdapter(o.adapter||Fu.adapter,o)(o).then(function(u){return rg(o),u.data=og.call(o,o.transformResponse,u),u.headers=An.from(u.headers),u},function(u){return cw(u)||(rg(o),u&&u.response&&(u.response.data=og.call(o,o.transformResponse,u.response),u.response.headers=An.from(u.response.headers))),Promise.reject(u)})}const yw="1.13.5",Jd={};["object","boolean","number","function","string","symbol"].forEach((o,r)=>{Jd[o]=function(u){return typeof u===o||"a"+(r<1?"n ":" ")+o}});const nT={};Jd.transitional=function(r,l,u){function f(m,h){return"[Axios v"+yw+"] Transitional option '"+m+"'"+h+(u?". "+u:"")}return(m,h,p)=>{if(r===!1)throw new we(f(h," has been removed"+(l?" in "+l:"")),we.ERR_DEPRECATED);return l&&!nT[h]&&(nT[h]=!0,console.warn(f(h," has been deprecated since v"+l+" and will be removed in the near future"))),r?r(m,h,p):!0}};Jd.spelling=function(r){return(l,u)=>(console.warn(`${u} is likely a misspelling of ${r}`),!0)};function b5(o,r,l){if(typeof o!="object")throw new we("options must be an object",we.ERR_BAD_OPTION_VALUE);const u=Object.keys(o);let f=u.length;for(;f-- >0;){const m=u[f],h=r[m];if(h){const p=o[m],v=p===void 0||h(p,m,o);if(v!==!0)throw new we("option "+m+" must be "+v,we.ERR_BAD_OPTION_VALUE);continue}if(l!==!0)throw new we("Unknown option "+m,we.ERR_BAD_OPTION)}}const Md={assertOptions:b5,validators:Jd},na=Md.validators;let As=class{constructor(r){this.defaults=r||{},this.interceptors={request:new GA,response:new GA}}async request(r,l){try{return await this._request(r,l)}catch(u){if(u instanceof Error){let f={};Error.captureStackTrace?Error.captureStackTrace(f):f=new Error;const m=f.stack?f.stack.replace(/^.+\n/,""):"";try{u.stack?m&&!String(u.stack).endsWith(m.replace(/^.+\n.+\n/,""))&&(u.stack+=`
253
- `+m):u.stack=m}catch{}}throw u}}_request(r,l){typeof r=="string"?(l=l||{},l.url=r):l=r||{},l=Ts(this.defaults,l);const{transitional:u,paramsSerializer:f,headers:m}=l;u!==void 0&&Md.assertOptions(u,{silentJSONParsing:na.transitional(na.boolean),forcedJSONParsing:na.transitional(na.boolean),clarifyTimeoutError:na.transitional(na.boolean),legacyInterceptorReqResOrdering:na.transitional(na.boolean)},!1),f!=null&&(H.isFunction(f)?l.paramsSerializer={serialize:f}:Md.assertOptions(f,{encode:na.function,serialize:na.function},!0)),l.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?l.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:l.allowAbsoluteUrls=!0),Md.assertOptions(l,{baseUrl:na.spelling("baseURL"),withXsrfToken:na.spelling("withXSRFToken")},!0),l.method=(l.method||this.defaults.method||"get").toLowerCase();let h=m&&H.merge(m.common,m[l.method]);m&&H.forEach(["delete","get","head","post","put","patch","common"],R=>{delete m[R]}),l.headers=An.concat(h,m);const p=[];let v=!0;this.interceptors.request.forEach(function(L){if(typeof L.runWhen=="function"&&L.runWhen(l)===!1)return;v=v&&L.synchronous;const j=l.transitional||xv;j&&j.legacyInterceptorReqResOrdering?p.unshift(L.fulfilled,L.rejected):p.push(L.fulfilled,L.rejected)});const S=[];this.interceptors.response.forEach(function(L){S.push(L.fulfilled,L.rejected)});let b,E=0,D;if(!v){const R=[tT.bind(this),void 0];for(R.unshift(...p),R.push(...S),D=R.length,b=Promise.resolve(l);E<D;)b=b.then(R[E++],R[E++]);return b}D=p.length;let C=l;for(;E<D;){const R=p[E++],L=p[E++];try{C=R(C)}catch(j){L.call(this,j);break}}try{b=tT.call(this,C)}catch(R){return Promise.reject(R)}for(E=0,D=S.length;E<D;)b=b.then(S[E++],S[E++]);return b}getUri(r){r=Ts(this.defaults,r);const l=dw(r.baseURL,r.url,r.allowAbsoluteUrls);return lw(l,r.params,r.paramsSerializer)}};H.forEach(["delete","get","head","options"],function(r){As.prototype[r]=function(l,u){return this.request(Ts(u||{},{method:r,url:l,data:(u||{}).data}))}});H.forEach(["post","put","patch"],function(r){function l(u){return function(m,h,p){return this.request(Ts(p||{},{method:r,headers:u?{"Content-Type":"multipart/form-data"}:{},url:m,data:h}))}}As.prototype[r]=l(),As.prototype[r+"Form"]=l(!0)});let S5=class gw{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let l;this.promise=new Promise(function(m){l=m});const u=this;this.promise.then(f=>{if(!u._listeners)return;let m=u._listeners.length;for(;m-- >0;)u._listeners[m](f);u._listeners=null}),this.promise.then=f=>{let m;const h=new Promise(p=>{u.subscribe(p),m=p}).then(f);return h.cancel=function(){u.unsubscribe(m)},h},r(function(m,h,p){u.reason||(u.reason=new Ju(m,h,p),l(u.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const l=this._listeners.indexOf(r);l!==-1&&this._listeners.splice(l,1)}toAbortSignal(){const r=new AbortController,l=u=>{r.abort(u)};return this.subscribe(l),r.signal.unsubscribe=()=>this.unsubscribe(l),r.signal}static source(){let r;return{token:new gw(function(f){r=f}),cancel:r}}};function D5(o){return function(l){return o.apply(null,l)}}function x5(o){return H.isObject(o)&&o.isAxiosError===!0}const Vg={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(Vg).forEach(([o,r])=>{Vg[r]=o});function vw(o){const r=new As(o),l=IN(As.prototype.request,r);return H.extend(l,As.prototype,r,{allOwnKeys:!0}),H.extend(l,r,null,{allOwnKeys:!0}),l.create=function(f){return vw(Ts(o,f))},l}const lt=vw(Fu);lt.Axios=As;lt.CanceledError=Ju;lt.CancelToken=S5;lt.isCancel=cw;lt.VERSION=yw;lt.toFormData=Fd;lt.AxiosError=we;lt.Cancel=lt.CanceledError;lt.all=function(r){return Promise.all(r)};lt.spread=D5;lt.isAxiosError=x5;lt.mergeConfig=Ts;lt.AxiosHeaders=An;lt.formToJSON=o=>uw(H.isHTMLForm(o)?new FormData(o):o);lt.getAdapter=pw.getAdapter;lt.HttpStatusCode=Vg;lt.default=lt;const{Axios:B5,AxiosError:H5,CanceledError:q5,isCancel:Y5,CancelToken:P5,VERSION:G5,all:$5,Cancel:X5,isAxiosError:Z5,spread:Q5,toFormData:F5,AxiosHeaders:J5,HttpStatusCode:I5,formToJSON:K5,getAdapter:W5,mergeConfig:e4}=lt,Dr=[{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"}],E5=[{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"}],A5=({onComplete:o,onSubmitTask:r})=>{const[l,u]=F.useState(0),f=()=>{l<Dr.length-1&&u(l+1)},m=p=>{r(p),o()},h=()=>{o()};return A.jsxDEV("div",{className:"fixed inset-0 z-40 bg-zora-obsidian/95 flex items-center justify-center p-8",children:A.jsxDEV(pn.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:Dr.map((p,v)=>A.jsxDEV("div",{className:`w-2 h-2 rounded-full transition-colors ${v===l?"bg-zora-teal":v<l?"bg-zora-teal/40":"bg-zora-ghost"}`},v,!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),A.jsxDEV(Ar,{mode:"wait",children:[l===0&&A.jsxDEV(pn.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(fT,{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),A.jsxDEV("h1",{className:"text-3xl font-tactical font-bold text-zora-white mb-3",children:Dr[0].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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:Dr[0].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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/AgentDev/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(Ud,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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/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),A.jsxDEV("button",{onClick:f,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(bE,{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),A.jsxDEV("button",{onClick:h,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),l===1&&A.jsxDEV(pn.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:Dr[1].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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:Dr[1].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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(KM,{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),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/AgentDev/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/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),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(Ud,{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),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/AgentDev/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/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),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(uT,{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),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/AgentDev/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/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),A.jsxDEV("div",{className:"flex justify-center mt-8",children:A.jsxDEV("button",{onClick:f,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(bE,{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),l===2&&A.jsxDEV(pn.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:Dr[2].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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:Dr[2].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:221,columnNumber:15},void 0),A.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:E5.map((p,v)=>A.jsxDEV("button",{onClick:()=>m(p.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:p.emoji},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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:p.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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:p.prompt},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:234,columnNumber:21},void 0)]},v,!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),A.jsxDEV("div",{className:"flex justify-center mt-6",children:A.jsxDEV("button",{onClick:h,className:"text-white/40 text-xs hover:text-white/60 transition-colors flex items-center gap-1",children:[A.jsxDEV(xM,{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)},T5=[{icon:cT,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:Hg,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:YM,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:uT,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:JM,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:Lg,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"}]}],N5=({onSubmitTask:o})=>{const[r,l]=kg.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/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),A.jsxDEV("div",{className:"space-y-1.5",children:T5.map(u=>{const f=u.icon,m=r===u.label;return A.jsxDEV("div",{children:[A.jsxDEV("button",{onClick:()=>l(m?null:u.label),className:`w-full flex items-center gap-2 px-3 py-2 rounded-lg text-left transition-all ${m?`${u.bgColor} border ${u.borderColor}`:"hover:bg-black/30 border border-transparent"}`,children:[A.jsxDEV(f,{size:14,className:u.color},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:110,columnNumber:17},void 0),A.jsxDEV("span",{className:`text-xs font-bold uppercase ${m?u.color:"text-white/60"}`,children:u.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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:u.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),A.jsxDEV(Ar,{children:m&&A.jsxDEV(pn.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:u.tasks.map((h,p)=>A.jsxDEV("button",{onClick:()=>o(h.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:h.prompt,children:h.label},p,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:129,columnNumber:23},void 0))},u.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)]},u.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)},w5={read:Bg,write:Hg,shell:qg,think:Lg,error:dT},aT={read:"text-zora-cyan",write:"text-zora-gold",shell:"text-green-400",think:"text-zora-blue",error:"text-red-400"},R5={read:"Read",write:"Created",shell:"Ran",think:"Thinking",error:"Error"},O5=({steps:o,isRunning:r,taskPrompt:l})=>{const[u,f]=kg.useState(!1);if(o.length===0&&!r)return null;const m=o.filter(S=>S.type==="read").length,h=o.filter(S=>S.type==="write").length,p=o.filter(S=>S.type==="shell").length,v=o.filter(S=>S.type==="error").length;return A.jsxDEV("div",{className:"border-t border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>f(!u),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:r?"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),r&&A.jsxDEV(pn.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),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:[m>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(Bg,{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)," ",m]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:75,columnNumber:15},void 0),h>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(Hg,{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)," ",h]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:80,columnNumber:15},void 0),p>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(qg,{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)," ",p]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:85,columnNumber:15},void 0),v>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(dT,{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)," ",v]},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),u?A.jsxDEV(Sd,{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):A.jsxDEV(Dd,{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),A.jsxDEV(Ar,{children:!u&&A.jsxDEV(pn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:[l&&A.jsxDEV("div",{className:"px-4 pb-2",children:A.jsxDEV("div",{className:"text-[10px] font-data text-white/30 italic truncate",children:['"',l,'"']},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),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:[o.map((S,b)=>{const E=w5[S.type];return A.jsxDEV(pn.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:"flex items-start gap-2 text-[10px] font-data",children:[A.jsxDEV(E,{size:12,className:`${aT[S.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),A.jsxDEV("span",{className:`${aT[S.type]} font-bold uppercase w-12 flex-shrink-0`,children:R5[S.type]},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:132,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-white/50 truncate flex-1",children:S.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:135,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-white/20 flex-shrink-0",children:S.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)]},b,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:125,columnNumber:21},void 0)}),r&&A.jsxDEV(pn.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(Lg,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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/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),!r&&o.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(lg,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:161,columnNumber:19},void 0),A.jsxDEV("span",{children:["Task complete",m+h+p>0?" — ":"",m>0?`read ${m} file${m>1?"s":""}`:"",m>0&&h>0?", ":"",h>0?`created ${h} file${h>1?"s":""}`:"",(m>0||h>0)&&p>0?", ":"",p>0?`ran ${p} command${p>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)},oT={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"}},C5=()=>{const[o,r]=F.useState(null),[l,u]=F.useState(!0),[f,m]=F.useState(!1),[h,p]=F.useState("folders");F.useEffect(()=>{(async()=>{try{const E=await lt.get("/api/policy");E.data.ok&&r(E.data.policy)}catch{m(!0),r({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{u(!1)}})()},[]);const v=b=>{p(h===b?null:b)};if(l)return A.jsxDEV("div",{className:"px-4 py-6 text-center",children:A.jsxDEV(pn.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(!o)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/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 S=oT[o.preset]||oT.balanced;return A.jsxDEV("div",{className:"space-y-0",children:[f&&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/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),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(Ud,{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),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/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),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 ${S.color} mb-1`,children:[S.label," Mode"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/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:S.description},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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/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),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>v("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(cT,{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),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/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),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:o.allowedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:131,columnNumber:13},void 0),h==="folders"?A.jsxDEV(Dd,{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):A.jsxDEV(Sd,{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),A.jsxDEV(Ar,{children:h==="folders"&&A.jsxDEV(pn.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:o.allowedPaths.map((b,E)=>A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[A.jsxDEV(lg,{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),A.jsxDEV("span",{className:"text-white/60",children:b},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:151,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/20 ml-auto",children:o.preset==="safe"?A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(Bg,{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):A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(HM,{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)]},E,!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),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>v("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(UM,{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),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/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),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:o.deniedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:184,columnNumber:13},void 0),h==="denied"?A.jsxDEV(Dd,{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):A.jsxDEV(Sd,{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),A.jsxDEV(Ar,{children:h==="denied"&&A.jsxDEV(pn.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:[o.deniedPaths.map((b,E)=>A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[A.jsxDEV(wM,{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),A.jsxDEV("span",{className:"text-white/60",children:b},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/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:[b.includes(".ssh")&&"SSH keys",b.includes(".gnupg")&&"encryption keys",b.includes(".aws")&&"AWS credentials",b.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)]},E,!0,{fileName:"/Users/ryaker/Dev/AgentDev/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(VM,{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),A.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),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>v("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(qg,{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),A.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),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:o.allowedCommands.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:236,columnNumber:13},void 0),h==="commands"?A.jsxDEV(Dd,{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):A.jsxDEV(Sd,{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),A.jsxDEV(Ar,{children:h==="commands"&&A.jsxDEV(pn.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:o.allowedCommands.map((b,E)=>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(lg,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:259,columnNumber:23},void 0)," ",b]},E,!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),A.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),A.jsxDEV("div",{className:"flex flex-wrap gap-1",children:o.blockedCommands.map((b,E)=>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(bM,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:270,columnNumber:23},void 0)," ",b]},E,!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),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/AgentDev/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/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)},M5="v0.9.5",sg=200,rT="zora_onboarding_complete";let Ja=0;function sT(o){return o>=1e6?`${(o/1e6).toFixed(1)}M`:o>=1e3?`${(o/1e3).toFixed(1)}K`:String(o)}function ig(o){return o>=.7?"text-green-500":o>=.3?"text-zora-gold":"text-red-500"}function U5(o){return o>=.7?"bg-green-500":o>=.3?"bg-zora-gold":"bg-red-500"}const _5=({msg:o})=>{const r={agent:"bubble bubble-agent",user:"bubble bubble-user",system:"bubble bubble-system","tool-call":"bubble bubble-agent","tool-result":"bubble bubble-agent"}[o.type];return A.jsxDEV(pn.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:r,"data-testid":`bubble-${o.type}`,children:[o.type==="tool-call"&&A.jsxDEV("div",{className:"tool-mini mb-1",children:"TOOL_INVOKE"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:82,columnNumber:9},void 0),o.type==="tool-result"&&A.jsxDEV("div",{className:"tool-mini mb-1",children:"TOOL_RESULT"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:85,columnNumber:9},void 0),A.jsxDEV("div",{children:o.content},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:87,columnNumber:7},void 0),A.jsxDEV("div",{className:"text-[9px] opacity-40 mt-1",children:o.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:88,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:74,columnNumber:5},void 0)},z5=()=>{const[o,r]=F.useState([]),[l,u]=F.useState([]),[f,m]=F.useState(""),[h,p]=F.useState("job_active"),[v,S]=F.useState([{id:++Ja,type:"system",content:"Zora is ready.",timestamp:new Date}]),b=F.useRef(null),[E,D]=F.useState(()=>{try{return!localStorage.getItem(rT)}catch{return!0}}),[C,R]=F.useState("status"),[L,j]=F.useState([]),[Y,Q]=F.useState(!1),[$,K]=F.useState(),I=()=>{D(!1);try{localStorage.setItem(rT,"true")}catch{}},De=async q=>{if(!Y){S(ue=>[...ue,{id:++Ja,type:"user",content:q,timestamp:new Date}].slice(-sg)),K(q),Q(!0),j([]);try{await lt.post("/api/steer",{jobId:h,message:q,author:"operator",source:"dashboard"})}catch(ue){console.error("Task submission failed",ue),S(ne=>[...ne,{id:++Ja,type:"system",content:"Failed to send task. Check that Zora is running.",timestamp:new Date}].slice(-sg)),Q(!1)}}};F.useEffect(()=>{b.current?.scrollIntoView({behavior:"smooth"})},[v]),F.useEffect(()=>{(async()=>{try{const ne=(await lt.get("/api/history?limit=3")).data?.events??[];if(ne.length===0)return;const ae=[];for(const{event:Ee}of ne){const _e=Ee.timestamp?new Date(Ee.timestamp):new Date;if(Ee.type==="text"||Ee.type==="text_delta"){const G=Ee.content?.text??"";G.trim()&&ae.push({id:++Ja,type:"agent",content:G,timestamp:_e})}else if(Ee.type==="tool_call"){const G=Ee.content?.tool??"tool";ae.push({id:++Ja,type:"tool-call",content:G,timestamp:_e})}else if(Ee.type==="job_update"){const G=Ee.content?.status??"update";(G==="started"||G==="completed"||G==="failed")&&ae.push({id:++Ja,type:"system",content:`Task ${G}`,timestamp:_e})}else if(Ee.type==="error"){const G=Ee.content?.message??"Error";ae.push({id:++Ja,type:"system",content:G,timestamp:_e})}}ae.length>0&&S([{id:++Ja,type:"system",content:"— session history —",timestamp:new Date(0)},...ae,{id:++Ja,type:"system",content:"Zora is ready.",timestamp:new Date}])}catch{}})()},[]),F.useEffect(()=>{const q=async()=>{try{const ne=await lt.get("/api/health");ne.data.ok&&r(ne.data.providers)}catch(ne){console.error("Health check failed",ne)}};q();const ue=setInterval(q,3e4);return()=>clearInterval(ue)},[]),F.useEffect(()=>{const q=async()=>{try{const ne=await lt.get("/api/quota");ne.data.ok&&u(ne.data.providers)}catch(ne){console.error("Quota fetch failed",ne)}};q();const ue=setInterval(q,1e4);return()=>clearInterval(ue)},[]),F.useEffect(()=>{const q=async()=>{try{((await lt.get("/api/jobs")).data?.jobs??[]).some(_e=>_e.status==="running")||Q(!1)}catch{}},ue=new EventSource("/api/events");return ue.onmessage=ne=>{try{const ae=JSON.parse(ne.data);if(ae.type==="connected"){q();return}let Ee="agent",_e="";if(ae.type==="job_update")Ee="system",_e=`Task ${ae.data?.status==="completed"?"completed":ae.data?.status??"update"}`,(ae.data?.status==="completed"||ae.data?.status==="failed")&&Q(!1);else if(ae.type==="tool_call"){Ee="tool-call",_e=ae.data?.tool??JSON.stringify(ae);const G=ae.data?.tool??"unknown";let oe="think";G.toLowerCase().includes("read")||G.toLowerCase().includes("glob")||G.toLowerCase().includes("grep")?oe="read":G.toLowerCase().includes("write")||G.toLowerCase().includes("edit")?oe="write":(G.toLowerCase().includes("bash")||G.toLowerCase().includes("shell"))&&(oe="shell"),j(se=>[...se,{type:oe,label:_e,timestamp:new Date}])}else ae.type==="tool_result"?(Ee="tool-result",_e=ae.data?.result??JSON.stringify(ae)):ae.type==="text_delta"||ae.type==="text.delta"?(Ee="agent",_e=ae.data?.text??ae.data?.delta??JSON.stringify(ae)):ae.type==="error"?(Ee="system",_e=ae.data?.message??"An error occurred",j(G=>[...G,{type:"error",label:_e,timestamp:new Date}])):(Ee="system",_e=JSON.stringify(ae));S(G=>[...G,{id:++Ja,type:Ee,content:_e,timestamp:new Date}].slice(-sg))}catch{}},()=>ue.close()},[]);const be=async()=>{if(!f)return;const q=f;m(""),De(q)},W=l.reduce((q,ue)=>q+ue.usage.totalCostUsd,0),fe=l.reduce((q,ue)=>q+ue.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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:335,columnNumber:7},void 0),E&&A.jsxDEV(A5,{onComplete:I,onSubmitTask:q=>{I(),De(q)}},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:339,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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:350,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:o.length>0&&A.jsxDEV("div",{className:"flex items-center gap-1.5 text-[9px] font-data text-white/40",children:o.map(q=>A.jsxDEV("div",{className:"flex items-center gap-1",children:[A.jsxDEV("span",{className:`w-2 h-2 rounded-full ${q.valid?"bg-green-500":"bg-red-500"}`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:358,columnNumber:19},void 0),A.jsxDEV("span",{className:"uppercase",children:q.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:359,columnNumber:19},void 0)]},q.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:357,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:355,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:353,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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:365,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:349,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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:373,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:374,columnNumber:11},void 0),A.jsxDEV("button",{onClick:()=>D(!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(fT,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:380,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:375,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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:382,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:372,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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:388,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:387,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(Ar,{children:v.map(q=>A.jsxDEV(_5,{msg:q},q.id,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:397,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:395,columnNumber:13},void 0),A.jsxDEV("div",{ref:b},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:400,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:394,columnNumber:11},void 0),A.jsxDEV(O5,{steps:L,isRunning:Y,taskPrompt:$},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:404,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:f,onChange:q=>m(q.target.value),onKeyDown:q=>q.key==="Enter"&&be(),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:413,columnNumber:15},void 0),A.jsxDEV("button",{onClick:be,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(GM,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:425,columnNumber:17},void 0)," SEND"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:421,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:412,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:411,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:386,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:()=>R("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 ${C==="status"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(SE,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:444,columnNumber:15},void 0)," Status"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:436,columnNumber:13},void 0),A.jsxDEV("button",{onClick:()=>R("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 ${C==="templates"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(LM,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:454,columnNumber:15},void 0)," Tasks"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:446,columnNumber:13},void 0),A.jsxDEV("button",{onClick:()=>R("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 ${C==="security"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(Ud,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:464,columnNumber:15},void 0)," Safety"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:456,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:435,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1 overflow-y-auto lcars-scrollbar",children:[C==="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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:476,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:475,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-2 space-y-3",children:[A.jsxDEV(Ar,{children:o.map(q=>{const ue=l.find(ne=>ne.name===q.name);return A.jsxDEV(pn.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:q.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:492,columnNumber:29},void 0),A.jsxDEV("span",{className:`w-2.5 h-2.5 rounded-full ${q.valid?"bg-green-500":"bg-red-500"}`,title:q.valid?"Connected":"Disconnected","data-testid":`provider-dot-${q.name}`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:493,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:491,columnNumber:27},void 0),ue&&A.jsxDEV("div",{className:"space-y-1",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(SE,{size:10,className:ig(ue.quota.healthScore)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:502,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 ${U5(ue.quota.healthScore)}`,style:{width:`${ue.quota.healthScore*100}%`}},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:504,columnNumber:35},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:503,columnNumber:33},void 0),A.jsxDEV("span",{className:`text-[9px] font-data ${ig(ue.quota.healthScore)}`,children:[Math.round(ue.quota.healthScore*100),"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:509,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:501,columnNumber:31},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/50 space-y-0.5",children:[ue.usage.totalCostUsd>0&&A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"COST"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:516,columnNumber:37},void 0),A.jsxDEV("span",{className:"text-zora-gold",children:["$",ue.usage.totalCostUsd.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:517,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:515,columnNumber:35},void 0),A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"REQUESTS"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:521,columnNumber:35},void 0),A.jsxDEV("span",{className:"text-zora-cyan",children:ue.usage.requestCount},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:522,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:520,columnNumber:33},void 0),(ue.usage.totalInputTokens>0||ue.usage.totalOutputTokens>0)&&A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"TOKENS"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:526,columnNumber:37},void 0),A.jsxDEV("span",{className:"text-zora-cyan",children:[sT(ue.usage.totalInputTokens)," in / ",sT(ue.usage.totalOutputTokens)," out"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:527,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:525,columnNumber:35},void 0),ue.quota.isExhausted&&A.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:533,columnNumber:35},void 0),ue.quota.cooldownUntil&&A.jsxDEV("div",{className:"text-zora-gold",children:"COOLDOWN ACTIVE"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:536,columnNumber:35},void 0),A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"TIER"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:539,columnNumber:35},void 0),A.jsxDEV("span",{className:"text-white/40 uppercase",children:ue.costTier},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:540,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:538,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:513,columnNumber:31},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:500,columnNumber:29},void 0)]},q.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:485,columnNumber:25},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:481,columnNumber:19},void 0),o.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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:551,columnNumber:48},void 0),"Run ",A.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:552,columnNumber:27},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:550,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:480,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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:559,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:558,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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:566,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-zora-gold font-bold",children:["$",W.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:567,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:565,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/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:570,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-zora-cyan font-bold",children:fe},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:571,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:569,columnNumber:21},void 0),l.map(q=>A.jsxDEV("div",{className:"flex justify-between items-center text-[9px]",children:[A.jsxDEV("span",{className:"uppercase text-white/40",children:q.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:575,columnNumber:25},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:ig(q.quota.healthScore),children:q.quota.isExhausted?"EXHAUSTED":`${Math.round(q.quota.healthScore*100)}%`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:577,columnNumber:27},void 0),q.usage.totalCostUsd>0&&A.jsxDEV("span",{className:"text-zora-gold",children:["$",q.usage.totalCostUsd.toFixed(3)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:581,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:576,columnNumber:25},void 0)]},q.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:574,columnNumber:23},void 0))]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:564,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:563,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:473,columnNumber:15},void 0),C==="templates"&&A.jsxDEV(N5,{onSubmitTask:De},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:593,columnNumber:15},void 0),C==="security"&&A.jsxDEV(C5,{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:598,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:469,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:432,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:369,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 ",M5]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:606,columnNumber:9},void 0),A.jsxDEV("div",{children:"Dashboard"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:607,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:605,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:334,columnNumber:5},void 0)};fM.createRoot(document.getElementById("root")).render(A.jsxDEV(kg.StrictMode,{children:A.jsxDEV(z5,{},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));