@volter/twin-stripe 0.1.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/README.md +64 -27
  2. package/client/dashboard-api.ts +286 -0
  3. package/client/stripe-mirror.css +272 -159
  4. package/client/stripe-mirror.tsx +1384 -541
  5. package/dist/client/dashboard-api.d.ts +107 -0
  6. package/dist/client/dashboard-api.js +238 -0
  7. package/dist/client/dashboard-api.ts +286 -0
  8. package/dist/client/stripe-mirror.bundle.js +236 -0
  9. package/dist/client/stripe-mirror.css +275 -0
  10. package/dist/client/stripe-mirror.d.ts +134 -0
  11. package/dist/client/stripe-mirror.js +823 -0
  12. package/dist/client/stripe-mirror.tsx +1534 -0
  13. package/dist/src/cli.d.ts +2 -0
  14. package/dist/src/cli.js +39 -0
  15. package/dist/src/generated/events.gen.json +1 -0
  16. package/dist/src/generated/surface.gen.json +1 -0
  17. package/dist/src/generated/ui.gen.json +1 -0
  18. package/dist/src/index.d.ts +14 -0
  19. package/dist/src/index.js +73 -0
  20. package/dist/src/manifest.d.ts +2 -0
  21. package/dist/src/manifest.js +1065 -0
  22. package/dist/src/screens/checkout.d.ts +31 -0
  23. package/dist/src/screens/checkout.js +241 -0
  24. package/dist/src/screens/consent-skin.d.ts +4 -0
  25. package/dist/src/screens/consent-skin.js +18 -0
  26. package/dist/src/screens/financial-connections.d.ts +5 -0
  27. package/dist/src/screens/financial-connections.js +90 -0
  28. package/dist/src/screens/identity.d.ts +5 -0
  29. package/dist/src/screens/identity.js +86 -0
  30. package/dist/src/screens/industries.d.ts +1 -0
  31. package/dist/src/screens/industries.js +267 -0
  32. package/dist/src/screens/onboarding.d.ts +13 -0
  33. package/dist/src/screens/onboarding.js +225 -0
  34. package/dist/src/screens/portal.d.ts +5 -0
  35. package/dist/src/screens/portal.js +214 -0
  36. package/dist/src/screens/public-details.d.ts +5 -0
  37. package/dist/src/screens/public-details.js +90 -0
  38. package/dist/src/semantics/after-payment.d.ts +22 -0
  39. package/dist/src/semantics/after-payment.js +93 -0
  40. package/dist/src/semantics/apps-secrets.d.ts +2 -0
  41. package/dist/src/semantics/apps-secrets.js +54 -0
  42. package/dist/src/semantics/balance.d.ts +11 -0
  43. package/dist/src/semantics/balance.js +195 -0
  44. package/dist/src/semantics/billing.d.ts +2 -0
  45. package/dist/src/semantics/billing.js +220 -0
  46. package/dist/src/semantics/charges.d.ts +28 -0
  47. package/dist/src/semantics/charges.js +201 -0
  48. package/dist/src/semantics/checkout.d.ts +15 -0
  49. package/dist/src/semantics/checkout.js +303 -0
  50. package/dist/src/semantics/connect.d.ts +5 -0
  51. package/dist/src/semantics/connect.js +476 -0
  52. package/dist/src/semantics/coupons.d.ts +6 -0
  53. package/dist/src/semantics/coupons.js +92 -0
  54. package/dist/src/semantics/credit-notes.d.ts +2 -0
  55. package/dist/src/semantics/credit-notes.js +172 -0
  56. package/dist/src/semantics/customers.d.ts +6 -0
  57. package/dist/src/semantics/customers.js +429 -0
  58. package/dist/src/semantics/disputes.d.ts +2 -0
  59. package/dist/src/semantics/disputes.js +51 -0
  60. package/dist/src/semantics/entitlements.d.ts +2 -0
  61. package/dist/src/semantics/entitlements.js +95 -0
  62. package/dist/src/semantics/ephemeral-keys.d.ts +2 -0
  63. package/dist/src/semantics/ephemeral-keys.js +34 -0
  64. package/dist/src/semantics/files.d.ts +2 -0
  65. package/dist/src/semantics/files.js +125 -0
  66. package/dist/src/semantics/invoices.d.ts +18 -0
  67. package/dist/src/semantics/invoices.js +541 -0
  68. package/dist/src/semantics/issuing.d.ts +13 -0
  69. package/dist/src/semantics/issuing.js +570 -0
  70. package/dist/src/semantics/ledger.d.ts +54 -0
  71. package/dist/src/semantics/ledger.js +181 -0
  72. package/dist/src/semantics/payment-intents.d.ts +18 -0
  73. package/dist/src/semantics/payment-intents.js +404 -0
  74. package/dist/src/semantics/payment-links.d.ts +2 -0
  75. package/dist/src/semantics/payment-links.js +133 -0
  76. package/dist/src/semantics/payment-methods.d.ts +20 -0
  77. package/dist/src/semantics/payment-methods.js +138 -0
  78. package/dist/src/semantics/plans.d.ts +5 -0
  79. package/dist/src/semantics/plans.js +121 -0
  80. package/dist/src/semantics/platform.d.ts +9 -0
  81. package/dist/src/semantics/platform.js +206 -0
  82. package/dist/src/semantics/products.d.ts +2 -0
  83. package/dist/src/semantics/products.js +140 -0
  84. package/dist/src/semantics/radar.d.ts +2 -0
  85. package/dist/src/semantics/radar.js +83 -0
  86. package/dist/src/semantics/refunds.d.ts +9 -0
  87. package/dist/src/semantics/refunds.js +195 -0
  88. package/dist/src/semantics/renewals.d.ts +47 -0
  89. package/dist/src/semantics/renewals.js +251 -0
  90. package/dist/src/semantics/setup-intents.d.ts +2 -0
  91. package/dist/src/semantics/setup-intents.js +84 -0
  92. package/dist/src/semantics/shared.d.ts +78 -0
  93. package/dist/src/semantics/shared.js +192 -0
  94. package/dist/src/semantics/subscription-schedules.d.ts +2 -0
  95. package/dist/src/semantics/subscription-schedules.js +119 -0
  96. package/dist/src/semantics/subscriptions.d.ts +11 -0
  97. package/dist/src/semantics/subscriptions.js +605 -0
  98. package/dist/src/semantics/tax.d.ts +2 -0
  99. package/dist/src/semantics/tax.js +197 -0
  100. package/dist/src/semantics/terminal.d.ts +5 -0
  101. package/dist/src/semantics/terminal.js +182 -0
  102. package/dist/src/semantics/test-clocks.d.ts +6 -0
  103. package/dist/src/semantics/test-clocks.js +73 -0
  104. package/dist/src/semantics/tokens.d.ts +4 -0
  105. package/dist/src/semantics/tokens.js +44 -0
  106. package/dist/src/semantics/transfers.d.ts +2 -0
  107. package/dist/src/semantics/transfers.js +154 -0
  108. package/dist/src/semantics/treasury.d.ts +2 -0
  109. package/dist/src/semantics/treasury.js +377 -0
  110. package/dist/src/semantics/webhook-endpoints.d.ts +3 -0
  111. package/dist/src/semantics/webhook-endpoints.js +85 -0
  112. package/dist/src/stripe-budget.d.ts +55 -0
  113. package/dist/src/stripe-budget.js +155 -0
  114. package/dist/src/stripe-capabilities.d.ts +3 -0
  115. package/dist/src/stripe-capabilities.js +5052 -0
  116. package/dist/src/stripe-conformance.d.ts +41 -0
  117. package/dist/src/stripe-conformance.js +96 -0
  118. package/dist/src/stripe-connector.d.ts +161 -0
  119. package/dist/src/stripe-connector.js +414 -0
  120. package/dist/src/stripe-emit.d.ts +2 -0
  121. package/dist/src/stripe-emit.js +145 -0
  122. package/dist/src/stripe-events.d.ts +93 -0
  123. package/dist/src/stripe-events.js +388 -0
  124. package/dist/src/stripe-js.d.ts +4 -0
  125. package/dist/src/stripe-js.js +70 -0
  126. package/dist/src/stripe-mirror-ui.d.ts +15 -0
  127. package/dist/src/stripe-mirror-ui.js +87 -0
  128. package/dist/src/stripe-params.d.ts +3 -0
  129. package/dist/src/stripe-params.js +43 -0
  130. package/dist/src/stripe-perform-harness.d.ts +9 -0
  131. package/dist/src/stripe-perform-harness.js +26 -0
  132. package/dist/src/stripe-server.d.ts +33 -0
  133. package/dist/src/stripe-server.js +326 -0
  134. package/dist/src/stripe-shared.d.ts +106 -0
  135. package/dist/src/stripe-shared.js +273 -0
  136. package/dist/src/stripe-twin.d.ts +155 -0
  137. package/dist/src/stripe-twin.js +1226 -0
  138. package/dist/src/stripe-ui-conformance.d.ts +5 -0
  139. package/dist/src/stripe-ui-conformance.js +79 -0
  140. package/dist/src/stripe-ui-structure.d.ts +3 -0
  141. package/dist/src/stripe-ui-structure.js +168 -0
  142. package/dist/src/stripe-version.d.ts +10 -0
  143. package/dist/src/stripe-version.js +285 -0
  144. package/dist/test-fixtures/stripe-known-deviations.json +105 -0
  145. package/dist/test-fixtures/stripe-openapi-operations.SOURCE.md +14 -0
  146. package/dist/test-fixtures/stripe-openapi-operations.json +4717 -0
  147. package/dist/test-fixtures/stripe-schemas.SOURCE.md +35 -0
  148. package/dist/test-fixtures/stripe-schemas.json +3740 -0
  149. package/package.json +18 -10
  150. package/src/cli.ts +7 -7
  151. package/src/generated/events.gen.json +1 -0
  152. package/src/generated/surface.gen.json +1 -0
  153. package/src/generated/ui.gen.json +1 -0
  154. package/src/index.ts +31 -9
  155. package/src/manifest.ts +1097 -0
  156. package/src/screens/checkout.tsx +252 -0
  157. package/src/screens/consent-skin.ts +20 -0
  158. package/src/screens/financial-connections.tsx +101 -0
  159. package/src/screens/identity.tsx +96 -0
  160. package/src/screens/industries.ts +267 -0
  161. package/src/screens/onboarding.tsx +243 -0
  162. package/src/screens/portal.tsx +218 -0
  163. package/src/screens/public-details.tsx +105 -0
  164. package/src/semantics/after-payment.ts +113 -0
  165. package/src/semantics/apps-secrets.ts +58 -0
  166. package/src/semantics/balance.ts +209 -0
  167. package/src/semantics/billing.ts +216 -0
  168. package/src/semantics/charges.ts +211 -0
  169. package/src/semantics/checkout.ts +297 -0
  170. package/src/semantics/connect.ts +471 -0
  171. package/src/semantics/coupons.ts +97 -0
  172. package/src/semantics/credit-notes.ts +168 -0
  173. package/src/semantics/customers.ts +432 -0
  174. package/src/semantics/disputes.ts +62 -0
  175. package/src/semantics/entitlements.ts +94 -0
  176. package/src/semantics/ephemeral-keys.ts +34 -0
  177. package/src/semantics/files.ts +143 -0
  178. package/src/semantics/invoices.ts +541 -0
  179. package/src/semantics/issuing.ts +585 -0
  180. package/src/semantics/ledger.ts +216 -0
  181. package/src/semantics/payment-intents.ts +420 -0
  182. package/src/semantics/payment-links.ts +148 -0
  183. package/src/semantics/payment-methods.ts +143 -0
  184. package/src/semantics/plans.ts +131 -0
  185. package/src/semantics/platform.ts +220 -0
  186. package/src/semantics/products.ts +154 -0
  187. package/src/semantics/radar.ts +85 -0
  188. package/src/semantics/refunds.ts +218 -0
  189. package/src/semantics/renewals.ts +274 -0
  190. package/src/semantics/setup-intents.ts +87 -0
  191. package/src/semantics/shared.ts +215 -0
  192. package/src/semantics/subscription-schedules.ts +129 -0
  193. package/src/semantics/subscriptions.ts +610 -0
  194. package/src/semantics/tax.ts +220 -0
  195. package/src/semantics/terminal.ts +195 -0
  196. package/src/semantics/test-clocks.ts +77 -0
  197. package/src/semantics/tokens.ts +52 -0
  198. package/src/semantics/transfers.ts +174 -0
  199. package/src/semantics/treasury.ts +383 -0
  200. package/src/semantics/webhook-endpoints.ts +87 -0
  201. package/src/stripe-budget.ts +4 -4
  202. package/src/stripe-capabilities.ts +1456 -222
  203. package/src/stripe-conformance.ts +6 -5
  204. package/src/stripe-connector.ts +68 -40
  205. package/src/stripe-emit.ts +14 -7
  206. package/src/stripe-events.ts +94 -36
  207. package/src/stripe-js.ts +70 -0
  208. package/src/stripe-mirror-ui.ts +28 -298
  209. package/src/stripe-params.ts +44 -0
  210. package/src/stripe-perform-harness.ts +29 -0
  211. package/src/stripe-server.ts +263 -38
  212. package/src/stripe-shared.ts +294 -0
  213. package/src/stripe-twin.ts +429 -5325
  214. package/src/stripe-ui-conformance.ts +70 -107
  215. package/src/stripe-ui-structure.ts +124 -348
  216. package/src/stripe-version.ts +278 -0
  217. package/test-fixtures/stripe-known-deviations.json +2 -7
  218. package/test-fixtures/stripe-openapi-operations.json +1188 -2855
  219. package/src/stripe-form.ts +0 -35
@@ -0,0 +1,236 @@
1
+ var KO=Object.create;var{getPrototypeOf:RO,defineProperty:oW,getOwnPropertyNames:OO}=Object;var _O=Object.prototype.hasOwnProperty;function LO(B){return this[B]}var FO,NO,z6=(B,q,R)=>{var K=B!=null&&typeof B==="object";if(K){var F=q?FO??=new WeakMap:NO??=new WeakMap,O=F.get(B);if(O)return O}R=B!=null?KO(RO(B)):{};let A=q||!B||!B.__esModule?oW(R,"default",{value:B,enumerable:!0}):R;for(let L of OO(B))if(!_O.call(A,L))oW(A,L,{get:LO.bind(B,L),enumerable:!0});if(K)F.set(B,A);return A};var o8=(B,q)=>()=>(q||B((q={exports:{}}).exports,q),q.exports);var mZ=o8((wO,UG)=>{(function(){function B(M,S){Object.defineProperty(K.prototype,M,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",S[0],S[1])}})}function q(M){if(M===null||typeof M!=="object")return null;return M=cZ&&M[cZ]||M["@@iterator"],typeof M==="function"?M:null}function R(M,S){M=(M=M.constructor)&&(M.displayName||M.name)||"ReactClass";var E=M+"."+S;s[E]||(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.",S,M),s[E]=!0)}function K(M,S,E){this.props=M,this.context=S,this.refs=R7,this.updater=E||e8}function F(){}function O(M,S,E){this.props=M,this.context=S,this.refs=R7,this.updater=E||e8}function A(){}function L(M){return""+M}function V(M){try{L(M);var S=!1}catch(a){S=!0}if(S){S=console;var E=S.error,u=typeof Symbol==="function"&&Symbol.toStringTag&&M[Symbol.toStringTag]||M.constructor.name||"Object";return E.call(S,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),L(M)}}function x(M){if(M==null)return null;if(typeof M==="function")return M.$$typeof===QX?null:M.displayName||M.name||null;if(typeof M==="string")return M;switch(M){case j2:return"Fragment";case Y2:return"Profiler";case j:return"StrictMode";case B6:return"Suspense";case z4:return"SuspenseList";case d6:return"Activity"}if(typeof M==="object")switch(typeof M.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),M.$$typeof){case f2:return"Portal";case x2:return M.displayName||"Context";case V2:return(M._context.displayName||"Context")+".Consumer";case h2:var S=M.render;return M=M.displayName,M||(M=S.displayName||S.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case q5:return S=M.displayName||null,S!==null?S:x(M.type)||"Memo";case y5:S=M._payload,M=M._init;try{return x(M(S))}catch(E){}}return null}function f(M){if(M===j2)return"<>";if(typeof M==="object"&&M!==null&&M.$$typeof===y5)return"<...>";try{var S=x(M);return S?"<"+S+">":"<...>"}catch(E){return"<...>"}}function C(){var M=B2.A;return M===null?null:M.getOwner()}function k(){return Error("react-stack-top-frame")}function h(M){if(X9.call(M,"key")){var S=Object.getOwnPropertyDescriptor(M,"key").get;if(S&&S.isReactWarning)return!1}return M.key!==void 0}function k2(M,S){function E(){sZ||(sZ=!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)",S))}E.isReactWarning=!0,Object.defineProperty(M,"key",{get:E,configurable:!0})}function a2(){var M=x(this.type);return J8[M]||(J8[M]=!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.")),M=this.props.ref,M!==void 0?M:null}function i2(M,S,E,u,a,z2){var J2=E.ref;return M={$$typeof:t,type:M,key:S,props:E,_owner:u},(J2!==void 0?J2:null)!==null?Object.defineProperty(M,"ref",{enumerable:!1,get:a2}):Object.defineProperty(M,"ref",{enumerable:!1,value:null}),M._store={},Object.defineProperty(M._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(M,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(M,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.defineProperty(M,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:z2}),Object.freeze&&(Object.freeze(M.props),Object.freeze(M)),M}function W5(M,S){return S=i2(M.type,S,M.props,M._owner,M._debugStack,M._debugTask),M._store&&(S._store.validated=M._store.validated),S}function M5(M){f4(M)?M._store&&(M._store.validated=1):typeof M==="object"&&M!==null&&M.$$typeof===y5&&(M._payload.status==="fulfilled"?f4(M._payload.value)&&M._payload.value._store&&(M._payload.value._store.validated=1):M._store&&(M._store.validated=1))}function f4(M){return typeof M==="object"&&M!==null&&M.$$typeof===t}function Q6(M){var S={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(E){return S[E]})}function U6(M,S){return typeof M==="object"&&M!==null&&M.key!=null?(V(M.key),Q6(""+M.key)):S.toString(36)}function u6(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status==="string"?M.then(A,A):(M.status="pending",M.then(function(S){M.status==="pending"&&(M.status="fulfilled",M.value=S)},function(S){M.status==="pending"&&(M.status="rejected",M.reason=S)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function N4(M,S,E,u,a){var z2=typeof M;if(z2==="undefined"||z2==="boolean")M=null;var J2=!1;if(M===null)J2=!0;else switch(z2){case"bigint":case"string":case"number":J2=!0;break;case"object":switch(M.$$typeof){case t:case f2:J2=!0;break;case y5:return J2=M._init,N4(J2(M._payload),S,E,u,a)}}if(J2){J2=M,a=a(J2);var P2=u===""?"."+U6(J2,0):u;return m2(a)?(E="",P2!=null&&(E=P2.replace(G9,"$&/")+"/"),N4(a,S,E,"",function(m4){return m4})):a!=null&&(f4(a)&&(a.key!=null&&(J2&&J2.key===a.key||V(a.key)),E=W5(a,E+(a.key==null||J2&&J2.key===a.key?"":(""+a.key).replace(G9,"$&/")+"/")+P2),u!==""&&J2!=null&&f4(J2)&&J2.key==null&&J2._store&&!J2._store.validated&&(E._store.validated=2),a=E),S.push(a)),1}if(J2=0,P2=u===""?".":u+":",m2(M))for(var o=0;o<M.length;o++)u=M[o],z2=P2+U6(u,o),J2+=N4(u,S,E,z2,a);else if(o=q(M),typeof o==="function")for(o===M.entries&&(Z9||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Z9=!0),M=o.call(M),o=0;!(u=M.next()).done;)u=u.value,z2=P2+U6(u,o++),J2+=N4(u,S,E,z2,a);else if(z2==="object"){if(typeof M.then==="function")return N4(u6(M),S,E,u,a);throw S=String(M),Error("Objects are not valid as a React child (found: "+(S==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":S)+"). If you meant to render a collection of children, use an array instead.")}return J2}function w2(M,S,E){if(M==null)return M;var u=[],a=0;return N4(M,u,"","",function(z2){return S.call(E,z2,a++)}),u}function b5(M){if(M._status===-1){var S=M._ioInfo;S!=null&&(S.start=S.end=performance.now()),S=M._result;var E=S();if(E.then(function(a){if(M._status===0||M._status===-1){M._status=1,M._result=a;var z2=M._ioInfo;z2!=null&&(z2.end=performance.now()),E.status===void 0&&(E.status="fulfilled",E.value=a)}},function(a){if(M._status===0||M._status===-1){M._status=2,M._result=a;var z2=M._ioInfo;z2!=null&&(z2.end=performance.now()),E.status===void 0&&(E.status="rejected",E.reason=a)}}),S=M._ioInfo,S!=null){S.value=E;var u=E.displayName;typeof u==="string"&&(S.name=u)}M._status===-1&&(M._status=0,M._result=E)}if(M._status===1)return S=M._result,S===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?`,S),"default"in S||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'))`,S),S.default;throw M._result}function p(){var M=B2.H;return M===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.`),M}function M4(){B2.asyncTransitions--}function v2(M){if(U8===null)try{var S=("require"+Math.random()).slice(0,7);U8=(UG&&UG[S]).call(UG,"timers").setImmediate}catch(E){U8=function(u){aZ===!1&&(aZ=!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 a=new MessageChannel;a.port1.onmessage=u,a.port2.postMessage(void 0)}}return U8(M)}function F2(M){return 1<M.length&&typeof AggregateError==="function"?AggregateError(M):M[0]}function j4(M,S){S!==B8-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. "),B8=S}function l(M,S,E){var u=B2.actQueue;if(u!==null)if(u.length!==0)try{X2(u),v2(function(){return l(M,S,E)});return}catch(a){B2.thrownErrors.push(a)}else B2.actQueue=null;0<B2.thrownErrors.length?(u=F2(B2.thrownErrors),B2.thrownErrors.length=0,E(u)):S(M)}function X2(M){if(!W8){W8=!0;var S=0;try{for(;S<M.length;S++){var E=M[S];do{B2.didUsePromise=!1;var u=E(!1);if(u!==null){if(B2.didUsePromise){M[S]=E,M.splice(0,S);return}E=u}else break}while(1)}M.length=0}catch(a){M.splice(0,S+1),B2.thrownErrors.push(a)}finally{W8=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=Symbol.for("react.transitional.element"),f2=Symbol.for("react.portal"),j2=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),Y2=Symbol.for("react.profiler"),V2=Symbol.for("react.consumer"),x2=Symbol.for("react.context"),h2=Symbol.for("react.forward_ref"),B6=Symbol.for("react.suspense"),z4=Symbol.for("react.suspense_list"),q5=Symbol.for("react.memo"),y5=Symbol.for("react.lazy"),d6=Symbol.for("react.activity"),cZ=Symbol.iterator,s={},e8={isMounted:function(){return!1},enqueueForceUpdate:function(M){R(M,"forceUpdate")},enqueueReplaceState:function(M){R(M,"replaceState")},enqueueSetState:function(M){R(M,"setState")}},z8=Object.assign,R7={};Object.freeze(R7),K.prototype.isReactComponent={},K.prototype.setState=function(M,S){if(typeof M!=="object"&&typeof M!=="function"&&M!=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,M,S,"setState")},K.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};var C4={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(_7 in C4)C4.hasOwnProperty(_7)&&B(_7,C4[_7]);F.prototype=K.prototype,C4=O.prototype=new F,C4.constructor=O,z8(C4,K.prototype),C4.isPureReactComponent=!0;var m2=Array.isArray,QX=Symbol.for("react.client.reference"),B2={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},X9=Object.prototype.hasOwnProperty,p2=console.createTask?console.createTask:function(){return null};C4={react_stack_bottom_frame:function(M){return M()}};var sZ,H6,J8={},Q8=C4.react_stack_bottom_frame.bind(C4,k)(),RG=p2(f(k)),Z9=!1,G9=/\/+/g,O7=typeof reportError==="function"?reportError:function(M){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var S=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M==="object"&&M!==null&&typeof M.message==="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(S))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",M);return}console.error(M)},aZ=!1,U8=null,B8=0,H8=!1,W8=!1,UX=typeof queueMicrotask==="function"?function(M){queueMicrotask(function(){return queueMicrotask(M)})}:v2;C4=Object.freeze({__proto__:null,c:function(M){return p().useMemoCache(M)}});var _7={map:w2,forEach:function(M,S,E){w2(M,function(){S.apply(this,arguments)},E)},count:function(M){var S=0;return w2(M,function(){S++}),S},toArray:function(M){return w2(M,function(S){return S})||[]},only:function(M){if(!f4(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};wO.Activity=d6,wO.Children=_7,wO.Component=K,wO.Fragment=j2,wO.Profiler=Y2,wO.PureComponent=O,wO.StrictMode=j,wO.Suspense=B6,wO.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B2,wO.__COMPILER_RUNTIME=C4,wO.act=function(M){var S=B2.actQueue,E=B8;B8++;var u=B2.actQueue=S!==null?S:[],a=!1;try{var z2=M()}catch(o){B2.thrownErrors.push(o)}if(0<B2.thrownErrors.length)throw j4(S,E),M=F2(B2.thrownErrors),B2.thrownErrors.length=0,M;if(z2!==null&&typeof z2==="object"&&typeof z2.then==="function"){var J2=z2;return UX(function(){a||H8||(H8=!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(o,m4){a=!0,J2.then(function(K5){if(j4(S,E),E===0){try{X2(u),v2(function(){return l(K5,o,m4)})}catch(BX){B2.thrownErrors.push(BX)}if(0<B2.thrownErrors.length){var L7=F2(B2.thrownErrors);B2.thrownErrors.length=0,m4(L7)}}else o(K5)},function(K5){j4(S,E),0<B2.thrownErrors.length?(K5=F2(B2.thrownErrors),B2.thrownErrors.length=0,m4(K5)):m4(K5)})}}}var P2=z2;if(j4(S,E),E===0&&(X2(u),u.length!==0&&UX(function(){a||H8||(H8=!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(() => ...)"))}),B2.actQueue=null),0<B2.thrownErrors.length)throw M=F2(B2.thrownErrors),B2.thrownErrors.length=0,M;return{then:function(o,m4){a=!0,E===0?(B2.actQueue=u,v2(function(){return l(P2,o,m4)})):o(P2)}}},wO.cache=function(M){return function(){return M.apply(null,arguments)}},wO.cacheSignal=function(){return null},wO.captureOwnerStack=function(){var M=B2.getCurrentStack;return M===null?null:M()},wO.cloneElement=function(M,S,E){if(M===null||M===void 0)throw Error("The argument must be a React element, but you passed "+M+".");var u=z8({},M.props),a=M.key,z2=M._owner;if(S!=null){var J2;X:{if(X9.call(S,"ref")&&(J2=Object.getOwnPropertyDescriptor(S,"ref").get)&&J2.isReactWarning){J2=!1;break X}J2=S.ref!==void 0}J2&&(z2=C()),h(S)&&(V(S.key),a=""+S.key);for(P2 in S)!X9.call(S,P2)||P2==="key"||P2==="__self"||P2==="__source"||P2==="ref"&&S.ref===void 0||(u[P2]=S[P2])}var P2=arguments.length-2;if(P2===1)u.children=E;else if(1<P2){J2=Array(P2);for(var o=0;o<P2;o++)J2[o]=arguments[o+2];u.children=J2}u=i2(M.type,a,u,z2,M._debugStack,M._debugTask);for(a=2;a<arguments.length;a++)M5(arguments[a]);return u},wO.createContext=function(M){return M={$$typeof:x2,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:V2,_context:M},M._currentRenderer=null,M._currentRenderer2=null,M},wO.createElement=function(M,S,E){for(var u=2;u<arguments.length;u++)M5(arguments[u]);u={};var a=null;if(S!=null)for(o in H6||!("__self"in S)||"key"in S||(H6=!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")),h(S)&&(V(S.key),a=""+S.key),S)X9.call(S,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(u[o]=S[o]);var z2=arguments.length-2;if(z2===1)u.children=E;else if(1<z2){for(var J2=Array(z2),P2=0;P2<z2;P2++)J2[P2]=arguments[P2+2];Object.freeze&&Object.freeze(J2),u.children=J2}if(M&&M.defaultProps)for(o in z2=M.defaultProps,z2)u[o]===void 0&&(u[o]=z2[o]);a&&k2(u,typeof M==="function"?M.displayName||M.name||"Unknown":M);var o=1e4>B2.recentlyCreatedOwnerStacks++;return i2(M,a,u,C(),o?Error("react-stack-top-frame"):Q8,o?p2(f(M)):RG)},wO.createRef=function(){var M={current:null};return Object.seal(M),M},wO.forwardRef=function(M){M!=null&&M.$$typeof===q5?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof M!=="function"?console.error("forwardRef requires a render function but was given %s.",M===null?"null":typeof M):M.length!==0&&M.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",M.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),M!=null&&M.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var S={$$typeof:h2,render:M},E;return Object.defineProperty(S,"displayName",{enumerable:!1,configurable:!0,get:function(){return E},set:function(u){E=u,M.name||M.displayName||(Object.defineProperty(M,"name",{value:u}),M.displayName=u)}}),S},wO.isValidElement=f4,wO.lazy=function(M){M={_status:-1,_result:M};var S={$$typeof:y5,_payload:M,_init:b5},E={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return M._ioInfo=E,S._debugInfo=[{awaited:E}],S},wO.memo=function(M,S){M==null&&console.error("memo: The first argument must be a component. Instead received: %s",M===null?"null":typeof M),S={$$typeof:q5,type:M,compare:S===void 0?null:S};var E;return Object.defineProperty(S,"displayName",{enumerable:!1,configurable:!0,get:function(){return E},set:function(u){E=u,M.name||M.displayName||(Object.defineProperty(M,"name",{value:u}),M.displayName=u)}}),S},wO.startTransition=function(M){var S=B2.T,E={};E._updatedFibers=new Set,B2.T=E;try{var u=M(),a=B2.S;a!==null&&a(E,u),typeof u==="object"&&u!==null&&typeof u.then==="function"&&(B2.asyncTransitions++,u.then(M4,M4),u.then(A,O7))}catch(z2){O7(z2)}finally{S===null&&E._updatedFibers&&(M=E._updatedFibers.size,E._updatedFibers.clear(),10<M&&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.")),S!==null&&E.types!==null&&(S.types!==null&&S.types!==E.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."),S.types=E.types),B2.T=S}},wO.unstable_useCacheRefresh=function(){return p().useCacheRefresh()},wO.use=function(M){return p().use(M)},wO.useActionState=function(M,S,E){return p().useActionState(M,S,E)},wO.useCallback=function(M,S){return p().useCallback(M,S)},wO.useContext=function(M){var S=p();return M.$$typeof===V2&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),S.useContext(M)},wO.useDebugValue=function(M,S){return p().useDebugValue(M,S)},wO.useDeferredValue=function(M,S){return p().useDeferredValue(M,S)},wO.useEffect=function(M,S){return M==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useEffect(M,S)},wO.useEffectEvent=function(M){return p().useEffectEvent(M)},wO.useId=function(){return p().useId()},wO.useImperativeHandle=function(M,S,E){return p().useImperativeHandle(M,S,E)},wO.useInsertionEffect=function(M,S){return M==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useInsertionEffect(M,S)},wO.useLayoutEffect=function(M,S){return M==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useLayoutEffect(M,S)},wO.useMemo=function(M,S){return p().useMemo(M,S)},wO.useOptimistic=function(M,S){return p().useOptimistic(M,S)},wO.useReducer=function(M,S,E){return p().useReducer(M,S,E)},wO.useRef=function(M){return p().useRef(M)},wO.useState=function(M){return p().useState(M)},wO.useSyncExternalStore=function(M,S,E){return p().useSyncExternalStore(M,S,E)},wO.useTransition=function(){return p().useTransition()},wO.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var rW=o8((AO)=>{(function(){function B(){if(Q6=!1,w2){var l=AO.unstable_now();M4=l;var X2=!0;try{X:{M5=!1,f4&&(f4=!1,u6(b5),b5=-1),W5=!0;var t=i2;try{Z:{O(l);for(a2=R(k);a2!==null&&!(a2.expirationTime>l&&L());){var f2=a2.callback;if(typeof f2==="function"){a2.callback=null,i2=a2.priorityLevel;var j2=f2(a2.expirationTime<=l);if(l=AO.unstable_now(),typeof j2==="function"){a2.callback=j2,O(l),X2=!0;break Z}a2===R(k)&&K(k),O(l)}else K(k);a2=R(k)}if(a2!==null)X2=!0;else{var j=R(h);j!==null&&V(A,j.startTime-l),X2=!1}}break X}finally{a2=null,i2=t,W5=!1}X2=void 0}}finally{X2?v2():w2=!1}}}function q(l,X2){var t=l.length;l.push(X2);X:for(;0<t;){var f2=t-1>>>1,j2=l[f2];if(0<F(j2,X2))l[f2]=X2,l[t]=j2,t=f2;else break X}}function R(l){return l.length===0?null:l[0]}function K(l){if(l.length===0)return null;var X2=l[0],t=l.pop();if(t!==X2){l[0]=t;X:for(var f2=0,j2=l.length,j=j2>>>1;f2<j;){var Y2=2*(f2+1)-1,V2=l[Y2],x2=Y2+1,h2=l[x2];if(0>F(V2,t))x2<j2&&0>F(h2,V2)?(l[f2]=h2,l[x2]=t,f2=x2):(l[f2]=V2,l[Y2]=t,f2=Y2);else if(x2<j2&&0>F(h2,t))l[f2]=h2,l[x2]=t,f2=x2;else break X}}return X2}function F(l,X2){var t=l.sortIndex-X2.sortIndex;return t!==0?t:l.id-X2.id}function O(l){for(var X2=R(h);X2!==null;){if(X2.callback===null)K(h);else if(X2.startTime<=l)K(h),X2.sortIndex=X2.expirationTime,q(k,X2);else break;X2=R(h)}}function A(l){if(f4=!1,O(l),!M5)if(R(k)!==null)M5=!0,w2||(w2=!0,v2());else{var X2=R(h);X2!==null&&V(A,X2.startTime-l)}}function L(){return Q6?!0:AO.unstable_now()-M4<p?!1:!0}function V(l,X2){b5=U6(function(){l(AO.unstable_now())},X2)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),AO.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var x=performance;AO.unstable_now=function(){return x.now()}}else{var f=Date,C=f.now();AO.unstable_now=function(){return f.now()-C}}var k=[],h=[],k2=1,a2=null,i2=3,W5=!1,M5=!1,f4=!1,Q6=!1,U6=typeof setTimeout==="function"?setTimeout:null,u6=typeof clearTimeout==="function"?clearTimeout:null,N4=typeof setImmediate<"u"?setImmediate:null,w2=!1,b5=-1,p=5,M4=-1;if(typeof N4==="function")var v2=function(){N4(B)};else if(typeof MessageChannel<"u"){var F2=new MessageChannel,j4=F2.port2;F2.port1.onmessage=B,v2=function(){j4.postMessage(null)}}else v2=function(){U6(B,0)};AO.unstable_IdlePriority=5,AO.unstable_ImmediatePriority=1,AO.unstable_LowPriority=4,AO.unstable_NormalPriority=3,AO.unstable_Profiling=null,AO.unstable_UserBlockingPriority=2,AO.unstable_cancelCallback=function(l){l.callback=null},AO.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):p=0<l?Math.floor(1000/l):5},AO.unstable_getCurrentPriorityLevel=function(){return i2},AO.unstable_next=function(l){switch(i2){case 1:case 2:case 3:var X2=3;break;default:X2=i2}var t=i2;i2=X2;try{return l()}finally{i2=t}},AO.unstable_requestPaint=function(){Q6=!0},AO.unstable_runWithPriority=function(l,X2){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var t=i2;i2=l;try{return X2()}finally{i2=t}},AO.unstable_scheduleCallback=function(l,X2,t){var f2=AO.unstable_now();switch(typeof t==="object"&&t!==null?(t=t.delay,t=typeof t==="number"&&0<t?f2+t:f2):t=f2,l){case 1:var j2=-1;break;case 2:j2=250;break;case 5:j2=1073741823;break;case 4:j2=1e4;break;default:j2=5000}return j2=t+j2,l={id:k2++,callback:X2,priorityLevel:l,startTime:t,expirationTime:j2,sortIndex:-1},t>f2?(l.sortIndex=t,q(h,l),R(k)===null&&l===R(h)&&(f4?(u6(b5),b5=-1):f4=!0,V(A,t-f2))):(l.sortIndex=j2,q(k,l),M5||W5||(M5=!0,w2||(w2=!0,v2()))),l},AO.unstable_shouldYield=L,AO.unstable_wrapCallback=function(l){var X2=i2;return function(){var t=i2;i2=X2;try{return l.apply(this,arguments)}finally{i2=t}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var tW=o8((TO)=>{var nY=z6(mZ());(function(){function B(){}function q(f){return""+f}function R(f,C,k){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{q(h);var k2=!1}catch(a2){k2=!0}return k2&&(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&&h[Symbol.toStringTag]||h.constructor.name||"Object"),q(h)),{$$typeof:V,key:h==null?null:""+h,children:f,containerInfo:C,implementation:k}}function K(f,C){if(f==="font")return"";if(typeof C==="string")return C==="use-credentials"?C:""}function F(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":'something with type "'+typeof f+'"'}function O(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":typeof f==="string"?JSON.stringify(f):typeof f==="number"?"`"+f+"`":'something with type "'+typeof f+'"'}function A(){var f=x.H;return f===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:
14
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
15
+ 2. You might be breaking the Rules of Hooks
16
+ 3. You might have more than one copy of React in the same app
17
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),f}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:B,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:B,C:B,L:B,m:B,X:B,S:B,M:B},p:0,findDOMNode:null},V=Symbol.for("react.portal"),x=nY.__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"),TO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,TO.createPortal=function(f,C){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error("Target container is not a DOM element.");return R(f,C,null,k)},TO.flushSync=function(f){var C=x.T,k=L.p;try{if(x.T=null,L.p=2,f)return f()}finally{x.T=C,L.p=k,L.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.")}},TO.preconnect=function(f,C){typeof f==="string"&&f?C!=null&&typeof C!=="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.",O(C)):C!=null&&typeof C.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(C.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",F(f)),typeof f==="string"&&(C?(C=C.crossOrigin,C=typeof C==="string"?C==="use-credentials"?C:"":void 0):C=null,L.d.C(f,C))},TO.prefetchDNS=function(f){if(typeof f!=="string"||!f)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",F(f));else if(1<arguments.length){var C=arguments[1];typeof C==="object"&&C.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`.",O(C)):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`.",O(C))}typeof f==="string"&&L.d.D(f)},TO.preinit=function(f,C){if(typeof f==="string"&&f?C==null||typeof C!=="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.",O(C)):C.as!=="style"&&C.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".',O(C.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",F(f)),typeof f==="string"&&C&&typeof C.as==="string"){var k=C.as,h=K(k,C.crossOrigin),k2=typeof C.integrity==="string"?C.integrity:void 0,a2=typeof C.fetchPriority==="string"?C.fetchPriority:void 0;k==="style"?L.d.S(f,typeof C.precedence==="string"?C.precedence:void 0,{crossOrigin:h,integrity:k2,fetchPriority:a2}):k==="script"&&L.d.X(f,{crossOrigin:h,integrity:k2,fetchPriority:a2,nonce:typeof C.nonce==="string"?C.nonce:void 0})}},TO.preinitModule=function(f,C){var k="";if(typeof f==="string"&&f||(k+=" The `href` argument encountered was "+F(f)+"."),C!==void 0&&typeof C!=="object"?k+=" The `options` argument encountered was "+F(C)+".":C&&("as"in C)&&C.as!=="script"&&(k+=" The `as` option encountered was "+O(C.as)+"."),k)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",k);else switch(k=C&&typeof C.as==="string"?C.as:"script",k){case"script":break;default:k=O(k),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)',k,f)}if(typeof f==="string")if(typeof C==="object"&&C!==null){if(C.as==null||C.as==="script")k=K(C.as,C.crossOrigin),L.d.M(f,{crossOrigin:k,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0})}else C==null&&L.d.M(f)},TO.preload=function(f,C){var k="";if(typeof f==="string"&&f||(k+=" The `href` argument encountered was "+F(f)+"."),C==null||typeof C!=="object"?k+=" The `options` argument encountered was "+F(C)+".":typeof C.as==="string"&&C.as||(k+=" The `as` option encountered was "+F(C.as)+"."),k&&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',k),typeof f==="string"&&typeof C==="object"&&C!==null&&typeof C.as==="string"){k=C.as;var h=K(k,C.crossOrigin);L.d.L(f,k,{crossOrigin:h,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0,type:typeof C.type==="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority==="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy==="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet==="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes==="string"?C.imageSizes:void 0,media:typeof C.media==="string"?C.media:void 0})}},TO.preloadModule=function(f,C){var k="";typeof f==="string"&&f||(k+=" The `href` argument encountered was "+F(f)+"."),C!==void 0&&typeof C!=="object"?k+=" The `options` argument encountered was "+F(C)+".":C&&("as"in C)&&typeof C.as!=="string"&&(k+=" The `as` option encountered was "+F(C.as)+"."),k&&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',k),typeof f==="string"&&(C?(k=K(C.as,C.crossOrigin),L.d.m(f,{as:typeof C.as==="string"&&C.as!=="script"?C.as:void 0,crossOrigin:k,integrity:typeof C.integrity==="string"?C.integrity:void 0})):L.d.m(f))},TO.requestFormReset=function(f){L.d.r(f)},TO.unstable_batchedUpdates=function(f,C){return f(C)},TO.useFormState=function(f,C,k){return A().useFormState(f,C,k)},TO.useFormStatus=function(){return A().useHostTransitionStatus()},TO.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var XM=o8((iL,eW)=>{var IO=z6(tW());eW.exports=IO});var ZM=o8((PO)=>{var C2=z6(rW()),YX=z6(mZ()),oY=z6(XM());(function(){function B(X,Z){for(X=X.memoizedState;X!==null&&0<Z;)X=X.next,Z--;return X}function q(X,Z,G,$){if(G>=Z.length)return $;var Y=Z[G],z=w4(X)?X.slice():R2({},X);return z[Y]=q(X[Y],Z,G+1,$),z}function R(X,Z,G){if(Z.length!==G.length)console.warn("copyWithRename() expects paths of the same length");else{for(var $=0;$<G.length-1;$++)if(Z[$]!==G[$]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return K(X,Z,G,0)}}function K(X,Z,G,$){var Y=Z[$],z=w4(X)?X.slice():R2({},X);return $+1===Z.length?(z[G[$]]=z[Y],w4(z)?z.splice(Y,1):delete z[Y]):z[Y]=K(X[Y],Z,G,$+1),z}function F(X,Z,G){var $=Z[G],Y=w4(X)?X.slice():R2({},X);if(G+1===Z.length)return w4(Y)?Y.splice($,1):delete Y[$],Y;return Y[$]=F(X[$],Z,G+1),Y}function O(){return!1}function A(){return null}function L(){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 x(){}function f(){}function C(X){var Z=[];return X.forEach(function(G){Z.push(G)}),Z.sort().join(", ")}function k(X,Z,G,$){return new $q(X,Z,G,$)}function h(X,Z){X.context===E7&&(R$(X.current,2,Z,X,null,null),R9())}function k2(X,Z){if(E5!==null){var G=Z.staleFamilies;Z=Z.updatedFamilies,VX(),GJ(X.current,Z,G),R9()}}function a2(X){E5=X}function i2(X){return!(!X||X.nodeType!==1&&X.nodeType!==9&&X.nodeType!==11)}function W5(X){var Z=X,G=X;if(X.alternate)for(;Z.return;)Z=Z.return;else{X=Z;do Z=X,(Z.flags&4098)!==0&&(G=Z.return),X=Z.return;while(X)}return Z.tag===3?G:null}function M5(X){if(X.tag===13){var Z=X.memoizedState;if(Z===null&&(X=X.alternate,X!==null&&(Z=X.memoizedState)),Z!==null)return Z.dehydrated}return null}function f4(X){if(X.tag===31){var Z=X.memoizedState;if(Z===null&&(X=X.alternate,X!==null&&(Z=X.memoizedState)),Z!==null)return Z.dehydrated}return null}function Q6(X){if(W5(X)!==X)throw Error("Unable to find node on an unmounted component.")}function U6(X){var Z=X.alternate;if(!Z){if(Z=W5(X),Z===null)throw Error("Unable to find node on an unmounted component.");return Z!==X?null:X}for(var G=X,$=Z;;){var Y=G.return;if(Y===null)break;var z=Y.alternate;if(z===null){if($=Y.return,$!==null){G=$;continue}break}if(Y.child===z.child){for(z=Y.child;z;){if(z===G)return Q6(Y),X;if(z===$)return Q6(Y),Z;z=z.sibling}throw Error("Unable to find node on an unmounted component.")}if(G.return!==$.return)G=Y,$=z;else{for(var J=!1,U=Y.child;U;){if(U===G){J=!0,G=Y,$=z;break}if(U===$){J=!0,$=Y,G=z;break}U=U.sibling}if(!J){for(U=z.child;U;){if(U===G){J=!0,G=z,$=Y;break}if(U===$){J=!0,$=z,G=Y;break}U=U.sibling}if(!J)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(G.alternate!==$)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(G.tag!==3)throw Error("Unable to find node on an unmounted component.");return G.stateNode.current===G?X:Z}function u6(X){var Z=X.tag;if(Z===5||Z===26||Z===27||Z===6)return X;for(X=X.child;X!==null;){if(Z=u6(X),Z!==null)return Z;X=X.sibling}return null}function N4(X){if(X===null||typeof X!=="object")return null;return X=BB&&X[BB]||X["@@iterator"],typeof X==="function"?X:null}function w2(X){if(X==null)return null;if(typeof X==="function")return X.$$typeof===IK?null:X.displayName||X.name||null;if(typeof X==="string")return X;switch(X){case A9:return"Fragment";case w$:return"Profiler";case G1:return"StrictMode";case T$:return"Suspense";case I$:return"SuspenseList";case P$: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 w9:return"Portal";case v6:return X.displayName||"Context";case A$:return(X._context.displayName||"Context")+".Consumer";case cX:var Z=X.render;return X=X.displayName,X||(X=Z.displayName||Z.name||"",X=X!==""?"ForwardRef("+X+")":"ForwardRef"),X;case $1:return Z=X.displayName||null,Z!==null?Z:w2(X.type)||"Memo";case T5:Z=X._payload,X=X._init;try{return w2(X(Z))}catch(G){}}return null}function b5(X){return typeof X.tag==="number"?p(X):typeof X.name==="string"?X.name:null}function p(X){var Z=X.type;switch(X.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(Z._context.displayName||"Context")+".Consumer";case 10:return Z.displayName||"Context";case 18:return"DehydratedFragment";case 11:return X=Z.render,X=X.displayName||X.name||"",Z.displayName||(X!==""?"ForwardRef("+X+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return Z;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return w2(Z);case 8:return Z===G1?"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 Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;break;case 29:if(Z=X._debugInfo,Z!=null){for(var G=Z.length-1;0<=G;G--)if(typeof Z[G].name==="string")return Z[G].name}if(X.return!==null)return p(X.return)}return null}function M4(X){return{current:X}}function v2(X,Z){0>t6?console.error("Unexpected pop."):(Z!==S$[t6]&&console.error("Unexpected Fiber popped."),X.current=C$[t6],C$[t6]=null,S$[t6]=null,t6--)}function F2(X,Z,G){t6++,C$[t6]=X.current,S$[t6]=G,X.current=Z}function j4(X){return X===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),X}function l(X,Z){F2(y7,Z,X),F2(sX,X,X),F2(b7,null,X);var G=Z.nodeType;switch(G){case 9:case 11:G=G===9?"#document":"#fragment",Z=(Z=Z.documentElement)?(Z=Z.namespaceURI)?fU(Z):M7:M7;break;default:if(G=Z.tagName,Z=Z.namespaceURI)Z=fU(Z),Z=jU(Z,G);else switch(G){case"svg":Z=GX;break;case"math":Z=ZG;break;default:Z=M7}}G=G.toLowerCase(),G=Sz(null,G),G={context:Z,ancestorInfo:G},v2(b7,X),F2(b7,G,X)}function X2(X){v2(b7,X),v2(sX,X),v2(y7,X)}function t(){return j4(b7.current)}function f2(X){X.memoizedState!==null&&F2(Y1,X,X);var Z=j4(b7.current),G=X.type,$=jU(Z.context,G);G=Sz(Z.ancestorInfo,G),$={context:$,ancestorInfo:G},Z!==$&&(F2(sX,X,X),F2(b7,$,X))}function j2(X){sX.current===X&&(v2(b7,X),v2(sX,X)),Y1.current===X&&(v2(Y1,X),DZ._currentValue=n8)}function j(){}function Y2(){if(aX===0){HB=console.log,WB=console.info,MB=console.warn,qB=console.error,KB=console.group,RB=console.groupCollapsed,OB=console.groupEnd;var X={configurable:!0,enumerable:!0,value:j,writable:!0};Object.defineProperties(console,{info:X,log:X,warn:X,error:X,group:X,groupCollapsed:X,groupEnd:X})}aX++}function V2(){if(aX--,aX===0){var X={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R2({},X,{value:HB}),info:R2({},X,{value:WB}),warn:R2({},X,{value:MB}),error:R2({},X,{value:qB}),group:R2({},X,{value:KB}),groupCollapsed:R2({},X,{value:RB}),groupEnd:R2({},X,{value:OB})})}0>aX&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function x2(X){var Z=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,X=X.stack,Error.prepareStackTrace=Z,X.startsWith(`Error: react-stack-top-frame
18
+ `)&&(X=X.slice(29)),Z=X.indexOf(`
19
+ `),Z!==-1&&(X=X.slice(Z+1)),Z=X.indexOf("react_stack_bottom_frame"),Z!==-1&&(Z=X.lastIndexOf(`
20
+ `,Z)),Z!==-1)X=X.slice(0,Z);else return"";return X}function h2(X){if(v$===void 0)try{throw Error()}catch(G){var Z=G.stack.trim().match(/\n( *(at )?)/);v$=Z&&Z[1]||"",_B=-1<G.stack.indexOf(`
21
+ at`)?" (<anonymous>)":-1<G.stack.indexOf("@")?"@unknown:0:0":""}return`
22
+ `+v$+X+_B}function B6(X,Z){if(!X||k$)return"";var G=g$.get(X);if(G!==void 0)return G;k$=!0,G=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var $=null;$=b.H,b.H=null,Y2();try{var Y={DetermineComponentFrameRoot:function(){try{if(Z){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(m){var v=m}Reflect.construct(X,[],N)}else{try{N.call()}catch(m){v=m}X.call(N.prototype)}}else{try{throw Error()}catch(m){v=m}(N=X())&&typeof N.catch==="function"&&N.catch(function(){})}}catch(m){if(m&&v&&typeof m.stack==="string")return[m.stack,v.stack]}return[null,null]}};Y.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var z=Object.getOwnPropertyDescriptor(Y.DetermineComponentFrameRoot,"name");z&&z.configurable&&Object.defineProperty(Y.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var J=Y.DetermineComponentFrameRoot(),U=J[0],H=J[1];if(U&&H){var W=U.split(`
23
+ `),I=H.split(`
24
+ `);for(J=z=0;z<W.length&&!W[z].includes("DetermineComponentFrameRoot");)z++;for(;J<I.length&&!I[J].includes("DetermineComponentFrameRoot");)J++;if(z===W.length||J===I.length)for(z=W.length-1,J=I.length-1;1<=z&&0<=J&&W[z]!==I[J];)J--;for(;1<=z&&0<=J;z--,J--)if(W[z]!==I[J]){if(z!==1||J!==1)do if(z--,J--,0>J||W[z]!==I[J]){var P=`
25
+ `+W[z].replace(" at new "," at ");return X.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",X.displayName)),typeof X==="function"&&g$.set(X,P),P}while(1<=z&&0<=J);break}}}finally{k$=!1,b.H=$,V2(),Error.prepareStackTrace=G}return W=(W=X?X.displayName||X.name:"")?h2(W):"",typeof X==="function"&&g$.set(X,W),W}function z4(X,Z){switch(X.tag){case 26:case 27:case 5:return h2(X.type);case 16:return h2("Lazy");case 13:return X.child!==Z&&Z!==null?h2("Suspense Fallback"):h2("Suspense");case 19:return h2("SuspenseList");case 0:case 15:return B6(X.type,!1);case 11:return B6(X.type.render,!1);case 1:return B6(X.type,!0);case 31:return h2("Activity");default:return""}}function q5(X){try{var Z="",G=null;do{Z+=z4(X,G);var $=X._debugInfo;if($)for(var Y=$.length-1;0<=Y;Y--){var z=$[Y];if(typeof z.name==="string"){var J=Z;X:{var{name:U,env:H,debugLocation:W}=z;if(W!=null){var I=x2(W),P=I.lastIndexOf(`
26
+ `),N=P===-1?I:I.slice(P+1);if(N.indexOf(U)!==-1){var v=`
27
+ `+N;break X}}v=h2(U+(H?" ["+H+"]":""))}Z=J+v}}G=X,X=X.return}while(X);return Z}catch(m){return`
28
+ Error generating stack: `+m.message+`
29
+ `+m.stack}}function y5(X){return(X=X?X.displayName||X.name:"")?h2(X):""}function d6(){if(I5===null)return null;var X=I5._debugOwner;return X!=null?b5(X):null}function cZ(){if(I5===null)return"";var X=I5;try{var Z="";switch(X.tag===6&&(X=X.return),X.tag){case 26:case 27:case 5:Z+=h2(X.type);break;case 13:Z+=h2("Suspense");break;case 19:Z+=h2("SuspenseList");break;case 31:Z+=h2("Activity");break;case 30:case 0:case 15:case 1:X._debugOwner||Z!==""||(Z+=y5(X.type));break;case 11:X._debugOwner||Z!==""||(Z+=y5(X.type.render))}for(;X;)if(typeof X.tag==="number"){var G=X;X=G._debugOwner;var $=G._debugStack;if(X&&$){var Y=x2($);Y!==""&&(Z+=`
30
+ `+Y)}}else if(X.debugStack!=null){var z=X.debugStack;(X=X.owner)&&z&&(Z+=`
31
+ `+x2(z))}else break;var J=Z}catch(U){J=`
32
+ Error generating stack: `+U.message+`
33
+ `+U.stack}return J}function s(X,Z,G,$,Y,z,J){var U=I5;e8(X);try{return X!==null&&X._debugTask?X._debugTask.run(Z.bind(null,G,$,Y,z,J)):Z(G,$,Y,z,J)}finally{e8(U)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function e8(X){b.getCurrentStack=X===null?null:cZ,k6=!1,I5=X}function z8(X){return typeof Symbol==="function"&&Symbol.toStringTag&&X[Symbol.toStringTag]||X.constructor.name||"Object"}function R7(X){try{return C4(X),!1}catch(Z){return!0}}function C4(X){return""+X}function m2(X,Z){if(R7(X))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",Z,z8(X)),C4(X)}function QX(X,Z){if(R7(X))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.",Z,z8(X)),C4(X)}function B2(X){if(R7(X))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.",z8(X)),C4(X)}function X9(X){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Z=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Z.isDisabled)return!0;if(!Z.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{I9=Z.inject(X),d4=Z}catch(G){console.error("React instrumentation encountered an error: %o.",G)}return Z.checkDCE?!0:!1}function p2(X){if(typeof bK==="function"&&yK(X),d4&&typeof d4.setStrictMode==="function")try{d4.setStrictMode(I9,X)}catch(Z){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",Z))}}function sZ(X){return X>>>=0,X===0?32:31-(fK(X)/jK|0)|0}function H6(X){var Z=X&42;if(Z!==0)return Z;switch(X&-X){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 X&261888;case 262144:case 524288:case 1048576:case 2097152:return X&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return X&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."),X}}function J8(X,Z,G){var $=X.pendingLanes;if($===0)return 0;var Y=0,z=X.suspendedLanes,J=X.pingedLanes;X=X.warmLanes;var U=$&134217727;return U!==0?($=U&~z,$!==0?Y=H6($):(J&=U,J!==0?Y=H6(J):G||(G=U&~X,G!==0&&(Y=H6(G))))):(U=$&~z,U!==0?Y=H6(U):J!==0?Y=H6(J):G||(G=$&~X,G!==0&&(Y=H6(G)))),Y===0?0:Z!==0&&Z!==Y&&(Z&z)===0&&(z=Y&-Y,G=Z&-Z,z>=G||z===32&&(G&4194048)!==0)?Z:Y}function Q8(X,Z){return(X.pendingLanes&~(X.suspendedLanes&~X.pingedLanes)&Z)===0}function RG(X,Z){switch(X){case 1:case 2:case 4:case 8:case 64:return Z+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 Z+5000;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 Z9(){var X=Q1;return Q1<<=1,(Q1&62914560)===0&&(Q1=4194304),X}function G9(X){for(var Z=[],G=0;31>G;G++)Z.push(X);return Z}function O7(X,Z){X.pendingLanes|=Z,Z!==268435456&&(X.suspendedLanes=0,X.pingedLanes=0,X.warmLanes=0)}function aZ(X,Z,G,$,Y,z){var J=X.pendingLanes;X.pendingLanes=G,X.suspendedLanes=0,X.pingedLanes=0,X.warmLanes=0,X.expiredLanes&=G,X.entangledLanes&=G,X.errorRecoveryDisabledLanes&=G,X.shellSuspendCounter=0;var{entanglements:U,expirationTimes:H,hiddenUpdates:W}=X;for(G=J&~G;0<G;){var I=31-a4(G),P=1<<I;U[I]=0,H[I]=-1;var N=W[I];if(N!==null)for(W[I]=null,I=0;I<N.length;I++){var v=N[I];v!==null&&(v.lane&=-536870913)}G&=~P}$!==0&&U8(X,$,0),z!==0&&Y===0&&X.tag!==0&&(X.suspendedLanes|=z&~(J&~Z))}function U8(X,Z,G){X.pendingLanes|=Z,X.suspendedLanes&=~Z;var $=31-a4(Z);X.entangledLanes|=Z,X.entanglements[$]=X.entanglements[$]|1073741824|G&261930}function B8(X,Z){var G=X.entangledLanes|=Z;for(X=X.entanglements;G;){var $=31-a4(G),Y=1<<$;Y&Z|X[$]&Z&&(X[$]|=Z),G&=~Y}}function H8(X,Z){var G=Z&-Z;return G=(G&42)!==0?1:W8(G),(G&(X.suspendedLanes|Z))!==0?0:G}function W8(X){switch(X){case 2:X=1;break;case 8:X=4;break;case 32:X=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:X=128;break;case 268435456:X=134217728;break;default:X=0}return X}function UX(X,Z,G){if(b6)for(X=X.pendingUpdatersLaneMap;0<G;){var $=31-a4(G),Y=1<<$;X[$].add(Z),G&=~Y}}function _7(X,Z){if(b6)for(var{pendingUpdatersLaneMap:G,memoizedUpdaters:$}=X;0<Z;){var Y=31-a4(Z);X=1<<Y,Y=G[Y],0<Y.size&&(Y.forEach(function(z){var J=z.alternate;J!==null&&$.has(J)||$.add(z)}),Y.clear()),Z&=~X}}function M(X){return X&=-X,P5!==0&&P5<X?t5!==0&&t5<X?(X&134217727)!==0?y6:U1:t5:P5}function S(){var X=b2.p;if(X!==0)return X;return X=window.event,X===void 0?y6:GB(X.type)}function E(X,Z){var G=b2.p;try{return b2.p=X,Z()}finally{b2.p=G}}function u(X){delete X[E4],delete X[i4],delete X[V$],delete X[VK],delete X[xK]}function a(X){var Z=X[E4];if(Z)return Z;for(var G=X.parentNode;G;){if(Z=G[j7]||G[E4]){if(G=Z.alternate,Z.child!==null||G!==null&&G.child!==null)for(X=dU(X);X!==null;){if(G=X[E4])return G;X=dU(X)}return Z}X=G,G=X.parentNode}return null}function z2(X){if(X=X[E4]||X[j7]){var Z=X.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return X}return null}function J2(X){var Z=X.tag;if(Z===5||Z===26||Z===27||Z===6)return X.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function P2(X){var Z=X[LB];return Z||(Z=X[LB]={hoistableStyles:new Map,hoistableScripts:new Map}),Z}function o(X){X[iX]=!0}function m4(X,Z){K5(X,Z),K5(X+"Capture",Z)}function K5(X,Z){S8[X]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",X),S8[X]=Z;var G=X.toLowerCase();x$[G]=X,X==="onDoubleClick"&&(x$.ondblclick=X);for(X=0;X<Z.length;X++)FB.add(Z[X])}function L7(X,Z){DK[Z.type]||Z.onChange||Z.onInput||Z.readOnly||Z.disabled||Z.value==null||(X==="select"?console.error("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`."):console.error("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`.")),Z.onChange||Z.readOnly||Z.disabled||Z.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 BX(X){if(r5.call(wB,X))return!0;if(r5.call(NB,X))return!1;if(EK.test(X))return wB[X]=!0;return NB[X]=!0,console.error("Invalid attribute name: `%s`",X),!1}function Mz(X,Z,G){if(BX(Z)){if(!X.hasAttribute(Z)){switch(typeof G){case"symbol":case"object":return G;case"function":return G;case"boolean":if(G===!1)return G}return G===void 0?void 0:null}if(X=X.getAttribute(Z),X===""&&G===!0)return!0;return m2(G,Z),X===""+G?G:X}}function iZ(X,Z,G){if(BX(Z))if(G===null)X.removeAttribute(Z);else{switch(typeof G){case"undefined":case"function":case"symbol":X.removeAttribute(Z);return;case"boolean":var $=Z.toLowerCase().slice(0,5);if($!=="data-"&&$!=="aria-"){X.removeAttribute(Z);return}}m2(G,Z),X.setAttribute(Z,""+G)}}function nZ(X,Z,G){if(G===null)X.removeAttribute(Z);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":X.removeAttribute(Z);return}m2(G,Z),X.setAttribute(Z,""+G)}}function l6(X,Z,G,$){if($===null)X.removeAttribute(G);else{switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":X.removeAttribute(G);return}m2($,G),X.setAttributeNS(Z,G,""+$)}}function f5(X){switch(typeof X){case"bigint":case"boolean":case"number":case"string":case"undefined":return X;case"object":return B2(X),X;default:return""}}function qz(X){var Z=X.type;return(X=X.nodeName)&&X.toLowerCase()==="input"&&(Z==="checkbox"||Z==="radio")}function jM(X,Z,G){var $=Object.getOwnPropertyDescriptor(X.constructor.prototype,Z);if(!X.hasOwnProperty(Z)&&typeof $<"u"&&typeof $.get==="function"&&typeof $.set==="function"){var{get:Y,set:z}=$;return Object.defineProperty(X,Z,{configurable:!0,get:function(){return Y.call(this)},set:function(J){B2(J),G=""+J,z.call(this,J)}}),Object.defineProperty(X,Z,{enumerable:$.enumerable}),{getValue:function(){return G},setValue:function(J){B2(J),G=""+J},stopTracking:function(){X._valueTracker=null,delete X[Z]}}}}function OG(X){if(!X._valueTracker){var Z=qz(X)?"checked":"value";X._valueTracker=jM(X,Z,""+X[Z])}}function Kz(X){if(!X)return!1;var Z=X._valueTracker;if(!Z)return!0;var G=Z.getValue(),$="";return X&&($=qz(X)?X.checked?"true":"false":X.value),X=$,X!==G?(Z.setValue(X),!0):!1}function oZ(X){if(X=X||(typeof document<"u"?document:void 0),typeof X>"u")return null;try{return X.activeElement||X.body}catch(Z){return X.body}}function j5(X){return X.replace(hK,function(Z){return"\\"+Z.charCodeAt(0).toString(16)+" "})}function Rz(X,Z){Z.checked===void 0||Z.defaultChecked===void 0||TB||(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",d6()||"A component",Z.type),TB=!0),Z.value===void 0||Z.defaultValue===void 0||AB||(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",d6()||"A component",Z.type),AB=!0)}function _G(X,Z,G,$,Y,z,J,U){if(X.name="",J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"?(m2(J,"type"),X.type=J):X.removeAttribute("type"),Z!=null)if(J==="number"){if(Z===0&&X.value===""||X.value!=Z)X.value=""+f5(Z)}else X.value!==""+f5(Z)&&(X.value=""+f5(Z));else J!=="submit"&&J!=="reset"||X.removeAttribute("value");Z!=null?LG(X,J,f5(Z)):G!=null?LG(X,J,f5(G)):$!=null&&X.removeAttribute("value"),Y==null&&z!=null&&(X.defaultChecked=!!z),Y!=null&&(X.checked=Y&&typeof Y!=="function"&&typeof Y!=="symbol"),U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"?(m2(U,"name"),X.name=""+f5(U)):X.removeAttribute("name")}function Oz(X,Z,G,$,Y,z,J,U){if(z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"&&(m2(z,"type"),X.type=z),Z!=null||G!=null){if(!(z!=="submit"&&z!=="reset"||Z!==void 0&&Z!==null)){OG(X);return}G=G!=null?""+f5(G):"",Z=Z!=null?""+f5(Z):G,U||Z===X.value||(X.value=Z),X.defaultValue=Z}$=$!=null?$:Y,$=typeof $!=="function"&&typeof $!=="symbol"&&!!$,X.checked=U?X.checked:!!$,X.defaultChecked=!!$,J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"&&(m2(J,"name"),X.name=J),OG(X)}function LG(X,Z,G){Z==="number"&&oZ(X.ownerDocument)===X||X.defaultValue===""+G||(X.defaultValue=""+G)}function _z(X,Z){Z.value==null&&(typeof Z.children==="object"&&Z.children!==null?YX.Children.forEach(Z.children,function(G){G==null||typeof G==="string"||typeof G==="number"||typeof G==="bigint"||PB||(PB=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):Z.dangerouslySetInnerHTML==null||CB||(CB=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Z.selected==null||IB||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),IB=!0)}function Lz(){var X=d6();return X?`
34
+
35
+ Check the render method of \``+X+"`.":""}function $9(X,Z,G,$){if(X=X.options,Z){Z={};for(var Y=0;Y<G.length;Y++)Z["$"+G[Y]]=!0;for(G=0;G<X.length;G++)Y=Z.hasOwnProperty("$"+X[G].value),X[G].selected!==Y&&(X[G].selected=Y),Y&&$&&(X[G].defaultSelected=!0)}else{G=""+f5(G),Z=null;for(Y=0;Y<X.length;Y++){if(X[Y].value===G){X[Y].selected=!0,$&&(X[Y].defaultSelected=!0);return}Z!==null||X[Y].disabled||(Z=X[Y])}Z!==null&&(Z.selected=!0)}}function Fz(X,Z){for(X=0;X<vB.length;X++){var G=vB[X];if(Z[G]!=null){var $=w4(Z[G]);Z.multiple&&!$?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",G,Lz()):!Z.multiple&&$&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",G,Lz())}}Z.value===void 0||Z.defaultValue===void 0||SB||(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"),SB=!0)}function Nz(X,Z){Z.value===void 0||Z.defaultValue===void 0||kB||(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",d6()||"A component"),kB=!0),Z.children!=null&&Z.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function wz(X,Z,G){if(Z!=null&&(Z=""+f5(Z),Z!==X.value&&(X.value=Z),G==null)){X.defaultValue!==Z&&(X.defaultValue=Z);return}X.defaultValue=G!=null?""+f5(G):""}function Az(X,Z,G,$){if(Z==null){if($!=null){if(G!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(w4($)){if(1<$.length)throw Error("<textarea> can only have at most one child.");$=$[0]}G=$}G==null&&(G=""),Z=G}G=f5(Z),X.defaultValue=G,$=X.textContent,$===G&&$!==""&&$!==null&&(X.value=$),OG(X)}function Tz(X,Z){return X.serverProps===void 0&&X.serverTail.length===0&&X.children.length===1&&3<X.distanceFromLeaf&&X.distanceFromLeaf>15-Z?Tz(X.children[0],Z):X}function R5(X){return" "+" ".repeat(X)}function Y9(X){return"+ "+" ".repeat(X)}function M8(X){return"- "+" ".repeat(X)}function Iz(X){switch(X.tag){case 26:case 27:case 5:return X.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return X=X.type,X.displayName||X.name||null;case 11:return X=X.type.render,X.displayName||X.name||null;case 1:return X=X.type,X.displayName||X.name||null;default:return null}}function HX(X,Z){return gB.test(X)?(X=JSON.stringify(X),X.length>Z-2?8>Z?'{"..."}':"{"+X.slice(0,Z-7)+'..."}':"{"+X+"}"):X.length>Z?5>Z?'{"..."}':X.slice(0,Z-3)+"...":X}function rZ(X,Z,G){var $=120-2*G;if(Z===null)return Y9(G)+HX(X,$)+`
36
+ `;if(typeof Z==="string"){for(var Y=0;Y<Z.length&&Y<X.length&&Z.charCodeAt(Y)===X.charCodeAt(Y);Y++);return Y>$-8&&10<Y&&(X="..."+X.slice(Y-8),Z="..."+Z.slice(Y-8)),Y9(G)+HX(X,$)+`
37
+ `+M8(G)+HX(Z,$)+`
38
+ `}return R5(G)+HX(X,$)+`
39
+ `}function FG(X){return Object.prototype.toString.call(X).replace(/^\[object (.*)\]$/,function(Z,G){return G})}function WX(X,Z){switch(typeof X){case"string":return X=JSON.stringify(X),X.length>Z?5>Z?'"..."':X.slice(0,Z-4)+'..."':X;case"object":if(X===null)return"null";if(w4(X))return"[...]";if(X.$$typeof===S6)return(Z=w2(X.type))?"<"+Z+">":"<...>";var G=FG(X);if(G==="Object"){G="",Z-=2;for(var $ in X)if(X.hasOwnProperty($)){var Y=JSON.stringify($);if(Y!=='"'+$+'"'&&($=Y),Z-=$.length-2,Y=WX(X[$],15>Z?Z:15),Z-=Y.length,0>Z){G+=G===""?"...":", ...";break}G+=(G===""?"":",")+$+":"+Y}return"{"+G+"}"}return G;case"function":return(Z=X.displayName||X.name)?"function "+Z:"function";default:return String(X)}}function z9(X,Z){return typeof X!=="string"||gB.test(X)?"{"+WX(X,Z-2)+"}":X.length>Z-2?5>Z?'"..."':'"'+X.slice(0,Z-5)+'..."':'"'+X+'"'}function NG(X,Z,G){var $=120-G.length-X.length,Y=[],z;for(z in Z)if(Z.hasOwnProperty(z)&&z!=="children"){var J=z9(Z[z],120-G.length-z.length-1);$-=z.length+J.length+2,Y.push(z+"="+J)}return Y.length===0?G+"<"+X+`>
40
+ `:0<$?G+"<"+X+" "+Y.join(" ")+`>
41
+ `:G+"<"+X+`
42
+ `+G+" "+Y.join(`
43
+ `+G+" ")+`
44
+ `+G+`>
45
+ `}function VM(X,Z,G){var $="",Y=R2({},Z),z;for(z in X)if(X.hasOwnProperty(z)){delete Y[z];var J=120-2*G-z.length-2,U=WX(X[z],J);Z.hasOwnProperty(z)?(J=WX(Z[z],J),$+=Y9(G)+z+": "+U+`
46
+ `,$+=M8(G)+z+": "+J+`
47
+ `):$+=Y9(G)+z+": "+U+`
48
+ `}for(var H in Y)Y.hasOwnProperty(H)&&(X=WX(Y[H],120-2*G-H.length-2),$+=M8(G)+H+": "+X+`
49
+ `);return $}function xM(X,Z,G,$){var Y="",z=new Map;for(W in G)G.hasOwnProperty(W)&&z.set(W.toLowerCase(),W);if(z.size===1&&z.has("children"))Y+=NG(X,Z,R5($));else{for(var J in Z)if(Z.hasOwnProperty(J)&&J!=="children"){var U=120-2*($+1)-J.length-1,H=z.get(J.toLowerCase());if(H!==void 0){z.delete(J.toLowerCase());var W=Z[J];H=G[H];var I=z9(W,U);U=z9(H,U),typeof W==="object"&&W!==null&&typeof H==="object"&&H!==null&&FG(W)==="Object"&&FG(H)==="Object"&&(2<Object.keys(W).length||2<Object.keys(H).length||-1<I.indexOf("...")||-1<U.indexOf("..."))?Y+=R5($+1)+J+`={{
50
+ `+VM(W,H,$+2)+R5($+1)+`}}
51
+ `:(Y+=Y9($+1)+J+"="+I+`
52
+ `,Y+=M8($+1)+J+"="+U+`
53
+ `)}else Y+=R5($+1)+J+"="+z9(Z[J],U)+`
54
+ `}z.forEach(function(P){if(P!=="children"){var N=120-2*($+1)-P.length-1;Y+=M8($+1)+P+"="+z9(G[P],N)+`
55
+ `}}),Y=Y===""?R5($)+"<"+X+`>
56
+ `:R5($)+"<"+X+`
57
+ `+Y+R5($)+`>
58
+ `}if(X=G.children,Z=Z.children,typeof X==="string"||typeof X==="number"||typeof X==="bigint"){if(z="",typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")z=""+Z;Y+=rZ(z,""+X,$+1)}else if(typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")Y=X==null?Y+rZ(""+Z,null,$+1):Y+rZ(""+Z,void 0,$+1);return Y}function Pz(X,Z){var G=Iz(X);if(G===null){G="";for(X=X.child;X;)G+=Pz(X,Z),X=X.sibling;return G}return R5(Z)+"<"+G+`>
59
+ `}function wG(X,Z){var G=Tz(X,Z);if(G!==X&&(X.children.length!==1||X.children[0]!==G))return R5(Z)+`...
60
+ `+wG(G,Z+1);G="";var $=X.fiber._debugInfo;if($)for(var Y=0;Y<$.length;Y++){var z=$[Y].name;typeof z==="string"&&(G+=R5(Z)+"<"+z+`>
61
+ `,Z++)}if($="",Y=X.fiber.pendingProps,X.fiber.tag===6)$=rZ(Y,X.serverProps,Z),Z++;else if(z=Iz(X.fiber),z!==null)if(X.serverProps===void 0){$=Z;var J=120-2*$-z.length-2,U="";for(W in Y)if(Y.hasOwnProperty(W)&&W!=="children"){var H=z9(Y[W],15);if(J-=W.length+H.length+2,0>J){U+=" ...";break}U+=" "+W+"="+H}$=R5($)+"<"+z+U+`>
62
+ `,Z++}else X.serverProps===null?($=NG(z,Y,Y9(Z)),Z++):typeof X.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):($=xM(z,Y,X.serverProps,Z),Z++);var W="";Y=X.fiber.child;for(z=0;Y&&z<X.children.length;)J=X.children[z],J.fiber===Y?(W+=wG(J,Z),z++):W+=Pz(Y,Z),Y=Y.sibling;Y&&0<X.children.length&&(W+=R5(Z)+`...
63
+ `),Y=X.serverTail,X.serverProps===null&&Z--;for(X=0;X<Y.length;X++)z=Y[X],W=typeof z==="string"?W+(M8(Z)+HX(z,120-2*Z)+`
64
+ `):W+NG(z.type,z.props,M8(Z));return G+$+W}function AG(X){try{return`
65
+
66
+ `+wG(X,0)}catch(Z){return""}}function Cz(X,Z,G){for(var $=Z,Y=null,z=0;$;)$===X&&(z=0),Y={fiber:$,children:Y!==null?[Y]:[],serverProps:$===Z?G:$===X?null:void 0,serverTail:[],distanceFromLeaf:z},z++,$=$.return;return Y!==null?AG(Y).replaceAll(/^[+-]/gm,">"):""}function Sz(X,Z){var G=R2({},X||yB),$={tag:Z};if(bB.indexOf(Z)!==-1&&(G.aTagInScope=null,G.buttonTagInScope=null,G.nobrTagInScope=null),uK.indexOf(Z)!==-1&&(G.pTagInButtonScope=null),mK.indexOf(Z)!==-1&&Z!=="address"&&Z!=="div"&&Z!=="p"&&(G.listItemTagAutoclosing=null,G.dlItemTagAutoclosing=null),G.current=$,Z==="form"&&(G.formTag=$),Z==="a"&&(G.aTagInScope=$),Z==="button"&&(G.buttonTagInScope=$),Z==="nobr"&&(G.nobrTagInScope=$),Z==="p"&&(G.pTagInButtonScope=$),Z==="li"&&(G.listItemTagAutoclosing=$),Z==="dd"||Z==="dt")G.dlItemTagAutoclosing=$;return Z==="#document"||Z==="html"?G.containerTagInScope=null:G.containerTagInScope||(G.containerTagInScope=$),X!==null||Z!=="#document"&&Z!=="html"&&Z!=="body"?G.implicitRootScope===!0&&(G.implicitRootScope=!1):G.implicitRootScope=!0,G}function vz(X,Z,G){switch(Z){case"select":return X==="hr"||X==="option"||X==="optgroup"||X==="script"||X==="template"||X==="#text";case"optgroup":return X==="option"||X==="#text";case"option":return X==="#text";case"tr":return X==="th"||X==="td"||X==="style"||X==="script"||X==="template";case"tbody":case"thead":case"tfoot":return X==="tr"||X==="style"||X==="script"||X==="template";case"colgroup":return X==="col"||X==="template";case"table":return X==="caption"||X==="colgroup"||X==="tbody"||X==="tfoot"||X==="thead"||X==="style"||X==="script"||X==="template";case"head":return X==="base"||X==="basefont"||X==="bgsound"||X==="link"||X==="meta"||X==="title"||X==="noscript"||X==="noframes"||X==="style"||X==="script"||X==="template";case"html":if(G)break;return X==="head"||X==="body"||X==="frameset";case"frameset":return X==="frame";case"#document":if(!G)return X==="html"}switch(X){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Z!=="h1"&&Z!=="h2"&&Z!=="h3"&&Z!=="h4"&&Z!=="h5"&&Z!=="h6";case"rp":case"rt":return dK.indexOf(Z)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return Z==null;case"head":return G||Z===null;case"html":return G&&Z==="#document"||Z===null;case"body":return G&&(Z==="#document"||Z==="html")||Z===null}return!0}function DM(X,Z){switch(X){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 Z.pTagInButtonScope;case"form":return Z.formTag||Z.pTagInButtonScope;case"li":return Z.listItemTagAutoclosing;case"dd":case"dt":return Z.dlItemTagAutoclosing;case"button":return Z.buttonTagInScope;case"a":return Z.aTagInScope;case"nobr":return Z.nobrTagInScope}return null}function kz(X,Z){for(;X;){switch(X.tag){case 5:case 26:case 27:if(X.type===Z)return X}X=X.return}return null}function TG(X,Z){Z=Z||yB;var G=Z.current;if(Z=(G=vz(X,G&&G.tag,Z.implicitRootScope)?null:G)?null:DM(X,Z),Z=G||Z,!Z)return!0;var $=Z.tag;if(Z=String(!!G)+"|"+X+"|"+$,B1[Z])return!1;B1[Z]=!0;var Y=(Z=I5)?kz(Z.return,$):null,z=Z!==null&&Y!==null?Cz(Y,Z,null):"",J="<"+X+">";return G?(G="",$==="table"&&X==="tr"&&(G+=" 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
67
+ This will cause a hydration error.%s`,J,$,G,z)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
+ This will cause a hydration error.%s`,J,$,z),Z&&(X=Z.return,Y===null||X===null||Y===X&&X._debugOwner===Z._debugOwner||s(Y,function(){console.error(`<%s> cannot contain a nested %s.
69
+ See this log for the ancestor stack trace.`,$,J)})),!1}function tZ(X,Z,G){if(G||vz("#text",Z,!1))return!0;if(G="#text|"+Z,B1[G])return!1;B1[G]=!0;var $=(G=I5)?kz(G,Z):null;return G=G!==null&&$!==null?Cz($,G,G.tag!==6?{children:null}:null):"",/\S/.test(X)?console.error(`In HTML, text nodes cannot be a child of <%s>.
70
+ This will cause a hydration error.%s`,Z,G):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.
71
+ This will cause a hydration error.%s`,Z,G),!1}function MX(X,Z){if(Z){var G=X.firstChild;if(G&&G===X.lastChild&&G.nodeType===3){G.nodeValue=Z;return}}X.textContent=Z}function EM(X){return X.replace(cK,function(Z,G){return G.toUpperCase()})}function gz(X,Z,G){var $=Z.indexOf("--")===0;$||(-1<Z.indexOf("-")?P9.hasOwnProperty(Z)&&P9[Z]||(P9[Z]=!0,console.error("Unsupported style property %s. Did you mean %s?",Z,EM(Z.replace(pK,"ms-")))):lK.test(Z)?P9.hasOwnProperty(Z)&&P9[Z]||(P9[Z]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))):!VB.test(G)||E$.hasOwnProperty(G)&&E$[G]||(E$[G]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,G.replace(VB,""))),typeof G==="number"&&(isNaN(G)?xB||(xB=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",Z)):isFinite(G)||DB||(DB=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",Z)))),G==null||typeof G==="boolean"||G===""?$?X.setProperty(Z,""):Z==="float"?X.cssFloat="":X[Z]="":$?X.setProperty(Z,G):typeof G!=="number"||G===0||EB.has(Z)?Z==="float"?X.cssFloat=G:(QX(G,Z),X[Z]=(""+G).trim()):X[Z]=G+"px"}function bz(X,Z,G){if(Z!=null&&typeof Z!=="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(Z&&Object.freeze(Z),X=X.style,G!=null){if(Z){var $={};if(G){for(var Y in G)if(G.hasOwnProperty(Y)&&!Z.hasOwnProperty(Y))for(var z=D$[Y]||[Y],J=0;J<z.length;J++)$[z[J]]=Y}for(var U in Z)if(Z.hasOwnProperty(U)&&(!G||G[U]!==Z[U]))for(Y=D$[U]||[U],z=0;z<Y.length;z++)$[Y[z]]=U;U={};for(var H in Z)for(Y=D$[H]||[H],z=0;z<Y.length;z++)U[Y[z]]=H;H={};for(var W in $)if(Y=$[W],(z=U[W])&&Y!==z&&(J=Y+","+z,!H[J])){H[J]=!0,J=console;var I=Z[Y];J.error.call(J,"%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.",I==null||typeof I==="boolean"||I===""?"Removing":"Updating",Y,z)}}for(var P in G)!G.hasOwnProperty(P)||Z!=null&&Z.hasOwnProperty(P)||(P.indexOf("--")===0?X.setProperty(P,""):P==="float"?X.cssFloat="":X[P]="");for(var N in Z)W=Z[N],Z.hasOwnProperty(N)&&G[N]!==W&&gz(X,N,W)}else for($ in Z)Z.hasOwnProperty($)&&gz(X,$,Z[$])}function qX(X){if(X.indexOf("-")===-1)return!1;switch(X){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 yz(X){return sK.get(X)||X}function hM(X,Z){if(r5.call(S9,Z)&&S9[Z])return!0;if(iK.test(Z)){if(X="aria-"+Z.slice(4).toLowerCase(),X=hB.hasOwnProperty(X)?X:null,X==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Z),S9[Z]=!0;if(Z!==X)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",Z,X),S9[Z]=!0}if(aK.test(Z)){if(X=Z.toLowerCase(),X=hB.hasOwnProperty(X)?X:null,X==null)return S9[Z]=!0,!1;Z!==X&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",Z,X),S9[Z]=!0)}return!0}function mM(X,Z){var G=[],$;for($ in Z)hM(X,$)||G.push($);Z=G.map(function(Y){return"`"+Y+"`"}).join(", "),G.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,X):1<G.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,X)}function uM(X,Z,G,$){if(r5.call(n4,Z)&&n4[Z])return!0;var Y=Z.toLowerCase();if(Y==="onfocusin"||Y==="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."),n4[Z]=!0;if(typeof G==="function"&&(X==="form"&&Z==="action"||X==="input"&&Z==="formAction"||X==="button"&&Z==="formAction"))return!0;if($!=null){if(X=$.possibleRegistrationNames,$.registrationNameDependencies.hasOwnProperty(Z))return!0;if($=X.hasOwnProperty(Y)?X[Y]:null,$!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",Z,$),n4[Z]=!0;if(uB.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),n4[Z]=!0}else if(uB.test(Z))return nK.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),n4[Z]=!0;if(oK.test(Z)||rK.test(Z))return!0;if(Y==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),n4[Z]=!0;if(Y==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),n4[Z]=!0;if(Y==="is"&&G!==null&&G!==void 0&&typeof G!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof G),n4[Z]=!0;if(typeof G==="number"&&isNaN(G))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Z),n4[Z]=!0;if(W1.hasOwnProperty(Y)){if(Y=W1[Y],Y!==Z)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",Z,Y),n4[Z]=!0}else if(Z!==Y)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.",Z,Y),n4[Z]=!0;switch(Z){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 G){case"boolean":switch(Z){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:if(Y=Z.toLowerCase().slice(0,5),Y==="data-"||Y==="aria-")return!0;return G?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()}.',G,Z,Z,G,Z):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.',G,Z,Z,G,Z,Z,Z),n4[Z]=!0}case"function":case"symbol":return n4[Z]=!0,!1;case"string":if(G==="false"||G==="true"){switch(Z){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}?",G,Z,G==="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".',Z,G),n4[Z]=!0}}return!0}function dM(X,Z,G){var $=[],Y;for(Y in Z)uM(X,Y,Z[Y],G)||$.push(Y);Z=$.map(function(z){return"`"+z+"`"}).join(", "),$.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 ",Z,X):1<$.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 ",Z,X)}function KX(X){return tK.test(""+X)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":X}function p6(){}function IG(X){return X=X.target||X.srcElement||window,X.correspondingUseElement&&(X=X.correspondingUseElement),X.nodeType===3?X.parentNode:X}function fz(X){var Z=z2(X);if(Z&&(X=Z.stateNode)){var G=X[i4]||null;X:switch(X=Z.stateNode,Z.type){case"input":if(_G(X,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name),Z=G.name,G.type==="radio"&&Z!=null){for(G=X;G.parentNode;)G=G.parentNode;m2(Z,"name"),G=G.querySelectorAll('input[name="'+j5(""+Z)+'"][type="radio"]');for(Z=0;Z<G.length;Z++){var $=G[Z];if($!==X&&$.form===X.form){var Y=$[i4]||null;if(!Y)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");_G($,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name)}}for(Z=0;Z<G.length;Z++)$=G[Z],$.form===X.form&&Kz($)}break X;case"textarea":wz(X,G.value,G.defaultValue);break X;case"select":Z=G.value,Z!=null&&$9(X,!!G.multiple,Z,!1)}}}function jz(X,Z,G){if(h$)return X(Z,G);h$=!0;try{var $=X(Z);return $}finally{if(h$=!1,v9!==null||k9!==null){if(R9(),v9&&(Z=v9,X=k9,k9=v9=null,fz(Z),X))for(Z=0;Z<X.length;Z++)fz(X[Z])}}}function RX(X,Z){var G=X.stateNode;if(G===null)return null;var $=G[i4]||null;if($===null)return null;G=$[Z];X:switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":($=!$.disabled)||(X=X.type,$=!(X==="button"||X==="input"||X==="select"||X==="textarea")),X=!$;break X;default:X=!1}if(X)return null;if(G&&typeof G!=="function")throw Error("Expected `"+Z+"` listener to be a function, instead got a value of `"+typeof G+"` type.");return G}function Vz(){if(M1)return M1;var X,Z=u$,G=Z.length,$,Y="value"in V7?V7.value:V7.textContent,z=Y.length;for(X=0;X<G&&Z[X]===Y[X];X++);var J=G-X;for($=1;$<=J&&Z[G-$]===Y[z-$];$++);return M1=Y.slice(X,1<$?1-$:void 0)}function eZ(X){var Z=X.keyCode;return"charCode"in X?(X=X.charCode,X===0&&Z===13&&(X=13)):X=Z,X===10&&(X=13),32<=X||X===13?X:0}function X0(){return!0}function xz(){return!1}function Z5(X){function Z(G,$,Y,z,J){this._reactName=G,this._targetInst=Y,this.type=$,this.nativeEvent=z,this.target=J,this.currentTarget=null;for(var U in X)X.hasOwnProperty(U)&&(G=X[U],this[U]=G?G(z):z[U]);return this.isDefaultPrevented=(z.defaultPrevented!=null?z.defaultPrevented:z.returnValue===!1)?X0:xz,this.isPropagationStopped=xz,this}return R2(Z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var G=this.nativeEvent;G&&(G.preventDefault?G.preventDefault():typeof G.returnValue!=="unknown"&&(G.returnValue=!1),this.isDefaultPrevented=X0)},stopPropagation:function(){var G=this.nativeEvent;G&&(G.stopPropagation?G.stopPropagation():typeof G.cancelBubble!=="unknown"&&(G.cancelBubble=!0),this.isPropagationStopped=X0)},persist:function(){},isPersistent:X0}),Z}function lM(X){var Z=this.nativeEvent;return Z.getModifierState?Z.getModifierState(X):(X=WR[X])?!!Z[X]:!1}function PG(){return lM}function Dz(X,Z){switch(X){case"keyup":return TR.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==cB;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ez(X){return X=X.detail,typeof X==="object"&&"data"in X?X.data:null}function pM(X,Z){switch(X){case"compositionend":return Ez(Z);case"keypress":if(Z.which!==aB)return null;return nB=!0,iB;case"textInput":return X=Z.data,X===iB&&nB?null:X;default:return null}}function cM(X,Z){if(g9)return X==="compositionend"||!c$&&Dz(X,Z)?(X=Vz(),M1=u$=V7=null,g9=!1,X):null;switch(X){case"paste":return null;case"keypress":if(!(Z.ctrlKey||Z.altKey||Z.metaKey)||Z.ctrlKey&&Z.altKey){if(Z.char&&1<Z.char.length)return Z.char;if(Z.which)return String.fromCharCode(Z.which)}return null;case"compositionend":return sB&&Z.locale!=="ko"?null:Z.data;default:return null}}function hz(X){var Z=X&&X.nodeName&&X.nodeName.toLowerCase();return Z==="input"?!!PR[X.type]:Z==="textarea"?!0:!1}function sM(X){if(!f6)return!1;X="on"+X;var Z=X in document;return Z||(Z=document.createElement("div"),Z.setAttribute(X,"return;"),Z=typeof Z[X]==="function"),Z}function mz(X,Z,G,$){v9?k9?k9.push($):k9=[$]:v9=$,Z=s0(Z,"onChange"),0<Z.length&&(G=new q1("onChange","change",null,G,$),X.push({event:G,listeners:Z}))}function aM(X){AU(X,0)}function Z0(X){var Z=J2(X);if(Kz(Z))return X}function uz(X,Z){if(X==="change")return Z}function dz(){XZ&&(XZ.detachEvent("onpropertychange",lz),ZZ=XZ=null)}function lz(X){if(X.propertyName==="value"&&Z0(ZZ)){var Z=[];mz(Z,ZZ,X,IG(X)),jz(aM,Z)}}function iM(X,Z,G){X==="focusin"?(dz(),XZ=Z,ZZ=G,XZ.attachEvent("onpropertychange",lz)):X==="focusout"&&dz()}function nM(X){if(X==="selectionchange"||X==="keyup"||X==="keydown")return Z0(ZZ)}function oM(X,Z){if(X==="click")return Z0(Z)}function rM(X,Z){if(X==="input"||X==="change")return Z0(Z)}function tM(X,Z){return X===Z&&(X!==0||1/X===1/Z)||X!==X&&Z!==Z}function OX(X,Z){if(o4(X,Z))return!0;if(typeof X!=="object"||X===null||typeof Z!=="object"||Z===null)return!1;var G=Object.keys(X),$=Object.keys(Z);if(G.length!==$.length)return!1;for($=0;$<G.length;$++){var Y=G[$];if(!r5.call(Z,Y)||!o4(X[Y],Z[Y]))return!1}return!0}function pz(X){for(;X&&X.firstChild;)X=X.firstChild;return X}function cz(X,Z){var G=pz(X);X=0;for(var $;G;){if(G.nodeType===3){if($=X+G.textContent.length,X<=Z&&$>=Z)return{node:G,offset:Z-X};X=$}X:{for(;G;){if(G.nextSibling){G=G.nextSibling;break X}G=G.parentNode}G=void 0}G=pz(G)}}function sz(X,Z){return X&&Z?X===Z?!0:X&&X.nodeType===3?!1:Z&&Z.nodeType===3?sz(X,Z.parentNode):("contains"in X)?X.contains(Z):X.compareDocumentPosition?!!(X.compareDocumentPosition(Z)&16):!1:!1}function az(X){X=X!=null&&X.ownerDocument!=null&&X.ownerDocument.defaultView!=null?X.ownerDocument.defaultView:window;for(var Z=oZ(X.document);Z instanceof X.HTMLIFrameElement;){try{var G=typeof Z.contentWindow.location.href==="string"}catch($){G=!1}if(G)X=Z.contentWindow;else break;Z=oZ(X.document)}return Z}function CG(X){var Z=X&&X.nodeName&&X.nodeName.toLowerCase();return Z&&(Z==="input"&&(X.type==="text"||X.type==="search"||X.type==="tel"||X.type==="url"||X.type==="password")||Z==="textarea"||X.contentEditable==="true")}function iz(X,Z,G){var $=G.window===G?G.document:G.nodeType===9?G:G.ownerDocument;a$||b9==null||b9!==oZ($)||($=b9,("selectionStart"in $)&&CG($)?$={start:$.selectionStart,end:$.selectionEnd}:($=($.ownerDocument&&$.ownerDocument.defaultView||window).getSelection(),$={anchorNode:$.anchorNode,anchorOffset:$.anchorOffset,focusNode:$.focusNode,focusOffset:$.focusOffset}),GZ&&OX(GZ,$)||(GZ=$,$=s0(s$,"onSelect"),0<$.length&&(Z=new q1("onSelect","select",null,Z,G),X.push({event:Z,listeners:$}),Z.target=b9)))}function q8(X,Z){var G={};return G[X.toLowerCase()]=Z.toLowerCase(),G["Webkit"+X]="webkit"+Z,G["Moz"+X]="moz"+Z,G}function K8(X){if(i$[X])return i$[X];if(!y9[X])return X;var Z=y9[X],G;for(G in Z)if(Z.hasOwnProperty(G)&&G in rB)return i$[X]=Z[G];return X}function i5(X,Z){GH.set(X,Z),m4(Z,[X])}function eM(X){for(var Z=R1,G=0;G<X.length;G++){var $=X[G];if(typeof $==="object"&&$!==null)if(w4($)&&$.length===2&&typeof $[0]==="string"){if(Z!==R1&&Z!==e$)return r$;Z=e$}else return r$;else{if(typeof $==="function"||typeof $==="string"&&50<$.length||Z!==R1&&Z!==t$)return r$;Z=t$}}return Z}function SG(X,Z,G,$){for(var Y in X)r5.call(X,Y)&&Y[0]!=="_"&&W6(Y,X[Y],Z,G,$)}function W6(X,Z,G,$,Y){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===S6){var z=w2(Z.type)||"…",J=Z.key;Z=Z.props;var U=Object.keys(Z),H=U.length;if(J==null&&H===0){Z="<"+z+" />";break}if(3>$||H===1&&U[0]==="children"&&J==null){Z="<"+z+" … />";break}G.push([Y+"  ".repeat($)+X,"<"+z]),J!==null&&W6("key",J,G,$+1,Y),X=!1;for(var W in Z)W==="children"?Z.children!=null&&(!w4(Z.children)||0<Z.children.length)&&(X=!0):r5.call(Z,W)&&W[0]!=="_"&&W6(W,Z[W],G,$+1,Y);G.push(["",X?">…</"+z+">":"/>"]);return}if(z=Object.prototype.toString.call(Z),z=z.slice(8,z.length-1),z==="Array"){if(W=eM(Z),W===t$||W===R1){Z=JSON.stringify(Z);break}else if(W===e$){G.push([Y+"  ".repeat($)+X,""]);for(X=0;X<Z.length;X++)z=Z[X],W6(z[0],z[1],G,$+1,Y);return}}if(z==="Promise"){if(Z.status==="fulfilled"){if(z=G.length,W6(X,Z.value,G,$,Y),G.length>z){G=G[z],G[1]="Promise<"+(G[1]||"Object")+">";return}}else if(Z.status==="rejected"&&(z=G.length,W6(X,Z.reason,G,$,Y),G.length>z)){G=G[z],G[1]="Rejected Promise<"+G[1]+">";return}G.push(["  ".repeat($)+X,"Promise"]);return}z==="Object"&&(W=Object.getPrototypeOf(Z))&&typeof W.constructor==="function"&&(z=W.constructor.name),G.push([Y+"  ".repeat($)+X,z==="Object"?3>$?"":"…":z]),3>$&&SG(Z,G,$+1,Y);return}case"function":Z=Z.name===""?"() => {}":Z.name+"() {}";break;case"string":Z=Z===yR?"…":JSON.stringify(Z);break;case"undefined":Z="undefined";break;case"boolean":Z=Z?"true":"false";break;default:Z=String(Z)}G.push([Y+"  ".repeat($)+X,Z])}function nz(X,Z,G,$){var Y=!0;for(J in X)J in Z||(G.push([O1+"  ".repeat($)+J,"…"]),Y=!1);for(var z in Z)if(z in X){var J=X[z],U=Z[z];if(J!==U){if($===0&&z==="children")Y="  ".repeat($)+z,G.push([O1+Y,"…"],[_1+Y,"…"]);else{if(!(3<=$)){if(typeof J==="object"&&typeof U==="object"&&J!==null&&U!==null&&J.$$typeof===U.$$typeof)if(U.$$typeof===S6){if(J.type===U.type&&J.key===U.key){J=w2(U.type)||"…",Y="  ".repeat($)+z,J="<"+J+" … />",G.push([O1+Y,J],[_1+Y,J]),Y=!1;continue}}else{var H=Object.prototype.toString.call(J),W=Object.prototype.toString.call(U);if(H===W&&(W==="[object Object]"||W==="[object Array]")){H=[zH+"  ".repeat($)+z,W==="[object Array]"?"Array":""],G.push(H),W=G.length,nz(J,U,G,$+1)?W===G.length&&(H[1]="Referentially unequal but deeply equal objects. Consider memoization."):Y=!1;continue}}else if(typeof J==="function"&&typeof U==="function"&&J.name===U.name&&J.length===U.length&&(H=Function.prototype.toString.call(J),W=Function.prototype.toString.call(U),H===W)){J=U.name===""?"() => {}":U.name+"() {}",G.push([zH+"  ".repeat($)+z,J+" Referentially unequal function closure. Consider memoization."]);continue}}W6(z,J,G,$,O1),W6(z,U,G,$,_1)}Y=!1}}else G.push([_1+"  ".repeat($)+z,"…"]),Y=!1;return Y}function O5(X){L2=X&63?"Blocking":X&64?"Gesture":X&4194176?"Transition":X&62914560?"Suspense":X&2080374784?"Idle":"Other"}function M6(X,Z,G,$){n2&&(D7.start=Z,D7.end=G,e6.color="warning",e6.tooltipText=$,e6.properties=null,(X=X._debugTask)?X.run(performance.measure.bind(performance,$,D7)):performance.measure($,D7))}function G0(X,Z,G){M6(X,Z,G,"Reconnect")}function $0(X,Z,G,$,Y){var z=p(X);if(z!==null&&n2){var{alternate:J,actualDuration:U}=X;if(J===null||J.child!==X.child)for(var H=X.child;H!==null;H=H.sibling)U-=H.actualDuration;$=0.5>U?$?"tertiary-light":"primary-light":10>U?$?"tertiary":"primary":100>U?$?"tertiary-dark":"primary-dark":"error";var W=X.memoizedProps;U=X._debugTask,W!==null&&J!==null&&J.memoizedProps!==W?(H=[fR],W=nz(J.memoizedProps,W,H,0),1<H.length&&(W&&!x7&&(J.lanes&Y)===0&&100<X.actualDuration?(x7=!0,H[0]=jR,e6.color="warning",e6.tooltipText=JH):(e6.color=$,e6.tooltipText=z),e6.properties=H,D7.start=Z,D7.end=G,U!=null?U.run(performance.measure.bind(performance,"​"+z,D7)):performance.measure("​"+z,D7))):U!=null?U.run(console.timeStamp.bind(console,z,Z,G,x5,void 0,$)):console.timeStamp(z,Z,G,x5,void 0,$)}}function vG(X,Z,G,$){if(n2){var Y=p(X);if(Y!==null){for(var z=null,J=[],U=0;U<$.length;U++){var H=$[U];z==null&&H.source!==null&&(z=H.source._debugTask),H=H.value,J.push(["Error",typeof H==="object"&&H!==null&&typeof H.message==="string"?String(H.message):String(H)])}X.key!==null&&W6("key",X.key,J,0,""),X.memoizedProps!==null&&SG(X.memoizedProps,J,0,""),z==null&&(z=X._debugTask),X={start:Z,end:G,detail:{devtools:{color:"error",track:x5,tooltipText:X.tag===13?"Hydration failed":"Error boundary caught an error",properties:J}}},z?z.run(performance.measure.bind(performance,"​"+Y,X)):performance.measure("​"+Y,X)}}}function q6(X,Z,G,$,Y){if(Y!==null){if(n2){var z=p(X);if(z!==null){$=[];for(var J=0;J<Y.length;J++){var U=Y[J].value;$.push(["Error",typeof U==="object"&&U!==null&&typeof U.message==="string"?String(U.message):String(U)])}X.key!==null&&W6("key",X.key,$,0,""),X.memoizedProps!==null&&SG(X.memoizedProps,$,0,""),Z={start:Z,end:G,detail:{devtools:{color:"error",track:x5,tooltipText:"A lifecycle or effect errored",properties:$}}},(X=X._debugTask)?X.run(performance.measure.bind(performance,"​"+z,Z)):performance.measure("​"+z,Z)}}}else z=p(X),z!==null&&n2&&(Y=1>$?"secondary-light":100>$?"secondary":500>$?"secondary-dark":"error",(X=X._debugTask)?X.run(console.timeStamp.bind(console,z,Z,G,x5,void 0,Y)):console.timeStamp(z,Z,G,x5,void 0,Y))}function Xq(X,Z,G,$){if(n2&&!(Z<=X)){var Y=(G&738197653)===G?"tertiary-dark":"primary-dark";G=(G&536870912)===G?"Prepared":(G&201326741)===G?"Hydrated":"Render",$?$.run(console.timeStamp.bind(console,G,X,Z,L2,O2,Y)):console.timeStamp(G,X,Z,L2,O2,Y)}}function oz(X,Z,G,$){!n2||Z<=X||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",$?$.run(console.timeStamp.bind(console,"Prewarm",X,Z,L2,O2,G)):console.timeStamp("Prewarm",X,Z,L2,O2,G))}function rz(X,Z,G,$){!n2||Z<=X||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",$?$.run(console.timeStamp.bind(console,"Suspended",X,Z,L2,O2,G)):console.timeStamp("Suspended",X,Z,L2,O2,G))}function Zq(X,Z,G,$,Y,z){if(n2&&!(Z<=X)){G=[];for(var J=0;J<$.length;J++){var U=$[J].value;G.push(["Recoverable Error",typeof U==="object"&&U!==null&&typeof U.message==="string"?String(U.message):String(U)])}X={start:X,end:Z,detail:{devtools:{color:"primary-dark",track:L2,trackGroup:O2,tooltipText:Y?"Hydration Failed":"Recovered after Error",properties:G}}},z?z.run(performance.measure.bind(performance,"Recovered",X)):performance.measure("Recovered",X)}}function kG(X,Z,G,$){!n2||Z<=X||($?$.run(console.timeStamp.bind(console,"Errored",X,Z,L2,O2,"error")):console.timeStamp("Errored",X,Z,L2,O2,"error"))}function Gq(X,Z,G,$){!n2||Z<=X||($?$.run(console.timeStamp.bind(console,G,X,Z,L2,O2,"secondary-light")):console.timeStamp(G,X,Z,L2,O2,"secondary-light"))}function tz(X,Z,G,$,Y){if(n2&&!(Z<=X)){for(var z=[],J=0;J<G.length;J++){var U=G[J].value;z.push(["Error",typeof U==="object"&&U!==null&&typeof U.message==="string"?String(U.message):String(U)])}X={start:X,end:Z,detail:{devtools:{color:"error",track:L2,trackGroup:O2,tooltipText:$?"Remaining Effects Errored":"Commit Errored",properties:z}}},Y?Y.run(performance.measure.bind(performance,"Errored",X)):performance.measure("Errored",X)}}function _X(X,Z,G){!n2||Z<=X||(G?G.run(console.timeStamp.bind(console,"Animating",X,Z,L2,O2,"secondary-dark")):console.timeStamp("Animating",X,Z,L2,O2,"secondary-dark"))}function Y0(){for(var X=f9,Z=XY=f9=0;Z<X;){var G=D5[Z];D5[Z++]=null;var $=D5[Z];D5[Z++]=null;var Y=D5[Z];D5[Z++]=null;var z=D5[Z];if(D5[Z++]=null,$!==null&&Y!==null){var J=$.pending;J===null?Y.next=Y:(Y.next=J.next,J.next=Y),$.pending=Y}z!==0&&ez(G,Y,z)}}function z0(X,Z,G,$){D5[f9++]=X,D5[f9++]=Z,D5[f9++]=G,D5[f9++]=$,XY|=$,X.lanes|=$,X=X.alternate,X!==null&&(X.lanes|=$)}function gG(X,Z,G,$){return z0(X,Z,G,$),J0(X)}function u4(X,Z){return z0(X,null,null,Z),J0(X)}function ez(X,Z,G){X.lanes|=G;var $=X.alternate;$!==null&&($.lanes|=G);for(var Y=!1,z=X.return;z!==null;)z.childLanes|=G,$=z.alternate,$!==null&&($.childLanes|=G),z.tag===22&&(X=z.stateNode,X===null||X._visibility&$Z||(Y=!0)),X=z,z=z.return;return X.tag===3?(z=X.stateNode,Y&&Z!==null&&(Y=31-a4(G),X=z.hiddenUpdates,$=X[Y],$===null?X[Y]=[Z]:$.push(Z),Z.lane=G|536870912),z):null}function J0(X){if(gZ>nR)throw l8=gZ=0,bZ=fY=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.");l8>oR&&(l8=0,bZ=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.")),X.alternate===null&&(X.flags&4098)!==0&&RU(X);for(var Z=X,G=Z.return;G!==null;)Z.alternate===null&&(Z.flags&4098)!==0&&RU(X),Z=G,G=Z.return;return Z.tag===3?Z.stateNode:null}function R8(X){if(E5===null)return X;var Z=E5(X);return Z===void 0?X:Z.current}function bG(X){if(E5===null)return X;var Z=E5(X);return Z===void 0?X!==null&&X!==void 0&&typeof X.render==="function"&&(Z=R8(X.render),X.render!==Z)?(Z={$$typeof:cX,render:Z},X.displayName!==void 0&&(Z.displayName=X.displayName),Z):X:Z.current}function XJ(X,Z){if(E5===null)return!1;var G=X.elementType;Z=Z.type;var $=!1,Y=typeof Z==="object"&&Z!==null?Z.$$typeof:null;switch(X.tag){case 1:typeof Z==="function"&&($=!0);break;case 0:typeof Z==="function"?$=!0:Y===T5&&($=!0);break;case 11:Y===cX?$=!0:Y===T5&&($=!0);break;case 14:case 15:Y===$1?$=!0:Y===T5&&($=!0);break;default:return!1}return $&&(X=E5(G),X!==void 0&&X===E5(Z))?!0:!1}function ZJ(X){E5!==null&&typeof WeakSet==="function"&&(j9===null&&(j9=new WeakSet),j9.add(X))}function GJ(X,Z,G){do{var $=X,Y=$.alternate,z=$.child,J=$.sibling,U=$.tag;$=$.type;var H=null;switch(U){case 0:case 15:case 1:H=$;break;case 11:H=$.render}if(E5===null)throw Error("Expected resolveFamily to be set during hot reload.");var W=!1;if($=!1,H!==null&&(H=E5(H),H!==void 0&&(G.has(H)?$=!0:Z.has(H)&&(U===1?$=!0:W=!0))),j9!==null&&(j9.has(X)||Y!==null&&j9.has(Y))&&($=!0),$&&(X._debugNeedsRemount=!0),$||W)Y=u4(X,2),Y!==null&&J4(Y,X,2);if(z===null||$||GJ(z,Z,G),J===null)break;X=J}while(1)}function $q(X,Z,G,$){this.tag=X,this.key=G,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=Z,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=$,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,QH||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function yG(X){return X=X.prototype,!(!X||!X.isReactComponent)}function c6(X,Z){var G=X.alternate;switch(G===null?(G=k(X.tag,Z,X.key,X.mode),G.elementType=X.elementType,G.type=X.type,G.stateNode=X.stateNode,G._debugOwner=X._debugOwner,G._debugStack=X._debugStack,G._debugTask=X._debugTask,G._debugHookTypes=X._debugHookTypes,G.alternate=X,X.alternate=G):(G.pendingProps=Z,G.type=X.type,G.flags=0,G.subtreeFlags=0,G.deletions=null,G.actualDuration=-0,G.actualStartTime=-1.1),G.flags=X.flags&65011712,G.childLanes=X.childLanes,G.lanes=X.lanes,G.child=X.child,G.memoizedProps=X.memoizedProps,G.memoizedState=X.memoizedState,G.updateQueue=X.updateQueue,Z=X.dependencies,G.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},G.sibling=X.sibling,G.index=X.index,G.ref=X.ref,G.refCleanup=X.refCleanup,G.selfBaseDuration=X.selfBaseDuration,G.treeBaseDuration=X.treeBaseDuration,G._debugInfo=X._debugInfo,G._debugNeedsRemount=X._debugNeedsRemount,G.tag){case 0:case 15:G.type=R8(X.type);break;case 1:G.type=R8(X.type);break;case 11:G.type=bG(X.type)}return G}function $J(X,Z){X.flags&=65011714;var G=X.alternate;return G===null?(X.childLanes=0,X.lanes=Z,X.child=null,X.subtreeFlags=0,X.memoizedProps=null,X.memoizedState=null,X.updateQueue=null,X.dependencies=null,X.stateNode=null,X.selfBaseDuration=0,X.treeBaseDuration=0):(X.childLanes=G.childLanes,X.lanes=G.lanes,X.child=G.child,X.subtreeFlags=0,X.deletions=null,X.memoizedProps=G.memoizedProps,X.memoizedState=G.memoizedState,X.updateQueue=G.updateQueue,X.type=G.type,Z=G.dependencies,X.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},X.selfBaseDuration=G.selfBaseDuration,X.treeBaseDuration=G.treeBaseDuration),X}function fG(X,Z,G,$,Y,z){var J=0,U=X;if(typeof X==="function")yG(X)&&(J=1),U=R8(U);else if(typeof X==="string")J=t(),J=MK(X,G,J)?26:X==="html"||X==="head"||X==="body"?27:5;else X:switch(X){case P$:return Z=k(31,G,Z,Y),Z.elementType=P$,Z.lanes=z,Z;case A9:return O8(G.children,Y,z,Z);case G1:J=8,Y|=l4,Y|=e5;break;case w$:return X=G,$=Y,typeof X.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof X.id),Z=k(12,X,Z,$|H2),Z.elementType=w$,Z.lanes=z,Z.stateNode={effectDuration:0,passiveEffectDuration:0},Z;case T$:return Z=k(13,G,Z,Y),Z.elementType=T$,Z.lanes=z,Z;case I$:return Z=k(19,G,Z,Y),Z.elementType=I$,Z.lanes=z,Z;default:if(typeof X==="object"&&X!==null)switch(X.$$typeof){case v6:J=10;break X;case A$:J=9;break X;case cX:J=11,U=bG(U);break X;case $1:J=14;break X;case T5:J=16,U=null;break X}if(U="",X===void 0||typeof X==="object"&&X!==null&&Object.keys(X).length===0)U+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";X===null?G="null":w4(X)?G="array":X!==void 0&&X.$$typeof===S6?(G="<"+(w2(X.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):G=typeof X,(J=$?b5($):null)&&(U+=`
72
+
73
+ Check the render method of \``+J+"`."),J=29,G=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(G+"."+U)),U=null}return Z=k(J,G,Z,Y),Z.elementType=X,Z.type=U,Z.lanes=z,Z._debugOwner=$,Z}function Q0(X,Z,G){return Z=fG(X.type,X.key,X.props,X._owner,Z,G),Z._debugOwner=X._owner,Z._debugStack=X._debugStack,Z._debugTask=X._debugTask,Z}function O8(X,Z,G,$){return X=k(7,X,$,Z),X.lanes=G,X}function jG(X,Z,G){return X=k(6,X,null,Z),X.lanes=G,X}function YJ(X){var Z=k(18,null,null,Z2);return Z.stateNode=X,Z}function VG(X,Z,G){return Z=k(4,X.children!==null?X.children:[],X.key,Z),Z.lanes=G,Z.stateNode={containerInfo:X.containerInfo,pendingChildren:null,implementation:X.implementation},Z}function _5(X,Z){if(typeof X==="object"&&X!==null){var G=ZY.get(X);if(G!==void 0)return G;return Z={value:X,source:Z,stack:q5(Z)},ZY.set(X,Z),Z}return{value:X,source:Z,stack:q5(Z)}}function s6(X,Z){F7(),V9[x9++]=YZ,V9[x9++]=L1,L1=X,YZ=Z}function zJ(X,Z,G){F7(),h5[m5++]=Z7,h5[m5++]=G7,h5[m5++]=k8,k8=X;var $=Z7;X=G7;var Y=32-a4($)-1;$&=~(1<<Y),G+=1;var z=32-a4(Z)+Y;if(30<z){var J=Y-Y%5;z=($&(1<<J)-1).toString(32),$>>=J,Y-=J,Z7=1<<32-a4(Z)+Y|G<<Y|$,G7=z+X}else Z7=1<<z|G<<Y|$,G7=X}function xG(X){F7(),X.return!==null&&(s6(X,1),zJ(X,1,0))}function DG(X){for(;X===L1;)L1=V9[--x9],V9[x9]=null,YZ=V9[--x9],V9[x9]=null;for(;X===k8;)k8=h5[--m5],h5[m5]=null,G7=h5[--m5],h5[m5]=null,Z7=h5[--m5],h5[m5]=null}function JJ(){return F7(),k8!==null?{id:Z7,overflow:G7}:null}function QJ(X,Z){F7(),h5[m5++]=Z7,h5[m5++]=G7,h5[m5++]=k8,Z7=Z.id,G7=Z.overflow,k8=X}function F7(){N2||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function _8(X,Z){if(X.return===null){if(C5===null)C5={fiber:X,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z};else{if(C5.fiber!==X)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");C5.distanceFromLeaf>Z&&(C5.distanceFromLeaf=Z)}return C5}var G=_8(X.return,Z+1).children;if(0<G.length&&G[G.length-1].fiber===X)return G=G[G.length-1],G.distanceFromLeaf>Z&&(G.distanceFromLeaf=Z),G;return Z={fiber:X,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z},G.push(Z),Z}function UJ(){N2&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function U0(X,Z){j6||(X=_8(X,0),X.serverProps=null,Z!==null&&(Z=mU(Z),X.serverTail.push(Z)))}function N7(X){var Z=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,G="",$=C5;throw $!==null&&(C5=null,G=AG($)),LX(_5(Error("Hydration failed because the server rendered "+(Z?"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:
74
+
75
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
76
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
77
+ - Date formatting in a user's locale which doesn't match the server.
78
+ - External changing data without sending a snapshot of it along with the HTML.
79
+ - Invalid HTML tag nesting.
80
+
81
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
82
+
83
+ https://react.dev/link/hydration-mismatch`+G),X)),GY}function BJ(X){var{stateNode:Z,type:G,memoizedProps:$}=X;switch(Z[E4]=X,Z[i4]=$,$$(G,$),G){case"dialog":A2("cancel",Z),A2("close",Z);break;case"iframe":case"object":case"embed":A2("load",Z);break;case"video":case"audio":for(G=0;G<yZ.length;G++)A2(yZ[G],Z);break;case"source":A2("error",Z);break;case"img":case"image":case"link":A2("error",Z),A2("load",Z);break;case"details":A2("toggle",Z);break;case"input":L7("input",$),A2("invalid",Z),Rz(Z,$),Oz(Z,$.value,$.defaultValue,$.checked,$.defaultChecked,$.type,$.name,!0);break;case"option":_z(Z,$);break;case"select":L7("select",$),A2("invalid",Z),Fz(Z,$);break;case"textarea":L7("textarea",$),A2("invalid",Z),Nz(Z,$),Az(Z,$.value,$.defaultValue,$.children)}G=$.children,typeof G!=="string"&&typeof G!=="number"&&typeof G!=="bigint"||Z.textContent===""+G||$.suppressHydrationWarning===!0||CU(Z.textContent,G)?($.popover!=null&&(A2("beforetoggle",Z),A2("toggle",Z)),$.onScroll!=null&&A2("scroll",Z),$.onScrollEnd!=null&&A2("scrollend",Z),$.onClick!=null&&(Z.onclick=p6),Z=!0):Z=!1,Z||N7(X,!0)}function HJ(X){for(h4=X.return;h4;)switch(h4.tag){case 5:case 31:case 13:u5=!1;return;case 27:case 3:u5=!0;return;default:h4=h4.return}}function J9(X){if(X!==h4)return!1;if(!N2)return HJ(X),N2=!0,!1;var Z=X.tag,G;if(G=Z!==3&&Z!==27){if(G=Z===5)G=X.type,G=!(G!=="form"&&G!=="button")||U$(X.type,X.memoizedProps);G=!G}if(G&&o2){for(G=o2;G;){var $=_8(X,0),Y=mU(G);$.serverTail.push(Y),G=Y.type==="Suspense"?M$(G):A5(G.nextSibling)}N7(X)}if(HJ(X),Z===13){if(X=X.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o2=M$(X)}else if(Z===31){if(X=X.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o2=M$(X)}else Z===27?(Z=o2,g7(X.type)?(X=cY,cY=null,o2=X):o2=Z):o2=h4?A5(X.stateNode.nextSibling):null;return!0}function L8(){o2=h4=null,j6=N2=!1}function EG(){var X=h7;return X!==null&&(X5===null?X5=X:X5.push.apply(X5,X),h7=null),X}function LX(X){h7===null?h7=[X]:h7.push(X)}function hG(){var X=C5;if(X!==null){C5=null;for(var Z=AG(X);0<X.children.length;)X=X.children[0];s(X.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:
84
+
85
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
86
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
87
+ - Date formatting in a user's locale which doesn't match the server.
88
+ - External changing data without sending a snapshot of it along with the HTML.
89
+ - Invalid HTML tag nesting.
90
+
91
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
92
+
93
+ %s%s`,"https://react.dev/link/hydration-mismatch",Z)})}}function B0(){D9=F1=null,E9=!1}function w7(X,Z,G){F2($Y,Z._currentValue,X),Z._currentValue=G,F2(YY,Z._currentRenderer,X),Z._currentRenderer!==void 0&&Z._currentRenderer!==null&&Z._currentRenderer!==BH&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),Z._currentRenderer=BH}function a6(X,Z){X._currentValue=$Y.current;var G=YY.current;v2(YY,Z),X._currentRenderer=G,v2($Y,Z)}function mG(X,Z,G){for(;X!==null;){var $=X.alternate;if((X.childLanes&Z)!==Z?(X.childLanes|=Z,$!==null&&($.childLanes|=Z)):$!==null&&($.childLanes&Z)!==Z&&($.childLanes|=Z),X===G)break;X=X.return}X!==G&&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 uG(X,Z,G,$){var Y=X.child;Y!==null&&(Y.return=X);for(;Y!==null;){var z=Y.dependencies;if(z!==null){var J=Y.child;z=z.firstContext;X:for(;z!==null;){var U=z;z=Y;for(var H=0;H<Z.length;H++)if(U.context===Z[H]){z.lanes|=G,U=z.alternate,U!==null&&(U.lanes|=G),mG(z.return,G,X),$||(J=null);break X}z=U.next}}else if(Y.tag===18){if(J=Y.return,J===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");J.lanes|=G,z=J.alternate,z!==null&&(z.lanes|=G),mG(J,G,X),J=null}else J=Y.child;if(J!==null)J.return=Y;else for(J=Y;J!==null;){if(J===X){J=null;break}if(Y=J.sibling,Y!==null){Y.return=J.return,J=Y;break}J=J.return}Y=J}}function Q9(X,Z,G,$){X=null;for(var Y=Z,z=!1;Y!==null;){if(!z){if((Y.flags&524288)!==0)z=!0;else if((Y.flags&262144)!==0)break}if(Y.tag===10){var J=Y.alternate;if(J===null)throw Error("Should have a current fiber. This is a bug in React.");if(J=J.memoizedProps,J!==null){var U=Y.type;o4(Y.pendingProps.value,J.value)||(X!==null?X.push(U):X=[U])}}else if(Y===Y1.current){if(J=Y.alternate,J===null)throw Error("Should have a current fiber. This is a bug in React.");J.memoizedState.memoizedState!==Y.memoizedState.memoizedState&&(X!==null?X.push(DZ):X=[DZ])}Y=Y.return}X!==null&&uG(Z,X,G,$),Z.flags|=262144}function H0(X){for(X=X.firstContext;X!==null;){if(!o4(X.context._currentValue,X.memoizedValue))return!0;X=X.next}return!1}function F8(X){F1=X,D9=null,X=X.dependencies,X!==null&&(X.firstContext=null)}function e2(X){return E9&&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()."),WJ(F1,X)}function W0(X,Z){return F1===null&&F8(X),WJ(X,Z)}function WJ(X,Z){var G=Z._currentValue;if(Z={context:Z,memoizedValue:G,next:null},D9===null){if(X===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().");D9=Z,X.dependencies={lanes:0,firstContext:Z,_debugThenableState:null},X.flags|=524288}else D9=D9.next=Z;return G}function dG(){return{controller:new DR,data:new Map,refCount:0}}function N8(X){X.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),X.refCount++}function FX(X){X.refCount--,0>X.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),X.refCount===0&&ER(hR,function(){X.controller.abort()})}function K6(X,Z,G){if((X&127)!==0)0>V6&&(V6=K4(),JZ=N1(Z),zY=Z,G!=null&&(JY=p(G)),(I2&(T4|k5))!==b4&&(Q4=!0,d7=zZ),X=mX(),Z=hX(),X!==h9||Z!==QZ?h9=-1.1:Z!==null&&(d7=zZ),b8=X,QZ=Z);else if((X&4194048)!==0&&0>d5&&(d5=K4(),UZ=N1(Z),HH=Z,G!=null&&(WH=p(G)),0>z7)){if(X=mX(),Z=hX(),X!==p7||Z!==y8)p7=-1.1;l7=X,y8=Z}}function Yq(X){if(0>V6){V6=K4(),JZ=X._debugTask!=null?X._debugTask:null,(I2&(T4|k5))!==b4&&(d7=zZ);var Z=mX(),G=hX();Z!==h9||G!==QZ?h9=-1.1:G!==null&&(d7=zZ),b8=Z,QZ=G}if(0>d5&&(d5=K4(),UZ=X._debugTask!=null?X._debugTask:null,0>z7)){if(X=mX(),Z=hX(),X!==p7||Z!==y8)p7=-1.1;l7=X,y8=Z}}function i6(){var X=g8;return g8=0,X}function M0(X){var Z=g8;return g8=X,Z}function NX(X){var Z=g8;return g8+=X,Z}function q0(){e=r=-1.1}function L5(){var X=r;return r=-1.1,X}function F5(X){0<=X&&(r=X)}function R6(){var X=Z4;return Z4=-0,X}function O6(X){0<=X&&(Z4=X)}function _6(){var X=X4;return X4=null,X}function L6(){var X=Q4;return Q4=!1,X}function lG(X){r4=K4(),0>X.actualStartTime&&(X.actualStartTime=r4)}function pG(X){if(0<=r4){var Z=K4()-r4;X.actualDuration+=Z,X.selfBaseDuration=Z,r4=-1}}function MJ(X){if(0<=r4){var Z=K4()-r4;X.actualDuration+=Z,r4=-1}}function F6(){if(0<=r4){var X=K4(),Z=X-r4;r4=-1,g8+=Z,Z4+=Z,e=X}}function qJ(X){X4===null&&(X4=[]),X4.push(X),Y7===null&&(Y7=[]),Y7.push(X)}function N6(){r4=K4(),0>r&&(r=r4)}function wX(X){for(var Z=X.child;Z;)X.actualDuration+=Z.actualDuration,Z=Z.sibling}function zq(X,Z){if(HZ===null){var G=HZ=[];UY=0,f8=e3(),m9={status:"pending",value:void 0,then:function($){G.push($)}}}return UY++,Z.then(KJ,KJ),Z}function KJ(){if(--UY===0&&(-1<d5||(z7=-1.1),HZ!==null)){m9!==null&&(m9.status="fulfilled");var X=HZ;HZ=null,f8=0,m9=null;for(var Z=0;Z<X.length;Z++)(0,X[Z])()}}function Jq(X,Z){var G=[],$={status:"pending",value:null,reason:null,then:function(Y){G.push(Y)}};return X.then(function(){$.status="fulfilled",$.value=Z;for(var Y=0;Y<G.length;Y++)(0,G[Y])(Z)},function(Y){$.status="rejected",$.reason=Y;for(Y=0;Y<G.length;Y++)(0,G[Y])(void 0)}),$}function cG(){var X=j8.current;return X!==null?X:l2.pooledCache}function K0(X,Z){Z===null?F2(j8,j8.current,X):F2(j8,Z.pool,X)}function RJ(){var X=cG();return X===null?null:{parent:q4._currentValue,pool:X}}function OJ(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function _J(X){return X=X.status,X==="fulfilled"||X==="rejected"}function LJ(X,Z,G){b.actQueue!==null&&(b.didUsePromise=!0);var $=X.thenables;if(G=$[G],G===void 0?$.push(Z):G!==Z&&(X.didWarnAboutUncachedPromise||(X.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.")),Z.then(p6,p6),Z=G),Z._debugInfo===void 0){X=performance.now(),$=Z.displayName;var Y={name:typeof $==="string"?$:"Promise",start:X,end:X,value:Z};Z._debugInfo=[{awaited:Y}],Z.status!=="fulfilled"&&Z.status!=="rejected"&&(X=function(){Y.end=performance.now()},Z.then(X,X))}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw X=Z.reason,NJ(X),X;default:if(typeof Z.status==="string")Z.then(p6,p6);else{if(X=l2,X!==null&&100<X.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.");X=Z,X.status="pending",X.then(function(z){if(Z.status==="pending"){var J=Z;J.status="fulfilled",J.value=z}},function(z){if(Z.status==="pending"){var J=Z;J.status="rejected",J.reason=z}})}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw X=Z.reason,NJ(X),X}throw x8=Z,_Z=!0,u9}}function A7(X){try{return lR(X)}catch(Z){if(Z!==null&&typeof Z==="object"&&typeof Z.then==="function")throw x8=Z,_Z=!0,u9;throw Z}}function FJ(){if(x8===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var X=x8;return x8=null,_Z=!1,X}function NJ(X){if(X===u9||X===v1)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 V4(X){var Z=W2;return X!=null&&(W2=Z===null?X:Z.concat(X)),Z}function sG(){var X=W2;if(X!=null){for(var Z=X.length-1;0<=Z;Z--)if(X[Z].name!=null){var G=X[Z].debugTask;if(G!=null)return G}}return null}function R0(X,Z,G){for(var $=Object.keys(X.props),Y=0;Y<$.length;Y++){var z=$[Y];if(z!=="children"&&z!=="key"){Z===null&&(Z=Q0(X,G.mode,0),Z._debugInfo=W2,Z.return=G),s(Z,function(J){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",J)},z);break}}}function O0(X){var Z=LZ;return LZ+=1,d9===null&&(d9=OJ()),LJ(d9,X,Z)}function AX(X,Z){Z=Z.props.ref,X.ref=Z!==void 0?Z:null}function wJ(X,Z){if(Z.$$typeof===AK)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
94
+ - Multiple copies of the "react" package is used.
95
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
96
+ - A compiler tries to "inline" JSX instead of using the runtime.`);throw X=Object.prototype.toString.call(Z),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}function _0(X,Z){var G=sG();G!==null?G.run(wJ.bind(null,X,Z)):wJ(X,Z)}function AJ(X,Z){var G=p(X)||"Component";bH[G]||(bH[G]=!0,Z=Z.displayName||Z.name||"Component",X.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.
97
+ root.render(%s)`,Z,Z,Z):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.
98
+ <%s>{%s}</%s>`,Z,Z,G,Z,G))}function L0(X,Z){var G=sG();G!==null?G.run(AJ.bind(null,X,Z)):AJ(X,Z)}function TJ(X,Z){var G=p(X)||"Component";yH[G]||(yH[G]=!0,Z=String(Z),X.tag===3?console.error(`Symbols are not valid as a React child.
99
+ root.render(%s)`,Z):console.error(`Symbols are not valid as a React child.
100
+ <%s>%s</%s>`,G,Z,G))}function F0(X,Z){var G=sG();G!==null?G.run(TJ.bind(null,X,Z)):TJ(X,Z)}function IJ(X){function Z(_,w){if(X){var T=_.deletions;T===null?(_.deletions=[w],_.flags|=16):T.push(w)}}function G(_,w){if(!X)return null;for(;w!==null;)Z(_,w),w=w.sibling;return null}function $(_){for(var w=new Map;_!==null;)_.key!==null?w.set(_.key,_):w.set(_.index,_),_=_.sibling;return w}function Y(_,w){return _=c6(_,w),_.index=0,_.sibling=null,_}function z(_,w,T){if(_.index=T,!X)return _.flags|=1048576,w;if(T=_.alternate,T!==null)return T=T.index,T<w?(_.flags|=67108866,w):T;return _.flags|=67108866,w}function J(_){return X&&_.alternate===null&&(_.flags|=67108866),_}function U(_,w,T,y){if(w===null||w.tag!==6)return w=jG(T,_.mode,y),w.return=_,w._debugOwner=_,w._debugTask=_._debugTask,w._debugInfo=W2,w;return w=Y(w,T),w.return=_,w._debugInfo=W2,w}function H(_,w,T,y){var d=T.type;if(d===A9)return w=I(_,w,T.props.children,y,T.key),R0(T,w,_),w;if(w!==null&&(w.elementType===d||XJ(w,T)||typeof d==="object"&&d!==null&&d.$$typeof===T5&&A7(d)===w.type))return w=Y(w,T.props),AX(w,T),w.return=_,w._debugOwner=T._owner,w._debugInfo=W2,w;return w=Q0(T,_.mode,y),AX(w,T),w.return=_,w._debugInfo=W2,w}function W(_,w,T,y){if(w===null||w.tag!==4||w.stateNode.containerInfo!==T.containerInfo||w.stateNode.implementation!==T.implementation)return w=VG(T,_.mode,y),w.return=_,w._debugInfo=W2,w;return w=Y(w,T.children||[]),w.return=_,w._debugInfo=W2,w}function I(_,w,T,y,d){if(w===null||w.tag!==7)return w=O8(T,_.mode,y,d),w.return=_,w._debugOwner=_,w._debugTask=_._debugTask,w._debugInfo=W2,w;return w=Y(w,T),w.return=_,w._debugInfo=W2,w}function P(_,w,T){if(typeof w==="string"&&w!==""||typeof w==="number"||typeof w==="bigint")return w=jG(""+w,_.mode,T),w.return=_,w._debugOwner=_,w._debugTask=_._debugTask,w._debugInfo=W2,w;if(typeof w==="object"&&w!==null){switch(w.$$typeof){case S6:return T=Q0(w,_.mode,T),AX(T,w),T.return=_,_=V4(w._debugInfo),T._debugInfo=W2,W2=_,T;case w9:return w=VG(w,_.mode,T),w.return=_,w._debugInfo=W2,w;case T5:var y=V4(w._debugInfo);return w=A7(w),_=P(_,w,T),W2=y,_}if(w4(w)||N4(w))return T=O8(w,_.mode,T,null),T.return=_,T._debugOwner=_,T._debugTask=_._debugTask,_=V4(w._debugInfo),T._debugInfo=W2,W2=_,T;if(typeof w.then==="function")return y=V4(w._debugInfo),_=P(_,O0(w),T),W2=y,_;if(w.$$typeof===v6)return P(_,W0(_,w),T);_0(_,w)}return typeof w==="function"&&L0(_,w),typeof w==="symbol"&&F0(_,w),null}function N(_,w,T,y){var d=w!==null?w.key:null;if(typeof T==="string"&&T!==""||typeof T==="number"||typeof T==="bigint")return d!==null?null:U(_,w,""+T,y);if(typeof T==="object"&&T!==null){switch(T.$$typeof){case S6:return T.key===d?(d=V4(T._debugInfo),_=H(_,w,T,y),W2=d,_):null;case w9:return T.key===d?W(_,w,T,y):null;case T5:return d=V4(T._debugInfo),T=A7(T),_=N(_,w,T,y),W2=d,_}if(w4(T)||N4(T)){if(d!==null)return null;return d=V4(T._debugInfo),_=I(_,w,T,y,null),W2=d,_}if(typeof T.then==="function")return d=V4(T._debugInfo),_=N(_,w,O0(T),y),W2=d,_;if(T.$$typeof===v6)return N(_,w,W0(_,T),y);_0(_,T)}return typeof T==="function"&&L0(_,T),typeof T==="symbol"&&F0(_,T),null}function v(_,w,T,y,d){if(typeof y==="string"&&y!==""||typeof y==="number"||typeof y==="bigint")return _=_.get(T)||null,U(w,_,""+y,d);if(typeof y==="object"&&y!==null){switch(y.$$typeof){case S6:return T=_.get(y.key===null?T:y.key)||null,_=V4(y._debugInfo),w=H(w,T,y,d),W2=_,w;case w9:return _=_.get(y.key===null?T:y.key)||null,W(w,_,y,d);case T5:var $2=V4(y._debugInfo);return y=A7(y),w=v(_,w,T,y,d),W2=$2,w}if(w4(y)||N4(y))return T=_.get(T)||null,_=V4(y._debugInfo),w=I(w,T,y,d,null),W2=_,w;if(typeof y.then==="function")return $2=V4(y._debugInfo),w=v(_,w,T,O0(y),d),W2=$2,w;if(y.$$typeof===v6)return v(_,w,T,W0(w,y),d);_0(w,y)}return typeof y==="function"&&L0(w,y),typeof y==="symbol"&&F0(w,y),null}function m(_,w,T,y){if(typeof T!=="object"||T===null)return y;switch(T.$$typeof){case S6:case w9:f(_,w,T);var d=T.key;if(typeof d!=="string")break;if(y===null){y=new Set,y.add(d);break}if(!y.has(d)){y.add(d);break}s(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.",d)});break;case T5:T=A7(T),m(_,w,T,y)}return y}function c(_,w,T,y){for(var d=null,$2=null,n=null,i=w,U2=w=0,r2=null;i!==null&&U2<T.length;U2++){i.index>U2?(r2=i,i=null):r2=i.sibling;var W4=N(_,i,T[U2],y);if(W4===null){i===null&&(i=r2);break}d=m(_,W4,T[U2],d),X&&i&&W4.alternate===null&&Z(_,i),w=z(W4,w,U2),n===null?$2=W4:n.sibling=W4,n=W4,i=r2}if(U2===T.length)return G(_,i),N2&&s6(_,U2),$2;if(i===null){for(;U2<T.length;U2++)i=P(_,T[U2],y),i!==null&&(d=m(_,i,T[U2],d),w=z(i,w,U2),n===null?$2=i:n.sibling=i,n=i);return N2&&s6(_,U2),$2}for(i=$(i);U2<T.length;U2++)r2=v(i,_,U2,T[U2],y),r2!==null&&(d=m(_,r2,T[U2],d),X&&r2.alternate!==null&&i.delete(r2.key===null?U2:r2.key),w=z(r2,w,U2),n===null?$2=r2:n.sibling=r2,n=r2);return X&&i.forEach(function(K7){return Z(_,K7)}),N2&&s6(_,U2),$2}function s2(_,w,T,y){if(T==null)throw Error("An iterable object provided no iterator.");for(var d=null,$2=null,n=w,i=w=0,U2=null,r2=null,W4=T.next();n!==null&&!W4.done;i++,W4=T.next()){n.index>i?(U2=n,n=null):U2=n.sibling;var K7=N(_,n,W4.value,y);if(K7===null){n===null&&(n=U2);break}r2=m(_,K7,W4.value,r2),X&&n&&K7.alternate===null&&Z(_,n),w=z(K7,w,i),$2===null?d=K7:$2.sibling=K7,$2=K7,n=U2}if(W4.done)return G(_,n),N2&&s6(_,i),d;if(n===null){for(;!W4.done;i++,W4=T.next())n=P(_,W4.value,y),n!==null&&(r2=m(_,n,W4.value,r2),w=z(n,w,i),$2===null?d=n:$2.sibling=n,$2=n);return N2&&s6(_,i),d}for(n=$(n);!W4.done;i++,W4=T.next())U2=v(n,_,i,W4.value,y),U2!==null&&(r2=m(_,U2,W4.value,r2),X&&U2.alternate!==null&&n.delete(U2.key===null?i:U2.key),w=z(U2,w,i),$2===null?d=U2:$2.sibling=U2,$2=U2);return X&&n.forEach(function(qO){return Z(_,qO)}),N2&&s6(_,i),d}function T2(_,w,T,y){if(typeof T==="object"&&T!==null&&T.type===A9&&T.key===null&&(R0(T,null,_),T=T.props.children),typeof T==="object"&&T!==null){switch(T.$$typeof){case S6:var d=V4(T._debugInfo);X:{for(var $2=T.key;w!==null;){if(w.key===$2){if($2=T.type,$2===A9){if(w.tag===7){G(_,w.sibling),y=Y(w,T.props.children),y.return=_,y._debugOwner=T._owner,y._debugInfo=W2,R0(T,y,_),_=y;break X}}else if(w.elementType===$2||XJ(w,T)||typeof $2==="object"&&$2!==null&&$2.$$typeof===T5&&A7($2)===w.type){G(_,w.sibling),y=Y(w,T.props),AX(y,T),y.return=_,y._debugOwner=T._owner,y._debugInfo=W2,_=y;break X}G(_,w);break}else Z(_,w);w=w.sibling}T.type===A9?(y=O8(T.props.children,_.mode,y,T.key),y.return=_,y._debugOwner=_,y._debugTask=_._debugTask,y._debugInfo=W2,R0(T,y,_),_=y):(y=Q0(T,_.mode,y),AX(y,T),y.return=_,y._debugInfo=W2,_=y)}return _=J(_),W2=d,_;case w9:X:{d=T;for(T=d.key;w!==null;){if(w.key===T)if(w.tag===4&&w.stateNode.containerInfo===d.containerInfo&&w.stateNode.implementation===d.implementation){G(_,w.sibling),y=Y(w,d.children||[]),y.return=_,_=y;break X}else{G(_,w);break}else Z(_,w);w=w.sibling}y=VG(d,_.mode,y),y.return=_,_=y}return J(_);case T5:return d=V4(T._debugInfo),T=A7(T),_=T2(_,w,T,y),W2=d,_}if(w4(T))return d=V4(T._debugInfo),_=c(_,w,T,y),W2=d,_;if(N4(T)){if(d=V4(T._debugInfo),$2=N4(T),typeof $2!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var n=$2.call(T);if(n===T){if(_.tag!==0||Object.prototype.toString.call(_.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(n)!=="[object Generator]")kH||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."),kH=!0}else T.entries!==$2||MY||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),MY=!0);return _=s2(_,w,n,y),W2=d,_}if(typeof T.then==="function")return d=V4(T._debugInfo),_=T2(_,w,O0(T),y),W2=d,_;if(T.$$typeof===v6)return T2(_,w,W0(_,T),y);_0(_,T)}if(typeof T==="string"&&T!==""||typeof T==="number"||typeof T==="bigint")return d=""+T,w!==null&&w.tag===6?(G(_,w.sibling),y=Y(w,d),y.return=_,_=y):(G(_,w),y=jG(d,_.mode,y),y.return=_,y._debugOwner=_,y._debugTask=_._debugTask,y._debugInfo=W2,_=y),J(_);return typeof T==="function"&&L0(_,T),typeof T==="symbol"&&F0(_,T),G(_,w)}return function(_,w,T,y){var d=W2;W2=null;try{LZ=0;var $2=T2(_,w,T,y);return d9=null,$2}catch(r2){if(r2===u9||r2===v1)throw r2;var n=k(29,r2,null,_.mode);n.lanes=y,n.return=_;var i=n._debugInfo=W2;if(n._debugOwner=_._debugOwner,n._debugTask=_._debugTask,i!=null){for(var U2=i.length-1;0<=U2;U2--)if(typeof i[U2].stack==="string"){n._debugOwner=i[U2],n._debugTask=i[U2].debugTask;break}}return n}finally{W2=d}}}function PJ(X,Z){var G=w4(X);return X=!G&&typeof N4(X)==="function",G||X?(G=G?"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>",G,Z,G),!1):!0}function aG(X){X.updateQueue={baseState:X.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iG(X,Z){X=X.updateQueue,Z.updateQueue===X&&(Z.updateQueue={baseState:X.baseState,firstBaseUpdate:X.firstBaseUpdate,lastBaseUpdate:X.lastBaseUpdate,shared:X.shared,callbacks:null})}function T7(X){return{lane:X,tag:jH,payload:null,callback:null,next:null}}function I7(X,Z,G){var $=X.updateQueue;if($===null)return null;if($=$.shared,KY===$&&!DH){var Y=p(X);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.
101
+
102
+ Please update the following component: %s`,Y),DH=!0}if((I2&T4)!==b4)return Y=$.pending,Y===null?Z.next=Z:(Z.next=Y.next,Y.next=Z),$.pending=Z,Z=J0(X),ez(X,null,G),Z;return z0(X,$,Z,G),J0(X)}function TX(X,Z,G){if(Z=Z.updateQueue,Z!==null&&(Z=Z.shared,(G&4194048)!==0)){var $=Z.lanes;$&=X.pendingLanes,G|=$,Z.lanes=G,B8(X,G)}}function N0(X,Z){var{updateQueue:G,alternate:$}=X;if($!==null&&($=$.updateQueue,G===$)){var Y=null,z=null;if(G=G.firstBaseUpdate,G!==null){do{var J={lane:G.lane,tag:G.tag,payload:G.payload,callback:null,next:null};z===null?Y=z=J:z=z.next=J,G=G.next}while(G!==null);z===null?Y=z=Z:z=z.next=Z}else Y=z=Z;G={baseState:$.baseState,firstBaseUpdate:Y,lastBaseUpdate:z,shared:$.shared,callbacks:$.callbacks},X.updateQueue=G;return}X=G.lastBaseUpdate,X===null?G.firstBaseUpdate=Z:X.next=Z,G.lastBaseUpdate=Z}function IX(){if(RY){var X=m9;if(X!==null)throw X}}function PX(X,Z,G,$){RY=!1;var Y=X.updateQueue;c7=!1,KY=Y.shared;var{firstBaseUpdate:z,lastBaseUpdate:J}=Y,U=Y.shared.pending;if(U!==null){Y.shared.pending=null;var H=U,W=H.next;H.next=null,J===null?z=W:J.next=W,J=H;var I=X.alternate;I!==null&&(I=I.updateQueue,U=I.lastBaseUpdate,U!==J&&(U===null?I.firstBaseUpdate=W:U.next=W,I.lastBaseUpdate=H))}if(z!==null){var P=Y.baseState;J=0,I=W=H=null,U=z;do{var N=U.lane&-536870913,v=N!==U.lane;if(v?(M2&N)===N:($&N)===N){N!==0&&N===f8&&(RY=!0),I!==null&&(I=I.next={lane:0,tag:U.tag,payload:U.payload,callback:null,next:null});X:{N=X;var m=U,c=Z,s2=G;switch(m.tag){case VH:if(m=m.payload,typeof m==="function"){E9=!0;var T2=m.call(s2,P,c);if(N.mode&l4){p2(!0);try{m.call(s2,P,c)}finally{p2(!1)}}E9=!1,P=T2;break X}P=m;break X;case qY:N.flags=N.flags&-65537|128;case jH:if(T2=m.payload,typeof T2==="function"){if(E9=!0,m=T2.call(s2,P,c),N.mode&l4){p2(!0);try{T2.call(s2,P,c)}finally{p2(!1)}}E9=!1}else m=T2;if(m===null||m===void 0)break X;P=R2({},P,m);break X;case xH:c7=!0}}N=U.callback,N!==null&&(X.flags|=64,v&&(X.flags|=8192),v=Y.callbacks,v===null?Y.callbacks=[N]:v.push(N))}else v={lane:N,tag:U.tag,payload:U.payload,callback:U.callback,next:null},I===null?(W=I=v,H=P):I=I.next=v,J|=N;if(U=U.next,U===null)if(U=Y.shared.pending,U===null)break;else v=U,U=v.next,v.next=null,Y.lastBaseUpdate=v,Y.shared.pending=null}while(1);I===null&&(H=P),Y.baseState=H,Y.firstBaseUpdate=W,Y.lastBaseUpdate=I,z===null&&(Y.shared.lanes=0),i7|=J,X.lanes=J,X.memoizedState=P}KY=null}function CJ(X,Z){if(typeof X!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+X);X.call(Z)}function Qq(X,Z){var G=X.shared.hiddenCallbacks;if(G!==null)for(X.shared.hiddenCallbacks=null,X=0;X<G.length;X++)CJ(G[X],Z)}function SJ(X,Z){var G=X.callbacks;if(G!==null)for(X.callbacks=null,X=0;X<G.length;X++)CJ(G[X],Z)}function vJ(X,Z){var G=E6;F2(g1,G,X),F2(l9,Z,X),E6=G|Z.baseLanes}function nG(X){F2(g1,E6,X),F2(l9,l9.current,X)}function oG(X){E6=g1.current,v2(l9,X),v2(g1,X)}function P7(X){var Z=X.alternate;F2(H4,H4.current&p9,X),F2(S5,X,X),l5===null&&(Z===null||l9.current!==null?l5=X:Z.memoizedState!==null&&(l5=X))}function rG(X){F2(H4,H4.current,X),F2(S5,X,X),l5===null&&(l5=X)}function kJ(X){X.tag===22?(F2(H4,H4.current,X),F2(S5,X,X),l5===null&&(l5=X)):C7(X)}function C7(X){F2(H4,H4.current,X),F2(S5,S5.current,X)}function N5(X){v2(S5,X),l5===X&&(l5=null),v2(H4,X)}function w0(X){for(var Z=X;Z!==null;){if(Z.tag===13){var G=Z.memoizedState;if(G!==null&&(G=G.dehydrated,G===null||H$(G)||W$(G)))return Z}else if(Z.tag===19&&(Z.memoizedProps.revealOrder==="forwards"||Z.memoizedProps.revealOrder==="backwards"||Z.memoizedProps.revealOrder==="unstable_legacy-backwards"||Z.memoizedProps.revealOrder==="together")){if((Z.flags&128)!==0)return Z}else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)return null;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}return null}function K2(){var X=g;c5===null?c5=[X]:c5.push(X)}function D(){var X=g;if(c5!==null&&(B7++,c5[B7]!==X)){var Z=p(G2);if(!EH.has(Z)&&(EH.add(Z),c5!==null)){for(var G="",$=0;$<=B7;$++){var Y=c5[$],z=$===B7?X:Y;for(Y=$+1+". "+Y;30>Y.length;)Y+=" ";Y+=z+`
103
+ `,G+=Y}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
104
+
105
+ Previous render Next render
106
+ ------------------------------------------------------
107
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+ `,Z,G)}}}function U9(X){X===void 0||X===null||w4(X)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",g,typeof X)}function A0(){var X=p(G2);mH.has(X)||(mH.add(X),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",X))}function U4(){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:
109
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
110
+ 2. You might be breaking the Rules of Hooks
111
+ 3. You might have more than one copy of React in the same app
112
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function tG(X,Z){if(wZ)return!1;if(Z===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.",g),!1;X.length!==Z.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
113
+
114
+ Previous: %s
115
+ Incoming: %s`,g,"["+Z.join(", ")+"]","["+X.join(", ")+"]");for(var G=0;G<Z.length&&G<X.length;G++)if(!o4(X[G],Z[G]))return!1;return!0}function eG(X,Z,G,$,Y,z){if(Q7=z,G2=Z,c5=X!==null?X._debugHookTypes:null,B7=-1,wZ=X!==null&&X.type!==Z.type,Object.prototype.toString.call(G)==="[object AsyncFunction]"||Object.prototype.toString.call(G)==="[object AsyncGeneratorFunction]")z=p(G2),OY.has(z)||(OY.add(z),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.",z===null?"An unknown Component":"<"+z+">"));Z.memoizedState=null,Z.updateQueue=null,Z.lanes=0,b.H=X!==null&&X.memoizedState!==null?LY:c5!==null?uH:_Y,E8=z=(Z.mode&l4)!==Z2;var J=BY(G,$,Y);if(E8=!1,s9&&(J=X3(Z,G,$,Y)),z){p2(!0);try{J=X3(Z,G,$,Y)}finally{p2(!1)}}return gJ(X,Z),J}function gJ(X,Z){Z._debugHookTypes=c5,Z.dependencies===null?U7!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:U7}):Z.dependencies._debugThenableState=U7,b.H=AZ;var G=d2!==null&&d2.next!==null;if(Q7=0,c5=g=R4=d2=G2=null,B7=-1,X!==null&&(X.flags&65011712)!==(Z.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),y1=!1,NZ=0,U7=null,G)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");X===null||O4||(X=X.dependencies,X!==null&&H0(X)&&(O4=!0)),_Z?(_Z=!1,X=!0):X=!1,X&&(Z=p(Z)||"Unknown",hH.has(Z)||OY.has(Z)||(hH.add(Z),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 X3(X,Z,G,$){G2=X;var Y=0;do{if(s9&&(U7=null),NZ=0,s9=!1,Y>=cR)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(Y+=1,wZ=!1,R4=d2=null,X.updateQueue!=null){var z=X.updateQueue;z.lastEffect=null,z.events=null,z.stores=null,z.memoCache!=null&&(z.memoCache.index=0)}B7=-1,b.H=dH,z=BY(Z,G,$)}while(s9);return z}function Uq(){var X=b.H,Z=X.useState()[0];return Z=typeof Z.then==="function"?CX(Z):Z,X=X.useState()[0],(d2!==null?d2.memoizedState:null)!==X&&(G2.flags|=1024),Z}function Z3(){var X=f1!==0;return f1=0,X}function G3(X,Z,G){Z.updateQueue=X.updateQueue,Z.flags=(Z.mode&e5)!==Z2?Z.flags&-402655237:Z.flags&-2053,X.lanes&=~G}function $3(X){if(y1){for(X=X.memoizedState;X!==null;){var Z=X.queue;Z!==null&&(Z.pending=null),X=X.next}y1=!1}Q7=0,c5=R4=d2=G2=null,B7=-1,g=null,s9=!1,NZ=f1=0,U7=null}function s4(){var X={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return R4===null?G2.memoizedState=R4=X:R4=R4.next=X,R4}function D2(){if(d2===null){var X=G2.alternate;X=X!==null?X.memoizedState:null}else X=d2.next;var Z=R4===null?G2.memoizedState:R4.next;if(Z!==null)R4=Z,d2=X;else{if(X===null){if(G2.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}d2=X,X={memoizedState:d2.memoizedState,baseState:d2.baseState,baseQueue:d2.baseQueue,queue:d2.queue,next:null},R4===null?G2.memoizedState=R4=X:R4=R4.next=X}return R4}function T0(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function CX(X){var Z=NZ;return NZ+=1,U7===null&&(U7=OJ()),X=LJ(U7,X,Z),Z=G2,(R4===null?Z.memoizedState:R4.next)===null&&(Z=Z.alternate,b.H=Z!==null&&Z.memoizedState!==null?LY:_Y),X}function S7(X){if(X!==null&&typeof X==="object"){if(typeof X.then==="function")return CX(X);if(X.$$typeof===v6)return e2(X)}throw Error("An unsupported type was passed to use(): "+String(X))}function w8(X){var Z=null,G=G2.updateQueue;if(G!==null&&(Z=G.memoCache),Z==null){var $=G2.alternate;$!==null&&($=$.updateQueue,$!==null&&($=$.memoCache,$!=null&&(Z={data:$.data.map(function(Y){return Y.slice()}),index:0})))}if(Z==null&&(Z={data:[],index:0}),G===null&&(G=T0(),G2.updateQueue=G),G.memoCache=Z,G=Z.data[Z.index],G===void 0||wZ)for(G=Z.data[Z.index]=Array(X),$=0;$<X;$++)G[$]=TK;else G.length!==X&&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.",G.length,X);return Z.index++,G}function n5(X,Z){return typeof Z==="function"?Z(X):Z}function Y3(X,Z,G){var $=s4();if(G!==void 0){var Y=G(Z);if(E8){p2(!0);try{G(Z)}finally{p2(!1)}}}else Y=Z;return $.memoizedState=$.baseState=Y,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:X,lastRenderedState:Y},$.queue=X,X=X.dispatch=qq.bind(null,G2,X),[$.memoizedState,X]}function B9(X){var Z=D2();return z3(Z,d2,X)}function z3(X,Z,G){var $=X.queue;if($===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");$.lastRenderedReducer=G;var Y=X.baseQueue,z=$.pending;if(z!==null){if(Y!==null){var J=Y.next;Y.next=z.next,z.next=J}Z.baseQueue!==Y&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),Z.baseQueue=Y=z,$.pending=null}if(z=X.baseState,Y===null)X.memoizedState=z;else{Z=Y.next;var U=J=null,H=null,W=Z,I=!1;do{var P=W.lane&-536870913;if(P!==W.lane?(M2&P)===P:(Q7&P)===P){var N=W.revertLane;if(N===0)H!==null&&(H=H.next={lane:0,revertLane:0,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),P===f8&&(I=!0);else if((Q7&N)===N){W=W.next,N===f8&&(I=!0);continue}else P={lane:0,revertLane:W.revertLane,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},H===null?(U=H=P,J=z):H=H.next=P,G2.lanes|=N,i7|=N;P=W.action,E8&&G(z,P),z=W.hasEagerState?W.eagerState:G(z,P)}else N={lane:P,revertLane:W.revertLane,gesture:W.gesture,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},H===null?(U=H=N,J=z):H=H.next=N,G2.lanes|=P,i7|=P;W=W.next}while(W!==null&&W!==Z);if(H===null?J=z:H.next=U,!o4(z,X.memoizedState)&&(O4=!0,I&&(G=m9,G!==null)))throw G;X.memoizedState=z,X.baseState=J,X.baseQueue=H,$.lastRenderedState=z}return Y===null&&($.lanes=0),[X.memoizedState,$.dispatch]}function SX(X){var Z=D2(),G=Z.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=X;var{dispatch:$,pending:Y}=G,z=Z.memoizedState;if(Y!==null){G.pending=null;var J=Y=Y.next;do z=X(z,J.action),J=J.next;while(J!==Y);o4(z,Z.memoizedState)||(O4=!0),Z.memoizedState=z,Z.baseQueue===null&&(Z.baseState=z),G.lastRenderedState=z}return[z,$]}function J3(X,Z,G){var $=G2,Y=s4();if(N2){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var z=G();c9||z===G()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),c9=!0)}else{if(z=Z(),c9||(G=Z(),o4(z,G)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c9=!0)),l2===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(M2&127)!==0||bJ($,Z,z)}return Y.memoizedState=z,G={value:z,getSnapshot:Z},Y.queue=G,S0(fJ.bind(null,$,G,X),[X]),$.flags|=2048,W9(p5|e4,{destroy:void 0},yJ.bind(null,$,G,z,Z),null),z}function I0(X,Z,G){var $=G2,Y=D2(),z=N2;if(z){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");G=G()}else if(G=Z(),!c9){var J=Z();o4(G,J)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c9=!0)}if(J=!o4((d2||Y).memoizedState,G))Y.memoizedState=G,O4=!0;Y=Y.queue;var U=fJ.bind(null,$,Y,X);if(G5(2048,e4,U,[X]),Y.getSnapshot!==Z||J||R4!==null&&R4.memoizedState.tag&p5){if($.flags|=2048,W9(p5|e4,{destroy:void 0},yJ.bind(null,$,Y,G,Z),null),l2===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");z||(Q7&127)!==0||bJ($,Z,G)}return G}function bJ(X,Z,G){X.flags|=16384,X={getSnapshot:Z,value:G},Z=G2.updateQueue,Z===null?(Z=T0(),G2.updateQueue=Z,Z.stores=[X]):(G=Z.stores,G===null?Z.stores=[X]:G.push(X))}function yJ(X,Z,G,$){Z.value=G,Z.getSnapshot=$,jJ(Z)&&VJ(X)}function fJ(X,Z,G){return G(function(){jJ(Z)&&(K6(2,"updateSyncExternalStore()",X),VJ(X))})}function jJ(X){var Z=X.getSnapshot;X=X.value;try{var G=Z();return!o4(X,G)}catch($){return!0}}function VJ(X){var Z=u4(X,2);Z!==null&&J4(Z,X,2)}function Q3(X){var Z=s4();if(typeof X==="function"){var G=X;if(X=G(),E8){p2(!0);try{G()}finally{p2(!1)}}}return Z.memoizedState=Z.baseState=X,Z.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n5,lastRenderedState:X},Z}function U3(X){X=Q3(X);var Z=X.queue,G=XQ.bind(null,G2,Z);return Z.dispatch=G,[X.memoizedState,G]}function B3(X){var Z=s4();Z.memoizedState=Z.baseState=X;var G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return Z.queue=G,Z=T3.bind(null,G2,!0,G),G.dispatch=Z,[X,Z]}function xJ(X,Z){var G=D2();return DJ(G,d2,X,Z)}function DJ(X,Z,G,$){return X.baseState=G,z3(X,d2,typeof $==="function"?$:n5)}function EJ(X,Z){var G=D2();if(d2!==null)return DJ(G,d2,X,Z);return G.baseState=X,[X,G.queue.dispatch]}function Bq(X,Z,G,$,Y){if(f0(X))throw Error("Cannot update form state while rendering.");if(X=Z.action,X!==null){var z={payload:Y,action:X,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(J){z.listeners.push(J)}};b.T!==null?G(!0):z.isTransition=!1,$(z),G=Z.pending,G===null?(z.next=Z.pending=z,hJ(Z,z)):(z.next=G.next,Z.pending=G.next=z)}}function hJ(X,Z){var{action:G,payload:$}=Z,Y=X.state;if(Z.isTransition){var z=b.T,J={};J._updatedFibers=new Set,b.T=J;try{var U=G(Y,$),H=b.S;H!==null&&H(J,U),mJ(X,Z,U)}catch(W){H3(X,Z,W)}finally{z!==null&&J.types!==null&&(z.types!==null&&z.types!==J.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=J.types),b.T=z,z===null&&J._updatedFibers&&(X=J._updatedFibers.size,J._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."))}}else try{J=G(Y,$),mJ(X,Z,J)}catch(W){H3(X,Z,W)}}function mJ(X,Z,G){G!==null&&typeof G==="object"&&typeof G.then==="function"?(b.asyncTransitions++,G.then(y0,y0),G.then(function($){uJ(X,Z,$)},function($){return H3(X,Z,$)}),Z.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.")):uJ(X,Z,G)}function uJ(X,Z,G){Z.status="fulfilled",Z.value=G,dJ(Z),X.state=G,Z=X.pending,Z!==null&&(G=Z.next,G===Z?X.pending=null:(G=G.next,Z.next=G,hJ(X,G)))}function H3(X,Z,G){var $=X.pending;if(X.pending=null,$!==null){$=$.next;do Z.status="rejected",Z.reason=G,dJ(Z),Z=Z.next;while(Z!==$)}X.action=null}function dJ(X){X=X.listeners;for(var Z=0;Z<X.length;Z++)(0,X[Z])()}function lJ(X,Z){return Z}function H9(X,Z){if(N2){var G=l2.formState;if(G!==null){X:{var $=G2;if(N2){if(o2){Z:{var Y=o2;for(var z=u5;Y.nodeType!==8;){if(!z){Y=null;break Z}if(Y=A5(Y.nextSibling),Y===null){Y=null;break Z}}z=Y.data,Y=z===uY||z===SW?Y:null}if(Y){o2=A5(Y.nextSibling),$=Y.data===uY;break X}}N7($)}$=!1}$&&(Z=G[0])}}return G=s4(),G.memoizedState=G.baseState=Z,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lJ,lastRenderedState:Z},G.queue=$,G=XQ.bind(null,G2,$),$.dispatch=G,$=Q3(!1),z=T3.bind(null,G2,!1,$.queue),$=s4(),Y={state:Z,dispatch:null,action:X,pending:null},$.queue=Y,G=Bq.bind(null,G2,Y,z,G),Y.dispatch=G,$.memoizedState=X,[Z,G,!1]}function P0(X){var Z=D2();return pJ(Z,d2,X)}function pJ(X,Z,G){if(Z=z3(X,Z,lJ)[0],X=B9(n5)[0],typeof Z==="object"&&Z!==null&&typeof Z.then==="function")try{var $=CX(Z)}catch(J){if(J===u9)throw v1;throw J}else $=Z;Z=D2();var Y=Z.queue,z=Y.dispatch;return G!==Z.memoizedState&&(G2.flags|=2048,W9(p5|e4,{destroy:void 0},Hq.bind(null,Y,G),null)),[$,z,X]}function Hq(X,Z){X.action=Z}function C0(X){var Z=D2(),G=d2;if(G!==null)return pJ(Z,G,X);D2(),Z=Z.memoizedState,G=D2();var $=G.queue.dispatch;return G.memoizedState=X,[Z,$,!1]}function W9(X,Z,G,$){return X={tag:X,create:G,deps:$,inst:Z,next:null},Z=G2.updateQueue,Z===null&&(Z=T0(),G2.updateQueue=Z),G=Z.lastEffect,G===null?Z.lastEffect=X.next=X:($=G.next,G.next=X,X.next=$,Z.lastEffect=X),X}function W3(X){var Z=s4();return X={current:X},Z.memoizedState=X}function A8(X,Z,G,$){var Y=s4();G2.flags|=X,Y.memoizedState=W9(p5|Z,{destroy:void 0},G,$===void 0?null:$)}function G5(X,Z,G,$){var Y=D2();$=$===void 0?null:$;var z=Y.memoizedState.inst;d2!==null&&$!==null&&tG($,d2.memoizedState.deps)?Y.memoizedState=W9(Z,z,G,$):(G2.flags|=X,Y.memoizedState=W9(p5|Z,z,G,$))}function S0(X,Z){(G2.mode&e5)!==Z2?A8(276826112,e4,X,Z):A8(8390656,e4,X,Z)}function Wq(X){G2.flags|=4;var Z=G2.updateQueue;if(Z===null)Z=T0(),G2.updateQueue=Z,Z.events=[X];else{var G=Z.events;G===null?Z.events=[X]:G.push(X)}}function M3(X){var Z=s4(),G={impl:X};return Z.memoizedState=G,function(){if((I2&T4)!==b4)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function v0(X){var Z=D2().memoizedState;return Wq({ref:Z,nextImpl:X}),function(){if((I2&T4)!==b4)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Z.impl.apply(void 0,arguments)}}function q3(X,Z){var G=4194308;return(G2.mode&e5)!==Z2&&(G|=134217728),A8(G,v5,X,Z)}function cJ(X,Z){if(typeof Z==="function"){X=X();var G=Z(X);return function(){typeof G==="function"?G():Z(null)}}if(Z!==null&&Z!==void 0)return Z.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(Z).join(", ")+"}"),X=X(),Z.current=X,function(){Z.current=null}}function K3(X,Z,G){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),G=G!==null&&G!==void 0?G.concat([X]):null;var $=4194308;(G2.mode&e5)!==Z2&&($|=134217728),A8($,v5,cJ.bind(null,Z,X),G)}function k0(X,Z,G){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),G=G!==null&&G!==void 0?G.concat([X]):null,G5(4,v5,cJ.bind(null,Z,X),G)}function R3(X,Z){return s4().memoizedState=[X,Z===void 0?null:Z],X}function g0(X,Z){var G=D2();Z=Z===void 0?null:Z;var $=G.memoizedState;if(Z!==null&&tG(Z,$[1]))return $[0];return G.memoizedState=[X,Z],X}function O3(X,Z){var G=s4();Z=Z===void 0?null:Z;var $=X();if(E8){p2(!0);try{X()}finally{p2(!1)}}return G.memoizedState=[$,Z],$}function b0(X,Z){var G=D2();Z=Z===void 0?null:Z;var $=G.memoizedState;if(Z!==null&&tG(Z,$[1]))return $[0];if($=X(),E8){p2(!0);try{X()}finally{p2(!1)}}return G.memoizedState=[$,Z],$}function _3(X,Z){var G=s4();return L3(G,X,Z)}function sJ(X,Z){var G=D2();return iJ(G,d2.memoizedState,X,Z)}function aJ(X,Z){var G=D2();return d2===null?L3(G,X,Z):iJ(G,d2.memoizedState,X,Z)}function L3(X,Z,G){if(G===void 0||(Q7&1073741824)!==0&&(M2&261930)===0)return X.memoizedState=Z;return X.memoizedState=G,X=nQ(),G2.lanes|=X,i7|=X,G}function iJ(X,Z,G,$){if(o4(G,Z))return G;if(l9.current!==null)return X=L3(X,G,$),o4(X,Z)||(O4=!0),X;if((Q7&42)===0||(Q7&1073741824)!==0&&(M2&261930)===0)return O4=!0,X.memoizedState=G;return X=nQ(),G2.lanes|=X,i7|=X,Z}function y0(){b.asyncTransitions--}function nJ(X,Z,G,$,Y){var z=b2.p;b2.p=z!==0&&z<t5?z:t5;var J=b.T,U={};U._updatedFibers=new Set,b.T=U,T3(X,!1,Z,G);try{var H=Y(),W=b.S;if(W!==null&&W(U,H),H!==null&&typeof H==="object"&&typeof H.then==="function"){b.asyncTransitions++,H.then(y0,y0);var I=Jq(H,$);vX(X,Z,I,w5(X))}else vX(X,Z,$,w5(X))}catch(P){vX(X,Z,{then:function(){},status:"rejected",reason:P},w5(X))}finally{b2.p=z,J!==null&&U.types!==null&&(J.types!==null&&J.types!==U.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."),J.types=U.types),b.T=J,J===null&&U._updatedFibers&&(X=U._updatedFibers.size,U._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."))}}function F3(X,Z,G,$){if(X.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var Y=oJ(X).queue;Yq(X),nJ(X,Y,Z,n8,G===null?x:function(){return rJ(X),G($)})}function oJ(X){var Z=X.memoizedState;if(Z!==null)return Z;Z={memoizedState:n8,baseState:n8,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:n5,lastRenderedState:n8},next:null};var G={};return Z.next={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:n5,lastRenderedState:G},next:null},X.memoizedState=Z,X=X.alternate,X!==null&&(X.memoizedState=Z),Z}function rJ(X){b.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var Z=oJ(X);Z.next===null&&(Z=X.alternate.memoizedState),vX(X,Z.next.queue,{},w5(X))}function N3(){var X=Q3(!1);return X=nJ.bind(null,G2,X.queue,!0,!1),s4().memoizedState=X,[!1,X]}function tJ(){var X=B9(n5)[0],Z=D2().memoizedState;return[typeof X==="boolean"?X:CX(X),Z]}function eJ(){var X=SX(n5)[0],Z=D2().memoizedState;return[typeof X==="boolean"?X:CX(X),Z]}function T8(){return e2(DZ)}function w3(){var X=s4(),Z=l2.identifierPrefix;if(N2){var G=G7,$=Z7;G=($&~(1<<32-a4($)-1)).toString(32)+G,Z="_"+Z+"R_"+G,G=f1++,0<G&&(Z+="H"+G.toString(32)),Z+="_"}else G=pR++,Z="_"+Z+"r_"+G.toString(32)+"_";return X.memoizedState=Z}function A3(){return s4().memoizedState=Mq.bind(null,G2)}function Mq(X,Z){for(var G=X.return;G!==null;){switch(G.tag){case 24:case 3:var $=w5(G),Y=T7($),z=I7(G,Y,$);z!==null&&(K6($,"refresh()",X),J4(z,G,$),TX(z,G,$)),X=dG(),Z!==null&&Z!==void 0&&z!==null&&console.error("The seed argument is not enabled outside experimental channels."),Y.payload={cache:X};return}G=G.return}}function qq(X,Z,G){var $=arguments;typeof $[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()."),$=w5(X);var Y={lane:$,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};f0(X)?ZQ(Z,Y):(Y=gG(X,Z,Y,$),Y!==null&&(K6($,"dispatch()",X),J4(Y,X,$),GQ(Y,Z,$)))}function XQ(X,Z,G){var $=arguments;typeof $[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()."),$=w5(X),vX(X,Z,G,$)&&K6($,"setState()",X)}function vX(X,Z,G,$){var Y={lane:$,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};if(f0(X))ZQ(Z,Y);else{var z=X.alternate;if(X.lanes===0&&(z===null||z.lanes===0)&&(z=Z.lastRenderedReducer,z!==null)){var J=b.H;b.H=Z6;try{var U=Z.lastRenderedState,H=z(U,G);if(Y.hasEagerState=!0,Y.eagerState=H,o4(H,U))return z0(X,Z,Y,0),l2===null&&Y0(),!1}catch(W){}finally{b.H=J}}if(G=gG(X,Z,Y,$),G!==null)return J4(G,X,$),GQ(G,Z,$),!0}return!1}function T3(X,Z,G,$){if(b.T===null&&f8===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."),$={lane:2,revertLane:e3(),gesture:null,action:$,hasEagerState:!1,eagerState:null,next:null},f0(X)){if(Z)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else Z=gG(X,G,$,2),Z!==null&&(K6(2,"setOptimistic()",X),J4(Z,X,2))}function f0(X){var Z=X.alternate;return X===G2||Z!==null&&Z===G2}function ZQ(X,Z){s9=y1=!0;var G=X.pending;G===null?Z.next=Z:(Z.next=G.next,G.next=Z),X.pending=Z}function GQ(X,Z,G){if((G&4194048)!==0){var $=Z.lanes;$&=X.pendingLanes,G|=$,Z.lanes=G,B8(X,G)}}function I3(X){if(X!==null&&typeof X!=="function"){var Z=String(X);eH.has(Z)||(eH.add(Z),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",X))}}function P3(X,Z,G,$){var Y=X.memoizedState,z=G($,Y);if(X.mode&l4){p2(!0);try{z=G($,Y)}finally{p2(!1)}}z===void 0&&(Z=w2(Z)||"Component",nH.has(Z)||(nH.add(Z),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Z))),Y=z===null||z===void 0?Y:R2({},Y,z),X.memoizedState=Y,X.lanes===0&&(X.updateQueue.baseState=Y)}function $Q(X,Z,G,$,Y,z,J){var U=X.stateNode;if(typeof U.shouldComponentUpdate==="function"){if(G=U.shouldComponentUpdate($,z,J),X.mode&l4){p2(!0);try{G=U.shouldComponentUpdate($,z,J)}finally{p2(!1)}}return G===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",w2(Z)||"Component"),G}return Z.prototype&&Z.prototype.isPureReactComponent?!OX(G,$)||!OX(Y,z):!0}function YQ(X,Z,G,$){var Y=Z.state;typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps(G,$),typeof Z.UNSAFE_componentWillReceiveProps==="function"&&Z.UNSAFE_componentWillReceiveProps(G,$),Z.state!==Y&&(X=p(X)||"Component",pH.has(X)||(pH.add(X),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",X)),FY.enqueueReplaceState(Z,Z.state,null))}function I8(X,Z){var G=Z;if("ref"in Z){G={};for(var $ in Z)$!=="ref"&&(G[$]=Z[$])}if(X=X.defaultProps){G===Z&&(G=R2({},G));for(var Y in X)G[Y]===void 0&&(G[Y]=X[Y])}return G}function zQ(X){o$(X),console.warn(`%s
116
+
117
+ %s
118
+ `,a9?"An error occurred in the <"+a9+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
119
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function JQ(X){var Z=a9?"The above error occurred in the <"+a9+"> component.":"The above error occurred in one of your React components.",G="React will try to recreate this component tree from scratch using the error boundary you provided, "+((NY||"Anonymous")+".");if(typeof X==="object"&&X!==null&&typeof X.environmentName==="string"){var $=X.environmentName;X=[`%o
120
+
121
+ %s
122
+
123
+ %s
124
+ `,X,Z,G].slice(0),typeof X[0]==="string"?X.splice(0,1,VW+" "+X[0],xW,YG+$+YG,DW):X.splice(0,0,VW,xW,YG+$+YG,DW),X.unshift(console),$=WO.apply(console.error,X),$()}else console.error(`%o
125
+
126
+ %s
127
+
128
+ %s
129
+ `,X,Z,G)}function QQ(X){o$(X)}function j0(X,Z){try{a9=Z.source?p(Z.source):null,NY=null;var G=Z.value;if(b.actQueue!==null)b.thrownErrors.push(G);else{var $=X.onUncaughtError;$(G,{componentStack:Z.stack})}}catch(Y){setTimeout(function(){throw Y})}}function UQ(X,Z,G){try{a9=G.source?p(G.source):null,NY=p(Z);var $=X.onCaughtError;$(G.value,{componentStack:G.stack,errorBoundary:Z.tag===1?Z.stateNode:null})}catch(Y){setTimeout(function(){throw Y})}}function C3(X,Z,G){return G=T7(G),G.tag=qY,G.payload={element:null},G.callback=function(){s(Z.source,j0,X,Z)},G}function S3(X){return X=T7(X),X.tag=qY,X}function v3(X,Z,G,$){var Y=G.type.getDerivedStateFromError;if(typeof Y==="function"){var z=$.value;X.payload=function(){return Y(z)},X.callback=function(){ZJ(G),s($.source,UQ,Z,G,$)}}var J=G.stateNode;J!==null&&typeof J.componentDidCatch==="function"&&(X.callback=function(){ZJ(G),s($.source,UQ,Z,G,$),typeof Y!=="function"&&(o7===null?o7=new Set([this]):o7.add(this)),mR(this,$),typeof Y==="function"||(G.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.",p(G)||"Unknown")})}function Kq(X,Z,G,$,Y){if(G.flags|=32768,b6&&xX(X,Y),$!==null&&typeof $==="object"&&typeof $.then==="function"){if(Z=G.alternate,Z!==null&&Q9(Z,G,Y,!0),N2&&(j6=!0),G=S5.current,G!==null){switch(G.tag){case 31:case 13:return l5===null?l0():G.alternate===null&&G4===W7&&(G4=x1),G.flags&=-257,G.flags|=65536,G.lanes=Y,$===k1?G.flags|=16384:(Z=G.updateQueue,Z===null?G.updateQueue=new Set([$]):Z.add($),n3(X,$,Y)),!1;case 22:return G.flags|=65536,$===k1?G.flags|=16384:(Z=G.updateQueue,Z===null?(Z={transitions:null,markerInstances:null,retryQueue:new Set([$])},G.updateQueue=Z):(G=Z.retryQueue,G===null?Z.retryQueue=new Set([$]):G.add($)),n3(X,$,Y)),!1}throw Error("Unexpected Suspense handler tag ("+G.tag+"). This is a bug in React.")}return n3(X,$,Y),l0(),!1}if(N2)return j6=!0,Z=S5.current,Z!==null?((Z.flags&65536)===0&&(Z.flags|=256),Z.flags|=65536,Z.lanes=Y,$!==GY&&LX(_5(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:$}),G))):($!==GY&&LX(_5(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:$}),G)),X=X.current.alternate,X.flags|=65536,Y&=-Y,X.lanes|=Y,$=_5($,G),Y=C3(X.stateNode,$,Y),N0(X,Y),G4!==s7&&(G4=h8)),!1;var z=_5(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:$}),G);if(vZ===null?vZ=[z]:vZ.push(z),G4!==s7&&(G4=h8),Z===null)return!0;$=_5($,G),G=Z;do{switch(G.tag){case 3:return G.flags|=65536,X=Y&-Y,G.lanes|=X,X=C3(G.stateNode,$,X),N0(G,X),!1;case 1:if(Z=G.type,z=G.stateNode,(G.flags&128)===0&&(typeof Z.getDerivedStateFromError==="function"||z!==null&&typeof z.componentDidCatch==="function"&&(o7===null||!o7.has(z))))return G.flags|=65536,Y&=-Y,G.lanes|=Y,Y=S3(Y),v3(Y,X,G,$),N0(G,Y),!1}G=G.return}while(G!==null);return!1}function x4(X,Z,G,$){Z.child=X===null?fH(Z,null,G,$):D8(Z,X.child,G,$)}function BQ(X,Z,G,$,Y){G=G.render;var z=Z.ref;if("ref"in $){var J={};for(var U in $)U!=="ref"&&(J[U]=$[U])}else J=$;if(F8(Z),$=eG(X,Z,G,J,z,Y),U=Z3(),X!==null&&!O4)return G3(X,Z,Y),n6(X,Z,Y);return N2&&U&&xG(Z),Z.flags|=1,x4(X,Z,$,Y),Z.child}function HQ(X,Z,G,$,Y){if(X===null){var z=G.type;if(typeof z==="function"&&!yG(z)&&z.defaultProps===void 0&&G.compare===null)return G=R8(z),Z.tag=15,Z.type=G,g3(Z,z),WQ(X,Z,G,$,Y);return X=fG(G.type,null,$,Z,Z.mode,Y),X.ref=Z.ref,X.return=Z,Z.child=X}if(z=X.child,!x3(X,Y)){var J=z.memoizedProps;if(G=G.compare,G=G!==null?G:OX,G(J,$)&&X.ref===Z.ref)return n6(X,Z,Y)}return Z.flags|=1,X=c6(z,$),X.ref=Z.ref,X.return=Z,Z.child=X}function WQ(X,Z,G,$,Y){if(X!==null){var z=X.memoizedProps;if(OX(z,$)&&X.ref===Z.ref&&Z.type===X.type)if(O4=!1,Z.pendingProps=$=z,x3(X,Y))(X.flags&131072)!==0&&(O4=!0);else return Z.lanes=X.lanes,n6(X,Z,Y)}return k3(X,Z,G,$,Y)}function MQ(X,Z,G,$){var Y=$.children,z=X!==null?X.memoizedState:null;if(X===null&&Z.stateNode===null&&(Z.stateNode={_visibility:$Z,_pendingMarkers:null,_retryCache:null,_transitions:null}),$.mode==="hidden"){if((Z.flags&128)!==0){if(z=z!==null?z.baseLanes|G:G,X!==null){$=Z.child=X.child;for(Y=0;$!==null;)Y=Y|$.lanes|$.childLanes,$=$.sibling;$=Y&~z}else $=0,Z.child=null;return qQ(X,Z,z,G,$)}if((G&536870912)!==0)Z.memoizedState={baseLanes:0,cachePool:null},X!==null&&K0(Z,z!==null?z.cachePool:null),z!==null?vJ(Z,z):nG(Z),kJ(Z);else return $=Z.lanes=536870912,qQ(X,Z,z!==null?z.baseLanes|G:G,G,$)}else z!==null?(K0(Z,z.cachePool),vJ(Z,z),C7(Z),Z.memoizedState=null):(X!==null&&K0(Z,null),nG(Z),C7(Z));return x4(X,Z,Y,G),Z.child}function kX(X,Z){return X!==null&&X.tag===22||Z.stateNode!==null||(Z.stateNode={_visibility:$Z,_pendingMarkers:null,_retryCache:null,_transitions:null}),Z.sibling}function qQ(X,Z,G,$,Y){var z=cG();return z=z===null?null:{parent:q4._currentValue,pool:z},Z.memoizedState={baseLanes:G,cachePool:z},X!==null&&K0(Z,null),nG(Z),kJ(Z),X!==null&&Q9(X,Z,$,!0),Z.childLanes=Y,null}function V0(X,Z){var G=Z.hidden;return G!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
130
+ - <Activity %s>
131
+ + <Activity %s>`,G===!0?"hidden":G===!1?"hidden={false}":"hidden={...}",G?'mode="hidden"':'mode="visible"'),Z=D0({mode:Z.mode,children:Z.children},X.mode),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function KQ(X,Z,G){return D8(Z,X.child,null,G),X=V0(Z,Z.pendingProps),X.flags|=2,N5(Z),Z.memoizedState=null,X}function Rq(X,Z,G){var $=Z.pendingProps,Y=(Z.flags&128)!==0;if(Z.flags&=-129,X===null){if(N2){if($.mode==="hidden")return X=V0(Z,$),Z.lanes=536870912,kX(null,X);if(rG(Z),(X=o2)?(G=hU(X,u5),G=G!==null&&G.data===c8?G:null,G!==null&&($={dehydrated:G,treeContext:JJ(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=$,$=YJ(G),$.return=Z,Z.child=$,h4=Z,o2=null)):G=null,G===null)throw U0(Z,X),N7(Z);return Z.lanes=536870912,null}return V0(Z,$)}var z=X.memoizedState;if(z!==null){var J=z.dehydrated;if(rG(Z),Y)if(Z.flags&256)Z.flags&=-257,Z=KQ(X,Z,G);else if(Z.memoizedState!==null)Z.child=X.child,Z.flags|=128,Z=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(UJ(),(G&536870912)!==0&&d0(Z),O4||Q9(X,Z,G,!1),Y=(G&X.childLanes)!==0,O4||Y){if($=l2,$!==null&&(J=H8($,G),J!==0&&J!==z.retryLane))throw z.retryLane=J,u4(X,J),J4($,X,J),wY;l0(),Z=KQ(X,Z,G)}else X=z.treeContext,o2=A5(J.nextSibling),h4=Z,N2=!0,h7=null,j6=!1,C5=null,u5=!1,X!==null&&QJ(Z,X),Z=V0(Z,$),Z.flags|=4096;return Z}return z=X.child,$={mode:$.mode,children:$.children},(G&536870912)!==0&&(G&X.lanes)!==0&&d0(Z),X=c6(z,$),X.ref=Z.ref,Z.child=X,X.return=Z,X}function x0(X,Z){var G=Z.ref;if(G===null)X!==null&&X.ref!==null&&(Z.flags|=4194816);else{if(typeof G!=="function"&&typeof G!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(X===null||X.ref!==G)Z.flags|=4194816}}function k3(X,Z,G,$,Y){if(G.prototype&&typeof G.prototype.render==="function"){var z=w2(G)||"Unknown";XW[z]||(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.",z,z),XW[z]=!0)}if(Z.mode&l4&&X6.recordLegacyContextWarning(Z,null),X===null&&(g3(Z,Z.type),G.contextTypes&&(z=w2(G)||"Unknown",GW[z]||(GW[z]=!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)",z)))),F8(Z),G=eG(X,Z,G,$,void 0,Y),$=Z3(),X!==null&&!O4)return G3(X,Z,Y),n6(X,Z,Y);return N2&&$&&xG(Z),Z.flags|=1,x4(X,Z,G,Y),Z.child}function RQ(X,Z,G,$,Y,z){if(F8(Z),B7=-1,wZ=X!==null&&X.type!==Z.type,Z.updateQueue=null,G=X3(Z,$,G,Y),gJ(X,Z),$=Z3(),X!==null&&!O4)return G3(X,Z,z),n6(X,Z,z);return N2&&$&&xG(Z),Z.flags|=1,x4(X,Z,G,z),Z.child}function OQ(X,Z,G,$,Y){switch(A(Z)){case!1:var z=Z.stateNode,J=new Z.type(Z.memoizedProps,z.context).state;z.updater.enqueueSetState(z,J,null);break;case!0:Z.flags|=128,Z.flags|=65536,z=Error("Simulated error coming from DevTools");var U=Y&-Y;if(Z.lanes|=U,J=l2,J===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");U=S3(U),v3(U,J,Z,_5(z,Z)),N0(Z,U)}if(F8(Z),Z.stateNode===null){if(J=E7,z=G.contextType,"contextType"in G&&z!==null&&(z===void 0||z.$$typeof!==v6)&&!tH.has(G)&&(tH.add(G),U=z===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 z!=="object"?" However, it is set to a "+typeof z+".":z.$$typeof===A$?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(z).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",w2(G)||"Component",U)),typeof z==="object"&&z!==null&&(J=e2(z)),z=new G($,J),Z.mode&l4){p2(!0);try{z=new G($,J)}finally{p2(!1)}}if(J=Z.memoizedState=z.state!==null&&z.state!==void 0?z.state:null,z.updater=FY,Z.stateNode=z,z._reactInternals=Z,z._reactInternalInstance=lH,typeof G.getDerivedStateFromProps==="function"&&J===null&&(J=w2(G)||"Component",cH.has(J)||(cH.add(J),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.",J,z.state===null?"null":"undefined",J))),typeof G.getDerivedStateFromProps==="function"||typeof z.getSnapshotBeforeUpdate==="function"){var H=U=J=null;if(typeof z.componentWillMount==="function"&&z.componentWillMount.__suppressDeprecationWarning!==!0?J="componentWillMount":typeof z.UNSAFE_componentWillMount==="function"&&(J="UNSAFE_componentWillMount"),typeof z.componentWillReceiveProps==="function"&&z.componentWillReceiveProps.__suppressDeprecationWarning!==!0?U="componentWillReceiveProps":typeof z.UNSAFE_componentWillReceiveProps==="function"&&(U="UNSAFE_componentWillReceiveProps"),typeof z.componentWillUpdate==="function"&&z.componentWillUpdate.__suppressDeprecationWarning!==!0?H="componentWillUpdate":typeof z.UNSAFE_componentWillUpdate==="function"&&(H="UNSAFE_componentWillUpdate"),J!==null||U!==null||H!==null){z=w2(G)||"Component";var W=typeof G.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";aH.has(z)||(aH.add(z),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
132
+
133
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
134
+
135
+ The above lifecycles should be removed. Learn more about this warning here:
136
+ https://react.dev/link/unsafe-component-lifecycles`,z,W,J!==null?`
137
+ `+J:"",U!==null?`
138
+ `+U:"",H!==null?`
139
+ `+H:""))}}z=Z.stateNode,J=w2(G)||"Component",z.render||(G.prototype&&typeof G.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",J):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",J)),!z.getInitialState||z.getInitialState.isReactClassApproved||z.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?",J),z.getDefaultProps&&!z.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.",J),z.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",J),G.childContextTypes&&!rH.has(G)&&(rH.add(G),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",J)),G.contextTypes&&!oH.has(G)&&(oH.add(G),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)",J)),typeof z.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.",J),G.prototype&&G.prototype.isPureReactComponent&&typeof z.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.",w2(G)||"A pure component"),typeof z.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",J),typeof z.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().",J),typeof z.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",J),typeof z.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",J),U=z.props!==$,z.props!==void 0&&U&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",J),z.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.",J,J),typeof z.getSnapshotBeforeUpdate!=="function"||typeof z.componentDidUpdate==="function"||sH.has(G)||(sH.add(G),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",w2(G))),typeof z.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J),typeof z.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J),typeof G.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",J),(U=z.state)&&(typeof U!=="object"||w4(U))&&console.error("%s.state: must be set to an object or null",J),typeof z.getChildContext==="function"&&typeof G.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",J),z=Z.stateNode,z.props=$,z.state=Z.memoizedState,z.refs={},aG(Z),J=G.contextType,z.context=typeof J==="object"&&J!==null?e2(J):E7,z.state===$&&(J=w2(G)||"Component",iH.has(J)||(iH.add(J),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.",J))),Z.mode&l4&&X6.recordLegacyContextWarning(Z,z),X6.recordUnsafeLifecycleWarnings(Z,z),z.state=Z.memoizedState,J=G.getDerivedStateFromProps,typeof J==="function"&&(P3(Z,G,J,$),z.state=Z.memoizedState),typeof G.getDerivedStateFromProps==="function"||typeof z.getSnapshotBeforeUpdate==="function"||typeof z.UNSAFE_componentWillMount!=="function"&&typeof z.componentWillMount!=="function"||(J=z.state,typeof z.componentWillMount==="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount==="function"&&z.UNSAFE_componentWillMount(),J!==z.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",p(Z)||"Component"),FY.enqueueReplaceState(z,z.state,null)),PX(Z,$,z,Y),IX(),z.state=Z.memoizedState),typeof z.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e5)!==Z2&&(Z.flags|=134217728),z=!0}else if(X===null){z=Z.stateNode;var I=Z.memoizedProps;U=I8(G,I),z.props=U;var P=z.context;H=G.contextType,J=E7,typeof H==="object"&&H!==null&&(J=e2(H)),W=G.getDerivedStateFromProps,H=typeof W==="function"||typeof z.getSnapshotBeforeUpdate==="function",I=Z.pendingProps!==I,H||typeof z.UNSAFE_componentWillReceiveProps!=="function"&&typeof z.componentWillReceiveProps!=="function"||(I||P!==J)&&YQ(Z,z,$,J),c7=!1;var N=Z.memoizedState;z.state=N,PX(Z,$,z,Y),IX(),P=Z.memoizedState,I||N!==P||c7?(typeof W==="function"&&(P3(Z,G,W,$),P=Z.memoizedState),(U=c7||$Q(Z,G,U,$,N,P,J))?(H||typeof z.UNSAFE_componentWillMount!=="function"&&typeof z.componentWillMount!=="function"||(typeof z.componentWillMount==="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount==="function"&&z.UNSAFE_componentWillMount()),typeof z.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e5)!==Z2&&(Z.flags|=134217728)):(typeof z.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e5)!==Z2&&(Z.flags|=134217728),Z.memoizedProps=$,Z.memoizedState=P),z.props=$,z.state=P,z.context=J,z=U):(typeof z.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e5)!==Z2&&(Z.flags|=134217728),z=!1)}else{z=Z.stateNode,iG(X,Z),J=Z.memoizedProps,H=I8(G,J),z.props=H,W=Z.pendingProps,N=z.context,P=G.contextType,U=E7,typeof P==="object"&&P!==null&&(U=e2(P)),I=G.getDerivedStateFromProps,(P=typeof I==="function"||typeof z.getSnapshotBeforeUpdate==="function")||typeof z.UNSAFE_componentWillReceiveProps!=="function"&&typeof z.componentWillReceiveProps!=="function"||(J!==W||N!==U)&&YQ(Z,z,$,U),c7=!1,N=Z.memoizedState,z.state=N,PX(Z,$,z,Y),IX();var v=Z.memoizedState;J!==W||N!==v||c7||X!==null&&X.dependencies!==null&&H0(X.dependencies)?(typeof I==="function"&&(P3(Z,G,I,$),v=Z.memoizedState),(H=c7||$Q(Z,G,H,$,N,v,U)||X!==null&&X.dependencies!==null&&H0(X.dependencies))?(P||typeof z.UNSAFE_componentWillUpdate!=="function"&&typeof z.componentWillUpdate!=="function"||(typeof z.componentWillUpdate==="function"&&z.componentWillUpdate($,v,U),typeof z.UNSAFE_componentWillUpdate==="function"&&z.UNSAFE_componentWillUpdate($,v,U)),typeof z.componentDidUpdate==="function"&&(Z.flags|=4),typeof z.getSnapshotBeforeUpdate==="function"&&(Z.flags|=1024)):(typeof z.componentDidUpdate!=="function"||J===X.memoizedProps&&N===X.memoizedState||(Z.flags|=4),typeof z.getSnapshotBeforeUpdate!=="function"||J===X.memoizedProps&&N===X.memoizedState||(Z.flags|=1024),Z.memoizedProps=$,Z.memoizedState=v),z.props=$,z.state=v,z.context=U,z=H):(typeof z.componentDidUpdate!=="function"||J===X.memoizedProps&&N===X.memoizedState||(Z.flags|=4),typeof z.getSnapshotBeforeUpdate!=="function"||J===X.memoizedProps&&N===X.memoizedState||(Z.flags|=1024),z=!1)}if(U=z,x0(X,Z),J=(Z.flags&128)!==0,U||J){if(U=Z.stateNode,e8(Z),J&&typeof G.getDerivedStateFromError!=="function")G=null,r4=-1;else if(G=FH(U),Z.mode&l4){p2(!0);try{FH(U)}finally{p2(!1)}}Z.flags|=1,X!==null&&J?(Z.child=D8(Z,X.child,null,Y),Z.child=D8(Z,null,G,Y)):x4(X,Z,G,Y),Z.memoizedState=U.state,X=Z.child}else X=n6(X,Z,Y);return Y=Z.stateNode,z&&Y.props!==$&&(i9||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",p(Z)||"a component"),i9=!0),X}function _Q(X,Z,G,$){return L8(),Z.flags|=256,x4(X,Z,G,$),Z.child}function g3(X,Z){Z&&Z.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
140
+ %s.childContextTypes = ...`,Z.displayName||Z.name||"Component"),typeof Z.getDerivedStateFromProps==="function"&&(X=w2(Z)||"Unknown",$W[X]||(console.error("%s: Function components do not support getDerivedStateFromProps.",X),$W[X]=!0)),typeof Z.contextType==="object"&&Z.contextType!==null&&(Z=w2(Z)||"Unknown",ZW[Z]||(console.error("%s: Function components do not support contextType.",Z),ZW[Z]=!0))}function b3(X){return{baseLanes:X,cachePool:RJ()}}function y3(X,Z,G){return X=X!==null?X.childLanes&~G:0,Z&&(X|=Q5),X}function LQ(X,Z,G){var $,Y=Z.pendingProps;O(Z)&&(Z.flags|=128);var z=!1,J=(Z.flags&128)!==0;if(($=J)||($=X!==null&&X.memoizedState===null?!1:(H4.current&FZ)!==0),$&&(z=!0,Z.flags&=-129),$=(Z.flags&32)!==0,Z.flags&=-33,X===null){if(N2){if(z?P7(Z):C7(Z),(X=o2)?(G=hU(X,u5),G=G!==null&&G.data!==c8?G:null,G!==null&&($={dehydrated:G,treeContext:JJ(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=$,$=YJ(G),$.return=Z,Z.child=$,h4=Z,o2=null)):G=null,G===null)throw U0(Z,X),N7(Z);return W$(G)?Z.lanes=32:Z.lanes=536870912,null}var U=Y.children;if(Y=Y.fallback,z){C7(Z);var H=Z.mode;return U=D0({mode:"hidden",children:U},H),Y=O8(Y,H,G,null),U.return=Z,Y.return=Z,U.sibling=Y,Z.child=U,Y=Z.child,Y.memoizedState=b3(G),Y.childLanes=y3(X,$,G),Z.memoizedState=AY,kX(null,Y)}return P7(Z),f3(Z,U)}var W=X.memoizedState;if(W!==null){var I=W.dehydrated;if(I!==null){if(J)Z.flags&256?(P7(Z),Z.flags&=-257,Z=j3(X,Z,G)):Z.memoizedState!==null?(C7(Z),Z.child=X.child,Z.flags|=128,Z=null):(C7(Z),U=Y.fallback,H=Z.mode,Y=D0({mode:"visible",children:Y.children},H),U=O8(U,H,G,null),U.flags|=2,Y.return=Z,U.return=Z,Y.sibling=U,Z.child=Y,D8(Z,X.child,null,G),Y=Z.child,Y.memoizedState=b3(G),Y.childLanes=y3(X,$,G),Z.memoizedState=AY,Z=kX(null,Y));else if(P7(Z),UJ(),(G&536870912)!==0&&d0(Z),W$(I)){if($=I.nextSibling&&I.nextSibling.dataset,$){U=$.dgst;var P=$.msg;H=$.stck;var N=$.cstck}z=P,$=U,Y=H,I=N,U=z,H=I,U=U?Error(U):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),U.stack=Y||"",U.digest=$,$=H===void 0?null:H,Y={value:U,source:null,stack:$},typeof $==="string"&&ZY.set(U,Y),LX(Y),Z=j3(X,Z,G)}else if(O4||Q9(X,Z,G,!1),$=(G&X.childLanes)!==0,O4||$){if($=l2,$!==null&&(Y=H8($,G),Y!==0&&Y!==W.retryLane))throw W.retryLane=Y,u4(X,Y),J4($,X,Y),wY;H$(I)||l0(),Z=j3(X,Z,G)}else H$(I)?(Z.flags|=192,Z.child=X.child,Z=null):(X=W.treeContext,o2=A5(I.nextSibling),h4=Z,N2=!0,h7=null,j6=!1,C5=null,u5=!1,X!==null&&QJ(Z,X),Z=f3(Z,Y.children),Z.flags|=4096);return Z}}if(z)return C7(Z),U=Y.fallback,H=Z.mode,N=X.child,I=N.sibling,Y=c6(N,{mode:"hidden",children:Y.children}),Y.subtreeFlags=N.subtreeFlags&65011712,I!==null?U=c6(I,U):(U=O8(U,H,G,null),U.flags|=2),U.return=Z,Y.return=Z,Y.sibling=U,Z.child=Y,kX(null,Y),Y=Z.child,U=X.child.memoizedState,U===null?U=b3(G):(H=U.cachePool,H!==null?(N=q4._currentValue,H=H.parent!==N?{parent:N,pool:N}:H):H=RJ(),U={baseLanes:U.baseLanes|G,cachePool:H}),Y.memoizedState=U,Y.childLanes=y3(X,$,G),Z.memoizedState=AY,kX(X.child,Y);return W!==null&&(G&62914560)===G&&(G&X.lanes)!==0&&d0(Z),P7(Z),G=X.child,X=G.sibling,G=c6(G,{mode:"visible",children:Y.children}),G.return=Z,G.sibling=null,X!==null&&($=Z.deletions,$===null?(Z.deletions=[X],Z.flags|=16):$.push(X)),Z.child=G,Z.memoizedState=null,G}function f3(X,Z){return Z=D0({mode:"visible",children:Z},X.mode),Z.return=X,X.child=Z}function D0(X,Z){return X=k(22,X,null,Z),X.lanes=0,X}function j3(X,Z,G){return D8(Z,X.child,null,G),X=f3(Z,Z.pendingProps.children),X.flags|=2,Z.memoizedState=null,X}function FQ(X,Z,G){X.lanes|=Z;var $=X.alternate;$!==null&&($.lanes|=Z),mG(X.return,Z,G)}function V3(X,Z,G,$,Y,z){var J=X.memoizedState;J===null?X.memoizedState={isBackwards:Z,rendering:null,renderingStartTime:0,last:$,tail:G,tailMode:Y,treeForkCount:z}:(J.isBackwards=Z,J.rendering=null,J.renderingStartTime=0,J.last=$,J.tail=G,J.tailMode=Y,J.treeForkCount=z)}function NQ(X,Z,G){var $=Z.pendingProps,Y=$.revealOrder,z=$.tail,J=$.children,U=H4.current;if(($=(U&FZ)!==0)?(U=U&p9|FZ,Z.flags|=128):U&=p9,F2(H4,U,Z),U=Y==null?"null":Y,Y!=="forwards"&&Y!=="unstable_legacy-backwards"&&Y!=="together"&&Y!=="independent"&&!YW[U])if(YW[U]=!0,Y==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(Y==="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 Y==="string")switch(Y.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.',Y,Y.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.',Y,Y.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Y)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Y);if(U=z==null?"null":z,!V1[U])if(z==null){if(Y==="forwards"||Y==="backwards"||Y==="unstable_legacy-backwards")V1[U]=!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".')}else z!=="visible"&&z!=="collapsed"&&z!=="hidden"?(V1[U]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',z)):Y!=="forwards"&&Y!=="backwards"&&Y!=="unstable_legacy-backwards"&&(V1[U]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',z));X:if((Y==="forwards"||Y==="backwards"||Y==="unstable_legacy-backwards")&&J!==void 0&&J!==null&&J!==!1)if(w4(J)){for(U=0;U<J.length;U++)if(!PJ(J[U],U))break X}else if(U=N4(J),typeof U==="function"){if(U=U.call(J))for(var H=U.next(),W=0;!H.done;H=U.next()){if(!PJ(H.value,W))break X;W++}}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?',Y);if(x4(X,Z,J,G),N2?(F7(),J=YZ):J=0,!$&&X!==null&&(X.flags&128)!==0)X:for(X=Z.child;X!==null;){if(X.tag===13)X.memoizedState!==null&&FQ(X,G,Z);else if(X.tag===19)FQ(X,G,Z);else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break X;for(;X.sibling===null;){if(X.return===null||X.return===Z)break X;X=X.return}X.sibling.return=X.return,X=X.sibling}switch(Y){case"forwards":G=Z.child;for(Y=null;G!==null;)X=G.alternate,X!==null&&w0(X)===null&&(Y=G),G=G.sibling;G=Y,G===null?(Y=Z.child,Z.child=null):(Y=G.sibling,G.sibling=null),V3(Z,!1,Y,G,z,J);break;case"backwards":case"unstable_legacy-backwards":G=null,Y=Z.child;for(Z.child=null;Y!==null;){if(X=Y.alternate,X!==null&&w0(X)===null){Z.child=Y;break}X=Y.sibling,Y.sibling=G,G=Y,Y=X}V3(Z,!0,G,null,z,J);break;case"together":V3(Z,!1,null,null,void 0,J);break;default:Z.memoizedState=null}return Z.child}function n6(X,Z,G){if(X!==null&&(Z.dependencies=X.dependencies),r4=-1,i7|=Z.lanes,(G&Z.childLanes)===0)if(X!==null){if(Q9(X,Z,G,!1),(G&Z.childLanes)===0)return null}else return null;if(X!==null&&Z.child!==X.child)throw Error("Resuming work not yet implemented.");if(Z.child!==null){X=Z.child,G=c6(X,X.pendingProps),Z.child=G;for(G.return=Z;X.sibling!==null;)X=X.sibling,G=G.sibling=c6(X,X.pendingProps),G.return=Z;G.sibling=null}return Z.child}function x3(X,Z){if((X.lanes&Z)!==0)return!0;return X=X.dependencies,X!==null&&H0(X)?!0:!1}function Oq(X,Z,G){switch(Z.tag){case 3:l(Z,Z.stateNode.containerInfo),w7(Z,q4,X.memoizedState.cache),L8();break;case 27:case 5:f2(Z);break;case 4:l(Z,Z.stateNode.containerInfo);break;case 10:w7(Z,Z.type,Z.memoizedProps.value);break;case 12:(G&Z.childLanes)!==0&&(Z.flags|=4),Z.flags|=2048;var $=Z.stateNode;$.effectDuration=-0,$.passiveEffectDuration=-0;break;case 31:if(Z.memoizedState!==null)return Z.flags|=128,rG(Z),null;break;case 13:if($=Z.memoizedState,$!==null){if($.dehydrated!==null)return P7(Z),Z.flags|=128,null;if((G&Z.child.childLanes)!==0)return LQ(X,Z,G);return P7(Z),X=n6(X,Z,G),X!==null?X.sibling:null}P7(Z);break;case 19:var Y=(X.flags&128)!==0;if($=(G&Z.childLanes)!==0,$||(Q9(X,Z,G,!1),$=(G&Z.childLanes)!==0),Y){if($)return NQ(X,Z,G);Z.flags|=128}if(Y=Z.memoizedState,Y!==null&&(Y.rendering=null,Y.tail=null,Y.lastEffect=null),F2(H4,H4.current,Z),$)break;else return null;case 22:return Z.lanes=0,MQ(X,Z,G,Z.pendingProps);case 24:w7(Z,q4,X.memoizedState.cache)}return n6(X,Z,G)}function D3(X,Z,G){if(Z._debugNeedsRemount&&X!==null){G=fG(Z.type,Z.key,Z.pendingProps,Z._debugOwner||null,Z.mode,Z.lanes),G._debugStack=Z._debugStack,G._debugTask=Z._debugTask;var $=Z.return;if($===null)throw Error("Cannot swap the root fiber.");if(X.alternate=null,Z.alternate=null,G.index=Z.index,G.sibling=Z.sibling,G.return=Z.return,G.ref=Z.ref,G._debugInfo=Z._debugInfo,Z===$.child)$.child=G;else{var Y=$.child;if(Y===null)throw Error("Expected parent to have a child.");for(;Y.sibling!==Z;)if(Y=Y.sibling,Y===null)throw Error("Expected to find the previous sibling.");Y.sibling=G}return Z=$.deletions,Z===null?($.deletions=[X],$.flags|=16):Z.push(X),G.flags|=2,G}if(X!==null)if(X.memoizedProps!==Z.pendingProps||Z.type!==X.type)O4=!0;else{if(!x3(X,G)&&(Z.flags&128)===0)return O4=!1,Oq(X,Z,G);O4=(X.flags&131072)!==0?!0:!1}else{if(O4=!1,$=N2)F7(),$=(Z.flags&1048576)!==0;$&&($=Z.index,F7(),zJ(Z,YZ,$))}switch(Z.lanes=0,Z.tag){case 16:X:if($=Z.pendingProps,X=A7(Z.elementType),Z.type=X,typeof X==="function")yG(X)?($=I8(X,$),Z.tag=1,Z.type=X=R8(X),Z=OQ(null,Z,X,$,G)):(Z.tag=0,g3(Z,X),Z.type=X=R8(X),Z=k3(null,Z,X,$,G));else{if(X!==void 0&&X!==null){if(Y=X.$$typeof,Y===cX){Z.tag=11,Z.type=X=bG(X),Z=BQ(null,Z,X,$,G);break X}else if(Y===$1){Z.tag=14,Z=HQ(null,Z,X,$,G);break X}}throw Z="",X!==null&&typeof X==="object"&&X.$$typeof===T5&&(Z=" Did you wrap a component in React.lazy() more than once?"),G=w2(X)||X,Error("Element type is invalid. Received a promise that resolves to: "+G+". Lazy element type must resolve to a class or function."+Z)}return Z;case 0:return k3(X,Z,Z.type,Z.pendingProps,G);case 1:return $=Z.type,Y=I8($,Z.pendingProps),OQ(X,Z,$,Y,G);case 3:X:{if(l(Z,Z.stateNode.containerInfo),X===null)throw Error("Should have a current fiber. This is a bug in React.");$=Z.pendingProps;var z=Z.memoizedState;Y=z.element,iG(X,Z),PX(Z,$,null,G);var J=Z.memoizedState;if($=J.cache,w7(Z,q4,$),$!==z.cache&&uG(Z,[q4],G,!0),IX(),$=J.element,z.isDehydrated)if(z={element:$,isDehydrated:!1,cache:J.cache},Z.updateQueue.baseState=z,Z.memoizedState=z,Z.flags&256){Z=_Q(X,Z,$,G);break X}else if($!==Y){Y=_5(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Z),LX(Y),Z=_Q(X,Z,$,G);break X}else{switch(X=Z.stateNode.containerInfo,X.nodeType){case 9:X=X.body;break;default:X=X.nodeName==="HTML"?X.ownerDocument.body:X}o2=A5(X.firstChild),h4=Z,N2=!0,h7=null,j6=!1,C5=null,u5=!0,G=fH(Z,null,$,G);for(Z.child=G;G;)G.flags=G.flags&-3|4096,G=G.sibling}else{if(L8(),$===Y){Z=n6(X,Z,G);break X}x4(X,Z,$,G)}Z=Z.child}return Z;case 26:return x0(X,Z),X===null?(G=cU(Z.type,null,Z.pendingProps,null))?Z.memoizedState=G:N2||(G=Z.type,X=Z.pendingProps,$=j4(y7.current),$=a0($).createElement(G),$[E4]=Z,$[i4]=X,D4($,G,X),o($),Z.stateNode=$):Z.memoizedState=cU(Z.type,X.memoizedProps,Z.pendingProps,X.memoizedState),null;case 27:return f2(Z),X===null&&N2&&($=j4(y7.current),Y=t(),$=Z.stateNode=lU(Z.type,Z.pendingProps,$,Y,!1),j6||(Y=bU($,Z.type,Z.pendingProps,Y),Y!==null&&(_8(Z,0).serverProps=Y)),h4=Z,u5=!0,Y=o2,g7(Z.type)?(cY=Y,o2=A5($.firstChild)):o2=Y),x4(X,Z,Z.pendingProps.children,G),x0(X,Z),X===null&&(Z.flags|=4194304),Z.child;case 5:return X===null&&N2&&(z=t(),$=TG(Z.type,z.ancestorInfo),Y=o2,(J=!Y)||(J=YK(Y,Z.type,Z.pendingProps,u5),J!==null?(Z.stateNode=J,j6||(z=bU(J,Z.type,Z.pendingProps,z),z!==null&&(_8(Z,0).serverProps=z)),h4=Z,o2=A5(J.firstChild),u5=!1,z=!0):z=!1,J=!z),J&&($&&U0(Z,Y),N7(Z))),f2(Z),Y=Z.type,z=Z.pendingProps,J=X!==null?X.memoizedProps:null,$=z.children,U$(Y,z)?$=null:J!==null&&U$(Y,J)&&(Z.flags|=32),Z.memoizedState!==null&&(Y=eG(X,Z,Uq,null,null,G),DZ._currentValue=Y),x0(X,Z),x4(X,Z,$,G),Z.child;case 6:return X===null&&N2&&(G=Z.pendingProps,X=t(),$=X.ancestorInfo.current,G=$!=null?tZ(G,$.tag,X.ancestorInfo.implicitRootScope):!0,X=o2,($=!X)||($=zK(X,Z.pendingProps,u5),$!==null?(Z.stateNode=$,h4=Z,o2=null,$=!0):$=!1,$=!$),$&&(G&&U0(Z,X),N7(Z))),null;case 13:return LQ(X,Z,G);case 4:return l(Z,Z.stateNode.containerInfo),$=Z.pendingProps,X===null?Z.child=D8(Z,null,$,G):x4(X,Z,$,G),Z.child;case 11:return BQ(X,Z,Z.type,Z.pendingProps,G);case 7:return x4(X,Z,Z.pendingProps,G),Z.child;case 8:return x4(X,Z,Z.pendingProps.children,G),Z.child;case 12:return Z.flags|=4,Z.flags|=2048,$=Z.stateNode,$.effectDuration=-0,$.passiveEffectDuration=-0,x4(X,Z,Z.pendingProps.children,G),Z.child;case 10:return $=Z.type,Y=Z.pendingProps,z=Y.value,"value"in Y||zW||(zW=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),w7(Z,$,z),x4(X,Z,Y.children,G),Z.child;case 9:return Y=Z.type._context,$=Z.pendingProps.children,typeof $!=="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."),F8(Z),Y=e2(Y),$=BY($,Y,void 0),Z.flags|=1,x4(X,Z,$,G),Z.child;case 14:return HQ(X,Z,Z.type,Z.pendingProps,G);case 15:return WQ(X,Z,Z.type,Z.pendingProps,G);case 19:return NQ(X,Z,G);case 31:return Rq(X,Z,G);case 22:return MQ(X,Z,G,Z.pendingProps);case 24:return F8(Z),$=e2(q4),X===null?(Y=cG(),Y===null&&(Y=l2,z=dG(),Y.pooledCache=z,N8(z),z!==null&&(Y.pooledCacheLanes|=G),Y=z),Z.memoizedState={parent:$,cache:Y},aG(Z),w7(Z,q4,Y)):((X.lanes&G)!==0&&(iG(X,Z),PX(Z,null,null,G),IX()),Y=X.memoizedState,z=Z.memoizedState,Y.parent!==$?(Y={parent:$,cache:$},Z.memoizedState=Y,Z.lanes===0&&(Z.memoizedState=Z.updateQueue.baseState=Y),w7(Z,q4,$)):($=z.cache,w7(Z,q4,$),$!==Y.cache&&uG(Z,[q4],G,!0))),x4(X,Z,Z.pendingProps.children,G),Z.child;case 29:throw Z.pendingProps}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function o6(X){X.flags|=4}function E3(X,Z,G,$,Y){if(Z=(X.mode&xR)!==Z2)Z=!1;if(Z){if(X.flags|=16777216,(Y&335544128)===Y)if(X.stateNode.complete)X.flags|=8192;else if(eQ())X.flags|=8192;else throw x8=k1,WY}else X.flags&=-16777217}function wQ(X,Z){if(Z.type!=="stylesheet"||(Z.state.loading&s5)!==i8)X.flags&=-16777217;else if(X.flags|=16777216,!oU(Z))if(eQ())X.flags|=8192;else throw x8=k1,WY}function E0(X,Z){Z!==null&&(X.flags|=4),X.flags&16384&&(Z=X.tag!==22?Z9():536870912,X.lanes|=Z,d8|=Z)}function gX(X,Z){if(!N2)switch(X.tailMode){case"hidden":Z=X.tail;for(var G=null;Z!==null;)Z.alternate!==null&&(G=Z),Z=Z.sibling;G===null?X.tail=null:G.sibling=null;break;case"collapsed":G=X.tail;for(var $=null;G!==null;)G.alternate!==null&&($=G),G=G.sibling;$===null?Z||X.tail===null?X.tail=null:X.tail.sibling=null:$.sibling=null}}function c2(X){var Z=X.alternate!==null&&X.alternate.child===X.child,G=0,$=0;if(Z)if((X.mode&H2)!==Z2){for(var{selfBaseDuration:Y,child:z}=X;z!==null;)G|=z.lanes|z.childLanes,$|=z.subtreeFlags&65011712,$|=z.flags&65011712,Y+=z.treeBaseDuration,z=z.sibling;X.treeBaseDuration=Y}else for(Y=X.child;Y!==null;)G|=Y.lanes|Y.childLanes,$|=Y.subtreeFlags&65011712,$|=Y.flags&65011712,Y.return=X,Y=Y.sibling;else if((X.mode&H2)!==Z2){Y=X.actualDuration,z=X.selfBaseDuration;for(var J=X.child;J!==null;)G|=J.lanes|J.childLanes,$|=J.subtreeFlags,$|=J.flags,Y+=J.actualDuration,z+=J.treeBaseDuration,J=J.sibling;X.actualDuration=Y,X.treeBaseDuration=z}else for(Y=X.child;Y!==null;)G|=Y.lanes|Y.childLanes,$|=Y.subtreeFlags,$|=Y.flags,Y.return=X,Y=Y.sibling;return X.subtreeFlags|=$,X.childLanes=G,Z}function _q(X,Z,G){var $=Z.pendingProps;switch(DG(Z),Z.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return c2(Z),null;case 1:return c2(Z),null;case 3:if(G=Z.stateNode,$=null,X!==null&&($=X.memoizedState.cache),Z.memoizedState.cache!==$&&(Z.flags|=2048),a6(q4,Z),X2(Z),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),X===null||X.child===null)J9(Z)?(hG(),o6(Z)):X===null||X.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,EG());return c2(Z),null;case 26:var{type:Y,memoizedState:z}=Z;return X===null?(o6(Z),z!==null?(c2(Z),wQ(Z,z)):(c2(Z),E3(Z,Y,null,$,G))):z?z!==X.memoizedState?(o6(Z),c2(Z),wQ(Z,z)):(c2(Z),Z.flags&=-16777217):(X=X.memoizedProps,X!==$&&o6(Z),c2(Z),E3(Z,Y,X,$,G)),null;case 27:if(j2(Z),G=j4(y7.current),Y=Z.type,X!==null&&Z.stateNode!=null)X.memoizedProps!==$&&o6(Z);else{if(!$){if(Z.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 c2(Z),null}X=t(),J9(Z)?BJ(Z,X):(X=lU(Y,$,G,X,!0),Z.stateNode=X,o6(Z))}return c2(Z),null;case 5:if(j2(Z),Y=Z.type,X!==null&&Z.stateNode!=null)X.memoizedProps!==$&&o6(Z);else{if(!$){if(Z.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 c2(Z),null}var J=t();if(J9(Z))BJ(Z,J);else{switch(z=j4(y7.current),TG(Y,J.ancestorInfo),J=J.context,z=a0(z),J){case GX:z=z.createElementNS(C9,Y);break;case ZG:z=z.createElementNS(H1,Y);break;default:switch(Y){case"svg":z=z.createElementNS(C9,Y);break;case"math":z=z.createElementNS(H1,Y);break;case"script":z=z.createElement("div"),z.innerHTML="<script></script>",z=z.removeChild(z.firstChild);break;case"select":z=typeof $.is==="string"?z.createElement("select",{is:$.is}):z.createElement("select"),$.multiple?z.multiple=!0:$.size&&(z.size=$.size);break;default:z=typeof $.is==="string"?z.createElement(Y,{is:$.is}):z.createElement(Y),Y.indexOf("-")===-1&&(Y!==Y.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",Y),Object.prototype.toString.call(z)!=="[object HTMLUnknownElement]"||r5.call(kW,Y)||(kW[Y]=!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.",Y)))}}z[E4]=Z,z[i4]=$;X:for(J=Z.child;J!==null;){if(J.tag===5||J.tag===6)z.appendChild(J.stateNode);else if(J.tag!==4&&J.tag!==27&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===Z)break X;for(;J.sibling===null;){if(J.return===null||J.return===Z)break X;J=J.return}J.sibling.return=J.return,J=J.sibling}Z.stateNode=z;X:switch(D4(z,Y,$),Y){case"button":case"input":case"select":case"textarea":$=!!$.autoFocus;break X;case"img":$=!0;break X;default:$=!1}$&&o6(Z)}}return c2(Z),E3(Z,Z.type,X===null?null:X.memoizedProps,Z.pendingProps,G),null;case 6:if(X&&Z.stateNode!=null)X.memoizedProps!==$&&o6(Z);else{if(typeof $!=="string"&&Z.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(X=j4(y7.current),G=t(),J9(Z)){if(X=Z.stateNode,G=Z.memoizedProps,Y=!j6,$=null,z=h4,z!==null)switch(z.tag){case 3:Y&&(Y=uU(X,G,$),Y!==null&&(_8(Z,0).serverProps=Y));break;case 27:case 5:$=z.memoizedProps,Y&&(Y=uU(X,G,$),Y!==null&&(_8(Z,0).serverProps=Y))}X[E4]=Z,X=X.nodeValue===G||$!==null&&$.suppressHydrationWarning===!0||CU(X.nodeValue,G)?!0:!1,X||N7(Z,!0)}else Y=G.ancestorInfo.current,Y!=null&&tZ($,Y.tag,G.ancestorInfo.implicitRootScope),X=a0(X).createTextNode($),X[E4]=Z,Z.stateNode=X}return c2(Z),null;case 31:if(G=Z.memoizedState,X===null||X.memoizedState!==null){if($=J9(Z),G!==null){if(X===null){if(!$)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(X=Z.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");X[E4]=Z,c2(Z),(Z.mode&H2)!==Z2&&G!==null&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration))}else hG(),L8(),(Z.flags&128)===0&&(G=Z.memoizedState=null),Z.flags|=4,c2(Z),(Z.mode&H2)!==Z2&&G!==null&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration));X=!1}else G=EG(),X!==null&&X.memoizedState!==null&&(X.memoizedState.hydrationErrors=G),X=!0;if(!X){if(Z.flags&256)return N5(Z),Z;return N5(Z),null}if((Z.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return c2(Z),null;case 13:if($=Z.memoizedState,X===null||X.memoizedState!==null&&X.memoizedState.dehydrated!==null){if(Y=$,z=J9(Z),Y!==null&&Y.dehydrated!==null){if(X===null){if(!z)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(z=Z.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z[E4]=Z,c2(Z),(Z.mode&H2)!==Z2&&Y!==null&&(Y=Z.child,Y!==null&&(Z.treeBaseDuration-=Y.treeBaseDuration))}else hG(),L8(),(Z.flags&128)===0&&(Y=Z.memoizedState=null),Z.flags|=4,c2(Z),(Z.mode&H2)!==Z2&&Y!==null&&(Y=Z.child,Y!==null&&(Z.treeBaseDuration-=Y.treeBaseDuration));Y=!1}else Y=EG(),X!==null&&X.memoizedState!==null&&(X.memoizedState.hydrationErrors=Y),Y=!0;if(!Y){if(Z.flags&256)return N5(Z),Z;return N5(Z),null}}if(N5(Z),(Z.flags&128)!==0)return Z.lanes=G,(Z.mode&H2)!==Z2&&wX(Z),Z;return G=$!==null,X=X!==null&&X.memoizedState!==null,G&&($=Z.child,Y=null,$.alternate!==null&&$.alternate.memoizedState!==null&&$.alternate.memoizedState.cachePool!==null&&(Y=$.alternate.memoizedState.cachePool.pool),z=null,$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(z=$.memoizedState.cachePool.pool),z!==Y&&($.flags|=2048)),G!==X&&G&&(Z.child.flags|=8192),E0(Z,Z.updateQueue),c2(Z),(Z.mode&H2)!==Z2&&G&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration)),null;case 4:return X2(Z),X===null&&Z$(Z.stateNode.containerInfo),c2(Z),null;case 10:return a6(Z.type,Z),c2(Z),null;case 19:if(v2(H4,Z),$=Z.memoizedState,$===null)return c2(Z),null;if(Y=(Z.flags&128)!==0,z=$.rendering,z===null)if(Y)gX($,!1);else{if(G4!==W7||X!==null&&(X.flags&128)!==0)for(X=Z.child;X!==null;){if(z=w0(X),z!==null){Z.flags|=128,gX($,!1),X=z.updateQueue,Z.updateQueue=X,E0(Z,X),Z.subtreeFlags=0,X=G;for(G=Z.child;G!==null;)$J(G,X),G=G.sibling;return F2(H4,H4.current&p9|FZ,Z),N2&&s6(Z,$.treeForkCount),Z.child}X=X.sibling}$.tail!==null&&v4()>d1&&(Z.flags|=128,Y=!0,gX($,!1),Z.lanes=4194304)}else{if(!Y)if(X=w0(z),X!==null){if(Z.flags|=128,Y=!0,X=X.updateQueue,Z.updateQueue=X,E0(Z,X),gX($,!0),$.tail===null&&$.tailMode==="hidden"&&!z.alternate&&!N2)return c2(Z),null}else 2*v4()-$.renderingStartTime>d1&&G!==536870912&&(Z.flags|=128,Y=!0,gX($,!1),Z.lanes=4194304);$.isBackwards?(z.sibling=Z.child,Z.child=z):(X=$.last,X!==null?X.sibling=z:Z.child=z,$.last=z)}if($.tail!==null)return X=$.tail,$.rendering=X,$.tail=X.sibling,$.renderingStartTime=v4(),X.sibling=null,G=H4.current,G=Y?G&p9|FZ:G&p9,F2(H4,G,Z),N2&&s6(Z,$.treeForkCount),X;return c2(Z),null;case 22:case 23:return N5(Z),oG(Z),$=Z.memoizedState!==null,X!==null?X.memoizedState!==null!==$&&(Z.flags|=8192):$&&(Z.flags|=8192),$?(G&536870912)!==0&&(Z.flags&128)===0&&(c2(Z),Z.subtreeFlags&6&&(Z.flags|=8192)):c2(Z),G=Z.updateQueue,G!==null&&E0(Z,G.retryQueue),G=null,X!==null&&X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(G=X.memoizedState.cachePool.pool),$=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&($=Z.memoizedState.cachePool.pool),$!==G&&(Z.flags|=2048),X!==null&&v2(j8,Z),null;case 24:return G=null,X!==null&&(G=X.memoizedState.cache),Z.memoizedState.cache!==G&&(Z.flags|=2048),a6(q4,Z),c2(Z),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Lq(X,Z){switch(DG(Z),Z.tag){case 1:return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&H2)!==Z2&&wX(Z),Z):null;case 3:return a6(q4,Z),X2(Z),X=Z.flags,(X&65536)!==0&&(X&128)===0?(Z.flags=X&-65537|128,Z):null;case 26:case 27:case 5:return j2(Z),null;case 31:if(Z.memoizedState!==null){if(N5(Z),Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");L8()}return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&H2)!==Z2&&wX(Z),Z):null;case 13:if(N5(Z),X=Z.memoizedState,X!==null&&X.dehydrated!==null){if(Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");L8()}return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&H2)!==Z2&&wX(Z),Z):null;case 19:return v2(H4,Z),null;case 4:return X2(Z),null;case 10:return a6(Z.type,Z),null;case 22:case 23:return N5(Z),oG(Z),X!==null&&v2(j8,Z),X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&H2)!==Z2&&wX(Z),Z):null;case 24:return a6(q4,Z),null;case 25:return null;default:return null}}function AQ(X,Z){switch(DG(Z),Z.tag){case 3:a6(q4,Z),X2(Z);break;case 26:case 27:case 5:j2(Z);break;case 4:X2(Z);break;case 31:Z.memoizedState!==null&&N5(Z);break;case 13:N5(Z);break;case 19:v2(H4,Z);break;case 10:a6(Z.type,Z);break;case 22:case 23:N5(Z),oG(Z),X!==null&&v2(j8,Z);break;case 24:a6(q4,Z)}}function w6(X){return(X.mode&H2)!==Z2}function TQ(X,Z){w6(X)?(N6(),bX(Z,X),F6()):bX(Z,X)}function h3(X,Z,G){w6(X)?(N6(),M9(G,X,Z),F6()):M9(G,X,Z)}function bX(X,Z){try{var G=Z.updateQueue,$=G!==null?G.lastEffect:null;if($!==null){var Y=$.next;G=Y;do{if((G.tag&X)===X&&($=void 0,(X&t4)!==b1&&(e9=!0),$=s(Z,uR,G),(X&t4)!==b1&&(e9=!1),$!==void 0&&typeof $!=="function")){var z=void 0;z=(G.tag&v5)!==0?"useLayoutEffect":(G.tag&t4)!==0?"useInsertionEffect":"useEffect";var J=void 0;J=$===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof $.then==="function"?`
141
+
142
+ It looks like you wrote `+z+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
+
144
+ `+z+`(() => {
145
+ async function fetchData() {
146
+ // You can await here
147
+ const response = await MyAPI.getData(someId);
148
+ // ...
149
+ }
150
+ fetchData();
151
+ }, [someId]); // Or [] if effect doesn't need props or state
152
+
153
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+$,s(Z,function(U,H){console.error("%s must not return anything besides a function, which is used for clean-up.%s",U,H)},z,J)}G=G.next}while(G!==Y)}}catch(U){g2(Z,Z.return,U)}}function M9(X,Z,G){try{var $=Z.updateQueue,Y=$!==null?$.lastEffect:null;if(Y!==null){var z=Y.next;$=z;do{if(($.tag&X)===X){var J=$.inst,U=J.destroy;U!==void 0&&(J.destroy=void 0,(X&t4)!==b1&&(e9=!0),Y=Z,s(Y,dR,Y,G,U),(X&t4)!==b1&&(e9=!1))}$=$.next}while($!==z)}}catch(H){g2(Z,Z.return,H)}}function IQ(X,Z){w6(X)?(N6(),bX(Z,X),F6()):bX(Z,X)}function m3(X,Z,G){w6(X)?(N6(),M9(G,X,Z),F6()):M9(G,X,Z)}function PQ(X){var Z=X.updateQueue;if(Z!==null){var G=X.stateNode;X.type.defaultProps||"ref"in X.memoizedProps||i9||(G.props!==X.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.",p(X)||"instance"),G.state!==X.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.",p(X)||"instance"));try{s(X,SJ,Z,G)}catch($){g2(X,X.return,$)}}}function Fq(X,Z,G){return X.getSnapshotBeforeUpdate(Z,G)}function Nq(X,Z){var{memoizedProps:G,memoizedState:$}=Z;Z=X.stateNode,X.type.defaultProps||"ref"in X.memoizedProps||i9||(Z.props!==X.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.",p(X)||"instance"),Z.state!==X.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.",p(X)||"instance"));try{var Y=I8(X.type,G),z=s(X,Fq,Z,Y,$);G=JW,z!==void 0||G.has(X.type)||(G.add(X.type),s(X,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",p(X))})),Z.__reactInternalSnapshotBeforeUpdate=z}catch(J){g2(X,X.return,J)}}function CQ(X,Z,G){G.props=I8(X.type,X.memoizedProps),G.state=X.memoizedState,w6(X)?(N6(),s(X,PH,X,Z,G),F6()):s(X,PH,X,Z,G)}function wq(X){var Z=X.ref;if(Z!==null){switch(X.tag){case 26:case 27:case 5:var G=X.stateNode;break;case 30:G=X.stateNode;break;default:G=X.stateNode}if(typeof Z==="function")if(w6(X))try{N6(),X.refCleanup=Z(G)}finally{F6()}else X.refCleanup=Z(G);else typeof Z==="string"?console.error("String refs are no longer supported."):Z.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",p(X)),Z.current=G}}function yX(X,Z){try{s(X,wq,X)}catch(G){g2(X,Z,G)}}function A6(X,Z){var{ref:G,refCleanup:$}=X;if(G!==null)if(typeof $==="function")try{if(w6(X))try{N6(),s(X,$)}finally{F6(X)}else s(X,$)}catch(Y){g2(X,Z,Y)}finally{X.refCleanup=null,X=X.alternate,X!=null&&(X.refCleanup=null)}else if(typeof G==="function")try{if(w6(X))try{N6(),s(X,G,null)}finally{F6(X)}else s(X,G,null)}catch(Y){g2(X,Z,Y)}else G.current=null}function SQ(X,Z,G,$){var Y=X.memoizedProps,z=Y.id,J=Y.onCommit;Y=Y.onRender,Z=Z===null?"mount":"update",P1&&(Z="nested-update"),typeof Y==="function"&&Y(z,Z,X.actualDuration,X.treeBaseDuration,X.actualStartTime,G),typeof J==="function"&&J(z,Z,$,G)}function Aq(X,Z,G,$){var Y=X.memoizedProps;X=Y.id,Y=Y.onPostCommit,Z=Z===null?"mount":"update",P1&&(Z="nested-update"),typeof Y==="function"&&Y(X,Z,$,G)}function vQ(X){var{type:Z,memoizedProps:G,stateNode:$}=X;try{s(X,sq,$,Z,G,X)}catch(Y){g2(X,X.return,Y)}}function u3(X,Z,G){try{s(X,iq,X.stateNode,X.type,G,Z,X)}catch($){g2(X,X.return,$)}}function kQ(X){return X.tag===5||X.tag===3||X.tag===26||X.tag===27&&g7(X.type)||X.tag===4}function d3(X){X:for(;;){for(;X.sibling===null;){if(X.return===null||kQ(X.return))return null;X=X.return}X.sibling.return=X.return;for(X=X.sibling;X.tag!==5&&X.tag!==6&&X.tag!==18;){if(X.tag===27&&g7(X.type))continue X;if(X.flags&2)continue X;if(X.child===null||X.tag===4)continue X;else X.child.return=X,X=X.child}if(!(X.flags&2))return X.stateNode}}function l3(X,Z,G){var $=X.tag;if($===5||$===6)X=X.stateNode,Z?(xU(G),(G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G).insertBefore(X,Z)):(xU(G),Z=G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G,Z.appendChild(X),G=G._reactRootContainer,G!==null&&G!==void 0||Z.onclick!==null||(Z.onclick=p6));else if($!==4&&($===27&&g7(X.type)&&(G=X.stateNode,Z=null),X=X.child,X!==null))for(l3(X,Z,G),X=X.sibling;X!==null;)l3(X,Z,G),X=X.sibling}function h0(X,Z,G){var $=X.tag;if($===5||$===6)X=X.stateNode,Z?G.insertBefore(X,Z):G.appendChild(X);else if($!==4&&($===27&&g7(X.type)&&(G=X.stateNode),X=X.child,X!==null))for(h0(X,Z,G),X=X.sibling;X!==null;)h0(X,Z,G),X=X.sibling}function Tq(X){for(var Z,G=X.return;G!==null;){if(kQ(G)){Z=G;break}G=G.return}if(Z==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(Z.tag){case 27:Z=Z.stateNode,G=d3(X),h0(X,G,Z);break;case 5:G=Z.stateNode,Z.flags&32&&(VU(G),Z.flags&=-33),Z=d3(X),h0(X,Z,G);break;case 3:case 4:Z=Z.stateNode.containerInfo,G=d3(X),l3(X,G,Z);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function gQ(X){var{stateNode:Z,memoizedProps:G}=X;try{s(X,HK,X.type,G,Z,X)}catch($){g2(X,X.return,$)}}function bQ(X,Z){return Z.tag===31?(Z=Z.memoizedState,X.memoizedState!==null&&Z===null):Z.tag===13?(X=X.memoizedState,Z=Z.memoizedState,X!==null&&X.dehydrated!==null&&(Z===null||Z.dehydrated===null)):Z.tag===3?X.memoizedState.isDehydrated&&(Z.flags&256)===0:!1}function Iq(X,Z){if(X=X.containerInfo,dY=zG,X=az(X),CG(X)){if("selectionStart"in X)var G={start:X.selectionStart,end:X.selectionEnd};else X:{G=(G=X.ownerDocument)&&G.defaultView||window;var $=G.getSelection&&G.getSelection();if($&&$.rangeCount!==0){G=$.anchorNode;var{anchorOffset:Y,focusNode:z}=$;$=$.focusOffset;try{G.nodeType,z.nodeType}catch(m){G=null;break X}var J=0,U=-1,H=-1,W=0,I=0,P=X,N=null;Z:for(;;){for(var v;;){if(P!==G||Y!==0&&P.nodeType!==3||(U=J+Y),P!==z||$!==0&&P.nodeType!==3||(H=J+$),P.nodeType===3&&(J+=P.nodeValue.length),(v=P.firstChild)===null)break;N=P,P=v}for(;;){if(P===X)break Z;if(N===G&&++W===Y&&(U=J),N===z&&++I===$&&(H=J),(v=P.nextSibling)!==null)break;P=N,N=P.parentNode}P=v}G=U===-1||H===-1?null:{start:U,end:H}}else G=null}G=G||{start:0,end:0}}else G=null;lY={focusedElem:X,selectionRange:G},zG=!1;for(g4=Z;g4!==null;)if(Z=g4,X=Z.child,(Z.subtreeFlags&1028)!==0&&X!==null)X.return=Z,g4=X;else for(;g4!==null;){switch(X=Z=g4,G=X.alternate,Y=X.flags,X.tag){case 0:if((Y&4)!==0&&(X=X.updateQueue,X=X!==null?X.events:null,X!==null))for(G=0;G<X.length;G++)Y=X[G],Y.ref.impl=Y.nextImpl;break;case 11:case 15:break;case 1:(Y&1024)!==0&&G!==null&&Nq(X,G);break;case 3:if((Y&1024)!==0){if(X=X.stateNode.containerInfo,G=X.nodeType,G===9)B$(X);else if(G===1)switch(X.nodeName){case"HEAD":case"HTML":case"BODY":B$(X);break;default:X.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((Y&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(X=Z.sibling,X!==null){X.return=Z.return,g4=X;break}g4=Z.return}}function yQ(X,Z,G){var $=L5(),Y=R6(),z=_6(),J=L6(),U=G.flags;switch(G.tag){case 0:case 11:case 15:T6(X,G),U&4&&TQ(G,v5|p5);break;case 1:if(T6(X,G),U&4)if(X=G.stateNode,Z===null)G.type.defaultProps||"ref"in G.memoizedProps||i9||(X.props!==G.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.",p(G)||"instance"),X.state!==G.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.",p(G)||"instance")),w6(G)?(N6(),s(G,HY,G,X),F6()):s(G,HY,G,X);else{var H=I8(G.type,Z.memoizedProps);Z=Z.memoizedState,G.type.defaultProps||"ref"in G.memoizedProps||i9||(X.props!==G.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.",p(G)||"instance"),X.state!==G.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.",p(G)||"instance")),w6(G)?(N6(),s(G,AH,G,X,H,Z,X.__reactInternalSnapshotBeforeUpdate),F6()):s(G,AH,G,X,H,Z,X.__reactInternalSnapshotBeforeUpdate)}U&64&&PQ(G),U&512&&yX(G,G.return);break;case 3:if(Z=i6(),T6(X,G),U&64&&(U=G.updateQueue,U!==null)){if(H=null,G.child!==null)switch(G.child.tag){case 27:case 5:H=G.child.stateNode;break;case 1:H=G.child.stateNode}try{s(G,SJ,U,H)}catch(I){g2(G,G.return,I)}}X.effectDuration+=M0(Z);break;case 27:Z===null&&U&4&&gQ(G);case 26:case 5:if(T6(X,G),Z===null){if(U&4)vQ(G);else if(U&64){X=G.type,Z=G.memoizedProps,H=G.stateNode;try{s(G,aq,H,X,Z,G)}catch(I){g2(G,G.return,I)}}}U&512&&yX(G,G.return);break;case 12:if(U&4){U=i6(),T6(X,G),X=G.stateNode,X.effectDuration+=NX(U);try{s(G,SQ,G,Z,m7,X.effectDuration)}catch(I){g2(G,G.return,I)}}else T6(X,G);break;case 31:T6(X,G),U&4&&VQ(X,G);break;case 13:T6(X,G),U&4&&xQ(X,G),U&64&&(X=G.memoizedState,X!==null&&(X=X.dehydrated,X!==null&&(U=fq.bind(null,G),JK(X,U))));break;case 22:if(U=G.memoizedState!==null||H7,!U){Z=Z!==null&&Z.memoizedState!==null||_4,H=H7;var W=_4;H7=U,(_4=Z)&&!W?(I6(X,G,(G.subtreeFlags&8772)!==0),(G.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&G0(G,r,e)):T6(X,G),H7=H,_4=W}break;case 30:break;default:T6(X,G)}(G.mode&H2)!==Z2&&0<=r&&0<=e&&((Q4||0.05<Z4)&&q6(G,r,e,Z4,X4),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<e-r&&(bQ(G.return.alternate,G.return)||M6(G,r,e,"Mount"))),F5($),O6(Y),X4=z,Q4=J}function fQ(X){var Z=X.alternate;Z!==null&&(X.alternate=null,fQ(Z)),X.child=null,X.deletions=null,X.sibling=null,X.tag===5&&(Z=X.stateNode,Z!==null&&u(Z)),X.stateNode=null,X._debugOwner=null,X.return=null,X.dependencies=null,X.memoizedProps=null,X.memoizedState=null,X.pendingProps=null,X.stateNode=null,X.updateQueue=null}function r6(X,Z,G){for(G=G.child;G!==null;)jQ(X,Z,G),G=G.sibling}function jQ(X,Z,G){if(d4&&typeof d4.onCommitFiberUnmount==="function")try{d4.onCommitFiberUnmount(I9,G)}catch(W){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",W))}var $=L5(),Y=R6(),z=_6(),J=L6();switch(G.tag){case 26:_4||A6(G,Z),r6(X,Z,G),G.memoizedState?G.memoizedState.count--:G.stateNode&&(X=G.stateNode,X.parentNode.removeChild(X));break;case 27:_4||A6(G,Z);var U=L4,H=z5;g7(G.type)&&(L4=G.stateNode,z5=!1),r6(X,Z,G),s(G,uX,G.stateNode),L4=U,z5=H;break;case 5:_4||A6(G,Z);case 6:if(U=L4,H=z5,L4=null,r6(X,Z,G),L4=U,z5=H,L4!==null)if(z5)try{s(G,rq,L4,G.stateNode)}catch(W){g2(G,Z,W)}else try{s(G,oq,L4,G.stateNode)}catch(W){g2(G,Z,W)}break;case 18:L4!==null&&(z5?(X=L4,DU(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,G.stateNode),N9(X)):DU(L4,G.stateNode));break;case 4:U=L4,H=z5,L4=G.stateNode.containerInfo,z5=!0,r6(X,Z,G),L4=U,z5=H;break;case 0:case 11:case 14:case 15:M9(t4,G,Z),_4||h3(G,Z,v5),r6(X,Z,G);break;case 1:_4||(A6(G,Z),U=G.stateNode,typeof U.componentWillUnmount==="function"&&CQ(G,Z,U)),r6(X,Z,G);break;case 21:r6(X,Z,G);break;case 22:_4=(U=_4)||G.memoizedState!==null,r6(X,Z,G),_4=U;break;default:r6(X,Z,G)}(G.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(G,r,e,Z4,X4),F5($),O6(Y),X4=z,Q4=J}function VQ(X,Z){if(Z.memoizedState===null&&(X=Z.alternate,X!==null&&(X=X.memoizedState,X!==null))){X=X.dehydrated;try{s(Z,UK,X)}catch(G){g2(Z,Z.return,G)}}}function xQ(X,Z){if(Z.memoizedState===null&&(X=Z.alternate,X!==null&&(X=X.memoizedState,X!==null&&(X=X.dehydrated,X!==null))))try{s(Z,BK,X)}catch(G){g2(Z,Z.return,G)}}function Pq(X){switch(X.tag){case 31:case 13:case 19:var Z=X.stateNode;return Z===null&&(Z=X.stateNode=new QW),Z;case 22:return X=X.stateNode,Z=X._retryCache,Z===null&&(Z=X._retryCache=new QW),Z;default:throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}}function m0(X,Z){var G=Pq(X);Z.forEach(function($){if(!G.has($)){if(G.add($),b6)if(n9!==null&&o9!==null)xX(o9,n9);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var Y=jq.bind(null,X,$);$.then(Y,Y)}})}function $5(X,Z){var G=Z.deletions;if(G!==null)for(var $=0;$<G.length;$++){var Y=X,z=Z,J=G[$],U=L5(),H=z;X:for(;H!==null;){switch(H.tag){case 27:if(g7(H.type)){L4=H.stateNode,z5=!1;break X}break;case 5:L4=H.stateNode,z5=!1;break X;case 3:case 4:L4=H.stateNode.containerInfo,z5=!0;break X}H=H.return}if(L4===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");jQ(Y,z,J),L4=null,z5=!1,(J.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6(J,r,e,"Unmount"),F5(U),Y=J,z=Y.alternate,z!==null&&(z.return=null),Y.return=null}if(Z.subtreeFlags&13886)for(Z=Z.child;Z!==null;)DQ(Z,X),Z=Z.sibling}function DQ(X,Z){var G=L5(),$=R6(),Y=_6(),z=L6(),J=X.alternate,U=X.flags;switch(X.tag){case 0:case 11:case 14:case 15:$5(Z,X),Y5(X),U&4&&(M9(t4|p5,X,X.return),bX(t4|p5,X),h3(X,X.return,v5|p5));break;case 1:if($5(Z,X),Y5(X),U&512&&(_4||J===null||A6(J,J.return)),U&64&&H7&&(U=X.updateQueue,U!==null&&(J=U.callbacks,J!==null))){var H=U.shared.hiddenCallbacks;U.shared.hiddenCallbacks=H===null?J:H.concat(J)}break;case 26:if(H=G6,$5(Z,X),Y5(X),U&512&&(_4||J===null||A6(J,J.return)),U&4){var W=J!==null?J.memoizedState:null;if(U=X.memoizedState,J===null)if(U===null)if(X.stateNode===null){X:{U=X.type,J=X.memoizedProps,H=H.ownerDocument||H;Z:switch(U){case"title":if(W=H.getElementsByTagName("title")[0],!W||W[iX]||W[E4]||W.namespaceURI===C9||W.hasAttribute("itemprop"))W=H.createElement(U),H.head.insertBefore(W,H.querySelector("head > title"));D4(W,U,J),W[E4]=X,o(W),U=W;break X;case"link":var I=iU("link","href",H).get(U+(J.href||""));if(I){for(var P=0;P<I.length;P++)if(W=I[P],W.getAttribute("href")===(J.href==null||J.href===""?null:J.href)&&W.getAttribute("rel")===(J.rel==null?null:J.rel)&&W.getAttribute("title")===(J.title==null?null:J.title)&&W.getAttribute("crossorigin")===(J.crossOrigin==null?null:J.crossOrigin)){I.splice(P,1);break Z}}W=H.createElement(U),D4(W,U,J),H.head.appendChild(W);break;case"meta":if(I=iU("meta","content",H).get(U+(J.content||""))){for(P=0;P<I.length;P++)if(W=I[P],m2(J.content,"content"),W.getAttribute("content")===(J.content==null?null:""+J.content)&&W.getAttribute("name")===(J.name==null?null:J.name)&&W.getAttribute("property")===(J.property==null?null:J.property)&&W.getAttribute("http-equiv")===(J.httpEquiv==null?null:J.httpEquiv)&&W.getAttribute("charset")===(J.charSet==null?null:J.charSet)){I.splice(P,1);break Z}}W=H.createElement(U),D4(W,U,J),H.head.appendChild(W);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+U+'". This is a bug in React.')}W[E4]=X,o(W),U=W}X.stateNode=U}else nU(H,X.type,X.stateNode);else X.stateNode=aU(H,U,X.memoizedProps);else W!==U?(W===null?J.stateNode!==null&&(J=J.stateNode,J.parentNode.removeChild(J)):W.count--,U===null?nU(H,X.type,X.stateNode):aU(H,U,X.memoizedProps)):U===null&&X.stateNode!==null&&u3(X,X.memoizedProps,J.memoizedProps)}break;case 27:$5(Z,X),Y5(X),U&512&&(_4||J===null||A6(J,J.return)),J!==null&&U&4&&u3(X,X.memoizedProps,J.memoizedProps);break;case 5:if($5(Z,X),Y5(X),U&512&&(_4||J===null||A6(J,J.return)),X.flags&32){H=X.stateNode;try{s(X,VU,H)}catch(c){g2(X,X.return,c)}}U&4&&X.stateNode!=null&&(H=X.memoizedProps,u3(X,H,J!==null?J.memoizedProps:H)),U&1024&&(TY=!0,X.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if($5(Z,X),Y5(X),U&4){if(X.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.");U=X.memoizedProps,J=J!==null?J.memoizedProps:U,H=X.stateNode;try{s(X,nq,H,J,U)}catch(c){g2(X,X.return,c)}}break;case 3:if(H=i6(),GG=null,W=G6,G6=i0(Z.containerInfo),$5(Z,X),G6=W,Y5(X),U&4&&J!==null&&J.memoizedState.isDehydrated)try{s(X,QK,Z.containerInfo)}catch(c){g2(X,X.return,c)}TY&&(TY=!1,EQ(X)),Z.effectDuration+=M0(H);break;case 4:U=G6,G6=i0(X.stateNode.containerInfo),$5(Z,X),Y5(X),G6=U;break;case 12:U=i6(),$5(Z,X),Y5(X),X.stateNode.effectDuration+=NX(U);break;case 31:$5(Z,X),Y5(X),U&4&&(U=X.updateQueue,U!==null&&(X.updateQueue=null,m0(X,U)));break;case 13:$5(Z,X),Y5(X),X.child.flags&8192&&X.memoizedState!==null!==(J!==null&&J.memoizedState!==null)&&(u1=v4()),U&4&&(U=X.updateQueue,U!==null&&(X.updateQueue=null,m0(X,U)));break;case 22:H=X.memoizedState!==null;var N=J!==null&&J.memoizedState!==null,v=H7,m=_4;if(H7=v||H,_4=m||N,$5(Z,X),_4=m,H7=v,N&&!H&&!v&&!m&&(X.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&G0(X,r,e),Y5(X),U&8192)X:for(Z=X.stateNode,Z._visibility=H?Z._visibility&~$Z:Z._visibility|$Z,!H||J===null||N||H7||_4||(P8(X),(X.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6(X,r,e,"Disconnect")),J=null,Z=X;;){if(Z.tag===5||Z.tag===26){if(J===null){N=J=Z;try{W=N.stateNode,H?s(N,eq,W):s(N,GK,N.stateNode,N.memoizedProps)}catch(c){g2(N,N.return,c)}}}else if(Z.tag===6){if(J===null){N=Z;try{I=N.stateNode,H?s(N,XK,I):s(N,$K,I,N.memoizedProps)}catch(c){g2(N,N.return,c)}}}else if(Z.tag===18){if(J===null){N=Z;try{P=N.stateNode,H?s(N,tq,P):s(N,ZK,N.stateNode)}catch(c){g2(N,N.return,c)}}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===X)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break X;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)break X;J===Z&&(J=null),Z=Z.return}J===Z&&(J=null),Z.sibling.return=Z.return,Z=Z.sibling}U&4&&(U=X.updateQueue,U!==null&&(J=U.retryQueue,J!==null&&(U.retryQueue=null,m0(X,J))));break;case 19:$5(Z,X),Y5(X),U&4&&(U=X.updateQueue,U!==null&&(X.updateQueue=null,m0(X,U)));break;case 30:break;case 21:break;default:$5(Z,X),Y5(X)}(X.mode&H2)!==Z2&&0<=r&&0<=e&&((Q4||0.05<Z4)&&q6(X,r,e,Z4,X4),X.alternate===null&&X.return!==null&&X.return.alternate!==null&&0.05<e-r&&(bQ(X.return.alternate,X.return)||M6(X,r,e,"Mount"))),F5(G),O6($),X4=Y,Q4=z}function Y5(X){var Z=X.flags;if(Z&2){try{s(X,Tq,X)}catch(G){g2(X,X.return,G)}X.flags&=-3}Z&4096&&(X.flags&=-4097)}function EQ(X){if(X.subtreeFlags&1024)for(X=X.child;X!==null;){var Z=X;EQ(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),X=X.sibling}}function T6(X,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)yQ(X,Z.alternate,Z),Z=Z.sibling}function hQ(X){var Z=L5(),G=R6(),$=_6(),Y=L6();switch(X.tag){case 0:case 11:case 14:case 15:h3(X,X.return,v5),P8(X);break;case 1:A6(X,X.return);var z=X.stateNode;typeof z.componentWillUnmount==="function"&&CQ(X,X.return,z),P8(X);break;case 27:s(X,uX,X.stateNode);case 26:case 5:A6(X,X.return),P8(X);break;case 22:X.memoizedState===null&&P8(X);break;case 30:P8(X);break;default:P8(X)}(X.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(X,r,e,Z4,X4),F5(Z),O6(G),X4=$,Q4=Y}function P8(X){for(X=X.child;X!==null;)hQ(X),X=X.sibling}function mQ(X,Z,G,$){var Y=L5(),z=R6(),J=_6(),U=L6(),H=G.flags;switch(G.tag){case 0:case 11:case 15:I6(X,G,$),TQ(G,v5);break;case 1:if(I6(X,G,$),Z=G.stateNode,typeof Z.componentDidMount==="function"&&s(G,HY,G,Z),Z=G.updateQueue,Z!==null){X=G.stateNode;try{s(G,Qq,Z,X)}catch(W){g2(G,G.return,W)}}$&&H&64&&PQ(G),yX(G,G.return);break;case 27:gQ(G);case 26:case 5:I6(X,G,$),$&&Z===null&&H&4&&vQ(G),yX(G,G.return);break;case 12:if($&&H&4){H=i6(),I6(X,G,$),$=G.stateNode,$.effectDuration+=NX(H);try{s(G,SQ,G,Z,m7,$.effectDuration)}catch(W){g2(G,G.return,W)}}else I6(X,G,$);break;case 31:I6(X,G,$),$&&H&4&&VQ(X,G);break;case 13:I6(X,G,$),$&&H&4&&xQ(X,G);break;case 22:G.memoizedState===null&&I6(X,G,$),yX(G,G.return);break;case 30:break;default:I6(X,G,$)}(G.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(G,r,e,Z4,X4),F5(Y),O6(z),X4=J,Q4=U}function I6(X,Z,G){G=G&&(Z.subtreeFlags&8772)!==0;for(Z=Z.child;Z!==null;)mQ(X,Z.alternate,Z,G),Z=Z.sibling}function p3(X,Z){var G=null;X!==null&&X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(G=X.memoizedState.cachePool.pool),X=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(X=Z.memoizedState.cachePool.pool),X!==G&&(X!=null&&N8(X),G!=null&&FX(G))}function c3(X,Z){X=null,Z.alternate!==null&&(X=Z.alternate.memoizedState.cache),Z=Z.memoizedState.cache,Z!==X&&(N8(Z),X!=null&&FX(X))}function o5(X,Z,G,$,Y){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(Z=Z.child;Z!==null;){var z=Z.sibling;uQ(X,Z,G,$,z!==null?z.actualStartTime:Y),Z=z}}function uQ(X,Z,G,$,Y){var z=L5(),J=R6(),U=_6(),H=L6(),W=x7,I=Z.flags;switch(Z.tag){case 0:case 11:case 15:(Z.mode&H2)!==Z2&&0<Z.actualStartTime&&(Z.flags&1)!==0&&$0(Z,Z.actualStartTime,Y,A4,G),o5(X,Z,G,$,Y),I&2048&&IQ(Z,e4|p5);break;case 1:(Z.mode&H2)!==Z2&&0<Z.actualStartTime&&((Z.flags&128)!==0?vG(Z,Z.actualStartTime,Y,[]):(Z.flags&1)!==0&&$0(Z,Z.actualStartTime,Y,A4,G)),o5(X,Z,G,$,Y);break;case 3:var P=i6(),N=A4;A4=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,o5(X,Z,G,$,Y),A4=N,I&2048&&(G=null,Z.alternate!==null&&(G=Z.alternate.memoizedState.cache),$=Z.memoizedState.cache,$!==G&&(N8($),G!=null&&FX(G))),X.passiveEffectDuration+=M0(P);break;case 12:if(I&2048){I=i6(),o5(X,Z,G,$,Y),X=Z.stateNode,X.passiveEffectDuration+=NX(I);try{s(Z,Aq,Z,Z.alternate,m7,X.passiveEffectDuration)}catch(v){g2(Z,Z.return,v)}}else o5(X,Z,G,$,Y);break;case 31:I=A4,P=Z.alternate!==null?Z.alternate.memoizedState:null,N=Z.memoizedState,P!==null&&N===null?(N=Z.deletions,N!==null&&0<N.length&&N[0].tag===18?(A4=!1,P=P.hydrationErrors,P!==null&&vG(Z,Z.actualStartTime,Y,P)):A4=!0):A4=!1,o5(X,Z,G,$,Y),A4=I;break;case 13:I=A4,P=Z.alternate!==null?Z.alternate.memoizedState:null,N=Z.memoizedState,P===null||P.dehydrated===null||N!==null&&N.dehydrated!==null?A4=!1:(N=Z.deletions,N!==null&&0<N.length&&N[0].tag===18?(A4=!1,P=P.hydrationErrors,P!==null&&vG(Z,Z.actualStartTime,Y,P)):A4=!0),o5(X,Z,G,$,Y),A4=I;break;case 23:break;case 22:N=Z.stateNode,P=Z.alternate,Z.memoizedState!==null?N._visibility&X7?o5(X,Z,G,$,Y):fX(X,Z,G,$,Y):N._visibility&X7?o5(X,Z,G,$,Y):(N._visibility|=X7,q9(X,Z,G,$,(Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child),Y),(Z.mode&H2)===Z2||A4||(X=Z.actualStartTime,0<=X&&0.05<Y-X&&G0(Z,X,Y),0<=r&&0<=e&&0.05<e-r&&G0(Z,r,e))),I&2048&&p3(P,Z);break;case 24:o5(X,Z,G,$,Y),I&2048&&c3(Z.alternate,Z);break;default:o5(X,Z,G,$,Y)}if((Z.mode&H2)!==Z2){if(X=!A4&&Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null)G=Z.actualStartTime,0<=G&&0.05<Y-G&&M6(Z,G,Y,"Mount");0<=r&&0<=e&&((Q4||0.05<Z4)&&q6(Z,r,e,Z4,X4),X&&0.05<e-r&&M6(Z,r,e,"Mount"))}F5(z),O6(J),X4=U,Q4=H,x7=W}function q9(X,Z,G,$,Y,z){Y=Y&&((Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child));for(Z=Z.child;Z!==null;){var J=Z.sibling;dQ(X,Z,G,$,Y,J!==null?J.actualStartTime:z),Z=J}}function dQ(X,Z,G,$,Y,z){var J=L5(),U=R6(),H=_6(),W=L6(),I=x7;Y&&(Z.mode&H2)!==Z2&&0<Z.actualStartTime&&(Z.flags&1)!==0&&$0(Z,Z.actualStartTime,z,A4,G);var P=Z.flags;switch(Z.tag){case 0:case 11:case 15:q9(X,Z,G,$,Y,z),IQ(Z,e4);break;case 23:break;case 22:var N=Z.stateNode;Z.memoizedState!==null?N._visibility&X7?q9(X,Z,G,$,Y,z):fX(X,Z,G,$,z):(N._visibility|=X7,q9(X,Z,G,$,Y,z)),Y&&P&2048&&p3(Z.alternate,Z);break;case 24:q9(X,Z,G,$,Y,z),Y&&P&2048&&c3(Z.alternate,Z);break;default:q9(X,Z,G,$,Y,z)}(Z.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(Z,r,e,Z4,X4),F5(J),O6(U),X4=H,Q4=W,x7=I}function fX(X,Z,G,$,Y){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(var z=Z.child;z!==null;){Z=z.sibling;var J=X,U=G,H=$,W=Z!==null?Z.actualStartTime:Y,I=x7;(z.mode&H2)!==Z2&&0<z.actualStartTime&&(z.flags&1)!==0&&$0(z,z.actualStartTime,W,A4,U);var P=z.flags;switch(z.tag){case 22:fX(J,z,U,H,W),P&2048&&p3(z.alternate,z);break;case 24:fX(J,z,U,H,W),P&2048&&c3(z.alternate,z);break;default:fX(J,z,U,H,W)}x7=I,z=Z}}function K9(X,Z,G){if(X.subtreeFlags&TZ)for(X=X.child;X!==null;)lQ(X,Z,G),X=X.sibling}function lQ(X,Z,G){switch(X.tag){case 26:K9(X,Z,G),X.flags&TZ&&X.memoizedState!==null&&qK(G,G6,X.memoizedState,X.memoizedProps);break;case 5:K9(X,Z,G);break;case 3:case 4:var $=G6;G6=i0(X.stateNode.containerInfo),K9(X,Z,G),G6=$;break;case 22:X.memoizedState===null&&($=X.alternate,$!==null&&$.memoizedState!==null?($=TZ,TZ=16777216,K9(X,Z,G),TZ=$):K9(X,Z,G));break;default:K9(X,Z,G)}}function pQ(X){var Z=X.alternate;if(Z!==null&&(X=Z.child,X!==null)){Z.child=null;do Z=X.sibling,X.sibling=null,X=Z;while(X!==null)}}function jX(X){var Z=X.deletions;if((X.flags&16)!==0){if(Z!==null)for(var G=0;G<Z.length;G++){var $=Z[G],Y=L5();g4=$,aQ($,X),($.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6($,r,e,"Unmount"),F5(Y)}pQ(X)}if(X.subtreeFlags&10256)for(X=X.child;X!==null;)cQ(X),X=X.sibling}function cQ(X){var Z=L5(),G=R6(),$=_6(),Y=L6();switch(X.tag){case 0:case 11:case 15:jX(X),X.flags&2048&&m3(X,X.return,e4|p5);break;case 3:var z=i6();jX(X),X.stateNode.passiveEffectDuration+=M0(z);break;case 12:z=i6(),jX(X),X.stateNode.passiveEffectDuration+=NX(z);break;case 22:z=X.stateNode,X.memoizedState!==null&&z._visibility&X7&&(X.return===null||X.return.tag!==13)?(z._visibility&=~X7,u0(X),(X.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6(X,r,e,"Disconnect")):jX(X);break;default:jX(X)}(X.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(X,r,e,Z4,X4),F5(Z),O6(G),Q4=Y,X4=$}function u0(X){var Z=X.deletions;if((X.flags&16)!==0){if(Z!==null)for(var G=0;G<Z.length;G++){var $=Z[G],Y=L5();g4=$,aQ($,X),($.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6($,r,e,"Unmount"),F5(Y)}pQ(X)}for(X=X.child;X!==null;)sQ(X),X=X.sibling}function sQ(X){var Z=L5(),G=R6(),$=_6(),Y=L6();switch(X.tag){case 0:case 11:case 15:m3(X,X.return,e4),u0(X);break;case 22:var z=X.stateNode;z._visibility&X7&&(z._visibility&=~X7,u0(X));break;default:u0(X)}(X.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(X,r,e,Z4,X4),F5(Z),O6(G),Q4=Y,X4=$}function aQ(X,Z){for(;g4!==null;){var G=g4,$=G,Y=Z,z=L5(),J=R6(),U=_6(),H=L6();switch($.tag){case 0:case 11:case 15:m3($,Y,e4);break;case 23:case 22:$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Y=$.memoizedState.cachePool.pool,Y!=null&&N8(Y));break;case 24:FX($.memoizedState.cache)}if(($.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6($,r,e,Z4,X4),F5(z),O6(J),Q4=H,X4=U,$=G.child,$!==null)$.return=G,g4=$;else X:for(G=X;g4!==null;){if($=g4,z=$.sibling,J=$.return,fQ($),$===G){g4=null;break X}if(z!==null){z.return=J,g4=z;break X}g4=J}}}function Cq(){aR.forEach(function(X){return X()})}function iQ(){var X=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return X||b.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),X}function w5(X){if((I2&T4)!==b4&&M2!==0)return M2&-M2;var Z=b.T;return Z!==null?(Z._updatedFibers||(Z._updatedFibers=new Set),Z._updatedFibers.add(X),e3()):S()}function nQ(){if(Q5===0)if((M2&536870912)===0||N2){var X=J1;J1<<=1,(J1&3932160)===0&&(J1=262144),Q5=X}else Q5=536870912;return X=S5.current,X!==null&&(X.flags|=32),Q5}function J4(X,Z,G){if(e9&&console.error("useInsertionEffect must not schedule updates."),jY&&(c1=!0),X===l2&&(E2===m8||E2===u8)||X.cancelPendingCommit!==null)O9(X,0),v7(X,M2,Q5,!1);if(O7(X,G),(I2&T4)!==b4&&X===l2){if(k6)switch(Z.tag){case 0:case 11:case 15:X=q2&&p(q2)||"Unknown",AW.has(X)||(AW.add(X),Z=p(Z)||"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",Z,X,X));break;case 1:wW||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),wW=!0)}}else b6&&UX(X,Z,G),xq(Z),X===l2&&((I2&T4)===b4&&(n7|=G),G4===s7&&v7(X,M2,Q5,!1)),P6(X)}function oQ(X,Z,G){if((I2&(T4|k5))!==b4)throw Error("Should not already be working.");if(M2!==0&&q2!==null){var $=q2,Y=v4();switch(KH){case CZ:case m8:var z=BZ;n2&&(($=$._debugTask)?$.run(console.timeStamp.bind(console,"Suspended",z,Y,x5,void 0,"primary-light")):console.timeStamp("Suspended",z,Y,x5,void 0,"primary-light"));break;case u8:z=BZ,n2&&(($=$._debugTask)?$.run(console.timeStamp.bind(console,"Action",z,Y,x5,void 0,"primary-light")):console.timeStamp("Action",z,Y,x5,void 0,"primary-light"));break;default:n2&&($=Y-BZ,3>$||console.timeStamp("Blocked",BZ,Y,x5,void 0,5>$?"primary-light":10>$?"primary":100>$?"primary-dark":"error"))}}z=(G=!G&&(Z&127)===0&&(Z&X.expiredLanes)===0||Q8(X,Z))?vq(X,Z):a3(X,Z,!0);var J=G;do{if(z===W7){r9&&!G&&v7(X,Z,0,!1),Z=E2,BZ=K4(),KH=Z;break}else{if($=v4(),Y=X.current.alternate,J&&!Sq(Y)){O5(Z),Y=k4,z=$,!n2||z<=Y||(B4?B4.run(console.timeStamp.bind(console,"Teared Render",Y,z,L2,O2,"error")):console.timeStamp("Teared Render",Y,z,L2,O2,"error")),C8(Z,$),z=a3(X,Z,!1),J=!1;continue}if(z===h8){if(J=Z,X.errorRecoveryDisabledLanes&J)var U=0;else U=X.pendingLanes&-536870913,U=U!==0?U:U&536870912?536870912:0;if(U!==0){O5(Z),kG(k4,$,Z,B4),C8(Z,$),Z=U;X:{$=X,z=J,J=vZ;var H=$.current.memoizedState.isDehydrated;if(H&&(O9($,U).flags|=256),U=a3($,U,!1),U!==h8){if(CY&&!H){$.errorRecoveryDisabledLanes|=z,n7|=z,z=s7;break X}$=X5,X5=J,$!==null&&(X5===null?X5=$:X5.push.apply(X5,$))}z=U}if(J=!1,z!==h8)continue;else $=v4()}}if(z===PZ){O5(Z),kG(k4,$,Z,B4),C8(Z,$),O9(X,0),v7(X,Z,0,!0);break}X:{switch(G=X,z){case W7:case PZ:throw Error("Root did not complete. This is a bug in React.");case s7:if((Z&4194048)!==Z)break;case D1:O5(Z),oz(k4,$,Z,B4),C8(Z,$),Y=Z,(Y&127)!==0?A1=$:(Y&4194048)!==0&&(T1=$),v7(G,Z,Q5,!a7);break X;case h8:X5=null;break;case x1:case UW:break;default:throw Error("Unknown root exit status.")}if(b.actQueue!==null)i3(G,Y,Z,X5,kZ,m1,Q5,n7,d8,z,null,null,k4,$);else{if((Z&62914560)===Z&&(J=u1+WW-v4(),10<J)){if(v7(G,Z,Q5,!a7),J8(G,0,!0)!==0)break X;$6=Z,G.timeoutHandle=gW(rQ.bind(null,G,Y,X5,kZ,m1,Z,Q5,n7,d8,a7,z,"Throttled",k4,$),J);break X}rQ(G,Y,X5,kZ,m1,Z,Q5,n7,d8,a7,z,null,k4,$)}}}break}while(1);P6(X)}function rQ(X,Z,G,$,Y,z,J,U,H,W,I,P,N,v){X.timeoutHandle=a8;var m=Z.subtreeFlags,c=null;if(m&8192||(m&16785408)===16785408){if(c={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:p6},lQ(Z,z,c),m=(z&62914560)===z?u1-v4():(z&4194048)===z?HW-v4():0,m=KK(c,m),m!==null){$6=z,X.cancelPendingCommit=m(i3.bind(null,X,Z,z,G,$,Y,J,U,H,I,c,c.waitingForViewTransition?"Waiting for the previous Animation":0<c.count?0<c.imgCount?"Suspended on CSS and Images":"Suspended on CSS":c.imgCount===1?"Suspended on an Image":0<c.imgCount?"Suspended on Images":null,N,v)),v7(X,z,J,!W);return}}i3(X,Z,z,G,$,Y,J,U,H,I,c,P,N,v)}function Sq(X){for(var Z=X;;){var G=Z.tag;if((G===0||G===11||G===15)&&Z.flags&16384&&(G=Z.updateQueue,G!==null&&(G=G.stores,G!==null)))for(var $=0;$<G.length;$++){var Y=G[$],z=Y.getSnapshot;Y=Y.value;try{if(!o4(z(),Y))return!1}catch(J){return!1}}if(G=Z.child,Z.subtreeFlags&16384&&G!==null)G.return=Z,Z=G;else{if(Z===X)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)return!0;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}return!0}function v7(X,Z,G,$){Z&=~SY,Z&=~n7,X.suspendedLanes|=Z,X.pingedLanes&=~Z,$&&(X.warmLanes|=Z),$=X.expirationTimes;for(var Y=Z;0<Y;){var z=31-a4(Y),J=1<<z;$[z]=-1,Y&=~J}G!==0&&U8(X,G,Z)}function R9(){return(I2&(T4|k5))===b4?(DX(0,!1),!1):!0}function s3(){if(q2!==null){if(E2===J5)var X=q2.return;else X=q2,B0(),$3(X),d9=null,LZ=0,X=q2;for(;X!==null;)AQ(X.alternate,X),X=X.return;q2=null}}function C8(X,Z){(X&127)!==0&&(u7=Z),(X&4194048)!==0&&(x6=Z),(X&62914560)!==0&&(MH=Z),(X&2080374784)!==0&&(qH=Z)}function O9(X,Z){n2&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",O2,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",O2,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",O2,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",O2,"primary-light"));var G=k4;if(k4=K4(),M2!==0&&0<G){if(O5(M2),G4===x1||G4===s7)oz(G,k4,Z,B4);else{var $=k4,Y=B4;if(n2&&!($<=G)){var z=(Z&738197653)===Z?"tertiary-dark":"primary-dark",J=(Z&536870912)===Z?"Prewarm":(Z&201326741)===Z?"Interrupted Hydration":"Interrupted Render";Y?Y.run(console.timeStamp.bind(console,J,G,$,L2,O2,z)):console.timeStamp(J,G,$,L2,O2,z)}}C8(M2,k4)}if(G=B4,B4=null,(Z&127)!==0){B4=JZ,Y=0<=V6&&V6<u7?u7:V6,$=0<=b8&&b8<u7?u7:b8,z=0<=$?$:0<=Y?Y:k4,0<=A1?(O5(2),rz(A1,z,Z,G)):(I1&127)!==0&&(O5(2),_X(u7,z,J7)),G=Y;var U=$,H=QZ,W=0<h9,I=d7===zZ,P=d7===w1;if(Y=k4,$=JZ,z=zY,J=JY,n2){if(L2="Blocking",0<G?G>Y&&(G=Y):G=Y,0<U?U>G&&(U=G):U=G,H!==null&&G>U){var N=W?"secondary-light":"warning";$?$.run(console.timeStamp.bind(console,W?"Consecutive":"Event: "+H,U,G,L2,O2,N)):console.timeStamp(W?"Consecutive":"Event: "+H,U,G,L2,O2,N)}Y>G&&(U=I?"error":(Z&738197653)===Z?"tertiary-light":"primary-light",I=P?"Promise Resolved":I?"Cascading Update":5<Y-G?"Update Blocked":"Update",P=[],J!=null&&P.push(["Component name",J]),z!=null&&P.push(["Method name",z]),G={start:G,end:Y,detail:{devtools:{properties:P,track:L2,trackGroup:O2,color:U}}},$?$.run(performance.measure.bind(performance,I,G)):performance.measure(I,G))}V6=-1.1,d7=0,JY=zY=null,A1=-1.1,h9=b8,b8=-1.1,u7=K4()}if((Z&4194048)!==0&&(B4=UZ,Y=0<=z7&&z7<x6?x6:z7,G=0<=d5&&d5<x6?x6:d5,$=0<=l7&&l7<x6?x6:l7,z=0<=$?$:0<=G?G:k4,0<=T1?(O5(256),rz(T1,z,Z,B4)):(I1&4194048)!==0&&(O5(256),_X(x6,z,J7)),P=$,U=y8,H=0<p7,W=QY===w1,z=k4,$=UZ,J=HH,I=WH,n2&&(L2="Transition",0<G?G>z&&(G=z):G=z,0<Y?Y>G&&(Y=G):Y=G,0<P?P>Y&&(P=Y):P=Y,Y>P&&U!==null&&(N=H?"secondary-light":"warning",$?$.run(console.timeStamp.bind(console,H?"Consecutive":"Event: "+U,P,Y,L2,O2,N)):console.timeStamp(H?"Consecutive":"Event: "+U,P,Y,L2,O2,N)),G>Y&&($?$.run(console.timeStamp.bind(console,"Action",Y,G,L2,O2,"primary-dark")):console.timeStamp("Action",Y,G,L2,O2,"primary-dark")),z>G&&(Y=W?"Promise Resolved":5<z-G?"Update Blocked":"Update",P=[],I!=null&&P.push(["Component name",I]),J!=null&&P.push(["Method name",J]),G={start:G,end:z,detail:{devtools:{properties:P,track:L2,trackGroup:O2,color:"primary-light"}}},$?$.run(performance.measure.bind(performance,Y,G)):performance.measure(Y,G))),d5=z7=-1.1,QY=0,T1=-1.1,p7=l7,l7=-1.1,x6=K4()),(Z&62914560)!==0&&(I1&62914560)!==0&&(O5(4194304),_X(MH,k4,J7)),(Z&2080374784)!==0&&(I1&2080374784)!==0&&(O5(268435456),_X(qH,k4,J7)),G=X.timeoutHandle,G!==a8&&(X.timeoutHandle=a8,JO(G)),G=X.cancelPendingCommit,G!==null&&(X.cancelPendingCommit=null,G()),$6=0,s3(),l2=X,q2=G=c6(X.current,null),M2=Z,E2=J5,g5=null,a7=!1,r9=Q8(X,Z),CY=!1,G4=W7,d8=Q5=SY=n7=i7=0,X5=vZ=null,m1=!1,(Z&8)!==0&&(Z|=Z&32),$=X.entangledLanes,$!==0)for(X=X.entanglements,$&=Z;0<$;)Y=31-a4($),z=1<<Y,Z|=X[Y],$&=~z;return E6=Z,Y0(),X=YH(),1000<X-$H&&(b.recentlyCreatedOwnerStacks=0,$H=X),X6.discardPendingWarnings(),G}function tQ(X,Z){G2=null,b.H=AZ,b.getCurrentStack=null,k6=!1,I5=null,Z===u9||Z===v1?(Z=FJ(),E2=CZ):Z===WY?(Z=FJ(),E2=BW):E2=Z===wY?PY:Z!==null&&typeof Z==="object"&&typeof Z.then==="function"?SZ:E1,g5=Z;var G=q2;G===null?(G4=PZ,j0(X,_5(Z,X.current))):G.mode&H2&&pG(G)}function eQ(){var X=S5.current;return X===null?!0:(M2&4194048)===M2?l5===null?!0:!1:(M2&62914560)===M2||(M2&536870912)!==0?X===l5:!1}function XU(){var X=b.H;return b.H=AZ,X===null?AZ:X}function ZU(){var X=b.A;return b.A=sR,X}function d0(X){B4===null&&(B4=X._debugTask==null?null:X._debugTask)}function l0(){G4=s7,a7||(M2&4194048)!==M2&&S5.current!==null||(r9=!0),(i7&134217727)===0&&(n7&134217727)===0||l2===null||v7(l2,M2,Q5,!1)}function a3(X,Z,G){var $=I2;I2|=T4;var Y=XU(),z=ZU();if(l2!==X||M2!==Z){if(b6){var J=X.memoizedUpdaters;0<J.size&&(xX(X,M2),J.clear()),_7(X,Z)}kZ=null,O9(X,Z)}Z=!1,J=G4;X:do try{if(E2!==J5&&q2!==null){var U=q2,H=g5;switch(E2){case PY:s3(),J=D1;break X;case CZ:case m8:case u8:case SZ:S5.current===null&&(Z=!0);var W=E2;if(E2=J5,g5=null,_9(X,U,H,W),G&&r9){J=W7;break X}break;default:W=E2,E2=J5,g5=null,_9(X,U,H,W)}}GU(),J=G4;break}catch(I){tQ(X,I)}while(1);return Z&&X.shellSuspendCounter++,B0(),I2=$,b.H=Y,b.A=z,q2===null&&(l2=null,M2=0,Y0()),J}function GU(){for(;q2!==null;)$U(q2)}function vq(X,Z){var G=I2;I2|=T4;var $=XU(),Y=ZU();if(l2!==X||M2!==Z){if(b6){var z=X.memoizedUpdaters;0<z.size&&(xX(X,M2),z.clear()),_7(X,Z)}kZ=null,d1=v4()+MW,O9(X,Z)}else r9=Q8(X,Z);X:do try{if(E2!==J5&&q2!==null)Z:switch(Z=q2,z=g5,E2){case E1:E2=J5,g5=null,_9(X,Z,z,E1);break;case m8:case u8:if(_J(z)){E2=J5,g5=null,YU(Z);break}Z=function(){E2!==m8&&E2!==u8||l2!==X||(E2=h1),P6(X)},z.then(Z,Z);break X;case CZ:E2=h1;break X;case BW:E2=IY;break X;case h1:_J(z)?(E2=J5,g5=null,YU(Z)):(E2=J5,g5=null,_9(X,Z,z,h1));break;case IY:var J=null;switch(q2.tag){case 26:J=q2.memoizedState;case 5:case 27:var U=q2;if(J?oU(J):U.stateNode.complete){E2=J5,g5=null;var H=U.sibling;if(H!==null)q2=H;else{var W=U.return;W!==null?(q2=W,p0(W)):q2=null}break Z}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}E2=J5,g5=null,_9(X,Z,z,IY);break;case SZ:E2=J5,g5=null,_9(X,Z,z,SZ);break;case PY:s3(),G4=D1;break X;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}b.actQueue!==null?GU():kq();break}catch(I){tQ(X,I)}while(1);if(B0(),b.H=$,b.A=Y,I2=G,q2!==null)return W7;return l2=null,M2=0,Y0(),G4}function kq(){for(;q2!==null&&!SK();)$U(q2)}function $U(X){var Z=X.alternate;(X.mode&H2)!==Z2?(lG(X),Z=s(X,D3,Z,X,E6),pG(X)):Z=s(X,D3,Z,X,E6),X.memoizedProps=X.pendingProps,Z===null?p0(X):q2=Z}function YU(X){var Z=s(X,gq,X);X.memoizedProps=X.pendingProps,Z===null?p0(X):q2=Z}function gq(X){var Z=X.alternate,G=(X.mode&H2)!==Z2;switch(G&&lG(X),X.tag){case 15:case 0:Z=RQ(Z,X,X.pendingProps,X.type,void 0,M2);break;case 11:Z=RQ(Z,X,X.pendingProps,X.type.render,X.ref,M2);break;case 5:$3(X);default:AQ(Z,X),X=q2=$J(X,E6),Z=D3(Z,X,E6)}return G&&pG(X),Z}function _9(X,Z,G,$){B0(),$3(Z),d9=null,LZ=0;var Y=Z.return;try{if(Kq(X,Y,Z,G,M2)){G4=PZ,j0(X,_5(G,X.current)),q2=null;return}}catch(z){if(Y!==null)throw q2=Y,z;G4=PZ,j0(X,_5(G,X.current)),q2=null;return}if(Z.flags&32768){if(N2||$===E1)X=!0;else if(r9||(M2&536870912)!==0)X=!1;else if(a7=X=!0,$===m8||$===u8||$===CZ||$===SZ)$=S5.current,$!==null&&$.tag===13&&($.flags|=16384);zU(Z,X)}else p0(Z)}function p0(X){var Z=X;do{if((Z.flags&32768)!==0){zU(Z,a7);return}var G=Z.alternate;if(X=Z.return,lG(Z),G=s(Z,_q,G,Z,E6),(Z.mode&H2)!==Z2&&MJ(Z),G!==null){q2=G;return}if(Z=Z.sibling,Z!==null){q2=Z;return}q2=Z=X}while(Z!==null);G4===W7&&(G4=UW)}function zU(X,Z){do{var G=Lq(X.alternate,X);if(G!==null){G.flags&=32767,q2=G;return}if((X.mode&H2)!==Z2){MJ(X),G=X.actualDuration;for(var $=X.child;$!==null;)G+=$.actualDuration,$=$.sibling;X.actualDuration=G}if(G=X.return,G!==null&&(G.flags|=32768,G.subtreeFlags=0,G.deletions=null),!Z&&(X=X.sibling,X!==null)){q2=X;return}q2=X=G}while(X!==null);G4=D1,q2=null}function i3(X,Z,G,$,Y,z,J,U,H,W,I,P,N,v){X.cancelPendingCommit=null;do VX();while(F4!==r7);if(X6.flushLegacyContextWarning(),X6.flushPendingUnsafeLifecycleWarnings(),(I2&(T4|k5))!==b4)throw Error("Should not already be working.");if(O5(G),W===h8?kG(N,v,G,B4):$!==null?Zq(N,v,G,$,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,B4):Xq(N,v,G,B4),Z!==null){if(G===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),Z===X.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(z=Z.lanes|Z.childLanes,z|=XY,aZ(X,G,z,J,U,H),X===l2&&(q2=l2=null,M2=0),t9=Z,t7=X,$6=G,gY=z,yY=Y,LW=$,bY=v,FW=P,Y6=l1,NW=null,Z.actualDuration!==0||(Z.subtreeFlags&10256)!==0||(Z.flags&10256)!==0?(X.callbackNode=null,X.callbackPriority=0,Vq(T9,function(){return VZ=window.event,Y6===l1&&(Y6=kY),HU(),null})):(X.callbackNode=null,X.callbackPriority=0),Y7=null,m7=K4(),P!==null&&Gq(v,m7,P,B4),$=(Z.flags&13878)!==0,(Z.subtreeFlags&13878)!==0||$){$=b.T,b.T=null,Y=b2.p,b2.p=P5,J=I2,I2|=k5;try{Iq(X,Z,G)}finally{I2=J,b2.p=Y,b.T=$}}F4=KW,JU(),QU(),UU()}}function JU(){if(F4===KW){F4=r7;var X=t7,Z=t9,G=$6,$=(Z.flags&13878)!==0;if((Z.subtreeFlags&13878)!==0||$){$=b.T,b.T=null;var Y=b2.p;b2.p=P5;var z=I2;I2|=k5;try{n9=G,o9=X,q0(),DQ(Z,X),o9=n9=null,G=lY;var J=az(X.containerInfo),U=G.focusedElem,H=G.selectionRange;if(J!==U&&U&&U.ownerDocument&&sz(U.ownerDocument.documentElement,U)){if(H!==null&&CG(U)){var{start:W,end:I}=H;if(I===void 0&&(I=W),"selectionStart"in U)U.selectionStart=W,U.selectionEnd=Math.min(I,U.value.length);else{var P=U.ownerDocument||document,N=P&&P.defaultView||window;if(N.getSelection){var v=N.getSelection(),m=U.textContent.length,c=Math.min(H.start,m),s2=H.end===void 0?c:Math.min(H.end,m);!v.extend&&c>s2&&(J=s2,s2=c,c=J);var T2=cz(U,c),_=cz(U,s2);if(T2&&_&&(v.rangeCount!==1||v.anchorNode!==T2.node||v.anchorOffset!==T2.offset||v.focusNode!==_.node||v.focusOffset!==_.offset)){var w=P.createRange();w.setStart(T2.node,T2.offset),v.removeAllRanges(),c>s2?(v.addRange(w),v.extend(_.node,_.offset)):(w.setEnd(_.node,_.offset),v.addRange(w))}}}}P=[];for(v=U;v=v.parentNode;)v.nodeType===1&&P.push({element:v,left:v.scrollLeft,top:v.scrollTop});typeof U.focus==="function"&&U.focus();for(U=0;U<P.length;U++){var T=P[U];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}zG=!!dY,lY=dY=null}finally{I2=z,b2.p=Y,b.T=$}}X.current=Z,F4=RW}}function QU(){if(F4===RW){F4=r7;var X=NW;if(X!==null){m7=K4();var Z=$7,G=m7;!n2||G<=Z||(J7?J7.run(console.timeStamp.bind(console,X,Z,G,L2,O2,"secondary-light")):console.timeStamp(X,Z,G,L2,O2,"secondary-light"))}X=t7,Z=t9,G=$6;var $=(Z.flags&8772)!==0;if((Z.subtreeFlags&8772)!==0||$){$=b.T,b.T=null;var Y=b2.p;b2.p=P5;var z=I2;I2|=k5;try{n9=G,o9=X,q0(),yQ(X,Z.alternate,Z),o9=n9=null}finally{I2=z,b2.p=Y,b.T=$}}X=bY,Z=FW,$7=K4(),X=Z===null?X:m7,Z=$7,G=Y6===vY,$=B4,Y7!==null?tz(X,Z,Y7,!1,$):!n2||Z<=X||($?$.run(console.timeStamp.bind(console,G?"Commit Interrupted View Transition":"Commit",X,Z,L2,O2,G?"error":"secondary-dark")):console.timeStamp(G?"Commit Interrupted View Transition":"Commit",X,Z,L2,O2,G?"error":"secondary-dark")),F4=OW}}function UU(){if(F4===_W||F4===OW){if(F4===_W){var X=$7;$7=K4();var Z=$7,G=Y6===vY;!n2||Z<=X||(J7?J7.run(console.timeStamp.bind(console,G?"Interrupted View Transition":"Starting Animation",X,Z,L2,O2,G?"error":"secondary-light")):console.timeStamp(G?"Interrupted View Transition":"Starting Animation",X,Z,L2,O2,G?" error":"secondary-light")),Y6!==vY&&(Y6=qW)}F4=r7,vK(),X=t7;var $=t9;Z=$6,G=LW;var Y=$.actualDuration!==0||($.subtreeFlags&10256)!==0||($.flags&10256)!==0;Y?F4=p1:(F4=r7,t9=t7=null,BU(X,X.pendingLanes),l8=0,bZ=null);var z=X.pendingLanes;if(z===0&&(o7=null),Y||KU(X),z=M(Z),$=$.stateNode,d4&&typeof d4.onCommitFiberRoot==="function")try{var J=($.current.flags&128)===128;switch(z){case P5:var U=y$;break;case t5:U=f$;break;case y6:U=T9;break;case U1:U=j$;break;default:U=T9}d4.onCommitFiberRoot(I9,$,U,J)}catch(P){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",P))}if(b6&&X.memoizedUpdaters.clear(),Cq(),G!==null){J=b.T,U=b2.p,b2.p=P5,b.T=null;try{var H=X.onRecoverableError;for($=0;$<G.length;$++){var W=G[$],I=bq(W.stack);s(W.source,H,W.value,I)}}finally{b.T=J,b2.p=U}}($6&3)!==0&&VX(),P6(X),z=X.pendingLanes,(Z&261930)!==0&&(z&42)!==0?(C1=!0,X===fY?gZ++:(gZ=0,fY=X)):gZ=0,Y||C8(Z,$7),DX(0,!1)}}function bq(X){return X={componentStack:X},Object.defineProperty(X,"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.')}}),X}function BU(X,Z){(X.pooledCacheLanes&=Z)===0&&(Z=X.pooledCache,Z!=null&&(X.pooledCache=null,FX(Z)))}function VX(){return JU(),QU(),UU(),HU()}function HU(){if(F4!==p1)return!1;var X=t7,Z=gY;gY=0;var G=M($6),$=y6===0||y6>G?y6:G;G=b.T;var Y=b2.p;try{b2.p=$,b.T=null;var z=yY;yY=null,$=t7;var J=$6;if(F4=r7,t9=t7=null,$6=0,(I2&(T4|k5))!==b4)throw Error("Cannot flush passive effects while already rendering.");O5(J),jY=!0,c1=!1;var U=0;if(Y7=null,U=v4(),Y6===qW)_X($7,U,J7);else{var H=$7,W=U,I=Y6===kY;!n2||W<=H||(B4?B4.run(console.timeStamp.bind(console,I?"Waiting for Paint":"Waiting",H,W,L2,O2,"secondary-light")):console.timeStamp(I?"Waiting for Paint":"Waiting",H,W,L2,O2,"secondary-light"))}H=I2,I2|=k5;var P=$.current;q0(),cQ(P);var N=$.current;P=bY,q0(),uQ($,N,J,z,P),KU($),I2=H;var v=v4();if(N=U,P=B4,Y7!==null?tz(N,v,Y7,!0,P):!n2||v<=N||(P?P.run(console.timeStamp.bind(console,"Remaining Effects",N,v,L2,O2,"secondary-dark")):console.timeStamp("Remaining Effects",N,v,L2,O2,"secondary-dark")),C8(J,v),DX(0,!1),c1?$===bZ?l8++:(l8=0,bZ=$):l8=0,c1=jY=!1,d4&&typeof d4.onPostCommitFiberRoot==="function")try{d4.onPostCommitFiberRoot(I9,$)}catch(c){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",c))}var m=$.current.stateNode;return m.effectDuration=0,m.passiveEffectDuration=0,!0}finally{b2.p=Y,b.T=G,BU(X,Z)}}function WU(X,Z,G){Z=_5(G,Z),qJ(Z),Z=C3(X.stateNode,Z,2),X=I7(X,Z,2),X!==null&&(O7(X,2),P6(X))}function g2(X,Z,G){if(e9=!1,X.tag===3)WU(X,X,G);else{for(;Z!==null;){if(Z.tag===3){WU(Z,X,G);return}if(Z.tag===1){var $=Z.stateNode;if(typeof Z.type.getDerivedStateFromError==="function"||typeof $.componentDidCatch==="function"&&(o7===null||!o7.has($))){X=_5(G,X),qJ(X),G=S3(2),$=I7(Z,G,2),$!==null&&(v3(G,$,Z,X),O7($,2),P6($));return}}Z=Z.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.
154
+
155
+ Error message:
156
+
157
+ %s`,G)}}function n3(X,Z,G){var $=X.pingCache;if($===null){$=X.pingCache=new iR;var Y=new Set;$.set(Z,Y)}else Y=$.get(Z),Y===void 0&&(Y=new Set,$.set(Z,Y));Y.has(G)||(CY=!0,Y.add(G),$=yq.bind(null,X,Z,G),b6&&xX(X,G),Z.then($,$))}function yq(X,Z,G){var $=X.pingCache;$!==null&&$.delete(Z),X.pingedLanes|=X.suspendedLanes&G,X.warmLanes&=~G,(G&127)!==0?0>V6&&(u7=V6=K4(),JZ=N1("Promise Resolved"),d7=w1):(G&4194048)!==0&&0>d5&&(x6=d5=K4(),UZ=N1("Promise Resolved"),QY=w1),iQ()&&b.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
158
+
159
+ When testing, code that resolves suspended data should be wrapped into act(...):
160
+
161
+ act(() => {
162
+ /* finish loading suspended data */
163
+ });
164
+ /* assert on the output */
165
+
166
+ 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`),l2===X&&(M2&G)===G&&(G4===s7||G4===x1&&(M2&62914560)===M2&&v4()-u1<WW?(I2&T4)===b4&&O9(X,0):SY|=G,d8===M2&&(d8=0)),P6(X)}function MU(X,Z){Z===0&&(Z=Z9()),X=u4(X,Z),X!==null&&(O7(X,Z),P6(X))}function fq(X){var Z=X.memoizedState,G=0;Z!==null&&(G=Z.retryLane),MU(X,G)}function jq(X,Z){var G=0;switch(X.tag){case 31:case 13:var{stateNode:$,memoizedState:Y}=X;Y!==null&&(G=Y.retryLane);break;case 19:$=X.stateNode;break;case 22:$=X.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}$!==null&&$.delete(Z),MU(X,G)}function o3(X,Z,G){if((Z.subtreeFlags&67117056)!==0)for(Z=Z.child;Z!==null;){var $=X,Y=Z,z=Y.type===G1;z=G||z,Y.tag!==22?Y.flags&67108864?z&&s(Y,qU,$,Y):o3($,Y,z):Y.memoizedState===null&&(z&&Y.flags&8192?s(Y,qU,$,Y):Y.subtreeFlags&67108864&&s(Y,o3,$,Y,z)),Z=Z.sibling}}function qU(X,Z){p2(!0);try{hQ(Z),sQ(Z),mQ(X,Z.alternate,Z,!1),dQ(X,Z,0,null,!1,0)}finally{p2(!1)}}function KU(X){var Z=!0;X.current.mode&(l4|e5)||(Z=!1),o3(X,X.current,Z)}function RU(X){if((I2&T4)===b4){var Z=X.tag;if(Z===3||Z===1||Z===0||Z===11||Z===14||Z===15){if(Z=p(X)||"ReactComponent",s1!==null){if(s1.has(Z))return;s1.add(Z)}else s1=new Set([Z]);s(X,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 xX(X,Z){b6&&X.memoizedUpdaters.forEach(function(G){UX(X,G,Z)})}function Vq(X,Z){var G=b.actQueue;return G!==null?(G.push(Z),rR):b$(X,Z)}function xq(X){iQ()&&b.actQueue===null&&s(X,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
167
+
168
+ When testing, code that causes React state updates should be wrapped into act(...):
169
+
170
+ act(() => {
171
+ /* fire events that update state */
172
+ });
173
+ /* assert on the output */
174
+
175
+ 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`,p(X))})}function P6(X){X!==XX&&X.next===null&&(XX===null?a1=XX=X:XX=XX.next=X),i1=!0,b.actQueue!==null?xY||(xY=!0,FU()):VY||(VY=!0,FU())}function DX(X,Z){if(!DY&&i1){DY=!0;do{var G=!1;for(var $=a1;$!==null;){if(!Z)if(X!==0){var Y=$.pendingLanes;if(Y===0)var z=0;else{var{suspendedLanes:J,pingedLanes:U}=$;z=(1<<31-a4(42|X)+1)-1,z&=Y&~(J&~U),z=z&201326741?z&201326741|1:z?z|2:0}z!==0&&(G=!0,LU($,z))}else z=M2,z=J8($,$===l2?z:0,$.cancelPendingCommit!==null||$.timeoutHandle!==a8),(z&3)===0||Q8($,z)||(G=!0,LU($,z));$=$.next}}while(G);DY=!1}}function Dq(){VZ=window.event,r3()}function r3(){i1=xY=VY=!1;var X=0;e7!==0&&pq()&&(X=e7);for(var Z=v4(),G=null,$=a1;$!==null;){var Y=$.next,z=OU($,Z);if(z===0)$.next=null,G===null?a1=Y:G.next=Y,Y===null&&(XX=G);else if(G=$,X!==0||(z&3)!==0)i1=!0;$=Y}F4!==r7&&F4!==p1||DX(X,!1),e7!==0&&(e7=0)}function OU(X,Z){for(var{suspendedLanes:G,pingedLanes:$,expirationTimes:Y}=X,z=X.pendingLanes&-62914561;0<z;){var J=31-a4(z),U=1<<J,H=Y[J];if(H===-1){if((U&G)===0||(U&$)!==0)Y[J]=RG(U,Z)}else H<=Z&&(X.expiredLanes|=U);z&=~U}if(Z=l2,G=M2,G=J8(X,X===Z?G:0,X.cancelPendingCommit!==null||X.timeoutHandle!==a8),$=X.callbackNode,G===0||X===Z&&(E2===m8||E2===u8)||X.cancelPendingCommit!==null)return $!==null&&t3($),X.callbackNode=null,X.callbackPriority=0;if((G&3)===0||Q8(X,G)){if(Z=G&-G,Z!==X.callbackPriority||b.actQueue!==null&&$!==EY)t3($);else return Z;switch(M(G)){case P5:case t5:G=f$;break;case y6:G=T9;break;case U1:G=j$;break;default:G=T9}return $=_U.bind(null,X),b.actQueue!==null?(b.actQueue.push($),G=EY):G=b$(G,$),X.callbackPriority=Z,X.callbackNode=G,Z}return $!==null&&t3($),X.callbackPriority=2,X.callbackNode=null,2}function _U(X,Z){if(C1=P1=!1,VZ=window.event,F4!==r7&&F4!==p1)return X.callbackNode=null,X.callbackPriority=0,null;var G=X.callbackNode;if(Y6===l1&&(Y6=kY),VX()&&X.callbackNode!==G)return null;var $=M2;if($=J8(X,X===l2?$:0,X.cancelPendingCommit!==null||X.timeoutHandle!==a8),$===0)return null;return oQ(X,$,Z),OU(X,v4()),X.callbackNode!=null&&X.callbackNode===G?_U.bind(null,X):null}function LU(X,Z){if(VX())return null;P1=C1,C1=!1,oQ(X,Z,!0)}function t3(X){X!==EY&&X!==null&&CK(X)}function FU(){b.actQueue!==null&&b.actQueue.push(function(){return r3(),null}),QO(function(){(I2&(T4|k5))!==b4?b$(y$,Dq):r3()})}function e3(){if(e7===0){var X=f8;X===0&&(X=z1,z1<<=1,(z1&261888)===0&&(z1=256)),e7=X}return e7}function NU(X){if(X==null||typeof X==="symbol"||typeof X==="boolean")return null;if(typeof X==="function")return X;return m2(X,"action"),KX(""+X)}function wU(X,Z){var G=Z.ownerDocument.createElement("input");return G.name=Z.name,G.value=Z.value,X.id&&G.setAttribute("form",X.id),Z.parentNode.insertBefore(G,Z),X=new FormData(X),G.parentNode.removeChild(G),X}function Eq(X,Z,G,$,Y){if(Z==="submit"&&G&&G.stateNode===Y){var z=NU((Y[i4]||null).action),J=$.submitter;J&&(Z=(Z=J[i4]||null)?NU(Z.formAction):J.getAttribute("formAction"),Z!==null&&(z=Z,J=null));var U=new q1("action","action",null,$,Y);X.push({event:U,listeners:[{instance:null,listener:function(){if($.defaultPrevented){if(e7!==0){var H=J?wU(Y,J):new FormData(Y),W={pending:!0,data:H,method:Y.method,action:z};Object.freeze(W),F3(G,W,null,H)}}else typeof z==="function"&&(U.preventDefault(),H=J?wU(Y,J):new FormData(Y),W={pending:!0,data:H,method:Y.method,action:z},Object.freeze(W),F3(G,W,z,H))},currentTarget:Y}]})}}function c0(X,Z,G){X.currentTarget=G;try{Z(X)}catch($){o$($)}X.currentTarget=null}function AU(X,Z){Z=(Z&4)!==0;for(var G=0;G<X.length;G++){var $=X[G];X:{var Y=void 0,z=$.event;if($=$.listeners,Z)for(var J=$.length-1;0<=J;J--){var U=$[J],H=U.instance,W=U.currentTarget;if(U=U.listener,H!==Y&&z.isPropagationStopped())break X;H!==null?s(H,c0,z,U,W):c0(z,U,W),Y=H}else for(J=0;J<$.length;J++){if(U=$[J],H=U.instance,W=U.currentTarget,U=U.listener,H!==Y&&z.isPropagationStopped())break X;H!==null?s(H,c0,z,U,W):c0(z,U,W),Y=H}}}}function A2(X,Z){hY.has(X)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',X);var G=Z[V$];G===void 0&&(G=Z[V$]=new Set);var $=X+"__bubble";G.has($)||(TU(Z,X,2,!1),G.add($))}function X$(X,Z,G){hY.has(X)&&!Z&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',X);var $=0;Z&&($|=4),TU(G,X,$,Z)}function Z$(X){if(!X[n1]){X[n1]=!0,FB.forEach(function(G){G!=="selectionchange"&&(hY.has(G)||X$(G,!1,X),X$(G,!0,X))});var Z=X.nodeType===9?X:X.ownerDocument;Z===null||Z[n1]||(Z[n1]=!0,X$("selectionchange",!1,Z))}}function TU(X,Z,G,$){switch(GB(Z)){case P5:var Y=LK;break;case t5:Y=FK;break;default:Y=_$}G=Y.bind(null,Z,G,X),Y=void 0,!m$||Z!=="touchstart"&&Z!=="touchmove"&&Z!=="wheel"||(Y=!0),$?Y!==void 0?X.addEventListener(Z,G,{capture:!0,passive:Y}):X.addEventListener(Z,G,!0):Y!==void 0?X.addEventListener(Z,G,{passive:Y}):X.addEventListener(Z,G,!1)}function G$(X,Z,G,$,Y){var z=$;if((Z&1)===0&&(Z&2)===0&&$!==null)X:for(;;){if($===null)return;var J=$.tag;if(J===3||J===4){var U=$.stateNode.containerInfo;if(U===Y)break;if(J===4)for(J=$.return;J!==null;){var H=J.tag;if((H===3||H===4)&&J.stateNode.containerInfo===Y)return;J=J.return}for(;U!==null;){if(J=a(U),J===null)return;if(H=J.tag,H===5||H===6||H===26||H===27){$=z=J;continue X}U=U.parentNode}}$=$.return}jz(function(){var W=z,I=IG(G),P=[];X:{var N=GH.get(X);if(N!==void 0){var v=q1,m=X;switch(X){case"keypress":if(eZ(G)===0)break X;case"keydown":case"keyup":v=qR;break;case"focusin":m="focus",v=p$;break;case"focusout":m="blur",v=p$;break;case"beforeblur":case"afterblur":v=p$;break;case"click":if(G.button===2)break X;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=dB;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=ZR;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=OR;break;case tB:case eB:case XH:v=YR;break;case ZH:v=LR;break;case"scroll":case"scrollend":v=eK;break;case"wheel":v=NR;break;case"copy":case"cut":case"paste":v=JR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=pB;break;case"toggle":case"beforetoggle":v=AR}var c=(Z&4)!==0,s2=!c&&(X==="scroll"||X==="scrollend"),T2=c?N!==null?N+"Capture":null:N;c=[];for(var _=W,w;_!==null;){var T=_;if(w=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||w===null||T2===null||(T=RX(_,T2),T!=null&&c.push(EX(_,T,w))),s2)break;_=_.return}0<c.length&&(N=new v(N,m,null,G,I),P.push({event:N,listeners:c}))}}if((Z&7)===0){X:{if(N=X==="mouseover"||X==="pointerover",v=X==="mouseout"||X==="pointerout",N&&G!==nX&&(m=G.relatedTarget||G.fromElement)&&(a(m)||m[j7]))break X;if(v||N){if(N=I.window===I?I:(N=I.ownerDocument)?N.defaultView||N.parentWindow:window,v){if(m=G.relatedTarget||G.toElement,v=W,m=m?a(m):null,m!==null&&(s2=W5(m),c=m.tag,m!==s2||c!==5&&c!==27&&c!==6))m=null}else v=null,m=W;if(v!==m){if(c=dB,T="onMouseLeave",T2="onMouseEnter",_="mouse",X==="pointerout"||X==="pointerover")c=pB,T="onPointerLeave",T2="onPointerEnter",_="pointer";if(s2=v==null?N:J2(v),w=m==null?N:J2(m),N=new c(T,_+"leave",v,G,I),N.target=s2,N.relatedTarget=w,T=null,a(I)===W&&(c=new c(T2,_+"enter",m,G,I),c.target=w,c.relatedTarget=s2,T=c),s2=T,v&&m)Z:{c=hq,T2=v,_=m,w=0;for(T=T2;T;T=c(T))w++;T=0;for(var y=_;y;y=c(y))T++;for(;0<w-T;)T2=c(T2),w--;for(;0<T-w;)_=c(_),T--;for(;w--;){if(T2===_||_!==null&&T2===_.alternate){c=T2;break Z}T2=c(T2),_=c(_)}c=null}else c=null;v!==null&&IU(P,N,v,c,!1),m!==null&&s2!==null&&IU(P,s2,m,c,!0)}}}X:{if(N=W?J2(W):window,v=N.nodeName&&N.nodeName.toLowerCase(),v==="select"||v==="input"&&N.type==="file")var d=uz;else if(hz(N))if(oB)d=rM;else{d=nM;var $2=iM}else v=N.nodeName,!v||v.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?W&&qX(W.elementType)&&(d=uz):d=oM;if(d&&(d=d(X,W))){mz(P,d,G,I);break X}$2&&$2(X,N,W),X==="focusout"&&W&&N.type==="number"&&W.memoizedProps.value!=null&&LG(N,"number",N.value)}switch($2=W?J2(W):window,X){case"focusin":if(hz($2)||$2.contentEditable==="true")b9=$2,s$=W,GZ=null;break;case"focusout":GZ=s$=b9=null;break;case"mousedown":a$=!0;break;case"contextmenu":case"mouseup":case"dragend":a$=!1,iz(P,G,I);break;case"selectionchange":if(CR)break;case"keydown":case"keyup":iz(P,G,I)}var n;if(c$)X:{switch(X){case"compositionstart":var i="onCompositionStart";break X;case"compositionend":i="onCompositionEnd";break X;case"compositionupdate":i="onCompositionUpdate";break X}i=void 0}else g9?Dz(X,G)&&(i="onCompositionEnd"):X==="keydown"&&G.keyCode===cB&&(i="onCompositionStart");if(i&&(sB&&G.locale!=="ko"&&(g9||i!=="onCompositionStart"?i==="onCompositionEnd"&&g9&&(n=Vz()):(V7=I,u$=("value"in V7)?V7.value:V7.textContent,g9=!0)),$2=s0(W,i),0<$2.length&&(i=new lB(i,X,null,G,I),P.push({event:i,listeners:$2}),n?i.data=n:(n=Ez(G),n!==null&&(i.data=n)))),n=IR?pM(X,G):cM(X,G))i=s0(W,"onBeforeInput"),0<i.length&&($2=new UR("onBeforeInput","beforeinput",null,G,I),P.push({event:$2,listeners:i}),$2.data=n);Eq(P,X,W,G,I)}AU(P,Z)})}function EX(X,Z,G){return{instance:X,listener:Z,currentTarget:G}}function s0(X,Z){for(var G=Z+"Capture",$=[];X!==null;){var Y=X,z=Y.stateNode;if(Y=Y.tag,Y!==5&&Y!==26&&Y!==27||z===null||(Y=RX(X,G),Y!=null&&$.unshift(EX(X,Y,z)),Y=RX(X,Z),Y!=null&&$.push(EX(X,Y,z))),X.tag===3)return $;X=X.return}return[]}function hq(X){if(X===null)return null;do X=X.return;while(X&&X.tag!==5&&X.tag!==27);return X?X:null}function IU(X,Z,G,$,Y){for(var z=Z._reactName,J=[];G!==null&&G!==$;){var U=G,H=U.alternate,W=U.stateNode;if(U=U.tag,H!==null&&H===$)break;U!==5&&U!==26&&U!==27||W===null||(H=W,Y?(W=RX(G,z),W!=null&&J.unshift(EX(G,W,H))):Y||(W=RX(G,z),W!=null&&J.push(EX(G,W,H)))),G=G.return}J.length!==0&&X.push({event:Z,listeners:J})}function $$(X,Z){mM(X,Z),X!=="input"&&X!=="textarea"&&X!=="select"||Z==null||Z.value!==null||mB||(mB=!0,X==="select"&&Z.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.",X):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",X));var G={registrationNameDependencies:S8,possibleRegistrationNames:x$};qX(X)||typeof Z.is==="string"||dM(X,Z,G),Z.contentEditable&&!Z.suppressContentEditableWarning&&Z.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 S4(X,Z,G,$){Z!==G&&(G=k7(G),k7(Z)!==G&&($[X]=Z))}function mq(X,Z,G){Z.forEach(function($){G[SU($)]=$==="style"?z$(X):X.getAttribute($)})}function C6(X,Z){Z===!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.",X,X,X):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",X,typeof Z)}function PU(X,Z){return X=X.namespaceURI===H1||X.namespaceURI===C9?X.ownerDocument.createElementNS(X.namespaceURI,X.tagName):X.ownerDocument.createElement(X.tagName),X.innerHTML=Z,X.innerHTML}function k7(X){return R7(X)&&(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.",z8(X)),C4(X)),(typeof X==="string"?X:""+X).replace(tR,`
176
+ `).replace(eR,"")}function CU(X,Z){return Z=k7(Z),k7(X)===Z?!0:!1}function u2(X,Z,G,$,Y,z){switch(G){case"children":if(typeof $==="string")tZ($,Z,!1),Z==="body"||Z==="textarea"&&$===""||MX(X,$);else if(typeof $==="number"||typeof $==="bigint")tZ(""+$,Z,!1),Z!=="body"&&MX(X,""+$);break;case"className":nZ(X,"class",$);break;case"tabIndex":nZ(X,"tabindex",$);break;case"dir":case"role":case"viewBox":case"width":case"height":nZ(X,G,$);break;case"style":bz(X,$,z);break;case"data":if(Z!=="object"){nZ(X,"data",$);break}case"src":case"href":if($===""&&(Z!=="a"||G!=="href")){G==="src"?console.error('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.',G,G):console.error('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),X.removeAttribute(G);break}if($==null||typeof $==="function"||typeof $==="symbol"||typeof $==="boolean"){X.removeAttribute(G);break}m2($,G),$=KX(""+$),X.setAttribute(G,$);break;case"action":case"formAction":if($!=null&&(Z==="form"?G==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof $==="function"&&(Y.encType==null&&Y.method==null||t1||(t1=!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.")),Y.target==null||r1||(r1=!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."))):Z==="input"||Z==="button"?G==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):Z!=="input"||Y.type==="submit"||Y.type==="image"||o1?Z!=="button"||Y.type==null||Y.type==="submit"||o1?typeof $==="function"&&(Y.name==null||PW||(PW=!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.')),Y.formEncType==null&&Y.formMethod==null||t1||(t1=!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.")),Y.formTarget==null||r1||(r1=!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."))):(o1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(o1=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):G==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof $==="function"){X.setAttribute(G,"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 z==="function"&&(G==="formAction"?(Z!=="input"&&u2(X,Z,"name",Y.name,Y,null),u2(X,Z,"formEncType",Y.formEncType,Y,null),u2(X,Z,"formMethod",Y.formMethod,Y,null),u2(X,Z,"formTarget",Y.formTarget,Y,null)):(u2(X,Z,"encType",Y.encType,Y,null),u2(X,Z,"method",Y.method,Y,null),u2(X,Z,"target",Y.target,Y,null)));if($==null||typeof $==="symbol"||typeof $==="boolean"){X.removeAttribute(G);break}m2($,G),$=KX(""+$),X.setAttribute(G,$);break;case"onClick":$!=null&&(typeof $!=="function"&&C6(G,$),X.onclick=p6);break;case"onScroll":$!=null&&(typeof $!=="function"&&C6(G,$),A2("scroll",X));break;case"onScrollEnd":$!=null&&(typeof $!=="function"&&C6(G,$),A2("scrollend",X));break;case"dangerouslySetInnerHTML":if($!=null){if(typeof $!=="object"||!("__html"in $))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=$.__html,G!=null){if(Y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");X.innerHTML=G}}break;case"multiple":X.multiple=$&&typeof $!=="function"&&typeof $!=="symbol";break;case"muted":X.muted=$&&typeof $!=="function"&&typeof $!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if($==null||typeof $==="function"||typeof $==="boolean"||typeof $==="symbol"){X.removeAttribute("xlink:href");break}m2($,G),G=KX(""+$),X.setAttributeNS(p8,"xlink:href",G);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":$!=null&&typeof $!=="function"&&typeof $!=="symbol"?(m2($,G),X.setAttribute(G,""+$)):X.removeAttribute(G);break;case"inert":$!==""||e1[G]||(e1[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));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":$&&typeof $!=="function"&&typeof $!=="symbol"?X.setAttribute(G,""):X.removeAttribute(G);break;case"capture":case"download":$===!0?X.setAttribute(G,""):$!==!1&&$!=null&&typeof $!=="function"&&typeof $!=="symbol"?(m2($,G),X.setAttribute(G,$)):X.removeAttribute(G);break;case"cols":case"rows":case"size":case"span":$!=null&&typeof $!=="function"&&typeof $!=="symbol"&&!isNaN($)&&1<=$?(m2($,G),X.setAttribute(G,$)):X.removeAttribute(G);break;case"rowSpan":case"start":$==null||typeof $==="function"||typeof $==="symbol"||isNaN($)?X.removeAttribute(G):(m2($,G),X.setAttribute(G,$));break;case"popover":A2("beforetoggle",X),A2("toggle",X),iZ(X,"popover",$);break;case"xlinkActuate":l6(X,p8,"xlink:actuate",$);break;case"xlinkArcrole":l6(X,p8,"xlink:arcrole",$);break;case"xlinkRole":l6(X,p8,"xlink:role",$);break;case"xlinkShow":l6(X,p8,"xlink:show",$);break;case"xlinkTitle":l6(X,p8,"xlink:title",$);break;case"xlinkType":l6(X,p8,"xlink:type",$);break;case"xmlBase":l6(X,mY,"xml:base",$);break;case"xmlLang":l6(X,mY,"xml:lang",$);break;case"xmlSpace":l6(X,mY,"xml:space",$);break;case"is":z!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),iZ(X,"is",$);break;case"innerText":case"textContent":break;case"popoverTarget":CW||$==null||typeof $!=="object"||(CW=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",$));default:!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"?(G=yz(G),iZ(X,G,$)):S8.hasOwnProperty(G)&&$!=null&&typeof $!=="function"&&C6(G,$)}}function Y$(X,Z,G,$,Y,z){switch(G){case"style":bz(X,$,z);break;case"dangerouslySetInnerHTML":if($!=null){if(typeof $!=="object"||!("__html"in $))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=$.__html,G!=null){if(Y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");X.innerHTML=G}}break;case"children":typeof $==="string"?MX(X,$):(typeof $==="number"||typeof $==="bigint")&&MX(X,""+$);break;case"onScroll":$!=null&&(typeof $!=="function"&&C6(G,$),A2("scroll",X));break;case"onScrollEnd":$!=null&&(typeof $!=="function"&&C6(G,$),A2("scrollend",X));break;case"onClick":$!=null&&(typeof $!=="function"&&C6(G,$),X.onclick=p6);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(S8.hasOwnProperty(G))$!=null&&typeof $!=="function"&&C6(G,$);else X:{if(G[0]==="o"&&G[1]==="n"&&(Y=G.endsWith("Capture"),Z=G.slice(2,Y?G.length-7:void 0),z=X[i4]||null,z=z!=null?z[G]:null,typeof z==="function"&&X.removeEventListener(Z,z,Y),typeof $==="function")){typeof z!=="function"&&z!==null&&(G in X?X[G]=null:X.hasAttribute(G)&&X.removeAttribute(G)),X.addEventListener(Z,$,Y);break X}G in X?X[G]=$:$===!0?X.setAttribute(G,""):iZ(X,G,$)}}}function D4(X,Z,G){switch($$(Z,G),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":A2("error",X),A2("load",X);var $=!1,Y=!1,z;for(z in G)if(G.hasOwnProperty(z)){var J=G[z];if(J!=null)switch(z){case"src":$=!0;break;case"srcSet":Y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:u2(X,Z,z,J,G,null)}}Y&&u2(X,Z,"srcSet",G.srcSet,G,null),$&&u2(X,Z,"src",G.src,G,null);return;case"input":L7("input",G),A2("invalid",X);var U=z=J=Y=null,H=null,W=null;for($ in G)if(G.hasOwnProperty($)){var I=G[$];if(I!=null)switch($){case"name":Y=I;break;case"type":J=I;break;case"checked":H=I;break;case"defaultChecked":W=I;break;case"value":z=I;break;case"defaultValue":U=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:u2(X,Z,$,I,G,null)}}Rz(X,G),Oz(X,z,U,H,W,J,Y,!1);return;case"select":L7("select",G),A2("invalid",X),$=J=z=null;for(Y in G)if(G.hasOwnProperty(Y)&&(U=G[Y],U!=null))switch(Y){case"value":z=U;break;case"defaultValue":J=U;break;case"multiple":$=U;default:u2(X,Z,Y,U,G,null)}Fz(X,G),Z=z,G=J,X.multiple=!!$,Z!=null?$9(X,!!$,Z,!1):G!=null&&$9(X,!!$,G,!0);return;case"textarea":L7("textarea",G),A2("invalid",X),z=Y=$=null;for(J in G)if(G.hasOwnProperty(J)&&(U=G[J],U!=null))switch(J){case"value":$=U;break;case"defaultValue":Y=U;break;case"children":z=U;break;case"dangerouslySetInnerHTML":if(U!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:u2(X,Z,J,U,G,null)}Nz(X,G),Az(X,$,Y,z);return;case"option":_z(X,G);for(H in G)if(G.hasOwnProperty(H)&&($=G[H],$!=null))switch(H){case"selected":X.selected=$&&typeof $!=="function"&&typeof $!=="symbol";break;default:u2(X,Z,H,$,G,null)}return;case"dialog":A2("beforetoggle",X),A2("toggle",X),A2("cancel",X),A2("close",X);break;case"iframe":case"object":A2("load",X);break;case"video":case"audio":for($=0;$<yZ.length;$++)A2(yZ[$],X);break;case"image":A2("error",X),A2("load",X);break;case"details":A2("toggle",X);break;case"embed":case"source":case"link":A2("error",X),A2("load",X);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(W in G)if(G.hasOwnProperty(W)&&($=G[W],$!=null))switch(W){case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:u2(X,Z,W,$,G,null)}return;default:if(qX(Z)){for(I in G)G.hasOwnProperty(I)&&($=G[I],$!==void 0&&Y$(X,Z,I,$,G,void 0));return}}for(U in G)G.hasOwnProperty(U)&&($=G[U],$!=null&&u2(X,Z,U,$,G,null))}function uq(X,Z,G,$){switch($$(Z,$),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var Y=null,z=null,J=null,U=null,H=null,W=null,I=null;for(v in G){var P=G[v];if(G.hasOwnProperty(v)&&P!=null)switch(v){case"checked":break;case"value":break;case"defaultValue":H=P;default:$.hasOwnProperty(v)||u2(X,Z,v,null,$,P)}}for(var N in $){var v=$[N];if(P=G[N],$.hasOwnProperty(N)&&(v!=null||P!=null))switch(N){case"type":z=v;break;case"name":Y=v;break;case"checked":W=v;break;case"defaultChecked":I=v;break;case"value":J=v;break;case"defaultValue":U=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:v!==P&&u2(X,Z,N,v,$,P)}}Z=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,$=$.type==="checkbox"||$.type==="radio"?$.checked!=null:$.value!=null,Z||!$||IW||(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"),IW=!0),!Z||$||TW||(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"),TW=!0),_G(X,J,U,H,W,I,z,Y);return;case"select":v=J=U=N=null;for(z in G)if(H=G[z],G.hasOwnProperty(z)&&H!=null)switch(z){case"value":break;case"multiple":v=H;default:$.hasOwnProperty(z)||u2(X,Z,z,null,$,H)}for(Y in $)if(z=$[Y],H=G[Y],$.hasOwnProperty(Y)&&(z!=null||H!=null))switch(Y){case"value":N=z;break;case"defaultValue":U=z;break;case"multiple":J=z;default:z!==H&&u2(X,Z,Y,z,$,H)}$=U,Z=J,G=v,N!=null?$9(X,!!Z,N,!1):!!G!==!!Z&&($!=null?$9(X,!!Z,$,!0):$9(X,!!Z,Z?[]:"",!1));return;case"textarea":v=N=null;for(U in G)if(Y=G[U],G.hasOwnProperty(U)&&Y!=null&&!$.hasOwnProperty(U))switch(U){case"value":break;case"children":break;default:u2(X,Z,U,null,$,Y)}for(J in $)if(Y=$[J],z=G[J],$.hasOwnProperty(J)&&(Y!=null||z!=null))switch(J){case"value":N=Y;break;case"defaultValue":v=Y;break;case"children":break;case"dangerouslySetInnerHTML":if(Y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Y!==z&&u2(X,Z,J,Y,$,z)}wz(X,N,v);return;case"option":for(var m in G)if(N=G[m],G.hasOwnProperty(m)&&N!=null&&!$.hasOwnProperty(m))switch(m){case"selected":X.selected=!1;break;default:u2(X,Z,m,null,$,N)}for(H in $)if(N=$[H],v=G[H],$.hasOwnProperty(H)&&N!==v&&(N!=null||v!=null))switch(H){case"selected":X.selected=N&&typeof N!=="function"&&typeof N!=="symbol";break;default:u2(X,Z,H,N,$,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 c in G)N=G[c],G.hasOwnProperty(c)&&N!=null&&!$.hasOwnProperty(c)&&u2(X,Z,c,null,$,N);for(W in $)if(N=$[W],v=G[W],$.hasOwnProperty(W)&&N!==v&&(N!=null||v!=null))switch(W){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:u2(X,Z,W,N,$,v)}return;default:if(qX(Z)){for(var s2 in G)N=G[s2],G.hasOwnProperty(s2)&&N!==void 0&&!$.hasOwnProperty(s2)&&Y$(X,Z,s2,void 0,$,N);for(I in $)N=$[I],v=G[I],!$.hasOwnProperty(I)||N===v||N===void 0&&v===void 0||Y$(X,Z,I,N,$,v);return}}for(var T2 in G)N=G[T2],G.hasOwnProperty(T2)&&N!=null&&!$.hasOwnProperty(T2)&&u2(X,Z,T2,null,$,N);for(P in $)N=$[P],v=G[P],!$.hasOwnProperty(P)||N===v||N==null&&v==null||u2(X,Z,P,N,$,v)}function SU(X){switch(X){case"class":return"className";case"for":return"htmlFor";default:return X}}function z$(X){var Z={};X=X.style;for(var G=0;G<X.length;G++){var $=X[G];Z[$]=X.getPropertyValue($)}return Z}function vU(X,Z,G){if(Z!=null&&typeof Z!=="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 $,Y=$="",z;for(z in Z)if(Z.hasOwnProperty(z)){var J=Z[z];J!=null&&typeof J!=="boolean"&&J!==""&&(z.indexOf("--")===0?(QX(J,z),$+=Y+z+":"+(""+J).trim()):typeof J!=="number"||J===0||EB.has(z)?(QX(J,z),$+=Y+z.replace(fB,"-$1").toLowerCase().replace(jB,"-ms-")+":"+(""+J).trim()):$+=Y+z.replace(fB,"-$1").toLowerCase().replace(jB,"-ms-")+":"+J+"px",Y=";")}$=$||null,Z=X.getAttribute("style"),Z!==$&&($=k7($),k7(Z)!==$&&(G.style=z$(X)))}}function V5(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null)switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":return}else if($!=null)switch(typeof $){case"function":case"symbol":case"boolean":break;default:if(m2($,Z),X===""+$)return}S4(Z,X,$,z)}function kU(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null){switch(typeof $){case"function":case"symbol":return}if(!$)return}else switch(typeof $){case"function":case"symbol":break;default:if($)return}S4(Z,X,$,z)}function J$(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null)switch(typeof $){case"undefined":case"function":case"symbol":return}else if($!=null)switch(typeof $){case"function":case"symbol":break;default:if(m2($,G),X===""+$)return}S4(Z,X,$,z)}function gU(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null)switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN($))return}else if($!=null)switch(typeof $){case"function":case"symbol":case"boolean":break;default:if(!isNaN($)&&(m2($,Z),X===""+$))return}S4(Z,X,$,z)}function Q$(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null)switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":return}else if($!=null)switch(typeof $){case"function":case"symbol":case"boolean":break;default:if(m2($,Z),G=KX(""+$),X===G)return}S4(Z,X,$,z)}function bU(X,Z,G,$){for(var Y={},z=new Set,J=X.attributes,U=0;U<J.length;U++)switch(J[U].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:z.add(J[U].name)}if(qX(Z)){for(var H in G)if(G.hasOwnProperty(H)){var W=G[H];if(W!=null){if(S8.hasOwnProperty(H))typeof W!=="function"&&C6(H,W);else if(G.suppressHydrationWarning!==!0)switch(H){case"children":typeof W!=="string"&&typeof W!=="number"||S4("children",X.textContent,W,Y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":J=X.innerHTML,W=W?W.__html:void 0,W!=null&&(W=PU(X,W),S4(H,J,W,Y));continue;case"style":z.delete(H),vU(X,W,Y);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":z.delete(H.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",H);continue;case"className":z.delete("class"),J=Mz(X,"class",W),S4("className",J,W,Y);continue;default:$.context===M7&&Z!=="svg"&&Z!=="math"?z.delete(H.toLowerCase()):z.delete(H),J=Mz(X,H,W),S4(H,J,W,Y)}}}}else for(W in G)if(G.hasOwnProperty(W)&&(H=G[W],H!=null)){if(S8.hasOwnProperty(W))typeof H!=="function"&&C6(W,H);else if(G.suppressHydrationWarning!==!0)switch(W){case"children":typeof H!=="string"&&typeof H!=="number"||S4("children",X.textContent,H,Y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":J=X.innerHTML,H=H?H.__html:void 0,H!=null&&(H=PU(X,H),J!==H&&(Y[W]={__html:J}));continue;case"className":V5(X,W,"class",H,z,Y);continue;case"tabIndex":V5(X,W,"tabindex",H,z,Y);continue;case"style":z.delete(W),vU(X,H,Y);continue;case"multiple":z.delete(W),S4(W,X.multiple,H,Y);continue;case"muted":z.delete(W),S4(W,X.muted,H,Y);continue;case"autoFocus":z.delete("autofocus"),S4(W,X.autofocus,H,Y);continue;case"data":if(Z!=="object"){z.delete(W),J=X.getAttribute("data"),S4(W,J,H,Y);continue}case"src":case"href":if(!(H!==""||Z==="a"&&W==="href"||Z==="object"&&W==="data")){W==="src"?console.error('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.',W,W):console.error('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.',W,W);continue}Q$(X,W,W,H,z,Y);continue;case"action":case"formAction":if(J=X.getAttribute(W),typeof H==="function"){z.delete(W.toLowerCase()),W==="formAction"?(z.delete("name"),z.delete("formenctype"),z.delete("formmethod"),z.delete("formtarget")):(z.delete("enctype"),z.delete("method"),z.delete("target"));continue}else if(J===XO){z.delete(W.toLowerCase()),S4(W,"function",H,Y);continue}Q$(X,W,W.toLowerCase(),H,z,Y);continue;case"xlinkHref":Q$(X,W,"xlink:href",H,z,Y);continue;case"contentEditable":J$(X,W,"contenteditable",H,z,Y);continue;case"spellCheck":J$(X,W,"spellcheck",H,z,Y);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":J$(X,W,W,H,z,Y);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":kU(X,W,W.toLowerCase(),H,z,Y);continue;case"capture":case"download":X:{U=X;var I=J=W,P=Y;if(z.delete(I),U=U.getAttribute(I),U===null)switch(typeof H){case"undefined":case"function":case"symbol":break X;default:if(H===!1)break X}else if(H!=null)switch(typeof H){case"function":case"symbol":break;case"boolean":if(H===!0&&U==="")break X;break;default:if(m2(H,J),U===""+H)break X}S4(J,U,H,P)}continue;case"cols":case"rows":case"size":case"span":X:{if(U=X,I=J=W,P=Y,z.delete(I),U=U.getAttribute(I),U===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":break X;default:if(isNaN(H)||1>H)break X}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(H)||1>H)&&(m2(H,J),U===""+H))break X}S4(J,U,H,P)}continue;case"rowSpan":gU(X,W,"rowspan",H,z,Y);continue;case"start":gU(X,W,W,H,z,Y);continue;case"xHeight":V5(X,W,"x-height",H,z,Y);continue;case"xlinkActuate":V5(X,W,"xlink:actuate",H,z,Y);continue;case"xlinkArcrole":V5(X,W,"xlink:arcrole",H,z,Y);continue;case"xlinkRole":V5(X,W,"xlink:role",H,z,Y);continue;case"xlinkShow":V5(X,W,"xlink:show",H,z,Y);continue;case"xlinkTitle":V5(X,W,"xlink:title",H,z,Y);continue;case"xlinkType":V5(X,W,"xlink:type",H,z,Y);continue;case"xmlBase":V5(X,W,"xml:base",H,z,Y);continue;case"xmlLang":V5(X,W,"xml:lang",H,z,Y);continue;case"xmlSpace":V5(X,W,"xml:space",H,z,Y);continue;case"inert":H!==""||e1[W]||(e1[W]=!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.",W)),kU(X,W,W,H,z,Y);continue;default:if(!(2<W.length)||W[0]!=="o"&&W[0]!=="O"||W[1]!=="n"&&W[1]!=="N"){U=yz(W),J=!1,$.context===M7&&Z!=="svg"&&Z!=="math"?z.delete(U.toLowerCase()):(I=W.toLowerCase(),I=W1.hasOwnProperty(I)?W1[I]||null:null,I!==null&&I!==W&&(J=!0,z.delete(I)),z.delete(U));X:if(I=X,P=U,U=H,BX(P))if(I.hasAttribute(P))I=I.getAttribute(P),m2(U,P),U=I===""+U?U:I;else{switch(typeof U){case"function":case"symbol":break X;case"boolean":if(I=P.toLowerCase().slice(0,5),I!=="data-"&&I!=="aria-")break X}U=U===void 0?void 0:null}else U=void 0;J||S4(W,U,H,Y)}}}return 0<z.size&&G.suppressHydrationWarning!==!0&&mq(X,z,Y),Object.keys(Y).length===0?null:Y}function dq(X,Z){switch(X.length){case 0:return"";case 1:return X[0];case 2:return X[0]+" "+Z+" "+X[1];default:return X.slice(0,-1).join(", ")+", "+Z+" "+X[X.length-1]}}function yU(X){switch(X){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function lq(){if(typeof performance.getEntriesByType==="function"){for(var X=0,Z=0,G=performance.getEntriesByType("resource"),$=0;$<G.length;$++){var Y=G[$],z=Y.transferSize,J=Y.initiatorType,U=Y.duration;if(z&&U&&yU(J)){J=0,U=Y.responseEnd;for($+=1;$<G.length;$++){var H=G[$],W=H.startTime;if(W>U)break;var{transferSize:I,initiatorType:P}=H;I&&yU(P)&&(H=H.responseEnd,J+=I*(H<U?1:(U-W)/(H-W)))}if(--$,Z+=8*(z+J)/(Y.duration/1000),X++,10<X)break}}if(0<X)return Z/X/1e6}return navigator.connection&&(X=navigator.connection.downlink,typeof X==="number")?X:5}function a0(X){return X.nodeType===9?X:X.ownerDocument}function fU(X){switch(X){case C9:return GX;case H1:return ZG;default:return M7}}function jU(X,Z){if(X===M7)switch(Z){case"svg":return GX;case"math":return ZG;default:return M7}return X===GX&&Z==="foreignObject"?M7:X}function U$(X,Z){return X==="textarea"||X==="noscript"||typeof Z.children==="string"||typeof Z.children==="number"||typeof Z.children==="bigint"||typeof Z.dangerouslySetInnerHTML==="object"&&Z.dangerouslySetInnerHTML!==null&&Z.dangerouslySetInnerHTML.__html!=null}function pq(){var X=window.event;if(X&&X.type==="popstate"){if(X===pY)return!1;return pY=X,!0}return pY=null,!1}function hX(){var X=window.event;return X&&X!==VZ?X.type:null}function mX(){var X=window.event;return X&&X!==VZ?X.timeStamp:-1.1}function cq(X){setTimeout(function(){throw X})}function sq(X,Z,G){switch(Z){case"button":case"input":case"select":case"textarea":G.autoFocus&&X.focus();break;case"img":G.src?X.src=G.src:G.srcSet&&(X.srcset=G.srcSet)}}function aq(){}function iq(X,Z,G,$){uq(X,Z,G,$),X[i4]=$}function VU(X){MX(X,"")}function nq(X,Z,G){X.nodeValue=G}function xU(X){if(!X.__reactWarnedAboutChildrenConflict){var Z=X[i4]||null;if(Z!==null){var G=z2(X);G!==null&&(typeof Z.children==="string"||typeof Z.children==="number"?(X.__reactWarnedAboutChildrenConflict=!0,s(G,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.')})):Z.dangerouslySetInnerHTML!=null&&(X.__reactWarnedAboutChildrenConflict=!0,s(G,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 g7(X){return X==="head"}function oq(X,Z){X.removeChild(Z)}function rq(X,Z){(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).removeChild(Z)}function DU(X,Z){var G=Z,$=0;do{var Y=G.nextSibling;if(X.removeChild(G),Y&&Y.nodeType===8)if(G=Y.data,G===jZ||G===XG){if($===0){X.removeChild(Y),N9(Z);return}$--}else if(G===fZ||G===X8||G===s8||G===ZX||G===c8)$++;else if(G===GO)uX(X.ownerDocument.documentElement);else if(G===YO){G=X.ownerDocument.head,uX(G);for(var z=G.firstChild;z;){var{nextSibling:J,nodeName:U}=z;z[iX]||U==="SCRIPT"||U==="STYLE"||U==="LINK"&&z.rel.toLowerCase()==="stylesheet"||G.removeChild(z),z=J}}else G===$O&&uX(X.ownerDocument.body);G=Y}while(G);N9(Z)}function EU(X,Z){var G=X;X=0;do{var $=G.nextSibling;if(G.nodeType===1?Z?(G._stashedDisplay=G.style.display,G.style.display="none"):(G.style.display=G._stashedDisplay||"",G.getAttribute("style")===""&&G.removeAttribute("style")):G.nodeType===3&&(Z?(G._stashedText=G.nodeValue,G.nodeValue=""):G.nodeValue=G._stashedText||""),$&&$.nodeType===8)if(G=$.data,G===jZ)if(X===0)break;else X--;else G!==fZ&&G!==X8&&G!==s8&&G!==ZX||X++;G=$}while(G)}function tq(X){EU(X,!0)}function eq(X){X=X.style,typeof X.setProperty==="function"?X.setProperty("display","none","important"):X.display="none"}function XK(X){X.nodeValue=""}function ZK(X){EU(X,!1)}function GK(X,Z){Z=Z[zO],Z=Z!==void 0&&Z!==null&&Z.hasOwnProperty("display")?Z.display:null,X.style.display=Z==null||typeof Z==="boolean"?"":(""+Z).trim()}function $K(X,Z){X.nodeValue=Z}function B$(X){var Z=X.firstChild;Z&&Z.nodeType===10&&(Z=Z.nextSibling);for(;Z;){var G=Z;switch(Z=Z.nextSibling,G.nodeName){case"HTML":case"HEAD":case"BODY":B$(G),u(G);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(G.rel.toLowerCase()==="stylesheet")continue}X.removeChild(G)}}function YK(X,Z,G,$){for(;X.nodeType===1;){var Y=G;if(X.nodeName.toLowerCase()!==Z.toLowerCase()){if(!$&&(X.nodeName!=="INPUT"||X.type!=="hidden"))break}else if(!$)if(Z==="input"&&X.type==="hidden"){m2(Y.name,"name");var z=Y.name==null?null:""+Y.name;if(Y.type==="hidden"&&X.getAttribute("name")===z)return X}else return X;else if(!X[iX])switch(Z){case"meta":if(!X.hasAttribute("itemprop"))break;return X;case"link":if(z=X.getAttribute("rel"),z==="stylesheet"&&X.hasAttribute("data-precedence"))break;else if(z!==Y.rel||X.getAttribute("href")!==(Y.href==null||Y.href===""?null:Y.href)||X.getAttribute("crossorigin")!==(Y.crossOrigin==null?null:Y.crossOrigin)||X.getAttribute("title")!==(Y.title==null?null:Y.title))break;return X;case"style":if(X.hasAttribute("data-precedence"))break;return X;case"script":if(z=X.getAttribute("src"),(z!==(Y.src==null?null:Y.src)||X.getAttribute("type")!==(Y.type==null?null:Y.type)||X.getAttribute("crossorigin")!==(Y.crossOrigin==null?null:Y.crossOrigin))&&z&&X.hasAttribute("async")&&!X.hasAttribute("itemprop"))break;return X;default:return X}if(X=A5(X.nextSibling),X===null)break}return null}function zK(X,Z,G){if(Z==="")return null;for(;X.nodeType!==3;){if((X.nodeType!==1||X.nodeName!=="INPUT"||X.type!=="hidden")&&!G)return null;if(X=A5(X.nextSibling),X===null)return null}return X}function hU(X,Z){for(;X.nodeType!==8;){if((X.nodeType!==1||X.nodeName!=="INPUT"||X.type!=="hidden")&&!Z)return null;if(X=A5(X.nextSibling),X===null)return null}return X}function H$(X){return X.data===X8||X.data===s8}function W$(X){return X.data===ZX||X.data===X8&&X.ownerDocument.readyState!==vW}function JK(X,Z){var G=X.ownerDocument;if(X.data===s8)X._reactRetry=Z;else if(X.data!==X8||G.readyState!==vW)Z();else{var $=function(){Z(),G.removeEventListener("DOMContentLoaded",$)};G.addEventListener("DOMContentLoaded",$),X._reactRetry=$}}function A5(X){for(;X!=null;X=X.nextSibling){var Z=X.nodeType;if(Z===1||Z===3)break;if(Z===8){if(Z=X.data,Z===fZ||Z===ZX||Z===X8||Z===s8||Z===c8||Z===uY||Z===SW)break;if(Z===jZ||Z===XG)return null}}return X}function mU(X){if(X.nodeType===1){for(var Z=X.nodeName.toLowerCase(),G={},$=X.attributes,Y=0;Y<$.length;Y++){var z=$[Y];G[SU(z.name)]=z.name.toLowerCase()==="style"?z$(X):z.value}return{type:Z,props:G}}return X.nodeType===8?X.data===c8?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:X.nodeValue}function uU(X,Z,G){return G===null||G[ZO]!==!0?(X.nodeValue===Z?X=null:(Z=k7(Z),X=k7(X.nodeValue)===Z?null:X.nodeValue),X):null}function M$(X){X=X.nextSibling;for(var Z=0;X;){if(X.nodeType===8){var G=X.data;if(G===jZ||G===XG){if(Z===0)return A5(X.nextSibling);Z--}else G!==fZ&&G!==ZX&&G!==X8&&G!==s8&&G!==c8||Z++}X=X.nextSibling}return null}function dU(X){X=X.previousSibling;for(var Z=0;X;){if(X.nodeType===8){var G=X.data;if(G===fZ||G===ZX||G===X8||G===s8||G===c8){if(Z===0)return X;Z--}else G!==jZ&&G!==XG||Z++}X=X.previousSibling}return null}function QK(X){N9(X)}function UK(X){N9(X)}function BK(X){N9(X)}function lU(X,Z,G,$,Y){switch(Y&&TG(X,$.ancestorInfo),Z=a0(G),X){case"html":if(X=Z.documentElement,!X)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 X;case"head":if(X=Z.head,!X)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 X;case"body":if(X=Z.body,!X)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 X;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function HK(X,Z,G,$){if(!G[j7]&&z2(G)){var Y=G.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.",Y,Y,Y)}switch(X){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(Y=G.attributes;Y.length;)G.removeAttributeNode(Y[0]);D4(G,X,Z),G[E4]=$,G[i4]=Z}function uX(X){for(var Z=X.attributes;Z.length;)X.removeAttributeNode(Z[0]);u(X)}function i0(X){return typeof X.getRootNode==="function"?X.getRootNode():X.nodeType===9?X:X.ownerDocument}function pU(X,Z,G){var $=$X;if($&&typeof Z==="string"&&Z){var Y=j5(Z);Y='link[rel="'+X+'"][href="'+Y+'"]',typeof G==="string"&&(Y+='[crossorigin="'+G+'"]'),jW.has(Y)||(jW.add(Y),X={rel:X,crossOrigin:G,href:Z},$.querySelector(Y)===null&&(Z=$.createElement("link"),D4(Z,"link",X),o(Z),$.head.appendChild(Z)))}}function cU(X,Z,G,$){var Y=(Y=y7.current)?i0(Y):null;if(!Y)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(X){case"meta":case"title":return null;case"style":return typeof G.precedence==="string"&&typeof G.href==="string"?(G=L9(G.href),Z=P2(Y).hoistableStyles,$=Z.get(G),$||($={type:"style",instance:null,count:0,state:null},Z.set(G,$)),$):{type:"void",instance:null,count:0,state:null};case"link":if(G.rel==="stylesheet"&&typeof G.href==="string"&&typeof G.precedence==="string"){X=L9(G.href);var z=P2(Y).hoistableStyles,J=z.get(X);if(!J&&(Y=Y.ownerDocument||Y,J={type:"stylesheet",instance:null,count:0,state:{loading:i8,preload:null}},z.set(X,J),(z=Y.querySelector(dX(X)))&&!z._p&&(J.instance=z,J.state.loading=xZ|s5),!a5.has(X))){var U={rel:"preload",as:"style",href:G.href,crossOrigin:G.crossOrigin,integrity:G.integrity,media:G.media,hrefLang:G.hrefLang,referrerPolicy:G.referrerPolicy};a5.set(X,U),z||WK(Y,X,U,J.state)}if(Z&&$===null)throw G=`
177
+
178
+ - `+n0(Z)+`
179
+ + `+n0(G),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."+G);return J}if(Z&&$!==null)throw G=`
180
+
181
+ - `+n0(Z)+`
182
+ + `+n0(G),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."+G);return null;case"script":return Z=G.async,G=G.src,typeof G==="string"&&Z&&typeof Z!=="function"&&typeof Z!=="symbol"?(G=F9(G),Z=P2(Y).hoistableScripts,$=Z.get(G),$||($={type:"script",instance:null,count:0,state:null},Z.set(G,$)),$):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+X+'". this is a bug in React.')}}function n0(X){var Z=0,G="<link";return typeof X.rel==="string"?(Z++,G+=' rel="'+X.rel+'"'):r5.call(X,"rel")&&(Z++,G+=' rel="'+(X.rel===null?"null":"invalid type "+typeof X.rel)+'"'),typeof X.href==="string"?(Z++,G+=' href="'+X.href+'"'):r5.call(X,"href")&&(Z++,G+=' href="'+(X.href===null?"null":"invalid type "+typeof X.href)+'"'),typeof X.precedence==="string"?(Z++,G+=' precedence="'+X.precedence+'"'):r5.call(X,"precedence")&&(Z++,G+=" precedence={"+(X.precedence===null?"null":"invalid type "+typeof X.precedence)+"}"),Object.getOwnPropertyNames(X).length>Z&&(G+=" ..."),G+" />"}function L9(X){return'href="'+j5(X)+'"'}function dX(X){return'link[rel="stylesheet"]['+X+"]"}function sU(X){return R2({},X,{"data-precedence":X.precedence,precedence:null})}function WK(X,Z,G,$){X.querySelector('link[rel="preload"][as="style"]['+Z+"]")?$.loading=xZ:(Z=X.createElement("link"),$.preload=Z,Z.addEventListener("load",function(){return $.loading|=xZ}),Z.addEventListener("error",function(){return $.loading|=yW}),D4(Z,"link",G),o(Z),X.head.appendChild(Z))}function F9(X){return'[src="'+j5(X)+'"]'}function lX(X){return"script[async]"+X}function aU(X,Z,G){if(Z.count++,Z.instance===null)switch(Z.type){case"style":var $=X.querySelector('style[data-href~="'+j5(G.href)+'"]');if($)return Z.instance=$,o($),$;var Y=R2({},G,{"data-href":G.href,"data-precedence":G.precedence,href:null,precedence:null});return $=(X.ownerDocument||X).createElement("style"),o($),D4($,"style",Y),o0($,G.precedence,X),Z.instance=$;case"stylesheet":Y=L9(G.href);var z=X.querySelector(dX(Y));if(z)return Z.state.loading|=s5,Z.instance=z,o(z),z;$=sU(G),(Y=a5.get(Y))&&q$($,Y),z=(X.ownerDocument||X).createElement("link"),o(z);var J=z;return J._p=new Promise(function(U,H){J.onload=U,J.onerror=H}),D4(z,"link",$),Z.state.loading|=s5,o0(z,G.precedence,X),Z.instance=z;case"script":if(z=F9(G.src),Y=X.querySelector(lX(z)))return Z.instance=Y,o(Y),Y;if($=G,Y=a5.get(z))$=R2({},G),K$($,Y);return X=X.ownerDocument||X,Y=X.createElement("script"),o(Y),D4(Y,"link",$),X.head.appendChild(Y),Z.instance=Y;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+Z.type+'". this is a bug in React.')}else Z.type==="stylesheet"&&(Z.state.loading&s5)===i8&&($=Z.instance,Z.state.loading|=s5,o0($,G.precedence,X));return Z.instance}function o0(X,Z,G){for(var $=G.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Y=$.length?$[$.length-1]:null,z=Y,J=0;J<$.length;J++){var U=$[J];if(U.dataset.precedence===Z)z=U;else if(z!==Y)break}z?z.parentNode.insertBefore(X,z.nextSibling):(Z=G.nodeType===9?G.head:G,Z.insertBefore(X,Z.firstChild))}function q$(X,Z){X.crossOrigin==null&&(X.crossOrigin=Z.crossOrigin),X.referrerPolicy==null&&(X.referrerPolicy=Z.referrerPolicy),X.title==null&&(X.title=Z.title)}function K$(X,Z){X.crossOrigin==null&&(X.crossOrigin=Z.crossOrigin),X.referrerPolicy==null&&(X.referrerPolicy=Z.referrerPolicy),X.integrity==null&&(X.integrity=Z.integrity)}function iU(X,Z,G){if(GG===null){var $=new Map,Y=GG=new Map;Y.set(G,$)}else Y=GG,$=Y.get(G),$||($=new Map,Y.set(G,$));if($.has(X))return $;$.set(X,null),G=G.getElementsByTagName(X);for(Y=0;Y<G.length;Y++){var z=G[Y];if(!(z[iX]||z[E4]||X==="link"&&z.getAttribute("rel")==="stylesheet")&&z.namespaceURI!==C9){var J=z.getAttribute(Z)||"";J=X+J;var U=$.get(J);U?U.push(z):$.set(J,[z])}}return $}function nU(X,Z,G){X=X.ownerDocument||X,X.head.insertBefore(G,Z==="title"?X.querySelector("head > title"):null)}function MK(X,Z,G){var $=!G.ancestorInfo.containerTagInScope;if(G.context===GX||Z.itemProp!=null)return!$||Z.itemProp==null||X!=="meta"&&X!=="title"&&X!=="style"&&X!=="link"&&X!=="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.",X,X),!1;switch(X){case"meta":case"title":return!0;case"style":if(typeof Z.precedence!=="string"||typeof Z.href!=="string"||Z.href===""){$&&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 Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""||Z.onLoad||Z.onError){if(Z.rel==="stylesheet"&&typeof Z.precedence==="string"){X=Z.href;var{onError:Y,disabled:z}=Z;G=[],Z.onLoad&&G.push("`onLoad`"),Y&&G.push("`onError`"),z!=null&&G.push("`disabled`"),Y=dq(G,"and"),Y+=G.length===1?" prop":" props",z=G.length===1?"an "+Y:"the "+Y,G.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.',X,z,Y)}$&&(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.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"):(Z.onError||Z.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}switch(Z.rel){case"stylesheet":return X=Z.precedence,Z=Z.disabled,typeof X!=="string"&&$&&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 X==="string"&&Z==null;default:return!0}case"script":if(X=Z.async&&typeof Z.async!=="function"&&typeof Z.async!=="symbol",!X||Z.onLoad||Z.onError||!Z.src||typeof Z.src!=="string"){$&&(X?Z.onLoad||Z.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":$&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",X)}return!1}function oU(X){return X.type==="stylesheet"&&(X.state.loading&fW)===i8?!1:!0}function qK(X,Z,G,$){if(G.type==="stylesheet"&&(typeof $.media!=="string"||matchMedia($.media).matches!==!1)&&(G.state.loading&s5)===i8){if(G.instance===null){var Y=L9($.href),z=Z.querySelector(dX(Y));if(z){Z=z._p,Z!==null&&typeof Z==="object"&&typeof Z.then==="function"&&(X.count++,X=r0.bind(X),Z.then(X,X)),G.state.loading|=s5,G.instance=z,o(z);return}z=Z.ownerDocument||Z,$=sU($),(Y=a5.get(Y))&&q$($,Y),z=z.createElement("link"),o(z);var J=z;J._p=new Promise(function(U,H){J.onload=U,J.onerror=H}),D4(z,"link",$),G.instance=z}X.stylesheets===null&&(X.stylesheets=new Map),X.stylesheets.set(G,Z),(Z=G.state.preload)&&(G.state.loading&fW)===i8&&(X.count++,G=r0.bind(X),Z.addEventListener("load",G),Z.addEventListener("error",G))}}function KK(X,Z){return X.stylesheets&&X.count===0&&t0(X,X.stylesheets),0<X.count||0<X.imgCount?function(G){var $=setTimeout(function(){if(X.stylesheets&&t0(X,X.stylesheets),X.unsuspend){var z=X.unsuspend;X.unsuspend=null,z()}},UO+Z);0<X.imgBytes&&sY===0&&(sY=125*lq()*HO);var Y=setTimeout(function(){if(X.waitingForImages=!1,X.count===0&&(X.stylesheets&&t0(X,X.stylesheets),X.unsuspend)){var z=X.unsuspend;X.unsuspend=null,z()}},(X.imgBytes>sY?50:BO)+Z);return X.unsuspend=G,function(){X.unsuspend=null,clearTimeout($),clearTimeout(Y)}}:null}function r0(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)t0(this,this.stylesheets);else if(this.unsuspend){var X=this.unsuspend;this.unsuspend=null,X()}}}function t0(X,Z){X.stylesheets=null,X.unsuspend!==null&&(X.count++,$G=new Map,Z.forEach(RK,X),$G=null,r0.call(X))}function RK(X,Z){if(!(Z.state.loading&s5)){var G=$G.get(X);if(G)var $=G.get(aY);else{G=new Map,$G.set(X,G);for(var Y=X.querySelectorAll("link[data-precedence],style[data-precedence]"),z=0;z<Y.length;z++){var J=Y[z];if(J.nodeName==="LINK"||J.getAttribute("media")!=="not all")G.set(J.dataset.precedence,J),$=J}$&&G.set(aY,$)}Y=Z.instance,J=Y.getAttribute("data-precedence"),z=G.get(J)||$,z===$&&G.set(aY,Y),G.set(J,Y),this.count++,$=r0.bind(this),Y.addEventListener("load",$),Y.addEventListener("error",$),z?z.parentNode.insertBefore(Y,z.nextSibling):(X=X.nodeType===9?X.head:X,X.insertBefore(Y,X.firstChild)),Z.state.loading|=s5}}function OK(X,Z,G,$,Y,z,J,U,H){this.tag=1,this.containerInfo=X,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=a8,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=G9(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=G9(0),this.hiddenUpdates=G9(null),this.identifierPrefix=$,this.onUncaughtError=Y,this.onCaughtError=z,this.onRecoverableError=J,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,X=this.pendingUpdatersLaneMap=[];for(Z=0;31>Z;Z++)X.push(new Set);this._debugRootType=G?"hydrateRoot()":"createRoot()"}function rU(X,Z,G,$,Y,z,J,U,H,W,I,P){return X=new OK(X,Z,G,J,H,W,I,P,U),Z=VR,z===!0&&(Z|=l4|e5),Z|=H2,z=k(3,null,null,Z),X.current=z,z.stateNode=X,Z=dG(),N8(Z),X.pooledCache=Z,N8(Z),z.memoizedState={element:$,isDehydrated:G,cache:Z},aG(z),X}function tU(X){if(!X)return E7;return X=E7,X}function R$(X,Z,G,$,Y,z){if(d4&&typeof d4.onScheduleFiberRoot==="function")try{d4.onScheduleFiberRoot(I9,$,G)}catch(J){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",J))}Y=tU(Y),$.context===null?$.context=Y:$.pendingContext=Y,k6&&I5!==null&&!EW&&(EW=!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.
183
+
184
+ Check the render method of %s.`,p(I5)||"Unknown")),$=T7(Z),$.payload={element:G},z=z===void 0?null:z,z!==null&&(typeof z!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",z),$.callback=z),G=I7(X,$,Z),G!==null&&(K6(Z,"root.render()",null),J4(G,X,Z),TX(G,X,Z))}function eU(X,Z){if(X=X.memoizedState,X!==null&&X.dehydrated!==null){var G=X.retryLane;X.retryLane=G!==0&&G<Z?G:Z}}function O$(X,Z){eU(X,Z),(X=X.alternate)&&eU(X,Z)}function XB(X){if(X.tag===13||X.tag===31){var Z=u4(X,67108864);Z!==null&&J4(Z,X,67108864),O$(X,67108864)}}function ZB(X){if(X.tag===13||X.tag===31){var Z=w5(X);Z=W8(Z);var G=u4(X,Z);G!==null&&J4(G,X,Z),O$(X,Z)}}function _K(){return I5}function LK(X,Z,G,$){var Y=b.T;b.T=null;var z=b2.p;try{b2.p=P5,_$(X,Z,G,$)}finally{b2.p=z,b.T=Y}}function FK(X,Z,G,$){var Y=b.T;b.T=null;var z=b2.p;try{b2.p=t5,_$(X,Z,G,$)}finally{b2.p=z,b.T=Y}}function _$(X,Z,G,$){if(zG){var Y=L$($);if(Y===null)G$(X,Z,$,JG,G),$B(X,$);else if(NK(Y,X,Z,G,$))$.stopPropagation();else if($B(X,$),Z&4&&-1<MO.indexOf(X)){for(;Y!==null;){var z=z2(Y);if(z!==null)switch(z.tag){case 3:if(z=z.stateNode,z.current.memoizedState.isDehydrated){var J=H6(z.pendingLanes);if(J!==0){var U=z;U.pendingLanes|=2;for(U.entangledLanes|=2;J;){var H=1<<31-a4(J);U.entanglements[1]|=H,J&=~H}P6(z),(I2&(T4|k5))===b4&&(d1=v4()+MW,DX(0,!1))}}break;case 31:case 13:U=u4(z,2),U!==null&&J4(U,z,2),R9(),O$(z,2)}if(z=L$($),z===null&&G$(X,Z,$,JG,G),z===Y)break;Y=z}Y!==null&&$.stopPropagation()}else G$(X,Z,$,null,G)}}function L$(X){return X=IG(X),F$(X)}function F$(X){if(JG=null,X=a(X),X!==null){var Z=W5(X);if(Z===null)X=null;else{var G=Z.tag;if(G===13){if(X=M5(Z),X!==null)return X;X=null}else if(G===31){if(X=f4(Z),X!==null)return X;X=null}else if(G===3){if(Z.stateNode.current.memoizedState.isDehydrated)return Z.tag===3?Z.stateNode.containerInfo:null;X=null}else Z!==X&&(X=null)}}return JG=X,null}function GB(X){switch(X){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 P5;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 t5;case"message":switch(kK()){case y$:return P5;case f$:return t5;case T9:case gK:return y6;case j$:return U1;default:return y6}default:return y6}}function $B(X,Z){switch(X){case"focusin":case"focusout":Z8=null;break;case"dragenter":case"dragleave":G8=null;break;case"mouseover":case"mouseout":$8=null;break;case"pointerover":case"pointerout":EZ.delete(Z.pointerId);break;case"gotpointercapture":case"lostpointercapture":hZ.delete(Z.pointerId)}}function pX(X,Z,G,$,Y,z){if(X===null||X.nativeEvent!==z)return X={blockedOn:Z,domEventName:G,eventSystemFlags:$,nativeEvent:z,targetContainers:[Y]},Z!==null&&(Z=z2(Z),Z!==null&&XB(Z)),X;return X.eventSystemFlags|=$,Z=X.targetContainers,Y!==null&&Z.indexOf(Y)===-1&&Z.push(Y),X}function NK(X,Z,G,$,Y){switch(Z){case"focusin":return Z8=pX(Z8,X,Z,G,$,Y),!0;case"dragenter":return G8=pX(G8,X,Z,G,$,Y),!0;case"mouseover":return $8=pX($8,X,Z,G,$,Y),!0;case"pointerover":var z=Y.pointerId;return EZ.set(z,pX(EZ.get(z)||null,X,Z,G,$,Y)),!0;case"gotpointercapture":return z=Y.pointerId,hZ.set(z,pX(hZ.get(z)||null,X,Z,G,$,Y)),!0}return!1}function YB(X){var Z=a(X.target);if(Z!==null){var G=W5(Z);if(G!==null){if(Z=G.tag,Z===13){if(Z=M5(G),Z!==null){X.blockedOn=Z,E(X.priority,function(){ZB(G)});return}}else if(Z===31){if(Z=f4(G),Z!==null){X.blockedOn=Z,E(X.priority,function(){ZB(G)});return}}else if(Z===3&&G.stateNode.current.memoizedState.isDehydrated){X.blockedOn=G.tag===3?G.stateNode.containerInfo:null;return}}}X.blockedOn=null}function e0(X){if(X.blockedOn!==null)return!1;for(var Z=X.targetContainers;0<Z.length;){var G=L$(X.nativeEvent);if(G===null){G=X.nativeEvent;var $=new G.constructor(G.type,G),Y=$;nX!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),nX=Y,G.target.dispatchEvent($),nX===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."),nX=null}else return Z=z2(G),Z!==null&&XB(Z),X.blockedOn=G,!1;Z.shift()}return!0}function zB(X,Z,G){e0(X)&&G.delete(Z)}function wK(){iY=!1,Z8!==null&&e0(Z8)&&(Z8=null),G8!==null&&e0(G8)&&(G8=null),$8!==null&&e0($8)&&($8=null),EZ.forEach(zB),hZ.forEach(zB)}function X1(X,Z){X.blockedOn===Z&&(X.blockedOn=null,iY||(iY=!0,C2.unstable_scheduleCallback(C2.unstable_NormalPriority,wK)))}function JB(X){QG!==X&&(QG=X,C2.unstable_scheduleCallback(C2.unstable_NormalPriority,function(){QG===X&&(QG=null);for(var Z=0;Z<X.length;Z+=3){var G=X[Z],$=X[Z+1],Y=X[Z+2];if(typeof $!=="function")if(F$($||G)===null)continue;else break;var z=z2(G);z!==null&&(X.splice(Z,3),Z-=3,G={pending:!0,data:Y,method:G.method,action:$},Object.freeze(G),F3(z,G,$,Y))}}))}function N9(X){function Z(H){return X1(H,X)}Z8!==null&&X1(Z8,X),G8!==null&&X1(G8,X),$8!==null&&X1($8,X),EZ.forEach(Z),hZ.forEach(Z);for(var G=0;G<Y8.length;G++){var $=Y8[G];$.blockedOn===X&&($.blockedOn=null)}for(;0<Y8.length&&(G=Y8[0],G.blockedOn===null);)YB(G),G.blockedOn===null&&Y8.shift();if(G=(X.ownerDocument||X).$$reactFormReplay,G!=null)for($=0;$<G.length;$+=3){var Y=G[$],z=G[$+1],J=Y[i4]||null;if(typeof z==="function")J||JB(G);else if(J){var U=null;if(z&&z.hasAttribute("formAction")){if(Y=z,J=z[i4]||null)U=J.formAction;else if(F$(Y)!==null)continue}else U=J.action;typeof U==="function"?G[$+1]=U:(G.splice($,3),$-=3),JB(G)}}}function QB(){function X(z){z.canIntercept&&z.info==="react-transition"&&z.intercept({handler:function(){return new Promise(function(J){return Y=J})},focusReset:"manual",scroll:"manual"})}function Z(){Y!==null&&(Y(),Y=null),$||setTimeout(G,20)}function G(){if(!$&&!navigation.transition){var z=navigation.currentEntry;z&&z.url!=null&&navigation.navigate(z.url,{state:z.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var $=!1,Y=null;return navigation.addEventListener("navigate",X),navigation.addEventListener("navigatesuccess",Z),navigation.addEventListener("navigateerror",Z),setTimeout(G,100),function(){$=!0,navigation.removeEventListener("navigate",X),navigation.removeEventListener("navigatesuccess",Z),navigation.removeEventListener("navigateerror",Z),Y!==null&&(Y(),Y=null)}}}function N$(X){this._internalRoot=X}function Z1(X){this._internalRoot=X}function UB(X){X[j7]&&(X._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 R2=Object.assign,AK=Symbol.for("react.element"),S6=Symbol.for("react.transitional.element"),w9=Symbol.for("react.portal"),A9=Symbol.for("react.fragment"),G1=Symbol.for("react.strict_mode"),w$=Symbol.for("react.profiler"),A$=Symbol.for("react.consumer"),v6=Symbol.for("react.context"),cX=Symbol.for("react.forward_ref"),T$=Symbol.for("react.suspense"),I$=Symbol.for("react.suspense_list"),$1=Symbol.for("react.memo"),T5=Symbol.for("react.lazy"),P$=Symbol.for("react.activity"),TK=Symbol.for("react.memo_cache_sentinel"),BB=Symbol.iterator,IK=Symbol.for("react.client.reference"),w4=Array.isArray,b=YX.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,b2=oY.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,PK=Object.freeze({pending:!1,data:null,method:null,action:null}),C$=[],S$=[],t6=-1,b7=M4(null),sX=M4(null),y7=M4(null),Y1=M4(null),aX=0,HB,WB,MB,qB,KB,RB,OB;j.__reactDisabledLog=!0;var v$,_B,k$=!1,g$=new(typeof WeakMap==="function"?WeakMap:Map),I5=null,k6=!1,r5=Object.prototype.hasOwnProperty,b$=C2.unstable_scheduleCallback,CK=C2.unstable_cancelCallback,SK=C2.unstable_shouldYield,vK=C2.unstable_requestPaint,v4=C2.unstable_now,kK=C2.unstable_getCurrentPriorityLevel,y$=C2.unstable_ImmediatePriority,f$=C2.unstable_UserBlockingPriority,T9=C2.unstable_NormalPriority,gK=C2.unstable_LowPriority,j$=C2.unstable_IdlePriority,bK=C2.log,yK=C2.unstable_setDisableYieldValue,I9=null,d4=null,g6=!1,b6=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",a4=Math.clz32?Math.clz32:sZ,fK=Math.log,jK=Math.LN2,z1=256,J1=262144,Q1=4194304,P5=2,t5=8,y6=32,U1=268435456,f7=Math.random().toString(36).slice(2),E4="__reactFiber$"+f7,i4="__reactProps$"+f7,j7="__reactContainer$"+f7,V$="__reactEvents$"+f7,VK="__reactListeners$"+f7,xK="__reactHandles$"+f7,LB="__reactResources$"+f7,iX="__reactMarker$"+f7,FB=new Set,S8={},x$={},DK={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},EK=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]*$"),NB={},wB={},hK=/[\n"\\]/g,AB=!1,TB=!1,IB=!1,PB=!1,CB=!1,SB=!1,vB=["value","defaultValue"],kB=!1,gB=/["'&<>\n\t]|^\s|\s$/,mK="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(" "),bB="applet caption html table td th marquee object template foreignObject desc title".split(" "),uK=bB.concat(["button"]),dK="dd dt li option optgroup p rp rt".split(" "),yB={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},B1={},D$={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"]},fB=/([A-Z])/g,jB=/^ms-/,lK=/^(?:webkit|moz|o)[A-Z]/,pK=/^-ms-/,cK=/-(.)/g,VB=/;\s*$/,P9={},E$={},xB=!1,DB=!1,EB=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(" ")),H1="http://www.w3.org/1998/Math/MathML",C9="http://www.w3.org/2000/svg",sK=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"]]),W1={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"},hB={"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},S9={},aK=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]*$"),iK=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]*$"),mB=!1,n4={},uB=/^on./,nK=/^on[^A-Z]/,oK=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]*$"),rK=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]*$"),tK=/^[\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,nX=null,v9=null,k9=null,h$=!1,f6=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m$=!1;if(f6)try{var oX={};Object.defineProperty(oX,"passive",{get:function(){m$=!0}}),window.addEventListener("test",oX,oX),window.removeEventListener("test",oX,oX)}catch(X){m$=!1}var V7=null,u$=null,M1=null,v8={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(X){return X.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},q1=Z5(v8),rX=R2({},v8,{view:0,detail:0}),eK=Z5(rX),d$,l$,tX,K1=R2({},rX,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:PG,button:0,buttons:0,relatedTarget:function(X){return X.relatedTarget===void 0?X.fromElement===X.srcElement?X.toElement:X.fromElement:X.relatedTarget},movementX:function(X){if("movementX"in X)return X.movementX;return X!==tX&&(tX&&X.type==="mousemove"?(d$=X.screenX-tX.screenX,l$=X.screenY-tX.screenY):l$=d$=0,tX=X),d$},movementY:function(X){return"movementY"in X?X.movementY:l$}}),dB=Z5(K1),XR=R2({},K1,{dataTransfer:0}),ZR=Z5(XR),GR=R2({},rX,{relatedTarget:0}),p$=Z5(GR),$R=R2({},v8,{animationName:0,elapsedTime:0,pseudoElement:0}),YR=Z5($R),zR=R2({},v8,{clipboardData:function(X){return"clipboardData"in X?X.clipboardData:window.clipboardData}}),JR=Z5(zR),QR=R2({},v8,{data:0}),lB=Z5(QR),UR=lB,BR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},HR={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"},WR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},MR=R2({},rX,{key:function(X){if(X.key){var Z=BR[X.key]||X.key;if(Z!=="Unidentified")return Z}return X.type==="keypress"?(X=eZ(X),X===13?"Enter":String.fromCharCode(X)):X.type==="keydown"||X.type==="keyup"?HR[X.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:PG,charCode:function(X){return X.type==="keypress"?eZ(X):0},keyCode:function(X){return X.type==="keydown"||X.type==="keyup"?X.keyCode:0},which:function(X){return X.type==="keypress"?eZ(X):X.type==="keydown"||X.type==="keyup"?X.keyCode:0}}),qR=Z5(MR),KR=R2({},K1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pB=Z5(KR),RR=R2({},rX,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:PG}),OR=Z5(RR),_R=R2({},v8,{propertyName:0,elapsedTime:0,pseudoElement:0}),LR=Z5(_R),FR=R2({},K1,{deltaX:function(X){return"deltaX"in X?X.deltaX:("wheelDeltaX"in X)?-X.wheelDeltaX:0},deltaY:function(X){return"deltaY"in X?X.deltaY:("wheelDeltaY"in X)?-X.wheelDeltaY:("wheelDelta"in X)?-X.wheelDelta:0},deltaZ:0,deltaMode:0}),NR=Z5(FR),wR=R2({},v8,{newState:0,oldState:0}),AR=Z5(wR),TR=[9,13,27,32],cB=229,c$=f6&&"CompositionEvent"in window,eX=null;f6&&"documentMode"in document&&(eX=document.documentMode);var IR=f6&&"TextEvent"in window&&!eX,sB=f6&&(!c$||eX&&8<eX&&11>=eX),aB=32,iB=String.fromCharCode(aB),nB=!1,g9=!1,PR={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},XZ=null,ZZ=null,oB=!1;f6&&(oB=sM("input")&&(!document.documentMode||9<document.documentMode));var o4=typeof Object.is==="function"?Object.is:tM,CR=f6&&"documentMode"in document&&11>=document.documentMode,b9=null,s$=null,GZ=null,a$=!1,y9={animationend:q8("Animation","AnimationEnd"),animationiteration:q8("Animation","AnimationIteration"),animationstart:q8("Animation","AnimationStart"),transitionrun:q8("Transition","TransitionRun"),transitionstart:q8("Transition","TransitionStart"),transitioncancel:q8("Transition","TransitionCancel"),transitionend:q8("Transition","TransitionEnd")},i$={},rB={};f6&&(rB=document.createElement("div").style,("AnimationEvent"in window)||(delete y9.animationend.animation,delete y9.animationiteration.animation,delete y9.animationstart.animation),("TransitionEvent"in window)||delete y9.transitionend.transition);var tB=K8("animationend"),eB=K8("animationiteration"),XH=K8("animationstart"),SR=K8("transitionrun"),vR=K8("transitionstart"),kR=K8("transitioncancel"),ZH=K8("transitionend"),GH=new Map,n$="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(" ");n$.push("scrollEnd");var $H=0;if(typeof performance==="object"&&typeof performance.now==="function")var gR=performance,YH=function(){return gR.now()};else{var bR=Date;YH=function(){return bR.now()}}var o$=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)},yR="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.",R1=0,r$=1,t$=2,e$=3,O1="– ",_1="+ ",zH="  ",n2=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",x5="Components ⚛",O2="Scheduler ⚛",L2="Blocking",x7=!1,e6={color:"primary",properties:null,tooltipText:"",track:x5},D7={start:-0,end:-0,detail:{devtools:e6}},fR=["Changed Props",""],JH="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",jR=["Changed Props",JH],$Z=1,X7=2,D5=[],f9=0,XY=0,E7={};Object.freeze(E7);var E5=null,j9=null,Z2=0,VR=1,H2=2,l4=8,e5=16,xR=32,QH=!1;try{var UH=Object.preventExtensions({})}catch(X){QH=!0}var ZY=new WeakMap,V9=[],x9=0,L1=null,YZ=0,h5=[],m5=0,k8=null,Z7=1,G7="",h4=null,o2=null,N2=!1,j6=!1,C5=null,h7=null,u5=!1,GY=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."),$Y=M4(null),YY=M4(null),BH={},F1=null,D9=null,E9=!1,DR=typeof AbortController<"u"?AbortController:function(){var X=[],Z=this.signal={aborted:!1,addEventListener:function(G,$){X.push($)}};this.abort=function(){Z.aborted=!0,X.forEach(function(G){return G()})}},ER=C2.unstable_scheduleCallback,hR=C2.unstable_NormalPriority,q4={$$typeof:v6,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},K4=C2.unstable_now,N1=console.createTask?console.createTask:function(){return null},zZ=1,w1=2,k4=-0,m7=-0,$7=-0,Y7=null,r4=-1.1,g8=-0,Z4=-0,r=-1.1,e=-1.1,X4=null,Q4=!1,u7=-0,V6=-1.1,JZ=null,d7=0,zY=null,JY=null,b8=-1.1,QZ=null,h9=-1.1,A1=-1.1,x6=-0,z7=-1.1,d5=-1.1,QY=0,UZ=null,HH=null,WH=null,l7=-1.1,y8=null,p7=-1.1,T1=-1.1,MH=-0,qH=-0,I1=0,J7=null,KH=0,BZ=-1.1,P1=!1,C1=!1,HZ=null,UY=0,f8=0,m9=null,RH=b.S;b.S=function(X,Z){if(HW=v4(),typeof Z==="object"&&Z!==null&&typeof Z.then==="function"){if(0>z7&&0>d5){z7=K4();var G=mX(),$=hX();if(G!==p7||$!==y8)p7=-1.1;l7=G,y8=$}zq(X,Z)}RH!==null&&RH(X,Z)};var j8=M4(null),X6={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},WZ=[],MZ=[],qZ=[],KZ=[],RZ=[],OZ=[],V8=new Set;X6.recordUnsafeLifecycleWarnings=function(X,Z){V8.has(X.type)||(typeof Z.componentWillMount==="function"&&Z.componentWillMount.__suppressDeprecationWarning!==!0&&WZ.push(X),X.mode&l4&&typeof Z.UNSAFE_componentWillMount==="function"&&MZ.push(X),typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&qZ.push(X),X.mode&l4&&typeof Z.UNSAFE_componentWillReceiveProps==="function"&&KZ.push(X),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0&&RZ.push(X),X.mode&l4&&typeof Z.UNSAFE_componentWillUpdate==="function"&&OZ.push(X))},X6.flushPendingUnsafeLifecycleWarnings=function(){var X=new Set;0<WZ.length&&(WZ.forEach(function(U){X.add(p(U)||"Component"),V8.add(U.type)}),WZ=[]);var Z=new Set;0<MZ.length&&(MZ.forEach(function(U){Z.add(p(U)||"Component"),V8.add(U.type)}),MZ=[]);var G=new Set;0<qZ.length&&(qZ.forEach(function(U){G.add(p(U)||"Component"),V8.add(U.type)}),qZ=[]);var $=new Set;0<KZ.length&&(KZ.forEach(function(U){$.add(p(U)||"Component"),V8.add(U.type)}),KZ=[]);var Y=new Set;0<RZ.length&&(RZ.forEach(function(U){Y.add(p(U)||"Component"),V8.add(U.type)}),RZ=[]);var z=new Set;if(0<OZ.length&&(OZ.forEach(function(U){z.add(p(U)||"Component"),V8.add(U.type)}),OZ=[]),0<Z.size){var J=C(Z);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.
185
+
186
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
187
+
188
+ Please update the following components: %s`,J)}0<$.size&&(J=C($),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.
189
+
190
+ * Move data fetching code or side effects to componentDidUpdate.
191
+ * 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
192
+
193
+ Please update the following components: %s`,J)),0<z.size&&(J=C(z),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.
194
+
195
+ * Move data fetching code or side effects to componentDidUpdate.
196
+
197
+ Please update the following components: %s`,J)),0<X.size&&(J=C(X),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
198
+
199
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
200
+ * 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.
201
+
202
+ Please update the following components: %s`,J)),0<G.size&&(J=C(G),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
+
204
+ * Move data fetching code or side effects to componentDidUpdate.
205
+ * 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
206
+ * 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.
207
+
208
+ Please update the following components: %s`,J)),0<Y.size&&(J=C(Y),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
209
+
210
+ * Move data fetching code or side effects to componentDidUpdate.
211
+ * 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.
212
+
213
+ Please update the following components: %s`,J))};var S1=new Map,OH=new Set;X6.recordLegacyContextWarning=function(X,Z){var G=null;for(var $=X;$!==null;)$.mode&l4&&(G=$),$=$.return;G===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."):!OH.has(X.type)&&($=S1.get(G),X.type.contextTypes!=null||X.type.childContextTypes!=null||Z!==null&&typeof Z.getChildContext==="function")&&($===void 0&&($=[],S1.set(G,$)),$.push(X))},X6.flushLegacyContextWarning=function(){S1.forEach(function(X){if(X.length!==0){var Z=X[0],G=new Set;X.forEach(function(Y){G.add(p(Y)||"Component"),OH.add(Y.type)});var $=C(G);s(Z,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
214
+
215
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
216
+
217
+ Please update the following components: %s
218
+
219
+ Learn more about this warning here: https://react.dev/link/legacy-context`,$)})}})},X6.discardPendingWarnings=function(){WZ=[],MZ=[],qZ=[],KZ=[],RZ=[],OZ=[],S1=new Map};var _H={react_stack_bottom_frame:function(X,Z,G){var $=k6;k6=!0;try{return X(Z,G)}finally{k6=$}}},BY=_H.react_stack_bottom_frame.bind(_H),LH={react_stack_bottom_frame:function(X){var Z=k6;k6=!0;try{return X.render()}finally{k6=Z}}},FH=LH.react_stack_bottom_frame.bind(LH),NH={react_stack_bottom_frame:function(X,Z){try{Z.componentDidMount()}catch(G){g2(X,X.return,G)}}},HY=NH.react_stack_bottom_frame.bind(NH),wH={react_stack_bottom_frame:function(X,Z,G,$,Y){try{Z.componentDidUpdate(G,$,Y)}catch(z){g2(X,X.return,z)}}},AH=wH.react_stack_bottom_frame.bind(wH),TH={react_stack_bottom_frame:function(X,Z){var G=Z.stack;X.componentDidCatch(Z.value,{componentStack:G!==null?G:""})}},mR=TH.react_stack_bottom_frame.bind(TH),IH={react_stack_bottom_frame:function(X,Z,G){try{G.componentWillUnmount()}catch($){g2(X,Z,$)}}},PH=IH.react_stack_bottom_frame.bind(IH),CH={react_stack_bottom_frame:function(X){var Z=X.create;return X=X.inst,Z=Z(),X.destroy=Z}},uR=CH.react_stack_bottom_frame.bind(CH),SH={react_stack_bottom_frame:function(X,Z,G){try{G()}catch($){g2(X,Z,$)}}},dR=SH.react_stack_bottom_frame.bind(SH),vH={react_stack_bottom_frame:function(X){var Z=X._init;return Z(X._payload)}},lR=vH.react_stack_bottom_frame.bind(vH),u9=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`."),WY=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."),v1=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."),k1={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.')}},x8=null,_Z=!1,d9=null,LZ=0,W2=null,MY,kH=MY=!1,gH={},bH={},yH={};f=function(X,Z,G){if(G!==null&&typeof G==="object"&&G._store&&(!G._store.validated&&G.key==null||G._store.validated===2)){if(typeof G._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.");G._store.validated=1;var $=p(X),Y=$||"null";if(!gH[Y]){gH[Y]=!0,G=G._owner,X=X._debugOwner;var z="";X&&typeof X.tag==="number"&&(Y=p(X))&&(z=`
220
+
221
+ Check the render method of \``+Y+"`."),z||$&&(z=`
222
+
223
+ Check the top-level render call using <`+$+">.");var J="";G!=null&&X!==G&&($=null,typeof G.tag==="number"?$=p(G):typeof G.name==="string"&&($=G.name),$&&(J=" It was passed a child from "+$+".")),s(Z,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.',z,J)})}}};var D8=IJ(!0),fH=IJ(!1),jH=0,VH=1,xH=2,qY=3,c7=!1,DH=!1,KY=null,RY=!1,l9=M4(null),g1=M4(0),S5=M4(null),l5=null,p9=1,FZ=2,H4=M4(0),b1=0,p5=1,t4=2,v5=4,e4=8,c9,EH=new Set,hH=new Set,OY=new Set,mH=new Set,Q7=0,G2=null,d2=null,R4=null,y1=!1,s9=!1,E8=!1,f1=0,NZ=0,U7=null,pR=0,cR=25,g=null,c5=null,B7=-1,wZ=!1,AZ={readContext:e2,use:S7,useCallback:U4,useContext:U4,useEffect:U4,useImperativeHandle:U4,useLayoutEffect:U4,useInsertionEffect:U4,useMemo:U4,useReducer:U4,useRef:U4,useState:U4,useDebugValue:U4,useDeferredValue:U4,useTransition:U4,useSyncExternalStore:U4,useId:U4,useHostTransitionStatus:U4,useFormState:U4,useActionState:U4,useOptimistic:U4,useMemoCache:U4,useCacheRefresh:U4};AZ.useEffectEvent=U4;var _Y=null,uH=null,LY=null,dH=null,D6=null,Z6=null,j1=null;_Y={readContext:function(X){return e2(X)},use:S7,useCallback:function(X,Z){return g="useCallback",K2(),U9(Z),R3(X,Z)},useContext:function(X){return g="useContext",K2(),e2(X)},useEffect:function(X,Z){return g="useEffect",K2(),U9(Z),S0(X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",K2(),U9(G),K3(X,Z,G)},useInsertionEffect:function(X,Z){g="useInsertionEffect",K2(),U9(Z),A8(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",K2(),U9(Z),q3(X,Z)},useMemo:function(X,Z){g="useMemo",K2(),U9(Z);var G=b.H;b.H=D6;try{return O3(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",K2();var $=b.H;b.H=D6;try{return Y3(X,Z,G)}finally{b.H=$}},useRef:function(X){return g="useRef",K2(),W3(X)},useState:function(X){g="useState",K2();var Z=b.H;b.H=D6;try{return U3(X)}finally{b.H=Z}},useDebugValue:function(){g="useDebugValue",K2()},useDeferredValue:function(X,Z){return g="useDeferredValue",K2(),_3(X,Z)},useTransition:function(){return g="useTransition",K2(),N3()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",K2(),J3(X,Z,G)},useId:function(){return g="useId",K2(),w3()},useFormState:function(X,Z){return g="useFormState",K2(),A0(),H9(X,Z)},useActionState:function(X,Z){return g="useActionState",K2(),H9(X,Z)},useOptimistic:function(X){return g="useOptimistic",K2(),B3(X)},useHostTransitionStatus:T8,useMemoCache:w8,useCacheRefresh:function(){return g="useCacheRefresh",K2(),A3()},useEffectEvent:function(X){return g="useEffectEvent",K2(),M3(X)}},uH={readContext:function(X){return e2(X)},use:S7,useCallback:function(X,Z){return g="useCallback",D(),R3(X,Z)},useContext:function(X){return g="useContext",D(),e2(X)},useEffect:function(X,Z){return g="useEffect",D(),S0(X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",D(),K3(X,Z,G)},useInsertionEffect:function(X,Z){g="useInsertionEffect",D(),A8(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",D(),q3(X,Z)},useMemo:function(X,Z){g="useMemo",D();var G=b.H;b.H=D6;try{return O3(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",D();var $=b.H;b.H=D6;try{return Y3(X,Z,G)}finally{b.H=$}},useRef:function(X){return g="useRef",D(),W3(X)},useState:function(X){g="useState",D();var Z=b.H;b.H=D6;try{return U3(X)}finally{b.H=Z}},useDebugValue:function(){g="useDebugValue",D()},useDeferredValue:function(X,Z){return g="useDeferredValue",D(),_3(X,Z)},useTransition:function(){return g="useTransition",D(),N3()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",D(),J3(X,Z,G)},useId:function(){return g="useId",D(),w3()},useActionState:function(X,Z){return g="useActionState",D(),H9(X,Z)},useFormState:function(X,Z){return g="useFormState",D(),A0(),H9(X,Z)},useOptimistic:function(X){return g="useOptimistic",D(),B3(X)},useHostTransitionStatus:T8,useMemoCache:w8,useCacheRefresh:function(){return g="useCacheRefresh",D(),A3()},useEffectEvent:function(X){return g="useEffectEvent",D(),M3(X)}},LY={readContext:function(X){return e2(X)},use:S7,useCallback:function(X,Z){return g="useCallback",D(),g0(X,Z)},useContext:function(X){return g="useContext",D(),e2(X)},useEffect:function(X,Z){g="useEffect",D(),G5(2048,e4,X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",D(),k0(X,Z,G)},useInsertionEffect:function(X,Z){return g="useInsertionEffect",D(),G5(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",D(),G5(4,v5,X,Z)},useMemo:function(X,Z){g="useMemo",D();var G=b.H;b.H=Z6;try{return b0(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",D();var $=b.H;b.H=Z6;try{return B9(X,Z,G)}finally{b.H=$}},useRef:function(){return g="useRef",D(),D2().memoizedState},useState:function(){g="useState",D();var X=b.H;b.H=Z6;try{return B9(n5)}finally{b.H=X}},useDebugValue:function(){g="useDebugValue",D()},useDeferredValue:function(X,Z){return g="useDeferredValue",D(),sJ(X,Z)},useTransition:function(){return g="useTransition",D(),tJ()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",D(),I0(X,Z,G)},useId:function(){return g="useId",D(),D2().memoizedState},useFormState:function(X){return g="useFormState",D(),A0(),P0(X)},useActionState:function(X){return g="useActionState",D(),P0(X)},useOptimistic:function(X,Z){return g="useOptimistic",D(),xJ(X,Z)},useHostTransitionStatus:T8,useMemoCache:w8,useCacheRefresh:function(){return g="useCacheRefresh",D(),D2().memoizedState},useEffectEvent:function(X){return g="useEffectEvent",D(),v0(X)}},dH={readContext:function(X){return e2(X)},use:S7,useCallback:function(X,Z){return g="useCallback",D(),g0(X,Z)},useContext:function(X){return g="useContext",D(),e2(X)},useEffect:function(X,Z){g="useEffect",D(),G5(2048,e4,X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",D(),k0(X,Z,G)},useInsertionEffect:function(X,Z){return g="useInsertionEffect",D(),G5(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",D(),G5(4,v5,X,Z)},useMemo:function(X,Z){g="useMemo",D();var G=b.H;b.H=j1;try{return b0(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",D();var $=b.H;b.H=j1;try{return SX(X,Z,G)}finally{b.H=$}},useRef:function(){return g="useRef",D(),D2().memoizedState},useState:function(){g="useState",D();var X=b.H;b.H=j1;try{return SX(n5)}finally{b.H=X}},useDebugValue:function(){g="useDebugValue",D()},useDeferredValue:function(X,Z){return g="useDeferredValue",D(),aJ(X,Z)},useTransition:function(){return g="useTransition",D(),eJ()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",D(),I0(X,Z,G)},useId:function(){return g="useId",D(),D2().memoizedState},useFormState:function(X){return g="useFormState",D(),A0(),C0(X)},useActionState:function(X){return g="useActionState",D(),C0(X)},useOptimistic:function(X,Z){return g="useOptimistic",D(),EJ(X,Z)},useHostTransitionStatus:T8,useMemoCache:w8,useCacheRefresh:function(){return g="useCacheRefresh",D(),D2().memoizedState},useEffectEvent:function(X){return g="useEffectEvent",D(),v0(X)}},D6={readContext:function(X){return V(),e2(X)},use:function(X){return L(),S7(X)},useCallback:function(X,Z){return g="useCallback",L(),K2(),R3(X,Z)},useContext:function(X){return g="useContext",L(),K2(),e2(X)},useEffect:function(X,Z){return g="useEffect",L(),K2(),S0(X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",L(),K2(),K3(X,Z,G)},useInsertionEffect:function(X,Z){g="useInsertionEffect",L(),K2(),A8(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",L(),K2(),q3(X,Z)},useMemo:function(X,Z){g="useMemo",L(),K2();var G=b.H;b.H=D6;try{return O3(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",L(),K2();var $=b.H;b.H=D6;try{return Y3(X,Z,G)}finally{b.H=$}},useRef:function(X){return g="useRef",L(),K2(),W3(X)},useState:function(X){g="useState",L(),K2();var Z=b.H;b.H=D6;try{return U3(X)}finally{b.H=Z}},useDebugValue:function(){g="useDebugValue",L(),K2()},useDeferredValue:function(X,Z){return g="useDeferredValue",L(),K2(),_3(X,Z)},useTransition:function(){return g="useTransition",L(),K2(),N3()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",L(),K2(),J3(X,Z,G)},useId:function(){return g="useId",L(),K2(),w3()},useFormState:function(X,Z){return g="useFormState",L(),K2(),H9(X,Z)},useActionState:function(X,Z){return g="useActionState",L(),K2(),H9(X,Z)},useOptimistic:function(X){return g="useOptimistic",L(),K2(),B3(X)},useMemoCache:function(X){return L(),w8(X)},useHostTransitionStatus:T8,useCacheRefresh:function(){return g="useCacheRefresh",K2(),A3()},useEffectEvent:function(X){return g="useEffectEvent",L(),K2(),M3(X)}},Z6={readContext:function(X){return V(),e2(X)},use:function(X){return L(),S7(X)},useCallback:function(X,Z){return g="useCallback",L(),D(),g0(X,Z)},useContext:function(X){return g="useContext",L(),D(),e2(X)},useEffect:function(X,Z){g="useEffect",L(),D(),G5(2048,e4,X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",L(),D(),k0(X,Z,G)},useInsertionEffect:function(X,Z){return g="useInsertionEffect",L(),D(),G5(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",L(),D(),G5(4,v5,X,Z)},useMemo:function(X,Z){g="useMemo",L(),D();var G=b.H;b.H=Z6;try{return b0(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",L(),D();var $=b.H;b.H=Z6;try{return B9(X,Z,G)}finally{b.H=$}},useRef:function(){return g="useRef",L(),D(),D2().memoizedState},useState:function(){g="useState",L(),D();var X=b.H;b.H=Z6;try{return B9(n5)}finally{b.H=X}},useDebugValue:function(){g="useDebugValue",L(),D()},useDeferredValue:function(X,Z){return g="useDeferredValue",L(),D(),sJ(X,Z)},useTransition:function(){return g="useTransition",L(),D(),tJ()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",L(),D(),I0(X,Z,G)},useId:function(){return g="useId",L(),D(),D2().memoizedState},useFormState:function(X){return g="useFormState",L(),D(),P0(X)},useActionState:function(X){return g="useActionState",L(),D(),P0(X)},useOptimistic:function(X,Z){return g="useOptimistic",L(),D(),xJ(X,Z)},useMemoCache:function(X){return L(),w8(X)},useHostTransitionStatus:T8,useCacheRefresh:function(){return g="useCacheRefresh",D(),D2().memoizedState},useEffectEvent:function(X){return g="useEffectEvent",L(),D(),v0(X)}},j1={readContext:function(X){return V(),e2(X)},use:function(X){return L(),S7(X)},useCallback:function(X,Z){return g="useCallback",L(),D(),g0(X,Z)},useContext:function(X){return g="useContext",L(),D(),e2(X)},useEffect:function(X,Z){g="useEffect",L(),D(),G5(2048,e4,X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",L(),D(),k0(X,Z,G)},useInsertionEffect:function(X,Z){return g="useInsertionEffect",L(),D(),G5(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",L(),D(),G5(4,v5,X,Z)},useMemo:function(X,Z){g="useMemo",L(),D();var G=b.H;b.H=Z6;try{return b0(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",L(),D();var $=b.H;b.H=Z6;try{return SX(X,Z,G)}finally{b.H=$}},useRef:function(){return g="useRef",L(),D(),D2().memoizedState},useState:function(){g="useState",L(),D();var X=b.H;b.H=Z6;try{return SX(n5)}finally{b.H=X}},useDebugValue:function(){g="useDebugValue",L(),D()},useDeferredValue:function(X,Z){return g="useDeferredValue",L(),D(),aJ(X,Z)},useTransition:function(){return g="useTransition",L(),D(),eJ()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",L(),D(),I0(X,Z,G)},useId:function(){return g="useId",L(),D(),D2().memoizedState},useFormState:function(X){return g="useFormState",L(),D(),C0(X)},useActionState:function(X){return g="useActionState",L(),D(),C0(X)},useOptimistic:function(X,Z){return g="useOptimistic",L(),D(),EJ(X,Z)},useMemoCache:function(X){return L(),w8(X)},useHostTransitionStatus:T8,useCacheRefresh:function(){return g="useCacheRefresh",D(),D2().memoizedState},useEffectEvent:function(X){return g="useEffectEvent",L(),D(),v0(X)}};var lH={},pH=new Set,cH=new Set,sH=new Set,aH=new Set,iH=new Set,nH=new Set,oH=new Set,rH=new Set,tH=new Set,eH=new Set;Object.freeze(lH);var FY={enqueueSetState:function(X,Z,G){X=X._reactInternals;var $=w5(X),Y=T7($);Y.payload=Z,G!==void 0&&G!==null&&(I3(G),Y.callback=G),Z=I7(X,Y,$),Z!==null&&(K6($,"this.setState()",X),J4(Z,X,$),TX(Z,X,$))},enqueueReplaceState:function(X,Z,G){X=X._reactInternals;var $=w5(X),Y=T7($);Y.tag=VH,Y.payload=Z,G!==void 0&&G!==null&&(I3(G),Y.callback=G),Z=I7(X,Y,$),Z!==null&&(K6($,"this.replaceState()",X),J4(Z,X,$),TX(Z,X,$))},enqueueForceUpdate:function(X,Z){X=X._reactInternals;var G=w5(X),$=T7(G);$.tag=xH,Z!==void 0&&Z!==null&&(I3(Z),$.callback=Z),Z=I7(X,$,G),Z!==null&&(K6(G,"this.forceUpdate()",X),J4(Z,X,G),TX(Z,X,G))}},a9=null,NY=null,wY=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."),O4=!1,XW={},ZW={},GW={},$W={},i9=!1,YW={},V1={},AY={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},zW=!1,JW=null;JW=new Set;var H7=!1,_4=!1,TY=!1,QW=typeof WeakSet==="function"?WeakSet:Set,g4=null,n9=null,o9=null,L4=null,z5=!1,G6=null,A4=!1,TZ=8192,sR={getCacheForType:function(X){var Z=e2(q4),G=Z.data.get(X);return G===void 0&&(G=X(),Z.data.set(X,G)),G},cacheSignal:function(){return e2(q4).controller.signal},getOwner:function(){return I5}};if(typeof Symbol==="function"&&Symbol.for){var IZ=Symbol.for;IZ("selector.component"),IZ("selector.has_pseudo_class"),IZ("selector.role"),IZ("selector.test_id"),IZ("selector.text")}var aR=[],iR=typeof WeakMap==="function"?WeakMap:Map,b4=0,T4=2,k5=4,W7=0,PZ=1,h8=2,x1=3,s7=4,D1=6,UW=5,I2=b4,l2=null,q2=null,M2=0,J5=0,E1=1,m8=2,CZ=3,BW=4,IY=5,SZ=6,h1=7,PY=8,u8=9,E2=J5,g5=null,a7=!1,r9=!1,CY=!1,E6=0,G4=W7,i7=0,n7=0,SY=0,Q5=0,d8=0,vZ=null,X5=null,m1=!1,u1=0,HW=0,WW=300,d1=1/0,MW=500,kZ=null,B4=null,o7=null,l1=0,vY=1,kY=2,qW=3,r7=0,KW=1,RW=2,OW=3,_W=4,p1=5,F4=0,t7=null,t9=null,$6=0,gY=0,bY=-0,yY=null,LW=null,FW=null,Y6=l1,NW=null,nR=50,gZ=0,fY=null,jY=!1,c1=!1,oR=50,l8=0,bZ=null,e9=!1,s1=null,wW=!1,AW=new Set,rR={},a1=null,XX=null,VY=!1,xY=!1,i1=!1,DY=!1,e7=0,EY={};(function(){for(var X=0;X<n$.length;X++){var Z=n$[X],G=Z.toLowerCase();Z=Z[0].toUpperCase()+Z.slice(1),i5(G,"on"+Z)}i5(tB,"onAnimationEnd"),i5(eB,"onAnimationIteration"),i5(XH,"onAnimationStart"),i5("dblclick","onDoubleClick"),i5("focusin","onFocus"),i5("focusout","onBlur"),i5(SR,"onTransitionRun"),i5(vR,"onTransitionStart"),i5(kR,"onTransitionCancel"),i5(ZH,"onTransitionEnd")})(),K5("onMouseEnter",["mouseout","mouseover"]),K5("onMouseLeave",["mouseout","mouseover"]),K5("onPointerEnter",["pointerout","pointerover"]),K5("onPointerLeave",["pointerout","pointerover"]),m4("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),m4("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),m4("onBeforeInput",["compositionend","keypress","textInput","paste"]),m4("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),m4("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),m4("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yZ="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(" "),hY=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yZ)),n1="_reactListening"+Math.random().toString(36).slice(2),TW=!1,IW=!1,o1=!1,PW=!1,r1=!1,t1=!1,CW=!1,e1={},tR=/\r\n?/g,eR=/\u0000|\uFFFD/g,p8="http://www.w3.org/1999/xlink",mY="http://www.w3.org/XML/1998/namespace",XO="javascript:throw new Error('React form unexpectedly submitted.')",ZO="suppressHydrationWarning",c8="&",XG="/&",fZ="$",jZ="/$",X8="$?",s8="$~",ZX="$!",GO="html",$O="body",YO="head",uY="F!",SW="F",vW="loading",zO="style",M7=0,GX=1,ZG=2,dY=null,lY=null,kW={dialog:!0,webview:!0},pY=null,VZ=void 0,gW=typeof setTimeout==="function"?setTimeout:void 0,JO=typeof clearTimeout==="function"?clearTimeout:void 0,a8=-1,bW=typeof Promise==="function"?Promise:void 0,QO=typeof queueMicrotask==="function"?queueMicrotask:typeof bW<"u"?function(X){return bW.resolve(null).then(X).catch(cq)}:gW,cY=null,i8=0,xZ=1,yW=2,fW=3,s5=4,a5=new Map,jW=new Set,q7=b2.d;b2.d={f:function(){var X=q7.f(),Z=R9();return X||Z},r:function(X){var Z=z2(X);Z!==null&&Z.tag===5&&Z.type==="form"?rJ(Z):q7.r(X)},D:function(X){q7.D(X),pU("dns-prefetch",X,null)},C:function(X,Z){q7.C(X,Z),pU("preconnect",X,Z)},L:function(X,Z,G){q7.L(X,Z,G);var $=$X;if($&&X&&Z){var Y='link[rel="preload"][as="'+j5(Z)+'"]';Z==="image"?G&&G.imageSrcSet?(Y+='[imagesrcset="'+j5(G.imageSrcSet)+'"]',typeof G.imageSizes==="string"&&(Y+='[imagesizes="'+j5(G.imageSizes)+'"]')):Y+='[href="'+j5(X)+'"]':Y+='[href="'+j5(X)+'"]';var z=Y;switch(Z){case"style":z=L9(X);break;case"script":z=F9(X)}a5.has(z)||(X=R2({rel:"preload",href:Z==="image"&&G&&G.imageSrcSet?void 0:X,as:Z},G),a5.set(z,X),$.querySelector(Y)!==null||Z==="style"&&$.querySelector(dX(z))||Z==="script"&&$.querySelector(lX(z))||(Z=$.createElement("link"),D4(Z,"link",X),o(Z),$.head.appendChild(Z)))}},m:function(X,Z){q7.m(X,Z);var G=$X;if(G&&X){var $=Z&&typeof Z.as==="string"?Z.as:"script",Y='link[rel="modulepreload"][as="'+j5($)+'"][href="'+j5(X)+'"]',z=Y;switch($){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":z=F9(X)}if(!a5.has(z)&&(X=R2({rel:"modulepreload",href:X},Z),a5.set(z,X),G.querySelector(Y)===null)){switch($){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(G.querySelector(lX(z)))return}$=G.createElement("link"),D4($,"link",X),o($),G.head.appendChild($)}}},X:function(X,Z){q7.X(X,Z);var G=$X;if(G&&X){var $=P2(G).hoistableScripts,Y=F9(X),z=$.get(Y);z||(z=G.querySelector(lX(Y)),z||(X=R2({src:X,async:!0},Z),(Z=a5.get(Y))&&K$(X,Z),z=G.createElement("script"),o(z),D4(z,"link",X),G.head.appendChild(z)),z={type:"script",instance:z,count:1,state:null},$.set(Y,z))}},S:function(X,Z,G){q7.S(X,Z,G);var $=$X;if($&&X){var Y=P2($).hoistableStyles,z=L9(X);Z=Z||"default";var J=Y.get(z);if(!J){var U={loading:i8,preload:null};if(J=$.querySelector(dX(z)))U.loading=xZ|s5;else{X=R2({rel:"stylesheet",href:X,"data-precedence":Z},G),(G=a5.get(z))&&q$(X,G);var H=J=$.createElement("link");o(H),D4(H,"link",X),H._p=new Promise(function(W,I){H.onload=W,H.onerror=I}),H.addEventListener("load",function(){U.loading|=xZ}),H.addEventListener("error",function(){U.loading|=yW}),U.loading|=s5,o0(J,Z,$)}J={type:"stylesheet",instance:J,count:1,state:U},Y.set(z,J)}}},M:function(X,Z){q7.M(X,Z);var G=$X;if(G&&X){var $=P2(G).hoistableScripts,Y=F9(X),z=$.get(Y);z||(z=G.querySelector(lX(Y)),z||(X=R2({src:X,async:!0,type:"module"},Z),(Z=a5.get(Y))&&K$(X,Z),z=G.createElement("script"),o(z),D4(z,"link",X),G.head.appendChild(z)),z={type:"script",instance:z,count:1,state:null},$.set(Y,z))}}};var $X=typeof document>"u"?null:document,GG=null,UO=60000,BO=800,HO=500,sY=0,aY=null,$G=null,n8=PK,DZ={$$typeof:v6,Provider:null,Consumer:null,_currentValue:n8,_currentValue2:n8,_threadCount:0},VW="%c%s%c",xW="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",DW="",YG=" ",WO=Function.prototype.bind,EW=!1,hW=null,mW=null,uW=null,dW=null,lW=null,pW=null,cW=null,sW=null,aW=null,iW=null;hW=function(X,Z,G,$){Z=B(X,Z),Z!==null&&(G=q(Z.memoizedState,G,0,$),Z.memoizedState=G,Z.baseState=G,X.memoizedProps=R2({},X.memoizedProps),G=u4(X,2),G!==null&&J4(G,X,2))},mW=function(X,Z,G){Z=B(X,Z),Z!==null&&(G=F(Z.memoizedState,G,0),Z.memoizedState=G,Z.baseState=G,X.memoizedProps=R2({},X.memoizedProps),G=u4(X,2),G!==null&&J4(G,X,2))},uW=function(X,Z,G,$){Z=B(X,Z),Z!==null&&(G=R(Z.memoizedState,G,$),Z.memoizedState=G,Z.baseState=G,X.memoizedProps=R2({},X.memoizedProps),G=u4(X,2),G!==null&&J4(G,X,2))},dW=function(X,Z,G){X.pendingProps=q(X.memoizedProps,Z,0,G),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=u4(X,2),Z!==null&&J4(Z,X,2)},lW=function(X,Z){X.pendingProps=F(X.memoizedProps,Z,0),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=u4(X,2),Z!==null&&J4(Z,X,2)},pW=function(X,Z,G){X.pendingProps=R(X.memoizedProps,Z,G),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=u4(X,2),Z!==null&&J4(Z,X,2)},cW=function(X){var Z=u4(X,2);Z!==null&&J4(Z,X,2)},sW=function(X){var Z=Z9(),G=u4(X,Z);G!==null&&J4(G,X,Z)},aW=function(X){A=X},iW=function(X){O=X};var zG=!0,JG=null,iY=!1,Z8=null,G8=null,$8=null,EZ=new Map,hZ=new Map,Y8=[],MO="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(" "),QG=null;if(Z1.prototype.render=N$.prototype.render=function(X){var Z=this._internalRoot;if(Z===null)throw Error("Cannot update an unmounted root.");var G=arguments;typeof G[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()."):i2(G[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 G[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),G=X;var $=Z.current,Y=w5($);R$($,Y,G,Z,null,null)},Z1.prototype.unmount=N$.prototype.unmount=function(){var X=arguments;if(typeof X[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()."),X=this._internalRoot,X!==null){this._internalRoot=null;var Z=X.containerInfo;(I2&(T4|k5))!==b4&&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."),R$(X.current,2,null,X,null,null),R9(),Z[j7]=null}},Z1.prototype.unstable_scheduleHydration=function(X){if(X){var Z=S();X={blockedOn:null,target:X,priority:Z};for(var G=0;G<Y8.length&&Z!==0&&Z<Y8[G].priority;G++);Y8.splice(G,0,X),G===0&&YB(X)}},function(){var X=YX.version;if(X!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
224
+ - react: `+(X+`
225
+ - react-dom: 19.2.7
226
+ 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"),b2.findDOMNode=function(X){var Z=X._reactInternals;if(Z===void 0){if(typeof X.render==="function")throw Error("Unable to find node on an unmounted component.");throw X=Object.keys(X).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+X)}return X=U6(Z),X=X!==null?u6(X):null,X=X===null?null:X.stateNode,X},!function(){var X={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:b,reconcilerVersion:"19.2.7"};return X.overrideHookState=hW,X.overrideHookStateDeletePath=mW,X.overrideHookStateRenamePath=uW,X.overrideProps=dW,X.overridePropsDeletePath=lW,X.overridePropsRenamePath=pW,X.scheduleUpdate=cW,X.scheduleRetry=sW,X.setErrorHandler=aW,X.setSuspenseHandler=iW,X.scheduleRefresh=k2,X.scheduleRoot=h,X.setRefreshHandler=a2,X.getCurrentFiber=_K,X9(X)}()&&f6&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var nW=window.location.protocol;/^(https?|file):$/.test(nW)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(nW==="file:"?`
227
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}PO.createRoot=function(X,Z){if(!i2(X))throw Error("Target container is not a DOM element.");UB(X);var G=!1,$="",Y=zQ,z=JQ,J=QQ;return Z!==null&&Z!==void 0&&(Z.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof Z==="object"&&Z!==null&&Z.$$typeof===S6&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
228
+
229
+ let root = createRoot(domContainer);
230
+ root.render(<App />);`),Z.unstable_strictMode===!0&&(G=!0),Z.identifierPrefix!==void 0&&($=Z.identifierPrefix),Z.onUncaughtError!==void 0&&(Y=Z.onUncaughtError),Z.onCaughtError!==void 0&&(z=Z.onCaughtError),Z.onRecoverableError!==void 0&&(J=Z.onRecoverableError)),Z=rU(X,1,!1,null,null,G,$,null,Y,z,J,QB),X[j7]=Z.current,Z$(X),new N$(Z)},PO.hydrateRoot=function(X,Z,G){if(!i2(X))throw Error("Target container is not a DOM element.");UB(X),Z===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var $=!1,Y="",z=zQ,J=JQ,U=QQ,H=null;return G!==null&&G!==void 0&&(G.unstable_strictMode===!0&&($=!0),G.identifierPrefix!==void 0&&(Y=G.identifierPrefix),G.onUncaughtError!==void 0&&(z=G.onUncaughtError),G.onCaughtError!==void 0&&(J=G.onCaughtError),G.onRecoverableError!==void 0&&(U=G.onRecoverableError),G.formState!==void 0&&(H=G.formState)),Z=rU(X,1,!0,Z,G!=null?G:null,$,Y,H,z,J,U,QB),Z.context=tU(null),G=Z.current,$=w5(G),$=W8($),Y=T7($),Y.callback=null,I7(G,Y,$),K6($,"hydrateRoot()",null),G=$,Z.current.lanes=G,O7(Z,G),P6(Z),X[j7]=Z.current,Z$(X),new Z1(Z)},PO.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var $M=o8((GF,GM)=>{var CO=z6(ZM());GM.exports=CO});var Zz=o8((fO)=>{var t8=z6(mZ());(function(){function B(j){if(j==null)return null;if(typeof j==="function")return j.$$typeof===p?null:j.displayName||j.name||null;if(typeof j==="string")return j;switch(j){case a2:return"Fragment";case W5:return"Profiler";case i2:return"StrictMode";case U6:return"Suspense";case u6:return"SuspenseList";case b5:return"Activity"}if(typeof j==="object")switch(typeof j.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),j.$$typeof){case k2:return"Portal";case f4:return j.displayName||"Context";case M5:return(j._context.displayName||"Context")+".Consumer";case Q6:var Y2=j.render;return j=j.displayName,j||(j=Y2.displayName||Y2.name||"",j=j!==""?"ForwardRef("+j+")":"ForwardRef"),j;case N4:return Y2=j.displayName||null,Y2!==null?Y2:B(j.type)||"Memo";case w2:Y2=j._payload,j=j._init;try{return B(j(Y2))}catch(V2){}}return null}function q(j){return""+j}function R(j){try{q(j);var Y2=!1}catch(h2){Y2=!0}if(Y2){Y2=console;var V2=Y2.error,x2=typeof Symbol==="function"&&Symbol.toStringTag&&j[Symbol.toStringTag]||j.constructor.name||"Object";return V2.call(Y2,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",x2),q(j)}}function K(j){if(j===a2)return"<>";if(typeof j==="object"&&j!==null&&j.$$typeof===w2)return"<...>";try{var Y2=B(j);return Y2?"<"+Y2+">":"<...>"}catch(V2){return"<...>"}}function F(){var j=M4.A;return j===null?null:j.getOwner()}function O(){return Error("react-stack-top-frame")}function A(j){if(v2.call(j,"key")){var Y2=Object.getOwnPropertyDescriptor(j,"key").get;if(Y2&&Y2.isReactWarning)return!1}return j.key!==void 0}function L(j,Y2){function V2(){l||(l=!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)",Y2))}V2.isReactWarning=!0,Object.defineProperty(j,"key",{get:V2,configurable:!0})}function V(){var j=B(this.type);return X2[j]||(X2[j]=!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.")),j=this.props.ref,j!==void 0?j:null}function x(j,Y2,V2,x2,h2,B6){var z4=V2.ref;return j={$$typeof:h,type:j,key:Y2,props:V2,_owner:x2},(z4!==void 0?z4:null)!==null?Object.defineProperty(j,"ref",{enumerable:!1,get:V}):Object.defineProperty(j,"ref",{enumerable:!1,value:null}),j._store={},Object.defineProperty(j._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(j,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(j,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h2}),Object.defineProperty(j,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:B6}),Object.freeze&&(Object.freeze(j.props),Object.freeze(j)),j}function f(j,Y2,V2,x2,h2,B6){var z4=Y2.children;if(z4!==void 0)if(x2)if(F2(z4)){for(x2=0;x2<z4.length;x2++)C(z4[x2]);Object.freeze&&Object.freeze(z4)}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 C(z4);if(v2.call(Y2,"key")){z4=B(j);var q5=Object.keys(Y2).filter(function(d6){return d6!=="key"});x2=0<q5.length?"{key: someKey, "+q5.join(": ..., ")+": ...}":"{key: someKey}",j2[z4+x2]||(q5=0<q5.length?"{"+q5.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
231
+ let props = %s;
232
+ <%s {...props} />
233
+ React keys must be passed directly to JSX without using spread:
234
+ let props = %s;
235
+ <%s key={someKey} {...props} />`,x2,z4,q5,z4),j2[z4+x2]=!0)}if(z4=null,V2!==void 0&&(R(V2),z4=""+V2),A(Y2)&&(R(Y2.key),z4=""+Y2.key),"key"in Y2){V2={};for(var y5 in Y2)y5!=="key"&&(V2[y5]=Y2[y5])}else V2=Y2;return z4&&L(V2,typeof j==="function"?j.displayName||j.name||"Unknown":j),x(j,z4,V2,F(),h2,B6)}function C(j){k(j)?j._store&&(j._store.validated=1):typeof j==="object"&&j!==null&&j.$$typeof===w2&&(j._payload.status==="fulfilled"?k(j._payload.value)&&j._payload.value._store&&(j._payload.value._store.validated=1):j._store&&(j._store.validated=1))}function k(j){return typeof j==="object"&&j!==null&&j.$$typeof===h}var h=Symbol.for("react.transitional.element"),k2=Symbol.for("react.portal"),a2=Symbol.for("react.fragment"),i2=Symbol.for("react.strict_mode"),W5=Symbol.for("react.profiler"),M5=Symbol.for("react.consumer"),f4=Symbol.for("react.context"),Q6=Symbol.for("react.forward_ref"),U6=Symbol.for("react.suspense"),u6=Symbol.for("react.suspense_list"),N4=Symbol.for("react.memo"),w2=Symbol.for("react.lazy"),b5=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),M4=t8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,v2=Object.prototype.hasOwnProperty,F2=Array.isArray,j4=console.createTask?console.createTask:function(){return null};t8={react_stack_bottom_frame:function(j){return j()}};var l,X2={},t=t8.react_stack_bottom_frame.bind(t8,O)(),f2=j4(K(O)),j2={};fO.Fragment=a2,fO.jsxDEV=function(j,Y2,V2,x2){var h2=1e4>M4.recentlyCreatedOwnerStacks++;return f(j,Y2,V2,x2,h2?Error("react-stack-top-frame"):t,h2?j4(K(j)):f2)}})()});var Q2=z6(mZ(),1),SM=z6($M(),1);var YM="Twin Inc.";function zM(B){let q=(R)=>typeof R==="string"&&R.trim()?R:void 0;return q(B?.business_profile?.name)??q(B?.settings?.dashboard?.display_name)??"Twin Inc."}var SO=new Set(["bif","clp","djf","gnf","jpy","kmf","krw","mga","pyg","rwf","ugx","vnd","vuv","xaf","xof","xpf"]);function I4(B,q){if(typeof B!=="number"||!Number.isFinite(B))return"—";let R=String(q??"usd").toLowerCase(),K=SO.has(R),F=K?B:B/100;try{return new Intl.NumberFormat("en-US",{style:"currency",currency:R.toUpperCase(),minimumFractionDigits:K?0:2,maximumFractionDigits:K?0:2}).format(F)}catch{return`${K?F:F.toFixed(2)} ${R.toUpperCase()}`}}function rY(B){if(!B||typeof B!=="object")return"";let q=B,R=typeof q.interval==="string"?q.interval:"";if(!R)return"";let K=Number(q.interval_count);return K>1?`every ${K} ${R}s`:`every ${R}`}function tY(B){if(!B||typeof B!=="object")return"—";let q=B,R=q.card&&typeof q.card==="object"?q.card:void 0;if(R&&(R.brand||R.last4)){let K=R.brand?String(R.brand).replace(/\b\w/g,(F)=>F.toUpperCase()):"Card";return R.last4?`${K} •••• ${R.last4}`:K}return typeof q.type==="string"&&q.type?q.type:q.id??"—"}function JM(B){if(!B||typeof B!=="object")return"";let q=B,R=typeof q.code==="string"?q.code:"",K=typeof q.decline_code==="string"?q.decline_code:"",F=typeof q.message==="string"?q.message:"",O=R?K?`${R} (${K})`:R:K;if(O&&F)return`${O}: ${F}`;return O||F}function QM(B){if(!B||typeof B!=="object")return[];let q=B,R=(F)=>{if(!Array.isArray(F)||F.length===0)return I4(0,"usd");return F.map((O)=>I4(O?.amount,O?.currency)).join(", ")},K=[];if(Array.isArray(q.available))K.push({bucket:"available",text:R(q.available)});if(Array.isArray(q.pending))K.push({bucket:"pending",text:R(q.pending)});return K}function UM(B){if(!B||typeof B!=="object")return[];let q=B;return[{key:"charges_enabled",label:"Charges",enabled:q.charges_enabled===!0},{key:"payouts_enabled",label:"Payouts",enabled:q.payouts_enabled===!0},{key:"details_submitted",label:"Details submitted",enabled:q.details_submitted===!0}]}function BM(B){if(!B||typeof B!=="object")return[];let q=B.requirements;if(!q||typeof q!=="object")return[];let R=q.currently_due;return Array.isArray(R)?R.filter((K)=>typeof K==="string"):[]}var vO={customer:"customers",product:"products",price:"prices",subscription:"subscriptions",latest_invoice:"invoices",invoice:"invoices",payment_intent:"payment_intents",latest_charge:"charges",charge:"charges",payment_method:"payment_methods",default_payment_method:"payment_methods",dispute:"disputes",payout:"payouts",balance_transaction:"balance_transactions",source_transaction:"charges",setup_intent:"setup_intents",account:"accounts",destination:"accounts",credit_note:"credit_notes"},$F=new Set(Object.keys(vO));function kO(B,q){return B?new URL(".",q).pathname.replace(/\/$/,""):""}var BG=typeof document>"u"?"":kO(document.querySelector("base[href]")!==null,document.baseURI);class HM extends Error{code;constructor(B,q){super(B);this.code=q}}async function zX(B,q,R){let K={method:B,headers:{accept:"application/json"}};if(R){let A=Object.entries(R).filter(([,L])=>L!==void 0&&L!=="").map(([L,V])=>`${encodeURIComponent(L)}=${encodeURIComponent(String(V))}`).join("&");K.body=A,K.headers["content-type"]="application/x-www-form-urlencoded"}let F=await fetch(`${BG}${q}`,K),O=await F.json().catch(()=>({error:{message:`${F.status} ${F.statusText}`}}));if(O&&O.error)throw new HM(String(O.error.message??"Request failed"),O.error.code);return O}var p4=(B)=>zX("GET",B);async function S2(B){let q=B.includes("?")?"&":"?",R=await zX("GET",`${B}${q}limit=100`);return Array.isArray(R?.data)?R.data:[]}var $4=(B,q)=>B.catch(()=>q);function gO(B,q){if(q?.disputed)return"disputed";if(q?.refunded)return"refunded";if(q&&Number(q.amount_refunded)>0)return"partially_refunded";if(q?.status==="failed")return"failed";if(B){if(B.status==="succeeded")return"succeeded";if(B.status==="canceled")return"canceled";if(B.status==="requires_capture")return"uncaptured";if(B.status==="processing")return"processing";if(B.last_payment_error)return"failed";return"incomplete"}return q?.status==="succeeded"?"succeeded":q?.status==="pending"?"processing":"failed"}var bO={generic_decline:"Generic decline",insufficient_funds:"Insufficient funds",lost_card:"Lost card",stolen_card:"Stolen card",expired_card:"Expired card",incorrect_cvc:"Incorrect CVC",processing_error:"Processing error",card_declined:"Card declined"},yO=(B)=>B?bO[B]??B.replace(/_/g," "):void 0;async function HG(B){let q=[...new Set([...B].filter((K)=>typeof K==="string"&&K.startsWith("pm_")))],R=await Promise.all(q.map((K)=>$4(p4(`/v1/payment_methods/${K}`),void 0)));return new Map(R.filter((K)=>Boolean(K?.id)).map((K)=>[K.id,K]))}function eY(B,q,R,K){let F=B??q,O=typeof F.customer==="string"?F.customer:F.customer?.id,A=typeof F.payment_method==="string"?F.payment_method:q?.payment_method,L=B?.last_payment_error,V=R.filter((x)=>B&&x.payment_intent===B.id||q&&x.charge===q.id);return{id:String(F.id),amount:Number(F.amount)||0,currency:String(F.currency??"usd"),status:gO(B,q),description:F.description??q?.description??void 0,created:Number(F.created)||0,customer:O?K.customers.get(O)??{id:O}:void 0,charge:q,intent:B,paymentMethod:A?K.paymentMethods.get(A):void 0,amountRefunded:Number(q?.amount_refunded)||V.reduce((x,f)=>x+(f.status==="failed"?0:Number(f.amount)||0),0),refundedAt:V.length?Math.max(...V.map((x)=>Number(x.created)||0)):void 0,declineReason:yO(L?.decline_code??L?.code??q?.failure_code),declineMessage:L?.message??q?.failure_message??void 0}}async function WG(){let[B,q,R,K]=await Promise.all([S2("/v1/payment_intents"),S2("/v1/charges"),$4(S2("/v1/refunds"),[]),S2("/v1/customers")]),F=new Map(q.map((V)=>[V.id,V])),O=[...B.map((V)=>V.payment_method),...q.map((V)=>V.payment_method)],A={customers:new Map(K.map((V)=>[V.id,V])),paymentMethods:await HG(O)},L=B.map((V)=>{let x=(typeof V.latest_charge==="string"?F.get(V.latest_charge):V.latest_charge)??q.find((f)=>f.payment_intent===V.id);return eY(V,x,R,A)});for(let V of q)if(!V.payment_intent)L.push(eY(void 0,V,R,A));return L.sort((V,x)=>x.created-V.created)}async function WM(B){let q,R;if(B.startsWith("ch_")||B.startsWith("py_")){if(R=await p4(`/v1/charges/${B}`),typeof R.payment_intent==="string")q=await $4(p4(`/v1/payment_intents/${R.payment_intent}`),void 0)}else{q=await p4(`/v1/payment_intents/${B}`);let k2=typeof q.latest_charge==="string"?q.latest_charge:q.latest_charge?.id;if(k2)R=await $4(p4(`/v1/charges/${k2}`),void 0)}let K=q??R,F=typeof K.customer==="string"?K.customer:void 0,O=typeof K.payment_method==="string"?K.payment_method:R?.payment_method,A=q?`/v1/refunds?payment_intent=${q.id}`:`/v1/refunds?charge=${R.id}`,[L,V,x,f,C]=await Promise.all([F?$4(p4(`/v1/customers/${F}`),{id:F}):Promise.resolve(void 0),HG(O?[O]:[]),$4(S2(A),[]),$4(S2("/v1/events"),[]),typeof K.invoice==="string"?$4(p4(`/v1/invoices/${K.invoice}`),void 0):Promise.resolve(void 0)]),k={customers:new Map(L?[[L.id,L]]:[]),paymentMethods:V},h=new Set([K.id,R?.id,q?.id,...x.map((k2)=>k2.id)].filter(Boolean));return{...eY(q,R,x,k),refunds:x,events:f.filter((k2)=>h.has(k2?.data?.object?.id)).sort((k2,a2)=>a2.created-k2.created),invoice:C}}async function MM(){let[B,q,R]=await Promise.all([S2("/v1/customers"),S2("/v1/charges"),S2("/v1/payment_intents")]),K=B.map((O)=>O.invoice_settings?.default_payment_method).filter((O)=>typeof O==="string"),F=await HG(K);return B.map((O)=>{let A=q.filter((V)=>V.customer===O.id&&V.status==="succeeded"),L=O.invoice_settings?.default_payment_method;return{...O,defaultCard:typeof L==="string"?F.get(L):void 0,totalSpend:A.reduce((V,x)=>V+(Number(x.amount_captured??x.amount)||0)-(Number(x.amount_refunded)||0),0),payments:R.filter((V)=>V.customer===O.id&&V.status==="succeeded").length||A.length,refunds:A.reduce((V,x)=>V+(Number(x.amount_refunded)||0),0),currency:String(A[0]?.currency??O.currency??"usd")}})}async function qM(B){let q=await p4(`/v1/customers/${B}`),[R,K,F,O,A,L]=await Promise.all([$4(S2(`/v1/customers/${B}/payment_methods`),[]),$4(S2(`/v1/subscriptions?customer=${B}&status=all`),[]),$4(S2(`/v1/invoices?customer=${B}`),[]),WG().then((x)=>x.filter((f)=>f.customer?.id===B)),$4(S2("/v1/products"),[]),$4(S2("/v1/events"),[])]),V=new Set([B,...K.map((x)=>x.id),...F.map((x)=>x.id),...O.map((x)=>x.id)]);return{customer:q,paymentMethods:R,subscriptions:K,invoices:F,payments:O,products:new Map(A.map((x)=>[x.id,x])),events:L.filter((x)=>V.has(x?.data?.object?.id)).sort((x,f)=>f.created-x.created)}}async function KM(){let[B,q,R]=await Promise.all([S2("/v1/subscriptions?status=all"),S2("/v1/customers"),S2("/v1/products")]);return{subscriptions:B,customers:new Map(q.map((K)=>[K.id,K])),products:new Map(R.map((K)=>[K.id,K]))}}async function RM(B){let q=await p4(`/v1/subscriptions/${B}`),R=typeof q.customer==="string"?q.customer:q.customer?.id,[K,F,O,A]=await Promise.all([R?$4(p4(`/v1/customers/${R}`),void 0):Promise.resolve(void 0),$4(S2(`/v1/invoices?subscription=${B}`),[]),$4(S2("/v1/products"),[]),$4(S2("/v1/events"),[])]),L=q.default_payment_method??K?.invoice_settings?.default_payment_method,V=await HG(typeof L==="string"?[L]:[]);return{subscription:q,customer:K,invoices:F,products:new Map(O.map((x)=>[x.id,x])),events:A.filter((x)=>x?.data?.object?.id===B).sort((x,f)=>f.created-x.created),paymentMethod:typeof L==="string"?V.get(L):void 0}}async function OM(){let[B,q]=await Promise.all([S2("/v1/invoices"),S2("/v1/customers")]);return{invoices:B,customers:new Map(q.map((R)=>[R.id,R]))}}async function _M(){let[B,q]=await Promise.all([S2("/v1/products"),S2("/v1/prices")]);return{products:B,prices:q}}async function LM(){let[B,q,R,K,F]=await Promise.all([p4("/v1/balance"),WG(),S2("/v1/customers"),$4(S2("/v1/subscriptions?status=all"),[]),$4(S2("/v1/invoices"),[])]);return{balance:B,payments:q,customers:R,subscriptions:K,invoices:F}}async function FM(){let[B,q,R]=await Promise.all([p4("/v1/balance"),$4(S2("/v1/balance_transactions"),[]),$4(S2("/v1/payouts"),[])]);return{balance:B,transactions:q,payouts:R}}async function Xz(){let[B,q,R]=await Promise.all([$4(S2("/v1/events"),[]),$4(S2("/v1/webhook_endpoints"),[]),$4(p4("/v1/account"),void 0)]);return{events:B,webhooks:q,account:R}}function NM(B,q,R){let K=B.intent?{payment_intent:String(B.intent.id)}:{charge:String(B.charge?.id)};return zX("POST","/v1/refunds",{...K,amount:q,reason:R})}function wM(B,q){return q==="now"?zX("DELETE",`/v1/subscriptions/${B}`):zX("POST",`/v1/subscriptions/${B}`,{cancel_at_period_end:!0})}var AM=(B,q)=>zX("POST",`/v1/${B}`,q);var Q=z6(Zz(),1),Gz=BG;function jO(B){let R=(B.startsWith(Gz)?B.slice(Gz.length):B).split("/").filter(Boolean);return R[0]==="test"?R.slice(1):R}var dZ=(B)=>`${Gz}/test/${B.replace(/^\/+/,"")}`,VO=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _2(B,q=!0){let R=Number(B);if(!Number.isFinite(R)||R<=0)return"—";let K=new Date(R*1000),F=`${VO[K.getMonth()]} ${K.getDate()}`,O=K.getFullYear()===new Date().getFullYear();if(!q)return`${F}, ${K.getFullYear()}`;let L=`${K.getHours()%12||12}:${String(K.getMinutes()).padStart(2,"0")} ${K.getHours()<12?"AM":"PM"}`;return O?`${F}, ${L}`:`${F}, ${K.getFullYear()}, ${L}`}var y2=(B,q)=>I4(Number(B)||0,q),c4=(B)=>String(B??"usd").toUpperCase(),P4=(B)=>B.replace(/_/g," ").replace(/^\w/,(q)=>q.toUpperCase()),$z=(B)=>B?B.name||B.email||B.id:"—",xO={home:"M8 1.5 1.5 7v7.5h4.5v-4.5h4v4.5h4.5V7L8 1.5z",balance:"M2 4h12v9H2zM2 7h12M5 10.5h3",transactions:"M2 5h10M9 2l3 3-3 3M14 11H4M7 8l-3 3 3 3",customers:"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2.5 14.5c.6-2.8 2.8-4.5 5.5-4.5s4.9 1.7 5.5 4.5",catalog:"M2 4.5 8 1.5l6 3v7L8 14.5l-6-3v-7zM2 4.5l6 3 6-3M8 7.5v7",connect:"M5.5 10.5 10.5 5.5M7 3.5l1.5-1.5a3 3 0 0 1 4.5 4.5L11.5 8M9 12.5 7.5 14a3 3 0 0 1-4.5-4.5L4.5 8",payments:"M1.5 3.5h13v9h-13zM1.5 6.5h13M4 10h2.5",billing:"M3 1.5h10v13l-2-1.3-2 1.3-2-1.3-2 1.3-2-1.3zM5.5 5h5M5.5 8h5",reporting:"M2 14h12M4 11V7M8 11V3M12 11V8",more:"M3 8h.01M8 8h.01M13 8h.01",developers:"M5 4 1.5 8 5 12M11 4l3.5 4-3.5 4",search:"M7 12.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM11 11l3.5 3.5",bell:"M4 11V7a4 4 0 0 1 8 0v4l1.5 1.5h-11L4 11zM6.5 14h3",gear:"M8 10.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM8 1v2M8 13v2M1 8h2M13 8h2M3 3l1.4 1.4M11.6 11.6 13 13M3 13l1.4-1.4M11.6 4.4 13 3",help:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zM6 6a2 2 0 1 1 2.5 2c-.4.1-.5.4-.5.8V10M8 12v.01",plus:"M8 2v12M2 8h12",check:"M3 8.5 6.5 12 13 4.5",x:"M4 4l8 8M12 4l-8 8",refund:"M4 6h6.5a3 3 0 0 1 0 6H6M6.5 3.5 4 6l2.5 2.5",clock:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zM8 4v4l2.5 1.5",chevronDown:"M4 6l4 4 4-4",chevronRight:"M6 4l4 4-4 4",dispute:"M8 1.5 15 14H1L8 1.5zM8 6v3.5M8 11.5v.01",arrowRight:"M2 8h11M9 4l4 4-4 4",card:"M1.5 3.5h13v9h-13zM1.5 6.5h13",download:"M8 2v8M4.5 6.5 8 10l3.5-3.5M2.5 13.5h11",person:"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2.5 14.5c.6-2.8 2.8-4.5 5.5-4.5s4.9 1.7 5.5 4.5"};function t2({name:B,size:q=16,className:R}){return Q.jsxDEV("svg",{className:`icon ${R??""}`,width:q,height:q,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:Q.jsxDEV("path",{d:xO[B]??""},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function DO({brand:B}){let q=String(B??"").toLowerCase();if(q==="mastercard")return Q.jsxDEV("span",{className:"brand brand-mastercard",title:"Mastercard",children:Q.jsxDEV("svg",{width:"20",height:"12",viewBox:"0 0 20 12","aria-hidden":"true",children:[Q.jsxDEV("circle",{cx:"7",cy:"6",r:"5",fill:"#EB001B"},void 0,!1,void 0,this),Q.jsxDEV("circle",{cx:"13",cy:"6",r:"5",fill:"#F79E1B",fillOpacity:"0.9"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this);if(q==="amex")return Q.jsxDEV("span",{className:"brand brand-amex",title:"American Express",children:"AMEX"},void 0,!1,void 0,this);if(q==="visa")return Q.jsxDEV("span",{className:"brand brand-visa",title:"Visa",children:"VISA"},void 0,!1,void 0,this);return Q.jsxDEV("span",{className:"brand brand-generic",title:B??"Card",children:Q.jsxDEV(t2,{name:"card",size:12},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function pZ({pm:B}){let q=B?.card;if(!q)return Q.jsxDEV("span",{className:"muted",children:B?tY(B):"—"},void 0,!1,void 0,this);return Q.jsxDEV("span",{className:"card-label",children:[Q.jsxDEV(DO,{brand:q.brand},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"dots",children:"••••"},void 0,!1,void 0,this)," ",q.last4]},void 0,!0,void 0,this)}var qG={succeeded:{label:"Succeeded",tone:"green",icon:"check"},refunded:{label:"Refunded",tone:"grey",icon:"refund"},partially_refunded:{label:"Partial refund",tone:"grey",icon:"refund"},failed:{label:"Failed",tone:"red",icon:"x"},incomplete:{label:"Incomplete",tone:"grey",icon:"clock"},uncaptured:{label:"Uncaptured",tone:"blue",icon:"clock"},canceled:{label:"Canceled",tone:"grey",icon:"x"},disputed:{label:"Disputed",tone:"orange",icon:"dispute"},processing:{label:"Pending",tone:"grey",icon:"clock"},active:{label:"Active",tone:"green"},trialing:{label:"Trialing",tone:"blue"},past_due:{label:"Past due",tone:"red"},unpaid:{label:"Unpaid",tone:"red"},incomplete_expired:{label:"Expired",tone:"grey"},paused:{label:"Paused",tone:"grey"},paid:{label:"Paid",tone:"green"},open:{label:"Open",tone:"blue"},draft:{label:"Draft",tone:"grey"},void:{label:"Void",tone:"grey"},uncollectible:{label:"Uncollectible",tone:"red"},pending:{label:"Pending",tone:"grey"},enabled:{label:"Enabled",tone:"green"},disabled:{label:"Disabled",tone:"grey"},true:{label:"Active",tone:"green"},false:{label:"Archived",tone:"grey"}};function J6({value:B,suffix:q}){let R=String(B??""),K=qG[R]??{label:P4(R||"—"),tone:"grey"};return Q.jsxDEV("span",{className:`pill pill-${K.tone}`,"data-status":R,children:[K.label,q??"",K.icon?Q.jsxDEV(t2,{name:K.icon,size:12},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function EO({error:B}){let q=JM(B);if(!q)return null;let R=typeof B?.message==="string"?B.message:q;return Q.jsxDEV("div",{className:"pay-error",role:"alert",children:[Q.jsxDEV(t2,{name:"dispute"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:[Q.jsxDEV("div",{className:"pay-error-label",children:"Payment error"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"pay-error-text",children:[R," ",Q.jsxDEV("span",{className:"mono muted",children:q.split(":")[0]},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function hO({row:B}){let q=QM(B);if(q.length===0)return null;let R=(K)=>K==="pending"?"Incoming":"Available";return Q.jsxDEV("div",{className:"balance-summary",children:[...q].reverse().map((K)=>Q.jsxDEV("div",{className:`balance-bucket ${K.bucket}`,children:[Q.jsxDEV("span",{className:"balance-bucket-label",children:R(K.bucket)},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"balance-bucket-amount",children:K.text},void 0,!1,void 0,this)]},K.bucket,!0,void 0,this))},void 0,!1,void 0,this)}function mO({row:B}){let q=UM(B),R=BM(B);if(q.length===0)return null;return Q.jsxDEV("div",{className:"connect-panel",children:[Q.jsxDEV("div",{className:"connect-flags",children:q.map((K)=>Q.jsxDEV("div",{className:`connect-flag ${K.enabled?"ok":"warn"}`,children:[Q.jsxDEV("span",{className:"connect-flag-label",children:K.label},void 0,!1,void 0,this),Q.jsxDEV(J6,{value:K.enabled?"enabled":"disabled"},void 0,!1,void 0,this)]},K.key,!0,void 0,this))},void 0,!1,void 0,this),R.length>0&&Q.jsxDEV("div",{className:"connect-requirements",role:"status",children:[Q.jsxDEV("span",{className:"connect-req-label",children:"Requirements currently due"},void 0,!1,void 0,this),Q.jsxDEV("ul",{className:"connect-req-list",children:R.map((K)=>Q.jsxDEV("li",{className:"connect-req-item mono",children:K},K,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var uO=(B)=>_2(B.created),Yz=[{key:"customers",label:"Customers",path:"customers",title:(B)=>B.name||B.email||B.id,subtitle:(B)=>B.email||B.id},{key:"payment_intents",label:"Payments",path:"payments",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>B.description||B.id},{key:"subscriptions",label:"Subscriptions",path:"subscriptions",title:(B)=>B.id,subtitle:(B)=>B.customer??""},{key:"invoices",label:"Invoices",path:"invoices",title:(B)=>I4(B.total??B.amount_due,B.currency),subtitle:(B)=>B.number||B.id},{key:"products",label:"Products",path:"products",title:(B)=>B.name||B.id,subtitle:(B)=>B.description||B.id},{key:"prices",label:"Prices",path:"prices",title:(B)=>`${I4(B.unit_amount,B.currency)}${rY(B.recurring)?` ${rY(B.recurring)}`:""}`,subtitle:(B)=>B.product??B.id},{key:"charges",label:"Charges",path:"charges",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>B.description||B.id},{key:"refunds",label:"Refunds",path:"refunds",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>B.charge??B.id},{key:"payment_methods",label:"Payment Methods",path:"payment-methods",title:(B)=>tY(B),subtitle:(B)=>B.customer??B.id},{key:"setup_intents",label:"Setup Intents",path:"setup-intents",title:(B)=>B.id,subtitle:(B)=>B.usage??""},{key:"invoiceitems",label:"Invoice Items",path:"invoice-items",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>B.description||B.customer||B.id},{key:"credit_notes",label:"Credit Notes",path:"credit-notes",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>B.invoice??B.id},{key:"tax_ids",label:"Tax IDs",path:"tax-ids",title:(B)=>`${B.value??B.id}`,subtitle:(B)=>`${B.type??""}`},{key:"balance",label:"Balance",path:"balance",title:(B)=>B.id,subtitle:()=>""},{key:"disputes",label:"Disputes",path:"disputes",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>`${P4(String(B.reason??""))} · ${B.charge??""}`,page:!0,columns:["Amount","Reason"]},{key:"payouts",label:"Payouts",path:"payouts",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>`Arrives ${_2(B.arrival_date,!1)}`,page:!0,columns:["Amount","Arrival"]},{key:"balance_transactions",label:"Balance Transactions",path:"balance-transactions",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>`${P4(String(B.type??""))} · ${B.source??B.id}`,page:!0,columns:["Amount","Type"]},{key:"payment_links",label:"Payment Links",path:"payment-links",title:(B)=>B.url||B.id,subtitle:(B)=>B.active?"Active":"Inactive",page:!0},{key:"coupons",label:"Coupons",path:"coupons",title:(B)=>B.name||(B.percent_off!=null?`${B.percent_off}% off`:`${I4(B.amount_off,B.currency)} off`),subtitle:(B)=>P4(String(B.duration??"")),page:!0,columns:["Coupon","Duration"]},{key:"promotion_codes",label:"Promotion Codes",path:"promotion-codes",title:(B)=>B.code||B.id,subtitle:(B)=>(typeof B.coupon==="object"?B.coupon?.id:B.coupon)??"",page:!0},{key:"quotes",label:"Quotes",path:"quotes",title:(B)=>I4(B.amount_total,B.currency),subtitle:(B)=>B.customer??B.id,page:!0,columns:["Amount","Customer"]},{key:"accounts",label:"Connected Accounts",path:"connect/accounts",title:(B)=>B.business_profile?.name||B.email||B.id,subtitle:(B)=>`${P4(String(B.type??"account"))} · ${B.country??""}`,page:!0},{key:"transfers",label:"Transfers",path:"connect/transfers",title:(B)=>I4(B.amount,B.currency),subtitle:(B)=>`To ${B.destination??"—"}`,page:!0,columns:["Amount","Destination"]},{key:"tax_rates",label:"Tax Rates",path:"tax/rates",title:(B)=>`${B.display_name??"Tax"} · ${B.percentage??0}%`,subtitle:(B)=>`${B.inclusive?"Inclusive":"Exclusive"} · ${B.jurisdiction??""}`,page:!0,columns:["Tax rate","Type"]},{key:"reviews",label:"Radar Reviews",path:"radar/reviews",title:(B)=>B.charge||B.payment_intent||B.id,subtitle:(B)=>B.open?"Open":P4(String(B.closed_reason??"closed")),page:!0},{key:"radar/value_lists",label:"Radar Value Lists",path:"radar/lists",title:(B)=>B.name||B.alias||B.id,subtitle:(B)=>`${B.item_type??""} · ${B.alias??""}`,page:!0},{key:"terminal/readers",label:"Terminal Readers",path:"terminal/readers",title:(B)=>B.label||B.id,subtitle:(B)=>`${P4(String(B.device_type??""))} · ${B.status??""}`,page:!0},{key:"terminal/locations",label:"Terminal Locations",path:"terminal/locations",title:(B)=>B.display_name||B.id,subtitle:(B)=>B.address?.city??"",page:!0},{key:"issuing/cards",label:"Issuing Cards",path:"issuing/cards",title:(B)=>`•••• ${B.last4??""}`,subtitle:(B)=>`${P4(String(B.type??""))} · ${typeof B.cardholder==="object"?B.cardholder?.name??"":B.cardholder??""}`,page:!0},{key:"issuing/cardholders",label:"Issuing Cardholders",path:"issuing/cardholders",title:(B)=>B.name||B.id,subtitle:(B)=>B.email||P4(String(B.type??"")),page:!0},{key:"reporting/report_runs",label:"Reports",path:"reports",title:(B)=>B.report_type||B.id,subtitle:(B)=>P4(String(B.status??"")),page:!0},{key:"events",label:"Events",path:"events",title:(B)=>B.type||B.id,subtitle:(B)=>B.data?.object?.id??B.id,page:!0,columns:["Event","Object"]},{key:"webhook_endpoints",label:"Webhook Endpoints",path:"webhooks",title:(B)=>B.url||B.id,subtitle:(B)=>`${(B.enabled_events??[]).length} events`,page:!0}],MG=new Map(Yz.filter((B)=>B.page).map((B)=>[B.path,B])),TM=(B)=>B.status!==void 0?B.status:B.active!==void 0?String(B.active):void 0;function zz({section:B,rows:q,query:R,currentId:K,onSelect:F}){return Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:B.columns?.[0]??B.label.replace(/^(Radar|Terminal|Issuing|Tax) /,"")},void 0,!1,void 0,this),Q.jsxDEV("th",{children:B.columns?.[1]??"Details"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Status"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"ID"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Created"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[q.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:5,children:Q.jsxDEV(m6,{title:R?"No results":`No ${B.label.toLowerCase()}`},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),q.map((O,A)=>Q.jsxDEV("tr",{className:`list-row ${K===O.id?"current":""}`,onClick:()=>F(O.id),children:[Q.jsxDEV("td",{className:"strong",children:B.title(O)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"muted",children:B.subtitle(O)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:TM(O)!==void 0?Q.jsxDEV(J6,{value:TM(O)},void 0,!1,void 0,this):null},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted",children:O.id},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:uO(O)},void 0,!1,void 0,this)]},O.id??A,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function dO(B,q,R=12){let K=q.trim().toLowerCase();if(!K)return[];let F=[],O=(A,L,V,x,f,C)=>{for(let k of A??[]){if(F.length>=R)return;if(C(k).some((h)=>String(h??"").toLowerCase().includes(K)))F.push({to:`${V}/${k.id}`,kind:L,label:x(k),sub:f(k)})}};return O(B.customers,"Customers","customers",(A)=>A.name||A.email||A.id,(A)=>A.email||A.id,(A)=>[A.id,A.name,A.email,A.description]),O(B.payment_intents,"Payments","payments",(A)=>`${I4(A.amount,A.currency)} ${c4(A.currency)}`,(A)=>A.description||A.id,(A)=>[A.id,A.description,A.latest_charge,(Number(A.amount)/100).toFixed(2)]),O(B.subscriptions,"Subscriptions","subscriptions",(A)=>A.id,(A)=>P4(String(A.status??"")),(A)=>[A.id]),O(B.invoices,"Invoices","invoices",(A)=>A.number||A.id,(A)=>`${I4(A.total,A.currency)} · ${P4(String(A.status??""))}`,(A)=>[A.id,A.number,A.customer_email]),O(B.products,"Products","products",(A)=>A.name||A.id,(A)=>A.description||A.id,(A)=>[A.id,A.name,A.description]),F}function lO({go:B}){let[q,R]=Q2.useState(""),[K,F]=Q2.useState(!1),[O,A]=Q2.useState({}),L=Q2.useRef(null),V=Q2.useCallback(async()=>{let C=["customers","payment_intents","subscriptions","invoices","products"],k=await Promise.all(C.map((h)=>S2(`/v1/${h}${h==="subscriptions"?"?status=all":""}`).catch(()=>[])));A(Object.fromEntries(C.map((h,k2)=>[h,k[k2]])))},[]);Q2.useEffect(()=>{let C=(k)=>{if(!k.target?.closest?.("input,textarea,select")&&(k.key==="/"||(k.metaKey||k.ctrlKey)&&k.key.toLowerCase()==="k"))k.preventDefault(),L.current?.focus();if(k.key==="Escape")F(!1),L.current?.blur()};return window.addEventListener("keydown",C),()=>window.removeEventListener("keydown",C)},[]);let x=Q2.useMemo(()=>dO(O,q),[O,q]),f=(C)=>{B(C.to),F(!1),R(""),L.current?.blur()};return Q.jsxDEV("div",{className:"search",children:[Q.jsxDEV(t2,{name:"search",className:"search-icon"},void 0,!1,void 0,this),Q.jsxDEV("input",{ref:L,className:"search-input cmdk-input",placeholder:"Search",value:q,onFocus:()=>{F(!0),V()},onBlur:()=>window.setTimeout(()=>F(!1),150),onChange:(C)=>{R(C.target.value),F(!0)},onKeyDown:(C)=>{if(C.key==="Enter"&&x[0])f(x[0])}},void 0,!1,void 0,this),K&&q?Q.jsxDEV("div",{className:"cmdk",role:"listbox","aria-label":"Search results",children:[x.length===0&&Q.jsxDEV("div",{className:"cmdk-empty",children:["No results for “",q,"”"]},void 0,!0,void 0,this),x.map((C,k)=>Q.jsxDEV(Q2.default.Fragment,{children:[k===0||x[k-1].kind!==C.kind?Q.jsxDEV("div",{className:"cmdk-group",children:C.kind},void 0,!1,void 0,this):null,Q.jsxDEV("button",{className:"cmdk-hit",role:"option",onMouseDown:(h)=>h.preventDefault(),onClick:()=>f(C),children:[Q.jsxDEV("span",{className:"cmdk-hit-label",children:C.label},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"cmdk-hit-sub",children:C.sub},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},C.to,!0,void 0,this))]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}var pO=[{to:"dashboard",label:"Home",icon:"home"},{to:"balance/overview",label:"Balances",icon:"balance",match:["balance","payouts","balance-transactions"]},{to:"payments",label:"Transactions",icon:"transactions",match:["payments","disputes"]},{to:"customers",label:"Customers",icon:"customers"},{to:"products",label:"Product catalog",icon:"catalog",match:["products","coupons","promotion-codes"]}],cO=[{label:"Connect",icon:"connect",items:[{to:"connect/accounts",label:"Connected accounts"},{to:"connect/transfers",label:"Transfers"}]},{label:"Payments",icon:"payments",items:[{to:"disputes",label:"Disputes"},{to:"radar/reviews",label:"Radar"},{to:"payment-links",label:"Payment Links"},{to:"terminal/readers",label:"Terminal"}]},{label:"Billing",icon:"billing",items:[{to:"subscriptions",label:"Subscriptions"},{to:"invoices",label:"Invoices"},{to:"quotes",label:"Quotes"}]},{label:"Reporting",icon:"reporting",items:[{to:"reports",label:"Reports"}]},{label:"More",icon:"more",items:[{to:"tax/rates",label:"Tax"},{to:"issuing/cards",label:"Issuing"}]}],IM=(B,q)=>{let R=B.join("/");return[q.to,...q.match??[]].some((K)=>R===K||R.startsWith(`${K}/`)||B[0]===K)};function sO({route:B,go:q}){let[R,K]=Q2.useState({Billing:!0}),F=(O,A=!1)=>Q.jsxDEV("a",{href:dZ(O.to),className:`nav-item ${A?"nav-sub":""} ${IM(B,O)?"active":""}`,onClick:(L)=>{L.preventDefault(),q(O.to)},children:[O.icon?Q.jsxDEV(t2,{name:O.icon},void 0,!1,void 0,this):null,Q.jsxDEV("span",{children:O.label},void 0,!1,void 0,this)]},O.to,!0,void 0,this);return Q.jsxDEV("nav",{className:"side","aria-label":"Main",children:[Q.jsxDEV("button",{className:"account-switcher",onClick:()=>q("settings"),children:[Q.jsxDEV("span",{className:"account-mark",children:"T"},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"account-name",children:"Twin Inc."},void 0,!1,void 0,this),Q.jsxDEV(t2,{name:"chevronDown",size:12},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"nav-group",children:pO.map((O)=>F(O))},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"nav-heading",children:"Products"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"nav-group",children:cO.map((O)=>{let A=R[O.label]||O.items.some((L)=>IM(B,L));return Q.jsxDEV("div",{className:"nav-folder",children:[Q.jsxDEV("button",{className:`nav-item ${A?"expanded":""}`,"aria-expanded":A,onClick:()=>K((L)=>({...L,[O.label]:!A})),children:[Q.jsxDEV(t2,{name:O.icon},void 0,!1,void 0,this),Q.jsxDEV("span",{children:O.label},void 0,!1,void 0,this),Q.jsxDEV(t2,{name:A?"chevronDown":"chevronRight",size:12,className:"nav-caret"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),A?O.items.map((L)=>F(L,!0)):null]},O.label,!0,void 0,this)})},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"nav-foot",children:F({to:"developers",label:"Developers",icon:"developers",match:["developers","events","webhooks"]})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function aO({go:B}){return Q.jsxDEV("header",{className:"topbar",children:[Q.jsxDEV(lO,{go:B},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"topbar-actions",children:[Q.jsxDEV("button",{className:"icon-btn",title:"Help","aria-label":"Help",children:Q.jsxDEV(t2,{name:"help"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"icon-btn",title:"Notifications","aria-label":"Notifications",children:Q.jsxDEV(t2,{name:"bell"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"icon-btn",title:"Settings","aria-label":"Settings",onClick:()=>B("settings"),children:Q.jsxDEV(t2,{name:"gear"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"icon-btn create",title:"Create","aria-label":"Create",onClick:()=>B("customers?create=1"),children:Q.jsxDEV(t2,{name:"plus"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function iO(){return Q.jsxDEV("div",{className:"test-band",role:"note",children:[Q.jsxDEV("span",{className:"test-band-tag",children:"Test mode"},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"test-band-text",children:"You’re using test data. Changes you make here don’t affect your live account."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function U5(B,q){let[R,K]=Q2.useState({}),[F,O]=Q2.useState(0);return Q2.useEffect(()=>{let A=!0,L=()=>B().then((x)=>{if(A)K({data:x})},(x)=>{if(A)K((f)=>({...f,error:String(x?.message??x)}))});L();let V=window.setInterval(L,4000);return()=>{A=!1,window.clearInterval(V)}},[...q,F]),{...R,reload:()=>O((A)=>A+1)}}function m6({title:B,body:q}){return Q.jsxDEV("div",{className:"empty",children:[Q.jsxDEV("div",{className:"empty-title",children:B},void 0,!1,void 0,this),q?Q.jsxDEV("div",{className:"empty-body",children:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function B5({error:B}){return B?Q.jsxDEV("div",{className:"page-error",role:"alert",children:B},void 0,!1,void 0,this):Q.jsxDEV("div",{className:"loading",children:"Loading…"},void 0,!1,void 0,this)}function H5({title:B,actions:q,kicker:R,children:K}){return Q.jsxDEV("div",{className:"page-head",children:[R?Q.jsxDEV("div",{className:"kicker",children:R},void 0,!1,void 0,this):null,Q.jsxDEV("div",{className:"page-head-row",children:[Q.jsxDEV("h1",{children:B},void 0,!1,void 0,this),q?Q.jsxDEV("div",{className:"page-actions",children:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),K]},void 0,!0,void 0,this)}function KG({options:B,value:q,onChange:R}){return Q.jsxDEV("div",{className:"filter-cards",role:"tablist",children:B.map((K)=>Q.jsxDEV("button",{role:"tab","aria-selected":q===K.key,className:`filter-card ${q===K.key?"selected":""}`,onClick:()=>R(K.key),children:[Q.jsxDEV("span",{className:"filter-card-label",children:K.label},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"filter-card-count",children:K.count},void 0,!1,void 0,this)]},K.key,!0,void 0,this))},void 0,!1,void 0,this)}function uZ({label:B,value:q,options:R,onChange:K}){let[F,O]=Q2.useState(!1),A=R.find((L)=>L.key===q);return Q.jsxDEV("div",{className:"chip-wrap",children:[Q.jsxDEV("button",{className:`chip ${A?"chip-set":""}`,"aria-expanded":F,onClick:()=>O((L)=>!L),children:[Q.jsxDEV("span",{className:"chip-plus",onClick:(L)=>{if(A)L.stopPropagation(),K(void 0),O(!1)},children:Q.jsxDEV(t2,{name:A?"x":"plus",size:10},void 0,!1,void 0,this)},void 0,!1,void 0,this),B,A?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("span",{className:"chip-sep",children:"|"},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"chip-value",children:A.label},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),F?Q.jsxDEV("div",{className:"popover",role:"menu","aria-label":`Filter by ${B}`,children:[Q.jsxDEV("div",{className:"popover-title",children:["Filter by ",B.toLowerCase()]},void 0,!0,void 0,this),R.map((L)=>Q.jsxDEV("button",{role:"menuitemradio","aria-checked":L.key===q,className:`popover-item ${L.key===q?"checked":""}`,onClick:()=>{K(L.key),O(!1)},children:[Q.jsxDEV("span",{className:"popover-radio"},void 0,!1,void 0,this),L.label]},L.key,!0,void 0,this))]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}function vM(B,q,R){let K=(A)=>`"${String(A).replace(/"/g,'""')}"`,F=[q,...R].map((A)=>A.map(K).join(",")).join(`
236
+ `),O=document.createElement("a");O.href=URL.createObjectURL(new Blob([F],{type:"text/csv"})),O.download=`${B}.csv`,O.click(),URL.revokeObjectURL(O.href)}function JX({n:B}){return Q.jsxDEV("div",{className:"table-foot",children:[Q.jsxDEV("span",{children:[B," ",B===1?"result":"results"]},void 0,!0,void 0,this),Q.jsxDEV("span",{className:"pager",children:[Q.jsxDEV("button",{className:"btn",disabled:!0,children:"Previous"},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"btn",disabled:!0,children:"Next"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Y4({title:B,actions:q,children:R,className:K}){return Q.jsxDEV("section",{className:`section ${K??""}`,children:[Q.jsxDEV("div",{className:"section-head",children:[Q.jsxDEV("h2",{children:B},void 0,!1,void 0,this),q]},void 0,!0,void 0,this),R]},void 0,!0,void 0,this)}function h6({rows:B}){return Q.jsxDEV("dl",{className:"props",children:B.map(([q,R])=>Q.jsxDEV("div",{className:"prop",children:[Q.jsxDEV("dt",{children:q},void 0,!1,void 0,this),Q.jsxDEV("dd",{children:R??"—"},void 0,!1,void 0,this)]},q,!0,void 0,this))},void 0,!1,void 0,this)}function lZ({amount:B,currency:q}){return Q.jsxDEV("span",{className:"amount",children:[Q.jsxDEV("span",{className:"amount-value",children:y2(B,q)},void 0,!1,void 0,this)," ",Q.jsxDEV("span",{className:"amount-ccy",children:c4(q)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function y4({to:B,go:q,children:R,className:K}){return Q.jsxDEV("a",{href:dZ(B),className:`link ${K??""}`,onClick:(F)=>{F.preventDefault(),F.stopPropagation(),q(B)},children:R},void 0,!1,void 0,this)}function nO(B){let q=B.payments.filter((L)=>["succeeded","refunded","partially_refunded","disputed"].includes(L.status)),R=q[0]?.currency??"usd",K=q.reduce((L,V)=>L+V.amount,0),F=q.reduce((L,V)=>L+V.amountRefunded,0),O=B.balance?(B.balance.available??[]).find((L)=>L.currency===R)?.amount??0:0,A=B.balance?(B.balance.pending??[]).find((L)=>L.currency===R)?.amount??0:0;return{currency:R,grossVolume:K,netVolume:K-F,available:Number(O)||0,pending:Number(A)||0,succeededPayments:B.payments.filter((L)=>L.status==="succeeded").length,failedPayments:B.payments.filter((L)=>L.status==="failed").length,customers:B.customers.length,activeSubscriptions:B.subscriptions.filter((L)=>L.status==="active"||L.status==="trialing").length,openInvoices:B.invoices.filter((L)=>L.status==="open").length}}function oO({points:B,of:q=B.length}){let F=Math.max(1,...B),O=B.map((A,L)=>`${L/Math.max(1,q-1)*280},${60-A/F*52}`);return Q.jsxDEV("svg",{className:"spark",viewBox:"0 0 280 64",preserveAspectRatio:"none","aria-hidden":"true",children:[Q.jsxDEV("polyline",{points:O.join(" "),fill:"none",stroke:"#635BFF",strokeWidth:"2",vectorEffect:"non-scaling-stroke"},void 0,!1,void 0,this),Q.jsxDEV("line",{x1:"0",x2:280,y1:63,y2:63,stroke:"#EBEEF1"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function rO(B){let q=Array(24).fill(0);for(let R of B)if(R.status!=="failed"&&R.status!=="incomplete")q[new Date(R.created*1000).getHours()]+=R.amount;for(let R=1;R<24;R++)q[R]+=q[R-1];return q.slice(0,new Date().getHours()+1)}function tO({go:B}){let{data:q,error:R}=U5(LM,[]);if(!q)return Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this);let K=nO(q),F=rO(q.payments),O=[{key:"gross",label:"Gross volume",value:y2(K.grossVolume,K.currency)},{key:"net",label:"Net volume",value:y2(K.netVolume,K.currency)},{key:"payments",label:"Successful payments",value:String(K.succeededPayments)},{key:"failed",label:"Failed payments",value:String(K.failedPayments)},{key:"customers",label:"New customers",value:String(K.customers)},{key:"subs",label:"Active subscribers",value:String(K.activeSubscriptions)}];return Q.jsxDEV("div",{className:"home-screen",children:[Q.jsxDEV(H5,{title:"Today"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"today",children:[Q.jsxDEV("div",{className:"today-chart",children:[Q.jsxDEV("div",{className:"today-label",children:["Gross volume ",Q.jsxDEV(t2,{name:"chevronDown",size:12},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"today-value",children:y2(K.grossVolume,K.currency)},void 0,!1,void 0,this),Q.jsxDEV(oO,{points:F,of:24},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"today-axis",children:[Q.jsxDEV("span",{children:"12:00 AM"},void 0,!1,void 0,this),Q.jsxDEV("span",{children:"11:59 PM"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"today-side",children:[Q.jsxDEV("div",{className:"today-side-block",children:[Q.jsxDEV("div",{className:"today-label",children:[c4(K.currency)," balance"]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"today-side-value",children:y2(K.available+K.pending,K.currency)},void 0,!1,void 0,this),Q.jsxDEV(y4,{to:"balance/overview",go:B,children:"View"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"today-side-block",children:[Q.jsxDEV("div",{className:"today-label",children:"Payouts"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"today-side-value",children:y2(0,K.currency)},void 0,!1,void 0,this),Q.jsxDEV(y4,{to:"payouts",go:B,children:"View"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("h2",{className:"overview-title",children:"Your overview"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"home-metrics",children:O.map((A)=>Q.jsxDEV("div",{className:"metric-card","data-metric":A.key,children:[Q.jsxDEV("span",{className:"metric-label",children:A.label},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"metric-value",children:A.value},void 0,!1,void 0,this)]},A.key,!0,void 0,this))},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Recent payments",actions:Q.jsxDEV(y4,{to:"payments",go:B,children:"View all"},void 0,!1,void 0,this),children:Q.jsxDEV(Jz,{payments:q.payments.slice(0,5),go:B,compact:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var PM=(B,q)=>q==="all"||(q==="refunded"?B.status==="refunded"||B.status==="partially_refunded":B.status===q);function Jz({payments:B,go:q,compact:R,noCustomer:K}){let F=(R?6:8)-(K?1:0);return Q.jsxDEV("table",{className:"table payments-table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Amount"},void 0,!1,void 0,this),Q.jsxDEV("th",{},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Payment method"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Description"},void 0,!1,void 0,this),K?null:Q.jsxDEV("th",{children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Date"},void 0,!1,void 0,this),R?null:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("th",{children:"Refunded date"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Decline reason"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[B.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:F,children:Q.jsxDEV(m6,{title:"No payments",body:R?void 0:"Payments you create through the API show up here."},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.map((O)=>Q.jsxDEV("tr",{className:"list-row",onClick:()=>q(`payments/${O.id}`),children:[Q.jsxDEV("td",{className:"nowrap",children:Q.jsxDEV(lZ,{amount:O.amount,currency:O.currency},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(J6,{value:O.status},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"nowrap",children:Q.jsxDEV(pZ,{pm:O.paymentMethod},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"truncate",children:O.description??Q.jsxDEV("span",{className:"muted",children:O.id},void 0,!1,void 0,this)},void 0,!1,void 0,this),K?null:Q.jsxDEV("td",{className:"truncate",children:O.customer?O.customer.email||O.customer.name||O.customer.id:Q.jsxDEV("span",{className:"muted",children:"—"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"nowrap muted",children:_2(O.created)},void 0,!1,void 0,this),R?null:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("td",{className:"nowrap muted",children:O.refundedAt?_2(O.refundedAt):"—"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"nowrap muted",children:O.declineReason??"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},O.id,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var kM=86400,gM=[{key:"today",label:"Today"},{key:"7d",label:"Last 7 days"},{key:"4w",label:"Last 4 weeks"},{key:"12m",label:"Last 12 months"}];function bM(B,q){if(!q)return!0;let R=Date.now()/1000;if(q==="today"){let K=new Date;return K.setHours(0,0,0,0),B>=K.getTime()/1000}return B>=R-({"7d":7,"4w":28,"12m":365}[q]??0)*kM}function eO({go:B}){let{data:q,error:R}=U5(WG,[]),[K,F]=Q2.useState("all"),[O,A]=Q2.useState({}),L=q??[],V=L.filter((k)=>bM(k.created,O.date)&&(!O.currency||k.currency===O.currency)&&(!O.status||k.status===O.status)&&(!O.method||(k.paymentMethod?.card?.brand??k.paymentMethod?.type)===O.method)),x=(k)=>V.filter((h)=>PM(h,k)).length,f=V.filter((k)=>PM(k,K)),C=(k)=>[...new Set(k.filter((h)=>Boolean(h)))];return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Transactions",children:Q.jsxDEV("div",{className:"tabs",children:[Q.jsxDEV(y4,{to:"payments",go:B,className:"tab active",children:"Payments"},void 0,!1,void 0,this),Q.jsxDEV(y4,{to:"disputes",go:B,className:"tab",children:"Disputes"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(KG,{value:K,onChange:F,options:[{key:"all",label:"All",count:V.length},{key:"succeeded",label:"Succeeded",count:x("succeeded")},{key:"refunded",label:"Refunded",count:x("refunded")},{key:"disputed",label:"Disputed",count:x("disputed")},{key:"failed",label:"Failed",count:x("failed")},{key:"uncaptured",label:"Uncaptured",count:x("uncaptured")}]},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"toolbar",children:[Q.jsxDEV(uZ,{label:"Date and time",value:O.date,options:gM,onChange:(k)=>A((h)=>({...h,date:k}))},void 0,!1,void 0,this),Q.jsxDEV(uZ,{label:"Currency",value:O.currency,options:C(L.map((k)=>k.currency)).map((k)=>({key:k,label:c4(k)})),onChange:(k)=>A((h)=>({...h,currency:k}))},void 0,!1,void 0,this),Q.jsxDEV(uZ,{label:"Status",value:O.status,options:C(L.map((k)=>k.status)).map((k)=>({key:k,label:qG[k]?.label??k})),onChange:(k)=>A((h)=>({...h,status:k}))},void 0,!1,void 0,this),Q.jsxDEV(uZ,{label:"Payment method",value:O.method,options:C(L.map((k)=>k.paymentMethod?.card?.brand??k.paymentMethod?.type)).map((k)=>({key:k,label:k==="amex"?"American Express":P4(k)})),onChange:(k)=>A((h)=>({...h,method:k}))},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"toolbar-right",children:Q.jsxDEV("button",{className:"btn",onClick:()=>vM("payments",["id","Amount","Currency","Status","Description","Customer Email","Created"],f.map((k)=>[k.id,(k.amount/100).toFixed(2),k.currency,k.status,k.description??"",k.customer?.email??"",new Date(k.created*1000).toISOString()])),children:[Q.jsxDEV(t2,{name:"download",size:14},void 0,!1,void 0,this)," Export"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(Jz,{payments:f,go:B},void 0,!1,void 0,this),Q.jsxDEV(JX,{n:f.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var X_={"payment_intent.created":"Payment started","payment_intent.succeeded":"Payment succeeded","payment_intent.payment_failed":"Payment failed","payment_intent.canceled":"Payment canceled","payment_intent.amount_capturable_updated":"Payment authorized","payment_intent.requires_action":"Payment requires authentication","charge.succeeded":"Payment succeeded","charge.failed":"Payment failed","charge.captured":"Payment captured","charge.dispute.created":"Payment disputed","refund.created":"Refund initiated","refund.updated":"Refund updated","customer.created":"Customer created","customer.updated":"Customer updated","customer.subscription.created":"Subscription created","customer.subscription.updated":"Subscription updated","customer.subscription.deleted":"Subscription canceled","invoice.created":"Invoice created","invoice.finalized":"Invoice finalized","invoice.paid":"Invoice paid","invoice.payment_failed":"Invoice payment failed"};function yM(B){let q=B.data?.object??{};if(B.type==="charge.refunded")return`${y2(q.amount_refunded,q.currency)} ${c4(q.currency)} refunded`;if(B.type==="refund.created")return`Refund of ${y2(q.amount,q.currency)} ${c4(q.currency)} initiated`;if(B.type==="payment_intent.payment_failed")return`Payment failed${q.last_payment_error?.message?`: ${q.last_payment_error.message}`:""}`;return X_[B.type]??B.type}var Z_=(B)=>/failed|dispute/.test(B)?"red":/succeeded|paid|captured/.test(B)?"green":/refund/.test(B)?"grey":"blue";function Qz({events:B}){if(B.length===0)return Q.jsxDEV(m6,{title:"No events"},void 0,!1,void 0,this);return Q.jsxDEV("ol",{className:"timeline",children:B.map((q)=>Q.jsxDEV("li",{className:"timeline-item",children:[Q.jsxDEV("span",{className:`timeline-dot dot-${Z_(q.type)}`},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"timeline-body",children:[Q.jsxDEV("div",{className:"timeline-text",children:yM(q)},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"timeline-time",children:_2(q.created)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},q.id,!0,void 0,this))},void 0,!1,void 0,this)}function G_({id:B,go:q}){let{data:R,error:K,reload:F}=U5(()=>WM(B),[B]),[O,A]=Q2.useState(!1);if(!R)return Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this);return Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV($_,{p:R,go:q,onRefund:()=>A(!0)},void 0,!1,void 0,this),O?Q.jsxDEV(J_,{payment:R,onClose:()=>A(!1),onDone:()=>{A(!1),F()}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function $_({p:B,go:q,onRefund:R}){let K=Boolean(B.charge)&&(B.status==="succeeded"||B.status==="partially_refunded")&&B.amount-B.amountRefunded>0,F=B.paymentMethod?.card,O=B.amount-B.amountRefunded;return Q.jsxDEV("div",{className:"page detail-page",children:[Q.jsxDEV(H5,{kicker:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(t2,{name:"payments",size:12},void 0,!1,void 0,this)," Payment"]},void 0,!0,void 0,this),title:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(lZ,{amount:B.amount,currency:B.currency},void 0,!1,void 0,this)," ",Q.jsxDEV(J6,{value:B.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),actions:K?Q.jsxDEV("button",{className:"btn",onClick:R,children:[Q.jsxDEV(t2,{name:"refund",size:14},void 0,!1,void 0,this)," Refund"]},void 0,!0,void 0,this):null,children:Q.jsxDEV("div",{className:"summary",children:[Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Last update"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:_2(B.events[0]?.created??B.created)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:B.customer?Q.jsxDEV(y4,{to:`customers/${B.customer.id}`,go:q,children:B.customer.email||$z(B.customer)},void 0,!1,void 0,this):"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Payment method"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:Q.jsxDEV(pZ,{pm:B.paymentMethod},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.declineReason?Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Decline reason"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:B.declineReason},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.intent?.last_payment_error?Q.jsxDEV(EO,{error:B.intent.last_payment_error},void 0,!1,void 0,this):null,Q.jsxDEV("div",{className:"detail-columns",children:[Q.jsxDEV("div",{className:"detail-main",children:[Q.jsxDEV(Y4,{title:"Timeline",children:Q.jsxDEV(Qz,{events:B.events},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payment breakdown",children:Q.jsxDEV("dl",{className:"breakdown",children:[Q.jsxDEV("div",{children:[Q.jsxDEV("dt",{children:"Payment amount"},void 0,!1,void 0,this),Q.jsxDEV("dd",{children:[y2(B.amount,B.currency)," ",c4(B.currency)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.amountRefunded>0?Q.jsxDEV("div",{children:[Q.jsxDEV("dt",{children:"Refunded"},void 0,!1,void 0,this),Q.jsxDEV("dd",{children:["−",y2(B.amountRefunded,B.currency)," ",c4(B.currency)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):null,Q.jsxDEV("div",{className:"total",children:[Q.jsxDEV("dt",{children:"Net amount"},void 0,!1,void 0,this),Q.jsxDEV("dd",{children:[y2(B.status==="failed"||B.status==="incomplete"?0:O,B.currency)," ",c4(B.currency)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.refunds.length>0?Q.jsxDEV(Y4,{title:"Refunds",children:Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Amount"},void 0,!1,void 0,this),Q.jsxDEV("th",{},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Reason"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"ID"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Date"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:B.refunds.map((A)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:Q.jsxDEV(lZ,{amount:Number(A.amount)||0,currency:A.currency},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(J6,{value:A.status},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:A.reason?P4(A.reason):"—"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted",children:A.id},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:_2(A.created)},void 0,!1,void 0,this)]},A.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("aside",{className:"detail-side",children:[Q.jsxDEV(Y4,{title:"Payment details",children:Q.jsxDEV(h6,{rows:[["Statement descriptor",B.charge?.calculated_statement_descriptor??B.intent?.statement_descriptor??"—"],["Description",B.description??"—"],...B.invoice?[["Invoice",Q.jsxDEV(y4,{to:`invoices/${B.invoice.id}`,go:q,children:B.invoice.number||B.invoice.id},void 0,!1,void 0,this)]]:[],["Payment ID",Q.jsxDEV("span",{className:"mono",children:B.intent?.id??B.id},void 0,!1,void 0,this)],...B.charge?[["Charge ID",Q.jsxDEV("span",{className:"mono",children:B.charge.id},void 0,!1,void 0,this)]]:[]]},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payment method",children:B.paymentMethod?Q.jsxDEV(h6,{rows:[["ID",Q.jsxDEV("span",{className:"mono",children:B.paymentMethod.id},void 0,!1,void 0,this)],["Number",F?Q.jsxDEV("span",{className:"card-label",children:[Q.jsxDEV("span",{className:"dots",children:"•••• •••• ••••"},void 0,!1,void 0,this)," ",F.last4]},void 0,!0,void 0,this):"—"],["Expires",F?`${String(F.exp_month).padStart(2,"0")} / ${F.exp_year}`:"—"],["Type",F?`${Y_[F.brand]??P4(String(F.brand))} ${F.funding??""} card`:P4(String(B.paymentMethod.type))],["Owner",B.paymentMethod.billing_details?.name??B.customer?.name??"—"],["Owner email",B.paymentMethod.billing_details?.email??B.customer?.email??"—"],["Origin",F?.country?z_[F.country]??F.country:"—"],["CVC check",F?.checks?.cvc_check?F.checks.cvc_check==="pass"?Q.jsxDEV("span",{className:"check-pass",children:[Q.jsxDEV(t2,{name:"check",size:12},void 0,!1,void 0,this)," Passed"]},void 0,!0,void 0,this):P4(F.checks.cvc_check):"—"]]},void 0,!1,void 0,this):Q.jsxDEV(m6,{title:"No payment method"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Metadata",children:Object.keys(B.intent?.metadata??B.charge?.metadata??{}).length?Q.jsxDEV(h6,{rows:Object.entries(B.intent?.metadata??B.charge?.metadata??{}).map(([A,L])=>[A,String(L)])},void 0,!1,void 0,this):Q.jsxDEV("div",{className:"muted small",children:"No metadata"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var Y_={visa:"Visa",mastercard:"Mastercard",amex:"American Express",discover:"Discover",diners:"Diners Club",jcb:"JCB",unionpay:"UnionPay"},z_={US:"United States",GB:"United Kingdom",CA:"Canada",DE:"Germany",FR:"France",AU:"Australia",JP:"Japan",IE:"Ireland",NL:"Netherlands",SG:"Singapore"};function Uz({title:B,onClose:q,children:R,footer:K,label:F}){return Q.jsxDEV("div",{className:"overlay",onMouseDown:q,children:Q.jsxDEV("div",{className:"dialog create-modal",role:"dialog","aria-modal":"true","aria-label":F??B,onMouseDown:(O)=>O.stopPropagation(),children:[Q.jsxDEV("div",{className:"dialog-head",children:[Q.jsxDEV("h2",{children:B},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"icon-btn","aria-label":"Close",onClick:q,children:Q.jsxDEV(t2,{name:"x"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"dialog-body",children:R},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"dialog-foot",children:K},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function J_({payment:B,onClose:q,onDone:R}){let K=B.amount-B.amountRefunded,[F,O]=Q2.useState((K/100).toFixed(2)),[A,L]=Q2.useState(""),[V,x]=Q2.useState(!1),[f,C]=Q2.useState(null),k=Math.round(Number(F)*100);return Q.jsxDEV(Uz,{title:"Refund payment",onClose:q,footer:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("button",{className:"btn",onClick:q,children:"Cancel"},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"btn btn-primary create-submit",disabled:V,onClick:async()=>{if(!Number.isFinite(k)||k<=0){C("Enter an amount greater than 0.");return}if(k>K){C(`Refund cannot be more than ${y2(K,B.currency)}.`);return}x(!0),C(null);try{await NM(B,k===K&&B.amountRefunded===0?void 0:k,A&&A!=="other"?A:void 0),R()}catch(k2){C(String(k2.message??k2))}finally{x(!1)}},children:V?"Refunding…":"Refund"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:[Q.jsxDEV("p",{className:"dialog-note",children:"Refunds take 5–10 days to appear on a customer’s statement. Stripe’s fees for the original payment won’t be returned, but there are no additional fees for the refund."},void 0,!1,void 0,this),Q.jsxDEV("label",{className:"field create-field",children:[Q.jsxDEV("span",{className:"field-label",children:"Refund"},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"money-input",children:[Q.jsxDEV("span",{className:"money-prefix",children:"$"},void 0,!1,void 0,this),Q.jsxDEV("input",{"aria-label":"Refund amount",inputMode:"decimal",value:F,onChange:(k2)=>O(k2.target.value)},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"money-suffix",children:c4(B.currency)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.amountRefunded>0?Q.jsxDEV("span",{className:"field-hint",children:[y2(B.amountRefunded,B.currency)," already refunded"]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("label",{className:"field create-field",children:[Q.jsxDEV("span",{className:"field-label",children:"Reason"},void 0,!1,void 0,this),Q.jsxDEV("select",{"aria-label":"Reason",value:A,onChange:(k2)=>L(k2.target.value),children:[Q.jsxDEV("option",{value:"",children:"Select a reason"},void 0,!1,void 0,this),Q.jsxDEV("option",{value:"duplicate",children:"Duplicate"},void 0,!1,void 0,this),Q.jsxDEV("option",{value:"fraudulent",children:"Fraudulent"},void 0,!1,void 0,this),Q.jsxDEV("option",{value:"requested_by_customer",children:"Requested by customer"},void 0,!1,void 0,this),Q.jsxDEV("option",{value:"other",children:"Other"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),f?Q.jsxDEV("div",{className:"form-error",role:"alert",children:f},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function Q_({subscription:B,onClose:q,onDone:R}){let[K,F]=Q2.useState("now"),[O,A]=Q2.useState(!1),[L,V]=Q2.useState(null);return Q.jsxDEV(Uz,{title:"Cancel subscription",onClose:q,footer:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("button",{className:"btn",onClick:q,children:"Don’t cancel"},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"btn btn-danger create-submit",disabled:O,onClick:async()=>{A(!0),V(null);try{await wM(String(B.id),K),R()}catch(f){V(String(f.message??f))}finally{A(!1)}},children:O?"Canceling…":"Cancel subscription"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:[Q.jsxDEV("fieldset",{className:"radio-group",children:[Q.jsxDEV("legend",{className:"field-label",children:"Cancel"},void 0,!1,void 0,this),Q.jsxDEV("label",{className:"radio",children:[Q.jsxDEV("input",{type:"radio",name:"when",checked:K==="now",onChange:()=>F("now")},void 0,!1,void 0,this),Q.jsxDEV("span",{children:["Immediately",Q.jsxDEV("span",{className:"radio-hint",children:"The subscription ends now and no further invoices are created."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("label",{className:"radio",children:[Q.jsxDEV("input",{type:"radio",name:"when",checked:K==="period_end",onChange:()=>F("period_end")},void 0,!1,void 0,this),Q.jsxDEV("span",{children:["End of the current period",Q.jsxDEV("span",{className:"radio-hint",children:_2(B.current_period_end,!1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),L?Q.jsxDEV("div",{className:"form-error",role:"alert",children:L},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var U_={customers:{title:"Create customer",submit:"Add customer",fields:[{name:"name",label:"Name"},{name:"email",label:"Email",type:"email"},{name:"description",label:"Description"},{name:"phone",label:"Phone"}]},products:{title:"Add a product",submit:"Add product",fields:[{name:"name",label:"Name",required:!0},{name:"description",label:"Description"}]}};function fM({collection:B,onClose:q,onCreated:R}){let K=U_[B],[F,O]=Q2.useState({}),[A,L]=Q2.useState(!1),[V,x]=Q2.useState(null),f=async()=>{L(!0),x(null);try{R(await AM(B,F))}catch(C){x(String(C.message??C))}finally{L(!1)}};return Q.jsxDEV(Uz,{title:K.title,onClose:q,footer:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("button",{className:"btn",onClick:q,children:"Cancel"},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"btn btn-primary create-submit",disabled:A,onClick:f,children:A?"Saving…":K.submit},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:[B==="customers"?Q.jsxDEV("div",{className:"dialog-subhead",children:"Account information"},void 0,!1,void 0,this):null,K.fields.map((C)=>Q.jsxDEV("label",{className:"field create-field",children:[Q.jsxDEV("span",{className:"field-label",children:[C.label,C.required?"":Q.jsxDEV("span",{className:"optional",children:" (optional)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("input",{"aria-label":C.label,type:C.type??"text",placeholder:C.placeholder??"",value:F[C.name]??"",onChange:(k)=>O((h)=>({...h,[C.name]:k.target.value}))},void 0,!1,void 0,this)]},C.name,!0,void 0,this)),V?Q.jsxDEV("div",{className:"form-error",role:"alert",children:V},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var CM=[{key:"all",label:"All customers",test:()=>!0},{key:"first_time",label:"First-time customers",test:(B)=>B.payments===1},{key:"repeat",label:"Repeat customers",test:(B)=>B.payments>1},{key:"recent",label:"Recent customers",test:(B)=>Number(B.created)>=Date.now()/1000-30*kM},{key:"refunds",label:"High refunds",test:(B)=>B.refunds>0}];function B_({go:B,create:q}){let{data:R,error:K,reload:F}=U5(MM,[]),[O,A]=Q2.useState(q),[L,V]=Q2.useState("all"),[x,f]=Q2.useState();Q2.useEffect(()=>{if(q)A(!0)},[q]);let C=(R??[]).filter((h)=>bM(Number(h.created),x)),k=C.filter(CM.find((h)=>h.key===L).test);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Customers",actions:Q.jsxDEV("button",{className:"btn btn-primary",onClick:()=>A(!0),children:[Q.jsxDEV(t2,{name:"plus",size:14},void 0,!1,void 0,this)," Create customer"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(KG,{value:L,onChange:V,options:CM.map((h)=>({key:h.key,label:h.label,count:C.filter(h.test).length}))},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"toolbar",children:[Q.jsxDEV(uZ,{label:"Created",value:x,options:gM,onChange:f},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"toolbar-right",children:Q.jsxDEV("button",{className:"btn",onClick:()=>vM("customers",["id","Name","Email","Created","Total Spend","Payment Count","Refunded Volume"],k.map((h)=>[h.id,h.name??"",h.email??"",new Date(Number(h.created)*1000).toISOString(),(h.totalSpend/100).toFixed(2),h.payments,(h.refunds/100).toFixed(2)])),children:[Q.jsxDEV(t2,{name:"download",size:14},void 0,!1,void 0,this)," Export"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Name"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Email"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Default payment method"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Created"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Total spend"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Payments"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Refunds"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[k.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:7,children:Q.jsxDEV(m6,{title:"No customers",body:"Customers you create show up here."},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),k.map((h)=>Q.jsxDEV("tr",{className:"list-row",onClick:()=>B(`customers/${h.id}`),children:[Q.jsxDEV("td",{className:"strong",children:h.name||Q.jsxDEV("span",{className:"muted",children:"—"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:h.email||Q.jsxDEV("span",{className:"muted",children:"—"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(pZ,{pm:h.defaultCard},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"muted nowrap",children:_2(h.created)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right nowrap",children:y2(h.totalSpend,h.currency)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:h.payments},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right nowrap",children:y2(h.refunds,h.currency)},void 0,!1,void 0,this)]},h.id,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(JX,{n:k.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this),O?Q.jsxDEV(fM,{collection:"customers",onClose:()=>{if(A(!1),q)B("customers")},onCreated:(h)=>{A(!1),F(),B(`customers/${h.id}`)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function Bz(B,q){let K=(B.items?.data??[]).map((F)=>{let O=typeof F.price?.product==="string"?F.price.product:F.price?.product?.id,A=q.get(O)?.name??F.price?.nickname??O??"Product";return Number(F.quantity)>1?`${A} × ${F.quantity}`:A});return K.length>1?`${K[0]} and ${K.length-1} more`:K[0]??"—"}function Hz(B){let q=B.items?.data??[],R=q.reduce((F,O)=>F+(Number(O.price?.unit_amount)||0)*(Number(O.quantity)||1),0),K=q[0]?.price?.recurring?.interval??"month";return{amount:R,currency:String(q[0]?.price?.currency??B.currency??"usd"),interval:K}}function Wz({invoices:B,customers:q,go:R,noCustomer:K}){return Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Amount"},void 0,!1,void 0,this),Q.jsxDEV("th",{},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Invoice number"},void 0,!1,void 0,this),K?null:Q.jsxDEV("th",{children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Due"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Created"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[B.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:6,children:Q.jsxDEV(m6,{title:"No invoices"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.map((F)=>{let O=q?.get(F.customer);return Q.jsxDEV("tr",{className:"list-row",onClick:()=>R(`invoices/${F.id}`),children:[Q.jsxDEV("td",{className:"nowrap",children:Q.jsxDEV(lZ,{amount:Number(F.total??F.amount_due)||0,currency:F.currency},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(J6,{value:F.status},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono",children:F.number||F.id},void 0,!1,void 0,this),K?null:Q.jsxDEV("td",{className:"truncate",children:F.customer_email||O?.email||O?.name||F.customer},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"muted nowrap",children:F.due_date?_2(F.due_date,!1):"—"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:_2(F.created)},void 0,!1,void 0,this)]},F.id,!0,void 0,this)})]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function H_({id:B,go:q}){let{data:R,error:K}=U5(()=>qM(B),[B]);return R?Q.jsxDEV(W_,{data:R,go:q},void 0,!1,void 0,this):Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this)}function W_({data:B,go:q}){let R=B.customer,K=R.invoice_settings?.default_payment_method,F=B.payments.filter((O)=>O.status!=="failed"&&O.status!=="incomplete").reduce((O,A)=>O+A.amount-A.amountRefunded,0);return Q.jsxDEV("div",{className:"page detail-page",children:[Q.jsxDEV(H5,{kicker:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(t2,{name:"person",size:12},void 0,!1,void 0,this)," Customer"]},void 0,!0,void 0,this),title:R.name||R.email||R.id,children:[Q.jsxDEV("div",{className:"subtitle",children:R.email??""},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"summary",children:[Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Customer since"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:_2(R.created,!1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Total spend"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:y2(F,B.payments[0]?.currency??"usd")},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Payments"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:B.payments.filter((O)=>O.status!=="failed"&&O.status!=="incomplete").length},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"detail-columns",children:[Q.jsxDEV("div",{className:"detail-main",children:[Q.jsxDEV(Y4,{title:"Subscriptions",children:B.subscriptions.length===0?Q.jsxDEV("div",{className:"muted small",children:"No subscriptions"},void 0,!1,void 0,this):Q.jsxDEV("div",{className:"sub-list",children:B.subscriptions.map((O)=>{let A=Hz(O);return Q.jsxDEV("a",{href:dZ(`subscriptions/${O.id}`),className:"sub-card list-row",onClick:(L)=>{L.preventDefault(),q(`subscriptions/${O.id}`)},children:[Q.jsxDEV("div",{className:"sub-card-main",children:[Q.jsxDEV("span",{className:"strong",children:Bz(O,B.products)},void 0,!1,void 0,this)," ",Q.jsxDEV(J6,{value:O.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"muted small",children:[y2(A.amount,A.currency)," / ",A.interval," · ",O.status==="canceled"?`Canceled ${_2(O.canceled_at??O.ended_at,!1)}`:O.status==="trialing"?`Trial ends ${_2(O.trial_end,!1)}`:O.cancel_at_period_end?`Cancels ${_2(O.current_period_end,!1)}`:`Next invoice on ${_2(O.current_period_end,!1)}`]},void 0,!0,void 0,this)]},O.id,!0,void 0,this)})},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payments",className:"customer-payments",children:Q.jsxDEV(Jz,{payments:B.payments,go:q,compact:!0,noCustomer:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payment methods",children:B.paymentMethods.length===0?Q.jsxDEV("div",{className:"muted small",children:"No payment methods"},void 0,!1,void 0,this):Q.jsxDEV("table",{className:"table",children:Q.jsxDEV("tbody",{children:B.paymentMethods.map((O)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:[Q.jsxDEV(pZ,{pm:O},void 0,!1,void 0,this)," ",O.id===K?Q.jsxDEV("span",{className:"pill pill-grey",children:"Default"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("td",{className:"muted",children:O.card?`Expires ${String(O.card.exp_month).padStart(2,"0")} / ${O.card.exp_year}`:""},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted right",children:O.id},void 0,!1,void 0,this)]},O.id,!0,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Invoices",children:Q.jsxDEV(Wz,{invoices:B.invoices,go:q,noCustomer:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Events",children:Q.jsxDEV(Qz,{events:B.events.slice(0,10)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("aside",{className:"detail-side",children:[Q.jsxDEV(Y4,{title:"Details",children:Q.jsxDEV(h6,{rows:[["Customer ID",Q.jsxDEV("span",{className:"mono",children:R.id},void 0,!1,void 0,this)],["Customer since",_2(R.created,!1)],["Email",R.email??"—"],["Description",R.description||"—"],["Phone",R.phone||"—"],["Billing details",R.address?.line1?`${R.address.line1}, ${R.address.city??""}`:"No billing address"],["Currency",R.currency?c4(R.currency):"—"]]},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Metadata",children:Object.keys(R.metadata??{}).length?Q.jsxDEV(h6,{rows:Object.entries(R.metadata).map(([O,A])=>[O,String(A)])},void 0,!1,void 0,this):Q.jsxDEV("div",{className:"muted small",children:"No metadata"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function M_({go:B}){let{data:q,error:R}=U5(KM,[]),[K,F]=Q2.useState("all"),O=q?.subscriptions??[],A=O.filter((L)=>K==="all"||L.status===K);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Subscriptions"},void 0,!1,void 0,this),Q.jsxDEV(KG,{value:K,onChange:F,options:["all","active","trialing","past_due","canceled"].map((L)=>({key:L,label:L==="all"?"All":qG[L].label,count:L==="all"?O.length:O.filter((V)=>V.status===L).length}))},void 0,!1,void 0,this),q?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Status"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Billing"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Product"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Amount"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Created"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[A.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:6,children:Q.jsxDEV(m6,{title:"No subscriptions"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),A.map((L)=>{let V=q.customers.get(L.customer),x=Hz(L);return Q.jsxDEV("tr",{className:"list-row",onClick:()=>B(`subscriptions/${L.id}`),children:[Q.jsxDEV("td",{children:[Q.jsxDEV("div",{className:"strong",children:V?.name||V?.email||L.customer},void 0,!1,void 0,this),V?.name&&V?.email?Q.jsxDEV("div",{className:"muted small",children:V.email},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("td",{children:[Q.jsxDEV(J6,{value:L.status},void 0,!1,void 0,this),L.cancel_at_period_end&&L.status!=="canceled"?Q.jsxDEV("span",{className:"muted small",children:[" Cancels ",_2(L.current_period_end,!1)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("td",{children:L.collection_method==="send_invoice"?"Send invoice":"Auto"},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Bz(L,q.products)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right nowrap",children:[y2(x.amount,x.currency)," / ",x.interval]},void 0,!0,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:_2(L.created)},void 0,!1,void 0,this)]},L.id,!0,void 0,this)})]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(JX,{n:A.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function q_({id:B,go:q}){let{data:R,error:K,reload:F}=U5(()=>RM(B),[B]),[O,A]=Q2.useState(!1);if(!R)return Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this);return Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(K_,{data:R,go:q,onCancel:()=>A(!0)},void 0,!1,void 0,this),O?Q.jsxDEV(Q_,{subscription:R.subscription,onClose:()=>A(!1),onDone:()=>{A(!1),F()}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function K_({data:B,go:q,onCancel:R}){let{subscription:K,customer:F}=B,O=Hz(K),A=Bz(K,B.products),L=K.status!=="canceled"&&K.status!=="incomplete_expired",V=K.status==="canceled"?`Canceled on ${_2(K.canceled_at??K.ended_at,!1)}`:K.cancel_at_period_end?`Cancels on ${_2(K.current_period_end,!1)}`:K.status==="trialing"?`Trial ends ${_2(K.trial_end,!1)} · First invoice for ${y2(O.amount,O.currency)}`:`Next invoice on ${_2(K.current_period_end,!1)} for ${y2(O.amount,O.currency)}`;return Q.jsxDEV("div",{className:"page detail-page",children:[Q.jsxDEV(H5,{kicker:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(t2,{name:"billing",size:12},void 0,!1,void 0,this)," Subscription"]},void 0,!0,void 0,this),title:Q.jsxDEV(Q.Fragment,{children:[$z(F)," on ",A," ",Q.jsxDEV(J6,{value:K.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),actions:L&&!K.cancel_at_period_end?Q.jsxDEV("button",{className:"btn",onClick:R,children:"Cancel subscription"},void 0,!1,void 0,this):null,children:[Q.jsxDEV("div",{className:"subtitle",children:["Billing ",O.interval,"ly · ",V]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary",children:[Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Started"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:_2(K.start_date??K.created,!1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:K.status==="canceled"?"Ended":K.cancel_at_period_end?"Cancels":"Next invoice"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:K.status==="canceled"?_2(K.ended_at??K.canceled_at,!1):K.cancel_at_period_end?_2(K.current_period_end,!1):`${y2(O.amount,O.currency)} on ${_2(K.current_period_end,!1)}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:F?Q.jsxDEV(y4,{to:`customers/${F.id}`,go:q,children:F.email||F.name},void 0,!1,void 0,this):K.customer},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(Y4,{title:"Subscription details",children:Q.jsxDEV(h6,{rows:[["Customer",F?Q.jsxDEV(y4,{to:`customers/${F.id}`,go:q,children:$z(F)},void 0,!1,void 0,this):K.customer],["Created",_2(K.created)],["Current period",`${_2(K.current_period_start,!1).replace(/, \d{4}$/,"")} to ${_2(K.current_period_end,!1)}`],...K.trial_end?[["Trial",`${_2(K.trial_start,!1)} to ${_2(K.trial_end,!1)}`]]:[],["ID",Q.jsxDEV("span",{className:"mono",children:K.id},void 0,!1,void 0,this)],["Billing method",K.collection_method==="send_invoice"?"Email invoice to the customer":"Charge default payment method"],["Payment method",Q.jsxDEV(pZ,{pm:B.paymentMethod},void 0,!1,void 0,this)],["Discounts",(K.discounts??[]).length?`${K.discounts.length}`:"—"]]},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Pricing",children:Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Product"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Quantity"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Unit price"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Total"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:(K.items?.data??[]).map((x)=>{let f=typeof x.price?.product==="string"?x.price.product:x.price?.product?.id,C=Number(x.price?.unit_amount)||0,k=Number(x.quantity)||1;return Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:[Q.jsxDEV("div",{className:"strong",children:B.products.get(f)?.name??f},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"muted small",children:[y2(C,x.price?.currency)," / ",x.price?.recurring?.interval??"month"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("td",{className:"right",children:k},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:y2(C,x.price?.currency)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:[y2(C*k,x.price?.currency)," ",c4(x.price?.currency)]},void 0,!0,void 0,this)]},x.id,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Invoices",children:Q.jsxDEV(Wz,{invoices:B.invoices,go:q,noCustomer:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Events",children:Q.jsxDEV(Qz,{events:B.events},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function R_({go:B}){let{data:q,error:R}=U5(OM,[]),[K,F]=Q2.useState("all"),O=q?.invoices??[],A=O.filter((L)=>K==="all"||L.status===K);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Invoices"},void 0,!1,void 0,this),Q.jsxDEV(KG,{value:K,onChange:F,options:["all","draft","open","paid","void","uncollectible"].map((L)=>({key:L,label:L==="all"?"All invoices":qG[L].label,count:L==="all"?O.length:O.filter((V)=>V.status===L).length}))},void 0,!1,void 0,this),q?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(Wz,{invoices:A,customers:q.customers,go:B},void 0,!1,void 0,this),Q.jsxDEV(JX,{n:A.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function O_({id:B,go:q}){let{data:R,error:K}=U5(async()=>{let A=await p4(`/v1/invoices/${B}`),L=typeof A.customer==="string"?await p4(`/v1/customers/${A.customer}`).catch(()=>{return}):void 0;return{invoice:A,customer:L}},[B]);if(!R)return Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this);let F=R.invoice,O=F.lines?.data??[];return Q.jsxDEV("div",{className:"page detail-page",children:[Q.jsxDEV(H5,{kicker:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(t2,{name:"billing",size:12},void 0,!1,void 0,this)," Invoice"]},void 0,!0,void 0,this),title:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(lZ,{amount:Number(F.total??F.amount_due)||0,currency:F.currency},void 0,!1,void 0,this)," ",Q.jsxDEV(J6,{value:F.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:Q.jsxDEV("div",{className:"summary",children:[Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Invoice number"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"mono",children:F.number||F.id},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:R.customer?Q.jsxDEV(y4,{to:`customers/${R.customer.id}`,go:q,children:R.customer.email||R.customer.name},void 0,!1,void 0,this):F.customer},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:F.status==="paid"?"Paid":"Due"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:F.status==="paid"?_2(F.status_transitions?.paid_at):F.due_date?_2(F.due_date,!1):"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Summary",children:Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Description"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Qty"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Amount"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[O.map((A)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:A.description||(A.price?.product?`Subscription (${_2(A.period?.start,!1)} – ${_2(A.period?.end,!1)})`:"—")},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:A.quantity??1},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:y2(A.amount,A.currency)},void 0,!1,void 0,this)]},A.id,!0,void 0,this)),Q.jsxDEV("tr",{className:"table-total",children:[Q.jsxDEV("td",{children:"Total"},void 0,!1,void 0,this),Q.jsxDEV("td",{},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right strong",children:y2(F.total,F.currency)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("tr",{className:"table-total",children:[Q.jsxDEV("td",{children:"Amount due"},void 0,!1,void 0,this),Q.jsxDEV("td",{},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right strong",children:y2(F.amount_remaining??F.amount_due,F.currency)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Details",children:Q.jsxDEV(h6,{rows:[["ID",Q.jsxDEV("span",{className:"mono",children:F.id},void 0,!1,void 0,this)],["Billing",F.collection_method==="send_invoice"?"Send invoice":"Charge automatically"],...F.subscription?[["Subscription",Q.jsxDEV(y4,{to:`subscriptions/${F.subscription}`,go:q,children:F.subscription},void 0,!1,void 0,this)]]:[],...F.payment_intent?[["Payment",Q.jsxDEV(y4,{to:`payments/${F.payment_intent}`,go:q,children:F.payment_intent},void 0,!1,void 0,this)]]:[],["Created",_2(F.created)]]},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function __({go:B}){let{data:q,error:R,reload:K}=U5(_M,[]),[F,O]=Q2.useState(!1);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Product catalog",actions:Q.jsxDEV("button",{className:"btn btn-primary",onClick:()=>O(!0),children:[Q.jsxDEV(t2,{name:"plus",size:14},void 0,!1,void 0,this)," Create product"]},void 0,!0,void 0,this),children:Q.jsxDEV("div",{className:"tabs",children:[Q.jsxDEV(y4,{to:"products",go:B,className:"tab active",children:"Products"},void 0,!1,void 0,this),Q.jsxDEV(y4,{to:"coupons",go:B,className:"tab",children:"Coupons"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),q?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Name"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Pricing"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Created"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Updated"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[q.products.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:4,children:Q.jsxDEV(m6,{title:"No products"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),q.products.map((A)=>{let L=q.prices.filter((x)=>x.product===A.id),V=L[L.length-1];return Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:Q.jsxDEV("div",{className:"product-cell",children:[Q.jsxDEV("span",{className:"product-thumb",children:A.images?.[0]?Q.jsxDEV("img",{src:A.images[0],alt:""},void 0,!1,void 0,this):Q.jsxDEV(t2,{name:"catalog"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("div",{children:[Q.jsxDEV("div",{className:"strong",children:A.name},void 0,!1,void 0,this),A.description?Q.jsxDEV("div",{className:"muted small",children:A.description},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:V?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("span",{children:[y2(V.unit_amount,V.currency)," ",c4(V.currency),V.recurring?` / ${V.recurring.interval}`:""]},void 0,!0,void 0,this),L.length>1?Q.jsxDEV("div",{className:"muted small",children:[L.length," prices"]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this):Q.jsxDEV("span",{className:"muted",children:"No prices"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"muted nowrap",children:_2(A.created,!1)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:_2(A.updated??A.created,!1)},void 0,!1,void 0,this)]},A.id,!0,void 0,this)})]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(JX,{n:q.products.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this),F?Q.jsxDEV(fM,{collection:"products",onClose:()=>O(!1),onCreated:()=>{O(!1),K()}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function L_({go:B}){let{data:q,error:R}=U5(FM,[]);if(!q)return Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this);let K=(O)=>q.balance[O]??[],F=[...new Set([...K("available"),...K("pending")].map((O)=>O.currency))];return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Balances"},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Balance summary",children:[Q.jsxDEV(hO,{row:q.balance},void 0,!1,void 0,this),Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Payments"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Amount"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:F.map((O)=>{let A=K("pending").find((V)=>V.currency===O)?.amount??0,L=K("available").find((V)=>V.currency===O)?.amount??0;return Q.jsxDEV(Q2.default.Fragment,{children:[Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:"Incoming"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:[y2(A,O)," ",c4(O)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:"Available to pay out"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:[y2(L,O)," ",c4(O)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("tr",{className:"table-total",children:[Q.jsxDEV("td",{children:"Total"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right strong",children:[y2(A+L,O)," ",c4(O)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},O,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(Y4,{title:"Recent activity",actions:Q.jsxDEV(y4,{to:"balance-transactions",go:B,children:"View all"},void 0,!1,void 0,this),children:Q.jsxDEV(zz,{section:Yz.find((O)=>O.key==="balance_transactions"),rows:q.transactions.slice(0,10),onSelect:()=>{}},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payouts",actions:Q.jsxDEV(y4,{to:"payouts",go:B,children:"View all"},void 0,!1,void 0,this),children:Q.jsxDEV(zz,{section:Yz.find((O)=>O.key==="payouts"),rows:q.payouts.slice(0,10),onSelect:()=>{}},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function F_(B){let q=B?.settings?.payouts?.schedule;if(!q||typeof q!=="object")return"Daily";let R=String(q.interval??"daily");if(R==="weekly"&&q.weekly_anchor)return`Weekly on ${P4(String(q.weekly_anchor))}`;if(R==="monthly"&&q.monthly_anchor!=null)return`Monthly on day ${q.monthly_anchor}`;return P4(R)}function N_({go:B}){let{data:q,error:R}=U5(Xz,[]);if(!q)return Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Developers"},void 0,!1,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"api-keys",children:[Q.jsxDEV("div",{className:"section-head",children:Q.jsxDEV("h2",{children:"API keys"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Name"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Token"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Created"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{className:"strong",children:"Publishable key"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono",children:"pk_test_twin"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted",children:"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{className:"strong",children:"Secret key"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono",children:"sk_test_••••twin"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted",children:"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"webhooks",children:[Q.jsxDEV("div",{className:"section-head",children:Q.jsxDEV("h2",{children:"Webhooks"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Endpoint"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Status"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Listening to"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[q.webhooks.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:3,children:Q.jsxDEV(m6,{title:"No webhook endpoints"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),q.webhooks.map((K)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{className:"mono",children:K.url??K.id},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(J6,{value:K.status??"enabled"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted",children:[(K.enabled_events??[]).length," events"]},void 0,!0,void 0,this)]},K.id,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(Y4,{title:"Events",actions:Q.jsxDEV(y4,{to:"events",go:B,children:"View all"},void 0,!1,void 0,this),children:Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Event"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Type"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Object"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Date"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:q.events.slice(0,15).map((K)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:yM(K)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted",children:K.type},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted",children:K.data?.object?.id},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:_2(K.created)},void 0,!1,void 0,this)]},K.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function w_(){let{data:B,error:q}=U5(Xz,[]);if(!B)return Q.jsxDEV(B5,{error:q},void 0,!1,void 0,this);let R=B.account;return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Settings"},void 0,!1,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"account",children:[Q.jsxDEV("div",{className:"section-head",children:Q.jsxDEV("h2",{children:"Business details"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(h6,{rows:[["Account ID",Q.jsxDEV("span",{className:"mono",children:R?.id??"—"},void 0,!1,void 0,this)],["Account name",R?.settings?.dashboard?.display_name??YM],["Country",R?.country??"—"],["Default currency",String(R?.default_currency??"usd").toUpperCase()]]},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"public-details",children:[Q.jsxDEV("div",{className:"section-head",children:[Q.jsxDEV("h2",{children:"Public details"},void 0,!1,void 0,this),Q.jsxDEV("a",{className:"btn",href:`${BG}/settings/public`,children:"Edit"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(h6,{rows:[["Business name",Q.jsxDEV("span",{className:"settings-public-name",children:zM(R)},void 0,!1,void 0,this)]]},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"payouts",children:[Q.jsxDEV("div",{className:"section-head",children:Q.jsxDEV("h2",{children:"Payouts"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(h6,{rows:[["Payout schedule",Q.jsxDEV("span",{className:"settings-payout-schedule",children:F_(R)},void 0,!1,void 0,this)]]},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function A_({section:B,go:q}){let{data:R,error:K}=U5(()=>S2(`/v1/${B.key}`),[B.key]),F=B.key==="accounts"?R?.[0]:void 0,O=B.path.startsWith("radar/")?["radar/reviews","radar/lists"]:B.path.startsWith("terminal/")?["terminal/readers","terminal/locations"]:B.path.startsWith("issuing/")?["issuing/cards","issuing/cardholders"]:B.path.startsWith("connect/")?["connect/accounts","connect/transfers"]:B.key==="payouts"||B.key==="balance_transactions"?["payouts","balance-transactions"]:[],A=B.path.startsWith("radar/")?"Radar":B.path.startsWith("terminal/")?"Terminal":B.path.startsWith("issuing/")?"Issuing":B.path.startsWith("connect/")?"Connect":B.key==="tax_rates"?"Tax":B.label;return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:A,children:O.length?Q.jsxDEV("div",{className:"tabs",children:O.map((L)=>Q.jsxDEV(y4,{to:L,go:q,className:`tab ${L===B.path?"active":""}`,children:MG.get(L).label.replace(/^(Radar|Terminal|Issuing) /,"")},L,!1,void 0,this))},void 0,!1,void 0,this):null},void 0,!1,void 0,this),F?Q.jsxDEV(mO,{row:F},void 0,!1,void 0,this):null,R?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(zz,{section:B,rows:R,onSelect:()=>{}},void 0,!1,void 0,this),Q.jsxDEV(JX,{n:R.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function T_({route:B,search:q,go:R}){let[K,F]=B,O=B.join("/");if(!K||K==="dashboard")return Q.jsxDEV(tO,{go:R},void 0,!1,void 0,this);if(K==="payments")return F?Q.jsxDEV(G_,{id:F,go:R},void 0,!1,void 0,this):Q.jsxDEV(eO,{go:R},void 0,!1,void 0,this);if(K==="customers")return F?Q.jsxDEV(H_,{id:F,go:R},void 0,!1,void 0,this):Q.jsxDEV(B_,{go:R,create:new URLSearchParams(q).has("create")},void 0,!1,void 0,this);if(K==="subscriptions")return F?Q.jsxDEV(q_,{id:F,go:R},void 0,!1,void 0,this):Q.jsxDEV(M_,{go:R},void 0,!1,void 0,this);if(K==="invoices")return F?Q.jsxDEV(O_,{id:F,go:R},void 0,!1,void 0,this):Q.jsxDEV(R_,{go:R},void 0,!1,void 0,this);if(K==="products")return Q.jsxDEV(__,{go:R},void 0,!1,void 0,this);if(K==="balance")return Q.jsxDEV(L_,{go:R},void 0,!1,void 0,this);if(K==="developers")return Q.jsxDEV(N_,{go:R},void 0,!1,void 0,this);if(K==="settings")return Q.jsxDEV(w_,{},void 0,!1,void 0,this);let A=MG.get(O)??MG.get(K);if(A)return Q.jsxDEV(A_,{section:A,go:R},A.key,!1,void 0,this);return Q.jsxDEV("div",{className:"page",children:Q.jsxDEV(m6,{title:"Page not found",body:"This page doesn’t exist in the Dashboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function I_(){let[B,q]=Q2.useState(()=>({path:window.location.pathname,search:window.location.search}));Q2.useEffect(()=>{let F=()=>q({path:window.location.pathname,search:window.location.search});return window.addEventListener("popstate",F),()=>window.removeEventListener("popstate",F)},[]);let R=Q2.useCallback((F)=>{let O=dZ(F);window.history.pushState(null,"",O);let A=new URL(O,window.location.origin);q({path:A.pathname,search:A.search}),window.scrollTo(0,0)},[]),K=jO(B.path);return Q2.useEffect(()=>{if(K.length===0)window.history.replaceState(null,"",dZ("dashboard"));let[F,O]=K,A={dashboard:"Home",payments:"Payments",customers:"Customers",subscriptions:"Subscriptions",invoices:"Invoices",products:"Product catalog",balance:"Balances",developers:"Developers",settings:"Settings"};document.title=`${O?`${O} – `:""}${A[F??"dashboard"]??MG.get(K.join("/"))?.label??"Dashboard"} – Stripe`},[B.path]),Q.jsxDEV("div",{className:"dash",children:[Q.jsxDEV(iO,{},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"frame",children:[Q.jsxDEV(sO,{route:K,go:R},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"main",children:[Q.jsxDEV(aO,{go:R},void 0,!1,void 0,this),Q.jsxDEV("main",{className:"content",children:Q.jsxDEV(T_,{route:K,search:B.search,go:R},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}if(typeof document<"u"&&document.getElementById("root"))SM.createRoot(document.getElementById("root")).render(Q.jsxDEV(I_,{},void 0,!1,void 0,this));export{jO as routeOf,F_ as payoutScheduleText,dO as globalSearch,_2 as formatDate,nO as computeHomeMetrics,iO as TestModeBand,K_ as SubscriptionDetailView,J6 as StatusPill,sO as SideNav,Yz as SECTIONS,Jz as PaymentsTable,EO as PaymentErrorBanner,$_ as PaymentDetailView,T_ as Page,zz as ListPane,Wz as InvoicesTable,t2 as Icon,tO as HomeScreen,W_ as CustomerDetailView,mO as ConnectAccountPanel,pZ as CardLabel,DO as CardBrand,U_ as CREATE_FORMS,hO as BalanceSummary,I_ as App};